';
location.hash=key(g.t);
}
function showList(){
document.getElementById('detail-view').className='hidden';
document.getElementById('list-view').className='';
location.hash='';
render(G);
}
function copy(i){
var g=window._list?window._list[i]:G[i];
navigator.clipboard.writeText(g.t+'\n'+g.d);
}
// Alphabet nav
var a='ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('');
var nav=document.getElementById('alphabet');
for(var i=0;i-1||g.d.toLowerCase().indexOf(q)>-1;}));
};
// Hash routing
function onHash(){
var h=location.hash.slice(1);
if(h){var g=G.filter(function(x){return key(x.t)===h;});if(g.length){render(G);for(var i=0;i