PageSourceSearch

https://sabhia.ai/assets/isbn-register-C2x6TRpR.js

js sabhia.ai collected 2026-10-05 12:33:39 UTC 42,468 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-motion-CPxq9Xvn.js";import{r as f}from"./vendor-i18n-CO3kK2bH.js";import{a1 as _,a3 as J,ai as X,ao as W,j as $,aa as Z,dJ as Y,S as R,ap as L,a7 as D,C as A,l as G,J as ee,K as z,an as se,az as ae,u as q,ar as O,X as te,V as F,aD as re}from"./index-CFAvyuXu.js";import{P as T}from"./publication-pipeline-DFwPsRBR.js";import{M as V}from"./mobile-pipeline-bar-wnI4Ws72.js";import{H as ie}from"./isbn-checkout-modal-_kHz7p1I.js";import{P as le,a as ne}from"./pdf-preview-DAjEMCVx.js";import{A as M}from"./arrow-left-DY50GvQQ.js";import{C as oe}from"./circle-alert-CixghSwT.js";import{S as E}from"./stamp-BZO_gJDT.js";import{B as P}from"./book-marked-3-KNVwiq.js";import{F as B}from"./file-text-DjkUcFVd.js";import{D as C}from"./download-B7FtiUYJ.js";import{C as g}from"./circle-x-DhBMAj3Y.js";import{G as de}from"./globe-D0MKCb1Y.js";import"./vendor-react-CQmBMThG.js";import"./alert-dialog-C9feqA9b.js";import"./select-B26x0xAv.js";import"./index-BdQq_4o_.js";import"./barcode-DlYH0ciP.js";import"./megaphone-CJoAWoYP.js";import"./pix-qr-image-D45mJvPS.js";import"./smartphone-B4uVuS8T.js";import"./maximize-2-BDHmjU2g.js";function ce(s,r){if(r||s==="completed"||s==="delivered")return{kind:"done",label:"ISBN registrado",title:"Seu ISBN está pronto!",subtitle:"Registrado oficialmente em seu nome. Baixe seu certificado e o guia de publicação abaixo.",progress:1};switch(s){case"pending_submission":case"paid":return{kind:"paid",label:"Pagamento confirmado",title:"Pedido recebido com sucesso",subtitle:"A Equipe Sábhia já está organizando o envio do seu livro pro registro oficial.",progress:.15};case"submitted":return{kind:"queued",label:"Na fila do especialista",title:"Entrou na fila da Equipe Sábhia",subtitle:"Seu livro já chegou pro nosso especialista literário. Em breve ele inicia o registro.",progress:.35};case"in_progress":return{kind:"working",label:"Registro em andamento",title:"Equipe Sábhia cuidando do seu ISBN",subtitle:"Nosso especialista está fazendo o registro oficial. Pode levar alguns dias úteis.",progress:.65};case"awaiting_author_review":case"review_ready":return{kind:"review",label:"Finalizando seu registro",title:"Quase lá — finalizando seu ISBN",subtitle:"A Equipe Sábhia está concluindo seu registro. Seus arquivos aparecem aqui pra download automaticamente.",progress:.9};case"awaiting_revision_info":return{kind:"review",label:"Aguardando informação",title:"Precisamos de uma informação sua",subtitle:"A Equipe Sábhia precisa confirmar um detalhe pra continuar. Verifique seus emails.",progress:.5};case"failed_to_submit":return{kind:"issue",label:"Reprocessando envio",title:"Reorganizando seu pedido",subtitle:"Houve um pequeno ajuste técnico no envio. A Equipe Sábhia vai retomar em instantes.",progress:.15};case"cancelled":case"refunded":return{kind:"issue",label:"Pedido cancelado",title:"Pedido cancelado",subtitle:"Esse pedido foi cancelado. Se foi engano, fale com nosso suporte.",progress:0};default:return{kind:"paid",label:s,title:"Pedido em andamento",subtitle:"A Equipe Sábhia está cuidando do seu ISBN.",progress:.2}}}const K=[{key:"paid",label:"Pagamento confirmado",matches:s=>!0},{key:"queued",label:"Na fila do especialista",matches:s=>s!=="paid"},{key:"working",label:"Registro em andamento",matches:s=>s==="working"||s==="review"||s==="done"},{key:"review",label:"Conferência final",matches:s=>s==="review"||s==="done"},{key:"done",label:"ISBN entregue",matches:s=>s==="done"}];function k(s){if(!s)return"—";try{return new Date(s).toLocaleDateString("pt-BR",{day:"2-digit",month:"short",year:"numeric"})}catch{return"—"}}function me(s){return!s||s<=0?"":s<1024?`${s} B`:s<1024*1024?`${(s/1024).toFixed(1)} KB`:`${(s/(1024*1024)).toFixed(1)} MB`}function xe({order:s,book:r}){const[,I]=_(),{toast:j}=J(),N=X(),[h,u]=f.useState(!1),[b,x]=f.useState(null),m=ce(s.status,!!s.isbnNumber),c=m.kind==="done",l=m.kind==="issue",w=(s.deliverables?.length??0)>0,v=c||w,S=f.useMemo(()=>c&&s.completedAt?k(s.completedAt):k(s.slaDueAt),[c,s.completedAt,s.slaDueAt]),i=()=>{s.isbnNumber&&(navigator.clipboard.writeText(s.isbnNumber),j({title:"ISBN copiado",description:"Cole no seu KDP, Apple Books, Google Play..."}))},y=async()=>
1{if(!h){u(!0);try{const t=await(await se("POST",`/api/human-services/${s.id}/resync`)).json();await Promise.all([N.invalidateQueries({queryKey:["/api/human-services"]}),N.invalidateQueries({queryKey:[`/api/human-services/${s.id}`]})]),j({title:t.updated?"Status atualizado":"Tudo certo",description:t.updated?"Acabamos de buscar o status mais recente do seu pedido.":"Seu pedido já está em sincronia com a Equipe Sábhia."})}catch(d){j({title:"Não foi possível atualizar agora",description:d?.message||"Tente novamente em alguns instantes.",variant:"destructive"})}finally{u(!1)}}},U=!c&&s.status!=="cancelled"&&!!s.bookId;return e.jsxs("div",{className:"min-h-screen",children:[e.jsx("div",{className:"sticky top-0 z-40 border-b border-white/10 bg-background/80 backdrop-blur-xl",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-4 py-3 flex items-center justify-between gap-3",children:[e.jsxs("button",{onClick:()=>I(s.bookId?`/book/${s.bookId}`:"/dashboard"),className:"flex items-center gap-2 text-muted-foreground hover:text-white transition-colors text-sm","data-testid":"button-back-book",children:[e.jsx(M,{className:"w-4 h-4"}),e.jsx("span",{className:"hidden sm:inline",children:"Voltar ao livro"}),e.jsx("span",{className:"sm:hidden",children:"Voltar"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[U&&e.jsxs("button",{onClick:y,disabled:h,className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-[11px] font-semibold bg-white/[0.06] hover:bg-white/[0.10] border border-white/15 hover:border-white/25 text-white/85 hover:text-white transition-colors disabled:opacity-60 disabled:cursor-not-allowed","data-testid":"button-resync-status",title:"Buscar o status mais recente direto com a Equipe Sábhia",children:[e.jsx(W,{className:`w-3.5 h-3.5 ${h?"animate-spin":""}`}),e.jsx("span",{className:"hidden sm:inline",children:h?"Atualizando...":"Atualizar status"}),e.jsx("span",{className:"sm:hidden",children:h?"...":"Atualizar"})]}),e.jsx("span",{className:`px-3 py-1 rounded-full text-[11px] font-bold uppercase tracking-wider border ${c?"bg-emerald-500/15 border-emerald-400/30 text-emerald-300":l?"bg-rose-500/15 border-rose-400/30 text-rose-300":"bg-amber-500/15 border-amber-400/30 text-amber-300"}`,children:c?"✅ ISBN OFICIAL":l?"⚠ ATENÇÃO":"📕 ISBN EM ANDAMENTO"})]})]})}),e.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 py-8 sm:py-12 space-y-8 pb-32 md:pb-20",children:[e.jsxs("section",{className:`rounded-3xl p-6 sm:p-10 border-2 shadow-2xl space-y-6 ${c?"border-emerald-400/50 bg-gradient-to-br from-emerald-500/15 via-teal-500/10 to-emerald-500/5 shadow-emerald-500/20":l?"border-rose-500/40 bg-gradient-to-br from-rose-500/15 via-red-500/10 to-rose-500/5 shadow-rose-500/15":"border-amber-400/40 bg-gradient-to-br from-amber-500/15 via-orange-500/10 to-amber-500/5 shadow-amber-500/20"}`,"data-testid":"section-isbn-status-hero",children:[e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:`w-14 h-14 rounded-2xl ring-1 flex items-center justify-center shrink-0 ${c?"bg-emerald-500/25 ring-emerald-400/40":l?"bg-rose-500/25 ring-rose-400/40":"bg-amber-500/25 ring-amber-400/40"}`,children:c?e.jsx($,{className:"w-7 h-7 text-emerald-300"}):l?e.jsx(oe,{className:"w-7 h-7 text-rose-300"}):e.jsx(E,{className:"w-7 h-7 text-amber-300 animate-pulse"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:`text-[11px] font-bold uppercase tracking-widest mb-1 ${c?"text-emerald-300":l?"text-rose-300":"text-amber-300"}`,children:m.label}),e.jsx("h1",{className:"text-2xl sm:text-3xl font-black text-white leading-tight mb-2","data-testid":"text-status-title",children:m.title}),e.jsx("p",{className:"text-sm sm:text-base text-white/75 leading-relaxed",children:m.subtitle}),s.lastRevisionReason&&(m.kind==="review"||l)&&e.jsxs("div",{className:"mt-3 rounded-xl bg-white/[0.04] border border-white/10 p-3 text-sm text-white/80",children:[e.jsx("p",{className:"text-[10px] font-bold uppercase tracking-wider text-white/50 mb-1",children:"Mensagem da Equipe Sábhia"}),s.lastRevisionReason]})]})]}),c&&s.isbnNumber&&e.jsxs("div",{className:"rounded-2xl bg-gradient-to-br from-emerald-500/15 to-teal-500/10 border border-emerald-400/30 p-5 sm:p-6 text-center space-y-3",children:[e.jsx("p",{className:"text-[10px] font-bold text-emerald-300 uppercase tracking-widest",children:"Seu ISBN oficial"}),e.jsx("p",{className:"text-2xl sm:text-4xl font-black text-white tabular-nums tracking-wider break-all","data-testid":"text-isbn-number",children:s.isbnNumber}),e.jsxs("button",{onClick:i,className:"inline-flex items-center gap-2 px-4 py-2 rounded-xl bg-white/10 hover:bg-white/15 border border-white/15 text-sm font-semibold text-white transition-colors","data-testid":"button-copy-isbn",children:[e.jsx(Z,{className:"w-3.5 h-3.5"})," Copiar número"]}),e.jsx("p",{className:"text-[11px] text-emerald-200/80 pt-1",children:"Use esse número no KDP, Apple Books, Google Play, Kobo, livrarias físicas e qualquer plataforma."})]}),!c&&!l&&e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"h-2 rounded-full bg-white/5 overflow-hidden",children:e.jsx("div",{className:"h-full bg-gradient-to-r from-amber-400 to-orange-400 transition-all duration-700 shadow-lg shadow-amber-500/30",style:{width:`${Math.round(m.progress*100)}%`},"data-testid":"bar-isbn-progress"})}),e.jsxs("div",{className:"flex items-center justify-between text-xs",children:[e.jsxs("span",{className:"text-white/55 flex items-center gap-1.5",children:[e.jsx(Y,{className:"w-3 h-3 text-amber-300"}),"Previsão: ",e.jsx("span",{className:"text-white font-semibold",children:S})]}),e.jsxs("span",{className:"text-white/55 tabular-nums",children:[Math.round(m.progress*100),"%"]})]})]})]}),!v&&e.jsxs("section",{className:"rounded-3xl border border-white/10 bg-white/[0.02] p-6 sm:p-8 space-y-5","data-testid":"section-isbn-timeline",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-9 h-9 rounded-2xl bg-amber-500/15 ring-1 ring-amber-400/30 flex items-center justify-center",children:e.jsx(R,{className:"w-4 h-4 text-amber-300"})}),e.jsx("h2",{className:"text-lg font-black text-white",children:"Acompanhamento do registro"})]}),e.jsx("div",{className:"space-y-1",children:K.map((d,t)=>{const n=d.matches(m.kind),p=!n&&(t===0||K[t-1].matches(m.kind));return e.jsxs("div",{className:`flex items-center gap-4 py-3 px-3 rounded-xl transition-colors ${p?"bg-amber-500/5 ring-1 ring-amber-400/20":""}`,"data-testid":`step-${d.key}`,children:[e.jsx("div",{className:`w-8 h-8 rounded-full flex items-center justify-center shrink-0 transition-all ${n?"bg-emerald-500/25 ring-1 ring-emerald-400/40":p?"bg-amber-500/25 ring-1 ring-amber-400/40":"bg-white/5 ring-1 ring-white/10"}`,children:n?e.jsx(L,{className:"w-4 h-4 text-emerald-300"}):p?e.jsx(D,{className:"w-3.5 h-3.5 text-amber-300 animate-spin"}):e.jsx("span",{className:"text-[10px] text-white/40 tabular-nums",children:t+1})}),e.jsx("div",{className:"flex-1 min-w-0",children:e.jsx("p",{className:`text-sm font-semibold ${n||p?"text-white":"text-white/45"}`,children:d.label})}),n&&e.jsx(A,{className:"w-4 h-4 text-emerald-400/60 shrink-0"})]},d.key)})})]}),v&&(()=>{const d=s.deliverables||[],t=d.find(a=>(a.fileName||"").startsWith("certificado-isbn-")),n=d.find(a=>(a.fileName||"").startsWith("guia-publicacao-")),p=d.filter(a=>a!==t&&a!==n),Q=[{key:"isbn",icon:E,title:"Número ISBN oficial registrado em seu nome",desc:s.isbnNumber?`Registrado: ${s.isbnNumber}`:"Em processamento pela Equipe Sábhia",ready:!!s.isbnNumber,action:null,preview:null},{key:"cert",icon:$,title:"Certificado Digital Sábhia de registro",desc:"PDF profissional com a capa do seu livro — pronto pra apresentar e imprimir.",ready:!!t,action:t?{href:t.downloadUrl,label:"Baixar certificado"}:null,preview:t?{url:t.downloadUrl,fileName:t.fileName,ratio:1.414,title:"Certificado Digital Sábhia",subtitle:s.isbnNumber?`ISBN ${s.isbnNumber}`:"Registro oficial"}:null},{key:"guide",icon:P,title:"Guia Completo de Publicação",desc:"Amazon KDP, Apple Books, Google Play, Kobo e mais — passo a passo.",ready:!!n,action:n?{href:n.downloadUrl,label:"Baixar guia"}:null,preview:n?{url:n.downloadUrl,fileName:n.fileName,ratio:.707,title:"Guia Completo de Publicação",subtitle:"Passo a passo para todas as lojas"}:null}];return e.jsxs("section",{className:"rounded-3xl border border-amber-400/25 bg-gradient-to-br from-amber-950/20 via-zinc-950/40 to-zinc-950/20 p-6 sm:p-8 space-y-5","data-testid":"section-isbn-included",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-2xl bg-amber-500/15 ring-1 ring-amber-400/30 flex items-center justify-center",children:e.jsx(B,{className:"w-5 h-5 text-amber-300"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-lg font-black text-white",children:"O que você recebe (tudo incluído)"}),e.jsx("p",{className:"text-xs text-white/55",children:"Entregue pela Equipe Sábhia"})]})]}),e.jsx("div",{className:"space-y-3",children:Q.map(a=>{const H=a.icon,o=a.preview;return e.jsxs("div",{className:`flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-4 roun
1ded-2xl border p-4 transition-colors ${a.ready?"border-emerald-400/25 bg-emerald-950/15":"border-white/10 bg-white/[0.03]"}`,"data-testid":`included-${a.key}`,children:[o?e.jsx(le,{url:o.url,label:`Abrir ${o.title}`,initialRatio:o.ratio,onOpen:()=>x({url:o.url,title:o.title,subtitle:o.subtitle,fileName:o.fileName}),className:`mx-auto sm:mx-0 w-full ${o.ratio>1?"max-w-[280px] sm:w-56":"max-w-[160px] sm:w-36"}`,"data-testid":`thumbnail-${a.key}`}):e.jsx("div",{className:`w-9 h-9 rounded-xl flex items-center justify-center shrink-0 ring-1 ${a.ready?"bg-emerald-500/15 ring-emerald-400/30":"bg-white/5 ring-white/10"}`,children:a.ready?e.jsx(A,{className:"w-5 h-5 text-emerald-300"}):e.jsx(D,{className:"w-4 h-4 text-amber-300 animate-spin"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("p",{className:"text-sm font-bold text-white flex items-center gap-2",children:[e.jsx(H,{className:"w-4 h-4 text-white/40 shrink-0"})," ",a.title,o&&e.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full bg-emerald-500/15 px-2 py-0.5 text-[10px] font-bold text-emerald-300 ring-1 ring-emerald-400/30",children:[e.jsx(A,{className:"w-3 h-3"})," Pronto"]})]}),e.jsx("p",{className:"text-[12px] text-white/55 mt-0.5 break-words",children:a.desc}),o&&e.jsxs("div",{className:"mt-3 flex flex-wrap gap-2",children:[e.jsxs("button",{type:"button",onClick:()=>x({url:o.url,title:o.title,subtitle:o.subtitle,fileName:o.fileName}),className:"inline-flex items-center gap-1.5 rounded-xl bg-emerald-500/15 hover:bg-emerald-500/25 ring-1 ring-emerald-400/30 px-3.5 py-2 text-xs font-bold text-emerald-200 transition-colors","data-testid":`open-${a.key}`,children:[e.jsx(B,{className:"w-3.5 h-3.5"})," Visualizar"]}),a.action&&e.jsxs("a",{href:a.action.href,download:o.fileName,className:"inline-flex items-center gap-1.5 rounded-xl bg-white/[0.04] hover:bg-white/[0.08] ring-1 ring-white/10 px-3.5 py-2 text-xs font-bold text-white/80 transition-colors","data-testid":`download-${a.key}`,children:[e.jsx(C,{className:"w-3.5 h-3.5"})," Baixar"]})]})]}),!o&&(a.action?e.jsxs("a",{href:a.action.href,target:"_blank",rel:"noopener noreferrer",className:"shrink-0 inline-flex items-center gap-1.5 rounded-xl bg-emerald-500/15 hover:bg-emerald-500/25 ring-1 ring-emerald-400/30 px-3.5 py-2 text-xs font-bold text-emerald-200 transition-colors","data-testid":`download-${a.key}`,children:[e.jsx(C,{className:"w-3.5 h-3.5"})," ",a.action.label]}):a.ready?null:e.jsx("span",{className:"shrink-0 text-[11px] font-semibold text-amber-300/80",children:"Sendo gerado…"}))]},a.key)})}),p.length>0&&e.jsxs("div",{className:"pt-2 space-y-2.5",children:[e.jsx("p",{className:"text-[11px] font-bold uppercase tracking-wider text-white/40",children:"Outros arquivos"}),p.map(a=>e.jsxs("a",{href:a.downloadUrl,target:"_blank",rel:"noopener noreferrer",className:"group flex items-center gap-4 roun
1ded-2xl border border-white/10 bg-white/[0.03] hover:bg-white/[0.06] hover:border-emerald-400/30 p-4 transition-all","data-testid":`link-deliverable-${a.id}`,children:[e.jsx("div",{className:"w-10 h-10 rounded-xl bg-emerald-500/15 ring-1 ring-emerald-400/30 flex items-center justify-center shrink-0 group-hover:bg-emerald-500/25 transition-colors",children:e.jsx(B,{className:"w-5 h-5 text-emerald-300"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-sm font-semibold text-white truncate",children:a.fileName}),e.jsxs("p",{className:"text-[11px] text-white/50 mt-0.5",children:[a.mimeType?.includes("pdf")?"PDF":a.mimeType?.split("/")[1]?.toUpperCase()||"Arquivo",a.fileSize?e.jsxs(e.Fragment,{children:[" · ",me(a.fileSize)]}):null,a.receivedAt?e.jsxs(e.Fragment,{children:[" · ",k(a.receivedAt)]}):null,a.version>1?e.jsxs(e.Fragment,{children:[" · v",a.version]}):null]})]}),e.jsxs("div",{className:"flex items-center gap-1.5 text-xs text-emerald-300 font-semibold group-hover:translate-x-0.5 transition-transform",children:[e.jsx(C,{className:"w-3.5 h-3.5"}),e.jsx("span",{className:"hidden sm:inline",children:"Baixar"})]})]},a.id))]})]})})(),e.jsx(ne,{open:!!b,onOpenChange:d=>{d||x(null)},url:b?.url??null,title:b?.title??"",subtitle:b?.subtitle,fileName:b?.fileName}),(()=>{const d=(s.deliverableFields||[]).filter(t=>t.valor&&t.valor.trim()||t.valores&&t.valores.length>0);return d.length===0?null:e.jsxs("section",{className:"rounded-3xl border border-emerald-400/30 bg-gradient-to-br from-emerald-950/30 to-teal-950/10 p-6 sm:p-8 space-y-5","data-testid":"section-isbn-delivered-info",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-9 h-9 rounded-2xl bg-emerald-500/15 ring-1 ring-emerald-400/30 flex items-center justify-center",children:e.jsx(P,{className:"w-4 h-4 text-emerald-300"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-lg font-black text-white",children:"Informações entregues"}),e.jsx("p",{className:"text-xs text-white/55",children:"Registrado pela Equipe Sábhia"})]})]}),e.jsx("div",{className:"space-y-3",children:d.map((t,n)=>{const p=t.valor?.trim()||(t.valores||[]).join(", ");return e.jsxs("div",{className:"rounded-2xl border border-white/10 bg-white/[0.03] p-4","data-testid":`field-delivered-${t.fieldId||n}`,children:[e.jsx("p",{className:"text-[10px] font-bold uppercase tracking-wider text-emerald-300/80 mb-1.5",children:t.label||"Informação"}),e.jsx("p",{className:"text-base sm:text-lg font-bold text-white tabular-nums tracking-wide break-all","data-testid":`text-field-value-${t.fieldId||n}`,children:p})]},t.fieldId||`field-${n}`)})})]})})(),e.jsxs("section",{className:"rounded-3xl border border-white/10 bg-white/[0.02] p-6 sm:p-8 space-y-4","data-testid":"section-isbn-meta",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-9 h-9 rounded-2xl bg-white/5 ring-1 ring-white/10 flex items-center justify-center",children:e.jsx(P,{className:"w-4 h-4 text-white/60"})}),e.jsx("h2",{className:"text-lg font-black text-white",children:"Detalhes do pedido"})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[e.jsxs("div",{className:"rounded-xl bg-white/[0.03] border border-white/10 p-3",children:[e.jsx("p",{className:"text-[10px] text-white/45 uppercase tracking-wider font-semibold",children:"Livro"}),e.jsx("p",{className:"text-sm font-bold text-white truncate","data-testid":"text-book-title",children:r?.title||"—"})]}),e.jsxs("div",{className:"rounded-xl bg-white/[0.03] border border-white/10 p-3",children:[e.jsx("p",{className:"text-[10px] text-white/45 uppercase tracking-wider font-semibold",children:"Solicitado em"}),e.jsx("p",{className:"text-sm font-bold text-white",children:k(s.paymentConfirmedAt||s.createdAt)})]}),e.jsxs("div",{className:"rounded-xl bg-white/[0.03] border border-white/10 p-3",children:[e.jsx("p",{className:"text-[10px] text-white/45 uppercase tracking-wider font-semibold",children:"Previsão"}),e.jsxs("p",{className:"text-sm font-bold text-white flex items-center gap-1.5",children:[e.jsx(G,{className:"w-3 h-3 text-amber-300"}
1)," ",S]})]}),e.jsxs("div",{className:"rounded-xl bg-white/[0.03] border border-white/10 p-3",children:[e.jsx("p",{className:"text-[10px] text-white/45 uppercase tracking-wider font-semibold",children:"Pedido"}),e.jsxs("p",{className:"text-sm font-bold text-white tabular-nums truncate",children:["#",s.id.slice(0,8).toUpperCase()]})]})]})]}),e.jsxs("section",{className:"rounded-3xl border border-amber-400/20 bg-gradient-to-br from-amber-950/20 to-orange-950/5 p-5 sm:p-6 flex items-center gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-2xl bg-amber-500/15 ring-1 ring-amber-400/30 flex items-center justify-center shrink-0",children:e.jsx(ee,{className:"w-5 h-5 text-amber-300"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-sm font-bold text-white",children:"Alguma dúvida sobre seu ISBN?"}),e.jsx("p",{className:"text-[12px] text-white/65 leading-relaxed",children:"Fale com nosso suporte aqui mesmo no canto da tela. A Equipe Sábhia responde rápido."})]}),e.jsx(z,{className:"w-5 h-5 text-amber-300/40 shrink-0 hidden sm:block"})]}),l&&s.status==="cancelled"&&e.jsxs("section",{className:"rounded-2xl border border-rose-500/25 bg-rose-950/20 p-5 flex items-center gap-3",children:[e.jsx(g,{className:"w-5 h-5 text-rose-400 shrink-0"}),e.jsxs("p",{className:"text-sm text-rose-100",children:["Esse pedido foi cancelado em ",e.jsx("strong",{children:k(s.cancelledAt)}),". Se foi engano, fale com o suporte."]})]})]})]})}function Oe(){const[,s]=ae("/isbn/:bookId"),r=s?.bookId||"",[,I]=_(),[j,N]=f.useState(!1),h=q({queryKey:["/api/human-services/catalog"],enabled:!!r}),{data:u}=q({queryKey:[`/api/books/${r}`],enabled:!!r}),{data:b}=q({queryKey:["/api/human-services"],enabled:!!r,staleTime:15e3,refetchInterval:3e4}),x=(b||[]).find(i=>i?.bookId===r&&i?.serviceSlug==="isbn_register"&&i?.status!=="pending_payment"&&i?.status!=="cancelled"&&i?.status!=="refunded")||null,{data:m}=q({queryKey:[`/api/human-services/${x?.id}`],enabled:!!x?.id,staleTime:15e3,refetchInterval:3e4}),c=m??x,l=h.data?.services.find(i=>i.slug==="isbn_register")||null,w=h.data?.gate.canPurchase??!1,v=f.useRef(null);f.useEffect(()=>{const i=x?.id??null;i&&v.current!==i&&(v.current=i,typeof window<"u"&&window.scrollTo({top:0,behavior:"smooth"}))},[x?.id]);const S=()=>{r&&N(!0)};return x?e.jsxs(O,{children:[e.jsx("div",{className:`min-h-screen ${r?"lg:pr-[316px]":""}`,children:e.jsx(xe,{order:c,book:u})}),r&&e.jsx("div",{className:"hidden md:block fixed right-4 top-20 w-[280px] max-h-[calc(100vh-6rem)] overflow-y-auto z-30",children:e.jsx(T,{bookId:r,currentStep:"isbn"})}),r&&e.jsx(V,{bookId:r,currentStep:"isbn"})]}):e.jsxs(O,{children:[e.jsxs("div",{className:`min-h-screen ${r?"lg:pr-[316px]":""}`,children:[e.jsx("div",{className:"sticky top-0 z-40 border-b border-white/10 bg-background/80 backdrop-blur-xl",children:e.jsxs("div",{className:"max-w-4xl mx-auto px-4 py-3 flex items-center justify-between gap-3",children:[e.jsxs("button",{onClick:()=>I(r?`/book/${r}`:"/dashboard"),className:"flex items-center gap-2 text-muted-foreground hover:text-white transition-colors text-sm","data-testid":"button-back-book",children:[e.jsx(M,{className:"w-4 h-4"}),e.jsx("span",{className:"hidden sm:inline",children:"Voltar ao livro"}),e.jsx("span",{className:"sm:hidden",children:"Voltar"})]}),e.jsx("span",{className:"px-3 py-1 rounded-full bg-amber-500/15 border border-amber-400/30 text-[11px] font-bold text-amber-300 uppercase tracking-wider",children:"📕 ISBN Oficial"})]})}),e.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 py-8 sm:py-12 space-y-12 pb-32 md:pb-20",children:[e.jsxs("section",{className:"text-center space-y-5",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-gradient-to-r from-amber-500/20 to-orange-500/20 border border-amber-400/40",children:[e.jsx(E,{className:"w-3.5 h-3.5 text-amber-300"}),e.jsx("span",{className:"text-xs font-bold text-amber-200 uppercase tracking-wider",children:"Registro Oficial — Equipe Sábhia"})]}),e.jsxs("h1",{className:"text-3xl sm:text-5xl font-black text-white leading-tight tracking-tight",children:["Sem ISBN, seu livro ",e.jsx("span",{className:"bg-gradient-to-r from-amber-300 via-orange-300 to-amber-400 bg-clip-text text-transparent",children:"oficialmente não existe."})]}),e.jsxs("p",{className:"text-base sm:text-lg text-white/75 max-w-2xl mx-auto leading-relaxed",children:["O ISBN é ",e.jsx("strong",{className:"text-white",children:"o CPF do seu livro"}),". É o que diz pro mundo inteiro — Amazon, Apple Books, Google Play, Kobo, bibliotecas, livrarias físicas — que esse livro é ",e.jsx("strong",{className:"text-white",children:"seu"}),", que ele existe legalmente, e que ele pode ser vendido em ",e.jsx("strong",{className:"text-white",children:"qualquer lugar do planeta"}),"."]}),u?.title&&e.jsxs("p",{className:"text-sm text-white/55 pt-2",children:["Vamos registrar o ISBN de: ",e.jsxs("span",{className:"text-white font-bold",children:['"',u.title,'"']})]})]}),e.jsxs("section",{className:"rounded-3xl border border-rose-500/25 bg-gradient-to-br from-rose-950/40 via-red-950/20 to-transparent p-6 sm:p-8 space-y-5",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-2xl bg-rose-500/15 ring-1 ring-rose-400/30 flex items-center justify-center",children:e.jsx(te,{className:"w-5 h-5 text-rose-300"})}),e.jsx("h2",{className:"text-xl sm:text-2xl font-black text-white",children:"A verdade que ninguém te conta"})]}),e.jsxs("p",{className:"text-sm sm:text-base text-white/80 leading-relaxed",children:["Você passou semanas escrevendo. Investiu na capa, na revisão, no marketing. Mas se você tentar publicar seu livro ",e.jsx("strong",{className:"text-white",children:"sem ISBN"}),":"]}),e.jsxs("ul",{className:"space-y-3 text-sm sm:text-base text-white/85",children:[e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx(g,{className:"w-5 h-5 text-rose-400 shrink-0 mt-0.5"}),e.jsxs("span",{children:[e.jsx("strong",{className:"text-white",children:"Livrarias físicas não vão te aceitar."})," Nenhuma. Saraiva, Cultura, Travessa — nenhuma vende livro sem ISBN."]})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx(g,{className:"w-5 h-5 text-rose-400 shrink-0 mt-0.5"}),e.jsxs("span",{children:[e.jsx("strong",{className:"text-white",children:"A Amazon te dá um código grátis — mas ele NÃO é seu."})," Você não pode levar pra outra plataforma. Se a Amazon te banir aman
1hã, você perde tudo."]})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx(g,{className:"w-5 h-5 text-rose-400 shrink-0 mt-0.5"}),e.jsxs("span",{children:[e.jsx("strong",{className:"text-white",children:"Bibliotecas não catalogam."})," Seu livro nunca vai entrar em escola, universidade, biblioteca pública. Você fica fora de licitações milionárias."]})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx(g,{className:"w-5 h-5 text-rose-400 shrink-0 mt-0.5"}),e.jsxs("span",{children:[e.jsx("strong",{className:"text-white",children:"Distribuidoras não trabalham com você."})," Sem ISBN, você é amador. Com ISBN, você é autor profissional."]})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx(g,{className:"w-5 h-5 text-rose-400 shrink-0 mt-0.5"}),e.jsxs("span",{children:[e.jsx("strong",{className:"text-white",children:"Imprensa não vai te divulgar."})," Jornalistas, blogs, podcasts especializados pedem ISBN antes de qualquer matéria."]})]})]}),e.jsx("div",{className:"rounded-2xl bg-rose-500/10 border border-rose-400/30 p-4 mt
1-4",children:e.jsxs("p",{className:"text-sm sm:text-base text-rose-100 font-semibold leading-relaxed",children:["Resumindo: sem ISBN, seu livro ",e.jsx("strong",{className:"text-white",children:"não é vendável de verdade."})," Você fica preso a uma única plataforma, sem prova de autoria, sem entrar no mercado profissional."]})})]}),e.jsxs("section",{className:"rounded-3xl border border-emerald-500/25 bg-gradient-to-br from-emerald-950/40 via-teal-950/20 to-transparent p-6 sm:p-8 space-y-5",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-2xl bg-emerald-500/15 ring-1 ring-emerald-400/30 flex items-center justify-center",children:e.jsx(A,{className:"w-5 h-5 text-emerald-300"})}),e.jsx("h2",{className:"text-xl sm:text-2xl font-black text-white",children:"A gente cuida de tudo. Você só recebe pronto."})]}),e.jsxs("p",{className:"text-sm sm:text-base text-white/80 leading-relaxed",children:["Um ",e.jsx("strong",{className:"text-white",children:"agente literário especializado da Equipe Sábhia"})," vai pessoalmente registrar seu ISBN oficial direto na Câmara Brasileira do Livro. Sem você precisar entender de nada, sem preencher formulário gigante, sem ligar pra órgão nenhum."]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3 pt-2",children:[e.jsxs("div",{className:"rounded-2xl bg-white/5 border border-white/10 p-4 text-center",children:[e.jsx(R,{className:"w-5 h-5 text-emerald-400 mx-auto mb-2"}),e.jsx("p",{className:"text-xs font-bold text-white mb-1",children:"Você não envia nada"}),e.jsx("p",{className:"text-[11px] text-white/55 leading-snug",children:"A gente usa o livro que já tá aqui na Sábhia"})]}),e.jsxs("div",{className:"rounded-2xl bg-white/5 border border-white/10 p-4 text-center",children:[e.jsx(z,{className:"w-5 h-5 text-emerald-400 mx-auto mb-2"}),e.jsx("p",{className:"text-xs font-bold text-white mb-1",children:"Nós pagamos as taxas"}),e.jsx("p",{className:"text-[11px] text-white/55 leading-snug",children:"Todos os custos com órgãos oficiais por conta da Sábhia"})]}),e.jsxs("div",{className:"rounded-2xl bg-white/5 border border-white/10 p-4 text-center",children:[e.jsx(F,{className:"w-5 h-5 text-emerald-400 mx-auto mb-2"}),e.jsx("p",{className:"text-xs font-bold text-white mb-1",children:"100% seus direitos"}),e.jsx("p",{className:"text-[11px] text-white/55 leading-snug",children:"O ISBN é seu. Vale pra Amazon, Apple, Google, qualquer plataforma"})]})]})]}),e.jsxs("section",{className:"rounded-3xl border border-amber-400/30 bg-gradient-to-br from-amber-950/30 to-orange-950/10 p-6 sm:p-8 space-y-5",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-2xl bg-amber-500/15 ring-1 ring-amber-400/40 flex items-center justify-center",children:e.jsx(B,{className:"w-5 h-5 text-amber-300"})}),e.jsx("h2",{className:"text-xl sm:text-2xl font-black text-white",children:"O que você recebe (tudo incluído)"})]}),e.jsx("ul",{className:"space-y-3",children:(l?.deliverables||["Número ISBN oficial registrado em seu nome","Certificado digital Sábhia de registro (PDF profissional com sua capa)","Guia completo de publicação (Amazon KDP, Apple Books, Google Play, Kobo e mais)"]).map((i,y)=>e.jsxs("li",{className:"flex items-start gap-3 text-sm sm:text-base text-white/90 bg-white/[0.03] border border-white/10 rounded-2xl p-4",children:[e.jsx("div",{className:"w-6 h-6 rounded-full bg-emerald-500/20 ring-1 ring-emerald-400/40 flex items-center justify-center shrink-0 mt-0.5",children:e.jsx(L,{className:"w-3.5 h-3.5 text-emerald-300"})}),e.jsx("span",{children:i})]},y))})]}),e.jsxs("section",{className:"space-y-5",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h2",{className:"text-xl sm:text-2xl font-black text-white mb-2",children:"Com seu ISBN, seu livro entra em qualquer lugar"}),e.jsxs("p",{className:"text-sm text-white/60",children:["Mais de ",e.jsx("strong",{className:"text-white",children:"240 mil livrarias"})," no mundo todo aceitam o padrão ISBN"]})]}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-3",children:[{name:"Amazon KDP",icon:"📦"},{name:"Apple Books",icon:"🍎"},{name:"Google Play Livros",icon:"📚"},{name:"Kobo",icon:"📖"},{name:"Barnes & Noble",icon:"🏛️"},{name:"Livrarias físicas",icon:"🏪"}].map(i=>e.jsxs("div",{className:"rounded-2xl bg-white/[0.03] border border-white/10 p-4 text-center hover:border-amber-400/30 transition-colors",children:[e.jsx("div",{className:"text-2xl mb-1",children:i.icon}),e.jsx("p",{className:"text-xs font-semibold text-white/85",children:i.name})]},i.name))}),e.jsxs("div",{className:"flex items-center justify-center gap-6 pt-3 flex-wrap",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs text-white/60",children:[e.jsx(de,{className:"w-4 h-4 text-amber-400"}),e.jsxs("span",{children:["Reconhecido em ",e.jsx("strong",{className:"text-white",children:"160+ países"})]})]}),e.jsxs("div",{className:"flex items-center gap-2 text-xs text-white/60",children:[e.jsx(re,{className:"w-4 h-4 text-amber-400"}),e.jsxs("span",{children:["Aceito em ",e.jsx("strong",{className:"text-white",children:"bibliotecas públicas e universidades"})]})]}),e.jsxs("div",{className:"flex items-center gap-2 text-xs text-white/60",children:[e.jsx($,{className:"w-4 h-4 text-amber-400"}),e.jsxs("span",{children:[e.jsx("strong",{className:"text-white",children:"Padrão oficial"})," da Câmara Brasileira do Livro"]})]})]})]}),e.jsxs("section",{className:"rounded-3xl bg-gradient-to-br from-slate-900/80 via-slate-950/60 to-amber-950/20 border border-amber-400/20 p-6 sm:p-8 space-y-5",children:[e.jsx("h2",{className:"text-xl sm:text-2xl font-black text-white text-center",children:"Faz a conta com a gente."}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"rounded-2xl border border-rose-500/25 bg-rose-950/20 p-5 space-y-3",children:[e.jsx("div",{className:"text-xs font-bold text-rose-300 uppercase tracking-wider",children:"😫 Por fora, com despachante"}),e.jsxs("ul",{className:"space-y-2 text-sm text-white/80",children:[e.jsxs("li",{className:"flex justify-between",children:[e.jsx("span",{children:"Honorário do despachante"}),e.jsx("span",{className:"text-white/60 line-through",children:"R$ 450,00"})]}),e.jsxs("li",{className:"flex justify-between",children:[e.jsx("span",{children:"Taxas dos órgãos oficiais"}),e.jsx("span",{className:"text-white/60 line-through",children:"R$ 90,00"})]}),e.jsxs("li",{className:"flex justify-between",children:[e.jsx("span",{children:"Burocracia & envios"}),e.jsx("span",{className:"text-white/60 line-through",children:"R$ 60,00"})]}),e.jsxs("li",{className:"flex justify-between text-xs text-white/40",children:[e.jsx("span",{children:"+ 3 a 4 semanas de espera"}),e.jsx("span",{children:"+ idas a cartório"})]})]}),e.jsxs("div",{className:"border-t border-rose-500/20 pt-3 flex items-center justify-between",children:[e.jsx("span",{className:"text-sm font-bold text-white",children:"Total"}),e.jsx("span",{className:"text-2xl font-black text-rose-300 line-through",children:"R$ 600+"})]})]}),e.jsxs("div",{className:"rounded-2xl border-2 border-amber-400/50 bg-gradient-to-br from-amber-500/15 to-orange-500/10 p-5 space-y-3 shadow-xl shadow-amber-500/20 relative",children:[e.jsx("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 px-3 py-1 rounded-full bg-gradient-to-r from-amber-400 to-orange-400 text-[10px] font-black text-slate-900 uppercase tracking-wider whitespace-nowrap",children:"⚡ Aqui na Sábhia"}),e.jsx("div",{className:"text-xs font-bold text-amber-300 uppercase tracking-wider pt-2",children:"🚀 Com a Sábhia, tudo incluído"}),e.jsxs("ul",{className:"space-y-2 text-sm text-white/90",children:[e.jsxs("li",{className:"flex justify-between",children:[e.jsx("span",{children:"Honorário do especialista"}),e.jsx("span",{className:"text-emerald-300 font-bold",children:"✓ Incluso"})]}),e.jsxs("li",{className:"flex justify-between",children:[e.jsx("span",{children:"Taxas dos órgãos oficiais"}),e.jsx("span",{className:"text-emerald-300 font-bold",children:"✓ A gente paga"})]}),e.jsxs("li",{className:"flex justify-between",children:[e.jsx("span",{children:"Burocracia & envios"}),e.jsx("span",{className:"text-emerald-300 font-bold",children:"✓ A gente cuida"})]}),e.jsxs("li",{className:"flex justify-between text-xs text-amber-200/80",children:[e.jsx("span",{children:"+ Acompanhamento aqui na plataforma"}),e.jsxs("span",{children:["+ ",l?.slaBusinessDays||7," dias úteis"]})]})]}),e.jsxs("div",{className:"border-t border-amber-400/30 pt-3 flex items-center justify-between",children:[e.jsx("span",{className:"text-sm font-bold text-white",children:"Você paga apenas"}),e.jsx("span",{className:"text-3xl font-black text-amber-300",children:l?.priceFormatted||"R$ 199,99"})]})]})]}),e.jsxs("p",{className:"text-center text-sm text-white/70 leading-relaxed pt-2",children:["Você economiza ",e.jsx("strong",{className:"text-amber-300 text-base",children:"mais de R$ 400"}),", não precisa lidar com cartório, não preenche formulário, não paga taxa nenhuma por fora.",e.jsx("br",{}),e.jsx("strong",{className:"text-white",children:"A gente faz tudo. Você só assina o livro pronto."})]})]}),e.jsxs("section",{id:"isbn-pix-section",className:"rounded-3xl border-2 border-amber-400/50 bg-gradient-to-br from-amber-500/15 via-orange-500/10 to-amber-500/5 p-6 sm:p-10 shadow-2xl shadow-amber-500/20",children:[!w&&h.isFetched&&e.jsxs("div",{className:"text-center space-y-4 py-6",children:[e.jsx(R,{className:"w-10 h-10 text-amber-400 mx-auto"}),e.jsx("h3",{className:"text-xl font-bold text-white",children:"Em breve disponível pra você"}),e.jsx("p",{className:"text-sm text-white/70 max-w-md mx-auto",children:"Esse serviço está em beta fechado. Em breve liberado pra todos os autores Sábhia."})]}),w&&e.jsxs("div",{className:"space-y-6 text-center",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{className:"text-xs font-bold text-amber-300 uppercase tracking-wider",children:"Oferta direta da Sábhia"}),e.jsxs("h2",{className:"text-2xl sm:text-3xl font-black text-white leading-tight",children:["Quer seu ISBN oficial em ",l?.slaBusinessDays||7," dias úteis?"]}),e.jsxs("p",{className:"text-sm sm:text-base text-white/70 max-w-lg mx-auto",children:["Um único pagamento de ",e.jsx("strong",{className:"text-amber-300",children:l?.priceFormatted||"R$ 199,99"})," e a gente cuida de tudo. Sem mensalidade, sem letra miúda, sem surpresa."]})]}),e.jsx("div",{className:"flex items-center justify-center gap-4",children:e.jsxs("div",{className:"text-center",children:[e.jsx("p",{className:"text-xs text-white/50 line-through",children:"R$ 600+"}),e.jsx("p",{className:"text-4xl sm:text-5xl font-black bg-gradient-to-r from-amber-300 to-orange-300 bg-clip-text text-transparent",children:l?.priceFormatted||"R$ 199,99"}),e.jsx("p",{className:"text-[11px] text-white/55 mt-1",children:"PIX • Cartão • Créditos"})]})}),e.jsx("button",{onClick:S,disabled:!r,className:"w-full sm:w-auto px-8 sm:px-14 py-4 rounded-2xl font-black text-white text-base sm:text-lg bg-gradient-to-r from-amber-500 via-orange-500 to-amber-500 bg-[length:200%_auto] shadow-2xl shadow-amber-500/40 hover:bg-[position:right_center] hover:scale-[1.02] transition-all disabled:opacity-50 disabled:cursor-not-allowed","data-testid":"button-contratar-isbn",children:"🚀 QUERO MEU ISBN AGORA"}),e.jsxs("div",{className:"flex items-center justify-center gap-4 sm:gap-6 text-xs text-white/55 flex-wrap pt-2",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(G,{className:"w-3.5 h-3.5 text-amber-400"}),e.jsxs("span",{children:[l?.slaBusinessDays||7," dias úteis"]})]}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(z,{className:"w-3.5 h-3.5 text-amber-400"}),e.jsx("span",{children:"Garantia Sábhia oficial"})]}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(F,{className:"w-3.5 h-3.5 text-amber-400"}),e.jsx("span",{children:"100% seus direitos"})]})]})]})]}),w&&e.jsxs("section",{className:"space-y-4",children:[e.jsx("h2",{className:"text-lg font-black text-white text-center",children:"Dúvidas que todo autor tem"}),e.jsx("div",{className:"space-y-3",children:[{q:"Por que não usar o código grátis da Amazon?",a:"Porque ele NÃO é seu. É emprestado. Se a Amazon te suspender, você perde tudo e não consegue migrar pra outra plataforma. Com ISBN próprio, o livro é seu pra sempre e funciona em qualquer lugar."},{q:"Quanto tempo leva?",a:`Em até ${l?.slaBusinessDays||7} dias úteis o ISBN está registrado e disponível pra você baixar aqui na plataforma. Sem ir a cartório, sem ligação, sem burocracia.`},{q:"Preciso enviar algum documento?",a:"Não. A gente usa o livro que já está aqui na Sábhia (capa, manuscrito, dados). Você só precisa fazer o pagamento e esperar."},{q:"E se eu quiser sacar o ISBN pra outra plataforma depois?",a:"Pode. O ISBN é SEU. Funciona em Amazon, Apple, Google, Kobo, livraria física, biblioteca, qualquer lugar do mundo. É um padrão 
1internacional."},{q:"Tem alguma taxa escondida?",a:"Zero. A Sábhia paga as taxas dos órgãos oficiais (Câmara do Livro, etc). Você só paga os R$ 199,99 e recebe tudo pronto."}].map((i,y)=>e.jsxs("details",{className:"group rounded-2xl border border-white/10 bg-white/[0.02] hover:border-amber-400/30 transition-colors",children:[e.jsxs("summary",{className:"px-5 py-4 cursor-pointer text-sm font-bold text-white flex items-center justify-between gap-3 list-none",children:[e.jsx("span",{children:i.q}),e.jsx("span",{className:"text-amber-400 group-open:rotate-45 transition-transform text-xl leading-none",children:"+"})]}),e.jsx("p",{className:"px-5 pb-4 text-sm text-white/70 leading-relaxed",children:i.a})]},y))})]})]})]}),r&&e.jsx("div",{className:"hidden md:block fixed right-4 top-20 w-[280px] max-h-[calc(100vh-6rem)] overflow-y-auto z-30",children:e.jsx(T,{bookId:r,currentStep:"isbn"})}),r&&e.jsx(V,{bookId:r,currentStep:"isbn"}),r&&e.jsx(ie,{open:j,onClose:()=>N(!1),bookId:r,serviceSlug:"isbn_register"})]})}export{Oe 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.