mkdocs-material/material/assets/javascripts/packer.js

2 lines
5.9 KiB
JavaScript
Raw Normal View History

!function(r){var e={};function t(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return r[o].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=r,t.c=e,t.d=function(r,e,o){t.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:o})},t.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,e){if(1&e&&(r=t(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)t.d(o,n,function(e){return r[e]}.bind(null,n));return o},t.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(e,"a",e),e},t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},t.p="",t(t.s=1)}([function(r,e,t){var o,n=function(){var r=String.fromCharCode,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function n(r,e){if(!o[r]){o[r]={};for(var t=0;t<r.length;t++)o[r][r.charAt(t)]=t}return o[r][e]}var i={compressToBase64:function(r){if(null==r)return"";var t=i._compress(r,6,(function(r){return e.charAt(r)}));switch(t.length%4){default:case 0:return t;case 1:return t+"===";case 2:return t+"==";case 3:return t+"="}},decompressFromBase64:function(r){return null==r?"":""==r?null:i._decompress(r.length,32,(function(t){return n(e,r.charAt(t))}))},compressToUTF16:function(e){return null==e?"":i._compress(e,15,(function(e){return r(e+32)}))+" "},decompressFromUTF16:function(r){return null==r?"":""==r?null:i._decompress(r.length,16384,(function(e){return r.charCodeAt(e)-32}))},compressToUint8Array:function(r){for(var e=i.compress(r),t=new Uint8Array(2*e.length),o=0,n=e.length;o<n;o++){var s=e.charCodeAt(o);t[2*o]=s>>>8,t[2*o+1]=s%256}return t},decompressFromUint8Array:function(e){if(null==e)return i.decompress(e);for(var t=new Array(e.length/2),o=0,n=t.length;o<n;o++)t[o]=256*e[2*o]+e[2*o+1];var s=[];return t.forEach((function(e){s.push(r(e))})),i.decompress(s.join(""))},compressToEncodedURIComponent:function(r){return null==r?"":i._compress(r,6,(function(r){return t.charAt(r)}))},decompressFromEncodedURIComponent:function(r){return null==r?"":""==r?null:(r=r.replace(/ /g,"+"),i._decompress(r.length,32,(function(e){return n(t,r.charAt(e))})))},compress:function(e){return i._compress(e,16,(function(e){return r(e)}))},_compress:function(r,e,t){if(null==r)return"";var o,n,i,s={},u={},a="",c="",p="",l=2,f=3,h=2,d=[],m=0,v=0;for(i=0;i<r.length;i+=1)if(a=r.charAt(i),Object.prototype.hasOwnProperty.call(s,a)||(s[a]=f++,u[a]=!0),c=p+a,Object.prototype.hasOwnProperty.call(s,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==e-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==e-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==e-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==e-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=s[p],o=0;o<h;o++)m=m<<1|1&n,v==e-1?(v=0,d.push(t(m)),m=0):v++,n>>=1;0==--l&&(l=Math.pow(2,h),h++),s[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==e-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==e-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==e-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==e-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=s[p],o=0;o<h;o++)m=m<<1|1&n,v==e-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==e-1?(v=0,d.push(t(m)),m=0):v++,n>>=1;for(;;){if(m<<=1,v==e-1){d.push(t(m));break}v++}return d.join("")},decompress:function(r){return null==r?"":""==r?null:i._decompress(r.l
2019-12-18 19:14:20 +03:00
//# sourceMappingURL=packer.js.map