text: function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t(e){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(e)}function n(e,t){return n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(e,t)}function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function o(e,t,a){return o=r()?Reflect.construct:function(e,t,r){var o=[null];o.push.apply(o,t);var a=new(Function.bind.apply(e,o));return r&&n(a,r.prototype),a},o.apply(null,arguments)}function a(e){var r="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||(a=e,-1===Function.toString.call(a).indexOf("[native code]")))return e;var a;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,i)}function i(){return o(e,arguments,t(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n(i,e)},a(e)}function i(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}var u,d,s,f,m=function(o){var c=function(o){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(f,o);var a,c,l,u,d,s=(a=f,c=r(),function(){var e,n=t(a);if(c){var r=t(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return i(this,e)});function f(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);var t=(e=s.call(this)).attachShadow({mode:"open"}),n=document.createElement("style");return n.textContent="\n      :host {\n        display: block;\n        line-height: initial;\n        font-size: 16px;\n      }\n      div.diagram {\n        margin: 0;\n        overflow: visible;\n      }",t.appendChild(n),e}return l=f,u&&e(l.prototype,u),d&&e(l,d),Object.defineProperty(l,"prototype",{writable:!1}),l}(a(HTMLElement));void 0===customElements.get("diagram-div")&&customElements.define("diagram-div",c);var l={startOnLoad:!1,theme:"default",flowchart:{htmlLabels:!1},er:{useMaxWidth:!1},sequence:{useMaxWidth:!1,noteFontWeight:"14px",actorFontSize:"14px",messageFontSize:"16px"}};mermaid.mermaidAPI.globalReset();var u=null;try{u=document.querySelector("[data-md-color-scheme]").getAttribute("data-md-color-scheme")}catch(e){u="default"}var d="undefined"==typeof mermaidConfig?l:mermaidConfig[u]||mermaidConfig.default||l;mermaid.initialize(d);for(var s=document.querySelectorAll("pre.".concat(o,", diagram-div")),f=document.querySelector("html"),m=function(e){var t=s[e],n="diagram-div"===t.tagName.toLowerCase()?t.shadowRoot.querySelector("pre.".concat(o)):t,r=document.createElement("div");r.style.visibility="hidden",r.style.display="display",r.style.padding="0",r.style.margin="0",r.style.lineHeight="initial",r.style.fontSize="16px",f.appendChild(r);try{mermaid.mermaidAPI.render("_diagram_".concat(e),function(e){for(var t="",n=0;n<e.childNodes.length;n++){var r=e.childNodes[n];if("code"===r.tagName.toLowerCase())for(var o=0;o<r.childNodes.length;o++){var a=r.childNodes[o];if("#text"===a.nodeName&&!/^\s*$/.test(a.nodeValue)){t=a.nodeValue;break}}}return t}(n),(function(e){var r=document.createElement("div");r.className=o,r.innerHTML=e;var a=document.createElement("diagram-div");a.shadowRoot.appendChild(r),t.parentNode.insertBefore(a,t),n.style.display="none",a.shadowRoot.appendChild(n),n!==t&&t.parentNode.removeChild(t)}),r)}catch(e){}f.contains(r)&&f.removeChild(r)},y=0;y<s.length;y++)m(y)},y=function(e,t){if("katex"===t)for(var n=document.querySelectorAll(".".concat(e)),r=0;r<n.length;r++){var o=n[r].textContent||n[r].innerText;o.startsWith("\\(")&&o.endsWith("\\)")?katex.render(o.slice(2,-2),n[r],{displayMode:!1}):o.startsWith("\\[")&&o.endsWith("\\]")&&katex.render(o.slice(2,-2),n[r],{displayMode:!0})}else"mathjax"===t&&MathJax.typesetPromise()},p=function(e){var t=e.target;if(e.target.matches(".tabbed-labels")){var n=t.scrollWidth-t.clientWidth;if(t.classList.remove("tabbed-scroll-left","tabbed-scroll-right"),"resize"===e.type||"scroll"===e.type){if(0===n)return;t.scrollLeft?t.scrollLeft<n-3?t.classList.add("tabbed-scroll-left","tabbed-scroll-right"):t.classList.add("tabbed-scroll-left"):t.classList.add("tabbed-scroll-right")}}},b=function(e){var t=e.target,n=t.closest(".tabbed-set").querySelector("input:checked"),r=null;if(t.classList.contains("tabbed-scroll-right")&&e.offsetX>=e.target.offsetWidth-15){var o=n.nextSibling;r=n,o&&"INPUT"===o.tagName&&(r=o)}else if(t.classList.contains("tabbed-scroll-left")&&e.offsetX<=15){var a=n.previousSibling;r=n,a&&"INPUT"===a.tagName&&(r=a)}r&&r.click()},h=new ResizeObserver((function(e){e.forEach((function(e){p({target:e.target,type:"resize"})}))})),v=function(){var e;e=document.querySelectorAll(".tabbed-alternate > .tabbed-labels"),h.disconnect(),e.forEach((function(e){p({target:e,type:"resize"}),h.observe(e),e.addEventListener("resize",p),e.addEventListener("scroll",p),e.addEventListener("click",b)})),function(){var e,t=l(document.querySelectorAll(".tabbed-alternate > input"));try{var n=function(){var t=e.value;t.addEventListener("change",(function(){document.querySelector("label[for=".concat(t.id,"]")).scrollIntoView({block:"nearest",inline:"nearest",behavior:"smooth"})}))};for(t.s();!(e=t.n()).done;)n()}catch(e){t.e(e)}finally{t.f()}}(),function(){var e,t=l(document.querySelectorAll(".tabbed-set > input"));try{var n=function(){var t=e.value;t.addEventListener("click",(function(){var e,n=document.querySelector("label[for=".concat(t.id,"]")),r=n.getBoundingClientRect().top,o=n.innerHTML,a=l(document.querySelectorAll(".tabbed-set > label, .tabbed-alternate > .tabbed-labels > label"));try{for(a.s();!(e=a.n()).done;){var i=e.value;i.innerHTML===o&&(document.querySelector("input[id=".concat(i.getAttribute("for"),"]")).checked=!0)}}catch(e){a.e(e)}finally{a.f()}var c=n.getBoundingClientRect().top-r;window.scrollBy(0,c)}))};for(t.s();!(e=t.n()).done;)n()}catch(e){t.e(e)}finally{t.f()}}()};u=Promise.resolve(),d=Promise.resolve(),s=new MutationObserver((function(e){e.forEach((function(e){if("attributes"===e.type){var t=e.target.getAttribute("data-md-color-scheme");t||(t="default"),localStorage.setItem("data-md-color-scheme",t),"undefined"!=typeof mermaid&&m("diagram")}}))})),f=function(){s.observe(document.querySelector("body"),{attributeFilter:["data-md-color-scheme"]}),v(),"undefined"!=typeof mermaid&&(u=u.then((function(){m("diagram")})).catch((function(e){console.log("UML loading failed...".concat(e))}))),"undefined"!=typeof katex?d=d.then((function(){y("arithmatex","katex")})).catch((function(e){console.log("Math loading failed...".concat(e))})):"undefined"!=typeof MathJax&&"typesetPromise"in MathJax&&(d=d.then((function(){y("arithmatex","mathjax")})).catch((function(e){console.log("Math loading failed...".concat(e))})))},window.document$?window.document$.subscribe(f):document.addEventListener("DOMContentLoaded",f)}();
  //# sourceMappingURL=extra-loader-9e2c67b9.js.map
  