@feedmepos/mf-payment 1.1.3 → 1.1.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-R63Nclyl.js → PayoutAccount-D1FdkkEB.js} +3 -3
- package/dist/{PayoutAccount-QN56UYcn.js → PayoutAccount-DyNM5jJq.js} +5 -5
- package/dist/{PayoutAccountSetting-BZLLqj9W.js → PayoutAccountSetting-BHu0tltk.js} +3 -3
- package/dist/{Restaurant-DPtLZz_t.js → Restaurant-B0jj-feX.js} +4 -4
- package/dist/{RestaurantSetting-BKEXfi-2.js → RestaurantSetting-Xc0315pb.js} +3 -3
- package/dist/{Settlement-FrNSATfN.js → Settlement-CHzijt6f.js} +3 -3
- package/dist/{Settlement-C9XlPvOC.js → Settlement-CzgVFFOR.js} +3 -3
- package/dist/{SettlementTransactions-B97pfd3e.js → SettlementTransactions-Dy2RhINp.js} +3 -3
- package/dist/{SettlementTransactions-vIaQzZLb.js → SettlementTransactions-aXV-F0pq.js} +3 -3
- package/dist/{Terminal-CJNtq_6a.js → Terminal-D7xiQWl_.js} +5 -5
- package/dist/{TerminalSetting-CZz6PeyG.js → TerminalSetting-CWeUuXae.js} +3 -3
- package/dist/{Transaction-DYXeI4Ja.js → Transaction-CoywkBWq.js} +6 -6
- package/dist/{Transaction-C0sBCFLp.js → Transaction-wOv5gZLF.js} +69 -64
- package/dist/{TransactionOld-BbmFHV9b.js → TransactionOld-DxBgAdY3.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-B2WaeKlW.js → TransactionTable.vue_vue_type_script_setup_true_lang-CqsLOwBR.js} +3 -3
- package/dist/{app-BZBrPMGI.js → app-DHXjFYAA.js} +270 -270
- package/dist/app.js +1 -1
- package/dist/{assets-DK8qcvvE.js → assets-BoIaLJKv.js} +4 -6
- package/dist/components/CursorTable/index.vue.d.ts +3 -3
- package/dist/components/PagingTable/index.vue.d.ts +3 -3
- package/dist/{grafana-D9CUCenW.js → grafana-BbID9mKu.js} +8 -8
- package/dist/{index-1ek_J3MH.js → index-C9CuhJsa.js} +1 -1
- package/dist/{index-DzKrZEv8.js → index-CTAk5p0r.js} +1 -1
- package/dist/{index-CsecEOgx.js → index-DTpvCGlg.js} +1 -1
- package/dist/{index-BJG6JQZI.js → index-Dfv3QjcX.js} +7053 -6995
- package/dist/{index-c7WpvZdX.js → index-XH7vUgqJ.js} +1 -1
- package/dist/{index-Ba92Mso-.js → index-jgCYe5QM.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CrVUe88c.js → index.vue_vue_type_script_setup_true_lang-CGhB2AEC.js} +1 -1
- package/dist/model/payout-account.d.ts +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-DJwjD_DL.js → payout-account-Bkz4uMWL.js} +2 -2
- package/dist/stores/payoutAccount.d.ts +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +6 -6
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +6 -6
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +4 -4
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +4 -4
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +4 -4
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +12 -12
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +6 -6
- package/package.json +2 -2
@@ -1,6 +1,6 @@
|
|
1
|
-
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as
|
2
|
-
import { computed as Lt, watch as J, defineComponent as Ut, ref as
|
3
|
-
import { useCoreStore as
|
1
|
+
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as xn } from "vue-router";
|
2
|
+
import { computed as Lt, watch as J, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as xt, createBlock as Ft, h as Wn, onMounted as jn, onBeforeMount as Vn, unref as Hn } from "vue";
|
3
|
+
import { useCoreStore as He, useI18n as Gn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
5
|
import { components as $n } from "@feedmepos/ui-library";
|
6
6
|
const Jn = {
|
@@ -8,12 +8,12 @@ const Jn = {
|
|
8
8
|
restaurant: "Restaurant",
|
9
9
|
device: "Device",
|
10
10
|
payout_account: "Payout Account"
|
11
|
-
},
|
11
|
+
}, Xn = {
|
12
12
|
payout_account: "Payout Account",
|
13
13
|
transaction: "Transactions",
|
14
14
|
"transaction-new": "Transactions",
|
15
15
|
settlement: "Settlements"
|
16
|
-
},
|
16
|
+
}, Zn = {
|
17
17
|
title: "Settlements",
|
18
18
|
description: "Settlements are the finalization of financial transactions, transferring funds to complete payments.",
|
19
19
|
export: "Export",
|
@@ -143,8 +143,8 @@ const Jn = {
|
|
143
143
|
}
|
144
144
|
}, qn = {
|
145
145
|
components: Jn,
|
146
|
-
routes:
|
147
|
-
settlements:
|
146
|
+
routes: Xn,
|
147
|
+
settlements: Zn,
|
148
148
|
transactions: Yn,
|
149
149
|
payout_account: Kn
|
150
150
|
}, Qn = {
|
@@ -299,7 +299,7 @@ const Jn = {
|
|
299
299
|
sidebarDisplay: "Restaurants",
|
300
300
|
section: "payment-gateway"
|
301
301
|
},
|
302
|
-
component: () => import("./Restaurant-
|
302
|
+
component: () => import("./Restaurant-B0jj-feX.js")
|
303
303
|
},
|
304
304
|
{
|
305
305
|
path: "/admin/restaurants/:restaurantId",
|
@@ -308,7 +308,7 @@ const Jn = {
|
|
308
308
|
meta: {
|
309
309
|
parent: "mf-payment-admin.restaurant"
|
310
310
|
},
|
311
|
-
component: () => import("./RestaurantSetting-
|
311
|
+
component: () => import("./RestaurantSetting-Xc0315pb.js")
|
312
312
|
},
|
313
313
|
{
|
314
314
|
path: "/admin/payout-accounts",
|
@@ -317,7 +317,7 @@ const Jn = {
|
|
317
317
|
sidebarDisplay: "Payout Accounts",
|
318
318
|
section: "payment-gateway"
|
319
319
|
},
|
320
|
-
component: () => import("./PayoutAccount-
|
320
|
+
component: () => import("./PayoutAccount-DyNM5jJq.js")
|
321
321
|
},
|
322
322
|
{
|
323
323
|
path: "/admin/payout-accounts/:accountId",
|
@@ -326,7 +326,7 @@ const Jn = {
|
|
326
326
|
meta: {
|
327
327
|
parent: "mf-payment-admin.payout-account"
|
328
328
|
},
|
329
|
-
component: () => import("./PayoutAccountSetting-
|
329
|
+
component: () => import("./PayoutAccountSetting-BHu0tltk.js")
|
330
330
|
},
|
331
331
|
{
|
332
332
|
path: "/admin/terminal/pos",
|
@@ -335,7 +335,7 @@ const Jn = {
|
|
335
335
|
sidebarDisplay: "POS",
|
336
336
|
section: "device"
|
337
337
|
},
|
338
|
-
component: () => import("./Terminal-
|
338
|
+
component: () => import("./Terminal-D7xiQWl_.js"),
|
339
339
|
props: {
|
340
340
|
type: "POS"
|
341
341
|
}
|
@@ -347,7 +347,7 @@ const Jn = {
|
|
347
347
|
sidebarDisplay: "Kiosks",
|
348
348
|
section: "device"
|
349
349
|
},
|
350
|
-
component: () => import("./Terminal-
|
350
|
+
component: () => import("./Terminal-D7xiQWl_.js"),
|
351
351
|
props: {
|
352
352
|
type: "KIOSK"
|
353
353
|
}
|
@@ -359,7 +359,7 @@ const Jn = {
|
|
359
359
|
sidebarDisplay: "Terminals",
|
360
360
|
section: "device"
|
361
361
|
},
|
362
|
-
component: () => import("./Terminal-
|
362
|
+
component: () => import("./Terminal-D7xiQWl_.js"),
|
363
363
|
props: {
|
364
364
|
type: "TERMINAL"
|
365
365
|
}
|
@@ -371,7 +371,7 @@ const Jn = {
|
|
371
371
|
meta: {
|
372
372
|
parent: "mf-payment-admin.pos"
|
373
373
|
},
|
374
|
-
component: () => import("./TerminalSetting-
|
374
|
+
component: () => import("./TerminalSetting-CWeUuXae.js")
|
375
375
|
},
|
376
376
|
{
|
377
377
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -380,7 +380,7 @@ const Jn = {
|
|
380
380
|
meta: {
|
381
381
|
parent: "mf-payment-admin.kiosk"
|
382
382
|
},
|
383
|
-
component: () => import("./TerminalSetting-
|
383
|
+
component: () => import("./TerminalSetting-CWeUuXae.js")
|
384
384
|
},
|
385
385
|
{
|
386
386
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -389,7 +389,7 @@ const Jn = {
|
|
389
389
|
meta: {
|
390
390
|
parent: "mf-payment-admin.terminal"
|
391
391
|
},
|
392
|
-
component: () => import("./TerminalSetting-
|
392
|
+
component: () => import("./TerminalSetting-CWeUuXae.js")
|
393
393
|
},
|
394
394
|
{
|
395
395
|
path: "/admin/transaction",
|
@@ -397,7 +397,7 @@ const Jn = {
|
|
397
397
|
meta: {
|
398
398
|
sidebarDisplay: "Transactions"
|
399
399
|
},
|
400
|
-
component: () => import("./Transaction-
|
400
|
+
component: () => import("./Transaction-wOv5gZLF.js")
|
401
401
|
},
|
402
402
|
{
|
403
403
|
path: "/admin/settlement",
|
@@ -405,7 +405,7 @@ const Jn = {
|
|
405
405
|
meta: {
|
406
406
|
sidebarDisplay: "Settlements"
|
407
407
|
},
|
408
|
-
component: () => import("./Settlement-
|
408
|
+
component: () => import("./Settlement-CHzijt6f.js")
|
409
409
|
},
|
410
410
|
{
|
411
411
|
path: "/admin/settlement/:settlementId",
|
@@ -414,7 +414,7 @@ const Jn = {
|
|
414
414
|
meta: {
|
415
415
|
parent: "mf-payment-admin.settlement"
|
416
416
|
},
|
417
|
-
component: () => import("./SettlementTransactions-
|
417
|
+
component: () => import("./SettlementTransactions-Dy2RhINp.js")
|
418
418
|
}
|
419
419
|
], Ge = [
|
420
420
|
{
|
@@ -424,7 +424,7 @@ const Jn = {
|
|
424
424
|
{
|
425
425
|
path: "/payout-account",
|
426
426
|
name: "mf-payment-payout-account",
|
427
|
-
component: () => import("./PayoutAccount-
|
427
|
+
component: () => import("./PayoutAccount-D1FdkkEB.js"),
|
428
428
|
meta: {
|
429
429
|
sidebarDisplay: "i18n:routes.payout_account"
|
430
430
|
}
|
@@ -432,7 +432,7 @@ const Jn = {
|
|
432
432
|
{
|
433
433
|
path: "/transaction-old",
|
434
434
|
name: "mf-payment-old-transaction",
|
435
|
-
component: () => import("./TransactionOld-
|
435
|
+
component: () => import("./TransactionOld-DxBgAdY3.js"),
|
436
436
|
meta: {
|
437
437
|
sidebarDisplay: "i18n:routes.transaction"
|
438
438
|
}
|
@@ -440,7 +440,7 @@ const Jn = {
|
|
440
440
|
{
|
441
441
|
path: "/transaction",
|
442
442
|
name: "mf-payment-transaction",
|
443
|
-
component: () => import("./Transaction-
|
443
|
+
component: () => import("./Transaction-CoywkBWq.js"),
|
444
444
|
meta: {
|
445
445
|
sidebarDisplay: "i18n:routes.transaction-new",
|
446
446
|
sidebarNew: !0
|
@@ -449,7 +449,7 @@ const Jn = {
|
|
449
449
|
{
|
450
450
|
path: "/settlement",
|
451
451
|
name: "mf-payment-settlement",
|
452
|
-
component: () => import("./Settlement-
|
452
|
+
component: () => import("./Settlement-CzgVFFOR.js"),
|
453
453
|
meta: {
|
454
454
|
sidebarDisplay: "i18n:routes.settlement"
|
455
455
|
}
|
@@ -458,7 +458,7 @@ const Jn = {
|
|
458
458
|
path: "/settlement/:settlementId",
|
459
459
|
name: "mf-payment-settlement-transaction",
|
460
460
|
props: !0,
|
461
|
-
component: () => import("./SettlementTransactions-
|
461
|
+
component: () => import("./SettlementTransactions-aXV-F0pq.js"),
|
462
462
|
meta: {
|
463
463
|
parent: "mf-payment-settlement"
|
464
464
|
}
|
@@ -475,7 +475,7 @@ const Jn = {
|
|
475
475
|
init: t
|
476
476
|
};
|
477
477
|
});
|
478
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_09fd368c-82b5-4a65-9c71-b2d9aac4bab6", 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_09fd368c-82b5-4a65-9c71-b2d9aac4bab6", 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_HbK1VbKXtg03OvbsrRzrvvRFX5PYiT2T2Tf1", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "710", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "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:6561", GITHUB_WORKFLOW: "payment-mf-portal-prod", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14122767398", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "5a3038990f9e1edcadab8c012bcd7ca3aeb2812c", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-prod.yaml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6ODk1MDAzZDctOWZmOS00NmU3LTlkMzItMjg4MDIwM2E0NWFjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDA2IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46ODk1MDAzZDctOWZmOS00NmU3LTlkMzItMjg4MDIwM2E0NWFjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDA2IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiZDdjNmFlMzEtOWIyNC00NGU3LThkMjUtNjVjMGQ4NDJlOGEyIiwic2lkIjoiYWI1MTYyODQtYjNmZC00ZDM5LTg4NjUtNWVkZDc4YzA5MGQ4IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCI1YTMwMzg5OTBmOWUxZWRjYWRhYjhjMDEyYmNkN2NhM2FlYjI4MTJjXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjE0MTIyNzY3Mzk4XCIsXCJydW5fbnVtYmVyXCI6XCIzOVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCI1YTMwMzg5OTBmOWUxZWRjYWRhYjhjMDEyYmNkN2NhM2FlYjI4MTJjXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjVhMzAzODk5MGY5ZTFlZGNhZGFiOGMwMTJiY2Q3Y2EzYWViMjgxMmNcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiI4OTUwMDNkNy05ZmY5LTQ2ZTctOWQzMi0yODgwMjAzYTQ1YWMuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDMxMzk5NDgsImV4cCI6MTc0MzE2Mjc0OH0.qbL4bDtL-OsLSGt3DcXYCry4yovtezn0jlr0ClDMSAFAk5BMrslnhQc5hgbVHGl9HLWUxoBnOvEqBXq6vBpYmHFh5SuVWBVKlg9CFfDjkIeLNM_E4MjKb1PoIaaJgK-frxU43zl5gM1gDn2sLoxRc5DOfN6cieF5FbyiwWamiQTOCQQj1wFaMNhZF3XieWovS4a_qhjd8KjGlMy1Lg-NGmvrj86YURPe1AMhVOX2f8zYwP7Bz9DaHye88rnK-Hvl0WP5xzdHG1sl47dj1LyB6pDECG15zpRuYfNLTQeGg0qBN18CWfSmQqb2yHA9wS0bUD0dF2VPSsjkiOqmZzQxDg", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1743140601964-0.32865058460482954:/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--1743140601807-0.17210797287068402:/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--1743140601650-0.4804059328695669:/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_b79df14e-6164-4fe6-92b5-79726e5a45eb", INVOCATION_ID: "4b44952f059b4135b6ca63648f458359", 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: "39", 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 433", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:prod", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:prod", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.3", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:prod"],"original":["deploy:prod"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "5a3038990f9e1edcadab8c012bcd7ca3aeb2812c", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_09fd368c-82b5-4a65-9c71-b2d9aac4bab6", 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/895003d7-9ff9-46e7-9d32-2880203a45ac/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_09fd368c-82b5-4a65-9c71-b2d9aac4bab6", 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_09fd368c-82b5-4a65-9c71-b2d9aac4bab6", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.23", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
|
478
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c1404d5a-c03f-409e-8725-651db47ffea9", 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_c1404d5a-c03f-409e-8725-651db47ffea9", 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_nzAjji2vwMLBg1PW3h42RCPICuUl2F27zjwm", 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: "712", 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: "20250330.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:5988", GITHUB_WORKFLOW: "payment-mf-portal-prod", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14213107388", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "b24cac9d9f8638e5bb43ce1280b1399b5ee64c09", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-prod.yaml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6N2M4Mzc3NWMtY2IyMC00OTg5LTljY2EtNzUwMzUzZDMyYjhlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDIyIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46N2M4Mzc3NWMtY2IyMC00OTg5LTljY2EtNzUwMzUzZDMyYjhlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDIyIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiODQxNWE2NGItYTA2MC00MDRmLTliOTQtNjdlYWQ3ODhlM2Y2Iiwic2lkIjoiNDJhMGVmNjktZGU1Yy00MzUzLTg1YWItMDRiZGVlNjRhNjc5IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCJiMjRjYWM5ZDlmODYzOGU1YmI0M2NlMTI4MGIxMzk5YjVlZTY0YzA5XCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjE0MjEzMTA3Mzg4XCIsXCJydW5fbnVtYmVyXCI6XCI0MVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCJiMjRjYWM5ZDlmODYzOGU1YmI0M2NlMTI4MGIxMzk5YjVlZTY0YzA5XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImIyNGNhYzlkOWY4NjM4ZTViYjQzY2UxMjgwYjEzOTliNWVlNjRjMDlcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiI3YzgzNzc1Yy1jYjIwLTQ5ODktOWNjYS03NTAzNTNkMzJiOGUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDM1NzUxMDMsImV4cCI6MTc0MzU5NzkwM30.IXc1o8SpV65WOoW_Ya4SRpQX-8TtFqvdVIqVErkge2O23-WTPsRieK5amENv0LJx9UyoEYs1nu79GbHrb5LBX8DvLoIMuaWTrY_fm886SyQe0B7BfCJCPei4WDK7b4sf0hW2fmSojqKT2HWgRnXkhjn68ck38yzKw4CGyhDxp_A18kz5iroxB7FCeY6FtQd62bJNPPpiAsqKjOKVLV3JUihFAt2fL0edgDstImHaflm7Z-RNGqoF7e_-YWOEE_nIbnYXb_gFJNnvnatrztlZnxS0u1O80bGGJX6PDFXw9VjX3XXVVs27fDd01Lv_lq-3162by14E0x76jWk_eLMjXQ", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1743575756384-0.0907521742888735:/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--1743575756222-0.3159671116724285:/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--1743575756057-0.5241998657872258:/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_c4659f64-f31e-43e1-a190-10a1075d0040", INVOCATION_ID: "246fdce1d97044c19c6a94570f02337f", 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: "41", 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 131", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:prod", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:prod", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.5", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:prod"],"original":["deploy:prod"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "b24cac9d9f8638e5bb43ce1280b1399b5ee64c09", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_c1404d5a-c03f-409e-8725-651db47ffea9", 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/7c83775c-cb20-4989-9cca-750353d32b8e/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_c1404d5a-c03f-409e-8725-651db47ffea9", 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_c1404d5a-c03f-409e-8725-651db47ffea9", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
|
479
479
|
/**
|
480
480
|
* @license
|
481
481
|
* Copyright 2017 Google LLC
|
@@ -492,7 +492,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
492
492
|
* See the License for the specific language governing permissions and
|
493
493
|
* limitations under the License.
|
494
494
|
*/
|
495
|
-
const
|
495
|
+
const Wt = function(n) {
|
496
496
|
const e = [];
|
497
497
|
let t = 0;
|
498
498
|
for (let r = 0; r < n.length; r++) {
|
@@ -519,7 +519,7 @@ const Ht = function(n) {
|
|
519
519
|
}
|
520
520
|
}
|
521
521
|
return e.join("");
|
522
|
-
},
|
522
|
+
}, jt = {
|
523
523
|
/**
|
524
524
|
* Maps bytes to characters.
|
525
525
|
*/
|
@@ -593,7 +593,7 @@ const Ht = function(n) {
|
|
593
593
|
* @return The base64 encoded string.
|
594
594
|
*/
|
595
595
|
encodeString(n, e) {
|
596
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
596
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Wt(n), e);
|
597
597
|
},
|
598
598
|
/**
|
599
599
|
* Base64-decode a string.
|
@@ -636,8 +636,8 @@ const Ht = function(n) {
|
|
636
636
|
if (r.push(m), l !== 64) {
|
637
637
|
const v = c << 4 & 240 | l >> 2;
|
638
638
|
if (r.push(v), h !== 64) {
|
639
|
-
const
|
640
|
-
r.push(
|
639
|
+
const x = l << 6 & 192 | h;
|
640
|
+
r.push(x);
|
641
641
|
}
|
642
642
|
}
|
643
643
|
}
|
@@ -662,13 +662,13 @@ class or extends Error {
|
|
662
662
|
}
|
663
663
|
}
|
664
664
|
const cr = function(n) {
|
665
|
-
const e =
|
666
|
-
return
|
665
|
+
const e = Wt(n);
|
666
|
+
return jt.encodeByteArray(e, !0);
|
667
667
|
}, de = function(n) {
|
668
668
|
return cr(n).replace(/\./g, "");
|
669
|
-
},
|
669
|
+
}, Vt = function(n) {
|
670
670
|
try {
|
671
|
-
return
|
671
|
+
return jt.decodeString(n, !0);
|
672
672
|
} catch (e) {
|
673
673
|
console.error("base64Decode failed: ", e);
|
674
674
|
}
|
@@ -730,7 +730,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
730
730
|
} catch {
|
731
731
|
return;
|
732
732
|
}
|
733
|
-
const e = n &&
|
733
|
+
const e = n && Vt(n[1]);
|
734
734
|
return e && JSON.parse(e);
|
735
735
|
}, ze = () => {
|
736
736
|
try {
|
@@ -739,11 +739,11 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
739
739
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
740
740
|
return;
|
741
741
|
}
|
742
|
-
},
|
742
|
+
}, Ht = (n) => {
|
743
743
|
var e, t;
|
744
744
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
745
745
|
}, Ga = (n) => {
|
746
|
-
const e =
|
746
|
+
const e = Ht(n);
|
747
747
|
if (!e)
|
748
748
|
return;
|
749
749
|
const t = e.lastIndexOf(":");
|
@@ -877,14 +877,14 @@ function vr() {
|
|
877
877
|
const n = f();
|
878
878
|
return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
|
879
879
|
}
|
880
|
-
function
|
880
|
+
function Ir() {
|
881
881
|
try {
|
882
882
|
return typeof indexedDB == "object";
|
883
883
|
} catch {
|
884
884
|
return !1;
|
885
885
|
}
|
886
886
|
}
|
887
|
-
function
|
887
|
+
function br() {
|
888
888
|
return new Promise((n, e) => {
|
889
889
|
try {
|
890
890
|
let t = !0;
|
@@ -992,11 +992,11 @@ function Q(n) {
|
|
992
992
|
}) : e.push(encodeURIComponent(t) + "=" + encodeURIComponent(r));
|
993
993
|
return e.length ? "&" + e.join("&") : "";
|
994
994
|
}
|
995
|
-
function
|
996
|
-
const t = new
|
995
|
+
function Rr(n, e) {
|
996
|
+
const t = new kr(n, e);
|
997
997
|
return t.subscribe.bind(t);
|
998
998
|
}
|
999
|
-
class
|
999
|
+
class kr {
|
1000
1000
|
/**
|
1001
1001
|
* @param executor Function which can make calls to a single Observer
|
1002
1002
|
* as a proxy.
|
@@ -1042,7 +1042,7 @@ class Rr {
|
|
1042
1042
|
next: e,
|
1043
1043
|
error: t,
|
1044
1044
|
complete: r
|
1045
|
-
}, i.next === void 0 && (i.next =
|
1045
|
+
}, i.next === void 0 && (i.next = ke), i.error === void 0 && (i.error = ke), i.complete === void 0 && (i.complete = ke);
|
1046
1046
|
const s = this.unsubscribeOne.bind(this, this.observers.length);
|
1047
1047
|
return this.finalized && this.task.then(() => {
|
1048
1048
|
try {
|
@@ -1088,7 +1088,7 @@ function Sr(n, e) {
|
|
1088
1088
|
return !0;
|
1089
1089
|
return !1;
|
1090
1090
|
}
|
1091
|
-
function
|
1091
|
+
function ke() {
|
1092
1092
|
}
|
1093
1093
|
/**
|
1094
1094
|
* @license
|
@@ -1488,15 +1488,15 @@ function Br() {
|
|
1488
1488
|
IDBTransaction
|
1489
1489
|
]);
|
1490
1490
|
}
|
1491
|
-
function
|
1491
|
+
function xr() {
|
1492
1492
|
return dt || (dt = [
|
1493
1493
|
IDBCursor.prototype.advance,
|
1494
1494
|
IDBCursor.prototype.continue,
|
1495
1495
|
IDBCursor.prototype.continuePrimaryKey
|
1496
1496
|
]);
|
1497
1497
|
}
|
1498
|
-
const Jt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(),
|
1499
|
-
function
|
1498
|
+
const Jt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Xt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
|
1499
|
+
function Fr(n) {
|
1500
1500
|
const e = new Promise((t, r) => {
|
1501
1501
|
const i = () => {
|
1502
1502
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
@@ -1512,7 +1512,7 @@ function xr(n) {
|
|
1512
1512
|
}).catch(() => {
|
1513
1513
|
}), $e.set(e, n), e;
|
1514
1514
|
}
|
1515
|
-
function
|
1515
|
+
function Wr(n) {
|
1516
1516
|
if (Le.has(n))
|
1517
1517
|
return;
|
1518
1518
|
const e = new Promise((t, r) => {
|
@@ -1533,7 +1533,7 @@ let Ue = {
|
|
1533
1533
|
if (e === "done")
|
1534
1534
|
return Le.get(n);
|
1535
1535
|
if (e === "objectStoreNames")
|
1536
|
-
return n.objectStoreNames ||
|
1536
|
+
return n.objectStoreNames || Xt.get(n);
|
1537
1537
|
if (e === "store")
|
1538
1538
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1539
1539
|
}
|
@@ -1546,28 +1546,28 @@ let Ue = {
|
|
1546
1546
|
return n instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in n;
|
1547
1547
|
}
|
1548
1548
|
};
|
1549
|
-
function
|
1549
|
+
function jr(n) {
|
1550
1550
|
Ue = n(Ue);
|
1551
1551
|
}
|
1552
|
-
function
|
1552
|
+
function Vr(n) {
|
1553
1553
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1554
1554
|
const r = n.call(Ae(this), e, ...t);
|
1555
|
-
return
|
1556
|
-
} :
|
1555
|
+
return Xt.set(r, e.sort ? e.sort() : [e]), N(r);
|
1556
|
+
} : xr().includes(n) ? function(...e) {
|
1557
1557
|
return n.apply(Ae(this), e), N(Jt.get(this));
|
1558
1558
|
} : function(...e) {
|
1559
1559
|
return N(n.apply(Ae(this), e));
|
1560
1560
|
};
|
1561
1561
|
}
|
1562
|
-
function
|
1563
|
-
return typeof n == "function" ?
|
1562
|
+
function Hr(n) {
|
1563
|
+
return typeof n == "function" ? Vr(n) : (n instanceof IDBTransaction && Wr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
|
1564
1564
|
}
|
1565
1565
|
function N(n) {
|
1566
1566
|
if (n instanceof IDBRequest)
|
1567
|
-
return
|
1567
|
+
return Fr(n);
|
1568
1568
|
if (Se.has(n))
|
1569
1569
|
return Se.get(n);
|
1570
|
-
const e =
|
1570
|
+
const e = Hr(n);
|
1571
1571
|
return e !== n && (Se.set(n, e), $e.set(e, n)), e;
|
1572
1572
|
}
|
1573
1573
|
const Ae = (n) => $e.get(n);
|
@@ -1607,7 +1607,7 @@ function ut(n, e) {
|
|
1607
1607
|
};
|
1608
1608
|
return Oe.set(e, s), s;
|
1609
1609
|
}
|
1610
|
-
|
1610
|
+
jr((n) => ({
|
1611
1611
|
...n,
|
1612
1612
|
get: (e, t, r) => ut(e, t) || n.get(e, t, r),
|
1613
1613
|
has: (e, t) => !!ut(e, t) || n.has(e, t)
|
@@ -1636,7 +1636,7 @@ class Jr {
|
|
1636
1636
|
// auth token refresh, and installations will send this string.
|
1637
1637
|
getPlatformInfoString() {
|
1638
1638
|
return this.container.getProviders().map((t) => {
|
1639
|
-
if (
|
1639
|
+
if (Xr(t)) {
|
1640
1640
|
const r = t.getImmediate();
|
1641
1641
|
return `${r.library}/${r.version}`;
|
1642
1642
|
} else
|
@@ -1644,7 +1644,7 @@ class Jr {
|
|
1644
1644
|
}).filter((t) => t).join(" ");
|
1645
1645
|
}
|
1646
1646
|
}
|
1647
|
-
function
|
1647
|
+
function Xr(n) {
|
1648
1648
|
const e = n.getComponent();
|
1649
1649
|
return (e == null ? void 0 : e.type) === "VERSION";
|
1650
1650
|
}
|
@@ -1665,7 +1665,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1665
1665
|
* See the License for the specific language governing permissions and
|
1666
1666
|
* limitations under the License.
|
1667
1667
|
*/
|
1668
|
-
const T = new $t("@firebase/app"),
|
1668
|
+
const T = new $t("@firebase/app"), Zr = "@firebase/app-compat", Yr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", mi = "@firebase/remote-config-compat", fi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
|
1669
1669
|
/**
|
1670
1670
|
* @license
|
1671
1671
|
* Copyright 2019 Google LLC
|
@@ -1682,9 +1682,9 @@ const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/
|
|
1682
1682
|
* See the License for the specific language governing permissions and
|
1683
1683
|
* limitations under the License.
|
1684
1684
|
*/
|
1685
|
-
const
|
1685
|
+
const xe = "[DEFAULT]", Ei = {
|
1686
1686
|
[Be]: "fire-core",
|
1687
|
-
[
|
1687
|
+
[Zr]: "fire-core-compat",
|
1688
1688
|
[Kr]: "fire-analytics",
|
1689
1689
|
[Yr]: "fire-analytics-compat",
|
1690
1690
|
[Qr]: "fire-app-check",
|
@@ -1707,10 +1707,10 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1707
1707
|
[fi]: "fire-gcs",
|
1708
1708
|
[_i]: "fire-gcs-compat",
|
1709
1709
|
[gi]: "fire-fst",
|
1710
|
-
[
|
1710
|
+
[Ii]: "fire-fst-compat",
|
1711
1711
|
[vi]: "fire-vertex",
|
1712
1712
|
"fire-js": "fire-js",
|
1713
|
-
[
|
1713
|
+
[bi]: "fire-js-all"
|
1714
1714
|
};
|
1715
1715
|
/**
|
1716
1716
|
* @license
|
@@ -1728,7 +1728,7 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1728
1728
|
* See the License for the specific language governing permissions and
|
1729
1729
|
* limitations under the License.
|
1730
1730
|
*/
|
1731
|
-
const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(),
|
1731
|
+
const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(), Fe = /* @__PURE__ */ new Map();
|
1732
1732
|
function pt(n, e) {
|
1733
1733
|
try {
|
1734
1734
|
n.container.addComponent(e);
|
@@ -1736,22 +1736,22 @@ function pt(n, e) {
|
|
1736
1736
|
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1737
1737
|
}
|
1738
1738
|
}
|
1739
|
-
function
|
1739
|
+
function Z(n) {
|
1740
1740
|
const e = n.name;
|
1741
|
-
if (
|
1741
|
+
if (Fe.has(e))
|
1742
1742
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1743
|
-
|
1743
|
+
Fe.set(e, n);
|
1744
1744
|
for (const t of he.values())
|
1745
1745
|
pt(t, n);
|
1746
1746
|
for (const t of Ti.values())
|
1747
1747
|
pt(t, n);
|
1748
1748
|
return !0;
|
1749
1749
|
}
|
1750
|
-
function
|
1750
|
+
function Zt(n, e) {
|
1751
1751
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1752
1752
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1753
1753
|
}
|
1754
|
-
function
|
1754
|
+
function I(n) {
|
1755
1755
|
return n.settings !== void 0;
|
1756
1756
|
}
|
1757
1757
|
/**
|
@@ -1802,7 +1802,7 @@ const wi = {
|
|
1802
1802
|
* See the License for the specific language governing permissions and
|
1803
1803
|
* limitations under the License.
|
1804
1804
|
*/
|
1805
|
-
class
|
1805
|
+
class Ri {
|
1806
1806
|
constructor(e, t, r) {
|
1807
1807
|
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new G(
|
1808
1808
|
"app",
|
@@ -1864,7 +1864,7 @@ const ee = yi;
|
|
1864
1864
|
function Yt(n, e = {}) {
|
1865
1865
|
let t = n;
|
1866
1866
|
typeof e != "object" && (e = { name: e });
|
1867
|
-
const r = Object.assign({ name:
|
1867
|
+
const r = Object.assign({ name: xe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
1868
1868
|
if (typeof i != "string" || !i)
|
1869
1869
|
throw D.create("bad-app-name", {
|
1870
1870
|
appName: String(i)
|
@@ -1881,20 +1881,20 @@ function Yt(n, e = {}) {
|
|
1881
1881
|
throw D.create("duplicate-app", { appName: i });
|
1882
1882
|
}
|
1883
1883
|
const a = new Nr(i);
|
1884
|
-
for (const o of
|
1884
|
+
for (const o of Fe.values())
|
1885
1885
|
a.addComponent(o);
|
1886
|
-
const c = new
|
1886
|
+
const c = new Ri(t, r, a);
|
1887
1887
|
return he.set(i, c), c;
|
1888
1888
|
}
|
1889
|
-
function
|
1889
|
+
function ki(n = xe) {
|
1890
1890
|
const e = he.get(n);
|
1891
|
-
if (!e && n ===
|
1891
|
+
if (!e && n === xe && Gt())
|
1892
1892
|
return Yt();
|
1893
1893
|
if (!e)
|
1894
1894
|
throw D.create("no-app", { appName: n });
|
1895
1895
|
return e;
|
1896
1896
|
}
|
1897
|
-
function
|
1897
|
+
function W(n, e, t) {
|
1898
1898
|
var r;
|
1899
1899
|
let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
|
1900
1900
|
t && (i += `-${t}`);
|
@@ -1906,7 +1906,7 @@ function H(n, e, t) {
|
|
1906
1906
|
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(" "));
|
1907
1907
|
return;
|
1908
1908
|
}
|
1909
|
-
|
1909
|
+
Z(new G(
|
1910
1910
|
`${i}-version`,
|
1911
1911
|
() => ({ library: i, version: e }),
|
1912
1912
|
"VERSION"
|
@@ -2075,7 +2075,7 @@ class Mi {
|
|
2075
2075
|
this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
|
2076
2076
|
}
|
2077
2077
|
async runIndexedDBEnvironmentCheck() {
|
2078
|
-
return
|
2078
|
+
return Ir() ? br().then(() => !0).catch(() => !1) : !1;
|
2079
2079
|
}
|
2080
2080
|
/**
|
2081
2081
|
* Read all heartbeats.
|
@@ -2138,17 +2138,17 @@ function _t(n) {
|
|
2138
2138
|
* limitations under the License.
|
2139
2139
|
*/
|
2140
2140
|
function Li(n) {
|
2141
|
-
|
2141
|
+
Z(new G(
|
2142
2142
|
"platform-logger",
|
2143
2143
|
(e) => new Jr(e),
|
2144
2144
|
"PRIVATE"
|
2145
2145
|
/* ComponentType.PRIVATE */
|
2146
|
-
)),
|
2146
|
+
)), Z(new G(
|
2147
2147
|
"heartbeat",
|
2148
2148
|
(e) => new Di(e),
|
2149
2149
|
"PRIVATE"
|
2150
2150
|
/* ComponentType.PRIVATE */
|
2151
|
-
)),
|
2151
|
+
)), W(Be, ht, n), W(Be, ht, "esm2017"), W("fire-js", "");
|
2152
2152
|
}
|
2153
2153
|
Li("");
|
2154
2154
|
var Ui = "firebase", Bi = "10.14.1";
|
@@ -2168,7 +2168,7 @@ var Ui = "firebase", Bi = "10.14.1";
|
|
2168
2168
|
* See the License for the specific language governing permissions and
|
2169
2169
|
* limitations under the License.
|
2170
2170
|
*/
|
2171
|
-
|
2171
|
+
W(Ui, Bi, "app");
|
2172
2172
|
var gt = function() {
|
2173
2173
|
return gt = Object.assign || function(e) {
|
2174
2174
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2191,7 +2191,7 @@ function Qt() {
|
|
2191
2191
|
"dependent-sdk-initialized-before-auth": "Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."
|
2192
2192
|
};
|
2193
2193
|
}
|
2194
|
-
const
|
2194
|
+
const xi = Qt, en = new q("auth", "Firebase", Qt());
|
2195
2195
|
/**
|
2196
2196
|
* @license
|
2197
2197
|
* Copyright 2020 Google LLC
|
@@ -2209,7 +2209,7 @@ const Fi = Qt, en = new q("auth", "Firebase", Qt());
|
|
2209
2209
|
* limitations under the License.
|
2210
2210
|
*/
|
2211
2211
|
const pe = new $t("@firebase/auth");
|
2212
|
-
function
|
2212
|
+
function Fi(n, ...e) {
|
2213
2213
|
pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
|
2214
2214
|
}
|
2215
2215
|
function se(n, ...e) {
|
@@ -2232,13 +2232,13 @@ function se(n, ...e) {
|
|
2232
2232
|
* limitations under the License.
|
2233
2233
|
*/
|
2234
2234
|
function w(n, ...e) {
|
2235
|
-
throw
|
2235
|
+
throw Xe(n, ...e);
|
2236
2236
|
}
|
2237
2237
|
function _(n, ...e) {
|
2238
|
-
return
|
2238
|
+
return Xe(n, ...e);
|
2239
2239
|
}
|
2240
2240
|
function tn(n, e, t) {
|
2241
|
-
const r = Object.assign(Object.assign({},
|
2241
|
+
const r = Object.assign(Object.assign({}, xi()), { [e]: t });
|
2242
2242
|
return new q("auth", "Firebase", r).create(e, {
|
2243
2243
|
appName: n.name
|
2244
2244
|
});
|
@@ -2246,7 +2246,7 @@ function tn(n, e, t) {
|
|
2246
2246
|
function P(n) {
|
2247
2247
|
return tn(n, "operation-not-supported-in-this-environment", "Operations that alter the current user are not supported in conjunction with FirebaseServerApp");
|
2248
2248
|
}
|
2249
|
-
function
|
2249
|
+
function Xe(n, ...e) {
|
2250
2250
|
if (typeof n != "string") {
|
2251
2251
|
const t = e[0], r = [...e.slice(1)];
|
2252
2252
|
return r[0] && (r[0].appName = n.name), n._errorFactory.create(t, ...r);
|
@@ -2255,14 +2255,14 @@ function Ze(n, ...e) {
|
|
2255
2255
|
}
|
2256
2256
|
function u(n, e, ...t) {
|
2257
2257
|
if (!n)
|
2258
|
-
throw
|
2258
|
+
throw Xe(e, ...t);
|
2259
2259
|
}
|
2260
|
-
function
|
2260
|
+
function b(n) {
|
2261
2261
|
const e = "INTERNAL ASSERTION FAILED: " + n;
|
2262
2262
|
throw se(e), new Error(e);
|
2263
2263
|
}
|
2264
|
-
function
|
2265
|
-
n ||
|
2264
|
+
function R(n, e) {
|
2265
|
+
n || b(e);
|
2266
2266
|
}
|
2267
2267
|
/**
|
2268
2268
|
* @license
|
@@ -2280,11 +2280,11 @@ function k(n, e) {
|
|
2280
2280
|
* See the License for the specific language governing permissions and
|
2281
2281
|
* limitations under the License.
|
2282
2282
|
*/
|
2283
|
-
function
|
2283
|
+
function We() {
|
2284
2284
|
var n;
|
2285
2285
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2286
2286
|
}
|
2287
|
-
function
|
2287
|
+
function Wi() {
|
2288
2288
|
return vt() === "http:" || vt() === "https:";
|
2289
2289
|
}
|
2290
2290
|
function vt() {
|
@@ -2307,15 +2307,15 @@ function vt() {
|
|
2307
2307
|
* See the License for the specific language governing permissions and
|
2308
2308
|
* limitations under the License.
|
2309
2309
|
*/
|
2310
|
-
function
|
2310
|
+
function ji() {
|
2311
2311
|
return typeof navigator < "u" && navigator && "onLine" in navigator && typeof navigator.onLine == "boolean" && // Apply only for traditional web apps and Chrome extensions.
|
2312
2312
|
// This is especially true for Cordova apps which have unreliable
|
2313
2313
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
2314
2314
|
// installed which overwrites the native navigator.onLine value and
|
2315
2315
|
// defines navigator.connection.
|
2316
|
-
(
|
2316
|
+
(Wi() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2317
2317
|
}
|
2318
|
-
function
|
2318
|
+
function Vi() {
|
2319
2319
|
if (typeof navigator > "u")
|
2320
2320
|
return null;
|
2321
2321
|
const n = navigator;
|
@@ -2345,10 +2345,10 @@ function ji() {
|
|
2345
2345
|
*/
|
2346
2346
|
class te {
|
2347
2347
|
constructor(e, t) {
|
2348
|
-
this.shortDelay = e, this.longDelay = t,
|
2348
|
+
this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile = mr() || gr();
|
2349
2349
|
}
|
2350
2350
|
get() {
|
2351
|
-
return
|
2351
|
+
return ji() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
2352
2352
|
}
|
2353
2353
|
}
|
2354
2354
|
/**
|
@@ -2367,8 +2367,8 @@ class te {
|
|
2367
2367
|
* See the License for the specific language governing permissions and
|
2368
2368
|
* limitations under the License.
|
2369
2369
|
*/
|
2370
|
-
function
|
2371
|
-
|
2370
|
+
function Ze(n, e) {
|
2371
|
+
R(n.emulator, "Emulator should always be set here");
|
2372
2372
|
const { url: t } = n.emulator;
|
2373
2373
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
2374
2374
|
}
|
@@ -2401,7 +2401,7 @@ class nn {
|
|
2401
2401
|
return globalThis.fetch;
|
2402
2402
|
if (typeof fetch < "u")
|
2403
2403
|
return fetch;
|
2404
|
-
|
2404
|
+
b("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2405
2405
|
}
|
2406
2406
|
static headers() {
|
2407
2407
|
if (this.headersImpl)
|
@@ -2412,7 +2412,7 @@ class nn {
|
|
2412
2412
|
return globalThis.Headers;
|
2413
2413
|
if (typeof Headers < "u")
|
2414
2414
|
return Headers;
|
2415
|
-
|
2415
|
+
b("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2416
2416
|
}
|
2417
2417
|
static response() {
|
2418
2418
|
if (this.responseImpl)
|
@@ -2423,7 +2423,7 @@ class nn {
|
|
2423
2423
|
return globalThis.Response;
|
2424
2424
|
if (typeof Response < "u")
|
2425
2425
|
return Response;
|
2426
|
-
|
2426
|
+
b("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2427
2427
|
}
|
2428
2428
|
}
|
2429
2429
|
/**
|
@@ -2442,7 +2442,7 @@ class nn {
|
|
2442
2442
|
* See the License for the specific language governing permissions and
|
2443
2443
|
* limitations under the License.
|
2444
2444
|
*/
|
2445
|
-
const
|
2445
|
+
const Hi = {
|
2446
2446
|
// Custom token errors.
|
2447
2447
|
CREDENTIAL_MISMATCH: "custom-token-mismatch",
|
2448
2448
|
// This can only happen if the SDK sends a bad request.
|
@@ -2560,7 +2560,7 @@ async function $(n, e, t, r, i = {}) {
|
|
2560
2560
|
}
|
2561
2561
|
async function rn(n, e, t) {
|
2562
2562
|
n._canInitEmulator = !1;
|
2563
|
-
const r = Object.assign(Object.assign({},
|
2563
|
+
const r = Object.assign(Object.assign({}, Hi), e);
|
2564
2564
|
try {
|
2565
2565
|
const i = new zi(n), s = await Promise.race([
|
2566
2566
|
t(),
|
@@ -2599,7 +2599,7 @@ async function sn(n, e, t, r, i = {}) {
|
|
2599
2599
|
}
|
2600
2600
|
function an(n, e, t, r) {
|
2601
2601
|
const i = `${e}${t}?${r}`;
|
2602
|
-
return n.config.emulator ?
|
2602
|
+
return n.config.emulator ? Ze(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2603
2603
|
}
|
2604
2604
|
class zi {
|
2605
2605
|
constructor(e) {
|
@@ -2661,7 +2661,7 @@ async function on(n, e) {
|
|
2661
2661
|
* See the License for the specific language governing permissions and
|
2662
2662
|
* limitations under the License.
|
2663
2663
|
*/
|
2664
|
-
function
|
2664
|
+
function X(n) {
|
2665
2665
|
if (n)
|
2666
2666
|
try {
|
2667
2667
|
const e = new Date(Number(n));
|
@@ -2682,9 +2682,9 @@ async function Ji(n, e = !1) {
|
|
2682
2682
|
return {
|
2683
2683
|
claims: i,
|
2684
2684
|
token: r,
|
2685
|
-
authTime:
|
2686
|
-
issuedAtTime:
|
2687
|
-
expirationTime:
|
2685
|
+
authTime: X(Ne(i.auth_time)),
|
2686
|
+
issuedAtTime: X(Ne(i.iat)),
|
2687
|
+
expirationTime: X(Ne(i.exp)),
|
2688
2688
|
signInProvider: a || null,
|
2689
2689
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2690
2690
|
};
|
@@ -2697,13 +2697,13 @@ function Ye(n) {
|
|
2697
2697
|
if (e === void 0 || t === void 0 || r === void 0)
|
2698
2698
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2699
2699
|
try {
|
2700
|
-
const i =
|
2700
|
+
const i = Vt(t);
|
2701
2701
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2702
2702
|
} catch (i) {
|
2703
2703
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2704
2704
|
}
|
2705
2705
|
}
|
2706
|
-
function
|
2706
|
+
function It(n) {
|
2707
2707
|
const e = Ye(n);
|
2708
2708
|
return u(
|
2709
2709
|
e,
|
@@ -2741,10 +2741,10 @@ async function K(n, e, t = !1) {
|
|
2741
2741
|
try {
|
2742
2742
|
return await e;
|
2743
2743
|
} catch (r) {
|
2744
|
-
throw r instanceof M &&
|
2744
|
+
throw r instanceof M && Xi(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
|
2745
2745
|
}
|
2746
2746
|
}
|
2747
|
-
function
|
2747
|
+
function Xi({ code: n }) {
|
2748
2748
|
return n === "auth/user-disabled" || n === "auth/user-token-expired";
|
2749
2749
|
}
|
2750
2750
|
/**
|
@@ -2763,7 +2763,7 @@ function Zi({ code: n }) {
|
|
2763
2763
|
* See the License for the specific language governing permissions and
|
2764
2764
|
* limitations under the License.
|
2765
2765
|
*/
|
2766
|
-
class
|
2766
|
+
class Zi {
|
2767
2767
|
constructor(e) {
|
2768
2768
|
this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
|
2769
2769
|
}
|
@@ -2825,12 +2825,12 @@ class Xi {
|
|
2825
2825
|
* See the License for the specific language governing permissions and
|
2826
2826
|
* limitations under the License.
|
2827
2827
|
*/
|
2828
|
-
class
|
2828
|
+
class je {
|
2829
2829
|
constructor(e, t) {
|
2830
2830
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2831
2831
|
}
|
2832
2832
|
_initializeTime() {
|
2833
|
-
this.lastSignInTime =
|
2833
|
+
this.lastSignInTime = X(this.lastLoginAt), this.creationTime = X(this.createdAt);
|
2834
2834
|
}
|
2835
2835
|
_copy(e) {
|
2836
2836
|
this.createdAt = e.createdAt, this.lastLoginAt = e.lastLoginAt, this._initializeTime();
|
@@ -2878,7 +2878,7 @@ async function me(n) {
|
|
2878
2878
|
phoneNumber: s.phoneNumber || null,
|
2879
2879
|
tenantId: s.tenantId || null,
|
2880
2880
|
providerData: c,
|
2881
|
-
metadata: new
|
2881
|
+
metadata: new je(s.createdAt, s.lastLoginAt),
|
2882
2882
|
isAnonymous: d
|
2883
2883
|
};
|
2884
2884
|
Object.assign(n, h);
|
@@ -2959,7 +2959,7 @@ async function Qi(n, e) {
|
|
2959
2959
|
* See the License for the specific language governing permissions and
|
2960
2960
|
* limitations under the License.
|
2961
2961
|
*/
|
2962
|
-
class
|
2962
|
+
class j {
|
2963
2963
|
constructor() {
|
2964
2964
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2965
2965
|
}
|
@@ -2980,7 +2980,7 @@ class W {
|
|
2980
2980
|
"internal-error"
|
2981
2981
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2982
2982
|
);
|
2983
|
-
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) :
|
2983
|
+
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : It(e.idToken);
|
2984
2984
|
this.updateTokensAndExpiration(e.idToken, e.refreshToken, t);
|
2985
2985
|
}
|
2986
2986
|
updateFromIdToken(e) {
|
@@ -2989,7 +2989,7 @@ class W {
|
|
2989
2989
|
"internal-error"
|
2990
2990
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2991
2991
|
);
|
2992
|
-
const t =
|
2992
|
+
const t = It(e);
|
2993
2993
|
this.updateTokensAndExpiration(e, null, t);
|
2994
2994
|
}
|
2995
2995
|
async getToken(e, t = !1) {
|
@@ -3011,7 +3011,7 @@ class W {
|
|
3011
3011
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
3012
3012
|
}
|
3013
3013
|
static fromJSON(e, t) {
|
3014
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new
|
3014
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new j();
|
3015
3015
|
return r && (u(typeof r == "string", "internal-error", {
|
3016
3016
|
appName: e
|
3017
3017
|
}), a.refreshToken = r), i && (u(typeof i == "string", "internal-error", {
|
@@ -3031,10 +3031,10 @@ class W {
|
|
3031
3031
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
3032
3032
|
}
|
3033
3033
|
_clone() {
|
3034
|
-
return Object.assign(new
|
3034
|
+
return Object.assign(new j(), this.toJSON());
|
3035
3035
|
}
|
3036
3036
|
_performRefresh() {
|
3037
|
-
return
|
3037
|
+
return b("not implemented");
|
3038
3038
|
}
|
3039
3039
|
}
|
3040
3040
|
/**
|
@@ -3053,13 +3053,13 @@ class W {
|
|
3053
3053
|
* See the License for the specific language governing permissions and
|
3054
3054
|
* limitations under the License.
|
3055
3055
|
*/
|
3056
|
-
function
|
3056
|
+
function k(n, e) {
|
3057
3057
|
u(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
|
3058
3058
|
}
|
3059
3059
|
class y {
|
3060
3060
|
constructor(e) {
|
3061
3061
|
var { uid: t, auth: r, stsTokenManager: i } = e, s = Je(e, ["uid", "auth", "stsTokenManager"]);
|
3062
|
-
this.providerId = "firebase", this.proactiveRefresh = new
|
3062
|
+
this.providerId = "firebase", this.proactiveRefresh = new Zi(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 je(s.createdAt || void 0, s.lastLoginAt || void 0);
|
3063
3063
|
}
|
3064
3064
|
async getIdToken(e) {
|
3065
3065
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3110,7 +3110,7 @@ class y {
|
|
3110
3110
|
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);
|
3111
3111
|
}
|
3112
3112
|
async delete() {
|
3113
|
-
if (
|
3113
|
+
if (I(this.auth.app))
|
3114
3114
|
return Promise.reject(P(this.auth));
|
3115
3115
|
const e = await this.getIdToken();
|
3116
3116
|
return await K(this, $i(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
@@ -3141,20 +3141,20 @@ class y {
|
|
3141
3141
|
}
|
3142
3142
|
static _fromJSON(e, t) {
|
3143
3143
|
var r, i, s, a, c, o, l, d;
|
3144
|
-
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,
|
3144
|
+
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, x = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
|
3145
3145
|
u(
|
3146
3146
|
Te && at,
|
3147
3147
|
e,
|
3148
3148
|
"internal-error"
|
3149
3149
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3150
3150
|
);
|
3151
|
-
const Pn =
|
3151
|
+
const Pn = j.fromJSON(this.name, at);
|
3152
3152
|
u(
|
3153
3153
|
typeof Te == "string",
|
3154
3154
|
e,
|
3155
3155
|
"internal-error"
|
3156
3156
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3157
|
-
),
|
3157
|
+
), k(h, e.name), k(m, e.name), u(
|
3158
3158
|
typeof it == "boolean",
|
3159
3159
|
e,
|
3160
3160
|
"internal-error"
|
@@ -3164,22 +3164,22 @@ class y {
|
|
3164
3164
|
e,
|
3165
3165
|
"internal-error"
|
3166
3166
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3167
|
-
),
|
3168
|
-
const
|
3167
|
+
), k(v, e.name), k(x, e.name), k(tt, e.name), k(Ee, e.name), k(nt, e.name), k(rt, e.name);
|
3168
|
+
const Re = new y({
|
3169
3169
|
uid: Te,
|
3170
3170
|
auth: e,
|
3171
3171
|
email: m,
|
3172
3172
|
emailVerified: it,
|
3173
3173
|
displayName: h,
|
3174
3174
|
isAnonymous: st,
|
3175
|
-
photoURL:
|
3175
|
+
photoURL: x,
|
3176
3176
|
phoneNumber: v,
|
3177
3177
|
tenantId: tt,
|
3178
3178
|
stsTokenManager: Pn,
|
3179
3179
|
createdAt: nt,
|
3180
3180
|
lastLoginAt: rt
|
3181
3181
|
});
|
3182
|
-
return we && Array.isArray(we) && (
|
3182
|
+
return we && Array.isArray(we) && (Re.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (Re._redirectEventId = Ee), Re;
|
3183
3183
|
}
|
3184
3184
|
/**
|
3185
3185
|
* Initialize a User from an idToken server response
|
@@ -3187,7 +3187,7 @@ class y {
|
|
3187
3187
|
* @param idTokenResponse
|
3188
3188
|
*/
|
3189
3189
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
3190
|
-
const i = new
|
3190
|
+
const i = new j();
|
3191
3191
|
i.updateFromServerResponse(t);
|
3192
3192
|
const s = new y({
|
3193
3193
|
uid: t.localId,
|
@@ -3209,7 +3209,7 @@ class y {
|
|
3209
3209
|
"internal-error"
|
3210
3210
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3211
3211
|
);
|
3212
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new
|
3212
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new j();
|
3213
3213
|
c.updateFromIdToken(r);
|
3214
3214
|
const o = new y({
|
3215
3215
|
uid: i.localId,
|
@@ -3225,7 +3225,7 @@ class y {
|
|
3225
3225
|
phoneNumber: i.phoneNumber || null,
|
3226
3226
|
tenantId: i.tenantId || null,
|
3227
3227
|
providerData: s,
|
3228
|
-
metadata: new
|
3228
|
+
metadata: new je(i.createdAt, i.lastLoginAt),
|
3229
3229
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
3230
3230
|
};
|
3231
3231
|
return Object.assign(o, l), o;
|
@@ -3247,11 +3247,11 @@ class y {
|
|
3247
3247
|
* See the License for the specific language governing permissions and
|
3248
3248
|
* limitations under the License.
|
3249
3249
|
*/
|
3250
|
-
const
|
3250
|
+
const bt = /* @__PURE__ */ new Map();
|
3251
3251
|
function E(n) {
|
3252
|
-
|
3253
|
-
let e =
|
3254
|
-
return e ? (
|
3252
|
+
R(n instanceof Function, "Expected a class definition");
|
3253
|
+
let e = bt.get(n);
|
3254
|
+
return e ? (R(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
|
3255
3255
|
}
|
3256
3256
|
/**
|
3257
3257
|
* @license
|
@@ -3312,7 +3312,7 @@ const yt = ln;
|
|
3312
3312
|
function ae(n, e, t) {
|
3313
3313
|
return `firebase:${n}:${e}:${t}`;
|
3314
3314
|
}
|
3315
|
-
class
|
3315
|
+
class V {
|
3316
3316
|
constructor(e, t, r) {
|
3317
3317
|
this.persistence = e, this.auth = t, this.userKey = r;
|
3318
3318
|
const { config: i, name: s } = this.auth;
|
@@ -3343,7 +3343,7 @@ class j {
|
|
3343
3343
|
}
|
3344
3344
|
static async create(e, t, r = "authUser") {
|
3345
3345
|
if (!t.length)
|
3346
|
-
return new
|
3346
|
+
return new V(E(yt), e, r);
|
3347
3347
|
const i = (await Promise.all(t.map(async (l) => {
|
3348
3348
|
if (await l._isAvailable())
|
3349
3349
|
return l;
|
@@ -3362,13 +3362,13 @@ class j {
|
|
3362
3362
|
} catch {
|
3363
3363
|
}
|
3364
3364
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3365
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3365
|
+
return !s._shouldAllowMigration || !o.length ? new V(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
|
3366
3366
|
if (l !== s)
|
3367
3367
|
try {
|
3368
3368
|
await l._remove(a);
|
3369
3369
|
} catch {
|
3370
3370
|
}
|
3371
|
-
})), new
|
3371
|
+
})), new V(s, e, r));
|
3372
3372
|
}
|
3373
3373
|
}
|
3374
3374
|
/**
|
@@ -3669,7 +3669,7 @@ class as {
|
|
3669
3669
|
_initializeWithPersistence(e, t) {
|
3670
3670
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3671
3671
|
var r, i;
|
3672
|
-
if (!this._deleted && (this.persistenceManager = await
|
3672
|
+
if (!this._deleted && (this.persistenceManager = await V.create(this, e), !this._deleted)) {
|
3673
3673
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3674
3674
|
try {
|
3675
3675
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3708,7 +3708,7 @@ class as {
|
|
3708
3708
|
}
|
3709
3709
|
async initializeCurrentUser(e) {
|
3710
3710
|
var t;
|
3711
|
-
if (
|
3711
|
+
if (I(this.app)) {
|
3712
3712
|
const a = this.app.settings.authIdToken;
|
3713
3713
|
return a ? new Promise((c) => {
|
3714
3714
|
setTimeout(() => this.initializeCurrentUserFromIdToken(a).then(c, c));
|
@@ -3758,13 +3758,13 @@ class as {
|
|
3758
3758
|
return this.directlySetCurrentUser(e);
|
3759
3759
|
}
|
3760
3760
|
useDeviceLanguage() {
|
3761
|
-
this.languageCode =
|
3761
|
+
this.languageCode = Vi();
|
3762
3762
|
}
|
3763
3763
|
async _delete() {
|
3764
3764
|
this._deleted = !0;
|
3765
3765
|
}
|
3766
3766
|
async updateCurrentUser(e) {
|
3767
|
-
if (
|
3767
|
+
if (I(this.app))
|
3768
3768
|
return Promise.reject(P(this));
|
3769
3769
|
const t = e ? z(e) : null;
|
3770
3770
|
return t && u(
|
@@ -3786,14 +3786,14 @@ class as {
|
|
3786
3786
|
});
|
3787
3787
|
}
|
3788
3788
|
async signOut() {
|
3789
|
-
return
|
3789
|
+
return I(this.app) ? Promise.reject(P(this)) : (await this.beforeStateQueue.runMiddleware(null), (this.redirectPersistenceManager || this._popupRedirectResolver) && await this._setRedirectUser(null), this._updateCurrentUser(
|
3790
3790
|
null,
|
3791
3791
|
/* skipBeforeStateCallbacks */
|
3792
3792
|
!0
|
3793
3793
|
));
|
3794
3794
|
}
|
3795
3795
|
setPersistence(e) {
|
3796
|
-
return
|
3796
|
+
return I(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
|
3797
3797
|
await this.assertedPersistence.setPersistence(E(e));
|
3798
3798
|
});
|
3799
3799
|
}
|
@@ -3873,7 +3873,7 @@ class as {
|
|
3873
3873
|
this,
|
3874
3874
|
"argument-error"
|
3875
3875
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3876
|
-
), this.redirectPersistenceManager = await
|
3876
|
+
), this.redirectPersistenceManager = await V.create(
|
3877
3877
|
this,
|
3878
3878
|
[E(t._redirectPersistence)],
|
3879
3879
|
"redirectUser"
|
@@ -3992,15 +3992,15 @@ class as {
|
|
3992
3992
|
async _getAppCheckToken() {
|
3993
3993
|
var e;
|
3994
3994
|
const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
|
3995
|
-
return t != null && t.error &&
|
3995
|
+
return t != null && t.error && Fi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
3996
3996
|
}
|
3997
3997
|
}
|
3998
|
-
function
|
3998
|
+
function Ie(n) {
|
3999
3999
|
return z(n);
|
4000
4000
|
}
|
4001
4001
|
class Tt {
|
4002
4002
|
constructor(e) {
|
4003
|
-
this.auth = e, this.observer = null, this.addObserver =
|
4003
|
+
this.auth = e, this.observer = null, this.addObserver = Rr((t) => this.observer = t);
|
4004
4004
|
}
|
4005
4005
|
get next() {
|
4006
4006
|
return u(
|
@@ -4064,7 +4064,7 @@ function ds(n) {
|
|
4064
4064
|
* limitations under the License.
|
4065
4065
|
*/
|
4066
4066
|
function us(n, e) {
|
4067
|
-
const t =
|
4067
|
+
const t = Zt(n, "auth");
|
4068
4068
|
if (t.isInitialized()) {
|
4069
4069
|
const i = t.getImmediate(), s = t.getOptions();
|
4070
4070
|
if (ue(s, e ?? {}))
|
@@ -4082,7 +4082,7 @@ function hs(n, e) {
|
|
4082
4082
|
e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
|
4083
4083
|
}
|
4084
4084
|
function ps(n, e, t) {
|
4085
|
-
const r =
|
4085
|
+
const r = Ie(n);
|
4086
4086
|
u(
|
4087
4087
|
r._canInitEmulator,
|
4088
4088
|
r,
|
@@ -4094,7 +4094,7 @@ function ps(n, e, t) {
|
|
4094
4094
|
"invalid-emulator-scheme"
|
4095
4095
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4096
4096
|
);
|
4097
|
-
const i = !1, s =
|
4097
|
+
const i = !1, s = In(e), { host: a, port: c } = ms(e), o = c === null ? "" : `:${c}`;
|
4098
4098
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4099
4099
|
host: a,
|
4100
4100
|
port: c,
|
@@ -4102,12 +4102,12 @@ function ps(n, e, t) {
|
|
4102
4102
|
options: Object.freeze({ disableWarnings: i })
|
4103
4103
|
}), fs();
|
4104
4104
|
}
|
4105
|
-
function
|
4105
|
+
function In(n) {
|
4106
4106
|
const e = n.indexOf(":");
|
4107
4107
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4108
4108
|
}
|
4109
4109
|
function ms(n) {
|
4110
|
-
const e =
|
4110
|
+
const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4111
4111
|
if (!t)
|
4112
4112
|
return { host: "", port: null };
|
4113
4113
|
const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
|
@@ -4148,7 +4148,7 @@ function fs() {
|
|
4148
4148
|
* See the License for the specific language governing permissions and
|
4149
4149
|
* limitations under the License.
|
4150
4150
|
*/
|
4151
|
-
class
|
4151
|
+
class bn {
|
4152
4152
|
/** @internal */
|
4153
4153
|
constructor(e, t) {
|
4154
4154
|
this.providerId = e, this.signInMethod = t;
|
@@ -4159,19 +4159,19 @@ class In {
|
|
4159
4159
|
* @returns a JSON-serializable representation of this object.
|
4160
4160
|
*/
|
4161
4161
|
toJSON() {
|
4162
|
-
return
|
4162
|
+
return b("not implemented");
|
4163
4163
|
}
|
4164
4164
|
/** @internal */
|
4165
4165
|
_getIdTokenResponse(e) {
|
4166
|
-
return
|
4166
|
+
return b("not implemented");
|
4167
4167
|
}
|
4168
4168
|
/** @internal */
|
4169
4169
|
_linkToIdToken(e, t) {
|
4170
|
-
return
|
4170
|
+
return b("not implemented");
|
4171
4171
|
}
|
4172
4172
|
/** @internal */
|
4173
4173
|
_getReauthenticationResolver(e) {
|
4174
|
-
return
|
4174
|
+
return b("not implemented");
|
4175
4175
|
}
|
4176
4176
|
}
|
4177
4177
|
/**
|
@@ -4190,7 +4190,7 @@ class In {
|
|
4190
4190
|
* See the License for the specific language governing permissions and
|
4191
4191
|
* limitations under the License.
|
4192
4192
|
*/
|
4193
|
-
async function
|
4193
|
+
async function H(n, e) {
|
4194
4194
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ve(n, e));
|
4195
4195
|
}
|
4196
4196
|
/**
|
@@ -4210,7 +4210,7 @@ async function V(n, e) {
|
|
4210
4210
|
* limitations under the License.
|
4211
4211
|
*/
|
4212
4212
|
const _s = "http://localhost";
|
4213
|
-
class U extends
|
4213
|
+
class U extends bn {
|
4214
4214
|
constructor() {
|
4215
4215
|
super(...arguments), this.pendingToken = null;
|
4216
4216
|
}
|
@@ -4253,17 +4253,17 @@ class U extends In {
|
|
4253
4253
|
/** @internal */
|
4254
4254
|
_getIdTokenResponse(e) {
|
4255
4255
|
const t = this.buildRequest();
|
4256
|
-
return
|
4256
|
+
return H(e, t);
|
4257
4257
|
}
|
4258
4258
|
/** @internal */
|
4259
4259
|
_linkToIdToken(e, t) {
|
4260
4260
|
const r = this.buildRequest();
|
4261
|
-
return r.idToken = t,
|
4261
|
+
return r.idToken = t, H(e, r);
|
4262
4262
|
}
|
4263
4263
|
/** @internal */
|
4264
4264
|
_getReauthenticationResolver(e) {
|
4265
4265
|
const t = this.buildRequest();
|
4266
|
-
return t.autoCreate = !1,
|
4266
|
+
return t.autoCreate = !1, H(e, t);
|
4267
4267
|
}
|
4268
4268
|
buildRequest() {
|
4269
4269
|
const e = {
|
@@ -4668,7 +4668,7 @@ class B {
|
|
4668
4668
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
4669
4669
|
}
|
4670
4670
|
static async _fromIdTokenResponse(e, t, r, i = !1) {
|
4671
|
-
const s = await y._fromIdTokenResponse(e, r, i), a =
|
4671
|
+
const s = await y._fromIdTokenResponse(e, r, i), a = Rt(r);
|
4672
4672
|
return new B({
|
4673
4673
|
user: s,
|
4674
4674
|
providerId: a,
|
@@ -4682,7 +4682,7 @@ class B {
|
|
4682
4682
|
/* reload */
|
4683
4683
|
!0
|
4684
4684
|
);
|
4685
|
-
const i =
|
4685
|
+
const i = Rt(r);
|
4686
4686
|
return new B({
|
4687
4687
|
user: e,
|
4688
4688
|
providerId: i,
|
@@ -4691,7 +4691,7 @@ class B {
|
|
4691
4691
|
});
|
4692
4692
|
}
|
4693
4693
|
}
|
4694
|
-
function
|
4694
|
+
function Rt(n) {
|
4695
4695
|
return n.providerId ? n.providerId : "phoneNumber" in n ? "phone" : null;
|
4696
4696
|
}
|
4697
4697
|
/**
|
@@ -4751,7 +4751,7 @@ async function gs(n, e, t = !1) {
|
|
4751
4751
|
*/
|
4752
4752
|
async function vs(n, e, t = !1) {
|
4753
4753
|
const { auth: r } = n;
|
4754
|
-
if (
|
4754
|
+
if (I(r.app))
|
4755
4755
|
return Promise.reject(P(r));
|
4756
4756
|
const i = "reauthenticate";
|
4757
4757
|
try {
|
@@ -4800,8 +4800,8 @@ async function vs(n, e, t = !1) {
|
|
4800
4800
|
* See the License for the specific language governing permissions and
|
4801
4801
|
* limitations under the License.
|
4802
4802
|
*/
|
4803
|
-
async function
|
4804
|
-
if (
|
4803
|
+
async function Is(n, e, t = !1) {
|
4804
|
+
if (I(n.app))
|
4805
4805
|
return Promise.reject(P(n));
|
4806
4806
|
const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
|
4807
4807
|
return t || await n._updateCurrentUser(s.user), s;
|
@@ -4822,7 +4822,7 @@ async function bs(n, e, t = !1) {
|
|
4822
4822
|
* See the License for the specific language governing permissions and
|
4823
4823
|
* limitations under the License.
|
4824
4824
|
*/
|
4825
|
-
async function
|
4825
|
+
async function bs(n, e) {
|
4826
4826
|
return sn(n, "POST", "/v1/accounts:signInWithCustomToken", ve(n, e));
|
4827
4827
|
}
|
4828
4828
|
/**
|
@@ -4842,9 +4842,9 @@ async function Is(n, e) {
|
|
4842
4842
|
* limitations under the License.
|
4843
4843
|
*/
|
4844
4844
|
async function ys(n, e) {
|
4845
|
-
if (
|
4845
|
+
if (I(n.app))
|
4846
4846
|
return Promise.reject(P(n));
|
4847
|
-
const t =
|
4847
|
+
const t = Ie(n), r = await bs(t, {
|
4848
4848
|
token: e,
|
4849
4849
|
returnSecureToken: !0
|
4850
4850
|
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
@@ -4914,7 +4914,7 @@ class Tn {
|
|
4914
4914
|
* See the License for the specific language governing permissions and
|
4915
4915
|
* limitations under the License.
|
4916
4916
|
*/
|
4917
|
-
const ws = 1e3,
|
4917
|
+
const ws = 1e3, Rs = 10;
|
4918
4918
|
class wn extends Tn {
|
4919
4919
|
constructor() {
|
4920
4920
|
super(
|
@@ -4942,7 +4942,7 @@ class wn extends Tn {
|
|
4942
4942
|
const a = this.storage.getItem(r);
|
4943
4943
|
!t && this.localCache[r] === a || this.notifyListeners(r, a);
|
4944
4944
|
}, s = this.storage.getItem(r);
|
4945
|
-
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i,
|
4945
|
+
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, Rs) : i();
|
4946
4946
|
}
|
4947
4947
|
notifyListeners(e, t) {
|
4948
4948
|
this.localCache[e] = t;
|
@@ -4994,7 +4994,7 @@ class wn extends Tn {
|
|
4994
4994
|
}
|
4995
4995
|
}
|
4996
4996
|
wn.type = "LOCAL";
|
4997
|
-
const
|
4997
|
+
const ks = wn;
|
4998
4998
|
/**
|
4999
4999
|
* @license
|
5000
5000
|
* Copyright 2020 Google LLC
|
@@ -5011,7 +5011,7 @@ const Rs = wn;
|
|
5011
5011
|
* See the License for the specific language governing permissions and
|
5012
5012
|
* limitations under the License.
|
5013
5013
|
*/
|
5014
|
-
class
|
5014
|
+
class Rn extends Tn {
|
5015
5015
|
constructor() {
|
5016
5016
|
super(
|
5017
5017
|
() => window.sessionStorage,
|
@@ -5024,8 +5024,8 @@ class kn extends Tn {
|
|
5024
5024
|
_removeListener(e, t) {
|
5025
5025
|
}
|
5026
5026
|
}
|
5027
|
-
|
5028
|
-
const
|
5027
|
+
Rn.type = "SESSION";
|
5028
|
+
const kn = Rn;
|
5029
5029
|
/**
|
5030
5030
|
* @license
|
5031
5031
|
* Copyright 2019 Google LLC
|
@@ -5073,7 +5073,7 @@ function Ss(n) {
|
|
5073
5073
|
* See the License for the specific language governing permissions and
|
5074
5074
|
* limitations under the License.
|
5075
5075
|
*/
|
5076
|
-
class
|
5076
|
+
class be {
|
5077
5077
|
constructor(e) {
|
5078
5078
|
this.eventTarget = e, this.handlersMap = {}, this.boundEventHandler = this.handleEvent.bind(this);
|
5079
5079
|
}
|
@@ -5087,7 +5087,7 @@ class Ie {
|
|
5087
5087
|
const t = this.receivers.find((i) => i.isListeningto(e));
|
5088
5088
|
if (t)
|
5089
5089
|
return t;
|
5090
|
-
const r = new
|
5090
|
+
const r = new be(e);
|
5091
5091
|
return this.receivers.push(r), r;
|
5092
5092
|
}
|
5093
5093
|
isListeningto(e) {
|
@@ -5141,7 +5141,7 @@ class Ie {
|
|
5141
5141
|
this.handlersMap[e] && t && this.handlersMap[e].delete(t), (!t || this.handlersMap[e].size === 0) && delete this.handlersMap[e], Object.keys(this.handlersMap).length === 0 && this.eventTarget.removeEventListener("message", this.boundEventHandler);
|
5142
5142
|
}
|
5143
5143
|
}
|
5144
|
-
|
5144
|
+
be.receivers = [];
|
5145
5145
|
/**
|
5146
5146
|
* @license
|
5147
5147
|
* Copyright 2020 Google LLC
|
@@ -5356,7 +5356,7 @@ function Ms() {
|
|
5356
5356
|
const n = indexedDB.deleteDatabase(An);
|
5357
5357
|
return new re(n).toPromise();
|
5358
5358
|
}
|
5359
|
-
function
|
5359
|
+
function Ve() {
|
5360
5360
|
const n = indexedDB.open(An, Ps);
|
5361
5361
|
return new Promise((e, t) => {
|
5362
5362
|
n.addEventListener("error", () => {
|
@@ -5370,11 +5370,11 @@ function je() {
|
|
5370
5370
|
}
|
5371
5371
|
}), n.addEventListener("success", async () => {
|
5372
5372
|
const r = n.result;
|
5373
|
-
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await
|
5373
|
+
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await Ve()));
|
5374
5374
|
});
|
5375
5375
|
});
|
5376
5376
|
}
|
5377
|
-
async function
|
5377
|
+
async function kt(n, e, t) {
|
5378
5378
|
const r = ye(n, !0).put({
|
5379
5379
|
[On]: e,
|
5380
5380
|
value: t
|
@@ -5397,7 +5397,7 @@ class Cn {
|
|
5397
5397
|
});
|
5398
5398
|
}
|
5399
5399
|
async _openDb() {
|
5400
|
-
return this.db ? this.db : (this.db = await
|
5400
|
+
return this.db ? this.db : (this.db = await Ve(), this.db);
|
5401
5401
|
}
|
5402
5402
|
async _withRetries(e) {
|
5403
5403
|
let t = 0;
|
@@ -5422,7 +5422,7 @@ class Cn {
|
|
5422
5422
|
* As the worker we should listen to events from the main window.
|
5423
5423
|
*/
|
5424
5424
|
async initializeReceiver() {
|
5425
|
-
this.receiver =
|
5425
|
+
this.receiver = be._getInstance(Ds()), this.receiver._subscribe("keyChanged", async (e, t) => ({
|
5426
5426
|
keyProcessed: (await this._poll()).includes(t.key)
|
5427
5427
|
})), this.receiver._subscribe("ping", async (e, t) => [
|
5428
5428
|
"keyChanged"
|
@@ -5478,8 +5478,8 @@ class Cn {
|
|
5478
5478
|
try {
|
5479
5479
|
if (!indexedDB)
|
5480
5480
|
return !1;
|
5481
|
-
const e = await
|
5482
|
-
return await
|
5481
|
+
const e = await Ve();
|
5482
|
+
return await kt(e, _e, "1"), await St(e, _e), !0;
|
5483
5483
|
} catch {
|
5484
5484
|
}
|
5485
5485
|
return !1;
|
@@ -5493,7 +5493,7 @@ class Cn {
|
|
5493
5493
|
}
|
5494
5494
|
}
|
5495
5495
|
async _set(e, t) {
|
5496
|
-
return this._withPendingWrite(async () => (await this._withRetries((r) =>
|
5496
|
+
return this._withPendingWrite(async () => (await this._withRetries((r) => kt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
|
5497
5497
|
}
|
5498
5498
|
async _get(e) {
|
5499
5499
|
const t = await this._withRetries((r) => Ls(r, e));
|
@@ -5540,7 +5540,7 @@ class Cn {
|
|
5540
5540
|
}
|
5541
5541
|
}
|
5542
5542
|
Cn.type = "LOCAL";
|
5543
|
-
const
|
5543
|
+
const xs = Cn;
|
5544
5544
|
new te(3e4, 6e4);
|
5545
5545
|
/**
|
5546
5546
|
* @license
|
@@ -5558,7 +5558,7 @@ new te(3e4, 6e4);
|
|
5558
5558
|
* See the License for the specific language governing permissions and
|
5559
5559
|
* limitations under the License.
|
5560
5560
|
*/
|
5561
|
-
function
|
5561
|
+
function Fs(n, e) {
|
5562
5562
|
return e ? E(e) : (u(
|
5563
5563
|
n._popupRedirectResolver,
|
5564
5564
|
n,
|
@@ -5582,7 +5582,7 @@ function xs(n, e) {
|
|
5582
5582
|
* See the License for the specific language governing permissions and
|
5583
5583
|
* limitations under the License.
|
5584
5584
|
*/
|
5585
|
-
class et extends
|
5585
|
+
class et extends bn {
|
5586
5586
|
constructor(e) {
|
5587
5587
|
super(
|
5588
5588
|
"custom",
|
@@ -5591,13 +5591,13 @@ class et extends In {
|
|
5591
5591
|
), this.params = e;
|
5592
5592
|
}
|
5593
5593
|
_getIdTokenResponse(e) {
|
5594
|
-
return
|
5594
|
+
return H(e, this._buildIdpRequest());
|
5595
5595
|
}
|
5596
5596
|
_linkToIdToken(e, t) {
|
5597
|
-
return
|
5597
|
+
return H(e, this._buildIdpRequest(t));
|
5598
5598
|
}
|
5599
5599
|
_getReauthenticationResolver(e) {
|
5600
|
-
return
|
5600
|
+
return H(e, this._buildIdpRequest());
|
5601
5601
|
}
|
5602
5602
|
_buildIdpRequest(e) {
|
5603
5603
|
const t = {
|
@@ -5612,10 +5612,10 @@ class et extends In {
|
|
5612
5612
|
return e && (t.idToken = e), t;
|
5613
5613
|
}
|
5614
5614
|
}
|
5615
|
-
function Hs(n) {
|
5616
|
-
return bs(n.auth, new et(n), n.bypassAuthState);
|
5617
|
-
}
|
5618
5615
|
function Ws(n) {
|
5616
|
+
return Is(n.auth, new et(n), n.bypassAuthState);
|
5617
|
+
}
|
5618
|
+
function js(n) {
|
5619
5619
|
const { auth: e, user: t } = n;
|
5620
5620
|
return u(
|
5621
5621
|
t,
|
@@ -5624,7 +5624,7 @@ function Ws(n) {
|
|
5624
5624
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5625
5625
|
), vs(t, new et(n), n.bypassAuthState);
|
5626
5626
|
}
|
5627
|
-
async function
|
5627
|
+
async function Vs(n) {
|
5628
5628
|
const { auth: e, user: t } = n;
|
5629
5629
|
return u(
|
5630
5630
|
t,
|
@@ -5691,13 +5691,13 @@ class Nn {
|
|
5691
5691
|
switch (e) {
|
5692
5692
|
case "signInViaPopup":
|
5693
5693
|
case "signInViaRedirect":
|
5694
|
-
return
|
5694
|
+
return Ws;
|
5695
5695
|
case "linkViaPopup":
|
5696
5696
|
case "linkViaRedirect":
|
5697
|
-
return
|
5697
|
+
return Vs;
|
5698
5698
|
case "reauthViaPopup":
|
5699
5699
|
case "reauthViaRedirect":
|
5700
|
-
return
|
5700
|
+
return js;
|
5701
5701
|
default:
|
5702
5702
|
w(
|
5703
5703
|
this.auth,
|
@@ -5707,10 +5707,10 @@ class Nn {
|
|
5707
5707
|
}
|
5708
5708
|
}
|
5709
5709
|
resolve(e) {
|
5710
|
-
|
5710
|
+
R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
|
5711
5711
|
}
|
5712
5712
|
reject(e) {
|
5713
|
-
|
5713
|
+
R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
|
5714
5714
|
}
|
5715
5715
|
unregisterAndCleanUp() {
|
5716
5716
|
this.eventManager && this.eventManager.unregisterConsumer(this), this.pendingPromise = null, this.cleanUp();
|
@@ -5732,10 +5732,10 @@ class Nn {
|
|
5732
5732
|
* See the License for the specific language governing permissions and
|
5733
5733
|
* limitations under the License.
|
5734
5734
|
*/
|
5735
|
-
const
|
5736
|
-
class
|
5735
|
+
const Hs = new te(2e3, 1e4);
|
5736
|
+
class F extends Nn {
|
5737
5737
|
constructor(e, t, r, i, s) {
|
5738
|
-
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null,
|
5738
|
+
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, F.currentPopupAction && F.currentPopupAction.cancel(), F.currentPopupAction = this;
|
5739
5739
|
}
|
5740
5740
|
async executeNotNull() {
|
5741
5741
|
const e = await this.execute();
|
@@ -5747,7 +5747,7 @@ class x extends Nn {
|
|
5747
5747
|
), e;
|
5748
5748
|
}
|
5749
5749
|
async onExecution() {
|
5750
|
-
|
5750
|
+
R(this.filter.length === 1, "Popup operations only handle one event");
|
5751
5751
|
const e = Qe();
|
5752
5752
|
this.authWindow = await this.resolver._openPopup(
|
5753
5753
|
this.auth,
|
@@ -5777,7 +5777,7 @@ class x extends Nn {
|
|
5777
5777
|
));
|
5778
5778
|
}
|
5779
5779
|
cleanUp() {
|
5780
|
-
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null,
|
5780
|
+
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, F.currentPopupAction = null;
|
5781
5781
|
}
|
5782
5782
|
pollUserCancellation() {
|
5783
5783
|
const e = () => {
|
@@ -5796,12 +5796,12 @@ class x extends Nn {
|
|
5796
5796
|
);
|
5797
5797
|
return;
|
5798
5798
|
}
|
5799
|
-
this.pollId = window.setTimeout(e,
|
5799
|
+
this.pollId = window.setTimeout(e, Hs.get());
|
5800
5800
|
};
|
5801
5801
|
e();
|
5802
5802
|
}
|
5803
5803
|
}
|
5804
|
-
|
5804
|
+
F.currentPopupAction = null;
|
5805
5805
|
/**
|
5806
5806
|
* @license
|
5807
5807
|
* Copyright 2020 Google LLC
|
@@ -5866,7 +5866,7 @@ class zs extends Nn {
|
|
5866
5866
|
}
|
5867
5867
|
}
|
5868
5868
|
async function $s(n, e) {
|
5869
|
-
const t =
|
5869
|
+
const t = Zs(e), r = Xs(n);
|
5870
5870
|
if (!await r._isAvailable())
|
5871
5871
|
return !1;
|
5872
5872
|
const i = await r._get(t) === "true";
|
@@ -5875,16 +5875,16 @@ async function $s(n, e) {
|
|
5875
5875
|
function Js(n, e) {
|
5876
5876
|
oe.set(n._key(), e);
|
5877
5877
|
}
|
5878
|
-
function
|
5878
|
+
function Xs(n) {
|
5879
5879
|
return E(n._redirectPersistence);
|
5880
5880
|
}
|
5881
|
-
function
|
5881
|
+
function Zs(n) {
|
5882
5882
|
return ae(Gs, n.config.apiKey, n.name);
|
5883
5883
|
}
|
5884
5884
|
async function Ys(n, e, t = !1) {
|
5885
|
-
if (
|
5885
|
+
if (I(n.app))
|
5886
5886
|
return Promise.reject(P(n));
|
5887
|
-
const r =
|
5887
|
+
const r = Ie(n), i = Fs(r, e), a = await new zs(r, i, t).execute();
|
5888
5888
|
return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
|
5889
5889
|
}
|
5890
5890
|
/**
|
@@ -6012,7 +6012,7 @@ async function ra(n) {
|
|
6012
6012
|
);
|
6013
6013
|
}
|
6014
6014
|
function ia(n) {
|
6015
|
-
const e =
|
6015
|
+
const e = We(), { protocol: t, hostname: r } = new URL(e);
|
6016
6016
|
if (n.startsWith("chrome-extension://")) {
|
6017
6017
|
const a = new URL(n);
|
6018
6018
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
@@ -6129,7 +6129,7 @@ function pa(n) {
|
|
6129
6129
|
"auth-domain-config-required"
|
6130
6130
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
6131
6131
|
);
|
6132
|
-
const t = e.emulator ?
|
6132
|
+
const t = e.emulator ? Ze(e, da) : `https://${n.config.authDomain}/${la}`, r = {
|
6133
6133
|
apiKey: e.apiKey,
|
6134
6134
|
appName: n.name,
|
6135
6135
|
v: ee
|
@@ -6192,7 +6192,7 @@ const fa = {
|
|
6192
6192
|
resizable: "yes",
|
6193
6193
|
statusbar: "yes",
|
6194
6194
|
toolbar: "no"
|
6195
|
-
}, _a = 500, ga = 600, va = "_blank",
|
6195
|
+
}, _a = 500, ga = 600, va = "_blank", Ia = "http://localhost";
|
6196
6196
|
class Ct {
|
6197
6197
|
constructor(e) {
|
6198
6198
|
this.window = e, this.associatedEvent = null;
|
@@ -6205,7 +6205,7 @@ class Ct {
|
|
6205
6205
|
}
|
6206
6206
|
}
|
6207
6207
|
}
|
6208
|
-
function
|
6208
|
+
function ba(n, e, t, r = _a, i = ga) {
|
6209
6209
|
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
6210
6210
|
let c = "";
|
6211
6211
|
const o = Object.assign(Object.assign({}, fa), {
|
@@ -6214,8 +6214,8 @@ function Ia(n, e, t, r = _a, i = ga) {
|
|
6214
6214
|
top: s,
|
6215
6215
|
left: a
|
6216
6216
|
}), l = f().toLowerCase();
|
6217
|
-
t && (c = hn(l) ? va : t), dn(l) && (e = e ||
|
6218
|
-
const d = Object.entries(o).reduce((m, [v,
|
6217
|
+
t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
|
6218
|
+
const d = Object.entries(o).reduce((m, [v, x]) => `${m}${v}=${x},`, "");
|
6219
6219
|
if (es(l) && c !== "_self")
|
6220
6220
|
return ya(e || "", c), new Ct(null);
|
6221
6221
|
const h = window.open(e || "", c, d);
|
@@ -6288,10 +6288,10 @@ async function Nt(n, e, t, r, i, s) {
|
|
6288
6288
|
for (const d of Object.keys(c))
|
6289
6289
|
c[d] === void 0 && delete c[d];
|
6290
6290
|
const o = await n._getAppCheckToken(), l = o ? `#${wa}=${encodeURIComponent(o)}` : "";
|
6291
|
-
return `${
|
6291
|
+
return `${Ra(n)}?${Q(c).slice(1)}${l}`;
|
6292
6292
|
}
|
6293
|
-
function
|
6294
|
-
return n.emulator ?
|
6293
|
+
function Ra({ config: n }) {
|
6294
|
+
return n.emulator ? Ze(n, Ta) : `https://${n.authDomain}/${Ea}`;
|
6295
6295
|
}
|
6296
6296
|
/**
|
6297
6297
|
* @license
|
@@ -6310,21 +6310,21 @@ function ka({ config: n }) {
|
|
6310
6310
|
* limitations under the License.
|
6311
6311
|
*/
|
6312
6312
|
const De = "webStorageSupport";
|
6313
|
-
class
|
6313
|
+
class ka {
|
6314
6314
|
constructor() {
|
6315
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence =
|
6315
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Ys, this._overrideRedirectResult = Js;
|
6316
6316
|
}
|
6317
6317
|
// Wrapping in async even though we don't await anywhere in order
|
6318
6318
|
// to make sure errors are raised as promise rejections
|
6319
6319
|
async _openPopup(e, t, r, i) {
|
6320
6320
|
var s;
|
6321
|
-
|
6322
|
-
const a = await Nt(e, t, r,
|
6323
|
-
return
|
6321
|
+
R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6322
|
+
const a = await Nt(e, t, r, We(), i);
|
6323
|
+
return ba(e, a, Qe());
|
6324
6324
|
}
|
6325
6325
|
async _openRedirect(e, t, r, i) {
|
6326
6326
|
await this._originValidation(e);
|
6327
|
-
const s = await Nt(e, t, r,
|
6327
|
+
const s = await Nt(e, t, r, We(), i);
|
6328
6328
|
return Os(s), new Promise(() => {
|
6329
6329
|
});
|
6330
6330
|
}
|
@@ -6332,7 +6332,7 @@ class Ra {
|
|
6332
6332
|
const t = e._key();
|
6333
6333
|
if (this.eventManagers[t]) {
|
6334
6334
|
const { manager: i, promise: s } = this.eventManagers[t];
|
6335
|
-
return i ? Promise.resolve(i) : (
|
6335
|
+
return i ? Promise.resolve(i) : (R(s, "If manager is not set, promise should be"), s);
|
6336
6336
|
}
|
6337
6337
|
const r = this.initAndGetManager(e);
|
6338
6338
|
return this.eventManagers[t] = { promise: r }, r.catch(() => {
|
@@ -6370,7 +6370,7 @@ class Ra {
|
|
6370
6370
|
return gn() || un() || Ke();
|
6371
6371
|
}
|
6372
6372
|
}
|
6373
|
-
const Sa =
|
6373
|
+
const Sa = ka;
|
6374
6374
|
var Dt = "@firebase/auth", Pt = "1.7.9";
|
6375
6375
|
/**
|
6376
6376
|
* @license
|
@@ -6456,7 +6456,7 @@ function Oa(n) {
|
|
6456
6456
|
}
|
6457
6457
|
}
|
6458
6458
|
function Ca(n) {
|
6459
|
-
|
6459
|
+
Z(new G(
|
6460
6460
|
"auth",
|
6461
6461
|
(e, { options: t }) => {
|
6462
6462
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
|
@@ -6482,10 +6482,10 @@ function Ca(n) {
|
|
6482
6482
|
"auth-internal"
|
6483
6483
|
/* _ComponentName.AUTH_INTERNAL */
|
6484
6484
|
).initialize();
|
6485
|
-
})),
|
6485
|
+
})), Z(new G(
|
6486
6486
|
"auth-internal",
|
6487
6487
|
(e) => {
|
6488
|
-
const t =
|
6488
|
+
const t = Ie(e.getProvider(
|
6489
6489
|
"auth"
|
6490
6490
|
/* _ComponentName.AUTH */
|
6491
6491
|
).getImmediate());
|
@@ -6496,7 +6496,7 @@ function Ca(n) {
|
|
6496
6496
|
).setInstantiationMode(
|
6497
6497
|
"EXPLICIT"
|
6498
6498
|
/* InstantiationMode.EXPLICIT */
|
6499
|
-
)),
|
6499
|
+
)), W(Dt, Pt, Oa(n)), W(Dt, Pt, "esm2017");
|
6500
6500
|
}
|
6501
6501
|
/**
|
6502
6502
|
* @license
|
@@ -6528,16 +6528,16 @@ const Pa = (n) => async (e) => {
|
|
6528
6528
|
} : {}
|
6529
6529
|
}));
|
6530
6530
|
};
|
6531
|
-
function Ma(n =
|
6532
|
-
const e =
|
6531
|
+
function Ma(n = ki()) {
|
6532
|
+
const e = Zt(n, "auth");
|
6533
6533
|
if (e.isInitialized())
|
6534
6534
|
return e.getImmediate();
|
6535
6535
|
const t = us(n, {
|
6536
6536
|
popupRedirectResolver: Sa,
|
6537
6537
|
persistence: [
|
6538
|
-
|
6539
|
-
|
6540
|
-
|
6538
|
+
xs,
|
6539
|
+
ks,
|
6540
|
+
kn
|
6541
6541
|
]
|
6542
6542
|
}), r = zt("authTokenSyncURL");
|
6543
6543
|
if (r && typeof isSecureContext == "boolean" && isSecureContext) {
|
@@ -6547,7 +6547,7 @@ function Ma(n = Ri()) {
|
|
6547
6547
|
Ts(t, a, () => a(t.currentUser)), Es(t, (c) => a(c));
|
6548
6548
|
}
|
6549
6549
|
}
|
6550
|
-
const i =
|
6550
|
+
const i = Ht("auth");
|
6551
6551
|
return i && ps(t, `http://${i}`), t;
|
6552
6552
|
}
|
6553
6553
|
function La() {
|
@@ -6587,7 +6587,7 @@ Ua.beforeEach(async (n) => {
|
|
6587
6587
|
currentBusiness: r,
|
6588
6588
|
readRestaurants: i,
|
6589
6589
|
changeRestaurant: s
|
6590
|
-
} =
|
6590
|
+
} = He();
|
6591
6591
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
|
6592
6592
|
const c = J(e, (o) => {
|
6593
6593
|
var l;
|
@@ -6610,7 +6610,7 @@ Ua.beforeEach(async (n) => {
|
|
6610
6610
|
const Ba = /* @__PURE__ */ Ut({
|
6611
6611
|
__name: "AppSidebar",
|
6612
6612
|
setup(n) {
|
6613
|
-
const e =
|
6613
|
+
const e = He(), t = Bn(), { t: r } = Gn(), i = Fn(t.currentRoute.value.name);
|
6614
6614
|
J(t.currentRoute, () => {
|
6615
6615
|
let l = t.currentRoute.value.name;
|
6616
6616
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
@@ -6627,7 +6627,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6627
6627
|
return t.push({ name: l.name });
|
6628
6628
|
}
|
6629
6629
|
};
|
6630
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6630
|
+
return l.meta.sidebarNew && (h.badge = () => Wn($n.FmPill, { label: "New" })), h;
|
6631
6631
|
}).filter((l) => !!l), a = le.map((l) => {
|
6632
6632
|
var d;
|
6633
6633
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6684,7 +6684,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6684
6684
|
});
|
6685
6685
|
return (l, d) => {
|
6686
6686
|
const h = Bt("FmCollapsibleTabs");
|
6687
|
-
return
|
6687
|
+
return xt(), Ft(h, {
|
6688
6688
|
modelValue: i.value,
|
6689
6689
|
"onUpdate:modelValue": d[0] || (d[0] = (m) => i.value = m),
|
6690
6690
|
items: o.value,
|
@@ -6693,45 +6693,45 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6693
6693
|
};
|
6694
6694
|
}
|
6695
6695
|
});
|
6696
|
-
var
|
6696
|
+
var xa = { authClientId: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" }, assetBucketUrl: "static.feedme.cc" };
|
6697
6697
|
const $a = /* @__PURE__ */ Ut({
|
6698
6698
|
__name: "App",
|
6699
6699
|
setup(n) {
|
6700
|
-
const { state: e } = sr(), t =
|
6700
|
+
const { state: e } = sr(), t = He(), r = xn(), i = Yt(xa.firebase);
|
6701
6701
|
async function s() {
|
6702
6702
|
const a = t.sessionUser.value;
|
6703
6703
|
if (!a || !a.token) return;
|
6704
6704
|
const c = await a.getCustomToken(), o = Ma(i);
|
6705
6705
|
await ys(o, c);
|
6706
6706
|
}
|
6707
|
-
return s(), J(t.sessionUser, s),
|
6707
|
+
return s(), J(t.sessionUser, s), jn(() => {
|
6708
6708
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6709
|
-
}),
|
6709
|
+
}), Vn(() => {
|
6710
6710
|
t.registerSidebarComponent(Ba);
|
6711
6711
|
}), (a, c) => {
|
6712
6712
|
const o = Bt("RouterView");
|
6713
|
-
return
|
6714
|
-
key:
|
6713
|
+
return xt(), Ft(o, {
|
6714
|
+
key: Hn(r).path
|
6715
6715
|
});
|
6716
6716
|
};
|
6717
6717
|
}
|
6718
6718
|
}), Ja = {
|
6719
6719
|
"en-US": qn,
|
6720
6720
|
"zh-CN": ir
|
6721
|
-
},
|
6721
|
+
}, Xa = [...le, ...Ge];
|
6722
6722
|
export {
|
6723
6723
|
G as C,
|
6724
6724
|
M as F,
|
6725
6725
|
ee as S,
|
6726
|
-
|
6727
|
-
|
6726
|
+
Z as _,
|
6727
|
+
Zt as a,
|
6728
6728
|
Ga as b,
|
6729
|
-
|
6729
|
+
ki as c,
|
6730
6730
|
za as d,
|
6731
6731
|
gt as e,
|
6732
|
-
|
6732
|
+
Xa as f,
|
6733
6733
|
z as g,
|
6734
6734
|
$a as h,
|
6735
6735
|
Ja as i,
|
6736
|
-
|
6736
|
+
W as r
|
6737
6737
|
};
|