index.min.js.map 1.98 KB
{"version":3,"file":"index.min.js","sources":["../src/index.js"],"sourcesContent":["// @flow\n/* eslint-disable */\n// murmurhash2 via https://github.com/garycourt/murmurhash-js/blob/master/murmurhash2_gc.js\n\nexport default function murmurhash2_32_gc(str: string) {\n  var l = str.length,\n    h = l ^ l,\n    i = 0,\n    k\n\n  while (l >= 4) {\n    k =\n      (str.charCodeAt(i) & 0xff) |\n      ((str.charCodeAt(++i) & 0xff) << 8) |\n      ((str.charCodeAt(++i) & 0xff) << 16) |\n      ((str.charCodeAt(++i) & 0xff) << 24)\n\n    k = (k & 0xffff) * 0x5bd1e995 + ((((k >>> 16) * 0x5bd1e995) & 0xffff) << 16)\n    k ^= k >>> 24\n    k = (k & 0xffff) * 0x5bd1e995 + ((((k >>> 16) * 0x5bd1e995) & 0xffff) << 16)\n\n    h =\n      ((h & 0xffff) * 0x5bd1e995 +\n        ((((h >>> 16) * 0x5bd1e995) & 0xffff) << 16)) ^\n      k\n\n    l -= 4\n    ++i\n  }\n\n  switch (l) {\n    case 3:\n      h ^= (str.charCodeAt(i + 2) & 0xff) << 16\n    case 2:\n      h ^= (str.charCodeAt(i + 1) & 0xff) << 8\n    case 1:\n      h ^= str.charCodeAt(i) & 0xff\n      h =\n        (h & 0xffff) * 0x5bd1e995 + ((((h >>> 16) * 0x5bd1e995) & 0xffff) << 16)\n  }\n\n  h ^= h >>> 13\n  h = (h & 0xffff) * 0x5bd1e995 + ((((h >>> 16) * 0x5bd1e995) & 0xffff) << 16)\n  h ^= h >>> 15\n\n  return (h >>> 0).toString(36)\n}\n"],"names":["str","k","l","length","h","i","charCodeAt","toString"],"mappings":"8LAIe,SAA2BA,WAItCC,EAHEC,EAAIF,EAAIG,OACVC,EAAIF,EAAIA,EACRG,EAAI,EAGM,GAALH,GAOLD,EAAmB,YAAV,OANTA,EACuB,IAApBD,EAAIM,WAAWD,IACQ,IAAtBL,EAAIM,aAAaD,KAAc,GACT,IAAtBL,EAAIM,aAAaD,KAAc,IACT,IAAtBL,EAAIM,aAAaD,KAAc,OAEa,YAAZJ,IAAM,IAAoB,QAAW,IAIzEG,EACkB,YAAV,MAAJA,KACgB,YAAZA,IAAM,IAAoB,QAAW,KAJ7CH,EAAmB,YAAV,OADTA,GAAKA,IAAM,OACqC,YAAZA,IAAM,IAAoB,QAAW,KAOzEC,GAAK,IACHG,SAGIH,QACD,EACHE,IAA8B,IAAxBJ,EAAIM,WAAWD,EAAI,KAAc,QACpC,EACHD,IAA8B,IAAxBJ,EAAIM,WAAWD,EAAI,KAAc,OACpC,EAEHD,EACiB,YAAV,OAFPA,GAAyB,IAApBJ,EAAIM,WAAWD,OAE0B,YAAZD,IAAM,IAAoB,QAAW,WAI3EA,EAAmB,YAAV,OADTA,GAAKA,IAAM,OACqC,YAAZA,IAAM,IAAoB,QAAW,MACzEA,GAAKA,IAAM,MAEG,GAAGG,SAAS"}