'use strict';varinvertKv=require('invert-kv');varall=require('./lcid.json');varinverted=invertKv(all);exports.from=function(lcidCode){if(typeoflcidCode!=='number'){thrownewTypeError('Expected a number');}returninverted[lcidCode];};exports.to=function(localeId){if(typeoflocaleId!=='string'){thrownewTypeError('Expected a string');}returnall[localeId];};exports.all=all;