"use strict";(()=>{var Pi=Object.create;var vr=Object.defineProperty;var $i=Object.getOwnPropertyDescriptor;var Ii=Object.getOwnPropertyNames,Rt=Object.getOwnPropertySymbols,Fi=Object.getPrototypeOf,gr=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable;var nn=(e,t,r)=>t in e?vr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,H=(e,t)=>{for(var r in t||(t={}))gr.call(t,r)&&nn(e,r,t[r]);if(Rt)for(var r of Rt(t))on.call(t,r)&&nn(e,r,t[r]);return e};var an=(e,t)=>{var r={};for(var n in e)gr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Rt)for(var n of Rt(e))t.indexOf(n)<0&&on.call(e,n)&&(r[n]=e[n]);return r};var kt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ji=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ii(t))!gr.call(e,o)&&o!==r&&vr(e,o,{get:()=>t[o],enumerable:!(n=$i(t,o))||n.enumerable});return e};var rt=(e,t,r)=>(r=e!=null?Pi(Fi(e)):{},ji(t||!e||!e.__esModule?vr(r,"default",{value:e,enumerable:!0}):r,e));var cn=kt((yr,sn)=>{(function(e,t){typeof yr=="object"&&typeof sn!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(yr,function(){"use strict";function e(r){var n=!0,o=!1,i=null,s={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 a(T){return!!(T&&T!==document&&T.nodeName!=="HTML"&&T.nodeName!=="BODY"&&"classList"in T&&"contains"in T.classList)}function f(T){var De=T.type,je=T.tagName;return!!(je==="INPUT"&&s[De]&&!T.readOnly||je==="TEXTAREA"&&!T.readOnly||T.isContentEditable)}function c(T){T.classList.contains("focus-visible")||(T.classList.add("focus-visible"),T.setAttribute("data-focus-visible-added",""))}function u(T){!T.hasAttribute("data-focus-visible-added")||(T.classList.remove("focus-visible"),T.removeAttribute("data-focus-visible-added"))}function p(T){T.metaKey||T.altKey||T.ctrlKey||(a(r.activeElement)&&c(r.activeElement),n=!0)}function m(T){n=!1}function d(T){!a(T.target)||(n||f(T.target))&&c(T.target)}function h(T){!a(T.target)||(T.target.classList.contains("focus-visible")||T.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),u(T.target))}function b(T){document.visibilityState==="hidden"&&(o&&(n=!0),K())}function K(){document.addEventListener("mousemove",V),document.addEventListener("mousedown",V),document.addEventListener("mouseup",V),document.addEventListener("pointermove",V),document.addEventListener("pointerdown",V),document.addEventListener("pointerup",V),document.addEventListener("touchmove",V),document.addEventListener("touchstart",V),document.addEventListener("touchend",V)}function X(){document.removeEventListener("mousemove",V),document.removeEventListener("mousedown",V),document.removeEventListener("mouseup",V),document.removeEventListener("pointermove",V),document.removeEventListener("pointerdown",V),document.removeEventListener("pointerup",V),document.removeEventListener("touchmove",V),document.removeEventListener("touchstart",V),document.removeEventListener("touchend",V)}function V(T){T.target.nodeName&&T.target.nodeName.toLowerCase()==="html"||(n=!1,X())}document.addEventListener("keydown",p,!0),document.addEventListener("mousedown",m,!0),document.addEventListener("pointerdown",m,!0),document.addEventListener("touchstart",m,!0),document.addEventListener("visibilitychange",b,!0),K(),r.addEventListener("focus",d,!0),r.addEventListener("blur",h,!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 fn=kt(xr=>{(function(e){var t=function(){try{return!!Symbol.iterator}catch(c){return!1}},r=t(),n=function(c){var u={next:function(){var p=c.shift();return{done:p===void 0,value:p}}};return r&&(u[Symbol.iterator]=function(){return u}),u},o=function(c){return encodeURIComponent(c).replace(/%20/g,"+")},i=function(c){return decodeURIComponent(String(c).replace(/\+/g," "))},s=function(){var c=function(p){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var m=typeof p;if(m!=="undefined")if(m==="string")p!==""&&this._fromString(p);else if(p instanceof c){var d=this;p.forEach(function(X,V){d.append(V,X)})}else if(p!==null&&m==="object")if(Object.prototype.toString.call(p)==="[object Array]")for(var h=0;hd[0]?1:0}),c._entries&&(c._entries={});for(var p=0;p1?i(d[1]):"")}})})(typeof global!="undefined"?global:typeof window!="undefined"?window:typeof self!="undefined"?self:xr);(function(e){var t=function(){try{var o=new e.URL("b","http://a");return o.pathname="c d",o.href==="http://a/c%20d"&&o.searchParams}catch(i){return!1}},r=function(){var o=e.URL,i=function(f,c){typeof f!="string"&&(f=String(f)),c&&typeof c!="string"&&(c=String(c));var u=document,p;if(c&&(e.location===void 0||c!==e.location.href)){c=c.toLowerCase(),u=document.implementation.createHTMLDocument(""),p=u.createElement("base"),p.href=c,u.head.appendChild(p);try{if(p.href.indexOf(c)!==0)throw new Error(p.href)}catch(T){throw new Error("URL unable to set base "+c+" due to "+T)}}var m=u.createElement("a");m.href=f,p&&(u.body.appendChild(m),m.href=m.href);var d=u.createElement("input");if(d.type="url",d.value=f,m.protocol===":"||!/:/.test(m.href)||!d.checkValidity()&&!c)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:m});var h=new e.URLSearchParams(this.search),b=!0,K=!0,X=this;["append","delete","set"].forEach(function(T){var De=h[T];h[T]=function(){De.apply(h,arguments),b&&(K=!1,X.search=h.toString(),K=!0)}}),Object.defineProperty(this,"searchParams",{value:h,enumerable:!0});var V=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==V&&(V=this.search,K&&(b=!1,this.searchParams._fromString(this.search),b=!0))}})},s=i.prototype,a=function(f){Object.defineProperty(s,f,{get:function(){return this._anchorElement[f]},set:function(c){this._anchorElement[f]=c},enumerable:!0})};["hash","host","hostname","port","protocol"].forEach(function(f){a(f)}),Object.defineProperty(s,"search",{get:function(){return this._anchorElement.search},set:function(f){this._anchorElement.search=f,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(s,{toString:{get:function(){var f=this;return function(){return f.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(f){this._anchorElement.href=f,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(f){this._anchorElement.pathname=f},enumerable:!0},origin:{get:function(){var f={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],c=this._anchorElement.port!=f&&this._anchorElement.port!=="";return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(c?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(f){},enumerable:!0},username:{get:function(){return""},set:function(f){},enumerable:!0}}),i.createObjectURL=function(f){return o.createObjectURL.apply(o,arguments)},i.revokeObjectURL=function(f){return o.revokeObjectURL.apply(o,arguments)},e.URL=i};if(t()||r(),e.location!==void 0&&!("origin"in e.location)){var n=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:n,enumerable:!0})}catch(o){setInterval(function(){e.location.origin=n()},100)}}})(typeof global!="undefined"?global:typeof window!="undefined"?window:typeof self!="undefined"?self:xr)});var qr=kt((Lt,zr)=>{/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */(function(t,r){typeof Lt=="object"&&typeof zr=="object"?zr.exports=r():typeof define=="function"&&define.amd?define([],r):typeof Lt=="object"?Lt.ClipboardJS=r():t.ClipboardJS=r()})(Lt,function(){return function(){var e={686:function(n,o,i){"use strict";i.d(o,{default:function(){return Hi}});var s=i(279),a=i.n(s),f=i(370),c=i.n(f),u=i(817),p=i.n(u);function m(F){try{return document.execCommand(F)}catch(_){return!1}}var d=function(_){var O=p()(_);return m("cut"),O},h=d;function b(F){var _=document.documentElement.getAttribute("dir")==="rtl",O=document.createElement("textarea");O.style.fontSize="12pt",O.style.border="0",O.style.padding="0",O.style.margin="0",O.style.position="absolute",O.style[_?"right":"left"]="-9999px";var k=window.pageYOffset||document.documentElement.scrollTop;return O.style.top="".concat(k,"px"),O.setAttribute("readonly",""),O.value=F,O}var K=function(_,O){var k=b(_);O.container.appendChild(k);var $=p()(k);return m("copy"),k.remove(),$},X=function(_){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},k="";return typeof _=="string"?k=K(_,O):_ instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(_==null?void 0:_.type)?k=K(_.value,O):(k=p()(_),m("copy")),k},V=X;function T(F){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(O){return typeof O}:T=function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},T(F)}var De=function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},O=_.action,k=O===void 0?"copy":O,$=_.container,z=_.target,_e=_.text;if(k!=="copy"&&k!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(z!==void 0)if(z&&T(z)==="object"&&z.nodeType===1){if(k==="copy"&&z.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(k==="cut"&&(z.hasAttribute("readonly")||z.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(_e)return V(_e,{container:$});if(z)return k==="cut"?h(z):V(z,{container:$})},je=De;function Pe(F){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Pe=function(O){return typeof O}:Pe=function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},Pe(F)}function Ti(F,_){if(!(F instanceof _))throw new TypeError("Cannot call a class as a function")}function rn(F,_){for(var O=0;O<_.length;O++){var k=_[O];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(F,k.key,k)}}function _i(F,_,O){return _&&rn(F.prototype,_),O&&rn(F,O),F}function Mi(F,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");F.prototype=Object.create(_&&_.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),_&&hr(F,_)}function hr(F,_){return hr=Object.setPrototypeOf||function(k,$){return k.__proto__=$,k},hr(F,_)}function Li(F){var _=Ri();return function(){var k=At(F),$;if(_){var z=At(this).constructor;$=Reflect.construct(k,arguments,z)}else $=k.apply(this,arguments);return Ai(this,$)}}function Ai(F,_){return _&&(Pe(_)==="object"||typeof _=="function")?_:Ci(F)}function Ci(F){if(F===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F}function Ri(){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(F){return!1}}function At(F){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)},At(F)}function br(F,_){var O="data-clipboard-".concat(F);if(!!_.hasAttribute(O))return _.getAttribute(O)}var ki=function(F){Mi(O,F);var _=Li(O);function O(k,$){var z;return Ti(this,O),z=_.call(this),z.resolveOptions($),z.listenClick(k),z}return _i(O,[{key:"resolveOptions",value:function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof $.action=="function"?$.action:this.defaultAction,this.target=typeof $.target=="function"?$.target:this.defaultTarget,this.text=typeof $.text=="function"?$.text:this.defaultText,this.container=Pe($.container)==="object"?$.container:document.body}},{key:"listenClick",value:function($){var z=this;this.listener=c()($,"click",function(_e){return z.onClick(_e)})}},{key:"onClick",value:function($){var z=$.delegateTarget||$.currentTarget,_e=this.action(z)||"copy",Ct=je({action:_e,container:this.container,target:this.target(z),text:this.text(z)});this.emit(Ct?"success":"error",{action:_e,text:Ct,trigger:z,clearSelection:function(){z&&z.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function($){return br("action",$)}},{key:"defaultTarget",value:function($){var z=br("target",$);if(z)return document.querySelector(z)}},{key:"defaultText",value:function($){return br("text",$)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function($){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return V($,z)}},{key:"cut",value:function($){return h($)}},{key:"isSupported",value:function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],z=typeof $=="string"?[$]:$,_e=!!document.queryCommandSupported;return z.forEach(function(Ct){_e=_e&&!!document.queryCommandSupported(Ct)}),_e}}]),O}(a()),Hi=ki},828:function(n){var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function s(a,f){for(;a&&a.nodeType!==o;){if(typeof a.matches=="function"&&a.matches(f))return a;a=a.parentNode}}n.exports=s},438:function(n,o,i){var s=i(828);function a(u,p,m,d,h){var b=c.apply(this,arguments);return u.addEventListener(m,b,h),{destroy:function(){u.removeEventListener(m,b,h)}}}function f(u,p,m,d,h){return typeof u.addEventListener=="function"?a.apply(null,arguments):typeof m=="function"?a.bind(null,document).apply(null,arguments):(typeof u=="string"&&(u=document.querySelectorAll(u)),Array.prototype.map.call(u,function(b){return a(b,p,m,d,h)}))}function c(u,p,m,d){return function(h){h.delegateTarget=s(h.target,p),h.delegateTarget&&d.call(u,h)}}n.exports=f},879:function(n,o){o.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},o.nodeList=function(i){var s=Object.prototype.toString.call(i);return i!==void 0&&(s==="[object NodeList]"||s==="[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 s=Object.prototype.toString.call(i);return s==="[object Function]"}},370:function(n,o,i){var s=i(879),a=i(438);function f(m,d,h){if(!m&&!d&&!h)throw new Error("Missing required arguments");if(!s.string(d))throw new TypeError("Second argument must be a String");if(!s.fn(h))throw new TypeError("Third argument must be a Function");if(s.node(m))return c(m,d,h);if(s.nodeList(m))return u(m,d,h);if(s.string(m))return p(m,d,h);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(m,d,h){return m.addEventListener(d,h),{destroy:function(){m.removeEventListener(d,h)}}}function u(m,d,h){return Array.prototype.forEach.call(m,function(b){b.addEventListener(d,h)}),{destroy:function(){Array.prototype.forEach.call(m,function(b){b.removeEventListener(d,h)})}}}function p(m,d,h){return a(document.body,m,d,h)}n.exports=f},817:function(n){function o(i){var s;if(i.nodeName==="SELECT")i.focus(),s=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var a=i.hasAttribute("readonly");a||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),a||i.removeAttribute("readonly"),s=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var f=window.getSelection(),c=document.createRange();c.selectNodeContents(i),f.removeAllRanges(),f.addRange(c),s=f.toString()}return s}n.exports=o},279:function(n){function o(){}o.prototype={on:function(i,s,a){var f=this.e||(this.e={});return(f[i]||(f[i]=[])).push({fn:s,ctx:a}),this},once:function(i,s,a){var f=this;function c(){f.off(i,c),s.apply(a,arguments)}return c._=s,this.on(i,c,a)},emit:function(i){var s=[].slice.call(arguments,1),a=((this.e||(this.e={}))[i]||[]).slice(),f=0,c=a.length;for(f;f{"use strict";/*! * escape-html * Copyright(c) 2012-2013 TJ Holowaychuk * Copyright(c) 2015 Andreas Lubbe * Copyright(c) 2015 Tiancheng "Timothy" Gu * MIT Licensed */var ts=/["'&<>]/;Jo.exports=rs;function rs(e){var t=""+e,r=ts.exec(t);if(!r)return t;var n,o="",i=0,s=0;for(i=r.index;i0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=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 U(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i}function W(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n1||a(m,d)})})}function a(m,d){try{f(n[m](d))}catch(h){p(i[0][3],h)}}function f(m){m.value instanceof Ye?Promise.resolve(m.value.v).then(c,u):p(i[0][2],m)}function c(m){a("next",m)}function u(m){a("throw",m)}function p(m,d){m(d),i.shift(),i.length&&a(i[0][0],i[0][1])}}function ln(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 me=="function"?me(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(s){return new Promise(function(a,f){s=e[i](s),o(a,f,s.done,s.value)})}}function o(i,s,a,f){Promise.resolve(f).then(function(c){i({value:c,done:a})},s)}}function L(e){return typeof e=="function"}function Pt(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 $t=Pt(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 Ue(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var $e=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=me(s),f=a.next();!f.done;f=a.next()){var c=f.value;c.remove(this)}}catch(b){t={error:b}}finally{try{f&&!f.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var u=this.initialTeardown;if(L(u))try{u()}catch(b){i=b instanceof $t?b.errors:[b]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var m=me(p),d=m.next();!d.done;d=m.next()){var h=d.value;try{mn(h)}catch(b){i=i!=null?i:[],b instanceof $t?i=W(W([],U(i)),U(b.errors)):i.push(b)}}}catch(b){n={error:b}}finally{try{d&&!d.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}}if(i)throw new $t(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)mn(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Ue(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Ue(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var wr=$e.EMPTY;function It(e){return e instanceof $e||e&&"closed"in e&&L(e.remove)&&L(e.add)&&L(e.unsubscribe)}function mn(e){L(e)?e():e.unsubscribe()}var Me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var nt={setTimeout:function(e,t){for(var r=[],n=2;n0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,s=o.isStopped,a=o.observers;return i||s?wr:(this.currentObservers=null,a.push(r),new $e(function(){n.currentObservers=null,Ue(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,s=n.isStopped;o?r.error(i):s&&r.complete()},t.prototype.asObservable=function(){var r=new j;return r.source=this,r},t.create=function(r,n){return new En(r,n)},t}(j);var En=function(e){ne(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:wr},t}(w);var xt={now:function(){return(xt.delegate||Date).now()},delegate:void 0};var Et=function(e){ne(t,e);function t(r,n,o){r===void 0&&(r=1/0),n===void 0&&(n=1/0),o===void 0&&(o=xt);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=n,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,n),i}return t.prototype.next=function(r){var n=this,o=n.isStopped,i=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,f=n._windowTime;o||(i.push(r),!s&&i.push(a.now()+f)),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,s=o._buffer,a=s.slice(),f=0;f0?e.prototype.requestAsyncId.call(this,r,n,o):(r.actions.push(this),r._scheduled||(r._scheduled=at.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,n,o){var i;if(o===void 0&&(o=0),o!=null?o>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,n,o);var s=r.actions;n!=null&&((i=s[s.length-1])===null||i===void 0?void 0:i.id)!==n&&(at.cancelAnimationFrame(n),r._scheduled=void 0)},t}(Ut);var On=function(e){ne(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var o=this.actions,i;r=r||o.shift();do if(i=r.execute(r.state,r.delay))break;while((r=o[0])&&r.id===n&&o.shift());if(this._active=!1,i){for(;(r=o[0])&&r.id===n&&o.shift();)r.unsubscribe();throw i}},t}(Wt);var xe=new On(Sn);var R=new j(function(e){return e.complete()});function Dt(e){return e&&L(e.schedule)}function Ar(e){return e[e.length-1]}function Ve(e){return L(Ar(e))?e.pop():void 0}function we(e){return Dt(Ar(e))?e.pop():void 0}function Vt(e,t){return typeof Ar(e)=="number"?e.pop():t}var st=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Nt(e){return L(e==null?void 0:e.then)}function zt(e){return L(e[it])}function qt(e){return Symbol.asyncIterator&&L(e==null?void 0:e[Symbol.asyncIterator])}function Kt(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Qi(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Qt=Qi();function Yt(e){return L(e==null?void 0:e[Qt])}function Bt(e){return pn(this,arguments,function(){var r,n,o,i;return Ht(this,function(s){switch(s.label){case 0:r=e.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,Ye(r.read())];case 3:return n=s.sent(),o=n.value,i=n.done,i?[4,Ye(void 0)]:[3,5];case 4:return[2,s.sent()];case 5:return[4,Ye(o)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function Gt(e){return L(e==null?void 0:e.getReader)}function D(e){if(e instanceof j)return e;if(e!=null){if(zt(e))return Yi(e);if(st(e))return Bi(e);if(Nt(e))return Gi(e);if(qt(e))return Tn(e);if(Yt(e))return Ji(e);if(Gt(e))return Xi(e)}throw Kt(e)}function Yi(e){return new j(function(t){var r=e[it]();if(L(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Bi(e){return new j(function(t){for(var r=0;r=2,!0))}function ie(e){e===void 0&&(e={});var t=e.connector,r=t===void 0?function(){return new w}:t,n=e.resetOnError,o=n===void 0?!0:n,i=e.resetOnComplete,s=i===void 0?!0:i,a=e.resetOnRefCountZero,f=a===void 0?!0:a;return function(c){var u,p,m,d=0,h=!1,b=!1,K=function(){p==null||p.unsubscribe(),p=void 0},X=function(){K(),u=m=void 0,h=b=!1},V=function(){var T=u;X(),T==null||T.unsubscribe()};return g(function(T,De){d++,!b&&!h&&K();var je=m=m!=null?m:r();De.add(function(){d--,d===0&&!b&&!h&&(p=Ir(V,f))}),je.subscribe(De),!u&&d>0&&(u=new Ge({next:function(Pe){return je.next(Pe)},error:function(Pe){b=!0,K(),p=Ir(X,o,Pe),je.error(Pe)},complete:function(){h=!0,K(),p=Ir(X,s),je.complete()}}),D(T).subscribe(u))})(c)}}function Ir(e,t){for(var r=[],n=2;ne.next(document)),e}function Q(e,t=document){return Array.from(t.querySelectorAll(e))}function q(e,t=document){let r=pe(e,t);if(typeof r=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return r}function pe(e,t=document){return t.querySelector(e)||void 0}function Ie(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}function Zt(e){return A(v(document.body,"focusin"),v(document.body,"focusout")).pipe(Re(1),l(()=>{let t=Ie();return typeof t!="undefined"?e.contains(t):!1}),N(e===Ie()),B())}function qe(e){return{x:e.offsetLeft,y:e.offsetTop}}function Kn(e){return A(v(window,"load"),v(window,"resize")).pipe(Ae(0,xe),l(()=>qe(e)),N(qe(e)))}function er(e){return{x:e.scrollLeft,y:e.scrollTop}}function pt(e){return A(v(e,"scroll"),v(window,"resize")).pipe(Ae(0,xe),l(()=>er(e)),N(er(e)))}var Yn=function(){if(typeof Map!="undefined")return Map;function e(t,r){var n=-1;return t.some(function(o,i){return o[0]===r?(n=i,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(r,n){var o=e(this.__entries__,r);~o?this.__entries__[o][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,o=e(n,r);~o&&n.splice(o,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var o=0,i=this.__entries__;o0},e.prototype.connect_=function(){!Dr||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),xa?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Dr||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,o=ya.some(function(i){return!!~n.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Bn=function(e,t){for(var r=0,n=Object.keys(t);r0},e}(),Jn=typeof WeakMap!="undefined"?new WeakMap:new Yn,Xn=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Ea.getInstance(),n=new Ra(t,r,this);Jn.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Xn.prototype[e]=function(){var t;return(t=Jn.get(this))[e].apply(t,arguments)}});var ka=function(){return typeof tr.ResizeObserver!="undefined"?tr.ResizeObserver:Xn}(),Zn=ka;var eo=new w,Ha=P(()=>I(new Zn(e=>{for(let t of e)eo.next(t)}))).pipe(S(e=>A(Se,I(e)).pipe(C(()=>e.disconnect()))),J(1));function be(e){return{width:e.offsetWidth,height:e.offsetHeight}}function ge(e){return Ha.pipe(E(t=>t.observe(e)),S(t=>eo.pipe(x(({target:r})=>r===e),C(()=>t.unobserve(e)),l(()=>be(e)))),N(be(e)))}function mt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function or(e){let t=e.parentElement;for(;t&&(e.scrollWidth<=t.scrollWidth&&e.scrollHeight<=t.scrollHeight);)t=(e=t).parentElement;return t?e:void 0}var to=new w,Pa=P(()=>I(new IntersectionObserver(e=>{for(let t of e)to.next(t)},{threshold:0}))).pipe(S(e=>A(Se,I(e)).pipe(C(()=>e.disconnect()))),J(1));function ir(e){return Pa.pipe(E(t=>t.observe(e)),S(t=>to.pipe(x(({target:r})=>r===e),C(()=>t.unobserve(e)),l(({isIntersecting:r})=>r))))}function ro(e,t=16){return pt(e).pipe(l(({y:r})=>{let n=be(e),o=mt(e);return r>=o.height-n.height-t}),B())}var ar={drawer:q("[data-md-toggle=drawer]"),search:q("[data-md-toggle=search]")};function no(e){return ar[e].checked}function Ke(e,t){ar[e].checked!==t&&ar[e].click()}function dt(e){let t=ar[e];return v(t,"change").pipe(l(()=>t.checked),N(t.checked))}function $a(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 oo(){return v(window,"keydown").pipe(x(e=>!(e.metaKey||e.ctrlKey)),l(e=>({mode:no("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),x(({mode:e,type:t})=>{if(e==="global"){let r=Ie();if(typeof r!="undefined")return!$a(r,t)}return!0}),ie())}function Oe(){return new URL(location.href)}function sr(e){location.href=e.href}function io(){return new w}function ao(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)ao(e,r)}function M(e,t,...r){let n=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="undefined"&&(typeof t[o]!="boolean"?n.setAttribute(o,t[o]):n.setAttribute(o,""));for(let o of r)ao(n,o);return n}function so(e,t){let r=t;if(e.length>r){for(;e[r]!==" "&&--r>0;);return`${e.substring(0,r)}...`}return e}function cr(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function co(){return location.hash.substring(1)}function fo(e){let t=M("a",{href:e});t.addEventListener("click",r=>r.stopPropagation()),t.click()}function Ia(){return v(window,"hashchange").pipe(l(co),N(co()),x(e=>e.length>0),J(1))}function uo(){return Ia().pipe(l(e=>pe(`[id="${e}"]`)),x(e=>typeof e!="undefined"))}function Vr(e){let t=matchMedia(e);return Xt(r=>t.addListener(()=>r(t.matches))).pipe(N(t.matches))}function po(){let e=matchMedia("print");return A(v(window,"beforeprint").pipe(l(()=>!0)),v(window,"afterprint").pipe(l(()=>!1))).pipe(N(e.matches))}function Nr(e,t){return e.pipe(S(r=>r?t():R))}function fr(e,t={credentials:"same-origin"}){return ue(fetch(`${e}`,t)).pipe(ce(()=>R),S(r=>r.status!==200?St(()=>new Error(r.statusText)):I(r)))}function Fe(e,t){return fr(e,t).pipe(S(r=>r.json()),J(1))}function lo(e,t){let r=new DOMParser;return fr(e,t).pipe(S(n=>n.text()),l(n=>r.parseFromString(n,"text/xml")),J(1))}function mo(e){let t=M("script",{src:e});return P(()=>(document.head.appendChild(t),A(v(t,"load"),v(t,"error").pipe(S(()=>St(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(l(()=>{}),C(()=>document.head.removeChild(t)),oe(1))))}function ho(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function bo(){return A(v(window,"scroll",{passive:!0}),v(window,"resize",{passive:!0})).pipe(l(ho),N(ho()))}function vo(){return{width:innerWidth,height:innerHeight}}function go(){return v(window,"resize",{passive:!0}).pipe(l(vo),N(vo()))}function yo(){return Y([bo(),go()]).pipe(l(([e,t])=>({offset:e,size:t})),J(1))}function ur(e,{viewport$:t,header$:r}){let n=t.pipe(G("size")),o=Y([n,r]).pipe(l(()=>qe(e)));return Y([r,t,o]).pipe(l(([{height:i},{offset:s,size:a},{x:f,y:c}])=>({offset:{x:s.x-f,y:s.y-c+i},size:a})))}function xo(e,{tx$:t}){let r=v(e,"message").pipe(l(({data:n})=>n));return t.pipe(Mt(()=>r,{leading:!0,trailing:!0}),E(n=>e.postMessage(n)),S(()=>r),ie())}var Fa=q("#__config"),ht=JSON.parse(Fa.textContent);ht.base=`${new URL(ht.base,Oe())}`;function le(){return ht}function Z(e){return ht.features.includes(e)}function re(e,t){return typeof t!="undefined"?ht.translations[e].replace("#",t.toString()):ht.translations[e]}function Te(e,t=document){return q(`[data-md-component=${e}]`,t)}function te(e,t=document){return Q(`[data-md-component=${e}]`,t)}function ja(e){let t=q(".md-typeset > :first-child",e);return v(t,"click",{once:!0}).pipe(l(()=>q(".md-typeset",e)),l(r=>({hash:__md_hash(r.innerHTML)})))}function Eo(e){return!Z("announce.dismiss")||!e.childElementCount?R:P(()=>{let t=new w;return t.pipe(N({hash:__md_get("__announce")})).subscribe(({hash:r})=>{var n;r&&r===((n=__md_get("__announce"))!=null?n:r)&&(e.hidden=!0,__md_set("__announce",r))}),ja(e).pipe(E(r=>t.next(r)),C(()=>t.complete()),l(r=>H({ref:e},r)))})}function Ua(e,{target$:t}){return t.pipe(l(r=>({hidden:r!==e})))}function wo(e,t){let r=new w;return r.subscribe(({hidden:n})=>{e.hidden=n}),Ua(e,t).pipe(E(n=>r.next(n)),C(()=>r.complete()),l(n=>H({ref:e},n)))}var Ho=rt(qr());function Kr(e){return M("div",{class:"md-tooltip",id:e},M("div",{class:"md-tooltip__inner md-typeset"}))}function So(e,t){if(t=t?`${t}_annotation_${e}`:void 0,t){let r=t?`#${t}`:void 0;return M("aside",{class:"md-annotation",tabIndex:0},Kr(t),M("a",{href:r,class:"md-annotation__index",tabIndex:-1},M("span",{"data-md-annotation-id":e})))}else return M("aside",{class:"md-annotation",tabIndex:0},Kr(t),M("span",{class:"md-annotation__index",tabIndex:-1},M("span",{"data-md-annotation-id":e})))}function Oo(e){return M("button",{class:"md-clipboard md-icon",title:re("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}function Qr(e,t){let r=t&2,n=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).reduce((a,f)=>[...a,M("del",null,f)," "],[]).slice(0,-1),i=new URL(e.location);Z("search.highlight")&&i.searchParams.set("h",Object.entries(e.terms).filter(([,a])=>a).reduce((a,[f])=>`${a} ${f}`.trim(),""));let{tags:s}=le();return M("a",{href:`${i}`,class:"md-search-result__link",tabIndex:-1},M("article",{class:["md-search-result__article",...r?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},r>0&&M("div",{class:"md-search-result__icon md-icon"}),M("h1",{class:"md-search-result__title"},e.title),n>0&&e.text.length>0&&M("p",{class:"md-search-result__teaser"},so(e.text,320)),e.tags&&M("div",{class:"md-typeset"},e.tags.map(a=>{let f=a.replace(/<[^>]+>/g,""),c=s?f in s?`md-tag-icon md-tag-icon--${s[f]}`:"md-tag-icon":"";return M("span",{class:`md-tag ${c}`},a)})),n>0&&o.length>0&&M("p",{class:"md-search-result__terms"},re("search.result.term.missing"),": ",...o)))}function To(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.scoreQr(c,1)),...a.length?[M("details",{class:"md-search-result__more"},M("summary",{tabIndex:-1},a.length>0&&a.length===1?re("search.result.more.one"):re("search.result.more.other",a.length)),...a.map(c=>Qr(c,1)))]:[]];return M("li",{class:"md-search-result__item"},f)}function _o(e){return M("ul",{class:"md-source__facts"},Object.entries(e).map(([t,r])=>M("li",{class:`md-source__fact md-source__fact--${t}`},typeof r=="number"?cr(r):r)))}function Yr(e){let t=`tabbed-control tabbed-control--${e}`;return M("div",{class:t,hidden:!0},M("button",{class:"tabbed-button",tabIndex:-1}))}function Mo(e){return M("div",{class:"md-typeset__scrollwrap"},M("div",{class:"md-typeset__table"},e))}function Wa(e){let t=le(),r=new URL(`../${e.version}/`,t.base);return M("li",{class:"md-version__item"},M("a",{href:`${r}`,class:"md-version__link"},e.title))}function Lo(e,t){return M("div",{class:"md-version"},M("button",{class:"md-version__current","aria-label":re("select.version.title")},t.title),M("ul",{class:"md-version__list"},e.map(Wa)))}function Da(e,t){let r=P(()=>Y([Kn(e),pt(t)])).pipe(l(([{x:n,y:o},i])=>{let{width:s,height:a}=be(e);return{x:n-i.x+s/2,y:o-i.y+a/2}}));return Zt(e).pipe(S(n=>r.pipe(l(o=>({active:n,offset:o})),oe(+!n||1/0))))}function Ao(e,t,{target$:r}){let[n,o]=Array.from(e.children);return P(()=>{let i=new w,s=i.pipe(he(1));return i.subscribe({next({offset:a}){e.style.setProperty("--md-tooltip-x",`${a.x}px`),e.style.setProperty("--md-tooltip-y",`${a.y}px`)},complete(){e.style.removeProperty("--md-tooltip-x"),e.style.removeProperty("--md-tooltip-y")}}),ir(e).pipe(ee(s)).subscribe(a=>{e.toggleAttribute("data-md-visible",a)}),A(i.pipe(x(({active:a})=>a)),i.pipe(Re(250),x(({active:a})=>!a))).subscribe({next({active:a}){a?e.prepend(n):n.remove()},complete(){e.prepend(n)}}),i.pipe(Ae(16,xe)).subscribe(({active:a})=>{n.classList.toggle("md-tooltip--active",a)}),i.pipe(Ur(125,xe),x(()=>!!e.offsetParent),l(()=>e.offsetParent.getBoundingClientRect()),l(({x:a})=>a)).subscribe({next(a){a?e.style.setProperty("--md-tooltip-0",`${-a}px`):e.style.removeProperty("--md-tooltip-0")},complete(){e.style.removeProperty("--md-tooltip-0")}}),v(o,"click").pipe(ee(s),x(a=>!(a.metaKey||a.ctrlKey))).subscribe(a=>a.preventDefault()),v(o,"mousedown").pipe(ee(s),ae(i)).subscribe(([a,{active:f}])=>{var c;if(a.button!==0||a.metaKey||a.ctrlKey)a.preventDefault();else if(f){a.preventDefault();let u=e.parentElement.closest(".md-annotation");u instanceof HTMLElement?u.focus():(c=Ie())==null||c.blur()}}),r.pipe(ee(s),x(a=>a===n),ke(125)).subscribe(()=>e.focus()),Da(e,t).pipe(E(a=>i.next(a)),C(()=>i.complete()),l(a=>H({ref:e},a)))})}function Va(e){let t=[];for(let r of Q(".c, .c1, .cm",e)){let n=[],o=document.createNodeIterator(r,NodeFilter.SHOW_TEXT);for(let i=o.nextNode();i;i=o.nextNode())n.push(i);for(let i of n){let s;for(;s=/(\(\d+\))(!)?/.exec(i.textContent);){let[,a,f]=s;if(typeof f=="undefined"){let c=i.splitText(s.index);i=c.splitText(a.length),t.push(c)}else{i.textContent=a,t.push(i);break}}}}return t}function Co(e,t){t.append(...Array.from(e.childNodes))}function Ro(e,t,{target$:r,print$:n}){let o=t.closest("[id]"),i=o==null?void 0:o.id,s=new Map;for(let a of Va(t)){let[,f]=a.textContent.match(/\((\d+)\)/);pe(`li:nth-child(${f})`,e)&&(s.set(f,So(f,i)),a.replaceWith(s.get(f)))}return s.size===0?R:P(()=>{let a=new w,f=[];for(let[c,u]of s)f.push([q(".md-typeset",u),q(`li:nth-child(${c})`,e)]);return n.pipe(ee(a.pipe(he(1)))).subscribe(c=>{e.hidden=!c;for(let[u,p]of f)c?Co(u,p):Co(p,u)}),A(...[...s].map(([,c])=>Ao(c,t,{target$:r}))).pipe(C(()=>a.complete()),ie())})}var Na=0;function Po(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return Po(t)}}function ko(e){return ge(e).pipe(l(({width:t})=>({scrollable:mt(e).width>t})),G("scrollable"))}function $o(e,t){let{matches:r}=matchMedia("(hover)"),n=P(()=>{let o=new w;if(o.subscribe(({scrollable:s})=>{s&&r?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}),Ho.default.isSupported()){let s=e.closest("pre");s.id=`__code_${++Na}`,s.insertBefore(Oo(s.id),e)}let i=e.closest(".highlight");if(i instanceof HTMLElement){let s=Po(i);if(typeof s!="undefined"&&(i.classList.contains("annotate")||Z("content.code.annotate"))){let a=Ro(s,e,t);return ko(e).pipe(E(f=>o.next(f)),C(()=>o.complete()),l(f=>H({ref:e},f)),et(ge(i).pipe(l(({width:f,height:c})=>f&&c),B(),S(f=>f?a:R))))}}return ko(e).pipe(E(s=>o.next(s)),C(()=>o.complete()),l(s=>H({ref:e},s)))});return Z("content.lazy")?ir(e).pipe(x(o=>o),oe(1),S(()=>n)):n}var Io=".node circle,.node ellipse,.node path,.node polygon,.node rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}marker{fill:var(--md-mermaid-edge-color)!important}.edgeLabel .label rect{fill:#0000}.label{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.label foreignObject{line-height:normal;overflow:visible}.label div .edgeLabel{color:var(--md-mermaid-label-fg-color)}.edgeLabel,.edgeLabel rect,.label div .edgeLabel{background-color:var(--md-mermaid-label-bg-color)}.edgeLabel,.edgeLabel rect{fill:var(--md-mermaid-label-bg-color);color:var(--md-mermaid-edge-color)}.edgePath .path,.flowchart-link{stroke:var(--md-mermaid-edge-color)}.edgePath .arrowheadPath{fill:var(--md-mermaid-edge-color);stroke:none}.cluster rect{fill:var(--md-default-fg-color--lightest);stroke:var(--md-default-fg-color--lighter)}.cluster span{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}defs #flowchart-circleEnd,defs #flowchart-circleStart,defs #flowchart-crossEnd,defs #flowchart-crossStart,defs #flowchart-pointEnd,defs #flowchart-pointStart{stroke:none}g.classGroup line,g.classGroup rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}g.classGroup text{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.classLabel .box{fill:var(--md-mermaid-label-bg-color);background-color:var(--md-mermaid-label-bg-color);opacity:1}.classLabel .label{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.node .divider{stroke:var(--md-mermaid-node-fg-color)}.relation{stroke:var(--md-mermaid-edge-color)}.cardinality{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.cardinality text{fill:inherit!important}defs #classDiagram-compositionEnd,defs #classDiagram-compositionStart,defs #classDiagram-dependencyEnd,defs #classDiagram-dependencyStart,defs #classDiagram-extensionEnd,defs #classDiagram-extensionStart{fill:var(--md-mermaid-edge-color)!important;stroke:var(--md-mermaid-edge-color)!important}defs #classDiagram-aggregationEnd,defs #classDiagram-aggregationStart{fill:var(--md-mermaid-label-bg-color)!important;stroke:var(--md-mermaid-edge-color)!important}g.stateGroup rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}g.stateGroup .state-title{fill:var(--md-mermaid-label-fg-color)!important;font-family:var(--md-mermaid-font-family)}g.stateGroup .composit{fill:var(--md-mermaid-label-bg-color)}.nodeLabel{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.node circle.state-end,.node circle.state-start,.start-state{fill:var(--md-mermaid-edge-color);stroke:none}.end-state-inner,.end-state-outer{fill:var(--md-mermaid-edge-color)}.end-state-inner,.node circle.state-end{stroke:var(--md-mermaid-label-bg-color)}.transition{stroke:var(--md-mermaid-edge-color)}[id^=state-fork] rect,[id^=state-join] rect{fill:var(--md-mermaid-edge-color)!important;stroke:none!important}.statediagram-cluster.statediagram-cluster .inner{fill:var(--md-default-bg-color)}.statediagram-cluster rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}.statediagram-state rect.divider{fill:var(--md-default-fg-color--lightest);stroke:var(--md-default-fg-color--lighter)}defs #statediagram-barbEnd{stroke:var(--md-mermaid-edge-color)}.entityBox{fill:var(--md-mermaid-label-bg-color);stroke:var(--md-mermaid-node-fg-color)}.entityLabel{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.relationshipLabelBox{fill:var(--md-mermaid-label-bg-color);fill-opacity:1;background-color:var(--md-mermaid-label-bg-color);opacity:1}.relationshipLabel{fill:var(--md-mermaid-label-fg-color)}.relationshipLine{stroke:var(--md-mermaid-edge-color)}defs #ONE_OR_MORE_END *,defs #ONE_OR_MORE_START *,defs #ONLY_ONE_END *,defs #ONLY_ONE_START *,defs #ZERO_OR_MORE_END *,defs #ZERO_OR_MORE_START *,defs #ZERO_OR_ONE_END *,defs #ZERO_OR_ONE_START *{stroke:var(--md-mermaid-edge-color)!important}.actor,defs #ZERO_OR_MORE_END circle,defs #ZERO_OR_MORE_START circle{fill:var(--md-mermaid-label-bg-color)}.actor{stroke:var(--md-mermaid-node-fg-color)}text.actor>tspan{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}line{stroke:var(--md-default-fg-color--lighter)}.messageLine0,.messageLine1{stroke:var(--md-mermaid-edge-color)}.loopText>tspan,.messageText,.noteText>tspan{fill:var(--md-mermaid-edge-color);stroke:none;font-family:var(--md-mermaid-font-family)!important}.noteText>tspan{fill:#000}#arrowhead path{fill:var(--md-mermaid-edge-color);stroke:none}.loopLine{stroke:var(--md-mermaid-node-fg-color)}.labelBox,.loopLine{fill:var(--md-mermaid-node-bg-color)}.labelBox{stroke:none}.labelText,.labelText>span{fill:var(--md-mermaid-node-fg-color);font-family:var(--md-mermaid-font-family)}";var Br,qa=0;function Ka(){return typeof mermaid=="undefined"||mermaid instanceof Element?mo("https://unpkg.com/mermaid@9.1.7/dist/mermaid.min.js"):I(void 0)}function Fo(e){return e.classList.remove("mermaid"),Br||(Br=Ka().pipe(E(()=>mermaid.initialize({startOnLoad:!1,themeCSS:Io,sequence:{actorFontSize:"16px",messageFontSize:"16px",noteFontSize:"16px"}})),l(()=>{}),J(1))),Br.subscribe(()=>{e.classList.add("mermaid");let t=`__mermaid_${qa++}`,r=M("div",{class:"mermaid"}),n=e.textContent;mermaid.mermaidAPI.render(t,n,(o,i)=>{let s=r.attachShadow({mode:"closed"});s.innerHTML=o,e.replaceWith(r),i==null||i(s)})}),Br.pipe(l(()=>({ref:e})))}function Qa(e,{target$:t,print$:r}){let n=!0;return A(t.pipe(l(o=>o.closest("details:not([open])")),x(o=>e===o),l(()=>({action:"open",reveal:!0}))),r.pipe(x(o=>o||!n),E(()=>n=e.open),l(o=>({action:o?"open":"close"}))))}function jo(e,t){return P(()=>{let r=new w;return r.subscribe(({action:n,reveal:o})=>{e.toggleAttribute("open",n==="open"),o&&e.scrollIntoView()}),Qa(e,t).pipe(E(n=>r.next(n)),C(()=>r.complete()),l(n=>H({ref:e},n)))})}var Uo=M("table");function Wo(e){return e.replaceWith(Uo),Uo.replaceWith(Mo(e)),I({ref:e})}function Ya(e){let t=Q(":scope > input",e),r=t.find(n=>n.checked)||t[0];return A(...t.map(n=>v(n,"change").pipe(l(()=>q(`label[for="${n.id}"]`))))).pipe(N(q(`label[for="${r.id}"]`)),l(n=>({active:n})))}function Do(e,{viewport$:t}){let r=Yr("prev");e.append(r);let n=Yr("next");e.append(n);let o=q(".tabbed-labels",e);return P(()=>{let i=new w,s=i.pipe(he(1));return Y([i,ge(e)]).pipe(Ae(1,xe),ee(s)).subscribe({next([{active:a},f]){let c=qe(a),{width:u}=be(a);e.style.setProperty("--md-indicator-x",`${c.x}px`),e.style.setProperty("--md-indicator-width",`${u}px`);let p=er(o);(c.xp.x+f.width)&&o.scrollTo({left:Math.max(0,c.x-16),behavior:"smooth"})},complete(){e.style.removeProperty("--md-indicator-x"),e.style.removeProperty("--md-indicator-width")}}),Y([pt(o),ge(o)]).pipe(ee(s)).subscribe(([a,f])=>{let c=mt(o);r.hidden=a.x<16,n.hidden=a.x>c.width-f.width-16}),A(v(r,"click").pipe(l(()=>-1)),v(n,"click").pipe(l(()=>1))).pipe(ee(s)).subscribe(a=>{let{width:f}=be(o);o.scrollBy({left:f*a,behavior:"smooth"})}),Z("content.tabs.link")&&i.pipe(He(1),ae(t)).subscribe(([{active:a},{offset:f}])=>{let c=a.innerText.trim();if(a.hasAttribute("data-md-switching"))a.removeAttribute("data-md-switching");else{let u=e.offsetTop-f.y;for(let m of Q("[data-tabs]"))for(let d of Q(":scope > input",m)){let h=q(`label[for="${d.id}"]`);if(h!==a&&h.innerText.trim()===c){h.setAttribute("data-md-switching",""),d.click();break}}window.scrollTo({top:e.offsetTop-u});let p=__md_get("__tabs")||[];__md_set("__tabs",[...new Set([c,...p])])}}),Ya(e).pipe(E(a=>i.next(a)),C(()=>i.complete()),l(a=>H({ref:e},a)))}).pipe(Je(fe))}function Vo(e,{viewport$:t,target$:r,print$:n}){return A(...Q("pre:not(.mermaid) > code",e).map(o=>$o(o,{target$:r,print$:n})),...Q("pre.mermaid",e).map(o=>Fo(o)),...Q("table:not([class])",e).map(o=>Wo(o)),...Q("details",e).map(o=>jo(o,{target$:r,print$:n})),...Q("[data-tabs]",e).map(o=>Do(o,{viewport$:t})))}function Ba(e,{alert$:t}){return t.pipe(S(r=>A(I(!0),I(!1).pipe(ke(2e3))).pipe(l(n=>({message:r,active:n})))))}function No(e,t){let r=q(".md-typeset",e);return P(()=>{let n=new w;return n.subscribe(({message:o,active:i})=>{e.classList.toggle("md-dialog--active",i),r.textContent=o}),Ba(e,t).pipe(E(o=>n.next(o)),C(()=>n.complete()),l(o=>H({ref:e},o)))})}function Ga({viewport$:e}){if(!Z("header.autohide"))return I(!1);let t=e.pipe(l(({offset:{y:o}})=>o),Ce(2,1),l(([o,i])=>[oMath.abs(i-o.y)>100),l(([,[o]])=>o),B()),n=dt("search");return Y([e,n]).pipe(l(([{offset:o},i])=>o.y>400&&!i),B(),S(o=>o?r:I(!1)),N(!1))}function zo(e,t){return P(()=>Y([ge(e),Ga(t)])).pipe(l(([{height:r},n])=>({height:r,hidden:n})),B((r,n)=>r.height===n.height&&r.hidden===n.hidden),J(1))}function qo(e,{header$:t,main$:r}){return P(()=>{let n=new w,o=n.pipe(he(1));return n.pipe(G("active"),Ze(t)).subscribe(([{active:i},{hidden:s}])=>{e.classList.toggle("md-header--shadow",i&&!s),e.hidden=s}),r.subscribe(n),t.pipe(ee(o),l(i=>H({ref:e},i)))})}function Ja(e,{viewport$:t,header$:r}){return ur(e,{viewport$:t,header$:r}).pipe(l(({offset:{y:n}})=>{let{height:o}=be(e);return{active:n>=o}}),G("active"))}function Ko(e,t){return P(()=>{let r=new w;r.subscribe(({active:o})=>{e.classList.toggle("md-header__title--active",o)});let n=pe("article h1");return typeof n=="undefined"?R:Ja(n,t).pipe(E(o=>r.next(o)),C(()=>r.complete()),l(o=>H({ref:e},o)))})}function Qo(e,{viewport$:t,header$:r}){let n=r.pipe(l(({height:i})=>i),B()),o=n.pipe(S(()=>ge(e).pipe(l(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),G("bottom"))));return Y([n,o,t]).pipe(l(([i,{top:s,bottom:a},{offset:{y:f},size:{height:c}}])=>(c=Math.max(0,c-Math.max(0,s-f,i)-Math.max(0,c+f-a)),{offset:s-i,height:c,active:s-i<=f})),B((i,s)=>i.offset===s.offset&&i.height===s.height&&i.active===s.active))}function Xa(e){let t=__md_get("__palette")||{index:e.findIndex(r=>matchMedia(r.getAttribute("data-md-color-media")).matches)};return I(...e).pipe(se(r=>v(r,"change").pipe(l(()=>r))),N(e[Math.max(0,t.index)]),l(r=>({index:e.indexOf(r),color:{scheme:r.getAttribute("data-md-color-scheme"),primary:r.getAttribute("data-md-color-primary"),accent:r.getAttribute("data-md-color-accent")}})),J(1))}function Yo(e){return P(()=>{let t=new w;t.subscribe(n=>{document.body.setAttribute("data-md-color-switching","");for(let[o,i]of Object.entries(n.color))document.body.setAttribute(`data-md-color-${o}`,i);for(let o=0;o{document.body.removeAttribute("data-md-color-switching")});let r=Q("input",e);return Xa(r).pipe(E(n=>t.next(n)),C(()=>t.complete()),l(n=>H({ref:e},n)))})}var Gr=rt(qr());function Za(e){e.setAttribute("data-md-copying","");let t=e.innerText;return e.removeAttribute("data-md-copying"),t}function Bo({alert$:e}){Gr.default.isSupported()&&new j(t=>{new Gr.default("[data-clipboard-target], [data-clipboard-text]",{text:r=>r.getAttribute("data-clipboard-text")||Za(q(r.getAttribute("data-clipboard-target")))}).on("success",r=>t.next(r))}).pipe(E(t=>{t.trigger.focus()}),l(()=>re("clipboard.copied"))).subscribe(e)}function es(e){if(e.length<2)return[""];let[t,r]=[...e].sort((o,i)=>o.length-i.length).map(o=>o.replace(/[^/]+$/,"")),n=0;if(t===r)n=t.length;else for(;t.charCodeAt(n)===r.charCodeAt(n);)n++;return e.map(o=>o.replace(t.slice(0,n),""))}function pr(e){let t=__md_get("__sitemap",sessionStorage,e);if(t)return I(t);{let r=le();return lo(new URL("sitemap.xml",e||r.base)).pipe(l(n=>es(Q("loc",n).map(o=>o.textContent))),ce(()=>R),We([]),E(n=>__md_set("__sitemap",n,sessionStorage,e)))}}function Go({document$:e,location$:t,viewport$:r}){let n=le();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",v(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=pe("link[rel=icon]");typeof o!="undefined"&&(o.href=o.href);let i=pr().pipe(l(c=>c.map(u=>`${new URL(u,n.base)}`)),S(c=>v(document.body,"click").pipe(x(u=>!u.metaKey&&!u.ctrlKey),S(u=>{if(u.target instanceof Element){let p=u.target.closest("a");if(p&&!p.target){let m=new URL(p.href);if(m.search="",m.hash="",m.pathname!==location.pathname&&c.includes(m.toString()))return u.preventDefault(),I({url:new URL(p.href)})}}return Se}))),ie()),s=v(window,"popstate").pipe(x(c=>c.state!==null),l(c=>({url:new URL(location.href),offset:c.state})),ie());A(i,s).pipe(B((c,u)=>c.url.href===u.url.href),l(({url:c})=>c)).subscribe(t);let a=t.pipe(G("pathname"),S(c=>fr(c.href).pipe(ce(()=>(sr(c),Se)))),ie());i.pipe(ut(a)).subscribe(({url:c})=>{history.pushState({},"",`${c}`)});let f=new DOMParser;a.pipe(S(c=>c.text()),l(c=>f.parseFromString(c,"text/html"))).subscribe(e),e.pipe(He(1)).subscribe(c=>{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=outdated]","[data-md-component=logo]","[data-md-component=skip]",...Z("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let p=pe(u),m=pe(u,c);typeof p!="undefined"&&typeof m!="undefined"&&p.replaceWith(m)}}),e.pipe(He(1),l(()=>Te("container")),S(c=>Q("script",c)),kr(c=>{let u=M("script");if(c.src){for(let p of c.getAttributeNames())u.setAttribute(p,c.getAttribute(p));return c.replaceWith(u),new j(p=>{u.onload=()=>p.complete()})}else return u.textContent=c.textContent,c.replaceWith(u),R})).subscribe(),A(i,s).pipe(ut(e)).subscribe(({url:c,offset:u})=>{c.hash&&!u?fo(c.hash):window.scrollTo(0,(u==null?void 0:u.y)||0)}),r.pipe(_t(i),Re(250),G("offset")).subscribe(({offset:c})=>{history.replaceState(c,"")}),A(i,s).pipe(Ce(2,1),x(([c,u])=>c.url.pathname===u.url.pathname),l(([,c])=>c)).subscribe(({offset:c})=>{window.scrollTo(0,(c==null?void 0:c.y)||0)})}var ns=rt(Jr());var Xo=rt(Jr());function Xr(e,t){let r=new RegExp(e.separator,"img"),n=(o,i,s)=>`${i}${s}`;return o=>{o=o.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator})(${o.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(r,"|")})`,"img");return s=>(t?(0,Xo.default)(s):s).replace(i,n).replace(/<\/mark>(\s+)]*>/img,"$1")}}function Zo(e){return e.split(/"([^"]+)"/g).map((t,r)=>r&1?t.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):t).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}function bt(e){return e.type===1}function ei(e){return e.type===2}function vt(e){return e.type===3}function is({config:e,docs:t}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[re("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=re("search.config.separator"));let n={pipeline:re("search.config.pipeline").split(/\s*,\s*/).filter(Boolean),suggestions:Z("search.suggest")};return{config:e,docs:t,options:n}}function ti(e,t){let r=le(),n=new Worker(e),o=new w,i=xo(n,{tx$:o}).pipe(l(s=>{if(vt(s))for(let a of s.data.items)for(let f of a)f.location=`${new URL(f.location,r.base)}`;return s}),ie());return ue(t).pipe(l(s=>({type:0,data:is(s)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function ri({document$:e}){let t=le(),r=Fe(new URL("../versions.json",t.base)).pipe(ce(()=>R)),n=r.pipe(l(o=>{let[,i]=t.base.match(/([^/]+)\/?$/);return o.find(({version:s,aliases:a})=>s===i||a.includes(i))||o[0]}));r.pipe(l(o=>new Map(o.map(i=>[`${new URL(`../${i.version}/`,t.base)}`,i]))),S(o=>v(document.body,"click").pipe(x(i=>!i.metaKey&&!i.ctrlKey),ae(n),S(([i,s])=>{if(i.target instanceof Element){let a=i.target.closest("a");if(a&&!a.target&&o.has(a.href)){let f=a.href;return!i.target.closest(".md-version")&&o.get(f)===s?R:(i.preventDefault(),I(f))}}return R}),S(i=>{let{version:s}=o.get(i);return pr(new URL(i)).pipe(l(a=>{let c=Oe().href.replace(t.base,"");return a.includes(c.split("#")[0])?new URL(`../${s}/${c}`,t.base):new URL(i)}))})))).subscribe(o=>sr(o)),Y([r,n]).subscribe(([o,i])=>{q(".md-header__topic").appendChild(Lo(o,i))}),e.pipe(S(()=>n)).subscribe(o=>{var s;let i=__md_get("__outdated",sessionStorage);if(i===null){let a=((s=t.version)==null?void 0:s.default)||"latest";i=!o.aliases.includes(a),__md_set("__outdated",i,sessionStorage)}if(i)for(let a of te("outdated"))a.hidden=!1})}function as(e,{rx$:t}){let r=(__search==null?void 0:__search.transform)||Zo,{searchParams:n}=Oe();n.has("q")&&Ke("search",!0);let o=t.pipe(x(bt),oe(1),l(()=>n.get("q")||""));dt("search").pipe(x(a=>!a),oe(1)).subscribe(()=>{let a=new URL(location.href);a.searchParams.delete("q"),history.replaceState({},"",`${a}`)}),o.subscribe(a=>{a&&(e.value=a,e.focus())});let i=Zt(e),s=A(v(e,"keyup"),v(e,"focus").pipe(ke(1)),o).pipe(l(()=>r(e.value)),N(""),B());return Y([s,i]).pipe(l(([a,f])=>({value:a,focus:f})),J(1))}function ni(e,{tx$:t,rx$:r}){let n=new w,o=n.pipe(he(1));return n.pipe(G("value"),l(({value:i})=>({type:2,data:i}))).subscribe(t.next.bind(t)),n.pipe(G("focus")).subscribe(({focus:i})=>{i?(Ke("search",i),e.placeholder=""):e.placeholder=re("search.placeholder")}),v(e.form,"reset").pipe(ee(o)).subscribe(()=>e.focus()),as(e,{tx$:t,rx$:r}).pipe(E(i=>n.next(i)),C(()=>n.complete()),l(i=>H({ref:e},i)),ie())}function oi(e,{rx$:t},{query$:r}){let n=new w,o=ro(e.parentElement).pipe(x(Boolean)),i=q(":scope > :first-child",e),s=q(":scope > :last-child",e),a=t.pipe(x(bt),oe(1));return n.pipe(ae(r),_t(a)).subscribe(([{items:c},{value:u}])=>{if(u)switch(c.length){case 0:i.textContent=re("search.result.none");break;case 1:i.textContent=re("search.result.one");break;default:i.textContent=re("search.result.other",cr(c.length))}else i.textContent=re("search.result.placeholder")}),n.pipe(E(()=>s.innerHTML=""),S(({items:c})=>A(I(...c.slice(0,10)),I(...c.slice(10)).pipe(Ce(4),Wr(o),S(([u])=>u))))).subscribe(c=>s.appendChild(To(c))),t.pipe(x(vt),l(({data:c})=>c)).pipe(E(c=>n.next(c)),C(()=>n.complete()),l(c=>H({ref:e},c)))}function ss(e,{query$:t}){return t.pipe(l(({value:r})=>{let n=Oe();return n.hash="",n.searchParams.delete("h"),n.searchParams.set("q",r),{url:n}}))}function ii(e,t){let r=new w;return r.subscribe(({url:n})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${n}`}),v(e,"click").subscribe(n=>n.preventDefault()),ss(e,t).pipe(E(n=>r.next(n)),C(()=>r.complete()),l(n=>H({ref:e},n)))}function ai(e,{rx$:t},{keyboard$:r}){let n=new w,o=Te("search-query"),i=A(v(o,"keydown"),v(o,"focus")).pipe(Le(fe),l(()=>o.value),B());return n.pipe(Ze(i),l(([{suggestions:a},f])=>{let c=f.split(/([\s-]+)/);if((a==null?void 0:a.length)&&c[c.length-1]){let u=a[a.length-1];u.startsWith(c[c.length-1])&&(c[c.length-1]=u)}else c.length=0;return c})).subscribe(a=>e.innerHTML=a.join("").replace(/\s/g," ")),r.pipe(x(({mode:a})=>a==="search")).subscribe(a=>{switch(a.type){case"ArrowRight":e.innerText.length&&o.selectionStart===o.value.length&&(o.value=e.innerText);break}}),t.pipe(x(vt),l(({data:a})=>a)).pipe(E(a=>n.next(a)),C(()=>n.complete()),l(()=>({ref:e})))}function si(e,{index$:t,keyboard$:r}){let n=le();try{let o=(__search==null?void 0:__search.worker)||n.search,i=ti(o,t),s=Te("search-query",e),a=Te("search-result",e),{tx$:f,rx$:c}=i;f.pipe(x(ei),ut(c.pipe(x(bt))),oe(1)).subscribe(f.next.bind(f)),r.pipe(x(({mode:m})=>m==="search")).subscribe(m=>{let d=Ie();switch(m.type){case"Enter":if(d===s){let h=new Map;for(let b of Q(":first-child [href]",a)){let K=b.firstElementChild;h.set(b,parseFloat(K.getAttribute("data-md-score")))}if(h.size){let[[b]]=[...h].sort(([,K],[,X])=>X-K);b.click()}m.claim()}break;case"Escape":case"Tab":Ke("search",!1),s.blur();break;case"ArrowUp":case"ArrowDown":if(typeof d=="undefined")s.focus();else{let h=[s,...Q(":not(details) > [href], summary, details[open] [href]",a)],b=Math.max(0,(Math.max(0,h.indexOf(d))+h.length+(m.type==="ArrowUp"?-1:1))%h.length);h[b].focus()}m.claim();break;default:s!==Ie()&&s.focus()}}),r.pipe(x(({mode:m})=>m==="global")).subscribe(m=>{switch(m.type){case"f":case"s":case"/":s.focus(),s.select(),m.claim();break}});let u=ni(s,i),p=oi(a,i,{query$:u});return A(u,p).pipe(et(...te("search-share",e).map(m=>ii(m,{query$:u})),...te("search-suggest",e).map(m=>ai(m,i,{keyboard$:r}))))}catch(o){return e.hidden=!0,Se}}function ci(e,{index$:t,location$:r}){return Y([t,r.pipe(N(Oe()),x(n=>!!n.searchParams.get("h")))]).pipe(l(([n,o])=>Xr(n.config,!0)(o.searchParams.get("h"))),l(n=>{var s;let o=new Map,i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT);for(let a=i.nextNode();a;a=i.nextNode())if((s=a.parentElement)!=null&&s.offsetHeight){let f=a.textContent,c=n(f);c.length>f.length&&o.set(a,c)}for(let[a,f]of o){let{childNodes:c}=M("span",null,f);a.replaceWith(...Array.from(c))}return{ref:e,nodes:o}}))}function cs(e,{viewport$:t,main$:r}){let n=e.parentElement,o=n.offsetTop-n.parentElement.offsetTop;return Y([r,t]).pipe(l(([{offset:i,height:s},{offset:{y:a}}])=>(s=s+Math.min(o,Math.max(0,a-i))-o,{height:s,locked:a>=i+o})),B((i,s)=>i.height===s.height&&i.locked===s.locked))}function Zr(e,n){var o=n,{header$:t}=o,r=an(o,["header$"]);let i=q(".md-sidebar__scrollwrap",e),{y:s}=qe(i);return P(()=>{let a=new w;return a.pipe(Ae(0,xe),ae(t)).subscribe({next([{height:f},{height:c}]){i.style.height=`${f-2*s}px`,e.style.top=`${c}px`},complete(){i.style.height="",e.style.top=""}}),a.pipe(Le(xe),oe(1)).subscribe(()=>{for(let f of Q(".md-nav__link--active[href]",e)){let c=or(f);if(typeof c!="undefined"){let u=f.offsetTop-c.offsetTop,{height:p}=be(c);c.scrollTo({top:u-p/2})}}}),cs(e,r).pipe(E(f=>a.next(f)),C(()=>a.complete()),l(f=>H({ref:e},f)))})}function fi(e,t){if(typeof t!="undefined"){let r=`https://api.github.com/repos/${e}/${t}`;return Ot(Fe(`${r}/releases/latest`).pipe(ce(()=>R),l(n=>({version:n.tag_name})),We({})),Fe(r).pipe(ce(()=>R),l(n=>({stars:n.stargazers_count,forks:n.forks_count})),We({}))).pipe(l(([n,o])=>H(H({},n),o)))}else{let r=`https://api.github.com/users/${e}`;return Fe(r).pipe(l(n=>({repositories:n.public_repos})),We({}))}}function ui(e,t){let r=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Fe(r).pipe(ce(()=>R),l(({star_count:n,forks_count:o})=>({stars:n,forks:o})),We({}))}function pi(e){let t=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);if(t){let[,r,n]=t;return fi(r,n)}if(t=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i),t){let[,r,n]=t;return ui(r,n)}return R}var fs;function us(e){return fs||(fs=P(()=>{let t=__md_get("__source",sessionStorage);if(t)return I(t);if(te("consent").length){let n=__md_get("__consent");if(!(n&&n.github))return R}return pi(e.href).pipe(E(n=>__md_set("__source",n,sessionStorage)))}).pipe(ce(()=>R),x(t=>Object.keys(t).length>0),l(t=>({facts:t})),J(1)))}function li(e){let t=q(":scope > :last-child",e);return P(()=>{let r=new w;return r.subscribe(({facts:n})=>{t.appendChild(_o(n)),t.classList.add("md-source__repository--active")}),us(e).pipe(E(n=>r.next(n)),C(()=>r.complete()),l(n=>H({ref:e},n)))})}function ps(e,{viewport$:t,header$:r}){return ge(document.body).pipe(S(()=>ur(e,{header$:r,viewport$:t})),l(({offset:{y:n}})=>({hidden:n>=10})),G("hidden"))}function mi(e,t){return P(()=>{let r=new w;return r.subscribe({next({hidden:n}){e.hidden=n},complete(){e.hidden=!1}}),(Z("navigation.tabs.sticky")?I({hidden:!1}):ps(e,t)).pipe(E(n=>r.next(n)),C(()=>r.complete()),l(n=>H({ref:e},n)))})}function ls(e,{viewport$:t,header$:r}){let n=new Map,o=Q("[href^=\\#]",e);for(let a of o){let f=decodeURIComponent(a.hash.substring(1)),c=pe(`[id="${f}"]`);typeof c!="undefined"&&n.set(a,c)}let i=r.pipe(G("height"),l(({height:a})=>{let f=Te("main"),c=q(":scope > :first-child",f);return a+.8*(c.offsetTop-f.offsetTop)}),ie());return ge(document.body).pipe(G("height"),S(a=>P(()=>{let f=[];return I([...n].reduce((c,[u,p])=>{for(;f.length&&n.get(f[f.length-1]).tagName>=p.tagName;)f.pop();let m=p.offsetTop;for(;!m&&p.parentElement;)p=p.parentElement,m=p.offsetTop;return c.set([...f=[...f,u]].reverse(),m)},new Map))}).pipe(l(f=>new Map([...f].sort(([,c],[,u])=>c-u))),Ze(i),S(([f,c])=>t.pipe($r(([u,p],{offset:{y:m},size:d})=>{let h=m+d.height>=Math.floor(a.height);for(;p.length;){let[,b]=p[0];if(b-c=m&&!h)p=[u.pop(),...p];else break}return[u,p]},[[],[...f]]),B((u,p)=>u[0]===p[0]&&u[1]===p[1])))))).pipe(l(([a,f])=>({prev:a.map(([c])=>c),next:f.map(([c])=>c)})),N({prev:[],next:[]}),Ce(2,1),l(([a,f])=>a.prev.length{let o=new w,i=o.pipe(he(1));if(o.subscribe(({prev:s,next:a})=>{for(let[f]of a)f.classList.remove("md-nav__link--passed"),f.classList.remove("md-nav__link--active");for(let[f,[c]]of s.entries())c.classList.add("md-nav__link--passed"),c.classList.toggle("md-nav__link--active",f===s.length-1)}),Z("toc.follow")){let s=A(t.pipe(Re(1),l(()=>{})),t.pipe(Re(250),l(()=>"smooth")));o.pipe(x(({prev:a})=>a.length>0),ae(s)).subscribe(([{prev:a},f])=>{let[c]=a[a.length-1];if(c.offsetHeight){let u=or(c);if(typeof u!="undefined"){let p=c.offsetTop-u.offsetTop,{height:m}=be(u);u.scrollTo({top:p-m/2,behavior:f})}}})}return Z("navigation.tracking")&&t.pipe(ee(i),G("offset"),Re(250),He(1),ee(n.pipe(He(1))),Tt({delay:250}),ae(o)).subscribe(([,{prev:s}])=>{let a=Oe(),f=s[s.length-1];if(f&&f.length){let[c]=f,{hash:u}=new URL(c.href);a.hash!==u&&(a.hash=u,history.replaceState({},"",`${a}`))}else a.hash="",history.replaceState({},"",`${a}`)}),ls(e,{viewport$:t,header$:r}).pipe(E(s=>o.next(s)),C(()=>o.complete()),l(s=>H({ref:e},s)))})}function ms(e,{viewport$:t,main$:r,target$:n}){let o=t.pipe(l(({offset:{y:s}})=>s),Ce(2,1),l(([s,a])=>s>a&&a>0),B()),i=r.pipe(l(({active:s})=>s));return Y([i,o]).pipe(l(([s,a])=>!(s&&a)),B(),ee(n.pipe(He(1))),Pr(!0),Tt({delay:250}),l(s=>({hidden:s})))}function hi(e,{viewport$:t,header$:r,main$:n,target$:o}){let i=new w,s=i.pipe(he(1));return i.subscribe({next({hidden:a}){e.hidden=a,a?(e.setAttribute("tabindex","-1"),e.blur()):e.removeAttribute("tabindex")},complete(){e.style.top="",e.hidden=!0,e.removeAttribute("tabindex")}}),r.pipe(ee(s),G("height")).subscribe(({height:a})=>{e.style.top=`${a+16}px`}),ms(e,{viewport$:t,main$:n,target$:o}).pipe(E(a=>i.next(a)),C(()=>i.complete()),l(a=>H({ref:e},a)))}function bi({document$:e,tablet$:t}){e.pipe(S(()=>Q(".md-toggle--indeterminate, [data-md-state=indeterminate]")),E(r=>{r.indeterminate=!0,r.checked=!1}),se(r=>v(r,"change").pipe(Fr(()=>r.classList.contains("md-toggle--indeterminate")),l(()=>r))),ae(t)).subscribe(([r,n])=>{r.classList.remove("md-toggle--indeterminate"),n&&(r.checked=!1)})}function ds(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function vi({document$:e}){e.pipe(S(()=>Q("[data-md-scrollfix]")),E(t=>t.removeAttribute("data-md-scrollfix")),x(ds),se(t=>v(t,"touchstart").pipe(l(()=>t)))).subscribe(t=>{let r=t.scrollTop;r===0?t.scrollTop=1:r+t.offsetHeight===t.scrollHeight&&(t.scrollTop=r-1)})}function gi({viewport$:e,tablet$:t}){Y([dt("search"),t]).pipe(l(([r,n])=>r&&!n),S(r=>I(r).pipe(ke(r?400:100))),ae(e)).subscribe(([r,{offset:{y:n}}])=>{if(r)document.body.setAttribute("data-md-scrolllock",""),document.body.style.top=`-${n}px`;else{let o=-1*parseInt(document.body.style.top,10);document.body.removeAttribute("data-md-scrolllock"),document.body.style.top="",o&&window.scrollTo(0,o)}})}Object.entries||(Object.entries=function(e){let t=[];for(let r of Object.keys(e))t.push([r,e[r]]);return t});Object.values||(Object.values=function(e){let t=[];for(let r of Object.keys(e))t.push(e[r]);return t});typeof Element!="undefined"&&(Element.prototype.scrollTo||(Element.prototype.scrollTo=function(e,t){typeof e=="object"?(this.scrollLeft=e.left,this.scrollTop=e.top):(this.scrollLeft=e,this.scrollTop=t)}),Element.prototype.replaceWith||(Element.prototype.replaceWith=function(...e){let t=this.parentNode;if(t){e.length===0&&t.removeChild(this);for(let r=e.length-1;r>=0;r--){let n=e[r];typeof n=="string"?n=document.createTextNode(n):n.parentNode&&n.parentNode.removeChild(n),r?t.insertBefore(this.previousSibling,n):t.replaceChild(n,this)}}}));document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var tt=qn(),mr=io(),gt=uo(),en=oo(),Ee=yo(),dr=Vr("(min-width: 960px)"),xi=Vr("(min-width: 1220px)"),Ei=po(),wi=le(),Si=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||Fe(new URL("search/search_index.json",wi.base)):Se,tn=new w;Bo({alert$:tn});Z("navigation.instant")&&Go({document$:tt,location$:mr,viewport$:Ee});var yi;((yi=wi.version)==null?void 0:yi.provider)==="mike"&&ri({document$:tt});A(mr,gt).pipe(ke(125)).subscribe(()=>{Ke("drawer",!1),Ke("search",!1)});en.pipe(x(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=pe("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let r=pe("[href][rel=next]");typeof r!="undefined"&&r.click();break}});bi({document$:tt,tablet$:dr});vi({document$:tt});gi({viewport$:Ee,tablet$:dr});var Qe=zo(Te("header"),{viewport$:Ee}),lr=tt.pipe(l(()=>Te("main")),S(e=>Qo(e,{viewport$:Ee,header$:Qe})),J(1)),hs=A(...te("consent").map(e=>wo(e,{target$:gt})),...te("dialog").map(e=>No(e,{alert$:tn})),...te("header").map(e=>qo(e,{viewport$:Ee,header$:Qe,main$:lr})),...te("palette").map(e=>Yo(e)),...te("search").map(e=>si(e,{index$:Si,keyboard$:en})),...te("source").map(e=>li(e))),bs=P(()=>A(...te("announce").map(e=>Eo(e)),...te("content").map(e=>Vo(e,{viewport$:Ee,target$:gt,print$:Ei})),...te("content").map(e=>Z("search.highlight")?ci(e,{index$:Si,location$:mr}):R),...te("header-title").map(e=>Ko(e,{viewport$:Ee,header$:Qe})),...te("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Nr(xi,()=>Zr(e,{viewport$:Ee,header$:Qe,main$:lr})):Nr(dr,()=>Zr(e,{viewport$:Ee,header$:Qe,main$:lr}))),...te("tabs").map(e=>mi(e,{viewport$:Ee,header$:Qe})),...te("toc").map(e=>di(e,{viewport$:Ee,header$:Qe,target$:gt})),...te("top").map(e=>hi(e,{viewport$:Ee,header$:Qe,main$:lr,target$:gt})))),Oi=tt.pipe(S(()=>bs),et(hs),J(1));Oi.subscribe();window.document$=tt;window.location$=mr;window.target$=gt;window.keyboard$=en;window.viewport$=Ee;window.tablet$=dr;window.screen$=xi;window.print$=Ei;window.alert$=tn;window.component$=Oi;})(); //# sourceMappingURL=bundle.3020a18e.min.js.map