{"version":3,"sources":["jsdelivr-header.js","/npm/flap-app-launcher@1.1.2/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,QAAQ,IAAI,SAAY,QAAQ,IAAI,UAAY,aAEhD,MAAM,SAAW,QAAQ,YACnB,OAAS,QAAQ,iBACjB,QAAC,SAAW,QAAQ,kBACpB,YAAc,QAAQ,qBACtB,YAAc,QAAQ,wBAEtB,IAAC,IAAG,eAAE,gBAAkB,SAa9B,IAAI,OAXJ,OAAO,KAAK,sBAAsB,kBAAkB,QAAQ,IAAI,uBAAuB,QAAQ,YAE/F,QAAQ,GAAG,qBAAsB,IAC/B,IACE,OAAO,MAAM,EACf,CAAE,MAAO,GACP,QAAQ,OAAO,MAAM,cAAc,uBAA2B,IAChE,KAKuB,UAArB,QAAQ,SACV,OAAS,IAAI,aAEb,OAAO,MAAM,YAAY,QAAQ,yEACjC,QAAQ,KAAK,IAGf,MAAM,YAAc,IAAI,YAAY,QAEpC,IAAI,GAAG,SAAS,IAAM,YAAY,QAClC,IAAI,GAAG,aAAa,IAAM,eAAe,kBACzC,IAAI,GAAG,qBAAqB,KACD,WAArB,QAAQ,UACV,IAAI,MACN","file":"/npm/flap-app-launcher@1.1.2/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/flap-app-launcher@1.1.2/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","process.env.NODE_ENV = (process.env.NODE_ENV || 'production');\n\nconst electron = require('electron');\nconst logger = require('./src/logger');\nconst {version} = require('./package.json');\nconst Application = require('./src/application');\nconst LinuxDriver = require('./src/drivers/linux');\n\nconst {app, globalShortcut} = electron;\n\nlogger.info(`Start application v${version}, mode: ${process.env.NODE_ENV}, platform: ${process.platform}`);\n\nprocess.on('uncaughtException', (error) => {\n  try {\n    logger.error(error);\n  } catch (e) {\n    process.stdout.write(`EXCEPTION: ${error}, CATCH EXCEPTION: ${e}`);\n  }\n});\n\n// 'darwin', 'freebsd', 'linux', 'sunos' or 'win32'\nlet driver;\nif (process.platform === 'linux') {\n  driver = new LinuxDriver();\n} else {\n  logger.error(`platform ${process.platform} is not supported.\\nPlease send request to a.fschr@gmail.com.`);\n  process.exit(1);\n}\n\nconst application = new Application(driver);\n\napp.on('ready', () => application.run());\napp.on('will-quit', () => globalShortcut.unregisterAll());\napp.on('window-all-closed', () => {\n  if (process.platform !== 'darwin') {\n    app.quit();\n  }\n});\n"]}