var _self=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{},Prism=function(n){function i(n,t,i,r,u){this.type=n;this.content=t;this.alias=i;this.length=(r||"").length|0;this.greedy=!!u}var r=/\blang(?:uage)?-([\w-]+)\b/i,o=0,t={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function(n){return n instanceof i?new i(n.type,t.util.encode(n.content),n.alias):Array.isArray(n)?n.map(t.util.encode):n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(n){return Object.prototype.toString.call(n).slice(8,-1)},objId:function(n){return n.__id||Object.defineProperty(n,"__id",{value:++o}),n.__id},clone:function f(n,i){var r,u,o=t.util.type(n),e;i=i||{};switch(o){case"Object":if(u=t.util.objId(n),i[u])return i[u];r={};i[u]=r;for(e in n)n.hasOwnProperty(e)&&(r[e]=f(n[e],i));return r;case"Array":return(u=t.util.objId(n),i[u])?i[u]:(r=[],i[u]=r,n.forEach(function(n,t){r[t]=f(n,i)}),r);default:return n}}},languages:{extend:function(n,i){var r=t.util.clone(t.languages[n]);for(var u in i)r[u]=i[u];return r},insertBefore:function(n,i,r,u){var o,f,e,s,h;u=u||t.languages;o=u[n];f={};for(e in o)if(o.hasOwnProperty(e)){if(e==i)for(s in r)r.hasOwnProperty(s)&&(f[s]=r[s]);r.hasOwnProperty(e)||(f[e]=o[e])}return h=u[n],u[n]=f,t.languages.DFS(t.languages,function(t,i){i===h&&t!=n&&(this[t]=f)}),f},DFS:function e(n,i,r,u){var s,o,f,h;u=u||{};s=t.util.objId;for(o in n)n.hasOwnProperty(o)&&(i.call(n,o,n[o],r||o),f=n[o],h=t.util.type(f),h!=="Object"||u[s(f)]?h!=="Array"||u[s(f)]||(u[s(f)]=!0,e(f,i,o,u)):(u[s(f)]=!0,e(f,i,null,u)))}},plugins:{},highlightAll:function(n,i){t.highlightAllUnder(document,n,i)},highlightAllUnder:function(n,i,r){var u={callback:r,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'},f,e,o;for(t.hooks.run("before-highlightall",u),f=n.querySelectorAll(u.selector),e=0;o=f[e++];)t.highlightElement(o,i===!0,u.callback)},highlightElement:function(i,u,f){for(var s="none",l,o=i,c;o&&!r.test(o.className);)o=o.parentNode;o&&(s=(o.className.match(r)||[,"none"])[1].toLowerCase(),l=t.languages[s]);i.className=i.className.replace(r,"").replace(/\s+/g," ")+" language-"+s;i.parentNode&&(o=i.parentNode,/pre/i.test(o.nodeName)&&(o.className=o.className.replace(r,"").replace(/\s+/g," ")+" language-"+s));var a=i.textContent,e={element:i,language:s,grammar:l,code:a},h=function(n){e.highlightedCode=n;t.hooks.run("before-insert",e);e.element.innerHTML=e.highlightedCode;t.hooks.run("after-highlight",e);t.hooks.run("complete",e);f&&f.call(e.element)};if(t.hooks.run("before-sanity-check",e),!e.code){t.hooks.run("complete",e);return}if(t.hooks.run("before-highlight",e),!e.grammar){h(t.util.encode(e.code));return}u&&n.Worker?(c=new Worker(t.filename),c.onmessage=function(n){h(n.data)},c.postMessage(JSON.stringify({language:e.language,code:e.code,immediateClose:!0}))):h(t.highlight(e.code,e.grammar,e.language))},highlight:function(n,r,u){var f={code:n,grammar:r,language:u};return t.hooks.run("before-tokenize",f),f.tokens=t.tokenize(f.code,f.grammar),t.hooks.run("after-tokenize",f),i.stringify(t.util.encode(f.tokens),f.language)},matchGrammar:function(n,r,u,f,e,o,s){var v,y,k,et,l,a,p,st,h,d,ct;for(v in u)if(u.hasOwnProperty(v)&&u[v]){if(v==s)return;for(y=u[v],y=t.util.type(y)==="Array"?y:[y],k=0;k<y.length;++k){var c=y[k],ut=c.inside,ft=!!c.lookbehind,nt=!!c.greedy,tt=0,lt=c.alias;for(nt&&!c.pattern.global&&(et=c.pattern.toString().match(/[imuy]*$/)[0],c.pattern=RegExp(c.pattern.source,et+"g")),c=c.pattern||c,l=f,a=e;l<r.length;a+=r[l].length,++l){if(p=r[l],r.length>n.length)return;if(!(p instanceof i)){if(nt&&l!=r.length-1){if(c.lastIndex=a,h=c.exec(n),!h)break;var it=h.index+(ft?h[1].length:0),ot=h.index+h[0].length,w=l,b=a;for(st=r.length;w<st&&(b<ot||!r[w].type&&!r[w-1].greedy);++w)b+=r[w].length,it>=b&&(++l,a=b);if(r[l]instanceof i)continue;d=w-l;p=n.slice(a,b);h.index-=a}else c.lastIndex=0,h=c.exec(p),d=1;if(!h){if(o)break;continue}ft&&(tt=h[1]?h[1].length:0);var it=h.index+tt,h=h[0].slice(tt),ot=it+h.length,rt=p.slice(0,it),ht=p.slice(ot),g=[l,d];if(rt&&(++l,a+=rt.length,g.push(rt)),ct=new i(v,ut?t.tokenize(h,ut):h,lt,h,nt),g.push(ct),ht&&g.push(ht),Array.prototype.splice.apply(r,g),d!=1&&t.matchGrammar(n,r,u,l,a,!0,v),o)break}}}}},tokenize:function(n,i){var f=[n],r=i.rest,u;if(r){for(u in r)i[u]=r[u];delete i.rest}return t.matchGrammar(n,f,i,0,0,!1),f},hooks:{all:{},add:function(n,i){var r=t.hooks.all;r[n]=r[n]||[];r[n].push(i)},run:function(n,i){var r=t.hooks.all[n],u,f;if(r&&r.length)for(u=0;f=r[u++];)f(i)}},Token:i},u;return(n.Prism=t,i.stringify=function(n,r){var u,e,f;return typeof n=="string"?n:Array.isArray(n)?n.map(function(n){return i.stringify(n,r)}).join(""):(u={type:n.type,content:i.stringify(n.content,r),tag:"span",classes:["token",n.type],attributes:{},language:r},n.alias&&(e=Array.isArray(n.alias)?n.alias:[n.alias],Array.prototype.push.apply(u.classes,e)),t.hooks.run("wrap",u),f=Object.keys(u.attributes).map(function(n){return n+'="'+(u.attributes[n]||"").replace(/"/g,"&quot;")+'"'}).join(" "),"<"+u.tag+' class="'+u.classes.join(" ")+'"'+(f?" "+f:"")+">"+u.content+"<\/"+u.tag+">")},!n.document)?n.addEventListener?(t.disableWorkerMessageHandler||n.addEventListener("message",function(i){var r=JSON.parse(i.data),u=r.language,f=r.code,e=r.immediateClose;n.postMessage(t.highlight(f,t.languages[u],u));e&&n.close()},!1),t):t:(u=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop(),u&&(t.filename=u.src,t.manual||u.hasAttribute("data-manual")||(document.readyState!=="loading"?window.requestAnimationFrame?window.requestAnimationFrame(t.highlightAll):window.setTimeout(t.highlightAll,16):document.addEventListener("DOMContentLoaded",t.highlightAll))),t)}(_self);typeof module!="undefined"&&module.exports&&(module.exports=Prism);typeof global!="undefined"&&(global.Prism=Prism),function(){function y(n,t,i){var r=document.createElement("script");r.src=n;r.async=!0;r.onload=function(){document.body.removeChild(r);t&&t()};r.onerror=function(){document.body.removeChild(r);i&&i()};document.body.appendChild(r)}function p(n){return e.languages_path+"prism-"+n+(e.use_minified?".min":"")+".js"}function w(n,t){n in u&&(n=u[n]);var i=t.getAttribute("data-dependencies"),r=t.parentElement;!i&&r&&r.tagName.toLowerCase()==="pre"&&(i=r.getAttribute("data-dependencies"));i=i?i.split(/\s*,\s*/g):[];o(i,function(){l(n,function(){Prism.highlightElement(t)})})}function o(n,t,i){function e(){r||(f++,f===u&&t&&t(n))}typeof n=="string"&&(n=[n]);var u=n.length,f=0,r=!1;if(u===0){t&&setTimeout(t,0);return}n.forEach(function(n){l(n,e,function(){r||(r=!0,i&&i(n))})})}function l(n,i,f){var s=n.indexOf("!")>=0,h,e;n=n.replace("!","");n=u[n]||n;h=function(){var u=t[n],e;u||(u=t[n]={callbacks:[]});u.callbacks.push({success:i,error:f});!s&&Prism.languages[n]?r(n,"success"):!s&&u.error?r(n,"error"):(s||!u.loading)&&(u.loading=!0,e=p(n),y(e,function(){u.loading=!1;r(n,"success")},function(){u.loading=!1;u.error=!0;r(n,"error")}))};e=a[n];e&&e.length?o(e,h,f):h()}function r(n,i){var r,u,e,f;if(t[n]){for(r=t[n].callbacks,u=0,e=r.length;u<e;u++)f=r[u][i],f&&setTimeout(f,0);r.length=0}}var n,e;if(typeof self!="undefined"&&self.Prism&&self.document&&document.createElement){var a={javascript:"clike",actionscript:"javascript",arduino:"cpp",aspnet:["markup","csharp"],bison:"c",c:"clike",csharp:"clike",cpp:"c",coffeescript:"javascript",crystal:"ruby","css-extras":"css",d:"clike",dart:"clike",django:"markup-templating",ejs:["javascript","markup-templating"],erb:["ruby","markup-templating"],fsharp:"clike",flow:"javascript",glsl:"clike",gml:"clike",go:"clike",groovy:"clike",haml:"ruby",handlebars:"markup-templating",haxe:"clike",java:"clike",javadoc:["markup","java","javadoclike"],jolie:"clike",jsdoc:["javascript","javadoclike"],"js-extras":"javascript","js-templates":"javascript",jsonp:"json",json5:"json",kotlin:"clike",less:"css",lilypond:"scheme",markdown:"markup","markup-templating":"markup",n4js:"javascript",nginx:"clike",objectivec:"c",opencl:"cpp",parser:"markup",php:["clike","markup-templating"],phpdoc:["php","javadoclike"],"php-extras":"php",plsql:"sql",processing:"clike",protobuf:"clike",pug:["markup","javascript"],qore:"clike",jsx:["markup","javascript"],tsx:["jsx","typescript"],reason:"clike",ruby:"clike",sass:"css",scss:"css",scala:"java","shell-session":"bash",smarty:"markup-templating",soy:"markup-templating",swift:"clike",tap:"yaml",textile:"markup",tt2:["clike","markup-templating"],twig:"markup",typescript:"javascript","t4-cs":["t4-templating","csharp"],"t4-vb":["t4-templating","visual-basic"],vala:"clike",vbnet:"basic",velocity:"markup",wiki:"markup",xeora:"markup",xquery:"markup"},u={html:"markup",xml:"markup",svg:"markup",mathml:"markup",js:"javascript",adoc:"asciidoc",shell:"bash",rbnf:"bnf",cs:"csharp",dotnet:"csharp",coffee:"coffeescript",jinja2:"django","dns-zone":"dns-zone-file",dockerfile:"docker",gamemakerlanguage:"gml",hs:"haskell",tex:"latex",context:"latex",ly:"lilypond",emacs:"lisp",elisp:"lisp","emacs-lisp":"lisp",md:"markdown",n4jsd:"n4js",objectpascal:"pascal",px:"pcaxis",py:"python",rb:"ruby",ts:"typescript",t4:"t4-cs",vb:"visual-basic",xeoracube:"xeora",yml:"yaml"},t={},v="none",s=document.getElementsByTagName("script"),f=s[s.length-1],i="components/",h=/\bplugins\/autoloader\/prism-autoloader\.(?:min\.)js$/i,c=/[\w-]+\.(?:min\.)js$/i;f.hasAttribute("data-autoloader-path")?i=f.getAttribute("data-autoloader-path").trim().replace(/\/?$/,"/"):(n=f.src,h.test(n)?i=n.replace(h,"components/"):c.test(n)&&(i=n.replace(c,"components/")));e=Prism.plugins.autoloader={languages_path:i,use_minified:!0,loadLanguages:o};Prism.hooks.add("complete",function(n){n.element&&n.language&&!n.grammar&&n.language!==v&&w(n.language,n.element)})}}(),function(){function n(n,t){return Array.prototype.slice.call((t||document).querySelectorAll(n))}function r(n,t){return t=" "+t+" ",(" "+n.className+" ").replace(/[\n\t]/g," ").indexOf(t)>-1}function u(n){n()}function t(n,t,i){t=typeof t=="string"?t:n.getAttribute("data-line");var s=t.replace(/\s+/g,"").split(","),h=+n.getAttribute("data-line-offset")||0,c=f()?parseInt:parseFloat,l=c(getComputedStyle(n).lineHeight),o=r(n,"line-numbers"),a=o?n:n.querySelector("code")||n,e=[];return s.forEach(function(t){var v=t.split("-"),u=+v[0],f=+v[1]||u,r=n.querySelector('.line-highlight[data-range="'+t+'"]')||document.createElement("div"),s,c,y,p;e.push(function(){r.setAttribute("aria-hidden","true");r.setAttribute("data-range",t);r.className=(i||"")+" line-highlight"});o&&Prism.plugins.lineNumbers?(s=Prism.plugins.lineNumbers.getLine(n,u),c=Prism.plugins.lineNumbers.getLine(n,f),s&&(y=s.offsetTop+"px",e.push(function(){r.style.top=y})),c&&(p=c.offsetTop-s.offsetTop+c.offsetHeight+"px",e.push(function(){r.style.height=p}))):e.push(function(){r.setAttribute("data-start",u);f>u&&r.setAttribute("data-end",f);r.style.top=(u-h-1)*l+"px";r.textContent=new Array(f-u+2).join(" \n")});e.push(function(){a.appendChild(r)})}),function(){e.forEach(u)}}function e(){var r=location.hash.slice(1),u,f,i,e;(n(".temporary.line-highlight").forEach(function(n){n.parentNode.removeChild(n)}),u=(r.match(/\.([\d,-]+)$/)||[,""])[1],u&&!document.getElementById(r))&&(f=r.slice(0,r.lastIndexOf(".")),i=document.getElementById(f),i)&&(i.hasAttribute("data-line")||i.setAttribute("data-line",""),e=t(i,u,"temporary "),e(),document.querySelector(".temporary.line-highlight").scrollIntoView())}var f,i;typeof self!="undefined"&&self.Prism&&self.document&&document.querySelector&&(f=function(){var n;return function(){if(typeof n=="undefined"){var t=document.createElement("div");t.style.fontSize="13px";t.style.lineHeight="1.5";t.style.padding=0;t.style.border=0;t.innerHTML="&nbsp;<br />&nbsp;";document.body.appendChild(t);n=t.offsetHeight===38;document.body.removeChild(t)}return n}}(),i=0,Prism.hooks.add("before-sanity-check",function(t){var i=t.element.parentNode,u=i&&i.getAttribute("data-line"),r;i&&u&&/pre/i.test(i.nodeName)&&(r=0,n(".line-highlight",i).forEach(function(n){r+=n.textContent.length;n.parentNode.removeChild(n)}),r&&/^( \n)+$/.test(t.code.slice(-r))&&(t.code=t.code.slice(0,-r)))}),Prism.hooks.add("complete",function o(n){var u=n.element.parentNode,f=u&&u.getAttribute("data-line"),s,h,c;u&&f&&/pre/i.test(u.nodeName)&&(clearTimeout(i),s=Prism.plugins.lineNumbers,h=n.plugins&&n.plugins.lineNumbers,r(u,"line-numbers")&&s&&!h?Prism.hooks.add("line-numbers",o):(c=t(u,f),c(),i=setTimeout(e,1)))}),window.addEventListener("hashchange",e),window.addEventListener("resize",function(){var i=[];n("pre[data-line]").forEach(function(n){i.push(t(n))});i.forEach(u)}))}(),function(){if(typeof self!="undefined"&&self.Prism&&self.document){var n="line-numbers",t=/\n(?!$)/g,i=function(n){var e=r(n),u=e["white-space"];if(u==="pre-wrap"||u==="pre-line"){var f=n.querySelector("code"),o=n.querySelector(".line-numbers-rows"),i=n.querySelector(".line-numbers-sizer"),s=f.textContent.split(t);i||(i=document.createElement("span"),i.className="line-numbers-sizer",f.appendChild(i));i.style.display="block";s.forEach(function(n,t){i.textContent=n||"\n";var r=i.getBoundingClientRect().height;o.children[t].style.height=r+"px"});i.textContent="";i.style.display="none"}},r=function(n){return n?window.getComputedStyle?getComputedStyle(n):n.currentStyle||null:null};window.addEventListener("resize",function(){Array.prototype.forEach.call(document.querySelectorAll("pre."+n),i)});Prism.hooks.add("complete",function(n){var u,r,s,o,f;if(n.code&&(u=n.element,r=u.parentNode,r&&/pre/i.test(r.nodeName))&&!u.querySelector(".line-numbers-rows")){for(s=!1,o=/(?:^|\s)line-numbers(?:\s|$)/,f=u;f;f=f.parentNode)if(o.test(f.className)){s=!0;break}if(s){u.className=u.className.replace(o," ");o.test(r.className)||(r.className+=" line-numbers");var h=n.code.match(t),c=h?h.length+1:1,e,l=new Array(c+1).join("<span><\/span>");e=document.createElement("span");e.setAttribute("aria-hidden","true");e.className="line-numbers-rows";e.innerHTML=l;r.hasAttribute("data-start")&&(r.style.counterReset="linenumber "+(parseInt(r.getAttribute("data-start"),10)-1));n.element.appendChild(e);i(r);Prism.hooks.run("line-numbers",n)}}});Prism.hooks.add("line-numbers",function(n){n.plugins=n.plugins||{};n.plugins.lineNumbers=!0});Prism.plugins.lineNumbers={getLine:function(t,i){var e;if(t.tagName==="PRE"&&t.classList.contains(n)){var u=t.querySelector(".line-numbers-rows"),r=parseInt(t.getAttribute("data-start"),10)||1,f=r+(u.children.length-1);return i<r&&(i=r),i>f&&(i=f),e=i-r,u.children[e]}}}}}(),function(){function t(t){this.defaults=n({},t)}function r(n){return n.replace(/-(\w)/g,function(n,t){return t.toUpperCase()})}function i(n){for(var i=0,t=0;t<n.length;++t)n.charCodeAt(t)=="\t".charCodeAt(0)&&(i+=3);return n.length+i}var n=Object.assign||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);return n};(t.prototype={setDefaults:function(t){this.defaults=n(this.defaults,t)},normalize:function(t,i){var u,f;i=n(this.defaults,i);for(u in i)f=r(u),u!=="normalize"&&f!=="setDefaults"&&i[u]&&this[f]&&(t=this[f].call(this,t,i[u]));return t},leftTrim:function(n){return n.replace(/^\s+/,"")},rightTrim:function(n){return n.replace(/\s+$/,"")},tabsToSpaces:function(n,t){return t=t|0||4,n.replace(/\t/g,new Array(++t).join(" "))},spacesToTabs:function(n,t){return t=t|0||4,n.replace(RegExp(" {"+t+"}","g"),"\t")},removeTrailing:function(n){return n.replace(/\s*?$/gm,"")},removeInitialLineFeed:function(n){return n.replace(/^(?:\r?\n|\r)/,"")},removeIndent:function(n){var t=n.match(/^[^\S\n\r]*(?=\S)/gm);return!t||!t[0].length?n:(t.sort(function(n,t){return n.length-t.length}),!t[0].length)?n:n.replace(RegExp("^"+t[0],"gm"),"")},indent:function(n,t){return n.replace(/^[^\S\n\r]*(?=\S)/gm,new Array(++t).join("\t")+"$&")},breakLines:function(n,t){var r,u,f,o,e,s;for(t=t===!0?80:t|0||80,r=n.split("\n"),u=0;u<r.length;++u)if(!(i(r[u])<=t)){for(f=r[u].split(/(\s+)/g),o=0,e=0;e<f.length;++e)s=i(f[e]),o+=s,o>t&&(f[e]="\n"+f[e],o=s);r[u]=f.join("")}return r.join("\n")}},typeof module!="undefined"&&module.exports&&(module.exports=t),typeof Prism!="undefined")&&(Prism.plugins.NormalizeWhitespace=new t({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0}),Prism.hooks.add("before-sanity-check",function(n){var u=Prism.plugins.NormalizeWhitespace,t,f,r,i,c;if(!n.settings||n.settings["whitespace-normalization"]!==!1){if((!n.element||!n.element.parentNode)&&n.code){n.code=u.normalize(n.code,n.settings);return}if(t=n.element.parentNode,f=/(?:^|\s)no-whitespace-normalization(?:\s|$)/,n.code&&t&&t.nodeName.toLowerCase()==="pre"&&!f.test(t.className)&&!f.test(n.element.className)){var s=t.childNodes,e="",o="",h=!1;for(r=0;r<s.length;++r)i=s[r],i==n.element?h=!0:i.nodeName==="#text"&&(h?o+=i.nodeValue:e+=i.nodeValue,t.removeChild(i),--r);n.element.children.length&&Prism.plugins.KeepMarkup?(c=e+n.element.innerHTML+o,n.element.innerHTML=u.normalize(c,n.settings),n.code=n.element.textContent):(n.code=e+n.code+o,n.code=u.normalize(n.code,n.settings))}}}))}()