mkdocs-material/material/assets/javascripts/bundle.6b6cf576.min.js
2021-02-12 17:08:58 +01:00

2 lines
25 KiB
JavaScript

!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var a,o,i=t[0],s=t[1],p=t[2],u=0,l=[];u<i.length;u++)o=i[u],Object.prototype.hasOwnProperty.call(c,o)&&c[o]&&l.push(c[o][0]),c[o]=0;for(a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a]);for(b&&b(t);l.length;)l.shift()();return r.push.apply(r,p||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,i=1;i<n.length;i++){var s=n[i];0!==c[s]&&(a=!1)}a&&(r.splice(t--,1),e=o(o.s=n[0]))}return e}var a={},c={0:0},r=[];function o(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=a,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},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 n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));return n},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 p=0;p<i.length;p++)t(i[p]);var b=s;return r.push([50,1]),n()}({50:function(e,t,n){"use strict";n.r(t),n.d(t,"document$",(function(){return st})),n.d(t,"location$",(function(){return pt})),n.d(t,"target$",(function(){return bt})),n.d(t,"keyboard$",(function(){return ut})),n.d(t,"viewport$",(function(){return lt})),n.d(t,"tablet$",(function(){return ft})),n.d(t,"screen$",(function(){return dt})),n.d(t,"print$",(function(){return Ot})),n.d(t,"component$",(function(){return yt}));n(47);var a=n(24),c=n(52),r=n(54),o=n(43),i=n(33),s=n(38),p=n(58),b=n(65),u=n(40),l=n(51),f=n(41);function d(e,t=document){return t.querySelector(e)||void 0}function O(e,t=document){const n=d(e,t);if(void 0===n)throw new ReferenceError(`Missing element: expected "${e}" to be present`);return n}function h(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function j(e,t=document){return Array.from(t.querySelectorAll(e))}function m(e){return document.createElement(e)}function g(e,t){e.replaceWith(t)}var v=n(53);function w(e,t=!0){t?e.focus():e.blur()}var $=n(55),y=n(56),x=n(57),_=n(59);const E=new a.a,k=Object(r.a)(()=>Object($.a)(new ResizeObserver(e=>{for(const t of e)E.next(t)}))).pipe(Object(s.a)(e=>y.a.pipe(Object(v.a)(e)).pipe(Object(x.a)(()=>e.disconnect()))),Object(p.a)(1));function A(e){return{width:e.offsetWidth,height:e.offsetHeight}}function S(e){return k.pipe(Object(_.a)(t=>t.observe(e)),Object(s.a)(t=>E.pipe(Object(o.a)(({target:t})=>t===e),Object(x.a)(()=>t.unobserve(e)),Object(i.a)(({contentRect:e})=>({width:e.width,height:e.height})))),Object(v.a)(A(e)))}var T=n(42);const R={drawer:O("[data-md-toggle=drawer]"),search:O("[data-md-toggle=search]")};function M(e,t){R[e].checked!==t&&R[e].click()}var C=n(60);function L(){return new URL(location.href)}function P(){return location.hash.substring(1)}function U(e){const t=matchMedia(e);return Object(l.a)(t,"change").pipe(Object(i.a)(e=>e.matches),Object(v.a)(t.matches))}function N(e,t){return e.pipe(Object(s.a)(e=>e?t():y.a))}var H=n(6);function I(e,t={credentials:"same-origin"}){return Object(H.a)(fetch(e,t)).pipe(Object(o.a)(e=>200===e.status))}function z(e,t){return I(e,t).pipe(Object(s.a)(e=>e.json()),Object(p.a)(1))}var D=n(46),Y=n(61);function F(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function q({x:e,y:t}){window.scrollTo(e||0,t||0)}function J(){return{width:innerWidth,height:innerHeight}}function W(e,{viewport$:t,header$:n}){const a=t.pipe(Object(Y.a)("size")),c=Object(D.a)([a,n]).pipe(Object(i.a)(()=>({x:e.offsetLeft,y:e.offsetTop})));return Object(D.a)([n,t,c]).pipe(Object(i.a)(([{height:e},{offset:t,size:n},{x:a,y:c}])=>({offset:{x:t.x-a,y:t.y-c+e},size:n})))}var K=n(62),Q=n(63);const B=O("#__config"),X=JSON.parse(B.textContent);function V(){return X}function G(e){return X.features.includes(e)}function Z(e,t){return void 0!==t?X.translations[e].replace("#",t.toString()):X.translations[e]}X.base=new URL(X.base,L()).toString().replace(/\/$/,"");var ee,te=n(26),ne=n.n(te),ae=n(64);function ce(e,t){e.setAttribute("data-md-state",t)}function re(e){e.removeAttribute("data-md-state")}function oe(e,t){e.classList.toggle("md-nav__link--active",t)}function ie(e){e.classList.remove("md-nav__link--active")}function se(e,t){e.appendChild(t)}function pe(e){e.removeAttribute("data-md-state")}function be(e,t){if("string"==typeof t||"number"==typeof t)e.innerHTML+=t.toString();else if(t instanceof Node)e.appendChild(t);else if(Array.isArray(t))for(const n of t)be(e,n)}function ue(e,t,...n){const a=document.createElement(e);if(t)for(const e of Object.keys(t))"boolean"!=typeof t[e]?a.setAttribute(e,t[e]):t[e]&&a.setAttribute(e,"");for(const e of n)be(a,e);return a}function le(e){if(e>999){return((e+1e-6)/1e3).toFixed(+((e-950)%1e3>99))+"k"}return e.toString()}function fe(e,t){const n=t&ee.PARENT,a=t&ee.TEASER,c=Object.keys(e.terms).filter(t=>!e.terms[t]).map(e=>[ue("del",null,e)," "]).flat().slice(0,-1);return ue("a",{href:e.location,class:"md-search-result__link",tabIndex:-1},ue("article",{class:["md-search-result__article",...n?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},n>0&&ue("div",{class:"md-search-result__icon md-icon"}),ue("h1",{class:"md-search-result__title"},e.title),a>0&&e.text.length>0&&ue("p",{class:"md-search-result__teaser"},function(e,t){let n=t;if(e.length>n){for(;" "!==e[n]&&--n>0;);return e.substring(0,n)+"..."}return e}(e.text,320)),a>0&&c.length>0&&ue("p",{class:"md-search-result__terms"},Z("search.result.term.missing"),": ",c)))}function de(e,t=1/0){const n=[...e],a=n.findIndex(e=>!e.location.includes("#")),[c]=n.splice(a,1);let r=n.findIndex(e=>e.score<t);-1===r&&(r=n.length);const o=n.slice(0,r),i=n.slice(r),s=[fe(c,ee.PARENT|+(!a&&0===r)),...o.map(e=>fe(e,ee.TEASER)),...i.length?[ue("details",{class:"md-search-result__more"},ue("summary",{tabIndex:-1},i.length>0&&1===i.length?Z("search.result.more.one"):Z("search.result.more.other",i.length)),i.map(e=>fe(e,ee.TEASER)))]:[]];return ue("li",{class:"md-search-result__item"},s)}!function(e){e[e.TEASER=1]="TEASER",e[e.PARENT=2]="PARENT"}(ee||(ee={}));let Oe=0;function he(e,t){const n=new a.a;if(n.pipe(Object(ae.a)(U("(hover)"))).subscribe(([{scroll:t},n])=>{t&&n?function(e,t=0){e.setAttribute("tabindex",t.toString())}(e):function(e){e.removeAttribute("tabindex")}(e)}),ne.a.isSupported()){const t=e.closest("pre");t.id="__code_"+Oe++,t.insertBefore((c=t.id,ue("button",{class:"md-clipboard md-icon",title:Z("clipboard.copy"),"data-clipboard-target":`#${c} > code`})),e)}var c;return function(e,{viewport$:t}){return t.pipe(Object(Y.a)("size"),Object(i.a)(()=>{const t=A(e);return{scroll:function(e){return{width:e.scrollWidth,height:e.scrollHeight}}(e).width>t.width}}),Object(Y.a)("scroll"))}(e,t).pipe(Object(_.a)(n),Object(x.a)(()=>n.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}function je(e,t){const n=new a.a;return n.subscribe(()=>{e.setAttribute("open",""),e.scrollIntoView()}),function(e,{target$:t,print$:n}){return t.pipe(Object(i.a)(e=>e.closest("details:not([open])")),Object(o.a)(t=>e===t),Object(b.a)(n),Object(f.a)(e))}(e,t).pipe(Object(_.a)(n),Object(x.a)(()=>n.complete()),Object(f.a)({ref:e}))}const me=m("table");function ge(e){return g(e,me),g(me,ue("div",{class:"md-typeset__scrollwrap"},ue("div",{class:"md-typeset__table"},e))),Object($.a)({ref:e})}var ve=n(77),we=n(78),$e=n(66);function ye(e,t){const n=new a.a;return n.pipe(Object($e.a)(ve.a)).subscribe(({message:t,open:n})=>{!function(e,t){e.firstElementChild.innerHTML=t}(e,t),n?function(e,t){e.setAttribute("data-md-state",t)}(e,"open"):function(e){e.removeAttribute("data-md-state")}(e)}),function(e,{alert$:t}){return t.pipe(Object(s.a)(e=>Object(c.a)(Object($.a)(!0),Object($.a)(!1).pipe(Object(we.a)(2e3))).pipe(Object(i.a)(t=>({message:e,open:t})))))}(0,t).pipe(Object(_.a)(n),Object(x.a)(()=>n.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}var xe=n(67),_e=n(44),Ee=n(68);function ke({viewport$:e}){if(!G("header.autohide"))return Object($.a)(!1);const t=e.pipe(Object(i.a)(({offset:{y:e}})=>e),Object(xe.a)(2,1),Object(i.a)(([e,t])=>[e<t,t]),Object(Y.a)(0)),n=Object(D.a)([e,t]).pipe(Object(o.a)(([{offset:e},[,t]])=>Math.abs(t-e.y)>100),Object(i.a)(([,[e]])=>e),Object(_e.a)()),a=function(e){const t=R[e];return Object(l.a)(t,"change").pipe(Object(i.a)(()=>t.checked),Object(v.a)(t.checked))}("search");return Object(D.a)([e,a]).pipe(Object(i.a)(([{offset:e},t])=>e.y>400&&!t),Object(_e.a)(),Object(s.a)(e=>e?n:y.a),Object(v.a)(!1))}function Ae(e,t){const n=new a.a;n.pipe(Object($e.a)(ve.a)).subscribe(({active:t})=>{t?function(e,t){e.setAttribute("data-md-state",t)}(e,"active"):function(e){e.removeAttribute("data-md-state")}(e)});const c=d("article h1");return void 0===c?y.a:function(e,{viewport$:t,header$:n}){return W(e,{header$:n,viewport$:t}).pipe(Object(i.a)(({offset:{y:t}})=>{const{height:n}=A(e);return{active:t>=n}}),Object(Y.a)("active"))}(c,t).pipe(Object(_.a)(n),Object(x.a)(()=>n.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}var Se=n(71),Te=n(39),Re=n(4);var Me=n(21),Ce=n(69),Le=n(70),Pe=n(72),Ue=n(73),Ne=n(79);var He;n(45);function Ie(e){return e.split(/"([^"]+)"/g).map((e,t)=>1&t?e.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):e).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}function ze(e){return e.type===He.READY}function De(e){return e.type===He.QUERY}function Ye(e){return e.type===He.RESULT}function Fe({config:e,docs:t,index:n}){1===e.lang.length&&"en"===e.lang[0]&&(e.lang=[Z("search.config.lang")]),"[\\s\\-]+"===e.separator&&(e.separator=Z("search.config.separator"));return{config:e,docs:t,index:n,pipeline:Z("search.config.pipeline").split(/\s*,\s*/).filter(Boolean)}}function qe(e,t){const n=V(),c=new Worker(e),r=new a.a,o=function(e,{tx$:t}){const n=Object(l.a)(e,"message").pipe(Object(i.a)(({data:e})=>e));return t.pipe(Object(K.a)(()=>n,{leading:!0,trailing:!0}),Object(_.a)(t=>e.postMessage(t)),Object(Q.a)(n),Object(T.a)())}(c,{tx$:r}).pipe(Object(i.a)(e=>{if(Ye(e))for(const t of e.data)for(const e of t)e.location=`${n.base}/${e.location}`;return e}),Object(T.a)());return Object(H.a)(t).pipe(Object(i.a)(e=>({type:He.SETUP,data:Fe(e)}))).subscribe(r.next.bind(r)),{tx$:r,rx$:o}}!function(e){e[e.SETUP=0]="SETUP",e[e.READY=1]="READY",e[e.QUERY=2]="QUERY",e[e.RESULT=3]="RESULT"}(He||(He={}));var Je=n(74),We=n(75);function Ke(e){const t=(null===__search||void 0===__search?void 0:__search.transform)||Ie,n=function(e){return Object(c.a)(Object(l.a)(e,"focus"),Object(l.a)(e,"blur")).pipe(Object(i.a)(({type:e})=>"focus"===e),Object(v.a)(e===h()))}(e),a=Object(c.a)(Object(l.a)(e,"keyup"),Object(l.a)(e,"focus").pipe(Object(we.a)(1))).pipe(Object(i.a)(()=>t(e.value)),Object(v.a)(t(e.value)),Object(_e.a)());return Object(D.a)([a,n]).pipe(Object(i.a)(([e,t])=>({value:e,focus:t})))}function Qe(e,{tx$:t}){const n=new a.a;return n.pipe(Object(Y.a)("value"),Object(i.a)(({value:e})=>({type:He.QUERY,data:e}))).subscribe(t.next.bind(t)),n.pipe(Object(Y.a)("focus")).subscribe(({focus:t})=>{t?(M("search",t),function(e,t){e.placeholder=t}(e,"")):function(e){e.placeholder=Z("search.placeholder")}(e)}),Object(l.a)(e.form,"reset").pipe(Object(Je.a)(n.pipe(Object(We.a)(1)))).subscribe(()=>w(e)),Ke(e).pipe(Object(_.a)(n),Object(x.a)(()=>n.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}function Be(e,{rx$:t},{query$:n}){const c=new a.a,r=O(":scope > :first-child",e);c.pipe(Object(ae.a)(n)).subscribe(([{data:e},{value:t}])=>{t?function(e,t){switch(t){case 0:e.textContent=Z("search.result.none");break;case 1:e.textContent=Z("search.result.one");break;default:e.textContent=Z("search.result.other",t)}}(r,e.length):function(e){e.textContent=Z("search.result.placeholder")}(r)});const s=O(":scope > :last-child",e);c.subscribe(({data:e})=>{!function(e){e.innerHTML=""}(s);const t=[...e.map(([e])=>e.score),0];for(let n=0;n<e.length;n++)se(s,de(e[n++],t[n]))});return t.pipe(Object(o.a)(Ye),Object(i.a)(({data:e})=>({data:e})),Object(v.a)({data:[]})).pipe(Object(_.a)(c),Object(x.a)(()=>c.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}function Xe(e,{keyboard$:t}){const n=V(),a=qe(n.search,(r=n.base+"/search/search_index.json",(null===__search||void 0===__search?void 0:__search.index)||z(r)));var r;const i=O("[data-md-component=search-query]",e),s=O("[data-md-component=search-result]",e),{tx$:p,rx$:b}=a;p.pipe(Object(o.a)(De),Object(Se.a)(b.pipe(Object(o.a)(ze))),Object(Te.a)(1)).subscribe(p.next.bind(p)),t.pipe(Object(o.a)(({mode:e})=>"search"===e)).subscribe(e=>{const t=h();switch(e.type){case"Enter":t===i&&e.claim();break;case"Escape":case"Tab":M("search",!1),w(i,!1);break;case"ArrowUp":case"ArrowDown":if(void 0===t)w(i);else{const n=[i,...j(":not(details) > [href], summary, details[open] [href]",s)],a=Math.max(0,(Math.max(0,n.indexOf(t))+n.length+("ArrowUp"===e.type?-1:1))%n.length);w(n[a])}e.claim();break;default:i!==h()&&w(i)}}),t.pipe(Object(o.a)(({mode:e})=>"global"===e)).subscribe(e=>{switch(e.type){case"f":case"s":case"/":w(i),function(e){if(!(e instanceof HTMLInputElement))throw new Error("Not implemented");e.select()}(i),e.claim()}});const u=Qe(i,a);return Object(c.a)(u,Be(s,a,{query$:u}))}var Ve=n(25);function Ge(e,t){var{header$:n}=t,c=Object(Ve.c)(t,["header$"]);const r=new a.a;return r.pipe(Object($e.a)(ve.a),Object(ae.a)(n)).subscribe({next([{height:t},{height:n}]){!function(e,t){const n=e.firstElementChild;n.style.height=t-2*n.offsetTop+"px"}(e,t),function(e,t){e.style.top=t+"px"}(e,n)},complete(){!function(e){e.style.top=""}(e),function(e){e.firstElementChild.style.height=""}(e)}}),function(e,{viewport$:t,main$:n}){const a=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return Object(D.a)([n,t]).pipe(Object(i.a)(([{offset:e,height:t},{offset:{y:n}}])=>({height:t=t+Math.min(a,Math.max(0,n-e))-a,locked:n>=e+a})),Object(_e.a)((e,t)=>e.height===t.height&&e.locked===t.locked))}(e,c).pipe(Object(_.a)(r),Object(x.a)(()=>r.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}var Ze=n(76);function et(e){const[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":const[,t,n]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return function(e,t){return z(void 0!==t?`https://api.github.com/repos/${e}/${t}`:"https://api.github.com/users/"+e).pipe(Object(i.a)(e=>{if(void 0!==t){const{stargazers_count:t,forks_count:n}=e;return[le(t)+" Stars",le(n)+" Forks"]}{const{public_repos:t}=e;return[le(t)+" Repositories"]}}),Object(Ze.a)([]))}(t,n);case"gitlab":const[,a,c]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return function(e,t){return z(`https://${e}/api/v4/projects/${encodeURIComponent(t)}`).pipe(Object(i.a)(({star_count:e,forks_count:t})=>[le(e)+" Stars",le(t)+" Forks"]),Object(Ze.a)([]))}(a,c);default:return y.a}}let tt;function nt(e){const t=new a.a;return t.subscribe(({facts:t})=>{!function(e,t){e.lastElementChild.appendChild(t)}(e,function(e){return ue("ul",{class:"md-source__facts"},e.map(e=>ue("li",{class:"md-source__fact"},e)))}(t)),function(e,t){e.lastElementChild.setAttribute("data-md-state",t)}(e,"done")}),function(e){const t=function(e){let t=0;for(let n=0,a=e.length;n<a;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return t}(e.href).toString();return tt||(tt=Object(r.a)(()=>{const n=sessionStorage.getItem(t);if(n)return Object($.a)(JSON.parse(n));{const n=et(e.href);return n.subscribe(e=>{try{sessionStorage.setItem(t,JSON.stringify(e))}catch(e){}}),n}}).pipe(Object(Le.a)(()=>y.a),Object(o.a)(e=>e.length>0),Object(i.a)(e=>({facts:e})),Object(p.a)(1)))}(e).pipe(Object(_.a)(t),Object(x.a)(()=>t.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}function at(e,t){const n=new a.a;return n.pipe(Object($e.a)(ve.a)).subscribe({next({hidden:t}){t?function(e,t){e.setAttribute("data-md-state",t)}(e,"hidden"):pe(e)},complete(){pe(e)}}),function(e,{viewport$:t,header$:n}){return W(e,{header$:n,viewport$:t}).pipe(Object(i.a)(({offset:{y:e}})=>({hidden:e>=10})),Object(Y.a)("hidden"))}(e,t).pipe(Object(_.a)(n),Object(x.a)(()=>n.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}var ct=n(80);function rt(e,t){const n=new a.a;n.pipe(Object($e.a)(ve.a)).subscribe(({prev:e,next:t})=>{for(const[e]of t)ie(e),re(e);for(const[t,[n]]of e.entries())oe(n,t===e.length-1),ce(n,"blur")});return function(e,{viewport$:t,header$:n}){const a=new Map;for(const t of e){const e=d(`[id="${decodeURIComponent(t.hash.substring(1))}"]`);void 0!==e&&a.set(t,e)}const c=n.pipe(Object(i.a)(e=>24+e.height));return S(document.body).pipe(Object(Y.a)("height"),Object(i.a)(()=>{let e=[];return[...a].reduce((t,[n,c])=>{for(;e.length;){if(!(a.get(e[e.length-1]).tagName>=c.tagName))break;e.pop()}let r=c.offsetTop;for(;!r&&c.parentElement;)r=(c=c.parentElement).offsetTop;return t.set([...e=[...e,n]].reverse(),r)},new Map)}),Object(s.a)(e=>Object(D.a)([c,t]).pipe(Object(ct.a)(([e,t],[n,{offset:{y:a}}])=>{for(;t.length;){const[,c]=t[0];if(!(c-n<a))break;e=[...e,t.shift()]}for(;e.length;){const[,c]=e[e.length-1];if(!(c-n>=a))break;t=[e.pop(),...t]}return[e,t]},[[],[...e]]),Object(_e.a)((e,t)=>e[0]===t[0]&&e[1]===t[1])))).pipe(Object(i.a)(([e,t])=>({prev:e.map(([e])=>e),next:t.map(([e])=>e)})),Object(v.a)({prev:[],next:[]}),Object(xe.a)(2,1),Object(i.a)(([e,t])=>e.prev.length<t.prev.length?{prev:t.prev.slice(Math.max(0,e.prev.length-1),t.prev.length),next:[]}:{prev:t.prev.slice(-1),next:t.next.slice(0,t.next.length-e.next.length)}))}(j("[href^=\\#]",e),t).pipe(Object(_.a)(n),Object(x.a)(()=>n.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}var ot=n(14);function it(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}document.documentElement.classList.remove("no-js"),document.documentElement.classList.add("js");const st=function(){const e=new u.a;return Object(l.a)(document,"DOMContentLoaded").pipe(Object(f.a)(document)).subscribe(e),e}(),pt=new C.a(L()),bt=Object(l.a)(window,"hashchange").pipe(Object(i.a)(P),Object(v.a)(P()),Object(o.a)(e=>e.length>0),Object(T.a)()).pipe(Object(s.a)(e=>Object($.a)(d(`[id="${e}"]`)))),ut=Object(l.a)(window,"keydown").pipe(Object(o.a)(e=>!(e.metaKey||e.ctrlKey)),Object(i.a)(e=>{return{mode:(t="search",R[t].checked?"search":"global"),type:e.key,claim(){e.preventDefault(),e.stopPropagation()}};var t}),Object(o.a)(({mode:e})=>{if("global"===e){const e=h();if(void 0!==e)return!function(e){switch(e.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return e.isContentEditable}}(e)}return!0}),Object(T.a)()),lt=Object(D.a)([Object(c.a)(Object(l.a)(window,"scroll",{passive:!0}),Object(l.a)(window,"resize",{passive:!0})).pipe(Object(i.a)(F),Object(v.a)(F())),Object(l.a)(window,"resize",{passive:!0}).pipe(Object(i.a)(J),Object(v.a)(J()))]).pipe(Object(i.a)(([e,t])=>({offset:e,size:t})),Object(p.a)(1)),ft=U("(min-width: 960px)"),dt=U("(min-width: 1220px)"),Ot=Object(c.a)(U("print").pipe(Object(o.a)(Boolean)),Object(l.a)(window,"beforeprint")).pipe(Object(f.a)(void 0)),ht=new a.a;!function({alert$:e}){ne.a.isSupported()&&new Re.a(e=>{new ne.a("[data-clipboard-target], [data-clipboard-text]").on("success",t=>e.next(t))}).subscribe(()=>e.next(Z("clipboard.copied")))}({alert$:ht}),G("navigation.instant")&&function({document$:e,location$:t,viewport$:n}){const a=V();if("file:"===location.protocol)return;"scrollRestoration"in history&&(history.scrollRestoration="manual",Object(l.a)(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));const r=d("link[rel='shortcut icon']");void 0!==r&&(r.href=r.href);const b=function(e,t){const n=new DOMParser;return I(e,t).pipe(Object(s.a)(e=>e.text()),Object(i.a)(e=>n.parseFromString(e,"text/xml")),Object(p.a)(1))}(a.base+"/sitemap.xml").pipe(Object(i.a)(e=>function(e){if(e.length<2)return e;const[t,n]=e.sort((e,t)=>e.length-t.length);let a=0;if(t===n)a=t.length;else for(;t.charCodeAt(a)==t.charCodeAt(a);)a++;const c=V();return e.map(e=>e.replace(t.slice(0,a),c.base+"/"))}(j("loc",e).map(e=>e.textContent))),Object(s.a)(e=>Object(l.a)(document.body,"click").pipe(Object(o.a)(e=>!e.metaKey&&!e.ctrlKey),Object(s.a)(t=>{if(t.target instanceof HTMLElement){const n=t.target.closest("a");if(n&&!n.target&&e.includes(n.href))return t.preventDefault(),Object($.a)({url:new URL(n.href)})}return y.a}))),Object(T.a)()),u=Object(l.a)(window,"popstate").pipe(Object(o.a)(e=>null!==e.state),Object(i.a)(e=>({url:new URL(location.href),offset:e.state})),Object(T.a)());Object(c.a)(b,u).pipe(Object(_e.a)((e,t)=>e.url.href===t.url.href),Object(i.a)(({url:e})=>e)).subscribe(t);const f=t.pipe(Object(Y.a)("pathname"),Object(Ce.a)(1),Object(s.a)(e=>I(e.href).pipe(Object(Le.a)(()=>(function(e){location.href=e.href}(e),y.a)))),Object(T.a)());b.pipe(Object(Se.a)(f)).subscribe(({url:e})=>{history.pushState({},"",e.toString())});const h=new DOMParser;f.pipe(Object(s.a)(e=>e.text()),Object(i.a)(e=>h.parseFromString(e,"text/html"))).subscribe(e),Object(c.a)(b,u).pipe(Object(Se.a)(e)).subscribe(({url:e,offset:t})=>{e.hash&&!t?function(e){const t=m("a");t.href=e,t.addEventListener("click",e=>e.stopPropagation()),t.click()}(e.hash):q(t||{y:0})}),e.pipe(Object(Ce.a)(1)).subscribe(e=>{for(const t of["title","link[rel='canonical']","meta[name='author']","meta[name='description']","[data-md-component=announce]","[data-md-component=header-title]","[data-md-component=container]","[data-md-component=skip]"]){const n=d(t),a=d(t,e);void 0!==n&&void 0!==a&&g(n,a)}}),e.pipe(Object(Ce.a)(1),Object(i.a)(()=>O("[data-md-component=container]")),Object(s.a)(e=>Object($.a)(...j("script",e))),Object(Pe.a)(e=>{const t=m("script");return e.src?(t.src=e.src,g(e,t),new Re.a(e=>{t.onload=()=>e.complete()})):(t.textContent=e.textContent,g(e,t),Me.a)})).subscribe(),n.pipe(Object(Ue.a)(b),Object(Ne.a)(250),Object(Y.a)("offset")).subscribe(({offset:e})=>{history.replaceState(e,"")}),Object(c.a)(b,u).pipe(Object(xe.a)(2,1),Object(o.a)(([e,t])=>e.url.pathname===t.url.pathname),Object(i.a)(([,e])=>e)).subscribe(({offset:e})=>{q(e||{y:0})})}({document$:st,location$:pt,viewport$:lt}),Object(c.a)(pt,bt).subscribe(()=>M("drawer",!1)),ut.pipe(Object(o.a)(({mode:e})=>"global"===e)).subscribe(e=>{switch(e.type){case"p":case",":const e=d("[href][rel=prev]");void 0!==e&&e.click();break;case"n":case".":const t=d("[href][rel=next]");void 0!==t&&t.click()}}),function({document$:e}){e.subscribe(()=>{for(const e of j("[data-md-state=indeterminate]"))e.setAttribute("data-md-state",""),e.indeterminate=!0,e.checked=!1})}({document$:st}),function({document$:e}){e.pipe(Object(s.a)(()=>Object($.a)(...j("[data-md-scrollfix]"))),Object(_.a)(e=>e.removeAttribute("data-md-scrollfix")),Object(o.a)(it),Object(ot.a)(e=>Object(l.a)(e,"touchstart").pipe(Object(f.a)(e)))).subscribe(e=>{const t=e.scrollTop;0===t?e.scrollTop=1:t+e.offsetHeight===e.scrollHeight&&(e.scrollTop=t-1)})}({document$:st});const jt=(mt=O("[data-md-component=header]"),gt={viewport$:lt},Object(r.a)(()=>{const e=getComputedStyle(mt);return Object($.a)("sticky"===e.position||"-webkit-sticky"===e.position)}).pipe(Object(Ee.a)(S(mt),ke(gt)),Object(i.a)(([e,{height:t},n])=>({height:e?t:0,sticky:e,hidden:n})),Object(_e.a)((e,t)=>e.sticky===t.sticky&&e.height===t.height&&e.hidden===t.hidden),Object(p.a)(1)));var mt,gt;const vt=st.pipe(Object(i.a)(()=>O("[data-md-component=main]")),Object(s.a)(e=>function(e,{viewport$:t,header$:n}){const a=n.pipe(Object(i.a)(({height:e})=>e),Object(_e.a)()),c=a.pipe(Object(s.a)(()=>S(e).pipe(Object(i.a)(({height:t})=>({top:e.offsetTop,bottom:e.offsetTop+t})),Object(Y.a)("bottom"))));return Object(D.a)([a,c,t]).pipe(Object(i.a)(([e,{top:t,bottom:n},{offset:{y:a},size:{height:c}}])=>({offset:t-e,height:c=Math.max(0,c-Math.max(0,t-a,e)-Math.max(0,c+a-n)),active:t-e<=a})),Object(_e.a)((e,t)=>e.offset===t.offset&&e.height===t.height&&e.active===t.active))}(e,{viewport$:lt,header$:jt})),Object(p.a)(1)),wt=Object(c.a)(...j("[data-md-component=dialog]").map(e=>ye(e,{alert$:ht})),...j("[data-md-component=header]").map(e=>function(e,{header$:t,main$:n}){const c=new a.a;return c.pipe(Object(Y.a)("active"),Object(Ee.a)(t),Object($e.a)(ve.a)).subscribe(([{active:t},{hidden:n}])=>{t?function(e,t){e.setAttribute("data-md-state",t)}(e,n?"hidden":"shadow"):function(e){e.removeAttribute("data-md-state")}(e)}),n.subscribe(e=>c.next(e)),t.pipe(Object(i.a)(t=>Object.assign({ref:e},t)))}(e,{viewport$:lt,header$:jt,main$:vt})),...j("[data-md-component=search]").map(e=>Xe(e,{keyboard$:ut})),...j("[data-md-component=source]").map(e=>nt(e)),...j("[data-md-component=tabs]").map(e=>at(e,{viewport$:lt,header$:jt}))),$t=Object(r.a)(()=>Object(c.a)(...j("[data-md-component=content]").map(e=>function(e,{target$:t,viewport$:n,print$:a}){return Object(c.a)(...j("pre > code",e).map(e=>he(e,{viewport$:n})),...j("table:not([class])",e).map(e=>ge(e)),...j("details",e).map(e=>je(e,{target$:t,print$:a})))}(e,{target$:bt,viewport$:lt,print$:Ot})),...j("[data-md-component=header-title]").map(e=>Ae(e,{viewport$:lt,header$:jt})),...j("[data-md-component=sidebar]").map(e=>"navigation"===e.getAttribute("data-md-type")?N(dt,()=>Ge(e,{viewport$:lt,header$:jt,main$:vt})):N(ft,()=>Ge(e,{viewport$:lt,header$:jt,main$:vt}))),...j("[data-md-component=toc]").map(e=>rt(e,{viewport$:lt,header$:jt})))),yt=st.pipe(Object(s.a)(()=>$t),Object(b.a)(wt));yt.subscribe()}}));
//# sourceMappingURL=bundle.6b6cf576.min.js.map