!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=6)}([,,function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return o}));var r="undefined"!=typeof window&&window,i="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=r||void 0!==t&&t||i}).call(this,n(5))},,,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function i(t){return function e(n){return 0===arguments.length||r(n)?e:t.apply(this,arguments)}}function o(t){return t}n.r(e);var u=i(o),s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function c(t,e){function n(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function a(t){return"function"==typeof t}var f=!1,h={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack;f=t},get useDeprecatedSynchronousErrorHandling(){return f}};function l(t){setTimeout((function(){throw t}),0)}var p={closed:!0,next:function(t){},error:function(t){if(h.useDeprecatedSynchronousErrorHandling)throw t;l(t)},complete:function(){}},d=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}();function y(t){return null!==t&&"object"==typeof t}var b=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),v=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this._parentOrParents,r=this._unsubscribe,i=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var o=0;o1?r.next(Array.prototype.slice.call(arguments)):r.next(t)}),r,n)}))}function H(t){return t&&"function"==typeof t.schedule}var V=function(t){function e(e,n,r){var i=t.call(this)||this;return i.parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return c(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(g),L=function(t){return function(e){for(var n=0,r=t.length;n0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(X);function Q(t){return t}function Z(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),function t(e,n,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof n?function(i){return i.pipe(t((function(t,r){return G(e(t,r)).pipe(q((function(e,i){return n(t,e,r,i)})))}),r))}:("number"==typeof n&&(r=n),function(t){return t.lift(new J(e,r))})}(Q,t)}function tt(t,e){return e?W(t,e):new O(L(t))}function et(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof O?t[0]:Z(n)(tt(t,r))}function nt(){for(var t=[],e=0;e0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(st),at=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),ft=function(t){function e(n,r){void 0===r&&(r=at.now);var i=t.call(this,n,(function(){return e.delegate&&e.delegate!==i?e.delegate.now():r()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return c(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(at),ht=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e}(ft))(ct),lt=new O((function(t){return t.complete()}));function pt(t){return t?function(t){return new O((function(e){return t.schedule((function(){return e.complete()}))}))}(t):lt}function dt(){for(var t=[],e=0;ethis._bufferSize&&n.shift(),t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new xt(this._getNow(),e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new I;if(this.isStopped||this.hasError?e=v.EMPTY:(this.observers.push(t),e=new N(this,t)),i&&t.add(t=new mt(t,i)),n)for(var u=0;ue&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(C),xt=function(){return function(t,e){this.time=t,this.value=e}}();function St(t,e,n){var r;return r=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift(function(t){var e,n,r=t.bufferSize,i=void 0===r?Number.POSITIVE_INFINITY:r,o=t.windowTime,u=void 0===o?Number.POSITIVE_INFINITY:o,s=t.refCount,c=t.scheduler,a=0,f=!1,h=!1;return function(t){a++,e&&!f||(f=!1,e=new _t(i,u,c),n=t.subscribe({next:function(t){e.next(t)},error:function(t){f=!0,e.error(t)},complete:function(){h=!0,e.complete()}}));var r=e.subscribe(this);this.add((function(){a--,r.unsubscribe(),n&&!h&&s&&0===a&&(n.unsubscribe(),n=void 0,e=void 0)}))}}(r))}}function Et(t,e){return function(n){return n.lift(new Tt(t,e))}}var Tt=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new Ot(t,this.compare,this.keySelector))},t}(),Ot=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return c(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(t){return this.destination.error(t)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(g);function jt(t,e){return Et((function(n,r){return e?e(n[t],r[t]):n[t]===r[t]}))}function It(t,e){return function(n){return n.lift(new Nt(t,e))}}var Nt=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new At(t,this.predicate,this.thisArg))},t}(),At=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return c(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(g),Ct=new ft(st);function Pt(t,e){void 0===e&&(e=Ct);var n,r=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return function(t){return t.lift(new qt(r,e))}}var qt=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new kt(t,this.delay,this.scheduler))},t}(),kt=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return c(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new Mt(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(bt.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(bt.createComplete()),this.unsubscribe()},e}(g),Mt=function(){return function(t,e){this.time=t,this.notification=e}}();function Dt(t,e,n){return function(r){return r.lift(new Ht(t,e,n))}}var Ht=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new Vt(t,this.nextOrObserver,this.error,this.complete))},t}(),Vt=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o._tapNext=S,o._tapError=S,o._tapComplete=S,o._tapError=r||S,o._tapComplete=i||S,a(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||S,o._tapError=n.error||S,o._tapComplete=n.complete||S),o}return c(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(g);function Lt(t,e){return e?rt((function(){return t}),e):rt((function(){return t}))}var Rt=n(2);function Ft(t,e){return void 0===e&&(e=null),new Bt({method:"GET",url:t,headers:e})}function $t(t,e,n){return new Bt({method:"POST",url:t,body:e,headers:n})}function Yt(t,e){return new Bt({method:"DELETE",url:t,headers:e})}function zt(t,e,n){return new Bt({method:"PUT",url:t,body:e,headers:n})}function Ut(t,e,n){return new Bt({method:"PATCH",url:t,body:e,headers:n})}var Xt=q((function(t,e){return t.response}));function Wt(t,e){return Xt(new Bt({method:"GET",url:t,responseType:"json",headers:e}))}var Bt=function(t){function e(e){var n=t.call(this)||this,r={async:!0,createXHR:function(){return this.crossDomain?function(){if(Rt.a.XMLHttpRequest)return new Rt.a.XMLHttpRequest;if(Rt.a.XDomainRequest)return new Rt.a.XDomainRequest;throw new Error("CORS is not supported by your browser")}():function(){if(Rt.a.XMLHttpRequest)return new Rt.a.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=0;n<3;n++)try{if(t=e[n],new Rt.a.ActiveXObject(t))break}catch(t){}return new Rt.a.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!0,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)r.url=e;else for(var i in e)e.hasOwnProperty(i)&&(r[i]=e[i]);return n.request=r,n}var n;return c(e,t),e.prototype._subscribe=function(t){return new Gt(t,this.request)},e.create=((n=function(t){return new e(t)}).get=Ft,n.post=$t,n.delete=Yt,n.put=zt,n.patch=Ut,n.getJSON=Wt,n),e}(O),Gt=function(t){function e(e,n){var r=t.call(this,e)||this;r.request=n,r.done=!1;var i=n.headers=n.headers||{};return n.crossDomain||r.getHeader(i,"X-Requested-With")||(i["X-Requested-With"]="XMLHttpRequest"),r.getHeader(i,"Content-Type")||Rt.a.FormData&&n.body instanceof Rt.a.FormData||void 0===n.body||(i["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=r.serializeBody(n.body,r.getHeader(n.headers,"Content-Type")),r.send(),r}return c(e,t),e.prototype.next=function(t){this.done=!0;var e,n=this.xhr,r=this.request,i=this.destination;try{e=new Jt(t,n,r)}catch(t){return i.error(t)}i.next(e)},e.prototype.send=function(){var t=this.request,e=this.request,n=e.user,r=e.method,i=e.url,o=e.async,u=e.password,s=e.headers,c=e.body;try{var a=this.xhr=t.createXHR();this.setupEvents(a,t),n?a.open(r,i,o,n,u):a.open(r,i,o),o&&(a.timeout=t.timeout,a.responseType=t.responseType),"withCredentials"in a&&(a.withCredentials=!!t.withCredentials),this.setHeaders(a,s),c?a.send(c):a.send()}catch(t){this.error(t)}},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(Rt.a.FormData&&t instanceof Rt.a.FormData)return t;if(e){var n=e.indexOf(";");-1!==n&&(e=e.substring(0,n))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&");case"application/json":return JSON.stringify(t);default:return t}},e.prototype.setHeaders=function(t,e){for(var n in e)e.hasOwnProperty(n)&&t.setRequestHeader(n,e[n])},e.prototype.getHeader=function(t,e){for(var n in t)if(n.toLowerCase()===e.toLowerCase())return t[n]},e.prototype.setupEvents=function(t,e){var n=e.progressSubscriber;function r(t){var e,n=r,i=n.subscriber,o=n.progressSubscriber,u=n.request;o&&o.error(t);try{e=new Zt(this,u)}catch(t){e=t}i.error(e)}if(t.ontimeout=r,r.request=e,r.subscriber=this,r.progressSubscriber=n,t.upload&&"withCredentials"in t){var i,o;if(n)i=function(t){i.progressSubscriber.next(t)},Rt.a.XDomainRequest?t.onprogress=i:t.upload.onprogress=i,i.progressSubscriber=n;o=function(t){var e,n=o,r=n.progressSubscriber,i=n.subscriber,u=n.request;r&&r.error(t);try{e=new Kt("ajax error",this,u)}catch(t){e=t}i.error(e)},t.onerror=o,o.request=e,o.subscriber=this,o.progressSubscriber=n}function u(t){}function s(t){var e=s,n=e.subscriber,r=e.progressSubscriber,i=e.request;if(4===this.readyState){var o=1223===this.status?204:this.status,u="text"===this.responseType?this.response||this.responseText:this.response;if(0===o&&(o=u?200:0),o<400)r&&r.complete(),n.next(t),n.complete();else{r&&r.error(t);var c=void 0;try{c=new Kt("ajax error "+o,this,i)}catch(t){c=t}n.error(c)}}}t.onreadystatechange=u,u.subscriber=this,u.progressSubscriber=n,u.request=e,t.onload=s,s.subscriber=this,s.progressSubscriber=n,s.request=e},e.prototype.unsubscribe=function(){var e=this.done,n=this.xhr;!e&&n&&4!==n.readyState&&"function"==typeof n.abort&&n.abort(),t.prototype.unsubscribe.call(this)},e}(g),Jt=function(){return function(t,e,n){this.originalEvent=t,this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.response=Qt(this.responseType,e)}}(),Kt=function(){function t(t,e,n){return Error.call(this),this.message=t,this.name="AjaxError",this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.response=Qt(this.responseType,e),this}return t.prototype=Object.create(Error.prototype),t}();function Qt(t,e){switch(t){case"json":return function(t){return"response"in t?t.responseType?t.response:JSON.parse(t.response||t.responseText||"null"):JSON.parse(t.responseText||"null")}(e);case"xml":return e.responseXML;case"text":default:return"response"in e?e.response:e.responseText}}var Zt=function(t,e){return Kt.call(this,"ajax timeout",t,e),this.name="AjaxTimeoutError",this},te=function(){return Bt.create}();function ee(t,e){return Object.prototype.hasOwnProperty.call(e,t)}var ne=Object.prototype.toString,re=function(){return"[object Arguments]"===ne.call(arguments)?function(t){return"[object Arguments]"===ne.call(t)}:function(t){return ee("callee",t)}}(),ie=!{toString:null}.propertyIsEnumerable("toString"),oe=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],ue=function(){return arguments.propertyIsEnumerable("length")}(),se=function(t,e){for(var n=0;n=0;)ee(e=oe[n],t)&&!se(r,e)&&(r[r.length]=e),n-=1;return r})):i((function(t){return Object(t)!==t?[]:Object.keys(t)})),ae=new O(S);var fe=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new he(t,this.accumulator,this.seed,this.hasSeed))},t}(),he=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return c(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(g);function le(t,e){return void 0===e&&(e=document),e.querySelector(t)||void 0}var pe={};function de(){for(var t=[],e=0;e0)&&!(r=o.next()).done;)u.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return u};function ge(t,e){var n=t.pipe(It((function(t){return t}))),r=t.pipe(It((function(t){return!t})));return E(rt((function(t){return de([dt(t),n])})),rt((function(t){var n,i=me(t,2),o=i[0];return i[1]?e(o).pipe((n=r,function(t){return t.lift(new ve(n))})):lt})))}var _e=function(){return(_e=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};function Se(t,e){return e.load$.pipe(q((function(e){return t.reduce((function(t,n){var r,i=le("[data-md-component="+n+"]",e);return _e(_e({},t),void 0!==i?((r={})[n]=i,r):{})}),{})})),function(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new fe(t,e,n))}}((function(t,e){var n,r;try{for(var i=xe(ce(t)),o=i.next();!o.done;o=i.next()){var u=o.value;switch(u){case"title":case"container":u in t&&void 0!==t[u]&&(t[u].replaceWith(e[u]),t[u]=e[u]);break;default:t[u]=le("[data-md-component="+u+"]")}}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return t}))).pipe(St(1))}function Ee(t){return e=function(){var e="fixed"===getComputedStyle(t).getPropertyValue("position");return dt({sticky:e,height:e?t.offsetHeight:0})},new O((function(t){var n;try{n=e()}catch(e){return void t.error(e)}return(n?G(n):pt()).subscribe(t)}));var e}var Te=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)u.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return u};function Oe(t,e){var n=e.size$,r=e.offset$,i=e.header$;return de([r,n.pipe(Lt(i),q((function(e){var n=e.height;return t.offsetTop-n})),Et())]).pipe(q((function(t){var e=Te(t,2),n=e[0];return{x:n.x,y:n.y-e[1]}})),St(1))}var je=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return c(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((function(){return e.flush(null)}))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(st),Ie=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r=e})),Et(),vt(Ie),Dt((function(e){!function(t,e){t.setAttribute("data-md-state",e?"hidden":"")}(t,e)})),Ne((function(){!function(t){t.removeAttribute("data-md-state")}(t)})))}var qe=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)u.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return u};function ke(t){return function(e){return e.lift(new Me(t))}}var Me=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new De(t,this.value))},t}(),De=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return c(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(g);function He(t){return D(t,"click").pipe(ke(!0))}function Ve(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return r(n)?e:i((function(e){return t(n,e)}));default:return r(n)&&r(o)?e:r(n)?i((function(e){return t(e,o)})):r(o)?i((function(e){return t(n,e)})):t(n,o)}}}function Le(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function Re(t,e,n){for(var r=0,i=n.length;r=0;){if(n[s]===t)return r[s]===e;s-=1}switch(u){case"Map":return t.size===e.size&&Ye(t.entries(),e.entries(),n.concat([t]),r.concat([e]));case"Set":return t.size===e.size&&Ye(t.values(),e.values(),n.concat([t]),r.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=ce(t);if(c.length!==ce(e).length)return!1;var a=n.concat([t]),f=r.concat([e]);for(s=c.length-1;s>=0;){var h=c[s];if(!ee(h,e)||!ze(e[h],t[h],a,f))return!1;s-=1}return!0}var Ue=Ve((function(t,e){return ze(t,e,[],[])})),Xe=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)u.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return u};function We(t,e){var n=e.offset$,r=e.main$,i=parseFloat(getComputedStyle(t.parentElement).getPropertyValue("padding-top")),o=de([n,r]).pipe(q((function(t){var e=Xe(t,2),n=e[0].y,r=e[1],o=r.offset;return r.height-i+Math.min(i,Math.max(0,n-o))}))),u=de([n,r]).pipe(q((function(t){var e=Xe(t,2);return e[0].y>=e[1].offset+i})));return de([o,u]).pipe(q((function(t){var e=Xe(t,2);return{height:e[0],lock:e[1]}})),Et(Ue),St(1))}function Be(t){return E(vt(Ie),Dt((function(e){var n=e.height,r=e.lock;!function(t,e){t.style.height=e+"px"}(t,n),function(t,e){t.setAttribute("data-md-state",e?"lock":"")}(t,r)})),Ne((function(){!function(t){t.style.height=""}(t),function(t){t.removeAttribute("data-md-state")}(t)})))}function Ge(){for(var t=[],e=0;e1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(g),en=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return c(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new v).add(this.source.subscribe(new rn(this.getSubject(),this))),t.closed&&(this._connection=null,t=v.EMPTY)),t},e.prototype.refCount=function(){return Qe()(this)},e}(O),nn=function(){var t=en.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),rn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return c(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(A);var on=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(t);return i.add(e.subscribe(r)),i},t}();function un(){return new C}function sn(){return function(t){return Qe()((e=un,function(t){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof n)return t.lift(new on(r,n));var i=Object.create(t,nn);return i.source=t,i.subjectFactory=r,i})(t));var e,n}}var cn=D(window,"hashchange"),an=D(window,"popstate");function fn(t){var e=matchMedia(t);return function t(e,n,r){return r?t(e,n).pipe(q((function(t){return d(t)?r.apply(void 0,t):r(t)}))):new O((function(t){var r,i=function(){for(var e=[],n=0;n0})),sn()),f=Ke.pipe(ke(document),St(1)),h=Se(Sn,{load$:f}),l=function(t){return h.pipe(function(t){return E(rt((function(e){return void 0!==e[t]?dt(e[t]):ae})))}(t))},p=l("header").pipe(rt(Ee)),d=l("main").pipe(rt((function(t){return function(t,e){var n=e.size$,r=e.offset$,i=e.header$.pipe(nt("height")),o=de([r,n,i]).pipe(q((function(e){var n=qe(e,3),r=n[0].y,i=n[1].height,o=n[2],u=t.offsetTop,s=t.offsetHeight+u;return i-Math.max(0,u-r,o)-Math.max(0,i+r-s)})),Et()),u=de([r,i]).pipe(q((function(e){var n=qe(e,2),r=n[0].y,i=n[1];return r>=t.offsetTop-i})),Et());return de([o,i,u]).pipe(q((function(e){var n=qe(e,3),r=n[0],i=n[1],o=n[2];return{offset:t.offsetTop-i,height:r,active:o}})),St(1))}(t,{size$:i,offset$:r,header$:p})})),St(1));l("query").pipe(rt((function(t){return D(t,"keyup").pipe(q((function(){return{type:mn.QUERY,data:t.value}})),jt("data"))}))).subscribe((function(t){n.next(t)})),l("header").pipe(rt((function(t){return d.pipe(function(t){return E(jt("active"),vt(Ie),Dt((function(e){var n=e.active;!function(t,e){t.setAttribute("data-md-state",e?"shadow":"")}(t,n)})),Ne((function(){!function(t){t.removeAttribute("data-md-state")}(t)})))}(t))}))).subscribe(),l("navigation").pipe(ge(o,(function(t){return We(t,{offset$:r,main$:d}).pipe(Be(t))})),St(1)).subscribe(),l("toc").pipe(ge(s,(function(t){return We(t,{offset$:r,main$:d}).pipe(Be(t))})),St(1)).subscribe(),l("tabs").pipe(ge(o,(function(t){return Oe(t,{size$:i,offset$:r,header$:p}).pipe(Pe(t,8))})),St(1)).subscribe(),l("hero").pipe(rt((function(t){return Oe(t,{size$:i,offset$:r,header$:p}).pipe(Pe(t,20))})),St(1)).subscribe();le("[data-md-toggle=drawer]");var y,b=le("[data-md-toggle=search]");return et((y=b,D(y,"change").pipe(nt("checked"))).pipe(It(u),Pt(400)),l("reset").pipe(rt(He))).pipe(Lt(l("query")),E(Dt((function(t){return t.focus()})))).subscribe(),{watchDocument:function(){return f},watchLocation:function(){return c},watchLocationFragment:function(){return a},watchMediaScreen:function(){return o},watchMediaTablet:function(){return s},watchViewportOffset:function(){return r},watchViewportSize:function(){return i}}}document.documentElement.classList.remove("no-js"),document.documentElement.classList.add("js")}])); //# sourceMappingURL=bundle.js.map