@feedmepos/mf-payment 1.1.5-beta.1 → 1.1.6
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-BERFCsMv.js → PayoutAccount-Bl2-Th-5.js} +3 -3
- package/dist/{PayoutAccount--j-jJWMQ.js → PayoutAccount-CBGLfBag.js} +5 -5
- package/dist/{PayoutAccountSetting-ChxkU61V.js → PayoutAccountSetting-DiMwWLwY.js} +3 -3
- package/dist/{Restaurant-DQjoEvF_.js → Restaurant-CdB7D9zA.js} +4 -4
- package/dist/{RestaurantSetting-Gr65NXud.js → RestaurantSetting-CQyXjYux.js} +3 -3
- package/dist/{Settlement-Cq_4_1ua.js → Settlement-7WRCiiQ4.js} +3 -3
- package/dist/Settlement-BA09mDyG.js +218 -0
- package/dist/{SettlementTransactions-CJbf1zL2.js → SettlementTransactions-B1dUvxhz.js} +3 -3
- package/dist/{SettlementTransactions-Db6_Nv3v.js → SettlementTransactions-CymvVBh8.js} +3 -3
- package/dist/{Terminal-xSZCzDZn.js → Terminal-DRKD8BO1.js} +6 -6
- package/dist/TerminalSetting-DUVbknAn.js +389 -0
- package/dist/{Transaction-BFgu4Xnf.js → Transaction-DQQI8kOT.js} +47 -52
- package/dist/{Transaction-CEh4Gnt5.js → Transaction-DcQQ_4ku.js} +6 -6
- package/dist/{TransactionOld-DH8MUGCs.js → TransactionOld-DJJIQo-i.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-CIqrGHo8.js → TransactionTable.vue_vue_type_script_setup_true_lang-C_3J1G8_.js} +3 -3
- package/dist/api/terminal/index.d.ts +0 -4
- package/dist/{app-D8ewtGn5.js → app-B1ZoKtpx.js} +275 -275
- package/dist/app.js +1 -1
- package/dist/{assets-DcSn4sMG.js → assets-ZXvnCE72.js} +1 -1
- package/dist/{grafana-DW4fh2g4.js → grafana-tSaEG-rZ.js} +7 -7
- package/dist/{index-uRv2m4ys.js → index-CGBOgV3E.js} +1 -1
- package/dist/{index-D3XaYCNd.js → index-D1dXyrdm.js} +1 -1
- package/dist/{index-Z5ts1fWJ.js → index-DEEbas1_.js} +1 -1
- package/dist/{index-Bg1fv5AY.js → index-DQcz6kdU.js} +2 -2
- package/dist/{index-JEYJrs6t.js → index-DlvE9K3G.js} +1 -9
- package/dist/{index-DcT1Yiz4.js → index-kEMG4SWc.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BkqD1rLK.js → index.vue_vue_type_script_setup_true_lang-CwHVO04q.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-4XGG8dyO.js → payout-account-BtTgqm7Q.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/Settlement-B-3O3EId.js +0 -194
- package/dist/TerminalSetting-BVojWrSJ.js +0 -489
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +0 -87
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +0 -87
@@ -1,6 +1,6 @@
|
|
1
|
-
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as
|
2
|
-
import { computed as Lt, watch as Z, defineComponent as Ut, ref as
|
3
|
-
import { useCoreStore as Ve, useI18n as
|
1
|
+
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as xn } from "vue-router";
|
2
|
+
import { computed as Lt, watch as Z, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as xt, createBlock as Ft, h as jn, onMounted as Hn, onBeforeMount as Wn, unref as Vn } from "vue";
|
3
|
+
import { useCoreStore as Ve, useI18n as Gn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
5
|
import { components as $n } from "@feedmepos/ui-library";
|
6
6
|
const Zn = {
|
@@ -299,7 +299,7 @@ const Zn = {
|
|
299
299
|
sidebarDisplay: "Restaurants",
|
300
300
|
section: "payment-gateway"
|
301
301
|
},
|
302
|
-
component: () => import("./Restaurant-
|
302
|
+
component: () => import("./Restaurant-CdB7D9zA.js")
|
303
303
|
},
|
304
304
|
{
|
305
305
|
path: "/admin/restaurants/:restaurantId",
|
@@ -308,7 +308,7 @@ const Zn = {
|
|
308
308
|
meta: {
|
309
309
|
parent: "mf-payment-admin.restaurant"
|
310
310
|
},
|
311
|
-
component: () => import("./RestaurantSetting-
|
311
|
+
component: () => import("./RestaurantSetting-CQyXjYux.js")
|
312
312
|
},
|
313
313
|
{
|
314
314
|
path: "/admin/payout-accounts",
|
@@ -317,7 +317,7 @@ const Zn = {
|
|
317
317
|
sidebarDisplay: "Payout Accounts",
|
318
318
|
section: "payment-gateway"
|
319
319
|
},
|
320
|
-
component: () => import("./PayoutAccount
|
320
|
+
component: () => import("./PayoutAccount-CBGLfBag.js")
|
321
321
|
},
|
322
322
|
{
|
323
323
|
path: "/admin/payout-accounts/:accountId",
|
@@ -326,7 +326,7 @@ const Zn = {
|
|
326
326
|
meta: {
|
327
327
|
parent: "mf-payment-admin.payout-account"
|
328
328
|
},
|
329
|
-
component: () => import("./PayoutAccountSetting-
|
329
|
+
component: () => import("./PayoutAccountSetting-DiMwWLwY.js")
|
330
330
|
},
|
331
331
|
{
|
332
332
|
path: "/admin/terminal/pos",
|
@@ -335,7 +335,7 @@ const Zn = {
|
|
335
335
|
sidebarDisplay: "POS",
|
336
336
|
section: "device"
|
337
337
|
},
|
338
|
-
component: () => import("./Terminal-
|
338
|
+
component: () => import("./Terminal-DRKD8BO1.js"),
|
339
339
|
props: {
|
340
340
|
type: "POS"
|
341
341
|
}
|
@@ -347,7 +347,7 @@ const Zn = {
|
|
347
347
|
sidebarDisplay: "Kiosks",
|
348
348
|
section: "device"
|
349
349
|
},
|
350
|
-
component: () => import("./Terminal-
|
350
|
+
component: () => import("./Terminal-DRKD8BO1.js"),
|
351
351
|
props: {
|
352
352
|
type: "KIOSK"
|
353
353
|
}
|
@@ -359,7 +359,7 @@ const Zn = {
|
|
359
359
|
sidebarDisplay: "Terminals",
|
360
360
|
section: "device"
|
361
361
|
},
|
362
|
-
component: () => import("./Terminal-
|
362
|
+
component: () => import("./Terminal-DRKD8BO1.js"),
|
363
363
|
props: {
|
364
364
|
type: "TERMINAL"
|
365
365
|
}
|
@@ -371,7 +371,7 @@ const Zn = {
|
|
371
371
|
meta: {
|
372
372
|
parent: "mf-payment-admin.pos"
|
373
373
|
},
|
374
|
-
component: () => import("./TerminalSetting-
|
374
|
+
component: () => import("./TerminalSetting-DUVbknAn.js")
|
375
375
|
},
|
376
376
|
{
|
377
377
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -380,7 +380,7 @@ const Zn = {
|
|
380
380
|
meta: {
|
381
381
|
parent: "mf-payment-admin.kiosk"
|
382
382
|
},
|
383
|
-
component: () => import("./TerminalSetting-
|
383
|
+
component: () => import("./TerminalSetting-DUVbknAn.js")
|
384
384
|
},
|
385
385
|
{
|
386
386
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -389,7 +389,7 @@ const Zn = {
|
|
389
389
|
meta: {
|
390
390
|
parent: "mf-payment-admin.terminal"
|
391
391
|
},
|
392
|
-
component: () => import("./TerminalSetting-
|
392
|
+
component: () => import("./TerminalSetting-DUVbknAn.js")
|
393
393
|
},
|
394
394
|
{
|
395
395
|
path: "/admin/transaction",
|
@@ -397,7 +397,7 @@ const Zn = {
|
|
397
397
|
meta: {
|
398
398
|
sidebarDisplay: "Transactions"
|
399
399
|
},
|
400
|
-
component: () => import("./Transaction-
|
400
|
+
component: () => import("./Transaction-DQQI8kOT.js")
|
401
401
|
},
|
402
402
|
{
|
403
403
|
path: "/admin/settlement",
|
@@ -405,7 +405,7 @@ const Zn = {
|
|
405
405
|
meta: {
|
406
406
|
sidebarDisplay: "Settlements"
|
407
407
|
},
|
408
|
-
component: () => import("./Settlement-
|
408
|
+
component: () => import("./Settlement-BA09mDyG.js")
|
409
409
|
},
|
410
410
|
{
|
411
411
|
path: "/admin/settlement/:settlementId",
|
@@ -414,9 +414,9 @@ const Zn = {
|
|
414
414
|
meta: {
|
415
415
|
parent: "mf-payment-admin.settlement"
|
416
416
|
},
|
417
|
-
component: () => import("./SettlementTransactions-
|
417
|
+
component: () => import("./SettlementTransactions-CymvVBh8.js")
|
418
418
|
}
|
419
|
-
],
|
419
|
+
], Ge = [
|
420
420
|
{
|
421
421
|
path: "",
|
422
422
|
redirect: { name: "mf-payment-payout-account" }
|
@@ -424,7 +424,7 @@ const Zn = {
|
|
424
424
|
{
|
425
425
|
path: "/payout-account",
|
426
426
|
name: "mf-payment-payout-account",
|
427
|
-
component: () => import("./PayoutAccount-
|
427
|
+
component: () => import("./PayoutAccount-Bl2-Th-5.js"),
|
428
428
|
meta: {
|
429
429
|
sidebarDisplay: "i18n:routes.payout_account"
|
430
430
|
}
|
@@ -432,7 +432,7 @@ const Zn = {
|
|
432
432
|
{
|
433
433
|
path: "/transaction-old",
|
434
434
|
name: "mf-payment-old-transaction",
|
435
|
-
component: () => import("./TransactionOld-
|
435
|
+
component: () => import("./TransactionOld-DJJIQo-i.js"),
|
436
436
|
meta: {
|
437
437
|
sidebarDisplay: "i18n:routes.transaction"
|
438
438
|
}
|
@@ -440,7 +440,7 @@ const Zn = {
|
|
440
440
|
{
|
441
441
|
path: "/transaction",
|
442
442
|
name: "mf-payment-transaction",
|
443
|
-
component: () => import("./Transaction-
|
443
|
+
component: () => import("./Transaction-DcQQ_4ku.js"),
|
444
444
|
meta: {
|
445
445
|
sidebarDisplay: "i18n:routes.transaction-new",
|
446
446
|
sidebarNew: !0
|
@@ -449,7 +449,7 @@ const Zn = {
|
|
449
449
|
{
|
450
450
|
path: "/settlement",
|
451
451
|
name: "mf-payment-settlement",
|
452
|
-
component: () => import("./Settlement-
|
452
|
+
component: () => import("./Settlement-7WRCiiQ4.js"),
|
453
453
|
meta: {
|
454
454
|
sidebarDisplay: "i18n:routes.settlement"
|
455
455
|
}
|
@@ -458,7 +458,7 @@ const Zn = {
|
|
458
458
|
path: "/settlement/:settlementId",
|
459
459
|
name: "mf-payment-settlement-transaction",
|
460
460
|
props: !0,
|
461
|
-
component: () => import("./SettlementTransactions-
|
461
|
+
component: () => import("./SettlementTransactions-B1dUvxhz.js"),
|
462
462
|
meta: {
|
463
463
|
parent: "mf-payment-settlement"
|
464
464
|
}
|
@@ -475,7 +475,7 @@ const Zn = {
|
|
475
475
|
init: t
|
476
476
|
};
|
477
477
|
});
|
478
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2cca39c3-d8db-47d8-b7cb-0830f9c2de32", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_2cca39c3-d8db-47d8-b7cb-0830f9c2de32", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_x0WUr1VExdGHPSzIICwgFA3iMjFNVc0LOa0p", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "709", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250330.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6640", 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: "14213409771", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "d87d4a582c9d1edfc6c88c30dc41816591fde2e2", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6MDk3ODg4MTMtMTdiOC00MWQ4LWExMjQtZDU1Y2E3NzJlMmNjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDI1IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46MDk3ODg4MTMtMTdiOC00MWQ4LWExMjQtZDU1Y2E3NzJlMmNjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDI1IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiM2E3ZDI1MzktMWNmZS00YmI4LWEwNzktZjRjOWZjYjMyMmVlIiwic2lkIjoiMzVhNmEzYzItZDU1Zi00ODY2LWE1MmUtMjlmMTk3NmY2NzQ3IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcImQ4N2Q0YTU4MmM5ZDFlZGZjNmM4OGMzMGRjNDE4MTY1OTFmZGUyZTJcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQyMTM0MDk3NzFcIixcInJ1bl9udW1iZXJcIjpcIjE2MFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJkODdkNGE1ODJjOWQxZWRmYzZjODhjMzBkYzQxODE2NTkxZmRlMmUyXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJkODdkNGE1ODJjOWQxZWRmYzZjODhjMzBkYzQxODE2NTkxZmRlMmUyXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiIwOTc4ODgxMy0xN2I4LTQxZDgtYTEyNC1kNTVjYTc3MmUyY2MuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDM1NzYyOTAsImV4cCI6MTc0MzU5OTA5MH0.uodf8CZVvpTG8d_gGuTK1GL2OTOA9dT4Q1lX_sgPUuIvI1KFtzBJrUchVykD1pAmXgf5tibmHVl9mN66TLi11VJr9iMBkmwnibwKWddF7JFb_yr4u_mwaq7NjjvDYS-nAM27knC7Jvr7TEN2vnEOQ8Z7RdgPbleGgGeRbj5xj4YwvnKs2PO9yCn5VpmoiwGKpopvBw829RCxS2GMBSdxtEjtyttFGwdUpw85KwtvrGRr65JGYRA34Sh4jnbAWj1zgDgHBbw1SO96MqpgwRzoXtdAh2ISLjWTRDR-W--eMDkVRmnMIzCkw3boJH24rXcFvts03KDVqS9kVzK1yGQhZg", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1743576931875-0.6271435766441686:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1743576931715-0.673294221074856:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1743576931559-0.5771208303360666:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_6989b746-fc5c-4f40-849e-0b5b3f443f9e", INVOCATION_ID: "d7418786eae1406383e5808186c205bb", 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: "160", 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 59", 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.5-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: "d87d4a582c9d1edfc6c88c30dc41816591fde2e2", 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_2cca39c3-d8db-47d8-b7cb-0830f9c2de32", 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/09788813-17b8-41d8-a124-d55ca772e2cc/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_2cca39c3-d8db-47d8-b7cb-0830f9c2de32", 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_2cca39c3-d8db-47d8-b7cb-0830f9c2de32", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
478
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_yiqq4AXtDOQ6yiEC3BpfX6w4LEsHeb1IAIZy", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "709", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250330.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6578", 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: "14214224087", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2ce2550dc869424fd6694fcc1f3fde677584b6d0", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6ZWQ1ZjI5YjItMGEyOC00NzkwLTlmM2YtODBjNjcxN2MwOWMzOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDI3IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46ZWQ1ZjI5YjItMGEyOC00NzkwLTlmM2YtODBjNjcxN2MwOWMzOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDI3IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiM2FjM2I5MjctZWM5ZS00OGFjLWIxN2EtYzk5MDYzNGMyNGQ5Iiwic2lkIjoiN2Q3MGQxOGItNDNhMi00OTNhLTlhOWItOWFjMTg4MDZjYjRlIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCIyY2UyNTUwZGM4Njk0MjRmZDY2OTRmY2MxZjNmZGU2Nzc1ODRiNmQwXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjE0MjE0MjI0MDg3XCIsXCJydW5fbnVtYmVyXCI6XCI0MlwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCIyY2UyNTUwZGM4Njk0MjRmZDY2OTRmY2MxZjNmZGU2Nzc1ODRiNmQwXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjJjZTI1NTBkYzg2OTQyNGZkNjY5NGZjYzFmM2ZkZTY3NzU4NGI2ZDBcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiJlZDVmMjliMi0wYTI4LTQ3OTAtOWYzZi04MGM2NzE3YzA5YzMuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDM1NzkxODUsImV4cCI6MTc0MzYwMTk4NX0.WBb0iR_RTH-KAW1hjKrImnn9yj8LEOb89SdNpnpycGN_D7PqNjfBjfquCm6tQKhisTA0iBI70e4kk4h9mESKt5jPyjtkqqM252YnpfeCccG8CajksFxkUzVI8f1SoF_NlHqeE_cWsgfOBZZQiFe8FcTWu-p027hamxv5HUyp3RMmaSLWBE3cpD4ytB1tnS30sIAVfLk4xS8N_DON3UPdqd1x0Dg97Z9KIy4P8T7bCfGVYRRIfgv1McahNF28-POfQPVPQe17DVWItVw40OZXe9YCduMfzW1WH7dzzp8nstVor6QPrK6X9clo2FG84dm2mZNI9-gUWahR2I-zvhzCQw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1743579819901-0.7080308718291306:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1743579819746-0.9291602068279805:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1743579819590-0.6041229915675483:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_5cdfe4ef-ca49-407d-a503-894475a3d6e5", INVOCATION_ID: "a7409e2b2d014ce1993c037de216d8a0", 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: "42", 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 366", 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.6", 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: "2ce2550dc869424fd6694fcc1f3fde677584b6d0", 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_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", 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/ed5f29b2-0a28-4790-9f3f-80c6717c09c3/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_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", 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_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
|
479
479
|
/**
|
480
480
|
* @license
|
481
481
|
* Copyright 2017 Google LLC
|
@@ -492,7 +492,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
492
492
|
* See the License for the specific language governing permissions and
|
493
493
|
* limitations under the License.
|
494
494
|
*/
|
495
|
-
const
|
495
|
+
const jt = function(n) {
|
496
496
|
const e = [];
|
497
497
|
let t = 0;
|
498
498
|
for (let r = 0; r < n.length; r++) {
|
@@ -579,8 +579,8 @@ const Gt = function(n) {
|
|
579
579
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
580
580
|
for (let i = 0; i < n.length; i += 3) {
|
581
581
|
const s = n[i], a = i + 1 < n.length, c = a ? n[i + 1] : 0, o = i + 2 < n.length, l = o ? n[i + 2] : 0, d = s >> 2, h = (s & 3) << 4 | c >> 4;
|
582
|
-
let m = (c & 15) << 2 | l >> 6,
|
583
|
-
o || (
|
582
|
+
let m = (c & 15) << 2 | l >> 6, I = l & 63;
|
583
|
+
o || (I = 64, a || (m = 64)), r.push(t[d], t[h], t[m], t[I]);
|
584
584
|
}
|
585
585
|
return r.join("");
|
586
586
|
},
|
@@ -593,7 +593,7 @@ const Gt = function(n) {
|
|
593
593
|
* @return The base64 encoded string.
|
594
594
|
*/
|
595
595
|
encodeString(n, e) {
|
596
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
596
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(jt(n), e);
|
597
597
|
},
|
598
598
|
/**
|
599
599
|
* Base64-decode a string.
|
@@ -634,10 +634,10 @@ const Gt = function(n) {
|
|
634
634
|
throw new or();
|
635
635
|
const m = s << 2 | c >> 4;
|
636
636
|
if (r.push(m), l !== 64) {
|
637
|
-
const
|
638
|
-
if (r.push(
|
639
|
-
const
|
640
|
-
r.push(
|
637
|
+
const I = c << 4 & 240 | l >> 2;
|
638
|
+
if (r.push(I), h !== 64) {
|
639
|
+
const x = l << 6 & 192 | h;
|
640
|
+
r.push(x);
|
641
641
|
}
|
642
642
|
}
|
643
643
|
}
|
@@ -662,11 +662,11 @@ class or extends Error {
|
|
662
662
|
}
|
663
663
|
}
|
664
664
|
const cr = function(n) {
|
665
|
-
const e =
|
665
|
+
const e = jt(n);
|
666
666
|
return Ht.encodeByteArray(e, !0);
|
667
667
|
}, de = function(n) {
|
668
668
|
return cr(n).replace(/\./g, "");
|
669
|
-
},
|
669
|
+
}, Wt = function(n) {
|
670
670
|
try {
|
671
671
|
return Ht.decodeString(n, !0);
|
672
672
|
} catch (e) {
|
@@ -730,7 +730,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
730
730
|
} catch {
|
731
731
|
return;
|
732
732
|
}
|
733
|
-
const e = n &&
|
733
|
+
const e = n && Wt(n[1]);
|
734
734
|
return e && JSON.parse(e);
|
735
735
|
}, ze = () => {
|
736
736
|
try {
|
@@ -742,7 +742,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
742
742
|
}, Vt = (n) => {
|
743
743
|
var e, t;
|
744
744
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
745
|
-
},
|
745
|
+
}, Ga = (n) => {
|
746
746
|
const e = Vt(n);
|
747
747
|
if (!e)
|
748
748
|
return;
|
@@ -751,7 +751,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
751
751
|
throw new Error(`Invalid host ${e} with no separate hostname and port!`);
|
752
752
|
const r = parseInt(e.substring(t + 1), 10);
|
753
753
|
return e[0] === "[" ? [e.substring(1, t - 1), r] : [e.substring(0, t), r];
|
754
|
-
},
|
754
|
+
}, Gt = () => {
|
755
755
|
var n;
|
756
756
|
return (n = ze()) === null || n === void 0 ? void 0 : n.config;
|
757
757
|
}, zt = (n) => {
|
@@ -873,11 +873,11 @@ function _r() {
|
|
873
873
|
function gr() {
|
874
874
|
return typeof navigator == "object" && navigator.product === "ReactNative";
|
875
875
|
}
|
876
|
-
function
|
876
|
+
function Ir() {
|
877
877
|
const n = f();
|
878
878
|
return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
|
879
879
|
}
|
880
|
-
function
|
880
|
+
function vr() {
|
881
881
|
try {
|
882
882
|
return typeof indexedDB == "object";
|
883
883
|
} catch {
|
@@ -992,11 +992,11 @@ function Q(n) {
|
|
992
992
|
}) : e.push(encodeURIComponent(t) + "=" + encodeURIComponent(r));
|
993
993
|
return e.length ? "&" + e.join("&") : "";
|
994
994
|
}
|
995
|
-
function
|
996
|
-
const t = new
|
995
|
+
function Rr(n, e) {
|
996
|
+
const t = new kr(n, e);
|
997
997
|
return t.subscribe.bind(t);
|
998
998
|
}
|
999
|
-
class
|
999
|
+
class kr {
|
1000
1000
|
/**
|
1001
1001
|
* @param executor Function which can make calls to a single Observer
|
1002
1002
|
* as a proxy.
|
@@ -1042,7 +1042,7 @@ class Rr {
|
|
1042
1042
|
next: e,
|
1043
1043
|
error: t,
|
1044
1044
|
complete: r
|
1045
|
-
}, i.next === void 0 && (i.next =
|
1045
|
+
}, i.next === void 0 && (i.next = ke), i.error === void 0 && (i.error = ke), i.complete === void 0 && (i.complete = ke);
|
1046
1046
|
const s = this.unsubscribeOne.bind(this, this.observers.length);
|
1047
1047
|
return this.finalized && this.task.then(() => {
|
1048
1048
|
try {
|
@@ -1088,7 +1088,7 @@ function Sr(n, e) {
|
|
1088
1088
|
return !0;
|
1089
1089
|
return !1;
|
1090
1090
|
}
|
1091
|
-
function
|
1091
|
+
function ke() {
|
1092
1092
|
}
|
1093
1093
|
/**
|
1094
1094
|
* @license
|
@@ -1109,7 +1109,7 @@ function Re() {
|
|
1109
1109
|
function z(n) {
|
1110
1110
|
return n && n._delegate ? n._delegate : n;
|
1111
1111
|
}
|
1112
|
-
class
|
1112
|
+
class G {
|
1113
1113
|
/**
|
1114
1114
|
*
|
1115
1115
|
* @param name The public service name, e.g. app, auth, firestore, database
|
@@ -1216,7 +1216,7 @@ class Ar {
|
|
1216
1216
|
if (this.component)
|
1217
1217
|
throw Error(`Component for ${this.name} has already been provided`);
|
1218
1218
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
1219
|
-
if (
|
1219
|
+
if (Nr(e))
|
1220
1220
|
try {
|
1221
1221
|
this.getOrInitializeService({ instanceIdentifier: L });
|
1222
1222
|
} catch {
|
@@ -1322,7 +1322,7 @@ class Ar {
|
|
1322
1322
|
function Or(n) {
|
1323
1323
|
return n === L ? void 0 : n;
|
1324
1324
|
}
|
1325
|
-
function
|
1325
|
+
function Nr(n) {
|
1326
1326
|
return n.instantiationMode === "EAGER";
|
1327
1327
|
}
|
1328
1328
|
/**
|
@@ -1341,7 +1341,7 @@ function Cr(n) {
|
|
1341
1341
|
* See the License for the specific language governing permissions and
|
1342
1342
|
* limitations under the License.
|
1343
1343
|
*/
|
1344
|
-
class
|
1344
|
+
class Cr {
|
1345
1345
|
constructor(e) {
|
1346
1346
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
1347
1347
|
}
|
@@ -1400,7 +1400,7 @@ var p;
|
|
1400
1400
|
(function(n) {
|
1401
1401
|
n[n.DEBUG = 0] = "DEBUG", n[n.VERBOSE = 1] = "VERBOSE", n[n.INFO = 2] = "INFO", n[n.WARN = 3] = "WARN", n[n.ERROR = 4] = "ERROR", n[n.SILENT = 5] = "SILENT";
|
1402
1402
|
})(p || (p = {}));
|
1403
|
-
const
|
1403
|
+
const Dr = {
|
1404
1404
|
debug: p.DEBUG,
|
1405
1405
|
verbose: p.VERBOSE,
|
1406
1406
|
info: p.INFO,
|
@@ -1442,7 +1442,7 @@ class $t {
|
|
1442
1442
|
}
|
1443
1443
|
// Workaround for setter/getter having to be the same type.
|
1444
1444
|
setLogLevel(e) {
|
1445
|
-
this._logLevel = typeof e == "string" ?
|
1445
|
+
this._logLevel = typeof e == "string" ? Dr[e] : e;
|
1446
1446
|
}
|
1447
1447
|
get logHandler() {
|
1448
1448
|
return this._logHandler;
|
@@ -1488,7 +1488,7 @@ function Br() {
|
|
1488
1488
|
IDBTransaction
|
1489
1489
|
]);
|
1490
1490
|
}
|
1491
|
-
function
|
1491
|
+
function xr() {
|
1492
1492
|
return dt || (dt = [
|
1493
1493
|
IDBCursor.prototype.advance,
|
1494
1494
|
IDBCursor.prototype.continue,
|
@@ -1496,12 +1496,12 @@ function Fr() {
|
|
1496
1496
|
]);
|
1497
1497
|
}
|
1498
1498
|
const Zt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
|
1499
|
-
function
|
1499
|
+
function Fr(n) {
|
1500
1500
|
const e = new Promise((t, r) => {
|
1501
1501
|
const i = () => {
|
1502
1502
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
1503
1503
|
}, s = () => {
|
1504
|
-
t(
|
1504
|
+
t(C(n.result)), i();
|
1505
1505
|
}, a = () => {
|
1506
1506
|
r(n.error), i();
|
1507
1507
|
};
|
@@ -1512,7 +1512,7 @@ function xr(n) {
|
|
1512
1512
|
}).catch(() => {
|
1513
1513
|
}), $e.set(e, n), e;
|
1514
1514
|
}
|
1515
|
-
function
|
1515
|
+
function jr(n) {
|
1516
1516
|
if (Le.has(n))
|
1517
1517
|
return;
|
1518
1518
|
const e = new Promise((t, r) => {
|
@@ -1537,7 +1537,7 @@ let Ue = {
|
|
1537
1537
|
if (e === "store")
|
1538
1538
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1539
1539
|
}
|
1540
|
-
return
|
1540
|
+
return C(n[e]);
|
1541
1541
|
},
|
1542
1542
|
set(n, e, t) {
|
1543
1543
|
return n[e] = t, !0;
|
@@ -1549,32 +1549,32 @@ let Ue = {
|
|
1549
1549
|
function Hr(n) {
|
1550
1550
|
Ue = n(Ue);
|
1551
1551
|
}
|
1552
|
-
function
|
1552
|
+
function Wr(n) {
|
1553
1553
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1554
1554
|
const r = n.call(Ae(this), e, ...t);
|
1555
|
-
return Jt.set(r, e.sort ? e.sort() : [e]),
|
1556
|
-
} :
|
1557
|
-
return n.apply(Ae(this), e),
|
1555
|
+
return Jt.set(r, e.sort ? e.sort() : [e]), C(r);
|
1556
|
+
} : xr().includes(n) ? function(...e) {
|
1557
|
+
return n.apply(Ae(this), e), C(Zt.get(this));
|
1558
1558
|
} : function(...e) {
|
1559
|
-
return
|
1559
|
+
return C(n.apply(Ae(this), e));
|
1560
1560
|
};
|
1561
1561
|
}
|
1562
1562
|
function Vr(n) {
|
1563
|
-
return typeof n == "function" ?
|
1563
|
+
return typeof n == "function" ? Wr(n) : (n instanceof IDBTransaction && jr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
|
1564
1564
|
}
|
1565
|
-
function
|
1565
|
+
function C(n) {
|
1566
1566
|
if (n instanceof IDBRequest)
|
1567
|
-
return
|
1567
|
+
return Fr(n);
|
1568
1568
|
if (Se.has(n))
|
1569
1569
|
return Se.get(n);
|
1570
1570
|
const e = Vr(n);
|
1571
1571
|
return e !== n && (Se.set(n, e), $e.set(e, n)), e;
|
1572
1572
|
}
|
1573
1573
|
const Ae = (n) => $e.get(n);
|
1574
|
-
function
|
1575
|
-
const a = indexedDB.open(n, e), c =
|
1574
|
+
function Gr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1575
|
+
const a = indexedDB.open(n, e), c = C(a);
|
1576
1576
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
1577
|
-
r(
|
1577
|
+
r(C(a.result), o.oldVersion, o.newVersion, C(a.transaction), o);
|
1578
1578
|
}), t && a.addEventListener("blocked", (o) => t(
|
1579
1579
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1580
1580
|
o.oldVersion,
|
@@ -1665,7 +1665,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1665
1665
|
* See the License for the specific language governing permissions and
|
1666
1666
|
* limitations under the License.
|
1667
1667
|
*/
|
1668
|
-
const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", mi = "@firebase/remote-config-compat", fi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore",
|
1668
|
+
const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", mi = "@firebase/remote-config-compat", fi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", Ii = "@firebase/vertexai-preview", vi = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
|
1669
1669
|
/**
|
1670
1670
|
* @license
|
1671
1671
|
* Copyright 2019 Google LLC
|
@@ -1682,7 +1682,7 @@ const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/
|
|
1682
1682
|
* See the License for the specific language governing permissions and
|
1683
1683
|
* limitations under the License.
|
1684
1684
|
*/
|
1685
|
-
const
|
1685
|
+
const xe = "[DEFAULT]", Ei = {
|
1686
1686
|
[Be]: "fire-core",
|
1687
1687
|
[Xr]: "fire-core-compat",
|
1688
1688
|
[Kr]: "fire-analytics",
|
@@ -1707,8 +1707,8 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1707
1707
|
[fi]: "fire-gcs",
|
1708
1708
|
[_i]: "fire-gcs-compat",
|
1709
1709
|
[gi]: "fire-fst",
|
1710
|
-
[
|
1711
|
-
[
|
1710
|
+
[vi]: "fire-fst-compat",
|
1711
|
+
[Ii]: "fire-vertex",
|
1712
1712
|
"fire-js": "fire-js",
|
1713
1713
|
[bi]: "fire-js-all"
|
1714
1714
|
};
|
@@ -1728,7 +1728,7 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1728
1728
|
* See the License for the specific language governing permissions and
|
1729
1729
|
* limitations under the License.
|
1730
1730
|
*/
|
1731
|
-
const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(),
|
1731
|
+
const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(), Fe = /* @__PURE__ */ new Map();
|
1732
1732
|
function pt(n, e) {
|
1733
1733
|
try {
|
1734
1734
|
n.container.addComponent(e);
|
@@ -1738,9 +1738,9 @@ function pt(n, e) {
|
|
1738
1738
|
}
|
1739
1739
|
function X(n) {
|
1740
1740
|
const e = n.name;
|
1741
|
-
if (
|
1741
|
+
if (Fe.has(e))
|
1742
1742
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1743
|
-
|
1743
|
+
Fe.set(e, n);
|
1744
1744
|
for (const t of he.values())
|
1745
1745
|
pt(t, n);
|
1746
1746
|
for (const t of Ti.values())
|
@@ -1751,7 +1751,7 @@ function Xt(n, e) {
|
|
1751
1751
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1752
1752
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1753
1753
|
}
|
1754
|
-
function
|
1754
|
+
function v(n) {
|
1755
1755
|
return n.settings !== void 0;
|
1756
1756
|
}
|
1757
1757
|
/**
|
@@ -1785,7 +1785,7 @@ const wi = {
|
|
1785
1785
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
1786
1786
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
1787
1787
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
1788
|
-
},
|
1788
|
+
}, D = new q("app", "Firebase", wi);
|
1789
1789
|
/**
|
1790
1790
|
* @license
|
1791
1791
|
* Copyright 2019 Google LLC
|
@@ -1802,9 +1802,9 @@ const wi = {
|
|
1802
1802
|
* See the License for the specific language governing permissions and
|
1803
1803
|
* limitations under the License.
|
1804
1804
|
*/
|
1805
|
-
class
|
1805
|
+
class Ri {
|
1806
1806
|
constructor(e, t, r) {
|
1807
|
-
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
|
1807
|
+
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new G(
|
1808
1808
|
"app",
|
1809
1809
|
() => this,
|
1810
1810
|
"PUBLIC"
|
@@ -1841,7 +1841,7 @@ class ki {
|
|
1841
1841
|
*/
|
1842
1842
|
checkDestroyed() {
|
1843
1843
|
if (this.isDeleted)
|
1844
|
-
throw
|
1844
|
+
throw D.create("app-deleted", { appName: this._name });
|
1845
1845
|
}
|
1846
1846
|
}
|
1847
1847
|
/**
|
@@ -1864,13 +1864,13 @@ const ee = yi;
|
|
1864
1864
|
function Yt(n, e = {}) {
|
1865
1865
|
let t = n;
|
1866
1866
|
typeof e != "object" && (e = { name: e });
|
1867
|
-
const r = Object.assign({ name:
|
1867
|
+
const r = Object.assign({ name: xe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
1868
1868
|
if (typeof i != "string" || !i)
|
1869
|
-
throw
|
1869
|
+
throw D.create("bad-app-name", {
|
1870
1870
|
appName: String(i)
|
1871
1871
|
});
|
1872
|
-
if (t || (t =
|
1873
|
-
throw
|
1872
|
+
if (t || (t = Gt()), !t)
|
1873
|
+
throw D.create(
|
1874
1874
|
"no-options"
|
1875
1875
|
/* AppError.NO_OPTIONS */
|
1876
1876
|
);
|
@@ -1878,23 +1878,23 @@ function Yt(n, e = {}) {
|
|
1878
1878
|
if (s) {
|
1879
1879
|
if (ue(t, s.options) && ue(r, s.config))
|
1880
1880
|
return s;
|
1881
|
-
throw
|
1881
|
+
throw D.create("duplicate-app", { appName: i });
|
1882
1882
|
}
|
1883
|
-
const a = new
|
1884
|
-
for (const o of
|
1883
|
+
const a = new Cr(i);
|
1884
|
+
for (const o of Fe.values())
|
1885
1885
|
a.addComponent(o);
|
1886
|
-
const c = new
|
1886
|
+
const c = new Ri(t, r, a);
|
1887
1887
|
return he.set(i, c), c;
|
1888
1888
|
}
|
1889
|
-
function
|
1889
|
+
function ki(n = xe) {
|
1890
1890
|
const e = he.get(n);
|
1891
|
-
if (!e && n ===
|
1891
|
+
if (!e && n === xe && Gt())
|
1892
1892
|
return Yt();
|
1893
1893
|
if (!e)
|
1894
|
-
throw
|
1894
|
+
throw D.create("no-app", { appName: n });
|
1895
1895
|
return e;
|
1896
1896
|
}
|
1897
|
-
function
|
1897
|
+
function j(n, e, t) {
|
1898
1898
|
var r;
|
1899
1899
|
let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
|
1900
1900
|
t && (i += `-${t}`);
|
@@ -1906,7 +1906,7 @@ function G(n, e, t) {
|
|
1906
1906
|
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(c.join(" "));
|
1907
1907
|
return;
|
1908
1908
|
}
|
1909
|
-
X(new
|
1909
|
+
X(new G(
|
1910
1910
|
`${i}-version`,
|
1911
1911
|
() => ({ library: i, version: e }),
|
1912
1912
|
"VERSION"
|
@@ -1930,9 +1930,9 @@ function G(n, e, t) {
|
|
1930
1930
|
* limitations under the License.
|
1931
1931
|
*/
|
1932
1932
|
const Si = "firebase-heartbeat-database", Ai = 1, Y = "firebase-heartbeat-store";
|
1933
|
-
let
|
1933
|
+
let Ne = null;
|
1934
1934
|
function Kt() {
|
1935
|
-
return
|
1935
|
+
return Ne || (Ne = Gr(Si, Ai, {
|
1936
1936
|
upgrade: (n, e) => {
|
1937
1937
|
switch (e) {
|
1938
1938
|
case 0:
|
@@ -1944,10 +1944,10 @@ function Kt() {
|
|
1944
1944
|
}
|
1945
1945
|
}
|
1946
1946
|
}).catch((n) => {
|
1947
|
-
throw
|
1947
|
+
throw D.create("idb-open", {
|
1948
1948
|
originalErrorMessage: n.message
|
1949
1949
|
});
|
1950
|
-
})),
|
1950
|
+
})), Ne;
|
1951
1951
|
}
|
1952
1952
|
async function Oi(n) {
|
1953
1953
|
try {
|
@@ -1957,7 +1957,7 @@ async function Oi(n) {
|
|
1957
1957
|
if (e instanceof M)
|
1958
1958
|
T.warn(e.message);
|
1959
1959
|
else {
|
1960
|
-
const t =
|
1960
|
+
const t = D.create("idb-get", {
|
1961
1961
|
originalErrorMessage: e == null ? void 0 : e.message
|
1962
1962
|
});
|
1963
1963
|
T.warn(t.message);
|
@@ -1972,7 +1972,7 @@ async function mt(n, e) {
|
|
1972
1972
|
if (t instanceof M)
|
1973
1973
|
T.warn(t.message);
|
1974
1974
|
else {
|
1975
|
-
const r =
|
1975
|
+
const r = D.create("idb-set", {
|
1976
1976
|
originalErrorMessage: t == null ? void 0 : t.message
|
1977
1977
|
});
|
1978
1978
|
T.warn(r.message);
|
@@ -1998,8 +1998,8 @@ function qt(n) {
|
|
1998
1998
|
* See the License for the specific language governing permissions and
|
1999
1999
|
* limitations under the License.
|
2000
2000
|
*/
|
2001
|
-
const
|
2002
|
-
class
|
2001
|
+
const Ni = 1024, Ci = 30 * 24 * 60 * 60 * 1e3;
|
2002
|
+
class Di {
|
2003
2003
|
constructor(e) {
|
2004
2004
|
this.container = e, this._heartbeatsCache = null;
|
2005
2005
|
const t = this.container.getProvider("app").getImmediate();
|
@@ -2018,7 +2018,7 @@ class Ni {
|
|
2018
2018
|
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = ft();
|
2019
2019
|
return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((t = this._heartbeatsCache) === null || t === void 0 ? void 0 : t.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === s || this._heartbeatsCache.heartbeats.some((a) => a.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((a) => {
|
2020
2020
|
const c = new Date(a.date).valueOf();
|
2021
|
-
return Date.now() - c <=
|
2021
|
+
return Date.now() - c <= Ci;
|
2022
2022
|
}), this._storage.overwrite(this._heartbeatsCache));
|
2023
2023
|
} catch (r) {
|
2024
2024
|
T.warn(r);
|
@@ -2046,7 +2046,7 @@ class Ni {
|
|
2046
2046
|
function ft() {
|
2047
2047
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
2048
2048
|
}
|
2049
|
-
function Pi(n, e =
|
2049
|
+
function Pi(n, e = Ni) {
|
2050
2050
|
const t = [];
|
2051
2051
|
let r = n.slice();
|
2052
2052
|
for (const i of n) {
|
@@ -2075,7 +2075,7 @@ class Mi {
|
|
2075
2075
|
this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
|
2076
2076
|
}
|
2077
2077
|
async runIndexedDBEnvironmentCheck() {
|
2078
|
-
return
|
2078
|
+
return vr() ? br().then(() => !0).catch(() => !1) : !1;
|
2079
2079
|
}
|
2080
2080
|
/**
|
2081
2081
|
* Read all heartbeats.
|
@@ -2138,17 +2138,17 @@ function _t(n) {
|
|
2138
2138
|
* limitations under the License.
|
2139
2139
|
*/
|
2140
2140
|
function Li(n) {
|
2141
|
-
X(new
|
2141
|
+
X(new G(
|
2142
2142
|
"platform-logger",
|
2143
2143
|
(e) => new Zr(e),
|
2144
2144
|
"PRIVATE"
|
2145
2145
|
/* ComponentType.PRIVATE */
|
2146
|
-
)), X(new
|
2146
|
+
)), X(new G(
|
2147
2147
|
"heartbeat",
|
2148
|
-
(e) => new
|
2148
|
+
(e) => new Di(e),
|
2149
2149
|
"PRIVATE"
|
2150
2150
|
/* ComponentType.PRIVATE */
|
2151
|
-
)),
|
2151
|
+
)), j(Be, ht, n), j(Be, ht, "esm2017"), j("fire-js", "");
|
2152
2152
|
}
|
2153
2153
|
Li("");
|
2154
2154
|
var Ui = "firebase", Bi = "10.14.1";
|
@@ -2168,7 +2168,7 @@ var Ui = "firebase", Bi = "10.14.1";
|
|
2168
2168
|
* See the License for the specific language governing permissions and
|
2169
2169
|
* limitations under the License.
|
2170
2170
|
*/
|
2171
|
-
|
2171
|
+
j(Ui, Bi, "app");
|
2172
2172
|
var gt = function() {
|
2173
2173
|
return gt = Object.assign || function(e) {
|
2174
2174
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2191,7 +2191,7 @@ function Qt() {
|
|
2191
2191
|
"dependent-sdk-initialized-before-auth": "Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."
|
2192
2192
|
};
|
2193
2193
|
}
|
2194
|
-
const
|
2194
|
+
const xi = Qt, en = new q("auth", "Firebase", Qt());
|
2195
2195
|
/**
|
2196
2196
|
* @license
|
2197
2197
|
* Copyright 2020 Google LLC
|
@@ -2209,7 +2209,7 @@ const Fi = Qt, en = new q("auth", "Firebase", Qt());
|
|
2209
2209
|
* limitations under the License.
|
2210
2210
|
*/
|
2211
2211
|
const pe = new $t("@firebase/auth");
|
2212
|
-
function
|
2212
|
+
function Fi(n, ...e) {
|
2213
2213
|
pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
|
2214
2214
|
}
|
2215
2215
|
function se(n, ...e) {
|
@@ -2238,7 +2238,7 @@ function _(n, ...e) {
|
|
2238
2238
|
return Je(n, ...e);
|
2239
2239
|
}
|
2240
2240
|
function tn(n, e, t) {
|
2241
|
-
const r = Object.assign(Object.assign({},
|
2241
|
+
const r = Object.assign(Object.assign({}, xi()), { [e]: t });
|
2242
2242
|
return new q("auth", "Firebase", r).create(e, {
|
2243
2243
|
appName: n.name
|
2244
2244
|
});
|
@@ -2261,7 +2261,7 @@ function b(n) {
|
|
2261
2261
|
const e = "INTERNAL ASSERTION FAILED: " + n;
|
2262
2262
|
throw se(e), new Error(e);
|
2263
2263
|
}
|
2264
|
-
function
|
2264
|
+
function R(n, e) {
|
2265
2265
|
n || b(e);
|
2266
2266
|
}
|
2267
2267
|
/**
|
@@ -2280,14 +2280,14 @@ function k(n, e) {
|
|
2280
2280
|
* See the License for the specific language governing permissions and
|
2281
2281
|
* limitations under the License.
|
2282
2282
|
*/
|
2283
|
-
function
|
2283
|
+
function je() {
|
2284
2284
|
var n;
|
2285
2285
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2286
2286
|
}
|
2287
|
-
function
|
2288
|
-
return
|
2287
|
+
function ji() {
|
2288
|
+
return It() === "http:" || It() === "https:";
|
2289
2289
|
}
|
2290
|
-
function
|
2290
|
+
function It() {
|
2291
2291
|
var n;
|
2292
2292
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.protocol) || null;
|
2293
2293
|
}
|
@@ -2313,9 +2313,9 @@ function Hi() {
|
|
2313
2313
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
2314
2314
|
// installed which overwrites the native navigator.onLine value and
|
2315
2315
|
// defines navigator.connection.
|
2316
|
-
(
|
2316
|
+
(ji() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2317
2317
|
}
|
2318
|
-
function
|
2318
|
+
function Wi() {
|
2319
2319
|
if (typeof navigator > "u")
|
2320
2320
|
return null;
|
2321
2321
|
const n = navigator;
|
@@ -2345,7 +2345,7 @@ function ji() {
|
|
2345
2345
|
*/
|
2346
2346
|
class te {
|
2347
2347
|
constructor(e, t) {
|
2348
|
-
this.shortDelay = e, this.longDelay = t,
|
2348
|
+
this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile = mr() || gr();
|
2349
2349
|
}
|
2350
2350
|
get() {
|
2351
2351
|
return Hi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
@@ -2368,7 +2368,7 @@ class te {
|
|
2368
2368
|
* limitations under the License.
|
2369
2369
|
*/
|
2370
2370
|
function Xe(n, e) {
|
2371
|
-
|
2371
|
+
R(n.emulator, "Emulator should always be set here");
|
2372
2372
|
const { url: t } = n.emulator;
|
2373
2373
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
2374
2374
|
}
|
@@ -2533,8 +2533,8 @@ const Vi = {
|
|
2533
2533
|
* See the License for the specific language governing permissions and
|
2534
2534
|
* limitations under the License.
|
2535
2535
|
*/
|
2536
|
-
const
|
2537
|
-
function
|
2536
|
+
const Gi = new te(3e4, 6e4);
|
2537
|
+
function Ie(n, e) {
|
2538
2538
|
return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
|
2539
2539
|
}
|
2540
2540
|
async function $(n, e, t, r, i = {}) {
|
@@ -2608,7 +2608,7 @@ class zi {
|
|
2608
2608
|
this.auth,
|
2609
2609
|
"network-request-failed"
|
2610
2610
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
2611
|
-
)),
|
2611
|
+
)), Gi.get());
|
2612
2612
|
});
|
2613
2613
|
}
|
2614
2614
|
clearNetworkTimeout() {
|
@@ -2682,14 +2682,14 @@ async function Zi(n, e = !1) {
|
|
2682
2682
|
return {
|
2683
2683
|
claims: i,
|
2684
2684
|
token: r,
|
2685
|
-
authTime: J(
|
2686
|
-
issuedAtTime: J(
|
2687
|
-
expirationTime: J(
|
2685
|
+
authTime: J(Ce(i.auth_time)),
|
2686
|
+
issuedAtTime: J(Ce(i.iat)),
|
2687
|
+
expirationTime: J(Ce(i.exp)),
|
2688
2688
|
signInProvider: a || null,
|
2689
2689
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2690
2690
|
};
|
2691
2691
|
}
|
2692
|
-
function
|
2692
|
+
function Ce(n) {
|
2693
2693
|
return Number(n) * 1e3;
|
2694
2694
|
}
|
2695
2695
|
function Ye(n) {
|
@@ -2697,13 +2697,13 @@ function Ye(n) {
|
|
2697
2697
|
if (e === void 0 || t === void 0 || r === void 0)
|
2698
2698
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2699
2699
|
try {
|
2700
|
-
const i =
|
2700
|
+
const i = Wt(t);
|
2701
2701
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2702
2702
|
} catch (i) {
|
2703
2703
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2704
2704
|
}
|
2705
2705
|
}
|
2706
|
-
function
|
2706
|
+
function vt(n) {
|
2707
2707
|
const e = Ye(n);
|
2708
2708
|
return u(
|
2709
2709
|
e,
|
@@ -2941,7 +2941,7 @@ async function qi(n, e) {
|
|
2941
2941
|
};
|
2942
2942
|
}
|
2943
2943
|
async function Qi(n, e) {
|
2944
|
-
return $(n, "POST", "/v2/accounts:revokeToken",
|
2944
|
+
return $(n, "POST", "/v2/accounts:revokeToken", Ie(n, e));
|
2945
2945
|
}
|
2946
2946
|
/**
|
2947
2947
|
* @license
|
@@ -2980,7 +2980,7 @@ class H {
|
|
2980
2980
|
"internal-error"
|
2981
2981
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2982
2982
|
);
|
2983
|
-
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) :
|
2983
|
+
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : vt(e.idToken);
|
2984
2984
|
this.updateTokensAndExpiration(e.idToken, e.refreshToken, t);
|
2985
2985
|
}
|
2986
2986
|
updateFromIdToken(e) {
|
@@ -2989,7 +2989,7 @@ class H {
|
|
2989
2989
|
"internal-error"
|
2990
2990
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2991
2991
|
);
|
2992
|
-
const t =
|
2992
|
+
const t = vt(e);
|
2993
2993
|
this.updateTokensAndExpiration(e, null, t);
|
2994
2994
|
}
|
2995
2995
|
async getToken(e, t = !1) {
|
@@ -3053,7 +3053,7 @@ class H {
|
|
3053
3053
|
* See the License for the specific language governing permissions and
|
3054
3054
|
* limitations under the License.
|
3055
3055
|
*/
|
3056
|
-
function
|
3056
|
+
function k(n, e) {
|
3057
3057
|
u(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
|
3058
3058
|
}
|
3059
3059
|
class y {
|
@@ -3110,7 +3110,7 @@ class y {
|
|
3110
3110
|
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await me(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
|
3111
3111
|
}
|
3112
3112
|
async delete() {
|
3113
|
-
if (
|
3113
|
+
if (v(this.auth.app))
|
3114
3114
|
return Promise.reject(P(this.auth));
|
3115
3115
|
const e = await this.getIdToken();
|
3116
3116
|
return await K(this, $i(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
@@ -3141,7 +3141,7 @@ class y {
|
|
3141
3141
|
}
|
3142
3142
|
static _fromJSON(e, t) {
|
3143
3143
|
var r, i, s, a, c, o, l, d;
|
3144
|
-
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0,
|
3144
|
+
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, I = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, x = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
|
3145
3145
|
u(
|
3146
3146
|
Te && at,
|
3147
3147
|
e,
|
@@ -3154,7 +3154,7 @@ class y {
|
|
3154
3154
|
e,
|
3155
3155
|
"internal-error"
|
3156
3156
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3157
|
-
),
|
3157
|
+
), k(h, e.name), k(m, e.name), u(
|
3158
3158
|
typeof it == "boolean",
|
3159
3159
|
e,
|
3160
3160
|
"internal-error"
|
@@ -3164,22 +3164,22 @@ class y {
|
|
3164
3164
|
e,
|
3165
3165
|
"internal-error"
|
3166
3166
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3167
|
-
),
|
3168
|
-
const
|
3167
|
+
), k(I, e.name), k(x, e.name), k(tt, e.name), k(Ee, e.name), k(nt, e.name), k(rt, e.name);
|
3168
|
+
const Re = new y({
|
3169
3169
|
uid: Te,
|
3170
3170
|
auth: e,
|
3171
3171
|
email: m,
|
3172
3172
|
emailVerified: it,
|
3173
3173
|
displayName: h,
|
3174
3174
|
isAnonymous: st,
|
3175
|
-
photoURL:
|
3176
|
-
phoneNumber:
|
3175
|
+
photoURL: x,
|
3176
|
+
phoneNumber: I,
|
3177
3177
|
tenantId: tt,
|
3178
3178
|
stsTokenManager: Pn,
|
3179
3179
|
createdAt: nt,
|
3180
3180
|
lastLoginAt: rt
|
3181
3181
|
});
|
3182
|
-
return we && Array.isArray(we) && (
|
3182
|
+
return we && Array.isArray(we) && (Re.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (Re._redirectEventId = Ee), Re;
|
3183
3183
|
}
|
3184
3184
|
/**
|
3185
3185
|
* Initialize a User from an idToken server response
|
@@ -3249,9 +3249,9 @@ class y {
|
|
3249
3249
|
*/
|
3250
3250
|
const bt = /* @__PURE__ */ new Map();
|
3251
3251
|
function E(n) {
|
3252
|
-
|
3252
|
+
R(n instanceof Function, "Expected a class definition");
|
3253
3253
|
let e = bt.get(n);
|
3254
|
-
return e ? (
|
3254
|
+
return e ? (R(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
|
3255
3255
|
}
|
3256
3256
|
/**
|
3257
3257
|
* @license
|
@@ -3312,7 +3312,7 @@ const yt = ln;
|
|
3312
3312
|
function ae(n, e, t) {
|
3313
3313
|
return `firebase:${n}:${e}:${t}`;
|
3314
3314
|
}
|
3315
|
-
class
|
3315
|
+
class W {
|
3316
3316
|
constructor(e, t, r) {
|
3317
3317
|
this.persistence = e, this.auth = t, this.userKey = r;
|
3318
3318
|
const { config: i, name: s } = this.auth;
|
@@ -3343,7 +3343,7 @@ class j {
|
|
3343
3343
|
}
|
3344
3344
|
static async create(e, t, r = "authUser") {
|
3345
3345
|
if (!t.length)
|
3346
|
-
return new
|
3346
|
+
return new W(E(yt), e, r);
|
3347
3347
|
const i = (await Promise.all(t.map(async (l) => {
|
3348
3348
|
if (await l._isAvailable())
|
3349
3349
|
return l;
|
@@ -3362,13 +3362,13 @@ class j {
|
|
3362
3362
|
} catch {
|
3363
3363
|
}
|
3364
3364
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3365
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3365
|
+
return !s._shouldAllowMigration || !o.length ? new W(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
|
3366
3366
|
if (l !== s)
|
3367
3367
|
try {
|
3368
3368
|
await l._remove(a);
|
3369
3369
|
} catch {
|
3370
3370
|
}
|
3371
|
-
})), new
|
3371
|
+
})), new W(s, e, r));
|
3372
3372
|
}
|
3373
3373
|
}
|
3374
3374
|
/**
|
@@ -3448,7 +3448,7 @@ function es(n = f()) {
|
|
3448
3448
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3449
3449
|
}
|
3450
3450
|
function ts() {
|
3451
|
-
return
|
3451
|
+
return Ir() && document.documentMode === 10;
|
3452
3452
|
}
|
3453
3453
|
function gn(n = f()) {
|
3454
3454
|
return Ke(n) || mn(n) || _n(n) || fn(n) || /windows phone/i.test(n) || pn(n);
|
@@ -3469,7 +3469,7 @@ function gn(n = f()) {
|
|
3469
3469
|
* See the License for the specific language governing permissions and
|
3470
3470
|
* limitations under the License.
|
3471
3471
|
*/
|
3472
|
-
function
|
3472
|
+
function In(n, e = []) {
|
3473
3473
|
let t;
|
3474
3474
|
switch (n) {
|
3475
3475
|
case "Browser":
|
@@ -3556,7 +3556,7 @@ class ns {
|
|
3556
3556
|
* limitations under the License.
|
3557
3557
|
*/
|
3558
3558
|
async function rs(n, e = {}) {
|
3559
|
-
return $(n, "GET", "/v2/passwordPolicy",
|
3559
|
+
return $(n, "GET", "/v2/passwordPolicy", Ie(n, e));
|
3560
3560
|
}
|
3561
3561
|
/**
|
3562
3562
|
* @license
|
@@ -3669,7 +3669,7 @@ class as {
|
|
3669
3669
|
_initializeWithPersistence(e, t) {
|
3670
3670
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3671
3671
|
var r, i;
|
3672
|
-
if (!this._deleted && (this.persistenceManager = await
|
3672
|
+
if (!this._deleted && (this.persistenceManager = await W.create(this, e), !this._deleted)) {
|
3673
3673
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3674
3674
|
try {
|
3675
3675
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3708,7 +3708,7 @@ class as {
|
|
3708
3708
|
}
|
3709
3709
|
async initializeCurrentUser(e) {
|
3710
3710
|
var t;
|
3711
|
-
if (
|
3711
|
+
if (v(this.app)) {
|
3712
3712
|
const a = this.app.settings.authIdToken;
|
3713
3713
|
return a ? new Promise((c) => {
|
3714
3714
|
setTimeout(() => this.initializeCurrentUserFromIdToken(a).then(c, c));
|
@@ -3758,13 +3758,13 @@ class as {
|
|
3758
3758
|
return this.directlySetCurrentUser(e);
|
3759
3759
|
}
|
3760
3760
|
useDeviceLanguage() {
|
3761
|
-
this.languageCode =
|
3761
|
+
this.languageCode = Wi();
|
3762
3762
|
}
|
3763
3763
|
async _delete() {
|
3764
3764
|
this._deleted = !0;
|
3765
3765
|
}
|
3766
3766
|
async updateCurrentUser(e) {
|
3767
|
-
if (
|
3767
|
+
if (v(this.app))
|
3768
3768
|
return Promise.reject(P(this));
|
3769
3769
|
const t = e ? z(e) : null;
|
3770
3770
|
return t && u(
|
@@ -3786,14 +3786,14 @@ class as {
|
|
3786
3786
|
});
|
3787
3787
|
}
|
3788
3788
|
async signOut() {
|
3789
|
-
return
|
3789
|
+
return v(this.app) ? Promise.reject(P(this)) : (await this.beforeStateQueue.runMiddleware(null), (this.redirectPersistenceManager || this._popupRedirectResolver) && await this._setRedirectUser(null), this._updateCurrentUser(
|
3790
3790
|
null,
|
3791
3791
|
/* skipBeforeStateCallbacks */
|
3792
3792
|
!0
|
3793
3793
|
));
|
3794
3794
|
}
|
3795
3795
|
setPersistence(e) {
|
3796
|
-
return
|
3796
|
+
return v(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
|
3797
3797
|
await this.assertedPersistence.setPersistence(E(e));
|
3798
3798
|
});
|
3799
3799
|
}
|
@@ -3873,7 +3873,7 @@ class as {
|
|
3873
3873
|
this,
|
3874
3874
|
"argument-error"
|
3875
3875
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3876
|
-
), this.redirectPersistenceManager = await
|
3876
|
+
), this.redirectPersistenceManager = await W.create(
|
3877
3877
|
this,
|
3878
3878
|
[E(t._redirectPersistence)],
|
3879
3879
|
"redirectUser"
|
@@ -3962,7 +3962,7 @@ class as {
|
|
3962
3962
|
), this.persistenceManager;
|
3963
3963
|
}
|
3964
3964
|
_logFramework(e) {
|
3965
|
-
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion =
|
3965
|
+
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion = In(this.config.clientPlatform, this._getFrameworks()));
|
3966
3966
|
}
|
3967
3967
|
_getFrameworks() {
|
3968
3968
|
return this.frameworks;
|
@@ -3992,15 +3992,15 @@ class as {
|
|
3992
3992
|
async _getAppCheckToken() {
|
3993
3993
|
var e;
|
3994
3994
|
const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
|
3995
|
-
return t != null && t.error &&
|
3995
|
+
return t != null && t.error && Fi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
3996
3996
|
}
|
3997
3997
|
}
|
3998
|
-
function
|
3998
|
+
function ve(n) {
|
3999
3999
|
return z(n);
|
4000
4000
|
}
|
4001
4001
|
class Tt {
|
4002
4002
|
constructor(e) {
|
4003
|
-
this.auth = e, this.observer = null, this.addObserver =
|
4003
|
+
this.auth = e, this.observer = null, this.addObserver = Rr((t) => this.observer = t);
|
4004
4004
|
}
|
4005
4005
|
get next() {
|
4006
4006
|
return u(
|
@@ -4082,7 +4082,7 @@ function hs(n, e) {
|
|
4082
4082
|
e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
|
4083
4083
|
}
|
4084
4084
|
function ps(n, e, t) {
|
4085
|
-
const r =
|
4085
|
+
const r = ve(n);
|
4086
4086
|
u(
|
4087
4087
|
r._canInitEmulator,
|
4088
4088
|
r,
|
@@ -4094,7 +4094,7 @@ function ps(n, e, t) {
|
|
4094
4094
|
"invalid-emulator-scheme"
|
4095
4095
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4096
4096
|
);
|
4097
|
-
const i = !1, s =
|
4097
|
+
const i = !1, s = vn(e), { host: a, port: c } = ms(e), o = c === null ? "" : `:${c}`;
|
4098
4098
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4099
4099
|
host: a,
|
4100
4100
|
port: c,
|
@@ -4102,12 +4102,12 @@ function ps(n, e, t) {
|
|
4102
4102
|
options: Object.freeze({ disableWarnings: i })
|
4103
4103
|
}), fs();
|
4104
4104
|
}
|
4105
|
-
function
|
4105
|
+
function vn(n) {
|
4106
4106
|
const e = n.indexOf(":");
|
4107
4107
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4108
4108
|
}
|
4109
4109
|
function ms(n) {
|
4110
|
-
const e =
|
4110
|
+
const e = vn(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4111
4111
|
if (!t)
|
4112
4112
|
return { host: "", port: null };
|
4113
4113
|
const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
|
@@ -4191,7 +4191,7 @@ class bn {
|
|
4191
4191
|
* limitations under the License.
|
4192
4192
|
*/
|
4193
4193
|
async function V(n, e) {
|
4194
|
-
return sn(n, "POST", "/v1/accounts:signInWithIdp",
|
4194
|
+
return sn(n, "POST", "/v1/accounts:signInWithIdp", Ie(n, e));
|
4195
4195
|
}
|
4196
4196
|
/**
|
4197
4197
|
* @license
|
@@ -4594,7 +4594,7 @@ O.PROVIDER_ID = "github.com";
|
|
4594
4594
|
* See the License for the specific language governing permissions and
|
4595
4595
|
* limitations under the License.
|
4596
4596
|
*/
|
4597
|
-
class
|
4597
|
+
class N extends ne {
|
4598
4598
|
constructor() {
|
4599
4599
|
super(
|
4600
4600
|
"twitter.com"
|
@@ -4609,8 +4609,8 @@ class C extends ne {
|
|
4609
4609
|
*/
|
4610
4610
|
static credential(e, t) {
|
4611
4611
|
return U._fromParams({
|
4612
|
-
providerId:
|
4613
|
-
signInMethod:
|
4612
|
+
providerId: N.PROVIDER_ID,
|
4613
|
+
signInMethod: N.TWITTER_SIGN_IN_METHOD,
|
4614
4614
|
oauthToken: e,
|
4615
4615
|
oauthTokenSecret: t
|
4616
4616
|
});
|
@@ -4621,7 +4621,7 @@ class C extends ne {
|
|
4621
4621
|
* @param userCredential - The user credential.
|
4622
4622
|
*/
|
4623
4623
|
static credentialFromResult(e) {
|
4624
|
-
return
|
4624
|
+
return N.credentialFromTaggedObject(e);
|
4625
4625
|
}
|
4626
4626
|
/**
|
4627
4627
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4630,7 +4630,7 @@ class C extends ne {
|
|
4630
4630
|
* @param userCredential - The user credential.
|
4631
4631
|
*/
|
4632
4632
|
static credentialFromError(e) {
|
4633
|
-
return
|
4633
|
+
return N.credentialFromTaggedObject(e.customData || {});
|
4634
4634
|
}
|
4635
4635
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4636
4636
|
if (!e)
|
@@ -4639,14 +4639,14 @@ class C extends ne {
|
|
4639
4639
|
if (!t || !r)
|
4640
4640
|
return null;
|
4641
4641
|
try {
|
4642
|
-
return
|
4642
|
+
return N.credential(t, r);
|
4643
4643
|
} catch {
|
4644
4644
|
return null;
|
4645
4645
|
}
|
4646
4646
|
}
|
4647
4647
|
}
|
4648
|
-
|
4649
|
-
|
4648
|
+
N.TWITTER_SIGN_IN_METHOD = "twitter.com";
|
4649
|
+
N.PROVIDER_ID = "twitter.com";
|
4650
4650
|
/**
|
4651
4651
|
* @license
|
4652
4652
|
* Copyright 2020 Google LLC
|
@@ -4668,7 +4668,7 @@ class B {
|
|
4668
4668
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
4669
4669
|
}
|
4670
4670
|
static async _fromIdTokenResponse(e, t, r, i = !1) {
|
4671
|
-
const s = await y._fromIdTokenResponse(e, r, i), a =
|
4671
|
+
const s = await y._fromIdTokenResponse(e, r, i), a = Rt(r);
|
4672
4672
|
return new B({
|
4673
4673
|
user: s,
|
4674
4674
|
providerId: a,
|
@@ -4682,7 +4682,7 @@ class B {
|
|
4682
4682
|
/* reload */
|
4683
4683
|
!0
|
4684
4684
|
);
|
4685
|
-
const i =
|
4685
|
+
const i = Rt(r);
|
4686
4686
|
return new B({
|
4687
4687
|
user: e,
|
4688
4688
|
providerId: i,
|
@@ -4691,7 +4691,7 @@ class B {
|
|
4691
4691
|
});
|
4692
4692
|
}
|
4693
4693
|
}
|
4694
|
-
function
|
4694
|
+
function Rt(n) {
|
4695
4695
|
return n.providerId ? n.providerId : "phoneNumber" in n ? "phone" : null;
|
4696
4696
|
}
|
4697
4697
|
/**
|
@@ -4749,9 +4749,9 @@ async function gs(n, e, t = !1) {
|
|
4749
4749
|
* See the License for the specific language governing permissions and
|
4750
4750
|
* limitations under the License.
|
4751
4751
|
*/
|
4752
|
-
async function
|
4752
|
+
async function Is(n, e, t = !1) {
|
4753
4753
|
const { auth: r } = n;
|
4754
|
-
if (
|
4754
|
+
if (v(r.app))
|
4755
4755
|
return Promise.reject(P(r));
|
4756
4756
|
const i = "reauthenticate";
|
4757
4757
|
try {
|
@@ -4800,8 +4800,8 @@ async function vs(n, e, t = !1) {
|
|
4800
4800
|
* See the License for the specific language governing permissions and
|
4801
4801
|
* limitations under the License.
|
4802
4802
|
*/
|
4803
|
-
async function
|
4804
|
-
if (
|
4803
|
+
async function vs(n, e, t = !1) {
|
4804
|
+
if (v(n.app))
|
4805
4805
|
return Promise.reject(P(n));
|
4806
4806
|
const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
|
4807
4807
|
return t || await n._updateCurrentUser(s.user), s;
|
@@ -4823,7 +4823,7 @@ async function Is(n, e, t = !1) {
|
|
4823
4823
|
* limitations under the License.
|
4824
4824
|
*/
|
4825
4825
|
async function bs(n, e) {
|
4826
|
-
return sn(n, "POST", "/v1/accounts:signInWithCustomToken",
|
4826
|
+
return sn(n, "POST", "/v1/accounts:signInWithCustomToken", Ie(n, e));
|
4827
4827
|
}
|
4828
4828
|
/**
|
4829
4829
|
* @license
|
@@ -4842,9 +4842,9 @@ async function bs(n, e) {
|
|
4842
4842
|
* limitations under the License.
|
4843
4843
|
*/
|
4844
4844
|
async function ys(n, e) {
|
4845
|
-
if (
|
4845
|
+
if (v(n.app))
|
4846
4846
|
return Promise.reject(P(n));
|
4847
|
-
const t =
|
4847
|
+
const t = ve(n), r = await bs(t, {
|
4848
4848
|
token: e,
|
4849
4849
|
returnSecureToken: !0
|
4850
4850
|
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
@@ -4914,7 +4914,7 @@ class Tn {
|
|
4914
4914
|
* See the License for the specific language governing permissions and
|
4915
4915
|
* limitations under the License.
|
4916
4916
|
*/
|
4917
|
-
const ws = 1e3,
|
4917
|
+
const ws = 1e3, Rs = 10;
|
4918
4918
|
class wn extends Tn {
|
4919
4919
|
constructor() {
|
4920
4920
|
super(
|
@@ -4942,7 +4942,7 @@ class wn extends Tn {
|
|
4942
4942
|
const a = this.storage.getItem(r);
|
4943
4943
|
!t && this.localCache[r] === a || this.notifyListeners(r, a);
|
4944
4944
|
}, s = this.storage.getItem(r);
|
4945
|
-
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i,
|
4945
|
+
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, Rs) : i();
|
4946
4946
|
}
|
4947
4947
|
notifyListeners(e, t) {
|
4948
4948
|
this.localCache[e] = t;
|
@@ -4994,7 +4994,7 @@ class wn extends Tn {
|
|
4994
4994
|
}
|
4995
4995
|
}
|
4996
4996
|
wn.type = "LOCAL";
|
4997
|
-
const
|
4997
|
+
const ks = wn;
|
4998
4998
|
/**
|
4999
4999
|
* @license
|
5000
5000
|
* Copyright 2020 Google LLC
|
@@ -5011,7 +5011,7 @@ const Rs = wn;
|
|
5011
5011
|
* See the License for the specific language governing permissions and
|
5012
5012
|
* limitations under the License.
|
5013
5013
|
*/
|
5014
|
-
class
|
5014
|
+
class Rn extends Tn {
|
5015
5015
|
constructor() {
|
5016
5016
|
super(
|
5017
5017
|
() => window.sessionStorage,
|
@@ -5024,8 +5024,8 @@ class kn extends Tn {
|
|
5024
5024
|
_removeListener(e, t) {
|
5025
5025
|
}
|
5026
5026
|
}
|
5027
|
-
|
5028
|
-
const
|
5027
|
+
Rn.type = "SESSION";
|
5028
|
+
const kn = Rn;
|
5029
5029
|
/**
|
5030
5030
|
* @license
|
5031
5031
|
* Copyright 2019 Google LLC
|
@@ -5302,7 +5302,7 @@ function Os(n) {
|
|
5302
5302
|
function Sn() {
|
5303
5303
|
return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
|
5304
5304
|
}
|
5305
|
-
async function
|
5305
|
+
async function Ns() {
|
5306
5306
|
if (!(navigator != null && navigator.serviceWorker))
|
5307
5307
|
return null;
|
5308
5308
|
try {
|
@@ -5311,11 +5311,11 @@ async function Cs() {
|
|
5311
5311
|
return null;
|
5312
5312
|
}
|
5313
5313
|
}
|
5314
|
-
function
|
5314
|
+
function Cs() {
|
5315
5315
|
var n;
|
5316
5316
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
5317
5317
|
}
|
5318
|
-
function
|
5318
|
+
function Ds() {
|
5319
5319
|
return Sn() ? self : null;
|
5320
5320
|
}
|
5321
5321
|
/**
|
@@ -5356,7 +5356,7 @@ function Ms() {
|
|
5356
5356
|
const n = indexedDB.deleteDatabase(An);
|
5357
5357
|
return new re(n).toPromise();
|
5358
5358
|
}
|
5359
|
-
function
|
5359
|
+
function We() {
|
5360
5360
|
const n = indexedDB.open(An, Ps);
|
5361
5361
|
return new Promise((e, t) => {
|
5362
5362
|
n.addEventListener("error", () => {
|
@@ -5370,11 +5370,11 @@ function je() {
|
|
5370
5370
|
}
|
5371
5371
|
}), n.addEventListener("success", async () => {
|
5372
5372
|
const r = n.result;
|
5373
|
-
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await
|
5373
|
+
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await We()));
|
5374
5374
|
});
|
5375
5375
|
});
|
5376
5376
|
}
|
5377
|
-
async function
|
5377
|
+
async function kt(n, e, t) {
|
5378
5378
|
const r = ye(n, !0).put({
|
5379
5379
|
[On]: e,
|
5380
5380
|
value: t
|
@@ -5390,14 +5390,14 @@ function St(n, e) {
|
|
5390
5390
|
return new re(t).toPromise();
|
5391
5391
|
}
|
5392
5392
|
const Us = 800, Bs = 3;
|
5393
|
-
class
|
5393
|
+
class Nn {
|
5394
5394
|
constructor() {
|
5395
5395
|
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(() => {
|
5396
5396
|
}, () => {
|
5397
5397
|
});
|
5398
5398
|
}
|
5399
5399
|
async _openDb() {
|
5400
|
-
return this.db ? this.db : (this.db = await
|
5400
|
+
return this.db ? this.db : (this.db = await We(), this.db);
|
5401
5401
|
}
|
5402
5402
|
async _withRetries(e) {
|
5403
5403
|
let t = 0;
|
@@ -5422,7 +5422,7 @@ class Cn {
|
|
5422
5422
|
* As the worker we should listen to events from the main window.
|
5423
5423
|
*/
|
5424
5424
|
async initializeReceiver() {
|
5425
|
-
this.receiver = be._getInstance(
|
5425
|
+
this.receiver = be._getInstance(Ds()), this.receiver._subscribe("keyChanged", async (e, t) => ({
|
5426
5426
|
keyProcessed: (await this._poll()).includes(t.key)
|
5427
5427
|
})), this.receiver._subscribe("ping", async (e, t) => [
|
5428
5428
|
"keyChanged"
|
@@ -5438,7 +5438,7 @@ class Cn {
|
|
5438
5438
|
*/
|
5439
5439
|
async initializeSender() {
|
5440
5440
|
var e, t;
|
5441
|
-
if (this.activeServiceWorker = await
|
5441
|
+
if (this.activeServiceWorker = await Ns(), !this.activeServiceWorker)
|
5442
5442
|
return;
|
5443
5443
|
this.sender = new As(this.activeServiceWorker);
|
5444
5444
|
const r = await this.sender._send(
|
@@ -5462,7 +5462,7 @@ class Cn {
|
|
5462
5462
|
* @param key - Storage key which changed.
|
5463
5463
|
*/
|
5464
5464
|
async notifyServiceWorker(e) {
|
5465
|
-
if (!(!this.sender || !this.activeServiceWorker ||
|
5465
|
+
if (!(!this.sender || !this.activeServiceWorker || Cs() !== this.activeServiceWorker))
|
5466
5466
|
try {
|
5467
5467
|
await this.sender._send(
|
5468
5468
|
"keyChanged",
|
@@ -5478,8 +5478,8 @@ class Cn {
|
|
5478
5478
|
try {
|
5479
5479
|
if (!indexedDB)
|
5480
5480
|
return !1;
|
5481
|
-
const e = await
|
5482
|
-
return await
|
5481
|
+
const e = await We();
|
5482
|
+
return await kt(e, _e, "1"), await St(e, _e), !0;
|
5483
5483
|
} catch {
|
5484
5484
|
}
|
5485
5485
|
return !1;
|
@@ -5493,7 +5493,7 @@ class Cn {
|
|
5493
5493
|
}
|
5494
5494
|
}
|
5495
5495
|
async _set(e, t) {
|
5496
|
-
return this._withPendingWrite(async () => (await this._withRetries((r) =>
|
5496
|
+
return this._withPendingWrite(async () => (await this._withRetries((r) => kt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
|
5497
5497
|
}
|
5498
5498
|
async _get(e) {
|
5499
5499
|
const t = await this._withRetries((r) => Ls(r, e));
|
@@ -5539,8 +5539,8 @@ class Cn {
|
|
5539
5539
|
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();
|
5540
5540
|
}
|
5541
5541
|
}
|
5542
|
-
|
5543
|
-
const
|
5542
|
+
Nn.type = "LOCAL";
|
5543
|
+
const xs = Nn;
|
5544
5544
|
new te(3e4, 6e4);
|
5545
5545
|
/**
|
5546
5546
|
* @license
|
@@ -5558,7 +5558,7 @@ new te(3e4, 6e4);
|
|
5558
5558
|
* See the License for the specific language governing permissions and
|
5559
5559
|
* limitations under the License.
|
5560
5560
|
*/
|
5561
|
-
function
|
5561
|
+
function Fs(n, e) {
|
5562
5562
|
return e ? E(e) : (u(
|
5563
5563
|
n._popupRedirectResolver,
|
5564
5564
|
n,
|
@@ -5612,8 +5612,8 @@ class et extends bn {
|
|
5612
5612
|
return e && (t.idToken = e), t;
|
5613
5613
|
}
|
5614
5614
|
}
|
5615
|
-
function
|
5616
|
-
return
|
5615
|
+
function js(n) {
|
5616
|
+
return vs(n.auth, new et(n), n.bypassAuthState);
|
5617
5617
|
}
|
5618
5618
|
function Hs(n) {
|
5619
5619
|
const { auth: e, user: t } = n;
|
@@ -5622,9 +5622,9 @@ function Hs(n) {
|
|
5622
5622
|
e,
|
5623
5623
|
"internal-error"
|
5624
5624
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5625
|
-
),
|
5625
|
+
), Is(t, new et(n), n.bypassAuthState);
|
5626
5626
|
}
|
5627
|
-
async function
|
5627
|
+
async function Ws(n) {
|
5628
5628
|
const { auth: e, user: t } = n;
|
5629
5629
|
return u(
|
5630
5630
|
t,
|
@@ -5649,7 +5649,7 @@ async function js(n) {
|
|
5649
5649
|
* See the License for the specific language governing permissions and
|
5650
5650
|
* limitations under the License.
|
5651
5651
|
*/
|
5652
|
-
class
|
5652
|
+
class Cn {
|
5653
5653
|
constructor(e, t, r, i, s = !1) {
|
5654
5654
|
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];
|
5655
5655
|
}
|
@@ -5691,10 +5691,10 @@ class Dn {
|
|
5691
5691
|
switch (e) {
|
5692
5692
|
case "signInViaPopup":
|
5693
5693
|
case "signInViaRedirect":
|
5694
|
-
return
|
5694
|
+
return js;
|
5695
5695
|
case "linkViaPopup":
|
5696
5696
|
case "linkViaRedirect":
|
5697
|
-
return
|
5697
|
+
return Ws;
|
5698
5698
|
case "reauthViaPopup":
|
5699
5699
|
case "reauthViaRedirect":
|
5700
5700
|
return Hs;
|
@@ -5707,10 +5707,10 @@ class Dn {
|
|
5707
5707
|
}
|
5708
5708
|
}
|
5709
5709
|
resolve(e) {
|
5710
|
-
|
5710
|
+
R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
|
5711
5711
|
}
|
5712
5712
|
reject(e) {
|
5713
|
-
|
5713
|
+
R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
|
5714
5714
|
}
|
5715
5715
|
unregisterAndCleanUp() {
|
5716
5716
|
this.eventManager && this.eventManager.unregisterConsumer(this), this.pendingPromise = null, this.cleanUp();
|
@@ -5733,9 +5733,9 @@ class Dn {
|
|
5733
5733
|
* limitations under the License.
|
5734
5734
|
*/
|
5735
5735
|
const Vs = new te(2e3, 1e4);
|
5736
|
-
class
|
5736
|
+
class F extends Cn {
|
5737
5737
|
constructor(e, t, r, i, s) {
|
5738
|
-
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null,
|
5738
|
+
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, F.currentPopupAction && F.currentPopupAction.cancel(), F.currentPopupAction = this;
|
5739
5739
|
}
|
5740
5740
|
async executeNotNull() {
|
5741
5741
|
const e = await this.execute();
|
@@ -5747,7 +5747,7 @@ class x extends Dn {
|
|
5747
5747
|
), e;
|
5748
5748
|
}
|
5749
5749
|
async onExecution() {
|
5750
|
-
|
5750
|
+
R(this.filter.length === 1, "Popup operations only handle one event");
|
5751
5751
|
const e = Qe();
|
5752
5752
|
this.authWindow = await this.resolver._openPopup(
|
5753
5753
|
this.auth,
|
@@ -5777,7 +5777,7 @@ class x extends Dn {
|
|
5777
5777
|
));
|
5778
5778
|
}
|
5779
5779
|
cleanUp() {
|
5780
|
-
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null,
|
5780
|
+
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, F.currentPopupAction = null;
|
5781
5781
|
}
|
5782
5782
|
pollUserCancellation() {
|
5783
5783
|
const e = () => {
|
@@ -5801,7 +5801,7 @@ class x extends Dn {
|
|
5801
5801
|
e();
|
5802
5802
|
}
|
5803
5803
|
}
|
5804
|
-
|
5804
|
+
F.currentPopupAction = null;
|
5805
5805
|
/**
|
5806
5806
|
* @license
|
5807
5807
|
* Copyright 2020 Google LLC
|
@@ -5818,8 +5818,8 @@ x.currentPopupAction = null;
|
|
5818
5818
|
* See the License for the specific language governing permissions and
|
5819
5819
|
* limitations under the License.
|
5820
5820
|
*/
|
5821
|
-
const
|
5822
|
-
class zs extends
|
5821
|
+
const Gs = "pendingRedirect", oe = /* @__PURE__ */ new Map();
|
5822
|
+
class zs extends Cn {
|
5823
5823
|
constructor(e, t, r = !1) {
|
5824
5824
|
super(e, [
|
5825
5825
|
"signInViaRedirect",
|
@@ -5879,12 +5879,12 @@ function Js(n) {
|
|
5879
5879
|
return E(n._redirectPersistence);
|
5880
5880
|
}
|
5881
5881
|
function Xs(n) {
|
5882
|
-
return ae(
|
5882
|
+
return ae(Gs, n.config.apiKey, n.name);
|
5883
5883
|
}
|
5884
5884
|
async function Ys(n, e, t = !1) {
|
5885
|
-
if (
|
5885
|
+
if (v(n.app))
|
5886
5886
|
return Promise.reject(P(n));
|
5887
|
-
const r =
|
5887
|
+
const r = ve(n), i = Fs(r, e), a = await new zs(r, i, t).execute();
|
5888
5888
|
return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
|
5889
5889
|
}
|
5890
5890
|
/**
|
@@ -5924,7 +5924,7 @@ class qs {
|
|
5924
5924
|
}
|
5925
5925
|
sendToConsumer(e, t) {
|
5926
5926
|
var r;
|
5927
|
-
if (e.error && !
|
5927
|
+
if (e.error && !Dn(e)) {
|
5928
5928
|
const i = ((r = e.error.code) === null || r === void 0 ? void 0 : r.split("auth/")[1]) || "internal-error";
|
5929
5929
|
t.onError(_(this.auth, i));
|
5930
5930
|
} else
|
@@ -5944,7 +5944,7 @@ class qs {
|
|
5944
5944
|
function At(n) {
|
5945
5945
|
return [n.type, n.eventId, n.sessionId, n.tenantId].filter((e) => e).join("-");
|
5946
5946
|
}
|
5947
|
-
function
|
5947
|
+
function Dn({ type: n, error: e }) {
|
5948
5948
|
return n === "unknown" && (e == null ? void 0 : e.code) === "auth/no-auth-event";
|
5949
5949
|
}
|
5950
5950
|
function Qs(n) {
|
@@ -5954,7 +5954,7 @@ function Qs(n) {
|
|
5954
5954
|
case "reauthViaRedirect":
|
5955
5955
|
return !0;
|
5956
5956
|
case "unknown":
|
5957
|
-
return
|
5957
|
+
return Dn(n);
|
5958
5958
|
default:
|
5959
5959
|
return !1;
|
5960
5960
|
}
|
@@ -6012,7 +6012,7 @@ async function ra(n) {
|
|
6012
6012
|
);
|
6013
6013
|
}
|
6014
6014
|
function ia(n) {
|
6015
|
-
const e =
|
6015
|
+
const e = je(), { protocol: t, hostname: r } = new URL(e);
|
6016
6016
|
if (n.startsWith("chrome-extension://")) {
|
6017
6017
|
const a = new URL(n);
|
6018
6018
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
@@ -6192,8 +6192,8 @@ const fa = {
|
|
6192
6192
|
resizable: "yes",
|
6193
6193
|
statusbar: "yes",
|
6194
6194
|
toolbar: "no"
|
6195
|
-
}, _a = 500, ga = 600,
|
6196
|
-
class
|
6195
|
+
}, _a = 500, ga = 600, Ia = "_blank", va = "http://localhost";
|
6196
|
+
class Nt {
|
6197
6197
|
constructor(e) {
|
6198
6198
|
this.window = e, this.associatedEvent = null;
|
6199
6199
|
}
|
@@ -6214,10 +6214,10 @@ function ba(n, e, t, r = _a, i = ga) {
|
|
6214
6214
|
top: s,
|
6215
6215
|
left: a
|
6216
6216
|
}), l = f().toLowerCase();
|
6217
|
-
t && (c = hn(l) ?
|
6218
|
-
const d = Object.entries(o).reduce((m, [
|
6217
|
+
t && (c = hn(l) ? Ia : t), dn(l) && (e = e || va, o.scrollbars = "yes");
|
6218
|
+
const d = Object.entries(o).reduce((m, [I, x]) => `${m}${I}=${x},`, "");
|
6219
6219
|
if (es(l) && c !== "_self")
|
6220
|
-
return ya(e || "", c), new
|
6220
|
+
return ya(e || "", c), new Nt(null);
|
6221
6221
|
const h = window.open(e || "", c, d);
|
6222
6222
|
u(
|
6223
6223
|
h,
|
@@ -6229,7 +6229,7 @@ function ba(n, e, t, r = _a, i = ga) {
|
|
6229
6229
|
h.focus();
|
6230
6230
|
} catch {
|
6231
6231
|
}
|
6232
|
-
return new
|
6232
|
+
return new Nt(h);
|
6233
6233
|
}
|
6234
6234
|
function ya(n, e) {
|
6235
6235
|
const t = document.createElement("a");
|
@@ -6254,7 +6254,7 @@ function ya(n, e) {
|
|
6254
6254
|
* limitations under the License.
|
6255
6255
|
*/
|
6256
6256
|
const Ea = "__/auth/handler", Ta = "emulator/auth/handler", wa = encodeURIComponent("fac");
|
6257
|
-
async function
|
6257
|
+
async function Ct(n, e, t, r, i, s) {
|
6258
6258
|
u(
|
6259
6259
|
n.config.authDomain,
|
6260
6260
|
n,
|
@@ -6288,9 +6288,9 @@ async function Dt(n, e, t, r, i, s) {
|
|
6288
6288
|
for (const d of Object.keys(c))
|
6289
6289
|
c[d] === void 0 && delete c[d];
|
6290
6290
|
const o = await n._getAppCheckToken(), l = o ? `#${wa}=${encodeURIComponent(o)}` : "";
|
6291
|
-
return `${
|
6291
|
+
return `${Ra(n)}?${Q(c).slice(1)}${l}`;
|
6292
6292
|
}
|
6293
|
-
function
|
6293
|
+
function Ra({ config: n }) {
|
6294
6294
|
return n.emulator ? Xe(n, Ta) : `https://${n.authDomain}/${Ea}`;
|
6295
6295
|
}
|
6296
6296
|
/**
|
@@ -6309,22 +6309,22 @@ function ka({ config: n }) {
|
|
6309
6309
|
* See the License for the specific language governing permissions and
|
6310
6310
|
* limitations under the License.
|
6311
6311
|
*/
|
6312
|
-
const
|
6313
|
-
class
|
6312
|
+
const De = "webStorageSupport";
|
6313
|
+
class ka {
|
6314
6314
|
constructor() {
|
6315
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence =
|
6315
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Ys, this._overrideRedirectResult = Zs;
|
6316
6316
|
}
|
6317
6317
|
// Wrapping in async even though we don't await anywhere in order
|
6318
6318
|
// to make sure errors are raised as promise rejections
|
6319
6319
|
async _openPopup(e, t, r, i) {
|
6320
6320
|
var s;
|
6321
|
-
|
6322
|
-
const a = await
|
6321
|
+
R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6322
|
+
const a = await Ct(e, t, r, je(), i);
|
6323
6323
|
return ba(e, a, Qe());
|
6324
6324
|
}
|
6325
6325
|
async _openRedirect(e, t, r, i) {
|
6326
6326
|
await this._originValidation(e);
|
6327
|
-
const s = await
|
6327
|
+
const s = await Ct(e, t, r, je(), i);
|
6328
6328
|
return Os(s), new Promise(() => {
|
6329
6329
|
});
|
6330
6330
|
}
|
@@ -6332,7 +6332,7 @@ class Ra {
|
|
6332
6332
|
const t = e._key();
|
6333
6333
|
if (this.eventManagers[t]) {
|
6334
6334
|
const { manager: i, promise: s } = this.eventManagers[t];
|
6335
|
-
return i ? Promise.resolve(i) : (
|
6335
|
+
return i ? Promise.resolve(i) : (R(s, "If manager is not set, promise should be"), s);
|
6336
6336
|
}
|
6337
6337
|
const r = this.initAndGetManager(e);
|
6338
6338
|
return this.eventManagers[t] = { promise: r }, r.catch(() => {
|
@@ -6352,9 +6352,9 @@ class Ra {
|
|
6352
6352
|
}), gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER), this.eventManagers[e._key()] = { manager: r }, this.iframes[e._key()] = t, r;
|
6353
6353
|
}
|
6354
6354
|
_isIframeWebStorageSupported(e, t) {
|
6355
|
-
this.iframes[e._key()].send(
|
6355
|
+
this.iframes[e._key()].send(De, { type: De }, (i) => {
|
6356
6356
|
var s;
|
6357
|
-
const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[
|
6357
|
+
const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[De];
|
6358
6358
|
a !== void 0 && t(!!a), w(
|
6359
6359
|
e,
|
6360
6360
|
"internal-error"
|
@@ -6370,8 +6370,8 @@ class Ra {
|
|
6370
6370
|
return gn() || un() || Ke();
|
6371
6371
|
}
|
6372
6372
|
}
|
6373
|
-
const Sa =
|
6374
|
-
var
|
6373
|
+
const Sa = ka;
|
6374
|
+
var Dt = "@firebase/auth", Pt = "1.7.9";
|
6375
6375
|
/**
|
6376
6376
|
* @license
|
6377
6377
|
* Copyright 2020 Google LLC
|
@@ -6455,8 +6455,8 @@ function Oa(n) {
|
|
6455
6455
|
return;
|
6456
6456
|
}
|
6457
6457
|
}
|
6458
|
-
function
|
6459
|
-
X(new
|
6458
|
+
function Na(n) {
|
6459
|
+
X(new G(
|
6460
6460
|
"auth",
|
6461
6461
|
(e, { options: t }) => {
|
6462
6462
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
|
@@ -6468,7 +6468,7 @@ function Ca(n) {
|
|
6468
6468
|
apiHost: "identitytoolkit.googleapis.com",
|
6469
6469
|
tokenApiHost: "securetoken.googleapis.com",
|
6470
6470
|
apiScheme: "https",
|
6471
|
-
sdkClientVersion:
|
6471
|
+
sdkClientVersion: In(n)
|
6472
6472
|
}, l = new as(r, i, s, o);
|
6473
6473
|
return hs(l, t), l;
|
6474
6474
|
},
|
@@ -6482,10 +6482,10 @@ function Ca(n) {
|
|
6482
6482
|
"auth-internal"
|
6483
6483
|
/* _ComponentName.AUTH_INTERNAL */
|
6484
6484
|
).initialize();
|
6485
|
-
})), X(new
|
6485
|
+
})), X(new G(
|
6486
6486
|
"auth-internal",
|
6487
6487
|
(e) => {
|
6488
|
-
const t =
|
6488
|
+
const t = ve(e.getProvider(
|
6489
6489
|
"auth"
|
6490
6490
|
/* _ComponentName.AUTH */
|
6491
6491
|
).getImmediate());
|
@@ -6496,7 +6496,7 @@ function Ca(n) {
|
|
6496
6496
|
).setInstantiationMode(
|
6497
6497
|
"EXPLICIT"
|
6498
6498
|
/* InstantiationMode.EXPLICIT */
|
6499
|
-
)),
|
6499
|
+
)), j(Dt, Pt, Oa(n)), j(Dt, Pt, "esm2017");
|
6500
6500
|
}
|
6501
6501
|
/**
|
6502
6502
|
* @license
|
@@ -6514,11 +6514,11 @@ function Ca(n) {
|
|
6514
6514
|
* See the License for the specific language governing permissions and
|
6515
6515
|
* limitations under the License.
|
6516
6516
|
*/
|
6517
|
-
const
|
6517
|
+
const Ca = 5 * 60, Da = zt("authIdTokenMaxAge") || Ca;
|
6518
6518
|
let Mt = null;
|
6519
6519
|
const Pa = (n) => async (e) => {
|
6520
6520
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
6521
|
-
if (r && r >
|
6521
|
+
if (r && r > Da)
|
6522
6522
|
return;
|
6523
6523
|
const i = t == null ? void 0 : t.token;
|
6524
6524
|
Mt !== i && (Mt = i, await fetch(n, {
|
@@ -6528,16 +6528,16 @@ const Pa = (n) => async (e) => {
|
|
6528
6528
|
} : {}
|
6529
6529
|
}));
|
6530
6530
|
};
|
6531
|
-
function Ma(n =
|
6531
|
+
function Ma(n = ki()) {
|
6532
6532
|
const e = Xt(n, "auth");
|
6533
6533
|
if (e.isInitialized())
|
6534
6534
|
return e.getImmediate();
|
6535
6535
|
const t = us(n, {
|
6536
6536
|
popupRedirectResolver: Sa,
|
6537
6537
|
persistence: [
|
6538
|
-
|
6539
|
-
|
6540
|
-
|
6538
|
+
xs,
|
6539
|
+
ks,
|
6540
|
+
kn
|
6541
6541
|
]
|
6542
6542
|
}), r = zt("authTokenSyncURL");
|
6543
6543
|
if (r && typeof isSecureContext == "boolean" && isSecureContext) {
|
@@ -6571,13 +6571,13 @@ os({
|
|
6571
6571
|
recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
|
6572
6572
|
recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
|
6573
6573
|
});
|
6574
|
-
|
6574
|
+
Na(
|
6575
6575
|
"Browser"
|
6576
6576
|
/* ClientPlatform.BROWSER */
|
6577
6577
|
);
|
6578
6578
|
const Ua = Ln({
|
6579
6579
|
history: Un(),
|
6580
|
-
routes: [...
|
6580
|
+
routes: [...Ge, ...le]
|
6581
6581
|
});
|
6582
6582
|
let Pe, Me;
|
6583
6583
|
Ua.beforeEach(async (n) => {
|
@@ -6610,12 +6610,12 @@ Ua.beforeEach(async (n) => {
|
|
6610
6610
|
const Ba = /* @__PURE__ */ Ut({
|
6611
6611
|
__name: "AppSidebar",
|
6612
6612
|
setup(n) {
|
6613
|
-
const e = Ve(), t = Bn(), { t: r } =
|
6613
|
+
const e = Ve(), t = Bn(), { t: r } = Gn(), i = Fn(t.currentRoute.value.name);
|
6614
6614
|
Z(t.currentRoute, () => {
|
6615
6615
|
let l = t.currentRoute.value.name;
|
6616
6616
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6617
6617
|
});
|
6618
|
-
const s =
|
6618
|
+
const s = Ge.map((l) => {
|
6619
6619
|
var m;
|
6620
6620
|
if (!((m = l.meta) != null && m.sidebarDisplay))
|
6621
6621
|
return;
|
@@ -6627,7 +6627,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6627
6627
|
return t.push({ name: l.name });
|
6628
6628
|
}
|
6629
6629
|
};
|
6630
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6630
|
+
return l.meta.sidebarNew && (h.badge = () => jn($n.FmPill, { label: "New" })), h;
|
6631
6631
|
}).filter((l) => !!l), a = le.map((l) => {
|
6632
6632
|
var d;
|
6633
6633
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6684,7 +6684,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6684
6684
|
});
|
6685
6685
|
return (l, d) => {
|
6686
6686
|
const h = Bt("FmCollapsibleTabs");
|
6687
|
-
return
|
6687
|
+
return xt(), Ft(h, {
|
6688
6688
|
modelValue: i.value,
|
6689
6689
|
"onUpdate:modelValue": d[0] || (d[0] = (m) => i.value = m),
|
6690
6690
|
items: o.value,
|
@@ -6693,11 +6693,11 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6693
6693
|
};
|
6694
6694
|
}
|
6695
6695
|
});
|
6696
|
-
var
|
6696
|
+
var xa = { authClientId: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" }, assetBucketUrl: "static.feedme.cc" };
|
6697
6697
|
const $a = /* @__PURE__ */ Ut({
|
6698
6698
|
__name: "App",
|
6699
6699
|
setup(n) {
|
6700
|
-
const { state: e } = sr(), t = Ve(), r =
|
6700
|
+
const { state: e } = sr(), t = Ve(), r = xn(), i = Yt(xa.firebase);
|
6701
6701
|
async function s() {
|
6702
6702
|
const a = t.sessionUser.value;
|
6703
6703
|
if (!a || !a.token) return;
|
@@ -6706,11 +6706,11 @@ const $a = /* @__PURE__ */ Ut({
|
|
6706
6706
|
}
|
6707
6707
|
return s(), Z(t.sessionUser, s), Hn(() => {
|
6708
6708
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6709
|
-
}),
|
6709
|
+
}), Wn(() => {
|
6710
6710
|
t.registerSidebarComponent(Ba);
|
6711
6711
|
}), (a, c) => {
|
6712
6712
|
const o = Bt("RouterView");
|
6713
|
-
return
|
6713
|
+
return xt(), Ft(o, {
|
6714
6714
|
key: Vn(r).path
|
6715
6715
|
});
|
6716
6716
|
};
|
@@ -6718,20 +6718,20 @@ const $a = /* @__PURE__ */ Ut({
|
|
6718
6718
|
}), Za = {
|
6719
6719
|
"en-US": qn,
|
6720
6720
|
"zh-CN": ir
|
6721
|
-
}, Ja = [...le, ...
|
6721
|
+
}, Ja = [...le, ...Ge];
|
6722
6722
|
export {
|
6723
|
-
|
6723
|
+
G as C,
|
6724
6724
|
M as F,
|
6725
6725
|
ee as S,
|
6726
6726
|
X as _,
|
6727
6727
|
Xt as a,
|
6728
|
-
|
6729
|
-
|
6728
|
+
Ga as b,
|
6729
|
+
ki as c,
|
6730
6730
|
za as d,
|
6731
6731
|
gt as e,
|
6732
6732
|
Ja as f,
|
6733
6733
|
z as g,
|
6734
6734
|
$a as h,
|
6735
6735
|
Za as i,
|
6736
|
-
|
6736
|
+
j as r
|
6737
6737
|
};
|