!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(e.uuid={})}(this,(function(e){for(var n,o=256,t=[];o--;)t[o]=(o+256).toString(16).substring(1);e.v4=function(){var e,f=0,r="";if(!n||o+16>256){for(n=Array(f=256);f--;)n[f]=256*Math.random()|0;f=o=0}for(;f<16;f++)e=n[o+f],r+=6==f?t[15&e|64]:8==f?t[63&e|128]:t[e],1&f&&f>1&&f<11&&(r+="-");return o++,r}}));