@feedmepos/mf-payment 1.1.7-beta.3 → 1.1.7-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PayoutAccount-CnTCZExr.js → PayoutAccount-BM5YRYN9.js} +5 -5
- package/dist/{PayoutAccount-Crwu1h-c.js → PayoutAccount-CnxX2N0l.js} +3 -3
- package/dist/{PayoutAccountSetting-PyIESuN8.js → PayoutAccountSetting-CYEDbNXl.js} +3 -3
- package/dist/{Restaurant-BF1J35Ic.js → Restaurant-D_iO5C0m.js} +4 -4
- package/dist/{RestaurantSetting-Dg7cfqKF.js → RestaurantSetting-CuOT140H.js} +3 -3
- package/dist/{Settlement-BPrjfDMN.js → Settlement-6HiVcu0l.js} +3 -3
- package/dist/Settlement-CY8315rQ.js +219 -0
- package/dist/{SettlementTransactions-C13T6n0z.js → SettlementTransactions-Ci8PF1OX.js} +3 -3
- package/dist/{SettlementTransactions-CpRADd8a.js → SettlementTransactions-ziCXqaiy.js} +3 -3
- package/dist/{Terminal-DgKJ9zSL.js → Terminal-BuOfI_zu.js} +5 -5
- package/dist/TerminalSetting-CTKfzmft.js +497 -0
- package/dist/{Transaction-CsAF2AXj.js → Transaction-Bpa0eDNG.js} +6 -6
- package/dist/{Transaction-BvvhqS95.js → Transaction-et-KevEl.js} +5 -5
- package/dist/{TransactionOld-DsC0R1Qe.js → TransactionOld-y5-lkWbc.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-CtrMBxwz.js → TransactionTable.vue_vue_type_script_setup_true_lang-BBtUxiMq.js} +3 -3
- package/dist/api/settlement/index.d.ts +1 -1
- package/dist/api/terminal/index.d.ts +1 -1
- package/dist/{app-D6rd6uvO.js → app-Bz1GxrfP.js} +310 -310
- package/dist/app.js +1 -1
- package/dist/{assets-B41ScDuA.js → assets-CFu52OGc.js} +1 -1
- package/dist/{grafana-CdozbaJn.js → grafana-DR0vcbv7.js} +1 -1
- package/dist/{index-BIObbzAP.js → index-BJF9lPV4.js} +1 -1
- package/dist/{index-CEU5ybp0.js → index-C1IEirFI.js} +1 -1
- package/dist/{index-D1_hIXoR.js → index-CAiA-B0B.js} +2219 -2219
- package/dist/{index-CCBZtmwy.js → index-CM1aljm7.js} +1 -1
- package/dist/{index-3u2VZ6Ni.js → index-DY-CMDz7.js} +29 -29
- package/dist/{index-Cnf4HsQx.js → index-DbaQ_-s2.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-i3Lcf2Mj.js → index.vue_vue_type_script_setup_true_lang-B0E1G00H.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-C80nPFWJ.js → payout-account-wPSONvk-.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/Settlement-B-TQCdB4.js +0 -219
- package/dist/TerminalSetting-Boh1fu6s.js +0 -489
@@ -1,9 +1,9 @@
|
|
1
1
|
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as Fn } from "vue-router";
|
2
|
-
import { computed as Lt, watch as
|
2
|
+
import { computed as Lt, watch as Z, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as Hn, onMounted as Vn, onBeforeMount as Gn, unref as jn } from "vue";
|
3
3
|
import { useCoreStore as je, useI18n as Wn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
|
-
import { components as
|
6
|
-
const
|
5
|
+
import { components as $n } from "@feedmepos/ui-library";
|
6
|
+
const Zn = {
|
7
7
|
select: "Select filter entity",
|
8
8
|
restaurant: "Restaurant",
|
9
9
|
device: "Device",
|
@@ -13,7 +13,7 @@ const $n = {
|
|
13
13
|
transaction: "Transactions",
|
14
14
|
"transaction-new": "Transactions",
|
15
15
|
settlement: "Settlements"
|
16
|
-
},
|
16
|
+
}, Yn = {
|
17
17
|
title: "Settlements",
|
18
18
|
description: "Settlements are the finalization of financial transactions, transferring funds to complete payments.",
|
19
19
|
export: "Export",
|
@@ -71,7 +71,7 @@ const $n = {
|
|
71
71
|
settlement_amount: "Settlement Amount"
|
72
72
|
}
|
73
73
|
}
|
74
|
-
},
|
74
|
+
}, Xn = {
|
75
75
|
title: "Transactions",
|
76
76
|
description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
|
77
77
|
restaurant: "Restaurant",
|
@@ -144,10 +144,10 @@ const $n = {
|
|
144
144
|
}
|
145
145
|
}
|
146
146
|
}, qn = {
|
147
|
-
components:
|
147
|
+
components: Zn,
|
148
148
|
routes: Jn,
|
149
|
-
settlements:
|
150
|
-
transactions:
|
149
|
+
settlements: Yn,
|
150
|
+
transactions: Xn,
|
151
151
|
payout_account: Kn
|
152
152
|
}, Qn = {
|
153
153
|
select: "选择筛选对象",
|
@@ -303,7 +303,7 @@ const $n = {
|
|
303
303
|
sidebarDisplay: "Restaurants",
|
304
304
|
section: "payment-gateway"
|
305
305
|
},
|
306
|
-
component: () => import("./Restaurant-
|
306
|
+
component: () => import("./Restaurant-D_iO5C0m.js")
|
307
307
|
},
|
308
308
|
{
|
309
309
|
path: "/admin/restaurants/:restaurantId",
|
@@ -312,7 +312,7 @@ const $n = {
|
|
312
312
|
meta: {
|
313
313
|
parent: "mf-payment-admin.restaurant"
|
314
314
|
},
|
315
|
-
component: () => import("./RestaurantSetting-
|
315
|
+
component: () => import("./RestaurantSetting-CuOT140H.js")
|
316
316
|
},
|
317
317
|
{
|
318
318
|
path: "/admin/payout-accounts",
|
@@ -321,7 +321,7 @@ const $n = {
|
|
321
321
|
sidebarDisplay: "Payout Accounts",
|
322
322
|
section: "payment-gateway"
|
323
323
|
},
|
324
|
-
component: () => import("./PayoutAccount-
|
324
|
+
component: () => import("./PayoutAccount-BM5YRYN9.js")
|
325
325
|
},
|
326
326
|
{
|
327
327
|
path: "/admin/payout-accounts/:accountId",
|
@@ -330,7 +330,7 @@ const $n = {
|
|
330
330
|
meta: {
|
331
331
|
parent: "mf-payment-admin.payout-account"
|
332
332
|
},
|
333
|
-
component: () => import("./PayoutAccountSetting-
|
333
|
+
component: () => import("./PayoutAccountSetting-CYEDbNXl.js")
|
334
334
|
},
|
335
335
|
{
|
336
336
|
path: "/admin/terminal/pos",
|
@@ -339,7 +339,7 @@ const $n = {
|
|
339
339
|
sidebarDisplay: "POS",
|
340
340
|
section: "device"
|
341
341
|
},
|
342
|
-
component: () => import("./Terminal-
|
342
|
+
component: () => import("./Terminal-BuOfI_zu.js"),
|
343
343
|
props: {
|
344
344
|
type: "POS"
|
345
345
|
}
|
@@ -351,7 +351,7 @@ const $n = {
|
|
351
351
|
sidebarDisplay: "Kiosks",
|
352
352
|
section: "device"
|
353
353
|
},
|
354
|
-
component: () => import("./Terminal-
|
354
|
+
component: () => import("./Terminal-BuOfI_zu.js"),
|
355
355
|
props: {
|
356
356
|
type: "KIOSK"
|
357
357
|
}
|
@@ -363,7 +363,7 @@ const $n = {
|
|
363
363
|
sidebarDisplay: "Terminals",
|
364
364
|
section: "device"
|
365
365
|
},
|
366
|
-
component: () => import("./Terminal-
|
366
|
+
component: () => import("./Terminal-BuOfI_zu.js"),
|
367
367
|
props: {
|
368
368
|
type: "TERMINAL"
|
369
369
|
}
|
@@ -375,7 +375,7 @@ const $n = {
|
|
375
375
|
meta: {
|
376
376
|
parent: "mf-payment-admin.pos"
|
377
377
|
},
|
378
|
-
component: () => import("./TerminalSetting-
|
378
|
+
component: () => import("./TerminalSetting-CTKfzmft.js")
|
379
379
|
},
|
380
380
|
{
|
381
381
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -384,7 +384,7 @@ const $n = {
|
|
384
384
|
meta: {
|
385
385
|
parent: "mf-payment-admin.kiosk"
|
386
386
|
},
|
387
|
-
component: () => import("./TerminalSetting-
|
387
|
+
component: () => import("./TerminalSetting-CTKfzmft.js")
|
388
388
|
},
|
389
389
|
{
|
390
390
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -393,7 +393,7 @@ const $n = {
|
|
393
393
|
meta: {
|
394
394
|
parent: "mf-payment-admin.terminal"
|
395
395
|
},
|
396
|
-
component: () => import("./TerminalSetting-
|
396
|
+
component: () => import("./TerminalSetting-CTKfzmft.js")
|
397
397
|
},
|
398
398
|
{
|
399
399
|
path: "/admin/transaction",
|
@@ -401,7 +401,7 @@ const $n = {
|
|
401
401
|
meta: {
|
402
402
|
sidebarDisplay: "Transactions"
|
403
403
|
},
|
404
|
-
component: () => import("./Transaction-
|
404
|
+
component: () => import("./Transaction-et-KevEl.js")
|
405
405
|
},
|
406
406
|
{
|
407
407
|
path: "/admin/settlement",
|
@@ -409,7 +409,7 @@ const $n = {
|
|
409
409
|
meta: {
|
410
410
|
sidebarDisplay: "Settlements"
|
411
411
|
},
|
412
|
-
component: () => import("./Settlement-
|
412
|
+
component: () => import("./Settlement-CY8315rQ.js")
|
413
413
|
},
|
414
414
|
{
|
415
415
|
path: "/admin/settlement/:settlementId",
|
@@ -418,7 +418,7 @@ const $n = {
|
|
418
418
|
meta: {
|
419
419
|
parent: "mf-payment-admin.settlement"
|
420
420
|
},
|
421
|
-
component: () => import("./SettlementTransactions-
|
421
|
+
component: () => import("./SettlementTransactions-Ci8PF1OX.js")
|
422
422
|
}
|
423
423
|
], We = [
|
424
424
|
{
|
@@ -428,7 +428,7 @@ const $n = {
|
|
428
428
|
{
|
429
429
|
path: "/payout-account",
|
430
430
|
name: "mf-payment-payout-account",
|
431
|
-
component: () => import("./PayoutAccount-
|
431
|
+
component: () => import("./PayoutAccount-CnxX2N0l.js"),
|
432
432
|
meta: {
|
433
433
|
sidebarDisplay: "i18n:routes.payout_account"
|
434
434
|
}
|
@@ -436,7 +436,7 @@ const $n = {
|
|
436
436
|
{
|
437
437
|
path: "/transaction-old",
|
438
438
|
name: "mf-payment-old-transaction",
|
439
|
-
component: () => import("./TransactionOld-
|
439
|
+
component: () => import("./TransactionOld-y5-lkWbc.js"),
|
440
440
|
meta: {
|
441
441
|
sidebarDisplay: "i18n:routes.transaction"
|
442
442
|
}
|
@@ -444,7 +444,7 @@ const $n = {
|
|
444
444
|
{
|
445
445
|
path: "/transaction",
|
446
446
|
name: "mf-payment-transaction",
|
447
|
-
component: () => import("./Transaction-
|
447
|
+
component: () => import("./Transaction-Bpa0eDNG.js"),
|
448
448
|
meta: {
|
449
449
|
sidebarDisplay: "i18n:routes.transaction-new",
|
450
450
|
sidebarNew: !0
|
@@ -453,7 +453,7 @@ const $n = {
|
|
453
453
|
{
|
454
454
|
path: "/settlement",
|
455
455
|
name: "mf-payment-settlement",
|
456
|
-
component: () => import("./Settlement-
|
456
|
+
component: () => import("./Settlement-6HiVcu0l.js"),
|
457
457
|
meta: {
|
458
458
|
sidebarDisplay: "i18n:routes.settlement"
|
459
459
|
}
|
@@ -462,7 +462,7 @@ const $n = {
|
|
462
462
|
path: "/settlement/:settlementId",
|
463
463
|
name: "mf-payment-settlement-transaction",
|
464
464
|
props: !0,
|
465
|
-
component: () => import("./SettlementTransactions-
|
465
|
+
component: () => import("./SettlementTransactions-ziCXqaiy.js"),
|
466
466
|
meta: {
|
467
467
|
parent: "mf-payment-settlement"
|
468
468
|
}
|
@@ -479,7 +479,7 @@ const $n = {
|
|
479
479
|
init: t
|
480
480
|
};
|
481
481
|
});
|
482
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_yEIXDwvhhz9zak4eWrQNV2uggrE0qO0Qesdr", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "708", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250316.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:5944", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14303533286", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "80d61383257f80fc3171e7fc12c88b93781d20d6", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YzBkMmQzNjEtOGY2My00Mzg5LWE5OGYtZmZlY2I1OGIyNjBhOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDM4IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46YzBkMmQzNjEtOGY2My00Mzg5LWE5OGYtZmZlY2I1OGIyNjBhOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDM4IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiMDBiMGQ5NzYtOGYzMC00Zjk2LThkMDQtNjQ2NWIyZDMxNmNhIiwic2lkIjoiYzM1YTc4MGUtZDdlYS00ODcyLThmYWItYTg5NTQyOWEzODlmIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjgwZDYxMzgzMjU3ZjgwZmMzMTcxZTdmYzEyYzg4YjkzNzgxZDIwZDZcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQzMDM1MzMyODZcIixcInJ1bl9udW1iZXJcIjpcIjE2M1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCI4MGQ2MTM4MzI1N2Y4MGZjMzE3MWU3ZmMxMmM4OGI5Mzc4MWQyMGQ2XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI4MGQ2MTM4MzI1N2Y4MGZjMzE3MWU3ZmMxMmM4OGI5Mzc4MWQyMGQ2XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJjMGQyZDM2MS04ZjYzLTQzODktYTk4Zi1mZmVjYjU4YjI2MGEuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQwMTA5MTUsImV4cCI6MTc0NDAzMzcxNX0.l5b1WROy5t9GjVnUvVLP0gQeAnV_-U59Gg5sfURnAlBtfYFIE5mMZeREZbV6xbpdIUOz5E95s6J8v6oduc0Cq23-atQThMhQBI3m8fvKHjuxZowO5C9CuqNXqGS9UF3ukBTkBe1uB8UtztVS1nvKCZ_C11naOBUQlQX9KTcxUfJVGClgwp0fHCHahSe_j34WdgVkxSjoVDrrTBg9gHp5EWvem-2_TCeyTDhHeLRmhm-cdOrv98QK52gAGCuUJFlYp543OdVeCrisUTV1wTCQVgUu1zT9uNflBJ7AHh7s-7UxU35pHKpdN0MawXjGfrdYwqLZE7ivP_BpltKxbLaUdQ", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744011566316-0.8397647998704827:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744011566160-0.07727471289060261:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744011566004-0.9813355493796256:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_7eed90b8-e43d-426d-91b8-32ad920a04d0", INVOCATION_ID: "b14fa95db6144e05a9dcfc172c351beb", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "163", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 72", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.7-beta.3", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "80d61383257f80fc3171e7fc12c88b93781d20d6", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/c0d2d361-8f63-4389-a98f-ffecb58b260a/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
482
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_08181a8a-1a68-4c95-a2e2-372d455c0625", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_08181a8a-1a68-4c95-a2e2-372d455c0625", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_mqqddTt5zebHQNztIadHV7FspWT3CN3JvB4j", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "715", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250323.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6118", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14309882355", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "5445eda15905537f889f5c399bb58e5d4f2d99bb", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6N2VlMzc3YjctM2VkYS00YjMzLWFlNjEtMDRlMjQ0ZGE1NTk4OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDU0IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46N2VlMzc3YjctM2VkYS00YjMzLWFlNjEtMDRlMjQ0ZGE1NTk4OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDU0IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiOTQ4Y2Y2OTAtZDM2Yy00MTkyLTk2ZmMtYWY4MTNkNjEyMDY3Iiwic2lkIjoiNGM5YjY3NDgtZGIxMy00NDdjLTgxMmUtNzkyMWEwZmE3MjdiIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjU0NDVlZGExNTkwNTUzN2Y4ODlmNWMzOTliYjU4ZTVkNGYyZDk5YmJcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQzMDk4ODIzNTVcIixcInJ1bl9udW1iZXJcIjpcIjE2NVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCI1NDQ1ZWRhMTU5MDU1MzdmODg5ZjVjMzk5YmI1OGU1ZDRmMmQ5OWJiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI1NDQ1ZWRhMTU5MDU1MzdmODg5ZjVjMzk5YmI1OGU1ZDRmMmQ5OWJiXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI3ZWUzNzdiNy0zZWRhLTRiMzMtYWU2MS0wNGUyNDRkYTU1OTguZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQwMzAyOTIsImV4cCI6MTc0NDA1MzA5Mn0.COpKWMOjpTPO9dpi6MdunZnjbh6Nm164s_KQY3cLvWFOsUe3A49mI0EFRlymoxQaKZiyLB9KIEjRqxiC-HsDij6gcOjvGgNy28OYXAwxVkTtaNU0WwVqEyQdY_DFqccH6mIw3y8-C_dpxzXP5QSq3yIYjP4vgoaurcZIzJH9T_XUGKiaJQ0wBohzG9Or1wFSoLuO2YYNlO35Iso9zsRlyC_51MgrFabiwBYI6sRCJAQl-XFhVHnaKGI37O-Nr517WonRrS9OVGHoGQgRSFDf1A3BaA-bwmxCoUZCxx1-HUjMZ4kqYq6y72Th9s31XlImC3ambN7ibt8x5ST7k5LlMw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744030934510-0.4995528230975539:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744030934352-0.6792988677188341:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744030934193-0.15040655406084213:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_5d84864e-03cc-42f8-a6ef-e986ab79a9e8", INVOCATION_ID: "7a94509ac41441afb23a62e141d808d0", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "165", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 447", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.7-beta.5", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "5445eda15905537f889f5c399bb58e5d4f2d99bb", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_08181a8a-1a68-4c95-a2e2-372d455c0625", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/7ee377b7-3eda-4b33-ae61-04e244da5598/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_08181a8a-1a68-4c95-a2e2-372d455c0625", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_08181a8a-1a68-4c95-a2e2-372d455c0625", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
483
483
|
/**
|
484
484
|
* @license
|
485
485
|
* Copyright 2017 Google LLC
|
@@ -496,7 +496,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
496
496
|
* See the License for the specific language governing permissions and
|
497
497
|
* limitations under the License.
|
498
498
|
*/
|
499
|
-
const
|
499
|
+
const Ht = function(n) {
|
500
500
|
const e = [];
|
501
501
|
let t = 0;
|
502
502
|
for (let r = 0; r < n.length; r++) {
|
@@ -523,7 +523,7 @@ const Gt = function(n) {
|
|
523
523
|
}
|
524
524
|
}
|
525
525
|
return e.join("");
|
526
|
-
},
|
526
|
+
}, Vt = {
|
527
527
|
/**
|
528
528
|
* Maps bytes to characters.
|
529
529
|
*/
|
@@ -583,8 +583,8 @@ const Gt = function(n) {
|
|
583
583
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
584
584
|
for (let i = 0; i < n.length; i += 3) {
|
585
585
|
const s = n[i], a = i + 1 < n.length, c = a ? n[i + 1] : 0, o = i + 2 < n.length, l = o ? n[i + 2] : 0, d = s >> 2, h = (s & 3) << 4 | c >> 4;
|
586
|
-
let
|
587
|
-
o || (v = 64, a || (
|
586
|
+
let m = (c & 15) << 2 | l >> 6, v = l & 63;
|
587
|
+
o || (v = 64, a || (m = 64)), r.push(t[d], t[h], t[m], t[v]);
|
588
588
|
}
|
589
589
|
return r.join("");
|
590
590
|
},
|
@@ -597,7 +597,7 @@ const Gt = function(n) {
|
|
597
597
|
* @return The base64 encoded string.
|
598
598
|
*/
|
599
599
|
encodeString(n, e) {
|
600
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
600
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Ht(n), e);
|
601
601
|
},
|
602
602
|
/**
|
603
603
|
* Base64-decode a string.
|
@@ -636,8 +636,8 @@ const Gt = function(n) {
|
|
636
636
|
const h = i < n.length ? t[n.charAt(i)] : 64;
|
637
637
|
if (++i, s == null || c == null || l == null || h == null)
|
638
638
|
throw new or();
|
639
|
-
const
|
640
|
-
if (r.push(
|
639
|
+
const m = s << 2 | c >> 4;
|
640
|
+
if (r.push(m), l !== 64) {
|
641
641
|
const v = c << 4 & 240 | l >> 2;
|
642
642
|
if (r.push(v), h !== 64) {
|
643
643
|
const F = l << 6 & 192 | h;
|
@@ -666,13 +666,13 @@ class or extends Error {
|
|
666
666
|
}
|
667
667
|
}
|
668
668
|
const cr = function(n) {
|
669
|
-
const e =
|
670
|
-
return
|
669
|
+
const e = Ht(n);
|
670
|
+
return Vt.encodeByteArray(e, !0);
|
671
671
|
}, de = function(n) {
|
672
672
|
return cr(n).replace(/\./g, "");
|
673
|
-
},
|
673
|
+
}, Gt = function(n) {
|
674
674
|
try {
|
675
|
-
return
|
675
|
+
return Vt.decodeString(n, !0);
|
676
676
|
} catch (e) {
|
677
677
|
console.error("base64Decode failed: ", e);
|
678
678
|
}
|
@@ -734,7 +734,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
734
734
|
} catch {
|
735
735
|
return;
|
736
736
|
}
|
737
|
-
const e = n &&
|
737
|
+
const e = n && Gt(n[1]);
|
738
738
|
return e && JSON.parse(e);
|
739
739
|
}, ze = () => {
|
740
740
|
try {
|
@@ -859,15 +859,15 @@ function za(n, e) {
|
|
859
859
|
* See the License for the specific language governing permissions and
|
860
860
|
* limitations under the License.
|
861
861
|
*/
|
862
|
-
function
|
862
|
+
function f() {
|
863
863
|
return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
|
864
864
|
}
|
865
|
-
function
|
865
|
+
function mr() {
|
866
866
|
return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
|
867
867
|
// just to deal with this case would probably be a bad idea.
|
868
|
-
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(
|
868
|
+
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(f());
|
869
869
|
}
|
870
|
-
function
|
870
|
+
function fr() {
|
871
871
|
return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
|
872
872
|
}
|
873
873
|
function _r() {
|
@@ -878,7 +878,7 @@ function gr() {
|
|
878
878
|
return typeof navigator == "object" && navigator.product === "ReactNative";
|
879
879
|
}
|
880
880
|
function vr() {
|
881
|
-
const n =
|
881
|
+
const n = f();
|
882
882
|
return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
|
883
883
|
}
|
884
884
|
function Ir() {
|
@@ -996,11 +996,11 @@ function Q(n) {
|
|
996
996
|
}) : e.push(encodeURIComponent(t) + "=" + encodeURIComponent(r));
|
997
997
|
return e.length ? "&" + e.join("&") : "";
|
998
998
|
}
|
999
|
-
function
|
1000
|
-
const t = new
|
999
|
+
function Rr(n, e) {
|
1000
|
+
const t = new kr(n, e);
|
1001
1001
|
return t.subscribe.bind(t);
|
1002
1002
|
}
|
1003
|
-
class
|
1003
|
+
class kr {
|
1004
1004
|
/**
|
1005
1005
|
* @param executor Function which can make calls to a single Observer
|
1006
1006
|
* as a proxy.
|
@@ -1046,7 +1046,7 @@ class Rr {
|
|
1046
1046
|
next: e,
|
1047
1047
|
error: t,
|
1048
1048
|
complete: r
|
1049
|
-
}, i.next === void 0 && (i.next =
|
1049
|
+
}, i.next === void 0 && (i.next = ke), i.error === void 0 && (i.error = ke), i.complete === void 0 && (i.complete = ke);
|
1050
1050
|
const s = this.unsubscribeOne.bind(this, this.observers.length);
|
1051
1051
|
return this.finalized && this.task.then(() => {
|
1052
1052
|
try {
|
@@ -1092,7 +1092,7 @@ function Sr(n, e) {
|
|
1092
1092
|
return !0;
|
1093
1093
|
return !1;
|
1094
1094
|
}
|
1095
|
-
function
|
1095
|
+
function ke() {
|
1096
1096
|
}
|
1097
1097
|
/**
|
1098
1098
|
* @license
|
@@ -1345,7 +1345,7 @@ function Cr(n) {
|
|
1345
1345
|
* See the License for the specific language governing permissions and
|
1346
1346
|
* limitations under the License.
|
1347
1347
|
*/
|
1348
|
-
class
|
1348
|
+
class Nr {
|
1349
1349
|
constructor(e) {
|
1350
1350
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
1351
1351
|
}
|
@@ -1404,7 +1404,7 @@ var p;
|
|
1404
1404
|
(function(n) {
|
1405
1405
|
n[n.DEBUG = 0] = "DEBUG", n[n.VERBOSE = 1] = "VERBOSE", n[n.INFO = 2] = "INFO", n[n.WARN = 3] = "WARN", n[n.ERROR = 4] = "ERROR", n[n.SILENT = 5] = "SILENT";
|
1406
1406
|
})(p || (p = {}));
|
1407
|
-
const
|
1407
|
+
const Dr = {
|
1408
1408
|
debug: p.DEBUG,
|
1409
1409
|
verbose: p.VERBOSE,
|
1410
1410
|
info: p.INFO,
|
@@ -1426,7 +1426,7 @@ const Nr = {
|
|
1426
1426
|
else
|
1427
1427
|
throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`);
|
1428
1428
|
};
|
1429
|
-
class
|
1429
|
+
class $t {
|
1430
1430
|
/**
|
1431
1431
|
* Gives you an instance of a Logger to capture messages according to
|
1432
1432
|
* Firebase's logging scheme.
|
@@ -1446,7 +1446,7 @@ class Zt {
|
|
1446
1446
|
}
|
1447
1447
|
// Workaround for setter/getter having to be the same type.
|
1448
1448
|
setLogLevel(e) {
|
1449
|
-
this._logLevel = typeof e == "string" ?
|
1449
|
+
this._logLevel = typeof e == "string" ? Dr[e] : e;
|
1450
1450
|
}
|
1451
1451
|
get logHandler() {
|
1452
1452
|
return this._logHandler;
|
@@ -1499,24 +1499,24 @@ function Fr() {
|
|
1499
1499
|
IDBCursor.prototype.continuePrimaryKey
|
1500
1500
|
]);
|
1501
1501
|
}
|
1502
|
-
const
|
1502
|
+
const Zt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
|
1503
1503
|
function xr(n) {
|
1504
1504
|
const e = new Promise((t, r) => {
|
1505
1505
|
const i = () => {
|
1506
1506
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
1507
1507
|
}, s = () => {
|
1508
|
-
t(
|
1508
|
+
t(N(n.result)), i();
|
1509
1509
|
}, a = () => {
|
1510
1510
|
r(n.error), i();
|
1511
1511
|
};
|
1512
1512
|
n.addEventListener("success", s), n.addEventListener("error", a);
|
1513
1513
|
});
|
1514
1514
|
return e.then((t) => {
|
1515
|
-
t instanceof IDBCursor &&
|
1515
|
+
t instanceof IDBCursor && Zt.set(t, n);
|
1516
1516
|
}).catch(() => {
|
1517
|
-
}),
|
1517
|
+
}), $e.set(e, n), e;
|
1518
1518
|
}
|
1519
|
-
function
|
1519
|
+
function Hr(n) {
|
1520
1520
|
if (Le.has(n))
|
1521
1521
|
return;
|
1522
1522
|
const e = new Promise((t, r) => {
|
@@ -1541,7 +1541,7 @@ let Ue = {
|
|
1541
1541
|
if (e === "store")
|
1542
1542
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1543
1543
|
}
|
1544
|
-
return
|
1544
|
+
return N(n[e]);
|
1545
1545
|
},
|
1546
1546
|
set(n, e, t) {
|
1547
1547
|
return n[e] = t, !0;
|
@@ -1550,35 +1550,35 @@ let Ue = {
|
|
1550
1550
|
return n instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in n;
|
1551
1551
|
}
|
1552
1552
|
};
|
1553
|
-
function
|
1553
|
+
function Vr(n) {
|
1554
1554
|
Ue = n(Ue);
|
1555
1555
|
}
|
1556
|
-
function
|
1556
|
+
function Gr(n) {
|
1557
1557
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1558
1558
|
const r = n.call(Ae(this), e, ...t);
|
1559
|
-
return Jt.set(r, e.sort ? e.sort() : [e]),
|
1559
|
+
return Jt.set(r, e.sort ? e.sort() : [e]), N(r);
|
1560
1560
|
} : Fr().includes(n) ? function(...e) {
|
1561
|
-
return n.apply(Ae(this), e),
|
1561
|
+
return n.apply(Ae(this), e), N(Zt.get(this));
|
1562
1562
|
} : function(...e) {
|
1563
|
-
return
|
1563
|
+
return N(n.apply(Ae(this), e));
|
1564
1564
|
};
|
1565
1565
|
}
|
1566
1566
|
function jr(n) {
|
1567
|
-
return typeof n == "function" ?
|
1567
|
+
return typeof n == "function" ? Gr(n) : (n instanceof IDBTransaction && Hr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
|
1568
1568
|
}
|
1569
|
-
function
|
1569
|
+
function N(n) {
|
1570
1570
|
if (n instanceof IDBRequest)
|
1571
1571
|
return xr(n);
|
1572
1572
|
if (Se.has(n))
|
1573
1573
|
return Se.get(n);
|
1574
1574
|
const e = jr(n);
|
1575
|
-
return e !== n && (Se.set(n, e),
|
1575
|
+
return e !== n && (Se.set(n, e), $e.set(e, n)), e;
|
1576
1576
|
}
|
1577
|
-
const Ae = (n) =>
|
1577
|
+
const Ae = (n) => $e.get(n);
|
1578
1578
|
function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1579
|
-
const a = indexedDB.open(n, e), c =
|
1579
|
+
const a = indexedDB.open(n, e), c = N(a);
|
1580
1580
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
1581
|
-
r(
|
1581
|
+
r(N(a.result), o.oldVersion, o.newVersion, N(a.transaction), o);
|
1582
1582
|
}), t && a.addEventListener("blocked", (o) => t(
|
1583
1583
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1584
1584
|
o.oldVersion,
|
@@ -1589,13 +1589,13 @@ function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1589
1589
|
}).catch(() => {
|
1590
1590
|
}), c;
|
1591
1591
|
}
|
1592
|
-
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"],
|
1592
|
+
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], $r = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
|
1593
1593
|
function ut(n, e) {
|
1594
1594
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
1595
1595
|
return;
|
1596
1596
|
if (Oe.get(e))
|
1597
1597
|
return Oe.get(e);
|
1598
|
-
const t = e.replace(/FromIndex$/, ""), r = e !== t, i =
|
1598
|
+
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = $r.includes(t);
|
1599
1599
|
if (
|
1600
1600
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
1601
1601
|
!(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || zr.includes(t))
|
@@ -1611,7 +1611,7 @@ function ut(n, e) {
|
|
1611
1611
|
};
|
1612
1612
|
return Oe.set(e, s), s;
|
1613
1613
|
}
|
1614
|
-
|
1614
|
+
Vr((n) => ({
|
1615
1615
|
...n,
|
1616
1616
|
get: (e, t, r) => ut(e, t) || n.get(e, t, r),
|
1617
1617
|
has: (e, t) => !!ut(e, t) || n.has(e, t)
|
@@ -1632,7 +1632,7 @@ Hr((n) => ({
|
|
1632
1632
|
* See the License for the specific language governing permissions and
|
1633
1633
|
* limitations under the License.
|
1634
1634
|
*/
|
1635
|
-
class
|
1635
|
+
class Zr {
|
1636
1636
|
constructor(e) {
|
1637
1637
|
this.container = e;
|
1638
1638
|
}
|
@@ -1669,7 +1669,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1669
1669
|
* See the License for the specific language governing permissions and
|
1670
1670
|
* limitations under the License.
|
1671
1671
|
*/
|
1672
|
-
const T = new
|
1672
|
+
const T = new $t("@firebase/app"), Yr = "@firebase/app-compat", Xr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", mi = "@firebase/remote-config-compat", fi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
|
1673
1673
|
/**
|
1674
1674
|
* @license
|
1675
1675
|
* Copyright 2019 Google LLC
|
@@ -1688,9 +1688,9 @@ const T = new Zt("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/
|
|
1688
1688
|
*/
|
1689
1689
|
const Fe = "[DEFAULT]", Ei = {
|
1690
1690
|
[Be]: "fire-core",
|
1691
|
-
[
|
1691
|
+
[Yr]: "fire-core-compat",
|
1692
1692
|
[Kr]: "fire-analytics",
|
1693
|
-
[
|
1693
|
+
[Xr]: "fire-analytics-compat",
|
1694
1694
|
[Qr]: "fire-app-check",
|
1695
1695
|
[qr]: "fire-app-check-compat",
|
1696
1696
|
[ei]: "fire-auth",
|
@@ -1707,8 +1707,8 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1707
1707
|
[ui]: "fire-perf",
|
1708
1708
|
[hi]: "fire-perf-compat",
|
1709
1709
|
[pi]: "fire-rc",
|
1710
|
-
[
|
1711
|
-
[
|
1710
|
+
[mi]: "fire-rc-compat",
|
1711
|
+
[fi]: "fire-gcs",
|
1712
1712
|
[_i]: "fire-gcs-compat",
|
1713
1713
|
[gi]: "fire-fst",
|
1714
1714
|
[Ii]: "fire-fst-compat",
|
@@ -1740,7 +1740,7 @@ function pt(n, e) {
|
|
1740
1740
|
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1741
1741
|
}
|
1742
1742
|
}
|
1743
|
-
function
|
1743
|
+
function Y(n) {
|
1744
1744
|
const e = n.name;
|
1745
1745
|
if (xe.has(e))
|
1746
1746
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
@@ -1751,7 +1751,7 @@ function X(n) {
|
|
1751
1751
|
pt(t, n);
|
1752
1752
|
return !0;
|
1753
1753
|
}
|
1754
|
-
function
|
1754
|
+
function Yt(n, e) {
|
1755
1755
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1756
1756
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1757
1757
|
}
|
@@ -1789,7 +1789,7 @@ const wi = {
|
|
1789
1789
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
1790
1790
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
1791
1791
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
1792
|
-
},
|
1792
|
+
}, D = new q("app", "Firebase", wi);
|
1793
1793
|
/**
|
1794
1794
|
* @license
|
1795
1795
|
* Copyright 2019 Google LLC
|
@@ -1806,7 +1806,7 @@ const wi = {
|
|
1806
1806
|
* See the License for the specific language governing permissions and
|
1807
1807
|
* limitations under the License.
|
1808
1808
|
*/
|
1809
|
-
class
|
1809
|
+
class Ri {
|
1810
1810
|
constructor(e, t, r) {
|
1811
1811
|
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new W(
|
1812
1812
|
"app",
|
@@ -1845,7 +1845,7 @@ class ki {
|
|
1845
1845
|
*/
|
1846
1846
|
checkDestroyed() {
|
1847
1847
|
if (this.isDeleted)
|
1848
|
-
throw
|
1848
|
+
throw D.create("app-deleted", { appName: this._name });
|
1849
1849
|
}
|
1850
1850
|
}
|
1851
1851
|
/**
|
@@ -1865,16 +1865,16 @@ class ki {
|
|
1865
1865
|
* limitations under the License.
|
1866
1866
|
*/
|
1867
1867
|
const ee = yi;
|
1868
|
-
function
|
1868
|
+
function Xt(n, e = {}) {
|
1869
1869
|
let t = n;
|
1870
1870
|
typeof e != "object" && (e = { name: e });
|
1871
1871
|
const r = Object.assign({ name: Fe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
1872
1872
|
if (typeof i != "string" || !i)
|
1873
|
-
throw
|
1873
|
+
throw D.create("bad-app-name", {
|
1874
1874
|
appName: String(i)
|
1875
1875
|
});
|
1876
1876
|
if (t || (t = Wt()), !t)
|
1877
|
-
throw
|
1877
|
+
throw D.create(
|
1878
1878
|
"no-options"
|
1879
1879
|
/* AppError.NO_OPTIONS */
|
1880
1880
|
);
|
@@ -1882,23 +1882,23 @@ function Yt(n, e = {}) {
|
|
1882
1882
|
if (s) {
|
1883
1883
|
if (ue(t, s.options) && ue(r, s.config))
|
1884
1884
|
return s;
|
1885
|
-
throw
|
1885
|
+
throw D.create("duplicate-app", { appName: i });
|
1886
1886
|
}
|
1887
|
-
const a = new
|
1887
|
+
const a = new Nr(i);
|
1888
1888
|
for (const o of xe.values())
|
1889
1889
|
a.addComponent(o);
|
1890
|
-
const c = new
|
1890
|
+
const c = new Ri(t, r, a);
|
1891
1891
|
return he.set(i, c), c;
|
1892
1892
|
}
|
1893
|
-
function
|
1893
|
+
function ki(n = Fe) {
|
1894
1894
|
const e = he.get(n);
|
1895
1895
|
if (!e && n === Fe && Wt())
|
1896
|
-
return
|
1896
|
+
return Xt();
|
1897
1897
|
if (!e)
|
1898
|
-
throw
|
1898
|
+
throw D.create("no-app", { appName: n });
|
1899
1899
|
return e;
|
1900
1900
|
}
|
1901
|
-
function
|
1901
|
+
function H(n, e, t) {
|
1902
1902
|
var r;
|
1903
1903
|
let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
|
1904
1904
|
t && (i += `-${t}`);
|
@@ -1910,7 +1910,7 @@ function G(n, e, t) {
|
|
1910
1910
|
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(c.join(" "));
|
1911
1911
|
return;
|
1912
1912
|
}
|
1913
|
-
|
1913
|
+
Y(new W(
|
1914
1914
|
`${i}-version`,
|
1915
1915
|
() => ({ library: i, version: e }),
|
1916
1916
|
"VERSION"
|
@@ -1933,7 +1933,7 @@ function G(n, e, t) {
|
|
1933
1933
|
* See the License for the specific language governing permissions and
|
1934
1934
|
* limitations under the License.
|
1935
1935
|
*/
|
1936
|
-
const Si = "firebase-heartbeat-database", Ai = 1,
|
1936
|
+
const Si = "firebase-heartbeat-database", Ai = 1, X = "firebase-heartbeat-store";
|
1937
1937
|
let Ce = null;
|
1938
1938
|
function Kt() {
|
1939
1939
|
return Ce || (Ce = Wr(Si, Ai, {
|
@@ -1941,42 +1941,42 @@ function Kt() {
|
|
1941
1941
|
switch (e) {
|
1942
1942
|
case 0:
|
1943
1943
|
try {
|
1944
|
-
n.createObjectStore(
|
1944
|
+
n.createObjectStore(X);
|
1945
1945
|
} catch (t) {
|
1946
1946
|
console.warn(t);
|
1947
1947
|
}
|
1948
1948
|
}
|
1949
1949
|
}
|
1950
1950
|
}).catch((n) => {
|
1951
|
-
throw
|
1951
|
+
throw D.create("idb-open", {
|
1952
1952
|
originalErrorMessage: n.message
|
1953
1953
|
});
|
1954
1954
|
})), Ce;
|
1955
1955
|
}
|
1956
1956
|
async function Oi(n) {
|
1957
1957
|
try {
|
1958
|
-
const t = (await Kt()).transaction(
|
1958
|
+
const t = (await Kt()).transaction(X), r = await t.objectStore(X).get(qt(n));
|
1959
1959
|
return await t.done, r;
|
1960
1960
|
} catch (e) {
|
1961
1961
|
if (e instanceof M)
|
1962
1962
|
T.warn(e.message);
|
1963
1963
|
else {
|
1964
|
-
const t =
|
1964
|
+
const t = D.create("idb-get", {
|
1965
1965
|
originalErrorMessage: e == null ? void 0 : e.message
|
1966
1966
|
});
|
1967
1967
|
T.warn(t.message);
|
1968
1968
|
}
|
1969
1969
|
}
|
1970
1970
|
}
|
1971
|
-
async function
|
1971
|
+
async function mt(n, e) {
|
1972
1972
|
try {
|
1973
|
-
const r = (await Kt()).transaction(
|
1974
|
-
await r.objectStore(
|
1973
|
+
const r = (await Kt()).transaction(X, "readwrite");
|
1974
|
+
await r.objectStore(X).put(e, qt(n)), await r.done;
|
1975
1975
|
} catch (t) {
|
1976
1976
|
if (t instanceof M)
|
1977
1977
|
T.warn(t.message);
|
1978
1978
|
else {
|
1979
|
-
const r =
|
1979
|
+
const r = D.create("idb-set", {
|
1980
1980
|
originalErrorMessage: t == null ? void 0 : t.message
|
1981
1981
|
});
|
1982
1982
|
T.warn(r.message);
|
@@ -2002,8 +2002,8 @@ function qt(n) {
|
|
2002
2002
|
* See the License for the specific language governing permissions and
|
2003
2003
|
* limitations under the License.
|
2004
2004
|
*/
|
2005
|
-
const Ci = 1024,
|
2006
|
-
class
|
2005
|
+
const Ci = 1024, Ni = 30 * 24 * 60 * 60 * 1e3;
|
2006
|
+
class Di {
|
2007
2007
|
constructor(e) {
|
2008
2008
|
this.container = e, this._heartbeatsCache = null;
|
2009
2009
|
const t = this.container.getProvider("app").getImmediate();
|
@@ -2019,10 +2019,10 @@ class Ni {
|
|
2019
2019
|
async triggerHeartbeat() {
|
2020
2020
|
var e, t;
|
2021
2021
|
try {
|
2022
|
-
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s =
|
2022
|
+
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = ft();
|
2023
2023
|
return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((t = this._heartbeatsCache) === null || t === void 0 ? void 0 : t.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === s || this._heartbeatsCache.heartbeats.some((a) => a.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((a) => {
|
2024
2024
|
const c = new Date(a.date).valueOf();
|
2025
|
-
return Date.now() - c <=
|
2025
|
+
return Date.now() - c <= Ni;
|
2026
2026
|
}), this._storage.overwrite(this._heartbeatsCache));
|
2027
2027
|
} catch (r) {
|
2028
2028
|
T.warn(r);
|
@@ -2040,14 +2040,14 @@ class Ni {
|
|
2040
2040
|
try {
|
2041
2041
|
if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
|
2042
2042
|
return "";
|
2043
|
-
const t =
|
2043
|
+
const t = ft(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
|
2044
2044
|
return this._heartbeatsCache.lastSentHeartbeatDate = t, i.length > 0 ? (this._heartbeatsCache.heartbeats = i, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), s;
|
2045
2045
|
} catch (t) {
|
2046
2046
|
return T.warn(t), "";
|
2047
2047
|
}
|
2048
2048
|
}
|
2049
2049
|
}
|
2050
|
-
function
|
2050
|
+
function ft() {
|
2051
2051
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
2052
2052
|
}
|
2053
2053
|
function Pi(n, e = Ci) {
|
@@ -2096,7 +2096,7 @@ class Mi {
|
|
2096
2096
|
var t;
|
2097
2097
|
if (await this._canUseIndexedDBPromise) {
|
2098
2098
|
const i = await this.read();
|
2099
|
-
return
|
2099
|
+
return mt(this.app, {
|
2100
2100
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2101
2101
|
heartbeats: e.heartbeats
|
2102
2102
|
});
|
@@ -2108,7 +2108,7 @@ class Mi {
|
|
2108
2108
|
var t;
|
2109
2109
|
if (await this._canUseIndexedDBPromise) {
|
2110
2110
|
const i = await this.read();
|
2111
|
-
return
|
2111
|
+
return mt(this.app, {
|
2112
2112
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2113
2113
|
heartbeats: [
|
2114
2114
|
...i.heartbeats,
|
@@ -2142,17 +2142,17 @@ function _t(n) {
|
|
2142
2142
|
* limitations under the License.
|
2143
2143
|
*/
|
2144
2144
|
function Li(n) {
|
2145
|
-
|
2145
|
+
Y(new W(
|
2146
2146
|
"platform-logger",
|
2147
|
-
(e) => new
|
2147
|
+
(e) => new Zr(e),
|
2148
2148
|
"PRIVATE"
|
2149
2149
|
/* ComponentType.PRIVATE */
|
2150
|
-
)),
|
2150
|
+
)), Y(new W(
|
2151
2151
|
"heartbeat",
|
2152
|
-
(e) => new
|
2152
|
+
(e) => new Di(e),
|
2153
2153
|
"PRIVATE"
|
2154
2154
|
/* ComponentType.PRIVATE */
|
2155
|
-
)),
|
2155
|
+
)), H(Be, ht, n), H(Be, ht, "esm2017"), H("fire-js", "");
|
2156
2156
|
}
|
2157
2157
|
Li("");
|
2158
2158
|
var Ui = "firebase", Bi = "10.14.1";
|
@@ -2172,7 +2172,7 @@ var Ui = "firebase", Bi = "10.14.1";
|
|
2172
2172
|
* See the License for the specific language governing permissions and
|
2173
2173
|
* limitations under the License.
|
2174
2174
|
*/
|
2175
|
-
|
2175
|
+
H(Ui, Bi, "app");
|
2176
2176
|
var gt = function() {
|
2177
2177
|
return gt = Object.assign || function(e) {
|
2178
2178
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2182,7 +2182,7 @@ var gt = function() {
|
|
2182
2182
|
return e;
|
2183
2183
|
}, gt.apply(this, arguments);
|
2184
2184
|
};
|
2185
|
-
function
|
2185
|
+
function Ze(n, e) {
|
2186
2186
|
var t = {};
|
2187
2187
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
|
2188
2188
|
if (n != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -2212,7 +2212,7 @@ const Fi = Qt, en = new q("auth", "Firebase", Qt());
|
|
2212
2212
|
* See the License for the specific language governing permissions and
|
2213
2213
|
* limitations under the License.
|
2214
2214
|
*/
|
2215
|
-
const pe = new
|
2215
|
+
const pe = new $t("@firebase/auth");
|
2216
2216
|
function xi(n, ...e) {
|
2217
2217
|
pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
|
2218
2218
|
}
|
@@ -2265,7 +2265,7 @@ function b(n) {
|
|
2265
2265
|
const e = "INTERNAL ASSERTION FAILED: " + n;
|
2266
2266
|
throw se(e), new Error(e);
|
2267
2267
|
}
|
2268
|
-
function
|
2268
|
+
function R(n, e) {
|
2269
2269
|
n || b(e);
|
2270
2270
|
}
|
2271
2271
|
/**
|
@@ -2284,11 +2284,11 @@ function k(n, e) {
|
|
2284
2284
|
* See the License for the specific language governing permissions and
|
2285
2285
|
* limitations under the License.
|
2286
2286
|
*/
|
2287
|
-
function
|
2287
|
+
function He() {
|
2288
2288
|
var n;
|
2289
2289
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2290
2290
|
}
|
2291
|
-
function
|
2291
|
+
function Hi() {
|
2292
2292
|
return vt() === "http:" || vt() === "https:";
|
2293
2293
|
}
|
2294
2294
|
function vt() {
|
@@ -2311,15 +2311,15 @@ function vt() {
|
|
2311
2311
|
* See the License for the specific language governing permissions and
|
2312
2312
|
* limitations under the License.
|
2313
2313
|
*/
|
2314
|
-
function
|
2314
|
+
function Vi() {
|
2315
2315
|
return typeof navigator < "u" && navigator && "onLine" in navigator && typeof navigator.onLine == "boolean" && // Apply only for traditional web apps and Chrome extensions.
|
2316
2316
|
// This is especially true for Cordova apps which have unreliable
|
2317
2317
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
2318
2318
|
// installed which overwrites the native navigator.onLine value and
|
2319
2319
|
// defines navigator.connection.
|
2320
|
-
(
|
2320
|
+
(Hi() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2321
2321
|
}
|
2322
|
-
function
|
2322
|
+
function Gi() {
|
2323
2323
|
if (typeof navigator > "u")
|
2324
2324
|
return null;
|
2325
2325
|
const n = navigator;
|
@@ -2349,10 +2349,10 @@ function Vi() {
|
|
2349
2349
|
*/
|
2350
2350
|
class te {
|
2351
2351
|
constructor(e, t) {
|
2352
|
-
this.shortDelay = e, this.longDelay = t,
|
2352
|
+
this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile = mr() || gr();
|
2353
2353
|
}
|
2354
2354
|
get() {
|
2355
|
-
return
|
2355
|
+
return Vi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
2356
2356
|
}
|
2357
2357
|
}
|
2358
2358
|
/**
|
@@ -2371,8 +2371,8 @@ class te {
|
|
2371
2371
|
* See the License for the specific language governing permissions and
|
2372
2372
|
* limitations under the License.
|
2373
2373
|
*/
|
2374
|
-
function
|
2375
|
-
|
2374
|
+
function Ye(n, e) {
|
2375
|
+
R(n.emulator, "Emulator should always be set here");
|
2376
2376
|
const { url: t } = n.emulator;
|
2377
2377
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
2378
2378
|
}
|
@@ -2541,7 +2541,7 @@ const Wi = new te(3e4, 6e4);
|
|
2541
2541
|
function ve(n, e) {
|
2542
2542
|
return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
|
2543
2543
|
}
|
2544
|
-
async function
|
2544
|
+
async function $(n, e, t, r, i = {}) {
|
2545
2545
|
return rn(n, i, async () => {
|
2546
2546
|
let s = {}, a = {};
|
2547
2547
|
r && (e === "GET" ? a = r : s = {
|
@@ -2559,7 +2559,7 @@ async function Z(n, e, t, r, i = {}) {
|
|
2559
2559
|
method: e,
|
2560
2560
|
headers: o
|
2561
2561
|
}, s);
|
2562
|
-
return
|
2562
|
+
return fr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
|
2563
2563
|
});
|
2564
2564
|
}
|
2565
2565
|
async function rn(n, e, t) {
|
@@ -2596,14 +2596,14 @@ async function rn(n, e, t) {
|
|
2596
2596
|
}
|
2597
2597
|
}
|
2598
2598
|
async function sn(n, e, t, r, i = {}) {
|
2599
|
-
const s = await
|
2599
|
+
const s = await $(n, e, t, r, i);
|
2600
2600
|
return "mfaPendingCredential" in s && w(n, "multi-factor-auth-required", {
|
2601
2601
|
_serverResponse: s
|
2602
2602
|
}), s;
|
2603
2603
|
}
|
2604
2604
|
function an(n, e, t, r) {
|
2605
2605
|
const i = `${e}${t}?${r}`;
|
2606
|
-
return n.config.emulator ?
|
2606
|
+
return n.config.emulator ? Ye(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2607
2607
|
}
|
2608
2608
|
class zi {
|
2609
2609
|
constructor(e) {
|
@@ -2643,11 +2643,11 @@ function ie(n, e, t) {
|
|
2643
2643
|
* See the License for the specific language governing permissions and
|
2644
2644
|
* limitations under the License.
|
2645
2645
|
*/
|
2646
|
-
async function
|
2647
|
-
return
|
2646
|
+
async function $i(n, e) {
|
2647
|
+
return $(n, "POST", "/v1/accounts:delete", e);
|
2648
2648
|
}
|
2649
2649
|
async function on(n, e) {
|
2650
|
-
return
|
2650
|
+
return $(n, "POST", "/v1/accounts:lookup", e);
|
2651
2651
|
}
|
2652
2652
|
/**
|
2653
2653
|
* @license
|
@@ -2674,8 +2674,8 @@ function J(n) {
|
|
2674
2674
|
} catch {
|
2675
2675
|
}
|
2676
2676
|
}
|
2677
|
-
async function
|
2678
|
-
const t = z(n), r = await t.getIdToken(e), i =
|
2677
|
+
async function Zi(n, e = !1) {
|
2678
|
+
const t = z(n), r = await t.getIdToken(e), i = Xe(r);
|
2679
2679
|
u(
|
2680
2680
|
i && i.exp && i.auth_time && i.iat,
|
2681
2681
|
t.auth,
|
@@ -2686,29 +2686,29 @@ async function $i(n, e = !1) {
|
|
2686
2686
|
return {
|
2687
2687
|
claims: i,
|
2688
2688
|
token: r,
|
2689
|
-
authTime: J(
|
2690
|
-
issuedAtTime: J(
|
2691
|
-
expirationTime: J(
|
2689
|
+
authTime: J(Ne(i.auth_time)),
|
2690
|
+
issuedAtTime: J(Ne(i.iat)),
|
2691
|
+
expirationTime: J(Ne(i.exp)),
|
2692
2692
|
signInProvider: a || null,
|
2693
2693
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2694
2694
|
};
|
2695
2695
|
}
|
2696
|
-
function
|
2696
|
+
function Ne(n) {
|
2697
2697
|
return Number(n) * 1e3;
|
2698
2698
|
}
|
2699
|
-
function
|
2699
|
+
function Xe(n) {
|
2700
2700
|
const [e, t, r] = n.split(".");
|
2701
2701
|
if (e === void 0 || t === void 0 || r === void 0)
|
2702
2702
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2703
2703
|
try {
|
2704
|
-
const i =
|
2704
|
+
const i = Gt(t);
|
2705
2705
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2706
2706
|
} catch (i) {
|
2707
2707
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2708
2708
|
}
|
2709
2709
|
}
|
2710
2710
|
function It(n) {
|
2711
|
-
const e =
|
2711
|
+
const e = Xe(n);
|
2712
2712
|
return u(
|
2713
2713
|
e,
|
2714
2714
|
"internal-error"
|
@@ -2767,7 +2767,7 @@ function Ji({ code: n }) {
|
|
2767
2767
|
* See the License for the specific language governing permissions and
|
2768
2768
|
* limitations under the License.
|
2769
2769
|
*/
|
2770
|
-
class
|
2770
|
+
class Yi {
|
2771
2771
|
constructor(e) {
|
2772
2772
|
this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
|
2773
2773
|
}
|
@@ -2829,7 +2829,7 @@ class Xi {
|
|
2829
2829
|
* See the License for the specific language governing permissions and
|
2830
2830
|
* limitations under the License.
|
2831
2831
|
*/
|
2832
|
-
class
|
2832
|
+
class Ve {
|
2833
2833
|
constructor(e, t) {
|
2834
2834
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2835
2835
|
}
|
@@ -2862,7 +2862,7 @@ class He {
|
|
2862
2862
|
* See the License for the specific language governing permissions and
|
2863
2863
|
* limitations under the License.
|
2864
2864
|
*/
|
2865
|
-
async function
|
2865
|
+
async function me(n) {
|
2866
2866
|
var e;
|
2867
2867
|
const t = n.auth, r = await n.getIdToken(), i = await K(n, on(t, { idToken: r }));
|
2868
2868
|
u(
|
@@ -2882,21 +2882,21 @@ async function fe(n) {
|
|
2882
2882
|
phoneNumber: s.phoneNumber || null,
|
2883
2883
|
tenantId: s.tenantId || null,
|
2884
2884
|
providerData: c,
|
2885
|
-
metadata: new
|
2885
|
+
metadata: new Ve(s.createdAt, s.lastLoginAt),
|
2886
2886
|
isAnonymous: d
|
2887
2887
|
};
|
2888
2888
|
Object.assign(n, h);
|
2889
2889
|
}
|
2890
|
-
async function
|
2890
|
+
async function Xi(n) {
|
2891
2891
|
const e = z(n);
|
2892
|
-
await
|
2892
|
+
await me(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
|
2893
2893
|
}
|
2894
2894
|
function Ki(n, e) {
|
2895
2895
|
return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
|
2896
2896
|
}
|
2897
2897
|
function cn(n) {
|
2898
2898
|
return n.map((e) => {
|
2899
|
-
var { providerId: t } = e, r =
|
2899
|
+
var { providerId: t } = e, r = Ze(e, ["providerId"]);
|
2900
2900
|
return {
|
2901
2901
|
providerId: t,
|
2902
2902
|
uid: r.rawId || "",
|
@@ -2945,7 +2945,7 @@ async function qi(n, e) {
|
|
2945
2945
|
};
|
2946
2946
|
}
|
2947
2947
|
async function Qi(n, e) {
|
2948
|
-
return
|
2948
|
+
return $(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
|
2949
2949
|
}
|
2950
2950
|
/**
|
2951
2951
|
* @license
|
@@ -2963,7 +2963,7 @@ async function Qi(n, e) {
|
|
2963
2963
|
* See the License for the specific language governing permissions and
|
2964
2964
|
* limitations under the License.
|
2965
2965
|
*/
|
2966
|
-
class
|
2966
|
+
class V {
|
2967
2967
|
constructor() {
|
2968
2968
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2969
2969
|
}
|
@@ -3015,7 +3015,7 @@ class H {
|
|
3015
3015
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
3016
3016
|
}
|
3017
3017
|
static fromJSON(e, t) {
|
3018
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new
|
3018
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new V();
|
3019
3019
|
return r && (u(typeof r == "string", "internal-error", {
|
3020
3020
|
appName: e
|
3021
3021
|
}), a.refreshToken = r), i && (u(typeof i == "string", "internal-error", {
|
@@ -3035,7 +3035,7 @@ class H {
|
|
3035
3035
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
3036
3036
|
}
|
3037
3037
|
_clone() {
|
3038
|
-
return Object.assign(new
|
3038
|
+
return Object.assign(new V(), this.toJSON());
|
3039
3039
|
}
|
3040
3040
|
_performRefresh() {
|
3041
3041
|
return b("not implemented");
|
@@ -3057,13 +3057,13 @@ class H {
|
|
3057
3057
|
* See the License for the specific language governing permissions and
|
3058
3058
|
* limitations under the License.
|
3059
3059
|
*/
|
3060
|
-
function
|
3060
|
+
function k(n, e) {
|
3061
3061
|
u(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
|
3062
3062
|
}
|
3063
3063
|
class y {
|
3064
3064
|
constructor(e) {
|
3065
|
-
var { uid: t, auth: r, stsTokenManager: i } = e, s =
|
3066
|
-
this.providerId = "firebase", this.proactiveRefresh = new
|
3065
|
+
var { uid: t, auth: r, stsTokenManager: i } = e, s = Ze(e, ["uid", "auth", "stsTokenManager"]);
|
3066
|
+
this.providerId = "firebase", this.proactiveRefresh = new Yi(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new Ve(s.createdAt || void 0, s.lastLoginAt || void 0);
|
3067
3067
|
}
|
3068
3068
|
async getIdToken(e) {
|
3069
3069
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3075,10 +3075,10 @@ class y {
|
|
3075
3075
|
), this.accessToken !== t && (this.accessToken = t, await this.auth._persistUserIfCurrent(this), this.auth._notifyListenersIfCurrent(this)), t;
|
3076
3076
|
}
|
3077
3077
|
getIdTokenResult(e) {
|
3078
|
-
return
|
3078
|
+
return Zi(this, e);
|
3079
3079
|
}
|
3080
3080
|
reload() {
|
3081
|
-
return
|
3081
|
+
return Xi(this);
|
3082
3082
|
}
|
3083
3083
|
_assign(e) {
|
3084
3084
|
this !== e && (u(
|
@@ -3111,13 +3111,13 @@ class y {
|
|
3111
3111
|
}
|
3112
3112
|
async _updateTokensIfNecessary(e, t = !1) {
|
3113
3113
|
let r = !1;
|
3114
|
-
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await
|
3114
|
+
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await me(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
|
3115
3115
|
}
|
3116
3116
|
async delete() {
|
3117
3117
|
if (I(this.auth.app))
|
3118
3118
|
return Promise.reject(P(this.auth));
|
3119
3119
|
const e = await this.getIdToken();
|
3120
|
-
return await K(this,
|
3120
|
+
return await K(this, $i(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
3121
3121
|
}
|
3122
3122
|
toJSON() {
|
3123
3123
|
return Object.assign(Object.assign({
|
@@ -3145,20 +3145,20 @@ class y {
|
|
3145
3145
|
}
|
3146
3146
|
static _fromJSON(e, t) {
|
3147
3147
|
var r, i, s, a, c, o, l, d;
|
3148
|
-
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0,
|
3148
|
+
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
|
3149
3149
|
u(
|
3150
3150
|
Te && at,
|
3151
3151
|
e,
|
3152
3152
|
"internal-error"
|
3153
3153
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3154
3154
|
);
|
3155
|
-
const Pn =
|
3155
|
+
const Pn = V.fromJSON(this.name, at);
|
3156
3156
|
u(
|
3157
3157
|
typeof Te == "string",
|
3158
3158
|
e,
|
3159
3159
|
"internal-error"
|
3160
3160
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3161
|
-
),
|
3161
|
+
), k(h, e.name), k(m, e.name), u(
|
3162
3162
|
typeof it == "boolean",
|
3163
3163
|
e,
|
3164
3164
|
"internal-error"
|
@@ -3168,11 +3168,11 @@ class y {
|
|
3168
3168
|
e,
|
3169
3169
|
"internal-error"
|
3170
3170
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3171
|
-
),
|
3172
|
-
const
|
3171
|
+
), k(v, e.name), k(F, e.name), k(tt, e.name), k(Ee, e.name), k(nt, e.name), k(rt, e.name);
|
3172
|
+
const Re = new y({
|
3173
3173
|
uid: Te,
|
3174
3174
|
auth: e,
|
3175
|
-
email:
|
3175
|
+
email: m,
|
3176
3176
|
emailVerified: it,
|
3177
3177
|
displayName: h,
|
3178
3178
|
isAnonymous: st,
|
@@ -3183,7 +3183,7 @@ class y {
|
|
3183
3183
|
createdAt: nt,
|
3184
3184
|
lastLoginAt: rt
|
3185
3185
|
});
|
3186
|
-
return we && Array.isArray(we) && (
|
3186
|
+
return we && Array.isArray(we) && (Re.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (Re._redirectEventId = Ee), Re;
|
3187
3187
|
}
|
3188
3188
|
/**
|
3189
3189
|
* Initialize a User from an idToken server response
|
@@ -3191,7 +3191,7 @@ class y {
|
|
3191
3191
|
* @param idTokenResponse
|
3192
3192
|
*/
|
3193
3193
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
3194
|
-
const i = new
|
3194
|
+
const i = new V();
|
3195
3195
|
i.updateFromServerResponse(t);
|
3196
3196
|
const s = new y({
|
3197
3197
|
uid: t.localId,
|
@@ -3199,7 +3199,7 @@ class y {
|
|
3199
3199
|
stsTokenManager: i,
|
3200
3200
|
isAnonymous: r
|
3201
3201
|
});
|
3202
|
-
return await
|
3202
|
+
return await me(s), s;
|
3203
3203
|
}
|
3204
3204
|
/**
|
3205
3205
|
* Initialize a User from an idToken server response
|
@@ -3213,7 +3213,7 @@ class y {
|
|
3213
3213
|
"internal-error"
|
3214
3214
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3215
3215
|
);
|
3216
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new
|
3216
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new V();
|
3217
3217
|
c.updateFromIdToken(r);
|
3218
3218
|
const o = new y({
|
3219
3219
|
uid: i.localId,
|
@@ -3229,7 +3229,7 @@ class y {
|
|
3229
3229
|
phoneNumber: i.phoneNumber || null,
|
3230
3230
|
tenantId: i.tenantId || null,
|
3231
3231
|
providerData: s,
|
3232
|
-
metadata: new
|
3232
|
+
metadata: new Ve(i.createdAt, i.lastLoginAt),
|
3233
3233
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
3234
3234
|
};
|
3235
3235
|
return Object.assign(o, l), o;
|
@@ -3253,9 +3253,9 @@ class y {
|
|
3253
3253
|
*/
|
3254
3254
|
const bt = /* @__PURE__ */ new Map();
|
3255
3255
|
function E(n) {
|
3256
|
-
|
3256
|
+
R(n instanceof Function, "Expected a class definition");
|
3257
3257
|
let e = bt.get(n);
|
3258
|
-
return e ? (
|
3258
|
+
return e ? (R(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
|
3259
3259
|
}
|
3260
3260
|
/**
|
3261
3261
|
* @license
|
@@ -3316,7 +3316,7 @@ const yt = ln;
|
|
3316
3316
|
function ae(n, e, t) {
|
3317
3317
|
return `firebase:${n}:${e}:${t}`;
|
3318
3318
|
}
|
3319
|
-
class
|
3319
|
+
class G {
|
3320
3320
|
constructor(e, t, r) {
|
3321
3321
|
this.persistence = e, this.auth = t, this.userKey = r;
|
3322
3322
|
const { config: i, name: s } = this.auth;
|
@@ -3347,7 +3347,7 @@ class V {
|
|
3347
3347
|
}
|
3348
3348
|
static async create(e, t, r = "authUser") {
|
3349
3349
|
if (!t.length)
|
3350
|
-
return new
|
3350
|
+
return new G(E(yt), e, r);
|
3351
3351
|
const i = (await Promise.all(t.map(async (l) => {
|
3352
3352
|
if (await l._isAvailable())
|
3353
3353
|
return l;
|
@@ -3366,13 +3366,13 @@ class V {
|
|
3366
3366
|
} catch {
|
3367
3367
|
}
|
3368
3368
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3369
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3369
|
+
return !s._shouldAllowMigration || !o.length ? new G(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
|
3370
3370
|
if (l !== s)
|
3371
3371
|
try {
|
3372
3372
|
await l._remove(a);
|
3373
3373
|
} catch {
|
3374
3374
|
}
|
3375
|
-
})), new
|
3375
|
+
})), new G(s, e, r));
|
3376
3376
|
}
|
3377
3377
|
}
|
3378
3378
|
/**
|
@@ -3405,7 +3405,7 @@ function Et(n) {
|
|
3405
3405
|
return "Firefox";
|
3406
3406
|
if (e.includes("silk/"))
|
3407
3407
|
return "Silk";
|
3408
|
-
if (
|
3408
|
+
if (fn(e))
|
3409
3409
|
return "Blackberry";
|
3410
3410
|
if (_n(e))
|
3411
3411
|
return "Webos";
|
@@ -3413,7 +3413,7 @@ function Et(n) {
|
|
3413
3413
|
return "Safari";
|
3414
3414
|
if ((e.includes("chrome/") || hn(e)) && !e.includes("edge/"))
|
3415
3415
|
return "Chrome";
|
3416
|
-
if (
|
3416
|
+
if (mn(e))
|
3417
3417
|
return "Android";
|
3418
3418
|
{
|
3419
3419
|
const t = /([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/, r = n.match(t);
|
@@ -3422,40 +3422,40 @@ function Et(n) {
|
|
3422
3422
|
}
|
3423
3423
|
return "Other";
|
3424
3424
|
}
|
3425
|
-
function dn(n =
|
3425
|
+
function dn(n = f()) {
|
3426
3426
|
return /firefox\//i.test(n);
|
3427
3427
|
}
|
3428
|
-
function un(n =
|
3428
|
+
function un(n = f()) {
|
3429
3429
|
const e = n.toLowerCase();
|
3430
3430
|
return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
|
3431
3431
|
}
|
3432
|
-
function hn(n =
|
3432
|
+
function hn(n = f()) {
|
3433
3433
|
return /crios\//i.test(n);
|
3434
3434
|
}
|
3435
|
-
function pn(n =
|
3435
|
+
function pn(n = f()) {
|
3436
3436
|
return /iemobile/i.test(n);
|
3437
3437
|
}
|
3438
|
-
function
|
3438
|
+
function mn(n = f()) {
|
3439
3439
|
return /android/i.test(n);
|
3440
3440
|
}
|
3441
|
-
function
|
3441
|
+
function fn(n = f()) {
|
3442
3442
|
return /blackberry/i.test(n);
|
3443
3443
|
}
|
3444
|
-
function _n(n =
|
3444
|
+
function _n(n = f()) {
|
3445
3445
|
return /webos/i.test(n);
|
3446
3446
|
}
|
3447
|
-
function Ke(n =
|
3447
|
+
function Ke(n = f()) {
|
3448
3448
|
return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
|
3449
3449
|
}
|
3450
|
-
function es(n =
|
3450
|
+
function es(n = f()) {
|
3451
3451
|
var e;
|
3452
3452
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3453
3453
|
}
|
3454
3454
|
function ts() {
|
3455
3455
|
return vr() && document.documentMode === 10;
|
3456
3456
|
}
|
3457
|
-
function gn(n =
|
3458
|
-
return Ke(n) ||
|
3457
|
+
function gn(n = f()) {
|
3458
|
+
return Ke(n) || mn(n) || _n(n) || fn(n) || /windows phone/i.test(n) || pn(n);
|
3459
3459
|
}
|
3460
3460
|
/**
|
3461
3461
|
* @license
|
@@ -3477,10 +3477,10 @@ function vn(n, e = []) {
|
|
3477
3477
|
let t;
|
3478
3478
|
switch (n) {
|
3479
3479
|
case "Browser":
|
3480
|
-
t = Et(
|
3480
|
+
t = Et(f());
|
3481
3481
|
break;
|
3482
3482
|
case "Worker":
|
3483
|
-
t = `${Et(
|
3483
|
+
t = `${Et(f())}-${n}`;
|
3484
3484
|
break;
|
3485
3485
|
default:
|
3486
3486
|
t = n;
|
@@ -3560,7 +3560,7 @@ class ns {
|
|
3560
3560
|
* limitations under the License.
|
3561
3561
|
*/
|
3562
3562
|
async function rs(n, e = {}) {
|
3563
|
-
return
|
3563
|
+
return $(n, "GET", "/v2/passwordPolicy", ve(n, e));
|
3564
3564
|
}
|
3565
3565
|
/**
|
3566
3566
|
* @license
|
@@ -3673,7 +3673,7 @@ class as {
|
|
3673
3673
|
_initializeWithPersistence(e, t) {
|
3674
3674
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3675
3675
|
var r, i;
|
3676
|
-
if (!this._deleted && (this.persistenceManager = await
|
3676
|
+
if (!this._deleted && (this.persistenceManager = await G.create(this, e), !this._deleted)) {
|
3677
3677
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3678
3678
|
try {
|
3679
3679
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3754,7 +3754,7 @@ class as {
|
|
3754
3754
|
}
|
3755
3755
|
async reloadAndSetCurrentUserOrClear(e) {
|
3756
3756
|
try {
|
3757
|
-
await
|
3757
|
+
await me(e);
|
3758
3758
|
} catch (t) {
|
3759
3759
|
if ((t == null ? void 0 : t.code) !== "auth/network-request-failed")
|
3760
3760
|
return this.directlySetCurrentUser(null);
|
@@ -3762,7 +3762,7 @@ class as {
|
|
3762
3762
|
return this.directlySetCurrentUser(e);
|
3763
3763
|
}
|
3764
3764
|
useDeviceLanguage() {
|
3765
|
-
this.languageCode =
|
3765
|
+
this.languageCode = Gi();
|
3766
3766
|
}
|
3767
3767
|
async _delete() {
|
3768
3768
|
this._deleted = !0;
|
@@ -3877,7 +3877,7 @@ class as {
|
|
3877
3877
|
this,
|
3878
3878
|
"argument-error"
|
3879
3879
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3880
|
-
), this.redirectPersistenceManager = await
|
3880
|
+
), this.redirectPersistenceManager = await G.create(
|
3881
3881
|
this,
|
3882
3882
|
[E(t._redirectPersistence)],
|
3883
3883
|
"redirectUser"
|
@@ -4004,7 +4004,7 @@ function Ie(n) {
|
|
4004
4004
|
}
|
4005
4005
|
class Tt {
|
4006
4006
|
constructor(e) {
|
4007
|
-
this.auth = e, this.observer = null, this.addObserver =
|
4007
|
+
this.auth = e, this.observer = null, this.addObserver = Rr((t) => this.observer = t);
|
4008
4008
|
}
|
4009
4009
|
get next() {
|
4010
4010
|
return u(
|
@@ -4068,7 +4068,7 @@ function ds(n) {
|
|
4068
4068
|
* limitations under the License.
|
4069
4069
|
*/
|
4070
4070
|
function us(n, e) {
|
4071
|
-
const t =
|
4071
|
+
const t = Yt(n, "auth");
|
4072
4072
|
if (t.isInitialized()) {
|
4073
4073
|
const i = t.getImmediate(), s = t.getOptions();
|
4074
4074
|
if (ue(s, e ?? {}))
|
@@ -4098,19 +4098,19 @@ function ps(n, e, t) {
|
|
4098
4098
|
"invalid-emulator-scheme"
|
4099
4099
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4100
4100
|
);
|
4101
|
-
const i = !1, s = In(e), { host: a, port: c } =
|
4101
|
+
const i = !1, s = In(e), { host: a, port: c } = ms(e), o = c === null ? "" : `:${c}`;
|
4102
4102
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4103
4103
|
host: a,
|
4104
4104
|
port: c,
|
4105
4105
|
protocol: s.replace(":", ""),
|
4106
4106
|
options: Object.freeze({ disableWarnings: i })
|
4107
|
-
}),
|
4107
|
+
}), fs();
|
4108
4108
|
}
|
4109
4109
|
function In(n) {
|
4110
4110
|
const e = n.indexOf(":");
|
4111
4111
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4112
4112
|
}
|
4113
|
-
function
|
4113
|
+
function ms(n) {
|
4114
4114
|
const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4115
4115
|
if (!t)
|
4116
4116
|
return { host: "", port: null };
|
@@ -4129,7 +4129,7 @@ function wt(n) {
|
|
4129
4129
|
const e = Number(n);
|
4130
4130
|
return isNaN(e) ? null : e;
|
4131
4131
|
}
|
4132
|
-
function
|
4132
|
+
function fs() {
|
4133
4133
|
function n() {
|
4134
4134
|
const e = document.createElement("p"), t = e.style;
|
4135
4135
|
e.innerText = "Running in emulator mode. Do not use with production credentials.", t.position = "fixed", t.width = "100%", t.backgroundColor = "#ffffff", t.border = ".1em solid #000000", t.color = "#b50000", t.bottom = "0px", t.left = "0px", t.margin = "0px", t.zIndex = "10000", t.textAlign = "center", e.classList.add("firebase-emulator-warning"), document.body.appendChild(e);
|
@@ -4248,7 +4248,7 @@ class U extends bn {
|
|
4248
4248
|
* @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
|
4249
4249
|
*/
|
4250
4250
|
static fromJSON(e) {
|
4251
|
-
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s =
|
4251
|
+
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = Ze(t, ["providerId", "signInMethod"]);
|
4252
4252
|
if (!r || !i)
|
4253
4253
|
return null;
|
4254
4254
|
const a = new U(r, i);
|
@@ -4672,7 +4672,7 @@ class B {
|
|
4672
4672
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
4673
4673
|
}
|
4674
4674
|
static async _fromIdTokenResponse(e, t, r, i = !1) {
|
4675
|
-
const s = await y._fromIdTokenResponse(e, r, i), a =
|
4675
|
+
const s = await y._fromIdTokenResponse(e, r, i), a = Rt(r);
|
4676
4676
|
return new B({
|
4677
4677
|
user: s,
|
4678
4678
|
providerId: a,
|
@@ -4686,7 +4686,7 @@ class B {
|
|
4686
4686
|
/* reload */
|
4687
4687
|
!0
|
4688
4688
|
);
|
4689
|
-
const i =
|
4689
|
+
const i = Rt(r);
|
4690
4690
|
return new B({
|
4691
4691
|
user: e,
|
4692
4692
|
providerId: i,
|
@@ -4695,7 +4695,7 @@ class B {
|
|
4695
4695
|
});
|
4696
4696
|
}
|
4697
4697
|
}
|
4698
|
-
function
|
4698
|
+
function Rt(n) {
|
4699
4699
|
return n.providerId ? n.providerId : "phoneNumber" in n ? "phone" : null;
|
4700
4700
|
}
|
4701
4701
|
/**
|
@@ -4714,10 +4714,10 @@ function kt(n) {
|
|
4714
4714
|
* See the License for the specific language governing permissions and
|
4715
4715
|
* limitations under the License.
|
4716
4716
|
*/
|
4717
|
-
class
|
4717
|
+
class fe extends M {
|
4718
4718
|
constructor(e, t, r, i) {
|
4719
4719
|
var s;
|
4720
|
-
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this,
|
4720
|
+
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, fe.prototype), this.customData = {
|
4721
4721
|
appName: e.name,
|
4722
4722
|
tenantId: (s = e.tenantId) !== null && s !== void 0 ? s : void 0,
|
4723
4723
|
_serverResponse: t.customData._serverResponse,
|
@@ -4725,12 +4725,12 @@ class me extends M {
|
|
4725
4725
|
};
|
4726
4726
|
}
|
4727
4727
|
static _fromErrorAndOperation(e, t, r, i) {
|
4728
|
-
return new
|
4728
|
+
return new fe(e, t, r, i);
|
4729
4729
|
}
|
4730
4730
|
}
|
4731
4731
|
function En(n, e, t, r) {
|
4732
4732
|
return (e === "reauthenticate" ? t._getReauthenticationResolver(n) : t._getIdTokenResponse(n)).catch((s) => {
|
4733
|
-
throw s.code === "auth/multi-factor-auth-required" ?
|
4733
|
+
throw s.code === "auth/multi-factor-auth-required" ? fe._fromErrorAndOperation(n, s, e, r) : s;
|
4734
4734
|
});
|
4735
4735
|
}
|
4736
4736
|
async function gs(n, e, t = !1) {
|
@@ -4766,7 +4766,7 @@ async function vs(n, e, t = !1) {
|
|
4766
4766
|
"internal-error"
|
4767
4767
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4768
4768
|
);
|
4769
|
-
const a =
|
4769
|
+
const a = Xe(s.idToken);
|
4770
4770
|
u(
|
4771
4771
|
a,
|
4772
4772
|
r,
|
@@ -4918,7 +4918,7 @@ class Tn {
|
|
4918
4918
|
* See the License for the specific language governing permissions and
|
4919
4919
|
* limitations under the License.
|
4920
4920
|
*/
|
4921
|
-
const ws = 1e3,
|
4921
|
+
const ws = 1e3, Rs = 10;
|
4922
4922
|
class wn extends Tn {
|
4923
4923
|
constructor() {
|
4924
4924
|
super(
|
@@ -4946,7 +4946,7 @@ class wn extends Tn {
|
|
4946
4946
|
const a = this.storage.getItem(r);
|
4947
4947
|
!t && this.localCache[r] === a || this.notifyListeners(r, a);
|
4948
4948
|
}, s = this.storage.getItem(r);
|
4949
|
-
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i,
|
4949
|
+
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, Rs) : i();
|
4950
4950
|
}
|
4951
4951
|
notifyListeners(e, t) {
|
4952
4952
|
this.localCache[e] = t;
|
@@ -4998,7 +4998,7 @@ class wn extends Tn {
|
|
4998
4998
|
}
|
4999
4999
|
}
|
5000
5000
|
wn.type = "LOCAL";
|
5001
|
-
const
|
5001
|
+
const ks = wn;
|
5002
5002
|
/**
|
5003
5003
|
* @license
|
5004
5004
|
* Copyright 2020 Google LLC
|
@@ -5015,7 +5015,7 @@ const Rs = wn;
|
|
5015
5015
|
* See the License for the specific language governing permissions and
|
5016
5016
|
* limitations under the License.
|
5017
5017
|
*/
|
5018
|
-
class
|
5018
|
+
class Rn extends Tn {
|
5019
5019
|
constructor() {
|
5020
5020
|
super(
|
5021
5021
|
() => window.sessionStorage,
|
@@ -5028,8 +5028,8 @@ class kn extends Tn {
|
|
5028
5028
|
_removeListener(e, t) {
|
5029
5029
|
}
|
5030
5030
|
}
|
5031
|
-
|
5032
|
-
const
|
5031
|
+
Rn.type = "SESSION";
|
5032
|
+
const kn = Rn;
|
5033
5033
|
/**
|
5034
5034
|
* @license
|
5035
5035
|
* Copyright 2019 Google LLC
|
@@ -5229,9 +5229,9 @@ class As {
|
|
5229
5229
|
a = {
|
5230
5230
|
messageChannel: i,
|
5231
5231
|
onMessage(h) {
|
5232
|
-
const
|
5233
|
-
if (
|
5234
|
-
switch (
|
5232
|
+
const m = h;
|
5233
|
+
if (m.data.eventId === l)
|
5234
|
+
switch (m.data.status) {
|
5235
5235
|
case "ack":
|
5236
5236
|
clearTimeout(d), s = setTimeout(
|
5237
5237
|
() => {
|
@@ -5245,7 +5245,7 @@ class As {
|
|
5245
5245
|
);
|
5246
5246
|
break;
|
5247
5247
|
case "done":
|
5248
|
-
clearTimeout(s), c(
|
5248
|
+
clearTimeout(s), c(m.data.response);
|
5249
5249
|
break;
|
5250
5250
|
default:
|
5251
5251
|
clearTimeout(d), clearTimeout(s), o(new Error(
|
@@ -5315,11 +5315,11 @@ async function Cs() {
|
|
5315
5315
|
return null;
|
5316
5316
|
}
|
5317
5317
|
}
|
5318
|
-
function
|
5318
|
+
function Ns() {
|
5319
5319
|
var n;
|
5320
5320
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
5321
5321
|
}
|
5322
|
-
function
|
5322
|
+
function Ds() {
|
5323
5323
|
return Sn() ? self : null;
|
5324
5324
|
}
|
5325
5325
|
/**
|
@@ -5360,7 +5360,7 @@ function Ms() {
|
|
5360
5360
|
const n = indexedDB.deleteDatabase(An);
|
5361
5361
|
return new re(n).toPromise();
|
5362
5362
|
}
|
5363
|
-
function
|
5363
|
+
function Ge() {
|
5364
5364
|
const n = indexedDB.open(An, Ps);
|
5365
5365
|
return new Promise((e, t) => {
|
5366
5366
|
n.addEventListener("error", () => {
|
@@ -5374,11 +5374,11 @@ function Ve() {
|
|
5374
5374
|
}
|
5375
5375
|
}), n.addEventListener("success", async () => {
|
5376
5376
|
const r = n.result;
|
5377
|
-
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await
|
5377
|
+
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await Ge()));
|
5378
5378
|
});
|
5379
5379
|
});
|
5380
5380
|
}
|
5381
|
-
async function
|
5381
|
+
async function kt(n, e, t) {
|
5382
5382
|
const r = ye(n, !0).put({
|
5383
5383
|
[On]: e,
|
5384
5384
|
value: t
|
@@ -5401,7 +5401,7 @@ class Cn {
|
|
5401
5401
|
});
|
5402
5402
|
}
|
5403
5403
|
async _openDb() {
|
5404
|
-
return this.db ? this.db : (this.db = await
|
5404
|
+
return this.db ? this.db : (this.db = await Ge(), this.db);
|
5405
5405
|
}
|
5406
5406
|
async _withRetries(e) {
|
5407
5407
|
let t = 0;
|
@@ -5426,7 +5426,7 @@ class Cn {
|
|
5426
5426
|
* As the worker we should listen to events from the main window.
|
5427
5427
|
*/
|
5428
5428
|
async initializeReceiver() {
|
5429
|
-
this.receiver = be._getInstance(
|
5429
|
+
this.receiver = be._getInstance(Ds()), this.receiver._subscribe("keyChanged", async (e, t) => ({
|
5430
5430
|
keyProcessed: (await this._poll()).includes(t.key)
|
5431
5431
|
})), this.receiver._subscribe("ping", async (e, t) => [
|
5432
5432
|
"keyChanged"
|
@@ -5466,7 +5466,7 @@ class Cn {
|
|
5466
5466
|
* @param key - Storage key which changed.
|
5467
5467
|
*/
|
5468
5468
|
async notifyServiceWorker(e) {
|
5469
|
-
if (!(!this.sender || !this.activeServiceWorker ||
|
5469
|
+
if (!(!this.sender || !this.activeServiceWorker || Ns() !== this.activeServiceWorker))
|
5470
5470
|
try {
|
5471
5471
|
await this.sender._send(
|
5472
5472
|
"keyChanged",
|
@@ -5482,8 +5482,8 @@ class Cn {
|
|
5482
5482
|
try {
|
5483
5483
|
if (!indexedDB)
|
5484
5484
|
return !1;
|
5485
|
-
const e = await
|
5486
|
-
return await
|
5485
|
+
const e = await Ge();
|
5486
|
+
return await kt(e, _e, "1"), await St(e, _e), !0;
|
5487
5487
|
} catch {
|
5488
5488
|
}
|
5489
5489
|
return !1;
|
@@ -5497,7 +5497,7 @@ class Cn {
|
|
5497
5497
|
}
|
5498
5498
|
}
|
5499
5499
|
async _set(e, t) {
|
5500
|
-
return this._withPendingWrite(async () => (await this._withRetries((r) =>
|
5500
|
+
return this._withPendingWrite(async () => (await this._withRetries((r) => kt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
|
5501
5501
|
}
|
5502
5502
|
async _get(e) {
|
5503
5503
|
const t = await this._withRetries((r) => Ls(r, e));
|
@@ -5616,10 +5616,10 @@ class et extends bn {
|
|
5616
5616
|
return e && (t.idToken = e), t;
|
5617
5617
|
}
|
5618
5618
|
}
|
5619
|
-
function
|
5619
|
+
function Hs(n) {
|
5620
5620
|
return Is(n.auth, new et(n), n.bypassAuthState);
|
5621
5621
|
}
|
5622
|
-
function
|
5622
|
+
function Vs(n) {
|
5623
5623
|
const { auth: e, user: t } = n;
|
5624
5624
|
return u(
|
5625
5625
|
t,
|
@@ -5628,7 +5628,7 @@ function Hs(n) {
|
|
5628
5628
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5629
5629
|
), vs(t, new et(n), n.bypassAuthState);
|
5630
5630
|
}
|
5631
|
-
async function
|
5631
|
+
async function Gs(n) {
|
5632
5632
|
const { auth: e, user: t } = n;
|
5633
5633
|
return u(
|
5634
5634
|
t,
|
@@ -5653,7 +5653,7 @@ async function Vs(n) {
|
|
5653
5653
|
* See the License for the specific language governing permissions and
|
5654
5654
|
* limitations under the License.
|
5655
5655
|
*/
|
5656
|
-
class
|
5656
|
+
class Nn {
|
5657
5657
|
constructor(e, t, r, i, s = !1) {
|
5658
5658
|
this.auth = e, this.resolver = r, this.user = i, this.bypassAuthState = s, this.pendingPromise = null, this.eventManager = null, this.filter = Array.isArray(t) ? t : [t];
|
5659
5659
|
}
|
@@ -5695,13 +5695,13 @@ class Dn {
|
|
5695
5695
|
switch (e) {
|
5696
5696
|
case "signInViaPopup":
|
5697
5697
|
case "signInViaRedirect":
|
5698
|
-
return
|
5698
|
+
return Hs;
|
5699
5699
|
case "linkViaPopup":
|
5700
5700
|
case "linkViaRedirect":
|
5701
|
-
return
|
5701
|
+
return Gs;
|
5702
5702
|
case "reauthViaPopup":
|
5703
5703
|
case "reauthViaRedirect":
|
5704
|
-
return
|
5704
|
+
return Vs;
|
5705
5705
|
default:
|
5706
5706
|
w(
|
5707
5707
|
this.auth,
|
@@ -5711,10 +5711,10 @@ class Dn {
|
|
5711
5711
|
}
|
5712
5712
|
}
|
5713
5713
|
resolve(e) {
|
5714
|
-
|
5714
|
+
R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
|
5715
5715
|
}
|
5716
5716
|
reject(e) {
|
5717
|
-
|
5717
|
+
R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
|
5718
5718
|
}
|
5719
5719
|
unregisterAndCleanUp() {
|
5720
5720
|
this.eventManager && this.eventManager.unregisterConsumer(this), this.pendingPromise = null, this.cleanUp();
|
@@ -5737,7 +5737,7 @@ class Dn {
|
|
5737
5737
|
* limitations under the License.
|
5738
5738
|
*/
|
5739
5739
|
const js = new te(2e3, 1e4);
|
5740
|
-
class x extends
|
5740
|
+
class x extends Nn {
|
5741
5741
|
constructor(e, t, r, i, s) {
|
5742
5742
|
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
|
5743
5743
|
}
|
@@ -5751,7 +5751,7 @@ class x extends Dn {
|
|
5751
5751
|
), e;
|
5752
5752
|
}
|
5753
5753
|
async onExecution() {
|
5754
|
-
|
5754
|
+
R(this.filter.length === 1, "Popup operations only handle one event");
|
5755
5755
|
const e = Qe();
|
5756
5756
|
this.authWindow = await this.resolver._openPopup(
|
5757
5757
|
this.auth,
|
@@ -5823,7 +5823,7 @@ x.currentPopupAction = null;
|
|
5823
5823
|
* limitations under the License.
|
5824
5824
|
*/
|
5825
5825
|
const Ws = "pendingRedirect", oe = /* @__PURE__ */ new Map();
|
5826
|
-
class zs extends
|
5826
|
+
class zs extends Nn {
|
5827
5827
|
constructor(e, t, r = !1) {
|
5828
5828
|
super(e, [
|
5829
5829
|
"signInViaRedirect",
|
@@ -5841,7 +5841,7 @@ class zs extends Dn {
|
|
5841
5841
|
let e = oe.get(this.auth._key());
|
5842
5842
|
if (!e) {
|
5843
5843
|
try {
|
5844
|
-
const r = await
|
5844
|
+
const r = await $s(this.resolver, this.auth) ? await super.execute() : null;
|
5845
5845
|
e = () => Promise.resolve(r);
|
5846
5846
|
} catch (t) {
|
5847
5847
|
e = () => Promise.reject(t);
|
@@ -5869,23 +5869,23 @@ class zs extends Dn {
|
|
5869
5869
|
cleanUp() {
|
5870
5870
|
}
|
5871
5871
|
}
|
5872
|
-
async function
|
5873
|
-
const t =
|
5872
|
+
async function $s(n, e) {
|
5873
|
+
const t = Ys(e), r = Js(n);
|
5874
5874
|
if (!await r._isAvailable())
|
5875
5875
|
return !1;
|
5876
5876
|
const i = await r._get(t) === "true";
|
5877
5877
|
return await r._remove(t), i;
|
5878
5878
|
}
|
5879
|
-
function
|
5879
|
+
function Zs(n, e) {
|
5880
5880
|
oe.set(n._key(), e);
|
5881
5881
|
}
|
5882
5882
|
function Js(n) {
|
5883
5883
|
return E(n._redirectPersistence);
|
5884
5884
|
}
|
5885
|
-
function
|
5885
|
+
function Ys(n) {
|
5886
5886
|
return ae(Ws, n.config.apiKey, n.name);
|
5887
5887
|
}
|
5888
|
-
async function
|
5888
|
+
async function Xs(n, e, t = !1) {
|
5889
5889
|
if (I(n.app))
|
5890
5890
|
return Promise.reject(P(n));
|
5891
5891
|
const r = Ie(n), i = xs(r, e), a = await new zs(r, i, t).execute();
|
@@ -5928,7 +5928,7 @@ class qs {
|
|
5928
5928
|
}
|
5929
5929
|
sendToConsumer(e, t) {
|
5930
5930
|
var r;
|
5931
|
-
if (e.error && !
|
5931
|
+
if (e.error && !Dn(e)) {
|
5932
5932
|
const i = ((r = e.error.code) === null || r === void 0 ? void 0 : r.split("auth/")[1]) || "internal-error";
|
5933
5933
|
t.onError(_(this.auth, i));
|
5934
5934
|
} else
|
@@ -5948,7 +5948,7 @@ class qs {
|
|
5948
5948
|
function At(n) {
|
5949
5949
|
return [n.type, n.eventId, n.sessionId, n.tenantId].filter((e) => e).join("-");
|
5950
5950
|
}
|
5951
|
-
function
|
5951
|
+
function Dn({ type: n, error: e }) {
|
5952
5952
|
return n === "unknown" && (e == null ? void 0 : e.code) === "auth/no-auth-event";
|
5953
5953
|
}
|
5954
5954
|
function Qs(n) {
|
@@ -5958,7 +5958,7 @@ function Qs(n) {
|
|
5958
5958
|
case "reauthViaRedirect":
|
5959
5959
|
return !0;
|
5960
5960
|
case "unknown":
|
5961
|
-
return
|
5961
|
+
return Dn(n);
|
5962
5962
|
default:
|
5963
5963
|
return !1;
|
5964
5964
|
}
|
@@ -5980,7 +5980,7 @@ function Qs(n) {
|
|
5980
5980
|
* limitations under the License.
|
5981
5981
|
*/
|
5982
5982
|
async function ea(n, e = {}) {
|
5983
|
-
return
|
5983
|
+
return $(n, "GET", "/v1/projects", e);
|
5984
5984
|
}
|
5985
5985
|
/**
|
5986
5986
|
* @license
|
@@ -6016,7 +6016,7 @@ async function ra(n) {
|
|
6016
6016
|
);
|
6017
6017
|
}
|
6018
6018
|
function ia(n) {
|
6019
|
-
const e =
|
6019
|
+
const e = He(), { protocol: t, hostname: r } = new URL(e);
|
6020
6020
|
if (n.startsWith("chrome-extension://")) {
|
6021
6021
|
const a = new URL(n);
|
6022
6022
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
@@ -6133,7 +6133,7 @@ function pa(n) {
|
|
6133
6133
|
"auth-domain-config-required"
|
6134
6134
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
6135
6135
|
);
|
6136
|
-
const t = e.emulator ?
|
6136
|
+
const t = e.emulator ? Ye(e, da) : `https://${n.config.authDomain}/${la}`, r = {
|
6137
6137
|
apiKey: e.apiKey,
|
6138
6138
|
appName: n.name,
|
6139
6139
|
v: ee
|
@@ -6142,7 +6142,7 @@ function pa(n) {
|
|
6142
6142
|
const s = n._getFrameworks();
|
6143
6143
|
return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
|
6144
6144
|
}
|
6145
|
-
async function
|
6145
|
+
async function ma(n) {
|
6146
6146
|
const e = await oa(n), t = g().gapi;
|
6147
6147
|
return u(
|
6148
6148
|
t,
|
@@ -6191,7 +6191,7 @@ async function fa(n) {
|
|
6191
6191
|
* See the License for the specific language governing permissions and
|
6192
6192
|
* limitations under the License.
|
6193
6193
|
*/
|
6194
|
-
const
|
6194
|
+
const fa = {
|
6195
6195
|
location: "yes",
|
6196
6196
|
resizable: "yes",
|
6197
6197
|
statusbar: "yes",
|
@@ -6212,14 +6212,14 @@ class Ct {
|
|
6212
6212
|
function ba(n, e, t, r = _a, i = ga) {
|
6213
6213
|
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
6214
6214
|
let c = "";
|
6215
|
-
const o = Object.assign(Object.assign({},
|
6215
|
+
const o = Object.assign(Object.assign({}, fa), {
|
6216
6216
|
width: r.toString(),
|
6217
6217
|
height: i.toString(),
|
6218
6218
|
top: s,
|
6219
6219
|
left: a
|
6220
|
-
}), l =
|
6220
|
+
}), l = f().toLowerCase();
|
6221
6221
|
t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
|
6222
|
-
const d = Object.entries(o).reduce((
|
6222
|
+
const d = Object.entries(o).reduce((m, [v, F]) => `${m}${v}=${F},`, "");
|
6223
6223
|
if (es(l) && c !== "_self")
|
6224
6224
|
return ya(e || "", c), new Ct(null);
|
6225
6225
|
const h = window.open(e || "", c, d);
|
@@ -6258,7 +6258,7 @@ function ya(n, e) {
|
|
6258
6258
|
* limitations under the License.
|
6259
6259
|
*/
|
6260
6260
|
const Ea = "__/auth/handler", Ta = "emulator/auth/handler", wa = encodeURIComponent("fac");
|
6261
|
-
async function
|
6261
|
+
async function Nt(n, e, t, r, i, s) {
|
6262
6262
|
u(
|
6263
6263
|
n.config.authDomain,
|
6264
6264
|
n,
|
@@ -6292,10 +6292,10 @@ async function Dt(n, e, t, r, i, s) {
|
|
6292
6292
|
for (const d of Object.keys(c))
|
6293
6293
|
c[d] === void 0 && delete c[d];
|
6294
6294
|
const o = await n._getAppCheckToken(), l = o ? `#${wa}=${encodeURIComponent(o)}` : "";
|
6295
|
-
return `${
|
6295
|
+
return `${Ra(n)}?${Q(c).slice(1)}${l}`;
|
6296
6296
|
}
|
6297
|
-
function
|
6298
|
-
return n.emulator ?
|
6297
|
+
function Ra({ config: n }) {
|
6298
|
+
return n.emulator ? Ye(n, Ta) : `https://${n.authDomain}/${Ea}`;
|
6299
6299
|
}
|
6300
6300
|
/**
|
6301
6301
|
* @license
|
@@ -6313,22 +6313,22 @@ function ka({ config: n }) {
|
|
6313
6313
|
* See the License for the specific language governing permissions and
|
6314
6314
|
* limitations under the License.
|
6315
6315
|
*/
|
6316
|
-
const
|
6317
|
-
class
|
6316
|
+
const De = "webStorageSupport";
|
6317
|
+
class ka {
|
6318
6318
|
constructor() {
|
6319
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence =
|
6319
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Xs, this._overrideRedirectResult = Zs;
|
6320
6320
|
}
|
6321
6321
|
// Wrapping in async even though we don't await anywhere in order
|
6322
6322
|
// to make sure errors are raised as promise rejections
|
6323
6323
|
async _openPopup(e, t, r, i) {
|
6324
6324
|
var s;
|
6325
|
-
|
6326
|
-
const a = await
|
6325
|
+
R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6326
|
+
const a = await Nt(e, t, r, He(), i);
|
6327
6327
|
return ba(e, a, Qe());
|
6328
6328
|
}
|
6329
6329
|
async _openRedirect(e, t, r, i) {
|
6330
6330
|
await this._originValidation(e);
|
6331
|
-
const s = await
|
6331
|
+
const s = await Nt(e, t, r, He(), i);
|
6332
6332
|
return Os(s), new Promise(() => {
|
6333
6333
|
});
|
6334
6334
|
}
|
@@ -6336,7 +6336,7 @@ class Ra {
|
|
6336
6336
|
const t = e._key();
|
6337
6337
|
if (this.eventManagers[t]) {
|
6338
6338
|
const { manager: i, promise: s } = this.eventManagers[t];
|
6339
|
-
return i ? Promise.resolve(i) : (
|
6339
|
+
return i ? Promise.resolve(i) : (R(s, "If manager is not set, promise should be"), s);
|
6340
6340
|
}
|
6341
6341
|
const r = this.initAndGetManager(e);
|
6342
6342
|
return this.eventManagers[t] = { promise: r }, r.catch(() => {
|
@@ -6344,7 +6344,7 @@ class Ra {
|
|
6344
6344
|
}), r;
|
6345
6345
|
}
|
6346
6346
|
async initAndGetManager(e) {
|
6347
|
-
const t = await
|
6347
|
+
const t = await ma(e), r = new qs(e);
|
6348
6348
|
return t.register("authEvent", (i) => (u(
|
6349
6349
|
i == null ? void 0 : i.authEvent,
|
6350
6350
|
e,
|
@@ -6356,9 +6356,9 @@ class Ra {
|
|
6356
6356
|
}), gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER), this.eventManagers[e._key()] = { manager: r }, this.iframes[e._key()] = t, r;
|
6357
6357
|
}
|
6358
6358
|
_isIframeWebStorageSupported(e, t) {
|
6359
|
-
this.iframes[e._key()].send(
|
6359
|
+
this.iframes[e._key()].send(De, { type: De }, (i) => {
|
6360
6360
|
var s;
|
6361
|
-
const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[
|
6361
|
+
const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[De];
|
6362
6362
|
a !== void 0 && t(!!a), w(
|
6363
6363
|
e,
|
6364
6364
|
"internal-error"
|
@@ -6374,8 +6374,8 @@ class Ra {
|
|
6374
6374
|
return gn() || un() || Ke();
|
6375
6375
|
}
|
6376
6376
|
}
|
6377
|
-
const Sa =
|
6378
|
-
var
|
6377
|
+
const Sa = ka;
|
6378
|
+
var Dt = "@firebase/auth", Pt = "1.7.9";
|
6379
6379
|
/**
|
6380
6380
|
* @license
|
6381
6381
|
* Copyright 2020 Google LLC
|
@@ -6460,7 +6460,7 @@ function Oa(n) {
|
|
6460
6460
|
}
|
6461
6461
|
}
|
6462
6462
|
function Ca(n) {
|
6463
|
-
|
6463
|
+
Y(new W(
|
6464
6464
|
"auth",
|
6465
6465
|
(e, { options: t }) => {
|
6466
6466
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
|
@@ -6486,7 +6486,7 @@ function Ca(n) {
|
|
6486
6486
|
"auth-internal"
|
6487
6487
|
/* _ComponentName.AUTH_INTERNAL */
|
6488
6488
|
).initialize();
|
6489
|
-
})),
|
6489
|
+
})), Y(new W(
|
6490
6490
|
"auth-internal",
|
6491
6491
|
(e) => {
|
6492
6492
|
const t = Ie(e.getProvider(
|
@@ -6500,7 +6500,7 @@ function Ca(n) {
|
|
6500
6500
|
).setInstantiationMode(
|
6501
6501
|
"EXPLICIT"
|
6502
6502
|
/* InstantiationMode.EXPLICIT */
|
6503
|
-
)),
|
6503
|
+
)), H(Dt, Pt, Oa(n)), H(Dt, Pt, "esm2017");
|
6504
6504
|
}
|
6505
6505
|
/**
|
6506
6506
|
* @license
|
@@ -6518,11 +6518,11 @@ function Ca(n) {
|
|
6518
6518
|
* See the License for the specific language governing permissions and
|
6519
6519
|
* limitations under the License.
|
6520
6520
|
*/
|
6521
|
-
const
|
6521
|
+
const Na = 5 * 60, Da = zt("authIdTokenMaxAge") || Na;
|
6522
6522
|
let Mt = null;
|
6523
6523
|
const Pa = (n) => async (e) => {
|
6524
6524
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
6525
|
-
if (r && r >
|
6525
|
+
if (r && r > Da)
|
6526
6526
|
return;
|
6527
6527
|
const i = t == null ? void 0 : t.token;
|
6528
6528
|
Mt !== i && (Mt = i, await fetch(n, {
|
@@ -6532,16 +6532,16 @@ const Pa = (n) => async (e) => {
|
|
6532
6532
|
} : {}
|
6533
6533
|
}));
|
6534
6534
|
};
|
6535
|
-
function Ma(n =
|
6536
|
-
const e =
|
6535
|
+
function Ma(n = ki()) {
|
6536
|
+
const e = Yt(n, "auth");
|
6537
6537
|
if (e.isInitialized())
|
6538
6538
|
return e.getImmediate();
|
6539
6539
|
const t = us(n, {
|
6540
6540
|
popupRedirectResolver: Sa,
|
6541
6541
|
persistence: [
|
6542
6542
|
Fs,
|
6543
|
-
|
6544
|
-
|
6543
|
+
ks,
|
6544
|
+
kn
|
6545
6545
|
]
|
6546
6546
|
}), r = zt("authTokenSyncURL");
|
6547
6547
|
if (r && typeof isSecureContext == "boolean" && isSecureContext) {
|
@@ -6593,18 +6593,18 @@ Ua.beforeEach(async (n) => {
|
|
6593
6593
|
changeRestaurant: s
|
6594
6594
|
} = je();
|
6595
6595
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
|
6596
|
-
const c =
|
6596
|
+
const c = Z(e, (o) => {
|
6597
6597
|
var l;
|
6598
6598
|
o && (c(), a(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
|
6599
6599
|
});
|
6600
6600
|
})), Pe) : !r.value || !t.value ? (Me || (Me = Promise.all([
|
6601
6601
|
new Promise(async (a) => {
|
6602
|
-
const c =
|
6602
|
+
const c = Z(r, (o) => {
|
6603
6603
|
o && (c(), a(!0));
|
6604
6604
|
});
|
6605
6605
|
}),
|
6606
6606
|
new Promise(async (a) => {
|
6607
|
-
const c =
|
6607
|
+
const c = Z(t, (l) => {
|
6608
6608
|
l && (c(), a(!0));
|
6609
6609
|
}), o = await i();
|
6610
6610
|
await s(o == null ? void 0 : o.at(0));
|
@@ -6615,13 +6615,13 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6615
6615
|
__name: "AppSidebar",
|
6616
6616
|
setup(n) {
|
6617
6617
|
const e = je(), t = Bn(), { t: r } = Wn(), i = xn(t.currentRoute.value.name);
|
6618
|
-
|
6618
|
+
Z(t.currentRoute, () => {
|
6619
6619
|
let l = t.currentRoute.value.name;
|
6620
6620
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6621
6621
|
});
|
6622
6622
|
const s = We.map((l) => {
|
6623
|
-
var
|
6624
|
-
if (!((
|
6623
|
+
var m;
|
6624
|
+
if (!((m = l.meta) != null && m.sidebarDisplay))
|
6625
6625
|
return;
|
6626
6626
|
const d = l.meta.sidebarDisplay, h = {
|
6627
6627
|
label: d.startsWith("i18n:") ? r(d.replaceAll("i18n:", "")) : d,
|
@@ -6631,7 +6631,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6631
6631
|
return t.push({ name: l.name });
|
6632
6632
|
}
|
6633
6633
|
};
|
6634
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6634
|
+
return l.meta.sidebarNew && (h.badge = () => Hn($n.FmPill, { label: "New" })), h;
|
6635
6635
|
}).filter((l) => !!l), a = le.map((l) => {
|
6636
6636
|
var d;
|
6637
6637
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6690,7 +6690,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6690
6690
|
const h = Bt("FmCollapsibleTabs");
|
6691
6691
|
return Ft(), xt(h, {
|
6692
6692
|
modelValue: i.value,
|
6693
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
6693
|
+
"onUpdate:modelValue": d[0] || (d[0] = (m) => i.value = m),
|
6694
6694
|
items: o.value,
|
6695
6695
|
class: "py-16 px-8 w-[240px]"
|
6696
6696
|
}, null, 8, ["modelValue", "items"]);
|
@@ -6698,19 +6698,19 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6698
6698
|
}
|
6699
6699
|
});
|
6700
6700
|
var Fa = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com" };
|
6701
|
-
const
|
6701
|
+
const $a = /* @__PURE__ */ Ut({
|
6702
6702
|
__name: "App",
|
6703
6703
|
setup(n) {
|
6704
|
-
const { state: e } = sr(), t = je(), r = Fn(), i =
|
6704
|
+
const { state: e } = sr(), t = je(), r = Fn(), i = Xt(Fa.firebase);
|
6705
6705
|
async function s() {
|
6706
6706
|
const a = t.sessionUser.value;
|
6707
6707
|
if (!a || !a.token) return;
|
6708
6708
|
const c = await a.getCustomToken(), o = Ma(i);
|
6709
6709
|
await ys(o, c);
|
6710
6710
|
}
|
6711
|
-
return s(),
|
6711
|
+
return s(), Z(t.sessionUser, s), Vn(() => {
|
6712
6712
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6713
|
-
}),
|
6713
|
+
}), Gn(() => {
|
6714
6714
|
t.registerSidebarComponent(Ba);
|
6715
6715
|
}), (a, c) => {
|
6716
6716
|
const o = Bt("RouterView");
|
@@ -6719,7 +6719,7 @@ const Za = /* @__PURE__ */ Ut({
|
|
6719
6719
|
});
|
6720
6720
|
};
|
6721
6721
|
}
|
6722
|
-
}),
|
6722
|
+
}), Za = {
|
6723
6723
|
"en-US": qn,
|
6724
6724
|
"zh-CN": ir
|
6725
6725
|
}, Ja = [...le, ...We];
|
@@ -6727,15 +6727,15 @@ export {
|
|
6727
6727
|
W as C,
|
6728
6728
|
M as F,
|
6729
6729
|
ee as S,
|
6730
|
-
|
6731
|
-
|
6730
|
+
Y as _,
|
6731
|
+
Yt as a,
|
6732
6732
|
Wa as b,
|
6733
|
-
|
6733
|
+
ki as c,
|
6734
6734
|
za as d,
|
6735
6735
|
gt as e,
|
6736
6736
|
Ja as f,
|
6737
6737
|
z as g,
|
6738
|
-
|
6739
|
-
|
6740
|
-
|
6738
|
+
$a as h,
|
6739
|
+
Za as i,
|
6740
|
+
H as r
|
6741
6741
|
};
|