UNPKG

@mxtommy/kip

Version:

An advanced and versatile marine instrumentation package to display Signal K data.

15 lines (14 loc) 35.9 kB
var _self=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT <https://opensource.org/licenses/MIT> * @author Lea Verou <https://lea.verou.me> * @namespace * @public */var Prism=(function(l){var b=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,O=0,f={},n={manual:l.Prism&&l.Prism.manual,disableWorkerMessageHandler:l.Prism&&l.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof o?new o(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++O}),t.__id},clone:function t(e,r){r=r||{};var a,i;switch(n.util.type(e)){case"Object":if(i=n.util.objId(e),r[i])return r[i];a={},r[i]=a;for(var c in e)e.hasOwnProperty(c)&&(a[c]=t(e[c],r));return a;case"Array":return i=n.util.objId(e),r[i]?r[i]:(a=[],r[i]=a,e.forEach(function(y,d){a[d]=t(y,r)}),a);default:return e}},getLanguage:function(t){for(;t;){var e=b.exec(t.className);if(e)return e[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,e){t.className=t.className.replace(RegExp(b,"gi"),""),t.classList.add("language-"+e)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(a){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(a.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var r in e)if(e[r].src==t)return e[r]}return null}},isActive:function(t,e,r){for(var a="no-"+e;t;){var i=t.classList;if(i.contains(e))return!0;if(i.contains(a))return!1;t=t.parentElement}return!!r}},languages:{plain:f,plaintext:f,text:f,txt:f,extend:function(t,e){var r=n.util.clone(n.languages[t]);for(var a in e)r[a]=e[a];return r},insertBefore:function(t,e,r,a){a=a||n.languages;var i=a[t],c={};for(var y in i)if(i.hasOwnProperty(y)){if(y==e)for(var d in r)r.hasOwnProperty(d)&&(c[d]=r[d]);r.hasOwnProperty(y)||(c[y]=i[y])}var s=a[t];return a[t]=c,n.languages.DFS(n.languages,function(u,p){p===s&&u!=t&&(this[u]=c)}),c},DFS:function t(e,r,a,i){i=i||{};var c=n.util.objId;for(var y in e)if(e.hasOwnProperty(y)){r.call(e,y,e[y],a||y);var d=e[y],s=n.util.type(d);s==="Object"&&!i[c(d)]?(i[c(d)]=!0,t(d,r,null,i)):s==="Array"&&!i[c(d)]&&(i[c(d)]=!0,t(d,r,y,i))}}},plugins:{},highlightAll:function(t,e){n.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,r){var a={callback:r,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",a),a.elements=Array.prototype.slice.apply(a.container.querySelectorAll(a.selector)),n.hooks.run("before-all-elements-highlight",a);for(var i=0,c;c=a.elements[i++];)n.highlightElement(c,e===!0,a.callback)},highlightElement:function(t,e,r){var a=n.util.getLanguage(t),i=n.languages[a];n.util.setLanguage(t,a);var c=t.parentElement;c&&c.nodeName.toLowerCase()==="pre"&&n.util.setLanguage(c,a);var y=t.textContent,d={element:t,language:a,grammar:i,code:y};function s(p){d.highlightedCode=p,n.hooks.run("before-insert",d),d.element.innerHTML=d.highlightedCode,n.hooks.run("after-highlight",d),n.hooks.run("complete",d),r&&r.call(d.element)}if(n.hooks.run("before-sanity-check",d),c=d.element.parentElement,c&&c.nodeName.toLowerCase()==="pre"&&!c.hasAttribute("tabindex")&&c.setAttribute("tabindex","0"),!d.code){n.hooks.run("complete",d),r&&r.call(d.element);return}if(n.hooks.run("before-highlight",d),!d.grammar){s(n.util.encode(d.code));return}if(e&&l.Worker){var u=new Worker(n.filename);u.onmessage=function(p){s(p.data)},u.postMessage(JSON.stringify({language:d.language,code:d.code,immediateClose:!0}))}else s(n.highlight(d.code,d.grammar,d.language))},highlight:function(t,e,r){var a={code:t,grammar:e,language:r};if(n.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=n.tokenize(a.code,a.grammar),n.hooks.run("after-tokenize",a),o.stringify(n.util.encode(a.tokens),a.language)},tokenize:function(t,e){var r=e.rest;if(r){for(var a in r)e[a]=r[a];delete e.rest}var i=new g;return A(i,i.head,t),k(t,i,e,i.head,0),I(i)},hooks:{all:{},add:function(t,e){var r=n.hooks.all;r[t]=r[t]||[],r[t].push(e)},run:function(t,e){var r=n.hooks.all[t];if(!(!r||!r.length))for(var a=0,i;i=r[a++];)i(e)}},Token:o};l.Prism=n;function o(t,e,r,a){this.type=t,this.content=e,this.alias=r,this.length=(a||"").length|0}o.stringify=function t(e,r){if(typeof e=="string")return e;if(Array.isArray(e)){var a="";return e.forEach(function(s){a+=t(s,r)}),a}var i={type:e.type,content:t(e.content,r),tag:"span",classes:["token",e.type],attributes:{},language:r},c=e.alias;c&&(Array.isArray(c)?Array.prototype.push.apply(i.classes,c):i.classes.push(c)),n.hooks.run("wrap",i);var y="";for(var d in i.attributes)y+=" "+d+'="'+(i.attributes[d]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+y+">"+i.content+"</"+i.tag+">"};function h(t,e,r,a){t.lastIndex=e;var i=t.exec(r);if(i&&a&&i[1]){var c=i[1].length;i.index+=c,i[0]=i[0].slice(c)}return i}function k(t,e,r,a,i,c){for(var y in r)if(!(!r.hasOwnProperty(y)||!r[y])){var d=r[y];d=Array.isArray(d)?d:[d];for(var s=0;s<d.length;++s){if(c&&c.cause==y+","+s)return;var u=d[s],p=u.inside,S=!!u.lookbehind,x=!!u.greedy,v=u.alias;if(x&&!u.pattern.global){var T=u.pattern.toString().match(/[imsuy]*$/)[0];u.pattern=RegExp(u.pattern.source,T+"g")}for(var $=u.pattern||u,_=a.next,L=i;_!==e.tail&&!(c&&L>=c.reach);L+=_.value.length,_=_.next){var P=_.value;if(e.length>t.length)return;if(!(P instanceof o)){var N=1,R;if(x){if(R=h($,L,t,S),!R||R.index>=t.length)break;var M=R.index,q=R.index+R[0].length,C=L;for(C+=_.value.length;M>=C;)_=_.next,C+=_.value.length;if(C-=_.value.length,L=C,_.value instanceof o)continue;for(var D=_;D!==e.tail&&(C<q||typeof D.value=="string");D=D.next)N++,C+=D.value.length;N--,P=t.slice(L,C),R.index-=L}else if(R=h($,0,P,S),!R)continue;var M=R.index,H=R[0],j=P.slice(0,M),B=P.slice(M+H.length),U=L+P.length;c&&U>c.reach&&(c.reach=U);var G=_.prev;j&&(G=A(e,G,j),L+=j.length),w(e,G,N);var X=new o(y,p?n.tokenize(H,p):H,v,H);if(_=A(e,G,X),B&&A(e,_,B),N>1){var z={cause:y+","+s,reach:U};k(t,e,r,_.prev,L,z),c&&z.reach>c.reach&&(c.reach=z.reach)}}}}}}function g(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function A(t,e,r){var a=e.next,i={value:r,prev:e,next:a};return e.next=i,a.prev=i,t.length++,i}function w(t,e,r){for(var a=e.next,i=0;i<r&&a!==t.tail;i++)a=a.next;e.next=a,a.prev=e,t.length-=i}function I(t){for(var e=[],r=t.head.next;r!==t.tail;)e.push(r.value),r=r.next;return e}if(!l.document)return l.addEventListener&&(n.disableWorkerMessageHandler||l.addEventListener("message",function(t){var e=JSON.parse(t.data),r=e.language,a=e.code,i=e.immediateClose;l.postMessage(n.highlight(a,n.languages[r],r)),i&&l.close()},!1)),n;var E=n.util.currentScript();E&&(n.filename=E.src,E.hasAttribute("data-manual")&&(n.manual=!0));function m(){n.manual||n.highlightAll()}if(!n.manual){var F=document.readyState;F==="loading"||F==="interactive"&&E&&E.defer?document.addEventListener("DOMContentLoaded",m):window.requestAnimationFrame?window.requestAnimationFrame(m):window.setTimeout(m,16)}return n})(_self);typeof module<"u"&&module.exports&&(module.exports=Prism),typeof global<"u"&&(global.Prism=Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(l){l.type==="entity"&&(l.attributes.title=l.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(b,O){var f={};f["language-"+O]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[O]},f.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:f}};n["language-"+O]={pattern:/[\s\S]+/,inside:Prism.languages[O]};var o={};o[b]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return b}),"i"),lookbehind:!0,greedy:!0,inside:n},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(l,b){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+l+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[b,"language-"+b],inside:Prism.languages[b]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,(function(l){var b=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;l.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+b.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+b.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+b.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+b.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:b,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},l.languages.css.atrule.inside.rest=l.languages.css;var O=l.languages.markup;O&&(O.tag.addInlined("style","css"),O.tag.addAttribute("style","css"))})(Prism),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript,(function(){if(typeof Prism>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var l="Loading\u2026",b=function(E,m){return"\u2716 Error "+E+" while fetching file: "+m},O="\u2716 Error: File does not exist or is empty",f={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",o="loading",h="loaded",k="failed",g="pre[data-src]:not(["+n+'="'+h+'"]):not(['+n+'="'+o+'"])';function A(E,m,F){var t=new XMLHttpRequest;t.open("GET",E,!0),t.onreadystatechange=function(){t.readyState==4&&(t.status<400&&t.responseText?m(t.responseText):t.status>=400?F(b(t.status,t.statusText)):F(O))},t.send(null)}function w(E){var m=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(E||"");if(m){var F=Number(m[1]),t=m[2],e=m[3];return t?e?[F,Number(e)]:[F,void 0]:[F,F]}}Prism.hooks.add("before-highlightall",function(E){E.selector+=", "+g}),Prism.hooks.add("before-sanity-check",function(E){var m=E.element;if(m.matches(g)){E.code="",m.setAttribute(n,o);var F=m.appendChild(document.createElement("CODE"));F.textContent=l;var t=m.getAttribute("data-src"),e=E.language;if(e==="none"){var r=(/\.(\w+)$/.exec(t)||[,"none"])[1];e=f[r]||r}Prism.util.setLanguage(F,e),Prism.util.setLanguage(m,e);var a=Prism.plugins.autoloader;a&&a.loadLanguages(e),A(t,function(i){m.setAttribute(n,h);var c=w(m.getAttribute("data-range"));if(c){var y=i.split(/\r\n?|\n/g),d=c[0],s=c[1]==null?y.length:c[1];d<0&&(d+=y.length),d=Math.max(0,Math.min(d-1,y.length)),s<0&&(s+=y.length),s=Math.max(0,Math.min(s,y.length)),i=y.slice(d,s).join(` `),m.hasAttribute("data-start")||m.setAttribute("data-start",String(d+1))}F.textContent=i,Prism.highlightElement(F)},function(i){m.setAttribute(n,k),F.textContent=i})}}),Prism.plugins.fileHighlight={highlight:function(m){for(var F=(m||document).querySelectorAll(g),t=0,e;e=F[t++];)Prism.highlightElement(e)}};var I=!1;Prism.fileHighlight=function(){I||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),I=!0),Prism.plugins.fileHighlight.highlight.apply(this,arguments)}})(),(function(l){var b="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",O={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},f={bash:O,environment:{pattern:RegExp("\\$"+b),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+b),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};l.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+b),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:f},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:O}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:f},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:f.entity}}],environment:{pattern:RegExp("\\$?"+b),alias:"constant"},variable:f.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},O.inside=l.languages.bash;for(var n=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=f.variable[1].inside,h=0;h<n.length;h++)o[n[h]]=l.languages.bash[n[h]];l.languages.sh=l.languages.bash,l.languages.shell=l.languages.bash})(Prism),(function(l){l.languages.typescript=l.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),l.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete l.languages.typescript.parameter,delete l.languages.typescript["literal-property"];var b=l.languages.extend("typescript",{});delete b["class-name"],l.languages.typescript["class-name"].inside=b,l.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:b}}}}),l.languages.ts=l.languages.typescript})(Prism);/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */(function(l,b){typeof exports=="object"&&typeof module=="object"?module.exports=b():typeof define=="function"&&define.amd?define([],b):typeof exports=="object"?exports.ClipboardJS=b():l.ClipboardJS=b()})(this,function(){return b={686:function(f,g,o){"use strict";o.d(g,{default:function(){return d}});var g=o(279),h=o.n(g),g=o(370),k=o.n(g),g=o(817),A=o.n(g);function w(s){try{return document.execCommand(s)}catch{return}}var I=function(s){return s=A()(s),w("cut"),s};function E(x,u){var p,S,x=(p=x,S=document.documentElement.getAttribute("dir")==="rtl",(x=document.createElement("textarea")).style.fontSize="12pt",x.style.border="0",x.style.padding="0",x.style.margin="0",x.style.position="absolute",x.style[S?"right":"left"]="-9999px",S=window.pageYOffset||document.documentElement.scrollTop,x.style.top="".concat(S,"px"),x.setAttribute("readonly",""),x.value=p,x);return u.container.appendChild(x),u=A()(x),w("copy"),x.remove(),u}var m=function(s){var u=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{container:document.body},p="";return typeof s=="string"?p=E(s,u):s instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(s?.type)?p=E(s.value,u):(p=A()(s),w("copy")),p};function F(s){return(F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(s)}var t=function(){var S=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},p=S.action,s=p===void 0?"copy":p,u=S.container,p=S.target,S=S.text;if(s!=="copy"&&s!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(p!==void 0){if(!p||F(p)!=="object"||p.nodeType!==1)throw new Error('Invalid "target" value, use a valid Element');if(s==="copy"&&p.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(s==="cut"&&(p.hasAttribute("readonly")||p.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}return S?m(S,{container:u}):p?s==="cut"?I(p):m(p,{container:u}):void 0};function e(s){return(e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(s)}function r(s,u){for(var p=0;p<u.length;p++){var S=u[p];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(s,S.key,S)}}function a(s,u){return(a=Object.setPrototypeOf||function(p,S){return p.__proto__=S,p})(s,u)}function i(s){var u=(function(){if(typeof Reflect>"u"||!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{return!1}})();return function(){var p,S=c(s);return p=u?(p=c(this).constructor,Reflect.construct(S,arguments,p)):S.apply(this,arguments),S=this,!(p=p)||e(p)!=="object"&&typeof p!="function"?(function(x){if(x!==void 0)return x;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")})(S):p}}function c(s){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)})(s)}function y(s,u){if(s="data-clipboard-".concat(s),u.hasAttribute(s))return u.getAttribute(s)}var d=(function(){(function(v,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(T&&T.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),T&&a(v,T)})(x,h());var s,u,p,S=i(x);function x(v,T){var $;return(function(_){if(!(_ instanceof x))throw new TypeError("Cannot call a class as a function")})(this),($=S.call(this)).resolveOptions(T),$.listenClick(v),$}return s=x,p=[{key:"copy",value:function(v){var T=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{container:document.body};return m(v,T)}},{key:"cut",value:function(v){return I(v)}},{key:"isSupported",value:function(){var v=0<arguments.length&&arguments[0]!==void 0?arguments[0]:["copy","cut"],v=typeof v=="string"?[v]:v,T=!!document.queryCommandSupported;return v.forEach(function($){T=T&&!!document.queryCommandSupported($)}),T}}],(u=[{key:"resolveOptions",value:function(){var v=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof v.action=="function"?v.action:this.defaultAction,this.target=typeof v.target=="function"?v.target:this.defaultTarget,this.text=typeof v.text=="function"?v.text:this.defaultText,this.container=e(v.container)==="object"?v.container:document.body}},{key:"listenClick",value:function(v){var T=this;this.listener=k()(v,"click",function($){return T.onClick($)})}},{key:"onClick",value:function(_){var T=_.delegateTarget||_.currentTarget,$=this.action(T)||"copy",_=t({action:$,container:this.container,target:this.target(T),text:this.text(T)});this.emit(_?"success":"error",{action:$,text:_,trigger:T,clearSelection:function(){T&&T.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(v){return y("action",v)}},{key:"defaultTarget",value:function(v){if(v=y("target",v),v)return document.querySelector(v)}},{key:"defaultText",value:function(v){return y("text",v)}},{key:"destroy",value:function(){this.listener.destroy()}}])&&r(s.prototype,u),p&&r(s,p),x})()},828:function(f){var n;typeof Element>"u"||Element.prototype.matches||((n=Element.prototype).matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector),f.exports=function(o,h){for(;o&&o.nodeType!==9;){if(typeof o.matches=="function"&&o.matches(h))return o;o=o.parentNode}}},438:function(f,n,o){var h=o(828);function k(g,A,w,I,E){var m=function(F,t,e,r){return function(a){a.delegateTarget=h(a.target,t),a.delegateTarget&&r.call(F,a)}}.apply(this,arguments);return g.addEventListener(w,m,E),{destroy:function(){g.removeEventListener(w,m,E)}}}f.exports=function(g,A,w,I,E){return typeof g.addEventListener=="function"?k.apply(null,arguments):typeof w=="function"?k.bind(null,document).apply(null,arguments):(typeof g=="string"&&(g=document.querySelectorAll(g)),Array.prototype.map.call(g,function(m){return k(m,A,w,I,E)}))}},879:function(f,n){n.node=function(o){return o!==void 0&&o instanceof HTMLElement&&o.nodeType===1},n.nodeList=function(o){var h=Object.prototype.toString.call(o);return o!==void 0&&(h==="[object NodeList]"||h==="[object HTMLCollection]")&&"length"in o&&(o.length===0||n.node(o[0]))},n.string=function(o){return typeof o=="string"||o instanceof String},n.fn=function(o){return Object.prototype.toString.call(o)==="[object Function]"}},370:function(f,n,o){var h=o(879),k=o(438);f.exports=function(g,A,w){if(!g&&!A&&!w)throw new Error("Missing required arguments");if(!h.string(A))throw new TypeError("Second argument must be a String");if(!h.fn(w))throw new TypeError("Third argument must be a Function");if(h.node(g))return t=A,e=w,(F=g).addEventListener(t,e),{destroy:function(){F.removeEventListener(t,e)}};if(h.nodeList(g))return I=g,E=A,m=w,Array.prototype.forEach.call(I,function(r){r.addEventListener(E,m)}),{destroy:function(){Array.prototype.forEach.call(I,function(r){r.removeEventListener(E,m)})}};if(h.string(g))return g=g,A=A,w=w,k(document.body,g,A,w);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var I,E,m,F,t,e}},817:function(f){f.exports=function(n){var o,h=n.nodeName==="SELECT"?(n.focus(),n.value):n.nodeName==="INPUT"||n.nodeName==="TEXTAREA"?((o=n.hasAttribute("readonly"))||n.setAttribute("readonly",""),n.select(),n.setSelectionRange(0,n.value.length),o||n.removeAttribute("readonly"),n.value):(n.hasAttribute("contenteditable")&&n.focus(),h=window.getSelection(),(o=document.createRange()).selectNodeContents(n),h.removeAllRanges(),h.addRange(o),h.toString());return h}},279:function(f){function n(){}n.prototype={on:function(o,h,k){var g=this.e||(this.e={});return(g[o]||(g[o]=[])).push({fn:h,ctx:k}),this},once:function(o,h,k){var g=this;function A(){g.off(o,A),h.apply(k,arguments)}return A._=h,this.on(o,A,k)},emit:function(o){for(var h=[].slice.call(arguments,1),k=((this.e||(this.e={}))[o]||[]).slice(),g=0,A=k.length;g<A;g++)k[g].fn.apply(k[g].ctx,h);return this},off:function(o,h){var k=this.e||(this.e={}),g=k[o],A=[];if(g&&h)for(var w=0,I=g.length;w<I;w++)g[w].fn!==h&&g[w].fn._!==h&&A.push(g[w]);return A.length?k[o]=A:delete k[o],this}},f.exports=n,f.exports.TinyEmitter=n}},O={},l.n=function(f){var n=f&&f.__esModule?function(){return f.default}:function(){return f};return l.d(n,{a:n}),n},l.d=function(f,n){for(var o in n)l.o(n,o)&&!l.o(f,o)&&Object.defineProperty(f,o,{enumerable:!0,get:n[o]})},l.o=function(f,n){return Object.prototype.hasOwnProperty.call(f,n)},l(686).default;function l(f){if(O[f])return O[f].exports;var n=O[f]={exports:{}};return b[f](n,n.exports,l),n.exports}var b,O});