You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
homepage/v0.5.5/assets/javascripts/bundle.65061dd4.min.js

4 lines
103 KiB

"use strict";(()=>{var Ci=Object.create;var Mr=Object.defineProperty;var ki=Object.getOwnPropertyDescriptor;var Hi=Object.getOwnPropertyNames,zt=Object.getOwnPropertySymbols,$i=Object.getPrototypeOf,Lr=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable;var so=(e,t,r)=>t in e?Mr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,W=(e,t)=>{for(var r in t||(t={}))Lr.call(t,r)&&so(e,r,t[r]);if(zt)for(var r of zt(t))co.call(t,r)&&so(e,r,t[r]);return e};var po=(e,t)=>{var r={};for(var o in e)Lr.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&zt)for(var o of zt(e))t.indexOf(o)<0&&co.call(e,o)&&(r[o]=e[o]);return r};var _r=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ri=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Hi(t))!Lr.call(e,n)&&n!==r&&Mr(e,n,{get:()=>t[n],enumerable:!(o=ki(t,n))||o.enumerable});return e};var qt=(e,t,r)=>(r=e!=null?Ci($i(e)):{},Ri(t||!e||!e.__esModule?Mr(r,"default",{value:e,enumerable:!0}):r,e));var mo=_r((Ar,lo)=>{(function(e,t){typeof Ar=="object"&&typeof lo!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(Ar,function(){"use strict";function e(r){var o=!0,n=!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(C){return!!(C&&C!==document&&C.nodeName!=="HTML"&&C.nodeName!=="BODY"&&"classList"in C&&"contains"in C.classList)}function p(C){var et=C.type,H=C.tagName;return!!(H==="INPUT"&&a[et]&&!C.readOnly||H==="TEXTAREA"&&!C.readOnly||C.isContentEditable)}function c(C){C.classList.contains("focus-visible")||(C.classList.add("focus-visible"),C.setAttribute("data-focus-visible-added",""))}function l(C){C.hasAttribute("data-focus-visible-added")&&(C.classList.remove("focus-visible"),C.removeAttribute("data-focus-visible-added"))}function f(C){C.metaKey||C.altKey||C.ctrlKey||(s(r.activeElement)&&c(r.activeElement),o=!0)}function u(C){o=!1}function h(C){s(C.target)&&(o||p(C.target))&&c(C.target)}function b(C){s(C.target)&&(C.target.classList.contains("focus-visible")||C.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(i),i=window.setTimeout(function(){n=!1},100),l(C.target))}function v(C){document.visibilityState==="hidden"&&(n&&(o=!0),K())}function K(){document.addEventListener("mousemove",J),document.addEventListener("mousedown",J),document.addEventListener("mouseup",J),document.addEventListener("pointermove",J),document.addEventListener("pointerdown",J),document.addEventListener("pointerup",J),document.addEventListener("touchmove",J),document.addEventListener("touchstart",J),document.addEventListener("touchend",J)}function re(){document.removeEventListener("mousemove",J),document.removeEventListener("mousedown",J),document.removeEventListener("mouseup",J),document.removeEventListener("pointermove",J),document.removeEventListener("pointerdown",J),document.removeEventListener("pointerup",J),document.removeEventListener("touchmove",J),document.removeEventListener("touchstart",J),document.removeEventListener("touchend",J)}function J(C){C.target.nodeName&&C.target.nodeName.toLowerCase()==="html"||(o=!1,re())}document.addEventListener("keydown",f,!0),document.addEventListener("mousedown",u,!0),document.addEventListener("pointerdown",u,!0),document.addEventListener("touchstart",u,!0),document.addEventListener("visibilitychange",v,!0),K(),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 eo=_r((jt,Zr)=>{(function(t,r){typeof jt=="object"&&typeof Zr=="object"?Zr.exports=r():typeof define=="function"&&define.amd?define([],r):typeof jt=="object"?jt.ClipboardJS=r():t.ClipboardJS=r()})(jt,function(){return function(){var e={686:function(o,n,i){"use strict";i.d(n,{default:function(){return Ai}});var a=i(279),s=i.n(a),p=i(370),c=i.n(p),l=i(817),f=i.n(l);function u(V){try{return document.execCommand(V)}catch(_){return!1}}var h=function(_){var L=f()(_);return u("cut"),L},b=h;function v(V){var _=document.documentElement.getAttribute("dir")==="rtl",L=document.createElement("textarea");L.style.fontSize="12pt",L.style.border="0",L.style.padding="0",L.style.margin="0",L.style.position="absolute",L.style[_?"right":"left"]="-9999px";var j=window.pageYOffset||document.documentElement.scrollTop;return L.style.top="".concat(j,"px"),L.setAttribute("readonly",""),L.value=V,L}var K=function(_,L){var j=v(_);L.container.appendChild(j);var N=f()(j);return u("copy"),j.remove(),N},re=function(_){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},j="";return typeof _=="string"?j=K(_,L):_ instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(_==null?void 0:_.type)?j=K(_.value,L):(j=f()(_),u("copy")),j},J=re;function C(V){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(L){return typeof L}:C=function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},C(V)}var et=function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=_.action,j=L===void 0?"copy":L,N=_.container,B=_.target,Ie=_.text;if(j!=="copy"&&j!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(B!==void 0)if(B&&C(B)==="object"&&B.nodeType===1){if(j==="copy"&&B.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(j==="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`)}else throw new Error('Invalid "target" value, use a valid Element');if(Ie)return J(Ie,{container:N});if(B)return j==="cut"?b(B):J(B,{container:N})},H=et;function Y(V){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Y=function(L){return typeof L}:Y=function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},Y(V)}function ce(V,_){if(!(V instanceof _))throw new TypeError("Cannot call a class as a function")}function ue(V,_){for(var L=0;L<_.length;L++){var j=_[L];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(V,j.key,j)}}function Te(V,_,L){return _&&ue(V.prototype,_),L&&ue(V,L),V}function Ye(V,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");V.prototype=Object.create(_&&_.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),_&&Sr(V,_)}function Sr(V,_){return Sr=Object.setPrototypeOf||function(j,N){return j.__proto__=N,j},Sr(V,_)}function Si(V){var _=Li();return function(){var j=Dt(V),N;if(_){var B=Dt(this).constructor;N=Reflect.construct(j,arguments,B)}else N=j.apply(this,arguments);return Oi(this,N)}}function Oi(V,_){return _&&(Y(_)==="object"||typeof _=="function")?_:Mi(V)}function Mi(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}function Li(){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(V){return!1}}function Dt(V){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(L){return L.__proto__||Object.getPrototypeOf(L)},Dt(V)}function Or(V,_){var L="data-clipboard-".concat(V);if(_.hasAttribute(L))return _.getAttribute(L)}var _i=function(V){Ye(L,V);var _=Si(L);function L(j,N){var B;return ce(this,L),B=_.call(this),B.resolveOptions(N),B.listenClick(j),B}return Te(L,[{key:"resolveOptions",value:function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof N.action=="function"?N.action:this.defaultAction,this.target=typeof N.target=="function"?N.target:this.defaultTarget,this.text=typeof N.text=="function"?N.text:this.defaultText,this.container=Y(N.container)==="object"?N.container:document.body}},{key:"listenClick",value:function(N){var B=this;this.listener=c()(N,"click",function(Ie){return B.onClick(Ie)})}},{key:"onClick",value:function(N){var B=N.delegateTarget||N.currentTarget,Ie=this.action(B)||"copy",Vt=H({action:Ie,container:this.container,target:this.target(B),text:this.text(B)});this.emit(Vt?"success":"error",{action:Ie,text:Vt,trigger:B,clearSelection:function(){B&&B.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(N){return Or("action",N)}},{key:"defaultTarget",value:function(N){var B=Or("target",N);if(B)return document.querySelector(B)}},{key:"defaultText",value:function(N){return Or("text",N)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(N){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return J(N,B)}},{key:"cut",value:function(N){return b(N)}},{key:"isSupported",value:function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],B=typeof N=="string"?[N]:N,Ie=!!document.queryCommandSupported;return B.forEach(function(Vt){Ie=Ie&&!!document.queryCommandSupported(Vt)}),Ie}}]),L}(s()),Ai=_i},828:function(o){var n=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,p){for(;s&&s.nodeType!==n;){if(typeof s.matches=="function"&&s.matches(p))return s;s=s.parentNode}}o.exports=a},438:function(o,n,i){var a=i(828);function s(l,f,u,h,b){var v=c.apply(this,arguments);return l.addEventListener(u,v,b),{destroy:function(){l.removeEventListener(u,v,b)}}}function p(l,f,u,h,b){return typeof l.addEventListener=="function"?s.apply(null,arguments):typeof u=="function"?s.bind(null,document).apply(null,arguments):(typeof l=="string"&&(l=document.querySelectorAll(l)),Array.prototype.map.call(l,function(v){return s(v,f,u,h,b)}))}function c(l,f,u,h){return function(b){b.delegateTarget=a(b.target,f),b.delegateTarget&&h.call(l,b)}}o.exports=p},879:function(o,n){n.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},n.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||n.node(i[0]))},n.string=function(i){return typeof i=="string"||i instanceof String},n.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(o,n,i){var a=i(879),s=i(438);function p(u,h,b){if(!u&&!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(u))return c(u,h,b);if(a.nodeList(u))return l(u,h,b);if(a.string(u))return f(u,h,b);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(u,h,b){return u.addEventListener(h,b),{destroy:function(){u.removeEventListener(h,b)}}}function l(u,h,b){return Array.prototype.forEach.call(u,function(v){v.addEventListener(h,b)}),{destroy:function(){Array.prototype.forEach.call(u,function(v){v.removeEventListener(h,b)})}}}function f(u,h,b){return s(document.body,u,h,b)}o.exports=p},817:function(o){function n(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 p=window.getSelection(),c=document.createRange();c.selectNodeContents(i),p.removeAllRanges(),p.addRange(c),a=p.toString()}return a}o.exports=n},279:function(o){function n(){}n.prototype={on:function(i,a,s){var p=this.e||(this.e={});return(p[i]||(p[i]=[])).push({fn:a,ctx:s}),this},once:function(i,a,s){var p=this;function c(){p.off(i,c),a.apply(s,arguments)}return c._=a,this.on(i,c,s)},emit:function(i){var a=[].slice.call(arguments,1),s=((this.e||(this.e={}))[i]||[]).slice(),p=0,c=s.length;for(p;p<c;p++)s[p].fn.apply(s[p].ctx,a);return this},off:function(i,a){var s=this.e||(this.e={}),p=s[i],c=[];if(p&&a)for(var l=0,f=p.length;l<f;l++)p[l].fn!==a&&p[l].fn._!==a&&c.push(p[l]);return c.length?s[i]=c:delete s[i],this}},o.exports=n,o.exports.TinyEmitter=n}},t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return e[o](n,n.exports,r),n.exports}return function(){r.n=function(o){var n=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(n,{a:n}),n}}(),function(){r.d=function(o,n){for(var i in n)r.o(n,i)&&!r.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:n[i]})}}(),function(){r.o=function(o,n){return Object.prototype.hasOwnProperty.call(o,n)}}(),r(686)}().default})});var Jn=_r((qw,Gn)=>{"use strict";var Da=/["'&<>]/;Gn.exports=Va;function Va(e){var t=""+e,r=Da.exec(t);if(!r)return t;var o,n="",i=0,a=0;for(i=r.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 39:o="&#39;";break;case 60:o="&lt;";break;case 62:o="&gt;";break;default:continue}a!==i&&(n+=t.substring(a,i)),a=i+1,n+=o}return a!==i?n+t.substring(a,i):n}});var OM=qt(mo());var Cr=function(e,t){return Cr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(r[n]=o[n])},Cr(e,t)};function me(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Cr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function fo(e,t,r,o){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(l){try{c(o.next(l))}catch(f){a(f)}}function p(l){try{c(o.throw(l))}catch(f){a(f)}}function c(l){l.done?i(l.value):n(l.value).then(s,p)}c((o=o.apply(e,t||[])).next())})}function Kt(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,n,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(c){return function(l){return p([c,l])}}function p(c){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,n&&(i=c[0]&2?n.return:c[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,c[1])).done)return i;switch(n=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,n=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){r.label=c[1];break}if(c[0]===6&&r.label<i[1]){r.label=i[1],i=c;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(c);break}i[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(l){c=[6,l],n=0}finally{o=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Se(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function q(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var o=r.call(e),n,i=[],a;try{for(;(t===void 0||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(s){a={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i}function Q(e,t,r){if(r||arguments.length===2)for(var o=0,n=t.length,i;o<n;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function ct(e){return this instanceof ct?(this.v=e,this):new ct(e)}function uo(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r.apply(e,t||[]),n,i=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(u){o[u]&&(n[u]=function(h){return new Promise(function(b,v){i.push([u,h,b,v])>1||s(u,h)})})}function s(u,h){try{p(o[u](h))}catch(b){f(i[0][3],b)}}function p(u){u.value instanceof ct?Promise.resolve(u.value.v).then(c,l):f(i[0][2],u)}function c(u){s("next",u)}function l(u){s("throw",u)}function f(u,h){u(h),i.shift(),i.length&&s(i[0][0],i[0][1])}}function ho(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Se=="function"?Se(e):e[Symbol.iterator](),r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r);function o(i){r[i]=e[i]&&function(a){return new Promise(function(s,p){a=e[i](a),n(s,p,a.done,a.value)})}}function n(i,a,s,p){Promise.resolve(p).then(function(c){i({value:c,done:s})},a)}}function k(e){return typeof e=="function"}function ut(e){var t=function(o){Error.call(o),o.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Qt=ut(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
`+r.map(function(o,n){return n+1+") "+o.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=r}});function Be(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var De=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,o,n,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=Se(a),p=s.next();!p.done;p=s.next()){var c=p.value;c.remove(this)}}catch(v){t={error:v}}finally{try{p&&!p.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else a.remove(this);var l=this.initialTeardown;if(k(l))try{l()}catch(v){i=v instanceof Qt?v.errors:[v]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var u=Se(f),h=u.next();!h.done;h=u.next()){var b=h.value;try{bo(b)}catch(v){i=i!=null?i:[],v instanceof Qt?i=Q(Q([],q(i)),q(v.errors)):i.push(v)}}}catch(v){o={error:v}}finally{try{h&&!h.done&&(n=u.return)&&n.call(u)}finally{if(o)throw o.error}}}if(i)throw new Qt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)bo(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==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)&&Be(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Be(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var kr=De.EMPTY;function Yt(e){return e instanceof De||e&&"closed"in e&&k(e.remove)&&k(e.add)&&k(e.unsubscribe)}function bo(e){k(e)?e():e.unsubscribe()}var Fe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var dt={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=dt.delegate;return n!=null&&n.setTimeout?n.setTimeout.apply(n,Q([e,t],q(r))):setTimeout.apply(void 0,Q([e,t],q(r)))},clearTimeout:function(e){var t=dt.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Bt(e){dt.setTimeout(function(){var t=Fe.onUnhandledError;if(t)t(e);else throw e})}function ye(){}var vo=function(){return Hr("C",void 0,void 0)}();function go(e){return Hr("E",void 0,e)}function xo(e){return Hr("N",e,void 0)}function Hr(e,t,r){return{kind:e,value:t,error:r}}var pt=null;function ht(e){if(Fe.useDeprecatedSynchronousErrorHandling){var t=!pt;if(t&&(pt={errorThrown:!1,error:null}),e(),t){var r=pt,o=r.errorThrown,n=r.error;if(pt=null,o)throw n}}else e()}function yo(e){Fe.useDeprecatedSynchronousErrorHandling&&pt&&(pt.errorThrown=!0,pt.error=e)}var _t=function(e){me(t,e);function t(r){var o=e.call(this)||this;return o.isStopped=!1,r?(o.destination=r,Yt(r)&&r.add(o)):o.destination=ji,o}return t.create=function(r,o,n){return new lt(r,o,n)},t.prototype.next=function(r){this.isStopped?Rr(xo(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?Rr(go(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?Rr(vo,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}(De);var Pi=Function.prototype.bind;function $r(e,t){return Pi.call(e,t)}var Ii=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(o){Gt(o)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(o){Gt(o)}else Gt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Gt(r)}},e}(),lt=function(e){me(t,e);function t(r,o,n){var i=e.call(this)||this,a;if(k(r)||!r)a={next:r!=null?r:void 0,error:o!=null?o:void 0,complete:n!=null?n:void 0};else{var s;i&&Fe.useDeprecatedNextContext?(s=Object.create(r),s.unsubscribe=function(){return i.unsubscribe()},a={next:r.next&&$r(r.next,s),error:r.error&&$r(r.error,s),complete:r.complete&&$r(r.complete,s)}):a=r}return i.destination=new Ii(a),i}return t}(_t);function Gt(e){Fe.useDeprecatedSynchronousErrorHandling?yo(e):Bt(e)}function Fi(e){throw e}function Rr(e,t){var r=Fe.onStoppedNotification;r&&dt.setTimeout(function(){return r(e,t)})}var ji={closed:!0,next:ye,error:Fi,complete:ye};var bt=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function he(e){return e}function Eo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Pr(e)}function Pr(e){return e.length===0?he:e.length===1?e[0]:function(r){return e.reduce(function(o,n){return n(o)},r)}}var z=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,o){var n=this,i=Ui(t)?t:new lt(t,r,o);return ht(function(){var a=n,s=a.operator,p=a.source;i.add(s?s.call(i,p):p?n._subscribe(i):n._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 o=this;return r=wo(r),new r(function(n,i){var a=new lt({next:function(s){try{t(s)}catch(p){i(p),a.unsubscribe()}},error:i,complete:n});o.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[bt]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Pr(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=wo(t),new t(function(o,n){var i;r.subscribe(function(a){return i=a},function(a){return n(a)},function(){return o(i)})})},e.create=function(t){return new e(t)},e}();function wo(e){var t;return(t=e!=null?e:Fe.Promise)!==null&&t!==void 0?t:Promise}function Wi(e){return e&&k(e.next)&&k(e.error)&&k(e.complete)}function Ui(e){return e&&e instanceof _t||Wi(e)&&Yt(e)}function Ni(e){return k(e==null?void 0:e.lift)}function g(e){return function(t){if(Ni(t))return t.lift(function(r){try{return e(r,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}function x(e,t,r,o,n){return new Di(e,t,r,o,n)}var Di=function(e){me(t,e);function t(r,o,n,i,a,s){var p=e.call(this,r)||this;return p.onFinalize=a,p.shouldUnsubscribe=s,p._next=o?function(c){try{o(c)}catch(l){r.error(l)}}:e.prototype._next,p._error=i?function(c){try{i(c)}catch(l){r.error(l)}finally{this.unsubscribe()}}:e.prototype._error,p._complete=n?function(){try{n()}catch(c){r.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,p}return t.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var o=this.closed;e.prototype.unsubscribe.call(this),!o&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},t}(_t);var vt={schedule:function(e){var t=requestAnimationFrame,r=cancelAnimationFrame,o=vt.delegate;o&&(t=o.requestAnimationFrame,r=o.cancelAnimationFrame);var n=t(function(i){r=void 0,e(i)});return new De(function(){return r==null?void 0:r(n)})},requestAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=vt.delegate;return((r==null?void 0:r.requestAnimationFrame)||requestAnimationFrame).apply(void 0,Q([],q(e)))},cancelAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=vt.delegate;return((r==null?void 0:r.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,Q([],q(e)))},delegate:void 0};var To=ut(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var M=function(e){me(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var o=new So(this,this);return o.operator=r,o},t.prototype._throwIfClosed=function(){if(this.closed)throw new To},t.prototype.next=function(r){var o=this;ht(function(){var n,i;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var a=Se(o.currentObservers),s=a.next();!s.done;s=a.next()){var p=s.value;p.next(r)}}catch(c){n={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}})},t.prototype.error=function(r){var o=this;ht(function(){if(o._throwIfClosed(),!o.isStopped){o.hasError=o.isStopped=!0,o.thrownError=r;for(var n=o.observers;n.length;)n.shift().error(r)}})},t.prototype.complete=function(){var r=this;ht(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var o=r.observers;o.length;)o.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=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 o=this,n=this,i=n.hasError,a=n.isStopped,s=n.observers;return i||a?kr:(this.currentObservers=null,s.push(r),new De(function(){o.currentObservers=null,Be(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var o=this,n=o.hasError,i=o.thrownError,a=o.isStopped;n?r.error(i):a&&r.complete()},t.prototype.asObservable=function(){var r=new z;return r.source=this,r},t.create=function(r,o){return new So(r,o)},t}(z);var So=function(e){me(t,e);function t(r,o){var n=e.call(this)||this;return n.destination=r,n.source=o,n}return t.prototype.next=function(r){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.next)===null||n===void 0||n.call(o,r)},t.prototype.error=function(r){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.error)===null||n===void 0||n.call(o,r)},t.prototype.complete=function(){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||o===void 0||o.call(r)},t.prototype._subscribe=function(r){var o,n;return(n=(o=this.source)===null||o===void 0?void 0:o.subscribe(r))!==null&&n!==void 0?n:kr},t}(M);var At={now:function(){return(At.delegate||Date).now()},delegate:void 0};var Ct=function(e){me(t,e);function t(r,o,n){r===void 0&&(r=1/0),o===void 0&&(o=1/0),n===void 0&&(n=At);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=o,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=o===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,o),i}return t.prototype.next=function(r){var o=this,n=o.isStopped,i=o._buffer,a=o._infiniteTimeWindow,s=o._timestampProvider,p=o._windowTime;n||(i.push(r),!a&&i.push(s.now()+p)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var o=this._innerSubscribe(r),n=this,i=n._infiniteTimeWindow,a=n._buffer,s=a.slice(),p=0;p<s.length&&!r.closed;p+=i?1:2)r.next(s[p]);return this._checkFinalizedStatuses(r),o},t.prototype._trimBuffer=function(){var r=this,o=r._bufferSize,n=r._timestampProvider,i=r._buffer,a=r._infiniteTimeWindow,s=(a?1:2)*o;if(o<1/0&&s<i.length&&i.splice(0,i.length-s),!a){for(var p=n.now(),c=0,l=1;l<i.length&&i[l]<=p;l+=2)c=l;c&&i.splice(0,c+1)}},t}(M);var Oo=function(e){me(t,e);function t(r,o){return e.call(this)||this}return t.prototype.schedule=function(r,o){return o===void 0&&(o=0),this},t}(De);var kt={setInterval:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=kt.delegate;return n!=null&&n.setInterval?n.setInterval.apply(n,Q([e,t],q(r))):setInterval.apply(void 0,Q([e,t],q(r)))},clearInterval:function(e){var t=kt.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var Jt=function(e){me(t,e);function t(r,o){var n=e.call(this,r,o)||this;return n.scheduler=r,n.work=o,n.pending=!1,n}return t.prototype.schedule=function(r,o){var n;if(o===void 0&&(o=0),this.closed)return this;this.state=r;var i=this.id,a=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(a,i,o)),this.pending=!0,this.delay=o,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(a,this.id,o),this},t.prototype.requestAsyncId=function(r,o,n){return n===void 0&&(n=0),kt.setInterval(r.flush.bind(r,this),n)},t.prototype.recycleAsyncId=function(r,o,n){if(n===void 0&&(n=0),n!=null&&this.delay===n&&this.pending===!1)return o;o!=null&&kt.clearInterval(o)},t.prototype.execute=function(r,o){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(r,o);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(r,o){var n=!1,i;try{this.work(r)}catch(a){n=!0,i=a||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var r=this,o=r.id,n=r.scheduler,i=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Be(i,this),o!=null&&(this.id=this.recycleAsyncId(n,o,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Oo);var Ir=function(){function e(t,r){r===void 0&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(t,r,o){return r===void 0&&(r=0),new this.schedulerActionCtor(this,t).schedule(o,r)},e.now=At.now,e}();var Xt=function(e){me(t,e);function t(r,o){o===void 0&&(o=Ir.now);var n=e.call(this,r,o)||this;return n.actions=[],n._active=!1,n}return t.prototype.flush=function(r){var o=this.actions;if(this._active){o.push(r);return}var n;this._active=!0;do if(n=r.execute(r.state,r.delay))break;while(r=o.shift());if(this._active=!1,n){for(;r=o.shift();)r.unsubscribe();throw n}},t}(Ir);var ae=new Xt(Jt),Fr=ae;var Mo=function(e){me(t,e);function t(r,o){var n=e.call(this,r,o)||this;return n.scheduler=r,n.work=o,n}return t.prototype.requestAsyncId=function(r,o,n){return n===void 0&&(n=0),n!==null&&n>0?e.prototype.requestAsyncId.call(this,r,o,n):(r.actions.push(this),r._scheduled||(r._scheduled=vt.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,o,n){var i;if(n===void 0&&(n=0),n!=null?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,o,n);var a=r.actions;o!=null&&((i=a[a.length-1])===null||i===void 0?void 0:i.id)!==o&&(vt.cancelAnimationFrame(o),r._scheduled=void 0)},t}(Jt);var Lo=function(e){me(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this._active=!0;var o=this._scheduled;this._scheduled=void 0;var n=this.actions,i;r=r||n.shift();do if(i=r.execute(r.state,r.delay))break;while((r=n[0])&&r.id===o&&n.shift());if(this._active=!1,i){for(;(r=n[0])&&r.id===o&&n.shift();)r.unsubscribe();throw i}},t}(Xt);var Oe=new Lo(Mo);var S=new z(function(e){return e.complete()});function Zt(e){return e&&k(e.schedule)}function jr(e){return e[e.length-1]}function tt(e){return k(jr(e))?e.pop():void 0}function Re(e){return Zt(jr(e))?e.pop():void 0}function er(e,t){return typeof jr(e)=="number"?e.pop():t}var gt=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function tr(e){return k(e==null?void 0:e.then)}function rr(e){return k(e[bt])}function or(e){return Symbol.asyncIterator&&k(e==null?void 0:e[Symbol.asyncIterator])}function nr(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 Vi(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ir=Vi();function ar(e){return k(e==null?void 0:e[ir])}function sr(e){return uo(this,arguments,function(){var r,o,n,i;return Kt(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,ct(r.read())];case 3:return o=a.sent(),n=o.value,i=o.done,i?[4,ct(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,ct(n)];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 cr(e){return k(e==null?void 0:e.getReader)}function R(e){if(e instanceof z)return e;if(e!=null){if(rr(e))return zi(e);if(gt(e))return qi(e);if(tr(e))return Ki(e);if(or(e))return _o(e);if(ar(e))return Qi(e);if(cr(e))return Yi(e)}throw nr(e)}function zi(e){return new z(function(t){var r=e[bt]();if(k(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function qi(e){return new z(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function Ki(e){return new z(function(t){e.then(function(r){t.closed||(t.next(r),t.complete())},function(r){return t.error(r)}).then(null,Bt)})}function Qi(e){return new z(function(t){var r,o;try{for(var n=Se(e),i=n.next();!i.done;i=n.next()){var a=i.value;if(t.next(a),t.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=n.return)&&o.call(n)}finally{if(r)throw r.error}}t.complete()})}function _o(e){return new z(function(t){Bi(e,t).catch(function(r){return t.error(r)})})}function Yi(e){return _o(sr(e))}function Bi(e,t){var r,o,n,i;return fo(this,void 0,void 0,function(){var a,s;return Kt(this,function(p){switch(p.label){case 0:p.trys.push([0,5,6,11]),r=ho(e),p.label=1;case 1:return[4,r.next()];case 2:if(o=p.sent(),!!o.done)return[3,4];if(a=o.value,t.next(a),t.closed)return[2];p.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=p.sent(),n={error:s},[3,11];case 6:return p.trys.push([6,,9,10]),o&&!o.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:p.sent(),p.label=8;case 8:return[3,10];case 9:if(n)throw n.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function Ae(e,t,r,o,n){o===void 0&&(o=0),n===void 0&&(n=!1);var i=t.schedule(function(){r(),n?e.add(this.schedule(null,o)):this.unsubscribe()},o);if(e.add(i),!n)return i}function Me(e,t){return t===void 0&&(t=0),g(function(r,o){r.subscribe(x(o,function(n){return Ae(o,e,function(){return o.next(n)},t)},function(){return Ae(o,e,function(){return o.complete()},t)},function(n){return Ae(o,e,function(){return o.error(n)},t)}))})}function Ge(e,t){return t===void 0&&(t=0),g(function(r,o){o.add(e.schedule(function(){return r.subscribe(o)},t))})}function Ao(e,t){return R(e).pipe(Ge(t),Me(t))}function Co(e,t){return R(e).pipe(Ge(t),Me(t))}function ko(e,t){return new z(function(r){var o=0;return t.schedule(function(){o===e.length?r.complete():(r.next(e[o++]),r.closed||this.schedule())})})}function Ho(e,t){return new z(function(r){var o;return Ae(r,t,function(){o=e[ir](),Ae(r,t,function(){var n,i,a;try{n=o.next(),i=n.value,a=n.done}catch(s){r.error(s);return}a?r.complete():r.next(i)},0,!0)}),function(){return k(o==null?void 0:o.return)&&o.return()}})}function pr(e,t){if(!e)throw new Error("Iterable cannot be null");return new z(function(r){Ae(r,t,function(){var o=e[Symbol.asyncIterator]();Ae(r,t,function(){o.next().then(function(n){n.done?r.complete():r.next(n.value)})},0,!0)})})}function $o(e,t){return pr(sr(e),t)}function Ro(e,t){if(e!=null){if(rr(e))return Ao(e,t);if(gt(e))return ko(e,t);if(tr(e))return Co(e,t);if(or(e))return pr(e,t);if(ar(e))return Ho(e,t);if(cr(e))return $o(e,t)}throw nr(e)}function pe(e,t){return t?Ro(e,t):R(e)}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Re(e);return pe(e,r)}function Ht(e,t){var r=k(e)?e:function(){return e},o=function(n){return n.error(r())};return new z(t?function(n){return t.schedule(o,0,n)}:o)}var lr=ut(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function Po(e){return e instanceof Date&&!isNaN(e)}function m(e,t){return g(function(r,o){var n=0;r.subscribe(x(o,function(i){o.next(e.call(t,i,n++))}))})}var Gi=Array.isArray;function Ji(e,t){return Gi(t)?e.apply(void 0,Q([],q(t))):e(t)}function rt(e){return m(function(t){return Ji(e,t)})}var Xi=Array.isArray,Zi=Object.getPrototypeOf,ea=Object.prototype,ta=Object.keys;function Io(e){if(e.length===1){var t=e[0];if(Xi(t))return{args:t,keys:null};if(ra(t)){var r=ta(t);return{args:r.map(function(o){return t[o]}),keys:r}}}return{args:e,keys:null}}function ra(e){return e&&typeof e=="object"&&Zi(e)===ea}function Fo(e,t){return e.reduce(function(r,o,n){return r[o]=t[n],r},{})}function X(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Re(e),o=tt(e),n=Io(e),i=n.args,a=n.keys;if(i.length===0)return pe([],r);var s=new z(Wr(i,r,a?function(p){return Fo(a,p)}:he));return o?s.pipe(rt(o)):s}function Wr(e,t,r){return r===void 0&&(r=he),function(o){jo(t,function(){for(var n=e.length,i=new Array(n),a=n,s=n,p=function(l){jo(t,function(){var f=pe(e[l],t),u=!1;f.subscribe(x(o,function(h){i[l]=h,u||(u=!0,s--),s||o.next(r(i.slice()))},function(){--a||o.complete()}))},o)},c=0;c<n;c++)p(c)},o)}}function jo(e,t,r){e?Ae(r,e,t):t()}function Wo(e,t,r,o,n,i,a,s){var p=[],c=0,l=0,f=!1,u=function(){f&&!p.length&&!c&&t.complete()},h=function(v){return c<o?b(v):p.push(v)},b=function(v){i&&t.next(v),c++;var K=!1;R(r(v,l++)).subscribe(x(t,function(re){n==null||n(re),i?h(re):t.next(re)},function(){K=!0},void 0,function(){if(K)try{c--;for(var re=function(){var J=p.shift();a?Ae(t,a,function(){return b(J)}):b(J)};p.length&&c<o;)re();u()}catch(J){t.error(J)}}))};return e.subscribe(x(t,h,function(){f=!0,u()})),function(){s==null||s()}}function te(e,t,r){return r===void 0&&(r=1/0),k(t)?te(function(o,n){return m(function(i,a){return t(o,i,n,a)})(R(e(o,n)))},r):(typeof t=="number"&&(r=t),g(function(o,n){return Wo(o,n,e,r)}))}function xt(e){return e===void 0&&(e=1/0),te(he,e)}function Uo(){return xt(1)}function Ve(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Uo()(pe(e,Re(e)))}function P(e){return new z(function(t){R(e()).subscribe(t)})}var oa=["addListener","removeListener"],na=["addEventListener","removeEventListener"],ia=["on","off"];function d(e,t,r,o){if(k(r)&&(o=r,r=void 0),o)return d(e,t,r).pipe(rt(o));var n=q(ca(e)?na.map(function(s){return function(p){return e[s](t,p,r)}}):aa(e)?oa.map(No(e,t)):sa(e)?ia.map(No(e,t)):[],2),i=n[0],a=n[1];if(!i&&gt(e))return te(function(s){return d(s,t,r)})(R(e));if(!i)throw new TypeError("Invalid event target");return new z(function(s){var p=function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];return s.next(1<c.length?c:c[0])};return i(p),function(){return a(p)}})}function No(e,t){return function(r){return function(o){return e[r](t,o)}}}function aa(e){return k(e.addListener)&&k(e.removeListener)}function sa(e){return k(e.on)&&k(e.off)}function ca(e){return k(e.addEventListener)&&k(e.removeEventListener)}function mr(e,t,r){return r?mr(e,t).pipe(rt(r)):new z(function(o){var n=function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o.next(a.length===1?a[0]:a)},i=e(n);return k(t)?function(){return t(n,i)}:void 0})}function ot(e,t,r){e===void 0&&(e=0),r===void 0&&(r=Fr);var o=-1;return t!=null&&(Zt(t)?r=t:o=t),new z(function(n){var i=Po(e)?+e-r.now():e;i<0&&(i=0);var a=0;return r.schedule(function(){n.closed||(n.next(a++),0<=o?this.schedule(void 0,o):n.complete())},i)})}function w(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Re(e),o=er(e,1/0),n=e;return n.length?n.length===1?R(n[0]):xt(o)(pe(n,r)):S}var Je=new z(ye);var pa=Array.isArray;function yt(e){return e.length===1&&pa(e[0])?e[0]:e}function y(e,t){return g(function(r,o){var n=0;r.subscribe(x(o,function(i){return e.call(t,i,n++)&&o.next(i)}))})}function $t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=tt(e),o=yt(e);return o.length?new z(function(n){var i=o.map(function(){return[]}),a=o.map(function(){return!1});n.add(function(){i=a=null});for(var s=function(c){R(o[c]).subscribe(x(n,function(l){if(i[c].push(l),i.every(function(u){return u.length})){var f=i.map(function(u){return u.shift()});n.next(r?r.apply(void 0,Q([],q(f))):f),i.some(function(u,h){return!u.length&&a[h]})&&n.complete()}},function(){a[c]=!0,!i[c].length&&n.complete()}))},p=0;!n.closed&&p<o.length;p++)s(p);return function(){i=a=null}}):S}function Do(e){return g(function(t,r){var o=!1,n=null,i=null,a=!1,s=function(){if(i==null||i.unsubscribe(),i=null,o){o=!1;var c=n;n=null,r.next(c)}a&&r.complete()},p=function(){i=null,a&&r.complete()};t.subscribe(x(r,function(c){o=!0,n=c,i||R(e(c)).subscribe(i=x(r,s,p))},function(){a=!0,(!o||!i||i.closed)&&r.complete()}))})}function He(e,t){return t===void 0&&(t=ae),Do(function(){return ot(e,t)})}function Pe(e,t){return t===void 0&&(t=null),t=t!=null?t:e,g(function(r,o){var n=[],i=0;r.subscribe(x(o,function(a){var s,p,c,l,f=null;i++%t===0&&n.push([]);try{for(var u=Se(n),h=u.next();!h.done;h=u.next()){var b=h.value;b.push(a),e<=b.length&&(f=f!=null?f:[],f.push(b))}}catch(re){s={error:re}}finally{try{h&&!h.done&&(p=u.return)&&p.call(u)}finally{if(s)throw s.error}}if(f)try{for(var v=Se(f),K=v.next();!K.done;K=v.next()){var b=K.value;Be(n,b),o.next(b)}}catch(re){c={error:re}}finally{try{K&&!K.done&&(l=v.return)&&l.call(v)}finally{if(c)throw c.error}}},function(){var a,s;try{for(var p=Se(n),c=p.next();!c.done;c=p.next()){var l=c.value;o.next(l)}}catch(f){a={error:f}}finally{try{c&&!c.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}o.complete()},void 0,function(){n=null}))})}function Ee(e){return g(function(t,r){var o=null,n=!1,i;o=t.subscribe(x(r,void 0,void 0,function(a){i=R(e(a,Ee(e)(t))),o?(o.unsubscribe(),o=null,i.subscribe(r)):n=!0})),n&&(o.unsubscribe(),o=null,i.subscribe(r))})}function Vo(e,t,r,o,n){return function(i,a){var s=r,p=t,c=0;i.subscribe(x(a,function(l){var f=c++;p=s?e(p,l,f):(s=!0,l),o&&a.next(p)},n&&function(){s&&a.next(p),a.complete()}))}}function Ur(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=tt(e);return r?Eo(Ur.apply(void 0,Q([],q(e))),rt(r)):g(function(o,n){Wr(Q([o],q(yt(e))))(n)})}function nt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ur.apply(void 0,Q([],q(e)))}function we(e,t){return t===void 0&&(t=ae),g(function(r,o){var n=null,i=null,a=null,s=function(){if(n){n.unsubscribe(),n=null;var c=i;i=null,o.next(c)}};function p(){var c=a+e,l=t.now();if(l<c){n=this.schedule(void 0,c-l),o.add(n);return}s()}r.subscribe(x(o,function(c){i=c,a=t.now(),n||(n=t.schedule(p,e),o.add(n))},function(){s(),o.complete()},void 0,function(){i=n=null}))})}function je(e){return g(function(t,r){var o=!1;t.subscribe(x(r,function(n){o=!0,r.next(n)},function(){o||r.next(e),r.complete()}))})}function be(e){return e<=0?function(){return S}:g(function(t,r){var o=0;t.subscribe(x(r,function(n){++o<=e&&(r.next(n),e<=o&&r.complete())}))})}function oe(){return g(function(e,t){e.subscribe(x(t,ye))})}function zo(e){return m(function(){return e})}function Nr(e,t){return t?function(r){return Ve(t.pipe(be(1),oe()),r.pipe(Nr(e)))}:te(function(r,o){return R(e(r,o)).pipe(be(1),zo(r))})}function Xe(e,t){t===void 0&&(t=ae);var r=ot(e,t);return Nr(function(){return r})}function Dr(e,t){return g(function(r,o){var n=new Set;r.subscribe(x(o,function(i){var a=e?e(i):i;n.has(a)||(n.add(a),o.next(i))})),t&&R(t).subscribe(x(o,function(){return n.clear()},ye))})}function ee(e,t){return t===void 0&&(t=he),e=e!=null?e:la,g(function(r,o){var n,i=!0;r.subscribe(x(o,function(a){var s=t(a);(i||!e(n,s))&&(i=!1,n=s,o.next(a))}))})}function la(e,t){return e===t}function ne(e,t){return ee(function(r,o){return t?t(r[e],o[e]):r[e]===o[e]})}function qo(e){return e===void 0&&(e=ma),g(function(t,r){var o=!1;t.subscribe(x(r,function(n){o=!0,r.next(n)},function(){return o?r.complete():r.error(e())}))})}function ma(){return new lr}function se(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(r){return Ve(r,I.apply(void 0,Q([],q(e))))}}function fr(e,t){return t?function(r){return r.pipe(fr(function(o,n){return R(e(o,n)).pipe(m(function(i,a){return t(o,i,n,a)}))}))}:g(function(r,o){var n=0,i=null,a=!1;r.subscribe(x(o,function(s){i||(i=x(o,void 0,function(){i=null,a&&o.complete()}),R(e(s,n++)).subscribe(i))},function(){a=!0,!i&&o.complete()}))})}function A(e){return g(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}function We(e,t){var r=arguments.length>=2;return function(o){return o.pipe(e?y(function(n,i){return e(n,i,o)}):he,be(1),r?je(t):qo(function(){return new lr}))}}function Vr(e){return e<=0?function(){return S}:g(function(t,r){var o=[];t.subscribe(x(r,function(n){o.push(n),e<o.length&&o.shift()},function(){var n,i;try{for(var a=Se(o),s=a.next();!s.done;s=a.next()){var p=s.value;r.next(p)}}catch(c){n={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}r.complete()},void 0,function(){o=null}))})}function Ko(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Re(e),o=er(e,1/0);return e=yt(e),g(function(n,i){xt(o)(pe(Q([n],q(e)),r)).subscribe(i)})}function Ue(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ko.apply(void 0,Q([],q(e)))}function mt(e){var t,r=1/0,o;return e!=null&&(typeof e=="object"?(t=e.count,r=t===void 0?1/0:t,o=e.delay):r=e),r<=0?function(){return S}:g(function(n,i){var a=0,s,p=function(){if(s==null||s.unsubscribe(),s=null,o!=null){var l=typeof o=="number"?ot(o):R(o(a)),f=x(i,function(){f.unsubscribe(),c()});l.subscribe(f)}else c()},c=function(){var l=!1;s=n.subscribe(x(i,void 0,function(){++a<r?s?p():l=!0:i.complete()})),l&&p()};c()})}function zr(e){return g(function(t,r){var o=!1,n=null;t.subscribe(x(r,function(i){o=!0,n=i})),R(e).subscribe(x(r,function(){if(o){o=!1;var i=n;n=null,r.next(i)}},ye))})}function Rt(e,t){return g(Vo(e,t,arguments.length>=2,!0))}function ve(e){e===void 0&&(e={});var t=e.connector,r=t===void 0?function(){return new M}:t,o=e.resetOnError,n=o===void 0?!0:o,i=e.resetOnComplete,a=i===void 0?!0:i,s=e.resetOnRefCountZero,p=s===void 0?!0:s;return function(c){var l,f,u,h=0,b=!1,v=!1,K=function(){f==null||f.unsubscribe(),f=void 0},re=function(){K(),l=u=void 0,b=v=!1},J=function(){var C=l;re(),C==null||C.unsubscribe()};return g(function(C,et){h++,!v&&!b&&K();var H=u=u!=null?u:r();et.add(function(){h--,h===0&&!v&&!b&&(f=qr(J,p))}),H.subscribe(et),!l&&h>0&&(l=new lt({next:function(Y){return H.next(Y)},error:function(Y){v=!0,K(),f=qr(re,n,Y),H.error(Y)},complete:function(){b=!0,K(),f=qr(re,a),H.complete()}}),R(C).subscribe(l))})(c)}}function qr(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];if(t===!0){e();return}if(t!==!1){var n=new lt({next:function(){n.unsubscribe(),e()}});return R(t.apply(void 0,Q([],q(r)))).subscribe(n)}}function Z(e,t,r){var o,n,i,a,s=!1;return e&&typeof e=="object"?(o=e.bufferSize,a=o===void 0?1/0:o,n=e.windowTime,t=n===void 0?1/0:n,i=e.refCount,s=i===void 0?!1:i,r=e.scheduler):a=e!=null?e:1/0,ve({connector:function(){return new Ct(a,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}function Le(e){return y(function(t,r){return e<=r})}function Kr(e){return g(function(t,r){var o=!1,n=x(r,function(){n==null||n.unsubscribe(),o=!0},ye);R(e).subscribe(n),t.subscribe(x(r,function(i){return o&&r.next(i)}))})}function D(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Re(e);return g(function(o,n){(r?Ve(e,o,r):Ve(e,o)).subscribe(n)})}function E(e,t){return g(function(r,o){var n=null,i=0,a=!1,s=function(){return a&&!n&&o.complete()};r.subscribe(x(o,function(p){n==null||n.unsubscribe();var c=0,l=i++;R(e(p,l)).subscribe(n=x(o,function(f){return o.next(t?t(p,f,l,c++):f)},function(){n=null,s()}))},function(){a=!0,s()}))})}function U(e){return g(function(t,r){R(e).subscribe(x(r,function(){return r.complete()},ye)),!r.closed&&t.subscribe(r)})}function Qr(e,t){return t===void 0&&(t=!1),g(function(r,o){var n=0;r.subscribe(x(o,function(i){var a=e(i,n++);(a||t)&&o.next(i),!a&&o.complete()}))})}function O(e,t,r){var o=k(e)||t||r?{next:e,error:t,complete:r}:e;return o?g(function(n,i){var a;(a=o.subscribe)===null||a===void 0||a.call(o);var s=!0;n.subscribe(x(i,function(p){var c;(c=o.next)===null||c===void 0||c.call(o,p),i.next(p)},function(){var p;s=!1,(p=o.complete)===null||p===void 0||p.call(o),i.complete()},function(p){var c;s=!1,(c=o.error)===null||c===void 0||c.call(o,p),i.error(p)},function(){var p,c;s&&((p=o.unsubscribe)===null||p===void 0||p.call(o)),(c=o.finalize)===null||c===void 0||c.call(o)}))}):he}function Qo(e,t){return g(function(r,o){var n=t!=null?t:{},i=n.leading,a=i===void 0?!0:i,s=n.trailing,p=s===void 0?!1:s,c=!1,l=null,f=null,u=!1,h=function(){f==null||f.unsubscribe(),f=null,p&&(K(),u&&o.complete())},b=function(){f=null,u&&o.complete()},v=function(re){return f=R(e(re)).subscribe(x(o,h,b))},K=function(){if(c){c=!1;var re=l;l=null,o.next(re),!u&&v(re)}};r.subscribe(x(o,function(re){c=!0,l=re,!(f&&!f.closed)&&(a?K():v(re))},function(){u=!0,!(p&&c&&f&&!f.closed)&&o.complete()}))})}function Pt(e,t,r){t===void 0&&(t=ae);var o=ot(e,t);return Qo(function(){return o},r)}function ie(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=tt(e);return g(function(o,n){for(var i=e.length,a=new Array(i),s=e.map(function(){return!1}),p=!1,c=function(f){R(e[f]).subscribe(x(n,function(u){a[f]=u,!p&&!s[f]&&(s[f]=!0,(p=s.every(he))&&(s=null))},ye))},l=0;l<i;l++)c(l);o.subscribe(x(n,function(f){if(p){var u=Q([f],q(a));n.next(r?r.apply(void 0,Q([],q(u))):u)}}))})}function Yo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return g(function(r,o){$t.apply(void 0,Q([r],q(e))).subscribe(o)})}function Yr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Yo.apply(void 0,Q([],q(e)))}function Bo(){let e=new Ct(1);return d(document,"DOMContentLoaded",{once:!0}).subscribe(()=>e.next(document)),e}function $(e,t=document){return Array.from(t.querySelectorAll(e))}function F(e,t=document){let r=fe(e,t);if(typeof r=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return r}function fe(e,t=document){return t.querySelector(e)||void 0}function Ne(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}var fa=w(d(document.body,"focusin"),d(document.body,"focusout")).pipe(we(1),D(void 0),m(()=>Ne()||document.body),Z(1));function Et(e){return fa.pipe(m(t=>e.contains(t)),ee())}function ur(e,t){return w(d(e,"mouseenter").pipe(m(()=>!0)),d(e,"mouseleave").pipe(m(()=>!1))).pipe(t?we(t):he,D(!1))}function ze(e){return{x:e.offsetLeft,y:e.offsetTop}}function Go(e){return w(d(window,"load"),d(window,"resize")).pipe(He(0,Oe),m(()=>ze(e)),D(ze(e)))}function dr(e){return{x:e.scrollLeft,y:e.scrollTop}}function it(e){return w(d(e,"scroll"),d(window,"resize")).pipe(He(0,Oe),m(()=>dr(e)),D(dr(e)))}function Jo(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)Jo(e,r)}function T(e,t,...r){let o=document.createElement(e);if(t)for(let n of Object.keys(t))typeof t[n]!="undefined"&&(typeof t[n]!="boolean"?o.setAttribute(n,t[n]):o.setAttribute(n,""));for(let n of r)Jo(o,n);return o}function hr(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function wt(e){let t=T("script",{src:e});return P(()=>(document.head.appendChild(t),w(d(t,"load"),d(t,"error").pipe(E(()=>Ht(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(m(()=>{}),A(()=>document.head.removeChild(t)),be(1))))}var Xo=new M,ua=P(()=>typeof ResizeObserver=="undefined"?wt("https://unpkg.com/resize-observer-polyfill/dist/ResizeObserver.js"):I(void 0)).pipe(m(()=>new ResizeObserver(e=>{for(let t of e)Xo.next(t)})),E(e=>w(Je,I(e)).pipe(A(()=>e.disconnect()))),Z(1));function ge(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Ce(e){return ua.pipe(O(t=>t.observe(e)),E(t=>Xo.pipe(y(({target:r})=>r===e),A(()=>t.unobserve(e)),m(()=>ge(e)))),D(ge(e)))}function Tt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function St(e){let t=e.parentElement;for(;t&&(e.scrollWidth<=t.scrollWidth&&e.scrollHeight<=t.scrollHeight);)t=(e=t).parentElement;return t?e:void 0}var Zo=new M,da=P(()=>I(new IntersectionObserver(e=>{for(let t of e)Zo.next(t)},{threshold:0}))).pipe(E(e=>w(Je,I(e)).pipe(A(()=>e.disconnect()))),Z(1));function Ot(e){return da.pipe(O(t=>t.observe(e)),E(t=>Zo.pipe(y(({target:r})=>r===e),A(()=>t.unobserve(e)),m(({isIntersecting:r})=>r))))}function en(e,t=16){return it(e).pipe(m(({y:r})=>{let o=ge(e),n=Tt(e);return r>=n.height-o.height-t}),ee())}var br={drawer:F("[data-md-toggle=drawer]"),search:F("[data-md-toggle=search]")};function tn(e){return br[e].checked}function Ze(e,t){br[e].checked!==t&&br[e].click()}function qe(e){let t=br[e];return d(t,"change").pipe(m(()=>t.checked),D(t.checked))}function ha(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 ba(){return w(d(window,"compositionstart").pipe(m(()=>!0)),d(window,"compositionend").pipe(m(()=>!1))).pipe(D(!1))}function rn(){let e=d(window,"keydown").pipe(y(t=>!(t.metaKey||t.ctrlKey)),m(t=>({mode:tn("search")?"search":"global",type:t.key,claim(){t.preventDefault(),t.stopPropagation()}})),y(({mode:t,type:r})=>{if(t==="global"){let o=Ne();if(typeof o!="undefined")return!ha(o,r)}return!0}),ve());return ba().pipe(E(t=>t?S:e))}function de(){return new URL(location.href)}function ft(e,t=!1){if(G("navigation.instant")&&!t){let r=T("a",{href:e.href});document.body.appendChild(r),r.click(),r.remove()}else location.href=e.href}function on(){return new M}function nn(){return location.hash.slice(1)}function vr(e){let t=T("a",{href:e});t.addEventListener("click",r=>r.stopPropagation()),t.click()}function Br(e){return w(d(window,"hashchange"),e).pipe(m(nn),D(nn()),y(t=>t.length>0),Z(1))}function an(e){return Br(e).pipe(m(t=>fe(`[id="${t}"]`)),y(t=>typeof t!="undefined"))}function It(e){let t=matchMedia(e);return mr(r=>t.addListener(()=>r(t.matches))).pipe(D(t.matches))}function sn(){let e=matchMedia("print");return w(d(window,"beforeprint").pipe(m(()=>!0)),d(window,"afterprint").pipe(m(()=>!1))).pipe(D(e.matches))}function Gr(e,t){return e.pipe(E(r=>r?t():S))}function gr(e,t={credentials:"same-origin"}){return pe(fetch(`${e}`,t)).pipe(Ee(()=>S),E(r=>r.status!==200?Ht(()=>new Error(r.statusText)):I(r)))}function Ke(e,t){return gr(e,t).pipe(E(r=>r.json()),Z(1))}function cn(e,t){let r=new DOMParser;return gr(e,t).pipe(E(o=>o.text()),m(o=>r.parseFromString(o,"text/xml")),Z(1))}function pn(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function ln(){return w(d(window,"scroll",{passive:!0}),d(window,"resize",{passive:!0})).pipe(m(pn),D(pn()))}function mn(){return{width:innerWidth,height:innerHeight}}function fn(){return d(window,"resize",{passive:!0}).pipe(m(mn),D(mn()))}function un(){return X([ln(),fn()]).pipe(m(([e,t])=>({offset:e,size:t})),Z(1))}function xr(e,{viewport$:t,header$:r}){let o=t.pipe(ne("size")),n=X([o,r]).pipe(m(()=>ze(e)));return X([r,t,n]).pipe(m(([{height:i},{offset:a,size:s},{x:p,y:c}])=>({offset:{x:a.x-p,y:a.y-c+i},size:s})))}function va(e){return d(e,"message",t=>t.data)}function ga(e){let t=new M;return t.subscribe(r=>e.postMessage(r)),t}function dn(e,t=new Worker(e)){let r=va(t),o=ga(t),n=new M;n.subscribe(o);let i=o.pipe(oe(),se(!0));return n.pipe(oe(),Ue(r.pipe(U(i))),ve())}var xa=F("#__config"),Mt=JSON.parse(xa.textContent);Mt.base=`${new URL(Mt.base,de())}`;function xe(){return Mt}function G(e){return Mt.features.includes(e)}function _e(e,t){return typeof t!="undefined"?Mt.translations[e].replace("#",t.toString()):Mt.translations[e]}function ke(e,t=document){return F(`[data-md-component=${e}]`,t)}function le(e,t=document){return $(`[data-md-component=${e}]`,t)}function ya(e){let t=F(".md-typeset > :first-child",e);return d(t,"click",{once:!0}).pipe(m(()=>F(".md-typeset",e)),m(r=>({hash:__md_hash(r.innerHTML)})))}function hn(e){if(!G("announce.dismiss")||!e.childElementCount)return S;if(!e.hidden){let t=F(".md-typeset",e);__md_hash(t.innerHTML)===__md_get("__announce")&&(e.hidden=!0)}return P(()=>{let t=new M;return t.subscribe(({hash:r})=>{e.hidden=!0,__md_set("__announce",r)}),ya(e).pipe(O(r=>t.next(r)),A(()=>t.complete()),m(r=>W({ref:e},r)))})}function Ea(e,{target$:t}){return t.pipe(m(r=>({hidden:r!==e})))}function bn(e,t){let r=new M;return r.subscribe(({hidden:o})=>{e.hidden=o}),Ea(e,t).pipe(O(o=>r.next(o)),A(()=>r.complete()),m(o=>W({ref:e},o)))}function Ft(e,t){return t==="inline"?T("div",{class:"md-tooltip md-tooltip--inline",id:e,role:"tooltip"},T("div",{class:"md-tooltip__inner md-typeset"})):T("div",{class:"md-tooltip",id:e,role:"tooltip"},T("div",{class:"md-tooltip__inner md-typeset"}))}function vn(e,t){if(t=t?`${t}_annotation_${e}`:void 0,t){let r=t?`#${t}`:void 0;return T("aside",{class:"md-annotation",tabIndex:0},Ft(t),T("a",{href:r,class:"md-annotation__index",tabIndex:-1},T("span",{"data-md-annotation-id":e})))}else return T("aside",{class:"md-annotation",tabIndex:0},Ft(t),T("span",{class:"md-annotation__index",tabIndex:-1},T("span",{"data-md-annotation-id":e})))}function gn(e){return T("button",{class:"md-code__button",title:_e("clipboard.copy"),"data-clipboard-target":`#${e} > code`,"data-md-type":"copy"})}function xn(){return T("button",{class:"md-code__button",title:"Toggle line selection","data-md-type":"select"})}function yn(){return T("nav",{class:"md-code__nav"})}function Jr(e,t){let r=t&2,o=t&1,n=Object.keys(e.terms).filter(p=>!e.terms[p]).reduce((p,c)=>[...p,T("del",null,c)," "],[]).slice(0,-1),i=xe(),a=new URL(e.location,i.base);G("search.highlight")&&a.searchParams.set("h",Object.entries(e.terms).filter(([,p])=>p).reduce((p,[c])=>`${p} ${c}`.trim(),""));let{tags:s}=xe();return T("a",{href:`${a}`,class:"md-search-result__link",tabIndex:-1},T("article",{class:"md-search-result__article md-typeset","data-md-score":e.score.toFixed(2)},r>0&&T("div",{class:"md-search-result__icon md-icon"}),r>0&&T("h1",null,e.title),r<=0&&T("h2",null,e.title),o>0&&e.text.length>0&&e.text,e.tags&&e.tags.map(p=>{let c=s?p in s?`md-tag-icon md-tag--${s[p]}`:"md-tag-icon":"";return T("span",{class:`md-tag ${c}`},p)}),o>0&&n.length>0&&T("p",{class:"md-search-result__terms"},_e("search.result.term.missing"),": ",...n)))}function En(e){let t=e[0].score,r=[...e],o=xe(),n=r.findIndex(l=>!`${new URL(l.location,o.base)}`.includes("#")),[i]=r.splice(n,1),a=r.findIndex(l=>l.score<t);a===-1&&(a=r.length);let s=r.slice(0,a),p=r.slice(a),c=[Jr(i,2|+(!n&&a===0)),...s.map(l=>Jr(l,1)),...p.length?[T("details",{class:"md-search-result__more"},T("summary",{tabIndex:-1},T("div",null,p.length>0&&p.length===1?_e("search.result.more.one"):_e("search.result.more.other",p.length))),...p.map(l=>Jr(l,1)))]:[]];return T("li",{class:"md-search-result__item"},c)}function wn(e){return T("ul",{class:"md-source__facts"},Object.entries(e).map(([t,r])=>T("li",{class:`md-source__fact md-source__fact--${t}`},typeof r=="number"?hr(r):r)))}function Xr(e){let t=`tabbed-control tabbed-control--${e}`;return T("div",{class:t,hidden:!0},T("button",{class:"tabbed-button",tabIndex:-1,"aria-hidden":"true"}))}function Tn(e){return T("div",{class:"md-typeset__scrollwrap"},T("div",{class:"md-typeset__table"},e))}function wa(e){let t=xe(),r=new URL(`../${e.version}/`,t.base);return T("li",{class:"md-version__item"},T("a",{href:`${r}`,class:"md-version__link"},e.title))}function Sn(e,t){return T("div",{class:"md-version"},T("button",{class:"md-version__current","aria-label":_e("select.version")},t.title),T("ul",{class:"md-version__list"},e.map(wa)))}var Ta=0;function Sa(e,t){document.body.append(e);let{width:r}=ge(e);e.style.setProperty("--md-tooltip-width",`${r}px`),e.remove();let o=St(t),n=typeof o!="undefined"?it(o):I({x:0,y:0}),i=w(Et(t),ur(t)).pipe(ee());return X([i,n]).pipe(m(([a,s])=>{let{x:p,y:c}=ze(t),l=ge(t),f=t.closest("table");return f&&t.parentElement&&(p+=f.offsetLeft+t.parentElement.offsetLeft,c+=f.offsetTop+t.parentElement.offsetTop),{active:a,offset:{x:p-s.x+l.width/2-r/2,y:c-s.y+l.height+8}}}))}function Qe(e){let t=e.title;if(!t.length)return S;let r=`__tooltip_${Ta++}`,o=Ft(r,"inline"),n=F(".md-typeset",o);return n.innerHTML=t,P(()=>{let i=new M;return i.subscribe({next({offset:a}){o.style.setProperty("--md-tooltip-x",`${a.x}px`),o.style.setProperty("--md-tooltip-y",`${a.y}px`)},complete(){o.style.removeProperty("--md-tooltip-x"),o.style.removeProperty("--md-tooltip-y")}}),w(i.pipe(y(({active:a})=>a)),i.pipe(we(250),y(({active:a})=>!a))).subscribe({next({active:a}){a?(e.insertAdjacentElement("afterend",o),e.setAttribute("aria-describedby",r),e.removeAttribute("title")):(o.remove(),e.removeAttribute("aria-describedby"),e.setAttribute("title",t))},complete(){o.remove(),e.removeAttribute("aria-describedby"),e.setAttribute("title",t)}}),i.pipe(He(16,Oe)).subscribe(({active:a})=>{o.classList.toggle("md-tooltip--active",a)}),i.pipe(Pt(125,Oe),y(()=>!!e.offsetParent),m(()=>e.offsetParent.getBoundingClientRect()),m(({x:a})=>a)).subscribe({next(a){a?o.style.setProperty("--md-tooltip-0",`${-a}px`):o.style.removeProperty("--md-tooltip-0")},complete(){o.style.removeProperty("--md-tooltip-0")}}),Sa(o,e).pipe(O(a=>i.next(a)),A(()=>i.complete()),m(a=>W({ref:e},a)))}).pipe(Ge(ae))}function Oa(e,t){let r=P(()=>X([Go(e),it(t)])).pipe(m(([{x:o,y:n},i])=>{let{width:a,height:s}=ge(e);return{x:o-i.x+a/2,y:n-i.y+s/2}}));return Et(e).pipe(E(o=>r.pipe(m(n=>({active:o,offset:n})),be(+!o||1/0))))}function On(e,t,{target$:r}){let[o,n]=Array.from(e.children);return P(()=>{let i=new M,a=i.pipe(oe(),se(!0));return i.subscribe({next({offset:s}){e.style.setProperty("--md-tooltip-x",`${s.x}px`),e.style.setProperty("--md-tooltip-y",`${s.y}px`)},complete(){e.style.removeProperty("--md-tooltip-x"),e.style.removeProperty("--md-tooltip-y")}}),Ot(e).pipe(U(a)).subscribe(s=>{e.toggleAttribute("data-md-visible",s)}),w(i.pipe(y(({active:s})=>s)),i.pipe(we(250),y(({active:s})=>!s))).subscribe({next({active:s}){s?e.prepend(o):o.remove()},complete(){e.prepend(o)}}),i.pipe(He(16,Oe)).subscribe(({active:s})=>{o.classList.toggle("md-tooltip--active",s)}),i.pipe(Pt(125,Oe),y(()=>!!e.offsetParent),m(()=>e.offsetParent.getBoundingClientRect()),m(({x:s})=>s)).subscribe({next(s){s?e.style.setProperty("--md-tooltip-0",`${-s}px`):e.style.removeProperty("--md-tooltip-0")},complete(){e.style.removeProperty("--md-tooltip-0")}}),d(n,"click").pipe(U(a),y(s=>!(s.metaKey||s.ctrlKey))).subscribe(s=>{s.stopPropagation(),s.preventDefault()}),d(n,"mousedown").pipe(U(a),ie(i)).subscribe(([s,{active:p}])=>{var c;if(s.button!==0||s.metaKey||s.ctrlKey)s.preventDefault();else if(p){s.preventDefault();let l=e.parentElement.closest(".md-annotation");l instanceof HTMLElement?l.focus():(c=Ne())==null||c.blur()}}),r.pipe(U(a),y(s=>s===o),Xe(125)).subscribe(()=>e.focus()),Oa(e,t).pipe(O(s=>i.next(s)),A(()=>i.complete()),m(s=>W({ref:e},s)))})}function Ma(e){let t=xe();if(e.tagName!=="CODE")return[e];let r=[".c",".c1",".cm"];if(typeof t.annotate!="undefined"){let o=e.closest("[class|=language]");if(o)for(let n of Array.from(o.classList)){if(!n.startsWith("language-"))continue;let[,i]=n.split("-");i in t.annotate&&r.push(...t.annotate[i])}}return $(r.join(", "),e)}function La(e){let t=[];for(let r of Ma(e)){let o=[],n=document.createNodeIterator(r,NodeFilter.SHOW_TEXT);for(let i=n.nextNode();i;i=n.nextNode())o.push(i);for(let i of o){let a;for(;a=/(\(\d+\))(!)?/.exec(i.textContent);){let[,s,p]=a;if(typeof p=="undefined"){let c=i.splitText(a.index);i=c.splitText(s.length),t.push(c)}else{i.textContent=s,t.push(i);break}}}}return t}function Mn(e,t){t.append(...Array.from(e.childNodes))}function yr(e,t,{target$:r,print$:o}){let n=t.closest("[id]"),i=n==null?void 0:n.id,a=new Map;for(let s of La(t)){let[,p]=s.textContent.match(/\((\d+)\)/);fe(`:scope > li:nth-child(${p})`,e)&&(a.set(p,vn(p,i)),s.replaceWith(a.get(p)))}return a.size===0?S:P(()=>{let s=new M,p=s.pipe(oe(),se(!0)),c=[];for(let[l,f]of a)c.push([F(".md-typeset",f),F(`:scope > li:nth-child(${l})`,e)]);return o.pipe(U(p)).subscribe(l=>{e.hidden=!l,e.classList.toggle("md-annotation-list",l);for(let[f,u]of c)l?Mn(f,u):Mn(u,f)}),w(...[...a].map(([,l])=>On(l,t,{target$:r}))).pipe(A(()=>s.complete()),ve())})}function Ln(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return Ln(t)}}function _n(e,t){return P(()=>{let r=Ln(e);return typeof r!="undefined"?yr(r,e,t):S})}var Cn=qt(eo());var _a=0,An=w(d(window,"keydown").pipe(m(()=>!0)),w(d(window,"keyup"),d(window,"contextmenu")).pipe(m(()=>!1))).pipe(D(!1),Z(1));function kn(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return kn(t)}}function Aa(e){return Ce(e).pipe(m(({width:t})=>({scrollable:Tt(e).width>t})),ne("scrollable"))}function Hn(e,t){let{matches:r}=matchMedia("(hover)"),o=P(()=>{let n=new M,i=n.pipe(Vr(1));n.subscribe(({scrollable:u})=>{u&&r?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")});let a=_a++,s=[],p=e.closest("pre");p.id=`__code_${a}`;let c=[],l=e.closest(".highlight");if(l instanceof HTMLElement){let u=kn(l);if(typeof u!="undefined"&&(l.classList.contains("annotate")||G("content.code.annotate"))){let h=yr(u,e,t);c.push(Ce(l).pipe(U(i),m(({width:b,height:v})=>b&&v),ee(),E(b=>b?h:S)))}}let f=$(":scope > span[id]",e);if(f.length&&(e.classList.add("md-code__content"),e.closest(".select")||G("content.code.select")&&!e.closest(".no-select"))){let u=+f[0].id.split("-").pop(),h=xn();s.push(h),G("content.tooltips")&&c.push(Qe(h));let b=d(h,"click").pipe(Rt(H=>!H,!1),O(()=>h.blur()),ve());b.subscribe(H=>{h.classList.toggle("md-code__button--active",H)});let v=pe(f).pipe(te(H=>ur(H).pipe(m(Y=>[H,Y]))));b.pipe(E(H=>H?v:S)).subscribe(([H,Y])=>{let ce=fe(".hll.select",H);if(ce&&!Y)ce.replaceWith(...Array.from(ce.childNodes));else if(!ce&&Y){let ue=document.createElement("span");ue.className="hll select",ue.append(...Array.from(H.childNodes).slice(1)),H.append(ue)}});let K=pe(f).pipe(te(H=>d(H,"mousedown").pipe(O(Y=>Y.preventDefault()),m(()=>H)))),re=b.pipe(E(H=>H?K:S),ie(An),m(([H,Y])=>{var ue;let ce=f.indexOf(H)+u;if(Y===!1)return[ce,ce];{let Te=$(".hll",e).map(Ye=>f.indexOf(Ye.parentElement)+u);return(ue=window.getSelection())==null||ue.removeAllRanges(),[Math.min(ce,...Te),Math.max(ce,...Te)]}})),J=Br(S).pipe(y(H=>H.startsWith(`__codelineno-${a}-`)));J.subscribe(H=>{let[,,Y]=H.split("-"),ce=Y.split(":").map(Te=>+Te-u+1);ce.length===1&&ce.push(ce[0]);for(let Te of $(".hll:not(.select)",e))Te.replaceWith(...Array.from(Te.childNodes));let ue=f.slice(ce[0]-1,ce[1]);for(let Te of ue){let Ye=document.createElement("span");Ye.className="hll",Ye.append(...Array.from(Te.childNodes).slice(1)),Te.append(Ye)}}),J.pipe(be(1),Me(ae)).subscribe(H=>{if(H.includes(":")){let Y=document.getElementById(H.split(":")[0]);Y&&setTimeout(()=>{let ce=Y,ue=-(48+16);for(;ce!==document.body;)ue+=ce.offsetTop,ce=ce.offsetParent;window.scrollTo({top:ue})},1)}});let et=pe($('a[href^="#__codelineno"]',l)).pipe(te(H=>d(H,"click").pipe(O(Y=>Y.preventDefault()),m(()=>H)))).pipe(U(i),ie(An),m(([H,Y])=>{let ue=+F(`[id="${H.hash.slice(1)}"]`).parentElement.id.split("-").pop();if(Y===!1)return[ue,ue];{let Te=$(".hll",e).map(Ye=>+Ye.parentElement.id.split("-").pop());return[Math.min(ue,...Te),Math.max(ue,...Te)]}}));w(re,et).subscribe(H=>{let Y=`#__codelineno-${a}-`;H[0]===H[1]?Y+=H[0]:Y+=`${H[0]}:${H[1]}`,history.replaceState({},"",Y),window.dispatchEvent(new HashChangeEvent("hashchange",{newURL:window.location.origin+window.location.pathname+Y,oldURL:window.location.href}))})}if(Cn.default.isSupported()&&(e.closest(".copy")||G("content.code.copy")&&!e.closest(".no-copy"))){let u=gn(p.id);s.push(u),G("content.tooltips")&&c.push(Qe(u))}if(s.length){let u=yn();u.append(...s),p.insertBefore(u,e)}return Aa(e).pipe(O(u=>n.next(u)),A(()=>n.complete()),m(u=>W({ref:e},u)),Ue(...c))});return G("content.lazy")?Ot(e).pipe(y(n=>n),be(1),E(()=>o)):o}function Ca(e,{target$:t,print$:r}){let o=!0;return w(t.pipe(m(n=>n.closest("details:not([open])")),y(n=>e===n),m(()=>({action:"open",reveal:!0}))),r.pipe(y(n=>n||!o),O(()=>o=e.open),m(n=>({action:n?"open":"close"}))))}function $n(e,t){return P(()=>{let r=new M;return r.subscribe(({action:o,reveal:n})=>{e.toggleAttribute("open",o==="open"),n&&e.scrollIntoView()}),Ca(e,t).pipe(O(o=>r.next(o)),A(()=>r.complete()),m(o=>W({ref:e},o)))})}var Rn=".node circle,.node ellipse,.node path,.node polygon,.node rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}marker{fill:var(--md-mermaid-edge-color)!important}.edgeLabel .label rect{fill:#0000}.label{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.label foreignObject{line-height:normal;overflow:visible}.label div .edgeLabel{color:var(--md-mermaid-label-fg-color)}.edgeLabel,.edgeLabel rect,.label div .edgeLabel{background-color:var(--md-mermaid-label-bg-color)}.edgeLabel,.edgeLabel rect{fill:var(--md-mermaid-label-bg-color);color:var(--md-mermaid-edge-color)}.edgePath .path,.flowchart-link{stroke:var(--md-mermaid-edge-color);stroke-width:.05rem}.edgePath .arrowheadPath{fill:var(--md-mermaid-edge-color);stroke:none}.cluster rect{fill:var(--md-default-fg-color--lightest);stroke:var(--md-default-fg-color--lighter)}.cluster span{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}g #flowchart-circleEnd,g #flowchart-circleStart,g #flowchart-crossEnd,g #flowchart-crossStart,g #flowchart-pointEnd,g #flowchart-pointStart{stroke:none}g.classGroup line,g.classGroup rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}g.classGroup text{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.classLabel .box{fill:var(--md-mermaid-label-bg-color);background-color:var(--md-mermaid-label-bg-color);opacity:1}.classLabel .label{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.node .divider{stroke:var(--md-mermaid-node-fg-color)}.relation{stroke:var(--md-mermaid-edge-color)}.cardinality{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.cardinality text{fill:inherit!important}defs #classDiagram-compositionEnd,defs #classDiagram-compositionStart,defs #classDiagram-dependencyEnd,defs #classDiagram-dependencyStart,defs #classDiagram-extensionEnd,defs #classDiagram-extensionStart{fill:var(--md-mermaid-edge-color)!important;stroke:var(--md-mermaid-edge-color)!important}defs #classDiagram-aggregationEnd,defs #classDiagram-aggregationStart{fill:var(--md-mermaid-label-bg-color)!important;stroke:var(--md-mermaid-edge-color)!important}g.stateGroup rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}g.stateGroup .state-title{fill:var(--md-mermaid-label-fg-color)!important;font-family:var(--md-mermaid-font-family)}g.stateGroup .composit{fill:var(--md-mermaid-label-bg-color)}.nodeLabel{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.node circle.state-end,.node circle.state-start,.start-state{fill:var(--md-mermaid-edge-color);stroke:none}.end-state-inner,.end-state-outer{fill:var(--md-mermaid-edge-color)}.end-state-inner,.node circle.state-end{stroke:var(--md-mermaid-label-bg-color)}.transition{stroke:var(--md-mermaid-edge-color)}[id^=state-fork] rect,[id^=state-join] rect{fill:var(--md-mermaid-edge-color)!important;stroke:none!important}.statediagram-cluster.statediagram-cluster .inner{fill:var(--md-default-bg-color)}.statediagram-cluster rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}.statediagram-state rect.divider{fill:var(--md-default-fg-color--lightest);stroke:var(--md-default-fg-color--lighter)}defs #statediagram-barbEnd{stroke:var(--md-mermaid-edge-color)}.attributeBoxEven,.attributeBoxOdd{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}.entityBox{fill:var(--md-mermaid-label-bg-color);stroke:var(--md-mermaid-node-fg-color)}.entityLabel{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.relationshipLabelBox{fill:var(--md-mermaid-label-bg-color);fill-opacity:1;background-color:var(--md-mermaid-label-bg-color);opacity:1}.relationshipLabel{fill:var(--md-mermaid-label-fg-color)}.relationshipLine{stroke:var(--md-mermaid-edge-color)}defs #ONE_OR_MORE_END *,defs #ONE_OR_MORE_START *,defs #ONLY_ONE_END *,defs #ONLY_ONE_START *,defs #ZERO_OR_MORE_END *,defs #ZERO_OR_MORE_START *,defs #ZERO_OR_ONE_END *,defs #ZERO_OR_ONE_START *{stroke:var(--md-mermaid-edge-color)!important}defs #ZERO_OR_MORE_END circle,defs #ZERO_OR_MORE_START circle{fill:var(--md-mermaid-label-bg-color)}.actor{fill:var(--md-mermaid-sequence-actor-bg-color);stroke:var(--md-mermaid-sequence-actor-border-color)}text.actor>tspan{fill:var(--md-mermaid-sequence-actor-fg-color);font-family:var(--md-mermaid-font-family)}line{stroke:var(--md-mermaid-sequence-actor-line-color)}.actor-man circle,.actor-man line{fill:var(--md-mermaid-sequence-actorman-bg-color);stroke:var(--md-mermaid-sequence-actorman-line-color)}.messageLine0,.messageLine1{stroke:var(--md-mermaid-sequence-message-line-color)}.note{fill:var(--md-mermaid-sequence-note-bg-color);stroke:var(--md-mermaid-sequence-note-border-color)}.loopText,.loopText>tspan,.messageText,.noteText>tspan{stroke:none;font-family:var(--md-mermaid-font-family)!important}.messageText{fill:var(--md-mermaid-sequence-message-fg-color)}.loopText,.loopText>tspan{fill:var(--md-mermaid-sequence-loop-fg-color)}.noteText>tspan{fill:var(--md-mermaid-sequence-note-fg-color)}#arrowhead path{fill:var(--md-mermaid-sequence-message-line-color);stroke:none}.loopLine{fill:var(--md-mermaid-sequence-loop-bg-color);stroke:var(--md-mermaid-sequence-loop-border-color)}.labelBox{fill:var(--md-mermaid-sequence-label-bg-color);stroke:none}.labelText,.labelText>span{fill:var(--md-mermaid-sequence-label-fg-color);font-family:var(--md-mermaid-font-family)}.sequenceNumber{fill:var(--md-mermaid-sequence-number-fg-color)}rect.rect{fill:var(--md-mermaid-sequence-box-bg-color);stroke:none}rect.rect+text.text{fill:var(--md-mermaid-sequence-box-fg-color)}defs #sequencenumber{fill:var(--md-mermaid-sequence-number-bg-color)!important}";var to,Ha=0;function $a(){return typeof mermaid=="undefined"||mermaid instanceof Element?wt("https://unpkg.com/mermaid@9.4.3/dist/mermaid.min.js"):I(void 0)}function Pn(e){return e.classList.remove("mermaid"),to||(to=$a().pipe(O(()=>mermaid.initialize({startOnLoad:!1,themeCSS:Rn,sequence:{actorFontSize:"16px",messageFontSize:"16px",noteFontSize:"16px"}})),m(()=>{}),Z(1))),to.subscribe(()=>{e.classList.add("mermaid");let t=`__mermaid_${Ha++}`,r=T("div",{class:"mermaid"}),o=e.textContent;mermaid.mermaidAPI.render(t,o,(n,i)=>{let a=r.attachShadow({mode:"closed"});a.innerHTML=n,e.replaceWith(r),i==null||i(a)})}),to.pipe(m(()=>({ref:e})))}var In=T("table");function Fn(e){return e.replaceWith(In),In.replaceWith(Tn(e)),I({ref:e})}function Ra(e){let t=e.find(r=>r.checked)||e[0];return w(...e.map(r=>d(r,"change").pipe(m(()=>F(`label[for="${r.id}"]`))))).pipe(D(F(`label[for="${t.id}"]`)),m(r=>({active:r})))}function jn(e,{viewport$:t,target$:r}){let o=F(".tabbed-labels",e),n=$(":scope > input",e),i=Xr("prev");e.append(i);let a=Xr("next");return e.append(a),P(()=>{let s=new M,p=s.pipe(oe(),se(!0));X([s,Ce(e)]).pipe(U(p),He(1,Oe)).subscribe({next([{active:c},l]){let f=ze(c),{width:u}=ge(c);e.style.setProperty("--md-indicator-x",`${f.x}px`),e.style.setProperty("--md-indicator-width",`${u}px`);let h=dr(o);(f.x<h.x||f.x+u>h.x+l.width)&&o.scrollTo({left:Math.max(0,f.x-16),behavior:"smooth"})},complete(){e.style.removeProperty("--md-indicator-x"),e.style.removeProperty("--md-indicator-width")}}),X([it(o),Ce(o)]).pipe(U(p)).subscribe(([c,l])=>{let f=Tt(o);i.hidden=c.x<16,a.hidden=c.x>f.width-l.width-16}),w(d(i,"click").pipe(m(()=>-1)),d(a,"click").pipe(m(()=>1))).pipe(U(p)).subscribe(c=>{let{width:l}=ge(o);o.scrollBy({left:l*c,behavior:"smooth"})}),r.pipe(U(p),y(c=>n.includes(c))).subscribe(c=>c.click()),o.classList.add("tabbed-labels--linked");for(let c of n){let l=F(`label[for="${c.id}"]`);l.replaceChildren(T("a",{href:`#${l.htmlFor}`,tabIndex:-1},...Array.from(l.childNodes))),d(l.firstElementChild,"click").pipe(U(p),y(f=>!(f.metaKey||f.ctrlKey)),O(f=>{f.preventDefault(),f.stopPropagation()})).subscribe(()=>{history.replaceState({},"",`#${l.htmlFor}`),l.click()})}return G("content.tabs.link")&&s.pipe(Le(1),ie(t)).subscribe(([{active:c},{offset:l}])=>{let f=c.innerText.trim();if(c.hasAttribute("data-md-switching"))c.removeAttribute("data-md-switching");else{let u=e.offsetTop-l.y;for(let b of $("[data-tabs]"))for(let v of $(":scope > input",b)){let K=F(`label[for="${v.id}"]`);if(K!==c&&K.innerText.trim()===f){K.setAttribute("data-md-switching",""),v.click();break}}window.scrollTo({top:e.offsetTop-u});let h=__md_get("__tabs")||[];__md_set("__tabs",[...new Set([f,...h])])}}),s.pipe(U(p)).subscribe(()=>{for(let c of $("audio, video",e))c.pause()}),Ra(n).pipe(O(c=>s.next(c)),A(()=>s.complete()),m(c=>W({ref:e},c)))}).pipe(Ge(ae))}function Wn(e,{viewport$:t,target$:r,print$:o}){return w(...$(".annotate:not(.highlight)",e).map(n=>_n(n,{target$:r,print$:o})),...$("pre:not(.mermaid) > code",e).map(n=>Hn(n,{target$:r,print$:o})),...$("pre.mermaid",e).map(n=>Pn(n)),...$("table:not([class])",e).map(n=>Fn(n)),...$("details",e).map(n=>$n(n,{target$:r,print$:o})),...$("[data-tabs]",e).map(n=>jn(n,{viewport$:t,target$:r})),...$("[title]",e).filter(()=>G("content.tooltips")).map(n=>Qe(n)))}function Pa(e,{alert$:t}){return t.pipe(E(r=>w(I(!0),I(!1).pipe(Xe(2e3))).pipe(m(o=>({message:r,active:o})))))}function Un(e,t){let r=F(".md-typeset",e);return P(()=>{let o=new M;return o.subscribe(({message:n,active:i})=>{e.classList.toggle("md-dialog--active",i),r.textContent=n}),Pa(e,t).pipe(O(n=>o.next(n)),A(()=>o.complete()),m(n=>W({ref:e},n)))})}function Ia({viewport$:e}){if(!G("header.autohide"))return I(!1);let t=e.pipe(m(({offset:{y:n}})=>n),Pe(2,1),m(([n,i])=>[n<i,i]),ne(0)),r=X([e,t]).pipe(y(([{offset:n},[,i]])=>Math.abs(i-n.y)>100),m(([,[n]])=>n),ee()),o=qe("search");return X([e,o]).pipe(m(([{offset:n},i])=>n.y>400&&!i),ee(),E(n=>n?r:I(!1)),D(!1))}function Nn(e,t){return P(()=>X([Ce(e),Ia(t)])).pipe(m(([{height:r},o])=>({height:r,hidden:o})),ee((r,o)=>r.height===o.height&&r.hidden===o.hidden),Z(1))}function Dn(e,{header$:t,main$:r}){return P(()=>{let o=new M,n=o.pipe(oe(),se(!0));o.pipe(ne("active"),nt(t)).subscribe(([{active:a},{hidden:s}])=>{e.classList.toggle("md-header--shadow",a&&!s),e.hidden=s});let i=pe($("[title]",e)).pipe(y(()=>G("content.tooltips")),te(a=>Qe(a)));return r.subscribe(o),t.pipe(U(n),m(a=>W({ref:e},a)),Ue(i.pipe(U(n))))})}function Fa(e,{viewport$:t,header$:r}){return xr(e,{viewport$:t,header$:r}).pipe(m(({offset:{y:o}})=>{let{height:n}=ge(e);return{active:o>=n}}),ne("active"))}function Vn(e,t){return P(()=>{let r=new M;r.subscribe({next({active:n}){e.classList.toggle("md-header__title--active",n)},complete(){e.classList.remove("md-header__title--active")}});let o=fe(".md-content h1");return typeof o=="undefined"?S:Fa(o,t).pipe(O(n=>r.next(n)),A(()=>r.complete()),m(n=>W({ref:e},n)))})}function zn(e,{viewport$:t,header$:r}){let o=r.pipe(m(({height:i})=>i),ee()),n=o.pipe(E(()=>Ce(e).pipe(m(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),ne("bottom"))));return X([o,n,t]).pipe(m(([i,{top:a,bottom:s},{offset:{y:p},size:{height:c}}])=>(c=Math.max(0,c-Math.max(0,a-p,i)-Math.max(0,c+p-s)),{offset:a-i,height:c,active:a-i<=p})),ee((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function ja(e){let t=__md_get("__palette")||{index:e.findIndex(r=>matchMedia(r.getAttribute("data-md-color-media")).matches)};return I(...e).pipe(te(r=>d(r,"change").pipe(m(()=>r))),D(e[Math.max(0,t.index)]),m(r=>({index:e.indexOf(r),color:{media:r.getAttribute("data-md-color-media"),scheme:r.getAttribute("data-md-color-scheme"),primary:r.getAttribute("data-md-color-primary"),accent:r.getAttribute("data-md-color-accent")}})),Z(1))}function qn(e){let t=$("input",e),r=T("meta",{name:"theme-color"});document.head.appendChild(r);let o=T("meta",{name:"color-scheme"});document.head.appendChild(o);let n=It("(prefers-color-scheme: light)");return P(()=>{let i=new M;return i.subscribe(a=>{if(document.body.setAttribute("data-md-color-switching",""),a.color.media==="(prefers-color-scheme)"){let s=matchMedia("(prefers-color-scheme: light)"),p=document.querySelector(s.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");a.color.scheme=p.getAttribute("data-md-color-scheme"),a.color.primary=p.getAttribute("data-md-color-primary"),a.color.accent=p.getAttribute("data-md-color-accent")}for(let[s,p]of Object.entries(a.color))document.body.setAttribute(`data-md-color-${s}`,p);for(let s=0;s<t.length;s++){let p=t[s].nextElementSibling;p instanceof HTMLElement&&(p.hidden=a.index!==s)}__md_set("__palette",a)}),i.pipe(m(()=>{let a=ke("header"),s=window.getComputedStyle(a);return o.content=s.colorScheme,s.backgroundColor.match(/\d+/g).map(p=>(+p).toString(16).padStart(2,"0")).join("")})).subscribe(a=>r.content=`#${a}`),i.pipe(Me(ae)).subscribe(()=>{document.body.removeAttribute("data-md-color-switching")}),ja(t).pipe(U(n.pipe(Le(1))),mt(),O(a=>i.next(a)),A(()=>i.complete()),m(a=>W({ref:e},a)))})}var ro=qt(eo());function Wa(e){e.setAttribute("data-md-copying","");let t=e.innerText;return e.removeAttribute("data-md-copying"),t}function Kn({alert$:e}){ro.default.isSupported()&&new z(t=>{new ro.default("[data-clipboard-target], [data-clipboard-text]",{text:r=>r.getAttribute("data-clipboard-text")||Wa(F(r.getAttribute("data-clipboard-target")))}).on("success",r=>t.next(r))}).pipe(O(t=>{t.trigger.focus()}),m(()=>_e("clipboard.copied"))).subscribe(e)}function Ua(e){if(e.length<2)return[""];let[t,r]=[...e].sort((n,i)=>n.length-i.length).map(n=>n.replace(/[^/]+$/,"")),o=0;if(t===r)o=t.length;else for(;t.charCodeAt(o)===r.charCodeAt(o);)o++;return e.map(n=>n.replace(t.slice(0,o),""))}function Er(e){let t=__md_get("__sitemap",sessionStorage,e);if(t)return I(t);{let r=xe();return cn(new URL("sitemap.xml",e||r.base)).pipe(m(o=>Ua($("loc",o).map(n=>n.textContent))),Ee(()=>S),je([]),O(o=>__md_set("__sitemap",o,sessionStorage,e)))}}function Qn(e,t){if(!(e.target instanceof Element))return S;let r=e.target.closest("a");if(r===null)return S;if(r.target||e.metaKey||e.ctrlKey)return S;let o=new URL(r.href);return o.search=o.hash="",t.includes(`${o}`)?(e.preventDefault(),I(new URL(r.href))):S}function Yn(e){let t=new Map;for(let r of $(":scope > *",e)){let o=r.outerHTML;for(let n of["href","src"]){let i=r.getAttribute(n);if(i===null)continue;let a=new URL(i,de()),s=r.cloneNode();s.setAttribute(n,`${a}`),o=s.outerHTML}t.set(o,r)}return t}function Bn({location$:e,viewport$:t}){let r=xe();if(location.protocol==="file:")return S;let o=Er().pipe(m(c=>c.map(l=>`${new URL(l,r.base)}`))),n=d(document.body,"click").pipe(ie(o),E(([c,l])=>Qn(c,l)),ve());G("navigation.instant.prefetch")&&w(d(document.body,"mousemove"),d(document.body,"focusin")).pipe(ie(o),E(([c,l])=>Qn(c,l)),we(25),Dr(({href:c})=>c),fr(c=>{let l=document.createElement("link");return l.rel="prefetch",l.href=c.toString(),document.head.appendChild(l),d(l,"load").pipe(m(()=>l),be(1))})).subscribe(c=>c.remove()),n.pipe(be(1)).subscribe(()=>{let c=fe("link[rel=icon]");typeof c!="undefined"&&(c.href=c.href)}),d(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}),n.pipe(ie(t)).subscribe(([c,{offset:l}])=>{history.scrollRestoration="manual",history.replaceState(l,""),history.pushState(null,"",c)}),n.subscribe(e);let i=e.pipe(D(de()),ne("pathname"),Le(1),E(c=>gr(c).pipe(Ee(()=>(ft(c,!0),S))))),a=new DOMParser,s=i.pipe(E(c=>c.text()),E(c=>{let l=a.parseFromString(c,"text/html");for(let b of["[data-md-component=announce]","[data-md-component=container]","[data-md-component=header-topic]","[data-md-component=outdated]","[data-md-component=logo]","[data-md-component=skip]",...G("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let v=fe(b),K=fe(b,l);typeof v!="undefined"&&typeof K!="undefined"&&v.replaceWith(K)}let f=Yn(document.head),u=Yn(l.head);for(let[b,v]of u)f.has(b)?f.delete(b):document.head.appendChild(v);for(let b of f.values())b.remove();let h=ke("container");return Ve($("script",h)).pipe(E(b=>{let v=l.createElement("script");if(b.src){for(let K of b.getAttributeNames())v.setAttribute(K,b.getAttribute(K));return b.replaceWith(v),new z(K=>{v.onload=()=>K.complete()})}else return v.textContent=b.textContent,b.replaceWith(v),S}),oe(),se(l))}),ve());return d(window,"popstate").pipe(m(de)).subscribe(e),e.pipe(D(de()),Pe(2,1),y(([c,l])=>c.pathname===l.pathname&&c.hash!==l.hash),m(([,c])=>c)).subscribe(c=>{var l,f;history.state!==null||!c.hash?window.scrollTo(0,(f=(l=history.state)==null?void 0:l.y)!=null?f:0):(history.scrollRestoration="auto",vr(c.hash),history.scrollRestoration="manual")}),e.pipe(zr(n),D(de()),Pe(2,1),y(([c,l])=>c.pathname===l.pathname&&c.hash===l.hash),m(([,c])=>c)).subscribe(c=>{history.scrollRestoration="auto",vr(c.hash),history.scrollRestoration="manual",history.back()}),s.pipe(ie(e)).subscribe(([,c])=>{var l,f;history.state!==null||!c.hash?window.scrollTo(0,(f=(l=history.state)==null?void 0:l.y)!=null?f:0):vr(c.hash)}),t.pipe(ne("offset"),we(100)).subscribe(({offset:c})=>{history.replaceState(c,"")}),s}var Xn=qt(Jn());function Zn(e){let t=e.separator.split("|").map(n=>n.replace(/(\(\?[!=<][^)]+\))/g,"").length===0?"\uFFFD":n).join("|"),r=new RegExp(t,"img"),o=(n,i,a)=>`${i}<mark data-md-highlight>${a}</mark>`;return n=>{n=n.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator}|)(${n.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(r,"|")})`,"img");return a=>(0,Xn.default)(a).replace(i,o).replace(/<\/mark>(\s+)<mark[^>]*>/img,"$1")}}function Wt(e){return e.type===1}function wr(e){return e.type===3}function ei(e,t){let r=dn(e);return w(I(location.protocol!=="file:"),qe("search")).pipe(We(o=>o),E(()=>t)).subscribe(({config:o,docs:n})=>r.next({type:0,data:{config:o,docs:n,options:{suggest:G("search.suggest")}}})),r}function ti({document$:e}){let t=xe(),r=Ke(new URL("../versions.json",t.base)).pipe(Ee(()=>S)),o=r.pipe(m(n=>{let[,i]=t.base.match(/([^/]+)\/?$/);return n.find(({version:a,aliases:s})=>a===i||s.includes(i))||n[0]}));r.pipe(m(n=>new Map(n.map(i=>[`${new URL(`../${i.version}/`,t.base)}`,i]))),E(n=>d(document.body,"click").pipe(y(i=>!i.metaKey&&!i.ctrlKey),ie(o),E(([i,a])=>{if(i.target instanceof Element){let s=i.target.closest("a");if(s&&!s.target&&n.has(s.href)){let p=s.href;return!i.target.closest(".md-version")&&n.get(p)===a?S:(i.preventDefault(),I(p))}}return S}),E(i=>{let{version:a}=n.get(i);return Er(new URL(i)).pipe(m(s=>{let c=de().href.replace(t.base,"");return s.includes(c.split("#")[0])?new URL(`../${a}/${c}`,t.base):new URL(i)}))})))).subscribe(n=>ft(n,!0)),X([r,o]).subscribe(([n,i])=>{F(".md-header__topic").appendChild(Sn(n,i))}),e.pipe(E(()=>o)).subscribe(n=>{var a;let i=__md_get("__outdated",sessionStorage);if(i===null){i=!0;let s=((a=t.version)==null?void 0:a.default)||"latest";Array.isArray(s)||(s=[s]);e:for(let p of s)for(let c of n.aliases)if(new RegExp(p,"i").test(c)){i=!1;break e}__md_set("__outdated",i,sessionStorage)}if(i)for(let s of le("outdated"))s.hidden=!1})}function qa(e,{worker$:t}){let{searchParams:r}=de();r.has("q")&&(Ze("search",!0),e.value=r.get("q"),e.focus(),qe("search").pipe(We(i=>!i)).subscribe(()=>{let i=de();i.searchParams.delete("q"),history.replaceState({},"",`${i}`)}));let o=Et(e),n=w(t.pipe(We(Wt)),d(e,"keyup"),o).pipe(m(()=>e.value),ee());return X([n,o]).pipe(m(([i,a])=>({value:i,focus:a})),Z(1))}function ri(e,{worker$:t}){let r=new M,o=r.pipe(oe(),se(!0));X([t.pipe(We(Wt)),r],(i,a)=>a).pipe(ne("value")).subscribe(({value:i})=>t.next({type:2,data:i})),r.pipe(ne("focus")).subscribe(({focus:i})=>{i&&Ze("search",i)}),d(e.form,"reset").pipe(U(o)).subscribe(()=>e.focus());let n=F("header [for=__search]");return d(n,"click").subscribe(()=>e.focus()),qa(e,{worker$:t}).pipe(O(i=>r.next(i)),A(()=>r.complete()),m(i=>W({ref:e},i)),Z(1))}function oi(e,{worker$:t,query$:r}){let o=new M,n=en(e.parentElement).pipe(y(Boolean)),i=e.parentElement,a=F(":scope > :first-child",e),s=F(":scope > :last-child",e);qe("search").subscribe(l=>s.setAttribute("role",l?"list":"presentation")),o.pipe(ie(r),Kr(t.pipe(We(Wt)))).subscribe(([{items:l},{value:f}])=>{switch(l.length){case 0:a.textContent=f.length?_e("search.result.none"):_e("search.result.placeholder");break;case 1:a.textContent=_e("search.result.one");break;default:let u=hr(l.length);a.textContent=_e("search.result.other",u)}});let p=o.pipe(O(()=>s.innerHTML=""),E(({items:l})=>w(I(...l.slice(0,10)),I(...l.slice(10)).pipe(Pe(4),Yr(n),E(([f])=>f)))),m(En),ve());return p.subscribe(l=>s.appendChild(l)),p.pipe(te(l=>{let f=fe("details",l);return typeof f=="undefined"?S:d(f,"toggle").pipe(U(o),m(()=>f))})).subscribe(l=>{l.open===!1&&l.offsetTop<=i.scrollTop&&i.scrollTo({top:l.offsetTop})}),t.pipe(y(wr),m(({data:l})=>l)).pipe(O(l=>o.next(l)),A(()=>o.complete()),m(l=>W({ref:e},l)))}function Ka(e,{query$:t}){return t.pipe(m(({value:r})=>{let o=de();return o.hash="",r=r.replace(/\s+/g,"+").replace(/&/g,"%26").replace(/=/g,"%3D"),o.search=`q=${r}`,{url:o}}))}function ni(e,t){let r=new M,o=r.pipe(oe(),se(!0));return r.subscribe(({url:n})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${n}`}),d(e,"click").pipe(U(o)).subscribe(n=>n.preventDefault()),Ka(e,t).pipe(O(n=>r.next(n)),A(()=>r.complete()),m(n=>W({ref:e},n)))}function ii(e,{worker$:t,keyboard$:r}){let o=new M,n=ke("search-query"),i=w(d(n,"keydown"),d(n,"focus")).pipe(Me(ae),m(()=>n.value),ee());return o.pipe(nt(i),m(([{suggest:s},p])=>{let c=p.split(/([\s-]+)/);if(s!=null&&s.length&&c[c.length-1]){let l=s[s.length-1];l.startsWith(c[c.length-1])&&(c[c.length-1]=l)}else c.length=0;return c})).subscribe(s=>e.innerHTML=s.join("").replace(/\s/g,"&nbsp;")),r.pipe(y(({mode:s})=>s==="search")).subscribe(s=>{switch(s.type){case"ArrowRight":e.innerText.length&&n.selectionStart===n.value.length&&(n.value=e.innerText);break}}),t.pipe(y(wr),m(({data:s})=>s)).pipe(O(s=>o.next(s)),A(()=>o.complete()),m(()=>({ref:e})))}function ai(e,{index$:t,keyboard$:r}){let o=xe();try{let n=ei(o.search,t),i=ke("search-query",e),a=ke("search-result",e);d(e,"click").pipe(y(({target:p})=>p instanceof Element&&!!p.closest("a"))).subscribe(()=>Ze("search",!1)),r.pipe(y(({mode:p})=>p==="search")).subscribe(p=>{let c=Ne();switch(p.type){case"Enter":if(c===i){let l=new Map;for(let f of $(":first-child [href]",a)){let u=f.firstElementChild;l.set(f,parseFloat(u.getAttribute("data-md-score")))}if(l.size){let[[f]]=[...l].sort(([,u],[,h])=>h-u);f.click()}p.claim()}break;case"Escape":case"Tab":Ze("search",!1),i.blur();break;case"ArrowUp":case"ArrowDown":if(typeof c=="undefined")i.focus();else{let l=[i,...$(":not(details) > [href], summary, details[open] [href]",a)],f=Math.max(0,(Math.max(0,l.indexOf(c))+l.length+(p.type==="ArrowUp"?-1:1))%l.length);l[f].focus()}p.claim();break;default:i!==Ne()&&i.focus()}}),r.pipe(y(({mode:p})=>p==="global")).subscribe(p=>{switch(p.type){case"f":case"s":case"/":i.focus(),i.select(),p.claim();break}});let s=ri(i,{worker$:n});return w(s,oi(a,{worker$:n,query$:s})).pipe(Ue(...le("search-share",e).map(p=>ni(p,{query$:s})),...le("search-suggest",e).map(p=>ii(p,{worker$:n,keyboard$:r}))))}catch(n){return e.hidden=!0,Je}}function si(e,{index$:t,location$:r}){return X([t,r.pipe(D(de()),y(o=>!!o.searchParams.get("h")))]).pipe(m(([o,n])=>Zn(o.config)(n.searchParams.get("h"))),m(o=>{var a;let n=new Map,i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT);for(let s=i.nextNode();s;s=i.nextNode())if((a=s.parentElement)!=null&&a.offsetHeight){let p=s.textContent,c=o(p);c.length>p.length&&n.set(s,c)}for(let[s,p]of n){let{childNodes:c}=T("span",null,p);s.replaceWith(...Array.from(c))}return{ref:e,nodes:n}}))}function Qa(e,{viewport$:t,main$:r}){let o=e.closest(".md-grid"),n=o.offsetTop-o.parentElement.offsetTop;return X([r,t]).pipe(m(([{offset:i,height:a},{offset:{y:s}}])=>(a=a+Math.min(n,Math.max(0,s-i))-n,{height:a,locked:s>=i+n})),ee((i,a)=>i.height===a.height&&i.locked===a.locked))}function oo(e,o){var n=o,{header$:t}=n,r=po(n,["header$"]);let i=F(".md-sidebar__scrollwrap",e),{y:a}=ze(i);return P(()=>{let s=new M,p=s.pipe(oe(),se(!0)),c=s.pipe(He(0,Oe));return c.pipe(ie(t)).subscribe({next([{height:l},{height:f}]){i.style.height=`${l-2*a}px`,e.style.top=`${f}px`},complete(){i.style.height="",e.style.top=""}}),c.pipe(We()).subscribe(()=>{for(let l of $(".md-nav__link--active[href]",e)){let f=St(l);if(typeof f!="undefined"){let u=l.offsetTop-f.offsetTop,{height:h}=ge(f);f.scrollTo({top:u-h/2})}}}),pe($("label[tabindex]",e)).pipe(te(l=>d(l,"click").pipe(Me(ae),m(()=>l),U(p)))).subscribe(l=>{let f=F(`[id="${l.htmlFor}"]`);F(`[aria-labelledby="${l.id}"]`).setAttribute("aria-expanded",`${f.checked}`)}),Qa(e,r).pipe(O(l=>s.next(l)),A(()=>s.complete()),m(l=>W({ref:e},l)))})}function ci(e,t){if(typeof t!="undefined"){let r=`https://api.github.com/repos/${e}/${t}`;return $t(Ke(`${r}/releases/latest`).pipe(Ee(()=>S),m(o=>({version:o.tag_name})),je({})),Ke(r).pipe(Ee(()=>S),m(o=>({stars:o.stargazers_count,forks:o.forks_count})),je({}))).pipe(m(([o,n])=>W(W({},o),n)))}else{let r=`https://api.github.com/users/${e}`;return Ke(r).pipe(m(o=>({repositories:o.public_repos})),je({}))}}function pi(e,t){let r=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Ke(r).pipe(Ee(()=>S),m(({star_count:o,forks_count:n})=>({stars:o,forks:n})),je({}))}function li(e){let t=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);if(t){let[,r,o]=t;return ci(r,o)}if(t=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i),t){let[,r,o]=t;return pi(r,o)}return S}var Ya;function Ba(e){return Ya||(Ya=P(()=>{let t=__md_get("__source",sessionStorage);if(t)return I(t);if(le("consent").length){let o=__md_get("__consent");if(!(o&&o.github))return S}return li(e.href).pipe(O(o=>__md_set("__source",o,sessionStorage)))}).pipe(Ee(()=>S),y(t=>Object.keys(t).length>0),m(t=>({facts:t})),Z(1)))}function mi(e){let t=F(":scope > :last-child",e);return P(()=>{let r=new M;return r.subscribe(({facts:o})=>{t.appendChild(wn(o)),t.classList.add("md-source__repository--active")}),Ba(e).pipe(O(o=>r.next(o)),A(()=>r.complete()),m(o=>W({ref:e},o)))})}function Ga(e,{viewport$:t,header$:r}){return Ce(document.body).pipe(E(()=>xr(e,{header$:r,viewport$:t})),m(({offset:{y:o}})=>({hidden:o>=10})),ne("hidden"))}function fi(e,t){return P(()=>{let r=new M;return r.subscribe({next({hidden:o}){e.hidden=o},complete(){e.hidden=!1}}),(G("navigation.tabs.sticky")?I({hidden:!1}):Ga(e,t)).pipe(O(o=>r.next(o)),A(()=>r.complete()),m(o=>W({ref:e},o)))})}function Ja(e,{viewport$:t,header$:r}){let o=new Map,n=$("[href^=\\#]",e);for(let s of n){let p=decodeURIComponent(s.hash.substring(1)),c=fe(`[id="${p}"]`);typeof c!="undefined"&&o.set(s,c)}let i=r.pipe(ne("height"),m(({height:s})=>{let p=ke("main"),c=F(":scope > :first-child",p);return s+.8*(c.offsetTop-p.offsetTop)}),ve());return Ce(document.body).pipe(ne("height"),E(s=>P(()=>{let p=[];return I([...o].reduce((c,[l,f])=>{for(;p.length&&o.get(p[p.length-1]).tagName>=f.tagName;)p.pop();let u=f.offsetTop;for(;!u&&f.parentElement;)f=f.parentElement,u=f.offsetTop;let h=f.offsetParent;for(;h;h=h.offsetParent)u+=h.offsetTop;return c.set([...p=[...p,l]].reverse(),u)},new Map))}).pipe(m(p=>new Map([...p].sort(([,c],[,l])=>c-l))),nt(i),E(([p,c])=>t.pipe(Rt(([l,f],{offset:{y:u},size:h})=>{let b=u+h.height>=Math.floor(s.height);for(;f.length;){let[,v]=f[0];if(v-c<u||b)l=[...l,f.shift()];else break}for(;l.length;){let[,v]=l[l.length-1];if(v-c>=u&&!b)f=[l.pop(),...f];else break}return[l,f]},[[],[...p]]),ee((l,f)=>l[0]===f[0]&&l[1]===f[1])))))).pipe(m(([s,p])=>({prev:s.map(([c])=>c),next:p.map(([c])=>c)})),D({prev:[],next:[]}),Pe(2,1),m(([s,p])=>s.prev.length<p.prev.length?{prev:p.prev.slice(Math.max(0,s.prev.length-1),p.prev.length),next:[]}:{prev:p.prev.slice(-1),next:p.next.slice(0,p.next.length-s.next.length)}))}function ui(e,{viewport$:t,header$:r,main$:o,target$:n}){return P(()=>{let i=new M,a=i.pipe(oe(),se(!0));if(i.subscribe(({prev:s,next:p})=>{for(let[c]of p)c.classList.remove("md-nav__link--passed"),c.classList.remove("md-nav__link--active");for(let[c,[l]]of s.entries())l.classList.add("md-nav__link--passed"),l.classList.toggle("md-nav__link--active",c===s.length-1)}),G("toc.follow")){let s=w(t.pipe(we(1),m(()=>{})),t.pipe(we(250),m(()=>"smooth")));i.pipe(y(({prev:p})=>p.length>0),nt(o.pipe(Me(ae))),ie(s)).subscribe(([[{prev:p}],c])=>{let[l]=p[p.length-1];if(l.offsetHeight){let f=St(l);if(typeof f!="undefined"){let u=l.offsetTop-f.offsetTop,{height:h}=ge(f);f.scrollTo({top:u-h/2,behavior:c})}}})}return G("navigation.tracking")&&t.pipe(U(a),ne("offset"),we(250),Le(1),U(n.pipe(Le(1))),mt({delay:250}),ie(i)).subscribe(([,{prev:s}])=>{let p=de(),c=s[s.length-1];if(c&&c.length){let[l]=c,{hash:f}=new URL(l.href);p.hash!==f&&(p.hash=f,history.replaceState({},"",`${p}`))}else p.hash="",history.replaceState({},"",`${p}`)}),Ja(e,{viewport$:t,header$:r}).pipe(O(s=>i.next(s)),A(()=>i.complete()),m(s=>W({ref:e},s)))})}function Xa(e,{viewport$:t,main$:r,target$:o}){let n=t.pipe(m(({offset:{y:a}})=>a),Pe(2,1),m(([a,s])=>a>s&&s>0),ee()),i=r.pipe(m(({active:a})=>a));return X([i,n]).pipe(m(([a,s])=>!(a&&s)),ee(),U(o.pipe(Le(1))),se(!0),mt({delay:250}),m(a=>({hidden:a})))}function di(e,{viewport$:t,header$:r,main$:o,target$:n}){let i=new M,a=i.pipe(oe(),se(!0));return i.subscribe({next({hidden:s}){e.hidden=s,s?(e.setAttribute("tabindex","-1"),e.blur()):e.removeAttribute("tabindex")},complete(){e.style.top="",e.hidden=!0,e.removeAttribute("tabindex")}}),r.pipe(U(a),ne("height")).subscribe(({height:s})=>{e.style.top=`${s+16}px`}),d(e,"click").subscribe(s=>{s.preventDefault(),window.scrollTo({top:0})}),Xa(e,{viewport$:t,main$:o,target$:n}).pipe(O(s=>i.next(s)),A(()=>i.complete()),m(s=>W({ref:e},s)))}function hi({document$:e}){e.pipe(E(()=>$(".md-ellipsis")),te(t=>Ot(t).pipe(U(e.pipe(Le(1))),y(r=>r),m(()=>t),be(1))),y(t=>t.offsetWidth<t.scrollWidth),te(t=>{let r=t.innerText,o=t.closest("a")||t;return o.title=r,Qe(o).pipe(U(e.pipe(Le(1))),A(()=>o.removeAttribute("title")))})).subscribe(),e.pipe(E(()=>$(".md-status")),te(t=>Qe(t))).subscribe()}function bi({document$:e,tablet$:t}){e.pipe(E(()=>$(".md-toggle--indeterminate")),O(r=>{r.indeterminate=!0,r.checked=!1}),te(r=>d(r,"change").pipe(Qr(()=>r.classList.contains("md-toggle--indeterminate")),m(()=>r))),ie(t)).subscribe(([r,o])=>{r.classList.remove("md-toggle--indeterminate"),o&&(r.checked=!1)})}function Za(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function vi({document$:e}){e.pipe(E(()=>$("[data-md-scrollfix]")),O(t=>t.removeAttribute("data-md-scrollfix")),y(Za),te(t=>d(t,"touchstart").pipe(m(()=>t)))).subscribe(t=>{let r=t.scrollTop;r===0?t.scrollTop=1:r+t.offsetHeight===t.scrollHeight&&(t.scrollTop=r-1)})}function gi({viewport$:e,tablet$:t}){X([qe("search"),t]).pipe(m(([r,o])=>r&&!o),E(r=>I(r).pipe(Xe(r?400:100))),ie(e)).subscribe(([r,{offset:{y:o}}])=>{if(r)document.body.setAttribute("data-md-scrolllock",""),document.body.style.top=`-${o}px`;else{let n=-1*parseInt(document.body.style.top,10);document.body.removeAttribute("data-md-scrolllock"),document.body.style.top="",n&&window.scrollTo(0,n)}})}Object.entries||(Object.entries=function(e){let t=[];for(let r of Object.keys(e))t.push([r,e[r]]);return t});Object.values||(Object.values=function(e){let t=[];for(let r of Object.keys(e))t.push(e[r]);return t});typeof Element!="undefined"&&(Element.prototype.scrollTo||(Element.prototype.scrollTo=function(e,t){typeof e=="object"?(this.scrollLeft=e.left,this.scrollTop=e.top):(this.scrollLeft=e,this.scrollTop=t)}),Element.prototype.replaceWith||(Element.prototype.replaceWith=function(...e){let t=this.parentNode;if(t){e.length===0&&t.removeChild(this);for(let r=e.length-1;r>=0;r--){let o=e[r];typeof o=="string"?o=document.createTextNode(o):o.parentNode&&o.parentNode.removeChild(o),r?t.insertBefore(this.previousSibling,o):t.replaceChild(o,this)}}}));function es(){return location.protocol==="file:"?wt(`${new URL("search/search_index.js",no.base)}`).pipe(m(()=>__index),Z(1)):Ke(new URL("search/search_index.json",no.base))}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var st=Bo(),Nt=on(),Lt=an(Nt),io=rn(),$e=un(),Tr=It("(min-width: 960px)"),yi=It("(min-width: 1220px)"),Ei=sn(),no=xe(),wi=document.forms.namedItem("search")?es():Je,ao=new M;Kn({alert$:ao});G("navigation.instant")&&Bn({location$:Nt,viewport$:$e}).subscribe(st);var xi;((xi=no.version)==null?void 0:xi.provider)==="mike"&&ti({document$:st});w(Nt,Lt).pipe(Xe(125)).subscribe(()=>{Ze("drawer",!1),Ze("search",!1)});io.pipe(y(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=fe("link[rel=prev]");typeof t!="undefined"&&ft(t);break;case"n":case".":let r=fe("link[rel=next]");typeof r!="undefined"&&ft(r);break;case"Enter":let o=Ne();o instanceof HTMLLabelElement&&o.click()}});hi({document$:st});bi({document$:st,tablet$:Tr});vi({document$:st});gi({viewport$:$e,tablet$:Tr});var at=Nn(ke("header"),{viewport$:$e}),Ut=st.pipe(m(()=>ke("main")),E(e=>zn(e,{viewport$:$e,header$:at})),Z(1)),ts=w(...le("consent").map(e=>bn(e,{target$:Lt})),...le("dialog").map(e=>Un(e,{alert$:ao})),...le("header").map(e=>Dn(e,{viewport$:$e,header$:at,main$:Ut})),...le("palette").map(e=>qn(e)),...le("search").map(e=>ai(e,{index$:wi,keyboard$:io})),...le("source").map(e=>mi(e))),rs=P(()=>w(...le("announce").map(e=>hn(e)),...le("content").map(e=>Wn(e,{viewport$:$e,target$:Lt,print$:Ei})),...le("content").map(e=>G("search.highlight")?si(e,{index$:wi,location$:Nt}):S),...le("header-title").map(e=>Vn(e,{viewport$:$e,header$:at})),...le("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Gr(yi,()=>oo(e,{viewport$:$e,header$:at,main$:Ut})):Gr(Tr,()=>oo(e,{viewport$:$e,header$:at,main$:Ut}))),...le("tabs").map(e=>fi(e,{viewport$:$e,header$:at})),...le("toc").map(e=>ui(e,{viewport$:$e,header$:at,main$:Ut,target$:Lt})),...le("top").map(e=>di(e,{viewport$:$e,header$:at,main$:Ut,target$:Lt})))),Ti=st.pipe(E(()=>rs),Ue(ts),Z(1));Ti.subscribe();window.document$=st;window.location$=Nt;window.target$=Lt;window.keyboard$=io;window.viewport$=$e;window.tablet$=Tr;window.screen$=yi;window.print$=Ei;window.alert$=ao;window.component$=Ti;})();