mkdocs-material/material/assets/javascripts/bundle.84d06bff.min.js

30 lines
85 KiB
JavaScript

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