⌈⌋ ⎇ branch:  Bitrhythm


Artifact Content

Artifact 04c0445e5288b58fc766f43584015fc156d3fda088f62416d3f2f93dea854ef6:


(window.webpackJsonpJsonUrl=window.webpackJsonpJsonUrl||[]).push([[1],{17:function(n,o,t){"use strict";var r=function(){};r.prototype.encode=function(n){for(var o,t={},r=(n+"").split(""),e=[],p=r[0],h=256,c=1;c<r.length;c++)null!=t[p+(o=r[c])]?p+=o:(e.push(p.length>1?t[p]:p.charCodeAt(0)),t[p+o]=h,h++,p=o);e.push(p.length>1?t[p]:p.charCodeAt(0));for(c=0;c<e.length;c++)e[c]=String.fromCharCode(e[c]);return e.join("")},r.prototype.decode=function(n){for(var o,t={},r=(n+"").split(""),e=r[0],p=e,h=[e],c=256,s=1;s<r.length;s++){var i=r[s].charCodeAt(0);o=i<256?r[s]:t[i]?t[i]:p+e,h.push(o),e=o.charAt(0),t[c]=p+e,c++,p=o}return h.join("")},n.exports=new r}}]);