@feedmepos/mf-payment 1.1.13 → 1.1.14-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PayoutAccount-lT5iiQa-.js → PayoutAccount-BhC9GdVa.js} +7 -6
- package/dist/{PayoutAccount-DH1z58gO.js → PayoutAccount-BjcP1n1D.js} +8 -7
- package/dist/{PayoutAccountSetting-BuUync07.js → PayoutAccountSetting-61UI9TTU.js} +3 -3
- package/dist/{Restaurant-31NaCvCd.js → Restaurant-BEjGTeZK.js} +4 -4
- package/dist/{RestaurantSetting-ByCb54gA.js → RestaurantSetting-CH5KXJd-.js} +3 -3
- package/dist/{Settlement-MPJE29Ry.js → Settlement-CpWtqcbV.js} +3 -3
- package/dist/{Settlement-DUHtGLUl.js → Settlement-Ekk7fPLv.js} +3 -3
- package/dist/{SettlementTransactions-BIs9YpoK.js → SettlementTransactions-CytrIXUM.js} +3 -3
- package/dist/{SettlementTransactions-BAMliC1r.js → SettlementTransactions-DddCRhIs.js} +3 -3
- package/dist/{Terminal-DID1yck1.js → Terminal-5BRplzny.js} +6 -6
- package/dist/TerminalSetting-D8nuI1Gv.js +587 -0
- package/dist/{Transaction-VhRzUzbg.js → Transaction-Bnm30wxt.js} +9 -8
- package/dist/{Transaction-Bfr51t2I.js → Transaction-D2qgyVJA.js} +5 -5
- package/dist/{TransactionOld-DP6geerP.js → TransactionOld-DL9vMDXr.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-DMYLTNO7.js → TransactionTable.vue_vue_type_script_setup_true_lang-PXvQ-nrK.js} +3 -3
- package/dist/{app-dky8a2sP.js → app--PNGHtZ3.js} +338 -338
- package/dist/app.js +1 -1
- package/dist/{assets-CGSnvwg_.js → assets-BAvqcM2y.js} +30 -28
- package/dist/{grafana-DpTNZERD.js → grafana-XJlaGQ8C.js} +7 -10
- package/dist/{index-yCRcX8ql.js → index-B4xE-ETp.js} +12862 -12264
- package/dist/{index-O5yk1zsL.js → index-DXzezAJQ.js} +4 -3
- package/dist/{index-B_tCR11q.js → index-DsT_D8r0.js} +1 -1
- package/dist/index-DtHh0OLe.js +162 -0
- package/dist/{index-KziNLTAM.js → index-SqBpMlb0.js} +1 -1
- package/dist/{index-l4KSc_D9.js → index-pPbE76Vg.js} +1 -1
- package/dist/{index-CcFjStnT.js → index-s6srEUqZ.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-JJ6R-Wfm.js → index.vue_vue_type_script_setup_true_lang-aFl1Lbk1.js} +1 -1
- package/dist/model/transaction.d.ts +1 -2
- package/dist/package.json +2 -2
- package/dist/payout-account-TSBuddbd.js +1953 -0
- 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 +16 -16
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +16 -16
- 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/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
- 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 +22 -28
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +22 -28
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +22 -28
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +22 -28
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +22 -28
- package/dist/views/admin/terminal/tabs/SoftspaceGateway.vue.d.ts +90 -0
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +22 -28
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +22 -28
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +40 -40
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +20 -20
- package/package.json +2 -2
- package/dist/TerminalSetting-B9w9AaTE.js +0 -497
- package/dist/payout-account-BVO1uUOe.js +0 -1819
@@ -1,9 +1,9 @@
|
|
1
1
|
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as Fn } from "vue-router";
|
2
|
-
import { computed as Lt, watch as
|
3
|
-
import { useCoreStore as
|
2
|
+
import { computed as Lt, watch as $, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as Hn, onMounted as Gn, onBeforeMount as Vn, unref as Wn } from "vue";
|
3
|
+
import { useCoreStore as We, useI18n as jn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
|
-
import { components as
|
6
|
-
const
|
5
|
+
import { components as Zn } from "@feedmepos/ui-library";
|
6
|
+
const $n = {
|
7
7
|
components: {
|
8
8
|
select: "Select filter entity",
|
9
9
|
restaurant: "Restaurant",
|
@@ -151,7 +151,7 @@ const Zn = {
|
|
151
151
|
}
|
152
152
|
}
|
153
153
|
}, Jn = {
|
154
|
-
payment:
|
154
|
+
payment: $n
|
155
155
|
}, Xn = {
|
156
156
|
components: {
|
157
157
|
select: "选择筛选对象",
|
@@ -309,7 +309,7 @@ const Zn = {
|
|
309
309
|
sidebarDisplay: "Restaurants",
|
310
310
|
section: "payment-gateway"
|
311
311
|
},
|
312
|
-
component: () => import("./Restaurant-
|
312
|
+
component: () => import("./Restaurant-BEjGTeZK.js")
|
313
313
|
},
|
314
314
|
{
|
315
315
|
path: "/admin/restaurants/:restaurantId",
|
@@ -318,7 +318,7 @@ const Zn = {
|
|
318
318
|
meta: {
|
319
319
|
parent: "mf-payment-admin.restaurant"
|
320
320
|
},
|
321
|
-
component: () => import("./RestaurantSetting-
|
321
|
+
component: () => import("./RestaurantSetting-CH5KXJd-.js")
|
322
322
|
},
|
323
323
|
{
|
324
324
|
path: "/admin/payout-accounts",
|
@@ -327,7 +327,7 @@ const Zn = {
|
|
327
327
|
sidebarDisplay: "Payout Accounts",
|
328
328
|
section: "payment-gateway"
|
329
329
|
},
|
330
|
-
component: () => import("./PayoutAccount-
|
330
|
+
component: () => import("./PayoutAccount-BjcP1n1D.js")
|
331
331
|
},
|
332
332
|
{
|
333
333
|
path: "/admin/payout-accounts/:accountId",
|
@@ -336,7 +336,7 @@ const Zn = {
|
|
336
336
|
meta: {
|
337
337
|
parent: "mf-payment-admin.payout-account"
|
338
338
|
},
|
339
|
-
component: () => import("./PayoutAccountSetting-
|
339
|
+
component: () => import("./PayoutAccountSetting-61UI9TTU.js")
|
340
340
|
},
|
341
341
|
{
|
342
342
|
path: "/admin/terminal/pos",
|
@@ -345,7 +345,7 @@ const Zn = {
|
|
345
345
|
sidebarDisplay: "POS",
|
346
346
|
section: "device"
|
347
347
|
},
|
348
|
-
component: () => import("./Terminal-
|
348
|
+
component: () => import("./Terminal-5BRplzny.js"),
|
349
349
|
props: {
|
350
350
|
type: "POS"
|
351
351
|
}
|
@@ -357,7 +357,7 @@ const Zn = {
|
|
357
357
|
sidebarDisplay: "Kiosks",
|
358
358
|
section: "device"
|
359
359
|
},
|
360
|
-
component: () => import("./Terminal-
|
360
|
+
component: () => import("./Terminal-5BRplzny.js"),
|
361
361
|
props: {
|
362
362
|
type: "KIOSK"
|
363
363
|
}
|
@@ -369,7 +369,7 @@ const Zn = {
|
|
369
369
|
sidebarDisplay: "Terminals",
|
370
370
|
section: "device"
|
371
371
|
},
|
372
|
-
component: () => import("./Terminal-
|
372
|
+
component: () => import("./Terminal-5BRplzny.js"),
|
373
373
|
props: {
|
374
374
|
type: "TERMINAL"
|
375
375
|
}
|
@@ -381,7 +381,7 @@ const Zn = {
|
|
381
381
|
meta: {
|
382
382
|
parent: "mf-payment-admin.pos"
|
383
383
|
},
|
384
|
-
component: () => import("./TerminalSetting-
|
384
|
+
component: () => import("./TerminalSetting-D8nuI1Gv.js")
|
385
385
|
},
|
386
386
|
{
|
387
387
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -390,7 +390,7 @@ const Zn = {
|
|
390
390
|
meta: {
|
391
391
|
parent: "mf-payment-admin.kiosk"
|
392
392
|
},
|
393
|
-
component: () => import("./TerminalSetting-
|
393
|
+
component: () => import("./TerminalSetting-D8nuI1Gv.js")
|
394
394
|
},
|
395
395
|
{
|
396
396
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -399,7 +399,7 @@ const Zn = {
|
|
399
399
|
meta: {
|
400
400
|
parent: "mf-payment-admin.terminal"
|
401
401
|
},
|
402
|
-
component: () => import("./TerminalSetting-
|
402
|
+
component: () => import("./TerminalSetting-D8nuI1Gv.js")
|
403
403
|
},
|
404
404
|
{
|
405
405
|
path: "/admin/transaction",
|
@@ -407,7 +407,7 @@ const Zn = {
|
|
407
407
|
meta: {
|
408
408
|
sidebarDisplay: "Transactions"
|
409
409
|
},
|
410
|
-
component: () => import("./Transaction-
|
410
|
+
component: () => import("./Transaction-D2qgyVJA.js")
|
411
411
|
},
|
412
412
|
{
|
413
413
|
path: "/admin/settlement",
|
@@ -415,7 +415,7 @@ const Zn = {
|
|
415
415
|
meta: {
|
416
416
|
sidebarDisplay: "Settlements"
|
417
417
|
},
|
418
|
-
component: () => import("./Settlement-
|
418
|
+
component: () => import("./Settlement-Ekk7fPLv.js")
|
419
419
|
},
|
420
420
|
{
|
421
421
|
path: "/admin/settlement/:settlementId",
|
@@ -424,9 +424,9 @@ const Zn = {
|
|
424
424
|
meta: {
|
425
425
|
parent: "mf-payment-admin.settlement"
|
426
426
|
},
|
427
|
-
component: () => import("./SettlementTransactions-
|
427
|
+
component: () => import("./SettlementTransactions-DddCRhIs.js")
|
428
428
|
}
|
429
|
-
],
|
429
|
+
], je = [
|
430
430
|
{
|
431
431
|
path: "",
|
432
432
|
redirect: { name: "mf-payment-payout-account" }
|
@@ -434,7 +434,7 @@ const Zn = {
|
|
434
434
|
{
|
435
435
|
path: "/payout-account",
|
436
436
|
name: "mf-payment-payout-account",
|
437
|
-
component: () => import("./PayoutAccount-
|
437
|
+
component: () => import("./PayoutAccount-BhC9GdVa.js"),
|
438
438
|
meta: {
|
439
439
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
440
440
|
}
|
@@ -442,7 +442,7 @@ const Zn = {
|
|
442
442
|
{
|
443
443
|
path: "/transaction-old",
|
444
444
|
name: "mf-payment-old-transaction",
|
445
|
-
component: () => import("./TransactionOld-
|
445
|
+
component: () => import("./TransactionOld-DL9vMDXr.js"),
|
446
446
|
meta: {
|
447
447
|
sidebarDisplay: "i18n:payment.routes.transaction"
|
448
448
|
}
|
@@ -450,7 +450,7 @@ const Zn = {
|
|
450
450
|
{
|
451
451
|
path: "/transaction",
|
452
452
|
name: "mf-payment-transaction",
|
453
|
-
component: () => import("./Transaction-
|
453
|
+
component: () => import("./Transaction-Bnm30wxt.js"),
|
454
454
|
meta: {
|
455
455
|
sidebarDisplay: "i18n:payment.routes.transaction-new",
|
456
456
|
sidebarNew: !0
|
@@ -459,7 +459,7 @@ const Zn = {
|
|
459
459
|
{
|
460
460
|
path: "/settlement",
|
461
461
|
name: "mf-payment-settlement",
|
462
|
-
component: () => import("./Settlement-
|
462
|
+
component: () => import("./Settlement-CpWtqcbV.js"),
|
463
463
|
meta: {
|
464
464
|
sidebarDisplay: "i18n:payment.routes.settlement"
|
465
465
|
}
|
@@ -468,7 +468,7 @@ const Zn = {
|
|
468
468
|
path: "/settlement/:settlementId",
|
469
469
|
name: "mf-payment-settlement-transaction",
|
470
470
|
props: !0,
|
471
|
-
component: () => import("./SettlementTransactions-
|
471
|
+
component: () => import("./SettlementTransactions-CytrIXUM.js"),
|
472
472
|
meta: {
|
473
473
|
parent: "mf-payment-settlement"
|
474
474
|
}
|
@@ -485,7 +485,7 @@ const Zn = {
|
|
485
485
|
init: t
|
486
486
|
};
|
487
487
|
});
|
488
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4b1a7bc4-d121-453d-8cf2-4f6797a1db19", 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.15.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_4b1a7bc4-d121-453d-8cf2-4f6797a1db19", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.15.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_dy2fNk8PpXjpTFHma5z7x7wx86ErAL3i66Ln", 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.14", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.1.13356709", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "713", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250427.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.8/x64", JOURNAL_STREAM: "9:6395", 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: "14790207687", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "9f63fb75759159604fc9cc41c436d34f725bf7e4", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YTFmODM1YTAtNTA3ZC00NDRhLWEwMmMtNDU4Y2RhNTI4ZWNjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNTEwIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46YTFmODM1YTAtNTA3ZC00NDRhLWEwMmMtNDU4Y2RhNTI4ZWNjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNTEwIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiZmQwZWNjOWQtNzlhYS00YjE4LWIzMjEtMzJkYTUzMzBiMWJiIiwic2lkIjoiNmNlMmRiNmItNjJmNC00ZmVjLTk0N2MtMmEwZmNjMmM4YmVmIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCI5ZjYzZmI3NTc1OTE1OTYwNGZjOWNjNDFjNDM2ZDM0ZjcyNWJmN2U0XCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjE0NzkwMjA3Njg3XCIsXCJydW5fbnVtYmVyXCI6XCI1MVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCI5ZjYzZmI3NTc1OTE1OTYwNGZjOWNjNDFjNDM2ZDM0ZjcyNWJmN2U0XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjlmNjNmYjc1NzU5MTU5NjA0ZmM5Y2M0MWM0MzZkMzRmNzI1YmY3ZTRcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiJhMWY4MzVhMC01MDdkLTQ0NGEtYTAyYy00NThjZGE1MjhlY2MuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDYxNjc2MTYsImV4cCI6MTc0NjE5MDQxNn0.i-ZIwKYQXrcbPqZBXRtTt0K5QP4KSQGSpVANhK6iqaYhPSEcTt-Cj3mdrYdRWZj1SFkCM6Kvxic83Ehg3B3gYpZZ4v3dfW1ohRthl36C7Nbiv8L-0r-MAn687NTR82HX0kZd25Mvc6HhoaC1F6vebckcfjHOGrMlU5zKlwXE-1_QIp52i_M9lQi962-V9bFf1UunX1O5sFywKkuHs31AbkVIGjWl7TO7sgqoDi4bZjXFUV2b3q9l_aRcRyUmM4mG7zO3D-mryEFqBtpl7-SvfMaatCRRmNlonvi7FwzmSILMK9kAFXkZG9qM6twRe3EHvpCEwxrBt5cJuQY_3JGsrw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1746168272421-0.9628559044188627:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.15.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1746168272262-0.19314937470943416:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.15.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1746168272100-0.8503380047386866:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.15.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.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.15.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_bfbd6506-af6b-4824-9447-0b0b090d42da", INVOCATION_ID: "b16d148e958d4a5098b01575d39e7f25", 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: "51", 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 397", 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.13", 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: "9f63fb75759159604fc9cc41c436d34f725bf7e4", 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_4b1a7bc4-d121-453d-8cf2-4f6797a1db19", 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/a1f835a0-507d-444a-a02c-458cda528ecc/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_4b1a7bc4-d121-453d-8cf2-4f6797a1db19", 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_4b1a7bc4-d121-453d-8cf2-4f6797a1db19", 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" };
|
488
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c8c50d9f-ef71-43a7-b93f-38132c7eae3c", 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.15.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_c8c50d9f-ef71-43a7-b93f-38132c7eae3c", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.15.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_EPXIalxGmMKgdlwVkmWaJGig4B8P0S1AuCak", 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", NODE_OPTIONS: "--max-old-space-size=4096", GRADLE_HOME: "/usr/share/gradle-8.14", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.1.13356709", 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: "20250504.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.8/x64", JOURNAL_STREAM: "9:6669", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "15016049620", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "c6f96ebf7d457adf7335e397d9e620eea4761b79", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6NTE1NGJlZDctODlmNC00NWEwLTg1ODMtNDJhZWNhMDgzMjkwOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNTQzIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46NTE1NGJlZDctODlmNC00NWEwLTg1ODMtNDJhZWNhMDgzMjkwOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNTQzIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiN2I4NzRkNTAtOGVmMy00MjcxLWI1NmItNmJkZGQ1YTMxODRjIiwic2lkIjoiZmYyNTI0ZjgtYzBjNy00ODAzLTlkMzItZDA5NTk5OGE2ZjlkIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcImM2Zjk2ZWJmN2Q0NTdhZGY3MzM1ZTM5N2Q5ZTYyMGVlYTQ3NjFiNzlcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTUwMTYwNDk2MjBcIixcInJ1bl9udW1iZXJcIjpcIjE3OVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJjNmY5NmViZjdkNDU3YWRmNzMzNWUzOTdkOWU2MjBlZWE0NzYxYjc5XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJjNmY5NmViZjdkNDU3YWRmNzMzNWUzOTdkOWU2MjBlZWE0NzYxYjc5XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI1MTU0YmVkNy04OWY0LTQ1YTAtODU4My00MmFlY2EwODMyOTAuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDcyMTA5NDYsImV4cCI6MTc0NzIzMzc0Nn0.aWQ-JonsqrEpZAjAn3quy4P6_qNF1b1w4B__DQwGK38M0tC9VN1Lwx0WlPinWMFWhWoKSGkBVQ5BhWPkcyiYOw88tNALUM_slqKYp1C8YYJHmTxSLHU-kDL_tPZ1BMU11lHUOykKNnOdZAQhRiZl10f-dzBgC49zHC8R9nQKlbO-iEWgGaO6fmmEbgZ0QqZ3QEBfY-CkCOfMmXtR2GHLmYDh1feFfTXHznfAyQ1ZSh3iqnMRo_r2Wzf_NqZBO1Z8tRIoYyqE55Yvx8HWnbLx3F6-UCByK_3pHVGN-UoX4zV0hVlZIXmRdeo-JwQqCJwfb_cTzj3NX1Kgf0WpKKtLCQ", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1747211598380-0.9343864752504858:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.15.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1747211598200-0.46216197124314107:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.15.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1747211598019-0.7075221219409411:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.15.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.15.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.15.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_78e511f1-2d5c-4aa5-ba05-2d078d75a795", INVOCATION_ID: "cc8eb699869a480ea45cb7a5a34c6e5d", 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: "179", 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 369", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.14-beta.1", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "c6f96ebf7d457adf7335e397d9e620eea4761b79", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_c8c50d9f-ef71-43a7-b93f-38132c7eae3c", 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/5154bed7-89f4-45a0-8583-42aeca083290/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_c8c50d9f-ef71-43a7-b93f-38132c7eae3c", 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_c8c50d9f-ef71-43a7-b93f-38132c7eae3c", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.2", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
489
489
|
/**
|
490
490
|
* @license
|
491
491
|
* Copyright 2017 Google LLC
|
@@ -502,7 +502,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
502
502
|
* See the License for the specific language governing permissions and
|
503
503
|
* limitations under the License.
|
504
504
|
*/
|
505
|
-
const
|
505
|
+
const Ht = function(n) {
|
506
506
|
const e = [];
|
507
507
|
let t = 0;
|
508
508
|
for (let r = 0; r < n.length; r++) {
|
@@ -529,7 +529,7 @@ const jt = function(n) {
|
|
529
529
|
}
|
530
530
|
}
|
531
531
|
return e.join("");
|
532
|
-
},
|
532
|
+
}, Gt = {
|
533
533
|
/**
|
534
534
|
* Maps bytes to characters.
|
535
535
|
*/
|
@@ -603,7 +603,7 @@ const jt = function(n) {
|
|
603
603
|
* @return The base64 encoded string.
|
604
604
|
*/
|
605
605
|
encodeString(n, e) {
|
606
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
606
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Ht(n), e);
|
607
607
|
},
|
608
608
|
/**
|
609
609
|
* Base64-decode a string.
|
@@ -672,13 +672,13 @@ class Qn extends Error {
|
|
672
672
|
}
|
673
673
|
}
|
674
674
|
const er = function(n) {
|
675
|
-
const e =
|
676
|
-
return
|
675
|
+
const e = Ht(n);
|
676
|
+
return Gt.encodeByteArray(e, !0);
|
677
677
|
}, de = function(n) {
|
678
678
|
return er(n).replace(/\./g, "");
|
679
|
-
},
|
679
|
+
}, Vt = function(n) {
|
680
680
|
try {
|
681
|
-
return
|
681
|
+
return Gt.decodeString(n, !0);
|
682
682
|
} catch (e) {
|
683
683
|
console.error("base64Decode failed: ", e);
|
684
684
|
}
|
@@ -740,7 +740,7 @@ const nr = () => tr().__FIREBASE_DEFAULTS__, rr = () => {
|
|
740
740
|
} catch {
|
741
741
|
return;
|
742
742
|
}
|
743
|
-
const e = n &&
|
743
|
+
const e = n && Vt(n[1]);
|
744
744
|
return e && JSON.parse(e);
|
745
745
|
}, ze = () => {
|
746
746
|
try {
|
@@ -749,11 +749,11 @@ const nr = () => tr().__FIREBASE_DEFAULTS__, rr = () => {
|
|
749
749
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
750
750
|
return;
|
751
751
|
}
|
752
|
-
},
|
752
|
+
}, Wt = (n) => {
|
753
753
|
var e, t;
|
754
754
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
755
755
|
}, Ua = (n) => {
|
756
|
-
const e =
|
756
|
+
const e = Wt(n);
|
757
757
|
if (!e)
|
758
758
|
return;
|
759
759
|
const t = e.lastIndexOf(":");
|
@@ -761,7 +761,7 @@ const nr = () => tr().__FIREBASE_DEFAULTS__, rr = () => {
|
|
761
761
|
throw new Error(`Invalid host ${e} with no separate hostname and port!`);
|
762
762
|
const r = parseInt(e.substring(t + 1), 10);
|
763
763
|
return e[0] === "[" ? [e.substring(1, t - 1), r] : [e.substring(0, t), r];
|
764
|
-
},
|
764
|
+
}, jt = () => {
|
765
765
|
var n;
|
766
766
|
return (n = ze()) === null || n === void 0 ? void 0 : n.config;
|
767
767
|
}, zt = (n) => {
|
@@ -1044,7 +1044,7 @@ class vr {
|
|
1044
1044
|
let i;
|
1045
1045
|
if (e === void 0 && t === void 0 && r === void 0)
|
1046
1046
|
throw new Error("Missing Observer.");
|
1047
|
-
|
1047
|
+
Ir(e, [
|
1048
1048
|
"next",
|
1049
1049
|
"error",
|
1050
1050
|
"complete"
|
@@ -1052,7 +1052,7 @@ class vr {
|
|
1052
1052
|
next: e,
|
1053
1053
|
error: t,
|
1054
1054
|
complete: r
|
1055
|
-
}, i.next === void 0 && (i.next =
|
1055
|
+
}, i.next === void 0 && (i.next = Re), i.error === void 0 && (i.error = Re), i.complete === void 0 && (i.complete = Re);
|
1056
1056
|
const s = this.unsubscribeOne.bind(this, this.observers.length);
|
1057
1057
|
return this.finalized && this.task.then(() => {
|
1058
1058
|
try {
|
@@ -1090,7 +1090,7 @@ class vr {
|
|
1090
1090
|
}));
|
1091
1091
|
}
|
1092
1092
|
}
|
1093
|
-
function
|
1093
|
+
function Ir(n, e) {
|
1094
1094
|
if (typeof n != "object" || n === null)
|
1095
1095
|
return !1;
|
1096
1096
|
for (const t of e)
|
@@ -1098,7 +1098,7 @@ function br(n, e) {
|
|
1098
1098
|
return !0;
|
1099
1099
|
return !1;
|
1100
1100
|
}
|
1101
|
-
function
|
1101
|
+
function Re() {
|
1102
1102
|
}
|
1103
1103
|
/**
|
1104
1104
|
* @license
|
@@ -1119,7 +1119,7 @@ function ke() {
|
|
1119
1119
|
function z(n) {
|
1120
1120
|
return n && n._delegate ? n._delegate : n;
|
1121
1121
|
}
|
1122
|
-
class
|
1122
|
+
class j {
|
1123
1123
|
/**
|
1124
1124
|
*
|
1125
1125
|
* @param name The public service name, e.g. app, auth, firestore, database
|
@@ -1175,7 +1175,7 @@ const L = "[DEFAULT]";
|
|
1175
1175
|
* See the License for the specific language governing permissions and
|
1176
1176
|
* limitations under the License.
|
1177
1177
|
*/
|
1178
|
-
class
|
1178
|
+
class yr {
|
1179
1179
|
constructor(e, t) {
|
1180
1180
|
this.name = e, this.container = t, this.component = null, this.instances = /* @__PURE__ */ new Map(), this.instancesDeferred = /* @__PURE__ */ new Map(), this.instancesOptions = /* @__PURE__ */ new Map(), this.onInitCallbacks = /* @__PURE__ */ new Map();
|
1181
1181
|
}
|
@@ -1313,7 +1313,7 @@ class Ir {
|
|
1313
1313
|
getOrInitializeService({ instanceIdentifier: e, options: t = {} }) {
|
1314
1314
|
let r = this.instances.get(e);
|
1315
1315
|
if (!r && this.component && (r = this.component.instanceFactory(this.container, {
|
1316
|
-
instanceIdentifier:
|
1316
|
+
instanceIdentifier: br(e),
|
1317
1317
|
options: t
|
1318
1318
|
}), this.instances.set(e, r), this.instancesOptions.set(e, t), this.invokeOnInitCallbacks(r, e), this.component.onInstanceCreated))
|
1319
1319
|
try {
|
@@ -1329,7 +1329,7 @@ class Ir {
|
|
1329
1329
|
return !!this.component && this.component.instantiationMode !== "EXPLICIT";
|
1330
1330
|
}
|
1331
1331
|
}
|
1332
|
-
function
|
1332
|
+
function br(n) {
|
1333
1333
|
return n === L ? void 0 : n;
|
1334
1334
|
}
|
1335
1335
|
function Er(n) {
|
@@ -1383,7 +1383,7 @@ class Tr {
|
|
1383
1383
|
getProvider(e) {
|
1384
1384
|
if (this.providers.has(e))
|
1385
1385
|
return this.providers.get(e);
|
1386
|
-
const t = new
|
1386
|
+
const t = new yr(e, this);
|
1387
1387
|
return this.providers.set(e, t), t;
|
1388
1388
|
}
|
1389
1389
|
getProviders() {
|
@@ -1417,7 +1417,7 @@ const wr = {
|
|
1417
1417
|
warn: p.WARN,
|
1418
1418
|
error: p.ERROR,
|
1419
1419
|
silent: p.SILENT
|
1420
|
-
},
|
1420
|
+
}, kr = p.INFO, Rr = {
|
1421
1421
|
[p.DEBUG]: "log",
|
1422
1422
|
[p.VERBOSE]: "log",
|
1423
1423
|
[p.INFO]: "info",
|
@@ -1426,13 +1426,13 @@ const wr = {
|
|
1426
1426
|
}, Sr = (n, e, ...t) => {
|
1427
1427
|
if (e < n.logLevel)
|
1428
1428
|
return;
|
1429
|
-
const r = (/* @__PURE__ */ new Date()).toISOString(), i =
|
1429
|
+
const r = (/* @__PURE__ */ new Date()).toISOString(), i = Rr[e];
|
1430
1430
|
if (i)
|
1431
1431
|
console[i](`[${r}] ${n.name}:`, ...t);
|
1432
1432
|
else
|
1433
1433
|
throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`);
|
1434
1434
|
};
|
1435
|
-
class
|
1435
|
+
class Zt {
|
1436
1436
|
/**
|
1437
1437
|
* Gives you an instance of a Logger to capture messages according to
|
1438
1438
|
* Firebase's logging scheme.
|
@@ -1440,7 +1440,7 @@ class $t {
|
|
1440
1440
|
* @param name The name that the logs will be associated with
|
1441
1441
|
*/
|
1442
1442
|
constructor(e) {
|
1443
|
-
this.name = e, this._logLevel =
|
1443
|
+
this.name = e, this._logLevel = kr, this._logHandler = Sr, this._userLogHandler = null;
|
1444
1444
|
}
|
1445
1445
|
get logLevel() {
|
1446
1446
|
return this._logLevel;
|
@@ -1489,7 +1489,7 @@ class $t {
|
|
1489
1489
|
}
|
1490
1490
|
const Ar = (n, e) => e.some((t) => n instanceof t);
|
1491
1491
|
let lt, dt;
|
1492
|
-
function
|
1492
|
+
function Or() {
|
1493
1493
|
return lt || (lt = [
|
1494
1494
|
IDBDatabase,
|
1495
1495
|
IDBObjectStore,
|
@@ -1498,29 +1498,29 @@ function Nr() {
|
|
1498
1498
|
IDBTransaction
|
1499
1499
|
]);
|
1500
1500
|
}
|
1501
|
-
function
|
1501
|
+
function Nr() {
|
1502
1502
|
return dt || (dt = [
|
1503
1503
|
IDBCursor.prototype.advance,
|
1504
1504
|
IDBCursor.prototype.continue,
|
1505
1505
|
IDBCursor.prototype.continuePrimaryKey
|
1506
1506
|
]);
|
1507
1507
|
}
|
1508
|
-
const
|
1509
|
-
function
|
1508
|
+
const $t = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap();
|
1509
|
+
function Cr(n) {
|
1510
1510
|
const e = new Promise((t, r) => {
|
1511
1511
|
const i = () => {
|
1512
1512
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
1513
1513
|
}, s = () => {
|
1514
|
-
t(
|
1514
|
+
t(C(n.result)), i();
|
1515
1515
|
}, a = () => {
|
1516
1516
|
r(n.error), i();
|
1517
1517
|
};
|
1518
1518
|
n.addEventListener("success", s), n.addEventListener("error", a);
|
1519
1519
|
});
|
1520
1520
|
return e.then((t) => {
|
1521
|
-
t instanceof IDBCursor &&
|
1521
|
+
t instanceof IDBCursor && $t.set(t, n);
|
1522
1522
|
}).catch(() => {
|
1523
|
-
}),
|
1523
|
+
}), Ze.set(e, n), e;
|
1524
1524
|
}
|
1525
1525
|
function Dr(n) {
|
1526
1526
|
if (Le.has(n))
|
@@ -1547,7 +1547,7 @@ let Ue = {
|
|
1547
1547
|
if (e === "store")
|
1548
1548
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1549
1549
|
}
|
1550
|
-
return
|
1550
|
+
return C(n[e]);
|
1551
1551
|
},
|
1552
1552
|
set(n, e, t) {
|
1553
1553
|
return n[e] = t, !0;
|
@@ -1562,29 +1562,29 @@ function Pr(n) {
|
|
1562
1562
|
function Mr(n) {
|
1563
1563
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1564
1564
|
const r = n.call(Ae(this), e, ...t);
|
1565
|
-
return Jt.set(r, e.sort ? e.sort() : [e]),
|
1566
|
-
} :
|
1567
|
-
return n.apply(Ae(this), e),
|
1565
|
+
return Jt.set(r, e.sort ? e.sort() : [e]), C(r);
|
1566
|
+
} : Nr().includes(n) ? function(...e) {
|
1567
|
+
return n.apply(Ae(this), e), C($t.get(this));
|
1568
1568
|
} : function(...e) {
|
1569
|
-
return
|
1569
|
+
return C(n.apply(Ae(this), e));
|
1570
1570
|
};
|
1571
1571
|
}
|
1572
1572
|
function Lr(n) {
|
1573
|
-
return typeof n == "function" ? Mr(n) : (n instanceof IDBTransaction && Dr(n), Ar(n,
|
1573
|
+
return typeof n == "function" ? Mr(n) : (n instanceof IDBTransaction && Dr(n), Ar(n, Or()) ? new Proxy(n, Ue) : n);
|
1574
1574
|
}
|
1575
|
-
function
|
1575
|
+
function C(n) {
|
1576
1576
|
if (n instanceof IDBRequest)
|
1577
|
-
return
|
1577
|
+
return Cr(n);
|
1578
1578
|
if (Se.has(n))
|
1579
1579
|
return Se.get(n);
|
1580
1580
|
const e = Lr(n);
|
1581
|
-
return e !== n && (Se.set(n, e),
|
1581
|
+
return e !== n && (Se.set(n, e), Ze.set(e, n)), e;
|
1582
1582
|
}
|
1583
|
-
const Ae = (n) =>
|
1583
|
+
const Ae = (n) => Ze.get(n);
|
1584
1584
|
function Ur(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1585
|
-
const a = indexedDB.open(n, e), c =
|
1585
|
+
const a = indexedDB.open(n, e), c = C(a);
|
1586
1586
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
1587
|
-
r(
|
1587
|
+
r(C(a.result), o.oldVersion, o.newVersion, C(a.transaction), o);
|
1588
1588
|
}), t && a.addEventListener("blocked", (o) => t(
|
1589
1589
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1590
1590
|
o.oldVersion,
|
@@ -1595,12 +1595,12 @@ function Ur(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1595
1595
|
}).catch(() => {
|
1596
1596
|
}), c;
|
1597
1597
|
}
|
1598
|
-
const Br = ["get", "getKey", "getAll", "getAllKeys", "count"], Fr = ["put", "add", "delete", "clear"],
|
1598
|
+
const Br = ["get", "getKey", "getAll", "getAllKeys", "count"], Fr = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
|
1599
1599
|
function ut(n, e) {
|
1600
1600
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
1601
1601
|
return;
|
1602
|
-
if (
|
1603
|
-
return
|
1602
|
+
if (Oe.get(e))
|
1603
|
+
return Oe.get(e);
|
1604
1604
|
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = Fr.includes(t);
|
1605
1605
|
if (
|
1606
1606
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
@@ -1615,7 +1615,7 @@ function ut(n, e) {
|
|
1615
1615
|
i && o.done
|
1616
1616
|
]))[0];
|
1617
1617
|
};
|
1618
|
-
return
|
1618
|
+
return Oe.set(e, s), s;
|
1619
1619
|
}
|
1620
1620
|
Pr((n) => ({
|
1621
1621
|
...n,
|
@@ -1646,7 +1646,7 @@ class xr {
|
|
1646
1646
|
// auth token refresh, and installations will send this string.
|
1647
1647
|
getPlatformInfoString() {
|
1648
1648
|
return this.container.getProviders().map((t) => {
|
1649
|
-
if (
|
1649
|
+
if (Hr(t)) {
|
1650
1650
|
const r = t.getImmediate();
|
1651
1651
|
return `${r.library}/${r.version}`;
|
1652
1652
|
} else
|
@@ -1654,7 +1654,7 @@ class xr {
|
|
1654
1654
|
}).filter((t) => t).join(" ");
|
1655
1655
|
}
|
1656
1656
|
}
|
1657
|
-
function
|
1657
|
+
function Hr(n) {
|
1658
1658
|
const e = n.getComponent();
|
1659
1659
|
return (e == null ? void 0 : e.type) === "VERSION";
|
1660
1660
|
}
|
@@ -1675,7 +1675,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1675
1675
|
* See the License for the specific language governing permissions and
|
1676
1676
|
* limitations under the License.
|
1677
1677
|
*/
|
1678
|
-
const T = new
|
1678
|
+
const T = new Zt("@firebase/app"), Gr = "@firebase/app-compat", Vr = "@firebase/analytics-compat", Wr = "@firebase/analytics", jr = "@firebase/app-check-compat", zr = "@firebase/app-check", Zr = "@firebase/auth", $r = "@firebase/auth-compat", Jr = "@firebase/database", Xr = "@firebase/data-connect", Yr = "@firebase/database-compat", Kr = "@firebase/functions", qr = "@firebase/functions-compat", Qr = "@firebase/installations", ei = "@firebase/installations-compat", ti = "@firebase/messaging", ni = "@firebase/messaging-compat", ri = "@firebase/performance", ii = "@firebase/performance-compat", si = "@firebase/remote-config", ai = "@firebase/remote-config-compat", oi = "@firebase/storage", ci = "@firebase/storage-compat", li = "@firebase/firestore", di = "@firebase/vertexai-preview", ui = "@firebase/firestore-compat", hi = "firebase", pi = "10.14.1";
|
1679
1679
|
/**
|
1680
1680
|
* @license
|
1681
1681
|
* Copyright 2019 Google LLC
|
@@ -1694,13 +1694,13 @@ const T = new $t("@firebase/app"), Hr = "@firebase/app-compat", Wr = "@firebase/
|
|
1694
1694
|
*/
|
1695
1695
|
const Fe = "[DEFAULT]", mi = {
|
1696
1696
|
[Be]: "fire-core",
|
1697
|
-
[
|
1698
|
-
[
|
1699
|
-
[
|
1697
|
+
[Gr]: "fire-core-compat",
|
1698
|
+
[Wr]: "fire-analytics",
|
1699
|
+
[Vr]: "fire-analytics-compat",
|
1700
1700
|
[zr]: "fire-app-check",
|
1701
|
-
[
|
1702
|
-
[
|
1703
|
-
[
|
1701
|
+
[jr]: "fire-app-check-compat",
|
1702
|
+
[Zr]: "fire-auth",
|
1703
|
+
[$r]: "fire-auth-compat",
|
1704
1704
|
[Jr]: "fire-rtdb",
|
1705
1705
|
[Xr]: "fire-data-connect",
|
1706
1706
|
[Yr]: "fire-rtdb-compat",
|
@@ -1761,7 +1761,7 @@ function Xt(n, e) {
|
|
1761
1761
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1762
1762
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1763
1763
|
}
|
1764
|
-
function
|
1764
|
+
function I(n) {
|
1765
1765
|
return n.settings !== void 0;
|
1766
1766
|
}
|
1767
1767
|
/**
|
@@ -1814,7 +1814,7 @@ const _i = {
|
|
1814
1814
|
*/
|
1815
1815
|
class gi {
|
1816
1816
|
constructor(e, t, r) {
|
1817
|
-
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
|
1817
|
+
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 j(
|
1818
1818
|
"app",
|
1819
1819
|
() => this,
|
1820
1820
|
"PUBLIC"
|
@@ -1879,7 +1879,7 @@ function Yt(n, e = {}) {
|
|
1879
1879
|
throw D.create("bad-app-name", {
|
1880
1880
|
appName: String(i)
|
1881
1881
|
});
|
1882
|
-
if (t || (t =
|
1882
|
+
if (t || (t = jt()), !t)
|
1883
1883
|
throw D.create(
|
1884
1884
|
"no-options"
|
1885
1885
|
/* AppError.NO_OPTIONS */
|
@@ -1898,13 +1898,13 @@ function Yt(n, e = {}) {
|
|
1898
1898
|
}
|
1899
1899
|
function vi(n = Fe) {
|
1900
1900
|
const e = he.get(n);
|
1901
|
-
if (!e && n === Fe &&
|
1901
|
+
if (!e && n === Fe && jt())
|
1902
1902
|
return Yt();
|
1903
1903
|
if (!e)
|
1904
1904
|
throw D.create("no-app", { appName: n });
|
1905
1905
|
return e;
|
1906
1906
|
}
|
1907
|
-
function
|
1907
|
+
function H(n, e, t) {
|
1908
1908
|
var r;
|
1909
1909
|
let i = (r = mi[n]) !== null && r !== void 0 ? r : n;
|
1910
1910
|
t && (i += `-${t}`);
|
@@ -1916,7 +1916,7 @@ function j(n, e, t) {
|
|
1916
1916
|
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(" "));
|
1917
1917
|
return;
|
1918
1918
|
}
|
1919
|
-
X(new
|
1919
|
+
X(new j(
|
1920
1920
|
`${i}-version`,
|
1921
1921
|
() => ({ library: i, version: e }),
|
1922
1922
|
"VERSION"
|
@@ -1939,10 +1939,10 @@ function j(n, e, t) {
|
|
1939
1939
|
* See the License for the specific language governing permissions and
|
1940
1940
|
* limitations under the License.
|
1941
1941
|
*/
|
1942
|
-
const
|
1943
|
-
let
|
1942
|
+
const Ii = "firebase-heartbeat-database", yi = 1, Y = "firebase-heartbeat-store";
|
1943
|
+
let Ne = null;
|
1944
1944
|
function Kt() {
|
1945
|
-
return
|
1945
|
+
return Ne || (Ne = Ur(Ii, yi, {
|
1946
1946
|
upgrade: (n, e) => {
|
1947
1947
|
switch (e) {
|
1948
1948
|
case 0:
|
@@ -1957,9 +1957,9 @@ function Kt() {
|
|
1957
1957
|
throw D.create("idb-open", {
|
1958
1958
|
originalErrorMessage: n.message
|
1959
1959
|
});
|
1960
|
-
})),
|
1960
|
+
})), Ne;
|
1961
1961
|
}
|
1962
|
-
async function
|
1962
|
+
async function bi(n) {
|
1963
1963
|
try {
|
1964
1964
|
const t = (await Kt()).transaction(Y), r = await t.objectStore(Y).get(qt(n));
|
1965
1965
|
return await t.done, r;
|
@@ -2013,7 +2013,7 @@ class wi {
|
|
2013
2013
|
constructor(e) {
|
2014
2014
|
this.container = e, this._heartbeatsCache = null;
|
2015
2015
|
const t = this.container.getProvider("app").getImmediate();
|
2016
|
-
this._storage = new
|
2016
|
+
this._storage = new Ri(t), this._heartbeatsCachePromise = this._storage.read().then((r) => (this._heartbeatsCache = r, r));
|
2017
2017
|
}
|
2018
2018
|
/**
|
2019
2019
|
* Called to report a heartbeat. The function will generate
|
@@ -2046,7 +2046,7 @@ class wi {
|
|
2046
2046
|
try {
|
2047
2047
|
if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
|
2048
2048
|
return "";
|
2049
|
-
const t = ft(), { heartbeatsToSend: r, unsentEntries: i } =
|
2049
|
+
const t = ft(), { heartbeatsToSend: r, unsentEntries: i } = ki(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
|
2050
2050
|
return this._heartbeatsCache.lastSentHeartbeatDate = t, i.length > 0 ? (this._heartbeatsCache.heartbeats = i, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), s;
|
2051
2051
|
} catch (t) {
|
2052
2052
|
return T.warn(t), "";
|
@@ -2056,7 +2056,7 @@ class wi {
|
|
2056
2056
|
function ft() {
|
2057
2057
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
2058
2058
|
}
|
2059
|
-
function
|
2059
|
+
function ki(n, e = Ei) {
|
2060
2060
|
const t = [];
|
2061
2061
|
let r = n.slice();
|
2062
2062
|
for (const i of n) {
|
@@ -2080,7 +2080,7 @@ function Ri(n, e = Ei) {
|
|
2080
2080
|
unsentEntries: r
|
2081
2081
|
};
|
2082
2082
|
}
|
2083
|
-
class
|
2083
|
+
class Ri {
|
2084
2084
|
constructor(e) {
|
2085
2085
|
this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
|
2086
2086
|
}
|
@@ -2092,7 +2092,7 @@ class ki {
|
|
2092
2092
|
*/
|
2093
2093
|
async read() {
|
2094
2094
|
if (await this._canUseIndexedDBPromise) {
|
2095
|
-
const t = await
|
2095
|
+
const t = await bi(this.app);
|
2096
2096
|
return t != null && t.heartbeats ? t : { heartbeats: [] };
|
2097
2097
|
} else
|
2098
2098
|
return { heartbeats: [] };
|
@@ -2148,20 +2148,20 @@ function _t(n) {
|
|
2148
2148
|
* limitations under the License.
|
2149
2149
|
*/
|
2150
2150
|
function Si(n) {
|
2151
|
-
X(new
|
2151
|
+
X(new j(
|
2152
2152
|
"platform-logger",
|
2153
2153
|
(e) => new xr(e),
|
2154
2154
|
"PRIVATE"
|
2155
2155
|
/* ComponentType.PRIVATE */
|
2156
|
-
)), X(new
|
2156
|
+
)), X(new j(
|
2157
2157
|
"heartbeat",
|
2158
2158
|
(e) => new wi(e),
|
2159
2159
|
"PRIVATE"
|
2160
2160
|
/* ComponentType.PRIVATE */
|
2161
|
-
)),
|
2161
|
+
)), H(Be, ht, n), H(Be, ht, "esm2017"), H("fire-js", "");
|
2162
2162
|
}
|
2163
2163
|
Si("");
|
2164
|
-
var Ai = "firebase",
|
2164
|
+
var Ai = "firebase", Oi = "10.14.1";
|
2165
2165
|
/**
|
2166
2166
|
* @license
|
2167
2167
|
* Copyright 2020 Google LLC
|
@@ -2178,7 +2178,7 @@ var Ai = "firebase", Ni = "10.14.1";
|
|
2178
2178
|
* See the License for the specific language governing permissions and
|
2179
2179
|
* limitations under the License.
|
2180
2180
|
*/
|
2181
|
-
|
2181
|
+
H(Ai, Oi, "app");
|
2182
2182
|
var gt = function() {
|
2183
2183
|
return gt = Object.assign || function(e) {
|
2184
2184
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2188,7 +2188,7 @@ var gt = function() {
|
|
2188
2188
|
return e;
|
2189
2189
|
}, gt.apply(this, arguments);
|
2190
2190
|
};
|
2191
|
-
function
|
2191
|
+
function $e(n, e) {
|
2192
2192
|
var t = {};
|
2193
2193
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
|
2194
2194
|
if (n != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -2201,7 +2201,7 @@ function Qt() {
|
|
2201
2201
|
"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."
|
2202
2202
|
};
|
2203
2203
|
}
|
2204
|
-
const
|
2204
|
+
const Ni = Qt, en = new q("auth", "Firebase", Qt());
|
2205
2205
|
/**
|
2206
2206
|
* @license
|
2207
2207
|
* Copyright 2020 Google LLC
|
@@ -2218,8 +2218,8 @@ const Ci = Qt, en = new q("auth", "Firebase", Qt());
|
|
2218
2218
|
* See the License for the specific language governing permissions and
|
2219
2219
|
* limitations under the License.
|
2220
2220
|
*/
|
2221
|
-
const pe = new
|
2222
|
-
function
|
2221
|
+
const pe = new Zt("@firebase/auth");
|
2222
|
+
function Ci(n, ...e) {
|
2223
2223
|
pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
|
2224
2224
|
}
|
2225
2225
|
function se(n, ...e) {
|
@@ -2248,7 +2248,7 @@ function _(n, ...e) {
|
|
2248
2248
|
return Je(n, ...e);
|
2249
2249
|
}
|
2250
2250
|
function tn(n, e, t) {
|
2251
|
-
const r = Object.assign(Object.assign({},
|
2251
|
+
const r = Object.assign(Object.assign({}, Ni()), { [e]: t });
|
2252
2252
|
return new q("auth", "Firebase", r).create(e, {
|
2253
2253
|
appName: n.name
|
2254
2254
|
});
|
@@ -2267,12 +2267,12 @@ function u(n, e, ...t) {
|
|
2267
2267
|
if (!n)
|
2268
2268
|
throw Je(e, ...t);
|
2269
2269
|
}
|
2270
|
-
function
|
2270
|
+
function y(n) {
|
2271
2271
|
const e = "INTERNAL ASSERTION FAILED: " + n;
|
2272
2272
|
throw se(e), new Error(e);
|
2273
2273
|
}
|
2274
|
-
function
|
2275
|
-
n ||
|
2274
|
+
function k(n, e) {
|
2275
|
+
n || y(e);
|
2276
2276
|
}
|
2277
2277
|
/**
|
2278
2278
|
* @license
|
@@ -2290,7 +2290,7 @@ function R(n, e) {
|
|
2290
2290
|
* See the License for the specific language governing permissions and
|
2291
2291
|
* limitations under the License.
|
2292
2292
|
*/
|
2293
|
-
function
|
2293
|
+
function He() {
|
2294
2294
|
var n;
|
2295
2295
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2296
2296
|
}
|
@@ -2355,7 +2355,7 @@ function Mi() {
|
|
2355
2355
|
*/
|
2356
2356
|
class te {
|
2357
2357
|
constructor(e, t) {
|
2358
|
-
this.shortDelay = e, this.longDelay = t,
|
2358
|
+
this.shortDelay = e, this.longDelay = t, k(t > e, "Short delay should be less than long delay!"), this.isMobile = ar() || lr();
|
2359
2359
|
}
|
2360
2360
|
get() {
|
2361
2361
|
return Pi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
@@ -2378,7 +2378,7 @@ class te {
|
|
2378
2378
|
* limitations under the License.
|
2379
2379
|
*/
|
2380
2380
|
function Xe(n, e) {
|
2381
|
-
|
2381
|
+
k(n.emulator, "Emulator should always be set here");
|
2382
2382
|
const { url: t } = n.emulator;
|
2383
2383
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
2384
2384
|
}
|
@@ -2411,7 +2411,7 @@ class nn {
|
|
2411
2411
|
return globalThis.fetch;
|
2412
2412
|
if (typeof fetch < "u")
|
2413
2413
|
return fetch;
|
2414
|
-
|
2414
|
+
y("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2415
2415
|
}
|
2416
2416
|
static headers() {
|
2417
2417
|
if (this.headersImpl)
|
@@ -2422,7 +2422,7 @@ class nn {
|
|
2422
2422
|
return globalThis.Headers;
|
2423
2423
|
if (typeof Headers < "u")
|
2424
2424
|
return Headers;
|
2425
|
-
|
2425
|
+
y("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2426
2426
|
}
|
2427
2427
|
static response() {
|
2428
2428
|
if (this.responseImpl)
|
@@ -2433,7 +2433,7 @@ class nn {
|
|
2433
2433
|
return globalThis.Response;
|
2434
2434
|
if (typeof Response < "u")
|
2435
2435
|
return Response;
|
2436
|
-
|
2436
|
+
y("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2437
2437
|
}
|
2438
2438
|
}
|
2439
2439
|
/**
|
@@ -2547,7 +2547,7 @@ const Ui = new te(3e4, 6e4);
|
|
2547
2547
|
function ve(n, e) {
|
2548
2548
|
return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
|
2549
2549
|
}
|
2550
|
-
async function
|
2550
|
+
async function Z(n, e, t, r, i = {}) {
|
2551
2551
|
return rn(n, i, async () => {
|
2552
2552
|
let s = {}, a = {};
|
2553
2553
|
r && (e === "GET" ? a = r : s = {
|
@@ -2602,7 +2602,7 @@ async function rn(n, e, t) {
|
|
2602
2602
|
}
|
2603
2603
|
}
|
2604
2604
|
async function sn(n, e, t, r, i = {}) {
|
2605
|
-
const s = await
|
2605
|
+
const s = await Z(n, e, t, r, i);
|
2606
2606
|
return "mfaPendingCredential" in s && w(n, "multi-factor-auth-required", {
|
2607
2607
|
_serverResponse: s
|
2608
2608
|
}), s;
|
@@ -2650,10 +2650,10 @@ function ie(n, e, t) {
|
|
2650
2650
|
* limitations under the License.
|
2651
2651
|
*/
|
2652
2652
|
async function Fi(n, e) {
|
2653
|
-
return
|
2653
|
+
return Z(n, "POST", "/v1/accounts:delete", e);
|
2654
2654
|
}
|
2655
2655
|
async function on(n, e) {
|
2656
|
-
return
|
2656
|
+
return Z(n, "POST", "/v1/accounts:lookup", e);
|
2657
2657
|
}
|
2658
2658
|
/**
|
2659
2659
|
* @license
|
@@ -2692,14 +2692,14 @@ async function xi(n, e = !1) {
|
|
2692
2692
|
return {
|
2693
2693
|
claims: i,
|
2694
2694
|
token: r,
|
2695
|
-
authTime: J(
|
2696
|
-
issuedAtTime: J(
|
2697
|
-
expirationTime: J(
|
2695
|
+
authTime: J(Ce(i.auth_time)),
|
2696
|
+
issuedAtTime: J(Ce(i.iat)),
|
2697
|
+
expirationTime: J(Ce(i.exp)),
|
2698
2698
|
signInProvider: a || null,
|
2699
2699
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2700
2700
|
};
|
2701
2701
|
}
|
2702
|
-
function
|
2702
|
+
function Ce(n) {
|
2703
2703
|
return Number(n) * 1e3;
|
2704
2704
|
}
|
2705
2705
|
function Ye(n) {
|
@@ -2707,13 +2707,13 @@ function Ye(n) {
|
|
2707
2707
|
if (e === void 0 || t === void 0 || r === void 0)
|
2708
2708
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2709
2709
|
try {
|
2710
|
-
const i =
|
2710
|
+
const i = Vt(t);
|
2711
2711
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2712
2712
|
} catch (i) {
|
2713
2713
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2714
2714
|
}
|
2715
2715
|
}
|
2716
|
-
function
|
2716
|
+
function It(n) {
|
2717
2717
|
const e = Ye(n);
|
2718
2718
|
return u(
|
2719
2719
|
e,
|
@@ -2751,10 +2751,10 @@ async function K(n, e, t = !1) {
|
|
2751
2751
|
try {
|
2752
2752
|
return await e;
|
2753
2753
|
} catch (r) {
|
2754
|
-
throw r instanceof M &&
|
2754
|
+
throw r instanceof M && Hi(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
|
2755
2755
|
}
|
2756
2756
|
}
|
2757
|
-
function
|
2757
|
+
function Hi({ code: n }) {
|
2758
2758
|
return n === "auth/user-disabled" || n === "auth/user-token-expired";
|
2759
2759
|
}
|
2760
2760
|
/**
|
@@ -2773,7 +2773,7 @@ function ji({ code: n }) {
|
|
2773
2773
|
* See the License for the specific language governing permissions and
|
2774
2774
|
* limitations under the License.
|
2775
2775
|
*/
|
2776
|
-
class
|
2776
|
+
class Gi {
|
2777
2777
|
constructor(e) {
|
2778
2778
|
this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
|
2779
2779
|
}
|
@@ -2835,7 +2835,7 @@ class Hi {
|
|
2835
2835
|
* See the License for the specific language governing permissions and
|
2836
2836
|
* limitations under the License.
|
2837
2837
|
*/
|
2838
|
-
class
|
2838
|
+
class Ge {
|
2839
2839
|
constructor(e, t) {
|
2840
2840
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2841
2841
|
}
|
@@ -2879,7 +2879,7 @@ async function me(n) {
|
|
2879
2879
|
);
|
2880
2880
|
const s = i.users[0];
|
2881
2881
|
n._notifyReloadListener(s);
|
2882
|
-
const a = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], c =
|
2882
|
+
const a = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], c = Wi(n.providerData, a), o = n.isAnonymous, l = !(n.email && s.passwordHash) && !(c != null && c.length), d = o ? l : !1, h = {
|
2883
2883
|
uid: s.localId,
|
2884
2884
|
displayName: s.displayName || null,
|
2885
2885
|
photoURL: s.photoUrl || null,
|
@@ -2888,21 +2888,21 @@ async function me(n) {
|
|
2888
2888
|
phoneNumber: s.phoneNumber || null,
|
2889
2889
|
tenantId: s.tenantId || null,
|
2890
2890
|
providerData: c,
|
2891
|
-
metadata: new
|
2891
|
+
metadata: new Ge(s.createdAt, s.lastLoginAt),
|
2892
2892
|
isAnonymous: d
|
2893
2893
|
};
|
2894
2894
|
Object.assign(n, h);
|
2895
2895
|
}
|
2896
|
-
async function
|
2896
|
+
async function Vi(n) {
|
2897
2897
|
const e = z(n);
|
2898
2898
|
await me(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
|
2899
2899
|
}
|
2900
|
-
function
|
2900
|
+
function Wi(n, e) {
|
2901
2901
|
return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
|
2902
2902
|
}
|
2903
2903
|
function cn(n) {
|
2904
2904
|
return n.map((e) => {
|
2905
|
-
var { providerId: t } = e, r =
|
2905
|
+
var { providerId: t } = e, r = $e(e, ["providerId"]);
|
2906
2906
|
return {
|
2907
2907
|
providerId: t,
|
2908
2908
|
uid: r.rawId || "",
|
@@ -2929,7 +2929,7 @@ function cn(n) {
|
|
2929
2929
|
* See the License for the specific language governing permissions and
|
2930
2930
|
* limitations under the License.
|
2931
2931
|
*/
|
2932
|
-
async function
|
2932
|
+
async function ji(n, e) {
|
2933
2933
|
const t = await rn(n, {}, async () => {
|
2934
2934
|
const r = Q({
|
2935
2935
|
grant_type: "refresh_token",
|
@@ -2951,7 +2951,7 @@ async function Gi(n, e) {
|
|
2951
2951
|
};
|
2952
2952
|
}
|
2953
2953
|
async function zi(n, e) {
|
2954
|
-
return
|
2954
|
+
return Z(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
|
2955
2955
|
}
|
2956
2956
|
/**
|
2957
2957
|
* @license
|
@@ -2969,7 +2969,7 @@ async function zi(n, e) {
|
|
2969
2969
|
* See the License for the specific language governing permissions and
|
2970
2970
|
* limitations under the License.
|
2971
2971
|
*/
|
2972
|
-
class
|
2972
|
+
class G {
|
2973
2973
|
constructor() {
|
2974
2974
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2975
2975
|
}
|
@@ -2990,7 +2990,7 @@ class H {
|
|
2990
2990
|
"internal-error"
|
2991
2991
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2992
2992
|
);
|
2993
|
-
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) :
|
2993
|
+
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : It(e.idToken);
|
2994
2994
|
this.updateTokensAndExpiration(e.idToken, e.refreshToken, t);
|
2995
2995
|
}
|
2996
2996
|
updateFromIdToken(e) {
|
@@ -2999,7 +2999,7 @@ class H {
|
|
2999
2999
|
"internal-error"
|
3000
3000
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3001
3001
|
);
|
3002
|
-
const t =
|
3002
|
+
const t = It(e);
|
3003
3003
|
this.updateTokensAndExpiration(e, null, t);
|
3004
3004
|
}
|
3005
3005
|
async getToken(e, t = !1) {
|
@@ -3014,14 +3014,14 @@ class H {
|
|
3014
3014
|
this.refreshToken = null;
|
3015
3015
|
}
|
3016
3016
|
async refresh(e, t) {
|
3017
|
-
const { accessToken: r, refreshToken: i, expiresIn: s } = await
|
3017
|
+
const { accessToken: r, refreshToken: i, expiresIn: s } = await ji(e, t);
|
3018
3018
|
this.updateTokensAndExpiration(r, i, Number(s));
|
3019
3019
|
}
|
3020
3020
|
updateTokensAndExpiration(e, t, r) {
|
3021
3021
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
3022
3022
|
}
|
3023
3023
|
static fromJSON(e, t) {
|
3024
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new
|
3024
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new G();
|
3025
3025
|
return r && (u(typeof r == "string", "internal-error", {
|
3026
3026
|
appName: e
|
3027
3027
|
}), a.refreshToken = r), i && (u(typeof i == "string", "internal-error", {
|
@@ -3041,10 +3041,10 @@ class H {
|
|
3041
3041
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
3042
3042
|
}
|
3043
3043
|
_clone() {
|
3044
|
-
return Object.assign(new
|
3044
|
+
return Object.assign(new G(), this.toJSON());
|
3045
3045
|
}
|
3046
3046
|
_performRefresh() {
|
3047
|
-
return
|
3047
|
+
return y("not implemented");
|
3048
3048
|
}
|
3049
3049
|
}
|
3050
3050
|
/**
|
@@ -3063,13 +3063,13 @@ class H {
|
|
3063
3063
|
* See the License for the specific language governing permissions and
|
3064
3064
|
* limitations under the License.
|
3065
3065
|
*/
|
3066
|
-
function
|
3066
|
+
function R(n, e) {
|
3067
3067
|
u(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
|
3068
3068
|
}
|
3069
|
-
class
|
3069
|
+
class b {
|
3070
3070
|
constructor(e) {
|
3071
|
-
var { uid: t, auth: r, stsTokenManager: i } = e, s =
|
3072
|
-
this.providerId = "firebase", this.proactiveRefresh = new
|
3071
|
+
var { uid: t, auth: r, stsTokenManager: i } = e, s = $e(e, ["uid", "auth", "stsTokenManager"]);
|
3072
|
+
this.providerId = "firebase", this.proactiveRefresh = new Gi(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 Ge(s.createdAt || void 0, s.lastLoginAt || void 0);
|
3073
3073
|
}
|
3074
3074
|
async getIdToken(e) {
|
3075
3075
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3084,7 +3084,7 @@ class y {
|
|
3084
3084
|
return xi(this, e);
|
3085
3085
|
}
|
3086
3086
|
reload() {
|
3087
|
-
return
|
3087
|
+
return Vi(this);
|
3088
3088
|
}
|
3089
3089
|
_assign(e) {
|
3090
3090
|
this !== e && (u(
|
@@ -3095,7 +3095,7 @@ class y {
|
|
3095
3095
|
), this.displayName = e.displayName, this.photoURL = e.photoURL, this.email = e.email, this.emailVerified = e.emailVerified, this.phoneNumber = e.phoneNumber, this.isAnonymous = e.isAnonymous, this.tenantId = e.tenantId, this.providerData = e.providerData.map((t) => Object.assign({}, t)), this.metadata._copy(e.metadata), this.stsTokenManager._assign(e.stsTokenManager));
|
3096
3096
|
}
|
3097
3097
|
_clone(e) {
|
3098
|
-
const t = new
|
3098
|
+
const t = new b(Object.assign(Object.assign({}, this), { auth: e, stsTokenManager: this.stsTokenManager._clone() }));
|
3099
3099
|
return t.metadata._copy(this.metadata), t;
|
3100
3100
|
}
|
3101
3101
|
_onReload(e) {
|
@@ -3120,7 +3120,7 @@ class y {
|
|
3120
3120
|
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);
|
3121
3121
|
}
|
3122
3122
|
async delete() {
|
3123
|
-
if (
|
3123
|
+
if (I(this.auth.app))
|
3124
3124
|
return Promise.reject(P(this.auth));
|
3125
3125
|
const e = await this.getIdToken();
|
3126
3126
|
return await K(this, Fi(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
@@ -3158,13 +3158,13 @@ class y {
|
|
3158
3158
|
"internal-error"
|
3159
3159
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3160
3160
|
);
|
3161
|
-
const Pn =
|
3161
|
+
const Pn = G.fromJSON(this.name, at);
|
3162
3162
|
u(
|
3163
3163
|
typeof Te == "string",
|
3164
3164
|
e,
|
3165
3165
|
"internal-error"
|
3166
3166
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3167
|
-
),
|
3167
|
+
), R(h, e.name), R(m, e.name), u(
|
3168
3168
|
typeof it == "boolean",
|
3169
3169
|
e,
|
3170
3170
|
"internal-error"
|
@@ -3174,8 +3174,8 @@ class y {
|
|
3174
3174
|
e,
|
3175
3175
|
"internal-error"
|
3176
3176
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3177
|
-
),
|
3178
|
-
const
|
3177
|
+
), R(v, e.name), R(F, e.name), R(tt, e.name), R(Ee, e.name), R(nt, e.name), R(rt, e.name);
|
3178
|
+
const ke = new b({
|
3179
3179
|
uid: Te,
|
3180
3180
|
auth: e,
|
3181
3181
|
email: m,
|
@@ -3189,7 +3189,7 @@ class y {
|
|
3189
3189
|
createdAt: nt,
|
3190
3190
|
lastLoginAt: rt
|
3191
3191
|
});
|
3192
|
-
return we && Array.isArray(we) && (
|
3192
|
+
return we && Array.isArray(we) && (ke.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (ke._redirectEventId = Ee), ke;
|
3193
3193
|
}
|
3194
3194
|
/**
|
3195
3195
|
* Initialize a User from an idToken server response
|
@@ -3197,9 +3197,9 @@ class y {
|
|
3197
3197
|
* @param idTokenResponse
|
3198
3198
|
*/
|
3199
3199
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
3200
|
-
const i = new
|
3200
|
+
const i = new G();
|
3201
3201
|
i.updateFromServerResponse(t);
|
3202
|
-
const s = new
|
3202
|
+
const s = new b({
|
3203
3203
|
uid: t.localId,
|
3204
3204
|
auth: e,
|
3205
3205
|
stsTokenManager: i,
|
@@ -3219,9 +3219,9 @@ class y {
|
|
3219
3219
|
"internal-error"
|
3220
3220
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3221
3221
|
);
|
3222
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new
|
3222
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new G();
|
3223
3223
|
c.updateFromIdToken(r);
|
3224
|
-
const o = new
|
3224
|
+
const o = new b({
|
3225
3225
|
uid: i.localId,
|
3226
3226
|
auth: e,
|
3227
3227
|
stsTokenManager: c,
|
@@ -3235,7 +3235,7 @@ class y {
|
|
3235
3235
|
phoneNumber: i.phoneNumber || null,
|
3236
3236
|
tenantId: i.tenantId || null,
|
3237
3237
|
providerData: s,
|
3238
|
-
metadata: new
|
3238
|
+
metadata: new Ge(i.createdAt, i.lastLoginAt),
|
3239
3239
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
3240
3240
|
};
|
3241
3241
|
return Object.assign(o, l), o;
|
@@ -3257,11 +3257,11 @@ class y {
|
|
3257
3257
|
* See the License for the specific language governing permissions and
|
3258
3258
|
* limitations under the License.
|
3259
3259
|
*/
|
3260
|
-
const
|
3260
|
+
const yt = /* @__PURE__ */ new Map();
|
3261
3261
|
function E(n) {
|
3262
|
-
|
3263
|
-
let e =
|
3264
|
-
return e ? (
|
3262
|
+
k(n instanceof Function, "Expected a class definition");
|
3263
|
+
let e = yt.get(n);
|
3264
|
+
return e ? (k(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), yt.set(n, e), e);
|
3265
3265
|
}
|
3266
3266
|
/**
|
3267
3267
|
* @license
|
@@ -3302,7 +3302,7 @@ class ln {
|
|
3302
3302
|
}
|
3303
3303
|
}
|
3304
3304
|
ln.type = "NONE";
|
3305
|
-
const
|
3305
|
+
const bt = ln;
|
3306
3306
|
/**
|
3307
3307
|
* @license
|
3308
3308
|
* Copyright 2019 Google LLC
|
@@ -3322,7 +3322,7 @@ const yt = ln;
|
|
3322
3322
|
function ae(n, e, t) {
|
3323
3323
|
return `firebase:${n}:${e}:${t}`;
|
3324
3324
|
}
|
3325
|
-
class
|
3325
|
+
class V {
|
3326
3326
|
constructor(e, t, r) {
|
3327
3327
|
this.persistence = e, this.auth = t, this.userKey = r;
|
3328
3328
|
const { config: i, name: s } = this.auth;
|
@@ -3333,7 +3333,7 @@ class W {
|
|
3333
3333
|
}
|
3334
3334
|
async getCurrentUser() {
|
3335
3335
|
const e = await this.persistence._get(this.fullUserKey);
|
3336
|
-
return e ?
|
3336
|
+
return e ? b._fromJSON(this.auth, e) : null;
|
3337
3337
|
}
|
3338
3338
|
removeCurrentUser() {
|
3339
3339
|
return this.persistence._remove(this.fullUserKey);
|
@@ -3353,32 +3353,32 @@ class W {
|
|
3353
3353
|
}
|
3354
3354
|
static async create(e, t, r = "authUser") {
|
3355
3355
|
if (!t.length)
|
3356
|
-
return new
|
3356
|
+
return new V(E(bt), e, r);
|
3357
3357
|
const i = (await Promise.all(t.map(async (l) => {
|
3358
3358
|
if (await l._isAvailable())
|
3359
3359
|
return l;
|
3360
3360
|
}))).filter((l) => l);
|
3361
|
-
let s = i[0] || E(
|
3361
|
+
let s = i[0] || E(bt);
|
3362
3362
|
const a = ae(r, e.config.apiKey, e.name);
|
3363
3363
|
let c = null;
|
3364
3364
|
for (const l of t)
|
3365
3365
|
try {
|
3366
3366
|
const d = await l._get(a);
|
3367
3367
|
if (d) {
|
3368
|
-
const h =
|
3368
|
+
const h = b._fromJSON(e, d);
|
3369
3369
|
l !== s && (c = h), s = l;
|
3370
3370
|
break;
|
3371
3371
|
}
|
3372
3372
|
} catch {
|
3373
3373
|
}
|
3374
3374
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3375
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3375
|
+
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) => {
|
3376
3376
|
if (l !== s)
|
3377
3377
|
try {
|
3378
3378
|
await l._remove(a);
|
3379
3379
|
} catch {
|
3380
3380
|
}
|
3381
|
-
})), new
|
3381
|
+
})), new V(s, e, r));
|
3382
3382
|
}
|
3383
3383
|
}
|
3384
3384
|
/**
|
@@ -3453,11 +3453,11 @@ function _n(n = f()) {
|
|
3453
3453
|
function Ke(n = f()) {
|
3454
3454
|
return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
|
3455
3455
|
}
|
3456
|
-
function
|
3456
|
+
function Zi(n = f()) {
|
3457
3457
|
var e;
|
3458
3458
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3459
3459
|
}
|
3460
|
-
function
|
3460
|
+
function $i() {
|
3461
3461
|
return dr() && document.documentMode === 10;
|
3462
3462
|
}
|
3463
3463
|
function gn(n = f()) {
|
@@ -3566,7 +3566,7 @@ class Ji {
|
|
3566
3566
|
* limitations under the License.
|
3567
3567
|
*/
|
3568
3568
|
async function Xi(n, e = {}) {
|
3569
|
-
return
|
3569
|
+
return Z(n, "GET", "/v2/passwordPolicy", ve(n, e));
|
3570
3570
|
}
|
3571
3571
|
/**
|
3572
3572
|
* @license
|
@@ -3679,7 +3679,7 @@ class qi {
|
|
3679
3679
|
_initializeWithPersistence(e, t) {
|
3680
3680
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3681
3681
|
var r, i;
|
3682
|
-
if (!this._deleted && (this.persistenceManager = await
|
3682
|
+
if (!this._deleted && (this.persistenceManager = await V.create(this, e), !this._deleted)) {
|
3683
3683
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3684
3684
|
try {
|
3685
3685
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3710,7 +3710,7 @@ class qi {
|
|
3710
3710
|
}
|
3711
3711
|
async initializeCurrentUserFromIdToken(e) {
|
3712
3712
|
try {
|
3713
|
-
const t = await on(this, { idToken: e }), r = await
|
3713
|
+
const t = await on(this, { idToken: e }), r = await b._fromGetAccountInfoResponse(this, t, e);
|
3714
3714
|
await this.directlySetCurrentUser(r);
|
3715
3715
|
} catch (t) {
|
3716
3716
|
console.warn("FirebaseServerApp could not login user with provided authIdToken: ", t), await this.directlySetCurrentUser(null);
|
@@ -3718,7 +3718,7 @@ class qi {
|
|
3718
3718
|
}
|
3719
3719
|
async initializeCurrentUser(e) {
|
3720
3720
|
var t;
|
3721
|
-
if (
|
3721
|
+
if (I(this.app)) {
|
3722
3722
|
const a = this.app.settings.authIdToken;
|
3723
3723
|
return a ? new Promise((c) => {
|
3724
3724
|
setTimeout(() => this.initializeCurrentUserFromIdToken(a).then(c, c));
|
@@ -3774,7 +3774,7 @@ class qi {
|
|
3774
3774
|
this._deleted = !0;
|
3775
3775
|
}
|
3776
3776
|
async updateCurrentUser(e) {
|
3777
|
-
if (
|
3777
|
+
if (I(this.app))
|
3778
3778
|
return Promise.reject(P(this));
|
3779
3779
|
const t = e ? z(e) : null;
|
3780
3780
|
return t && u(
|
@@ -3796,14 +3796,14 @@ class qi {
|
|
3796
3796
|
});
|
3797
3797
|
}
|
3798
3798
|
async signOut() {
|
3799
|
-
return
|
3799
|
+
return I(this.app) ? Promise.reject(P(this)) : (await this.beforeStateQueue.runMiddleware(null), (this.redirectPersistenceManager || this._popupRedirectResolver) && await this._setRedirectUser(null), this._updateCurrentUser(
|
3800
3800
|
null,
|
3801
3801
|
/* skipBeforeStateCallbacks */
|
3802
3802
|
!0
|
3803
3803
|
));
|
3804
3804
|
}
|
3805
3805
|
setPersistence(e) {
|
3806
|
-
return
|
3806
|
+
return I(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
|
3807
3807
|
await this.assertedPersistence.setPersistence(E(e));
|
3808
3808
|
});
|
3809
3809
|
}
|
@@ -3883,7 +3883,7 @@ class qi {
|
|
3883
3883
|
this,
|
3884
3884
|
"argument-error"
|
3885
3885
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3886
|
-
), this.redirectPersistenceManager = await
|
3886
|
+
), this.redirectPersistenceManager = await V.create(
|
3887
3887
|
this,
|
3888
3888
|
[E(t._redirectPersistence)],
|
3889
3889
|
"redirectUser"
|
@@ -4002,10 +4002,10 @@ class qi {
|
|
4002
4002
|
async _getAppCheckToken() {
|
4003
4003
|
var e;
|
4004
4004
|
const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
|
4005
|
-
return t != null && t.error &&
|
4005
|
+
return t != null && t.error && Ci(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
4006
4006
|
}
|
4007
4007
|
}
|
4008
|
-
function
|
4008
|
+
function Ie(n) {
|
4009
4009
|
return z(n);
|
4010
4010
|
}
|
4011
4011
|
class Tt {
|
@@ -4092,7 +4092,7 @@ function is(n, e) {
|
|
4092
4092
|
e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
|
4093
4093
|
}
|
4094
4094
|
function ss(n, e, t) {
|
4095
|
-
const r =
|
4095
|
+
const r = Ie(n);
|
4096
4096
|
u(
|
4097
4097
|
r._canInitEmulator,
|
4098
4098
|
r,
|
@@ -4104,7 +4104,7 @@ function ss(n, e, t) {
|
|
4104
4104
|
"invalid-emulator-scheme"
|
4105
4105
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4106
4106
|
);
|
4107
|
-
const i = !1, s =
|
4107
|
+
const i = !1, s = In(e), { host: a, port: c } = as(e), o = c === null ? "" : `:${c}`;
|
4108
4108
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4109
4109
|
host: a,
|
4110
4110
|
port: c,
|
@@ -4112,12 +4112,12 @@ function ss(n, e, t) {
|
|
4112
4112
|
options: Object.freeze({ disableWarnings: i })
|
4113
4113
|
}), os();
|
4114
4114
|
}
|
4115
|
-
function
|
4115
|
+
function In(n) {
|
4116
4116
|
const e = n.indexOf(":");
|
4117
4117
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4118
4118
|
}
|
4119
4119
|
function as(n) {
|
4120
|
-
const e =
|
4120
|
+
const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4121
4121
|
if (!t)
|
4122
4122
|
return { host: "", port: null };
|
4123
4123
|
const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
|
@@ -4158,7 +4158,7 @@ function os() {
|
|
4158
4158
|
* See the License for the specific language governing permissions and
|
4159
4159
|
* limitations under the License.
|
4160
4160
|
*/
|
4161
|
-
class
|
4161
|
+
class yn {
|
4162
4162
|
/** @internal */
|
4163
4163
|
constructor(e, t) {
|
4164
4164
|
this.providerId = e, this.signInMethod = t;
|
@@ -4169,19 +4169,19 @@ class In {
|
|
4169
4169
|
* @returns a JSON-serializable representation of this object.
|
4170
4170
|
*/
|
4171
4171
|
toJSON() {
|
4172
|
-
return
|
4172
|
+
return y("not implemented");
|
4173
4173
|
}
|
4174
4174
|
/** @internal */
|
4175
4175
|
_getIdTokenResponse(e) {
|
4176
|
-
return
|
4176
|
+
return y("not implemented");
|
4177
4177
|
}
|
4178
4178
|
/** @internal */
|
4179
4179
|
_linkToIdToken(e, t) {
|
4180
|
-
return
|
4180
|
+
return y("not implemented");
|
4181
4181
|
}
|
4182
4182
|
/** @internal */
|
4183
4183
|
_getReauthenticationResolver(e) {
|
4184
|
-
return
|
4184
|
+
return y("not implemented");
|
4185
4185
|
}
|
4186
4186
|
}
|
4187
4187
|
/**
|
@@ -4200,7 +4200,7 @@ class In {
|
|
4200
4200
|
* See the License for the specific language governing permissions and
|
4201
4201
|
* limitations under the License.
|
4202
4202
|
*/
|
4203
|
-
async function
|
4203
|
+
async function W(n, e) {
|
4204
4204
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ve(n, e));
|
4205
4205
|
}
|
4206
4206
|
/**
|
@@ -4220,7 +4220,7 @@ async function V(n, e) {
|
|
4220
4220
|
* limitations under the License.
|
4221
4221
|
*/
|
4222
4222
|
const cs = "http://localhost";
|
4223
|
-
class U extends
|
4223
|
+
class U extends yn {
|
4224
4224
|
constructor() {
|
4225
4225
|
super(...arguments), this.pendingToken = null;
|
4226
4226
|
}
|
@@ -4254,7 +4254,7 @@ class U extends In {
|
|
4254
4254
|
* @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
|
4255
4255
|
*/
|
4256
4256
|
static fromJSON(e) {
|
4257
|
-
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s =
|
4257
|
+
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = $e(t, ["providerId", "signInMethod"]);
|
4258
4258
|
if (!r || !i)
|
4259
4259
|
return null;
|
4260
4260
|
const a = new U(r, i);
|
@@ -4263,17 +4263,17 @@ class U extends In {
|
|
4263
4263
|
/** @internal */
|
4264
4264
|
_getIdTokenResponse(e) {
|
4265
4265
|
const t = this.buildRequest();
|
4266
|
-
return
|
4266
|
+
return W(e, t);
|
4267
4267
|
}
|
4268
4268
|
/** @internal */
|
4269
4269
|
_linkToIdToken(e, t) {
|
4270
4270
|
const r = this.buildRequest();
|
4271
|
-
return r.idToken = t,
|
4271
|
+
return r.idToken = t, W(e, r);
|
4272
4272
|
}
|
4273
4273
|
/** @internal */
|
4274
4274
|
_getReauthenticationResolver(e) {
|
4275
4275
|
const t = this.buildRequest();
|
4276
|
-
return t.autoCreate = !1,
|
4276
|
+
return t.autoCreate = !1, W(e, t);
|
4277
4277
|
}
|
4278
4278
|
buildRequest() {
|
4279
4279
|
const e = {
|
@@ -4305,7 +4305,7 @@ class U extends In {
|
|
4305
4305
|
* See the License for the specific language governing permissions and
|
4306
4306
|
* limitations under the License.
|
4307
4307
|
*/
|
4308
|
-
class
|
4308
|
+
class bn {
|
4309
4309
|
/**
|
4310
4310
|
* Constructor for generic OAuth providers.
|
4311
4311
|
*
|
@@ -4358,7 +4358,7 @@ class yn {
|
|
4358
4358
|
* See the License for the specific language governing permissions and
|
4359
4359
|
* limitations under the License.
|
4360
4360
|
*/
|
4361
|
-
class ne extends
|
4361
|
+
class ne extends bn {
|
4362
4362
|
constructor() {
|
4363
4363
|
super(...arguments), this.scopes = [];
|
4364
4364
|
}
|
@@ -4540,7 +4540,7 @@ A.PROVIDER_ID = "google.com";
|
|
4540
4540
|
* See the License for the specific language governing permissions and
|
4541
4541
|
* limitations under the License.
|
4542
4542
|
*/
|
4543
|
-
class
|
4543
|
+
class O extends ne {
|
4544
4544
|
constructor() {
|
4545
4545
|
super(
|
4546
4546
|
"github.com"
|
@@ -4554,8 +4554,8 @@ class N extends ne {
|
|
4554
4554
|
*/
|
4555
4555
|
static credential(e) {
|
4556
4556
|
return U._fromParams({
|
4557
|
-
providerId:
|
4558
|
-
signInMethod:
|
4557
|
+
providerId: O.PROVIDER_ID,
|
4558
|
+
signInMethod: O.GITHUB_SIGN_IN_METHOD,
|
4559
4559
|
accessToken: e
|
4560
4560
|
});
|
4561
4561
|
}
|
@@ -4565,7 +4565,7 @@ class N extends ne {
|
|
4565
4565
|
* @param userCredential - The user credential.
|
4566
4566
|
*/
|
4567
4567
|
static credentialFromResult(e) {
|
4568
|
-
return
|
4568
|
+
return O.credentialFromTaggedObject(e);
|
4569
4569
|
}
|
4570
4570
|
/**
|
4571
4571
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4574,20 +4574,20 @@ class N extends ne {
|
|
4574
4574
|
* @param userCredential - The user credential.
|
4575
4575
|
*/
|
4576
4576
|
static credentialFromError(e) {
|
4577
|
-
return
|
4577
|
+
return O.credentialFromTaggedObject(e.customData || {});
|
4578
4578
|
}
|
4579
4579
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4580
4580
|
if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
|
4581
4581
|
return null;
|
4582
4582
|
try {
|
4583
|
-
return
|
4583
|
+
return O.credential(e.oauthAccessToken);
|
4584
4584
|
} catch {
|
4585
4585
|
return null;
|
4586
4586
|
}
|
4587
4587
|
}
|
4588
4588
|
}
|
4589
|
-
|
4590
|
-
|
4589
|
+
O.GITHUB_SIGN_IN_METHOD = "github.com";
|
4590
|
+
O.PROVIDER_ID = "github.com";
|
4591
4591
|
/**
|
4592
4592
|
* @license
|
4593
4593
|
* Copyright 2020 Google LLC
|
@@ -4604,7 +4604,7 @@ N.PROVIDER_ID = "github.com";
|
|
4604
4604
|
* See the License for the specific language governing permissions and
|
4605
4605
|
* limitations under the License.
|
4606
4606
|
*/
|
4607
|
-
class
|
4607
|
+
class N extends ne {
|
4608
4608
|
constructor() {
|
4609
4609
|
super(
|
4610
4610
|
"twitter.com"
|
@@ -4619,8 +4619,8 @@ class C extends ne {
|
|
4619
4619
|
*/
|
4620
4620
|
static credential(e, t) {
|
4621
4621
|
return U._fromParams({
|
4622
|
-
providerId:
|
4623
|
-
signInMethod:
|
4622
|
+
providerId: N.PROVIDER_ID,
|
4623
|
+
signInMethod: N.TWITTER_SIGN_IN_METHOD,
|
4624
4624
|
oauthToken: e,
|
4625
4625
|
oauthTokenSecret: t
|
4626
4626
|
});
|
@@ -4631,7 +4631,7 @@ class C extends ne {
|
|
4631
4631
|
* @param userCredential - The user credential.
|
4632
4632
|
*/
|
4633
4633
|
static credentialFromResult(e) {
|
4634
|
-
return
|
4634
|
+
return N.credentialFromTaggedObject(e);
|
4635
4635
|
}
|
4636
4636
|
/**
|
4637
4637
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4640,7 +4640,7 @@ class C extends ne {
|
|
4640
4640
|
* @param userCredential - The user credential.
|
4641
4641
|
*/
|
4642
4642
|
static credentialFromError(e) {
|
4643
|
-
return
|
4643
|
+
return N.credentialFromTaggedObject(e.customData || {});
|
4644
4644
|
}
|
4645
4645
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4646
4646
|
if (!e)
|
@@ -4649,14 +4649,14 @@ class C extends ne {
|
|
4649
4649
|
if (!t || !r)
|
4650
4650
|
return null;
|
4651
4651
|
try {
|
4652
|
-
return
|
4652
|
+
return N.credential(t, r);
|
4653
4653
|
} catch {
|
4654
4654
|
return null;
|
4655
4655
|
}
|
4656
4656
|
}
|
4657
4657
|
}
|
4658
|
-
|
4659
|
-
|
4658
|
+
N.TWITTER_SIGN_IN_METHOD = "twitter.com";
|
4659
|
+
N.PROVIDER_ID = "twitter.com";
|
4660
4660
|
/**
|
4661
4661
|
* @license
|
4662
4662
|
* Copyright 2020 Google LLC
|
@@ -4678,7 +4678,7 @@ class B {
|
|
4678
4678
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
4679
4679
|
}
|
4680
4680
|
static async _fromIdTokenResponse(e, t, r, i = !1) {
|
4681
|
-
const s = await
|
4681
|
+
const s = await b._fromIdTokenResponse(e, r, i), a = kt(r);
|
4682
4682
|
return new B({
|
4683
4683
|
user: s,
|
4684
4684
|
providerId: a,
|
@@ -4692,7 +4692,7 @@ class B {
|
|
4692
4692
|
/* reload */
|
4693
4693
|
!0
|
4694
4694
|
);
|
4695
|
-
const i =
|
4695
|
+
const i = kt(r);
|
4696
4696
|
return new B({
|
4697
4697
|
user: e,
|
4698
4698
|
providerId: i,
|
@@ -4701,7 +4701,7 @@ class B {
|
|
4701
4701
|
});
|
4702
4702
|
}
|
4703
4703
|
}
|
4704
|
-
function
|
4704
|
+
function kt(n) {
|
4705
4705
|
return n.providerId ? n.providerId : "phoneNumber" in n ? "phone" : null;
|
4706
4706
|
}
|
4707
4707
|
/**
|
@@ -4761,7 +4761,7 @@ async function ls(n, e, t = !1) {
|
|
4761
4761
|
*/
|
4762
4762
|
async function ds(n, e, t = !1) {
|
4763
4763
|
const { auth: r } = n;
|
4764
|
-
if (
|
4764
|
+
if (I(r.app))
|
4765
4765
|
return Promise.reject(P(r));
|
4766
4766
|
const i = "reauthenticate";
|
4767
4767
|
try {
|
@@ -4811,7 +4811,7 @@ async function ds(n, e, t = !1) {
|
|
4811
4811
|
* limitations under the License.
|
4812
4812
|
*/
|
4813
4813
|
async function us(n, e, t = !1) {
|
4814
|
-
if (
|
4814
|
+
if (I(n.app))
|
4815
4815
|
return Promise.reject(P(n));
|
4816
4816
|
const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
|
4817
4817
|
return t || await n._updateCurrentUser(s.user), s;
|
@@ -4852,9 +4852,9 @@ async function hs(n, e) {
|
|
4852
4852
|
* limitations under the License.
|
4853
4853
|
*/
|
4854
4854
|
async function ps(n, e) {
|
4855
|
-
if (
|
4855
|
+
if (I(n.app))
|
4856
4856
|
return Promise.reject(P(n));
|
4857
|
-
const t =
|
4857
|
+
const t = Ie(n), r = await hs(t, {
|
4858
4858
|
token: e,
|
4859
4859
|
returnSecureToken: !0
|
4860
4860
|
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
@@ -4952,7 +4952,7 @@ class wn extends Tn {
|
|
4952
4952
|
const a = this.storage.getItem(r);
|
4953
4953
|
!t && this.localCache[r] === a || this.notifyListeners(r, a);
|
4954
4954
|
}, s = this.storage.getItem(r);
|
4955
|
-
|
4955
|
+
$i() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, gs) : i();
|
4956
4956
|
}
|
4957
4957
|
notifyListeners(e, t) {
|
4958
4958
|
this.localCache[e] = t;
|
@@ -5021,7 +5021,7 @@ const vs = wn;
|
|
5021
5021
|
* See the License for the specific language governing permissions and
|
5022
5022
|
* limitations under the License.
|
5023
5023
|
*/
|
5024
|
-
class
|
5024
|
+
class kn extends Tn {
|
5025
5025
|
constructor() {
|
5026
5026
|
super(
|
5027
5027
|
() => window.sessionStorage,
|
@@ -5034,8 +5034,8 @@ class Rn extends Tn {
|
|
5034
5034
|
_removeListener(e, t) {
|
5035
5035
|
}
|
5036
5036
|
}
|
5037
|
-
|
5038
|
-
const
|
5037
|
+
kn.type = "SESSION";
|
5038
|
+
const Rn = kn;
|
5039
5039
|
/**
|
5040
5040
|
* @license
|
5041
5041
|
* Copyright 2019 Google LLC
|
@@ -5052,7 +5052,7 @@ const kn = Rn;
|
|
5052
5052
|
* See the License for the specific language governing permissions and
|
5053
5053
|
* limitations under the License.
|
5054
5054
|
*/
|
5055
|
-
function
|
5055
|
+
function Is(n) {
|
5056
5056
|
return Promise.all(n.map(async (e) => {
|
5057
5057
|
try {
|
5058
5058
|
return {
|
@@ -5083,7 +5083,7 @@ function bs(n) {
|
|
5083
5083
|
* See the License for the specific language governing permissions and
|
5084
5084
|
* limitations under the License.
|
5085
5085
|
*/
|
5086
|
-
class
|
5086
|
+
class ye {
|
5087
5087
|
constructor(e) {
|
5088
5088
|
this.eventTarget = e, this.handlersMap = {}, this.boundEventHandler = this.handleEvent.bind(this);
|
5089
5089
|
}
|
@@ -5097,7 +5097,7 @@ class Ie {
|
|
5097
5097
|
const t = this.receivers.find((i) => i.isListeningto(e));
|
5098
5098
|
if (t)
|
5099
5099
|
return t;
|
5100
|
-
const r = new
|
5100
|
+
const r = new ye(e);
|
5101
5101
|
return this.receivers.push(r), r;
|
5102
5102
|
}
|
5103
5103
|
isListeningto(e) {
|
@@ -5122,7 +5122,7 @@ class Ie {
|
|
5122
5122
|
eventId: r,
|
5123
5123
|
eventType: i
|
5124
5124
|
});
|
5125
|
-
const c = Array.from(a).map(async (l) => l(t.origin, s)), o = await
|
5125
|
+
const c = Array.from(a).map(async (l) => l(t.origin, s)), o = await Is(c);
|
5126
5126
|
t.ports[0].postMessage({
|
5127
5127
|
status: "done",
|
5128
5128
|
eventId: r,
|
@@ -5151,7 +5151,7 @@ class Ie {
|
|
5151
5151
|
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);
|
5152
5152
|
}
|
5153
5153
|
}
|
5154
|
-
|
5154
|
+
ye.receivers = [];
|
5155
5155
|
/**
|
5156
5156
|
* @license
|
5157
5157
|
* Copyright 2020 Google LLC
|
@@ -5190,7 +5190,7 @@ function Qe(n = "", e = 10) {
|
|
5190
5190
|
* See the License for the specific language governing permissions and
|
5191
5191
|
* limitations under the License.
|
5192
5192
|
*/
|
5193
|
-
class
|
5193
|
+
class ys {
|
5194
5194
|
constructor(e) {
|
5195
5195
|
this.target = e, this.handlers = /* @__PURE__ */ new Set();
|
5196
5196
|
}
|
@@ -5290,7 +5290,7 @@ class Is {
|
|
5290
5290
|
function g() {
|
5291
5291
|
return window;
|
5292
5292
|
}
|
5293
|
-
function
|
5293
|
+
function bs(n) {
|
5294
5294
|
g().location.href = n;
|
5295
5295
|
}
|
5296
5296
|
/**
|
@@ -5344,7 +5344,7 @@ function ws() {
|
|
5344
5344
|
* See the License for the specific language governing permissions and
|
5345
5345
|
* limitations under the License.
|
5346
5346
|
*/
|
5347
|
-
const An = "firebaseLocalStorageDb",
|
5347
|
+
const An = "firebaseLocalStorageDb", ks = 1, ge = "firebaseLocalStorage", On = "fbase_key";
|
5348
5348
|
class re {
|
5349
5349
|
constructor(e) {
|
5350
5350
|
this.request = e;
|
@@ -5359,55 +5359,55 @@ class re {
|
|
5359
5359
|
});
|
5360
5360
|
}
|
5361
5361
|
}
|
5362
|
-
function
|
5362
|
+
function be(n, e) {
|
5363
5363
|
return n.transaction([ge], e ? "readwrite" : "readonly").objectStore(ge);
|
5364
5364
|
}
|
5365
|
-
function
|
5365
|
+
function Rs() {
|
5366
5366
|
const n = indexedDB.deleteDatabase(An);
|
5367
5367
|
return new re(n).toPromise();
|
5368
5368
|
}
|
5369
|
-
function
|
5370
|
-
const n = indexedDB.open(An,
|
5369
|
+
function Ve() {
|
5370
|
+
const n = indexedDB.open(An, ks);
|
5371
5371
|
return new Promise((e, t) => {
|
5372
5372
|
n.addEventListener("error", () => {
|
5373
5373
|
t(n.error);
|
5374
5374
|
}), n.addEventListener("upgradeneeded", () => {
|
5375
5375
|
const r = n.result;
|
5376
5376
|
try {
|
5377
|
-
r.createObjectStore(ge, { keyPath:
|
5377
|
+
r.createObjectStore(ge, { keyPath: On });
|
5378
5378
|
} catch (i) {
|
5379
5379
|
t(i);
|
5380
5380
|
}
|
5381
5381
|
}), n.addEventListener("success", async () => {
|
5382
5382
|
const r = n.result;
|
5383
|
-
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await
|
5383
|
+
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Rs(), e(await Ve()));
|
5384
5384
|
});
|
5385
5385
|
});
|
5386
5386
|
}
|
5387
|
-
async function
|
5388
|
-
const r =
|
5389
|
-
[
|
5387
|
+
async function Rt(n, e, t) {
|
5388
|
+
const r = be(n, !0).put({
|
5389
|
+
[On]: e,
|
5390
5390
|
value: t
|
5391
5391
|
});
|
5392
5392
|
return new re(r).toPromise();
|
5393
5393
|
}
|
5394
5394
|
async function Ss(n, e) {
|
5395
|
-
const t =
|
5395
|
+
const t = be(n, !1).get(e), r = await new re(t).toPromise();
|
5396
5396
|
return r === void 0 ? null : r.value;
|
5397
5397
|
}
|
5398
5398
|
function St(n, e) {
|
5399
|
-
const t =
|
5399
|
+
const t = be(n, !0).delete(e);
|
5400
5400
|
return new re(t).toPromise();
|
5401
5401
|
}
|
5402
|
-
const As = 800,
|
5403
|
-
class
|
5402
|
+
const As = 800, Os = 3;
|
5403
|
+
class Nn {
|
5404
5404
|
constructor() {
|
5405
5405
|
this.type = "LOCAL", this._shouldAllowMigration = !0, this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.pendingWrites = 0, this.receiver = null, this.sender = null, this.serviceWorkerReceiverAvailable = !1, this.activeServiceWorker = null, this._workerInitializationPromise = this.initializeServiceWorkerMessaging().then(() => {
|
5406
5406
|
}, () => {
|
5407
5407
|
});
|
5408
5408
|
}
|
5409
5409
|
async _openDb() {
|
5410
|
-
return this.db ? this.db : (this.db = await
|
5410
|
+
return this.db ? this.db : (this.db = await Ve(), this.db);
|
5411
5411
|
}
|
5412
5412
|
async _withRetries(e) {
|
5413
5413
|
let t = 0;
|
@@ -5416,7 +5416,7 @@ class Cn {
|
|
5416
5416
|
const r = await this._openDb();
|
5417
5417
|
return await e(r);
|
5418
5418
|
} catch (r) {
|
5419
|
-
if (t++ >
|
5419
|
+
if (t++ > Os)
|
5420
5420
|
throw r;
|
5421
5421
|
this.db && (this.db.close(), this.db = void 0);
|
5422
5422
|
}
|
@@ -5432,7 +5432,7 @@ class Cn {
|
|
5432
5432
|
* As the worker we should listen to events from the main window.
|
5433
5433
|
*/
|
5434
5434
|
async initializeReceiver() {
|
5435
|
-
this.receiver =
|
5435
|
+
this.receiver = ye._getInstance(ws()), this.receiver._subscribe("keyChanged", async (e, t) => ({
|
5436
5436
|
keyProcessed: (await this._poll()).includes(t.key)
|
5437
5437
|
})), this.receiver._subscribe("ping", async (e, t) => [
|
5438
5438
|
"keyChanged"
|
@@ -5450,7 +5450,7 @@ class Cn {
|
|
5450
5450
|
var e, t;
|
5451
5451
|
if (this.activeServiceWorker = await Es(), !this.activeServiceWorker)
|
5452
5452
|
return;
|
5453
|
-
this.sender = new
|
5453
|
+
this.sender = new ys(this.activeServiceWorker);
|
5454
5454
|
const r = await this.sender._send(
|
5455
5455
|
"ping",
|
5456
5456
|
{},
|
@@ -5488,8 +5488,8 @@ class Cn {
|
|
5488
5488
|
try {
|
5489
5489
|
if (!indexedDB)
|
5490
5490
|
return !1;
|
5491
|
-
const e = await
|
5492
|
-
return await
|
5491
|
+
const e = await Ve();
|
5492
|
+
return await Rt(e, _e, "1"), await St(e, _e), !0;
|
5493
5493
|
} catch {
|
5494
5494
|
}
|
5495
5495
|
return !1;
|
@@ -5503,7 +5503,7 @@ class Cn {
|
|
5503
5503
|
}
|
5504
5504
|
}
|
5505
5505
|
async _set(e, t) {
|
5506
|
-
return this._withPendingWrite(async () => (await this._withRetries((r) =>
|
5506
|
+
return this._withPendingWrite(async () => (await this._withRetries((r) => Rt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
|
5507
5507
|
}
|
5508
5508
|
async _get(e) {
|
5509
5509
|
const t = await this._withRetries((r) => Ss(r, e));
|
@@ -5514,7 +5514,7 @@ class Cn {
|
|
5514
5514
|
}
|
5515
5515
|
async _poll() {
|
5516
5516
|
const e = await this._withRetries((i) => {
|
5517
|
-
const s =
|
5517
|
+
const s = be(i, !1).getAll();
|
5518
5518
|
return new re(s).toPromise();
|
5519
5519
|
});
|
5520
5520
|
if (!e)
|
@@ -5549,8 +5549,8 @@ class Cn {
|
|
5549
5549
|
this.listeners[e] && (this.listeners[e].delete(t), this.listeners[e].size === 0 && delete this.listeners[e]), Object.keys(this.listeners).length === 0 && this.stopPolling();
|
5550
5550
|
}
|
5551
5551
|
}
|
5552
|
-
|
5553
|
-
const
|
5552
|
+
Nn.type = "LOCAL";
|
5553
|
+
const Ns = Nn;
|
5554
5554
|
new te(3e4, 6e4);
|
5555
5555
|
/**
|
5556
5556
|
* @license
|
@@ -5568,7 +5568,7 @@ new te(3e4, 6e4);
|
|
5568
5568
|
* See the License for the specific language governing permissions and
|
5569
5569
|
* limitations under the License.
|
5570
5570
|
*/
|
5571
|
-
function
|
5571
|
+
function Cs(n, e) {
|
5572
5572
|
return e ? E(e) : (u(
|
5573
5573
|
n._popupRedirectResolver,
|
5574
5574
|
n,
|
@@ -5592,7 +5592,7 @@ function Os(n, e) {
|
|
5592
5592
|
* See the License for the specific language governing permissions and
|
5593
5593
|
* limitations under the License.
|
5594
5594
|
*/
|
5595
|
-
class et extends
|
5595
|
+
class et extends yn {
|
5596
5596
|
constructor(e) {
|
5597
5597
|
super(
|
5598
5598
|
"custom",
|
@@ -5601,13 +5601,13 @@ class et extends In {
|
|
5601
5601
|
), this.params = e;
|
5602
5602
|
}
|
5603
5603
|
_getIdTokenResponse(e) {
|
5604
|
-
return
|
5604
|
+
return W(e, this._buildIdpRequest());
|
5605
5605
|
}
|
5606
5606
|
_linkToIdToken(e, t) {
|
5607
|
-
return
|
5607
|
+
return W(e, this._buildIdpRequest(t));
|
5608
5608
|
}
|
5609
5609
|
_getReauthenticationResolver(e) {
|
5610
|
-
return
|
5610
|
+
return W(e, this._buildIdpRequest());
|
5611
5611
|
}
|
5612
5612
|
_buildIdpRequest(e) {
|
5613
5613
|
const t = {
|
@@ -5659,7 +5659,7 @@ async function Ms(n) {
|
|
5659
5659
|
* See the License for the specific language governing permissions and
|
5660
5660
|
* limitations under the License.
|
5661
5661
|
*/
|
5662
|
-
class
|
5662
|
+
class Cn {
|
5663
5663
|
constructor(e, t, r, i, s = !1) {
|
5664
5664
|
this.auth = e, this.resolver = r, this.user = i, this.bypassAuthState = s, this.pendingPromise = null, this.eventManager = null, this.filter = Array.isArray(t) ? t : [t];
|
5665
5665
|
}
|
@@ -5717,10 +5717,10 @@ class On {
|
|
5717
5717
|
}
|
5718
5718
|
}
|
5719
5719
|
resolve(e) {
|
5720
|
-
|
5720
|
+
k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
|
5721
5721
|
}
|
5722
5722
|
reject(e) {
|
5723
|
-
|
5723
|
+
k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
|
5724
5724
|
}
|
5725
5725
|
unregisterAndCleanUp() {
|
5726
5726
|
this.eventManager && this.eventManager.unregisterConsumer(this), this.pendingPromise = null, this.cleanUp();
|
@@ -5743,7 +5743,7 @@ class On {
|
|
5743
5743
|
* limitations under the License.
|
5744
5744
|
*/
|
5745
5745
|
const Ls = new te(2e3, 1e4);
|
5746
|
-
class x extends
|
5746
|
+
class x extends Cn {
|
5747
5747
|
constructor(e, t, r, i, s) {
|
5748
5748
|
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
|
5749
5749
|
}
|
@@ -5757,7 +5757,7 @@ class x extends On {
|
|
5757
5757
|
), e;
|
5758
5758
|
}
|
5759
5759
|
async onExecution() {
|
5760
|
-
|
5760
|
+
k(this.filter.length === 1, "Popup operations only handle one event");
|
5761
5761
|
const e = Qe();
|
5762
5762
|
this.authWindow = await this.resolver._openPopup(
|
5763
5763
|
this.auth,
|
@@ -5829,7 +5829,7 @@ x.currentPopupAction = null;
|
|
5829
5829
|
* limitations under the License.
|
5830
5830
|
*/
|
5831
5831
|
const Us = "pendingRedirect", oe = /* @__PURE__ */ new Map();
|
5832
|
-
class Bs extends
|
5832
|
+
class Bs extends Cn {
|
5833
5833
|
constructor(e, t, r = !1) {
|
5834
5834
|
super(e, [
|
5835
5835
|
"signInViaRedirect",
|
@@ -5876,7 +5876,7 @@ class Bs extends On {
|
|
5876
5876
|
}
|
5877
5877
|
}
|
5878
5878
|
async function Fs(n, e) {
|
5879
|
-
const t =
|
5879
|
+
const t = Gs(e), r = Hs(n);
|
5880
5880
|
if (!await r._isAvailable())
|
5881
5881
|
return !1;
|
5882
5882
|
const i = await r._get(t) === "true";
|
@@ -5885,16 +5885,16 @@ async function Fs(n, e) {
|
|
5885
5885
|
function xs(n, e) {
|
5886
5886
|
oe.set(n._key(), e);
|
5887
5887
|
}
|
5888
|
-
function
|
5888
|
+
function Hs(n) {
|
5889
5889
|
return E(n._redirectPersistence);
|
5890
5890
|
}
|
5891
|
-
function
|
5891
|
+
function Gs(n) {
|
5892
5892
|
return ae(Us, n.config.apiKey, n.name);
|
5893
5893
|
}
|
5894
|
-
async function
|
5895
|
-
if (
|
5894
|
+
async function Vs(n, e, t = !1) {
|
5895
|
+
if (I(n.app))
|
5896
5896
|
return Promise.reject(P(n));
|
5897
|
-
const r =
|
5897
|
+
const r = Ie(n), i = Cs(r, e), a = await new Bs(r, i, t).execute();
|
5898
5898
|
return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
|
5899
5899
|
}
|
5900
5900
|
/**
|
@@ -5913,8 +5913,8 @@ async function Ws(n, e, t = !1) {
|
|
5913
5913
|
* See the License for the specific language governing permissions and
|
5914
5914
|
* limitations under the License.
|
5915
5915
|
*/
|
5916
|
-
const
|
5917
|
-
class
|
5916
|
+
const Ws = 10 * 60 * 1e3;
|
5917
|
+
class js {
|
5918
5918
|
constructor(e) {
|
5919
5919
|
this.auth = e, this.cachedEventUids = /* @__PURE__ */ new Set(), this.consumers = /* @__PURE__ */ new Set(), this.queuedRedirectEvent = null, this.hasHandledPotentialRedirect = !1, this.lastProcessedEventTime = Date.now();
|
5920
5920
|
}
|
@@ -5945,7 +5945,7 @@ class Gs {
|
|
5945
5945
|
return t.filter.includes(e.type) && r;
|
5946
5946
|
}
|
5947
5947
|
hasEventBeenHandled(e) {
|
5948
|
-
return Date.now() - this.lastProcessedEventTime >=
|
5948
|
+
return Date.now() - this.lastProcessedEventTime >= Ws && this.cachedEventUids.clear(), this.cachedEventUids.has(At(e));
|
5949
5949
|
}
|
5950
5950
|
saveEventToCache(e) {
|
5951
5951
|
this.cachedEventUids.add(At(e)), this.lastProcessedEventTime = Date.now();
|
@@ -5985,8 +5985,8 @@ function zs(n) {
|
|
5985
5985
|
* See the License for the specific language governing permissions and
|
5986
5986
|
* limitations under the License.
|
5987
5987
|
*/
|
5988
|
-
async function
|
5989
|
-
return
|
5988
|
+
async function Zs(n, e = {}) {
|
5989
|
+
return Z(n, "GET", "/v1/projects", e);
|
5990
5990
|
}
|
5991
5991
|
/**
|
5992
5992
|
* @license
|
@@ -6004,11 +6004,11 @@ async function $s(n, e = {}) {
|
|
6004
6004
|
* See the License for the specific language governing permissions and
|
6005
6005
|
* limitations under the License.
|
6006
6006
|
*/
|
6007
|
-
const
|
6007
|
+
const $s = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Js = /^https?/;
|
6008
6008
|
async function Xs(n) {
|
6009
6009
|
if (n.config.emulator)
|
6010
6010
|
return;
|
6011
|
-
const { authorizedDomains: e } = await
|
6011
|
+
const { authorizedDomains: e } = await Zs(n);
|
6012
6012
|
for (const t of e)
|
6013
6013
|
try {
|
6014
6014
|
if (Ys(t))
|
@@ -6022,14 +6022,14 @@ async function Xs(n) {
|
|
6022
6022
|
);
|
6023
6023
|
}
|
6024
6024
|
function Ys(n) {
|
6025
|
-
const e =
|
6025
|
+
const e = He(), { protocol: t, hostname: r } = new URL(e);
|
6026
6026
|
if (n.startsWith("chrome-extension://")) {
|
6027
6027
|
const a = new URL(n);
|
6028
6028
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
6029
6029
|
}
|
6030
6030
|
if (!Js.test(t))
|
6031
6031
|
return !1;
|
6032
|
-
if (
|
6032
|
+
if ($s.test(n))
|
6033
6033
|
return r === n;
|
6034
6034
|
const i = n.replace(/\./g, "\\.");
|
6035
6035
|
return new RegExp("^(.+\\." + i + "|" + i + ")$", "i").test(r);
|
@@ -6051,7 +6051,7 @@ function Ys(n) {
|
|
6051
6051
|
* limitations under the License.
|
6052
6052
|
*/
|
6053
6053
|
const Ks = new te(3e4, 6e4);
|
6054
|
-
function
|
6054
|
+
function Ot() {
|
6055
6055
|
const n = g().___jsl;
|
6056
6056
|
if (n != null && n.H) {
|
6057
6057
|
for (const e of Object.keys(n.H))
|
@@ -6064,12 +6064,12 @@ function qs(n) {
|
|
6064
6064
|
return new Promise((e, t) => {
|
6065
6065
|
var r, i, s;
|
6066
6066
|
function a() {
|
6067
|
-
|
6067
|
+
Ot(), gapi.load("gapi.iframes", {
|
6068
6068
|
callback: () => {
|
6069
6069
|
e(gapi.iframes.getContext());
|
6070
6070
|
},
|
6071
6071
|
ontimeout: () => {
|
6072
|
-
|
6072
|
+
Ot(), t(_(
|
6073
6073
|
n,
|
6074
6074
|
"network-request-failed"
|
6075
6075
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
@@ -6203,7 +6203,7 @@ const oa = {
|
|
6203
6203
|
statusbar: "yes",
|
6204
6204
|
toolbar: "no"
|
6205
6205
|
}, ca = 500, la = 600, da = "_blank", ua = "http://localhost";
|
6206
|
-
class
|
6206
|
+
class Nt {
|
6207
6207
|
constructor(e) {
|
6208
6208
|
this.window = e, this.associatedEvent = null;
|
6209
6209
|
}
|
@@ -6226,8 +6226,8 @@ function ha(n, e, t, r = ca, i = la) {
|
|
6226
6226
|
}), l = f().toLowerCase();
|
6227
6227
|
t && (c = hn(l) ? da : t), dn(l) && (e = e || ua, o.scrollbars = "yes");
|
6228
6228
|
const d = Object.entries(o).reduce((m, [v, F]) => `${m}${v}=${F},`, "");
|
6229
|
-
if (
|
6230
|
-
return pa(e || "", c), new
|
6229
|
+
if (Zi(l) && c !== "_self")
|
6230
|
+
return pa(e || "", c), new Nt(null);
|
6231
6231
|
const h = window.open(e || "", c, d);
|
6232
6232
|
u(
|
6233
6233
|
h,
|
@@ -6239,7 +6239,7 @@ function ha(n, e, t, r = ca, i = la) {
|
|
6239
6239
|
h.focus();
|
6240
6240
|
} catch {
|
6241
6241
|
}
|
6242
|
-
return new
|
6242
|
+
return new Nt(h);
|
6243
6243
|
}
|
6244
6244
|
function pa(n, e) {
|
6245
6245
|
const t = document.createElement("a");
|
@@ -6264,7 +6264,7 @@ function pa(n, e) {
|
|
6264
6264
|
* limitations under the License.
|
6265
6265
|
*/
|
6266
6266
|
const ma = "__/auth/handler", fa = "emulator/auth/handler", _a = encodeURIComponent("fac");
|
6267
|
-
async function
|
6267
|
+
async function Ct(n, e, t, r, i, s) {
|
6268
6268
|
u(
|
6269
6269
|
n.config.authDomain,
|
6270
6270
|
n,
|
@@ -6284,7 +6284,7 @@ async function Ot(n, e, t, r, i, s) {
|
|
6284
6284
|
v: ee,
|
6285
6285
|
eventId: i
|
6286
6286
|
};
|
6287
|
-
if (e instanceof
|
6287
|
+
if (e instanceof bn) {
|
6288
6288
|
e.setDefaultLanguage(n.languageCode), a.providerId = e.providerId || "", _r(e.getCustomParameters()) || (a.customParameters = JSON.stringify(e.getCustomParameters()));
|
6289
6289
|
for (const [d, h] of Object.entries({}))
|
6290
6290
|
a[d] = h;
|
@@ -6322,27 +6322,27 @@ function ga({ config: n }) {
|
|
6322
6322
|
const De = "webStorageSupport";
|
6323
6323
|
class va {
|
6324
6324
|
constructor() {
|
6325
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence =
|
6325
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn = Vs, this._overrideRedirectResult = xs;
|
6326
6326
|
}
|
6327
6327
|
// Wrapping in async even though we don't await anywhere in order
|
6328
6328
|
// to make sure errors are raised as promise rejections
|
6329
6329
|
async _openPopup(e, t, r, i) {
|
6330
6330
|
var s;
|
6331
|
-
|
6332
|
-
const a = await
|
6331
|
+
k((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6332
|
+
const a = await Ct(e, t, r, He(), i);
|
6333
6333
|
return ha(e, a, Qe());
|
6334
6334
|
}
|
6335
6335
|
async _openRedirect(e, t, r, i) {
|
6336
6336
|
await this._originValidation(e);
|
6337
|
-
const s = await
|
6338
|
-
return
|
6337
|
+
const s = await Ct(e, t, r, He(), i);
|
6338
|
+
return bs(s), new Promise(() => {
|
6339
6339
|
});
|
6340
6340
|
}
|
6341
6341
|
_initialize(e) {
|
6342
6342
|
const t = e._key();
|
6343
6343
|
if (this.eventManagers[t]) {
|
6344
6344
|
const { manager: i, promise: s } = this.eventManagers[t];
|
6345
|
-
return i ? Promise.resolve(i) : (
|
6345
|
+
return i ? Promise.resolve(i) : (k(s, "If manager is not set, promise should be"), s);
|
6346
6346
|
}
|
6347
6347
|
const r = this.initAndGetManager(e);
|
6348
6348
|
return this.eventManagers[t] = { promise: r }, r.catch(() => {
|
@@ -6350,7 +6350,7 @@ class va {
|
|
6350
6350
|
}), r;
|
6351
6351
|
}
|
6352
6352
|
async initAndGetManager(e) {
|
6353
|
-
const t = await aa(e), r = new
|
6353
|
+
const t = await aa(e), r = new js(e);
|
6354
6354
|
return t.register("authEvent", (i) => (u(
|
6355
6355
|
i == null ? void 0 : i.authEvent,
|
6356
6356
|
e,
|
@@ -6380,7 +6380,7 @@ class va {
|
|
6380
6380
|
return gn() || un() || Ke();
|
6381
6381
|
}
|
6382
6382
|
}
|
6383
|
-
const
|
6383
|
+
const Ia = va;
|
6384
6384
|
var Dt = "@firebase/auth", Pt = "1.7.9";
|
6385
6385
|
/**
|
6386
6386
|
* @license
|
@@ -6398,7 +6398,7 @@ var Dt = "@firebase/auth", Pt = "1.7.9";
|
|
6398
6398
|
* See the License for the specific language governing permissions and
|
6399
6399
|
* limitations under the License.
|
6400
6400
|
*/
|
6401
|
-
class
|
6401
|
+
class ya {
|
6402
6402
|
constructor(e) {
|
6403
6403
|
this.auth = e, this.internalListeners = /* @__PURE__ */ new Map();
|
6404
6404
|
}
|
@@ -6449,7 +6449,7 @@ class Ia {
|
|
6449
6449
|
* See the License for the specific language governing permissions and
|
6450
6450
|
* limitations under the License.
|
6451
6451
|
*/
|
6452
|
-
function
|
6452
|
+
function ba(n) {
|
6453
6453
|
switch (n) {
|
6454
6454
|
case "Node":
|
6455
6455
|
return "node";
|
@@ -6466,7 +6466,7 @@ function ya(n) {
|
|
6466
6466
|
}
|
6467
6467
|
}
|
6468
6468
|
function Ea(n) {
|
6469
|
-
X(new
|
6469
|
+
X(new j(
|
6470
6470
|
"auth",
|
6471
6471
|
(e, { options: t }) => {
|
6472
6472
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
|
@@ -6492,21 +6492,21 @@ function Ea(n) {
|
|
6492
6492
|
"auth-internal"
|
6493
6493
|
/* _ComponentName.AUTH_INTERNAL */
|
6494
6494
|
).initialize();
|
6495
|
-
})), X(new
|
6495
|
+
})), X(new j(
|
6496
6496
|
"auth-internal",
|
6497
6497
|
(e) => {
|
6498
|
-
const t =
|
6498
|
+
const t = Ie(e.getProvider(
|
6499
6499
|
"auth"
|
6500
6500
|
/* _ComponentName.AUTH */
|
6501
6501
|
).getImmediate());
|
6502
|
-
return ((r) => new
|
6502
|
+
return ((r) => new ya(r))(t);
|
6503
6503
|
},
|
6504
6504
|
"PRIVATE"
|
6505
6505
|
/* ComponentType.PRIVATE */
|
6506
6506
|
).setInstantiationMode(
|
6507
6507
|
"EXPLICIT"
|
6508
6508
|
/* InstantiationMode.EXPLICIT */
|
6509
|
-
)),
|
6509
|
+
)), H(Dt, Pt, ba(n)), H(Dt, Pt, "esm2017");
|
6510
6510
|
}
|
6511
6511
|
/**
|
6512
6512
|
* @license
|
@@ -6526,7 +6526,7 @@ function Ea(n) {
|
|
6526
6526
|
*/
|
6527
6527
|
const Ta = 5 * 60, wa = zt("authIdTokenMaxAge") || Ta;
|
6528
6528
|
let Mt = null;
|
6529
|
-
const
|
6529
|
+
const ka = (n) => async (e) => {
|
6530
6530
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
6531
6531
|
if (r && r > wa)
|
6532
6532
|
return;
|
@@ -6538,26 +6538,26 @@ const Ra = (n) => async (e) => {
|
|
6538
6538
|
} : {}
|
6539
6539
|
}));
|
6540
6540
|
};
|
6541
|
-
function
|
6541
|
+
function Ra(n = vi()) {
|
6542
6542
|
const e = Xt(n, "auth");
|
6543
6543
|
if (e.isInitialized())
|
6544
6544
|
return e.getImmediate();
|
6545
6545
|
const t = rs(n, {
|
6546
|
-
popupRedirectResolver:
|
6546
|
+
popupRedirectResolver: Ia,
|
6547
6547
|
persistence: [
|
6548
|
-
|
6548
|
+
Ns,
|
6549
6549
|
vs,
|
6550
|
-
|
6550
|
+
Rn
|
6551
6551
|
]
|
6552
6552
|
}), r = zt("authTokenSyncURL");
|
6553
6553
|
if (r && typeof isSecureContext == "boolean" && isSecureContext) {
|
6554
6554
|
const s = new URL(r, location.origin);
|
6555
6555
|
if (location.origin === s.origin) {
|
6556
|
-
const a =
|
6556
|
+
const a = ka(s.toString());
|
6557
6557
|
fs(t, a, () => a(t.currentUser)), ms(t, (c) => a(c));
|
6558
6558
|
}
|
6559
6559
|
}
|
6560
|
-
const i =
|
6560
|
+
const i = Wt("auth");
|
6561
6561
|
return i && ss(t, `http://${i}`), t;
|
6562
6562
|
}
|
6563
6563
|
function Sa() {
|
@@ -6587,7 +6587,7 @@ Ea(
|
|
6587
6587
|
);
|
6588
6588
|
const Aa = Ln({
|
6589
6589
|
history: Un(),
|
6590
|
-
routes: [...
|
6590
|
+
routes: [...je, ...le]
|
6591
6591
|
});
|
6592
6592
|
let Pe, Me;
|
6593
6593
|
Aa.beforeEach(async (n) => {
|
@@ -6597,35 +6597,35 @@ Aa.beforeEach(async (n) => {
|
|
6597
6597
|
currentBusiness: r,
|
6598
6598
|
readRestaurants: i,
|
6599
6599
|
changeRestaurant: s
|
6600
|
-
} =
|
6600
|
+
} = We();
|
6601
6601
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
|
6602
|
-
const c =
|
6602
|
+
const c = $(e, (o) => {
|
6603
6603
|
var l;
|
6604
6604
|
o && (c(), a(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
|
6605
6605
|
});
|
6606
6606
|
})), Pe) : !r.value || !t.value ? (Me || (Me = Promise.all([
|
6607
6607
|
new Promise(async (a) => {
|
6608
|
-
const c =
|
6608
|
+
const c = $(r, (o) => {
|
6609
6609
|
o && (c(), a(!0));
|
6610
6610
|
});
|
6611
6611
|
}),
|
6612
6612
|
new Promise(async (a) => {
|
6613
|
-
const c =
|
6613
|
+
const c = $(t, (l) => {
|
6614
6614
|
l && (c(), a(!0));
|
6615
6615
|
}), o = await i();
|
6616
6616
|
await s(o == null ? void 0 : o.at(0));
|
6617
6617
|
})
|
6618
6618
|
]).then((a) => !0)), Me) : !0;
|
6619
6619
|
});
|
6620
|
-
const
|
6620
|
+
const Oa = /* @__PURE__ */ Ut({
|
6621
6621
|
__name: "AppSidebar",
|
6622
6622
|
setup(n) {
|
6623
|
-
const e =
|
6624
|
-
|
6623
|
+
const e = We(), t = Bn(), { t: r } = jn(), i = xn(t.currentRoute.value.name);
|
6624
|
+
$(t.currentRoute, () => {
|
6625
6625
|
let l = t.currentRoute.value.name;
|
6626
6626
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6627
6627
|
});
|
6628
|
-
const s =
|
6628
|
+
const s = je.map((l) => {
|
6629
6629
|
var m;
|
6630
6630
|
if (!((m = l.meta) != null && m.sidebarDisplay))
|
6631
6631
|
return;
|
@@ -6637,7 +6637,7 @@ const Na = /* @__PURE__ */ Ut({
|
|
6637
6637
|
return t.push({ name: l.name });
|
6638
6638
|
}
|
6639
6639
|
};
|
6640
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6640
|
+
return l.meta.sidebarNew && (h.badge = () => Hn(Zn.FmPill, { label: "New" })), h;
|
6641
6641
|
}).filter((l) => !!l), a = le.map((l) => {
|
6642
6642
|
var d;
|
6643
6643
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6703,34 +6703,34 @@ const Na = /* @__PURE__ */ Ut({
|
|
6703
6703
|
};
|
6704
6704
|
}
|
6705
6705
|
});
|
6706
|
-
var
|
6706
|
+
var Na = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com" };
|
6707
6707
|
const Fa = /* @__PURE__ */ Ut({
|
6708
6708
|
__name: "App",
|
6709
6709
|
setup(n) {
|
6710
|
-
const { state: e } = Kn(), t =
|
6710
|
+
const { state: e } = Kn(), t = We(), r = Fn(), i = Yt(Na.firebase);
|
6711
6711
|
async function s() {
|
6712
6712
|
const a = t.sessionUser.value;
|
6713
6713
|
if (!a || !a.token) return;
|
6714
|
-
const c = await a.getCustomToken(), o =
|
6714
|
+
const c = await a.getCustomToken(), o = Ra(i);
|
6715
6715
|
await ps(o, c);
|
6716
6716
|
}
|
6717
|
-
return s(),
|
6717
|
+
return s(), $(t.sessionUser, s), Gn(() => {
|
6718
6718
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6719
|
-
}),
|
6720
|
-
t.registerSidebarComponent(
|
6719
|
+
}), Vn(() => {
|
6720
|
+
t.registerSidebarComponent(Oa);
|
6721
6721
|
}), (a, c) => {
|
6722
6722
|
const o = Bt("RouterView");
|
6723
6723
|
return Ft(), xt(o, {
|
6724
|
-
key:
|
6724
|
+
key: Wn(r).path
|
6725
6725
|
});
|
6726
6726
|
};
|
6727
6727
|
}
|
6728
6728
|
}), xa = {
|
6729
6729
|
"en-US": Jn,
|
6730
6730
|
"zh-CN": Yn
|
6731
|
-
},
|
6731
|
+
}, Ha = [...le, ...je];
|
6732
6732
|
export {
|
6733
|
-
|
6733
|
+
j as C,
|
6734
6734
|
M as F,
|
6735
6735
|
ee as S,
|
6736
6736
|
X as _,
|
@@ -6739,9 +6739,9 @@ export {
|
|
6739
6739
|
vi as c,
|
6740
6740
|
Ba as d,
|
6741
6741
|
gt as e,
|
6742
|
-
|
6742
|
+
Ha as f,
|
6743
6743
|
z as g,
|
6744
6744
|
Fa as h,
|
6745
6745
|
xa as i,
|
6746
|
-
|
6746
|
+
H as r
|
6747
6747
|
};
|