@feedmepos/mf-payment 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PayoutAccount-B4COODQv.js → PayoutAccount-Br3Cug44.js} +3 -3
- package/dist/{PayoutAccount-DkEtMHeq.js → PayoutAccount-g2FDE-px.js} +5 -5
- package/dist/{PayoutAccountSelector.vue_vue_type_script_setup_true_lang-BVTLPeW1.js → PayoutAccountSelector.vue_vue_type_script_setup_true_lang-COl_Wwn4.js} +2 -2
- package/dist/{PayoutAccountSetting-DePjQhXX.js → PayoutAccountSetting-Ma0Kk96H.js} +4 -4
- package/dist/{Restaurant-DwzXFEt8.js → Restaurant-E-KrKN8f.js} +4 -4
- package/dist/{RestaurantSetting-o5L8T1Gg.js → RestaurantSetting-B0n1_tSv.js} +4 -4
- package/dist/{Settlement-BEdTLRrA.js → Settlement-C7bSbTBb.js} +3 -3
- package/dist/{Settlement-BtTuifH-.js → Settlement-D-2hI9k8.js} +3 -3
- package/dist/{SettlementTransactions-B0yuPv23.js → SettlementTransactions-D8UziVjz.js} +4 -4
- package/dist/{SettlementTransactions-D8JmK21e.js → SettlementTransactions-Wq5NIhMx.js} +4 -4
- package/dist/{Terminal-Bvl0ENtb.js → Terminal-BsEhnhbP.js} +5 -5
- package/dist/{TerminalSetting-BelvYhOi.js → TerminalSetting-DaxogFY0.js} +3 -3
- package/dist/{TerminalTransaction-k0OaQzLD.js → TerminalTransaction-BVoXsl_B.js} +6 -6
- package/dist/{TerminalTransaction-B0HupimA.js → TerminalTransaction-Dg9akSQ7.js} +310 -310
- package/dist/{Transaction-D8Z-dg_P.js → Transaction-CWsdRULE.js} +5 -5
- package/dist/{Transaction-DYpSUT1M.js → Transaction-f7MyYTeG.js} +7 -7
- package/dist/{TransactionOld-NQEj9905.js → TransactionOld-Dg1VfoPL.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-Dw740DXL.js → TransactionTable.vue_vue_type_script_setup_true_lang-BvVe_h5o.js} +30 -29
- package/dist/{app-BJnX0yK8.js → app-Btr2qPjz.js} +190 -190
- package/dist/app.js +1 -1
- package/dist/{assets-D9C3wFv9.js → assets-Df86JtwT.js} +1 -1
- package/dist/{grafana-DLW-VT-s.js → grafana-D_odlNlk.js} +1 -1
- package/dist/{index-B9blRs9i.js → index-88uVCPBC.js} +1 -1
- package/dist/{index-BqLSq9b2.js → index-B0Il8Cyt.js} +1 -1
- package/dist/{index-CG-04tuK.js → index-B3bL56uQ.js} +1 -1
- package/dist/{index-BfIQoCk2.js → index-C04zXgLq.js} +1 -1
- package/dist/{index-BfGiSNAW.js → index-C4CzRp85.js} +1 -1
- package/dist/{index-DHcqjQ7c.js → index-Ce0UCIxc.js} +1 -1
- package/dist/{index-DU6b3QcM.js → index-DSsz2xN0.js} +1 -1
- package/dist/{index-D60yqRi2.js → index-DjUkx9xh.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DHfowoZm.js → index.vue_vue_type_script_setup_true_lang-6UaAppN6.js} +1 -1
- package/dist/model/transaction.d.ts +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-Bq9m04Hj.js → payout-account-DTIZuvPO.js} +2 -2
- package/dist/{transaction-DKbHsJ3H.js → transaction-DeAbXoT4.js} +15 -11
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn } from "vue-router";
|
2
|
-
import { computed as Lt, watch as
|
3
|
-
import { useCoreStore as
|
4
|
-
import { defineStore as
|
2
|
+
import { computed as Lt, watch as J, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as xt, createBlock as Wt, h as Wn, onMounted as jn, onBeforeMount as Fn } from "vue";
|
3
|
+
import { useCoreStore as He } from "@feedmepos/mf-common";
|
4
|
+
import { defineStore as Hn } from "pinia";
|
5
5
|
import { components as Vn } from "@feedmepos/ui-library";
|
6
6
|
const Ve = [
|
7
7
|
{
|
@@ -10,7 +10,7 @@ const Ve = [
|
|
10
10
|
meta: {
|
11
11
|
sidebarDisplay: "Restaurants"
|
12
12
|
},
|
13
|
-
component: () => import("./Restaurant-
|
13
|
+
component: () => import("./Restaurant-E-KrKN8f.js")
|
14
14
|
},
|
15
15
|
{
|
16
16
|
path: "/admin/restaurants/:restaurantId",
|
@@ -19,7 +19,7 @@ const Ve = [
|
|
19
19
|
meta: {
|
20
20
|
parent: "mf-payment-admin.restaurant"
|
21
21
|
},
|
22
|
-
component: () => import("./RestaurantSetting-
|
22
|
+
component: () => import("./RestaurantSetting-B0n1_tSv.js")
|
23
23
|
},
|
24
24
|
{
|
25
25
|
path: "/admin/payout-accounts",
|
@@ -27,7 +27,7 @@ const Ve = [
|
|
27
27
|
meta: {
|
28
28
|
sidebarDisplay: "Payout Accounts"
|
29
29
|
},
|
30
|
-
component: () => import("./PayoutAccount-
|
30
|
+
component: () => import("./PayoutAccount-g2FDE-px.js")
|
31
31
|
},
|
32
32
|
{
|
33
33
|
path: "/admin/payout-accounts/:accountId",
|
@@ -36,7 +36,7 @@ const Ve = [
|
|
36
36
|
meta: {
|
37
37
|
parent: "mf-payment-admin.payout-account"
|
38
38
|
},
|
39
|
-
component: () => import("./PayoutAccountSetting-
|
39
|
+
component: () => import("./PayoutAccountSetting-Ma0Kk96H.js")
|
40
40
|
},
|
41
41
|
{
|
42
42
|
path: "/admin/terminal",
|
@@ -44,7 +44,7 @@ const Ve = [
|
|
44
44
|
meta: {
|
45
45
|
sidebarDisplay: "Terminals"
|
46
46
|
},
|
47
|
-
component: () => import("./Terminal-
|
47
|
+
component: () => import("./Terminal-BsEhnhbP.js")
|
48
48
|
},
|
49
49
|
{
|
50
50
|
path: "/admin/terminal/:terminalId",
|
@@ -53,7 +53,7 @@ const Ve = [
|
|
53
53
|
meta: {
|
54
54
|
parent: "mf-payment-admin.terminal"
|
55
55
|
},
|
56
|
-
component: () => import("./TerminalSetting-
|
56
|
+
component: () => import("./TerminalSetting-DaxogFY0.js")
|
57
57
|
},
|
58
58
|
{
|
59
59
|
path: "/admin/terminal-transaction",
|
@@ -61,7 +61,7 @@ const Ve = [
|
|
61
61
|
meta: {
|
62
62
|
sidebarDisplay: "Terminal Transactions"
|
63
63
|
},
|
64
|
-
component: () => import("./TerminalTransaction-
|
64
|
+
component: () => import("./TerminalTransaction-BVoXsl_B.js")
|
65
65
|
},
|
66
66
|
{
|
67
67
|
path: "/admin/transaction",
|
@@ -69,7 +69,7 @@ const Ve = [
|
|
69
69
|
meta: {
|
70
70
|
sidebarDisplay: "Online Transactions"
|
71
71
|
},
|
72
|
-
component: () => import("./Transaction-
|
72
|
+
component: () => import("./Transaction-f7MyYTeG.js")
|
73
73
|
},
|
74
74
|
{
|
75
75
|
path: "/admin/settlement",
|
@@ -77,7 +77,7 @@ const Ve = [
|
|
77
77
|
meta: {
|
78
78
|
sidebarDisplay: "Settlements"
|
79
79
|
},
|
80
|
-
component: () => import("./Settlement-
|
80
|
+
component: () => import("./Settlement-C7bSbTBb.js")
|
81
81
|
},
|
82
82
|
{
|
83
83
|
path: "/admin/settlement/:settlementId",
|
@@ -86,7 +86,7 @@ const Ve = [
|
|
86
86
|
meta: {
|
87
87
|
parent: "mf-payment-admin.settlement"
|
88
88
|
},
|
89
|
-
component: () => import("./SettlementTransactions-
|
89
|
+
component: () => import("./SettlementTransactions-Wq5NIhMx.js")
|
90
90
|
}
|
91
91
|
], Ge = [
|
92
92
|
{
|
@@ -96,7 +96,7 @@ const Ve = [
|
|
96
96
|
{
|
97
97
|
path: "/payout-account",
|
98
98
|
name: "mf-payment-payout-account",
|
99
|
-
component: () => import("./PayoutAccount-
|
99
|
+
component: () => import("./PayoutAccount-Br3Cug44.js"),
|
100
100
|
meta: {
|
101
101
|
sidebarDisplay: "Payout Accounts"
|
102
102
|
}
|
@@ -104,7 +104,7 @@ const Ve = [
|
|
104
104
|
{
|
105
105
|
path: "/transaction-old",
|
106
106
|
name: "mf-payment-old-transaction",
|
107
|
-
component: () => import("./TransactionOld-
|
107
|
+
component: () => import("./TransactionOld-Dg1VfoPL.js"),
|
108
108
|
meta: {
|
109
109
|
sidebarDisplay: "Transactions"
|
110
110
|
}
|
@@ -116,12 +116,12 @@ const Ve = [
|
|
116
116
|
sidebarDisplay: "Terminal Transactions",
|
117
117
|
sidebarNew: !0
|
118
118
|
},
|
119
|
-
component: () => import("./TerminalTransaction-
|
119
|
+
component: () => import("./TerminalTransaction-Dg9akSQ7.js")
|
120
120
|
},
|
121
121
|
{
|
122
122
|
path: "/transaction",
|
123
123
|
name: "mf-payment-transaction",
|
124
|
-
component: () => import("./Transaction-
|
124
|
+
component: () => import("./Transaction-CWsdRULE.js"),
|
125
125
|
meta: {
|
126
126
|
sidebarDisplay: "Online Transactions",
|
127
127
|
sidebarNew: !0
|
@@ -130,7 +130,7 @@ const Ve = [
|
|
130
130
|
{
|
131
131
|
path: "/settlement",
|
132
132
|
name: "mf-payment-settlement",
|
133
|
-
component: () => import("./Settlement-
|
133
|
+
component: () => import("./Settlement-D-2hI9k8.js"),
|
134
134
|
meta: {
|
135
135
|
sidebarDisplay: "Settlements"
|
136
136
|
}
|
@@ -139,12 +139,12 @@ const Ve = [
|
|
139
139
|
path: "/settlement/:settlementId",
|
140
140
|
name: "mf-payment-settlement-transaction",
|
141
141
|
props: !0,
|
142
|
-
component: () => import("./SettlementTransactions-
|
142
|
+
component: () => import("./SettlementTransactions-D8UziVjz.js"),
|
143
143
|
meta: {
|
144
144
|
parent: "mf-payment-settlement"
|
145
145
|
}
|
146
146
|
}
|
147
|
-
], Gn =
|
147
|
+
], Gn = Hn("mf-payment-iframe", () => {
|
148
148
|
const n = {
|
149
149
|
isIframe: !1
|
150
150
|
}, e = Lt(() => n);
|
@@ -156,7 +156,7 @@ const Ve = [
|
|
156
156
|
init: t
|
157
157
|
};
|
158
158
|
});
|
159
|
-
var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_51cbc7e2-d798-4552-b2f5-805dba4f3b5d", 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_51cbc7e2-d798-4552-b2f5-805dba4f3b5d", 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_ollFKeLacMXQ8d5TyioPCYgjjaTwCy02JWy5", 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: "709", 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:6473", 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: "12621972427", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "309c2ee48bf58746be1874578c3238df7fa7a38b", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6ZWY5MGJjMmQtZDA1Yi00NTljLTlmY2YtMDY3MTg5YTczMTlkOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMDQ3IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46ZWY5MGJjMmQtZDA1Yi00NTljLTlmY2YtMDY3MTg5YTczMTlkOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMDQ3IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiMWM1YmY0OTAtZTMxOC00ZDFmLTg3MzUtNjdiNmZhNzcyNWM4Iiwic2lkIjoiNmVmYWVjMWItMzRjZi00YzNhLWE0MWMtMDBjMjk3YTAzZWQ4IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCIzMDljMmVlNDhiZjU4NzQ2YmUxODc0NTc4YzMyMzhkZjdmYTdhMzhiXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjEyNjIxOTcyNDI3XCIsXCJydW5fbnVtYmVyXCI6XCIxMlwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCIzMDljMmVlNDhiZjU4NzQ2YmUxODc0NTc4YzMyMzhkZjdmYTdhMzhiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjMwOWMyZWU0OGJmNTg3NDZiZTE4NzQ1NzhjMzIzOGRmN2ZhN2EzOGJcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiJlZjkwYmMyZC1kMDViLTQ1OWMtOWZjZi0wNjcxODlhNzMxOWQuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzYxMDExNzUsImV4cCI6MTczNjEyMzk3NX0.gbjOlkrU1cnBWg9TBnn-zTHXPpuXVAqfhWZTzNz_h06cqRQsDCtumbb0Od4iHcK2epOL-dS5d1UheHxnCUGouukRBC8jmAPaEmNXj-aginPNOL5Myh5JOpy_PzPuGyfzfq1rEGJiL_kOjdWVa0ypXGwuJWWs20yp13IBBXsOxSyUoaopzMZwZT7dHEz8prM5E1tyAuAhv_ouFGOaay0fT_dj49FKYR2wAwVOAMlh-G-l28Qsxt1GcKj5I4lcsecGPbDnt0q4B6exvhYnV3QwcKiAMgaXa7s1W5MHMhefTbKzIt1zX7kbsxZD0DXqjiIoQNR5Qs9Yx8o3MWqUXomqog", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1736101838814-0.11181666025844517:/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--1736101838625-0.42131347071880776:/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--1736101838445-0.8545170430956208:/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_6c3af62d-08db-48d9-b13e-2fe872dfb719", INVOCATION_ID: "fc6294bd77574aa0ba1c0e2be826f33a", 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: "12", 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 427", 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.8", 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: "309c2ee48bf58746be1874578c3238df7fa7a38b", 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_51cbc7e2-d798-4552-b2f5-805dba4f3b5d", 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/ef90bc2d-d05b-459c-9fcf-067189a7319d/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_51cbc7e2-d798-4552-b2f5-805dba4f3b5d", 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_51cbc7e2-d798-4552-b2f5-805dba4f3b5d", 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" };
|
159
|
+
var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_989b75e7-60cf-4620-8c2e-aa3a674418bb", 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_989b75e7-60cf-4620-8c2e-aa3a674418bb", 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_SFEZ2Kt8OLtfMmSoYDjPm80P0jtOQT3Ub0ez", 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: "708", 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:7194", 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: "12622149738", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2c2fbef2b69250f00acf2b6a447d816d1f1a7eb9", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6NDU2NTBmOWMtMDYzYi00OTkxLWE2OTAtM2I1NjcxMzVjMTgyOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMDUyIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46NDU2NTBmOWMtMDYzYi00OTkxLWE2OTAtM2I1NjcxMzVjMTgyOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMDUyIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiZWUxNjE4M2QtZWI4ZC00NDhjLTkwNjEtOTgxOGQ4NWMwZDU4Iiwic2lkIjoiOWUwODgwYjAtM2UzMy00Y2FjLWE1OTItZGVlNjE1YWFiM2E1IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCIyYzJmYmVmMmI2OTI1MGYwMGFjZjJiNmE0NDdkODE2ZDFmMWE3ZWI5XCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjEyNjIyMTQ5NzM4XCIsXCJydW5fbnVtYmVyXCI6XCIxNFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCIyYzJmYmVmMmI2OTI1MGYwMGFjZjJiNmE0NDdkODE2ZDFmMWE3ZWI5XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjJjMmZiZWYyYjY5MjUwZjAwYWNmMmI2YTQ0N2Q4MTZkMWYxYTdlYjlcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiI0NTY1MGY5Yy0wNjNiLTQ5OTEtYTY5MC0zYjU2NzEzNWMxODIuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzYxMDI5NjksImV4cCI6MTczNjEyNTc2OX0.kGGY6Y94gsI8s3IiyeTrYl51dyXw87FcubEEHNdEh2wWMy0pjmvC-LszgjJP1BH-IYwXOkQ9y6xZawLg2lkbLB3IVgFSXJajtVkJ2AwR9-bPddiWutdTeZZFPnzYvn5J6w-Vrko-iUlmsrJ063ZmuG66ajdekQXjUeN-YSlXeOLah6UlQeKfHPDL2xnJnJ9DEwqsheVNi99wtPelHF8RNZH9ctqpX10FTHUVx4jTHjRp8BfC1Olj6Wf_Gf0q-ssW5smfPLUPT-o1604Wa3UnUR0Ic87w2lyQzIupRRy9xiy18QdjrBxqxW-XFC51dmEtk01gzccT0ygR62eIqtlV4A", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1736103619670-0.36149349504839456:/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--1736103619514-0.17511444214373428:/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--1736103619357-0.46767590024978656:/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_b9f58d2c-ff67-4ffa-a3d5-5f662638f312", INVOCATION_ID: "20fd9dbcc7154dfd96361ee32bf46d2a", 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: "14", 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 423", 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.9", 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: "2c2fbef2b69250f00acf2b6a447d816d1f1a7eb9", 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_989b75e7-60cf-4620-8c2e-aa3a674418bb", 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/45650f9c-063b-4991-a690-3b567135c182/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_989b75e7-60cf-4620-8c2e-aa3a674418bb", 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_989b75e7-60cf-4620-8c2e-aa3a674418bb", 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" };
|
160
160
|
/**
|
161
161
|
* @license
|
162
162
|
* Copyright 2017 Google LLC
|
@@ -200,7 +200,7 @@ const jt = function(n) {
|
|
200
200
|
}
|
201
201
|
}
|
202
202
|
return e.join("");
|
203
|
-
},
|
203
|
+
}, Ft = {
|
204
204
|
/**
|
205
205
|
* Maps bytes to characters.
|
206
206
|
*/
|
@@ -260,8 +260,8 @@ const jt = function(n) {
|
|
260
260
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
261
261
|
for (let i = 0; i < n.length; i += 3) {
|
262
262
|
const s = n[i], o = i + 1 < n.length, a = o ? n[i + 1] : 0, c = i + 2 < n.length, l = c ? n[i + 2] : 0, u = s >> 2, p = (s & 3) << 4 | a >> 4;
|
263
|
-
let m = (a & 15) << 2 | l >> 6,
|
264
|
-
c || (
|
263
|
+
let m = (a & 15) << 2 | l >> 6, I = l & 63;
|
264
|
+
c || (I = 64, o || (m = 64)), r.push(t[u], t[p], t[m], t[I]);
|
265
265
|
}
|
266
266
|
return r.join("");
|
267
267
|
},
|
@@ -315,8 +315,8 @@ const jt = function(n) {
|
|
315
315
|
throw new $n();
|
316
316
|
const m = s << 2 | a >> 4;
|
317
317
|
if (r.push(m), l !== 64) {
|
318
|
-
const
|
319
|
-
if (r.push(
|
318
|
+
const I = a << 4 & 240 | l >> 2;
|
319
|
+
if (r.push(I), p !== 64) {
|
320
320
|
const x = l << 6 & 192 | p;
|
321
321
|
r.push(x);
|
322
322
|
}
|
@@ -342,14 +342,14 @@ class $n extends Error {
|
|
342
342
|
super(...arguments), this.name = "DecodeBase64StringError";
|
343
343
|
}
|
344
344
|
}
|
345
|
-
const
|
345
|
+
const Jn = function(n) {
|
346
346
|
const e = jt(n);
|
347
|
-
return
|
347
|
+
return Ft.encodeByteArray(e, !0);
|
348
348
|
}, le = function(n) {
|
349
|
-
return
|
350
|
-
},
|
349
|
+
return Jn(n).replace(/\./g, "");
|
350
|
+
}, Ht = function(n) {
|
351
351
|
try {
|
352
|
-
return
|
352
|
+
return Ft.decodeString(n, !0);
|
353
353
|
} catch (e) {
|
354
354
|
console.error("base64Decode failed: ", e);
|
355
355
|
}
|
@@ -371,7 +371,7 @@ const Zn = function(n) {
|
|
371
371
|
* See the License for the specific language governing permissions and
|
372
372
|
* limitations under the License.
|
373
373
|
*/
|
374
|
-
function
|
374
|
+
function Zn() {
|
375
375
|
if (typeof self < "u")
|
376
376
|
return self;
|
377
377
|
if (typeof window < "u")
|
@@ -396,7 +396,7 @@ function Jn() {
|
|
396
396
|
* See the License for the specific language governing permissions and
|
397
397
|
* limitations under the License.
|
398
398
|
*/
|
399
|
-
const Xn = () =>
|
399
|
+
const Xn = () => Zn().__FIREBASE_DEFAULTS__, Yn = () => {
|
400
400
|
if (typeof process > "u" || typeof at > "u")
|
401
401
|
return;
|
402
402
|
const n = at.__FIREBASE_DEFAULTS__;
|
@@ -411,7 +411,7 @@ const Xn = () => Jn().__FIREBASE_DEFAULTS__, Yn = () => {
|
|
411
411
|
} catch {
|
412
412
|
return;
|
413
413
|
}
|
414
|
-
const e = n &&
|
414
|
+
const e = n && Ht(n[1]);
|
415
415
|
return e && JSON.parse(e);
|
416
416
|
}, ze = () => {
|
417
417
|
try {
|
@@ -1088,7 +1088,7 @@ const gr = {
|
|
1088
1088
|
warn: h.WARN,
|
1089
1089
|
error: h.ERROR,
|
1090
1090
|
silent: h.SILENT
|
1091
|
-
},
|
1091
|
+
}, Ir = h.INFO, vr = {
|
1092
1092
|
[h.DEBUG]: "log",
|
1093
1093
|
[h.VERBOSE]: "log",
|
1094
1094
|
[h.INFO]: "info",
|
@@ -1097,7 +1097,7 @@ const gr = {
|
|
1097
1097
|
}, br = (n, e, ...t) => {
|
1098
1098
|
if (e < n.logLevel)
|
1099
1099
|
return;
|
1100
|
-
const r = (/* @__PURE__ */ new Date()).toISOString(), i =
|
1100
|
+
const r = (/* @__PURE__ */ new Date()).toISOString(), i = vr[e];
|
1101
1101
|
if (i)
|
1102
1102
|
console[i](`[${r}] ${n.name}:`, ...t);
|
1103
1103
|
else
|
@@ -1111,7 +1111,7 @@ class $t {
|
|
1111
1111
|
* @param name The name that the logs will be associated with
|
1112
1112
|
*/
|
1113
1113
|
constructor(e) {
|
1114
|
-
this.name = e, this._logLevel =
|
1114
|
+
this.name = e, this._logLevel = Ir, this._logHandler = br, this._userLogHandler = null;
|
1115
1115
|
}
|
1116
1116
|
get logLevel() {
|
1117
1117
|
return this._logLevel;
|
@@ -1176,7 +1176,7 @@ function Tr() {
|
|
1176
1176
|
IDBCursor.prototype.continuePrimaryKey
|
1177
1177
|
]);
|
1178
1178
|
}
|
1179
|
-
const
|
1179
|
+
const Jt = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), Zt = /* @__PURE__ */ new WeakMap(), ke = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
|
1180
1180
|
function wr(n) {
|
1181
1181
|
const e = new Promise((t, r) => {
|
1182
1182
|
const i = () => {
|
@@ -1189,7 +1189,7 @@ function wr(n) {
|
|
1189
1189
|
n.addEventListener("success", s), n.addEventListener("error", o);
|
1190
1190
|
});
|
1191
1191
|
return e.then((t) => {
|
1192
|
-
t instanceof IDBCursor &&
|
1192
|
+
t instanceof IDBCursor && Jt.set(t, n);
|
1193
1193
|
}).catch(() => {
|
1194
1194
|
}), $e.set(e, n), e;
|
1195
1195
|
}
|
@@ -1214,7 +1214,7 @@ let Le = {
|
|
1214
1214
|
if (e === "done")
|
1215
1215
|
return Me.get(n);
|
1216
1216
|
if (e === "objectStoreNames")
|
1217
|
-
return n.objectStoreNames ||
|
1217
|
+
return n.objectStoreNames || Zt.get(n);
|
1218
1218
|
if (e === "store")
|
1219
1219
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1220
1220
|
}
|
@@ -1230,28 +1230,28 @@ let Le = {
|
|
1230
1230
|
function kr(n) {
|
1231
1231
|
Le = n(Le);
|
1232
1232
|
}
|
1233
|
-
function
|
1233
|
+
function Sr(n) {
|
1234
1234
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1235
|
-
const r = n.call(
|
1236
|
-
return
|
1235
|
+
const r = n.call(Se(this), e, ...t);
|
1236
|
+
return Zt.set(r, e.sort ? e.sort() : [e]), N(r);
|
1237
1237
|
} : Tr().includes(n) ? function(...e) {
|
1238
|
-
return n.apply(
|
1238
|
+
return n.apply(Se(this), e), N(Jt.get(this));
|
1239
1239
|
} : function(...e) {
|
1240
|
-
return N(n.apply(
|
1240
|
+
return N(n.apply(Se(this), e));
|
1241
1241
|
};
|
1242
1242
|
}
|
1243
|
-
function
|
1244
|
-
return typeof n == "function" ?
|
1243
|
+
function Ar(n) {
|
1244
|
+
return typeof n == "function" ? Sr(n) : (n instanceof IDBTransaction && Rr(n), yr(n, Er()) ? new Proxy(n, Le) : n);
|
1245
1245
|
}
|
1246
1246
|
function N(n) {
|
1247
1247
|
if (n instanceof IDBRequest)
|
1248
1248
|
return wr(n);
|
1249
1249
|
if (ke.has(n))
|
1250
1250
|
return ke.get(n);
|
1251
|
-
const e =
|
1251
|
+
const e = Ar(n);
|
1252
1252
|
return e !== n && (ke.set(n, e), $e.set(e, n)), e;
|
1253
1253
|
}
|
1254
|
-
const
|
1254
|
+
const Se = (n) => $e.get(n);
|
1255
1255
|
function Or(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1256
1256
|
const o = indexedDB.open(n, e), a = N(o);
|
1257
1257
|
return r && o.addEventListener("upgradeneeded", (c) => {
|
@@ -1266,12 +1266,12 @@ function Or(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1266
1266
|
}).catch(() => {
|
1267
1267
|
}), a;
|
1268
1268
|
}
|
1269
|
-
const Cr = ["get", "getKey", "getAll", "getAllKeys", "count"], Nr = ["put", "add", "delete", "clear"],
|
1269
|
+
const Cr = ["get", "getKey", "getAll", "getAllKeys", "count"], Nr = ["put", "add", "delete", "clear"], Ae = /* @__PURE__ */ new Map();
|
1270
1270
|
function ut(n, e) {
|
1271
1271
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
1272
1272
|
return;
|
1273
|
-
if (
|
1274
|
-
return
|
1273
|
+
if (Ae.get(e))
|
1274
|
+
return Ae.get(e);
|
1275
1275
|
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = Nr.includes(t);
|
1276
1276
|
if (
|
1277
1277
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
@@ -1286,7 +1286,7 @@ function ut(n, e) {
|
|
1286
1286
|
i && c.done
|
1287
1287
|
]))[0];
|
1288
1288
|
};
|
1289
|
-
return
|
1289
|
+
return Ae.set(e, s), s;
|
1290
1290
|
}
|
1291
1291
|
kr((n) => ({
|
1292
1292
|
...n,
|
@@ -1346,7 +1346,7 @@ const Ue = "@firebase/app", ht = "0.10.13";
|
|
1346
1346
|
* See the License for the specific language governing permissions and
|
1347
1347
|
* limitations under the License.
|
1348
1348
|
*/
|
1349
|
-
const T = new $t("@firebase/app"), Mr = "@firebase/app-compat", Lr = "@firebase/analytics-compat", Ur = "@firebase/analytics", Br = "@firebase/app-check-compat", xr = "@firebase/app-check", Wr = "@firebase/auth", jr = "@firebase/auth-compat",
|
1349
|
+
const T = new $t("@firebase/app"), Mr = "@firebase/app-compat", Lr = "@firebase/analytics-compat", Ur = "@firebase/analytics", Br = "@firebase/app-check-compat", xr = "@firebase/app-check", Wr = "@firebase/auth", jr = "@firebase/auth-compat", Fr = "@firebase/database", Hr = "@firebase/data-connect", Vr = "@firebase/database-compat", Gr = "@firebase/functions", zr = "@firebase/functions-compat", $r = "@firebase/installations", Jr = "@firebase/installations-compat", Zr = "@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";
|
1350
1350
|
/**
|
1351
1351
|
* @license
|
1352
1352
|
* Copyright 2019 Google LLC
|
@@ -1372,14 +1372,14 @@ const Be = "[DEFAULT]", ai = {
|
|
1372
1372
|
[Br]: "fire-app-check-compat",
|
1373
1373
|
[Wr]: "fire-auth",
|
1374
1374
|
[jr]: "fire-auth-compat",
|
1375
|
-
[
|
1376
|
-
[
|
1375
|
+
[Fr]: "fire-rtdb",
|
1376
|
+
[Hr]: "fire-data-connect",
|
1377
1377
|
[Vr]: "fire-rtdb-compat",
|
1378
1378
|
[Gr]: "fire-fn",
|
1379
1379
|
[zr]: "fire-fn-compat",
|
1380
1380
|
[$r]: "fire-iid",
|
1381
|
-
[
|
1382
|
-
[
|
1381
|
+
[Jr]: "fire-iid-compat",
|
1382
|
+
[Zr]: "fire-fcm",
|
1383
1383
|
[Xr]: "fire-fcm-compat",
|
1384
1384
|
[Yr]: "fire-perf",
|
1385
1385
|
[Kr]: "fire-perf-compat",
|
@@ -1432,7 +1432,7 @@ function Xt(n, e) {
|
|
1432
1432
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1433
1433
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1434
1434
|
}
|
1435
|
-
function
|
1435
|
+
function v(n) {
|
1436
1436
|
return n.settings !== void 0;
|
1437
1437
|
}
|
1438
1438
|
/**
|
@@ -1684,7 +1684,7 @@ class gi {
|
|
1684
1684
|
constructor(e) {
|
1685
1685
|
this.container = e, this._heartbeatsCache = null;
|
1686
1686
|
const t = this.container.getProvider("app").getImmediate();
|
1687
|
-
this._storage = new
|
1687
|
+
this._storage = new vi(t), this._heartbeatsCachePromise = this._storage.read().then((r) => (this._heartbeatsCache = r, r));
|
1688
1688
|
}
|
1689
1689
|
/**
|
1690
1690
|
* Called to report a heartbeat. The function will generate
|
@@ -1717,7 +1717,7 @@ class gi {
|
|
1717
1717
|
try {
|
1718
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)
|
1719
1719
|
return "";
|
1720
|
-
const t = mt(), { heartbeatsToSend: r, unsentEntries: i } =
|
1720
|
+
const t = mt(), { heartbeatsToSend: r, unsentEntries: i } = Ii(this._heartbeatsCache.heartbeats), s = le(JSON.stringify({ version: 2, heartbeats: r }));
|
1721
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;
|
1722
1722
|
} catch (t) {
|
1723
1723
|
return T.warn(t), "";
|
@@ -1727,7 +1727,7 @@ class gi {
|
|
1727
1727
|
function mt() {
|
1728
1728
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
1729
1729
|
}
|
1730
|
-
function
|
1730
|
+
function Ii(n, e = mi) {
|
1731
1731
|
const t = [];
|
1732
1732
|
let r = n.slice();
|
1733
1733
|
for (const i of n) {
|
@@ -1751,7 +1751,7 @@ function vi(n, e = mi) {
|
|
1751
1751
|
unsentEntries: r
|
1752
1752
|
};
|
1753
1753
|
}
|
1754
|
-
class
|
1754
|
+
class vi {
|
1755
1755
|
constructor(e) {
|
1756
1756
|
this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
|
1757
1757
|
}
|
@@ -1859,7 +1859,7 @@ var gt = function() {
|
|
1859
1859
|
return e;
|
1860
1860
|
}, gt.apply(this, arguments);
|
1861
1861
|
};
|
1862
|
-
function
|
1862
|
+
function Je(n, e) {
|
1863
1863
|
var t = {};
|
1864
1864
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
|
1865
1865
|
if (n != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -1913,10 +1913,10 @@ function se(n, ...e) {
|
|
1913
1913
|
* limitations under the License.
|
1914
1914
|
*/
|
1915
1915
|
function w(n, ...e) {
|
1916
|
-
throw
|
1916
|
+
throw Ze(n, ...e);
|
1917
1917
|
}
|
1918
1918
|
function _(n, ...e) {
|
1919
|
-
return
|
1919
|
+
return Ze(n, ...e);
|
1920
1920
|
}
|
1921
1921
|
function tn(n, e, t) {
|
1922
1922
|
const r = Object.assign(Object.assign({}, Ti()), { [e]: t });
|
@@ -1927,7 +1927,7 @@ function tn(n, e, t) {
|
|
1927
1927
|
function P(n) {
|
1928
1928
|
return tn(n, "operation-not-supported-in-this-environment", "Operations that alter the current user are not supported in conjunction with FirebaseServerApp");
|
1929
1929
|
}
|
1930
|
-
function
|
1930
|
+
function Ze(n, ...e) {
|
1931
1931
|
if (typeof n != "string") {
|
1932
1932
|
const t = e[0], r = [...e.slice(1)];
|
1933
1933
|
return r[0] && (r[0].appName = n.name), n._errorFactory.create(t, ...r);
|
@@ -1936,7 +1936,7 @@ function Je(n, ...e) {
|
|
1936
1936
|
}
|
1937
1937
|
function d(n, e, ...t) {
|
1938
1938
|
if (!n)
|
1939
|
-
throw
|
1939
|
+
throw Ze(e, ...t);
|
1940
1940
|
}
|
1941
1941
|
function b(n) {
|
1942
1942
|
const e = "INTERNAL ASSERTION FAILED: " + n;
|
@@ -1966,9 +1966,9 @@ function We() {
|
|
1966
1966
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
1967
1967
|
}
|
1968
1968
|
function Ri() {
|
1969
|
-
return
|
1969
|
+
return It() === "http:" || It() === "https:";
|
1970
1970
|
}
|
1971
|
-
function
|
1971
|
+
function It() {
|
1972
1972
|
var n;
|
1973
1973
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.protocol) || null;
|
1974
1974
|
}
|
@@ -1996,7 +1996,7 @@ function ki() {
|
|
1996
1996
|
// defines navigator.connection.
|
1997
1997
|
(Ri() || tr() || "connection" in navigator) ? navigator.onLine : !0;
|
1998
1998
|
}
|
1999
|
-
function
|
1999
|
+
function Si() {
|
2000
2000
|
if (typeof navigator > "u")
|
2001
2001
|
return null;
|
2002
2002
|
const n = navigator;
|
@@ -2123,7 +2123,7 @@ class nn {
|
|
2123
2123
|
* See the License for the specific language governing permissions and
|
2124
2124
|
* limitations under the License.
|
2125
2125
|
*/
|
2126
|
-
const
|
2126
|
+
const Ai = {
|
2127
2127
|
// Custom token errors.
|
2128
2128
|
CREDENTIAL_MISMATCH: "custom-token-mismatch",
|
2129
2129
|
// This can only happen if the SDK sends a bad request.
|
@@ -2241,7 +2241,7 @@ async function $(n, e, t, r, i = {}) {
|
|
2241
2241
|
}
|
2242
2242
|
async function rn(n, e, t) {
|
2243
2243
|
n._canInitEmulator = !1;
|
2244
|
-
const r = Object.assign(Object.assign({},
|
2244
|
+
const r = Object.assign(Object.assign({}, Ai), e);
|
2245
2245
|
try {
|
2246
2246
|
const i = new Ci(n), s = await Promise.race([
|
2247
2247
|
t(),
|
@@ -2342,7 +2342,7 @@ async function an(n, e) {
|
|
2342
2342
|
* See the License for the specific language governing permissions and
|
2343
2343
|
* limitations under the License.
|
2344
2344
|
*/
|
2345
|
-
function
|
2345
|
+
function Z(n) {
|
2346
2346
|
if (n)
|
2347
2347
|
try {
|
2348
2348
|
const e = new Date(Number(n));
|
@@ -2363,9 +2363,9 @@ async function Di(n, e = !1) {
|
|
2363
2363
|
return {
|
2364
2364
|
claims: i,
|
2365
2365
|
token: r,
|
2366
|
-
authTime:
|
2367
|
-
issuedAtTime:
|
2368
|
-
expirationTime:
|
2366
|
+
authTime: Z(Ce(i.auth_time)),
|
2367
|
+
issuedAtTime: Z(Ce(i.iat)),
|
2368
|
+
expirationTime: Z(Ce(i.exp)),
|
2369
2369
|
signInProvider: o || null,
|
2370
2370
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2371
2371
|
};
|
@@ -2378,13 +2378,13 @@ function Ye(n) {
|
|
2378
2378
|
if (e === void 0 || t === void 0 || r === void 0)
|
2379
2379
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2380
2380
|
try {
|
2381
|
-
const i =
|
2381
|
+
const i = Ht(t);
|
2382
2382
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2383
2383
|
} catch (i) {
|
2384
2384
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2385
2385
|
}
|
2386
2386
|
}
|
2387
|
-
function
|
2387
|
+
function vt(n) {
|
2388
2388
|
const e = Ye(n);
|
2389
2389
|
return d(
|
2390
2390
|
e,
|
@@ -2511,7 +2511,7 @@ class je {
|
|
2511
2511
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2512
2512
|
}
|
2513
2513
|
_initializeTime() {
|
2514
|
-
this.lastSignInTime =
|
2514
|
+
this.lastSignInTime = Z(this.lastLoginAt), this.creationTime = Z(this.createdAt);
|
2515
2515
|
}
|
2516
2516
|
_copy(e) {
|
2517
2517
|
this.createdAt = e.createdAt, this.lastLoginAt = e.lastLoginAt, this._initializeTime();
|
@@ -2573,7 +2573,7 @@ function Ui(n, e) {
|
|
2573
2573
|
}
|
2574
2574
|
function cn(n) {
|
2575
2575
|
return n.map((e) => {
|
2576
|
-
var { providerId: t } = e, r =
|
2576
|
+
var { providerId: t } = e, r = Je(e, ["providerId"]);
|
2577
2577
|
return {
|
2578
2578
|
providerId: t,
|
2579
2579
|
uid: r.rawId || "",
|
@@ -2640,7 +2640,7 @@ async function xi(n, e) {
|
|
2640
2640
|
* See the License for the specific language governing permissions and
|
2641
2641
|
* limitations under the License.
|
2642
2642
|
*/
|
2643
|
-
class
|
2643
|
+
class F {
|
2644
2644
|
constructor() {
|
2645
2645
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2646
2646
|
}
|
@@ -2661,7 +2661,7 @@ class H {
|
|
2661
2661
|
"internal-error"
|
2662
2662
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2663
2663
|
);
|
2664
|
-
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) :
|
2664
|
+
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : vt(e.idToken);
|
2665
2665
|
this.updateTokensAndExpiration(e.idToken, e.refreshToken, t);
|
2666
2666
|
}
|
2667
2667
|
updateFromIdToken(e) {
|
@@ -2670,7 +2670,7 @@ class H {
|
|
2670
2670
|
"internal-error"
|
2671
2671
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2672
2672
|
);
|
2673
|
-
const t =
|
2673
|
+
const t = vt(e);
|
2674
2674
|
this.updateTokensAndExpiration(e, null, t);
|
2675
2675
|
}
|
2676
2676
|
async getToken(e, t = !1) {
|
@@ -2692,7 +2692,7 @@ class H {
|
|
2692
2692
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
2693
2693
|
}
|
2694
2694
|
static fromJSON(e, t) {
|
2695
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, o = new
|
2695
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, o = new F();
|
2696
2696
|
return r && (d(typeof r == "string", "internal-error", {
|
2697
2697
|
appName: e
|
2698
2698
|
}), o.refreshToken = r), i && (d(typeof i == "string", "internal-error", {
|
@@ -2712,7 +2712,7 @@ class H {
|
|
2712
2712
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
2713
2713
|
}
|
2714
2714
|
_clone() {
|
2715
|
-
return Object.assign(new
|
2715
|
+
return Object.assign(new F(), this.toJSON());
|
2716
2716
|
}
|
2717
2717
|
_performRefresh() {
|
2718
2718
|
return b("not implemented");
|
@@ -2739,7 +2739,7 @@ function k(n, e) {
|
|
2739
2739
|
}
|
2740
2740
|
class y {
|
2741
2741
|
constructor(e) {
|
2742
|
-
var { uid: t, auth: r, stsTokenManager: i } = e, s =
|
2742
|
+
var { uid: t, auth: r, stsTokenManager: i } = e, s = Je(e, ["uid", "auth", "stsTokenManager"]);
|
2743
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 je(s.createdAt || void 0, s.lastLoginAt || void 0);
|
2744
2744
|
}
|
2745
2745
|
async getIdToken(e) {
|
@@ -2791,7 +2791,7 @@ class y {
|
|
2791
2791
|
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await pe(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
|
2792
2792
|
}
|
2793
2793
|
async delete() {
|
2794
|
-
if (
|
2794
|
+
if (v(this.auth.app))
|
2795
2795
|
return Promise.reject(P(this.auth));
|
2796
2796
|
const e = await this.getIdToken();
|
2797
2797
|
return await K(this, Ni(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
@@ -2822,14 +2822,14 @@ class y {
|
|
2822
2822
|
}
|
2823
2823
|
static _fromJSON(e, t) {
|
2824
2824
|
var r, i, s, o, a, c, l, u;
|
2825
|
-
const p = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0,
|
2825
|
+
const p = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, I = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, x = (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;
|
2826
2826
|
d(
|
2827
2827
|
Ee && ot,
|
2828
2828
|
e,
|
2829
2829
|
"internal-error"
|
2830
2830
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2831
2831
|
);
|
2832
|
-
const Pn =
|
2832
|
+
const Pn = F.fromJSON(this.name, ot);
|
2833
2833
|
d(
|
2834
2834
|
typeof Ee == "string",
|
2835
2835
|
e,
|
@@ -2845,7 +2845,7 @@ class y {
|
|
2845
2845
|
e,
|
2846
2846
|
"internal-error"
|
2847
2847
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2848
|
-
), k(
|
2848
|
+
), k(I, e.name), k(x, e.name), k(tt, e.name), k(ye, e.name), k(nt, e.name), k(rt, e.name);
|
2849
2849
|
const we = new y({
|
2850
2850
|
uid: Ee,
|
2851
2851
|
auth: e,
|
@@ -2854,7 +2854,7 @@ class y {
|
|
2854
2854
|
displayName: p,
|
2855
2855
|
isAnonymous: st,
|
2856
2856
|
photoURL: x,
|
2857
|
-
phoneNumber:
|
2857
|
+
phoneNumber: I,
|
2858
2858
|
tenantId: tt,
|
2859
2859
|
stsTokenManager: Pn,
|
2860
2860
|
createdAt: nt,
|
@@ -2868,7 +2868,7 @@ class y {
|
|
2868
2868
|
* @param idTokenResponse
|
2869
2869
|
*/
|
2870
2870
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
2871
|
-
const i = new
|
2871
|
+
const i = new F();
|
2872
2872
|
i.updateFromServerResponse(t);
|
2873
2873
|
const s = new y({
|
2874
2874
|
uid: t.localId,
|
@@ -2890,7 +2890,7 @@ class y {
|
|
2890
2890
|
"internal-error"
|
2891
2891
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2892
2892
|
);
|
2893
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], o = !(i.email && i.passwordHash) && !(s != null && s.length), a = new
|
2893
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], o = !(i.email && i.passwordHash) && !(s != null && s.length), a = new F();
|
2894
2894
|
a.updateFromIdToken(r);
|
2895
2895
|
const c = new y({
|
2896
2896
|
uid: i.localId,
|
@@ -2993,7 +2993,7 @@ const yt = ln;
|
|
2993
2993
|
function oe(n, e, t) {
|
2994
2994
|
return `firebase:${n}:${e}:${t}`;
|
2995
2995
|
}
|
2996
|
-
class
|
2996
|
+
class H {
|
2997
2997
|
constructor(e, t, r) {
|
2998
2998
|
this.persistence = e, this.auth = t, this.userKey = r;
|
2999
2999
|
const { config: i, name: s } = this.auth;
|
@@ -3024,7 +3024,7 @@ class F {
|
|
3024
3024
|
}
|
3025
3025
|
static async create(e, t, r = "authUser") {
|
3026
3026
|
if (!t.length)
|
3027
|
-
return new
|
3027
|
+
return new H(E(yt), e, r);
|
3028
3028
|
const i = (await Promise.all(t.map(async (l) => {
|
3029
3029
|
if (await l._isAvailable())
|
3030
3030
|
return l;
|
@@ -3043,13 +3043,13 @@ class F {
|
|
3043
3043
|
} catch {
|
3044
3044
|
}
|
3045
3045
|
const c = i.filter((l) => l._shouldAllowMigration);
|
3046
|
-
return !s._shouldAllowMigration || !c.length ? new
|
3046
|
+
return !s._shouldAllowMigration || !c.length ? new H(s, e, r) : (s = c[0], a && await s._set(o, a.toJSON()), await Promise.all(t.map(async (l) => {
|
3047
3047
|
if (l !== s)
|
3048
3048
|
try {
|
3049
3049
|
await l._remove(o);
|
3050
3050
|
} catch {
|
3051
3051
|
}
|
3052
|
-
})), new
|
3052
|
+
})), new H(s, e, r));
|
3053
3053
|
}
|
3054
3054
|
}
|
3055
3055
|
/**
|
@@ -3150,7 +3150,7 @@ function gn(n = f()) {
|
|
3150
3150
|
* See the License for the specific language governing permissions and
|
3151
3151
|
* limitations under the License.
|
3152
3152
|
*/
|
3153
|
-
function
|
3153
|
+
function In(n, e = []) {
|
3154
3154
|
let t;
|
3155
3155
|
switch (n) {
|
3156
3156
|
case "Browser":
|
@@ -3181,7 +3181,7 @@ function vn(n, e = []) {
|
|
3181
3181
|
* See the License for the specific language governing permissions and
|
3182
3182
|
* limitations under the License.
|
3183
3183
|
*/
|
3184
|
-
class
|
3184
|
+
class Fi {
|
3185
3185
|
constructor(e) {
|
3186
3186
|
this.auth = e, this.queue = [];
|
3187
3187
|
}
|
@@ -3236,7 +3236,7 @@ class Hi {
|
|
3236
3236
|
* See the License for the specific language governing permissions and
|
3237
3237
|
* limitations under the License.
|
3238
3238
|
*/
|
3239
|
-
async function
|
3239
|
+
async function Hi(n, e = {}) {
|
3240
3240
|
return $(n, "GET", "/v2/passwordPolicy", ge(n, e));
|
3241
3241
|
}
|
3242
3242
|
/**
|
@@ -3345,12 +3345,12 @@ class Gi {
|
|
3345
3345
|
*/
|
3346
3346
|
class zi {
|
3347
3347
|
constructor(e, t, r, i) {
|
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
|
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 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;
|
3349
3349
|
}
|
3350
3350
|
_initializeWithPersistence(e, t) {
|
3351
3351
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3352
3352
|
var r, i;
|
3353
|
-
if (!this._deleted && (this.persistenceManager = await
|
3353
|
+
if (!this._deleted && (this.persistenceManager = await H.create(this, e), !this._deleted)) {
|
3354
3354
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3355
3355
|
try {
|
3356
3356
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3389,7 +3389,7 @@ class zi {
|
|
3389
3389
|
}
|
3390
3390
|
async initializeCurrentUser(e) {
|
3391
3391
|
var t;
|
3392
|
-
if (
|
3392
|
+
if (v(this.app)) {
|
3393
3393
|
const o = this.app.settings.authIdToken;
|
3394
3394
|
return o ? new Promise((a) => {
|
3395
3395
|
setTimeout(() => this.initializeCurrentUserFromIdToken(o).then(a, a));
|
@@ -3439,13 +3439,13 @@ class zi {
|
|
3439
3439
|
return this.directlySetCurrentUser(e);
|
3440
3440
|
}
|
3441
3441
|
useDeviceLanguage() {
|
3442
|
-
this.languageCode =
|
3442
|
+
this.languageCode = Si();
|
3443
3443
|
}
|
3444
3444
|
async _delete() {
|
3445
3445
|
this._deleted = !0;
|
3446
3446
|
}
|
3447
3447
|
async updateCurrentUser(e) {
|
3448
|
-
if (
|
3448
|
+
if (v(this.app))
|
3449
3449
|
return Promise.reject(P(this));
|
3450
3450
|
const t = e ? z(e) : null;
|
3451
3451
|
return t && d(
|
@@ -3467,14 +3467,14 @@ class zi {
|
|
3467
3467
|
});
|
3468
3468
|
}
|
3469
3469
|
async signOut() {
|
3470
|
-
return
|
3470
|
+
return v(this.app) ? Promise.reject(P(this)) : (await this.beforeStateQueue.runMiddleware(null), (this.redirectPersistenceManager || this._popupRedirectResolver) && await this._setRedirectUser(null), this._updateCurrentUser(
|
3471
3471
|
null,
|
3472
3472
|
/* skipBeforeStateCallbacks */
|
3473
3473
|
!0
|
3474
3474
|
));
|
3475
3475
|
}
|
3476
3476
|
setPersistence(e) {
|
3477
|
-
return
|
3477
|
+
return v(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
|
3478
3478
|
await this.assertedPersistence.setPersistence(E(e));
|
3479
3479
|
});
|
3480
3480
|
}
|
@@ -3490,7 +3490,7 @@ class zi {
|
|
3490
3490
|
return this.tenantId === null ? this._projectPasswordPolicy : this._tenantPasswordPolicies[this.tenantId];
|
3491
3491
|
}
|
3492
3492
|
async _updatePasswordPolicy() {
|
3493
|
-
const e = await
|
3493
|
+
const e = await Hi(this), t = new Gi(e);
|
3494
3494
|
this.tenantId === null ? this._projectPasswordPolicy = t : this._tenantPasswordPolicies[this.tenantId] = t;
|
3495
3495
|
}
|
3496
3496
|
_getPersistence() {
|
@@ -3554,7 +3554,7 @@ class zi {
|
|
3554
3554
|
this,
|
3555
3555
|
"argument-error"
|
3556
3556
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3557
|
-
), this.redirectPersistenceManager = await
|
3557
|
+
), this.redirectPersistenceManager = await H.create(
|
3558
3558
|
this,
|
3559
3559
|
[E(t._redirectPersistence)],
|
3560
3560
|
"redirectUser"
|
@@ -3643,7 +3643,7 @@ class zi {
|
|
3643
3643
|
), this.persistenceManager;
|
3644
3644
|
}
|
3645
3645
|
_logFramework(e) {
|
3646
|
-
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion =
|
3646
|
+
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion = In(this.config.clientPlatform, this._getFrameworks()));
|
3647
3647
|
}
|
3648
3648
|
_getFrameworks() {
|
3649
3649
|
return this.frameworks;
|
@@ -3676,7 +3676,7 @@ class zi {
|
|
3676
3676
|
return t != null && t.error && wi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
3677
3677
|
}
|
3678
3678
|
}
|
3679
|
-
function
|
3679
|
+
function Ie(n) {
|
3680
3680
|
return z(n);
|
3681
3681
|
}
|
3682
3682
|
class Tt {
|
@@ -3719,10 +3719,10 @@ let qe = {
|
|
3719
3719
|
function $i(n) {
|
3720
3720
|
qe = n;
|
3721
3721
|
}
|
3722
|
-
function
|
3722
|
+
function Ji(n) {
|
3723
3723
|
return qe.loadJS(n);
|
3724
3724
|
}
|
3725
|
-
function
|
3725
|
+
function Zi() {
|
3726
3726
|
return qe.gapiScript;
|
3727
3727
|
}
|
3728
3728
|
function Xi(n) {
|
@@ -3763,7 +3763,7 @@ function Ki(n, e) {
|
|
3763
3763
|
e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
|
3764
3764
|
}
|
3765
3765
|
function qi(n, e, t) {
|
3766
|
-
const r =
|
3766
|
+
const r = Ie(n);
|
3767
3767
|
d(
|
3768
3768
|
r._canInitEmulator,
|
3769
3769
|
r,
|
@@ -3775,7 +3775,7 @@ function qi(n, e, t) {
|
|
3775
3775
|
"invalid-emulator-scheme"
|
3776
3776
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
3777
3777
|
);
|
3778
|
-
const i = !1, s =
|
3778
|
+
const i = !1, s = vn(e), { host: o, port: a } = Qi(e), c = a === null ? "" : `:${a}`;
|
3779
3779
|
r.config.emulator = { url: `${s}//${o}${c}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
3780
3780
|
host: o,
|
3781
3781
|
port: a,
|
@@ -3783,12 +3783,12 @@ function qi(n, e, t) {
|
|
3783
3783
|
options: Object.freeze({ disableWarnings: i })
|
3784
3784
|
}), es();
|
3785
3785
|
}
|
3786
|
-
function
|
3786
|
+
function vn(n) {
|
3787
3787
|
const e = n.indexOf(":");
|
3788
3788
|
return e < 0 ? "" : n.substr(0, e + 1);
|
3789
3789
|
}
|
3790
3790
|
function Qi(n) {
|
3791
|
-
const e =
|
3791
|
+
const e = vn(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
3792
3792
|
if (!t)
|
3793
3793
|
return { host: "", port: null };
|
3794
3794
|
const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
|
@@ -3925,7 +3925,7 @@ class U extends bn {
|
|
3925
3925
|
* @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
|
3926
3926
|
*/
|
3927
3927
|
static fromJSON(e) {
|
3928
|
-
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s =
|
3928
|
+
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = Je(t, ["providerId", "signInMethod"]);
|
3929
3929
|
if (!r || !i)
|
3930
3930
|
return null;
|
3931
3931
|
const o = new U(r, i);
|
@@ -4064,7 +4064,7 @@ class ne extends yn {
|
|
4064
4064
|
* See the License for the specific language governing permissions and
|
4065
4065
|
* limitations under the License.
|
4066
4066
|
*/
|
4067
|
-
class
|
4067
|
+
class S extends ne {
|
4068
4068
|
constructor() {
|
4069
4069
|
super(
|
4070
4070
|
"facebook.com"
|
@@ -4085,8 +4085,8 @@ class A extends ne {
|
|
4085
4085
|
*/
|
4086
4086
|
static credential(e) {
|
4087
4087
|
return U._fromParams({
|
4088
|
-
providerId:
|
4089
|
-
signInMethod:
|
4088
|
+
providerId: S.PROVIDER_ID,
|
4089
|
+
signInMethod: S.FACEBOOK_SIGN_IN_METHOD,
|
4090
4090
|
accessToken: e
|
4091
4091
|
});
|
4092
4092
|
}
|
@@ -4096,7 +4096,7 @@ class A extends ne {
|
|
4096
4096
|
* @param userCredential - The user credential.
|
4097
4097
|
*/
|
4098
4098
|
static credentialFromResult(e) {
|
4099
|
-
return
|
4099
|
+
return S.credentialFromTaggedObject(e);
|
4100
4100
|
}
|
4101
4101
|
/**
|
4102
4102
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4105,20 +4105,20 @@ class A extends ne {
|
|
4105
4105
|
* @param userCredential - The user credential.
|
4106
4106
|
*/
|
4107
4107
|
static credentialFromError(e) {
|
4108
|
-
return
|
4108
|
+
return S.credentialFromTaggedObject(e.customData || {});
|
4109
4109
|
}
|
4110
4110
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4111
4111
|
if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
|
4112
4112
|
return null;
|
4113
4113
|
try {
|
4114
|
-
return
|
4114
|
+
return S.credential(e.oauthAccessToken);
|
4115
4115
|
} catch {
|
4116
4116
|
return null;
|
4117
4117
|
}
|
4118
4118
|
}
|
4119
4119
|
}
|
4120
|
-
|
4121
|
-
|
4120
|
+
S.FACEBOOK_SIGN_IN_METHOD = "facebook.com";
|
4121
|
+
S.PROVIDER_ID = "facebook.com";
|
4122
4122
|
/**
|
4123
4123
|
* @license
|
4124
4124
|
* Copyright 2020 Google LLC
|
@@ -4135,7 +4135,7 @@ A.PROVIDER_ID = "facebook.com";
|
|
4135
4135
|
* See the License for the specific language governing permissions and
|
4136
4136
|
* limitations under the License.
|
4137
4137
|
*/
|
4138
|
-
class
|
4138
|
+
class A extends ne {
|
4139
4139
|
constructor() {
|
4140
4140
|
super(
|
4141
4141
|
"google.com"
|
@@ -4157,8 +4157,8 @@ class S extends ne {
|
|
4157
4157
|
*/
|
4158
4158
|
static credential(e, t) {
|
4159
4159
|
return U._fromParams({
|
4160
|
-
providerId:
|
4161
|
-
signInMethod:
|
4160
|
+
providerId: A.PROVIDER_ID,
|
4161
|
+
signInMethod: A.GOOGLE_SIGN_IN_METHOD,
|
4162
4162
|
idToken: e,
|
4163
4163
|
accessToken: t
|
4164
4164
|
});
|
@@ -4169,7 +4169,7 @@ class S extends ne {
|
|
4169
4169
|
* @param userCredential - The user credential.
|
4170
4170
|
*/
|
4171
4171
|
static credentialFromResult(e) {
|
4172
|
-
return
|
4172
|
+
return A.credentialFromTaggedObject(e);
|
4173
4173
|
}
|
4174
4174
|
/**
|
4175
4175
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4178,7 +4178,7 @@ class S extends ne {
|
|
4178
4178
|
* @param userCredential - The user credential.
|
4179
4179
|
*/
|
4180
4180
|
static credentialFromError(e) {
|
4181
|
-
return
|
4181
|
+
return A.credentialFromTaggedObject(e.customData || {});
|
4182
4182
|
}
|
4183
4183
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4184
4184
|
if (!e)
|
@@ -4187,14 +4187,14 @@ class S extends ne {
|
|
4187
4187
|
if (!t && !r)
|
4188
4188
|
return null;
|
4189
4189
|
try {
|
4190
|
-
return
|
4190
|
+
return A.credential(t, r);
|
4191
4191
|
} catch {
|
4192
4192
|
return null;
|
4193
4193
|
}
|
4194
4194
|
}
|
4195
4195
|
}
|
4196
|
-
|
4197
|
-
|
4196
|
+
A.GOOGLE_SIGN_IN_METHOD = "google.com";
|
4197
|
+
A.PROVIDER_ID = "google.com";
|
4198
4198
|
/**
|
4199
4199
|
* @license
|
4200
4200
|
* Copyright 2020 Google LLC
|
@@ -4432,7 +4432,7 @@ async function ns(n, e, t = !1) {
|
|
4432
4432
|
*/
|
4433
4433
|
async function rs(n, e, t = !1) {
|
4434
4434
|
const { auth: r } = n;
|
4435
|
-
if (
|
4435
|
+
if (v(r.app))
|
4436
4436
|
return Promise.reject(P(r));
|
4437
4437
|
const i = "reauthenticate";
|
4438
4438
|
try {
|
@@ -4482,7 +4482,7 @@ async function rs(n, e, t = !1) {
|
|
4482
4482
|
* limitations under the License.
|
4483
4483
|
*/
|
4484
4484
|
async function is(n, e, t = !1) {
|
4485
|
-
if (
|
4485
|
+
if (v(n.app))
|
4486
4486
|
return Promise.reject(P(n));
|
4487
4487
|
const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
|
4488
4488
|
return t || await n._updateCurrentUser(s.user), s;
|
@@ -4523,9 +4523,9 @@ async function ss(n, e) {
|
|
4523
4523
|
* limitations under the License.
|
4524
4524
|
*/
|
4525
4525
|
async function os(n, e) {
|
4526
|
-
if (
|
4526
|
+
if (v(n.app))
|
4527
4527
|
return Promise.reject(P(n));
|
4528
|
-
const t =
|
4528
|
+
const t = Ie(n), r = await ss(t, {
|
4529
4529
|
token: e,
|
4530
4530
|
returnSecureToken: !0
|
4531
4531
|
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
@@ -4754,7 +4754,7 @@ function hs(n) {
|
|
4754
4754
|
* See the License for the specific language governing permissions and
|
4755
4755
|
* limitations under the License.
|
4756
4756
|
*/
|
4757
|
-
class
|
4757
|
+
class ve {
|
4758
4758
|
constructor(e) {
|
4759
4759
|
this.eventTarget = e, this.handlersMap = {}, this.boundEventHandler = this.handleEvent.bind(this);
|
4760
4760
|
}
|
@@ -4768,7 +4768,7 @@ class Ie {
|
|
4768
4768
|
const t = this.receivers.find((i) => i.isListeningto(e));
|
4769
4769
|
if (t)
|
4770
4770
|
return t;
|
4771
|
-
const r = new
|
4771
|
+
const r = new ve(e);
|
4772
4772
|
return this.receivers.push(r), r;
|
4773
4773
|
}
|
4774
4774
|
isListeningto(e) {
|
@@ -4822,7 +4822,7 @@ class Ie {
|
|
4822
4822
|
this.handlersMap[e] && t && this.handlersMap[e].delete(t), (!t || this.handlersMap[e].size === 0) && delete this.handlersMap[e], Object.keys(this.handlersMap).length === 0 && this.eventTarget.removeEventListener("message", this.boundEventHandler);
|
4823
4823
|
}
|
4824
4824
|
}
|
4825
|
-
|
4825
|
+
ve.receivers = [];
|
4826
4826
|
/**
|
4827
4827
|
* @license
|
4828
4828
|
* Copyright 2020 Google LLC
|
@@ -4980,7 +4980,7 @@ function fs(n) {
|
|
4980
4980
|
* See the License for the specific language governing permissions and
|
4981
4981
|
* limitations under the License.
|
4982
4982
|
*/
|
4983
|
-
function
|
4983
|
+
function Sn() {
|
4984
4984
|
return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
|
4985
4985
|
}
|
4986
4986
|
async function ms() {
|
@@ -4997,7 +4997,7 @@ function _s() {
|
|
4997
4997
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
4998
4998
|
}
|
4999
4999
|
function gs() {
|
5000
|
-
return
|
5000
|
+
return Sn() ? self : null;
|
5001
5001
|
}
|
5002
5002
|
/**
|
5003
5003
|
* @license
|
@@ -5015,7 +5015,7 @@ function gs() {
|
|
5015
5015
|
* See the License for the specific language governing permissions and
|
5016
5016
|
* limitations under the License.
|
5017
5017
|
*/
|
5018
|
-
const
|
5018
|
+
const An = "firebaseLocalStorageDb", Is = 1, _e = "firebaseLocalStorage", On = "fbase_key";
|
5019
5019
|
class re {
|
5020
5020
|
constructor(e) {
|
5021
5021
|
this.request = e;
|
@@ -5033,12 +5033,12 @@ class re {
|
|
5033
5033
|
function be(n, e) {
|
5034
5034
|
return n.transaction([_e], e ? "readwrite" : "readonly").objectStore(_e);
|
5035
5035
|
}
|
5036
|
-
function
|
5037
|
-
const n = indexedDB.deleteDatabase(
|
5036
|
+
function vs() {
|
5037
|
+
const n = indexedDB.deleteDatabase(An);
|
5038
5038
|
return new re(n).toPromise();
|
5039
5039
|
}
|
5040
|
-
function
|
5041
|
-
const n = indexedDB.open(
|
5040
|
+
function Fe() {
|
5041
|
+
const n = indexedDB.open(An, Is);
|
5042
5042
|
return new Promise((e, t) => {
|
5043
5043
|
n.addEventListener("error", () => {
|
5044
5044
|
t(n.error);
|
@@ -5051,7 +5051,7 @@ function He() {
|
|
5051
5051
|
}
|
5052
5052
|
}), n.addEventListener("success", async () => {
|
5053
5053
|
const r = n.result;
|
5054
|
-
r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await
|
5054
|
+
r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await vs(), e(await Fe()));
|
5055
5055
|
});
|
5056
5056
|
});
|
5057
5057
|
}
|
@@ -5066,7 +5066,7 @@ async function bs(n, e) {
|
|
5066
5066
|
const t = be(n, !1).get(e), r = await new re(t).toPromise();
|
5067
5067
|
return r === void 0 ? null : r.value;
|
5068
5068
|
}
|
5069
|
-
function
|
5069
|
+
function St(n, e) {
|
5070
5070
|
const t = be(n, !0).delete(e);
|
5071
5071
|
return new re(t).toPromise();
|
5072
5072
|
}
|
@@ -5078,7 +5078,7 @@ class Cn {
|
|
5078
5078
|
});
|
5079
5079
|
}
|
5080
5080
|
async _openDb() {
|
5081
|
-
return this.db ? this.db : (this.db = await
|
5081
|
+
return this.db ? this.db : (this.db = await Fe(), this.db);
|
5082
5082
|
}
|
5083
5083
|
async _withRetries(e) {
|
5084
5084
|
let t = 0;
|
@@ -5097,13 +5097,13 @@ class Cn {
|
|
5097
5097
|
* postMessage interface to send these events to the worker ourselves.
|
5098
5098
|
*/
|
5099
5099
|
async initializeServiceWorkerMessaging() {
|
5100
|
-
return
|
5100
|
+
return Sn() ? this.initializeReceiver() : this.initializeSender();
|
5101
5101
|
}
|
5102
5102
|
/**
|
5103
5103
|
* As the worker we should listen to events from the main window.
|
5104
5104
|
*/
|
5105
5105
|
async initializeReceiver() {
|
5106
|
-
this.receiver =
|
5106
|
+
this.receiver = ve._getInstance(gs()), this.receiver._subscribe("keyChanged", async (e, t) => ({
|
5107
5107
|
keyProcessed: (await this._poll()).includes(t.key)
|
5108
5108
|
})), this.receiver._subscribe("ping", async (e, t) => [
|
5109
5109
|
"keyChanged"
|
@@ -5159,8 +5159,8 @@ class Cn {
|
|
5159
5159
|
try {
|
5160
5160
|
if (!indexedDB)
|
5161
5161
|
return !1;
|
5162
|
-
const e = await
|
5163
|
-
return await kt(e, me, "1"), await
|
5162
|
+
const e = await Fe();
|
5163
|
+
return await kt(e, me, "1"), await St(e, me), !0;
|
5164
5164
|
} catch {
|
5165
5165
|
}
|
5166
5166
|
return !1;
|
@@ -5181,7 +5181,7 @@ class Cn {
|
|
5181
5181
|
return this.localCache[e] = t, t;
|
5182
5182
|
}
|
5183
5183
|
async _remove(e) {
|
5184
|
-
return this._withPendingWrite(async () => (await this._withRetries((t) =>
|
5184
|
+
return this._withPendingWrite(async () => (await this._withRetries((t) => St(t, e)), delete this.localCache[e], this.notifyServiceWorker(e)));
|
5185
5185
|
}
|
5186
5186
|
async _poll() {
|
5187
5187
|
const e = await this._withRetries((i) => {
|
@@ -5305,7 +5305,7 @@ function ks(n) {
|
|
5305
5305
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5306
5306
|
), rs(t, new et(n), n.bypassAuthState);
|
5307
5307
|
}
|
5308
|
-
async function
|
5308
|
+
async function Ss(n) {
|
5309
5309
|
const { auth: e, user: t } = n;
|
5310
5310
|
return d(
|
5311
5311
|
t,
|
@@ -5375,7 +5375,7 @@ class Nn {
|
|
5375
5375
|
return Rs;
|
5376
5376
|
case "linkViaPopup":
|
5377
5377
|
case "linkViaRedirect":
|
5378
|
-
return
|
5378
|
+
return Ss;
|
5379
5379
|
case "reauthViaPopup":
|
5380
5380
|
case "reauthViaRedirect":
|
5381
5381
|
return ks;
|
@@ -5413,7 +5413,7 @@ class Nn {
|
|
5413
5413
|
* See the License for the specific language governing permissions and
|
5414
5414
|
* limitations under the License.
|
5415
5415
|
*/
|
5416
|
-
const
|
5416
|
+
const As = new te(2e3, 1e4);
|
5417
5417
|
class W extends Nn {
|
5418
5418
|
constructor(e, t, r, i, s) {
|
5419
5419
|
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, W.currentPopupAction && W.currentPopupAction.cancel(), W.currentPopupAction = this;
|
@@ -5477,7 +5477,7 @@ class W extends Nn {
|
|
5477
5477
|
);
|
5478
5478
|
return;
|
5479
5479
|
}
|
5480
|
-
this.pollId = window.setTimeout(e,
|
5480
|
+
this.pollId = window.setTimeout(e, As.get());
|
5481
5481
|
};
|
5482
5482
|
e();
|
5483
5483
|
}
|
@@ -5563,9 +5563,9 @@ function Ms(n) {
|
|
5563
5563
|
return oe(Os, n.config.apiKey, n.name);
|
5564
5564
|
}
|
5565
5565
|
async function Ls(n, e, t = !1) {
|
5566
|
-
if (
|
5566
|
+
if (v(n.app))
|
5567
5567
|
return Promise.reject(P(n));
|
5568
|
-
const r =
|
5568
|
+
const r = Ie(n), i = ws(r, e), o = await new Cs(r, i, t).execute();
|
5569
5569
|
return o && !t && (delete o.user._redirectEventId, await r._persistUserIfCurrent(o.user), await r._setRedirectUser(null, e)), o;
|
5570
5570
|
}
|
5571
5571
|
/**
|
@@ -5616,13 +5616,13 @@ class Bs {
|
|
5616
5616
|
return t.filter.includes(e.type) && r;
|
5617
5617
|
}
|
5618
5618
|
hasEventBeenHandled(e) {
|
5619
|
-
return Date.now() - this.lastProcessedEventTime >= Us && this.cachedEventUids.clear(), this.cachedEventUids.has(
|
5619
|
+
return Date.now() - this.lastProcessedEventTime >= Us && this.cachedEventUids.clear(), this.cachedEventUids.has(At(e));
|
5620
5620
|
}
|
5621
5621
|
saveEventToCache(e) {
|
5622
|
-
this.cachedEventUids.add(
|
5622
|
+
this.cachedEventUids.add(At(e)), this.lastProcessedEventTime = Date.now();
|
5623
5623
|
}
|
5624
5624
|
}
|
5625
|
-
function
|
5625
|
+
function At(n) {
|
5626
5626
|
return [n.type, n.eventId, n.sessionId, n.tenantId].filter((e) => e).join("-");
|
5627
5627
|
}
|
5628
5628
|
function Dn({ type: n, error: e }) {
|
@@ -5675,8 +5675,8 @@ async function Ws(n, e = {}) {
|
|
5675
5675
|
* See the License for the specific language governing permissions and
|
5676
5676
|
* limitations under the License.
|
5677
5677
|
*/
|
5678
|
-
const js = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,
|
5679
|
-
async function
|
5678
|
+
const js = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Fs = /^https?/;
|
5679
|
+
async function Hs(n) {
|
5680
5680
|
if (n.config.emulator)
|
5681
5681
|
return;
|
5682
5682
|
const { authorizedDomains: e } = await Ws(n);
|
@@ -5698,7 +5698,7 @@ function Vs(n) {
|
|
5698
5698
|
const o = new URL(n);
|
5699
5699
|
return o.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && o.hostname === r;
|
5700
5700
|
}
|
5701
|
-
if (!
|
5701
|
+
if (!Fs.test(t))
|
5702
5702
|
return !1;
|
5703
5703
|
if (js.test(n))
|
5704
5704
|
return r === n;
|
@@ -5761,7 +5761,7 @@ function zs(n) {
|
|
5761
5761
|
"network-request-failed"
|
5762
5762
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
5763
5763
|
));
|
5764
|
-
},
|
5764
|
+
}, Ji(`${Zi()}?onload=${a}`).catch((c) => t(c));
|
5765
5765
|
}
|
5766
5766
|
}).catch((e) => {
|
5767
5767
|
throw ce = null, e;
|
@@ -5787,7 +5787,7 @@ function $s(n) {
|
|
5787
5787
|
* See the License for the specific language governing permissions and
|
5788
5788
|
* limitations under the License.
|
5789
5789
|
*/
|
5790
|
-
const
|
5790
|
+
const Js = new te(5e3, 15e3), Zs = "__/auth/iframe", Xs = "emulator/auth/iframe", Ys = {
|
5791
5791
|
style: {
|
5792
5792
|
position: "absolute",
|
5793
5793
|
top: "-100px",
|
@@ -5810,7 +5810,7 @@ function qs(n) {
|
|
5810
5810
|
"auth-domain-config-required"
|
5811
5811
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
5812
5812
|
);
|
5813
|
-
const t = e.emulator ? Xe(e, Xs) : `https://${n.config.authDomain}/${
|
5813
|
+
const t = e.emulator ? Xe(e, Xs) : `https://${n.config.authDomain}/${Zs}`, r = {
|
5814
5814
|
apiKey: e.apiKey,
|
5815
5815
|
appName: n.name,
|
5816
5816
|
v: ee
|
@@ -5843,7 +5843,7 @@ async function Qs(n) {
|
|
5843
5843
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
5844
5844
|
), a = g().setTimeout(() => {
|
5845
5845
|
s(o);
|
5846
|
-
},
|
5846
|
+
}, Js.get());
|
5847
5847
|
function c() {
|
5848
5848
|
g().clearTimeout(a), i(r);
|
5849
5849
|
}
|
@@ -5896,7 +5896,7 @@ function so(n, e, t, r = to, i = no) {
|
|
5896
5896
|
left: o
|
5897
5897
|
}), l = f().toLowerCase();
|
5898
5898
|
t && (a = hn(l) ? ro : t), dn(l) && (e = e || io, c.scrollbars = "yes");
|
5899
|
-
const u = Object.entries(c).reduce((m, [
|
5899
|
+
const u = Object.entries(c).reduce((m, [I, x]) => `${m}${I}=${x},`, "");
|
5900
5900
|
if (Wi(l) && a !== "_self")
|
5901
5901
|
return oo(e || "", a), new Ct(null);
|
5902
5902
|
const p = window.open(e || "", a, u);
|
@@ -6045,7 +6045,7 @@ class ho {
|
|
6045
6045
|
}
|
6046
6046
|
_originValidation(e) {
|
6047
6047
|
const t = e._key();
|
6048
|
-
return this.originValidationPromises[t] || (this.originValidationPromises[t] =
|
6048
|
+
return this.originValidationPromises[t] || (this.originValidationPromises[t] = Hs(e)), this.originValidationPromises[t];
|
6049
6049
|
}
|
6050
6050
|
get _shouldInitProactively() {
|
6051
6051
|
return gn() || un() || Ke();
|
@@ -6149,7 +6149,7 @@ function _o(n) {
|
|
6149
6149
|
apiHost: "identitytoolkit.googleapis.com",
|
6150
6150
|
tokenApiHost: "securetoken.googleapis.com",
|
6151
6151
|
apiScheme: "https",
|
6152
|
-
sdkClientVersion:
|
6152
|
+
sdkClientVersion: In(n)
|
6153
6153
|
}, l = new zi(r, i, s, c);
|
6154
6154
|
return Ki(l, t), l;
|
6155
6155
|
},
|
@@ -6166,7 +6166,7 @@ function _o(n) {
|
|
6166
6166
|
})), X(new G(
|
6167
6167
|
"auth-internal",
|
6168
6168
|
(e) => {
|
6169
|
-
const t =
|
6169
|
+
const t = Ie(e.getProvider(
|
6170
6170
|
"auth"
|
6171
6171
|
/* _ComponentName.AUTH */
|
6172
6172
|
).getImmediate());
|
@@ -6195,11 +6195,11 @@ function _o(n) {
|
|
6195
6195
|
* See the License for the specific language governing permissions and
|
6196
6196
|
* limitations under the License.
|
6197
6197
|
*/
|
6198
|
-
const go = 5 * 60,
|
6198
|
+
const go = 5 * 60, Io = zt("authIdTokenMaxAge") || go;
|
6199
6199
|
let Mt = null;
|
6200
|
-
const
|
6200
|
+
const vo = (n) => async (e) => {
|
6201
6201
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
6202
|
-
if (r && r >
|
6202
|
+
if (r && r > Io)
|
6203
6203
|
return;
|
6204
6204
|
const i = t == null ? void 0 : t.token;
|
6205
6205
|
Mt !== i && (Mt = i, await fetch(n, {
|
@@ -6224,7 +6224,7 @@ function bo(n = ui()) {
|
|
6224
6224
|
if (r && typeof isSecureContext == "boolean" && isSecureContext) {
|
6225
6225
|
const s = new URL(r, location.origin);
|
6226
6226
|
if (location.origin === s.origin) {
|
6227
|
-
const o =
|
6227
|
+
const o = vo(s.toString());
|
6228
6228
|
cs(t, o, () => o(t.currentUser)), as(t, (a) => o(a));
|
6229
6229
|
}
|
6230
6230
|
}
|
@@ -6268,20 +6268,20 @@ Eo.beforeEach(async (n) => {
|
|
6268
6268
|
currentBusiness: r,
|
6269
6269
|
readRestaurants: i,
|
6270
6270
|
changeRestaurant: s
|
6271
|
-
} =
|
6271
|
+
} = He();
|
6272
6272
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (De || (De = new Promise((o) => {
|
6273
|
-
const a =
|
6273
|
+
const a = J(e, (c) => {
|
6274
6274
|
var l;
|
6275
6275
|
c && (a(), o(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
|
6276
6276
|
});
|
6277
6277
|
})), De) : !r.value || !t.value ? (Pe || (Pe = Promise.all([
|
6278
6278
|
new Promise(async (o) => {
|
6279
|
-
const a =
|
6279
|
+
const a = J(r, (c) => {
|
6280
6280
|
c && (a(), o(!0));
|
6281
6281
|
});
|
6282
6282
|
}),
|
6283
6283
|
new Promise(async (o) => {
|
6284
|
-
const a =
|
6284
|
+
const a = J(t, (l) => {
|
6285
6285
|
l && (a(), o(!0));
|
6286
6286
|
}), c = await i();
|
6287
6287
|
await s(c == null ? void 0 : c.at(0));
|
@@ -6291,8 +6291,8 @@ Eo.beforeEach(async (n) => {
|
|
6291
6291
|
const To = /* @__PURE__ */ Ut({
|
6292
6292
|
__name: "AppSidebar",
|
6293
6293
|
setup(n) {
|
6294
|
-
const e =
|
6295
|
-
|
6294
|
+
const e = He(), t = Bn(), r = xn(t.currentRoute.value.name);
|
6295
|
+
J(t.currentRoute, () => {
|
6296
6296
|
let a = t.currentRoute.value.name;
|
6297
6297
|
t.currentRoute.value.meta.parent && (a = t.currentRoute.value.meta.parent), r.value = a;
|
6298
6298
|
});
|
@@ -6349,16 +6349,16 @@ var wo = { authClientId: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c45748132606
|
|
6349
6349
|
const Do = /* @__PURE__ */ Ut({
|
6350
6350
|
__name: "App",
|
6351
6351
|
setup(n) {
|
6352
|
-
const { state: e } = Gn(), t =
|
6352
|
+
const { state: e } = Gn(), t = He(), r = Yt(wo.firebase);
|
6353
6353
|
async function i() {
|
6354
6354
|
const s = t.sessionUser.value;
|
6355
6355
|
if (!s || !s.token) return;
|
6356
6356
|
const o = await s.getCustomToken(), a = bo(r);
|
6357
6357
|
await os(a, o);
|
6358
6358
|
}
|
6359
|
-
return i(),
|
6359
|
+
return i(), J(t.sessionUser, i), jn(() => {
|
6360
6360
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6361
|
-
}),
|
6361
|
+
}), Fn(() => {
|
6362
6362
|
t.registerSidebarComponent(To);
|
6363
6363
|
}), (s, o) => {
|
6364
6364
|
const a = Bt("RouterView");
|