(()=>{var ji=Object.create;var Tt=Object.defineProperty;var $i=Object.getOwnPropertyDescriptor;var Pi=Object.getOwnPropertyNames,_t=Object.getOwnPropertySymbols,Wi=Object.getPrototypeOf,br=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Kr=(e,t,n)=>t in e?Tt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I=(e,t)=>{for(var n in t||(t={}))br.call(t,n)&&Kr(e,n,t[n]);if(_t)for(var n of _t(t))Qr.call(t,n)&&Kr(e,n,t[n]);return e};var Ui=e=>Tt(e,"__esModule",{value:!0});var Mt=(e,t)=>{var n={};for(var r in e)br.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&_t)for(var r of _t(e))t.indexOf(r)<0&&Qr.call(e,r)&&(n[r]=e[r]);return n};var Lt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Vi=(e,t,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Pi(t))!br.call(e,r)&&r!=="default"&&Tt(e,r,{get:()=>t[r],enumerable:!(n=$i(t,r))||n.enumerable});return e},ut=e=>Vi(Ui(Tt(e!=null?ji(Wi(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Br=Lt((vr,Yr)=>{(function(e,t){typeof vr=="object"&&typeof Yr!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(vr,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(M){return!!(M&&M!==document&&M.nodeName!=="HTML"&&M.nodeName!=="BODY"&&"classList"in M&&"contains"in M.classList)}function c(M){var Ve=M.type,Ce=M.tagName;return!!(Ce==="INPUT"&&a[Ve]&&!M.readOnly||Ce==="TEXTAREA"&&!M.readOnly||M.isContentEditable)}function l(M){M.classList.contains("focus-visible")||(M.classList.add("focus-visible"),M.setAttribute("data-focus-visible-added",""))}function u(M){!M.hasAttribute("data-focus-visible-added")||(M.classList.remove("focus-visible"),M.removeAttribute("data-focus-visible-added"))}function m(M){M.metaKey||M.altKey||M.ctrlKey||(s(n.activeElement)&&l(n.activeElement),r=!0)}function f(M){r=!1}function h(M){!s(M.target)||(r||c(M.target))&&l(M.target)}function v(M){!s(M.target)||(M.target.classList.contains("focus-visible")||M.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),u(M.target))}function d(M){document.visibilityState==="hidden"&&(o&&(r=!0),N())}function N(){document.addEventListener("mousemove",U),document.addEventListener("mousedown",U),document.addEventListener("mouseup",U),document.addEventListener("pointermove",U),document.addEventListener("pointerdown",U),document.addEventListener("pointerup",U),document.addEventListener("touchmove",U),document.addEventListener("touchstart",U),document.addEventListener("touchend",U)}function X(){document.removeEventListener("mousemove",U),document.removeEventListener("mousedown",U),document.removeEventListener("mouseup",U),document.removeEventListener("pointermove",U),document.removeEventListener("pointerdown",U),document.removeEventListener("pointerup",U),document.removeEventListener("touchmove",U),document.removeEventListener("touchstart",U),document.removeEventListener("touchend",U)}function U(M){M.target.nodeName&&M.target.nodeName.toLowerCase()==="html"||(r=!1,X())}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=Lt((Ga,kt)=>{var Jr,Gr,Xr,Zr,en,tn,rn,nn,on,At,gr,an,sn,cn,Ye,ln,un,pn,fn,mn,dn,hn,bn,Ct;(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 kt=="object"&&typeof kt.exports=="object"?e(n(t,n(kt.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.")},gr=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(X){v(c[0][3],X)}}function m(d){d.value instanceof Ye?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:Ye(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 At=="function"?At(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)&&Ct(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",Ct),e("__values",At),e("__read",gr),e("__spread",an),e("__spreadArrays",sn),e("__spreadArray",cn),e("__await",Ye),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 Wr=Lt((wt,Pr)=>{(function(t,n){typeof wt=="object"&&typeof Pr=="object"?Pr.exports=n():typeof define=="function"&&define.amd?define([],n):typeof wt=="object"?wt.ClipboardJS=n():t.ClipboardJS=n()})(wt,function(){return function(){var e={134:function(r,o,i){"use strict";i.d(o,{default:function(){return Ii}});var a=i(279),s=i.n(a),c=i(370),l=i.n(c),u=i(817),m=i.n(u);function f(k){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(k)}function h(k,y){if(!(k instanceof y))throw new TypeError("Cannot call a class as a function")}function v(k,y){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 j=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(j,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var b=this,j=this.createFakeElement();this.fakeHandlerCallback=function(){return b.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(j),this.selectedText=m()(j),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(j){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}}]),k}(),X=N;function U(k){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?U=function(b){return typeof b}:U=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},U(k)}function M(k,y){if(!(k instanceof y))throw new TypeError("Cannot call a class as a function")}function Ve(k,y){for(var b=0;b0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof z.action=="function"?z.action:this.defaultAction,this.target=typeof z.target=="function"?z.target:this.defaultTarget,this.text=typeof z.text=="function"?z.text:this.defaultText,this.container=U(z.container)==="object"?z.container:document.body}},{key:"listenClick",value:function(z){var ne=this;this.listener=l()(z,"click",function(lt){return ne.onClick(lt)})}},{key:"onClick",value:function(z){var ne=z.delegateTarget||z.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new X({action:this.action(ne),target:this.target(ne),text:this.text(ne),container:this.container,trigger:ne,emitter:this})}},{key:"defaultAction",value:function(z){return hr("action",z)}},{key:"defaultTarget",value:function(z){var ne=hr("target",z);if(ne)return document.querySelector(ne)}},{key:"defaultText",value:function(z){return hr("text",z)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],ne=typeof z=="string"?[z]:z,lt=!!document.queryCommandSupported;return ne.forEach(function(Ri){lt=lt&&!!document.queryCommandSupported(Ri)}),lt}}]),b}(s()),Ii=Fi},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";var ja=/["'&<>]/;Zo.exports=$a;function $a(e){var t=""+e,n=ja.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?xr:(a.push(n),new _e(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 R;return n.source=this,n},t.create=function(n,r){return new kn(n,r)},t}(R);var kn=function(e){te(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:xr},t}(E);var mt={now:function(){return(mt.delegate||Date).now()},delegate:void 0};var dt=function(e){te(t,e);function t(n,r,o){n===void 0&&(n=1/0),r===void 0&&(r=1/0),o===void 0&&(o=mt);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=Xe.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&&(Xe.cancelAnimationFrame(r),n._scheduled=void 0)},t}(Pt);var In=function(e){te(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 E}: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},X=function(){N(),u=f=null,v=d=!1},U=function(){var M=u;X(),M==null||M.unsubscribe()};return x(function(M,Ve){h++,!d&&!v&&N();var Ce=f=f!=null?f:n();Ve.add(function(){h--,h===0&&!d&&!v&&(m=Hr(U,c))}),Ce.subscribe(Ve),u||(u=new ft({next:function(Ke){return Ce.next(Ke)},error:function(Ke){d=!0,N(),m=Hr(X,o,Ke),Ce.error(Ke)},complete:function(){v=!0,N(),m=Hr(X,a),Ce.complete()}}),oe(M).subscribe(u))})(l)}}function Hr(e,t){for(var n=[],r=2;re.next(document)),e}function V(e,t=document){return Array.from(t.querySelectorAll(e))}function W(e,t=document){let n=ue(e,t);if(typeof n=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return n}function ue(e,t=document){return t.querySelector(e)||void 0}function Qe(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}function tr(e){return H(g(e,"focus"),g(e,"blur")).pipe(p(({type:t})=>t==="focus"),Q(e===Qe()))}function Pe(e){return{x:e.offsetLeft,y:e.offsetTop}}function to(e){return H(g(window,"load"),g(window,"resize")).pipe(Ne(0,pe),p(()=>Pe(e)),Q(Pe(e)))}function ro(e){return{x:e.scrollLeft,y:e.scrollTop}}function rr(e){return H(g(e,"scroll"),g(window,"resize")).pipe(Ne(0,pe),p(()=>ro(e)),Q(ro(e)))}var no=new E,ha=F(()=>L(new ResizeObserver(e=>{for(let t of e)no.next(t)}))).pipe(S(e=>H(ge,L(e)).pipe(A(()=>e.disconnect()))),J(1));function Me(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Te(e){return ha.pipe(O(t=>t.observe(e)),S(t=>no.pipe(_(({target:n})=>n===e),A(()=>t.unobserve(e)),p(()=>Me(e)))),Q(Me(e)))}function St(e){return{width:e.scrollWidth,height:e.scrollHeight}}function oo(e){let t=e.parentElement;for(;t&&t!==e.offsetParent;){let n=Me(t);if(St(t).height>n.height)return t;t=t.parentElement}}var ba=new E,xb=F(()=>L(new IntersectionObserver(e=>{for(let t of e)ba.next(t)},{threshold:1}))).pipe(S(e=>H(ge,L(e)).pipe(A(()=>e.disconnect()))),J(1));function io(e,t=16){return rr(e).pipe(p(({y:n})=>{let r=Me(e),o=St(e);return n>=o.height-r.height-t}),B())}var nr={drawer:W("[data-md-toggle=drawer]"),search:W("[data-md-toggle=search]")};function ao(e){return nr[e].checked}function We(e,t){nr[e].checked!==t&&nr[e].click()}function or(e){let t=nr[e];return g(t,"change").pipe(p(()=>t.checked),Q(t.checked))}function va(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 so(){return g(window,"keydown").pipe(_(e=>!(e.metaKey||e.ctrlKey)),p(e=>({mode:ao("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),_(({mode:e,type:t})=>{if(e==="global"){let n=Qe();if(typeof n!="undefined")return!va(n,t)}return!0}),ce())}function xe(){return new URL(location.href)}function ir(e){location.href=e.href}function co(){return new E}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 C(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 ar(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function jr(e,t,n){t=new RegExp(t,"g");let r,o=0;do{r=t.exec(e);let i=r?r.index:e.length;if(on.stopPropagation()),t.click()}function ga(){return g(window,"hashchange").pipe(p(uo),Q(uo()),_(e=>e.length>0),J(1))}function fo(){return ga().pipe(p(e=>ue(`[id="${e}"]`)),_(e=>typeof e!="undefined"))}function sr(e){let t=matchMedia(e);return Xt(n=>t.addListener(()=>n(t.matches))).pipe(Q(t.matches))}function mo(){return H(g(window,"beforeprint").pipe(G(!0)),g(window,"afterprint").pipe(G(!1)))}function $r(e,t){return e.pipe(S(n=>n?t():q))}function ot(e,t={credentials:"same-origin"}){return oe(fetch(`${e}`,t)).pipe(_(n=>n.status===200),$e(()=>q))}function Le(e,t){return ot(e,t).pipe(S(n=>n.json()),J(1))}function ho(e,t){let n=new DOMParser;return ot(e,t).pipe(S(r=>r.text()),p(r=>n.parseFromString(r,"text/xml")),J(1))}function bo(e){let t=C("script",{src:e});return F(()=>(document.head.appendChild(t),H(g(t,"load"),g(t,"error").pipe(S(()=>_r(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(G(void 0),A(()=>document.head.removeChild(t)),ie(1))))}function vo(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function go(){return H(g(window,"scroll",{passive:!0}),g(window,"resize",{passive:!0})).pipe(p(vo),Q(vo()))}function xo(){return{width:innerWidth,height:innerHeight}}function yo(){return g(window,"resize",{passive:!0}).pipe(p(xo),Q(xo()))}function So(){return K([go(),yo()]).pipe(p(([e,t])=>({offset:e,size:t})),J(1))}function cr(e,{viewport$:t,header$:n}){let r=t.pipe(Y("size")),o=K([r,n]).pipe(p(()=>Pe(e)));return K([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=g(e,"message").pipe(p(({data:r})=>r));return t.pipe(Ir(()=>n,{leading:!0,trailing:!0}),O(r=>e.postMessage(r)),yt(n),ce())}var xa=W("#__config"),it=JSON.parse(xa.textContent);it.base=`${new URL(it.base,xe())}`;function de(){return it}function Z(e){return it.features.includes(e)}function ee(e,t){return typeof t!="undefined"?it.translations[e].replace("#",t.toString()):it.translations[e]}function Ae(e,t=document){return W(`[data-md-component=${e}]`,t)}function re(e,t=document){return V(`[data-md-component=${e}]`,t)}function Eo(e){return F(()=>{if(Z("announce.dismiss")&&!e.hidden){let t=W(".md-typeset > :first-child",e);g(t,"click",{once:!0}).pipe(G(W(".md-typeset",e)),p(n=>[...n.innerHTML].reduce((r,o)=>(r<<5)-r+o.charCodeAt(0),0))).subscribe(n=>{e.hidden=!0,__md_set("__announce",n)})}return L({}).pipe(G({ref:e}))})}function ya(e,{target$:t}){return t.pipe(p(n=>({hidden:n!==e})))}function Oo(e,t){let n=new E;return n.pipe(le(pe)).subscribe(({hidden:r})=>{e.hidden=r}),ya(e,t).pipe(O(r=>n.next(r)),A(()=>n.complete()),p(r=>I({ref:e},r)))}var Io=ut(Wr());function To(e){return C("button",{class:"md-clipboard md-icon",title:ee("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}function _o(e){return C("aside",{class:"md-annotation",tabIndex:0},C("div",{class:"md-annotation__inner md-tooltip"},C("div",{class:"md-tooltip__inner md-typeset"})),C("span",{class:"md-annotation__index"},e))}function Ur(e,t){let n=t&2,r=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).map(a=>[C("del",null,a)," "]).flat().slice(0,-1),i=new URL(e.location);return Z("search.highlight")&&i.searchParams.set("h",Object.entries(e.terms).filter(([,a])=>a).reduce((a,[s])=>`${a} ${s}`.trim(),"")),C("a",{href:`${i}`,class:"md-search-result__link",tabIndex:-1},C("article",{class:"md-search-result__article md-typeset","data-md-score":e.score.toFixed(2)},n>0&&C("div",{class:"md-search-result__icon md-icon"}),n>0&&C("h1",null,e.title),n<=0&&C("h2",null,e.title),r>0&&e.text.length>0&&e.text,e.tags&&e.tags.map(a=>C("span",{class:"md-tag"},a)),r>0&&o.length>0&&C("p",{class:"md-search-result__terms"},ee("search.result.term.missing"),": ",o)))}function Mo(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.scoreUr(l,1)),...s.length?[C("details",{class:"md-search-result__more"},C("summary",{tabIndex:-1},C("div",null,s.length>0&&s.length===1?ee("search.result.more.one"):ee("search.result.more.other",s.length))),s.map(l=>Ur(l,1)))]:[]];return C("li",{class:"md-search-result__item"},c)}function Lo(e){return C("ul",{class:"md-source__facts"},Object.entries(e).map(([t,n])=>C("li",{class:`md-source__fact md-source__fact--${t}`},typeof n=="number"?ar(n):n)))}function Ao(e){return C("div",{class:"md-typeset__scrollwrap"},C("div",{class:"md-typeset__table"},e))}function Sa(e){let t=de(),n=new URL(`../${e.version}/`,t.base);return C("li",{class:"md-version__item"},C("a",{href:`${n}`,class:"md-version__link"},e.title))}function Co(e,t){return C("div",{class:"md-version"},C("button",{class:"md-version__current","aria-label":ee("select.version.title")},t.title),C("ul",{class:"md-version__list"},e.map(Sa)))}function wa(e,t){let n=F(()=>K([to(e),rr(t)])).pipe(p(([{x:r,y:o},i])=>({x:r-i.x,y:o-i.y})));return tr(e).pipe(S(r=>n.pipe(p(o=>({active:r,offset:o})),ie(+!r||1/0))))}function ko(e,t){return F(()=>{let n=new E;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")}});let r=W(":scope > :last-child",e),o=g(r,"mousedown",{once:!0});return n.pipe(S(({active:i})=>i?o:q),O(i=>i.preventDefault())).subscribe(()=>e.blur()),wa(e,t).pipe(O(i=>n.next(i)),A(()=>n.complete()),p(i=>I({ref:e},i)))})}function Ea(e){let t=[];for(let n of V(".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 Ho(e,t){t.append(...Array.from(e.childNodes))}function Fo(e,t,n){let{print$:r}=n,o=new Map;for(let i of Ea(t)){let[,a]=i.textContent.match(/\((\d+)\)/);o.set(+a,_o(+a)),i.replaceWith(o.get(+a))}return F(()=>{let i=new E;return r.pipe(Q(!1),Oe(i.pipe(Ee(1)))).subscribe(a=>{e.hidden=!a;for(let[s,c]of o){let l=W(".md-typeset",c),u=W(`li:nth-child(${s})`,e);a?Ho(l,u):Ho(u,l)}}),H(...[...o].map(([,a])=>ko(a,t))).pipe(A(()=>i.complete()),ce())})}var Oa=0;function Ro(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return Ro(t)}}function jo(e){return Te(e).pipe(p(({width:t})=>({scrollable:St(e).width>t})),Y("scrollable"))}function $o(e,r){var o=r,{hover$:t}=o,n=Mt(o,["hover$"]);return F(()=>{let i=new E;if(i.pipe(fe(t)).subscribe(([{scrollable:s},c])=>{s&&c?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}),Io.default.isSupported()){let s=e.closest("pre");s.id=`__code_${++Oa}`,s.insertBefore(To(s.id),e)}let a=e.closest(".highlighttable")||e.closest(".highlight");if(a instanceof HTMLElement){let s=Ro(a);if(typeof s!="undefined"&&(a.classList.contains("annotate")||Z("content.code.annotate"))){let c=Fo(s,e,n);return jo(e).pipe(O(l=>i.next(l)),A(()=>i.complete()),p(l=>I({ref:e},l)),qe(Te(a).pipe(Oe(i.pipe(Ee(1))),S(({width:l,height:u})=>l&&u?c:q))))}}return jo(e).pipe(O(s=>i.next(s)),A(()=>i.complete()),p(s=>I({ref:e},s)))})}var Vr,Ta=0;function _a(){return typeof mermaid!="undefined"?L(void 0):bo("https://unpkg.com/mermaid@8.13.3/dist/mermaid.min.js")}function Ma(){let e=W("[rel=preload][href*=mermaid]");return ot(e.href).pipe(S(t=>t.text()))}function Po(e){return e.classList.remove("mermaid"),Vr||(Vr=ze([_a(),Ma()]).pipe(O(([,t])=>mermaid.initialize({startOnLoad:!1,themeCSS:t})),G(void 0),J(1))),Vr.subscribe(()=>{e.classList.add("mermaid");let t=`__mermaid_${Ta++}`,n=C("div",{class:"mermaid"});mermaid.mermaidAPI.render(t,e.innerText,r=>{let o=n.attachShadow({mode:"closed"});o.innerHTML=r,e.replaceWith(n)})}),Vr.pipe(G({ref:e}))}function La(e,{target$:t,print$:n}){let r=!1;return H(t.pipe(p(o=>o.closest("details:not([open])")),_(o=>e===o),G({action:"open",scroll:!0})),n.pipe(_(o=>o||!r),O(()=>r=e.open),p(o=>({action:o?"open":"close"}))))}function Wo(e,t){return F(()=>{let n=new E;return n.subscribe(({action:r,scroll:o})=>{r==="open"?e.setAttribute("open",""):e.removeAttribute("open"),o&&e.scrollIntoView()}),La(e,t).pipe(O(r=>n.next(r)),A(()=>n.complete()),p(r=>I({ref:e},r)))})}var Uo=C("table");function Vo(e){return e.replaceWith(Uo),Uo.replaceWith(Ao(e)),L({ref:e})}function Aa(e){return H(...V(":scope > input",e).map(t=>g(t,"change").pipe(G(t.id)))).pipe(p(t=>({active:W(`label[for=${t}]`)})))}function Do(e){let t=W(".tabbed-labels",e);return F(()=>{let n=new E;return n.subscribe(({active:r})=>{let{x:o}=Pe(r);if(t.scrollTo({behavior:"smooth",left:o}),Z("content.tabs.link")){let i=r.innerText.trim();for(let s of V("[data-tabs]"))for(let c of V(":scope > input",s))if(W(`label[for=${c.id}]`).innerText.trim()===i){c.checked=!0;break}let a=__md_get("__tabs")||[];__md_set("__tabs",[...new Set([i,...a])])}}),Aa(e).pipe(O(r=>n.next(r)),A(()=>n.complete()),p(r=>I({ref:e},r)))})}function zo(e,{target$:t,hover$:n,print$:r}){return H(...V("pre:not(.mermaid) > code",e).map(o=>$o(o,{hover$:n,print$:r})),...V("pre.mermaid",e).map(o=>Po(o)),...V("table:not([class])",e).map(o=>Vo(o)),...V("details",e).map(o=>Wo(o,{target$:t,print$:r})),...V("[data-tabs]",e).map(o=>Do(o)))}function Ca(e,{alert$:t}){return t.pipe(S(n=>H(L(!0),L(!1).pipe(Fe(2e3))).pipe(p(r=>({message:n,open:r})))))}function No(e,t){let n=W(".md-typeset",e);return F(()=>{let r=new E;return r.subscribe(({message:o,open:i})=>{n.textContent=o,i?e.setAttribute("data-md-state","open"):e.removeAttribute("data-md-state")}),Ca(e,t).pipe(O(o=>r.next(o)),A(()=>r.complete()),p(o=>I({ref:e},o)))})}function ka({viewport$:e}){if(!Z("header.autohide"))return L(!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),B()),r=or("search");return K([e,r]).pipe(p(([{offset:o},i])=>o.y>400&&!i),B(),S(o=>o?n:L(!1)),Q(!1))}function qo(e,t){return F(()=>{let n=getComputedStyle(e);return L(n.position==="sticky"||n.position==="-webkit-sticky")}).pipe(rt(Te(e),ka(t)),p(([n,{height:r},o])=>({height:n?r:0,sticky:n,hidden:o})),B((n,r)=>n.sticky===r.sticky&&n.height===r.height&&n.hidden===r.hidden),J(1))}function Qo(e,{header$:t,main$:n}){return F(()=>{let r=new E;return r.pipe(Y("active"),rt(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(Oe(r.pipe(Ee(1))),p(o=>I({ref:e},o)))})}function Ha(e,{viewport$:t,header$:n}){return cr(e,{viewport$:t,header$:n}).pipe(p(({offset:{y:r}})=>{let{height:o}=Me(e);return{active:r>=o}}),Y("active"))}function Ko(e,t){return F(()=>{let n=new E;n.subscribe(({active:o})=>{o?e.setAttribute("data-md-state","active"):e.removeAttribute("data-md-state")});let r=ue("article h1");return typeof r=="undefined"?q:Ha(r,t).pipe(O(o=>n.next(o)),A(()=>n.complete()),p(o=>I({ref:e},o)))})}function Yo(e,{viewport$:t,header$:n}){let r=n.pipe(p(({height:i})=>i),B()),o=r.pipe(S(()=>Te(e).pipe(p(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),Y("bottom"))));return K([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})),B((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function Fa(e){let t=__md_get("__palette")||{index:e.findIndex(r=>matchMedia(r.getAttribute("data-md-color-media")).matches)};return L(...e).pipe(se(r=>g(r,"change").pipe(G(r))),Q(e[Math.max(0,t.index)]),p(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 Bo(e){return F(()=>{let t=new E;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)),A(()=>t.complete()),p(r=>I({ref:e},r)))})}var Dr=ut(Wr());function Ia(e){let t=V(".md-annotation",e);for(let r of t)r.hidden=!0;let n=e.innerText;for(let r of t)r.hidden=!1;return n}function Jo({alert$:e}){Dr.default.isSupported()&&new R(t=>{new Dr.default("[data-clipboard-target], [data-clipboard-text]",{text:n=>n.getAttribute("data-clipboard-text")||Ia(W(n.getAttribute("data-clipboard-target")))}).on("success",n=>t.next(n))}).subscribe(()=>e.next(ee("clipboard.copied")))}function Ra(e){if(e.length<2)return[""];let[t,n]=[...e].sort((o,i)=>o.length-i.length).map(o=>o.replace(/[^/]+$/,"")),r=0;if(t===n)r=t.length;else for(;t.charCodeAt(r)===n.charCodeAt(r);)r++;return e.map(o=>o.replace(t.slice(0,r),""))}function lr(e){let t=__md_get("__sitemap",sessionStorage,e);if(t)return L(t);{let n=de();return ho(new URL("sitemap.xml",e||n.base)).pipe(p(r=>Ra(V("loc",r).map(o=>o.textContent))),He([]),O(r=>__md_set("__sitemap",r,sessionStorage,e)))}}function Go({document$:e,location$:t,viewport$:n}){let r=de();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",g(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=ue("link[rel=icon]");typeof o!="undefined"&&(o.href=o.href);let i=lr().pipe(p(l=>l.map(u=>`${new URL(u,r.base)}`)),S(l=>g(document.body,"click").pipe(_(u=>!u.metaKey&&!u.ctrlKey),S(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(),L({url:new URL(m.href)})}}return ge}))),ce()),a=g(window,"popstate").pipe(_(l=>l.state!==null),p(l=>({url:new URL(location.href),offset:l.state})),ce());H(i,a).pipe(B((l,u)=>l.url.href===u.url.href),p(({url:l})=>l)).subscribe(t);let s=t.pipe(Y("pathname"),S(l=>ot(l.href).pipe($e(()=>(ir(l),ge)))),ce());i.pipe(nt(s)).subscribe(({url:l})=>{history.pushState({},"",`${l}`)});let c=new DOMParser;s.pipe(S(l=>l.text()),p(l=>c.parseFromString(l,"text/html"))).subscribe(e),e.pipe(er(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]",...Z("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let m=ue(u),f=ue(u,l);typeof m!="undefined"&&typeof f!="undefined"&&m.replaceWith(f)}}),e.pipe(er(1),p(()=>Ae("container")),S(l=>L(...V("script",l))),Ar(l=>{let u=C("script");if(l.src){for(let m of l.getAttributeNames())u.setAttribute(m,l.getAttribute(m));return l.replaceWith(u),new R(m=>{u.onload=()=>m.complete()})}else return u.textContent=l.textContent,l.replaceWith(u),q})).subscribe(),H(i,a).pipe(nt(e)).subscribe(({url:l,offset:u={y:0}})=>{l.hash&&!u?po(l.hash):window.scrollTo(0,u.y)}),n.pipe(xt(i),gt(250),Y("offset")).subscribe(({offset:l})=>{history.replaceState(l,"")}),H(i,a).pipe(we(2,1),_(([l,u])=>l.url.pathname===u.url.pathname),p(([,l])=>l)).subscribe(({offset:l={y:0}})=>{window.scrollTo(0,l.y)})}function Xo(e,t=n=>n){return e.split(/"([^"]+)"/g).map((n,r)=>r&1?n.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):n).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").split(/\s+/g).flatMap(t).map(n=>/^[+-]/.test(n)?n:`${n}*`).join(" ").trim()}var ti=ut(ei());function ri(e){let t=e.separator.split("|").map(o=>o.replace(/(\(\?[!=][^)]+\))/g,"").length===0?"\uFFFD":o).join("|"),n=new RegExp(t,"img"),r=(o,i,a)=>`${i}${a}`;return o=>{o=o.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator}|\\b)(${o.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(n,"|")})`,"img");return a=>(0,ti.default)(a).replace(i,r).replace(/<\/mark>(\s+)]*>/img,"$1")}}var Et=(o=>(o[o.SETUP=0]="SETUP",o[o.READY=1]="READY",o[o.QUERY=2]="QUERY",o[o.RESULT=3]="RESULT",o))(Et||{});function at(e){return e.type===1}function ni(e){return e.type===2}function st(e){return e.type===3}function Pa({config:e,docs:t}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[ee("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=ee("search.config.separator"));let r={pipeline:ee("search.config.pipeline").split(/\s*,\s*/).filter(Boolean),suggestions:Z("search.suggest")};return{config:e,docs:t,options:r}}function oi(e,t){let n=de(),r=new Worker(e),o=new E,i=wo(r,{tx$:o}).pipe(p(a=>{if(st(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 oe(t).pipe(p(a=>({type:Et.SETUP,data:Pa(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function ii(){let e=de(),t=Le(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]}));K([t,n]).pipe(p(([r,o])=>new Map(r.filter(i=>i!==o).map(i=>[`${new URL(`../${i.version}/`,e.base)}`,i]))),S(r=>g(document.body,"click").pipe(_(o=>!o.metaKey&&!o.ctrlKey),S(o=>{if(o.target instanceof Element){let i=o.target.closest("a");if(i&&!i.target&&r.has(i.href))return o.preventDefault(),L(i.href)}return q}),S(o=>{let{version:i}=r.get(o);return lr(o).pipe(p(a=>{let c=xe().href.replace(e.base,"");return a.includes(c)?new URL(`../${i}/${c}`,e.base):new URL(o)}))})))).subscribe(r=>ir(r)),K([t,n]).subscribe(([r,o])=>{var a;if(W(".md-header__topic").appendChild(Co(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 re("outdated"))l.hidden=!1}})}function Wa(e,{rx$:t},{index$:n}){let r=(__search==null?void 0:__search.transform)||Xo,{searchParams:o}=xe();o.has("q")&&We("search",!0);let i=t.pipe(_(at),ie(1),p(()=>o.get("q")||""));i.subscribe(c=>{c&&(e.value=c)});let a=tr(e),s=H(g(e,"keyup"),g(e,"focus").pipe(Fe(1)),i).pipe(yt(n),p(({config:c})=>r(e.value,l=>{let u=[];return jr(l,c.separator,m=>{u.push(l.slice(...m))}),u})),B());return K([s,a]).pipe(p(([c,l])=>({value:c,focus:l})),J(1))}function ai(e,{tx$:t,rx$:n},r){let o=new E;return o.pipe(Y("value"),p(({value:i})=>({type:Et.QUERY,data:i}))).subscribe(t.next.bind(t)),o.pipe(Y("focus")).subscribe(({focus:i})=>{i?(We("search",i),e.placeholder=""):e.placeholder=ee("search.placeholder")}),g(e.form,"reset").pipe(Oe(o.pipe(Ee(1)))).subscribe(()=>e.focus()),Wa(e,{tx$:t,rx$:n},r).pipe(O(i=>o.next(i)),A(()=>o.complete()),p(i=>I({ref:e},i)),ce())}function si(e,{rx$:t},{query$:n}){let r=new E,o=io(e.parentElement).pipe(_(Boolean)),i=W(":scope > :first-child",e),a=W(":scope > :last-child",e),s=t.pipe(_(at),ie(1));return r.pipe(le(pe),fe(n),xt(s)).subscribe(([{items:l},{value:u}])=>{if(u)switch(l.length){case 0:i.textContent=ee("search.result.none");break;case 1:i.textContent=ee("search.result.one");break;default:i.textContent=ee("search.result.other",ar(l.length))}else i.textContent=ee("search.result.placeholder")}),r.pipe(le(pe),O(()=>a.innerHTML=""),S(({items:l})=>H(L(...l.slice(0,10)),L(...l.slice(10)).pipe(we(4),Rr(o),S(([u])=>L(...u))))),p(l=>{let u=Mo(l);return a.appendChild(u),ue("details",u)})).subscribe(l=>{l&&l.addEventListener("toggle",()=>{!l.open&&l.offsetTop<=e.parentElement.scrollTop&&(e.parentElement.scrollTop=l.offsetTop)})}),t.pipe(_(st),p(({data:l})=>l)).pipe(O(l=>r.next(l)),A(()=>r.complete()),p(l=>I({ref:e},l)))}function Ua(e,{query$:t}){return t.pipe(p(({value:n})=>{let r=xe();return r.hash="",r.searchParams.delete("h"),r.searchParams.set("q",n),{url:r}}))}function ci(e,t){let n=new E;return n.subscribe(({url:r})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${r}`}),g(e,"click").subscribe(r=>r.preventDefault()),Ua(e,t).pipe(O(r=>n.next(r)),A(()=>n.complete()),p(r=>I({ref:e},r)))}function li(e,{rx$:t},{keyboard$:n}){let r=new E,o=Ae("search-query"),i=H(g(o,"keydown"),g(o,"focus")).pipe(le(Ie),p(()=>o.value),B());return r.pipe(rt(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(_(({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(_(st),p(({data:s})=>s)).pipe(O(s=>r.next(s)),A(()=>r.complete()),p(()=>({ref:e})))}function ui(e,{index$:t,keyboard$:n}){let r=de();try{let o=(__search==null?void 0:__search.worker)||r.search,i=oi(o,t),a=Ae("search-query",e),s=Ae("search-result",e),{tx$:c,rx$:l}=i;c.pipe(_(ni),nt(l.pipe(_(at))),ie(1)).subscribe(c.next.bind(c)),n.pipe(_(({mode:f})=>f==="search")).subscribe(f=>{let h=Qe();switch(f.type){case"Enter":if(h===a){let v=new Map;for(let d of V(":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],[,X])=>X-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,...V(":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!==Qe()&&a.focus()}}),n.pipe(_(({mode:f})=>f==="global")).subscribe(f=>{switch(f.type){case"f":case"s":case"/":a.focus(),a.select(),f.claim();break}});let u=ai(a,i,{index$:t}),m=si(s,i,{query$:u});return H(u,m).pipe(qe(...re("search-share",e).map(f=>ci(f,{query$:u})),...re("search-suggest",e).map(f=>li(f,i,{keyboard$:n}))))}catch(o){return e.hidden=!0,ge}}function pi(e,{index$:t,location$:n}){return K([t,n.pipe(Q(xe()),_(r=>!!r.searchParams.get("h")))]).pipe(p(([r,o])=>ri(r.config)(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}=C("span",null,c);s.replaceWith(...Array.from(l))}return{ref:e,nodes:o}}))}function Va(e,{viewport$:t,main$:n}){let r=e.parentElement,o=r.offsetTop-r.parentElement.offsetTop;return K([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})),B((i,a)=>i.height===a.height&&i.locked===a.locked))}function zr(e,r){var o=r,{header$:t}=o,n=Mt(o,["header$"]);let i=W(".md-sidebar__scrollwrap",e),{y:a}=Pe(i);return F(()=>{let s=new E;return s.pipe(Ne(0,pe),fe(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=""}}),s.pipe(le(pe),ie(1)).subscribe(()=>{for(let c of V(".md-nav__link--active[href]",e)){let l=oo(c);if(typeof l!="undefined"){let u=c.offsetTop-l.offsetTop,{height:m}=Me(l);u-m+c.offsetHeight>0&&l.scrollTo(0,u-m/2)}}}),Va(e,n).pipe(O(c=>s.next(c)),A(()=>s.complete()),p(c=>I({ref:e},c)))})}function fi(e,t){if(typeof t!="undefined"){let n=`https://api.github.com/repos/${e}/${t}`;return ze(Le(`${n}/releases/latest`).pipe(p(r=>({version:r.tag_name})),He({})),Le(n).pipe(p(r=>({stars:r.stargazers_count,forks:r.forks_count})),He({}))).pipe(p(([r,o])=>I(I({},r),o)))}else{let n=`https://api.github.com/users/${e}`;return Le(n).pipe(p(r=>({repositories:r.public_repos})),He({}))}}function mi(e,t){let n=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Le(n).pipe(p(({star_count:r,forks_count:o})=>({stars:r,forks:o})),He({}))}function di(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,n,r]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return fi(n,r);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return mi(o,i);default:return q}}var Da;function za(e){return Da||(Da=F(()=>{let t=__md_get("__source",sessionStorage);return t?L(t):di(e.href).pipe(O(n=>__md_set("__source",n,sessionStorage)))}).pipe($e(()=>q),_(t=>Object.keys(t).length>0),p(t=>({facts:t})),J(1)))}function hi(e){let t=W(":scope > :last-child",e);return F(()=>{let n=new E;return n.subscribe(({facts:r})=>{t.appendChild(Lo(r)),t.setAttribute("data-md-state","done")}),za(e).pipe(O(r=>n.next(r)),A(()=>n.complete()),p(r=>I({ref:e},r)))})}function Na(e,{viewport$:t,header$:n}){return Te(document.body).pipe(S(()=>cr(e,{header$:n,viewport$:t})),p(({offset:{y:r}})=>({hidden:r>=10})),Y("hidden"))}function bi(e,t){return F(()=>{let n=new E;return n.subscribe({next({hidden:r}){r?e.setAttribute("data-md-state","hidden"):e.removeAttribute("data-md-state")},complete(){e.removeAttribute("data-md-state")}}),(Z("navigation.tabs.sticky")?L({hidden:!1}):Na(e,t)).pipe(O(r=>n.next(r)),A(()=>n.complete()),p(r=>I({ref:e},r)))})}function qa(e,{viewport$:t,header$:n}){let r=new Map,o=V("[href^=\\#]",e);for(let s of o){let c=decodeURIComponent(s.hash.substring(1)),l=ue(`[id="${c}"]`);typeof l!="undefined"&&r.set(s,l)}let i=n.pipe(p(s=>24+s.height));return Te(document.body).pipe(Y("height"),S(s=>F(()=>{let c=[];return L([...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))),S(c=>K([t,i]).pipe(kr(([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]]),B((l,u)=>l[0]===u[0]&&l[1]===u[1])))))).pipe(p(([s,c])=>({prev:s.map(([l])=>l),next:c.map(([l])=>l)})),Q({prev:[],next:[]}),we(2,1),p(([s,c])=>s.prev.length{let r=new E;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)}),Z("navigation.tracking")&&t.pipe(Oe(r.pipe(Ee(1))),gt(250),Y("offset"),fe(r)).subscribe(([,{prev:o}])=>{let i=xe(),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}`)}),qa(e,{viewport$:t,header$:n}).pipe(O(o=>r.next(o)),A(()=>r.complete()),p(o=>I({ref:e},o)))})}function Qa(e,{viewport$:t,main$:n}){let r=t.pipe(p(({offset:{y:i}})=>i),we(2,1),p(([i,a])=>i>a&&a),B()),o=n.pipe(Y("active"));return K([o,r]).pipe(p(([{active:i},a])=>({hidden:!(i&&a)})),B((i,a)=>i.hidden===a.hidden))}function gi(e,{viewport$:t,header$:n,main$:r}){let o=new E;return o.pipe(fe(n.pipe(Y("height")))).subscribe({next([{hidden:i},{height:a}]){e.style.top=`${a+16}px`,i?(e.setAttribute("data-md-state","hidden"),e.setAttribute("tabindex","-1"),e.blur()):(e.style.top="",e.removeAttribute("data-md-state"),e.removeAttribute("tabindex"))},complete(){e.style.top="",e.removeAttribute("data-md-state"),e.removeAttribute("tabindex")}}),Qa(e,{viewport$:t,header$:n,main$:r}).pipe(O(i=>o.next(i)),A(()=>o.complete()),p(i=>I({ref:e},i)))}function xi({document$:e,tablet$:t}){e.pipe(S(()=>L(...V("[data-md-state=indeterminate]"))),O(n=>{n.indeterminate=!0,n.checked=!1}),se(n=>g(n,"change").pipe(Fr(()=>n.hasAttribute("data-md-state")),G(n))),fe(t)).subscribe(([n,r])=>{n.removeAttribute("data-md-state"),r&&(n.checked=!1)})}function Ka(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function yi({document$:e}){e.pipe(S(()=>L(...V("[data-md-scrollfix]"))),O(t=>t.removeAttribute("data-md-scrollfix")),_(Ka),se(t=>g(t,"touchstart").pipe(G(t)))).subscribe(t=>{let n=t.scrollTop;n===0?t.scrollTop=1:n+t.offsetHeight===t.scrollHeight&&(t.scrollTop=n-1)})}function Si({viewport$:e,tablet$:t}){K([or("search"),t]).pipe(p(([n,r])=>n&&!r),S(n=>L(n).pipe(Fe(n?400:100),le(pe))),fe(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 ct=eo(),ur=co(),pr=fo(),Nr=so(),ye=So(),fr=sr("(min-width: 960px)"),wi=sr("(min-width: 1220px)"),Ei=sr("(hover)"),Oi=mo(),Ti=de(),_i=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||Le(new URL("search/search_index.json",Ti.base)):ge,qr=new E;Jo({alert$:qr});Z("navigation.instant")&&Go({document$:ct,location$:ur,viewport$:ye});var Li;((Li=Ti.version)==null?void 0:Li.provider)==="mike"&&ii();H(ur,pr).pipe(Fe(125)).subscribe(()=>{We("drawer",!1),We("search",!1)});Nr.pipe(_(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=ue("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let n=ue("[href][rel=next]");typeof n!="undefined"&&n.click();break}});xi({document$:ct,tablet$:fr});yi({document$:ct});Si({viewport$:ye,tablet$:fr});var Ue=qo(Ae("header"),{viewport$:ye}),mr=ct.pipe(p(()=>Ae("main")),S(e=>Yo(e,{viewport$:ye,header$:Ue})),J(1)),Ya=H(...re("consent").map(e=>Oo(e,{target$:pr})),...re("dialog").map(e=>No(e,{alert$:qr})),...re("header").map(e=>Qo(e,{viewport$:ye,header$:Ue,main$:mr})),...re("palette").map(e=>Bo(e)),...re("search").map(e=>ui(e,{index$:_i,keyboard$:Nr})),...re("source").map(e=>hi(e))),Ba=F(()=>H(...re("announce").map(e=>Eo(e)),...re("content").map(e=>zo(e,{target$:pr,hover$:Ei,print$:Oi})),...re("content").map(e=>Z("search.highlight")?pi(e,{index$:_i,location$:ur}):q),...re("header-title").map(e=>Ko(e,{viewport$:ye,header$:Ue})),...re("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?$r(wi,()=>zr(e,{viewport$:ye,header$:Ue,main$:mr})):$r(fr,()=>zr(e,{viewport$:ye,header$:Ue,main$:mr}))),...re("tabs").map(e=>bi(e,{viewport$:ye,header$:Ue})),...re("toc").map(e=>vi(e,{viewport$:ye,header$:Ue})),...re("top").map(e=>gi(e,{viewport$:ye,header$:Ue,main$:mr})))),Mi=ct.pipe(S(()=>Ba),qe(Ya),J(1));Mi.subscribe();window.document$=ct;window.location$=ur;window.target$=pr;window.keyboard$=Nr;window.viewport$=ye;window.tablet$=fr;window.screen$=wi;window.hover$=Ei;window.print$=Oi;window.alert$=qr;window.component$=Mi;})();