@feedmepos/mf-payment 1.0.0-beta.11 → 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-BCWthHjR.js → PayoutAccount-C7yVtAJN.js} +5 -5
- package/dist/{PayoutAccount-BU2ocKJ0.js → PayoutAccount-DYb6inY3.js} +3 -3
- 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-B86KsI6c.js → app-C5SdJ3Zi.js} +250 -233
- 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-CSEKeh4S.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
|
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
4
|
import { defineStore as xn } from "pinia";
|
5
|
-
const
|
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 je = [
|
|
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 je = [
|
|
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 je = [
|
|
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 je = [
|
|
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 je = [
|
|
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 je = [
|
|
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 je = [
|
|
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 je = [
|
|
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 je = [
|
|
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 je = [
|
|
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 je = [
|
|
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 je = [
|
|
128
145
|
init: t
|
129
146
|
};
|
130
147
|
});
|
131
|
-
var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_159cc4ce-7be2-4500-acc6-62de3a23eb26", 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_159cc4ce-7be2-4500-acc6-62de3a23eb26", 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_pLHUkgQO8WGuvWBHkKVhXxVMFDKkC93bqgst", 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:18466", 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: "12081336413", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "4e2eba31d72f086bd78510520095b121f1d047bb", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6MGEwZTNjMWMtMDFjYS00MDQ3LTljNWItMGQ5YTlkNGM3ZGJiOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC85NDYgRGlzdHJpYnV0ZWRUYXNrLkdlbmVyYXRlSWRUb2tlbjowYTBlM2MxYy0wMWNhLTQwNDctOWM1Yi0wZDlhOWQ0YzdkYmI6ZTA3NzQyYmQtMTg5YS01MDc5LTkxOGItNDNmOGIyZjk0Yjg5IExvY2F0aW9uU2VydmljZS5Db25uZWN0IFJlYWRBbmRVcGRhdGVCdWlsZEJ5VXJpOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMC8xOkJ1aWxkL0J1aWxkLzk0NiIsIklkZW50aXR5VHlwZUNsYWltIjoiU3lzdGVtOlNlcnZpY2VJZGVudGl0eSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6IkRERERERERELUREREQtRERERC1ERERELURERERERERERERERCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImF1aSI6IjhlNjUzZTdhLTZiMDUtNDRlMy05MWIzLWMyZTcyMWUwOGM4YiIsInNpZCI6IjJiYmQ5ODg3LWZkZWMtNDg0Yi1iMjczLTMwMTFhMjEyZTQyMiIsImFjIjoiW3tcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJvaWRjX2V4dHJhIjoie1wicmVmXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwic2hhXCI6XCI0ZTJlYmEzMWQ3MmYwODZiZDc4NTEwNTIwMDk1YjEyMWYxZDA0N2JiXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjEyMDgxMzM2NDEzXCIsXCJydW5fbnVtYmVyXCI6XCI4N1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCI0ZTJlYmEzMWQ3MmYwODZiZDc4NTEwNTIwMDk1YjEyMWYxZDA0N2JiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI0ZTJlYmEzMWQ3MmYwODZiZDc4NTEwNTIwMDk1YjEyMWYxZDA0N2JiXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiIwYTBlM2MxYy0wMWNhLTQwNDctOWM1Yi0wZDlhOWQ0YzdkYmIuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzI4Njc5OTAsImV4cCI6MTczMjg5MDc5MH0.l6Vv4ROgtq553QlSHFkdeg_kFtqrX_Wo9VDyi49N3QhJFnU0q7Y-R1GHVoANJZAl2HJdFXWJWbtqQ4_OQT2VfLxuCbuVSiQRFQ8s5opgxG2a6nOc3A_PijYqY1p7_i2-SV7-RF5P-ZMRTIZ_PAMQ--BmuS2ST7MZvwQILVtf9oCnWwEBwwSXPwxUldvG5IJ3Hirfq68Okwd_ktldn0MXA9VnTCfC1xciXG98lwxeVrn9suLRakhY_OPQ4bD7G_ZN_wlS3yrzbGLlM4gQIb2KuOjFWfK1KJ-ZYnQ1vHZLkevM9SIBSh0WdJxTgoX19W5twVW3Qx8vlVWBvUgY1BdB2w", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1732868649454-0.9612801764546932:/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--1732868649289-0.9731346801350178:/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--1732868649124-0.11263232434183168:/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_4dcaeeef-ca9d-4b74-b4be-559183336391", INVOCATION_ID: "76fa2ea174a34dc2b8c6418fee37952a", 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: "87", 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 47", 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.11", 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: "4e2eba31d72f086bd78510520095b121f1d047bb", 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_159cc4ce-7be2-4500-acc6-62de3a23eb26", 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/0a0e3c1c-01ca-4047-9c5b-0d9a9d4c7dbb/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_159cc4ce-7be2-4500-acc6-62de3a23eb26", 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_159cc4ce-7be2-4500-acc6-62de3a23eb26", 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++) {
|
@@ -153,7 +170,7 @@ const Ht = function(n) {
|
|
153
170
|
i < 128 ? e[t++] = i : i < 2048 ? (e[t++] = i >> 6 | 192, e[t++] = i & 63 | 128) : (i & 64512) === 55296 && r + 1 < n.length && (n.charCodeAt(r + 1) & 64512) === 56320 ? (i = 65536 + ((i & 1023) << 10) + (n.charCodeAt(++r) & 1023), e[t++] = i >> 18 | 240, e[t++] = i >> 12 & 63 | 128, e[t++] = i >> 6 & 63 | 128, e[t++] = i & 63 | 128) : (e[t++] = i >> 12 | 224, e[t++] = i >> 6 & 63 | 128, e[t++] = i & 63 | 128);
|
154
171
|
}
|
155
172
|
return e;
|
156
|
-
},
|
173
|
+
}, Vn = function(n) {
|
157
174
|
const e = [];
|
158
175
|
let t = 0, r = 0;
|
159
176
|
for (; t < n.length; ) {
|
@@ -246,7 +263,7 @@ const Ht = 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.
|
@@ -257,7 +274,7 @@ const Ht = function(n) {
|
|
257
274
|
* @return string representing the decoded value.
|
258
275
|
*/
|
259
276
|
decodeString(n, e) {
|
260
|
-
return this.HAS_NATIVE_SUPPORT && !e ? atob(n) :
|
277
|
+
return this.HAS_NATIVE_SUPPORT && !e ? atob(n) : Vn(this.decodeStringToByteArray(n, e));
|
261
278
|
},
|
262
279
|
/**
|
263
280
|
* Base64-decode a string.
|
@@ -289,8 +306,8 @@ const Ht = 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,11 +332,11 @@ class Gn extends Error {
|
|
315
332
|
}
|
316
333
|
}
|
317
334
|
const zn = function(n) {
|
318
|
-
const e =
|
335
|
+
const e = jt(n);
|
319
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
341
|
return xt.decodeString(n, !0);
|
325
342
|
} catch (e) {
|
@@ -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 Jn = () => $n().__FIREBASE_DEFAULTS__,
|
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,20 +400,20 @@ const Jn = () => $n().__FIREBASE_DEFAULTS__, Zn = () => {
|
|
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 Jn() ||
|
407
|
+
return Jn() || Yn() || Zn();
|
391
408
|
} catch (n) {
|
392
409
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
393
410
|
return;
|
394
411
|
}
|
395
|
-
},
|
412
|
+
}, Vt = (n) => {
|
396
413
|
var e, t;
|
397
414
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
398
|
-
},
|
399
|
-
const e =
|
415
|
+
}, Ao = (n) => {
|
416
|
+
const e = Vt(n);
|
400
417
|
if (!e)
|
401
418
|
return;
|
402
419
|
const t = e.lastIndexOf(":");
|
@@ -463,7 +480,7 @@ class Xn {
|
|
463
480
|
* See the License for the specific language governing permissions and
|
464
481
|
* limitations under the License.
|
465
482
|
*/
|
466
|
-
function
|
483
|
+
function So(n, e) {
|
467
484
|
if (n.uid)
|
468
485
|
throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');
|
469
486
|
const t = {
|
@@ -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
|
@@ -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 Jt = /* @__PURE__ */ new WeakMap(),
|
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 = () => {
|
@@ -1166,7 +1183,7 @@ function Er(n) {
|
|
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
|
-
const r = n.call(
|
1208
|
-
return
|
1224
|
+
const r = n.call(Ae(this), e, ...t);
|
1225
|
+
return Yt.set(r, e.sort ? e.sort() : [e]), N(r);
|
1209
1226
|
} : yr().includes(n) ? function(...e) {
|
1210
|
-
return n.apply(
|
1227
|
+
return n.apply(Ae(this), e), N(Jt.get(this));
|
1211
1228
|
} : function(...e) {
|
1212
|
-
return N(n.apply(
|
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)
|
@@ -1223,8 +1240,8 @@ function N(n) {
|
|
1223
1240
|
const e = kr(n);
|
1224
1241
|
return e !== n && (ke.set(n, e), $e.set(e, n)), e;
|
1225
1242
|
}
|
1226
|
-
const
|
1227
|
-
function
|
1243
|
+
const Ae = (n) => $e.get(n);
|
1244
|
+
function Ar(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1228
1245
|
const o = indexedDB.open(n, e), a = N(o);
|
1229
1246
|
return r && o.addEventListener("upgradeneeded", (c) => {
|
1230
1247
|
r(N(o.result), c.oldVersion, c.newVersion, N(o.transaction), c);
|
@@ -1238,16 +1255,16 @@ function Sr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1238
1255
|
}).catch(() => {
|
1239
1256
|
}), a;
|
1240
1257
|
}
|
1241
|
-
const
|
1258
|
+
const Sr = ["get", "getKey", "getAll", "getAllKeys", "count"], Or = ["put", "add", "delete", "clear"], Se = /* @__PURE__ */ new Map();
|
1242
1259
|
function ut(n, e) {
|
1243
1260
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
1244
1261
|
return;
|
1245
|
-
if (
|
1246
|
-
return
|
1262
|
+
if (Se.get(e))
|
1263
|
+
return Se.get(e);
|
1247
1264
|
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = Or.includes(t);
|
1248
1265
|
if (
|
1249
1266
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
1250
|
-
!(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i ||
|
1267
|
+
!(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || Sr.includes(t))
|
1251
1268
|
)
|
1252
1269
|
return;
|
1253
1270
|
const s = async function(o, ...a) {
|
@@ -1258,7 +1275,7 @@ function ut(n, e) {
|
|
1258
1275
|
i && c.done
|
1259
1276
|
]))[0];
|
1260
1277
|
};
|
1261
|
-
return
|
1278
|
+
return Se.set(e, s), s;
|
1262
1279
|
}
|
1263
1280
|
wr((n) => ({
|
1264
1281
|
...n,
|
@@ -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,23 +1355,23 @@ 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
|
-
[
|
1347
|
-
[
|
1348
|
-
[
|
1363
|
+
[Fr]: "fire-auth-compat",
|
1364
|
+
[Hr]: "fire-rtdb",
|
1365
|
+
[jr]: "fire-data-connect",
|
1349
1366
|
[xr]: "fire-rtdb-compat",
|
1350
|
-
[
|
1351
|
-
[
|
1367
|
+
[Wr]: "fire-fn",
|
1368
|
+
[Vr]: "fire-fn-compat",
|
1352
1369
|
[Gr]: "fire-iid",
|
1353
1370
|
[zr]: "fire-iid-compat",
|
1354
1371
|
[$r]: "fire-fcm",
|
1355
1372
|
[Jr]: "fire-fcm-compat",
|
1356
|
-
[
|
1357
|
-
[
|
1373
|
+
[Yr]: "fire-perf",
|
1374
|
+
[Zr]: "fire-perf-compat",
|
1358
1375
|
[Xr]: "fire-rc",
|
1359
1376
|
[Kr]: "fire-rc-compat",
|
1360
1377
|
[qr]: "fire-gcs",
|
@@ -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
|
}
|
@@ -1534,7 +1551,7 @@ function Xt(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;
|
@@ -1547,7 +1564,7 @@ function li(n = Be) {
|
|
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 H(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"
|
@@ -1585,7 +1602,7 @@ function H(n, e, t) {
|
|
1585
1602
|
const di = "firebase-heartbeat-database", ui = 1, X = "firebase-heartbeat-store";
|
1586
1603
|
let Oe = null;
|
1587
1604
|
function Kt() {
|
1588
|
-
return Oe || (Oe =
|
1605
|
+
return Oe || (Oe = Ar(di, ui, {
|
1589
1606
|
upgrade: (n, e) => {
|
1590
1607
|
switch (e) {
|
1591
1608
|
case 0:
|
@@ -1607,7 +1624,7 @@ async function hi(n) {
|
|
1607
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", {
|
@@ -1622,7 +1639,7 @@ async function ft(n, e) {
|
|
1622
1639
|
const r = (await Kt()).transaction(X, "readwrite");
|
1623
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++) {
|
@@ -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 Ze(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;
|
@@ -1933,7 +1950,7 @@ function R(n, e) {
|
|
1933
1950
|
* See the License for the specific language governing permissions and
|
1934
1951
|
* limitations under the License.
|
1935
1952
|
*/
|
1936
|
-
function
|
1953
|
+
function He() {
|
1937
1954
|
var n;
|
1938
1955
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
1939
1956
|
}
|
@@ -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;
|
@@ -2186,7 +2203,7 @@ const ki = {
|
|
2186
2203
|
* See the License for the specific language governing permissions and
|
2187
2204
|
* limitations under the License.
|
2188
2205
|
*/
|
2189
|
-
const
|
2206
|
+
const Ai = new te(3e4, 6e4);
|
2190
2207
|
function ge(n, e) {
|
2191
2208
|
return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
|
2192
2209
|
}
|
@@ -2215,7 +2232,7 @@ async function rn(n, e, t) {
|
|
2215
2232
|
n._canInitEmulator = !1;
|
2216
2233
|
const r = Object.assign(Object.assign({}, ki), e);
|
2217
2234
|
try {
|
2218
|
-
const i = new
|
2235
|
+
const i = new Si(n), s = await Promise.race([
|
2219
2236
|
t(),
|
2220
2237
|
i.promise
|
2221
2238
|
]);
|
@@ -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,16 +2269,16 @@ 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
|
-
class
|
2274
|
+
class Si {
|
2258
2275
|
constructor(e) {
|
2259
2276
|
this.auth = e, this.timer = null, this.promise = new Promise((t, r) => {
|
2260
2277
|
this.timer = setTimeout(() => r(_(
|
2261
2278
|
this.auth,
|
2262
2279
|
"network-request-failed"
|
2263
2280
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
2264
|
-
)),
|
2281
|
+
)), Ai.get());
|
2265
2282
|
});
|
2266
2283
|
}
|
2267
2284
|
clearNetworkTimeout() {
|
@@ -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));
|
@@ -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
|
};
|
@@ -2350,7 +2367,7 @@ function Xe(n) {
|
|
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;
|
@@ -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,7 +2557,7 @@ 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) {
|
@@ -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",
|
@@ -2657,7 +2674,7 @@ class x {
|
|
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) {
|
@@ -2712,7 +2729,7 @@ function k(n, e) {
|
|
2712
2729
|
class y {
|
2713
2730
|
constructor(e) {
|
2714
2731
|
var { uid: t, auth: r, stsTokenManager: i } = e, s = Je(e, ["uid", "auth", "stsTokenManager"]);
|
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
|
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,7 +2811,7 @@ 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,
|
@@ -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
|
@@ -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 V {
|
|
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 V {
|
|
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()) {
|
@@ -3153,7 +3170,7 @@ function vn(n, e = []) {
|
|
3153
3170
|
* See the License for the specific language governing permissions and
|
3154
3171
|
* limitations under the License.
|
3155
3172
|
*/
|
3156
|
-
class
|
3173
|
+
class Hi {
|
3157
3174
|
constructor(e) {
|
3158
3175
|
this.auth = e, this.queue = [];
|
3159
3176
|
}
|
@@ -3208,7 +3225,7 @@ class Fi {
|
|
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
|
/**
|
@@ -3228,7 +3245,7 @@ async function Hi(n, e = {}) {
|
|
3228
3245
|
* limitations under the License.
|
3229
3246
|
*/
|
3230
3247
|
const xi = 6;
|
3231
|
-
class
|
3248
|
+
class Wi {
|
3232
3249
|
constructor(e) {
|
3233
3250
|
var t, r, i, s;
|
3234
3251
|
const o = e.customStrengthOptions;
|
@@ -3315,14 +3332,14 @@ class Vi {
|
|
3315
3332
|
* See the License for the specific language governing permissions and
|
3316
3333
|
* limitations under the License.
|
3317
3334
|
*/
|
3318
|
-
class
|
3335
|
+
class Vi {
|
3319
3336
|
constructor(e, t, r, i) {
|
3320
|
-
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = new
|
3337
|
+
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = new Hi(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = en, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = i.sdkClientVersion;
|
3321
3338
|
}
|
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 ji {
|
|
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 ji {
|
|
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"
|
@@ -3716,8 +3733,8 @@ function Ji(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,7 +3747,7 @@ function Zi(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
|
}
|
@@ -3843,7 +3860,7 @@ class bn {
|
|
3843
3860
|
* See the License for the specific language governing permissions and
|
3844
3861
|
* limitations under the License.
|
3845
3862
|
*/
|
3846
|
-
async function
|
3863
|
+
async function V(n, e) {
|
3847
3864
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ge(n, e));
|
3848
3865
|
}
|
3849
3866
|
/**
|
@@ -3906,17 +3923,17 @@ class U extends bn {
|
|
3906
3923
|
/** @internal */
|
3907
3924
|
_getIdTokenResponse(e) {
|
3908
3925
|
const t = this.buildRequest();
|
3909
|
-
return
|
3926
|
+
return V(e, t);
|
3910
3927
|
}
|
3911
3928
|
/** @internal */
|
3912
3929
|
_linkToIdToken(e, t) {
|
3913
3930
|
const r = this.buildRequest();
|
3914
|
-
return r.idToken = t,
|
3931
|
+
return r.idToken = t, V(e, r);
|
3915
3932
|
}
|
3916
3933
|
/** @internal */
|
3917
3934
|
_getReauthenticationResolver(e) {
|
3918
3935
|
const t = this.buildRequest();
|
3919
|
-
return t.autoCreate = !1,
|
3936
|
+
return t.autoCreate = !1, V(e, t);
|
3920
3937
|
}
|
3921
3938
|
buildRequest() {
|
3922
3939
|
const e = {
|
@@ -4036,7 +4053,7 @@ class ne extends yn {
|
|
4036
4053
|
* See the License for the specific language governing permissions and
|
4037
4054
|
* limitations under the License.
|
4038
4055
|
*/
|
4039
|
-
class
|
4056
|
+
class A extends ne {
|
4040
4057
|
constructor() {
|
4041
4058
|
super(
|
4042
4059
|
"facebook.com"
|
@@ -4057,8 +4074,8 @@ class S extends ne {
|
|
4057
4074
|
*/
|
4058
4075
|
static credential(e) {
|
4059
4076
|
return U._fromParams({
|
4060
|
-
providerId:
|
4061
|
-
signInMethod:
|
4077
|
+
providerId: A.PROVIDER_ID,
|
4078
|
+
signInMethod: A.FACEBOOK_SIGN_IN_METHOD,
|
4062
4079
|
accessToken: e
|
4063
4080
|
});
|
4064
4081
|
}
|
@@ -4068,7 +4085,7 @@ class S extends ne {
|
|
4068
4085
|
* @param userCredential - The user credential.
|
4069
4086
|
*/
|
4070
4087
|
static credentialFromResult(e) {
|
4071
|
-
return
|
4088
|
+
return A.credentialFromTaggedObject(e);
|
4072
4089
|
}
|
4073
4090
|
/**
|
4074
4091
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4077,20 +4094,20 @@ class S extends ne {
|
|
4077
4094
|
* @param userCredential - The user credential.
|
4078
4095
|
*/
|
4079
4096
|
static credentialFromError(e) {
|
4080
|
-
return
|
4097
|
+
return A.credentialFromTaggedObject(e.customData || {});
|
4081
4098
|
}
|
4082
4099
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4083
4100
|
if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
|
4084
4101
|
return null;
|
4085
4102
|
try {
|
4086
|
-
return
|
4103
|
+
return A.credential(e.oauthAccessToken);
|
4087
4104
|
} catch {
|
4088
4105
|
return null;
|
4089
4106
|
}
|
4090
4107
|
}
|
4091
4108
|
}
|
4092
|
-
|
4093
|
-
|
4109
|
+
A.FACEBOOK_SIGN_IN_METHOD = "facebook.com";
|
4110
|
+
A.PROVIDER_ID = "facebook.com";
|
4094
4111
|
/**
|
4095
4112
|
* @license
|
4096
4113
|
* Copyright 2020 Google LLC
|
@@ -4107,7 +4124,7 @@ S.PROVIDER_ID = "facebook.com";
|
|
4107
4124
|
* See the License for the specific language governing permissions and
|
4108
4125
|
* limitations under the License.
|
4109
4126
|
*/
|
4110
|
-
class
|
4127
|
+
class S extends ne {
|
4111
4128
|
constructor() {
|
4112
4129
|
super(
|
4113
4130
|
"google.com"
|
@@ -4129,8 +4146,8 @@ class A extends ne {
|
|
4129
4146
|
*/
|
4130
4147
|
static credential(e, t) {
|
4131
4148
|
return U._fromParams({
|
4132
|
-
providerId:
|
4133
|
-
signInMethod:
|
4149
|
+
providerId: S.PROVIDER_ID,
|
4150
|
+
signInMethod: S.GOOGLE_SIGN_IN_METHOD,
|
4134
4151
|
idToken: e,
|
4135
4152
|
accessToken: t
|
4136
4153
|
});
|
@@ -4141,7 +4158,7 @@ class A extends ne {
|
|
4141
4158
|
* @param userCredential - The user credential.
|
4142
4159
|
*/
|
4143
4160
|
static credentialFromResult(e) {
|
4144
|
-
return
|
4161
|
+
return S.credentialFromTaggedObject(e);
|
4145
4162
|
}
|
4146
4163
|
/**
|
4147
4164
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4150,7 +4167,7 @@ class A extends ne {
|
|
4150
4167
|
* @param userCredential - The user credential.
|
4151
4168
|
*/
|
4152
4169
|
static credentialFromError(e) {
|
4153
|
-
return
|
4170
|
+
return S.credentialFromTaggedObject(e.customData || {});
|
4154
4171
|
}
|
4155
4172
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4156
4173
|
if (!e)
|
@@ -4159,14 +4176,14 @@ class A extends ne {
|
|
4159
4176
|
if (!t && !r)
|
4160
4177
|
return null;
|
4161
4178
|
try {
|
4162
|
-
return
|
4179
|
+
return S.credential(t, r);
|
4163
4180
|
} catch {
|
4164
4181
|
return null;
|
4165
4182
|
}
|
4166
4183
|
}
|
4167
4184
|
}
|
4168
|
-
|
4169
|
-
|
4185
|
+
S.GOOGLE_SIGN_IN_METHOD = "google.com";
|
4186
|
+
S.PROVIDER_ID = "google.com";
|
4170
4187
|
/**
|
4171
4188
|
* @license
|
4172
4189
|
* Copyright 2020 Google LLC
|
@@ -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 = {
|
@@ -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;
|
@@ -4952,7 +4969,7 @@ function hs(n) {
|
|
4952
4969
|
* See the License for the specific language governing permissions and
|
4953
4970
|
* limitations under the License.
|
4954
4971
|
*/
|
4955
|
-
function
|
4972
|
+
function An() {
|
4956
4973
|
return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
|
4957
4974
|
}
|
4958
4975
|
async function ps() {
|
@@ -4969,7 +4986,7 @@ function fs() {
|
|
4969
4986
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
4970
4987
|
}
|
4971
4988
|
function ms() {
|
4972
|
-
return
|
4989
|
+
return An() ? self : null;
|
4973
4990
|
}
|
4974
4991
|
/**
|
4975
4992
|
* @license
|
@@ -4987,7 +5004,7 @@ function ms() {
|
|
4987
5004
|
* See the License for the specific language governing permissions and
|
4988
5005
|
* limitations under the License.
|
4989
5006
|
*/
|
4990
|
-
const
|
5007
|
+
const Sn = "firebaseLocalStorageDb", _s = 1, _e = "firebaseLocalStorage", On = "fbase_key";
|
4991
5008
|
class re {
|
4992
5009
|
constructor(e) {
|
4993
5010
|
this.request = e;
|
@@ -5006,11 +5023,11 @@ function be(n, e) {
|
|
5006
5023
|
return n.transaction([_e], e ? "readwrite" : "readonly").objectStore(_e);
|
5007
5024
|
}
|
5008
5025
|
function gs() {
|
5009
|
-
const n = indexedDB.deleteDatabase(
|
5026
|
+
const n = indexedDB.deleteDatabase(Sn);
|
5010
5027
|
return new re(n).toPromise();
|
5011
5028
|
}
|
5012
5029
|
function xe() {
|
5013
|
-
const n = indexedDB.open(
|
5030
|
+
const n = indexedDB.open(Sn, _s);
|
5014
5031
|
return new Promise((e, t) => {
|
5015
5032
|
n.addEventListener("error", () => {
|
5016
5033
|
t(n.error);
|
@@ -5038,7 +5055,7 @@ async function vs(n, e) {
|
|
5038
5055
|
const t = be(n, !1).get(e), r = await new re(t).toPromise();
|
5039
5056
|
return r === void 0 ? null : r.value;
|
5040
5057
|
}
|
5041
|
-
function
|
5058
|
+
function At(n, e) {
|
5042
5059
|
const t = be(n, !0).delete(e);
|
5043
5060
|
return new re(t).toPromise();
|
5044
5061
|
}
|
@@ -5069,7 +5086,7 @@ class Cn {
|
|
5069
5086
|
* postMessage interface to send these events to the worker ourselves.
|
5070
5087
|
*/
|
5071
5088
|
async initializeServiceWorkerMessaging() {
|
5072
|
-
return
|
5089
|
+
return An() ? this.initializeReceiver() : this.initializeSender();
|
5073
5090
|
}
|
5074
5091
|
/**
|
5075
5092
|
* As the worker we should listen to events from the main window.
|
@@ -5132,7 +5149,7 @@ class Cn {
|
|
5132
5149
|
if (!indexedDB)
|
5133
5150
|
return !1;
|
5134
5151
|
const e = await xe();
|
5135
|
-
return await kt(e, me, "1"), await
|
5152
|
+
return await kt(e, me, "1"), await At(e, me), !0;
|
5136
5153
|
} catch {
|
5137
5154
|
}
|
5138
5155
|
return !1;
|
@@ -5153,7 +5170,7 @@ class Cn {
|
|
5153
5170
|
return this.localCache[e] = t, t;
|
5154
5171
|
}
|
5155
5172
|
async _remove(e) {
|
5156
|
-
return this._withPendingWrite(async () => (await this._withRetries((t) =>
|
5173
|
+
return this._withPendingWrite(async () => (await this._withRetries((t) => At(t, e)), delete this.localCache[e], this.notifyServiceWorker(e)));
|
5157
5174
|
}
|
5158
5175
|
async _poll() {
|
5159
5176
|
const e = await this._withRetries((i) => {
|
@@ -5244,13 +5261,13 @@ class et extends bn {
|
|
5244
5261
|
), this.params = e;
|
5245
5262
|
}
|
5246
5263
|
_getIdTokenResponse(e) {
|
5247
|
-
return
|
5264
|
+
return V(e, this._buildIdpRequest());
|
5248
5265
|
}
|
5249
5266
|
_linkToIdToken(e, t) {
|
5250
|
-
return
|
5267
|
+
return V(e, this._buildIdpRequest(t));
|
5251
5268
|
}
|
5252
5269
|
_getReauthenticationResolver(e) {
|
5253
|
-
return
|
5270
|
+
return V(e, this._buildIdpRequest());
|
5254
5271
|
}
|
5255
5272
|
_buildIdpRequest(e) {
|
5256
5273
|
const t = {
|
@@ -5386,9 +5403,9 @@ class Nn {
|
|
5386
5403
|
* limitations under the License.
|
5387
5404
|
*/
|
5388
5405
|
const ks = new te(2e3, 1e4);
|
5389
|
-
class
|
5406
|
+
class H extends Nn {
|
5390
5407
|
constructor(e, t, r, i, s) {
|
5391
|
-
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null,
|
5408
|
+
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, H.currentPopupAction && H.currentPopupAction.cancel(), H.currentPopupAction = this;
|
5392
5409
|
}
|
5393
5410
|
async executeNotNull() {
|
5394
5411
|
const e = await this.execute();
|
@@ -5430,7 +5447,7 @@ class F extends Nn {
|
|
5430
5447
|
));
|
5431
5448
|
}
|
5432
5449
|
cleanUp() {
|
5433
|
-
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null,
|
5450
|
+
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, H.currentPopupAction = null;
|
5434
5451
|
}
|
5435
5452
|
pollUserCancellation() {
|
5436
5453
|
const e = () => {
|
@@ -5454,7 +5471,7 @@ class F extends Nn {
|
|
5454
5471
|
e();
|
5455
5472
|
}
|
5456
5473
|
}
|
5457
|
-
|
5474
|
+
H.currentPopupAction = null;
|
5458
5475
|
/**
|
5459
5476
|
* @license
|
5460
5477
|
* Copyright 2020 Google LLC
|
@@ -5471,8 +5488,8 @@ F.currentPopupAction = null;
|
|
5471
5488
|
* See the License for the specific language governing permissions and
|
5472
5489
|
* limitations under the License.
|
5473
5490
|
*/
|
5474
|
-
const
|
5475
|
-
class
|
5491
|
+
const As = "pendingRedirect", ae = /* @__PURE__ */ new Map();
|
5492
|
+
class Ss extends Nn {
|
5476
5493
|
constructor(e, t, r = !1) {
|
5477
5494
|
super(e, [
|
5478
5495
|
"signInViaRedirect",
|
@@ -5532,12 +5549,12 @@ function Ns(n) {
|
|
5532
5549
|
return E(n._redirectPersistence);
|
5533
5550
|
}
|
5534
5551
|
function Ds(n) {
|
5535
|
-
return oe(
|
5552
|
+
return oe(As, n.config.apiKey, n.name);
|
5536
5553
|
}
|
5537
5554
|
async function Ps(n, e, t = !1) {
|
5538
5555
|
if (I(n.app))
|
5539
5556
|
return Promise.reject(P(n));
|
5540
|
-
const r = ve(n), i = Es(r, e), o = await new
|
5557
|
+
const r = ve(n), i = Es(r, e), o = await new Ss(r, i, t).execute();
|
5541
5558
|
return o && !t && (delete o.user._redirectEventId, await r._persistUserIfCurrent(o.user), await r._setRedirectUser(null, e)), o;
|
5542
5559
|
}
|
5543
5560
|
/**
|
@@ -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,13 +5605,13 @@ 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
|
-
this.cachedEventUids.add(
|
5611
|
+
this.cachedEventUids.add(St(e)), this.lastProcessedEventTime = Date.now();
|
5595
5612
|
}
|
5596
5613
|
}
|
5597
|
-
function
|
5614
|
+
function St(n) {
|
5598
5615
|
return [n.type, n.eventId, n.sessionId, n.tenantId].filter((e) => e).join("-");
|
5599
5616
|
}
|
5600
5617
|
function Dn({ type: n, error: e }) {
|
@@ -5647,8 +5664,8 @@ 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);
|
@@ -5665,14 +5682,14 @@ async function Hs(n) {
|
|
5665
5682
|
);
|
5666
5683
|
}
|
5667
5684
|
function xs(n) {
|
5668
|
-
const e =
|
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);
|
5671
5688
|
return o.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && o.hostname === r;
|
5672
5689
|
}
|
5673
|
-
if (!
|
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 xs(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) {
|
@@ -5703,7 +5720,7 @@ function Ot() {
|
|
5703
5720
|
n.CP[t] = null;
|
5704
5721
|
}
|
5705
5722
|
}
|
5706
|
-
function
|
5723
|
+
function Vs(n) {
|
5707
5724
|
return new Promise((e, t) => {
|
5708
5725
|
var r, i, s;
|
5709
5726
|
function o() {
|
@@ -5718,7 +5735,7 @@ function js(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)
|
@@ -5741,7 +5758,7 @@ function js(n) {
|
|
5741
5758
|
}
|
5742
5759
|
let ce = null;
|
5743
5760
|
function Gs(n) {
|
5744
|
-
return ce = ce ||
|
5761
|
+
return ce = ce || Vs(n), ce;
|
5745
5762
|
}
|
5746
5763
|
/**
|
5747
5764
|
* @license
|
@@ -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", Js = "emulator/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,7 +5785,7 @@ const zs = new te(5e3, 15e3), $s = "__/auth/iframe", Js = "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"]
|
@@ -5782,11 +5799,11 @@ function Xs(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)}`;
|
@@ -5802,7 +5819,7 @@ async function Ks(n) {
|
|
5802
5819
|
where: document.body,
|
5803
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
|
@@ -5972,12 +5989,12 @@ class lo {
|
|
5972
5989
|
async _openPopup(e, t, r, i) {
|
5973
5990
|
var s;
|
5974
5991
|
R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
5975
|
-
const o = await Nt(e, t, r,
|
5992
|
+
const o = await Nt(e, t, r, He(), i);
|
5976
5993
|
return ro(e, o, Qe());
|
5977
5994
|
}
|
5978
5995
|
async _openRedirect(e, t, r, i) {
|
5979
5996
|
await this._originValidation(e);
|
5980
|
-
const s = await Nt(e, t, r,
|
5997
|
+
const s = await Nt(e, t, r, He(), i);
|
5981
5998
|
return hs(s), new Promise(() => {
|
5982
5999
|
});
|
5983
6000
|
}
|
@@ -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;
|
@@ -6122,8 +6139,8 @@ function fo(n) {
|
|
6122
6139
|
tokenApiHost: "securetoken.googleapis.com",
|
6123
6140
|
apiScheme: "https",
|
6124
6141
|
sdkClientVersion: vn(n)
|
6125
|
-
}, l = new
|
6126
|
-
return
|
6142
|
+
}, l = new Vi(r, i, s, c);
|
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,
|
@@ -6200,7 +6217,7 @@ function vo(n = li()) {
|
|
6200
6217
|
os(t, o, () => o(t.currentUser)), ss(t, (a) => o(a));
|
6201
6218
|
}
|
6202
6219
|
}
|
6203
|
-
const i =
|
6220
|
+
const i = Vt("auth");
|
6204
6221
|
return i && Xi(t, `http://${i}`), t;
|
6205
6222
|
}
|
6206
6223
|
function Io() {
|
@@ -6228,9 +6245,9 @@ fo(
|
|
6228
6245
|
"Browser"
|
6229
6246
|
/* ClientPlatform.BROWSER */
|
6230
6247
|
);
|
6231
|
-
const bo =
|
6248
|
+
const bo = Mn({
|
6232
6249
|
history: Un(),
|
6233
|
-
routes: [...Ge, ...
|
6250
|
+
routes: [...Ge, ...Ve]
|
6234
6251
|
});
|
6235
6252
|
let De, Pe;
|
6236
6253
|
bo.beforeEach(async (n) => {
|
@@ -6240,7 +6257,7 @@ 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
6262
|
const a = J(e, (c) => {
|
6246
6263
|
var l;
|
@@ -6263,7 +6280,7 @@ bo.beforeEach(async (n) => {
|
|
6263
6280
|
const yo = /* @__PURE__ */ Ut({
|
6264
6281
|
__name: "AppSidebar",
|
6265
6282
|
setup(n) {
|
6266
|
-
const e =
|
6283
|
+
const e = We(), t = Bn(), r = Fn(t.currentRoute.value.name);
|
6267
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;
|
@@ -6279,7 +6296,7 @@ const yo = /* @__PURE__ */ Ut({
|
|
6279
6296
|
return t.push({ name: a.name });
|
6280
6297
|
}
|
6281
6298
|
};
|
6282
|
-
}).filter((a) => !!a), s =
|
6299
|
+
}).filter((a) => !!a), s = Ve.map((a) => {
|
6283
6300
|
var c;
|
6284
6301
|
if ((c = a.meta) != null && c.sidebarDisplay)
|
6285
6302
|
return {
|
@@ -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,38 +6336,38 @@ 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(), J(t.sessionUser, 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 = [
|
6339
|
-
...
|
6356
|
+
...Ve,
|
6340
6357
|
...Ge
|
6341
6358
|
];
|
6342
6359
|
export {
|
6343
6360
|
G as C,
|
6344
|
-
|
6361
|
+
L as F,
|
6345
6362
|
ee as S,
|
6346
|
-
|
6347
|
-
|
6348
|
-
|
6363
|
+
Z as _,
|
6364
|
+
Zt as a,
|
6365
|
+
Ao as b,
|
6349
6366
|
li as c,
|
6350
|
-
|
6367
|
+
So as d,
|
6351
6368
|
gt as e,
|
6352
6369
|
Co as f,
|
6353
6370
|
z as g,
|
6354
6371
|
Oo as h,
|
6355
|
-
|
6372
|
+
j as r
|
6356
6373
|
};
|