@feedmepos/mf-payment 1.0.0-beta.10 → 1.0.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js → AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js} +8 -9
- package/dist/{PayoutAccount-B1sLInPk.js → PayoutAccount-C7yVtAJN.js} +5 -5
- package/dist/{PayoutAccount-Dut_OQHJ.js → PayoutAccount-DYb6inY3.js} +4 -4
- package/dist/{PayoutAccountSetting-CmgVLhdp.js → PayoutAccountSetting-BbtOFbsd.js} +161 -183
- package/dist/Restaurant-ewsvVw3P.js +262 -0
- package/dist/RestaurantSetting-PV7MQgzA.js +389 -0
- package/dist/{Settlement-B1-WmCwC.js → Settlement-DsJlFpCC.js} +4 -4
- package/dist/{Settlement-BSOQRlp1.js → Settlement-Hr7jN3EL.js} +4 -4
- package/dist/{SettlementTransactions-JTwD_Vuq.js → SettlementTransactions-Bj5iEg7t.js} +4 -4
- package/dist/{SettlementTransactions-Cqd2raea.js → SettlementTransactions-DlkCmKaU.js} +4 -4
- package/dist/{Terminal-De69bTKY.js → Terminal-D-U0BVTe.js} +121 -108
- package/dist/{TerminalSetting-DlRHaEZh.js → TerminalSetting-JD3sbXOB.js} +3 -3
- package/dist/{TerminalTransaction-BGzVHOHQ.js → TerminalTransaction-Bq_JpLI7.js} +6 -6
- package/dist/{TerminalTransaction-4rE-cikT.js → TerminalTransaction-Df8TxRnY.js} +6 -6
- package/dist/{Transaction-B3ZWKg6Q.js → Transaction-3I58MKe6.js} +5 -5
- package/dist/{Transaction-B_0nUmpf.js → Transaction-BiN_Y8QJ.js} +4 -4
- package/dist/api/restaurant/index.d.ts +6 -0
- package/dist/{app-ssoGt5u4.js → app-C5SdJ3Zi.js} +217 -200
- package/dist/app.js +1 -1
- package/dist/{assets-BCAivOTo.js → assets-DAuQjLW9.js} +1 -1
- package/dist/components/PagingTable/FmTableSelection.vue.d.ts +13 -0
- package/dist/components/PagingTable/index.vue.d.ts +48 -0
- package/dist/{index-4meiCsRz.js → index-1fXAFo2E.js} +31211 -31211
- package/dist/index-BIXuzGa9.js +19 -0
- package/dist/{index-BFYq3eq8.js → index-Cb1zVhcH.js} +1 -1
- package/dist/{index-CbsnpMWl.js → index-DEpszFWF.js} +1 -1
- package/dist/{index-BwFHcZlm.js → index-DdJrUqkm.js} +1 -1
- package/dist/{index-CBa6eapm.js → index-DeU3Qyca.js} +1 -1
- package/dist/{index-CETCXB6X.js → index-DoAIw4wM.js} +1 -1
- package/dist/index-DsLFmVsY.js +28 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-CKOlikHb.js → index.vue_vue_type_script_setup_true_lang-GT2x04Bn.js} +64 -61
- package/dist/package.json +1 -1
- package/dist/{payout-account-02bK8c23.js → payout-account-CdfrmmKa.js} +2 -2
- package/dist/{transaction-COjHU7aN.js → transaction-CYr39Z3P.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/restaurant/Restaurant.vue.d.ts +2 -0
- package/dist/views/admin/restaurant/RestaurantSetting.vue.d.ts +12 -0
- package/dist/views/admin/restaurant/cell/IsActive.vue.d.ts +7 -0
- package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +803 -0
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +56 -0
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +50 -0
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
- package/package.json +1 -1
@@ -1,15 +1,32 @@
|
|
1
|
-
import { createRouter as
|
2
|
-
import { computed as
|
3
|
-
import { useCoreStore as
|
4
|
-
import { defineStore as
|
1
|
+
import { createRouter as Mn, createWebHistory as Un, useRouter as Bn } from "vue-router";
|
2
|
+
import { computed as Mt, watch as J, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as Ft, createBlock as Ht, onMounted as Hn, onBeforeMount as jn } from "vue";
|
3
|
+
import { useCoreStore as We } from "@feedmepos/mf-common";
|
4
|
+
import { defineStore as xn } from "pinia";
|
5
5
|
const Ve = [
|
6
|
+
{
|
7
|
+
path: "/admin/restaurants",
|
8
|
+
name: "mf-payment-admin.restaurant",
|
9
|
+
meta: {
|
10
|
+
sidebarDisplay: "Restaurants"
|
11
|
+
},
|
12
|
+
component: () => import("./Restaurant-ewsvVw3P.js")
|
13
|
+
},
|
14
|
+
{
|
15
|
+
path: "/admin/restaurants/:restaurantId",
|
16
|
+
name: "mf-payment-admin.restaurant-settings",
|
17
|
+
props: !0,
|
18
|
+
meta: {
|
19
|
+
parent: "mf-payment-admin.restaurant"
|
20
|
+
},
|
21
|
+
component: () => import("./RestaurantSetting-PV7MQgzA.js")
|
22
|
+
},
|
6
23
|
{
|
7
24
|
path: "/admin/payout-accounts",
|
8
25
|
name: "mf-payment-admin.payout-account",
|
9
26
|
meta: {
|
10
27
|
sidebarDisplay: "Payout Accounts"
|
11
28
|
},
|
12
|
-
component: () => import("./PayoutAccount-
|
29
|
+
component: () => import("./PayoutAccount-C7yVtAJN.js")
|
13
30
|
},
|
14
31
|
{
|
15
32
|
path: "/admin/payout-accounts/:accountId",
|
@@ -18,7 +35,7 @@ const Ve = [
|
|
18
35
|
meta: {
|
19
36
|
parent: "mf-payment-admin.payout-account"
|
20
37
|
},
|
21
|
-
component: () => import("./PayoutAccountSetting-
|
38
|
+
component: () => import("./PayoutAccountSetting-BbtOFbsd.js")
|
22
39
|
},
|
23
40
|
{
|
24
41
|
path: "/admin/terminal",
|
@@ -26,7 +43,7 @@ const Ve = [
|
|
26
43
|
meta: {
|
27
44
|
sidebarDisplay: "Terminals"
|
28
45
|
},
|
29
|
-
component: () => import("./Terminal-
|
46
|
+
component: () => import("./Terminal-D-U0BVTe.js")
|
30
47
|
},
|
31
48
|
{
|
32
49
|
path: "/admin/terminal/:terminalId",
|
@@ -35,7 +52,7 @@ const Ve = [
|
|
35
52
|
meta: {
|
36
53
|
parent: "mf-payment-admin.terminal"
|
37
54
|
},
|
38
|
-
component: () => import("./TerminalSetting-
|
55
|
+
component: () => import("./TerminalSetting-JD3sbXOB.js")
|
39
56
|
},
|
40
57
|
{
|
41
58
|
path: "/admin/terminal-transaction",
|
@@ -43,7 +60,7 @@ const Ve = [
|
|
43
60
|
meta: {
|
44
61
|
sidebarDisplay: "Terminal Transactions"
|
45
62
|
},
|
46
|
-
component: () => import("./TerminalTransaction-
|
63
|
+
component: () => import("./TerminalTransaction-Bq_JpLI7.js")
|
47
64
|
},
|
48
65
|
{
|
49
66
|
path: "/admin/transaction",
|
@@ -51,7 +68,7 @@ const Ve = [
|
|
51
68
|
meta: {
|
52
69
|
sidebarDisplay: "Online Transactions"
|
53
70
|
},
|
54
|
-
component: () => import("./Transaction-
|
71
|
+
component: () => import("./Transaction-3I58MKe6.js")
|
55
72
|
},
|
56
73
|
{
|
57
74
|
path: "/admin/settlement",
|
@@ -59,7 +76,7 @@ const Ve = [
|
|
59
76
|
meta: {
|
60
77
|
sidebarDisplay: "Settlements"
|
61
78
|
},
|
62
|
-
component: () => import("./Settlement-
|
79
|
+
component: () => import("./Settlement-DsJlFpCC.js")
|
63
80
|
},
|
64
81
|
{
|
65
82
|
path: "/admin/settlement/:settlementId",
|
@@ -68,7 +85,7 @@ const Ve = [
|
|
68
85
|
meta: {
|
69
86
|
parent: "mf-payment-admin.settlement"
|
70
87
|
},
|
71
|
-
component: () => import("./SettlementTransactions-
|
88
|
+
component: () => import("./SettlementTransactions-DlkCmKaU.js")
|
72
89
|
}
|
73
90
|
], Ge = [
|
74
91
|
{
|
@@ -78,7 +95,7 @@ const Ve = [
|
|
78
95
|
{
|
79
96
|
path: "/payout-account",
|
80
97
|
name: "mf-payment-payout-account",
|
81
|
-
component: () => import("./PayoutAccount-
|
98
|
+
component: () => import("./PayoutAccount-DYb6inY3.js"),
|
82
99
|
meta: {
|
83
100
|
sidebarDisplay: "Payout Accounts"
|
84
101
|
}
|
@@ -89,12 +106,12 @@ const Ve = [
|
|
89
106
|
meta: {
|
90
107
|
sidebarDisplay: "Terminal Transactions"
|
91
108
|
},
|
92
|
-
component: () => import("./TerminalTransaction-
|
109
|
+
component: () => import("./TerminalTransaction-Df8TxRnY.js")
|
93
110
|
},
|
94
111
|
{
|
95
112
|
path: "/transaction",
|
96
113
|
name: "mf-payment-transaction",
|
97
|
-
component: () => import("./Transaction-
|
114
|
+
component: () => import("./Transaction-BiN_Y8QJ.js"),
|
98
115
|
meta: {
|
99
116
|
sidebarDisplay: "Online Transactions"
|
100
117
|
}
|
@@ -102,7 +119,7 @@ const Ve = [
|
|
102
119
|
{
|
103
120
|
path: "/settlement",
|
104
121
|
name: "mf-payment-settlement",
|
105
|
-
component: () => import("./Settlement-
|
122
|
+
component: () => import("./Settlement-Hr7jN3EL.js"),
|
106
123
|
meta: {
|
107
124
|
sidebarDisplay: "Settlements"
|
108
125
|
}
|
@@ -111,15 +128,15 @@ const Ve = [
|
|
111
128
|
path: "/settlement/:settlementId",
|
112
129
|
name: "mf-payment-settlement-transaction",
|
113
130
|
props: !0,
|
114
|
-
component: () => import("./SettlementTransactions-
|
131
|
+
component: () => import("./SettlementTransactions-Bj5iEg7t.js"),
|
115
132
|
meta: {
|
116
133
|
parent: "mf-payment-settlement"
|
117
134
|
}
|
118
135
|
}
|
119
|
-
],
|
136
|
+
], Wn = xn("mf-payment-iframe", () => {
|
120
137
|
const n = {
|
121
138
|
isIframe: !1
|
122
|
-
}, e =
|
139
|
+
}, e = Mt(() => n);
|
123
140
|
function t(r) {
|
124
141
|
n.isIframe = r;
|
125
142
|
}
|
@@ -128,7 +145,7 @@ const Ve = [
|
|
128
145
|
init: t
|
129
146
|
};
|
130
147
|
});
|
131
|
-
var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_14604e08-6182-4be8-9b42-2f97ca6d2c81", 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.11.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_14604e08-6182-4be8-9b42-2f97ca6d2c81", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.11.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_Cz6fHfm0HUO1ool1XfKWBwj5WefcUI4NKnAC", 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-ubuntu22", 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: "477", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.2.58", 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: "20241124.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.9/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.3/x64", JOURNAL_STREAM: "8:18352", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", 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: "12081010143", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "9c6ae6f6e0451de00b51dd93cbc1e3c4ef9f79e3", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6MzE4OWE5ZjYtMjRiNi00ZjliLWIzZGYtZGZjZjU2NTBjODhlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC85NDQgRGlzdHJpYnV0ZWRUYXNrLkdlbmVyYXRlSWRUb2tlbjozMTg5YTlmNi0yNGI2LTRmOWItYjNkZi1kZmNmNTY1MGM4OGU6ZTA3NzQyYmQtMTg5YS01MDc5LTkxOGItNDNmOGIyZjk0Yjg5IExvY2F0aW9uU2VydmljZS5Db25uZWN0IFJlYWRBbmRVcGRhdGVCdWlsZEJ5VXJpOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMC8xOkJ1aWxkL0J1aWxkLzk0NCIsIklkZW50aXR5VHlwZUNsYWltIjoiU3lzdGVtOlNlcnZpY2VJZGVudGl0eSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6IkRERERERERELUREREQtRERERC1ERERELURERERERERERERERCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImF1aSI6IjA0ZjkzN2U4LTM2NzItNGI0MC04N2E3LTY1M2U4ZDg1NjY0YiIsInNpZCI6IjY4NTE0OWI2LWFhNmUtNGVlMS05MGU0LTcwZjc3ZDlkNDU4ZSIsImFjIjoiW3tcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJvaWRjX2V4dHJhIjoie1wicmVmXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwic2hhXCI6XCI5YzZhZTZmNmUwNDUxZGUwMGI1MWRkOTNjYmMxZTNjNGVmOWY3OWUzXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjEyMDgxMDEwMTQzXCIsXCJydW5fbnVtYmVyXCI6XCI4NlwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCI5YzZhZTZmNmUwNDUxZGUwMGI1MWRkOTNjYmMxZTNjNGVmOWY3OWUzXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI5YzZhZTZmNmUwNDUxZGUwMGI1MWRkOTNjYmMxZTNjNGVmOWY3OWUzXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiIzMTg5YTlmNi0yNGI2LTRmOWItYjNkZi1kZmNmNTY1MGM4OGUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzI4NjY0MTEsImV4cCI6MTczMjg4OTIxMX0.Y9VMV8stK6WGHECmlrkEF8ItwHG5Ih9ONy7ikMReab9-evW2I6bNi3k7F4rRkLKjNXxJis8oCziyMh0OYn7LZv0uQpaVOQZ1h6tFWAo8n9V2V2XBwRTNp7ukqaz9VEN2qU_GLJEOTPv_BkTvbeJyBboK-xSagBNPxPHrm1d9X54qeKsPYAsXcIzmBZ0rqQaoA3NmzpRjtw-LYRfmWIUD1dWQqyaitADy-_8UNSNyJKlvUErIK0dwKk8ONcWHOXjkitpUdV19w3rX3gBmgNRiOd5D9joPg8GzCAadIqRRxmJfLgVESoC5D-tWqZnc2xlOqHAMglkO8_A3qn0d4YJT2Q", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1732867077964-0.714770248092599:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.11.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1732867077803-0.8665469302218765:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.11.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1732867077643-0.8299968490657568:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.11.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.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.11.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_84fa566f-b875-4aa4-8d31-b7938a7133d7", INVOCATION_ID: "8a53efde82f74a209f062dea598b2f09", 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: "86", 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 313", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.0.0-beta.10", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_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: "9c6ae6f6e0451de00b51dd93cbc1e3c4ef9f79e3", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", 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_14604e08-6182-4be8-9b42-2f97ca6d2c81", JAVA_HOME: "/usr/lib/jvm/temurin-11-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/3189a9f6-24b6-4f9b-b3df-dfcf5650c88e/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_14604e08-6182-4be8-9b42-2f97ca6d2c81", 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", 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_14604e08-6182-4be8-9b42-2f97ca6d2c81", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.6", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
148
|
+
var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_1d318581-5331-47b9-8155-35b76e11ef65", 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.11.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_1d318581-5331-47b9-8155-35b76e11ef65", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.11.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_AblbXIXX2rZXILjqlKLCpgTDGzZCWv395BKc", 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-ubuntu22", 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: "477", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.2.58", 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: "20241124.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.9/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.3/x64", JOURNAL_STREAM: "8:18794", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", 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: "12083535349", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ed08a158362742438acb8fbd58d846051b39e1a4", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6N2Q5ZTQzOTktYTVhMC00ZGJhLWIyYzYtZjk3NThiNGMzNGQyOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC85NDcgRGlzdHJpYnV0ZWRUYXNrLkdlbmVyYXRlSWRUb2tlbjo3ZDllNDM5OS1hNWEwLTRkYmEtYjJjNi1mOTc1OGI0YzM0ZDI6ZTA3NzQyYmQtMTg5YS01MDc5LTkxOGItNDNmOGIyZjk0Yjg5IExvY2F0aW9uU2VydmljZS5Db25uZWN0IFJlYWRBbmRVcGRhdGVCdWlsZEJ5VXJpOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMC8xOkJ1aWxkL0J1aWxkLzk0NyIsIklkZW50aXR5VHlwZUNsYWltIjoiU3lzdGVtOlNlcnZpY2VJZGVudGl0eSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6IkRERERERERELUREREQtRERERC1ERERELURERERERERERERERCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImF1aSI6ImQxYzRiMGRhLTM3Y2UtNDhhNi05YjNkLTM5ZGMxNDFiYmIzNyIsInNpZCI6IjVhMWY2ZmFiLTg5Y2UtNGQ0OS1hZjI5LTE0ODVmYWZmNjRhNSIsImFjIjoiW3tcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJvaWRjX2V4dHJhIjoie1wicmVmXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwic2hhXCI6XCJlZDA4YTE1ODM2Mjc0MjQzOGFjYjhmYmQ1OGQ4NDYwNTFiMzllMWE0XCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjEyMDgzNTM1MzQ5XCIsXCJydW5fbnVtYmVyXCI6XCI4OFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJlZDA4YTE1ODM2Mjc0MjQzOGFjYjhmYmQ1OGQ4NDYwNTFiMzllMWE0XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJlZDA4YTE1ODM2Mjc0MjQzOGFjYjhmYmQ1OGQ4NDYwNTFiMzllMWE0XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI3ZDllNDM5OS1hNWEwLTRkYmEtYjJjNi1mOTc1OGI0YzM0ZDIuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzI4NzczNjEsImV4cCI6MTczMjkwMDE2MX0.Gn4NSHs43pX1iSeuhLPdkQYSMQ_OXGeeWUQoJ6pvhvd30UmYTK12PdL38JrreKmfWseKbrRPi8g4esYJi2yi1KfuYXL9fBeULbVKotDeDKTsgpEe_WtLVx4iFFPgx2FT_RjFAUC1aFYAKXRNDyYLnmsrpL_777xP8EiYYVqiDbkzH9n5Zzq8FH4JTm5L1KZWHwDmT7pCj-oULxUckkbItX7zKA9nVwGdttJ3BnY0b3B59mOOozxHI4PPw82N6EILKPQZrpTeYaNz9EbGHXEgk6fD3a3YmgNJIxaeyTkt1ngy3DohJqYbRIIBIsLDkbGbmDYRO1-ApsNTqu5yTdkxrg", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1732878027854-0.3034146458575877:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.11.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1732878027693-0.23464314490103977:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.11.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1732878027532-0.6251577488045623:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.11.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.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.11.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_364f926a-e34c-4f4f-bc93-041abff849f9", INVOCATION_ID: "c954492e31ed4c0d88f4fa93750f29b9", 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: "88", 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 343", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.0.0-beta.12", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_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: "ed08a158362742438acb8fbd58d846051b39e1a4", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", 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_1d318581-5331-47b9-8155-35b76e11ef65", JAVA_HOME: "/usr/lib/jvm/temurin-11-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/7d9e4399-a5a0-4dba-b2c6-f9758b4c34d2/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_1d318581-5331-47b9-8155-35b76e11ef65", 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", 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_1d318581-5331-47b9-8155-35b76e11ef65", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.6", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
132
149
|
/**
|
133
150
|
* @license
|
134
151
|
* Copyright 2017 Google LLC
|
@@ -145,7 +162,7 @@ var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
145
162
|
* See the License for the specific language governing permissions and
|
146
163
|
* limitations under the License.
|
147
164
|
*/
|
148
|
-
const
|
165
|
+
const jt = function(n) {
|
149
166
|
const e = [];
|
150
167
|
let t = 0;
|
151
168
|
for (let r = 0; r < n.length; r++) {
|
@@ -172,7 +189,7 @@ const xt = function(n) {
|
|
172
189
|
}
|
173
190
|
}
|
174
191
|
return e.join("");
|
175
|
-
},
|
192
|
+
}, xt = {
|
176
193
|
/**
|
177
194
|
* Maps bytes to characters.
|
178
195
|
*/
|
@@ -246,7 +263,7 @@ const xt = function(n) {
|
|
246
263
|
* @return The base64 encoded string.
|
247
264
|
*/
|
248
265
|
encodeString(n, e) {
|
249
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
266
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(jt(n), e);
|
250
267
|
},
|
251
268
|
/**
|
252
269
|
* Base64-decode a string.
|
@@ -289,8 +306,8 @@ const xt = function(n) {
|
|
289
306
|
if (r.push(m), l !== 64) {
|
290
307
|
const v = a << 4 & 240 | l >> 2;
|
291
308
|
if (r.push(v), p !== 64) {
|
292
|
-
const
|
293
|
-
r.push(
|
309
|
+
const F = l << 6 & 192 | p;
|
310
|
+
r.push(F);
|
294
311
|
}
|
295
312
|
}
|
296
313
|
}
|
@@ -315,13 +332,13 @@ class Gn extends Error {
|
|
315
332
|
}
|
316
333
|
}
|
317
334
|
const zn = function(n) {
|
318
|
-
const e =
|
319
|
-
return
|
335
|
+
const e = jt(n);
|
336
|
+
return xt.encodeByteArray(e, !0);
|
320
337
|
}, le = function(n) {
|
321
338
|
return zn(n).replace(/\./g, "");
|
322
|
-
},
|
339
|
+
}, Wt = function(n) {
|
323
340
|
try {
|
324
|
-
return
|
341
|
+
return xt.decodeString(n, !0);
|
325
342
|
} catch (e) {
|
326
343
|
console.error("base64Decode failed: ", e);
|
327
344
|
}
|
@@ -368,13 +385,13 @@ function $n() {
|
|
368
385
|
* See the License for the specific language governing permissions and
|
369
386
|
* limitations under the License.
|
370
387
|
*/
|
371
|
-
const
|
388
|
+
const Jn = () => $n().__FIREBASE_DEFAULTS__, Yn = () => {
|
372
389
|
if (typeof process > "u" || typeof at > "u")
|
373
390
|
return;
|
374
391
|
const n = at.__FIREBASE_DEFAULTS__;
|
375
392
|
if (n)
|
376
393
|
return JSON.parse(n);
|
377
|
-
},
|
394
|
+
}, Zn = () => {
|
378
395
|
if (typeof document > "u")
|
379
396
|
return;
|
380
397
|
let n;
|
@@ -383,11 +400,11 @@ const Zn = () => $n().__FIREBASE_DEFAULTS__, Jn = () => {
|
|
383
400
|
} catch {
|
384
401
|
return;
|
385
402
|
}
|
386
|
-
const e = n &&
|
403
|
+
const e = n && Wt(n[1]);
|
387
404
|
return e && JSON.parse(e);
|
388
405
|
}, ze = () => {
|
389
406
|
try {
|
390
|
-
return
|
407
|
+
return Jn() || Yn() || Zn();
|
391
408
|
} catch (n) {
|
392
409
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
393
410
|
return;
|
@@ -427,7 +444,7 @@ const Zn = () => $n().__FIREBASE_DEFAULTS__, Jn = () => {
|
|
427
444
|
* See the License for the specific language governing permissions and
|
428
445
|
* limitations under the License.
|
429
446
|
*/
|
430
|
-
class
|
447
|
+
class Xn {
|
431
448
|
constructor() {
|
432
449
|
this.reject = () => {
|
433
450
|
}, this.resolve = () => {
|
@@ -572,9 +589,9 @@ function rr() {
|
|
572
589
|
* limitations under the License.
|
573
590
|
*/
|
574
591
|
const ir = "FirebaseError";
|
575
|
-
class
|
592
|
+
class L extends Error {
|
576
593
|
constructor(e, t, r) {
|
577
|
-
super(t), this.code = e, this.customData = r, this.name = ir, Object.setPrototypeOf(this,
|
594
|
+
super(t), this.code = e, this.customData = r, this.name = ir, Object.setPrototypeOf(this, L.prototype), Error.captureStackTrace && Error.captureStackTrace(this, q.prototype.create);
|
578
595
|
}
|
579
596
|
}
|
580
597
|
class q {
|
@@ -583,7 +600,7 @@ class q {
|
|
583
600
|
}
|
584
601
|
create(e, ...t) {
|
585
602
|
const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], o = s ? sr(s, r) : "Error", a = `${this.serviceName}: ${o} (${i}).`;
|
586
|
-
return new
|
603
|
+
return new L(i, a, r);
|
587
604
|
}
|
588
605
|
}
|
589
606
|
function sr(n, e) {
|
@@ -801,7 +818,7 @@ class G {
|
|
801
818
|
* See the License for the specific language governing permissions and
|
802
819
|
* limitations under the License.
|
803
820
|
*/
|
804
|
-
const
|
821
|
+
const M = "[DEFAULT]";
|
805
822
|
/**
|
806
823
|
* @license
|
807
824
|
* Copyright 2019 Google LLC
|
@@ -829,7 +846,7 @@ class ur {
|
|
829
846
|
get(e) {
|
830
847
|
const t = this.normalizeInstanceIdentifier(e);
|
831
848
|
if (!this.instancesDeferred.has(t)) {
|
832
|
-
const r = new
|
849
|
+
const r = new Xn();
|
833
850
|
if (this.instancesDeferred.set(t, r), this.isInitialized(t) || this.shouldAutoInitialize())
|
834
851
|
try {
|
835
852
|
const i = this.getOrInitializeService({
|
@@ -871,7 +888,7 @@ class ur {
|
|
871
888
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
872
889
|
if (pr(e))
|
873
890
|
try {
|
874
|
-
this.getOrInitializeService({ instanceIdentifier:
|
891
|
+
this.getOrInitializeService({ instanceIdentifier: M });
|
875
892
|
} catch {
|
876
893
|
}
|
877
894
|
for (const [t, r] of this.instancesDeferred.entries()) {
|
@@ -886,7 +903,7 @@ class ur {
|
|
886
903
|
}
|
887
904
|
}
|
888
905
|
}
|
889
|
-
clearInstance(e =
|
906
|
+
clearInstance(e = M) {
|
890
907
|
this.instancesDeferred.delete(e), this.instancesOptions.delete(e), this.instances.delete(e);
|
891
908
|
}
|
892
909
|
// app.delete() will call this method on every provider to delete the services
|
@@ -901,10 +918,10 @@ class ur {
|
|
901
918
|
isComponentSet() {
|
902
919
|
return this.component != null;
|
903
920
|
}
|
904
|
-
isInitialized(e =
|
921
|
+
isInitialized(e = M) {
|
905
922
|
return this.instances.has(e);
|
906
923
|
}
|
907
|
-
getOptions(e =
|
924
|
+
getOptions(e = M) {
|
908
925
|
return this.instancesOptions.get(e) || {};
|
909
926
|
}
|
910
927
|
initialize(e = {}) {
|
@@ -965,15 +982,15 @@ class ur {
|
|
965
982
|
}
|
966
983
|
return r || null;
|
967
984
|
}
|
968
|
-
normalizeInstanceIdentifier(e =
|
969
|
-
return this.component ? this.component.multipleInstances ? e :
|
985
|
+
normalizeInstanceIdentifier(e = M) {
|
986
|
+
return this.component ? this.component.multipleInstances ? e : M : e;
|
970
987
|
}
|
971
988
|
shouldAutoInitialize() {
|
972
989
|
return !!this.component && this.component.instantiationMode !== "EXPLICIT";
|
973
990
|
}
|
974
991
|
}
|
975
992
|
function hr(n) {
|
976
|
-
return n ===
|
993
|
+
return n === M ? void 0 : n;
|
977
994
|
}
|
978
995
|
function pr(n) {
|
979
996
|
return n.instantiationMode === "EAGER";
|
@@ -1148,7 +1165,7 @@ function yr() {
|
|
1148
1165
|
IDBCursor.prototype.continuePrimaryKey
|
1149
1166
|
]);
|
1150
1167
|
}
|
1151
|
-
const
|
1168
|
+
const Jt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Yt = /* @__PURE__ */ new WeakMap(), ke = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
|
1152
1169
|
function Er(n) {
|
1153
1170
|
const e = new Promise((t, r) => {
|
1154
1171
|
const i = () => {
|
@@ -1161,12 +1178,12 @@ function Er(n) {
|
|
1161
1178
|
n.addEventListener("success", s), n.addEventListener("error", o);
|
1162
1179
|
});
|
1163
1180
|
return e.then((t) => {
|
1164
|
-
t instanceof IDBCursor &&
|
1181
|
+
t instanceof IDBCursor && Jt.set(t, n);
|
1165
1182
|
}).catch(() => {
|
1166
1183
|
}), $e.set(e, n), e;
|
1167
1184
|
}
|
1168
1185
|
function Tr(n) {
|
1169
|
-
if (
|
1186
|
+
if (Le.has(n))
|
1170
1187
|
return;
|
1171
1188
|
const e = new Promise((t, r) => {
|
1172
1189
|
const i = () => {
|
@@ -1178,15 +1195,15 @@ function Tr(n) {
|
|
1178
1195
|
};
|
1179
1196
|
n.addEventListener("complete", s), n.addEventListener("error", o), n.addEventListener("abort", o);
|
1180
1197
|
});
|
1181
|
-
|
1198
|
+
Le.set(n, e);
|
1182
1199
|
}
|
1183
|
-
let
|
1200
|
+
let Me = {
|
1184
1201
|
get(n, e, t) {
|
1185
1202
|
if (n instanceof IDBTransaction) {
|
1186
1203
|
if (e === "done")
|
1187
|
-
return
|
1204
|
+
return Le.get(n);
|
1188
1205
|
if (e === "objectStoreNames")
|
1189
|
-
return n.objectStoreNames ||
|
1206
|
+
return n.objectStoreNames || Yt.get(n);
|
1190
1207
|
if (e === "store")
|
1191
1208
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1192
1209
|
}
|
@@ -1200,20 +1217,20 @@ let Le = {
|
|
1200
1217
|
}
|
1201
1218
|
};
|
1202
1219
|
function wr(n) {
|
1203
|
-
|
1220
|
+
Me = n(Me);
|
1204
1221
|
}
|
1205
1222
|
function Rr(n) {
|
1206
1223
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1207
1224
|
const r = n.call(Ae(this), e, ...t);
|
1208
|
-
return
|
1225
|
+
return Yt.set(r, e.sort ? e.sort() : [e]), N(r);
|
1209
1226
|
} : yr().includes(n) ? function(...e) {
|
1210
|
-
return n.apply(Ae(this), e), N(
|
1227
|
+
return n.apply(Ae(this), e), N(Jt.get(this));
|
1211
1228
|
} : function(...e) {
|
1212
1229
|
return N(n.apply(Ae(this), e));
|
1213
1230
|
};
|
1214
1231
|
}
|
1215
1232
|
function kr(n) {
|
1216
|
-
return typeof n == "function" ? Rr(n) : (n instanceof IDBTransaction && Tr(n), Ir(n, br()) ? new Proxy(n,
|
1233
|
+
return typeof n == "function" ? Rr(n) : (n instanceof IDBTransaction && Tr(n), Ir(n, br()) ? new Proxy(n, Me) : n);
|
1217
1234
|
}
|
1218
1235
|
function N(n) {
|
1219
1236
|
if (n instanceof IDBRequest)
|
@@ -1318,7 +1335,7 @@ const Ue = "@firebase/app", ht = "0.10.13";
|
|
1318
1335
|
* See the License for the specific language governing permissions and
|
1319
1336
|
* limitations under the License.
|
1320
1337
|
*/
|
1321
|
-
const T = new $t("@firebase/app"), Dr = "@firebase/app-compat", Pr = "@firebase/analytics-compat",
|
1338
|
+
const T = new $t("@firebase/app"), Dr = "@firebase/app-compat", Pr = "@firebase/analytics-compat", Lr = "@firebase/analytics", Mr = "@firebase/app-check-compat", Ur = "@firebase/app-check", Br = "@firebase/auth", Fr = "@firebase/auth-compat", Hr = "@firebase/database", jr = "@firebase/data-connect", xr = "@firebase/database-compat", Wr = "@firebase/functions", Vr = "@firebase/functions-compat", Gr = "@firebase/installations", zr = "@firebase/installations-compat", $r = "@firebase/messaging", Jr = "@firebase/messaging-compat", Yr = "@firebase/performance", Zr = "@firebase/performance-compat", Xr = "@firebase/remote-config", Kr = "@firebase/remote-config-compat", qr = "@firebase/storage", Qr = "@firebase/storage-compat", ei = "@firebase/firestore", ti = "@firebase/vertexai-preview", ni = "@firebase/firestore-compat", ri = "firebase", ii = "10.14.1";
|
1322
1339
|
/**
|
1323
1340
|
* @license
|
1324
1341
|
* Copyright 2019 Google LLC
|
@@ -1338,24 +1355,24 @@ const T = new $t("@firebase/app"), Dr = "@firebase/app-compat", Pr = "@firebase/
|
|
1338
1355
|
const Be = "[DEFAULT]", si = {
|
1339
1356
|
[Ue]: "fire-core",
|
1340
1357
|
[Dr]: "fire-core-compat",
|
1341
|
-
[
|
1358
|
+
[Lr]: "fire-analytics",
|
1342
1359
|
[Pr]: "fire-analytics-compat",
|
1343
1360
|
[Ur]: "fire-app-check",
|
1344
|
-
[
|
1361
|
+
[Mr]: "fire-app-check-compat",
|
1345
1362
|
[Br]: "fire-auth",
|
1346
|
-
[
|
1363
|
+
[Fr]: "fire-auth-compat",
|
1347
1364
|
[Hr]: "fire-rtdb",
|
1348
|
-
[
|
1349
|
-
[
|
1350
|
-
[
|
1365
|
+
[jr]: "fire-data-connect",
|
1366
|
+
[xr]: "fire-rtdb-compat",
|
1367
|
+
[Wr]: "fire-fn",
|
1351
1368
|
[Vr]: "fire-fn-compat",
|
1352
1369
|
[Gr]: "fire-iid",
|
1353
1370
|
[zr]: "fire-iid-compat",
|
1354
1371
|
[$r]: "fire-fcm",
|
1355
|
-
[
|
1356
|
-
[
|
1357
|
-
[
|
1358
|
-
[
|
1372
|
+
[Jr]: "fire-fcm-compat",
|
1373
|
+
[Yr]: "fire-perf",
|
1374
|
+
[Zr]: "fire-perf-compat",
|
1375
|
+
[Xr]: "fire-rc",
|
1359
1376
|
[Kr]: "fire-rc-compat",
|
1360
1377
|
[qr]: "fire-gcs",
|
1361
1378
|
[Qr]: "fire-gcs-compat",
|
@@ -1381,7 +1398,7 @@ const Be = "[DEFAULT]", si = {
|
|
1381
1398
|
* See the License for the specific language governing permissions and
|
1382
1399
|
* limitations under the License.
|
1383
1400
|
*/
|
1384
|
-
const ue = /* @__PURE__ */ new Map(), oi = /* @__PURE__ */ new Map(),
|
1401
|
+
const ue = /* @__PURE__ */ new Map(), oi = /* @__PURE__ */ new Map(), Fe = /* @__PURE__ */ new Map();
|
1385
1402
|
function pt(n, e) {
|
1386
1403
|
try {
|
1387
1404
|
n.container.addComponent(e);
|
@@ -1389,18 +1406,18 @@ function pt(n, e) {
|
|
1389
1406
|
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1390
1407
|
}
|
1391
1408
|
}
|
1392
|
-
function
|
1409
|
+
function Z(n) {
|
1393
1410
|
const e = n.name;
|
1394
|
-
if (
|
1411
|
+
if (Fe.has(e))
|
1395
1412
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1396
|
-
|
1413
|
+
Fe.set(e, n);
|
1397
1414
|
for (const t of ue.values())
|
1398
1415
|
pt(t, n);
|
1399
1416
|
for (const t of oi.values())
|
1400
1417
|
pt(t, n);
|
1401
1418
|
return !0;
|
1402
1419
|
}
|
1403
|
-
function
|
1420
|
+
function Zt(n, e) {
|
1404
1421
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1405
1422
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1406
1423
|
}
|
@@ -1514,7 +1531,7 @@ class ci {
|
|
1514
1531
|
* limitations under the License.
|
1515
1532
|
*/
|
1516
1533
|
const ee = ii;
|
1517
|
-
function
|
1534
|
+
function Xt(n, e = {}) {
|
1518
1535
|
let t = n;
|
1519
1536
|
typeof e != "object" && (e = { name: e });
|
1520
1537
|
const r = Object.assign({ name: Be, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
@@ -1534,7 +1551,7 @@ function Yt(n, e = {}) {
|
|
1534
1551
|
throw D.create("duplicate-app", { appName: i });
|
1535
1552
|
}
|
1536
1553
|
const o = new fr(i);
|
1537
|
-
for (const c of
|
1554
|
+
for (const c of Fe.values())
|
1538
1555
|
o.addComponent(c);
|
1539
1556
|
const a = new ci(t, r, o);
|
1540
1557
|
return ue.set(i, a), a;
|
@@ -1542,12 +1559,12 @@ function Yt(n, e = {}) {
|
|
1542
1559
|
function li(n = Be) {
|
1543
1560
|
const e = ue.get(n);
|
1544
1561
|
if (!e && n === Be && Gt())
|
1545
|
-
return
|
1562
|
+
return Xt();
|
1546
1563
|
if (!e)
|
1547
1564
|
throw D.create("no-app", { appName: n });
|
1548
1565
|
return e;
|
1549
1566
|
}
|
1550
|
-
function
|
1567
|
+
function j(n, e, t) {
|
1551
1568
|
var r;
|
1552
1569
|
let i = (r = si[n]) !== null && r !== void 0 ? r : n;
|
1553
1570
|
t && (i += `-${t}`);
|
@@ -1559,7 +1576,7 @@ function x(n, e, t) {
|
|
1559
1576
|
s && a.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && o && a.push("and"), o && a.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(a.join(" "));
|
1560
1577
|
return;
|
1561
1578
|
}
|
1562
|
-
|
1579
|
+
Z(new G(
|
1563
1580
|
`${i}-version`,
|
1564
1581
|
() => ({ library: i, version: e }),
|
1565
1582
|
"VERSION"
|
@@ -1582,7 +1599,7 @@ function x(n, e, t) {
|
|
1582
1599
|
* See the License for the specific language governing permissions and
|
1583
1600
|
* limitations under the License.
|
1584
1601
|
*/
|
1585
|
-
const di = "firebase-heartbeat-database", ui = 1,
|
1602
|
+
const di = "firebase-heartbeat-database", ui = 1, X = "firebase-heartbeat-store";
|
1586
1603
|
let Oe = null;
|
1587
1604
|
function Kt() {
|
1588
1605
|
return Oe || (Oe = Ar(di, ui, {
|
@@ -1590,7 +1607,7 @@ function Kt() {
|
|
1590
1607
|
switch (e) {
|
1591
1608
|
case 0:
|
1592
1609
|
try {
|
1593
|
-
n.createObjectStore(
|
1610
|
+
n.createObjectStore(X);
|
1594
1611
|
} catch (t) {
|
1595
1612
|
console.warn(t);
|
1596
1613
|
}
|
@@ -1604,10 +1621,10 @@ function Kt() {
|
|
1604
1621
|
}
|
1605
1622
|
async function hi(n) {
|
1606
1623
|
try {
|
1607
|
-
const t = (await Kt()).transaction(
|
1624
|
+
const t = (await Kt()).transaction(X), r = await t.objectStore(X).get(qt(n));
|
1608
1625
|
return await t.done, r;
|
1609
1626
|
} catch (e) {
|
1610
|
-
if (e instanceof
|
1627
|
+
if (e instanceof L)
|
1611
1628
|
T.warn(e.message);
|
1612
1629
|
else {
|
1613
1630
|
const t = D.create("idb-get", {
|
@@ -1619,10 +1636,10 @@ async function hi(n) {
|
|
1619
1636
|
}
|
1620
1637
|
async function ft(n, e) {
|
1621
1638
|
try {
|
1622
|
-
const r = (await Kt()).transaction(
|
1623
|
-
await r.objectStore(
|
1639
|
+
const r = (await Kt()).transaction(X, "readwrite");
|
1640
|
+
await r.objectStore(X).put(e, qt(n)), await r.done;
|
1624
1641
|
} catch (t) {
|
1625
|
-
if (t instanceof
|
1642
|
+
if (t instanceof L)
|
1626
1643
|
T.warn(t.message);
|
1627
1644
|
else {
|
1628
1645
|
const r = D.create("idb-set", {
|
@@ -1791,17 +1808,17 @@ function _t(n) {
|
|
1791
1808
|
* limitations under the License.
|
1792
1809
|
*/
|
1793
1810
|
function vi(n) {
|
1794
|
-
|
1811
|
+
Z(new G(
|
1795
1812
|
"platform-logger",
|
1796
1813
|
(e) => new Cr(e),
|
1797
1814
|
"PRIVATE"
|
1798
1815
|
/* ComponentType.PRIVATE */
|
1799
|
-
)),
|
1816
|
+
)), Z(new G(
|
1800
1817
|
"heartbeat",
|
1801
1818
|
(e) => new mi(e),
|
1802
1819
|
"PRIVATE"
|
1803
1820
|
/* ComponentType.PRIVATE */
|
1804
|
-
)),
|
1821
|
+
)), j(Ue, ht, n), j(Ue, ht, "esm2017"), j("fire-js", "");
|
1805
1822
|
}
|
1806
1823
|
vi("");
|
1807
1824
|
var Ii = "firebase", bi = "10.14.1";
|
@@ -1821,7 +1838,7 @@ var Ii = "firebase", bi = "10.14.1";
|
|
1821
1838
|
* See the License for the specific language governing permissions and
|
1822
1839
|
* limitations under the License.
|
1823
1840
|
*/
|
1824
|
-
|
1841
|
+
j(Ii, bi, "app");
|
1825
1842
|
var gt = function() {
|
1826
1843
|
return gt = Object.assign || function(e) {
|
1827
1844
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -1831,7 +1848,7 @@ var gt = function() {
|
|
1831
1848
|
return e;
|
1832
1849
|
}, gt.apply(this, arguments);
|
1833
1850
|
};
|
1834
|
-
function
|
1851
|
+
function Je(n, e) {
|
1835
1852
|
var t = {};
|
1836
1853
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
|
1837
1854
|
if (n != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -1885,10 +1902,10 @@ function se(n, ...e) {
|
|
1885
1902
|
* limitations under the License.
|
1886
1903
|
*/
|
1887
1904
|
function w(n, ...e) {
|
1888
|
-
throw
|
1905
|
+
throw Ye(n, ...e);
|
1889
1906
|
}
|
1890
1907
|
function _(n, ...e) {
|
1891
|
-
return
|
1908
|
+
return Ye(n, ...e);
|
1892
1909
|
}
|
1893
1910
|
function tn(n, e, t) {
|
1894
1911
|
const r = Object.assign(Object.assign({}, yi()), { [e]: t });
|
@@ -1899,7 +1916,7 @@ function tn(n, e, t) {
|
|
1899
1916
|
function P(n) {
|
1900
1917
|
return tn(n, "operation-not-supported-in-this-environment", "Operations that alter the current user are not supported in conjunction with FirebaseServerApp");
|
1901
1918
|
}
|
1902
|
-
function
|
1919
|
+
function Ye(n, ...e) {
|
1903
1920
|
if (typeof n != "string") {
|
1904
1921
|
const t = e[0], r = [...e.slice(1)];
|
1905
1922
|
return r[0] && (r[0].appName = n.name), n._errorFactory.create(t, ...r);
|
@@ -1908,7 +1925,7 @@ function Je(n, ...e) {
|
|
1908
1925
|
}
|
1909
1926
|
function d(n, e, ...t) {
|
1910
1927
|
if (!n)
|
1911
|
-
throw
|
1928
|
+
throw Ye(e, ...t);
|
1912
1929
|
}
|
1913
1930
|
function b(n) {
|
1914
1931
|
const e = "INTERNAL ASSERTION FAILED: " + n;
|
@@ -2020,7 +2037,7 @@ class te {
|
|
2020
2037
|
* See the License for the specific language governing permissions and
|
2021
2038
|
* limitations under the License.
|
2022
2039
|
*/
|
2023
|
-
function
|
2040
|
+
function Ze(n, e) {
|
2024
2041
|
R(n.emulator, "Emulator should always be set here");
|
2025
2042
|
const { url: t } = n.emulator;
|
2026
2043
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
@@ -2239,7 +2256,7 @@ async function rn(n, e, t) {
|
|
2239
2256
|
w(n, u);
|
2240
2257
|
}
|
2241
2258
|
} catch (i) {
|
2242
|
-
if (i instanceof
|
2259
|
+
if (i instanceof L)
|
2243
2260
|
throw i;
|
2244
2261
|
w(n, "network-request-failed", { message: String(i) });
|
2245
2262
|
}
|
@@ -2252,7 +2269,7 @@ async function sn(n, e, t, r, i = {}) {
|
|
2252
2269
|
}
|
2253
2270
|
function on(n, e, t, r) {
|
2254
2271
|
const i = `${e}${t}?${r}`;
|
2255
|
-
return n.config.emulator ?
|
2272
|
+
return n.config.emulator ? Ze(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2256
2273
|
}
|
2257
2274
|
class Si {
|
2258
2275
|
constructor(e) {
|
@@ -2314,7 +2331,7 @@ async function an(n, e) {
|
|
2314
2331
|
* See the License for the specific language governing permissions and
|
2315
2332
|
* limitations under the License.
|
2316
2333
|
*/
|
2317
|
-
function
|
2334
|
+
function Y(n) {
|
2318
2335
|
if (n)
|
2319
2336
|
try {
|
2320
2337
|
const e = new Date(Number(n));
|
@@ -2324,7 +2341,7 @@ function J(n) {
|
|
2324
2341
|
}
|
2325
2342
|
}
|
2326
2343
|
async function Ci(n, e = !1) {
|
2327
|
-
const t = z(n), r = await t.getIdToken(e), i =
|
2344
|
+
const t = z(n), r = await t.getIdToken(e), i = Xe(r);
|
2328
2345
|
d(
|
2329
2346
|
i && i.exp && i.auth_time && i.iat,
|
2330
2347
|
t.auth,
|
@@ -2335,9 +2352,9 @@ async function Ci(n, e = !1) {
|
|
2335
2352
|
return {
|
2336
2353
|
claims: i,
|
2337
2354
|
token: r,
|
2338
|
-
authTime:
|
2339
|
-
issuedAtTime:
|
2340
|
-
expirationTime:
|
2355
|
+
authTime: Y(Ce(i.auth_time)),
|
2356
|
+
issuedAtTime: Y(Ce(i.iat)),
|
2357
|
+
expirationTime: Y(Ce(i.exp)),
|
2341
2358
|
signInProvider: o || null,
|
2342
2359
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2343
2360
|
};
|
@@ -2345,19 +2362,19 @@ async function Ci(n, e = !1) {
|
|
2345
2362
|
function Ce(n) {
|
2346
2363
|
return Number(n) * 1e3;
|
2347
2364
|
}
|
2348
|
-
function
|
2365
|
+
function Xe(n) {
|
2349
2366
|
const [e, t, r] = n.split(".");
|
2350
2367
|
if (e === void 0 || t === void 0 || r === void 0)
|
2351
2368
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2352
2369
|
try {
|
2353
|
-
const i =
|
2370
|
+
const i = Wt(t);
|
2354
2371
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2355
2372
|
} catch (i) {
|
2356
2373
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2357
2374
|
}
|
2358
2375
|
}
|
2359
2376
|
function It(n) {
|
2360
|
-
const e =
|
2377
|
+
const e = Xe(n);
|
2361
2378
|
return d(
|
2362
2379
|
e,
|
2363
2380
|
"internal-error"
|
@@ -2394,7 +2411,7 @@ async function K(n, e, t = !1) {
|
|
2394
2411
|
try {
|
2395
2412
|
return await e;
|
2396
2413
|
} catch (r) {
|
2397
|
-
throw r instanceof
|
2414
|
+
throw r instanceof L && Ni(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
|
2398
2415
|
}
|
2399
2416
|
}
|
2400
2417
|
function Ni({ code: n }) {
|
@@ -2478,12 +2495,12 @@ class Di {
|
|
2478
2495
|
* See the License for the specific language governing permissions and
|
2479
2496
|
* limitations under the License.
|
2480
2497
|
*/
|
2481
|
-
class
|
2498
|
+
class je {
|
2482
2499
|
constructor(e, t) {
|
2483
2500
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2484
2501
|
}
|
2485
2502
|
_initializeTime() {
|
2486
|
-
this.lastSignInTime =
|
2503
|
+
this.lastSignInTime = Y(this.lastLoginAt), this.creationTime = Y(this.createdAt);
|
2487
2504
|
}
|
2488
2505
|
_copy(e) {
|
2489
2506
|
this.createdAt = e.createdAt, this.lastLoginAt = e.lastLoginAt, this._initializeTime();
|
@@ -2522,7 +2539,7 @@ async function pe(n) {
|
|
2522
2539
|
);
|
2523
2540
|
const s = i.users[0];
|
2524
2541
|
n._notifyReloadListener(s);
|
2525
|
-
const o = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], a =
|
2542
|
+
const o = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], a = Li(n.providerData, o), c = n.isAnonymous, l = !(n.email && s.passwordHash) && !(a != null && a.length), u = c ? l : !1, p = {
|
2526
2543
|
uid: s.localId,
|
2527
2544
|
displayName: s.displayName || null,
|
2528
2545
|
photoURL: s.photoUrl || null,
|
@@ -2531,7 +2548,7 @@ async function pe(n) {
|
|
2531
2548
|
phoneNumber: s.phoneNumber || null,
|
2532
2549
|
tenantId: s.tenantId || null,
|
2533
2550
|
providerData: a,
|
2534
|
-
metadata: new
|
2551
|
+
metadata: new je(s.createdAt, s.lastLoginAt),
|
2535
2552
|
isAnonymous: u
|
2536
2553
|
};
|
2537
2554
|
Object.assign(n, p);
|
@@ -2540,12 +2557,12 @@ async function Pi(n) {
|
|
2540
2557
|
const e = z(n);
|
2541
2558
|
await pe(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
|
2542
2559
|
}
|
2543
|
-
function
|
2560
|
+
function Li(n, e) {
|
2544
2561
|
return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
|
2545
2562
|
}
|
2546
2563
|
function cn(n) {
|
2547
2564
|
return n.map((e) => {
|
2548
|
-
var { providerId: t } = e, r =
|
2565
|
+
var { providerId: t } = e, r = Je(e, ["providerId"]);
|
2549
2566
|
return {
|
2550
2567
|
providerId: t,
|
2551
2568
|
uid: r.rawId || "",
|
@@ -2572,7 +2589,7 @@ function cn(n) {
|
|
2572
2589
|
* See the License for the specific language governing permissions and
|
2573
2590
|
* limitations under the License.
|
2574
2591
|
*/
|
2575
|
-
async function
|
2592
|
+
async function Mi(n, e) {
|
2576
2593
|
const t = await rn(n, {}, async () => {
|
2577
2594
|
const r = Q({
|
2578
2595
|
grant_type: "refresh_token",
|
@@ -2612,7 +2629,7 @@ async function Ui(n, e) {
|
|
2612
2629
|
* See the License for the specific language governing permissions and
|
2613
2630
|
* limitations under the License.
|
2614
2631
|
*/
|
2615
|
-
class
|
2632
|
+
class x {
|
2616
2633
|
constructor() {
|
2617
2634
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2618
2635
|
}
|
@@ -2657,14 +2674,14 @@ class F {
|
|
2657
2674
|
this.refreshToken = null;
|
2658
2675
|
}
|
2659
2676
|
async refresh(e, t) {
|
2660
|
-
const { accessToken: r, refreshToken: i, expiresIn: s } = await
|
2677
|
+
const { accessToken: r, refreshToken: i, expiresIn: s } = await Mi(e, t);
|
2661
2678
|
this.updateTokensAndExpiration(r, i, Number(s));
|
2662
2679
|
}
|
2663
2680
|
updateTokensAndExpiration(e, t, r) {
|
2664
2681
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
2665
2682
|
}
|
2666
2683
|
static fromJSON(e, t) {
|
2667
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, o = new
|
2684
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, o = new x();
|
2668
2685
|
return r && (d(typeof r == "string", "internal-error", {
|
2669
2686
|
appName: e
|
2670
2687
|
}), o.refreshToken = r), i && (d(typeof i == "string", "internal-error", {
|
@@ -2684,7 +2701,7 @@ class F {
|
|
2684
2701
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
2685
2702
|
}
|
2686
2703
|
_clone() {
|
2687
|
-
return Object.assign(new
|
2704
|
+
return Object.assign(new x(), this.toJSON());
|
2688
2705
|
}
|
2689
2706
|
_performRefresh() {
|
2690
2707
|
return b("not implemented");
|
@@ -2711,8 +2728,8 @@ function k(n, e) {
|
|
2711
2728
|
}
|
2712
2729
|
class y {
|
2713
2730
|
constructor(e) {
|
2714
|
-
var { uid: t, auth: r, stsTokenManager: i } = e, s =
|
2715
|
-
this.providerId = "firebase", this.proactiveRefresh = new Di(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new
|
2731
|
+
var { uid: t, auth: r, stsTokenManager: i } = e, s = Je(e, ["uid", "auth", "stsTokenManager"]);
|
2732
|
+
this.providerId = "firebase", this.proactiveRefresh = new Di(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new je(s.createdAt || void 0, s.lastLoginAt || void 0);
|
2716
2733
|
}
|
2717
2734
|
async getIdToken(e) {
|
2718
2735
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -2794,14 +2811,14 @@ class y {
|
|
2794
2811
|
}
|
2795
2812
|
static _fromJSON(e, t) {
|
2796
2813
|
var r, i, s, o, a, c, l, u;
|
2797
|
-
const p = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0,
|
2814
|
+
const p = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (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;
|
2798
2815
|
d(
|
2799
2816
|
Ee && ot,
|
2800
2817
|
e,
|
2801
2818
|
"internal-error"
|
2802
2819
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2803
2820
|
);
|
2804
|
-
const Pn =
|
2821
|
+
const Pn = x.fromJSON(this.name, ot);
|
2805
2822
|
d(
|
2806
2823
|
typeof Ee == "string",
|
2807
2824
|
e,
|
@@ -2817,7 +2834,7 @@ class y {
|
|
2817
2834
|
e,
|
2818
2835
|
"internal-error"
|
2819
2836
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2820
|
-
), k(v, e.name), k(
|
2837
|
+
), k(v, e.name), k(F, e.name), k(tt, e.name), k(ye, e.name), k(nt, e.name), k(rt, e.name);
|
2821
2838
|
const we = new y({
|
2822
2839
|
uid: Ee,
|
2823
2840
|
auth: e,
|
@@ -2825,14 +2842,14 @@ class y {
|
|
2825
2842
|
emailVerified: it,
|
2826
2843
|
displayName: p,
|
2827
2844
|
isAnonymous: st,
|
2828
|
-
photoURL:
|
2845
|
+
photoURL: F,
|
2829
2846
|
phoneNumber: v,
|
2830
2847
|
tenantId: tt,
|
2831
2848
|
stsTokenManager: Pn,
|
2832
2849
|
createdAt: nt,
|
2833
2850
|
lastLoginAt: rt
|
2834
2851
|
});
|
2835
|
-
return Te && Array.isArray(Te) && (we.providerData = Te.map((
|
2852
|
+
return Te && Array.isArray(Te) && (we.providerData = Te.map((Ln) => Object.assign({}, Ln))), ye && (we._redirectEventId = ye), we;
|
2836
2853
|
}
|
2837
2854
|
/**
|
2838
2855
|
* Initialize a User from an idToken server response
|
@@ -2840,7 +2857,7 @@ class y {
|
|
2840
2857
|
* @param idTokenResponse
|
2841
2858
|
*/
|
2842
2859
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
2843
|
-
const i = new
|
2860
|
+
const i = new x();
|
2844
2861
|
i.updateFromServerResponse(t);
|
2845
2862
|
const s = new y({
|
2846
2863
|
uid: t.localId,
|
@@ -2862,7 +2879,7 @@ class y {
|
|
2862
2879
|
"internal-error"
|
2863
2880
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2864
2881
|
);
|
2865
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], o = !(i.email && i.passwordHash) && !(s != null && s.length), a = new
|
2882
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], o = !(i.email && i.passwordHash) && !(s != null && s.length), a = new x();
|
2866
2883
|
a.updateFromIdToken(r);
|
2867
2884
|
const c = new y({
|
2868
2885
|
uid: i.localId,
|
@@ -2878,7 +2895,7 @@ class y {
|
|
2878
2895
|
phoneNumber: i.phoneNumber || null,
|
2879
2896
|
tenantId: i.tenantId || null,
|
2880
2897
|
providerData: s,
|
2881
|
-
metadata: new
|
2898
|
+
metadata: new je(i.createdAt, i.lastLoginAt),
|
2882
2899
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
2883
2900
|
};
|
2884
2901
|
return Object.assign(c, l), c;
|
@@ -2965,7 +2982,7 @@ const yt = ln;
|
|
2965
2982
|
function oe(n, e, t) {
|
2966
2983
|
return `firebase:${n}:${e}:${t}`;
|
2967
2984
|
}
|
2968
|
-
class
|
2985
|
+
class W {
|
2969
2986
|
constructor(e, t, r) {
|
2970
2987
|
this.persistence = e, this.auth = t, this.userKey = r;
|
2971
2988
|
const { config: i, name: s } = this.auth;
|
@@ -2996,7 +3013,7 @@ class j {
|
|
2996
3013
|
}
|
2997
3014
|
static async create(e, t, r = "authUser") {
|
2998
3015
|
if (!t.length)
|
2999
|
-
return new
|
3016
|
+
return new W(E(yt), e, r);
|
3000
3017
|
const i = (await Promise.all(t.map(async (l) => {
|
3001
3018
|
if (await l._isAvailable())
|
3002
3019
|
return l;
|
@@ -3015,13 +3032,13 @@ class j {
|
|
3015
3032
|
} catch {
|
3016
3033
|
}
|
3017
3034
|
const c = i.filter((l) => l._shouldAllowMigration);
|
3018
|
-
return !s._shouldAllowMigration || !c.length ? new
|
3035
|
+
return !s._shouldAllowMigration || !c.length ? new W(s, e, r) : (s = c[0], a && await s._set(o, a.toJSON()), await Promise.all(t.map(async (l) => {
|
3019
3036
|
if (l !== s)
|
3020
3037
|
try {
|
3021
3038
|
await l._remove(o);
|
3022
3039
|
} catch {
|
3023
3040
|
}
|
3024
|
-
})), new
|
3041
|
+
})), new W(s, e, r));
|
3025
3042
|
}
|
3026
3043
|
}
|
3027
3044
|
/**
|
@@ -3100,7 +3117,7 @@ function Bi(n = f()) {
|
|
3100
3117
|
var e;
|
3101
3118
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3102
3119
|
}
|
3103
|
-
function
|
3120
|
+
function Fi() {
|
3104
3121
|
return tr() && document.documentMode === 10;
|
3105
3122
|
}
|
3106
3123
|
function gn(n = f()) {
|
@@ -3208,7 +3225,7 @@ class Hi {
|
|
3208
3225
|
* See the License for the specific language governing permissions and
|
3209
3226
|
* limitations under the License.
|
3210
3227
|
*/
|
3211
|
-
async function
|
3228
|
+
async function ji(n, e = {}) {
|
3212
3229
|
return $(n, "GET", "/v2/passwordPolicy", ge(n, e));
|
3213
3230
|
}
|
3214
3231
|
/**
|
@@ -3227,12 +3244,12 @@ async function xi(n, e = {}) {
|
|
3227
3244
|
* See the License for the specific language governing permissions and
|
3228
3245
|
* limitations under the License.
|
3229
3246
|
*/
|
3230
|
-
const
|
3231
|
-
class
|
3247
|
+
const xi = 6;
|
3248
|
+
class Wi {
|
3232
3249
|
constructor(e) {
|
3233
3250
|
var t, r, i, s;
|
3234
3251
|
const o = e.customStrengthOptions;
|
3235
|
-
this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = o.minPasswordLength) !== null && t !== void 0 ? t :
|
3252
|
+
this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = o.minPasswordLength) !== null && t !== void 0 ? t : xi, o.maxPasswordLength && (this.customStrengthOptions.maxPasswordLength = o.maxPasswordLength), o.containsLowercaseCharacter !== void 0 && (this.customStrengthOptions.containsLowercaseLetter = o.containsLowercaseCharacter), o.containsUppercaseCharacter !== void 0 && (this.customStrengthOptions.containsUppercaseLetter = o.containsUppercaseCharacter), o.containsNumericCharacter !== void 0 && (this.customStrengthOptions.containsNumericCharacter = o.containsNumericCharacter), o.containsNonAlphanumericCharacter !== void 0 && (this.customStrengthOptions.containsNonAlphanumericCharacter = o.containsNonAlphanumericCharacter), this.enforcementState = e.enforcementState, this.enforcementState === "ENFORCEMENT_STATE_UNSPECIFIED" && (this.enforcementState = "OFF"), this.allowedNonAlphanumericCharacters = (i = (r = e.allowedNonAlphanumericCharacters) === null || r === void 0 ? void 0 : r.join("")) !== null && i !== void 0 ? i : "", this.forceUpgradeOnSignin = (s = e.forceUpgradeOnSignin) !== null && s !== void 0 ? s : !1, this.schemaVersion = e.schemaVersion;
|
3236
3253
|
}
|
3237
3254
|
validatePassword(e) {
|
3238
3255
|
var t, r, i, s, o, a;
|
@@ -3322,7 +3339,7 @@ class Vi {
|
|
3322
3339
|
_initializeWithPersistence(e, t) {
|
3323
3340
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3324
3341
|
var r, i;
|
3325
|
-
if (!this._deleted && (this.persistenceManager = await
|
3342
|
+
if (!this._deleted && (this.persistenceManager = await W.create(this, e), !this._deleted)) {
|
3326
3343
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3327
3344
|
try {
|
3328
3345
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3462,7 +3479,7 @@ class Vi {
|
|
3462
3479
|
return this.tenantId === null ? this._projectPasswordPolicy : this._tenantPasswordPolicies[this.tenantId];
|
3463
3480
|
}
|
3464
3481
|
async _updatePasswordPolicy() {
|
3465
|
-
const e = await
|
3482
|
+
const e = await ji(this), t = new Wi(e);
|
3466
3483
|
this.tenantId === null ? this._projectPasswordPolicy = t : this._tenantPasswordPolicies[this.tenantId] = t;
|
3467
3484
|
}
|
3468
3485
|
_getPersistence() {
|
@@ -3526,7 +3543,7 @@ class Vi {
|
|
3526
3543
|
this,
|
3527
3544
|
"argument-error"
|
3528
3545
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3529
|
-
), this.redirectPersistenceManager = await
|
3546
|
+
), this.redirectPersistenceManager = await W.create(
|
3530
3547
|
this,
|
3531
3548
|
[E(t._redirectPersistence)],
|
3532
3549
|
"redirectUser"
|
@@ -3697,7 +3714,7 @@ function zi(n) {
|
|
3697
3714
|
function $i() {
|
3698
3715
|
return qe.gapiScript;
|
3699
3716
|
}
|
3700
|
-
function
|
3717
|
+
function Ji(n) {
|
3701
3718
|
return `__${n}${Math.floor(Math.random() * 1e6)}`;
|
3702
3719
|
}
|
3703
3720
|
/**
|
@@ -3716,8 +3733,8 @@ function Zi(n) {
|
|
3716
3733
|
* See the License for the specific language governing permissions and
|
3717
3734
|
* limitations under the License.
|
3718
3735
|
*/
|
3719
|
-
function
|
3720
|
-
const t =
|
3736
|
+
function Yi(n, e) {
|
3737
|
+
const t = Zt(n, "auth");
|
3721
3738
|
if (t.isInitialized()) {
|
3722
3739
|
const i = t.getImmediate(), s = t.getOptions();
|
3723
3740
|
if (de(s, e ?? {}))
|
@@ -3730,11 +3747,11 @@ function Ji(n, e) {
|
|
3730
3747
|
}
|
3731
3748
|
return t.initialize({ options: e });
|
3732
3749
|
}
|
3733
|
-
function
|
3750
|
+
function Zi(n, e) {
|
3734
3751
|
const t = (e == null ? void 0 : e.persistence) || [], r = (Array.isArray(t) ? t : [t]).map(E);
|
3735
3752
|
e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
|
3736
3753
|
}
|
3737
|
-
function
|
3754
|
+
function Xi(n, e, t) {
|
3738
3755
|
const r = ve(n);
|
3739
3756
|
d(
|
3740
3757
|
r._canInitEmulator,
|
@@ -3897,7 +3914,7 @@ class U extends bn {
|
|
3897
3914
|
* @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
|
3898
3915
|
*/
|
3899
3916
|
static fromJSON(e) {
|
3900
|
-
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s =
|
3917
|
+
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = Je(t, ["providerId", "signInMethod"]);
|
3901
3918
|
if (!r || !i)
|
3902
3919
|
return null;
|
3903
3920
|
const o = new U(r, i);
|
@@ -4363,7 +4380,7 @@ function Rt(n) {
|
|
4363
4380
|
* See the License for the specific language governing permissions and
|
4364
4381
|
* limitations under the License.
|
4365
4382
|
*/
|
4366
|
-
class fe extends
|
4383
|
+
class fe extends L {
|
4367
4384
|
constructor(e, t, r, i) {
|
4368
4385
|
var s;
|
4369
4386
|
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, fe.prototype), this.customData = {
|
@@ -4415,7 +4432,7 @@ async function ts(n, e, t = !1) {
|
|
4415
4432
|
"internal-error"
|
4416
4433
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4417
4434
|
);
|
4418
|
-
const o =
|
4435
|
+
const o = Xe(s.idToken);
|
4419
4436
|
d(
|
4420
4437
|
o,
|
4421
4438
|
r,
|
@@ -4595,7 +4612,7 @@ class wn extends Tn {
|
|
4595
4612
|
const o = this.storage.getItem(r);
|
4596
4613
|
!t && this.localCache[r] === o || this.notifyListeners(r, o);
|
4597
4614
|
}, s = this.storage.getItem(r);
|
4598
|
-
|
4615
|
+
Fi() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, cs) : i();
|
4599
4616
|
}
|
4600
4617
|
notifyListeners(e, t) {
|
4601
4618
|
this.localCache[e] = t;
|
@@ -5009,7 +5026,7 @@ function gs() {
|
|
5009
5026
|
const n = indexedDB.deleteDatabase(Sn);
|
5010
5027
|
return new re(n).toPromise();
|
5011
5028
|
}
|
5012
|
-
function
|
5029
|
+
function xe() {
|
5013
5030
|
const n = indexedDB.open(Sn, _s);
|
5014
5031
|
return new Promise((e, t) => {
|
5015
5032
|
n.addEventListener("error", () => {
|
@@ -5023,7 +5040,7 @@ function Fe() {
|
|
5023
5040
|
}
|
5024
5041
|
}), n.addEventListener("success", async () => {
|
5025
5042
|
const r = n.result;
|
5026
|
-
r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await gs(), e(await
|
5043
|
+
r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await gs(), e(await xe()));
|
5027
5044
|
});
|
5028
5045
|
});
|
5029
5046
|
}
|
@@ -5050,7 +5067,7 @@ class Cn {
|
|
5050
5067
|
});
|
5051
5068
|
}
|
5052
5069
|
async _openDb() {
|
5053
|
-
return this.db ? this.db : (this.db = await
|
5070
|
+
return this.db ? this.db : (this.db = await xe(), this.db);
|
5054
5071
|
}
|
5055
5072
|
async _withRetries(e) {
|
5056
5073
|
let t = 0;
|
@@ -5131,7 +5148,7 @@ class Cn {
|
|
5131
5148
|
try {
|
5132
5149
|
if (!indexedDB)
|
5133
5150
|
return !1;
|
5134
|
-
const e = await
|
5151
|
+
const e = await xe();
|
5135
5152
|
return await kt(e, me, "1"), await At(e, me), !0;
|
5136
5153
|
} catch {
|
5137
5154
|
}
|
@@ -5556,8 +5573,8 @@ async function Ps(n, e, t = !1) {
|
|
5556
5573
|
* See the License for the specific language governing permissions and
|
5557
5574
|
* limitations under the License.
|
5558
5575
|
*/
|
5559
|
-
const
|
5560
|
-
class
|
5576
|
+
const Ls = 10 * 60 * 1e3;
|
5577
|
+
class Ms {
|
5561
5578
|
constructor(e) {
|
5562
5579
|
this.auth = e, this.cachedEventUids = /* @__PURE__ */ new Set(), this.consumers = /* @__PURE__ */ new Set(), this.queuedRedirectEvent = null, this.hasHandledPotentialRedirect = !1, this.lastProcessedEventTime = Date.now();
|
5563
5580
|
}
|
@@ -5588,7 +5605,7 @@ class Ls {
|
|
5588
5605
|
return t.filter.includes(e.type) && r;
|
5589
5606
|
}
|
5590
5607
|
hasEventBeenHandled(e) {
|
5591
|
-
return Date.now() - this.lastProcessedEventTime >=
|
5608
|
+
return Date.now() - this.lastProcessedEventTime >= Ls && this.cachedEventUids.clear(), this.cachedEventUids.has(St(e));
|
5592
5609
|
}
|
5593
5610
|
saveEventToCache(e) {
|
5594
5611
|
this.cachedEventUids.add(St(e)), this.lastProcessedEventTime = Date.now();
|
@@ -5647,14 +5664,14 @@ async function Bs(n, e = {}) {
|
|
5647
5664
|
* See the License for the specific language governing permissions and
|
5648
5665
|
* limitations under the License.
|
5649
5666
|
*/
|
5650
|
-
const
|
5651
|
-
async function
|
5667
|
+
const Fs = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Hs = /^https?/;
|
5668
|
+
async function js(n) {
|
5652
5669
|
if (n.config.emulator)
|
5653
5670
|
return;
|
5654
5671
|
const { authorizedDomains: e } = await Bs(n);
|
5655
5672
|
for (const t of e)
|
5656
5673
|
try {
|
5657
|
-
if (
|
5674
|
+
if (xs(t))
|
5658
5675
|
return;
|
5659
5676
|
} catch {
|
5660
5677
|
}
|
@@ -5664,7 +5681,7 @@ async function xs(n) {
|
|
5664
5681
|
/* AuthErrorCode.INVALID_ORIGIN */
|
5665
5682
|
);
|
5666
5683
|
}
|
5667
|
-
function
|
5684
|
+
function xs(n) {
|
5668
5685
|
const e = He(), { protocol: t, hostname: r } = new URL(e);
|
5669
5686
|
if (n.startsWith("chrome-extension://")) {
|
5670
5687
|
const o = new URL(n);
|
@@ -5672,7 +5689,7 @@ function Fs(n) {
|
|
5672
5689
|
}
|
5673
5690
|
if (!Hs.test(t))
|
5674
5691
|
return !1;
|
5675
|
-
if (
|
5692
|
+
if (Fs.test(n))
|
5676
5693
|
return r === n;
|
5677
5694
|
const i = n.replace(/\./g, "\\.");
|
5678
5695
|
return new RegExp("^(.+\\." + i + "|" + i + ")$", "i").test(r);
|
@@ -5693,7 +5710,7 @@ function Fs(n) {
|
|
5693
5710
|
* See the License for the specific language governing permissions and
|
5694
5711
|
* limitations under the License.
|
5695
5712
|
*/
|
5696
|
-
const
|
5713
|
+
const Ws = new te(3e4, 6e4);
|
5697
5714
|
function Ot() {
|
5698
5715
|
const n = g().___jsl;
|
5699
5716
|
if (n != null && n.H) {
|
@@ -5718,7 +5735,7 @@ function Vs(n) {
|
|
5718
5735
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
5719
5736
|
));
|
5720
5737
|
},
|
5721
|
-
timeout:
|
5738
|
+
timeout: Ws.get()
|
5722
5739
|
});
|
5723
5740
|
}
|
5724
5741
|
if (!((i = (r = g().gapi) === null || r === void 0 ? void 0 : r.iframes) === null || i === void 0) && i.Iframe)
|
@@ -5726,7 +5743,7 @@ function Vs(n) {
|
|
5726
5743
|
else if (!((s = g().gapi) === null || s === void 0) && s.load)
|
5727
5744
|
o();
|
5728
5745
|
else {
|
5729
|
-
const a =
|
5746
|
+
const a = Ji("iframefcb");
|
5730
5747
|
return g()[a] = () => {
|
5731
5748
|
gapi.load ? o() : t(_(
|
5732
5749
|
n,
|
@@ -5759,7 +5776,7 @@ function Gs(n) {
|
|
5759
5776
|
* See the License for the specific language governing permissions and
|
5760
5777
|
* limitations under the License.
|
5761
5778
|
*/
|
5762
|
-
const zs = new te(5e3, 15e3), $s = "__/auth/iframe",
|
5779
|
+
const zs = new te(5e3, 15e3), $s = "__/auth/iframe", Js = "emulator/auth/iframe", Ys = {
|
5763
5780
|
style: {
|
5764
5781
|
position: "absolute",
|
5765
5782
|
top: "-100px",
|
@@ -5768,13 +5785,13 @@ const zs = new te(5e3, 15e3), $s = "__/auth/iframe", Zs = "emulator/auth/iframe"
|
|
5768
5785
|
},
|
5769
5786
|
"aria-hidden": "true",
|
5770
5787
|
tabindex: "-1"
|
5771
|
-
},
|
5788
|
+
}, Zs = /* @__PURE__ */ new Map([
|
5772
5789
|
["identitytoolkit.googleapis.com", "p"],
|
5773
5790
|
["staging-identitytoolkit.sandbox.googleapis.com", "s"],
|
5774
5791
|
["test-identitytoolkit.sandbox.googleapis.com", "t"]
|
5775
5792
|
// test
|
5776
5793
|
]);
|
5777
|
-
function
|
5794
|
+
function Xs(n) {
|
5778
5795
|
const e = n.config;
|
5779
5796
|
d(
|
5780
5797
|
e.authDomain,
|
@@ -5782,11 +5799,11 @@ function Ys(n) {
|
|
5782
5799
|
"auth-domain-config-required"
|
5783
5800
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
5784
5801
|
);
|
5785
|
-
const t = e.emulator ?
|
5802
|
+
const t = e.emulator ? Ze(e, Js) : `https://${n.config.authDomain}/${$s}`, r = {
|
5786
5803
|
apiKey: e.apiKey,
|
5787
5804
|
appName: n.name,
|
5788
5805
|
v: ee
|
5789
|
-
}, i =
|
5806
|
+
}, i = Zs.get(n.config.apiHost);
|
5790
5807
|
i && (r.eid = i);
|
5791
5808
|
const s = n._getFrameworks();
|
5792
5809
|
return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
|
@@ -5800,9 +5817,9 @@ async function Ks(n) {
|
|
5800
5817
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5801
5818
|
), e.open({
|
5802
5819
|
where: document.body,
|
5803
|
-
url:
|
5820
|
+
url: Xs(n),
|
5804
5821
|
messageHandlersFilter: t.iframes.CROSS_ORIGIN_IFRAMES_FILTER,
|
5805
|
-
attributes:
|
5822
|
+
attributes: Ys,
|
5806
5823
|
dontclear: !0
|
5807
5824
|
}, (r) => new Promise(async (i, s) => {
|
5808
5825
|
await r.restyle({
|
@@ -5868,7 +5885,7 @@ function ro(n, e, t, r = Qs, i = eo) {
|
|
5868
5885
|
left: o
|
5869
5886
|
}), l = f().toLowerCase();
|
5870
5887
|
t && (a = hn(l) ? to : t), dn(l) && (e = e || no, c.scrollbars = "yes");
|
5871
|
-
const u = Object.entries(c).reduce((m, [v,
|
5888
|
+
const u = Object.entries(c).reduce((m, [v, F]) => `${m}${v}=${F},`, "");
|
5872
5889
|
if (Bi(l) && a !== "_self")
|
5873
5890
|
return io(e || "", a), new Ct(null);
|
5874
5891
|
const p = window.open(e || "", a, u);
|
@@ -5944,7 +5961,7 @@ async function Nt(n, e, t, r, i, s) {
|
|
5944
5961
|
return `${co(n)}?${Q(a).slice(1)}${l}`;
|
5945
5962
|
}
|
5946
5963
|
function co({ config: n }) {
|
5947
|
-
return n.emulator ?
|
5964
|
+
return n.emulator ? Ze(n, oo) : `https://${n.authDomain}/${so}`;
|
5948
5965
|
}
|
5949
5966
|
/**
|
5950
5967
|
* @license
|
@@ -5993,7 +6010,7 @@ class lo {
|
|
5993
6010
|
}), r;
|
5994
6011
|
}
|
5995
6012
|
async initAndGetManager(e) {
|
5996
|
-
const t = await Ks(e), r = new
|
6013
|
+
const t = await Ks(e), r = new Ms(e);
|
5997
6014
|
return t.register("authEvent", (i) => (d(
|
5998
6015
|
i == null ? void 0 : i.authEvent,
|
5999
6016
|
e,
|
@@ -6017,7 +6034,7 @@ class lo {
|
|
6017
6034
|
}
|
6018
6035
|
_originValidation(e) {
|
6019
6036
|
const t = e._key();
|
6020
|
-
return this.originValidationPromises[t] || (this.originValidationPromises[t] =
|
6037
|
+
return this.originValidationPromises[t] || (this.originValidationPromises[t] = js(e)), this.originValidationPromises[t];
|
6021
6038
|
}
|
6022
6039
|
get _shouldInitProactively() {
|
6023
6040
|
return gn() || un() || Ke();
|
@@ -6109,7 +6126,7 @@ function po(n) {
|
|
6109
6126
|
}
|
6110
6127
|
}
|
6111
6128
|
function fo(n) {
|
6112
|
-
|
6129
|
+
Z(new G(
|
6113
6130
|
"auth",
|
6114
6131
|
(e, { options: t }) => {
|
6115
6132
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: o, authDomain: a } = r.options;
|
@@ -6123,7 +6140,7 @@ function fo(n) {
|
|
6123
6140
|
apiScheme: "https",
|
6124
6141
|
sdkClientVersion: vn(n)
|
6125
6142
|
}, l = new Vi(r, i, s, c);
|
6126
|
-
return
|
6143
|
+
return Zi(l, t), l;
|
6127
6144
|
},
|
6128
6145
|
"PUBLIC"
|
6129
6146
|
/* ComponentType.PUBLIC */
|
@@ -6135,7 +6152,7 @@ function fo(n) {
|
|
6135
6152
|
"auth-internal"
|
6136
6153
|
/* _ComponentName.AUTH_INTERNAL */
|
6137
6154
|
).initialize();
|
6138
|
-
})),
|
6155
|
+
})), Z(new G(
|
6139
6156
|
"auth-internal",
|
6140
6157
|
(e) => {
|
6141
6158
|
const t = ve(e.getProvider(
|
@@ -6149,7 +6166,7 @@ function fo(n) {
|
|
6149
6166
|
).setInstantiationMode(
|
6150
6167
|
"EXPLICIT"
|
6151
6168
|
/* InstantiationMode.EXPLICIT */
|
6152
|
-
)),
|
6169
|
+
)), j(Dt, Pt, po(n)), j(Dt, Pt, "esm2017");
|
6153
6170
|
}
|
6154
6171
|
/**
|
6155
6172
|
* @license
|
@@ -6168,13 +6185,13 @@ function fo(n) {
|
|
6168
6185
|
* limitations under the License.
|
6169
6186
|
*/
|
6170
6187
|
const mo = 5 * 60, _o = zt("authIdTokenMaxAge") || mo;
|
6171
|
-
let
|
6188
|
+
let Lt = null;
|
6172
6189
|
const go = (n) => async (e) => {
|
6173
6190
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
6174
6191
|
if (r && r > _o)
|
6175
6192
|
return;
|
6176
6193
|
const i = t == null ? void 0 : t.token;
|
6177
|
-
|
6194
|
+
Lt !== i && (Lt = i, await fetch(n, {
|
6178
6195
|
method: i ? "POST" : "DELETE",
|
6179
6196
|
headers: i ? {
|
6180
6197
|
Authorization: `Bearer ${i}`
|
@@ -6182,10 +6199,10 @@ const go = (n) => async (e) => {
|
|
6182
6199
|
}));
|
6183
6200
|
};
|
6184
6201
|
function vo(n = li()) {
|
6185
|
-
const e =
|
6202
|
+
const e = Zt(n, "auth");
|
6186
6203
|
if (e.isInitialized())
|
6187
6204
|
return e.getImmediate();
|
6188
|
-
const t =
|
6205
|
+
const t = Yi(n, {
|
6189
6206
|
popupRedirectResolver: uo,
|
6190
6207
|
persistence: [
|
6191
6208
|
ys,
|
@@ -6201,7 +6218,7 @@ function vo(n = li()) {
|
|
6201
6218
|
}
|
6202
6219
|
}
|
6203
6220
|
const i = Vt("auth");
|
6204
|
-
return i &&
|
6221
|
+
return i && Xi(t, `http://${i}`), t;
|
6205
6222
|
}
|
6206
6223
|
function Io() {
|
6207
6224
|
var n, e;
|
@@ -6228,7 +6245,7 @@ fo(
|
|
6228
6245
|
"Browser"
|
6229
6246
|
/* ClientPlatform.BROWSER */
|
6230
6247
|
);
|
6231
|
-
const bo =
|
6248
|
+
const bo = Mn({
|
6232
6249
|
history: Un(),
|
6233
6250
|
routes: [...Ge, ...Ve]
|
6234
6251
|
});
|
@@ -6240,20 +6257,20 @@ bo.beforeEach(async (n) => {
|
|
6240
6257
|
currentBusiness: r,
|
6241
6258
|
readRestaurants: i,
|
6242
6259
|
changeRestaurant: s
|
6243
|
-
} =
|
6260
|
+
} = We();
|
6244
6261
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (De || (De = new Promise((o) => {
|
6245
|
-
const a =
|
6262
|
+
const a = J(e, (c) => {
|
6246
6263
|
var l;
|
6247
6264
|
c && (a(), o(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
|
6248
6265
|
});
|
6249
6266
|
})), De) : !r.value || !t.value ? (Pe || (Pe = Promise.all([
|
6250
6267
|
new Promise(async (o) => {
|
6251
|
-
const a =
|
6268
|
+
const a = J(r, (c) => {
|
6252
6269
|
c && (a(), o(!0));
|
6253
6270
|
});
|
6254
6271
|
}),
|
6255
6272
|
new Promise(async (o) => {
|
6256
|
-
const a =
|
6273
|
+
const a = J(t, (l) => {
|
6257
6274
|
l && (a(), o(!0));
|
6258
6275
|
}), c = await i();
|
6259
6276
|
await s(c == null ? void 0 : c.at(0));
|
@@ -6263,8 +6280,8 @@ bo.beforeEach(async (n) => {
|
|
6263
6280
|
const yo = /* @__PURE__ */ Ut({
|
6264
6281
|
__name: "AppSidebar",
|
6265
6282
|
setup(n) {
|
6266
|
-
const e =
|
6267
|
-
|
6283
|
+
const e = We(), t = Bn(), r = Fn(t.currentRoute.value.name);
|
6284
|
+
J(t.currentRoute, () => {
|
6268
6285
|
let a = t.currentRoute.value.name;
|
6269
6286
|
t.currentRoute.value.meta.parent && (a = t.currentRoute.value.meta.parent), r.value = a;
|
6270
6287
|
});
|
@@ -6290,7 +6307,7 @@ const yo = /* @__PURE__ */ Ut({
|
|
6290
6307
|
return t.push({ name: a.name });
|
6291
6308
|
}
|
6292
6309
|
};
|
6293
|
-
}).filter((a) => !!a), o =
|
6310
|
+
}).filter((a) => !!a), o = Mt(() => {
|
6294
6311
|
var c;
|
6295
6312
|
const a = [...i];
|
6296
6313
|
return (c = e.sessionUser.value) != null && c.isInternal && (a.push({
|
@@ -6306,7 +6323,7 @@ const yo = /* @__PURE__ */ Ut({
|
|
6306
6323
|
});
|
6307
6324
|
return (a, c) => {
|
6308
6325
|
const l = Bt("FmCollapsibleTabs");
|
6309
|
-
return
|
6326
|
+
return Ft(), Ht(l, {
|
6310
6327
|
modelValue: r.value,
|
6311
6328
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => r.value = u),
|
6312
6329
|
items: o.value,
|
@@ -6319,20 +6336,20 @@ var Eo = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2
|
|
6319
6336
|
const Oo = /* @__PURE__ */ Ut({
|
6320
6337
|
__name: "App",
|
6321
6338
|
setup(n) {
|
6322
|
-
const { state: e } =
|
6339
|
+
const { state: e } = Wn(), t = We(), r = Xt(Eo.firebase);
|
6323
6340
|
async function i() {
|
6324
6341
|
const s = t.sessionUser.value;
|
6325
6342
|
if (!s || !s.token) return;
|
6326
6343
|
const o = await s.getCustomToken(), a = vo(r);
|
6327
6344
|
await is(a, o);
|
6328
6345
|
}
|
6329
|
-
return i(),
|
6346
|
+
return i(), J(t.sessionUser, i), Hn(() => {
|
6330
6347
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6331
|
-
}),
|
6348
|
+
}), jn(() => {
|
6332
6349
|
t.registerSidebarComponent(yo);
|
6333
6350
|
}), (s, o) => {
|
6334
6351
|
const a = Bt("RouterView");
|
6335
|
-
return
|
6352
|
+
return Ft(), Ht(a);
|
6336
6353
|
};
|
6337
6354
|
}
|
6338
6355
|
}), Co = [
|
@@ -6341,10 +6358,10 @@ const Oo = /* @__PURE__ */ Ut({
|
|
6341
6358
|
];
|
6342
6359
|
export {
|
6343
6360
|
G as C,
|
6344
|
-
|
6361
|
+
L as F,
|
6345
6362
|
ee as S,
|
6346
|
-
|
6347
|
-
|
6363
|
+
Z as _,
|
6364
|
+
Zt as a,
|
6348
6365
|
Ao as b,
|
6349
6366
|
li as c,
|
6350
6367
|
So as d,
|
@@ -6352,5 +6369,5 @@ export {
|
|
6352
6369
|
Co as f,
|
6353
6370
|
z as g,
|
6354
6371
|
Oo as h,
|
6355
|
-
|
6372
|
+
j as r
|
6356
6373
|
};
|