(window.webpackJsonp=window.webpackJsonp||[]).push([[128],{524:function(t,e,n){"use strict";const s=(o=n(109)).__esModule?o.default:o;var o;const r=(t=>t.__esModule?t.default:t)(n(525)),u=(t=>t.__esModule?t.default:t)(n(526)),i=(t=>t.__esModule?t.default:t)(n(528));function c(t,e){if(t.hasSubstitution(e))return t.removeSubstitution(e),e}function a(t,e){const n=function(t){return t.getAttribute("language",null,!1)||t.getDocument().getAttribute("highlightjs-default-lang","none")}(e);let o,r,a=e.getSource();if(!function(t){return"auto"===t||s.getLanguage(t)}(n))return;c(e,"macros")&&(o=i(t,e),a=o.extract(a)),c(e,"callouts")&&(r=u(t,e),a=r.extract(a));const l=e.getSubstitutions(),p=l.indexOf("specialcharacters");let g;if(p>=0&&(a=e.applySubs(a,l.slice(0,p)),l.splice(0,p+1)),"auto"===n){const t=s.highlightAuto(a);e.setAttribute("language",t.language),g=t.value}else g=s.highlight(n,a,!0).value;o&&(g=o.restore(g));let d=g.split("\n");r&&(d=d.map((t,e)=>t+(r.convertLine(e)||""))),e.lines=d}Object.defineProperty(e,"__esModule",{value:!0}).default=function(){r();const t=t=>{t.findBy({context:"listing",style:"source"},t=>a(this,t))};this.process(e=>{e.isAttribute("source-highlighter","highlightjs-ext")&&(t(e),e.findBy({context:"table"},e=>e.getRows().getBody().forEach(e=>e.forEach(e=>{const n=e.getInnerDocument();n&&t(n)}))))})}},525:function(t,e,n){"use strict";let s=!1;Object.defineProperty(e,"__esModule",{value:!0}).default=()=>{if(s)return;const t=Opal.const_get_qualified(Opal.Asciidoctor,"AbstractBlock").prototype;t.applySubs||(t.applySubs=function(t,e){return this.$apply_subs(t,e)}),t.extractPassthroughs||(t.extractPassthroughs=function(t){return this.$extract_passthroughs(t)}),t.restorePassthroughs||(t.restorePassthroughs=function(t,e=!0){return this.$restore_passthroughs(t,e)});const e=Opal.const_get_qualified(Opal.Asciidoctor,"Callouts").prototype;e.readNextId||(e.readNextId=function(){return this.$read_next_id()});const n=Opal.const_get_qualified(Opal.Asciidoctor,"Table"),o=n.prototype;o.getRows||(o.getRows=function(){return this.$rows()});const r=Opal.const_get_qualified(n,"Rows").prototype;r.getBody||(r.getBody=function(){return this.$body()});const u=Opal.const_get_qualified(n,"Cell").prototype;u.getInnerDocument||(u.getInnerDocument=function(){const t=this.$inner_document();return t===Opal.nil?void 0:t}),s=!0}},526:function(t,e,n){"use strict";const{regexpEscape:s,ExtMap:o}=n(527),r=/(?:(?:\/\/|#|--|;;) ?)?(\\)?<!?(|--)(\d+)\2>(?=(?: ?\\?<!?\2\d+\2>)*$)/;Object.defineProperty(e,"__esModule",{value:!0}).default=(t,e)=>{const n=new o,u=e.getAttribute("line-comment");let i;const c=u?new RegExp(`(?:${s(u)} )?(\\\\)?<()(\\d+)>(?=(?: ?\\\\?<\\d+>)*$)`):r;function a(n){return t.createInline(e,"callout",n,{id:l()}).convert()}function l(){return i||(i=e.getDocument().getCallouts()),i.readNextId()}return{get callouts(){return n},extract:t=>(n.clear(),t.split("\n").map((t,e)=>t.replace(c,(t,s,o,r)=>"\\"===s?t.replace("\\",""):(n.set(e,[...n.get(e,[]),parseInt(r)]),""))).join("\n")),convertLine:t=>n.has(t)?n.get(t,[]).map(a).join(" "):""}}},527:function(t,e,n){"use strict";class s extends Map{get(t,e){const n=super.get(t);return void 0!==n?n:e}}e.ExtMap=s,e.regexpEscape=function(t){return t.replace(/[\^$\\.*+?()[\]{}|]/g,"\\$&")}},528:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}).default=(t,e)=>{const n=Opal.const_get_qualified(Opal.Asciidoctor,"Substitutors"),s=Opal.const_get_qualified(n,"PASS_START"),o=Opal.const_get_qualified(n,"PASS_END"),r=new RegExp(`<span\\b[^>]*>${s}</span>[^\\d]*(\\d+)[^\\d]*<span\\b[^>]*>${o}</span>`,"u");return{extract:t=>e.extractPassthroughs(t),restore:t=>function(){try{return e.$passthroughs().$$keys.length>0}catch(t){return!0}}()?(t=t.replace(r,`${s}\\1${o}`),e.restorePassthroughs(t)):t}}},661:function(t,e,n){"use strict";const s=(o=n(524)).__esModule?o.default:o;var o;e.VERSION="0.3.0",e.register=function(t){return"function"==typeof t.register?t.register((function(){this.treeProcessor(s)})):"function"==typeof t.block&&t.treeProcessor(s),t}}}]);