@feedmepos/mf-payment 1.1.7-beta.5 → 1.1.7-beta.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-BM5YRYN9.js → PayoutAccount-1d1J3Mbp.js} +5 -5
- package/dist/{PayoutAccount-CnxX2N0l.js → PayoutAccount-DTRSgLrZ.js} +3 -3
- package/dist/{PayoutAccountSetting-CYEDbNXl.js → PayoutAccountSetting-DM7pMb0z.js} +3 -3
- package/dist/{Restaurant-D_iO5C0m.js → Restaurant-DCJsgh4n.js} +4 -4
- package/dist/{RestaurantSetting-CuOT140H.js → RestaurantSetting-DSv0mpiy.js} +3 -3
- package/dist/{Settlement-CY8315rQ.js → Settlement-BP4npkfA.js} +3 -3
- package/dist/Settlement-Cie3vI3n.js +453 -0
- package/dist/{SettlementTransactions-Ci8PF1OX.js → SettlementTransactions-DyXb1ZAw.js} +80 -78
- package/dist/{SettlementTransactions-ziCXqaiy.js → SettlementTransactions-bRdkx8o5.js} +68 -66
- package/dist/{Terminal-BuOfI_zu.js → Terminal-CDBNFPbr.js} +5 -5
- package/dist/{TerminalSetting-CTKfzmft.js → TerminalSetting-pAsMFueM.js} +3 -3
- package/dist/{Transaction-et-KevEl.js → Transaction-DqvPuX4W.js} +5 -5
- package/dist/{Transaction-Bpa0eDNG.js → Transaction-W8sRSgGc.js} +6 -6
- package/dist/{TransactionOld-y5-lkWbc.js → TransactionOld-BOQ6tBqe.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-BBtUxiMq.js → TransactionTable.vue_vue_type_script_setup_true_lang-CtjjM2gz.js} +3 -3
- package/dist/{app-Bz1GxrfP.js → app-CYglC23K.js} +282 -280
- package/dist/app.d.ts +2 -0
- package/dist/app.js +1 -1
- package/dist/{assets-CFu52OGc.js → assets-G15yB8yl.js} +1 -1
- package/dist/{grafana-DR0vcbv7.js → grafana-ByGWVKk3.js} +1 -1
- package/dist/{index-C1IEirFI.js → index-BKTCJbdW.js} +1 -1
- package/dist/{index-BJF9lPV4.js → index-C13NEGId.js} +1 -1
- package/dist/{index-DY-CMDz7.js → index-CtqzAx42.js} +1 -1
- package/dist/{index-CM1aljm7.js → index-DXrfVp2-.js} +1 -1
- package/dist/{index-CAiA-B0B.js → index-DjrHDthD.js} +1455 -1455
- package/dist/{index-DbaQ_-s2.js → index-WON1wez7.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-B0E1G00H.js → index.vue_vue_type_script_setup_true_lang-BL_w1CP7.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-wPSONvk-.js → payout-account-Bk7qyKXt.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/Settlement-6HiVcu0l.js +0 -445
@@ -1,9 +1,9 @@
|
|
1
1
|
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as Fn } from "vue-router";
|
2
|
-
import { computed as Lt, watch as
|
3
|
-
import { useCoreStore as
|
2
|
+
import { computed as Lt, watch as $, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as jn, onMounted as Hn, onBeforeMount as Gn, unref as Vn } from "vue";
|
3
|
+
import { useCoreStore as Ve, useI18n as Wn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
|
-
import { components as
|
6
|
-
const
|
5
|
+
import { components as Zn } from "@feedmepos/ui-library";
|
6
|
+
const $n = {
|
7
7
|
select: "Select filter entity",
|
8
8
|
restaurant: "Restaurant",
|
9
9
|
device: "Device",
|
@@ -28,6 +28,7 @@ const Zn = {
|
|
28
28
|
},
|
29
29
|
dialog: {
|
30
30
|
title: "Settlements Transactions",
|
31
|
+
date: "Date",
|
31
32
|
search: "Search Transactions ...",
|
32
33
|
info: {
|
33
34
|
transaction: {
|
@@ -144,7 +145,7 @@ const Zn = {
|
|
144
145
|
}
|
145
146
|
}
|
146
147
|
}, qn = {
|
147
|
-
components:
|
148
|
+
components: $n,
|
148
149
|
routes: Jn,
|
149
150
|
settlements: Yn,
|
150
151
|
transactions: Xn,
|
@@ -174,6 +175,7 @@ const Zn = {
|
|
174
175
|
},
|
175
176
|
dialog: {
|
176
177
|
title: "结算订单详细",
|
178
|
+
date: "日期",
|
177
179
|
search: "查询订单 ...",
|
178
180
|
info: {
|
179
181
|
transaction: {
|
@@ -303,7 +305,7 @@ const Zn = {
|
|
303
305
|
sidebarDisplay: "Restaurants",
|
304
306
|
section: "payment-gateway"
|
305
307
|
},
|
306
|
-
component: () => import("./Restaurant-
|
308
|
+
component: () => import("./Restaurant-DCJsgh4n.js")
|
307
309
|
},
|
308
310
|
{
|
309
311
|
path: "/admin/restaurants/:restaurantId",
|
@@ -312,7 +314,7 @@ const Zn = {
|
|
312
314
|
meta: {
|
313
315
|
parent: "mf-payment-admin.restaurant"
|
314
316
|
},
|
315
|
-
component: () => import("./RestaurantSetting-
|
317
|
+
component: () => import("./RestaurantSetting-DSv0mpiy.js")
|
316
318
|
},
|
317
319
|
{
|
318
320
|
path: "/admin/payout-accounts",
|
@@ -321,7 +323,7 @@ const Zn = {
|
|
321
323
|
sidebarDisplay: "Payout Accounts",
|
322
324
|
section: "payment-gateway"
|
323
325
|
},
|
324
|
-
component: () => import("./PayoutAccount-
|
326
|
+
component: () => import("./PayoutAccount-1d1J3Mbp.js")
|
325
327
|
},
|
326
328
|
{
|
327
329
|
path: "/admin/payout-accounts/:accountId",
|
@@ -330,7 +332,7 @@ const Zn = {
|
|
330
332
|
meta: {
|
331
333
|
parent: "mf-payment-admin.payout-account"
|
332
334
|
},
|
333
|
-
component: () => import("./PayoutAccountSetting-
|
335
|
+
component: () => import("./PayoutAccountSetting-DM7pMb0z.js")
|
334
336
|
},
|
335
337
|
{
|
336
338
|
path: "/admin/terminal/pos",
|
@@ -339,7 +341,7 @@ const Zn = {
|
|
339
341
|
sidebarDisplay: "POS",
|
340
342
|
section: "device"
|
341
343
|
},
|
342
|
-
component: () => import("./Terminal-
|
344
|
+
component: () => import("./Terminal-CDBNFPbr.js"),
|
343
345
|
props: {
|
344
346
|
type: "POS"
|
345
347
|
}
|
@@ -351,7 +353,7 @@ const Zn = {
|
|
351
353
|
sidebarDisplay: "Kiosks",
|
352
354
|
section: "device"
|
353
355
|
},
|
354
|
-
component: () => import("./Terminal-
|
356
|
+
component: () => import("./Terminal-CDBNFPbr.js"),
|
355
357
|
props: {
|
356
358
|
type: "KIOSK"
|
357
359
|
}
|
@@ -363,7 +365,7 @@ const Zn = {
|
|
363
365
|
sidebarDisplay: "Terminals",
|
364
366
|
section: "device"
|
365
367
|
},
|
366
|
-
component: () => import("./Terminal-
|
368
|
+
component: () => import("./Terminal-CDBNFPbr.js"),
|
367
369
|
props: {
|
368
370
|
type: "TERMINAL"
|
369
371
|
}
|
@@ -375,7 +377,7 @@ const Zn = {
|
|
375
377
|
meta: {
|
376
378
|
parent: "mf-payment-admin.pos"
|
377
379
|
},
|
378
|
-
component: () => import("./TerminalSetting-
|
380
|
+
component: () => import("./TerminalSetting-pAsMFueM.js")
|
379
381
|
},
|
380
382
|
{
|
381
383
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -384,7 +386,7 @@ const Zn = {
|
|
384
386
|
meta: {
|
385
387
|
parent: "mf-payment-admin.kiosk"
|
386
388
|
},
|
387
|
-
component: () => import("./TerminalSetting-
|
389
|
+
component: () => import("./TerminalSetting-pAsMFueM.js")
|
388
390
|
},
|
389
391
|
{
|
390
392
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -393,7 +395,7 @@ const Zn = {
|
|
393
395
|
meta: {
|
394
396
|
parent: "mf-payment-admin.terminal"
|
395
397
|
},
|
396
|
-
component: () => import("./TerminalSetting-
|
398
|
+
component: () => import("./TerminalSetting-pAsMFueM.js")
|
397
399
|
},
|
398
400
|
{
|
399
401
|
path: "/admin/transaction",
|
@@ -401,7 +403,7 @@ const Zn = {
|
|
401
403
|
meta: {
|
402
404
|
sidebarDisplay: "Transactions"
|
403
405
|
},
|
404
|
-
component: () => import("./Transaction-
|
406
|
+
component: () => import("./Transaction-DqvPuX4W.js")
|
405
407
|
},
|
406
408
|
{
|
407
409
|
path: "/admin/settlement",
|
@@ -409,7 +411,7 @@ const Zn = {
|
|
409
411
|
meta: {
|
410
412
|
sidebarDisplay: "Settlements"
|
411
413
|
},
|
412
|
-
component: () => import("./Settlement-
|
414
|
+
component: () => import("./Settlement-BP4npkfA.js")
|
413
415
|
},
|
414
416
|
{
|
415
417
|
path: "/admin/settlement/:settlementId",
|
@@ -418,7 +420,7 @@ const Zn = {
|
|
418
420
|
meta: {
|
419
421
|
parent: "mf-payment-admin.settlement"
|
420
422
|
},
|
421
|
-
component: () => import("./SettlementTransactions-
|
423
|
+
component: () => import("./SettlementTransactions-DyXb1ZAw.js")
|
422
424
|
}
|
423
425
|
], We = [
|
424
426
|
{
|
@@ -428,7 +430,7 @@ const Zn = {
|
|
428
430
|
{
|
429
431
|
path: "/payout-account",
|
430
432
|
name: "mf-payment-payout-account",
|
431
|
-
component: () => import("./PayoutAccount-
|
433
|
+
component: () => import("./PayoutAccount-DTRSgLrZ.js"),
|
432
434
|
meta: {
|
433
435
|
sidebarDisplay: "i18n:routes.payout_account"
|
434
436
|
}
|
@@ -436,7 +438,7 @@ const Zn = {
|
|
436
438
|
{
|
437
439
|
path: "/transaction-old",
|
438
440
|
name: "mf-payment-old-transaction",
|
439
|
-
component: () => import("./TransactionOld-
|
441
|
+
component: () => import("./TransactionOld-BOQ6tBqe.js"),
|
440
442
|
meta: {
|
441
443
|
sidebarDisplay: "i18n:routes.transaction"
|
442
444
|
}
|
@@ -444,7 +446,7 @@ const Zn = {
|
|
444
446
|
{
|
445
447
|
path: "/transaction",
|
446
448
|
name: "mf-payment-transaction",
|
447
|
-
component: () => import("./Transaction-
|
449
|
+
component: () => import("./Transaction-W8sRSgGc.js"),
|
448
450
|
meta: {
|
449
451
|
sidebarDisplay: "i18n:routes.transaction-new",
|
450
452
|
sidebarNew: !0
|
@@ -453,7 +455,7 @@ const Zn = {
|
|
453
455
|
{
|
454
456
|
path: "/settlement",
|
455
457
|
name: "mf-payment-settlement",
|
456
|
-
component: () => import("./Settlement-
|
458
|
+
component: () => import("./Settlement-Cie3vI3n.js"),
|
457
459
|
meta: {
|
458
460
|
sidebarDisplay: "i18n:routes.settlement"
|
459
461
|
}
|
@@ -462,7 +464,7 @@ const Zn = {
|
|
462
464
|
path: "/settlement/:settlementId",
|
463
465
|
name: "mf-payment-settlement-transaction",
|
464
466
|
props: !0,
|
465
|
-
component: () => import("./SettlementTransactions-
|
467
|
+
component: () => import("./SettlementTransactions-bRdkx8o5.js"),
|
466
468
|
meta: {
|
467
469
|
parent: "mf-payment-settlement"
|
468
470
|
}
|
@@ -479,7 +481,7 @@ const Zn = {
|
|
479
481
|
init: t
|
480
482
|
};
|
481
483
|
});
|
482
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_08181a8a-1a68-4c95-a2e2-372d455c0625", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_08181a8a-1a68-4c95-a2e2-372d455c0625", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_mqqddTt5zebHQNztIadHV7FspWT3CN3JvB4j", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "715", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250323.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6118", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14309882355", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "5445eda15905537f889f5c399bb58e5d4f2d99bb", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6N2VlMzc3YjctM2VkYS00YjMzLWFlNjEtMDRlMjQ0ZGE1NTk4OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDU0IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46N2VlMzc3YjctM2VkYS00YjMzLWFlNjEtMDRlMjQ0ZGE1NTk4OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDU0IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiOTQ4Y2Y2OTAtZDM2Yy00MTkyLTk2ZmMtYWY4MTNkNjEyMDY3Iiwic2lkIjoiNGM5YjY3NDgtZGIxMy00NDdjLTgxMmUtNzkyMWEwZmE3MjdiIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjU0NDVlZGExNTkwNTUzN2Y4ODlmNWMzOTliYjU4ZTVkNGYyZDk5YmJcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQzMDk4ODIzNTVcIixcInJ1bl9udW1iZXJcIjpcIjE2NVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCI1NDQ1ZWRhMTU5MDU1MzdmODg5ZjVjMzk5YmI1OGU1ZDRmMmQ5OWJiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI1NDQ1ZWRhMTU5MDU1MzdmODg5ZjVjMzk5YmI1OGU1ZDRmMmQ5OWJiXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI3ZWUzNzdiNy0zZWRhLTRiMzMtYWU2MS0wNGUyNDRkYTU1OTguZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQwMzAyOTIsImV4cCI6MTc0NDA1MzA5Mn0.COpKWMOjpTPO9dpi6MdunZnjbh6Nm164s_KQY3cLvWFOsUe3A49mI0EFRlymoxQaKZiyLB9KIEjRqxiC-HsDij6gcOjvGgNy28OYXAwxVkTtaNU0WwVqEyQdY_DFqccH6mIw3y8-C_dpxzXP5QSq3yIYjP4vgoaurcZIzJH9T_XUGKiaJQ0wBohzG9Or1wFSoLuO2YYNlO35Iso9zsRlyC_51MgrFabiwBYI6sRCJAQl-XFhVHnaKGI37O-Nr517WonRrS9OVGHoGQgRSFDf1A3BaA-bwmxCoUZCxx1-HUjMZ4kqYq6y72Th9s31XlImC3ambN7ibt8x5ST7k5LlMw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744030934510-0.4995528230975539:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744030934352-0.6792988677188341:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744030934193-0.15040655406084213:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_5d84864e-03cc-42f8-a6ef-e986ab79a9e8", INVOCATION_ID: "7a94509ac41441afb23a62e141d808d0", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "165", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 447", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.7-beta.5", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "5445eda15905537f889f5c399bb58e5d4f2d99bb", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_08181a8a-1a68-4c95-a2e2-372d455c0625", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/7ee377b7-3eda-4b33-ae61-04e244da5598/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_08181a8a-1a68-4c95-a2e2-372d455c0625", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_08181a8a-1a68-4c95-a2e2-372d455c0625", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
484
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_875f96ff-b9e2-4c7a-bd00-c5bb6de2760b", 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_875f96ff-b9e2-4c7a-bd00-c5bb6de2760b", 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_ucjNzEuVpbtI2DLYyN3pJjF5Wd40t52a7E8x", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "710", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250323.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6515", 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: "14354318336", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2cd7fd640fdf5d0b683c246be27ac58374d0543f", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6NzhiN2IxMDUtNmNlZi00YjdjLWE5OTItOWZmYWY3NmM5MTllOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDYwIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46NzhiN2IxMDUtNmNlZi00YjdjLWE5OTItOWZmYWY3NmM5MTllOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDYwIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiYzRiMjA0Y2YtZDdhYS00Mzc4LWE1ZWItMTNjYTc2ODg0NTMyIiwic2lkIjoiODIzNDY2NGYtYmQyYS00MTcxLTk1MTQtYWE3YzM0NmZiNDc3IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjJjZDdmZDY0MGZkZjVkMGI2ODNjMjQ2YmUyN2FjNTgzNzRkMDU0M2ZcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQzNTQzMTgzMzZcIixcInJ1bl9udW1iZXJcIjpcIjE2N1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCIyY2Q3ZmQ2NDBmZGY1ZDBiNjgzYzI0NmJlMjdhYzU4Mzc0ZDA1NDNmXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIyY2Q3ZmQ2NDBmZGY1ZDBiNjgzYzI0NmJlMjdhYzU4Mzc0ZDA1NDNmXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI3OGI3YjEwNS02Y2VmLTRiN2MtYTk5Mi05ZmZhZjc2YzkxOWUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQxOTIwNDAsImV4cCI6MTc0NDIxNDg0MH0.C8V-lFAGr7nrLv0hgD1EwBfr5QR_GPUECL2DjoU2wJgKtjfNZG48yCTmwlULGYw-XXbStNgN8NujUjGnFU1M4_EzKYlOWN66QpbgxVCKt5B3-7vouv3HpEjoa-8F6lwDDyI8D1RnnLZsZddbJHfjc4KQH2xjnBavWscKuLgf6hSz792Ulf0QNCwl1gFvFbE2lgqmA40njjLN0OOBay7BFLh_sScfhcLBRCpvcXfcHuBOOQlcKfZBs7KLKeBdUdKzvVsUzYGKsQI0uy9ArsOaCaE6g5S0AHGCfVEFbRYvh76dDhr7CVS0jDWBqHPPKi-tUIJJazapbXEKuV4rGN8kSA", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744192683603-0.7869561287915965:/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--1744192683441-0.7444576447394244:/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--1744192683280-0.9084250907098568:/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_ec5cc2e6-9e51-41ac-af4f-6020dc630c46", INVOCATION_ID: "252f9cc21dfa45baa44e9c63d5c7db78", 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: "167", 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 261", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.7-beta.6", 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: "2cd7fd640fdf5d0b683c246be27ac58374d0543f", 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_875f96ff-b9e2-4c7a-bd00-c5bb6de2760b", 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/78b7b105-6cef-4b7c-a992-9ffaf76c919e/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_875f96ff-b9e2-4c7a-bd00-c5bb6de2760b", 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_875f96ff-b9e2-4c7a-bd00-c5bb6de2760b", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
483
485
|
/**
|
484
486
|
* @license
|
485
487
|
* Copyright 2017 Google LLC
|
@@ -496,7 +498,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
496
498
|
* See the License for the specific language governing permissions and
|
497
499
|
* limitations under the License.
|
498
500
|
*/
|
499
|
-
const
|
501
|
+
const jt = function(n) {
|
500
502
|
const e = [];
|
501
503
|
let t = 0;
|
502
504
|
for (let r = 0; r < n.length; r++) {
|
@@ -523,7 +525,7 @@ const Ht = function(n) {
|
|
523
525
|
}
|
524
526
|
}
|
525
527
|
return e.join("");
|
526
|
-
},
|
528
|
+
}, Ht = {
|
527
529
|
/**
|
528
530
|
* Maps bytes to characters.
|
529
531
|
*/
|
@@ -583,8 +585,8 @@ const Ht = function(n) {
|
|
583
585
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
584
586
|
for (let i = 0; i < n.length; i += 3) {
|
585
587
|
const s = n[i], a = i + 1 < n.length, c = a ? n[i + 1] : 0, o = i + 2 < n.length, l = o ? n[i + 2] : 0, d = s >> 2, h = (s & 3) << 4 | c >> 4;
|
586
|
-
let
|
587
|
-
o || (v = 64, a || (
|
588
|
+
let f = (c & 15) << 2 | l >> 6, v = l & 63;
|
589
|
+
o || (v = 64, a || (f = 64)), r.push(t[d], t[h], t[f], t[v]);
|
588
590
|
}
|
589
591
|
return r.join("");
|
590
592
|
},
|
@@ -597,7 +599,7 @@ const Ht = function(n) {
|
|
597
599
|
* @return The base64 encoded string.
|
598
600
|
*/
|
599
601
|
encodeString(n, e) {
|
600
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
602
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(jt(n), e);
|
601
603
|
},
|
602
604
|
/**
|
603
605
|
* Base64-decode a string.
|
@@ -636,8 +638,8 @@ const Ht = function(n) {
|
|
636
638
|
const h = i < n.length ? t[n.charAt(i)] : 64;
|
637
639
|
if (++i, s == null || c == null || l == null || h == null)
|
638
640
|
throw new or();
|
639
|
-
const
|
640
|
-
if (r.push(
|
641
|
+
const f = s << 2 | c >> 4;
|
642
|
+
if (r.push(f), l !== 64) {
|
641
643
|
const v = c << 4 & 240 | l >> 2;
|
642
644
|
if (r.push(v), h !== 64) {
|
643
645
|
const F = l << 6 & 192 | h;
|
@@ -666,13 +668,13 @@ class or extends Error {
|
|
666
668
|
}
|
667
669
|
}
|
668
670
|
const cr = function(n) {
|
669
|
-
const e =
|
670
|
-
return
|
671
|
+
const e = jt(n);
|
672
|
+
return Ht.encodeByteArray(e, !0);
|
671
673
|
}, de = function(n) {
|
672
674
|
return cr(n).replace(/\./g, "");
|
673
675
|
}, Gt = function(n) {
|
674
676
|
try {
|
675
|
-
return
|
677
|
+
return Ht.decodeString(n, !0);
|
676
678
|
} catch (e) {
|
677
679
|
console.error("base64Decode failed: ", e);
|
678
680
|
}
|
@@ -743,11 +745,11 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
743
745
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
744
746
|
return;
|
745
747
|
}
|
746
|
-
},
|
748
|
+
}, Vt = (n) => {
|
747
749
|
var e, t;
|
748
750
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
749
751
|
}, Wa = (n) => {
|
750
|
-
const e =
|
752
|
+
const e = Vt(n);
|
751
753
|
if (!e)
|
752
754
|
return;
|
753
755
|
const t = e.lastIndexOf(":");
|
@@ -859,15 +861,15 @@ function za(n, e) {
|
|
859
861
|
* See the License for the specific language governing permissions and
|
860
862
|
* limitations under the License.
|
861
863
|
*/
|
862
|
-
function
|
864
|
+
function m() {
|
863
865
|
return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
|
864
866
|
}
|
865
|
-
function
|
867
|
+
function fr() {
|
866
868
|
return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
|
867
869
|
// just to deal with this case would probably be a bad idea.
|
868
|
-
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(
|
870
|
+
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(m());
|
869
871
|
}
|
870
|
-
function
|
872
|
+
function mr() {
|
871
873
|
return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
|
872
874
|
}
|
873
875
|
function _r() {
|
@@ -878,7 +880,7 @@ function gr() {
|
|
878
880
|
return typeof navigator == "object" && navigator.product === "ReactNative";
|
879
881
|
}
|
880
882
|
function vr() {
|
881
|
-
const n =
|
883
|
+
const n = m();
|
882
884
|
return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
|
883
885
|
}
|
884
886
|
function Ir() {
|
@@ -938,13 +940,13 @@ class q {
|
|
938
940
|
}
|
939
941
|
}
|
940
942
|
function Er(n, e) {
|
941
|
-
return n.replace(
|
943
|
+
return n.replace(wr, (t, r) => {
|
942
944
|
const i = e[r];
|
943
945
|
return i != null ? String(i) : `<${r}?>`;
|
944
946
|
});
|
945
947
|
}
|
946
|
-
const
|
947
|
-
function
|
948
|
+
const wr = /\{\$([^}]+)}/g;
|
949
|
+
function Tr(n) {
|
948
950
|
for (const e in n)
|
949
951
|
if (Object.prototype.hasOwnProperty.call(n, e))
|
950
952
|
return !1;
|
@@ -1220,7 +1222,7 @@ class Ar {
|
|
1220
1222
|
if (this.component)
|
1221
1223
|
throw Error(`Component for ${this.name} has already been provided`);
|
1222
1224
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
1223
|
-
if (
|
1225
|
+
if (Nr(e))
|
1224
1226
|
try {
|
1225
1227
|
this.getOrInitializeService({ instanceIdentifier: L });
|
1226
1228
|
} catch {
|
@@ -1326,7 +1328,7 @@ class Ar {
|
|
1326
1328
|
function Or(n) {
|
1327
1329
|
return n === L ? void 0 : n;
|
1328
1330
|
}
|
1329
|
-
function
|
1331
|
+
function Nr(n) {
|
1330
1332
|
return n.instantiationMode === "EAGER";
|
1331
1333
|
}
|
1332
1334
|
/**
|
@@ -1345,7 +1347,7 @@ function Cr(n) {
|
|
1345
1347
|
* See the License for the specific language governing permissions and
|
1346
1348
|
* limitations under the License.
|
1347
1349
|
*/
|
1348
|
-
class
|
1350
|
+
class Cr {
|
1349
1351
|
constructor(e) {
|
1350
1352
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
1351
1353
|
}
|
@@ -1426,7 +1428,7 @@ const Dr = {
|
|
1426
1428
|
else
|
1427
1429
|
throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`);
|
1428
1430
|
};
|
1429
|
-
class
|
1431
|
+
class Zt {
|
1430
1432
|
/**
|
1431
1433
|
* Gives you an instance of a Logger to capture messages according to
|
1432
1434
|
* Firebase's logging scheme.
|
@@ -1499,24 +1501,24 @@ function Fr() {
|
|
1499
1501
|
IDBCursor.prototype.continuePrimaryKey
|
1500
1502
|
]);
|
1501
1503
|
}
|
1502
|
-
const
|
1504
|
+
const $t = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap();
|
1503
1505
|
function xr(n) {
|
1504
1506
|
const e = new Promise((t, r) => {
|
1505
1507
|
const i = () => {
|
1506
1508
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
1507
1509
|
}, s = () => {
|
1508
|
-
t(
|
1510
|
+
t(C(n.result)), i();
|
1509
1511
|
}, a = () => {
|
1510
1512
|
r(n.error), i();
|
1511
1513
|
};
|
1512
1514
|
n.addEventListener("success", s), n.addEventListener("error", a);
|
1513
1515
|
});
|
1514
1516
|
return e.then((t) => {
|
1515
|
-
t instanceof IDBCursor &&
|
1517
|
+
t instanceof IDBCursor && $t.set(t, n);
|
1516
1518
|
}).catch(() => {
|
1517
|
-
}),
|
1519
|
+
}), Ze.set(e, n), e;
|
1518
1520
|
}
|
1519
|
-
function
|
1521
|
+
function jr(n) {
|
1520
1522
|
if (Le.has(n))
|
1521
1523
|
return;
|
1522
1524
|
const e = new Promise((t, r) => {
|
@@ -1541,7 +1543,7 @@ let Ue = {
|
|
1541
1543
|
if (e === "store")
|
1542
1544
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1543
1545
|
}
|
1544
|
-
return
|
1546
|
+
return C(n[e]);
|
1545
1547
|
},
|
1546
1548
|
set(n, e, t) {
|
1547
1549
|
return n[e] = t, !0;
|
@@ -1550,35 +1552,35 @@ let Ue = {
|
|
1550
1552
|
return n instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in n;
|
1551
1553
|
}
|
1552
1554
|
};
|
1553
|
-
function
|
1555
|
+
function Hr(n) {
|
1554
1556
|
Ue = n(Ue);
|
1555
1557
|
}
|
1556
1558
|
function Gr(n) {
|
1557
1559
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1558
1560
|
const r = n.call(Ae(this), e, ...t);
|
1559
|
-
return Jt.set(r, e.sort ? e.sort() : [e]),
|
1561
|
+
return Jt.set(r, e.sort ? e.sort() : [e]), C(r);
|
1560
1562
|
} : Fr().includes(n) ? function(...e) {
|
1561
|
-
return n.apply(Ae(this), e),
|
1563
|
+
return n.apply(Ae(this), e), C($t.get(this));
|
1562
1564
|
} : function(...e) {
|
1563
|
-
return
|
1565
|
+
return C(n.apply(Ae(this), e));
|
1564
1566
|
};
|
1565
1567
|
}
|
1566
|
-
function
|
1567
|
-
return typeof n == "function" ? Gr(n) : (n instanceof IDBTransaction &&
|
1568
|
+
function Vr(n) {
|
1569
|
+
return typeof n == "function" ? Gr(n) : (n instanceof IDBTransaction && jr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
|
1568
1570
|
}
|
1569
|
-
function
|
1571
|
+
function C(n) {
|
1570
1572
|
if (n instanceof IDBRequest)
|
1571
1573
|
return xr(n);
|
1572
1574
|
if (Se.has(n))
|
1573
1575
|
return Se.get(n);
|
1574
|
-
const e =
|
1575
|
-
return e !== n && (Se.set(n, e),
|
1576
|
+
const e = Vr(n);
|
1577
|
+
return e !== n && (Se.set(n, e), Ze.set(e, n)), e;
|
1576
1578
|
}
|
1577
|
-
const Ae = (n) =>
|
1579
|
+
const Ae = (n) => Ze.get(n);
|
1578
1580
|
function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1579
|
-
const a = indexedDB.open(n, e), c =
|
1581
|
+
const a = indexedDB.open(n, e), c = C(a);
|
1580
1582
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
1581
|
-
r(
|
1583
|
+
r(C(a.result), o.oldVersion, o.newVersion, C(a.transaction), o);
|
1582
1584
|
}), t && a.addEventListener("blocked", (o) => t(
|
1583
1585
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1584
1586
|
o.oldVersion,
|
@@ -1589,13 +1591,13 @@ function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1589
1591
|
}).catch(() => {
|
1590
1592
|
}), c;
|
1591
1593
|
}
|
1592
|
-
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"],
|
1594
|
+
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], Zr = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
|
1593
1595
|
function ut(n, e) {
|
1594
1596
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
1595
1597
|
return;
|
1596
1598
|
if (Oe.get(e))
|
1597
1599
|
return Oe.get(e);
|
1598
|
-
const t = e.replace(/FromIndex$/, ""), r = e !== t, i =
|
1600
|
+
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = Zr.includes(t);
|
1599
1601
|
if (
|
1600
1602
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
1601
1603
|
!(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || zr.includes(t))
|
@@ -1611,7 +1613,7 @@ function ut(n, e) {
|
|
1611
1613
|
};
|
1612
1614
|
return Oe.set(e, s), s;
|
1613
1615
|
}
|
1614
|
-
|
1616
|
+
Hr((n) => ({
|
1615
1617
|
...n,
|
1616
1618
|
get: (e, t, r) => ut(e, t) || n.get(e, t, r),
|
1617
1619
|
has: (e, t) => !!ut(e, t) || n.has(e, t)
|
@@ -1632,7 +1634,7 @@ Vr((n) => ({
|
|
1632
1634
|
* See the License for the specific language governing permissions and
|
1633
1635
|
* limitations under the License.
|
1634
1636
|
*/
|
1635
|
-
class
|
1637
|
+
class $r {
|
1636
1638
|
constructor(e) {
|
1637
1639
|
this.container = e;
|
1638
1640
|
}
|
@@ -1669,7 +1671,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1669
1671
|
* See the License for the specific language governing permissions and
|
1670
1672
|
* limitations under the License.
|
1671
1673
|
*/
|
1672
|
-
const
|
1674
|
+
const w = new Zt("@firebase/app"), Yr = "@firebase/app-compat", Xr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", fi = "@firebase/remote-config-compat", mi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
|
1673
1675
|
/**
|
1674
1676
|
* @license
|
1675
1677
|
* Copyright 2019 Google LLC
|
@@ -1707,8 +1709,8 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1707
1709
|
[ui]: "fire-perf",
|
1708
1710
|
[hi]: "fire-perf-compat",
|
1709
1711
|
[pi]: "fire-rc",
|
1710
|
-
[
|
1711
|
-
[
|
1712
|
+
[fi]: "fire-rc-compat",
|
1713
|
+
[mi]: "fire-gcs",
|
1712
1714
|
[_i]: "fire-gcs-compat",
|
1713
1715
|
[gi]: "fire-fst",
|
1714
1716
|
[Ii]: "fire-fst-compat",
|
@@ -1732,22 +1734,22 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1732
1734
|
* See the License for the specific language governing permissions and
|
1733
1735
|
* limitations under the License.
|
1734
1736
|
*/
|
1735
|
-
const he = /* @__PURE__ */ new Map(),
|
1737
|
+
const he = /* @__PURE__ */ new Map(), wi = /* @__PURE__ */ new Map(), xe = /* @__PURE__ */ new Map();
|
1736
1738
|
function pt(n, e) {
|
1737
1739
|
try {
|
1738
1740
|
n.container.addComponent(e);
|
1739
1741
|
} catch (t) {
|
1740
|
-
|
1742
|
+
w.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1741
1743
|
}
|
1742
1744
|
}
|
1743
1745
|
function Y(n) {
|
1744
1746
|
const e = n.name;
|
1745
1747
|
if (xe.has(e))
|
1746
|
-
return
|
1748
|
+
return w.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1747
1749
|
xe.set(e, n);
|
1748
1750
|
for (const t of he.values())
|
1749
1751
|
pt(t, n);
|
1750
|
-
for (const t of
|
1752
|
+
for (const t of wi.values())
|
1751
1753
|
pt(t, n);
|
1752
1754
|
return !0;
|
1753
1755
|
}
|
@@ -1774,7 +1776,7 @@ function I(n) {
|
|
1774
1776
|
* See the License for the specific language governing permissions and
|
1775
1777
|
* limitations under the License.
|
1776
1778
|
*/
|
1777
|
-
const
|
1779
|
+
const Ti = {
|
1778
1780
|
"no-app": "No Firebase App '{$appName}' has been created - call initializeApp() first",
|
1779
1781
|
"bad-app-name": "Illegal App name: '{$appName}'",
|
1780
1782
|
"duplicate-app": "Firebase App named '{$appName}' already exists with different options or config",
|
@@ -1789,7 +1791,7 @@ const wi = {
|
|
1789
1791
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
1790
1792
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
1791
1793
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
1792
|
-
}, D = new q("app", "Firebase",
|
1794
|
+
}, D = new q("app", "Firebase", Ti);
|
1793
1795
|
/**
|
1794
1796
|
* @license
|
1795
1797
|
* Copyright 2019 Google LLC
|
@@ -1884,7 +1886,7 @@ function Xt(n, e = {}) {
|
|
1884
1886
|
return s;
|
1885
1887
|
throw D.create("duplicate-app", { appName: i });
|
1886
1888
|
}
|
1887
|
-
const a = new
|
1889
|
+
const a = new Cr(i);
|
1888
1890
|
for (const o of xe.values())
|
1889
1891
|
a.addComponent(o);
|
1890
1892
|
const c = new Ri(t, r, a);
|
@@ -1898,7 +1900,7 @@ function ki(n = Fe) {
|
|
1898
1900
|
throw D.create("no-app", { appName: n });
|
1899
1901
|
return e;
|
1900
1902
|
}
|
1901
|
-
function
|
1903
|
+
function j(n, e, t) {
|
1902
1904
|
var r;
|
1903
1905
|
let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
|
1904
1906
|
t && (i += `-${t}`);
|
@@ -1907,7 +1909,7 @@ function H(n, e, t) {
|
|
1907
1909
|
const c = [
|
1908
1910
|
`Unable to register library "${i}" with version "${e}":`
|
1909
1911
|
];
|
1910
|
-
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`),
|
1912
|
+
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), w.warn(c.join(" "));
|
1911
1913
|
return;
|
1912
1914
|
}
|
1913
1915
|
Y(new W(
|
@@ -1934,9 +1936,9 @@ function H(n, e, t) {
|
|
1934
1936
|
* limitations under the License.
|
1935
1937
|
*/
|
1936
1938
|
const Si = "firebase-heartbeat-database", Ai = 1, X = "firebase-heartbeat-store";
|
1937
|
-
let
|
1939
|
+
let Ne = null;
|
1938
1940
|
function Kt() {
|
1939
|
-
return
|
1941
|
+
return Ne || (Ne = Wr(Si, Ai, {
|
1940
1942
|
upgrade: (n, e) => {
|
1941
1943
|
switch (e) {
|
1942
1944
|
case 0:
|
@@ -1951,7 +1953,7 @@ function Kt() {
|
|
1951
1953
|
throw D.create("idb-open", {
|
1952
1954
|
originalErrorMessage: n.message
|
1953
1955
|
});
|
1954
|
-
})),
|
1956
|
+
})), Ne;
|
1955
1957
|
}
|
1956
1958
|
async function Oi(n) {
|
1957
1959
|
try {
|
@@ -1959,27 +1961,27 @@ async function Oi(n) {
|
|
1959
1961
|
return await t.done, r;
|
1960
1962
|
} catch (e) {
|
1961
1963
|
if (e instanceof M)
|
1962
|
-
|
1964
|
+
w.warn(e.message);
|
1963
1965
|
else {
|
1964
1966
|
const t = D.create("idb-get", {
|
1965
1967
|
originalErrorMessage: e == null ? void 0 : e.message
|
1966
1968
|
});
|
1967
|
-
|
1969
|
+
w.warn(t.message);
|
1968
1970
|
}
|
1969
1971
|
}
|
1970
1972
|
}
|
1971
|
-
async function
|
1973
|
+
async function ft(n, e) {
|
1972
1974
|
try {
|
1973
1975
|
const r = (await Kt()).transaction(X, "readwrite");
|
1974
1976
|
await r.objectStore(X).put(e, qt(n)), await r.done;
|
1975
1977
|
} catch (t) {
|
1976
1978
|
if (t instanceof M)
|
1977
|
-
|
1979
|
+
w.warn(t.message);
|
1978
1980
|
else {
|
1979
1981
|
const r = D.create("idb-set", {
|
1980
1982
|
originalErrorMessage: t == null ? void 0 : t.message
|
1981
1983
|
});
|
1982
|
-
|
1984
|
+
w.warn(r.message);
|
1983
1985
|
}
|
1984
1986
|
}
|
1985
1987
|
}
|
@@ -2002,7 +2004,7 @@ function qt(n) {
|
|
2002
2004
|
* See the License for the specific language governing permissions and
|
2003
2005
|
* limitations under the License.
|
2004
2006
|
*/
|
2005
|
-
const
|
2007
|
+
const Ni = 1024, Ci = 30 * 24 * 60 * 60 * 1e3;
|
2006
2008
|
class Di {
|
2007
2009
|
constructor(e) {
|
2008
2010
|
this.container = e, this._heartbeatsCache = null;
|
@@ -2019,13 +2021,13 @@ class Di {
|
|
2019
2021
|
async triggerHeartbeat() {
|
2020
2022
|
var e, t;
|
2021
2023
|
try {
|
2022
|
-
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s =
|
2024
|
+
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = mt();
|
2023
2025
|
return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((t = this._heartbeatsCache) === null || t === void 0 ? void 0 : t.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === s || this._heartbeatsCache.heartbeats.some((a) => a.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((a) => {
|
2024
2026
|
const c = new Date(a.date).valueOf();
|
2025
|
-
return Date.now() - c <=
|
2027
|
+
return Date.now() - c <= Ci;
|
2026
2028
|
}), this._storage.overwrite(this._heartbeatsCache));
|
2027
2029
|
} catch (r) {
|
2028
|
-
|
2030
|
+
w.warn(r);
|
2029
2031
|
}
|
2030
2032
|
}
|
2031
2033
|
/**
|
@@ -2040,17 +2042,17 @@ class Di {
|
|
2040
2042
|
try {
|
2041
2043
|
if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
|
2042
2044
|
return "";
|
2043
|
-
const t =
|
2045
|
+
const t = mt(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
|
2044
2046
|
return this._heartbeatsCache.lastSentHeartbeatDate = t, i.length > 0 ? (this._heartbeatsCache.heartbeats = i, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), s;
|
2045
2047
|
} catch (t) {
|
2046
|
-
return
|
2048
|
+
return w.warn(t), "";
|
2047
2049
|
}
|
2048
2050
|
}
|
2049
2051
|
}
|
2050
|
-
function
|
2052
|
+
function mt() {
|
2051
2053
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
2052
2054
|
}
|
2053
|
-
function Pi(n, e =
|
2055
|
+
function Pi(n, e = Ni) {
|
2054
2056
|
const t = [];
|
2055
2057
|
let r = n.slice();
|
2056
2058
|
for (const i of n) {
|
@@ -2096,7 +2098,7 @@ class Mi {
|
|
2096
2098
|
var t;
|
2097
2099
|
if (await this._canUseIndexedDBPromise) {
|
2098
2100
|
const i = await this.read();
|
2099
|
-
return
|
2101
|
+
return ft(this.app, {
|
2100
2102
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2101
2103
|
heartbeats: e.heartbeats
|
2102
2104
|
});
|
@@ -2108,7 +2110,7 @@ class Mi {
|
|
2108
2110
|
var t;
|
2109
2111
|
if (await this._canUseIndexedDBPromise) {
|
2110
2112
|
const i = await this.read();
|
2111
|
-
return
|
2113
|
+
return ft(this.app, {
|
2112
2114
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2113
2115
|
heartbeats: [
|
2114
2116
|
...i.heartbeats,
|
@@ -2144,7 +2146,7 @@ function _t(n) {
|
|
2144
2146
|
function Li(n) {
|
2145
2147
|
Y(new W(
|
2146
2148
|
"platform-logger",
|
2147
|
-
(e) => new
|
2149
|
+
(e) => new $r(e),
|
2148
2150
|
"PRIVATE"
|
2149
2151
|
/* ComponentType.PRIVATE */
|
2150
2152
|
)), Y(new W(
|
@@ -2152,7 +2154,7 @@ function Li(n) {
|
|
2152
2154
|
(e) => new Di(e),
|
2153
2155
|
"PRIVATE"
|
2154
2156
|
/* ComponentType.PRIVATE */
|
2155
|
-
)),
|
2157
|
+
)), j(Be, ht, n), j(Be, ht, "esm2017"), j("fire-js", "");
|
2156
2158
|
}
|
2157
2159
|
Li("");
|
2158
2160
|
var Ui = "firebase", Bi = "10.14.1";
|
@@ -2172,7 +2174,7 @@ var Ui = "firebase", Bi = "10.14.1";
|
|
2172
2174
|
* See the License for the specific language governing permissions and
|
2173
2175
|
* limitations under the License.
|
2174
2176
|
*/
|
2175
|
-
|
2177
|
+
j(Ui, Bi, "app");
|
2176
2178
|
var gt = function() {
|
2177
2179
|
return gt = Object.assign || function(e) {
|
2178
2180
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2182,7 +2184,7 @@ var gt = function() {
|
|
2182
2184
|
return e;
|
2183
2185
|
}, gt.apply(this, arguments);
|
2184
2186
|
};
|
2185
|
-
function
|
2187
|
+
function $e(n, e) {
|
2186
2188
|
var t = {};
|
2187
2189
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
|
2188
2190
|
if (n != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -2212,7 +2214,7 @@ const Fi = Qt, en = new q("auth", "Firebase", Qt());
|
|
2212
2214
|
* See the License for the specific language governing permissions and
|
2213
2215
|
* limitations under the License.
|
2214
2216
|
*/
|
2215
|
-
const pe = new
|
2217
|
+
const pe = new Zt("@firebase/auth");
|
2216
2218
|
function xi(n, ...e) {
|
2217
2219
|
pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
|
2218
2220
|
}
|
@@ -2235,7 +2237,7 @@ function se(n, ...e) {
|
|
2235
2237
|
* See the License for the specific language governing permissions and
|
2236
2238
|
* limitations under the License.
|
2237
2239
|
*/
|
2238
|
-
function
|
2240
|
+
function T(n, ...e) {
|
2239
2241
|
throw Je(n, ...e);
|
2240
2242
|
}
|
2241
2243
|
function _(n, ...e) {
|
@@ -2284,11 +2286,11 @@ function R(n, e) {
|
|
2284
2286
|
* See the License for the specific language governing permissions and
|
2285
2287
|
* limitations under the License.
|
2286
2288
|
*/
|
2287
|
-
function
|
2289
|
+
function je() {
|
2288
2290
|
var n;
|
2289
2291
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2290
2292
|
}
|
2291
|
-
function
|
2293
|
+
function ji() {
|
2292
2294
|
return vt() === "http:" || vt() === "https:";
|
2293
2295
|
}
|
2294
2296
|
function vt() {
|
@@ -2311,13 +2313,13 @@ function vt() {
|
|
2311
2313
|
* See the License for the specific language governing permissions and
|
2312
2314
|
* limitations under the License.
|
2313
2315
|
*/
|
2314
|
-
function
|
2316
|
+
function Hi() {
|
2315
2317
|
return typeof navigator < "u" && navigator && "onLine" in navigator && typeof navigator.onLine == "boolean" && // Apply only for traditional web apps and Chrome extensions.
|
2316
2318
|
// This is especially true for Cordova apps which have unreliable
|
2317
2319
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
2318
2320
|
// installed which overwrites the native navigator.onLine value and
|
2319
2321
|
// defines navigator.connection.
|
2320
|
-
(
|
2322
|
+
(ji() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2321
2323
|
}
|
2322
2324
|
function Gi() {
|
2323
2325
|
if (typeof navigator > "u")
|
@@ -2349,10 +2351,10 @@ function Gi() {
|
|
2349
2351
|
*/
|
2350
2352
|
class te {
|
2351
2353
|
constructor(e, t) {
|
2352
|
-
this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile =
|
2354
|
+
this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile = fr() || gr();
|
2353
2355
|
}
|
2354
2356
|
get() {
|
2355
|
-
return
|
2357
|
+
return Hi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
2356
2358
|
}
|
2357
2359
|
}
|
2358
2360
|
/**
|
@@ -2446,7 +2448,7 @@ class nn {
|
|
2446
2448
|
* See the License for the specific language governing permissions and
|
2447
2449
|
* limitations under the License.
|
2448
2450
|
*/
|
2449
|
-
const
|
2451
|
+
const Vi = {
|
2450
2452
|
// Custom token errors.
|
2451
2453
|
CREDENTIAL_MISMATCH: "custom-token-mismatch",
|
2452
2454
|
// This can only happen if the SDK sends a bad request.
|
@@ -2541,7 +2543,7 @@ const Wi = new te(3e4, 6e4);
|
|
2541
2543
|
function ve(n, e) {
|
2542
2544
|
return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
|
2543
2545
|
}
|
2544
|
-
async function
|
2546
|
+
async function Z(n, e, t, r, i = {}) {
|
2545
2547
|
return rn(n, i, async () => {
|
2546
2548
|
let s = {}, a = {};
|
2547
2549
|
r && (e === "GET" ? a = r : s = {
|
@@ -2559,12 +2561,12 @@ async function $(n, e, t, r, i = {}) {
|
|
2559
2561
|
method: e,
|
2560
2562
|
headers: o
|
2561
2563
|
}, s);
|
2562
|
-
return
|
2564
|
+
return mr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
|
2563
2565
|
});
|
2564
2566
|
}
|
2565
2567
|
async function rn(n, e, t) {
|
2566
2568
|
n._canInitEmulator = !1;
|
2567
|
-
const r = Object.assign(Object.assign({},
|
2569
|
+
const r = Object.assign(Object.assign({}, Vi), e);
|
2568
2570
|
try {
|
2569
2571
|
const i = new zi(n), s = await Promise.race([
|
2570
2572
|
t(),
|
@@ -2587,17 +2589,17 @@ async function rn(n, e, t) {
|
|
2587
2589
|
const d = r[o] || o.toLowerCase().replace(/[_\s]+/g, "-");
|
2588
2590
|
if (l)
|
2589
2591
|
throw tn(n, d, l);
|
2590
|
-
|
2592
|
+
T(n, d);
|
2591
2593
|
}
|
2592
2594
|
} catch (i) {
|
2593
2595
|
if (i instanceof M)
|
2594
2596
|
throw i;
|
2595
|
-
|
2597
|
+
T(n, "network-request-failed", { message: String(i) });
|
2596
2598
|
}
|
2597
2599
|
}
|
2598
2600
|
async function sn(n, e, t, r, i = {}) {
|
2599
|
-
const s = await
|
2600
|
-
return "mfaPendingCredential" in s &&
|
2601
|
+
const s = await Z(n, e, t, r, i);
|
2602
|
+
return "mfaPendingCredential" in s && T(n, "multi-factor-auth-required", {
|
2601
2603
|
_serverResponse: s
|
2602
2604
|
}), s;
|
2603
2605
|
}
|
@@ -2643,11 +2645,11 @@ function ie(n, e, t) {
|
|
2643
2645
|
* See the License for the specific language governing permissions and
|
2644
2646
|
* limitations under the License.
|
2645
2647
|
*/
|
2646
|
-
async function
|
2647
|
-
return
|
2648
|
+
async function Zi(n, e) {
|
2649
|
+
return Z(n, "POST", "/v1/accounts:delete", e);
|
2648
2650
|
}
|
2649
2651
|
async function on(n, e) {
|
2650
|
-
return
|
2652
|
+
return Z(n, "POST", "/v1/accounts:lookup", e);
|
2651
2653
|
}
|
2652
2654
|
/**
|
2653
2655
|
* @license
|
@@ -2674,7 +2676,7 @@ function J(n) {
|
|
2674
2676
|
} catch {
|
2675
2677
|
}
|
2676
2678
|
}
|
2677
|
-
async function
|
2679
|
+
async function $i(n, e = !1) {
|
2678
2680
|
const t = z(n), r = await t.getIdToken(e), i = Xe(r);
|
2679
2681
|
u(
|
2680
2682
|
i && i.exp && i.auth_time && i.iat,
|
@@ -2686,14 +2688,14 @@ async function Zi(n, e = !1) {
|
|
2686
2688
|
return {
|
2687
2689
|
claims: i,
|
2688
2690
|
token: r,
|
2689
|
-
authTime: J(
|
2690
|
-
issuedAtTime: J(
|
2691
|
-
expirationTime: J(
|
2691
|
+
authTime: J(Ce(i.auth_time)),
|
2692
|
+
issuedAtTime: J(Ce(i.iat)),
|
2693
|
+
expirationTime: J(Ce(i.exp)),
|
2692
2694
|
signInProvider: a || null,
|
2693
2695
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2694
2696
|
};
|
2695
2697
|
}
|
2696
|
-
function
|
2698
|
+
function Ce(n) {
|
2697
2699
|
return Number(n) * 1e3;
|
2698
2700
|
}
|
2699
2701
|
function Xe(n) {
|
@@ -2829,7 +2831,7 @@ class Yi {
|
|
2829
2831
|
* See the License for the specific language governing permissions and
|
2830
2832
|
* limitations under the License.
|
2831
2833
|
*/
|
2832
|
-
class
|
2834
|
+
class He {
|
2833
2835
|
constructor(e, t) {
|
2834
2836
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2835
2837
|
}
|
@@ -2862,7 +2864,7 @@ class Ve {
|
|
2862
2864
|
* See the License for the specific language governing permissions and
|
2863
2865
|
* limitations under the License.
|
2864
2866
|
*/
|
2865
|
-
async function
|
2867
|
+
async function fe(n) {
|
2866
2868
|
var e;
|
2867
2869
|
const t = n.auth, r = await n.getIdToken(), i = await K(n, on(t, { idToken: r }));
|
2868
2870
|
u(
|
@@ -2882,21 +2884,21 @@ async function me(n) {
|
|
2882
2884
|
phoneNumber: s.phoneNumber || null,
|
2883
2885
|
tenantId: s.tenantId || null,
|
2884
2886
|
providerData: c,
|
2885
|
-
metadata: new
|
2887
|
+
metadata: new He(s.createdAt, s.lastLoginAt),
|
2886
2888
|
isAnonymous: d
|
2887
2889
|
};
|
2888
2890
|
Object.assign(n, h);
|
2889
2891
|
}
|
2890
2892
|
async function Xi(n) {
|
2891
2893
|
const e = z(n);
|
2892
|
-
await
|
2894
|
+
await fe(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
|
2893
2895
|
}
|
2894
2896
|
function Ki(n, e) {
|
2895
2897
|
return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
|
2896
2898
|
}
|
2897
2899
|
function cn(n) {
|
2898
2900
|
return n.map((e) => {
|
2899
|
-
var { providerId: t } = e, r =
|
2901
|
+
var { providerId: t } = e, r = $e(e, ["providerId"]);
|
2900
2902
|
return {
|
2901
2903
|
providerId: t,
|
2902
2904
|
uid: r.rawId || "",
|
@@ -2945,7 +2947,7 @@ async function qi(n, e) {
|
|
2945
2947
|
};
|
2946
2948
|
}
|
2947
2949
|
async function Qi(n, e) {
|
2948
|
-
return
|
2950
|
+
return Z(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
|
2949
2951
|
}
|
2950
2952
|
/**
|
2951
2953
|
* @license
|
@@ -2963,7 +2965,7 @@ async function Qi(n, e) {
|
|
2963
2965
|
* See the License for the specific language governing permissions and
|
2964
2966
|
* limitations under the License.
|
2965
2967
|
*/
|
2966
|
-
class
|
2968
|
+
class H {
|
2967
2969
|
constructor() {
|
2968
2970
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2969
2971
|
}
|
@@ -3015,7 +3017,7 @@ class V {
|
|
3015
3017
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
3016
3018
|
}
|
3017
3019
|
static fromJSON(e, t) {
|
3018
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new
|
3020
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new H();
|
3019
3021
|
return r && (u(typeof r == "string", "internal-error", {
|
3020
3022
|
appName: e
|
3021
3023
|
}), a.refreshToken = r), i && (u(typeof i == "string", "internal-error", {
|
@@ -3035,7 +3037,7 @@ class V {
|
|
3035
3037
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
3036
3038
|
}
|
3037
3039
|
_clone() {
|
3038
|
-
return Object.assign(new
|
3040
|
+
return Object.assign(new H(), this.toJSON());
|
3039
3041
|
}
|
3040
3042
|
_performRefresh() {
|
3041
3043
|
return b("not implemented");
|
@@ -3062,8 +3064,8 @@ function k(n, e) {
|
|
3062
3064
|
}
|
3063
3065
|
class y {
|
3064
3066
|
constructor(e) {
|
3065
|
-
var { uid: t, auth: r, stsTokenManager: i } = e, s =
|
3066
|
-
this.providerId = "firebase", this.proactiveRefresh = new Yi(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new
|
3067
|
+
var { uid: t, auth: r, stsTokenManager: i } = e, s = $e(e, ["uid", "auth", "stsTokenManager"]);
|
3068
|
+
this.providerId = "firebase", this.proactiveRefresh = new Yi(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new He(s.createdAt || void 0, s.lastLoginAt || void 0);
|
3067
3069
|
}
|
3068
3070
|
async getIdToken(e) {
|
3069
3071
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3075,7 +3077,7 @@ class y {
|
|
3075
3077
|
), this.accessToken !== t && (this.accessToken = t, await this.auth._persistUserIfCurrent(this), this.auth._notifyListenersIfCurrent(this)), t;
|
3076
3078
|
}
|
3077
3079
|
getIdTokenResult(e) {
|
3078
|
-
return
|
3080
|
+
return $i(this, e);
|
3079
3081
|
}
|
3080
3082
|
reload() {
|
3081
3083
|
return Xi(this);
|
@@ -3111,13 +3113,13 @@ class y {
|
|
3111
3113
|
}
|
3112
3114
|
async _updateTokensIfNecessary(e, t = !1) {
|
3113
3115
|
let r = !1;
|
3114
|
-
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await
|
3116
|
+
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await fe(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
|
3115
3117
|
}
|
3116
3118
|
async delete() {
|
3117
3119
|
if (I(this.auth.app))
|
3118
3120
|
return Promise.reject(P(this.auth));
|
3119
3121
|
const e = await this.getIdToken();
|
3120
|
-
return await K(this,
|
3122
|
+
return await K(this, Zi(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
3121
3123
|
}
|
3122
3124
|
toJSON() {
|
3123
3125
|
return Object.assign(Object.assign({
|
@@ -3145,20 +3147,20 @@ class y {
|
|
3145
3147
|
}
|
3146
3148
|
static _fromJSON(e, t) {
|
3147
3149
|
var r, i, s, a, c, o, l, d;
|
3148
|
-
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0,
|
3150
|
+
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, f = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: we, emailVerified: it, isAnonymous: st, providerData: Te, stsTokenManager: at } = t;
|
3149
3151
|
u(
|
3150
|
-
|
3152
|
+
we && at,
|
3151
3153
|
e,
|
3152
3154
|
"internal-error"
|
3153
3155
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3154
3156
|
);
|
3155
|
-
const Pn =
|
3157
|
+
const Pn = H.fromJSON(this.name, at);
|
3156
3158
|
u(
|
3157
|
-
typeof
|
3159
|
+
typeof we == "string",
|
3158
3160
|
e,
|
3159
3161
|
"internal-error"
|
3160
3162
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3161
|
-
), k(h, e.name), k(
|
3163
|
+
), k(h, e.name), k(f, e.name), u(
|
3162
3164
|
typeof it == "boolean",
|
3163
3165
|
e,
|
3164
3166
|
"internal-error"
|
@@ -3170,9 +3172,9 @@ class y {
|
|
3170
3172
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3171
3173
|
), k(v, e.name), k(F, e.name), k(tt, e.name), k(Ee, e.name), k(nt, e.name), k(rt, e.name);
|
3172
3174
|
const Re = new y({
|
3173
|
-
uid:
|
3175
|
+
uid: we,
|
3174
3176
|
auth: e,
|
3175
|
-
email:
|
3177
|
+
email: f,
|
3176
3178
|
emailVerified: it,
|
3177
3179
|
displayName: h,
|
3178
3180
|
isAnonymous: st,
|
@@ -3183,7 +3185,7 @@ class y {
|
|
3183
3185
|
createdAt: nt,
|
3184
3186
|
lastLoginAt: rt
|
3185
3187
|
});
|
3186
|
-
return
|
3188
|
+
return Te && Array.isArray(Te) && (Re.providerData = Te.map((Mn) => Object.assign({}, Mn))), Ee && (Re._redirectEventId = Ee), Re;
|
3187
3189
|
}
|
3188
3190
|
/**
|
3189
3191
|
* Initialize a User from an idToken server response
|
@@ -3191,7 +3193,7 @@ class y {
|
|
3191
3193
|
* @param idTokenResponse
|
3192
3194
|
*/
|
3193
3195
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
3194
|
-
const i = new
|
3196
|
+
const i = new H();
|
3195
3197
|
i.updateFromServerResponse(t);
|
3196
3198
|
const s = new y({
|
3197
3199
|
uid: t.localId,
|
@@ -3199,7 +3201,7 @@ class y {
|
|
3199
3201
|
stsTokenManager: i,
|
3200
3202
|
isAnonymous: r
|
3201
3203
|
});
|
3202
|
-
return await
|
3204
|
+
return await fe(s), s;
|
3203
3205
|
}
|
3204
3206
|
/**
|
3205
3207
|
* Initialize a User from an idToken server response
|
@@ -3213,7 +3215,7 @@ class y {
|
|
3213
3215
|
"internal-error"
|
3214
3216
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3215
3217
|
);
|
3216
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new
|
3218
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new H();
|
3217
3219
|
c.updateFromIdToken(r);
|
3218
3220
|
const o = new y({
|
3219
3221
|
uid: i.localId,
|
@@ -3229,7 +3231,7 @@ class y {
|
|
3229
3231
|
phoneNumber: i.phoneNumber || null,
|
3230
3232
|
tenantId: i.tenantId || null,
|
3231
3233
|
providerData: s,
|
3232
|
-
metadata: new
|
3234
|
+
metadata: new He(i.createdAt, i.lastLoginAt),
|
3233
3235
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
3234
3236
|
};
|
3235
3237
|
return Object.assign(o, l), o;
|
@@ -3405,7 +3407,7 @@ function Et(n) {
|
|
3405
3407
|
return "Firefox";
|
3406
3408
|
if (e.includes("silk/"))
|
3407
3409
|
return "Silk";
|
3408
|
-
if (
|
3410
|
+
if (mn(e))
|
3409
3411
|
return "Blackberry";
|
3410
3412
|
if (_n(e))
|
3411
3413
|
return "Webos";
|
@@ -3413,7 +3415,7 @@ function Et(n) {
|
|
3413
3415
|
return "Safari";
|
3414
3416
|
if ((e.includes("chrome/") || hn(e)) && !e.includes("edge/"))
|
3415
3417
|
return "Chrome";
|
3416
|
-
if (
|
3418
|
+
if (fn(e))
|
3417
3419
|
return "Android";
|
3418
3420
|
{
|
3419
3421
|
const t = /([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/, r = n.match(t);
|
@@ -3422,40 +3424,40 @@ function Et(n) {
|
|
3422
3424
|
}
|
3423
3425
|
return "Other";
|
3424
3426
|
}
|
3425
|
-
function dn(n =
|
3427
|
+
function dn(n = m()) {
|
3426
3428
|
return /firefox\//i.test(n);
|
3427
3429
|
}
|
3428
|
-
function un(n =
|
3430
|
+
function un(n = m()) {
|
3429
3431
|
const e = n.toLowerCase();
|
3430
3432
|
return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
|
3431
3433
|
}
|
3432
|
-
function hn(n =
|
3434
|
+
function hn(n = m()) {
|
3433
3435
|
return /crios\//i.test(n);
|
3434
3436
|
}
|
3435
|
-
function pn(n =
|
3437
|
+
function pn(n = m()) {
|
3436
3438
|
return /iemobile/i.test(n);
|
3437
3439
|
}
|
3438
|
-
function
|
3440
|
+
function fn(n = m()) {
|
3439
3441
|
return /android/i.test(n);
|
3440
3442
|
}
|
3441
|
-
function
|
3443
|
+
function mn(n = m()) {
|
3442
3444
|
return /blackberry/i.test(n);
|
3443
3445
|
}
|
3444
|
-
function _n(n =
|
3446
|
+
function _n(n = m()) {
|
3445
3447
|
return /webos/i.test(n);
|
3446
3448
|
}
|
3447
|
-
function Ke(n =
|
3449
|
+
function Ke(n = m()) {
|
3448
3450
|
return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
|
3449
3451
|
}
|
3450
|
-
function es(n =
|
3452
|
+
function es(n = m()) {
|
3451
3453
|
var e;
|
3452
3454
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3453
3455
|
}
|
3454
3456
|
function ts() {
|
3455
3457
|
return vr() && document.documentMode === 10;
|
3456
3458
|
}
|
3457
|
-
function gn(n =
|
3458
|
-
return Ke(n) ||
|
3459
|
+
function gn(n = m()) {
|
3460
|
+
return Ke(n) || fn(n) || _n(n) || mn(n) || /windows phone/i.test(n) || pn(n);
|
3459
3461
|
}
|
3460
3462
|
/**
|
3461
3463
|
* @license
|
@@ -3477,10 +3479,10 @@ function vn(n, e = []) {
|
|
3477
3479
|
let t;
|
3478
3480
|
switch (n) {
|
3479
3481
|
case "Browser":
|
3480
|
-
t = Et(
|
3482
|
+
t = Et(m());
|
3481
3483
|
break;
|
3482
3484
|
case "Worker":
|
3483
|
-
t = `${Et(
|
3485
|
+
t = `${Et(m())}-${n}`;
|
3484
3486
|
break;
|
3485
3487
|
default:
|
3486
3488
|
t = n;
|
@@ -3560,7 +3562,7 @@ class ns {
|
|
3560
3562
|
* limitations under the License.
|
3561
3563
|
*/
|
3562
3564
|
async function rs(n, e = {}) {
|
3563
|
-
return
|
3565
|
+
return Z(n, "GET", "/v2/passwordPolicy", ve(n, e));
|
3564
3566
|
}
|
3565
3567
|
/**
|
3566
3568
|
* @license
|
@@ -3668,7 +3670,7 @@ class ss {
|
|
3668
3670
|
*/
|
3669
3671
|
class as {
|
3670
3672
|
constructor(e, t, r, i) {
|
3671
|
-
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new
|
3673
|
+
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new wt(this), this.idTokenSubscription = new wt(this), this.beforeStateQueue = new ns(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = en, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = i.sdkClientVersion;
|
3672
3674
|
}
|
3673
3675
|
_initializeWithPersistence(e, t) {
|
3674
3676
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
@@ -3754,7 +3756,7 @@ class as {
|
|
3754
3756
|
}
|
3755
3757
|
async reloadAndSetCurrentUserOrClear(e) {
|
3756
3758
|
try {
|
3757
|
-
await
|
3759
|
+
await fe(e);
|
3758
3760
|
} catch (t) {
|
3759
3761
|
if ((t == null ? void 0 : t.code) !== "auth/network-request-failed")
|
3760
3762
|
return this.directlySetCurrentUser(null);
|
@@ -4002,7 +4004,7 @@ class as {
|
|
4002
4004
|
function Ie(n) {
|
4003
4005
|
return z(n);
|
4004
4006
|
}
|
4005
|
-
class
|
4007
|
+
class wt {
|
4006
4008
|
constructor(e) {
|
4007
4009
|
this.auth = e, this.observer = null, this.addObserver = Rr((t) => this.observer = t);
|
4008
4010
|
}
|
@@ -4073,7 +4075,7 @@ function us(n, e) {
|
|
4073
4075
|
const i = t.getImmediate(), s = t.getOptions();
|
4074
4076
|
if (ue(s, e ?? {}))
|
4075
4077
|
return i;
|
4076
|
-
|
4078
|
+
T(
|
4077
4079
|
i,
|
4078
4080
|
"already-initialized"
|
4079
4081
|
/* AuthErrorCode.ALREADY_INITIALIZED */
|
@@ -4098,38 +4100,38 @@ function ps(n, e, t) {
|
|
4098
4100
|
"invalid-emulator-scheme"
|
4099
4101
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4100
4102
|
);
|
4101
|
-
const i = !1, s = In(e), { host: a, port: c } =
|
4103
|
+
const i = !1, s = In(e), { host: a, port: c } = fs(e), o = c === null ? "" : `:${c}`;
|
4102
4104
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4103
4105
|
host: a,
|
4104
4106
|
port: c,
|
4105
4107
|
protocol: s.replace(":", ""),
|
4106
4108
|
options: Object.freeze({ disableWarnings: i })
|
4107
|
-
}),
|
4109
|
+
}), ms();
|
4108
4110
|
}
|
4109
4111
|
function In(n) {
|
4110
4112
|
const e = n.indexOf(":");
|
4111
4113
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4112
4114
|
}
|
4113
|
-
function
|
4115
|
+
function fs(n) {
|
4114
4116
|
const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4115
4117
|
if (!t)
|
4116
4118
|
return { host: "", port: null };
|
4117
4119
|
const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
|
4118
4120
|
if (i) {
|
4119
4121
|
const s = i[1];
|
4120
|
-
return { host: s, port:
|
4122
|
+
return { host: s, port: Tt(r.substr(s.length + 1)) };
|
4121
4123
|
} else {
|
4122
4124
|
const [s, a] = r.split(":");
|
4123
|
-
return { host: s, port:
|
4125
|
+
return { host: s, port: Tt(a) };
|
4124
4126
|
}
|
4125
4127
|
}
|
4126
|
-
function
|
4128
|
+
function Tt(n) {
|
4127
4129
|
if (!n)
|
4128
4130
|
return null;
|
4129
4131
|
const e = Number(n);
|
4130
4132
|
return isNaN(e) ? null : e;
|
4131
4133
|
}
|
4132
|
-
function
|
4134
|
+
function ms() {
|
4133
4135
|
function n() {
|
4134
4136
|
const e = document.createElement("p"), t = e.style;
|
4135
4137
|
e.innerText = "Running in emulator mode. Do not use with production credentials.", t.position = "fixed", t.width = "100%", t.backgroundColor = "#ffffff", t.border = ".1em solid #000000", t.color = "#b50000", t.bottom = "0px", t.left = "0px", t.margin = "0px", t.zIndex = "10000", t.textAlign = "center", e.classList.add("firebase-emulator-warning"), document.body.appendChild(e);
|
@@ -4194,7 +4196,7 @@ class bn {
|
|
4194
4196
|
* See the License for the specific language governing permissions and
|
4195
4197
|
* limitations under the License.
|
4196
4198
|
*/
|
4197
|
-
async function
|
4199
|
+
async function V(n, e) {
|
4198
4200
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ve(n, e));
|
4199
4201
|
}
|
4200
4202
|
/**
|
@@ -4221,7 +4223,7 @@ class U extends bn {
|
|
4221
4223
|
/** @internal */
|
4222
4224
|
static _fromParams(e) {
|
4223
4225
|
const t = new U(e.providerId, e.signInMethod);
|
4224
|
-
return e.idToken || e.accessToken ? (e.idToken && (t.idToken = e.idToken), e.accessToken && (t.accessToken = e.accessToken), e.nonce && !e.pendingToken && (t.nonce = e.nonce), e.pendingToken && (t.pendingToken = e.pendingToken)) : e.oauthToken && e.oauthTokenSecret ? (t.accessToken = e.oauthToken, t.secret = e.oauthTokenSecret) :
|
4226
|
+
return e.idToken || e.accessToken ? (e.idToken && (t.idToken = e.idToken), e.accessToken && (t.accessToken = e.accessToken), e.nonce && !e.pendingToken && (t.nonce = e.nonce), e.pendingToken && (t.pendingToken = e.pendingToken)) : e.oauthToken && e.oauthTokenSecret ? (t.accessToken = e.oauthToken, t.secret = e.oauthTokenSecret) : T(
|
4225
4227
|
"argument-error"
|
4226
4228
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
4227
4229
|
), t;
|
@@ -4248,7 +4250,7 @@ class U extends bn {
|
|
4248
4250
|
* @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
|
4249
4251
|
*/
|
4250
4252
|
static fromJSON(e) {
|
4251
|
-
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s =
|
4253
|
+
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = $e(t, ["providerId", "signInMethod"]);
|
4252
4254
|
if (!r || !i)
|
4253
4255
|
return null;
|
4254
4256
|
const a = new U(r, i);
|
@@ -4257,17 +4259,17 @@ class U extends bn {
|
|
4257
4259
|
/** @internal */
|
4258
4260
|
_getIdTokenResponse(e) {
|
4259
4261
|
const t = this.buildRequest();
|
4260
|
-
return
|
4262
|
+
return V(e, t);
|
4261
4263
|
}
|
4262
4264
|
/** @internal */
|
4263
4265
|
_linkToIdToken(e, t) {
|
4264
4266
|
const r = this.buildRequest();
|
4265
|
-
return r.idToken = t,
|
4267
|
+
return r.idToken = t, V(e, r);
|
4266
4268
|
}
|
4267
4269
|
/** @internal */
|
4268
4270
|
_getReauthenticationResolver(e) {
|
4269
4271
|
const t = this.buildRequest();
|
4270
|
-
return t.autoCreate = !1,
|
4272
|
+
return t.autoCreate = !1, V(e, t);
|
4271
4273
|
}
|
4272
4274
|
buildRequest() {
|
4273
4275
|
const e = {
|
@@ -4598,7 +4600,7 @@ O.PROVIDER_ID = "github.com";
|
|
4598
4600
|
* See the License for the specific language governing permissions and
|
4599
4601
|
* limitations under the License.
|
4600
4602
|
*/
|
4601
|
-
class
|
4603
|
+
class N extends ne {
|
4602
4604
|
constructor() {
|
4603
4605
|
super(
|
4604
4606
|
"twitter.com"
|
@@ -4613,8 +4615,8 @@ class C extends ne {
|
|
4613
4615
|
*/
|
4614
4616
|
static credential(e, t) {
|
4615
4617
|
return U._fromParams({
|
4616
|
-
providerId:
|
4617
|
-
signInMethod:
|
4618
|
+
providerId: N.PROVIDER_ID,
|
4619
|
+
signInMethod: N.TWITTER_SIGN_IN_METHOD,
|
4618
4620
|
oauthToken: e,
|
4619
4621
|
oauthTokenSecret: t
|
4620
4622
|
});
|
@@ -4625,7 +4627,7 @@ class C extends ne {
|
|
4625
4627
|
* @param userCredential - The user credential.
|
4626
4628
|
*/
|
4627
4629
|
static credentialFromResult(e) {
|
4628
|
-
return
|
4630
|
+
return N.credentialFromTaggedObject(e);
|
4629
4631
|
}
|
4630
4632
|
/**
|
4631
4633
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4634,7 +4636,7 @@ class C extends ne {
|
|
4634
4636
|
* @param userCredential - The user credential.
|
4635
4637
|
*/
|
4636
4638
|
static credentialFromError(e) {
|
4637
|
-
return
|
4639
|
+
return N.credentialFromTaggedObject(e.customData || {});
|
4638
4640
|
}
|
4639
4641
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4640
4642
|
if (!e)
|
@@ -4643,14 +4645,14 @@ class C extends ne {
|
|
4643
4645
|
if (!t || !r)
|
4644
4646
|
return null;
|
4645
4647
|
try {
|
4646
|
-
return
|
4648
|
+
return N.credential(t, r);
|
4647
4649
|
} catch {
|
4648
4650
|
return null;
|
4649
4651
|
}
|
4650
4652
|
}
|
4651
4653
|
}
|
4652
|
-
|
4653
|
-
|
4654
|
+
N.TWITTER_SIGN_IN_METHOD = "twitter.com";
|
4655
|
+
N.PROVIDER_ID = "twitter.com";
|
4654
4656
|
/**
|
4655
4657
|
* @license
|
4656
4658
|
* Copyright 2020 Google LLC
|
@@ -4714,10 +4716,10 @@ function Rt(n) {
|
|
4714
4716
|
* See the License for the specific language governing permissions and
|
4715
4717
|
* limitations under the License.
|
4716
4718
|
*/
|
4717
|
-
class
|
4719
|
+
class me extends M {
|
4718
4720
|
constructor(e, t, r, i) {
|
4719
4721
|
var s;
|
4720
|
-
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this,
|
4722
|
+
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, me.prototype), this.customData = {
|
4721
4723
|
appName: e.name,
|
4722
4724
|
tenantId: (s = e.tenantId) !== null && s !== void 0 ? s : void 0,
|
4723
4725
|
_serverResponse: t.customData._serverResponse,
|
@@ -4725,12 +4727,12 @@ class fe extends M {
|
|
4725
4727
|
};
|
4726
4728
|
}
|
4727
4729
|
static _fromErrorAndOperation(e, t, r, i) {
|
4728
|
-
return new
|
4730
|
+
return new me(e, t, r, i);
|
4729
4731
|
}
|
4730
4732
|
}
|
4731
4733
|
function En(n, e, t, r) {
|
4732
4734
|
return (e === "reauthenticate" ? t._getReauthenticationResolver(n) : t._getIdTokenResponse(n)).catch((s) => {
|
4733
|
-
throw s.code === "auth/multi-factor-auth-required" ?
|
4735
|
+
throw s.code === "auth/multi-factor-auth-required" ? me._fromErrorAndOperation(n, s, e, r) : s;
|
4734
4736
|
});
|
4735
4737
|
}
|
4736
4738
|
async function gs(n, e, t = !1) {
|
@@ -4781,7 +4783,7 @@ async function vs(n, e, t = !1) {
|
|
4781
4783
|
/* AuthErrorCode.USER_MISMATCH */
|
4782
4784
|
), B._forOperation(n, i, s);
|
4783
4785
|
} catch (s) {
|
4784
|
-
throw (s == null ? void 0 : s.code) === "auth/user-not-found" &&
|
4786
|
+
throw (s == null ? void 0 : s.code) === "auth/user-not-found" && T(
|
4785
4787
|
r,
|
4786
4788
|
"user-mismatch"
|
4787
4789
|
/* AuthErrorCode.USER_MISMATCH */
|
@@ -4857,7 +4859,7 @@ async function ys(n, e) {
|
|
4857
4859
|
function Es(n, e, t, r) {
|
4858
4860
|
return z(n).onIdTokenChanged(e, t, r);
|
4859
4861
|
}
|
4860
|
-
function
|
4862
|
+
function ws(n, e, t) {
|
4861
4863
|
return z(n).beforeAuthStateChanged(e, t);
|
4862
4864
|
}
|
4863
4865
|
const _e = "__sak";
|
@@ -4877,7 +4879,7 @@ const _e = "__sak";
|
|
4877
4879
|
* See the License for the specific language governing permissions and
|
4878
4880
|
* limitations under the License.
|
4879
4881
|
*/
|
4880
|
-
class
|
4882
|
+
class wn {
|
4881
4883
|
constructor(e, t) {
|
4882
4884
|
this.storageRetriever = e, this.type = t;
|
4883
4885
|
}
|
@@ -4918,8 +4920,8 @@ class Tn {
|
|
4918
4920
|
* See the License for the specific language governing permissions and
|
4919
4921
|
* limitations under the License.
|
4920
4922
|
*/
|
4921
|
-
const
|
4922
|
-
class
|
4923
|
+
const Ts = 1e3, Rs = 10;
|
4924
|
+
class Tn extends wn {
|
4923
4925
|
constructor() {
|
4924
4926
|
super(
|
4925
4927
|
() => window.localStorage,
|
@@ -4968,7 +4970,7 @@ class wn extends Tn {
|
|
4968
4970
|
!0
|
4969
4971
|
);
|
4970
4972
|
});
|
4971
|
-
},
|
4973
|
+
}, Ts);
|
4972
4974
|
}
|
4973
4975
|
stopPolling() {
|
4974
4976
|
this.pollTimer && (clearInterval(this.pollTimer), this.pollTimer = null);
|
@@ -4997,8 +4999,8 @@ class wn extends Tn {
|
|
4997
4999
|
await super._remove(e), delete this.localCache[e];
|
4998
5000
|
}
|
4999
5001
|
}
|
5000
|
-
|
5001
|
-
const ks =
|
5002
|
+
Tn.type = "LOCAL";
|
5003
|
+
const ks = Tn;
|
5002
5004
|
/**
|
5003
5005
|
* @license
|
5004
5006
|
* Copyright 2020 Google LLC
|
@@ -5015,7 +5017,7 @@ const ks = wn;
|
|
5015
5017
|
* See the License for the specific language governing permissions and
|
5016
5018
|
* limitations under the License.
|
5017
5019
|
*/
|
5018
|
-
class Rn extends
|
5020
|
+
class Rn extends wn {
|
5019
5021
|
constructor() {
|
5020
5022
|
super(
|
5021
5023
|
() => window.sessionStorage,
|
@@ -5229,9 +5231,9 @@ class As {
|
|
5229
5231
|
a = {
|
5230
5232
|
messageChannel: i,
|
5231
5233
|
onMessage(h) {
|
5232
|
-
const
|
5233
|
-
if (
|
5234
|
-
switch (
|
5234
|
+
const f = h;
|
5235
|
+
if (f.data.eventId === l)
|
5236
|
+
switch (f.data.status) {
|
5235
5237
|
case "ack":
|
5236
5238
|
clearTimeout(d), s = setTimeout(
|
5237
5239
|
() => {
|
@@ -5245,7 +5247,7 @@ class As {
|
|
5245
5247
|
);
|
5246
5248
|
break;
|
5247
5249
|
case "done":
|
5248
|
-
clearTimeout(s), c(
|
5250
|
+
clearTimeout(s), c(f.data.response);
|
5249
5251
|
break;
|
5250
5252
|
default:
|
5251
5253
|
clearTimeout(d), clearTimeout(s), o(new Error(
|
@@ -5306,7 +5308,7 @@ function Os(n) {
|
|
5306
5308
|
function Sn() {
|
5307
5309
|
return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
|
5308
5310
|
}
|
5309
|
-
async function
|
5311
|
+
async function Ns() {
|
5310
5312
|
if (!(navigator != null && navigator.serviceWorker))
|
5311
5313
|
return null;
|
5312
5314
|
try {
|
@@ -5315,7 +5317,7 @@ async function Cs() {
|
|
5315
5317
|
return null;
|
5316
5318
|
}
|
5317
5319
|
}
|
5318
|
-
function
|
5320
|
+
function Cs() {
|
5319
5321
|
var n;
|
5320
5322
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
5321
5323
|
}
|
@@ -5394,7 +5396,7 @@ function St(n, e) {
|
|
5394
5396
|
return new re(t).toPromise();
|
5395
5397
|
}
|
5396
5398
|
const Us = 800, Bs = 3;
|
5397
|
-
class
|
5399
|
+
class Nn {
|
5398
5400
|
constructor() {
|
5399
5401
|
this.type = "LOCAL", this._shouldAllowMigration = !0, this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.pendingWrites = 0, this.receiver = null, this.sender = null, this.serviceWorkerReceiverAvailable = !1, this.activeServiceWorker = null, this._workerInitializationPromise = this.initializeServiceWorkerMessaging().then(() => {
|
5400
5402
|
}, () => {
|
@@ -5442,7 +5444,7 @@ class Cn {
|
|
5442
5444
|
*/
|
5443
5445
|
async initializeSender() {
|
5444
5446
|
var e, t;
|
5445
|
-
if (this.activeServiceWorker = await
|
5447
|
+
if (this.activeServiceWorker = await Ns(), !this.activeServiceWorker)
|
5446
5448
|
return;
|
5447
5449
|
this.sender = new As(this.activeServiceWorker);
|
5448
5450
|
const r = await this.sender._send(
|
@@ -5466,7 +5468,7 @@ class Cn {
|
|
5466
5468
|
* @param key - Storage key which changed.
|
5467
5469
|
*/
|
5468
5470
|
async notifyServiceWorker(e) {
|
5469
|
-
if (!(!this.sender || !this.activeServiceWorker ||
|
5471
|
+
if (!(!this.sender || !this.activeServiceWorker || Cs() !== this.activeServiceWorker))
|
5470
5472
|
try {
|
5471
5473
|
await this.sender._send(
|
5472
5474
|
"keyChanged",
|
@@ -5543,8 +5545,8 @@ class Cn {
|
|
5543
5545
|
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();
|
5544
5546
|
}
|
5545
5547
|
}
|
5546
|
-
|
5547
|
-
const Fs =
|
5548
|
+
Nn.type = "LOCAL";
|
5549
|
+
const Fs = Nn;
|
5548
5550
|
new te(3e4, 6e4);
|
5549
5551
|
/**
|
5550
5552
|
* @license
|
@@ -5595,13 +5597,13 @@ class et extends bn {
|
|
5595
5597
|
), this.params = e;
|
5596
5598
|
}
|
5597
5599
|
_getIdTokenResponse(e) {
|
5598
|
-
return
|
5600
|
+
return V(e, this._buildIdpRequest());
|
5599
5601
|
}
|
5600
5602
|
_linkToIdToken(e, t) {
|
5601
|
-
return
|
5603
|
+
return V(e, this._buildIdpRequest(t));
|
5602
5604
|
}
|
5603
5605
|
_getReauthenticationResolver(e) {
|
5604
|
-
return
|
5606
|
+
return V(e, this._buildIdpRequest());
|
5605
5607
|
}
|
5606
5608
|
_buildIdpRequest(e) {
|
5607
5609
|
const t = {
|
@@ -5616,10 +5618,10 @@ class et extends bn {
|
|
5616
5618
|
return e && (t.idToken = e), t;
|
5617
5619
|
}
|
5618
5620
|
}
|
5619
|
-
function
|
5621
|
+
function js(n) {
|
5620
5622
|
return Is(n.auth, new et(n), n.bypassAuthState);
|
5621
5623
|
}
|
5622
|
-
function
|
5624
|
+
function Hs(n) {
|
5623
5625
|
const { auth: e, user: t } = n;
|
5624
5626
|
return u(
|
5625
5627
|
t,
|
@@ -5653,7 +5655,7 @@ async function Gs(n) {
|
|
5653
5655
|
* See the License for the specific language governing permissions and
|
5654
5656
|
* limitations under the License.
|
5655
5657
|
*/
|
5656
|
-
class
|
5658
|
+
class Cn {
|
5657
5659
|
constructor(e, t, r, i, s = !1) {
|
5658
5660
|
this.auth = e, this.resolver = r, this.user = i, this.bypassAuthState = s, this.pendingPromise = null, this.eventManager = null, this.filter = Array.isArray(t) ? t : [t];
|
5659
5661
|
}
|
@@ -5695,15 +5697,15 @@ class Nn {
|
|
5695
5697
|
switch (e) {
|
5696
5698
|
case "signInViaPopup":
|
5697
5699
|
case "signInViaRedirect":
|
5698
|
-
return
|
5700
|
+
return js;
|
5699
5701
|
case "linkViaPopup":
|
5700
5702
|
case "linkViaRedirect":
|
5701
5703
|
return Gs;
|
5702
5704
|
case "reauthViaPopup":
|
5703
5705
|
case "reauthViaRedirect":
|
5704
|
-
return
|
5706
|
+
return Hs;
|
5705
5707
|
default:
|
5706
|
-
|
5708
|
+
T(
|
5707
5709
|
this.auth,
|
5708
5710
|
"internal-error"
|
5709
5711
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -5736,8 +5738,8 @@ class Nn {
|
|
5736
5738
|
* See the License for the specific language governing permissions and
|
5737
5739
|
* limitations under the License.
|
5738
5740
|
*/
|
5739
|
-
const
|
5740
|
-
class x extends
|
5741
|
+
const Vs = new te(2e3, 1e4);
|
5742
|
+
class x extends Cn {
|
5741
5743
|
constructor(e, t, r, i, s) {
|
5742
5744
|
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
|
5743
5745
|
}
|
@@ -5800,7 +5802,7 @@ class x extends Nn {
|
|
5800
5802
|
);
|
5801
5803
|
return;
|
5802
5804
|
}
|
5803
|
-
this.pollId = window.setTimeout(e,
|
5805
|
+
this.pollId = window.setTimeout(e, Vs.get());
|
5804
5806
|
};
|
5805
5807
|
e();
|
5806
5808
|
}
|
@@ -5823,7 +5825,7 @@ x.currentPopupAction = null;
|
|
5823
5825
|
* limitations under the License.
|
5824
5826
|
*/
|
5825
5827
|
const Ws = "pendingRedirect", oe = /* @__PURE__ */ new Map();
|
5826
|
-
class zs extends
|
5828
|
+
class zs extends Cn {
|
5827
5829
|
constructor(e, t, r = !1) {
|
5828
5830
|
super(e, [
|
5829
5831
|
"signInViaRedirect",
|
@@ -5841,7 +5843,7 @@ class zs extends Nn {
|
|
5841
5843
|
let e = oe.get(this.auth._key());
|
5842
5844
|
if (!e) {
|
5843
5845
|
try {
|
5844
|
-
const r = await
|
5846
|
+
const r = await Zs(this.resolver, this.auth) ? await super.execute() : null;
|
5845
5847
|
e = () => Promise.resolve(r);
|
5846
5848
|
} catch (t) {
|
5847
5849
|
e = () => Promise.reject(t);
|
@@ -5869,14 +5871,14 @@ class zs extends Nn {
|
|
5869
5871
|
cleanUp() {
|
5870
5872
|
}
|
5871
5873
|
}
|
5872
|
-
async function
|
5874
|
+
async function Zs(n, e) {
|
5873
5875
|
const t = Ys(e), r = Js(n);
|
5874
5876
|
if (!await r._isAvailable())
|
5875
5877
|
return !1;
|
5876
5878
|
const i = await r._get(t) === "true";
|
5877
5879
|
return await r._remove(t), i;
|
5878
5880
|
}
|
5879
|
-
function
|
5881
|
+
function $s(n, e) {
|
5880
5882
|
oe.set(n._key(), e);
|
5881
5883
|
}
|
5882
5884
|
function Js(n) {
|
@@ -5980,7 +5982,7 @@ function Qs(n) {
|
|
5980
5982
|
* limitations under the License.
|
5981
5983
|
*/
|
5982
5984
|
async function ea(n, e = {}) {
|
5983
|
-
return
|
5985
|
+
return Z(n, "GET", "/v1/projects", e);
|
5984
5986
|
}
|
5985
5987
|
/**
|
5986
5988
|
* @license
|
@@ -6009,14 +6011,14 @@ async function ra(n) {
|
|
6009
6011
|
return;
|
6010
6012
|
} catch {
|
6011
6013
|
}
|
6012
|
-
|
6014
|
+
T(
|
6013
6015
|
n,
|
6014
6016
|
"unauthorized-domain"
|
6015
6017
|
/* AuthErrorCode.INVALID_ORIGIN */
|
6016
6018
|
);
|
6017
6019
|
}
|
6018
6020
|
function ia(n) {
|
6019
|
-
const e =
|
6021
|
+
const e = je(), { protocol: t, hostname: r } = new URL(e);
|
6020
6022
|
if (n.startsWith("chrome-extension://")) {
|
6021
6023
|
const a = new URL(n);
|
6022
6024
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
@@ -6142,7 +6144,7 @@ function pa(n) {
|
|
6142
6144
|
const s = n._getFrameworks();
|
6143
6145
|
return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
|
6144
6146
|
}
|
6145
|
-
async function
|
6147
|
+
async function fa(n) {
|
6146
6148
|
const e = await oa(n), t = g().gapi;
|
6147
6149
|
return u(
|
6148
6150
|
t,
|
@@ -6191,13 +6193,13 @@ async function ma(n) {
|
|
6191
6193
|
* See the License for the specific language governing permissions and
|
6192
6194
|
* limitations under the License.
|
6193
6195
|
*/
|
6194
|
-
const
|
6196
|
+
const ma = {
|
6195
6197
|
location: "yes",
|
6196
6198
|
resizable: "yes",
|
6197
6199
|
statusbar: "yes",
|
6198
6200
|
toolbar: "no"
|
6199
6201
|
}, _a = 500, ga = 600, va = "_blank", Ia = "http://localhost";
|
6200
|
-
class
|
6202
|
+
class Nt {
|
6201
6203
|
constructor(e) {
|
6202
6204
|
this.window = e, this.associatedEvent = null;
|
6203
6205
|
}
|
@@ -6212,16 +6214,16 @@ class Ct {
|
|
6212
6214
|
function ba(n, e, t, r = _a, i = ga) {
|
6213
6215
|
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
6214
6216
|
let c = "";
|
6215
|
-
const o = Object.assign(Object.assign({},
|
6217
|
+
const o = Object.assign(Object.assign({}, ma), {
|
6216
6218
|
width: r.toString(),
|
6217
6219
|
height: i.toString(),
|
6218
6220
|
top: s,
|
6219
6221
|
left: a
|
6220
|
-
}), l =
|
6222
|
+
}), l = m().toLowerCase();
|
6221
6223
|
t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
|
6222
|
-
const d = Object.entries(o).reduce((
|
6224
|
+
const d = Object.entries(o).reduce((f, [v, F]) => `${f}${v}=${F},`, "");
|
6223
6225
|
if (es(l) && c !== "_self")
|
6224
|
-
return ya(e || "", c), new
|
6226
|
+
return ya(e || "", c), new Nt(null);
|
6225
6227
|
const h = window.open(e || "", c, d);
|
6226
6228
|
u(
|
6227
6229
|
h,
|
@@ -6233,7 +6235,7 @@ function ba(n, e, t, r = _a, i = ga) {
|
|
6233
6235
|
h.focus();
|
6234
6236
|
} catch {
|
6235
6237
|
}
|
6236
|
-
return new
|
6238
|
+
return new Nt(h);
|
6237
6239
|
}
|
6238
6240
|
function ya(n, e) {
|
6239
6241
|
const t = document.createElement("a");
|
@@ -6257,8 +6259,8 @@ function ya(n, e) {
|
|
6257
6259
|
* See the License for the specific language governing permissions and
|
6258
6260
|
* limitations under the License.
|
6259
6261
|
*/
|
6260
|
-
const Ea = "__/auth/handler",
|
6261
|
-
async function
|
6262
|
+
const Ea = "__/auth/handler", wa = "emulator/auth/handler", Ta = encodeURIComponent("fac");
|
6263
|
+
async function Ct(n, e, t, r, i, s) {
|
6262
6264
|
u(
|
6263
6265
|
n.config.authDomain,
|
6264
6266
|
n,
|
@@ -6279,7 +6281,7 @@ async function Nt(n, e, t, r, i, s) {
|
|
6279
6281
|
eventId: i
|
6280
6282
|
};
|
6281
6283
|
if (e instanceof yn) {
|
6282
|
-
e.setDefaultLanguage(n.languageCode), a.providerId = e.providerId || "",
|
6284
|
+
e.setDefaultLanguage(n.languageCode), a.providerId = e.providerId || "", Tr(e.getCustomParameters()) || (a.customParameters = JSON.stringify(e.getCustomParameters()));
|
6283
6285
|
for (const [d, h] of Object.entries({}))
|
6284
6286
|
a[d] = h;
|
6285
6287
|
}
|
@@ -6291,11 +6293,11 @@ async function Nt(n, e, t, r, i, s) {
|
|
6291
6293
|
const c = a;
|
6292
6294
|
for (const d of Object.keys(c))
|
6293
6295
|
c[d] === void 0 && delete c[d];
|
6294
|
-
const o = await n._getAppCheckToken(), l = o ? `#${
|
6296
|
+
const o = await n._getAppCheckToken(), l = o ? `#${Ta}=${encodeURIComponent(o)}` : "";
|
6295
6297
|
return `${Ra(n)}?${Q(c).slice(1)}${l}`;
|
6296
6298
|
}
|
6297
6299
|
function Ra({ config: n }) {
|
6298
|
-
return n.emulator ? Ye(n,
|
6300
|
+
return n.emulator ? Ye(n, wa) : `https://${n.authDomain}/${Ea}`;
|
6299
6301
|
}
|
6300
6302
|
/**
|
6301
6303
|
* @license
|
@@ -6316,19 +6318,19 @@ function Ra({ config: n }) {
|
|
6316
6318
|
const De = "webStorageSupport";
|
6317
6319
|
class ka {
|
6318
6320
|
constructor() {
|
6319
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Xs, this._overrideRedirectResult =
|
6321
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Xs, this._overrideRedirectResult = $s;
|
6320
6322
|
}
|
6321
6323
|
// Wrapping in async even though we don't await anywhere in order
|
6322
6324
|
// to make sure errors are raised as promise rejections
|
6323
6325
|
async _openPopup(e, t, r, i) {
|
6324
6326
|
var s;
|
6325
6327
|
R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6326
|
-
const a = await
|
6328
|
+
const a = await Ct(e, t, r, je(), i);
|
6327
6329
|
return ba(e, a, Qe());
|
6328
6330
|
}
|
6329
6331
|
async _openRedirect(e, t, r, i) {
|
6330
6332
|
await this._originValidation(e);
|
6331
|
-
const s = await
|
6333
|
+
const s = await Ct(e, t, r, je(), i);
|
6332
6334
|
return Os(s), new Promise(() => {
|
6333
6335
|
});
|
6334
6336
|
}
|
@@ -6344,7 +6346,7 @@ class ka {
|
|
6344
6346
|
}), r;
|
6345
6347
|
}
|
6346
6348
|
async initAndGetManager(e) {
|
6347
|
-
const t = await
|
6349
|
+
const t = await fa(e), r = new qs(e);
|
6348
6350
|
return t.register("authEvent", (i) => (u(
|
6349
6351
|
i == null ? void 0 : i.authEvent,
|
6350
6352
|
e,
|
@@ -6359,7 +6361,7 @@ class ka {
|
|
6359
6361
|
this.iframes[e._key()].send(De, { type: De }, (i) => {
|
6360
6362
|
var s;
|
6361
6363
|
const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[De];
|
6362
|
-
a !== void 0 && t(!!a),
|
6364
|
+
a !== void 0 && t(!!a), T(
|
6363
6365
|
e,
|
6364
6366
|
"internal-error"
|
6365
6367
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -6459,7 +6461,7 @@ function Oa(n) {
|
|
6459
6461
|
return;
|
6460
6462
|
}
|
6461
6463
|
}
|
6462
|
-
function
|
6464
|
+
function Na(n) {
|
6463
6465
|
Y(new W(
|
6464
6466
|
"auth",
|
6465
6467
|
(e, { options: t }) => {
|
@@ -6500,7 +6502,7 @@ function Ca(n) {
|
|
6500
6502
|
).setInstantiationMode(
|
6501
6503
|
"EXPLICIT"
|
6502
6504
|
/* InstantiationMode.EXPLICIT */
|
6503
|
-
)),
|
6505
|
+
)), j(Dt, Pt, Oa(n)), j(Dt, Pt, "esm2017");
|
6504
6506
|
}
|
6505
6507
|
/**
|
6506
6508
|
* @license
|
@@ -6518,7 +6520,7 @@ function Ca(n) {
|
|
6518
6520
|
* See the License for the specific language governing permissions and
|
6519
6521
|
* limitations under the License.
|
6520
6522
|
*/
|
6521
|
-
const
|
6523
|
+
const Ca = 5 * 60, Da = zt("authIdTokenMaxAge") || Ca;
|
6522
6524
|
let Mt = null;
|
6523
6525
|
const Pa = (n) => async (e) => {
|
6524
6526
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
@@ -6548,10 +6550,10 @@ function Ma(n = ki()) {
|
|
6548
6550
|
const s = new URL(r, location.origin);
|
6549
6551
|
if (location.origin === s.origin) {
|
6550
6552
|
const a = Pa(s.toString());
|
6551
|
-
|
6553
|
+
ws(t, a, () => a(t.currentUser)), Es(t, (c) => a(c));
|
6552
6554
|
}
|
6553
6555
|
}
|
6554
|
-
const i =
|
6556
|
+
const i = Vt("auth");
|
6555
6557
|
return i && ps(t, `http://${i}`), t;
|
6556
6558
|
}
|
6557
6559
|
function La() {
|
@@ -6575,7 +6577,7 @@ os({
|
|
6575
6577
|
recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
|
6576
6578
|
recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
|
6577
6579
|
});
|
6578
|
-
|
6580
|
+
Na(
|
6579
6581
|
"Browser"
|
6580
6582
|
/* ClientPlatform.BROWSER */
|
6581
6583
|
);
|
@@ -6591,20 +6593,20 @@ Ua.beforeEach(async (n) => {
|
|
6591
6593
|
currentBusiness: r,
|
6592
6594
|
readRestaurants: i,
|
6593
6595
|
changeRestaurant: s
|
6594
|
-
} =
|
6596
|
+
} = Ve();
|
6595
6597
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
|
6596
|
-
const c =
|
6598
|
+
const c = $(e, (o) => {
|
6597
6599
|
var l;
|
6598
6600
|
o && (c(), a(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
|
6599
6601
|
});
|
6600
6602
|
})), Pe) : !r.value || !t.value ? (Me || (Me = Promise.all([
|
6601
6603
|
new Promise(async (a) => {
|
6602
|
-
const c =
|
6604
|
+
const c = $(r, (o) => {
|
6603
6605
|
o && (c(), a(!0));
|
6604
6606
|
});
|
6605
6607
|
}),
|
6606
6608
|
new Promise(async (a) => {
|
6607
|
-
const c =
|
6609
|
+
const c = $(t, (l) => {
|
6608
6610
|
l && (c(), a(!0));
|
6609
6611
|
}), o = await i();
|
6610
6612
|
await s(o == null ? void 0 : o.at(0));
|
@@ -6614,14 +6616,14 @@ Ua.beforeEach(async (n) => {
|
|
6614
6616
|
const Ba = /* @__PURE__ */ Ut({
|
6615
6617
|
__name: "AppSidebar",
|
6616
6618
|
setup(n) {
|
6617
|
-
const e =
|
6618
|
-
|
6619
|
+
const e = Ve(), t = Bn(), { t: r } = Wn(), i = xn(t.currentRoute.value.name);
|
6620
|
+
$(t.currentRoute, () => {
|
6619
6621
|
let l = t.currentRoute.value.name;
|
6620
6622
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6621
6623
|
});
|
6622
6624
|
const s = We.map((l) => {
|
6623
|
-
var
|
6624
|
-
if (!((
|
6625
|
+
var f;
|
6626
|
+
if (!((f = l.meta) != null && f.sidebarDisplay))
|
6625
6627
|
return;
|
6626
6628
|
const d = l.meta.sidebarDisplay, h = {
|
6627
6629
|
label: d.startsWith("i18n:") ? r(d.replaceAll("i18n:", "")) : d,
|
@@ -6631,7 +6633,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6631
6633
|
return t.push({ name: l.name });
|
6632
6634
|
}
|
6633
6635
|
};
|
6634
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6636
|
+
return l.meta.sidebarNew && (h.badge = () => jn(Zn.FmPill, { label: "New" })), h;
|
6635
6637
|
}).filter((l) => !!l), a = le.map((l) => {
|
6636
6638
|
var d;
|
6637
6639
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6690,7 +6692,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6690
6692
|
const h = Bt("FmCollapsibleTabs");
|
6691
6693
|
return Ft(), xt(h, {
|
6692
6694
|
modelValue: i.value,
|
6693
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
6695
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => i.value = f),
|
6694
6696
|
items: o.value,
|
6695
6697
|
class: "py-16 px-8 w-[240px]"
|
6696
6698
|
}, null, 8, ["modelValue", "items"]);
|
@@ -6698,28 +6700,28 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6698
6700
|
}
|
6699
6701
|
});
|
6700
6702
|
var Fa = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com" };
|
6701
|
-
const
|
6703
|
+
const Za = /* @__PURE__ */ Ut({
|
6702
6704
|
__name: "App",
|
6703
6705
|
setup(n) {
|
6704
|
-
const { state: e } = sr(), t =
|
6706
|
+
const { state: e } = sr(), t = Ve(), r = Fn(), i = Xt(Fa.firebase);
|
6705
6707
|
async function s() {
|
6706
6708
|
const a = t.sessionUser.value;
|
6707
6709
|
if (!a || !a.token) return;
|
6708
6710
|
const c = await a.getCustomToken(), o = Ma(i);
|
6709
6711
|
await ys(o, c);
|
6710
6712
|
}
|
6711
|
-
return s(),
|
6713
|
+
return s(), $(t.sessionUser, s), Hn(() => {
|
6712
6714
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6713
6715
|
}), Gn(() => {
|
6714
6716
|
t.registerSidebarComponent(Ba);
|
6715
6717
|
}), (a, c) => {
|
6716
6718
|
const o = Bt("RouterView");
|
6717
6719
|
return Ft(), xt(o, {
|
6718
|
-
key:
|
6720
|
+
key: Vn(r).path
|
6719
6721
|
});
|
6720
6722
|
};
|
6721
6723
|
}
|
6722
|
-
}),
|
6724
|
+
}), $a = {
|
6723
6725
|
"en-US": qn,
|
6724
6726
|
"zh-CN": ir
|
6725
6727
|
}, Ja = [...le, ...We];
|
@@ -6735,7 +6737,7 @@ export {
|
|
6735
6737
|
gt as e,
|
6736
6738
|
Ja as f,
|
6737
6739
|
z as g,
|
6738
|
-
|
6739
|
-
|
6740
|
-
|
6740
|
+
Za as h,
|
6741
|
+
$a as i,
|
6742
|
+
j as r
|
6741
6743
|
};
|