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