Files
aquasecurity-trivy/dev/assets/javascripts/bundle.bb4d2ab6.min.js

4 lines
86 KiB
JavaScript

(()=>{var la=Object.create;var Tt=Object.defineProperty;var pa=Object.getOwnPropertyDescriptor;var ua=Object.getOwnPropertyNames,Ot=Object.getOwnPropertySymbols,fa=Object.getPrototypeOf,lr=Object.prototype.hasOwnProperty,Br=Object.prototype.propertyIsEnumerable;var Yr=(e,t,o)=>t in e?Tt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,F=(e,t)=>{for(var o in t||(t={}))lr.call(t,o)&&Yr(e,o,t[o]);if(Ot)for(var o of Ot(t))Br.call(t,o)&&Yr(e,o,t[o]);return e};var ma=e=>Tt(e,"__esModule",{value:!0});var Jr=(e,t)=>{var o={};for(var r in e)lr.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&Ot)for(var r of Ot(e))t.indexOf(r)<0&&Br.call(e,r)&&(o[r]=e[r]);return o};var _t=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var da=(e,t,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of ua(t))!lr.call(e,r)&&r!=="default"&&Tt(e,r,{get:()=>t[r],enumerable:!(o=pa(t,r))||o.enumerable});return e},pt=e=>da(ma(Tt(e!=null?la(fa(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Xr=_t((pr,Gr)=>{(function(e,t){typeof pr=="object"&&typeof Gr!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(pr,function(){"use strict";function e(o){var r=!0,n=!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 c(_){return!!(_&&_!==document&&_.nodeName!=="HTML"&&_.nodeName!=="BODY"&&"classList"in _&&"contains"in _.classList)}function s(_){var De=_.type,Ae=_.tagName;return!!(Ae==="INPUT"&&a[De]&&!_.readOnly||Ae==="TEXTAREA"&&!_.readOnly||_.isContentEditable)}function l(_){_.classList.contains("focus-visible")||(_.classList.add("focus-visible"),_.setAttribute("data-focus-visible-added",""))}function p(_){!_.hasAttribute("data-focus-visible-added")||(_.classList.remove("focus-visible"),_.removeAttribute("data-focus-visible-added"))}function m(_){_.metaKey||_.altKey||_.ctrlKey||(c(o.activeElement)&&l(o.activeElement),r=!0)}function u(_){r=!1}function h(_){!c(_.target)||(r||s(_.target))&&l(_.target)}function v(_){!c(_.target)||(_.target.classList.contains("focus-visible")||_.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(i),i=window.setTimeout(function(){n=!1},100),p(_.target))}function d(_){document.visibilityState==="hidden"&&(n&&(r=!0),U())}function U(){document.addEventListener("mousemove",$),document.addEventListener("mousedown",$),document.addEventListener("mouseup",$),document.addEventListener("pointermove",$),document.addEventListener("pointerdown",$),document.addEventListener("pointerup",$),document.addEventListener("touchmove",$),document.addEventListener("touchstart",$),document.addEventListener("touchend",$)}function K(){document.removeEventListener("mousemove",$),document.removeEventListener("mousedown",$),document.removeEventListener("mouseup",$),document.removeEventListener("pointermove",$),document.removeEventListener("pointerdown",$),document.removeEventListener("pointerup",$),document.removeEventListener("touchmove",$),document.removeEventListener("touchstart",$),document.removeEventListener("touchend",$)}function $(_){_.target.nodeName&&_.target.nodeName.toLowerCase()==="html"||(r=!1,K())}document.addEventListener("keydown",m,!0),document.addEventListener("mousedown",u,!0),document.addEventListener("pointerdown",u,!0),document.addEventListener("touchstart",u,!0),document.addEventListener("visibilitychange",d,!0),U(),o.addEventListener("focus",h,!0),o.addEventListener("blur",v,!0),o.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&o.host?o.host.setAttribute("data-js-focus-visible",""):o.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(o){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var yo=_t((Ss,At)=>{var Zr,eo,to,ro,oo,no,io,ao,so,Mt,ur,co,lo,po,Be,uo,fo,mo,ho,bo,vo,xo,go,Lt;(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(o(t,o(r)))}):typeof At=="object"&&typeof At.exports=="object"?e(o(t,o(At.exports))):e(o(t));function o(r,n){return r!==t&&(typeof Object.create=="function"?Object.defineProperty(r,"__esModule",{value:!0}):r.__esModule=!0),function(i,a){return r[i]=n?n(i,a):a}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])};Zr=function(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(r,n);function i(){this.constructor=r}r.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)},eo=Object.assign||function(r){for(var n,i=1,a=arguments.length;i<a;i++){n=arguments[i];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(r[c]=n[c])}return r},to=function(r,n){var i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&n.indexOf(a)<0&&(i[a]=r[a]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(r);c<a.length;c++)n.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(r,a[c])&&(i[a[c]]=r[a[c]]);return i},ro=function(r,n,i,a){var c=arguments.length,s=c<3?n:a===null?a=Object.getOwnPropertyDescriptor(n,i):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,n,i,a);else for(var p=r.length-1;p>=0;p--)(l=r[p])&&(s=(c<3?l(s):c>3?l(n,i,s):l(n,i))||s);return c>3&&s&&Object.defineProperty(n,i,s),s},oo=function(r,n){return function(i,a){n(i,a,r)}},no=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},io=function(r,n,i,a){function c(s){return s instanceof i?s:new i(function(l){l(s)})}return new(i||(i=Promise))(function(s,l){function p(h){try{u(a.next(h))}catch(v){l(v)}}function m(h){try{u(a.throw(h))}catch(v){l(v)}}function u(h){h.done?s(h.value):c(h.value).then(p,m)}u((a=a.apply(r,n||[])).next())})},ao=function(r,n){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},a,c,s,l;return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(u){return function(h){return m([u,h])}}function m(u){if(a)throw new TypeError("Generator is already executing.");for(;i;)try{if(a=1,c&&(s=u[0]&2?c.return:u[0]?c.throw||((s=c.return)&&s.call(c),0):c.next)&&!(s=s.call(c,u[1])).done)return s;switch(c=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,c=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(s=i.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){i=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){i.label=u[1];break}if(u[0]===6&&i.label<s[1]){i.label=s[1],s=u;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(u);break}s[2]&&i.ops.pop(),i.trys.pop();continue}u=n.call(r,i)}catch(h){u=[6,h],c=0}finally{a=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},so=function(r,n){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(n,i)&&Lt(n,r,i)},Lt=Object.create?function(r,n,i,a){a===void 0&&(a=i),Object.defineProperty(r,a,{enumerable:!0,get:function(){return n[i]}})}:function(r,n,i,a){a===void 0&&(a=i),r[a]=n[i]},Mt=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,i=n&&r[n],a=0;if(i)return i.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&a>=r.length&&(r=void 0),{value:r&&r[a++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},ur=function(r,n){var i=typeof Symbol=="function"&&r[Symbol.iterator];if(!i)return r;var a=i.call(r),c,s=[],l;try{for(;(n===void 0||n-- >0)&&!(c=a.next()).done;)s.push(c.value)}catch(p){l={error:p}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(l)throw l.error}}return s},co=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(ur(arguments[n]));return r},lo=function(){for(var r=0,n=0,i=arguments.length;n<i;n++)r+=arguments[n].length;for(var a=Array(r),c=0,n=0;n<i;n++)for(var s=arguments[n],l=0,p=s.length;l<p;l++,c++)a[c]=s[l];return a},po=function(r,n){for(var i=0,a=n.length,c=r.length;i<a;i++,c++)r[c]=n[i];return r},Be=function(r){return this instanceof Be?(this.v=r,this):new Be(r)},uo=function(r,n,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=i.apply(r,n||[]),c,s=[];return c={},l("next"),l("throw"),l("return"),c[Symbol.asyncIterator]=function(){return this},c;function l(d){a[d]&&(c[d]=function(U){return new Promise(function(K,$){s.push([d,U,K,$])>1||p(d,U)})})}function p(d,U){try{m(a[d](U))}catch(K){v(s[0][3],K)}}function m(d){d.value instanceof Be?Promise.resolve(d.value.v).then(u,h):v(s[0][2],d)}function u(d){p("next",d)}function h(d){p("throw",d)}function v(d,U){d(U),s.shift(),s.length&&p(s[0][0],s[0][1])}},fo=function(r){var n,i;return n={},a("next"),a("throw",function(c){throw c}),a("return"),n[Symbol.iterator]=function(){return this},n;function a(c,s){n[c]=r[c]?function(l){return(i=!i)?{value:Be(r[c](l)),done:c==="return"}:s?s(l):l}:s}},mo=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],i;return n?n.call(r):(r=typeof Mt=="function"?Mt(r):r[Symbol.iterator](),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(s){i[s]=r[s]&&function(l){return new Promise(function(p,m){l=r[s](l),c(p,m,l.done,l.value)})}}function c(s,l,p,m){Promise.resolve(m).then(function(u){s({value:u,done:p})},l)}},ho=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r};var o=Object.create?function(r,n){Object.defineProperty(r,"default",{enumerable:!0,value:n})}:function(r,n){r.default=n};bo=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var i in r)i!=="default"&&Object.prototype.hasOwnProperty.call(r,i)&&Lt(n,r,i);return o(n,r),n},vo=function(r){return r&&r.__esModule?r:{default:r}},xo=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},go=function(r,n,i){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,i),i},e("__extends",Zr),e("__assign",eo),e("__rest",to),e("__decorate",ro),e("__param",oo),e("__metadata",no),e("__awaiter",io),e("__generator",ao),e("__exportStar",so),e("__createBinding",Lt),e("__values",Mt),e("__read",ur),e("__spread",co),e("__spreadArrays",lo),e("__spreadArray",po),e("__await",Be),e("__asyncGenerator",uo),e("__asyncDelegator",fo),e("__asyncValues",mo),e("__makeTemplateObject",ho),e("__importStar",bo),e("__importDefault",vo),e("__classPrivateFieldGet",xo),e("__classPrivateFieldSet",go)})});var $r=_t((wt,Pr)=>{(function(t,o){typeof wt=="object"&&typeof Pr=="object"?Pr.exports=o():typeof define=="function"&&define.amd?define([],o):typeof wt=="object"?wt.ClipboardJS=o():t.ClipboardJS=o()})(wt,function(){return function(){var e={134:function(r,n,i){"use strict";i.d(n,{default:function(){return sa}});var a=i(279),c=i.n(a),s=i(370),l=i.n(s),p=i(817),m=i.n(p);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 h(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function v(k,x){for(var b=0;b<x.length;b++){var j=x[b];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(k,j.key,j)}}function d(k,x,b){return x&&v(k.prototype,x),b&&v(k,b),k}var U=function(){function k(x){h(this,k),this.resolveOptions(x),this.initSelection()}return d(k,[{key:"resolveOptions",value:function(){var b=arguments.length>0&&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&&u(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}(),K=U;function $(k){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(b){return typeof b}:$=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},$(k)}function _(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function De(k,x){for(var b=0;b<x.length;b++){var j=x[b];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(k,j.key,j)}}function Ae(k,x,b){return x&&De(k.prototype,x),b&&De(k,b),k}function Ke(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),x&&sr(k,x)}function sr(k,x){return sr=Object.setPrototypeOf||function(j,W){return j.__proto__=W,j},sr(k,x)}function ra(k){var x=ia();return function(){var j=Et(k),W;if(x){var ne=Et(this).constructor;W=Reflect.construct(j,arguments,ne)}else W=j.apply(this,arguments);return oa(this,W)}}function oa(k,x){return x&&($(x)==="object"||typeof x=="function")?x:na(k)}function na(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function ia(){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(k){return!1}}function Et(k){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},Et(k)}function cr(k,x){var b="data-clipboard-".concat(k);if(!!x.hasAttribute(b))return x.getAttribute(b)}var aa=function(k){Ke(b,k);var x=ra(b);function b(j,W){var ne;return _(this,b),ne=x.call(this),ne.resolveOptions(W),ne.listenClick(j),ne}return Ae(b,[{key:"resolveOptions",value:function(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof W.action=="function"?W.action:this.defaultAction,this.target=typeof W.target=="function"?W.target:this.defaultTarget,this.text=typeof W.text=="function"?W.text:this.defaultText,this.container=$(W.container)==="object"?W.container:document.body}},{key:"listenClick",value:function(W){var ne=this;this.listener=l()(W,"click",function(lt){return ne.onClick(lt)})}},{key:"onClick",value:function(W){var ne=W.delegateTarget||W.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new K({action:this.action(ne),target:this.target(ne),text:this.text(ne),container:this.container,trigger:ne,emitter:this})}},{key:"defaultAction",value:function(W){return cr("action",W)}},{key:"defaultTarget",value:function(W){var ne=cr("target",W);if(ne)return document.querySelector(ne)}},{key:"defaultText",value:function(W){return cr("text",W)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],ne=typeof W=="string"?[W]:W,lt=!!document.queryCommandSupported;return ne.forEach(function(ca){lt=lt&&!!document.queryCommandSupported(ca)}),lt}}]),b}(c()),sa=aa},828:function(r){var n=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(c,s){for(;c&&c.nodeType!==n;){if(typeof c.matches=="function"&&c.matches(s))return c;c=c.parentNode}}r.exports=a},438:function(r,n,i){var a=i(828);function c(p,m,u,h,v){var d=l.apply(this,arguments);return p.addEventListener(u,d,v),{destroy:function(){p.removeEventListener(u,d,v)}}}function s(p,m,u,h,v){return typeof p.addEventListener=="function"?c.apply(null,arguments):typeof u=="function"?c.bind(null,document).apply(null,arguments):(typeof p=="string"&&(p=document.querySelectorAll(p)),Array.prototype.map.call(p,function(d){return c(d,m,u,h,v)}))}function l(p,m,u,h){return function(v){v.delegateTarget=a(v.target,m),v.delegateTarget&&h.call(p,v)}}r.exports=s},879:function(r,n){n.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},n.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||n.node(i[0]))},n.string=function(i){return typeof i=="string"||i instanceof String},n.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(r,n,i){var a=i(879),c=i(438);function s(u,h,v){if(!u&&!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(u))return l(u,h,v);if(a.nodeList(u))return p(u,h,v);if(a.string(u))return m(u,h,v);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function l(u,h,v){return u.addEventListener(h,v),{destroy:function(){u.removeEventListener(h,v)}}}function p(u,h,v){return Array.prototype.forEach.call(u,function(d){d.addEventListener(h,v)}),{destroy:function(){Array.prototype.forEach.call(u,function(d){d.removeEventListener(h,v)})}}}function m(u,h,v){return c(document.body,u,h,v)}r.exports=s},817:function(r){function n(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var c=i.hasAttribute("readonly");c||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),c||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var s=window.getSelection(),l=document.createRange();l.selectNodeContents(i),s.removeAllRanges(),s.addRange(l),a=s.toString()}return a}r.exports=n},279:function(r){function n(){}n.prototype={on:function(i,a,c){var s=this.e||(this.e={});return(s[i]||(s[i]=[])).push({fn:a,ctx:c}),this},once:function(i,a,c){var s=this;function l(){s.off(i,l),a.apply(c,arguments)}return l._=a,this.on(i,l,c)},emit:function(i){var a=[].slice.call(arguments,1),c=((this.e||(this.e={}))[i]||[]).slice(),s=0,l=c.length;for(s;s<l;s++)c[s].fn.apply(c[s].ctx,a);return this},off:function(i,a){var c=this.e||(this.e={}),s=c[i],l=[];if(s&&a)for(var p=0,m=s.length;p<m;p++)s[p].fn!==a&&s[p].fn._!==a&&l.push(s[p]);return l.length?c[i]=l:delete c[i],this}},r.exports=n,r.exports.TinyEmitter=n}},t={};function o(r){if(t[r])return t[r].exports;var n=t[r]={exports:{}};return e[r](n,n.exports,o),n.exports}return function(){o.n=function(r){var n=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(n,{a:n}),n}}(),function(){o.d=function(r,n){for(var i in n)o.o(n,i)&&!o.o(r,i)&&Object.defineProperty(r,i,{enumerable:!0,get:n[i]})}}(),function(){o.o=function(r,n){return Object.prototype.hasOwnProperty.call(r,n)}}(),o(134)}().default})});var Li=_t((MS,Mi)=>{"use strict";var as=/["'&<>]/;Mi.exports=ss;function ss(e){var t=""+e,o=as.exec(t);if(!o)return t;var r,n="",i=0,a=0;for(i=o.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}a!==i&&(n+=t.substring(a,i)),a=i+1,n+=r}return a!==i?n+t.substring(a,i):n}});var hO=pt(Xr());var So=pt(yo()),{__extends:Z,__assign:ws,__rest:Es,__decorate:Ts,__param:Os,__metadata:_s,__awaiter:wo,__generator:kt,__exportStar:Ms,__createBinding:Ls,__values:fe,__read:R,__spread:As,__spreadArrays:ks,__spreadArray:I,__await:Ct,__asyncGenerator:Eo,__asyncDelegator:Cs,__asyncValues:To,__makeTemplateObject:Hs,__importStar:js,__importDefault:Rs,__classPrivateFieldGet:Fs,__classPrivateFieldSet:Is}=So.default;function w(e){return typeof e=="function"}function Ht(e){var t=function(r){Error.call(r),r.stack=new Error().stack},o=e(t);return o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,o}var jt=Ht(function(e){return function(o){e(this),this.message=o?o.length+` errors occurred during unsubscription:
`+o.map(function(r,n){return n+1+") "+r.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=o}});function ke(e,t){if(e){var o=e.indexOf(t);0<=o&&e.splice(o,1)}}var pe=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var t,o,r,n,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var c=fe(a),s=c.next();!s.done;s=c.next()){var l=s.value;l.remove(this)}}catch(d){t={error:d}}finally{try{s&&!s.done&&(o=c.return)&&o.call(c)}finally{if(t)throw t.error}}else a.remove(this);var p=this.initialTeardown;if(w(p))try{p()}catch(d){i=d instanceof jt?d.errors:[d]}var m=this._teardowns;if(m){this._teardowns=null;try{for(var u=fe(m),h=u.next();!h.done;h=u.next()){var v=h.value;try{Oo(v)}catch(d){i=i!=null?i:[],d instanceof jt?i=I(I([],R(i)),R(d.errors)):i.push(d)}}}catch(d){r={error:d}}finally{try{h&&!h.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}if(i)throw new jt(i)}},e.prototype.add=function(t){var o;if(t&&t!==this)if(this.closed)Oo(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=(o=this._teardowns)!==null&&o!==void 0?o:[]).push(t)}},e.prototype._hasParent=function(t){var o=this._parentage;return o===t||Array.isArray(o)&&o.includes(t)},e.prototype._addParent=function(t){var o=this._parentage;this._parentage=Array.isArray(o)?(o.push(t),o):o?[o,t]:t},e.prototype._removeParent=function(t){var o=this._parentage;o===t?this._parentage=null:Array.isArray(o)&&ke(o,t)},e.prototype.remove=function(t){var o=this._teardowns;o&&ke(o,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var fr=pe.EMPTY;function Rt(e){return e instanceof pe||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function Oo(e){w(e)?e():e.unsubscribe()}var ge={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ye={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=Ye.delegate;return((o==null?void 0:o.setTimeout)||setTimeout).apply(void 0,I([],R(e)))},clearTimeout:function(e){var t=Ye.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ft(e){Ye.setTimeout(function(){var t=ge.onUnhandledError;if(t)t(e);else throw e})}function se(){}var _o=function(){return mr("C",void 0,void 0)}();function Mo(e){return mr("E",void 0,e)}function Lo(e){return mr("N",e,void 0)}function mr(e,t,o){return{kind:e,value:t,error:o}}var ze=null;function Je(e){if(ge.useDeprecatedSynchronousErrorHandling){var t=!ze;if(t&&(ze={errorThrown:!1,error:null}),e(),t){var o=ze,r=o.errorThrown,n=o.error;if(ze=null,r)throw n}}else e()}function Ao(e){ge.useDeprecatedSynchronousErrorHandling&&ze&&(ze.errorThrown=!0,ze.error=e)}var ut=function(e){Z(t,e);function t(o){var r=e.call(this)||this;return r.isStopped=!1,o?(r.destination=o,Rt(o)&&o.add(r)):r.destination=ha,r}return t.create=function(o,r,n){return new ft(o,r,n)},t.prototype.next=function(o){this.isStopped?hr(Lo(o),this):this._next(o)},t.prototype.error=function(o){this.isStopped?hr(Mo(o),this):(this.isStopped=!0,this._error(o))},t.prototype.complete=function(){this.isStopped?hr(_o,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(o){this.destination.next(o)},t.prototype._error=function(o){try{this.destination.error(o)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(pe);var ft=function(e){Z(t,e);function t(o,r,n){var i=e.call(this)||this,a;if(w(o))a=o;else if(o){a=o.next,r=o.error,n=o.complete;var c;i&&ge.useDeprecatedNextContext?(c=Object.create(o),c.unsubscribe=function(){return i.unsubscribe()}):c=o,a=a==null?void 0:a.bind(c),r=r==null?void 0:r.bind(c),n=n==null?void 0:n.bind(c)}return i.destination={next:a?dr(a,i):se,error:dr(r!=null?r:ko,i),complete:n?dr(n,i):se},i}return t}(ut);function dr(e,t){return function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];try{e.apply(void 0,I([],R(o)))}catch(n){ge.useDeprecatedSynchronousErrorHandling?Ao(n):Ft(n)}}}function ko(e){throw e}function hr(e,t){var o=ge.onStoppedNotification;o&&Ye.setTimeout(function(){return o(e,t)})}var ha={closed:!0,next:se,error:ko,complete:se};var Fe=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function me(e){return e}function Co(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return br(e)}function br(e){return e.length===0?me:e.length===1?e[0]:function(o){return e.reduce(function(r,n){return n(r)},o)}}var C=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var o=new e;return o.source=this,o.operator=t,o},e.prototype.subscribe=function(t,o,r){var n=this,i=va(t)?t:new ft(t,o,r);return Je(function(){var a=n,c=a.operator,s=a.source;i.add(c?c.call(i,s):s?n._subscribe(i):n._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(o){t.error(o)}},e.prototype.forEach=function(t,o){var r=this;return o=Ho(o),new o(function(n,i){var a;a=r.subscribe(function(c){try{t(c)}catch(s){i(s),a==null||a.unsubscribe()}},i,n)})},e.prototype._subscribe=function(t){var o;return(o=this.source)===null||o===void 0?void 0:o.subscribe(t)},e.prototype[Fe]=function(){return this},e.prototype.pipe=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return br(t)(this)},e.prototype.toPromise=function(t){var o=this;return t=Ho(t),new t(function(r,n){var i;o.subscribe(function(a){return i=a},function(a){return n(a)},function(){return r(i)})})},e.create=function(t){return new e(t)},e}();function Ho(e){var t;return(t=e!=null?e:ge.Promise)!==null&&t!==void 0?t:Promise}function ba(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function va(e){return e&&e instanceof ut||ba(e)&&Rt(e)}function xa(e){return w(e==null?void 0:e.lift)}function y(e){return function(t){if(xa(t))return t.lift(function(o){try{return e(o,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}var E=function(e){Z(t,e);function t(o,r,n,i,a){var c=e.call(this,o)||this;return c.onFinalize=a,c._next=r?function(s){try{r(s)}catch(l){o.error(l)}}:e.prototype._next,c._error=i?function(s){try{i(s)}catch(l){o.error(l)}finally{this.unsubscribe()}}:e.prototype._error,c._complete=n?function(){try{n()}catch(s){o.error(s)}finally{this.unsubscribe()}}:e.prototype._complete,c}return t.prototype.unsubscribe=function(){var o,r=this.closed;e.prototype.unsubscribe.call(this),!r&&((o=this.onFinalize)===null||o===void 0||o.call(this))},t}(ut);var Ge={schedule:function(e){var t=requestAnimationFrame,o=cancelAnimationFrame,r=Ge.delegate;r&&(t=r.requestAnimationFrame,o=r.cancelAnimationFrame);var n=t(function(i){o=void 0,e(i)});return new pe(function(){return o==null?void 0:o(n)})},requestAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=Ge.delegate;return((o==null?void 0:o.requestAnimationFrame)||requestAnimationFrame).apply(void 0,I([],R(e)))},cancelAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=Ge.delegate;return((o==null?void 0:o.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,I([],R(e)))},delegate:void 0};var jo=Ht(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var T=function(e){Z(t,e);function t(){var o=e.call(this)||this;return o.closed=!1,o.observers=[],o.isStopped=!1,o.hasError=!1,o.thrownError=null,o}return t.prototype.lift=function(o){var r=new Ro(this,this);return r.operator=o,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new jo},t.prototype.next=function(o){var r=this;Je(function(){var n,i;if(r._throwIfClosed(),!r.isStopped){var a=r.observers.slice();try{for(var c=fe(a),s=c.next();!s.done;s=c.next()){var l=s.value;l.next(o)}}catch(p){n={error:p}}finally{try{s&&!s.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}})},t.prototype.error=function(o){var r=this;Je(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=o;for(var n=r.observers;n.length;)n.shift().error(o)}})},t.prototype.complete=function(){var o=this;Je(function(){if(o._throwIfClosed(),!o.isStopped){o.isStopped=!0;for(var r=o.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var o;return((o=this.observers)===null||o===void 0?void 0:o.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(o){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,o)},t.prototype._subscribe=function(o){return this._throwIfClosed(),this._checkFinalizedStatuses(o),this._innerSubscribe(o)},t.prototype._innerSubscribe=function(o){var r=this,n=r.hasError,i=r.isStopped,a=r.observers;return n||i?fr:(a.push(o),new pe(function(){return ke(a,o)}))},t.prototype._checkFinalizedStatuses=function(o){var r=this,n=r.hasError,i=r.thrownError,a=r.isStopped;n?o.error(i):a&&o.complete()},t.prototype.asObservable=function(){var o=new C;return o.source=this,o},t.create=function(o,r){return new Ro(o,r)},t}(C);var Ro=function(e){Z(t,e);function t(o,r){var n=e.call(this)||this;return n.destination=o,n.source=r,n}return t.prototype.next=function(o){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,o)},t.prototype.error=function(o){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,o)},t.prototype.complete=function(){var o,r;(r=(o=this.destination)===null||o===void 0?void 0:o.complete)===null||r===void 0||r.call(o)},t.prototype._subscribe=function(o){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(o))!==null&&n!==void 0?n:fr},t}(T);var mt={now:function(){return(mt.delegate||Date).now()},delegate:void 0};var dt=function(e){Z(t,e);function t(o,r,n){o===void 0&&(o=1/0),r===void 0&&(r=1/0),n===void 0&&(n=mt);var i=e.call(this)||this;return i._bufferSize=o,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,o),i._windowTime=Math.max(1,r),i}return t.prototype.next=function(o){var r=this,n=r.isStopped,i=r._buffer,a=r._infiniteTimeWindow,c=r._timestampProvider,s=r._windowTime;n||(i.push(o),!a&&i.push(c.now()+s)),this._trimBuffer(),e.prototype.next.call(this,o)},t.prototype._subscribe=function(o){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(o),n=this,i=n._infiniteTimeWindow,a=n._buffer,c=a.slice(),s=0;s<c.length&&!o.closed;s+=i?1:2)o.next(c[s]);return this._checkFinalizedStatuses(o),r},t.prototype._trimBuffer=function(){var o=this,r=o._bufferSize,n=o._timestampProvider,i=o._buffer,a=o._infiniteTimeWindow,c=(a?1:2)*r;if(r<1/0&&c<i.length&&i.splice(0,i.length-c),!a){for(var s=n.now(),l=0,p=1;p<i.length&&i[p]<=s;p+=2)l=p;l&&i.splice(0,l+1)}},t}(T);var Fo=function(e){Z(t,e);function t(o,r){return e.call(this)||this}return t.prototype.schedule=function(o,r){return r===void 0&&(r=0),this},t}(pe);var ht={setInterval:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=ht.delegate;return((o==null?void 0:o.setInterval)||setInterval).apply(void 0,I([],R(e)))},clearInterval:function(e){var t=ht.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var It=function(e){Z(t,e);function t(o,r){var n=e.call(this,o,r)||this;return n.scheduler=o,n.work=r,n.pending=!1,n}return t.prototype.schedule=function(o,r){if(r===void 0&&(r=0),this.closed)return this;this.state=o;var n=this.id,i=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(i,n,r)),this.pending=!0,this.delay=r,this.id=this.id||this.requestAsyncId(i,this.id,r),this},t.prototype.requestAsyncId=function(o,r,n){return n===void 0&&(n=0),ht.setInterval(o.flush.bind(o,this),n)},t.prototype.recycleAsyncId=function(o,r,n){if(n===void 0&&(n=0),n!=null&&this.delay===n&&this.pending===!1)return r;ht.clearInterval(r)},t.prototype.execute=function(o,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(o,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(o,r){var n=!1,i;try{this.work(o)}catch(a){n=!0,i=!!a&&a||new Error(a)}if(n)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var o=this,r=o.id,n=o.scheduler,i=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,ke(i,this),r!=null&&(this.id=this.recycleAsyncId(n,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Fo);var vr=function(){function e(t,o){o===void 0&&(o=e.now),this.schedulerActionCtor=t,this.now=o}return e.prototype.schedule=function(t,o,r){return o===void 0&&(o=0),new this.schedulerActionCtor(this,t).schedule(r,o)},e.now=mt.now,e}();var Pt=function(e){Z(t,e);function t(o,r){r===void 0&&(r=vr.now);var n=e.call(this,o,r)||this;return n.actions=[],n._active=!1,n._scheduled=void 0,n}return t.prototype.flush=function(o){var r=this.actions;if(this._active){r.push(o);return}var n;this._active=!0;do if(n=o.execute(o.state,o.delay))break;while(o=r.shift());if(this._active=!1,n){for(;o=r.shift();)o.unsubscribe();throw n}},t}(vr);var Ie=new Pt(It),xr=Ie;var Io=function(e){Z(t,e);function t(o,r){var n=e.call(this,o,r)||this;return n.scheduler=o,n.work=r,n}return t.prototype.requestAsyncId=function(o,r,n){return n===void 0&&(n=0),n!==null&&n>0?e.prototype.requestAsyncId.call(this,o,r,n):(o.actions.push(this),o._scheduled||(o._scheduled=Ge.requestAnimationFrame(function(){return o.flush(void 0)})))},t.prototype.recycleAsyncId=function(o,r,n){if(n===void 0&&(n=0),n!=null&&n>0||n==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,o,r,n);o.actions.length===0&&(Ge.cancelAnimationFrame(r),o._scheduled=void 0)},t}(It);var Po=function(e){Z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(o){this._active=!0,this._scheduled=void 0;var r=this.actions,n,i=-1;o=o||r.shift();var a=r.length;do if(n=o.execute(o.state,o.delay))break;while(++i<a&&(o=r.shift()));if(this._active=!1,n){for(;++i<a&&(o=r.shift());)o.unsubscribe();throw n}},t}(Pt);var B=new Po(Io);var ye=new C(function(e){return e.complete()});function Xe(e,t){return new C(function(o){var r=0;return t.schedule(function(){r===e.length?o.complete():(o.next(e[r++]),o.closed||this.schedule())})})}var Ze=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function $t(e){return w(e==null?void 0:e.then)}function $o(e,t){return new C(function(o){var r=new pe;return r.add(t.schedule(function(){var n=e[Fe]();r.add(n.subscribe({next:function(i){r.add(t.schedule(function(){return o.next(i)}))},error:function(i){r.add(t.schedule(function(){return o.error(i)}))},complete:function(){r.add(t.schedule(function(){return o.complete()}))}}))})),r})}function Wo(e,t){return new C(function(o){return t.schedule(function(){return e.then(function(r){o.add(t.schedule(function(){o.next(r),o.add(t.schedule(function(){return o.complete()}))}))},function(r){o.add(t.schedule(function(){return o.error(r)}))})})})}function ga(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Wt=ga();function Uo(e,t,o,r){r===void 0&&(r=0);var n=t.schedule(function(){try{o.call(this)}catch(i){e.error(i)}},r);return e.add(n),n}function Vo(e,t){return new C(function(o){var r;return o.add(t.schedule(function(){r=e[Wt](),Uo(o,t,function(){var n=r.next(),i=n.value,a=n.done;a?o.complete():(o.next(i),this.schedule())})})),function(){return w(r==null?void 0:r.return)&&r.return()}})}function Ut(e,t){if(!e)throw new Error("Iterable cannot be null");return new C(function(o){var r=new pe;return r.add(t.schedule(function(){var n=e[Symbol.asyncIterator]();r.add(t.schedule(function(){var i=this;n.next().then(function(a){a.done?o.complete():(o.next(a.value),i.schedule())})}))})),r})}function Vt(e){return w(e[Fe])}function Dt(e){return w(e==null?void 0:e[Wt])}function zt(e){return Symbol.asyncIterator&&w(e==null?void 0:e[Symbol.asyncIterator])}function Nt(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 qt(e){return Eo(this,arguments,function(){var o,r,n,i;return kt(this,function(a){switch(a.label){case 0:o=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,Ct(o.read())];case 3:return r=a.sent(),n=r.value,i=r.done,i?[4,Ct(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,Ct(n)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return o.releaseLock(),[7];case 10:return[2]}})})}function Qt(e){return w(e==null?void 0:e.getReader)}function Do(e,t){return Ut(qt(e),t)}function zo(e,t){if(e!=null){if(Vt(e))return $o(e,t);if(Ze(e))return Xe(e,t);if($t(e))return Wo(e,t);if(zt(e))return Ut(e,t);if(Dt(e))return Vo(e,t);if(Qt(e))return Do(e,t)}throw Nt(e)}function Te(e,t){return t?zo(e,t):Y(e)}function Y(e){if(e instanceof C)return e;if(e!=null){if(Vt(e))return ya(e);if(Ze(e))return gr(e);if($t(e))return Sa(e);if(zt(e))return No(e);if(Dt(e))return wa(e);if(Qt(e))return Ea(e)}throw Nt(e)}function ya(e){return new C(function(t){var o=e[Fe]();if(w(o.subscribe))return o.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function gr(e){return new C(function(t){for(var o=0;o<e.length&&!t.closed;o++)t.next(e[o]);t.complete()})}function Sa(e){return new C(function(t){e.then(function(o){t.closed||(t.next(o),t.complete())},function(o){return t.error(o)}).then(null,Ft)})}function wa(e){return new C(function(t){var o,r;try{for(var n=fe(e),i=n.next();!i.done;i=n.next()){var a=i.value;if(t.next(a),t.closed)return}}catch(c){o={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}t.complete()})}function No(e){return new C(function(t){Ta(e,t).catch(function(o){return t.error(o)})})}function Ea(e){return No(qt(e))}function Ta(e,t){var o,r,n,i;return wo(this,void 0,void 0,function(){var a,c;return kt(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),o=To(e),s.label=1;case 1:return[4,o.next()];case 2:if(r=s.sent(),!!r.done)return[3,4];if(a=r.value,t.next(a),t.closed)return[2];s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=s.sent(),n={error:c},[3,11];case 6:return s.trys.push([6,,9,10]),r&&!r.done&&(i=o.return)?[4,i.call(o)]:[3,8];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(n)throw n.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function Oe(e,t){return t?Xe(e,t):gr(e)}function Kt(e){return e&&w(e.schedule)}function yr(e){return e[e.length-1]}function Pe(e){return w(yr(e))?e.pop():void 0}function ve(e){return Kt(yr(e))?e.pop():void 0}function Bt(e,t){return typeof yr(e)=="number"?e.pop():t}function M(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=ve(e);return o?Xe(e,o):Oe(e)}function Sr(e,t){var o=w(e)?e:function(){return e},r=function(n){return n.error(o())};return new C(t?function(n){return t.schedule(r,0,n)}:r)}function qo(e){return e instanceof Date&&!isNaN(e)}function f(e,t){return y(function(o,r){var n=0;o.subscribe(new E(r,function(i){r.next(e.call(t,i,n++))}))})}var Oa=Array.isArray;function _a(e,t){return Oa(t)?e.apply(void 0,I([],R(t))):e(t)}function $e(e){return f(function(t){return _a(e,t)})}function N(e,t){return t===void 0&&(t=0),y(function(o,r){o.subscribe(new E(r,function(n){return r.add(e.schedule(function(){return r.next(n)},t))},function(){return r.add(e.schedule(function(){return r.complete()},t))},function(n){return r.add(e.schedule(function(){return r.error(n)},t))}))})}var Ma=Array.isArray,La=Object.getPrototypeOf,Aa=Object.prototype,ka=Object.keys;function Qo(e){if(e.length===1){var t=e[0];if(Ma(t))return{args:t,keys:null};if(Ca(t)){var o=ka(t);return{args:o.map(function(r){return t[r]}),keys:o}}}return{args:e,keys:null}}function Ca(e){return e&&typeof e=="object"&&La(e)===Aa}function Ko(e,t){return e.reduce(function(o,r,n){return o[r]=t[n],o},{})}function q(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=ve(e),r=Pe(e),n=Qo(e),i=n.args,a=n.keys;if(i.length===0)return Te([],o);var c=new C(wr(i,o,a?function(s){return Ko(a,s)}:me));return r?c.pipe($e(r)):c}function wr(e,t,o){return o===void 0&&(o=me),function(r){Bo(t,function(){for(var n=e.length,i=new Array(n),a=n,c=n,s=function(p){Bo(t,function(){var m=Te(e[p],t),u=!1;m.subscribe(new E(r,function(h){i[p]=h,u||(u=!0,c--),c||r.next(o(i.slice()))},function(){--a||r.complete()}))},r)},l=0;l<n;l++)s(l)},r)}}function Bo(e,t,o){e?o.add(e.schedule(t)):t()}function Yo(e,t,o,r,n,i,a,c){var s=[],l=0,p=0,m=!1,u=function(){m&&!s.length&&!l&&t.complete()},h=function(d){return l<r?v(d):s.push(d)},v=function(d){i&&t.next(d),l++;var U=!1;Y(o(d,p++)).subscribe(new E(t,function(K){n==null||n(K),i?h(K):t.next(K)},function(){U=!0},void 0,function(){if(U)try{l--;for(var K=function(){var $=s.shift();a?t.add(a.schedule(function(){return v($)})):v($)};s.length&&l<r;)K();u()}catch($){t.error($)}}))};return e.subscribe(new E(t,h,function(){m=!0,u()})),function(){c==null||c()}}function ee(e,t,o){return o===void 0&&(o=1/0),w(t)?ee(function(r,n){return f(function(i,a){return t(r,i,n,a)})(Y(e(r,n)))},o):(typeof t=="number"&&(o=t),y(function(r,n){return Yo(r,n,e,o)}))}function et(e){return e===void 0&&(e=1/0),ee(me,e)}function Jo(){return et(1)}function bt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Jo()(Oe(e,ve(e)))}function de(e){return new C(function(t){Y(e()).subscribe(t)})}var Ha=["addListener","removeListener"],ja=["addEventListener","removeEventListener"],Ra=["on","off"];function S(e,t,o,r){if(w(o)&&(r=o,o=void 0),r)return S(e,t,o).pipe($e(r));var n=R(Pa(e)?ja.map(function(c){return function(s){return e[c](t,s,o)}}):Fa(e)?Ha.map(Go(e,t)):Ia(e)?Ra.map(Go(e,t)):[],2),i=n[0],a=n[1];if(!i&&Ze(e))return ee(function(c){return S(c,t,o)})(Oe(e));if(!i)throw new TypeError("Invalid event target");return new C(function(c){var s=function(){for(var l=[],p=0;p<arguments.length;p++)l[p]=arguments[p];return c.next(1<l.length?l:l[0])};return i(s),function(){return a(s)}})}function Go(e,t){return function(o){return function(r){return e[o](t,r)}}}function Fa(e){return w(e.addListener)&&w(e.removeListener)}function Ia(e){return w(e.on)&&w(e.off)}function Pa(e){return w(e.addEventListener)&&w(e.removeEventListener)}function Yt(e,t,o){return o?Yt(e,t).pipe($e(o)):new C(function(r){var n=function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];return r.next(a.length===1?a[0]:a)},i=e(n);return w(t)?function(){return t(n,i)}:void 0})}function Xo(e,t,o){e===void 0&&(e=0),o===void 0&&(o=xr);var r=-1;return t!=null&&(Kt(t)?o=t:r=t),new C(function(n){var i=qo(e)?+e-o.now():e;i<0&&(i=0);var a=0;return o.schedule(function(){n.closed||(n.next(a++),0<=r?this.schedule(void 0,r):n.complete())},i)})}function V(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=ve(e),r=Bt(e,1/0),n=e;return n.length?n.length===1?Y(n[0]):et(r)(Oe(n,o)):ye}var J=new C(se);var $a=Array.isArray;function tt(e){return e.length===1&&$a(e[0])?e[0]:e}function L(e,t){return y(function(o,r){var n=0;o.subscribe(new E(r,function(i){return e.call(t,i,n++)&&r.next(i)}))})}function vt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=Pe(e),r=tt(e);return r.length?new C(function(n){var i=r.map(function(){return[]}),a=r.map(function(){return!1});n.add(function(){i=a=null});for(var c=function(l){Y(r[l]).subscribe(new E(n,function(p){if(i[l].push(p),i.every(function(u){return u.length})){var m=i.map(function(u){return u.shift()});n.next(o?o.apply(void 0,I([],R(m))):m),i.some(function(u,h){return!u.length&&a[h]})&&n.complete()}},function(){a[l]=!0,!i[l].length&&n.complete()}))},s=0;!n.closed&&s<r.length;s++)c(s);return function(){i=a=null}}):ye}function Se(e,t){return t===void 0&&(t=null),t=t!=null?t:e,y(function(o,r){var n=[],i=0;o.subscribe(new E(r,function(a){var c,s,l,p,m=null;i++%t==0&&n.push([]);try{for(var u=fe(n),h=u.next();!h.done;h=u.next()){var v=h.value;v.push(a),e<=v.length&&(m=m!=null?m:[],m.push(v))}}catch(K){c={error:K}}finally{try{h&&!h.done&&(s=u.return)&&s.call(u)}finally{if(c)throw c.error}}if(m)try{for(var d=fe(m),U=d.next();!U.done;U=d.next()){var v=U.value;ke(n,v),r.next(v)}}catch(K){l={error:K}}finally{try{U&&!U.done&&(p=d.return)&&p.call(d)}finally{if(l)throw l.error}}},function(){var a,c;try{for(var s=fe(n),l=s.next();!l.done;l=s.next()){var p=l.value;r.next(p)}}catch(m){a={error:m}}finally{try{l&&!l.done&&(c=s.return)&&c.call(s)}finally{if(a)throw a.error}}r.complete()},void 0,function(){n=null}))})}function rt(e){return y(function(t,o){var r=null,n=!1,i;r=t.subscribe(new E(o,void 0,void 0,function(a){i=Y(e(a,rt(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(o)):n=!0})),n&&(r.unsubscribe(),r=null,i.subscribe(o))})}function Zo(e,t,o,r,n){return function(i,a){var c=o,s=t,l=0;i.subscribe(new E(a,function(p){var m=l++;s=c?e(s,p,m):(c=!0,p),r&&a.next(s)},n&&function(){c&&a.next(s),a.complete()}))}}function Er(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=Pe(e);return o?Co(Er.apply(void 0,I([],R(e))),$e(o)):y(function(r,n){wr(I([r],R(tt(e))))(n)})}function _e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Er.apply(void 0,I([],R(e)))}function Tr(e,t){return w(t)?ee(e,t,1):ee(e,1)}function Or(e,t){return t===void 0&&(t=Ie),y(function(o,r){var n=null,i=null,a=null,c=function(){if(n){n.unsubscribe(),n=null;var l=i;i=null,r.next(l)}};function s(){var l=a+e,p=t.now();if(p<l){n=this.schedule(void 0,l-p),r.add(n);return}c()}o.subscribe(new E(r,function(l){i=l,a=t.now(),n||(n=t.schedule(s,e),r.add(n))},function(){c(),r.complete()},void 0,function(){i=n=null}))})}function Ce(e){return y(function(t,o){var r=!1;t.subscribe(new E(o,function(n){r=!0,o.next(n)},function(){r||o.next(e),o.complete()}))})}function ie(e){return e<=0?function(){return ye}:y(function(t,o){var r=0;t.subscribe(new E(o,function(n){++r<=e&&(o.next(n),e<=r&&o.complete())}))})}function en(){return y(function(e,t){e.subscribe(new E(t,se))})}function G(e){return f(function(){return e})}function _r(e,t){return t?function(o){return bt(t.pipe(ie(1),en()),o.pipe(_r(e)))}:ee(function(o,r){return e(o,r).pipe(ie(1),G(o))})}function He(e,t){t===void 0&&(t=Ie);var o=Xo(e,t);return _r(function(){return o})}function Q(e,t){return t===void 0&&(t=me),e=e!=null?e:Wa,y(function(o,r){var n,i=!0;o.subscribe(new E(r,function(a){var c=t(a);(i||!e(n,c))&&(i=!1,n=c,r.next(a))}))})}function Wa(e,t){return e===t}function D(e,t){return Q(function(o,r){return t?t(o[e],r[e]):o[e]===r[e]})}function H(e){return y(function(t,o){try{t.subscribe(o)}finally{o.add(e)}})}function Mr(e){return e<=0?function(){return ye}:y(function(t,o){var r=[];t.subscribe(new E(o,function(n){r.push(n),e<r.length&&r.shift()},function(){var n,i;try{for(var a=fe(r),c=a.next();!c.done;c=a.next()){var s=c.value;o.next(s)}}catch(l){n={error:l}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}o.complete()},void 0,function(){r=null}))})}function tn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=ve(e),r=Bt(e,1/0);return e=tt(e),y(function(n,i){et(r)(Oe(I([n],R(e)),o)).subscribe(i)})}function je(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return tn.apply(void 0,I([],R(e)))}function ot(e){return y(function(t,o){var r=!1,n=null;t.subscribe(new E(o,function(a){r=!0,n=a}));var i=function(){if(r){r=!1;var a=n;n=null,o.next(a)}};e.subscribe(new E(o,i,se))})}function Lr(e,t){return y(Zo(e,t,arguments.length>=2,!0))}function ce(e){e===void 0&&(e={});var t=e.connector,o=t===void 0?function(){return new T}:t,r=e.resetOnError,n=r===void 0?!0:r,i=e.resetOnComplete,a=i===void 0?!0:i,c=e.resetOnRefCountZero,s=c===void 0?!0:c;return function(l){var p=null,m=null,u=null,h=0,v=!1,d=!1,U=function(){m==null||m.unsubscribe(),m=null},K=function(){U(),p=u=null,v=d=!1},$=function(){var _=p;K(),_==null||_.unsubscribe()};return y(function(_,De){h++,!d&&!v&&U();var Ae=u=u!=null?u:o();De.add(function(){h--,h===0&&!d&&!v&&(m=Ar($,s))}),Ae.subscribe(De),p||(p=new ft({next:function(Ke){return Ae.next(Ke)},error:function(Ke){d=!0,U(),m=Ar(K,n,Ke),Ae.error(Ke)},complete:function(){v=!0,U(),m=Ar(K,a),Ae.complete()}}),Te(_).subscribe(p))})(l)}}function Ar(e,t){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];return t===!0?(e(),null):t===!1?null:t.apply(void 0,I([],R(o))).pipe(ie(1)).subscribe(function(){return e()})}function te(e,t,o){var r,n,i,a=!1;return e&&typeof e=="object"?(i=(r=e.bufferSize)!==null&&r!==void 0?r:1/0,t=(n=e.windowTime)!==null&&n!==void 0?n:1/0,a=!!e.refCount,o=e.scheduler):i=e!=null?e:1/0,ce({connector:function(){return new dt(i,t,o)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function Jt(e){return L(function(t,o){return e<=o})}function kr(e){return y(function(t,o){var r=!1,n=new E(o,function(){n==null||n.unsubscribe(),r=!0},se);Y(e).subscribe(n),t.subscribe(new E(o,function(i){return r&&o.next(i)}))})}function z(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=ve(e);return y(function(r,n){(o?bt(e,r,o):bt(e,r)).subscribe(n)})}function g(e,t){return y(function(o,r){var n=null,i=0,a=!1,c=function(){return a&&!n&&r.complete()};o.subscribe(new E(r,function(s){n==null||n.unsubscribe();var l=0,p=i++;Y(e(s,p)).subscribe(n=new E(r,function(m){return r.next(t?t(s,m,p,l++):m)},function(){n=null,c()}))},function(){a=!0,c()}))})}function xt(e,t){return w(t)?g(function(){return e},t):g(function(){return e})}function Cr(e){return y(function(t,o){Y(e).subscribe(new E(o,function(){return o.complete()},se)),!o.closed&&t.subscribe(o)})}function gt(e,t){return t===void 0&&(t=!1),y(function(o,r){var n=0;o.subscribe(new E(r,function(i){var a=e(i,n++);(a||t)&&r.next(i),!a&&r.complete()}))})}function O(e,t,o){var r=w(e)||t||o?{next:e,error:t,complete:o}:e;return r?y(function(n,i){var a;(a=r.subscribe)===null||a===void 0||a.call(r);var c=!0;n.subscribe(new E(i,function(s){var l;(l=r.next)===null||l===void 0||l.call(r,s),i.next(s)},function(){var s;c=!1,(s=r.complete)===null||s===void 0||s.call(r),i.complete()},function(s){var l;c=!1,(l=r.error)===null||l===void 0||l.call(r,s),i.error(s)},function(){var s,l;c&&((s=r.unsubscribe)===null||s===void 0||s.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):me}var Ua={leading:!0,trailing:!1};function Hr(e,t){var o=t===void 0?Ua:t,r=o.leading,n=o.trailing;return y(function(i,a){var c=!1,s=null,l=null,p=!1,m=function(){l==null||l.unsubscribe(),l=null,n&&(v(),p&&a.complete())},u=function(){l=null,p&&a.complete()},h=function(d){return l=Y(e(d)).subscribe(new E(a,m,u))},v=function(){if(c){c=!1;var d=s;s=null,a.next(d),!p&&h(d)}};i.subscribe(new E(a,function(d){c=!0,s=d,!(l&&!l.closed)&&(r?v():h(d))},function(){p=!0,!(n&&c&&l&&!l.closed)&&a.complete()}))})}function he(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=Pe(e);return y(function(r,n){for(var i=e.length,a=new Array(i),c=e.map(function(){return!1}),s=!1,l=function(m){Y(e[m]).subscribe(new E(n,function(u){a[m]=u,!s&&!c[m]&&(c[m]=!0,(s=c.every(me))&&(c=null))},se))},p=0;p<i;p++)l(p);r.subscribe(new E(n,function(m){if(s){var u=I([m],R(a));n.next(o?o.apply(void 0,I([],R(u))):u)}}))})}function rn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return y(function(o,r){vt.apply(void 0,I([o],R(e))).subscribe(r)})}function jr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return rn.apply(void 0,I([],R(e)))}function on(){let e=new dt;return S(document,"DOMContentLoaded").pipe(G(document)).subscribe(e),e}function le(e,t=document){return t.querySelector(e)||void 0}function ae(e,t=document){let o=le(e,t);if(typeof o=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return o}function Ne(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function P(e,t=document){return Array.from(t.querySelectorAll(e))}function qe(e,...t){e.replaceWith(...t)}function we(e,t=!0){t?e.focus():e.blur()}function nn(e){return V(S(e,"focus"),S(e,"blur")).pipe(f(({type:t})=>t==="focus"),z(e===Ne()))}var an=new T,Va=de(()=>M(new ResizeObserver(e=>{for(let t of e)an.next(t)}))).pipe(g(e=>J.pipe(z(e)).pipe(H(()=>e.disconnect()))),te(1));function Ee(e){return{width:e.offsetWidth,height:e.offsetHeight}}function yt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function sn(e){let t=e.parentElement;for(;t&&t!==e.offsetParent;){let o=Ee(t);if(yt(t).height>o.height)return t;t=t.parentElement}}function We(e){return Va.pipe(O(t=>t.observe(e)),g(t=>an.pipe(L(({target:o})=>o===e),H(()=>t.unobserve(e)),f(()=>Ee(e)))),z(Ee(e)))}function cn(e){return{x:e.scrollLeft,y:e.scrollTop}}function Da(e){return V(S(e,"scroll"),S(window,"resize")).pipe(f(()=>cn(e)),z(cn(e)))}function ln(e,t=16){return Da(e).pipe(f(({y:o})=>{let r=Ee(e),n=yt(e);return o>=n.height-r.height-t}),Q())}function pn(e){if(e instanceof HTMLInputElement)e.select();else throw new Error("Not implemented")}var Gt={drawer:ae("[data-md-toggle=drawer]"),search:ae("[data-md-toggle=search]")};function un(e){return Gt[e].checked}function Ue(e,t){Gt[e].checked!==t&&Gt[e].click()}function Xt(e){let t=Gt[e];return S(t,"change").pipe(f(()=>t.checked),z(t.checked))}function za(e){switch(e.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return e.isContentEditable}}function fn(){return S(window,"keydown").pipe(L(e=>!(e.metaKey||e.ctrlKey)),f(e=>({mode:un("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),L(({mode:e})=>{if(e==="global"){let t=Ne();if(typeof t!="undefined")return!za(t)}return!0}),ce())}function xe(){return new URL(location.href)}function Zt(e){location.href=e.href}function mn(){return new T}function dn(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 o of t)dn(e,o)}function A(e,t,...o){let r=document.createElement(e);if(t)for(let n of Object.keys(t))typeof t[n]!="boolean"?r.setAttribute(n,t[n]):t[n]&&r.setAttribute(n,"");for(let n of o)dn(r,n);return r}function er(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function Rr(e,t,o){t=new RegExp(t,"g");let r,n=0;do{r=t.exec(e);let i=r?r.index:e.length;if(n<i&&o([n,i]),r){let[a]=r;n=r.index+a.length,a.length===0&&(t.lastIndex=r.index+1)}}while(r)}function hn(){return location.hash.substring(1)}function bn(e){let t=A("a",{href:e});t.addEventListener("click",o=>o.stopPropagation()),t.click()}function Na(){return S(window,"hashchange").pipe(f(hn),z(hn()),L(e=>e.length>0),ce())}function vn(){return Na().pipe(g(e=>M(le(`[id="${e}"]`))))}function St(e){let t=matchMedia(e);return Yt(o=>t.addListener(()=>o(t.matches))).pipe(z(t.matches))}function xn(){return S(window,"beforeprint").pipe(G(void 0))}function Fr(e,t){return e.pipe(g(o=>o?t():J))}function nt(e,t={credentials:"same-origin"}){return Te(fetch(`${e}`,t)).pipe(L(o=>o.status===200))}function Me(e,t){return nt(e,t).pipe(g(o=>o.json()),te(1))}function gn(e,t){let o=new DOMParser;return nt(e,t).pipe(g(r=>r.text()),f(r=>o.parseFromString(r,"text/xml")),te(1))}function yn(e){let t=A("script",{src:e});return de(()=>(document.head.appendChild(t),V(S(t,"load"),S(t,"error").pipe(g(()=>Sr(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(G(void 0),H(()=>document.head.removeChild(t)),ie(1))))}function Sn(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function Ir({x:e,y:t}){window.scrollTo(e||0,t||0)}function wn(){return V(S(window,"scroll",{passive:!0}),S(window,"resize",{passive:!0})).pipe(f(Sn),z(Sn()))}function En(){return{width:innerWidth,height:innerHeight}}function Tn(){return S(window,"resize",{passive:!0}).pipe(f(En),z(En()))}function On(){return q([wn(),Tn()]).pipe(f(([e,t])=>({offset:e,size:t})),te(1))}function tr(e,{viewport$:t,header$:o}){let r=t.pipe(D("size")),n=q([r,o]).pipe(f(()=>({x:e.offsetLeft,y:e.offsetTop})));return q([o,t,n]).pipe(f(([{height:i},{offset:a,size:c},{x:s,y:l}])=>({offset:{x:a.x-s,y:a.y-l+i},size:c})))}function _n(e,{tx$:t}){let o=S(e,"message").pipe(f(({data:r})=>r));return t.pipe(Hr(()=>o,{leading:!0,trailing:!0}),O(r=>e.postMessage(r)),xt(o),ce())}var qa=ae("#__config"),it=JSON.parse(qa.textContent);it.base=`${new URL(it.base,xe())}`;function ue(){return it}function re(e){return it.features.includes(e)}function X(e,t){return typeof t!="undefined"?it.translations[e].replace("#",t.toString()):it.translations[e]}function Le(e,t=document){return ae(`[data-md-component=${e}]`,t)}function oe(e,t=document){return P(`[data-md-component=${e}]`,t)}function Qa(e,{target$:t}){return t.pipe(f(o=>({hidden:o!==e})))}function Mn(e,t){let o=new T;return o.pipe(N(B)).subscribe(({hidden:r})=>{e.hidden=r}),Qa(e,t).pipe(O(r=>o.next(r)),H(()=>o.complete()),f(r=>F({ref:e},r)))}var pi=pt($r());function Ln(e,t=0){e.setAttribute("tabindex",t.toString())}function An(e){e.removeAttribute("tabindex")}function kn(e,t){e.setAttribute("data-md-state","lock"),e.style.top=`-${t}px`}function Cn(e){let t=-1*parseInt(e.style.top,10);e.removeAttribute("data-md-state"),e.style.top="",t&&window.scrollTo(0,t)}function Hn(e,t){e.setAttribute("data-md-state",t)}function jn(e){e.removeAttribute("data-md-state")}function Rn(e,t){e.classList.toggle("md-nav__link--active",t)}function Fn(e){e.classList.remove("md-nav__link--active")}function In(e,t){e.firstElementChild.innerHTML=t}function Pn(e,t){e.setAttribute("data-md-state",t)}function $n(e){e.removeAttribute("data-md-state")}function Wn(e,t){e.setAttribute("data-md-state",t)}function Un(e){e.removeAttribute("data-md-state")}function Vn(e,t){e.setAttribute("data-md-state",t)}function Dn(e){e.removeAttribute("data-md-state")}function zn(e,t){e.placeholder=t}function Nn(e){e.placeholder=X("search.placeholder")}function qn(e,t){switch(t){case 0:e.textContent=X("search.result.none");break;case 1:e.textContent=X("search.result.one");break;default:e.textContent=X("search.result.other",er(t))}}function Wr(e){e.textContent=X("search.result.placeholder")}function Qn(e,t){e.appendChild(t)}function Kn(e){e.innerHTML=""}function Bn(e,t){e.style.top=`${t}px`}function Yn(e){e.style.top=""}function Jn(e,t){let o=e.firstElementChild;o.style.height=`${t-2*o.offsetTop}px`}function Gn(e){let t=e.firstElementChild;t.style.height=""}function Xn(e,t){e.lastElementChild.appendChild(t)}function Zn(e,t){e.lastElementChild.setAttribute("data-md-state",t)}function ei(e,t){e.setAttribute("data-md-state",t)}function Ur(e){e.removeAttribute("data-md-state")}function ti(e,t){e.setAttribute("data-md-state",t)}function Vr(e){e.removeAttribute("data-md-state")}function ri(e,t){e.style.top=`${t}px`}function oi(e){e.style.top=""}function ni(e){return A("button",{class:"md-clipboard md-icon",title:X("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}function ii(e,t){return A("aside",{class:"md-annotation",tabIndex:0},A("div",{class:"md-tooltip"},A("div",{class:"md-tooltip__inner md-typeset"},Array.from(t.childNodes))),A("span",{class:"md-annotation__index"},e))}var Qe;(function(o){o[o.TEASER=1]="TEASER",o[o.PARENT=2]="PARENT"})(Qe||(Qe={}));function Dr(e,t){let o=t&2,r=t&1,n=Object.keys(e.terms).filter(a=>!e.terms[a]).map(a=>[A("del",null,a)," "]).flat().slice(0,-1),i=new URL(e.location);return re("search.highlight")&&i.searchParams.set("h",Object.entries(e.terms).filter(([,a])=>a).reduce((a,[c])=>`${a} ${c}`.trim(),"")),A("a",{href:`${i}`,class:"md-search-result__link",tabIndex:-1},A("article",{class:"md-search-result__article md-typeset","data-md-score":e.score.toFixed(2)},o>0&&A("div",{class:"md-search-result__icon md-icon"}),o>0&&A("h1",null,e.title),o<=0&&A("h2",null,e.title),r>0&&e.text.length>0&&e.text,e.tags&&e.tags.map(a=>A("span",{class:"md-tag"},a)),r>0&&n.length>0&&A("p",{class:"md-search-result__terms"},X("search.result.term.missing"),": ",n)))}function ai(e){let t=e[0].score,o=[...e],r=o.findIndex(l=>!l.location.includes("#")),[n]=o.splice(r,1),i=o.findIndex(l=>l.score<t);i===-1&&(i=o.length);let a=o.slice(0,i),c=o.slice(i),s=[Dr(n,2|+(!r&&i===0)),...a.map(l=>Dr(l,1)),...c.length?[A("details",{class:"md-search-result__more"},A("summary",{tabIndex:-1},A("div",null,c.length>0&&c.length===1?X("search.result.more.one"):X("search.result.more.other",c.length))),c.map(l=>Dr(l,1)))]:[]];return A("li",{class:"md-search-result__item"},s)}function si(e){return A("ul",{class:"md-source__facts"},Object.entries(e).map(([t,o])=>A("li",{class:`md-source__fact md-source__fact--${t}`},typeof o=="number"?er(o):o)))}function ci(e){return A("div",{class:"md-typeset__scrollwrap"},A("div",{class:"md-typeset__table"},e))}function Ka(e){let t=ue(),o=new URL(`../${e.version}/`,t.base);return A("li",{class:"md-version__item"},A("a",{href:`${o}`,class:"md-version__link"},e.title))}function li(e,t){return A("div",{class:"md-version"},A("button",{class:"md-version__current","aria-label":X("select.version.title")},t.title),A("ul",{class:"md-version__list"},e.map(Ka)))}var Ba=0;function Ya(e,{viewport$:t}){let o=M(e).pipe(g(i=>{let a=i.closest("[data-tabs]");return a instanceof HTMLElement?V(...P(":scope > input",a).map(c=>S(c,"change"))):J})),r=[],n=e.closest(".highlighttable")||e.closest(".highlight");if(n){let i=n.nextElementSibling;if(i instanceof HTMLOListElement&&(n.classList.contains("annotate")||re("content.code.annotate"))){let a=Array.from(i.children);i.remove();for(let c of P(".c, .c1, .cm",e)){let[,s=-1]=c.textContent.match(/\((\d+)\)/)||[],l=a[+s-1];if(typeof l!="undefined"){let p=ii(+s,l);c.replaceWith(p),r.push(p)}}}}return t.pipe(D("size"),je(o),f(()=>{let i=Ee(e),a=yt(e);return F({scroll:a.width>i.width},r.length&&{annotations:r})}),D("scroll"))}function ui(e,t){let o=new T;if(o.pipe(he(St("(hover)"))).subscribe(([{scroll:r},n])=>{r&&n?Ln(e):An(e)}),o.pipe(ie(1),gt(({annotations:r})=>!!(r==null?void 0:r.length)),f(({annotations:r})=>r.map(n=>ae(".md-tooltip",n))),_e(viewport$.pipe(D("size")))).subscribe(([r,{size:n}])=>{for(let i of r){let{x:a,width:c}=i.getBoundingClientRect();a+c>n.width?i.classList.add("md-tooltip--end"):i.classList.remove("md-tooltip--end")}}),pi.default.isSupported()){let r=e.closest("pre");r.id=`__code_${++Ba}`,r.insertBefore(ni(r.id),e)}return Ya(e,t).pipe(O(r=>o.next(r)),H(()=>o.complete()),f(r=>F({ref:e},r)))}var zr,Ja=0;function Ga(){let e=ae("[rel=preload][href*=mermaid]");return nt(e.href).pipe(g(t=>t.text()))}function fi(e){return zr||(zr=yn("https://unpkg.com/mermaid@8.8.4/dist/mermaid.min.js").pipe(_e(Ga()),O(([,t])=>mermaid.initialize({startOnLoad:!1,themeCSS:t})),G(void 0),te(1))),zr.subscribe(()=>{let t=`__mermaid_${Ja++}`,o=A("div",{class:"mermaid"});mermaid.mermaidAPI.render(t,e.innerText,r=>{let n=o.attachShadow({mode:"closed"});n.innerHTML=r,e.replaceWith(o)})}),zr.pipe(G({ref:e}))}function Xa(e,{target$:t,print$:o}){return t.pipe(f(r=>r.closest("details:not([open])")),L(r=>e===r),je(o),G(e))}function mi(e,t){let o=new T;return o.subscribe(()=>{e.setAttribute("open",""),e.scrollIntoView()}),Xa(e,t).pipe(O(r=>o.next(r)),H(()=>o.complete()),G({ref:e}))}var di=A("table");function hi(e){return qe(e,di),qe(di,ci(e)),M({ref:e})}function Za(e){return M(P(":scope > label",e)).pipe(g(t=>M(...t).pipe(ee(o=>{let r=o.previousElementSibling;return S(r,"change").pipe(G({active:o}))}))))}function bi(e){let t=new T;return t.subscribe(({active:o})=>{if(re("content.tabs.link")){let r=o.innerText.trim();for(let i of P("[data-tabs]"))for(let a of P(":scope > label",i))if(a.innerText.trim()===r){let c=a.previousElementSibling;c.checked=!0;break}let n=__md_get("__tabs")||[];__md_set("__tabs",[...new Set([r,...n])])}}),Za(e).pipe(O(o=>t.next(o)),H(()=>t.complete()),f(o=>F({ref:e},o)))}function vi(e,{target$:t,viewport$:o,print$:r}){return V(...P("pre:not([class^=mermaid]) > code",e).map(n=>ui(n,{viewport$:o})),...P(".mermaid, .mermaid-experimental",e).map(n=>fi(n)),...P("table:not([class])",e).map(n=>hi(n)),...P("details",e).map(n=>mi(n,{target$:t,print$:r})),...P("[data-tabs]",e).map(n=>bi(n)))}function es(e,{alert$:t}){return t.pipe(g(o=>V(M(!0),M(!1).pipe(He(2e3))).pipe(f(r=>({message:o,open:r})))))}function xi(e,t){let o=new T;return o.pipe(N(B)).subscribe(({message:r,open:n})=>{In(e,r),n?Pn(e,"open"):$n(e)}),es(e,t).pipe(O(r=>o.next(r)),H(()=>o.complete()),f(r=>F({ref:e},r)))}function ts({viewport$:e}){if(!re("header.autohide"))return M(!1);let t=e.pipe(f(({offset:{y:n}})=>n),Se(2,1),f(([n,i])=>[n<i,i]),D(0)),o=q([e,t]).pipe(L(([{offset:n},[,i]])=>Math.abs(i-n.y)>100),f(([,[n]])=>n),Q()),r=Xt("search");return q([e,r]).pipe(f(([{offset:n},i])=>n.y>400&&!i),Q(),g(n=>n?o:M(!1)),z(!1))}function gi(e,t){return de(()=>{let o=getComputedStyle(e);return M(o.position==="sticky"||o.position==="-webkit-sticky")}).pipe(_e(We(e),ts(t)),f(([o,{height:r},n])=>({height:o?r:0,sticky:o,hidden:n})),Q((o,r)=>o.sticky===r.sticky&&o.height===r.height&&o.hidden===r.hidden),te(1))}function yi(e,{header$:t,main$:o}){let r=new T;return r.pipe(D("active"),_e(t),N(B)).subscribe(([{active:n},{hidden:i}])=>{n?Wn(e,i?"hidden":"shadow"):Un(e)}),o.subscribe(n=>r.next(n)),t.pipe(f(n=>F({ref:e},n)))}function rs(e,{viewport$:t,header$:o}){return tr(e,{header$:o,viewport$:t}).pipe(f(({offset:{y:r}})=>{let{height:n}=Ee(e);return{active:r>=n}}),D("active"))}function Si(e,t){let o=new T;o.pipe(N(B)).subscribe(({active:n})=>{n?Vn(e,"active"):Dn(e)});let r=le("article h1");return typeof r=="undefined"?J:rs(r,t).pipe(O(n=>o.next(n)),H(()=>o.complete()),f(n=>F({ref:e},n)))}function wi(e,{viewport$:t,header$:o}){let r=o.pipe(f(({height:i})=>i),Q()),n=r.pipe(g(()=>We(e).pipe(f(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),D("bottom"))));return q([r,n,t]).pipe(f(([i,{top:a,bottom:c},{offset:{y:s},size:{height:l}}])=>(l=Math.max(0,l-Math.max(0,a-s,i)-Math.max(0,l+s-c)),{offset:a-i,height:l,active:a-i<=s})),Q((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function os(e){let t=__md_get("__palette")||{index:e.findIndex(r=>matchMedia(r.getAttribute("data-md-color-media")).matches)},o=M(...e).pipe(ee(r=>S(r,"change").pipe(G(r))),z(e[Math.max(0,t.index)]),f(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")}})),te(1));return o.subscribe(r=>{__md_set("__palette",r)}),o}function Ei(e){let t=new T;t.subscribe(r=>{for(let[n,i]of Object.entries(r.color))typeof i=="string"&&document.body.setAttribute(`data-md-color-${n}`,i);for(let n=0;n<o.length;n++){let i=o[n].nextElementSibling;i instanceof HTMLElement&&(i.hidden=r.index!==n)}});let o=P("input",e);return os(o).pipe(O(r=>t.next(r)),H(()=>t.complete()),f(r=>F({ref:e},r)))}var Nr=pt($r());function ns(e){let t=P(".md-annotation",e);for(let r of t)r.hidden=!0;let o=e.innerText;for(let r of t)r.hidden=!1;return o}function Ti({alert$:e}){Nr.default.isSupported()&&new C(t=>{new Nr.default("[data-clipboard-target], [data-clipboard-text]",{text:o=>o.getAttribute("data-clipboard-text")||ns(ae(o.getAttribute("data-clipboard-target")))}).on("success",o=>t.next(o))}).subscribe(()=>e.next(X("clipboard.copied")))}function is(e){if(e.length<2)return[""];let[t,o]=[...e].sort((n,i)=>n.length-i.length).map(n=>n.replace(/[^/]+$/,"")),r=0;if(t===o)r=t.length;else for(;t.charCodeAt(r)===o.charCodeAt(r);)r++;return e.map(n=>n.replace(t.slice(0,r),""))}function rr(e){let t=__md_get("__sitemap",sessionStorage,e);if(t)return M(t);{let o=ue();return gn(new URL("sitemap.xml",e||o.base)).pipe(f(r=>is(P("loc",r).map(n=>n.textContent))),Ce([]),O(r=>__md_set("__sitemap",r,sessionStorage,e)))}}function Oi({document$:e,location$:t,viewport$:o}){let r=ue();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",S(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let n=le("link[rel=icon]");typeof n!="undefined"&&(n.href=n.href);let i=rr().pipe(f(l=>l.map(p=>`${new URL(p,r.base)}`)),g(l=>S(document.body,"click").pipe(L(p=>!p.metaKey&&!p.ctrlKey),g(p=>{if(p.target instanceof Element){let m=p.target.closest("a");if(m&&!m.target){let u=new URL(m.href);if(u.search="",u.hash="",u.pathname!==location.pathname&&l.includes(u.toString()))return p.preventDefault(),M({url:new URL(m.href)})}}return J}))),ce()),a=S(window,"popstate").pipe(L(l=>l.state!==null),f(l=>({url:new URL(location.href),offset:l.state})),ce());V(i,a).pipe(Q((l,p)=>l.url.href===p.url.href),f(({url:l})=>l)).subscribe(t);let c=t.pipe(D("pathname"),g(l=>nt(l.href).pipe(rt(()=>(Zt(l),J)))),ce());i.pipe(ot(c)).subscribe(({url:l})=>{history.pushState({},"",`${l}`)});let s=new DOMParser;c.pipe(g(l=>l.text()),f(l=>s.parseFromString(l,"text/html"))).subscribe(e),e.pipe(Jt(1)).subscribe(l=>{for(let p 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], .md-logo","[data-md-component=skip]",...re("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let m=le(p),u=le(p,l);typeof m!="undefined"&&typeof u!="undefined"&&qe(m,u)}}),e.pipe(Jt(1),f(()=>Le("container")),g(l=>M(...P("script",l))),Tr(l=>{let p=A("script");if(l.src){for(let m of l.getAttributeNames())p.setAttribute(m,l.getAttribute(m));return qe(l,p),new C(m=>{p.onload=()=>m.complete()})}else return p.textContent=l.textContent,qe(l,p),ye})).subscribe(),V(i,a).pipe(ot(e)).subscribe(({url:l,offset:p})=>{l.hash&&!p?bn(l.hash):Ir(p||{y:0})}),o.pipe(kr(i),Or(250),D("offset")).subscribe(({offset:l})=>{history.replaceState(l,"")}),V(i,a).pipe(Se(2,1),L(([l,p])=>l.url.pathname===p.url.pathname),f(([,l])=>l)).subscribe(({offset:l})=>{Ir(l||{y:0})})}function _i(e,t=o=>o){return e.split(/"([^"]+)"/g).map((o,r)=>r&1?o.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):o).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").split(/\s+/g).flatMap(t).map(o=>/^[+-]/.test(o)?o:`${o}*`).join(" ").trim()}var Ai=pt(Li());function ki(e){let t=e.separator.split("|").map(n=>n.replace(/(\(\?[!=][^)]+\))/g,"").length===0?"\uFFFD":n).join("|"),o=new RegExp(t,"img"),r=(n,i,a)=>`${i}<mark data-md-highlight>${a}</mark>`;return n=>{n=n.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator}|\\b)(${n.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(o,"|")})`,"img");return a=>(0,Ai.default)(a).replace(i,r).replace(/<\/mark>(\s+)<mark[^>]*>/img,"$1")}}var Re;(function(n){n[n.SETUP=0]="SETUP",n[n.READY=1]="READY",n[n.QUERY=2]="QUERY",n[n.RESULT=3]="RESULT"})(Re||(Re={}));function at(e){return e.type===1}function Ci(e){return e.type===2}function st(e){return e.type===3}function cs({config:e,docs:t}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[X("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=X("search.config.separator"));let r={pipeline:X("search.config.pipeline").split(/\s*,\s*/).filter(Boolean),suggestions:re("search.suggest")};return{config:e,docs:t,options:r}}function Hi(e,t){let o=ue(),r=new Worker(e),n=new T,i=_n(r,{tx$:n}).pipe(f(a=>{if(st(a))for(let c of a.data.items)for(let s of c)s.location=`${new URL(s.location,o.base)}`;return a}),ce());return Te(t).pipe(f(a=>({type:Re.SETUP,data:cs(a)}))).subscribe(n.next.bind(n)),{tx$:n,rx$:i}}function ji(){let e=ue(),t=Me(new URL("../versions.json",e.base)),o=t.pipe(f(r=>{let[,n]=e.base.match(/([^/]+)\/?$/);return r.find(({version:i,aliases:a})=>i===n||a.includes(n))||r[0]}));q([t,o]).pipe(f(([r,n])=>new Map(r.filter(i=>i!==n).map(i=>[`${new URL(`../${i.version}/`,e.base)}`,i]))),g(r=>S(document.body,"click").pipe(L(n=>!n.metaKey&&!n.ctrlKey),g(n=>{if(n.target instanceof Element){let i=n.target.closest("a");if(i&&!i.target&&r.has(i.href))return n.preventDefault(),M(i.href)}return J}),g(n=>{let{version:i}=r.get(n);return rr(n).pipe(f(a=>{let s=xe().href.replace(e.base,"");return a.includes(s)?new URL(`../${i}/${s}`,e.base):new URL(n)}))})))).subscribe(r=>Zt(r)),q([t,o]).subscribe(([r,n])=>{var a;if(ae(".md-header__topic").appendChild(li(r,n)),__md_get("__outdated",sessionStorage)===null){let c=((a=e.version)==null?void 0:a.default)||"latest",s=!n.aliases.includes(c);if(__md_set("__outdated",s,sessionStorage),s)for(let l of oe("outdated"))l.hidden=!1}})}function ls(e,{rx$:t},{index$:o}){let r=(__search==null?void 0:__search.transform)||_i,n=nn(e),i=V(S(e,"keyup"),S(e,"focus").pipe(He(1))).pipe(xt(o),f(({config:c})=>r(e.value,s=>{let l=[];return Rr(s,c.separator,p=>{l.push(s.slice(...p))}),l})),Q()),a=xe();return a.searchParams.has("q")&&(Ue("search",!0),t.pipe(L(at),ie(1)).subscribe(()=>{e.value=a.searchParams.get("q"),we(e)})),q([i,n]).pipe(f(([c,s])=>({value:c,focus:s})))}function Ri(e,{tx$:t,rx$:o},r){let n=new T;return n.pipe(D("value"),f(({value:i})=>({type:Re.QUERY,data:i}))).subscribe(t.next.bind(t)),n.pipe(D("focus")).subscribe(({focus:i})=>{i?(Ue("search",i),zn(e,"")):Nn(e)}),S(e.form,"reset").pipe(Cr(n.pipe(Mr(1)))).subscribe(()=>we(e)),ls(e,{tx$:t,rx$:o},r).pipe(O(i=>n.next(i)),H(()=>n.complete()),f(i=>F({ref:e},i)),ce())}function Fi(e,{rx$:t},{query$:o}){let r=new T,n=ln(e.parentElement).pipe(L(Boolean)),i=ae(":scope > :first-child",e),a=ae(":scope > :last-child",e);return t.pipe(L(at),ie(1)).subscribe(()=>{Wr(i)}),r.pipe(N(B),he(o)).subscribe(([{items:s},{value:l}])=>{l?qn(i,s.length):Wr(i)}),r.pipe(N(B),O(()=>Kn(a)),g(({items:s})=>V(M(...s.slice(0,10)),M(...s.slice(10)).pipe(Se(4),jr(n),g(([l])=>M(...l))))),f(s=>{let l=ai(s);return Qn(a,l),le("details",l)})).subscribe(s=>{s&&s.addEventListener("toggle",()=>{!s.open&&s.offsetTop<=e.parentElement.scrollTop&&(e.parentElement.scrollTop=s.offsetTop)})}),t.pipe(L(st),f(({data:s})=>s)).pipe(O(s=>r.next(s)),H(()=>r.complete()),f(s=>F({ref:e},s)))}function ps(e,{query$:t}){return t.pipe(f(({value:o})=>{let r=xe();return r.hash="",r.searchParams.delete("h"),r.searchParams.set("q",o),{url:r}}))}function Ii(e,t){let o=new T;return o.subscribe(({url:r})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${r}`}),S(e,"click").subscribe(r=>r.preventDefault()),ps(e,t).pipe(O(r=>o.next(r)),H(()=>o.complete()),f(r=>F({ref:e},r)))}function Pi(e,{rx$:t},{keyboard$:o}){let r=new T,n=Le("search-query"),i=S(n,"keydown").pipe(N(Ie),f(()=>n.value),Q());return r.pipe(_e(i),f(([{suggestions:c},s])=>{let l=s.split(/([\s-]+)/);if((c==null?void 0:c.length)&&l[l.length-1]){let p=c[c.length-1];p.startsWith(l[l.length-1])&&(l[l.length-1]=p)}else l.length=0;return l})).subscribe(c=>e.innerHTML=c.join("").replace(/\s/g,"&nbsp;")),o.pipe(L(({mode:c})=>c==="search")).subscribe(c=>{switch(c.type){case"ArrowRight":e.innerText.length&&n.selectionStart===n.value.length&&(n.value=e.innerText);break}}),t.pipe(L(st),f(({data:c})=>c)).pipe(O(c=>r.next(c)),H(()=>r.complete()),f(()=>({ref:e})))}function $i(e,{index$:t,keyboard$:o}){let r=ue();try{let n=(__search==null?void 0:__search.worker)||r.search,i=Hi(n,t),a=Le("search-query",e),c=Le("search-result",e),{tx$:s,rx$:l}=i;s.pipe(L(Ci),ot(l.pipe(L(at),ie(1)))).subscribe(s.next.bind(s)),o.pipe(L(({mode:u})=>u==="search")).subscribe(u=>{let h=Ne();switch(u.type){case"Enter":if(h===a){let v=new Map;for(let d of P(":first-child [href]",c)){let U=d.firstElementChild;v.set(d,parseFloat(U.getAttribute("data-md-score")))}if(v.size){let[[d]]=[...v].sort(([,U],[,K])=>K-U);d.click()}u.claim()}break;case"Escape":case"Tab":Ue("search",!1),we(a,!1);break;case"ArrowUp":case"ArrowDown":if(typeof h=="undefined")we(a);else{let v=[a,...P(":not(details) > [href], summary, details[open] [href]",c)],d=Math.max(0,(Math.max(0,v.indexOf(h))+v.length+(u.type==="ArrowUp"?-1:1))%v.length);we(v[d])}u.claim();break;default:a!==Ne()&&we(a)}}),o.pipe(L(({mode:u})=>u==="global")).subscribe(u=>{switch(u.type){case"f":case"s":case"/":we(a),pn(a),u.claim();break}});let p=Ri(a,i,{index$:t}),m=Fi(c,i,{query$:p});return V(p,m).pipe(je(...oe("search-share",e).map(u=>Ii(u,{query$:p})),...oe("search-suggest",e).map(u=>Pi(u,i,{keyboard$:o}))))}catch(n){return e.hidden=!0,J}}function Wi(e,{index$:t,location$:o}){return q([t,o.pipe(z(xe()),L(r=>r.searchParams.has("h")))]).pipe(f(([r,n])=>ki(r.config)(n.searchParams.get("h"))),f(r=>{var a;let n=new Map,i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT);for(let c=i.nextNode();c;c=i.nextNode())if((a=c.parentElement)==null?void 0:a.offsetHeight){let s=c.textContent,l=r(s);l.length>s.length&&n.set(c,l)}for(let[c,s]of n){let{childNodes:l}=A("span",null,s);c.replaceWith(...Array.from(l))}return{ref:e,nodes:n}}))}function us(e,{viewport$:t,main$:o}){let r=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return q([o,t]).pipe(f(([{offset:n,height:i},{offset:{y:a}}])=>(i=i+Math.min(r,Math.max(0,a-n))-r,{height:i,locked:a>=n+r})),Q((n,i)=>n.height===i.height&&n.locked===i.locked))}function qr(e,r){var n=r,{header$:t}=n,o=Jr(n,["header$"]);let i=new T;return i.pipe(N(B),he(t)).subscribe({next([{height:a},{height:c}]){Jn(e,a),Bn(e,c)},complete(){Yn(e),Gn(e)}}),i.pipe(N(B),ie(1)).subscribe(()=>{for(let a of P(".md-nav__link--active[href]",e)){let c=sn(a);if(typeof c!="undefined"){let s=a.offsetTop-c.offsetTop,{height:l}=Ee(c);s-l+a.offsetHeight>0&&c.scrollTo(0,s-l/2)}}}),us(e,o).pipe(O(a=>i.next(a)),H(()=>i.complete()),f(a=>F({ref:e},a)))}function Ui(e,t){if(typeof t!="undefined"){let o=`https://api.github.com/repos/${e}/${t}`;return vt(Me(`${o}/releases/latest`).pipe(f(r=>({version:r.tag_name})),Ce({})),Me(o).pipe(f(r=>({stars:r.stargazers_count,forks:r.forks_count})),Ce({}))).pipe(f(([r,n])=>F(F({},r),n)))}else{let o=`https://api.github.com/repos/${e}`;return Me(o).pipe(f(r=>({repositories:r.public_repos})),Ce({}))}}function Vi(e,t){let o=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Me(o).pipe(f(({star_count:r,forks_count:n})=>({stars:r,forks:n})),Ce({}))}function Di(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,o,r]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return Ui(o,r);case"gitlab":let[,n,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return Vi(n,i);default:return J}}var fs;function ms(e){return fs||(fs=de(()=>{let t=__md_get("__source",sessionStorage);return t?M(t):Di(e.href).pipe(O(o=>__md_set("__source",o,sessionStorage)))}).pipe(rt(()=>J),L(t=>Object.keys(t).length>0),f(t=>({facts:t})),te(1)))}function zi(e){let t=new T;return t.subscribe(({facts:o})=>{Xn(e,si(o)),Zn(e,"done")}),ms(e).pipe(O(o=>t.next(o)),H(()=>t.complete()),f(o=>F({ref:e},o)))}function ds(e,{viewport$:t,header$:o}){return We(document.body).pipe(g(()=>tr(e,{header$:o,viewport$:t})),f(({offset:{y:r}})=>({hidden:r>=10})),D("hidden"))}function Ni(e,t){let o=new T;return o.pipe(N(B)).subscribe({next({hidden:r}){r?ei(e,"hidden"):Ur(e)},complete(){Ur(e)}}),(re("navigation.tabs.sticky")?M({hidden:!1}):ds(e,t)).pipe(O(r=>o.next(r)),H(()=>o.complete()),f(r=>F({ref:e},r)))}function hs(e,{viewport$:t,header$:o}){let r=new Map,n=P("[href^=\\#]",e);for(let c of n){let s=decodeURIComponent(c.hash.substring(1)),l=le(`[id="${s}"]`);typeof l!="undefined"&&r.set(c,l)}let i=o.pipe(f(c=>24+c.height));return We(document.body).pipe(D("height"),g(c=>de(()=>{let s=[];return M([...r].reduce((l,[p,m])=>{for(;s.length&&r.get(s[s.length-1]).tagName>=m.tagName;)s.pop();let u=m.offsetTop;for(;!u&&m.parentElement;)m=m.parentElement,u=m.offsetTop;return l.set([...s=[...s,p]].reverse(),u)},new Map))}).pipe(f(s=>new Map([...s].sort(([,l],[,p])=>l-p))),g(s=>q([t,i]).pipe(Lr(([l,p],[{offset:{y:m},size:u},h])=>{let v=m+u.height>=Math.floor(c.height);for(;p.length;){let[,d]=p[0];if(d-h<m||v)l=[...l,p.shift()];else break}for(;l.length;){let[,d]=l[l.length-1];if(d-h>=m&&!v)p=[l.pop(),...p];else break}return[l,p]},[[],[...s]]),Q((l,p)=>l[0]===p[0]&&l[1]===p[1])))))).pipe(f(([c,s])=>({prev:c.map(([l])=>l),next:s.map(([l])=>l)})),z({prev:[],next:[]}),Se(2,1),f(([c,s])=>c.prev.length<s.prev.length?{prev:s.prev.slice(Math.max(0,c.prev.length-1),s.prev.length),next:[]}:{prev:s.prev.slice(-1),next:s.next.slice(0,s.next.length-c.next.length)}))}function qi(e,t){let o=new T;return o.pipe(N(B)).subscribe(({prev:r,next:n})=>{for(let[i]of n)Fn(i),jn(i);for(let[i,[a]]of r.entries())Rn(a,i===r.length-1),Hn(a,"blur");if(re("navigation.tracking")){let i=xe(),a=r[r.length-1];if(a&&a.length){let[c]=a,{hash:s}=new URL(c.href);i.hash!==s&&(i.hash=s,history.replaceState({},"",`${i}`))}else i.hash="",history.replaceState({},"",`${i}`)}}),hs(e,t).pipe(O(r=>o.next(r)),H(()=>o.complete()),f(r=>F({ref:e},r)))}function bs(e,{viewport$:t,main$:o}){let r=t.pipe(f(({offset:{y:i}})=>i),Se(2,1),f(([i,a])=>i>a&&a),Q()),n=o.pipe(D("active"));return q([n,r]).pipe(f(([{active:i},a])=>({hidden:!(i&&a)})),Q((i,a)=>i.hidden===a.hidden))}function Qi(e,{viewport$:t,header$:o,main$:r}){let n=new T;return n.pipe(N(B),he(o.pipe(D("height")))).subscribe({next([{hidden:i},{height:a}]){ri(e,a+16),i?(ti(e,"hidden"),we(e,!1)):Vr(e)},complete(){oi(e),Vr(e)}}),bs(e,{viewport$:t,header$:o,main$:r}).pipe(O(i=>n.next(i)),H(()=>n.complete()),f(i=>F({ref:e},i)))}function Ki({document$:e,tablet$:t}){e.pipe(g(()=>M(...P("[data-md-state=indeterminate]"))),O(o=>{o.indeterminate=!0,o.checked=!1}),ee(o=>S(o,"change").pipe(gt(()=>o.hasAttribute("data-md-state")),G(o))),he(t)).subscribe(([o,r])=>{o.removeAttribute("data-md-state"),r&&(o.checked=!1)})}function vs(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function Bi({document$:e}){e.pipe(g(()=>M(...P("[data-md-scrollfix]"))),O(t=>t.removeAttribute("data-md-scrollfix")),L(vs),ee(t=>S(t,"touchstart").pipe(G(t)))).subscribe(t=>{let o=t.scrollTop;o===0?t.scrollTop=1:o+t.offsetHeight===t.scrollHeight&&(t.scrollTop=o-1)})}function Yi({viewport$:e,tablet$:t}){q([Xt("search"),t]).pipe(f(([o,r])=>o&&!r),g(o=>M(o).pipe(He(o?400:100),N(B))),he(e)).subscribe(([o,{offset:{y:r}}])=>{o?kn(document.body,r):Cn(document.body)})}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var ct=on(),or=mn(),nr=vn(),Qr=fn(),be=On(),ir=St("(min-width: 960px)"),Ji=St("(min-width: 1220px)"),Gi=xn(),Xi=ue(),Zi=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||Me(new URL("search/search_index.json",Xi.base)):J,Kr=new T;Ti({alert$:Kr});re("navigation.instant")&&Oi({document$:ct,location$:or,viewport$:be});var ta;((ta=Xi.version)==null?void 0:ta.provider)==="mike"&&ji();V(or,nr).pipe(He(125)).subscribe(()=>{Ue("drawer",!1),Ue("search",!1)});Qr.pipe(L(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=le("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let o=le("[href][rel=next]");typeof o!="undefined"&&o.click();break}});Ki({document$:ct,tablet$:ir});Bi({document$:ct});Yi({viewport$:be,tablet$:ir});var Ve=gi(Le("header"),{viewport$:be}),ar=ct.pipe(f(()=>Le("main")),g(e=>wi(e,{viewport$:be,header$:Ve})),te(1)),xs=V(...oe("consent").map(e=>Mn(e,{target$:nr})),...oe("dialog").map(e=>xi(e,{alert$:Kr})),...oe("header").map(e=>yi(e,{viewport$:be,header$:Ve,main$:ar})),...oe("palette").map(e=>Ei(e)),...oe("search").map(e=>$i(e,{index$:Zi,keyboard$:Qr})),...oe("source").map(e=>zi(e))),gs=de(()=>V(...oe("content").map(e=>vi(e,{target$:nr,viewport$:be,print$:Gi})),...oe("content").map(e=>re("search.highlight")?Wi(e,{index$:Zi,location$:or}):J),...oe("header-title").map(e=>Si(e,{viewport$:be,header$:Ve})),...oe("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Fr(Ji,()=>qr(e,{viewport$:be,header$:Ve,main$:ar})):Fr(ir,()=>qr(e,{viewport$:be,header$:Ve,main$:ar}))),...oe("tabs").map(e=>Ni(e,{viewport$:be,header$:Ve})),...oe("toc").map(e=>qi(e,{viewport$:be,header$:Ve})),...oe("top").map(e=>Qi(e,{viewport$:be,header$:Ve,main$:ar})))),ea=ct.pipe(g(()=>gs),je(xs),te(1));ea.subscribe();window.document$=ct;window.location$=or;window.target$=nr;window.keyboard$=Qr;window.viewport$=be;window.tablet$=ir;window.screen$=Ji;window.print$=Gi;window.alert$=Kr;window.component$=ea;})();