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