PageSourceSearch

https://constructable.ai/assets/faq-section-u-OCLgY8.js

js constructable.ai collected 2026-09-30 10:35:20 UTC 2,022 bytes, 1 lines download raw bytes

1import{G as e,J as t}from"./components-SEbrD5up.js";import{t as n}from"./jsx-runtime-C55ckCrR.js";import{E as r}from"./navbar-Hegkb4Yl.js";import{t as i}from"./header-CvlHFIKA.js";import{n as a,t as o}from"./card-QfjKGv1z.js";var s=t(e(),1),c=n();function l({children:e}){return(0,c.jsx)(o,{className:`gap-0 py-0`,children:(0,c.jsx)(`details`,{className:`group`,children:e})})}function u({children:e}){return(0,c.jsxs)(`summary`,{className:`flex cursor-pointer list-none items-start justify-between gap-4 rounded-xl p-6 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring [&::-webkit-details-marker]:hidden`,children:[(0,c.jsx)(`h3`,{className:`text-lg md:text-xl font-medium text-left text-wrap break-words`,children:e}),(0,c.jsx)(r,{className:`text-muted-foreground pointer-events-none size-5 shrink-0 transition-transform group-open:rotate-180`})]})}function d({children:e,dangerouslySetHTML:t}){return(0,c.jsx)(a,{className:`pb-6 text-base md:text-lg text-wrap break-words [&>p:last-child]:mb-0`,children:t?(0,c.jsx)(`span`,{dangerouslySetInnerHTML:{__html:t}}):e})}function f({title:e,children:t,className:n}){return(0,c.jsxs)(`div`,{className:`w-full md:max-w-3xl mx-auto ${n||``}`,children:[(0,c.jsx)(`div`,{className:`text-center mb-12`,children:(0,c.jsx)(i,{className:`font-semibold`,size:0,children:`Frequently Asked Questions`})}),e&&(0,c.jsx)(`h2`,{className:`text-4xl font-semibold text-center mb-12`,children:e}),(0,c.jsx)(`div`,{className:`flex flex-col gap-4`,children:t})]})}function p(e){return typeof e==`string`||typeof e==`number`?String(e):Array.isArray(e)?e.map(p).join(``):(0,s.isValidElement)(e)?p(e.props.children):``}function m({faqs:e}){return(0,c.jsx)(`script`,{type:`application/ld+json`,dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":`https://schema.org`,"@type":`FAQPage`,mainEntity:e.map(e=>({"@type":`Question`,name:e.question,acceptedAnswer:{"@type":`Answer`,text:p(e.answer).replace(/\s+/g,` `).trim()}}))})}})}export{u as a,f as i,l as n,m as r,d 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.