{"version":3,"sources":["webpack:///./node_modules/@capacitor/app/dist/esm/web.js"],"names":["AppWeb","super","this","handleVisibilityChange","data","isActive","document","hidden","notifyListeners","addEventListener","unimplemented","url"],"mappings":"gHAAA,8DACO,MAAMA,UAAe,OACxB,cACIC,QACAC,KAAKC,uBAAyB,KAC1B,MAAMC,EAAO,CACTC,UAA8B,IAApBC,SAASC,QAEvBL,KAAKM,gBAAgB,iBAAkBJ,GACnCE,SAASC,OACTL,KAAKM,gBAAgB,QAAS,MAG9BN,KAAKM,gBAAgB,SAAU,OAGvCF,SAASG,iBAAiB,mBAAoBP,KAAKC,wBAAwB,GAE/E,UACI,MAAMD,KAAKQ,cAAc,2BAE7B,gBACI,MAAMR,KAAKQ,cAAc,2BAE7B,qBACI,MAAO,CAAEC,IAAK,IAElB,iBACI,MAAO,CAAEN,UAA8B,IAApBC,SAASC,QAEhC,oBACI,MAAML,KAAKQ,cAAc","file":"js/chunk-2d208e4e.7bf947f7.js","sourcesContent":["import { WebPlugin } from '@capacitor/core';\nexport class AppWeb extends WebPlugin {\n constructor() {\n super();\n this.handleVisibilityChange = () => {\n const data = {\n isActive: document.hidden !== true,\n };\n this.notifyListeners('appStateChange', data);\n if (document.hidden) {\n this.notifyListeners('pause', null);\n }\n else {\n this.notifyListeners('resume', null);\n }\n };\n document.addEventListener('visibilitychange', this.handleVisibilityChange, false);\n }\n exitApp() {\n throw this.unimplemented('Not implemented on web.');\n }\n async getInfo() {\n throw this.unimplemented('Not implemented on web.');\n }\n async getLaunchUrl() {\n return { url: '' };\n }\n async getState() {\n return { isActive: document.hidden !== true };\n }\n async minimizeApp() {\n throw this.unimplemented('Not implemented on web.');\n }\n}\n//# sourceMappingURL=web.js.map"],"sourceRoot":""}