{"version":3,"sources":["jsdelivr-header.js","/npm/@capacitor/screen-reader@8.0.1/dist/esm/index.js","/npm/@capacitor/screen-reader@8.0.1/dist/esm/web.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,iDCLK,MAAC,aAAe,oBAAe,eAAgB,CAChD,IAAK,IAAM,QAAA,UAAA,MAAA,kBAAA,GAAA,IAAgB,MAAM,GAAM,IAAI,EAAE,oBCD1C,MAAM,wBAAwB,eACjC,eAAM,GACF,MAAM,KAAK,YAAY,gDAC3B,CACA,WAAM,CAAM,GACR,KAAM,oBAAqB,QACvB,MAAM,KAAK,YAAY,oDAE3B,MAAM,EAAY,IAAI,yBAAyB,EAAQ,OACnD,EAAQ,WACR,EAAU,KAAO,EAAQ,UAE7B,gBAAgB,MAAM,EAC1B,E","file":"/npm/@capacitor/screen-reader@8.0.1/dist/plugin.cjs.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@capacitor/screen-reader@8.0.1/dist/plugin.cjs.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import { registerPlugin } from '@capacitor/core';\nconst ScreenReader = registerPlugin('ScreenReader', {\n    web: () => import('./web').then((m) => new m.ScreenReaderWeb()),\n});\nexport * from './definitions';\nexport { ScreenReader };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class ScreenReaderWeb extends WebPlugin {\n    async isEnabled() {\n        throw this.unavailable('This feature is not available in the browser.');\n    }\n    async speak(options) {\n        if (!('speechSynthesis' in window)) {\n            throw this.unavailable('Browser does not support the SpeechSynthesis API');\n        }\n        const utterance = new SpeechSynthesisUtterance(options.value);\n        if (options.language) {\n            utterance.lang = options.language;\n        }\n        speechSynthesis.speak(utterance);\n    }\n}\n//# sourceMappingURL=web.js.map"]}