1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="49a98048-b4ae-42dd-af64-cff4606db145",e._sentryDebugIdIdentifier="sentry-dbid-49a98048-b4ae-42dd-af64-cff4606db145")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8451],{48451:(e,r,t)=>{t.d(r,{diagram:()=>c});var n=t(15316),a=t(79681);t(30894),t(31316);var l=t(94862),s=t(36016),i=t(16242),p=(0,i.sB)().RailroadAbnf.parser.LangiumParser,d=(0,s.K)(e=>{let r=e.alternatives.map(u);return 1===r.length?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),u=(0,s.K)(e=>{let r=e.elements.map(f);return 1===r.length?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),o=(0,s.K)(e=>{if(e.includes("*")){let[r,t]=e.split("*");return{min:r?parseInt(r,10):0,max:t?parseInt(t,10):1/0}}let r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),f=(0,s.K)(e=>{let r=m(e.primary);if(!e.repeat)return r;let{min:t,max:n}=o(e.repeat);return 0===t&&1===n?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:n}},"transformElement"),m=(0,s.K)(e=>{switch(e.$type){case"AbnfStringLiteral":case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return d(e.element);case"AbnfOptionalGroup":return{type:"optional",element:d(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),b=(0,s.K)(e=>({name:e.name,definition:d(e.definition)}),"transformRule"),y=(0,s.K)(e=>{(0,a.S)(e,n.db),e.title&&n.db.setTitle(e.title),e.rules.map(e=>n.db.addRule(b(e)))},"populateDb"),c={parser:{parse:(0,s.K)(e=>{n.db.clear(),l.R.debug("[ABNF Parser] Starting Langium parse");let r=p.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new i.zg(r);let t=r.value;l.R.debug("[ABNF Parser] Parsed rules:",t.rules.length),y(t),l.R.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:n.db}},db:n.db,renderer:n.U,styles:n.$}}}]);
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.