@feedmepos/mf-payment 1.1.6 → 1.1.7-beta.2

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.
Files changed (38) hide show
  1. package/dist/{PayoutAccount-CBGLfBag.js → PayoutAccount-CTGMi_PX.js} +5 -5
  2. package/dist/{PayoutAccount-Bl2-Th-5.js → PayoutAccount-CmdOJR3H.js} +3 -3
  3. package/dist/{PayoutAccountSetting-DiMwWLwY.js → PayoutAccountSetting-CjrCD_d1.js} +3 -3
  4. package/dist/{Restaurant-CdB7D9zA.js → Restaurant-OdusOWQW.js} +4 -4
  5. package/dist/{RestaurantSetting-CQyXjYux.js → RestaurantSetting-Ex1C9Sm0.js} +3 -3
  6. package/dist/{Settlement-7WRCiiQ4.js → Settlement-B7HpwvU5.js} +3 -3
  7. package/dist/Settlement-BzqXBGs7.js +194 -0
  8. package/dist/{SettlementTransactions-CymvVBh8.js → SettlementTransactions--0nVkfix.js} +3 -3
  9. package/dist/{SettlementTransactions-B1dUvxhz.js → SettlementTransactions-Can9YWKo.js} +3 -3
  10. package/dist/{Terminal-DRKD8BO1.js → Terminal-Bk9PaUWE.js} +6 -6
  11. package/dist/TerminalSetting-DY91cG8K.js +489 -0
  12. package/dist/{Transaction-DcQQ_4ku.js → Transaction-4VcaNM-I.js} +6 -6
  13. package/dist/{Transaction-DQQI8kOT.js → Transaction-B0mm21J6.js} +52 -47
  14. package/dist/{TransactionOld-DJJIQo-i.js → TransactionOld-BBjyfmEP.js} +5 -5
  15. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-C_3J1G8_.js → TransactionTable.vue_vue_type_script_setup_true_lang-CFxM2Kdo.js} +7 -3
  16. package/dist/api/terminal/index.d.ts +4 -0
  17. package/dist/api/transaction/index.d.ts +1 -1
  18. package/dist/{app-B1ZoKtpx.js → app-BqfjZZ5M.js} +382 -380
  19. package/dist/app.d.ts +2 -0
  20. package/dist/app.js +1 -1
  21. package/dist/{assets-ZXvnCE72.js → assets-Dt65qI3E.js} +80 -73
  22. package/dist/{grafana-tSaEG-rZ.js → grafana-DYfiInW0.js} +7 -7
  23. package/dist/{index-D1dXyrdm.js → index-BLk57IkI.js} +1 -1
  24. package/dist/{index-DQcz6kdU.js → index-CLm4m9aq.js} +2 -2
  25. package/dist/{index-kEMG4SWc.js → index-Cg9oAjSw.js} +1 -1
  26. package/dist/{index-DEEbas1_.js → index-CqPoOkrc.js} +1 -1
  27. package/dist/{index-DlvE9K3G.js → index-DUS0JnIE.js} +9 -1
  28. package/dist/{index-CGBOgV3E.js → index-OxQY2Y3u.js} +1 -1
  29. package/dist/{index.vue_vue_type_script_setup_true_lang-CwHVO04q.js → index.vue_vue_type_script_setup_true_lang-Bp8Y1T2v.js} +1 -1
  30. package/dist/model/transaction.d.ts +3 -0
  31. package/dist/package.json +1 -1
  32. package/dist/{payout-account-BtTgqm7Q.js → payout-account-7HSkCqOD.js} +2 -2
  33. package/dist/tsconfig.app.tsbuildinfo +1 -1
  34. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +87 -0
  35. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +87 -0
  36. package/package.json +1 -1
  37. package/dist/Settlement-BA09mDyG.js +0 -218
  38. package/dist/TerminalSetting-DUVbknAn.js +0 -389
@@ -1,6 +1,6 @@
1
- import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as xn } from "vue-router";
2
- import { computed as Lt, watch as Z, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as xt, createBlock as Ft, h as jn, onMounted as Hn, onBeforeMount as Wn, unref as Vn } from "vue";
3
- import { useCoreStore as Ve, useI18n as Gn } from "@feedmepos/mf-common";
1
+ import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as Fn } from "vue-router";
2
+ import { computed as Lt, watch as Z, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as jn, onMounted as Hn, onBeforeMount as Vn, unref as Gn } from "vue";
3
+ import { useCoreStore as Ge, useI18n as Wn } from "@feedmepos/mf-common";
4
4
  import { defineStore as zn } from "pinia";
5
5
  import { components as $n } from "@feedmepos/ui-library";
6
6
  const Zn = {
@@ -92,6 +92,7 @@ const Zn = {
92
92
  type: "Type",
93
93
  status: "Status",
94
94
  source: "Source",
95
+ restaurant: "Restaurant",
95
96
  transaction_at: "Transaction At",
96
97
  sales_amount: "Sales Amount",
97
98
  actions: "Actions"
@@ -235,6 +236,7 @@ const Zn = {
235
236
  method: "支付方法",
236
237
  type: "支付类型",
237
238
  status: "状态",
239
+ restaurant: "餐厅",
238
240
  source: "源",
239
241
  transaction_at: "交易时间",
240
242
  sales_amount: "交易金额",
@@ -299,7 +301,7 @@ const Zn = {
299
301
  sidebarDisplay: "Restaurants",
300
302
  section: "payment-gateway"
301
303
  },
302
- component: () => import("./Restaurant-CdB7D9zA.js")
304
+ component: () => import("./Restaurant-OdusOWQW.js")
303
305
  },
304
306
  {
305
307
  path: "/admin/restaurants/:restaurantId",
@@ -308,7 +310,7 @@ const Zn = {
308
310
  meta: {
309
311
  parent: "mf-payment-admin.restaurant"
310
312
  },
311
- component: () => import("./RestaurantSetting-CQyXjYux.js")
313
+ component: () => import("./RestaurantSetting-Ex1C9Sm0.js")
312
314
  },
313
315
  {
314
316
  path: "/admin/payout-accounts",
@@ -317,7 +319,7 @@ const Zn = {
317
319
  sidebarDisplay: "Payout Accounts",
318
320
  section: "payment-gateway"
319
321
  },
320
- component: () => import("./PayoutAccount-CBGLfBag.js")
322
+ component: () => import("./PayoutAccount-CTGMi_PX.js")
321
323
  },
322
324
  {
323
325
  path: "/admin/payout-accounts/:accountId",
@@ -326,7 +328,7 @@ const Zn = {
326
328
  meta: {
327
329
  parent: "mf-payment-admin.payout-account"
328
330
  },
329
- component: () => import("./PayoutAccountSetting-DiMwWLwY.js")
331
+ component: () => import("./PayoutAccountSetting-CjrCD_d1.js")
330
332
  },
331
333
  {
332
334
  path: "/admin/terminal/pos",
@@ -335,7 +337,7 @@ const Zn = {
335
337
  sidebarDisplay: "POS",
336
338
  section: "device"
337
339
  },
338
- component: () => import("./Terminal-DRKD8BO1.js"),
340
+ component: () => import("./Terminal-Bk9PaUWE.js"),
339
341
  props: {
340
342
  type: "POS"
341
343
  }
@@ -347,7 +349,7 @@ const Zn = {
347
349
  sidebarDisplay: "Kiosks",
348
350
  section: "device"
349
351
  },
350
- component: () => import("./Terminal-DRKD8BO1.js"),
352
+ component: () => import("./Terminal-Bk9PaUWE.js"),
351
353
  props: {
352
354
  type: "KIOSK"
353
355
  }
@@ -359,7 +361,7 @@ const Zn = {
359
361
  sidebarDisplay: "Terminals",
360
362
  section: "device"
361
363
  },
362
- component: () => import("./Terminal-DRKD8BO1.js"),
364
+ component: () => import("./Terminal-Bk9PaUWE.js"),
363
365
  props: {
364
366
  type: "TERMINAL"
365
367
  }
@@ -371,7 +373,7 @@ const Zn = {
371
373
  meta: {
372
374
  parent: "mf-payment-admin.pos"
373
375
  },
374
- component: () => import("./TerminalSetting-DUVbknAn.js")
376
+ component: () => import("./TerminalSetting-DY91cG8K.js")
375
377
  },
376
378
  {
377
379
  path: "/admin/terminal/kiosk/:terminalId",
@@ -380,7 +382,7 @@ const Zn = {
380
382
  meta: {
381
383
  parent: "mf-payment-admin.kiosk"
382
384
  },
383
- component: () => import("./TerminalSetting-DUVbknAn.js")
385
+ component: () => import("./TerminalSetting-DY91cG8K.js")
384
386
  },
385
387
  {
386
388
  path: "/admin/terminal/terminal/:terminalId",
@@ -389,7 +391,7 @@ const Zn = {
389
391
  meta: {
390
392
  parent: "mf-payment-admin.terminal"
391
393
  },
392
- component: () => import("./TerminalSetting-DUVbknAn.js")
394
+ component: () => import("./TerminalSetting-DY91cG8K.js")
393
395
  },
394
396
  {
395
397
  path: "/admin/transaction",
@@ -397,7 +399,7 @@ const Zn = {
397
399
  meta: {
398
400
  sidebarDisplay: "Transactions"
399
401
  },
400
- component: () => import("./Transaction-DQQI8kOT.js")
402
+ component: () => import("./Transaction-B0mm21J6.js")
401
403
  },
402
404
  {
403
405
  path: "/admin/settlement",
@@ -405,7 +407,7 @@ const Zn = {
405
407
  meta: {
406
408
  sidebarDisplay: "Settlements"
407
409
  },
408
- component: () => import("./Settlement-BA09mDyG.js")
410
+ component: () => import("./Settlement-BzqXBGs7.js")
409
411
  },
410
412
  {
411
413
  path: "/admin/settlement/:settlementId",
@@ -414,9 +416,9 @@ const Zn = {
414
416
  meta: {
415
417
  parent: "mf-payment-admin.settlement"
416
418
  },
417
- component: () => import("./SettlementTransactions-CymvVBh8.js")
419
+ component: () => import("./SettlementTransactions--0nVkfix.js")
418
420
  }
419
- ], Ge = [
421
+ ], We = [
420
422
  {
421
423
  path: "",
422
424
  redirect: { name: "mf-payment-payout-account" }
@@ -424,7 +426,7 @@ const Zn = {
424
426
  {
425
427
  path: "/payout-account",
426
428
  name: "mf-payment-payout-account",
427
- component: () => import("./PayoutAccount-Bl2-Th-5.js"),
429
+ component: () => import("./PayoutAccount-CmdOJR3H.js"),
428
430
  meta: {
429
431
  sidebarDisplay: "i18n:routes.payout_account"
430
432
  }
@@ -432,7 +434,7 @@ const Zn = {
432
434
  {
433
435
  path: "/transaction-old",
434
436
  name: "mf-payment-old-transaction",
435
- component: () => import("./TransactionOld-DJJIQo-i.js"),
437
+ component: () => import("./TransactionOld-BBjyfmEP.js"),
436
438
  meta: {
437
439
  sidebarDisplay: "i18n:routes.transaction"
438
440
  }
@@ -440,7 +442,7 @@ const Zn = {
440
442
  {
441
443
  path: "/transaction",
442
444
  name: "mf-payment-transaction",
443
- component: () => import("./Transaction-DcQQ_4ku.js"),
445
+ component: () => import("./Transaction-4VcaNM-I.js"),
444
446
  meta: {
445
447
  sidebarDisplay: "i18n:routes.transaction-new",
446
448
  sidebarNew: !0
@@ -449,7 +451,7 @@ const Zn = {
449
451
  {
450
452
  path: "/settlement",
451
453
  name: "mf-payment-settlement",
452
- component: () => import("./Settlement-7WRCiiQ4.js"),
454
+ component: () => import("./Settlement-B7HpwvU5.js"),
453
455
  meta: {
454
456
  sidebarDisplay: "i18n:routes.settlement"
455
457
  }
@@ -458,7 +460,7 @@ const Zn = {
458
460
  path: "/settlement/:settlementId",
459
461
  name: "mf-payment-settlement-transaction",
460
462
  props: !0,
461
- component: () => import("./SettlementTransactions-B1dUvxhz.js"),
463
+ component: () => import("./SettlementTransactions-Can9YWKo.js"),
462
464
  meta: {
463
465
  parent: "mf-payment-settlement"
464
466
  }
@@ -475,7 +477,7 @@ const Zn = {
475
477
  init: t
476
478
  };
477
479
  });
478
- var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_yiqq4AXtDOQ6yiEC3BpfX6w4LEsHeb1IAIZy", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "709", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250330.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6578", GITHUB_WORKFLOW: "payment-mf-portal-prod", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14214224087", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2ce2550dc869424fd6694fcc1f3fde677584b6d0", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-prod.yaml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6ZWQ1ZjI5YjItMGEyOC00NzkwLTlmM2YtODBjNjcxN2MwOWMzOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDI3IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46ZWQ1ZjI5YjItMGEyOC00NzkwLTlmM2YtODBjNjcxN2MwOWMzOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDI3IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiM2FjM2I5MjctZWM5ZS00OGFjLWIxN2EtYzk5MDYzNGMyNGQ5Iiwic2lkIjoiN2Q3MGQxOGItNDNhMi00OTNhLTlhOWItOWFjMTg4MDZjYjRlIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCIyY2UyNTUwZGM4Njk0MjRmZDY2OTRmY2MxZjNmZGU2Nzc1ODRiNmQwXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjE0MjE0MjI0MDg3XCIsXCJydW5fbnVtYmVyXCI6XCI0MlwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCIyY2UyNTUwZGM4Njk0MjRmZDY2OTRmY2MxZjNmZGU2Nzc1ODRiNmQwXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjJjZTI1NTBkYzg2OTQyNGZkNjY5NGZjYzFmM2ZkZTY3NzU4NGI2ZDBcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiJlZDVmMjliMi0wYTI4LTQ3OTAtOWYzZi04MGM2NzE3YzA5YzMuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDM1NzkxODUsImV4cCI6MTc0MzYwMTk4NX0.WBb0iR_RTH-KAW1hjKrImnn9yj8LEOb89SdNpnpycGN_D7PqNjfBjfquCm6tQKhisTA0iBI70e4kk4h9mESKt5jPyjtkqqM252YnpfeCccG8CajksFxkUzVI8f1SoF_NlHqeE_cWsgfOBZZQiFe8FcTWu-p027hamxv5HUyp3RMmaSLWBE3cpD4ytB1tnS30sIAVfLk4xS8N_DON3UPdqd1x0Dg97Z9KIy4P8T7bCfGVYRRIfgv1McahNF28-POfQPVPQe17DVWItVw40OZXe9YCduMfzW1WH7dzzp8nstVor6QPrK6X9clo2FG84dm2mZNI9-gUWahR2I-zvhzCQw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1743579819901-0.7080308718291306:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1743579819746-0.9291602068279805:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1743579819590-0.6041229915675483:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_5cdfe4ef-ca49-407d-a503-894475a3d6e5", INVOCATION_ID: "a7409e2b2d014ce1993c037de216d8a0", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "42", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 366", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:prod", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:prod", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.6", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:prod"],"original":["deploy:prod"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "2ce2550dc869424fd6694fcc1f3fde677584b6d0", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/ed5f29b2-0a28-4790-9f3f-80c6717c09c3/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
480
+ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_1c2ef822-4422-4820-b5fd-0910de669f51", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_1c2ef822-4422-4820-b5fd-0910de669f51", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_cGbOEgD0ChUYiAty1Jy0ArO5FPoRdj49LeYJ", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "711", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250323.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6329", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14301912146", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "c37851dbf682578cf178032499481f775f0e3503", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6MTQ3YzBkMzAtMzlmOC00NWU4LWE4YTItYTA2MDQ2ODFiMzQwOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDM1IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46MTQ3YzBkMzAtMzlmOC00NWU4LWE4YTItYTA2MDQ2ODFiMzQwOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDM1IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiYjllMDVhMGMtMWNjNi00NDViLWEzZjUtODMyYzFiZGRiZWU5Iiwic2lkIjoiMDVjZjIzNzgtYWQ1ZS00ZDQyLWJkMjAtYjk5NTZjZTdkNjM4IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcImMzNzg1MWRiZjY4MjU3OGNmMTc4MDMyNDk5NDgxZjc3NWYwZTM1MDNcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQzMDE5MTIxNDZcIixcInJ1bl9udW1iZXJcIjpcIjE2MVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJjMzc4NTFkYmY2ODI1NzhjZjE3ODAzMjQ5OTQ4MWY3NzVmMGUzNTAzXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJjMzc4NTFkYmY2ODI1NzhjZjE3ODAzMjQ5OTQ4MWY3NzVmMGUzNTAzXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiIxNDdjMGQzMC0zOWY4LTQ1ZTgtYThhMi1hMDYwNDY4MWIzNDAuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQwMDQ5MTYsImV4cCI6MTc0NDAyNzcxNn0.Q4SXbc59dCInK2EcvjWvGj5w2oOMRQxeHBserf2TD8ZYxo7WgjjVMXCQPI9xVq53HwXT1QuU8NidTWUqwpUWslmQgrKpLq0LQn08yXYj9ceyDesrqWLfkzX9e0ZWEfze6sFPU0vbJSuAUXdrM0qeE5BG4B0kN3yorfMcWt-H7aGJhsTp8V5iqyLMMw-_bAn7qPQaq7t0Pj2vPDXjiAliIJ1AnzMZ8tuV7IL6NVuyz064a24fBn7Hxh_4__-cbxrBOBKupJGT-l_MVbICToOm5s0VdM-JAy1a1bUZJqXEXz6-zivDoctHwJXCmC6JxTYzyyIY9TgisbY_oPJZECGaBA", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744005556413-0.11305535275431278:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744005556254-0.2520776262359794:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744005556096-0.3183336273337194:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_3964043d-3d90-40e8-a3c4-b04676f7ebf6", INVOCATION_ID: "40d6aeffea0945649200dfc4dd4f8cf1", 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: "161", 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 250", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.7-beta.2", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "c37851dbf682578cf178032499481f775f0e3503", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_1c2ef822-4422-4820-b5fd-0910de669f51", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/147c0d30-39f8-45e8-a8a2-a0604681b340/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_1c2ef822-4422-4820-b5fd-0910de669f51", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_1c2ef822-4422-4820-b5fd-0910de669f51", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
479
481
  /**
480
482
  * @license
481
483
  * Copyright 2017 Google LLC
@@ -579,8 +581,8 @@ const jt = function(n) {
579
581
  const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
580
582
  for (let i = 0; i < n.length; i += 3) {
581
583
  const s = n[i], a = i + 1 < n.length, c = a ? n[i + 1] : 0, o = i + 2 < n.length, l = o ? n[i + 2] : 0, d = s >> 2, h = (s & 3) << 4 | c >> 4;
582
- let m = (c & 15) << 2 | l >> 6, I = l & 63;
583
- o || (I = 64, a || (m = 64)), r.push(t[d], t[h], t[m], t[I]);
584
+ let f = (c & 15) << 2 | l >> 6, v = l & 63;
585
+ o || (v = 64, a || (f = 64)), r.push(t[d], t[h], t[f], t[v]);
584
586
  }
585
587
  return r.join("");
586
588
  },
@@ -632,12 +634,12 @@ const jt = function(n) {
632
634
  const h = i < n.length ? t[n.charAt(i)] : 64;
633
635
  if (++i, s == null || c == null || l == null || h == null)
634
636
  throw new or();
635
- const m = s << 2 | c >> 4;
636
- if (r.push(m), l !== 64) {
637
- const I = c << 4 & 240 | l >> 2;
638
- if (r.push(I), h !== 64) {
639
- const x = l << 6 & 192 | h;
640
- r.push(x);
637
+ const f = s << 2 | c >> 4;
638
+ if (r.push(f), l !== 64) {
639
+ const v = c << 4 & 240 | l >> 2;
640
+ if (r.push(v), h !== 64) {
641
+ const F = l << 6 & 192 | h;
642
+ r.push(F);
641
643
  }
642
644
  }
643
645
  }
@@ -666,7 +668,7 @@ const cr = function(n) {
666
668
  return Ht.encodeByteArray(e, !0);
667
669
  }, de = function(n) {
668
670
  return cr(n).replace(/\./g, "");
669
- }, Wt = function(n) {
671
+ }, Vt = function(n) {
670
672
  try {
671
673
  return Ht.decodeString(n, !0);
672
674
  } catch (e) {
@@ -730,7 +732,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
730
732
  } catch {
731
733
  return;
732
734
  }
733
- const e = n && Wt(n[1]);
735
+ const e = n && Vt(n[1]);
734
736
  return e && JSON.parse(e);
735
737
  }, ze = () => {
736
738
  try {
@@ -739,11 +741,11 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
739
741
  console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
740
742
  return;
741
743
  }
742
- }, Vt = (n) => {
744
+ }, Gt = (n) => {
743
745
  var e, t;
744
746
  return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
745
- }, Ga = (n) => {
746
- const e = Vt(n);
747
+ }, Wa = (n) => {
748
+ const e = Gt(n);
747
749
  if (!e)
748
750
  return;
749
751
  const t = e.lastIndexOf(":");
@@ -751,7 +753,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
751
753
  throw new Error(`Invalid host ${e} with no separate hostname and port!`);
752
754
  const r = parseInt(e.substring(t + 1), 10);
753
755
  return e[0] === "[" ? [e.substring(1, t - 1), r] : [e.substring(0, t), r];
754
- }, Gt = () => {
756
+ }, Wt = () => {
755
757
  var n;
756
758
  return (n = ze()) === null || n === void 0 ? void 0 : n.config;
757
759
  }, zt = (n) => {
@@ -855,15 +857,15 @@ function za(n, e) {
855
857
  * See the License for the specific language governing permissions and
856
858
  * limitations under the License.
857
859
  */
858
- function f() {
860
+ function m() {
859
861
  return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
860
862
  }
861
- function mr() {
863
+ function fr() {
862
864
  return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
863
865
  // just to deal with this case would probably be a bad idea.
864
- !!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(f());
866
+ !!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(m());
865
867
  }
866
- function fr() {
868
+ function mr() {
867
869
  return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
868
870
  }
869
871
  function _r() {
@@ -873,11 +875,11 @@ function _r() {
873
875
  function gr() {
874
876
  return typeof navigator == "object" && navigator.product === "ReactNative";
875
877
  }
876
- function Ir() {
877
- const n = f();
878
+ function vr() {
879
+ const n = m();
878
880
  return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
879
881
  }
880
- function vr() {
882
+ function Ir() {
881
883
  try {
882
884
  return typeof indexedDB == "object";
883
885
  } catch {
@@ -992,11 +994,11 @@ function Q(n) {
992
994
  }) : e.push(encodeURIComponent(t) + "=" + encodeURIComponent(r));
993
995
  return e.length ? "&" + e.join("&") : "";
994
996
  }
995
- function Rr(n, e) {
996
- const t = new kr(n, e);
997
+ function kr(n, e) {
998
+ const t = new Rr(n, e);
997
999
  return t.subscribe.bind(t);
998
1000
  }
999
- class kr {
1001
+ class Rr {
1000
1002
  /**
1001
1003
  * @param executor Function which can make calls to a single Observer
1002
1004
  * as a proxy.
@@ -1034,7 +1036,7 @@ class kr {
1034
1036
  let i;
1035
1037
  if (e === void 0 && t === void 0 && r === void 0)
1036
1038
  throw new Error("Missing Observer.");
1037
- Sr(e, [
1039
+ Ar(e, [
1038
1040
  "next",
1039
1041
  "error",
1040
1042
  "complete"
@@ -1042,7 +1044,7 @@ class kr {
1042
1044
  next: e,
1043
1045
  error: t,
1044
1046
  complete: r
1045
- }, i.next === void 0 && (i.next = ke), i.error === void 0 && (i.error = ke), i.complete === void 0 && (i.complete = ke);
1047
+ }, i.next === void 0 && (i.next = Re), i.error === void 0 && (i.error = Re), i.complete === void 0 && (i.complete = Re);
1046
1048
  const s = this.unsubscribeOne.bind(this, this.observers.length);
1047
1049
  return this.finalized && this.task.then(() => {
1048
1050
  try {
@@ -1080,7 +1082,7 @@ class kr {
1080
1082
  }));
1081
1083
  }
1082
1084
  }
1083
- function Sr(n, e) {
1085
+ function Ar(n, e) {
1084
1086
  if (typeof n != "object" || n === null)
1085
1087
  return !1;
1086
1088
  for (const t of e)
@@ -1088,7 +1090,7 @@ function Sr(n, e) {
1088
1090
  return !0;
1089
1091
  return !1;
1090
1092
  }
1091
- function ke() {
1093
+ function Re() {
1092
1094
  }
1093
1095
  /**
1094
1096
  * @license
@@ -1109,7 +1111,7 @@ function ke() {
1109
1111
  function z(n) {
1110
1112
  return n && n._delegate ? n._delegate : n;
1111
1113
  }
1112
- class G {
1114
+ class W {
1113
1115
  /**
1114
1116
  *
1115
1117
  * @param name The public service name, e.g. app, auth, firestore, database
@@ -1165,7 +1167,7 @@ const L = "[DEFAULT]";
1165
1167
  * See the License for the specific language governing permissions and
1166
1168
  * limitations under the License.
1167
1169
  */
1168
- class Ar {
1170
+ class Sr {
1169
1171
  constructor(e, t) {
1170
1172
  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();
1171
1173
  }
@@ -1216,7 +1218,7 @@ class Ar {
1216
1218
  if (this.component)
1217
1219
  throw Error(`Component for ${this.name} has already been provided`);
1218
1220
  if (this.component = e, !!this.shouldAutoInitialize()) {
1219
- if (Nr(e))
1221
+ if (Cr(e))
1220
1222
  try {
1221
1223
  this.getOrInitializeService({ instanceIdentifier: L });
1222
1224
  } catch {
@@ -1322,7 +1324,7 @@ class Ar {
1322
1324
  function Or(n) {
1323
1325
  return n === L ? void 0 : n;
1324
1326
  }
1325
- function Nr(n) {
1327
+ function Cr(n) {
1326
1328
  return n.instantiationMode === "EAGER";
1327
1329
  }
1328
1330
  /**
@@ -1341,7 +1343,7 @@ function Nr(n) {
1341
1343
  * See the License for the specific language governing permissions and
1342
1344
  * limitations under the License.
1343
1345
  */
1344
- class Cr {
1346
+ class Dr {
1345
1347
  constructor(e) {
1346
1348
  this.name = e, this.providers = /* @__PURE__ */ new Map();
1347
1349
  }
@@ -1373,7 +1375,7 @@ class Cr {
1373
1375
  getProvider(e) {
1374
1376
  if (this.providers.has(e))
1375
1377
  return this.providers.get(e);
1376
- const t = new Ar(e, this);
1378
+ const t = new Sr(e, this);
1377
1379
  return this.providers.set(e, t), t;
1378
1380
  }
1379
1381
  getProviders() {
@@ -1400,7 +1402,7 @@ var p;
1400
1402
  (function(n) {
1401
1403
  n[n.DEBUG = 0] = "DEBUG", n[n.VERBOSE = 1] = "VERBOSE", n[n.INFO = 2] = "INFO", n[n.WARN = 3] = "WARN", n[n.ERROR = 4] = "ERROR", n[n.SILENT = 5] = "SILENT";
1402
1404
  })(p || (p = {}));
1403
- const Dr = {
1405
+ const Nr = {
1404
1406
  debug: p.DEBUG,
1405
1407
  verbose: p.VERBOSE,
1406
1408
  info: p.INFO,
@@ -1442,7 +1444,7 @@ class $t {
1442
1444
  }
1443
1445
  // Workaround for setter/getter having to be the same type.
1444
1446
  setLogLevel(e) {
1445
- this._logLevel = typeof e == "string" ? Dr[e] : e;
1447
+ this._logLevel = typeof e == "string" ? Nr[e] : e;
1446
1448
  }
1447
1449
  get logHandler() {
1448
1450
  return this._logHandler;
@@ -1488,20 +1490,20 @@ function Br() {
1488
1490
  IDBTransaction
1489
1491
  ]);
1490
1492
  }
1491
- function xr() {
1493
+ function Fr() {
1492
1494
  return dt || (dt = [
1493
1495
  IDBCursor.prototype.advance,
1494
1496
  IDBCursor.prototype.continue,
1495
1497
  IDBCursor.prototype.continuePrimaryKey
1496
1498
  ]);
1497
1499
  }
1498
- const Zt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
1499
- function Fr(n) {
1500
+ const Zt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Ae = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
1501
+ function xr(n) {
1500
1502
  const e = new Promise((t, r) => {
1501
1503
  const i = () => {
1502
1504
  n.removeEventListener("success", s), n.removeEventListener("error", a);
1503
1505
  }, s = () => {
1504
- t(C(n.result)), i();
1506
+ t(D(n.result)), i();
1505
1507
  }, a = () => {
1506
1508
  r(n.error), i();
1507
1509
  };
@@ -1537,7 +1539,7 @@ let Ue = {
1537
1539
  if (e === "store")
1538
1540
  return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
1539
1541
  }
1540
- return C(n[e]);
1542
+ return D(n[e]);
1541
1543
  },
1542
1544
  set(n, e, t) {
1543
1545
  return n[e] = t, !0;
@@ -1549,32 +1551,32 @@ let Ue = {
1549
1551
  function Hr(n) {
1550
1552
  Ue = n(Ue);
1551
1553
  }
1552
- function Wr(n) {
1554
+ function Vr(n) {
1553
1555
  return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
1554
- const r = n.call(Ae(this), e, ...t);
1555
- return Jt.set(r, e.sort ? e.sort() : [e]), C(r);
1556
- } : xr().includes(n) ? function(...e) {
1557
- return n.apply(Ae(this), e), C(Zt.get(this));
1556
+ const r = n.call(Se(this), e, ...t);
1557
+ return Jt.set(r, e.sort ? e.sort() : [e]), D(r);
1558
+ } : Fr().includes(n) ? function(...e) {
1559
+ return n.apply(Se(this), e), D(Zt.get(this));
1558
1560
  } : function(...e) {
1559
- return C(n.apply(Ae(this), e));
1561
+ return D(n.apply(Se(this), e));
1560
1562
  };
1561
1563
  }
1562
- function Vr(n) {
1563
- return typeof n == "function" ? Wr(n) : (n instanceof IDBTransaction && jr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
1564
+ function Gr(n) {
1565
+ return typeof n == "function" ? Vr(n) : (n instanceof IDBTransaction && jr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
1564
1566
  }
1565
- function C(n) {
1567
+ function D(n) {
1566
1568
  if (n instanceof IDBRequest)
1567
- return Fr(n);
1568
- if (Se.has(n))
1569
- return Se.get(n);
1570
- const e = Vr(n);
1571
- return e !== n && (Se.set(n, e), $e.set(e, n)), e;
1572
- }
1573
- const Ae = (n) => $e.get(n);
1574
- function Gr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1575
- const a = indexedDB.open(n, e), c = C(a);
1569
+ return xr(n);
1570
+ if (Ae.has(n))
1571
+ return Ae.get(n);
1572
+ const e = Gr(n);
1573
+ return e !== n && (Ae.set(n, e), $e.set(e, n)), e;
1574
+ }
1575
+ const Se = (n) => $e.get(n);
1576
+ function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1577
+ const a = indexedDB.open(n, e), c = D(a);
1576
1578
  return r && a.addEventListener("upgradeneeded", (o) => {
1577
- r(C(a.result), o.oldVersion, o.newVersion, C(a.transaction), o);
1579
+ r(D(a.result), o.oldVersion, o.newVersion, D(a.transaction), o);
1578
1580
  }), t && a.addEventListener("blocked", (o) => t(
1579
1581
  // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
1580
1582
  o.oldVersion,
@@ -1665,7 +1667,7 @@ const Be = "@firebase/app", ht = "0.10.13";
1665
1667
  * See the License for the specific language governing permissions and
1666
1668
  * limitations under the License.
1667
1669
  */
1668
- const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", mi = "@firebase/remote-config-compat", fi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", Ii = "@firebase/vertexai-preview", vi = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
1670
+ const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", fi = "@firebase/remote-config-compat", mi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
1669
1671
  /**
1670
1672
  * @license
1671
1673
  * Copyright 2019 Google LLC
@@ -1682,7 +1684,7 @@ const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/
1682
1684
  * See the License for the specific language governing permissions and
1683
1685
  * limitations under the License.
1684
1686
  */
1685
- const xe = "[DEFAULT]", Ei = {
1687
+ const Fe = "[DEFAULT]", Ei = {
1686
1688
  [Be]: "fire-core",
1687
1689
  [Xr]: "fire-core-compat",
1688
1690
  [Kr]: "fire-analytics",
@@ -1703,12 +1705,12 @@ const xe = "[DEFAULT]", Ei = {
1703
1705
  [ui]: "fire-perf",
1704
1706
  [hi]: "fire-perf-compat",
1705
1707
  [pi]: "fire-rc",
1706
- [mi]: "fire-rc-compat",
1707
- [fi]: "fire-gcs",
1708
+ [fi]: "fire-rc-compat",
1709
+ [mi]: "fire-gcs",
1708
1710
  [_i]: "fire-gcs-compat",
1709
1711
  [gi]: "fire-fst",
1710
- [vi]: "fire-fst-compat",
1711
- [Ii]: "fire-vertex",
1712
+ [Ii]: "fire-fst-compat",
1713
+ [vi]: "fire-vertex",
1712
1714
  "fire-js": "fire-js",
1713
1715
  [bi]: "fire-js-all"
1714
1716
  };
@@ -1728,7 +1730,7 @@ const xe = "[DEFAULT]", Ei = {
1728
1730
  * See the License for the specific language governing permissions and
1729
1731
  * limitations under the License.
1730
1732
  */
1731
- const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(), Fe = /* @__PURE__ */ new Map();
1733
+ const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(), xe = /* @__PURE__ */ new Map();
1732
1734
  function pt(n, e) {
1733
1735
  try {
1734
1736
  n.container.addComponent(e);
@@ -1738,9 +1740,9 @@ function pt(n, e) {
1738
1740
  }
1739
1741
  function X(n) {
1740
1742
  const e = n.name;
1741
- if (Fe.has(e))
1743
+ if (xe.has(e))
1742
1744
  return T.debug(`There were multiple attempts to register component ${e}.`), !1;
1743
- Fe.set(e, n);
1745
+ xe.set(e, n);
1744
1746
  for (const t of he.values())
1745
1747
  pt(t, n);
1746
1748
  for (const t of Ti.values())
@@ -1751,7 +1753,7 @@ function Xt(n, e) {
1751
1753
  const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
1752
1754
  return t && t.triggerHeartbeat(), n.container.getProvider(e);
1753
1755
  }
1754
- function v(n) {
1756
+ function I(n) {
1755
1757
  return n.settings !== void 0;
1756
1758
  }
1757
1759
  /**
@@ -1785,7 +1787,7 @@ const wi = {
1785
1787
  "idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
1786
1788
  "finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
1787
1789
  "invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
1788
- }, D = new q("app", "Firebase", wi);
1790
+ }, N = new q("app", "Firebase", wi);
1789
1791
  /**
1790
1792
  * @license
1791
1793
  * Copyright 2019 Google LLC
@@ -1802,9 +1804,9 @@ const wi = {
1802
1804
  * See the License for the specific language governing permissions and
1803
1805
  * limitations under the License.
1804
1806
  */
1805
- class Ri {
1807
+ class ki {
1806
1808
  constructor(e, t, r) {
1807
- this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new G(
1809
+ this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new W(
1808
1810
  "app",
1809
1811
  () => this,
1810
1812
  "PUBLIC"
@@ -1841,7 +1843,7 @@ class Ri {
1841
1843
  */
1842
1844
  checkDestroyed() {
1843
1845
  if (this.isDeleted)
1844
- throw D.create("app-deleted", { appName: this._name });
1846
+ throw N.create("app-deleted", { appName: this._name });
1845
1847
  }
1846
1848
  }
1847
1849
  /**
@@ -1864,13 +1866,13 @@ const ee = yi;
1864
1866
  function Yt(n, e = {}) {
1865
1867
  let t = n;
1866
1868
  typeof e != "object" && (e = { name: e });
1867
- const r = Object.assign({ name: xe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
1869
+ const r = Object.assign({ name: Fe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
1868
1870
  if (typeof i != "string" || !i)
1869
- throw D.create("bad-app-name", {
1871
+ throw N.create("bad-app-name", {
1870
1872
  appName: String(i)
1871
1873
  });
1872
- if (t || (t = Gt()), !t)
1873
- throw D.create(
1874
+ if (t || (t = Wt()), !t)
1875
+ throw N.create(
1874
1876
  "no-options"
1875
1877
  /* AppError.NO_OPTIONS */
1876
1878
  );
@@ -1878,20 +1880,20 @@ function Yt(n, e = {}) {
1878
1880
  if (s) {
1879
1881
  if (ue(t, s.options) && ue(r, s.config))
1880
1882
  return s;
1881
- throw D.create("duplicate-app", { appName: i });
1883
+ throw N.create("duplicate-app", { appName: i });
1882
1884
  }
1883
- const a = new Cr(i);
1884
- for (const o of Fe.values())
1885
+ const a = new Dr(i);
1886
+ for (const o of xe.values())
1885
1887
  a.addComponent(o);
1886
- const c = new Ri(t, r, a);
1888
+ const c = new ki(t, r, a);
1887
1889
  return he.set(i, c), c;
1888
1890
  }
1889
- function ki(n = xe) {
1891
+ function Ri(n = Fe) {
1890
1892
  const e = he.get(n);
1891
- if (!e && n === xe && Gt())
1893
+ if (!e && n === Fe && Wt())
1892
1894
  return Yt();
1893
1895
  if (!e)
1894
- throw D.create("no-app", { appName: n });
1896
+ throw N.create("no-app", { appName: n });
1895
1897
  return e;
1896
1898
  }
1897
1899
  function j(n, e, t) {
@@ -1906,7 +1908,7 @@ function j(n, e, t) {
1906
1908
  s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(c.join(" "));
1907
1909
  return;
1908
1910
  }
1909
- X(new G(
1911
+ X(new W(
1910
1912
  `${i}-version`,
1911
1913
  () => ({ library: i, version: e }),
1912
1914
  "VERSION"
@@ -1929,10 +1931,10 @@ function j(n, e, t) {
1929
1931
  * See the License for the specific language governing permissions and
1930
1932
  * limitations under the License.
1931
1933
  */
1932
- const Si = "firebase-heartbeat-database", Ai = 1, Y = "firebase-heartbeat-store";
1933
- let Ne = null;
1934
+ const Ai = "firebase-heartbeat-database", Si = 1, Y = "firebase-heartbeat-store";
1935
+ let Ce = null;
1934
1936
  function Kt() {
1935
- return Ne || (Ne = Gr(Si, Ai, {
1937
+ return Ce || (Ce = Wr(Ai, Si, {
1936
1938
  upgrade: (n, e) => {
1937
1939
  switch (e) {
1938
1940
  case 0:
@@ -1944,10 +1946,10 @@ function Kt() {
1944
1946
  }
1945
1947
  }
1946
1948
  }).catch((n) => {
1947
- throw D.create("idb-open", {
1949
+ throw N.create("idb-open", {
1948
1950
  originalErrorMessage: n.message
1949
1951
  });
1950
- })), Ne;
1952
+ })), Ce;
1951
1953
  }
1952
1954
  async function Oi(n) {
1953
1955
  try {
@@ -1957,14 +1959,14 @@ async function Oi(n) {
1957
1959
  if (e instanceof M)
1958
1960
  T.warn(e.message);
1959
1961
  else {
1960
- const t = D.create("idb-get", {
1962
+ const t = N.create("idb-get", {
1961
1963
  originalErrorMessage: e == null ? void 0 : e.message
1962
1964
  });
1963
1965
  T.warn(t.message);
1964
1966
  }
1965
1967
  }
1966
1968
  }
1967
- async function mt(n, e) {
1969
+ async function ft(n, e) {
1968
1970
  try {
1969
1971
  const r = (await Kt()).transaction(Y, "readwrite");
1970
1972
  await r.objectStore(Y).put(e, qt(n)), await r.done;
@@ -1972,7 +1974,7 @@ async function mt(n, e) {
1972
1974
  if (t instanceof M)
1973
1975
  T.warn(t.message);
1974
1976
  else {
1975
- const r = D.create("idb-set", {
1977
+ const r = N.create("idb-set", {
1976
1978
  originalErrorMessage: t == null ? void 0 : t.message
1977
1979
  });
1978
1980
  T.warn(r.message);
@@ -1998,8 +2000,8 @@ function qt(n) {
1998
2000
  * See the License for the specific language governing permissions and
1999
2001
  * limitations under the License.
2000
2002
  */
2001
- const Ni = 1024, Ci = 30 * 24 * 60 * 60 * 1e3;
2002
- class Di {
2003
+ const Ci = 1024, Di = 30 * 24 * 60 * 60 * 1e3;
2004
+ class Ni {
2003
2005
  constructor(e) {
2004
2006
  this.container = e, this._heartbeatsCache = null;
2005
2007
  const t = this.container.getProvider("app").getImmediate();
@@ -2015,10 +2017,10 @@ class Di {
2015
2017
  async triggerHeartbeat() {
2016
2018
  var e, t;
2017
2019
  try {
2018
- const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = ft();
2020
+ const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = mt();
2019
2021
  return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((t = this._heartbeatsCache) === null || t === void 0 ? void 0 : t.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === s || this._heartbeatsCache.heartbeats.some((a) => a.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((a) => {
2020
2022
  const c = new Date(a.date).valueOf();
2021
- return Date.now() - c <= Ci;
2023
+ return Date.now() - c <= Di;
2022
2024
  }), this._storage.overwrite(this._heartbeatsCache));
2023
2025
  } catch (r) {
2024
2026
  T.warn(r);
@@ -2036,17 +2038,17 @@ class Di {
2036
2038
  try {
2037
2039
  if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
2038
2040
  return "";
2039
- const t = ft(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
2041
+ const t = mt(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
2040
2042
  return this._heartbeatsCache.lastSentHeartbeatDate = t, i.length > 0 ? (this._heartbeatsCache.heartbeats = i, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), s;
2041
2043
  } catch (t) {
2042
2044
  return T.warn(t), "";
2043
2045
  }
2044
2046
  }
2045
2047
  }
2046
- function ft() {
2048
+ function mt() {
2047
2049
  return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
2048
2050
  }
2049
- function Pi(n, e = Ni) {
2051
+ function Pi(n, e = Ci) {
2050
2052
  const t = [];
2051
2053
  let r = n.slice();
2052
2054
  for (const i of n) {
@@ -2075,7 +2077,7 @@ class Mi {
2075
2077
  this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
2076
2078
  }
2077
2079
  async runIndexedDBEnvironmentCheck() {
2078
- return vr() ? br().then(() => !0).catch(() => !1) : !1;
2080
+ return Ir() ? br().then(() => !0).catch(() => !1) : !1;
2079
2081
  }
2080
2082
  /**
2081
2083
  * Read all heartbeats.
@@ -2092,7 +2094,7 @@ class Mi {
2092
2094
  var t;
2093
2095
  if (await this._canUseIndexedDBPromise) {
2094
2096
  const i = await this.read();
2095
- return mt(this.app, {
2097
+ return ft(this.app, {
2096
2098
  lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
2097
2099
  heartbeats: e.heartbeats
2098
2100
  });
@@ -2104,7 +2106,7 @@ class Mi {
2104
2106
  var t;
2105
2107
  if (await this._canUseIndexedDBPromise) {
2106
2108
  const i = await this.read();
2107
- return mt(this.app, {
2109
+ return ft(this.app, {
2108
2110
  lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
2109
2111
  heartbeats: [
2110
2112
  ...i.heartbeats,
@@ -2138,14 +2140,14 @@ function _t(n) {
2138
2140
  * limitations under the License.
2139
2141
  */
2140
2142
  function Li(n) {
2141
- X(new G(
2143
+ X(new W(
2142
2144
  "platform-logger",
2143
2145
  (e) => new Zr(e),
2144
2146
  "PRIVATE"
2145
2147
  /* ComponentType.PRIVATE */
2146
- )), X(new G(
2148
+ )), X(new W(
2147
2149
  "heartbeat",
2148
- (e) => new Di(e),
2150
+ (e) => new Ni(e),
2149
2151
  "PRIVATE"
2150
2152
  /* ComponentType.PRIVATE */
2151
2153
  )), j(Be, ht, n), j(Be, ht, "esm2017"), j("fire-js", "");
@@ -2191,7 +2193,7 @@ function Qt() {
2191
2193
  "dependent-sdk-initialized-before-auth": "Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."
2192
2194
  };
2193
2195
  }
2194
- const xi = Qt, en = new q("auth", "Firebase", Qt());
2196
+ const Fi = Qt, en = new q("auth", "Firebase", Qt());
2195
2197
  /**
2196
2198
  * @license
2197
2199
  * Copyright 2020 Google LLC
@@ -2209,7 +2211,7 @@ const xi = Qt, en = new q("auth", "Firebase", Qt());
2209
2211
  * limitations under the License.
2210
2212
  */
2211
2213
  const pe = new $t("@firebase/auth");
2212
- function Fi(n, ...e) {
2214
+ function xi(n, ...e) {
2213
2215
  pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
2214
2216
  }
2215
2217
  function se(n, ...e) {
@@ -2238,7 +2240,7 @@ function _(n, ...e) {
2238
2240
  return Je(n, ...e);
2239
2241
  }
2240
2242
  function tn(n, e, t) {
2241
- const r = Object.assign(Object.assign({}, xi()), { [e]: t });
2243
+ const r = Object.assign(Object.assign({}, Fi()), { [e]: t });
2242
2244
  return new q("auth", "Firebase", r).create(e, {
2243
2245
  appName: n.name
2244
2246
  });
@@ -2261,7 +2263,7 @@ function b(n) {
2261
2263
  const e = "INTERNAL ASSERTION FAILED: " + n;
2262
2264
  throw se(e), new Error(e);
2263
2265
  }
2264
- function R(n, e) {
2266
+ function k(n, e) {
2265
2267
  n || b(e);
2266
2268
  }
2267
2269
  /**
@@ -2285,9 +2287,9 @@ function je() {
2285
2287
  return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
2286
2288
  }
2287
2289
  function ji() {
2288
- return It() === "http:" || It() === "https:";
2290
+ return vt() === "http:" || vt() === "https:";
2289
2291
  }
2290
- function It() {
2292
+ function vt() {
2291
2293
  var n;
2292
2294
  return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.protocol) || null;
2293
2295
  }
@@ -2315,7 +2317,7 @@ function Hi() {
2315
2317
  // defines navigator.connection.
2316
2318
  (ji() || _r() || "connection" in navigator) ? navigator.onLine : !0;
2317
2319
  }
2318
- function Wi() {
2320
+ function Vi() {
2319
2321
  if (typeof navigator > "u")
2320
2322
  return null;
2321
2323
  const n = navigator;
@@ -2345,7 +2347,7 @@ function Wi() {
2345
2347
  */
2346
2348
  class te {
2347
2349
  constructor(e, t) {
2348
- this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile = mr() || gr();
2350
+ this.shortDelay = e, this.longDelay = t, k(t > e, "Short delay should be less than long delay!"), this.isMobile = fr() || gr();
2349
2351
  }
2350
2352
  get() {
2351
2353
  return Hi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
@@ -2368,7 +2370,7 @@ class te {
2368
2370
  * limitations under the License.
2369
2371
  */
2370
2372
  function Xe(n, e) {
2371
- R(n.emulator, "Emulator should always be set here");
2373
+ k(n.emulator, "Emulator should always be set here");
2372
2374
  const { url: t } = n.emulator;
2373
2375
  return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
2374
2376
  }
@@ -2442,7 +2444,7 @@ class nn {
2442
2444
  * See the License for the specific language governing permissions and
2443
2445
  * limitations under the License.
2444
2446
  */
2445
- const Vi = {
2447
+ const Gi = {
2446
2448
  // Custom token errors.
2447
2449
  CREDENTIAL_MISMATCH: "custom-token-mismatch",
2448
2450
  // This can only happen if the SDK sends a bad request.
@@ -2533,8 +2535,8 @@ const Vi = {
2533
2535
  * See the License for the specific language governing permissions and
2534
2536
  * limitations under the License.
2535
2537
  */
2536
- const Gi = new te(3e4, 6e4);
2537
- function Ie(n, e) {
2538
+ const Wi = new te(3e4, 6e4);
2539
+ function ve(n, e) {
2538
2540
  return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
2539
2541
  }
2540
2542
  async function $(n, e, t, r, i = {}) {
@@ -2555,12 +2557,12 @@ async function $(n, e, t, r, i = {}) {
2555
2557
  method: e,
2556
2558
  headers: o
2557
2559
  }, s);
2558
- return fr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
2560
+ return mr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
2559
2561
  });
2560
2562
  }
2561
2563
  async function rn(n, e, t) {
2562
2564
  n._canInitEmulator = !1;
2563
- const r = Object.assign(Object.assign({}, Vi), e);
2565
+ const r = Object.assign(Object.assign({}, Gi), e);
2564
2566
  try {
2565
2567
  const i = new zi(n), s = await Promise.race([
2566
2568
  t(),
@@ -2608,7 +2610,7 @@ class zi {
2608
2610
  this.auth,
2609
2611
  "network-request-failed"
2610
2612
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
2611
- )), Gi.get());
2613
+ )), Wi.get());
2612
2614
  });
2613
2615
  }
2614
2616
  clearNetworkTimeout() {
@@ -2682,14 +2684,14 @@ async function Zi(n, e = !1) {
2682
2684
  return {
2683
2685
  claims: i,
2684
2686
  token: r,
2685
- authTime: J(Ce(i.auth_time)),
2686
- issuedAtTime: J(Ce(i.iat)),
2687
- expirationTime: J(Ce(i.exp)),
2687
+ authTime: J(De(i.auth_time)),
2688
+ issuedAtTime: J(De(i.iat)),
2689
+ expirationTime: J(De(i.exp)),
2688
2690
  signInProvider: a || null,
2689
2691
  signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
2690
2692
  };
2691
2693
  }
2692
- function Ce(n) {
2694
+ function De(n) {
2693
2695
  return Number(n) * 1e3;
2694
2696
  }
2695
2697
  function Ye(n) {
@@ -2697,13 +2699,13 @@ function Ye(n) {
2697
2699
  if (e === void 0 || t === void 0 || r === void 0)
2698
2700
  return se("JWT malformed, contained fewer than 3 sections"), null;
2699
2701
  try {
2700
- const i = Wt(t);
2702
+ const i = Vt(t);
2701
2703
  return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
2702
2704
  } catch (i) {
2703
2705
  return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
2704
2706
  }
2705
2707
  }
2706
- function vt(n) {
2708
+ function It(n) {
2707
2709
  const e = Ye(n);
2708
2710
  return u(
2709
2711
  e,
@@ -2858,7 +2860,7 @@ class He {
2858
2860
  * See the License for the specific language governing permissions and
2859
2861
  * limitations under the License.
2860
2862
  */
2861
- async function me(n) {
2863
+ async function fe(n) {
2862
2864
  var e;
2863
2865
  const t = n.auth, r = await n.getIdToken(), i = await K(n, on(t, { idToken: r }));
2864
2866
  u(
@@ -2885,7 +2887,7 @@ async function me(n) {
2885
2887
  }
2886
2888
  async function Yi(n) {
2887
2889
  const e = z(n);
2888
- await me(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
2890
+ await fe(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
2889
2891
  }
2890
2892
  function Ki(n, e) {
2891
2893
  return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
@@ -2941,7 +2943,7 @@ async function qi(n, e) {
2941
2943
  };
2942
2944
  }
2943
2945
  async function Qi(n, e) {
2944
- return $(n, "POST", "/v2/accounts:revokeToken", Ie(n, e));
2946
+ return $(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
2945
2947
  }
2946
2948
  /**
2947
2949
  * @license
@@ -2980,7 +2982,7 @@ class H {
2980
2982
  "internal-error"
2981
2983
  /* AuthErrorCode.INTERNAL_ERROR */
2982
2984
  );
2983
- const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : vt(e.idToken);
2985
+ const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : It(e.idToken);
2984
2986
  this.updateTokensAndExpiration(e.idToken, e.refreshToken, t);
2985
2987
  }
2986
2988
  updateFromIdToken(e) {
@@ -2989,7 +2991,7 @@ class H {
2989
2991
  "internal-error"
2990
2992
  /* AuthErrorCode.INTERNAL_ERROR */
2991
2993
  );
2992
- const t = vt(e);
2994
+ const t = It(e);
2993
2995
  this.updateTokensAndExpiration(e, null, t);
2994
2996
  }
2995
2997
  async getToken(e, t = !1) {
@@ -3053,7 +3055,7 @@ class H {
3053
3055
  * See the License for the specific language governing permissions and
3054
3056
  * limitations under the License.
3055
3057
  */
3056
- function k(n, e) {
3058
+ function R(n, e) {
3057
3059
  u(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
3058
3060
  }
3059
3061
  class y {
@@ -3107,10 +3109,10 @@ class y {
3107
3109
  }
3108
3110
  async _updateTokensIfNecessary(e, t = !1) {
3109
3111
  let r = !1;
3110
- e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await me(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
3112
+ e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await fe(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
3111
3113
  }
3112
3114
  async delete() {
3113
- if (v(this.auth.app))
3115
+ if (I(this.auth.app))
3114
3116
  return Promise.reject(P(this.auth));
3115
3117
  const e = await this.getIdToken();
3116
3118
  return await K(this, $i(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
@@ -3141,7 +3143,7 @@ class y {
3141
3143
  }
3142
3144
  static _fromJSON(e, t) {
3143
3145
  var r, i, s, a, c, o, l, d;
3144
- const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, 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;
3146
+ const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, f = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
3145
3147
  u(
3146
3148
  Te && at,
3147
3149
  e,
@@ -3154,7 +3156,7 @@ class y {
3154
3156
  e,
3155
3157
  "internal-error"
3156
3158
  /* AuthErrorCode.INTERNAL_ERROR */
3157
- ), k(h, e.name), k(m, e.name), u(
3159
+ ), R(h, e.name), R(f, e.name), u(
3158
3160
  typeof it == "boolean",
3159
3161
  e,
3160
3162
  "internal-error"
@@ -3164,22 +3166,22 @@ class y {
3164
3166
  e,
3165
3167
  "internal-error"
3166
3168
  /* AuthErrorCode.INTERNAL_ERROR */
3167
- ), k(I, e.name), k(x, e.name), k(tt, e.name), k(Ee, e.name), k(nt, e.name), k(rt, e.name);
3168
- const Re = new y({
3169
+ ), R(v, e.name), R(F, e.name), R(tt, e.name), R(Ee, e.name), R(nt, e.name), R(rt, e.name);
3170
+ const ke = new y({
3169
3171
  uid: Te,
3170
3172
  auth: e,
3171
- email: m,
3173
+ email: f,
3172
3174
  emailVerified: it,
3173
3175
  displayName: h,
3174
3176
  isAnonymous: st,
3175
- photoURL: x,
3176
- phoneNumber: I,
3177
+ photoURL: F,
3178
+ phoneNumber: v,
3177
3179
  tenantId: tt,
3178
3180
  stsTokenManager: Pn,
3179
3181
  createdAt: nt,
3180
3182
  lastLoginAt: rt
3181
3183
  });
3182
- return we && Array.isArray(we) && (Re.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (Re._redirectEventId = Ee), Re;
3184
+ return we && Array.isArray(we) && (ke.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (ke._redirectEventId = Ee), ke;
3183
3185
  }
3184
3186
  /**
3185
3187
  * Initialize a User from an idToken server response
@@ -3195,7 +3197,7 @@ class y {
3195
3197
  stsTokenManager: i,
3196
3198
  isAnonymous: r
3197
3199
  });
3198
- return await me(s), s;
3200
+ return await fe(s), s;
3199
3201
  }
3200
3202
  /**
3201
3203
  * Initialize a User from an idToken server response
@@ -3249,9 +3251,9 @@ class y {
3249
3251
  */
3250
3252
  const bt = /* @__PURE__ */ new Map();
3251
3253
  function E(n) {
3252
- R(n instanceof Function, "Expected a class definition");
3254
+ k(n instanceof Function, "Expected a class definition");
3253
3255
  let e = bt.get(n);
3254
- return e ? (R(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
3256
+ return e ? (k(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
3255
3257
  }
3256
3258
  /**
3257
3259
  * @license
@@ -3312,7 +3314,7 @@ const yt = ln;
3312
3314
  function ae(n, e, t) {
3313
3315
  return `firebase:${n}:${e}:${t}`;
3314
3316
  }
3315
- class W {
3317
+ class V {
3316
3318
  constructor(e, t, r) {
3317
3319
  this.persistence = e, this.auth = t, this.userKey = r;
3318
3320
  const { config: i, name: s } = this.auth;
@@ -3343,7 +3345,7 @@ class W {
3343
3345
  }
3344
3346
  static async create(e, t, r = "authUser") {
3345
3347
  if (!t.length)
3346
- return new W(E(yt), e, r);
3348
+ return new V(E(yt), e, r);
3347
3349
  const i = (await Promise.all(t.map(async (l) => {
3348
3350
  if (await l._isAvailable())
3349
3351
  return l;
@@ -3362,13 +3364,13 @@ class W {
3362
3364
  } catch {
3363
3365
  }
3364
3366
  const o = i.filter((l) => l._shouldAllowMigration);
3365
- return !s._shouldAllowMigration || !o.length ? new W(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
3367
+ return !s._shouldAllowMigration || !o.length ? new V(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
3366
3368
  if (l !== s)
3367
3369
  try {
3368
3370
  await l._remove(a);
3369
3371
  } catch {
3370
3372
  }
3371
- })), new W(s, e, r));
3373
+ })), new V(s, e, r));
3372
3374
  }
3373
3375
  }
3374
3376
  /**
@@ -3401,7 +3403,7 @@ function Et(n) {
3401
3403
  return "Firefox";
3402
3404
  if (e.includes("silk/"))
3403
3405
  return "Silk";
3404
- if (fn(e))
3406
+ if (mn(e))
3405
3407
  return "Blackberry";
3406
3408
  if (_n(e))
3407
3409
  return "Webos";
@@ -3409,7 +3411,7 @@ function Et(n) {
3409
3411
  return "Safari";
3410
3412
  if ((e.includes("chrome/") || hn(e)) && !e.includes("edge/"))
3411
3413
  return "Chrome";
3412
- if (mn(e))
3414
+ if (fn(e))
3413
3415
  return "Android";
3414
3416
  {
3415
3417
  const t = /([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/, r = n.match(t);
@@ -3418,40 +3420,40 @@ function Et(n) {
3418
3420
  }
3419
3421
  return "Other";
3420
3422
  }
3421
- function dn(n = f()) {
3423
+ function dn(n = m()) {
3422
3424
  return /firefox\//i.test(n);
3423
3425
  }
3424
- function un(n = f()) {
3426
+ function un(n = m()) {
3425
3427
  const e = n.toLowerCase();
3426
3428
  return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
3427
3429
  }
3428
- function hn(n = f()) {
3430
+ function hn(n = m()) {
3429
3431
  return /crios\//i.test(n);
3430
3432
  }
3431
- function pn(n = f()) {
3433
+ function pn(n = m()) {
3432
3434
  return /iemobile/i.test(n);
3433
3435
  }
3434
- function mn(n = f()) {
3436
+ function fn(n = m()) {
3435
3437
  return /android/i.test(n);
3436
3438
  }
3437
- function fn(n = f()) {
3439
+ function mn(n = m()) {
3438
3440
  return /blackberry/i.test(n);
3439
3441
  }
3440
- function _n(n = f()) {
3442
+ function _n(n = m()) {
3441
3443
  return /webos/i.test(n);
3442
3444
  }
3443
- function Ke(n = f()) {
3445
+ function Ke(n = m()) {
3444
3446
  return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
3445
3447
  }
3446
- function es(n = f()) {
3448
+ function es(n = m()) {
3447
3449
  var e;
3448
3450
  return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
3449
3451
  }
3450
3452
  function ts() {
3451
- return Ir() && document.documentMode === 10;
3453
+ return vr() && document.documentMode === 10;
3452
3454
  }
3453
- function gn(n = f()) {
3454
- return Ke(n) || mn(n) || _n(n) || fn(n) || /windows phone/i.test(n) || pn(n);
3455
+ function gn(n = m()) {
3456
+ return Ke(n) || fn(n) || _n(n) || mn(n) || /windows phone/i.test(n) || pn(n);
3455
3457
  }
3456
3458
  /**
3457
3459
  * @license
@@ -3469,14 +3471,14 @@ function gn(n = f()) {
3469
3471
  * See the License for the specific language governing permissions and
3470
3472
  * limitations under the License.
3471
3473
  */
3472
- function In(n, e = []) {
3474
+ function vn(n, e = []) {
3473
3475
  let t;
3474
3476
  switch (n) {
3475
3477
  case "Browser":
3476
- t = Et(f());
3478
+ t = Et(m());
3477
3479
  break;
3478
3480
  case "Worker":
3479
- t = `${Et(f())}-${n}`;
3481
+ t = `${Et(m())}-${n}`;
3480
3482
  break;
3481
3483
  default:
3482
3484
  t = n;
@@ -3556,7 +3558,7 @@ class ns {
3556
3558
  * limitations under the License.
3557
3559
  */
3558
3560
  async function rs(n, e = {}) {
3559
- return $(n, "GET", "/v2/passwordPolicy", Ie(n, e));
3561
+ return $(n, "GET", "/v2/passwordPolicy", ve(n, e));
3560
3562
  }
3561
3563
  /**
3562
3564
  * @license
@@ -3669,7 +3671,7 @@ class as {
3669
3671
  _initializeWithPersistence(e, t) {
3670
3672
  return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
3671
3673
  var r, i;
3672
- if (!this._deleted && (this.persistenceManager = await W.create(this, e), !this._deleted)) {
3674
+ if (!this._deleted && (this.persistenceManager = await V.create(this, e), !this._deleted)) {
3673
3675
  if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
3674
3676
  try {
3675
3677
  await this._popupRedirectResolver._initialize(this);
@@ -3708,7 +3710,7 @@ class as {
3708
3710
  }
3709
3711
  async initializeCurrentUser(e) {
3710
3712
  var t;
3711
- if (v(this.app)) {
3713
+ if (I(this.app)) {
3712
3714
  const a = this.app.settings.authIdToken;
3713
3715
  return a ? new Promise((c) => {
3714
3716
  setTimeout(() => this.initializeCurrentUserFromIdToken(a).then(c, c));
@@ -3750,7 +3752,7 @@ class as {
3750
3752
  }
3751
3753
  async reloadAndSetCurrentUserOrClear(e) {
3752
3754
  try {
3753
- await me(e);
3755
+ await fe(e);
3754
3756
  } catch (t) {
3755
3757
  if ((t == null ? void 0 : t.code) !== "auth/network-request-failed")
3756
3758
  return this.directlySetCurrentUser(null);
@@ -3758,13 +3760,13 @@ class as {
3758
3760
  return this.directlySetCurrentUser(e);
3759
3761
  }
3760
3762
  useDeviceLanguage() {
3761
- this.languageCode = Wi();
3763
+ this.languageCode = Vi();
3762
3764
  }
3763
3765
  async _delete() {
3764
3766
  this._deleted = !0;
3765
3767
  }
3766
3768
  async updateCurrentUser(e) {
3767
- if (v(this.app))
3769
+ if (I(this.app))
3768
3770
  return Promise.reject(P(this));
3769
3771
  const t = e ? z(e) : null;
3770
3772
  return t && u(
@@ -3786,14 +3788,14 @@ class as {
3786
3788
  });
3787
3789
  }
3788
3790
  async signOut() {
3789
- return v(this.app) ? Promise.reject(P(this)) : (await this.beforeStateQueue.runMiddleware(null), (this.redirectPersistenceManager || this._popupRedirectResolver) && await this._setRedirectUser(null), this._updateCurrentUser(
3791
+ return I(this.app) ? Promise.reject(P(this)) : (await this.beforeStateQueue.runMiddleware(null), (this.redirectPersistenceManager || this._popupRedirectResolver) && await this._setRedirectUser(null), this._updateCurrentUser(
3790
3792
  null,
3791
3793
  /* skipBeforeStateCallbacks */
3792
3794
  !0
3793
3795
  ));
3794
3796
  }
3795
3797
  setPersistence(e) {
3796
- return v(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
3798
+ return I(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
3797
3799
  await this.assertedPersistence.setPersistence(E(e));
3798
3800
  });
3799
3801
  }
@@ -3873,7 +3875,7 @@ class as {
3873
3875
  this,
3874
3876
  "argument-error"
3875
3877
  /* AuthErrorCode.ARGUMENT_ERROR */
3876
- ), this.redirectPersistenceManager = await W.create(
3878
+ ), this.redirectPersistenceManager = await V.create(
3877
3879
  this,
3878
3880
  [E(t._redirectPersistence)],
3879
3881
  "redirectUser"
@@ -3962,7 +3964,7 @@ class as {
3962
3964
  ), this.persistenceManager;
3963
3965
  }
3964
3966
  _logFramework(e) {
3965
- !e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion = In(this.config.clientPlatform, this._getFrameworks()));
3967
+ !e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion = vn(this.config.clientPlatform, this._getFrameworks()));
3966
3968
  }
3967
3969
  _getFrameworks() {
3968
3970
  return this.frameworks;
@@ -3992,15 +3994,15 @@ class as {
3992
3994
  async _getAppCheckToken() {
3993
3995
  var e;
3994
3996
  const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
3995
- return t != null && t.error && Fi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
3997
+ return t != null && t.error && xi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
3996
3998
  }
3997
3999
  }
3998
- function ve(n) {
4000
+ function Ie(n) {
3999
4001
  return z(n);
4000
4002
  }
4001
4003
  class Tt {
4002
4004
  constructor(e) {
4003
- this.auth = e, this.observer = null, this.addObserver = Rr((t) => this.observer = t);
4005
+ this.auth = e, this.observer = null, this.addObserver = kr((t) => this.observer = t);
4004
4006
  }
4005
4007
  get next() {
4006
4008
  return u(
@@ -4082,7 +4084,7 @@ function hs(n, e) {
4082
4084
  e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
4083
4085
  }
4084
4086
  function ps(n, e, t) {
4085
- const r = ve(n);
4087
+ const r = Ie(n);
4086
4088
  u(
4087
4089
  r._canInitEmulator,
4088
4090
  r,
@@ -4094,20 +4096,20 @@ function ps(n, e, t) {
4094
4096
  "invalid-emulator-scheme"
4095
4097
  /* AuthErrorCode.INVALID_EMULATOR_SCHEME */
4096
4098
  );
4097
- const i = !1, s = vn(e), { host: a, port: c } = ms(e), o = c === null ? "" : `:${c}`;
4099
+ const i = !1, s = In(e), { host: a, port: c } = fs(e), o = c === null ? "" : `:${c}`;
4098
4100
  r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
4099
4101
  host: a,
4100
4102
  port: c,
4101
4103
  protocol: s.replace(":", ""),
4102
4104
  options: Object.freeze({ disableWarnings: i })
4103
- }), fs();
4105
+ }), ms();
4104
4106
  }
4105
- function vn(n) {
4107
+ function In(n) {
4106
4108
  const e = n.indexOf(":");
4107
4109
  return e < 0 ? "" : n.substr(0, e + 1);
4108
4110
  }
4109
- function ms(n) {
4110
- const e = vn(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
4111
+ function fs(n) {
4112
+ const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
4111
4113
  if (!t)
4112
4114
  return { host: "", port: null };
4113
4115
  const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
@@ -4125,7 +4127,7 @@ function wt(n) {
4125
4127
  const e = Number(n);
4126
4128
  return isNaN(e) ? null : e;
4127
4129
  }
4128
- function fs() {
4130
+ function ms() {
4129
4131
  function n() {
4130
4132
  const e = document.createElement("p"), t = e.style;
4131
4133
  e.innerText = "Running in emulator mode. Do not use with production credentials.", t.position = "fixed", t.width = "100%", t.backgroundColor = "#ffffff", t.border = ".1em solid #000000", t.color = "#b50000", t.bottom = "0px", t.left = "0px", t.margin = "0px", t.zIndex = "10000", t.textAlign = "center", e.classList.add("firebase-emulator-warning"), document.body.appendChild(e);
@@ -4190,8 +4192,8 @@ class bn {
4190
4192
  * See the License for the specific language governing permissions and
4191
4193
  * limitations under the License.
4192
4194
  */
4193
- async function V(n, e) {
4194
- return sn(n, "POST", "/v1/accounts:signInWithIdp", Ie(n, e));
4195
+ async function G(n, e) {
4196
+ return sn(n, "POST", "/v1/accounts:signInWithIdp", ve(n, e));
4195
4197
  }
4196
4198
  /**
4197
4199
  * @license
@@ -4253,17 +4255,17 @@ class U extends bn {
4253
4255
  /** @internal */
4254
4256
  _getIdTokenResponse(e) {
4255
4257
  const t = this.buildRequest();
4256
- return V(e, t);
4258
+ return G(e, t);
4257
4259
  }
4258
4260
  /** @internal */
4259
4261
  _linkToIdToken(e, t) {
4260
4262
  const r = this.buildRequest();
4261
- return r.idToken = t, V(e, r);
4263
+ return r.idToken = t, G(e, r);
4262
4264
  }
4263
4265
  /** @internal */
4264
4266
  _getReauthenticationResolver(e) {
4265
4267
  const t = this.buildRequest();
4266
- return t.autoCreate = !1, V(e, t);
4268
+ return t.autoCreate = !1, G(e, t);
4267
4269
  }
4268
4270
  buildRequest() {
4269
4271
  const e = {
@@ -4383,7 +4385,7 @@ class ne extends yn {
4383
4385
  * See the License for the specific language governing permissions and
4384
4386
  * limitations under the License.
4385
4387
  */
4386
- class S extends ne {
4388
+ class A extends ne {
4387
4389
  constructor() {
4388
4390
  super(
4389
4391
  "facebook.com"
@@ -4404,8 +4406,8 @@ class S extends ne {
4404
4406
  */
4405
4407
  static credential(e) {
4406
4408
  return U._fromParams({
4407
- providerId: S.PROVIDER_ID,
4408
- signInMethod: S.FACEBOOK_SIGN_IN_METHOD,
4409
+ providerId: A.PROVIDER_ID,
4410
+ signInMethod: A.FACEBOOK_SIGN_IN_METHOD,
4409
4411
  accessToken: e
4410
4412
  });
4411
4413
  }
@@ -4415,7 +4417,7 @@ class S extends ne {
4415
4417
  * @param userCredential - The user credential.
4416
4418
  */
4417
4419
  static credentialFromResult(e) {
4418
- return S.credentialFromTaggedObject(e);
4420
+ return A.credentialFromTaggedObject(e);
4419
4421
  }
4420
4422
  /**
4421
4423
  * Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
@@ -4424,20 +4426,20 @@ class S extends ne {
4424
4426
  * @param userCredential - The user credential.
4425
4427
  */
4426
4428
  static credentialFromError(e) {
4427
- return S.credentialFromTaggedObject(e.customData || {});
4429
+ return A.credentialFromTaggedObject(e.customData || {});
4428
4430
  }
4429
4431
  static credentialFromTaggedObject({ _tokenResponse: e }) {
4430
4432
  if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
4431
4433
  return null;
4432
4434
  try {
4433
- return S.credential(e.oauthAccessToken);
4435
+ return A.credential(e.oauthAccessToken);
4434
4436
  } catch {
4435
4437
  return null;
4436
4438
  }
4437
4439
  }
4438
4440
  }
4439
- S.FACEBOOK_SIGN_IN_METHOD = "facebook.com";
4440
- S.PROVIDER_ID = "facebook.com";
4441
+ A.FACEBOOK_SIGN_IN_METHOD = "facebook.com";
4442
+ A.PROVIDER_ID = "facebook.com";
4441
4443
  /**
4442
4444
  * @license
4443
4445
  * Copyright 2020 Google LLC
@@ -4454,7 +4456,7 @@ S.PROVIDER_ID = "facebook.com";
4454
4456
  * See the License for the specific language governing permissions and
4455
4457
  * limitations under the License.
4456
4458
  */
4457
- class A extends ne {
4459
+ class S extends ne {
4458
4460
  constructor() {
4459
4461
  super(
4460
4462
  "google.com"
@@ -4476,8 +4478,8 @@ class A extends ne {
4476
4478
  */
4477
4479
  static credential(e, t) {
4478
4480
  return U._fromParams({
4479
- providerId: A.PROVIDER_ID,
4480
- signInMethod: A.GOOGLE_SIGN_IN_METHOD,
4481
+ providerId: S.PROVIDER_ID,
4482
+ signInMethod: S.GOOGLE_SIGN_IN_METHOD,
4481
4483
  idToken: e,
4482
4484
  accessToken: t
4483
4485
  });
@@ -4488,7 +4490,7 @@ class A extends ne {
4488
4490
  * @param userCredential - The user credential.
4489
4491
  */
4490
4492
  static credentialFromResult(e) {
4491
- return A.credentialFromTaggedObject(e);
4493
+ return S.credentialFromTaggedObject(e);
4492
4494
  }
4493
4495
  /**
4494
4496
  * Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
@@ -4497,7 +4499,7 @@ class A extends ne {
4497
4499
  * @param userCredential - The user credential.
4498
4500
  */
4499
4501
  static credentialFromError(e) {
4500
- return A.credentialFromTaggedObject(e.customData || {});
4502
+ return S.credentialFromTaggedObject(e.customData || {});
4501
4503
  }
4502
4504
  static credentialFromTaggedObject({ _tokenResponse: e }) {
4503
4505
  if (!e)
@@ -4506,14 +4508,14 @@ class A extends ne {
4506
4508
  if (!t && !r)
4507
4509
  return null;
4508
4510
  try {
4509
- return A.credential(t, r);
4511
+ return S.credential(t, r);
4510
4512
  } catch {
4511
4513
  return null;
4512
4514
  }
4513
4515
  }
4514
4516
  }
4515
- A.GOOGLE_SIGN_IN_METHOD = "google.com";
4516
- A.PROVIDER_ID = "google.com";
4517
+ S.GOOGLE_SIGN_IN_METHOD = "google.com";
4518
+ S.PROVIDER_ID = "google.com";
4517
4519
  /**
4518
4520
  * @license
4519
4521
  * Copyright 2020 Google LLC
@@ -4594,7 +4596,7 @@ O.PROVIDER_ID = "github.com";
4594
4596
  * See the License for the specific language governing permissions and
4595
4597
  * limitations under the License.
4596
4598
  */
4597
- class N extends ne {
4599
+ class C extends ne {
4598
4600
  constructor() {
4599
4601
  super(
4600
4602
  "twitter.com"
@@ -4609,8 +4611,8 @@ class N extends ne {
4609
4611
  */
4610
4612
  static credential(e, t) {
4611
4613
  return U._fromParams({
4612
- providerId: N.PROVIDER_ID,
4613
- signInMethod: N.TWITTER_SIGN_IN_METHOD,
4614
+ providerId: C.PROVIDER_ID,
4615
+ signInMethod: C.TWITTER_SIGN_IN_METHOD,
4614
4616
  oauthToken: e,
4615
4617
  oauthTokenSecret: t
4616
4618
  });
@@ -4621,7 +4623,7 @@ class N extends ne {
4621
4623
  * @param userCredential - The user credential.
4622
4624
  */
4623
4625
  static credentialFromResult(e) {
4624
- return N.credentialFromTaggedObject(e);
4626
+ return C.credentialFromTaggedObject(e);
4625
4627
  }
4626
4628
  /**
4627
4629
  * Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
@@ -4630,7 +4632,7 @@ class N extends ne {
4630
4632
  * @param userCredential - The user credential.
4631
4633
  */
4632
4634
  static credentialFromError(e) {
4633
- return N.credentialFromTaggedObject(e.customData || {});
4635
+ return C.credentialFromTaggedObject(e.customData || {});
4634
4636
  }
4635
4637
  static credentialFromTaggedObject({ _tokenResponse: e }) {
4636
4638
  if (!e)
@@ -4639,14 +4641,14 @@ class N extends ne {
4639
4641
  if (!t || !r)
4640
4642
  return null;
4641
4643
  try {
4642
- return N.credential(t, r);
4644
+ return C.credential(t, r);
4643
4645
  } catch {
4644
4646
  return null;
4645
4647
  }
4646
4648
  }
4647
4649
  }
4648
- N.TWITTER_SIGN_IN_METHOD = "twitter.com";
4649
- N.PROVIDER_ID = "twitter.com";
4650
+ C.TWITTER_SIGN_IN_METHOD = "twitter.com";
4651
+ C.PROVIDER_ID = "twitter.com";
4650
4652
  /**
4651
4653
  * @license
4652
4654
  * Copyright 2020 Google LLC
@@ -4668,7 +4670,7 @@ class B {
4668
4670
  this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
4669
4671
  }
4670
4672
  static async _fromIdTokenResponse(e, t, r, i = !1) {
4671
- const s = await y._fromIdTokenResponse(e, r, i), a = Rt(r);
4673
+ const s = await y._fromIdTokenResponse(e, r, i), a = kt(r);
4672
4674
  return new B({
4673
4675
  user: s,
4674
4676
  providerId: a,
@@ -4682,7 +4684,7 @@ class B {
4682
4684
  /* reload */
4683
4685
  !0
4684
4686
  );
4685
- const i = Rt(r);
4687
+ const i = kt(r);
4686
4688
  return new B({
4687
4689
  user: e,
4688
4690
  providerId: i,
@@ -4691,7 +4693,7 @@ class B {
4691
4693
  });
4692
4694
  }
4693
4695
  }
4694
- function Rt(n) {
4696
+ function kt(n) {
4695
4697
  return n.providerId ? n.providerId : "phoneNumber" in n ? "phone" : null;
4696
4698
  }
4697
4699
  /**
@@ -4710,10 +4712,10 @@ function Rt(n) {
4710
4712
  * See the License for the specific language governing permissions and
4711
4713
  * limitations under the License.
4712
4714
  */
4713
- class fe extends M {
4715
+ class me extends M {
4714
4716
  constructor(e, t, r, i) {
4715
4717
  var s;
4716
- super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, fe.prototype), this.customData = {
4718
+ super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, me.prototype), this.customData = {
4717
4719
  appName: e.name,
4718
4720
  tenantId: (s = e.tenantId) !== null && s !== void 0 ? s : void 0,
4719
4721
  _serverResponse: t.customData._serverResponse,
@@ -4721,12 +4723,12 @@ class fe extends M {
4721
4723
  };
4722
4724
  }
4723
4725
  static _fromErrorAndOperation(e, t, r, i) {
4724
- return new fe(e, t, r, i);
4726
+ return new me(e, t, r, i);
4725
4727
  }
4726
4728
  }
4727
4729
  function En(n, e, t, r) {
4728
4730
  return (e === "reauthenticate" ? t._getReauthenticationResolver(n) : t._getIdTokenResponse(n)).catch((s) => {
4729
- throw s.code === "auth/multi-factor-auth-required" ? fe._fromErrorAndOperation(n, s, e, r) : s;
4731
+ throw s.code === "auth/multi-factor-auth-required" ? me._fromErrorAndOperation(n, s, e, r) : s;
4730
4732
  });
4731
4733
  }
4732
4734
  async function gs(n, e, t = !1) {
@@ -4749,9 +4751,9 @@ async function gs(n, e, t = !1) {
4749
4751
  * See the License for the specific language governing permissions and
4750
4752
  * limitations under the License.
4751
4753
  */
4752
- async function Is(n, e, t = !1) {
4754
+ async function vs(n, e, t = !1) {
4753
4755
  const { auth: r } = n;
4754
- if (v(r.app))
4756
+ if (I(r.app))
4755
4757
  return Promise.reject(P(r));
4756
4758
  const i = "reauthenticate";
4757
4759
  try {
@@ -4800,8 +4802,8 @@ async function Is(n, e, t = !1) {
4800
4802
  * See the License for the specific language governing permissions and
4801
4803
  * limitations under the License.
4802
4804
  */
4803
- async function vs(n, e, t = !1) {
4804
- if (v(n.app))
4805
+ async function Is(n, e, t = !1) {
4806
+ if (I(n.app))
4805
4807
  return Promise.reject(P(n));
4806
4808
  const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
4807
4809
  return t || await n._updateCurrentUser(s.user), s;
@@ -4823,7 +4825,7 @@ async function vs(n, e, t = !1) {
4823
4825
  * limitations under the License.
4824
4826
  */
4825
4827
  async function bs(n, e) {
4826
- return sn(n, "POST", "/v1/accounts:signInWithCustomToken", Ie(n, e));
4828
+ return sn(n, "POST", "/v1/accounts:signInWithCustomToken", ve(n, e));
4827
4829
  }
4828
4830
  /**
4829
4831
  * @license
@@ -4842,9 +4844,9 @@ async function bs(n, e) {
4842
4844
  * limitations under the License.
4843
4845
  */
4844
4846
  async function ys(n, e) {
4845
- if (v(n.app))
4847
+ if (I(n.app))
4846
4848
  return Promise.reject(P(n));
4847
- const t = ve(n), r = await bs(t, {
4849
+ const t = Ie(n), r = await bs(t, {
4848
4850
  token: e,
4849
4851
  returnSecureToken: !0
4850
4852
  }), i = await B._fromIdTokenResponse(t, "signIn", r);
@@ -4914,7 +4916,7 @@ class Tn {
4914
4916
  * See the License for the specific language governing permissions and
4915
4917
  * limitations under the License.
4916
4918
  */
4917
- const ws = 1e3, Rs = 10;
4919
+ const ws = 1e3, ks = 10;
4918
4920
  class wn extends Tn {
4919
4921
  constructor() {
4920
4922
  super(
@@ -4942,7 +4944,7 @@ class wn extends Tn {
4942
4944
  const a = this.storage.getItem(r);
4943
4945
  !t && this.localCache[r] === a || this.notifyListeners(r, a);
4944
4946
  }, s = this.storage.getItem(r);
4945
- ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, Rs) : i();
4947
+ ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, ks) : i();
4946
4948
  }
4947
4949
  notifyListeners(e, t) {
4948
4950
  this.localCache[e] = t;
@@ -4994,7 +4996,7 @@ class wn extends Tn {
4994
4996
  }
4995
4997
  }
4996
4998
  wn.type = "LOCAL";
4997
- const ks = wn;
4999
+ const Rs = wn;
4998
5000
  /**
4999
5001
  * @license
5000
5002
  * Copyright 2020 Google LLC
@@ -5011,7 +5013,7 @@ const ks = wn;
5011
5013
  * See the License for the specific language governing permissions and
5012
5014
  * limitations under the License.
5013
5015
  */
5014
- class Rn extends Tn {
5016
+ class kn extends Tn {
5015
5017
  constructor() {
5016
5018
  super(
5017
5019
  () => window.sessionStorage,
@@ -5024,8 +5026,8 @@ class Rn extends Tn {
5024
5026
  _removeListener(e, t) {
5025
5027
  }
5026
5028
  }
5027
- Rn.type = "SESSION";
5028
- const kn = Rn;
5029
+ kn.type = "SESSION";
5030
+ const Rn = kn;
5029
5031
  /**
5030
5032
  * @license
5031
5033
  * Copyright 2019 Google LLC
@@ -5042,7 +5044,7 @@ const kn = Rn;
5042
5044
  * See the License for the specific language governing permissions and
5043
5045
  * limitations under the License.
5044
5046
  */
5045
- function Ss(n) {
5047
+ function As(n) {
5046
5048
  return Promise.all(n.map(async (e) => {
5047
5049
  try {
5048
5050
  return {
@@ -5112,7 +5114,7 @@ class be {
5112
5114
  eventId: r,
5113
5115
  eventType: i
5114
5116
  });
5115
- const c = Array.from(a).map(async (l) => l(t.origin, s)), o = await Ss(c);
5117
+ const c = Array.from(a).map(async (l) => l(t.origin, s)), o = await As(c);
5116
5118
  t.ports[0].postMessage({
5117
5119
  status: "done",
5118
5120
  eventId: r,
@@ -5180,7 +5182,7 @@ function Qe(n = "", e = 10) {
5180
5182
  * See the License for the specific language governing permissions and
5181
5183
  * limitations under the License.
5182
5184
  */
5183
- class As {
5185
+ class Ss {
5184
5186
  constructor(e) {
5185
5187
  this.target = e, this.handlers = /* @__PURE__ */ new Set();
5186
5188
  }
@@ -5225,9 +5227,9 @@ class As {
5225
5227
  a = {
5226
5228
  messageChannel: i,
5227
5229
  onMessage(h) {
5228
- const m = h;
5229
- if (m.data.eventId === l)
5230
- switch (m.data.status) {
5230
+ const f = h;
5231
+ if (f.data.eventId === l)
5232
+ switch (f.data.status) {
5231
5233
  case "ack":
5232
5234
  clearTimeout(d), s = setTimeout(
5233
5235
  () => {
@@ -5241,7 +5243,7 @@ class As {
5241
5243
  );
5242
5244
  break;
5243
5245
  case "done":
5244
- clearTimeout(s), c(m.data.response);
5246
+ clearTimeout(s), c(f.data.response);
5245
5247
  break;
5246
5248
  default:
5247
5249
  clearTimeout(d), clearTimeout(s), o(new Error(
@@ -5299,10 +5301,10 @@ function Os(n) {
5299
5301
  * See the License for the specific language governing permissions and
5300
5302
  * limitations under the License.
5301
5303
  */
5302
- function Sn() {
5304
+ function An() {
5303
5305
  return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
5304
5306
  }
5305
- async function Ns() {
5307
+ async function Cs() {
5306
5308
  if (!(navigator != null && navigator.serviceWorker))
5307
5309
  return null;
5308
5310
  try {
@@ -5311,12 +5313,12 @@ async function Ns() {
5311
5313
  return null;
5312
5314
  }
5313
5315
  }
5314
- function Cs() {
5316
+ function Ds() {
5315
5317
  var n;
5316
5318
  return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
5317
5319
  }
5318
- function Ds() {
5319
- return Sn() ? self : null;
5320
+ function Ns() {
5321
+ return An() ? self : null;
5320
5322
  }
5321
5323
  /**
5322
5324
  * @license
@@ -5334,7 +5336,7 @@ function Ds() {
5334
5336
  * See the License for the specific language governing permissions and
5335
5337
  * limitations under the License.
5336
5338
  */
5337
- const An = "firebaseLocalStorageDb", Ps = 1, ge = "firebaseLocalStorage", On = "fbase_key";
5339
+ const Sn = "firebaseLocalStorageDb", Ps = 1, ge = "firebaseLocalStorage", On = "fbase_key";
5338
5340
  class re {
5339
5341
  constructor(e) {
5340
5342
  this.request = e;
@@ -5353,11 +5355,11 @@ function ye(n, e) {
5353
5355
  return n.transaction([ge], e ? "readwrite" : "readonly").objectStore(ge);
5354
5356
  }
5355
5357
  function Ms() {
5356
- const n = indexedDB.deleteDatabase(An);
5358
+ const n = indexedDB.deleteDatabase(Sn);
5357
5359
  return new re(n).toPromise();
5358
5360
  }
5359
- function We() {
5360
- const n = indexedDB.open(An, Ps);
5361
+ function Ve() {
5362
+ const n = indexedDB.open(Sn, Ps);
5361
5363
  return new Promise((e, t) => {
5362
5364
  n.addEventListener("error", () => {
5363
5365
  t(n.error);
@@ -5370,11 +5372,11 @@ function We() {
5370
5372
  }
5371
5373
  }), n.addEventListener("success", async () => {
5372
5374
  const r = n.result;
5373
- r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await We()));
5375
+ r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await Ve()));
5374
5376
  });
5375
5377
  });
5376
5378
  }
5377
- async function kt(n, e, t) {
5379
+ async function Rt(n, e, t) {
5378
5380
  const r = ye(n, !0).put({
5379
5381
  [On]: e,
5380
5382
  value: t
@@ -5385,19 +5387,19 @@ async function Ls(n, e) {
5385
5387
  const t = ye(n, !1).get(e), r = await new re(t).toPromise();
5386
5388
  return r === void 0 ? null : r.value;
5387
5389
  }
5388
- function St(n, e) {
5390
+ function At(n, e) {
5389
5391
  const t = ye(n, !0).delete(e);
5390
5392
  return new re(t).toPromise();
5391
5393
  }
5392
5394
  const Us = 800, Bs = 3;
5393
- class Nn {
5395
+ class Cn {
5394
5396
  constructor() {
5395
5397
  this.type = "LOCAL", this._shouldAllowMigration = !0, this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.pendingWrites = 0, this.receiver = null, this.sender = null, this.serviceWorkerReceiverAvailable = !1, this.activeServiceWorker = null, this._workerInitializationPromise = this.initializeServiceWorkerMessaging().then(() => {
5396
5398
  }, () => {
5397
5399
  });
5398
5400
  }
5399
5401
  async _openDb() {
5400
- return this.db ? this.db : (this.db = await We(), this.db);
5402
+ return this.db ? this.db : (this.db = await Ve(), this.db);
5401
5403
  }
5402
5404
  async _withRetries(e) {
5403
5405
  let t = 0;
@@ -5416,13 +5418,13 @@ class Nn {
5416
5418
  * postMessage interface to send these events to the worker ourselves.
5417
5419
  */
5418
5420
  async initializeServiceWorkerMessaging() {
5419
- return Sn() ? this.initializeReceiver() : this.initializeSender();
5421
+ return An() ? this.initializeReceiver() : this.initializeSender();
5420
5422
  }
5421
5423
  /**
5422
5424
  * As the worker we should listen to events from the main window.
5423
5425
  */
5424
5426
  async initializeReceiver() {
5425
- this.receiver = be._getInstance(Ds()), this.receiver._subscribe("keyChanged", async (e, t) => ({
5427
+ this.receiver = be._getInstance(Ns()), this.receiver._subscribe("keyChanged", async (e, t) => ({
5426
5428
  keyProcessed: (await this._poll()).includes(t.key)
5427
5429
  })), this.receiver._subscribe("ping", async (e, t) => [
5428
5430
  "keyChanged"
@@ -5438,9 +5440,9 @@ class Nn {
5438
5440
  */
5439
5441
  async initializeSender() {
5440
5442
  var e, t;
5441
- if (this.activeServiceWorker = await Ns(), !this.activeServiceWorker)
5443
+ if (this.activeServiceWorker = await Cs(), !this.activeServiceWorker)
5442
5444
  return;
5443
- this.sender = new As(this.activeServiceWorker);
5445
+ this.sender = new Ss(this.activeServiceWorker);
5444
5446
  const r = await this.sender._send(
5445
5447
  "ping",
5446
5448
  {},
@@ -5462,7 +5464,7 @@ class Nn {
5462
5464
  * @param key - Storage key which changed.
5463
5465
  */
5464
5466
  async notifyServiceWorker(e) {
5465
- if (!(!this.sender || !this.activeServiceWorker || Cs() !== this.activeServiceWorker))
5467
+ if (!(!this.sender || !this.activeServiceWorker || Ds() !== this.activeServiceWorker))
5466
5468
  try {
5467
5469
  await this.sender._send(
5468
5470
  "keyChanged",
@@ -5478,8 +5480,8 @@ class Nn {
5478
5480
  try {
5479
5481
  if (!indexedDB)
5480
5482
  return !1;
5481
- const e = await We();
5482
- return await kt(e, _e, "1"), await St(e, _e), !0;
5483
+ const e = await Ve();
5484
+ return await Rt(e, _e, "1"), await At(e, _e), !0;
5483
5485
  } catch {
5484
5486
  }
5485
5487
  return !1;
@@ -5493,14 +5495,14 @@ class Nn {
5493
5495
  }
5494
5496
  }
5495
5497
  async _set(e, t) {
5496
- return this._withPendingWrite(async () => (await this._withRetries((r) => kt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
5498
+ return this._withPendingWrite(async () => (await this._withRetries((r) => Rt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
5497
5499
  }
5498
5500
  async _get(e) {
5499
5501
  const t = await this._withRetries((r) => Ls(r, e));
5500
5502
  return this.localCache[e] = t, t;
5501
5503
  }
5502
5504
  async _remove(e) {
5503
- return this._withPendingWrite(async () => (await this._withRetries((t) => St(t, e)), delete this.localCache[e], this.notifyServiceWorker(e)));
5505
+ return this._withPendingWrite(async () => (await this._withRetries((t) => At(t, e)), delete this.localCache[e], this.notifyServiceWorker(e)));
5504
5506
  }
5505
5507
  async _poll() {
5506
5508
  const e = await this._withRetries((i) => {
@@ -5539,8 +5541,8 @@ class Nn {
5539
5541
  this.listeners[e] && (this.listeners[e].delete(t), this.listeners[e].size === 0 && delete this.listeners[e]), Object.keys(this.listeners).length === 0 && this.stopPolling();
5540
5542
  }
5541
5543
  }
5542
- Nn.type = "LOCAL";
5543
- const xs = Nn;
5544
+ Cn.type = "LOCAL";
5545
+ const Fs = Cn;
5544
5546
  new te(3e4, 6e4);
5545
5547
  /**
5546
5548
  * @license
@@ -5558,7 +5560,7 @@ new te(3e4, 6e4);
5558
5560
  * See the License for the specific language governing permissions and
5559
5561
  * limitations under the License.
5560
5562
  */
5561
- function Fs(n, e) {
5563
+ function xs(n, e) {
5562
5564
  return e ? E(e) : (u(
5563
5565
  n._popupRedirectResolver,
5564
5566
  n,
@@ -5591,13 +5593,13 @@ class et extends bn {
5591
5593
  ), this.params = e;
5592
5594
  }
5593
5595
  _getIdTokenResponse(e) {
5594
- return V(e, this._buildIdpRequest());
5596
+ return G(e, this._buildIdpRequest());
5595
5597
  }
5596
5598
  _linkToIdToken(e, t) {
5597
- return V(e, this._buildIdpRequest(t));
5599
+ return G(e, this._buildIdpRequest(t));
5598
5600
  }
5599
5601
  _getReauthenticationResolver(e) {
5600
- return V(e, this._buildIdpRequest());
5602
+ return G(e, this._buildIdpRequest());
5601
5603
  }
5602
5604
  _buildIdpRequest(e) {
5603
5605
  const t = {
@@ -5613,7 +5615,7 @@ class et extends bn {
5613
5615
  }
5614
5616
  }
5615
5617
  function js(n) {
5616
- return vs(n.auth, new et(n), n.bypassAuthState);
5618
+ return Is(n.auth, new et(n), n.bypassAuthState);
5617
5619
  }
5618
5620
  function Hs(n) {
5619
5621
  const { auth: e, user: t } = n;
@@ -5622,9 +5624,9 @@ function Hs(n) {
5622
5624
  e,
5623
5625
  "internal-error"
5624
5626
  /* AuthErrorCode.INTERNAL_ERROR */
5625
- ), Is(t, new et(n), n.bypassAuthState);
5627
+ ), vs(t, new et(n), n.bypassAuthState);
5626
5628
  }
5627
- async function Ws(n) {
5629
+ async function Vs(n) {
5628
5630
  const { auth: e, user: t } = n;
5629
5631
  return u(
5630
5632
  t,
@@ -5649,7 +5651,7 @@ async function Ws(n) {
5649
5651
  * See the License for the specific language governing permissions and
5650
5652
  * limitations under the License.
5651
5653
  */
5652
- class Cn {
5654
+ class Dn {
5653
5655
  constructor(e, t, r, i, s = !1) {
5654
5656
  this.auth = e, this.resolver = r, this.user = i, this.bypassAuthState = s, this.pendingPromise = null, this.eventManager = null, this.filter = Array.isArray(t) ? t : [t];
5655
5657
  }
@@ -5694,7 +5696,7 @@ class Cn {
5694
5696
  return js;
5695
5697
  case "linkViaPopup":
5696
5698
  case "linkViaRedirect":
5697
- return Ws;
5699
+ return Vs;
5698
5700
  case "reauthViaPopup":
5699
5701
  case "reauthViaRedirect":
5700
5702
  return Hs;
@@ -5707,10 +5709,10 @@ class Cn {
5707
5709
  }
5708
5710
  }
5709
5711
  resolve(e) {
5710
- R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
5712
+ k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
5711
5713
  }
5712
5714
  reject(e) {
5713
- R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
5715
+ k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
5714
5716
  }
5715
5717
  unregisterAndCleanUp() {
5716
5718
  this.eventManager && this.eventManager.unregisterConsumer(this), this.pendingPromise = null, this.cleanUp();
@@ -5732,10 +5734,10 @@ class Cn {
5732
5734
  * See the License for the specific language governing permissions and
5733
5735
  * limitations under the License.
5734
5736
  */
5735
- const Vs = new te(2e3, 1e4);
5736
- class F extends Cn {
5737
+ const Gs = new te(2e3, 1e4);
5738
+ class x extends Dn {
5737
5739
  constructor(e, t, r, i, s) {
5738
- super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, F.currentPopupAction && F.currentPopupAction.cancel(), F.currentPopupAction = this;
5740
+ super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
5739
5741
  }
5740
5742
  async executeNotNull() {
5741
5743
  const e = await this.execute();
@@ -5747,7 +5749,7 @@ class F extends Cn {
5747
5749
  ), e;
5748
5750
  }
5749
5751
  async onExecution() {
5750
- R(this.filter.length === 1, "Popup operations only handle one event");
5752
+ k(this.filter.length === 1, "Popup operations only handle one event");
5751
5753
  const e = Qe();
5752
5754
  this.authWindow = await this.resolver._openPopup(
5753
5755
  this.auth,
@@ -5777,7 +5779,7 @@ class F extends Cn {
5777
5779
  ));
5778
5780
  }
5779
5781
  cleanUp() {
5780
- this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, F.currentPopupAction = null;
5782
+ this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, x.currentPopupAction = null;
5781
5783
  }
5782
5784
  pollUserCancellation() {
5783
5785
  const e = () => {
@@ -5796,12 +5798,12 @@ class F extends Cn {
5796
5798
  );
5797
5799
  return;
5798
5800
  }
5799
- this.pollId = window.setTimeout(e, Vs.get());
5801
+ this.pollId = window.setTimeout(e, Gs.get());
5800
5802
  };
5801
5803
  e();
5802
5804
  }
5803
5805
  }
5804
- F.currentPopupAction = null;
5806
+ x.currentPopupAction = null;
5805
5807
  /**
5806
5808
  * @license
5807
5809
  * Copyright 2020 Google LLC
@@ -5818,8 +5820,8 @@ F.currentPopupAction = null;
5818
5820
  * See the License for the specific language governing permissions and
5819
5821
  * limitations under the License.
5820
5822
  */
5821
- const Gs = "pendingRedirect", oe = /* @__PURE__ */ new Map();
5822
- class zs extends Cn {
5823
+ const Ws = "pendingRedirect", oe = /* @__PURE__ */ new Map();
5824
+ class zs extends Dn {
5823
5825
  constructor(e, t, r = !1) {
5824
5826
  super(e, [
5825
5827
  "signInViaRedirect",
@@ -5879,12 +5881,12 @@ function Js(n) {
5879
5881
  return E(n._redirectPersistence);
5880
5882
  }
5881
5883
  function Xs(n) {
5882
- return ae(Gs, n.config.apiKey, n.name);
5884
+ return ae(Ws, n.config.apiKey, n.name);
5883
5885
  }
5884
5886
  async function Ys(n, e, t = !1) {
5885
- if (v(n.app))
5887
+ if (I(n.app))
5886
5888
  return Promise.reject(P(n));
5887
- const r = ve(n), i = Fs(r, e), a = await new zs(r, i, t).execute();
5889
+ const r = Ie(n), i = xs(r, e), a = await new zs(r, i, t).execute();
5888
5890
  return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
5889
5891
  }
5890
5892
  /**
@@ -5924,7 +5926,7 @@ class qs {
5924
5926
  }
5925
5927
  sendToConsumer(e, t) {
5926
5928
  var r;
5927
- if (e.error && !Dn(e)) {
5929
+ if (e.error && !Nn(e)) {
5928
5930
  const i = ((r = e.error.code) === null || r === void 0 ? void 0 : r.split("auth/")[1]) || "internal-error";
5929
5931
  t.onError(_(this.auth, i));
5930
5932
  } else
@@ -5935,16 +5937,16 @@ class qs {
5935
5937
  return t.filter.includes(e.type) && r;
5936
5938
  }
5937
5939
  hasEventBeenHandled(e) {
5938
- return Date.now() - this.lastProcessedEventTime >= Ks && this.cachedEventUids.clear(), this.cachedEventUids.has(At(e));
5940
+ return Date.now() - this.lastProcessedEventTime >= Ks && this.cachedEventUids.clear(), this.cachedEventUids.has(St(e));
5939
5941
  }
5940
5942
  saveEventToCache(e) {
5941
- this.cachedEventUids.add(At(e)), this.lastProcessedEventTime = Date.now();
5943
+ this.cachedEventUids.add(St(e)), this.lastProcessedEventTime = Date.now();
5942
5944
  }
5943
5945
  }
5944
- function At(n) {
5946
+ function St(n) {
5945
5947
  return [n.type, n.eventId, n.sessionId, n.tenantId].filter((e) => e).join("-");
5946
5948
  }
5947
- function Dn({ type: n, error: e }) {
5949
+ function Nn({ type: n, error: e }) {
5948
5950
  return n === "unknown" && (e == null ? void 0 : e.code) === "auth/no-auth-event";
5949
5951
  }
5950
5952
  function Qs(n) {
@@ -5954,7 +5956,7 @@ function Qs(n) {
5954
5956
  case "reauthViaRedirect":
5955
5957
  return !0;
5956
5958
  case "unknown":
5957
- return Dn(n);
5959
+ return Nn(n);
5958
5960
  default:
5959
5961
  return !1;
5960
5962
  }
@@ -6138,7 +6140,7 @@ function pa(n) {
6138
6140
  const s = n._getFrameworks();
6139
6141
  return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
6140
6142
  }
6141
- async function ma(n) {
6143
+ async function fa(n) {
6142
6144
  const e = await oa(n), t = g().gapi;
6143
6145
  return u(
6144
6146
  t,
@@ -6187,13 +6189,13 @@ async function ma(n) {
6187
6189
  * See the License for the specific language governing permissions and
6188
6190
  * limitations under the License.
6189
6191
  */
6190
- const fa = {
6192
+ const ma = {
6191
6193
  location: "yes",
6192
6194
  resizable: "yes",
6193
6195
  statusbar: "yes",
6194
6196
  toolbar: "no"
6195
- }, _a = 500, ga = 600, Ia = "_blank", va = "http://localhost";
6196
- class Nt {
6197
+ }, _a = 500, ga = 600, va = "_blank", Ia = "http://localhost";
6198
+ class Ct {
6197
6199
  constructor(e) {
6198
6200
  this.window = e, this.associatedEvent = null;
6199
6201
  }
@@ -6208,16 +6210,16 @@ class Nt {
6208
6210
  function ba(n, e, t, r = _a, i = ga) {
6209
6211
  const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
6210
6212
  let c = "";
6211
- const o = Object.assign(Object.assign({}, fa), {
6213
+ const o = Object.assign(Object.assign({}, ma), {
6212
6214
  width: r.toString(),
6213
6215
  height: i.toString(),
6214
6216
  top: s,
6215
6217
  left: a
6216
- }), l = f().toLowerCase();
6217
- t && (c = hn(l) ? Ia : t), dn(l) && (e = e || va, o.scrollbars = "yes");
6218
- const d = Object.entries(o).reduce((m, [I, x]) => `${m}${I}=${x},`, "");
6218
+ }), l = m().toLowerCase();
6219
+ t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
6220
+ const d = Object.entries(o).reduce((f, [v, F]) => `${f}${v}=${F},`, "");
6219
6221
  if (es(l) && c !== "_self")
6220
- return ya(e || "", c), new Nt(null);
6222
+ return ya(e || "", c), new Ct(null);
6221
6223
  const h = window.open(e || "", c, d);
6222
6224
  u(
6223
6225
  h,
@@ -6229,7 +6231,7 @@ function ba(n, e, t, r = _a, i = ga) {
6229
6231
  h.focus();
6230
6232
  } catch {
6231
6233
  }
6232
- return new Nt(h);
6234
+ return new Ct(h);
6233
6235
  }
6234
6236
  function ya(n, e) {
6235
6237
  const t = document.createElement("a");
@@ -6254,7 +6256,7 @@ function ya(n, e) {
6254
6256
  * limitations under the License.
6255
6257
  */
6256
6258
  const Ea = "__/auth/handler", Ta = "emulator/auth/handler", wa = encodeURIComponent("fac");
6257
- async function Ct(n, e, t, r, i, s) {
6259
+ async function Dt(n, e, t, r, i, s) {
6258
6260
  u(
6259
6261
  n.config.authDomain,
6260
6262
  n,
@@ -6288,9 +6290,9 @@ async function Ct(n, e, t, r, i, s) {
6288
6290
  for (const d of Object.keys(c))
6289
6291
  c[d] === void 0 && delete c[d];
6290
6292
  const o = await n._getAppCheckToken(), l = o ? `#${wa}=${encodeURIComponent(o)}` : "";
6291
- return `${Ra(n)}?${Q(c).slice(1)}${l}`;
6293
+ return `${ka(n)}?${Q(c).slice(1)}${l}`;
6292
6294
  }
6293
- function Ra({ config: n }) {
6295
+ function ka({ config: n }) {
6294
6296
  return n.emulator ? Xe(n, Ta) : `https://${n.authDomain}/${Ea}`;
6295
6297
  }
6296
6298
  /**
@@ -6309,22 +6311,22 @@ function Ra({ config: n }) {
6309
6311
  * See the License for the specific language governing permissions and
6310
6312
  * limitations under the License.
6311
6313
  */
6312
- const De = "webStorageSupport";
6313
- class ka {
6314
+ const Ne = "webStorageSupport";
6315
+ class Ra {
6314
6316
  constructor() {
6315
- this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Ys, this._overrideRedirectResult = Zs;
6317
+ this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn = Ys, this._overrideRedirectResult = Zs;
6316
6318
  }
6317
6319
  // Wrapping in async even though we don't await anywhere in order
6318
6320
  // to make sure errors are raised as promise rejections
6319
6321
  async _openPopup(e, t, r, i) {
6320
6322
  var s;
6321
- R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
6322
- const a = await Ct(e, t, r, je(), i);
6323
+ k((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
6324
+ const a = await Dt(e, t, r, je(), i);
6323
6325
  return ba(e, a, Qe());
6324
6326
  }
6325
6327
  async _openRedirect(e, t, r, i) {
6326
6328
  await this._originValidation(e);
6327
- const s = await Ct(e, t, r, je(), i);
6329
+ const s = await Dt(e, t, r, je(), i);
6328
6330
  return Os(s), new Promise(() => {
6329
6331
  });
6330
6332
  }
@@ -6332,7 +6334,7 @@ class ka {
6332
6334
  const t = e._key();
6333
6335
  if (this.eventManagers[t]) {
6334
6336
  const { manager: i, promise: s } = this.eventManagers[t];
6335
- return i ? Promise.resolve(i) : (R(s, "If manager is not set, promise should be"), s);
6337
+ return i ? Promise.resolve(i) : (k(s, "If manager is not set, promise should be"), s);
6336
6338
  }
6337
6339
  const r = this.initAndGetManager(e);
6338
6340
  return this.eventManagers[t] = { promise: r }, r.catch(() => {
@@ -6340,7 +6342,7 @@ class ka {
6340
6342
  }), r;
6341
6343
  }
6342
6344
  async initAndGetManager(e) {
6343
- const t = await ma(e), r = new qs(e);
6345
+ const t = await fa(e), r = new qs(e);
6344
6346
  return t.register("authEvent", (i) => (u(
6345
6347
  i == null ? void 0 : i.authEvent,
6346
6348
  e,
@@ -6352,9 +6354,9 @@ class ka {
6352
6354
  }), gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER), this.eventManagers[e._key()] = { manager: r }, this.iframes[e._key()] = t, r;
6353
6355
  }
6354
6356
  _isIframeWebStorageSupported(e, t) {
6355
- this.iframes[e._key()].send(De, { type: De }, (i) => {
6357
+ this.iframes[e._key()].send(Ne, { type: Ne }, (i) => {
6356
6358
  var s;
6357
- const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[De];
6359
+ const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[Ne];
6358
6360
  a !== void 0 && t(!!a), w(
6359
6361
  e,
6360
6362
  "internal-error"
@@ -6370,8 +6372,8 @@ class ka {
6370
6372
  return gn() || un() || Ke();
6371
6373
  }
6372
6374
  }
6373
- const Sa = ka;
6374
- var Dt = "@firebase/auth", Pt = "1.7.9";
6375
+ const Aa = Ra;
6376
+ var Nt = "@firebase/auth", Pt = "1.7.9";
6375
6377
  /**
6376
6378
  * @license
6377
6379
  * Copyright 2020 Google LLC
@@ -6388,7 +6390,7 @@ var Dt = "@firebase/auth", Pt = "1.7.9";
6388
6390
  * See the License for the specific language governing permissions and
6389
6391
  * limitations under the License.
6390
6392
  */
6391
- class Aa {
6393
+ class Sa {
6392
6394
  constructor(e) {
6393
6395
  this.auth = e, this.internalListeners = /* @__PURE__ */ new Map();
6394
6396
  }
@@ -6455,8 +6457,8 @@ function Oa(n) {
6455
6457
  return;
6456
6458
  }
6457
6459
  }
6458
- function Na(n) {
6459
- X(new G(
6460
+ function Ca(n) {
6461
+ X(new W(
6460
6462
  "auth",
6461
6463
  (e, { options: t }) => {
6462
6464
  const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
@@ -6468,7 +6470,7 @@ function Na(n) {
6468
6470
  apiHost: "identitytoolkit.googleapis.com",
6469
6471
  tokenApiHost: "securetoken.googleapis.com",
6470
6472
  apiScheme: "https",
6471
- sdkClientVersion: In(n)
6473
+ sdkClientVersion: vn(n)
6472
6474
  }, l = new as(r, i, s, o);
6473
6475
  return hs(l, t), l;
6474
6476
  },
@@ -6482,21 +6484,21 @@ function Na(n) {
6482
6484
  "auth-internal"
6483
6485
  /* _ComponentName.AUTH_INTERNAL */
6484
6486
  ).initialize();
6485
- })), X(new G(
6487
+ })), X(new W(
6486
6488
  "auth-internal",
6487
6489
  (e) => {
6488
- const t = ve(e.getProvider(
6490
+ const t = Ie(e.getProvider(
6489
6491
  "auth"
6490
6492
  /* _ComponentName.AUTH */
6491
6493
  ).getImmediate());
6492
- return ((r) => new Aa(r))(t);
6494
+ return ((r) => new Sa(r))(t);
6493
6495
  },
6494
6496
  "PRIVATE"
6495
6497
  /* ComponentType.PRIVATE */
6496
6498
  ).setInstantiationMode(
6497
6499
  "EXPLICIT"
6498
6500
  /* InstantiationMode.EXPLICIT */
6499
- )), j(Dt, Pt, Oa(n)), j(Dt, Pt, "esm2017");
6501
+ )), j(Nt, Pt, Oa(n)), j(Nt, Pt, "esm2017");
6500
6502
  }
6501
6503
  /**
6502
6504
  * @license
@@ -6514,11 +6516,11 @@ function Na(n) {
6514
6516
  * See the License for the specific language governing permissions and
6515
6517
  * limitations under the License.
6516
6518
  */
6517
- const Ca = 5 * 60, Da = zt("authIdTokenMaxAge") || Ca;
6519
+ const Da = 5 * 60, Na = zt("authIdTokenMaxAge") || Da;
6518
6520
  let Mt = null;
6519
6521
  const Pa = (n) => async (e) => {
6520
6522
  const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
6521
- if (r && r > Da)
6523
+ if (r && r > Na)
6522
6524
  return;
6523
6525
  const i = t == null ? void 0 : t.token;
6524
6526
  Mt !== i && (Mt = i, await fetch(n, {
@@ -6528,16 +6530,16 @@ const Pa = (n) => async (e) => {
6528
6530
  } : {}
6529
6531
  }));
6530
6532
  };
6531
- function Ma(n = ki()) {
6533
+ function Ma(n = Ri()) {
6532
6534
  const e = Xt(n, "auth");
6533
6535
  if (e.isInitialized())
6534
6536
  return e.getImmediate();
6535
6537
  const t = us(n, {
6536
- popupRedirectResolver: Sa,
6538
+ popupRedirectResolver: Aa,
6537
6539
  persistence: [
6538
- xs,
6539
- ks,
6540
- kn
6540
+ Fs,
6541
+ Rs,
6542
+ Rn
6541
6543
  ]
6542
6544
  }), r = zt("authTokenSyncURL");
6543
6545
  if (r && typeof isSecureContext == "boolean" && isSecureContext) {
@@ -6547,7 +6549,7 @@ function Ma(n = ki()) {
6547
6549
  Ts(t, a, () => a(t.currentUser)), Es(t, (c) => a(c));
6548
6550
  }
6549
6551
  }
6550
- const i = Vt("auth");
6552
+ const i = Gt("auth");
6551
6553
  return i && ps(t, `http://${i}`), t;
6552
6554
  }
6553
6555
  function La() {
@@ -6571,13 +6573,13 @@ os({
6571
6573
  recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
6572
6574
  recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
6573
6575
  });
6574
- Na(
6576
+ Ca(
6575
6577
  "Browser"
6576
6578
  /* ClientPlatform.BROWSER */
6577
6579
  );
6578
6580
  const Ua = Ln({
6579
6581
  history: Un(),
6580
- routes: [...Ge, ...le]
6582
+ routes: [...We, ...le]
6581
6583
  });
6582
6584
  let Pe, Me;
6583
6585
  Ua.beforeEach(async (n) => {
@@ -6587,7 +6589,7 @@ Ua.beforeEach(async (n) => {
6587
6589
  currentBusiness: r,
6588
6590
  readRestaurants: i,
6589
6591
  changeRestaurant: s
6590
- } = Ve();
6592
+ } = Ge();
6591
6593
  return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
6592
6594
  const c = Z(e, (o) => {
6593
6595
  var l;
@@ -6610,14 +6612,14 @@ Ua.beforeEach(async (n) => {
6610
6612
  const Ba = /* @__PURE__ */ Ut({
6611
6613
  __name: "AppSidebar",
6612
6614
  setup(n) {
6613
- const e = Ve(), t = Bn(), { t: r } = Gn(), i = Fn(t.currentRoute.value.name);
6615
+ const e = Ge(), t = Bn(), { t: r } = Wn(), i = xn(t.currentRoute.value.name);
6614
6616
  Z(t.currentRoute, () => {
6615
6617
  let l = t.currentRoute.value.name;
6616
6618
  t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
6617
6619
  });
6618
- const s = Ge.map((l) => {
6619
- var m;
6620
- if (!((m = l.meta) != null && m.sidebarDisplay))
6620
+ const s = We.map((l) => {
6621
+ var f;
6622
+ if (!((f = l.meta) != null && f.sidebarDisplay))
6621
6623
  return;
6622
6624
  const d = l.meta.sidebarDisplay, h = {
6623
6625
  label: d.startsWith("i18n:") ? r(d.replaceAll("i18n:", "")) : d,
@@ -6684,20 +6686,20 @@ const Ba = /* @__PURE__ */ Ut({
6684
6686
  });
6685
6687
  return (l, d) => {
6686
6688
  const h = Bt("FmCollapsibleTabs");
6687
- return xt(), Ft(h, {
6689
+ return Ft(), xt(h, {
6688
6690
  modelValue: i.value,
6689
- "onUpdate:modelValue": d[0] || (d[0] = (m) => i.value = m),
6691
+ "onUpdate:modelValue": d[0] || (d[0] = (f) => i.value = f),
6690
6692
  items: o.value,
6691
6693
  class: "py-16 px-8 w-[240px]"
6692
6694
  }, null, 8, ["modelValue", "items"]);
6693
6695
  };
6694
6696
  }
6695
6697
  });
6696
- var xa = { authClientId: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" }, assetBucketUrl: "static.feedme.cc" };
6698
+ var Fa = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com" };
6697
6699
  const $a = /* @__PURE__ */ Ut({
6698
6700
  __name: "App",
6699
6701
  setup(n) {
6700
- const { state: e } = sr(), t = Ve(), r = xn(), i = Yt(xa.firebase);
6702
+ const { state: e } = sr(), t = Ge(), r = Fn(), i = Yt(Fa.firebase);
6701
6703
  async function s() {
6702
6704
  const a = t.sessionUser.value;
6703
6705
  if (!a || !a.token) return;
@@ -6706,27 +6708,27 @@ const $a = /* @__PURE__ */ Ut({
6706
6708
  }
6707
6709
  return s(), Z(t.sessionUser, s), Hn(() => {
6708
6710
  e.isIframe && parent.postMessage({ event: "ready" }, "*");
6709
- }), Wn(() => {
6711
+ }), Vn(() => {
6710
6712
  t.registerSidebarComponent(Ba);
6711
6713
  }), (a, c) => {
6712
6714
  const o = Bt("RouterView");
6713
- return xt(), Ft(o, {
6714
- key: Vn(r).path
6715
+ return Ft(), xt(o, {
6716
+ key: Gn(r).path
6715
6717
  });
6716
6718
  };
6717
6719
  }
6718
6720
  }), Za = {
6719
6721
  "en-US": qn,
6720
6722
  "zh-CN": ir
6721
- }, Ja = [...le, ...Ge];
6723
+ }, Ja = [...le, ...We];
6722
6724
  export {
6723
- G as C,
6725
+ W as C,
6724
6726
  M as F,
6725
6727
  ee as S,
6726
6728
  X as _,
6727
6729
  Xt as a,
6728
- Ga as b,
6729
- ki as c,
6730
+ Wa as b,
6731
+ Ri as c,
6730
6732
  za as d,
6731
6733
  gt as e,
6732
6734
  Ja as f,