{"version":3,"sources":["jsdelivr-header.js","/npm/windows-blurbehind@1.0.1/lib/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aAEA,MAAM,OAAS,QAAQ,oCAEjB,0BAA4B,CAAC,EAAQ,KAIvC,GAHI,EAAO,wBACP,EAAS,EAAO,2BAEd,aAAkB,QACpB,KAAM,yDAGV,GAA4B,kBAAjB,EACP,KAAM,8BAIV,OAAO,WAAW,EAAQ,EAAa,EAG3C,OAAO,QAAU,CAAE","file":"/npm/windows-blurbehind@1.0.1/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/windows-blurbehind@1.0.1/lib/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\r\n\r\nconst native = require('../build/Release/blurbehind.node');\r\n\r\nconst DwmEnableBlurBehindWindow = (window, shouldEnable) => {\r\n    if (window.getNativeWindowHandle) {\r\n        window = window.getNativeWindowHandle();\r\n    }\r\n    if (!(window instanceof Buffer)) {\r\n        throw \"window is not a native window handle or BrowserWindow!\";\r\n    }\r\n\r\n    if (typeof shouldEnable !== \"boolean\") {\r\n        throw \"shouldEnable is not a bool!\";\r\n    }\r\n\r\n    // Call the native function\r\n    native.blurbehind(window, shouldEnable);\r\n};\r\n\r\nmodule.exports = { DwmEnableBlurBehindWindow };"]}