@feedmepos/mf-payment 1.0.5 → 1.0.7

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 (71) hide show
  1. package/dist/{PayoutAccount-BwBgS41r.js → PayoutAccount-C-Po7wZQ.js} +5 -5
  2. package/dist/{PayoutAccount-B6kGeSLY.js → PayoutAccount-CqXm2KSy.js} +3 -3
  3. package/dist/PayoutAccountSelector.vue_vue_type_script_setup_true_lang-h9qUr6nc.js +110 -0
  4. package/dist/{PayoutAccountSetting-C1yeSNv8.js → PayoutAccountSetting-NOdLfia7.js} +4 -4
  5. package/dist/Restaurant-Cc5ASoj_.js +305 -0
  6. package/dist/{RestaurantSetting-CWZAKz1A.js → RestaurantSetting-tzcFj_o_.js} +4 -4
  7. package/dist/{Settlement-BKwie9R8.js → Settlement-Dv9GQzck.js} +3 -3
  8. package/dist/{Settlement-ByPXBNx1.js → Settlement-L1f6JNAd.js} +3 -3
  9. package/dist/{SettlementTransactions-BPEh0mSi.js → SettlementTransactions-Fh8yTM7U.js} +4 -4
  10. package/dist/{SettlementTransactions-BGGqKJgP.js → SettlementTransactions-ziBwrrEQ.js} +4 -4
  11. package/dist/Terminal-oLKt3iaU.js +404 -0
  12. package/dist/{TerminalSetting-qklmRz3H.js → TerminalSetting-oV-9dQVY.js} +3 -3
  13. package/dist/{TerminalTransaction-YXcGJ2ne.js → TerminalTransaction-BVbB-doJ.js} +184 -154
  14. package/dist/TerminalTransaction-G0wYmxod.js +819 -0
  15. package/dist/Transaction--7lPYDcv.js +145 -0
  16. package/dist/{Transaction-IDcY01Oi.js → Transaction-CQzsoLWT.js} +81 -48
  17. package/dist/TransactionOld-rikFgC9l.js +99 -0
  18. package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-CCetYnFm.js +151 -0
  19. package/dist/api/terminal-transaction/index.d.ts +2 -1
  20. package/dist/api/transaction/index.d.ts +8 -1
  21. package/dist/{app-CjbTCCDJ.js → app-DbO5UPJK.js} +507 -494
  22. package/dist/app.js +1 -1
  23. package/dist/{assets-DjRoCcqv.js → assets-jEPOvQE2.js} +1 -1
  24. package/dist/components/PayoutAccountSelector.vue.d.ts +23 -0
  25. package/dist/grafana-DmfGM6nK.js +49 -0
  26. package/dist/helpers/grafana.d.ts +7 -0
  27. package/dist/{index-CKyh0nlu.js → index-B98ZyP6o.js} +13 -9
  28. package/dist/{index-BerQZMQW.js → index-BIXNmtLI.js} +1 -1
  29. package/dist/{index-BEFlDEyV.js → index-CE-HcYpQ.js} +1 -1
  30. package/dist/{index-Dj_LwPBy.js → index-CQufO7mO.js} +8489 -8321
  31. package/dist/{index-DFePh4ct.js → index-D1ImYhk5.js} +1 -1
  32. package/dist/{index-Bp_58SiC.js → index-D8FF0EPZ.js} +1 -1
  33. package/dist/{index-BWFqxSU3.js → index-DbvnSo9v.js} +1 -1
  34. package/dist/{index-CWGSYCJG.js → index-I-TLVlRb.js} +1 -1
  35. package/dist/{index.vue_vue_type_script_setup_true_lang-BgTr7KWF.js → index.vue_vue_type_script_setup_true_lang-BX_GLYKk.js} +1 -1
  36. package/dist/model/transaction.d.ts +2 -0
  37. package/dist/package.json +3 -3
  38. package/dist/{payout-account-ByuqS-Ea.js → payout-account-CM9wUigu.js} +2 -2
  39. package/dist/router/index.d.ts +1 -0
  40. package/dist/stores/payoutAccount.d.ts +4 -4
  41. package/dist/transaction-1aErD1US.js +118 -0
  42. package/dist/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
  44. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +4 -4
  45. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +4 -4
  46. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +4 -4
  47. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
  48. package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +8 -8
  49. package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +6 -6
  50. package/dist/views/admin/restaurant/cell/LogButton.vue.d.ts +5 -0
  51. package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +2 -2
  52. package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
  53. package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +8 -8
  54. package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +6 -6
  55. package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
  56. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +8 -8
  57. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +8 -8
  58. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +8 -8
  59. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +8 -8
  60. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +8 -8
  61. package/dist/views/admin/terminal-transaction/cell/Actions.vue.d.ts +3 -1
  62. package/dist/views/admin/transaction/cell/Actions.vue.d.ts +1 -1
  63. package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
  64. package/dist/views/settlement/SettlementTable.vue.d.ts +12 -12
  65. package/dist/views/transaction/TransactionOld.vue.d.ts +2 -0
  66. package/package.json +3 -3
  67. package/dist/Restaurant-B02jty0J.js +0 -262
  68. package/dist/Terminal-DX8v8WpM.js +0 -386
  69. package/dist/TerminalTransaction-64Bn6vh0.js +0 -261
  70. package/dist/Transaction-DMw2p-Wq.js +0 -238
  71. package/dist/transaction-Cyw84Cks.js +0 -101
@@ -1,7 +1,8 @@
1
- import { createRouter as Ln, createWebHistory as Un, useRouter as Bn } from "vue-router";
2
- import { computed as Lt, watch as $, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as xt, createBlock as Ft, onMounted as Fn, onBeforeMount as Wn } from "vue";
1
+ import { createRouter as Un, createWebHistory as Ln, useRouter as Bn } from "vue-router";
2
+ import { computed as Ut, watch as Z, defineComponent as Lt, ref as jn, resolveComponent as Bt, openBlock as jt, createBlock as xt, h as xn, onMounted as Fn, onBeforeMount as Wn } from "vue";
3
3
  import { useCoreStore as He } from "@feedmepos/mf-common";
4
- import { defineStore as jn } from "pinia";
4
+ import { defineStore as Hn } from "pinia";
5
+ import { components as Vn } from "@feedmepos/ui-library";
5
6
  const Ve = [
6
7
  {
7
8
  path: "/admin/restaurants",
@@ -9,7 +10,7 @@ const Ve = [
9
10
  meta: {
10
11
  sidebarDisplay: "Restaurants"
11
12
  },
12
- component: () => import("./Restaurant-B02jty0J.js")
13
+ component: () => import("./Restaurant-Cc5ASoj_.js")
13
14
  },
14
15
  {
15
16
  path: "/admin/restaurants/:restaurantId",
@@ -18,7 +19,7 @@ const Ve = [
18
19
  meta: {
19
20
  parent: "mf-payment-admin.restaurant"
20
21
  },
21
- component: () => import("./RestaurantSetting-CWZAKz1A.js")
22
+ component: () => import("./RestaurantSetting-tzcFj_o_.js")
22
23
  },
23
24
  {
24
25
  path: "/admin/payout-accounts",
@@ -26,7 +27,7 @@ const Ve = [
26
27
  meta: {
27
28
  sidebarDisplay: "Payout Accounts"
28
29
  },
29
- component: () => import("./PayoutAccount-BwBgS41r.js")
30
+ component: () => import("./PayoutAccount-C-Po7wZQ.js")
30
31
  },
31
32
  {
32
33
  path: "/admin/payout-accounts/:accountId",
@@ -35,7 +36,7 @@ const Ve = [
35
36
  meta: {
36
37
  parent: "mf-payment-admin.payout-account"
37
38
  },
38
- component: () => import("./PayoutAccountSetting-C1yeSNv8.js")
39
+ component: () => import("./PayoutAccountSetting-NOdLfia7.js")
39
40
  },
40
41
  {
41
42
  path: "/admin/terminal",
@@ -43,7 +44,7 @@ const Ve = [
43
44
  meta: {
44
45
  sidebarDisplay: "Terminals"
45
46
  },
46
- component: () => import("./Terminal-DX8v8WpM.js")
47
+ component: () => import("./Terminal-oLKt3iaU.js")
47
48
  },
48
49
  {
49
50
  path: "/admin/terminal/:terminalId",
@@ -52,7 +53,7 @@ const Ve = [
52
53
  meta: {
53
54
  parent: "mf-payment-admin.terminal"
54
55
  },
55
- component: () => import("./TerminalSetting-qklmRz3H.js")
56
+ component: () => import("./TerminalSetting-oV-9dQVY.js")
56
57
  },
57
58
  {
58
59
  path: "/admin/terminal-transaction",
@@ -60,7 +61,7 @@ const Ve = [
60
61
  meta: {
61
62
  sidebarDisplay: "Terminal Transactions"
62
63
  },
63
- component: () => import("./TerminalTransaction-YXcGJ2ne.js")
64
+ component: () => import("./TerminalTransaction-BVbB-doJ.js")
64
65
  },
65
66
  {
66
67
  path: "/admin/transaction",
@@ -68,7 +69,7 @@ const Ve = [
68
69
  meta: {
69
70
  sidebarDisplay: "Online Transactions"
70
71
  },
71
- component: () => import("./Transaction-IDcY01Oi.js")
72
+ component: () => import("./Transaction-CQzsoLWT.js")
72
73
  },
73
74
  {
74
75
  path: "/admin/settlement",
@@ -76,7 +77,7 @@ const Ve = [
76
77
  meta: {
77
78
  sidebarDisplay: "Settlements"
78
79
  },
79
- component: () => import("./Settlement-BKwie9R8.js")
80
+ component: () => import("./Settlement-Dv9GQzck.js")
80
81
  },
81
82
  {
82
83
  path: "/admin/settlement/:settlementId",
@@ -85,7 +86,7 @@ const Ve = [
85
86
  meta: {
86
87
  parent: "mf-payment-admin.settlement"
87
88
  },
88
- component: () => import("./SettlementTransactions-BGGqKJgP.js")
89
+ component: () => import("./SettlementTransactions-ziBwrrEQ.js")
89
90
  }
90
91
  ], Ge = [
91
92
  {
@@ -95,31 +96,41 @@ const Ve = [
95
96
  {
96
97
  path: "/payout-account",
97
98
  name: "mf-payment-payout-account",
98
- component: () => import("./PayoutAccount-B6kGeSLY.js"),
99
+ component: () => import("./PayoutAccount-CqXm2KSy.js"),
99
100
  meta: {
100
101
  sidebarDisplay: "Payout Accounts"
101
102
  }
102
103
  },
104
+ {
105
+ path: "/transaction-old",
106
+ name: "mf-payment-old-transaction",
107
+ component: () => import("./TransactionOld-rikFgC9l.js"),
108
+ meta: {
109
+ sidebarDisplay: "Transactions"
110
+ }
111
+ },
103
112
  {
104
113
  path: "/terminal-tranasction",
105
114
  name: "mf-payment-terminal-transaction",
106
115
  meta: {
107
- sidebarDisplay: "Terminal Transactions"
116
+ sidebarDisplay: "Terminal Transactions",
117
+ sidebarNew: !0
108
118
  },
109
- component: () => import("./TerminalTransaction-64Bn6vh0.js")
119
+ component: () => import("./TerminalTransaction-G0wYmxod.js")
110
120
  },
111
121
  {
112
122
  path: "/transaction",
113
123
  name: "mf-payment-transaction",
114
- component: () => import("./Transaction-DMw2p-Wq.js"),
124
+ component: () => import("./Transaction--7lPYDcv.js"),
115
125
  meta: {
116
- sidebarDisplay: "Online Transactions"
126
+ sidebarDisplay: "Online Transactions",
127
+ sidebarNew: !0
117
128
  }
118
129
  },
119
130
  {
120
131
  path: "/settlement",
121
132
  name: "mf-payment-settlement",
122
- component: () => import("./Settlement-ByPXBNx1.js"),
133
+ component: () => import("./Settlement-L1f6JNAd.js"),
123
134
  meta: {
124
135
  sidebarDisplay: "Settlements"
125
136
  }
@@ -128,15 +139,15 @@ const Ve = [
128
139
  path: "/settlement/:settlementId",
129
140
  name: "mf-payment-settlement-transaction",
130
141
  props: !0,
131
- component: () => import("./SettlementTransactions-BPEh0mSi.js"),
142
+ component: () => import("./SettlementTransactions-Fh8yTM7U.js"),
132
143
  meta: {
133
144
  parent: "mf-payment-settlement"
134
145
  }
135
146
  }
136
- ], Hn = jn("mf-payment-iframe", () => {
147
+ ], Gn = Hn("mf-payment-iframe", () => {
137
148
  const n = {
138
149
  isIframe: !1
139
- }, e = Lt(() => n);
150
+ }, e = Ut(() => n);
140
151
  function t(r) {
141
152
  n.isIframe = r;
142
153
  }
@@ -145,7 +156,7 @@ const Ve = [
145
156
  init: t
146
157
  };
147
158
  });
148
- var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_d7bf52a6-37f6-48f7-b624-1977ea4e39fb", 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.12.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_d7bf52a6-37f6-48f7-b624-1977ea4e39fb", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.12.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_L3SseUn4E0CjmCT9tv6ylGE2n8Cscx2nL6Np", 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.11.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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.8.21", 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: "707", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.2.61", 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: "20241215.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.10/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.4/x64", JOURNAL_STREAM: "8:6190", 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: "12505361292", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "dddf18d5ff020964b641fbc56fc6c1a6a1b46d36", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6ZDVjNGE5MTEtNmZlMi00OWMzLWI0ZDEtMWUwZjcxYjlhNTczOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMDE1IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46ZDVjNGE5MTEtNmZlMi00OWMzLWI0ZDEtMWUwZjcxYjlhNTczOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMDE1IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiYjViNTFmYzItY2IxOC00ODdmLWI1YjItY2MxNjMwYWMyNjg2Iiwic2lkIjoiYzY0ZjFlMGQtNWViZS00OTc2LTkzOWUtMzZhN2JjNWJhNWM2IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCJkZGRmMThkNWZmMDIwOTY0YjY0MWZiYzU2ZmM2YzFhNmExYjQ2ZDM2XCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjEyNTA1MzYxMjkyXCIsXCJydW5fbnVtYmVyXCI6XCI4XCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCI2OTA5NzkyNjBcIixcImFjdG9yX2lkXCI6XCIxNTY3NDEwN1wiLFwiYWN0b3JcIjpcIk9za2FuZzA5XCIsXCJ3b3JrZmxvd1wiOlwicGF5bWVudC1tZi1wb3J0YWwtcHJvZFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1wcm9kLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJ3b3JrZmxvd19zaGFcIjpcImRkZGYxOGQ1ZmYwMjA5NjRiNjQxZmJjNTZmYzZjMWE2YTFiNDZkMzZcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiZGRkZjE4ZDVmZjAyMDk2NGI2NDFmYmM1NmZjNmMxYTZhMWI0NmQzNlwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvbWFpbiIsIm9yY2hpZCI6ImQ1YzRhOTExLTZmZTItNDljMy1iNGQxLTFlMGY3MWI5YTU3My5kZXBsb3kuX19kZWZhdWx0IiwiaXNzIjoidnN0b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImF1ZCI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb218dnNvOjdlNjQ1MmM1LWZjMmUtNGFkNS1iNjczLTI5ZTkwY2Y3M2RkOCIsIm5iZiI6MTczNTIyNTE2NiwiZXhwIjoxNzM1MjQ3OTY2fQ.Da6dXFsp1_ipxDRNxxmgMlzok-Xnb3dRPA7y0ox8WdU6Z6fAHWeWfx5_u0yH6Zl5_ePlCa-vcv46TSHrI4iLYNoQM0Y5omK_sGZ5-mMcRbqSNPYijyriUS6AAKnNxTfRlrohKY0_ygf1C15X6PhHYbCx6SYjcmyWAWioA-JXCWIhyFeeKJmVAHiRVvC3ETskRCfCxRaoYpKI48PCkeBdr7lf_KWmOXvMTRbtFotVwARDAiGXBj6Sk08dtWo5wa2TLGEPcgNkwPDOK2DRkB5IWN-xo9l7RjOL7VXuZqycGay0fmbrufed7oojkzJJYO78H96toeT5BpKJ_40UxMeykw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1735225830820-0.02974383384418844:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1735225830664-0.2956237497584622:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1735225830496-0.552254846702728:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.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.12.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_d0b88237-b216-4cbf-85db-61060f305305", INVOCATION_ID: "f35e86d1c5f443ae8b191ceca6380885", 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: "8", 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 212", 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.0.5", 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_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: "dddf18d5ff020964b641fbc56fc6c1a6a1b46d36", 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_qrcode: "^1.5.1", 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_d7bf52a6-37f6-48f7-b624-1977ea4e39fb", 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/d5c4a911-6fe2-49c3-b4d1-1e0f71b9a573/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_d7bf52a6-37f6-48f7-b624-1977ea4e39fb", 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_rasterizehtml: "^1.3.1", npm_package_dependencies_i18next_http_backend: "^1.4.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_d7bf52a6-37f6-48f7-b624-1977ea4e39fb", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.6", 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" };
159
+ var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_318a4084-7033-4389-9c3a-3f3b8df08c14", 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.12.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_318a4084-7033-4389-9c3a-3f3b8df08c14", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.12.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_ne3AsVdNeeBVuhjX8t6vVQiZAlimbI1DOEhr", 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.11.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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.8.21", 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: "706", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.5", 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: "20241215.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.10/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.4/x64", JOURNAL_STREAM: "8:7197", 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: "12621378042", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "4b7cc4b1f05e1f1aca145d698d1cb58f26c0e72f", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6OGE3MjE1M2YtNzUwNS00YzQ4LWI3N2UtMGE3ZGQ5ZTEyZWVjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMDQ0IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46OGE3MjE1M2YtNzUwNS00YzQ4LWI3N2UtMGE3ZGQ5ZTEyZWVjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMDQ0IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiOTgyZTgwOGYtYWQxYy00NTU5LWIzZGUtODU2MTAwODg0ZTlmIiwic2lkIjoiMjRiNTRjYjYtZWVjNi00YmE5LWIxNWItMTNjZmFiMzM2ZGQ5IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCI0YjdjYzRiMWYwNWUxZjFhY2ExNDVkNjk4ZDFjYjU4ZjI2YzBlNzJmXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjEyNjIxMzc4MDQyXCIsXCJydW5fbnVtYmVyXCI6XCIxMVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCI0YjdjYzRiMWYwNWUxZjFhY2ExNDVkNjk4ZDFjYjU4ZjI2YzBlNzJmXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjRiN2NjNGIxZjA1ZTFmMWFjYTE0NWQ2OThkMWNiNThmMjZjMGU3MmZcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiI4YTcyMTUzZi03NTA1LTRjNDgtYjc3ZS0wYTdkZDllMTJlZWMuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzYwOTU5MzcsImV4cCI6MTczNjExODczN30.DkbO4Be0RmPAtxg0r_k4PKD6TFjMdoaZQsmRS8j_pq7HOsqbqnIwPWi4OEoQkvzlEXFVvXVgu4ltoMBdHa6avOOupGRA18GghpOFWPY-gIMzolRzxijUwM0gzetOZcUH1v3GVI-4u2937CUpJnYElo7ZPD5WH9gOsCznKt8NuJSqOwotBuOcRt3v2zEydh06RvfaG1UpSqskm3bgSPblUv1ycnWU8xcwurp5q7IO8bYp7vt4E6cNNmQekds7ynXNbzTU7AuKX9aVGvb6tb4zr-_D54DsAhBHX0adF4XkmF7EhF-GWPAYlji9mvb6KGgaxqaquA6cIF8GhukcEAniAg", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1736096588822-0.8381553192911078:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1736096588668-0.8088530525046931:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1736096588513-0.0232682368269157:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.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.12.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_e91ec510-1118-4176-bc80-1dd80c747324", INVOCATION_ID: "7b7e79fe8e354ebba31f042e1958dbc3", 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: "11", 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 41", 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.0.7", 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_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: "4b7cc4b1f05e1f1aca145d698d1cb58f26c0e72f", 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_qrcode: "^1.5.1", 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_318a4084-7033-4389-9c3a-3f3b8df08c14", 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/8a72153f-7505-4c48-b77e-0a7dd9e12eec/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_318a4084-7033-4389-9c3a-3f3b8df08c14", 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_rasterizehtml: "^1.3.1", npm_package_dependencies_i18next_http_backend: "^1.4.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_318a4084-7033-4389-9c3a-3f3b8df08c14", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.13", 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" };
149
160
  /**
150
161
  * @license
151
162
  * Copyright 2017 Google LLC
@@ -162,7 +173,7 @@ var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
162
173
  * See the License for the specific language governing permissions and
163
174
  * limitations under the License.
164
175
  */
165
- const Wt = function(n) {
176
+ const Ft = function(n) {
166
177
  const e = [];
167
178
  let t = 0;
168
179
  for (let r = 0; r < n.length; r++) {
@@ -170,7 +181,7 @@ const Wt = function(n) {
170
181
  i < 128 ? e[t++] = i : i < 2048 ? (e[t++] = i >> 6 | 192, e[t++] = i & 63 | 128) : (i & 64512) === 55296 && r + 1 < n.length && (n.charCodeAt(r + 1) & 64512) === 56320 ? (i = 65536 + ((i & 1023) << 10) + (n.charCodeAt(++r) & 1023), e[t++] = i >> 18 | 240, e[t++] = i >> 12 & 63 | 128, e[t++] = i >> 6 & 63 | 128, e[t++] = i & 63 | 128) : (e[t++] = i >> 12 | 224, e[t++] = i >> 6 & 63 | 128, e[t++] = i & 63 | 128);
171
182
  }
172
183
  return e;
173
- }, Vn = function(n) {
184
+ }, zn = function(n) {
174
185
  const e = [];
175
186
  let t = 0, r = 0;
176
187
  for (; t < n.length; ) {
@@ -189,7 +200,7 @@ const Wt = function(n) {
189
200
  }
190
201
  }
191
202
  return e.join("");
192
- }, jt = {
203
+ }, Wt = {
193
204
  /**
194
205
  * Maps bytes to characters.
195
206
  */
@@ -263,7 +274,7 @@ const Wt = function(n) {
263
274
  * @return The base64 encoded string.
264
275
  */
265
276
  encodeString(n, e) {
266
- return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Wt(n), e);
277
+ return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Ft(n), e);
267
278
  },
268
279
  /**
269
280
  * Base64-decode a string.
@@ -274,7 +285,7 @@ const Wt = function(n) {
274
285
  * @return string representing the decoded value.
275
286
  */
276
287
  decodeString(n, e) {
277
- return this.HAS_NATIVE_SUPPORT && !e ? atob(n) : Vn(this.decodeStringToByteArray(n, e));
288
+ return this.HAS_NATIVE_SUPPORT && !e ? atob(n) : zn(this.decodeStringToByteArray(n, e));
278
289
  },
279
290
  /**
280
291
  * Base64-decode a string.
@@ -301,13 +312,13 @@ const Wt = function(n) {
301
312
  ++i;
302
313
  const p = i < n.length ? t[n.charAt(i)] : 64;
303
314
  if (++i, s == null || a == null || l == null || p == null)
304
- throw new Gn();
315
+ throw new $n();
305
316
  const m = s << 2 | a >> 4;
306
317
  if (r.push(m), l !== 64) {
307
318
  const v = a << 4 & 240 | l >> 2;
308
319
  if (r.push(v), p !== 64) {
309
- const x = l << 6 & 192 | p;
310
- r.push(x);
320
+ const j = l << 6 & 192 | p;
321
+ r.push(j);
311
322
  }
312
323
  }
313
324
  }
@@ -326,19 +337,19 @@ const Wt = function(n) {
326
337
  }
327
338
  }
328
339
  };
329
- class Gn extends Error {
340
+ class $n extends Error {
330
341
  constructor() {
331
342
  super(...arguments), this.name = "DecodeBase64StringError";
332
343
  }
333
344
  }
334
- const zn = function(n) {
335
- const e = Wt(n);
336
- return jt.encodeByteArray(e, !0);
345
+ const Zn = function(n) {
346
+ const e = Ft(n);
347
+ return Wt.encodeByteArray(e, !0);
337
348
  }, le = function(n) {
338
- return zn(n).replace(/\./g, "");
349
+ return Zn(n).replace(/\./g, "");
339
350
  }, Ht = function(n) {
340
351
  try {
341
- return jt.decodeString(n, !0);
352
+ return Wt.decodeString(n, !0);
342
353
  } catch (e) {
343
354
  console.error("base64Decode failed: ", e);
344
355
  }
@@ -360,7 +371,7 @@ const zn = function(n) {
360
371
  * See the License for the specific language governing permissions and
361
372
  * limitations under the License.
362
373
  */
363
- function Zn() {
374
+ function Jn() {
364
375
  if (typeof self < "u")
365
376
  return self;
366
377
  if (typeof window < "u")
@@ -385,13 +396,13 @@ function Zn() {
385
396
  * See the License for the specific language governing permissions and
386
397
  * limitations under the License.
387
398
  */
388
- const $n = () => Zn().__FIREBASE_DEFAULTS__, Xn = () => {
399
+ const Xn = () => Jn().__FIREBASE_DEFAULTS__, Yn = () => {
389
400
  if (typeof process > "u" || typeof at > "u")
390
401
  return;
391
402
  const n = at.__FIREBASE_DEFAULTS__;
392
403
  if (n)
393
404
  return JSON.parse(n);
394
- }, Jn = () => {
405
+ }, Kn = () => {
395
406
  if (typeof document > "u")
396
407
  return;
397
408
  let n;
@@ -404,7 +415,7 @@ const $n = () => Zn().__FIREBASE_DEFAULTS__, Xn = () => {
404
415
  return e && JSON.parse(e);
405
416
  }, ze = () => {
406
417
  try {
407
- return $n() || Xn() || Jn();
418
+ return Xn() || Yn() || Kn();
408
419
  } catch (n) {
409
420
  console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
410
421
  return;
@@ -412,7 +423,7 @@ const $n = () => Zn().__FIREBASE_DEFAULTS__, Xn = () => {
412
423
  }, Vt = (n) => {
413
424
  var e, t;
414
425
  return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
415
- }, So = (n) => {
426
+ }, Co = (n) => {
416
427
  const e = Vt(n);
417
428
  if (!e)
418
429
  return;
@@ -444,7 +455,7 @@ const $n = () => Zn().__FIREBASE_DEFAULTS__, Xn = () => {
444
455
  * See the License for the specific language governing permissions and
445
456
  * limitations under the License.
446
457
  */
447
- class Yn {
458
+ class qn {
448
459
  constructor() {
449
460
  this.reject = () => {
450
461
  }, this.resolve = () => {
@@ -480,7 +491,7 @@ class Yn {
480
491
  * See the License for the specific language governing permissions and
481
492
  * limitations under the License.
482
493
  */
483
- function Ao(n, e) {
494
+ function No(n, e) {
484
495
  if (n.uid)
485
496
  throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');
486
497
  const t = {
@@ -528,33 +539,33 @@ function Ao(n, e) {
528
539
  function f() {
529
540
  return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
530
541
  }
531
- function Kn() {
542
+ function Qn() {
532
543
  return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
533
544
  // just to deal with this case would probably be a bad idea.
534
545
  !!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(f());
535
546
  }
536
- function qn() {
547
+ function er() {
537
548
  return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
538
549
  }
539
- function Qn() {
550
+ function tr() {
540
551
  const n = typeof chrome == "object" ? chrome.runtime : typeof browser == "object" ? browser.runtime : void 0;
541
552
  return typeof n == "object" && n.id !== void 0;
542
553
  }
543
- function er() {
554
+ function nr() {
544
555
  return typeof navigator == "object" && navigator.product === "ReactNative";
545
556
  }
546
- function tr() {
557
+ function rr() {
547
558
  const n = f();
548
559
  return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
549
560
  }
550
- function nr() {
561
+ function ir() {
551
562
  try {
552
563
  return typeof indexedDB == "object";
553
564
  } catch {
554
565
  return !1;
555
566
  }
556
567
  }
557
- function rr() {
568
+ function sr() {
558
569
  return new Promise((n, e) => {
559
570
  try {
560
571
  let t = !0;
@@ -588,10 +599,10 @@ function rr() {
588
599
  * See the License for the specific language governing permissions and
589
600
  * limitations under the License.
590
601
  */
591
- const ir = "FirebaseError";
602
+ const or = "FirebaseError";
592
603
  class M extends Error {
593
604
  constructor(e, t, r) {
594
- super(t), this.code = e, this.customData = r, this.name = ir, Object.setPrototypeOf(this, M.prototype), Error.captureStackTrace && Error.captureStackTrace(this, q.prototype.create);
605
+ super(t), this.code = e, this.customData = r, this.name = or, Object.setPrototypeOf(this, M.prototype), Error.captureStackTrace && Error.captureStackTrace(this, q.prototype.create);
595
606
  }
596
607
  }
597
608
  class q {
@@ -599,18 +610,18 @@ class q {
599
610
  this.service = e, this.serviceName = t, this.errors = r;
600
611
  }
601
612
  create(e, ...t) {
602
- const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], o = s ? sr(s, r) : "Error", a = `${this.serviceName}: ${o} (${i}).`;
613
+ const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], o = s ? ar(s, r) : "Error", a = `${this.serviceName}: ${o} (${i}).`;
603
614
  return new M(i, a, r);
604
615
  }
605
616
  }
606
- function sr(n, e) {
607
- return n.replace(or, (t, r) => {
617
+ function ar(n, e) {
618
+ return n.replace(cr, (t, r) => {
608
619
  const i = e[r];
609
620
  return i != null ? String(i) : `<${r}?>`;
610
621
  });
611
622
  }
612
- const or = /\{\$([^}]+)}/g;
613
- function ar(n) {
623
+ const cr = /\{\$([^}]+)}/g;
624
+ function lr(n) {
614
625
  for (const e in n)
615
626
  if (Object.prototype.hasOwnProperty.call(n, e))
616
627
  return !1;
@@ -662,11 +673,11 @@ function Q(n) {
662
673
  }) : e.push(encodeURIComponent(t) + "=" + encodeURIComponent(r));
663
674
  return e.length ? "&" + e.join("&") : "";
664
675
  }
665
- function cr(n, e) {
666
- const t = new lr(n, e);
676
+ function dr(n, e) {
677
+ const t = new ur(n, e);
667
678
  return t.subscribe.bind(t);
668
679
  }
669
- class lr {
680
+ class ur {
670
681
  /**
671
682
  * @param executor Function which can make calls to a single Observer
672
683
  * as a proxy.
@@ -704,7 +715,7 @@ class lr {
704
715
  let i;
705
716
  if (e === void 0 && t === void 0 && r === void 0)
706
717
  throw new Error("Missing Observer.");
707
- dr(e, [
718
+ hr(e, [
708
719
  "next",
709
720
  "error",
710
721
  "complete"
@@ -750,7 +761,7 @@ class lr {
750
761
  }));
751
762
  }
752
763
  }
753
- function dr(n, e) {
764
+ function hr(n, e) {
754
765
  if (typeof n != "object" || n === null)
755
766
  return !1;
756
767
  for (const t of e)
@@ -818,7 +829,7 @@ class G {
818
829
  * See the License for the specific language governing permissions and
819
830
  * limitations under the License.
820
831
  */
821
- const L = "[DEFAULT]";
832
+ const U = "[DEFAULT]";
822
833
  /**
823
834
  * @license
824
835
  * Copyright 2019 Google LLC
@@ -835,7 +846,7 @@ const L = "[DEFAULT]";
835
846
  * See the License for the specific language governing permissions and
836
847
  * limitations under the License.
837
848
  */
838
- class ur {
849
+ class pr {
839
850
  constructor(e, t) {
840
851
  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();
841
852
  }
@@ -846,7 +857,7 @@ class ur {
846
857
  get(e) {
847
858
  const t = this.normalizeInstanceIdentifier(e);
848
859
  if (!this.instancesDeferred.has(t)) {
849
- const r = new Yn();
860
+ const r = new qn();
850
861
  if (this.instancesDeferred.set(t, r), this.isInitialized(t) || this.shouldAutoInitialize())
851
862
  try {
852
863
  const i = this.getOrInitializeService({
@@ -886,9 +897,9 @@ class ur {
886
897
  if (this.component)
887
898
  throw Error(`Component for ${this.name} has already been provided`);
888
899
  if (this.component = e, !!this.shouldAutoInitialize()) {
889
- if (pr(e))
900
+ if (mr(e))
890
901
  try {
891
- this.getOrInitializeService({ instanceIdentifier: L });
902
+ this.getOrInitializeService({ instanceIdentifier: U });
892
903
  } catch {
893
904
  }
894
905
  for (const [t, r] of this.instancesDeferred.entries()) {
@@ -903,7 +914,7 @@ class ur {
903
914
  }
904
915
  }
905
916
  }
906
- clearInstance(e = L) {
917
+ clearInstance(e = U) {
907
918
  this.instancesDeferred.delete(e), this.instancesOptions.delete(e), this.instances.delete(e);
908
919
  }
909
920
  // app.delete() will call this method on every provider to delete the services
@@ -918,10 +929,10 @@ class ur {
918
929
  isComponentSet() {
919
930
  return this.component != null;
920
931
  }
921
- isInitialized(e = L) {
932
+ isInitialized(e = U) {
922
933
  return this.instances.has(e);
923
934
  }
924
- getOptions(e = L) {
935
+ getOptions(e = U) {
925
936
  return this.instancesOptions.get(e) || {};
926
937
  }
927
938
  initialize(e = {}) {
@@ -973,7 +984,7 @@ class ur {
973
984
  getOrInitializeService({ instanceIdentifier: e, options: t = {} }) {
974
985
  let r = this.instances.get(e);
975
986
  if (!r && this.component && (r = this.component.instanceFactory(this.container, {
976
- instanceIdentifier: hr(e),
987
+ instanceIdentifier: fr(e),
977
988
  options: t
978
989
  }), this.instances.set(e, r), this.instancesOptions.set(e, t), this.invokeOnInitCallbacks(r, e), this.component.onInstanceCreated))
979
990
  try {
@@ -982,17 +993,17 @@ class ur {
982
993
  }
983
994
  return r || null;
984
995
  }
985
- normalizeInstanceIdentifier(e = L) {
986
- return this.component ? this.component.multipleInstances ? e : L : e;
996
+ normalizeInstanceIdentifier(e = U) {
997
+ return this.component ? this.component.multipleInstances ? e : U : e;
987
998
  }
988
999
  shouldAutoInitialize() {
989
1000
  return !!this.component && this.component.instantiationMode !== "EXPLICIT";
990
1001
  }
991
1002
  }
992
- function hr(n) {
993
- return n === L ? void 0 : n;
1003
+ function fr(n) {
1004
+ return n === U ? void 0 : n;
994
1005
  }
995
- function pr(n) {
1006
+ function mr(n) {
996
1007
  return n.instantiationMode === "EAGER";
997
1008
  }
998
1009
  /**
@@ -1011,7 +1022,7 @@ function pr(n) {
1011
1022
  * See the License for the specific language governing permissions and
1012
1023
  * limitations under the License.
1013
1024
  */
1014
- class fr {
1025
+ class _r {
1015
1026
  constructor(e) {
1016
1027
  this.name = e, this.providers = /* @__PURE__ */ new Map();
1017
1028
  }
@@ -1043,7 +1054,7 @@ class fr {
1043
1054
  getProvider(e) {
1044
1055
  if (this.providers.has(e))
1045
1056
  return this.providers.get(e);
1046
- const t = new ur(e, this);
1057
+ const t = new pr(e, this);
1047
1058
  return this.providers.set(e, t), t;
1048
1059
  }
1049
1060
  getProviders() {
@@ -1070,29 +1081,29 @@ var h;
1070
1081
  (function(n) {
1071
1082
  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";
1072
1083
  })(h || (h = {}));
1073
- const mr = {
1084
+ const gr = {
1074
1085
  debug: h.DEBUG,
1075
1086
  verbose: h.VERBOSE,
1076
1087
  info: h.INFO,
1077
1088
  warn: h.WARN,
1078
1089
  error: h.ERROR,
1079
1090
  silent: h.SILENT
1080
- }, _r = h.INFO, gr = {
1091
+ }, vr = h.INFO, Ir = {
1081
1092
  [h.DEBUG]: "log",
1082
1093
  [h.VERBOSE]: "log",
1083
1094
  [h.INFO]: "info",
1084
1095
  [h.WARN]: "warn",
1085
1096
  [h.ERROR]: "error"
1086
- }, vr = (n, e, ...t) => {
1097
+ }, br = (n, e, ...t) => {
1087
1098
  if (e < n.logLevel)
1088
1099
  return;
1089
- const r = (/* @__PURE__ */ new Date()).toISOString(), i = gr[e];
1100
+ const r = (/* @__PURE__ */ new Date()).toISOString(), i = Ir[e];
1090
1101
  if (i)
1091
1102
  console[i](`[${r}] ${n.name}:`, ...t);
1092
1103
  else
1093
1104
  throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`);
1094
1105
  };
1095
- class Zt {
1106
+ class $t {
1096
1107
  /**
1097
1108
  * Gives you an instance of a Logger to capture messages according to
1098
1109
  * Firebase's logging scheme.
@@ -1100,7 +1111,7 @@ class Zt {
1100
1111
  * @param name The name that the logs will be associated with
1101
1112
  */
1102
1113
  constructor(e) {
1103
- this.name = e, this._logLevel = _r, this._logHandler = vr, this._userLogHandler = null;
1114
+ this.name = e, this._logLevel = vr, this._logHandler = br, this._userLogHandler = null;
1104
1115
  }
1105
1116
  get logLevel() {
1106
1117
  return this._logLevel;
@@ -1112,7 +1123,7 @@ class Zt {
1112
1123
  }
1113
1124
  // Workaround for setter/getter having to be the same type.
1114
1125
  setLogLevel(e) {
1115
- this._logLevel = typeof e == "string" ? mr[e] : e;
1126
+ this._logLevel = typeof e == "string" ? gr[e] : e;
1116
1127
  }
1117
1128
  get logHandler() {
1118
1129
  return this._logHandler;
@@ -1147,9 +1158,9 @@ class Zt {
1147
1158
  this._userLogHandler && this._userLogHandler(this, h.ERROR, ...e), this._logHandler(this, h.ERROR, ...e);
1148
1159
  }
1149
1160
  }
1150
- const Ir = (n, e) => e.some((t) => n instanceof t);
1161
+ const yr = (n, e) => e.some((t) => n instanceof t);
1151
1162
  let lt, dt;
1152
- function br() {
1163
+ function Er() {
1153
1164
  return lt || (lt = [
1154
1165
  IDBDatabase,
1155
1166
  IDBObjectStore,
@@ -1158,15 +1169,15 @@ function br() {
1158
1169
  IDBTransaction
1159
1170
  ]);
1160
1171
  }
1161
- function yr() {
1172
+ function Tr() {
1162
1173
  return dt || (dt = [
1163
1174
  IDBCursor.prototype.advance,
1164
1175
  IDBCursor.prototype.continue,
1165
1176
  IDBCursor.prototype.continuePrimaryKey
1166
1177
  ]);
1167
1178
  }
1168
- const $t = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), Xt = /* @__PURE__ */ new WeakMap(), ke = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap();
1169
- function Er(n) {
1179
+ const Zt = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
1180
+ function wr(n) {
1170
1181
  const e = new Promise((t, r) => {
1171
1182
  const i = () => {
1172
1183
  n.removeEventListener("success", s), n.removeEventListener("error", o);
@@ -1178,11 +1189,11 @@ function Er(n) {
1178
1189
  n.addEventListener("success", s), n.addEventListener("error", o);
1179
1190
  });
1180
1191
  return e.then((t) => {
1181
- t instanceof IDBCursor && $t.set(t, n);
1192
+ t instanceof IDBCursor && Zt.set(t, n);
1182
1193
  }).catch(() => {
1183
- }), Ze.set(e, n), e;
1194
+ }), $e.set(e, n), e;
1184
1195
  }
1185
- function Tr(n) {
1196
+ function Rr(n) {
1186
1197
  if (Me.has(n))
1187
1198
  return;
1188
1199
  const e = new Promise((t, r) => {
@@ -1197,13 +1208,13 @@ function Tr(n) {
1197
1208
  });
1198
1209
  Me.set(n, e);
1199
1210
  }
1200
- let Le = {
1211
+ let Ue = {
1201
1212
  get(n, e, t) {
1202
1213
  if (n instanceof IDBTransaction) {
1203
1214
  if (e === "done")
1204
1215
  return Me.get(n);
1205
1216
  if (e === "objectStoreNames")
1206
- return n.objectStoreNames || Xt.get(n);
1217
+ return n.objectStoreNames || Jt.get(n);
1207
1218
  if (e === "store")
1208
1219
  return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
1209
1220
  }
@@ -1216,32 +1227,32 @@ let Le = {
1216
1227
  return n instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in n;
1217
1228
  }
1218
1229
  };
1219
- function wr(n) {
1220
- Le = n(Le);
1230
+ function Sr(n) {
1231
+ Ue = n(Ue);
1221
1232
  }
1222
- function Rr(n) {
1233
+ function kr(n) {
1223
1234
  return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
1224
- const r = n.call(Se(this), e, ...t);
1225
- return Xt.set(r, e.sort ? e.sort() : [e]), N(r);
1226
- } : yr().includes(n) ? function(...e) {
1227
- return n.apply(Se(this), e), N($t.get(this));
1235
+ const r = n.call(ke(this), e, ...t);
1236
+ return Jt.set(r, e.sort ? e.sort() : [e]), N(r);
1237
+ } : Tr().includes(n) ? function(...e) {
1238
+ return n.apply(ke(this), e), N(Zt.get(this));
1228
1239
  } : function(...e) {
1229
- return N(n.apply(Se(this), e));
1240
+ return N(n.apply(ke(this), e));
1230
1241
  };
1231
1242
  }
1232
- function kr(n) {
1233
- return typeof n == "function" ? Rr(n) : (n instanceof IDBTransaction && Tr(n), Ir(n, br()) ? new Proxy(n, Le) : n);
1243
+ function Ar(n) {
1244
+ return typeof n == "function" ? kr(n) : (n instanceof IDBTransaction && Rr(n), yr(n, Er()) ? new Proxy(n, Ue) : n);
1234
1245
  }
1235
1246
  function N(n) {
1236
1247
  if (n instanceof IDBRequest)
1237
- return Er(n);
1238
- if (ke.has(n))
1239
- return ke.get(n);
1240
- const e = kr(n);
1241
- return e !== n && (ke.set(n, e), Ze.set(e, n)), e;
1242
- }
1243
- const Se = (n) => Ze.get(n);
1244
- function Sr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1248
+ return wr(n);
1249
+ if (Se.has(n))
1250
+ return Se.get(n);
1251
+ const e = Ar(n);
1252
+ return e !== n && (Se.set(n, e), $e.set(e, n)), e;
1253
+ }
1254
+ const ke = (n) => $e.get(n);
1255
+ function Or(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1245
1256
  const o = indexedDB.open(n, e), a = N(o);
1246
1257
  return r && o.addEventListener("upgradeneeded", (c) => {
1247
1258
  r(N(o.result), c.oldVersion, c.newVersion, N(o.transaction), c);
@@ -1255,16 +1266,16 @@ function Sr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1255
1266
  }).catch(() => {
1256
1267
  }), a;
1257
1268
  }
1258
- const Ar = ["get", "getKey", "getAll", "getAllKeys", "count"], Or = ["put", "add", "delete", "clear"], Ae = /* @__PURE__ */ new Map();
1269
+ const Cr = ["get", "getKey", "getAll", "getAllKeys", "count"], Nr = ["put", "add", "delete", "clear"], Ae = /* @__PURE__ */ new Map();
1259
1270
  function ut(n, e) {
1260
1271
  if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
1261
1272
  return;
1262
1273
  if (Ae.get(e))
1263
1274
  return Ae.get(e);
1264
- const t = e.replace(/FromIndex$/, ""), r = e !== t, i = Or.includes(t);
1275
+ const t = e.replace(/FromIndex$/, ""), r = e !== t, i = Nr.includes(t);
1265
1276
  if (
1266
1277
  // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
1267
- !(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || Ar.includes(t))
1278
+ !(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || Cr.includes(t))
1268
1279
  )
1269
1280
  return;
1270
1281
  const s = async function(o, ...a) {
@@ -1277,7 +1288,7 @@ function ut(n, e) {
1277
1288
  };
1278
1289
  return Ae.set(e, s), s;
1279
1290
  }
1280
- wr((n) => ({
1291
+ Sr((n) => ({
1281
1292
  ...n,
1282
1293
  get: (e, t, r) => ut(e, t) || n.get(e, t, r),
1283
1294
  has: (e, t) => !!ut(e, t) || n.has(e, t)
@@ -1298,7 +1309,7 @@ wr((n) => ({
1298
1309
  * See the License for the specific language governing permissions and
1299
1310
  * limitations under the License.
1300
1311
  */
1301
- class Cr {
1312
+ class Dr {
1302
1313
  constructor(e) {
1303
1314
  this.container = e;
1304
1315
  }
@@ -1306,7 +1317,7 @@ class Cr {
1306
1317
  // auth token refresh, and installations will send this string.
1307
1318
  getPlatformInfoString() {
1308
1319
  return this.container.getProviders().map((t) => {
1309
- if (Nr(t)) {
1320
+ if (Pr(t)) {
1310
1321
  const r = t.getImmediate();
1311
1322
  return `${r.library}/${r.version}`;
1312
1323
  } else
@@ -1314,11 +1325,11 @@ class Cr {
1314
1325
  }).filter((t) => t).join(" ");
1315
1326
  }
1316
1327
  }
1317
- function Nr(n) {
1328
+ function Pr(n) {
1318
1329
  const e = n.getComponent();
1319
1330
  return (e == null ? void 0 : e.type) === "VERSION";
1320
1331
  }
1321
- const Ue = "@firebase/app", ht = "0.10.13";
1332
+ const Le = "@firebase/app", ht = "0.10.13";
1322
1333
  /**
1323
1334
  * @license
1324
1335
  * Copyright 2019 Google LLC
@@ -1335,7 +1346,7 @@ const Ue = "@firebase/app", ht = "0.10.13";
1335
1346
  * See the License for the specific language governing permissions and
1336
1347
  * limitations under the License.
1337
1348
  */
1338
- const T = new Zt("@firebase/app"), Dr = "@firebase/app-compat", Pr = "@firebase/analytics-compat", Mr = "@firebase/analytics", Lr = "@firebase/app-check-compat", Ur = "@firebase/app-check", Br = "@firebase/auth", xr = "@firebase/auth-compat", Fr = "@firebase/database", Wr = "@firebase/data-connect", jr = "@firebase/database-compat", Hr = "@firebase/functions", Vr = "@firebase/functions-compat", Gr = "@firebase/installations", zr = "@firebase/installations-compat", Zr = "@firebase/messaging", $r = "@firebase/messaging-compat", Xr = "@firebase/performance", Jr = "@firebase/performance-compat", Yr = "@firebase/remote-config", Kr = "@firebase/remote-config-compat", qr = "@firebase/storage", Qr = "@firebase/storage-compat", ei = "@firebase/firestore", ti = "@firebase/vertexai-preview", ni = "@firebase/firestore-compat", ri = "firebase", ii = "10.14.1";
1349
+ const T = new $t("@firebase/app"), Mr = "@firebase/app-compat", Ur = "@firebase/analytics-compat", Lr = "@firebase/analytics", Br = "@firebase/app-check-compat", jr = "@firebase/app-check", xr = "@firebase/auth", Fr = "@firebase/auth-compat", Wr = "@firebase/database", Hr = "@firebase/data-connect", Vr = "@firebase/database-compat", Gr = "@firebase/functions", zr = "@firebase/functions-compat", $r = "@firebase/installations", Zr = "@firebase/installations-compat", Jr = "@firebase/messaging", Xr = "@firebase/messaging-compat", Yr = "@firebase/performance", Kr = "@firebase/performance-compat", qr = "@firebase/remote-config", Qr = "@firebase/remote-config-compat", ei = "@firebase/storage", ti = "@firebase/storage-compat", ni = "@firebase/firestore", ri = "@firebase/vertexai-preview", ii = "@firebase/firestore-compat", si = "firebase", oi = "10.14.1";
1339
1350
  /**
1340
1351
  * @license
1341
1352
  * Copyright 2019 Google LLC
@@ -1352,35 +1363,35 @@ const T = new Zt("@firebase/app"), Dr = "@firebase/app-compat", Pr = "@firebase/
1352
1363
  * See the License for the specific language governing permissions and
1353
1364
  * limitations under the License.
1354
1365
  */
1355
- const Be = "[DEFAULT]", si = {
1356
- [Ue]: "fire-core",
1357
- [Dr]: "fire-core-compat",
1358
- [Mr]: "fire-analytics",
1359
- [Pr]: "fire-analytics-compat",
1360
- [Ur]: "fire-app-check",
1361
- [Lr]: "fire-app-check-compat",
1362
- [Br]: "fire-auth",
1363
- [xr]: "fire-auth-compat",
1364
- [Fr]: "fire-rtdb",
1365
- [Wr]: "fire-data-connect",
1366
- [jr]: "fire-rtdb-compat",
1367
- [Hr]: "fire-fn",
1368
- [Vr]: "fire-fn-compat",
1369
- [Gr]: "fire-iid",
1370
- [zr]: "fire-iid-compat",
1371
- [Zr]: "fire-fcm",
1372
- [$r]: "fire-fcm-compat",
1373
- [Xr]: "fire-perf",
1374
- [Jr]: "fire-perf-compat",
1375
- [Yr]: "fire-rc",
1376
- [Kr]: "fire-rc-compat",
1377
- [qr]: "fire-gcs",
1378
- [Qr]: "fire-gcs-compat",
1379
- [ei]: "fire-fst",
1380
- [ni]: "fire-fst-compat",
1381
- [ti]: "fire-vertex",
1366
+ const Be = "[DEFAULT]", ai = {
1367
+ [Le]: "fire-core",
1368
+ [Mr]: "fire-core-compat",
1369
+ [Lr]: "fire-analytics",
1370
+ [Ur]: "fire-analytics-compat",
1371
+ [jr]: "fire-app-check",
1372
+ [Br]: "fire-app-check-compat",
1373
+ [xr]: "fire-auth",
1374
+ [Fr]: "fire-auth-compat",
1375
+ [Wr]: "fire-rtdb",
1376
+ [Hr]: "fire-data-connect",
1377
+ [Vr]: "fire-rtdb-compat",
1378
+ [Gr]: "fire-fn",
1379
+ [zr]: "fire-fn-compat",
1380
+ [$r]: "fire-iid",
1381
+ [Zr]: "fire-iid-compat",
1382
+ [Jr]: "fire-fcm",
1383
+ [Xr]: "fire-fcm-compat",
1384
+ [Yr]: "fire-perf",
1385
+ [Kr]: "fire-perf-compat",
1386
+ [qr]: "fire-rc",
1387
+ [Qr]: "fire-rc-compat",
1388
+ [ei]: "fire-gcs",
1389
+ [ti]: "fire-gcs-compat",
1390
+ [ni]: "fire-fst",
1391
+ [ii]: "fire-fst-compat",
1392
+ [ri]: "fire-vertex",
1382
1393
  "fire-js": "fire-js",
1383
- [ri]: "fire-js-all"
1394
+ [si]: "fire-js-all"
1384
1395
  };
1385
1396
  /**
1386
1397
  * @license
@@ -1398,7 +1409,7 @@ const Be = "[DEFAULT]", si = {
1398
1409
  * See the License for the specific language governing permissions and
1399
1410
  * limitations under the License.
1400
1411
  */
1401
- const ue = /* @__PURE__ */ new Map(), oi = /* @__PURE__ */ new Map(), xe = /* @__PURE__ */ new Map();
1412
+ const ue = /* @__PURE__ */ new Map(), ci = /* @__PURE__ */ new Map(), je = /* @__PURE__ */ new Map();
1402
1413
  function pt(n, e) {
1403
1414
  try {
1404
1415
  n.container.addComponent(e);
@@ -1406,18 +1417,18 @@ function pt(n, e) {
1406
1417
  T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
1407
1418
  }
1408
1419
  }
1409
- function J(n) {
1420
+ function X(n) {
1410
1421
  const e = n.name;
1411
- if (xe.has(e))
1422
+ if (je.has(e))
1412
1423
  return T.debug(`There were multiple attempts to register component ${e}.`), !1;
1413
- xe.set(e, n);
1424
+ je.set(e, n);
1414
1425
  for (const t of ue.values())
1415
1426
  pt(t, n);
1416
- for (const t of oi.values())
1427
+ for (const t of ci.values())
1417
1428
  pt(t, n);
1418
1429
  return !0;
1419
1430
  }
1420
- function Jt(n, e) {
1431
+ function Xt(n, e) {
1421
1432
  const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
1422
1433
  return t && t.triggerHeartbeat(), n.container.getProvider(e);
1423
1434
  }
@@ -1440,7 +1451,7 @@ function I(n) {
1440
1451
  * See the License for the specific language governing permissions and
1441
1452
  * limitations under the License.
1442
1453
  */
1443
- const ai = {
1454
+ const li = {
1444
1455
  "no-app": "No Firebase App '{$appName}' has been created - call initializeApp() first",
1445
1456
  "bad-app-name": "Illegal App name: '{$appName}'",
1446
1457
  "duplicate-app": "Firebase App named '{$appName}' already exists with different options or config",
@@ -1455,7 +1466,7 @@ const ai = {
1455
1466
  "idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
1456
1467
  "finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
1457
1468
  "invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
1458
- }, D = new q("app", "Firebase", ai);
1469
+ }, D = new q("app", "Firebase", li);
1459
1470
  /**
1460
1471
  * @license
1461
1472
  * Copyright 2019 Google LLC
@@ -1472,7 +1483,7 @@ const ai = {
1472
1483
  * See the License for the specific language governing permissions and
1473
1484
  * limitations under the License.
1474
1485
  */
1475
- class ci {
1486
+ class di {
1476
1487
  constructor(e, t, r) {
1477
1488
  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(
1478
1489
  "app",
@@ -1530,7 +1541,7 @@ class ci {
1530
1541
  * See the License for the specific language governing permissions and
1531
1542
  * limitations under the License.
1532
1543
  */
1533
- const ee = ii;
1544
+ const ee = oi;
1534
1545
  function Yt(n, e = {}) {
1535
1546
  let t = n;
1536
1547
  typeof e != "object" && (e = { name: e });
@@ -1550,13 +1561,13 @@ function Yt(n, e = {}) {
1550
1561
  return s;
1551
1562
  throw D.create("duplicate-app", { appName: i });
1552
1563
  }
1553
- const o = new fr(i);
1554
- for (const c of xe.values())
1564
+ const o = new _r(i);
1565
+ for (const c of je.values())
1555
1566
  o.addComponent(c);
1556
- const a = new ci(t, r, o);
1567
+ const a = new di(t, r, o);
1557
1568
  return ue.set(i, a), a;
1558
1569
  }
1559
- function li(n = Be) {
1570
+ function ui(n = Be) {
1560
1571
  const e = ue.get(n);
1561
1572
  if (!e && n === Be && Gt())
1562
1573
  return Yt();
@@ -1564,9 +1575,9 @@ function li(n = Be) {
1564
1575
  throw D.create("no-app", { appName: n });
1565
1576
  return e;
1566
1577
  }
1567
- function W(n, e, t) {
1578
+ function F(n, e, t) {
1568
1579
  var r;
1569
- let i = (r = si[n]) !== null && r !== void 0 ? r : n;
1580
+ let i = (r = ai[n]) !== null && r !== void 0 ? r : n;
1570
1581
  t && (i += `-${t}`);
1571
1582
  const s = i.match(/\s|\//), o = e.match(/\s|\//);
1572
1583
  if (s || o) {
@@ -1576,7 +1587,7 @@ function W(n, e, t) {
1576
1587
  s && a.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && o && a.push("and"), o && a.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(a.join(" "));
1577
1588
  return;
1578
1589
  }
1579
- J(new G(
1590
+ X(new G(
1580
1591
  `${i}-version`,
1581
1592
  () => ({ library: i, version: e }),
1582
1593
  "VERSION"
@@ -1599,10 +1610,10 @@ function W(n, e, t) {
1599
1610
  * See the License for the specific language governing permissions and
1600
1611
  * limitations under the License.
1601
1612
  */
1602
- const di = "firebase-heartbeat-database", ui = 1, Y = "firebase-heartbeat-store";
1613
+ const hi = "firebase-heartbeat-database", pi = 1, Y = "firebase-heartbeat-store";
1603
1614
  let Oe = null;
1604
1615
  function Kt() {
1605
- return Oe || (Oe = Sr(di, ui, {
1616
+ return Oe || (Oe = Or(hi, pi, {
1606
1617
  upgrade: (n, e) => {
1607
1618
  switch (e) {
1608
1619
  case 0:
@@ -1619,7 +1630,7 @@ function Kt() {
1619
1630
  });
1620
1631
  })), Oe;
1621
1632
  }
1622
- async function hi(n) {
1633
+ async function fi(n) {
1623
1634
  try {
1624
1635
  const t = (await Kt()).transaction(Y), r = await t.objectStore(Y).get(qt(n));
1625
1636
  return await t.done, r;
@@ -1668,12 +1679,12 @@ function qt(n) {
1668
1679
  * See the License for the specific language governing permissions and
1669
1680
  * limitations under the License.
1670
1681
  */
1671
- const pi = 1024, fi = 30 * 24 * 60 * 60 * 1e3;
1672
- class mi {
1682
+ const mi = 1024, _i = 30 * 24 * 60 * 60 * 1e3;
1683
+ class gi {
1673
1684
  constructor(e) {
1674
1685
  this.container = e, this._heartbeatsCache = null;
1675
1686
  const t = this.container.getProvider("app").getImmediate();
1676
- this._storage = new gi(t), this._heartbeatsCachePromise = this._storage.read().then((r) => (this._heartbeatsCache = r, r));
1687
+ this._storage = new Ii(t), this._heartbeatsCachePromise = this._storage.read().then((r) => (this._heartbeatsCache = r, r));
1677
1688
  }
1678
1689
  /**
1679
1690
  * Called to report a heartbeat. The function will generate
@@ -1688,7 +1699,7 @@ class mi {
1688
1699
  const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = mt();
1689
1700
  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((o) => o.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((o) => {
1690
1701
  const a = new Date(o.date).valueOf();
1691
- return Date.now() - a <= fi;
1702
+ return Date.now() - a <= _i;
1692
1703
  }), this._storage.overwrite(this._heartbeatsCache));
1693
1704
  } catch (r) {
1694
1705
  T.warn(r);
@@ -1706,7 +1717,7 @@ class mi {
1706
1717
  try {
1707
1718
  if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
1708
1719
  return "";
1709
- const t = mt(), { heartbeatsToSend: r, unsentEntries: i } = _i(this._heartbeatsCache.heartbeats), s = le(JSON.stringify({ version: 2, heartbeats: r }));
1720
+ const t = mt(), { heartbeatsToSend: r, unsentEntries: i } = vi(this._heartbeatsCache.heartbeats), s = le(JSON.stringify({ version: 2, heartbeats: r }));
1710
1721
  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;
1711
1722
  } catch (t) {
1712
1723
  return T.warn(t), "";
@@ -1716,7 +1727,7 @@ class mi {
1716
1727
  function mt() {
1717
1728
  return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
1718
1729
  }
1719
- function _i(n, e = pi) {
1730
+ function vi(n, e = mi) {
1720
1731
  const t = [];
1721
1732
  let r = n.slice();
1722
1733
  for (const i of n) {
@@ -1740,19 +1751,19 @@ function _i(n, e = pi) {
1740
1751
  unsentEntries: r
1741
1752
  };
1742
1753
  }
1743
- class gi {
1754
+ class Ii {
1744
1755
  constructor(e) {
1745
1756
  this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
1746
1757
  }
1747
1758
  async runIndexedDBEnvironmentCheck() {
1748
- return nr() ? rr().then(() => !0).catch(() => !1) : !1;
1759
+ return ir() ? sr().then(() => !0).catch(() => !1) : !1;
1749
1760
  }
1750
1761
  /**
1751
1762
  * Read all heartbeats.
1752
1763
  */
1753
1764
  async read() {
1754
1765
  if (await this._canUseIndexedDBPromise) {
1755
- const t = await hi(this.app);
1766
+ const t = await fi(this.app);
1756
1767
  return t != null && t.heartbeats ? t : { heartbeats: [] };
1757
1768
  } else
1758
1769
  return { heartbeats: [] };
@@ -1807,21 +1818,21 @@ function _t(n) {
1807
1818
  * See the License for the specific language governing permissions and
1808
1819
  * limitations under the License.
1809
1820
  */
1810
- function vi(n) {
1811
- J(new G(
1821
+ function bi(n) {
1822
+ X(new G(
1812
1823
  "platform-logger",
1813
- (e) => new Cr(e),
1824
+ (e) => new Dr(e),
1814
1825
  "PRIVATE"
1815
1826
  /* ComponentType.PRIVATE */
1816
- )), J(new G(
1827
+ )), X(new G(
1817
1828
  "heartbeat",
1818
- (e) => new mi(e),
1829
+ (e) => new gi(e),
1819
1830
  "PRIVATE"
1820
1831
  /* ComponentType.PRIVATE */
1821
- )), W(Ue, ht, n), W(Ue, ht, "esm2017"), W("fire-js", "");
1832
+ )), F(Le, ht, n), F(Le, ht, "esm2017"), F("fire-js", "");
1822
1833
  }
1823
- vi("");
1824
- var Ii = "firebase", bi = "10.14.1";
1834
+ bi("");
1835
+ var yi = "firebase", Ei = "10.14.1";
1825
1836
  /**
1826
1837
  * @license
1827
1838
  * Copyright 2020 Google LLC
@@ -1838,7 +1849,7 @@ var Ii = "firebase", bi = "10.14.1";
1838
1849
  * See the License for the specific language governing permissions and
1839
1850
  * limitations under the License.
1840
1851
  */
1841
- W(Ii, bi, "app");
1852
+ F(yi, Ei, "app");
1842
1853
  var gt = function() {
1843
1854
  return gt = Object.assign || function(e) {
1844
1855
  for (var t, r = 1, i = arguments.length; r < i; r++) {
@@ -1848,7 +1859,7 @@ var gt = function() {
1848
1859
  return e;
1849
1860
  }, gt.apply(this, arguments);
1850
1861
  };
1851
- function $e(n, e) {
1862
+ function Ze(n, e) {
1852
1863
  var t = {};
1853
1864
  for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
1854
1865
  if (n != null && typeof Object.getOwnPropertySymbols == "function")
@@ -1861,7 +1872,7 @@ function Qt() {
1861
1872
  "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."
1862
1873
  };
1863
1874
  }
1864
- const yi = Qt, en = new q("auth", "Firebase", Qt());
1875
+ const Ti = Qt, en = new q("auth", "Firebase", Qt());
1865
1876
  /**
1866
1877
  * @license
1867
1878
  * Copyright 2020 Google LLC
@@ -1878,8 +1889,8 @@ const yi = Qt, en = new q("auth", "Firebase", Qt());
1878
1889
  * See the License for the specific language governing permissions and
1879
1890
  * limitations under the License.
1880
1891
  */
1881
- const he = new Zt("@firebase/auth");
1882
- function Ei(n, ...e) {
1892
+ const he = new $t("@firebase/auth");
1893
+ function wi(n, ...e) {
1883
1894
  he.logLevel <= h.WARN && he.warn(`Auth (${ee}): ${n}`, ...e);
1884
1895
  }
1885
1896
  function se(n, ...e) {
@@ -1902,13 +1913,13 @@ function se(n, ...e) {
1902
1913
  * limitations under the License.
1903
1914
  */
1904
1915
  function w(n, ...e) {
1905
- throw Xe(n, ...e);
1916
+ throw Je(n, ...e);
1906
1917
  }
1907
1918
  function _(n, ...e) {
1908
- return Xe(n, ...e);
1919
+ return Je(n, ...e);
1909
1920
  }
1910
1921
  function tn(n, e, t) {
1911
- const r = Object.assign(Object.assign({}, yi()), { [e]: t });
1922
+ const r = Object.assign(Object.assign({}, Ti()), { [e]: t });
1912
1923
  return new q("auth", "Firebase", r).create(e, {
1913
1924
  appName: n.name
1914
1925
  });
@@ -1916,7 +1927,7 @@ function tn(n, e, t) {
1916
1927
  function P(n) {
1917
1928
  return tn(n, "operation-not-supported-in-this-environment", "Operations that alter the current user are not supported in conjunction with FirebaseServerApp");
1918
1929
  }
1919
- function Xe(n, ...e) {
1930
+ function Je(n, ...e) {
1920
1931
  if (typeof n != "string") {
1921
1932
  const t = e[0], r = [...e.slice(1)];
1922
1933
  return r[0] && (r[0].appName = n.name), n._errorFactory.create(t, ...r);
@@ -1925,7 +1936,7 @@ function Xe(n, ...e) {
1925
1936
  }
1926
1937
  function d(n, e, ...t) {
1927
1938
  if (!n)
1928
- throw Xe(e, ...t);
1939
+ throw Je(e, ...t);
1929
1940
  }
1930
1941
  function b(n) {
1931
1942
  const e = "INTERNAL ASSERTION FAILED: " + n;
@@ -1950,11 +1961,11 @@ function R(n, e) {
1950
1961
  * See the License for the specific language governing permissions and
1951
1962
  * limitations under the License.
1952
1963
  */
1953
- function Fe() {
1964
+ function xe() {
1954
1965
  var n;
1955
1966
  return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
1956
1967
  }
1957
- function Ti() {
1968
+ function Ri() {
1958
1969
  return vt() === "http:" || vt() === "https:";
1959
1970
  }
1960
1971
  function vt() {
@@ -1977,15 +1988,15 @@ function vt() {
1977
1988
  * See the License for the specific language governing permissions and
1978
1989
  * limitations under the License.
1979
1990
  */
1980
- function wi() {
1991
+ function Si() {
1981
1992
  return typeof navigator < "u" && navigator && "onLine" in navigator && typeof navigator.onLine == "boolean" && // Apply only for traditional web apps and Chrome extensions.
1982
1993
  // This is especially true for Cordova apps which have unreliable
1983
1994
  // navigator.onLine behavior unless cordova-plugin-network-information is
1984
1995
  // installed which overwrites the native navigator.onLine value and
1985
1996
  // defines navigator.connection.
1986
- (Ti() || Qn() || "connection" in navigator) ? navigator.onLine : !0;
1997
+ (Ri() || tr() || "connection" in navigator) ? navigator.onLine : !0;
1987
1998
  }
1988
- function Ri() {
1999
+ function ki() {
1989
2000
  if (typeof navigator > "u")
1990
2001
  return null;
1991
2002
  const n = navigator;
@@ -2015,10 +2026,10 @@ function Ri() {
2015
2026
  */
2016
2027
  class te {
2017
2028
  constructor(e, t) {
2018
- this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile = Kn() || er();
2029
+ this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile = Qn() || nr();
2019
2030
  }
2020
2031
  get() {
2021
- return wi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
2032
+ return Si() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
2022
2033
  }
2023
2034
  }
2024
2035
  /**
@@ -2037,7 +2048,7 @@ class te {
2037
2048
  * See the License for the specific language governing permissions and
2038
2049
  * limitations under the License.
2039
2050
  */
2040
- function Je(n, e) {
2051
+ function Xe(n, e) {
2041
2052
  R(n.emulator, "Emulator should always be set here");
2042
2053
  const { url: t } = n.emulator;
2043
2054
  return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
@@ -2112,7 +2123,7 @@ class nn {
2112
2123
  * See the License for the specific language governing permissions and
2113
2124
  * limitations under the License.
2114
2125
  */
2115
- const ki = {
2126
+ const Ai = {
2116
2127
  // Custom token errors.
2117
2128
  CREDENTIAL_MISMATCH: "custom-token-mismatch",
2118
2129
  // This can only happen if the SDK sends a bad request.
@@ -2203,11 +2214,11 @@ const ki = {
2203
2214
  * See the License for the specific language governing permissions and
2204
2215
  * limitations under the License.
2205
2216
  */
2206
- const Si = new te(3e4, 6e4);
2217
+ const Oi = new te(3e4, 6e4);
2207
2218
  function ge(n, e) {
2208
2219
  return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
2209
2220
  }
2210
- async function Z(n, e, t, r, i = {}) {
2221
+ async function $(n, e, t, r, i = {}) {
2211
2222
  return rn(n, i, async () => {
2212
2223
  let s = {}, o = {};
2213
2224
  r && (e === "GET" ? o = r : s = {
@@ -2225,14 +2236,14 @@ async function Z(n, e, t, r, i = {}) {
2225
2236
  method: e,
2226
2237
  headers: c
2227
2238
  }, s);
2228
- return qn() || (l.referrerPolicy = "no-referrer"), nn.fetch()(on(n, n.config.apiHost, t, a), l);
2239
+ return er() || (l.referrerPolicy = "no-referrer"), nn.fetch()(on(n, n.config.apiHost, t, a), l);
2229
2240
  });
2230
2241
  }
2231
2242
  async function rn(n, e, t) {
2232
2243
  n._canInitEmulator = !1;
2233
- const r = Object.assign(Object.assign({}, ki), e);
2244
+ const r = Object.assign(Object.assign({}, Ai), e);
2234
2245
  try {
2235
- const i = new Ai(n), s = await Promise.race([
2246
+ const i = new Ci(n), s = await Promise.race([
2236
2247
  t(),
2237
2248
  i.promise
2238
2249
  ]);
@@ -2262,23 +2273,23 @@ async function rn(n, e, t) {
2262
2273
  }
2263
2274
  }
2264
2275
  async function sn(n, e, t, r, i = {}) {
2265
- const s = await Z(n, e, t, r, i);
2276
+ const s = await $(n, e, t, r, i);
2266
2277
  return "mfaPendingCredential" in s && w(n, "multi-factor-auth-required", {
2267
2278
  _serverResponse: s
2268
2279
  }), s;
2269
2280
  }
2270
2281
  function on(n, e, t, r) {
2271
2282
  const i = `${e}${t}?${r}`;
2272
- return n.config.emulator ? Je(n.config, i) : `${n.config.apiScheme}://${i}`;
2283
+ return n.config.emulator ? Xe(n.config, i) : `${n.config.apiScheme}://${i}`;
2273
2284
  }
2274
- class Ai {
2285
+ class Ci {
2275
2286
  constructor(e) {
2276
2287
  this.auth = e, this.timer = null, this.promise = new Promise((t, r) => {
2277
2288
  this.timer = setTimeout(() => r(_(
2278
2289
  this.auth,
2279
2290
  "network-request-failed"
2280
2291
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
2281
- )), Si.get());
2292
+ )), Oi.get());
2282
2293
  });
2283
2294
  }
2284
2295
  clearNetworkTimeout() {
@@ -2309,11 +2320,11 @@ function ie(n, e, t) {
2309
2320
  * See the License for the specific language governing permissions and
2310
2321
  * limitations under the License.
2311
2322
  */
2312
- async function Oi(n, e) {
2313
- return Z(n, "POST", "/v1/accounts:delete", e);
2323
+ async function Ni(n, e) {
2324
+ return $(n, "POST", "/v1/accounts:delete", e);
2314
2325
  }
2315
2326
  async function an(n, e) {
2316
- return Z(n, "POST", "/v1/accounts:lookup", e);
2327
+ return $(n, "POST", "/v1/accounts:lookup", e);
2317
2328
  }
2318
2329
  /**
2319
2330
  * @license
@@ -2331,7 +2342,7 @@ async function an(n, e) {
2331
2342
  * See the License for the specific language governing permissions and
2332
2343
  * limitations under the License.
2333
2344
  */
2334
- function X(n) {
2345
+ function J(n) {
2335
2346
  if (n)
2336
2347
  try {
2337
2348
  const e = new Date(Number(n));
@@ -2340,7 +2351,7 @@ function X(n) {
2340
2351
  } catch {
2341
2352
  }
2342
2353
  }
2343
- async function Ci(n, e = !1) {
2354
+ async function Di(n, e = !1) {
2344
2355
  const t = z(n), r = await t.getIdToken(e), i = Ye(r);
2345
2356
  d(
2346
2357
  i && i.exp && i.auth_time && i.iat,
@@ -2352,9 +2363,9 @@ async function Ci(n, e = !1) {
2352
2363
  return {
2353
2364
  claims: i,
2354
2365
  token: r,
2355
- authTime: X(Ce(i.auth_time)),
2356
- issuedAtTime: X(Ce(i.iat)),
2357
- expirationTime: X(Ce(i.exp)),
2366
+ authTime: J(Ce(i.auth_time)),
2367
+ issuedAtTime: J(Ce(i.iat)),
2368
+ expirationTime: J(Ce(i.exp)),
2358
2369
  signInProvider: o || null,
2359
2370
  signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
2360
2371
  };
@@ -2411,10 +2422,10 @@ async function K(n, e, t = !1) {
2411
2422
  try {
2412
2423
  return await e;
2413
2424
  } catch (r) {
2414
- throw r instanceof M && Ni(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
2425
+ throw r instanceof M && Pi(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
2415
2426
  }
2416
2427
  }
2417
- function Ni({ code: n }) {
2428
+ function Pi({ code: n }) {
2418
2429
  return n === "auth/user-disabled" || n === "auth/user-token-expired";
2419
2430
  }
2420
2431
  /**
@@ -2433,7 +2444,7 @@ function Ni({ code: n }) {
2433
2444
  * See the License for the specific language governing permissions and
2434
2445
  * limitations under the License.
2435
2446
  */
2436
- class Di {
2447
+ class Mi {
2437
2448
  constructor(e) {
2438
2449
  this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
2439
2450
  }
@@ -2495,12 +2506,12 @@ class Di {
2495
2506
  * See the License for the specific language governing permissions and
2496
2507
  * limitations under the License.
2497
2508
  */
2498
- class We {
2509
+ class Fe {
2499
2510
  constructor(e, t) {
2500
2511
  this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
2501
2512
  }
2502
2513
  _initializeTime() {
2503
- this.lastSignInTime = X(this.lastLoginAt), this.creationTime = X(this.createdAt);
2514
+ this.lastSignInTime = J(this.lastLoginAt), this.creationTime = J(this.createdAt);
2504
2515
  }
2505
2516
  _copy(e) {
2506
2517
  this.createdAt = e.createdAt, this.lastLoginAt = e.lastLoginAt, this._initializeTime();
@@ -2539,7 +2550,7 @@ async function pe(n) {
2539
2550
  );
2540
2551
  const s = i.users[0];
2541
2552
  n._notifyReloadListener(s);
2542
- const o = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], a = Mi(n.providerData, o), c = n.isAnonymous, l = !(n.email && s.passwordHash) && !(a != null && a.length), u = c ? l : !1, p = {
2553
+ const o = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], a = Li(n.providerData, o), c = n.isAnonymous, l = !(n.email && s.passwordHash) && !(a != null && a.length), u = c ? l : !1, p = {
2543
2554
  uid: s.localId,
2544
2555
  displayName: s.displayName || null,
2545
2556
  photoURL: s.photoUrl || null,
@@ -2548,21 +2559,21 @@ async function pe(n) {
2548
2559
  phoneNumber: s.phoneNumber || null,
2549
2560
  tenantId: s.tenantId || null,
2550
2561
  providerData: a,
2551
- metadata: new We(s.createdAt, s.lastLoginAt),
2562
+ metadata: new Fe(s.createdAt, s.lastLoginAt),
2552
2563
  isAnonymous: u
2553
2564
  };
2554
2565
  Object.assign(n, p);
2555
2566
  }
2556
- async function Pi(n) {
2567
+ async function Ui(n) {
2557
2568
  const e = z(n);
2558
2569
  await pe(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
2559
2570
  }
2560
- function Mi(n, e) {
2571
+ function Li(n, e) {
2561
2572
  return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
2562
2573
  }
2563
2574
  function cn(n) {
2564
2575
  return n.map((e) => {
2565
- var { providerId: t } = e, r = $e(e, ["providerId"]);
2576
+ var { providerId: t } = e, r = Ze(e, ["providerId"]);
2566
2577
  return {
2567
2578
  providerId: t,
2568
2579
  uid: r.rawId || "",
@@ -2589,7 +2600,7 @@ function cn(n) {
2589
2600
  * See the License for the specific language governing permissions and
2590
2601
  * limitations under the License.
2591
2602
  */
2592
- async function Li(n, e) {
2603
+ async function Bi(n, e) {
2593
2604
  const t = await rn(n, {}, async () => {
2594
2605
  const r = Q({
2595
2606
  grant_type: "refresh_token",
@@ -2610,8 +2621,8 @@ async function Li(n, e) {
2610
2621
  refreshToken: t.refresh_token
2611
2622
  };
2612
2623
  }
2613
- async function Ui(n, e) {
2614
- return Z(n, "POST", "/v2/accounts:revokeToken", ge(n, e));
2624
+ async function ji(n, e) {
2625
+ return $(n, "POST", "/v2/accounts:revokeToken", ge(n, e));
2615
2626
  }
2616
2627
  /**
2617
2628
  * @license
@@ -2629,7 +2640,7 @@ async function Ui(n, e) {
2629
2640
  * See the License for the specific language governing permissions and
2630
2641
  * limitations under the License.
2631
2642
  */
2632
- class j {
2643
+ class W {
2633
2644
  constructor() {
2634
2645
  this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
2635
2646
  }
@@ -2674,14 +2685,14 @@ class j {
2674
2685
  this.refreshToken = null;
2675
2686
  }
2676
2687
  async refresh(e, t) {
2677
- const { accessToken: r, refreshToken: i, expiresIn: s } = await Li(e, t);
2688
+ const { accessToken: r, refreshToken: i, expiresIn: s } = await Bi(e, t);
2678
2689
  this.updateTokensAndExpiration(r, i, Number(s));
2679
2690
  }
2680
2691
  updateTokensAndExpiration(e, t, r) {
2681
2692
  this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
2682
2693
  }
2683
2694
  static fromJSON(e, t) {
2684
- const { refreshToken: r, accessToken: i, expirationTime: s } = t, o = new j();
2695
+ const { refreshToken: r, accessToken: i, expirationTime: s } = t, o = new W();
2685
2696
  return r && (d(typeof r == "string", "internal-error", {
2686
2697
  appName: e
2687
2698
  }), o.refreshToken = r), i && (d(typeof i == "string", "internal-error", {
@@ -2701,7 +2712,7 @@ class j {
2701
2712
  this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
2702
2713
  }
2703
2714
  _clone() {
2704
- return Object.assign(new j(), this.toJSON());
2715
+ return Object.assign(new W(), this.toJSON());
2705
2716
  }
2706
2717
  _performRefresh() {
2707
2718
  return b("not implemented");
@@ -2723,13 +2734,13 @@ class j {
2723
2734
  * See the License for the specific language governing permissions and
2724
2735
  * limitations under the License.
2725
2736
  */
2726
- function k(n, e) {
2737
+ function S(n, e) {
2727
2738
  d(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
2728
2739
  }
2729
2740
  class y {
2730
2741
  constructor(e) {
2731
- var { uid: t, auth: r, stsTokenManager: i } = e, s = $e(e, ["uid", "auth", "stsTokenManager"]);
2732
- this.providerId = "firebase", this.proactiveRefresh = new Di(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new We(s.createdAt || void 0, s.lastLoginAt || void 0);
2742
+ var { uid: t, auth: r, stsTokenManager: i } = e, s = Ze(e, ["uid", "auth", "stsTokenManager"]);
2743
+ this.providerId = "firebase", this.proactiveRefresh = new Mi(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new Fe(s.createdAt || void 0, s.lastLoginAt || void 0);
2733
2744
  }
2734
2745
  async getIdToken(e) {
2735
2746
  const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
@@ -2741,10 +2752,10 @@ class y {
2741
2752
  ), this.accessToken !== t && (this.accessToken = t, await this.auth._persistUserIfCurrent(this), this.auth._notifyListenersIfCurrent(this)), t;
2742
2753
  }
2743
2754
  getIdTokenResult(e) {
2744
- return Ci(this, e);
2755
+ return Di(this, e);
2745
2756
  }
2746
2757
  reload() {
2747
- return Pi(this);
2758
+ return Ui(this);
2748
2759
  }
2749
2760
  _assign(e) {
2750
2761
  this !== e && (d(
@@ -2783,7 +2794,7 @@ class y {
2783
2794
  if (I(this.auth.app))
2784
2795
  return Promise.reject(P(this.auth));
2785
2796
  const e = await this.getIdToken();
2786
- return await K(this, Oi(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
2797
+ return await K(this, Ni(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
2787
2798
  }
2788
2799
  toJSON() {
2789
2800
  return Object.assign(Object.assign({
@@ -2811,20 +2822,20 @@ class y {
2811
2822
  }
2812
2823
  static _fromJSON(e, t) {
2813
2824
  var r, i, s, o, a, c, l, u;
2814
- const p = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, x = (o = t.photoURL) !== null && o !== void 0 ? o : void 0, tt = (a = t.tenantId) !== null && a !== void 0 ? a : void 0, ye = (c = t._redirectEventId) !== null && c !== void 0 ? c : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (u = t.lastLoginAt) !== null && u !== void 0 ? u : void 0, { uid: Ee, emailVerified: it, isAnonymous: st, providerData: Te, stsTokenManager: ot } = t;
2825
+ const p = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, j = (o = t.photoURL) !== null && o !== void 0 ? o : void 0, tt = (a = t.tenantId) !== null && a !== void 0 ? a : void 0, ye = (c = t._redirectEventId) !== null && c !== void 0 ? c : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (u = t.lastLoginAt) !== null && u !== void 0 ? u : void 0, { uid: Ee, emailVerified: it, isAnonymous: st, providerData: Te, stsTokenManager: ot } = t;
2815
2826
  d(
2816
2827
  Ee && ot,
2817
2828
  e,
2818
2829
  "internal-error"
2819
2830
  /* AuthErrorCode.INTERNAL_ERROR */
2820
2831
  );
2821
- const Pn = j.fromJSON(this.name, ot);
2832
+ const Pn = W.fromJSON(this.name, ot);
2822
2833
  d(
2823
2834
  typeof Ee == "string",
2824
2835
  e,
2825
2836
  "internal-error"
2826
2837
  /* AuthErrorCode.INTERNAL_ERROR */
2827
- ), k(p, e.name), k(m, e.name), d(
2838
+ ), S(p, e.name), S(m, e.name), d(
2828
2839
  typeof it == "boolean",
2829
2840
  e,
2830
2841
  "internal-error"
@@ -2834,7 +2845,7 @@ class y {
2834
2845
  e,
2835
2846
  "internal-error"
2836
2847
  /* AuthErrorCode.INTERNAL_ERROR */
2837
- ), k(v, e.name), k(x, e.name), k(tt, e.name), k(ye, e.name), k(nt, e.name), k(rt, e.name);
2848
+ ), S(v, e.name), S(j, e.name), S(tt, e.name), S(ye, e.name), S(nt, e.name), S(rt, e.name);
2838
2849
  const we = new y({
2839
2850
  uid: Ee,
2840
2851
  auth: e,
@@ -2842,7 +2853,7 @@ class y {
2842
2853
  emailVerified: it,
2843
2854
  displayName: p,
2844
2855
  isAnonymous: st,
2845
- photoURL: x,
2856
+ photoURL: j,
2846
2857
  phoneNumber: v,
2847
2858
  tenantId: tt,
2848
2859
  stsTokenManager: Pn,
@@ -2857,7 +2868,7 @@ class y {
2857
2868
  * @param idTokenResponse
2858
2869
  */
2859
2870
  static async _fromIdTokenResponse(e, t, r = !1) {
2860
- const i = new j();
2871
+ const i = new W();
2861
2872
  i.updateFromServerResponse(t);
2862
2873
  const s = new y({
2863
2874
  uid: t.localId,
@@ -2879,7 +2890,7 @@ class y {
2879
2890
  "internal-error"
2880
2891
  /* AuthErrorCode.INTERNAL_ERROR */
2881
2892
  );
2882
- const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], o = !(i.email && i.passwordHash) && !(s != null && s.length), a = new j();
2893
+ const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], o = !(i.email && i.passwordHash) && !(s != null && s.length), a = new W();
2883
2894
  a.updateFromIdToken(r);
2884
2895
  const c = new y({
2885
2896
  uid: i.localId,
@@ -2895,7 +2906,7 @@ class y {
2895
2906
  phoneNumber: i.phoneNumber || null,
2896
2907
  tenantId: i.tenantId || null,
2897
2908
  providerData: s,
2898
- metadata: new We(i.createdAt, i.lastLoginAt),
2909
+ metadata: new Fe(i.createdAt, i.lastLoginAt),
2899
2910
  isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
2900
2911
  };
2901
2912
  return Object.assign(c, l), c;
@@ -3113,12 +3124,12 @@ function _n(n = f()) {
3113
3124
  function Ke(n = f()) {
3114
3125
  return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
3115
3126
  }
3116
- function Bi(n = f()) {
3127
+ function xi(n = f()) {
3117
3128
  var e;
3118
3129
  return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
3119
3130
  }
3120
- function xi() {
3121
- return tr() && document.documentMode === 10;
3131
+ function Fi() {
3132
+ return rr() && document.documentMode === 10;
3122
3133
  }
3123
3134
  function gn(n = f()) {
3124
3135
  return Ke(n) || fn(n) || _n(n) || mn(n) || /windows phone/i.test(n) || pn(n);
@@ -3170,7 +3181,7 @@ function vn(n, e = []) {
3170
3181
  * See the License for the specific language governing permissions and
3171
3182
  * limitations under the License.
3172
3183
  */
3173
- class Fi {
3184
+ class Wi {
3174
3185
  constructor(e) {
3175
3186
  this.auth = e, this.queue = [];
3176
3187
  }
@@ -3225,8 +3236,8 @@ class Fi {
3225
3236
  * See the License for the specific language governing permissions and
3226
3237
  * limitations under the License.
3227
3238
  */
3228
- async function Wi(n, e = {}) {
3229
- return Z(n, "GET", "/v2/passwordPolicy", ge(n, e));
3239
+ async function Hi(n, e = {}) {
3240
+ return $(n, "GET", "/v2/passwordPolicy", ge(n, e));
3230
3241
  }
3231
3242
  /**
3232
3243
  * @license
@@ -3244,12 +3255,12 @@ async function Wi(n, e = {}) {
3244
3255
  * See the License for the specific language governing permissions and
3245
3256
  * limitations under the License.
3246
3257
  */
3247
- const ji = 6;
3248
- class Hi {
3258
+ const Vi = 6;
3259
+ class Gi {
3249
3260
  constructor(e) {
3250
3261
  var t, r, i, s;
3251
3262
  const o = e.customStrengthOptions;
3252
- this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = o.minPasswordLength) !== null && t !== void 0 ? t : ji, o.maxPasswordLength && (this.customStrengthOptions.maxPasswordLength = o.maxPasswordLength), o.containsLowercaseCharacter !== void 0 && (this.customStrengthOptions.containsLowercaseLetter = o.containsLowercaseCharacter), o.containsUppercaseCharacter !== void 0 && (this.customStrengthOptions.containsUppercaseLetter = o.containsUppercaseCharacter), o.containsNumericCharacter !== void 0 && (this.customStrengthOptions.containsNumericCharacter = o.containsNumericCharacter), o.containsNonAlphanumericCharacter !== void 0 && (this.customStrengthOptions.containsNonAlphanumericCharacter = o.containsNonAlphanumericCharacter), this.enforcementState = e.enforcementState, this.enforcementState === "ENFORCEMENT_STATE_UNSPECIFIED" && (this.enforcementState = "OFF"), this.allowedNonAlphanumericCharacters = (i = (r = e.allowedNonAlphanumericCharacters) === null || r === void 0 ? void 0 : r.join("")) !== null && i !== void 0 ? i : "", this.forceUpgradeOnSignin = (s = e.forceUpgradeOnSignin) !== null && s !== void 0 ? s : !1, this.schemaVersion = e.schemaVersion;
3263
+ this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = o.minPasswordLength) !== null && t !== void 0 ? t : Vi, o.maxPasswordLength && (this.customStrengthOptions.maxPasswordLength = o.maxPasswordLength), o.containsLowercaseCharacter !== void 0 && (this.customStrengthOptions.containsLowercaseLetter = o.containsLowercaseCharacter), o.containsUppercaseCharacter !== void 0 && (this.customStrengthOptions.containsUppercaseLetter = o.containsUppercaseCharacter), o.containsNumericCharacter !== void 0 && (this.customStrengthOptions.containsNumericCharacter = o.containsNumericCharacter), o.containsNonAlphanumericCharacter !== void 0 && (this.customStrengthOptions.containsNonAlphanumericCharacter = o.containsNonAlphanumericCharacter), this.enforcementState = e.enforcementState, this.enforcementState === "ENFORCEMENT_STATE_UNSPECIFIED" && (this.enforcementState = "OFF"), this.allowedNonAlphanumericCharacters = (i = (r = e.allowedNonAlphanumericCharacters) === null || r === void 0 ? void 0 : r.join("")) !== null && i !== void 0 ? i : "", this.forceUpgradeOnSignin = (s = e.forceUpgradeOnSignin) !== null && s !== void 0 ? s : !1, this.schemaVersion = e.schemaVersion;
3253
3264
  }
3254
3265
  validatePassword(e) {
3255
3266
  var t, r, i, s, o, a;
@@ -3332,9 +3343,9 @@ class Hi {
3332
3343
  * See the License for the specific language governing permissions and
3333
3344
  * limitations under the License.
3334
3345
  */
3335
- class Vi {
3346
+ class zi {
3336
3347
  constructor(e, t, r, i) {
3337
- this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = new Fi(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = en, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = i.sdkClientVersion;
3348
+ this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = new Wi(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = en, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = i.sdkClientVersion;
3338
3349
  }
3339
3350
  _initializeWithPersistence(e, t) {
3340
3351
  return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
@@ -3428,7 +3439,7 @@ class Vi {
3428
3439
  return this.directlySetCurrentUser(e);
3429
3440
  }
3430
3441
  useDeviceLanguage() {
3431
- this.languageCode = Ri();
3442
+ this.languageCode = ki();
3432
3443
  }
3433
3444
  async _delete() {
3434
3445
  this._deleted = !0;
@@ -3479,7 +3490,7 @@ class Vi {
3479
3490
  return this.tenantId === null ? this._projectPasswordPolicy : this._tenantPasswordPolicies[this.tenantId];
3480
3491
  }
3481
3492
  async _updatePasswordPolicy() {
3482
- const e = await Wi(this), t = new Hi(e);
3493
+ const e = await Hi(this), t = new Gi(e);
3483
3494
  this.tenantId === null ? this._projectPasswordPolicy = t : this._tenantPasswordPolicies[this.tenantId] = t;
3484
3495
  }
3485
3496
  _getPersistence() {
@@ -3519,7 +3530,7 @@ class Vi {
3519
3530
  token: e,
3520
3531
  idToken: t
3521
3532
  };
3522
- this.tenantId != null && (r.tenantId = this.tenantId), await Ui(this, r);
3533
+ this.tenantId != null && (r.tenantId = this.tenantId), await ji(this, r);
3523
3534
  }
3524
3535
  }
3525
3536
  toJSON() {
@@ -3662,7 +3673,7 @@ class Vi {
3662
3673
  async _getAppCheckToken() {
3663
3674
  var e;
3664
3675
  const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
3665
- return t != null && t.error && Ei(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
3676
+ return t != null && t.error && wi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
3666
3677
  }
3667
3678
  }
3668
3679
  function ve(n) {
@@ -3670,7 +3681,7 @@ function ve(n) {
3670
3681
  }
3671
3682
  class Tt {
3672
3683
  constructor(e) {
3673
- this.auth = e, this.observer = null, this.addObserver = cr((t) => this.observer = t);
3684
+ this.auth = e, this.observer = null, this.addObserver = dr((t) => this.observer = t);
3674
3685
  }
3675
3686
  get next() {
3676
3687
  return d(
@@ -3705,16 +3716,16 @@ let qe = {
3705
3716
  recaptchaEnterpriseScript: "",
3706
3717
  gapiScript: ""
3707
3718
  };
3708
- function Gi(n) {
3719
+ function $i(n) {
3709
3720
  qe = n;
3710
3721
  }
3711
- function zi(n) {
3722
+ function Zi(n) {
3712
3723
  return qe.loadJS(n);
3713
3724
  }
3714
- function Zi() {
3725
+ function Ji() {
3715
3726
  return qe.gapiScript;
3716
3727
  }
3717
- function $i(n) {
3728
+ function Xi(n) {
3718
3729
  return `__${n}${Math.floor(Math.random() * 1e6)}`;
3719
3730
  }
3720
3731
  /**
@@ -3733,8 +3744,8 @@ function $i(n) {
3733
3744
  * See the License for the specific language governing permissions and
3734
3745
  * limitations under the License.
3735
3746
  */
3736
- function Xi(n, e) {
3737
- const t = Jt(n, "auth");
3747
+ function Yi(n, e) {
3748
+ const t = Xt(n, "auth");
3738
3749
  if (t.isInitialized()) {
3739
3750
  const i = t.getImmediate(), s = t.getOptions();
3740
3751
  if (de(s, e ?? {}))
@@ -3747,11 +3758,11 @@ function Xi(n, e) {
3747
3758
  }
3748
3759
  return t.initialize({ options: e });
3749
3760
  }
3750
- function Ji(n, e) {
3761
+ function Ki(n, e) {
3751
3762
  const t = (e == null ? void 0 : e.persistence) || [], r = (Array.isArray(t) ? t : [t]).map(E);
3752
3763
  e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
3753
3764
  }
3754
- function Yi(n, e, t) {
3765
+ function qi(n, e, t) {
3755
3766
  const r = ve(n);
3756
3767
  d(
3757
3768
  r._canInitEmulator,
@@ -3764,19 +3775,19 @@ function Yi(n, e, t) {
3764
3775
  "invalid-emulator-scheme"
3765
3776
  /* AuthErrorCode.INVALID_EMULATOR_SCHEME */
3766
3777
  );
3767
- const i = !1, s = In(e), { host: o, port: a } = Ki(e), c = a === null ? "" : `:${a}`;
3778
+ const i = !1, s = In(e), { host: o, port: a } = Qi(e), c = a === null ? "" : `:${a}`;
3768
3779
  r.config.emulator = { url: `${s}//${o}${c}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
3769
3780
  host: o,
3770
3781
  port: a,
3771
3782
  protocol: s.replace(":", ""),
3772
3783
  options: Object.freeze({ disableWarnings: i })
3773
- }), qi();
3784
+ }), es();
3774
3785
  }
3775
3786
  function In(n) {
3776
3787
  const e = n.indexOf(":");
3777
3788
  return e < 0 ? "" : n.substr(0, e + 1);
3778
3789
  }
3779
- function Ki(n) {
3790
+ function Qi(n) {
3780
3791
  const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
3781
3792
  if (!t)
3782
3793
  return { host: "", port: null };
@@ -3795,7 +3806,7 @@ function wt(n) {
3795
3806
  const e = Number(n);
3796
3807
  return isNaN(e) ? null : e;
3797
3808
  }
3798
- function qi() {
3809
+ function es() {
3799
3810
  function n() {
3800
3811
  const e = document.createElement("p"), t = e.style;
3801
3812
  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);
@@ -3879,14 +3890,14 @@ async function V(n, e) {
3879
3890
  * See the License for the specific language governing permissions and
3880
3891
  * limitations under the License.
3881
3892
  */
3882
- const Qi = "http://localhost";
3883
- class U extends bn {
3893
+ const ts = "http://localhost";
3894
+ class L extends bn {
3884
3895
  constructor() {
3885
3896
  super(...arguments), this.pendingToken = null;
3886
3897
  }
3887
3898
  /** @internal */
3888
3899
  static _fromParams(e) {
3889
- const t = new U(e.providerId, e.signInMethod);
3900
+ const t = new L(e.providerId, e.signInMethod);
3890
3901
  return e.idToken || e.accessToken ? (e.idToken && (t.idToken = e.idToken), e.accessToken && (t.accessToken = e.accessToken), e.nonce && !e.pendingToken && (t.nonce = e.nonce), e.pendingToken && (t.pendingToken = e.pendingToken)) : e.oauthToken && e.oauthTokenSecret ? (t.accessToken = e.oauthToken, t.secret = e.oauthTokenSecret) : w(
3891
3902
  "argument-error"
3892
3903
  /* AuthErrorCode.ARGUMENT_ERROR */
@@ -3914,10 +3925,10 @@ class U extends bn {
3914
3925
  * @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
3915
3926
  */
3916
3927
  static fromJSON(e) {
3917
- const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = $e(t, ["providerId", "signInMethod"]);
3928
+ const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = Ze(t, ["providerId", "signInMethod"]);
3918
3929
  if (!r || !i)
3919
3930
  return null;
3920
- const o = new U(r, i);
3931
+ const o = new L(r, i);
3921
3932
  return o.idToken = s.idToken || void 0, o.accessToken = s.accessToken || void 0, o.secret = s.secret, o.nonce = s.nonce, o.pendingToken = s.pendingToken || null, o;
3922
3933
  }
3923
3934
  /** @internal */
@@ -3937,7 +3948,7 @@ class U extends bn {
3937
3948
  }
3938
3949
  buildRequest() {
3939
3950
  const e = {
3940
- requestUri: Qi,
3951
+ requestUri: ts,
3941
3952
  returnSecureToken: !0
3942
3953
  };
3943
3954
  if (this.pendingToken)
@@ -4053,7 +4064,7 @@ class ne extends yn {
4053
4064
  * See the License for the specific language governing permissions and
4054
4065
  * limitations under the License.
4055
4066
  */
4056
- class S extends ne {
4067
+ class k extends ne {
4057
4068
  constructor() {
4058
4069
  super(
4059
4070
  "facebook.com"
@@ -4073,9 +4084,9 @@ class S extends ne {
4073
4084
  * @param accessToken - Facebook access token.
4074
4085
  */
4075
4086
  static credential(e) {
4076
- return U._fromParams({
4077
- providerId: S.PROVIDER_ID,
4078
- signInMethod: S.FACEBOOK_SIGN_IN_METHOD,
4087
+ return L._fromParams({
4088
+ providerId: k.PROVIDER_ID,
4089
+ signInMethod: k.FACEBOOK_SIGN_IN_METHOD,
4079
4090
  accessToken: e
4080
4091
  });
4081
4092
  }
@@ -4085,7 +4096,7 @@ class S extends ne {
4085
4096
  * @param userCredential - The user credential.
4086
4097
  */
4087
4098
  static credentialFromResult(e) {
4088
- return S.credentialFromTaggedObject(e);
4099
+ return k.credentialFromTaggedObject(e);
4089
4100
  }
4090
4101
  /**
4091
4102
  * Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
@@ -4094,20 +4105,20 @@ class S extends ne {
4094
4105
  * @param userCredential - The user credential.
4095
4106
  */
4096
4107
  static credentialFromError(e) {
4097
- return S.credentialFromTaggedObject(e.customData || {});
4108
+ return k.credentialFromTaggedObject(e.customData || {});
4098
4109
  }
4099
4110
  static credentialFromTaggedObject({ _tokenResponse: e }) {
4100
4111
  if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
4101
4112
  return null;
4102
4113
  try {
4103
- return S.credential(e.oauthAccessToken);
4114
+ return k.credential(e.oauthAccessToken);
4104
4115
  } catch {
4105
4116
  return null;
4106
4117
  }
4107
4118
  }
4108
4119
  }
4109
- S.FACEBOOK_SIGN_IN_METHOD = "facebook.com";
4110
- S.PROVIDER_ID = "facebook.com";
4120
+ k.FACEBOOK_SIGN_IN_METHOD = "facebook.com";
4121
+ k.PROVIDER_ID = "facebook.com";
4111
4122
  /**
4112
4123
  * @license
4113
4124
  * Copyright 2020 Google LLC
@@ -4145,7 +4156,7 @@ class A extends ne {
4145
4156
  * @param accessToken - Google access token.
4146
4157
  */
4147
4158
  static credential(e, t) {
4148
- return U._fromParams({
4159
+ return L._fromParams({
4149
4160
  providerId: A.PROVIDER_ID,
4150
4161
  signInMethod: A.GOOGLE_SIGN_IN_METHOD,
4151
4162
  idToken: e,
@@ -4213,7 +4224,7 @@ class O extends ne {
4213
4224
  * @param accessToken - GitHub access token.
4214
4225
  */
4215
4226
  static credential(e) {
4216
- return U._fromParams({
4227
+ return L._fromParams({
4217
4228
  providerId: O.PROVIDER_ID,
4218
4229
  signInMethod: O.GITHUB_SIGN_IN_METHOD,
4219
4230
  accessToken: e
@@ -4278,7 +4289,7 @@ class C extends ne {
4278
4289
  * @param secret - Twitter secret.
4279
4290
  */
4280
4291
  static credential(e, t) {
4281
- return U._fromParams({
4292
+ return L._fromParams({
4282
4293
  providerId: C.PROVIDER_ID,
4283
4294
  signInMethod: C.TWITTER_SIGN_IN_METHOD,
4284
4295
  oauthToken: e,
@@ -4399,7 +4410,7 @@ function En(n, e, t, r) {
4399
4410
  throw s.code === "auth/multi-factor-auth-required" ? fe._fromErrorAndOperation(n, s, e, r) : s;
4400
4411
  });
4401
4412
  }
4402
- async function es(n, e, t = !1) {
4413
+ async function ns(n, e, t = !1) {
4403
4414
  const r = await K(n, e._linkToIdToken(n.auth, await n.getIdToken()), t);
4404
4415
  return B._forOperation(n, "link", r);
4405
4416
  }
@@ -4419,7 +4430,7 @@ async function es(n, e, t = !1) {
4419
4430
  * See the License for the specific language governing permissions and
4420
4431
  * limitations under the License.
4421
4432
  */
4422
- async function ts(n, e, t = !1) {
4433
+ async function rs(n, e, t = !1) {
4423
4434
  const { auth: r } = n;
4424
4435
  if (I(r.app))
4425
4436
  return Promise.reject(P(r));
@@ -4470,7 +4481,7 @@ async function ts(n, e, t = !1) {
4470
4481
  * See the License for the specific language governing permissions and
4471
4482
  * limitations under the License.
4472
4483
  */
4473
- async function ns(n, e, t = !1) {
4484
+ async function is(n, e, t = !1) {
4474
4485
  if (I(n.app))
4475
4486
  return Promise.reject(P(n));
4476
4487
  const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
@@ -4492,7 +4503,7 @@ async function ns(n, e, t = !1) {
4492
4503
  * See the License for the specific language governing permissions and
4493
4504
  * limitations under the License.
4494
4505
  */
4495
- async function rs(n, e) {
4506
+ async function ss(n, e) {
4496
4507
  return sn(n, "POST", "/v1/accounts:signInWithCustomToken", ge(n, e));
4497
4508
  }
4498
4509
  /**
@@ -4511,19 +4522,19 @@ async function rs(n, e) {
4511
4522
  * See the License for the specific language governing permissions and
4512
4523
  * limitations under the License.
4513
4524
  */
4514
- async function is(n, e) {
4525
+ async function os(n, e) {
4515
4526
  if (I(n.app))
4516
4527
  return Promise.reject(P(n));
4517
- const t = ve(n), r = await rs(t, {
4528
+ const t = ve(n), r = await ss(t, {
4518
4529
  token: e,
4519
4530
  returnSecureToken: !0
4520
4531
  }), i = await B._fromIdTokenResponse(t, "signIn", r);
4521
4532
  return await t._updateCurrentUser(i.user), i;
4522
4533
  }
4523
- function ss(n, e, t, r) {
4534
+ function as(n, e, t, r) {
4524
4535
  return z(n).onIdTokenChanged(e, t, r);
4525
4536
  }
4526
- function os(n, e, t) {
4537
+ function cs(n, e, t) {
4527
4538
  return z(n).beforeAuthStateChanged(e, t);
4528
4539
  }
4529
4540
  const me = "__sak";
@@ -4584,7 +4595,7 @@ class Tn {
4584
4595
  * See the License for the specific language governing permissions and
4585
4596
  * limitations under the License.
4586
4597
  */
4587
- const as = 1e3, cs = 10;
4598
+ const ls = 1e3, ds = 10;
4588
4599
  class wn extends Tn {
4589
4600
  constructor() {
4590
4601
  super(
@@ -4612,7 +4623,7 @@ class wn extends Tn {
4612
4623
  const o = this.storage.getItem(r);
4613
4624
  !t && this.localCache[r] === o || this.notifyListeners(r, o);
4614
4625
  }, s = this.storage.getItem(r);
4615
- xi() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, cs) : i();
4626
+ Fi() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, ds) : i();
4616
4627
  }
4617
4628
  notifyListeners(e, t) {
4618
4629
  this.localCache[e] = t;
@@ -4634,7 +4645,7 @@ class wn extends Tn {
4634
4645
  !0
4635
4646
  );
4636
4647
  });
4637
- }, as);
4648
+ }, ls);
4638
4649
  }
4639
4650
  stopPolling() {
4640
4651
  this.pollTimer && (clearInterval(this.pollTimer), this.pollTimer = null);
@@ -4664,7 +4675,7 @@ class wn extends Tn {
4664
4675
  }
4665
4676
  }
4666
4677
  wn.type = "LOCAL";
4667
- const ls = wn;
4678
+ const us = wn;
4668
4679
  /**
4669
4680
  * @license
4670
4681
  * Copyright 2020 Google LLC
@@ -4695,7 +4706,7 @@ class Rn extends Tn {
4695
4706
  }
4696
4707
  }
4697
4708
  Rn.type = "SESSION";
4698
- const kn = Rn;
4709
+ const Sn = Rn;
4699
4710
  /**
4700
4711
  * @license
4701
4712
  * Copyright 2019 Google LLC
@@ -4712,7 +4723,7 @@ const kn = Rn;
4712
4723
  * See the License for the specific language governing permissions and
4713
4724
  * limitations under the License.
4714
4725
  */
4715
- function ds(n) {
4726
+ function hs(n) {
4716
4727
  return Promise.all(n.map(async (e) => {
4717
4728
  try {
4718
4729
  return {
@@ -4782,7 +4793,7 @@ class Ie {
4782
4793
  eventId: r,
4783
4794
  eventType: i
4784
4795
  });
4785
- const a = Array.from(o).map(async (l) => l(t.origin, s)), c = await ds(a);
4796
+ const a = Array.from(o).map(async (l) => l(t.origin, s)), c = await hs(a);
4786
4797
  t.ports[0].postMessage({
4787
4798
  status: "done",
4788
4799
  eventId: r,
@@ -4850,7 +4861,7 @@ function Qe(n = "", e = 10) {
4850
4861
  * See the License for the specific language governing permissions and
4851
4862
  * limitations under the License.
4852
4863
  */
4853
- class us {
4864
+ class ps {
4854
4865
  constructor(e) {
4855
4866
  this.target = e, this.handlers = /* @__PURE__ */ new Set();
4856
4867
  }
@@ -4950,7 +4961,7 @@ class us {
4950
4961
  function g() {
4951
4962
  return window;
4952
4963
  }
4953
- function hs(n) {
4964
+ function fs(n) {
4954
4965
  g().location.href = n;
4955
4966
  }
4956
4967
  /**
@@ -4969,10 +4980,10 @@ function hs(n) {
4969
4980
  * See the License for the specific language governing permissions and
4970
4981
  * limitations under the License.
4971
4982
  */
4972
- function Sn() {
4983
+ function kn() {
4973
4984
  return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
4974
4985
  }
4975
- async function ps() {
4986
+ async function ms() {
4976
4987
  if (!(navigator != null && navigator.serviceWorker))
4977
4988
  return null;
4978
4989
  try {
@@ -4981,12 +4992,12 @@ async function ps() {
4981
4992
  return null;
4982
4993
  }
4983
4994
  }
4984
- function fs() {
4995
+ function _s() {
4985
4996
  var n;
4986
4997
  return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
4987
4998
  }
4988
- function ms() {
4989
- return Sn() ? self : null;
4999
+ function gs() {
5000
+ return kn() ? self : null;
4990
5001
  }
4991
5002
  /**
4992
5003
  * @license
@@ -5004,7 +5015,7 @@ function ms() {
5004
5015
  * See the License for the specific language governing permissions and
5005
5016
  * limitations under the License.
5006
5017
  */
5007
- const An = "firebaseLocalStorageDb", _s = 1, _e = "firebaseLocalStorage", On = "fbase_key";
5018
+ const An = "firebaseLocalStorageDb", vs = 1, _e = "firebaseLocalStorage", On = "fbase_key";
5008
5019
  class re {
5009
5020
  constructor(e) {
5010
5021
  this.request = e;
@@ -5022,12 +5033,12 @@ class re {
5022
5033
  function be(n, e) {
5023
5034
  return n.transaction([_e], e ? "readwrite" : "readonly").objectStore(_e);
5024
5035
  }
5025
- function gs() {
5036
+ function Is() {
5026
5037
  const n = indexedDB.deleteDatabase(An);
5027
5038
  return new re(n).toPromise();
5028
5039
  }
5029
- function je() {
5030
- const n = indexedDB.open(An, _s);
5040
+ function We() {
5041
+ const n = indexedDB.open(An, vs);
5031
5042
  return new Promise((e, t) => {
5032
5043
  n.addEventListener("error", () => {
5033
5044
  t(n.error);
@@ -5040,26 +5051,26 @@ function je() {
5040
5051
  }
5041
5052
  }), n.addEventListener("success", async () => {
5042
5053
  const r = n.result;
5043
- r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await gs(), e(await je()));
5054
+ r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await Is(), e(await We()));
5044
5055
  });
5045
5056
  });
5046
5057
  }
5047
- async function kt(n, e, t) {
5058
+ async function St(n, e, t) {
5048
5059
  const r = be(n, !0).put({
5049
5060
  [On]: e,
5050
5061
  value: t
5051
5062
  });
5052
5063
  return new re(r).toPromise();
5053
5064
  }
5054
- async function vs(n, e) {
5065
+ async function bs(n, e) {
5055
5066
  const t = be(n, !1).get(e), r = await new re(t).toPromise();
5056
5067
  return r === void 0 ? null : r.value;
5057
5068
  }
5058
- function St(n, e) {
5069
+ function kt(n, e) {
5059
5070
  const t = be(n, !0).delete(e);
5060
5071
  return new re(t).toPromise();
5061
5072
  }
5062
- const Is = 800, bs = 3;
5073
+ const ys = 800, Es = 3;
5063
5074
  class Cn {
5064
5075
  constructor() {
5065
5076
  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(() => {
@@ -5067,7 +5078,7 @@ class Cn {
5067
5078
  });
5068
5079
  }
5069
5080
  async _openDb() {
5070
- return this.db ? this.db : (this.db = await je(), this.db);
5081
+ return this.db ? this.db : (this.db = await We(), this.db);
5071
5082
  }
5072
5083
  async _withRetries(e) {
5073
5084
  let t = 0;
@@ -5076,7 +5087,7 @@ class Cn {
5076
5087
  const r = await this._openDb();
5077
5088
  return await e(r);
5078
5089
  } catch (r) {
5079
- if (t++ > bs)
5090
+ if (t++ > Es)
5080
5091
  throw r;
5081
5092
  this.db && (this.db.close(), this.db = void 0);
5082
5093
  }
@@ -5086,13 +5097,13 @@ class Cn {
5086
5097
  * postMessage interface to send these events to the worker ourselves.
5087
5098
  */
5088
5099
  async initializeServiceWorkerMessaging() {
5089
- return Sn() ? this.initializeReceiver() : this.initializeSender();
5100
+ return kn() ? this.initializeReceiver() : this.initializeSender();
5090
5101
  }
5091
5102
  /**
5092
5103
  * As the worker we should listen to events from the main window.
5093
5104
  */
5094
5105
  async initializeReceiver() {
5095
- this.receiver = Ie._getInstance(ms()), this.receiver._subscribe("keyChanged", async (e, t) => ({
5106
+ this.receiver = Ie._getInstance(gs()), this.receiver._subscribe("keyChanged", async (e, t) => ({
5096
5107
  keyProcessed: (await this._poll()).includes(t.key)
5097
5108
  })), this.receiver._subscribe("ping", async (e, t) => [
5098
5109
  "keyChanged"
@@ -5108,9 +5119,9 @@ class Cn {
5108
5119
  */
5109
5120
  async initializeSender() {
5110
5121
  var e, t;
5111
- if (this.activeServiceWorker = await ps(), !this.activeServiceWorker)
5122
+ if (this.activeServiceWorker = await ms(), !this.activeServiceWorker)
5112
5123
  return;
5113
- this.sender = new us(this.activeServiceWorker);
5124
+ this.sender = new ps(this.activeServiceWorker);
5114
5125
  const r = await this.sender._send(
5115
5126
  "ping",
5116
5127
  {},
@@ -5132,7 +5143,7 @@ class Cn {
5132
5143
  * @param key - Storage key which changed.
5133
5144
  */
5134
5145
  async notifyServiceWorker(e) {
5135
- if (!(!this.sender || !this.activeServiceWorker || fs() !== this.activeServiceWorker))
5146
+ if (!(!this.sender || !this.activeServiceWorker || _s() !== this.activeServiceWorker))
5136
5147
  try {
5137
5148
  await this.sender._send(
5138
5149
  "keyChanged",
@@ -5148,8 +5159,8 @@ class Cn {
5148
5159
  try {
5149
5160
  if (!indexedDB)
5150
5161
  return !1;
5151
- const e = await je();
5152
- return await kt(e, me, "1"), await St(e, me), !0;
5162
+ const e = await We();
5163
+ return await St(e, me, "1"), await kt(e, me), !0;
5153
5164
  } catch {
5154
5165
  }
5155
5166
  return !1;
@@ -5163,14 +5174,14 @@ class Cn {
5163
5174
  }
5164
5175
  }
5165
5176
  async _set(e, t) {
5166
- return this._withPendingWrite(async () => (await this._withRetries((r) => kt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
5177
+ return this._withPendingWrite(async () => (await this._withRetries((r) => St(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
5167
5178
  }
5168
5179
  async _get(e) {
5169
- const t = await this._withRetries((r) => vs(r, e));
5180
+ const t = await this._withRetries((r) => bs(r, e));
5170
5181
  return this.localCache[e] = t, t;
5171
5182
  }
5172
5183
  async _remove(e) {
5173
- return this._withPendingWrite(async () => (await this._withRetries((t) => St(t, e)), delete this.localCache[e], this.notifyServiceWorker(e)));
5184
+ return this._withPendingWrite(async () => (await this._withRetries((t) => kt(t, e)), delete this.localCache[e], this.notifyServiceWorker(e)));
5174
5185
  }
5175
5186
  async _poll() {
5176
5187
  const e = await this._withRetries((i) => {
@@ -5197,7 +5208,7 @@ class Cn {
5197
5208
  i(t);
5198
5209
  }
5199
5210
  startPolling() {
5200
- this.stopPolling(), this.pollTimer = setInterval(async () => this._poll(), Is);
5211
+ this.stopPolling(), this.pollTimer = setInterval(async () => this._poll(), ys);
5201
5212
  }
5202
5213
  stopPolling() {
5203
5214
  this.pollTimer && (clearInterval(this.pollTimer), this.pollTimer = null);
@@ -5210,7 +5221,7 @@ class Cn {
5210
5221
  }
5211
5222
  }
5212
5223
  Cn.type = "LOCAL";
5213
- const ys = Cn;
5224
+ const Ts = Cn;
5214
5225
  new te(3e4, 6e4);
5215
5226
  /**
5216
5227
  * @license
@@ -5228,7 +5239,7 @@ new te(3e4, 6e4);
5228
5239
  * See the License for the specific language governing permissions and
5229
5240
  * limitations under the License.
5230
5241
  */
5231
- function Es(n, e) {
5242
+ function ws(n, e) {
5232
5243
  return e ? E(e) : (d(
5233
5244
  n._popupRedirectResolver,
5234
5245
  n,
@@ -5282,26 +5293,26 @@ class et extends bn {
5282
5293
  return e && (t.idToken = e), t;
5283
5294
  }
5284
5295
  }
5285
- function Ts(n) {
5286
- return ns(n.auth, new et(n), n.bypassAuthState);
5296
+ function Rs(n) {
5297
+ return is(n.auth, new et(n), n.bypassAuthState);
5287
5298
  }
5288
- function ws(n) {
5299
+ function Ss(n) {
5289
5300
  const { auth: e, user: t } = n;
5290
5301
  return d(
5291
5302
  t,
5292
5303
  e,
5293
5304
  "internal-error"
5294
5305
  /* AuthErrorCode.INTERNAL_ERROR */
5295
- ), ts(t, new et(n), n.bypassAuthState);
5306
+ ), rs(t, new et(n), n.bypassAuthState);
5296
5307
  }
5297
- async function Rs(n) {
5308
+ async function ks(n) {
5298
5309
  const { auth: e, user: t } = n;
5299
5310
  return d(
5300
5311
  t,
5301
5312
  e,
5302
5313
  "internal-error"
5303
5314
  /* AuthErrorCode.INTERNAL_ERROR */
5304
- ), es(t, new et(n), n.bypassAuthState);
5315
+ ), ns(t, new et(n), n.bypassAuthState);
5305
5316
  }
5306
5317
  /**
5307
5318
  * @license
@@ -5361,13 +5372,13 @@ class Nn {
5361
5372
  switch (e) {
5362
5373
  case "signInViaPopup":
5363
5374
  case "signInViaRedirect":
5364
- return Ts;
5375
+ return Rs;
5365
5376
  case "linkViaPopup":
5366
5377
  case "linkViaRedirect":
5367
- return Rs;
5378
+ return ks;
5368
5379
  case "reauthViaPopup":
5369
5380
  case "reauthViaRedirect":
5370
- return ws;
5381
+ return Ss;
5371
5382
  default:
5372
5383
  w(
5373
5384
  this.auth,
@@ -5402,10 +5413,10 @@ class Nn {
5402
5413
  * See the License for the specific language governing permissions and
5403
5414
  * limitations under the License.
5404
5415
  */
5405
- const ks = new te(2e3, 1e4);
5406
- class F extends Nn {
5416
+ const As = new te(2e3, 1e4);
5417
+ class x extends Nn {
5407
5418
  constructor(e, t, r, i, s) {
5408
- super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, F.currentPopupAction && F.currentPopupAction.cancel(), F.currentPopupAction = this;
5419
+ super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
5409
5420
  }
5410
5421
  async executeNotNull() {
5411
5422
  const e = await this.execute();
@@ -5447,7 +5458,7 @@ class F extends Nn {
5447
5458
  ));
5448
5459
  }
5449
5460
  cleanUp() {
5450
- this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, F.currentPopupAction = null;
5461
+ this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, x.currentPopupAction = null;
5451
5462
  }
5452
5463
  pollUserCancellation() {
5453
5464
  const e = () => {
@@ -5466,12 +5477,12 @@ class F extends Nn {
5466
5477
  );
5467
5478
  return;
5468
5479
  }
5469
- this.pollId = window.setTimeout(e, ks.get());
5480
+ this.pollId = window.setTimeout(e, As.get());
5470
5481
  };
5471
5482
  e();
5472
5483
  }
5473
5484
  }
5474
- F.currentPopupAction = null;
5485
+ x.currentPopupAction = null;
5475
5486
  /**
5476
5487
  * @license
5477
5488
  * Copyright 2020 Google LLC
@@ -5488,8 +5499,8 @@ F.currentPopupAction = null;
5488
5499
  * See the License for the specific language governing permissions and
5489
5500
  * limitations under the License.
5490
5501
  */
5491
- const Ss = "pendingRedirect", ae = /* @__PURE__ */ new Map();
5492
- class As extends Nn {
5502
+ const Os = "pendingRedirect", ae = /* @__PURE__ */ new Map();
5503
+ class Cs extends Nn {
5493
5504
  constructor(e, t, r = !1) {
5494
5505
  super(e, [
5495
5506
  "signInViaRedirect",
@@ -5507,7 +5518,7 @@ class As extends Nn {
5507
5518
  let e = ae.get(this.auth._key());
5508
5519
  if (!e) {
5509
5520
  try {
5510
- const r = await Os(this.resolver, this.auth) ? await super.execute() : null;
5521
+ const r = await Ns(this.resolver, this.auth) ? await super.execute() : null;
5511
5522
  e = () => Promise.resolve(r);
5512
5523
  } catch (t) {
5513
5524
  e = () => Promise.reject(t);
@@ -5535,26 +5546,26 @@ class As extends Nn {
5535
5546
  cleanUp() {
5536
5547
  }
5537
5548
  }
5538
- async function Os(n, e) {
5539
- const t = Ds(e), r = Ns(n);
5549
+ async function Ns(n, e) {
5550
+ const t = Ms(e), r = Ps(n);
5540
5551
  if (!await r._isAvailable())
5541
5552
  return !1;
5542
5553
  const i = await r._get(t) === "true";
5543
5554
  return await r._remove(t), i;
5544
5555
  }
5545
- function Cs(n, e) {
5556
+ function Ds(n, e) {
5546
5557
  ae.set(n._key(), e);
5547
5558
  }
5548
- function Ns(n) {
5559
+ function Ps(n) {
5549
5560
  return E(n._redirectPersistence);
5550
5561
  }
5551
- function Ds(n) {
5552
- return oe(Ss, n.config.apiKey, n.name);
5562
+ function Ms(n) {
5563
+ return oe(Os, n.config.apiKey, n.name);
5553
5564
  }
5554
- async function Ps(n, e, t = !1) {
5565
+ async function Us(n, e, t = !1) {
5555
5566
  if (I(n.app))
5556
5567
  return Promise.reject(P(n));
5557
- const r = ve(n), i = Es(r, e), o = await new As(r, i, t).execute();
5568
+ const r = ve(n), i = ws(r, e), o = await new Cs(r, i, t).execute();
5558
5569
  return o && !t && (delete o.user._redirectEventId, await r._persistUserIfCurrent(o.user), await r._setRedirectUser(null, e)), o;
5559
5570
  }
5560
5571
  /**
@@ -5573,8 +5584,8 @@ async function Ps(n, e, t = !1) {
5573
5584
  * See the License for the specific language governing permissions and
5574
5585
  * limitations under the License.
5575
5586
  */
5576
- const Ms = 10 * 60 * 1e3;
5577
- class Ls {
5587
+ const Ls = 10 * 60 * 1e3;
5588
+ class Bs {
5578
5589
  constructor(e) {
5579
5590
  this.auth = e, this.cachedEventUids = /* @__PURE__ */ new Set(), this.consumers = /* @__PURE__ */ new Set(), this.queuedRedirectEvent = null, this.hasHandledPotentialRedirect = !1, this.lastProcessedEventTime = Date.now();
5580
5591
  }
@@ -5590,7 +5601,7 @@ class Ls {
5590
5601
  let t = !1;
5591
5602
  return this.consumers.forEach((r) => {
5592
5603
  this.isEventForConsumer(e, r) && (t = !0, this.sendToConsumer(e, r), this.saveEventToCache(e));
5593
- }), this.hasHandledPotentialRedirect || !Us(e) || (this.hasHandledPotentialRedirect = !0, t || (this.queuedRedirectEvent = e, t = !0)), t;
5604
+ }), this.hasHandledPotentialRedirect || !js(e) || (this.hasHandledPotentialRedirect = !0, t || (this.queuedRedirectEvent = e, t = !0)), t;
5594
5605
  }
5595
5606
  sendToConsumer(e, t) {
5596
5607
  var r;
@@ -5605,7 +5616,7 @@ class Ls {
5605
5616
  return t.filter.includes(e.type) && r;
5606
5617
  }
5607
5618
  hasEventBeenHandled(e) {
5608
- return Date.now() - this.lastProcessedEventTime >= Ms && this.cachedEventUids.clear(), this.cachedEventUids.has(At(e));
5619
+ return Date.now() - this.lastProcessedEventTime >= Ls && this.cachedEventUids.clear(), this.cachedEventUids.has(At(e));
5609
5620
  }
5610
5621
  saveEventToCache(e) {
5611
5622
  this.cachedEventUids.add(At(e)), this.lastProcessedEventTime = Date.now();
@@ -5617,7 +5628,7 @@ function At(n) {
5617
5628
  function Dn({ type: n, error: e }) {
5618
5629
  return n === "unknown" && (e == null ? void 0 : e.code) === "auth/no-auth-event";
5619
5630
  }
5620
- function Us(n) {
5631
+ function js(n) {
5621
5632
  switch (n.type) {
5622
5633
  case "signInViaRedirect":
5623
5634
  case "linkViaRedirect":
@@ -5645,8 +5656,8 @@ function Us(n) {
5645
5656
  * See the License for the specific language governing permissions and
5646
5657
  * limitations under the License.
5647
5658
  */
5648
- async function Bs(n, e = {}) {
5649
- return Z(n, "GET", "/v1/projects", e);
5659
+ async function xs(n, e = {}) {
5660
+ return $(n, "GET", "/v1/projects", e);
5650
5661
  }
5651
5662
  /**
5652
5663
  * @license
@@ -5664,14 +5675,14 @@ async function Bs(n, e = {}) {
5664
5675
  * See the License for the specific language governing permissions and
5665
5676
  * limitations under the License.
5666
5677
  */
5667
- const xs = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Fs = /^https?/;
5668
- async function Ws(n) {
5678
+ const Fs = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Ws = /^https?/;
5679
+ async function Hs(n) {
5669
5680
  if (n.config.emulator)
5670
5681
  return;
5671
- const { authorizedDomains: e } = await Bs(n);
5682
+ const { authorizedDomains: e } = await xs(n);
5672
5683
  for (const t of e)
5673
5684
  try {
5674
- if (js(t))
5685
+ if (Vs(t))
5675
5686
  return;
5676
5687
  } catch {
5677
5688
  }
@@ -5681,15 +5692,15 @@ async function Ws(n) {
5681
5692
  /* AuthErrorCode.INVALID_ORIGIN */
5682
5693
  );
5683
5694
  }
5684
- function js(n) {
5685
- const e = Fe(), { protocol: t, hostname: r } = new URL(e);
5695
+ function Vs(n) {
5696
+ const e = xe(), { protocol: t, hostname: r } = new URL(e);
5686
5697
  if (n.startsWith("chrome-extension://")) {
5687
5698
  const o = new URL(n);
5688
5699
  return o.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && o.hostname === r;
5689
5700
  }
5690
- if (!Fs.test(t))
5701
+ if (!Ws.test(t))
5691
5702
  return !1;
5692
- if (xs.test(n))
5703
+ if (Fs.test(n))
5693
5704
  return r === n;
5694
5705
  const i = n.replace(/\./g, "\\.");
5695
5706
  return new RegExp("^(.+\\." + i + "|" + i + ")$", "i").test(r);
@@ -5710,7 +5721,7 @@ function js(n) {
5710
5721
  * See the License for the specific language governing permissions and
5711
5722
  * limitations under the License.
5712
5723
  */
5713
- const Hs = new te(3e4, 6e4);
5724
+ const Gs = new te(3e4, 6e4);
5714
5725
  function Ot() {
5715
5726
  const n = g().___jsl;
5716
5727
  if (n != null && n.H) {
@@ -5720,7 +5731,7 @@ function Ot() {
5720
5731
  n.CP[t] = null;
5721
5732
  }
5722
5733
  }
5723
- function Vs(n) {
5734
+ function zs(n) {
5724
5735
  return new Promise((e, t) => {
5725
5736
  var r, i, s;
5726
5737
  function o() {
@@ -5735,7 +5746,7 @@ function Vs(n) {
5735
5746
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
5736
5747
  ));
5737
5748
  },
5738
- timeout: Hs.get()
5749
+ timeout: Gs.get()
5739
5750
  });
5740
5751
  }
5741
5752
  if (!((i = (r = g().gapi) === null || r === void 0 ? void 0 : r.iframes) === null || i === void 0) && i.Iframe)
@@ -5743,22 +5754,22 @@ function Vs(n) {
5743
5754
  else if (!((s = g().gapi) === null || s === void 0) && s.load)
5744
5755
  o();
5745
5756
  else {
5746
- const a = $i("iframefcb");
5757
+ const a = Xi("iframefcb");
5747
5758
  return g()[a] = () => {
5748
5759
  gapi.load ? o() : t(_(
5749
5760
  n,
5750
5761
  "network-request-failed"
5751
5762
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
5752
5763
  ));
5753
- }, zi(`${Zi()}?onload=${a}`).catch((c) => t(c));
5764
+ }, Zi(`${Ji()}?onload=${a}`).catch((c) => t(c));
5754
5765
  }
5755
5766
  }).catch((e) => {
5756
5767
  throw ce = null, e;
5757
5768
  });
5758
5769
  }
5759
5770
  let ce = null;
5760
- function Gs(n) {
5761
- return ce = ce || Vs(n), ce;
5771
+ function $s(n) {
5772
+ return ce = ce || zs(n), ce;
5762
5773
  }
5763
5774
  /**
5764
5775
  * @license
@@ -5776,7 +5787,7 @@ function Gs(n) {
5776
5787
  * See the License for the specific language governing permissions and
5777
5788
  * limitations under the License.
5778
5789
  */
5779
- const zs = new te(5e3, 15e3), Zs = "__/auth/iframe", $s = "emulator/auth/iframe", Xs = {
5790
+ const Zs = new te(5e3, 15e3), Js = "__/auth/iframe", Xs = "emulator/auth/iframe", Ys = {
5780
5791
  style: {
5781
5792
  position: "absolute",
5782
5793
  top: "-100px",
@@ -5785,13 +5796,13 @@ const zs = new te(5e3, 15e3), Zs = "__/auth/iframe", $s = "emulator/auth/iframe"
5785
5796
  },
5786
5797
  "aria-hidden": "true",
5787
5798
  tabindex: "-1"
5788
- }, Js = /* @__PURE__ */ new Map([
5799
+ }, Ks = /* @__PURE__ */ new Map([
5789
5800
  ["identitytoolkit.googleapis.com", "p"],
5790
5801
  ["staging-identitytoolkit.sandbox.googleapis.com", "s"],
5791
5802
  ["test-identitytoolkit.sandbox.googleapis.com", "t"]
5792
5803
  // test
5793
5804
  ]);
5794
- function Ys(n) {
5805
+ function qs(n) {
5795
5806
  const e = n.config;
5796
5807
  d(
5797
5808
  e.authDomain,
@@ -5799,17 +5810,17 @@ function Ys(n) {
5799
5810
  "auth-domain-config-required"
5800
5811
  /* AuthErrorCode.MISSING_AUTH_DOMAIN */
5801
5812
  );
5802
- const t = e.emulator ? Je(e, $s) : `https://${n.config.authDomain}/${Zs}`, r = {
5813
+ const t = e.emulator ? Xe(e, Xs) : `https://${n.config.authDomain}/${Js}`, r = {
5803
5814
  apiKey: e.apiKey,
5804
5815
  appName: n.name,
5805
5816
  v: ee
5806
- }, i = Js.get(n.config.apiHost);
5817
+ }, i = Ks.get(n.config.apiHost);
5807
5818
  i && (r.eid = i);
5808
5819
  const s = n._getFrameworks();
5809
5820
  return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
5810
5821
  }
5811
- async function Ks(n) {
5812
- const e = await Gs(n), t = g().gapi;
5822
+ async function Qs(n) {
5823
+ const e = await $s(n), t = g().gapi;
5813
5824
  return d(
5814
5825
  t,
5815
5826
  n,
@@ -5817,9 +5828,9 @@ async function Ks(n) {
5817
5828
  /* AuthErrorCode.INTERNAL_ERROR */
5818
5829
  ), e.open({
5819
5830
  where: document.body,
5820
- url: Ys(n),
5831
+ url: qs(n),
5821
5832
  messageHandlersFilter: t.iframes.CROSS_ORIGIN_IFRAMES_FILTER,
5822
- attributes: Xs,
5833
+ attributes: Ys,
5823
5834
  dontclear: !0
5824
5835
  }, (r) => new Promise(async (i, s) => {
5825
5836
  await r.restyle({
@@ -5832,7 +5843,7 @@ async function Ks(n) {
5832
5843
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
5833
5844
  ), a = g().setTimeout(() => {
5834
5845
  s(o);
5835
- }, zs.get());
5846
+ }, Zs.get());
5836
5847
  function c() {
5837
5848
  g().clearTimeout(a), i(r);
5838
5849
  }
@@ -5857,12 +5868,12 @@ async function Ks(n) {
5857
5868
  * See the License for the specific language governing permissions and
5858
5869
  * limitations under the License.
5859
5870
  */
5860
- const qs = {
5871
+ const eo = {
5861
5872
  location: "yes",
5862
5873
  resizable: "yes",
5863
5874
  statusbar: "yes",
5864
5875
  toolbar: "no"
5865
- }, Qs = 500, eo = 600, to = "_blank", no = "http://localhost";
5876
+ }, to = 500, no = 600, ro = "_blank", io = "http://localhost";
5866
5877
  class Ct {
5867
5878
  constructor(e) {
5868
5879
  this.window = e, this.associatedEvent = null;
@@ -5875,19 +5886,19 @@ class Ct {
5875
5886
  }
5876
5887
  }
5877
5888
  }
5878
- function ro(n, e, t, r = Qs, i = eo) {
5889
+ function so(n, e, t, r = to, i = no) {
5879
5890
  const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), o = Math.max((window.screen.availWidth - r) / 2, 0).toString();
5880
5891
  let a = "";
5881
- const c = Object.assign(Object.assign({}, qs), {
5892
+ const c = Object.assign(Object.assign({}, eo), {
5882
5893
  width: r.toString(),
5883
5894
  height: i.toString(),
5884
5895
  top: s,
5885
5896
  left: o
5886
5897
  }), l = f().toLowerCase();
5887
- t && (a = hn(l) ? to : t), dn(l) && (e = e || no, c.scrollbars = "yes");
5888
- const u = Object.entries(c).reduce((m, [v, x]) => `${m}${v}=${x},`, "");
5889
- if (Bi(l) && a !== "_self")
5890
- return io(e || "", a), new Ct(null);
5898
+ t && (a = hn(l) ? ro : t), dn(l) && (e = e || io, c.scrollbars = "yes");
5899
+ const u = Object.entries(c).reduce((m, [v, j]) => `${m}${v}=${j},`, "");
5900
+ if (xi(l) && a !== "_self")
5901
+ return oo(e || "", a), new Ct(null);
5891
5902
  const p = window.open(e || "", a, u);
5892
5903
  d(
5893
5904
  p,
@@ -5901,7 +5912,7 @@ function ro(n, e, t, r = Qs, i = eo) {
5901
5912
  }
5902
5913
  return new Ct(p);
5903
5914
  }
5904
- function io(n, e) {
5915
+ function oo(n, e) {
5905
5916
  const t = document.createElement("a");
5906
5917
  t.href = n, t.target = e;
5907
5918
  const r = document.createEvent("MouseEvent");
@@ -5923,7 +5934,7 @@ function io(n, e) {
5923
5934
  * See the License for the specific language governing permissions and
5924
5935
  * limitations under the License.
5925
5936
  */
5926
- const so = "__/auth/handler", oo = "emulator/auth/handler", ao = encodeURIComponent("fac");
5937
+ const ao = "__/auth/handler", co = "emulator/auth/handler", lo = encodeURIComponent("fac");
5927
5938
  async function Nt(n, e, t, r, i, s) {
5928
5939
  d(
5929
5940
  n.config.authDomain,
@@ -5945,7 +5956,7 @@ async function Nt(n, e, t, r, i, s) {
5945
5956
  eventId: i
5946
5957
  };
5947
5958
  if (e instanceof yn) {
5948
- e.setDefaultLanguage(n.languageCode), o.providerId = e.providerId || "", ar(e.getCustomParameters()) || (o.customParameters = JSON.stringify(e.getCustomParameters()));
5959
+ e.setDefaultLanguage(n.languageCode), o.providerId = e.providerId || "", lr(e.getCustomParameters()) || (o.customParameters = JSON.stringify(e.getCustomParameters()));
5949
5960
  for (const [u, p] of Object.entries({}))
5950
5961
  o[u] = p;
5951
5962
  }
@@ -5957,11 +5968,11 @@ async function Nt(n, e, t, r, i, s) {
5957
5968
  const a = o;
5958
5969
  for (const u of Object.keys(a))
5959
5970
  a[u] === void 0 && delete a[u];
5960
- const c = await n._getAppCheckToken(), l = c ? `#${ao}=${encodeURIComponent(c)}` : "";
5961
- return `${co(n)}?${Q(a).slice(1)}${l}`;
5971
+ const c = await n._getAppCheckToken(), l = c ? `#${lo}=${encodeURIComponent(c)}` : "";
5972
+ return `${uo(n)}?${Q(a).slice(1)}${l}`;
5962
5973
  }
5963
- function co({ config: n }) {
5964
- return n.emulator ? Je(n, oo) : `https://${n.authDomain}/${so}`;
5974
+ function uo({ config: n }) {
5975
+ return n.emulator ? Xe(n, co) : `https://${n.authDomain}/${ao}`;
5965
5976
  }
5966
5977
  /**
5967
5978
  * @license
@@ -5980,22 +5991,22 @@ function co({ config: n }) {
5980
5991
  * limitations under the License.
5981
5992
  */
5982
5993
  const Ne = "webStorageSupport";
5983
- class lo {
5994
+ class ho {
5984
5995
  constructor() {
5985
- this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Ps, this._overrideRedirectResult = Cs;
5996
+ this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Sn, this._completeRedirectFn = Us, this._overrideRedirectResult = Ds;
5986
5997
  }
5987
5998
  // Wrapping in async even though we don't await anywhere in order
5988
5999
  // to make sure errors are raised as promise rejections
5989
6000
  async _openPopup(e, t, r, i) {
5990
6001
  var s;
5991
6002
  R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
5992
- const o = await Nt(e, t, r, Fe(), i);
5993
- return ro(e, o, Qe());
6003
+ const o = await Nt(e, t, r, xe(), i);
6004
+ return so(e, o, Qe());
5994
6005
  }
5995
6006
  async _openRedirect(e, t, r, i) {
5996
6007
  await this._originValidation(e);
5997
- const s = await Nt(e, t, r, Fe(), i);
5998
- return hs(s), new Promise(() => {
6008
+ const s = await Nt(e, t, r, xe(), i);
6009
+ return fs(s), new Promise(() => {
5999
6010
  });
6000
6011
  }
6001
6012
  _initialize(e) {
@@ -6010,7 +6021,7 @@ class lo {
6010
6021
  }), r;
6011
6022
  }
6012
6023
  async initAndGetManager(e) {
6013
- const t = await Ks(e), r = new Ls(e);
6024
+ const t = await Qs(e), r = new Bs(e);
6014
6025
  return t.register("authEvent", (i) => (d(
6015
6026
  i == null ? void 0 : i.authEvent,
6016
6027
  e,
@@ -6034,13 +6045,13 @@ class lo {
6034
6045
  }
6035
6046
  _originValidation(e) {
6036
6047
  const t = e._key();
6037
- return this.originValidationPromises[t] || (this.originValidationPromises[t] = Ws(e)), this.originValidationPromises[t];
6048
+ return this.originValidationPromises[t] || (this.originValidationPromises[t] = Hs(e)), this.originValidationPromises[t];
6038
6049
  }
6039
6050
  get _shouldInitProactively() {
6040
6051
  return gn() || un() || Ke();
6041
6052
  }
6042
6053
  }
6043
- const uo = lo;
6054
+ const po = ho;
6044
6055
  var Dt = "@firebase/auth", Pt = "1.7.9";
6045
6056
  /**
6046
6057
  * @license
@@ -6058,7 +6069,7 @@ var Dt = "@firebase/auth", Pt = "1.7.9";
6058
6069
  * See the License for the specific language governing permissions and
6059
6070
  * limitations under the License.
6060
6071
  */
6061
- class ho {
6072
+ class fo {
6062
6073
  constructor(e) {
6063
6074
  this.auth = e, this.internalListeners = /* @__PURE__ */ new Map();
6064
6075
  }
@@ -6109,7 +6120,7 @@ class ho {
6109
6120
  * See the License for the specific language governing permissions and
6110
6121
  * limitations under the License.
6111
6122
  */
6112
- function po(n) {
6123
+ function mo(n) {
6113
6124
  switch (n) {
6114
6125
  case "Node":
6115
6126
  return "node";
@@ -6125,8 +6136,8 @@ function po(n) {
6125
6136
  return;
6126
6137
  }
6127
6138
  }
6128
- function fo(n) {
6129
- J(new G(
6139
+ function _o(n) {
6140
+ X(new G(
6130
6141
  "auth",
6131
6142
  (e, { options: t }) => {
6132
6143
  const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: o, authDomain: a } = r.options;
@@ -6139,8 +6150,8 @@ function fo(n) {
6139
6150
  tokenApiHost: "securetoken.googleapis.com",
6140
6151
  apiScheme: "https",
6141
6152
  sdkClientVersion: vn(n)
6142
- }, l = new Vi(r, i, s, c);
6143
- return Ji(l, t), l;
6153
+ }, l = new zi(r, i, s, c);
6154
+ return Ki(l, t), l;
6144
6155
  },
6145
6156
  "PUBLIC"
6146
6157
  /* ComponentType.PUBLIC */
@@ -6152,21 +6163,21 @@ function fo(n) {
6152
6163
  "auth-internal"
6153
6164
  /* _ComponentName.AUTH_INTERNAL */
6154
6165
  ).initialize();
6155
- })), J(new G(
6166
+ })), X(new G(
6156
6167
  "auth-internal",
6157
6168
  (e) => {
6158
6169
  const t = ve(e.getProvider(
6159
6170
  "auth"
6160
6171
  /* _ComponentName.AUTH */
6161
6172
  ).getImmediate());
6162
- return ((r) => new ho(r))(t);
6173
+ return ((r) => new fo(r))(t);
6163
6174
  },
6164
6175
  "PRIVATE"
6165
6176
  /* ComponentType.PRIVATE */
6166
6177
  ).setInstantiationMode(
6167
6178
  "EXPLICIT"
6168
6179
  /* InstantiationMode.EXPLICIT */
6169
- )), W(Dt, Pt, po(n)), W(Dt, Pt, "esm2017");
6180
+ )), F(Dt, Pt, mo(n)), F(Dt, Pt, "esm2017");
6170
6181
  }
6171
6182
  /**
6172
6183
  * @license
@@ -6184,11 +6195,11 @@ function fo(n) {
6184
6195
  * See the License for the specific language governing permissions and
6185
6196
  * limitations under the License.
6186
6197
  */
6187
- const mo = 5 * 60, _o = zt("authIdTokenMaxAge") || mo;
6198
+ const go = 5 * 60, vo = zt("authIdTokenMaxAge") || go;
6188
6199
  let Mt = null;
6189
- const go = (n) => async (e) => {
6200
+ const Io = (n) => async (e) => {
6190
6201
  const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
6191
- if (r && r > _o)
6202
+ if (r && r > vo)
6192
6203
  return;
6193
6204
  const i = t == null ? void 0 : t.token;
6194
6205
  Mt !== i && (Mt = i, await fetch(n, {
@@ -6198,33 +6209,33 @@ const go = (n) => async (e) => {
6198
6209
  } : {}
6199
6210
  }));
6200
6211
  };
6201
- function vo(n = li()) {
6202
- const e = Jt(n, "auth");
6212
+ function bo(n = ui()) {
6213
+ const e = Xt(n, "auth");
6203
6214
  if (e.isInitialized())
6204
6215
  return e.getImmediate();
6205
- const t = Xi(n, {
6206
- popupRedirectResolver: uo,
6216
+ const t = Yi(n, {
6217
+ popupRedirectResolver: po,
6207
6218
  persistence: [
6208
- ys,
6209
- ls,
6210
- kn
6219
+ Ts,
6220
+ us,
6221
+ Sn
6211
6222
  ]
6212
6223
  }), r = zt("authTokenSyncURL");
6213
6224
  if (r && typeof isSecureContext == "boolean" && isSecureContext) {
6214
6225
  const s = new URL(r, location.origin);
6215
6226
  if (location.origin === s.origin) {
6216
- const o = go(s.toString());
6217
- os(t, o, () => o(t.currentUser)), ss(t, (a) => o(a));
6227
+ const o = Io(s.toString());
6228
+ cs(t, o, () => o(t.currentUser)), as(t, (a) => o(a));
6218
6229
  }
6219
6230
  }
6220
6231
  const i = Vt("auth");
6221
- return i && Yi(t, `http://${i}`), t;
6232
+ return i && qi(t, `http://${i}`), t;
6222
6233
  }
6223
- function Io() {
6234
+ function yo() {
6224
6235
  var n, e;
6225
6236
  return (e = (n = document.getElementsByTagName("head")) === null || n === void 0 ? void 0 : n[0]) !== null && e !== void 0 ? e : document;
6226
6237
  }
6227
- Gi({
6238
+ $i({
6228
6239
  loadJS(n) {
6229
6240
  return new Promise((e, t) => {
6230
6241
  const r = document.createElement("script");
@@ -6234,23 +6245,23 @@ Gi({
6234
6245
  /* AuthErrorCode.INTERNAL_ERROR */
6235
6246
  );
6236
6247
  s.customData = i, t(s);
6237
- }, r.type = "text/javascript", r.charset = "UTF-8", Io().appendChild(r);
6248
+ }, r.type = "text/javascript", r.charset = "UTF-8", yo().appendChild(r);
6238
6249
  });
6239
6250
  },
6240
6251
  gapiScript: "https://apis.google.com/js/api.js",
6241
6252
  recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
6242
6253
  recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
6243
6254
  });
6244
- fo(
6255
+ _o(
6245
6256
  "Browser"
6246
6257
  /* ClientPlatform.BROWSER */
6247
6258
  );
6248
- const bo = Ln({
6249
- history: Un(),
6259
+ const Eo = Un({
6260
+ history: Ln(),
6250
6261
  routes: [...Ge, ...Ve]
6251
6262
  });
6252
6263
  let De, Pe;
6253
- bo.beforeEach(async (n) => {
6264
+ Eo.beforeEach(async (n) => {
6254
6265
  const {
6255
6266
  sessionUser: e,
6256
6267
  currentRestaurant: t,
@@ -6259,43 +6270,45 @@ bo.beforeEach(async (n) => {
6259
6270
  changeRestaurant: s
6260
6271
  } = He();
6261
6272
  return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (De || (De = new Promise((o) => {
6262
- const a = $(e, (c) => {
6273
+ const a = Z(e, (c) => {
6263
6274
  var l;
6264
6275
  c && (a(), o(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
6265
6276
  });
6266
6277
  })), De) : !r.value || !t.value ? (Pe || (Pe = Promise.all([
6267
6278
  new Promise(async (o) => {
6268
- const a = $(r, (c) => {
6279
+ const a = Z(r, (c) => {
6269
6280
  c && (a(), o(!0));
6270
6281
  });
6271
6282
  }),
6272
6283
  new Promise(async (o) => {
6273
- const a = $(t, (l) => {
6284
+ const a = Z(t, (l) => {
6274
6285
  l && (a(), o(!0));
6275
6286
  }), c = await i();
6276
6287
  await s(c == null ? void 0 : c.at(0));
6277
6288
  })
6278
6289
  ]).then((o) => !0)), Pe) : !0;
6279
6290
  });
6280
- const yo = /* @__PURE__ */ Ut({
6291
+ const To = /* @__PURE__ */ Lt({
6281
6292
  __name: "AppSidebar",
6282
6293
  setup(n) {
6283
- const e = He(), t = Bn(), r = xn(t.currentRoute.value.name);
6284
- $(t.currentRoute, () => {
6294
+ const e = He(), t = Bn(), r = jn(t.currentRoute.value.name);
6295
+ Z(t.currentRoute, () => {
6285
6296
  let a = t.currentRoute.value.name;
6286
6297
  t.currentRoute.value.meta.parent && (a = t.currentRoute.value.meta.parent), r.value = a;
6287
6298
  });
6288
6299
  const i = Ge.map((a) => {
6289
- var c;
6290
- if ((c = a.meta) != null && c.sidebarDisplay)
6291
- return {
6292
- label: a.meta.sidebarDisplay,
6293
- value: a.name,
6294
- action: () => {
6295
- if (t.currentRoute.value.name !== a.name)
6296
- return t.push({ name: a.name });
6297
- }
6298
- };
6300
+ var l;
6301
+ if (!((l = a.meta) != null && l.sidebarDisplay))
6302
+ return;
6303
+ const c = {
6304
+ label: a.meta.sidebarDisplay,
6305
+ value: a.name,
6306
+ action: () => {
6307
+ if (t.currentRoute.value.name !== a.name)
6308
+ return t.push({ name: a.name });
6309
+ }
6310
+ };
6311
+ return a.meta.sidebarNew && (c.badge = () => xn(Vn.FmPill, { label: "New" })), c;
6299
6312
  }).filter((a) => !!a), s = Ve.map((a) => {
6300
6313
  var c;
6301
6314
  if ((c = a.meta) != null && c.sidebarDisplay)
@@ -6307,7 +6320,7 @@ const yo = /* @__PURE__ */ Ut({
6307
6320
  return t.push({ name: a.name });
6308
6321
  }
6309
6322
  };
6310
- }).filter((a) => !!a), o = Lt(() => {
6323
+ }).filter((a) => !!a), o = Ut(() => {
6311
6324
  var c;
6312
6325
  const a = [...i];
6313
6326
  return (c = e.sessionUser.value) != null && c.isInternal && (a.push({
@@ -6323,36 +6336,36 @@ const yo = /* @__PURE__ */ Ut({
6323
6336
  });
6324
6337
  return (a, c) => {
6325
6338
  const l = Bt("FmCollapsibleTabs");
6326
- return xt(), Ft(l, {
6339
+ return jt(), xt(l, {
6327
6340
  modelValue: r.value,
6328
6341
  "onUpdate:modelValue": c[0] || (c[0] = (u) => r.value = u),
6329
6342
  items: o.value,
6330
- class: "py-16 px-8"
6343
+ class: "py-16 px-8 w-[240px]"
6331
6344
  }, null, 8, ["modelValue", "items"]);
6332
6345
  };
6333
6346
  }
6334
6347
  });
6335
- var Eo = { 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" };
6336
- const Oo = /* @__PURE__ */ Ut({
6348
+ var wo = { 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" };
6349
+ const Do = /* @__PURE__ */ Lt({
6337
6350
  __name: "App",
6338
6351
  setup(n) {
6339
- const { state: e } = Hn(), t = He(), r = Yt(Eo.firebase);
6352
+ const { state: e } = Gn(), t = He(), r = Yt(wo.firebase);
6340
6353
  async function i() {
6341
6354
  const s = t.sessionUser.value;
6342
6355
  if (!s || !s.token) return;
6343
- const o = await s.getCustomToken(), a = vo(r);
6344
- await is(a, o);
6356
+ const o = await s.getCustomToken(), a = bo(r);
6357
+ await os(a, o);
6345
6358
  }
6346
- return i(), $(t.sessionUser, i), Fn(() => {
6359
+ return i(), Z(t.sessionUser, i), Fn(() => {
6347
6360
  e.isIframe && parent.postMessage({ event: "ready" }, "*");
6348
6361
  }), Wn(() => {
6349
- t.registerSidebarComponent(yo);
6362
+ t.registerSidebarComponent(To);
6350
6363
  }), (s, o) => {
6351
6364
  const a = Bt("RouterView");
6352
- return xt(), Ft(a);
6365
+ return jt(), xt(a);
6353
6366
  };
6354
6367
  }
6355
- }), Co = [
6368
+ }), Po = [
6356
6369
  ...Ve,
6357
6370
  ...Ge
6358
6371
  ];
@@ -6360,14 +6373,14 @@ export {
6360
6373
  G as C,
6361
6374
  M as F,
6362
6375
  ee as S,
6363
- J as _,
6364
- Jt as a,
6365
- So as b,
6366
- li as c,
6367
- Ao as d,
6376
+ X as _,
6377
+ Xt as a,
6378
+ Co as b,
6379
+ ui as c,
6380
+ No as d,
6368
6381
  gt as e,
6369
- Co as f,
6382
+ Po as f,
6370
6383
  z as g,
6371
- Oo as h,
6372
- W as r
6384
+ Do as h,
6385
+ F as r
6373
6386
  };