var_self="undefined"!=typeofwindow?window:"undefined"!=typeofWorkerGlobalScope&&selfinstanceofWorkerGlobalScope?self:{},Prism=function(e){varn=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:functione(n){returnninstanceofi?newi(n.type,e(n.content),n.alias):Array.isArray(n)?n.map(e):n.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){returnObject.prototype.toString.call(e).slice(8,-1)},objId:function(e){returne.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:functione(n,t){varr,i;switch(t=t||{},a.util.type(n)){case"Object":if(i=a.util.objId(n),t[i])returnt[i];for(varlinr={},t[i]=r,n)n.hasOwnProperty(l)&&(r[l]=e(n[l],t));returnr;case"Array":returni=a.util.objId(n),t[i]?t[i]:(r=[],t[i]=r,n.forEach((function(n,a){r[a]=e(n,t)})),r);default:returnn}},getLanguage:function(e){for(;e;){vart=n.exec(e.className);if(t)returnt[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,t){e.className=e.className.replace(RegExp(n,"gi"),""),e.classList.add("language-"+t)},currentScript:function(){if("undefined"==typeofdocument)returnnull;if("currentScript"indocument)returndocument.currentScript;try{thrownewError}catch(r){vare=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){varn=document.getElementsByTagName("script");for(vartinn)if(n[t].src==e)returnn[t]}returnnull}},isActive:function(e,n,t){for(varr="no-"+n;e;){vara=e.classList;if(a.contains(n))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!t}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,n){vart=a.util.clone(a.languages[e]);for(varrinn)t[r]=n[r];returnt},insertBefore:function(e,n,t,r){vari=(r=r||a.languages)[e],l={};for(varoini)if(i.hasOwnProperty(o)){if(o==n)for(varsint)t.hasOwnProperty(s)&&(l[s]=t[s]);t.hasOwnProperty(o)||(l[o]=i[o])}varu=r[e];returnr[e]=l,a.languages.DFS(a.languages,(function(n,t){t===u&&n!=e&&(this[n]=l)})),l},DFS:functione(n,t,r,i){i=i||{};varl=a.util.objId;for(varoinn)if(n.hasOwnProperty(o)){t.call(n,o,n[o],r||o);vars=n[o],u=a.util.type(s);"Object"!==u||i[l(s)]?"Array"!==u||i[l(s)]||(i[l(s)]=!0,e(s,t,o,i)):(i[l(s)]=!0,e(s,t,null,i))}}},plugins:{},highlightAll:function(e,n){a.highlightAllUnder(document,e,n)},highlightAllUnder:function(e,n,t){varr={callback:t,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),a.hooks.run("before-all-elements-highlight",r);for(vari,l=0;i=r.elements[l++];)a.highlightElement(i,!0===n,r.callback)},highlightElement:function(n,t,r){vari=a.util.getLanguage(n),l=a.languages[i];a.util.setLanguage(n,i);varo=n.parentElement;o&&"pre"===o.nodeName.toLowerCase()&&a.util.setLanguage(o,i);vars={element:n,language:i,grammar:l,code:n.textContent};functionu(e){s.highlightedCode=e,a.hooks.run("before-insert",s),s.element.innerHTML=s.highlightedCode,a.hooks.run("after-highlight",s),a.hooks.run("complete",s),r&&r.call(s.element)}if(a.hooks.run("before-sanity-check",s),(o=s.element.parentElement)&&"pre"===o.nodeName.toLowerCase()&&!o.hasAttribute("tabindex")&&o.setAttribute("tabindex","0"),!s.code)returna.hooks.run("complete",s),void(r&&r.call(s.element));if(a.hooks.run("before-highlight",s),s.grammar)if(t&&e.Worker){varc=newWorker(a.filename);c.onmessage=function(e){u(e.data)},c.postMessage(JSON.stringify({language:s.language,code:s.code,immediateClose:!0}))}elseu(a.highlight(s.code,s.grammar,s.language));elseu(a.util.encode(s.code))},highlight:function(e,n,t){varr={code:e,grammar:n,language:t};if(a.hooks.run("before-tokenize",r),!r.grammar)thrownewError('The language "'+r.language+'" has no grammar.');returnr.tokens=a.tokenize(r.code,r.grammar),a.hooks.run("after-tokenize",r),i.stringify(a.util.encode(r.tokens),r.language)},tokenize:function(e,n){vart=n.rest;if(
!function(){if("undefined"!=typeofPrism&&"undefined"!=typeofdocument){vare=[],t={},n=function(){};Prism.plugins.toolbar={};vara=Prism.plugins.toolbar.registerButton=function(n,a){varr;r="function"==typeofa?a:function(e){vart;return"function"==typeofa.onClick?((t=document.createElement("button")).type="button",t.addEventListener("click",(function(){a.onClick.call(this,e)}))):"string"==typeofa.url?(t=document.createElement("a")).href=a.url:t=document.createElement("span"),a.className&&t.classList.add(a.className),t.textContent=a.text,t},nint?console.warn('There is a button with the key "'+n+'" registered already.'):e.push(t[n]=r)},r=Prism.plugins.toolbar.hook=function(a){varr=a.element.parentNode;if(r&&/pre/i.test(r.nodeName)&&!r.parentNode.classList.contains("code-toolbar")){varo=document.createElement("div");o.classList.add("code-toolbar"),r.parentNode.insertBefore(o,r),o.appendChild(r);vari=document.createElement("div");i.classList.add("toolbar");varl=e,d=function(e){for(;e;){vart=e.getAttribute("data-toolbar-order");if(null!=t)return(t=t.trim()).length?t.split(/\s*,\s*/g):[];e=e.parentElement}}(a.element);d&&(l=d.map((function(e){returnt[e]||n}))),l.forEach((function(e){vart=e(a);if(t){varn=document.createElement("div");n.classList.add("toolbar-item"),n.appendChild(t),i.appendChild(n)}})),o.appendChild(i)}};a("label",(function(e){vart=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-label")){varn,a,r=t.getAttribute("data-label");try{a=document.querySelector("template#"+r)}catch(e){}returna?n=a.content:(t.hasAttribute("data-url")?(n=document.createElement("a")).href=t.getAttribute("data-url"):n=document.createElement("span"),n.textContent=r),n}})),Prism.hooks.add("complete",r)}}();
!function(){functiont(t){vare=document.createElement("textarea");e.value=t.getText(),e.style.top="0",e.style.left="0",e.style.position="fixed",document.body.appendChild(e),e.focus(),e.select();try{varo=document.execCommand("copy");setTimeout((function(){o?t.success():t.error()}),1)}catch(e){setTimeout((function(){t.error(e)}),1)}document.body.removeChild(e)}"undefined"!=typeofPrism&&"undefined"!=typeofdocument&&(Prism.plugins.toolbar?Prism.plugins.toolbar.registerButton("copy-to-clipboard",(function(e){varo=e.element,n=function(t){vare={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3};for(varoine){for(varn="data-prismjs-"+o,c=t;c&&!c.hasAttribute(n);)c=c.parentElement;c&&(e[o]=c.getAttribute(n))}returne}(o),c=document.createElement("button");c.className="copy-to-clipboard-button",c.setAttribute("type","button");varr=document.createElement("span");returnc.appendChild(r),u("copy"),function(e,o){e.addEventListener("click",(function(){!function(e){navigator.clipboard?navigator.clipboard.writeText(e.getText()).then(e.success,(function(){t(e)})):t(e)}(o)}))}(c,{getText:function(){returno.textContent},success:function(){u("copy-success"),i()},error:function(){u("copy-error"),setTimeout((function(){!function(t){window.getSelection().selectAllChildren(t)}(o)}),1),i()}}),c;functioni(){setTimeout((function(){u("copy")}),n["copy-timeout"])}functionu(t){r.textContent=n[t],c.setAttribute("data-copy-state",t)}})):console.warn("Copy to Clipboard plugin loaded before Toolbar plugin."))}();