{"version":3,"sources":["webpack:///./node_modules/@capgo/capacitor-updater/dist/esm/web.js"],"names":["BUNDLE_BUILTIN","status","version","downloaded","id","checksum","CapacitorUpdaterWeb","options","console","warn","enabled","deviceId","bundles","bundle","native","message","error","delayConditions","option"],"mappings":"kHAAA,2EAMA,MAAMA,EAAiB,CACnBC,OAAQ,UACRC,QAAS,GACTC,WAAY,2BACZC,GAAI,UACJC,SAAU,IAEP,MAAMC,UAA4B,OACrC,eAAeC,GAEX,OADAC,QAAQC,KAAK,iCAAkCF,GACxCP,EAEX,WAAWO,GAEP,OADAC,QAAQC,KAAK,iCAAkCF,GACxCP,EAEX,4BAEI,OADAQ,QAAQC,KAAK,yCACN,CAAEC,SAAS,GAEtB,UAAUH,GACNC,QAAQC,KAAK,kCAAmCF,GAGpD,oBAEI,OADAC,QAAQC,KAAK,wBACN,CAAEE,SAAU,WAEvB,0BAEI,OADAH,QAAQC,KAAK,6BACN,CAAEP,QAAS,WAEtB,yBAEI,OADAM,QAAQC,KAAK,oCACN,CAAEP,QAAS,WAEtB,aAAaK,GACTC,QAAQC,KAAK,8BAA+BF,GAEhD,aAEI,OADAC,QAAQC,KAAK,8BACN,CAAEG,QAAS,IAEtB,YAAYL,GACRC,QAAQC,KAAK,8BAA+BF,GAEhD,gBAEI,OADAC,QAAQC,KAAK,oCACN,CAAEI,OAAQb,EAAgBc,OAAQ,SAE7C,eACIN,QAAQC,KAAK,uCAGjB,kBAEI,OADAD,QAAQC,KAAK,0CACN,CACHP,QAAS,QACTa,QAAS,0CAGjB,iBAAiBR,GAEb,OADAC,QAAQC,KAAK,2BAA4BF,GAClC,CACHN,OAAQ,QACRe,MAAO,4BAGf,kBAAkBT,GACdC,QAAQC,KAAK,4BAA6BF,GAG9C,mBAEI,OADAC,QAAQC,KAAK,4BACN,CACHR,OAAQ,QACRe,MAAO,4BAGf,uBAEI,OADAR,QAAQC,KAAK,kCACN,CAAEI,OAAQb,GAErB,oBAAoBO,GAChBC,QAAQC,KAAK,8BAA2C,OAAZF,QAAgC,IAAZA,OAAqB,EAASA,EAAQU,iBAG1G,eAAeC,GACXV,QAAQC,KAAK,yBAA0BS,GAG3C,oBACIV,QAAQC,KAAK","file":"js/chunk-2d0d7104.8abb2cc1.js","sourcesContent":["/*\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at https://mozilla.org/MPL/2.0/.\n */\nimport { WebPlugin } from \"@capacitor/core\";\nconst BUNDLE_BUILTIN = {\n status: \"success\",\n version: \"\",\n downloaded: \"1970-01-01T00:00:00.000Z\",\n id: \"builtin\",\n checksum: \"\",\n};\nexport class CapacitorUpdaterWeb extends WebPlugin {\n async download(options) {\n console.warn(\"Cannot download version in web\", options);\n return BUNDLE_BUILTIN;\n }\n async next(options) {\n console.warn(\"Cannot set next version in web\", options);\n return BUNDLE_BUILTIN;\n }\n async isAutoUpdateEnabled() {\n console.warn(\"Cannot get isAutoUpdateEnabled in web\");\n return { enabled: false };\n }\n async set(options) {\n console.warn(\"Cannot set active bundle in web\", options);\n return;\n }\n async getDeviceId() {\n console.warn(\"Cannot get ID in web\");\n return { deviceId: \"default\" };\n }\n async getBuiltinVersion() {\n console.warn(\"Cannot get version in web\");\n return { version: \"default\" };\n }\n async getPluginVersion() {\n console.warn(\"Cannot get plugin version in web\");\n return { version: \"default\" };\n }\n async delete(options) {\n console.warn(\"Cannot delete bundle in web\", options);\n }\n async list() {\n console.warn(\"Cannot list bundles in web\");\n return { bundles: [] };\n }\n async reset(options) {\n console.warn(\"Cannot reset version in web\", options);\n }\n async current() {\n console.warn(\"Cannot get current bundle in web\");\n return { bundle: BUNDLE_BUILTIN, native: \"0.0.0\" };\n }\n async reload() {\n console.warn(\"Cannot reload current bundle in web\");\n return;\n }\n async getLatest() {\n console.warn(\"Cannot getLatest current bundle in web\");\n return {\n version: \"0.0.0\",\n message: \"Cannot getLatest current bundle in web\",\n };\n }\n async setChannel(options) {\n console.warn(\"Cannot setChannel in web\", options);\n return {\n status: \"error\",\n error: \"Cannot setChannel in web\",\n };\n }\n async setCustomId(options) {\n console.warn(\"Cannot setCustomId in web\", options);\n return;\n }\n async getChannel() {\n console.warn(\"Cannot getChannel in web\");\n return {\n status: \"error\",\n error: \"Cannot getChannel in web\",\n };\n }\n async notifyAppReady() {\n console.warn(\"Cannot notify App Ready in web\");\n return { bundle: BUNDLE_BUILTIN };\n }\n async setMultiDelay(options) {\n console.warn(\"Cannot setMultiDelay in web\", options === null || options === void 0 ? void 0 : options.delayConditions);\n return;\n }\n async setDelay(option) {\n console.warn(\"Cannot setDelay in web\", option);\n return;\n }\n async cancelDelay() {\n console.warn(\"Cannot cancelDelay in web\");\n return;\n }\n}\n//# sourceMappingURL=web.js.map"],"sourceRoot":""}