/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@alheimsins/b5-johnson-120-ipip-neo-pi-r@6.0.13/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
const{knuthShuffle:knuthShuffle}=require("knuth-shuffle"),languages=require("./data/languages.json");function languageSort(e,t){return e.text<t.text?-1:e.text>t.text?1:0}languages.sort(languageSort),module.exports.getItems=(e="en",t=!1)=>{let n,r;try{r=require(`./data/${e}/questions.json`),n=require(`./data/${e}/choices`)}catch(e){throw new Error("Inventory not found. Try another language input.")}return(!0===t?knuthShuffle(r):r).map(((e,t)=>Object.assign(e,{num:++t,choices:n[e.keyed]})))},module.exports.getInfo=()=>({name:"Johnson's IPIP NEO-PI-R",id:"johnson-120-ipip-neo-pi-r",shortId:"b5-120",time:10,questions:120,note:"Recommended",languages:languages}),module.exports.getChoices=(e="en")=>{let t;try{t=require(`./data/${e}/choices`)}catch(e){throw new Error("Choices not found. Try another language input.")}return t},module.exports.getQuestions=(e="en")=>{let t;try{t=require(`./data/${e}/questions`)}catch(e){throw new Error("Questions not found. Try another language input.")}return t};
//# sourceMappingURL=/sm/055debeb20e497e8556ee90c6692cf5f338912b933ccc9d082693f182dc08cd5.map