{"version":3,"file":"ui/thirdparty/npm.capacitor-firebase.c8f41f8a0a8d39f2e1c1.js","mappings":"8GACA,MAAMA,GAAoB,E,SAAA,IAAe,oBAAqB,CAC1DC,IAAK,IAAM,kEAAgBC,MAAKC,GAAK,IAAIA,EAAEC,wB,uFCAxC,MAAMA,UAA6B,KACtCC,yBACI,MAAMC,KAAKC,cAAc,0BAC7B,CACAF,gBAAgBG,GACZ,MAAMC,GAAY,WAClB,QAAUA,EAAWD,EAAQE,QAAU,GAC3C,CACAL,sBAAsBG,GAClB,MAAMC,GAAY,WAClB,QAAkBA,EAAW,CACzB,CAACD,EAAQG,KAAMH,EAAQI,OAE/B,CACAP,uBAAuBG,GACnB,MAAMC,GAAY,WAClB,QAASA,EAAW,cAAe,CAC/BI,gBAAiBL,EAAQM,iBAAcC,EACvCC,sBAAuBR,EAAQS,0BAAuBF,GAE9D,CACAV,eAAeG,GACX,MAAMC,GAAY,WAClB,QAASA,EAAWD,EAAQU,KAAMV,EAAQW,OAC9C,CACAd,gCAAgCe,GAC5B,MAAMd,KAAKC,cAAc,0BAC7B,CACAF,iBAAiBe,GACb,MAAMX,GAAY,WAClB,QAA8BA,EAAWW,EAASC,QACtD,CACAhB,kBAEI,MAAO,CACHgB,SAFiD,IAArCC,OAAO,0BAI3B,CACAjB,2BACI,MAAMC,KAAKC,cAAc,0BAC7B,E","sources":["webpack://apps/./node_modules/@capacitor-firebase/analytics/dist/esm/index.js","webpack://apps/./node_modules/@capacitor-firebase/analytics/dist/esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst FirebaseAnalytics = registerPlugin('FirebaseAnalytics', {\n web: () => import('./web').then(m => new m.FirebaseAnalyticsWeb()),\n});\nexport * from './definitions';\nexport { FirebaseAnalytics };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nimport { getAnalytics, logEvent, setAnalyticsCollectionEnabled, setUserId, setUserProperties, } from 'firebase/analytics';\nexport class FirebaseAnalyticsWeb extends WebPlugin {\n async getAppInstanceId() {\n throw this.unimplemented('Not implemented on web.');\n }\n async setUserId(options) {\n const analytics = getAnalytics();\n setUserId(analytics, options.userId || '');\n }\n async setUserProperty(options) {\n const analytics = getAnalytics();\n setUserProperties(analytics, {\n [options.key]: options.value,\n });\n }\n async setCurrentScreen(options) {\n const analytics = getAnalytics();\n logEvent(analytics, 'screen_view', {\n firebase_screen: options.screenName || undefined,\n firebase_screen_class: options.screenClassOverride || undefined,\n });\n }\n async logEvent(options) {\n const analytics = getAnalytics();\n logEvent(analytics, options.name, options.params);\n }\n async setSessionTimeoutDuration(_options) {\n throw this.unimplemented('Not implemented on web.');\n }\n async setEnabled(_options) {\n const analytics = getAnalytics();\n setAnalyticsCollectionEnabled(analytics, _options.enabled);\n }\n async isEnabled() {\n const enabled = window['ga-disable-analyticsId'] === true;\n return {\n enabled,\n };\n }\n async resetAnalyticsData() {\n throw this.unimplemented('Not implemented on web.');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["FirebaseAnalytics","web","then","m","FirebaseAnalyticsWeb","async","this","unimplemented","options","analytics","userId","key","value","firebase_screen","screenName","undefined","firebase_screen_class","screenClassOverride","name","params","_options","enabled","window"],"sourceRoot":""}