1import{ai as t,al as s,az as d,aq as o,aj as i,ao as l}from"./DLfi8le2.js";import{d as n}from"./CHq1nE9v.js";import"./BA34y8Dc.js";import"./BxqwOYpJ.js";import"./BOyYrlHW.js";import"./D0IwZbEE.js";const p=t({cast(e){return typeof e=="string"?{text:e}:e},defaults:{"@type":"Answer"}}),y=t({defaults:{"@type":"Question"},inheritMeta:["inLanguage"],idPrefix:"url",resolve(e,r){return e.question&&(e.name=e.question,delete e.question),e.answer&&(e.acceptedAnswer=e.answer,delete e.answer),e.acceptedAnswer=i(e.acceptedAnswer,r,p),e.dateCreated=l(e.dateCreated),e},resolveRootNode(e,{find:r}){const a=r(n);a&&s(a["@type"]).includes("FAQPage")&&d(a,"mainEntity",o(e))}});export{y as questionResolver};
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.