{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "faq-search",
  "type": "registry:component",
  "title": "FAQ Search",
  "description": "A search field that filters questions as you type and highlights every match, popular keyword chips, a smooth accordion and a friendly empty state with a contact button.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "faq",
    "faq",
    "search",
    "filter",
    "highlight",
    "accordion",
    "help center"
  ],
  "docs": "https://hyperblur.dev/effects/faq-search",
  "files": [
    {
      "path": "registry/hyperblur/faq-search.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/faq-search.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface FaqSearchItem {\n  question: string;\n  answer: string;\n  category?: string;\n}\n\nexport interface FaqSearchLink {\n  label: string;\n  href: string;\n}\n\nexport interface FaqSearchProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  title?: string;\n  subtitle?: string;\n  items?: FaqSearchItem[];\n  placeholder?: string;\n  suggestions?: string[];\n  contact?: FaqSearchLink | null;\n  accent?: string;\n  defaultQuery?: string;\n  onSearch?: (query: string, results: number) => void;\n}\n\nconst css = `\n.hb-kd5 {\n  --hb-kd5-accent: #22d3ee;\n  box-sizing: border-box;\n  container-type: inline-size;\n  position: relative;\n  width: 100%;\n  overflow: hidden;\n  background: #0a0a0a;\n  color: #ededed;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-kd5 *, .hb-kd5 *::before, .hb-kd5 *::after { box-sizing: border-box; }\n.hb-kd5::before {\n  content: \"\";\n  position: absolute;\n  left: 50%;\n  top: -180px;\n  width: 1000px;\n  height: 480px;\n  transform: translateX(-50%);\n  background:\n    radial-gradient(closest-side, color-mix(in srgb, var(--hb-kd5-accent) 16%, transparent), transparent),\n    radial-gradient(closest-side at 70% 60%, rgba(139, 92, 246, .1), transparent);\n  pointer-events: none;\n}\n.hb-kd5-in {\n  position: relative;\n  max-width: 800px;\n  margin: 0 auto;\n  padding: 88px 24px 104px;\n}\n.hb-kd5-head { text-align: center; }\n.hb-kd5-title {\n  margin: 0;\n  font-size: clamp(30px, 5cqi, 48px);\n  font-weight: 600;\n  line-height: 1.06;\n  letter-spacing: -.03em;\n}\n.hb-kd5-sub { margin: 14px auto 0; max-width: 520px; color: #8f8f8f; font-size: 16px; line-height: 1.6; }\n.hb-kd5-search {\n  position: relative;\n  display: flex;\n  align-items: center;\n  gap: 12px;\n  height: 60px;\n  margin-top: 36px;\n  padding: 0 14px 0 20px;\n  border: 1px solid rgba(255, 255, 255, .1);\n  border-radius: 18px;\n  background: linear-gradient(180deg, #151515, #101010);\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 50px -20px rgba(0, 0, 0, .8);\n  transition: border-color .25s ease, box-shadow .25s ease;\n}\n.hb-kd5-search:focus-within {\n  border-color: color-mix(in srgb, var(--hb-kd5-accent) 60%, transparent);\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 4px color-mix(in srgb, var(--hb-kd5-accent) 16%, transparent), 0 20px 50px -20px rgba(0, 0, 0, .8);\n}\n.hb-kd5-search > svg { flex: none; width: 20px; height: 20px; color: #7a7a7a; }\n.hb-kd5-search:focus-within > svg { color: var(--hb-kd5-accent); }\n.hb-kd5-input {\n  flex: 1;\n  min-width: 0;\n  height: 100%;\n  margin: 0;\n  padding: 0;\n  border: 0;\n  outline: none;\n  background: transparent;\n  color: #ededed;\n  font: inherit;\n  font-size: 17px;\n}\n.hb-kd5-input::placeholder { color: #6b6b6b; }\n.hb-kd5-input::-webkit-search-cancel-button { display: none; }\n.hb-kd5-kbd {\n  display: grid;\n  flex: none;\n  place-items: center;\n  min-width: 26px;\n  height: 26px;\n  padding: 0 7px;\n  border: 1px solid rgba(255, 255, 255, .12);\n  border-radius: 7px;\n  background: rgba(255, 255, 255, .04);\n  color: #8f8f8f;\n  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;\n  font-size: 12px;\n}\n.hb-kd5-clear {\n  display: grid;\n  flex: none;\n  place-items: center;\n  width: 30px;\n  height: 30px;\n  margin: 0;\n  padding: 0;\n  border: 0;\n  border-radius: 9px;\n  background: rgba(255, 255, 255, .06);\n  color: #bdbdbd;\n  cursor: pointer;\n  transition: background-color .2s ease, color .2s ease;\n}\n.hb-kd5-clear:hover { background: rgba(255, 255, 255, .12); color: #fff; }\n.hb-kd5-clear:focus-visible { outline: 2px solid var(--hb-kd5-accent); outline-offset: 2px; }\n.hb-kd5-clear svg { width: 14px; height: 14px; }\n.hb-kd5-chips {\n  display: flex;\n  flex-wrap: wrap;\n  justify-content: center;\n  align-items: center;\n  gap: 8px;\n  margin-top: 16px;\n  color: #6b6b6b;\n  font-size: 13px;\n}\n.hb-kd5-chip {\n  margin: 0;\n  padding: 5px 12px;\n  border: 1px solid rgba(255, 255, 255, .08);\n  border-radius: 999px;\n  background: rgba(255, 255, 255, .02);\n  color: #a1a1a1;\n  font: inherit;\n  font-size: 13px;\n  cursor: pointer;\n  transition: border-color .2s ease, color .2s ease, background-color .2s ease;\n}\n.hb-kd5-chip:hover { border-color: rgba(255, 255, 255, .2); color: #ededed; }\n.hb-kd5-chip[aria-pressed=\"true\"] {\n  border-color: color-mix(in srgb, var(--hb-kd5-accent) 55%, transparent);\n  background: color-mix(in srgb, var(--hb-kd5-accent) 12%, transparent);\n  color: color-mix(in srgb, var(--hb-kd5-accent) 50%, #fff);\n}\n.hb-kd5-chip:focus-visible { outline: 2px solid var(--hb-kd5-accent); outline-offset: 2px; }\n.hb-kd5-meta {\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  margin: 40px 4px 12px;\n  color: #8f8f8f;\n  font-size: 13px;\n  font-variant-numeric: tabular-nums;\n}\n.hb-kd5-meta b { color: #ededed; font-weight: 600; }\n.hb-kd5-list {\n  margin: 0;\n  padding: 0;\n  list-style: none;\n  border: 1px solid rgba(255, 255, 255, .08);\n  border-radius: 20px;\n  background: #0f0f0f;\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);\n  overflow: hidden;\n}\n.hb-kd5-item { border-top: 1px solid rgba(255, 255, 255, .06); animation: hb-kd5-in .35s cubic-bezier(.2, .8, .2, 1) both; }\n.hb-kd5-item:first-child { border-top: 0; }\n@keyframes hb-kd5-in { from { opacity: 0; transform: translate3d(0, 6px, 0); } to { opacity: 1; transform: none; } }\n.hb-kd5-h { margin: 0; font: inherit; }\n.hb-kd5-trigger {\n  display: flex;\n  align-items: center;\n  gap: 14px;\n  width: 100%;\n  margin: 0;\n  padding: 20px 22px;\n  border: 0;\n  background: transparent;\n  color: #ededed;\n  font: inherit;\n  font-size: 16px;\n  font-weight: 500;\n  line-height: 1.4;\n  text-align: left;\n  cursor: pointer;\n  transition: background-color .2s ease;\n}\n.hb-kd5-trigger:hover { background: rgba(255, 255, 255, .025); }\n.hb-kd5-trigger:focus-visible { outline: 2px solid var(--hb-kd5-accent); outline-offset: -2px; border-radius: 12px; }\n.hb-kd5-q { flex: 1; min-width: 0; }\n.hb-kd5-tag {\n  flex: none;\n  padding: 3px 9px;\n  border-radius: 999px;\n  background: rgba(255, 255, 255, .05);\n  color: #8f8f8f;\n  font-size: 12px;\n  font-weight: 500;\n}\n.hb-kd5-icon {\n  position: relative;\n  flex: none;\n  width: 22px;\n  height: 22px;\n  border: 1px solid rgba(255, 255, 255, .12);\n  border-radius: 7px;\n  transition: border-color .3s ease, background-color .3s ease;\n}\n.hb-kd5-icon::before, .hb-kd5-icon::after {\n  content: \"\";\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  width: 9px;\n  height: 1.5px;\n  margin: -.75px 0 0 -4.5px;\n  border-radius: 2px;\n  background: #bdbdbd;\n  transition: transform .35s cubic-bezier(.2, .8, .2, 1), background-color .3s ease;\n}\n.hb-kd5-icon::after { transform: rotate(90deg); }\n.hb-kd5-trigger[aria-expanded=\"true\"] .hb-kd5-icon { border-color: color-mix(in srgb, var(--hb-kd5-accent) 60%, transparent); background: color-mix(in srgb, var(--hb-kd5-accent) 14%, transparent); }\n.hb-kd5-trigger[aria-expanded=\"true\"] .hb-kd5-icon::before, .hb-kd5-trigger[aria-expanded=\"true\"] .hb-kd5-icon::after { background: var(--hb-kd5-accent); }\n.hb-kd5-trigger[aria-expanded=\"true\"] .hb-kd5-icon::after { transform: rotate(0deg); }\n.hb-kd5-panel {\n  display: grid;\n  grid-template-rows: 0fr;\n  visibility: hidden;\n  transition: grid-template-rows .4s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .4s;\n}\n.hb-kd5-item[data-open=\"true\"] .hb-kd5-panel {\n  grid-template-rows: 1fr;\n  visibility: visible;\n  transition: grid-template-rows .4s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0s;\n}\n.hb-kd5-clip { min-height: 0; overflow: hidden; }\n.hb-kd5-a {\n  margin: 0;\n  padding: 0 22px 22px;\n  max-width: 640px;\n  color: #a1a1a1;\n  font-size: 15px;\n  line-height: 1.65;\n  opacity: 0;\n  transform: translate3d(0, -4px, 0);\n  transition: opacity .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1);\n}\n.hb-kd5-item[data-open=\"true\"] .hb-kd5-a { opacity: 1; transform: none; transition-delay: .08s; }\n.hb-kd5-mark {\n  padding: 0 2px;\n  margin: 0 -2px;\n  border-radius: 4px;\n  background: color-mix(in srgb, var(--hb-kd5-accent) 26%, transparent);\n  color: #fff;\n  box-shadow: inset 0 -1px 0 var(--hb-kd5-accent);\n}\n.hb-kd5-empty {\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  padding: 56px 24px;\n  border: 1px dashed rgba(255, 255, 255, .12);\n  border-radius: 20px;\n  background: rgba(255, 255, 255, .015);\n  text-align: center;\n}\n.hb-kd5-empty-icon {\n  display: grid;\n  place-items: center;\n  width: 52px;\n  height: 52px;\n  border: 1px solid rgba(255, 255, 255, .1);\n  border-radius: 16px;\n  background: linear-gradient(180deg, #181818, #111);\n  color: #8f8f8f;\n}\n.hb-kd5-empty-icon svg { width: 22px; height: 22px; }\n.hb-kd5-empty-title { margin: 18px 0 0; font-size: 17px; font-weight: 600; }\n.hb-kd5-empty-text { margin: 8px 0 0; max-width: 360px; color: #8f8f8f; font-size: 14px; line-height: 1.6; }\n.hb-kd5-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }\n.hb-kd5-btn {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  min-height: 38px;\n  margin: 0;\n  padding: 0 16px;\n  border: 1px solid rgba(255, 255, 255, .12);\n  border-radius: 999px;\n  background: rgba(255, 255, 255, .04);\n  color: #ededed;\n  font: inherit;\n  font-size: 14px;\n  font-weight: 500;\n  text-decoration: none;\n  cursor: pointer;\n  transition: border-color .2s ease, background-color .2s ease;\n}\n.hb-kd5-btn:hover { border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .08); }\n.hb-kd5-btn[data-primary=\"true\"] { border-color: transparent; background: #ededed; color: #0a0a0a; }\n.hb-kd5-btn[data-primary=\"true\"]:hover { background: #fff; }\n.hb-kd5-btn:focus-visible { outline: 2px solid var(--hb-kd5-accent); outline-offset: 3px; }\n.hb-kd5-foot { margin: 20px 0 0; color: #8f8f8f; font-size: 14px; text-align: center; }\n.hb-kd5-foot a { color: #ededed; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--hb-kd5-accent) 60%, transparent); text-underline-offset: 3px; border-radius: 4px; }\n.hb-kd5-foot a:hover { color: var(--hb-kd5-accent); }\n.hb-kd5-foot a:focus-visible { outline: 2px solid var(--hb-kd5-accent); outline-offset: 2px; }\n@container (max-width: 560px) {\n  .hb-kd5-in { padding: 64px 16px 72px; }\n  .hb-kd5-search { height: 54px; padding: 0 10px 0 16px; border-radius: 16px; }\n  .hb-kd5-input { font-size: 16px; }\n  .hb-kd5-kbd { display: none; }\n  .hb-kd5-trigger { padding: 18px 16px; font-size: 15px; gap: 12px; }\n  .hb-kd5-a { padding: 0 16px 18px; }\n  .hb-kd5-tag { display: none; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-kd5-item { animation: none; }\n  .hb-kd5-panel, .hb-kd5-item[data-open=\"true\"] .hb-kd5-panel, .hb-kd5-a, .hb-kd5-icon, .hb-kd5-icon::before, .hb-kd5-icon::after { transition: none; }\n}\n`;\n\nconst defaultItems: FaqSearchItem[] = [\n  { question: \"How do I request a refund?\", answer: \"Open Billing, pick the invoice and choose Request refund. Refunds for annual plans are prorated and land on the original card within 5 to 10 business days.\", category: \"Billing\" },\n  { question: \"Can I change my plan in the middle of a billing cycle?\", answer: \"Yes. Upgrades apply immediately and you only pay the difference for the days left. Downgrades take effect at the start of your next cycle.\", category: \"Billing\" },\n  { question: \"Do you support single sign-on with SAML?\", answer: \"SAML SSO with Okta, Microsoft Entra ID and Google Workspace is included on the Business plan. SCIM provisioning keeps seats in sync automatically.\", category: \"Security\" },\n  { question: \"Where is my data stored?\", answer: \"Workspaces are hosted in Frankfurt or Virginia, chosen at sign-up. Data is encrypted at rest with AES-256 and in transit with TLS 1.3.\", category: \"Security\" },\n  { question: \"How do I export everything from my workspace?\", answer: \"Go to Settings, then Data, then Export. You get a ZIP with CSV and JSON files for every project, plus original attachments, usually within ten minutes.\", category: \"Account\" },\n  { question: \"How are seats counted?\", answer: \"A seat is any member who can edit. Viewers and guests are free and unlimited, so you can share boards with clients without paying extra.\", category: \"Billing\" },\n  { question: \"Is there an API and a rate limit?\", answer: \"The REST and GraphQL APIs are available on every plan. The limit is 600 requests per minute per workspace, and webhooks do not count toward it.\", category: \"Developers\" },\n  { question: \"Can I invite people outside my company?\", answer: \"Invite guests by email to individual projects. They only see what you share with them and can be removed in one click from the member list.\", category: \"Account\" },\n];\n\nconst defaultSuggestions = [\"refund\", \"SSO\", \"export\", \"seats\", \"API\"];\n\nfunction escapeRegExp(text: string) {\n  return text.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n}\n\nfunction wordsOf(query: string) {\n  return query.trim().toLowerCase().split(/\\s+/).filter(Boolean);\n}\n\nfunction matches(item: FaqSearchItem, words: string[]) {\n  if (words.length === 0) return true;\n  const hay = `${item.question} ${item.answer} ${item.category ?? \"\"}`.toLowerCase();\n  return words.every((w) => hay.includes(w));\n}\n\nfunction highlight(text: string, words: string[]) {\n  if (words.length === 0) return text;\n  const pattern = new RegExp(`(${[...words].sort((a, b) => b.length - a.length).map(escapeRegExp).join(\"|\")})`, \"gi\");\n  const parts = text.split(pattern);\n  return parts.map((part, i) =>\n    i % 2 === 1 ? (\n      <mark key={i} className=\"hb-kd5-mark\">\n        {part}\n      </mark>\n    ) : (\n      <React.Fragment key={i}>{part}</React.Fragment>\n    ),\n  );\n}\n\nexport function FaqSearch({\n  title = \"How can we help?\",\n  subtitle = \"Search answers about billing, security and your workspace. Most questions are answered in under a minute.\",\n  items = defaultItems,\n  placeholder = \"Search questions, for example refunds\",\n  suggestions = defaultSuggestions,\n  contact = { label: \"Contact support\", href: \"#support\" },\n  accent = \"#22d3ee\",\n  defaultQuery = \"\",\n  onSearch,\n  className = \"\",\n  style,\n  ...rest\n}: FaqSearchProps) {\n  const uid = React.useId();\n  const inputRef = React.useRef<HTMLInputElement>(null);\n  const [query, setQuery] = React.useState(defaultQuery);\n  const [open, setOpen] = React.useState<number>(defaultQuery ? -2 : 0);\n  const words = wordsOf(query);\n\n  const results = items\n    .map((item, index) => ({ item, index }))\n    .filter(({ item }) => matches(item, words));\n\n  const openIndex = open === -2 ? (results[0]?.index ?? -1) : open;\n\n  const update = (value: string) => {\n    setQuery(value);\n    const w = wordsOf(value);\n    setOpen(w.length ? -2 : 0);\n    onSearch?.(value, items.filter((item) => matches(item, w)).length);\n  };\n\n  React.useEffect(() => {\n    const onKey = (e: KeyboardEvent) => {\n      if (e.key !== \"/\" || e.metaKey || e.ctrlKey || e.altKey) return;\n      const target = e.target as HTMLElement | null;\n      if (target && (target.isContentEditable || /^(INPUT|TEXTAREA|SELECT)$/.test(target.tagName))) return;\n      e.preventDefault();\n      inputRef.current?.focus();\n    };\n    document.addEventListener(\"keydown\", onKey);\n    return () => document.removeEventListener(\"keydown\", onKey);\n  }, []);\n\n  const vars = { \"--hb-kd5-accent\": accent, ...style } as React.CSSProperties;\n  const lowerQuery = query.trim().toLowerCase();\n\n  return (\n    <section className={`hb-kd5 ${className}`} style={vars} aria-labelledby={`${uid}-t`} {...rest}>\n      <style href=\"hb-faq-search\" precedence=\"default\">{css}</style>\n      <div className=\"hb-kd5-in\">\n        <header className=\"hb-kd5-head\">\n          <h2 id={`${uid}-t`} className=\"hb-kd5-title\">{title}</h2>\n          {subtitle && <p className=\"hb-kd5-sub\">{subtitle}</p>}\n        </header>\n        <div className=\"hb-kd5-search\" role=\"search\">\n          <svg viewBox=\"0 0 20 20\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.7\" strokeLinecap=\"round\" aria-hidden=\"true\">\n            <circle cx=\"9\" cy=\"9\" r=\"6\" />\n            <path d=\"M13.5 13.5L17 17\" />\n          </svg>\n          <input\n            ref={inputRef}\n            className=\"hb-kd5-input\"\n            type=\"search\"\n            value={query}\n            placeholder={placeholder}\n            aria-label=\"Search frequently asked questions\"\n            aria-controls={`${uid}-list`}\n            onChange={(e) => update(e.target.value)}\n            onKeyDown={(e) => {\n              if (e.key === \"Escape\" && query) {\n                e.preventDefault();\n                update(\"\");\n              }\n            }}\n          />\n          {query ? (\n            <button type=\"button\" className=\"hb-kd5-clear\" aria-label=\"Clear search\" onClick={() => { update(\"\"); inputRef.current?.focus(); }}>\n              <svg viewBox=\"0 0 14 14\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" aria-hidden=\"true\">\n                <path d=\"M3.5 3.5l7 7M10.5 3.5l-7 7\" />\n              </svg>\n            </button>\n          ) : (\n            <kbd className=\"hb-kd5-kbd\" aria-hidden=\"true\">/</kbd>\n          )}\n        </div>\n        {suggestions.length > 0 && (\n          <div className=\"hb-kd5-chips\">\n            <span>Popular:</span>\n            {suggestions.map((s) => (\n              <button\n                key={s}\n                type=\"button\"\n                className=\"hb-kd5-chip\"\n                aria-pressed={lowerQuery === s.toLowerCase()}\n                onClick={() => update(lowerQuery === s.toLowerCase() ? \"\" : s)}\n              >\n                {s}\n              </button>\n            ))}\n          </div>\n        )}\n        <div className=\"hb-kd5-meta\" aria-live=\"polite\">\n          <span>\n            {words.length ? (\n              <>\n                <b>{results.length}</b> of {items.length} answers match\n              </>\n            ) : (\n              <>\n                <b>{items.length}</b> answers\n              </>\n            )}\n          </span>\n          <span>Updated Oct 2026</span>\n        </div>\n        {results.length > 0 ? (\n          <ul className=\"hb-kd5-list\" id={`${uid}-list`}>\n            {results.map(({ item, index }) => {\n              const isOpen = openIndex === index;\n              const tid = `${uid}-q${index}`;\n              const pid = `${uid}-a${index}`;\n              return (\n                <li key={index} className=\"hb-kd5-item\" data-open={isOpen ? \"true\" : \"false\"}>\n                  <h3 className=\"hb-kd5-h\">\n                    <button\n                      id={tid}\n                      type=\"button\"\n                      className=\"hb-kd5-trigger\"\n                      aria-expanded={isOpen}\n                      aria-controls={pid}\n                      onClick={() => setOpen(isOpen ? -1 : index)}\n                    >\n                      <span className=\"hb-kd5-q\">{highlight(item.question, words)}</span>\n                      {item.category && <span className=\"hb-kd5-tag\">{item.category}</span>}\n                      <span className=\"hb-kd5-icon\" aria-hidden=\"true\" />\n                    </button>\n                  </h3>\n                  <div id={pid} className=\"hb-kd5-panel\" role=\"region\" aria-labelledby={tid}>\n                    <div className=\"hb-kd5-clip\">\n                      <p className=\"hb-kd5-a\">{highlight(item.answer, words)}</p>\n                    </div>\n                  </div>\n                </li>\n              );\n            })}\n          </ul>\n        ) : (\n          <div className=\"hb-kd5-empty\" id={`${uid}-list`}>\n            <span className=\"hb-kd5-empty-icon\" aria-hidden=\"true\">\n              <svg viewBox=\"0 0 22 22\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.6\" strokeLinecap=\"round\" strokeLinejoin=\"round\">\n                <circle cx=\"10\" cy=\"10\" r=\"6.5\" />\n                <path d=\"M15 15l4 4M7.8 8.2c.3-1 1.1-1.6 2.2-1.6 1.3 0 2.2.8 2.2 1.9 0 1.5-2.2 1.6-2.2 3\" />\n                <path d=\"M10 13.6v.1\" />\n              </svg>\n            </span>\n            <p className=\"hb-kd5-empty-title\">No answers for &ldquo;{query.trim()}&rdquo;</p>\n            <p className=\"hb-kd5-empty-text\">Try a shorter keyword, check the spelling, or ask our team. A real person replies in about two hours.</p>\n            <div className=\"hb-kd5-actions\">\n              <button type=\"button\" className=\"hb-kd5-btn\" onClick={() => { update(\"\"); inputRef.current?.focus(); }}>\n                Clear search\n              </button>\n              {contact && (\n                <a className=\"hb-kd5-btn\" data-primary=\"true\" href={contact.href}>\n                  {contact.label}\n                </a>\n              )}\n            </div>\n          </div>\n        )}\n        {contact && results.length > 0 && (\n          <p className=\"hb-kd5-foot\">\n            Still stuck? <a href={contact.href}>{contact.label}</a>\n          </p>\n        )}\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}