1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-21 11:56:03 +01:00
mkdocs-material/material/assets/javascripts/bundle.00f9b4e0.min.js

2 lines
28 KiB
JavaScript
Raw Normal View History

2020-10-31 15:01:19 +01:00
!function(e,t){for(var c in t)e[c]=t[c]}(window,function(e){function t(t){for(var a,o,i=t[0],s=t[1],b=t[2],p=0,f=[];p<i.length;p++)o=i[p],Object.prototype.hasOwnProperty.call(n,o)&&n[o]&&f.push(n[o][0]),n[o]=0;for(a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a]);for(u&&u(t);f.length;)f.shift()();return r.push.apply(r,b||[]),c()}function c(){for(var e,t=0;t<r.length;t++){for(var c=r[t],a=!0,i=1;i<c.length;i++){var s=c[i];0!==n[s]&&(a=!1)}a&&(r.splice(t--,1),e=o(o.s=c[0]))}return e}var a={},n={0:0},r=[];function o(t){if(a[t])return a[t].exports;var c=a[t]={i:t,l:!1,exports:{}};return e[t].call(c.exports,c,c.exports,o),c.l=!0,c.exports}o.m=e,o.c=a,o.d=function(e,t,c){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:c})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(o.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(c,a,function(t){return e[t]}.bind(null,a));return c},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="";var i=window.webpackJsonp=window.webpackJsonp||[],s=i.push.bind(i);i.push=t,i=i.slice();for(var b=0;b<i.length;b++)t(i[b]);var u=s;return r.push([49,1]),c()}({49:function(e,t,c){"use strict";c.r(t),c.d(t,"setScrollLock",(function(){return at})),c.d(t,"resetScrollLock",(function(){return nt})),c.d(t,"initialize",(function(){return rt}));c(44);var a=c(39),n=c(6),r=c(54),o=c(55),i=c(74),s=c(72),b=c(50),u=c(52),p=c(57),f=c(34),l=c(67),d=c(58),O=c(73),j=c(64),h=c(63),m=c(40),g=c(27),v=c(41),$=c(36),y=c(51);function w(e,t=document){return t.querySelector(e)||void 0}function x(e,t=document){const c=w(e,t);if(void 0===c)throw new ReferenceError(`Missing element: expected "${e}" to be present`);return c}function E(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function k(e,t=document){return Array.from(t.querySelectorAll(e))}function S(e){return document.createElement(e)}function _(e,t){e.replaceWith(t)}var A=c(53);function T(e,t=!0){t?e.focus():e.blur()}function C(e){return{x:e.scrollLeft,y:e.scrollTop}}var R=c(38),M=c(22),L=c(56);const z=new M.a,P=Object(a.a)(()=>Object(r.a)(new R.a(e=>{for(const t of e)z.next(t)}))).pipe(Object(f.a)(e=>Object(u.a)(Object(r.a)(e),o.a).pipe(Object(L.a)(()=>e.disconnect()))),Object(p.a)({bufferSize:1,refCount:!0}));function U(e){return P.pipe(Object(d.a)(t=>t.observe(e)),Object(f.a)(t=>z.pipe(Object(m.a)(({target:t})=>t===e),Object(L.a)(()=>t.unobserve(e)),Object(g.a)(({contentRect:e})=>({width:e.width,height:e.height})))),Object(A.a)(function(e){return{width:e.offsetWidth,height:e.offsetHeight}}(e)))}var H=c(71);var q=c(59);function I(e,t=location){return e.host===t.host&&/^(?:\/[\w-]+)*(?:\/?|\.html)$/i.test(e.pathname)}function N(e,t=location){return e.pathname===t.pathname&&e.hash.length>0}function D(){return new q.a(new URL(location.href))}function Y(){return location.hash.substring(1)}function F(e){const t=S("a");t.href=e,t.addEventListener("click",e=>e.stopPropagation()),t.click()}var J=c(5);function K(e){const t=matchMedia(e);return new J.a(e=>{t.addListener(t=>e.next(t.matches))}).pipe(Object(A.a)(t.matches),Object(p.a)({bufferSize:1,refCount:!0}))}const W={drawer:x("[data-md-toggle=drawer]"),search:x("[data-md-toggle=search]")};function B(e,t){W[e].checked!==t&&W[e].click()}function Q(e){const t=W[e];return Object(b.a)(t,"change").pipe(Object(g.a)(()=>t.checked),Object(A.a)(t.checked))}var X=c(60);function V(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function G({x:e,y:t}){window.scrollTo(e||0,t||0)}function Z(){return{width:innerWidth,height:innerHeight}}function ee(e,{header$:t,viewport$:c}){const a=c.pipe(Object(X.a)("size")),n=Object(i.a)([a,t]).pipe(Obje
//# sourceMappingURL=bundle.00f9b4e0.min.js.map