{"version":3,"sources":["jsdelivr-header.js","/npm/signup-login-module@2.0.1/server/server.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,IAAI,SAAW,QAAQ,YACnB,KAAO,QAAQ,iBACf,YAAc,QAAQ,wBACtB,OAAS,QAAQ,mBACjB,KAAO,QAAQ,kBAGf,IAAM,OAAO,QAAU,WAI3B,IAAI,IAAI,SAAS,MAAM,CACrB,MAAO,IAAI,OAAO,eAKpB,YAAW,KACR,KAAK,IAAK,WAAW,SAAS,GAC/B,GAAI,EAAK,MAAM,EAGX,QAAQ,OAAS,QACnB,IAAI,OACR,GAAE,GACA,MAEF,IAAI,MAAQ,WACV,YAAW,IAEJ,IAAI,QAAO,WAChB,IAAI,KAAK,WACT,IAAI,EAAU,IAAI,IAAI,OAAO,QAAQ,MAAO,IAE5C,GADA,QAAQ,IAAI,8BAA+B,GACvC,IAAI,IAAI,+BAAgC,CAC1C,IAAI,EAAe,IAAI,IAAI,+BAA+B,UAC1D,QAAQ,IAAI,+BAAgC,EAAS,EACvD,CAEF,KACA,KACF,EAIA,OAAO,QAAU,CACf,WAAY,YACZ,MAAM,OACN,IAAK,IACL,KAAM,KACN,KAAM","file":"/npm/signup-login-module@2.0.1/server/server.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/signup-login-module@2.0.1/server/server.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 loopback = require('loopback');\r\nvar boot = require('loopback-boot');\r\nvar datasources = require('../create_datasource');\r\nvar models = require('../create_model');\r\nvar port = require('../update_port');\r\n\r\n\r\nvar app = module.exports = loopback();\r\n\r\n\r\n\r\napp.use(loopback.token({\r\n  model: app.models.CustomToken\r\n}));\r\n\r\n// Bootstrap the application, configure models, datasources and middleware.\r\n// Sub-apps like REST API are mounted via boot scripts.\r\nsetTimeout(()=>{\r\n   boot(app, __dirname, function(err) {\r\n  if (err) throw err;\r\n\r\n  // start the server if `$n ode server.js`\r\n  if (require.main === module)\r\n    app.start();\r\n});\r\n},1800)\r\n\r\napp.start = function () {\r\n  setTimeout(()=>{\r\n  // start the web server\r\n  return app.listen(function() {\r\n    app.emit('started');\r\n    var baseUrl = app.get('url').replace(/\\/$/, '');\r\n    console.log('Web server listening at: %s', baseUrl);\r\n    if (app.get('loopback-component-explorer')) {\r\n      var explorerPath = app.get('loopback-component-explorer').mountPath;\r\n      console.log('Browse your REST API at %s%s', baseUrl, explorerPath);\r\n    }\r\n  \r\n  });\r\n},1800)\r\n};\r\n\r\n\r\n\r\nmodule.exports = {\r\n  datasource: datasources,\r\n  model:models,\r\n  app: app,\r\n  boot: boot,\r\n  port: port\r\n}\r\n"]}