1import"./builder-CvCrGSQN.js";function s(e,r=Date.now()){return e.category.toLowerCase()==="livestream"&&e.date>r}function o(e){const r=e.trim().toLowerCase();return{livestream:"Livestreams",guide:"Guides",explainer:"Explainers",framework:"Frameworks","customer story":"Customer Stories",comparison:"Comparisons",report:"Reports","solution brief":"Solution Briefs"}[r]??e}const i={Guides:"guides",Livestreams:"livestreams",Explainers:"explainers",Frameworks:"frameworks","Customer Stories":"customer-stories",Comparisons:"compare",Reports:"reports","Solution Briefs":"solution-briefs"};function t(e){return i[e]??e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}function a(e,r){return`/${t(o(r))}/${e}`}function u(e){return!e.handle||e.handle.startsWith("/")?null:a(e.handle,e.category)}function f(e){if(e.handle.startsWith("/"))return e.handle;if(s(e)&&e.lumaLink)return e.lumaLink;const r=e.guidePdf||e.redirectLink;return e.category.toLowerCase()==="solution brief"&&!e.gated&&r?r:u(e)??e.handle}function c(e){return e.category.toLowerCase()==="solution brief"&&!e.gated&&!!e.guidePdf}export{t as a,f as b,c,a as d,o as g,s as i};
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.