mkdocs-material/material/assets/javascripts/worker/packer.c14659e8.min.js
2020-02-12 19:13:03 +01:00

2 lines
6.0 KiB
JavaScript

!function(e){var r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=r,t.d=function(e,r,o){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)t.d(o,n,function(r){return e[r]}.bind(null,n));return o},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=1)}([function(e,r,t){var o,n=function(){var e=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function n(e,r){if(!o[e]){o[e]={};for(var t=0;t<e.length;t++)o[e][e.charAt(t)]=t}return o[e][r]}var s={compressToBase64:function(e){if(null==e)return"";var t=s._compress(e,6,(function(e){return r.charAt(e)}));switch(t.length%4){default:case 0:return t;case 1:return t+"===";case 2:return t+"==";case 3:return t+"="}},decompressFromBase64:function(e){return null==e?"":""==e?null:s._decompress(e.length,32,(function(t){return n(r,e.charAt(t))}))},compressToUTF16:function(r){return null==r?"":s._compress(r,15,(function(r){return e(r+32)}))+" "},decompressFromUTF16:function(e){return null==e?"":""==e?null:s._decompress(e.length,16384,(function(r){return e.charCodeAt(r)-32}))},compressToUint8Array:function(e){for(var r=s.compress(e),t=new Uint8Array(2*r.length),o=0,n=r.length;o<n;o++){var i=r.charCodeAt(o);t[2*o]=i>>>8,t[2*o+1]=i%256}return t},decompressFromUint8Array:function(r){if(null==r)return s.decompress(r);for(var t=new Array(r.length/2),o=0,n=t.length;o<n;o++)t[o]=256*r[2*o]+r[2*o+1];var i=[];return t.forEach((function(r){i.push(e(r))})),s.decompress(i.join(""))},compressToEncodedURIComponent:function(e){return null==e?"":s._compress(e,6,(function(e){return t.charAt(e)}))},decompressFromEncodedURIComponent:function(e){return null==e?"":""==e?null:(e=e.replace(/ /g,"+"),s._decompress(e.length,32,(function(r){return n(t,e.charAt(r))})))},compress:function(r){return s._compress(r,16,(function(r){return e(r)}))},_compress:function(e,r,t){if(null==e)return"";var o,n,s,i={},u={},a="",c="",p="",l=2,f=3,h=2,d=[],m=0,v=0;for(s=0;s<e.length;s+=1)if(a=e.charAt(s),Object.prototype.hasOwnProperty.call(i,a)||(i[a]=f++,u[a]=!0),c=p+a,Object.prototype.hasOwnProperty.call(i,c))p=c;else{if(Object.prototype.hasOwnProperty.call(u,p)){if(p.charCodeAt(0)<256){for(o=0;o<h;o++)m<<=1,v==r-1?(v=0,d.push(t(m)),m=0):v++;for(n=p.charCodeAt(0),o=0;o<8;o++)m=m<<1|1&n,v==r-1?(v=0,d.push(t(m)),m=0):v++,n>>=1}else{for(n=1,o=0;o<h;o++)m=m<<1|n,v==r-1?(v=0,d.push(t(m)),m=0):v++,n=0;for(n=p.charCodeAt(0),o=0;o<16;o++)m=m<<1|1&n,v==r-1?(v=0,d.push(t(m)),m=0):v++,n>>=1}0==--l&&(l=Math.pow(2,h),h++),delete u[p]}else for(n=i[p],o=0;o<h;o++)m=m<<1|1&n,v==r-1?(v=0,d.push(t(m)),m=0):v++,n>>=1;0==--l&&(l=Math.pow(2,h),h++),i[c]=f++,p=String(a)}if(""!==p){if(Object.prototype.hasOwnProperty.call(u,p)){if(p.charCodeAt(0)<256){for(o=0;o<h;o++)m<<=1,v==r-1?(v=0,d.push(t(m)),m=0):v++;for(n=p.charCodeAt(0),o=0;o<8;o++)m=m<<1|1&n,v==r-1?(v=0,d.push(t(m)),m=0):v++,n>>=1}else{for(n=1,o=0;o<h;o++)m=m<<1|n,v==r-1?(v=0,d.push(t(m)),m=0):v++,n=0;for(n=p.charCodeAt(0),o=0;o<16;o++)m=m<<1|1&n,v==r-1?(v=0,d.push(t(m)),m=0):v++,n>>=1}0==--l&&(l=Math.pow(2,h),h++),delete u[p]}else for(n=i[p],o=0;o<h;o++)m=m<<1|1&n,v==r-1?(v=0,d.push(t(m)),m=0):v++,n>>=1;0==--l&&(l=Math.pow(2,h),h++)}for(n=2,o=0;o<h;o++)m=m<<1|1&n,v==r-1?(v=0,d.push(t(m)),m=0):v++,n>>=1;for(;;){if(m<<=1,v==r-1){d.push(t(m));break}v++}return d.join("")},decompress:function(e){return null==e?"":""==e?null:s._decompress(e.length,32768,(function(r){return e.charCodeAt(r)}))},_decompress:function(r,t,o){var n,s,i,u,a,c,p,l=[],f=4,h=4,d=3,m="",v=[],y={val:o(0),position:t,index:1};for(n=0;n<3;n+=1)l[n]=n;for(i=0,a=Math.pow(2,2),c=1;c!=a;)u=y.val&y.position,y.position>>=1,0==y.position&&(y.position=t,y.val=o(y.index++)),i|=(u>0?1:0)*c,c<<=1;switch(i){case 0:for(i=0,a=Math.pow(2,8),c=1;c!=a;)u=y.val&y.position,y.position>>=1,0==y.position&&(y.position=t,y.val=o(y.index++)),i|=(u>0?1:0)*c,c<<=1;p=e(i);break;case 1:for(i=0,a=Math.pow(2,16),c=1;c!=a;)u=y.val&y.position,y.position>>=1,0==y.position&&(y.position=t,y.val=o(y.index++)),i|=(u>0?1:0)*c,c<<=1;p=e(i);break;case 2:return""}for(l[3]=p,s=p,v.push(p);;){if(y.index>r)return"";for(i=0,a=Math.pow(2,d),c=1;c!=a;)u=y.val&y.position,y.position>>=1,0==y.position&&(y.position=t,y.val=o(y.index++)),i|=(u>0?1:0)*c,c<<=1;switch(p=i){case 0:for(i=0,a=Math.pow(2,8),c=1;c!=a;)u=y.val&y.position,y.position>>=1,0==y.position&&(y.position=t,y.val=o(y.index++)),i|=(u>0?1:0)*c,c<<=1;l[h++]=e(i),p=h-1,f--;break;case 1:for(i=0,a=Math.pow(2,16),c=1;c!=a;)u=y.val&y.position,y.position>>=1,0==y.position&&(y.position=t,y.val=o(y.index++)),i|=(u>0?1:0)*c,c<<=1;l[h++]=e(i),p=h-1,f--;break;case 2:return v.join("")}if(0==f&&(f=Math.pow(2,d),d++),l[p])m=l[p];else{if(p!==h)return null;m=s+s.charAt(0)}v.push(m),l[h++]=s+m.charAt(0),s=m,0==--f&&(f=Math.pow(2,d),d++)}}};return s}();void 0===(o=function(){return n}.call(r,t,r,e))||(e.exports=o)},function(e,r,t){"use strict";t.r(r);var o,n=t(0);!function(e){e[e.STRING=0]="STRING",e[e.BINARY=1]="BINARY"}(o||(o={})),t.d(r,"handler",(function(){return a}));var s=navigator.userAgent.includes("AppleWebKit"),i=s?n.compress:n.compressToUTF16,u=s?n.decompress:n.decompressFromUTF16;function a(e){switch(e.type){case o.STRING:return{type:o.BINARY,data:i(e.data)};case o.BINARY:return{type:o.STRING,data:u(e.data)}}}self.addEventListener("message",(function(e){self.postMessage(a(e.data))}))}]);
//# sourceMappingURL=packer.c14659e8.min.js.map