@feedmepos/mf-connect 0.1.60-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-CB0xAr9Q.js → Analytic-nw77CilD.js} +11 -11
- package/dist/{App-fp_3oll7.js → App-CovUFBxK.js} +7 -7
- package/dist/{Bin-CPEbn14A.js → Bin-Bi8wl_7A.js} +8 -8
- package/dist/{Broadcast-jKp2iB8c.js → Broadcast-S9Fdtdi8.js} +9 -9
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CmJG893h.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-B7Id-_2Y.js} +6 -6
- package/dist/{Card-BaPJkgd2.js → Card-eVpL2PHR.js} +16 -16
- package/dist/{Collections-Bqsg-ON3.js → Collections-BhdxVX1r.js} +7 -7
- package/dist/{Credit-C9zIva1h.js → Credit-CGwuybAs.js} +9 -9
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CSMV8OwA.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BtRI72t9.js} +30 -30
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-Doyw0pvU.js → EffectSheet.vue_vue_type_style_index_0_lang-CYrApPpx.js} +6 -6
- package/dist/{Experience-CCI_oesa.js → Experience-BjpNDqTZ.js} +9 -9
- package/dist/{Game-CRMVz1JP.js → Game-CE74NCP0.js} +10 -10
- package/dist/{Index-szNiSnjR.js → Index-DUlA5M13.js} +10 -10
- package/dist/{Marketing-AvEiNiD9.js → Marketing-BZlQ_CXY.js} +6 -6
- package/dist/{Member-DIZwt6Hh.js → Member-VLxcxJ1E.js} +10 -10
- package/dist/{MemberList-dxteIRWn.js → MemberList-CiyWYLU5.js} +25 -25
- package/dist/{MemberTransactions-Q3phmXfI.js → MemberTransactions-CN8xLb_s.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-BLk8rX-T.js → MessageInput.vue_vue_type_script_setup_true_lang-DcI_7jmX.js} +7 -7
- package/dist/{Mission-CZjySlcS.js → Mission-DfMJvjxF.js} +10 -10
- package/dist/{Overview-BXbWEDy3.js → Overview-BP7F73DH.js} +18 -18
- package/dist/{Point-CgjNc_Qn.js → Point-DI2sQmCV.js} +9 -9
- package/dist/Promotion-DAjx_jxp.js +359 -0
- package/dist/{Queue-BLIStJth.js → Queue-COeOvp_e.js} +10 -10
- package/dist/{Record-BWoTvVEE.js → Record-Dt4FbaS2.js} +8 -8
- package/dist/{Reward-Dq6GxHMP.js → Reward-B1b_GQaR.js} +15 -15
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-CR1feHth.js → RewardGroup.vue_vue_type_script_setup_true_lang-DiahGMAs.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-DuYYfbOH.js → RuleGroup.vue_vue_type_script_setup_true_lang-D6Jz8cUd.js} +13 -13
- package/dist/{Segment-CUfn6k5R.js → Segment-DEvBOJ6O.js} +22 -22
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-CxycOqNJ.js → SelectItems.vue_vue_type_script_setup_true_lang-DQ-4quM1.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-C7jqrfEj.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-CpFndkdg.js} +11 -11
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CMmdbYH4.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-DW3xSyRI.js} +3 -3
- package/dist/{Setting-CC5AiQSy.js → Setting-Dd4hjMVn.js} +12 -12
- package/dist/{SettingAdvertisements-DHQTaMC1.js → SettingAdvertisements-DSNwl4Sg.js} +9 -9
- package/dist/{Store-CEgv5aOD.js → Store-COzviQ1u.js} +19 -19
- package/dist/{StoreRewards-Dtzk_YG2.js → StoreRewards-CLiSctFe.js} +13 -13
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Cwt8pmoM.js → StoreTransactions.vue_vue_type_script_setup_true_lang-CR8ArVvX.js} +20 -20
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BEU2u1-a.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DGnsRCLx.js} +1 -1
- package/dist/{Tier-1xqQvWzc.js → Tier-BpA0v3lN.js} +20 -20
- package/dist/{Title-Da-G8plz.js → Title-B1EdZqkW.js} +19 -19
- package/dist/{Transaction-B0vuVZFZ.js → Transaction-zMSzwKhG.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-e4-wNfrg.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BTqgaJSg.js} +6 -6
- package/dist/{Voucher-DLFjkXLu.js → Voucher-Bc2T5EWh.js} +13 -13
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-5X7dGFD9.js → VoucherEditor.vue_vue_type_script_setup_true_lang-DWkgFep7.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BPTrvEwa.js → ZodTextField.vue_vue_type_script_setup_true_lang-DogjRK_M.js} +1 -1
- package/dist/{app-o7Kvv5aK.js → app-BFdctz42.js} +1 -1
- package/dist/{app-Do_C3F_N.js → app-OEuxoTWK.js} +32 -32
- package/dist/app.js +1 -1
- package/dist/{business-BDi-QTa5.js → business-BpfUjpnj.js} +1 -1
- package/dist/{campaign-BHqizYy6.js → campaign-B5smLabp.js} +9 -9
- package/dist/{campaign-DNXI3K9c.js → campaign-D5zO5NqZ.js} +2 -2
- package/dist/{campaign.enum-BXDwYoeA.js → campaign.enum-GzJGfsxY.js} +1 -1
- package/dist/{campaign.fn-Rws4mJa5.js → campaign.fn-C9R64hHy.js} +46 -46
- package/dist/{collectible.enum-cMc4fL1T.js → collectible.enum-CNvAz-_I.js} +1 -1
- package/dist/{collection.fn-F8FZ7Dnr.js → collection.fn-C57qrxGU.js} +2 -2
- package/dist/{dto-CAtf1jq0.js → dto-CJVMBaq8.js} +4 -4
- package/dist/{effect-Dhg1ZIrL.js → effect-D2rDw19H.js} +1 -1
- package/dist/{email-addresses-BZJZwglQ.js → email-addresses-BqUvpvZp.js} +1 -1
- package/dist/{export-B6yvRuct.js → export-BAxp7esA.js} +3 -3
- package/dist/{helper-VoErinsY.js → helper-CRpWKa1v.js} +1 -1
- package/dist/{index-y7IqG-tl.js → index-3Mtj_jtE.js} +1 -1
- package/dist/{index-DOGrOlB8.js → index-B1itjftg.js} +2 -2
- package/dist/{index-Ved5V90A.js → index-B3cotw8W.js} +6 -6
- package/dist/{index-Cq7s1Pk2.js → index-BQ5qAJFH.js} +1 -1
- package/dist/{index-BvE6Sbog.js → index-BeCQMeGF.js} +1 -1
- package/dist/{index-d4A3r8kv.js → index-ByW5tbmU.js} +3 -3
- package/dist/{index-Bq6FwMwW.js → index-CHgyhDZn.js} +1 -1
- package/dist/{index-C8m_F_I4.js → index-CJaMNJ8E.js} +4 -1
- package/dist/{index-CQZinjc9.js → index-CmZAnAnt.js} +3 -3
- package/dist/{index-BysJoGFD.js → index-DCaj6UCv.js} +1 -1
- package/dist/{index-DvZiQOtl.js → index-Dei0WiXK.js} +6 -5
- package/dist/{index-Dkyb4P6T.js → index-Dv-CriWz.js} +3 -3
- package/dist/{index-Di23nMJ7.js → index-UDUK0dov.js} +1 -1
- package/dist/{index-B0Pzwzkd.js → index-zCzgFv1c.js} +1 -1
- package/dist/{index.esm2017-CRTpUsW5.js → index.esm2017-CRfZekpS.js} +94 -94
- package/dist/{loading-CoUrS63J.js → loading-EQkLfqfe.js} +1 -1
- package/dist/{membership-BiQwBHAA.js → membership-Dx3PuqYJ.js} +3 -3
- package/dist/{money-CA3gpWD3.js → money-DQ2KZXKG.js} +1 -1
- package/dist/{number-CgmVpwHm.js → number-BSpQ0k0v.js} +1 -1
- package/dist/objectid-8rRtqkJK.js +145 -0
- package/dist/{plugins-BkWtR_R5.js → plugins-DNW9IPwk.js} +2 -2
- package/dist/{reward-D7SKofYj.js → reward-DWAwqTMg.js} +1 -1
- package/dist/{rule-Cpxty5PH.js → rule-BaKrJfw1.js} +3 -3
- package/dist/{rule-builder-d_TMgXEC.js → rule-builder-BVd4T0hQ.js} +1 -1
- package/dist/{template-BB7bab5R.js → template-Bn0rThmd.js} +4 -4
- package/dist/{timezone-Dj3UaenF.js → timezone-CAJ0nnVd.js} +1 -1
- package/dist/{trigger-ZVR5eR1H.js → trigger-tqOYTDUq.js} +4 -4
- package/dist/{user-DjRqnFsC.js → user-Bk2_-40d.js} +1 -1
- package/dist/{vue-i18n-BlCNfIcP.js → vue-i18n-majW9qB9.js} +388 -388
- package/dist/{xlsx-CtNr_GAa.js → xlsx-Cs5W4EqR.js} +166 -166
- package/package.json +1 -1
- package/dist/Promotion-COYo3qLi.js +0 -289
- package/dist/objectid-C80eoTvt.js +0 -145
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Y = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_8b699bf6-eeac-402a-b91a-bed4464c2c36", 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", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_8b699bf6-eeac-402a-b91a-bed4464c2c36", 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.0", 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: "1826", 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: "20260119.4.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:12651", 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.12/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.6/x64", GITHUB_RUN_ID: "21280461356", 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: "5e5acaf31437dd3cfdc4f969fdab4638960b1a39", 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.60-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_73914d24-fe4c-44f9-ae80-0b0faf076e33", INVOCATION_ID: "e6d3a54bacc44a008a775c8f28a03361", 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: "42", 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 1000041675", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-connect-0.1.60-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.60-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: "5e5acaf31437dd3cfdc4f969fdab4638960b1a39", 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.60-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_8b699bf6-eeac-402a-b91a-bed4464c2c36", 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_8b699bf6-eeac-402a-b91a-bed4464c2c36", 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_12.5.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_8b699bf6-eeac-402a-b91a-bed4464c2c36", 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
|
*/
|
|
@@ -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.
|
|
@@ -159,8 +159,8 @@ const Ue = function(t) {
|
|
|
159
159
|
if (r.push(_), l !== 64) {
|
|
160
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
|
|
188
|
+
const e = Be(t);
|
|
189
|
+
return Ue.encodeByteArray(e, !0);
|
|
190
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
|
}
|
|
@@ -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
|
}
|
|
@@ -997,10 +997,10 @@ class Ct {
|
|
|
997
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)
|
|
@@ -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);
|
|
@@ -1262,11 +1262,11 @@ function W(t) {
|
|
|
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
|
|
1402
|
+
const i = new wt(s);
|
|
1403
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() {
|
|
@@ -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,7 +1630,7 @@ class Bn {
|
|
|
1630
1630
|
return;
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
|
-
function
|
|
1633
|
+
function we(t) {
|
|
1634
1634
|
return z(
|
|
1635
1635
|
// heartbeatsCache wrapper properties
|
|
1636
1636
|
JSON.stringify({ version: 2, heartbeats: t })
|
|
@@ -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.
|
|
@@ -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,9 +1834,9 @@ 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;
|
|
@@ -1852,15 +1852,15 @@ class R {
|
|
|
1852
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:
|
|
1859
|
+
indices: R,
|
|
1860
1860
|
postModify: l
|
|
1861
1861
|
},
|
|
1862
1862
|
{
|
|
1863
|
-
regex:
|
|
1863
|
+
regex: B,
|
|
1864
1864
|
indices: { bucket: 1, path: 2 },
|
|
1865
1865
|
postModify: l
|
|
1866
1866
|
}
|
|
@@ -1870,7 +1870,7 @@ 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
|
}
|
|
@@ -1924,26 +1924,26 @@ function Qn(t, e, n) {
|
|
|
1924
1924
|
function _() {
|
|
1925
1925
|
o && clearTimeout(o);
|
|
1926
1926
|
}
|
|
1927
|
-
function m(b, ...
|
|
1927
|
+
function m(b, ...B) {
|
|
1928
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);
|
|
@@ -2082,8 +2082,8 @@ function rr(t, e) {
|
|
|
2082
2082
|
*/
|
|
2083
2083
|
class sr {
|
|
2084
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,
|
|
2086
|
-
this.resolve_ = m, this.reject_ =
|
|
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
|
/**
|
|
@@ -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 });
|
|
@@ -2550,14 +2550,14 @@ function Ar(t, e, n, r) {
|
|
|
2550
2550
|
return null;
|
|
2551
2551
|
const i = encodeURIComponent;
|
|
2552
2552
|
return o.split(",").map((l) => {
|
|
2553
|
-
const f = t.bucket, h = t.fullPath, _ = "/b/" + i(f) + "/o/" + i(h), m = K(_, n, r),
|
|
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
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;
|
|
@@ -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,7 +2649,7 @@ 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 l = Cr(e, r, s), f =
|
|
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
|
|
@@ -2660,10 +2660,10 @@ Content-Type: ` + l.contentType + `\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
|
/**
|
|
@@ -2879,7 +2879,7 @@ function jr(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.
|
|
@@ -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;
|
|
@@ -3037,7 +3037,7 @@ 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 _,
|
|
@@ -3046,11 +3046,11 @@ export {
|
|
|
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
|
-
|
|
3053
|
+
On as j,
|
|
3054
3054
|
u as k,
|
|
3055
3055
|
Le as l,
|
|
3056
3056
|
se as m,
|