{"version":3,"sources":["jsdelivr-header.js","/npm/node-web-bluetooth@1.2.1/src/Bluetooth.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,MAAM,MAAQ,QAAQ,sBAChB,YAAc,QAAQ,iBACtB,cAAgB,QAAQ,mBACxB,sBAAwB,QAAQ,2BAChC,iCAAmC,QAAQ,sCAC3C,gBAAkB,QAAQ,qBAE1B,UAAY,IAAI,YACtB,MAAM,GAAG,eAAgB,IACxB,UAAU,KAAK,wBAAmC,cAAV,EAAsB,IAG/D,UAAU,cAAgB,cAC1B,UAAU,sBAAwB,sBAClC,UAAU,iCAAmC,iCAC7C,UAAU,gBAAkB,gBAE5B,OAAO,UAAY,IACf,OAAO,UACV,UAAW,WAGZ,OAAO,QAAU","file":"/npm/node-web-bluetooth@1.2.1/src/Bluetooth.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.37.0.\n * Original file: /npm/node-web-bluetooth@1.2.1/src/Bluetooth.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","const noble = require('@abandonware/noble');\nconst EventTarget = require('./EventTarget');\nconst requestDevice = require('./requestDevice');\nconst RequestDeviceDelegate = require('./RequestDeviceDelegate');\nconst InteractiveRequestDeviceDelegate = require('./InteractiveRequestDeviceDelegate');\nconst getAvailability = require('./getAvailability');\n\nconst bluetooth = new EventTarget();\nnoble.on('stateChange', (state) => {\n\tbluetooth.emit('onavailabilitychanged', state === 'poweredOn');\n});\n\nbluetooth.requestDevice = requestDevice;\nbluetooth.RequestDeviceDelegate = RequestDeviceDelegate;\nbluetooth.InteractiveRequestDeviceDelegate = InteractiveRequestDeviceDelegate;\nbluetooth.getAvailability = getAvailability;\n\nglobal.navigator = {\n\t...global.navigator,\n\tbluetooth: bluetooth\n};\n\nmodule.exports = bluetooth;\n"]}