mkdocs-material/material/assets/javascripts/bundle.15008d17.min.js

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