1import{f2 as t,f5 as s,fj as d,f9 as f,f3 as o,f8 as i}from"./index-BXQnu0Fm.js";import{d as n}from"./index3-DMVoTICJ.js";import"./index16-CPkCaJSg.js";import"./index28-D2B98dBU.js";import"./index40-DLQkwbBi.js";import"./index39-DX2aW2hZ.js";const l=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=o(e.acceptedAnswer,r,l),e.dateCreated=i(e.dateCreated),e},resolveRootNode(e,{find:r}){const a=r(n);a&&s(a["@type"]).includes("FAQPage")&&d(a,"mainEntity",f(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.