"use strict";(self.webpackChunksc_markdown=self.webpackChunksc_markdown||[]).push([[7206],{7206(E,d,l){l.d(d,{mbox:()=>b});var i=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],o=["Date","Subject","Comments","Keywords","Resent-Date"],c=/^[ \t]/,f=/^From /,t=new RegExp("^("+i.join("|")+"): "),m=new RegExp("^("+o.join("|")+"): "),p=/^[^:]+:/,k=/^[^ ]+@[^ ]+/,h=/^.*?(?=[^ ]+?@[^ ]+)/,H=/^<.*?>/,v=/^.*?(?=<.*>)/;const b={name:"mbox",startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:function R(e,r){if(e.sol()){if(r.inSeparator=!1,r.inHeader&&e.match(c))return null;if(r.inHeader=!1,r.header=null,e.match(f))return r.inHeaders=!0,r.inSeparator=!0,"atom";var n,u=!1;return(n=e.match(m))||(u=!0)&&(n=e.match(t))?(r.inHeaders=!0,r.inHeader=!0,r.emailPermitted=u,r.header=n[1],"atom"):r.inHeaders&&(n=e.match(p))?(r.inHeader=!0,r.emailPermitted=!0,r.header=n[1],"atom"):(r.inHeaders=!1,e.skipToEnd(),null)}if(r.inSeparator)return e.match(k)?"link":(e.match(h)||e.skipToEnd(),"atom");if(r.inHeader){var a=function s(e){return"Subject"===e?"header":"string"}(r.header);if(r.emailPermitted){if(e.match(H))return a+" link";if(e.match(v))return a}return e.skipToEnd(),a}return e.skipToEnd(),null},blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1},languageData:{autocomplete:i.concat(o)}}}}]);