1var e=`CrossFit L2, HYROX L2, Precision Nutrition, NeuroChange Practitioner`,t=`https://daimanuel.com/#dai`;function n(e){return!!(e&&e.bodyMd&&e.bodyMd.trim())}function r(e){return new Date(`${e}T12:00:00Z`).toLocaleDateString(`en-GB`,{day:`numeric`,month:`long`,year:`numeric`,timeZone:`UTC`})}var i=[/\bdiamondwell\.com\b/gi,/\bdiamondwellcom\b/gi,/\bdiamond[\s-]*wells\b/gi,/\bdiamond[\s-]*well\b/gi,/\bsimon[\s-]*well\b/gi,/\bdye[\s-]*manuel\b/gi,/\bdie[\s-]*manuel\b/gi,/\bday[\s-]*manuel\b/gi,/\bdai[\s-]*manual\b/gi];function a(e){let t=e.replace(/\s+/g,` `).trim();for(let e of i)t=t.replace(e,e=>/com$/i.test(e)?`daimanuel.com`:`Dai Manuel`);if(t=t.replace(/^(\.\.\.|â¦)\s*/,``).replace(/\s*(\.\.\.|â¦)$/,``),!/^["â(]?(?:[A-Z0-9]|[a-z0-9.-]+\.(?:com|ca|org|net)\b)/.test(t)){let e=t.match(/[.!?]["â)]?\s+(?=["â(]?[A-Z0-9])/);e&&e.index!==void 0&&e.index<t.length*.6&&(t=t.slice(e.index+e[0].length))}if(!/[.!?]["â)]?$/.test(t)){let e=[...t.matchAll(/[.!?]["â)]?(?=\s)/g)],n=e[e.length-1];n&&n.index!==void 0&&n.index>t.length*.4&&(t=t.slice(0,n.index+n[0].length))}return t}function o(e){let t=[],n=e.replace(/\r/g,``).split(` 2`);for(let e=0;e<n.length;){let r=(n[e]??``).trim();if(!r){e+=1;continue}if(r.startsWith(`## `)){t.push({kind:`h2`,text:r.slice(3).trim()}),e+=1;continue}if(/^[-*] /.test(r)){let r=[];for(;e<n.length;){let t=(n[e]??``).trim();if(!/^[-*] /.test(t))break;r.push(t.slice(2).trim()),e+=1}t.push({kind:`ul`,items:r});continue}let i=[];for(;e<n.length;){let t=(n[e]??``).trim();if(!t||t.startsWith(`## `)||/^[-*] /.test(t))break;i.push(t),e+=1}t.push({kind:`p`,text:i.join(` `)})}return t}function s(e){let t=[],n=/\[([^\]]+)\]\(([^)\s]+)\)|\*\*([^*]+)\*\*/g,r=0;for(let i of e.matchAll(n))i.index>r&&t.push({kind:`text`,text:e.slice(r,i.index)}),i[1]?t.push({kind:`link`,text:i[1],href:i[2]??``}):t.push({kind:`bold`,text:i[3]??``}),r=i.index+i[0].length;return r<e.length&&t.push({kind:`text`,text:e.slice(r)}),t}function c(e){return e.replace(/\[([^\]]+)\]\([^)]+\)/g,`$1`).replace(/\*\*([^*]+)\*\*/g,`$1`).replace(/^## /gm,``).replace(/^[-*] /gm,``).replace(/\s+/g,` `).trim()}export{n as a,o as c,r as i,t as n,c as o,a as r,s,e 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.