{"version":3,"sources":["jsdelivr-header.js","/npm/electron-custom-notifications@8.0.5/dist/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,IAAI,gBAAmB,MAAQ,KAAK,iBAAoB,SAAU,GAC9D,OAAQ,GAAO,EAAI,WAAc,EAAM,CAAE,QAAW,EACxD,EACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,QAAQ,gBAAkB,QAAQ,kBAAoB,QAAQ,wBAAqB,EACnF,IAAI,sBAAwB,gBAAgB,QAAQ,0BAChD,wBAA0B,gBAAgB,QAAQ,4BAUtD,SAAS,mBAAmB,GACxB,OAAO,sBAAsB,QAAQ,mBAAmB,EAC5D,CAOA,SAAS,gBAAgB,GACrB,wBAAwB,QAAQ,cAAgB,CACpD,CAQA,SAAS,kBAAkB,GACvB,wBAAwB,QAAQ,gBAAkB,CACtD,CAlBA,QAAQ,mBAAqB,mBAS7B,QAAQ,gBAAkB,gBAU1B,QAAQ,kBAAoB","file":"/npm/electron-custom-notifications@8.0.5/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/electron-custom-notifications@8.0.5/dist/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\nvar __importDefault = (this && this.__importDefault) || function (mod) {\r\n    return (mod && mod.__esModule) ? mod : { \"default\": mod };\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.setGlobalStyles = exports.setContainerWidth = exports.createNotification = void 0;\r\nvar NotificationManager_1 = __importDefault(require(\"./NotificationManager\"));\r\nvar NotificationContainer_1 = __importDefault(require(\"./NotificationContainer\"));\r\n/**\r\n * Spawns a new notification.\r\n * Warning: You MUST use this library from another\r\n * Electron application (after the 'ready' event).\r\n * If you try to use this from a regular Node app, it\r\n * will not work.\r\n *\r\n * @param {*} [options]\r\n */\r\nfunction createNotification(options) {\r\n    return NotificationManager_1.default.createNotification(options);\r\n}\r\nexports.createNotification = createNotification;\r\n/**\r\n * Adds custom CSS to the notification container head.\r\n *\r\n * @param {string} css\r\n */\r\nfunction setGlobalStyles(css) {\r\n    NotificationContainer_1.default.CUSTOM_STYLES = css;\r\n}\r\nexports.setGlobalStyles = setGlobalStyles;\r\n/**\r\n * Changes the container's width.\r\n * @default 300\r\n *\r\n * @param {number} width\r\n */\r\nfunction setContainerWidth(width) {\r\n    NotificationContainer_1.default.CONTAINER_WIDTH = width;\r\n}\r\nexports.setContainerWidth = setContainerWidth;\r\n"]}