1import{j as e}from"./ui-vendor-BQNPvbxQ.js";import{L as b,h as C,N as j}from"./react-vendor-Dd1FUiDK.js";import{g as k,F as S}from"./helpcenterVisuals-D_L7KENh.js";import{m as A,h as N,e as p,b as H,a as h,i as v,H as F,F as G,j as P,k as B}from"./Footer-Dl20-d4I.js";import{S as T}from"./SEO-D8E6IA14.js";import{H as I}from"./HelpcenterLayout-872wZFWh.js";import{u as y}from"./index-BNlcup7K.js";import{l as M,a as R,h as W,N as z}from"./helpcenterOutboundLinks-Btmmtg62.js";import{B as E}from"./book-open-Ke2-3xzt.js";import{P as O}from"./puzzle-c0myPDmo.js";import{L as q}from"./layout-grid-D16bpqi7.js";import{A as D}from"./arrow-right-CuVvmLRG.js";import"./search-BJkqEKVE.js";import"./circle-help-yZ8o7zUz.js";import"./analytics-Lm5mjTXa.js";const U=({entryKey:u,category:s,variant:l="default"})=>{const{language:r}=y(),o=u?M(u,s,r):R(s,r);if(!W(o))return null;const a={heading:r==="pt"?"Saber mais no site":r==="es"?"Saber más en el sitio":"Learn more on the site",intro:r==="pt"?"Termos, integrações e artigos que ajudam a dar contexto a este tópico.":r==="es"?"Términos, integraciones y artÃculos que dan contexto a este tema.":"Terms, integrations and articles that add context to this topic.",glossary:r==="pt"?"Glossário":r==="es"?"Glosario":"Glossary",integrations:r==="pt"?"Integrações":r==="es"?"Integraciones":"Integrations",blog:"Blog",product:r==="pt"?"Produto":r==="es"?"Producto":"Product"},d=({icon:i,title:m,items:c})=>c.length?e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground mb-2",children:[e.jsx(i,{className:"h-3.5 w-3.5"}),m]}),e.jsx("ul",{className:"flex flex-wrap gap-1.5",children:c.map(n=>e.jsx("li",{children:e.jsx(b,{to:n.href,className:"inline-flex items-center rounded-full border border-border bg-background px-3 py-1 text-sm text-foreground hover:border-primary hover:text-primary transition-colors",children:n.label})},n.href))})]}):null;return e.jsxs("aside",{className:`rounded-xl border border-border bg-muted/30 ${l==="compact"?"p-4":"p-5"}`,"aria-label":a.heading,children:[e.jsxs("div",{className:"mb-3",children:[e.jsx("div",{className:"text-sm font-semibold text-foreground",children:a.heading}),l==="default"&&e.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:a.intro})]}),e.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[e.jsx(d,{icon:E,title:a.glossary,items:o.glossary}),e.jsx(d,{icon:O,title:a.integrations,items:o.integrations}),e.jsx(d,{icon:z,title:a.blog,items:o.blog}),e.jsx(d,{icon:q,title:a.product,items:o.product})]})]})},le=()=>{const{category:u}=C(),{language:s}=y(),l=P(s),r=B(s),o=u?A(u):void 0;if(!o)return e.jsx(j,{to:r,replace:!0});const a=N(o,s);if(u!==a)return e.jsx(j,{to:`${r}/${a}`,replace:!0});const d=s==="pt"?"Centro de Ajuda":s==="es"?"Centro de Ayuda":"Help Center",i=p(o,s),m=H(o.slug).filter(t=>h(t.slug,s).length>0),c=m.length>0,n=c?[]:h(o.slug,s),L=`${i} | LogisticsWMS Help`,x=(c?m.slice(0,4).map(t=>p(t,s)):n.slice(0,4).map(t=>t.titles[l]||t.titles.en||"")).filter(Boolean).join(", "),f=s==="pt"?`Guias e tutoriais LogisticsWMS sobre ${i.toLowerCase()}: ${x}.`:s==="es"?`GuÃas y tutoriales LogisticsWMS sobre ${i.toLowerCase()}: ${x}.`:`LogisticsWMS guides and tutorials on ${i.toLowerCase()}: ${x}.`,$=c?m.map(t=>({name:p(t,s),url:`${r}/${t.slug}`})):n.map(t=>({name:t.titles[l]||t.titles.en||"",url:v(t,s)}));return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(T,{title:L,description:f,schemas:["BreadcrumbList","CollectionPage","ItemList"],breadcrumbs:[{name:d,url:r},{name:i,url:`${r}/${a}`}],collection:{name:i,description:f},itemList:$}),e.jsx(F,{}),e.jsx("div",{className:"pt-16",children:e.jsxs(I,{breadcrumbs:[{label:d,href:r},{label:i}],activeCategory:o.slug,children:[e.jsxs("header",{className:"mb-6",children:[e.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-2",children:i}),c?e.jsxs("p",{className:"text-muted-foreground",children:[m.length," ",s==="pt"?"subcategorias":s==="es"?"subcategorÃas":"subcategories"]}):e.jsxs("p",{className:"text-muted-foreground",children:[n.length," ",s==="pt"?"artigos":s==="es"?"artÃculos":"articles"]})]}),e.jsx("div",{className:"mb-6",children:e.jsx(U,{category:o.slug,variant:"compact"})}),c?e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:m.map(t=>{const g=k(t.slug),w=h(t.slug,s).length;return e.jsxs(b,{to:`${r}/${N(t,s)}`,className:`group relative overflow-hidden rounded-2xl border border-border bg-card p-5 transition-all hover:shadow-md ${g.ring}
1`,children:[e.jsx("div",{"aria-hidden":!0,className:`absolute inset-0 bg-gradient-to-br ${g.gradient} opacity-60 pointer-events-none`}),e.jsxs("div",{className:"relative flex items-start justify-between gap-3",children:[e.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[e.jsx("div",{className:`w-11 h-11 shrink-0 rounded-xl ${g.chip} flex items-center justify-center`,children:e.jsx(S,{icon:g.icon,className:`h-5 w-5 ${g.iconColor}`})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("div",{className:"font-semibold text-foreground group-hover:text-primary transition-colors truncate",children:p(t,s)}),e.jsxs("div",{className:"text-xs text-muted-foreground mt-0.5",children:[w," ",s==="pt"?"artigos":s==="es"?"artÃculos":"articles"]})]})]}),e.jsx(D,{className:"h-4 w-4 text-muted-foreground group-hover:text-primary group-hover:translate-x-0.5 transition-all shrink-0"})]})]},t.slug)})}):n.length===0?e.jsx("p",{className:"text-muted-foreground",children:s==="pt"?"Ainda não há artigos publicados nesta categoria.":s==="es"?"Aún no hay artÃculos publicados en esta categorÃa.":"No articles published in this category yet."}):e.jsx("ul",{className:"space-y-3",children:n.map(t=>e.jsx("li",{children:e.jsxs(b,{to:v(t,s),className:"block rounded-lg border border-border p-4 hover:border-primary hover:bg-muted/40 transition-colors",children:[e.jsx("div",{className:"font-semibold text-foreground",children:t.titles[l]||t.titles.en}),t.descriptions[l]&&e.jsx("div",{className:"text-sm text-muted-foreground mt-1 line-clamp-2",children:t.descriptions[l]})]})},t.key))})]})}),e.jsx(G,{})]})};export{le 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.