@feedmepos/mf-connect 0.1.59-prod → 0.1.61-prod
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/{Analytic-1heLfSqq.js → Analytic-nw77CilD.js} +11 -11
- package/dist/{App-BOM2IfBO.js → App-CovUFBxK.js} +7 -7
- package/dist/{Bin-BgYzSjrq.js → Bin-Bi8wl_7A.js} +8 -8
- package/dist/{Broadcast-DHeN_79K.js → Broadcast-S9Fdtdi8.js} +9 -9
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DFOIbmI6.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-B7Id-_2Y.js} +6 -6
- package/dist/{Card-CuJ7bMy5.js → Card-eVpL2PHR.js} +16 -16
- package/dist/{Collections-D1FRwIRi.js → Collections-BhdxVX1r.js} +7 -7
- package/dist/{Credit-CeYpgCod.js → Credit-CGwuybAs.js} +9 -9
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-B8lOyyAc.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BtRI72t9.js} +30 -30
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-De2lhmbT.js → EffectSheet.vue_vue_type_style_index_0_lang-CYrApPpx.js} +6 -6
- package/dist/{Experience-D-tJxul7.js → Experience-BjpNDqTZ.js} +9 -9
- package/dist/{Game-BOmYWwRj.js → Game-CE74NCP0.js} +10 -10
- package/dist/{Index-CRBYEPFf.js → Index-DUlA5M13.js} +10 -10
- package/dist/{Marketing-D7WunOsO.js → Marketing-BZlQ_CXY.js} +6 -6
- package/dist/{Member-iYAPEdoQ.js → Member-VLxcxJ1E.js} +10 -10
- package/dist/{MemberList-CtR-UjtG.js → MemberList-CiyWYLU5.js} +25 -25
- package/dist/{MemberTransactions-BMQOdkr2.js → MemberTransactions-CN8xLb_s.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DhJlcYpw.js → MessageInput.vue_vue_type_script_setup_true_lang-DcI_7jmX.js} +7 -7
- package/dist/{Mission-DSBH4Di0.js → Mission-DfMJvjxF.js} +10 -10
- package/dist/{Overview-C0KCN3fH.js → Overview-BP7F73DH.js} +18 -18
- package/dist/{Point-AN7wmCXY.js → Point-DI2sQmCV.js} +9 -9
- package/dist/Promotion-DAjx_jxp.js +359 -0
- package/dist/{Queue-Bo_RtLpU.js → Queue-COeOvp_e.js} +10 -10
- package/dist/{Record-BphvsxDb.js → Record-Dt4FbaS2.js} +8 -8
- package/dist/{Reward-CgHUAB5V.js → Reward-B1b_GQaR.js} +15 -15
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-DaBRd_Kw.js → RewardGroup.vue_vue_type_script_setup_true_lang-DiahGMAs.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-C_65qxpU.js → RuleGroup.vue_vue_type_script_setup_true_lang-D6Jz8cUd.js} +13 -13
- package/dist/{Segment-Cc0D6nPj.js → Segment-DEvBOJ6O.js} +22 -22
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-BxUG7_bX.js → SelectItems.vue_vue_type_script_setup_true_lang-DQ-4quM1.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-bqKHjikC.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-CpFndkdg.js} +11 -11
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DA7bevEn.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DW3xSyRI.js} +3 -3
- package/dist/{Setting-DjVTTqky.js → Setting-Dd4hjMVn.js} +215 -205
- package/dist/{SettingAdvertisements-BL81KD_S.js → SettingAdvertisements-DSNwl4Sg.js} +9 -9
- package/dist/{Store-DqXIQ9EY.js → Store-COzviQ1u.js} +19 -19
- package/dist/{StoreRewards-xlzAHJkc.js → StoreRewards-CLiSctFe.js} +13 -13
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-OphuWknh.js → StoreTransactions.vue_vue_type_script_setup_true_lang-CR8ArVvX.js} +20 -20
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-DGSjAbol.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DGnsRCLx.js} +1 -1
- package/dist/{Tier-DadaaAEc.js → Tier-BpA0v3lN.js} +20 -20
- package/dist/{Title-BDBxQMEm.js → Title-B1EdZqkW.js} +19 -19
- package/dist/{Transaction-BRGCw9Va.js → Transaction-zMSzwKhG.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-qe26FZBo.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BTqgaJSg.js} +6 -6
- package/dist/{Voucher-CtvWJfVU.js → Voucher-Bc2T5EWh.js} +13 -13
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-dS7n6KJt.js → VoucherEditor.vue_vue_type_script_setup_true_lang-DWkgFep7.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-ndun9vf-.js → ZodTextField.vue_vue_type_script_setup_true_lang-DogjRK_M.js} +1 -1
- package/dist/{app-9QTXPjre.js → app-BFdctz42.js} +1 -1
- package/dist/{app-UNZJVzly.js → app-OEuxoTWK.js} +32 -32
- package/dist/app.js +1 -1
- package/dist/{business-DtufpzhR.js → business-BpfUjpnj.js} +1 -1
- package/dist/{campaign-Dm85zK-z.js → campaign-B5smLabp.js} +9 -9
- package/dist/{campaign-63K4Xtsd.js → campaign-D5zO5NqZ.js} +2 -2
- package/dist/{campaign.enum-DBWgoidX.js → campaign.enum-GzJGfsxY.js} +1 -1
- package/dist/{campaign.fn-BpifzSGC.js → campaign.fn-C9R64hHy.js} +139 -139
- package/dist/{collectible.enum-2_2_6r39.js → collectible.enum-CNvAz-_I.js} +1 -1
- package/dist/{collection.fn-B2rlSiv_.js → collection.fn-C57qrxGU.js} +2 -2
- package/dist/{dto-Df83CuN3.js → dto-CJVMBaq8.js} +4 -4
- package/dist/{effect-BUEqEGkq.js → effect-D2rDw19H.js} +1 -1
- package/dist/{email-addresses-BUNKzO1f.js → email-addresses-BqUvpvZp.js} +1 -1
- package/dist/{export-BzY3BDZJ.js → export-BAxp7esA.js} +3 -3
- package/dist/{helper-BaJdC23g.js → helper-CRpWKa1v.js} +1 -1
- package/dist/{index-BLjKPiBb.js → index-3Mtj_jtE.js} +1 -1
- package/dist/{index-DrAbySpd.js → index-B1itjftg.js} +2 -2
- package/dist/{index-gvl1UKmI.js → index-B3cotw8W.js} +71 -50
- package/dist/{index-X9YonBq5.js → index-BQ5qAJFH.js} +1 -1
- package/dist/{index-JxOM03oW.js → index-BeCQMeGF.js} +1 -1
- package/dist/{index-Bzv6BHPk.js → index-ByW5tbmU.js} +3 -3
- package/dist/{index-DlwtDkgr.js → index-CHgyhDZn.js} +1 -1
- package/dist/{index-zy0pOMPl.js → index-CJaMNJ8E.js} +4 -1
- package/dist/{index-BInlN52T.js → index-CmZAnAnt.js} +3 -3
- package/dist/{index-BA5QwPCT.js → index-DCaj6UCv.js} +1 -1
- package/dist/{index-C0XYFg_a.js → index-Dei0WiXK.js} +6 -5
- package/dist/{index-BQTPw5fM.js → index-Dv-CriWz.js} +311 -311
- package/dist/{index-BSQCStAn.js → index-UDUK0dov.js} +1 -1
- package/dist/{index-D_hUHpqX.js → index-zCzgFv1c.js} +1 -1
- package/dist/{index.esm2017-WVBFvkg-.js → index.esm2017-CRfZekpS.js} +184 -184
- package/dist/{loading-CKbcLJje.js → loading-EQkLfqfe.js} +1 -1
- package/dist/{membership-BMv4jrI_.js → membership-Dx3PuqYJ.js} +3 -3
- package/dist/{money-iY-Nby0p.js → money-DQ2KZXKG.js} +1 -1
- package/dist/{number-CluL-GzZ.js → number-BSpQ0k0v.js} +1 -1
- package/dist/objectid-8rRtqkJK.js +145 -0
- package/dist/{plugins-BlvUeMc1.js → plugins-DNW9IPwk.js} +2 -2
- package/dist/{reward-CZlHuvJJ.js → reward-DWAwqTMg.js} +1 -1
- package/dist/{rule-DMH3fchR.js → rule-BaKrJfw1.js} +3 -3
- package/dist/{rule-builder-BvBTYyZq.js → rule-builder-BVd4T0hQ.js} +1 -1
- package/dist/{template-CzqV_mzm.js → template-Bn0rThmd.js} +4 -4
- package/dist/{timezone-Bo8HWoc4.js → timezone-CAJ0nnVd.js} +1 -1
- package/dist/{trigger-BGG22zoh.js → trigger-tqOYTDUq.js} +4 -4
- package/dist/{user-DesAMEEX.js → user-Bk2_-40d.js} +1 -1
- package/dist/{vue-i18n-CN3WXgAO.js → vue-i18n-majW9qB9.js} +279 -279
- package/dist/{xlsx-BKuxyTY9.js → xlsx-Cs5W4EqR.js} +166 -166
- package/package.json +1 -1
- package/dist/Promotion-Cbf4W6Vh.js +0 -289
- package/dist/objectid-sIFo0b00.js +0 -145
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Y = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_8acb4757-ab34-4137-bbf6-6b5265104ca8", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.19.6 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_8acb4757-ab34-4137-bbf6-6b5265104ca8", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.6/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.2.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.27.2", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1755", npm_package_dependencies__feedmepos_ui_library: "1.6.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20251215.174.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12745", GITHUB_WORKFLOW: "[CD:prod] connect-portal (mf-connect)", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.11/x64", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.5/x64", GITHUB_RUN_ID: "20780486331", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "3d11b24e72c90522367c726c15705086fb87c2f2", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] deploy-mf-connect.yml@refs/tags/mf-connect-0.1.59-prod", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.19.6/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", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_ecfb4e67-0476-4805-8279-a1d6eb02b08a", INVOCATION_ID: "c59f803a44de4e1684dee64f87d21b1d", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.6/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "41", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.21", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000037012", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-connect-0.1.59-prod", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.14.36", npm_lifecycle_script: "vite build --mode fmmf:prod", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.59-prod", npm_package_dependencies_ckeditor5: "^44.3.0", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "3d11b24e72c90522367c726c15705086fb87c2f2", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/tags/mf-connect-0.1.59-prod", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_8acb4757-ab34-4137-bbf6-6b5265104ca8", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", 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", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_8acb4757-ab34-4137-bbf6-6b5265104ca8", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_8acb4757-ab34-4137-bbf6-6b5265104ca8", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", IMPORT_FILES_STORAGE_BUCKET: "feedme-253402.appspot.com", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedme.cc/" } };
|
|
1
|
+
var Y = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_7f494002-8f8f-48d8-bbf3-303d270d2081", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_7f494002-8f8f-48d8-bbf3-303d270d2081", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.3.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.27.2", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1810", ACTIONS_ORCHESTRATION_ID: "b4f2f33b-dcb2-4d08-bebf-40955d841122.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.6.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260209.23.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12814", GITHUB_WORKFLOW: "[CD:prod] connect-portal (mf-connect)", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.7/x64", GITHUB_RUN_ID: "21974590192", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2b6a404d188de8fd8a3a64d124831a6435aba0ec", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] deploy-mf-connect.yml@refs/tags/mf-connect-0.1.61-prod", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.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", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_8b3a0e9c-45be-4399-b002-dd99bb408804", INVOCATION_ID: "e3b8b75804b445a49c8325275185437b", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.0/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "43", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.21", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000047533", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-connect-0.1.61-prod", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.14.36", npm_lifecycle_script: "vite build --mode fmmf:prod", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.61-prod", npm_package_dependencies_ckeditor5: "^44.3.0", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "2b6a404d188de8fd8a3a64d124831a6435aba0ec", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/tags/mf-connect-0.1.61-prod", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_7f494002-8f8f-48d8-bbf3-303d270d2081", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", 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", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_7f494002-8f8f-48d8-bbf3-303d270d2081", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_7f494002-8f8f-48d8-bbf3-303d270d2081", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", IMPORT_FILES_STORAGE_BUCKET: "feedme-253402.appspot.com", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedme.cc/" } };
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
@@ -15,7 +15,7 @@ var Y = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/sa
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
|
-
const
|
|
18
|
+
const Be = function(t) {
|
|
19
19
|
const e = [];
|
|
20
20
|
let n = 0;
|
|
21
21
|
for (let r = 0; r < t.length; r++) {
|
|
@@ -42,7 +42,7 @@ const Ue = function(t) {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
return e.join("");
|
|
45
|
-
},
|
|
45
|
+
}, Ue = {
|
|
46
46
|
/**
|
|
47
47
|
* Maps bytes to characters.
|
|
48
48
|
*/
|
|
@@ -101,8 +101,8 @@ const Ue = function(t) {
|
|
|
101
101
|
this.init_();
|
|
102
102
|
const n = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
|
103
103
|
for (let s = 0; s < t.length; s += 3) {
|
|
104
|
-
const o = t[s], i = s + 1 < t.length, a = i ? t[s + 1] : 0, c = s + 2 < t.length,
|
|
105
|
-
let _ = (a & 15) << 2 |
|
|
104
|
+
const o = t[s], i = s + 1 < t.length, a = i ? t[s + 1] : 0, c = s + 2 < t.length, l = c ? t[s + 2] : 0, f = o >> 2, h = (o & 3) << 4 | a >> 4;
|
|
105
|
+
let _ = (a & 15) << 2 | l >> 6, m = l & 63;
|
|
106
106
|
c || (m = 64, i || (_ = 64)), r.push(n[f], n[h], n[_], n[m]);
|
|
107
107
|
}
|
|
108
108
|
return r.join("");
|
|
@@ -116,7 +116,7 @@ const Ue = function(t) {
|
|
|
116
116
|
* @return The base64 encoded string.
|
|
117
117
|
*/
|
|
118
118
|
encodeString(t, e) {
|
|
119
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(t) : this.encodeByteArray(
|
|
119
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(t) : this.encodeByteArray(Be(t), e);
|
|
120
120
|
},
|
|
121
121
|
/**
|
|
122
122
|
* Base64-decode a string.
|
|
@@ -150,17 +150,17 @@ const Ue = function(t) {
|
|
|
150
150
|
for (let s = 0; s < t.length; ) {
|
|
151
151
|
const o = n[t.charAt(s++)], a = s < t.length ? n[t.charAt(s)] : 0;
|
|
152
152
|
++s;
|
|
153
|
-
const
|
|
153
|
+
const l = s < t.length ? n[t.charAt(s)] : 64;
|
|
154
154
|
++s;
|
|
155
155
|
const h = s < t.length ? n[t.charAt(s)] : 64;
|
|
156
|
-
if (++s, o == null || a == null ||
|
|
156
|
+
if (++s, o == null || a == null || l == null || h == null)
|
|
157
157
|
throw new it();
|
|
158
158
|
const _ = o << 2 | a >> 4;
|
|
159
|
-
if (r.push(_),
|
|
160
|
-
const m = a << 4 & 240 |
|
|
159
|
+
if (r.push(_), l !== 64) {
|
|
160
|
+
const m = a << 4 & 240 | l >> 2;
|
|
161
161
|
if (r.push(m), h !== 64) {
|
|
162
|
-
const
|
|
163
|
-
r.push(
|
|
162
|
+
const R = l << 6 & 192 | h;
|
|
163
|
+
r.push(R);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
@@ -185,13 +185,13 @@ class it extends Error {
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
const at = function(t) {
|
|
188
|
-
const e =
|
|
189
|
-
return
|
|
190
|
-
},
|
|
188
|
+
const e = Be(t);
|
|
189
|
+
return Ue.encodeByteArray(e, !0);
|
|
190
|
+
}, z = function(t) {
|
|
191
191
|
return at(t).replace(/\./g, "");
|
|
192
192
|
}, ct = function(t) {
|
|
193
193
|
try {
|
|
194
|
-
return
|
|
194
|
+
return Ue.decodeString(t, !0);
|
|
195
195
|
} catch (e) {
|
|
196
196
|
console.error("base64Decode failed: ", e);
|
|
197
197
|
}
|
|
@@ -213,7 +213,7 @@ const at = function(t) {
|
|
|
213
213
|
* See the License for the specific language governing permissions and
|
|
214
214
|
* limitations under the License.
|
|
215
215
|
*/
|
|
216
|
-
function
|
|
216
|
+
function lt() {
|
|
217
217
|
if (typeof self < "u")
|
|
218
218
|
return self;
|
|
219
219
|
if (typeof window < "u")
|
|
@@ -238,7 +238,7 @@ function ut() {
|
|
|
238
238
|
* See the License for the specific language governing permissions and
|
|
239
239
|
* limitations under the License.
|
|
240
240
|
*/
|
|
241
|
-
const
|
|
241
|
+
const ut = () => lt().__FIREBASE_DEFAULTS__, dt = () => {
|
|
242
242
|
if (typeof Y > "u" || typeof Y.env > "u")
|
|
243
243
|
return;
|
|
244
244
|
const t = Y.env.__FIREBASE_DEFAULTS__;
|
|
@@ -257,7 +257,7 @@ const lt = () => ut().__FIREBASE_DEFAULTS__, dt = () => {
|
|
|
257
257
|
return e && JSON.parse(e);
|
|
258
258
|
}, de = () => {
|
|
259
259
|
try {
|
|
260
|
-
return
|
|
260
|
+
return ut() || dt() || pt();
|
|
261
261
|
} catch (t) {
|
|
262
262
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${t}`);
|
|
263
263
|
return;
|
|
@@ -357,8 +357,8 @@ function mt(t, e) {
|
|
|
357
357
|
}
|
|
358
358
|
}, t);
|
|
359
359
|
return [
|
|
360
|
-
|
|
361
|
-
|
|
360
|
+
z(JSON.stringify(n)),
|
|
361
|
+
z(JSON.stringify(i)),
|
|
362
362
|
""
|
|
363
363
|
].join(".");
|
|
364
364
|
}
|
|
@@ -439,9 +439,9 @@ function bt() {
|
|
|
439
439
|
* limitations under the License.
|
|
440
440
|
*/
|
|
441
441
|
const Et = "FirebaseError";
|
|
442
|
-
class
|
|
442
|
+
class U extends Error {
|
|
443
443
|
constructor(e, n, r) {
|
|
444
|
-
super(n), this.code = e, this.customData = r, this.name = Et, Object.setPrototypeOf(this,
|
|
444
|
+
super(n), this.code = e, this.customData = r, this.name = Et, Object.setPrototypeOf(this, U.prototype), Error.captureStackTrace && Error.captureStackTrace(this, Me.prototype.create);
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
447
|
class Me {
|
|
@@ -449,17 +449,17 @@ class Me {
|
|
|
449
449
|
this.service = e, this.serviceName = n, this.errors = r;
|
|
450
450
|
}
|
|
451
451
|
create(e, ...n) {
|
|
452
|
-
const r = n[0] || {}, s = `${this.service}/${e}`, o = this.errors[e], i = o ?
|
|
453
|
-
return new
|
|
452
|
+
const r = n[0] || {}, s = `${this.service}/${e}`, o = this.errors[e], i = o ? It(o, r) : "Error", a = `${this.serviceName}: ${i} (${s}).`;
|
|
453
|
+
return new U(s, a, r);
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
-
function
|
|
457
|
-
return t.replace(
|
|
456
|
+
function It(t, e) {
|
|
457
|
+
return t.replace(Rt, (n, r) => {
|
|
458
458
|
const s = e[r];
|
|
459
459
|
return s != null ? String(s) : `<${r}?>`;
|
|
460
460
|
});
|
|
461
461
|
}
|
|
462
|
-
const
|
|
462
|
+
const Rt = /\{\$([^}]+)}/g;
|
|
463
463
|
function Zr(t) {
|
|
464
464
|
for (const e in t)
|
|
465
465
|
if (Object.prototype.hasOwnProperty.call(t, e))
|
|
@@ -736,7 +736,7 @@ class yt {
|
|
|
736
736
|
if (this.component)
|
|
737
737
|
throw Error(`Component for ${this.name} has already been provided`);
|
|
738
738
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
|
739
|
-
if (
|
|
739
|
+
if (Ot(e))
|
|
740
740
|
try {
|
|
741
741
|
this.getOrInitializeService({ instanceIdentifier: D });
|
|
742
742
|
} catch {
|
|
@@ -842,7 +842,7 @@ class yt {
|
|
|
842
842
|
function At(t) {
|
|
843
843
|
return t === D ? void 0 : t;
|
|
844
844
|
}
|
|
845
|
-
function
|
|
845
|
+
function Ot(t) {
|
|
846
846
|
return t.instantiationMode === "EAGER";
|
|
847
847
|
}
|
|
848
848
|
/**
|
|
@@ -861,7 +861,7 @@ function wt(t) {
|
|
|
861
861
|
* See the License for the specific language governing permissions and
|
|
862
862
|
* limitations under the License.
|
|
863
863
|
*/
|
|
864
|
-
class
|
|
864
|
+
class wt {
|
|
865
865
|
constructor(e) {
|
|
866
866
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
|
867
867
|
}
|
|
@@ -916,23 +916,23 @@ class Ot {
|
|
|
916
916
|
* See the License for the specific language governing permissions and
|
|
917
917
|
* limitations under the License.
|
|
918
918
|
*/
|
|
919
|
-
var
|
|
919
|
+
var u;
|
|
920
920
|
(function(t) {
|
|
921
921
|
t[t.DEBUG = 0] = "DEBUG", t[t.VERBOSE = 1] = "VERBOSE", t[t.INFO = 2] = "INFO", t[t.WARN = 3] = "WARN", t[t.ERROR = 4] = "ERROR", t[t.SILENT = 5] = "SILENT";
|
|
922
|
-
})(
|
|
922
|
+
})(u || (u = {}));
|
|
923
923
|
const Dt = {
|
|
924
|
-
debug:
|
|
925
|
-
verbose:
|
|
926
|
-
info:
|
|
927
|
-
warn:
|
|
928
|
-
error:
|
|
929
|
-
silent:
|
|
930
|
-
}, kt =
|
|
931
|
-
[
|
|
932
|
-
[
|
|
933
|
-
[
|
|
934
|
-
[
|
|
935
|
-
[
|
|
924
|
+
debug: u.DEBUG,
|
|
925
|
+
verbose: u.VERBOSE,
|
|
926
|
+
info: u.INFO,
|
|
927
|
+
warn: u.WARN,
|
|
928
|
+
error: u.ERROR,
|
|
929
|
+
silent: u.SILENT
|
|
930
|
+
}, kt = u.INFO, Nt = {
|
|
931
|
+
[u.DEBUG]: "log",
|
|
932
|
+
[u.VERBOSE]: "log",
|
|
933
|
+
[u.INFO]: "info",
|
|
934
|
+
[u.WARN]: "warn",
|
|
935
|
+
[u.ERROR]: "error"
|
|
936
936
|
}, St = (t, e, ...n) => {
|
|
937
937
|
if (e < t.logLevel)
|
|
938
938
|
return;
|
|
@@ -956,7 +956,7 @@ class Ct {
|
|
|
956
956
|
return this._logLevel;
|
|
957
957
|
}
|
|
958
958
|
set logLevel(e) {
|
|
959
|
-
if (!(e in
|
|
959
|
+
if (!(e in u))
|
|
960
960
|
throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);
|
|
961
961
|
this._logLevel = e;
|
|
962
962
|
}
|
|
@@ -982,25 +982,25 @@ class Ct {
|
|
|
982
982
|
* The functions below are all based on the `console` interface
|
|
983
983
|
*/
|
|
984
984
|
debug(...e) {
|
|
985
|
-
this._userLogHandler && this._userLogHandler(this,
|
|
985
|
+
this._userLogHandler && this._userLogHandler(this, u.DEBUG, ...e), this._logHandler(this, u.DEBUG, ...e);
|
|
986
986
|
}
|
|
987
987
|
log(...e) {
|
|
988
|
-
this._userLogHandler && this._userLogHandler(this,
|
|
988
|
+
this._userLogHandler && this._userLogHandler(this, u.VERBOSE, ...e), this._logHandler(this, u.VERBOSE, ...e);
|
|
989
989
|
}
|
|
990
990
|
info(...e) {
|
|
991
|
-
this._userLogHandler && this._userLogHandler(this,
|
|
991
|
+
this._userLogHandler && this._userLogHandler(this, u.INFO, ...e), this._logHandler(this, u.INFO, ...e);
|
|
992
992
|
}
|
|
993
993
|
warn(...e) {
|
|
994
|
-
this._userLogHandler && this._userLogHandler(this,
|
|
994
|
+
this._userLogHandler && this._userLogHandler(this, u.WARN, ...e), this._logHandler(this, u.WARN, ...e);
|
|
995
995
|
}
|
|
996
996
|
error(...e) {
|
|
997
|
-
this._userLogHandler && this._userLogHandler(this,
|
|
997
|
+
this._userLogHandler && this._userLogHandler(this, u.ERROR, ...e), this._logHandler(this, u.ERROR, ...e);
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
|
-
const
|
|
1001
|
-
let
|
|
1002
|
-
function
|
|
1003
|
-
return
|
|
1000
|
+
const Bt = (t, e) => e.some((n) => t instanceof n);
|
|
1001
|
+
let Ie, Re;
|
|
1002
|
+
function Ut() {
|
|
1003
|
+
return Ie || (Ie = [
|
|
1004
1004
|
IDBDatabase,
|
|
1005
1005
|
IDBObjectStore,
|
|
1006
1006
|
IDBIndex,
|
|
@@ -1009,7 +1009,7 @@ function Bt() {
|
|
|
1009
1009
|
]);
|
|
1010
1010
|
}
|
|
1011
1011
|
function Pt() {
|
|
1012
|
-
return
|
|
1012
|
+
return Re || (Re = [
|
|
1013
1013
|
IDBCursor.prototype.advance,
|
|
1014
1014
|
IDBCursor.prototype.continue,
|
|
1015
1015
|
IDBCursor.prototype.continuePrimaryKey
|
|
@@ -1080,7 +1080,7 @@ function xt(t) {
|
|
|
1080
1080
|
};
|
|
1081
1081
|
}
|
|
1082
1082
|
function Ft(t) {
|
|
1083
|
-
return typeof t == "function" ? xt(t) : (t instanceof IDBTransaction && Mt(t),
|
|
1083
|
+
return typeof t == "function" ? xt(t) : (t instanceof IDBTransaction && Mt(t), Bt(t, Ut()) ? new Proxy(t, ie) : t);
|
|
1084
1084
|
}
|
|
1085
1085
|
function A(t) {
|
|
1086
1086
|
if (t instanceof IDBRequest)
|
|
@@ -1101,7 +1101,7 @@ function $t(t, e, { blocked: n, upgrade: r, blocking: s, terminated: o } = {}) {
|
|
|
1101
1101
|
c.newVersion,
|
|
1102
1102
|
c
|
|
1103
1103
|
)), a.then((c) => {
|
|
1104
|
-
o && c.addEventListener("close", () => o()), s && c.addEventListener("versionchange", (
|
|
1104
|
+
o && c.addEventListener("close", () => o()), s && c.addEventListener("versionchange", (l) => s(l.oldVersion, l.newVersion, l));
|
|
1105
1105
|
}).catch(() => {
|
|
1106
1106
|
}), a;
|
|
1107
1107
|
}
|
|
@@ -1119,9 +1119,9 @@ function Te(t, e) {
|
|
|
1119
1119
|
return;
|
|
1120
1120
|
const o = async function(i, ...a) {
|
|
1121
1121
|
const c = this.transaction(i, s ? "readwrite" : "readonly");
|
|
1122
|
-
let
|
|
1123
|
-
return r && (
|
|
1124
|
-
|
|
1122
|
+
let l = c.store;
|
|
1123
|
+
return r && (l = l.index(a.shift())), (await Promise.all([
|
|
1124
|
+
l[n](...a),
|
|
1125
1125
|
s && c.done
|
|
1126
1126
|
]))[0];
|
|
1127
1127
|
};
|
|
@@ -1156,7 +1156,7 @@ class Vt {
|
|
|
1156
1156
|
// auth token refresh, and installations will send this string.
|
|
1157
1157
|
getPlatformInfoString() {
|
|
1158
1158
|
return this.container.getProviders().map((n) => {
|
|
1159
|
-
if (
|
|
1159
|
+
if (zt(n)) {
|
|
1160
1160
|
const r = n.getImmediate();
|
|
1161
1161
|
return `${r.library}/${r.version}`;
|
|
1162
1162
|
} else
|
|
@@ -1164,7 +1164,7 @@ class Vt {
|
|
|
1164
1164
|
}).filter((n) => n).join(" ");
|
|
1165
1165
|
}
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function zt(t) {
|
|
1168
1168
|
const e = t.getComponent();
|
|
1169
1169
|
return (e == null ? void 0 : e.type) === "VERSION";
|
|
1170
1170
|
}
|
|
@@ -1185,7 +1185,7 @@ const ae = "@firebase/app", ve = "0.10.7";
|
|
|
1185
1185
|
* See the License for the specific language governing permissions and
|
|
1186
1186
|
* limitations under the License.
|
|
1187
1187
|
*/
|
|
1188
|
-
const N = new Ct("@firebase/app"),
|
|
1188
|
+
const N = new Ct("@firebase/app"), Wt = "@firebase/app-compat", Kt = "@firebase/analytics-compat", Xt = "@firebase/analytics", qt = "@firebase/app-check-compat", Yt = "@firebase/app-check", Jt = "@firebase/auth", Zt = "@firebase/auth-compat", Qt = "@firebase/database", en = "@firebase/database-compat", tn = "@firebase/functions", nn = "@firebase/functions-compat", rn = "@firebase/installations", sn = "@firebase/installations-compat", on = "@firebase/messaging", an = "@firebase/messaging-compat", cn = "@firebase/performance", ln = "@firebase/performance-compat", un = "@firebase/remote-config", dn = "@firebase/remote-config-compat", pn = "@firebase/storage", hn = "@firebase/storage-compat", _n = "@firebase/firestore", fn = "@firebase/vertexai-preview", mn = "@firebase/firestore-compat", gn = "firebase", bn = "10.12.4";
|
|
1189
1189
|
/**
|
|
1190
1190
|
* @license
|
|
1191
1191
|
* Copyright 2019 Google LLC
|
|
@@ -1204,7 +1204,7 @@ const N = new Ct("@firebase/app"), zt = "@firebase/app-compat", Kt = "@firebase/
|
|
|
1204
1204
|
*/
|
|
1205
1205
|
const ce = "[DEFAULT]", En = {
|
|
1206
1206
|
[ae]: "fire-core",
|
|
1207
|
-
[
|
|
1207
|
+
[Wt]: "fire-core-compat",
|
|
1208
1208
|
[Xt]: "fire-analytics",
|
|
1209
1209
|
[Kt]: "fire-analytics-compat",
|
|
1210
1210
|
[Yt]: "fire-app-check",
|
|
@@ -1220,8 +1220,8 @@ const ce = "[DEFAULT]", En = {
|
|
|
1220
1220
|
[on]: "fire-fcm",
|
|
1221
1221
|
[an]: "fire-fcm-compat",
|
|
1222
1222
|
[cn]: "fire-perf",
|
|
1223
|
-
[
|
|
1224
|
-
[
|
|
1223
|
+
[ln]: "fire-perf-compat",
|
|
1224
|
+
[un]: "fire-rc",
|
|
1225
1225
|
[dn]: "fire-rc-compat",
|
|
1226
1226
|
[pn]: "fire-gcs",
|
|
1227
1227
|
[hn]: "fire-gcs-compat",
|
|
@@ -1247,7 +1247,7 @@ const ce = "[DEFAULT]", En = {
|
|
|
1247
1247
|
* See the License for the specific language governing permissions and
|
|
1248
1248
|
* limitations under the License.
|
|
1249
1249
|
*/
|
|
1250
|
-
const x = /* @__PURE__ */ new Map(),
|
|
1250
|
+
const x = /* @__PURE__ */ new Map(), In = /* @__PURE__ */ new Map(), le = /* @__PURE__ */ new Map();
|
|
1251
1251
|
function ye(t, e) {
|
|
1252
1252
|
try {
|
|
1253
1253
|
t.container.addComponent(e);
|
|
@@ -1255,18 +1255,18 @@ function ye(t, e) {
|
|
|
1255
1255
|
N.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`, n);
|
|
1256
1256
|
}
|
|
1257
1257
|
}
|
|
1258
|
-
function
|
|
1258
|
+
function W(t) {
|
|
1259
1259
|
const e = t.name;
|
|
1260
|
-
if (
|
|
1260
|
+
if (le.has(e))
|
|
1261
1261
|
return N.debug(`There were multiple attempts to register component ${e}.`), !1;
|
|
1262
|
-
|
|
1262
|
+
le.set(e, t);
|
|
1263
1263
|
for (const n of x.values())
|
|
1264
1264
|
ye(n, t);
|
|
1265
|
-
for (const n of
|
|
1265
|
+
for (const n of In.values())
|
|
1266
1266
|
ye(n, t);
|
|
1267
1267
|
return !0;
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1269
|
+
function Rn(t, e) {
|
|
1270
1270
|
const n = t.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
|
1271
1271
|
return n && n.triggerHeartbeat(), t.container.getProvider(e);
|
|
1272
1272
|
}
|
|
@@ -1304,7 +1304,7 @@ const Tn = {
|
|
|
1304
1304
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
|
1305
1305
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
|
1306
1306
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
|
1307
|
-
},
|
|
1307
|
+
}, O = new Me("app", "Firebase", Tn);
|
|
1308
1308
|
/**
|
|
1309
1309
|
* @license
|
|
1310
1310
|
* Copyright 2019 Google LLC
|
|
@@ -1360,7 +1360,7 @@ class vn {
|
|
|
1360
1360
|
*/
|
|
1361
1361
|
checkDestroyed() {
|
|
1362
1362
|
if (this.isDeleted)
|
|
1363
|
-
throw
|
|
1363
|
+
throw O.create("app-deleted", { appName: this._name });
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
1366
1366
|
/**
|
|
@@ -1385,11 +1385,11 @@ function An(t, e = {}) {
|
|
|
1385
1385
|
typeof e != "object" && (e = { name: e });
|
|
1386
1386
|
const r = Object.assign({ name: ce, automaticDataCollectionEnabled: !1 }, e), s = r.name;
|
|
1387
1387
|
if (typeof s != "string" || !s)
|
|
1388
|
-
throw
|
|
1388
|
+
throw O.create("bad-app-name", {
|
|
1389
1389
|
appName: String(s)
|
|
1390
1390
|
});
|
|
1391
1391
|
if (n || (n = Pe()), !n)
|
|
1392
|
-
throw
|
|
1392
|
+
throw O.create(
|
|
1393
1393
|
"no-options"
|
|
1394
1394
|
/* AppError.NO_OPTIONS */
|
|
1395
1395
|
);
|
|
@@ -1397,20 +1397,20 @@ function An(t, e = {}) {
|
|
|
1397
1397
|
if (o) {
|
|
1398
1398
|
if (se(n, o.options) && se(r, o.config))
|
|
1399
1399
|
return o;
|
|
1400
|
-
throw
|
|
1400
|
+
throw O.create("duplicate-app", { appName: s });
|
|
1401
1401
|
}
|
|
1402
|
-
const i = new
|
|
1403
|
-
for (const c of
|
|
1402
|
+
const i = new wt(s);
|
|
1403
|
+
for (const c of le.values())
|
|
1404
1404
|
i.addComponent(c);
|
|
1405
1405
|
const a = new vn(n, r, i);
|
|
1406
1406
|
return x.set(s, a), a;
|
|
1407
1407
|
}
|
|
1408
|
-
function
|
|
1408
|
+
function On(t = ce) {
|
|
1409
1409
|
const e = x.get(t);
|
|
1410
1410
|
if (!e && t === ce && Pe())
|
|
1411
1411
|
return An();
|
|
1412
1412
|
if (!e)
|
|
1413
|
-
throw
|
|
1413
|
+
throw O.create("no-app", { appName: t });
|
|
1414
1414
|
return e;
|
|
1415
1415
|
}
|
|
1416
1416
|
function ns() {
|
|
@@ -1428,7 +1428,7 @@ function L(t, e, n) {
|
|
|
1428
1428
|
o && a.push(`library name "${s}" contains illegal characters (whitespace or "/")`), o && i && a.push("and"), i && a.push(`version name "${e}" contains illegal characters (whitespace or "/")`), N.warn(a.join(" "));
|
|
1429
1429
|
return;
|
|
1430
1430
|
}
|
|
1431
|
-
|
|
1431
|
+
W(new H(
|
|
1432
1432
|
`${s}-version`,
|
|
1433
1433
|
() => ({ library: s, version: e }),
|
|
1434
1434
|
"VERSION"
|
|
@@ -1451,10 +1451,10 @@ function L(t, e, n) {
|
|
|
1451
1451
|
* See the License for the specific language governing permissions and
|
|
1452
1452
|
* limitations under the License.
|
|
1453
1453
|
*/
|
|
1454
|
-
const
|
|
1454
|
+
const wn = "firebase-heartbeat-database", Dn = 1, F = "firebase-heartbeat-store";
|
|
1455
1455
|
let te = null;
|
|
1456
1456
|
function Fe() {
|
|
1457
|
-
return te || (te = $t(
|
|
1457
|
+
return te || (te = $t(wn, Dn, {
|
|
1458
1458
|
upgrade: (t, e) => {
|
|
1459
1459
|
switch (e) {
|
|
1460
1460
|
case 0:
|
|
@@ -1466,7 +1466,7 @@ function Fe() {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
}
|
|
1468
1468
|
}).catch((t) => {
|
|
1469
|
-
throw
|
|
1469
|
+
throw O.create("idb-open", {
|
|
1470
1470
|
originalErrorMessage: t.message
|
|
1471
1471
|
});
|
|
1472
1472
|
})), te;
|
|
@@ -1476,10 +1476,10 @@ async function kn(t) {
|
|
|
1476
1476
|
const n = (await Fe()).transaction(F), r = await n.objectStore(F).get($e(t));
|
|
1477
1477
|
return await n.done, r;
|
|
1478
1478
|
} catch (e) {
|
|
1479
|
-
if (e instanceof
|
|
1479
|
+
if (e instanceof U)
|
|
1480
1480
|
N.warn(e.message);
|
|
1481
1481
|
else {
|
|
1482
|
-
const n =
|
|
1482
|
+
const n = O.create("idb-get", {
|
|
1483
1483
|
originalErrorMessage: e == null ? void 0 : e.message
|
|
1484
1484
|
});
|
|
1485
1485
|
N.warn(n.message);
|
|
@@ -1491,10 +1491,10 @@ async function Ae(t, e) {
|
|
|
1491
1491
|
const r = (await Fe()).transaction(F, "readwrite");
|
|
1492
1492
|
await r.objectStore(F).put(e, $e(t)), await r.done;
|
|
1493
1493
|
} catch (n) {
|
|
1494
|
-
if (n instanceof
|
|
1494
|
+
if (n instanceof U)
|
|
1495
1495
|
N.warn(n.message);
|
|
1496
1496
|
else {
|
|
1497
|
-
const r =
|
|
1497
|
+
const r = O.create("idb-set", {
|
|
1498
1498
|
originalErrorMessage: n == null ? void 0 : n.message
|
|
1499
1499
|
});
|
|
1500
1500
|
N.warn(r.message);
|
|
@@ -1525,7 +1525,7 @@ class Cn {
|
|
|
1525
1525
|
constructor(e) {
|
|
1526
1526
|
this.container = e, this._heartbeatsCache = null;
|
|
1527
1527
|
const n = this.container.getProvider("app").getImmediate();
|
|
1528
|
-
this._storage = new
|
|
1528
|
+
this._storage = new Un(n), this._heartbeatsCachePromise = this._storage.read().then((r) => (this._heartbeatsCache = r, r));
|
|
1529
1529
|
}
|
|
1530
1530
|
/**
|
|
1531
1531
|
* Called to report a heartbeat. The function will generate
|
|
@@ -1536,7 +1536,7 @@ class Cn {
|
|
|
1536
1536
|
*/
|
|
1537
1537
|
async triggerHeartbeat() {
|
|
1538
1538
|
var e, n;
|
|
1539
|
-
const s = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), o =
|
|
1539
|
+
const s = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), o = Oe();
|
|
1540
1540
|
if (!(((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((n = this._heartbeatsCache) === null || n === void 0 ? void 0 : n.heartbeats) == null)) && !(this._heartbeatsCache.lastSentHeartbeatDate === o || this._heartbeatsCache.heartbeats.some((i) => i.date === o)))
|
|
1541
1541
|
return this._heartbeatsCache.heartbeats.push({ date: o, agent: s }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((i) => {
|
|
1542
1542
|
const a = new Date(i.date).valueOf();
|
|
@@ -1554,27 +1554,27 @@ class Cn {
|
|
|
1554
1554
|
var e;
|
|
1555
1555
|
if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
|
|
1556
1556
|
return "";
|
|
1557
|
-
const n =
|
|
1557
|
+
const n = Oe(), { heartbeatsToSend: r, unsentEntries: s } = Bn(this._heartbeatsCache.heartbeats), o = z(JSON.stringify({ version: 2, heartbeats: r }));
|
|
1558
1558
|
return this._heartbeatsCache.lastSentHeartbeatDate = n, s.length > 0 ? (this._heartbeatsCache.heartbeats = s, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), o;
|
|
1559
1559
|
}
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function Oe() {
|
|
1562
1562
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
|
1563
1563
|
}
|
|
1564
|
-
function
|
|
1564
|
+
function Bn(t, e = Nn) {
|
|
1565
1565
|
const n = [];
|
|
1566
1566
|
let r = t.slice();
|
|
1567
1567
|
for (const s of t) {
|
|
1568
1568
|
const o = n.find((i) => i.agent === s.agent);
|
|
1569
1569
|
if (o) {
|
|
1570
|
-
if (o.dates.push(s.date),
|
|
1570
|
+
if (o.dates.push(s.date), we(n) > e) {
|
|
1571
1571
|
o.dates.pop();
|
|
1572
1572
|
break;
|
|
1573
1573
|
}
|
|
1574
1574
|
} else if (n.push({
|
|
1575
1575
|
agent: s.agent,
|
|
1576
1576
|
dates: [s.date]
|
|
1577
|
-
}),
|
|
1577
|
+
}), we(n) > e) {
|
|
1578
1578
|
n.pop();
|
|
1579
1579
|
break;
|
|
1580
1580
|
}
|
|
@@ -1585,7 +1585,7 @@ function Un(t, e = Nn) {
|
|
|
1585
1585
|
unsentEntries: r
|
|
1586
1586
|
};
|
|
1587
1587
|
}
|
|
1588
|
-
class
|
|
1588
|
+
class Un {
|
|
1589
1589
|
constructor(e) {
|
|
1590
1590
|
this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
|
|
1591
1591
|
}
|
|
@@ -1630,8 +1630,8 @@ class Bn {
|
|
|
1630
1630
|
return;
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
|
-
function
|
|
1634
|
-
return
|
|
1633
|
+
function we(t) {
|
|
1634
|
+
return z(
|
|
1635
1635
|
// heartbeatsCache wrapper properties
|
|
1636
1636
|
JSON.stringify({ version: 2, heartbeats: t })
|
|
1637
1637
|
).length;
|
|
@@ -1653,12 +1653,12 @@ function Oe(t) {
|
|
|
1653
1653
|
* limitations under the License.
|
|
1654
1654
|
*/
|
|
1655
1655
|
function Pn(t) {
|
|
1656
|
-
|
|
1656
|
+
W(new H(
|
|
1657
1657
|
"platform-logger",
|
|
1658
1658
|
(e) => new Vt(e),
|
|
1659
1659
|
"PRIVATE"
|
|
1660
1660
|
/* ComponentType.PRIVATE */
|
|
1661
|
-
)),
|
|
1661
|
+
)), W(new H(
|
|
1662
1662
|
"heartbeat",
|
|
1663
1663
|
(e) => new Cn(e),
|
|
1664
1664
|
"PRIVATE"
|
|
@@ -1699,7 +1699,7 @@ const je = "firebasestorage.googleapis.com", Ge = "storageBucket", Ln = 2 * 60 *
|
|
|
1699
1699
|
* See the License for the specific language governing permissions and
|
|
1700
1700
|
* limitations under the License.
|
|
1701
1701
|
*/
|
|
1702
|
-
class p extends
|
|
1702
|
+
class p extends U {
|
|
1703
1703
|
/**
|
|
1704
1704
|
* @param code - A `StorageErrorCode` string to be prefixed with 'storage/' and
|
|
1705
1705
|
* added to the end of the message.
|
|
@@ -1765,10 +1765,10 @@ function Gn() {
|
|
|
1765
1765
|
function Vn() {
|
|
1766
1766
|
return new p(d.CANCELED, "User canceled the upload/download.");
|
|
1767
1767
|
}
|
|
1768
|
-
function
|
|
1768
|
+
function zn(t) {
|
|
1769
1769
|
return new p(d.INVALID_URL, "Invalid URL '" + t + "'.");
|
|
1770
1770
|
}
|
|
1771
|
-
function
|
|
1771
|
+
function Wn(t) {
|
|
1772
1772
|
return new p(d.INVALID_DEFAULT_BUCKET, "Invalid default bucket '" + t + "'.");
|
|
1773
1773
|
}
|
|
1774
1774
|
function Kn() {
|
|
@@ -1783,7 +1783,7 @@ function qn() {
|
|
|
1783
1783
|
function Yn(t) {
|
|
1784
1784
|
return new p(d.UNSUPPORTED_ENVIRONMENT, `${t} is missing. Make sure to install the required polyfills. See https://firebase.google.com/docs/web/environments-js-sdk#polyfills for more information.`);
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1786
|
+
function ue(t) {
|
|
1787
1787
|
return new p(d.INVALID_ARGUMENT, t);
|
|
1788
1788
|
}
|
|
1789
1789
|
function Ve() {
|
|
@@ -1814,7 +1814,7 @@ function P(t) {
|
|
|
1814
1814
|
* See the License for the specific language governing permissions and
|
|
1815
1815
|
* limitations under the License.
|
|
1816
1816
|
*/
|
|
1817
|
-
class
|
|
1817
|
+
class I {
|
|
1818
1818
|
constructor(e, n) {
|
|
1819
1819
|
this.bucket = e, this.path_ = n;
|
|
1820
1820
|
}
|
|
@@ -1834,13 +1834,13 @@ class R {
|
|
|
1834
1834
|
static makeFromBucketSpec(e, n) {
|
|
1835
1835
|
let r;
|
|
1836
1836
|
try {
|
|
1837
|
-
r =
|
|
1837
|
+
r = I.makeFromUrl(e, n);
|
|
1838
1838
|
} catch {
|
|
1839
|
-
return new
|
|
1839
|
+
return new I(e, "");
|
|
1840
1840
|
}
|
|
1841
1841
|
if (r.path === "")
|
|
1842
1842
|
return r;
|
|
1843
|
-
throw
|
|
1843
|
+
throw Wn(e);
|
|
1844
1844
|
}
|
|
1845
1845
|
static makeFromUrl(e, n) {
|
|
1846
1846
|
let r = null;
|
|
@@ -1849,20 +1849,20 @@ class R {
|
|
|
1849
1849
|
E.path.charAt(E.path.length - 1) === "/" && (E.path_ = E.path_.slice(0, -1));
|
|
1850
1850
|
}
|
|
1851
1851
|
const i = "(/(.*))?$", a = new RegExp("^gs://" + s + i, "i"), c = { bucket: 1, path: 3 };
|
|
1852
|
-
function
|
|
1852
|
+
function l(E) {
|
|
1853
1853
|
E.path_ = decodeURIComponent(E.path);
|
|
1854
1854
|
}
|
|
1855
|
-
const f = "v[A-Za-z0-9_]+", h = n.replace(/[.]/g, "\\."), _ = "(/([^?#]*).*)?$", m = new RegExp(`^https?://${h}/${f}/b/${s}/o${_}`, "i"),
|
|
1855
|
+
const f = "v[A-Za-z0-9_]+", h = n.replace(/[.]/g, "\\."), _ = "(/([^?#]*).*)?$", m = new RegExp(`^https?://${h}/${f}/b/${s}/o${_}`, "i"), R = { bucket: 1, path: 3 }, C = n === je ? "(?:storage.googleapis.com|storage.cloud.google.com)" : n, b = "([^?#]*)", B = new RegExp(`^https?://${C}/${s}/${b}`, "i"), T = [
|
|
1856
1856
|
{ regex: a, indices: c, postModify: o },
|
|
1857
1857
|
{
|
|
1858
1858
|
regex: m,
|
|
1859
|
-
indices:
|
|
1860
|
-
postModify:
|
|
1859
|
+
indices: R,
|
|
1860
|
+
postModify: l
|
|
1861
1861
|
},
|
|
1862
1862
|
{
|
|
1863
|
-
regex:
|
|
1863
|
+
regex: B,
|
|
1864
1864
|
indices: { bucket: 1, path: 2 },
|
|
1865
|
-
postModify:
|
|
1865
|
+
postModify: l
|
|
1866
1866
|
}
|
|
1867
1867
|
];
|
|
1868
1868
|
for (let E = 0; E < T.length; E++) {
|
|
@@ -1870,12 +1870,12 @@ class R {
|
|
|
1870
1870
|
if (X) {
|
|
1871
1871
|
const st = X[j.indices.bucket];
|
|
1872
1872
|
let q = X[j.indices.path];
|
|
1873
|
-
q || (q = ""), r = new
|
|
1873
|
+
q || (q = ""), r = new I(st, q), j.postModify(r);
|
|
1874
1874
|
break;
|
|
1875
1875
|
}
|
|
1876
1876
|
}
|
|
1877
1877
|
if (r == null)
|
|
1878
|
-
throw
|
|
1878
|
+
throw zn(e);
|
|
1879
1879
|
return r;
|
|
1880
1880
|
}
|
|
1881
1881
|
}
|
|
@@ -1912,9 +1912,9 @@ function Qn(t, e, n) {
|
|
|
1912
1912
|
function c() {
|
|
1913
1913
|
return a === 2;
|
|
1914
1914
|
}
|
|
1915
|
-
let
|
|
1915
|
+
let l = !1;
|
|
1916
1916
|
function f(...b) {
|
|
1917
|
-
|
|
1917
|
+
l || (l = !0, e.apply(null, b));
|
|
1918
1918
|
}
|
|
1919
1919
|
function h(b) {
|
|
1920
1920
|
s = setTimeout(() => {
|
|
@@ -1924,26 +1924,26 @@ function Qn(t, e, n) {
|
|
|
1924
1924
|
function _() {
|
|
1925
1925
|
o && clearTimeout(o);
|
|
1926
1926
|
}
|
|
1927
|
-
function m(b, ...
|
|
1928
|
-
if (
|
|
1927
|
+
function m(b, ...B) {
|
|
1928
|
+
if (l) {
|
|
1929
1929
|
_();
|
|
1930
1930
|
return;
|
|
1931
1931
|
}
|
|
1932
1932
|
if (b) {
|
|
1933
|
-
_(), f.call(null, b, ...
|
|
1933
|
+
_(), f.call(null, b, ...B);
|
|
1934
1934
|
return;
|
|
1935
1935
|
}
|
|
1936
1936
|
if (c() || i) {
|
|
1937
|
-
_(), f.call(null, b, ...
|
|
1937
|
+
_(), f.call(null, b, ...B);
|
|
1938
1938
|
return;
|
|
1939
1939
|
}
|
|
1940
1940
|
r < 64 && (r *= 2);
|
|
1941
1941
|
let T;
|
|
1942
1942
|
a === 1 ? (a = 2, T = 0) : T = (r + Math.random()) * 1e3, h(T);
|
|
1943
1943
|
}
|
|
1944
|
-
let
|
|
1944
|
+
let R = !1;
|
|
1945
1945
|
function C(b) {
|
|
1946
|
-
|
|
1946
|
+
R || (R = !0, _(), !l && (s !== null ? (b || (a = 2), clearTimeout(s), h(0)) : b || (a = 1)));
|
|
1947
1947
|
}
|
|
1948
1948
|
return h(0), o = setTimeout(() => {
|
|
1949
1949
|
i = !0, C(!0);
|
|
@@ -1985,9 +1985,9 @@ function fe() {
|
|
|
1985
1985
|
}
|
|
1986
1986
|
function ke(t, e, n, r) {
|
|
1987
1987
|
if (r < e)
|
|
1988
|
-
throw
|
|
1988
|
+
throw ue(`Invalid value for '${t}'. Expected ${e} or greater.`);
|
|
1989
1989
|
if (r > n)
|
|
1990
|
-
throw
|
|
1990
|
+
throw ue(`Invalid value for '${t}'. Expected ${n} or less.`);
|
|
1991
1991
|
}
|
|
1992
1992
|
/**
|
|
1993
1993
|
* @license
|
|
@@ -2009,7 +2009,7 @@ function K(t, e, n) {
|
|
|
2009
2009
|
let r = e;
|
|
2010
2010
|
return n == null && (r = `https://${e}`), `${n}://${r}/v0${t}`;
|
|
2011
2011
|
}
|
|
2012
|
-
function
|
|
2012
|
+
function ze(t) {
|
|
2013
2013
|
const e = encodeURIComponent;
|
|
2014
2014
|
let n = "?";
|
|
2015
2015
|
for (const r in t)
|
|
@@ -2081,9 +2081,9 @@ function rr(t, e) {
|
|
|
2081
2081
|
* limitations under the License.
|
|
2082
2082
|
*/
|
|
2083
2083
|
class sr {
|
|
2084
|
-
constructor(e, n, r, s, o, i, a, c,
|
|
2085
|
-
this.url_ = e, this.method_ = n, this.headers_ = r, this.body_ = s, this.successCodes_ = o, this.additionalRetryCodes_ = i, this.callback_ = a, this.errorCallback_ = c, this.timeout_ =
|
|
2086
|
-
this.resolve_ = m, this.reject_ =
|
|
2084
|
+
constructor(e, n, r, s, o, i, a, c, l, f, h, _ = !0) {
|
|
2085
|
+
this.url_ = e, this.method_ = n, this.headers_ = r, this.body_ = s, this.successCodes_ = o, this.additionalRetryCodes_ = i, this.callback_ = a, this.errorCallback_ = c, this.timeout_ = l, this.progressCallback_ = f, this.connectionFactory_ = h, this.retry = _, this.pendingConnection_ = null, this.backoffId_ = null, this.canceled_ = !1, this.appDelete_ = !1, this.promise_ = new Promise((m, R) => {
|
|
2086
|
+
this.resolve_ = m, this.reject_ = R, this.start_();
|
|
2087
2087
|
});
|
|
2088
2088
|
}
|
|
2089
2089
|
/**
|
|
@@ -2098,8 +2098,8 @@ class sr {
|
|
|
2098
2098
|
const o = this.connectionFactory_();
|
|
2099
2099
|
this.pendingConnection_ = o;
|
|
2100
2100
|
const i = (a) => {
|
|
2101
|
-
const c = a.loaded,
|
|
2102
|
-
this.progressCallback_ !== null && this.progressCallback_(c,
|
|
2101
|
+
const c = a.loaded, l = a.lengthComputable ? a.total : -1;
|
|
2102
|
+
this.progressCallback_ !== null && this.progressCallback_(c, l);
|
|
2103
2103
|
};
|
|
2104
2104
|
this.progressCallback_ !== null && o.addUploadProgressListener(i), o.send(this.url_, this.method_, this.body_, this.headers_).then(() => {
|
|
2105
2105
|
this.progressCallback_ !== null && o.removeUploadProgressListener(i), this.pendingConnection_ = null;
|
|
@@ -2109,8 +2109,8 @@ class sr {
|
|
|
2109
2109
|
r(!1, new G(!1, null, f));
|
|
2110
2110
|
return;
|
|
2111
2111
|
}
|
|
2112
|
-
const
|
|
2113
|
-
r(!0, new G(
|
|
2112
|
+
const l = this.successCodes_.indexOf(c) !== -1;
|
|
2113
|
+
r(!0, new G(l, o));
|
|
2114
2114
|
});
|
|
2115
2115
|
}, n = (r, s) => {
|
|
2116
2116
|
const o = this.resolve_, i = this.reject_, a = s.connection;
|
|
@@ -2160,9 +2160,9 @@ function ar(t, e) {
|
|
|
2160
2160
|
function cr(t, e) {
|
|
2161
2161
|
e !== null && (t["X-Firebase-AppCheck"] = e);
|
|
2162
2162
|
}
|
|
2163
|
-
function
|
|
2164
|
-
const a =
|
|
2165
|
-
return ar(
|
|
2163
|
+
function lr(t, e, n, r, s, o, i = !0) {
|
|
2164
|
+
const a = ze(t.urlParams), c = t.url + a, l = Object.assign({}, t.headers);
|
|
2165
|
+
return ar(l, e), or(l, n), ir(l, o), cr(l, r), new sr(c, t.method, l, t.body, t.successCodes, t.additionalRetryCodes, t.handler, t.errorHandler, t.timeout, t.progressCallback, s, i);
|
|
2166
2166
|
}
|
|
2167
2167
|
/**
|
|
2168
2168
|
* @license
|
|
@@ -2180,11 +2180,11 @@ function ur(t, e, n, r, s, o, i = !0) {
|
|
|
2180
2180
|
* See the License for the specific language governing permissions and
|
|
2181
2181
|
* limitations under the License.
|
|
2182
2182
|
*/
|
|
2183
|
-
function
|
|
2183
|
+
function ur() {
|
|
2184
2184
|
return typeof BlobBuilder < "u" ? BlobBuilder : typeof WebKitBlobBuilder < "u" ? WebKitBlobBuilder : void 0;
|
|
2185
2185
|
}
|
|
2186
2186
|
function dr(...t) {
|
|
2187
|
-
const e =
|
|
2187
|
+
const e = ur();
|
|
2188
2188
|
if (e !== void 0) {
|
|
2189
2189
|
const n = new e();
|
|
2190
2190
|
for (let r = 0; r < t.length; r++)
|
|
@@ -2278,7 +2278,7 @@ class re {
|
|
|
2278
2278
|
function _r(t, e) {
|
|
2279
2279
|
switch (t) {
|
|
2280
2280
|
case v.RAW:
|
|
2281
|
-
return new re(
|
|
2281
|
+
return new re(We(e));
|
|
2282
2282
|
case v.BASE64:
|
|
2283
2283
|
case v.BASE64URL:
|
|
2284
2284
|
return new re(Ke(t, e));
|
|
@@ -2287,7 +2287,7 @@ function _r(t, e) {
|
|
|
2287
2287
|
}
|
|
2288
2288
|
throw he();
|
|
2289
2289
|
}
|
|
2290
|
-
function
|
|
2290
|
+
function We(t) {
|
|
2291
2291
|
const e = [];
|
|
2292
2292
|
for (let n = 0; n < t.length; n++) {
|
|
2293
2293
|
let r = t.charCodeAt(n);
|
|
@@ -2314,7 +2314,7 @@ function fr(t) {
|
|
|
2314
2314
|
} catch {
|
|
2315
2315
|
throw M(v.DATA_URL, "Malformed data URL.");
|
|
2316
2316
|
}
|
|
2317
|
-
return
|
|
2317
|
+
return We(e);
|
|
2318
2318
|
}
|
|
2319
2319
|
function Ke(t, e) {
|
|
2320
2320
|
switch (t) {
|
|
@@ -2468,7 +2468,7 @@ function Er(t) {
|
|
|
2468
2468
|
const e = t.lastIndexOf("/");
|
|
2469
2469
|
return e === -1 ? "" : t.slice(0, e);
|
|
2470
2470
|
}
|
|
2471
|
-
function
|
|
2471
|
+
function Ir(t, e) {
|
|
2472
2472
|
const n = e.split("/").filter((r) => r.length > 0).join("/");
|
|
2473
2473
|
return t.length === 0 ? n : t + "/" + n;
|
|
2474
2474
|
}
|
|
@@ -2492,12 +2492,12 @@ function Ye(t) {
|
|
|
2492
2492
|
* See the License for the specific language governing permissions and
|
|
2493
2493
|
* limitations under the License.
|
|
2494
2494
|
*/
|
|
2495
|
-
function
|
|
2495
|
+
function Rr(t, e) {
|
|
2496
2496
|
return e;
|
|
2497
2497
|
}
|
|
2498
2498
|
class g {
|
|
2499
2499
|
constructor(e, n, r, s) {
|
|
2500
|
-
this.server = e, this.local = n || e, this.writable = !!r, this.xform = s ||
|
|
2500
|
+
this.server = e, this.local = n || e, this.writable = !!r, this.xform = s || Rr;
|
|
2501
2501
|
}
|
|
2502
2502
|
}
|
|
2503
2503
|
let V = null;
|
|
@@ -2522,7 +2522,7 @@ function Je() {
|
|
|
2522
2522
|
}
|
|
2523
2523
|
function vr(t, e) {
|
|
2524
2524
|
function n() {
|
|
2525
|
-
const r = t.bucket, s = t.fullPath, o = new
|
|
2525
|
+
const r = t.bucket, s = t.fullPath, o = new I(r, s);
|
|
2526
2526
|
return e._makeStorageReference(o);
|
|
2527
2527
|
}
|
|
2528
2528
|
Object.defineProperty(t, "ref", { get: n });
|
|
@@ -2549,15 +2549,15 @@ function Ar(t, e, n, r) {
|
|
|
2549
2549
|
if (o.length === 0)
|
|
2550
2550
|
return null;
|
|
2551
2551
|
const i = encodeURIComponent;
|
|
2552
|
-
return o.split(",").map((
|
|
2553
|
-
const f = t.bucket, h = t.fullPath, _ = "/b/" + i(f) + "/o/" + i(h), m = K(_, n, r),
|
|
2552
|
+
return o.split(",").map((l) => {
|
|
2553
|
+
const f = t.bucket, h = t.fullPath, _ = "/b/" + i(f) + "/o/" + i(h), m = K(_, n, r), R = ze({
|
|
2554
2554
|
alt: "media",
|
|
2555
|
-
token:
|
|
2555
|
+
token: l
|
|
2556
2556
|
});
|
|
2557
|
-
return m +
|
|
2557
|
+
return m + R;
|
|
2558
2558
|
})[0];
|
|
2559
2559
|
}
|
|
2560
|
-
function
|
|
2560
|
+
function Or(t, e) {
|
|
2561
2561
|
const n = {}, r = e.length;
|
|
2562
2562
|
for (let s = 0; s < r; s++) {
|
|
2563
2563
|
const o = e[s];
|
|
@@ -2590,7 +2590,7 @@ function Qe(t) {
|
|
|
2590
2590
|
if (!t)
|
|
2591
2591
|
throw he();
|
|
2592
2592
|
}
|
|
2593
|
-
function
|
|
2593
|
+
function wr(t, e) {
|
|
2594
2594
|
function n(r, s) {
|
|
2595
2595
|
const o = Ze(t, s, e);
|
|
2596
2596
|
return Qe(o !== null), o;
|
|
@@ -2625,7 +2625,7 @@ function kr(t, e, n) {
|
|
|
2625
2625
|
}
|
|
2626
2626
|
function Nr(t, e) {
|
|
2627
2627
|
const n = e.fullServerUrl(), r = K(n, t.host, t._protocol), s = "DELETE", o = t.maxOperationRetryTime;
|
|
2628
|
-
function i(c,
|
|
2628
|
+
function i(c, l) {
|
|
2629
2629
|
}
|
|
2630
2630
|
const a = new me(r, s, i, o);
|
|
2631
2631
|
return a.successCodes = [200, 204], a.errorHandler = tt(e), a;
|
|
@@ -2637,7 +2637,7 @@ function Cr(t, e, n) {
|
|
|
2637
2637
|
const r = Object.assign({}, n);
|
|
2638
2638
|
return r.fullPath = t.path, r.size = e.size(), r.contentType || (r.contentType = Sr(null, e)), r;
|
|
2639
2639
|
}
|
|
2640
|
-
function
|
|
2640
|
+
function Br(t, e, n, r, s) {
|
|
2641
2641
|
const o = e.bucketOnlyServerUrl(), i = {
|
|
2642
2642
|
"X-Goog-Upload-Protocol": "multipart"
|
|
2643
2643
|
};
|
|
@@ -2649,21 +2649,21 @@ function Ur(t, e, n, r, s) {
|
|
|
2649
2649
|
}
|
|
2650
2650
|
const c = a();
|
|
2651
2651
|
i["Content-Type"] = "multipart/related; boundary=" + c;
|
|
2652
|
-
const
|
|
2652
|
+
const l = Cr(e, r, s), f = Or(l, n), h = "--" + c + `\r
|
|
2653
2653
|
Content-Type: application/json; charset=utf-8\r
|
|
2654
2654
|
\r
|
|
2655
2655
|
` + f + `\r
|
|
2656
2656
|
--` + c + `\r
|
|
2657
|
-
Content-Type: ` +
|
|
2657
|
+
Content-Type: ` + l.contentType + `\r
|
|
2658
2658
|
\r
|
|
2659
2659
|
`, _ = `\r
|
|
2660
2660
|
--` + c + "--", m = y.getBlob(h, r, _);
|
|
2661
2661
|
if (m === null)
|
|
2662
2662
|
throw Xn();
|
|
2663
|
-
const
|
|
2664
|
-
return
|
|
2663
|
+
const R = { name: l.fullPath }, C = K(o, t.host, t._protocol), b = "POST", B = t.maxUploadRetryTime, w = new me(C, b, wr(t, n), B);
|
|
2664
|
+
return w.urlParams = R, w.headers = i, w.body = m.uploadData(), w.errorHandler = et(e), w;
|
|
2665
2665
|
}
|
|
2666
|
-
class
|
|
2666
|
+
class Ur {
|
|
2667
2667
|
constructor() {
|
|
2668
2668
|
this.sent_ = !1, this.xhr_ = new XMLHttpRequest(), this.initXhr(), this.errorCode_ = k.NO_ERROR, this.sendPromise_ = new Promise((e) => {
|
|
2669
2669
|
this.xhr_.addEventListener("abort", () => {
|
|
@@ -2721,7 +2721,7 @@ class Br {
|
|
|
2721
2721
|
this.xhr_.upload != null && this.xhr_.upload.removeEventListener("progress", e);
|
|
2722
2722
|
}
|
|
2723
2723
|
}
|
|
2724
|
-
class Pr extends
|
|
2724
|
+
class Pr extends Ur {
|
|
2725
2725
|
initXhr() {
|
|
2726
2726
|
this.xhr_.responseType = "text";
|
|
2727
2727
|
}
|
|
@@ -2747,7 +2747,7 @@ function ge() {
|
|
|
2747
2747
|
*/
|
|
2748
2748
|
class S {
|
|
2749
2749
|
constructor(e, n) {
|
|
2750
|
-
this._service = e, n instanceof
|
|
2750
|
+
this._service = e, n instanceof I ? this._location = n : this._location = I.makeFromUrl(n, e.host);
|
|
2751
2751
|
}
|
|
2752
2752
|
/**
|
|
2753
2753
|
* Returns the URL for the bucket and path this object references,
|
|
@@ -2764,7 +2764,7 @@ class S {
|
|
|
2764
2764
|
* A reference to the root of this object's bucket.
|
|
2765
2765
|
*/
|
|
2766
2766
|
get root() {
|
|
2767
|
-
const e = new
|
|
2767
|
+
const e = new I(this._location.bucket, "");
|
|
2768
2768
|
return this._newRef(this._service, e);
|
|
2769
2769
|
}
|
|
2770
2770
|
/**
|
|
@@ -2800,7 +2800,7 @@ class S {
|
|
|
2800
2800
|
const e = Er(this._location.path);
|
|
2801
2801
|
if (e === null)
|
|
2802
2802
|
return null;
|
|
2803
|
-
const n = new
|
|
2803
|
+
const n = new I(this._location.bucket, e);
|
|
2804
2804
|
return new S(this._service, n);
|
|
2805
2805
|
}
|
|
2806
2806
|
/**
|
|
@@ -2813,7 +2813,7 @@ class S {
|
|
|
2813
2813
|
}
|
|
2814
2814
|
function Lr(t, e, n) {
|
|
2815
2815
|
t._throwIfRoot("uploadBytes");
|
|
2816
|
-
const r =
|
|
2816
|
+
const r = Br(t.storage, t._location, Je(), new y(e, !0), n);
|
|
2817
2817
|
return t.storage.makeRequestWithTokens(r, ge).then((s) => ({
|
|
2818
2818
|
metadata: s,
|
|
2819
2819
|
ref: t
|
|
@@ -2834,7 +2834,7 @@ function Hr(t) {
|
|
|
2834
2834
|
return t.storage.makeRequestWithTokens(e, ge);
|
|
2835
2835
|
}
|
|
2836
2836
|
function xr(t, e) {
|
|
2837
|
-
const n =
|
|
2837
|
+
const n = Ir(t._location.path, e), r = new I(t._location.bucket, n);
|
|
2838
2838
|
return new S(t.storage, r);
|
|
2839
2839
|
}
|
|
2840
2840
|
/**
|
|
@@ -2873,13 +2873,13 @@ function jr(t, e) {
|
|
|
2873
2873
|
if (e && Fr(e)) {
|
|
2874
2874
|
if (t instanceof be)
|
|
2875
2875
|
return $r(t, e);
|
|
2876
|
-
throw
|
|
2876
|
+
throw ue("To use ref(service, url), the first argument must be a Storage instance.");
|
|
2877
2877
|
} else
|
|
2878
2878
|
return nt(t, e);
|
|
2879
2879
|
}
|
|
2880
2880
|
function Ne(t, e) {
|
|
2881
2881
|
const n = e == null ? void 0 : e[Ge];
|
|
2882
|
-
return n == null ? null :
|
|
2882
|
+
return n == null ? null : I.makeFromBucketSpec(n, t);
|
|
2883
2883
|
}
|
|
2884
2884
|
function Gr(t, e, n, r = {}) {
|
|
2885
2885
|
t.host = `${e}:${n}`, t._protocol = "http";
|
|
@@ -2888,7 +2888,7 @@ function Gr(t, e, n, r = {}) {
|
|
|
2888
2888
|
}
|
|
2889
2889
|
class be {
|
|
2890
2890
|
constructor(e, n, r, s, o) {
|
|
2891
|
-
this.app = e, this._authProvider = n, this._appCheckProvider = r, this._url = s, this._firebaseVersion = o, this._bucket = null, this._host = je, this._protocol = "https", this._appId = null, this._deleted = !1, this._maxOperationRetryTime = Ln, this._maxUploadRetryTime = Mn, this._requests = /* @__PURE__ */ new Set(), s != null ? this._bucket =
|
|
2891
|
+
this.app = e, this._authProvider = n, this._appCheckProvider = r, this._url = s, this._firebaseVersion = o, this._bucket = null, this._host = je, this._protocol = "https", this._appId = null, this._deleted = !1, this._maxOperationRetryTime = Ln, this._maxUploadRetryTime = Mn, this._requests = /* @__PURE__ */ new Set(), s != null ? this._bucket = I.makeFromBucketSpec(s, this._host) : this._bucket = Ne(this._host, this.app.options);
|
|
2892
2892
|
}
|
|
2893
2893
|
/**
|
|
2894
2894
|
* The host string for this service, in the form of `host` or
|
|
@@ -2898,7 +2898,7 @@ class be {
|
|
|
2898
2898
|
return this._host;
|
|
2899
2899
|
}
|
|
2900
2900
|
set host(e) {
|
|
2901
|
-
this._host = e, this._url != null ? this._bucket =
|
|
2901
|
+
this._host = e, this._url != null ? this._bucket = I.makeFromBucketSpec(this._url, e) : this._bucket = Ne(e, this.app.options);
|
|
2902
2902
|
}
|
|
2903
2903
|
/**
|
|
2904
2904
|
* The maximum time to retry uploads in milliseconds.
|
|
@@ -2969,7 +2969,7 @@ class be {
|
|
|
2969
2969
|
if (this._deleted)
|
|
2970
2970
|
return new Zn(Ve());
|
|
2971
2971
|
{
|
|
2972
|
-
const i =
|
|
2972
|
+
const i = lr(e, this._appId, r, s, n, this._firebaseVersion, o);
|
|
2973
2973
|
return this._requests.add(i), i.getPromise().then(() => this._requests.delete(i), () => this._requests.delete(i)), i;
|
|
2974
2974
|
}
|
|
2975
2975
|
}
|
|
@@ -3011,9 +3011,9 @@ function os(t) {
|
|
|
3011
3011
|
function is(t, e) {
|
|
3012
3012
|
return t = $(t), jr(t, e);
|
|
3013
3013
|
}
|
|
3014
|
-
function as(t =
|
|
3014
|
+
function as(t = On(), e) {
|
|
3015
3015
|
t = $(t);
|
|
3016
|
-
const r =
|
|
3016
|
+
const r = Rn(t, rt).getImmediate({
|
|
3017
3017
|
identifier: e
|
|
3018
3018
|
}), s = _t("storage");
|
|
3019
3019
|
return s && Vr(r, ...s), r;
|
|
@@ -3021,37 +3021,37 @@ function as(t = wn(), e) {
|
|
|
3021
3021
|
function Vr(t, e, n, r = {}) {
|
|
3022
3022
|
Gr(t, e, n, r);
|
|
3023
3023
|
}
|
|
3024
|
-
function
|
|
3024
|
+
function zr(t, { instanceIdentifier: e }) {
|
|
3025
3025
|
const n = t.getProvider("app").getImmediate(), r = t.getProvider("auth-internal"), s = t.getProvider("app-check-internal");
|
|
3026
3026
|
return new be(n, r, s, e, yn);
|
|
3027
3027
|
}
|
|
3028
|
-
function
|
|
3029
|
-
|
|
3028
|
+
function Wr() {
|
|
3029
|
+
W(new H(
|
|
3030
3030
|
rt,
|
|
3031
|
-
|
|
3031
|
+
zr,
|
|
3032
3032
|
"PUBLIC"
|
|
3033
3033
|
/* ComponentType.PUBLIC */
|
|
3034
3034
|
).setMultipleInstances(!0)), L(Se, Ce, ""), L(Se, Ce, "esm2017");
|
|
3035
3035
|
}
|
|
3036
|
-
|
|
3036
|
+
Wr();
|
|
3037
3037
|
export {
|
|
3038
3038
|
H as C,
|
|
3039
3039
|
Me as E,
|
|
3040
|
-
|
|
3040
|
+
U as F,
|
|
3041
3041
|
Ct as L,
|
|
3042
3042
|
yn as S,
|
|
3043
|
-
|
|
3043
|
+
W as _,
|
|
3044
3044
|
Yr as a,
|
|
3045
3045
|
qr as b,
|
|
3046
3046
|
ts as c,
|
|
3047
3047
|
$ as d,
|
|
3048
3048
|
es as e,
|
|
3049
|
-
|
|
3049
|
+
Rn as f,
|
|
3050
3050
|
Kr as g,
|
|
3051
3051
|
ht as h,
|
|
3052
3052
|
Xr as i,
|
|
3053
|
-
|
|
3054
|
-
|
|
3053
|
+
On as j,
|
|
3054
|
+
u as k,
|
|
3055
3055
|
Le as l,
|
|
3056
3056
|
se as m,
|
|
3057
3057
|
ct as n,
|