{"version":3,"sources":["jsdelivr-header.js","/npm/language-detection@0.3.8/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aAEA,IAAI,MAAQ,QAAQ,eAYpB,SAAS,IAAI,GAET,KAAK,QAAU,MAAM,OACjB,CAAC,EACD,EACA,CACI,KAAM,eACN,QAAS,MACT,SAAU,aACV,QAAQ,IAShB,IAAI,EAAO,QAAQ,SACnB,KAAK,QAAQ,EACjB,CAQA,IAAI,UAAU,QAAU,SAAU,GAC9B,IAAK,IAAI,KAAW,EAChB,KAAK,GAAW,EAAK,GAAS,KAAK,KAE3C,EAKA,OAAO,QAAU","file":"/npm/language-detection@0.3.8/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/language-detection@0.3.8/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';\n\nvar utils = require('./lib/utils');\n\n/**\n * A module for interacting with DetectLanguage API\n * @module DetectLanguage\n */\n\n/**\n * DetectLanguage constructor.\n * @param {object} options Options to be passed in\n * @constructor\n */\nfunction API(options) {\n\n    this.options = utils.extend(\n        {},\n        options,\n        {\n            host: 'apilayer.net',\n            context: 'api',\n            key_type: 'access_key',\n            secure: false\n        }\n    );\n\n    /**\n     * Load the apis from apis directory\n     * This file holds all version information\n     * @private\n     */\n    var apis = require('./api');\n    this.addAPIs(apis);\n}\n\n/**\n * Add API endpoints to object\n *\n * @param {Array} api Api to be added\n * @private\n */\nAPI.prototype.addAPIs = function (apis) {\n    for (var apiName in apis) {\n        this[apiName] = apis[apiName].bind(this);\n    }\n};\n\n/**\n * Exports DetectLanguage.\n */\nmodule.exports = API;"]}