{"version":3,"sources":["jsdelivr-header.js","/npm/fool-demo@1.0.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aAEA,OAAO,QAAU,SAAkB,EAAU,GACzC,OAAO,IAAI,SAAQ,CAAC,EAAS,KACzB,GAAwB,IAApB,EAAS,OAET,OADA,EAAO,+CACA,EAAS,+CACb,GAAwB,mBAAb,EAId,OAHA,EAAW,EAEX,EAAO,cACA,EAAS,cACb,CACH,MACM,EADQ,EAAS,MAAM,KACN,KAAK,GAAS,EAAK,KAG1C,OADA,EAAQ,EAAS,KAAK,KACf,EAAS,KAAM,EAAS,KAAK,IACxC,IAER","file":"/npm/fool-demo@1.0.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/fool-demo@1.0.0/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\nmodule.exports = function foolDemo(sentence, callback) {\r\n    return new Promise((resolve, reject) => {\r\n        if (sentence.length === 0) {\r\n            reject('String, Please! e.g. \"for your information\"')\r\n            return callback('String, Please! e.g. \"for your information\"')\r\n        } else if (typeof sentence === 'function') {\r\n            callback = sentence\r\n  \r\n            reject('¯\\\\_(ツ)_/¯')\r\n            return callback('¯\\\\_(ツ)_/¯')\r\n        } else {\r\n            const words = sentence.split(' ')\r\n            const foolDemo = words.map((word) => word[0])\r\n  \r\n            resolve(foolDemo.join(''))\r\n            return callback(null, foolDemo.join(''))\r\n        }\r\n    })\r\n}"]}