1import{nn as e}from"./0EUzaT4l.js";import{c as t}from"./CzjLMGzI.js";var n=e=>{if(!e||typeof e==`string`)return e||``;let t=e.children;if(t&&typeof t==`string`)return t;if(t&&Array.isArray(t))return t.map(e=>n(e)).join(``);let r=typeof t==`object`&&!Array.isArray(t)?t?.default:void 0;return r&&typeof r==`string`?r:r&&Array.isArray(r)?r.map(e=>n(e)).join(``):``},r={amp:`&`,lt:`<`,gt:`>`,quot:`"`,apos:`'`,nbsp:`\xA0`,shy:`Â`,copy:`©`,reg:`®`,trade:`â¢`,hellip:`â¦`,mdash:`â`,ndash:`â`,laquo:`«`,raquo:`»`,bdquo:`â`,ldquo:`â`,rdquo:`â`,sbquo:`â`,lsquo:`â`,rsquo:`â`,euro:`â¬`,pound:`£`,deg:`°`,plusmn:`±`,times:`Ã`,divide:`÷`,middot:`·`,bull:`â¢`,dagger:`â `,sup2:`²`,sup3:`³`,frac12:`½`,frac14:`¼`,frac34:`¾`,auml:`ä`,ouml:`ö`,uuml:`ü`,Auml:`Ã`,Ouml:`Ã`,Uuml:`Ã`,szlig:`Ã`,eacute:`é`,egrave:`è`,agrave:`à `,ccedil:`ç`,ntilde:`ñ`,oslash:`ø`,aring:`Ã¥`,aelig:`æ`},i=e=>e.replace(/&(#x?[0-9a-f]+|[a-z][a-z0-9]*);/gi,(e,t)=>{if(t[0]===`#`){let n=t[1]===`x`||t[1]===`X`?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Number.isFinite(n)?String.fromCodePoint(n):e}return r[t]??r[t.toLowerCase()]??e}),a=e=>e?i(String(e).replace(/<[^>]*>/g,``)):``,o=e=>e.length?e.toString()?.replaceAll(`&`,`&`):e,s=e=>typeof e!=`string`||!e?!1:/<\/?[a-z][^>]*>/i.test(e),c=e=>typeof e!=`string`||!e?typeof e==`string`?e:``:s(e)?typeof DOMParser<`u`?(new DOMParser().parseFromString(e,`text/html`).body.textContent||``).replace(/\s+/g,` `).trim():i(e.replace(/<[^>]*>/g,``)).replace(/\s+/g,` `).trim():e,l=t=>{let n=e({render(){return t}}),r=document.createElement(`div`);return n.mount(r),r.innerHTML},u=(e,t=[])=>e?typeof e==`string`?e:Array.isArray(e)?e.map(e=>d(e,t)):e:``,d=(e,t=[])=>e&&(Array.isArray(e)?e.map(e=>d(e,t)):f(e)?(Array.isArray(e.children)&&d(e.children,t),e.children?.default&&u(e.children.default(),t),p(e,t)):p(e,t)),f=e=>!!(e&&e.children),p=(e,t=[])=>(t.forEach(t=>{e=t(e)}),e),m=e=>typeof e==`string`?a(e):(f(e)&&typeof e.children==`string`&&(e.children=a(e.children)),e),h=e=>typeof e==`string`?t(e):(f(e)&&typeof e.children==`string`&&(e.children=t(e.children)),e),g=e=>typeof e==`string`?e+` `:(f(e)&&typeof e.children==`string`&&(e.children+=` `),e),_=(e,n)=>{let r=e=>{for(let r in n){let i=n[r].shouldTranslate?t(n[r].value):n[r].value;e=e.replaceAll(r,i)}return e};return n?typeof e==`string`?r(e):(f(e)&&typeof e.children==`string`&&(e.children=r(e.children)),e):e};export{g as a,o as c,_ as i,c as l,u as n,h as o,m as r,n as s,l as t};
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.