{"version":3,"sources":["jsdelivr-header.js","/npm/book-summary-comparator@1.0.2/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;ACLA,MAAM,SAAW,QAAQ,YAEnB,KAAO,QAAQ,UACf,OAAS,QAAQ,YACjB,IAAM,QAAQ,SAEpB,SACK,OAAO,CACJ,CACI,KAAM,OACN,KAAM,SACN,QAAS,0BACT,QAAS,CACL,4BACA,sBACA,IAAI,SAAS,UACb,wBAEJ,OAAQ,SAAU,GACd,OAAO,EAAI,aACf,KAGP,MAAK,IACqB,8BAAnB,EAAQ,OACR,SAC0B,wBAAnB,EAAQ,OACf,MAEA,MACJ","file":"/npm/book-summary-comparator@1.0.2/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/book-summary-comparator@1.0.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","#!/usr/bin/env node\nconst inquirer = require('inquirer')\n\nconst list = require('./list')\nconst search = require('./search')\nconst get = require('./get')\n\ninquirer\n    .prompt([\n        {\n            type: 'list',\n            name: 'choice',\n            message: 'What do you want to do?',\n            choices: [\n                'Search a query over books',\n                'Get ratings by book',\n                new inquirer.Separator(),\n                'Show full match list'\n            ],\n            filter: function (val) {\n                return val.toLowerCase();\n            }\n        }\n    ])\n    .then(answers => {\n        if (answers.choice === 'search a query over books') {\n            search()\n        } else if (answers.choice === 'get ratings by book') {\n            get()\n        } else {\n            list()\n        }\n    })"]}