@feedmepos/mf-payment 1.2.9 → 1.2.11
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-6hKHVfxm.js → PayoutAccount-BPD8f21N.js} +5 -5
- package/dist/{PayoutAccount-WsuvGGev.js → PayoutAccount-DLhT0cgm.js} +6 -6
- package/dist/{PayoutAccountSetting-kFtY4hnm.js → PayoutAccountSetting-Cc2XkDvW.js} +111 -114
- package/dist/{Restaurant-BF_jXqhL.js → Restaurant-QmZ5m6aX.js} +4 -4
- package/dist/{RestaurantSetting-sMZOnkjW.js → RestaurantSetting-D0GFUJAg.js} +3 -3
- package/dist/{Settlement-BEwx2k_h.js → Settlement-BIk63DvT.js} +3 -3
- package/dist/{Settlement-UYX8-U_n.js → Settlement-MJFzi4Zt.js} +3 -3
- package/dist/{SettlementTransactions-DONlto2W.js → SettlementTransactions-Diz_eig2.js} +3 -3
- package/dist/{SettlementTransactions-WxLHkiuw.js → SettlementTransactions-MBqrZMZx.js} +3 -3
- package/dist/{Terminal-DDecseOO.js → Terminal-DYkp1mv0.js} +5 -5
- package/dist/{TerminalSetting-B-Rlwf2-.js → TerminalSetting-DmPRtCsa.js} +3 -3
- package/dist/{Transaction-B2tEOXXd.js → Transaction-Bh_Psoae.js} +7 -7
- package/dist/{Transaction-CNi-na7f.js → Transaction-CimYTaB8.js} +5 -5
- package/dist/{TransactionOld-C64e3hQJ.js → TransactionOld-CiWIwxJ7.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-Cyljl6hU.js → TransactionTable.vue_vue_type_script_setup_true_lang-2FzzyKdR.js} +3 -3
- package/dist/{app-gcoIGoMD.js → app-ByopJolk.js} +284 -284
- package/dist/app.js +1 -1
- package/dist/{assets-CK0-Pj07.js → assets-DfdrUzgm.js} +34 -33
- package/dist/{grafana-coUWFWSV.js → grafana-ey8F5lgL.js} +1 -1
- package/dist/{index-CkVQi3Lk.js → index-9HYkBEVP.js} +1 -1
- package/dist/{index-CJOPvwhx.js → index-C9mXyA-9.js} +2 -2
- package/dist/{index-CWIdEOSU.js → index-CxUSH_LL.js} +1 -1
- package/dist/{index-D7qO1KG7.js → index-D1HPnn1H.js} +5251 -5143
- package/dist/{index-CuIq1ul_.js → index-DLoPHbRf.js} +1 -1
- package/dist/{index-x32ArWhF.js → index-GqLxFyy5.js} +1 -1
- package/dist/{index-z09M1hMv.js → index-tX_6kqCz.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-Cnb3Y4z-.js → index.vue_vue_type_script_setup_true_lang-xEGnd1Sr.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-mZ8eNPNW.js → payout-account-B7N8ePXF.js} +3 -3
- package/dist/stores/payoutAccount.d.ts +10 -10
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +10 -10
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +28 -34
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +28 -34
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +10 -10
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +10 -10
- package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +28 -34
- package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +6 -12
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +14 -14
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +20 -20
- package/package.json +2 -2
@@ -1,6 +1,6 @@
|
|
1
|
-
import { createRouter as Ln, createWebHistory as Un, useRouter as xn, useRoute as
|
2
|
-
import { computed as Lt, watch as J, defineComponent as Ut, ref as Bn, resolveComponent as xt, openBlock as
|
3
|
-
import { useCoreStore as
|
1
|
+
import { createRouter as Ln, createWebHistory as Un, useRouter as xn, useRoute as jn } from "vue-router";
|
2
|
+
import { computed as Lt, watch as J, defineComponent as Ut, ref as Bn, resolveComponent as xt, openBlock as jt, createBlock as Bt, h as Fn, onMounted as Hn, onBeforeMount as Wn, unref as Gn } from "vue";
|
3
|
+
import { useCoreStore as Ge, useI18n as Vn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
5
|
import { components as Zn } from "@feedmepos/ui-library";
|
6
6
|
const Jn = {
|
@@ -150,9 +150,9 @@ const Jn = {
|
|
150
150
|
}
|
151
151
|
}
|
152
152
|
}
|
153
|
-
}, $n = {
|
154
|
-
payment: Jn
|
155
153
|
}, Yn = {
|
154
|
+
payment: Jn
|
155
|
+
}, $n = {
|
156
156
|
components: {
|
157
157
|
select: "选择筛选对象",
|
158
158
|
restaurant: "餐厅",
|
@@ -300,7 +300,7 @@ const Jn = {
|
|
300
300
|
}
|
301
301
|
}
|
302
302
|
}, Xn = {
|
303
|
-
payment:
|
303
|
+
payment: $n
|
304
304
|
}, le = [
|
305
305
|
{
|
306
306
|
path: "/admin/restaurants",
|
@@ -309,7 +309,7 @@ const Jn = {
|
|
309
309
|
sidebarDisplay: "Restaurants",
|
310
310
|
section: "payment-gateway"
|
311
311
|
},
|
312
|
-
component: () => import("./Restaurant-
|
312
|
+
component: () => import("./Restaurant-QmZ5m6aX.js")
|
313
313
|
},
|
314
314
|
{
|
315
315
|
path: "/admin/restaurants/:restaurantId",
|
@@ -318,7 +318,7 @@ const Jn = {
|
|
318
318
|
meta: {
|
319
319
|
parent: "mf-payment-admin.restaurant"
|
320
320
|
},
|
321
|
-
component: () => import("./RestaurantSetting-
|
321
|
+
component: () => import("./RestaurantSetting-D0GFUJAg.js")
|
322
322
|
},
|
323
323
|
{
|
324
324
|
path: "/admin/payout-accounts",
|
@@ -327,7 +327,7 @@ const Jn = {
|
|
327
327
|
sidebarDisplay: "Payout Accounts",
|
328
328
|
section: "payment-gateway"
|
329
329
|
},
|
330
|
-
component: () => import("./PayoutAccount-
|
330
|
+
component: () => import("./PayoutAccount-DLhT0cgm.js")
|
331
331
|
},
|
332
332
|
{
|
333
333
|
path: "/admin/payout-accounts/:accountId",
|
@@ -336,7 +336,7 @@ const Jn = {
|
|
336
336
|
meta: {
|
337
337
|
parent: "mf-payment-admin.payout-account"
|
338
338
|
},
|
339
|
-
component: () => import("./PayoutAccountSetting-
|
339
|
+
component: () => import("./PayoutAccountSetting-Cc2XkDvW.js")
|
340
340
|
},
|
341
341
|
{
|
342
342
|
path: "/admin/terminal/pos",
|
@@ -345,7 +345,7 @@ const Jn = {
|
|
345
345
|
sidebarDisplay: "POS",
|
346
346
|
section: "device"
|
347
347
|
},
|
348
|
-
component: () => import("./Terminal-
|
348
|
+
component: () => import("./Terminal-DYkp1mv0.js"),
|
349
349
|
props: {
|
350
350
|
type: "POS"
|
351
351
|
}
|
@@ -357,7 +357,7 @@ const Jn = {
|
|
357
357
|
sidebarDisplay: "Kiosks",
|
358
358
|
section: "device"
|
359
359
|
},
|
360
|
-
component: () => import("./Terminal-
|
360
|
+
component: () => import("./Terminal-DYkp1mv0.js"),
|
361
361
|
props: {
|
362
362
|
type: "KIOSK"
|
363
363
|
}
|
@@ -369,7 +369,7 @@ const Jn = {
|
|
369
369
|
sidebarDisplay: "Terminals",
|
370
370
|
section: "device"
|
371
371
|
},
|
372
|
-
component: () => import("./Terminal-
|
372
|
+
component: () => import("./Terminal-DYkp1mv0.js"),
|
373
373
|
props: {
|
374
374
|
type: "TERMINAL"
|
375
375
|
}
|
@@ -381,7 +381,7 @@ const Jn = {
|
|
381
381
|
meta: {
|
382
382
|
parent: "mf-payment-admin.pos"
|
383
383
|
},
|
384
|
-
component: () => import("./TerminalSetting-
|
384
|
+
component: () => import("./TerminalSetting-DmPRtCsa.js")
|
385
385
|
},
|
386
386
|
{
|
387
387
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -390,7 +390,7 @@ const Jn = {
|
|
390
390
|
meta: {
|
391
391
|
parent: "mf-payment-admin.kiosk"
|
392
392
|
},
|
393
|
-
component: () => import("./TerminalSetting-
|
393
|
+
component: () => import("./TerminalSetting-DmPRtCsa.js")
|
394
394
|
},
|
395
395
|
{
|
396
396
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -399,7 +399,7 @@ const Jn = {
|
|
399
399
|
meta: {
|
400
400
|
parent: "mf-payment-admin.terminal"
|
401
401
|
},
|
402
|
-
component: () => import("./TerminalSetting-
|
402
|
+
component: () => import("./TerminalSetting-DmPRtCsa.js")
|
403
403
|
},
|
404
404
|
{
|
405
405
|
path: "/admin/transaction",
|
@@ -407,7 +407,7 @@ const Jn = {
|
|
407
407
|
meta: {
|
408
408
|
sidebarDisplay: "Transactions"
|
409
409
|
},
|
410
|
-
component: () => import("./Transaction-
|
410
|
+
component: () => import("./Transaction-CimYTaB8.js")
|
411
411
|
},
|
412
412
|
{
|
413
413
|
path: "/admin/settlement",
|
@@ -415,7 +415,7 @@ const Jn = {
|
|
415
415
|
meta: {
|
416
416
|
sidebarDisplay: "Settlements"
|
417
417
|
},
|
418
|
-
component: () => import("./Settlement-
|
418
|
+
component: () => import("./Settlement-MJFzi4Zt.js")
|
419
419
|
},
|
420
420
|
{
|
421
421
|
path: "/admin/settlement/:settlementId",
|
@@ -424,9 +424,9 @@ const Jn = {
|
|
424
424
|
meta: {
|
425
425
|
parent: "mf-payment-admin.settlement"
|
426
426
|
},
|
427
|
-
component: () => import("./SettlementTransactions-
|
427
|
+
component: () => import("./SettlementTransactions-Diz_eig2.js")
|
428
428
|
}
|
429
|
-
],
|
429
|
+
], Ve = [
|
430
430
|
{
|
431
431
|
path: "",
|
432
432
|
redirect: { name: "mf-payment-payout-account" }
|
@@ -434,7 +434,7 @@ const Jn = {
|
|
434
434
|
{
|
435
435
|
path: "/payout-account",
|
436
436
|
name: "mf-payment-payout-account",
|
437
|
-
component: () => import("./PayoutAccount-
|
437
|
+
component: () => import("./PayoutAccount-BPD8f21N.js"),
|
438
438
|
meta: {
|
439
439
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
440
440
|
}
|
@@ -442,7 +442,7 @@ const Jn = {
|
|
442
442
|
{
|
443
443
|
path: "/transaction-old",
|
444
444
|
name: "mf-payment-old-transaction",
|
445
|
-
component: () => import("./TransactionOld-
|
445
|
+
component: () => import("./TransactionOld-CiWIwxJ7.js"),
|
446
446
|
meta: {
|
447
447
|
sidebarDisplay: "i18n:payment.routes.transaction"
|
448
448
|
}
|
@@ -450,7 +450,7 @@ const Jn = {
|
|
450
450
|
{
|
451
451
|
path: "/transaction",
|
452
452
|
name: "mf-payment-transaction",
|
453
|
-
component: () => import("./Transaction-
|
453
|
+
component: () => import("./Transaction-Bh_Psoae.js"),
|
454
454
|
meta: {
|
455
455
|
sidebarDisplay: "i18n:payment.routes.transaction-new",
|
456
456
|
sidebarNew: !0
|
@@ -459,7 +459,7 @@ const Jn = {
|
|
459
459
|
{
|
460
460
|
path: "/settlement",
|
461
461
|
name: "mf-payment-settlement",
|
462
|
-
component: () => import("./Settlement-
|
462
|
+
component: () => import("./Settlement-BIk63DvT.js"),
|
463
463
|
meta: {
|
464
464
|
sidebarDisplay: "i18n:payment.routes.settlement"
|
465
465
|
}
|
@@ -468,7 +468,7 @@ const Jn = {
|
|
468
468
|
path: "/settlement/:settlementId",
|
469
469
|
name: "mf-payment-settlement-transaction",
|
470
470
|
props: !0,
|
471
|
-
component: () => import("./SettlementTransactions-
|
471
|
+
component: () => import("./SettlementTransactions-MBqrZMZx.js"),
|
472
472
|
meta: {
|
473
473
|
parent: "mf-payment-settlement"
|
474
474
|
}
|
@@ -485,7 +485,7 @@ const Jn = {
|
|
485
485
|
init: t
|
486
486
|
};
|
487
487
|
});
|
488
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_20cc6345-175a-435e-bdc1-f218a4567722", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", 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.16.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_20cc6345-175a-435e-bdc1-f218a4567722", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.16.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: "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", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-8.14.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.1.13356709", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.26.8", 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: "1740", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.6.8", 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: "20250602.3.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", LOGNAME: "runner", 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", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.9/x64", JOURNAL_STREAM: "9:11982", 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/hosted-compute-agent.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", GITHUB_RUN_ID: "15899399321", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "0de0db3304b8159b209fec50222bcad6060a7ad6", 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: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9kZXZcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjdlNjQ1MmM1LWZjMmUtNGFkNS1iNjczLTI5ZTkwY2Y3M2RkOCIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3NTA5NTU3ODIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc1MDkzMzU4MiwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjJlM2ZlYmEyLTI5YWEtNTA3OS1hOWU1LTRlODBmODBlZTcxYSIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc1MDkzMzI4Miwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwiYWN0b3JfaWRcIjpcIjE1Njc0MTA3XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJldmVudF9uYW1lXCI6XCJwdXNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIwZGUwZGIzMzA0YjgxNTliMjA5ZmVjNTAyMjJiY2FkNjA2MGE3YWQ2XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjE1ODk5Mzk5MzIxXCIsXCJydW5fbnVtYmVyXCI6XCIyMDZcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCIwZGUwZGIzMzA0YjgxNTliMjA5ZmVjNTAyMjJiY2FkNjA2MGE3YWQ2XCIsXCJ3b3JrZmxvd1wiOlwicGF5bWVudC1tZi1wb3J0YWwtZGV2XCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtZGV2LnlhbWxAcmVmcy9oZWFkcy9kZXZcIixcIndvcmtmbG93X3NoYVwiOlwiMGRlMGRiMzMwNGI4MTU5YjIwOWZlYzUwMjIyYmNhZDYwNjBhN2FkNlwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2RldiIsIm9yY2hfaWQiOiJmN2UxNzY4Mi1iNmEwLTQwNGQtOGM5YS0yZTIxY2YzNGFhYjguZGVwbG95Ll9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6ImY3ZTE3NjgyLWI2YTAtNDA0ZC04YzlhLTJlMjFjZjM0YWFiOCIsInJ1bl9pZCI6IjE1ODk5Mzk5MzIxIiwicnVuX251bWJlciI6IjIwNiIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAwMDMzMjAiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czpmN2UxNzY4Mi1iNmEwLTQwNGQtOGM5YS0yZTIxY2YzNGFhYjg6MmUzZmViYTItMjlhYS01MDc5LWE5ZTUtNGU4MGY4MGVlNzFhIEFjdGlvbnMuUnVubmVyOmY3ZTE3NjgyLWI2YTAtNDA0ZC04YzlhLTJlMjFjZjM0YWFiODoyZTNmZWJhMi0yOWFhLTUwNzktYTllNS00ZTgwZjgwZWU3MWEgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6ZjdlMTc2ODItYjZhMC00MDRkLThjOWEtMmUyMWNmMzRhYWI4OjJlM2ZlYmEyLTI5YWEtNTA3OS1hOWU1LTRlODBmODBlZTcxYSBnZW5lcmF0ZV9pZF90b2tlbjpmN2UxNzY4Mi1iNmEwLTQwNGQtOGM5YS0yZTIxY2YzNGFhYjg6MmUzZmViYTItMjlhYS01MDc5LWE5ZTUtNGU4MGY4MGVlNzFhIEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiMGRlMGRiMzMwNGI4MTU5YjIwOWZlYzUwMjIyYmNhZDYwNjBhN2FkNiJ9.nYHFxTOLqzyLD3DEcOVlMsc0yQCkceonxyODfNUxG-DiFz5VLyU2GZ4eXNDN55CWLuzy_4J4BroJQJLjHRRbXoUhVh5vr36xBdE6nGMniEzzvrwtKhy9TLv6FmJCz3w5eL0eczhWIaxYFD5MmtOD65ETHbtpMxK6vOlmwJiFweW1sAQxTZPJyVwzBYNDJulVCfqdkLKfjrYa4iI9691O2weOm_V89qMLP8XWVn4Hy2NFOC0iNlg2n4V6rIEBiZI3HmNY7ITtlNT2juSgDIXSaHNSwE9g-VjIQTWTpnS88S3Vf8tAKRB_8gHI3g-48jUm9mFJ8v3npAJrGsQl2W2NDw", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1750933639378-0.46554611591939143:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.16.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1750933639195-0.4828534147174617:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.16.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1750933639014-0.5943873209630579:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.16.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.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.16.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_f2acc6cc-1d30-4e70-86e1-e9e1a1cbf864", INVOCATION_ID: "997b6fd8b9a04236a6a23f7a3bec1277", 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: "206", 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 1000003320", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", 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", 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", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", 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.2.9", 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", GITHUB_SHA: "0de0db3304b8159b209fec50222bcad6060a7ad6", GITHUB_RUN_ATTEMPT: "1", 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_20cc6345-175a-435e-bdc1-f218a4567722", 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", 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://run-actions-3-azure-eastus.actions.githubusercontent.com/96//idtoken/f7e17682-b6a0-404d-8c9a-2e21cf34aab8/2e3feba2-29aa-5079-a9e5-4e80f80ee71a?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_20cc6345-175a-435e-bdc1-f218a4567722", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", 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=", 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_20cc6345-175a-435e-bdc1-f218a4567722", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.10", 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" };
|
488
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_8647c384-af2e-468e-bb47-504473cafb83", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", 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.16.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_8647c384-af2e-468e-bb47-504473cafb83", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.16.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: "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", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-8.14.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.1.13356709", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.26.8", 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: "1740", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.6.8", 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", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250622.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", LOGNAME: "runner", 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", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.10/x64", JOURNAL_STREAM: "9:12572", GITHUB_WORKFLOW: "payment-mf-portal", _: "/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/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.4/x64", 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", GITHUB_RUN_ID: "15997240128", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "76e29ab84fb11da37cd11d1bedb6bf3f6f91bcc7", 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.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9kZXZcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjdlNjQ1MmM1LWZjMmUtNGFkNS1iNjczLTI5ZTkwY2Y3M2RkOCIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3NTEzODkyODAsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc1MTM2NzA4MCwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjZiNDUyNDY1LTU3YzktNWYyYi1iN2YzLWMyMzg4NTM1YTRjMiIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc1MTM2Njc4MCwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwiYWN0b3JfaWRcIjpcIjE1Njc0MTA3XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJldmVudF9uYW1lXCI6XCJwdXNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLnlhbWxAcmVmcy9oZWFkcy9kZXZcIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjc2ZTI5YWI4NGZiMTFkYTM3Y2QxMWQxYmVkYjZiZjNmNmY5MWJjYzdcIixcInJlZlwiOlwicmVmcy9oZWFkcy9kZXZcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCI2OTA5NzkyNjBcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMTU5OTcyNDAxMjhcIixcInJ1bl9udW1iZXJcIjpcIjJcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCI3NmUyOWFiODRmYjExZGEzN2NkMTFkMWJlZGI2YmYzZjZmOTFiY2M3XCIsXCJ3b3JrZmxvd1wiOlwicGF5bWVudC1tZi1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJ3b3JrZmxvd19zaGFcIjpcIjc2ZTI5YWI4NGZiMTFkYTM3Y2QxMWQxYmVkYjZiZjNmNmY5MWJjYzdcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoX2lkIjoiMGJiZjNjZGMtMDE0My00OGY3LWJlMzctNDAzOGYyZTI3NzE2LmRlcGxveS5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiIwYmJmM2NkYy0wMTQzLTQ4ZjctYmUzNy00MDM4ZjJlMjc3MTYiLCJydW5faWQiOiIxNTk5NzI0MDEyOCIsInJ1bl9udW1iZXIiOiIyIiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDAwNDEwMSIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjBiYmYzY2RjLTAxNDMtNDhmNy1iZTM3LTQwMzhmMmUyNzcxNjo2YjQ1MjQ2NS01N2M5LTVmMmItYjdmMy1jMjM4ODUzNWE0YzIgQWN0aW9ucy5SdW5uZXI6MGJiZjNjZGMtMDE0My00OGY3LWJlMzctNDAzOGYyZTI3NzE2OjZiNDUyNDY1LTU3YzktNWYyYi1iN2YzLWMyMzg4NTM1YTRjMiBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowYmJmM2NkYy0wMTQzLTQ4ZjctYmUzNy00MDM4ZjJlMjc3MTY6NmI0NTI0NjUtNTdjOS01ZjJiLWI3ZjMtYzIzODg1MzVhNGMyIGdlbmVyYXRlX2lkX3Rva2VuOjBiYmYzY2RjLTAxNDMtNDhmNy1iZTM3LTQwMzhmMmUyNzcxNjo2YjQ1MjQ2NS01N2M5LTVmMmItYjdmMy1jMjM4ODUzNWE0YzIgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI3NmUyOWFiODRmYjExZGEzN2NkMTFkMWJlZGI2YmYzZjZmOTFiY2M3In0.vA2zJAskL-BawtLXRCt7n-5bHdVizx7icQf3KYoQhs3U-O9ifZ49JUHl-Vs25XGCXGkJQpQjWKAqATW8HCp-3eCYbnHAN6Efj2Crtm4VMYqEE3M_8FGq5Kmc2IYhM079pe2glPmmKgZgcvviPdrNupFREnVUC_aJ-lH-EWVlWnaGutwacZN1X2zUQYVNf_FFD9zvv9tdFtegfxSscpp9AVJNOcL7w2JjblkK9Eu12Wb63NsGfM9PRCO6cPMve7JLrjDfFmd29iE97vvyloBDgYv6oVcqBvcxsayvecIU8dbuoM2IESAot_oNsOYyoa_PEWzNqsJRFWKyAnsqkHHzNQ", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1751367118360-0.659635881126637:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.16.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1751367118183-0.5330960179491728:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.16.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1751367117999-0.6101568290899329:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.16.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.16.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.16.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_aaa8a210-c8a8-4bce-bbd7-4b65d3a52b26", INVOCATION_ID: "f214142837644038bf5e56eec348379a", 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: "2", 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 1000004101", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", 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", 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", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", 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.2.11", 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", GITHUB_SHA: "76e29ab84fb11da37cd11d1bedb6bf3f6f91bcc7", GITHUB_RUN_ATTEMPT: "1", 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_8647c384-af2e-468e-bb47-504473cafb83", 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", 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://run-actions-3-azure-eastus.actions.githubusercontent.com/97//idtoken/0bbf3cdc-0143-48f7-be37-4038f2e27716/6b452465-57c9-5f2b-b7f3-c2388535a4c2?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_8647c384-af2e-468e-bb47-504473cafb83", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", 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=", 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_8647c384-af2e-468e-bb47-504473cafb83", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.11", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
489
489
|
/**
|
490
490
|
* @license
|
491
491
|
* Copyright 2017 Google LLC
|
@@ -502,7 +502,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
502
502
|
* See the License for the specific language governing permissions and
|
503
503
|
* limitations under the License.
|
504
504
|
*/
|
505
|
-
const
|
505
|
+
const Ft = function(n) {
|
506
506
|
const e = [];
|
507
507
|
let t = 0;
|
508
508
|
for (let r = 0; r < n.length; r++) {
|
@@ -529,7 +529,7 @@ const jt = function(n) {
|
|
529
529
|
}
|
530
530
|
}
|
531
531
|
return e.join("");
|
532
|
-
},
|
532
|
+
}, Ht = {
|
533
533
|
/**
|
534
534
|
* Maps bytes to characters.
|
535
535
|
*/
|
@@ -603,7 +603,7 @@ const jt = function(n) {
|
|
603
603
|
* @return The base64 encoded string.
|
604
604
|
*/
|
605
605
|
encodeString(n, e) {
|
606
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
606
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Ft(n), e);
|
607
607
|
},
|
608
608
|
/**
|
609
609
|
* Base64-decode a string.
|
@@ -646,8 +646,8 @@ const jt = function(n) {
|
|
646
646
|
if (r.push(m), l !== 64) {
|
647
647
|
const I = c << 4 & 240 | l >> 2;
|
648
648
|
if (r.push(I), h !== 64) {
|
649
|
-
const
|
650
|
-
r.push(
|
649
|
+
const j = l << 6 & 192 | h;
|
650
|
+
r.push(j);
|
651
651
|
}
|
652
652
|
}
|
653
653
|
}
|
@@ -672,13 +672,13 @@ class Qn extends Error {
|
|
672
672
|
}
|
673
673
|
}
|
674
674
|
const er = function(n) {
|
675
|
-
const e =
|
676
|
-
return
|
675
|
+
const e = Ft(n);
|
676
|
+
return Ht.encodeByteArray(e, !0);
|
677
677
|
}, de = function(n) {
|
678
678
|
return er(n).replace(/\./g, "");
|
679
|
-
},
|
679
|
+
}, Wt = function(n) {
|
680
680
|
try {
|
681
|
-
return
|
681
|
+
return Ht.decodeString(n, !0);
|
682
682
|
} catch (e) {
|
683
683
|
console.error("base64Decode failed: ", e);
|
684
684
|
}
|
@@ -740,7 +740,7 @@ const nr = () => tr().__FIREBASE_DEFAULTS__, rr = () => {
|
|
740
740
|
} catch {
|
741
741
|
return;
|
742
742
|
}
|
743
|
-
const e = n &&
|
743
|
+
const e = n && Wt(n[1]);
|
744
744
|
return e && JSON.parse(e);
|
745
745
|
}, ze = () => {
|
746
746
|
try {
|
@@ -749,11 +749,11 @@ const nr = () => tr().__FIREBASE_DEFAULTS__, rr = () => {
|
|
749
749
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
750
750
|
return;
|
751
751
|
}
|
752
|
-
},
|
752
|
+
}, Gt = (n) => {
|
753
753
|
var e, t;
|
754
754
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
755
755
|
}, Ua = (n) => {
|
756
|
-
const e =
|
756
|
+
const e = Gt(n);
|
757
757
|
if (!e)
|
758
758
|
return;
|
759
759
|
const t = e.lastIndexOf(":");
|
@@ -761,7 +761,7 @@ const nr = () => tr().__FIREBASE_DEFAULTS__, rr = () => {
|
|
761
761
|
throw new Error(`Invalid host ${e} with no separate hostname and port!`);
|
762
762
|
const r = parseInt(e.substring(t + 1), 10);
|
763
763
|
return e[0] === "[" ? [e.substring(1, t - 1), r] : [e.substring(0, t), r];
|
764
|
-
},
|
764
|
+
}, Vt = () => {
|
765
765
|
var n;
|
766
766
|
return (n = ze()) === null || n === void 0 ? void 0 : n.config;
|
767
767
|
}, zt = (n) => {
|
@@ -1119,7 +1119,7 @@ function Re() {
|
|
1119
1119
|
function z(n) {
|
1120
1120
|
return n && n._delegate ? n._delegate : n;
|
1121
1121
|
}
|
1122
|
-
class
|
1122
|
+
class V {
|
1123
1123
|
/**
|
1124
1124
|
*
|
1125
1125
|
* @param name The public service name, e.g. app, auth, firestore, database
|
@@ -1351,7 +1351,7 @@ function Er(n) {
|
|
1351
1351
|
* See the License for the specific language governing permissions and
|
1352
1352
|
* limitations under the License.
|
1353
1353
|
*/
|
1354
|
-
class
|
1354
|
+
class Tr {
|
1355
1355
|
constructor(e) {
|
1356
1356
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
1357
1357
|
}
|
@@ -1410,7 +1410,7 @@ var p;
|
|
1410
1410
|
(function(n) {
|
1411
1411
|
n[n.DEBUG = 0] = "DEBUG", n[n.VERBOSE = 1] = "VERBOSE", n[n.INFO = 2] = "INFO", n[n.WARN = 3] = "WARN", n[n.ERROR = 4] = "ERROR", n[n.SILENT = 5] = "SILENT";
|
1412
1412
|
})(p || (p = {}));
|
1413
|
-
const
|
1413
|
+
const wr = {
|
1414
1414
|
debug: p.DEBUG,
|
1415
1415
|
verbose: p.VERBOSE,
|
1416
1416
|
info: p.INFO,
|
@@ -1452,7 +1452,7 @@ class Zt {
|
|
1452
1452
|
}
|
1453
1453
|
// Workaround for setter/getter having to be the same type.
|
1454
1454
|
setLogLevel(e) {
|
1455
|
-
this._logLevel = typeof e == "string" ?
|
1455
|
+
this._logLevel = typeof e == "string" ? wr[e] : e;
|
1456
1456
|
}
|
1457
1457
|
get logHandler() {
|
1458
1458
|
return this._logHandler;
|
@@ -1489,7 +1489,7 @@ class Zt {
|
|
1489
1489
|
}
|
1490
1490
|
const Ar = (n, e) => e.some((t) => n instanceof t);
|
1491
1491
|
let lt, dt;
|
1492
|
-
function
|
1492
|
+
function Nr() {
|
1493
1493
|
return lt || (lt = [
|
1494
1494
|
IDBDatabase,
|
1495
1495
|
IDBObjectStore,
|
@@ -1498,20 +1498,20 @@ function Cr() {
|
|
1498
1498
|
IDBTransaction
|
1499
1499
|
]);
|
1500
1500
|
}
|
1501
|
-
function
|
1501
|
+
function Or() {
|
1502
1502
|
return dt || (dt = [
|
1503
1503
|
IDBCursor.prototype.advance,
|
1504
1504
|
IDBCursor.prototype.continue,
|
1505
1505
|
IDBCursor.prototype.continuePrimaryKey
|
1506
1506
|
]);
|
1507
1507
|
}
|
1508
|
-
const Jt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(),
|
1509
|
-
function
|
1508
|
+
const Jt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Yt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap();
|
1509
|
+
function Cr(n) {
|
1510
1510
|
const e = new Promise((t, r) => {
|
1511
1511
|
const i = () => {
|
1512
1512
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
1513
1513
|
}, s = () => {
|
1514
|
-
t(
|
1514
|
+
t(C(n.result)), i();
|
1515
1515
|
}, a = () => {
|
1516
1516
|
r(n.error), i();
|
1517
1517
|
};
|
@@ -1543,11 +1543,11 @@ let Ue = {
|
|
1543
1543
|
if (e === "done")
|
1544
1544
|
return Le.get(n);
|
1545
1545
|
if (e === "objectStoreNames")
|
1546
|
-
return n.objectStoreNames ||
|
1546
|
+
return n.objectStoreNames || Yt.get(n);
|
1547
1547
|
if (e === "store")
|
1548
1548
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1549
1549
|
}
|
1550
|
-
return
|
1550
|
+
return C(n[e]);
|
1551
1551
|
},
|
1552
1552
|
set(n, e, t) {
|
1553
1553
|
return n[e] = t, !0;
|
@@ -1562,19 +1562,19 @@ function Pr(n) {
|
|
1562
1562
|
function Mr(n) {
|
1563
1563
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1564
1564
|
const r = n.call(Ae(this), e, ...t);
|
1565
|
-
return
|
1566
|
-
} :
|
1567
|
-
return n.apply(Ae(this), e),
|
1565
|
+
return Yt.set(r, e.sort ? e.sort() : [e]), C(r);
|
1566
|
+
} : Or().includes(n) ? function(...e) {
|
1567
|
+
return n.apply(Ae(this), e), C(Jt.get(this));
|
1568
1568
|
} : function(...e) {
|
1569
|
-
return
|
1569
|
+
return C(n.apply(Ae(this), e));
|
1570
1570
|
};
|
1571
1571
|
}
|
1572
1572
|
function Lr(n) {
|
1573
|
-
return typeof n == "function" ? Mr(n) : (n instanceof IDBTransaction && Dr(n), Ar(n,
|
1573
|
+
return typeof n == "function" ? Mr(n) : (n instanceof IDBTransaction && Dr(n), Ar(n, Nr()) ? new Proxy(n, Ue) : n);
|
1574
1574
|
}
|
1575
|
-
function
|
1575
|
+
function C(n) {
|
1576
1576
|
if (n instanceof IDBRequest)
|
1577
|
-
return
|
1577
|
+
return Cr(n);
|
1578
1578
|
if (Se.has(n))
|
1579
1579
|
return Se.get(n);
|
1580
1580
|
const e = Lr(n);
|
@@ -1582,9 +1582,9 @@ function O(n) {
|
|
1582
1582
|
}
|
1583
1583
|
const Ae = (n) => Ze.get(n);
|
1584
1584
|
function Ur(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1585
|
-
const a = indexedDB.open(n, e), c =
|
1585
|
+
const a = indexedDB.open(n, e), c = C(a);
|
1586
1586
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
1587
|
-
r(
|
1587
|
+
r(C(a.result), o.oldVersion, o.newVersion, C(a.transaction), o);
|
1588
1588
|
}), t && a.addEventListener("blocked", (o) => t(
|
1589
1589
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1590
1590
|
o.oldVersion,
|
@@ -1595,13 +1595,13 @@ function Ur(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1595
1595
|
}).catch(() => {
|
1596
1596
|
}), c;
|
1597
1597
|
}
|
1598
|
-
const xr = ["get", "getKey", "getAll", "getAllKeys", "count"],
|
1598
|
+
const xr = ["get", "getKey", "getAll", "getAllKeys", "count"], jr = ["put", "add", "delete", "clear"], Ne = /* @__PURE__ */ new Map();
|
1599
1599
|
function ut(n, e) {
|
1600
1600
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
1601
1601
|
return;
|
1602
|
-
if (
|
1603
|
-
return
|
1604
|
-
const t = e.replace(/FromIndex$/, ""), r = e !== t, i =
|
1602
|
+
if (Ne.get(e))
|
1603
|
+
return Ne.get(e);
|
1604
|
+
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = jr.includes(t);
|
1605
1605
|
if (
|
1606
1606
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
1607
1607
|
!(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || xr.includes(t))
|
@@ -1615,7 +1615,7 @@ function ut(n, e) {
|
|
1615
1615
|
i && o.done
|
1616
1616
|
]))[0];
|
1617
1617
|
};
|
1618
|
-
return
|
1618
|
+
return Ne.set(e, s), s;
|
1619
1619
|
}
|
1620
1620
|
Pr((n) => ({
|
1621
1621
|
...n,
|
@@ -1646,7 +1646,7 @@ class Br {
|
|
1646
1646
|
// auth token refresh, and installations will send this string.
|
1647
1647
|
getPlatformInfoString() {
|
1648
1648
|
return this.container.getProviders().map((t) => {
|
1649
|
-
if (
|
1649
|
+
if (Fr(t)) {
|
1650
1650
|
const r = t.getImmediate();
|
1651
1651
|
return `${r.library}/${r.version}`;
|
1652
1652
|
} else
|
@@ -1654,7 +1654,7 @@ class Br {
|
|
1654
1654
|
}).filter((t) => t).join(" ");
|
1655
1655
|
}
|
1656
1656
|
}
|
1657
|
-
function
|
1657
|
+
function Fr(n) {
|
1658
1658
|
const e = n.getComponent();
|
1659
1659
|
return (e == null ? void 0 : e.type) === "VERSION";
|
1660
1660
|
}
|
@@ -1675,7 +1675,7 @@ const xe = "@firebase/app", ht = "0.10.13";
|
|
1675
1675
|
* See the License for the specific language governing permissions and
|
1676
1676
|
* limitations under the License.
|
1677
1677
|
*/
|
1678
|
-
const
|
1678
|
+
const T = new Zt("@firebase/app"), Hr = "@firebase/app-compat", Wr = "@firebase/analytics-compat", Gr = "@firebase/analytics", Vr = "@firebase/app-check-compat", zr = "@firebase/app-check", Zr = "@firebase/auth", Jr = "@firebase/auth-compat", Yr = "@firebase/database", $r = "@firebase/data-connect", Xr = "@firebase/database-compat", Kr = "@firebase/functions", qr = "@firebase/functions-compat", Qr = "@firebase/installations", ei = "@firebase/installations-compat", ti = "@firebase/messaging", ni = "@firebase/messaging-compat", ri = "@firebase/performance", ii = "@firebase/performance-compat", si = "@firebase/remote-config", ai = "@firebase/remote-config-compat", oi = "@firebase/storage", ci = "@firebase/storage-compat", li = "@firebase/firestore", di = "@firebase/vertexai-preview", ui = "@firebase/firestore-compat", hi = "firebase", pi = "10.14.1";
|
1679
1679
|
/**
|
1680
1680
|
* @license
|
1681
1681
|
* Copyright 2019 Google LLC
|
@@ -1692,17 +1692,17 @@ const w = new Zt("@firebase/app"), Gr = "@firebase/app-compat", Vr = "@firebase/
|
|
1692
1692
|
* See the License for the specific language governing permissions and
|
1693
1693
|
* limitations under the License.
|
1694
1694
|
*/
|
1695
|
-
const
|
1695
|
+
const je = "[DEFAULT]", mi = {
|
1696
1696
|
[xe]: "fire-core",
|
1697
|
-
[
|
1698
|
-
[
|
1699
|
-
[
|
1697
|
+
[Hr]: "fire-core-compat",
|
1698
|
+
[Gr]: "fire-analytics",
|
1699
|
+
[Wr]: "fire-analytics-compat",
|
1700
1700
|
[zr]: "fire-app-check",
|
1701
|
-
[
|
1701
|
+
[Vr]: "fire-app-check-compat",
|
1702
1702
|
[Zr]: "fire-auth",
|
1703
1703
|
[Jr]: "fire-auth-compat",
|
1704
|
-
[
|
1705
|
-
[
|
1704
|
+
[Yr]: "fire-rtdb",
|
1705
|
+
[$r]: "fire-data-connect",
|
1706
1706
|
[Xr]: "fire-rtdb-compat",
|
1707
1707
|
[Kr]: "fire-fn",
|
1708
1708
|
[qr]: "fire-fn-compat",
|
@@ -1743,13 +1743,13 @@ function pt(n, e) {
|
|
1743
1743
|
try {
|
1744
1744
|
n.container.addComponent(e);
|
1745
1745
|
} catch (t) {
|
1746
|
-
|
1746
|
+
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1747
1747
|
}
|
1748
1748
|
}
|
1749
|
-
function
|
1749
|
+
function $(n) {
|
1750
1750
|
const e = n.name;
|
1751
1751
|
if (Be.has(e))
|
1752
|
-
return
|
1752
|
+
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1753
1753
|
Be.set(e, n);
|
1754
1754
|
for (const t of he.values())
|
1755
1755
|
pt(t, n);
|
@@ -1757,7 +1757,7 @@ function Y(n) {
|
|
1757
1757
|
pt(t, n);
|
1758
1758
|
return !0;
|
1759
1759
|
}
|
1760
|
-
function
|
1760
|
+
function $t(n, e) {
|
1761
1761
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1762
1762
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1763
1763
|
}
|
@@ -1814,7 +1814,7 @@ const _i = {
|
|
1814
1814
|
*/
|
1815
1815
|
class gi {
|
1816
1816
|
constructor(e, t, r) {
|
1817
|
-
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new
|
1817
|
+
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new V(
|
1818
1818
|
"app",
|
1819
1819
|
() => this,
|
1820
1820
|
"PUBLIC"
|
@@ -1874,12 +1874,12 @@ const ee = pi;
|
|
1874
1874
|
function Xt(n, e = {}) {
|
1875
1875
|
let t = n;
|
1876
1876
|
typeof e != "object" && (e = { name: e });
|
1877
|
-
const r = Object.assign({ name:
|
1877
|
+
const r = Object.assign({ name: je, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
1878
1878
|
if (typeof i != "string" || !i)
|
1879
1879
|
throw D.create("bad-app-name", {
|
1880
1880
|
appName: String(i)
|
1881
1881
|
});
|
1882
|
-
if (t || (t =
|
1882
|
+
if (t || (t = Vt()), !t)
|
1883
1883
|
throw D.create(
|
1884
1884
|
"no-options"
|
1885
1885
|
/* AppError.NO_OPTIONS */
|
@@ -1890,21 +1890,21 @@ function Xt(n, e = {}) {
|
|
1890
1890
|
return s;
|
1891
1891
|
throw D.create("duplicate-app", { appName: i });
|
1892
1892
|
}
|
1893
|
-
const a = new
|
1893
|
+
const a = new Tr(i);
|
1894
1894
|
for (const o of Be.values())
|
1895
1895
|
a.addComponent(o);
|
1896
1896
|
const c = new gi(t, r, a);
|
1897
1897
|
return he.set(i, c), c;
|
1898
1898
|
}
|
1899
|
-
function Ii(n =
|
1899
|
+
function Ii(n = je) {
|
1900
1900
|
const e = he.get(n);
|
1901
|
-
if (!e && n ===
|
1901
|
+
if (!e && n === je && Vt())
|
1902
1902
|
return Xt();
|
1903
1903
|
if (!e)
|
1904
1904
|
throw D.create("no-app", { appName: n });
|
1905
1905
|
return e;
|
1906
1906
|
}
|
1907
|
-
function
|
1907
|
+
function F(n, e, t) {
|
1908
1908
|
var r;
|
1909
1909
|
let i = (r = mi[n]) !== null && r !== void 0 ? r : n;
|
1910
1910
|
t && (i += `-${t}`);
|
@@ -1913,10 +1913,10 @@ function j(n, e, t) {
|
|
1913
1913
|
const c = [
|
1914
1914
|
`Unable to register library "${i}" with version "${e}":`
|
1915
1915
|
];
|
1916
|
-
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`),
|
1916
|
+
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(c.join(" "));
|
1917
1917
|
return;
|
1918
1918
|
}
|
1919
|
-
|
1919
|
+
$(new V(
|
1920
1920
|
`${i}-version`,
|
1921
1921
|
() => ({ library: i, version: e }),
|
1922
1922
|
"VERSION"
|
@@ -1940,9 +1940,9 @@ function j(n, e, t) {
|
|
1940
1940
|
* limitations under the License.
|
1941
1941
|
*/
|
1942
1942
|
const vi = "firebase-heartbeat-database", bi = 1, X = "firebase-heartbeat-store";
|
1943
|
-
let
|
1943
|
+
let Oe = null;
|
1944
1944
|
function Kt() {
|
1945
|
-
return
|
1945
|
+
return Oe || (Oe = Ur(vi, bi, {
|
1946
1946
|
upgrade: (n, e) => {
|
1947
1947
|
switch (e) {
|
1948
1948
|
case 0:
|
@@ -1957,7 +1957,7 @@ function Kt() {
|
|
1957
1957
|
throw D.create("idb-open", {
|
1958
1958
|
originalErrorMessage: n.message
|
1959
1959
|
});
|
1960
|
-
})),
|
1960
|
+
})), Oe;
|
1961
1961
|
}
|
1962
1962
|
async function yi(n) {
|
1963
1963
|
try {
|
@@ -1965,12 +1965,12 @@ async function yi(n) {
|
|
1965
1965
|
return await t.done, r;
|
1966
1966
|
} catch (e) {
|
1967
1967
|
if (e instanceof M)
|
1968
|
-
|
1968
|
+
T.warn(e.message);
|
1969
1969
|
else {
|
1970
1970
|
const t = D.create("idb-get", {
|
1971
1971
|
originalErrorMessage: e == null ? void 0 : e.message
|
1972
1972
|
});
|
1973
|
-
|
1973
|
+
T.warn(t.message);
|
1974
1974
|
}
|
1975
1975
|
}
|
1976
1976
|
}
|
@@ -1980,12 +1980,12 @@ async function mt(n, e) {
|
|
1980
1980
|
await r.objectStore(X).put(e, qt(n)), await r.done;
|
1981
1981
|
} catch (t) {
|
1982
1982
|
if (t instanceof M)
|
1983
|
-
|
1983
|
+
T.warn(t.message);
|
1984
1984
|
else {
|
1985
1985
|
const r = D.create("idb-set", {
|
1986
1986
|
originalErrorMessage: t == null ? void 0 : t.message
|
1987
1987
|
});
|
1988
|
-
|
1988
|
+
T.warn(r.message);
|
1989
1989
|
}
|
1990
1990
|
}
|
1991
1991
|
}
|
@@ -2008,8 +2008,8 @@ function qt(n) {
|
|
2008
2008
|
* See the License for the specific language governing permissions and
|
2009
2009
|
* limitations under the License.
|
2010
2010
|
*/
|
2011
|
-
const Ei = 1024,
|
2012
|
-
class
|
2011
|
+
const Ei = 1024, Ti = 30 * 24 * 60 * 60 * 1e3;
|
2012
|
+
class wi {
|
2013
2013
|
constructor(e) {
|
2014
2014
|
this.container = e, this._heartbeatsCache = null;
|
2015
2015
|
const t = this.container.getProvider("app").getImmediate();
|
@@ -2028,10 +2028,10 @@ class Ti {
|
|
2028
2028
|
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = ft();
|
2029
2029
|
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) => {
|
2030
2030
|
const c = new Date(a.date).valueOf();
|
2031
|
-
return Date.now() - c <=
|
2031
|
+
return Date.now() - c <= Ti;
|
2032
2032
|
}), this._storage.overwrite(this._heartbeatsCache));
|
2033
2033
|
} catch (r) {
|
2034
|
-
|
2034
|
+
T.warn(r);
|
2035
2035
|
}
|
2036
2036
|
}
|
2037
2037
|
/**
|
@@ -2049,7 +2049,7 @@ class Ti {
|
|
2049
2049
|
const t = ft(), { heartbeatsToSend: r, unsentEntries: i } = ki(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
|
2050
2050
|
return this._heartbeatsCache.lastSentHeartbeatDate = t, i.length > 0 ? (this._heartbeatsCache.heartbeats = i, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), s;
|
2051
2051
|
} catch (t) {
|
2052
|
-
return
|
2052
|
+
return T.warn(t), "";
|
2053
2053
|
}
|
2054
2054
|
}
|
2055
2055
|
}
|
@@ -2148,20 +2148,20 @@ function _t(n) {
|
|
2148
2148
|
* limitations under the License.
|
2149
2149
|
*/
|
2150
2150
|
function Si(n) {
|
2151
|
-
|
2151
|
+
$(new V(
|
2152
2152
|
"platform-logger",
|
2153
2153
|
(e) => new Br(e),
|
2154
2154
|
"PRIVATE"
|
2155
2155
|
/* ComponentType.PRIVATE */
|
2156
|
-
)),
|
2156
|
+
)), $(new V(
|
2157
2157
|
"heartbeat",
|
2158
|
-
(e) => new
|
2158
|
+
(e) => new wi(e),
|
2159
2159
|
"PRIVATE"
|
2160
2160
|
/* ComponentType.PRIVATE */
|
2161
|
-
)),
|
2161
|
+
)), F(xe, ht, n), F(xe, ht, "esm2017"), F("fire-js", "");
|
2162
2162
|
}
|
2163
2163
|
Si("");
|
2164
|
-
var Ai = "firebase",
|
2164
|
+
var Ai = "firebase", Ni = "10.14.1";
|
2165
2165
|
/**
|
2166
2166
|
* @license
|
2167
2167
|
* Copyright 2020 Google LLC
|
@@ -2178,7 +2178,7 @@ var Ai = "firebase", Ci = "10.14.1";
|
|
2178
2178
|
* See the License for the specific language governing permissions and
|
2179
2179
|
* limitations under the License.
|
2180
2180
|
*/
|
2181
|
-
|
2181
|
+
F(Ai, Ni, "app");
|
2182
2182
|
var gt = function() {
|
2183
2183
|
return gt = Object.assign || function(e) {
|
2184
2184
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2201,7 +2201,7 @@ function Qt() {
|
|
2201
2201
|
"dependent-sdk-initialized-before-auth": "Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."
|
2202
2202
|
};
|
2203
2203
|
}
|
2204
|
-
const
|
2204
|
+
const Oi = Qt, en = new q("auth", "Firebase", Qt());
|
2205
2205
|
/**
|
2206
2206
|
* @license
|
2207
2207
|
* Copyright 2020 Google LLC
|
@@ -2219,7 +2219,7 @@ const Ni = Qt, en = new q("auth", "Firebase", Qt());
|
|
2219
2219
|
* limitations under the License.
|
2220
2220
|
*/
|
2221
2221
|
const pe = new Zt("@firebase/auth");
|
2222
|
-
function
|
2222
|
+
function Ci(n, ...e) {
|
2223
2223
|
pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
|
2224
2224
|
}
|
2225
2225
|
function se(n, ...e) {
|
@@ -2241,14 +2241,14 @@ function se(n, ...e) {
|
|
2241
2241
|
* See the License for the specific language governing permissions and
|
2242
2242
|
* limitations under the License.
|
2243
2243
|
*/
|
2244
|
-
function
|
2245
|
-
throw
|
2244
|
+
function w(n, ...e) {
|
2245
|
+
throw Ye(n, ...e);
|
2246
2246
|
}
|
2247
2247
|
function _(n, ...e) {
|
2248
|
-
return
|
2248
|
+
return Ye(n, ...e);
|
2249
2249
|
}
|
2250
2250
|
function tn(n, e, t) {
|
2251
|
-
const r = Object.assign(Object.assign({},
|
2251
|
+
const r = Object.assign(Object.assign({}, Oi()), { [e]: t });
|
2252
2252
|
return new q("auth", "Firebase", r).create(e, {
|
2253
2253
|
appName: n.name
|
2254
2254
|
});
|
@@ -2256,7 +2256,7 @@ function tn(n, e, t) {
|
|
2256
2256
|
function P(n) {
|
2257
2257
|
return tn(n, "operation-not-supported-in-this-environment", "Operations that alter the current user are not supported in conjunction with FirebaseServerApp");
|
2258
2258
|
}
|
2259
|
-
function
|
2259
|
+
function Ye(n, ...e) {
|
2260
2260
|
if (typeof n != "string") {
|
2261
2261
|
const t = e[0], r = [...e.slice(1)];
|
2262
2262
|
return r[0] && (r[0].appName = n.name), n._errorFactory.create(t, ...r);
|
@@ -2265,7 +2265,7 @@ function $e(n, ...e) {
|
|
2265
2265
|
}
|
2266
2266
|
function u(n, e, ...t) {
|
2267
2267
|
if (!n)
|
2268
|
-
throw
|
2268
|
+
throw Ye(e, ...t);
|
2269
2269
|
}
|
2270
2270
|
function b(n) {
|
2271
2271
|
const e = "INTERNAL ASSERTION FAILED: " + n;
|
@@ -2290,7 +2290,7 @@ function k(n, e) {
|
|
2290
2290
|
* See the License for the specific language governing permissions and
|
2291
2291
|
* limitations under the License.
|
2292
2292
|
*/
|
2293
|
-
function
|
2293
|
+
function Fe() {
|
2294
2294
|
var n;
|
2295
2295
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2296
2296
|
}
|
@@ -2377,7 +2377,7 @@ class te {
|
|
2377
2377
|
* See the License for the specific language governing permissions and
|
2378
2378
|
* limitations under the License.
|
2379
2379
|
*/
|
2380
|
-
function
|
2380
|
+
function $e(n, e) {
|
2381
2381
|
k(n.emulator, "Emulator should always be set here");
|
2382
2382
|
const { url: t } = n.emulator;
|
2383
2383
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
@@ -2593,23 +2593,23 @@ async function rn(n, e, t) {
|
|
2593
2593
|
const d = r[o] || o.toLowerCase().replace(/[_\s]+/g, "-");
|
2594
2594
|
if (l)
|
2595
2595
|
throw tn(n, d, l);
|
2596
|
-
|
2596
|
+
w(n, d);
|
2597
2597
|
}
|
2598
2598
|
} catch (i) {
|
2599
2599
|
if (i instanceof M)
|
2600
2600
|
throw i;
|
2601
|
-
|
2601
|
+
w(n, "network-request-failed", { message: String(i) });
|
2602
2602
|
}
|
2603
2603
|
}
|
2604
2604
|
async function sn(n, e, t, r, i = {}) {
|
2605
2605
|
const s = await Z(n, e, t, r, i);
|
2606
|
-
return "mfaPendingCredential" in s &&
|
2606
|
+
return "mfaPendingCredential" in s && w(n, "multi-factor-auth-required", {
|
2607
2607
|
_serverResponse: s
|
2608
2608
|
}), s;
|
2609
2609
|
}
|
2610
2610
|
function an(n, e, t, r) {
|
2611
2611
|
const i = `${e}${t}?${r}`;
|
2612
|
-
return n.config.emulator ?
|
2612
|
+
return n.config.emulator ? $e(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2613
2613
|
}
|
2614
2614
|
class xi {
|
2615
2615
|
constructor(e) {
|
@@ -2649,7 +2649,7 @@ function ie(n, e, t) {
|
|
2649
2649
|
* See the License for the specific language governing permissions and
|
2650
2650
|
* limitations under the License.
|
2651
2651
|
*/
|
2652
|
-
async function
|
2652
|
+
async function ji(n, e) {
|
2653
2653
|
return Z(n, "POST", "/v1/accounts:delete", e);
|
2654
2654
|
}
|
2655
2655
|
async function on(n, e) {
|
@@ -2671,7 +2671,7 @@ async function on(n, e) {
|
|
2671
2671
|
* See the License for the specific language governing permissions and
|
2672
2672
|
* limitations under the License.
|
2673
2673
|
*/
|
2674
|
-
function
|
2674
|
+
function Y(n) {
|
2675
2675
|
if (n)
|
2676
2676
|
try {
|
2677
2677
|
const e = new Date(Number(n));
|
@@ -2692,14 +2692,14 @@ async function Bi(n, e = !1) {
|
|
2692
2692
|
return {
|
2693
2693
|
claims: i,
|
2694
2694
|
token: r,
|
2695
|
-
authTime:
|
2696
|
-
issuedAtTime:
|
2697
|
-
expirationTime:
|
2695
|
+
authTime: Y(Ce(i.auth_time)),
|
2696
|
+
issuedAtTime: Y(Ce(i.iat)),
|
2697
|
+
expirationTime: Y(Ce(i.exp)),
|
2698
2698
|
signInProvider: a || null,
|
2699
2699
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2700
2700
|
};
|
2701
2701
|
}
|
2702
|
-
function
|
2702
|
+
function Ce(n) {
|
2703
2703
|
return Number(n) * 1e3;
|
2704
2704
|
}
|
2705
2705
|
function Xe(n) {
|
@@ -2707,7 +2707,7 @@ function Xe(n) {
|
|
2707
2707
|
if (e === void 0 || t === void 0 || r === void 0)
|
2708
2708
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2709
2709
|
try {
|
2710
|
-
const i =
|
2710
|
+
const i = Wt(t);
|
2711
2711
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2712
2712
|
} catch (i) {
|
2713
2713
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
@@ -2751,10 +2751,10 @@ async function K(n, e, t = !1) {
|
|
2751
2751
|
try {
|
2752
2752
|
return await e;
|
2753
2753
|
} catch (r) {
|
2754
|
-
throw r instanceof M &&
|
2754
|
+
throw r instanceof M && Fi(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
|
2755
2755
|
}
|
2756
2756
|
}
|
2757
|
-
function
|
2757
|
+
function Fi({ code: n }) {
|
2758
2758
|
return n === "auth/user-disabled" || n === "auth/user-token-expired";
|
2759
2759
|
}
|
2760
2760
|
/**
|
@@ -2773,7 +2773,7 @@ function ji({ code: n }) {
|
|
2773
2773
|
* See the License for the specific language governing permissions and
|
2774
2774
|
* limitations under the License.
|
2775
2775
|
*/
|
2776
|
-
class
|
2776
|
+
class Hi {
|
2777
2777
|
constructor(e) {
|
2778
2778
|
this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
|
2779
2779
|
}
|
@@ -2835,12 +2835,12 @@ class Gi {
|
|
2835
2835
|
* See the License for the specific language governing permissions and
|
2836
2836
|
* limitations under the License.
|
2837
2837
|
*/
|
2838
|
-
class
|
2838
|
+
class He {
|
2839
2839
|
constructor(e, t) {
|
2840
2840
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2841
2841
|
}
|
2842
2842
|
_initializeTime() {
|
2843
|
-
this.lastSignInTime =
|
2843
|
+
this.lastSignInTime = Y(this.lastLoginAt), this.creationTime = Y(this.createdAt);
|
2844
2844
|
}
|
2845
2845
|
_copy(e) {
|
2846
2846
|
this.createdAt = e.createdAt, this.lastLoginAt = e.lastLoginAt, this._initializeTime();
|
@@ -2879,7 +2879,7 @@ async function me(n) {
|
|
2879
2879
|
);
|
2880
2880
|
const s = i.users[0];
|
2881
2881
|
n._notifyReloadListener(s);
|
2882
|
-
const a = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], c =
|
2882
|
+
const a = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], c = Gi(n.providerData, a), o = n.isAnonymous, l = !(n.email && s.passwordHash) && !(c != null && c.length), d = o ? l : !1, h = {
|
2883
2883
|
uid: s.localId,
|
2884
2884
|
displayName: s.displayName || null,
|
2885
2885
|
photoURL: s.photoUrl || null,
|
@@ -2888,16 +2888,16 @@ async function me(n) {
|
|
2888
2888
|
phoneNumber: s.phoneNumber || null,
|
2889
2889
|
tenantId: s.tenantId || null,
|
2890
2890
|
providerData: c,
|
2891
|
-
metadata: new
|
2891
|
+
metadata: new He(s.createdAt, s.lastLoginAt),
|
2892
2892
|
isAnonymous: d
|
2893
2893
|
};
|
2894
2894
|
Object.assign(n, h);
|
2895
2895
|
}
|
2896
|
-
async function
|
2896
|
+
async function Wi(n) {
|
2897
2897
|
const e = z(n);
|
2898
2898
|
await me(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
|
2899
2899
|
}
|
2900
|
-
function
|
2900
|
+
function Gi(n, e) {
|
2901
2901
|
return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
|
2902
2902
|
}
|
2903
2903
|
function cn(n) {
|
@@ -2929,7 +2929,7 @@ function cn(n) {
|
|
2929
2929
|
* See the License for the specific language governing permissions and
|
2930
2930
|
* limitations under the License.
|
2931
2931
|
*/
|
2932
|
-
async function
|
2932
|
+
async function Vi(n, e) {
|
2933
2933
|
const t = await rn(n, {}, async () => {
|
2934
2934
|
const r = Q({
|
2935
2935
|
grant_type: "refresh_token",
|
@@ -2969,7 +2969,7 @@ async function zi(n, e) {
|
|
2969
2969
|
* See the License for the specific language governing permissions and
|
2970
2970
|
* limitations under the License.
|
2971
2971
|
*/
|
2972
|
-
class
|
2972
|
+
class H {
|
2973
2973
|
constructor() {
|
2974
2974
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2975
2975
|
}
|
@@ -3014,14 +3014,14 @@ class G {
|
|
3014
3014
|
this.refreshToken = null;
|
3015
3015
|
}
|
3016
3016
|
async refresh(e, t) {
|
3017
|
-
const { accessToken: r, refreshToken: i, expiresIn: s } = await
|
3017
|
+
const { accessToken: r, refreshToken: i, expiresIn: s } = await Vi(e, t);
|
3018
3018
|
this.updateTokensAndExpiration(r, i, Number(s));
|
3019
3019
|
}
|
3020
3020
|
updateTokensAndExpiration(e, t, r) {
|
3021
3021
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
3022
3022
|
}
|
3023
3023
|
static fromJSON(e, t) {
|
3024
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new
|
3024
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new H();
|
3025
3025
|
return r && (u(typeof r == "string", "internal-error", {
|
3026
3026
|
appName: e
|
3027
3027
|
}), a.refreshToken = r), i && (u(typeof i == "string", "internal-error", {
|
@@ -3041,7 +3041,7 @@ class G {
|
|
3041
3041
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
3042
3042
|
}
|
3043
3043
|
_clone() {
|
3044
|
-
return Object.assign(new
|
3044
|
+
return Object.assign(new H(), this.toJSON());
|
3045
3045
|
}
|
3046
3046
|
_performRefresh() {
|
3047
3047
|
return b("not implemented");
|
@@ -3069,7 +3069,7 @@ function R(n, e) {
|
|
3069
3069
|
class y {
|
3070
3070
|
constructor(e) {
|
3071
3071
|
var { uid: t, auth: r, stsTokenManager: i } = e, s = Je(e, ["uid", "auth", "stsTokenManager"]);
|
3072
|
-
this.providerId = "firebase", this.proactiveRefresh = new
|
3072
|
+
this.providerId = "firebase", this.proactiveRefresh = new Hi(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);
|
3073
3073
|
}
|
3074
3074
|
async getIdToken(e) {
|
3075
3075
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3084,7 +3084,7 @@ class y {
|
|
3084
3084
|
return Bi(this, e);
|
3085
3085
|
}
|
3086
3086
|
reload() {
|
3087
|
-
return
|
3087
|
+
return Wi(this);
|
3088
3088
|
}
|
3089
3089
|
_assign(e) {
|
3090
3090
|
this !== e && (u(
|
@@ -3123,7 +3123,7 @@ class y {
|
|
3123
3123
|
if (v(this.auth.app))
|
3124
3124
|
return Promise.reject(P(this.auth));
|
3125
3125
|
const e = await this.getIdToken();
|
3126
|
-
return await K(this,
|
3126
|
+
return await K(this, ji(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
3127
3127
|
}
|
3128
3128
|
toJSON() {
|
3129
3129
|
return Object.assign(Object.assign({
|
@@ -3151,16 +3151,16 @@ class y {
|
|
3151
3151
|
}
|
3152
3152
|
static _fromJSON(e, t) {
|
3153
3153
|
var r, i, s, a, c, o, l, d;
|
3154
|
-
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, I = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0,
|
3154
|
+
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, I = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, j = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
|
3155
3155
|
u(
|
3156
|
-
|
3156
|
+
Te && at,
|
3157
3157
|
e,
|
3158
3158
|
"internal-error"
|
3159
3159
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3160
3160
|
);
|
3161
|
-
const Pn =
|
3161
|
+
const Pn = H.fromJSON(this.name, at);
|
3162
3162
|
u(
|
3163
|
-
typeof
|
3163
|
+
typeof Te == "string",
|
3164
3164
|
e,
|
3165
3165
|
"internal-error"
|
3166
3166
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -3174,22 +3174,22 @@ class y {
|
|
3174
3174
|
e,
|
3175
3175
|
"internal-error"
|
3176
3176
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3177
|
-
), R(I, e.name), R(
|
3177
|
+
), R(I, e.name), R(j, e.name), R(tt, e.name), R(Ee, e.name), R(nt, e.name), R(rt, e.name);
|
3178
3178
|
const ke = new y({
|
3179
|
-
uid:
|
3179
|
+
uid: Te,
|
3180
3180
|
auth: e,
|
3181
3181
|
email: m,
|
3182
3182
|
emailVerified: it,
|
3183
3183
|
displayName: h,
|
3184
3184
|
isAnonymous: st,
|
3185
|
-
photoURL:
|
3185
|
+
photoURL: j,
|
3186
3186
|
phoneNumber: I,
|
3187
3187
|
tenantId: tt,
|
3188
3188
|
stsTokenManager: Pn,
|
3189
3189
|
createdAt: nt,
|
3190
3190
|
lastLoginAt: rt
|
3191
3191
|
});
|
3192
|
-
return
|
3192
|
+
return we && Array.isArray(we) && (ke.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (ke._redirectEventId = Ee), ke;
|
3193
3193
|
}
|
3194
3194
|
/**
|
3195
3195
|
* Initialize a User from an idToken server response
|
@@ -3197,7 +3197,7 @@ class y {
|
|
3197
3197
|
* @param idTokenResponse
|
3198
3198
|
*/
|
3199
3199
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
3200
|
-
const i = new
|
3200
|
+
const i = new H();
|
3201
3201
|
i.updateFromServerResponse(t);
|
3202
3202
|
const s = new y({
|
3203
3203
|
uid: t.localId,
|
@@ -3219,7 +3219,7 @@ class y {
|
|
3219
3219
|
"internal-error"
|
3220
3220
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3221
3221
|
);
|
3222
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new
|
3222
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new H();
|
3223
3223
|
c.updateFromIdToken(r);
|
3224
3224
|
const o = new y({
|
3225
3225
|
uid: i.localId,
|
@@ -3235,7 +3235,7 @@ class y {
|
|
3235
3235
|
phoneNumber: i.phoneNumber || null,
|
3236
3236
|
tenantId: i.tenantId || null,
|
3237
3237
|
providerData: s,
|
3238
|
-
metadata: new
|
3238
|
+
metadata: new He(i.createdAt, i.lastLoginAt),
|
3239
3239
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
3240
3240
|
};
|
3241
3241
|
return Object.assign(o, l), o;
|
@@ -3322,7 +3322,7 @@ const yt = ln;
|
|
3322
3322
|
function ae(n, e, t) {
|
3323
3323
|
return `firebase:${n}:${e}:${t}`;
|
3324
3324
|
}
|
3325
|
-
class
|
3325
|
+
class W {
|
3326
3326
|
constructor(e, t, r) {
|
3327
3327
|
this.persistence = e, this.auth = t, this.userKey = r;
|
3328
3328
|
const { config: i, name: s } = this.auth;
|
@@ -3353,7 +3353,7 @@ class V {
|
|
3353
3353
|
}
|
3354
3354
|
static async create(e, t, r = "authUser") {
|
3355
3355
|
if (!t.length)
|
3356
|
-
return new
|
3356
|
+
return new W(E(yt), e, r);
|
3357
3357
|
const i = (await Promise.all(t.map(async (l) => {
|
3358
3358
|
if (await l._isAvailable())
|
3359
3359
|
return l;
|
@@ -3372,13 +3372,13 @@ class V {
|
|
3372
3372
|
} catch {
|
3373
3373
|
}
|
3374
3374
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3375
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3375
|
+
return !s._shouldAllowMigration || !o.length ? new W(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
|
3376
3376
|
if (l !== s)
|
3377
3377
|
try {
|
3378
3378
|
await l._remove(a);
|
3379
3379
|
} catch {
|
3380
3380
|
}
|
3381
|
-
})), new
|
3381
|
+
})), new W(s, e, r));
|
3382
3382
|
}
|
3383
3383
|
}
|
3384
3384
|
/**
|
@@ -3510,7 +3510,7 @@ function In(n, e = []) {
|
|
3510
3510
|
* See the License for the specific language governing permissions and
|
3511
3511
|
* limitations under the License.
|
3512
3512
|
*/
|
3513
|
-
class
|
3513
|
+
class Yi {
|
3514
3514
|
constructor(e) {
|
3515
3515
|
this.auth = e, this.queue = [];
|
3516
3516
|
}
|
@@ -3565,7 +3565,7 @@ class $i {
|
|
3565
3565
|
* See the License for the specific language governing permissions and
|
3566
3566
|
* limitations under the License.
|
3567
3567
|
*/
|
3568
|
-
async function
|
3568
|
+
async function $i(n, e = {}) {
|
3569
3569
|
return Z(n, "GET", "/v2/passwordPolicy", Ie(n, e));
|
3570
3570
|
}
|
3571
3571
|
/**
|
@@ -3674,12 +3674,12 @@ class Ki {
|
|
3674
3674
|
*/
|
3675
3675
|
class qi {
|
3676
3676
|
constructor(e, t, r, i) {
|
3677
|
-
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
|
3677
|
+
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 Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = new Yi(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;
|
3678
3678
|
}
|
3679
3679
|
_initializeWithPersistence(e, t) {
|
3680
3680
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3681
3681
|
var r, i;
|
3682
|
-
if (!this._deleted && (this.persistenceManager = await
|
3682
|
+
if (!this._deleted && (this.persistenceManager = await W.create(this, e), !this._deleted)) {
|
3683
3683
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3684
3684
|
try {
|
3685
3685
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3819,7 +3819,7 @@ class qi {
|
|
3819
3819
|
return this.tenantId === null ? this._projectPasswordPolicy : this._tenantPasswordPolicies[this.tenantId];
|
3820
3820
|
}
|
3821
3821
|
async _updatePasswordPolicy() {
|
3822
|
-
const e = await
|
3822
|
+
const e = await $i(this), t = new Ki(e);
|
3823
3823
|
this.tenantId === null ? this._projectPasswordPolicy = t : this._tenantPasswordPolicies[this.tenantId] = t;
|
3824
3824
|
}
|
3825
3825
|
_getPersistence() {
|
@@ -3883,7 +3883,7 @@ class qi {
|
|
3883
3883
|
this,
|
3884
3884
|
"argument-error"
|
3885
3885
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3886
|
-
), this.redirectPersistenceManager = await
|
3886
|
+
), this.redirectPersistenceManager = await W.create(
|
3887
3887
|
this,
|
3888
3888
|
[E(t._redirectPersistence)],
|
3889
3889
|
"redirectUser"
|
@@ -4002,13 +4002,13 @@ class qi {
|
|
4002
4002
|
async _getAppCheckToken() {
|
4003
4003
|
var e;
|
4004
4004
|
const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
|
4005
|
-
return t != null && t.error &&
|
4005
|
+
return t != null && t.error && Ci(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
4006
4006
|
}
|
4007
4007
|
}
|
4008
4008
|
function ve(n) {
|
4009
4009
|
return z(n);
|
4010
4010
|
}
|
4011
|
-
class
|
4011
|
+
class Tt {
|
4012
4012
|
constructor(e) {
|
4013
4013
|
this.auth = e, this.observer = null, this.addObserver = gr((t) => this.observer = t);
|
4014
4014
|
}
|
@@ -4074,12 +4074,12 @@ function ns(n) {
|
|
4074
4074
|
* limitations under the License.
|
4075
4075
|
*/
|
4076
4076
|
function rs(n, e) {
|
4077
|
-
const t =
|
4077
|
+
const t = $t(n, "auth");
|
4078
4078
|
if (t.isInitialized()) {
|
4079
4079
|
const i = t.getImmediate(), s = t.getOptions();
|
4080
4080
|
if (ue(s, e ?? {}))
|
4081
4081
|
return i;
|
4082
|
-
|
4082
|
+
w(
|
4083
4083
|
i,
|
4084
4084
|
"already-initialized"
|
4085
4085
|
/* AuthErrorCode.ALREADY_INITIALIZED */
|
@@ -4123,13 +4123,13 @@ function as(n) {
|
|
4123
4123
|
const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
|
4124
4124
|
if (i) {
|
4125
4125
|
const s = i[1];
|
4126
|
-
return { host: s, port:
|
4126
|
+
return { host: s, port: wt(r.substr(s.length + 1)) };
|
4127
4127
|
} else {
|
4128
4128
|
const [s, a] = r.split(":");
|
4129
|
-
return { host: s, port:
|
4129
|
+
return { host: s, port: wt(a) };
|
4130
4130
|
}
|
4131
4131
|
}
|
4132
|
-
function
|
4132
|
+
function wt(n) {
|
4133
4133
|
if (!n)
|
4134
4134
|
return null;
|
4135
4135
|
const e = Number(n);
|
@@ -4200,7 +4200,7 @@ class bn {
|
|
4200
4200
|
* See the License for the specific language governing permissions and
|
4201
4201
|
* limitations under the License.
|
4202
4202
|
*/
|
4203
|
-
async function
|
4203
|
+
async function G(n, e) {
|
4204
4204
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", Ie(n, e));
|
4205
4205
|
}
|
4206
4206
|
/**
|
@@ -4227,7 +4227,7 @@ class U extends bn {
|
|
4227
4227
|
/** @internal */
|
4228
4228
|
static _fromParams(e) {
|
4229
4229
|
const t = new U(e.providerId, e.signInMethod);
|
4230
|
-
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) :
|
4230
|
+
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) : w(
|
4231
4231
|
"argument-error"
|
4232
4232
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
4233
4233
|
), t;
|
@@ -4263,17 +4263,17 @@ class U extends bn {
|
|
4263
4263
|
/** @internal */
|
4264
4264
|
_getIdTokenResponse(e) {
|
4265
4265
|
const t = this.buildRequest();
|
4266
|
-
return
|
4266
|
+
return G(e, t);
|
4267
4267
|
}
|
4268
4268
|
/** @internal */
|
4269
4269
|
_linkToIdToken(e, t) {
|
4270
4270
|
const r = this.buildRequest();
|
4271
|
-
return r.idToken = t,
|
4271
|
+
return r.idToken = t, G(e, r);
|
4272
4272
|
}
|
4273
4273
|
/** @internal */
|
4274
4274
|
_getReauthenticationResolver(e) {
|
4275
4275
|
const t = this.buildRequest();
|
4276
|
-
return t.autoCreate = !1,
|
4276
|
+
return t.autoCreate = !1, G(e, t);
|
4277
4277
|
}
|
4278
4278
|
buildRequest() {
|
4279
4279
|
const e = {
|
@@ -4540,7 +4540,7 @@ A.PROVIDER_ID = "google.com";
|
|
4540
4540
|
* See the License for the specific language governing permissions and
|
4541
4541
|
* limitations under the License.
|
4542
4542
|
*/
|
4543
|
-
class
|
4543
|
+
class N extends ne {
|
4544
4544
|
constructor() {
|
4545
4545
|
super(
|
4546
4546
|
"github.com"
|
@@ -4554,8 +4554,8 @@ class C extends ne {
|
|
4554
4554
|
*/
|
4555
4555
|
static credential(e) {
|
4556
4556
|
return U._fromParams({
|
4557
|
-
providerId:
|
4558
|
-
signInMethod:
|
4557
|
+
providerId: N.PROVIDER_ID,
|
4558
|
+
signInMethod: N.GITHUB_SIGN_IN_METHOD,
|
4559
4559
|
accessToken: e
|
4560
4560
|
});
|
4561
4561
|
}
|
@@ -4565,7 +4565,7 @@ class C extends ne {
|
|
4565
4565
|
* @param userCredential - The user credential.
|
4566
4566
|
*/
|
4567
4567
|
static credentialFromResult(e) {
|
4568
|
-
return
|
4568
|
+
return N.credentialFromTaggedObject(e);
|
4569
4569
|
}
|
4570
4570
|
/**
|
4571
4571
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4574,20 +4574,20 @@ class C extends ne {
|
|
4574
4574
|
* @param userCredential - The user credential.
|
4575
4575
|
*/
|
4576
4576
|
static credentialFromError(e) {
|
4577
|
-
return
|
4577
|
+
return N.credentialFromTaggedObject(e.customData || {});
|
4578
4578
|
}
|
4579
4579
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4580
4580
|
if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
|
4581
4581
|
return null;
|
4582
4582
|
try {
|
4583
|
-
return
|
4583
|
+
return N.credential(e.oauthAccessToken);
|
4584
4584
|
} catch {
|
4585
4585
|
return null;
|
4586
4586
|
}
|
4587
4587
|
}
|
4588
4588
|
}
|
4589
|
-
|
4590
|
-
|
4589
|
+
N.GITHUB_SIGN_IN_METHOD = "github.com";
|
4590
|
+
N.PROVIDER_ID = "github.com";
|
4591
4591
|
/**
|
4592
4592
|
* @license
|
4593
4593
|
* Copyright 2020 Google LLC
|
@@ -4604,7 +4604,7 @@ C.PROVIDER_ID = "github.com";
|
|
4604
4604
|
* See the License for the specific language governing permissions and
|
4605
4605
|
* limitations under the License.
|
4606
4606
|
*/
|
4607
|
-
class
|
4607
|
+
class O extends ne {
|
4608
4608
|
constructor() {
|
4609
4609
|
super(
|
4610
4610
|
"twitter.com"
|
@@ -4619,8 +4619,8 @@ class N extends ne {
|
|
4619
4619
|
*/
|
4620
4620
|
static credential(e, t) {
|
4621
4621
|
return U._fromParams({
|
4622
|
-
providerId:
|
4623
|
-
signInMethod:
|
4622
|
+
providerId: O.PROVIDER_ID,
|
4623
|
+
signInMethod: O.TWITTER_SIGN_IN_METHOD,
|
4624
4624
|
oauthToken: e,
|
4625
4625
|
oauthTokenSecret: t
|
4626
4626
|
});
|
@@ -4631,7 +4631,7 @@ class N extends ne {
|
|
4631
4631
|
* @param userCredential - The user credential.
|
4632
4632
|
*/
|
4633
4633
|
static credentialFromResult(e) {
|
4634
|
-
return
|
4634
|
+
return O.credentialFromTaggedObject(e);
|
4635
4635
|
}
|
4636
4636
|
/**
|
4637
4637
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4640,7 +4640,7 @@ class N extends ne {
|
|
4640
4640
|
* @param userCredential - The user credential.
|
4641
4641
|
*/
|
4642
4642
|
static credentialFromError(e) {
|
4643
|
-
return
|
4643
|
+
return O.credentialFromTaggedObject(e.customData || {});
|
4644
4644
|
}
|
4645
4645
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4646
4646
|
if (!e)
|
@@ -4649,14 +4649,14 @@ class N extends ne {
|
|
4649
4649
|
if (!t || !r)
|
4650
4650
|
return null;
|
4651
4651
|
try {
|
4652
|
-
return
|
4652
|
+
return O.credential(t, r);
|
4653
4653
|
} catch {
|
4654
4654
|
return null;
|
4655
4655
|
}
|
4656
4656
|
}
|
4657
4657
|
}
|
4658
|
-
|
4659
|
-
|
4658
|
+
O.TWITTER_SIGN_IN_METHOD = "twitter.com";
|
4659
|
+
O.PROVIDER_ID = "twitter.com";
|
4660
4660
|
/**
|
4661
4661
|
* @license
|
4662
4662
|
* Copyright 2020 Google LLC
|
@@ -4787,7 +4787,7 @@ async function ds(n, e, t = !1) {
|
|
4787
4787
|
/* AuthErrorCode.USER_MISMATCH */
|
4788
4788
|
), x._forOperation(n, i, s);
|
4789
4789
|
} catch (s) {
|
4790
|
-
throw (s == null ? void 0 : s.code) === "auth/user-not-found" &&
|
4790
|
+
throw (s == null ? void 0 : s.code) === "auth/user-not-found" && w(
|
4791
4791
|
r,
|
4792
4792
|
"user-mismatch"
|
4793
4793
|
/* AuthErrorCode.USER_MISMATCH */
|
@@ -4883,7 +4883,7 @@ const _e = "__sak";
|
|
4883
4883
|
* See the License for the specific language governing permissions and
|
4884
4884
|
* limitations under the License.
|
4885
4885
|
*/
|
4886
|
-
class
|
4886
|
+
class Tn {
|
4887
4887
|
constructor(e, t) {
|
4888
4888
|
this.storageRetriever = e, this.type = t;
|
4889
4889
|
}
|
@@ -4925,7 +4925,7 @@ class wn {
|
|
4925
4925
|
* limitations under the License.
|
4926
4926
|
*/
|
4927
4927
|
const _s = 1e3, gs = 10;
|
4928
|
-
class
|
4928
|
+
class wn extends Tn {
|
4929
4929
|
constructor() {
|
4930
4930
|
super(
|
4931
4931
|
() => window.localStorage,
|
@@ -5003,8 +5003,8 @@ class Tn extends wn {
|
|
5003
5003
|
await super._remove(e), delete this.localCache[e];
|
5004
5004
|
}
|
5005
5005
|
}
|
5006
|
-
|
5007
|
-
const Is =
|
5006
|
+
wn.type = "LOCAL";
|
5007
|
+
const Is = wn;
|
5008
5008
|
/**
|
5009
5009
|
* @license
|
5010
5010
|
* Copyright 2020 Google LLC
|
@@ -5021,7 +5021,7 @@ const Is = Tn;
|
|
5021
5021
|
* See the License for the specific language governing permissions and
|
5022
5022
|
* limitations under the License.
|
5023
5023
|
*/
|
5024
|
-
class kn extends
|
5024
|
+
class kn extends Tn {
|
5025
5025
|
constructor() {
|
5026
5026
|
super(
|
5027
5027
|
() => window.sessionStorage,
|
@@ -5321,11 +5321,11 @@ async function Es() {
|
|
5321
5321
|
return null;
|
5322
5322
|
}
|
5323
5323
|
}
|
5324
|
-
function
|
5324
|
+
function Ts() {
|
5325
5325
|
var n;
|
5326
5326
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
5327
5327
|
}
|
5328
|
-
function
|
5328
|
+
function ws() {
|
5329
5329
|
return Sn() ? self : null;
|
5330
5330
|
}
|
5331
5331
|
/**
|
@@ -5344,7 +5344,7 @@ function Ts() {
|
|
5344
5344
|
* See the License for the specific language governing permissions and
|
5345
5345
|
* limitations under the License.
|
5346
5346
|
*/
|
5347
|
-
const An = "firebaseLocalStorageDb", ks = 1, ge = "firebaseLocalStorage",
|
5347
|
+
const An = "firebaseLocalStorageDb", ks = 1, ge = "firebaseLocalStorage", Nn = "fbase_key";
|
5348
5348
|
class re {
|
5349
5349
|
constructor(e) {
|
5350
5350
|
this.request = e;
|
@@ -5366,7 +5366,7 @@ function Rs() {
|
|
5366
5366
|
const n = indexedDB.deleteDatabase(An);
|
5367
5367
|
return new re(n).toPromise();
|
5368
5368
|
}
|
5369
|
-
function
|
5369
|
+
function We() {
|
5370
5370
|
const n = indexedDB.open(An, ks);
|
5371
5371
|
return new Promise((e, t) => {
|
5372
5372
|
n.addEventListener("error", () => {
|
@@ -5374,19 +5374,19 @@ function Ve() {
|
|
5374
5374
|
}), n.addEventListener("upgradeneeded", () => {
|
5375
5375
|
const r = n.result;
|
5376
5376
|
try {
|
5377
|
-
r.createObjectStore(ge, { keyPath:
|
5377
|
+
r.createObjectStore(ge, { keyPath: Nn });
|
5378
5378
|
} catch (i) {
|
5379
5379
|
t(i);
|
5380
5380
|
}
|
5381
5381
|
}), n.addEventListener("success", async () => {
|
5382
5382
|
const r = n.result;
|
5383
|
-
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Rs(), e(await
|
5383
|
+
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Rs(), e(await We()));
|
5384
5384
|
});
|
5385
5385
|
});
|
5386
5386
|
}
|
5387
5387
|
async function Rt(n, e, t) {
|
5388
5388
|
const r = ye(n, !0).put({
|
5389
|
-
[
|
5389
|
+
[Nn]: e,
|
5390
5390
|
value: t
|
5391
5391
|
});
|
5392
5392
|
return new re(r).toPromise();
|
@@ -5399,15 +5399,15 @@ function St(n, e) {
|
|
5399
5399
|
const t = ye(n, !0).delete(e);
|
5400
5400
|
return new re(t).toPromise();
|
5401
5401
|
}
|
5402
|
-
const As = 800,
|
5403
|
-
class
|
5402
|
+
const As = 800, Ns = 3;
|
5403
|
+
class On {
|
5404
5404
|
constructor() {
|
5405
5405
|
this.type = "LOCAL", this._shouldAllowMigration = !0, this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.pendingWrites = 0, this.receiver = null, this.sender = null, this.serviceWorkerReceiverAvailable = !1, this.activeServiceWorker = null, this._workerInitializationPromise = this.initializeServiceWorkerMessaging().then(() => {
|
5406
5406
|
}, () => {
|
5407
5407
|
});
|
5408
5408
|
}
|
5409
5409
|
async _openDb() {
|
5410
|
-
return this.db ? this.db : (this.db = await
|
5410
|
+
return this.db ? this.db : (this.db = await We(), this.db);
|
5411
5411
|
}
|
5412
5412
|
async _withRetries(e) {
|
5413
5413
|
let t = 0;
|
@@ -5416,7 +5416,7 @@ class Nn {
|
|
5416
5416
|
const r = await this._openDb();
|
5417
5417
|
return await e(r);
|
5418
5418
|
} catch (r) {
|
5419
|
-
if (t++ >
|
5419
|
+
if (t++ > Ns)
|
5420
5420
|
throw r;
|
5421
5421
|
this.db && (this.db.close(), this.db = void 0);
|
5422
5422
|
}
|
@@ -5432,7 +5432,7 @@ class Nn {
|
|
5432
5432
|
* As the worker we should listen to events from the main window.
|
5433
5433
|
*/
|
5434
5434
|
async initializeReceiver() {
|
5435
|
-
this.receiver = be._getInstance(
|
5435
|
+
this.receiver = be._getInstance(ws()), this.receiver._subscribe("keyChanged", async (e, t) => ({
|
5436
5436
|
keyProcessed: (await this._poll()).includes(t.key)
|
5437
5437
|
})), this.receiver._subscribe("ping", async (e, t) => [
|
5438
5438
|
"keyChanged"
|
@@ -5472,7 +5472,7 @@ class Nn {
|
|
5472
5472
|
* @param key - Storage key which changed.
|
5473
5473
|
*/
|
5474
5474
|
async notifyServiceWorker(e) {
|
5475
|
-
if (!(!this.sender || !this.activeServiceWorker ||
|
5475
|
+
if (!(!this.sender || !this.activeServiceWorker || Ts() !== this.activeServiceWorker))
|
5476
5476
|
try {
|
5477
5477
|
await this.sender._send(
|
5478
5478
|
"keyChanged",
|
@@ -5488,7 +5488,7 @@ class Nn {
|
|
5488
5488
|
try {
|
5489
5489
|
if (!indexedDB)
|
5490
5490
|
return !1;
|
5491
|
-
const e = await
|
5491
|
+
const e = await We();
|
5492
5492
|
return await Rt(e, _e, "1"), await St(e, _e), !0;
|
5493
5493
|
} catch {
|
5494
5494
|
}
|
@@ -5549,8 +5549,8 @@ class Nn {
|
|
5549
5549
|
this.listeners[e] && (this.listeners[e].delete(t), this.listeners[e].size === 0 && delete this.listeners[e]), Object.keys(this.listeners).length === 0 && this.stopPolling();
|
5550
5550
|
}
|
5551
5551
|
}
|
5552
|
-
|
5553
|
-
const
|
5552
|
+
On.type = "LOCAL";
|
5553
|
+
const Os = On;
|
5554
5554
|
new te(3e4, 6e4);
|
5555
5555
|
/**
|
5556
5556
|
* @license
|
@@ -5568,7 +5568,7 @@ new te(3e4, 6e4);
|
|
5568
5568
|
* See the License for the specific language governing permissions and
|
5569
5569
|
* limitations under the License.
|
5570
5570
|
*/
|
5571
|
-
function
|
5571
|
+
function Cs(n, e) {
|
5572
5572
|
return e ? E(e) : (u(
|
5573
5573
|
n._popupRedirectResolver,
|
5574
5574
|
n,
|
@@ -5601,13 +5601,13 @@ class et extends bn {
|
|
5601
5601
|
), this.params = e;
|
5602
5602
|
}
|
5603
5603
|
_getIdTokenResponse(e) {
|
5604
|
-
return
|
5604
|
+
return G(e, this._buildIdpRequest());
|
5605
5605
|
}
|
5606
5606
|
_linkToIdToken(e, t) {
|
5607
|
-
return
|
5607
|
+
return G(e, this._buildIdpRequest(t));
|
5608
5608
|
}
|
5609
5609
|
_getReauthenticationResolver(e) {
|
5610
|
-
return
|
5610
|
+
return G(e, this._buildIdpRequest());
|
5611
5611
|
}
|
5612
5612
|
_buildIdpRequest(e) {
|
5613
5613
|
const t = {
|
@@ -5659,7 +5659,7 @@ async function Ms(n) {
|
|
5659
5659
|
* See the License for the specific language governing permissions and
|
5660
5660
|
* limitations under the License.
|
5661
5661
|
*/
|
5662
|
-
class
|
5662
|
+
class Cn {
|
5663
5663
|
constructor(e, t, r, i, s = !1) {
|
5664
5664
|
this.auth = e, this.resolver = r, this.user = i, this.bypassAuthState = s, this.pendingPromise = null, this.eventManager = null, this.filter = Array.isArray(t) ? t : [t];
|
5665
5665
|
}
|
@@ -5709,7 +5709,7 @@ class On {
|
|
5709
5709
|
case "reauthViaRedirect":
|
5710
5710
|
return Ps;
|
5711
5711
|
default:
|
5712
|
-
|
5712
|
+
w(
|
5713
5713
|
this.auth,
|
5714
5714
|
"internal-error"
|
5715
5715
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -5743,7 +5743,7 @@ class On {
|
|
5743
5743
|
* limitations under the License.
|
5744
5744
|
*/
|
5745
5745
|
const Ls = new te(2e3, 1e4);
|
5746
|
-
class B extends
|
5746
|
+
class B extends Cn {
|
5747
5747
|
constructor(e, t, r, i, s) {
|
5748
5748
|
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, B.currentPopupAction && B.currentPopupAction.cancel(), B.currentPopupAction = this;
|
5749
5749
|
}
|
@@ -5829,7 +5829,7 @@ B.currentPopupAction = null;
|
|
5829
5829
|
* limitations under the License.
|
5830
5830
|
*/
|
5831
5831
|
const Us = "pendingRedirect", oe = /* @__PURE__ */ new Map();
|
5832
|
-
class xs extends
|
5832
|
+
class xs extends Cn {
|
5833
5833
|
constructor(e, t, r = !1) {
|
5834
5834
|
super(e, [
|
5835
5835
|
"signInViaRedirect",
|
@@ -5847,7 +5847,7 @@ class xs extends On {
|
|
5847
5847
|
let e = oe.get(this.auth._key());
|
5848
5848
|
if (!e) {
|
5849
5849
|
try {
|
5850
|
-
const r = await
|
5850
|
+
const r = await js(this.resolver, this.auth) ? await super.execute() : null;
|
5851
5851
|
e = () => Promise.resolve(r);
|
5852
5852
|
} catch (t) {
|
5853
5853
|
e = () => Promise.reject(t);
|
@@ -5875,8 +5875,8 @@ class xs extends On {
|
|
5875
5875
|
cleanUp() {
|
5876
5876
|
}
|
5877
5877
|
}
|
5878
|
-
async function
|
5879
|
-
const t =
|
5878
|
+
async function js(n, e) {
|
5879
|
+
const t = Hs(e), r = Fs(n);
|
5880
5880
|
if (!await r._isAvailable())
|
5881
5881
|
return !1;
|
5882
5882
|
const i = await r._get(t) === "true";
|
@@ -5885,16 +5885,16 @@ async function Fs(n, e) {
|
|
5885
5885
|
function Bs(n, e) {
|
5886
5886
|
oe.set(n._key(), e);
|
5887
5887
|
}
|
5888
|
-
function
|
5888
|
+
function Fs(n) {
|
5889
5889
|
return E(n._redirectPersistence);
|
5890
5890
|
}
|
5891
|
-
function
|
5891
|
+
function Hs(n) {
|
5892
5892
|
return ae(Us, n.config.apiKey, n.name);
|
5893
5893
|
}
|
5894
|
-
async function
|
5894
|
+
async function Ws(n, e, t = !1) {
|
5895
5895
|
if (v(n.app))
|
5896
5896
|
return Promise.reject(P(n));
|
5897
|
-
const r = ve(n), i =
|
5897
|
+
const r = ve(n), i = Cs(r, e), a = await new xs(r, i, t).execute();
|
5898
5898
|
return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
|
5899
5899
|
}
|
5900
5900
|
/**
|
@@ -5913,8 +5913,8 @@ async function Vs(n, e, t = !1) {
|
|
5913
5913
|
* See the License for the specific language governing permissions and
|
5914
5914
|
* limitations under the License.
|
5915
5915
|
*/
|
5916
|
-
const
|
5917
|
-
class
|
5916
|
+
const Gs = 10 * 60 * 1e3;
|
5917
|
+
class Vs {
|
5918
5918
|
constructor(e) {
|
5919
5919
|
this.auth = e, this.cachedEventUids = /* @__PURE__ */ new Set(), this.consumers = /* @__PURE__ */ new Set(), this.queuedRedirectEvent = null, this.hasHandledPotentialRedirect = !1, this.lastProcessedEventTime = Date.now();
|
5920
5920
|
}
|
@@ -5945,7 +5945,7 @@ class Ws {
|
|
5945
5945
|
return t.filter.includes(e.type) && r;
|
5946
5946
|
}
|
5947
5947
|
hasEventBeenHandled(e) {
|
5948
|
-
return Date.now() - this.lastProcessedEventTime >=
|
5948
|
+
return Date.now() - this.lastProcessedEventTime >= Gs && this.cachedEventUids.clear(), this.cachedEventUids.has(At(e));
|
5949
5949
|
}
|
5950
5950
|
saveEventToCache(e) {
|
5951
5951
|
this.cachedEventUids.add(At(e)), this.lastProcessedEventTime = Date.now();
|
@@ -6004,8 +6004,8 @@ async function Zs(n, e = {}) {
|
|
6004
6004
|
* See the License for the specific language governing permissions and
|
6005
6005
|
* limitations under the License.
|
6006
6006
|
*/
|
6007
|
-
const Js = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,
|
6008
|
-
async function
|
6007
|
+
const Js = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Ys = /^https?/;
|
6008
|
+
async function $s(n) {
|
6009
6009
|
if (n.config.emulator)
|
6010
6010
|
return;
|
6011
6011
|
const { authorizedDomains: e } = await Zs(n);
|
@@ -6015,19 +6015,19 @@ async function Ys(n) {
|
|
6015
6015
|
return;
|
6016
6016
|
} catch {
|
6017
6017
|
}
|
6018
|
-
|
6018
|
+
w(
|
6019
6019
|
n,
|
6020
6020
|
"unauthorized-domain"
|
6021
6021
|
/* AuthErrorCode.INVALID_ORIGIN */
|
6022
6022
|
);
|
6023
6023
|
}
|
6024
6024
|
function Xs(n) {
|
6025
|
-
const e =
|
6025
|
+
const e = Fe(), { protocol: t, hostname: r } = new URL(e);
|
6026
6026
|
if (n.startsWith("chrome-extension://")) {
|
6027
6027
|
const a = new URL(n);
|
6028
6028
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
6029
6029
|
}
|
6030
|
-
if (
|
6030
|
+
if (!Ys.test(t))
|
6031
6031
|
return !1;
|
6032
6032
|
if (Js.test(n))
|
6033
6033
|
return r === n;
|
@@ -6051,7 +6051,7 @@ function Xs(n) {
|
|
6051
6051
|
* limitations under the License.
|
6052
6052
|
*/
|
6053
6053
|
const Ks = new te(3e4, 6e4);
|
6054
|
-
function
|
6054
|
+
function Nt() {
|
6055
6055
|
const n = g().___jsl;
|
6056
6056
|
if (n != null && n.H) {
|
6057
6057
|
for (const e of Object.keys(n.H))
|
@@ -6064,12 +6064,12 @@ function qs(n) {
|
|
6064
6064
|
return new Promise((e, t) => {
|
6065
6065
|
var r, i, s;
|
6066
6066
|
function a() {
|
6067
|
-
|
6067
|
+
Nt(), gapi.load("gapi.iframes", {
|
6068
6068
|
callback: () => {
|
6069
6069
|
e(gapi.iframes.getContext());
|
6070
6070
|
},
|
6071
6071
|
ontimeout: () => {
|
6072
|
-
|
6072
|
+
Nt(), t(_(
|
6073
6073
|
n,
|
6074
6074
|
"network-request-failed"
|
6075
6075
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
@@ -6139,7 +6139,7 @@ function sa(n) {
|
|
6139
6139
|
"auth-domain-config-required"
|
6140
6140
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
6141
6141
|
);
|
6142
|
-
const t = e.emulator ?
|
6142
|
+
const t = e.emulator ? $e(e, na) : `https://${n.config.authDomain}/${ta}`, r = {
|
6143
6143
|
apiKey: e.apiKey,
|
6144
6144
|
appName: n.name,
|
6145
6145
|
v: ee
|
@@ -6203,7 +6203,7 @@ const oa = {
|
|
6203
6203
|
statusbar: "yes",
|
6204
6204
|
toolbar: "no"
|
6205
6205
|
}, ca = 500, la = 600, da = "_blank", ua = "http://localhost";
|
6206
|
-
class
|
6206
|
+
class Ot {
|
6207
6207
|
constructor(e) {
|
6208
6208
|
this.window = e, this.associatedEvent = null;
|
6209
6209
|
}
|
@@ -6225,9 +6225,9 @@ function ha(n, e, t, r = ca, i = la) {
|
|
6225
6225
|
left: a
|
6226
6226
|
}), l = f().toLowerCase();
|
6227
6227
|
t && (c = hn(l) ? da : t), dn(l) && (e = e || ua, o.scrollbars = "yes");
|
6228
|
-
const d = Object.entries(o).reduce((m, [I,
|
6228
|
+
const d = Object.entries(o).reduce((m, [I, j]) => `${m}${I}=${j},`, "");
|
6229
6229
|
if (Zi(l) && c !== "_self")
|
6230
|
-
return pa(e || "", c), new
|
6230
|
+
return pa(e || "", c), new Ot(null);
|
6231
6231
|
const h = window.open(e || "", c, d);
|
6232
6232
|
u(
|
6233
6233
|
h,
|
@@ -6239,7 +6239,7 @@ function ha(n, e, t, r = ca, i = la) {
|
|
6239
6239
|
h.focus();
|
6240
6240
|
} catch {
|
6241
6241
|
}
|
6242
|
-
return new
|
6242
|
+
return new Ot(h);
|
6243
6243
|
}
|
6244
6244
|
function pa(n, e) {
|
6245
6245
|
const t = document.createElement("a");
|
@@ -6264,7 +6264,7 @@ function pa(n, e) {
|
|
6264
6264
|
* limitations under the License.
|
6265
6265
|
*/
|
6266
6266
|
const ma = "__/auth/handler", fa = "emulator/auth/handler", _a = encodeURIComponent("fac");
|
6267
|
-
async function
|
6267
|
+
async function Ct(n, e, t, r, i, s) {
|
6268
6268
|
u(
|
6269
6269
|
n.config.authDomain,
|
6270
6270
|
n,
|
@@ -6301,7 +6301,7 @@ async function Ot(n, e, t, r, i, s) {
|
|
6301
6301
|
return `${ga(n)}?${Q(c).slice(1)}${l}`;
|
6302
6302
|
}
|
6303
6303
|
function ga({ config: n }) {
|
6304
|
-
return n.emulator ?
|
6304
|
+
return n.emulator ? $e(n, fa) : `https://${n.authDomain}/${ma}`;
|
6305
6305
|
}
|
6306
6306
|
/**
|
6307
6307
|
* @license
|
@@ -6322,19 +6322,19 @@ function ga({ config: n }) {
|
|
6322
6322
|
const De = "webStorageSupport";
|
6323
6323
|
class Ia {
|
6324
6324
|
constructor() {
|
6325
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn =
|
6325
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn = Ws, this._overrideRedirectResult = Bs;
|
6326
6326
|
}
|
6327
6327
|
// Wrapping in async even though we don't await anywhere in order
|
6328
6328
|
// to make sure errors are raised as promise rejections
|
6329
6329
|
async _openPopup(e, t, r, i) {
|
6330
6330
|
var s;
|
6331
6331
|
k((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6332
|
-
const a = await
|
6332
|
+
const a = await Ct(e, t, r, Fe(), i);
|
6333
6333
|
return ha(e, a, Qe());
|
6334
6334
|
}
|
6335
6335
|
async _openRedirect(e, t, r, i) {
|
6336
6336
|
await this._originValidation(e);
|
6337
|
-
const s = await
|
6337
|
+
const s = await Ct(e, t, r, Fe(), i);
|
6338
6338
|
return ys(s), new Promise(() => {
|
6339
6339
|
});
|
6340
6340
|
}
|
@@ -6350,7 +6350,7 @@ class Ia {
|
|
6350
6350
|
}), r;
|
6351
6351
|
}
|
6352
6352
|
async initAndGetManager(e) {
|
6353
|
-
const t = await aa(e), r = new
|
6353
|
+
const t = await aa(e), r = new Vs(e);
|
6354
6354
|
return t.register("authEvent", (i) => (u(
|
6355
6355
|
i == null ? void 0 : i.authEvent,
|
6356
6356
|
e,
|
@@ -6365,7 +6365,7 @@ class Ia {
|
|
6365
6365
|
this.iframes[e._key()].send(De, { type: De }, (i) => {
|
6366
6366
|
var s;
|
6367
6367
|
const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[De];
|
6368
|
-
a !== void 0 && t(!!a),
|
6368
|
+
a !== void 0 && t(!!a), w(
|
6369
6369
|
e,
|
6370
6370
|
"internal-error"
|
6371
6371
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -6374,7 +6374,7 @@ class Ia {
|
|
6374
6374
|
}
|
6375
6375
|
_originValidation(e) {
|
6376
6376
|
const t = e._key();
|
6377
|
-
return this.originValidationPromises[t] || (this.originValidationPromises[t] =
|
6377
|
+
return this.originValidationPromises[t] || (this.originValidationPromises[t] = $s(e)), this.originValidationPromises[t];
|
6378
6378
|
}
|
6379
6379
|
get _shouldInitProactively() {
|
6380
6380
|
return gn() || un() || Ke();
|
@@ -6466,7 +6466,7 @@ function ya(n) {
|
|
6466
6466
|
}
|
6467
6467
|
}
|
6468
6468
|
function Ea(n) {
|
6469
|
-
|
6469
|
+
$(new V(
|
6470
6470
|
"auth",
|
6471
6471
|
(e, { options: t }) => {
|
6472
6472
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
|
@@ -6492,7 +6492,7 @@ function Ea(n) {
|
|
6492
6492
|
"auth-internal"
|
6493
6493
|
/* _ComponentName.AUTH_INTERNAL */
|
6494
6494
|
).initialize();
|
6495
|
-
})),
|
6495
|
+
})), $(new V(
|
6496
6496
|
"auth-internal",
|
6497
6497
|
(e) => {
|
6498
6498
|
const t = ve(e.getProvider(
|
@@ -6506,7 +6506,7 @@ function Ea(n) {
|
|
6506
6506
|
).setInstantiationMode(
|
6507
6507
|
"EXPLICIT"
|
6508
6508
|
/* InstantiationMode.EXPLICIT */
|
6509
|
-
)),
|
6509
|
+
)), F(Dt, Pt, ya(n)), F(Dt, Pt, "esm2017");
|
6510
6510
|
}
|
6511
6511
|
/**
|
6512
6512
|
* @license
|
@@ -6524,11 +6524,11 @@ function Ea(n) {
|
|
6524
6524
|
* See the License for the specific language governing permissions and
|
6525
6525
|
* limitations under the License.
|
6526
6526
|
*/
|
6527
|
-
const
|
6527
|
+
const Ta = 5 * 60, wa = zt("authIdTokenMaxAge") || Ta;
|
6528
6528
|
let Mt = null;
|
6529
6529
|
const ka = (n) => async (e) => {
|
6530
6530
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
6531
|
-
if (r && r >
|
6531
|
+
if (r && r > wa)
|
6532
6532
|
return;
|
6533
6533
|
const i = t == null ? void 0 : t.token;
|
6534
6534
|
Mt !== i && (Mt = i, await fetch(n, {
|
@@ -6539,13 +6539,13 @@ const ka = (n) => async (e) => {
|
|
6539
6539
|
}));
|
6540
6540
|
};
|
6541
6541
|
function Ra(n = Ii()) {
|
6542
|
-
const e =
|
6542
|
+
const e = $t(n, "auth");
|
6543
6543
|
if (e.isInitialized())
|
6544
6544
|
return e.getImmediate();
|
6545
6545
|
const t = rs(n, {
|
6546
6546
|
popupRedirectResolver: va,
|
6547
6547
|
persistence: [
|
6548
|
-
|
6548
|
+
Os,
|
6549
6549
|
Is,
|
6550
6550
|
Rn
|
6551
6551
|
]
|
@@ -6557,7 +6557,7 @@ function Ra(n = Ii()) {
|
|
6557
6557
|
fs(t, a, () => a(t.currentUser)), ms(t, (c) => a(c));
|
6558
6558
|
}
|
6559
6559
|
}
|
6560
|
-
const i =
|
6560
|
+
const i = Gt("auth");
|
6561
6561
|
return i && ss(t, `http://${i}`), t;
|
6562
6562
|
}
|
6563
6563
|
function Sa() {
|
@@ -6588,7 +6588,7 @@ Ea(
|
|
6588
6588
|
const Aa = Ln({
|
6589
6589
|
history: Un(),
|
6590
6590
|
routes: [
|
6591
|
-
...
|
6591
|
+
...Ve,
|
6592
6592
|
...le,
|
6593
6593
|
{
|
6594
6594
|
path: "/forbidden",
|
@@ -6605,7 +6605,7 @@ Aa.beforeEach(async (n) => {
|
|
6605
6605
|
currentBusiness: r,
|
6606
6606
|
readRestaurants: i,
|
6607
6607
|
changeRestaurant: s
|
6608
|
-
} =
|
6608
|
+
} = Ge();
|
6609
6609
|
if (n.name.startsWith("mf-payment-admin")) {
|
6610
6610
|
if (!e.value) {
|
6611
6611
|
Pe || (Pe = new Promise((c) => {
|
@@ -6635,15 +6635,15 @@ Aa.beforeEach(async (n) => {
|
|
6635
6635
|
})
|
6636
6636
|
]).then((a) => !0)), Me) : !0;
|
6637
6637
|
});
|
6638
|
-
const
|
6638
|
+
const Na = /* @__PURE__ */ Ut({
|
6639
6639
|
__name: "AppSidebar",
|
6640
6640
|
setup(n) {
|
6641
|
-
const e =
|
6641
|
+
const e = Ge(), t = xn(), { t: r } = Vn(), i = Bn(t.currentRoute.value.name);
|
6642
6642
|
J(t.currentRoute, () => {
|
6643
6643
|
let l = t.currentRoute.value.name;
|
6644
6644
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6645
6645
|
});
|
6646
|
-
const s =
|
6646
|
+
const s = Ve.map((l) => {
|
6647
6647
|
var m;
|
6648
6648
|
if (!((m = l.meta) != null && m.sidebarDisplay))
|
6649
6649
|
return;
|
@@ -6655,7 +6655,7 @@ const Ca = /* @__PURE__ */ Ut({
|
|
6655
6655
|
return t.push({ name: l.name });
|
6656
6656
|
}
|
6657
6657
|
};
|
6658
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6658
|
+
return l.meta.sidebarNew && (h.badge = () => Fn(Zn.FmPill, { label: "New" })), h;
|
6659
6659
|
}).filter((l) => !!l), a = le.map((l) => {
|
6660
6660
|
var d;
|
6661
6661
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6712,7 +6712,7 @@ const Ca = /* @__PURE__ */ Ut({
|
|
6712
6712
|
});
|
6713
6713
|
return (l, d) => {
|
6714
6714
|
const h = xt("FmCollapsibleTabs");
|
6715
|
-
return
|
6715
|
+
return jt(), Bt(h, {
|
6716
6716
|
modelValue: i.value,
|
6717
6717
|
"onUpdate:modelValue": d[0] || (d[0] = (m) => i.value = m),
|
6718
6718
|
items: o.value,
|
@@ -6721,45 +6721,45 @@ const Ca = /* @__PURE__ */ Ut({
|
|
6721
6721
|
};
|
6722
6722
|
}
|
6723
6723
|
});
|
6724
|
-
var
|
6725
|
-
const
|
6724
|
+
var Oa = { 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" };
|
6725
|
+
const ja = /* @__PURE__ */ Ut({
|
6726
6726
|
__name: "App",
|
6727
6727
|
setup(n) {
|
6728
|
-
const { state: e } = Kn(), t =
|
6728
|
+
const { state: e } = Kn(), t = Ge(), r = jn(), i = Xt(Oa.firebase);
|
6729
6729
|
async function s() {
|
6730
6730
|
const a = t.sessionUser.value;
|
6731
6731
|
if (!a || !a.token) return;
|
6732
6732
|
const c = await a.getCustomToken(), o = Ra(i);
|
6733
6733
|
await ps(o, c);
|
6734
6734
|
}
|
6735
|
-
return s(), J(t.sessionUser, s),
|
6735
|
+
return s(), J(t.sessionUser, s), Hn(() => {
|
6736
6736
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6737
|
-
}),
|
6738
|
-
t.registerSidebarComponent(
|
6737
|
+
}), Wn(() => {
|
6738
|
+
t.registerSidebarComponent(Na);
|
6739
6739
|
}), (a, c) => {
|
6740
6740
|
const o = xt("RouterView");
|
6741
|
-
return
|
6742
|
-
key:
|
6741
|
+
return jt(), Bt(o, {
|
6742
|
+
key: Gn(r).path
|
6743
6743
|
});
|
6744
6744
|
};
|
6745
6745
|
}
|
6746
6746
|
}), Ba = {
|
6747
|
-
"en-US":
|
6747
|
+
"en-US": Yn,
|
6748
6748
|
"zh-CN": Xn
|
6749
|
-
},
|
6749
|
+
}, Fa = [...le, ...Ve];
|
6750
6750
|
export {
|
6751
|
-
|
6751
|
+
V as C,
|
6752
6752
|
M as F,
|
6753
6753
|
ee as S,
|
6754
|
-
|
6755
|
-
|
6754
|
+
$ as _,
|
6755
|
+
$t as a,
|
6756
6756
|
Ua as b,
|
6757
6757
|
Ii as c,
|
6758
6758
|
xa as d,
|
6759
6759
|
gt as e,
|
6760
|
-
|
6760
|
+
Fa as f,
|
6761
6761
|
z as g,
|
6762
|
-
|
6762
|
+
ja as h,
|
6763
6763
|
Ba as i,
|
6764
|
-
|
6764
|
+
F as r
|
6765
6765
|
};
|