@feedmepos/mf-payment 0.0.0-beta.31 → 0.0.0-beta.32
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js +40 -0
- package/dist/{PayoutAccount-CiTsWONr.js → PayoutAccount-7lPdf3Xu.js} +5 -5
- package/dist/{PayoutAccount-SIy-StvQ.js → PayoutAccount-DnxAlZxo.js} +3 -3
- package/dist/{PayoutAccountSetting-quTrnrC3.js → PayoutAccountSetting-Dc-ccYWa.js} +3 -3
- package/dist/{Settlement-DOgQp010.js → Settlement-B28WumZX.js} +4 -4
- package/dist/{Settlement-PVDes6sk.js → Settlement-C1H4r_ni.js} +4 -4
- package/dist/{SettlementTransactions-yQYGTzAC.js → SettlementTransactions-CdZswF1S.js} +4 -4
- package/dist/{SettlementTransactions-gvYCXBgb.js → SettlementTransactions-w0jXLftr.js} +4 -4
- package/dist/{Terminal-DcwgOlid.js → Terminal-BbIs7aYi.js} +4 -4
- package/dist/{TerminalSetting-BLp4Y6V9.js → TerminalSetting-3CRuMj8l.js} +3 -3
- package/dist/TerminalTransaction-CoPJlBCt.js +245 -0
- package/dist/TerminalTransaction-GJ2KCmSi.js +273 -0
- package/dist/{Transaction-Dwijtg8b.js → Transaction-Atm-A5eN.js} +10 -10
- package/dist/{Transaction-t6PdA3hg.js → Transaction-DpmCjczz.js} +6 -6
- package/dist/app.js +48 -48
- package/dist/assets-sX1_K-nt.js +44 -0
- package/dist/components/RouteCell.vue.d.ts +8 -0
- package/dist/helpers/assets.d.ts +2 -0
- package/dist/{index-F_l7bLXb.js → index-ApzEWD1P.js} +1 -1
- package/dist/{index-TbfhqZiB.js → index-BSpzaL20.js} +1 -1
- package/dist/{index-DrH47k0r.js → index-BgnU5ezY.js} +1 -1
- package/dist/{index-CAsbGPp2.js → index-CBFVJirn.js} +1 -1
- package/dist/{index-DTz8Nmfb.js → index-Cnxt2xmc.js} +2 -2
- package/dist/index-RhSxYSBk.js +35 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-clLSlUNS.js → index.vue_vue_type_script_setup_true_lang-B7ePQpGr.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-Cm4iYhNm.js → payout-account-DU8aAkMw.js} +560 -542
- package/dist/{transaction-CNNzvDLH.js → transaction-BH1Pm92q.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-DWoahPJL.js +0 -28
- package/dist/TerminalTransaction-Cb9V1igD.js +0 -237
- package/dist/TerminalTransaction-DHmQYA02.js +0 -243
- package/dist/assets-UG99C8i-.js +0 -42
- package/dist/index-aI8zWz4m.js +0 -34
@@ -1,5 +1,5 @@
|
|
1
|
-
import { d as
|
2
|
-
var Ze = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f43d67b2-017b-40eb-a229-9b83c6680d6c", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.10.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_f43d67b2-017b-40eb-a229-9b83c6680d6c", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.10.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_xGyhIgV7wHWCY8QqKSZFvIwAvTNDdu3e6lKa", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.8.21", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "480", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.2.44", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241015.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.8/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.2/x64", JOURNAL_STREAM: "8:18284", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "11569317383", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "01b28a2c47c1b51272c7641dbf1bf0eeefa760ce", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6MDc4YzllYjgtZTcyOS00YzdmLWJjOTYtZGQ0MTI0YTRjMzA1OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC83OTIgRGlzdHJpYnV0ZWRUYXNrLkdlbmVyYXRlSWRUb2tlbjowNzhjOWViOC1lNzI5LTRjN2YtYmM5Ni1kZDQxMjRhNGMzMDU6ZTA3NzQyYmQtMTg5YS01MDc5LTkxOGItNDNmOGIyZjk0Yjg5IExvY2F0aW9uU2VydmljZS5Db25uZWN0IFJlYWRBbmRVcGRhdGVCdWlsZEJ5VXJpOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMC8xOkJ1aWxkL0J1aWxkLzc5MiIsIklkZW50aXR5VHlwZUNsYWltIjoiU3lzdGVtOlNlcnZpY2VJZGVudGl0eSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6IkRERERERERELUREREQtRERERC1ERERELURERERERERERERERCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImF1aSI6IjEwN2YwN2E5LTZjZGQtNDQ5My1iNDY4LWVkNDhlYjMzOTQ3ZiIsInNpZCI6IjhkZmIyYmI4LTNkMGEtNDQ2YS04OTU2LWEwYzlmNTlkYmI4YyIsImFjIjoiW3tcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJvaWRjX2V4dHJhIjoie1wicmVmXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwic2hhXCI6XCIwMWIyOGEyYzQ3YzFiNTEyNzJjNzY0MWRiZjFiZjBlZWVmYTc2MGNlXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjExNTY5MzE3MzgzXCIsXCJydW5fbnVtYmVyXCI6XCI0NVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCIwMWIyOGEyYzQ3YzFiNTEyNzJjNzY0MWRiZjFiZjBlZWVmYTc2MGNlXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIwMWIyOGEyYzQ3YzFiNTEyNzJjNzY0MWRiZjFiZjBlZWVmYTc2MGNlXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiIwNzhjOWViOC1lNzI5LTRjN2YtYmM5Ni1kZDQxMjRhNGMzMDUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzAxODY5MjEsImV4cCI6MTczMDIwOTcyMX0.EWPm7VfE4PHc2GyDA3yVh6kBtw9rB4AiapujGYmg7c9kqZNy978p6ujokEGxPZQjnxPBDUYUpeMJ6sM1UmFZWpaqeYLSEo8L08aJIY_lW7sOu1RksbwQD746jAvoWZ-SQ9QG0iaGzXpk6GFQFdHuszadR8YeE91N0TvI1534EU7HM9Oe_CskTTWxKb6iB91WSYfWflXzJE2o25uk9d4Ar7sgHUdJc02iitvDizL5LPVNIwAyFUltdV_0BBFLojRT5LJkwLKrpzBx5pO9yX8rpVMLBtEmbUpikREzVelOMofCftjpavSecxCOcF6-3r-KgcyKEe-Lwjl__jfCY6XXtw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1730187578423-0.869101635577344:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.10.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1730187578261-0.9440287175102688:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.10.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1730187578093-0.312147308365865:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.10.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.10.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_986c8085-78d8-41f1-9ec3-d2d5180a39b9", INVOCATION_ID: "e192fb5648fc43098d5f2d2eaa7a67e0", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "45", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 413", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "0.0.0-beta.31", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "01b28a2c47c1b51272c7641dbf1bf0eeefa760ce", GITHUB_RUN_ATTEMPT: "1", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_qrcode: "^1.5.1", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_f43d67b2-017b-40eb-a229-9b83c6680d6c", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/078c9eb8-e729-4c7f-bc96-dd4124a4c305/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_f43d67b2-017b-40eb-a229-9b83c6680d6c", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_f43d67b2-017b-40eb-a229-9b83c6680d6c", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.5-demo16", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
1
|
+
import { d as jt, f as Ft, _ as Y, m as Wt } from "./index-Cnxt2xmc.js";
|
2
|
+
var Je = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_1b02dc00-477c-428b-84a5-899c381d4fb3", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.10.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_1b02dc00-477c-428b-84a5-899c381d4fb3", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.10.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_Y3zMbrmzWlKJLgrumsTeHjmcaTOVzY0fMx91", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.8.21", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "478", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.2.44", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241020.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.8/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.2/x64", JOURNAL_STREAM: "8:18333", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "11587282050", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "f18c58f42525022097b99bcc595ef49bb33836bc", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6ZjliOTQyZGMtN2JiYy00OGZlLTg1NzYtZjFhZjY3NmRhMDliOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC83OTkgRGlzdHJpYnV0ZWRUYXNrLkdlbmVyYXRlSWRUb2tlbjpmOWI5NDJkYy03YmJjLTQ4ZmUtODU3Ni1mMWFmNjc2ZGEwOWI6ZTA3NzQyYmQtMTg5YS01MDc5LTkxOGItNDNmOGIyZjk0Yjg5IExvY2F0aW9uU2VydmljZS5Db25uZWN0IFJlYWRBbmRVcGRhdGVCdWlsZEJ5VXJpOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMC8xOkJ1aWxkL0J1aWxkLzc5OSIsIklkZW50aXR5VHlwZUNsYWltIjoiU3lzdGVtOlNlcnZpY2VJZGVudGl0eSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6IkRERERERERELUREREQtRERERC1ERERELURERERERERERERERCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImF1aSI6ImEyY2UyMGE2LTg2ZTEtNDQ1Ni05NDdlLWFiYzJhN2JlM2YxNyIsInNpZCI6ImJmZDk5YWQwLTBiN2QtNGM3Ny04MGY1LWZiNzBiYTNlZWRiZiIsImFjIjoiW3tcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJvaWRjX2V4dHJhIjoie1wicmVmXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwic2hhXCI6XCJmMThjNThmNDI1MjUwMjIwOTdiOTliY2M1OTVlZjQ5YmIzMzgzNmJjXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjExNTg3MjgyMDUwXCIsXCJydW5fbnVtYmVyXCI6XCI0N1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJmMThjNThmNDI1MjUwMjIwOTdiOTliY2M1OTVlZjQ5YmIzMzgzNmJjXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJmMThjNThmNDI1MjUwMjIwOTdiOTliY2M1OTVlZjQ5YmIzMzgzNmJjXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJmOWI5NDJkYy03YmJjLTQ4ZmUtODU3Ni1mMWFmNjc2ZGEwOWIuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzAyNjM3ODEsImV4cCI6MTczMDI4NjU4MX0.Vq_HGEo5f4YpiLwqVFJZ9LwpSjyzquLJ9yBNbk6wLep_KfsUJhxCS3FgvtjNcNfzRPwUf0jkwtYqF05-XKISmmJTLD31roPFhPJdHTaMOG7I6acJROAAyNZmZoiTAanTE9x68qeXqjKkLcg59hHb5hZqd-2fFCXaTvRVJOxr18vr0JgF8irSMdV2PvVlfUHPTJ0UKe20Ux2xK_ISLdm2P8G6ae5DSsAVan4pP7X4-D0LDwYZo9Tv6eteL-C5DtY9XeJnkTc4QEwS3IJnHXngVvSCqtSanVNpiXdjTER4TyY_9YqiNAVQJegWo2E7zgLTZw0MPMgqSEW31sebFyBLwg", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1730264427605-0.9718808843769087:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.10.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1730264427442-0.8165717197873308:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.10.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1730264427277-0.8432001449309883:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.10.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.10.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.10.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_719cd3b9-d0f1-43d7-8331-5f9dd58dbc90", INVOCATION_ID: "8b76cfbb3d264c86ad245ddbe6da136e", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "47", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 292", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "0.0.0-beta.32", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "f18c58f42525022097b99bcc595ef49bb33836bc", GITHUB_RUN_ATTEMPT: "1", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_qrcode: "^1.5.1", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_1b02dc00-477c-428b-84a5-899c381d4fb3", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/f9b942dc-7bbc-48fe-8576-f1af676da09b/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_1b02dc00-477c-428b-84a5-899c381d4fb3", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_1b02dc00-477c-428b-84a5-899c381d4fb3", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.5-demo16", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
3
3
|
/**
|
4
4
|
* @license
|
5
5
|
* Copyright 2017 Google LLC
|
@@ -16,7 +16,7 @@ var Ze = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
16
16
|
* See the License for the specific language governing permissions and
|
17
17
|
* limitations under the License.
|
18
18
|
*/
|
19
|
-
const
|
19
|
+
const pt = function(t) {
|
20
20
|
const e = [];
|
21
21
|
let n = 0;
|
22
22
|
for (let r = 0; r < t.length; r++) {
|
@@ -24,7 +24,7 @@ const ht = function(t) {
|
|
24
24
|
s < 128 ? e[n++] = s : s < 2048 ? (e[n++] = s >> 6 | 192, e[n++] = s & 63 | 128) : (s & 64512) === 55296 && r + 1 < t.length && (t.charCodeAt(r + 1) & 64512) === 56320 ? (s = 65536 + ((s & 1023) << 10) + (t.charCodeAt(++r) & 1023), e[n++] = s >> 18 | 240, e[n++] = s >> 12 & 63 | 128, e[n++] = s >> 6 & 63 | 128, e[n++] = s & 63 | 128) : (e[n++] = s >> 12 | 224, e[n++] = s >> 6 & 63 | 128, e[n++] = s & 63 | 128);
|
25
25
|
}
|
26
26
|
return e;
|
27
|
-
},
|
27
|
+
}, Gt = function(t) {
|
28
28
|
const e = [];
|
29
29
|
let n = 0, r = 0;
|
30
30
|
for (; n < t.length; ) {
|
@@ -43,7 +43,7 @@ const ht = function(t) {
|
|
43
43
|
}
|
44
44
|
}
|
45
45
|
return e.join("");
|
46
|
-
},
|
46
|
+
}, _t = {
|
47
47
|
/**
|
48
48
|
* Maps bytes to characters.
|
49
49
|
*/
|
@@ -103,8 +103,8 @@ const ht = function(t) {
|
|
103
103
|
const n = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
104
104
|
for (let s = 0; s < t.length; s += 3) {
|
105
105
|
const i = t[s], o = s + 1 < t.length, a = o ? t[s + 1] : 0, u = s + 2 < t.length, h = u ? t[s + 2] : 0, I = i >> 2, g = (i & 3) << 4 | a >> 4;
|
106
|
-
let
|
107
|
-
u || (R = 64, o || (
|
106
|
+
let y = (a & 15) << 2 | h >> 6, R = h & 63;
|
107
|
+
u || (R = 64, o || (y = 64)), r.push(n[I], n[g], n[y], n[R]);
|
108
108
|
}
|
109
109
|
return r.join("");
|
110
110
|
},
|
@@ -117,7 +117,7 @@ const ht = function(t) {
|
|
117
117
|
* @return The base64 encoded string.
|
118
118
|
*/
|
119
119
|
encodeString(t, e) {
|
120
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(t) : this.encodeByteArray(
|
120
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(t) : this.encodeByteArray(pt(t), e);
|
121
121
|
},
|
122
122
|
/**
|
123
123
|
* Base64-decode a string.
|
@@ -128,7 +128,7 @@ const ht = function(t) {
|
|
128
128
|
* @return string representing the decoded value.
|
129
129
|
*/
|
130
130
|
decodeString(t, e) {
|
131
|
-
return this.HAS_NATIVE_SUPPORT && !e ? atob(t) :
|
131
|
+
return this.HAS_NATIVE_SUPPORT && !e ? atob(t) : Gt(this.decodeStringToByteArray(t, e));
|
132
132
|
},
|
133
133
|
/**
|
134
134
|
* Base64-decode a string.
|
@@ -155,13 +155,13 @@ const ht = function(t) {
|
|
155
155
|
++s;
|
156
156
|
const g = s < t.length ? n[t.charAt(s)] : 64;
|
157
157
|
if (++s, i == null || a == null || h == null || g == null)
|
158
|
-
throw new
|
159
|
-
const
|
160
|
-
if (r.push(
|
158
|
+
throw new Vt();
|
159
|
+
const y = i << 2 | a >> 4;
|
160
|
+
if (r.push(y), h !== 64) {
|
161
161
|
const R = a << 4 & 240 | h >> 2;
|
162
162
|
if (r.push(R), g !== 64) {
|
163
|
-
const
|
164
|
-
r.push(
|
163
|
+
const A = h << 6 & 192 | g;
|
164
|
+
r.push(A);
|
165
165
|
}
|
166
166
|
}
|
167
167
|
}
|
@@ -180,19 +180,19 @@ const ht = function(t) {
|
|
180
180
|
}
|
181
181
|
}
|
182
182
|
};
|
183
|
-
class
|
183
|
+
class Vt extends Error {
|
184
184
|
constructor() {
|
185
185
|
super(...arguments), this.name = "DecodeBase64StringError";
|
186
186
|
}
|
187
187
|
}
|
188
|
-
const
|
189
|
-
const e =
|
190
|
-
return
|
188
|
+
const Zt = function(t) {
|
189
|
+
const e = pt(t);
|
190
|
+
return _t.encodeByteArray(e, !0);
|
191
191
|
}, Ee = function(t) {
|
192
|
-
return
|
192
|
+
return Zt(t).replace(/\./g, "");
|
193
193
|
}, zt = function(t) {
|
194
194
|
try {
|
195
|
-
return
|
195
|
+
return _t.decodeString(t, !0);
|
196
196
|
} catch (e) {
|
197
197
|
console.error("base64Decode failed: ", e);
|
198
198
|
}
|
@@ -214,7 +214,7 @@ const Vt = function(t) {
|
|
214
214
|
* See the License for the specific language governing permissions and
|
215
215
|
* limitations under the License.
|
216
216
|
*/
|
217
|
-
function
|
217
|
+
function Jt() {
|
218
218
|
if (typeof self < "u")
|
219
219
|
return self;
|
220
220
|
if (typeof window < "u")
|
@@ -239,13 +239,13 @@ function Zt() {
|
|
239
239
|
* See the License for the specific language governing permissions and
|
240
240
|
* limitations under the License.
|
241
241
|
*/
|
242
|
-
const Yt = () =>
|
243
|
-
if (typeof process > "u" || typeof
|
242
|
+
const Yt = () => Jt().__FIREBASE_DEFAULTS__, Xt = () => {
|
243
|
+
if (typeof process > "u" || typeof Je > "u")
|
244
244
|
return;
|
245
|
-
const t =
|
245
|
+
const t = Je.__FIREBASE_DEFAULTS__;
|
246
246
|
if (t)
|
247
247
|
return JSON.parse(t);
|
248
|
-
},
|
248
|
+
}, Kt = () => {
|
249
249
|
if (typeof document > "u")
|
250
250
|
return;
|
251
251
|
let t;
|
@@ -256,18 +256,18 @@ const Yt = () => Zt().__FIREBASE_DEFAULTS__, Xt = () => {
|
|
256
256
|
}
|
257
257
|
const e = t && zt(t[1]);
|
258
258
|
return e && JSON.parse(e);
|
259
|
-
},
|
259
|
+
}, ft = () => {
|
260
260
|
try {
|
261
|
-
return Yt() || Xt() ||
|
261
|
+
return Yt() || Xt() || Kt();
|
262
262
|
} catch (t) {
|
263
263
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${t}`);
|
264
264
|
return;
|
265
265
|
}
|
266
|
-
},
|
266
|
+
}, qt = (t) => {
|
267
267
|
var e, n;
|
268
|
-
return (n = (e =
|
268
|
+
return (n = (e = ft()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || n === void 0 ? void 0 : n[t];
|
269
269
|
}, Qt = (t) => {
|
270
|
-
const e =
|
270
|
+
const e = qt(t);
|
271
271
|
if (!e)
|
272
272
|
return;
|
273
273
|
const n = e.lastIndexOf(":");
|
@@ -275,9 +275,9 @@ const Yt = () => Zt().__FIREBASE_DEFAULTS__, Xt = () => {
|
|
275
275
|
throw new Error(`Invalid host ${e} with no separate hostname and port!`);
|
276
276
|
const r = parseInt(e.substring(n + 1), 10);
|
277
277
|
return e[0] === "[" ? [e.substring(1, n - 1), r] : [e.substring(0, n), r];
|
278
|
-
},
|
278
|
+
}, mt = () => {
|
279
279
|
var t;
|
280
|
-
return (t =
|
280
|
+
return (t = ft()) === null || t === void 0 ? void 0 : t.config;
|
281
281
|
};
|
282
282
|
/**
|
283
283
|
* @license
|
@@ -295,7 +295,7 @@ const Yt = () => Zt().__FIREBASE_DEFAULTS__, Xt = () => {
|
|
295
295
|
* See the License for the specific language governing permissions and
|
296
296
|
* limitations under the License.
|
297
297
|
*/
|
298
|
-
class
|
298
|
+
class en {
|
299
299
|
constructor() {
|
300
300
|
this.reject = () => {
|
301
301
|
}, this.resolve = () => {
|
@@ -331,7 +331,7 @@ class qt {
|
|
331
331
|
* See the License for the specific language governing permissions and
|
332
332
|
* limitations under the License.
|
333
333
|
*/
|
334
|
-
function
|
334
|
+
function tn(t, e) {
|
335
335
|
if (t.uid)
|
336
336
|
throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');
|
337
337
|
const n = {
|
@@ -360,14 +360,14 @@ function en(t, e) {
|
|
360
360
|
""
|
361
361
|
].join(".");
|
362
362
|
}
|
363
|
-
function
|
363
|
+
function nn() {
|
364
364
|
try {
|
365
365
|
return typeof indexedDB == "object";
|
366
366
|
} catch {
|
367
367
|
return !1;
|
368
368
|
}
|
369
369
|
}
|
370
|
-
function
|
370
|
+
function rn() {
|
371
371
|
return new Promise((t, e) => {
|
372
372
|
try {
|
373
373
|
let n = !0;
|
@@ -401,28 +401,28 @@ function nn() {
|
|
401
401
|
* See the License for the specific language governing permissions and
|
402
402
|
* limitations under the License.
|
403
403
|
*/
|
404
|
-
const
|
405
|
-
class
|
404
|
+
const sn = "FirebaseError";
|
405
|
+
class se extends Error {
|
406
406
|
constructor(e, n, r) {
|
407
|
-
super(n), this.code = e, this.customData = r, this.name =
|
407
|
+
super(n), this.code = e, this.customData = r, this.name = sn, Object.setPrototypeOf(this, se.prototype), Error.captureStackTrace && Error.captureStackTrace(this, gt.prototype.create);
|
408
408
|
}
|
409
409
|
}
|
410
|
-
class
|
410
|
+
class gt {
|
411
411
|
constructor(e, n, r) {
|
412
412
|
this.service = e, this.serviceName = n, this.errors = r;
|
413
413
|
}
|
414
414
|
create(e, ...n) {
|
415
|
-
const r = n[0] || {}, s = `${this.service}/${e}`, i = this.errors[e], o = i ?
|
416
|
-
return new
|
415
|
+
const r = n[0] || {}, s = `${this.service}/${e}`, i = this.errors[e], o = i ? on(i, r) : "Error", a = `${this.serviceName}: ${o} (${s}).`;
|
416
|
+
return new se(s, a, r);
|
417
417
|
}
|
418
418
|
}
|
419
|
-
function
|
420
|
-
return t.replace(
|
419
|
+
function on(t, e) {
|
420
|
+
return t.replace(an, (n, r) => {
|
421
421
|
const s = e[r];
|
422
422
|
return s != null ? String(s) : `<${r}?>`;
|
423
423
|
});
|
424
424
|
}
|
425
|
-
const
|
425
|
+
const an = /\{\$([^}]+)}/g;
|
426
426
|
function Se(t, e) {
|
427
427
|
if (t === e)
|
428
428
|
return !0;
|
@@ -503,7 +503,7 @@ class ue {
|
|
503
503
|
* See the License for the specific language governing permissions and
|
504
504
|
* limitations under the License.
|
505
505
|
*/
|
506
|
-
const
|
506
|
+
const Q = "[DEFAULT]";
|
507
507
|
/**
|
508
508
|
* @license
|
509
509
|
* Copyright 2019 Google LLC
|
@@ -520,7 +520,7 @@ const q = "[DEFAULT]";
|
|
520
520
|
* See the License for the specific language governing permissions and
|
521
521
|
* limitations under the License.
|
522
522
|
*/
|
523
|
-
class
|
523
|
+
class cn {
|
524
524
|
constructor(e, n) {
|
525
525
|
this.name = e, this.container = n, this.component = null, this.instances = /* @__PURE__ */ new Map(), this.instancesDeferred = /* @__PURE__ */ new Map(), this.instancesOptions = /* @__PURE__ */ new Map(), this.onInitCallbacks = /* @__PURE__ */ new Map();
|
526
526
|
}
|
@@ -531,7 +531,7 @@ class an {
|
|
531
531
|
get(e) {
|
532
532
|
const n = this.normalizeInstanceIdentifier(e);
|
533
533
|
if (!this.instancesDeferred.has(n)) {
|
534
|
-
const r = new
|
534
|
+
const r = new en();
|
535
535
|
if (this.instancesDeferred.set(n, r), this.isInitialized(n) || this.shouldAutoInitialize())
|
536
536
|
try {
|
537
537
|
const s = this.getOrInitializeService({
|
@@ -571,9 +571,9 @@ class an {
|
|
571
571
|
if (this.component)
|
572
572
|
throw Error(`Component for ${this.name} has already been provided`);
|
573
573
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
574
|
-
if (
|
574
|
+
if (ln(e))
|
575
575
|
try {
|
576
|
-
this.getOrInitializeService({ instanceIdentifier:
|
576
|
+
this.getOrInitializeService({ instanceIdentifier: Q });
|
577
577
|
} catch {
|
578
578
|
}
|
579
579
|
for (const [n, r] of this.instancesDeferred.entries()) {
|
@@ -588,7 +588,7 @@ class an {
|
|
588
588
|
}
|
589
589
|
}
|
590
590
|
}
|
591
|
-
clearInstance(e =
|
591
|
+
clearInstance(e = Q) {
|
592
592
|
this.instancesDeferred.delete(e), this.instancesOptions.delete(e), this.instances.delete(e);
|
593
593
|
}
|
594
594
|
// app.delete() will call this method on every provider to delete the services
|
@@ -603,10 +603,10 @@ class an {
|
|
603
603
|
isComponentSet() {
|
604
604
|
return this.component != null;
|
605
605
|
}
|
606
|
-
isInitialized(e =
|
606
|
+
isInitialized(e = Q) {
|
607
607
|
return this.instances.has(e);
|
608
608
|
}
|
609
|
-
getOptions(e =
|
609
|
+
getOptions(e = Q) {
|
610
610
|
return this.instancesOptions.get(e) || {};
|
611
611
|
}
|
612
612
|
initialize(e = {}) {
|
@@ -658,7 +658,7 @@ class an {
|
|
658
658
|
getOrInitializeService({ instanceIdentifier: e, options: n = {} }) {
|
659
659
|
let r = this.instances.get(e);
|
660
660
|
if (!r && this.component && (r = this.component.instanceFactory(this.container, {
|
661
|
-
instanceIdentifier:
|
661
|
+
instanceIdentifier: un(e),
|
662
662
|
options: n
|
663
663
|
}), this.instances.set(e, r), this.instancesOptions.set(e, n), this.invokeOnInitCallbacks(r, e), this.component.onInstanceCreated))
|
664
664
|
try {
|
@@ -667,17 +667,17 @@ class an {
|
|
667
667
|
}
|
668
668
|
return r || null;
|
669
669
|
}
|
670
|
-
normalizeInstanceIdentifier(e =
|
671
|
-
return this.component ? this.component.multipleInstances ? e :
|
670
|
+
normalizeInstanceIdentifier(e = Q) {
|
671
|
+
return this.component ? this.component.multipleInstances ? e : Q : e;
|
672
672
|
}
|
673
673
|
shouldAutoInitialize() {
|
674
674
|
return !!this.component && this.component.instantiationMode !== "EXPLICIT";
|
675
675
|
}
|
676
676
|
}
|
677
|
-
function cn(t) {
|
678
|
-
return t === q ? void 0 : t;
|
679
|
-
}
|
680
677
|
function un(t) {
|
678
|
+
return t === Q ? void 0 : t;
|
679
|
+
}
|
680
|
+
function ln(t) {
|
681
681
|
return t.instantiationMode === "EAGER";
|
682
682
|
}
|
683
683
|
/**
|
@@ -696,7 +696,7 @@ function un(t) {
|
|
696
696
|
* See the License for the specific language governing permissions and
|
697
697
|
* limitations under the License.
|
698
698
|
*/
|
699
|
-
class
|
699
|
+
class dn {
|
700
700
|
constructor(e) {
|
701
701
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
702
702
|
}
|
@@ -728,7 +728,7 @@ class ln {
|
|
728
728
|
getProvider(e) {
|
729
729
|
if (this.providers.has(e))
|
730
730
|
return this.providers.get(e);
|
731
|
-
const n = new
|
731
|
+
const n = new cn(e, this);
|
732
732
|
return this.providers.set(e, n), n;
|
733
733
|
}
|
734
734
|
getProviders() {
|
@@ -751,33 +751,33 @@ class ln {
|
|
751
751
|
* See the License for the specific language governing permissions and
|
752
752
|
* limitations under the License.
|
753
753
|
*/
|
754
|
-
var
|
754
|
+
var T;
|
755
755
|
(function(t) {
|
756
756
|
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";
|
757
|
-
})(
|
758
|
-
const
|
759
|
-
debug:
|
760
|
-
verbose:
|
761
|
-
info:
|
762
|
-
warn:
|
763
|
-
error:
|
764
|
-
silent:
|
765
|
-
},
|
766
|
-
[
|
767
|
-
[
|
768
|
-
[
|
769
|
-
[
|
770
|
-
[
|
771
|
-
},
|
757
|
+
})(T || (T = {}));
|
758
|
+
const hn = {
|
759
|
+
debug: T.DEBUG,
|
760
|
+
verbose: T.VERBOSE,
|
761
|
+
info: T.INFO,
|
762
|
+
warn: T.WARN,
|
763
|
+
error: T.ERROR,
|
764
|
+
silent: T.SILENT
|
765
|
+
}, pn = T.INFO, _n = {
|
766
|
+
[T.DEBUG]: "log",
|
767
|
+
[T.VERBOSE]: "log",
|
768
|
+
[T.INFO]: "info",
|
769
|
+
[T.WARN]: "warn",
|
770
|
+
[T.ERROR]: "error"
|
771
|
+
}, fn = (t, e, ...n) => {
|
772
772
|
if (e < t.logLevel)
|
773
773
|
return;
|
774
|
-
const r = (/* @__PURE__ */ new Date()).toISOString(), s =
|
774
|
+
const r = (/* @__PURE__ */ new Date()).toISOString(), s = _n[e];
|
775
775
|
if (s)
|
776
776
|
console[s](`[${r}] ${t.name}:`, ...n);
|
777
777
|
else
|
778
778
|
throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`);
|
779
779
|
};
|
780
|
-
class
|
780
|
+
class mn {
|
781
781
|
/**
|
782
782
|
* Gives you an instance of a Logger to capture messages according to
|
783
783
|
* Firebase's logging scheme.
|
@@ -785,19 +785,19 @@ class fn {
|
|
785
785
|
* @param name The name that the logs will be associated with
|
786
786
|
*/
|
787
787
|
constructor(e) {
|
788
|
-
this.name = e, this._logLevel =
|
788
|
+
this.name = e, this._logLevel = pn, this._logHandler = fn, this._userLogHandler = null;
|
789
789
|
}
|
790
790
|
get logLevel() {
|
791
791
|
return this._logLevel;
|
792
792
|
}
|
793
793
|
set logLevel(e) {
|
794
|
-
if (!(e in
|
794
|
+
if (!(e in T))
|
795
795
|
throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);
|
796
796
|
this._logLevel = e;
|
797
797
|
}
|
798
798
|
// Workaround for setter/getter having to be the same type.
|
799
799
|
setLogLevel(e) {
|
800
|
-
this._logLevel = typeof e == "string" ?
|
800
|
+
this._logLevel = typeof e == "string" ? hn[e] : e;
|
801
801
|
}
|
802
802
|
get logHandler() {
|
803
803
|
return this._logHandler;
|
@@ -817,24 +817,24 @@ class fn {
|
|
817
817
|
* The functions below are all based on the `console` interface
|
818
818
|
*/
|
819
819
|
debug(...e) {
|
820
|
-
this._userLogHandler && this._userLogHandler(this,
|
820
|
+
this._userLogHandler && this._userLogHandler(this, T.DEBUG, ...e), this._logHandler(this, T.DEBUG, ...e);
|
821
821
|
}
|
822
822
|
log(...e) {
|
823
|
-
this._userLogHandler && this._userLogHandler(this,
|
823
|
+
this._userLogHandler && this._userLogHandler(this, T.VERBOSE, ...e), this._logHandler(this, T.VERBOSE, ...e);
|
824
824
|
}
|
825
825
|
info(...e) {
|
826
|
-
this._userLogHandler && this._userLogHandler(this,
|
826
|
+
this._userLogHandler && this._userLogHandler(this, T.INFO, ...e), this._logHandler(this, T.INFO, ...e);
|
827
827
|
}
|
828
828
|
warn(...e) {
|
829
|
-
this._userLogHandler && this._userLogHandler(this,
|
829
|
+
this._userLogHandler && this._userLogHandler(this, T.WARN, ...e), this._logHandler(this, T.WARN, ...e);
|
830
830
|
}
|
831
831
|
error(...e) {
|
832
|
-
this._userLogHandler && this._userLogHandler(this,
|
832
|
+
this._userLogHandler && this._userLogHandler(this, T.ERROR, ...e), this._logHandler(this, T.ERROR, ...e);
|
833
833
|
}
|
834
834
|
}
|
835
|
-
const
|
836
|
-
let Xe,
|
837
|
-
function
|
835
|
+
const gn = (t, e) => e.some((n) => t instanceof n);
|
836
|
+
let Xe, Ke;
|
837
|
+
function bn() {
|
838
838
|
return Xe || (Xe = [
|
839
839
|
IDBDatabase,
|
840
840
|
IDBObjectStore,
|
@@ -843,31 +843,31 @@ function gn() {
|
|
843
843
|
IDBTransaction
|
844
844
|
]);
|
845
845
|
}
|
846
|
-
function
|
847
|
-
return
|
846
|
+
function En() {
|
847
|
+
return Ke || (Ke = [
|
848
848
|
IDBCursor.prototype.advance,
|
849
849
|
IDBCursor.prototype.continue,
|
850
850
|
IDBCursor.prototype.continuePrimaryKey
|
851
851
|
]);
|
852
852
|
}
|
853
|
-
const
|
854
|
-
function
|
853
|
+
const bt = /* @__PURE__ */ new WeakMap(), Ce = /* @__PURE__ */ new WeakMap(), Et = /* @__PURE__ */ new WeakMap(), we = /* @__PURE__ */ new WeakMap(), He = /* @__PURE__ */ new WeakMap();
|
854
|
+
function In(t) {
|
855
855
|
const e = new Promise((n, r) => {
|
856
856
|
const s = () => {
|
857
857
|
t.removeEventListener("success", i), t.removeEventListener("error", o);
|
858
858
|
}, i = () => {
|
859
|
-
n(
|
859
|
+
n(z(t.result)), s();
|
860
860
|
}, o = () => {
|
861
861
|
r(t.error), s();
|
862
862
|
};
|
863
863
|
t.addEventListener("success", i), t.addEventListener("error", o);
|
864
864
|
});
|
865
865
|
return e.then((n) => {
|
866
|
-
n instanceof IDBCursor &&
|
866
|
+
n instanceof IDBCursor && bt.set(n, t);
|
867
867
|
}).catch(() => {
|
868
868
|
}), He.set(e, t), e;
|
869
869
|
}
|
870
|
-
function
|
870
|
+
function Tn(t) {
|
871
871
|
if (Ce.has(t))
|
872
872
|
return;
|
873
873
|
const e = new Promise((n, r) => {
|
@@ -888,11 +888,11 @@ let Me = {
|
|
888
888
|
if (e === "done")
|
889
889
|
return Ce.get(t);
|
890
890
|
if (e === "objectStoreNames")
|
891
|
-
return t.objectStoreNames ||
|
891
|
+
return t.objectStoreNames || Et.get(t);
|
892
892
|
if (e === "store")
|
893
893
|
return n.objectStoreNames[1] ? void 0 : n.objectStore(n.objectStoreNames[0]);
|
894
894
|
}
|
895
|
-
return
|
895
|
+
return z(t[e]);
|
896
896
|
},
|
897
897
|
set(t, e, n) {
|
898
898
|
return t[e] = n, !0;
|
@@ -904,32 +904,32 @@ let Me = {
|
|
904
904
|
function yn(t) {
|
905
905
|
Me = t(Me);
|
906
906
|
}
|
907
|
-
function
|
907
|
+
function Rn(t) {
|
908
908
|
return t === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...n) {
|
909
909
|
const r = t.call(ve(this), e, ...n);
|
910
|
-
return
|
911
|
-
} :
|
912
|
-
return t.apply(ve(this), e),
|
910
|
+
return Et.set(r, e.sort ? e.sort() : [e]), z(r);
|
911
|
+
} : En().includes(t) ? function(...e) {
|
912
|
+
return t.apply(ve(this), e), z(bt.get(this));
|
913
913
|
} : function(...e) {
|
914
|
-
return
|
914
|
+
return z(t.apply(ve(this), e));
|
915
915
|
};
|
916
916
|
}
|
917
|
-
function
|
918
|
-
return typeof t == "function" ?
|
917
|
+
function wn(t) {
|
918
|
+
return typeof t == "function" ? Rn(t) : (t instanceof IDBTransaction && Tn(t), gn(t, bn()) ? new Proxy(t, Me) : t);
|
919
919
|
}
|
920
|
-
function
|
920
|
+
function z(t) {
|
921
921
|
if (t instanceof IDBRequest)
|
922
|
-
return
|
922
|
+
return In(t);
|
923
923
|
if (we.has(t))
|
924
924
|
return we.get(t);
|
925
|
-
const e =
|
925
|
+
const e = wn(t);
|
926
926
|
return e !== t && (we.set(t, e), He.set(e, t)), e;
|
927
927
|
}
|
928
928
|
const ve = (t) => He.get(t);
|
929
|
-
function
|
930
|
-
const o = indexedDB.open(t, e), a =
|
929
|
+
function vn(t, e, { blocked: n, upgrade: r, blocking: s, terminated: i } = {}) {
|
930
|
+
const o = indexedDB.open(t, e), a = z(o);
|
931
931
|
return r && o.addEventListener("upgradeneeded", (u) => {
|
932
|
-
r(
|
932
|
+
r(z(o.result), u.oldVersion, u.newVersion, z(o.transaction), u);
|
933
933
|
}), n && o.addEventListener("blocked", (u) => n(
|
934
934
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
935
935
|
u.oldVersion,
|
@@ -940,16 +940,16 @@ function wn(t, e, { blocked: n, upgrade: r, blocking: s, terminated: i } = {}) {
|
|
940
940
|
}).catch(() => {
|
941
941
|
}), a;
|
942
942
|
}
|
943
|
-
const
|
944
|
-
function
|
943
|
+
const On = ["get", "getKey", "getAll", "getAllKeys", "count"], An = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
|
944
|
+
function qe(t, e) {
|
945
945
|
if (!(t instanceof IDBDatabase && !(e in t) && typeof e == "string"))
|
946
946
|
return;
|
947
|
-
if (
|
948
|
-
return
|
947
|
+
if (Oe.get(e))
|
948
|
+
return Oe.get(e);
|
949
949
|
const n = e.replace(/FromIndex$/, ""), r = e !== n, s = An.includes(n);
|
950
950
|
if (
|
951
951
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
952
|
-
!(n in (r ? IDBIndex : IDBObjectStore).prototype) || !(s ||
|
952
|
+
!(n in (r ? IDBIndex : IDBObjectStore).prototype) || !(s || On.includes(n))
|
953
953
|
)
|
954
954
|
return;
|
955
955
|
const i = async function(o, ...a) {
|
@@ -960,12 +960,12 @@ function Ke(t, e) {
|
|
960
960
|
s && u.done
|
961
961
|
]))[0];
|
962
962
|
};
|
963
|
-
return
|
963
|
+
return Oe.set(e, i), i;
|
964
964
|
}
|
965
965
|
yn((t) => ({
|
966
966
|
...t,
|
967
|
-
get: (e, n, r) =>
|
968
|
-
has: (e, n) => !!
|
967
|
+
get: (e, n, r) => qe(e, n) || t.get(e, n, r),
|
968
|
+
has: (e, n) => !!qe(e, n) || t.has(e, n)
|
969
969
|
}));
|
970
970
|
/**
|
971
971
|
* @license
|
@@ -991,7 +991,7 @@ class Dn {
|
|
991
991
|
// auth token refresh, and installations will send this string.
|
992
992
|
getPlatformInfoString() {
|
993
993
|
return this.container.getProviders().map((n) => {
|
994
|
-
if (
|
994
|
+
if (kn(n)) {
|
995
995
|
const r = n.getImmediate();
|
996
996
|
return `${r.library}/${r.version}`;
|
997
997
|
} else
|
@@ -999,7 +999,7 @@ class Dn {
|
|
999
999
|
}).filter((n) => n).join(" ");
|
1000
1000
|
}
|
1001
1001
|
}
|
1002
|
-
function
|
1002
|
+
function kn(t) {
|
1003
1003
|
const e = t.getComponent();
|
1004
1004
|
return (e == null ? void 0 : e.type) === "VERSION";
|
1005
1005
|
}
|
@@ -1020,7 +1020,7 @@ const Ue = "@firebase/app", Qe = "0.10.12";
|
|
1020
1020
|
* See the License for the specific language governing permissions and
|
1021
1021
|
* limitations under the License.
|
1022
1022
|
*/
|
1023
|
-
const W = new
|
1023
|
+
const W = new mn("@firebase/app"), Nn = "@firebase/app-compat", Sn = "@firebase/analytics-compat", Cn = "@firebase/analytics", Mn = "@firebase/app-check-compat", Un = "@firebase/app-check", Ln = "@firebase/auth", Bn = "@firebase/auth-compat", Pn = "@firebase/database", xn = "@firebase/data-connect", $n = "@firebase/database-compat", Hn = "@firebase/functions", jn = "@firebase/functions-compat", Fn = "@firebase/installations", Wn = "@firebase/installations-compat", Gn = "@firebase/messaging", Vn = "@firebase/messaging-compat", Zn = "@firebase/performance", zn = "@firebase/performance-compat", Jn = "@firebase/remote-config", Yn = "@firebase/remote-config-compat", Xn = "@firebase/storage", Kn = "@firebase/storage-compat", qn = "@firebase/firestore", Qn = "@firebase/vertexai-preview", er = "@firebase/firestore-compat", tr = "firebase", nr = "10.14.0";
|
1024
1024
|
/**
|
1025
1025
|
* @license
|
1026
1026
|
* Copyright 2019 Google LLC
|
@@ -1037,35 +1037,35 @@ const W = new fn("@firebase/app"), kn = "@firebase/app-compat", Nn = "@firebase/
|
|
1037
1037
|
* See the License for the specific language governing permissions and
|
1038
1038
|
* limitations under the License.
|
1039
1039
|
*/
|
1040
|
-
const Le = "[DEFAULT]",
|
1040
|
+
const Le = "[DEFAULT]", rr = {
|
1041
1041
|
[Ue]: "fire-core",
|
1042
|
-
[
|
1043
|
-
[
|
1044
|
-
[
|
1045
|
-
[
|
1046
|
-
[
|
1047
|
-
[
|
1048
|
-
[
|
1049
|
-
[
|
1050
|
-
[
|
1051
|
-
[
|
1042
|
+
[Nn]: "fire-core-compat",
|
1043
|
+
[Cn]: "fire-analytics",
|
1044
|
+
[Sn]: "fire-analytics-compat",
|
1045
|
+
[Un]: "fire-app-check",
|
1046
|
+
[Mn]: "fire-app-check-compat",
|
1047
|
+
[Ln]: "fire-auth",
|
1048
|
+
[Bn]: "fire-auth-compat",
|
1049
|
+
[Pn]: "fire-rtdb",
|
1050
|
+
[xn]: "fire-data-connect",
|
1051
|
+
[$n]: "fire-rtdb-compat",
|
1052
1052
|
[Hn]: "fire-fn",
|
1053
|
-
[
|
1054
|
-
[
|
1055
|
-
[
|
1056
|
-
[
|
1057
|
-
[
|
1058
|
-
[
|
1053
|
+
[jn]: "fire-fn-compat",
|
1054
|
+
[Fn]: "fire-iid",
|
1055
|
+
[Wn]: "fire-iid-compat",
|
1056
|
+
[Gn]: "fire-fcm",
|
1057
|
+
[Vn]: "fire-fcm-compat",
|
1058
|
+
[Zn]: "fire-perf",
|
1059
1059
|
[zn]: "fire-perf-compat",
|
1060
|
-
[
|
1060
|
+
[Jn]: "fire-rc",
|
1061
1061
|
[Yn]: "fire-rc-compat",
|
1062
1062
|
[Xn]: "fire-gcs",
|
1063
|
-
[
|
1064
|
-
[
|
1065
|
-
[
|
1063
|
+
[Kn]: "fire-gcs-compat",
|
1064
|
+
[qn]: "fire-fst",
|
1065
|
+
[er]: "fire-fst-compat",
|
1066
1066
|
[Qn]: "fire-vertex",
|
1067
1067
|
"fire-js": "fire-js",
|
1068
|
-
[
|
1068
|
+
[tr]: "fire-js-all"
|
1069
1069
|
};
|
1070
1070
|
/**
|
1071
1071
|
* @license
|
@@ -1083,26 +1083,26 @@ const Le = "[DEFAULT]", nr = {
|
|
1083
1083
|
* See the License for the specific language governing permissions and
|
1084
1084
|
* limitations under the License.
|
1085
1085
|
*/
|
1086
|
-
const Ie = /* @__PURE__ */ new Map(),
|
1087
|
-
function
|
1086
|
+
const Ie = /* @__PURE__ */ new Map(), sr = /* @__PURE__ */ new Map(), Be = /* @__PURE__ */ new Map();
|
1087
|
+
function et(t, e) {
|
1088
1088
|
try {
|
1089
1089
|
t.container.addComponent(e);
|
1090
1090
|
} catch (n) {
|
1091
1091
|
W.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`, n);
|
1092
1092
|
}
|
1093
1093
|
}
|
1094
|
-
function
|
1094
|
+
function Te(t) {
|
1095
1095
|
const e = t.name;
|
1096
1096
|
if (Be.has(e))
|
1097
1097
|
return W.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1098
1098
|
Be.set(e, t);
|
1099
1099
|
for (const n of Ie.values())
|
1100
|
-
|
1101
|
-
for (const n of
|
1102
|
-
|
1100
|
+
et(n, t);
|
1101
|
+
for (const n of sr.values())
|
1102
|
+
et(n, t);
|
1103
1103
|
return !0;
|
1104
1104
|
}
|
1105
|
-
function
|
1105
|
+
function ir(t, e) {
|
1106
1106
|
const n = t.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1107
1107
|
return n && n.triggerHeartbeat(), t.container.getProvider(e);
|
1108
1108
|
}
|
@@ -1122,7 +1122,7 @@ function sr(t, e) {
|
|
1122
1122
|
* See the License for the specific language governing permissions and
|
1123
1123
|
* limitations under the License.
|
1124
1124
|
*/
|
1125
|
-
const
|
1125
|
+
const or = {
|
1126
1126
|
"no-app": "No Firebase App '{$appName}' has been created - call initializeApp() first",
|
1127
1127
|
"bad-app-name": "Illegal App name: '{$appName}'",
|
1128
1128
|
"duplicate-app": "Firebase App named '{$appName}' already exists with different options or config",
|
@@ -1137,7 +1137,7 @@ const ir = {
|
|
1137
1137
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
1138
1138
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
1139
1139
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
1140
|
-
},
|
1140
|
+
}, J = new gt("app", "Firebase", or);
|
1141
1141
|
/**
|
1142
1142
|
* @license
|
1143
1143
|
* Copyright 2019 Google LLC
|
@@ -1154,7 +1154,7 @@ const ir = {
|
|
1154
1154
|
* See the License for the specific language governing permissions and
|
1155
1155
|
* limitations under the License.
|
1156
1156
|
*/
|
1157
|
-
class
|
1157
|
+
class ar {
|
1158
1158
|
constructor(e, n, r) {
|
1159
1159
|
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, n), this._name = n.name, this._automaticDataCollectionEnabled = n.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new ue(
|
1160
1160
|
"app",
|
@@ -1193,7 +1193,7 @@ class or {
|
|
1193
1193
|
*/
|
1194
1194
|
checkDestroyed() {
|
1195
1195
|
if (this.isDeleted)
|
1196
|
-
throw
|
1196
|
+
throw J.create("app-deleted", { appName: this._name });
|
1197
1197
|
}
|
1198
1198
|
}
|
1199
1199
|
/**
|
@@ -1212,17 +1212,17 @@ class or {
|
|
1212
1212
|
* See the License for the specific language governing permissions and
|
1213
1213
|
* limitations under the License.
|
1214
1214
|
*/
|
1215
|
-
const
|
1216
|
-
function
|
1215
|
+
const cr = nr;
|
1216
|
+
function ur(t, e = {}) {
|
1217
1217
|
let n = t;
|
1218
1218
|
typeof e != "object" && (e = { name: e });
|
1219
1219
|
const r = Object.assign({ name: Le, automaticDataCollectionEnabled: !1 }, e), s = r.name;
|
1220
1220
|
if (typeof s != "string" || !s)
|
1221
|
-
throw
|
1221
|
+
throw J.create("bad-app-name", {
|
1222
1222
|
appName: String(s)
|
1223
1223
|
});
|
1224
|
-
if (n || (n =
|
1225
|
-
throw
|
1224
|
+
if (n || (n = mt()), !n)
|
1225
|
+
throw J.create(
|
1226
1226
|
"no-options"
|
1227
1227
|
/* AppError.NO_OPTIONS */
|
1228
1228
|
);
|
@@ -1230,25 +1230,25 @@ function cr(t, e = {}) {
|
|
1230
1230
|
if (i) {
|
1231
1231
|
if (Se(n, i.options) && Se(r, i.config))
|
1232
1232
|
return i;
|
1233
|
-
throw
|
1233
|
+
throw J.create("duplicate-app", { appName: s });
|
1234
1234
|
}
|
1235
|
-
const o = new
|
1235
|
+
const o = new dn(s);
|
1236
1236
|
for (const u of Be.values())
|
1237
1237
|
o.addComponent(u);
|
1238
|
-
const a = new
|
1238
|
+
const a = new ar(n, r, o);
|
1239
1239
|
return Ie.set(s, a), a;
|
1240
1240
|
}
|
1241
|
-
function
|
1241
|
+
function Pe(t = Le) {
|
1242
1242
|
const e = Ie.get(t);
|
1243
|
-
if (!e && t === Le &&
|
1244
|
-
return
|
1243
|
+
if (!e && t === Le && mt())
|
1244
|
+
return ur();
|
1245
1245
|
if (!e)
|
1246
|
-
throw
|
1246
|
+
throw J.create("no-app", { appName: t });
|
1247
1247
|
return e;
|
1248
1248
|
}
|
1249
|
-
function
|
1249
|
+
function re(t, e, n) {
|
1250
1250
|
var r;
|
1251
|
-
let s = (r =
|
1251
|
+
let s = (r = rr[t]) !== null && r !== void 0 ? r : t;
|
1252
1252
|
n && (s += `-${n}`);
|
1253
1253
|
const i = s.match(/\s|\//), o = e.match(/\s|\//);
|
1254
1254
|
if (i || o) {
|
@@ -1258,7 +1258,7 @@ function ae(t, e, n) {
|
|
1258
1258
|
i && a.push(`library name "${s}" contains illegal characters (whitespace or "/")`), i && o && a.push("and"), o && a.push(`version name "${e}" contains illegal characters (whitespace or "/")`), W.warn(a.join(" "));
|
1259
1259
|
return;
|
1260
1260
|
}
|
1261
|
-
|
1261
|
+
Te(new ue(
|
1262
1262
|
`${s}-version`,
|
1263
1263
|
() => ({ library: s, version: e }),
|
1264
1264
|
"VERSION"
|
@@ -1282,9 +1282,9 @@ function ae(t, e, n) {
|
|
1282
1282
|
* limitations under the License.
|
1283
1283
|
*/
|
1284
1284
|
const lr = "firebase-heartbeat-database", dr = 1, le = "firebase-heartbeat-store";
|
1285
|
-
let
|
1286
|
-
function
|
1287
|
-
return
|
1285
|
+
let Ae = null;
|
1286
|
+
function It() {
|
1287
|
+
return Ae || (Ae = vn(lr, dr, {
|
1288
1288
|
upgrade: (t, e) => {
|
1289
1289
|
switch (e) {
|
1290
1290
|
case 0:
|
@@ -1296,42 +1296,42 @@ function Et() {
|
|
1296
1296
|
}
|
1297
1297
|
}
|
1298
1298
|
}).catch((t) => {
|
1299
|
-
throw
|
1299
|
+
throw J.create("idb-open", {
|
1300
1300
|
originalErrorMessage: t.message
|
1301
1301
|
});
|
1302
|
-
})),
|
1302
|
+
})), Ae;
|
1303
1303
|
}
|
1304
1304
|
async function hr(t) {
|
1305
1305
|
try {
|
1306
|
-
const n = (await
|
1306
|
+
const n = (await It()).transaction(le), r = await n.objectStore(le).get(Tt(t));
|
1307
1307
|
return await n.done, r;
|
1308
1308
|
} catch (e) {
|
1309
|
-
if (e instanceof
|
1309
|
+
if (e instanceof se)
|
1310
1310
|
W.warn(e.message);
|
1311
1311
|
else {
|
1312
|
-
const n =
|
1312
|
+
const n = J.create("idb-get", {
|
1313
1313
|
originalErrorMessage: e == null ? void 0 : e.message
|
1314
1314
|
});
|
1315
1315
|
W.warn(n.message);
|
1316
1316
|
}
|
1317
1317
|
}
|
1318
1318
|
}
|
1319
|
-
async function
|
1319
|
+
async function tt(t, e) {
|
1320
1320
|
try {
|
1321
|
-
const r = (await
|
1322
|
-
await r.objectStore(le).put(e,
|
1321
|
+
const r = (await It()).transaction(le, "readwrite");
|
1322
|
+
await r.objectStore(le).put(e, Tt(t)), await r.done;
|
1323
1323
|
} catch (n) {
|
1324
|
-
if (n instanceof
|
1324
|
+
if (n instanceof se)
|
1325
1325
|
W.warn(n.message);
|
1326
1326
|
else {
|
1327
|
-
const r =
|
1327
|
+
const r = J.create("idb-set", {
|
1328
1328
|
originalErrorMessage: n == null ? void 0 : n.message
|
1329
1329
|
});
|
1330
1330
|
W.warn(r.message);
|
1331
1331
|
}
|
1332
1332
|
}
|
1333
1333
|
}
|
1334
|
-
function
|
1334
|
+
function Tt(t) {
|
1335
1335
|
return `${t.name}!${t.options.appId}`;
|
1336
1336
|
}
|
1337
1337
|
/**
|
@@ -1367,7 +1367,7 @@ class fr {
|
|
1367
1367
|
async triggerHeartbeat() {
|
1368
1368
|
var e, n;
|
1369
1369
|
try {
|
1370
|
-
const s = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), i =
|
1370
|
+
const s = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), i = nt();
|
1371
1371
|
return ((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 === i || this._heartbeatsCache.heartbeats.some((o) => o.date === i) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: i, agent: s }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((o) => {
|
1372
1372
|
const a = new Date(o.date).valueOf();
|
1373
1373
|
return Date.now() - a <= _r;
|
@@ -1388,14 +1388,14 @@ class fr {
|
|
1388
1388
|
try {
|
1389
1389
|
if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
|
1390
1390
|
return "";
|
1391
|
-
const n =
|
1391
|
+
const n = nt(), { heartbeatsToSend: r, unsentEntries: s } = mr(this._heartbeatsCache.heartbeats), i = Ee(JSON.stringify({ version: 2, heartbeats: r }));
|
1392
1392
|
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)), i;
|
1393
1393
|
} catch (n) {
|
1394
1394
|
return W.warn(n), "";
|
1395
1395
|
}
|
1396
1396
|
}
|
1397
1397
|
}
|
1398
|
-
function
|
1398
|
+
function nt() {
|
1399
1399
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
1400
1400
|
}
|
1401
1401
|
function mr(t, e = pr) {
|
@@ -1404,14 +1404,14 @@ function mr(t, e = pr) {
|
|
1404
1404
|
for (const s of t) {
|
1405
1405
|
const i = n.find((o) => o.agent === s.agent);
|
1406
1406
|
if (i) {
|
1407
|
-
if (i.dates.push(s.date),
|
1407
|
+
if (i.dates.push(s.date), rt(n) > e) {
|
1408
1408
|
i.dates.pop();
|
1409
1409
|
break;
|
1410
1410
|
}
|
1411
1411
|
} else if (n.push({
|
1412
1412
|
agent: s.agent,
|
1413
1413
|
dates: [s.date]
|
1414
|
-
}),
|
1414
|
+
}), rt(n) > e) {
|
1415
1415
|
n.pop();
|
1416
1416
|
break;
|
1417
1417
|
}
|
@@ -1427,7 +1427,7 @@ class gr {
|
|
1427
1427
|
this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
|
1428
1428
|
}
|
1429
1429
|
async runIndexedDBEnvironmentCheck() {
|
1430
|
-
return
|
1430
|
+
return nn() ? rn().then(() => !0).catch(() => !1) : !1;
|
1431
1431
|
}
|
1432
1432
|
/**
|
1433
1433
|
* Read all heartbeats.
|
@@ -1444,7 +1444,7 @@ class gr {
|
|
1444
1444
|
var n;
|
1445
1445
|
if (await this._canUseIndexedDBPromise) {
|
1446
1446
|
const s = await this.read();
|
1447
|
-
return
|
1447
|
+
return tt(this.app, {
|
1448
1448
|
lastSentHeartbeatDate: (n = e.lastSentHeartbeatDate) !== null && n !== void 0 ? n : s.lastSentHeartbeatDate,
|
1449
1449
|
heartbeats: e.heartbeats
|
1450
1450
|
});
|
@@ -1456,7 +1456,7 @@ class gr {
|
|
1456
1456
|
var n;
|
1457
1457
|
if (await this._canUseIndexedDBPromise) {
|
1458
1458
|
const s = await this.read();
|
1459
|
-
return
|
1459
|
+
return tt(this.app, {
|
1460
1460
|
lastSentHeartbeatDate: (n = e.lastSentHeartbeatDate) !== null && n !== void 0 ? n : s.lastSentHeartbeatDate,
|
1461
1461
|
heartbeats: [
|
1462
1462
|
...s.heartbeats,
|
@@ -1467,7 +1467,7 @@ class gr {
|
|
1467
1467
|
return;
|
1468
1468
|
}
|
1469
1469
|
}
|
1470
|
-
function
|
1470
|
+
function rt(t) {
|
1471
1471
|
return Ee(
|
1472
1472
|
// heartbeatsCache wrapper properties
|
1473
1473
|
JSON.stringify({ version: 2, heartbeats: t })
|
@@ -1490,19 +1490,37 @@ function nt(t) {
|
|
1490
1490
|
* limitations under the License.
|
1491
1491
|
*/
|
1492
1492
|
function br(t) {
|
1493
|
-
|
1493
|
+
Te(new ue(
|
1494
1494
|
"platform-logger",
|
1495
1495
|
(e) => new Dn(e),
|
1496
1496
|
"PRIVATE"
|
1497
1497
|
/* ComponentType.PRIVATE */
|
1498
|
-
)),
|
1498
|
+
)), Te(new ue(
|
1499
1499
|
"heartbeat",
|
1500
1500
|
(e) => new fr(e),
|
1501
1501
|
"PRIVATE"
|
1502
1502
|
/* ComponentType.PRIVATE */
|
1503
|
-
)),
|
1503
|
+
)), re(Ue, Qe, t), re(Ue, Qe, "esm2017"), re("fire-js", "");
|
1504
1504
|
}
|
1505
1505
|
br("");
|
1506
|
+
var Er = "firebase", Ir = "10.14.0";
|
1507
|
+
/**
|
1508
|
+
* @license
|
1509
|
+
* Copyright 2020 Google LLC
|
1510
|
+
*
|
1511
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
1512
|
+
* you may not use this file except in compliance with the License.
|
1513
|
+
* You may obtain a copy of the License at
|
1514
|
+
*
|
1515
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1516
|
+
*
|
1517
|
+
* Unless required by applicable law or agreed to in writing, software
|
1518
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
1519
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1520
|
+
* See the License for the specific language governing permissions and
|
1521
|
+
* limitations under the License.
|
1522
|
+
*/
|
1523
|
+
re(Er, Ir, "app");
|
1506
1524
|
/**
|
1507
1525
|
* @license
|
1508
1526
|
* Copyright 2017 Google LLC
|
@@ -1519,7 +1537,7 @@ br("");
|
|
1519
1537
|
* See the License for the specific language governing permissions and
|
1520
1538
|
* limitations under the License.
|
1521
1539
|
*/
|
1522
|
-
const yt = "firebasestorage.googleapis.com",
|
1540
|
+
const yt = "firebasestorage.googleapis.com", Rt = "storageBucket", Tr = 2 * 60 * 1e3, yr = 10 * 60 * 1e3;
|
1523
1541
|
/**
|
1524
1542
|
* @license
|
1525
1543
|
* Copyright 2017 Google LLC
|
@@ -1536,7 +1554,7 @@ const yt = "firebasestorage.googleapis.com", Tt = "storageBucket", Er = 2 * 60 *
|
|
1536
1554
|
* See the License for the specific language governing permissions and
|
1537
1555
|
* limitations under the License.
|
1538
1556
|
*/
|
1539
|
-
class v extends
|
1557
|
+
class v extends se {
|
1540
1558
|
/**
|
1541
1559
|
* @param code - A `StorageErrorCode` string to be prefixed with 'storage/' and
|
1542
1560
|
* added to the end of the message.
|
@@ -1544,7 +1562,7 @@ class v extends re {
|
|
1544
1562
|
* @param status_ - Corresponding HTTP Status Code
|
1545
1563
|
*/
|
1546
1564
|
constructor(e, n, r = 0) {
|
1547
|
-
super(
|
1565
|
+
super(De(e), `Firebase Storage: ${n} (${De(e)})`), this.status_ = r, this.customData = { serverResponse: null }, this._baseMessage = this.message, Object.setPrototypeOf(this, v.prototype);
|
1548
1566
|
}
|
1549
1567
|
get status() {
|
1550
1568
|
return this.status_;
|
@@ -1556,7 +1574,7 @@ class v extends re {
|
|
1556
1574
|
* Compares a `StorageErrorCode` against this error's code, filtering out the prefix.
|
1557
1575
|
*/
|
1558
1576
|
_codeEquals(e) {
|
1559
|
-
return
|
1577
|
+
return De(e) === this.code;
|
1560
1578
|
}
|
1561
1579
|
/**
|
1562
1580
|
* Optional response message that was added by the server.
|
@@ -1573,66 +1591,66 @@ var w;
|
|
1573
1591
|
(function(t) {
|
1574
1592
|
t.UNKNOWN = "unknown", t.OBJECT_NOT_FOUND = "object-not-found", t.BUCKET_NOT_FOUND = "bucket-not-found", t.PROJECT_NOT_FOUND = "project-not-found", t.QUOTA_EXCEEDED = "quota-exceeded", t.UNAUTHENTICATED = "unauthenticated", t.UNAUTHORIZED = "unauthorized", t.UNAUTHORIZED_APP = "unauthorized-app", t.RETRY_LIMIT_EXCEEDED = "retry-limit-exceeded", t.INVALID_CHECKSUM = "invalid-checksum", t.CANCELED = "canceled", t.INVALID_EVENT_NAME = "invalid-event-name", t.INVALID_URL = "invalid-url", t.INVALID_DEFAULT_BUCKET = "invalid-default-bucket", t.NO_DEFAULT_BUCKET = "no-default-bucket", t.CANNOT_SLICE_BLOB = "cannot-slice-blob", t.SERVER_FILE_WRONG_SIZE = "server-file-wrong-size", t.NO_DOWNLOAD_URL = "no-download-url", t.INVALID_ARGUMENT = "invalid-argument", t.INVALID_ARGUMENT_COUNT = "invalid-argument-count", t.APP_DELETED = "app-deleted", t.INVALID_ROOT_OPERATION = "invalid-root-operation", t.INVALID_FORMAT = "invalid-format", t.INTERNAL_ERROR = "internal-error", t.UNSUPPORTED_ENVIRONMENT = "unsupported-environment";
|
1575
1593
|
})(w || (w = {}));
|
1576
|
-
function
|
1594
|
+
function De(t) {
|
1577
1595
|
return "storage/" + t;
|
1578
1596
|
}
|
1579
|
-
function
|
1597
|
+
function je() {
|
1580
1598
|
const t = "An unknown error occurred, please check the error payload for server response.";
|
1581
1599
|
return new v(w.UNKNOWN, t);
|
1582
1600
|
}
|
1583
|
-
function
|
1601
|
+
function Rr(t) {
|
1584
1602
|
return new v(w.OBJECT_NOT_FOUND, "Object '" + t + "' does not exist.");
|
1585
1603
|
}
|
1586
|
-
function
|
1604
|
+
function wr(t) {
|
1587
1605
|
return new v(w.QUOTA_EXCEEDED, "Quota for bucket '" + t + "' exceeded, please view quota on https://firebase.google.com/pricing/.");
|
1588
1606
|
}
|
1589
|
-
function
|
1607
|
+
function vr() {
|
1590
1608
|
const t = "User is not authenticated, please authenticate using Firebase Authentication and try again.";
|
1591
1609
|
return new v(w.UNAUTHENTICATED, t);
|
1592
1610
|
}
|
1593
|
-
function
|
1611
|
+
function Or() {
|
1594
1612
|
return new v(w.UNAUTHORIZED_APP, "This app does not have permission to access Firebase Storage on this project.");
|
1595
1613
|
}
|
1596
|
-
function
|
1614
|
+
function Ar(t) {
|
1597
1615
|
return new v(w.UNAUTHORIZED, "User does not have permission to access '" + t + "'.");
|
1598
1616
|
}
|
1599
|
-
function
|
1617
|
+
function Dr() {
|
1600
1618
|
return new v(w.RETRY_LIMIT_EXCEEDED, "Max retry time for operation exceeded, please try again.");
|
1601
1619
|
}
|
1602
|
-
function
|
1620
|
+
function kr() {
|
1603
1621
|
return new v(w.CANCELED, "User canceled the upload/download.");
|
1604
1622
|
}
|
1605
|
-
function
|
1623
|
+
function Nr(t) {
|
1606
1624
|
return new v(w.INVALID_URL, "Invalid URL '" + t + "'.");
|
1607
1625
|
}
|
1608
|
-
function
|
1626
|
+
function Sr(t) {
|
1609
1627
|
return new v(w.INVALID_DEFAULT_BUCKET, "Invalid default bucket '" + t + "'.");
|
1610
1628
|
}
|
1611
|
-
function
|
1612
|
-
return new v(w.NO_DEFAULT_BUCKET, "No default bucket found. Did you set the '" +
|
1629
|
+
function Cr() {
|
1630
|
+
return new v(w.NO_DEFAULT_BUCKET, "No default bucket found. Did you set the '" + Rt + "' property when initializing the app?");
|
1613
1631
|
}
|
1614
|
-
function
|
1632
|
+
function Mr() {
|
1615
1633
|
return new v(w.CANNOT_SLICE_BLOB, "Cannot slice blob for upload. Please retry the upload.");
|
1616
1634
|
}
|
1617
|
-
function
|
1635
|
+
function Ur() {
|
1618
1636
|
return new v(w.NO_DOWNLOAD_URL, "The given file does not have any download URLs.");
|
1619
1637
|
}
|
1620
|
-
function
|
1638
|
+
function Lr(t) {
|
1621
1639
|
return new v(w.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.`);
|
1622
1640
|
}
|
1623
|
-
function
|
1641
|
+
function xe(t) {
|
1624
1642
|
return new v(w.INVALID_ARGUMENT, t);
|
1625
1643
|
}
|
1626
|
-
function
|
1644
|
+
function wt() {
|
1627
1645
|
return new v(w.APP_DELETED, "The Firebase app was deleted.");
|
1628
1646
|
}
|
1629
|
-
function
|
1647
|
+
function Br(t) {
|
1630
1648
|
return new v(w.INVALID_ROOT_OPERATION, "The operation '" + t + "' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').");
|
1631
1649
|
}
|
1632
1650
|
function ce(t, e) {
|
1633
1651
|
return new v(w.INVALID_FORMAT, "String does not match format '" + t + "': " + e);
|
1634
1652
|
}
|
1635
|
-
function
|
1653
|
+
function ae(t) {
|
1636
1654
|
throw new v(w.INTERNAL_ERROR, "Internal error: " + t);
|
1637
1655
|
}
|
1638
1656
|
/**
|
@@ -1677,7 +1695,7 @@ class B {
|
|
1677
1695
|
}
|
1678
1696
|
if (r.path === "")
|
1679
1697
|
return r;
|
1680
|
-
throw
|
1698
|
+
throw Sr(e);
|
1681
1699
|
}
|
1682
1700
|
static makeFromUrl(e, n) {
|
1683
1701
|
let r = null;
|
@@ -1689,11 +1707,11 @@ class B {
|
|
1689
1707
|
function h(S) {
|
1690
1708
|
S.path_ = decodeURIComponent(S.path);
|
1691
1709
|
}
|
1692
|
-
const I = "v[A-Za-z0-9_]+", g = n.replace(/[.]/g, "\\."),
|
1710
|
+
const I = "v[A-Za-z0-9_]+", g = n.replace(/[.]/g, "\\."), y = "(/([^?#]*).*)?$", R = new RegExp(`^https?://${g}/${I}/b/${s}/o${y}`, "i"), A = { bucket: 1, path: 3 }, j = n === yt ? "(?:storage.googleapis.com|storage.cloud.google.com)" : n, N = "([^?#]*)", G = new RegExp(`^https?://${j}/${s}/${N}`, "i"), U = [
|
1693
1711
|
{ regex: a, indices: u, postModify: i },
|
1694
1712
|
{
|
1695
1713
|
regex: R,
|
1696
|
-
indices:
|
1714
|
+
indices: A,
|
1697
1715
|
postModify: h
|
1698
1716
|
},
|
1699
1717
|
{
|
@@ -1703,20 +1721,20 @@ class B {
|
|
1703
1721
|
}
|
1704
1722
|
];
|
1705
1723
|
for (let S = 0; S < U.length; S++) {
|
1706
|
-
const
|
1724
|
+
const $ = U[S], x = $.regex.exec(e);
|
1707
1725
|
if (x) {
|
1708
|
-
const pe = x[
|
1709
|
-
let
|
1710
|
-
|
1726
|
+
const pe = x[$.indices.bucket];
|
1727
|
+
let X = x[$.indices.path];
|
1728
|
+
X || (X = ""), r = new B(pe, X), $.postModify(r);
|
1711
1729
|
break;
|
1712
1730
|
}
|
1713
1731
|
}
|
1714
1732
|
if (r == null)
|
1715
|
-
throw
|
1733
|
+
throw Nr(e);
|
1716
1734
|
return r;
|
1717
1735
|
}
|
1718
1736
|
}
|
1719
|
-
class
|
1737
|
+
class Pr {
|
1720
1738
|
constructor(e) {
|
1721
1739
|
this.promise_ = Promise.reject(e);
|
1722
1740
|
}
|
@@ -1744,7 +1762,7 @@ class Lr {
|
|
1744
1762
|
* See the License for the specific language governing permissions and
|
1745
1763
|
* limitations under the License.
|
1746
1764
|
*/
|
1747
|
-
function
|
1765
|
+
function xr(t, e, n) {
|
1748
1766
|
let r = 1, s = null, i = null, o = !1, a = 0;
|
1749
1767
|
function u() {
|
1750
1768
|
return a === 2;
|
@@ -1758,35 +1776,35 @@ function Br(t, e, n) {
|
|
1758
1776
|
s = null, t(R, u());
|
1759
1777
|
}, N);
|
1760
1778
|
}
|
1761
|
-
function
|
1779
|
+
function y() {
|
1762
1780
|
i && clearTimeout(i);
|
1763
1781
|
}
|
1764
1782
|
function R(N, ...G) {
|
1765
1783
|
if (h) {
|
1766
|
-
|
1784
|
+
y();
|
1767
1785
|
return;
|
1768
1786
|
}
|
1769
1787
|
if (N) {
|
1770
|
-
|
1788
|
+
y(), I.call(null, N, ...G);
|
1771
1789
|
return;
|
1772
1790
|
}
|
1773
1791
|
if (u() || o) {
|
1774
|
-
|
1792
|
+
y(), I.call(null, N, ...G);
|
1775
1793
|
return;
|
1776
1794
|
}
|
1777
1795
|
r < 64 && (r *= 2);
|
1778
1796
|
let U;
|
1779
1797
|
a === 1 ? (a = 2, U = 0) : U = (r + Math.random()) * 1e3, g(U);
|
1780
1798
|
}
|
1781
|
-
let
|
1799
|
+
let A = !1;
|
1782
1800
|
function j(N) {
|
1783
|
-
|
1801
|
+
A || (A = !0, y(), !h && (s !== null ? (N || (a = 2), clearTimeout(s), g(0)) : N || (a = 1)));
|
1784
1802
|
}
|
1785
1803
|
return g(0), i = setTimeout(() => {
|
1786
1804
|
o = !0, j(!0);
|
1787
1805
|
}, n), j;
|
1788
1806
|
}
|
1789
|
-
function
|
1807
|
+
function $r(t) {
|
1790
1808
|
t(!1);
|
1791
1809
|
}
|
1792
1810
|
/**
|
@@ -1805,26 +1823,26 @@ function Pr(t) {
|
|
1805
1823
|
* See the License for the specific language governing permissions and
|
1806
1824
|
* limitations under the License.
|
1807
1825
|
*/
|
1808
|
-
function
|
1826
|
+
function Hr(t) {
|
1809
1827
|
return t !== void 0;
|
1810
1828
|
}
|
1811
|
-
function
|
1829
|
+
function jr(t) {
|
1812
1830
|
return typeof t == "object" && !Array.isArray(t);
|
1813
1831
|
}
|
1814
|
-
function
|
1832
|
+
function Fe(t) {
|
1815
1833
|
return typeof t == "string" || t instanceof String;
|
1816
1834
|
}
|
1817
|
-
function
|
1818
|
-
return
|
1835
|
+
function st(t) {
|
1836
|
+
return We() && t instanceof Blob;
|
1819
1837
|
}
|
1820
|
-
function
|
1838
|
+
function We() {
|
1821
1839
|
return typeof Blob < "u";
|
1822
1840
|
}
|
1823
|
-
function
|
1841
|
+
function it(t, e, n, r) {
|
1824
1842
|
if (r < e)
|
1825
|
-
throw
|
1843
|
+
throw xe(`Invalid value for '${t}'. Expected ${e} or greater.`);
|
1826
1844
|
if (r > n)
|
1827
|
-
throw
|
1845
|
+
throw xe(`Invalid value for '${t}'. Expected ${n} or less.`);
|
1828
1846
|
}
|
1829
1847
|
/**
|
1830
1848
|
* @license
|
@@ -1842,11 +1860,11 @@ function st(t, e, n, r) {
|
|
1842
1860
|
* See the License for the specific language governing permissions and
|
1843
1861
|
* limitations under the License.
|
1844
1862
|
*/
|
1845
|
-
function
|
1863
|
+
function ye(t, e, n) {
|
1846
1864
|
let r = e;
|
1847
1865
|
return n == null && (r = `https://${e}`), `${n}://${r}/v0${t}`;
|
1848
1866
|
}
|
1849
|
-
function
|
1867
|
+
function vt(t) {
|
1850
1868
|
const e = encodeURIComponent;
|
1851
1869
|
let n = "?";
|
1852
1870
|
for (const r in t)
|
@@ -1876,7 +1894,7 @@ var ee;
|
|
1876
1894
|
* See the License for the specific language governing permissions and
|
1877
1895
|
* limitations under the License.
|
1878
1896
|
*/
|
1879
|
-
function
|
1897
|
+
function Fr(t, e) {
|
1880
1898
|
const n = t >= 500 && t < 600, s = [
|
1881
1899
|
// Request Timeout: web server didn't receive full request in time.
|
1882
1900
|
408,
|
@@ -1901,10 +1919,10 @@ function $r(t, e) {
|
|
1901
1919
|
* See the License for the specific language governing permissions and
|
1902
1920
|
* limitations under the License.
|
1903
1921
|
*/
|
1904
|
-
class
|
1905
|
-
constructor(e, n, r, s, i, o, a, u, h, I, g,
|
1906
|
-
this.url_ = e, this.method_ = n, this.headers_ = r, this.body_ = s, this.successCodes_ = i, this.additionalRetryCodes_ = o, this.callback_ = a, this.errorCallback_ = u, this.timeout_ = h, this.progressCallback_ = I, this.connectionFactory_ = g, this.retry =
|
1907
|
-
this.resolve_ = R, this.reject_ =
|
1922
|
+
class Wr {
|
1923
|
+
constructor(e, n, r, s, i, o, a, u, h, I, g, y = !0) {
|
1924
|
+
this.url_ = e, this.method_ = n, this.headers_ = r, this.body_ = s, this.successCodes_ = i, this.additionalRetryCodes_ = o, this.callback_ = a, this.errorCallback_ = u, this.timeout_ = h, this.progressCallback_ = I, this.connectionFactory_ = g, this.retry = y, this.pendingConnection_ = null, this.backoffId_ = null, this.canceled_ = !1, this.appDelete_ = !1, this.promise_ = new Promise((R, A) => {
|
1925
|
+
this.resolve_ = R, this.reject_ = A, this.start_();
|
1908
1926
|
});
|
1909
1927
|
}
|
1910
1928
|
/**
|
@@ -1925,7 +1943,7 @@ class jr {
|
|
1925
1943
|
this.progressCallback_ !== null && i.addUploadProgressListener(o), i.send(this.url_, this.method_, this.body_, this.headers_).then(() => {
|
1926
1944
|
this.progressCallback_ !== null && i.removeUploadProgressListener(o), this.pendingConnection_ = null;
|
1927
1945
|
const a = i.getErrorCode() === ee.NO_ERROR, u = i.getStatus();
|
1928
|
-
if (!a ||
|
1946
|
+
if (!a || Fr(u, this.additionalRetryCodes_) && this.retry) {
|
1929
1947
|
const I = i.getErrorCode() === ee.ABORT;
|
1930
1948
|
r(!1, new ge(!1, null, I));
|
1931
1949
|
return;
|
@@ -1938,22 +1956,22 @@ class jr {
|
|
1938
1956
|
if (s.wasSuccessCode)
|
1939
1957
|
try {
|
1940
1958
|
const u = this.callback_(a, a.getResponse());
|
1941
|
-
|
1959
|
+
Hr(u) ? i(u) : i();
|
1942
1960
|
} catch (u) {
|
1943
1961
|
o(u);
|
1944
1962
|
}
|
1945
1963
|
else if (a !== null) {
|
1946
|
-
const u =
|
1964
|
+
const u = je();
|
1947
1965
|
u.serverResponse = a.getErrorText(), this.errorCallback_ ? o(this.errorCallback_(a, u)) : o(u);
|
1948
1966
|
} else if (s.canceled) {
|
1949
|
-
const u = this.appDelete_ ?
|
1967
|
+
const u = this.appDelete_ ? wt() : kr();
|
1950
1968
|
o(u);
|
1951
1969
|
} else {
|
1952
|
-
const u =
|
1970
|
+
const u = Dr();
|
1953
1971
|
o(u);
|
1954
1972
|
}
|
1955
1973
|
};
|
1956
|
-
this.canceled_ ? n(!1, new ge(!1, null, !0)) : this.backoffId_ =
|
1974
|
+
this.canceled_ ? n(!1, new ge(!1, null, !0)) : this.backoffId_ = xr(e, n, this.timeout_);
|
1957
1975
|
}
|
1958
1976
|
/** @inheritDoc */
|
1959
1977
|
getPromise() {
|
@@ -1961,7 +1979,7 @@ class jr {
|
|
1961
1979
|
}
|
1962
1980
|
/** @inheritDoc */
|
1963
1981
|
cancel(e) {
|
1964
|
-
this.canceled_ = !0, this.appDelete_ = e || !1, this.backoffId_ !== null &&
|
1982
|
+
this.canceled_ = !0, this.appDelete_ = e || !1, this.backoffId_ !== null && $r(this.backoffId_), this.pendingConnection_ !== null && this.pendingConnection_.abort();
|
1965
1983
|
}
|
1966
1984
|
}
|
1967
1985
|
class ge {
|
@@ -1969,21 +1987,21 @@ class ge {
|
|
1969
1987
|
this.wasSuccessCode = e, this.connection = n, this.canceled = !!r;
|
1970
1988
|
}
|
1971
1989
|
}
|
1972
|
-
function
|
1990
|
+
function Gr(t, e) {
|
1973
1991
|
e !== null && e.length > 0 && (t.Authorization = "Firebase " + e);
|
1974
1992
|
}
|
1975
|
-
function
|
1993
|
+
function Vr(t, e) {
|
1976
1994
|
t["X-Firebase-Storage-Version"] = "webjs/" + (e ?? "AppManager");
|
1977
1995
|
}
|
1978
|
-
function
|
1996
|
+
function Zr(t, e) {
|
1979
1997
|
e && (t["X-Firebase-GMPID"] = e);
|
1980
1998
|
}
|
1981
|
-
function
|
1999
|
+
function zr(t, e) {
|
1982
2000
|
e !== null && (t["X-Firebase-AppCheck"] = e);
|
1983
2001
|
}
|
1984
|
-
function
|
1985
|
-
const a =
|
1986
|
-
return
|
2002
|
+
function Jr(t, e, n, r, s, i, o = !0) {
|
2003
|
+
const a = vt(t.urlParams), u = t.url + a, h = Object.assign({}, t.headers);
|
2004
|
+
return Zr(h, e), Gr(h, n), Vr(h, i), zr(h, r), new Wr(u, t.method, h, t.body, t.successCodes, t.additionalRetryCodes, t.handler, t.errorHandler, t.timeout, t.progressCallback, s, o);
|
1987
2005
|
}
|
1988
2006
|
/**
|
1989
2007
|
* @license
|
@@ -2001,23 +2019,23 @@ function zr(t, e, n, r, s, i, o = !0) {
|
|
2001
2019
|
* See the License for the specific language governing permissions and
|
2002
2020
|
* limitations under the License.
|
2003
2021
|
*/
|
2004
|
-
function
|
2022
|
+
function Yr() {
|
2005
2023
|
return typeof BlobBuilder < "u" ? BlobBuilder : typeof WebKitBlobBuilder < "u" ? WebKitBlobBuilder : void 0;
|
2006
2024
|
}
|
2007
|
-
function
|
2008
|
-
const e =
|
2025
|
+
function Xr(...t) {
|
2026
|
+
const e = Yr();
|
2009
2027
|
if (e !== void 0) {
|
2010
2028
|
const n = new e();
|
2011
2029
|
for (let r = 0; r < t.length; r++)
|
2012
2030
|
n.append(t[r]);
|
2013
2031
|
return n.getBlob();
|
2014
2032
|
} else {
|
2015
|
-
if (
|
2033
|
+
if (We())
|
2016
2034
|
return new Blob(t);
|
2017
2035
|
throw new v(w.UNSUPPORTED_ENVIRONMENT, "This browser doesn't seem to support creating Blobs");
|
2018
2036
|
}
|
2019
2037
|
}
|
2020
|
-
function
|
2038
|
+
function Kr(t, e, n) {
|
2021
2039
|
return t.webkitSlice ? t.webkitSlice(e, n) : t.mozSlice ? t.mozSlice(e, n) : t.slice ? t.slice(e, n) : null;
|
2022
2040
|
}
|
2023
2041
|
/**
|
@@ -2036,9 +2054,9 @@ function Xr(t, e, n) {
|
|
2036
2054
|
* See the License for the specific language governing permissions and
|
2037
2055
|
* limitations under the License.
|
2038
2056
|
*/
|
2039
|
-
function
|
2057
|
+
function qr(t) {
|
2040
2058
|
if (typeof atob > "u")
|
2041
|
-
throw
|
2059
|
+
throw Lr("base-64");
|
2042
2060
|
return atob(t);
|
2043
2061
|
}
|
2044
2062
|
/**
|
@@ -2057,7 +2075,7 @@ function Jr(t) {
|
|
2057
2075
|
* See the License for the specific language governing permissions and
|
2058
2076
|
* limitations under the License.
|
2059
2077
|
*/
|
2060
|
-
const
|
2078
|
+
const H = {
|
2061
2079
|
/**
|
2062
2080
|
* Indicates the string should be interpreted "raw", that is, as normal text.
|
2063
2081
|
* The string will be interpreted as UTF-16, then uploaded as a UTF-8 byte
|
@@ -2096,19 +2114,19 @@ class ke {
|
|
2096
2114
|
this.data = e, this.contentType = n || null;
|
2097
2115
|
}
|
2098
2116
|
}
|
2099
|
-
function
|
2117
|
+
function Qr(t, e) {
|
2100
2118
|
switch (t) {
|
2101
|
-
case
|
2102
|
-
return new ke(
|
2103
|
-
case
|
2104
|
-
case
|
2119
|
+
case H.RAW:
|
2120
|
+
return new ke(Ot(e));
|
2121
|
+
case H.BASE64:
|
2122
|
+
case H.BASE64URL:
|
2105
2123
|
return new ke(At(t, e));
|
2106
|
-
case
|
2107
|
-
return new ke(
|
2124
|
+
case H.DATA_URL:
|
2125
|
+
return new ke(ts(e), ns(e));
|
2108
2126
|
}
|
2109
|
-
throw
|
2127
|
+
throw je();
|
2110
2128
|
}
|
2111
|
-
function
|
2129
|
+
function Ot(t) {
|
2112
2130
|
const e = [];
|
2113
2131
|
for (let n = 0; n < t.length; n++) {
|
2114
2132
|
let r = t.charCodeAt(n);
|
@@ -2128,24 +2146,24 @@ function vt(t) {
|
|
2128
2146
|
}
|
2129
2147
|
return new Uint8Array(e);
|
2130
2148
|
}
|
2131
|
-
function
|
2149
|
+
function es(t) {
|
2132
2150
|
let e;
|
2133
2151
|
try {
|
2134
2152
|
e = decodeURIComponent(t);
|
2135
2153
|
} catch {
|
2136
|
-
throw ce(
|
2154
|
+
throw ce(H.DATA_URL, "Malformed data URL.");
|
2137
2155
|
}
|
2138
|
-
return
|
2156
|
+
return Ot(e);
|
2139
2157
|
}
|
2140
2158
|
function At(t, e) {
|
2141
2159
|
switch (t) {
|
2142
|
-
case
|
2160
|
+
case H.BASE64: {
|
2143
2161
|
const s = e.indexOf("-") !== -1, i = e.indexOf("_") !== -1;
|
2144
2162
|
if (s || i)
|
2145
2163
|
throw ce(t, "Invalid character '" + (s ? "-" : "_") + "' found: is it base64url encoded?");
|
2146
2164
|
break;
|
2147
2165
|
}
|
2148
|
-
case
|
2166
|
+
case H.BASE64URL: {
|
2149
2167
|
const s = e.indexOf("+") !== -1, i = e.indexOf("/") !== -1;
|
2150
2168
|
if (s || i)
|
2151
2169
|
throw ce(t, "Invalid character '" + (s ? "+" : "/") + "' found: is it base64 encoded?");
|
@@ -2155,7 +2173,7 @@ function At(t, e) {
|
|
2155
2173
|
}
|
2156
2174
|
let n;
|
2157
2175
|
try {
|
2158
|
-
n =
|
2176
|
+
n = qr(e);
|
2159
2177
|
} catch (s) {
|
2160
2178
|
throw s.message.includes("polyfill") ? s : ce(t, "Invalid character found");
|
2161
2179
|
}
|
@@ -2169,19 +2187,19 @@ class Dt {
|
|
2169
2187
|
this.base64 = !1, this.contentType = null;
|
2170
2188
|
const n = e.match(/^data:([^,]+)?,/);
|
2171
2189
|
if (n === null)
|
2172
|
-
throw ce(
|
2190
|
+
throw ce(H.DATA_URL, "Must be formatted 'data:[<mediatype>][;base64],<data>");
|
2173
2191
|
const r = n[1] || null;
|
2174
|
-
r != null && (this.base64 =
|
2192
|
+
r != null && (this.base64 = rs(r, ";base64"), this.contentType = this.base64 ? r.substring(0, r.length - 7) : r), this.rest = e.substring(e.indexOf(",") + 1);
|
2175
2193
|
}
|
2176
2194
|
}
|
2177
|
-
function
|
2195
|
+
function ts(t) {
|
2178
2196
|
const e = new Dt(t);
|
2179
|
-
return e.base64 ? At(
|
2197
|
+
return e.base64 ? At(H.BASE64, e.rest) : es(e.rest);
|
2180
2198
|
}
|
2181
|
-
function
|
2199
|
+
function ns(t) {
|
2182
2200
|
return new Dt(t).contentType;
|
2183
2201
|
}
|
2184
|
-
function
|
2202
|
+
function rs(t, e) {
|
2185
2203
|
return t.length >= e.length ? t.substring(t.length - e.length) === e : !1;
|
2186
2204
|
}
|
2187
2205
|
/**
|
@@ -2200,10 +2218,10 @@ function ts(t, e) {
|
|
2200
2218
|
* See the License for the specific language governing permissions and
|
2201
2219
|
* limitations under the License.
|
2202
2220
|
*/
|
2203
|
-
class
|
2221
|
+
class Z {
|
2204
2222
|
constructor(e, n) {
|
2205
2223
|
let r = 0, s = "";
|
2206
|
-
|
2224
|
+
st(e) ? (this.data_ = e, r = e.size, s = e.type) : e instanceof ArrayBuffer ? (n ? this.data_ = new Uint8Array(e) : (this.data_ = new Uint8Array(e.byteLength), this.data_.set(new Uint8Array(e))), r = this.data_.length) : e instanceof Uint8Array && (n ? this.data_ = e : (this.data_ = new Uint8Array(e.length), this.data_.set(e)), r = e.length), this.size_ = r, this.type_ = s;
|
2207
2225
|
}
|
2208
2226
|
size() {
|
2209
2227
|
return this.size_;
|
@@ -2212,20 +2230,20 @@ class z {
|
|
2212
2230
|
return this.type_;
|
2213
2231
|
}
|
2214
2232
|
slice(e, n) {
|
2215
|
-
if (
|
2216
|
-
const r = this.data_, s =
|
2217
|
-
return s === null ? null : new
|
2233
|
+
if (st(this.data_)) {
|
2234
|
+
const r = this.data_, s = Kr(r, e, n);
|
2235
|
+
return s === null ? null : new Z(s);
|
2218
2236
|
} else {
|
2219
2237
|
const r = new Uint8Array(this.data_.buffer, e, n - e);
|
2220
|
-
return new
|
2238
|
+
return new Z(r, !0);
|
2221
2239
|
}
|
2222
2240
|
}
|
2223
2241
|
static getBlob(...e) {
|
2224
|
-
if (
|
2225
|
-
const n = e.map((r) => r instanceof
|
2226
|
-
return new
|
2242
|
+
if (We()) {
|
2243
|
+
const n = e.map((r) => r instanceof Z ? r.data_ : r);
|
2244
|
+
return new Z(Xr.apply(null, n));
|
2227
2245
|
} else {
|
2228
|
-
const n = e.map((o) =>
|
2246
|
+
const n = e.map((o) => Fe(o) ? Qr(H.RAW, o).data : o.data_);
|
2229
2247
|
let r = 0;
|
2230
2248
|
n.forEach((o) => {
|
2231
2249
|
r += o.byteLength;
|
@@ -2235,7 +2253,7 @@ class z {
|
|
2235
2253
|
return n.forEach((o) => {
|
2236
2254
|
for (let a = 0; a < o.length; a++)
|
2237
2255
|
s[i++] = o[a];
|
2238
|
-
}), new
|
2256
|
+
}), new Z(s, !0);
|
2239
2257
|
}
|
2240
2258
|
}
|
2241
2259
|
uploadData() {
|
@@ -2258,14 +2276,14 @@ class z {
|
|
2258
2276
|
* See the License for the specific language governing permissions and
|
2259
2277
|
* limitations under the License.
|
2260
2278
|
*/
|
2261
|
-
function
|
2279
|
+
function kt(t) {
|
2262
2280
|
let e;
|
2263
2281
|
try {
|
2264
2282
|
e = JSON.parse(t);
|
2265
2283
|
} catch {
|
2266
2284
|
return null;
|
2267
2285
|
}
|
2268
|
-
return
|
2286
|
+
return jr(e) ? e : null;
|
2269
2287
|
}
|
2270
2288
|
/**
|
2271
2289
|
* @license
|
@@ -2283,17 +2301,17 @@ function Ot(t) {
|
|
2283
2301
|
* See the License for the specific language governing permissions and
|
2284
2302
|
* limitations under the License.
|
2285
2303
|
*/
|
2286
|
-
function
|
2304
|
+
function ss(t) {
|
2287
2305
|
if (t.length === 0)
|
2288
2306
|
return null;
|
2289
2307
|
const e = t.lastIndexOf("/");
|
2290
2308
|
return e === -1 ? "" : t.slice(0, e);
|
2291
2309
|
}
|
2292
|
-
function
|
2310
|
+
function is(t, e) {
|
2293
2311
|
const n = e.split("/").filter((r) => r.length > 0).join("/");
|
2294
2312
|
return t.length === 0 ? n : t + "/" + n;
|
2295
2313
|
}
|
2296
|
-
function
|
2314
|
+
function Nt(t) {
|
2297
2315
|
const e = t.lastIndexOf("/", t.length - 2);
|
2298
2316
|
return e === -1 ? t : t.slice(e + 1);
|
2299
2317
|
}
|
@@ -2313,25 +2331,25 @@ function kt(t) {
|
|
2313
2331
|
* See the License for the specific language governing permissions and
|
2314
2332
|
* limitations under the License.
|
2315
2333
|
*/
|
2316
|
-
function
|
2334
|
+
function os(t, e) {
|
2317
2335
|
return e;
|
2318
2336
|
}
|
2319
2337
|
class M {
|
2320
2338
|
constructor(e, n, r, s) {
|
2321
|
-
this.server = e, this.local = n || e, this.writable = !!r, this.xform = s ||
|
2339
|
+
this.server = e, this.local = n || e, this.writable = !!r, this.xform = s || os;
|
2322
2340
|
}
|
2323
2341
|
}
|
2324
2342
|
let be = null;
|
2325
|
-
function
|
2326
|
-
return !
|
2343
|
+
function as(t) {
|
2344
|
+
return !Fe(t) || t.length < 2 ? t : Nt(t);
|
2327
2345
|
}
|
2328
|
-
function
|
2346
|
+
function St() {
|
2329
2347
|
if (be)
|
2330
2348
|
return be;
|
2331
2349
|
const t = [];
|
2332
2350
|
t.push(new M("bucket")), t.push(new M("generation")), t.push(new M("metageneration")), t.push(new M("name", "fullPath", !0));
|
2333
2351
|
function e(i, o) {
|
2334
|
-
return
|
2352
|
+
return as(o);
|
2335
2353
|
}
|
2336
2354
|
const n = new M("name");
|
2337
2355
|
n.xform = e, t.push(n);
|
@@ -2341,14 +2359,14 @@ function Nt() {
|
|
2341
2359
|
const s = new M("size");
|
2342
2360
|
return s.xform = r, t.push(s), t.push(new M("timeCreated")), t.push(new M("updated")), t.push(new M("md5Hash", null, !0)), t.push(new M("cacheControl", null, !0)), t.push(new M("contentDisposition", null, !0)), t.push(new M("contentEncoding", null, !0)), t.push(new M("contentLanguage", null, !0)), t.push(new M("contentType", null, !0)), t.push(new M("metadata", "customMetadata", !0)), be = t, be;
|
2343
2361
|
}
|
2344
|
-
function
|
2362
|
+
function cs(t, e) {
|
2345
2363
|
function n() {
|
2346
2364
|
const r = t.bucket, s = t.fullPath, i = new B(r, s);
|
2347
2365
|
return e._makeStorageReference(i);
|
2348
2366
|
}
|
2349
2367
|
Object.defineProperty(t, "ref", { get: n });
|
2350
2368
|
}
|
2351
|
-
function
|
2369
|
+
function us(t, e, n) {
|
2352
2370
|
const r = {};
|
2353
2371
|
r.type = "file";
|
2354
2372
|
const s = n.length;
|
@@ -2356,29 +2374,29 @@ function as(t, e, n) {
|
|
2356
2374
|
const o = n[i];
|
2357
2375
|
r[o.local] = o.xform(r, e[o.server]);
|
2358
2376
|
}
|
2359
|
-
return
|
2377
|
+
return cs(r, t), r;
|
2360
2378
|
}
|
2361
|
-
function
|
2362
|
-
const r =
|
2363
|
-
return r === null ? null :
|
2379
|
+
function Ct(t, e, n) {
|
2380
|
+
const r = kt(e);
|
2381
|
+
return r === null ? null : us(t, r, n);
|
2364
2382
|
}
|
2365
|
-
function
|
2366
|
-
const s =
|
2367
|
-
if (s === null || !
|
2383
|
+
function ls(t, e, n, r) {
|
2384
|
+
const s = kt(e);
|
2385
|
+
if (s === null || !Fe(s.downloadTokens))
|
2368
2386
|
return null;
|
2369
2387
|
const i = s.downloadTokens;
|
2370
2388
|
if (i.length === 0)
|
2371
2389
|
return null;
|
2372
2390
|
const o = encodeURIComponent;
|
2373
2391
|
return i.split(",").map((h) => {
|
2374
|
-
const I = t.bucket, g = t.fullPath,
|
2392
|
+
const I = t.bucket, g = t.fullPath, y = "/b/" + o(I) + "/o/" + o(g), R = ye(y, n, r), A = vt({
|
2375
2393
|
alt: "media",
|
2376
2394
|
token: h
|
2377
2395
|
});
|
2378
|
-
return R +
|
2396
|
+
return R + A;
|
2379
2397
|
})[0];
|
2380
2398
|
}
|
2381
|
-
function
|
2399
|
+
function ds(t, e) {
|
2382
2400
|
const n = {}, r = e.length;
|
2383
2401
|
for (let s = 0; s < r; s++) {
|
2384
2402
|
const i = e[s];
|
@@ -2386,7 +2404,7 @@ function us(t, e) {
|
|
2386
2404
|
}
|
2387
2405
|
return JSON.stringify(n);
|
2388
2406
|
}
|
2389
|
-
class
|
2407
|
+
class Ge {
|
2390
2408
|
constructor(e, n, r, s) {
|
2391
2409
|
this.url = e, this.method = n, this.handler = r, this.timeout = s, this.urlParams = {}, this.headers = {}, this.body = null, this.errorHandler = null, this.progressCallback = null, this.successCodes = [200], this.additionalRetryCodes = [];
|
2392
2410
|
}
|
@@ -2407,58 +2425,58 @@ class We {
|
|
2407
2425
|
* See the License for the specific language governing permissions and
|
2408
2426
|
* limitations under the License.
|
2409
2427
|
*/
|
2410
|
-
function
|
2428
|
+
function Mt(t) {
|
2411
2429
|
if (!t)
|
2412
|
-
throw
|
2430
|
+
throw je();
|
2413
2431
|
}
|
2414
|
-
function
|
2432
|
+
function hs(t, e) {
|
2415
2433
|
function n(r, s) {
|
2416
|
-
const i =
|
2417
|
-
return
|
2434
|
+
const i = Ct(t, s, e);
|
2435
|
+
return Mt(i !== null), i;
|
2418
2436
|
}
|
2419
2437
|
return n;
|
2420
2438
|
}
|
2421
|
-
function
|
2439
|
+
function ps(t, e) {
|
2422
2440
|
function n(r, s) {
|
2423
|
-
const i =
|
2424
|
-
return
|
2441
|
+
const i = Ct(t, s, e);
|
2442
|
+
return Mt(i !== null), ls(i, s, t.host, t._protocol);
|
2425
2443
|
}
|
2426
2444
|
return n;
|
2427
2445
|
}
|
2428
|
-
function
|
2446
|
+
function Ut(t) {
|
2429
2447
|
function e(n, r) {
|
2430
2448
|
let s;
|
2431
|
-
return n.getStatus() === 401 ? /* This exact message string is the only consistent part of the */ /* server's error response that identifies it as an App Check error. */ n.getErrorText().includes("Firebase App Check token is invalid") ? s =
|
2449
|
+
return n.getStatus() === 401 ? /* This exact message string is the only consistent part of the */ /* server's error response that identifies it as an App Check error. */ n.getErrorText().includes("Firebase App Check token is invalid") ? s = Or() : s = vr() : n.getStatus() === 402 ? s = wr(t.bucket) : n.getStatus() === 403 ? s = Ar(t.path) : s = r, s.status = n.getStatus(), s.serverResponse = r.serverResponse, s;
|
2432
2450
|
}
|
2433
2451
|
return e;
|
2434
2452
|
}
|
2435
|
-
function
|
2436
|
-
const e =
|
2453
|
+
function Lt(t) {
|
2454
|
+
const e = Ut(t);
|
2437
2455
|
function n(r, s) {
|
2438
2456
|
let i = e(r, s);
|
2439
|
-
return r.getStatus() === 404 && (i =
|
2457
|
+
return r.getStatus() === 404 && (i = Rr(t.path)), i.serverResponse = s.serverResponse, i;
|
2440
2458
|
}
|
2441
2459
|
return n;
|
2442
2460
|
}
|
2443
|
-
function
|
2444
|
-
const r = e.fullServerUrl(), s =
|
2445
|
-
return a.errorHandler =
|
2461
|
+
function _s(t, e, n) {
|
2462
|
+
const r = e.fullServerUrl(), s = ye(r, t.host, t._protocol), i = "GET", o = t.maxOperationRetryTime, a = new Ge(s, i, ps(t, n), o);
|
2463
|
+
return a.errorHandler = Lt(e), a;
|
2446
2464
|
}
|
2447
|
-
function
|
2448
|
-
const n = e.fullServerUrl(), r =
|
2465
|
+
function fs(t, e) {
|
2466
|
+
const n = e.fullServerUrl(), r = ye(n, t.host, t._protocol), s = "DELETE", i = t.maxOperationRetryTime;
|
2449
2467
|
function o(u, h) {
|
2450
2468
|
}
|
2451
|
-
const a = new
|
2452
|
-
return a.successCodes = [200, 204], a.errorHandler =
|
2469
|
+
const a = new Ge(r, s, o, i);
|
2470
|
+
return a.successCodes = [200, 204], a.errorHandler = Lt(e), a;
|
2453
2471
|
}
|
2454
|
-
function
|
2472
|
+
function ms(t, e) {
|
2455
2473
|
return t && t.contentType || e && e.type() || "application/octet-stream";
|
2456
2474
|
}
|
2457
|
-
function
|
2475
|
+
function gs(t, e, n) {
|
2458
2476
|
const r = Object.assign({}, n);
|
2459
|
-
return r.fullPath = t.path, r.size = e.size(), r.contentType || (r.contentType =
|
2477
|
+
return r.fullPath = t.path, r.size = e.size(), r.contentType || (r.contentType = ms(null, e)), r;
|
2460
2478
|
}
|
2461
|
-
function
|
2479
|
+
function bs(t, e, n, r, s) {
|
2462
2480
|
const i = e.bucketOnlyServerUrl(), o = {
|
2463
2481
|
"X-Goog-Upload-Protocol": "multipart"
|
2464
2482
|
};
|
@@ -2470,21 +2488,21 @@ function ms(t, e, n, r, s) {
|
|
2470
2488
|
}
|
2471
2489
|
const u = a();
|
2472
2490
|
o["Content-Type"] = "multipart/related; boundary=" + u;
|
2473
|
-
const h =
|
2491
|
+
const h = gs(e, r, s), I = ds(h, n), g = "--" + u + `\r
|
2474
2492
|
Content-Type: application/json; charset=utf-8\r
|
2475
2493
|
\r
|
2476
2494
|
` + I + `\r
|
2477
2495
|
--` + u + `\r
|
2478
2496
|
Content-Type: ` + h.contentType + `\r
|
2479
2497
|
\r
|
2480
|
-
`,
|
2481
|
-
--` + u + "--", R =
|
2498
|
+
`, y = `\r
|
2499
|
+
--` + u + "--", R = Z.getBlob(g, r, y);
|
2482
2500
|
if (R === null)
|
2483
|
-
throw
|
2484
|
-
const
|
2485
|
-
return F.urlParams =
|
2501
|
+
throw Mr();
|
2502
|
+
const A = { name: h.fullPath }, j = ye(i, t.host, t._protocol), N = "POST", G = t.maxUploadRetryTime, F = new Ge(j, N, hs(t, n), G);
|
2503
|
+
return F.urlParams = A, F.headers = o, F.body = R.uploadData(), F.errorHandler = Ut(e), F;
|
2486
2504
|
}
|
2487
|
-
class
|
2505
|
+
class Es {
|
2488
2506
|
constructor() {
|
2489
2507
|
this.sent_ = !1, this.xhr_ = new XMLHttpRequest(), this.initXhr(), this.errorCode_ = ee.NO_ERROR, this.sendPromise_ = new Promise((e) => {
|
2490
2508
|
this.xhr_.addEventListener("abort", () => {
|
@@ -2498,7 +2516,7 @@ class gs {
|
|
2498
2516
|
}
|
2499
2517
|
send(e, n, r, s) {
|
2500
2518
|
if (this.sent_)
|
2501
|
-
throw
|
2519
|
+
throw ae("cannot .send() more than once");
|
2502
2520
|
if (this.sent_ = !0, this.xhr_.open(n, e, !0), s !== void 0)
|
2503
2521
|
for (const i in s)
|
2504
2522
|
s.hasOwnProperty(i) && this.xhr_.setRequestHeader(i, s[i].toString());
|
@@ -2506,12 +2524,12 @@ class gs {
|
|
2506
2524
|
}
|
2507
2525
|
getErrorCode() {
|
2508
2526
|
if (!this.sent_)
|
2509
|
-
throw
|
2527
|
+
throw ae("cannot .getErrorCode() before sending");
|
2510
2528
|
return this.errorCode_;
|
2511
2529
|
}
|
2512
2530
|
getStatus() {
|
2513
2531
|
if (!this.sent_)
|
2514
|
-
throw
|
2532
|
+
throw ae("cannot .getStatus() before sending");
|
2515
2533
|
try {
|
2516
2534
|
return this.xhr_.status;
|
2517
2535
|
} catch {
|
@@ -2520,12 +2538,12 @@ class gs {
|
|
2520
2538
|
}
|
2521
2539
|
getResponse() {
|
2522
2540
|
if (!this.sent_)
|
2523
|
-
throw
|
2541
|
+
throw ae("cannot .getResponse() before sending");
|
2524
2542
|
return this.xhr_.response;
|
2525
2543
|
}
|
2526
2544
|
getErrorText() {
|
2527
2545
|
if (!this.sent_)
|
2528
|
-
throw
|
2546
|
+
throw ae("cannot .getErrorText() before sending");
|
2529
2547
|
return this.xhr_.statusText;
|
2530
2548
|
}
|
2531
2549
|
/** Aborts the request. */
|
@@ -2542,13 +2560,13 @@ class gs {
|
|
2542
2560
|
this.xhr_.upload != null && this.xhr_.upload.removeEventListener("progress", e);
|
2543
2561
|
}
|
2544
2562
|
}
|
2545
|
-
class
|
2563
|
+
class Is extends Es {
|
2546
2564
|
initXhr() {
|
2547
2565
|
this.xhr_.responseType = "text";
|
2548
2566
|
}
|
2549
2567
|
}
|
2550
|
-
function
|
2551
|
-
return new
|
2568
|
+
function Ve() {
|
2569
|
+
return new Is();
|
2552
2570
|
}
|
2553
2571
|
/**
|
2554
2572
|
* @license
|
@@ -2605,7 +2623,7 @@ class te {
|
|
2605
2623
|
* For example, if fullPath is 'full/path/image.png', name is 'image.png'.
|
2606
2624
|
*/
|
2607
2625
|
get name() {
|
2608
|
-
return
|
2626
|
+
return Nt(this._location.path);
|
2609
2627
|
}
|
2610
2628
|
/**
|
2611
2629
|
* The `StorageService` instance this `StorageReference` is associated with.
|
@@ -2618,7 +2636,7 @@ class te {
|
|
2618
2636
|
* this reference is the root.
|
2619
2637
|
*/
|
2620
2638
|
get parent() {
|
2621
|
-
const e =
|
2639
|
+
const e = ss(this._location.path);
|
2622
2640
|
if (e === null)
|
2623
2641
|
return null;
|
2624
2642
|
const n = new B(this._location.bucket, e);
|
@@ -2629,33 +2647,33 @@ class te {
|
|
2629
2647
|
*/
|
2630
2648
|
_throwIfRoot(e) {
|
2631
2649
|
if (this._location.path === "")
|
2632
|
-
throw
|
2650
|
+
throw Br(e);
|
2633
2651
|
}
|
2634
2652
|
}
|
2635
|
-
function
|
2653
|
+
function Ts(t, e, n) {
|
2636
2654
|
t._throwIfRoot("uploadBytes");
|
2637
|
-
const r =
|
2638
|
-
return t.storage.makeRequestWithTokens(r,
|
2655
|
+
const r = bs(t.storage, t._location, St(), new Z(e, !0), n);
|
2656
|
+
return t.storage.makeRequestWithTokens(r, Ve).then((s) => ({
|
2639
2657
|
metadata: s,
|
2640
2658
|
ref: t
|
2641
2659
|
}));
|
2642
2660
|
}
|
2643
|
-
function
|
2661
|
+
function ys(t) {
|
2644
2662
|
t._throwIfRoot("getDownloadURL");
|
2645
|
-
const e =
|
2646
|
-
return t.storage.makeRequestWithTokens(e,
|
2663
|
+
const e = _s(t.storage, t._location, St());
|
2664
|
+
return t.storage.makeRequestWithTokens(e, Ve).then((n) => {
|
2647
2665
|
if (n === null)
|
2648
|
-
throw
|
2666
|
+
throw Ur();
|
2649
2667
|
return n;
|
2650
2668
|
});
|
2651
2669
|
}
|
2652
|
-
function
|
2670
|
+
function Rs(t) {
|
2653
2671
|
t._throwIfRoot("deleteObject");
|
2654
|
-
const e =
|
2655
|
-
return t.storage.makeRequestWithTokens(e,
|
2672
|
+
const e = fs(t.storage, t._location);
|
2673
|
+
return t.storage.makeRequestWithTokens(e, Ve);
|
2656
2674
|
}
|
2657
|
-
function
|
2658
|
-
const n =
|
2675
|
+
function ws(t, e) {
|
2676
|
+
const n = is(t._location.path, e), r = new B(t._location.bucket, n);
|
2659
2677
|
return new te(t.storage, r);
|
2660
2678
|
}
|
2661
2679
|
/**
|
@@ -2674,42 +2692,42 @@ function Ts(t, e) {
|
|
2674
2692
|
* See the License for the specific language governing permissions and
|
2675
2693
|
* limitations under the License.
|
2676
2694
|
*/
|
2677
|
-
function
|
2695
|
+
function vs(t) {
|
2678
2696
|
return /^[A-Za-z]+:\/\//.test(t);
|
2679
2697
|
}
|
2680
|
-
function
|
2698
|
+
function Os(t, e) {
|
2681
2699
|
return new te(t, e);
|
2682
2700
|
}
|
2683
|
-
function
|
2684
|
-
if (t instanceof
|
2701
|
+
function Bt(t, e) {
|
2702
|
+
if (t instanceof Ze) {
|
2685
2703
|
const n = t;
|
2686
2704
|
if (n._bucket == null)
|
2687
|
-
throw
|
2705
|
+
throw Cr();
|
2688
2706
|
const r = new te(n, n._bucket);
|
2689
|
-
return e != null ?
|
2707
|
+
return e != null ? Bt(r, e) : r;
|
2690
2708
|
} else
|
2691
|
-
return e !== void 0 ?
|
2709
|
+
return e !== void 0 ? ws(t, e) : t;
|
2692
2710
|
}
|
2693
|
-
function
|
2694
|
-
if (e &&
|
2695
|
-
if (t instanceof
|
2696
|
-
return
|
2697
|
-
throw
|
2711
|
+
function As(t, e) {
|
2712
|
+
if (e && vs(e)) {
|
2713
|
+
if (t instanceof Ze)
|
2714
|
+
return Os(t, e);
|
2715
|
+
throw xe("To use ref(service, url), the first argument must be a Storage instance.");
|
2698
2716
|
} else
|
2699
|
-
return
|
2717
|
+
return Bt(t, e);
|
2700
2718
|
}
|
2701
|
-
function
|
2702
|
-
const n = e == null ? void 0 : e[
|
2719
|
+
function ot(t, e) {
|
2720
|
+
const n = e == null ? void 0 : e[Rt];
|
2703
2721
|
return n == null ? null : B.makeFromBucketSpec(n, t);
|
2704
2722
|
}
|
2705
|
-
function
|
2723
|
+
function Ds(t, e, n, r = {}) {
|
2706
2724
|
t.host = `${e}:${n}`, t._protocol = "http";
|
2707
2725
|
const { mockUserToken: s } = r;
|
2708
|
-
s && (t._overrideAuthToken = typeof s == "string" ? s :
|
2726
|
+
s && (t._overrideAuthToken = typeof s == "string" ? s : tn(s, t.app.options.projectId));
|
2709
2727
|
}
|
2710
|
-
class
|
2728
|
+
class Ze {
|
2711
2729
|
constructor(e, n, r, s, i) {
|
2712
|
-
this.app = e, this._authProvider = n, this._appCheckProvider = r, this._url = s, this._firebaseVersion = i, this._bucket = null, this._host = yt, this._protocol = "https", this._appId = null, this._deleted = !1, this._maxOperationRetryTime =
|
2730
|
+
this.app = e, this._authProvider = n, this._appCheckProvider = r, this._url = s, this._firebaseVersion = i, this._bucket = null, this._host = yt, this._protocol = "https", this._appId = null, this._deleted = !1, this._maxOperationRetryTime = Tr, this._maxUploadRetryTime = yr, this._requests = /* @__PURE__ */ new Set(), s != null ? this._bucket = B.makeFromBucketSpec(s, this._host) : this._bucket = ot(this._host, this.app.options);
|
2713
2731
|
}
|
2714
2732
|
/**
|
2715
2733
|
* The host string for this service, in the form of `host` or
|
@@ -2719,7 +2737,7 @@ class Ve {
|
|
2719
2737
|
return this._host;
|
2720
2738
|
}
|
2721
2739
|
set host(e) {
|
2722
|
-
this._host = e, this._url != null ? this._bucket = B.makeFromBucketSpec(this._url, e) : this._bucket =
|
2740
|
+
this._host = e, this._url != null ? this._bucket = B.makeFromBucketSpec(this._url, e) : this._bucket = ot(e, this.app.options);
|
2723
2741
|
}
|
2724
2742
|
/**
|
2725
2743
|
* The maximum time to retry uploads in milliseconds.
|
@@ -2728,7 +2746,7 @@ class Ve {
|
|
2728
2746
|
return this._maxUploadRetryTime;
|
2729
2747
|
}
|
2730
2748
|
set maxUploadRetryTime(e) {
|
2731
|
-
|
2749
|
+
it(
|
2732
2750
|
"time",
|
2733
2751
|
/* minValue=*/
|
2734
2752
|
0,
|
@@ -2745,7 +2763,7 @@ class Ve {
|
|
2745
2763
|
return this._maxOperationRetryTime;
|
2746
2764
|
}
|
2747
2765
|
set maxOperationRetryTime(e) {
|
2748
|
-
|
2766
|
+
it(
|
2749
2767
|
"time",
|
2750
2768
|
/* minValue=*/
|
2751
2769
|
0,
|
@@ -2788,9 +2806,9 @@ class Ve {
|
|
2788
2806
|
*/
|
2789
2807
|
_makeRequest(e, n, r, s, i = !0) {
|
2790
2808
|
if (this._deleted)
|
2791
|
-
return new
|
2809
|
+
return new Pr(wt());
|
2792
2810
|
{
|
2793
|
-
const o =
|
2811
|
+
const o = Jr(e, this._appId, r, s, n, this._firebaseVersion, i);
|
2794
2812
|
return this._requests.add(o), o.getPromise().then(() => this._requests.delete(o), () => this._requests.delete(o)), o;
|
2795
2813
|
}
|
2796
2814
|
}
|
@@ -2802,7 +2820,7 @@ class Ve {
|
|
2802
2820
|
return this._makeRequest(e, n, r, s).getPromise();
|
2803
2821
|
}
|
2804
2822
|
}
|
2805
|
-
const
|
2823
|
+
const at = "@firebase/storage", ct = "0.13.2";
|
2806
2824
|
/**
|
2807
2825
|
* @license
|
2808
2826
|
* Copyright 2020 Google LLC
|
@@ -2819,58 +2837,58 @@ const ot = "@firebase/storage", at = "0.13.2";
|
|
2819
2837
|
* See the License for the specific language governing permissions and
|
2820
2838
|
* limitations under the License.
|
2821
2839
|
*/
|
2822
|
-
const
|
2823
|
-
function
|
2824
|
-
return t = he(t),
|
2825
|
-
}
|
2826
|
-
function Os(t) {
|
2827
|
-
return t = he(t), Is(t);
|
2840
|
+
const Pt = "storage";
|
2841
|
+
function ks(t, e, n) {
|
2842
|
+
return t = he(t), Ts(t, e, n);
|
2828
2843
|
}
|
2829
|
-
function
|
2844
|
+
function Ns(t) {
|
2830
2845
|
return t = he(t), ys(t);
|
2831
2846
|
}
|
2832
|
-
function
|
2833
|
-
return t = he(t),
|
2847
|
+
function Ss(t) {
|
2848
|
+
return t = he(t), Rs(t);
|
2849
|
+
}
|
2850
|
+
function ut(t, e) {
|
2851
|
+
return t = he(t), As(t, e);
|
2834
2852
|
}
|
2835
|
-
function
|
2853
|
+
function lt(t = Pe(), e) {
|
2836
2854
|
t = he(t);
|
2837
|
-
const r =
|
2855
|
+
const r = ir(t, Pt).getImmediate({
|
2838
2856
|
identifier: e
|
2839
2857
|
}), s = Qt("storage");
|
2840
|
-
return s &&
|
2858
|
+
return s && Cs(r, ...s), r;
|
2841
2859
|
}
|
2842
|
-
function
|
2843
|
-
|
2860
|
+
function Cs(t, e, n, r = {}) {
|
2861
|
+
Ds(t, e, n, r);
|
2844
2862
|
}
|
2845
|
-
function
|
2863
|
+
function Ms(t, { instanceIdentifier: e }) {
|
2846
2864
|
const n = t.getProvider("app").getImmediate(), r = t.getProvider("auth-internal"), s = t.getProvider("app-check-internal");
|
2847
|
-
return new
|
2865
|
+
return new Ze(n, r, s, e, cr);
|
2848
2866
|
}
|
2849
|
-
function
|
2850
|
-
|
2851
|
-
|
2852
|
-
|
2867
|
+
function Us() {
|
2868
|
+
Te(new ue(
|
2869
|
+
Pt,
|
2870
|
+
Ms,
|
2853
2871
|
"PUBLIC"
|
2854
2872
|
/* ComponentType.PUBLIC */
|
2855
|
-
).setMultipleInstances(!0)),
|
2873
|
+
).setMultipleInstances(!0)), re(at, ct, ""), re(at, ct, "esm2017");
|
2856
2874
|
}
|
2857
|
-
|
2875
|
+
Us();
|
2858
2876
|
const de = {
|
2859
2877
|
async update(t, e, n) {
|
2860
|
-
const r =
|
2861
|
-
return await
|
2878
|
+
const r = lt(Pe(), n), s = ut(r, t);
|
2879
|
+
return await ks(s, e), Ns(s);
|
2862
2880
|
},
|
2863
2881
|
async delete(t, e) {
|
2864
|
-
const n =
|
2865
|
-
await
|
2882
|
+
const n = lt(Pe(), e), r = ut(n, t);
|
2883
|
+
await Ss(r);
|
2866
2884
|
}
|
2867
2885
|
};
|
2868
|
-
var
|
2886
|
+
var xt = { exports: {} };
|
2869
2887
|
(function(t, e) {
|
2870
2888
|
(function(n, r) {
|
2871
2889
|
t.exports = r();
|
2872
|
-
})(
|
2873
|
-
var n = 1e3, r = 6e4, s = 36e5, i = "millisecond", o = "second", a = "minute", u = "hour", h = "day", I = "week", g = "month",
|
2890
|
+
})(jt, function() {
|
2891
|
+
var n = 1e3, r = 6e4, s = 36e5, i = "millisecond", o = "second", a = "minute", u = "hour", h = "day", I = "week", g = "month", y = "quarter", R = "year", A = "date", j = "Invalid Date", N = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
|
2874
2892
|
var d = ["th", "st", "nd", "rd"], c = _ % 100;
|
2875
2893
|
return "[" + _ + (d[(c - 20) % 10] || d[c] || d[0]) + "]";
|
2876
2894
|
} }, U = function(_, d, c) {
|
@@ -2886,16 +2904,16 @@ var Pt = { exports: {} };
|
|
2886
2904
|
}, a: function(_) {
|
2887
2905
|
return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
|
2888
2906
|
}, p: function(_) {
|
2889
|
-
return { M: g, y: R, w: I, d: h, D, h: u, m: a, s: o, ms: i, Q:
|
2907
|
+
return { M: g, y: R, w: I, d: h, D: A, h: u, m: a, s: o, ms: i, Q: y }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
|
2890
2908
|
}, u: function(_) {
|
2891
2909
|
return _ === void 0;
|
2892
|
-
} },
|
2893
|
-
x[
|
2894
|
-
var pe = "$isDayjsObject",
|
2910
|
+
} }, $ = "en", x = {};
|
2911
|
+
x[$] = F;
|
2912
|
+
var pe = "$isDayjsObject", X = function(_) {
|
2895
2913
|
return _ instanceof fe || !(!_ || !_[pe]);
|
2896
2914
|
}, _e = function _(d, c, p) {
|
2897
2915
|
var l;
|
2898
|
-
if (!d) return
|
2916
|
+
if (!d) return $;
|
2899
2917
|
if (typeof d == "string") {
|
2900
2918
|
var f = d.toLowerCase();
|
2901
2919
|
x[f] && (l = f), c && (x[f] = c, l = f);
|
@@ -2905,14 +2923,14 @@ var Pt = { exports: {} };
|
|
2905
2923
|
var E = d.name;
|
2906
2924
|
x[E] = d, l = E;
|
2907
2925
|
}
|
2908
|
-
return !p && l && (
|
2909
|
-
},
|
2910
|
-
if (
|
2926
|
+
return !p && l && ($ = l), l || !p && $;
|
2927
|
+
}, D = function(_, d) {
|
2928
|
+
if (X(_)) return _.clone();
|
2911
2929
|
var c = typeof d == "object" ? d : {};
|
2912
2930
|
return c.date = _, c.args = arguments, new fe(c);
|
2913
2931
|
}, b = S;
|
2914
|
-
b.l = _e, b.i =
|
2915
|
-
return
|
2932
|
+
b.l = _e, b.i = X, b.w = function(_, d) {
|
2933
|
+
return D(_, { locale: d.$L, utc: d.$u, x: d.$x, $offset: d.$offset });
|
2916
2934
|
};
|
2917
2935
|
var fe = function() {
|
2918
2936
|
function _(c) {
|
@@ -2928,8 +2946,8 @@ var Pt = { exports: {} };
|
|
2928
2946
|
if (typeof l == "string" && !/Z$/i.test(l)) {
|
2929
2947
|
var m = l.match(N);
|
2930
2948
|
if (m) {
|
2931
|
-
var E = m[2] - 1 || 0,
|
2932
|
-
return f ? new Date(Date.UTC(m[1], E, m[3] || 1, m[4] || 0, m[5] || 0, m[6] || 0,
|
2949
|
+
var E = m[2] - 1 || 0, O = (m[7] || "0").substring(0, 3);
|
2950
|
+
return f ? new Date(Date.UTC(m[1], E, m[3] || 1, m[4] || 0, m[5] || 0, m[6] || 0, O)) : new Date(m[1], E, m[3] || 1, m[4] || 0, m[5] || 0, m[6] || 0, O);
|
2933
2951
|
}
|
2934
2952
|
}
|
2935
2953
|
return new Date(l);
|
@@ -2942,12 +2960,12 @@ var Pt = { exports: {} };
|
|
2942
2960
|
}, d.isValid = function() {
|
2943
2961
|
return this.$d.toString() !== j;
|
2944
2962
|
}, d.isSame = function(c, p) {
|
2945
|
-
var l =
|
2963
|
+
var l = D(c);
|
2946
2964
|
return this.startOf(p) <= l && l <= this.endOf(p);
|
2947
2965
|
}, d.isAfter = function(c, p) {
|
2948
|
-
return
|
2966
|
+
return D(c) < this.startOf(p);
|
2949
2967
|
}, d.isBefore = function(c, p) {
|
2950
|
-
return this.endOf(p) <
|
2968
|
+
return this.endOf(p) < D(c);
|
2951
2969
|
}, d.$g = function(c, p, l) {
|
2952
2970
|
return b.u(c) ? this[p] : this.set(l, c);
|
2953
2971
|
}, d.unix = function() {
|
@@ -2955,11 +2973,11 @@ var Pt = { exports: {} };
|
|
2955
2973
|
}, d.valueOf = function() {
|
2956
2974
|
return this.$d.getTime();
|
2957
2975
|
}, d.startOf = function(c, p) {
|
2958
|
-
var l = this, f = !!b.u(p) || p, m = b.p(c), E = function(
|
2959
|
-
var V = b.w(l.$u ? Date.UTC(l.$y, L,
|
2976
|
+
var l = this, f = !!b.u(p) || p, m = b.p(c), E = function(q, L) {
|
2977
|
+
var V = b.w(l.$u ? Date.UTC(l.$y, L, q) : new Date(l.$y, L, q), l);
|
2960
2978
|
return f ? V : V.endOf(h);
|
2961
|
-
},
|
2962
|
-
return b.w(l.toDate()[
|
2979
|
+
}, O = function(q, L) {
|
2980
|
+
return b.w(l.toDate()[q].apply(l.toDate("s"), (f ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(L)), l);
|
2963
2981
|
}, k = this.$W, C = this.$M, P = this.$D, ne = "set" + (this.$u ? "UTC" : "");
|
2964
2982
|
switch (m) {
|
2965
2983
|
case R:
|
@@ -2967,28 +2985,28 @@ var Pt = { exports: {} };
|
|
2967
2985
|
case g:
|
2968
2986
|
return f ? E(1, C) : E(0, C + 1);
|
2969
2987
|
case I:
|
2970
|
-
var K = this.$locale().weekStart || 0,
|
2971
|
-
return E(f ? P -
|
2988
|
+
var K = this.$locale().weekStart || 0, ie = (k < K ? k + 7 : k) - K;
|
2989
|
+
return E(f ? P - ie : P + (6 - ie), C);
|
2972
2990
|
case h:
|
2973
|
-
case
|
2974
|
-
return
|
2991
|
+
case A:
|
2992
|
+
return O(ne + "Hours", 0);
|
2975
2993
|
case u:
|
2976
|
-
return
|
2994
|
+
return O(ne + "Minutes", 1);
|
2977
2995
|
case a:
|
2978
|
-
return
|
2996
|
+
return O(ne + "Seconds", 2);
|
2979
2997
|
case o:
|
2980
|
-
return
|
2998
|
+
return O(ne + "Milliseconds", 3);
|
2981
2999
|
default:
|
2982
3000
|
return this.clone();
|
2983
3001
|
}
|
2984
3002
|
}, d.endOf = function(c) {
|
2985
3003
|
return this.startOf(c, !1);
|
2986
3004
|
}, d.$set = function(c, p) {
|
2987
|
-
var l, f = b.p(c), m = "set" + (this.$u ? "UTC" : ""), E = (l = {}, l[h] = m + "Date", l[
|
3005
|
+
var l, f = b.p(c), m = "set" + (this.$u ? "UTC" : ""), E = (l = {}, l[h] = m + "Date", l[A] = m + "Date", l[g] = m + "Month", l[R] = m + "FullYear", l[u] = m + "Hours", l[a] = m + "Minutes", l[o] = m + "Seconds", l[i] = m + "Milliseconds", l)[f], O = f === h ? this.$D + (p - this.$W) : p;
|
2988
3006
|
if (f === g || f === R) {
|
2989
|
-
var k = this.clone().set(
|
2990
|
-
k.$d[E](
|
2991
|
-
} else E && this.$d[E](
|
3007
|
+
var k = this.clone().set(A, 1);
|
3008
|
+
k.$d[E](O), k.init(), this.$d = k.set(A, Math.min(this.$D, k.daysInMonth())).$d;
|
3009
|
+
} else E && this.$d[E](O);
|
2992
3010
|
return this.init(), this;
|
2993
3011
|
}, d.set = function(c, p) {
|
2994
3012
|
return this.clone().$set(c, p);
|
@@ -2998,31 +3016,31 @@ var Pt = { exports: {} };
|
|
2998
3016
|
var l, f = this;
|
2999
3017
|
c = Number(c);
|
3000
3018
|
var m = b.p(p), E = function(C) {
|
3001
|
-
var P =
|
3019
|
+
var P = D(f);
|
3002
3020
|
return b.w(P.date(P.date() + Math.round(C * c)), f);
|
3003
3021
|
};
|
3004
3022
|
if (m === g) return this.set(g, this.$M + c);
|
3005
3023
|
if (m === R) return this.set(R, this.$y + c);
|
3006
3024
|
if (m === h) return E(1);
|
3007
3025
|
if (m === I) return E(7);
|
3008
|
-
var
|
3026
|
+
var O = (l = {}, l[a] = r, l[u] = s, l[o] = n, l)[m] || 1, k = this.$d.getTime() + c * O;
|
3009
3027
|
return b.w(k, this);
|
3010
3028
|
}, d.subtract = function(c, p) {
|
3011
3029
|
return this.add(-1 * c, p);
|
3012
3030
|
}, d.format = function(c) {
|
3013
3031
|
var p = this, l = this.$locale();
|
3014
3032
|
if (!this.isValid()) return l.invalidDate || j;
|
3015
|
-
var f = c || "YYYY-MM-DDTHH:mm:ssZ", m = b.z(this), E = this.$H,
|
3016
|
-
return L && (L[V] || L(p, f)) ||
|
3017
|
-
},
|
3033
|
+
var f = c || "YYYY-MM-DDTHH:mm:ssZ", m = b.z(this), E = this.$H, O = this.$m, k = this.$M, C = l.weekdays, P = l.months, ne = l.meridiem, K = function(L, V, oe, me) {
|
3034
|
+
return L && (L[V] || L(p, f)) || oe[V].slice(0, me);
|
3035
|
+
}, ie = function(L) {
|
3018
3036
|
return b.s(E % 12 || 12, L, "0");
|
3019
|
-
},
|
3037
|
+
}, q = ne || function(L, V, oe) {
|
3020
3038
|
var me = L < 12 ? "AM" : "PM";
|
3021
|
-
return
|
3039
|
+
return oe ? me.toLowerCase() : me;
|
3022
3040
|
};
|
3023
3041
|
return f.replace(G, function(L, V) {
|
3024
|
-
return V || function(
|
3025
|
-
switch (
|
3042
|
+
return V || function(oe) {
|
3043
|
+
switch (oe) {
|
3026
3044
|
case "YY":
|
3027
3045
|
return String(p.$y).slice(-2);
|
3028
3046
|
case "YYYY":
|
@@ -3052,17 +3070,17 @@ var Pt = { exports: {} };
|
|
3052
3070
|
case "HH":
|
3053
3071
|
return b.s(E, 2, "0");
|
3054
3072
|
case "h":
|
3055
|
-
return
|
3073
|
+
return ie(1);
|
3056
3074
|
case "hh":
|
3057
|
-
return
|
3075
|
+
return ie(2);
|
3058
3076
|
case "a":
|
3059
|
-
return
|
3077
|
+
return q(E, O, !0);
|
3060
3078
|
case "A":
|
3061
|
-
return
|
3079
|
+
return q(E, O, !1);
|
3062
3080
|
case "m":
|
3063
|
-
return String(
|
3081
|
+
return String(O);
|
3064
3082
|
case "mm":
|
3065
|
-
return b.s(
|
3083
|
+
return b.s(O, 2, "0");
|
3066
3084
|
case "s":
|
3067
3085
|
return String(p.$s);
|
3068
3086
|
case "ss":
|
@@ -3078,8 +3096,8 @@ var Pt = { exports: {} };
|
|
3078
3096
|
}, d.utcOffset = function() {
|
3079
3097
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
3080
3098
|
}, d.diff = function(c, p, l) {
|
3081
|
-
var f, m = this, E = b.p(p),
|
3082
|
-
return b.m(m,
|
3099
|
+
var f, m = this, E = b.p(p), O = D(c), k = (O.utcOffset() - this.utcOffset()) * r, C = this - O, P = function() {
|
3100
|
+
return b.m(m, O);
|
3083
3101
|
};
|
3084
3102
|
switch (E) {
|
3085
3103
|
case R:
|
@@ -3088,7 +3106,7 @@ var Pt = { exports: {} };
|
|
3088
3106
|
case g:
|
3089
3107
|
f = P();
|
3090
3108
|
break;
|
3091
|
-
case
|
3109
|
+
case y:
|
3092
3110
|
f = P() / 3;
|
3093
3111
|
break;
|
3094
3112
|
case I:
|
@@ -3130,72 +3148,72 @@ var Pt = { exports: {} };
|
|
3130
3148
|
return this.$d.toUTCString();
|
3131
3149
|
}, _;
|
3132
3150
|
}(), ze = fe.prototype;
|
3133
|
-
return
|
3151
|
+
return D.prototype = ze, [["$ms", i], ["$s", o], ["$m", a], ["$H", u], ["$W", h], ["$M", g], ["$y", R], ["$D", A]].forEach(function(_) {
|
3134
3152
|
ze[_[1]] = function(d) {
|
3135
3153
|
return this.$g(d, _[0], _[1]);
|
3136
3154
|
};
|
3137
|
-
}),
|
3138
|
-
return _.$i || (_(d, fe,
|
3139
|
-
},
|
3140
|
-
return
|
3141
|
-
},
|
3155
|
+
}), D.extend = function(_, d) {
|
3156
|
+
return _.$i || (_(d, fe, D), _.$i = !0), D;
|
3157
|
+
}, D.locale = _e, D.isDayjs = X, D.unix = function(_) {
|
3158
|
+
return D(1e3 * _);
|
3159
|
+
}, D.en = x[$], D.Ls = x, D.p = {}, D;
|
3142
3160
|
});
|
3143
|
-
})(
|
3144
|
-
var
|
3145
|
-
const
|
3146
|
-
var
|
3147
|
-
return
|
3161
|
+
})(xt);
|
3162
|
+
var Ls = xt.exports;
|
3163
|
+
const Bs = /* @__PURE__ */ Ft(Ls);
|
3164
|
+
var $e = function() {
|
3165
|
+
return $e = Object.assign || function(e) {
|
3148
3166
|
for (var n, r = 1, s = arguments.length; r < s; r++) {
|
3149
3167
|
n = arguments[r];
|
3150
3168
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (e[i] = n[i]);
|
3151
3169
|
}
|
3152
3170
|
return e;
|
3153
|
-
},
|
3171
|
+
}, $e.apply(this, arguments);
|
3154
3172
|
};
|
3155
|
-
function
|
3173
|
+
function Ps(t) {
|
3156
3174
|
return t.toLowerCase();
|
3157
3175
|
}
|
3158
|
-
var
|
3159
|
-
function
|
3176
|
+
var xs = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g], $s = /[^A-Z0-9]+/gi;
|
3177
|
+
function Hs(t, e) {
|
3160
3178
|
e === void 0 && (e = {});
|
3161
|
-
for (var n = e.splitRegexp, r = n === void 0 ?
|
3179
|
+
for (var n = e.splitRegexp, r = n === void 0 ? xs : n, s = e.stripRegexp, i = s === void 0 ? $s : s, o = e.transform, a = o === void 0 ? Ps : o, u = e.delimiter, h = u === void 0 ? " " : u, I = dt(dt(t, r, "$1\0$2"), i, "\0"), g = 0, y = I.length; I.charAt(g) === "\0"; )
|
3162
3180
|
g++;
|
3163
|
-
for (; I.charAt(
|
3164
|
-
|
3165
|
-
return I.slice(g,
|
3181
|
+
for (; I.charAt(y - 1) === "\0"; )
|
3182
|
+
y--;
|
3183
|
+
return I.slice(g, y).split("\0").map(a).join(h);
|
3166
3184
|
}
|
3167
|
-
function
|
3185
|
+
function dt(t, e, n) {
|
3168
3186
|
return e instanceof RegExp ? t.replace(e, n) : e.reduce(function(r, s) {
|
3169
3187
|
return r.replace(s, n);
|
3170
3188
|
}, t);
|
3171
3189
|
}
|
3172
|
-
function
|
3190
|
+
function js(t) {
|
3173
3191
|
return t.charAt(0).toUpperCase() + t.substr(1);
|
3174
3192
|
}
|
3175
|
-
function
|
3193
|
+
function Fs(t, e) {
|
3176
3194
|
var n = t.toLowerCase();
|
3177
|
-
return e === 0 ?
|
3195
|
+
return e === 0 ? js(n) : n;
|
3178
3196
|
}
|
3179
3197
|
function Re(t, e) {
|
3180
|
-
return e === void 0 && (e = {}),
|
3198
|
+
return e === void 0 && (e = {}), Hs(t, $e({ delimiter: " ", transform: Fs }, e));
|
3181
3199
|
}
|
3182
|
-
function
|
3200
|
+
function Ws(t, e = []) {
|
3183
3201
|
const n = JSON.parse(JSON.stringify(t));
|
3184
3202
|
return e.length > 0 && e.forEach((r) => {
|
3185
3203
|
n[r] !== void 0 && delete n[r];
|
3186
3204
|
}), n;
|
3187
3205
|
}
|
3188
|
-
function
|
3206
|
+
function Gs(t, e) {
|
3189
3207
|
var r, s, i, o;
|
3190
|
-
const n = e ?
|
3208
|
+
const n = e ? Ws(e) : void 0;
|
3191
3209
|
return {
|
3192
3210
|
_id: (n == null ? void 0 : n._id) ?? "",
|
3193
3211
|
notifyUrl: (n == null ? void 0 : n.notifyUrl) ?? "",
|
3194
3212
|
store: {
|
3195
3213
|
id: (n == null ? void 0 : n.store.id) ?? "",
|
3196
|
-
event: (n == null ? void 0 : n.store.event) ??
|
3214
|
+
event: (n == null ? void 0 : n.store.event) ?? Y.F_PAYOUT_FOR.Enum.ORDERING,
|
3197
3215
|
bank: {
|
3198
|
-
name: ((r = n == null ? void 0 : n.store.bank) == null ? void 0 : r.name) ??
|
3216
|
+
name: ((r = n == null ? void 0 : n.store.bank) == null ? void 0 : r.name) ?? $t[0].value,
|
3199
3217
|
type: ((s = n == null ? void 0 : n.store.bank) == null ? void 0 : s.type) ?? Ht[0].value,
|
3200
3218
|
holderName: ((i = n == null ? void 0 : n.store.bank) == null ? void 0 : i.holderName) ?? "",
|
3201
3219
|
accountNumber: ((o = n == null ? void 0 : n.store.bank) == null ? void 0 : o.accountNumber) ?? ""
|
@@ -3211,13 +3229,13 @@ function Fs(t, e) {
|
|
3211
3229
|
},
|
3212
3230
|
enable: (n == null ? void 0 : n.enable) ?? !1,
|
3213
3231
|
methods: (n == null ? void 0 : n.methods) ?? [],
|
3214
|
-
status: (n == null ? void 0 : n.status) ??
|
3232
|
+
status: (n == null ? void 0 : n.status) ?? Y.F_PAYOUT_ACCOUNT_STATUS.Enum.NEW,
|
3215
3233
|
businessId: t
|
3216
3234
|
};
|
3217
3235
|
}
|
3218
|
-
function
|
3236
|
+
function Vs(t) {
|
3219
3237
|
return t.reduce(
|
3220
|
-
(e, n) => ([
|
3238
|
+
(e, n) => ([Y.F_PAYOUT_ACCOUNT_STATUS.Enum.NEW].some((r) => r == n.status) ? e.NEW.push({
|
3221
3239
|
...n
|
3222
3240
|
}) : e.EXISTED.push({
|
3223
3241
|
...n
|
@@ -3231,8 +3249,8 @@ function Ws(t) {
|
|
3231
3249
|
async function Ne(t) {
|
3232
3250
|
await de.delete(t);
|
3233
3251
|
}
|
3234
|
-
async function
|
3235
|
-
const r =
|
3252
|
+
async function ht(t, e, n) {
|
3253
|
+
const r = Bs().toISOString();
|
3236
3254
|
if (t.restaurantId)
|
3237
3255
|
return await de.update(
|
3238
3256
|
`restaurant/${t.restaurantId}/documents/${e}/${r}.pdf`,
|
@@ -3245,7 +3263,7 @@ async function dt(t, e, n) {
|
|
3245
3263
|
);
|
3246
3264
|
throw "Not implemented";
|
3247
3265
|
}
|
3248
|
-
async function
|
3266
|
+
async function Zs(t, e) {
|
3249
3267
|
if (t.restaurantId)
|
3250
3268
|
return await de.update(
|
3251
3269
|
`restaurant/${t.restaurantId}/exterior/photo`,
|
@@ -3258,18 +3276,18 @@ async function Gs(t, e) {
|
|
3258
3276
|
);
|
3259
3277
|
throw "Not implemented";
|
3260
3278
|
}
|
3261
|
-
async function
|
3279
|
+
async function zs(t, e, n) {
|
3262
3280
|
e.store.ssm && n.newSSM && await Ne(e.store.ssm), e.store.bankStatement && n.newBankStatement && await Ne(e.store.bankStatement), e.store.exteriorPhoto && n.newExteriorPhoto && await Ne(e.store.exteriorPhoto);
|
3263
3281
|
let r = e.store.ssm || "";
|
3264
|
-
n.newSSM && (r = await
|
3282
|
+
n.newSSM && (r = await ht(t, "ssm", n.newSSM));
|
3265
3283
|
let s = e.store.bankStatement || "";
|
3266
|
-
n.newBankStatement && (s = await
|
3284
|
+
n.newBankStatement && (s = await ht(
|
3267
3285
|
t,
|
3268
3286
|
"bankStatement",
|
3269
3287
|
n.newBankStatement
|
3270
3288
|
));
|
3271
3289
|
let i = e.store.exteriorPhoto || "";
|
3272
|
-
return n.newExteriorPhoto && (i = await
|
3290
|
+
return n.newExteriorPhoto && (i = await Zs(
|
3273
3291
|
t,
|
3274
3292
|
n.newExteriorPhoto
|
3275
3293
|
)), {
|
@@ -3284,34 +3302,34 @@ async function Vs(t, e, n) {
|
|
3284
3302
|
exteriorPhoto: i,
|
3285
3303
|
event: n.payoutSetting.store.event
|
3286
3304
|
},
|
3287
|
-
status:
|
3288
|
-
notifyUrl: n.payoutSetting.store.event ===
|
3305
|
+
status: Y.F_PAYOUT_ACCOUNT_STATUS.Enum.PENDING,
|
3306
|
+
notifyUrl: n.payoutSetting.store.event === Y.F_PAYOUT_FOR.Enum.MARKETING ? "http://marketing-api-service:3000/customer/callback/store" : "http://order-backend:3000/backend/payment"
|
3289
3307
|
};
|
3290
3308
|
}
|
3291
|
-
const
|
3309
|
+
const $t = Object.values(Wt.F_BANK_NAME).map((t) => ({
|
3292
3310
|
label: Re(t),
|
3293
3311
|
value: t
|
3294
|
-
})), Ht = Object.values(
|
3312
|
+
})), Ht = Object.values(Y.F_BANK_TYPE.Values).map((t) => ({
|
3295
3313
|
label: Re(t),
|
3296
3314
|
value: t
|
3297
|
-
})),
|
3315
|
+
})), Js = Object.values(Y.F_PAYOUT_FOR.Values).map((t) => ({
|
3298
3316
|
label: Re(t),
|
3299
3317
|
value: t
|
3300
|
-
})),
|
3318
|
+
})), Ys = Object.values(Y.F_PAYOUT_ACCOUNT_STATUS.Values).map(
|
3301
3319
|
(t) => ({
|
3302
3320
|
label: Re(t),
|
3303
3321
|
value: t
|
3304
3322
|
})
|
3305
|
-
),
|
3306
|
-
mergeData:
|
3307
|
-
initPayoutAccount:
|
3308
|
-
groupByStatus:
|
3323
|
+
), Ks = {
|
3324
|
+
mergeData: zs,
|
3325
|
+
initPayoutAccount: Gs,
|
3326
|
+
groupByStatus: Vs,
|
3309
3327
|
bankTypeOptions: Ht,
|
3310
|
-
bankNameOptions:
|
3311
|
-
storeEventOptions:
|
3312
|
-
statusOptions:
|
3328
|
+
bankNameOptions: $t,
|
3329
|
+
storeEventOptions: Js,
|
3330
|
+
statusOptions: Ys
|
3313
3331
|
};
|
3314
3332
|
export {
|
3315
|
-
|
3316
|
-
|
3333
|
+
Ks as P,
|
3334
|
+
Ws as c
|
3317
3335
|
};
|