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