1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[72],{5939:(e,t,a)=>{"use strict";function r(e,t){var a;return"string"==typeof e&&/^[A-Za-z0-9_-]{43}$/.test(e)&&"string"==typeof(a=t)&&/^[a-p]{32}$/.test(a)?{ok:!0,challenge:e,ext:t}:{ok:!1}}function n(e){return e&&/^\/dashboard\/extensao\/parear\?challenge=[A-Za-z0-9_-]{43}&ext=[a-p]{32}$/.test(e)?e:null}function o(e){return"string"==typeof e&&/^[A-Za-z0-9_-]{16,256}$/.test(e)}function s(e,t){switch(e){case 401:return{message:"Sua sess\xe3o expirou. Entre de novo.",kind:"login"};case 403:return"origin_not_allowed"===t?{message:"Abra esta p\xe1gina diretamente pelo site do PSI Connection e tente de novo.",kind:"terminal"}:{message:"Esta conta n\xe3o pode conectar a extens\xe3o (vale s\xf3 para psic\xf3logos, fora do modo de suporte).",kind:"terminal"};case 400:return{message:"Pedido inv\xe1lido. Volte \xe0 extens\xe3o e clique de novo em âEntrar com o navegadorâ.",kind:"terminal"};case 429:return{message:"Muitos c\xf3digos gerados. Aguarde alguns minutos e tente de novo.",kind:"retry"};default:return{message:"N\xe3o foi poss\xedvel autorizar agora. Nada foi conectado. Tente de novo.",kind:"retry"}}}function i(e){if("code"in e){if(!o(e.code))throw Error("c\xf3digo inv\xe1lido");return"#code=".concat(e.code)}return"#error=denied"}function l(e,t){return"google"===t&&null!==n(e)}a.d(t,{EM:()=>l,Fy:()=>n,Gs:()=>s,In:()=>i,Iz:()=>o,pg:()=>r})},6845:(e,t,a)=>{"use strict";a.d(t,{$:()=>i});var r=a(54568),n=a(7620);let o={primary:"bg-[#2E4A35] text-white hover:bg-[#1C2A1F] focus-visible:ring-[#2E4A35]",secondary:"bg-[#111110] text-white hover:bg-[#2A2A29] focus-visible:ring-[#111110]",ghost:"bg-transparent text-[#2E4A35] hover:bg-[#E6E9E7] focus-visible:ring-[#2E4A35]",danger:"bg-[#DC2626] text-white hover:bg-[#B91C1C] focus-visible:ring-[#DC2626]",outline:"bg-white text-[#111110] border border-[#E2E1DD] hover:bg-[#F6F5F2] focus-visible:ring-[#111110]"},s={sm:"h-8 px-3.5 text-sm",md:"h-9 px-4 text-sm",lg:"h-11 px-5 text-sm"},i=(0,n.forwardRef)((e,t)=>{let{variant:a="primary",size:n="md",loading:i=!1,disabled:l,className:c="",children:d,...u}=e;return(0,r.jsx)("button",{ref:t,disabled:l||i,className:["inline-flex items-center justify-center gap-2 rounded-lg font-medium transition-colors duration-100 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed",o[a],s[n],c].join(" "),...u,children:i?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("svg",{className:"animate-spin h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,r.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),(0,r.jsx)("span",{children:"Carregando..."})]}):d})});i.displayName="Button"},8371:(e,t,a)=>{"use strict";a.d(t,{U:()=>n});var r=a(28387);function n(){return(0,r.createBrowserClient)("https://ioitblbooedsckelyfsu.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImlvaXRibGJvb2Vkc2NrZWx5ZnN1Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3ODA0MTE3ODEsImV4cCI6MjA5NTk4Nzc4MX0.uA5Ijz5cgf8lgRjYivkiV93GeKYVKWdpiOCXIh7OoDE")}},27541:(e,t,a)=>{"use strict";var r=a(43041);a.o(r,"useParams")&&a.d(t,{useParams:function(){return r.useParams}}),a.o(r,"usePathname")&&a.d(t,{usePathname:function(){return r.usePathname}}),a.o(r,"useRouter")&&a.d(t,{useRouter:function(){return r.useRouter}}),a.o(r,"useSearchParams")&&a.d(t,{useSearchParams:function(){return r.useSearchParams}})},62954:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>f});var r=a(54568),n=a(7620),o=a(19664),s=a.n(o),i=a(27541),l=a(6845),c=a(97013),d=a(8371),u=a(76907),m=a(5939);function p(){return(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 48 48","aria-hidden":"true",children:[(0,r.jsx)("path",{fill:"#FFC107",d:"M43.6 20.5H42V20H24v8h11.3C33.7 32.6 29.3 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.9 1.2 8 3.1l5.7-5.7C34.6 6 29.6 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.7-.4-3.5z"}),(0,r.jsx)("path",{fill:"#FF3D00",d:"M6.3 14.7l6.6 4.8C14.6 15.9 18.9 13 24 13c3.1 0 5.9 1.2 8 3.1l5.7-5.7C34.6 6 29.6 4 24 4 16.3 4 9.7 8.3 6.3 14.7z"}),(0,r.jsx)("path",{fill:"#4CAF50",d:"M24 44c5.5 0 10.4-1.9 14.3-5.1l-6.6-
15.6C29.6 34.9 26.9 36 24 36c-5.3 0-9.7-3.4-11.3-8.1l-6.6 5.1C9.6 39.6 16.2 44 24 44z"}),(0,r.jsx)("path",{fill:"#1976D2",d:"M43.6 20.5H42V20H24v8h11.3c-.8 2.3-2.3 4.2-4.2 5.6l6.6 5.6C41.9 35.9 44 30.6 44 24c0-1.3-.1-2.7-.4-3.5z"})]})}function f(){return(0,r.jsx)(n.Suspense,{fallback:null,children:(0,r.jsx)(g,{})})}function g(){var e;let t=(0,i.useRouter)(),a=(0,i.useSearchParams)(),o=a.get("plan"),f=a.get("period"),g=a.get("next"),h=null!=(e=(0,u.LA)(g))?e:(0,m.Fy)(g),x=null!==(0,m.Fy)(g),v=(0,m.EM)(g,a.get("provider")),[b,_]=(0,n.useState)(v),y=(0,n.useRef)(!1),j=o?"?plan=".concat(o).concat(f?"&period=".concat(f):""):"",[N,w]=(0,n.useState)(o?"psychologist":"patient"),[E,A]=(0,n.useState)(""),[C,k]=(0,n.useState)(""),[z,S]=(0,n.useState)(!1),[F,D]=(0,n.useState)(null),M="patient"===N,[I,P]=(0,n.useState)(!1);async function R(){P(!0),D(null);let e=(0,d.U)(),t=new URLSearchParams;"psychologist"===N&&t.set("intent","psychologist_signup"),h&&t.set("next",h);let a=t.toString(),r="".concat(window.location.origin,"/auth/callback").concat(a?"?".concat(a):""),{error:n}=await e.auth.signInWithOAuth({provider:"google",options:{redirectTo:r,...x?{queryParams:{prompt:"select_account"}}:{}}});n&&(D("N\xe3o foi poss\xedvel iniciar o login com Google. Tente novamente."),P(!1))}async function B(e){e.preventDefault(),D(null),S(!0);try{let e=await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:E,password:C})}),r=await e.json();if(!e.ok){var a;D(null!=(a=r.error)?a:"N\xe3o foi poss\xedvel entrar. Tente novamente.");return}if(r.redirect_to){t.push(r.redirect_to),t.refresh();return}let n="/app";"psychologist"===r.user_type&&h?n=h:"psychologist"===r.user_type?n=o?"/dashboard/planos?plan=".concat(o).concat(f?"&period=".concat(f):"","&checkout=1"):"/dashboard":"admin"===r.user_type?n="/admin":"clinic_staff"===r.user_type&&(n="/staff"),t.push(n),t.refresh()}catch(e){D("Erro de conex\xe3o. Tente novamente.")}finally{S(!1)}}return(0,n.useEffect)(()=>{if(!v||!b||y.current)return;let e=setTimeout(()=>{y.current=!0,_(!1),R()},1500);return()=>clearTimeout(e)},[v,b]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"mb-7 grid grid-cols-2 gap-1 p-1 rounded-lg bg-[#F6F5F2] border border-[#E2E1DD]",children:[(0,r.jsx)("button",{type:"button",onClick:()=>w("patient"),className:"h-9 rounded-md text-sm font-medium transition-colors ".concat(M?"bg-white text-[#111110] shadow-sm":"text-[#6C6B68] hover:text-[#111110]"),children:"Sou paciente"}),(0,r.jsx)("button",{type:"button",onClick:()=>w("psychologist"),className:"h-9 rounded-md text-sm font-medium transition-colors ".concat(M?"text-[#6C6B68] hover:text-[#111110]":"bg-white text-[#111110] shadow-sm"),children:"Sou psic\xf3logo"})]}),(0,r.jsxs)("div",{className:"mb-8",children:[(0,r.jsx)("h1",{className:"text-2xl font-bold text-[#111110] tracking-tight",children:"Bem-vindo de volta"}),(0,r.jsx)("p",{className:"mt-1.5 text-sm text-[#6C6B68]",children:M?"Entre para acompanhar sua jornada de cuidado":"Entre na sua conta PSI Connection para continuar"})]}),F&&(0,r.jsx)("div",{className:"mb-5",children:(0,r.jsx)(c.F,{variant:"error",message:F})}),x&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"mb-4 rounded-lg border border-[#DCE6F5] bg-[#EEF3FB] px-4 py-3 text-sm text-[#1C1B2E]",children:b?(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,r.jsx)("span",{children:"Abrindo o Google para conectar a extens\xe3o PSIâ¦"}),(0,r.jsx)("button",{type:"button",onClick:()=>_(!1),className:"min-h-[44px] px-3 text-sm font-medium text-[#2E4A35] underline",children:"Cancelar"})]}):(0,r.jsx)("span",{children:"Voc\xea est\xe1 conectando a extens\xe3o PSI. Continue com o Google (mais r\xe1pido) ou entre com e-mail e senha."})}),(0,r.jsxs)(l.$,{type:"button",variant:"outline",size:"lg",loading:I,onClick:R,className:"w-full",children:[(0,r.jsx)(p,{}),"Continuar com Google"]}),(0,r.jsxs)("div",{className:"my-5 flex items-center gap-3",children:[(0,r.jsx)("div",{className:"h-px flex-1 bg-[#E2E1DD]"}),(0,r.jsx)("span",{className:"text-xs text-[#A3A29F]",children:"ou"}),(0,r.jsx)("div",{className:"h-px flex-1 bg-[#E2E1DD]"})]})]}),(0,r.jsxs)("form",{onSubmit:B,className:"flex flex-col gap-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block text-sm font-medium text-[#111110] mb-1.5",children:"E-mail"}),(0,r.jsx)("input",{type:"email",placeholder:"[email protected]",value:E,onChange:e=>A(e.target.value),required:!0,autoComplete:"email",autoFocus:!x,className:"w-full h-10 px-3.5 rounded-lg border border-[#
1E2E1DD] text-sm text-[#111110] placeholder-[#A3A29F] focus:outline-none focus:border-[#2E4A35] focus:ring-2 focus:ring-[#2E4A35]/15 transition-colors"})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1.5",children:[(0,r.jsx)("label",{className:"text-sm font-medium text-[#111110]",children:"Senha"}),(0,r.jsx)(s(),{href:"/esqueci-senha",className:"text-xs text-[#2E4A35] hover:underline",children:"Esqueci minha senha"})]}),(0,r.jsx)("input",{type:"password",placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢",value:C,onChange:e=>k(e.target.value),required:!0,autoComplete:"current-password",className:"w-full h-10 px-3.5 rounded-lg border border-[#E2E1DD] text-sm text-[#111110] placeholder-[#A3A29F] focus:outline-none focus:border-[#2E4A35] focus:ring-2 focus:ring-[#2E4A35]/15 transition-colors"})]}),(0,r.jsx)(l.$,{type:"submit",size:"lg",loading:z,className:"w-full mt-1",children:"Entrar"})]}),!x&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"mt-5 flex items-center gap-3",children:[(0,r.jsx)("div",{className:"h-px flex-1 bg-[#E2E1DD]"}),(0,r.jsx)("span",{className:"text-xs text-[#A3A29F]",children:"ou"}),(0,r.jsx)("div",{className:"h-px flex-1 bg-[#E2E1DD]"})]}),(0,r.jsxs)(l.$,{type:"button",variant:"outline",size:"lg",loading:I,onClick:R,className:"w-full mt-4",children:[(0,r.jsx)(p,{}),"Continuar com Google"]})]}),(0,r.jsx)("div",{className:"mt-6 pt-6 border-t border-[#E2E1DD] text-center",children:(0,r.jsxs)("p",{className:"text-sm text-[#6C6B68]",children:["N\xe3o tem conta?"," ",(0,r.jsx)(s(),{href:M?"/cadastro/paciente":"/cadastro/psicologo".concat(j),className:"text-[#2E4A35] font-medium hover:underline",children:M?"Criar conta de paciente":"Criar conta gr\xe1tis"})]})})]})}},76907:(e,t,a)=>{"use strict";function r(e,t){switch(e){case 401:return{message:"Sua sess\xe3o expirou. Entre de novo e pe\xe7a a a\xe7\xe3o outra vez.",terminal:!0};case 403:return{message:"N\xe3o foi poss\xedvel autorizar esta a\xe7\xe3o (token expirado ou recurso desativado). Pe\xe7a a a\xe7\xe3o de novo.",terminal:!0};case 400:if("confirm_count_mismatch"===t)return{message:"O n\xfamero digitado n\xe3o confere com o total de a\xe7\xf5es do lote. Confira e tente de novo.",terminal:!1};return{message:"A proposta n\xe3o p\xf4de ser validada. Pe\xe7a a a\xe7\xe3o de novo.",terminal:!0};case 404:return{message:"Esta proposta n\xe3o existe mais. Pe\xe7a a a\xe7\xe3o de novo.",terminal:!0};case 409:return{message:"Esta a\xe7\xe3o j\xe1 foi decidida (talvez em outra aba). Nada foi duplicado.",terminal:!0};case 410:return{message:"Esta proposta expirou. Pe\xe7a a a\xe7\xe3o de novo.",terminal:!0};case 422:return{message:"N\xe3o foi poss\xedvel concluir a a\xe7\xe3o. Nada foi alterado.",terminal:!0};case 429:return{message:"Muitas confirma\xe7\xf5es seguidas. Aguarde um momento e tente de novo.",terminal:!1};default:return{message:e>=500?"Erro no servidor. Tente de novo em instantes; se a a\xe7\xe3o j\xe1 tiver sido feita, o sistema avisar\xe1.":"Ocorreu um erro (".concat(e).concat(t?": ".concat(t):"","). Tente de novo."),terminal:!1}}}function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),a=Date.parse(e);return Number.isFinite(a)?Math.max(0,Math.ceil((a-t)/1e3)):0}function o(e){let t=Math.max(0,Math.floor(e));return"".concat(Math.floor(t/60),":").concat(String(t%60).padStart(2,"0"))}function s(e){return"create_patient_task"===e?"Criar tarefa para o paciente":"create_transaction"===e?"Lan\xe7ar movimenta\xe7\xe3o financeira":"create_appointment"===e?"Agendar atendimento":"update_appointment"===e?"Alterar atendimento":"cancel_appointment"===e?"Cancelar atendimento":"batch"===e?"Lote de a\xe7\xf5es":"create_patient"===e?"Cadastrar paciente":"create_personal_event"===e?"Evento pessoal na agenda":"mark_transaction_paid"===e?"Dar baixa em lan\xe7amento":"update_transaction"===e?"Editar lan\xe7amento":"create_task_card"===e?"Criar cart\xe3o no quadro":"update_task_card"===e?"Alterar cart\xe3o do quadro":"create_evolution"===e?"Registrar evolu\xe7\xe3o no prontu\xe1rio":"A\xe7\xe3o proposta pela IA"}function i(e,t){return"patient_tasks"===e?"web"===t?"/dashboard/pacientes":"/(psicologo)/pacientes":"financial_transactions"===e?"web"===t?"/dashboard/financeiro/transacoes":"/(psicologo)/financeiro":"appointments"===e||"agenda_events"===e?"web"===t?"/dashboard/agenda":"/(psicologo)/agenda":"patient_profiles"===e?"web"===t?"/dashboard/pacientes":"/(psicologo)/pacientes":"task_cards"===e?"web"===t?"/dashboard/tarefas":"/quadros":"prontuarios"===e?"web"===t?"/dashboard/prontuarios":"/prontuarios":null}function l(e){return e&&/^\/dashboard\/ia\/(confirmar|analise)\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(e)?e:null}function c(e){if(!Array.isArray(e))return[];let t=[];for(let r of e){var a;
1if(r&&"object"==typeof r)"string"==typeof r.action_id&&"string"==typeof r.confirm_token&&"string"==typeof r.expires_at&&r.preview&&"string"==typeof r.preview.title&&t.push({action_id:r.action_id,action_type:String(null!=(a=r.action_type)?a:""),preview:{title:r.preview.title,lines:Array.isArray(r.preview.lines)?r.preview.lines.filter(e=>e&&"string"==typeof e.label).map(e=>{var t;return{label:e.label,value:String(null!=(t=e.value)?t:"")}}):[],side_effects:Array.isArray(r.preview.side_effects)?r.preview.side_effects.map(String):[],...function(e){var t,a;let r={},n=Number(null==e||null==(t=e.batch)?void 0:t.count);(null==e?void 0:e.batch)&&Number.isInteger(n)&&n>0&&(r.batch={count:n,requires_confirm_count:!1!==e.batch.requires_confirm_count}),Array.isArray(null==e?void 0:e.items)&&(r.items=e.items.filter(e=>e&&"string"==typeof e.title).map(e=>{var t;return{action_type:String(null!=(t=e.action_type)?t:""),title:e.title,lines:Array.isArray(e.lines)?e.lines.filter(e=>e&&"string"==typeof e.label).map(e=>{var t;return{label:e.label,value:String(null!=(t=e.value)?t:"")}}):[]}}));let o=Number(null==e||null==(a=e.dry_run)?void 0:a.predicted_count);return(null==e?void 0:e.dry_run)&&Number.isFinite(o)&&(r.dry_run={ok:!0===e.dry_run.ok,predicted_count:o}),r}(r.preview)},expires_at:r.expires_at,untrusted:!0===r.untrusted,confirm_token:r.confirm_token})}return t}function d(e){var t;return(null!=(t=e.items)?t:[]).some(e=>"cancel_appointment"===e.action_type)}function u(e,t){return/^\d{1,4}$/.test(e.trim())&&Number(e.trim())===t}function m(e){var t;return(null==(t=e.items)?void 0:t.length)?e.lines.filter(e=>!/^\d+$/.test(e.label.trim())):e.lines}function p(e){let t=null==e?void 0:e.items;if(!Array.isArray(t))return[];let a=[];for(let e of t){var r,n,o,s,i,l,d,u,m,p,f;if(!e||"string"!=typeof e.action_id||"string"!=typeof e.status)continue;let[t]=e.undo_preview?function(e){if(!e||"string"!=typeof e.title)return[];let[t]=c([{action_id:"-",confirm_token:"-",expires_at:"-",preview:e}]);return t?[t.preview]:[]}(e.undo_preview):[];a.push({action_id:e.action_id,action_type:String(null!=(r=e.action_type)?r:""),title:String(null!=(n=e.title)?n:""),summary:String(null!=(o=e.summary)?o:""),status:e.status,channel:String(null!=(s=e.channel)?s:"web"),untrusted:!0===e.untrusted,created_at:String(null!=(i=e.created_at)?i:""),decided_at:null!=(l=e.decided_at)?l:null,audit_id:null!=(d=e.audit_id)?d:null,undone_at:null!=(u=e.undone_at)?u:null,reversible:!0===e.reversible&&"string"==typeof e.undo_token&&!!e.audit_id,not_reversible_reason:null!=(m=e.not_reversible_reason)?m:null,not_reversible_detail:null!=(p=e.not_reversible_detail)?p:null,undo_preview:null!=t?t:null,undo_expires_at:null!=(f=e.undo_expires_at)?f:null,undo_token:"string"==typeof e.undo_token?e.undo_token:null})}return a}function f(e){switch(e){case"pending":return"Aguardando confirma\xe7\xe3o";case"confirmed":return"Executada";case"cancelled":return"Cancelada";case"expired":return"Expirada";case"failed":return"Falhou (nada alterado)";case"undone":return"Desfeita";default:return e}}function g(e){return"whatsapp"===e?"WhatsApp":"Web"}function h(e){switch(e){case"changed":return"N\xe3o d\xe1 para desfazer: o dado foi alterado depois.";case"paid":return"N\xe3o d\xe1 para desfazer: j\xe1 houve pagamento.";case"payment_linked":return"N\xe3o d\xe1 para desfazer: h\xe1 pagamento vinculado.";case"conflict":return"N\xe3o d\xe1 para desfazer: conflita com outro registro.";case"expired":return"N\xe3o d\xe1 para desfazer: passou de 24 horas.";case"already_undone":return"J\xe1 foi desfeita.";case"not_supported":return"Este tipo de a\xe7\xe3o n\xe3o pode ser desfeito.";default:return"N\xe3o pode ser desfeita."}}function x(e,t,a){switch(e){case 401:return{message:"Sua sess\xe3o expirou. Entre de novo.",terminal:!0};case 403:return{message:"A autoriza\xe7\xe3o para desfazer expirou. Recarregue e tente de novo.",terminal:!1};case 404:return{message:"Registro n\xe3o encontrado.",terminal:!0};case 409:if("changed"===t||"paid"===t||"payment_linked"===t||"conflict"===t)return{message:a||h(t),terminal:!0};return{message:"N\xe3o foi poss\xedvel desfazer: o estado atual mudou.",terminal:!0};case 410:return{message:"Passou de 24 horas: n\xe3o d\xe1 mais para desfazer.",terminal:!0};case 422:return{message:"N\xe3o foi poss\xedvel desfazer. Nada foi alterado.",terminal:!0};case 429:return{message:"Muitas tentativas. Aguarde um momento e tente de novo.",terminal:!1};default:return{message:"Erro ao desfazer. Tente de novo em instantes.",terminal:!1}}}a.d(t,{$L:()=>f,C1:()=>r,LA:()=>l,Li:()=>n,Lk:()=>u,Pe:()=>
1c,Qp:()=>m,R:()=>h,Vq:()=>d,i6:()=>p,sK:()=>x,sM:()=>g,zQ:()=>i,zg:()=>s,zt:()=>o})},82146:(e,t,a)=>{Promise.resolve().then(a.bind(a,62954))},97013:(e,t,a)=>{"use strict";a.d(t,{F:()=>o});var r=a(54568);let n={error:{bg:"bg-red-50",border:"border-red-200",text:"text-red-800",icon:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z"},success:{bg:"bg-emerald-50",border:"border-emerald-200",text:"text-emerald-800",icon:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z"},warning:{bg:"bg-amber-50",border:"border-amber-200",text:"text-amber-800",icon:"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z"},info:{bg:"bg-blue-50",border:"border-blue-200",text:"text-blue-800",icon:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z"}};function o(e){let{variant:t="info",title:a,message:o}=e,s=n[t];return(0,r.jsx)("div",{className:"rounded-[10px] border p-4 ".concat(s.bg," ").concat(s.border),children:(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsx)("svg",{className:"w-5 h-5 shrink-0 mt-0.5 ".concat(s.text),fill:"currentColor",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{fillRule:"evenodd",d:s.icon,clipRule:"evenodd"})}),(0,r.jsxs)("div",{children:[a&&(0,r.jsx)("p",{className:"text-sm font-semibold ".concat(s.text),children:a}),(0,r.jsx)("p",{className:"text-sm ".concat(s.text," ").concat(a?"mt-0.5":""),children:o})]})]})})}}},e=>{e.O(0,[5385,9664,6201,587,18,7358],()=>e(e.s=82146)),_N_E=e.O()}]);
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.