!function(e,t){for(var c in t)e[c]=t[c]}(window,function(e){function t(t){for(var n,o,i=t[0],s=t[1],b=t[2],j=0,O=[];j"focus"===e),Object(d.a)(e===b()))}function m(e){return{x:e.scrollLeft,y:e.scrollTop}}function g(e){return Object(p.a)(Object(a.a)(e,"scroll"),Object(a.a)(window,"resize")).pipe(Object(f.a)(()=>m(e)),Object(d.a)(m(e)))}function v(e){if(!(e instanceof HTMLInputElement))throw new Error("Not implemented");e.select()}var $=c(25),y=c(47),w=c(65),x=c(66),k=c(41),E=c(67),S=c(68),_=c(69),A=c(49);const T=new $.a,C=Object(y.a)(()=>Object(w.a)(new ResizeObserver(e=>{for(const t of e)T.next(t)}))).pipe(Object(k.a)(e=>x.a.pipe(Object(d.a)(e)).pipe(Object(E.a)(()=>e.disconnect()))),Object(S.a)({bufferSize:1,refCount:!0}));function R(e){return C.pipe(Object(_.a)(t=>t.observe(e)),Object(k.a)(t=>T.pipe(Object(A.a)(({target:t})=>t===e),Object(E.a)(()=>t.unobserve(e)),Object(f.a)(({contentRect:e})=>({width:e.width,height:e.height})))),Object(d.a)(function(e){return{width:e.offsetWidth,height:e.offsetHeight}}(e)))}var M=c(48);function z(e){switch(e.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return e.isContentEditable}}function L(){return Object(a.a)(window,"keydown").pipe(Object(A.a)(e=>!(e.metaKey||e.ctrlKey)),Object(f.a)(e=>({type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),Object(M.a)())}var P=c(70);function U(e){location.href=e.href}function H(e,t=location){return e.host===t.host&&/^(?:\/[\w-]+)*(?:\/?|\.html)$/i.test(e.pathname)}function q(e,t=location){return e.pathname===t.pathname&&e.hash.length>0}function I(){return new P.a(new URL(location.href))}var N=c(42);function D(e,{location$:t}){return t.pipe(Object(N.a)(1),Object(f.a)(({href:t})=>new URL(e,t).toString().replace(/\/$/,"")),Object(S.a)({bufferSize:1,refCount:!0}))}function Y(){return location.hash.substring(1)}function B(e){const t=j("a");t.href=e,t.addEventListener("click",e=>e.stopPropagation()),t.click()}function F(){return Object(a.a)(window,"hashchange").pipe(Object(f.a)(Y),Object(d.a)(Y()),Object(A.a)(e=>e.length>0),Object(M.a)())}var J=c(7);function K(e){const t=matchMedia(e);return new J.a(e=>{t.addListener(t=>e.next(t.matches))}).pipe(Object(d.a)(t.matches),Object(S.a)({bufferSize:1,refCount:!0}))}const W={drawer:s("[data-md-toggle=drawer]"),search:s("[data-md-toggle=search]")};function Q(e){return W[e].checked}function X(e,t){W[e].checked!==t&&W[e].click()}function V(e){const t=W[e];return Object(a.a)(t,"change").pipe(Object(f.a)(()=>t.checked),Object(d.a)(t.checked))}var G=c(52),Z=c(71);function ee(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function te({x:e,y:t}){window.scrollTo(e||0,t||0)}function ce(){return{width:innerWidth,height:innerHeight}}function ne(){return Object(G.a)([Object(p.a)(Object(a.a)(window,"scroll",{passive:!0}),Object(a.a)(window,"resize",{passive:!0})).pipe(Object(f.a)(ee),Object(d.a)(ee())),Object(a.a)(window,"resize",{passive:!0}).pipe(Object(f.a)(ce),Object(d.a)(ce()))]).pipe(Object(f.a)(([e,t])=>({offset:e,size:t})),Object(S.a)({bufferSize:1,refCount:!0}))}function ae(e,{header$:t,viewport$:c}){const n=c.pipe(Object(Z.a)("size")),a=Object(G.a)([n,t]).pipe(Object(f.a)(()=>({x:e.offsetLeft,y:e.offsetTop})));return Object(G.a)([t,c,a]).pipe(Object(f.a)(([{height:e},{offset:t,size:c},{x:n,y:a}])=>({offset:{x:t.x-n,y:t.y-a+e},size:c})))}var re=c(72),oe=c(73);function ie(e,{tx$:t}){const c=Object(a.a)(e,"message").pipe(Object(f.a)(({data:e})=>e));return t.pipe(Object(re.a)(()=>c,{leading:!0,trailing:!0}),Object(_.a)(t=>e.postMessage(t)),Object(oe.a)(c),Object(M.a)())}},1:function(e,t,c){"use strict";function n(e){return"object"==typeof e&&"string"==typeof e.base&&"object"==typeof e.features&&"object"==typeof e.search}function a(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 c of t)a(e,c)}function r(e,t,...c){const n=document.createElement(e);if(t)for(const e of Object.keys(t))"boolean"!=typeof t[e]?n.setAttribute(e,t[e]):t[e]&&n.setAttribute(e,"");for(const e of c)a(n,e);return n}c.d(t,"d",(function(){return n})),c.d(t,"b",(function(){return r})),c.d(t,"a",(function(){return s})),c.d(t,"f",(function(){return j})),c.d(t,"g",(function(){return O})),c.d(t,"e",(function(){return p})),c.d(t,"c",(function(){return f}));var o=c(47),i=c(65);function s(e,t){return Object(o.a)(()=>{const c=sessionStorage.getItem(e);if(c)return Object(i.a)(JSON.parse(c));{const c=t();return c.subscribe(t=>{try{sessionStorage.setItem(e,JSON.stringify(t))}catch(e){}}),c}})}var b=c(0);let u;function j(e,t){if(void 0===u){const e=Object(b.d)("#__lang");u=JSON.parse(e.textContent)}if(void 0===u[e])throw new ReferenceError("Invalid translation: "+e);return void 0!==t?u[e].replace("#",t.toString()):u[e]}function O(e,t){let c=t;if(e.length>c){for(;" "!==e[c]&&--c>0;);return e.substring(0,c)+"..."}return e}function p(e){if(e>999){return((e+1e-6)/1e3).toFixed(+((e-950)%1e3>99))+"k"}return e.toString()}function f(e){let t=0;for(let c=0,n=e.length;cvoid 0!==t[e]?Object(r.a)(t[e]):k.a),Object($.a)())}var A=c(31),T=c(88),C=c(64),R=c(67);function M({document$:e,viewport$:t}){return Object(A.a)(Object(O.a)(c=>{const n=function(e,{document$:t}){return t.pipe(Object(g.a)(()=>{const t=getComputedStyle(e);return["sticky","-webkit-sticky"].includes(t.position)}),Object($.a)(),Object(O.a)(t=>t?Object(x.t)(e).pipe(Object(g.a)(({height:e})=>({sticky:!0,height:e}))):Object(r.a)({sticky:!1,height:0})),Object(j.a)({bufferSize:1,refCount:!0}))}(c,{document$:e}),a=_("main").pipe(Object(g.a)(e=>Object(x.c)("h1, h2, h3, h4, h5, h6",e)),Object(m.a)(e=>void 0!==e),Object(T.a)(_("header-title")),Object(O.a)(([e,c])=>Object(x.B)(e,{header$:n,viewport$:t}).pipe(Object(g.a)(({offset:{y:t}})=>t>=e.offsetHeight?"page":"site"),Object($.a)(),function(e){return Object(A.a)(Object(h.a)(s.a),Object(f.a)(t=>{!function(e,t){e.setAttribute("data-md-state",t?"active":"")}(e,"page"===t)}),Object(R.a)(()=>{!function(e){e.removeAttribute("data-md-state")}(e)}))}(c))),Object(C.a)("site"));return Object(i.a)([n,a]).pipe(Object(g.a)(([e,t])=>Object.assign({type:t},e)))}))}var z=c(25),L=c(10);function P({header$:e,viewport$:t}){const c=new z.a;return _("header").pipe(Object(O.a)(e=>{return c.pipe(Object(w.a)("active"),(t=e,Object(A.a)(Object(h.a)(s.a),Object(f.a)(({active:e})=>{!function(e,t){e.setAttribute("data-md-state",t?"shadow":"")}(t,e)}),Object(R.a)(()=>{!function(e){e.removeAttribute("data-md-state")}(t)}))));var t})).subscribe(L.a),Object(A.a)(Object(O.a)(c=>function(e,{header$:t,viewport$:c}){const n=t.pipe(Object(g.a)(({height:e})=>e),Object($.a)()),a=n.pipe(Object(O.a)(()=>Object(x.t)(e).pipe(Object(g.a)(({height:t})=>({top:e.offsetTop,bottom:e.offsetTop+t})),Object(w.a)("bottom"))));return Object(i.a)([n,a,c]).pipe(Object(g.a)(([e,{top:t,bottom:c},{offset:{y:n},size:{height:a}}])=>({offset:t-e,height:a=Math.max(0,a-Math.max(0,t-n,e)-Math.max(0,a+n-c)),active:t-e<=n})),Object($.a)((e,t)=>e.offset===t.offset&&e.height===t.height&&e.active===t.active))}(c,{header$:e,viewport$:t})),Object(f.a)(e=>c.next(e)),Object(R.a)(()=>c.complete()))}function U(e){e.style.top=""}function H(e,{main$:t,viewport$:c}){const n=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return Object(i.a)([t,c]).pipe(Object(g.a)(([{offset:e,height:t},{offset:{y:c}}])=>({height:t=t+Math.min(n,Math.max(0,c-e))-n,lock:c>=e+n})),Object($.a)((e,t)=>e.height===t.height&&e.lock===t.lock))}function q(e,{header$:t}){return Object(A.a)(Object(h.a)(s.a),Object(l.a)(t),Object(f.a)(([{height:t,lock:c},{height:n}])=>{!function(e,t){const c=e.firstElementChild;c.style.height=t-2*c.offsetTop+"px"}(e,t),c?function(e,t){e.style.top=t+"px"}(e,n):U(e)}),Object(g.a)(([e])=>e),Object(R.a)(()=>{U(e),function(e){e.firstElementChild.style.height=""}(e)}))}var I=c(46),N=c(76),D=c(42);c(51);function Y(e){return e.split(/"([^"]+)"/g).map((e,t)=>1&t?e.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):e).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}var B,F=c(24),J=c(48),K=c(1);function W(e){return e.type===B.READY}function Q(e){return e.type===B.QUERY}function X(e){return e.type===B.RESULT}function V({config:e,docs:t,index:c}){1===e.lang.length&&"en"===e.lang[0]&&(e.lang=[Object(K.f)("search.config.lang")]),"[\\s\\-]+"===e.separator&&(e.separator=Object(K.f)("search.config.separator"));return{config:e,docs:t,index:c,pipeline:Object(K.f)("search.config.pipeline").split(/\s*,\s*/).filter(Boolean)}}!function(e){e[e.SETUP=0]="SETUP",e[e.READY=1]="READY",e[e.QUERY=2]="QUERY",e[e.RESULT=3]="RESULT"}(B||(B={}));var G,Z=c(43),ee=c(7);function te(e,t){const c=t&G.PARENT,n=t&G.TEASER,a=Object.keys(e.terms).filter(t=>!e.terms[t]).map(e=>[Object(K.b)("del",null,e)," "]).flat().slice(0,-1),r=e.location;return Object(K.b)("a",{href:r,class:"md-search-result__link",tabIndex:-1},Object(K.b)("article",{class:["md-search-result__article",...c?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},c>0&&Object(K.b)("div",{class:"md-search-result__icon md-icon"}),Object(K.b)("h1",{class:"md-search-result__title"},e.title),n>0&&e.text.length>0&&Object(K.b)("p",{class:"md-search-result__teaser"},Object(K.g)(e.text,320)),n>0&&a.length>0&&Object(K.b)("p",{class:"md-search-result__terms"},Object(K.f)("search.result.term.missing"),": ",a)))}function ce(e,t=1/0){const c=[...e],n=c.findIndex(e=>!e.location.includes("#")),[a]=c.splice(n,1);let r=c.findIndex(e=>e.scorete(e,G.TEASER)),...i.length?[Object(K.b)("details",{class:"md-search-result__more"},Object(K.b)("summary",{tabIndex:-1},i.length>0&&1===i.length?Object(K.f)("search.result.more.one"):Object(K.f)("search.result.more.other",i.length)),i.map(e=>te(e,G.TEASER)))]:[]];return Object(K.b)("li",{class:"md-search-result__item"},s)}function ne(e){return Object(K.b)("ul",{class:"md-source__facts"},e.map(e=>Object(K.b)("li",{class:"md-source__fact"},e)))}function ae({document$:e,dialog$:t}){if(!Z.isSupported())return o.a;e.subscribe(()=>{Object(x.e)("pre > code").forEach((e,t)=>{const c=e.parentElement;var n;c.id="__code_"+t,c.insertBefore((n=c.id,Object(K.b)("button",{class:"md-clipboard md-icon",title:Object(K.f)("clipboard.copy"),"data-clipboard-target":`#${n} > code`})),e)})});const c=new ee.a(e=>{new Z("[data-clipboard-target], [data-clipboard-text]").on("success",t=>e.next(t))}).pipe(Object(J.a)());return c.pipe(Object(f.a)(e=>e.clearSelection()),Object(I.a)(Object(K.f)("clipboard.copied"))).subscribe(t),c}!function(e){e[e.TEASER=1]="TEASER",e[e.PARENT=2]="PARENT"}(G||(G={}));var re=c(77),oe=c(79),ie=c(89);function se(e){e.placeholder=Object(K.f)("search.placeholder")}function be({tx$:e},t={}){return Object(A.a)(Object(O.a)(c=>{const n=function(e,{transform:t}={}){const c=t||Y,n=Object(u.a)(Object(b.a)(e,"keyup"),Object(b.a)(e,"focus").pipe(Object(d.a)(1))).pipe(Object(g.a)(()=>c(e.value)),Object(C.a)(c(e.value)),Object($.a)()),a=Object(x.r)(e);return Object(i.a)([n,a]).pipe(Object(g.a)(([e,t])=>({value:e,focus:t})))}(c,t);return n.pipe(Object(w.a)("value"),Object(g.a)(({value:e})=>({type:B.QUERY,data:e}))).subscribe(e.next.bind(e)),n.pipe(Object(w.a)("focus")).subscribe(({focus:e})=>{e&&Object(x.o)("search",e)}),n.pipe(function(e){return Object(A.a)(Object(f.a)(({focus:t})=>{t?function(e,t){e.placeholder=t}(e,""):se(e)}),Object(R.a)(()=>{se(e)}))}(c))}))}var ue=c(73);function je(){return Object(A.a)(Object(O.a)(e=>function(e){return Object(b.a)(e,"click").pipe(Object(I.a)(void 0))}(e).pipe(Object(ue.a)(_("search-query")),Object(f.a)(x.k),Object(I.a)(void 0))),Object(C.a)(void 0))}function Oe(e,t){e.appendChild(t)}function pe(e,{query$:t,ready$:c,fetch$:n}){const a=Object(x.d)(".md-search-result__list",e),r=Object(x.d)(".md-search-result__meta",e);return Object(A.a)(Object(l.a)(t,c),Object(g.a)(([e,t])=>(t.value?function(e,t){switch(t){case 0:e.textContent=Object(K.f)("search.result.none");break;case 1:e.textContent=Object(K.f)("search.result.one");break;default:e.textContent=Object(K.f)("search.result.other",t)}}(r,e.length):function(e){e.textContent=Object(K.f)("search.result.placeholder")}(r),e)),Object(O.a)(t=>{const c=[...t.map(([e])=>e.score),0];return n.pipe(Object(h.a)(s.a),Object(E.a)(n=>{const r=e.parentElement;for(;n16)););return n},0),Object(I.a)(t),Object(R.a)(()=>{!function(e){e.innerHTML=""}(a)}))}))}function fe({header$:e,viewport$:t,screen$:c}){return Object(A.a)(Object(O.a)(n=>c.pipe(Object(O.a)(c=>c?Object(x.B)(n,{header$:e,viewport$:t}).pipe(Object(g.a)(({offset:{y:e}})=>({hidden:e>=10})),Object(w.a)("hidden"),function(e){return Object(A.a)(Object(h.a)(s.a),Object(f.a)(({hidden:t})=>{!function(e,t){e.setAttribute("data-md-state",t?"hidden":"")}(e,t)}),Object(R.a)(()=>{!function(e){e.removeAttribute("data-md-state")}(e)}))}(n)):Object(r.a)({hidden:!0})))))}function de(e){e.removeAttribute("data-md-state")}function le(e){e.classList.remove("md-nav__link--active")}function he({header$:e,main$:t,viewport$:c,tablet$:n}){return Object(A.a)(Object(O.a)(a=>n.pipe(Object(O.a)(n=>{if(n){const n=Object(x.e)(".md-nav__link",a),r=H(a,{main$:t,viewport$:c}).pipe(q(a,{header$:e})),o=function(e,{header$:t,viewport$:c}){const n=new Map;for(const t of e){const e=decodeURIComponent(t.hash.substring(1)),c=Object(x.c)(`[id="${e}"]`);void 0!==c&&n.set(t,c)}const a=t.pipe(Object(g.a)(e=>24+e.height));return Object(x.t)(document.body).pipe(Object(w.a)("height"),Object(g.a)(()=>{let e=[];return[...n].reduce((t,[c,a])=>{for(;e.length;){if(!(n.get(e[e.length-1]).tagName>=a.tagName))break;e.pop()}let r=a.offsetTop;for(;!r&&a.parentElement;)r=(a=a.parentElement).offsetTop;return t.set([...e=[...e,c]].reverse(),r)},new Map)}),Object(O.a)(e=>Object(i.a)([a,c]).pipe(Object(E.a)(([e,t],[c,{offset:{y:n}}])=>{for(;t.length;){const[,a]=t[0];if(!(a-c=n))break;t=[e.pop(),...t]}return[e,t]},[[],[...e]]),Object($.a)((e,t)=>e[0]===t[0]&&e[1]===t[1])))).pipe(Object(g.a)(([e,t])=>({prev:e.map(([e])=>e),next:t.map(([e])=>e)})),Object(C.a)({prev:[],next:[]}),Object(y.a)(2,1),Object(g.a)(([e,t])=>e.prev.length{for(const[e]of t)le(e),de(e);e.forEach(([t],c)=>{!function(e,t){e.classList.toggle("md-nav__link--active",t)}(t,c===e.length-1),function(e,t){e.setAttribute("data-md-state",t?"blur":"")}(t,!0)})}),Object(R.a)(()=>{for(const t of e)le(t),de(t)}))}(n));return Object(i.a)([r,o]).pipe(Object(g.a)(([e,t])=>({sidebar:e,anchors:t})))}return Object(r.a)({})}))))}var me=c(81);var ge=c(82);function ve(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}var $e=c(83);function ye(e){const[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":const[,t,c]=e.match(/^.+github\.com\/([^\/]+)\/?([^\/]+)?/i);return function(e,t){const c=void 0!==t?`https://api.github.com/repos/${e}/${t}`:"https://api.github.com/users/"+e;return Object(a.a)(fetch(c)).pipe(Object(m.a)(e=>200===e.status),Object(O.a)(e=>e.json()),Object(g.a)(e=>{if(void 0!==t){const{stargazers_count:t,forks_count:c}=e;return[Object(K.e)(t)+" Stars",Object(K.e)(c)+" Forks"]}{const{public_repos:t}=e;return[Object(K.e)(t)+" Repositories"]}}),Object($e.a)([]),Object(J.a)())}(t,c);case"gitlab":const[,n,r]=e.match(/^.+?([^\/]*gitlab[^\/]+)\/(.+?)\/?$/i);return function(e,t){const c=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Object(a.a)(fetch(c)).pipe(Object(m.a)(e=>200===e.status),Object(O.a)(e=>e.json()),Object(g.a)(({star_count:e,forks_count:t})=>[Object(K.e)(e)+" Stars",Object(K.e)(t)+" Forks"]),Object($e.a)([]),Object(J.a)())}(n,r);default:return o.a}}function we(e,t){e.setAttribute("data-md-state","lock"),e.style.top=`-${t}px`}function xe(e){const t=-1*parseInt(e.style.top,10);e.removeAttribute("data-md-state"),e.style.top="",t&&window.scrollTo(0,t)}function ke(e){if(!Object(K.d)(e))throw new SyntaxError("Invalid configuration: "+JSON.stringify(e));const t=Object(x.q)(),c=Object(x.v)(),T=Object(x.w)(e.base,{location$:c}),R=Object(x.x)(),U=Object(x.A)(),Y=Object(x.y)("(min-width: 960px)"),G=Object(x.y)("(min-width: 1220px)");!function(e,{document$:t}){S=t.pipe(Object(g.a)(t=>e.reduce((e,c)=>{const n=Object(x.c)(`[data-md-component=${c}]`,t);return Object.assign(Object.assign({},e),void 0!==n?{[c]:n}:{})},{})),Object(E.a)((t,c)=>{for(const n of e)switch(n){case"announce":case"header-title":case"container":case"skip":n in t&&void 0!==t[n]&&(Object(x.j)(t[n],c[n]),t[n]=c[n]);break;default:void 0!==c[n]?t[n]=Object(x.c)(`[data-md-component=${n}]`):delete t[n]}return t}),Object(j.a)({bufferSize:1,refCount:!0}))}(["announce","container","header","header-title","main","navigation","search","search-query","search-reset","search-result","skip","tabs","toc"],{document$:t});const Z=function(){const e=Object(x.u)().pipe(Object(g.a)(e=>Object.assign({mode:Object(x.f)("search")?"search":"global"},e)),Object(m.a)(({mode:e})=>{if("global"===e){const e=Object(x.b)();if(void 0!==e)return!Object(x.i)(e)}return!0}),Object(J.a)());return e.pipe(Object(m.a)(({mode:e})=>"search"===e),Object(l.a)(_("search-query"),_("search-result"))).subscribe(([e,t,c])=>{const n=Object(x.b)();switch(e.type){case"Enter":n===t&&e.claim();break;case"Escape":case"Tab":Object(x.o)("search",!1),Object(x.k)(t,!1);break;case"ArrowUp":case"ArrowDown":if(void 0===n)Object(x.k)(t);else{const a=[t,...Object(x.e)(":not(details) > [href], summary, details[open] [href]",c)],r=Math.max(0,(Math.max(0,a.indexOf(n))+a.length+("ArrowUp"===e.type?-1:1))%a.length);Object(x.k)(a[r])}e.claim();break;default:t!==Object(x.b)()&&Object(x.k)(t)}}),e.pipe(Object(m.a)(({mode:e})=>"global"===e),Object(l.a)(_("search-query"))).subscribe(([e,t])=>{switch(e.type){case"f":case"s":case"/":Object(x.k)(t),Object(x.l)(t),e.claim();break;case"p":case",":const c=Object(x.c)("[href][rel=prev]");void 0!==c&&c.click();break;case"n":case".":const n=Object(x.c)("[href][rel=next]");void 0!==n&&n.click()}}),e}();matchMedia("(hover)").matches&&function({document$:e,viewport$:t}){const c=e.pipe(Object(g.a)(()=>Object(x.e)("pre > code"))),n=t.pipe(Object(w.a)("size"));Object(i.a)([c,n]).subscribe(([e])=>{for(const t of e)t.scrollWidth>t.clientWidth?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")})}({document$:t,viewport$:U}),function({document$:e,hash$:t}){const c=e.pipe(Object(g.a)(()=>Object(x.e)("details")));Object(u.a)(Object(x.y)("print").pipe(Object(m.a)(Boolean)),Object(b.a)(window,"beforeprint")).pipe(Object(ue.a)(c)).subscribe(e=>{for(const t of e)t.setAttribute("open","")}),t.pipe(Object(g.a)(e=>Object(x.c)(`[id="${e}"]`)),Object(m.a)(e=>void 0!==e),Object(f.a)(e=>{const t=e.closest("details");t&&!t.open&&t.setAttribute("open","")})).subscribe(e=>e.scrollIntoView())}({document$:t,hash$:R}),function({document$:e}){e.pipe(Object(re.a)(1),Object(l.a)(_("container")),Object(g.a)(([,e])=>Object(x.e)("script",e))).pipe(Object(O.a)(e=>Object(r.a)(...e)),Object(me.a)(e=>{const t=Object(x.a)("script");return e.src?(t.src=e.src,Object(x.j)(e,t),new ee.a(e=>{t.onload=()=>e.complete()})):(t.textContent=e.textContent,Object(x.j)(e,t),k.a)})).subscribe(L.a)}({document$:t}),function({document$:e}){e.pipe(Object(g.a)(()=>Object(x.d)(".md-source[href]")),Object(O.a)(({href:e})=>Object(K.a)(""+Object(K.c)(e),()=>ye(e))),Object(m.a)(e=>e.length>0),Object(p.a)(()=>o.a)).subscribe(e=>{for(const t of Object(x.e)(".md-source__repository"))t.hasAttribute("data-md-state")||(t.setAttribute("data-md-state","done"),t.appendChild(ne(e)))})}({document$:t}),function({document$:e}){const t=Object(x.a)("table");e.pipe(Object(g.a)(()=>Object(x.e)("table:not([class])"))).subscribe(e=>{for(const n of e)Object(x.j)(n,t),Object(x.j)(t,(c=n,Object(K.b)("div",{class:"md-typeset__scrollwrap"},Object(K.b)("div",{class:"md-typeset__table"},c))));var c})}({document$:t}),function({document$:e}){const t=e.pipe(Object(g.a)(()=>Object(x.e)("[data-md-scrollfix]")),Object(j.a)({bufferSize:1,refCount:!0}));t.subscribe(e=>{for(const t of e)t.removeAttribute("data-md-scrollfix")}),Object(ge.a)(ve,t,o.a).pipe(Object(O.a)(e=>Object(u.a)(...e.map(e=>Object(b.a)(e,"touchstart").pipe(Object(I.a)(e)))))).subscribe(e=>{const t=e.scrollTop;0===t?e.scrollTop=1:t+e.offsetHeight===e.scrollHeight&&(e.scrollTop=t-1)})}({document$:t});const te=function({duration:e}={}){const t=new z.a,c=Object(x.a)("div");return c.classList.add("md-dialog","md-typeset"),t.pipe(Object(O.a)(t=>Object(r.a)(document.body).pipe(Object(g.a)(e=>e.appendChild(c)),Object(h.a)(s.a),Object(d.a)(1),Object(f.a)(e=>{e.innerHTML=t,e.setAttribute("data-md-state","open")}),Object(d.a)(e||2e3),Object(f.a)(e=>e.removeAttribute("data-md-state")),Object(d.a)(400),Object(f.a)(e=>{e.innerHTML="",e.remove()})))).subscribe(L.a),t}(),ce=ae({document$:t,dialog$:te}),se=_("header").pipe(M({document$:t,viewport$:U}),Object(j.a)({bufferSize:1,refCount:!0})),Oe=_("main").pipe(P({header$:se,viewport$:U}),Object(j.a)({bufferSize:1,refCount:!0})),de=_("navigation").pipe(function({header$:e,main$:t,viewport$:c,screen$:n}){return Object(A.a)(Object(O.a)(a=>n.pipe(Object(O.a)(n=>n?H(a,{main$:t,viewport$:c}).pipe(q(a,{header$:e}),Object(g.a)(e=>({sidebar:e}))):Object(r.a)({})))))}({header$:se,main$:Oe,viewport$:U,screen$:G}),Object(j.a)({bufferSize:1,refCount:!0})),le=_("toc").pipe(he({header$:se,main$:Oe,viewport$:U,tablet$:Y}),Object(j.a)({bufferSize:1,refCount:!0})),$e=_("tabs").pipe(fe({header$:se,viewport$:U,screen$:G}),Object(j.a)({bufferSize:1,refCount:!0})),ke=_("search").pipe(Object(O.a)(()=>Object(n.a)(()=>{const t=e.search&&e.search.index?e.search.index:void 0,c=void 0!==t?Object(a.a)(t):T.pipe(Object(O.a)(e=>fetch(e+"/search/search_index.json",{credentials:"same-origin"}).then(e=>e.json())));return Object(r.a)(function(e,{index$:t,base$:c}){const n=new Worker(e),a=new z.a,r=Object(x.C)(n,{tx$:a}).pipe(Object(l.a)(c),Object(g.a)(([e,t])=>{if(X(e))for(const c of e.data)for(const e of c)e.location=`${t}/${e.location}`;return e}),Object(J.a)());return t.pipe(Object(g.a)(e=>({type:B.SETUP,data:V(e)})),Object(h.a)(F.b)).subscribe(a.next.bind(a)),{tx$:a,rx$:r}}(e.search.worker,{base$:T,index$:c}))}))).pipe(Object(O.a)(t=>{const c=_("search-query").pipe(be(t,{transform:e.search.transform}),Object(j.a)({bufferSize:1,refCount:!0})),n=_("search-reset").pipe(je(),Object(j.a)({bufferSize:1,refCount:!0})),a=_("search-result").pipe(function({rx$:e},{query$:t}){return Object(A.a)(Object(O.a)(c=>{const n=c.parentElement,a=e.pipe(Object(m.a)(W),Object(I.a)(!0)),r=Object(x.s)(n).pipe(Object(g.a)(({y:e})=>e>=n.scrollHeight-n.offsetHeight-16),Object($.a)(),Object(m.a)(Boolean));return e.pipe(Object(m.a)(X),Object(g.a)(({data:e})=>e),pe(c,{query$:t,ready$:a,fetch$:r}),Object(C.a)([]))}))}(t,{query$:c}),Object(j.a)({bufferSize:1,refCount:!0}));return _("search").pipe(function({rx$:e,tx$:t},{query$:c,reset$:n,result$:a}){return Object(A.a)(Object(O.a)(()=>{const r=e.pipe(Object(m.a)(W),Object(I.a)("ready"),Object(C.a)("waiting"));return t.pipe(Object(m.a)(Q),Object(N.a)(r),Object(D.a)(1)).subscribe(t.next.bind(t)),Object(i.a)([r,c,a,n]).pipe(Object(g.a)(([e,t,c])=>({status:e,query:t,result:c})))}))}(t,{query$:c,reset$:n,result$:a}))}),Object(p.a)(()=>(_("search").subscribe(e=>e.hidden=!0),o.a)),Object(j.a)({bufferSize:1,refCount:!0}));if(R.pipe(Object(f.a)(()=>Object(x.o)("search",!1)),Object(d.a)(125)).subscribe(e=>Object(x.n)("#"+e)),Object(i.a)([Object(x.z)("search"),Y]).pipe(Object(l.a)(U),Object(O.a)(([[e,c],{offset:{y:n}}])=>{const a=e&&!c;return t.pipe(Object(d.a)(a?400:100),Object(h.a)(s.a),Object(f.a)(({body:e})=>a?we(e,n):xe(e)))})).subscribe(),Object(b.a)(document.body,"click").pipe(Object(m.a)(e=>!(e.metaKey||e.ctrlKey)),Object(m.a)(e=>{if(e.target instanceof HTMLElement){const t=e.target.closest("a");if(t&&Object(x.h)(t))return!0}return!1})).subscribe(()=>{Object(x.o)("drawer",!1)}),e.features.includes("navigation.instant")&&"file:"!==location.protocol){const e=new DOMParser;T.pipe(Object(O.a)(t=>Object(a.a)(fetch(t+"/sitemap.xml").then(e=>e.text()).then(t=>e.parseFromString(t,"text/xml")))),Object(l.a)(T),Object(g.a)(([e,t])=>{const c=Object(x.e)("loc",e).map(e=>e.textContent);if(c.length>1){const[e,n]=c.sort((e,t)=>e.length-t.length);let a=0;if(e===n)a=e.length;else for(;e.charAt(a)===n.charAt(a);)a++;for(let n=0;n{!function(e,{document$:t,viewport$:c,location$:n}){"scrollRestoration"in history&&(history.scrollRestoration="manual"),Object(b.a)(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"});const i=Object(x.c)('link[rel="shortcut icon"]');void 0!==i&&(i.href=i.href);const s=Object(b.a)(document.body,"click").pipe(Object(m.a)(e=>!(e.metaKey||e.ctrlKey)),Object(O.a)(t=>{if(t.target instanceof HTMLElement){const c=t.target.closest("a");if(c&&!c.target&&Object(x.h)(c)&&e.includes(c.href))return Object(x.g)(c)||t.preventDefault(),Object(r.a)(c)}return o.a}),Object(g.a)(e=>({url:new URL(e.href)})),Object(J.a)());s.subscribe(()=>{Object(x.o)("search",!1)});const j=s.pipe(Object(m.a)(({url:e})=>!Object(x.g)(e)),Object(J.a)()),f=Object(b.a)(window,"popstate").pipe(Object(m.a)(e=>null!==e.state),Object(g.a)(e=>({url:new URL(location.href),offset:e.state})),Object(J.a)());Object(u.a)(j,f).pipe(Object($.a)((e,t)=>e.url.href===t.url.href),Object(g.a)(({url:e})=>e)).subscribe(n);const d=n.pipe(Object(w.a)("pathname"),Object(re.a)(1),Object(O.a)(e=>Object(a.a)(fetch(e.href,{credentials:"same-origin"}).then(e=>e.text())).pipe(Object(p.a)(()=>(Object(x.m)(e),o.a)))),Object(J.a)());j.pipe(Object(N.a)(d)).subscribe(({url:e})=>{history.pushState({},"",e.toString())});const l=new DOMParser;d.pipe(Object(g.a)(e=>l.parseFromString(e,"text/html"))).subscribe(t),Object(u.a)(j,f).pipe(Object(N.a)(t)).subscribe(({url:e,offset:t})=>{e.hash&&!t?Object(x.n)(e.hash):Object(x.p)(t||{y:0})}),t.pipe(Object(re.a)(1)).subscribe(({title:e,head:t})=>{document.title=e;for(const e of['link[rel="canonical"]','meta[name="author"]','meta[name="description"]']){const c=Object(x.c)(e,t),n=Object(x.c)(e,document.head);void 0!==c&&void 0!==n&&Object(x.j)(n,c)}document.dispatchEvent(new CustomEvent("DOMContentSwitch"))}),c.pipe(Object(oe.a)(j),Object(ie.a)(250),Object(w.a)("offset")).subscribe(({offset:e})=>{history.replaceState(e,"")}),Object(u.a)(s,f).pipe(Object(y.a)(2,1),Object(m.a)(([e,t])=>e.url.pathname===t.url.pathname&&!Object(x.g)(t.url)),Object(g.a)(([,e])=>e)).subscribe(({offset:e})=>{Object(x.p)(e||{y:0})})}(e,{document$:t,location$:c,viewport$:U})})}if(t.subscribe(()=>{const e=Object(x.e)("[data-md-state=indeterminate]");for(const t of e)t.dataset.mdState="",t.indeterminate=!0,t.checked=!1}),e.features.includes("header.autohide")){const e=U.pipe(Object(g.a)(({offset:e})=>e.y>400),Object(v.a)(Object(x.z)("search")),Object(g.a)(([e,t])=>e&&!t),Object($.a)()),t=U.pipe(Object(g.a)(({offset:e})=>e.y),Object(y.a)(2,1),Object(g.a)(([e,t])=>[ee?t.pipe(Object(v.a)(U),Object(m.a)(([[,e],{offset:t}])=>Math.abs(e-t.y)>100),Object(g.a)(([[e]])=>e)):Object(r.a)(!1)),Object($.a)()).pipe(Object(v.a)(Oe),Object(g.a)(([e,t])=>t.active?e?"hidden":"shadow":""),Object(v.a)(_("header"))).subscribe(([e,t])=>{t.setAttribute("data-md-state",e)})}const Ee={document$:t,location$:c,viewport$:U,header$:se,main$:Oe,navigation$:de,search$:ke,tabs$:$e,toc$:le,clipboard$:ce,keyboard$:Z,dialog$:te};return Object(u.a)(...Object.values(Ee)).subscribe(),Ee}document.documentElement.classList.remove("no-js"),document.documentElement.classList.add("js"),navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&document.documentElement.classList.add("ios")}})); //# sourceMappingURL=bundle.d3f6ab33.min.js.map