mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
2 lines
47 KiB
JavaScript
2 lines
47 KiB
JavaScript
!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){function e(e){for(var r,o,i=e[0],u=e[1],b=e[2],s=0,l=[];s<i.length;s++)o=i[s],Object.prototype.hasOwnProperty.call(c,o)&&c[o]&&l.push(c[o][0]),c[o]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(t[r]=u[r]);for(f&&f(e);l.length;)l.shift()();return a.push.apply(a,b||[]),n()}function n(){for(var t,e=0;e<a.length;e++){for(var n=a[e],r=!0,i=1;i<n.length;i++){var u=n[i];0!==c[u]&&(r=!1)}r&&(a.splice(e--,1),t=o(o.s=n[0]))}return t}var r={},c={0:0},a=[];function o(e){if(r[e])return r[e].exports;var n=r[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=t,o.c=r,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="";var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=e,i=i.slice();for(var b=0;b<i.length;b++)e(i[b]);var f=u;return a.push([86,1]),n()}([,function(t,e,n){"use strict";n.d(e,"o",(function(){return k})),n.d(e,"b",(function(){return C})),n.d(e,"c",(function(){return A})),n.d(e,"a",(function(){return _})),n.d(e,"d",(function(){return L})),n.d(e,"i",(function(){return E})),n.d(e,"j",(function(){return N})),n.d(e,"p",(function(){return R})),n.d(e,"q",(function(){return H})),n.d(e,"k",(function(){return P})),n.d(e,"r",(function(){return Q})),n.d(e,"h",(function(){return I})),n.d(e,"s",(function(){return V})),n.d(e,"g",(function(){return p})),n.d(e,"f",(function(){return h})),n.d(e,"t",(function(){return v})),n.d(e,"u",(function(){return y})),n.d(e,"l",(function(){return $})),n.d(e,"v",(function(){return S})),n.d(e,"w",(function(){return W})),n.d(e,"e",(function(){return J})),n.d(e,"m",(function(){return F})),n.d(e,"x",(function(){return Y})),n.d(e,"y",(function(){return G})),n.d(e,"z",(function(){return tt})),n.d(e,"n",(function(){return X})),n.d(e,"A",(function(){return at}));var r=n(89),c=n(87),a=n(101),o=n(102),i=n(93),u=n(113),b=n(88),f=n(99),s=n(25),l=n(9),d=n(100),O=n(111),j=n(97);function p(t,e){return void 0===e&&(e=location),t.host===e.host&&/^(?:\/[\w-]+)*(?:\/?|\.html)$/i.test(t.pathname)}function h(t,e){return void 0===e&&(e=location),t.pathname===e.pathname&&t.hash.length>0}function v(){return new j.a(new URL(location.href))}var m=n(112);function y(t,e){return e.location$.pipe(Object(m.a)(1),Object(l.a)((function(e){var n=e.href;return new URL(t,n).toString().replace(/\/$/,"")})),Object(i.a)(1))}var g=n(94),w=n(98);function x(){return location.hash.substring(1)}function $(t){var e=document.createElement("a");e.href=t,e.click()}function S(){return Object(c.a)(window,"hashchange").pipe(Object(l.a)(x),Object(g.a)(x()),Object(w.a)((function(t){return t.length>0})),Object(O.a)())}function T(t){var e=t.location$,n=new DOMParser;return e.pipe(Object(b.a)("pathname"),Object(f.a)(1),Object(s.a)((function(t){return Object(u.a)({url:t.href,responseType:"text",withCredentials:!0}).pipe(Object(l.a)((function(e){var r=e.response;return history.pushState({},"",t.toString()),n.parseFromString(r,"text/html")})),Object(d.a)((function(){return function(t){location.href=t.href}(t),a.a})))})),Object(O.a)())}function k(t){var e=(void 0===t?{}:t).location$;return Object(r.a)(Object(c.a)(document,"DOMContentLoaded").pipe(Object(o.a)(document)),void 0!==e?T({location$:e}):a.a).pipe(Object(i.a)(1))}function C(t,e){return void 0===e&&(e=document),e.querySelector(t)||void 0}function A(t,e){void 0===e&&(e=document);var n=C(t,e);if(void 0===n)throw new ReferenceError('Missing element: expected "'+t+'" to be present');return n}function _(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function L(t,e){return void 0===e&&(e=document),Array.from(e.querySelectorAll(t))}function E(t,e){t.replaceWith(e)}function N(t,e){void 0===e&&(e=!0),e?t.focus():t.blur()}function R(t){return Object(r.a)(Object(c.a)(t,"focus"),Object(c.a)(t,"blur")).pipe(Object(l.a)((function(t){return"focus"===t.type})),Object(g.a)(t===_()),Object(i.a)(1))}function M(t){return{x:t.scrollLeft,y:t.scrollTop}}function H(t){return Object(r.a)(Object(c.a)(t,"scroll"),Object(c.a)(window,"resize")).pipe(Object(l.a)((function(){return M(t)})),Object(g.a)(M(t)),Object(i.a)(1))}function P(t){if(!(t instanceof HTMLInputElement))throw new Error("Not implemented");t.select()}var q=n(0),U=n(82),z=n(103);function Q(t){return Object(z.a)((function(e){new U.a((function(t){var n=Object(q.c)(t,1)[0].contentRect;return e({width:Math.round(n.width),height:Math.round(n.height)})})).observe(t)})).pipe(Object(g.a)(function(t){return{width:t.offsetWidth,height:t.offsetHeight}}(t)),Object(i.a)(1))}function I(t){switch(t.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return t.isContentEditable}}function V(){return Object(c.a)(window,"keydown").pipe(Object(w.a)((function(t){return!(t.metaKey||t.ctrlKey)})),Object(l.a)((function(t){return{type:t.key,claim:function(){t.preventDefault(),t.stopPropagation()}}})),Object(O.a)())}function W(t){var e=matchMedia(t);return Object(z.a)((function(t){return e.addListener((function(){return t(e.matches)}))})).pipe(Object(g.a)(e.matches),Object(i.a)(1))}var D={drawer:A("[data-md-toggle=drawer]"),search:A("[data-md-toggle=search]")};function J(t){return D[t].checked}function F(t,e){D[t].checked!==e&&D[t].click()}function Y(t){var e=D[t];return Object(c.a)(e,"change").pipe(Object(l.a)((function(){return e.checked})),Object(g.a)(e.checked))}var B=n(62);function K(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function X(t){var e=t.x,n=t.y;window.scrollTo(e||0,n||0)}function Z(){return{width:innerWidth,height:innerHeight}}function G(){return Object(B.a)([Object(r.a)(Object(c.a)(window,"scroll",{passive:!0}),Object(c.a)(window,"resize",{passive:!0})).pipe(Object(l.a)(K),Object(g.a)(K())),Object(c.a)(window,"resize").pipe(Object(l.a)(Z),Object(g.a)(Z()))]).pipe(Object(l.a)((function(t){var e=Object(q.c)(t,2);return{offset:e[0],size:e[1]}})),Object(i.a)(1))}function tt(t,e){var n=e.header$,r=e.viewport$,c=r.pipe(Object(b.a)("size")),a=Object(B.a)([c,n]).pipe(Object(l.a)((function(){return{x:t.offsetLeft,y:t.offsetTop}})));return Object(B.a)([n,r,a]).pipe(Object(l.a)((function(t){var e=Object(q.c)(t,3),n=e[0].height,r=e[1],c=r.offset,a=r.size,o=e[2],i=o.x,u=o.y;return{offset:{x:c.x-i,y:c.y-u+n},size:a}})),Object(i.a)(1))}var et=n(104),nt=n(105),rt=n(58),ct=n(106);function at(t,e){var n=e.tx$,r=Object(z.a)((function(e){return t.addEventListener("message",e)})).pipe(Object(et.a)("data"));return n.pipe(Object(nt.a)((function(){return r}),{leading:!0,trailing:!0}),Object(rt.a)((function(e){return t.postMessage(e)})),Object(ct.a)(r),Object(O.a)())}},,,,function(t,e,n){"use strict";function r(t){return"object"==typeof t&&"string"==typeof t.base&&"object"==typeof t.features&&"object"==typeof t.search}n.d(e,"d",(function(){return r})),n.d(e,"b",(function(){return b})),n.d(e,"a",(function(){return l})),n.d(e,"f",(function(){return j})),n.d(e,"g",(function(){return p})),n.d(e,"e",(function(){return h})),n.d(e,"c",(function(){return v}));var c=n(0),a=n(85);function o(t){switch(t){case"svg":case"path":return document.createElementNS("http://www.w3.org/2000/svg",t);default:return document.createElement(t)}}function i(t,e,n){switch(e){case"xmlns":break;case"viewBox":case"d":"boolean"!=typeof n?t.setAttributeNS(null,e,n):n&&t.setAttributeNS(null,e,"");break;default:"boolean"!=typeof n?t.setAttribute(e,n):n&&t.setAttribute(e,"")}}function u(t,e){var n,r;if("string"==typeof e||"number"==typeof e)t.innerHTML+=e.toString();else if(e instanceof Node)t.appendChild(e);else if(Array.isArray(e))try{for(var a=Object(c.f)(e),o=a.next();!o.done;o=a.next()){u(t,o.value)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}function b(t,e){for(var n,r,b,f,s=[],l=2;l<arguments.length;l++)s[l-2]=arguments[l];var d=o(t);if(e)try{for(var O=Object(c.f)(Object(a.a)(e)),j=O.next();!j.done;j=O.next()){var p=j.value;i(d,p,e[p])}}catch(t){n={error:t}}finally{try{j&&!j.done&&(r=O.return)&&r.call(O)}finally{if(n)throw n.error}}try{for(var h=Object(c.f)(s),v=h.next();!v.done;v=h.next()){var m=v.value;u(d,m)}}catch(t){b={error:t}}finally{try{v&&!v.done&&(f=h.return)&&f.call(h)}finally{if(b)throw b.error}}return d}var f=n(83),s=n(45);function l(t,e){return Object(f.a)((function(){var n=sessionStorage.getItem(t);if(n)return Object(s.a)(JSON.parse(n));var r=e();return r.subscribe((function(e){try{sessionStorage.setItem(t,JSON.stringify(e))}catch(t){}})),r}))}var d,O=n(1);function j(t,e){if(void 0===d){var n=Object(O.c)("#__lang");d=JSON.parse(n.textContent)}if(void 0===d[t])throw new ReferenceError("Invalid translation: "+t);return void 0!==e?d[t].replace("#",e):d[t]}function p(t,e){var n=e;if(t.length>n){for(;" "!==t[n]&&--n>0;);return t.substring(0,n)+"..."}return t}function h(t){return t>999?((t+1)/1e3).toFixed(+((t-950)%1e3>99))+"k":t.toString()}function v(t){for(var e=0,n=0,r=t.length;n<r;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return e}},,function(t,e,n){"use strict";var r=n(22);n.d(e,"setupComponents",(function(){return r.a})),n.d(e,"useComponent",(function(){return r.b}));var c=n(78);n.d(e,"mountHeader",(function(){return c.a}));var a=n(79);n.d(e,"mountHero",(function(){return a.a}));var o=n(80);n.d(e,"mountMain",(function(){return o.a}));var i=n(66);n.o(i,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return i.mountNavigation})),n.o(i,"mountSearch")&&n.d(e,"mountSearch",(function(){return i.mountSearch})),n.o(i,"mountSearchQuery")&&n.d(e,"mountSearchQuery",(function(){return i.mountSearchQuery})),n.o(i,"mountSearchReset")&&n.d(e,"mountSearchReset",(function(){return i.mountSearchReset})),n.o(i,"mountSearchResult")&&n.d(e,"mountSearchResult",(function(){return i.mountSearchResult})),n.o(i,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return i.mountTableOfContents})),n.o(i,"mountTabs")&&n.d(e,"mountTabs",(function(){return i.mountTabs}));var u=n(77);n.d(e,"mountSearch",(function(){return u.a})),n.d(e,"mountSearchQuery",(function(){return u.b})),n.d(e,"mountSearchReset",(function(){return u.c})),n.d(e,"mountSearchResult",(function(){return u.d}));var b=n(31);n.o(b,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return b.mountNavigation})),n.o(b,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return b.mountTableOfContents})),n.o(b,"mountTabs")&&n.d(e,"mountTabs",(function(){return b.mountTabs}));var f=n(81);n.d(e,"mountTabs",(function(){return f.a}));var s=n(73);n.o(s,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return s.mountNavigation})),n.o(s,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return s.mountTableOfContents}))},,,,,,,,,function(t,e,n){"use strict";n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return y})),n.d(e,"f",(function(){return E})),n.d(e,"g",(function(){return R})),n.d(e,"b",(function(){return H})),n.d(e,"h",(function(){return V})),n.d(e,"a",(function(){return P})),n.d(e,"c",(function(){return Q}));var r=n(61),c=n(101),a=n(103),o=n(111),i=n(58),u=n(102),b=n(1),f=n(32),s=n(5);function l(t){var e=t.document$,n=t.dialog$;if(!r.isSupported())return c.a;e.subscribe((function(){Object(b.d)("pre > code").forEach((function(t,e){var n=t.parentElement;n.id="__code_"+e,n.insertBefore(Object(f.a)(n.id),t)}))}));var l=Object(a.a)((function(t){new r(".md-clipboard").on("success",t)})).pipe(Object(o.a)());return l.pipe(Object(i.a)((function(t){return t.clearSelection()})),Object(u.a)(Object(s.f)("clipboard.copied"))).subscribe(n),l}var d=n(26),O=n(45),j=n(59),p=n(25),h=n(9),v=n(46),m=n(95);function y(t){var e=(void 0===t?{}:t).duration,n=new d.a,r=document.createElement("div");return r.classList.add("md-dialog","md-typeset"),n.pipe(Object(p.a)((function(t){return Object(O.a)(document.body).pipe(Object(h.a)((function(t){return t.appendChild(r)})),Object(v.b)(j.a),Object(m.a)(1),Object(i.a)((function(e){e.innerHTML=t,e.setAttribute("data-md-state","open")})),Object(m.a)(e||2e3),Object(i.a)((function(t){return t.removeAttribute("data-md-state")})),Object(m.a)(400),Object(i.a)((function(t){t.innerHTML="",t.remove()})))}))).subscribe(),n}var g=n(0),w=n(87),x=n(89),$=n(49),S=n(98),T=n(104),k=n(107),C=n(88),A=n(91),_=n(108),L=n(90);function E(t){var e=t.document$,n=t.viewport$,r=t.link$,c=t.location$,a=r.pipe(Object(h.a)((function(t){return{url:new URL(t.href)}})),Object(o.a)()),i=a.pipe(Object($.a)((function(t,e){return t.url.href===e.url.href})),Object(S.a)((function(t){var e=t.url;return!Object(b.f)(e)})),Object(o.a)()),u=Object(w.a)(window,"popstate").pipe(Object(S.a)((function(t){return null!==t.state})),Object(h.a)((function(t){return{url:new URL(location.href),offset:t.state}})),Object(o.a)());Object(x.a)(i,u).pipe(Object(T.a)("url")).subscribe(c),n.pipe(Object(k.a)(250),Object(C.a)("offset")).subscribe((function(t){var e=t.offset;history.replaceState(e,"")})),Object(x.a)(a,u).pipe(Object(A.a)(2,1),Object(S.a)((function(t){var e=Object(g.c)(t,2),n=e[0],r=e[1];return n.url.pathname===r.url.pathname&&!Object(b.f)(r.url)})),Object(h.a)((function(t){return Object(g.c)(t,2)[1]}))).subscribe((function(t){var e=t.offset;Object(b.n)(e||{y:0})}));var f=Object(x.a)(i,u).pipe(Object(_.a)(e));f.subscribe((function(t){var e=t.url,n=t.offset;e.hash&&!n?Object(b.l)(e.hash):Object(b.n)(n||{y:0})})),f.pipe(Object(L.a)(e)).subscribe((function(t){var e,n,r=Object(g.c)(t,2)[1],c=r.title,a=r.head;document.dispatchEvent(new CustomEvent("DOMContentSwitch")),document.title=c;try{for(var o=Object(g.f)(['link[rel="canonical"]','meta[name="author"]','meta[name="description"]']),i=o.next();!i.done;i=o.next()){var u=i.value,f=Object(b.b)(u,a),s=Object(b.b)(u,document.head);void 0!==f&&void 0!==s&&s.replaceWith(f)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}}))}var N=n(7);function R(){var t=Object(b.s)().pipe(Object(h.a)((function(t){return Object(g.a)({mode:Object(b.e)("search")?"search":"global"},t)})),Object(S.a)((function(t){if("global"===t.mode){var e=Object(b.a)();if(void 0!==e)return!Object(b.h)(e)}return!0})),Object(o.a)());return t.pipe(Object(S.a)((function(t){return"search"===t.mode})),Object(L.a)(Object(N.useComponent)("search-query"),Object(N.useComponent)("search-result"))).subscribe((function(t){var e=Object(g.c)(t,3),n=e[0],r=e[1],c=e[2],a=Object(b.a)();switch(n.type){case"Enter":a===r&&n.claim();break;case"Escape":case"Tab":Object(b.m)("search",!1),Object(b.j)(r,!1);break;case"ArrowUp":case"ArrowDown":if(void 0===a)Object(b.j)(r);else{var o=Object(g.d)([r],Object(b.d)("[href]",c)),i=Math.max(0,(Math.max(0,o.indexOf(a))+o.length+("ArrowUp"===n.type?-1:1))%o.length);Object(b.j)(o[i])}n.claim();break;default:r!==Object(b.a)()&&Object(b.j)(r)}})),t.pipe(Object(S.a)((function(t){return"global"===t.mode})),Object(L.a)(Object(N.useComponent)("search-query"))).subscribe((function(t){var e=Object(g.c)(t,2),n=e[0],r=e[1];switch(n.type){case"f":case"s":case"/":Object(b.j)(r),Object(b.k)(r),n.claim();break;case"p":case",":var c=Object(b.b)("[href][rel=prev]");void 0!==c&&c.click();break;case"n":case".":var a=Object(b.b)("[href][rel=next]");void 0!==a&&a.click()}})),t}var M=n(84);!function(){function t(t){var e=t.config,n=t.docs,r=t.pipeline,c=t.index;this.documents=function(t){var e,n,r=new Map;try{for(var c=Object(g.f)(t),a=c.next();!a.done;a=c.next()){var o=a.value,i=Object(g.c)(o.location.split("#"),2),u=i[0],b=i[1],f=o.location,s=o.title,l=M(o.text).replace(/\s+(?=[,.:;!?])/g,"").replace(/\s+/g," ");if(b){var d=r.get(u);d.linked?r.set(f,{location:f,title:s,text:l,parent:d}):(d.title=o.title,d.text=l,d.linked=!0)}else r.set(f,{location:f,title:s,text:l,linked:!1})}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}return r}(n),this.highlight=function(t){var e=new RegExp(t.separator,"img"),n=function(t,e,n){return e+"<em>"+n+"</em>"};return function(r){r=r.replace(/[\s*+-:~^]+/g," ").trim();var c=new RegExp("(^|"+t.separator+")("+r.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(e,"|")+")","img");return function(t){return Object(g.a)(Object(g.a)({},t),{title:t.title.replace(c,n),text:t.text.replace(c,n)})}}}(e),this.index=void 0===c?lunr((function(){var t,c,a,o,i;r=r||["trimmer","stopWordFilter"],this.pipeline.reset();try{for(var u=Object(g.f)(r),b=u.next();!b.done;b=u.next()){var f=b.value;this.pipeline.add(lunr[f])}}catch(e){t={error:e}}finally{try{b&&!b.done&&(c=u.return)&&c.call(u)}finally{if(t)throw t.error}}1===e.lang.length&&"en"!==e.lang[0]?this.use(lunr[e.lang[0]]):e.lang.length>1&&this.use((a=lunr).multiLanguage.apply(a,Object(g.d)(e.lang))),this.field("title",{boost:1e3}),this.field("text"),this.ref("location");try{for(var s=Object(g.f)(n),l=s.next();!l.done;l=s.next()){var d=l.value;this.add(d)}}catch(t){o={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}})):lunr.Index.load("string"==typeof c?JSON.parse(c):c)}t.prototype.query=function(t){var e=this;if(t)try{var n=this.index.search(t).reduce((function(t,n){var r=e.documents.get(n.ref);if(void 0!==r)if("parent"in r){var c=r.parent.location;t.set(c,Object(g.d)(t.get(c)||[],[n]))}else{c=r.location;t.set(c,t.get(c)||[])}return t}),new Map),r=this.highlight(t);return Object(g.d)(n).map((function(t){var n=Object(g.c)(t,2),c=n[0],a=n[1];return{article:r(e.documents.get(c)),sections:a.map((function(t){return r(e.documents.get(t.ref))}))}}))}catch(e){console.warn("Invalid query: "+t+" – see https://bit.ly/2s3ChXG")}return[]}}();function H(t){return t.replace(/(?:^|\s+)[*+-:^~]+(?=\s+|$)/g,"").trim().replace(/\s+|\b$/g,"* ")}var P,q=n(114),U=n(55),z=n(93);function Q(t){return t.type===P.RESULT}function I(t){var e=t.config,n=t.docs,r=t.index;return 1===e.lang.length&&"en"===e.lang[0]&&(e.lang=[Object(s.f)("search.config.lang")]),"[s-]+"===e.separator&&(e.separator=Object(s.f)("search.config.separator")),{config:e,docs:n,index:r,pipeline:Object(s.f)("search.config.pipeline").split(/\s*,\s*/).filter(q.a)}}function V(t,e){var n=e.index$,r=e.base$,c=new Worker(t),a=new d.a,o=Object(b.A)(c,{tx$:a}).pipe(Object(L.a)(r),Object(h.a)((function(t){var e,n,r,c,a=Object(g.c)(t,2),o=a[0],i=a[1];if(Q(o))try{for(var u=Object(g.f)(o.data),b=u.next();!b.done;b=u.next()){var f=b.value,s=f.article,l=f.sections;s.location=i+"/"+s.location;try{for(var d=(r=void 0,Object(g.f)(l)),O=d.next();!O.done;O=d.next()){var j=O.value;j.location=i+"/"+j.location}}catch(t){r={error:t}}finally{try{O&&!O.done&&(c=d.return)&&c.call(d)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{b&&!b.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}return o})),Object(z.a)(1));return n.pipe(Object(h.a)((function(t){return{type:P.SETUP,data:I(t)}})),Object(v.b)(U.a)).subscribe(a.next.bind(a)),{tx$:a,rx$:o}}!function(t){t[t.SETUP=0]="SETUP",t[t.READY=1]="READY",t[t.QUERY=2]="QUERY",t[t.RESULT=3]="RESULT"}(P||(P={}))},,,,,function(t,e,n){"use strict";function r(t,e){t.style.top=e+"px"}function c(t){t.style.top=""}function a(t,e){t.style.height=e+"px"}function o(t){t.style.height=""}function i(t,e){t.setAttribute("data-md-state",e?"lock":"")}function u(t){t.removeAttribute("data-md-state")}n.d(e,"f",(function(){return r})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return a})),n.d(e,"a",(function(){return o})),n.d(e,"e",(function(){return i})),n.d(e,"b",(function(){return u}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return O}));var r,c=n(0),a=n(45),o=n(19),i=n(9),u=n(63),b=n(93),f=n(25),s=n(49),l=n(1);function d(t,e){var n=e.document$;r=n.pipe(Object(i.a)((function(e){return t.reduce((function(t,n){var r,a=Object(l.b)("[data-md-component="+n+"]",e);return Object(c.a)(Object(c.a)({},t),void 0!==a?((r={})[n]=a,r):{})}),{})})),Object(u.a)((function(e,n){var r,a;try{for(var o=Object(c.f)(t),i=o.next();!i.done;i=o.next()){var u=i.value;switch(u){case"header-title":case"container":case"skip":u in e&&void 0!==e[u]&&(Object(l.i)(e[u],n[u]),e[u]=n[u]);break;default:void 0!==n[u]?e[u]=Object(l.b)("[data-md-component="+u+"]"):delete e[u]}}}catch(t){r={error:t}}finally{try{i&&!i.done&&(a=o.return)&&a.call(o)}finally{if(r)throw r.error}}return e})),Object(b.a)(1))}function O(t){return r.pipe(Object(f.a)((function(e){return void 0!==e[t]?Object(a.a)(e[t]):o.a})),Object(s.a)())}},,function(t,e,n){"use strict";function r(t,e){t.setAttribute("data-md-state",e?"blur":"")}function c(t){t.removeAttribute("data-md-state")}function a(t,e){t.classList.toggle("md-nav__link--active",e)}function o(t){t.classList.remove("md-nav__link--active")}n.d(e,"d",(function(){return r})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}))},,,,,,,function(t,e,n){"use strict";var r=n(68);n.o(r,"applySidebar")&&n.d(e,"applySidebar",(function(){return r.applySidebar})),n.o(r,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return r.mountNavigation})),n.o(r,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return r.mountTableOfContents})),n.o(r,"mountTabs")&&n.d(e,"mountTabs",(function(){return r.mountTabs})),n.o(r,"watchSidebar")&&n.d(e,"watchSidebar",(function(){return r.watchSidebar}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return m}));var r=n(5),c="md-clipboard md-icon";function a(t){return Object(r.b)("button",{class:c,title:Object(r.f)("clipboard.copy"),"data-clipboard-target":"#"+t+" code"},Object(r.b)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.b)("path",{d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})))}var o=n(0),i="md-search-result__item",u="md-search-result__link",b="md-search-result__article md-search-result__article--document",f="md-search-result__article",s="md-search-result__title",l="md-search-result__teaser";function d(t){var e=t.article,n=t.sections,c=Object(r.b)("div",{class:"md-search-result__icon md-icon"},Object(r.b)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.b)("path",{d:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H13C12.59,21.75 12.2,21.44 11.86,21.1C11.53,20.77 11.25,20.4 11,20H6V4H13V9H18V10.18C18.71,10.34 19.39,10.61 20,11V8L14,2M20.31,18.9C21.64,16.79 21,14 18.91,12.68C16.8,11.35 14,12 12.69,14.08C11.35,16.19 12,18.97 14.09,20.3C15.55,21.23 17.41,21.23 18.88,20.32L22,23.39L23.39,22L20.31,18.9M16.5,19A2.5,2.5 0 0,1 14,16.5A2.5,2.5 0 0,1 16.5,14A2.5,2.5 0 0,1 19,16.5A2.5,2.5 0 0,1 16.5,19Z"}))),a=Object(o.d)([e],n).map((function(t){var e=t.location,n=t.title,a=t.text;return Object(r.b)("a",{href:e,class:u,tabIndex:-1},Object(r.b)("article",{class:"parent"in t?f:b},!("parent"in t)&&c,Object(r.b)("h1",{class:s},n),a.length>0&&Object(r.b)("p",{class:l},Object(r.g)(a,320))))}));return Object(r.b)("li",{class:i},a)}var O="md-source__facts",j="md-source__fact";function p(t){var e=t.map((function(t){return Object(r.b)("li",{class:j},t)}));return Object(r.b)("ul",{class:O},e)}var h="md-typeset__scrollwrap",v="md-typeset__table";function m(t){return Object(r.b)("div",{class:h},Object(r.b)("div",{class:v},t))}},,,,,,,,function(t,e,n){"use strict";function r(t){t.style.webkitOverflowScrolling="touch"}function c(t){t.style.webkitOverflowScrolling=""}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return c}))},,,,,,,function(t,e,n){"use strict";var r=n(71);n.o(r,"applyNavigationLayer")&&n.d(e,"applyNavigationLayer",(function(){return r.applyNavigationLayer})),n.o(r,"mountSearch")&&n.d(e,"mountSearch",(function(){return r.mountSearch})),n.o(r,"mountSearchQuery")&&n.d(e,"mountSearchQuery",(function(){return r.mountSearchQuery})),n.o(r,"mountSearchReset")&&n.d(e,"mountSearchReset",(function(){return r.mountSearchReset})),n.o(r,"mountSearchResult")&&n.d(e,"mountSearchResult",(function(){return r.mountSearchResult})),n.o(r,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return r.mountTableOfContents})),n.o(r,"mountTabs")&&n.d(e,"mountTabs",(function(){return r.mountTabs})),n.o(r,"watchNavigationLayer")&&n.d(e,"watchNavigationLayer",(function(){return r.watchNavigationLayer}));var c=n(72);n.d(e,"applyNavigationLayer",(function(){return c.a})),n.d(e,"watchNavigationLayer",(function(){return c.b}));n(40)},function(t,e,n){"use strict";var r=n(75);n.o(r,"applyAnchorList")&&n.d(e,"applyAnchorList",(function(){return r.applyAnchorList})),n.o(r,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return r.mountNavigation})),n.o(r,"watchAnchorList")&&n.d(e,"watchAnchorList",(function(){return r.watchAnchorList}));var c=n(76);n.d(e,"applyAnchorList",(function(){return c.a})),n.d(e,"watchAnchorList",(function(){return c.b}));n(24)},,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(67);n.d(e,"mountNavigation",(function(){return r.a}));var c=n(47);n.o(c,"mountSearch")&&n.d(e,"mountSearch",(function(){return c.mountSearch})),n.o(c,"mountSearchQuery")&&n.d(e,"mountSearchQuery",(function(){return c.mountSearchQuery})),n.o(c,"mountSearchReset")&&n.d(e,"mountSearchReset",(function(){return c.mountSearchReset})),n.o(c,"mountSearchResult")&&n.d(e,"mountSearchResult",(function(){return c.mountSearchResult})),n.o(c,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return c.mountTableOfContents})),n.o(c,"mountTabs")&&n.d(e,"mountTabs",(function(){return c.mountTabs}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(36),c=n(25),a=n(9),o=n(1),i=n(31),u=n(47);function b(t){var e=t.header$,n=t.main$,b=t.viewport$,f=t.screen$;return Object(r.a)(Object(c.a)((function(t){return f.pipe(Object(c.a)((function(r){if(r)return Object(i.watchSidebar)(t,{main$:n,viewport$:b}).pipe(Object(i.applySidebar)(t,{header$:e}),Object(a.a)((function(t){return{sidebar:t}})));var c=Object(o.d)("nav",t);return Object(u.watchNavigationLayer)(c).pipe(Object(u.applyNavigationLayer)(c),Object(a.a)((function(t){return{layer:t}})))})))})))}},function(t,e,n){"use strict";var r=n(69);n.o(r,"applySidebar")&&n.d(e,"applySidebar",(function(){return r.applySidebar})),n.o(r,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return r.mountNavigation})),n.o(r,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return r.mountTableOfContents})),n.o(r,"mountTabs")&&n.d(e,"mountTabs",(function(){return r.mountTabs})),n.o(r,"watchSidebar")&&n.d(e,"watchSidebar",(function(){return r.watchSidebar}));var c=n(70);n.d(e,"applySidebar",(function(){return c.a})),n.d(e,"watchSidebar",(function(){return c.b}));n(21)},function(t,e){},function(t,e,n){"use strict";n.d(e,"b",(function(){return O})),n.d(e,"a",(function(){return j}));var r=n(0),c=n(62),a=n(36),o=n(59),i=n(9),u=n(49),b=n(46),f=n(90),s=n(58),l=n(64),d=n(21);function O(t,e){var n=e.main$,a=e.viewport$,o=t.parentElement.offsetTop-t.parentElement.parentElement.offsetTop;return Object(c.a)([n,a]).pipe(Object(i.a)((function(t){var e=Object(r.c)(t,2),n=e[0],c=n.offset,a=n.height,i=e[1].offset.y;return{height:a=a+Math.min(o,Math.max(0,i-c))-o,lock:i>=c+o}})),Object(u.a)((function(t,e){return t.height===e.height&&t.lock===e.lock})))}function j(t,e){var n=e.header$;return Object(a.a)(Object(b.b)(o.a),Object(f.a)(n),Object(s.a)((function(e){var n=Object(r.c)(e,2),c=n[0],a=c.height,o=c.lock,i=n[1].height;Object(d.d)(t,a),Object(d.e)(t,o),o?Object(d.f)(t,i):Object(d.c)(t)})),Object(i.a)((function(t){return Object(r.c)(t,1)[0]})),Object(l.a)((function(){Object(d.c)(t),Object(d.a)(t),Object(d.b)(t)})))}},function(t,e){},function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return v}));var r=n(0),c=n(92),a=n(89),o=n(87),i=n(36),u=n(59),b=n(9),f=n(63),s=n(46),l=n(58),d=n(95),O=n(64),j=n(1),p=n(40);function h(t){var e,n,i=new Map;try{for(var u=Object(r.f)(t),s=u.next();!s.done;s=u.next()){var l=s.value,d=Object(j.b)("label",l);if(void 0!==d){var O=Object(j.c)("#"+d.htmlFor);i.set(O,l)}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}return a.a.apply(void 0,Object(r.d)(Object(r.d)(i.keys()).map((function(t){return Object(o.a)(t,"change")})))).pipe(Object(b.a)((function(){return Object(j.c)(".md-nav__list",i.get(Object(c.a)((function(t){return t.checked}),Object(r.d)(i.keys()))))}))).pipe(Object(b.a)((function(t){return{next:t}})),Object(f.a)((function(t,e){return{prev:t.next,next:e.next}})))}function v(t){return Object(i.a)(Object(s.b)(u.a),Object(l.a)((function(t){var e=t.prev;e&&Object(p.a)(e)})),Object(d.a)(250),Object(s.b)(u.a),Object(l.a)((function(t){var e=t.next;Object(p.b)(e)})),Object(O.a)((function(){var e,n;try{for(var c=Object(r.f)(t),a=c.next();!a.done;a=c.next()){var o=a.value;Object(p.a)(Object(j.c)(".md-nav__list",o))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}})))}},function(t,e,n){"use strict";var r=n(74);n.d(e,"mountTableOfContents",(function(){return r.a}));var c=n(48);n.o(c,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return c.mountNavigation}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(0),c=n(36),a=n(62),o=n(45),i=n(25),u=n(9),b=n(1),f=n(31),s=n(48);function l(t){var e=t.header$,n=t.main$,l=t.viewport$,d=t.tablet$;return Object(c.a)(Object(i.a)((function(t){return d.pipe(Object(i.a)((function(c){if(c){var i=Object(b.d)(".md-nav__link",t),d=Object(f.watchSidebar)(t,{main$:n,viewport$:l}).pipe(Object(f.applySidebar)(t,{header$:e})),O=Object(s.watchAnchorList)(i,{header$:e,viewport$:l}).pipe(Object(s.applyAnchorList)(i));return Object(a.a)([d,O]).pipe(Object(u.a)((function(t){var e=Object(r.c)(t,2);return{sidebar:e[0],anchors:e[1]}})))}return Object(o.a)({})})))})))}},function(t,e){},function(t,e,n){"use strict";n.d(e,"b",(function(){return y})),n.d(e,"a",(function(){return g}));var r=n(0),c=n(96),a=n(62),o=n(36),i=n(59),u=n(9),b=n(88),f=n(25),s=n(63),l=n(49),d=n(94),O=n(91),j=n(46),p=n(58),h=n(64),v=n(1),m=n(24);function y(t,e){var n,o,i=e.header$,j=e.viewport$,p=new Map;try{for(var h=Object(r.f)(t),m=h.next();!m.done;m=h.next()){var y=m.value,g=decodeURIComponent(y.hash.substring(1)),w=Object(v.b)('[id="'+g+'"]');void 0!==w&&p.set(y,w)}}catch(t){n={error:t}}finally{try{m&&!m.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}var x=i.pipe(Object(u.a)((function(t){return 18+t.height})));return j.pipe(Object(b.a)("size"),Object(u.a)((function(){var t=[];return Object(r.d)(p).reduce((function(e,n){for(var a=Object(r.c)(n,2),o=a[0],i=a[1];t.length;){if(!(p.get(t[t.length-1]).tagName>=i.tagName))break;t.pop()}for(var u=i.offsetTop;!u&&i.parentElement;)u=(i=i.parentElement).offsetTop;return e.set(Object(c.a)(t=Object(r.d)(t,[o])),u)}),new Map)})),Object(f.a)((function(t){return Object(a.a)([x,j]).pipe(Object(s.a)((function(t,e){for(var n=Object(r.c)(t,2),c=n[0],a=n[1],o=Object(r.c)(e,2),i=o[0],u=o[1].offset.y;a.length;){if(!(Object(r.c)(a[0],2)[1]-i<u))break;c=Object(r.d)(c,[a.shift()])}for(;c.length;){if(!(Object(r.c)(c[c.length-1],2)[1]-i>=u))break;a=Object(r.d)([c.pop()],a)}return[c,a]}),[[],Object(r.d)(t)]),Object(l.a)((function(t,e){return t[0]===e[0]&&t[1]===e[1]})))}))).pipe(Object(u.a)((function(t){var e=Object(r.c)(t,2),n=e[0],c=e[1];return{prev:n.map((function(t){return Object(r.c)(t,1)[0]})),next:c.map((function(t){return Object(r.c)(t,1)[0]}))}})),Object(d.a)({prev:[],next:[]}),Object(O.a)(2,1),Object(u.a)((function(t){var e=Object(r.c)(t,2),n=e[0],c=e[1];return n.prev.length<c.prev.length?{prev:c.prev.slice(Math.max(0,n.prev.length-1),c.prev.length),next:[]}:{prev:c.prev.slice(-1),next:c.next.slice(0,c.next.length-n.next.length)}})))}function g(t){return Object(o.a)(Object(j.b)(i.a),Object(p.a)((function(t){var e,n,c=t.prev,a=t.next;try{for(var o=Object(r.f)(a),i=o.next();!i.done;i=o.next()){var u=Object(r.c)(i.value,1)[0];Object(m.a)(u),Object(m.b)(u)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}c.forEach((function(t,e){var n=Object(r.c)(t,1)[0];Object(m.c)(n,e===c.length-1),Object(m.d)(n,!0)}))})),Object(h.a)((function(){var e,n;try{for(var c=Object(r.f)(t),a=c.next();!a.done;a=c.next()){var o=a.value;Object(m.a)(o),Object(m.b)(o)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return w})),n.d(e,"d",(function(){return M}));var r=n(0),c=n(36),a=n(62),o=n(25),i=n(9);function u(t){var e=t.query$,n=t.reset$,u=t.result$;return Object(c.a)(Object(o.a)((function(){return Object(a.a)([e,u,n]).pipe(Object(i.a)((function(t){var e=Object(r.c)(t,2);return{query:e[0],result:e[1]}})))})))}var b=n(88),f=n(1),s=n(16),l=n(89),d=n(87),O=n(95),j=n(94),p=n(49);function h(t,e){var n=t.tx$;return void 0===e&&(e={}),Object(c.a)(Object(o.a)((function(t){var c=function(t,e){var n=(void 0===e?{}:e).transform||s.b,c=Object(l.a)(Object(d.a)(t,"keyup"),Object(d.a)(t,"focus").pipe(Object(O.a)(1))).pipe(Object(i.a)((function(){return n(t.value)})),Object(j.a)(n(t.value)),Object(p.a)()),o=Object(f.p)(t);return Object(a.a)([c,o]).pipe(Object(i.a)((function(t){var e=Object(r.c)(t,2);return{value:e[0],focus:e[1]}})))}(t,e);return c.pipe(Object(b.a)("value"),Object(i.a)((function(t){var e=t.value;return{type:s.a.QUERY,data:e}}))).subscribe(n.next.bind(n)),c.pipe(Object(b.a)("focus")).subscribe((function(t){var e=t.focus;e&&Object(f.m)("search",e)})),c})))}var v=n(106),m=n(58),y=n(102),g=n(22);function w(){return Object(c.a)(Object(o.a)((function(t){return function(t){return Object(d.a)(t,"click").pipe(Object(y.a)(void 0))}(t).pipe(Object(v.a)(Object(g.b)("search-query")),Object(m.a)(f.j),Object(y.a)(void 0))})),Object(j.a)(void 0))}var x=n(114),$=n(98),S=n(104),T=n(59),k=n(90),C=n(46),A=n(63),_=n(64),L=n(32),E=n(5);function N(t,e){t.appendChild(e)}function R(t,e){var n=e.query$,a=e.fetch$,u=Object(f.c)(".md-search-result__list",t),b=Object(f.c)(".md-search-result__meta",t);return Object(c.a)(Object(k.a)(n),Object(i.a)((function(t){var e=Object(r.c)(t,2),n=e[0];return e[1].value?function(t,e){switch(e){case 0:t.textContent=Object(E.f)("search.result.none");break;case 1:t.textContent=Object(E.f)("search.result.one");break;default:t.textContent=Object(E.f)("search.result.other",e.toString())}}(b,n.length):function(t){t.textContent=Object(E.f)("search.result.placeholder")}(b),n})),Object(o.a)((function(e){return a.pipe(Object(C.b)(T.a),Object(A.a)((function(n){for(var r=t.parentElement;n<e.length&&(N(u,Object(L.b)(e[n++])),!(r.scrollHeight-r.offsetHeight>16)););return n}),0),Object(y.a)(e),Object(_.a)((function(){!function(t){t.innerHTML=""}(u)})))})))}function M(t,e){var n=t.rx$,r=e.query$;return Object(c.a)(Object(o.a)((function(t){var e=t.parentElement,c=Object(f.q)(e).pipe(Object(i.a)((function(t){return t.y>=e.scrollHeight-e.offsetHeight-16})),Object(p.a)(),Object($.a)(x.a));return n.pipe(Object($.a)(s.c),Object(S.a)("data"),R(t,{query$:r,fetch$:c}))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(0),c=n(36),a=n(62),o=n(25),i=n(9),u=n(98),b=n(90),f=n(49),s=n(94),l=n(93),d=n(1),O=n(22),j=n(45),p=n(59),h=n(46),v=n(58),m=n(64);function y(t){var e=t.viewport$;return Object(c.a)(Object(o.a)((function(t){var n=function(t){var e=getComputedStyle(t);return["sticky","-webkit-sticky"].includes(e.position)?Object(d.r)(t).pipe(Object(i.a)((function(t){return{sticky:!0,height:t.height}})),Object(l.a)(1)):Object(j.a)({sticky:!1,height:0})}(t),y=Object(O.b)("main").pipe(Object(i.a)((function(t){return Object(d.b)("h1, h2, h3, h4, h5, h6",t)})),Object(u.a)((function(t){return void 0!==t})),Object(b.a)(Object(O.b)("header-title")),Object(o.a)((function(t){var a=Object(r.c)(t,2),o=a[0],u=a[1];return Object(d.z)(o,{header$:n,viewport$:e}).pipe(Object(i.a)((function(t){return t.offset.y>=o.offsetHeight?"page":"site"})),Object(f.a)(),function(t){return Object(c.a)(Object(h.b)(p.a),Object(v.a)((function(e){!function(t,e){t.setAttribute("data-md-state",e?"active":"")}(t,"page"===e)})),Object(m.a)((function(){!function(t){t.removeAttribute("data-md-state")}(t)})))}(u))})),Object(s.a)("site"));return Object(a.a)([n,y]).pipe(Object(i.a)((function(t){var e=Object(r.c)(t,2),n=e[0],c=e[1];return Object(r.a)({type:c},n)})),Object(l.a)(1))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(36),c=n(25),a=n(9),o=n(49),i=n(1),u=n(59),b=n(46),f=n(58),s=n(64);function l(t){var e=t.header$,n=t.viewport$;return Object(r.a)(Object(c.a)((function(t){return Object(i.z)(t,{header$:e,viewport$:n}).pipe(Object(a.a)((function(t){return{hidden:t.offset.y>=20}})),Object(o.a)(),function(t){return Object(r.a)(Object(b.b)(u.a),Object(f.a)((function(e){var n=e.hidden;!function(t,e){t.setAttribute("data-md-state",e?"hidden":"")}(t,n)})),Object(s.a)((function(){!function(t){t.removeAttribute("data-md-state")}(t)})))}(t))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r=n(26),c=n(36),a=n(25),o=n(88),i=n(58),u=n(22),b=n(0),f=n(62),s=n(59),l=n(104),d=n(49),O=n(93),j=n(9),p=n(46),h=n(64),v=n(1);function m(t){var e=t.header$,n=t.viewport$,m=new r.a;return Object(u.b)("header").pipe(Object(a.a)((function(t){return m.pipe(Object(o.a)("active"),(e=t,Object(c.a)(Object(p.b)(s.a),Object(i.a)((function(t){var n=t.active;!function(t,e){t.setAttribute("data-md-state",e?"shadow":"")}(e,n)})),Object(h.a)((function(){!function(t){t.removeAttribute("data-md-state")}(e)})))));var e}))).subscribe(),Object(c.a)(Object(a.a)((function(t){return function(t,e){var n=e.header$,r=e.viewport$,c=n.pipe(Object(l.a)("height"),Object(d.a)(),Object(O.a)(1)),i=c.pipe(Object(a.a)((function(){return Object(v.r)(t).pipe(Object(j.a)((function(e){var n=e.height;return{top:t.offsetTop,bottom:t.offsetTop+n}})))})),Object(o.a)("bottom"),Object(O.a)(1));return Object(f.a)([c,i,r]).pipe(Object(j.a)((function(t){var e=Object(b.c)(t,3),n=e[0],r=e[1],c=r.top,a=r.bottom,o=e[2],i=o.offset.y,u=o.size.height;return{offset:c-n,height:u=Math.max(0,u-Math.max(0,c-i,n)-Math.max(0,u+i-a)),active:i>=c-n}})),Object(d.a)((function(t,e){return t.offset===e.offset&&t.height===e.height&&t.active===e.active})))}(t,{header$:e,viewport$:n})})),Object(i.a)((function(t){return m.next(t)})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(36),c=n(45),a=n(25),o=n(9),i=n(49),u=n(1),b=n(59),f=n(46),s=n(58),l=n(64);function d(t){var e=t.header$,n=t.viewport$,d=t.screen$;return Object(r.a)(Object(a.a)((function(t){return d.pipe(Object(a.a)((function(a){return a?Object(u.z)(t,{header$:e,viewport$:n}).pipe(Object(o.a)((function(t){return{hidden:t.offset.y>=10}})),Object(i.a)(),function(t){return Object(r.a)(Object(f.b)(b.a),Object(s.a)((function(e){var n=e.hidden;!function(t,e){t.setAttribute("data-md-state",e?"hidden":"")}(t,n)})),Object(l.a)((function(){!function(t){t.removeAttribute("data-md-state")}(t)})))}(t)):Object(c.a)({hidden:!0})})))})))}},,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"setScrollLock",(function(){return P})),n.d(e,"resetScrollLock",(function(){return q})),n.d(e,"initialize",(function(){return U}));var r=n(0),c=n(110),a=n(41),o=n(62),i=n(59),u=n(87),b=n(45),f=n(101),s=n(89),l=n(113),d=n(93),O=n(25),j=n(104),p=n(58),h=n(95),v=n(90),m=n(46),y=n(98),g=n(111),w=n(112),x=n(1),$=n(7),S=n(16),T=n(114),k=n(9),C=n(106);var A=n(99);var _=n(109),L=n(102);function E(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}var N=n(100),R=n(32),M=n(5);function H(t){switch(Object(r.c)(t.match(/(git(?:hub|lab))/i)||[],1)[0].toLowerCase()){case"github":var e=Object(r.c)(t.match(/^.+github\.com\/([^\/]+)\/?([^\/]+)/i),3);return function(t,e){return Object(l.a)({url:void 0!==e?"https://api.github.com/repos/"+t+"/"+e:"https://api.github.com/users/"+t,responseType:"json"}).pipe(Object(y.a)((function(t){return 200===t.status})),Object(j.a)("response"),Object(O.a)((function(t){if(void 0!==e){var n=t.stargazers_count,r=t.forks_count;return Object(b.a)([Object(M.e)(n||0)+" Stars",Object(M.e)(r||0)+" Forks"])}var c=t.public_repos;return Object(b.a)([Object(M.e)(c||0)+" Repositories"])})))}(e[1],e[2]);case"gitlab":var n=Object(r.c)(t.match(/^.+?([^\/]*gitlab[^\/]+)\/(.+)/i),3);return function(t,e){return Object(l.a)({url:"https://"+t+"/api/v4/projects/"+encodeURIComponent(e),responseType:"json"}).pipe(Object(y.a)((function(t){return 200===t.status})),Object(j.a)("response"),Object(k.a)((function(t){var e=t.star_count,n=t.forks_count;return[Object(M.e)(e)+" Stars",Object(M.e)(n)+" Forks"]})))}(n[1],n[2]);default:return f.a}}function P(t,e){t.setAttribute("data-md-state","lock"),t.style.top="-"+e+"px"}function q(t){var e=-1*parseInt(t.style.top,10);t.removeAttribute("data-md-state"),t.style.top="",e&&window.scrollTo(0,e)}function U(t){var e,n,U,z;if(!Object(M.d)(t))throw new SyntaxError("Invalid configuration: "+JSON.stringify(t));var Q=Object(x.t)(),I=Object(x.u)(t.base,{location$:Q}),V=Object(x.v)(),W=Object(x.y)(),D=Object(x.w)("(min-width: 960px)"),J=Object(x.w)("(min-width: 1220px)"),F=t.features.includes("instant")?Object(x.o)({location$:Q}):Object(x.o)();Object($.setupComponents)(["container","header","header-title","hero","main","navigation","search","search-query","search-reset","search-result","skip","tabs","toc"],{document$:F});var Y=Object(S.g)();!function(t){var e=t.document$,n=t.hash$,c=e.pipe(Object(k.a)((function(){return Object(x.d)("details")})));Object(s.a)(Object(x.w)("print").pipe(Object(y.a)(T.a)),Object(u.a)(window,"beforeprint")).pipe(Object(C.a)(c)).subscribe((function(t){var e,n;try{for(var c=Object(r.f)(t),a=c.next();!a.done;a=c.next()){a.value.setAttribute("open","")}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}})),n.pipe(Object(k.a)((function(t){return Object(x.b)('[id="'+t+'"]')})),Object(y.a)((function(t){return void 0!==t})),Object(p.a)((function(t){var e=t.closest("details");e&&!e.open&&e.setAttribute("open","")}))).subscribe((function(t){return t.scrollIntoView()}))}({document$:F,hash$:V}),function(t){t.document$.pipe(Object(A.a)(1),Object(v.a)(Object($.useComponent)("container")),Object(k.a)((function(t){var e=Object(r.c)(t,2)[1];return Object(x.d)("script",e)}))).subscribe((function(t){var e,n;try{for(var c=Object(r.f)(t),a=c.next();!a.done;a=c.next()){var o=a.value;if(o.src||/(^|\/javascript)$/i.test(o.type)){var i=document.createElement("script"),u=o.src?"src":"textContent";i[u]=o[u],o.replaceWith(i)}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}}))}({document$:F}),function(t){t.document$.pipe(Object(k.a)((function(){return Object(x.c)(".md-source[href]")})),Object(O.a)((function(t){var e=t.href;return Object(M.a)(""+Object(M.c)(e),(function(){return H(e)}))})),Object(N.a)((function(){return f.a}))).subscribe((function(t){var e,n;try{for(var c=Object(r.f)(Object(x.d)(".md-source__repository")),a=c.next();!a.done;a=c.next()){var o=a.value;o.hasAttribute("data-md-state")||(o.setAttribute("data-md-state","done"),o.appendChild(Object(R.c)(t)))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}}))}({document$:F}),function(t){var e=t.document$,n=document.createElement("table");e.pipe(Object(k.a)((function(){return Object(x.d)("table:not([class])")}))).subscribe((function(t){var e,c;try{for(var a=Object(r.f)(t),o=a.next();!o.done;o=a.next()){var i=o.value;i.replaceWith(n),n.replaceWith(Object(R.d)(i))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(c=a.return)&&c.call(a)}finally{if(e)throw e.error}}}))}({document$:F}),function(t){var e=t.document$.pipe(Object(k.a)((function(){return Object(x.d)("[data-md-scrollfix]")})),Object(d.a)(1));e.subscribe((function(t){var e,n;try{for(var c=Object(r.f)(t),a=c.next();!a.done;a=c.next()){a.value.removeAttribute("data-md-scrollfix")}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}})),Object(_.a)(E,e,f.a).pipe(Object(O.a)((function(t){return s.a.apply(void 0,Object(r.d)(t.map((function(t){return Object(u.a)(t,"touchstart",{passive:!0}).pipe(Object(L.a)(t))}))))}))).subscribe((function(t){var e=t.scrollTop;0===e?t.scrollTop=1:e+t.offsetHeight===t.scrollHeight&&(t.scrollTop=e-1)}))}({document$:F});var B=Object(S.e)(),K=Object(S.d)({document$:F,dialog$:B}),X=Object($.useComponent)("header").pipe(Object($.mountHeader)({viewport$:W}),Object(d.a)(1)),Z=Object($.useComponent)("main").pipe(Object($.mountMain)({header$:X,viewport$:W}),Object(d.a)(1)),G=Object($.useComponent)("navigation").pipe(Object($.mountNavigation)({header$:X,main$:Z,viewport$:W,screen$:J}),Object(d.a)(1)),tt=Object($.useComponent)("toc").pipe(Object($.mountTableOfContents)({header$:X,main$:Z,viewport$:W,tablet$:D}),Object(d.a)(1)),et=Object($.useComponent)("tabs").pipe(Object($.mountTabs)({header$:X,viewport$:W,screen$:J}),Object(d.a)(1)),nt=Object($.useComponent)("hero").pipe(Object($.mountHero)({header$:X,viewport$:W}),Object(d.a)(1)),rt=t.search&&t.search.index?t.search.index:void 0,ct=void 0!==rt?Object(a.a)(rt):I.pipe(Object(O.a)((function(t){return Object(l.a)({url:t+"/search/search_index.json",responseType:"json",withCredentials:!0}).pipe(Object(j.a)("response"))}))),at=Object(S.h)(t.search.worker,{base$:I,index$:ct}),ot=Object($.useComponent)("search-query").pipe(Object($.mountSearchQuery)(at),Object(d.a)(1)),it=Object($.useComponent)("search-reset").pipe(Object($.mountSearchReset)(),Object(d.a)(1)),ut=Object($.useComponent)("search-result").pipe(Object($.mountSearchResult)(at,{query$:ot}),Object(d.a)(1)),bt=Object($.useComponent)("search").pipe(Object($.mountSearch)({query$:ot,reset$:it,result$:ut}),Object(d.a)(1));V.pipe(Object(p.a)((function(){return Object(x.m)("search",!1)})),Object(h.a)(125)).subscribe((function(t){return Object(x.l)("#"+t)})),Object(o.a)([Object(x.x)("search"),D]).pipe(Object(v.a)(W),Object(O.a)((function(t){var e=Object(r.c)(t,2),n=Object(r.c)(e[0],2),c=n[0],a=n[1],o=e[1].offset.y,u=c&&!a;return F.pipe(Object(h.a)(u?400:100),Object(m.b)(i.a),Object(p.a)((function(t){var e=t.body;return u?P(e,o):q(e)})))}))).subscribe();var ft=Object(u.a)(document.body,"click").pipe(Object(y.a)((function(t){return!(t.metaKey||t.ctrlKey)})),Object(O.a)((function(e){if(e.target instanceof HTMLElement){var n=e.target.closest("a");if(n&&Object(x.g)(n))return!Object(x.f)(n)&&t.features.includes("instant")&&e.preventDefault(),Object(b.a)(n)}return f.a})),Object(g.a)());if(ft.subscribe((function(){Object(x.m)("drawer",!1)})),t.features.includes("instant")){"scrollRestoration"in history&&(history.scrollRestoration="manual");try{for(var st=Object(r.f)(['link[rel="shortcut icon"]']),lt=st.next();!lt.done;lt=st.next()){var dt=lt.value;try{for(var Ot=(U=void 0,Object(r.f)(Object(x.d)(dt))),jt=Ot.next();!jt.done;jt=Ot.next()){var pt=jt.value;pt.href=pt.href}}catch(t){U={error:t}}finally{try{jt&&!jt.done&&(z=Ot.return)&&z.call(Ot)}finally{if(U)throw U.error}}}}catch(t){e={error:t}}finally{try{lt&&!lt.done&&(n=st.return)&&n.call(st)}finally{if(e)throw e.error}}Object(S.f)({document$:F,link$:ft,location$:Q,viewport$:W})}Y.pipe(Object(y.a)((function(t){return"global"===t.mode&&["Tab"].includes(t.type)})),Object(w.a)(1)).subscribe((function(){var t,e;try{for(var n=Object(r.f)(Object(x.d)(".headerlink")),c=n.next();!c.done;c=n.next()){c.value.style.visibility="visible"}}catch(e){t={error:e}}finally{try{c&&!c.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}));var ht={document$:F,viewport$:W,header$:X,hero$:nt,main$:Z,navigation$:G,search$:bt,tabs$:et,toc$:tt,clipboard$:K,keyboard$:Y,dialog$:B};return s.a.apply(void 0,Object(r.d)(Object(c.a)(ht))).subscribe(),ht}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.659deb65.min.js.map
|