@feedmepos/mf-payment 1.2.10 → 1.2.12
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-18wkypci.js → PayoutAccount-D-NM-_2s.js} +6 -6
- package/dist/{PayoutAccount-vby8rjMc.js → PayoutAccount-j4yHJfSr.js} +5 -5
- package/dist/{PayoutAccountSetting-CRkam66i.js → PayoutAccountSetting-vzdkhXb8.js} +114 -111
- package/dist/{Restaurant-VF5wPY0d.js → Restaurant-CPIy0SZJ.js} +4 -4
- package/dist/{RestaurantSetting-7E7MJ-KZ.js → RestaurantSetting-DK4GOY2d.js} +3 -3
- package/dist/{Settlement-DjOW7-7G.js → Settlement-B5kQfJuQ.js} +3 -3
- package/dist/{Settlement-DElZTYyN.js → Settlement-BeI2ksZ3.js} +3 -3
- package/dist/{SettlementTransactions-Bibk-MNf.js → SettlementTransactions-CHjwajgr.js} +3 -3
- package/dist/{SettlementTransactions-B2k3cOjB.js → SettlementTransactions-D7z5DaxO.js} +3 -3
- package/dist/{Terminal-DnAMMIYh.js → Terminal-Bf7VZ5Yo.js} +5 -5
- package/dist/{TerminalSetting-jDF2Evb1.js → TerminalSetting-pnwFHRR8.js} +3 -3
- package/dist/{Transaction-BTOPUhAQ.js → Transaction-Cbiu540w.js} +5 -5
- package/dist/{Transaction-DDl-8RTe.js → Transaction-Cpbte6yS.js} +7 -7
- package/dist/{TransactionOld-C_Xaj-8M.js → TransactionOld-Dnnz541Y.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-BFArqWok.js → TransactionTable.vue_vue_type_script_setup_true_lang-tMjd6_k7.js} +3 -3
- package/dist/{app-BTNlNJft.js → app-C_At3NFn.js} +246 -246
- package/dist/app.js +1 -1
- package/dist/{assets-DGInSeWS.js → assets-DjGZEHos.js} +2 -2
- package/dist/{grafana-9bBV0RKB.js → grafana-D99I428B.js} +1 -1
- package/dist/{index-MF2p-2Xo.js → index-B3IOW-oD.js} +1 -1
- package/dist/{index-CY545XH3.js → index-BI63pT6J.js} +5143 -5251
- package/dist/{index-RsQaPtd8.js → index-CW2tMCo9.js} +2 -2
- package/dist/{index-BjV0tG5W.js → index-CvPpUZR3.js} +1 -1
- package/dist/{index-DAVQvskm.js → index-DXLkzCkb.js} +1 -1
- package/dist/{index-dUIntalX.js → index-DdE42RgX.js} +1 -1
- package/dist/{index-eO8NObIH.js → index-DigkUnks.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dnz6-yxO.js → index.vue_vue_type_script_setup_true_lang-Dx-Mg_Zx.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-B28LkgUk.js → payout-account-D7Wzxyao.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 +34 -28
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +34 -28
- 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 +34 -28
- package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +12 -6
- 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,9 +1,9 @@
|
|
1
|
-
import { createRouter as Ln, createWebHistory as Un, useRouter as
|
2
|
-
import { computed as Lt, watch as
|
3
|
-
import { useCoreStore as
|
1
|
+
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as xn } from "vue-router";
|
2
|
+
import { computed as Lt, watch as Y, defineComponent as Ut, ref as jn, resolveComponent as Bt, openBlock as xt, createBlock as jt, 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
|
-
const
|
6
|
+
const Yn = {
|
7
7
|
components: {
|
8
8
|
select: "Select filter entity",
|
9
9
|
restaurant: "Restaurant",
|
@@ -150,9 +150,9 @@ const $n = {
|
|
150
150
|
}
|
151
151
|
}
|
152
152
|
}
|
153
|
-
},
|
154
|
-
payment:
|
155
|
-
},
|
153
|
+
}, $n = {
|
154
|
+
payment: Yn
|
155
|
+
}, Xn = {
|
156
156
|
components: {
|
157
157
|
select: "选择筛选对象",
|
158
158
|
restaurant: "餐厅",
|
@@ -299,8 +299,8 @@ const $n = {
|
|
299
299
|
}
|
300
300
|
}
|
301
301
|
}
|
302
|
-
},
|
303
|
-
payment:
|
302
|
+
}, Jn = {
|
303
|
+
payment: Xn
|
304
304
|
}, le = [
|
305
305
|
{
|
306
306
|
path: "/admin/restaurants",
|
@@ -309,7 +309,7 @@ const $n = {
|
|
309
309
|
sidebarDisplay: "Restaurants",
|
310
310
|
section: "payment-gateway"
|
311
311
|
},
|
312
|
-
component: () => import("./Restaurant-
|
312
|
+
component: () => import("./Restaurant-CPIy0SZJ.js")
|
313
313
|
},
|
314
314
|
{
|
315
315
|
path: "/admin/restaurants/:restaurantId",
|
@@ -318,7 +318,7 @@ const $n = {
|
|
318
318
|
meta: {
|
319
319
|
parent: "mf-payment-admin.restaurant"
|
320
320
|
},
|
321
|
-
component: () => import("./RestaurantSetting-
|
321
|
+
component: () => import("./RestaurantSetting-DK4GOY2d.js")
|
322
322
|
},
|
323
323
|
{
|
324
324
|
path: "/admin/payout-accounts",
|
@@ -327,7 +327,7 @@ const $n = {
|
|
327
327
|
sidebarDisplay: "Payout Accounts",
|
328
328
|
section: "payment-gateway"
|
329
329
|
},
|
330
|
-
component: () => import("./PayoutAccount-
|
330
|
+
component: () => import("./PayoutAccount-D-NM-_2s.js")
|
331
331
|
},
|
332
332
|
{
|
333
333
|
path: "/admin/payout-accounts/:accountId",
|
@@ -336,7 +336,7 @@ const $n = {
|
|
336
336
|
meta: {
|
337
337
|
parent: "mf-payment-admin.payout-account"
|
338
338
|
},
|
339
|
-
component: () => import("./PayoutAccountSetting-
|
339
|
+
component: () => import("./PayoutAccountSetting-vzdkhXb8.js")
|
340
340
|
},
|
341
341
|
{
|
342
342
|
path: "/admin/terminal/pos",
|
@@ -345,7 +345,7 @@ const $n = {
|
|
345
345
|
sidebarDisplay: "POS",
|
346
346
|
section: "device"
|
347
347
|
},
|
348
|
-
component: () => import("./Terminal-
|
348
|
+
component: () => import("./Terminal-Bf7VZ5Yo.js"),
|
349
349
|
props: {
|
350
350
|
type: "POS"
|
351
351
|
}
|
@@ -357,7 +357,7 @@ const $n = {
|
|
357
357
|
sidebarDisplay: "Kiosks",
|
358
358
|
section: "device"
|
359
359
|
},
|
360
|
-
component: () => import("./Terminal-
|
360
|
+
component: () => import("./Terminal-Bf7VZ5Yo.js"),
|
361
361
|
props: {
|
362
362
|
type: "KIOSK"
|
363
363
|
}
|
@@ -369,7 +369,7 @@ const $n = {
|
|
369
369
|
sidebarDisplay: "Terminals",
|
370
370
|
section: "device"
|
371
371
|
},
|
372
|
-
component: () => import("./Terminal-
|
372
|
+
component: () => import("./Terminal-Bf7VZ5Yo.js"),
|
373
373
|
props: {
|
374
374
|
type: "TERMINAL"
|
375
375
|
}
|
@@ -381,7 +381,7 @@ const $n = {
|
|
381
381
|
meta: {
|
382
382
|
parent: "mf-payment-admin.pos"
|
383
383
|
},
|
384
|
-
component: () => import("./TerminalSetting-
|
384
|
+
component: () => import("./TerminalSetting-pnwFHRR8.js")
|
385
385
|
},
|
386
386
|
{
|
387
387
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -390,7 +390,7 @@ const $n = {
|
|
390
390
|
meta: {
|
391
391
|
parent: "mf-payment-admin.kiosk"
|
392
392
|
},
|
393
|
-
component: () => import("./TerminalSetting-
|
393
|
+
component: () => import("./TerminalSetting-pnwFHRR8.js")
|
394
394
|
},
|
395
395
|
{
|
396
396
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -399,7 +399,7 @@ const $n = {
|
|
399
399
|
meta: {
|
400
400
|
parent: "mf-payment-admin.terminal"
|
401
401
|
},
|
402
|
-
component: () => import("./TerminalSetting-
|
402
|
+
component: () => import("./TerminalSetting-pnwFHRR8.js")
|
403
403
|
},
|
404
404
|
{
|
405
405
|
path: "/admin/transaction",
|
@@ -407,7 +407,7 @@ const $n = {
|
|
407
407
|
meta: {
|
408
408
|
sidebarDisplay: "Transactions"
|
409
409
|
},
|
410
|
-
component: () => import("./Transaction-
|
410
|
+
component: () => import("./Transaction-Cbiu540w.js")
|
411
411
|
},
|
412
412
|
{
|
413
413
|
path: "/admin/settlement",
|
@@ -415,7 +415,7 @@ const $n = {
|
|
415
415
|
meta: {
|
416
416
|
sidebarDisplay: "Settlements"
|
417
417
|
},
|
418
|
-
component: () => import("./Settlement-
|
418
|
+
component: () => import("./Settlement-B5kQfJuQ.js")
|
419
419
|
},
|
420
420
|
{
|
421
421
|
path: "/admin/settlement/:settlementId",
|
@@ -424,7 +424,7 @@ const $n = {
|
|
424
424
|
meta: {
|
425
425
|
parent: "mf-payment-admin.settlement"
|
426
426
|
},
|
427
|
-
component: () => import("./SettlementTransactions-
|
427
|
+
component: () => import("./SettlementTransactions-D7z5DaxO.js")
|
428
428
|
}
|
429
429
|
], Ve = [
|
430
430
|
{
|
@@ -434,7 +434,7 @@ const $n = {
|
|
434
434
|
{
|
435
435
|
path: "/payout-account",
|
436
436
|
name: "mf-payment-payout-account",
|
437
|
-
component: () => import("./PayoutAccount-
|
437
|
+
component: () => import("./PayoutAccount-j4yHJfSr.js"),
|
438
438
|
meta: {
|
439
439
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
440
440
|
}
|
@@ -442,7 +442,7 @@ const $n = {
|
|
442
442
|
{
|
443
443
|
path: "/transaction-old",
|
444
444
|
name: "mf-payment-old-transaction",
|
445
|
-
component: () => import("./TransactionOld-
|
445
|
+
component: () => import("./TransactionOld-Dnnz541Y.js"),
|
446
446
|
meta: {
|
447
447
|
sidebarDisplay: "i18n:payment.routes.transaction"
|
448
448
|
}
|
@@ -450,7 +450,7 @@ const $n = {
|
|
450
450
|
{
|
451
451
|
path: "/transaction",
|
452
452
|
name: "mf-payment-transaction",
|
453
|
-
component: () => import("./Transaction-
|
453
|
+
component: () => import("./Transaction-Cpbte6yS.js"),
|
454
454
|
meta: {
|
455
455
|
sidebarDisplay: "i18n:payment.routes.transaction-new",
|
456
456
|
sidebarNew: !0
|
@@ -459,7 +459,7 @@ const $n = {
|
|
459
459
|
{
|
460
460
|
path: "/settlement",
|
461
461
|
name: "mf-payment-settlement",
|
462
|
-
component: () => import("./Settlement-
|
462
|
+
component: () => import("./Settlement-BeI2ksZ3.js"),
|
463
463
|
meta: {
|
464
464
|
sidebarDisplay: "i18n:payment.routes.settlement"
|
465
465
|
}
|
@@ -468,7 +468,7 @@ const $n = {
|
|
468
468
|
path: "/settlement/:settlementId",
|
469
469
|
name: "mf-payment-settlement-transaction",
|
470
470
|
props: !0,
|
471
|
-
component: () => import("./SettlementTransactions-
|
471
|
+
component: () => import("./SettlementTransactions-CHjwajgr.js"),
|
472
472
|
meta: {
|
473
473
|
parent: "mf-payment-settlement"
|
474
474
|
}
|
@@ -485,7 +485,7 @@ const $n = {
|
|
485
485
|
init: t
|
486
486
|
};
|
487
487
|
});
|
488
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2e593667-f250-4b3b-a4d2-b46afa48e9c6", 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_2e593667-f250-4b3b-a4d2-b46afa48e9c6", 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:12539", 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: "15967841210", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "0c14335b916cb6b20e4247e9ae6f3ff272db2263", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9kZXZcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjdlNjQ1MmM1LWZjMmUtNGFkNS1iNjczLTI5ZTkwY2Y3M2RkOCIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3NTEyOTQyNzgsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc1MTI3MjA3OCwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6Ijk2MTdhZDk1LTdkZGYtNTg4MC1iNTVlLTNmNmZhMzQ4YzE3YyIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc1MTI3MTc3OCwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwiYWN0b3JfaWRcIjpcIjE1Njc0MTA3XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJldmVudF9uYW1lXCI6XCJwdXNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLnlhbWxAcmVmcy9oZWFkcy9kZXZcIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjBjMTQzMzViOTE2Y2I2YjIwZTQyNDdlOWFlNmYzZmYyNzJkYjIyNjNcIixcInJlZlwiOlwicmVmcy9oZWFkcy9kZXZcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCI2OTA5NzkyNjBcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMTU5Njc4NDEyMTBcIixcInJ1bl9udW1iZXJcIjpcIjFcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCIwYzE0MzM1YjkxNmNiNmIyMGU0MjQ3ZTlhZTZmM2ZmMjcyZGIyMjYzXCIsXCJ3b3JrZmxvd1wiOlwicGF5bWVudC1tZi1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJ3b3JrZmxvd19zaGFcIjpcIjBjMTQzMzViOTE2Y2I2YjIwZTQyNDdlOWFlNmYzZmYyNzJkYjIyNjNcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoX2lkIjoiNjAxMWYxYjctNjg2MC00ZGZjLTg1ZGUtMzkzZTgxNmI2OWMxLmRlcGxveS5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiI2MDExZjFiNy02ODYwLTRkZmMtODVkZS0zOTNlODE2YjY5YzEiLCJydW5faWQiOiIxNTk2Nzg0MTIxMCIsInJ1bl9udW1iZXIiOiIxIiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDAwMzgzNyIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjYwMTFmMWI3LTY4NjAtNGRmYy04NWRlLTM5M2U4MTZiNjljMTo5NjE3YWQ5NS03ZGRmLTU4ODAtYjU1ZS0zZjZmYTM0OGMxN2MgQWN0aW9ucy5SdW5uZXI6NjAxMWYxYjctNjg2MC00ZGZjLTg1ZGUtMzkzZTgxNmI2OWMxOjk2MTdhZDk1LTdkZGYtNTg4MC1iNTVlLTNmNmZhMzQ4YzE3YyBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czo2MDExZjFiNy02ODYwLTRkZmMtODVkZS0zOTNlODE2YjY5YzE6OTYxN2FkOTUtN2RkZi01ODgwLWI1NWUtM2Y2ZmEzNDhjMTdjIGdlbmVyYXRlX2lkX3Rva2VuOjYwMTFmMWI3LTY4NjAtNGRmYy04NWRlLTM5M2U4MTZiNjljMTo5NjE3YWQ5NS03ZGRmLTU4ODAtYjU1ZS0zZjZmYTM0OGMxN2MgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiIwYzE0MzM1YjkxNmNiNmIyMGU0MjQ3ZTlhZTZmM2ZmMjcyZGIyMjYzIn0.31xxUpDGwx0TUoaBkCUwBlAqilJ5hYu7z4MoJyXo39fNkZ6VPHIFislNz8LtNXrA4mqzLeQQm_ITTp5C4jyv6V3e9_tBNi_mG1CbdVh-9kTVsVSSUHznlrxMxG-K3l8c374SuRFN61IeLOT7swfXxgvQFVmFz-Epxr9j_sHM-IoS7yx5uEhuU_ftVhuhVs2S7kPXWgJW8wR2Y-gzDtuXKgFknphDl5oHSX-k6gxmd2NKr2XHf-C06myrKLqe6-aG6er04Vs8CjB2XzaD4nPaxlAxHVjoZfMWeftkLFig-YiIQEzn3OY-UEgwdLyFccjhvoxeD0Ujjwtun-7OT3LoOQ", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1751272133422-0.15961245220384668:/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--1751272133240-0.07891741374698102:/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--1751272133060-0.7745275529019118:/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_e0f75381-32f3-4bff-84d5-9382cd3ade26", INVOCATION_ID: "807ca7c4af8c4d6faed8b232881353f9", 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: "1", 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 1000003837", 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.10", 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: "0c14335b916cb6b20e4247e9ae6f3ff272db2263", 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_2e593667-f250-4b3b-a4d2-b46afa48e9c6", 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-1-azure-eastus.actions.githubusercontent.com/110//idtoken/6011f1b7-6860-4dfc-85de-393e816b69c1/9617ad95-7ddf-5880-b55e-3f6fa348c17c?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_2e593667-f250-4b3b-a4d2-b46afa48e9c6", 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_2e593667-f250-4b3b-a4d2-b46afa48e9c6", 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" };
|
488
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_96f1414a-6392-46e5-b28d-f30525f88f78", 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_96f1414a-6392-46e5-b28d-f30525f88f78", 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: "1739", 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:13358", GITHUB_WORKFLOW: "payment-mf-portal-prod", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/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: "15997352986", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a7ccff2dcf16b3f21fa4379f4e33ff8f61878bb6", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-prod.yaml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6M31dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjdlNjQ1MmM1LWZjMmUtNGFkNS1iNjczLTI5ZTkwY2Y3M2RkOCIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3NTEzODk1OTcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc1MTM2NzM5NywiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjU4MTZhZTJjLWQ0YmMtNTYzZS1iZmY1LWNjMTA3MGEzMDU0OCIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc1MTM2NzA5Nywib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwiYWN0b3JfaWRcIjpcIjE1Njc0MTA3XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJldmVudF9uYW1lXCI6XCJwdXNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImE3Y2NmZjJkY2YxNmIzZjIxZmE0Mzc5ZjRlMzNmZjhmNjE4NzhiYjZcIixcInJlZlwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjE1OTk3MzUyOTg2XCIsXCJydW5fbnVtYmVyXCI6XCI2NVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImE3Y2NmZjJkY2YxNmIzZjIxZmE0Mzc5ZjRlMzNmZjhmNjE4NzhiYjZcIixcIndvcmtmbG93XCI6XCJwYXltZW50LW1mLXBvcnRhbC1wcm9kXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCJhN2NjZmYyZGNmMTZiM2YyMWZhNDM3OWY0ZTMzZmY4ZjYxODc4YmI2XCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvbWFpbiIsIm9yY2hfaWQiOiI0YmJjODNhNy00MzBkLTQ1MDUtYjg5OS0xZDNhODIzNzIzYWIuZGVwbG95Ll9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6IjRiYmM4M2E3LTQzMGQtNDUwNS1iODk5LTFkM2E4MjM3MjNhYiIsInJ1bl9pZCI6IjE1OTk3MzUyOTg2IiwicnVuX251bWJlciI6IjY1IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDAwNDEwNSIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjRiYmM4M2E3LTQzMGQtNDUwNS1iODk5LTFkM2E4MjM3MjNhYjo1ODE2YWUyYy1kNGJjLTU2M2UtYmZmNS1jYzEwNzBhMzA1NDggQWN0aW9ucy5SdW5uZXI6NGJiYzgzYTctNDMwZC00NTA1LWI4OTktMWQzYTgyMzcyM2FiOjU4MTZhZTJjLWQ0YmMtNTYzZS1iZmY1LWNjMTA3MGEzMDU0OCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czo0YmJjODNhNy00MzBkLTQ1MDUtYjg5OS0xZDNhODIzNzIzYWI6NTgxNmFlMmMtZDRiYy01NjNlLWJmZjUtY2MxMDcwYTMwNTQ4IGdlbmVyYXRlX2lkX3Rva2VuOjRiYmM4M2E3LTQzMGQtNDUwNS1iODk5LTFkM2E4MjM3MjNhYjo1ODE2YWUyYy1kNGJjLTU2M2UtYmZmNS1jYzEwNzBhMzA1NDggQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiJhN2NjZmYyZGNmMTZiM2YyMWZhNDM3OWY0ZTMzZmY4ZjYxODc4YmI2In0.t0c9KiQM9JZShKXHY_j10qtfQTfmiG-jwijMWOSgvF8mVxzDX7v0b9V84BUZMP64d0ZgjrVXBqdTLApHe9Q7maiILsWHdnPahvOfpt4ZYuf9JtbtE5qPIf5JI446Umcz122FbE0LRgHBFf0kd5xT0G_IOl6E_euJ33iBXm9hFJrtR6unxL1bTREhrbDodqb8rGVdlQB87Ru2iRCwTM4xBWLnTIxKoGFOMdDsxkAAn2iSOBs7ZHK3_o0y3inIY58CzM5rPff4gNub9t9lT-m7ga2RXGZsDqLU4jAcdKH-q1pJsdHwz_fv5633WzI-G9kqtPYDDzKezoAgiRe5CWUVTA", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1751367454489-0.10190467866622765:/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--1751367454306-0.5481057485408034:/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--1751367454124-0.028292206263192732:/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_2eab3a3c-c1fb-48d0-b82a-68583fcf712a", INVOCATION_ID: "6ea228d4f7964202a49d7f628cbfeef4", 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: "65", 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 1000004105", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/payment-service", npm_lifecycle_script: "vite build --mode fmmf:prod", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", 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:prod", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.2.12", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:prod"],"original":["deploy:prod"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", GITHUB_SHA: "a7ccff2dcf16b3f21fa4379f4e33ff8f61878bb6", 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/main", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_96f1414a-6392-46e5-b28d-f30525f88f78", 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-1-azure-eastus.actions.githubusercontent.com/94//idtoken/4bbc83a7-430d-4505-b899-1d3a823723ab/5816ae2c-d4bc-563e-bff5-cc1070a30548?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_96f1414a-6392-46e5-b28d-f30525f88f78", 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_96f1414a-6392-46e5-b28d-f30525f88f78", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.10", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
|
489
489
|
/**
|
490
490
|
* @license
|
491
491
|
* Copyright 2017 Google LLC
|
@@ -646,8 +646,8 @@ const Ft = 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 x = l << 6 & 192 | h;
|
650
|
+
r.push(x);
|
651
651
|
}
|
652
652
|
}
|
653
653
|
}
|
@@ -676,7 +676,7 @@ const er = function(n) {
|
|
676
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
681
|
return Ht.decodeString(n, !0);
|
682
682
|
} catch (e) {
|
@@ -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(":");
|
@@ -820,7 +820,7 @@ class sr {
|
|
820
820
|
* See the License for the specific language governing permissions and
|
821
821
|
* limitations under the License.
|
822
822
|
*/
|
823
|
-
function
|
823
|
+
function Ba(n, e) {
|
824
824
|
if (n.uid)
|
825
825
|
throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');
|
826
826
|
const t = {
|
@@ -1175,7 +1175,7 @@ const L = "[DEFAULT]";
|
|
1175
1175
|
* See the License for the specific language governing permissions and
|
1176
1176
|
* limitations under the License.
|
1177
1177
|
*/
|
1178
|
-
class
|
1178
|
+
class br {
|
1179
1179
|
constructor(e, t) {
|
1180
1180
|
this.name = e, this.container = t, this.component = null, this.instances = /* @__PURE__ */ new Map(), this.instancesDeferred = /* @__PURE__ */ new Map(), this.instancesOptions = /* @__PURE__ */ new Map(), this.onInitCallbacks = /* @__PURE__ */ new Map();
|
1181
1181
|
}
|
@@ -1313,7 +1313,7 @@ class yr {
|
|
1313
1313
|
getOrInitializeService({ instanceIdentifier: e, options: t = {} }) {
|
1314
1314
|
let r = this.instances.get(e);
|
1315
1315
|
if (!r && this.component && (r = this.component.instanceFactory(this.container, {
|
1316
|
-
instanceIdentifier:
|
1316
|
+
instanceIdentifier: yr(e),
|
1317
1317
|
options: t
|
1318
1318
|
}), this.instances.set(e, r), this.instancesOptions.set(e, t), this.invokeOnInitCallbacks(r, e), this.component.onInstanceCreated))
|
1319
1319
|
try {
|
@@ -1329,7 +1329,7 @@ class yr {
|
|
1329
1329
|
return !!this.component && this.component.instantiationMode !== "EXPLICIT";
|
1330
1330
|
}
|
1331
1331
|
}
|
1332
|
-
function
|
1332
|
+
function yr(n) {
|
1333
1333
|
return n === L ? void 0 : n;
|
1334
1334
|
}
|
1335
1335
|
function Er(n) {
|
@@ -1383,7 +1383,7 @@ class Tr {
|
|
1383
1383
|
getProvider(e) {
|
1384
1384
|
if (this.providers.has(e))
|
1385
1385
|
return this.providers.get(e);
|
1386
|
-
const t = new
|
1386
|
+
const t = new br(e, this);
|
1387
1387
|
return this.providers.set(e, t), t;
|
1388
1388
|
}
|
1389
1389
|
getProviders() {
|
@@ -1505,7 +1505,7 @@ function Or() {
|
|
1505
1505
|
IDBCursor.prototype.continuePrimaryKey
|
1506
1506
|
]);
|
1507
1507
|
}
|
1508
|
-
const
|
1508
|
+
const Yt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), $t = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap();
|
1509
1509
|
function Cr(n) {
|
1510
1510
|
const e = new Promise((t, r) => {
|
1511
1511
|
const i = () => {
|
@@ -1518,7 +1518,7 @@ function Cr(n) {
|
|
1518
1518
|
n.addEventListener("success", s), n.addEventListener("error", a);
|
1519
1519
|
});
|
1520
1520
|
return e.then((t) => {
|
1521
|
-
t instanceof IDBCursor &&
|
1521
|
+
t instanceof IDBCursor && Yt.set(t, n);
|
1522
1522
|
}).catch(() => {
|
1523
1523
|
}), Ze.set(e, n), e;
|
1524
1524
|
}
|
@@ -1543,7 +1543,7 @@ 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 || $t.get(n);
|
1547
1547
|
if (e === "store")
|
1548
1548
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1549
1549
|
}
|
@@ -1562,9 +1562,9 @@ 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
|
1565
|
+
return $t.set(r, e.sort ? e.sort() : [e]), C(r);
|
1566
1566
|
} : Or().includes(n) ? function(...e) {
|
1567
|
-
return n.apply(Ae(this), e), C(
|
1567
|
+
return n.apply(Ae(this), e), C(Yt.get(this));
|
1568
1568
|
} : function(...e) {
|
1569
1569
|
return C(n.apply(Ae(this), e));
|
1570
1570
|
};
|
@@ -1595,16 +1595,16 @@ function Ur(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1595
1595
|
}).catch(() => {
|
1596
1596
|
}), c;
|
1597
1597
|
}
|
1598
|
-
const
|
1598
|
+
const Br = ["get", "getKey", "getAll", "getAllKeys", "count"], xr = ["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
1602
|
if (Ne.get(e))
|
1603
1603
|
return Ne.get(e);
|
1604
|
-
const t = e.replace(/FromIndex$/, ""), r = e !== t, i =
|
1604
|
+
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = xr.includes(t);
|
1605
1605
|
if (
|
1606
1606
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
1607
|
-
!(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i ||
|
1607
|
+
!(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || Br.includes(t))
|
1608
1608
|
)
|
1609
1609
|
return;
|
1610
1610
|
const s = async function(a, ...c) {
|
@@ -1638,7 +1638,7 @@ Pr((n) => ({
|
|
1638
1638
|
* See the License for the specific language governing permissions and
|
1639
1639
|
* limitations under the License.
|
1640
1640
|
*/
|
1641
|
-
class
|
1641
|
+
class jr {
|
1642
1642
|
constructor(e) {
|
1643
1643
|
this.container = e;
|
1644
1644
|
}
|
@@ -1658,7 +1658,7 @@ function Fr(n) {
|
|
1658
1658
|
const e = n.getComponent();
|
1659
1659
|
return (e == null ? void 0 : e.type) === "VERSION";
|
1660
1660
|
}
|
1661
|
-
const
|
1661
|
+
const Be = "@firebase/app", ht = "0.10.13";
|
1662
1662
|
/**
|
1663
1663
|
* @license
|
1664
1664
|
* Copyright 2019 Google LLC
|
@@ -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 T = new Zt("@firebase/app"), Hr = "@firebase/app-compat",
|
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", Yr = "@firebase/auth-compat", $r = "@firebase/database", Xr = "@firebase/data-connect", Jr = "@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,18 +1692,18 @@ const T = new Zt("@firebase/app"), Hr = "@firebase/app-compat", Gr = "@firebase/
|
|
1692
1692
|
* See the License for the specific language governing permissions and
|
1693
1693
|
* limitations under the License.
|
1694
1694
|
*/
|
1695
|
-
const
|
1696
|
-
[
|
1695
|
+
const xe = "[DEFAULT]", mi = {
|
1696
|
+
[Be]: "fire-core",
|
1697
1697
|
[Hr]: "fire-core-compat",
|
1698
|
-
[
|
1699
|
-
[
|
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
|
-
[
|
1704
|
-
[
|
1705
|
-
[
|
1706
|
-
[
|
1703
|
+
[Yr]: "fire-auth-compat",
|
1704
|
+
[$r]: "fire-rtdb",
|
1705
|
+
[Xr]: "fire-data-connect",
|
1706
|
+
[Jr]: "fire-rtdb-compat",
|
1707
1707
|
[Kr]: "fire-fn",
|
1708
1708
|
[qr]: "fire-fn-compat",
|
1709
1709
|
[Qr]: "fire-iid",
|
@@ -1738,7 +1738,7 @@ const je = "[DEFAULT]", mi = {
|
|
1738
1738
|
* See the License for the specific language governing permissions and
|
1739
1739
|
* limitations under the License.
|
1740
1740
|
*/
|
1741
|
-
const he = /* @__PURE__ */ new Map(), fi = /* @__PURE__ */ new Map(),
|
1741
|
+
const he = /* @__PURE__ */ new Map(), fi = /* @__PURE__ */ new Map(), je = /* @__PURE__ */ new Map();
|
1742
1742
|
function pt(n, e) {
|
1743
1743
|
try {
|
1744
1744
|
n.container.addComponent(e);
|
@@ -1746,18 +1746,18 @@ function pt(n, e) {
|
|
1746
1746
|
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1747
1747
|
}
|
1748
1748
|
}
|
1749
|
-
function
|
1749
|
+
function X(n) {
|
1750
1750
|
const e = n.name;
|
1751
|
-
if (
|
1751
|
+
if (je.has(e))
|
1752
1752
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1753
|
-
|
1753
|
+
je.set(e, n);
|
1754
1754
|
for (const t of he.values())
|
1755
1755
|
pt(t, n);
|
1756
1756
|
for (const t of fi.values())
|
1757
1757
|
pt(t, n);
|
1758
1758
|
return !0;
|
1759
1759
|
}
|
1760
|
-
function
|
1760
|
+
function Xt(n, e) {
|
1761
1761
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1762
1762
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1763
1763
|
}
|
@@ -1871,10 +1871,10 @@ class gi {
|
|
1871
1871
|
* limitations under the License.
|
1872
1872
|
*/
|
1873
1873
|
const ee = pi;
|
1874
|
-
function
|
1874
|
+
function Jt(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: xe, 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)
|
@@ -1891,15 +1891,15 @@ function Xt(n, e = {}) {
|
|
1891
1891
|
throw D.create("duplicate-app", { appName: i });
|
1892
1892
|
}
|
1893
1893
|
const a = new Tr(i);
|
1894
|
-
for (const o of
|
1894
|
+
for (const o of je.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 = xe) {
|
1900
1900
|
const e = he.get(n);
|
1901
|
-
if (!e && n ===
|
1902
|
-
return
|
1901
|
+
if (!e && n === xe && Vt())
|
1902
|
+
return Jt();
|
1903
1903
|
if (!e)
|
1904
1904
|
throw D.create("no-app", { appName: n });
|
1905
1905
|
return e;
|
@@ -1916,7 +1916,7 @@ function F(n, e, t) {
|
|
1916
1916
|
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(c.join(" "));
|
1917
1917
|
return;
|
1918
1918
|
}
|
1919
|
-
|
1919
|
+
X(new V(
|
1920
1920
|
`${i}-version`,
|
1921
1921
|
() => ({ library: i, version: e }),
|
1922
1922
|
"VERSION"
|
@@ -1939,15 +1939,15 @@ function F(n, e, t) {
|
|
1939
1939
|
* See the License for the specific language governing permissions and
|
1940
1940
|
* limitations under the License.
|
1941
1941
|
*/
|
1942
|
-
const vi = "firebase-heartbeat-database",
|
1942
|
+
const vi = "firebase-heartbeat-database", bi = 1, J = "firebase-heartbeat-store";
|
1943
1943
|
let Oe = null;
|
1944
1944
|
function Kt() {
|
1945
|
-
return Oe || (Oe = Ur(vi,
|
1945
|
+
return Oe || (Oe = Ur(vi, bi, {
|
1946
1946
|
upgrade: (n, e) => {
|
1947
1947
|
switch (e) {
|
1948
1948
|
case 0:
|
1949
1949
|
try {
|
1950
|
-
n.createObjectStore(
|
1950
|
+
n.createObjectStore(J);
|
1951
1951
|
} catch (t) {
|
1952
1952
|
console.warn(t);
|
1953
1953
|
}
|
@@ -1959,9 +1959,9 @@ function Kt() {
|
|
1959
1959
|
});
|
1960
1960
|
})), Oe;
|
1961
1961
|
}
|
1962
|
-
async function
|
1962
|
+
async function yi(n) {
|
1963
1963
|
try {
|
1964
|
-
const t = (await Kt()).transaction(
|
1964
|
+
const t = (await Kt()).transaction(J), r = await t.objectStore(J).get(qt(n));
|
1965
1965
|
return await t.done, r;
|
1966
1966
|
} catch (e) {
|
1967
1967
|
if (e instanceof M)
|
@@ -1976,8 +1976,8 @@ async function bi(n) {
|
|
1976
1976
|
}
|
1977
1977
|
async function mt(n, e) {
|
1978
1978
|
try {
|
1979
|
-
const r = (await Kt()).transaction(
|
1980
|
-
await r.objectStore(
|
1979
|
+
const r = (await Kt()).transaction(J, "readwrite");
|
1980
|
+
await r.objectStore(J).put(e, qt(n)), await r.done;
|
1981
1981
|
} catch (t) {
|
1982
1982
|
if (t instanceof M)
|
1983
1983
|
T.warn(t.message);
|
@@ -2092,7 +2092,7 @@ class Ri {
|
|
2092
2092
|
*/
|
2093
2093
|
async read() {
|
2094
2094
|
if (await this._canUseIndexedDBPromise) {
|
2095
|
-
const t = await
|
2095
|
+
const t = await yi(this.app);
|
2096
2096
|
return t != null && t.heartbeats ? t : { heartbeats: [] };
|
2097
2097
|
} else
|
2098
2098
|
return { heartbeats: [] };
|
@@ -2148,17 +2148,17 @@ function _t(n) {
|
|
2148
2148
|
* limitations under the License.
|
2149
2149
|
*/
|
2150
2150
|
function Si(n) {
|
2151
|
-
|
2151
|
+
X(new V(
|
2152
2152
|
"platform-logger",
|
2153
|
-
(e) => new
|
2153
|
+
(e) => new jr(e),
|
2154
2154
|
"PRIVATE"
|
2155
2155
|
/* ComponentType.PRIVATE */
|
2156
|
-
)),
|
2156
|
+
)), X(new V(
|
2157
2157
|
"heartbeat",
|
2158
2158
|
(e) => new wi(e),
|
2159
2159
|
"PRIVATE"
|
2160
2160
|
/* ComponentType.PRIVATE */
|
2161
|
-
)), F(
|
2161
|
+
)), F(Be, ht, n), F(Be, ht, "esm2017"), F("fire-js", "");
|
2162
2162
|
}
|
2163
2163
|
Si("");
|
2164
2164
|
var Ai = "firebase", Ni = "10.14.1";
|
@@ -2188,7 +2188,7 @@ var gt = function() {
|
|
2188
2188
|
return e;
|
2189
2189
|
}, gt.apply(this, arguments);
|
2190
2190
|
};
|
2191
|
-
function
|
2191
|
+
function Ye(n, e) {
|
2192
2192
|
var t = {};
|
2193
2193
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
|
2194
2194
|
if (n != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -2242,10 +2242,10 @@ function se(n, ...e) {
|
|
2242
2242
|
* limitations under the License.
|
2243
2243
|
*/
|
2244
2244
|
function w(n, ...e) {
|
2245
|
-
throw
|
2245
|
+
throw $e(n, ...e);
|
2246
2246
|
}
|
2247
2247
|
function _(n, ...e) {
|
2248
|
-
return
|
2248
|
+
return $e(n, ...e);
|
2249
2249
|
}
|
2250
2250
|
function tn(n, e, t) {
|
2251
2251
|
const r = Object.assign(Object.assign({}, Oi()), { [e]: t });
|
@@ -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 $e(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,14 +2265,14 @@ function Je(n, ...e) {
|
|
2265
2265
|
}
|
2266
2266
|
function u(n, e, ...t) {
|
2267
2267
|
if (!n)
|
2268
|
-
throw
|
2268
|
+
throw $e(e, ...t);
|
2269
2269
|
}
|
2270
|
-
function
|
2270
|
+
function b(n) {
|
2271
2271
|
const e = "INTERNAL ASSERTION FAILED: " + n;
|
2272
2272
|
throw se(e), new Error(e);
|
2273
2273
|
}
|
2274
2274
|
function k(n, e) {
|
2275
|
-
n ||
|
2275
|
+
n || b(e);
|
2276
2276
|
}
|
2277
2277
|
/**
|
2278
2278
|
* @license
|
@@ -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 Xe(n, e) {
|
2381
2381
|
k(n.emulator, "Emulator should always be set here");
|
2382
2382
|
const { url: t } = n.emulator;
|
2383
2383
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
@@ -2411,7 +2411,7 @@ class nn {
|
|
2411
2411
|
return globalThis.fetch;
|
2412
2412
|
if (typeof fetch < "u")
|
2413
2413
|
return fetch;
|
2414
|
-
|
2414
|
+
b("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2415
2415
|
}
|
2416
2416
|
static headers() {
|
2417
2417
|
if (this.headersImpl)
|
@@ -2422,7 +2422,7 @@ class nn {
|
|
2422
2422
|
return globalThis.Headers;
|
2423
2423
|
if (typeof Headers < "u")
|
2424
2424
|
return Headers;
|
2425
|
-
|
2425
|
+
b("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2426
2426
|
}
|
2427
2427
|
static response() {
|
2428
2428
|
if (this.responseImpl)
|
@@ -2433,7 +2433,7 @@ class nn {
|
|
2433
2433
|
return globalThis.Response;
|
2434
2434
|
if (typeof Response < "u")
|
2435
2435
|
return Response;
|
2436
|
-
|
2436
|
+
b("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2437
2437
|
}
|
2438
2438
|
}
|
2439
2439
|
/**
|
@@ -2572,7 +2572,7 @@ async function rn(n, e, t) {
|
|
2572
2572
|
n._canInitEmulator = !1;
|
2573
2573
|
const r = Object.assign(Object.assign({}, Li), e);
|
2574
2574
|
try {
|
2575
|
-
const i = new
|
2575
|
+
const i = new Bi(n), s = await Promise.race([
|
2576
2576
|
t(),
|
2577
2577
|
i.promise
|
2578
2578
|
]);
|
@@ -2609,9 +2609,9 @@ async function sn(n, e, t, r, i = {}) {
|
|
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 ? Xe(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2613
2613
|
}
|
2614
|
-
class
|
2614
|
+
class Bi {
|
2615
2615
|
constructor(e) {
|
2616
2616
|
this.auth = e, this.timer = null, this.promise = new Promise((t, r) => {
|
2617
2617
|
this.timer = setTimeout(() => r(_(
|
@@ -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 xi(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 $(n) {
|
2675
2675
|
if (n)
|
2676
2676
|
try {
|
2677
2677
|
const e = new Date(Number(n));
|
@@ -2680,8 +2680,8 @@ function J(n) {
|
|
2680
2680
|
} catch {
|
2681
2681
|
}
|
2682
2682
|
}
|
2683
|
-
async function
|
2684
|
-
const t = z(n), r = await t.getIdToken(e), i =
|
2683
|
+
async function ji(n, e = !1) {
|
2684
|
+
const t = z(n), r = await t.getIdToken(e), i = Je(r);
|
2685
2685
|
u(
|
2686
2686
|
i && i.exp && i.auth_time && i.iat,
|
2687
2687
|
t.auth,
|
@@ -2692,9 +2692,9 @@ 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: $(Ce(i.auth_time)),
|
2696
|
+
issuedAtTime: $(Ce(i.iat)),
|
2697
|
+
expirationTime: $(Ce(i.exp)),
|
2698
2698
|
signInProvider: a || null,
|
2699
2699
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2700
2700
|
};
|
@@ -2702,19 +2702,19 @@ async function Bi(n, e = !1) {
|
|
2702
2702
|
function Ce(n) {
|
2703
2703
|
return Number(n) * 1e3;
|
2704
2704
|
}
|
2705
|
-
function
|
2705
|
+
function Je(n) {
|
2706
2706
|
const [e, t, r] = n.split(".");
|
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;
|
2714
2714
|
}
|
2715
2715
|
}
|
2716
2716
|
function vt(n) {
|
2717
|
-
const e =
|
2717
|
+
const e = Je(n);
|
2718
2718
|
return u(
|
2719
2719
|
e,
|
2720
2720
|
"internal-error"
|
@@ -2840,7 +2840,7 @@ class He {
|
|
2840
2840
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2841
2841
|
}
|
2842
2842
|
_initializeTime() {
|
2843
|
-
this.lastSignInTime =
|
2843
|
+
this.lastSignInTime = $(this.lastLoginAt), this.creationTime = $(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,
|
@@ -2893,16 +2893,16 @@ async function me(n) {
|
|
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) {
|
2904
2904
|
return n.map((e) => {
|
2905
|
-
var { providerId: t } = e, r =
|
2905
|
+
var { providerId: t } = e, r = Ye(e, ["providerId"]);
|
2906
2906
|
return {
|
2907
2907
|
providerId: t,
|
2908
2908
|
uid: r.rawId || "",
|
@@ -3044,7 +3044,7 @@ class H {
|
|
3044
3044
|
return Object.assign(new H(), this.toJSON());
|
3045
3045
|
}
|
3046
3046
|
_performRefresh() {
|
3047
|
-
return
|
3047
|
+
return b("not implemented");
|
3048
3048
|
}
|
3049
3049
|
}
|
3050
3050
|
/**
|
@@ -3066,9 +3066,9 @@ class H {
|
|
3066
3066
|
function R(n, e) {
|
3067
3067
|
u(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
|
3068
3068
|
}
|
3069
|
-
class
|
3069
|
+
class y {
|
3070
3070
|
constructor(e) {
|
3071
|
-
var { uid: t, auth: r, stsTokenManager: i } = e, s =
|
3071
|
+
var { uid: t, auth: r, stsTokenManager: i } = e, s = Ye(e, ["uid", "auth", "stsTokenManager"]);
|
3072
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) {
|
@@ -3081,10 +3081,10 @@ class b {
|
|
3081
3081
|
), this.accessToken !== t && (this.accessToken = t, await this.auth._persistUserIfCurrent(this), this.auth._notifyListenersIfCurrent(this)), t;
|
3082
3082
|
}
|
3083
3083
|
getIdTokenResult(e) {
|
3084
|
-
return
|
3084
|
+
return ji(this, e);
|
3085
3085
|
}
|
3086
3086
|
reload() {
|
3087
|
-
return
|
3087
|
+
return Wi(this);
|
3088
3088
|
}
|
3089
3089
|
_assign(e) {
|
3090
3090
|
this !== e && (u(
|
@@ -3095,7 +3095,7 @@ class b {
|
|
3095
3095
|
), this.displayName = e.displayName, this.photoURL = e.photoURL, this.email = e.email, this.emailVerified = e.emailVerified, this.phoneNumber = e.phoneNumber, this.isAnonymous = e.isAnonymous, this.tenantId = e.tenantId, this.providerData = e.providerData.map((t) => Object.assign({}, t)), this.metadata._copy(e.metadata), this.stsTokenManager._assign(e.stsTokenManager));
|
3096
3096
|
}
|
3097
3097
|
_clone(e) {
|
3098
|
-
const t = new
|
3098
|
+
const t = new y(Object.assign(Object.assign({}, this), { auth: e, stsTokenManager: this.stsTokenManager._clone() }));
|
3099
3099
|
return t.metadata._copy(this.metadata), t;
|
3100
3100
|
}
|
3101
3101
|
_onReload(e) {
|
@@ -3123,7 +3123,7 @@ class b {
|
|
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, xi(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
3127
3127
|
}
|
3128
3128
|
toJSON() {
|
3129
3129
|
return Object.assign(Object.assign({
|
@@ -3151,7 +3151,7 @@ class b {
|
|
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, x = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
|
3155
3155
|
u(
|
3156
3156
|
Te && at,
|
3157
3157
|
e,
|
@@ -3174,15 +3174,15 @@ class b {
|
|
3174
3174
|
e,
|
3175
3175
|
"internal-error"
|
3176
3176
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3177
|
-
), R(I, e.name), R(
|
3178
|
-
const ke = new
|
3177
|
+
), R(I, e.name), R(x, e.name), R(tt, e.name), R(Ee, e.name), R(nt, e.name), R(rt, e.name);
|
3178
|
+
const ke = new y({
|
3179
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: x,
|
3186
3186
|
phoneNumber: I,
|
3187
3187
|
tenantId: tt,
|
3188
3188
|
stsTokenManager: Pn,
|
@@ -3199,7 +3199,7 @@ class b {
|
|
3199
3199
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
3200
3200
|
const i = new H();
|
3201
3201
|
i.updateFromServerResponse(t);
|
3202
|
-
const s = new
|
3202
|
+
const s = new y({
|
3203
3203
|
uid: t.localId,
|
3204
3204
|
auth: e,
|
3205
3205
|
stsTokenManager: i,
|
@@ -3221,7 +3221,7 @@ class b {
|
|
3221
3221
|
);
|
3222
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
|
-
const o = new
|
3224
|
+
const o = new y({
|
3225
3225
|
uid: i.localId,
|
3226
3226
|
auth: e,
|
3227
3227
|
stsTokenManager: c,
|
@@ -3257,11 +3257,11 @@ class b {
|
|
3257
3257
|
* See the License for the specific language governing permissions and
|
3258
3258
|
* limitations under the License.
|
3259
3259
|
*/
|
3260
|
-
const
|
3260
|
+
const bt = /* @__PURE__ */ new Map();
|
3261
3261
|
function E(n) {
|
3262
3262
|
k(n instanceof Function, "Expected a class definition");
|
3263
|
-
let e =
|
3264
|
-
return e ? (k(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(),
|
3263
|
+
let e = bt.get(n);
|
3264
|
+
return e ? (k(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
|
3265
3265
|
}
|
3266
3266
|
/**
|
3267
3267
|
* @license
|
@@ -3302,7 +3302,7 @@ class ln {
|
|
3302
3302
|
}
|
3303
3303
|
}
|
3304
3304
|
ln.type = "NONE";
|
3305
|
-
const
|
3305
|
+
const yt = ln;
|
3306
3306
|
/**
|
3307
3307
|
* @license
|
3308
3308
|
* Copyright 2019 Google LLC
|
@@ -3322,7 +3322,7 @@ const bt = 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;
|
@@ -3333,7 +3333,7 @@ class G {
|
|
3333
3333
|
}
|
3334
3334
|
async getCurrentUser() {
|
3335
3335
|
const e = await this.persistence._get(this.fullUserKey);
|
3336
|
-
return e ?
|
3336
|
+
return e ? y._fromJSON(this.auth, e) : null;
|
3337
3337
|
}
|
3338
3338
|
removeCurrentUser() {
|
3339
3339
|
return this.persistence._remove(this.fullUserKey);
|
@@ -3353,32 +3353,32 @@ class G {
|
|
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;
|
3360
3360
|
}))).filter((l) => l);
|
3361
|
-
let s = i[0] || E(
|
3361
|
+
let s = i[0] || E(yt);
|
3362
3362
|
const a = ae(r, e.config.apiKey, e.name);
|
3363
3363
|
let c = null;
|
3364
3364
|
for (const l of t)
|
3365
3365
|
try {
|
3366
3366
|
const d = await l._get(a);
|
3367
3367
|
if (d) {
|
3368
|
-
const h =
|
3368
|
+
const h = y._fromJSON(e, d);
|
3369
3369
|
l !== s && (c = h), s = l;
|
3370
3370
|
break;
|
3371
3371
|
}
|
3372
3372
|
} catch {
|
3373
3373
|
}
|
3374
3374
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3375
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3375
|
+
return !s._shouldAllowMigration || !o.length ? new 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
|
/**
|
@@ -3457,7 +3457,7 @@ function Zi(n = f()) {
|
|
3457
3457
|
var e;
|
3458
3458
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3459
3459
|
}
|
3460
|
-
function
|
3460
|
+
function Yi() {
|
3461
3461
|
return dr() && document.documentMode === 10;
|
3462
3462
|
}
|
3463
3463
|
function gn(n = f()) {
|
@@ -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 $i {
|
3514
3514
|
constructor(e) {
|
3515
3515
|
this.auth = e, this.queue = [];
|
3516
3516
|
}
|
@@ -3565,7 +3565,7 @@ class Ji {
|
|
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 Xi(n, e = {}) {
|
3569
3569
|
return Z(n, "GET", "/v2/passwordPolicy", Ie(n, e));
|
3570
3570
|
}
|
3571
3571
|
/**
|
@@ -3584,12 +3584,12 @@ async function Yi(n, e = {}) {
|
|
3584
3584
|
* See the License for the specific language governing permissions and
|
3585
3585
|
* limitations under the License.
|
3586
3586
|
*/
|
3587
|
-
const
|
3587
|
+
const Ji = 6;
|
3588
3588
|
class Ki {
|
3589
3589
|
constructor(e) {
|
3590
3590
|
var t, r, i, s;
|
3591
3591
|
const a = e.customStrengthOptions;
|
3592
|
-
this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = a.minPasswordLength) !== null && t !== void 0 ? t :
|
3592
|
+
this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = a.minPasswordLength) !== null && t !== void 0 ? t : Ji, a.maxPasswordLength && (this.customStrengthOptions.maxPasswordLength = a.maxPasswordLength), a.containsLowercaseCharacter !== void 0 && (this.customStrengthOptions.containsLowercaseLetter = a.containsLowercaseCharacter), a.containsUppercaseCharacter !== void 0 && (this.customStrengthOptions.containsUppercaseLetter = a.containsUppercaseCharacter), a.containsNumericCharacter !== void 0 && (this.customStrengthOptions.containsNumericCharacter = a.containsNumericCharacter), a.containsNonAlphanumericCharacter !== void 0 && (this.customStrengthOptions.containsNonAlphanumericCharacter = a.containsNonAlphanumericCharacter), this.enforcementState = e.enforcementState, this.enforcementState === "ENFORCEMENT_STATE_UNSPECIFIED" && (this.enforcementState = "OFF"), this.allowedNonAlphanumericCharacters = (i = (r = e.allowedNonAlphanumericCharacters) === null || r === void 0 ? void 0 : r.join("")) !== null && i !== void 0 ? i : "", this.forceUpgradeOnSignin = (s = e.forceUpgradeOnSignin) !== null && s !== void 0 ? s : !1, this.schemaVersion = e.schemaVersion;
|
3593
3593
|
}
|
3594
3594
|
validatePassword(e) {
|
3595
3595
|
var t, r, i, s, a, c;
|
@@ -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 Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = 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 $i(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);
|
@@ -3710,7 +3710,7 @@ class qi {
|
|
3710
3710
|
}
|
3711
3711
|
async initializeCurrentUserFromIdToken(e) {
|
3712
3712
|
try {
|
3713
|
-
const t = await on(this, { idToken: e }), r = await
|
3713
|
+
const t = await on(this, { idToken: e }), r = await y._fromGetAccountInfoResponse(this, t, e);
|
3714
3714
|
await this.directlySetCurrentUser(r);
|
3715
3715
|
} catch (t) {
|
3716
3716
|
console.warn("FirebaseServerApp could not login user with provided authIdToken: ", t), await this.directlySetCurrentUser(null);
|
@@ -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 Xi(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"
|
@@ -4074,7 +4074,7 @@ function ns(n) {
|
|
4074
4074
|
* limitations under the License.
|
4075
4075
|
*/
|
4076
4076
|
function rs(n, e) {
|
4077
|
-
const t =
|
4077
|
+
const t = Xt(n, "auth");
|
4078
4078
|
if (t.isInitialized()) {
|
4079
4079
|
const i = t.getImmediate(), s = t.getOptions();
|
4080
4080
|
if (ue(s, e ?? {}))
|
@@ -4158,7 +4158,7 @@ function os() {
|
|
4158
4158
|
* See the License for the specific language governing permissions and
|
4159
4159
|
* limitations under the License.
|
4160
4160
|
*/
|
4161
|
-
class
|
4161
|
+
class bn {
|
4162
4162
|
/** @internal */
|
4163
4163
|
constructor(e, t) {
|
4164
4164
|
this.providerId = e, this.signInMethod = t;
|
@@ -4169,19 +4169,19 @@ class yn {
|
|
4169
4169
|
* @returns a JSON-serializable representation of this object.
|
4170
4170
|
*/
|
4171
4171
|
toJSON() {
|
4172
|
-
return
|
4172
|
+
return b("not implemented");
|
4173
4173
|
}
|
4174
4174
|
/** @internal */
|
4175
4175
|
_getIdTokenResponse(e) {
|
4176
|
-
return
|
4176
|
+
return b("not implemented");
|
4177
4177
|
}
|
4178
4178
|
/** @internal */
|
4179
4179
|
_linkToIdToken(e, t) {
|
4180
|
-
return
|
4180
|
+
return b("not implemented");
|
4181
4181
|
}
|
4182
4182
|
/** @internal */
|
4183
4183
|
_getReauthenticationResolver(e) {
|
4184
|
-
return
|
4184
|
+
return b("not implemented");
|
4185
4185
|
}
|
4186
4186
|
}
|
4187
4187
|
/**
|
@@ -4200,7 +4200,7 @@ class yn {
|
|
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
|
/**
|
@@ -4220,7 +4220,7 @@ async function W(n, e) {
|
|
4220
4220
|
* limitations under the License.
|
4221
4221
|
*/
|
4222
4222
|
const cs = "http://localhost";
|
4223
|
-
class U extends
|
4223
|
+
class U extends bn {
|
4224
4224
|
constructor() {
|
4225
4225
|
super(...arguments), this.pendingToken = null;
|
4226
4226
|
}
|
@@ -4254,7 +4254,7 @@ class U extends yn {
|
|
4254
4254
|
* @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
|
4255
4255
|
*/
|
4256
4256
|
static fromJSON(e) {
|
4257
|
-
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s =
|
4257
|
+
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = Ye(t, ["providerId", "signInMethod"]);
|
4258
4258
|
if (!r || !i)
|
4259
4259
|
return null;
|
4260
4260
|
const a = new U(r, i);
|
@@ -4263,17 +4263,17 @@ class U extends yn {
|
|
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 = {
|
@@ -4305,7 +4305,7 @@ class U extends yn {
|
|
4305
4305
|
* See the License for the specific language governing permissions and
|
4306
4306
|
* limitations under the License.
|
4307
4307
|
*/
|
4308
|
-
class
|
4308
|
+
class yn {
|
4309
4309
|
/**
|
4310
4310
|
* Constructor for generic OAuth providers.
|
4311
4311
|
*
|
@@ -4358,7 +4358,7 @@ class bn {
|
|
4358
4358
|
* See the License for the specific language governing permissions and
|
4359
4359
|
* limitations under the License.
|
4360
4360
|
*/
|
4361
|
-
class ne extends
|
4361
|
+
class ne extends yn {
|
4362
4362
|
constructor() {
|
4363
4363
|
super(...arguments), this.scopes = [];
|
4364
4364
|
}
|
@@ -4673,13 +4673,13 @@ O.PROVIDER_ID = "twitter.com";
|
|
4673
4673
|
* See the License for the specific language governing permissions and
|
4674
4674
|
* limitations under the License.
|
4675
4675
|
*/
|
4676
|
-
class
|
4676
|
+
class B {
|
4677
4677
|
constructor(e) {
|
4678
4678
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
4679
4679
|
}
|
4680
4680
|
static async _fromIdTokenResponse(e, t, r, i = !1) {
|
4681
|
-
const s = await
|
4682
|
-
return new
|
4681
|
+
const s = await y._fromIdTokenResponse(e, r, i), a = kt(r);
|
4682
|
+
return new B({
|
4683
4683
|
user: s,
|
4684
4684
|
providerId: a,
|
4685
4685
|
_tokenResponse: r,
|
@@ -4693,7 +4693,7 @@ class x {
|
|
4693
4693
|
!0
|
4694
4694
|
);
|
4695
4695
|
const i = kt(r);
|
4696
|
-
return new
|
4696
|
+
return new B({
|
4697
4697
|
user: e,
|
4698
4698
|
providerId: i,
|
4699
4699
|
_tokenResponse: r,
|
@@ -4741,7 +4741,7 @@ function En(n, e, t, r) {
|
|
4741
4741
|
}
|
4742
4742
|
async function ls(n, e, t = !1) {
|
4743
4743
|
const r = await K(n, e._linkToIdToken(n.auth, await n.getIdToken()), t);
|
4744
|
-
return
|
4744
|
+
return B._forOperation(n, "link", r);
|
4745
4745
|
}
|
4746
4746
|
/**
|
4747
4747
|
* @license
|
@@ -4772,7 +4772,7 @@ async function ds(n, e, t = !1) {
|
|
4772
4772
|
"internal-error"
|
4773
4773
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4774
4774
|
);
|
4775
|
-
const a =
|
4775
|
+
const a = Je(s.idToken);
|
4776
4776
|
u(
|
4777
4777
|
a,
|
4778
4778
|
r,
|
@@ -4785,7 +4785,7 @@ async function ds(n, e, t = !1) {
|
|
4785
4785
|
r,
|
4786
4786
|
"user-mismatch"
|
4787
4787
|
/* AuthErrorCode.USER_MISMATCH */
|
4788
|
-
),
|
4788
|
+
), B._forOperation(n, i, s);
|
4789
4789
|
} catch (s) {
|
4790
4790
|
throw (s == null ? void 0 : s.code) === "auth/user-not-found" && w(
|
4791
4791
|
r,
|
@@ -4813,7 +4813,7 @@ async function ds(n, e, t = !1) {
|
|
4813
4813
|
async function us(n, e, t = !1) {
|
4814
4814
|
if (v(n.app))
|
4815
4815
|
return Promise.reject(P(n));
|
4816
|
-
const r = "signIn", i = await En(n, r, e), s = await
|
4816
|
+
const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
|
4817
4817
|
return t || await n._updateCurrentUser(s.user), s;
|
4818
4818
|
}
|
4819
4819
|
/**
|
@@ -4857,7 +4857,7 @@ async function ps(n, e) {
|
|
4857
4857
|
const t = ve(n), r = await hs(t, {
|
4858
4858
|
token: e,
|
4859
4859
|
returnSecureToken: !0
|
4860
|
-
}), i = await
|
4860
|
+
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
4861
4861
|
return await t._updateCurrentUser(i.user), i;
|
4862
4862
|
}
|
4863
4863
|
function ms(n, e, t, r) {
|
@@ -4952,7 +4952,7 @@ class wn extends Tn {
|
|
4952
4952
|
const a = this.storage.getItem(r);
|
4953
4953
|
!t && this.localCache[r] === a || this.notifyListeners(r, a);
|
4954
4954
|
}, s = this.storage.getItem(r);
|
4955
|
-
|
4955
|
+
Yi() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, gs) : i();
|
4956
4956
|
}
|
4957
4957
|
notifyListeners(e, t) {
|
4958
4958
|
this.localCache[e] = t;
|
@@ -5083,7 +5083,7 @@ function vs(n) {
|
|
5083
5083
|
* See the License for the specific language governing permissions and
|
5084
5084
|
* limitations under the License.
|
5085
5085
|
*/
|
5086
|
-
class
|
5086
|
+
class be {
|
5087
5087
|
constructor(e) {
|
5088
5088
|
this.eventTarget = e, this.handlersMap = {}, this.boundEventHandler = this.handleEvent.bind(this);
|
5089
5089
|
}
|
@@ -5097,7 +5097,7 @@ class ye {
|
|
5097
5097
|
const t = this.receivers.find((i) => i.isListeningto(e));
|
5098
5098
|
if (t)
|
5099
5099
|
return t;
|
5100
|
-
const r = new
|
5100
|
+
const r = new be(e);
|
5101
5101
|
return this.receivers.push(r), r;
|
5102
5102
|
}
|
5103
5103
|
isListeningto(e) {
|
@@ -5151,7 +5151,7 @@ class ye {
|
|
5151
5151
|
this.handlersMap[e] && t && this.handlersMap[e].delete(t), (!t || this.handlersMap[e].size === 0) && delete this.handlersMap[e], Object.keys(this.handlersMap).length === 0 && this.eventTarget.removeEventListener("message", this.boundEventHandler);
|
5152
5152
|
}
|
5153
5153
|
}
|
5154
|
-
|
5154
|
+
be.receivers = [];
|
5155
5155
|
/**
|
5156
5156
|
* @license
|
5157
5157
|
* Copyright 2020 Google LLC
|
@@ -5190,7 +5190,7 @@ function Qe(n = "", e = 10) {
|
|
5190
5190
|
* See the License for the specific language governing permissions and
|
5191
5191
|
* limitations under the License.
|
5192
5192
|
*/
|
5193
|
-
class
|
5193
|
+
class bs {
|
5194
5194
|
constructor(e) {
|
5195
5195
|
this.target = e, this.handlers = /* @__PURE__ */ new Set();
|
5196
5196
|
}
|
@@ -5290,7 +5290,7 @@ class ys {
|
|
5290
5290
|
function g() {
|
5291
5291
|
return window;
|
5292
5292
|
}
|
5293
|
-
function
|
5293
|
+
function ys(n) {
|
5294
5294
|
g().location.href = n;
|
5295
5295
|
}
|
5296
5296
|
/**
|
@@ -5359,14 +5359,14 @@ class re {
|
|
5359
5359
|
});
|
5360
5360
|
}
|
5361
5361
|
}
|
5362
|
-
function
|
5362
|
+
function ye(n, e) {
|
5363
5363
|
return n.transaction([ge], e ? "readwrite" : "readonly").objectStore(ge);
|
5364
5364
|
}
|
5365
5365
|
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", () => {
|
@@ -5380,23 +5380,23 @@ function Ge() {
|
|
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
|
-
const r =
|
5388
|
+
const r = ye(n, !0).put({
|
5389
5389
|
[Nn]: e,
|
5390
5390
|
value: t
|
5391
5391
|
});
|
5392
5392
|
return new re(r).toPromise();
|
5393
5393
|
}
|
5394
5394
|
async function Ss(n, e) {
|
5395
|
-
const t =
|
5395
|
+
const t = ye(n, !1).get(e), r = await new re(t).toPromise();
|
5396
5396
|
return r === void 0 ? null : r.value;
|
5397
5397
|
}
|
5398
5398
|
function St(n, e) {
|
5399
|
-
const t =
|
5399
|
+
const t = ye(n, !0).delete(e);
|
5400
5400
|
return new re(t).toPromise();
|
5401
5401
|
}
|
5402
5402
|
const As = 800, Ns = 3;
|
@@ -5407,7 +5407,7 @@ class On {
|
|
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;
|
@@ -5432,7 +5432,7 @@ class On {
|
|
5432
5432
|
* As the worker we should listen to events from the main window.
|
5433
5433
|
*/
|
5434
5434
|
async initializeReceiver() {
|
5435
|
-
this.receiver =
|
5435
|
+
this.receiver = 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"
|
@@ -5450,7 +5450,7 @@ class On {
|
|
5450
5450
|
var e, t;
|
5451
5451
|
if (this.activeServiceWorker = await Es(), !this.activeServiceWorker)
|
5452
5452
|
return;
|
5453
|
-
this.sender = new
|
5453
|
+
this.sender = new bs(this.activeServiceWorker);
|
5454
5454
|
const r = await this.sender._send(
|
5455
5455
|
"ping",
|
5456
5456
|
{},
|
@@ -5488,7 +5488,7 @@ class On {
|
|
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
|
}
|
@@ -5514,7 +5514,7 @@ class On {
|
|
5514
5514
|
}
|
5515
5515
|
async _poll() {
|
5516
5516
|
const e = await this._withRetries((i) => {
|
5517
|
-
const s =
|
5517
|
+
const s = ye(i, !1).getAll();
|
5518
5518
|
return new re(s).toPromise();
|
5519
5519
|
});
|
5520
5520
|
if (!e)
|
@@ -5592,7 +5592,7 @@ function Cs(n, e) {
|
|
5592
5592
|
* See the License for the specific language governing permissions and
|
5593
5593
|
* limitations under the License.
|
5594
5594
|
*/
|
5595
|
-
class et extends
|
5595
|
+
class et extends bn {
|
5596
5596
|
constructor(e) {
|
5597
5597
|
super(
|
5598
5598
|
"custom",
|
@@ -5601,13 +5601,13 @@ class et extends yn {
|
|
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 = {
|
@@ -5743,9 +5743,9 @@ class Cn {
|
|
5743
5743
|
* limitations under the License.
|
5744
5744
|
*/
|
5745
5745
|
const Ls = new te(2e3, 1e4);
|
5746
|
-
class
|
5746
|
+
class j extends Cn {
|
5747
5747
|
constructor(e, t, r, i, s) {
|
5748
|
-
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null,
|
5748
|
+
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, j.currentPopupAction && j.currentPopupAction.cancel(), j.currentPopupAction = this;
|
5749
5749
|
}
|
5750
5750
|
async executeNotNull() {
|
5751
5751
|
const e = await this.execute();
|
@@ -5787,7 +5787,7 @@ class B extends Cn {
|
|
5787
5787
|
));
|
5788
5788
|
}
|
5789
5789
|
cleanUp() {
|
5790
|
-
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null,
|
5790
|
+
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, j.currentPopupAction = null;
|
5791
5791
|
}
|
5792
5792
|
pollUserCancellation() {
|
5793
5793
|
const e = () => {
|
@@ -5811,7 +5811,7 @@ class B extends Cn {
|
|
5811
5811
|
e();
|
5812
5812
|
}
|
5813
5813
|
}
|
5814
|
-
|
5814
|
+
j.currentPopupAction = null;
|
5815
5815
|
/**
|
5816
5816
|
* @license
|
5817
5817
|
* Copyright 2020 Google LLC
|
@@ -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
|
5832
|
+
class Bs extends Cn {
|
5833
5833
|
constructor(e, t, r = !1) {
|
5834
5834
|
super(e, [
|
5835
5835
|
"signInViaRedirect",
|
@@ -5847,7 +5847,7 @@ class xs extends Cn {
|
|
5847
5847
|
let e = oe.get(this.auth._key());
|
5848
5848
|
if (!e) {
|
5849
5849
|
try {
|
5850
|
-
const r = await
|
5850
|
+
const r = await xs(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,14 +5875,14 @@ class xs extends Cn {
|
|
5875
5875
|
cleanUp() {
|
5876
5876
|
}
|
5877
5877
|
}
|
5878
|
-
async function
|
5878
|
+
async function xs(n, e) {
|
5879
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";
|
5883
5883
|
return await r._remove(t), i;
|
5884
5884
|
}
|
5885
|
-
function
|
5885
|
+
function js(n, e) {
|
5886
5886
|
oe.set(n._key(), e);
|
5887
5887
|
}
|
5888
5888
|
function Fs(n) {
|
@@ -5891,10 +5891,10 @@ function Fs(n) {
|
|
5891
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 = Cs(r, e), a = await new
|
5897
|
+
const r = ve(n), i = Cs(r, e), a = await new Bs(r, i, t).execute();
|
5898
5898
|
return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
|
5899
5899
|
}
|
5900
5900
|
/**
|
@@ -5913,7 +5913,7 @@ async function Gs(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
|
5916
|
+
const Gs = 10 * 60 * 1e3;
|
5917
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();
|
@@ -5945,7 +5945,7 @@ class Vs {
|
|
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,14 +6004,14 @@ 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
|
6008
|
-
async function
|
6007
|
+
const Ys = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, $s = /^https?/;
|
6008
|
+
async function Xs(n) {
|
6009
6009
|
if (n.config.emulator)
|
6010
6010
|
return;
|
6011
6011
|
const { authorizedDomains: e } = await Zs(n);
|
6012
6012
|
for (const t of e)
|
6013
6013
|
try {
|
6014
|
-
if (
|
6014
|
+
if (Js(t))
|
6015
6015
|
return;
|
6016
6016
|
} catch {
|
6017
6017
|
}
|
@@ -6021,15 +6021,15 @@ async function Ys(n) {
|
|
6021
6021
|
/* AuthErrorCode.INVALID_ORIGIN */
|
6022
6022
|
);
|
6023
6023
|
}
|
6024
|
-
function
|
6024
|
+
function Js(n) {
|
6025
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 (!$s.test(t))
|
6031
6031
|
return !1;
|
6032
|
-
if (
|
6032
|
+
if (Ys.test(n))
|
6033
6033
|
return r === n;
|
6034
6034
|
const i = n.replace(/\./g, "\\.");
|
6035
6035
|
return new RegExp("^(.+\\." + i + "|" + i + ")$", "i").test(r);
|
@@ -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 ? Xe(e, na) : `https://${n.config.authDomain}/${ta}`, r = {
|
6143
6143
|
apiKey: e.apiKey,
|
6144
6144
|
appName: n.name,
|
6145
6145
|
v: ee
|
@@ -6225,7 +6225,7 @@ 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, x]) => `${m}${I}=${x},`, "");
|
6229
6229
|
if (Zi(l) && c !== "_self")
|
6230
6230
|
return pa(e || "", c), new Ot(null);
|
6231
6231
|
const h = window.open(e || "", c, d);
|
@@ -6284,7 +6284,7 @@ async function Ct(n, e, t, r, i, s) {
|
|
6284
6284
|
v: ee,
|
6285
6285
|
eventId: i
|
6286
6286
|
};
|
6287
|
-
if (e instanceof
|
6287
|
+
if (e instanceof yn) {
|
6288
6288
|
e.setDefaultLanguage(n.languageCode), a.providerId = e.providerId || "", _r(e.getCustomParameters()) || (a.customParameters = JSON.stringify(e.getCustomParameters()));
|
6289
6289
|
for (const [d, h] of Object.entries({}))
|
6290
6290
|
a[d] = h;
|
@@ -6301,7 +6301,7 @@ async function Ct(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 ? Xe(n, fa) : `https://${n.authDomain}/${ma}`;
|
6305
6305
|
}
|
6306
6306
|
/**
|
6307
6307
|
* @license
|
@@ -6322,7 +6322,7 @@ 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 = js;
|
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
|
@@ -6335,7 +6335,7 @@ class Ia {
|
|
6335
6335
|
async _openRedirect(e, t, r, i) {
|
6336
6336
|
await this._originValidation(e);
|
6337
6337
|
const s = await Ct(e, t, r, Fe(), i);
|
6338
|
-
return
|
6338
|
+
return ys(s), new Promise(() => {
|
6339
6339
|
});
|
6340
6340
|
}
|
6341
6341
|
_initialize(e) {
|
@@ -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] = Xs(e)), this.originValidationPromises[t];
|
6378
6378
|
}
|
6379
6379
|
get _shouldInitProactively() {
|
6380
6380
|
return gn() || un() || Ke();
|
@@ -6398,7 +6398,7 @@ var Dt = "@firebase/auth", Pt = "1.7.9";
|
|
6398
6398
|
* See the License for the specific language governing permissions and
|
6399
6399
|
* limitations under the License.
|
6400
6400
|
*/
|
6401
|
-
class
|
6401
|
+
class ba {
|
6402
6402
|
constructor(e) {
|
6403
6403
|
this.auth = e, this.internalListeners = /* @__PURE__ */ new Map();
|
6404
6404
|
}
|
@@ -6449,7 +6449,7 @@ class ya {
|
|
6449
6449
|
* See the License for the specific language governing permissions and
|
6450
6450
|
* limitations under the License.
|
6451
6451
|
*/
|
6452
|
-
function
|
6452
|
+
function ya(n) {
|
6453
6453
|
switch (n) {
|
6454
6454
|
case "Node":
|
6455
6455
|
return "node";
|
@@ -6466,7 +6466,7 @@ function ba(n) {
|
|
6466
6466
|
}
|
6467
6467
|
}
|
6468
6468
|
function Ea(n) {
|
6469
|
-
|
6469
|
+
X(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,21 +6492,21 @@ function Ea(n) {
|
|
6492
6492
|
"auth-internal"
|
6493
6493
|
/* _ComponentName.AUTH_INTERNAL */
|
6494
6494
|
).initialize();
|
6495
|
-
})),
|
6495
|
+
})), X(new V(
|
6496
6496
|
"auth-internal",
|
6497
6497
|
(e) => {
|
6498
6498
|
const t = ve(e.getProvider(
|
6499
6499
|
"auth"
|
6500
6500
|
/* _ComponentName.AUTH */
|
6501
6501
|
).getImmediate());
|
6502
|
-
return ((r) => new
|
6502
|
+
return ((r) => new ba(r))(t);
|
6503
6503
|
},
|
6504
6504
|
"PRIVATE"
|
6505
6505
|
/* ComponentType.PRIVATE */
|
6506
6506
|
).setInstantiationMode(
|
6507
6507
|
"EXPLICIT"
|
6508
6508
|
/* InstantiationMode.EXPLICIT */
|
6509
|
-
)), F(Dt, Pt,
|
6509
|
+
)), F(Dt, Pt, ya(n)), F(Dt, Pt, "esm2017");
|
6510
6510
|
}
|
6511
6511
|
/**
|
6512
6512
|
* @license
|
@@ -6539,7 +6539,7 @@ const ka = (n) => async (e) => {
|
|
6539
6539
|
}));
|
6540
6540
|
};
|
6541
6541
|
function Ra(n = Ii()) {
|
6542
|
-
const e =
|
6542
|
+
const e = Xt(n, "auth");
|
6543
6543
|
if (e.isInitialized())
|
6544
6544
|
return e.getImmediate();
|
6545
6545
|
const t = rs(n, {
|
@@ -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() {
|
@@ -6605,11 +6605,11 @@ 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) => {
|
6612
|
-
const o =
|
6612
|
+
const o = Y(e, (l) => {
|
6613
6613
|
var d, h;
|
6614
6614
|
l && (o(), c(
|
6615
6615
|
(((d = e.value) == null ? void 0 : d.role.isStaff) || ((h = e.value) == null ? void 0 : h.role.isAdmin)) ?? !1
|
@@ -6623,12 +6623,12 @@ Aa.beforeEach(async (n) => {
|
|
6623
6623
|
}
|
6624
6624
|
return !r.value || !t.value ? (Me || (Me = Promise.all([
|
6625
6625
|
new Promise(async (a) => {
|
6626
|
-
const c =
|
6626
|
+
const c = Y(r, (o) => {
|
6627
6627
|
o && (c(), a(!0));
|
6628
6628
|
});
|
6629
6629
|
}),
|
6630
6630
|
new Promise(async (a) => {
|
6631
|
-
const c =
|
6631
|
+
const c = Y(t, (l) => {
|
6632
6632
|
l && (c(), a(!0));
|
6633
6633
|
}), o = await i();
|
6634
6634
|
await s(o == null ? void 0 : o.at(0));
|
@@ -6638,8 +6638,8 @@ Aa.beforeEach(async (n) => {
|
|
6638
6638
|
const Na = /* @__PURE__ */ Ut({
|
6639
6639
|
__name: "AppSidebar",
|
6640
6640
|
setup(n) {
|
6641
|
-
const e =
|
6642
|
-
|
6641
|
+
const e = Ge(), t = Bn(), { t: r } = Vn(), i = jn(t.currentRoute.value.name);
|
6642
|
+
Y(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
|
});
|
@@ -6711,8 +6711,8 @@ const Na = /* @__PURE__ */ Ut({
|
|
6711
6711
|
}), l.push(...a)), l;
|
6712
6712
|
});
|
6713
6713
|
return (l, d) => {
|
6714
|
-
const h =
|
6715
|
-
return
|
6714
|
+
const h = Bt("FmCollapsibleTabs");
|
6715
|
+
return xt(), jt(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 Na = /* @__PURE__ */ Ut({
|
|
6721
6721
|
};
|
6722
6722
|
}
|
6723
6723
|
});
|
6724
|
-
var Oa = { authClientId: "
|
6725
|
-
const
|
6724
|
+
var Oa = { authClientId: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" }, assetBucketUrl: "static.feedme.cc" };
|
6725
|
+
const xa = /* @__PURE__ */ Ut({
|
6726
6726
|
__name: "App",
|
6727
6727
|
setup(n) {
|
6728
|
-
const { state: e } = Kn(), t =
|
6728
|
+
const { state: e } = Kn(), t = Ge(), r = xn(), i = Jt(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(),
|
6735
|
+
return s(), Y(t.sessionUser, s), Hn(() => {
|
6736
6736
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6737
|
-
}),
|
6737
|
+
}), Wn(() => {
|
6738
6738
|
t.registerSidebarComponent(Na);
|
6739
6739
|
}), (a, c) => {
|
6740
|
-
const o =
|
6741
|
-
return
|
6742
|
-
key:
|
6740
|
+
const o = Bt("RouterView");
|
6741
|
+
return xt(), jt(o, {
|
6742
|
+
key: Gn(r).path
|
6743
6743
|
});
|
6744
6744
|
};
|
6745
6745
|
}
|
6746
|
-
}),
|
6747
|
-
"en-US":
|
6748
|
-
"zh-CN":
|
6746
|
+
}), ja = {
|
6747
|
+
"en-US": $n,
|
6748
|
+
"zh-CN": Jn
|
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
|
+
X as _,
|
6755
|
+
Xt as a,
|
6756
6756
|
Ua as b,
|
6757
6757
|
Ii as c,
|
6758
|
-
|
6758
|
+
Ba as d,
|
6759
6759
|
gt as e,
|
6760
6760
|
Fa as f,
|
6761
6761
|
z as g,
|
6762
|
-
|
6763
|
-
|
6762
|
+
xa as h,
|
6763
|
+
ja as i,
|
6764
6764
|
F as r
|
6765
6765
|
};
|