|
|
|
},function(A,g,Q){var C,B=function(){function A(A,g){if(!B[A]){B[A]={};for(var Q=0;Q<A.length;Q++)B[A][A.charAt(Q)]=Q}return B[A][g]}var g=String.fromCharCode,Q="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",B={},E={compressToBase64:function(A){if(null==A)return"";var g=E._compress(A,6,function(A){return Q.charAt(A)});switch(g.length%4){default:case 0:return g;case 1:return g+"===";case 2:return g+"==";case 3:return g+"="}},decompressFromBase64:function(g){return null==g?"":""==g?null:E._decompress(g.length,32,function(C){return A(Q,g.charAt(C))})},compressToUTF16:function(A){return null==A?"":E._compress(A,15,function(A){return g(A+32)})+" "},decompressFromUTF16:function(A){return null==A?"":""==A?null:E._decompress(A.length,16384,function(g){return A.charCodeAt(g)-32})},compressToUint8Array:function(A){for(var g=E.compress(A),Q=new Uint8Array(2*g.length),C=0,B=g.length;C<B;C++){var I=g.charCodeAt(C);Q[2*C]=I>>>8,Q[2*C+1]=I%256}return Q},decompressFromUint8Array:function(A){if(null===A||void 0===A)return E.decompress(A);for(var Q=new Array(A.length/2),C=0,B=Q.length;C<B;C++)Q[C]=256*A[2*C]+A[2*C+1];var I=[];return Q.forEach(function(A){I.push(g(A))}),E.decompress(I.join(""))},compressToEncodedURIComponent:function(A){return null==A?"":E._compress(A,6,function(A){return C.charAt(A)})},decompressFromEncodedURIComponent:function(g){return null==g?"":""==g?null:(g=g.replace(/ /g,"+"),E._decompress(g.length,32,function(Q){return A(C,g.charAt(Q))}))},compress:function(A){return E._compress(A,16,function(A){return g(A)})},_compress:function(A,g,Q){if(null==A)return"";var C,B,E,I={},o={},h="",K="",w="",F=2,M=3,k=2,s=[],p=0,J=0;for(E=0;E<A.length;E+=1)if(h=A.charAt(E),Object.prototype.hasOwnProperty.call(I,h)||(I[h]=M++,o[h]=!0),K=w+h,Object.prototype.hasOwnProperty.call(I,K))w=K;else{if(Object.prototype.hasOwnProperty.call(o,w)){if(w.charCodeAt(0)<256){for(C=0;C<k;C++)p<<=1,J==g-1?(J=0,s.push(Q(p)),p=0):J++;for(B=w.charCodeAt(0),C=0;C<8;C++)p=p<<1|1&B,J==g-1?(J=0,s.push(Q(p)),p=0):J++,B>>=1}else{for(B=1,C=0;C<k;C++)p=p<<1|B,J==g-1?(J=0,s.push(Q(p)),p=0):J++,B=0;for(B=w.charCodeAt(0),C=0;C<16;C++)p=p<<1|1&B,J==g-1?(J=0,s.push(Q(p)),p=0):J++,B>>=1}F--,0==F&&(F=Math.pow(2,k),k++),delete o[w]}else for(B=I[w],C=0;C<k;C++)p=p<<1|1&B,J==g-1?(J=0,s.push(Q(p)),p=0):J++,B>>=1;F--,0==F&&(F=Math.pow(2,k),k++),I[K]=M++,w=String(h)}if(""!==w){if(Object.prototype.hasOwnProperty.call(o,w)){if(w.charCodeAt(0)<256){for(C=0;C<k;C++)p<<=1,J==g-1?(J=0,s.push(Q(p)),p=0):J++;for(B=w.charCodeAt(0),C=0;C<8;C++)p=p<<1|1&B,J==g-1?(J=0,s.push(Q(p)),p=0):J++,B>>=1}else{for(B=1,C=0;C<k;C++)p=p<<1|B,J==g-1?(J=0,s.push(Q(p)),p=0):J++,B=0;for(B=w.charCodeAt(0),C=0;C<16;C++)p=p<<1|1&B,J==g-1?(J=0,s.push(Q(p)),p=0):J++,B>>=1}F--,0==F&&(F=Math.pow(2,k),k++),delete o[w]}else for(B=I[w],C=0;C<k;C++)p=p<<1|1&B,J==g-1?(J=0,s.push(Q(p)),p=0):J++,B>>=1;F--,0==F&&(F=Math.pow(2,k),k++)}for(B=2,C=0;C<k;C++)p=p<<1|1&B,J==g-1?(J=0,s.push(Q(p)),p=0):J++,B>>=1;for(;;){if(p<<=1,J==g-1){s.push(Q(p));break}J++}return s.join("")},decompress:function(A){return null==A?"":""==A?null:E._decompress(A.length,32768,function(g){return A.charCodeAt(g)})},_decompress:function(A,Q,C){var B,E,I,o,h,K,w,F,M=[],k=4,s=4,p=3,J="",m=[],i={val:C(0),position:Q,index:1};for(E=0;E<3;E+=1)M[E]=E;for(o=0,K=Math.pow(2,2),w=1;w!=K;)h=i.val&i.position,i.position>>=1,0==i.position&&(i.position=Q,i.val=C(i.index++)),o|=(h>0?1:0)*w,w<<=1;switch(B=o){case 0:for(o=0,K=Math.pow(2,8),w=1;w!=K;)h=i.val&i.position,i.position>>=1,0==i.position&&(i.position=Q,i.val=C(i.index++)),o|=(h>0?1:0)*w,w<<=1;F=g(o);break;case 1:for(o=0,K=Math.pow(2,16),w=1;w!=K;)h=i.val&i.position,i.position>>=1,0==i.position&&(i.position=Q,i.val=C(i.index++)),o|=(h>0?1:0)*w,w<<=1;F=g(o);break;case 2:return""}for(M[3]=F,I=F,m.push(F);;){if(i.index>A)return"";for(o=0,K=Math.pow(2,p),w=1;w!=K;)h=i.val&i.position,i.position>>=1,0==i.position&&(i.position=Q,i.val=C(i.index++)),o|=(h>0?1:0)*w,w<<=1;switch(F=o){case 0:for(o=0,K=Math.pow(2,8),w=1;w!=K;)h=i.
|