PageSourceSearch

https://conversiontab.com/build/assets/index-B62ENUPN.js

js conversiontab.com collected 2026-09-24 10:08:20 UTC 39,268 bytes, 2 lines download raw bytes

1import{E as Bt,x as Mt,h as Lt,D as F,f as H}from"./decode-Bn5oION1.js";var o;(function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"})(o||(o={}));var r;(function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.BeforeSpecialT=23]="BeforeSpecialT",e[e.SpecialStartSequence=24]="SpecialStartSequence",e[e.InSpecialTag=25]="InSpecialTag",e[e.InEntity=26]="InEntity"})(r||(r={}));function N(e){return e===o.Space||e===o.NewLine||e===o.Tab||e===o.FormFeed||e===o.CarriageReturn}function _(e){return e===o.Slash||e===o.Gt||N(e)}function Vt(e){return e>=o.LowerA&&e<=o.LowerZ||e>=o.UpperA&&e<=o.UpperZ}var T;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(T||(T={}));const g={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Ft{constructor({xmlMode:t=!1,decodeEntities:i=!0},n){this.cbs=n,this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=r.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=t,this.decodeEntities=i,this.entityDecoder=new Bt(t?Mt:Lt,(s,a)=>this.emitCodePoint(s,a))}reset(){this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=r.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(t){t===o.Lt||!this.decodeEntities&&this.fastForwardTo(o.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=r.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===o.Amp&&this.startEntity()}stateSpecialStartSequence(t){const i=this.sequenceIndex===this.currentSequence.length;if(!(i?_(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!i){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=r.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===o.Gt||N(t)){const i=this.index-this.currentSequence.length;if(this.sectionStart<i){const n=this.index;this.index=i,this.cbs.ontext(this.sectionStart,i),this.index=n}this.isSpecial=!1,this.sectionStart=i+2,this.stateInClosingTagName(t);return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===g.TitleEnd?this.decodeEntities&&t===o.Amp&&this.startEntity():this.fastForwardTo(o.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===o.Lt)}stateCDATASequence(t){t===g.Cdata[this.sequenceIndex]?++this.sequenceIndex===g.Cdata.length&&(this.state=r.InCommentLike,this.currentSequence=g.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=r.InDeclaration,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===t)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===g.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=r.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(t){return this.xmlMode?!_(t):Vt(t)}startSpecial(t,i){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=i,this.state=r.SpecialStartSequence}stateBeforeTagName(t){if(t===o.ExclamationMark)this.state=r.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===o.Questionmark)this.state=r.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){const i=t|32;this.sectionStart=this.index,this.xmlMode?this.state=r.InTagName:i===g.ScriptEnd[2]?this.state=r.BeforeSpecialS:i===g.TitleEnd[2]?this.state=r.BeforeSpecialT:this.state=r.InTagName}else t===o.Slash?this.state=r.BeforeClosingTagName:(this.state=r.Text,this.stateText(t))}stateInTagName(t){_(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){N(t)||(t===o.Gt?this.state=r.Text:(this.state=this.isTagStartChar(t)?r.InClosingTagName:r.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===o.Gt||N(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===o.Gt||this.fastForwardTo(o.Gt))&&(this.state=r.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===o.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=r.InSpecialTag,this.sequenceIndex=0):this.state=r.Text,this.sectionStart=this.index+1):t===o.Slash?this.state=r.InSelfClosingTag:N(t)||(this.state=r.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===o.Gt?(this.cbs.onselfclosingtag(this.index),this.state=r.Text,this.sectionStart=this.index+1,this.isSpecial=!1):N(t)||(this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===o.Eq||_(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=r.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===o.Eq?this.state=r.BeforeAttributeValue:t===o.Slash||t===o.Gt?(this.cbs.onattribend(T.NoValue,this.sectionStart),this.sectionStart=-1,this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(t)):N(t)||(this.cbs.onattribend(T.NoValue,this.sectionStart),this.state=r.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===o.DoubleQuote?(this.state=r.InAttributeValueDq,this.sectionStart=this.index+1):t===o.SingleQuote?(this.state=r.InAttributeValueSq,this.sectionStart=this.index+1):N(t)||(this.sectionStart=this.index,this.state=r.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,i){t===i||!this.decodeEntities&&this.fastForwardTo(i)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(i===o.DoubleQuote?T.Double:T.Single,this.index+1),this.state=r.BeforeAttributeName):this.decodeEntities&&t===o.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,o.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,o.SingleQuote)}stateInAttributeValueNoQuotes(t){N(t)||t===o.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(T.Unquoted,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===o.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===o.OpeningSquareBracket?(this.state=r.CDATASequence,this.sequenceIndex=0):this.state=t===o.Dash?r.BeforeComment:r.InDeclaration}stateInDeclaration(t){(t===o.Gt||this.fastForwardTo(o.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===o.Gt||this.fastForwardTo(o.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===o.Dash?(this.state=r.InCommentLike,this.currentSequence=g.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=r.InDeclaration}stateInSpecialComment(t){(t===o.Gt||this.fastForwardTo(o.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=r.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){const i=t|32;i===g.ScriptEnd[3]?this.startSpecial(g.ScriptEnd,4):i===g.StyleEnd[3]?this.startSpecial(g.StyleEnd,4):(this.state=r.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){const i=t|32;i===g.TitleEnd[3]?this.startSpecial(g.TitleEnd,4):i===g.TextareaEnd[3]?this.startSpecial(g.TextareaEnd,4):(this.state=r.InTagName,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=r.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?F.Str
1ict:this.baseState===r.Text||this.baseState===r.InSpecialTag?F.Legacy:F.Attribute)}stateInEntity(){const t=this.entityDecoder.write(this.buffer,this.index-this.offset);t>=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===r.Text||this.state===r.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===r.InAttributeValueDq||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const t=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case r.Text:{this.stateText(t);break}case r.SpecialStartSequence:{this.stateSpecialStartSequence(t);break}case r.InSpecialTag:{this.stateInSpecialTag(t);break}case r.CDATASequence:{this.stateCDATASequence(t);break}case r.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(t);break}case r.InAttributeName:{this.stateInAttributeName(t);break}case r.InCommentLike:{this.stateInCommentLike(t);break}case r.InSpecialComment:{this.stateInSpecialComment(t);break}case r.BeforeAttributeName:{this.stateBeforeAttributeName(t);break}case r.InTagName:{this.stateInTagName(t);break}case r.InClosingTagName:{this.stateInClosingTagName(t);break}case r.BeforeTagName:{this.stateBeforeTagName(t);break}case r.AfterAttributeName:{this.stateAfterAttributeName(t);break}case r.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(t);break}case r.BeforeAttributeValue:{this.stateBeforeAttributeValue(t);break}case r.BeforeClosingTagName:{this.stateBeforeClosingTagName(t);break}case r.AfterClosingTagName:{this.stateAfterClosingTagName(t);break}case r.BeforeSpecialS:{this.stateBeforeSpecialS(t);break}case r.BeforeSpecialT:{this.stateBeforeSpecialT(t);break}case r.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(t);break}case r.InSelfClosingTag:{this.stateInSelfClosingTag(t);break}case r.InDeclaration:{this.stateInDeclaration(t);break}case r.BeforeDeclaration:{this.stateBeforeDeclaration(t);break}case r.BeforeComment:{this.stateBeforeComment(t);break}case r.InProcessingInstruction:{this.stateInProcessingInstruction(t);break}case r.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===r.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length+this.offset;this.sectionStart>=t||(this.state===r.InCommentLike?this.currentSequence===g.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===r.InTagName||this.state===r.BeforeAttributeName||this.state===r.BeforeAttributeValue||this.state===r.AfterAttributeName||this.state===r.InAttributeName||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueDq||this.state===r.InAttributeValueNq||this.state===r.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,i){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+i,this.index=this.sectionStart-1,this.cbs.onattribentity(t)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+i,this.index=this.sectionStart-1,this.cbs.ontextentity(t,this.sectionStart))}}const D=new Set(["input","option","optgroup","select","button","datalist","textarea"]),f=new Set(["p"]),K=new Set(["thead","tbody"]),J=new Set(["dd","dt"]),tt=new Set(["rt","rp"]),Gt=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",f],["h1",f],["h2",f],["h3",f],["h4",f],["h5",f],["h6",f],["select",D],["input",D],["output",D],["button",D],["datalist",D],["textarea",D],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",J],["dt",J],["address",f],["article",f],["aside",f],["blockquote",f],["details",f],["div",f],["dl",f],["fieldset",f],["figcaption",f],["figure",f],["footer",f],["form",f],["header",f],["hr",f],["main",f],["nav",f],["ol",f],["pre",f],["section",f],["table",f],["ul",f],["rt",tt],["rp",tt],["tbody",K],["tfoot",K]]),Pt=new Set(["area","base","basefont","br","col","command","embed","frame","hr","
1img","input","isindex","keygen","link","meta","param","source","track","wbr"]),et=new Set(["math","svg"]),it=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),Ut=/\s|\//;class ${constructor(t,i={}){var n,s,a,h,l,u;this.options=i,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(n=i.lowerCaseTags)!==null&&n!==void 0?n:this.htmlMode,this.lowerCaseAttributeNames=(s=i.lowerCaseAttributeNames)!==null&&s!==void 0?s:this.htmlMode,this.recognizeSelfClosing=(a=i.recognizeSelfClosing)!==null&&a!==void 0?a:!this.htmlMode,this.tokenizer=new((h=i.Tokenizer)!==null&&h!==void 0?h:Ft)(this.options,this),this.foreignContext=[!this.htmlMode],(u=(l=this.cbs).onparserinit)===null||u===void 0||u.call(l,this)}ontext(t,i){var n,s;const a=this.getSlice(t,i);this.endIndex=i-1,(s=(n=this.cbs).ontext)===null||s===void 0||s.call(n,a),this.startIndex=i}ontextentity(t,i){var n,s;this.endIndex=i-1,(s=(n=this.cbs).ontext)===null||s===void 0||s.call(n,H(t)),this.startIndex=i}isVoidElement(t){return this.htmlMode&&Pt.has(t)}onopentagname(t,i){this.endIndex=i;let n=this.getSlice(t,i);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)}emitOpenTag(t){var i,n,s,a;this.openTagStart=this.startIndex,this.tagname=t;const h=this.htmlMode&&Gt.get(t);if(h)for(;this.stack.length>0&&h.has(this.stack[0]);){const l=this.stack.shift();(n=(i=this.cbs).onclosetag)===null||n===void 0||n.call(i,l,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(et.has(t)?this.foreignContext.unshift(!0):it.has(t)&&this.foreignContext.unshift(!1))),(a=(s=this.cbs).onopentagname)===null||a===void 0||a.call(s,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var i,n;this.startIndex=this.openTagStart,this.attribs&&((n=(i=this.cbs).onopentag)===null||n===void 0||n.call(i,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,i){var n,s,a,h,l,u,d,S;this.endIndex=i;let p=this.getSlice(t,i);if(this.lowerCaseTagNames&&(p=p.toLowerCase()),this.htmlMode&&(et.has(p)||it.has(p))&&this.foreignContext.shift(),this.isVoidElement(p))this.htmlMode&&p==="br"&&((h=(a=this.cbs).onopentagname)===null||h===void 0||h.call(a,"br"),(u=(l=this.cbs).onopentag)===null||u===void 0||u.call(l,"br",{},!0),(S=(d=this.cbs).onclosetag)===null||S===void 0||S.call(d,"br",!1));else{const A=this.stack.indexOf(p);if(A!==-1)for(let w=0;w<=A;w++){const C=this.stack.shift();(s=(n=this.cbs).onclosetag)===null||s===void 0||s.call(n,C,w!==A)}else this.htmlMode&&p==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=i+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var i,n;const s=this.tagname;this.endOpenTag(t),this.stack[0]===s&&((n=(i=this.cbs).onclosetag)===null||n===void 0||n.call(i,s,!t),this.stack.shift())}onattribname(t,i){this.startIndex=t;const n=this.getSlice(t,i);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(t,i){this.attribvalue+=this.getSlice(t,i)}onattribentity(t){this.attribvalue+=H(t)}onattribend(t,i){var n,s;this.endIndex=i,(s=(n=this.cbs).onattribute)===null||s===void 0||s.call(n,this.attribname,this.attribvalue,t===T.Double?'"':t===T.Single?"'":t===T.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const i=t.search(Ut);let n=i<0?t:t.substr(0,i);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(t,i){this.endIndex=i;const n=this.getSlice(t,i);if(this.cbs.onprocessinginstruction){const s=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${s}`,`!${n}`)}this.startIndex=i+1}onprocessinginstruction(t,i){this.endIndex=i;const n=this.getSlice(t,i);if(this.cbs.onprocessinginstruction){const s=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${s}`,`?${n}`)}this.startIndex=i+1}oncomment(t,i,n){var s,a,h,l;this.endIndex=i,(a=(s=this.cbs).oncomment)===null||a===void 0||a.call(s,this.get
1Slice(t,i-n)),(l=(h=this.cbs).oncommentend)===null||l===void 0||l.call(h),this.startIndex=i+1}oncdata(t,i,n){var s,a,h,l,u,d,S,p,A,w;this.endIndex=i;const C=this.getSlice(t,i-n);!this.htmlMode||this.options.recognizeCDATA?((a=(s=this.cbs).oncdatastart)===null||a===void 0||a.call(s),(l=(h=this.cbs).ontext)===null||l===void 0||l.call(h,C),(d=(u=this.cbs).oncdataend)===null||d===void 0||d.call(u)):((p=(S=this.cbs).oncomment)===null||p===void 0||p.call(S,`[CDATA[${C}]]`),(w=(A=this.cbs).oncommentend)===null||w===void 0||w.call(A)),this.startIndex=i+1}onend(){var t,i;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let n=0;n<this.stack.length;n++)this.cbs.onclosetag(this.stack[n],!0)}(i=(t=this.cbs).onend)===null||i===void 0||i.call(t)}reset(){var t,i,n,s;(i=(t=this.cbs).onreset)===null||i===void 0||i.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(s=(n=this.cbs).onparserinit)===null||s===void 0||s.call(n,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,i){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(t-this.bufferOffset,i-this.bufferOffset);for(;i-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,i-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var i,n;if(this.ended){(n=(i=this.cbs).onerror)===null||n===void 0||n.call(i,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var i,n;if(this.ended){(n=(i=this.cbs).onerror)===null||n===void 0||n.call(i,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(t){this.write(t)}done(t){this.end(t)}}var c;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(c||(c={}));function at(e){return e.type===c.Tag||e.type===c.Script||e.type===c.Style}const ot=c.Root,ht=c.Text,lt=c.Directive,ct=c.Comment,ut=c.Script,ft=c.Style,dt=c.Tag,gt=c.CDATA,pt=c.Doctype,Ve=Object.freeze(Object.defineProperty({__proto__:null,CDATA:gt,Comment:ct,Directive:lt,Doctype:pt,get ElementType(){return c},Root:ot,Script:ut,Style:ft,Tag:dt,Text:ht,isTag:at},Symbol.toStringTag,{value:"Module"}));class mt{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return At(this,t)}}class R extends mt{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}}class P extends R{constructor(){super(...arguments),this.type=c.Text}get nodeType(){return 3}}class bt extends R{constructor(){super(...arguments),this.type=c.Comment}get nodeType(){return 8}}class xt extends R{constructor(t,i){super(i),this.name=t,this.type=c.Directive}get nodeType(){return 1}}class z extends mt{constructor(t){super(),this.children=t}get firstChild(){var t;return(t=this.children[0])!==null&&t!==void 0?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class St extends z{constructor(){super(...arguments),this.type=c.CDATA}get nodeType(){return 4}}class U extends z{constructor(){super(...arguments),this.type=c.Root}get nodeType(){return 9}}class It extends z{constructor(t,i,n=[],s=t==="script"?c.Script:t==="style"?c.Style:c.Tag){super(n),this.name=t,this.attribs=i,this.type=s}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var i,n;return{name:t,value:this.attribs[t],namespace:(i=this["x-attribsNamespace"])===null||i===void 0?void 0:i[t],prefix:(n=this["x-attribsPrefix"])===null||n===void 0?void 0:n[t]}})}}function b(e){return at(e)}function V(e){return e.type===c.CDATA}function y(e){return e.type===c.Text}function Q(e){return e.type===c.Comment}function jt(e){return e.type===c.Directive}function Tt(e){return e.type===c.Root}function I(e){return Object.prototype.hasOwnProperty.call(e,"children")}function At(e,t=!1){let i;if(y(e))i=new P(e.data);else if(Q(e))i=new bt(e.data);else if(b(e)){const n=t?G(e.children):[],s=new It(e.name,{...e.attribs},n);
1n.forEach(a=>a.parent=s),e.namespace!=null&&(s.namespace=e.namespace),e["x-attribsNamespace"]&&(s["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(s["x-attribsPrefix"]={...e["x-attribsPrefix"]}),i=s}else if(V(e)){const n=t?G(e.children):[],s=new St(n);n.forEach(a=>a.parent=s),i=s}else if(Tt(e)){const n=t?G(e.children):[],s=new U(n);n.forEach(a=>a.parent=s),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),i=s}else if(jt(e)){const n=new xt(e.name,e.data);e["x-name"]!=null&&(n["x-name"]=e["x-name"],n["x-publicId"]=e["x-publicId"],n["x-systemId"]=e["x-systemId"]),i=n}else throw new Error(`Not implemented yet: ${e.type}`);return i.startIndex=e.startIndex,i.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(i.sourceCodeLocation=e.sourceCodeLocation),i}function G(e){const t=e.map(i=>At(i,!0));for(let i=1;i<t.length;i++)t[i].prev=t[i-1],t[i-1].next=t[i];return t}const nt={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class Z{constructor(t,i,n){this.dom=[],this.root=new U(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof i=="function"&&(n=i,i=nt),typeof t=="object"&&(i=t,t=void 0),this.callback=t??null,this.options=i??nt,this.elementCB=n??null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new U(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(t){this.handleCallback(t)}onclosetag(){this.lastNode=null;const t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)}onopentag(t,i){const n=this.options.xmlMode?c.Tag:void 0,s=new It(t,i,void 0,n);this.addNode(s),this.tagStack.push(s)}ontext(t){const{lastNode:i}=this;if(i&&i.type===c.Text)i.data+=t,this.options.withEndIndices&&(i.endIndex=this.parser.endIndex);else{const n=new P(t);this.addNode(n),this.lastNode=n}}oncomment(t){if(this.lastNode&&this.lastNode.type===c.Comment){this.lastNode.data+=t;return}const i=new bt(t);this.addNode(i),this.lastNode=i}oncommentend(){this.lastNode=null}oncdatastart(){const t=new P(""),i=new St([t]);this.addNode(i),t.parent=i,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,i){const n=new xt(t,i);this.addNode(n)}handleCallback(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t}addNode(t){const i=this.tagStack[this.tagStack.length-1],n=i.children[i.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),i.children.push(t),n&&(t.prev=n,n.next=t),t.parent=i,this.lastNode=null}}const st=/["&'<>$\x80-\uFFFF]/g,$t=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),Rt=String.prototype.codePointAt!=null?(e,t)=>e.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function Nt(e){let t="",i=0,n;for(;(n=st.exec(e))!==null;){const s=n.index,a=e.charCodeAt(s),h=$t.get(a);h!==void 0?(t+=e.substring(i,s)+h,i=s+1):(t+=`${e.substring(i,s)}&#x${Rt(e,s).toString(16)};`,i=st.lastIndex+=+((a&64512)===55296))}return t+e.substr(i)}function vt(e,t){return function(n){let s,a=0,h="";for(;s=e.exec(n);)a!==s.index&&(h+=n.substring(a,s.index)),h+=t.get(s[0].charCodeAt(0)),a=s.index+1;return h+n.substring(a)}}const zt=vt(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),Qt=vt(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),Zt=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),Wt=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),Yt=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Xt(e){return e.replace(/"/g,"&quot;")}function Ht(e,t){var i;if(!e)return;const n=((i=t.encodeEntities)!==null&&i!==void 0?i:t.decodeEntities)===!1?Xt:t.xmlMode||t.encodeEntities!=="utf8"?Nt:zt;return Object.keys(e).map(s=>{var a,h;const l=(a=e[s])!==null&&a!==void 0?a:"";return t.xmlMode==="foreign"&&(s=(h=Wt.get(s))!==null&&h!==void 0?h:s),!t.emptyAttrs&&!t.xmlMode&&l===""?s:`${s}="${n(l)}"`}).join(" ")}const rt=new Set(["area","base","basefont","br","col","command","embed","frame","hr","
1img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function W(e,t={}){const i="length"in e?e:[e];let n="";for(let s=0;s<i.length;s++)n+=Kt(i[s],t);return n}function Kt(e,t){switch(e.type){case ot:return W(e.children,t);case pt:case lt:return ie(e);case ct:return re(e);case gt:return se(e);case ut:case ft:case dt:return ee(e,t);case ht:return ne(e,t)}}const Jt=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),te=new Set(["svg","math"]);function ee(e,t){var i;t.xmlMode==="foreign"&&(e.name=(i=Zt.get(e.name))!==null&&i!==void 0?i:e.name,e.parent&&Jt.has(e.parent.name)&&(t={...t,xmlMode:!1})),!t.xmlMode&&te.has(e.name)&&(t={...t,xmlMode:"foreign"});let n=`<${e.name}`;const s=Ht(e.attribs,t);return s&&(n+=` ${s}`),e.children.length===0&&(t.xmlMode?t.selfClosingTags!==!1:t.selfClosingTags&&rt.has(e.name))?(t.xmlMode||(n+=" "),n+="/>"):(n+=">",e.children.length>0&&(n+=W(e.children,t)),(t.xmlMode||!rt.has(e.name))&&(n+=`</${e.name}>`)),n}function ie(e){return`<${e.data}>`}function ne(e,t){var i;let n=e.data||"";return((i=t.encodeEntities)!==null&&i!==void 0?i:t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&Yt.has(e.parent.name))&&(n=t.xmlMode||t.encodeEntities!=="utf8"?Nt(n):Qt(n)),n}function se(e){return`<![CDATA[${e.children[0].data}]]>`}function re(e){return`<!--${e.data}-->`}function wt(e,t){return W(e,t)}function ae(e,t){return I(e)?e.children.map(i=>wt(i,t)).join(""):""}function O(e){return Array.isArray(e)?e.map(O).join(""):b(e)?e.name==="br"?`
2`:O(e.children):V(e)?O(e.children):y(e)?e.data:""}function B(e){return Array.isArray(e)?e.map(B).join(""):I(e)&&!Q(e)?B(e.children):y(e)?e.data:""}function j(e){return Array.isArray(e)?e.map(j).join(""):I(e)&&(e.type===c.Tag||V(e))?j(e.children):y(e)?e.data:""}function yt(e){return I(e)?e.children:[]}function Dt(e){return e.parent||null}function oe(e){const t=Dt(e);if(t!=null)return yt(t);const i=[e];let{prev:n,next:s}=e;for(;n!=null;)i.unshift(n),{prev:n}=n;for(;s!=null;)i.push(s),{next:s}=s;return i}function he(e,t){var i;return(i=e.attribs)===null||i===void 0?void 0:i[t]}function le(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}function ce(e){return e.name}function ue(e){let{next:t}=e;for(;t!==null&&!b(t);)({next:t}=t);return t}function fe(e){let{prev:t}=e;for(;t!==null&&!b(t);)({prev:t}=t);return t}function k(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const t=e.parent.children,i=t.lastIndexOf(e);i>=0&&t.splice(i,1)}e.next=null,e.prev=null,e.parent=null}function de(e,t){const i=t.prev=e.prev;i&&(i.next=t);const n=t.next=e.next;n&&(n.prev=t);const s=t.parent=e.parent;if(s){const a=s.children;a[a.lastIndexOf(e)]=t,e.parent=null}}function ge(e,t){if(k(t),t.next=null,t.parent=e,e.children.push(t)>1){const i=e.children[e.children.length-2];i.next=t,t.prev=i}else t.prev=null}function pe(e,t){k(t);const{parent:i}=e,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=i,n){if(n.prev=t,i){const s=i.children;s.splice(s.lastIndexOf(n),0,t)}}else i&&i.children.push(t)}function me(e,t){if(k(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){const i=e.children[1];i.prev=t,t.next=i}else t.next=null}function be(e,t){k(t);const{parent:i}=e;if(i){const n=i.children;n.splice(n.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=i,t.prev=e.prev,t.next=e,e.prev=t}function q(e,t,i=!0,n=1/0){return Et(e,Array.isArray(t)?t:[t],i,n)}function Et(e,t,i,n){const s=[],a=[Array.isArray(t)?t:[t]],h=[0];for(;;){if(h[0]>=a[0].length){if(h.length===1)return s;a.shift(),h.shift();continue}const l=a[0][h[0]++];if(e(l)&&(s.push(l),--n<=0))return s;i&&I(l)&&l.children.length>0&&(h.unshift(0),a.unshift(l.children))}}function xe(e,t){return t.find(e)}function Y(e,t,i=!0){const n=Array.isArray(t)?t:[t];for(let s=0;s<n.length;s++){const a=n[s];if(b(a)&&e(a))return a;if(i&&I(a)&&a.children.length>0){const h=Y(e,a.children,!0);if(h)return h}}return null}function kt(e,t){return(Array.isArray(t)?t:[t]).some(i=>
2b(i)&&e(i)||I(i)&&kt(e,i.children))}function Se(e,t){const i=[],n=[Array.isArray(t)?t:[t]],s=[0];for(;;){if(s[0]>=n[0].length){if(n.length===1)return i;n.shift(),s.shift();continue}const a=n[0][s[0]++];b(a)&&e(a)&&i.push(a),I(a)&&a.children.length>0&&(s.unshift(0),n.unshift(a.children))}}const M={tag_name(e){return typeof e=="function"?t=>b(t)&&e(t.name):e==="*"?b:t=>b(t)&&t.name===e},tag_type(e){return typeof e=="function"?t=>e(t.type):t=>t.type===e},tag_contains(e){return typeof e=="function"?t=>y(t)&&e(t.data):t=>y(t)&&t.data===e}};function X(e,t){return typeof t=="function"?i=>b(i)&&t(i.attribs[e]):i=>b(i)&&i.attribs[e]===t}function Ie(e,t){return i=>e(i)||t(i)}function qt(e){const t=Object.keys(e).map(i=>{const n=e[i];return Object.prototype.hasOwnProperty.call(M,i)?M[i](n):X(i,n)});return t.length===0?null:t.reduce(Ie)}function Te(e,t){const i=qt(e);return i?i(t):!0}function Ae(e,t,i,n=1/0){const s=qt(e);return s?q(s,t,i,n):[]}function Ne(e,t,i=!0){return Array.isArray(t)||(t=[t]),Y(X("id",e),t,i)}function E(e,t,i=!0,n=1/0){return q(M.tag_name(e),t,i,n)}function ve(e,t,i=!0,n=1/0){return q(X("class",e),t,i,n)}function we(e,t,i=!0,n=1/0){return q(M.tag_type(e),t,i,n)}function ye(e){let t=e.length;for(;--t>=0;){const i=e[t];if(t>0&&e.lastIndexOf(i,t-1)>=0){e.splice(t,1);continue}for(let n=i.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e}var x;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(x||(x={}));function Ct(e,t){const i=[],n=[];if(e===t)return 0;let s=I(e)?e:e.parent;for(;s;)i.unshift(s),s=s.parent;for(s=I(t)?t:t.parent;s;)n.unshift(s),s=s.parent;const a=Math.min(i.length,n.length);let h=0;for(;h<a&&i[h]===n[h];)h++;if(h===0)return x.DISCONNECTED;const l=i[h-1],u=l.children,d=i[h],S=n[h];return u.indexOf(d)>u.indexOf(S)?l===t?x.FOLLOWING|x.CONTAINED_BY:x.FOLLOWING:l===e?x.PRECEDING|x.CONTAINS:x.PRECEDING}function De(e){return e=e.filter((t,i,n)=>!n.includes(t,i+1)),e.sort((t,i)=>{const n=Ct(t,i);return n&x.PRECEDING?-1:n&x.FOLLOWING?1:0}),e}function _t(e){const t=L(_e,e);return t?t.name==="feed"?Ee(t):ke(t):null}function Ee(e){var t;const i=e.children,n={type:"atom",items:E("entry",i).map(h=>{var l;const{children:u}=h,d={media:Ot(u)};m(d,"id","id",u),m(d,"title","title",u);const S=(l=L("link",u))===null||l===void 0?void 0:l.attribs.href;S&&(d.link=S);const p=v("summary",u)||v("content",u);p&&(d.description=p);const A=v("updated",u);return A&&(d.pubDate=new Date(A)),d})};m(n,"id","id",i),m(n,"title","title",i);const s=(t=L("link",i))===null||t===void 0?void 0:t.attribs.href;s&&(n.link=s),m(n,"description","subtitle",i);const a=v("updated",i);return a&&(n.updated=new Date(a)),m(n,"author","email",i,!0),n}function ke(e){var t,i;const n=(i=(t=L("channel",e.children))===null||t===void 0?void 0:t.children)!==null&&i!==void 0?i:[],s={type:e.name.substr(0,3),id:"",items:E("item",e.children).map(h=>{const{children:l}=h,u={media:Ot(l)};m(u,"id","guid",l),m(u,"title","title",l),m(u,"link","link",l),m(u,"description","description",l);const d=v("pubDate",l)||v("dc:date",l);return d&&(u.pubDate=new Date(d)),u})};m(s,"title","title",n),m(s,"link","link",n),m(s,"description","description",n);const a=v("lastBuildDate",n);return a&&(s.updated=new Date(a)),m(s,"author","managingEditor",n,!0),s}const qe=["url","type","lang"],Ce=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function Ot(e){return E("media:content",e).map(t=>{const{attribs:i}=t,n={medium:i.medium,isDefault:!!i.isDefault};for(const s of qe)i[s]&&(n[s]=i[s]);for(const s of Ce)i[s]&&(n[s]=parseInt(i[s],10));return i.expression&&(n.expression=i.expression),n})}function L(e,t){return E(e,t,!0,1)[0]}function v(e,t,i=!1){return B(E(e,t,i,1)).trim()}function m(e,t,i,n,s=!1){const a=v(i,n,s);a&&(e[t]=a)}function _e(e){return e==="rss"||e==="feed"||e==="rdf:RDF"}const Fe=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return x},append:pe,appendChild:ge,compareDocumentPosition:Ct,existsOne:kt,filter:q,find:Et,findAll:Se,findOne:Y,findOneChild:xe,getAttributeValue:he,getChildren:yt,getElementById:Ne,getElements:Ae,getElementsByClassName:ve,getElementsByTagName:E,getElementsByTagType:we,getFeed:_t,getInnerHTML:ae,getName:ce,getOuterHTML:wt,getParent:Dt,getSiblings:oe,getText:O,hasAttrib:le,hasChildren:I,innerText:j,isCDATA:V,isComment:Q,isDocument:Tt,isTag:b,isText:y,nextElementSibling:ue,prepend:be,prepe
2ndChild:me,prevElementSibling:fe,removeElement:k,removeSubsets:ye,replaceElement:de,testElement:Te,textContent:B,uniqueSort:De},Symbol.toStringTag,{value:"Module"}));function Oe(e,t){const i=new Z(void 0,t);return new $(i,t).end(e),i.root}function Be(e,t){return Oe(e,t).children}function Ge(e,t,i){const n=new Z(s=>e(s,n.root),t,i);return new $(n,t)}function Pe(e,t,i){const n=new Z(e,t,i);return new $(n,t)}const Me={xmlMode:!0};function Ue(e,t=Me){return _t(Be(e,t))}export{Z as DefaultHandler,Z as DomHandler,Fe as DomUtils,Ve as ElementType,$ as Parser,T as QuoteType,Ft as Tokenizer,Ge as createDocumentStream,Pe as createDomStream,_t as getFeed,Be as parseDOM,Oe as parseDocument,Ue as parseFeed};

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.