PageSourceSearch

https://radreport.com.br/assets/EducacaoTrilhas-H1rb2Lio.js

js radreport.com.br collected 2026-10-02 01:20:13 UTC 5,329 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-query-CmFN4-M1.js";import"./Card-Chn6MSVa.js";import{L as h}from"./LeagueIcon-f15lAN06.js";import{u as x}from"./useLearningPaths-DYYmKvaX.js";import{u as g}from"./educationStore-BhsXwjSc.js";import{m as l,T as j,S as v,k as n}from"./index-BZSaBQD0.js";import{u as f}from"./vendor-react-7PyNDetJ.js";import{q as b,aF as N,bh as w,I as y}from"./vendor-ui-DjI1iuvA.js";import"./sidebar-CVaujkBU.js";import"./progress-DnyAYI4Y.js";import"./educationNavItems-CXBnVogB.js";import"./sheet-kCUyucS4.js";import"./useUserAchievements-WQGVgD7B.js";import"./sessionTelemetry-X-Vnv8Qs.js";import{E as k}from"./EducationPageHeader-WM8Mn3yj.js";import{E as L}from"./EducationHelmet-BJ7OTscf.js";import"./learningPathsConfig-FXX-qurp.js";import"./vendor-supabase-BfoV2C50.js";import"./use-mobile-COvAteC-.js";function M({value:i}){const o=Math.max(0,Math.min(100,i));return e.jsx("div",{className:"h-[3px] w-full bg-[color:var(--mono-hairline)] overflow-hidden rounded-full",role:"progressbar","aria-valuenow":Math.round(o),"aria-valuemin":0,"aria-valuemax":100,children:e.jsx(l.div,{className:"h-full bg-[color:var(--mono-text)] origin-left",initial:{scaleX:0},whileInView:{scaleX:o/100},viewport:{once:!0,margin:"-40px"},transition:{duration:.9,ease:[.16,1,.3,1],delay:.2},style:{width:"100%"}})})}function C(){const i=f(),{xp:o}=g(),{getCategorySummaries:d,isLoading:m}=x(o),c=d(),u=(s,r)=>{r&&i(`/educacao/trilha/${s.toLowerCase()}`)};return m?e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4 md:gap-5",children:Array.from({length:6}).map((s,r)=>e.jsx("div",{className:"card-premium h-64 animate-pulse"},r))}):e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4 md:gap-5",children:c.map((s,r)=>{const a=s.isUnlocked;return e.jsxs(l.button,{type:"button",onClick:()=>u(s.categoria,a),disabled:!a,"aria-label":a?`Trilha ${s.name}: ${s.totalCards} cards, ${Math.round(s.progressPercent)}% completo`:`Trilha ${s.name} bloqueada. Desbloqueie no nível ${s.requiredLevel}`,initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.55,delay:r*.06,ease:[.16,1,.3,1]},whileHover:a?{y:-3}:void 0,className:j("card-premium min-h-64 text-left p-6 md:p-7 flex flex-col gap-5 group relative","transition-colors duration-200",a?"hover:bg-[color:var(--mono-elevated)] focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--mono-hairline-strong)]":"opacity-55 cursor-not-allowed"),children:[e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsx("div",{className:"h-12 w-12 flex items-center justify-center border hairline rounded-sm text-mono shrink-0 transition-transform duration-300 group-hover:scale-105",children:a?e.jsx(h,{name:s.icon,size:20,className:"text-[color:var(--mono-text)]"}):e.jsx(b,{className:"h-4 w-4",strokeWidth:1.6})}),!a&&e.jsxs("span",{className:"chip-mono edu-label",children:["Nível ",s.requiredLevel,"+"]})]}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("div",{className:"edu-label mb-2",children:"Trilha"}),e.jsx("h3",{className:"h-section !text-[1.45rem] md:!text-[1.6rem]",children:(()=>{const[p,...t]=s.name.split(" ");return e.jsxs(e.Fragment,{children:[e.jsx("strong",{className:"font-semibold",children:p}),t.length>0?" "+t.join(" "):""]})})()}),a&&e.jsx("span",{"aria-hidden":"true",className:"block mt-2 h-px bg-[color:var(--mono-text)] w-0 group-hover:w-10 transition-[width] duration-500 ease-out"})]}),a?e.jsxs("div",{className:"mt-auto space-y-3",children:[e.jsxs("p",{className:"edu-support edu-num",children:[e.jsx("span",{className:"text-mono",children:s.totalCards.toLocaleString("pt-BR")}),e.jsx("span",{className:"text-mono-muted",children:" cards"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex justify-between edu-label",children:[e.jsx("span",{children:"Progresso"}),e.jsxs("span",{className:"text-mono edu-num",children:[Math.round(s.progressPercent),"%"]})]}),e.jsx(M,{value:s.progressPercent})]}),e.jsxs("div",{className:"flex items-center justify-between pt-1",children:[e.jsxs("span",{className:"flex items-center gap-1.5 edu-support edu-num",children:[e.jsx(N,{className:"h-3 w-3",strokeWidth:1.6}),s.completedModules,"/",s.totalModules," módulos"]}),e.jsx(w,{className:"h-4 w-4 text-mono-muted transition-transform duration-300 group-hover:translate-x-1",strokeWidth:1.6})]})]}):e.jsxs("p",{className:"edu-support mt-auto",children:["Desbloqueie no nível ",s.requiredLevel]})]},s.categoria)})})}function _(){return e.jsxs(e.Fragment,{children:[e.jsx(L,{title:"Trilhas de aprendizado",description:"Domine radiologia por sistema — do básico ao expert.",path:"/educacao/trilhas"}),e.jsxs(v,{spacing:"sm",children:[e.jsx(n,{direction:"up",distance:24,duration:700,children:e.jsx(k,{kicker:"Trilhas de aprendizado",title:e.jsxs(e.Fragment,{children:["Domine radiologia por ",e.jsx("strong",{children:"sistema"})]}),subtitle:"Avance do básico ao expert em percursos organizados por sistema. Cada etapa é liberada conforme seu progresso.",action:e.jsx(y,{className:"hidden sm:block h-7 w-7 text-mono-muted",strokeWidth:1.5,"aria-hidden":!0}),className:"mb-8 md:mb-10"})}),e.jsx(n,{direction:"up",distance:24,duration:700,delay:140,children:e.jsx(C,{})})]})]})}export{_ 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.