{"version":3,"sources":["jsdelivr-header.js","/npm/tiny-editor-npm@1.1.0/src/js/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACAA,MAAM,IAAE,IAAG,cAAE,eAAiB,QAAQ,aAChC,SAAE,UAAa,QAAQ,iBAI7B,SAAS,gBACP,MAAM,EAAU,IAAI,cAAc,CAChC,MAAM,EACN,KAAM,sBACN,OAAQ,IACR,MAAO,IACP,UAAW,IACX,SAAU,IACV,OAAO,EACP,eAAgB,CACd,iBAAiB,EACjB,oBAAoB,KAGxB,EAAQ,SAAS,uBACjB,EAAQ,KAAK,iBAAiB,KAC5B,EAAQ,WACR,EAAQ,MAAK,GAEjB,CAtBA,QAAQ,IAAwC,mCAAI,OAwBpD,IAAI,YAAY,KAAK,eAErB,IAAI,GAAG,qBAAqB,KAC1B,IAAI,MAAK,IAGX,IAAI,GAAG,YAAY,KAC4B,IAAzC,cAAc,gBAAgB,QAChC,eACF","file":"/npm/tiny-editor-npm@1.1.0/src/js/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/tiny-editor-npm@1.1.0/src/js/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","/* \r\n    File: main.js\r\n    Author: Luis David Villalobos Gonzalez\r\n    Date: 25/02/2021\r\n*/\r\n\r\nconst { app, BrowserWindow} = require('electron')\r\nconst { execSync } = require('child_process');// Exec Module\r\nprocess.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true';\r\n\r\n\r\nfunction createWindows () {\r\n  const mainwin = new BrowserWindow({\r\n    show: false,\r\n    icon: 'src/img/feather.ico',\r\n    height: 800,\r\n    width: 600,\r\n    minHeight: 400,\r\n    minWidth: 500,\r\n    frame: false,\r\n    webPreferences: {\r\n      nodeIntegration: true, \r\n      enableRemoteModule: true\r\n    }\r\n  })\r\n  mainwin.loadFile('src/html/index.html')\r\n  mainwin.once('ready-to-show', () => {\r\n    mainwin.maximize()\r\n    mainwin.show()\r\n  })\r\n}\r\n\r\napp.whenReady().then(createWindows)\r\n\r\napp.on('window-all-closed', () => {\r\n  app.quit()\r\n})\r\n\r\napp.on('activate', () => {\r\n  if (BrowserWindow.getAllWindows().length === 0) {\r\n    createWindows()\r\n  }\r\n})\r\n"]}