PageSourceSearch

https://saara.io/assets/AnswerPost-DB_00V4N.js

js saara.io collected 2026-10-09 22:54:40 UTC 8,629 bytes, 1 lines download raw bytes

1import{m as w,j as e,H as S,N as v,L as i}from"./index-DsWUgvap.js";import{N as A}from"./NotFoundRecovery-C2bwdGQa.js";import k from"./Footer-CywrO155.js";import{C as E,S as L}from"./StickyMobileCTA-E-agDy04.js";import{g as q,a as C}from"./answers-BxXeUBS9.js";import{a as u,p as h}from"./authors-CrpFY9Ku.js";import{m as P}from"./proxy-CaPB4SFZ.js";import{A as O}from"./arrow-left-DRSkrsPa.js";import{C as J}from"./circle-check-BPArqept.js";import{E as g}from"./external-link-BK2lrkxp.js";import"./input-D2gjWqvI.js";import"./analytics-DnxiBb83.js";import"./search-DMojlgZi.js";import"./arrow-right-THXC96uF.js";import"./saara-logo-Bj6F0kz6.js";import"./calendar-BiRL747M.js";const T={ecoreturns:{label:"Try EcoReturns free",href:"/ecoreturns"},ecoship:{label:"See EcoShip rates",href:"/ecoship"},flyos:{label:"Explore EcoAgents agents",href:"/ecoagents"},mcp:{label:"Connect Saara MCP",href:"/mcp-server"},ecotrack:{label:"Get EcoTrack free",href:"/ecotrack"}},X=()=>{const{slug:p}=w(),t=p?q(p):void 0;if(!t)return e.jsx(A,{type:"content",category:"answers",title:"We couldn't find that answer"});const l=u[t.authorSlug],o=t.reviewerSlug?u[t.reviewerSlug]:void 0,n=`https://saara.io/answers/${t.slug}`,d=t.metaDescription??t.shortAnswer,f={"@context":"https://schema.org","@type":"Article",headline:t.question,description:d,url:n,mainEntityOfPage:n,datePublished:t.updated,dateModified:t.updated,inLanguage:"en",author:{"@id":l.url},...o?{reviewedBy:{"@id":o.url}}:{},publisher:{"@type":"Organization",name:"Saara",url:"https://saara.io",logo:{"@type":"ImageObject",url:"https://saara.io/og-image.png"}},citation:t.sources.map(r=>({"@type":"CreativeWork",name:r.label,url:r.url})),keywords:t.keywords.join(", ")},j={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:t.question,acceptedAnswer:{"@type":"Answer",text:t.shortAnswer}},...t.faqs.map(r=>({"@type":"Question",name:r.q,acceptedAnswer:{"@type":"Answer",text:r.a}}))]},y={"@context":"https://schema.org","@type":"WebPage",url:n,speakable:{"@type":"SpeakableSpecification",cssSelector:["#short-answer","h1"]}},b={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://saara.io"},{"@type":"ListItem",position:2,name:"Answers",item:"https://saara.io/answers"},{"@type":"ListItem",position:3,name:t.question,item:n}]},m=t.ctaProduct?T[t.ctaProduct]:void 0;return e.jsxs(e.Fragment,{children:[e.jsxs(S,{children:[e.jsxs("title",{children:[t.question," | Saara Answers"]}),e.jsx("meta",{name:"description",content:d}),e.jsx("link",{rel:"canonical",href:n}),e.jsx("meta",{property:"og:title",content:t.question}),e.jsx("meta",{property:"og:description",content:d}),e.jsx("meta",{property:"og:url",content:n}),e.jsx("meta",{property:"og:type",content:"article"}),e.jsx("meta",{property:"article:published_time",content:t.updated}),e.jsx("meta",{property:"article:modified_time",content:t.updated}),e.jsx("meta",{property:"article:author",content:l.name}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(h(l))}),o&&e.jsx("script",{type:"application/ld+json",children:JSON.stringify(h(o))}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(f)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(j)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(y)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(b)})]}),e.jsx(v,{}),e.jsx("main",{className:"pt-24 pb-20",children:e.jsx("article",{className:"container max-w-3xl",children:e.jsxs(P.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.4},children:[e.jsxs(i,{to:"/answers",className:"inline-flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground mb-6",children:[e.jsx(O,{className:"w-4 h-4"})," All answers"]}),e.jsx("div",{className:"text-xs font-medium text-primary mb-3 uppercase tracking-wide",children:t.category}),e.jsx("h1",{className:"text-3xl md:text-4xl font-extrabold text-foreground leading-tight mb-6",children:t.question}),e.jsx("div",{id:"short-answer",className:"rounded-2xl border border-primary/20 bg-primary/5 p-6 mb-8",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(J,{className:"w-5 h-5 text-primary flex-shrink-0 mt-0.5"}),e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-semibold text-primary mb-1.5",children:"Short answer"}),e.jsx("p",{className:"text-foreground leading-relaxed",children:t.shortAnswer})]})]})}),e.jsxs("div",{className:"flex flex-wrap items-center gap-x-4 gap-y-2 text-sm text-muted-foreground mb-10 pb-6 border-b border-border",children:[e.jsxs("span",{children:["By"," ",e.jsx(i,{to:"/about",className:"text-foreground font-medium hover:underline",children:l.name}),", ",l.jobTitle]}),o&&e.jsxs("span",{children:["· Reviewed by"," ",e.jsx(i,{to:"/about",className:"text-foreground font-medium hover:underline",children:o.name})]}),e.jsxs("span",{children:["· Updated ",e.jsx("time",{dateTime:t.updated,children:new Date(t.updated).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})})]})]}),e.jsxs("div",{className:"prose prose-lg max-w-none prose-headings:text-foreground prose-p:text-muted-foreground prose-strong:text-foreground prose-a:text-primary",children:[t.sections.map((r,s)=>e.jsxs("section",{className:"mb-8",children:[e.jsx("h2",{className:"text-2xl font-bold text-foreground mb-3",children:r.heading}),r.body&&e.jsx("p",{className:"text-muted-foreground leading-relaxed mb-3",children:r.body}),r.bullets&&e.jsx("ul",{className:"list-disc pl-6 space-y-2 text-muted-foreground",children:r.bullets.map((a,c)=>e.jsx("li",{children:a},c))}),r.table&&e.jsx("div",{className:"mt-4 overflow-x-auto rounded-xl border border-border",children:e.jsxs("table",{className:"w-full text-sm my-0",children:[r.table.caption&&e.jsx("caption",{className:"caption-bottom px-4 py-2 text-xs text-muted-foreground text-left",children:r.table.caption}),e.jsx("thead",{className:"bg-muted/50",children:e.jsx("tr",{children:r.table.headers.map((a,c)=>e.jsx("th",{className:"text-left font-semibold text-foreground px-4 py-2.5 whitespace-nowrap",children:a},c))})}),e.jsx("tbody",{children:r.table.rows.map((a,c)=>e.jsx("tr",{className:"border-t border-border align-top",children:a.map((N,x)=>e.jsx("td",{className:`px-4 py-2.5 ${x===0?"font-medium text-foreground":"text-muted-foreground"}`,children:N},x))},c))})]})})]},s)),e.jsxs("section",{className:"mb-8",children:[e.jsx("h2",{className:"text-2xl font-bold text-foreground mb-4",children:"People also ask"}),e.jsx("div",{className:"space-y-5",children:t.faqs.map((r,s)=>e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-foreground mb-1.5",children:r.q}),e.jsx("p",{className:"text-muted-foreground",children:r.a})]},s))})]}),e.jsxs("section",{className:"mb-8",children:[e.jsx("h2",{className:"text-2xl font-bold text-foreground mb-4",children:"Sources & further reading"}),e.jsx("ul",{className:"list-disc pl-6 space-y-1.5",children:t.sources.map((r,s)=>e.jsx("li",{children:e.jsxs("a",{href:r.url,className:"text-primary underline inline-flex items-center gap-1",children:[r.label," ",e.jsx(g,{className:"w-3.5 h-3.5"})]})},s))}),e.jsxs("p",{className:"text-xs text-muted-foreground mt-3",children:["All Saara statistics follow our"," ",e.jsx(i,{to:"/methodology",className:"text-primary underline",children:"measurement methodology"}),"."]})]}),m&&e.jsxs("aside",{className:"rounded-2xl border border-primary/20 bg-gradient-to-br from-primary/5 to-transparent p-6 mb-8",children:[e.jsx("p",{className:"text-foreground font-semibold mb-3",children:"Want to apply this to your store?"}),e.jsxs(i,{to:m.href,className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-lg bg-primary text-primary-foreground font-medium hover:opacity-90 transition",children:[m.label," ",e.jsx(g,{className:"w-4 h-4"})]})]}),t.relatedSlugs&&t.relatedSlugs.length>0&&e.jsxs("section",{children:[e.jsx("h2",{className:"text-2xl font-bold text-foreground mb-4",children:"Related answers"}),e.jsx("ul",{className:"space-y-2",children:t.relatedSlugs.map(r=>{const s=C.find(a=>a.slug===r);return s?e.jsx("li",{children:e.jsx(i,{to:`/answers/${s.slug}`,className:"text-primary underline",children:s.question})},r):null})})]}),e.jsx(E,{headline:"Get this answered for your store, not in general",subline:"A 20-minute session with our post-purchase team: your return reasons, your carriers, your refund policy — mapped to EcoReturns, EcoShip, EcoTrack and EcoAgents."})]})]})})}),e.jsx(L,{}),e.jsx(k,{})]})};export{X as default};

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.