Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cpelements/cp-documentation

Package Overview
Dependencies
Maintainers
5
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cpelements/cp-documentation - npm Package Compare versions

Comparing version 0.1.47 to 0.1.48

4

dist/cp-documentation.min.js

@@ -11,3 +11,3 @@ import e from"../../../@patternfly/pfelement/dist/pfelement.min.js";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var n,o=(function(e){var n=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,o={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof r?new r(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var o,r;switch(n=n||{},a.util.type(t)){case"Object":if(r=a.util.objId(t),n[r])return n[r];for(var s in o={},n[r]=o,t)t.hasOwnProperty(s)&&(o[s]=e(t[s],n));return o;case"Array":return r=a.util.objId(t),n[r]?n[r]:(o=[],n[r]=o,t.forEach(function(t,a){o[a]=e(t,n)}),o);default:return t}},getLanguage:function(e){for(;e&&!t.test(e.className);)e=e.parentElement;return e?(e.className.match(t)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(o){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(o.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var o="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(o))return!1;e=e.parentElement}return!!n}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(e,t){var n=a.util.clone(a.languages[e]);for(var o in t)n[o]=t[o];return n},insertBefore:function(e,t,n,o){var r=(o=o||a.languages)[e],s={};for(var i in r)if(r.hasOwnProperty(i)){if(i==t)for(var l in n)n.hasOwnProperty(l)&&(s[l]=n[l]);n.hasOwnProperty(i)||(s[i]=r[i])}var c=o[e];return o[e]=s,a.languages.DFS(a.languages,function(t,n){n===c&&t!=e&&(this[t]=s)}),s},DFS:function e(t,n,o,r){r=r||{};var s=a.util.objId;for(var i in t)if(t.hasOwnProperty(i)){n.call(t,i,t[i],o||i);var l=t[i],c=a.util.type(l);"Object"!==c||r[s(l)]?"Array"!==c||r[s(l)]||(r[s(l)]=!0,e(l,n,i,r)):(r[s(l)]=!0,e(l,n,null,r))}}},plugins:{},highlightAll:function(e,t){a.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var o={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",o),o.elements=Array.prototype.slice.apply(o.container.querySelectorAll(o.selector)),a.hooks.run("before-all-elements-highlight",o);for(var r,s=0;r=o.elements[s++];)a.highlightElement(r,!0===t,o.callback)},highlightElement:function(n,o,r){var s=a.util.getLanguage(n),i=a.languages[s];n.className=n.className.replace(t,"").replace(/\s+/g," ")+" language-"+s;var l=n.parentElement;l&&"pre"===l.nodeName.toLowerCase()&&(l.className=l.className.replace(t,"").replace(/\s+/g," ")+" language-"+s);var c={element:n,language:s,grammar:i,code:n.textContent};function d(e){c.highlightedCode=e,a.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,a.hooks.run("after-highlight",c),a.hooks.run("complete",c),r&&r.call(c.element)}if(a.hooks.run("before-sanity-check",c),(l=c.element.parentElement)&&"pre"===l.nodeName.toLowerCase()&&!l.hasAttribute("tabindex")&&l.setAttribute("tabindex","0"),!c.code)return a.hooks.run("complete",c),void(r&&r.call(c.element));if(a.hooks.run("before-highlight",c),c.grammar)if(o&&e.Worker){var p=new Worker(a.filename);p.onmessage=function(e){d(e.data)},p.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else d(a.highlight(c.code,c.grammar,c.language));else d(a.util.encode(c.code))},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};return a.hooks.run("before-tokenize",o),o.tokens=a.tokenize(o.code,o.grammar),a.hooks.run("after-tokenize",o),r.stringify(a.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var o in n)t[o]=n[o];delete t.rest}var d=new i;return l(d,d.head,e),function e(t,n,o,i,d,p){for(var u in o)if(o.hasOwnProperty(u)&&o[u]){var h=o[u];h=Array.isArray(h)?h:[h];for(var f=0;f<h.length;++f){if(p&&p.cause==u+","+f)return;var g=h[f],m=g.inside,b=!!g.lookbehind,y=!!g.greedy,k=g.alias;if(y&&!g.pattern.global){var _=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,_+"g")}for(var v=g.pattern||g,S=i.next,w=d;S!==n.tail&&!(p&&w>=p.reach);w+=S.value.length,S=S.next){var E=S.value;if(n.length>t.length)return;if(!(E instanceof r)){var A,x=1;if(y){if(!(A=s(v,w,t,b)))break;var T=A.index,N=A.index+A[0].length,$=w;for($+=S.value.length;T>=$;)S=S.next,$+=S.value.length;if($-=S.value.length,w=$,S.value instanceof r)continue;for(var I=S;I!==n.tail&&($<N||"string"==typeof I.value);I=I.next)x++,$+=I.value.length;x--,E=t.slice(w,$),A.index-=w}else if(!(A=s(v,0,E,b)))continue;var T=A.index,C=A[0],L=E.slice(0,T),D=E.slice(T+C.length),F=w+E.length;p&&F>p.reach&&(p.reach=F);var O=S.prev;L&&(O=l(n,O,L),w+=L.length),c(n,O,x);var R=new r(u,m?a.tokenize(C,m):C,k,C);if(S=l(n,O,R),D&&l(n,S,D),x>1){var P={cause:u+","+f,reach:F};e(t,n,o,S.prev,w,P),p&&P.reach>p.reach&&(p.reach=P.reach)}}}}}}(e,d,t,d.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(d)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var o,r=0;o=n[r++];)o(t)}},Token:r};function r(e,t,n,o){this.type=e,this.content=t,this.alias=n,this.length=0|(o||"").length}function s(e,t,n,o){e.lastIndex=t;var a=e.exec(n);if(a&&o&&a[1]){var r=a[1].length;a.index+=r,a[0]=a[0].slice(r)}return a}function i(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var o=t.next,a={value:n,prev:t,next:o};return t.next=a,o.prev=a,e.length++,a}function c(e,t,n){for(var o=t.next,a=0;a<n&&o!==e.tail;a++)o=o.next;t.next=o,o.prev=t,e.length-=a}if(e.Prism=a,r.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach(function(t){o+=e(t,n)}),o}var r={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},s=t.alias;s&&(Array.isArray(s)?Array.prototype.push.apply(r.classes,s):r.classes.push(s)),a.hooks.run("wrap",r);var i="";for(var l in r.attributes)i+=" "+l+'="'+(r.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+i+">"+r.content+"</"+r.tag+">"},!e.document)return e.addEventListener?(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),o=n.language,r=n.code,s=n.immediateClose;e.postMessage(a.highlight(r,a.languages[o],o)),s&&e.close()},!1),a):a;var d=a.util.currentScript();function p(){a.manual||a.highlightAll()}if(d&&(a.filename=d.src,d.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var u=document.readyState;"loading"===u||"interactive"===u&&d&&d.defer?document.addEventListener("DOMContentLoaded",p):window.requestAnimationFrame?window.requestAnimationFrame(p):window.setTimeout(p,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});

/*!
* PatternFly Elements: PfeDocumentation 0.1.47
* PatternFly Elements: PfeDocumentation 0.1.48
* @license

@@ -40,3 +40,3 @@ * Copyright 2020 Red Hat, Inc.

* @license MIT
*/,[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(e){e.hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),t=document.createDocumentFragment();e.forEach(function(e){var n=e instanceof Node;t.appendChild(n?e:document.createTextNode(String(e)))}),this.insertBefore(t,this.firstChild)}})}),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(e){e.hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),t=document.createDocumentFragment();e.forEach(function(e){var n=e instanceof Node;t.appendChild(n?e:document.createTextNode(String(e)))}),this.insertBefore(t,this.firstChild)}})}),String.prototype.includes||(String.prototype.includes=function(e,t){if(e instanceof RegExp)throw TypeError("first argument must not be a RegExp");return void 0===t&&(t=0),-1!==this.indexOf(e,t)});const a={characterData:!0,subtree:!0,childList:!0};class r extends e{static get version(){return"0.1.47"}get html(){return'<style>code[class*=language-],pre[class*=language-]{color:#151515;background:#f5f5f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}code.language-none,code.language-text,code.language-txt,pre.language-none,pre.language-text,pre.language-txt{color:#151515}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{background:#cceae7;color:#263238}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{background:#cceae7;color:#263238}:not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}pre[class*=language-]{overflow:auto;position:relative;margin:.5em 0;padding:1.25em 1em}.language-css>code,.language-sass>code,.language-scss>code{color:#b300b3}[class*=language-] .namespace{opacity:.7}.token.atrule{color:#40199a}.token.attr-name{color:#06c}.token.attr-value{color:#b300b3}.token.attribute{color:#b300b3}.token.boolean{color:#40199a}.token.builtin{color:#06c}.token.cdata{color:#06c}.token.char{color:#06c}.token.class{color:#06c}.token.class-name{color:#06c}.token.comment{color:#6a6e73}.token.constant{color:#40199a}.token.deleted{color:#c9190b}.token.doctype{color:#6a6e73}.token.entity{color:#c9190b}.token.function{color:#40199a}.token.hexcode{color:#b300b3}.token.id{color:#40199a;font-weight:700}.token.important{color:#40199a;font-weight:700}.token.inserted{color:#06c}.token.keyword{color:#40199a}.token.number{color:#b300b3}.token.operator{color:#06c}.token.prolog{color:#6a6e73}.token.property{color:#06c}.token.pseudo-class{color:#b300b3}.token.pseudo-element{color:#b300b3}.token.punctuation{color:#06c}.token.regex{color:#06c}.token.selector{color:#c9190b}.token.string{color:#b300b3}.token.symbol{color:#40199a}.token.tag{color:#c9190b}.token.unit{color:#b300b3}.token.url{color:#c9190b}.token.variable{color:#c9190b}:host{display:block}:host([hidden]){display:none}:host([pfe-c-non-prod]) abbr[style],:host([pfe-c-non-prod]) address[style],:host([pfe-c-non-prod]) article[style],:host([pfe-c-non-prod]) aside[style],:host([pfe-c-non-prod]) b[style],:host([pfe-c-non-prod]) blockquote[style],:host([pfe-c-non-prod]) body[style],:host([pfe-c-non-prod]) canvas[style],:host([pfe-c-non-prod]) caption[style],:host([pfe-c-non-prod]) cite[style],:host([pfe-c-non-prod]) code[style],:host([pfe-c-non-prod]) dd[style],:host([pfe-c-non-prod]) del[style],:host([pfe-c-non-prod]) details[style],:host([pfe-c-non-prod]) dfn[style],:host([pfe-c-non-prod]) div[style],:host([pfe-c-non-prod]) dl[style],:host([pfe-c-non-prod]) dt[style],:host([pfe-c-non-prod]) em[style],:host([pfe-c-non-prod]) fieldset[style],:host([pfe-c-non-prod]) figcaption[style],:host([pfe-c-non-prod]) figure[style],:host([pfe-c-non-prod]) footer[style],:host([pfe-c-non-prod]) form[style],:host([pfe-c-non-prod]) h1[style],:host([pfe-c-non-prod]) h2[style],:host([pfe-c-non-prod]) h3[style],:host([pfe-c-non-prod]) h4[style],:host([pfe-c-non-prod]) h5[style],:host([pfe-c-non-prod]) h6[style],:host([pfe-c-non-prod]) header[style],:host([pfe-c-non-prod]) hgroup[style],:host([pfe-c-non-prod]) html[style],:host([pfe-c-non-prod]) i[style],:host([pfe-c-non-prod]) iframe[style],:host([pfe-c-non-prod]) ins[style],:host([pfe-c-non-prod]) kbd[style],:host([pfe-c-non-prod]) label[style],:host([pfe-c-non-prod]) legend[style],:host([pfe-c-non-prod]) li[style],:host([pfe-c-non-prod]) mark[style],:host([pfe-c-non-prod]) menu[style],:host([pfe-c-non-prod]) nav[style],:host([pfe-c-non-prod]) object[style],:host([pfe-c-non-prod]) ol[style],:host([pfe-c-non-prod]) p[style],:host([pfe-c-non-prod]) pre[style],:host([pfe-c-non-prod]) q[style],:host([pfe-c-non-prod]) samp[style],:host([pfe-c-non-prod]) section[style],:host([pfe-c-non-prod]) small[style],:host([pfe-c-non-prod]) span[style],:host([pfe-c-non-prod]) strong[style],:host([pfe-c-non-prod]) sub[style],:host([pfe-c-non-prod]) summary[style],:host([pfe-c-non-prod]) sup[style],:host([pfe-c-non-prod]) table[style],:host([pfe-c-non-prod]) tbody[style],:host([pfe-c-non-prod]) td[style],:host([pfe-c-non-prod]) tfoot[style],:host([pfe-c-non-prod]) th[style],:host([pfe-c-non-prod]) thead[style],:host([pfe-c-non-prod]) time[style],:host([pfe-c-non-prod]) tr[style],:host([pfe-c-non-prod]) ul[style],:host([pfe-c-non-prod]) var[style]{border:2px solid #c9190b}:host([pfe-c-non-prod]) abbr[style]:before,:host([pfe-c-non-prod]) address[style]:before,:host([pfe-c-non-prod]) article[style]:before,:host([pfe-c-non-prod]) aside[style]:before,:host([pfe-c-non-prod]) b[style]:before,:host([pfe-c-non-prod]) blockquote[style]:before,:host([pfe-c-non-prod]) body[style]:before,:host([pfe-c-non-prod]) canvas[style]:before,:host([pfe-c-non-prod]) caption[style]:before,:host([pfe-c-non-prod]) cite[style]:before,:host([pfe-c-non-prod]) code[style]:before,:host([pfe-c-non-prod]) dd[style]:before,:host([pfe-c-non-prod]) del[style]:before,:host([pfe-c-non-prod]) details[style]:before,:host([pfe-c-non-prod]) dfn[style]:before,:host([pfe-c-non-prod]) div[style]:before,:host([pfe-c-non-prod]) dl[style]:before,:host([pfe-c-non-prod]) dt[style]:before,:host([pfe-c-non-prod]) em[style]:before,:host([pfe-c-non-prod]) fieldset[style]:before,:host([pfe-c-non-prod]) figcaption[style]:before,:host([pfe-c-non-prod]) figure[style]:before,:host([pfe-c-non-prod]) footer[style]:before,:host([pfe-c-non-prod]) form[style]:before,:host([pfe-c-non-prod]) h1[style]:before,:host([pfe-c-non-prod]) h2[style]:before,:host([pfe-c-non-prod]) h3[style]:before,:host([pfe-c-non-prod]) h4[style]:before,:host([pfe-c-non-prod]) h5[style]:before,:host([pfe-c-non-prod]) h6[style]:before,:host([pfe-c-non-prod]) header[style]:before,:host([pfe-c-non-prod]) hgroup[style]:before,:host([pfe-c-non-prod]) html[style]:before,:host([pfe-c-non-prod]) i[style]:before,:host([pfe-c-non-prod]) iframe[style]:before,:host([pfe-c-non-prod]) ins[style]:before,:host([pfe-c-non-prod]) kbd[style]:before,:host([pfe-c-non-prod]) label[style]:before,:host([pfe-c-non-prod]) legend[style]:before,:host([pfe-c-non-prod]) li[style]:before,:host([pfe-c-non-prod]) mark[style]:before,:host([pfe-c-non-prod]) menu[style]:before,:host([pfe-c-non-prod]) nav[style]:before,:host([pfe-c-non-prod]) object[style]:before,:host([pfe-c-non-prod]) ol[style]:before,:host([pfe-c-non-prod]) p[style]:before,:host([pfe-c-non-prod]) pre[style]:before,:host([pfe-c-non-prod]) q[style]:before,:host([pfe-c-non-prod]) samp[style]:before,:host([pfe-c-non-prod]) section[style]:before,:host([pfe-c-non-prod]) small[style]:before,:host([pfe-c-non-prod]) span[style]:before,:host([pfe-c-non-prod]) strong[style]:before,:host([pfe-c-non-prod]) sub[style]:before,:host([pfe-c-non-prod]) summary[style]:before,:host([pfe-c-non-prod]) sup[style]:before,:host([pfe-c-non-prod]) table[style]:before,:host([pfe-c-non-prod]) tbody[style]:before,:host([pfe-c-non-prod]) td[style]:before,:host([pfe-c-non-prod]) tfoot[style]:before,:host([pfe-c-non-prod]) th[style]:before,:host([pfe-c-non-prod]) thead[style]:before,:host([pfe-c-non-prod]) time[style]:before,:host([pfe-c-non-prod]) tr[style]:before,:host([pfe-c-non-prod]) ul[style]:before,:host([pfe-c-non-prod]) var[style]:before{display:block;min-width:320px;max-width:100vw;padding:.5em 1em;background:#fee;content:"WARNING: This -moz-element has inline styles which can easily break layout on mobile or other contexts. The inline style is " attr(style);content:"WARNING: This element has inline styles which can easily break layout on mobile or other contexts. The inline style is " attr(style)}.warning-message{display:block;min-width:320px;max-width:100vw;padding:.5em 1em;background:#fee}\n/*# sourceMappingURL=cp-documentation.min.css.map */\n</style><div id="wrapper" class="rhdocs"></div>'}static get tag(){return"cp-documentation"}static get properties(){return{}}static get slots(){return{}}get templateUrl(){return"cp-documentation.html"}get styleUrl(){return"cp-documentation.scss"}constructor(){super(r,{type:r.PfeType}),this._processLightDom=this._processLightDom.bind(this),this._isDevelopment=this._isDevelopment.bind(this),this._addStyleSheet=this._addStyleSheet.bind(this),this._loadCss=this._loadCss.bind(this),this.loadData=this.loadData.bind(this),this.getData=this.getData.bind(this),this._navigationHandler=this._navigationHandler.bind(this),this._loadChildModules=this._loadChildModules.bind(this),this._addIncludedInGuides=this._addIncludedInGuides.bind(this),this._processCodeblock=this._processCodeblock.bind(this),this._observer=new MutationObserver(this._processLightDom),this._contentData={},this._contentType=null}connectedCallback(){if(super.connectedCallback(),this.hasAttribute("pfe-css"))this._loadCss();else{let e="/webassets/avalon/j/public_modules/node_modules/@cpelements/cp-documentation/dist/rhdocs.min.css";for(let t=0;t<document.styleSheets.length;t++){const n=document.styleSheets[t];if(n.href&&n.href.includes("/rhdocs.")){e=n.ownerNode.getAttribute("href");break}}this._addStyleSheet(e)}"object"==typeof drupalSettings&&drupalSettings.red_hat_fcc?("string"==typeof drupalSettings.red_hat_fcc.content_metadata?this._contentData=JSON.parse(drupalSettings.red_hat_fcc.content_metadata):"object"==typeof drupalSettings.red_hat_fcc.content_metadata&&(this._contentData=drupalSettings.red_hat_fcc.content_metadata),this._contentType=this._contentData.content_type):window.location.host.includes("access.")&&".redhat.com"===window.location.host.substring(-11)&&(this._contentType=document.querySelector(".rhdocs__header--assembly")?"assembly":"module"),document.querySelector(".rh-docs__sidebar")&&this.classList.add("pfe-documentation--next-to-sidebar"),this._processLightDom(),this._observer.observe(this,a);const e=this.querySelector("#rhdocs-preamble");e&&!e.textContent.trim()&&e.remove(),window.location.hash&&window.addEventListener("load",this._navigationHandler),this.parentElement.classList.contains("rh-docs__content-wrapper")&&document.getElementById("rhdocs-header-external")&&this.classList.add("cp-documentation--has-external-header"),window.addEventListener("hashchange",this._navigationHandler)}disconnectedCallback(){}attributeChangedCallback(e,t,n){switch(super.attributeChangedCallback(e,t,n),e){case"pfe-endpoint":this.loadData()}}_isCrustyBrowser(){return window.ShadyCSS&&!window.ShadyCSS.nativeShadow}_portalEnvironmentFix(e){return e=(e=(e=(e=(e=e.replace("http://","https://")).replace("pantheon2-dev.int.us-east.aws.preprod.paas.redhat.com","pantheon.corp.dev.redhat.com")).replace("pantheon2-qa.int.us-east.aws.preprod.paas.redhat.com","pantheon.corp.qa.redhat.com")).replace("pantheon2-stage.int.us-east.aws.preprod.paas.redhat.com","pantheon.corp.stage.redhat.com")).replace("pantheon2-proxy.ext.us-west.aws.prod.paas.redhat.com","api.docs.redhat.com"),(window.location.host.includes("wruvalca")||window.location.host.includes(".foo."))&&(e=e.substring(e.indexOf("/api"))),e}_isDevelopment(){return this.hasAttribute("debug")}_navigationHandler(){let e=this.shadowRoot.getElementById(window.location.hash.substring(1));e&&window.scrollTo(window.scrollX,e.offsetTop)}_createRelatedContentWrapper(e){"string"!=typeof e&&(e="topic");const t=document.createElement("details"),n=document.createElement("summary"),o=document.createElement("div");return t.classList.add("related-topic-content__wrapper"),"guide"===e&&(t.classList.add("related-topic-content__wrapper--for-guide"),t.setAttribute("open","")),n.classList.add("related-topic-content__title"),o.classList.add("related-topic-content__inner-wrapper"),n.innerText=`Content related to this ${e}`,t.append(n),t.append(o),[t,o]}_createPrintButton(){const e=document.createElement("button");e.innerText="Print",e.classList.add("rhdocs__print-button");const t=document.createElement("pfe-icon");return t.setAttribute("icon","web-print"),t.setAttribute("pfe-size","sm"),e.prepend(t),e.addEventListener("click",()=>{window.print()}),e}_processCodeblock(e){const t=e.getAttribute("class"),n=t?t.split(" "):void 0,a=document.createElement("pre");if(e.classList.contains("codeblock--processed"))return;let r,s="none";if(n)for(let e=0;e<n.length;e++){const t=n[e];"language-"===t.substring(0,9)&&(s=t.substring(9).toLowerCase(),r=t)}if("pre"!==e.tagName.toLowerCase()){if(!e.parentElement||"pre"!==e.parentElement.tagName.toLowerCase())return;e=e.parentElement}switch(a.innerText=e.innerText,a.hidden=!0,e.parentElement&&(e.parentElement.classList.add("codeblock__wrapper"),e.parentElement.appendChild(a)),s){case"config":s="text";break;case"dns":s="dns-zone";break;case"terminal":s="shell",e.classList.add("command-line");break;case"golang":s="go";break;case"make":s="makefile"}e.classList.contains(`language-${s}`)||(e.classList.remove(r),e.classList.add(`language-${s}`));try{o.highlightElement(e,!1)}catch(e){console.error(e)}}_processLightDom(e){this._isCrustyBrowser()&&this._observer.disconnect(),this._isDevelopment()&&console.log(`${this.tag}: Processing Light Dom`,e);const t=this.shadowRoot.getElementById("wrapper"),n=this.shadowRoot.getElementById("content"),o=document.createElement("div");this.childNodes.forEach(e=>{const t=e.cloneNode(!0);o.append(t)});const r=o.querySelectorAll("._additional-resources");for(let e=0;e<r.length;e++){let t=r[e];const n=document.createElement("aside");if(n.setAttribute("class",t.getAttribute("class")),n.innerHTML=t.innerHTML,t.parentElement.replaceChild(n,t),t=n,"assembly"===this._contentType){const n=t.closest("section, article");if(n){const o=t.querySelector("h2"),a=e===r.length-1&&o?"guide":"topic",s=this._createRelatedContentWrapper(a);"guide"===a?(s[1].append(t),n.append(s[0])):(t.replaceWith(s[0]),s[1].append(t))}}}let s=o.querySelector(".rhdocs__header__secondary-wrapper");if(!o.querySelector("#rhdocs-header-external")&&document.getElementById("rhdocs-header-external")&&(s=document.querySelector("#rhdocs-header-external .rhdocs__header__secondary-wrapper")),s&&!s.querySelector(".rhdocs-print-button")){const e=document.createElement("li");e.classList.add("rh-docs-details-item"),e.classList.add("rhdocs-print-button"),e.append(this._createPrintButton()),s.append(e)}const i=o.querySelectorAll("pre[class*='language-'], code[class*='language-']");if(i)for(let e=0;e<i.length;e++){let t=i[e];this._processCodeblock(t)}const l=o.querySelectorAll("table");for(let e=0;e<l.length;e++){const t=l[e];if(!t.parentElement.classList.contains("table-wrapper")){const e=document.createElement("div");e.classList.add("table-wrapper"),t.parentElement.replaceChild(e,t),e.append(t)}}n?t.replaceChild(o,n):t.append(o),o.setAttribute("id","content"),this._isCrustyBrowser()&&this._observer.observe(this,a)}_addStyleSheet(e){if(!this.shadowRoot.querySelector(`link[href='${e}']`)){const t=document.createElement("link");t.setAttribute("id","pfe-css"),t.setAttribute("href",e),t.setAttribute("rel","stylesheet"),this.shadowRoot.prepend(t)}}_loadCss(){this.hasAttribute("pfe-css")&&this._addStyleSheet(this.getAttribute("pfe-css"))}loadData(){const e=this.getAttribute("pfe-endpoint");e&&fetch(this._portalEnvironmentFix(e)).then(e=>e.json()).then(e=>{"object"==typeof e.module&&(this.setAttribute("pfe-loaded",""),this._contentData=e.module,this._contentData.body&&(this.innerHTML=this._contentData.body))}).catch(e=>console.error(`${this.tag}: ${e}`))}getData(){return Object.keys(this._contentData).length?this._contentData:null}_addIncludedInGuides(e){let t=this._contentData.variantToModuleMap[e.variant_uuid];if(this._contentData.moduleToVariantMap[t].length>1)console.error(`${this.tag}: The same module is used twice in this assembly, included in guides could not be added.`);else if(t){const n=this.shadowRoot.querySelector(`[pantheon-module-id="${t}"]`);if(n){const t=window.location.pathname.split("/"),o=[];for(let n=0;n<e.included_in_guides.length;n++){const a=e.included_in_guides[n];if(a.uuid!==this._contentData.uuid){const e=document.createElement("a");t[t.length-1]=a.uuid,e.setAttribute("href",`/${t.join("/")}`),e.innerText=a.title,o.push(e)}}let a=null;if(o.length>1){a=document.createElement("ul");for(let e=0;e<a.length;e++){const t=a[e],n=document.createElement("li");n.append(t),a.append(n)}}else a=o[0];const r=parseInt(n.querySelector("h1, h2, h3, h4, h5, h6").tagName.substring(1));let s=r>5?6:r+1;const i=document.createElement("aside");i.classList.add("included-in-guides");const l=document.createElement(`h${s}`);l.classList.add("included-in-guides__title"),l.innerText="Guides Including this topic",i.append(l),i.append(a);let c=n.querySelector(".related-topic-content__wrapper");if(c)c.querySelector(".related-topic-content__inner-wrapper").append(i);else{const e=this._createRelatedContentWrapper();c=e[0],e[1].append(i),n.append(c)}}}}_loadChildModules(){}}e.create(r);export default r;
*/,[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(e){e.hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),t=document.createDocumentFragment();e.forEach(function(e){var n=e instanceof Node;t.appendChild(n?e:document.createTextNode(String(e)))}),this.insertBefore(t,this.firstChild)}})}),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(e){e.hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),t=document.createDocumentFragment();e.forEach(function(e){var n=e instanceof Node;t.appendChild(n?e:document.createTextNode(String(e)))}),this.insertBefore(t,this.firstChild)}})}),String.prototype.includes||(String.prototype.includes=function(e,t){if(e instanceof RegExp)throw TypeError("first argument must not be a RegExp");return void 0===t&&(t=0),-1!==this.indexOf(e,t)});const a={characterData:!0,subtree:!0,childList:!0};class r extends e{static get version(){return"0.1.48"}get html(){return'<style>code[class*=language-],pre[class*=language-]{color:#151515;background:#f5f5f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}code.language-none,code.language-text,code.language-txt,pre.language-none,pre.language-text,pre.language-txt{color:#151515}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{background:#cceae7;color:#263238}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{background:#cceae7;color:#263238}:not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}pre[class*=language-]{overflow:auto;position:relative;margin:.5em 0;padding:1.25em 1em}.language-css>code,.language-sass>code,.language-scss>code{color:#b300b3}[class*=language-] .namespace{opacity:.7}.token.atrule{color:#40199a}.token.attr-name{color:#06c}.token.attr-value{color:#b300b3}.token.attribute{color:#b300b3}.token.boolean{color:#40199a}.token.builtin{color:#06c}.token.cdata{color:#06c}.token.char{color:#06c}.token.class{color:#06c}.token.class-name{color:#06c}.token.comment{color:#6a6e73}.token.constant{color:#40199a}.token.deleted{color:#c9190b}.token.doctype{color:#6a6e73}.token.entity{color:#c9190b}.token.function{color:#40199a}.token.hexcode{color:#b300b3}.token.id{color:#40199a;font-weight:700}.token.important{color:#40199a;font-weight:700}.token.inserted{color:#06c}.token.keyword{color:#40199a}.token.number{color:#b300b3}.token.operator{color:#06c}.token.prolog{color:#6a6e73}.token.property{color:#06c}.token.pseudo-class{color:#b300b3}.token.pseudo-element{color:#b300b3}.token.punctuation{color:#06c}.token.regex{color:#06c}.token.selector{color:#c9190b}.token.string{color:#b300b3}.token.symbol{color:#40199a}.token.tag{color:#c9190b}.token.unit{color:#b300b3}.token.url{color:#c9190b}.token.variable{color:#c9190b}:host{display:block}:host([hidden]){display:none}:host([pfe-c-non-prod]) abbr[style],:host([pfe-c-non-prod]) address[style],:host([pfe-c-non-prod]) article[style],:host([pfe-c-non-prod]) aside[style],:host([pfe-c-non-prod]) b[style],:host([pfe-c-non-prod]) blockquote[style],:host([pfe-c-non-prod]) body[style],:host([pfe-c-non-prod]) canvas[style],:host([pfe-c-non-prod]) caption[style],:host([pfe-c-non-prod]) cite[style],:host([pfe-c-non-prod]) code[style],:host([pfe-c-non-prod]) dd[style],:host([pfe-c-non-prod]) del[style],:host([pfe-c-non-prod]) details[style],:host([pfe-c-non-prod]) dfn[style],:host([pfe-c-non-prod]) div[style],:host([pfe-c-non-prod]) dl[style],:host([pfe-c-non-prod]) dt[style],:host([pfe-c-non-prod]) em[style],:host([pfe-c-non-prod]) fieldset[style],:host([pfe-c-non-prod]) figcaption[style],:host([pfe-c-non-prod]) figure[style],:host([pfe-c-non-prod]) footer[style],:host([pfe-c-non-prod]) form[style],:host([pfe-c-non-prod]) h1[style],:host([pfe-c-non-prod]) h2[style],:host([pfe-c-non-prod]) h3[style],:host([pfe-c-non-prod]) h4[style],:host([pfe-c-non-prod]) h5[style],:host([pfe-c-non-prod]) h6[style],:host([pfe-c-non-prod]) header[style],:host([pfe-c-non-prod]) hgroup[style],:host([pfe-c-non-prod]) html[style],:host([pfe-c-non-prod]) i[style],:host([pfe-c-non-prod]) iframe[style],:host([pfe-c-non-prod]) ins[style],:host([pfe-c-non-prod]) kbd[style],:host([pfe-c-non-prod]) label[style],:host([pfe-c-non-prod]) legend[style],:host([pfe-c-non-prod]) li[style],:host([pfe-c-non-prod]) mark[style],:host([pfe-c-non-prod]) menu[style],:host([pfe-c-non-prod]) nav[style],:host([pfe-c-non-prod]) object[style],:host([pfe-c-non-prod]) ol[style],:host([pfe-c-non-prod]) p[style],:host([pfe-c-non-prod]) pre[style],:host([pfe-c-non-prod]) q[style],:host([pfe-c-non-prod]) samp[style],:host([pfe-c-non-prod]) section[style],:host([pfe-c-non-prod]) small[style],:host([pfe-c-non-prod]) span[style],:host([pfe-c-non-prod]) strong[style],:host([pfe-c-non-prod]) sub[style],:host([pfe-c-non-prod]) summary[style],:host([pfe-c-non-prod]) sup[style],:host([pfe-c-non-prod]) table[style],:host([pfe-c-non-prod]) tbody[style],:host([pfe-c-non-prod]) td[style],:host([pfe-c-non-prod]) tfoot[style],:host([pfe-c-non-prod]) th[style],:host([pfe-c-non-prod]) thead[style],:host([pfe-c-non-prod]) time[style],:host([pfe-c-non-prod]) tr[style],:host([pfe-c-non-prod]) ul[style],:host([pfe-c-non-prod]) var[style]{border:2px solid #c9190b}:host([pfe-c-non-prod]) abbr[style]:before,:host([pfe-c-non-prod]) address[style]:before,:host([pfe-c-non-prod]) article[style]:before,:host([pfe-c-non-prod]) aside[style]:before,:host([pfe-c-non-prod]) b[style]:before,:host([pfe-c-non-prod]) blockquote[style]:before,:host([pfe-c-non-prod]) body[style]:before,:host([pfe-c-non-prod]) canvas[style]:before,:host([pfe-c-non-prod]) caption[style]:before,:host([pfe-c-non-prod]) cite[style]:before,:host([pfe-c-non-prod]) code[style]:before,:host([pfe-c-non-prod]) dd[style]:before,:host([pfe-c-non-prod]) del[style]:before,:host([pfe-c-non-prod]) details[style]:before,:host([pfe-c-non-prod]) dfn[style]:before,:host([pfe-c-non-prod]) div[style]:before,:host([pfe-c-non-prod]) dl[style]:before,:host([pfe-c-non-prod]) dt[style]:before,:host([pfe-c-non-prod]) em[style]:before,:host([pfe-c-non-prod]) fieldset[style]:before,:host([pfe-c-non-prod]) figcaption[style]:before,:host([pfe-c-non-prod]) figure[style]:before,:host([pfe-c-non-prod]) footer[style]:before,:host([pfe-c-non-prod]) form[style]:before,:host([pfe-c-non-prod]) h1[style]:before,:host([pfe-c-non-prod]) h2[style]:before,:host([pfe-c-non-prod]) h3[style]:before,:host([pfe-c-non-prod]) h4[style]:before,:host([pfe-c-non-prod]) h5[style]:before,:host([pfe-c-non-prod]) h6[style]:before,:host([pfe-c-non-prod]) header[style]:before,:host([pfe-c-non-prod]) hgroup[style]:before,:host([pfe-c-non-prod]) html[style]:before,:host([pfe-c-non-prod]) i[style]:before,:host([pfe-c-non-prod]) iframe[style]:before,:host([pfe-c-non-prod]) ins[style]:before,:host([pfe-c-non-prod]) kbd[style]:before,:host([pfe-c-non-prod]) label[style]:before,:host([pfe-c-non-prod]) legend[style]:before,:host([pfe-c-non-prod]) li[style]:before,:host([pfe-c-non-prod]) mark[style]:before,:host([pfe-c-non-prod]) menu[style]:before,:host([pfe-c-non-prod]) nav[style]:before,:host([pfe-c-non-prod]) object[style]:before,:host([pfe-c-non-prod]) ol[style]:before,:host([pfe-c-non-prod]) p[style]:before,:host([pfe-c-non-prod]) pre[style]:before,:host([pfe-c-non-prod]) q[style]:before,:host([pfe-c-non-prod]) samp[style]:before,:host([pfe-c-non-prod]) section[style]:before,:host([pfe-c-non-prod]) small[style]:before,:host([pfe-c-non-prod]) span[style]:before,:host([pfe-c-non-prod]) strong[style]:before,:host([pfe-c-non-prod]) sub[style]:before,:host([pfe-c-non-prod]) summary[style]:before,:host([pfe-c-non-prod]) sup[style]:before,:host([pfe-c-non-prod]) table[style]:before,:host([pfe-c-non-prod]) tbody[style]:before,:host([pfe-c-non-prod]) td[style]:before,:host([pfe-c-non-prod]) tfoot[style]:before,:host([pfe-c-non-prod]) th[style]:before,:host([pfe-c-non-prod]) thead[style]:before,:host([pfe-c-non-prod]) time[style]:before,:host([pfe-c-non-prod]) tr[style]:before,:host([pfe-c-non-prod]) ul[style]:before,:host([pfe-c-non-prod]) var[style]:before{display:block;min-width:320px;max-width:100vw;padding:.5em 1em;background:#fee;content:"WARNING: This -moz-element has inline styles which can easily break layout on mobile or other contexts. The inline style is " attr(style);content:"WARNING: This element has inline styles which can easily break layout on mobile or other contexts. The inline style is " attr(style)}.warning-message{display:block;min-width:320px;max-width:100vw;padding:.5em 1em;background:#fee}\n/*# sourceMappingURL=cp-documentation.min.css.map */\n</style><div id="wrapper" class="rhdocs"></div>'}static get tag(){return"cp-documentation"}static get properties(){return{}}static get slots(){return{}}get templateUrl(){return"cp-documentation.html"}get styleUrl(){return"cp-documentation.scss"}constructor(){super(r,{type:r.PfeType}),this._processLightDom=this._processLightDom.bind(this),this._isDevelopment=this._isDevelopment.bind(this),this._addStyleSheet=this._addStyleSheet.bind(this),this._loadCss=this._loadCss.bind(this),this.loadData=this.loadData.bind(this),this.getData=this.getData.bind(this),this._navigationHandler=this._navigationHandler.bind(this),this._loadChildModules=this._loadChildModules.bind(this),this._addIncludedInGuides=this._addIncludedInGuides.bind(this),this._processCodeblock=this._processCodeblock.bind(this),this._observer=new MutationObserver(this._processLightDom),this._contentData={},this._contentType=null}connectedCallback(){if(super.connectedCallback(),this.hasAttribute("pfe-css"))this._loadCss();else{let e="/webassets/avalon/j/public_modules/node_modules/@cpelements/cp-documentation/dist/rhdocs.min.css";for(let t=0;t<document.styleSheets.length;t++){const n=document.styleSheets[t];if(n.href&&n.href.includes("/rhdocs.")){e=n.ownerNode.getAttribute("href");break}}this._addStyleSheet(e)}"object"==typeof drupalSettings&&drupalSettings.red_hat_fcc?("string"==typeof drupalSettings.red_hat_fcc.content_metadata?this._contentData=JSON.parse(drupalSettings.red_hat_fcc.content_metadata):"object"==typeof drupalSettings.red_hat_fcc.content_metadata&&(this._contentData=drupalSettings.red_hat_fcc.content_metadata),this._contentType=this._contentData.content_type):window.location.host.includes("access.")&&".redhat.com"===window.location.host.substring(-11)&&(this._contentType=document.querySelector(".rhdocs__header--assembly")?"assembly":"module"),document.querySelector(".rh-docs__sidebar")&&this.classList.add("pfe-documentation--next-to-sidebar"),this._processLightDom(),this._observer.observe(this,a);const e=this.querySelector("#rhdocs-preamble");e&&!e.textContent.trim()&&e.remove(),window.location.hash&&window.addEventListener("load",this._navigationHandler),this.parentElement.classList.contains("rh-docs__content-wrapper")&&document.getElementById("rhdocs-header-external")&&this.classList.add("cp-documentation--has-external-header"),window.addEventListener("hashchange",this._navigationHandler)}disconnectedCallback(){}attributeChangedCallback(e,t,n){switch(super.attributeChangedCallback(e,t,n),e){case"pfe-endpoint":this.loadData()}}_isCrustyBrowser(){return window.ShadyCSS&&!window.ShadyCSS.nativeShadow}_portalEnvironmentFix(e){return e=(e=(e=(e=(e=e.replace("http://","https://")).replace("pantheon2-dev.int.us-east.aws.preprod.paas.redhat.com","pantheon.corp.dev.redhat.com")).replace("pantheon2-qa.int.us-east.aws.preprod.paas.redhat.com","pantheon.corp.qa.redhat.com")).replace("pantheon2-stage.int.us-east.aws.preprod.paas.redhat.com","pantheon.corp.stage.redhat.com")).replace("pantheon2-proxy.ext.us-west.aws.prod.paas.redhat.com","api.docs.redhat.com"),(window.location.host.includes("wruvalca")||window.location.host.includes(".foo."))&&(e=e.substring(e.indexOf("/api"))),e}_isDevelopment(){return this.hasAttribute("debug")}_navigationHandler(){let e=this.shadowRoot.getElementById(window.location.hash.substring(1));e&&window.scrollTo(window.scrollX,e.offsetTop)}_createRelatedContentWrapper(e){"string"!=typeof e&&(e="topic");const t=document.createElement("details"),n=document.createElement("summary"),o=document.createElement("div");return t.classList.add("related-topic-content__wrapper"),"guide"===e&&(t.classList.add("related-topic-content__wrapper--for-guide"),t.setAttribute("open","")),n.classList.add("related-topic-content__title"),o.classList.add("related-topic-content__inner-wrapper"),n.innerText=`Content related to this ${e}`,t.append(n),t.append(o),[t,o]}_createPrintButton(){const e=document.createElement("button");e.innerText="Print",e.classList.add("rhdocs__print-button");const t=document.createElement("pfe-icon");return t.setAttribute("icon","web-print"),t.setAttribute("pfe-size","sm"),e.prepend(t),e.addEventListener("click",()=>{window.print()}),e}_processCodeblock(e){const t=e.getAttribute("class"),n=t?t.split(" "):void 0,a=document.createElement("pre");if(e.classList.contains("codeblock--processed"))return;let r,s="none";if(n)for(let e=0;e<n.length;e++){const t=n[e];"language-"===t.substring(0,9)&&(s=t.substring(9).toLowerCase(),r=t)}if("pre"!==e.tagName.toLowerCase()){if(!e.parentElement||"pre"!==e.parentElement.tagName.toLowerCase())return;e=e.parentElement}switch(a.innerText=e.innerText,a.hidden=!0,e.parentElement&&(e.parentElement.classList.add("codeblock__wrapper"),e.parentElement.appendChild(a)),s){case"config":s="text";break;case"dns":s="dns-zone";break;case"terminal":s="shell",e.classList.add("command-line");break;case"golang":s="go";break;case"make":s="makefile"}e.classList.contains(`language-${s}`)||(e.classList.remove(r),e.classList.add(`language-${s}`));try{o.highlightElement(e,!1)}catch(e){console.error(e)}}_processLightDom(e){this._isCrustyBrowser()&&this._observer.disconnect(),this._isDevelopment()&&console.log(`${this.tag}: Processing Light Dom`,e);const t=this.shadowRoot.getElementById("wrapper"),n=this.shadowRoot.getElementById("content"),o=document.createElement("div");this.childNodes.forEach(e=>{const t=e.cloneNode(!0);o.append(t)});const r=o.querySelectorAll("._additional-resources");for(let e=0;e<r.length;e++){let t=r[e];const n=document.createElement("aside");if(n.setAttribute("class",t.getAttribute("class")),n.innerHTML=t.innerHTML,t.parentElement.replaceChild(n,t),t=n,"assembly"===this._contentType){const n=t.closest("section, article");if(n){const o=t.querySelector("h2"),a=e===r.length-1&&o?"guide":"topic",s=this._createRelatedContentWrapper(a);"guide"===a?(s[1].append(t),n.append(s[0])):(t.replaceWith(s[0]),s[1].append(t))}}}let s=o.querySelector(".rhdocs__header__secondary-wrapper");if(!o.querySelector("#rhdocs-header-external")&&document.getElementById("rhdocs-header-external")&&(s=document.querySelector("#rhdocs-header-external .rhdocs__header__secondary-wrapper")),s&&!s.querySelector(".rhdocs-print-button")){const e=document.createElement("li");e.classList.add("rh-docs-details-item"),e.classList.add("rhdocs-print-button"),e.append(this._createPrintButton()),s.append(e)}const i=o.querySelectorAll("pre[class*='language-'], code[class*='language-']");if(i)for(let e=0;e<i.length;e++){let t=i[e];this._processCodeblock(t)}const l=o.querySelectorAll("table");for(let e=0;e<l.length;e++){const t=l[e];if(!t.parentElement.classList.contains("table-wrapper")){const e=document.createElement("div");e.classList.add("table-wrapper"),t.parentElement.replaceChild(e,t),e.append(t)}}n?t.replaceChild(o,n):t.append(o),o.setAttribute("id","content"),this._isCrustyBrowser()&&this._observer.observe(this,a)}_addStyleSheet(e){if(!this.shadowRoot.querySelector(`link[href='${e}']`)){const t=document.createElement("link");t.setAttribute("id","pfe-css"),t.setAttribute("href",e),t.setAttribute("rel","stylesheet"),this.shadowRoot.prepend(t)}}_loadCss(){this.hasAttribute("pfe-css")&&this._addStyleSheet(this.getAttribute("pfe-css"))}loadData(){const e=this.getAttribute("pfe-endpoint");e&&fetch(this._portalEnvironmentFix(e)).then(e=>e.json()).then(e=>{"object"==typeof e.module&&(this.setAttribute("pfe-loaded",""),this._contentData=e.module,this._contentData.body&&(this.innerHTML=this._contentData.body))}).catch(e=>console.error(`${this.tag}: ${e}`))}getData(){return Object.keys(this._contentData).length?this._contentData:null}_addIncludedInGuides(e){let t=this._contentData.variantToModuleMap[e.variant_uuid];if(this._contentData.moduleToVariantMap[t].length>1)console.error(`${this.tag}: The same module is used twice in this assembly, included in guides could not be added.`);else if(t){const n=this.shadowRoot.querySelector(`[pantheon-module-id="${t}"]`);if(n){const t=window.location.pathname.split("/"),o=[];for(let n=0;n<e.included_in_guides.length;n++){const a=e.included_in_guides[n];if(a.uuid!==this._contentData.uuid){const e=document.createElement("a");t[t.length-1]=a.uuid,e.setAttribute("href",`/${t.join("/")}`),e.innerText=a.title,o.push(e)}}let a=null;if(o.length>1){a=document.createElement("ul");for(let e=0;e<a.length;e++){const t=a[e],n=document.createElement("li");n.append(t),a.append(n)}}else a=o[0];const r=parseInt(n.querySelector("h1, h2, h3, h4, h5, h6").tagName.substring(1));let s=r>5?6:r+1;const i=document.createElement("aside");i.classList.add("included-in-guides");const l=document.createElement(`h${s}`);l.classList.add("included-in-guides__title"),l.innerText="Guides Including this topic",i.append(l),i.append(a);let c=n.querySelector(".related-topic-content__wrapper");if(c)c.querySelector(".related-topic-content__inner-wrapper").append(i);else{const e=this._createRelatedContentWrapper();c=e[0],e[1].append(i),n.append(c)}}}}_loadChildModules(){}}e.create(r);export default r;
//# sourceMappingURL=cp-documentation.min.js.map

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("../../../@patternfly/pfelement/dist/pfelement.umd.min")):"function"==typeof define&&define.amd?define(["../../../@patternfly/pfelement/dist/pfelement.umd.min"],t):e.PfeDocumentation=t(e.PFElement)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var t,i=(function(e){var r,t,n,o,a,s,i,l,c,d,p=function(l){var c=/\blang(?:uage)?-([\w-]+)\b/i,t=0,e={},C={manual:l.Prism&&l.Prism.manual,disableWorkerMessageHandler:l.Prism&&l.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof O?new O(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function n(e,o){var r,t;switch(o=o||{},C.util.type(e)){case"Object":if(t=C.util.objId(e),o[t])return o[t];for(var a in o[t]=r={},e)e.hasOwnProperty(a)&&(r[a]=n(e[a],o));return r;case"Array":return(t=C.util.objId(e),o[t])?o[t]:(o[t]=r=[],e.forEach(function(e,t){r[t]=n(e,o)}),r);default:return e}},getLanguage:function(e){for(;e&&!c.test(e.className);)e=e.parentElement;return e?(e.className.match(c)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(e){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(e.stack)||[])[1];if(t){var n,o=document.getElementsByTagName("script");for(n in o)if(o[n].src==t)return o[n]}return null}},isActive:function(e,t,n){for(var o="no-"+t;e;){var r=e.classList;if(r.contains(t))return!0;if(r.contains(o))return!1;e=e.parentElement}return!!n}},languages:{plain:e,plaintext:e,text:e,txt:e,extend:function(e,t){var n,o=C.util.clone(C.languages[e]);for(n in t)o[n]=t[n];return o},insertBefore:function(n,e,t,o){var r,a=(o=o||C.languages)[n],s={};for(r in a)if(a.hasOwnProperty(r)){if(r==e)for(var i in t)t.hasOwnProperty(i)&&(s[i]=t[i]);t.hasOwnProperty(r)||(s[r]=a[r])}var l=o[n];return o[n]=s,C.languages.DFS(C.languages,function(e,t){t===l&&e!=n&&(this[e]=s)}),s},DFS:function e(t,n,o,r){r=r||{};var a,s,i,l=C.util.objId;for(a in t)t.hasOwnProperty(a)&&(n.call(t,a,t[a],o||a),s=t[a],"Object"!==(i=C.util.type(s))||r[l(s)]?"Array"!==i||r[l(s)]||(r[l(s)]=!0,e(s,n,a,r)):(r[l(s)]=!0,e(s,n,null,r)))}},plugins:{},highlightAll:function(e,t){C.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var o={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};C.hooks.run("before-highlightall",o),o.elements=Array.prototype.slice.apply(o.container.querySelectorAll(o.selector)),C.hooks.run("before-all-elements-highlight",o);for(var r,a=0;r=o.elements[a++];)C.highlightElement(r,!0===t,o.callback)},highlightElement:function(e,t,n){var o=C.util.getLanguage(e),r=C.languages[o];e.className=e.className.replace(c,"").replace(/\s+/g," ")+" language-"+o;var a=e.parentElement;a&&"pre"===a.nodeName.toLowerCase()&&(a.className=a.className.replace(c,"").replace(/\s+/g," ")+" language-"+o);var s={element:e,language:o,grammar:r,code:e.textContent};function i(e){s.highlightedCode=e,C.hooks.run("before-insert",s),s.element.innerHTML=s.highlightedCode,C.hooks.run("after-highlight",s),C.hooks.run("complete",s),n&&n.call(s.element)}if(C.hooks.run("before-sanity-check",s),(a=s.element.parentElement)&&"pre"===a.nodeName.toLowerCase()&&!a.hasAttribute("tabindex")&&a.setAttribute("tabindex","0"),!s.code)return C.hooks.run("complete",s),void(n&&n.call(s.element));C.hooks.run("before-highlight",s),s.grammar?t&&l.Worker?((t=new Worker(C.filename)).onmessage=function(e){i(e.data)},t.postMessage(JSON.stringify({language:s.language,code:s.code,immediateClose:!0}))):i(C.highlight(s.code,s.grammar,s.language)):i(C.util.encode(s.code))},highlight:function(e,t,n){n={code:e,grammar:t,language:n};return C.hooks.run("before-tokenize",n),n.tokens=C.tokenize(n.code,n.grammar),C.hooks.run("after-tokenize",n),O.stringify(C.util.encode(n.tokens),n.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var o in n)t[o]=n[o];delete t.rest}var r=new a;return L(r,r.head,e),function e(t,n,o,r,a,s){for(var i in o)if(o.hasOwnProperty(i)&&o[i]){var l=o[i];l=Array.isArray(l)?l:[l];for(var c=0;c<l.length;++c){if(s&&s.cause==i+","+c)return;var d,p=l[c],u=p.inside,h=!!p.lookbehind,f=!!p.greedy,g=p.alias;f&&!p.pattern.global&&(d=p.pattern.toString().match(/[imsuy]*$/)[0],p.pattern=RegExp(p.pattern.source,d+"g"));for(var m=p.pattern||p,b=r.next,y=a;b!==n.tail&&!(s&&y>=s.reach);y+=b.value.length,b=b.next){var k=b.value;if(n.length>t.length)return;if(!(k instanceof O)){var v,_=1;if(f){if(!(v=$(m,y,t,h)))break;var S=v.index,w=v.index+v[0].length,E=y;for(E+=b.value.length;E<=S;)b=b.next,E+=b.value.length;if(E-=b.value.length,y=E,b.value instanceof O)continue;for(var A=b;A!==n.tail&&(E<w||"string"==typeof A.value);A=A.next)_++,E+=A.value.length;_--,k=t.slice(y,E),v.index-=y}else if(!(v=$(m,0,k,h)))continue;var S=v.index,x=v[0],T=k.slice(0,S),N=k.slice(S+x.length),I=y+k.length;s&&I>s.reach&&(s.reach=I);var k=b.prev;T&&(k=L(n,k,T),y+=T.length),D(n,k,_);var x=new O(i,u?C.tokenize(x,u):x,g,x);b=L(n,k,x),N&&L(n,b,N),1<_&&(I={cause:i+","+c,reach:I},e(t,n,o,b.prev,y,I),s&&I.reach>s.reach&&(s.reach=I.reach))}}}}}(e,r,t,r.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(r)},hooks:{all:{},add:function(e,t){var n=C.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=C.hooks.all[e];if(n&&n.length)for(var o,r=0;o=n[r++];)o(t)}},Token:O};function O(e,t,n,o){this.type=e,this.content=t,this.alias=n,this.length=0|(o||"").length}function $(e,t,n,o){e.lastIndex=t;n=e.exec(n);return n&&o&&n[1]&&(o=n[1].length,n.index+=o,n[0]=n[0].slice(o)),n}function a(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function L(e,t,n){var o=t.next,n={value:n,prev:t,next:o};return t.next=n,o.prev=n,e.length++,n}function D(e,t,n){for(var o=t.next,r=0;r<n&&o!==e.tail;r++)o=o.next;(t.next=o).prev=t,e.length-=r}if(l.Prism=C,O.stringify=function t(e,n){if("string"==typeof e)return e;if(Array.isArray(e)){var o="";return e.forEach(function(e){o+=t(e,n)}),o}var r={type:e.type,content:t(e.content,n),tag:"span",classes:["token",e.type],attributes:{},language:n},e=e.alias;e&&(Array.isArray(e)?Array.prototype.push.apply(r.classes,e):r.classes.push(e)),C.hooks.run("wrap",r);var a,s="";for(a in r.attributes)s+=" "+a+'="'+(r.attributes[a]||"").replace(/"/g,"&quot;")+'"';return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+s+">"+r.content+"</"+r.tag+">"},!l.document)return l.addEventListener&&(C.disableWorkerMessageHandler||l.addEventListener("message",function(e){var t=JSON.parse(e.data),n=t.language,e=t.code,t=t.immediateClose;l.postMessage(C.highlight(e,C.languages[n],n)),t&&l.close()},!1)),C;var n=C.util.currentScript();function o(){C.manual||C.highlightAll()}return n&&(C.filename=n.src,n.hasAttribute("data-manual")&&(C.manual=!0)),C.manual||("loading"===(e=document.readyState)||"interactive"===e&&n&&n.defer?document.addEventListener("DOMContentLoaded",o):window.requestAnimationFrame?window.requestAnimationFrame(o):window.setTimeout(o,16)),C}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});function u(e){for(var t={},n=0,o=(e=e.split(" ")).length;n<o;n++)t[e[n]]=r[e[n]];return t}function h(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<value>>/g,function(){return e});return RegExp(n,t)}function f(e){0!=(e=e.filter(function(e){e=((e=e)?window.getComputedStyle?getComputedStyle(e):e.currentStyle||null:null)["white-space"];return"pre-wrap"===e||"pre-line"===e})).length&&((e=e.map(function(e){var t=e.querySelector("code"),n=e.querySelector(".line-numbers-rows");if(t&&n){var o=e.querySelector(".line-numbers-sizer"),n=t.textContent.split(l);o||((o=document.createElement("span")).className="line-numbers-sizer",t.appendChild(o)),o.innerHTML="0",o.style.display="block";t=o.getBoundingClientRect().height;return o.innerHTML="",{element:e,lines:n,lineHeights:[],oneLinerHeight:t,sizer:o}}}).filter(Boolean)).forEach(function(e){var o=e.sizer,t=e.lines,r=e.lineHeights,a=e.oneLinerHeight;r[t.length-1]=void 0,t.forEach(function(e,t){var n;e&&1<e.length?((n=o.appendChild(document.createElement("span"))).style.display="block",n.textContent=e):r[t]=a})}),e.forEach(function(e){for(var t=e.sizer,n=e.lineHeights,o=0,r=0;r<n.length;r++)void 0===n[r]&&(n[r]=t.children[o++].getBoundingClientRect().height)}),e.forEach(function(e){var t=e.sizer,n=e.element.querySelector(".line-numbers-rows");t.style.display="none",t.innerHTML="",e.lineHeights.forEach(function(e,t){n.children[t].style.height=e+"px"})}))}e.exports&&(e.exports=p),void 0!==g&&(g.Prism=p),p.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"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},p.languages.markup.tag.inside["attr-value"].inside.entity=p.languages.markup.entity,p.languages.markup.doctype.inside["internal-subset"].inside=p.languages.markup,p.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(p.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:p.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};n["language-"+t]={pattern:/[\s\S]+/,inside:p.languages[t]};t={};t[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},p.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(p.languages.markup.tag,"addAttribute",{value:function(e,t){p.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[t,"language-"+t],inside:p.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),p.languages.html=p.languages.markup,p.languages.mathml=p.languages.markup,p.languages.svg=p.languages.markup,p.languages.xml=p.languages.extend("markup",{}),p.languages.ssml=p.languages.xml,p.languages.atom=p.languages.xml,p.languages.rss=p.languages.xml,p.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|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},p.languages.javascript=p.languages.extend("clike",{"class-name":[p.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,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:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),p.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,p.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:p.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:p.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:p.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:p.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:p.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),p.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:p.languages.javascript}},string:/[\s\S]+/}}}),p.languages.markup&&(p.languages.markup.tag.addInlined("script","javascript"),p.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")),p.languages.js=p.languages.javascript,n={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},r=(t=p).languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:n,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:TIP|NOTE|IMPORTANT|WARNING|CAUTION):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:n.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:n,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|TM|R)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}},n.inside.interpreted.inside.rest=u("macro inline replacement entity"),r["passthrough-block"].inside.rest=u("macro"),r["literal-block"].inside.rest=u("callout"),r.table.inside.rest=u("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),r["other-block"].inside.rest=u("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),r.title.inside.rest=u("macro inline replacement entity"),t.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),t.languages.adoc=t.languages.asciidoc,function(e){var t="\\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",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},o={bash:n,environment:{pattern:RegExp("\\$"+t),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("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.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+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:o},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:o},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:o.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:o.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|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|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|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|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|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|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|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;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\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}},n.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=o.variable[1].inside,s=0;s<r.length;s++)a[r[s]]=e.languages.bash[r[s]];e.languages.shell=e.languages.bash}(p),p.languages.c=p.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),p.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},p.languages.c.string],comment:p.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:p.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete p.languages.c.boolean,p.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:ORIGIN|INCLUDE|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:IN|CH|CS|HS)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},p.languages["dns-zone"]=p.languages["dns-zone-file"],p.languages.go=p.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete p.languages.go["class-name"],p.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},p.languages.webmanifest=p.languages.json,p.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},builtin:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,symbol:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:[/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,{pattern:/(\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \t])/,lookbehind:!0}],operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},e=p,t=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(n=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+n.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+t.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|unless|or)\b/i,punctuation:/[{};()`,.[\]]/},p.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},p.languages.python["string-interpolation"].inside.interpolation.inside.rest=p.languages.python,p.languages.py=p.languages.python,e={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,p.languages.systemd={comment:e,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+/[^\s\\]/.source+'|[ \t]+(?:(?![ \t"])|'+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:e,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},operator:/=/},t=p,o="(?:"+(e=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/).source+"(?:[ \t]+"+(n=/[*&][^\s[\]{},]+/).source+")?|"+n.source+"(?:[ \t]+"+e.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source,t.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return o})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:h(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:h(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:h(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:h(s),lookbehind:!0,greedy:!0},number:{pattern:h(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:e,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},t.languages.yml=t.languages.yaml,void 0!==p&&"undefined"!=typeof document&&(i="line-numbers",l=/\n(?!$)/g,c=p.plugins.lineNumbers={getLine:function(e,t){if("PRE"===e.tagName&&e.classList.contains(i)){var n=e.querySelector(".line-numbers-rows");if(n){var o=parseInt(e.getAttribute("data-start"),10)||1,e=o+(n.children.length-1);return n.children[(t=e<(t=t<o?o:t)?e:t)-o]}}},resize:function(e){f([e])},assumeViewportIndependence:!0},d=void 0,window.addEventListener("resize",function(){c.assumeViewportIndependence&&d===window.innerWidth||(d=window.innerWidth,f(Array.prototype.slice.call(document.querySelectorAll("pre."+i))))}),p.hooks.add("complete",function(e){var t,n,o;!e.code||(t=(o=e.element).parentNode)&&/pre/i.test(t.nodeName)&&(o.querySelector(".line-numbers-rows")||p.util.isActive(o,i)&&(o.classList.remove(i),t.classList.add(i),o=(n=e.code.match(l))?n.length+1:1,n=new Array(o+1).join("<span></span>"),(o=document.createElement("span")).setAttribute("aria-hidden","true"),o.className="line-numbers-rows",o.innerHTML=n,t.hasAttribute("data-start")&&(t.style.counterReset="linenumber "+(parseInt(t.getAttribute("data-start"),10)-1)),e.element.appendChild(o),f([t]),p.hooks.run("line-numbers",e)))}),p.hooks.add("line-numbers",function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0})),void 0!==p&&"undefined"!=typeof document&&document.createRange&&(p.plugins.KeepMarkup=!0,p.hooks.add("before-highlight",function(e){var i,l;e.element.children.length&&p.util.isActive(e.element,"keep-markup",!0)&&(l=[],function e(t,n){var o={};n||(o.clone=t.cloneNode(!1),o.posOpen=i,l.push(o));for(var r=0,a=t.childNodes.length;r<a;r++){var s=t.childNodes[r];1===s.nodeType?e(s):3===s.nodeType&&(i+=s.data.length)}n||(o.posClose=i)}(e.element,!(i=0)),l&&l.length&&(e.keepMarkup=l))}),p.hooks.add("after-highlight",function(t){var n;t.keepMarkup&&t.keepMarkup.length&&(n=function e(t,n){for(var o=0,r=t.childNodes.length;o<r;o++){var a=t.childNodes[o];if(1===a.nodeType){if(!e(a,n))return!1}else 3===a.nodeType&&(!n.nodeStart&&n.pos+a.data.length>n.node.posOpen&&(n.nodeStart=a,n.nodeStartPos=n.node.posOpen-n.pos),n.nodeStart&&n.pos+a.data.length>=n.node.posClose&&(n.nodeEnd=a,n.nodeEndPos=n.node.posClose-n.pos),n.pos+=a.data.length);if(n.nodeStart&&n.nodeEnd){a=document.createRange();return a.setStart(n.nodeStart,n.nodeStartPos),a.setEnd(n.nodeEnd,n.nodeEndPos),n.node.clone.appendChild(a.extractContents()),a.insertNode(n.node.clone),a.detach(),!1}}return!0},t.keepMarkup.forEach(function(e){n(t.element,{node:e,pos:0})}),t.highlightedCode=t.element.innerHTML)}))}(t={exports:{}}),t.exports),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e};function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,t);if(void 0!==o){if("value"in o)return o.value;o=o.get;return void 0!==o?o.call(n):void 0}if(null!==(e=Object.getPrototypeOf(e)))return s(e,t,n)}var l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t};i.manual=!0,Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t}while(null!==(t=t.parentElement||t.parentNode)&&1===t.nodeType);return null}),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(e){e.hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),n=document.createDocumentFragment();e.forEach(function(e){var t=e instanceof Node;n.appendChild(t?e:document.createTextNode(String(e)))}),this.insertBefore(n,this.firstChild)}})}),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(e){e.hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),n=document.createDocumentFragment();e.forEach(function(e){var t=e instanceof Node;n.appendChild(t?e:document.createTextNode(String(e)))}),this.insertBefore(n,this.firstChild)}})}),String.prototype.includes||(String.prototype.includes=function(e,t){if(e instanceof RegExp)throw TypeError("first argument must not be a RegExp");return-1!==this.indexOf(e,t=void 0===t?0:t)});var y={characterData:!0,subtree:!0,childList:!0},o=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,e),o(c,[{key:"html",get:function(){return'<style>code[class*=language-],pre[class*=language-]{color:#151515;background:#f5f5f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}code.language-none,code.language-text,code.language-txt,pre.language-none,pre.language-text,pre.language-txt{color:#151515}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{background:#cceae7;color:#263238}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{background:#cceae7;color:#263238}:not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}pre[class*=language-]{overflow:auto;position:relative;margin:.5em 0;padding:1.25em 1em}.language-css>code,.language-sass>code,.language-scss>code{color:#b300b3}[class*=language-] .namespace{opacity:.7}.token.atrule{color:#40199a}.token.attr-name{color:#06c}.token.attr-value{color:#b300b3}.token.attribute{color:#b300b3}.token.boolean{color:#40199a}.token.builtin{color:#06c}.token.cdata{color:#06c}.token.char{color:#06c}.token.class{color:#06c}.token.class-name{color:#06c}.token.comment{color:#6a6e73}.token.constant{color:#40199a}.token.deleted{color:#c9190b}.token.doctype{color:#6a6e73}.token.entity{color:#c9190b}.token.function{color:#40199a}.token.hexcode{color:#b300b3}.token.id{color:#40199a;font-weight:700}.token.important{color:#40199a;font-weight:700}.token.inserted{color:#06c}.token.keyword{color:#40199a}.token.number{color:#b300b3}.token.operator{color:#06c}.token.prolog{color:#6a6e73}.token.property{color:#06c}.token.pseudo-class{color:#b300b3}.token.pseudo-element{color:#b300b3}.token.punctuation{color:#06c}.token.regex{color:#06c}.token.selector{color:#c9190b}.token.string{color:#b300b3}.token.symbol{color:#40199a}.token.tag{color:#c9190b}.token.unit{color:#b300b3}.token.url{color:#c9190b}.token.variable{color:#c9190b}:host{display:block}:host([hidden]){display:none}:host([pfe-c-non-prod]) abbr[style],:host([pfe-c-non-prod]) address[style],:host([pfe-c-non-prod]) article[style],:host([pfe-c-non-prod]) aside[style],:host([pfe-c-non-prod]) b[style],:host([pfe-c-non-prod]) blockquote[style],:host([pfe-c-non-prod]) body[style],:host([pfe-c-non-prod]) canvas[style],:host([pfe-c-non-prod]) caption[style],:host([pfe-c-non-prod]) cite[style],:host([pfe-c-non-prod]) code[style],:host([pfe-c-non-prod]) dd[style],:host([pfe-c-non-prod]) del[style],:host([pfe-c-non-prod]) details[style],:host([pfe-c-non-prod]) dfn[style],:host([pfe-c-non-prod]) div[style],:host([pfe-c-non-prod]) dl[style],:host([pfe-c-non-prod]) dt[style],:host([pfe-c-non-prod]) em[style],:host([pfe-c-non-prod]) fieldset[style],:host([pfe-c-non-prod]) figcaption[style],:host([pfe-c-non-prod]) figure[style],:host([pfe-c-non-prod]) footer[style],:host([pfe-c-non-prod]) form[style],:host([pfe-c-non-prod]) h1[style],:host([pfe-c-non-prod]) h2[style],:host([pfe-c-non-prod]) h3[style],:host([pfe-c-non-prod]) h4[style],:host([pfe-c-non-prod]) h5[style],:host([pfe-c-non-prod]) h6[style],:host([pfe-c-non-prod]) header[style],:host([pfe-c-non-prod]) hgroup[style],:host([pfe-c-non-prod]) html[style],:host([pfe-c-non-prod]) i[style],:host([pfe-c-non-prod]) iframe[style],:host([pfe-c-non-prod]) ins[style],:host([pfe-c-non-prod]) kbd[style],:host([pfe-c-non-prod]) label[style],:host([pfe-c-non-prod]) legend[style],:host([pfe-c-non-prod]) li[style],:host([pfe-c-non-prod]) mark[style],:host([pfe-c-non-prod]) menu[style],:host([pfe-c-non-prod]) nav[style],:host([pfe-c-non-prod]) object[style],:host([pfe-c-non-prod]) ol[style],:host([pfe-c-non-prod]) p[style],:host([pfe-c-non-prod]) pre[style],:host([pfe-c-non-prod]) q[style],:host([pfe-c-non-prod]) samp[style],:host([pfe-c-non-prod]) section[style],:host([pfe-c-non-prod]) small[style],:host([pfe-c-non-prod]) span[style],:host([pfe-c-non-prod]) strong[style],:host([pfe-c-non-prod]) sub[style],:host([pfe-c-non-prod]) summary[style],:host([pfe-c-non-prod]) sup[style],:host([pfe-c-non-prod]) table[style],:host([pfe-c-non-prod]) tbody[style],:host([pfe-c-non-prod]) td[style],:host([pfe-c-non-prod]) tfoot[style],:host([pfe-c-non-prod]) th[style],:host([pfe-c-non-prod]) thead[style],:host([pfe-c-non-prod]) time[style],:host([pfe-c-non-prod]) tr[style],:host([pfe-c-non-prod]) ul[style],:host([pfe-c-non-prod]) var[style]{border:2px solid #c9190b}:host([pfe-c-non-prod]) abbr[style]:before,:host([pfe-c-non-prod]) address[style]:before,:host([pfe-c-non-prod]) article[style]:before,:host([pfe-c-non-prod]) aside[style]:before,:host([pfe-c-non-prod]) b[style]:before,:host([pfe-c-non-prod]) blockquote[style]:before,:host([pfe-c-non-prod]) body[style]:before,:host([pfe-c-non-prod]) canvas[style]:before,:host([pfe-c-non-prod]) caption[style]:before,:host([pfe-c-non-prod]) cite[style]:before,:host([pfe-c-non-prod]) code[style]:before,:host([pfe-c-non-prod]) dd[style]:before,:host([pfe-c-non-prod]) del[style]:before,:host([pfe-c-non-prod]) details[style]:before,:host([pfe-c-non-prod]) dfn[style]:before,:host([pfe-c-non-prod]) div[style]:before,:host([pfe-c-non-prod]) dl[style]:before,:host([pfe-c-non-prod]) dt[style]:before,:host([pfe-c-non-prod]) em[style]:before,:host([pfe-c-non-prod]) fieldset[style]:before,:host([pfe-c-non-prod]) figcaption[style]:before,:host([pfe-c-non-prod]) figure[style]:before,:host([pfe-c-non-prod]) footer[style]:before,:host([pfe-c-non-prod]) form[style]:before,:host([pfe-c-non-prod]) h1[style]:before,:host([pfe-c-non-prod]) h2[style]:before,:host([pfe-c-non-prod]) h3[style]:before,:host([pfe-c-non-prod]) h4[style]:before,:host([pfe-c-non-prod]) h5[style]:before,:host([pfe-c-non-prod]) h6[style]:before,:host([pfe-c-non-prod]) header[style]:before,:host([pfe-c-non-prod]) hgroup[style]:before,:host([pfe-c-non-prod]) html[style]:before,:host([pfe-c-non-prod]) i[style]:before,:host([pfe-c-non-prod]) iframe[style]:before,:host([pfe-c-non-prod]) ins[style]:before,:host([pfe-c-non-prod]) kbd[style]:before,:host([pfe-c-non-prod]) label[style]:before,:host([pfe-c-non-prod]) legend[style]:before,:host([pfe-c-non-prod]) li[style]:before,:host([pfe-c-non-prod]) mark[style]:before,:host([pfe-c-non-prod]) menu[style]:before,:host([pfe-c-non-prod]) nav[style]:before,:host([pfe-c-non-prod]) object[style]:before,:host([pfe-c-non-prod]) ol[style]:before,:host([pfe-c-non-prod]) p[style]:before,:host([pfe-c-non-prod]) pre[style]:before,:host([pfe-c-non-prod]) q[style]:before,:host([pfe-c-non-prod]) samp[style]:before,:host([pfe-c-non-prod]) section[style]:before,:host([pfe-c-non-prod]) small[style]:before,:host([pfe-c-non-prod]) span[style]:before,:host([pfe-c-non-prod]) strong[style]:before,:host([pfe-c-non-prod]) sub[style]:before,:host([pfe-c-non-prod]) summary[style]:before,:host([pfe-c-non-prod]) sup[style]:before,:host([pfe-c-non-prod]) table[style]:before,:host([pfe-c-non-prod]) tbody[style]:before,:host([pfe-c-non-prod]) td[style]:before,:host([pfe-c-non-prod]) tfoot[style]:before,:host([pfe-c-non-prod]) th[style]:before,:host([pfe-c-non-prod]) thead[style]:before,:host([pfe-c-non-prod]) time[style]:before,:host([pfe-c-non-prod]) tr[style]:before,:host([pfe-c-non-prod]) ul[style]:before,:host([pfe-c-non-prod]) var[style]:before{display:block;min-width:320px;max-width:100vw;padding:.5em 1em;background:#fee;content:"WARNING: This -moz-element has inline styles which can easily break layout on mobile or other contexts. The inline style is " attr(style);content:"WARNING: This element has inline styles which can easily break layout on mobile or other contexts. The inline style is " attr(style)}.warning-message{display:block;min-width:320px;max-width:100vw;padding:.5em 1em;background:#fee}\n/*# sourceMappingURL=cp-documentation.min.css.map */\n</style><div id="wrapper" class="rhdocs"></div>'}},{key:"templateUrl",get:function(){return"cp-documentation.html"}},{key:"styleUrl",get:function(){return"cp-documentation.scss"}}],[{key:"version",get:function(){return"0.1.47"}},{key:"tag",get:function(){return"cp-documentation"}},{key:"properties",get:function(){return{}}},{key:"slots",get:function(){return{}}}]),o(c,[{key:"connectedCallback",value:function(){if(s(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"connectedCallback",this).call(this),this.hasAttribute("pfe-css"))this._loadCss();else{for(var e="/webassets/avalon/j/public_modules/node_modules/@cpelements/cp-documentation/dist/rhdocs.min.css",t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];if(n.href&&n.href.includes("/rhdocs.")){e=n.ownerNode.getAttribute("href");break}}this._addStyleSheet(e)}"object"===("undefined"==typeof drupalSettings?"undefined":r(drupalSettings))&&drupalSettings.red_hat_fcc?("string"==typeof drupalSettings.red_hat_fcc.content_metadata?this._contentData=JSON.parse(drupalSettings.red_hat_fcc.content_metadata):"object"===r(drupalSettings.red_hat_fcc.content_metadata)&&(this._contentData=drupalSettings.red_hat_fcc.content_metadata),this._contentType=this._contentData.content_type):window.location.host.includes("access.")&&".redhat.com"===window.location.host.substring(-11)&&(this._contentType=document.querySelector(".rhdocs__header--assembly")?"assembly":"module"),document.querySelector(".rh-docs__sidebar")&&this.classList.add("pfe-documentation--next-to-sidebar"),this._processLightDom(),this._observer.observe(this,y);var o=this.querySelector("#rhdocs-preamble");o&&!o.textContent.trim()&&o.remove(),window.location.hash&&window.addEventListener("load",this._navigationHandler),this.parentElement.classList.contains("rh-docs__content-wrapper")&&document.getElementById("rhdocs-header-external")&&this.classList.add("cp-documentation--has-external-header"),window.addEventListener("hashchange",this._navigationHandler)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){s(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"attributeChangedCallback",this).call(this,e,t,n),"pfe-endpoint"===e&&this.loadData()}},{key:"_isCrustyBrowser",value:function(){return window.ShadyCSS&&!window.ShadyCSS.nativeShadow}},{key:"_portalEnvironmentFix",value:function(e){return e=(e=(e=(e=(e=e.replace("http://","https://")).replace("pantheon2-dev.int.us-east.aws.preprod.paas.redhat.com","pantheon.corp.dev.redhat.com")).replace("pantheon2-qa.int.us-east.aws.preprod.paas.redhat.com","pantheon.corp.qa.redhat.com")).replace("pantheon2-stage.int.us-east.aws.preprod.paas.redhat.com","pantheon.corp.stage.redhat.com")).replace("pantheon2-proxy.ext.us-west.aws.prod.paas.redhat.com","api.docs.redhat.com"),e=window.location.host.includes("wruvalca")||window.location.host.includes(".foo.")?e.substring(e.indexOf("/api")):e}},{key:"_isDevelopment",value:function(){return this.hasAttribute("debug")}},{key:"_navigationHandler",value:function(){var e=this.shadowRoot.getElementById(window.location.hash.substring(1));e&&window.scrollTo(window.scrollX,e.offsetTop)}},{key:"_createRelatedContentWrapper",value:function(e){"string"!=typeof e&&(e="topic");var t=document.createElement("details"),n=document.createElement("summary"),o=document.createElement("div");return t.classList.add("related-topic-content__wrapper"),"guide"===e&&(t.classList.add("related-topic-content__wrapper--for-guide"),t.setAttribute("open","")),n.classList.add("related-topic-content__title"),o.classList.add("related-topic-content__inner-wrapper"),n.innerText="Content related to this "+e,t.append(n),t.append(o),[t,o]}},{key:"_createPrintButton",value:function(){var e=document.createElement("button");e.innerText="Print",e.classList.add("rhdocs__print-button");var t=document.createElement("pfe-icon");return t.setAttribute("icon","web-print"),t.setAttribute("pfe-size","sm"),e.prepend(t),e.addEventListener("click",function(){window.print()}),e}},{key:"_processCodeblock",value:function(e){var t=e.getAttribute("class"),n=t?t.split(" "):void 0,t=document.createElement("pre");if(!e.classList.contains("codeblock--processed")){var o="none",r=void 0;if(n)for(var a=0;a<n.length;a++){var s=n[a];"language-"===s.substring(0,9)&&(o=s.substring(9).toLowerCase(),r=s)}if("pre"!==e.tagName.toLowerCase()){if(!e.parentElement||"pre"!==e.parentElement.tagName.toLowerCase())return;e=e.parentElement}switch(t.innerText=e.innerText,t.hidden=!0,e.parentElement&&(e.parentElement.classList.add("codeblock__wrapper"),e.parentElement.appendChild(t)),o){case"config":o="text";break;case"dns":o="dns-zone";break;case"terminal":o="shell",e.classList.add("command-line");break;case"golang":o="go";break;case"make":o="makefile"}e.classList.contains("language-"+o)||(e.classList.remove(r),e.classList.add("language-"+o));try{i.highlightElement(e,!1)}catch(e){console.error(e)}}}},{key:"_processLightDom",value:function(e){this._isCrustyBrowser()&&this._observer.disconnect(),this._isDevelopment()&&console.log(this.tag+": Processing Light Dom",e);var t=this.shadowRoot.getElementById("wrapper"),n=this.shadowRoot.getElementById("content"),o=document.createElement("div");this.childNodes.forEach(function(e){e=e.cloneNode(!0);o.append(e)});for(var r=o.querySelectorAll("._additional-resources"),a=0;a<r.length;a++){var s,i,l=r[a],c=document.createElement("aside");c.setAttribute("class",l.getAttribute("class")),c.innerHTML=l.innerHTML,l.parentElement.replaceChild(c,l),l=c,"assembly"!==this._contentType||(s=l.closest("section, article"))&&(i=l.querySelector("h2"),c=a===r.length-1&&i?"guide":"topic",i=this._createRelatedContentWrapper(c),"guide"==c?(i[1].append(l),s.append(i[0])):(l.replaceWith(i[0]),i[1].append(l)))}var d=o.querySelector(".rhdocs__header__secondary-wrapper");(d=!o.querySelector("#rhdocs-header-external")&&document.getElementById("rhdocs-header-external")?document.querySelector("#rhdocs-header-external .rhdocs__header__secondary-wrapper"):d)&&!d.querySelector(".rhdocs-print-button")&&((e=document.createElement("li")).classList.add("rh-docs-details-item"),e.classList.add("rhdocs-print-button"),e.append(this._createPrintButton()),d.append(e));var p=o.querySelectorAll("pre[class*='language-'], code[class*='language-']");if(p)for(var u=0;u<p.length;u++){var h=p[u];this._processCodeblock(h)}for(var f=o.querySelectorAll("table"),g=0;g<f.length;g++){var m,b=f[g];b.parentElement.classList.contains("table-wrapper")||((m=document.createElement("div")).classList.add("table-wrapper"),b.parentElement.replaceChild(m,b),m.append(b))}n?t.replaceChild(o,n):t.append(o),o.setAttribute("id","content"),this._isCrustyBrowser()&&this._observer.observe(this,y)}},{key:"_addStyleSheet",value:function(e){var t;this.shadowRoot.querySelector("link[href='"+e+"']")||((t=document.createElement("link")).setAttribute("id","pfe-css"),t.setAttribute("href",e),t.setAttribute("rel","stylesheet"),this.shadowRoot.prepend(t))}},{key:"_loadCss",value:function(){this.hasAttribute("pfe-css")&&this._addStyleSheet(this.getAttribute("pfe-css"))}},{key:"loadData",value:function(){var t=this,e=this.getAttribute("pfe-endpoint");e&&fetch(this._portalEnvironmentFix(e)).then(function(e){return e.json()}).then(function(e){"object"===r(e.module)&&(t.setAttribute("pfe-loaded",""),t._contentData=e.module,t._contentData.body&&(t.innerHTML=t._contentData.body))}).catch(function(e){return console.error(t.tag+": "+e)})}},{key:"getData",value:function(){return Object.keys(this._contentData).length?this._contentData:null}},{key:"_addIncludedInGuides",value:function(e){var t=this._contentData.variantToModuleMap[e.variant_uuid];if(1<this._contentData.moduleToVariantMap[t].length)console.error(this.tag+": The same module is used twice in this assembly, included in guides could not be added.");else if(t){var n=this.shadowRoot.querySelector('[pantheon-module-id="'+t+'"]');if(n){for(var o=window.location.pathname.split("/"),r=[],a=0;a<e.included_in_guides.length;a++){var s,i=e.included_in_guides[a];i.uuid!==this._contentData.uuid&&(s=document.createElement("a"),o[o.length-1]=i.uuid,s.setAttribute("href","/"+o.join("/")),s.innerText=i.title,r.push(s))}var l=null;if(1<r.length)for(var l=document.createElement("ul"),c=0;c<l.length;c++){var d=l[c],p=document.createElement("li");p.append(d),l.append(p)}else l=r[0];var u=parseInt(n.querySelector("h1, h2, h3, h4, h5, h6").tagName.substring(1)),h=5<u?6:u+1,t=document.createElement("aside");t.classList.add("included-in-guides");u=document.createElement("h"+h);u.classList.add("included-in-guides__title"),u.innerText="Guides Including this topic",t.append(u),t.append(l);h=n.querySelector(".related-topic-content__wrapper");h?h.querySelector(".related-topic-content__inner-wrapper").append(t):(h=(u=this._createRelatedContentWrapper())[0],u[1].append(t),n.append(h))}}}},{key:"_loadChildModules",value:function(){}}]),c);function c(){n(this,c);var e=l(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,c,{type:c.PfeType}));return e._processLightDom=e._processLightDom.bind(e),e._isDevelopment=e._isDevelopment.bind(e),e._addStyleSheet=e._addStyleSheet.bind(e),e._loadCss=e._loadCss.bind(e),e.loadData=e.loadData.bind(e),e.getData=e.getData.bind(e),e._navigationHandler=e._navigationHandler.bind(e),e._loadChildModules=e._loadChildModules.bind(e),e._addIncludedInGuides=e._addIncludedInGuides.bind(e),e._processCodeblock=e._processCodeblock.bind(e),e._observer=new MutationObserver(e._processLightDom),e._contentData={},e._contentType=null,e}return e.create(o),o});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("../../../@patternfly/pfelement/dist/pfelement.umd.min")):"function"==typeof define&&define.amd?define(["../../../@patternfly/pfelement/dist/pfelement.umd.min"],t):e.PfeDocumentation=t(e.PFElement)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var t,i=(function(e){var r,t,n,o,a,s,i,l,c,d,p=function(l){var c=/\blang(?:uage)?-([\w-]+)\b/i,t=0,e={},C={manual:l.Prism&&l.Prism.manual,disableWorkerMessageHandler:l.Prism&&l.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof O?new O(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function n(e,o){var r,t;switch(o=o||{},C.util.type(e)){case"Object":if(t=C.util.objId(e),o[t])return o[t];for(var a in o[t]=r={},e)e.hasOwnProperty(a)&&(r[a]=n(e[a],o));return r;case"Array":return(t=C.util.objId(e),o[t])?o[t]:(o[t]=r=[],e.forEach(function(e,t){r[t]=n(e,o)}),r);default:return e}},getLanguage:function(e){for(;e&&!c.test(e.className);)e=e.parentElement;return e?(e.className.match(c)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(e){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(e.stack)||[])[1];if(t){var n,o=document.getElementsByTagName("script");for(n in o)if(o[n].src==t)return o[n]}return null}},isActive:function(e,t,n){for(var o="no-"+t;e;){var r=e.classList;if(r.contains(t))return!0;if(r.contains(o))return!1;e=e.parentElement}return!!n}},languages:{plain:e,plaintext:e,text:e,txt:e,extend:function(e,t){var n,o=C.util.clone(C.languages[e]);for(n in t)o[n]=t[n];return o},insertBefore:function(n,e,t,o){var r,a=(o=o||C.languages)[n],s={};for(r in a)if(a.hasOwnProperty(r)){if(r==e)for(var i in t)t.hasOwnProperty(i)&&(s[i]=t[i]);t.hasOwnProperty(r)||(s[r]=a[r])}var l=o[n];return o[n]=s,C.languages.DFS(C.languages,function(e,t){t===l&&e!=n&&(this[e]=s)}),s},DFS:function e(t,n,o,r){r=r||{};var a,s,i,l=C.util.objId;for(a in t)t.hasOwnProperty(a)&&(n.call(t,a,t[a],o||a),s=t[a],"Object"!==(i=C.util.type(s))||r[l(s)]?"Array"!==i||r[l(s)]||(r[l(s)]=!0,e(s,n,a,r)):(r[l(s)]=!0,e(s,n,null,r)))}},plugins:{},highlightAll:function(e,t){C.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var o={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};C.hooks.run("before-highlightall",o),o.elements=Array.prototype.slice.apply(o.container.querySelectorAll(o.selector)),C.hooks.run("before-all-elements-highlight",o);for(var r,a=0;r=o.elements[a++];)C.highlightElement(r,!0===t,o.callback)},highlightElement:function(e,t,n){var o=C.util.getLanguage(e),r=C.languages[o];e.className=e.className.replace(c,"").replace(/\s+/g," ")+" language-"+o;var a=e.parentElement;a&&"pre"===a.nodeName.toLowerCase()&&(a.className=a.className.replace(c,"").replace(/\s+/g," ")+" language-"+o);var s={element:e,language:o,grammar:r,code:e.textContent};function i(e){s.highlightedCode=e,C.hooks.run("before-insert",s),s.element.innerHTML=s.highlightedCode,C.hooks.run("after-highlight",s),C.hooks.run("complete",s),n&&n.call(s.element)}if(C.hooks.run("before-sanity-check",s),(a=s.element.parentElement)&&"pre"===a.nodeName.toLowerCase()&&!a.hasAttribute("tabindex")&&a.setAttribute("tabindex","0"),!s.code)return C.hooks.run("complete",s),void(n&&n.call(s.element));C.hooks.run("before-highlight",s),s.grammar?t&&l.Worker?((t=new Worker(C.filename)).onmessage=function(e){i(e.data)},t.postMessage(JSON.stringify({language:s.language,code:s.code,immediateClose:!0}))):i(C.highlight(s.code,s.grammar,s.language)):i(C.util.encode(s.code))},highlight:function(e,t,n){n={code:e,grammar:t,language:n};return C.hooks.run("before-tokenize",n),n.tokens=C.tokenize(n.code,n.grammar),C.hooks.run("after-tokenize",n),O.stringify(C.util.encode(n.tokens),n.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var o in n)t[o]=n[o];delete t.rest}var r=new a;return L(r,r.head,e),function e(t,n,o,r,a,s){for(var i in o)if(o.hasOwnProperty(i)&&o[i]){var l=o[i];l=Array.isArray(l)?l:[l];for(var c=0;c<l.length;++c){if(s&&s.cause==i+","+c)return;var d,p=l[c],u=p.inside,h=!!p.lookbehind,f=!!p.greedy,g=p.alias;f&&!p.pattern.global&&(d=p.pattern.toString().match(/[imsuy]*$/)[0],p.pattern=RegExp(p.pattern.source,d+"g"));for(var m=p.pattern||p,b=r.next,y=a;b!==n.tail&&!(s&&y>=s.reach);y+=b.value.length,b=b.next){var k=b.value;if(n.length>t.length)return;if(!(k instanceof O)){var v,_=1;if(f){if(!(v=$(m,y,t,h)))break;var S=v.index,w=v.index+v[0].length,E=y;for(E+=b.value.length;E<=S;)b=b.next,E+=b.value.length;if(E-=b.value.length,y=E,b.value instanceof O)continue;for(var A=b;A!==n.tail&&(E<w||"string"==typeof A.value);A=A.next)_++,E+=A.value.length;_--,k=t.slice(y,E),v.index-=y}else if(!(v=$(m,0,k,h)))continue;var S=v.index,x=v[0],T=k.slice(0,S),N=k.slice(S+x.length),I=y+k.length;s&&I>s.reach&&(s.reach=I);var k=b.prev;T&&(k=L(n,k,T),y+=T.length),D(n,k,_);var x=new O(i,u?C.tokenize(x,u):x,g,x);b=L(n,k,x),N&&L(n,b,N),1<_&&(I={cause:i+","+c,reach:I},e(t,n,o,b.prev,y,I),s&&I.reach>s.reach&&(s.reach=I.reach))}}}}}(e,r,t,r.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(r)},hooks:{all:{},add:function(e,t){var n=C.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=C.hooks.all[e];if(n&&n.length)for(var o,r=0;o=n[r++];)o(t)}},Token:O};function O(e,t,n,o){this.type=e,this.content=t,this.alias=n,this.length=0|(o||"").length}function $(e,t,n,o){e.lastIndex=t;n=e.exec(n);return n&&o&&n[1]&&(o=n[1].length,n.index+=o,n[0]=n[0].slice(o)),n}function a(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function L(e,t,n){var o=t.next,n={value:n,prev:t,next:o};return t.next=n,o.prev=n,e.length++,n}function D(e,t,n){for(var o=t.next,r=0;r<n&&o!==e.tail;r++)o=o.next;(t.next=o).prev=t,e.length-=r}if(l.Prism=C,O.stringify=function t(e,n){if("string"==typeof e)return e;if(Array.isArray(e)){var o="";return e.forEach(function(e){o+=t(e,n)}),o}var r={type:e.type,content:t(e.content,n),tag:"span",classes:["token",e.type],attributes:{},language:n},e=e.alias;e&&(Array.isArray(e)?Array.prototype.push.apply(r.classes,e):r.classes.push(e)),C.hooks.run("wrap",r);var a,s="";for(a in r.attributes)s+=" "+a+'="'+(r.attributes[a]||"").replace(/"/g,"&quot;")+'"';return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+s+">"+r.content+"</"+r.tag+">"},!l.document)return l.addEventListener&&(C.disableWorkerMessageHandler||l.addEventListener("message",function(e){var t=JSON.parse(e.data),n=t.language,e=t.code,t=t.immediateClose;l.postMessage(C.highlight(e,C.languages[n],n)),t&&l.close()},!1)),C;var n=C.util.currentScript();function o(){C.manual||C.highlightAll()}return n&&(C.filename=n.src,n.hasAttribute("data-manual")&&(C.manual=!0)),C.manual||("loading"===(e=document.readyState)||"interactive"===e&&n&&n.defer?document.addEventListener("DOMContentLoaded",o):window.requestAnimationFrame?window.requestAnimationFrame(o):window.setTimeout(o,16)),C}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});function u(e){for(var t={},n=0,o=(e=e.split(" ")).length;n<o;n++)t[e[n]]=r[e[n]];return t}function h(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<value>>/g,function(){return e});return RegExp(n,t)}function f(e){0!=(e=e.filter(function(e){e=((e=e)?window.getComputedStyle?getComputedStyle(e):e.currentStyle||null:null)["white-space"];return"pre-wrap"===e||"pre-line"===e})).length&&((e=e.map(function(e){var t=e.querySelector("code"),n=e.querySelector(".line-numbers-rows");if(t&&n){var o=e.querySelector(".line-numbers-sizer"),n=t.textContent.split(l);o||((o=document.createElement("span")).className="line-numbers-sizer",t.appendChild(o)),o.innerHTML="0",o.style.display="block";t=o.getBoundingClientRect().height;return o.innerHTML="",{element:e,lines:n,lineHeights:[],oneLinerHeight:t,sizer:o}}}).filter(Boolean)).forEach(function(e){var o=e.sizer,t=e.lines,r=e.lineHeights,a=e.oneLinerHeight;r[t.length-1]=void 0,t.forEach(function(e,t){var n;e&&1<e.length?((n=o.appendChild(document.createElement("span"))).style.display="block",n.textContent=e):r[t]=a})}),e.forEach(function(e){for(var t=e.sizer,n=e.lineHeights,o=0,r=0;r<n.length;r++)void 0===n[r]&&(n[r]=t.children[o++].getBoundingClientRect().height)}),e.forEach(function(e){var t=e.sizer,n=e.element.querySelector(".line-numbers-rows");t.style.display="none",t.innerHTML="",e.lineHeights.forEach(function(e,t){n.children[t].style.height=e+"px"})}))}e.exports&&(e.exports=p),void 0!==g&&(g.Prism=p),p.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"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},p.languages.markup.tag.inside["attr-value"].inside.entity=p.languages.markup.entity,p.languages.markup.doctype.inside["internal-subset"].inside=p.languages.markup,p.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(p.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:p.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};n["language-"+t]={pattern:/[\s\S]+/,inside:p.languages[t]};t={};t[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},p.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(p.languages.markup.tag,"addAttribute",{value:function(e,t){p.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[t,"language-"+t],inside:p.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),p.languages.html=p.languages.markup,p.languages.mathml=p.languages.markup,p.languages.svg=p.languages.markup,p.languages.xml=p.languages.extend("markup",{}),p.languages.ssml=p.languages.xml,p.languages.atom=p.languages.xml,p.languages.rss=p.languages.xml,p.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|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},p.languages.javascript=p.languages.extend("clike",{"class-name":[p.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,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:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),p.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,p.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:p.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:p.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:p.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:p.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:p.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),p.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:p.languages.javascript}},string:/[\s\S]+/}}}),p.languages.markup&&(p.languages.markup.tag.addInlined("script","javascript"),p.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")),p.languages.js=p.languages.javascript,n={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},r=(t=p).languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:n,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:TIP|NOTE|IMPORTANT|WARNING|CAUTION):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:n.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:n,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|TM|R)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}},n.inside.interpreted.inside.rest=u("macro inline replacement entity"),r["passthrough-block"].inside.rest=u("macro"),r["literal-block"].inside.rest=u("callout"),r.table.inside.rest=u("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),r["other-block"].inside.rest=u("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),r.title.inside.rest=u("macro inline replacement entity"),t.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),t.languages.adoc=t.languages.asciidoc,function(e){var t="\\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",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},o={bash:n,environment:{pattern:RegExp("\\$"+t),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("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.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+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:o},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:o},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:o.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:o.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|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|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|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|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|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|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|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;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\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}},n.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=o.variable[1].inside,s=0;s<r.length;s++)a[r[s]]=e.languages.bash[r[s]];e.languages.shell=e.languages.bash}(p),p.languages.c=p.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),p.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},p.languages.c.string],comment:p.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:p.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete p.languages.c.boolean,p.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:ORIGIN|INCLUDE|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:IN|CH|CS|HS)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},p.languages["dns-zone"]=p.languages["dns-zone-file"],p.languages.go=p.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete p.languages.go["class-name"],p.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},p.languages.webmanifest=p.languages.json,p.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},builtin:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,symbol:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:[/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,{pattern:/(\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \t])/,lookbehind:!0}],operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},e=p,t=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(n=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+n.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+t.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|unless|or)\b/i,punctuation:/[{};()`,.[\]]/},p.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},p.languages.python["string-interpolation"].inside.interpolation.inside.rest=p.languages.python,p.languages.py=p.languages.python,e={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,p.languages.systemd={comment:e,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+/[^\s\\]/.source+'|[ \t]+(?:(?![ \t"])|'+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:e,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},operator:/=/},t=p,o="(?:"+(e=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/).source+"(?:[ \t]+"+(n=/[*&][^\s[\]{},]+/).source+")?|"+n.source+"(?:[ \t]+"+e.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source,t.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return o})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:h(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:h(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:h(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:h(s),lookbehind:!0,greedy:!0},number:{pattern:h(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:e,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},t.languages.yml=t.languages.yaml,void 0!==p&&"undefined"!=typeof document&&(i="line-numbers",l=/\n(?!$)/g,c=p.plugins.lineNumbers={getLine:function(e,t){if("PRE"===e.tagName&&e.classList.contains(i)){var n=e.querySelector(".line-numbers-rows");if(n){var o=parseInt(e.getAttribute("data-start"),10)||1,e=o+(n.children.length-1);return n.children[(t=e<(t=t<o?o:t)?e:t)-o]}}},resize:function(e){f([e])},assumeViewportIndependence:!0},d=void 0,window.addEventListener("resize",function(){c.assumeViewportIndependence&&d===window.innerWidth||(d=window.innerWidth,f(Array.prototype.slice.call(document.querySelectorAll("pre."+i))))}),p.hooks.add("complete",function(e){var t,n,o;!e.code||(t=(o=e.element).parentNode)&&/pre/i.test(t.nodeName)&&(o.querySelector(".line-numbers-rows")||p.util.isActive(o,i)&&(o.classList.remove(i),t.classList.add(i),o=(n=e.code.match(l))?n.length+1:1,n=new Array(o+1).join("<span></span>"),(o=document.createElement("span")).setAttribute("aria-hidden","true"),o.className="line-numbers-rows",o.innerHTML=n,t.hasAttribute("data-start")&&(t.style.counterReset="linenumber "+(parseInt(t.getAttribute("data-start"),10)-1)),e.element.appendChild(o),f([t]),p.hooks.run("line-numbers",e)))}),p.hooks.add("line-numbers",function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0})),void 0!==p&&"undefined"!=typeof document&&document.createRange&&(p.plugins.KeepMarkup=!0,p.hooks.add("before-highlight",function(e){var i,l;e.element.children.length&&p.util.isActive(e.element,"keep-markup",!0)&&(l=[],function e(t,n){var o={};n||(o.clone=t.cloneNode(!1),o.posOpen=i,l.push(o));for(var r=0,a=t.childNodes.length;r<a;r++){var s=t.childNodes[r];1===s.nodeType?e(s):3===s.nodeType&&(i+=s.data.length)}n||(o.posClose=i)}(e.element,!(i=0)),l&&l.length&&(e.keepMarkup=l))}),p.hooks.add("after-highlight",function(t){var n;t.keepMarkup&&t.keepMarkup.length&&(n=function e(t,n){for(var o=0,r=t.childNodes.length;o<r;o++){var a=t.childNodes[o];if(1===a.nodeType){if(!e(a,n))return!1}else 3===a.nodeType&&(!n.nodeStart&&n.pos+a.data.length>n.node.posOpen&&(n.nodeStart=a,n.nodeStartPos=n.node.posOpen-n.pos),n.nodeStart&&n.pos+a.data.length>=n.node.posClose&&(n.nodeEnd=a,n.nodeEndPos=n.node.posClose-n.pos),n.pos+=a.data.length);if(n.nodeStart&&n.nodeEnd){a=document.createRange();return a.setStart(n.nodeStart,n.nodeStartPos),a.setEnd(n.nodeEnd,n.nodeEndPos),n.node.clone.appendChild(a.extractContents()),a.insertNode(n.node.clone),a.detach(),!1}}return!0},t.keepMarkup.forEach(function(e){n(t.element,{node:e,pos:0})}),t.highlightedCode=t.element.innerHTML)}))}(t={exports:{}}),t.exports),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e};function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,t);if(void 0!==o){if("value"in o)return o.value;o=o.get;return void 0!==o?o.call(n):void 0}if(null!==(e=Object.getPrototypeOf(e)))return s(e,t,n)}var l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t};i.manual=!0,Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t}while(null!==(t=t.parentElement||t.parentNode)&&1===t.nodeType);return null}),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(e){e.hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),n=document.createDocumentFragment();e.forEach(function(e){var t=e instanceof Node;n.appendChild(t?e:document.createTextNode(String(e)))}),this.insertBefore(n,this.firstChild)}})}),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(e){e.hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),n=document.createDocumentFragment();e.forEach(function(e){var t=e instanceof Node;n.appendChild(t?e:document.createTextNode(String(e)))}),this.insertBefore(n,this.firstChild)}})}),String.prototype.includes||(String.prototype.includes=function(e,t){if(e instanceof RegExp)throw TypeError("first argument must not be a RegExp");return-1!==this.indexOf(e,t=void 0===t?0:t)});var y={characterData:!0,subtree:!0,childList:!0},o=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,e),o(c,[{key:"html",get:function(){return'<style>code[class*=language-],pre[class*=language-]{color:#151515;background:#f5f5f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}code.language-none,code.language-text,code.language-txt,pre.language-none,pre.language-text,pre.language-txt{color:#151515}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{background:#cceae7;color:#263238}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{background:#cceae7;color:#263238}:not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}pre[class*=language-]{overflow:auto;position:relative;margin:.5em 0;padding:1.25em 1em}.language-css>code,.language-sass>code,.language-scss>code{color:#b300b3}[class*=language-] .namespace{opacity:.7}.token.atrule{color:#40199a}.token.attr-name{color:#06c}.token.attr-value{color:#b300b3}.token.attribute{color:#b300b3}.token.boolean{color:#40199a}.token.builtin{color:#06c}.token.cdata{color:#06c}.token.char{color:#06c}.token.class{color:#06c}.token.class-name{color:#06c}.token.comment{color:#6a6e73}.token.constant{color:#40199a}.token.deleted{color:#c9190b}.token.doctype{color:#6a6e73}.token.entity{color:#c9190b}.token.function{color:#40199a}.token.hexcode{color:#b300b3}.token.id{color:#40199a;font-weight:700}.token.important{color:#40199a;font-weight:700}.token.inserted{color:#06c}.token.keyword{color:#40199a}.token.number{color:#b300b3}.token.operator{color:#06c}.token.prolog{color:#6a6e73}.token.property{color:#06c}.token.pseudo-class{color:#b300b3}.token.pseudo-element{color:#b300b3}.token.punctuation{color:#06c}.token.regex{color:#06c}.token.selector{color:#c9190b}.token.string{color:#b300b3}.token.symbol{color:#40199a}.token.tag{color:#c9190b}.token.unit{color:#b300b3}.token.url{color:#c9190b}.token.variable{color:#c9190b}:host{display:block}:host([hidden]){display:none}:host([pfe-c-non-prod]) abbr[style],:host([pfe-c-non-prod]) address[style],:host([pfe-c-non-prod]) article[style],:host([pfe-c-non-prod]) aside[style],:host([pfe-c-non-prod]) b[style],:host([pfe-c-non-prod]) blockquote[style],:host([pfe-c-non-prod]) body[style],:host([pfe-c-non-prod]) canvas[style],:host([pfe-c-non-prod]) caption[style],:host([pfe-c-non-prod]) cite[style],:host([pfe-c-non-prod]) code[style],:host([pfe-c-non-prod]) dd[style],:host([pfe-c-non-prod]) del[style],:host([pfe-c-non-prod]) details[style],:host([pfe-c-non-prod]) dfn[style],:host([pfe-c-non-prod]) div[style],:host([pfe-c-non-prod]) dl[style],:host([pfe-c-non-prod]) dt[style],:host([pfe-c-non-prod]) em[style],:host([pfe-c-non-prod]) fieldset[style],:host([pfe-c-non-prod]) figcaption[style],:host([pfe-c-non-prod]) figure[style],:host([pfe-c-non-prod]) footer[style],:host([pfe-c-non-prod]) form[style],:host([pfe-c-non-prod]) h1[style],:host([pfe-c-non-prod]) h2[style],:host([pfe-c-non-prod]) h3[style],:host([pfe-c-non-prod]) h4[style],:host([pfe-c-non-prod]) h5[style],:host([pfe-c-non-prod]) h6[style],:host([pfe-c-non-prod]) header[style],:host([pfe-c-non-prod]) hgroup[style],:host([pfe-c-non-prod]) html[style],:host([pfe-c-non-prod]) i[style],:host([pfe-c-non-prod]) iframe[style],:host([pfe-c-non-prod]) ins[style],:host([pfe-c-non-prod]) kbd[style],:host([pfe-c-non-prod]) label[style],:host([pfe-c-non-prod]) legend[style],:host([pfe-c-non-prod]) li[style],:host([pfe-c-non-prod]) mark[style],:host([pfe-c-non-prod]) menu[style],:host([pfe-c-non-prod]) nav[style],:host([pfe-c-non-prod]) object[style],:host([pfe-c-non-prod]) ol[style],:host([pfe-c-non-prod]) p[style],:host([pfe-c-non-prod]) pre[style],:host([pfe-c-non-prod]) q[style],:host([pfe-c-non-prod]) samp[style],:host([pfe-c-non-prod]) section[style],:host([pfe-c-non-prod]) small[style],:host([pfe-c-non-prod]) span[style],:host([pfe-c-non-prod]) strong[style],:host([pfe-c-non-prod]) sub[style],:host([pfe-c-non-prod]) summary[style],:host([pfe-c-non-prod]) sup[style],:host([pfe-c-non-prod]) table[style],:host([pfe-c-non-prod]) tbody[style],:host([pfe-c-non-prod]) td[style],:host([pfe-c-non-prod]) tfoot[style],:host([pfe-c-non-prod]) th[style],:host([pfe-c-non-prod]) thead[style],:host([pfe-c-non-prod]) time[style],:host([pfe-c-non-prod]) tr[style],:host([pfe-c-non-prod]) ul[style],:host([pfe-c-non-prod]) var[style]{border:2px solid #c9190b}:host([pfe-c-non-prod]) abbr[style]:before,:host([pfe-c-non-prod]) address[style]:before,:host([pfe-c-non-prod]) article[style]:before,:host([pfe-c-non-prod]) aside[style]:before,:host([pfe-c-non-prod]) b[style]:before,:host([pfe-c-non-prod]) blockquote[style]:before,:host([pfe-c-non-prod]) body[style]:before,:host([pfe-c-non-prod]) canvas[style]:before,:host([pfe-c-non-prod]) caption[style]:before,:host([pfe-c-non-prod]) cite[style]:before,:host([pfe-c-non-prod]) code[style]:before,:host([pfe-c-non-prod]) dd[style]:before,:host([pfe-c-non-prod]) del[style]:before,:host([pfe-c-non-prod]) details[style]:before,:host([pfe-c-non-prod]) dfn[style]:before,:host([pfe-c-non-prod]) div[style]:before,:host([pfe-c-non-prod]) dl[style]:before,:host([pfe-c-non-prod]) dt[style]:before,:host([pfe-c-non-prod]) em[style]:before,:host([pfe-c-non-prod]) fieldset[style]:before,:host([pfe-c-non-prod]) figcaption[style]:before,:host([pfe-c-non-prod]) figure[style]:before,:host([pfe-c-non-prod]) footer[style]:before,:host([pfe-c-non-prod]) form[style]:before,:host([pfe-c-non-prod]) h1[style]:before,:host([pfe-c-non-prod]) h2[style]:before,:host([pfe-c-non-prod]) h3[style]:before,:host([pfe-c-non-prod]) h4[style]:before,:host([pfe-c-non-prod]) h5[style]:before,:host([pfe-c-non-prod]) h6[style]:before,:host([pfe-c-non-prod]) header[style]:before,:host([pfe-c-non-prod]) hgroup[style]:before,:host([pfe-c-non-prod]) html[style]:before,:host([pfe-c-non-prod]) i[style]:before,:host([pfe-c-non-prod]) iframe[style]:before,:host([pfe-c-non-prod]) ins[style]:before,:host([pfe-c-non-prod]) kbd[style]:before,:host([pfe-c-non-prod]) label[style]:before,:host([pfe-c-non-prod]) legend[style]:before,:host([pfe-c-non-prod]) li[style]:before,:host([pfe-c-non-prod]) mark[style]:before,:host([pfe-c-non-prod]) menu[style]:before,:host([pfe-c-non-prod]) nav[style]:before,:host([pfe-c-non-prod]) object[style]:before,:host([pfe-c-non-prod]) ol[style]:before,:host([pfe-c-non-prod]) p[style]:before,:host([pfe-c-non-prod]) pre[style]:before,:host([pfe-c-non-prod]) q[style]:before,:host([pfe-c-non-prod]) samp[style]:before,:host([pfe-c-non-prod]) section[style]:before,:host([pfe-c-non-prod]) small[style]:before,:host([pfe-c-non-prod]) span[style]:before,:host([pfe-c-non-prod]) strong[style]:before,:host([pfe-c-non-prod]) sub[style]:before,:host([pfe-c-non-prod]) summary[style]:before,:host([pfe-c-non-prod]) sup[style]:before,:host([pfe-c-non-prod]) table[style]:before,:host([pfe-c-non-prod]) tbody[style]:before,:host([pfe-c-non-prod]) td[style]:before,:host([pfe-c-non-prod]) tfoot[style]:before,:host([pfe-c-non-prod]) th[style]:before,:host([pfe-c-non-prod]) thead[style]:before,:host([pfe-c-non-prod]) time[style]:before,:host([pfe-c-non-prod]) tr[style]:before,:host([pfe-c-non-prod]) ul[style]:before,:host([pfe-c-non-prod]) var[style]:before{display:block;min-width:320px;max-width:100vw;padding:.5em 1em;background:#fee;content:"WARNING: This -moz-element has inline styles which can easily break layout on mobile or other contexts. The inline style is " attr(style);content:"WARNING: This element has inline styles which can easily break layout on mobile or other contexts. The inline style is " attr(style)}.warning-message{display:block;min-width:320px;max-width:100vw;padding:.5em 1em;background:#fee}\n/*# sourceMappingURL=cp-documentation.min.css.map */\n</style><div id="wrapper" class="rhdocs"></div>'}},{key:"templateUrl",get:function(){return"cp-documentation.html"}},{key:"styleUrl",get:function(){return"cp-documentation.scss"}}],[{key:"version",get:function(){return"0.1.48"}},{key:"tag",get:function(){return"cp-documentation"}},{key:"properties",get:function(){return{}}},{key:"slots",get:function(){return{}}}]),o(c,[{key:"connectedCallback",value:function(){if(s(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"connectedCallback",this).call(this),this.hasAttribute("pfe-css"))this._loadCss();else{for(var e="/webassets/avalon/j/public_modules/node_modules/@cpelements/cp-documentation/dist/rhdocs.min.css",t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];if(n.href&&n.href.includes("/rhdocs.")){e=n.ownerNode.getAttribute("href");break}}this._addStyleSheet(e)}"object"===("undefined"==typeof drupalSettings?"undefined":r(drupalSettings))&&drupalSettings.red_hat_fcc?("string"==typeof drupalSettings.red_hat_fcc.content_metadata?this._contentData=JSON.parse(drupalSettings.red_hat_fcc.content_metadata):"object"===r(drupalSettings.red_hat_fcc.content_metadata)&&(this._contentData=drupalSettings.red_hat_fcc.content_metadata),this._contentType=this._contentData.content_type):window.location.host.includes("access.")&&".redhat.com"===window.location.host.substring(-11)&&(this._contentType=document.querySelector(".rhdocs__header--assembly")?"assembly":"module"),document.querySelector(".rh-docs__sidebar")&&this.classList.add("pfe-documentation--next-to-sidebar"),this._processLightDom(),this._observer.observe(this,y);var o=this.querySelector("#rhdocs-preamble");o&&!o.textContent.trim()&&o.remove(),window.location.hash&&window.addEventListener("load",this._navigationHandler),this.parentElement.classList.contains("rh-docs__content-wrapper")&&document.getElementById("rhdocs-header-external")&&this.classList.add("cp-documentation--has-external-header"),window.addEventListener("hashchange",this._navigationHandler)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){s(c.prototype.__proto__||Object.getPrototypeOf(c.prototype),"attributeChangedCallback",this).call(this,e,t,n),"pfe-endpoint"===e&&this.loadData()}},{key:"_isCrustyBrowser",value:function(){return window.ShadyCSS&&!window.ShadyCSS.nativeShadow}},{key:"_portalEnvironmentFix",value:function(e){return e=(e=(e=(e=(e=e.replace("http://","https://")).replace("pantheon2-dev.int.us-east.aws.preprod.paas.redhat.com","pantheon.corp.dev.redhat.com")).replace("pantheon2-qa.int.us-east.aws.preprod.paas.redhat.com","pantheon.corp.qa.redhat.com")).replace("pantheon2-stage.int.us-east.aws.preprod.paas.redhat.com","pantheon.corp.stage.redhat.com")).replace("pantheon2-proxy.ext.us-west.aws.prod.paas.redhat.com","api.docs.redhat.com"),e=window.location.host.includes("wruvalca")||window.location.host.includes(".foo.")?e.substring(e.indexOf("/api")):e}},{key:"_isDevelopment",value:function(){return this.hasAttribute("debug")}},{key:"_navigationHandler",value:function(){var e=this.shadowRoot.getElementById(window.location.hash.substring(1));e&&window.scrollTo(window.scrollX,e.offsetTop)}},{key:"_createRelatedContentWrapper",value:function(e){"string"!=typeof e&&(e="topic");var t=document.createElement("details"),n=document.createElement("summary"),o=document.createElement("div");return t.classList.add("related-topic-content__wrapper"),"guide"===e&&(t.classList.add("related-topic-content__wrapper--for-guide"),t.setAttribute("open","")),n.classList.add("related-topic-content__title"),o.classList.add("related-topic-content__inner-wrapper"),n.innerText="Content related to this "+e,t.append(n),t.append(o),[t,o]}},{key:"_createPrintButton",value:function(){var e=document.createElement("button");e.innerText="Print",e.classList.add("rhdocs__print-button");var t=document.createElement("pfe-icon");return t.setAttribute("icon","web-print"),t.setAttribute("pfe-size","sm"),e.prepend(t),e.addEventListener("click",function(){window.print()}),e}},{key:"_processCodeblock",value:function(e){var t=e.getAttribute("class"),n=t?t.split(" "):void 0,t=document.createElement("pre");if(!e.classList.contains("codeblock--processed")){var o="none",r=void 0;if(n)for(var a=0;a<n.length;a++){var s=n[a];"language-"===s.substring(0,9)&&(o=s.substring(9).toLowerCase(),r=s)}if("pre"!==e.tagName.toLowerCase()){if(!e.parentElement||"pre"!==e.parentElement.tagName.toLowerCase())return;e=e.parentElement}switch(t.innerText=e.innerText,t.hidden=!0,e.parentElement&&(e.parentElement.classList.add("codeblock__wrapper"),e.parentElement.appendChild(t)),o){case"config":o="text";break;case"dns":o="dns-zone";break;case"terminal":o="shell",e.classList.add("command-line");break;case"golang":o="go";break;case"make":o="makefile"}e.classList.contains("language-"+o)||(e.classList.remove(r),e.classList.add("language-"+o));try{i.highlightElement(e,!1)}catch(e){console.error(e)}}}},{key:"_processLightDom",value:function(e){this._isCrustyBrowser()&&this._observer.disconnect(),this._isDevelopment()&&console.log(this.tag+": Processing Light Dom",e);var t=this.shadowRoot.getElementById("wrapper"),n=this.shadowRoot.getElementById("content"),o=document.createElement("div");this.childNodes.forEach(function(e){e=e.cloneNode(!0);o.append(e)});for(var r=o.querySelectorAll("._additional-resources"),a=0;a<r.length;a++){var s,i,l=r[a],c=document.createElement("aside");c.setAttribute("class",l.getAttribute("class")),c.innerHTML=l.innerHTML,l.parentElement.replaceChild(c,l),l=c,"assembly"!==this._contentType||(s=l.closest("section, article"))&&(i=l.querySelector("h2"),c=a===r.length-1&&i?"guide":"topic",i=this._createRelatedContentWrapper(c),"guide"==c?(i[1].append(l),s.append(i[0])):(l.replaceWith(i[0]),i[1].append(l)))}var d=o.querySelector(".rhdocs__header__secondary-wrapper");(d=!o.querySelector("#rhdocs-header-external")&&document.getElementById("rhdocs-header-external")?document.querySelector("#rhdocs-header-external .rhdocs__header__secondary-wrapper"):d)&&!d.querySelector(".rhdocs-print-button")&&((e=document.createElement("li")).classList.add("rh-docs-details-item"),e.classList.add("rhdocs-print-button"),e.append(this._createPrintButton()),d.append(e));var p=o.querySelectorAll("pre[class*='language-'], code[class*='language-']");if(p)for(var u=0;u<p.length;u++){var h=p[u];this._processCodeblock(h)}for(var f=o.querySelectorAll("table"),g=0;g<f.length;g++){var m,b=f[g];b.parentElement.classList.contains("table-wrapper")||((m=document.createElement("div")).classList.add("table-wrapper"),b.parentElement.replaceChild(m,b),m.append(b))}n?t.replaceChild(o,n):t.append(o),o.setAttribute("id","content"),this._isCrustyBrowser()&&this._observer.observe(this,y)}},{key:"_addStyleSheet",value:function(e){var t;this.shadowRoot.querySelector("link[href='"+e+"']")||((t=document.createElement("link")).setAttribute("id","pfe-css"),t.setAttribute("href",e),t.setAttribute("rel","stylesheet"),this.shadowRoot.prepend(t))}},{key:"_loadCss",value:function(){this.hasAttribute("pfe-css")&&this._addStyleSheet(this.getAttribute("pfe-css"))}},{key:"loadData",value:function(){var t=this,e=this.getAttribute("pfe-endpoint");e&&fetch(this._portalEnvironmentFix(e)).then(function(e){return e.json()}).then(function(e){"object"===r(e.module)&&(t.setAttribute("pfe-loaded",""),t._contentData=e.module,t._contentData.body&&(t.innerHTML=t._contentData.body))}).catch(function(e){return console.error(t.tag+": "+e)})}},{key:"getData",value:function(){return Object.keys(this._contentData).length?this._contentData:null}},{key:"_addIncludedInGuides",value:function(e){var t=this._contentData.variantToModuleMap[e.variant_uuid];if(1<this._contentData.moduleToVariantMap[t].length)console.error(this.tag+": The same module is used twice in this assembly, included in guides could not be added.");else if(t){var n=this.shadowRoot.querySelector('[pantheon-module-id="'+t+'"]');if(n){for(var o=window.location.pathname.split("/"),r=[],a=0;a<e.included_in_guides.length;a++){var s,i=e.included_in_guides[a];i.uuid!==this._contentData.uuid&&(s=document.createElement("a"),o[o.length-1]=i.uuid,s.setAttribute("href","/"+o.join("/")),s.innerText=i.title,r.push(s))}var l=null;if(1<r.length)for(var l=document.createElement("ul"),c=0;c<l.length;c++){var d=l[c],p=document.createElement("li");p.append(d),l.append(p)}else l=r[0];var u=parseInt(n.querySelector("h1, h2, h3, h4, h5, h6").tagName.substring(1)),h=5<u?6:u+1,t=document.createElement("aside");t.classList.add("included-in-guides");u=document.createElement("h"+h);u.classList.add("included-in-guides__title"),u.innerText="Guides Including this topic",t.append(u),t.append(l);h=n.querySelector(".related-topic-content__wrapper");h?h.querySelector(".related-topic-content__inner-wrapper").append(t):(h=(u=this._createRelatedContentWrapper())[0],u[1].append(t),n.append(h))}}}},{key:"_loadChildModules",value:function(){}}]),c);function c(){n(this,c);var e=l(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,c,{type:c.PfeType}));return e._processLightDom=e._processLightDom.bind(e),e._isDevelopment=e._isDevelopment.bind(e),e._addStyleSheet=e._addStyleSheet.bind(e),e._loadCss=e._loadCss.bind(e),e.loadData=e.loadData.bind(e),e.getData=e.getData.bind(e),e._navigationHandler=e._navigationHandler.bind(e),e._loadChildModules=e._loadChildModules.bind(e),e._addIncludedInGuides=e._addIncludedInGuides.bind(e),e._processCodeblock=e._processCodeblock.bind(e),e._observer=new MutationObserver(e._processLightDom),e._contentData={},e._contentType=null,e}return e.create(o),o});
//# sourceMappingURL=cp-documentation.umd.min.js.map
{
"name": "@cpelements/cp-documentation",
"description": "Documentation element for PatternFly Elements",
"version": "0.1.47",
"version": "0.1.48",
"pfelement": {

@@ -6,0 +6,0 @@ "className": "PfeDocumentation",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc