mkdocs-material/material/assets/javascripts/bundle.02b93eff.min.js
2021-03-13 15:25:12 -05:00

33 lines
71 KiB
JavaScript

(()=>{var ni=Object.create,It=Object.defineProperty,oi=Object.getPrototypeOf,fr=Object.prototype.hasOwnProperty,ii=Object.getOwnPropertyNames,ai=Object.getOwnPropertyDescriptor,mr=Object.getOwnPropertySymbols,si=Object.prototype.propertyIsEnumerable;var W=Object.assign,ci=e=>It(e,"__esModule",{value:!0});var dr=(e,t)=>{var r={};for(var n in e)fr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&mr)for(var n of mr(e))t.indexOf(n)<0&&si.call(e,n)&&(r[n]=e[n]);return r},Rt=(e,t)=>()=>(t||(t={exports:{}},e(t.exports,t)),t.exports);var ui=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ii(t))!fr.call(e,n)&&n!=="default"&&It(e,n,{get:()=>t[n],enumerable:!(r=ai(t,n))||r.enumerable});return e},st=e=>ui(ci(It(e!=null?ni(oi(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var br=Rt(($t,hr)=>{(function(e,t){typeof $t=="object"&&typeof hr!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})($t,function(){"use strict";function e(r){var n=!0,o=!1,i=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(O){return!!(O&&O!==document&&O.nodeName!=="HTML"&&O.nodeName!=="BODY"&&"classList"in O&&"contains"in O.classList)}function u(O){var ot=O.type,it=O.tagName;return!!(it==="INPUT"&&a[ot]&&!O.readOnly||it==="TEXTAREA"&&!O.readOnly||O.isContentEditable)}function c(O){O.classList.contains("focus-visible")||(O.classList.add("focus-visible"),O.setAttribute("data-focus-visible-added",""))}function l(O){!O.hasAttribute("data-focus-visible-added")||(O.classList.remove("focus-visible"),O.removeAttribute("data-focus-visible-added"))}function f(O){O.metaKey||O.altKey||O.ctrlKey||(s(r.activeElement)&&c(r.activeElement),n=!0)}function m(O){n=!1}function g(O){!s(O.target)||(n||u(O.target))&&c(O.target)}function y(O){!s(O.target)||(O.target.classList.contains("focus-visible")||O.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),l(O.target))}function x(O){document.visibilityState==="hidden"&&(o&&(n=!0),ee())}function ee(){document.addEventListener("mousemove",H),document.addEventListener("mousedown",H),document.addEventListener("mouseup",H),document.addEventListener("pointermove",H),document.addEventListener("pointerdown",H),document.addEventListener("pointerup",H),document.addEventListener("touchmove",H),document.addEventListener("touchstart",H),document.addEventListener("touchend",H)}function P(){document.removeEventListener("mousemove",H),document.removeEventListener("mousedown",H),document.removeEventListener("mouseup",H),document.removeEventListener("pointermove",H),document.removeEventListener("pointerdown",H),document.removeEventListener("pointerup",H),document.removeEventListener("touchmove",H),document.removeEventListener("touchstart",H),document.removeEventListener("touchend",H)}function H(O){O.target.nodeName&&O.target.nodeName.toLowerCase()==="html"||(n=!1,P())}document.addEventListener("keydown",f,!0),document.addEventListener("mousedown",m,!0),document.addEventListener("pointerdown",m,!0),document.addEventListener("touchstart",m,!0),document.addEventListener("visibilitychange",x,!0),ee(),r.addEventListener("focus",g,!0),r.addEventListener("blur",y,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var tr=Rt((nt,er)=>{(function(t,r){typeof nt=="object"&&typeof er=="object"?er.exports=r():typeof define=="function"&&define.amd?define([],r):typeof nt=="object"?nt.ClipboardJS=r():t.ClipboardJS=r()})(nt,function(){return(()=>{var e={134:(n,o,i)=>{"use strict";i.d(o,{default:()=>ti});var a=i(279),s=i.n(a),u=i(370),c=i.n(u),l=i(817),f=i.n(l);function m(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(d){return typeof d}:m=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},m(w)}function g(w,h){if(!(w instanceof h))throw new TypeError("Cannot call a class as a function")}function y(w,h){for(var d=0;d<h.length;d++){var A=h[d];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(w,A.key,A)}}function x(w,h,d){return h&&y(w.prototype,h),d&&y(w,d),w}var ee=function(){function w(h){g(this,w),this.resolveOptions(h),this.initSelection()}return x(w,[{key:"resolveOptions",value:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=d.action,this.container=d.container,this.emitter=d.emitter,this.target=d.target,this.text=d.text,this.trigger=d.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var d=document.documentElement.getAttribute("dir")==="rtl";this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[d?"right":"left"]="-9999px";var A=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(A,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var d=this,A=this.createFakeElement();this.fakeHandlerCallback=function(){return d.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(A),this.selectedText=f()(A),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=f()(this.target),this.copyText()}},{key:"copyText",value:function(){var d;try{d=document.execCommand(this.action)}catch(A){d=!1}this.handleResult(d)}},{key:"handleResult",value:function(d){this.emitter.emit(d?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"copy";if(this._action=d,this._action!=="copy"&&this._action!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(d){if(d!==void 0)if(d&&m(d)==="object"&&d.nodeType===1){if(this.action==="copy"&&d.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(this.action==="cut"&&(d.hasAttribute("readonly")||d.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);this._target=d}else throw new Error('Invalid "target" value, use a valid Element')},get:function(){return this._target}}]),w}();let P=ee;function H(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?H=function(d){return typeof d}:H=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},H(w)}function O(w,h){if(!(w instanceof h))throw new TypeError("Cannot call a class as a function")}function ot(w,h){for(var d=0;d<h.length;d++){var A=h[d];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(w,A.key,A)}}function it(w,h,d){return h&&ot(w.prototype,h),d&&ot(w,d),w}function Jo(w,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(h&&h.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),h&&jt(w,h)}function jt(w,h){return jt=Object.setPrototypeOf||function(A,C){return A.__proto__=C,A},jt(w,h)}function Xo(w){var h=Zo();return function(){var A=at(w),C;if(h){var Y=at(this).constructor;C=Reflect.construct(A,arguments,Y)}else C=A.apply(this,arguments);return Bo(this,C)}}function Bo(w,h){return h&&(H(h)==="object"||typeof h=="function")?h:Go(w)}function Go(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function Zo(){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(w){return!1}}function at(w){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)},at(w)}function Ft(w,h){var d="data-clipboard-".concat(w);if(!!h.hasAttribute(d))return h.getAttribute(d)}var ei=function(w){Jo(d,w);var h=Xo(d);function d(A,C){var Y;return O(this,d),Y=h.call(this),Y.resolveOptions(C),Y.listenClick(A),Y}return it(d,[{key:"resolveOptions",value:function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof C.action=="function"?C.action:this.defaultAction,this.target=typeof C.target=="function"?C.target:this.defaultTarget,this.text=typeof C.text=="function"?C.text:this.defaultText,this.container=H(C.container)==="object"?C.container:document.body}},{key:"listenClick",value:function(C){var Y=this;this.listener=c()(C,"click",function(Ye){return Y.onClick(Ye)})}},{key:"onClick",value:function(C){var Y=C.delegateTarget||C.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new P({action:this.action(Y),target:this.target(Y),text:this.text(Y),container:this.container,trigger:Y,emitter:this})}},{key:"defaultAction",value:function(C){return Ft("action",C)}},{key:"defaultTarget",value:function(C){var Y=Ft("target",C);if(Y)return document.querySelector(Y)}},{key:"defaultText",value:function(C){return Ft("text",C)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],Y=typeof C=="string"?[C]:C,Ye=!!document.queryCommandSupported;return Y.forEach(function(ri){Ye=Ye&&!!document.queryCommandSupported(ri)}),Ye}}]),d}(s());let ti=ei},828:n=>{var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function a(s,u){for(;s&&s.nodeType!==o;){if(typeof s.matches=="function"&&s.matches(u))return s;s=s.parentNode}}n.exports=a},438:(n,o,i)=>{var a=i(828);function s(l,f,m,g,y){var x=c.apply(this,arguments);return l.addEventListener(m,x,y),{destroy:function(){l.removeEventListener(m,x,y)}}}function u(l,f,m,g,y){return typeof l.addEventListener=="function"?s.apply(null,arguments):typeof m=="function"?s.bind(null,document).apply(null,arguments):(typeof l=="string"&&(l=document.querySelectorAll(l)),Array.prototype.map.call(l,function(x){return s(x,f,m,g,y)}))}function c(l,f,m,g){return function(y){y.delegateTarget=a(y.target,f),y.delegateTarget&&g.call(l,y)}}n.exports=u},879:(n,o)=>{o.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},o.nodeList=function(i){var a=Object.prototype.toString.call(i);return i!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in i&&(i.length===0||o.node(i[0]))},o.string=function(i){return typeof i=="string"||i instanceof String},o.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:(n,o,i)=>{var a=i(879),s=i(438);function u(m,g,y){if(!m&&!g&&!y)throw new Error("Missing required arguments");if(!a.string(g))throw new TypeError("Second argument must be a String");if(!a.fn(y))throw new TypeError("Third argument must be a Function");if(a.node(m))return c(m,g,y);if(a.nodeList(m))return l(m,g,y);if(a.string(m))return f(m,g,y);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(m,g,y){return m.addEventListener(g,y),{destroy:function(){m.removeEventListener(g,y)}}}function l(m,g,y){return Array.prototype.forEach.call(m,function(x){x.addEventListener(g,y)}),{destroy:function(){Array.prototype.forEach.call(m,function(x){x.removeEventListener(g,y)})}}}function f(m,g,y){return s(document.body,m,g,y)}n.exports=u},817:n=>{function o(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var s=i.hasAttribute("readonly");s||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),s||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var u=window.getSelection(),c=document.createRange();c.selectNodeContents(i),u.removeAllRanges(),u.addRange(c),a=u.toString()}return a}n.exports=o},279:n=>{function o(){}o.prototype={on:function(i,a,s){var u=this.e||(this.e={});return(u[i]||(u[i]=[])).push({fn:a,ctx:s}),this},once:function(i,a,s){var u=this;function c(){u.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(),u=0,c=s.length;for(u;u<c;u++)s[u].fn.apply(s[u].ctx,a);return this},off:function(i,a){var s=this.e||(this.e={}),u=s[i],c=[];if(u&&a)for(var l=0,f=u.length;l<f;l++)u[l].fn!==a&&u[l].fn._!==a&&c.push(u[l]);return c.length?s[i]=c:delete s[i],this}},n.exports=o,n.exports.TinyEmitter=o}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}return(()=>{r.n=n=>{var o=n&&n.__esModule?()=>n.default:()=>n;return r.d(o,{a:o}),o}})(),(()=>{r.d=(n,o)=>{for(var i in o)r.o(o,i)&&!r.o(n,i)&&Object.defineProperty(n,i,{enumerable:!0,get:o[i]})}})(),(()=>{r.o=(n,o)=>Object.prototype.hasOwnProperty.call(n,o)})(),r(134)})().default})});var Mo=Rt((ov,To)=>{"use strict";var Bi=/["'&<>]/;To.exports=Gi;function Gi(e){var t=""+e,r=Bi.exec(t);if(!r)return t;var n,o="",i=0,a=0;for(i=r.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}a!==i&&(o+=t.substring(a,i)),a=i+1,o+=n}return a!==i?o+t.substring(a,i):o}});var fx=st(br());var Pt=function(e,t){return Pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},Pt(e,t)};function z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Pt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function vr(e,t,r,n){function o(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(n.next(l))}catch(f){a(f)}}function u(l){try{c(n.throw(l))}catch(f){a(f)}}function c(l){l.done?i(l.value):o(l.value).then(s,u)}c((n=n.apply(e,t||[])).next())})}function gr(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,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 u([c,l])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=c[0]&2?o.return:c[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,c[1])).done)return i;switch(o=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++,o=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],o=0}finally{n=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function te(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function j(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return i}function R(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function yr(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 te=="function"?te(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(a){return new Promise(function(s,u){a=e[i](a),o(s,u,a.done,a.value)})}}function o(i,a,s,u){Promise.resolve(u).then(function(c){i({value:c,done:s})},a)}}function S(e){return typeof e=="function"}function ct(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var ut=ct(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
`+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=r}});function ge(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ne=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(Array.isArray(a))try{for(var s=te(a),u=s.next();!u.done;u=s.next()){var c=u.value;c.remove(this)}}catch(x){t={error:x}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else a==null||a.remove(this);var l=this.initialTeardown;if(S(l))try{l()}catch(x){i=x instanceof ut?x.errors:[x]}var f=this._teardowns;if(f){this._teardowns=null;try{for(var m=te(f),g=m.next();!g.done;g=m.next()){var y=g.value;try{xr(y)}catch(x){i=i!=null?i:[],x instanceof ut?i=R(R([],j(i)),j(x.errors)):i.push(x)}}}catch(x){n={error:x}}finally{try{g&&!g.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}}if(i)throw new ut(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)xr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=(r=this._teardowns)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&ge(r,t)},e.prototype.remove=function(t){var r=this._teardowns;r&&ge(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var Dt=ne.EMPTY;function lt(e){return e instanceof ne||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function xr(e){S(e)?e():e.unsubscribe()}var me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var $e={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=$e.delegate;return((r==null?void 0:r.setTimeout)||setTimeout).apply(void 0,R([],j(e)))},clearTimeout:function(e){var t=$e.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function pt(e){$e.setTimeout(function(){var t=me.onUnhandledError;if(t)t(e);else throw e})}function J(){}var Sr=function(){return Vt("C",void 0,void 0)}();function wr(e){return Vt("E",void 0,e)}function Er(e){return Vt("N",e,void 0)}function Vt(e,t,r){return{kind:e,value:t,error:r}}var Je=function(e){z(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,lt(r)&&r.add(n)):n.destination=li,n}return t.create=function(r,n,o){return new Ut(r,n,o)},t.prototype.next=function(r){this.isStopped?Nt(Er(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?Nt(wr(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?Nt(Sr,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},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}(ne);var Ut=function(e){z(t,e);function t(r,n,o){var i=e.call(this)||this,a;if(S(r))a=r;else if(r){a=r.next,n=r.error,o=r.complete;var s;i&&me.useDeprecatedNextContext?(s=Object.create(r),s.unsubscribe=function(){return i.unsubscribe()}):s=r,a=a==null?void 0:a.bind(s),n=n==null?void 0:n.bind(s),o=o==null?void 0:o.bind(s)}return i.destination={next:a?Wt(a,i):J,error:Wt(n||Or,i),complete:o?Wt(o,i):J},i}return t}(Je);function Wt(e,t){return me.useDeprecatedSynchronousErrorHandling?function(r){try{e(r)}catch(n){t.__syncError=n}}:e}function Or(e){if(me.useDeprecatedSynchronousErrorHandling)throw e;pt(e)}function Nt(e,t){var r=me.onStoppedNotification;r&&$e.setTimeout(function(){return r(e,t)})}var li={closed:!0,next:J,error:Or,complete:J};var we=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ce(e){return e}function Tr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return zt(e)}function zt(e){return e.length===0?ce:e.length===1?e[0]:function(r){return e.reduce(function(n,o){return o(n)},r)}}var M=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var o=pi(t)?t:new Ut(t,r,n),i=this,a=i.operator,s=i.source;if(o.add(a?a.call(o,s):s||me.useDeprecatedSynchronousErrorHandling?this._subscribe(o):this._trySubscribe(o)),me.useDeprecatedSynchronousErrorHandling)for(var u=o;u;){if(u.__syncError)throw u.__syncError;u=u.destination}return o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Mr(r),new r(function(o,i){var a;a=n.subscribe(function(s){try{t(s)}catch(u){i(u),a==null||a.unsubscribe()}},i,o)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[we]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return t.length?zt(t)(this):this},e.prototype.toPromise=function(t){var r=this;return t=Mr(t),new t(function(n,o){var i;r.subscribe(function(a){return i=a},function(a){return o(a)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function Mr(e){var t;return(t=e!=null?e:me.Promise)!==null&&t!==void 0?t:Promise}function fi(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function pi(e){return e&&e instanceof Je||fi(e)&&lt(e)}function mi(e){return S(e==null?void 0:e.lift)}function b(e){return function(t){if(mi(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}var v=function(e){z(t,e);function t(r,n,o,i,a){var s=e.call(this,r)||this;return s.onFinalize=a,s._next=n?function(u){try{n(u)}catch(c){this.destination.error(c)}}:e.prototype._next,s._error=o?function(u){try{o(u)}catch(c){this.destination.error(c)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=i?function(){try{i()}catch(u){this.destination.error(u)}finally{this.unsubscribe()}}:e.prototype._complete,s}return t.prototype.unsubscribe=function(){var r,n=this.closed;e.prototype.unsubscribe.call(this),!n&&((r=this.onFinalize)===null||r===void 0||r.call(this))},t}(Je);var Pe={schedule:function(e){var t=requestAnimationFrame,r=cancelAnimationFrame,n=Pe.delegate;n&&(t=n.requestAnimationFrame,r=n.cancelAnimationFrame);var o=t(function(i){r=void 0,e(i)});return new ne(function(){return r==null?void 0:r(o)})},requestAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Pe.delegate;return((r==null?void 0:r.requestAnimationFrame)||requestAnimationFrame).apply(void 0,R([],j(e)))},cancelAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Pe.delegate;return((r==null?void 0:r.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,R([],j(e)))},delegate:void 0};var Ar=ct(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var L=function(e){z(t,e);function t(){var r=e.call(this)||this;return r.observers=[],r.closed=!1,r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new Lr(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ar},t.prototype.next=function(r){var n,o;if(this._throwIfClosed(),!this.isStopped){var i=this.observers.slice();try{for(var a=te(i),s=a.next();!s.done;s=a.next()){var u=s.value;u.next(r)}}catch(c){n={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}}},t.prototype.error=function(r){if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;for(var n=this.observers;n.length;)n.shift().error(r)}},t.prototype.complete=function(){if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;for(var r=this.observers;r.length;)r.shift().complete()}},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,a=o.isStopped,s=o.observers;return i||a?Dt:(s.push(r),new ne(function(){return ge(n.observers,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,a=n.isStopped;o?r.error(i):a&&r.complete()},t.prototype.asObservable=function(){var r=new M;return r.source=this,r},t.create=function(r,n){return new Lr(r,n)},t}(M);var Lr=function(e){z(t,e);function t(r,n){var o=e.call(this)||this;return o.destination=r,o.source=n,o}return t.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},t.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:Dt},t}(L);var Xe={now:function(){return(Xe.delegate||Date).now()},delegate:void 0};var ft=function(e){z(t,e);function t(r,n,o){r===void 0&&(r=Infinity),n===void 0&&(n=Infinity),o===void 0&&(o=Xe);var i=e.call(this)||this;return i.bufferSize=r,i.windowTime=n,i.timestampProvider=o,i.buffer=[],i.infiniteTimeWindow=!0,i.infiniteTimeWindow=n===Infinity,i.bufferSize=Math.max(1,r),i.windowTime=Math.max(1,n),i}return t.prototype.next=function(r){var n=this,o=n.isStopped,i=n.buffer,a=n.infiniteTimeWindow,s=n.timestampProvider,u=n.windowTime;o||(i.push(r),!a&&i.push(s.now()+u)),this.trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this.trimBuffer();for(var n=this._innerSubscribe(r),o=this,i=o.infiniteTimeWindow,a=o.buffer,s=a.slice(),u=0;u<s.length&&!r.closed;u+=i?1:2)r.next(s[u]);return this._checkFinalizedStatuses(r),n},t.prototype.trimBuffer=function(){var r=this,n=r.bufferSize,o=r.timestampProvider,i=r.buffer,a=r.infiniteTimeWindow,s=(a?1:2)*n;if(n<Infinity&&s<i.length&&i.splice(0,i.length-s),!a){for(var u=o.now(),c=0,l=1;l<i.length&&i[l]<=u;l+=2)c=l;c&&i.splice(0,c+1)}},t}(L);var _r=function(e){z(t,e);function t(r,n){return e.call(this)||this}return t.prototype.schedule=function(r,n){return n===void 0&&(n=0),this},t}(ne);var Be={setInterval:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Be.delegate;return((r==null?void 0:r.setInterval)||setInterval).apply(void 0,R([],j(e)))},clearInterval:function(e){var t=Be.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var mt=function(e){z(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o.scheduler=r,o.work=n,o.pending=!1,o}return t.prototype.schedule=function(r,n){if(n===void 0&&(n=0),this.closed)return this;this.state=r;var o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(i,this.id,n),this},t.prototype.requestAsyncId=function(r,n,o){return o===void 0&&(o=0),Be.setInterval(r.flush.bind(r,this),o)},t.prototype.recycleAsyncId=function(r,n,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return n;Be.clearInterval(n)},t.prototype.execute=function(r,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(r,n);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(r,n){var o=!1,i;try{this.work(r)}catch(a){o=!0,i=!!a&&a||new Error(a)}if(o)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var r=this,n=r.id,o=r.scheduler,i=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,ge(i,this),n!=null&&(this.id=this.recycleAsyncId(o,n,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(_r);var Qt=function(){function e(t,r){r===void 0&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(t,r,n){return r===void 0&&(r=0),new this.schedulerActionCtor(this,t).schedule(n,r)},e.now=Xe.now,e}();var dt=function(e){z(t,e);function t(r,n){n===void 0&&(n=Qt.now);var o=e.call(this,r,n)||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return t.prototype.flush=function(r){var n=this.actions;if(this.active){n.push(r);return}var o;this.active=!0;do if(o=r.execute(r.state,r.delay))break;while(r=n.shift());if(this.active=!1,o){for(;r=n.shift();)r.unsubscribe();throw o}},t}(Qt);var Ge=new dt(mt),Hr=Ge;var Cr=function(e){z(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o.scheduler=r,o.work=n,o}return t.prototype.requestAsyncId=function(r,n,o){return o===void 0&&(o=0),o!==null&&o>0?e.prototype.requestAsyncId.call(this,r,n,o):(r.actions.push(this),r.scheduled||(r.scheduled=Pe.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,n,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,r,n,o);r.actions.length===0&&(Pe.cancelAnimationFrame(n),r.scheduled=void 0)},t}(mt);var kr=function(e){z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this.active=!0,this.scheduled=void 0;var n=this.actions,o,i=-1;r=r||n.shift();var a=n.length;do if(o=r.execute(r.state,r.delay))break;while(++i<a&&(r=n.shift()));if(this.active=!1,o){for(;++i<a&&(r=n.shift());)r.unsubscribe();throw o}},t}(dt);var X=new kr(Cr);var de=new M(function(e){return e.complete()});function De(e,t){return new M(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}var Ve=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function ht(e){return S(e==null?void 0:e.then)}function jr(e,t){return new M(function(r){var n=new ne;return n.add(t.schedule(function(){var o=e[we]();n.add(o.subscribe({next:function(i){n.add(t.schedule(function(){return r.next(i)}))},error:function(i){n.add(t.schedule(function(){return r.error(i)}))},complete:function(){n.add(t.schedule(function(){return r.complete()}))}}))})),n})}function Fr(e,t){return new M(function(r){return t.schedule(function(){return e.then(function(n){r.add(t.schedule(function(){r.next(n),r.add(t.schedule(function(){return r.complete()}))}))},function(n){r.add(t.schedule(function(){return r.error(n)}))})})})}function di(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var bt=di();function Ir(e,t,r,n){n===void 0&&(n=0);var o=t.schedule(function(){try{r.call(this)}catch(i){e.error(i)}},n);return e.add(o),o}function Rr(e,t){return new M(function(r){var n;return r.add(t.schedule(function(){n=e[bt](),Ir(r,t,function(){var o=n.next(),i=o.value,a=o.done;a?r.complete():(r.next(i),this.schedule())})})),function(){return S(n==null?void 0:n.return)&&n.return()}})}function vt(e){return S(e[we])}function gt(e){return S(e==null?void 0:e[bt])}function $r(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(function(r){var n=new ne;return n.add(t.schedule(function(){var o=e[Symbol.asyncIterator]();n.add(t.schedule(function(){var i=this;o.next().then(function(a){a.done?r.complete():(r.next(a.value),i.schedule())})}))})),n})}function yt(e){return Symbol.asyncIterator&&S(e==null?void 0:e[Symbol.asyncIterator])}function xt(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, Array, AsyncIterable, or Iterable.")}function Pr(e,t){if(e!=null){if(vt(e))return jr(e,t);if(Ve(e))return De(e,t);if(ht(e))return Fr(e,t);if(yt(e))return $r(e,t);if(gt(e))return Rr(e,t)}throw xt(e)}function ye(e,t){return t?Pr(e,t):D(e)}function D(e){if(e instanceof M)return e;if(e!=null){if(vt(e))return hi(e);if(Ve(e))return qt(e);if(ht(e))return bi(e);if(yt(e))return gi(e);if(gt(e))return vi(e)}throw xt(e)}function hi(e){return new M(function(t){var r=e[we]();if(S(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function qt(e){return new M(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function bi(e){return new M(function(t){e.then(function(r){t.closed||(t.next(r),t.complete())},function(r){return t.error(r)}).then(null,pt)})}function vi(e){return new M(function(t){var r,n;try{for(var o=te(e),i=o.next();!i.done;i=o.next()){var a=i.value;if(t.next(a),t.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.complete()})}function gi(e){return new M(function(t){yi(e,t).catch(function(r){return t.error(r)})})}function yi(e,t){var r,n,o,i;return vr(this,void 0,void 0,function(){var a,s;return gr(this,function(u){switch(u.label){case 0:u.trys.push([0,5,6,11]),r=yr(e),u.label=1;case 1:return[4,r.next()];case 2:if(n=u.sent(),!!n.done)return[3,4];if(a=n.value,t.next(a),t.closed)return[2];u.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=u.sent(),o={error:s},[3,11];case 6:return u.trys.push([6,,9,10]),n&&!n.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:u.sent(),u.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function he(e,t){return t?De(e,t):qt(e)}function St(e){return e&&S(e.schedule)}function Kt(e){return e[e.length-1]}function Ee(e){return S(Kt(e))?e.pop():void 0}function le(e){return St(Kt(e))?e.pop():void 0}function wt(e,t){return typeof Kt(e)=="number"?e.pop():t}function k(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=le(e);return r?De(e,r):he(e)}function Dr(e){return e instanceof Date&&!isNaN(e)}function p(e,t){return b(function(r,n){var o=0;r.subscribe(new v(n,function(i){n.next(e.call(t,i,o++))}))})}var xi=Array.isArray;function Si(e,t){return xi(t)?e.apply(void 0,R([],j(t))):e(t)}function Ue(e){return p(function(t){return Si(e,t)})}function B(e,t){return t===void 0&&(t=0),b(function(r,n){r.subscribe(new v(n,function(o){return n.add(e.schedule(function(){return n.next(o)},t))},function(o){return n.add(e.schedule(function(){return n.error(o)},t))},function(){return n.add(e.schedule(function(){return n.complete()},t))}))})}var wi=Array.isArray,Ei=Object.getPrototypeOf,Oi=Object.prototype,Ti=Object.keys;function Vr(e){if(e.length===1){var t=e[0];if(wi(t))return{args:t,keys:null};if(Mi(t)){var r=Ti(t);return{args:r.map(function(n){return t[n]}),keys:r}}}return{args:e,keys:null}}function Mi(e){return e&&typeof e=="object"&&Ei(e)===Oi}function Ur(e,t){return e.reduce(function(r,n,o){return r[n]=t[o],r},{})}function G(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=le(e),n=Ee(e),o=Vr(e),i=o.args,a=o.keys;if(i.length===0)return ye([],r);var s=new M(Yt(i,r,a?function(u){return Ur(a,u)}:ce));return n?s.pipe(Ue(n)):s}function Yt(e,t,r){return r===void 0&&(r=ce),function(n){Nr(t,function(){for(var o=e.length,i=new Array(o),a=o,s=o,u=function(l){Nr(t,function(){var f=ye(e[l],t),m=!1;f.subscribe(new v(n,function(g){i[l]=g,m||(m=!0,s--),s||n.next(r(i.slice()))},void 0,function(){--a||n.complete()}))},n)},c=0;c<o;c++)u(c)},n)}}function Nr(e,t,r){e?r.add(e.schedule(t)):t()}function Wr(e,t,r,n,o,i,a,s){var u=[],c=0,l=0,f=!1,m=function(){f&&!u.length&&!c&&t.complete()},g=function(x){return c<n?y(x):u.push(x)},y=function(x){i&&t.next(x),c++;var ee=!1;D(r(x,l++)).subscribe(new v(t,function(P){o==null||o(P),i?g(P):t.next(P)},void 0,function(){ee=!0},function(){if(ee)try{c--;for(var P=function(){var H=u.shift();a?t.add(a.schedule(function(){return y(H)})):y(H)};u.length&&c<n;)P();m()}catch(H){t.error(H)}}))};return e.subscribe(new v(t,g,void 0,function(){f=!0,m()})),function(){s==null||s()}}function oe(e,t,r){return r===void 0&&(r=Infinity),S(t)?oe(function(n,o){return p(function(i,a){return t(n,i,o,a)})(D(e(n,o)))},r):(typeof t=="number"&&(r=t),b(function(n,o){return Wr(n,o,e,r)}))}function Ne(e){return e===void 0&&(e=Infinity),oe(ce,e)}function zr(){return Ne(1)}function Ze(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return zr()(he(e,le(e)))}function Oe(e){return new M(function(t){D(e()).subscribe(t)})}var Ai=["addListener","removeListener"],Li=["addEventListener","removeEventListener"],_i=["on","off"];function T(e,t,r,n){if(S(r)&&(n=r,r=void 0),n)return T(e,t,r).pipe(Ue(n));var o=j(ki(e)?Li.map(function(s){return function(u){return e[s](t,u,r)}}):Hi(e)?Ai.map(Qr(e,t)):Ci(e)?_i.map(Qr(e,t)):[],2),i=o[0],a=o[1];return!i&&Ve(e)?oe(function(s){return T(s,t,r)})(he(e)):new M(function(s){if(!i)throw new TypeError("Invalid event target");var u=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(u),function(){return a(u)}})}function Qr(e,t){return function(r){return function(n){return e[r](t,n)}}}function Hi(e){return S(e.addListener)&&S(e.removeListener)}function Ci(e){return S(e.on)&&S(e.off)}function ki(e){return S(e.addEventListener)&&S(e.removeEventListener)}function qr(e,t,r){e===void 0&&(e=0),r===void 0&&(r=Hr);var n=-1;return t!=null&&(St(t)?r=t:n=t),new M(function(o){var i=Dr(e)?+e-r.now():e;i<0&&(i=0);var a=0;return r.schedule(function(){o.closed||(o.next(a++),0<=n?this.schedule(void 0,n):o.complete())},i)})}var ji=Array.isArray;function Te(e){return e.length===1&&ji(e[0])?e[0]:e}function F(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=le(e),n=wt(e,Infinity),o=Te(e);return o.length?o.length===1?D(o[0]):Ne(n)(he(o,r)):de}var Z=new M(J);function _(e,t){return b(function(r,n){var o=0;r.subscribe(new v(n,function(i){return e.call(t,i,o++)&&n.next(i)}))})}function Kr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Ee(e),n=Te(e);return n.length?new M(function(o){var i=n.map(function(){return[]}),a=n.map(function(){return!1});o.add(function(){i=a=null});for(var s=function(c){D(n[c]).subscribe(new v(o,function(l){if(i[c].push(l),i.every(function(m){return m.length})){var f=i.map(function(m){return m.shift()});o.next(r?r.apply(void 0,R([],j(f))):f),i.some(function(m,g){return!m.length&&a[g]})&&o.complete()}},void 0,function(){a[c]=!0,!i[c].length&&o.complete()}))},u=0;!o.closed&&u<n.length;u++)s(u);return function(){i=a=null}}):de}function Me(e,t){return t===void 0&&(t=null),t=t!=null?t:e,b(function(r,n){var o=[],i=0;r.subscribe(new v(n,function(a){var s,u,c,l,f=null;i++%t==0&&o.push([]);try{for(var m=te(o),g=m.next();!g.done;g=m.next()){var y=g.value;y.push(a),e<=y.length&&(f=f!=null?f:[],f.push(y))}}catch(P){s={error:P}}finally{try{g&&!g.done&&(u=m.return)&&u.call(m)}finally{if(s)throw s.error}}if(f)try{for(var x=te(f),ee=x.next();!ee.done;ee=x.next()){var y=ee.value;ge(o,y),n.next(y)}}catch(P){c={error:P}}finally{try{ee&&!ee.done&&(l=x.return)&&l.call(x)}finally{if(c)throw c.error}}},void 0,function(){var a,s;try{for(var u=te(o),c=u.next();!c.done;c=u.next()){var l=c.value;n.next(l)}}catch(f){a={error:f}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(a)throw a.error}}n.complete()},function(){o=null}))})}function et(e){return b(function(t,r){var n=null,o=!1,i;n=t.subscribe(new v(r,void 0,function(a){i=D(e(a,et(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Yr(e,t,r,n,o){return function(i,a){var s=r,u=t,c=0;i.subscribe(new v(a,function(l){var f=c++;u=s?e(u,l,f):(s=!0,l),n&&a.next(u)},void 0,o&&function(){s&&a.next(u),a.complete()}))}}function Jr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Ee(e);return r?Tr(Jr.apply(void 0,R([],j(e))),Ue(r)):b(function(n,o){Yt(R([n],j(Te(e))))(o)})}function Jt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Jr.apply(void 0,R([],j(e)))}function Xr(e,t){return S(t)?oe(e,t,1):oe(e,1)}function Br(e,t){return t===void 0&&(t=Ge),b(function(r,n){var o=null,i=null,a=null,s=function(){if(o){o.unsubscribe(),o=null;var c=i;i=null,n.next(c)}};function u(){var c=a+e,l=t.now();if(l<c){o=this.schedule(void 0,c-l);return}s()}r.subscribe(new v(n,function(c){i=c,a=t.now(),o||(o=t.schedule(u,e))},void 0,function(){s(),n.complete()},function(){i=o=null}))})}function Et(e){return e===void 0&&(e=null),b(function(t,r){var n=!1;t.subscribe(new v(r,function(o){n=!0,r.next(o)},void 0,function(){n||r.next(e),r.complete()}))})}function tt(e){return e<=0?function(){return de}:b(function(t,r){var n=0;t.subscribe(new v(r,function(o){++n<=e&&(r.next(o),e<=n&&r.complete())}))})}function Gr(){return b(function(e,t){e.subscribe(new v(t,J))})}function ue(e){return b(function(t,r){t.subscribe(new v(r,function(){return r.next(e)}))})}function Xt(e,t){return t?function(r){return Ze(t.pipe(tt(1),Gr()),r.pipe(Xt(e)))}:oe(function(r,n){return e(r,n).pipe(tt(1),ue(r))})}function Ae(e,t){t===void 0&&(t=Ge);var r=qr(e,t);return Xt(function(){return r})}function Q(e,t){return t===void 0&&(t=ce),e=e!=null?e:Fi,b(function(r,n){var o,i=!0;r.subscribe(new v(n,function(a){var s=t(a);(i||!e(o,s))&&(i=!1,o=s,n.next(a))}))})}function Fi(e,t){return e===t}function N(e,t){return Q(function(r,n){return t?t(r[e],n[e]):r[e]===n[e]})}function V(e){return b(function(t,r){t.subscribe(r),r.add(e)})}function Zr(e){return e<=0?function(){return de}:b(function(t,r){var n=[];t.subscribe(new v(r,function(o){n.push(o),e<n.length&&n.shift()},void 0,function(){var o,i;try{for(var a=te(n),s=a.next();!s.done;s=a.next()){var u=s.value;r.next(u)}}catch(c){o={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}r.complete()},function(){n=null}))})}function Ii(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=le(e),n=wt(e,Infinity);return e=Te(e),b(function(o,i){Ne(n)(he(R([o],j(e)),r)).subscribe(i)})}function Ot(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ii.apply(void 0,R([],j(e)))}function rt(e){return b(function(t,r){var n=!1,o=null;t.subscribe(new v(r,function(a){n=!0,o=a}));var i=function(){if(n){n=!1;var a=o;o=null,r.next(a)}};e.subscribe(new v(r,i,void 0,J))})}function en(e,t){return b(Yr(e,t,arguments.length>=2,!0))}function ie(e){e=e||{};var t=e.connector,r=t===void 0?function(){return new L}:t,n=e.resetOnComplete,o=n===void 0?!0:n,i=e.resetOnError,a=i===void 0?!0:i,s=e.resetOnRefCountZero,u=s===void 0?!0:s,c=null,l=null,f=0,m=!1,g=!1,y=function(){c=l=null,m=g=!1};return b(function(x,ee){return f++,l=l!=null?l:r(),l.subscribe(ee),c||(c=ye(x).subscribe({next:function(P){return l.next(P)},error:function(P){g=!0;var H=l;a&&y(),H.error(P)},complete:function(){m=!0;var P=l;o&&y(),P.complete()}})),function(){if(f--,u&&!f&&!g&&!m){var P=c;y(),P==null||P.unsubscribe()}}})}function ae(e,t,r){var n,o,i,a=!1;return e&&typeof e=="object"?(i=(n=e.bufferSize)!==null&&n!==void 0?n:Infinity,t=(o=e.windowTime)!==null&&o!==void 0?o:Infinity,a=!!e.refCount,r=e.scheduler):i=e!=null?e:Infinity,ie({connector:function(){return new ft(i,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function Bt(e){return _(function(t,r){return e<=r})}function tn(e){return b(function(t,r){var n=!1,o=new v(r,function(){o==null||o.unsubscribe(),n=!0},void 0,J);D(e).subscribe(o),t.subscribe(new v(r,function(i){return n&&r.next(i)}))})}function U(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=le(e);return b(function(n,o){(r?Ze(e,n,r):Ze(e,n)).subscribe(o)})}function E(e,t){return b(function(r,n){var o=null,i=0,a=!1,s=function(){return a&&!o&&n.complete()};r.subscribe(new v(n,function(u){o==null||o.unsubscribe();var c=0,l=i++;D(e(u,l)).subscribe(o=new v(n,function(f){return n.next(t?t(u,f,l,c++):f)},void 0,function(){o=null,s()}))},void 0,function(){a=!0,s()}))})}function rn(e,t){return t?E(function(){return e},t):E(function(){return e})}function nn(e){return b(function(t,r){D(e).subscribe(new v(r,function(){return r.complete()},void 0,J)),!r.closed&&t.subscribe(r)})}function on(e,t){return t===void 0&&(t=!1),b(function(r,n){var o=0;r.subscribe(new v(n,function(i){var a=e(i,o++);(a||t)&&n.next(i),!a&&n.complete()}))})}function I(e,t,r){var n=S(e)||t||r?{next:e,error:t,complete:r}:e;return n?b(function(o,i){o.subscribe(new v(i,function(a){var s;(s=n.next)===null||s===void 0||s.call(n,a),i.next(a)},function(a){var s;(s=n.error)===null||s===void 0||s.call(n,a),i.error(a)},function(){var a;(a=n.complete)===null||a===void 0||a.call(n),i.complete()}))}):ce}var Ri={leading:!0,trailing:!1};function an(e,t){var r=t===void 0?Ri:t,n=r.leading,o=r.trailing;return b(function(i,a){var s=!1,u=null,c=null,l=!1,f=function(){c==null||c.unsubscribe(),c=null,o&&(y(),l&&a.complete())},m=function(){c=null,l&&a.complete()},g=function(x){return c=D(e(x)).subscribe(new v(a,f,void 0,m))},y=function(){if(s){s=!1;var x=u;u=null,a.next(x),!l&&g(x)}};i.subscribe(new v(a,function(x){s=!0,u=x,!(c&&!c.closed)&&(n?y():g(x))},void 0,function(){l=!0,!(o&&s&&c&&!c.closed)&&a.complete()}))})}function be(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Ee(e);return b(function(n,o){for(var i=e.length,a=new Array(i),s=e.map(function(){return!1}),u=!1,c=function(f){D(e[f]).subscribe(new v(o,function(m){a[f]=m,!u&&!s[f]&&(s[f]=!0,(u=s.every(ce))&&(s=null))},void 0,J))},l=0;l<i;l++)c(l);n.subscribe(new v(o,function(f){if(u){var m=R([f],j(a));o.next(r?r.apply(void 0,R([],j(m))):m)}}))})}function $i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return b(function(r,n){Kr.apply(void 0,R([r],j(e))).subscribe(n)})}function sn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return $i.apply(void 0,R([],j(e)))}function cn(){let e=new ft;return T(document,"DOMContentLoaded").pipe(ue(document)).subscribe(e),e}function se(e,t=document){return t.querySelector(e)||void 0}function pe(e,t=document){let r=se(e,t);if(typeof r=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return r}function Ce(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function q(e,t=document){return Array.from(t.querySelectorAll(e))}function We(e){return document.createElement(e)}function ke(e,...t){e.replaceWith(...t)}function Le(e,t=!0){t?e.focus():e.blur()}function un(e){return F(T(e,"focus"),T(e,"blur")).pipe(p(({type:t})=>t==="focus"),U(e===Ce()))}var ln=new L,Pi=Oe(()=>k(new ResizeObserver(e=>{for(let t of e)ln.next(t)}))).pipe(E(e=>Z.pipe(U(e)).pipe(V(()=>e.disconnect()))),ae(1));function je(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Tt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function ze(e){return Pi.pipe(I(t=>t.observe(e)),E(t=>ln.pipe(_(({target:r})=>r===e),V(()=>t.unobserve(e)),p(({contentRect:r})=>({width:r.width,height:r.height})))),U(je(e)))}function pn(e){return{x:e.scrollLeft,y:e.scrollTop}}function Di(e){return F(T(e,"scroll"),T(window,"resize")).pipe(p(()=>pn(e)),U(pn(e)))}function fn(e,t=16){return Di(e).pipe(p(({y:r})=>{let n=je(e),o=Tt(e);return r>=o.height-n.height-t}),Q())}function mn(e){if(e instanceof HTMLInputElement)e.select();else throw new Error("Not implemented")}var Mt={drawer:pe("[data-md-toggle=drawer]"),search:pe("[data-md-toggle=search]")};function dn(e){return Mt[e].checked}function Fe(e,t){Mt[e].checked!==t&&Mt[e].click()}function At(e){let t=Mt[e];return T(t,"change").pipe(p(()=>t.checked),U(t.checked))}function Vi(e){switch(e.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return e.isContentEditable}}function hn(){return T(window,"keydown").pipe(_(e=>!(e.metaKey||e.ctrlKey)),p(e=>({mode:dn("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),_(({mode:e})=>{if(e==="global"){let t=Ce();if(typeof t!="undefined")return!Vi(t)}return!0}),ie())}function bn(){return new URL(location.href)}function vn(e){location.href=e.href}function gn(){return new L}function yn(){return location.hash.substring(1)}function xn(e){let t=We("a");t.href=e,t.addEventListener("click",r=>r.stopPropagation()),t.click()}function Ui(){return T(window,"hashchange").pipe(p(yn),U(yn()),_(e=>e.length>0),ie())}function Sn(){return Ui().pipe(E(e=>k(se(`[id="${e}"]`))))}function Qe(e){let t=matchMedia(e);return T(t,"change").pipe(p(r=>r.matches),U(t.matches))}function wn(){return F(Qe("print").pipe(_(Boolean)),T(window,"beforeprint")).pipe(ue(void 0))}function Gt(e,t){return e.pipe(E(r=>r?t():Z))}function Lt(e,t={credentials:"same-origin"}){return ye(fetch(e.toString(),t)).pipe(_(r=>r.status===200))}function _e(e,t){return Lt(e,t).pipe(E(r=>r.json()),ae(1))}function En(e,t){let r=new DOMParser;return Lt(e,t).pipe(E(n=>n.text()),p(n=>r.parseFromString(n,"text/xml")),ae(1))}function On(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function Zt({x:e,y:t}){window.scrollTo(e||0,t||0)}function Tn(){return F(T(window,"scroll",{passive:!0}),T(window,"resize",{passive:!0})).pipe(p(On),U(On()))}function Mn(){return{width:innerWidth,height:innerHeight}}function An(){return T(window,"resize",{passive:!0}).pipe(p(Mn),U(Mn()))}function Ln(){return G([Tn(),An()]).pipe(p(([e,t])=>({offset:e,size:t})),ae(1))}function _t(e,{viewport$:t,header$:r}){let n=t.pipe(N("size")),o=G([n,r]).pipe(p(()=>({x:e.offsetLeft,y:e.offsetTop})));return G([r,t,o]).pipe(p(([{height:i},{offset:a,size:s},{x:u,y:c}])=>({offset:{x:a.x-u,y:a.y-c+i},size:s})))}function _n(e,{tx$:t}){let r=T(e,"message").pipe(p(({data:n})=>n));return t.pipe(an(()=>r,{leading:!0,trailing:!0}),I(n=>e.postMessage(n)),rn(r),ie())}var Ni=pe("#__config"),qe=JSON.parse(Ni.textContent);qe.base=new URL(qe.base,bn()).toString().replace(/\/$/,"");function re(){return qe}function Ht(e){return qe.features.includes(e)}function K(e,t){return typeof t!="undefined"?qe.translations[e].replace("#",t.toString()):qe.translations[e]}function He(e,t=document){return pe(`[data-md-component=${e}]`,t)}function ve(e,t=document){return q(`[data-md-component=${e}]`,t)}var po=st(tr());function Hn(e,t=0){e.setAttribute("tabindex",t.toString())}function Cn(e){e.removeAttribute("tabindex")}function kn(e,t){e.setAttribute("data-md-state","lock"),e.style.top=`-${t}px`}function jn(e){let t=-1*parseInt(e.style.top,10);e.removeAttribute("data-md-state"),e.style.top="",t&&window.scrollTo(0,t)}function Fn(e,t){e.setAttribute("data-md-state",t)}function In(e){e.removeAttribute("data-md-state")}function Rn(e,t){e.classList.toggle("md-nav__link--active",t)}function $n(e){e.classList.remove("md-nav__link--active")}function Pn(e,t){e.firstElementChild.innerHTML=t}function Dn(e,t){e.setAttribute("data-md-state",t)}function Vn(e){e.removeAttribute("data-md-state")}function Un(e,t){e.setAttribute("data-md-state",t)}function Nn(e){e.removeAttribute("data-md-state")}function Wn(e,t){e.setAttribute("data-md-state",t)}function zn(e){e.removeAttribute("data-md-state")}function Qn(e,t){e.placeholder=t}function qn(e){e.placeholder=K("search.placeholder")}function Kn(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)Kn(e,r)}function $(e,t,...r){let n=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="boolean"?n.setAttribute(o,t[o]):t[o]&&n.setAttribute(o,"");for(let o of r)Kn(n,o);return n}function Yn(e,t){let r=t;if(e.length>r){for(;e[r]!==" "&&--r>0;);return`${e.substring(0,r)}...`}return e}function xe(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function Wi(e){let t=0;for(let r=0,n=e.length;r<n;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}function rr(e){let t=re();return`${e}[${Wi(t.base)}]`}function Jn(e,t){switch(t){case 0:e.textContent=K("search.result.none");break;case 1:e.textContent=K("search.result.one");break;default:e.textContent=K("search.result.other",xe(t))}}function Xn(e){e.textContent=K("search.result.placeholder")}function Bn(e,t){e.appendChild(t)}function Gn(e){e.innerHTML=""}function Zn(e,t){e.style.top=`${t}px`}function eo(e){e.style.top=""}function to(e,t){let r=e.firstElementChild;r.style.height=`${t-2*r.offsetTop}px`}function ro(e){let t=e.firstElementChild;t.style.height=""}function no(e,t){e.lastElementChild.appendChild(t)}function oo(e,t){e.lastElementChild.setAttribute("data-md-state",t)}function io(e,t){e.setAttribute("data-md-state",t)}function nr(e){e.removeAttribute("data-md-state")}function ao(e){return $("button",{class:"md-clipboard md-icon",title:K("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}var Ie;(function(e){e[e.TEASER=1]="TEASER",e[e.PARENT=2]="PARENT"})(Ie||(Ie={}));function or(e,t){let r=t&2,n=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).map(a=>[$("del",null,a)," "]).flat().slice(0,-1),i=e.location;return $("a",{href:i,class:"md-search-result__link",tabIndex:-1},$("article",{class:["md-search-result__article",...r?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},r>0&&$("div",{class:"md-search-result__icon md-icon"}),$("h1",{class:"md-search-result__title"},e.title),n>0&&e.text.length>0&&$("p",{class:"md-search-result__teaser"},Yn(e.text,320)),n>0&&o.length>0&&$("p",{class:"md-search-result__terms"},K("search.result.term.missing"),": ",o)))}function so(e){let t=e[0].score,r=[...e],n=r.findIndex(c=>!c.location.includes("#")),[o]=r.splice(n,1),i=r.findIndex(c=>c.score<t);i===-1&&(i=r.length);let a=r.slice(0,i),s=r.slice(i),u=[or(o,2|+(!n&&i===0)),...a.map(c=>or(c,1)),...s.length?[$("details",{class:"md-search-result__more"},$("summary",{tabIndex:-1},s.length>0&&s.length===1?K("search.result.more.one"):K("search.result.more.other",s.length)),s.map(c=>or(c,1)))]:[]];return $("li",{class:"md-search-result__item"},u)}function co(e){return $("ul",{class:"md-source__facts"},e.map(t=>$("li",{class:"md-source__fact"},t)))}function uo(e){return $("div",{class:"md-typeset__scrollwrap"},$("div",{class:"md-typeset__table"},e))}function lo(e){let t=re(),[,r]=t.base.match(/([^/]+)\/?$/),n=e.find(({version:o,aliases:i})=>o===r||i.includes(r))||e[0];return $("div",{class:"md-version"},$("span",{class:"md-version__current"},n.title),$("ul",{class:"md-version__list"},e.map(o=>$("li",{class:"md-version__item"},$("a",{class:"md-version__link",href:`${new URL(o.version,t.base)}`},o.title)))))}var zi=0;function Qi(e,{viewport$:t}){let r=k(e).pipe(E(n=>{let o=n.closest("[data-tabs]");return o instanceof HTMLElement?F(...q("input",o).map(i=>T(i,"change"))):Z}));return F(t.pipe(N("size")),r).pipe(p(()=>{let n=je(e);return{scroll:Tt(e).width>n.width}}),N("scroll"))}function fo(e,t){let r=new L;if(r.pipe(be(Qe("(hover)"))).subscribe(([{scroll:n},o])=>{n&&o?Hn(e):Cn(e)}),po.default.isSupported()){let n=e.closest("pre");n.id=`__code_${zi++}`,n.insertBefore(ao(n.id),e)}return Qi(e,t).pipe(I(r),V(()=>r.complete()),p(n=>W({ref:e},n)))}function qi(e,{target$:t,print$:r}){return t.pipe(p(n=>n.closest("details:not([open])")),_(n=>e===n),Ot(r),ue(e))}function mo(e,t){let r=new L;return r.subscribe(()=>{e.setAttribute("open",""),e.scrollIntoView()}),qi(e,t).pipe(I(r),V(()=>r.complete()),ue({ref:e}))}var ho=We("table");function bo(e){return ke(e,ho),ke(ho,uo(e)),k({ref:e})}function vo(e,{target$:t,viewport$:r,print$:n}){return F(...q("pre > code",e).map(o=>fo(o,{viewport$:r})),...q("table:not([class])",e).map(o=>bo(o)),...q("details",e).map(o=>mo(o,{target$:t,print$:n})))}function Ki(e,{alert$:t}){return t.pipe(E(r=>F(k(!0),k(!1).pipe(Ae(2e3))).pipe(p(n=>({message:r,open:n})))))}function go(e,t){let r=new L;return r.pipe(B(X)).subscribe(({message:n,open:o})=>{Pn(e,n),o?Dn(e,"open"):Vn(e)}),Ki(e,t).pipe(I(r),V(()=>r.complete()),p(n=>W({ref:e},n)))}function Yi({viewport$:e}){if(!Ht("header.autohide"))return k(!1);let t=e.pipe(p(({offset:{y:o}})=>o),Me(2,1),p(([o,i])=>[o<i,i]),N(0)),r=G([e,t]).pipe(_(([{offset:o},[,i]])=>Math.abs(i-o.y)>100),p(([,[o]])=>o),Q()),n=At("search");return G([e,n]).pipe(p(([{offset:o},i])=>o.y>400&&!i),Q(),E(o=>o?r:k(!1)),U(!1))}function yo(e,t){return Oe(()=>{let r=getComputedStyle(e);return k(r.position==="sticky"||r.position==="-webkit-sticky")}).pipe(Jt(ze(e),Yi(t)),p(([r,{height:n},o])=>({height:r?n:0,sticky:r,hidden:o})),Q((r,n)=>r.sticky===n.sticky&&r.height===n.height&&r.hidden===n.hidden),ae(1))}function xo(e,{header$:t,main$:r}){let n=new L;return n.pipe(N("active"),Jt(t),B(X)).subscribe(([{active:o},{hidden:i}])=>{o?Un(e,i?"hidden":"shadow"):Nn(e)}),r.subscribe(o=>n.next(o)),t.pipe(p(o=>W({ref:e},o)))}function Ji(e,{viewport$:t,header$:r}){return _t(e,{header$:r,viewport$:t}).pipe(p(({offset:{y:n}})=>{let{height:o}=je(e);return{active:n>=o}}),N("active"))}function So(e,t){let r=new L;r.pipe(B(X)).subscribe(({active:o})=>{o?Wn(e,"active"):zn(e)});let n=se("article h1");return typeof n=="undefined"?Z:Ji(n,t).pipe(I(r),V(()=>r.complete()),p(o=>W({ref:e},o)))}function wo(e,{viewport$:t,header$:r}){let n=r.pipe(p(({height:i})=>i),Q()),o=n.pipe(E(()=>ze(e).pipe(p(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),N("bottom"))));return G([n,o,t]).pipe(p(([i,{top:a,bottom:s},{offset:{y:u},size:{height:c}}])=>(c=Math.max(0,c-Math.max(0,a-u,i)-Math.max(0,c+u-s)),{offset:a-i,height:c,active:a-i<=u})),Q((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}var ir=st(tr());function Eo({alert$:e}){ir.default.isSupported()&&new M(t=>{new ir.default("[data-clipboard-target], [data-clipboard-text]").on("success",r=>t.next(r))}).subscribe(()=>e.next(K("clipboard.copied")))}function Xi(e){if(e.length<2)return e;let[t,r]=e.sort((i,a)=>i.length-a.length).map(i=>i.replace(/[^/]+$/,"")),n=0;if(t===r)n=t.length;else for(;t.charCodeAt(n)===r.charCodeAt(n);)n++;let o=re();return e.map(i=>i.replace(t.slice(0,n),`${o.base}/`))}function Oo({document$:e,location$:t,viewport$:r}){let n=re();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",T(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=se("link[rel=icon]");typeof o!="undefined"&&(o.href=o.href);let i=En(`${n.base}/sitemap.xml`).pipe(p(c=>Xi(q("loc",c).map(l=>l.textContent))),E(c=>T(document.body,"click").pipe(_(l=>!l.metaKey&&!l.ctrlKey),E(l=>{if(l.target instanceof Element){let f=l.target.closest("a");if(f&&!f.target&&c.includes(f.href))return l.preventDefault(),k({url:new URL(f.href)})}return Z}))),ie()),a=T(window,"popstate").pipe(_(c=>c.state!==null),p(c=>({url:new URL(location.href),offset:c.state})),ie());F(i,a).pipe(Q((c,l)=>c.url.href===l.url.href),p(({url:c})=>c)).subscribe(t);let s=t.pipe(N("pathname"),E(c=>Lt(c.href).pipe(et(()=>(vn(c),Z)))),ie());i.pipe(rt(s)).subscribe(({url:c})=>{history.pushState({},"",c.toString())});let u=new DOMParser;s.pipe(E(c=>c.text()),p(c=>u.parseFromString(c,"text/html"))).subscribe(e),F(i,a).pipe(rt(e)).subscribe(({url:c,offset:l})=>{c.hash&&!l?xn(c.hash):Zt(l||{y:0})}),e.pipe(Bt(1)).subscribe(c=>{for(let l of["title","link[rel='canonical']","meta[name='author']","meta[name='description']","[data-md-component=announce]","[data-md-component=header-topic]","[data-md-component=container]","[data-md-component=logo], .md-logo","[data-md-component=skip]"]){let f=se(l),m=se(l,c);typeof f!="undefined"&&typeof m!="undefined"&&ke(f,m)}}),e.pipe(Bt(1),p(()=>He("container")),E(c=>k(...q("script",c))),Xr(c=>{let l=We("script");if(c.src){for(let f of c.getAttributeNames())l.setAttribute(f,c.getAttribute(f));return ke(c,l),new M(f=>{l.onload=()=>f.complete()})}else return l.textContent=c.textContent,ke(c,l),de})).subscribe(),r.pipe(tn(i),Br(250),N("offset")).subscribe(({offset:c})=>{history.replaceState(c,"")}),F(i,a).pipe(Me(2,1),_(([c,l])=>c.url.pathname===l.url.pathname),p(([,c])=>c)).subscribe(({offset:c})=>{Zt(c||{y:0})})}var Zi=st(Mo());function Ao(e){return e.split(/"([^"]+)"/g).map((t,r)=>r&1?t.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):t).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}var Se;(function(e){e[e.SETUP=0]="SETUP",e[e.READY=1]="READY",e[e.QUERY=2]="QUERY",e[e.RESULT=3]="RESULT"})(Se||(Se={}));function Lo(e){return e.type===1}function _o(e){return e.type===2}function Ct(e){return e.type===3}function ea({config:e,docs:t,index:r}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[K("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=K("search.config.separator"));let n=K("search.config.pipeline").split(/\s*,\s*/).filter(Boolean);return{config:e,docs:t,index:r,pipeline:n}}function Ho(e,t){let r=re(),n=new Worker(e),o=new L,i=_n(n,{tx$:o}).pipe(p(a=>{if(Ct(a))for(let s of a.data)for(let u of s)u.location=`${r.base}/${u.location}`;return a}),ie());return ye(t).pipe(p(a=>({type:Se.SETUP,data:ea(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function Co(){let e=re();_e(new URL("versions.json",e.base)).subscribe(t=>{pe(".md-header__topic").appendChild(lo(t))})}function ta(e){let t=(__search==null?void 0:__search.transform)||Ao,r=un(e),n=F(T(e,"keyup"),T(e,"focus").pipe(Ae(1))).pipe(p(()=>t(e.value)),Q());return G([n,r]).pipe(p(([o,i])=>({value:o,focus:i})))}function ko(e,{tx$:t}){let r=new L;return r.pipe(N("value"),p(({value:n})=>({type:Se.QUERY,data:n}))).subscribe(t.next.bind(t)),r.pipe(N("focus")).subscribe(({focus:n})=>{n?(Fe("search",n),Qn(e,"")):qn(e)}),T(e.form,"reset").pipe(nn(r.pipe(Zr(1)))).subscribe(()=>Le(e)),ta(e).pipe(I(r),V(()=>r.complete()),p(n=>W({ref:e},n)))}function jo(e,{rx$:t},{query$:r}){let n=new L,o=fn(e.parentElement).pipe(_(Boolean)),i=pe(":scope > :first-child",e);n.pipe(B(X),be(r)).subscribe(([{data:u},{value:c}])=>{c?Jn(i,u.length):Xn(i)});let a=pe(":scope > :last-child",e);return n.pipe(B(X),I(()=>Gn(a)),E(({data:u})=>F(k(...u.slice(0,10)),k(...u.slice(10)).pipe(Me(4),sn(o),E(([c])=>k(...c)))))).subscribe(u=>{Bn(a,so(u))}),t.pipe(_(Ct),p(({data:u})=>({data:u})),U({data:[]})).pipe(I(n),V(()=>n.complete()),p(u=>W({ref:e},u)))}function Fo(e,{index$:t,keyboard$:r}){let n=re(),o=Ho(n.search,t),i=He("search-query",e),a=He("search-result",e),{tx$:s,rx$:u}=o;s.pipe(_(_o),rt(u.pipe(_(Lo))),tt(1)).subscribe(s.next.bind(s)),r.pipe(_(({mode:l})=>l==="search")).subscribe(l=>{let f=Ce();switch(l.type){case"Enter":f===i&&l.claim();break;case"Escape":case"Tab":Fe("search",!1),Le(i,!1);break;case"ArrowUp":case"ArrowDown":if(typeof f=="undefined")Le(i);else{let m=[i,...q(":not(details) > [href], summary, details[open] [href]",a)],g=Math.max(0,(Math.max(0,m.indexOf(f))+m.length+(l.type==="ArrowUp"?-1:1))%m.length);Le(m[g])}l.claim();break;default:i!==Ce()&&Le(i)}}),r.pipe(_(({mode:l})=>l==="global")).subscribe(l=>{switch(l.type){case"f":case"s":case"/":Le(i),mn(i),l.claim();break}});let c=ko(i,o);return F(c,jo(a,o,{query$:c}))}function ra(e,{viewport$:t,main$:r}){let n=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return G([r,t]).pipe(p(([{offset:o,height:i},{offset:{y:a}}])=>(i=i+Math.min(n,Math.max(0,a-o))-n,{height:i,locked:a>=o+n})),Q((o,i)=>o.height===i.height&&o.locked===i.locked))}function ar(e,n){var{header$:t}=n,r=dr(n,["header$"]);let o=new L;return o.pipe(B(X),be(t)).subscribe({next([{height:i},{height:a}]){to(e,i),Zn(e,a)},complete(){eo(e),ro(e)}}),ra(e,r).pipe(I(o),V(()=>o.complete()),p(i=>W({ref:e},i)))}function Io(e,t){let r=typeof t!="undefined"?`https://api.github.com/repos/${e}/${t}`:`https://api.github.com/users/${e}`;return _e(r).pipe(p(n=>{if(typeof t!="undefined"){let{stargazers_count:o,forks_count:i}=n;return[`${xe(o)} Stars`,`${xe(i)} Forks`]}else{let{public_repos:o}=n;return[`${xe(o)} Repositories`]}}),Et([]))}function Ro(e,t){let r=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return _e(r).pipe(p(({star_count:n,forks_count:o})=>[`${xe(n)} Stars`,`${xe(o)} Forks`]),Et([]))}function $o(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,r,n]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return Io(r,n);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return Ro(o,i);default:return Z}}var na;function oa(e){return na||(na=Oe(()=>{let t=sessionStorage.getItem(rr("__repo"));if(t)return k(JSON.parse(t));{let r=$o(e.href);return r.subscribe(n=>{try{sessionStorage.setItem(rr("__repo"),JSON.stringify(n))}catch(o){}}),r}}).pipe(et(()=>Z),_(t=>t.length>0),p(t=>({facts:t})),ae(1)))}function Po(e){let t=new L;return t.subscribe(({facts:r})=>{no(e,co(r)),oo(e,"done")}),oa(e).pipe(I(t),V(()=>t.complete()),p(r=>W({ref:e},r)))}function ia(e,{viewport$:t,header$:r}){return _t(e,{header$:r,viewport$:t}).pipe(p(({offset:{y:n}})=>({hidden:n>=10})),N("hidden"))}function Do(e,t){let r=new L;return r.pipe(B(X)).subscribe({next({hidden:n}){n?io(e,"hidden"):nr(e)},complete(){nr(e)}}),ia(e,t).pipe(I(r),V(()=>r.complete()),p(n=>W({ref:e},n)))}function aa(e,{viewport$:t,header$:r}){let n=new Map;for(let a of e){let s=decodeURIComponent(a.hash.substring(1)),u=se(`[id="${s}"]`);typeof u!="undefined"&&n.set(a,u)}let o=r.pipe(p(a=>24+a.height));return ze(document.body).pipe(N("height"),p(()=>{let a=[];return[...n].reduce((s,[u,c])=>{for(;a.length&&n.get(a[a.length-1]).tagName>=c.tagName;)a.pop();let l=c.offsetTop;for(;!l&&c.parentElement;)c=c.parentElement,l=c.offsetTop;return s.set([...a=[...a,u]].reverse(),l)},new Map)}),p(a=>new Map([...a].sort(([,s],[,u])=>s-u))),E(a=>G([o,t]).pipe(en(([s,u],[c,{offset:{y:l}}])=>{for(;u.length;){let[,f]=u[0];if(f-c<l)s=[...s,u.shift()];else break}for(;s.length;){let[,f]=s[s.length-1];if(f-c>=l)u=[s.pop(),...u];else break}return[s,u]},[[],[...a]]),Q((s,u)=>s[0]===u[0]&&s[1]===u[1])))).pipe(p(([a,s])=>({prev:a.map(([u])=>u),next:s.map(([u])=>u)})),U({prev:[],next:[]}),Me(2,1),p(([a,s])=>a.prev.length<s.prev.length?{prev:s.prev.slice(Math.max(0,a.prev.length-1),s.prev.length),next:[]}:{prev:s.prev.slice(-1),next:s.next.slice(0,s.next.length-a.next.length)}))}function Vo(e,t){let r=new L;r.pipe(B(X)).subscribe(({prev:o,next:i})=>{for(let[a]of i)$n(a),In(a);for(let[a,[s]]of o.entries())Rn(s,a===o.length-1),Fn(s,"blur")});let n=q("[href^=\\#]",e);return aa(n,t).pipe(I(r),V(()=>r.complete()),p(o=>W({ref:e},o)))}function Uo({document$:e,tablet$:t}){e.pipe(E(()=>k(...q("[data-md-state=indeterminate]"))),I(r=>{r.indeterminate=!0,r.checked=!1}),oe(r=>T(r,"change").pipe(on(()=>r.hasAttribute("data-md-state")),ue(r))),be(t)).subscribe(([r,n])=>{r.removeAttribute("data-md-state"),n&&(r.checked=!1)})}function sa(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function No({document$:e}){e.pipe(E(()=>k(...q("[data-md-scrollfix]"))),I(t=>t.removeAttribute("data-md-scrollfix")),_(sa),oe(t=>T(t,"touchstart").pipe(ue(t)))).subscribe(t=>{let r=t.scrollTop;r===0?t.scrollTop=1:r+t.offsetHeight===t.scrollHeight&&(t.scrollTop=r-1)})}function Wo({viewport$:e,tablet$:t}){G([At("search"),t]).pipe(p(([r,n])=>r&&!n),E(r=>k(r).pipe(Ae(r?400:100),B(X))),be(e)).subscribe(([r,{offset:{y:n}}])=>{r?kn(document.body,n):jn(document.body)})}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var Ke=cn(),sr=gn(),cr=Sn(),ur=hn(),fe=Ln(),kt=Qe("(min-width: 960px)"),zo=Qe("(min-width: 1220px)"),Qo=wn(),qo=re(),ca=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||_e(`${qo.base}/search/search_index.json`):Z,lr=new L;Eo({alert$:lr});Ht("navigation.instant")&&Oo({document$:Ke,location$:sr,viewport$:fe});var Ko;((Ko=qo.version)==null?void 0:Ko.provider)==="mike"&&Co();F(sr,cr).pipe(Ae(125)).subscribe(()=>{Fe("drawer",!1),Fe("search",!1)});ur.pipe(_(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=se("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let r=se("[href][rel=next]");typeof r!="undefined"&&r.click();break}});Uo({document$:Ke,tablet$:kt});No({document$:Ke});Wo({viewport$:fe,tablet$:kt});var Re=yo(He("header"),{viewport$:fe}),pr=Ke.pipe(p(()=>He("main")),E(e=>wo(e,{viewport$:fe,header$:Re})),ae(1)),ua=F(...ve("dialog").map(e=>go(e,{alert$:lr})),...ve("header").map(e=>xo(e,{viewport$:fe,header$:Re,main$:pr})),...ve("search").map(e=>Fo(e,{index$:ca,keyboard$:ur})),...ve("source").map(e=>Po(e)),...ve("tabs").map(e=>Do(e,{viewport$:fe,header$:Re}))),la=Oe(()=>F(...ve("content").map(e=>vo(e,{target$:cr,viewport$:fe,print$:Qo})),...ve("header-title").map(e=>So(e,{viewport$:fe,header$:Re})),...ve("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Gt(zo,()=>ar(e,{viewport$:fe,header$:Re,main$:pr})):Gt(kt,()=>ar(e,{viewport$:fe,header$:Re,main$:pr}))),...ve("toc").map(e=>Vo(e,{viewport$:fe,header$:Re})))),Yo=Ke.pipe(E(()=>la),Ot(ua),ae(1));Yo.subscribe();window.document$=Ke;window.location$=sr;window.target$=cr;window.keyboard$=ur;window.viewport$=fe;window.tablet$=kt;window.screen$=zo;window.print$=Qo;window.alert$=lr;window.component$=Yo;})();
/*!
* clipboard.js v2.0.7
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
//# sourceMappingURL=bundle.02b93eff.min.js.map