(()=>{var Ci=Object.create;var Ot=Object.defineProperty;var ki=Object.getOwnPropertyDescriptor;var Hi=Object.getOwnPropertyNames,Tt=Object.getOwnPropertySymbols,Fi=Object.getPrototypeOf,pr=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable;var Qr=(e,t,n)=>t in e?Ot(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I=(e,t)=>{for(var n in t||(t={}))pr.call(t,n)&&Qr(e,n,t[n]);if(Tt)for(var n of Tt(t))qr.call(t,n)&&Qr(e,n,t[n]);return e};var Ri=e=>Ot(e,"__esModule",{value:!0});var Kr=(e,t)=>{var n={};for(var r in e)pr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Tt)for(var r of Tt(e))t.indexOf(r)<0&&qr.call(e,r)&&(n[r]=e[r]);return n};var _t=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ii=(e,t,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Hi(t))!pr.call(e,r)&&r!=="default"&&Ot(e,r,{get:()=>t[r],enumerable:!(n=ki(t,r))||n.enumerable});return e},Be=e=>Ii(Ri(Ot(e!=null?Ci(Fi(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Br=_t((fr,Yr)=>{(function(e,t){typeof fr=="object"&&typeof Yr!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(fr,function(){"use strict";function e(n){var r=!0,o=!1,i=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(_){return!!(_&&_!==document&&_.nodeName!=="HTML"&&_.nodeName!=="BODY"&&"classList"in _&&"contains"in _.classList)}function c(_){var Ve=_.type,Ce=_.tagName;return!!(Ce==="INPUT"&&a[Ve]&&!_.readOnly||Ce==="TEXTAREA"&&!_.readOnly||_.isContentEditable)}function l(_){_.classList.contains("focus-visible")||(_.classList.add("focus-visible"),_.setAttribute("data-focus-visible-added",""))}function u(_){!_.hasAttribute("data-focus-visible-added")||(_.classList.remove("focus-visible"),_.removeAttribute("data-focus-visible-added"))}function m(_){_.metaKey||_.altKey||_.ctrlKey||(s(n.activeElement)&&l(n.activeElement),r=!0)}function f(_){r=!1}function h(_){!s(_.target)||(r||c(_.target))&&l(_.target)}function v(_){!s(_.target)||(_.target.classList.contains("focus-visible")||_.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),u(_.target))}function d(_){document.visibilityState==="hidden"&&(o&&(r=!0),N())}function N(){document.addEventListener("mousemove",W),document.addEventListener("mousedown",W),document.addEventListener("mouseup",W),document.addEventListener("pointermove",W),document.addEventListener("pointerdown",W),document.addEventListener("pointerup",W),document.addEventListener("touchmove",W),document.addEventListener("touchstart",W),document.addEventListener("touchend",W)}function J(){document.removeEventListener("mousemove",W),document.removeEventListener("mousedown",W),document.removeEventListener("mouseup",W),document.removeEventListener("pointermove",W),document.removeEventListener("pointerdown",W),document.removeEventListener("pointerup",W),document.removeEventListener("touchmove",W),document.removeEventListener("touchstart",W),document.removeEventListener("touchend",W)}function W(_){_.target.nodeName&&_.target.nodeName.toLowerCase()==="html"||(r=!1,J())}document.addEventListener("keydown",m,!0),document.addEventListener("mousedown",f,!0),document.addEventListener("pointerdown",f,!0),document.addEventListener("touchstart",f,!0),document.addEventListener("visibilitychange",d,!0),N(),n.addEventListener("focus",h,!0),n.addEventListener("blur",v,!0),n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host?n.host.setAttribute("data-js-focus-visible",""):n.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(n){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var vn=_t((Va,Lt)=>{/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var Jr,Gr,Xr,Zr,en,tn,rn,nn,on,Mt,mr,an,sn,cn,Je,ln,un,pn,fn,mn,dn,hn,bn,At;(function(e){var t=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(r){e(n(t,n(r)))}):typeof Lt=="object"&&typeof Lt.exports=="object"?e(n(t,n(Lt.exports))):e(n(t));function n(r,o){return r!==t&&(typeof Object.create=="function"?Object.defineProperty(r,"__esModule",{value:!0}):r.__esModule=!0),function(i,a){return r[i]=o?o(i,a):a}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])};Jr=function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(r,o);function i(){this.constructor=r}r.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},Gr=Object.assign||function(r){for(var o,i=1,a=arguments.length;i=0;u--)(l=r[u])&&(c=(s<3?l(c):s>3?l(o,i,c):l(o,i))||c);return s>3&&c&&Object.defineProperty(o,i,c),c},en=function(r,o){return function(i,a){o(i,a,r)}},tn=function(r,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,o)},rn=function(r,o,i,a){function s(c){return c instanceof i?c:new i(function(l){l(c)})}return new(i||(i=Promise))(function(c,l){function u(h){try{f(a.next(h))}catch(v){l(v)}}function m(h){try{f(a.throw(h))}catch(v){l(v)}}function f(h){h.done?c(h.value):s(h.value).then(u,m)}f((a=a.apply(r,o||[])).next())})},nn=function(r,o){var i={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},a,s,c,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function u(f){return function(h){return m([f,h])}}function m(f){if(a)throw new TypeError("Generator is already executing.");for(;i;)try{if(a=1,s&&(c=f[0]&2?s.return:f[0]?s.throw||((c=s.return)&&c.call(s),0):s.next)&&!(c=c.call(s,f[1])).done)return c;switch(s=0,c&&(f=[f[0]&2,c.value]),f[0]){case 0:case 1:c=f;break;case 4:return i.label++,{value:f[1],done:!1};case 5:i.label++,s=f[1],f=[0];continue;case 7:f=i.ops.pop(),i.trys.pop();continue;default:if(c=i.trys,!(c=c.length>0&&c[c.length-1])&&(f[0]===6||f[0]===2)){i=0;continue}if(f[0]===3&&(!c||f[1]>c[0]&&f[1]=r.length&&(r=void 0),{value:r&&r[a++],done:!r}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},mr=function(r,o){var i=typeof Symbol=="function"&&r[Symbol.iterator];if(!i)return r;var a=i.call(r),s,c=[],l;try{for(;(o===void 0||o-- >0)&&!(s=a.next()).done;)c.push(s.value)}catch(u){l={error:u}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(l)throw l.error}}return c},an=function(){for(var r=[],o=0;o1||u(d,N)})})}function u(d,N){try{m(a[d](N))}catch(J){v(c[0][3],J)}}function m(d){d.value instanceof Je?Promise.resolve(d.value.v).then(f,h):v(c[0][2],d)}function f(d){u("next",d)}function h(d){u("throw",d)}function v(d,N){d(N),c.shift(),c.length&&u(c[0][0],c[0][1])}},un=function(r){var o,i;return o={},a("next"),a("throw",function(s){throw s}),a("return"),o[Symbol.iterator]=function(){return this},o;function a(s,c){o[s]=r[s]?function(l){return(i=!i)?{value:Je(r[s](l)),done:s==="return"}:c?c(l):l}:c}},pn=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r[Symbol.asyncIterator],i;return o?o.call(r):(r=typeof Mt=="function"?Mt(r):r[Symbol.iterator](),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(c){i[c]=r[c]&&function(l){return new Promise(function(u,m){l=r[c](l),s(u,m,l.done,l.value)})}}function s(c,l,u,m){Promise.resolve(m).then(function(f){c({value:f,done:u})},l)}},fn=function(r,o){return Object.defineProperty?Object.defineProperty(r,"raw",{value:o}):r.raw=o,r};var n=Object.create?function(r,o){Object.defineProperty(r,"default",{enumerable:!0,value:o})}:function(r,o){r.default=o};mn=function(r){if(r&&r.__esModule)return r;var o={};if(r!=null)for(var i in r)i!=="default"&&Object.prototype.hasOwnProperty.call(r,i)&&At(o,r,i);return n(o,r),o},dn=function(r){return r&&r.__esModule?r:{default:r}},hn=function(r,o){if(!o.has(r))throw new TypeError("attempted to get private field on non-instance");return o.get(r)},bn=function(r,o,i){if(!o.has(r))throw new TypeError("attempted to set private field on non-instance");return o.set(r,i),i},e("__extends",Jr),e("__assign",Gr),e("__rest",Xr),e("__decorate",Zr),e("__param",en),e("__metadata",tn),e("__awaiter",rn),e("__generator",nn),e("__exportStar",on),e("__createBinding",At),e("__values",Mt),e("__read",mr),e("__spread",an),e("__spreadArrays",sn),e("__spreadArray",cn),e("__await",Je),e("__asyncGenerator",ln),e("__asyncDelegator",un),e("__asyncValues",pn),e("__makeTemplateObject",fn),e("__importStar",mn),e("__importDefault",dn),e("__classPrivateFieldGet",hn),e("__classPrivateFieldSet",bn)})});var jr=_t((St,Ir)=>{/*! * clipboard.js v2.0.8 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */(function(t,n){typeof St=="object"&&typeof Ir=="object"?Ir.exports=n():typeof define=="function"&&define.amd?define([],n):typeof St=="object"?St.ClipboardJS=n():t.ClipboardJS=n()})(St,function(){return function(){var e={134:function(r,o,i){"use strict";i.d(o,{default:function(){return Ai}});var a=i(279),s=i.n(a),c=i(370),l=i.n(c),u=i(817),m=i.n(u);function f(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(b){return typeof b}:f=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},f(A)}function h(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}function v(A,x){for(var b=0;b0&&arguments[0]!==void 0?arguments[0]:{};this.action=b.action,this.container=b.container,this.emitter=b.emitter,this.target=b.target,this.text=b.text,this.trigger=b.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var b=document.documentElement.getAttribute("dir")==="rtl";this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[b?"right":"left"]="-9999px";var R=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(R,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var b=this,R=this.createFakeElement();this.fakeHandlerCallback=function(){return b.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(R),this.selectedText=m()(R),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=m()(this.target),this.copyText()}},{key:"copyText",value:function(){var b;try{b=document.execCommand(this.action)}catch(R){b=!1}this.handleResult(b)}},{key:"handleResult",value:function(b){this.emitter.emit(b?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"copy";if(this._action=b,this._action!=="copy"&&this._action!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(b){if(b!==void 0)if(b&&f(b)==="object"&&b.nodeType===1){if(this.action==="copy"&&b.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(this.action==="cut"&&(b.hasAttribute("readonly")||b.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);this._target=b}else throw new Error('Invalid "target" value, use a valid Element')},get:function(){return this._target}}]),A}(),J=N;function W(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?W=function(b){return typeof b}:W=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},W(A)}function _(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}function Ve(A,x){for(var b=0;b0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof D.action=="function"?D.action:this.defaultAction,this.target=typeof D.target=="function"?D.target:this.defaultTarget,this.text=typeof D.text=="function"?D.text:this.defaultText,this.container=W(D.container)==="object"?D.container:document.body}},{key:"listenClick",value:function(D){var ee=this;this.listener=l()(D,"click",function(pt){return ee.onClick(pt)})}},{key:"onClick",value:function(D){var ee=D.delegateTarget||D.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new J({action:this.action(ee),target:this.target(ee),text:this.text(ee),container:this.container,trigger:ee,emitter:this})}},{key:"defaultAction",value:function(D){return ur("action",D)}},{key:"defaultTarget",value:function(D){var ee=ur("target",D);if(ee)return document.querySelector(ee)}},{key:"defaultText",value:function(D){return ur("text",D)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],ee=typeof D=="string"?[D]:D,pt=!!document.queryCommandSupported;return ee.forEach(function(Li){pt=pt&&!!document.queryCommandSupported(Li)}),pt}}]),b}(s()),Ai=Mi},828:function(r){var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function a(s,c){for(;s&&s.nodeType!==o;){if(typeof s.matches=="function"&&s.matches(c))return s;s=s.parentNode}}r.exports=a},438:function(r,o,i){var a=i(828);function s(u,m,f,h,v){var d=l.apply(this,arguments);return u.addEventListener(f,d,v),{destroy:function(){u.removeEventListener(f,d,v)}}}function c(u,m,f,h,v){return typeof u.addEventListener=="function"?s.apply(null,arguments):typeof f=="function"?s.bind(null,document).apply(null,arguments):(typeof u=="string"&&(u=document.querySelectorAll(u)),Array.prototype.map.call(u,function(d){return s(d,m,f,h,v)}))}function l(u,m,f,h){return function(v){v.delegateTarget=a(v.target,m),v.delegateTarget&&h.call(u,v)}}r.exports=c},879:function(r,o){o.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},o.nodeList=function(i){var a=Object.prototype.toString.call(i);return i!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in i&&(i.length===0||o.node(i[0]))},o.string=function(i){return typeof i=="string"||i instanceof String},o.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(r,o,i){var a=i(879),s=i(438);function c(f,h,v){if(!f&&!h&&!v)throw new Error("Missing required arguments");if(!a.string(h))throw new TypeError("Second argument must be a String");if(!a.fn(v))throw new TypeError("Third argument must be a Function");if(a.node(f))return l(f,h,v);if(a.nodeList(f))return u(f,h,v);if(a.string(f))return m(f,h,v);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function l(f,h,v){return f.addEventListener(h,v),{destroy:function(){f.removeEventListener(h,v)}}}function u(f,h,v){return Array.prototype.forEach.call(f,function(d){d.addEventListener(h,v)}),{destroy:function(){Array.prototype.forEach.call(f,function(d){d.removeEventListener(h,v)})}}}function m(f,h,v){return s(document.body,f,h,v)}r.exports=c},817:function(r){function o(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var s=i.hasAttribute("readonly");s||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),s||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var c=window.getSelection(),l=document.createRange();l.selectNodeContents(i),c.removeAllRanges(),c.addRange(l),a=c.toString()}return a}r.exports=o},279:function(r){function o(){}o.prototype={on:function(i,a,s){var c=this.e||(this.e={});return(c[i]||(c[i]=[])).push({fn:a,ctx:s}),this},once:function(i,a,s){var c=this;function l(){c.off(i,l),a.apply(s,arguments)}return l._=a,this.on(i,l,s)},emit:function(i){var a=[].slice.call(arguments,1),s=((this.e||(this.e={}))[i]||[]).slice(),c=0,l=s.length;for(c;c{"use strict";/*! * escape-html * Copyright(c) 2012-2013 TJ Holowaychuk * Copyright(c) 2015 Andreas Lubbe * Copyright(c) 2015 Tiancheng "Timothy" Gu * MIT Licensed */var Ta=/["'&<>]/;Bo.exports=_a;function _a(e){var t=""+e,n=Ta.exec(t);if(!n)return t;var r,o="",i=0,a=0;for(i=n.index;i0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,o=r.hasError,i=r.isStopped,a=r.observers;return o||i?dr:(a.push(n),new Oe(function(){return ke(a,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,o=r.hasError,i=r.thrownError,a=r.isStopped;o?n.error(i):a&&n.complete()},t.prototype.asObservable=function(){var n=new j;return n.source=this,n},t.create=function(n,r){return new kn(n,r)},t}(j);var kn=function(e){Z(t,e);function t(n,r){var o=e.call(this)||this;return o.destination=n,o.source=r,o}return t.prototype.next=function(n){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.next)===null||o===void 0||o.call(r,n)},t.prototype.error=function(n){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.error)===null||o===void 0||o.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,o;return(o=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&o!==void 0?o:dr},t}(w);var dt={now:function(){return(dt.delegate||Date).now()},delegate:void 0};var ht=function(e){Z(t,e);function t(n,r,o){n===void 0&&(n=1/0),r===void 0&&(r=1/0),o===void 0&&(o=dt);var i=e.call(this)||this;return i._bufferSize=n,i._windowTime=r,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,n),i._windowTime=Math.max(1,r),i}return t.prototype.next=function(n){var r=this,o=r.isStopped,i=r._buffer,a=r._infiniteTimeWindow,s=r._timestampProvider,c=r._windowTime;o||(i.push(n),!a&&i.push(s.now()+c)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),o=this,i=o._infiniteTimeWindow,a=o._buffer,s=a.slice(),c=0;c0?e.prototype.requestAsyncId.call(this,n,r,o):(n.actions.push(this),n._scheduled||(n._scheduled=et.requestAnimationFrame(function(){return n.flush(void 0)})))},t.prototype.recycleAsyncId=function(n,r,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,n,r,o);n.actions.length===0&&(et.cancelAnimationFrame(r),n._scheduled=void 0)},t}(jt);var Rn=function(e){Z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(n){this._active=!0,this._scheduled=void 0;var r=this.actions,o,i=-1;n=n||r.shift();var a=r.length;do if(o=n.execute(n.state,n.delay))break;while(++i=2,!0))}function ce(e){e===void 0&&(e={});var t=e.connector,n=t===void 0?function(){return new w}:t,r=e.resetOnError,o=r===void 0?!0:r,i=e.resetOnComplete,a=i===void 0?!0:i,s=e.resetOnRefCountZero,c=s===void 0?!0:s;return function(l){var u=null,m=null,f=null,h=0,v=!1,d=!1,N=function(){m==null||m.unsubscribe(),m=null},J=function(){N(),u=f=null,v=d=!1},W=function(){var _=u;J(),_==null||_.unsubscribe()};return g(function(_,Ve){h++,!d&&!v&&N();var Ce=f=f!=null?f:n();Ve.add(function(){h--,h===0&&!d&&!v&&(m=Mr(W,c))}),Ce.subscribe(Ve),u||(u=new mt({next:function(Ye){return Ce.next(Ye)},error:function(Ye){d=!0,N(),m=Mr(J,o,Ye),Ce.error(Ye)},complete:function(){v=!0,N(),m=Mr(J,a),Ce.complete()}}),te(_).subscribe(u))})(l)}}function Mr(e,t){for(var n=[],r=2;re.next(document)),e}function B(e,t=document){return Array.from(t.querySelectorAll(e))}function K(e,t=document){let n=fe(e,t);if(typeof n=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return n}function fe(e,t=document){return t.querySelector(e)||void 0}function Pe(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}function Xt(e){return L(S(document.body,"focusin"),S(document.body,"focusout")).pipe(qe(1),p(()=>{let t=Pe();return typeof t!="undefined"?e.contains(t):!1}),V(e===Pe()),Q())}function $e(e){return{x:e.offsetLeft,y:e.offsetTop}}function to(e){return L(S(window,"load"),S(window,"resize")).pipe(He(0,Se),p(()=>$e(e)),V($e(e)))}function ro(e){return{x:e.scrollLeft,y:e.scrollTop}}function Zt(e){return L(S(e,"scroll"),S(window,"resize")).pipe(He(0,Se),p(()=>ro(e)),V(ro(e)))}var no=new w,ca=P(()=>k(new ResizeObserver(e=>{for(let t of e)no.next(t)}))).pipe(T(e=>L(ge,k(e)).pipe(C(()=>e.disconnect()))),G(1));function _e(e){return{width:e.offsetWidth,height:e.offsetHeight}}function he(e){return ca.pipe(O(t=>t.observe(e)),T(t=>no.pipe(M(({target:n})=>n===e),C(()=>t.unobserve(e)),p(()=>_e(e)))),V(_e(e)))}function er(e){return{width:e.scrollWidth,height:e.scrollHeight}}var la=new w,mb=P(()=>k(new IntersectionObserver(e=>{for(let t of e)la.next(t)},{threshold:1}))).pipe(T(e=>L(ge,k(e)).pipe(C(()=>e.disconnect()))),G(1));function oo(e,t=16){return Zt(e).pipe(p(({y:n})=>{let r=_e(e),o=er(e);return n>=o.height-r.height-t}),Q())}var tr={drawer:K("[data-md-toggle=drawer]"),search:K("[data-md-toggle=search]")};function io(e){return tr[e].checked}function We(e,t){tr[e].checked!==t&&tr[e].click()}function rr(e){let t=tr[e];return S(t,"change").pipe(p(()=>t.checked),V(t.checked))}function ua(e,t){switch(e.constructor){case HTMLInputElement:return e.type==="radio"?/^Arrow/.test(t):!0;case HTMLSelectElement:case HTMLTextAreaElement:return!0;default:return e.isContentEditable}}function ao(){return S(window,"keydown").pipe(M(e=>!(e.metaKey||e.ctrlKey)),p(e=>({mode:io("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),M(({mode:e,type:t})=>{if(e==="global"){let n=Pe();if(typeof n!="undefined")return!ua(n,t)}return!0}),ce())}function Me(){return new URL(location.href)}function so(e){location.href=e.href}function co(){return new w}function lo(e,t){if(typeof t=="string"||typeof t=="number")e.innerHTML+=t.toString();else if(t instanceof Node)e.appendChild(t);else if(Array.isArray(t))for(let n of t)lo(e,n)}function H(e,t,...n){let r=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="boolean"?r.setAttribute(o,t[o]):t[o]&&r.setAttribute(o,"");for(let o of n)lo(r,o);return r}function uo(e,t){let n=t;if(e.length>n){for(;e[n]!==" "&&--n>0;);return`${e.substring(0,n)}...`}return e}function nr(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function po(){return location.hash.substring(1)}function fo(e){let t=H("a",{href:e});t.addEventListener("click",n=>n.stopPropagation()),t.click()}function pa(){return S(window,"hashchange").pipe(p(po),V(po()),M(e=>e.length>0),G(1))}function mo(){return pa().pipe(p(e=>fe(`[id="${e}"]`)),M(e=>typeof e!="undefined"))}function Fr(e){let t=matchMedia(e);return Jt(n=>t.addListener(()=>n(t.matches))).pipe(V(t.matches))}function ho(){let e=matchMedia("print");return L(S(window,"beforeprint").pipe(re(!0)),S(window,"afterprint").pipe(re(!1))).pipe(V(e.matches))}function Rr(e,t){return e.pipe(T(n=>n?t():z))}function or(e,t={credentials:"same-origin"}){return te(fetch(`${e}`,t)).pipe(M(n=>n.status===200),je(()=>z))}function Ae(e,t){return or(e,t).pipe(T(n=>n.json()),G(1))}function bo(e,t){let n=new DOMParser;return or(e,t).pipe(T(r=>r.text()),p(r=>n.parseFromString(r,"text/xml")),G(1))}function vo(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function go(){return L(S(window,"scroll",{passive:!0}),S(window,"resize",{passive:!0})).pipe(p(vo),V(vo()))}function xo(){return{width:innerWidth,height:innerHeight}}function yo(){return S(window,"resize",{passive:!0}).pipe(p(xo),V(xo()))}function So(){return q([go(),yo()]).pipe(p(([e,t])=>({offset:e,size:t})),G(1))}function ir(e,{viewport$:t,header$:n}){let r=t.pipe(Y("size")),o=q([r,n]).pipe(p(()=>$e(e)));return q([n,t,o]).pipe(p(([{height:i},{offset:a,size:s},{x:c,y:l}])=>({offset:{x:a.x-c,y:a.y-l+i},size:s})))}function wo(e,{tx$:t}){let n=S(e,"message").pipe(p(({data:r})=>r));return t.pipe(yt(()=>n,{leading:!0,trailing:!0}),O(r=>e.postMessage(r)),Ar(n),ce())}var fa=K("#__config"),st=JSON.parse(fa.textContent);st.base=`${new URL(st.base,Me())}`;function be(){return st}function ae(e){return st.features.includes(e)}function X(e,t){return typeof t!="undefined"?st.translations[e].replace("#",t.toString()):st.translations[e]}function Le(e,t=document){return K(`[data-md-component=${e}]`,t)}function ne(e,t=document){return B(`[data-md-component=${e}]`,t)}var Ho=Be(jr());function Eo(e){return H("aside",{class:"md-annotation",tabIndex:0},H("div",{class:"md-annotation__inner md-tooltip"},H("div",{class:"md-tooltip__inner md-typeset"})),H("span",{class:"md-annotation__index"},H("span",{"data-md-annotation-id":e})))}function Oo(e){return H("button",{class:"md-clipboard md-icon",title:X("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}function Pr(e,t){let n=t&2,r=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).map(a=>[H("del",null,a)," "]).flat().slice(0,-1),i=new URL(e.location);return ae("search.highlight")&&i.searchParams.set("h",Object.entries(e.terms).filter(([,a])=>a).reduce((a,[s])=>`${a} ${s}`.trim(),"")),H("a",{href:`${i}`,class:"md-search-result__link",tabIndex:-1},H("article",{class:["md-search-result__article",...n?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},n>0&&H("div",{class:"md-search-result__icon md-icon"}),H("h1",{class:"md-search-result__title"},e.title),r>0&&e.text.length>0&&H("p",{class:"md-search-result__teaser"},uo(e.text,320)),r>0&&o.length>0&&H("p",{class:"md-search-result__terms"},X("search.result.term.missing"),": ",o)))}function To(e){let t=e[0].score,n=[...e],r=n.findIndex(l=>!l.location.includes("#")),[o]=n.splice(r,1),i=n.findIndex(l=>l.scorePr(l,1)),...s.length?[H("details",{class:"md-search-result__more"},H("summary",{tabIndex:-1},s.length>0&&s.length===1?X("search.result.more.one"):X("search.result.more.other",s.length)),s.map(l=>Pr(l,1)))]:[]];return H("li",{class:"md-search-result__item"},c)}function _o(e){return H("ul",{class:"md-source__facts"},Object.entries(e).map(([t,n])=>H("li",{class:`md-source__fact md-source__fact--${t}`},typeof n=="number"?nr(n):n)))}function Mo(e){return H("div",{class:"md-typeset__scrollwrap"},H("div",{class:"md-typeset__table"},e))}function ma(e){let t=be(),n=new URL(`../${e.version}/`,t.base);return H("li",{class:"md-version__item"},H("a",{href:n.toString(),class:"md-version__link"},e.title))}function Ao(e,t){return H("div",{class:"md-version"},H("button",{class:"md-version__current","aria-label":X("select.version.title")},t.title),H("ul",{class:"md-version__list"},e.map(ma)))}function da(e,t){let n=P(()=>q([to(e),Zt(t)])).pipe(p(([{x:r,y:o},i])=>{let{width:a}=_e(e);return{x:r-i.x+a/2,y:o-i.y}}));return Xt(e).pipe(T(r=>n.pipe(p(o=>({active:r,offset:o})),pe(+!r||1/0))))}function Lo(e,t){return P(()=>{let n=new w;n.subscribe({next({offset:i}){e.style.setProperty("--md-tooltip-x",`${i.x}px`),e.style.setProperty("--md-tooltip-y",`${i.y}px`)},complete(){e.style.removeProperty("--md-tooltip-x"),e.style.removeProperty("--md-tooltip-y")}}),n.pipe(kr(500,Se),p(()=>t.getBoundingClientRect()),p(({x:i})=>i)).subscribe({next(i){i?e.style.setProperty("--md-tooltip-0",`${-i}px`):e.style.removeProperty("--md-tooltip-0")},complete(){e.style.removeProperty("--md-tooltip-0")}});let r=K(":scope > :last-child",e),o=S(r,"mousedown",{once:!0});return n.pipe(T(({active:i})=>i?o:z),O(i=>i.preventDefault())).subscribe(()=>e.blur()),da(e,t).pipe(O(i=>n.next(i)),C(()=>n.complete()),p(i=>I({ref:e},i)))})}function ha(e){let t=[];for(let n of B(".c, .c1, .cm",e)){let r,o=n.firstChild;for(;r=/\((\d+)\)/.exec(o.textContent);){let i=o.splitText(r.index);o=i.splitText(r[0].length),t.push(i)}}return t}function Co(e,t){t.append(...Array.from(e.childNodes))}function ko(e,t,{print$:n}){let r=new Map;for(let o of ha(t)){let[,i]=o.textContent.match(/\((\d+)\)/);r.set(+i,Eo(+i)),o.replaceWith(r.get(+i))}return r.size===0?z:P(()=>{let o=new w;return n.pipe(le(o.pipe(se(1)))).subscribe(i=>{e.hidden=!i;for(let[a,s]of r){let c=K(".md-typeset",s),l=K(`li:nth-child(${a})`,e);i?Co(c,l):Co(l,c)}}),L(...[...r].map(([,i])=>Lo(i,t))).pipe(C(()=>o.complete()),ce())})}var ba=0;function Fo(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return Fo(t)}}function Ro(e){return he(e).pipe(p(({width:t})=>({scrollable:er(e).width>t})),Y("scrollable"))}function Io(e,t){let{matches:n}=matchMedia("(hover)");return P(()=>{let r=new w;if(r.subscribe(({scrollable:i})=>{i&&n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}),Ho.default.isSupported()){let i=e.closest("pre");i.id=`__code_${++ba}`,i.insertBefore(Oo(i.id),e)}let o=e.closest([":not(td):not(.code) > .highlight",".highlighttable"].join(", "));if(o instanceof HTMLElement){let i=Fo(o);if(typeof i!="undefined"&&(o.classList.contains("annotate")||ae("content.code.annotate"))){let a=ko(i,e,t);return Ro(e).pipe(O(s=>r.next(s)),C(()=>r.complete()),p(s=>I({ref:e},s)),Ke(he(o).pipe(le(r.pipe(se(1))),p(({width:s,height:c})=>s&&c),Q(),T(s=>s?a:z))))}}return Ro(e).pipe(O(i=>r.next(i)),C(()=>r.complete()),p(i=>I({ref:e},i)))})}function va(e,{target$:t,print$:n}){let r=!0;return L(t.pipe(p(o=>o.closest("details:not([open])")),M(o=>e===o),re({action:"open",reveal:!0})),n.pipe(M(o=>o||!r),O(()=>r=e.open),p(o=>({action:o?"open":"close"}))))}function jo(e,t){return P(()=>{let n=new w;return n.subscribe(({action:r,reveal:o})=>{r==="open"?e.setAttribute("open",""):e.removeAttribute("open"),o&&e.scrollIntoView()}),va(e,t).pipe(O(r=>n.next(r)),C(()=>n.complete()),p(r=>I({ref:e},r)))})}var Po=H("table");function $o(e){return e.replaceWith(Po),Po.replaceWith(Mo(e)),k({ref:e})}function ga(e){let t=B(":scope > input",e);return L(...t.map(n=>S(n,"change").pipe(re({active:K(`label[for=${n.id}]`)})))).pipe(V({active:K(`label[for=${t[0].id}]`)}))}function Wo(e){let t=K(".tabbed-labels",e);return P(()=>{let n=new w;return q([n,he(e)]).pipe(He(1,Se),le(n.pipe(se(1)))).subscribe({next([{active:r}]){let o=$e(r),{width:i}=_e(r);e.style.setProperty("--md-indicator-x",`${o.x}px`),e.style.setProperty("--md-indicator-width",`${i}px`),t.scrollTo({behavior:"smooth",left:o.x})},complete(){e.style.removeProperty("--md-indicator-x"),e.style.removeProperty("--md-indicator-width")}}),ga(e).pipe(O(r=>n.next(r)),C(()=>n.complete()),p(r=>I({ref:e},r)))})}function Uo(e,{target$:t,print$:n}){return L(...B("pre > code",e).map(r=>Io(r,{print$:n})),...B("table:not([class])",e).map(r=>$o(r)),...B("details",e).map(r=>jo(r,{target$:t,print$:n})),...B("[data-tabs]",e).map(r=>Wo(r)))}function xa(e,{alert$:t}){return t.pipe(T(n=>L(k(!0),k(!1).pipe(Fe(2e3))).pipe(p(r=>({message:n,active:r})))))}function Vo(e,t){let n=K(".md-typeset",e);return P(()=>{let r=new w;return r.subscribe(({message:o,active:i})=>{n.textContent=o,i?e.setAttribute("data-md-state","open"):e.removeAttribute("data-md-state")}),xa(e,t).pipe(O(o=>r.next(o)),C(()=>r.complete()),p(o=>I({ref:e},o)))})}function ya({viewport$:e}){if(!ae("header.autohide"))return k(!1);let t=e.pipe(p(({offset:{y:o}})=>o),we(2,1),p(([o,i])=>[oMath.abs(i-o.y)>100),p(([,[o]])=>o),Q()),r=rr("search");return q([e,r]).pipe(p(([{offset:o},i])=>o.y>400&&!i),Q(),T(o=>o?n:k(!1)),V(!1))}function Do(e,t){return P(()=>{let n=getComputedStyle(e);return k(n.position==="sticky"||n.position==="-webkit-sticky")}).pipe(it(he(e),ya(t)),p(([n,{height:r},o])=>({height:n?r:0,sticky:n,hidden:o})),Q((n,r)=>n.sticky===r.sticky&&n.height===r.height&&n.hidden===r.hidden),G(1))}function No(e,{header$:t,main$:n}){return P(()=>{let r=new w;return r.pipe(Y("active"),it(t)).subscribe(([{active:o},{hidden:i}])=>{o?e.setAttribute("data-md-state",i?"hidden":"shadow"):e.removeAttribute("data-md-state")}),n.subscribe(r),t.pipe(le(r.pipe(se(1))),p(o=>I({ref:e},o)))})}function Sa(e,{viewport$:t,header$:n}){return ir(e,{viewport$:t,header$:n}).pipe(p(({offset:{y:r}})=>{let{height:o}=_e(e);return{active:r>=o}}),Y("active"))}function zo(e,t){return P(()=>{let n=new w;n.subscribe(({active:o})=>{o?e.setAttribute("data-md-state","active"):e.removeAttribute("data-md-state")});let r=fe("article h1");return typeof r=="undefined"?z:Sa(r,t).pipe(O(o=>n.next(o)),C(()=>n.complete()),p(o=>I({ref:e},o)))})}function qo(e,{viewport$:t,header$:n}){let r=n.pipe(p(({height:i})=>i),Q()),o=r.pipe(T(()=>he(e).pipe(p(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),Y("bottom"))));return q([r,o,t]).pipe(p(([i,{top:a,bottom:s},{offset:{y:c},size:{height:l}}])=>(l=Math.max(0,l-Math.max(0,a-c,i)-Math.max(0,l+c-s)),{offset:a-i,height:l,active:a-i<=c})),Q((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function wa(e){let t=__md_get("__palette")||{index:e.findIndex(n=>matchMedia(n.getAttribute("data-md-color-media")).matches)};return k(...e).pipe(ie(n=>S(n,"change").pipe(re(n))),V(e[Math.max(0,t.index)]),p(n=>({index:e.indexOf(n),color:{scheme:n.getAttribute("data-md-color-scheme"),primary:n.getAttribute("data-md-color-primary"),accent:n.getAttribute("data-md-color-accent")}})),G(1))}function Qo(e){return P(()=>{let t=new w;t.subscribe(r=>{for(let[o,i]of Object.entries(r.color))typeof i=="string"&&document.body.setAttribute(`data-md-color-${o}`,i);for(let o=0;ot.next(r)),C(()=>t.complete()),p(r=>I({ref:e},r)))})}var $r=Be(jr());function Ea(e){e.setAttribute("data-md-copying","");let t=e.innerText;return e.removeAttribute("data-md-copying"),t}function Ko({alert$:e}){$r.default.isSupported()&&new j(t=>{new $r.default("[data-clipboard-target], [data-clipboard-text]",{text:n=>n.getAttribute("data-clipboard-text")||Ea(K(n.getAttribute("data-clipboard-target")))}).on("success",n=>t.next(n))}).pipe(O(t=>{t.trigger.focus()}),re(X("clipboard.copied"))).subscribe(e)}function Oa(e){if(e.length<2)return e;let[t,n]=e.sort((i,a)=>i.length-a.length).map(i=>i.replace(/[^/]+$/,"")),r=0;if(t===n)r=t.length;else for(;t.charCodeAt(r)===n.charCodeAt(r);)r++;let o=be();return e.map(i=>i.replace(t.slice(0,r),o.base))}function Yo({document$:e,location$:t,viewport$:n}){let r=be();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",S(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=fe("link[rel=icon]");typeof o!="undefined"&&(o.href=o.href);let i=bo(new URL("sitemap.xml",r.base)).pipe(p(l=>Oa(B("loc",l).map(u=>u.textContent))),T(l=>S(document.body,"click").pipe(M(u=>!u.metaKey&&!u.ctrlKey),T(u=>{if(u.target instanceof Element){let m=u.target.closest("a");if(m&&!m.target){let f=new URL(m.href);if(f.search="",f.hash="",f.pathname!==location.pathname&&l.includes(f.toString()))return u.preventDefault(),k({url:new URL(m.href)})}}return ge}))),ce()),a=S(window,"popstate").pipe(M(l=>l.state!==null),p(l=>({url:new URL(location.href),offset:l.state})),ce());L(i,a).pipe(Q((l,u)=>l.url.href===u.url.href),p(({url:l})=>l)).subscribe(t);let s=t.pipe(Y("pathname"),T(l=>or(l.href).pipe(je(()=>(so(l),ge)))),ce());i.pipe(at(s)).subscribe(({url:l})=>{history.pushState({},"",`${l}`)});let c=new DOMParser;s.pipe(T(l=>l.text()),p(l=>c.parseFromString(l,"text/html"))).subscribe(e),e.pipe(Gt(1)).subscribe(l=>{for(let u of["title","link[rel=canonical]","meta[name=author]","meta[name=description]","[data-md-component=announce]","[data-md-component=container]","[data-md-component=header-topic]","[data-md-component=logo]","[data-md-component=skip]",...ae("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let m=fe(u),f=fe(u,l);typeof m!="undefined"&&typeof f!="undefined"&&m.replaceWith(f)}}),e.pipe(Gt(1),p(()=>Le("container")),T(l=>k(...B("script",l))),Er(l=>{let u=H("script");if(l.src){for(let m of l.getAttributeNames())u.setAttribute(m,l.getAttribute(m));return l.replaceWith(u),new j(m=>{u.onload=()=>m.complete()})}else return u.textContent=l.textContent,l.replaceWith(u),z})).subscribe(),L(i,a).pipe(at(e)).subscribe(({url:l,offset:u})=>{l.hash&&!u?fo(l.hash):window.scrollTo(0,(u==null?void 0:u.y)||0)}),n.pipe(xt(i),qe(250),Y("offset")).subscribe(({offset:l})=>{history.replaceState(l,"")}),L(i,a).pipe(we(2,1),M(([l,u])=>l.url.pathname===u.url.pathname),p(([,l])=>l)).subscribe(({offset:l})=>{window.scrollTo(0,(l==null?void 0:l.y)||0)})}var Ma=Be(Wr());var Jo=Be(Wr());function Ur(e,t){let n=new RegExp(e.separator,"img"),r=(o,i,a)=>`${i}${a}`;return o=>{o=o.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator})(${o.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(n,"|")})`,"img");return a=>(t?(0,Jo.default)(a):a).replace(i,r).replace(/<\/mark>(\s+)]*>/img,"$1")}}function Go(e){return e.split(/"([^"]+)"/g).map((t,n)=>n&1?t.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):t).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}var wt=(o=>(o[o.SETUP=0]="SETUP",o[o.READY=1]="READY",o[o.QUERY=2]="QUERY",o[o.RESULT=3]="RESULT",o))(wt||{});function ct(e){return e.type===1}function Xo(e){return e.type===2}function lt(e){return e.type===3}function Aa({config:e,docs:t}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[X("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=X("search.config.separator"));let r={pipeline:X("search.config.pipeline").split(/\s*,\s*/).filter(Boolean),suggestions:ae("search.suggest")};return{config:e,docs:t,options:r}}function Zo(e,t){let n=be(),r=new Worker(e),o=new w,i=wo(r,{tx$:o}).pipe(p(a=>{if(lt(a))for(let s of a.data.items)for(let c of s)c.location=`${new URL(c.location,n.base)}`;return a}),ce());return te(t).pipe(p(a=>({type:wt.SETUP,data:Aa(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function ei(){let e=be(),t=Ae(new URL("../versions.json",e.base)),n=t.pipe(p(r=>{let[,o]=e.base.match(/([^/]+)\/?$/);return r.find(({version:i,aliases:a})=>i===o||a.includes(o))||r[0]}));q([t,n]).subscribe(([r,o])=>{var a;if(K(".md-header__topic").appendChild(Ao(r,o)),__md_get("__outdated",sessionStorage)===null){let s=((a=e.version)==null?void 0:a.default)||"latest",c=!o.aliases.includes(s);if(__md_set("__outdated",c,sessionStorage),c)for(let l of ne("outdated"))l.hidden=!1}})}function La(e,{rx$:t}){let n=(__search==null?void 0:__search.transform)||Go,{searchParams:r}=Me();r.has("q")&&We("search",!0);let o=t.pipe(M(ct),pe(1),p(()=>r.get("q")||""));o.subscribe(s=>{s&&(e.value=s)});let i=Xt(e),a=L(S(e,"keyup"),S(e,"focus").pipe(Fe(1)),o).pipe(p(()=>n(e.value)),V(""),Q());return q([a,i]).pipe(p(([s,c])=>({value:s,focus:c})),G(1))}function ti(e,{tx$:t,rx$:n}){let r=new w;return r.pipe(Y("value"),p(({value:o})=>({type:wt.QUERY,data:o}))).subscribe(t.next.bind(t)),r.pipe(Y("focus")).subscribe(({focus:o})=>{o?(We("search",o),e.placeholder=""):e.placeholder=X("search.placeholder")}),S(e.form,"reset").pipe(le(r.pipe(se(1)))).subscribe(()=>e.focus()),La(e,{tx$:t,rx$:n}).pipe(O(o=>r.next(o)),C(()=>r.complete()),p(o=>I({ref:e},o)))}function ri(e,{rx$:t},{query$:n}){let r=new w,o=oo(e.parentElement).pipe(M(Boolean)),i=K(":scope > :first-child",e),a=K(":scope > :last-child",e),s=t.pipe(M(ct),pe(1));return r.pipe(Ee(n),xt(s)).subscribe(([{items:l},{value:u}])=>{if(u)switch(l.length){case 0:i.textContent=X("search.result.none");break;case 1:i.textContent=X("search.result.one");break;default:i.textContent=X("search.result.other",nr(l.length))}else i.textContent=X("search.result.placeholder")}),r.pipe(O(()=>a.innerHTML=""),T(({items:l})=>L(k(...l.slice(0,10)),k(...l.slice(10)).pipe(we(4),Hr(o),T(([u])=>k(...u)))))).subscribe(l=>a.appendChild(To(l))),t.pipe(M(lt),p(({data:l})=>l)).pipe(O(l=>r.next(l)),C(()=>r.complete()),p(l=>I({ref:e},l)))}function Ca(e,{query$:t}){return t.pipe(p(({value:n})=>{let r=Me();return r.hash="",r.searchParams.delete("h"),r.searchParams.set("q",n),{url:r}}))}function ni(e,t){let n=new w;return n.subscribe(({url:r})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${r}`}),S(e,"click").subscribe(r=>r.preventDefault()),Ca(e,t).pipe(O(r=>n.next(r)),C(()=>n.complete()),p(r=>I({ref:e},r)))}function oi(e,{rx$:t},{keyboard$:n}){let r=new w,o=Le("search-query"),i=L(S(o,"keydown"),S(o,"focus")).pipe(Ne(Te),p(()=>o.value),Q());return r.pipe(it(i),p(([{suggestions:s},c])=>{let l=c.split(/([\s-]+)/);if((s==null?void 0:s.length)&&l[l.length-1]){let u=s[s.length-1];u.startsWith(l[l.length-1])&&(l[l.length-1]=u)}else l.length=0;return l})).subscribe(s=>e.innerHTML=s.join("").replace(/\s/g," ")),n.pipe(M(({mode:s})=>s==="search")).subscribe(s=>{switch(s.type){case"ArrowRight":e.innerText.length&&o.selectionStart===o.value.length&&(o.value=e.innerText);break}}),t.pipe(M(lt),p(({data:s})=>s)).pipe(O(s=>r.next(s)),C(()=>r.complete()),p(()=>({ref:e})))}function ii(e,{index$:t,keyboard$:n}){let r=be();try{let o=(__search==null?void 0:__search.worker)||r.search,i=Zo(o,t),a=Le("search-query",e),s=Le("search-result",e),{tx$:c,rx$:l}=i;c.pipe(M(Xo),at(l.pipe(M(ct))),pe(1)).subscribe(c.next.bind(c)),n.pipe(M(({mode:f})=>f==="search")).subscribe(f=>{let h=Pe();switch(f.type){case"Enter":if(h===a){let v=new Map;for(let d of B(":first-child [href]",s)){let N=d.firstElementChild;v.set(d,parseFloat(N.getAttribute("data-md-score")))}if(v.size){let[[d]]=[...v].sort(([,N],[,J])=>J-N);d.click()}f.claim()}break;case"Escape":case"Tab":We("search",!1),a.blur();break;case"ArrowUp":case"ArrowDown":if(typeof h=="undefined")a.focus();else{let v=[a,...B(":not(details) > [href], summary, details[open] [href]",s)],d=Math.max(0,(Math.max(0,v.indexOf(h))+v.length+(f.type==="ArrowUp"?-1:1))%v.length);v[d].focus()}f.claim();break;default:a!==Pe()&&a.focus()}}),n.pipe(M(({mode:f})=>f==="global")).subscribe(f=>{switch(f.type){case"f":case"s":case"/":a.focus(),a.select(),f.claim();break}});let u=ti(a,i),m=ri(s,i,{query$:u});return L(u,m).pipe(Ke(...ne("search-share",e).map(f=>ni(f,{query$:u})),...ne("search-suggest",e).map(f=>oi(f,i,{keyboard$:n}))))}catch(o){return e.hidden=!0,ge}}function ai(e,{index$:t,location$:n}){return q([t,n.pipe(V(Me()),M(r=>!!r.searchParams.get("h")))]).pipe(p(([r,o])=>Ur(r.config,!0)(o.searchParams.get("h"))),p(r=>{var a;let o=new Map,i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT);for(let s=i.nextNode();s;s=i.nextNode())if((a=s.parentElement)==null?void 0:a.offsetHeight){let c=s.textContent,l=r(c);l.length>c.length&&o.set(s,l)}for(let[s,c]of o){let{childNodes:l}=H("span",null,c);s.replaceWith(...Array.from(l))}return{ref:e,nodes:o}}))}function ka(e,{viewport$:t,main$:n}){let r=e.parentElement,o=r.offsetTop-r.parentElement.offsetTop;return q([n,t]).pipe(p(([{offset:i,height:a},{offset:{y:s}}])=>(a=a+Math.min(o,Math.max(0,s-i))-o,{height:a,locked:s>=i+o})),Q((i,a)=>i.height===a.height&&i.locked===a.locked))}function Vr(e,r){var o=r,{header$:t}=o,n=Kr(o,["header$"]);let i=K(".md-sidebar__scrollwrap",e),{y:a}=$e(i);return P(()=>{let s=new w;return s.pipe(He(0,Se),Ee(t)).subscribe({next([{height:c},{height:l}]){i.style.height=`${c-2*a}px`,e.style.top=`${l}px`},complete(){i.style.height="",e.style.top=""}}),ka(e,n).pipe(O(c=>s.next(c)),C(()=>s.complete()),p(c=>I({ref:e},c)))})}function si(e,t){if(typeof t!="undefined"){let n=`https://api.github.com/repos/${e}/${t}`;return gt(Ae(`${n}/releases/latest`).pipe(p(r=>({version:r.tag_name})),Qe({})),Ae(n).pipe(p(r=>({stars:r.stargazers_count,forks:r.forks_count})),Qe({}))).pipe(p(([r,o])=>I(I({},r),o)))}else{let n=`https://api.github.com/users/${e}`;return Ae(n).pipe(p(r=>({repositories:r.public_repos})),Qe({}))}}function ci(e,t){let n=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Ae(n).pipe(p(({star_count:r,forks_count:o})=>({stars:r,forks:o})),Qe({}))}function li(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,n,r]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return si(n,r);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return ci(o,i);default:return z}}var Ha;function Fa(e){return Ha||(Ha=P(()=>{let t=__md_get("__source",sessionStorage);return t?k(t):li(e.href).pipe(O(n=>__md_set("__source",n,sessionStorage)))}).pipe(je(()=>z),M(t=>Object.keys(t).length>0),p(t=>({facts:t})),G(1)))}function ui(e){let t=K(":scope > :last-child",e);return P(()=>{let n=new w;return n.subscribe(({facts:r})=>{t.appendChild(_o(r)),t.setAttribute("data-md-state","done")}),Fa(e).pipe(O(r=>n.next(r)),C(()=>n.complete()),p(r=>I({ref:e},r)))})}function Ra(e,{viewport$:t,header$:n}){return he(document.body).pipe(T(()=>ir(e,{header$:n,viewport$:t})),p(({offset:{y:r}})=>({hidden:r>=10})),Y("hidden"))}function pi(e,t){return P(()=>{let n=new w;return n.subscribe({next({hidden:r}){r?e.setAttribute("data-md-state","hidden"):e.removeAttribute("data-md-state")},complete(){e.removeAttribute("data-md-state")}}),(ae("navigation.tabs.sticky")?k({hidden:!1}):Ra(e,t)).pipe(O(r=>n.next(r)),C(()=>n.complete()),p(r=>I({ref:e},r)))})}function Ia(e,{viewport$:t,header$:n}){let r=new Map,o=B("[href^=\\#]",e);for(let s of o){let c=decodeURIComponent(s.hash.substring(1)),l=fe(`[id="${c}"]`);typeof l!="undefined"&&r.set(s,l)}let i=n.pipe(p(s=>24+s.height));return he(document.body).pipe(Y("height"),T(s=>P(()=>{let c=[];return k([...r].reduce((l,[u,m])=>{for(;c.length&&r.get(c[c.length-1]).tagName>=m.tagName;)c.pop();let f=m.offsetTop;for(;!f&&m.parentElement;)m=m.parentElement,f=m.offsetTop;return l.set([...c=[...c,u]].reverse(),f)},new Map))}).pipe(p(c=>new Map([...c].sort(([,l],[,u])=>l-u))),T(c=>q([t,i]).pipe(_r(([l,u],[{offset:{y:m},size:f},h])=>{let v=m+f.height>=Math.floor(s.height);for(;u.length;){let[,d]=u[0];if(d-h=m&&!v)u=[l.pop(),...u];else break}return[l,u]},[[],[...c]]),Q((l,u)=>l[0]===u[0]&&l[1]===u[1])))))).pipe(p(([s,c])=>({prev:s.map(([l])=>l),next:c.map(([l])=>l)})),V({prev:[],next:[]}),we(2,1),p(([s,c])=>s.prev.length{let r=new w;return r.subscribe(({prev:o,next:i})=>{for(let[a]of i)a.removeAttribute("data-md-state"),a.classList.remove("md-nav__link--active");for(let[a,[s]]of o.entries())s.setAttribute("data-md-state","blur"),s.classList.toggle("md-nav__link--active",a===o.length-1)}),ae("navigation.tracking")&&t.pipe(le(r.pipe(se(1))),Y("offset"),qe(250),Ee(r)).subscribe(([,{prev:o}])=>{let i=Me(),a=o[o.length-1];if(a&&a.length){let[s]=a,{hash:c}=new URL(s.href);i.hash!==c&&(i.hash=c,history.replaceState({},"",`${i}`))}else i.hash="",history.replaceState({},"",`${i}`)}),Ia(e,{viewport$:t,header$:n}).pipe(O(o=>r.next(o)),C(()=>r.complete()),p(o=>I({ref:e},o)))})}function ja(e,{viewport$:t,main$:n}){let r=t.pipe(p(({offset:{y:i}})=>i),we(2,1),p(([i,a])=>i>a&&a),Q()),o=n.pipe(Y("active"));return q([o,r]).pipe(p(([{active:i},a])=>({hidden:!(i&&a)})),Q((i,a)=>i.hidden===a.hidden))}function mi(e,{viewport$:t,header$:n,main$:r}){let o=new w;return o.subscribe({next({hidden:i}){i?(e.setAttribute("data-md-state","hidden"),e.setAttribute("tabindex","-1"),e.blur()):(e.removeAttribute("data-md-state"),e.removeAttribute("tabindex"))},complete(){e.style.top="",e.setAttribute("data-md-state","hidden"),e.removeAttribute("tabindex")}}),n.pipe(le(o.pipe(Tr(0),se(1))),Y("height")).subscribe(({height:i})=>{e.style.top=`${i+16}px`}),ja(e,{viewport$:t,header$:n,main$:r}).pipe(O(i=>o.next(i)),C(()=>o.complete()),p(i=>I({ref:e},i)))}function di({document$:e,tablet$:t}){e.pipe(T(()=>k(...B("[data-md-state=indeterminate]"))),O(n=>{n.indeterminate=!0,n.checked=!1}),ie(n=>S(n,"change").pipe(Lr(()=>n.hasAttribute("data-md-state")),re(n))),Ee(t)).subscribe(([n,r])=>{n.removeAttribute("data-md-state"),r&&(n.checked=!1)})}function Pa(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function hi({document$:e}){e.pipe(T(()=>k(...B("[data-md-scrollfix]"))),O(t=>t.removeAttribute("data-md-scrollfix")),M(Pa),ie(t=>S(t,"touchstart").pipe(re(t)))).subscribe(t=>{let n=t.scrollTop;n===0?t.scrollTop=1:n+t.offsetHeight===t.scrollHeight&&(t.scrollTop=n-1)})}function bi({viewport$:e,tablet$:t}){q([rr("search"),t]).pipe(p(([n,r])=>n&&!r),T(n=>k(n).pipe(Fe(n?400:100))),Ee(e)).subscribe(([n,{offset:{y:r}}])=>{if(n)document.body.setAttribute("data-md-state","lock"),document.body.style.top=`-${r}px`;else{let o=-1*parseInt(document.body.style.top,10);document.body.removeAttribute("data-md-state"),document.body.style.top="",o&&window.scrollTo(0,o)}})}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var ut=eo(),ar=co(),Dr=mo(),Nr=ao(),xe=So(),sr=Fr("(min-width: 960px)"),vi=Fr("(min-width: 1220px)"),gi=ho(),xi=be(),yi=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||Ae(new URL("search/search_index.json",xi.base)):ge,zr=new w;Ko({alert$:zr});ae("navigation.instant")&&Yo({document$:ut,location$:ar,viewport$:xe});var wi;((wi=xi.version)==null?void 0:wi.provider)==="mike"&&ei();L(ar,Dr).pipe(Fe(125)).subscribe(()=>{We("drawer",!1),We("search",!1)});Nr.pipe(M(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=fe("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let n=fe("[href][rel=next]");typeof n!="undefined"&&n.click();break}});di({document$:ut,tablet$:sr});hi({document$:ut});bi({viewport$:xe,tablet$:sr});var Ue=Do(Le("header"),{viewport$:xe}),cr=ut.pipe(p(()=>Le("main")),T(e=>qo(e,{viewport$:xe,header$:Ue})),G(1)),$a=L(...ne("dialog").map(e=>Vo(e,{alert$:zr})),...ne("header").map(e=>No(e,{viewport$:xe,header$:Ue,main$:cr})),...ne("palette").map(e=>Qo(e)),...ne("search").map(e=>ii(e,{index$:yi,keyboard$:Nr})),...ne("source").map(e=>ui(e))),Wa=P(()=>L(...ne("content").map(e=>Uo(e,{target$:Dr,print$:gi})),...ne("content").map(e=>ae("search.highlight")?ai(e,{index$:yi,location$:ar}):z),...ne("header-title").map(e=>zo(e,{viewport$:xe,header$:Ue})),...ne("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Rr(vi,()=>Vr(e,{viewport$:xe,header$:Ue,main$:cr})):Rr(sr,()=>Vr(e,{viewport$:xe,header$:Ue,main$:cr}))),...ne("tabs").map(e=>pi(e,{viewport$:xe,header$:Ue})),...ne("toc").map(e=>fi(e,{viewport$:xe,header$:Ue})),...ne("top").map(e=>mi(e,{viewport$:xe,header$:Ue,main$:cr})))),Si=ut.pipe(T(()=>Wa),Ke($a),G(1));Si.subscribe();window.document$=ut;window.location$=ar;window.target$=Dr;window.keyboard$=Nr;window.viewport$=xe;window.tablet$=sr;window.screen$=vi;window.print$=gi;window.alert$=zr;window.component$=Si;})(); //# sourceMappingURL=bundle.9ab3d63a.min.js.map