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

109 lines
84 KiB
JavaScript

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