{"code":"__filename=\"/opt/canhelp/node_modules/jose/dist/webapi/lib/validate_algorithms.js\";(()=>{\nvar __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __name=(target,value)=>__defProp(target,\"name\",{value,configurable:true});var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true})};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from===\"object\"||typeof from===\"function\"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __toCommonJS=mod=>__copyProps(__defProp({},\"__esModule\",{value:true}),mod);var validate_algorithms_exports={};__export(validate_algorithms_exports,{validateAlgorithms:()=>validateAlgorithms});module.exports=__toCommonJS(validate_algorithms_exports);function validateAlgorithms(option,algorithms){if(algorithms!==void 0&&(!Array.isArray(algorithms)||algorithms.some(s=>typeof s!==\"string\"))){throw new TypeError(`\"${option}\" option must be an array of strings`)}if(!algorithms){return void 0}return new Set(algorithms)}__name(validateAlgorithms,\"validateAlgorithms\");0&&(module.exports={validateAlgorithms});\n})()\n","warnings":[],"map":{"version":3,"mappings":";suBAAA,8KAAO,SAAS,mBAAmB,OAAQ,WAAY,CACnD,GAAI,aAAe,SACd,CAAC,MAAM,QAAQ,UAAU,GAAK,WAAW,KAAM,GAAM,OAAO,IAAM,QAAQ,GAAI,CAC/E,MAAM,IAAI,UAAU,IAAI,MAAM,sCAAsC,CACxE,CACA,GAAI,CAAC,WAAY,CACb,OAAO,MACX,CACA,OAAO,IAAI,IAAI,UAAU,CAC7B,CATgB","names":[],"ignoreList":[],"sources":["/opt/canhelp/node_modules/jose/dist/webapi/lib/validate_algorithms.js"],"sourcesContent":[null]}}