1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 09:20:52 +01:00
mkdocs-material/material/assets/javascripts/bundle.054bf2ee.min.js
2021-11-28 14:54:14 +01:00

30 lines
85 KiB
JavaScript

(()=>{var Li=Object.create;var wt=Object.defineProperty;var Ci=Object.getOwnPropertyDescriptor;var ki=Object.getOwnPropertyNames,Et=Object.getOwnPropertySymbols,Hi=Object.getPrototypeOf,fr=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable;var qr=(e,t,n)=>t in e?wt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,F=(e,t)=>{for(var n in t||(t={}))fr.call(t,n)&&qr(e,n,t[n]);if(Et)for(var n of Et(t))zr.call(t,n)&&qr(e,n,t[n]);return e};var Fi=e=>wt(e,"__esModule",{value:!0});var Ot=(e,t)=>{var n={};for(var r in e)fr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Et)for(var r of Et(e))t.indexOf(r)<0&&zr.call(e,r)&&(n[r]=e[r]);return n};var Tt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ri=(e,t,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of ki(t))!fr.call(e,r)&&r!=="default"&&wt(e,r,{get:()=>t[r],enumerable:!(n=Ci(t,r))||n.enumerable});return e},Ye=e=>Ri(Fi(wt(e!=null?Li(Hi(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Kr=Tt((mr,Qr)=>{(function(e,t){typeof mr=="object"&&typeof Qr!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(mr,function(){"use strict";function e(n){var r=!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(_){return!!(_&&_!==document&&_.nodeName!=="HTML"&&_.nodeName!=="BODY"&&"classList"in _&&"contains"in _.classList)}function c(_){var Ue=_.type,Me=_.tagName;return!!(Me==="INPUT"&&a[Ue]&&!_.readOnly||Me==="TEXTAREA"&&!_.readOnly||_.isContentEditable)}function l(_){_.classList.contains("focus-visible")||(_.classList.add("focus-visible"),_.setAttribute("data-focus-visible-added",""))}function u(_){!_.hasAttribute("data-focus-visible-added")||(_.classList.remove("focus-visible"),_.removeAttribute("data-focus-visible-added"))}function m(_){_.metaKey||_.altKey||_.ctrlKey||(s(n.activeElement)&&l(n.activeElement),r=!0)}function f(_){r=!1}function h(_){!s(_.target)||(r||c(_.target))&&l(_.target)}function v(_){!s(_.target)||(_.target.classList.contains("focus-visible")||_.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),u(_.target))}function d(_){document.visibilityState==="hidden"&&(o&&(r=!0),N())}function N(){document.addEventListener("mousemove",W),document.addEventListener("mousedown",W),document.addEventListener("mouseup",W),document.addEventListener("pointermove",W),document.addEventListener("pointerdown",W),document.addEventListener("pointerup",W),document.addEventListener("touchmove",W),document.addEventListener("touchstart",W),document.addEventListener("touchend",W)}function J(){document.removeEventListener("mousemove",W),document.removeEventListener("mousedown",W),document.removeEventListener("mouseup",W),document.removeEventListener("pointermove",W),document.removeEventListener("pointerdown",W),document.removeEventListener("pointerup",W),document.removeEventListener("touchmove",W),document.removeEventListener("touchstart",W),document.removeEventListener("touchend",W)}function W(_){_.target.nodeName&&_.target.nodeName.toLowerCase()==="html"||(r=!1,J())}document.addEventListener("keydown",m,!0),document.addEventListener("mousedown",f,!0),document.addEventListener("pointerdown",f,!0),document.addEventListener("touchstart",f,!0),document.addEventListener("visibilitychange",d,!0),N(),n.addEventListener("focus",h,!0),n.addEventListener("blur",v,!0),n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host?n.host.setAttribute("data-js-focus-visible",""):n.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(n){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var hn=Tt((Va,At)=>{/*! *****************************************************************************
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.
***************************************************************************** */var Yr,Br,Jr,Gr,Xr,Zr,en,tn,rn,_t,dr,nn,on,an,Be,sn,cn,ln,un,pn,fn,mn,dn,Mt;(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(r){e(n(t,n(r)))}):typeof At=="object"&&typeof At.exports=="object"?e(n(t,n(At.exports))):e(n(t));function n(r,o){return r!==t&&(typeof Object.create=="function"?Object.defineProperty(r,"__esModule",{value:!0}):r.__esModule=!0),function(i,a){return r[i]=o?o(i,a):a}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])};Yr=function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(r,o);function i(){this.constructor=r}r.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},Br=Object.assign||function(r){for(var o,i=1,a=arguments.length;i<a;i++){o=arguments[i];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(r[s]=o[s])}return r},Jr=function(r,o){var i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&o.indexOf(a)<0&&(i[a]=r[a]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,a=Object.getOwnPropertySymbols(r);s<a.length;s++)o.indexOf(a[s])<0&&Object.prototype.propertyIsEnumerable.call(r,a[s])&&(i[a[s]]=r[a[s]]);return i},Gr=function(r,o,i,a){var s=arguments.length,c=s<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,i):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(r,o,i,a);else for(var u=r.length-1;u>=0;u--)(l=r[u])&&(c=(s<3?l(c):s>3?l(o,i,c):l(o,i))||c);return s>3&&c&&Object.defineProperty(o,i,c),c},Xr=function(r,o){return function(i,a){o(i,a,r)}},Zr=function(r,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,o)},en=function(r,o,i,a){function s(c){return c instanceof i?c:new i(function(l){l(c)})}return new(i||(i=Promise))(function(c,l){function u(h){try{f(a.next(h))}catch(v){l(v)}}function m(h){try{f(a.throw(h))}catch(v){l(v)}}function f(h){h.done?c(h.value):s(h.value).then(u,m)}f((a=a.apply(r,o||[])).next())})},tn=function(r,o){var i={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},a,s,c,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(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]<c[3])){i.label=f[1];break}if(f[0]===6&&i.label<c[1]){i.label=c[1],c=f;break}if(c&&i.label<c[2]){i.label=c[2],i.ops.push(f);break}c[2]&&i.ops.pop(),i.trys.pop();continue}f=o.call(r,i)}catch(h){f=[6,h],s=0}finally{a=c=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},rn=function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&Mt(o,r,i)},Mt=Object.create?function(r,o,i,a){a===void 0&&(a=i),Object.defineProperty(r,a,{enumerable:!0,get:function(){return o[i]}})}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]},_t=function(r){var o=typeof Symbol=="function"&&Symbol.iterator,i=o&&r[o],a=0;if(i)return i.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&a>=r.length&&(r=void 0),{value:r&&r[a++],done:!r}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},dr=function(r,o){var i=typeof Symbol=="function"&&r[Symbol.iterator];if(!i)return r;var a=i.call(r),s,c=[],l;try{for(;(o===void 0||o-- >0)&&!(s=a.next()).done;)c.push(s.value)}catch(u){l={error:u}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(l)throw l.error}}return c},nn=function(){for(var r=[],o=0;o<arguments.length;o++)r=r.concat(dr(arguments[o]));return r},on=function(){for(var r=0,o=0,i=arguments.length;o<i;o++)r+=arguments[o].length;for(var a=Array(r),s=0,o=0;o<i;o++)for(var c=arguments[o],l=0,u=c.length;l<u;l++,s++)a[s]=c[l];return a},an=function(r,o){for(var i=0,a=o.length,s=r.length;i<a;i++,s++)r[s]=o[i];return r},Be=function(r){return this instanceof Be?(this.v=r,this):new Be(r)},sn=function(r,o,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=i.apply(r,o||[]),s,c=[];return s={},l("next"),l("throw"),l("return"),s[Symbol.asyncIterator]=function(){return this},s;function l(d){a[d]&&(s[d]=function(N){return new Promise(function(J,W){c.push([d,N,J,W])>1||u(d,N)})})}function u(d,N){try{m(a[d](N))}catch(J){v(c[0][3],J)}}function m(d){d.value instanceof Be?Promise.resolve(d.value.v).then(f,h):v(c[0][2],d)}function f(d){u("next",d)}function h(d){u("throw",d)}function v(d,N){d(N),c.shift(),c.length&&u(c[0][0],c[0][1])}},cn=function(r){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]=r[s]?function(l){return(i=!i)?{value:Be(r[s](l)),done:s==="return"}:c?c(l):l}:c}},ln=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r[Symbol.asyncIterator],i;return o?o.call(r):(r=typeof _t=="function"?_t(r):r[Symbol.iterator](),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(c){i[c]=r[c]&&function(l){return new Promise(function(u,m){l=r[c](l),s(u,m,l.done,l.value)})}}function s(c,l,u,m){Promise.resolve(m).then(function(f){c({value:f,done:u})},l)}},un=function(r,o){return Object.defineProperty?Object.defineProperty(r,"raw",{value:o}):r.raw=o,r};var n=Object.create?function(r,o){Object.defineProperty(r,"default",{enumerable:!0,value:o})}:function(r,o){r.default=o};pn=function(r){if(r&&r.__esModule)return r;var o={};if(r!=null)for(var i in r)i!=="default"&&Object.prototype.hasOwnProperty.call(r,i)&&Mt(o,r,i);return n(o,r),o},fn=function(r){return r&&r.__esModule?r:{default:r}},mn=function(r,o){if(!o.has(r))throw new TypeError("attempted to get private field on non-instance");return o.get(r)},dn=function(r,o,i){if(!o.has(r))throw new TypeError("attempted to set private field on non-instance");return o.set(r,i),i},e("__extends",Yr),e("__assign",Br),e("__rest",Jr),e("__decorate",Gr),e("__param",Xr),e("__metadata",Zr),e("__awaiter",en),e("__generator",tn),e("__exportStar",rn),e("__createBinding",Mt),e("__values",_t),e("__read",dr),e("__spread",nn),e("__spreadArrays",on),e("__spreadArray",an),e("__await",Be),e("__asyncGenerator",sn),e("__asyncDelegator",cn),e("__asyncValues",ln),e("__makeTemplateObject",un),e("__importStar",pn),e("__importDefault",fn),e("__classPrivateFieldGet",mn),e("__classPrivateFieldSet",dn)})});var Ir=Tt((yt,Rr)=>{/*!
* clipboard.js v2.0.8
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/(function(t,n){typeof yt=="object"&&typeof Rr=="object"?Rr.exports=n():typeof define=="function"&&define.amd?define([],n):typeof yt=="object"?yt.ClipboardJS=n():t.ClipboardJS=n()})(yt,function(){return function(){var e={134:function(r,o,i){"use strict";i.d(o,{default:function(){return Mi}});var a=i(279),s=i.n(a),c=i(370),l=i.n(c),u=i(817),m=i.n(u);function f(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(b){return typeof b}:f=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},f(A)}function h(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}function v(A,x){for(var b=0;b<x.length;b++){var H=x[b];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(A,H.key,H)}}function d(A,x,b){return x&&v(A.prototype,x),b&&v(A,b),A}var N=function(){function A(x){h(this,A),this.resolveOptions(x),this.initSelection()}return d(A,[{key:"resolveOptions",value:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=b.action,this.container=b.container,this.emitter=b.emitter,this.target=b.target,this.text=b.text,this.trigger=b.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var b=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[b?"right":"left"]="-9999px";var H=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(H,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var b=this,H=this.createFakeElement();this.fakeHandlerCallback=function(){return b.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(H),this.selectedText=m()(H),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 b;try{b=document.execCommand(this.action)}catch(H){b=!1}this.handleResult(b)}},{key:"handleResult",value:function(b){this.emitter.emit(b?"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 b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"copy";if(this._action=b,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(b){if(b!==void 0)if(b&&f(b)==="object"&&b.nodeType===1){if(this.action==="copy"&&b.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(this.action==="cut"&&(b.hasAttribute("readonly")||b.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);this._target=b}else throw new Error('Invalid "target" value, use a valid Element')},get:function(){return this._target}}]),A}(),J=N;function W(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?W=function(b){return typeof b}:W=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},W(A)}function _(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}function Ue(A,x){for(var b=0;b<x.length;b++){var H=x[b];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(A,H.key,H)}}function Me(A,x,b){return x&&Ue(A.prototype,x),b&&Ue(A,b),A}function Ke(A,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(x&&x.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),x&&ur(A,x)}function ur(A,x){return ur=Object.setPrototypeOf||function(H,V){return H.__proto__=V,H},ur(A,x)}function wi(A){var x=Ti();return function(){var H=St(A),V;if(x){var ee=St(this).constructor;V=Reflect.construct(H,arguments,ee)}else V=H.apply(this,arguments);return Ei(this,V)}}function Ei(A,x){return x&&(W(x)==="object"||typeof x=="function")?x:Oi(A)}function Oi(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function Ti(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(A){return!1}}function St(A){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},St(A)}function pr(A,x){var b="data-clipboard-".concat(A);if(!!x.hasAttribute(b))return x.getAttribute(b)}var _i=function(A){Ke(b,A);var x=wi(b);function b(H,V){var ee;return _(this,b),ee=x.call(this),ee.resolveOptions(V),ee.listenClick(H),ee}return Me(b,[{key:"resolveOptions",value:function(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof V.action=="function"?V.action:this.defaultAction,this.target=typeof V.target=="function"?V.target:this.defaultTarget,this.text=typeof V.text=="function"?V.text:this.defaultText,this.container=W(V.container)==="object"?V.container:document.body}},{key:"listenClick",value:function(V){var ee=this;this.listener=l()(V,"click",function(ut){return ee.onClick(ut)})}},{key:"onClick",value:function(V){var ee=V.delegateTarget||V.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new J({action:this.action(ee),target:this.target(ee),text:this.text(ee),container:this.container,trigger:ee,emitter:this})}},{key:"defaultAction",value:function(V){return pr("action",V)}},{key:"defaultTarget",value:function(V){var ee=pr("target",V);if(ee)return document.querySelector(ee)}},{key:"defaultText",value:function(V){return pr("text",V)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],ee=typeof V=="string"?[V]:V,ut=!!document.queryCommandSupported;return ee.forEach(function(Ai){ut=ut&&!!document.queryCommandSupported(Ai)}),ut}}]),b}(s()),Mi=_i},828:function(r){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}}r.exports=a},438:function(r,o,i){var a=i(828);function s(u,m,f,h,v){var d=l.apply(this,arguments);return u.addEventListener(f,d,v),{destroy:function(){u.removeEventListener(f,d,v)}}}function c(u,m,f,h,v){return typeof u.addEventListener=="function"?s.apply(null,arguments):typeof f=="function"?s.bind(null,document).apply(null,arguments):(typeof u=="string"&&(u=document.querySelectorAll(u)),Array.prototype.map.call(u,function(d){return s(d,m,f,h,v)}))}function l(u,m,f,h){return function(v){v.delegateTarget=a(v.target,m),v.delegateTarget&&h.call(u,v)}}r.exports=c},879:function(r,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(r,o,i){var a=i(879),s=i(438);function c(f,h,v){if(!f&&!h&&!v)throw new Error("Missing required arguments");if(!a.string(h))throw new TypeError("Second argument must be a String");if(!a.fn(v))throw new TypeError("Third argument must be a Function");if(a.node(f))return l(f,h,v);if(a.nodeList(f))return u(f,h,v);if(a.string(f))return m(f,h,v);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function l(f,h,v){return f.addEventListener(h,v),{destroy:function(){f.removeEventListener(h,v)}}}function u(f,h,v){return Array.prototype.forEach.call(f,function(d){d.addEventListener(h,v)}),{destroy:function(){Array.prototype.forEach.call(f,function(d){d.removeEventListener(h,v)})}}}function m(f,h,v){return s(document.body,f,h,v)}r.exports=c},817:function(r){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(),l=document.createRange();l.selectNodeContents(i),c.removeAllRanges(),c.addRange(l),a=c.toString()}return a}r.exports=o},279:function(r){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 l(){c.off(i,l),a.apply(s,arguments)}return l._=a,this.on(i,l,s)},emit:function(i){var a=[].slice.call(arguments,1),s=((this.e||(this.e={}))[i]||[]).slice(),c=0,l=s.length;for(c;c<l;c++)s[c].fn.apply(s[c].ctx,a);return this},off:function(i,a){var s=this.e||(this.e={}),c=s[i],l=[];if(c&&a)for(var u=0,m=c.length;u<m;u++)c[u].fn!==a&&c[u].fn._!==a&&l.push(c[u]);return l.length?s[i]=l:delete s[i],this}},r.exports=o,r.exports.TinyEmitter=o}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return function(){n.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(o,{a:o}),o}}(),function(){n.d=function(r,o){for(var i in o)n.o(o,i)&&!n.o(r,i)&&Object.defineProperty(r,i,{enumerable:!0,get:o[i]})}}(),function(){n.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)}}(),n(134)}().default})});var Pr=Tt((Ix,Ko)=>{/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/"use strict";var Ta=/["'&<>]/;Ko.exports=_a;function _a(e){var t=""+e,n=Ta.exec(t);if(!n)return t;var r,o="",i=0,a=0;for(i=n.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}a!==i&&(o+=t.substring(a,i)),a=i+1,o+=r}return a!==i?o+t.substring(a,i):o}});var pE=Ye(Kr());var bn=Ye(hn()),{__extends:Z,__assign:Da,__rest:Na,__decorate:za,__param:qa,__metadata:Qa,__awaiter:vn,__generator:Lt,__exportStar:Ka,__createBinding:Ya,__values:pe,__read:$,__spread:Ba,__spreadArrays:Ja,__spreadArray:P,__await:Ct,__asyncGenerator:gn,__asyncDelegator:Ga,__asyncValues:xn,__makeTemplateObject:Xa,__importStar:Za,__importDefault:es,__classPrivateFieldGet:ts,__classPrivateFieldSet:rs}=bn.default;function E(e){return typeof e=="function"}function kt(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Ht=kt(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
`+n.map(function(r,o){return o+1+") "+r.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=n}});function Ae(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ee=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var t,n,r,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=pe(a),c=s.next();!c.done;c=s.next()){var l=c.value;l.remove(this)}}catch(d){t={error:d}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}else a.remove(this);var u=this.initialTeardown;if(E(u))try{u()}catch(d){i=d instanceof Ht?d.errors:[d]}var m=this._teardowns;if(m){this._teardowns=null;try{for(var f=pe(m),h=f.next();!h.done;h=f.next()){var v=h.value;try{yn(v)}catch(d){i=i!=null?i:[],d instanceof Ht?i=P(P([],$(i)),$(d.errors)):i.push(d)}}}catch(d){r={error:d}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}}if(i)throw new Ht(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)yn(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=(n=this._teardowns)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&Ae(n,t)},e.prototype.remove=function(t){var n=this._teardowns;n&&Ae(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var hr=Ee.EMPTY;function Ft(e){return e instanceof Ee||e&&"closed"in e&&E(e.remove)&&E(e.add)&&E(e.unsubscribe)}function yn(e){E(e)?e():e.unsubscribe()}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Je={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Je.delegate;return((n==null?void 0:n.setTimeout)||setTimeout).apply(void 0,P([],$(e)))},clearTimeout:function(e){var t=Je.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Rt(e){Je.setTimeout(function(){var t=ye.onUnhandledError;if(t)t(e);else throw e})}function ne(){}var Sn=function(){return br("C",void 0,void 0)}();function wn(e){return br("E",void 0,e)}function En(e){return br("N",e,void 0)}function br(e,t,n){return{kind:e,value:t,error:n}}var Ve=null;function Ge(e){if(ye.useDeprecatedSynchronousErrorHandling){var t=!Ve;if(t&&(Ve={errorThrown:!1,error:null}),e(),t){var n=Ve,r=n.errorThrown,o=n.error;if(Ve=null,r)throw o}}else e()}function On(e){ye.useDeprecatedSynchronousErrorHandling&&Ve&&(Ve.errorThrown=!0,Ve.error=e)}var pt=function(e){Z(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,Ft(n)&&n.add(r)):r.destination=Ii,r}return t.create=function(n,r,o){return new ft(n,r,o)},t.prototype.next=function(n){this.isStopped?gr(En(n),this):this._next(n)},t.prototype.error=function(n){this.isStopped?gr(wn(n),this):(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped?gr(Sn,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ee);var ft=function(e){Z(t,e);function t(n,r,o){var i=e.call(this)||this,a;if(E(n))a=n;else if(n){a=n.next,r=n.error,o=n.complete;var s;i&&ye.useDeprecatedNextContext?(s=Object.create(n),s.unsubscribe=function(){return i.unsubscribe()}):s=n,a=a==null?void 0:a.bind(s),r=r==null?void 0:r.bind(s),o=o==null?void 0:o.bind(s)}return i.destination={next:a?vr(a,i):ne,error:vr(r!=null?r:Tn,i),complete:o?vr(o,i):ne},i}return t}(pt);function vr(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{e.apply(void 0,P([],$(n)))}catch(o){ye.useDeprecatedSynchronousErrorHandling?On(o):Rt(o)}}}function Tn(e){throw e}function gr(e,t){var n=ye.onStoppedNotification;n&&Je.setTimeout(function(){return n(e,t)})}var Ii={closed:!0,next:ne,error:Tn,complete:ne};var Xe=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function fe(e){return e}function _n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return xr(e)}function xr(e){return e.length===0?fe:e.length===1?e[0]:function(n){return e.reduce(function(r,o){return o(r)},n)}}var R=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var o=this,i=$i(t)?t:new ft(t,n,r);return Ge(function(){var a=o,s=a.operator,c=a.source;i.add(s?s.call(i,c):c?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=Mn(n),new n(function(o,i){var a;a=r.subscribe(function(s){try{t(s)}catch(c){i(c),a==null||a.unsubscribe()}},i,o)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[Xe]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return xr(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=Mn(t),new t(function(r,o){var i;n.subscribe(function(a){return i=a},function(a){return o(a)},function(){return r(i)})})},e.create=function(t){return new e(t)},e}();function Mn(e){var t;return(t=e!=null?e:ye.Promise)!==null&&t!==void 0?t:Promise}function ji(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function $i(e){return e&&e instanceof pt||ji(e)&&Ft(e)}function Pi(e){return E(e==null?void 0:e.lift)}function g(e){return function(t){if(Pi(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}var y=function(e){Z(t,e);function t(n,r,o,i,a){var s=e.call(this,n)||this;return s.onFinalize=a,s._next=r?function(c){try{r(c)}catch(l){n.error(l)}}:e.prototype._next,s._error=i?function(c){try{i(c)}catch(l){n.error(l)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=o?function(){try{o()}catch(c){n.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,s}return t.prototype.unsubscribe=function(){var n,r=this.closed;e.prototype.unsubscribe.call(this),!r&&((n=this.onFinalize)===null||n===void 0||n.call(this))},t}(pt);var Ze={schedule:function(e){var t=requestAnimationFrame,n=cancelAnimationFrame,r=Ze.delegate;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);var o=t(function(i){n=void 0,e(i)});return new Ee(function(){return n==null?void 0:n(o)})},requestAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ze.delegate;return((n==null?void 0:n.requestAnimationFrame)||requestAnimationFrame).apply(void 0,P([],$(e)))},cancelAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ze.delegate;return((n==null?void 0:n.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,P([],$(e)))},delegate:void 0};var An=kt(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var w=function(e){Z(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Ln(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new An},t.prototype.next=function(n){var r=this;Ge(function(){var o,i;if(r._throwIfClosed(),!r.isStopped){var a=r.observers.slice();try{for(var s=pe(a),c=s.next();!c.done;c=s.next()){var l=c.value;l.next(n)}}catch(u){o={error:u}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}}})},t.prototype.error=function(n){var r=this;Ge(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var o=r.observers;o.length;)o.shift().error(n)}})},t.prototype.complete=function(){var n=this;Ge(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,o=r.hasError,i=r.isStopped,a=r.observers;return o||i?hr:(a.push(n),new Ee(function(){return Ae(a,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,o=r.hasError,i=r.thrownError,a=r.isStopped;o?n.error(i):a&&n.complete()},t.prototype.asObservable=function(){var n=new R;return n.source=this,n},t.create=function(n,r){return new Ln(n,r)},t}(R);var Ln=function(e){Z(t,e);function t(n,r){var o=e.call(this)||this;return o.destination=n,o.source=r,o}return t.prototype.next=function(n){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.next)===null||o===void 0||o.call(r,n)},t.prototype.error=function(n){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.error)===null||o===void 0||o.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,o;return(o=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&o!==void 0?o:hr},t}(w);var mt={now:function(){return(mt.delegate||Date).now()},delegate:void 0};var dt=function(e){Z(t,e);function t(n,r,o){n===void 0&&(n=1/0),r===void 0&&(r=1/0),o===void 0&&(o=mt);var i=e.call(this)||this;return i._bufferSize=n,i._windowTime=r,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,n),i._windowTime=Math.max(1,r),i}return t.prototype.next=function(n){var r=this,o=r.isStopped,i=r._buffer,a=r._infiniteTimeWindow,s=r._timestampProvider,c=r._windowTime;o||(i.push(n),!a&&i.push(s.now()+c)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),o=this,i=o._infiniteTimeWindow,a=o._buffer,s=a.slice(),c=0;c<s.length&&!n.closed;c+=i?1:2)n.next(s[c]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,o=n._timestampProvider,i=n._buffer,a=n._infiniteTimeWindow,s=(a?1:2)*r;if(r<1/0&&s<i.length&&i.splice(0,i.length-s),!a){for(var c=o.now(),l=0,u=1;u<i.length&&i[u]<=c;u+=2)l=u;l&&i.splice(0,l+1)}},t}(w);var Cn=function(e){Z(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return r===void 0&&(r=0),this},t}(Ee);var ht={setInterval:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ht.delegate;return((n==null?void 0:n.setInterval)||setInterval).apply(void 0,P([],$(e)))},clearInterval:function(e){var t=ht.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var It=function(e){Z(t,e);function t(n,r){var o=e.call(this,n,r)||this;return o.scheduler=n,o.work=r,o.pending=!1,o}return t.prototype.schedule=function(n,r){if(r===void 0&&(r=0),this.closed)return this;this.state=n;var o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,r)),this.pending=!0,this.delay=r,this.id=this.id||this.requestAsyncId(i,this.id,r),this},t.prototype.requestAsyncId=function(n,r,o){return o===void 0&&(o=0),ht.setInterval(n.flush.bind(n,this),o)},t.prototype.recycleAsyncId=function(n,r,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return r;ht.clearInterval(r)},t.prototype.execute=function(n,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(n,r);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(n,r){var o=!1,i;try{this.work(n)}catch(a){o=!0,i=a||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var n=this,r=n.id,o=n.scheduler,i=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Ae(i,this),r!=null&&(this.id=this.recycleAsyncId(o,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Cn);var yr=function(){function e(t,n){n===void 0&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(t,n,r){return n===void 0&&(n=0),new this.schedulerActionCtor(this,t).schedule(r,n)},e.now=mt.now,e}();var jt=function(e){Z(t,e);function t(n,r){r===void 0&&(r=yr.now);var o=e.call(this,n,r)||this;return o.actions=[],o._active=!1,o._scheduled=void 0,o}return t.prototype.flush=function(n){var r=this.actions;if(this._active){r.push(n);return}var o;this._active=!0;do if(o=n.execute(n.state,n.delay))break;while(n=r.shift());if(this._active=!1,o){for(;n=r.shift();)n.unsubscribe();throw o}},t}(yr);var Fe=new jt(It),bt=Fe;var kn=function(e){Z(t,e);function t(n,r){var o=e.call(this,n,r)||this;return o.scheduler=n,o.work=r,o}return t.prototype.requestAsyncId=function(n,r,o){return o===void 0&&(o=0),o!==null&&o>0?e.prototype.requestAsyncId.call(this,n,r,o):(n.actions.push(this),n._scheduled||(n._scheduled=Ze.requestAnimationFrame(function(){return n.flush(void 0)})))},t.prototype.recycleAsyncId=function(n,r,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,n,r,o);n.actions.length===0&&(Ze.cancelAnimationFrame(r),n._scheduled=void 0)},t}(It);var Hn=function(e){Z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(n){this._active=!0,this._scheduled=void 0;var r=this.actions,o,i=-1;n=n||r.shift();var a=r.length;do if(o=n.execute(n.state,n.delay))break;while(++i<a&&(n=r.shift()));if(this._active=!1,o){for(;++i<a&&(n=r.shift());)n.unsubscribe();throw o}},t}(jt);var he=new Hn(kn);var q=new R(function(e){return e.complete()});function $t(e){return e&&E(e.schedule)}function Sr(e){return e[e.length-1]}function Re(e){return E(Sr(e))?e.pop():void 0}function be(e){return $t(Sr(e))?e.pop():void 0}function Pt(e,t){return typeof Sr(e)=="number"?e.pop():t}var et=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Wt(e){return E(e==null?void 0:e.then)}function Ut(e){return E(e[Xe])}function Vt(e){return Symbol.asyncIterator&&E(e==null?void 0:e[Symbol.asyncIterator])}function Dt(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Wi(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Nt=Wi();function zt(e){return E(e==null?void 0:e[Nt])}function qt(e){return gn(this,arguments,function(){var n,r,o,i;return Lt(this,function(a){switch(a.label){case 0:n=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,Ct(n.read())];case 3:return r=a.sent(),o=r.value,i=r.done,i?[4,Ct(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,Ct(o)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function Qt(e){return E(e==null?void 0:e.getReader)}function U(e){if(e instanceof R)return e;if(e!=null){if(Ut(e))return Ui(e);if(et(e))return Vi(e);if(Wt(e))return Di(e);if(Vt(e))return Fn(e);if(zt(e))return Ni(e);if(Qt(e))return zi(e)}throw Dt(e)}function Ui(e){return new R(function(t){var n=e[Xe]();if(E(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Vi(e){return new R(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Di(e){return new R(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,Rt)})}function Ni(e){return new R(function(t){var n,r;try{for(var o=pe(e),i=o.next();!i.done;i=o.next()){var a=i.value;if(t.next(a),t.closed)return}}catch(s){n={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}t.complete()})}function Fn(e){return new R(function(t){qi(e,t).catch(function(n){return t.error(n)})})}function zi(e){return Fn(qt(e))}function qi(e,t){var n,r,o,i;return vn(this,void 0,void 0,function(){var a,s;return Lt(this,function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),n=xn(e),c.label=1;case 1:return[4,n.next()];case 2:if(r=c.sent(),!!r.done)return[3,4];if(a=r.value,t.next(a),t.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=c.sent(),o={error:s},[3,11];case 6:return c.trys.push([6,,9,10]),r&&!r.done&&(i=n.return)?[4,i.call(n)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function ce(e,t,n,r,o){r===void 0&&(r=0),o===void 0&&(o=!1);var i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ve(e,t){return t===void 0&&(t=0),g(function(n,r){n.subscribe(new y(r,function(o){return ce(r,e,function(){return r.next(o)},t)},function(){return ce(r,e,function(){return r.complete()},t)},function(o){return ce(r,e,function(){return r.error(o)},t)}))})}function Kt(e,t){return t===void 0&&(t=0),g(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function Rn(e,t){return U(e).pipe(Kt(t),ve(t))}function In(e,t){return U(e).pipe(Kt(t),ve(t))}function jn(e,t){return new R(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function $n(e,t){return new R(function(n){var r;return ce(n,t,function(){r=e[Nt](),ce(n,t,function(){var o,i,a;try{o=r.next(),i=o.value,a=o.done}catch(s){n.error(s);return}a?n.complete():n.next(i)},0,!0)}),function(){return E(r==null?void 0:r.return)&&r.return()}})}function Yt(e,t){if(!e)throw new Error("Iterable cannot be null");return new R(function(n){ce(n,t,function(){var r=e[Symbol.asyncIterator]();ce(n,t,function(){r.next().then(function(o){o.done?n.complete():n.next(o.value)})},0,!0)})})}function Pn(e,t){return Yt(qt(e),t)}function Wn(e,t){if(e!=null){if(Ut(e))return Rn(e,t);if(et(e))return jn(e,t);if(Wt(e))return In(e,t);if(Vt(e))return Yt(e,t);if(zt(e))return $n(e,t);if(Qt(e))return Pn(e,t)}throw Dt(e)}function te(e,t){return t?Wn(e,t):U(e)}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=be(e);return te(e,n)}function Un(e){return e instanceof Date&&!isNaN(e)}function p(e,t){return g(function(n,r){var o=0;n.subscribe(new y(r,function(i){r.next(e.call(t,i,o++))}))})}var Qi=Array.isArray;function Ki(e,t){return Qi(t)?e.apply(void 0,P([],$(t))):e(t)}function Ie(e){return p(function(t){return Ki(e,t)})}var Yi=Array.isArray,Bi=Object.getPrototypeOf,Ji=Object.prototype,Gi=Object.keys;function Vn(e){if(e.length===1){var t=e[0];if(Yi(t))return{args:t,keys:null};if(Xi(t)){var n=Gi(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function Xi(e){return e&&typeof e=="object"&&Bi(e)===Ji}function Dn(e,t){return e.reduce(function(n,r,o){return n[r]=t[o],n},{})}function K(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=be(e),r=Re(e),o=Vn(e),i=o.args,a=o.keys;if(i.length===0)return te([],n);var s=new R(wr(i,n,a?function(c){return Dn(a,c)}:fe));return r?s.pipe(Ie(r)):s}function wr(e,t,n){return n===void 0&&(n=fe),function(r){Nn(t,function(){for(var o=e.length,i=new Array(o),a=o,s=o,c=function(u){Nn(t,function(){var m=te(e[u],t),f=!1;m.subscribe(new y(r,function(h){i[u]=h,f||(f=!0,s--),s||r.next(n(i.slice()))},function(){--a||r.complete()}))},r)},l=0;l<o;l++)c(l)},r)}}function Nn(e,t,n){e?ce(n,e,t):t()}function zn(e,t,n,r,o,i,a,s){var c=[],l=0,u=0,m=!1,f=function(){m&&!c.length&&!l&&t.complete()},h=function(d){return l<r?v(d):c.push(d)},v=function(d){i&&t.next(d),l++;var N=!1;U(n(d,u++)).subscribe(new y(t,function(J){o==null||o(J),i?h(J):t.next(J)},function(){N=!0},void 0,function(){if(N)try{l--;for(var J=function(){var W=c.shift();a?ce(t,a,function(){return v(W)}):v(W)};c.length&&l<r;)J();f()}catch(W){t.error(W)}}))};return e.subscribe(new y(t,h,function(){m=!0,f()})),function(){s==null||s()}}function oe(e,t,n){return n===void 0&&(n=1/0),E(t)?oe(function(r,o){return p(function(i,a){return t(r,i,o,a)})(U(e(r,o)))},n):(typeof t=="number"&&(n=t),g(function(r,o){return zn(r,o,e,n)}))}function tt(e){return e===void 0&&(e=1/0),oe(fe,e)}function qn(){return tt(1)}function vt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return qn()(te(e,be(e)))}function j(e){return new R(function(t){U(e()).subscribe(t)})}var Zi=["addListener","removeListener"],ea=["addEventListener","removeEventListener"],ta=["on","off"];function S(e,t,n,r){if(E(n)&&(r=n,n=void 0),r)return S(e,t,n).pipe(Ie(r));var o=$(oa(e)?ea.map(function(s){return function(c){return e[s](t,c,n)}}):ra(e)?Zi.map(Qn(e,t)):na(e)?ta.map(Qn(e,t)):[],2),i=o[0],a=o[1];if(!i&&et(e))return oe(function(s){return S(s,t,n)})(U(e));if(!i)throw new TypeError("Invalid event target");return new R(function(s){var c=function(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return s.next(1<l.length?l:l[0])};return i(c),function(){return a(c)}})}function Qn(e,t){return function(n){return function(r){return e[n](t,r)}}}function ra(e){return E(e.addListener)&&E(e.removeListener)}function na(e){return E(e.on)&&E(e.off)}function oa(e){return E(e.addEventListener)&&E(e.removeEventListener)}function Bt(e,t,n){return n?Bt(e,t).pipe(Ie(n)):new R(function(r){var o=function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return r.next(a.length===1?a[0]:a)},i=e(o);return E(t)?function(){return t(o,i)}:void 0})}function Jt(e,t,n){e===void 0&&(e=0),n===void 0&&(n=bt);var r=-1;return t!=null&&($t(t)?n=t:r=t),new R(function(o){var i=Un(e)?+e-n.now():e;i<0&&(i=0);var a=0;return n.schedule(function(){o.closed||(o.next(a++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function L(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=be(e),r=Pt(e,1/0),o=e;return o.length?o.length===1?U(o[0]):tt(r)(te(o,n)):q}var ge=new R(ne);var ia=Array.isArray;function rt(e){return e.length===1&&ia(e[0])?e[0]:e}function M(e,t){return g(function(n,r){var o=0;n.subscribe(new y(r,function(i){return e.call(t,i,o++)&&r.next(i)}))})}function gt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Re(e),r=rt(e);return r.length?new R(function(o){var i=r.map(function(){return[]}),a=r.map(function(){return!1});o.add(function(){i=a=null});for(var s=function(l){U(r[l]).subscribe(new y(o,function(u){if(i[l].push(u),i.every(function(f){return f.length})){var m=i.map(function(f){return f.shift()});o.next(n?n.apply(void 0,P([],$(m))):m),i.some(function(f,h){return!f.length&&a[h]})&&o.complete()}},function(){a[l]=!0,!i[l].length&&o.complete()}))},c=0;!o.closed&&c<r.length;c++)s(c);return function(){i=a=null}}):q}function Kn(e){return g(function(t,n){var r=!1,o=null,i=null,a=!1,s=function(){if(i==null||i.unsubscribe(),i=null,r){r=!1;var l=o;o=null,n.next(l)}a&&n.complete()},c=function(){i=null,a&&n.complete()};t.subscribe(new y(n,function(l){r=!0,o=l,i||U(e(l)).subscribe(i=new y(n,s,c))},function(){a=!0,(!r||!i||i.closed)&&n.complete()}))})}function De(e,t){return t===void 0&&(t=bt),Kn(function(){return Jt(e,t)})}function Se(e,t){return t===void 0&&(t=null),t=t!=null?t:e,g(function(n,r){var o=[],i=0;n.subscribe(new y(r,function(a){var s,c,l,u,m=null;i++%t==0&&o.push([]);try{for(var f=pe(o),h=f.next();!h.done;h=f.next()){var v=h.value;v.push(a),e<=v.length&&(m=m!=null?m:[],m.push(v))}}catch(J){s={error:J}}finally{try{h&&!h.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}if(m)try{for(var d=pe(m),N=d.next();!N.done;N=d.next()){var v=N.value;Ae(o,v),r.next(v)}}catch(J){l={error:J}}finally{try{N&&!N.done&&(u=d.return)&&u.call(d)}finally{if(l)throw l.error}}},function(){var a,s;try{for(var c=pe(o),l=c.next();!l.done;l=c.next()){var u=l.value;r.next(u)}}catch(m){a={error:m}}finally{try{l&&!l.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}r.complete()},void 0,function(){o=null}))})}function je(e){return g(function(t,n){var r=null,o=!1,i;r=t.subscribe(new y(n,void 0,void 0,function(a){i=U(e(a,je(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Yn(e,t,n,r,o){return function(i,a){var s=n,c=t,l=0;i.subscribe(new y(a,function(u){var m=l++;c=s?e(c,u,m):(s=!0,u),r&&a.next(c)},o&&function(){s&&a.next(c),a.complete()}))}}function Er(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Re(e);return n?_n(Er.apply(void 0,P([],$(e))),Ie(n)):g(function(r,o){wr(P([r],$(rt(e))))(o)})}function nt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Er.apply(void 0,P([],$(e)))}function Or(e,t){return E(t)?oe(e,t,1):oe(e,1)}function Tr(e,t){return t===void 0&&(t=Fe),g(function(n,r){var o=null,i=null,a=null,s=function(){if(o){o.unsubscribe(),o=null;var l=i;i=null,r.next(l)}};function c(){var l=a+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}s()}n.subscribe(new y(r,function(l){i=l,a=t.now(),o||(o=t.schedule(c,e),r.add(o))},function(){s(),r.complete()},void 0,function(){i=o=null}))})}function Ne(e){return g(function(t,n){var r=!1;t.subscribe(new y(n,function(o){r=!0,n.next(o)},function(){r||n.next(e),n.complete()}))})}function le(e){return e<=0?function(){return q}:g(function(t,n){var r=0;t.subscribe(new y(n,function(o){++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Bn(){return g(function(e,t){e.subscribe(new y(t,ne))})}function ae(e){return p(function(){return e})}function _r(e,t){return t?function(n){return vt(t.pipe(le(1),Bn()),n.pipe(_r(e)))}:oe(function(n,r){return e(n,r).pipe(le(1),ae(n))})}function Le(e,t){t===void 0&&(t=Fe);var n=Jt(e,t);return _r(function(){return n})}function Y(e,t){return t===void 0&&(t=fe),e=e!=null?e:aa,g(function(n,r){var o,i=!0;n.subscribe(new y(r,function(a){var s=t(a);(i||!e(o,s))&&(i=!1,o=s,r.next(a))}))})}function aa(e,t){return e===t}function B(e,t){return Y(function(n,r){return t?t(n[e],r[e]):n[e]===r[e]})}function C(e){return g(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}function Ce(e){return e<=0?function(){return q}:g(function(t,n){var r=[];t.subscribe(new y(n,function(o){r.push(o),e<r.length&&r.shift()},function(){var o,i;try{for(var a=pe(r),s=a.next();!s.done;s=a.next()){var c=s.value;n.next(c)}}catch(l){o={error:l}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}n.complete()},void 0,function(){r=null}))})}function Jn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=be(e),r=Pt(e,1/0);return e=rt(e),g(function(o,i){tt(r)(te(P([o],$(e)),n)).subscribe(i)})}function ze(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Jn.apply(void 0,P([],$(e)))}function ot(e){return g(function(t,n){var r=!1,o=null;t.subscribe(new y(n,function(a){r=!0,o=a}));var i=function(){if(r){r=!1;var a=o;o=null,n.next(a)}};e.subscribe(new y(n,i,ne))})}function Mr(e,t){return g(Yn(e,t,arguments.length>=2,!0))}function se(e){e===void 0&&(e={});var t=e.connector,n=t===void 0?function(){return new w}:t,r=e.resetOnError,o=r===void 0?!0:r,i=e.resetOnComplete,a=i===void 0?!0:i,s=e.resetOnRefCountZero,c=s===void 0?!0:s;return function(l){var u=null,m=null,f=null,h=0,v=!1,d=!1,N=function(){m==null||m.unsubscribe(),m=null},J=function(){N(),u=f=null,v=d=!1},W=function(){var _=u;J(),_==null||_.unsubscribe()};return g(function(_,Ue){h++,!d&&!v&&N();var Me=f=f!=null?f:n();Ue.add(function(){h--,h===0&&!d&&!v&&(m=Ar(W,c))}),Me.subscribe(Ue),u||(u=new ft({next:function(Ke){return Me.next(Ke)},error:function(Ke){d=!0,N(),m=Ar(J,o,Ke),Me.error(Ke)},complete:function(){v=!0,N(),m=Ar(J,a),Me.complete()}}),te(_).subscribe(u))})(l)}}function Ar(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return t===!0?(e(),null):t===!1?null:t.apply(void 0,P([],$(n))).pipe(le(1)).subscribe(function(){return e()})}function G(e,t,n){var r,o,i,a=!1;return e&&typeof e=="object"?(i=(r=e.bufferSize)!==null&&r!==void 0?r:1/0,t=(o=e.windowTime)!==null&&o!==void 0?o:1/0,a=!!e.refCount,n=e.scheduler):i=e!=null?e:1/0,se({connector:function(){return new dt(i,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function Gt(e){return M(function(t,n){return e<=n})}function xt(e){return g(function(t,n){var r=!1,o=new y(n,function(){o==null||o.unsubscribe(),r=!0},ne);U(e).subscribe(o),t.subscribe(new y(n,function(i){return r&&n.next(i)}))})}function D(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=be(e);return g(function(r,o){(n?vt(e,r,n):vt(e,r)).subscribe(o)})}function O(e,t){return g(function(n,r){var o=null,i=0,a=!1,s=function(){return a&&!o&&r.complete()};n.subscribe(new y(r,function(c){o==null||o.unsubscribe();var l=0,u=i++;U(e(c,u)).subscribe(o=new y(r,function(m){return r.next(t?t(c,m,u,l++):m)},function(){o=null,s()}))},function(){a=!0,s()}))})}function Lr(e,t){return E(t)?O(function(){return e},t):O(function(){return e})}function ke(e){return g(function(t,n){U(e).subscribe(new y(n,function(){return n.complete()},ne)),!n.closed&&t.subscribe(n)})}function Cr(e,t){return t===void 0&&(t=!1),g(function(n,r){var o=0;n.subscribe(new y(r,function(i){var a=e(i,o++);(a||t)&&r.next(i),!a&&r.complete()}))})}function T(e,t,n){var r=E(e)||t||n?{next:e,error:t,complete:n}:e;return r?g(function(o,i){var a;(a=r.subscribe)===null||a===void 0||a.call(r);var s=!0;o.subscribe(new y(i,function(c){var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},function(){var c;s=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},function(c){var l;s=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},function(){var c,l;s&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):fe}var sa={leading:!0,trailing:!1};function kr(e,t){var n=t===void 0?sa:t,r=n.leading,o=n.trailing;return g(function(i,a){var s=!1,c=null,l=null,u=!1,m=function(){l==null||l.unsubscribe(),l=null,o&&(v(),u&&a.complete())},f=function(){l=null,u&&a.complete()},h=function(d){return l=U(e(d)).subscribe(new y(a,m,f))},v=function(){if(s){s=!1;var d=c;c=null,a.next(d),!u&&h(d)}};i.subscribe(new y(a,function(d){s=!0,c=d,!(l&&!l.closed)&&(r?v():h(d))},function(){u=!0,!(o&&s&&l&&!l.closed)&&a.complete()}))})}function me(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Re(e);return g(function(r,o){for(var i=e.length,a=new Array(i),s=e.map(function(){return!1}),c=!1,l=function(m){U(e[m]).subscribe(new y(o,function(f){a[m]=f,!c&&!s[m]&&(s[m]=!0,(c=s.every(fe))&&(s=null))},ne))},u=0;u<i;u++)l(u);r.subscribe(new y(o,function(m){if(c){var f=P([m],$(a));o.next(n?n.apply(void 0,P([],$(f))):f)}}))})}function Gn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return g(function(n,r){gt.apply(void 0,P([n],$(e))).subscribe(r)})}function Hr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Gn.apply(void 0,P([],$(e)))}function Xn(){let e=new dt(1);return S(document,"DOMContentLoaded",{once:!0}).subscribe(()=>e.next(document)),e}function Q(e,t=document){return Array.from(t.querySelectorAll(e))}function z(e,t=document){let n=ue(e,t);if(typeof n=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return n}function ue(e,t=document){return t.querySelector(e)||void 0}function qe(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}function Xt(e){return L(S(e,"focus"),S(e,"blur")).pipe(p(({type:t})=>t==="focus"),D(e===qe()))}function $e(e){return{x:e.offsetLeft,y:e.offsetTop}}function Zn(e){return L(S(window,"load"),S(window,"resize")).pipe(De(0,he),p(()=>$e(e)),D($e(e)))}function eo(e){return{x:e.scrollLeft,y:e.scrollTop}}function Zt(e){return L(S(e,"scroll"),S(window,"resize")).pipe(De(0,he),p(()=>eo(e)),D(eo(e)))}var to=new w,ca=j(()=>I(new ResizeObserver(e=>{for(let t of e)to.next(t)}))).pipe(O(e=>L(ge,I(e)).pipe(C(()=>e.disconnect()))),G(1));function it(e){return{width:e.offsetWidth,height:e.offsetHeight}}function we(e){return ca.pipe(T(t=>t.observe(e)),O(t=>to.pipe(M(({target:n})=>n===e),C(()=>t.unobserve(e)),p(()=>it(e)))),D(it(e)))}function er(e){return{width:e.scrollWidth,height:e.scrollHeight}}var la=new w,nb=j(()=>I(new IntersectionObserver(e=>{for(let t of e)la.next(t)},{threshold:1}))).pipe(O(e=>L(ge,I(e)).pipe(C(()=>e.disconnect()))),G(1));function ro(e,t=16){return Zt(e).pipe(p(({y:n})=>{let r=it(e),o=er(e);return n>=o.height-r.height-t}),Y())}var tr={drawer:z("[data-md-toggle=drawer]"),search:z("[data-md-toggle=search]")};function no(e){return tr[e].checked}function Pe(e,t){tr[e].checked!==t&&tr[e].click()}function rr(e){let t=tr[e];return S(t,"change").pipe(p(()=>t.checked),D(t.checked))}function ua(e,t){switch(e.constructor){case HTMLInputElement:return e.type==="radio"?/^Arrow/.test(t):!0;case HTMLSelectElement:case HTMLTextAreaElement:return!0;default:return e.isContentEditable}}function oo(){return S(window,"keydown").pipe(M(e=>!(e.metaKey||e.ctrlKey)),p(e=>({mode:no("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),M(({mode:e,type:t})=>{if(e==="global"){let n=qe();if(typeof n!="undefined")return!ua(n,t)}return!0}),se())}function Oe(){return new URL(location.href)}function io(e){location.href=e.href}function ao(){return new w}function so(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 n of t)so(e,n)}function k(e,t,...n){let r=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="boolean"?r.setAttribute(o,t[o]):t[o]&&r.setAttribute(o,"");for(let o of n)so(r,o);return r}function co(e,t){let n=t;if(e.length>n){for(;e[n]!==" "&&--n>0;);return`${e.substring(0,n)}...`}return e}function nr(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function lo(){return location.hash.substring(1)}function uo(e){let t=k("a",{href:e});t.addEventListener("click",n=>n.stopPropagation()),t.click()}function pa(){return S(window,"hashchange").pipe(p(lo),D(lo()),M(e=>e.length>0),G(1))}function po(){return pa().pipe(p(e=>ue(`[id="${e}"]`)),M(e=>typeof e!="undefined"))}function or(e){let t=matchMedia(e);return Bt(n=>t.addListener(()=>n(t.matches))).pipe(D(t.matches))}function fo(){return L(S(window,"beforeprint").pipe(ae(!0)),S(window,"afterprint").pipe(ae(!1)))}function Fr(e,t){return e.pipe(O(n=>n?t():q))}function ir(e,t={credentials:"same-origin"}){return te(fetch(`${e}`,t)).pipe(M(n=>n.status===200),je(()=>q))}function Te(e,t){return ir(e,t).pipe(O(n=>n.json()),G(1))}function mo(e,t){let n=new DOMParser;return ir(e,t).pipe(O(r=>r.text()),p(r=>n.parseFromString(r,"text/xml")),G(1))}function ho(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function bo(){return L(S(window,"scroll",{passive:!0}),S(window,"resize",{passive:!0})).pipe(p(ho),D(ho()))}function vo(){return{width:innerWidth,height:innerHeight}}function go(){return S(window,"resize",{passive:!0}).pipe(p(vo),D(vo()))}function xo(){return K([bo(),go()]).pipe(p(([e,t])=>({offset:e,size:t})),G(1))}function ar(e,{viewport$:t,header$:n}){let r=t.pipe(B("size")),o=K([r,n]).pipe(p(()=>$e(e)));return K([n,t,o]).pipe(p(([{height:i},{offset:a,size:s},{x:c,y:l}])=>({offset:{x:a.x-c,y:a.y-l+i},size:s})))}function yo(e,{tx$:t}){let n=S(e,"message").pipe(p(({data:r})=>r));return t.pipe(kr(()=>n,{leading:!0,trailing:!0}),T(r=>e.postMessage(r)),Lr(n),se())}var fa=z("#__config"),at=JSON.parse(fa.textContent);at.base=`${new URL(at.base,Oe())}`;function de(){return at}function ie(e){return at.features.includes(e)}function X(e,t){return typeof t!="undefined"?at.translations[e].replace("#",t.toString()):at.translations[e]}function _e(e,t=document){return z(`[data-md-component=${e}]`,t)}function re(e,t=document){return Q(`[data-md-component=${e}]`,t)}var Co=Ye(Ir());function So(e){return k("button",{class:"md-clipboard md-icon",title:X("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}function wo(e){return k("aside",{class:"md-annotation",tabIndex:0},k("div",{class:"md-annotation__inner md-tooltip"},k("div",{class:"md-tooltip__inner md-typeset"})),k("span",{class:"md-annotation__index"},e))}var Qe;(function(n){n[n.TEASER=1]="TEASER",n[n.PARENT=2]="PARENT"})(Qe||(Qe={}));function jr(e,t){let n=t&2,r=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).map(a=>[k("del",null,a)," "]).flat().slice(0,-1),i=new URL(e.location);return ie("search.highlight")&&i.searchParams.set("h",Object.entries(e.terms).filter(([,a])=>a).reduce((a,[s])=>`${a} ${s}`.trim(),"")),k("a",{href:`${i}`,class:"md-search-result__link",tabIndex:-1},k("article",{class:["md-search-result__article",...n?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},n>0&&k("div",{class:"md-search-result__icon md-icon"}),k("h1",{class:"md-search-result__title"},e.title),r>0&&e.text.length>0&&k("p",{class:"md-search-result__teaser"},co(e.text,320)),r>0&&o.length>0&&k("p",{class:"md-search-result__terms"},X("search.result.term.missing"),": ",o)))}function Eo(e){let t=e[0].score,n=[...e],r=n.findIndex(l=>!l.location.includes("#")),[o]=n.splice(r,1),i=n.findIndex(l=>l.score<t);i===-1&&(i=n.length);let a=n.slice(0,i),s=n.slice(i),c=[jr(o,2|+(!r&&i===0)),...a.map(l=>jr(l,1)),...s.length?[k("details",{class:"md-search-result__more"},k("summary",{tabIndex:-1},s.length>0&&s.length===1?X("search.result.more.one"):X("search.result.more.other",s.length)),s.map(l=>jr(l,1)))]:[]];return k("li",{class:"md-search-result__item"},c)}function Oo(e){return k("ul",{class:"md-source__facts"},Object.entries(e).map(([t,n])=>k("li",{class:`md-source__fact md-source__fact--${t}`},typeof n=="number"?nr(n):n)))}function To(e){return k("div",{class:"md-typeset__scrollwrap"},k("div",{class:"md-typeset__table"},e))}function ma(e){let t=de(),n=new URL(`../${e.version}/`,t.base);return k("li",{class:"md-version__item"},k("a",{href:n.toString(),class:"md-version__link"},e.title))}function _o(e,t){return k("div",{class:"md-version"},k("button",{class:"md-version__current","aria-label":X("select.version.title")},t.title),k("ul",{class:"md-version__list"},e.map(ma)))}function da(e,t){let n=j(()=>K([Zn(e),Zt(t)])).pipe(p(([{x:r,y:o},i])=>({x:r-i.x,y:o-i.y})));return Xt(e).pipe(O(r=>n.pipe(p(o=>({active:r,offset:o})),le(+!r||1/0))))}function Mo(e,t){return j(()=>{let n=new w;n.subscribe({next({offset:i}){e.style.setProperty("--md-tooltip-x",`${i.x}px`),e.style.setProperty("--md-tooltip-y",`${i.y}px`)},complete(){e.style.removeProperty("--md-tooltip-x"),e.style.removeProperty("--md-tooltip-y")}});let r=z(":scope > :last-child"),o=S(r,"mousedown",{once:!0});return n.pipe(O(({active:i})=>i?o:q),T(i=>i.preventDefault())).subscribe(()=>e.blur()),da(e,t).pipe(T(i=>n.next(i)),C(()=>n.complete()),p(i=>F({ref:e},i)))})}function ha(e){let t=[];for(let n of Q(".c, .c1, .cm",e)){let r,o=n.firstChild;for(;r=/\((\d+)\)/.exec(o.textContent);){let i=o.splitText(r.index);o=i.splitText(r[0].length),t.push(i)}}return t}function Ao(e,t){t.append(...Array.from(e.childNodes))}function Lo(e,t,n){let{print$:r}=n,o=new Map;for(let i of ha(t)){let[,a]=i.textContent.match(/\((\d+)\)/);o.set(+a,wo(+a)),i.replaceWith(o.get(+a))}return j(()=>{let i=new w;return r.pipe(D(!1),ke(i.pipe(Ce(1)))).subscribe(a=>{e.hidden=!a;for(let[s,c]of o){let l=z(".md-typeset",c),u=z(`li:nth-child(${s})`,e);a?Ao(l,u):Ao(u,l)}}),L(...[...o].map(([,a])=>Mo(a,t))).pipe(C(()=>i.complete()),se())})}var ba=0;function ko(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return ko(t)}}function Ho(e){return we(e).pipe(p(({width:t})=>({scrollable:er(e).width>t})),B("scrollable"))}function Fo(e,r){var o=r,{hover$:t}=o,n=Ot(o,["hover$"]);return j(()=>{let i=new w;if(i.pipe(me(t)).subscribe(([{scrollable:s},c])=>{s&&c?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}),Co.default.isSupported()){let s=e.closest("pre");s.id=`__code_${++ba}`,s.insertBefore(So(s.id),e)}let a=e.closest(".highlighttable")||e.closest(".highlight");if(a instanceof HTMLElement){let s=ko(a);if(typeof s!="undefined"&&(a.classList.contains("annotate")||ie("content.code.annotate"))){let c=Lo(s,e,n);return Ho(e).pipe(T(l=>i.next(l)),C(()=>i.complete()),p(l=>F({ref:e},l)),ze(we(a).pipe(ke(i.pipe(Ce(1))),O(({width:l,height:u})=>l&&u?c:q))))}}return Ho(e).pipe(T(s=>i.next(s)),C(()=>i.complete()),p(s=>F({ref:e},s)))})}function va(e,{target$:t,print$:n}){let r=!1;return L(t.pipe(p(o=>o.closest("details:not([open])")),M(o=>e===o),ae({action:"open",scroll:!0})),n.pipe(M(o=>o||!r),T(()=>r=e.open),p(o=>({action:o?"open":"close"}))))}function Ro(e,t){return j(()=>{let n=new w;return n.subscribe(({action:r,scroll:o})=>{r==="open"?e.setAttribute("open",""):e.removeAttribute("open"),o&&e.scrollIntoView()}),va(e,t).pipe(T(r=>n.next(r)),C(()=>n.complete()),p(r=>F({ref:e},r)))})}var Io=k("table");function jo(e){return e.replaceWith(Io),Io.replaceWith(To(e)),I({ref:e})}function ga(e){return L(...Q(":scope > input",e).map(t=>S(t,"change").pipe(ae(t.id)))).pipe(p(t=>({active:z(`label[for=${t}]`)})))}function $o(e){let t=z(".tabbed-labels",e);return j(()=>{let n=new w;return n.subscribe(({active:r})=>{let{x:o}=$e(r);t.scrollTo({behavior:"smooth",left:o})}),ga(e).pipe(T(r=>n.next(r)),C(()=>n.complete()),p(r=>F({ref:e},r)))})}function Po(e,{target$:t,hover$:n,print$:r}){return L(...Q("pre > code",e).map(o=>Fo(o,{hover$:n,print$:r})),...Q("table:not([class])",e).map(o=>jo(o)),...Q("details",e).map(o=>Ro(o,{target$:t,print$:r})),...Q("[data-tabs]",e).map(o=>$o(o)))}function xa(e,{alert$:t}){return t.pipe(O(n=>L(I(!0),I(!1).pipe(Le(2e3))).pipe(p(r=>({message:n,open:r})))))}function Wo(e,t){let n=z(".md-typeset",e);return j(()=>{let r=new w;return r.subscribe(({message:o,open:i})=>{n.textContent=o,i?e.setAttribute("data-md-state","open"):e.removeAttribute("data-md-state")}),xa(e,t).pipe(T(o=>r.next(o)),C(()=>r.complete()),p(o=>F({ref:e},o)))})}function ya({viewport$:e}){if(!ie("header.autohide"))return I(!1);let t=e.pipe(p(({offset:{y:o}})=>o),Se(2,1),p(([o,i])=>[o<i,i]),B(0)),n=K([e,t]).pipe(M(([{offset:o},[,i]])=>Math.abs(i-o.y)>100),p(([,[o]])=>o),Y()),r=rr("search");return K([e,r]).pipe(p(([{offset:o},i])=>o.y>400&&!i),Y(),O(o=>o?n:I(!1)),D(!1))}function Uo(e,t){return j(()=>{let n=getComputedStyle(e);return I(n.position==="sticky"||n.position==="-webkit-sticky")}).pipe(nt(we(e),ya(t)),p(([n,{height:r},o])=>({height:n?r:0,sticky:n,hidden:o})),Y((n,r)=>n.sticky===r.sticky&&n.height===r.height&&n.hidden===r.hidden),G(1))}function Vo(e,{header$:t,main$:n}){return j(()=>{let r=new w;return r.pipe(B("active"),nt(t)).subscribe(([{active:o},{hidden:i}])=>{o?e.setAttribute("data-md-state",i?"hidden":"shadow"):e.removeAttribute("data-md-state")}),n.subscribe(r),t.pipe(ke(r.pipe(Ce(1))),p(o=>F({ref:e},o)))})}function Sa(e,{viewport$:t,header$:n}){return ar(e,{viewport$:t,header$:n}).pipe(p(({offset:{y:r}})=>{let{height:o}=it(e);return{active:r>=o}}),B("active"))}function Do(e,t){return j(()=>{let n=new w;n.subscribe(({active:o})=>{o?e.setAttribute("data-md-state","active"):e.removeAttribute("data-md-state")});let r=ue("article h1");return typeof r=="undefined"?q:Sa(r,t).pipe(T(o=>n.next(o)),C(()=>n.complete()),p(o=>F({ref:e},o)))})}function No(e,{viewport$:t,header$:n}){let r=n.pipe(p(({height:i})=>i),Y()),o=r.pipe(O(()=>we(e).pipe(p(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),B("bottom"))));return K([r,o,t]).pipe(p(([i,{top:a,bottom:s},{offset:{y:c},size:{height:l}}])=>(l=Math.max(0,l-Math.max(0,a-c,i)-Math.max(0,l+c-s)),{offset:a-i,height:l,active:a-i<=c})),Y((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function wa(e){let t=__md_get("__palette")||{index:e.findIndex(r=>matchMedia(r.getAttribute("data-md-color-media")).matches)};return I(...e).pipe(oe(r=>S(r,"change").pipe(ae(r))),D(e[Math.max(0,t.index)]),p(r=>({index:e.indexOf(r),color:{scheme:r.getAttribute("data-md-color-scheme"),primary:r.getAttribute("data-md-color-primary"),accent:r.getAttribute("data-md-color-accent")}})),G(1))}function zo(e){return j(()=>{let t=new w;t.subscribe(r=>{for(let[o,i]of Object.entries(r.color))typeof i=="string"&&document.body.setAttribute(`data-md-color-${o}`,i);for(let o=0;o<n.length;o++){let i=n[o].nextElementSibling;i instanceof HTMLElement&&(i.hidden=r.index!==o)}__md_set("__palette",r)});let n=Q("input",e);return wa(n).pipe(T(r=>t.next(r)),C(()=>t.complete()),p(r=>F({ref:e},r)))})}var $r=Ye(Ir());function Ea(e){let t=Q(".md-annotation",e);for(let r of t)r.hidden=!0;let n=e.innerText;for(let r of t)r.hidden=!1;return n}function qo({alert$:e}){$r.default.isSupported()&&new R(t=>{new $r.default("[data-clipboard-target], [data-clipboard-text]",{text:n=>n.getAttribute("data-clipboard-text")||Ea(z(n.getAttribute("data-clipboard-target")))}).on("success",n=>t.next(n))}).subscribe(()=>e.next(X("clipboard.copied")))}function Oa(e){if(e.length<2)return e;let[t,n]=e.sort((i,a)=>i.length-a.length).map(i=>i.replace(/[^/]+$/,"")),r=0;if(t===n)r=t.length;else for(;t.charCodeAt(r)===n.charCodeAt(r);)r++;let o=de();return e.map(i=>i.replace(t.slice(0,r),o.base))}function Qo({document$:e,location$:t,viewport$:n}){let r=de();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",S(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=ue("link[rel=icon]");typeof o!="undefined"&&(o.href=o.href);let i=mo(new URL("sitemap.xml",r.base)).pipe(p(l=>Oa(Q("loc",l).map(u=>u.textContent))),O(l=>S(document.body,"click").pipe(M(u=>!u.metaKey&&!u.ctrlKey),O(u=>{if(u.target instanceof Element){let m=u.target.closest("a");if(m&&!m.target){let f=new URL(m.href);if(f.search="",f.hash="",f.pathname!==location.pathname&&l.includes(f.toString()))return u.preventDefault(),I({url:new URL(m.href)})}}return ge}))),se()),a=S(window,"popstate").pipe(M(l=>l.state!==null),p(l=>({url:new URL(location.href),offset:l.state})),se());L(i,a).pipe(Y((l,u)=>l.url.href===u.url.href),p(({url:l})=>l)).subscribe(t);let s=t.pipe(B("pathname"),O(l=>ir(l.href).pipe(je(()=>(io(l),ge)))),se());i.pipe(ot(s)).subscribe(({url:l})=>{history.pushState({},"",`${l}`)});let c=new DOMParser;s.pipe(O(l=>l.text()),p(l=>c.parseFromString(l,"text/html"))).subscribe(e),e.pipe(Gt(1)).subscribe(l=>{for(let u 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]","[data-md-component=skip]",...ie("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let m=ue(u),f=ue(u,l);typeof m!="undefined"&&typeof f!="undefined"&&m.replaceWith(f)}}),e.pipe(Gt(1),p(()=>_e("container")),O(l=>I(...Q("script",l))),Or(l=>{let u=k("script");if(l.src){for(let m of l.getAttributeNames())u.setAttribute(m,l.getAttribute(m));return l.replaceWith(u),new R(m=>{u.onload=()=>m.complete()})}else return u.textContent=l.textContent,l.replaceWith(u),q})).subscribe(),L(i,a).pipe(ot(e)).subscribe(({url:l,offset:u={y:0}})=>{l.hash&&!u?uo(l.hash):window.scrollTo(0,u.y)}),n.pipe(xt(i),Tr(250),B("offset")).subscribe(({offset:l})=>{history.replaceState(l,"")}),L(i,a).pipe(Se(2,1),M(([l,u])=>l.url.pathname===u.url.pathname),p(([,l])=>l)).subscribe(({offset:l={y:0}})=>{window.scrollTo(0,l.y)})}var Ma=Ye(Pr());var Yo=Ye(Pr());function Wr(e,t){let n=new RegExp(e.separator,"img"),r=(o,i,a)=>`${i}<mark data-md-highlight>${a}</mark>`;return o=>{o=o.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator})(${o.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(n,"|")})`,"img");return a=>(t?(0,Yo.default)(a):a).replace(i,r).replace(/<\/mark>(\s+)<mark[^>]*>/img,"$1")}}function Bo(e){return e.split(/"([^"]+)"/g).map((t,n)=>n&1?t.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):t).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}var He;(function(o){o[o.SETUP=0]="SETUP",o[o.READY=1]="READY",o[o.QUERY=2]="QUERY",o[o.RESULT=3]="RESULT"})(He||(He={}));function st(e){return e.type===1}function Jo(e){return e.type===2}function ct(e){return e.type===3}function Aa({config:e,docs:t}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[X("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=X("search.config.separator"));let r={pipeline:X("search.config.pipeline").split(/\s*,\s*/).filter(Boolean),suggestions:ie("search.suggest")};return{config:e,docs:t,options:r}}function Go(e,t){let n=de(),r=new Worker(e),o=new w,i=yo(r,{tx$:o}).pipe(p(a=>{if(ct(a))for(let s of a.data.items)for(let c of s)c.location=`${new URL(c.location,n.base)}`;return a}),se());return te(t).pipe(p(a=>({type:He.SETUP,data:Aa(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function Xo(){let e=de(),t=Te(new URL("../versions.json",e.base)),n=t.pipe(p(r=>{let[,o]=e.base.match(/([^/]+)\/?$/);return r.find(({version:i,aliases:a})=>i===o||a.includes(o))||r[0]}));K([t,n]).subscribe(([r,o])=>{var a;if(z(".md-header__topic").appendChild(_o(r,o)),__md_get("__outdated",sessionStorage)===null){let s=((a=e.version)==null?void 0:a.default)||"latest",c=!o.aliases.includes(s);if(__md_set("__outdated",c,sessionStorage),c)for(let l of re("outdated"))l.hidden=!1}})}function La(e,{rx$:t}){let n=(__search==null?void 0:__search.transform)||Bo,{searchParams:r}=Oe();r.has("q")&&Pe("search",!0);let o=t.pipe(M(st),le(1),p(()=>r.get("q")||""));o.subscribe(s=>{s&&(e.value=s)});let i=Xt(e),a=L(S(e,"keyup"),S(e,"focus").pipe(Le(1)),o).pipe(p(()=>n(e.value)),D(""),Y());return K([a,i]).pipe(p(([s,c])=>({value:s,focus:c})),G(1))}function Zo(e,{tx$:t,rx$:n}){let r=new w;return r.pipe(B("value"),p(({value:o})=>({type:He.QUERY,data:o}))).subscribe(t.next.bind(t)),r.pipe(B("focus")).subscribe(({focus:o})=>{o?(Pe("search",o),e.placeholder=""):e.placeholder=X("search.placeholder")}),S(e.form,"reset").pipe(ke(r.pipe(Ce(1)))).subscribe(()=>e.focus()),La(e,{tx$:t,rx$:n}).pipe(T(o=>r.next(o)),C(()=>r.complete()),p(o=>F({ref:e},o)))}function ei(e,{rx$:t},{query$:n}){let r=new w,o=ro(e.parentElement).pipe(M(Boolean)),i=z(":scope > :first-child",e),a=z(":scope > :last-child",e),s=t.pipe(M(st),le(1));return r.pipe(ve(he),me(n),xt(s)).subscribe(([{items:l},{value:u}])=>{if(u)switch(l.length){case 0:i.textContent=X("search.result.none");break;case 1:i.textContent=X("search.result.one");break;default:i.textContent=X("search.result.other",nr(l.length))}else i.textContent=X("search.result.placeholder")}),r.pipe(ve(he),T(()=>a.innerHTML=""),O(({items:l})=>L(I(...l.slice(0,10)),I(...l.slice(10)).pipe(Se(4),Hr(o),O(([u])=>I(...u)))))).subscribe(l=>a.appendChild(Eo(l))),t.pipe(M(ct),p(({data:l})=>l)).pipe(T(l=>r.next(l)),C(()=>r.complete()),p(l=>F({ref:e},l)))}function Ca(e,{query$:t}){return t.pipe(p(({value:n})=>{let r=Oe();return r.hash="",r.searchParams.delete("h"),r.searchParams.set("q",n),{url:r}}))}function ti(e,t){let n=new w;return n.subscribe(({url:r})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${r}`}),S(e,"click").subscribe(r=>r.preventDefault()),Ca(e,t).pipe(T(r=>n.next(r)),C(()=>n.complete()),p(r=>F({ref:e},r)))}function ri(e,{rx$:t},{keyboard$:n}){let r=new w,o=_e("search-query"),i=L(S(o,"keydown"),S(o,"focus")).pipe(ve(Fe),p(()=>o.value),Y());return r.pipe(nt(i),p(([{suggestions:s},c])=>{let l=c.split(/([\s-]+)/);if((s==null?void 0:s.length)&&l[l.length-1]){let u=s[s.length-1];u.startsWith(l[l.length-1])&&(l[l.length-1]=u)}else l.length=0;return l})).subscribe(s=>e.innerHTML=s.join("").replace(/\s/g,"&nbsp;")),n.pipe(M(({mode:s})=>s==="search")).subscribe(s=>{switch(s.type){case"ArrowRight":e.innerText.length&&o.selectionStart===o.value.length&&(o.value=e.innerText);break}}),t.pipe(M(ct),p(({data:s})=>s)).pipe(T(s=>r.next(s)),C(()=>r.complete()),p(()=>({ref:e})))}function ni(e,{index$:t,keyboard$:n}){let r=de();try{let o=(__search==null?void 0:__search.worker)||r.search,i=Go(o,t),a=_e("search-query",e),s=_e("search-result",e),{tx$:c,rx$:l}=i;c.pipe(M(Jo),ot(l.pipe(M(st))),le(1)).subscribe(c.next.bind(c)),n.pipe(M(({mode:f})=>f==="search")).subscribe(f=>{let h=qe();switch(f.type){case"Enter":if(h===a){let v=new Map;for(let d of Q(":first-child [href]",s)){let N=d.firstElementChild;v.set(d,parseFloat(N.getAttribute("data-md-score")))}if(v.size){let[[d]]=[...v].sort(([,N],[,J])=>J-N);d.click()}f.claim()}break;case"Escape":case"Tab":Pe("search",!1),a.blur();break;case"ArrowUp":case"ArrowDown":if(typeof h=="undefined")a.focus();else{let v=[a,...Q(":not(details) > [href], summary, details[open] [href]",s)],d=Math.max(0,(Math.max(0,v.indexOf(h))+v.length+(f.type==="ArrowUp"?-1:1))%v.length);v[d].focus()}f.claim();break;default:a!==qe()&&a.focus()}}),n.pipe(M(({mode:f})=>f==="global")).subscribe(f=>{switch(f.type){case"f":case"s":case"/":a.focus(),a.select(),f.claim();break}});let u=Zo(a,i),m=ei(s,i,{query$:u});return L(u,m).pipe(ze(...re("search-share",e).map(f=>ti(f,{query$:u})),...re("search-suggest",e).map(f=>ri(f,i,{keyboard$:n}))))}catch(o){return e.hidden=!0,ge}}function oi(e,{index$:t,location$:n}){return K([t,n.pipe(D(Oe()),M(r=>!!r.searchParams.get("h")))]).pipe(p(([r,o])=>Wr(r.config,!0)(o.searchParams.get("h"))),p(r=>{var a;let o=new Map,i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT);for(let s=i.nextNode();s;s=i.nextNode())if((a=s.parentElement)==null?void 0:a.offsetHeight){let c=s.textContent,l=r(c);l.length>c.length&&o.set(s,l)}for(let[s,c]of o){let{childNodes:l}=k("span",null,c);s.replaceWith(...Array.from(l))}return{ref:e,nodes:o}}))}function ka(e,{viewport$:t,main$:n}){let r=e.parentElement,o=r.offsetTop-r.parentElement.offsetTop;return K([n,t]).pipe(p(([{offset:i,height:a},{offset:{y:s}}])=>(a=a+Math.min(o,Math.max(0,s-i))-o,{height:a,locked:s>=i+o})),Y((i,a)=>i.height===a.height&&i.locked===a.locked))}function Ur(e,r){var o=r,{header$:t}=o,n=Ot(o,["header$"]);let i=z(".md-sidebar__scrollwrap",e),{y:a}=$e(i);return j(()=>{let s=new w;return s.pipe(De(0,he),me(t)).subscribe({next([{height:c},{height:l}]){i.style.height=`${c-2*a}px`,e.style.top=`${l}px`},complete(){i.style.height="",e.style.top=""}}),ka(e,n).pipe(T(c=>s.next(c)),C(()=>s.complete()),p(c=>F({ref:e},c)))})}function ii(e,t){if(typeof t!="undefined"){let n=`https://api.github.com/repos/${e}/${t}`;return gt(Te(`${n}/releases/latest`).pipe(p(r=>({version:r.tag_name})),Ne({})),Te(n).pipe(p(r=>({stars:r.stargazers_count,forks:r.forks_count})),Ne({}))).pipe(p(([r,o])=>F(F({},r),o)))}else{let n=`https://api.github.com/users/${e}`;return Te(n).pipe(p(r=>({repositories:r.public_repos})),Ne({}))}}function ai(e,t){let n=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Te(n).pipe(p(({star_count:r,forks_count:o})=>({stars:r,forks:o})),Ne({}))}function si(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,n,r]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return ii(n,r);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return ai(o,i);default:return q}}var Ha;function Fa(e){return Ha||(Ha=j(()=>{let t=__md_get("__source",sessionStorage);return t?I(t):si(e.href).pipe(T(n=>__md_set("__source",n,sessionStorage)))}).pipe(je(()=>q),M(t=>Object.keys(t).length>0),p(t=>({facts:t})),G(1)))}function ci(e){let t=z(":scope > :last-child",e);return j(()=>{let n=new w;return n.subscribe(({facts:r})=>{t.appendChild(Oo(r)),t.setAttribute("data-md-state","done")}),Fa(e).pipe(T(r=>n.next(r)),C(()=>n.complete()),p(r=>F({ref:e},r)))})}function Ra(e,{viewport$:t,header$:n}){return we(document.body).pipe(O(()=>ar(e,{header$:n,viewport$:t})),p(({offset:{y:r}})=>({hidden:r>=10})),B("hidden"))}function li(e,t){return j(()=>{let n=new w;return n.subscribe({next({hidden:r}){r?e.setAttribute("data-md-state","hidden"):e.removeAttribute("data-md-state")},complete(){e.removeAttribute("data-md-state")}}),(ie("navigation.tabs.sticky")?I({hidden:!1}):Ra(e,t)).pipe(T(r=>n.next(r)),C(()=>n.complete()),p(r=>F({ref:e},r)))})}function Ia(e,{viewport$:t,header$:n}){let r=new Map,o=Q("[href^=\\#]",e);for(let s of o){let c=decodeURIComponent(s.hash.substring(1)),l=ue(`[id="${c}"]`);typeof l!="undefined"&&r.set(s,l)}let i=n.pipe(p(s=>24+s.height));return we(document.body).pipe(B("height"),O(s=>j(()=>{let c=[];return I([...r].reduce((l,[u,m])=>{for(;c.length&&r.get(c[c.length-1]).tagName>=m.tagName;)c.pop();let f=m.offsetTop;for(;!f&&m.parentElement;)m=m.parentElement,f=m.offsetTop;return l.set([...c=[...c,u]].reverse(),f)},new Map))}).pipe(p(c=>new Map([...c].sort(([,l],[,u])=>l-u))),O(c=>K([t,i]).pipe(Mr(([l,u],[{offset:{y:m},size:f},h])=>{let v=m+f.height>=Math.floor(s.height);for(;u.length;){let[,d]=u[0];if(d-h<m||v)l=[...l,u.shift()];else break}for(;l.length;){let[,d]=l[l.length-1];if(d-h>=m&&!v)u=[l.pop(),...u];else break}return[l,u]},[[],[...c]]),Y((l,u)=>l[0]===u[0]&&l[1]===u[1])))))).pipe(p(([s,c])=>({prev:s.map(([l])=>l),next:c.map(([l])=>l)})),D({prev:[],next:[]}),Se(2,1),p(([s,c])=>s.prev.length<c.prev.length?{prev:c.prev.slice(Math.max(0,s.prev.length-1),c.prev.length),next:[]}:{prev:c.prev.slice(-1),next:c.next.slice(0,c.next.length-s.next.length)}))}function ui(e,t){return j(()=>{let n=new w;return n.subscribe(({prev:r,next:o})=>{for(let[i]of o)i.removeAttribute("data-md-state"),i.classList.remove("md-nav__link--active");for(let[i,[a]]of r.entries())a.setAttribute("data-md-state","blur"),a.classList.toggle("md-nav__link--active",i===r.length-1);if(ie("navigation.tracking")){let i=Oe(),a=r[r.length-1];if(a&&a.length){let[s]=a,{hash:c}=new URL(s.href);i.hash!==c&&(i.hash=c,history.replaceState({},"",`${i}`))}else i.hash="",history.replaceState({},"",`${i}`)}}),Ia(e,t).pipe(T(r=>n.next(r)),C(()=>n.complete()),p(r=>F({ref:e},r)))})}function ja(e,{viewport$:t,main$:n}){let r=t.pipe(p(({offset:{y:i}})=>i),Se(2,1),p(([i,a])=>i>a&&a),Y()),o=n.pipe(B("active"));return K([o,r]).pipe(p(([{active:i},a])=>({hidden:!(i&&a)})),Y((i,a)=>i.hidden===a.hidden))}function pi(e,{viewport$:t,header$:n,main$:r}){let o=new w;return o.pipe(me(n.pipe(B("height")))).subscribe({next([{hidden:i},{height:a}]){e.style.top=`${a+16}px`,i?(e.setAttribute("data-md-state","hidden"),e.setAttribute("tabindex","-1"),e.blur()):(e.style.top="",e.removeAttribute("data-md-state"),e.removeAttribute("tabindex"))},complete(){e.style.top="",e.removeAttribute("data-md-state"),e.removeAttribute("tabindex")}}),ja(e,{viewport$:t,header$:n,main$:r}).pipe(T(i=>o.next(i)),C(()=>o.complete()),p(i=>F({ref:e},i)))}function fi({document$:e,tablet$:t}){e.pipe(O(()=>I(...Q("[data-md-state=indeterminate]"))),T(n=>{n.indeterminate=!0,n.checked=!1}),oe(n=>S(n,"change").pipe(Cr(()=>n.hasAttribute("data-md-state")),ae(n))),me(t)).subscribe(([n,r])=>{n.removeAttribute("data-md-state"),r&&(n.checked=!1)})}function $a(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function mi({document$:e}){e.pipe(O(()=>I(...Q("[data-md-scrollfix]"))),T(t=>t.removeAttribute("data-md-scrollfix")),M($a),oe(t=>S(t,"touchstart").pipe(ae(t)))).subscribe(t=>{let n=t.scrollTop;n===0?t.scrollTop=1:n+t.offsetHeight===t.scrollHeight&&(t.scrollTop=n-1)})}function di({viewport$:e,tablet$:t}){K([rr("search"),t]).pipe(p(([n,r])=>n&&!r),O(n=>I(n).pipe(Le(n?400:100),ve(he))),me(e)).subscribe(([n,{offset:{y:r}}])=>{if(n)document.body.setAttribute("data-md-state","lock"),document.body.style.top=`-${r}px`;else{let o=-1*parseInt(document.body.style.top,10);document.body.removeAttribute("data-md-state"),document.body.style.top="",o&&window.scrollTo(0,o)}})}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var lt=Xn(),sr=ao(),Vr=po(),Dr=oo(),xe=xo(),cr=or("(min-width: 960px)"),hi=or("(min-width: 1220px)"),bi=or("(hover)"),vi=fo(),gi=de(),xi=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||Te(new URL("search/search_index.json",gi.base)):ge,Nr=new w;qo({alert$:Nr});ie("navigation.instant")&&Qo({document$:lt,location$:sr,viewport$:xe});var Si;((Si=gi.version)==null?void 0:Si.provider)==="mike"&&Xo();L(sr,Vr).pipe(Le(125)).subscribe(()=>{Pe("drawer",!1),Pe("search",!1)});Dr.pipe(M(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=ue("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let n=ue("[href][rel=next]");typeof n!="undefined"&&n.click();break}});fi({document$:lt,tablet$:cr});mi({document$:lt});di({viewport$:xe,tablet$:cr});var We=Uo(_e("header"),{viewport$:xe}),lr=lt.pipe(p(()=>_e("main")),O(e=>No(e,{viewport$:xe,header$:We})),G(1)),Pa=L(...re("dialog").map(e=>Wo(e,{alert$:Nr})),...re("header").map(e=>Vo(e,{viewport$:xe,header$:We,main$:lr})),...re("palette").map(e=>zo(e)),...re("search").map(e=>ni(e,{index$:xi,keyboard$:Dr})),...re("source").map(e=>ci(e))),Wa=j(()=>L(...re("content").map(e=>Po(e,{target$:Vr,hover$:bi,print$:vi})),...re("content").map(e=>ie("search.highlight")?oi(e,{index$:xi,location$:sr}):q),...re("header-title").map(e=>Do(e,{viewport$:xe,header$:We})),...re("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Fr(hi,()=>Ur(e,{viewport$:xe,header$:We,main$:lr})):Fr(cr,()=>Ur(e,{viewport$:xe,header$:We,main$:lr}))),...re("tabs").map(e=>li(e,{viewport$:xe,header$:We})),...re("toc").map(e=>ui(e,{viewport$:xe,header$:We})),...re("top").map(e=>pi(e,{viewport$:xe,header$:We,main$:lr})))),yi=lt.pipe(O(()=>Wa),ze(Pa),G(1));yi.subscribe();window.document$=lt;window.location$=sr;window.target$=Vr;window.keyboard$=Dr;window.viewport$=xe;window.tablet$=cr;window.screen$=hi;window.hover$=bi;window.print$=vi;window.alert$=Nr;window.component$=yi;})();
//# sourceMappingURL=bundle.054bf2ee.min.js.map