PageSourceSearch

https://www.soulab.ai/_next/static/chunks/8875.7d086f9d6fb9d3a0.js

js soulab.ai collected 2026-10-05 14:17:31 UTC 27,594 bytes, 39 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8875],{7810:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(78340).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},23009:(e,a,r)=>{r.d(a,{A:()=>l,O:()=>i});var t=r(95155),s=r(86831);function l(){let e=(0,s.wV)(),a=()=>s.yK.signOut();return{user:function(e){var a;let r;if(!e)return null;let{givenName:t,familyName:s}={givenName:(r=(e.name??"").trim().split(/\s+/).filter(Boolean))[0]??null,familyName:r.length>1?r.slice(1).join(" "):null},l=(a=e.createdAt)?a instanceof Date?a.toISOString():a:null;return{...e,userName:e.name??null,google_sub:e.id??null,given_name:t,family_name:s,picture:e.image??null,email_verified:e.emailVerified??null,created_at:l,google_user_data:{sub:e.id??null,name:e.name??null,given_name:t,family_name:s,email:e.email??null,picture:e.image??null,email_verified:e.emailVerified??null}}}(e.data?.user),isPending:e.isPending,loading:e.isPending,error:e.error??null,signOut:a,logout:a,refetch:e.refetch,fetchUser:e.refetch,redirectToLogin:()=>{window.location.href="/account/signin"},exchangeCodeForSessionToken:async()=>{}}}function i({children:e}){return(0,t.jsx)(t.Fragment,{children:e})}},24211:(e,a,r)=>{r.d(a,{D:()=>n,N:()=>i});var t=r(95155),s=r(12115);let l=(0,s.createContext)(void 0);function i({children:e}){let[a,r]=(0,s.useState)(()=>{{let e=localStorage.getItem("theme");return e||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")}});return(0,s.useEffect)(()=>{let e=document.documentElement;"dark"===a?e.classList.add("dark"):e.classList.remove("dark"),localStorage.setItem("theme",a)},[a]),(0,t.jsx)(l.Provider,{value:{theme:a,toggleTheme:()=>{r(e=>"dark"===e?"light":"dark")},isDark:"dark"===a},children:e})}function n(){let e=(0,s.useContext)(l);if(void 0===e)throw Error("useTheme must be used within a ThemeProvider");return e}},31885:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(78340).A)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},36999:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(78340).A)("moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]])},51900:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(78340).A)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},51914:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(78340).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},52484:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(78340).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},53961:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(78340).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},57030:(e,a,r)=>{r.d(a,{N_:()=>o,Zp:()=>d,g:()=>c,ok:()=>x});var t=r(95155),s=r(98500),l=r.n(s),i=r(73321),n=r(12115);function o({to:e,href:a,children:r,state:s,...i}){return(0,t.jsx)(l(),{href:a??e??"#",...i,children:r})}function d(){let e=(0,i.useRouter)();return(0,n.useCallback)((a,r)=>{"number"==typeof a?window.history.go(a):r?.replace?e.replace(a):e.push(a)},[e])}function c(){return(0,i.useParams)()??{}}function x(){let e=(0,i.useSearchParams)(),a=(0,i.useRouter)(),r=(0,i.usePathname)();return[new URLSearchParams(e?.toString()??""),(e,t)=>{let s=(e instanceof URLSearchParams?e:new URLSearchParams(e)).toString(),l=s?`${r}?${s}`:r??"/";t?.replace?a.replace(l):a.push(l)}]}},64713:(e,a,r)=>{r.d(a,{A:()=>s});var t=r(95155);function s({children:e}){return(0,t.jsx)(t.Fragment,{children:e})}},67635:(e,a,r)=>{r.d(a,{A:()=>t});
1let t=(0,r(78340).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},68459:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(78340).A)("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},78875:(e,a,r)=>{r.r(a),r.d(a,{default:()=>F});var t=r(95155),s=r(12115),l=r(57030),i=r(80723),n=r(127),o=r(51900),d=r(36999),c=r(31885),x=r(51914),m=r(6296);let g=(0,r(78340).A)("wand-sparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);var h=r(86901),p=r(68459),u=r(7810),b=r(6962),y=r(52484),f=r(67635),k=r(53961),v=r(48368),j=r(61730),w=r(24211),N=r(64713);function A(){return(0,t.jsx)(N.A,{area:"pain_map",children:(0,t.jsx)(S,{})})}function S(){let{isDark:e,toggleTheme:a}=(0,w.D)(),[r,N]=(0,s.useState)([]),[A,S]=(0,s.useState)(""),[C,F]=(0,s.use
1State)(""),[P,z]=(0,s.useState)(""),[T,M]=(0,s.useState)(""),[D,I]=(0,s.useState)(""),[$,E]=(0,s.useState)(!1),[L,_]=(0,s.useState)(""),[O,R]=(0,s.useState)(!1),[q,G]=(0,s.useState)(!1),[U,V]=(0,s.useState)(!1),B=()=>{A.trim()&&C.trim()&&P.trim()&&(N([...r,{id:Date.now(),name:A.trim(),area:C.trim(),pain:P.trim()}]),S(""),F(""),z(""))},H=async()=>{if(0!==r.length){E(!0),I(""),_("");try{let e=await fetch("/api/pain-map/analyze",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({participants:r.map(e=>({name:e.name,area:e.area,pain:e.pain}))})}),a=await e.json();e.ok?(I(a.analysis),_(a.provider)):I(`Erro: ${a.error||"Falha ao gerar an\xe1lise"}`),V(!0)}catch(e){console.error("Error generating AI analysis:",e),I("Erro de conex\xe3o ao gerar an\xe1lise"),V(!0)}finally{E(!1)}}},K=async()=>{try{await navigator.clipboard.writeText(D),R(!0),setTimeout(()=>R(!1),2e3)}catch(e){console.error("Failed to copy:",e)}},W=async()=>{try{await navigator.clipboard.writeText(T),R(!0),setTimeout(()=>R(!1),2e3)}catch(e){console.error("Failed to copy:",e)}};return(0,t.jsxs)("div",{className:"min-h-screen bg-gradient-to-br from-amber-50 via-white to-orange-50 dark:from-gray-900 dark:via-gray-800 dark:to-gray-900 select-none",onContextMenu:e=>e.preventDefault(),children:[(0,t.jsx)("header",{className:"border-b border-gray-200/50 dark:border-gray-700/50 backdrop-blur-sm bg-white/70 dark:bg-gray-900/70 sticky top-0 z-50",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-16 flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(l.N_,{to:"/",className:"flex items-center gap-2 text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white transition-colors mr-2",children:(0,t.jsx)(i.A,{className:"w-5 h-5"})}),(0,t.jsx)("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-amber-500 to-orange-600 flex items-center justify-center shadow-lg shadow-amber-500/25",children:(0,t.jsx)(n.A,{className:"w-6 h-6 text-white"})}),(0,t.jsx)("span",{className:"text-xl font-bold bg-gradient-to-r from-amber-600 to-orange-600 bg-clip-text text-transparent",children:"Mapa de Dores"}),(0,t.jsx)("span",{className:"text-xs px-2 py-1 rounded-full bg-amber-100 dark:bg-amber-900/30 text-amber-700 dark:text-amber-300 font-medium hidden sm:inline",children:"HANDS-ON"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("button",{onClick:a,className:"p-2 rounded-lg text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white hover:bg-gray-100 dark:hover:bg-gray-800 transition-all",children:e?(0,t.jsx)(o.A,{className:"w-5 h-5"}):(0,t.jsx)(d.A,{className:"w-5 h-5"})}),(0,t.jsx)(l.N_,{to:"/",className:"flex items-center gap-2 px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 hover:text-amber-600 dark:hover:text-amber-400 transition-colors",children:(0,t.jsx)("img",{src:"https://dtvoeevhaseb5.cloudfront.net/uploads/mocha-import/0696108f-bd4f-4294-b0fd-d96cadb9467f/9310b42d-4355-4b59-b8b5-14a12c7a0e40.png",alt:"SouLab.AI",className:"h-24 w-auto"})})]})]})}),(0,t.jsxs)("main",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[(0,t.jsx)("div",{className:"bg-gradient-to-r from-amber-100 to-orange-100 dark:from-amber-900/20 dark:to-orange-900/20 rounded-2xl border border-amber-200 dark:border-amber-800/30 p-6 mb-8",children:(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-amber-500 to-orange-600 flex items-center justify-center flex-shrink-0 shadow-lg",children:(0,t.jsx)(c.A,{className:"w-6 h-6 text-white"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white mb-2",children:"Din\xe2mica: Mapa de Dores x IA"}),(0,t.jsxs)("p",{className:"text-gray-700 dark:text-gray-300 text-sm leading-relaxed",children:[(0,t.jsx)("strong",{children:"1."})," Cada Aluno / Executivo tem 1 minuto para apresentar: nome, \xe1rea e maior dor operacional/gest\xe3o.",(0,t.jsx)("br",{}),(0,t.jsx)("strong",{children:"2."})," Registre cada resposta.",(0,t.jsx)("br",{}),(0,t.jsx)("strong",{children:"3."})," Ao final, gere o prompt completo e cole no Gemini Enterprise (ou outra LLM) para an\xe1lise em tempo real."]})]})]})}),(0,t.jsxs)("div",{className:"grid lg:grid-cols-2 gap-8",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"bg-white dark:bg-gray-800 rounded-2xl border border-gray-200 dark:border-gray-700 p-6 shadow-lg",children:[(0,t.jsxs)("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white mb-4 flex items-center gap-2",children:[(0,t.jsx)(x.A,{className:"w-5 h-5 text-amber-500"}),"Registrar Participante"]}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:"Nome"}),(0,t.jsx)("input",{type:"text",value:A,onChange:e=>S(e.target.value),placeholder:"Ex: Jo\xe3o Silva",className:"w-full px-4 py-3 rounded-xl bg-gray-50 dark:bg-gray-700 border border-gray-200 dark:border-gray-600 text-gray-900 dark:text-white placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:border-transparent transition-all",onKeyDown:e=>"Enter"===e.key&&document.getElementById("area-input")?.focus()})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:"\xc1rea / Cargo"}),(0,t.jsx)("input",{id:"area-input",type:"text",value:C,onChange:e=>F(e.target.value),placeholder:"Ex: Diretor de Opera\xe7\xf5es",className:"w-full px-4 py-3 rounded-xl bg-gray-50 dark:bg-gray-700 border border-gray-200 dark:border-gray-600 text-gray-900 dark:text-white placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:border-transparent transition-all",onKeyDown:e=>"Enter"===e.key&&document.getElementById("pain-input")?.focus()})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:"Principal Dor (operacional ou de gest\xe3o)"}),(0,t.jsx)("textarea",{id:"pain-input",value:P,onChange:e=>z(e.target.value),placeholder:"Ex: Demora muito para consolidar relat\xf3rios de diferentes sistemas...",rows:3,className:"w-full px-4 py-3 rounded-xl bg-gray-50 dark:bg-gray-700 border border-gray-200 dark:border-gray-600 text-gray-900 dark:text-white placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:border-transparent transition-all resize-none",onKeyDown:e=>{"Enter"===e.key&&e.metaKey&&B()}})]}),(0,t.jsxs)("button",{onClick:B,disabled:!A.trim()||!C.trim()||!P.trim(),className:"w-full flex items-center justify-center gap-2 px-6 py-3 rounded-xl bg-gradient-to-r from-amber-500 to-orange-600 text-white font-medium hover:shadow-lg hover:shadow-amber-500/30 transition-all disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,t.jsx)(x.A,{className:"w-5 h-5"}),"Adicionar Participante"]})]})]}),r.length>0&&(0,t.jsxs)("div",{className:"mt-6 space-y-3",children:[(0,t.jsx)("button",{onClick:H,disabled:$,className:"w-full flex items-center justify-center gap-2 px-6 py-4 rounded-xl bg-gradient-to-r from-emerald-600 to-teal-600 text-white font-semibold hover:shadow-lg hover:shadow-emerald-500/30 transition-all text-lg disabled:opacity-70 disabled:cursor-not-allowed",children:$?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.A,{className:"w-6 h-6 animate-spin"}),"Analisando com IA..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g,{className:"w-6 h-6"}),"Analisar com IA"]})}),(0,t.jsxs)("button",{onClick:()=>
1{if(0===r.length)return;let e=r.map((e,a)=>`${a+1}. **${e.name}** (${e.area}): "${e.pain}"`).join("\n"),a="";a=D&&D.length>100?`
2
3---
4
5**CONTEXTO DA AN\xc1LISE PR\xc9VIA:**
6Uma an\xe1lise inicial j\xe1 foi realizada e identificou os seguintes pontos relevantes. Use isso como base para aprofundar:
7
8${D.slice(0,2e3)}${D.length>2e3?"\n\n[...an\xe1lise continua...]":""}
9
10---
11
12**AGORA, APROFUNDE A AN\xc1LISE:**
13Com base na an\xe1lise pr\xe9via acima, forne\xe7a:`:`
14
15---
16
17**SUA MISS\xc3O:**`,M(`Voc\xea \xe9 um consultor especialista em transforma\xe7\xe3o digital e intelig\xeancia artificial aplicada a neg\xf3cios. 
18
19Abaixo est\xe1 uma lista de executivos/gestores com suas respectivas \xe1reas e principais dores operacionais ou de gest\xe3o:
20
21${e}${a}
22
231. **An\xe1lise Individual**: Para cada dor apresentada, identifique:
24   - A causa raiz prov\xe1vel
25   - Impacto nos neg\xf3cios se n\xe3o resolvida
26   - Uma solu\xe7\xe3o espec\xedfica usando IA (seja detalhado sobre qual tecnologia/ferramenta)
27
282. **Padr\xf5es Identificados**: Encontre padr\xf5es comuns entre as dores apresentadas. Existem problemas que afetam m\xfaltiplas \xe1reas?
29
303. **Quick Wins**: Liste 3 a\xe7\xf5es que poderiam ser implementadas em at\xe9 30 dias usando IA e que teriam impacto imediato.
31
324. **Roadmap Sugerido**: Proponha uma ordem de prioriza\xe7\xe3o para atacar essas dores, considerando:
33   - Facilidade de implementa\xe7\xe3o
34   - ROI potencial
35   - Depend\xeancias entre as solu\xe7\xf5es
36
375. **Ferramentas Recomendadas**: Para cada solu\xe7\xe3o proposta, indique ferramentas espec\xedficas (pode incluir: ChatGPT/GPT-4, Gemini, Claude, ferramentas de automa\xe7\xe3o como Zapier/Make, plataformas de BI com IA, etc.)
38
39${D?"6. **Detalhamento T\xe9cnico**: Considerando a an\xe1lise pr\xe9via, forne\xe7a detalhes t\xe9cnicos de implementa\xe7\xe3o para as 2 solu\xe7\xf5es mais impactantes identificadas.\n\n":""}Seja pr\xe1tico, direto e orientado a resultados. O objetivo \xe9 mostrar como a IA pode gerar valor real e mensur\xe1vel para cada uma dessas dores.`),G(!0)},className:"w-full flex items-center justify-center gap-2 px-6 py-3 rounded-xl bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 text-gray-700 dark:text-gray-300 font-medium hover:border-violet-300 dark:hover:border-violet-600 hover:shadow-lg transition-all",children:[(0,t.jsx)(h.A,{className:"w-5 h-5 text-violet-500"}),"Gerar Prompt para Copiar"]}),(0,t.jsxs)("button",{onClick:()=>{confirm("Tem certeza que deseja limpar todos os participantes?")&&(N([]),M(""))},className:"w-full flex items-center justify-center gap-2 px-4 py-2 rounded-xl text-gray-500 dark:text-gray-400 hover:text-red-500 dark:hover:text-red-400 hover:bg-red-50 dark:hover:bg-red-900/20 transition-all text-sm",children:[(0,t.jsx)(p.A,{className:"w-4 h-4"}),"Limpar Tudo"]})]})]}),(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"bg-white dark:bg-gray-800 rounded-2xl border border-gray-200 dark:border-gray-700 p-6 h-full shadow-lg",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsxs)("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white flex items-center gap-2",children:[(0,t.jsx)(u.A,{className:"w-5 h-5 text-emerald-500"}),"Participantes"]}),(0,t.jsxs)("span",{className:"px-3 py-1 rounded-full bg-gray-100 dark:bg-gray-700 text-gray-600 dark:text-gray-300 text-sm",children:[r.length," registrado",1!==r.length?"s":""]})]}),0===r.length?(0,t.jsxs)("div",{className:"text-center py-12",children:[(0,t.jsx)("div",{className:"w-16 h-16 rounded-2xl bg-gray-100 dark:bg-gray-700 flex items-center justify-center mx-auto mb-4",children:(0,t.jsx)(u.A,{className:"w-8 h-8 text-gray-400"})}),(0,t.jsx)("p",{className:"text-gray-500 dark:text-gray-400",children:"Nenhum participante registrado ainda."}),(0,t.jsx)("p",{className:"text-gray-400 dark:text-gray-500 text-sm mt-1",children:"Comece a roda de apresenta\xe7\xf5es!"})]}):(0,t.jsx)("div",{className:"space-y-3 max-h-[500px] overflow-y-auto pr-2",children:r.map((e,a)=>(0,t.jsx)("div",{className:"bg-gray-50 dark:bg-gray-700/50 rounded-xl border border-gray-100 dark:border-gray-600 p-4 hover:border-amber-300 dark:hover:border-amber-600 transition-all group",children:(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,t.jsx)("span",{className:"w-6 h-6 rounded-full bg-amber-100 dar
39k:bg-amber-900/30 text-amber-600 dark:text-amber-400 text-xs font-bold flex items-center justify-center",children:a+1}),(0,t.jsx)("span",{className:"font-semibold text-gray-900 dark:text-white truncate",children:e.name})]}),(0,t.jsx)("p",{className:"text-gray-500 dark:text-gray-400 text-sm mb-2",children:e.area}),(0,t.jsxs)("p",{className:"text-gray-700 dark:text-gray-300 text-sm italic",children:['"',e.pain,'"']})]}),(0,t.jsx)("button",{onClick:()=>{var a;return a=e.id,void N(r.filter(e=>e.id!==a))},className:"p-2 rounded-lg text-gray-400 hover:text-red-500 hover:bg-red-50 dark:hover:bg-red-900/20 transition-all opacity-0 group-hover:opacity-100",children:(0,t.jsx)(p.A,{className:"w-4 h-4"})})]})},e.id))})]})})]})]}),U&&(0,t.jsx)("div",{className:"fixed inset-0 bg-black/60 backdrop-blur-sm flex items-center justify-center p-4 z-50",children:(0,t.jsxs)("div",{className:"bg-white dark:bg-gray-800 rounded-2xl border border-gray-200 dark:border-gray-700 w-full max-w-4xl max-h-[90vh] shadow-2xl flex flex-col",children:[(0,t.jsxs)("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700 flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-emerald-600 to-teal-600 flex items-center justify-center shadow-lg",children:(0,t.jsx)(g,{className:"w-5 h-5 text-white"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:"An\xe1lise Gerada pela IA"}),L&&(0,t.jsxs)("p",{className:"text-gray-500 dark:text-gray-400 text-sm",children:["Powered by ",L]})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("button",{onClick:()=>{let e=new j.Ay,a=e.internal.pageSize.getWidth(),t=e.internal.pageSize.getHeight(),s=20;e.setFontSize(20),e.setFont("helvetica","bold"),e.setTextColor(88,80,236),e.text("An\xe1lise de Dores com IA",a/2,s,{align:"center"}),s+=15,e.setFontSize(12),e.setFont("helvetica","normal"),e.setTextColor(100,100,100),e.text(`SouLab.AI - An\xe1lise gerada por ${L}`,a/2,s,{align:"center"}),s+=10;let l=new Date().toLocaleDateString("pt-BR",{day:"2-digit",month:"long",year:"numeric"});e.setFontSize(10),e.text(`Gerado em: ${l}`,a/2,s,{align:"center"}),s+=20,e.setFontSize(14),e.setFont("helvetica","bold"),e.setTextColor(40,40,40),e.text("Participantes",20,s),s+=8,e.setFontSize(9),e.setFont("helvetica","normal"),e.setTextColor(60,60,60),r.forEach((a,r)=>{s>t-30&&(e.addPage(),s=20),e.text(`${r+1}. ${a.name} (${a.area}): "${a.pain}"`,20,s),s+=6}),(s+=10)>t-60&&(e.addPage(),s=20),e.setFontSize(14),e.setFont("helvetica","bold"),e.setTextColor(40,40,40),e.text("An\xe1lise da IA",20,s),s+=10,e.setFontSize(9),e.setFont("helvetica","normal"),e.setTextColor(60,60,60),e.splitTextToSize(D,a-40).forEach(a=>{s>t-20&&(e.addPage(),s=20),e.text(a,20,s),s+=5});let i=e.getNumberOfPages();for(let r=1;r<=i;r++)e.setPage(r),e.setFontSize(8),e.setTextColor(150,150,150),e.text(`SouLab.AI - P\xe1gina ${r} de ${i}`,a/2,t-10,{align:"center"});e.save(`analise-dores-ia-${Date.now()}.pdf`)},className:"flex items-center gap-2 px-4 py-2 rounded-xl bg-emerald-100 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-400 hover:bg-emerald-200 dark:hover:bg-emerald-900/50 transition-all text-sm font-medium",children:[(0,t.jsx)(b.A,{className:"w-4 h-4"}),"Baixar PDF"]}),(0,t.jsx)("button",{onClick:K,className:`flex items-center gap-2 px-4 py-2 rounded-xl transition-all text-sm font-medium ${O?"bg-emerald-100 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-400":"bg-violet-100 dark:bg-violet-900/30 text-violet-700 dark:text-violet-400 hover:bg-violet-200 dark:hover:bg-violet-900/50"}`,children:O?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.A,{className:"w-4 h-4"}),"Copiado!"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.A,{className:"w-4 h-4"}),"Copiar"]})})]})]}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto p-6",children:(0,t.jsx)("div",{className:"bg-gray-50 dark:bg-gray-900/50 rounded-xl border border-gray-100 dark:border-gray-700 p-6",children:(0,t.jsx)("div",{className:"prose prose-gray dark:prose-invert max-w-none",children:(0,t.jsx)("pre",{className:"text-gray-700 dark:text-gray-300 text-sm whitespace-pre-wrap font-sans leading-relaxed",children:D})})})}),(0,t.jsxs)("div",{className:"p-6 border-t border-gray-200 dark:border-gray-700 flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-gray-500 dark:text-gray-400 text-sm",children:[(0,t.jsx)(u.A,{className:"w-4 h-4"}),r.length," participantes analisados"]}),(0,t.jsx)("button",{onClick:()=>V(!1),className:"px-6 py-2 rounded-xl bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-white font-medium hover:bg-gray-200 dark:hover:bg-gray-600 transition-all",children:"Fechar"})]})]})}),q&&(0,t.jsx)("div",{className:"fixed inset-0 bg-black/60 backdrop-blur-sm flex items-center justify-center p-4 z-50",children:(0,t.jsxs)("div",{className:"bg-white dark:bg-gray-800 rounded-2xl border border-gray-200 dark:border-gray-700 w-full max-w-4xl max-h-[90vh] shadow-2xl flex flex-col",children:[(0,t.jsxs)("div",{className:"p-6 border-b border-gray-200 dark:border-gray-700 flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-violet-600 to-indigo-600 flex items-center justify-center shadow-lg",children:(0,t.jsx)(k.A,{className:"w-5 h-5 text-white"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:"Prompt Completo Gerado!"}),(0,t.jsx)("p",{className:"text-gray-500 dark:text-gray-400 text-sm",children:"Copie e cole no Gemini Enterprise (ou outra LLM)"})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("button",{onClick:()=>{let e=new j.Ay,a=e.internal.pageSize.getWidth(),t=e.internal.pageSize.getHeight(),s=a-40,l=20;e.setFontSize(20),e.setFont("helvetica","bold"),e.setTextColor(88,80,236),e.text("Mapa de Dores x IA",a/2,l,{al
39ign:"center"}),l+=15,e.setFontSize(12),e.setFont("helvetica","normal"),e.setTextColor(100,100,100),e.text("SouLab.AI - Din\xe2mica de Diagn\xf3stico",a/2,l,{align:"center"}),l+=10;let i=new Date().toLocaleDateString("pt-BR",{day:"2-digit",month:"long",year:"numeric"});e.setFontSize(10),e.text(`Gerado em: ${i}`,a/2,l,{align:"center"}),l+=20,e.setFontSize(14),e.setFont("helvetica","bold"),e.setTextColor(40,40,40),e.text("Participantes e Suas Dores",20,l),l+=10,e.setFontSize(10),e.setFont("helvetica","normal"),e.setTextColor(60,60,60),r.forEach((a,r)=>{l>t-40&&(e.addPage(),l=20),e.setFont("helvetica","bold"),e.text(`${r+1}. ${a.name} (${a.area})`,20,l),l+=6,e.setFont("helvetica","normal");let i=e.splitTextToSize(`"${a.pain}"`,s-10);e.text(i,25,l),l+=5*i.length+8}),(l+=10)>t-60&&(e.addPage(),l=20),e.setFontSize(14),e.setFont("helvetica","bold"),e.setTextColor(40,40,40),e.text("Prompt para An\xe1lise com IA",20,l),l+=10,e.setFontSize(9),e.setFont("helvetica","normal"),e.setTextColor(60,60,60),e.splitTextToSize(T,s).forEach(a=>{l>t-20&&(e.addPage(),l=20),e.text(a,20,l),l+=5});let n=e.getNumberOfPages();for(let r=1;r<=n;r++)e.setPage(r),e.setFontSize(8),e.setTextColor(150,150,150),e.text(`SouLab.AI - P\xe1gina ${r} de ${n}`,a/2,t-10,{align:"center"});e.save(`mapa-dores-ia-${Date.now()}.pdf`)},className:"flex items-center gap-2 px-4 py-2 rounded-xl bg-emerald-100 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-400 hover:bg-emerald-200 dark:hover:bg-emerald-900/50 transition-all text-sm font-medium",children:[(0,t.jsx)(b.A,{className:"w-4 h-4"}),"Baixar PDF"]}),(0,t.jsx)("button",{onClick:W,className:`flex items-center gap-2 px-4 py-2 rounded-xl transition-all text-sm font-medium ${O?"bg-emerald-100 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-400":"bg-violet-100 dark:bg-violet-900/30 text-violet-700 dark:text-violet-400 hover:bg-violet-200 dark:hover:bg-violet-900/50"}`,children:O?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.A,{className:"w-4 h-4"}),"Copiado!"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.A,{className:"w-4 h-4"}),"Copiar Prompt"]})})]})]}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto p-6",children:(0,t.jsx)("div",{className:"bg-gray-50 dark:bg-gray-900/50 rounded-xl border border-gray-100 dark:border-gray-700 p-6",children:(0,t.jsx)("pre",{className:"text-gray-700 dark:text-gray-300 text-sm whitespace-pre-wrap font-mono leading-relaxed",children:T})})}),(0,t.jsxs)("div",{className:"p-6 border-t border-gray-200 dark:border-gray-700 flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-gray-500 dark:text-gray-400 text-sm",children:[(0,t.jsx)(v.A,{className:"w-4 h-4"}),r.length," participantes inclu\xeddos"]}),(0,t.jsx)("button",{onClick:()=>G(!1),className:"px-6 py-2 rounded-xl bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-white font-medium hover:bg-gray-200 dark:hover:bg-gray-600 transition-all",children:"Fechar"})]})]})})]})}var C=r(23009);function F(){return(0,t.jsx)(w.N,{children:(0,t.jsx)(C.O,{children:(0,t.jsx)(A,{})})})}},80723:(e,a,r)=>{r.d(a,{A:()=>t});let t=(0,r(78340).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},86831:(e,a,r)=>{r.d(a,{wV:()=>n,yK:()=>t});let t=(0,r(56112).M)(),{signIn:s,signUp:l,signOut:i,useSession:n}=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.