1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[292],{1937:function(t,n,e){e.d(n,{Z:function(){return te}});var r,o,u,i,a,l,c,p,f=/\r\n?/g,s=/\t/g,h=/\f/g,d=function(t){return t.replace(f,"\n").replace(h,"").replace(s," ")},g=function(t,n){var e=t||{};if(null!=n)for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},y=function(t,n){var e,r=Object.keys(t).filter(function(n){var e=t[n];if(null==e||null==e.match)return!1;var r=e.order;return"number"==typeof r&&isFinite(r)||"undefined"==typeof console||console.warn("simple-markdown: Invalid order for rule `"+n+"`: "+String(r)),!0});r.sort(function(n,e){var r=t[n],o=t[e],u=r.order,i=o.order;if(u!==i)return u-i;var a=r.quality?0:1,l=o.quality?0:1;return a!==l?a-l:n<e?-1:n>e?1:0});var o=function n(o,u){var i=[];for(e=u=u||e;o;){var a=null,l=null,c=null,p=NaN,f=0,s=r[0],h=t[s];do{var d=h.order,g=null==u.prevCapture?"":u.prevCapture[0],y=h.match(o,u,g);if(y){var m=h.quality?h.quality(y,u,g):0;m<=p||(a=s,l=h,c=y,p=m)}h=t[s=r[++f]]}while(h&&(!c||h.order===d&&h.quality));if(null==l||null==c)throw Error("Could not find a matching rule for the below content. The rule with highest `order` should always match content provided to it. Check the definition of `match` for '"+r[r.length-1]+"'. It seems to not match the following source:\n"+o);if(c.index)throw Error("`match` must return a capture starting at index 0 (the current parse index). Did
1you forget a ^ at the start of the RegExp?");var v=l.parse(c,n,u);if(Array.isArray(v))Array.prototype.push.apply(i,v);else{if(null==v||"object"!=typeof v)throw Error("parse() function returned invalid parse result: '".concat(v,"'"));null==v.type&&(v.type=a),i.push(v)}u.prevCapture=c,o=o.substring(u.prevCapture[0].length)}return i};return function(t,r){return(e=g(r,n)).inline||e.disableAutoBlockNewlines||(t+="\n\n"),e.prevCapture=null,o(d(t),e)}},m=function(t){var n=function(n,e,r){return e.inline?t.exec(n):null};return n.regex=t,n},v=function(t){var n=function(n,e){return e.inline?null:t.exec(n)};return n.regex=t,n},x=function(t){var n=function(n,e){return t.exec(n)};return n.regex=t,n},S="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,b=function(t,n,e){return{$$typeof:S,type:t,key:null==n?void 0:n,ref:null,props:e,_owner:null}},k=function(t,n,e,r){r=void 0===r||r;var o="";for(var u in e=e||{}){var i=e[u];Object.prototype.hasOwnProperty.call(e,u)&&i&&(o+=" "+$(u)+'="'+$(i)+'"')}var a="<"+t+o+">";return r?a+n+"</"+t+">":a},w={},E=function(t){if(null==t)return null;try{var n=new URL(t,"https://localhost").protocol;if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}catch(t){return null}return t},_=/[<>&"']/g,R={"<":"<",">":">","&":"&",'"':""","'":"'","/":"/","`":"`"},$=function(t){return String(t).replace(_,function(t){return R[t]})},A=/\\([^0-9A-Za-z\s])/g,j=function(t){return t.replace(A,"$1")},O=function(t,n,e){var r=e.inline||!1;e.inline=!0;var o=t(n,e);return e.inline=r,o},T=function(t,n,e){return{content:O(n,t[1],e)}},C=function(){return{}},B="(?:[*+-]|\\d+\\.)",P="( *)("+B+") +",N=RegExp("^"+P),q=RegExp(P+"[^\\n]*(?:\\n(?!\\1"+B+" )[^\\n]*)*(\n|$)","gm"),F=/\n{2,}$/,L=/^ (?= *`)|(` *) $/g,I=/ *\n+$/,Z=RegExp("^( *)("+B+") [\\s\\S]+?(?:\n{2,}(?! )(?!\\1"+B+" )\\n*|\\s*\n*$)"),z=/(?:^|\n)( *)$/,G=(r=/^ *\| *| *\| *$/g,o=/ *$/,u=/^ *-+: *$/,i=/^ *:-+: *$/,a=/^ *:-+ *$/,l=function(t){return u.test(t)?"right":i.test(t)?"center":a.test(t)?"left":null},c=function(t,n,e,r){var u=e.inTable;e.inTable=!0;var i=n(t.trim(),e);e.inTable=u;var a=[[]];return i.forEach(function(t,n){"tableSeparator"===t.type?r&&(0===n||n===i.length-1)||a.push([]):("text"===t.type&&(null==i[n+1]||"tableSeparator"===i[n+1].type)&&(t.content=t.content.replace(o,"")),a[a.length-1].push(t))}),a},{parseTable:(p=function(t){return function(n,e,o){o.inline=!0;var u,i=c(n[1],e,o,t),a=(u=n[2],t&&(u=u.replace(r,"")),u.trim().split("|").map(l)),p=n[3].trim().split("\n").map(function(n){return c(n,e,o,t)});return o.inline=!1,{type:"table",header:i,align:a,cells:p}}})(!0),parseNpTable:p(!1),TABLE_REGEX:/^ *(\|.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/,NPTABLE_REGEX:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/}),X="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",U="\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*",H=/mailto:/i,D=function(t,n,e){var r=(t[2]||t[1]).replace(/\s+/g," ").toLowerCase();if(n._defs&&n._defs[r]){var o=n._defs[r];e.target=o.target,e.title=o.title}return n._refs=n._refs||{},n._refs[r]=n._refs[r]||[],n._refs[r].push(e),e},M=0,Q={Array:{react:function(t,n,e){for(var r=e.key,o=[],u=0,i=0;u<t.length;u++,i++){e.key=""+u;var a=t[u];if("text"===a.type)for(a={type:"text",content:a.content};u+1<t.length&&"text"===t[u+1].type;u++)a.content+=t[u+1].content;o.push(n(a,e))}return e.key=r,o},html:function(t,n,e){for(var r="",o=0;o<t.length;o++){var u=t[o];if("text"===u.type)for(u={type:"text",content:u.content};o+1<t.length&&"text"===t[o+1].type;o++)u.content+=t[o+1].content;r+=n(u,e)}return r}},heading:{order:M++,match:v(/^ *(#{1,6})([^\n]+?)#* *(?:\n *)+\n/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return{level:t[1].length,content:O(n,t[2].trim(),e)}}),react:function(t,n,e){return b("h"+t.level,e.key,{children:n(t.content,e)})},html:function(t,n,e){return k("h"+t.level,n(t.content,e))}},nptable:{order:M++,match:v(G.NPTABLE_REGEX),parse:G.parseNpTable,react:null,html:null},lheading:{order:M++,match:v(/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return{type:"heading",level:"="===t[2]?1:2,content:O(n,t[1],e)}}),react:null,html:null},hr:{order:M++,match:v(/^( *[-*_]){3,} *(?:\n *)+\n/),parse:C,react:function(t,n,e){return b("hr",e.key,w)},html:function(t,n,e){return"<hr>"}},codeBlock:{order:M++,match:v(/^(?: [^\n]+\n*)+(?:\n *)+\n/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return{lang:void 0,content:t[0].replace(/^ /gm,"").replace(/\n+$/,"")}}),react:function(t,n,e){var r=t.lang?"markdown-code-"+t.lang:void 0;return b("pre",e.key,{children:b("code",null,{className:r,children:t.content})})},html:function(t,n,e){var r=t.lang?"markdown-code-"+t.lang:void 0,o=k("c
1ode",$(t.content),{class:r});return k("pre",o)}},fence:{order:M++,match:v(/^ *(`{3,}|~{3,}) *(?:(\S+) *)?\n([\s\S]+?)\n?\1 *(?:\n *)+\n/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return{type:"codeBlock",lang:t[2]||void 0,content:t[3]}}),react:null,html:null},blockQuote:{order:M++,match:v(/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return{content:n(t[0].replace(/^ *> ?/gm,""),e)}}),react:function(t,n,e){return b("blockquote",e.key,{children:n(t.content,e)})},html:function(t,n,e){return k("blockquote",n(t.content,e))}},list:{order:M++,match:function(t,n){var e=null==n.prevCapture?"":n.prevCapture[0],r=z.exec(e),o=n._list||!n.inline;return r&&o?(t=r[1]+t,Z.exec(t)):null},parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){var r=t[2],o=r.length>1,u=t[0].replace(F,"\n").match(q),i=!1;return{ordered:o,start:o?+r:void 0,items:u.map(function(t,r){var o,a=N.exec(t),l=RegExp("^ {1,"+(a?a[0].length:0)+"}","gm"),c=t.replace(l,"").replace(N,""),p=r===u.length-1,f=-1!==c.indexOf("\n\n")||p&&i;i=f;var s=e.inline,h=e._list;e._list=!0,f?(e.inline=!1,o=c.replace(I,"\n\n")):(e.inline=!0,o=c.replace(I,""));var d=n(o,e);return e.inline=s,e._list=h,d})}}),react:function(t,n,e){return b(t.ordered?"ol":"ul",e.key,{start:t.start,children:t.items.map(function(t,r){return b("li",""+r,{children:n(t,e)})})})},html:function(t,n,e){var r=t.items.map(function(t){return k("li",n(t,e))}).join("");return k(t.ordered?"ol":"ul",r,{start:t.start})}},def:{order:M++,match:v(/^ *\[([^\]]+)\]: *<?([^\s>]*)>?(?: +["(]([^\n]+)[")])? *\n(?: *\n)*/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){var r=t[1].replace(/\s+/g," ").toLowerCase(),o=t[2],u=t[3];return e._refs&&e._refs[r]&&e._refs[r].forEach(function(t){t.target=o,t.title=u}),e._defs=e._defs||{},e._defs[r]={target:o,title:u},{def:r,target:o,title:u}}),react:function(){return null},html:function(){return""}},table:{order:M++,match:v(G.TABLE_REGEX),parse:G.parseTable,react:function(t,n,e){var r=function(n){return null==t.align[n]?{}:{textAlign:t.align[n]}},o=t.header.map(function(t,o){return b("th",""+o,{style:r(o),scope:"col",children:n(t,e)})}),u=t.cells.map(function(t,o){return b("tr",""+o,{children:t.map(function(t,o){return b("td",""+o,{style:r(o),children:n(t,e)})})})});return b("table",e.key,{children:[b("thead","thead",{children:b("tr",null,{children:o})}),b("tbody","tbody",{children:u})]})},html:function(t,n,e){var r=function(n){return null==t.align[n]?"":"text-align:"+t.align[n]+";"},o=t.header.map(function(t,o){return k("th",n(t,e),{style:r(o),scope:"col"})}).join(""),u=t.cells.map(function(t){var o=t.map(function(t,o){return k("td",n(t,e),{style:r(o)})}).join("");return k("tr",o)}).join(""),i=k("thead",k("tr",o)),a=k("tbody",u);return k("table",i+a)}},newline:{order:M++,match:v(/^(?:\n *)*\n/),parse:C,react:function(t,n,e){return"\n"},html:function(t,n,e){return"\n"}},paragraph:{order:M++,match:v(/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/),parse:T,react:function(t,n,e){return b("div",e.key,{className:"paragraph",children:n(t.content,e)})},html:function(t,n,e){return k("div",n(t.content,e),{class:"paragraph"})}},escape:{order:M++,match:m(/^\\([^0-9A-Za-z\s])/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return{type:"text",content:t[1]}}),react:null,html:null},tableSeparator:{order:M++,match:function(t,n){return n.inTable?/^ *\| */.exec(t):null},parse:function(){return{type:"tableSeparator"}},react:function(){return" | "},html:function(){return" | "}},autolink:{order:M++,match:m(/^<([^: >]+:\/[^ >]+)>/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return{type:"link",content:[{type:"text",content:t[1]}],target:t[1]}}),react:null,html:null},mailto:{order:M++,match:m(/^<([^ >]+@[^ >]+)>/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){var r=t[1],o=t[1];return H.test(o)||(o="mailto:"+o),{type:"link",content:[{type:"text",content:r}],target:o}}),react:null,html:null},url:{order:M++,match:m(/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return{type:"link",content:[{type:"text",content:t[1]}],target:t[1],title:void 0}}),react:null,html:null},link:{order:M++,match:m(RegExp("^\\[("+X+")\\]\\("+U+"\\)")),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return{content:n(t[1],e),target:j(t[2]),title:t[3]}}),react:function(t,n,e){return b("a",e.key,{href:E(t.target),title:t.title,children:n(t.content,e)})},html:function(t,n,e){var r={href:E(t.target),title:t.title};return k("a",n(t.content,e),r)}},image:{order:M++,match:m(RegExp("^!\\[("+X+")\\]\\("+U+"\\)")),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return{alt:t[1],target:j(t[2]),title:t[3]}}),react:function(t,n,e){return b("img",e.key,{src:E(t.target),alt:t.alt,title:t.title})},html:function(t,n,e){return k("img","",{src:E(t.target),alt:t.alt,title:t.title},!1)}},reflink:{order:M++,match:m(RegExp("^\\[("+X+")\\]\\s*\\[([^\\]]*)\\]")),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return D(t,e,{type:"link",content:n(t[1],e)})}),react:null,html:null},refimage:{order:M++,match:m(RegExp("^!\\[("+X+")\\]\\s*\\[([^\\]]*)\\]")),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return D(t,e,{type:"image",alt:t[1]})}),react:null,html:null},em:{order:M,match:m(RegExp("^\\b_((?:__|\\\\[\\s\\S]|[^\\\\_])+?)_\\b|^\\*(?=\\S)((?:\\*\\*|\\\\[\\s\\S]|\\s+(?:\\\\[\\s\\S]|[^\\s\\*\\\\]|\\*\\*)|[^\\s\\*\\\\])+?)\\*(?!\\*)")),quality:function(t){return t[0].length+.2},parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return{content:n(t[2]||t[1],e)}}),react:function(t,n,e){return b("em",e.key,{children:n(t.content,e)})},html:function(t,n,e){return k("em",n(t.content,e))}},strong:{order:M,match:m(/^\*\*((?:\\[\s\S]|[^\\])+?)\*\*(?!\*)/),quality:function(t){return t[0].length+.1},parse:T,react:function(t,n,e){return b("strong",e.key,{children:n(t.content,e)})},html:function(t,n,e){return k("strong",n(t.content,e))}},u:{order:M++,match:m(/^__((?:\\[\s\S]|[^\\])+?)__(?!_)/),quality:function(t){return t[0].length},parse:T,react:function(t,n,e){return b("u",e.key,{children:n(t.content,e)})},html:function(t,n,e){return k("u",n(t.content,e))}},del:{order:M++,match:m(/^~~(?=\S)((?:\\[\s\S]|~(?!~)|[^\s~\\]|\s(?!~~))+?)~~/),parse:T,react:function(t,n,e){return b("del",e.key,{children:n(t.content,e)})},html:function(t,n,e){return k("del",n(t.content,e))}},inlineCode:{order:M++,match:m(/^(`+)([\s\S]*?[^`])\1(?!`)/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return{content:t[2].replace(L,"$1")}}),react:function(t,n,e){return b("code",e.key,{children:t.content})},html:function(t,n,e){return k("code",$(t.content))}},br:{order:M++,match:x(/^ {2,}\n/),parse:C,react:function(t,n,e){return b("br",e.key,w)},html:function(t,n,e){return"<br>"}},text:{order:M++,match:x(/^[\s\S]+?(?=[^0-9A-Za-z\s\u00c0-\uffff]|\n\n| {2,}\n|\w+:\S|$)/),parse:function(t){function n(n,e,r){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t,n,e){return{content:t[0]}}),react:function(t,n,e){return t.content},html:function(t,n,e){return $(t.content)}}},J=function(t,n){var e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!n)throw Error("simple-markdown: outputFor: `property` must be defined. if you just upgraded, you probably need to replace `outputFor` with `reactFor`");var o=(t.Array||Q.Array)[n];if(!o)throw Error("simple-markdown: outputFor: to join nodes of type `"+n+"` you must provide an `Array:` joiner rule with that type, Please see the docs for details on specifying an Array rule.");return function(u,i){return function r(u,i){return(e=i=i||e,Array.isArray(u))?o(u,r,i
1):t[u.type][n](u,r,i)}(u,e=g(i,r))}},K=y(Q),V=function(t,n){return(n=n||{}).inline=!1,K(t,n)},W=function(t,n){var e=F.test(t);return(n=n||{}).inline=!e,K(t,n)},Y=J(Q,"react"),tt=J(Q,"html"),tn=function(t,n){return Y(V(t,n),n)},te={defaultRules:Q,parserFor:y,outputFor:J,inlineRegex:m,blockRegex:v,anyScopeRegex:x,parseInline:O,parseBlock:function(t,n,e){var r=e.inline||!1;e.inline=!1;var o=t(n+"\n\n",e);return e.inline=r,o},markdownToReact:tn,markdownToHtml:function(t,n){return tt(V(t,n),n)},ReactMarkdown:function(t){var n={};for(var e in t)"source"!==e&&Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n.children=tn(t.source),b("div",null,n)},defaultBlockParse:V,defaultInlineParse:function(t,n){return(n=n||{}).inline=!0,K(t,n)},defaultImplicitParse:W,defaultReactOutput:Y,defaultHtmlOutput:tt,preprocess:d,sanitizeText:$,sanitizeUrl:E,unescapeUrl:j,htmlTag:k,reactElement:b,defaultRawParse:K,ruleOutput:function(t,n){return n||"undefined"==typeof console||console.warn("simple-markdown ruleOutput should take 'react' or 'html' as the second argument."),function(e,r,o){return t[e.type][n](e,r,o)}},reactFor:function(t){return function n(e,r){if(r=r||{},!Array.isArray(e))return t(e,n,r);for(var o=r.key,u=[],i=null,a=0;a<e.length;a++){r.key=""+a;var l=n(e[a],r);
1"string"==typeof l&&"string"==typeof i?(i+=l,u[u.length-1]=i):(u.push(l),i=l)}return r.key=o,u}},htmlFor:function(t){return function n(e,r){return(r=r||{},Array.isArray(e))?e.map(function(t){return n(t,r)}).join(""):t(e,n,r)}},defaultParse:function(){return"undefined"!=typeof console&&console.warn("defaultParse is deprecated, please use `defaultImplicitParse`"),W.apply(null,arguments)},defaultOutput:function(){return"undefined"!=typeof console&&console.warn("defaultOutput is deprecated, please use `defaultReactOutput`"),Y.apply(null,arguments)}}},292:function(t,n,e){e.d(n,{c:function(){return l}}),e(7128);var r=e(347),o=e(9828),u=e(1937);function i(t,n,e){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",n*e-.1+"em").attr("dy",e+"em")}function a(t,n){t.text(""),n.forEach((n,e)=>{let r=t.append("tspan").attr("font-style","em"===n.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===n.type?"bold":"normal");0===e?r.text(n.content):r.text(" "+n.content)})}let l=(t,n="",{style:e="",isTitle:l=!1,classes:c="",useHtmlLabels:p=!0,isNode:f=!0,width:s,addSvgBackground:h=!1}={})=>{if(r.l.info("createText",n,e,l,c,p,f,h),p){let r=function(t){let n=u.Z.defaultBlockParse,e=n(t);return e.map(function t(n){return"text"===n.type?n.content.replace(/\n/g,"<br/>"):"strong"===n.type?`<strong>${n.content.map(t).join("")}</strong>`:"em"===n.type?`<em>${n.content.map(t).join("")}</em>`:"paragraph"===n.type?`<p>${n.content.map(t).join("")}</p>`:""}).join("")}(n),i={isNode:f,label:(0,o.d)(r).replace(/fa[blrs]?:fa-[\w-]+/g,t=>`<i class='${t.replace(":"," ")}'></i>`),labelStyle:e.replace("fill:","color:")};return function(t,n,e,r){var o;let u=t.append("foreignObject"),i=u.append("xhtml:div"),a=n.label,l=n.isNode?"nodeLabel":"edgeLabel";i.html(`<span class="${l} ${r}" `+(n.labelStyle?'style="'+n.labelStyle+'"':"")+">"+a+"</span>"),(o=n.labelStyle)&&i.attr("style",o),i.style("display","table-cell"),i.style("white-space","nowrap"),i.style("max-width",e+"px"),i.attr("xmlns","http://www.w3.org/1999/xhtml");let c=i.node().getBoundingClientRect();return c.width===e&&(i.style("display","table"),i.style("white-space","break-spaces"),i.style("width",e+"px"),c=i.node().getBoundingClientRect()),u.style("width",c.width),u.style("height",c.height),u.node()}(t,i,s,c)}{let e;let r=function(t){let n=function(t){let n=t.replace(/\n{2,}/g,"\n"),e=n.replace(/^\s+/gm,"");return e}(t),e=u.Z.defaultBlockParse,r=e(n),o=[[]],i=0;return r.forEach(t=>{"paragraph"===t.type&&t.content.forEach(t=>{!function t(n,e){if("text"===n.type){let t=n.content.split("\n");t.forEach((t,n)=>{0!==n&&(i++,o.push([])),t.split(" ").forEach(t=>{t&&o[i].push({content:t,type:e||"normal"})})})}else("strong"===n.type||"em"===n.type)&&n.content.forEach(e=>{t(e,n.type)})}(t)})}),o}(n),o=['"',"'",".",",",":",";","!","?","(",")","[","]","{","}"];r.forEach(t=>{t.forEach(t=>{o.includes(t.content)&&e&&(e.content+=t.content,t.content=""),e=t})});let l=function(t,n,e,r=!1){let o=n.append("g"),u=o.insert("rect").attr("class","background"),l=o.append("text").attr("y","-10.1"),c=-1;if(e.forEach(n=>{let e;let r=i(l,++c,1.1),o=[...n].reverse(),u=[];for(;o.length;)e=o.pop(),u.push(e),a(r,u),r.node().getComputedTextLength()>t&&(u.pop(),o.push(e),a(r,u),u=[],r=i(l,++c,1.1))}),!r)return l.node();{let t=l.node().getBBox();return u.attr("x",-2).attr("y",-2).attr("width",t.width+4).attr("height",t.height+4),o.node()}}(s,t,r,h);return l}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.