(()=>{var Ri=Object.create,ut=Object.defineProperty,Pi=Object.getPrototypeOf,zt=Object.prototype.hasOwnProperty,$i=Object.getOwnPropertyNames,Vi=Object.getOwnPropertyDescriptor,lt=Object.getOwnPropertySymbols,xr=Object.prototype.propertyIsEnumerable;var Sr=(e,t,r)=>t in e?ut(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$=(e,t)=>{for(var r in t||(t={}))zt.call(t,r)&&Sr(e,r,t[r]);if(lt)for(var r of lt(t))xr.call(t,r)&&Sr(e,r,t[r]);return e},Di=e=>ut(e,"__esModule",{value:!0});var wr=(e,t)=>{var r={};for(var n in e)zt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&<)for(var n of lt(e))t.indexOf(n)<0&&xr.call(e,n)&&(r[n]=e[n]);return r},ft=(e,t)=>()=>(t||(t={exports:{}},e(t.exports,t)),t.exports);var Ui=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of $i(t))!zt.call(e,n)&&n!=="default"&&ut(e,n,{get:()=>t[n],enumerable:!(r=Vi(t,n))||r.enumerable});return e},Be=e=>Ui(Di(ut(e!=null?Ri(Pi(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Or=ft((Qt,Er)=>{(function(e,t){typeof Qt=="object"&&typeof Er!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(Qt,function(){"use strict";function e(r){var n=!0,o=!1,i=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(T){return!!(T&&T!==document&&T.nodeName!=="HTML"&&T.nodeName!=="BODY"&&"classList"in T&&"contains"in T.classList)}function c(T){var at=T.type,st=T.tagName;return!!(st==="INPUT"&&a[at]&&!T.readOnly||st==="TEXTAREA"&&!T.readOnly||T.isContentEditable)}function u(T){T.classList.contains("focus-visible")||(T.classList.add("focus-visible"),T.setAttribute("data-focus-visible-added",""))}function l(T){!T.hasAttribute("data-focus-visible-added")||(T.classList.remove("focus-visible"),T.removeAttribute("data-focus-visible-added"))}function m(T){T.metaKey||T.altKey||T.ctrlKey||(s(r.activeElement)&&u(r.activeElement),n=!0)}function f(T){n=!1}function h(T){!s(T.target)||(n||c(T.target))&&u(T.target)}function y(T){!s(T.target)||(T.target.classList.contains("focus-visible")||T.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),l(T.target))}function b(T){document.visibilityState==="hidden"&&(o&&(n=!0),z())}function z(){document.addEventListener("mousemove",C),document.addEventListener("mousedown",C),document.addEventListener("mouseup",C),document.addEventListener("pointermove",C),document.addEventListener("pointerdown",C),document.addEventListener("pointerup",C),document.addEventListener("touchmove",C),document.addEventListener("touchstart",C),document.addEventListener("touchend",C)}function P(){document.removeEventListener("mousemove",C),document.removeEventListener("mousedown",C),document.removeEventListener("mouseup",C),document.removeEventListener("pointermove",C),document.removeEventListener("pointerdown",C),document.removeEventListener("pointerup",C),document.removeEventListener("touchmove",C),document.removeEventListener("touchstart",C),document.removeEventListener("touchend",C)}function C(T){T.target.nodeName&&T.target.nodeName.toLowerCase()==="html"||(n=!1,P())}document.addEventListener("keydown",m,!0),document.addEventListener("mousedown",f,!0),document.addEventListener("pointerdown",f,!0),document.addEventListener("touchstart",f,!0),document.addEventListener("visibilitychange",b,!0),z(),r.addEventListener("focus",h,!0),r.addEventListener("blur",y,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var Qr=ft((za,pt)=>{var Tr,_r,Mr,Ar,Lr,Hr,Cr,kr,jr,mt,qt,Fr,Ir,Rr,Pe,Pr,$r,Vr,Dr,Ur,Nr,Wr,zr,dt;(function(e){var t=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof pt=="object"&&typeof pt.exports=="object"?e(r(t,r(pt.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,a){return n[i]=o?o(i,a):a}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])};Tr=function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(n,o);function i(){this.constructor=n}n.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},_r=Object.assign||function(n){for(var o,i=1,a=arguments.length;i=0;l--)(u=n[l])&&(c=(s<3?u(c):s>3?u(o,i,c):u(o,i))||c);return s>3&&c&&Object.defineProperty(o,i,c),c},Lr=function(n,o){return function(i,a){o(i,a,n)}},Hr=function(n,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(n,o)},Cr=function(n,o,i,a){function s(c){return c instanceof i?c:new i(function(u){u(c)})}return new(i||(i=Promise))(function(c,u){function l(h){try{f(a.next(h))}catch(y){u(y)}}function m(h){try{f(a.throw(h))}catch(y){u(y)}}function f(h){h.done?c(h.value):s(h.value).then(l,m)}f((a=a.apply(n,o||[])).next())})},kr=function(n,o){var i={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},a,s,c,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(f){return function(h){return m([f,h])}}function m(f){if(a)throw new TypeError("Generator is already executing.");for(;i;)try{if(a=1,s&&(c=f[0]&2?s.return:f[0]?s.throw||((c=s.return)&&c.call(s),0):s.next)&&!(c=c.call(s,f[1])).done)return c;switch(s=0,c&&(f=[f[0]&2,c.value]),f[0]){case 0:case 1:c=f;break;case 4:return i.label++,{value:f[1],done:!1};case 5:i.label++,s=f[1],f=[0];continue;case 7:f=i.ops.pop(),i.trys.pop();continue;default:if(c=i.trys,!(c=c.length>0&&c[c.length-1])&&(f[0]===6||f[0]===2)){i=0;continue}if(f[0]===3&&(!c||f[1]>c[0]&&f[1]=n.length&&(n=void 0),{value:n&&n[a++],done:!n}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},qt=function(n,o){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var a=i.call(n),s,c=[],u;try{for(;(o===void 0||o-- >0)&&!(s=a.next()).done;)c.push(s.value)}catch(l){u={error:l}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(u)throw u.error}}return c},Fr=function(){for(var n=[],o=0;o1||l(b,z)})})}function l(b,z){try{m(a[b](z))}catch(P){y(c[0][3],P)}}function m(b){b.value instanceof Pe?Promise.resolve(b.value.v).then(f,h):y(c[0][2],b)}function f(b){l("next",b)}function h(b){l("throw",b)}function y(b,z){b(z),c.shift(),c.length&&l(c[0][0],c[0][1])}},$r=function(n){var o,i;return o={},a("next"),a("throw",function(s){throw s}),a("return"),o[Symbol.iterator]=function(){return this},o;function a(s,c){o[s]=n[s]?function(u){return(i=!i)?{value:Pe(n[s](u)),done:s==="return"}:c?c(u):u}:c}},Vr=function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=n[Symbol.asyncIterator],i;return o?o.call(n):(n=typeof mt=="function"?mt(n):n[Symbol.iterator](),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(c){i[c]=n[c]&&function(u){return new Promise(function(l,m){u=n[c](u),s(l,m,u.done,u.value)})}}function s(c,u,l,m){Promise.resolve(m).then(function(f){c({value:f,done:l})},u)}},Dr=function(n,o){return Object.defineProperty?Object.defineProperty(n,"raw",{value:o}):n.raw=o,n};var r=Object.create?function(n,o){Object.defineProperty(n,"default",{enumerable:!0,value:o})}:function(n,o){n.default=o};Ur=function(n){if(n&&n.__esModule)return n;var o={};if(n!=null)for(var i in n)i!=="default"&&Object.prototype.hasOwnProperty.call(n,i)&&dt(o,n,i);return r(o,n),o},Nr=function(n){return n&&n.__esModule?n:{default:n}},Wr=function(n,o){if(!o.has(n))throw new TypeError("attempted to get private field on non-instance");return o.get(n)},zr=function(n,o,i){if(!o.has(n))throw new TypeError("attempted to set private field on non-instance");return o.set(n,i),i},e("__extends",Tr),e("__assign",_r),e("__rest",Mr),e("__decorate",Ar),e("__param",Lr),e("__metadata",Hr),e("__awaiter",Cr),e("__generator",kr),e("__exportStar",jr),e("__createBinding",dt),e("__values",mt),e("__read",qt),e("__spread",Fr),e("__spreadArrays",Ir),e("__spreadArray",Rr),e("__await",Pe),e("__asyncGenerator",Pr),e("__asyncDelegator",$r),e("__asyncValues",Vr),e("__makeTemplateObject",Dr),e("__importStar",Ur),e("__importDefault",Nr),e("__classPrivateFieldGet",Wr),e("__classPrivateFieldSet",zr)})});var lr=ft((it,ur)=>{(function(t,r){typeof it=="object"&&typeof ur=="object"?ur.exports=r():typeof define=="function"&&define.amd?define([],r):typeof it=="object"?it.ClipboardJS=r():t.ClipboardJS=r()})(it,function(){return function(){var e={134:function(n,o,i){"use strict";i.d(o,{default:function(){return Fi}});var a=i(279),s=i.n(a),c=i(370),u=i.n(c),l=i(817),m=i.n(l);function f(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(d){return typeof d}:f=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},f(w)}function h(w,v){if(!(w instanceof v))throw new TypeError("Cannot call a class as a function")}function y(w,v){for(var d=0;d0&&arguments[0]!==void 0?arguments[0]:{};this.action=d.action,this.container=d.container,this.emitter=d.emitter,this.target=d.target,this.text=d.text,this.trigger=d.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var d=document.documentElement.getAttribute("dir")==="rtl";this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[d?"right":"left"]="-9999px";var A=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(A,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var d=this,A=this.createFakeElement();this.fakeHandlerCallback=function(){return d.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(A),this.selectedText=m()(A),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=m()(this.target),this.copyText()}},{key:"copyText",value:function(){var d;try{d=document.execCommand(this.action)}catch(A){d=!1}this.handleResult(d)}},{key:"handleResult",value:function(d){this.emitter.emit(d?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"copy";if(this._action=d,this._action!=="copy"&&this._action!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(d){if(d!==void 0)if(d&&f(d)==="object"&&d.nodeType===1){if(this.action==="copy"&&d.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(this.action==="cut"&&(d.hasAttribute("readonly")||d.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);this._target=d}else throw new Error('Invalid "target" value, use a valid Element')},get:function(){return this._target}}]),w}(),P=z;function C(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(d){return typeof d}:C=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},C(w)}function T(w,v){if(!(w instanceof v))throw new TypeError("Cannot call a class as a function")}function at(w,v){for(var d=0;d0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof I.action=="function"?I.action:this.defaultAction,this.target=typeof I.target=="function"?I.target:this.defaultTarget,this.text=typeof I.text=="function"?I.text:this.defaultText,this.container=C(I.container)==="object"?I.container:document.body}},{key:"listenClick",value:function(I){var X=this;this.listener=u()(I,"click",function(Ye){return X.onClick(Ye)})}},{key:"onClick",value:function(I){var X=I.delegateTarget||I.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new P({action:this.action(X),target:this.target(X),text:this.text(X),container:this.container,trigger:X,emitter:this})}},{key:"defaultAction",value:function(I){return Wt("action",I)}},{key:"defaultTarget",value:function(I){var X=Wt("target",I);if(X)return document.querySelector(X)}},{key:"defaultText",value:function(I){return Wt("text",I)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],X=typeof I=="string"?[I]:I,Ye=!!document.queryCommandSupported;return X.forEach(function(Ii){Ye=Ye&&!!document.queryCommandSupported(Ii)}),Ye}}]),d}(s()),Fi=ji},828:function(n){var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function a(s,c){for(;s&&s.nodeType!==o;){if(typeof s.matches=="function"&&s.matches(c))return s;s=s.parentNode}}n.exports=a},438:function(n,o,i){var a=i(828);function s(l,m,f,h,y){var b=u.apply(this,arguments);return l.addEventListener(f,b,y),{destroy:function(){l.removeEventListener(f,b,y)}}}function c(l,m,f,h,y){return typeof l.addEventListener=="function"?s.apply(null,arguments):typeof f=="function"?s.bind(null,document).apply(null,arguments):(typeof l=="string"&&(l=document.querySelectorAll(l)),Array.prototype.map.call(l,function(b){return s(b,m,f,h,y)}))}function u(l,m,f,h){return function(y){y.delegateTarget=a(y.target,m),y.delegateTarget&&h.call(l,y)}}n.exports=c},879:function(n,o){o.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},o.nodeList=function(i){var a=Object.prototype.toString.call(i);return i!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in i&&(i.length===0||o.node(i[0]))},o.string=function(i){return typeof i=="string"||i instanceof String},o.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(n,o,i){var a=i(879),s=i(438);function c(f,h,y){if(!f&&!h&&!y)throw new Error("Missing required arguments");if(!a.string(h))throw new TypeError("Second argument must be a String");if(!a.fn(y))throw new TypeError("Third argument must be a Function");if(a.node(f))return u(f,h,y);if(a.nodeList(f))return l(f,h,y);if(a.string(f))return m(f,h,y);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function u(f,h,y){return f.addEventListener(h,y),{destroy:function(){f.removeEventListener(h,y)}}}function l(f,h,y){return Array.prototype.forEach.call(f,function(b){b.addEventListener(h,y)}),{destroy:function(){Array.prototype.forEach.call(f,function(b){b.removeEventListener(h,y)})}}}function m(f,h,y){return s(document.body,f,h,y)}n.exports=c},817:function(n){function o(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var s=i.hasAttribute("readonly");s||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),s||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var c=window.getSelection(),u=document.createRange();u.selectNodeContents(i),c.removeAllRanges(),c.addRange(u),a=c.toString()}return a}n.exports=o},279:function(n){function o(){}o.prototype={on:function(i,a,s){var c=this.e||(this.e={});return(c[i]||(c[i]=[])).push({fn:a,ctx:s}),this},once:function(i,a,s){var c=this;function u(){c.off(i,u),a.apply(s,arguments)}return u._=a,this.on(i,u,s)},emit:function(i){var a=[].slice.call(arguments,1),s=((this.e||(this.e={}))[i]||[]).slice(),c=0,u=s.length;for(c;c{"use strict";var Aa=/["'&<>]/;ni.exports=La;function La(e){var t=""+e,r=Aa.exec(t);if(!r)return t;var n,o="",i=0,a=0;for(i=r.index;i0?e.prototype.requestAsyncId.call(this,r,n,o):(r.actions.push(this),r.scheduled||(r.scheduled=Ve.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,n,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,r,n,o);r.actions.length===0&&(Ve.cancelAnimationFrame(n),r.scheduled=void 0)},t}(xt);var un=function(e){K(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this.active=!0,this.scheduled=void 0;var n=this.actions,o,i=-1;r=r||n.shift();var a=n.length;do if(o=r.execute(r.state,r.delay))break;while(++i=2,!0))}function ie(e){e=e||{};var t=e.connector,r=t===void 0?function(){return new _}:t,n=e.resetOnComplete,o=n===void 0?!0:n,i=e.resetOnError,a=i===void 0?!0:i,s=e.resetOnRefCountZero,c=s===void 0?!0:s,u=null,l=null,m=0,f=!1,h=!1,y=function(){u=l=null,f=h=!1};return g(function(b,z){return m++,l=l!=null?l:r(),l.subscribe(z),u||(u=Se(b).subscribe({next:function(P){return l.next(P)},error:function(P){h=!0;var C=l;a&&y(),C.error(P)},complete:function(){f=!0;var P=l;o&&y(),P.complete()}})),function(){if(m--,c&&!m&&!h&&!f){var P=u;y(),P==null||P.unsubscribe()}}})}function re(e,t,r){var n,o,i,a=!1;return e&&typeof e=="object"?(i=(n=e.bufferSize)!==null&&n!==void 0?n:Infinity,t=(o=e.windowTime)!==null&&o!==void 0?o:Infinity,a=!!e.refCount,r=e.scheduler):i=e!=null?e:Infinity,ie({connector:function(){return new yt(i,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function ar(e){return L(function(t,r){return e<=r})}function Cn(e){return g(function(t,r){var n=!1,o=new x(r,function(){o==null||o.unsubscribe(),n=!0},void 0,Z);W(e).subscribe(o),t.subscribe(new x(r,function(i){return n&&r.next(i)}))})}function D(){for(var e=[],t=0;tt==="focus"),D(e===ke()))}var Dn=new _,da=Te(()=>F(new ResizeObserver(e=>{for(let t of e)Dn.next(t)}))).pipe(E(e=>ee.pipe(D(e)).pipe(V(()=>e.disconnect()))),re(1));function Le(e){return{width:e.offsetWidth,height:e.offsetHeight}}function kt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function He(e){return da.pipe(k(t=>t.observe(e)),E(t=>Dn.pipe(L(({target:r})=>r===e),V(()=>t.unobserve(e)),p(()=>Le(e)))),D(Le(e)))}function Un(e){return{x:e.scrollLeft,y:e.scrollTop}}function ha(e){return R(O(e,"scroll"),O(window,"resize")).pipe(p(()=>Un(e)),D(Un(e)))}function Nn(e,t=16){return ha(e).pipe(p(({y:r})=>{let n=Le(e),o=kt(e);return r>=o.height-n.height-t}),Q())}function Wn(e){if(e instanceof HTMLInputElement)e.select();else throw new Error("Not implemented")}var jt={drawer:pe("[data-md-toggle=drawer]"),search:pe("[data-md-toggle=search]")};function zn(e){return jt[e].checked}function Fe(e,t){jt[e].checked!==t&&jt[e].click()}function Ft(e){let t=jt[e];return O(t,"change").pipe(p(()=>t.checked),D(t.checked))}function ba(e){switch(e.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return e.isContentEditable}}function Qn(){return O(window,"keydown").pipe(L(e=>!(e.metaKey||e.ctrlKey)),p(e=>({mode:zn("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),L(({mode:e})=>{if(e==="global"){let t=ke();if(typeof t!="undefined")return!ba(t)}return!0}),ie())}function qn(){return new URL(location.href)}function Kn(e){location.href=e.href}function Jn(){return new _}function Yn(){return location.hash.substring(1)}function Bn(e){let t=Qe("a");t.href=e,t.addEventListener("click",r=>r.stopPropagation()),t.click()}function va(){return O(window,"hashchange").pipe(p(Yn),D(Yn()),L(e=>e.length>0),ie())}function Gn(){return va().pipe(E(e=>F(ae(`[id="${e}"]`))))}function qe(e){let t=matchMedia(e);return O(t,"change").pipe(p(r=>r.matches),D(t.matches))}function Xn(){return R(qe("print").pipe(L(Boolean)),O(window,"beforeprint")).pipe(ne(void 0))}function sr(e,t){return e.pipe(E(r=>r?t():ee))}function It(e,t={credentials:"same-origin"}){return Se(fetch(`${e}`,t)).pipe(L(r=>r.status===200))}function ye(e,t){return It(e,t).pipe(E(r=>r.json()),re(1))}function Zn(e,t){let r=new DOMParser;return It(e,t).pipe(E(n=>n.text()),p(n=>r.parseFromString(n,"text/xml")),re(1))}function eo(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function cr({x:e,y:t}){window.scrollTo(e||0,t||0)}function to(){return R(O(window,"scroll",{passive:!0}),O(window,"resize",{passive:!0})).pipe(p(eo),D(eo()))}function ro(){return{width:innerWidth,height:innerHeight}}function no(){return O(window,"resize",{passive:!0}).pipe(p(ro),D(ro()))}function oo(){return B([to(),no()]).pipe(p(([e,t])=>({offset:e,size:t})),re(1))}function Rt(e,{viewport$:t,header$:r}){let n=t.pipe(N("size")),o=B([n,r]).pipe(p(()=>({x:e.offsetLeft,y:e.offsetTop})));return B([r,t,o]).pipe(p(([{height:i},{offset:a,size:s},{x:c,y:u}])=>({offset:{x:a.x-c,y:a.y-u+i},size:s})))}function io(e,{tx$:t}){let r=O(e,"message").pipe(p(({data:n})=>n));return t.pipe(In(()=>r,{leading:!0,trailing:!0}),k(n=>e.postMessage(n)),kn(r),ie())}var ga=pe("#__config"),Ke=JSON.parse(ga.textContent);Ke.base=new URL(Ke.base,qn()).toString().replace(/\/$/,"");function se(){return Ke}function Pt(e){return Ke.features.includes(e)}function G(e,t){return typeof t!="undefined"?Ke.translations[e].replace("#",t.toString()):Ke.translations[e]}function Ce(e,t=document){return pe(`[data-md-component=${e}]`,t)}function me(e,t=document){return q(`[data-md-component=${e}]`,t)}var Wo=Be(lr());function ao(e,t=0){e.setAttribute("tabindex",t.toString())}function so(e){e.removeAttribute("tabindex")}function co(e,t){e.setAttribute("data-md-state","lock"),e.style.top=`-${t}px`}function uo(e){let t=-1*parseInt(e.style.top,10);e.removeAttribute("data-md-state"),e.style.top="",t&&window.scrollTo(0,t)}function lo(e,t){e.setAttribute("data-md-state",t)}function fo(e){e.removeAttribute("data-md-state")}function po(e,t){e.classList.toggle("md-nav__link--active",t)}function mo(e){e.classList.remove("md-nav__link--active")}function ho(e,t){e.firstElementChild.innerHTML=t}function bo(e,t){e.setAttribute("data-md-state",t)}function vo(e){e.removeAttribute("data-md-state")}function go(e,t){e.setAttribute("data-md-state",t)}function yo(e){e.removeAttribute("data-md-state")}function xo(e,t){e.setAttribute("data-md-state",t)}function So(e){e.removeAttribute("data-md-state")}function wo(e,t){e.placeholder=t}function Eo(e){e.placeholder=G("search.placeholder")}function Oo(e,t){if(typeof t=="string"||typeof t=="number")e.innerHTML+=t.toString();else if(t instanceof Node)e.appendChild(t);else if(Array.isArray(t))for(let r of t)Oo(e,r)}function U(e,t,...r){let n=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="boolean"?n.setAttribute(o,t[o]):t[o]&&n.setAttribute(o,"");for(let o of r)Oo(n,o);return n}function To(e,t){let r=t;if(e.length>r){for(;e[r]!==" "&&--r>0;);return`${e.substring(0,r)}...`}return e}function $t(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function _o(e,t){switch(t){case 0:e.textContent=G("search.result.none");break;case 1:e.textContent=G("search.result.one");break;default:e.textContent=G("search.result.other",$t(t))}}function Mo(e){e.textContent=G("search.result.placeholder")}function Ao(e,t){e.appendChild(t)}function Lo(e){e.innerHTML=""}function Ho(e,t){e.style.top=`${t}px`}function Co(e){e.style.top=""}function ko(e,t){let r=e.firstElementChild;r.style.height=`${t-2*r.offsetTop}px`}function jo(e){let t=e.firstElementChild;t.style.height=""}function Fo(e,t){e.lastElementChild.appendChild(t)}function Io(e,t){e.lastElementChild.setAttribute("data-md-state",t)}function Ro(e,t){e.setAttribute("data-md-state",t)}function fr(e){e.removeAttribute("data-md-state")}function Po(e,t){e.setAttribute("data-md-state",t)}function pr(e){e.removeAttribute("data-md-state")}function $o(e){return U("button",{class:"md-clipboard md-icon",title:G("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}var Ie;(function(e){e[e.TEASER=1]="TEASER",e[e.PARENT=2]="PARENT"})(Ie||(Ie={}));function mr(e,t){let r=t&2,n=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).map(a=>[U("del",null,a)," "]).flat().slice(0,-1),i=e.location;return U("a",{href:i,class:"md-search-result__link",tabIndex:-1},U("article",{class:["md-search-result__article",...r?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},r>0&&U("div",{class:"md-search-result__icon md-icon"}),U("h1",{class:"md-search-result__title"},e.title),n>0&&e.text.length>0&&U("p",{class:"md-search-result__teaser"},To(e.text,320)),n>0&&o.length>0&&U("p",{class:"md-search-result__terms"},G("search.result.term.missing"),": ",o)))}function Vo(e){let t=e[0].score,r=[...e],n=r.findIndex(u=>!u.location.includes("#")),[o]=r.splice(n,1),i=r.findIndex(u=>u.scoremr(u,1)),...s.length?[U("details",{class:"md-search-result__more"},U("summary",{tabIndex:-1},s.length>0&&s.length===1?G("search.result.more.one"):G("search.result.more.other",s.length)),s.map(u=>mr(u,1)))]:[]];return U("li",{class:"md-search-result__item"},c)}function Do(e){return U("ul",{class:"md-source__facts"},Object.entries(e).map(([t,r])=>U("li",{class:`md-source__fact md-source__fact--${t}`},typeof r=="number"?$t(r):r)))}function Uo(e){return U("div",{class:"md-typeset__scrollwrap"},U("div",{class:"md-typeset__table"},e))}function ya(e){let t=se(),r=new URL(`${e.version}/`,t.base);return U("li",{class:"md-version__item"},U("a",{href:r.toString(),class:"md-version__link"},e.title))}function No(e){let t=se(),[,r]=t.base.match(/([^/]+)\/?$/),n=e.find(({version:o,aliases:i})=>o===r||i.includes(r))||e[0];return U("div",{class:"md-version"},U("span",{class:"md-version__current"},n.title),U("ul",{class:"md-version__list"},e.map(ya)))}var xa=0;function Sa(e,{viewport$:t}){let r=F(e).pipe(E(n=>{let o=n.closest("[data-tabs]");return o instanceof HTMLElement?R(...q("input",o).map(i=>O(i,"change"))):ee}));return R(t.pipe(N("size")),r).pipe(p(()=>{let n=Le(e);return{scroll:kt(e).width>n.width}}),N("scroll"))}function zo(e,t){let r=new _;if(r.pipe(ge(qe("(hover)"))).subscribe(([{scroll:n},o])=>{n&&o?ao(e):so(e)}),Wo.default.isSupported()){let n=e.closest("pre");n.id=`__code_${xa++}`,n.insertBefore($o(n.id),e)}return Sa(e,t).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function wa(e,{target$:t,print$:r}){return t.pipe(p(n=>n.closest("details:not([open])")),L(n=>e===n),Ct(r),ne(e))}function Qo(e,t){let r=new _;return r.subscribe(()=>{e.setAttribute("open",""),e.scrollIntoView()}),wa(e,t).pipe(k(r),V(()=>r.complete()),ne({ref:e}))}var qo=Qe("table");function Ko(e){return je(e,qo),je(qo,Uo(e)),F({ref:e})}function Jo(e,{target$:t,viewport$:r,print$:n}){return R(...q("pre > code",e).map(o=>zo(o,{viewport$:r})),...q("table:not([class])",e).map(o=>Ko(o)),...q("details",e).map(o=>Qo(o,{target$:t,print$:n})))}function Ea(e,{alert$:t}){return t.pipe(E(r=>R(F(!0),F(!1).pipe(Me(2e3))).pipe(p(n=>({message:r,open:n})))))}function Yo(e,t){let r=new _;return r.pipe(Y(J)).subscribe(({message:n,open:o})=>{ho(e,n),o?bo(e,"open"):vo(e)}),Ea(e,t).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function Oa({viewport$:e}){if(!Pt("header.autohide"))return F(!1);let t=e.pipe(p(({offset:{y:o}})=>o),ve(2,1),p(([o,i])=>[oMath.abs(i-o.y)>100),p(([,[o]])=>o),Q()),n=Ft("search");return B([e,n]).pipe(p(([{offset:o},i])=>o.y>400&&!i),Q(),E(o=>o?r:F(!1)),D(!1))}function Bo(e,t){return Te(()=>{let r=getComputedStyle(e);return F(r.position==="sticky"||r.position==="-webkit-sticky")}).pipe(or(He(e),Oa(t)),p(([r,{height:n},o])=>({height:r?n:0,sticky:r,hidden:o})),Q((r,n)=>r.sticky===n.sticky&&r.height===n.height&&r.hidden===n.hidden),re(1))}function Go(e,{header$:t,main$:r}){let n=new _;return n.pipe(N("active"),or(t),Y(J)).subscribe(([{active:o},{hidden:i}])=>{o?go(e,i?"hidden":"shadow"):yo(e)}),r.subscribe(o=>n.next(o)),t.pipe(p(o=>$({ref:e},o)))}function Ta(e,{viewport$:t,header$:r}){return Rt(e,{header$:r,viewport$:t}).pipe(p(({offset:{y:n}})=>{let{height:o}=Le(e);return{active:n>=o}}),N("active"))}function Xo(e,t){let r=new _;r.pipe(Y(J)).subscribe(({active:o})=>{o?xo(e,"active"):So(e)});let n=ae("article h1");return typeof n=="undefined"?ee:Ta(n,t).pipe(k(r),V(()=>r.complete()),p(o=>$({ref:e},o)))}function Zo(e,{viewport$:t,header$:r}){let n=r.pipe(p(({height:i})=>i),Q()),o=n.pipe(E(()=>He(e).pipe(p(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),N("bottom"))));return B([n,o,t]).pipe(p(([i,{top:a,bottom:s},{offset:{y:c},size:{height:u}}])=>(u=Math.max(0,u-Math.max(0,a-c,i)-Math.max(0,u+c-s)),{offset:a-i,height:u,active:a-i<=c})),Q((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function _a(e){let t=localStorage.getItem(__prefix("__palette")),r=JSON.parse(t)||{index:e.findIndex(o=>matchMedia(o.getAttribute("data-md-color-media")).matches)},n=F(...e).pipe(te(o=>O(o,"change").pipe(ne(o))),D(e[Math.max(0,r.index)]),p(o=>({index:e.indexOf(o),color:{scheme:o.getAttribute("data-md-color-scheme"),primary:o.getAttribute("data-md-color-primary"),accent:o.getAttribute("data-md-color-accent")}})),re(1));return n.subscribe(o=>{localStorage.setItem(__prefix("__palette"),JSON.stringify(o))}),n}function ei(e){let t=new _;t.subscribe(n=>{for(let[o,i]of Object.entries(n.color))typeof i=="string"&&document.body.setAttribute(`data-md-color-${o}`,i);for(let o=0;ot.complete()),p(n=>$({ref:e},n)))}var dr=Be(lr());function ti({alert$:e}){dr.default.isSupported()&&new M(t=>{new dr.default("[data-clipboard-target], [data-clipboard-text]").on("success",r=>t.next(r))}).subscribe(()=>e.next(G("clipboard.copied")))}function Ma(e){if(e.length<2)return e;let[t,r]=e.sort((i,a)=>i.length-a.length).map(i=>i.replace(/[^/]+$/,"")),n=0;if(t===r)n=t.length;else for(;t.charCodeAt(n)===r.charCodeAt(n);)n++;let o=se();return e.map(i=>i.replace(t.slice(0,n),`${o.base}/`))}function ri({document$:e,location$:t,viewport$:r}){let n=se();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",O(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=ae("link[rel=icon]");typeof o!="undefined"&&(o.href=o.href);let i=Zn(`${n.base}/sitemap.xml`).pipe(p(u=>Ma(q("loc",u).map(l=>l.textContent))),E(u=>O(document.body,"click").pipe(L(l=>!l.metaKey&&!l.ctrlKey),E(l=>{if(l.target instanceof Element){let m=l.target.closest("a");if(m&&!m.target&&u.includes(m.href))return l.preventDefault(),F({url:new URL(m.href)})}return ee}))),ie()),a=O(window,"popstate").pipe(L(u=>u.state!==null),p(u=>({url:new URL(location.href),offset:u.state})),ie());R(i,a).pipe(Q((u,l)=>u.url.href===l.url.href),p(({url:u})=>u)).subscribe(t);let s=t.pipe(N("pathname"),E(u=>It(u.href).pipe(rt(()=>(Kn(u),ee)))),ie());i.pipe(ot(s)).subscribe(({url:u})=>{history.pushState({},"",`${u}`)});let c=new DOMParser;s.pipe(E(u=>u.text()),p(u=>c.parseFromString(u,"text/html"))).subscribe(e),R(i,a).pipe(ot(e)).subscribe(({url:u,offset:l})=>{u.hash&&!l?Bn(u.hash):cr(l||{y:0})}),e.pipe(ar(1)).subscribe(u=>{for(let l of["title","link[rel=canonical]","meta[name=author]","meta[name=description]","[data-md-component=announce]","[data-md-component=container]","[data-md-component=header-topic]","[data-md-component=logo], .md-logo","[data-md-component=skip]"]){let m=ae(l),f=ae(l,u);typeof m!="undefined"&&typeof f!="undefined"&&je(m,f)}}),e.pipe(ar(1),p(()=>Ce("container")),E(u=>F(...q("script",u))),Tn(u=>{let l=Qe("script");if(u.src){for(let m of u.getAttributeNames())l.setAttribute(m,u.getAttribute(m));return je(u,l),new M(m=>{l.onload=()=>m.complete()})}else return l.textContent=u.textContent,je(u,l),he})).subscribe(),r.pipe(Cn(i),_n(250),N("offset")).subscribe(({offset:u})=>{history.replaceState(u,"")}),R(i,a).pipe(ve(2,1),L(([u,l])=>u.url.pathname===l.url.pathname),p(([,u])=>u)).subscribe(({offset:u})=>{cr(u||{y:0})})}var Ha=Be(oi());function ii(e){return e.split(/"([^"]+)"/g).map((t,r)=>r&1?t.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):t).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}var we;(function(e){e[e.SETUP=0]="SETUP",e[e.READY=1]="READY",e[e.QUERY=2]="QUERY",e[e.RESULT=3]="RESULT"})(we||(we={}));function ai(e){return e.type===1}function si(e){return e.type===2}function Vt(e){return e.type===3}function Ca({config:e,docs:t,index:r}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[G("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=G("search.config.separator"));let n=G("search.config.pipeline").split(/\s*,\s*/).filter(Boolean);return{config:e,docs:t,index:r,pipeline:n}}function ci(e,t){let r=se(),n=new Worker(e),o=new _,i=io(n,{tx$:o}).pipe(p(a=>{if(Vt(a))for(let s of a.data)for(let c of s)c.location=`${r.base}/${c.location}`;return a}),ie());return Se(t).pipe(p(a=>({type:we.SETUP,data:Ca(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function ui(){let e=se();ye(new URL("versions.json",e.base)).subscribe(t=>{pe(".md-header__topic").appendChild(No(t))})}function ka(e){let t=(__search==null?void 0:__search.transform)||ii,r=Vn(e),n=R(O(e,"keyup"),O(e,"focus").pipe(Me(1))).pipe(p(()=>t(e.value)),Q());return B([n,r]).pipe(p(([o,i])=>({value:o,focus:i})))}function li(e,{tx$:t}){let r=new _;return r.pipe(N("value"),p(({value:n})=>({type:we.QUERY,data:n}))).subscribe(t.next.bind(t)),r.pipe(N("focus")).subscribe(({focus:n})=>{n?(Fe("search",n),wo(e,"")):Eo(e)}),O(e.form,"reset").pipe(jn(r.pipe(An(1)))).subscribe(()=>Ae(e)),ka(e).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function fi(e,{rx$:t},{query$:r}){let n=new _,o=Nn(e.parentElement).pipe(L(Boolean)),i=pe(":scope > :first-child",e);n.pipe(Y(J),ge(r)).subscribe(([{data:c},{value:u}])=>{u?_o(i,c.length):Mo(i)});let a=pe(":scope > :last-child",e);return n.pipe(Y(J),k(()=>Lo(a)),E(({data:c})=>R(F(...c.slice(0,10)),F(...c.slice(10)).pipe(ve(4),Pn(o),E(([u])=>F(...u)))))).subscribe(c=>{Ao(a,Vo(c))}),t.pipe(L(Vt),p(({data:c})=>({data:c})),D({data:[]})).pipe(k(n),V(()=>n.complete()),p(c=>$({ref:e},c)))}function pi(e,{index$:t,keyboard$:r}){let n=se(),o=ci(n.search,t),i=Ce("search-query",e),a=Ce("search-result",e),{tx$:s,rx$:c}=o;s.pipe(L(si),ot(c.pipe(L(ai))),nt(1)).subscribe(s.next.bind(s)),r.pipe(L(({mode:l})=>l==="search")).subscribe(l=>{let m=ke();switch(l.type){case"Enter":m===i&&l.claim();break;case"Escape":case"Tab":Fe("search",!1),Ae(i,!1);break;case"ArrowUp":case"ArrowDown":if(typeof m=="undefined")Ae(i);else{let f=[i,...q(":not(details) > [href], summary, details[open] [href]",a)],h=Math.max(0,(Math.max(0,f.indexOf(m))+f.length+(l.type==="ArrowUp"?-1:1))%f.length);Ae(f[h])}l.claim();break;default:i!==ke()&&Ae(i)}}),r.pipe(L(({mode:l})=>l==="global")).subscribe(l=>{switch(l.type){case"f":case"s":case"/":Ae(i),Wn(i),l.claim();break}});let u=li(i,o);return R(u,fi(a,o,{query$:u}))}function ja(e,{viewport$:t,main$:r}){let n=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return B([r,t]).pipe(p(([{offset:o,height:i},{offset:{y:a}}])=>(i=i+Math.min(n,Math.max(0,a-o))-n,{height:i,locked:a>=o+n})),Q((o,i)=>o.height===i.height&&o.locked===i.locked))}function hr(e,n){var{header$:t}=n,r=wr(n,["header$"]);let o=new _;return o.pipe(Y(J),ge(t)).subscribe({next([{height:i},{height:a}]){ko(e,i),Ho(e,a)},complete(){Co(e),jo(e)}}),ja(e,r).pipe(k(o),V(()=>o.complete()),p(i=>$({ref:e},i)))}function mi(e,t){if(typeof t!="undefined"){let r=`https://api.github.com/repos/${e}/${t}`;return Ht(ye(`${r}/releases/latest`).pipe(p(n=>({version:n.tag_name})),ze({})),ye(r).pipe(p(n=>({stars:n.stargazers_count,forks:n.forks_count})),ze({}))).pipe(p(([n,o])=>$($({},n),o)))}else{let r=`https://api.github.com/repos/${e}`;return ye(r).pipe(p(n=>({repositories:n.public_repos})),ze({}))}}function di(e,t){let r=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return ye(r).pipe(p(({star_count:n,forks_count:o})=>({stars:n,forks:o})),ze({}))}function hi(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,r,n]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return mi(r,n);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return di(o,i);default:return ee}}var Fa;function Ia(e){return Fa||(Fa=Te(()=>{let t=sessionStorage.getItem(__prefix("__source"));if(t)return F(JSON.parse(t));{let r=hi(e.href);return r.subscribe(n=>{try{sessionStorage.setItem(__prefix("__source"),JSON.stringify(n))}catch(o){}}),r}}).pipe(rt(()=>ee),L(t=>Object.keys(t).length>0),p(t=>({facts:t})),re(1)))}function bi(e){let t=new _;return t.subscribe(({facts:r})=>{Fo(e,Do(r)),Io(e,"done")}),Ia(e).pipe(k(t),V(()=>t.complete()),p(r=>$({ref:e},r)))}function Ra(e,{viewport$:t,header$:r}){return He(document.body).pipe(E(()=>Rt(e,{header$:r,viewport$:t})),p(({offset:{y:n}})=>({hidden:n>=10})),N("hidden"))}function vi(e,t){let r=new _;return r.pipe(Y(J)).subscribe({next({hidden:n}){n?Ro(e,"hidden"):fr(e)},complete(){fr(e)}}),Ra(e,t).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function Pa(e,{viewport$:t,header$:r}){let n=new Map;for(let a of e){let s=decodeURIComponent(a.hash.substring(1)),c=ae(`[id="${s}"]`);typeof c!="undefined"&&n.set(a,c)}let o=r.pipe(p(a=>24+a.height));return He(document.body).pipe(N("height"),p(()=>{let a=[];return[...n].reduce((s,[c,u])=>{for(;a.length&&n.get(a[a.length-1]).tagName>=u.tagName;)a.pop();let l=u.offsetTop;for(;!l&&u.parentElement;)u=u.parentElement,l=u.offsetTop;return s.set([...a=[...a,c]].reverse(),l)},new Map)}),p(a=>new Map([...a].sort(([,s],[,c])=>s-c))),E(a=>B([o,t]).pipe(Hn(([s,c],[u,{offset:{y:l}}])=>{for(;c.length;){let[,m]=c[0];if(m-u=l)c=[s.pop(),...c];else break}return[s,c]},[[],[...a]]),Q((s,c)=>s[0]===c[0]&&s[1]===c[1])))).pipe(p(([a,s])=>({prev:a.map(([c])=>c),next:s.map(([c])=>c)})),D({prev:[],next:[]}),ve(2,1),p(([a,s])=>a.prev.length{for(let[a]of i)mo(a),fo(a);for(let[a,[s]]of o.entries())po(s,a===o.length-1),lo(s,"blur")});let n=q("[href^=\\#]",e);return Pa(n,t).pipe(k(r),V(()=>r.complete()),p(o=>$({ref:e},o)))}function $a(e,{viewport$:t,main$:r}){let n=t.pipe(p(({offset:{y:i}})=>i),ve(2,1),p(([i,a])=>i>a),Q()),o=r.pipe(N("active"));return B([o,n]).pipe(p(([{active:i},a])=>({hidden:!(i&&a)})),Q((i,a)=>i.hidden===a.hidden))}function yi(e,t){let r=new _;return r.pipe(Y(J)).subscribe({next({hidden:n}){n?Po(e,"hidden"):pr(e)},complete(){pr(e)}}),$a(e,t).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function xi({document$:e,tablet$:t}){e.pipe(E(()=>F(...q("[data-md-state=indeterminate]"))),k(r=>{r.indeterminate=!0,r.checked=!1}),te(r=>O(r,"change").pipe(Fn(()=>r.hasAttribute("data-md-state")),ne(r))),ge(t)).subscribe(([r,n])=>{r.removeAttribute("data-md-state"),n&&(r.checked=!1)})}function Va(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function Si({document$:e}){e.pipe(E(()=>F(...q("[data-md-scrollfix]"))),k(t=>t.removeAttribute("data-md-scrollfix")),L(Va),te(t=>O(t,"touchstart").pipe(ne(t)))).subscribe(t=>{let r=t.scrollTop;r===0?t.scrollTop=1:r+t.offsetHeight===t.scrollHeight&&(t.scrollTop=r-1)})}function wi({viewport$:e,tablet$:t}){B([Ft("search"),t]).pipe(p(([r,n])=>r&&!n),E(r=>F(r).pipe(Me(r?400:100),Y(J))),ge(e)).subscribe(([r,{offset:{y:n}}])=>{r?co(document.body,n):uo(document.body)})}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var Je=$n(),br=Jn(),vr=Gn(),gr=Qn(),le=oo(),Dt=qe("(min-width: 960px)"),Ei=qe("(min-width: 1220px)"),Oi=Xn(),Ti=se(),Da=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||ye(`${Ti.base}/search/search_index.json`):ee,yr=new _;ti({alert$:yr});Pt("navigation.instant")&&ri({document$:Je,location$:br,viewport$:le});var _i;((_i=Ti.version)==null?void 0:_i.provider)==="mike"&&ui();R(br,vr).pipe(Me(125)).subscribe(()=>{Fe("drawer",!1),Fe("search",!1)});gr.pipe(L(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=ae("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let r=ae("[href][rel=next]");typeof r!="undefined"&&r.click();break}});xi({document$:Je,tablet$:Dt});Si({document$:Je});wi({viewport$:le,tablet$:Dt});var Re=Bo(Ce("header"),{viewport$:le}),Ut=Je.pipe(p(()=>Ce("main")),E(e=>Zo(e,{viewport$:le,header$:Re})),re(1)),Ua=R(...me("dialog").map(e=>Yo(e,{alert$:yr})),...me("header").map(e=>Go(e,{viewport$:le,header$:Re,main$:Ut})),...me("palette").map(e=>ei(e)),...me("search").map(e=>pi(e,{index$:Da,keyboard$:gr})),...me("source").map(e=>bi(e))),Na=Te(()=>R(...me("content").map(e=>Jo(e,{target$:vr,viewport$:le,print$:Oi})),...me("header-title").map(e=>Xo(e,{viewport$:le,header$:Re})),...me("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?sr(Ei,()=>hr(e,{viewport$:le,header$:Re,main$:Ut})):sr(Dt,()=>hr(e,{viewport$:le,header$:Re,main$:Ut}))),...me("tabs").map(e=>vi(e,{viewport$:le,header$:Re})),...me("toc").map(e=>gi(e,{viewport$:le,header$:Re})),...me("top").map(e=>yi(e,{viewport$:le,main$:Ut})))),Mi=Je.pipe(E(()=>Na),Ct(Ua),re(1));Mi.subscribe();window.document$=Je;window.location$=br;window.target$=vr;window.keyboard$=gr;window.viewport$=le;window.tablet$=Dt;window.screen$=Ei;window.print$=Oi;window.alert$=yr;window.component$=Mi;})(); /*! * clipboard.js v2.0.8 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */ /*! * escape-html * Copyright(c) 2012-2013 TJ Holowaychuk * Copyright(c) 2015 Andreas Lubbe * Copyright(c) 2015 Tiancheng "Timothy" Gu * MIT Licensed */ /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ //# sourceMappingURL=bundle.d892486b.min.js.map