PageSourceSearch

https://app.certsim.ai/static/js/7974.98ae07f3.chunk.js

js certsim.ai collected 2026-10-05 14:29:45 UTC 74,034 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcertification_sim_frontend=self.webpackChunkcertification_sim_frontend||[]).push([[7974],{37974(e,t,n){n.r(t),n.d(t,{default:()=>ot});var r=n(89379),i=n(9950),o=n(68272),s=n(55030),a=n(35481),l=n(27321),c=n(20900),d=n(38796),u=n(91651),f=n(85105),x=n(6503),p=n(22403),h=n(5352),m=n(71500),g=n(32284),b=n(91521),y=n(98506),v=n(81393),A=n(54150),j=n(10614),w=n(61106),S=n(27532),C=n(47666),k=n(44414);const z=(0,C.A)((0,k.jsx)("path",{d:"M17.77 3.77 16 2 6 12l10 10 1.77-1.77L9.54 12z"}),"ArrowBackIosNew"),_=(0,C.A)((0,k.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");var I=n(29566),L=n(89470),R=n(74946);const W=(0,C.A)([(0,k.jsx)("path",{d:"M12.79 21 3 11.21v2c0 .53.21 1.04.59 1.41l7.79 7.79c.78.78 2.05.78 2.83 0l6.21-6.21c.78-.78.78-2.05 0-2.83z"},"0"),(0,k.jsx)("path",{d:"M11.38 17.41c.39.39.9.59 1.41.59s1.02-.2 1.41-.59l6.21-6.21c.78-.78.78-2.05 0-2.83L12.62.58C12.25.21 11.74 0 11.21 0H5C3.9 0 3 .9 3 2v6.21c0 .53.21 1.04.59 1.41zM5 2h6.21L19 9.79 12.79 16 5 8.21z"},"1"),(0,k.jsx)("circle",{cx:"7.25",cy:"4.25",r:"1.25"},"2")],"DiscountOutlined");var M=n(27421),T=n(82932);const H={async getQuestions(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8;return(await T.api.get("/public/diagnostic/".concat(encodeURIComponent(e)),{params:{lang:t,count:n}})).data},async submit(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en";return(await T.api.post("/public/diagnostic/".concat(encodeURIComponent(e),"/submit"),{answers:t},{params:{lang:n}})).data},async getRecentSuccesses(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;return null!==(e=null===(t=(await T.api.get("/public/recent-successes",{params:{limit:n}})).data)||void 0===t?void 0:t.successes)&&void 0!==e?e:[]},async getLandingTestimonials(){var e;const t=null===(e=(await T.api.get("/public/landing-testimonials")).data)||void 0===e?void 0:e.items;return Array.isArray(t)?t:[]}};var P=n(40719),D=n(13271),B=n(49708),U=n(86709),F=n(94587),E=n(97781),V=n(24689),O=n(30869),K=n(44234),q=n(51673),N=n(41680),J=n(29920),X=n(78044),Y=n(18643);const Q=["A","B","C","D"],G=e=>{var t;let{question:n,value:r,focusedIndex:i,onChange:o,onFocusedIndexChange:s}=e;const a="multiple"===n.question_type,u=Q.filter(e=>Boolean(n.options[e]));return(0,k.jsxs)(l.A,{children:[(0,k.jsx)(c.A,{variant:"h6",sx:{fontWeight:600,mb:2,lineHeight:1.4},children:n.question_text}),a?(0,k.jsx)(l.A,{sx:{display:"flex",flexDirection:"column",gap:1},children:u.map((e,t)=>{const a=n.options[e],l=r.includes(e),c=i===t;return(0,k.jsx)(d.A,{variant:"outlined","data-testid":"funnel-choice-".concat(e),"data-focused":c?"true":void 0,sx:{px:1.5,borderColor:l?"primary.main":"divider",bgcolor:l?"action.selected":"background.paper",boxShadow:c?"0 0 0 2px #2563eb":"none"},children:(0,k.jsx)(N.A,{sx:{width:"100%",m:0,py:1},onFocus:()=>s(t),control:(0,k.jsx)(J.A,{checked:l,onChange:n=>((e,t,n)=>{s(n);const i=t?[...r,e]:r.filter(t=>t!==e);o(i)})(e,n.target.checked,t)}),label:a})},e)})}):(0,k.jsx)(X.A,{value:null!==(t=r[0])&&void 0!==t?t:"",onChange:e=>{const t=u.indexOf(e.target.value);((e,t)=>{s(t),o([e])})(e.target.value,t>=0?t:0)},sx:{display:"flex",flexDirection:"column",gap:1},children:u.map((e,t)=>{const o=n.options[e],a=r[0]===e,l=i===t;return(0,k.jsx)(d.A,{variant:"outlined","data-testid":"funnel-choice-".concat(e),"data-focused":l?"true":void 0,sx:{px:1.5,borderColor:a?"primary.main":"divider",bgcolor:a?"action.selected":"background.paper",boxShadow:l?"0 0 0 2px #2563eb":"none"},children:(0,k.jsx)(N.A,{sx:{width:"100%",m:0,py:1},value:e,onFocus:()=>s(t),control:(0,k.jsx)(Y.A,{}),label:o})},e)})})]})};var Z=n(22768),$=n(5310),ee=n(34244),te=n(24184);const ne=(0,C.A)((0,k.jsx)("path",{d:"M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"}),"FormatQuote"),re=["marlon zanardi","thales morais de almeida"];function ie(e,t){const n=(e.quote||"").trim(),r=(e.quoteEn||"").trim();return"pt"===(t||"en").slice(0,2)?n||r:r||n}function oe(e){return(e||"").trim().toLowerCase().replace(/\s+/g," ")}const se=e=>{var t;let{items:n,loading:r}=e;const{t:o,i18n:a}=(0,s.Bd)(),d=(a.language||"en").slice(0,2),[u,x]=(0,i.useState)(0),[p,h]=(0,i.useState)(!1),m=(0,i.useMemo)(()=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:re;const n=new Map(e.map(e=>[oe(e.name),e]));return t.map(e=>n.get(oe(e))).filter(e=>Boolean(e))}(function(e,t){return e.filter(e=>ie(e,t).length>0)}
1(n,d),re),[n,d]);if((0,i.useEffect)(()=>{x(0)},[m]),(0,i.useEffect)(()=>{if(m.length<=1||p)return;const e=setInterval(()=>x(e=>(e+1)%m.length),7e3);return()=>clearInterval(e)},[m.length,p]),r)return(0,k.jsx)(l.A,{sx:{mt:2},children:(0,k.jsx)(Z.A,{variant:"rounded",height:280,sx:{borderRadius:4}})});if(0===m.length)return null;const g=null!==(t=m[u])&&void 0!==t?t:m[0],b=ie(g,d),y=g.certificationType?(0,F.EY)(g.certificationType):"";return(0,k.jsxs)(l.A,{sx:{mt:2.5},children:[(0,k.jsxs)(l.A,{sx:{position:"relative",overflow:"hidden",p:{xs:2.25,sm:2.75},borderRadius:"20px",bgcolor:"#ffffff",border:"1px solid #e8edf4",boxShadow:"0 18px 40px rgba(15, 23, 42, 0.08)"},children:[(0,k.jsx)(ne,{sx:{fontSize:36,color:"#86efac",display:"block",mb:1.25}}),y?(0,k.jsx)(c.A,{sx:{display:"inline-block",mb:1.5,px:1.25,py:.4,borderRadius:10,bgcolor:"#dcfce7",color:"#166534",fontSize:12,fontWeight:700},children:y}):null,(0,k.jsx)(c.A,{component:"blockquote",sx:{m:0,color:"#0f172a",fontSize:{xs:"0.98rem",sm:"1.05rem"},fontWeight:500,fontStyle:"italic",lineHeight:1.5,borderLeft:"3px solid #16a34a",pl:1.5},children:b}),(0,k.jsxs)(f.A,{direction:"row",spacing:1.5,alignItems:"center",sx:{mt:2.25},children:[(0,k.jsx)($.A,{src:g.profilePictureUrl||void 0,alt:"",sx:{bgcolor:"#16a34a",width:44,height:44,fontWeight:800,fontSize:15},children:(v=g.name,v.split(" ").filter(Boolean).slice(0,2).map(e=>{var t,n;return null!==(t=null===(n=e[0])||void 0===n?void 0:n.toUpperCase())&&void 0!==t?t:""}).join(""))}),(0,k.jsxs)(l.A,{sx:{minWidth:0,flex:1},children:[(0,k.jsxs)(f.A,{direction:"row",spacing:.5,alignItems:"center",children:[(0,k.jsx)(c.A,{sx:{fontWeight:800,color:"#0f172a"},noWrap:!0,children:g.name}),g.credlyUrl?(0,k.jsx)(ee.A,{href:g.credlyUrl,target:"_blank",rel:"noopener noreferrer","aria-label":o("funnel.social.viewOnCredly"),sx:{display:"inline-flex",alignItems:"center",color:"#16a34a",minWidth:32,minHeight:32},children:(0,k.jsx)(te.A,{sx:{fontSize:18}})}):g.journeyUrl?(0,k.jsx)(te.A,{sx:{fontSize:18,color:"#16a34a"}}):null]}),g.role?(0,k.jsx)(c.A,{variant:"body2",sx:{color:"#64748b"},noWrap:!0,children:g.role}):null,(0,k.jsxs)(f.A,{direction:"row",spacing:1.5,flexWrap:"wrap",useFlexGap:!0,sx:{mt:.25},children:[g.journeyUrl?(0,k.jsx)(ee.A,{href:g.journeyUrl,target:"_blank",rel:"noopener noreferrer",underline:"hover",sx:{fontSize:14,fontWeight:700,color:"#2563eb"},children:o("funnel.social.viewJourney")}):null,g.credlyUrl?(0,k.jsx)(ee.A,{href:g.credlyUrl,target:"_blank",rel:"noopener noreferrer",underline:"hover",sx:{fontSize:14,fontWeight:700,color:"#2563eb"},children:o("funnel.social.viewOnCredly")}):null]})]})]})]}),m.length>1&&(0,k.jsx)(f.A,{direction:"row",spacing:.75,justifyContent:"center",sx:{mt:1.5},children:m.map((e,t)=>(0,k.jsx)(l.A,{component:"button",type:"button","data-testid":"funnel-testimonial-dot-".concat(t),"aria-label":o("funnel.social.dot",{n:t+1}),onClick:()=>{h(!0),x(t)},sx:{width:t===u?20:8,height:8,p:0,border:0,borderRadius:4,bgcolor:t===u?"#16a34a":"#cbd5e1",cursor:"pointer",transition:"all 0.25s ease"}},e.id||t))})]});var v},ae=(0,C.A)((0,k.jsx)("path",{d:"M12 3 1 9l4 2.18v6L12 21l7-3.82v-6l2-1.09V17h2V9zm6.82 6L12 12.72 5.18 9 12 5.28zM17 15.99l-5 2.73-5-2.73v-3.72L12 15l5-2.73z"}),"SchoolOutlined"),le=(0,C.A)((0,k.jsx)("path",{fillRule:"evenodd",d:"M14 6V4h-4v2zM4 8v11h16V8zm16-2c1.11 0 2 .89 2 2v11c0 1.11-.89 2-2 2H4c-1.11 0-2-.89-2-2l.01-11c0-1.11.88-2 1.99-2h4V4c0-1.11.89-2 2-2h4c1.11 0 2 .89 2 2v2z"}),"WorkOutline");var ce=n(83733),de=n(38812);const ue=(0,C.A)((0,k.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz");var fe=n(98011),xe=n(51593);const pe=(0,C.A)((0,k.jsx)("path",{d:"M16.24 7.76C15.07 6.59 13.54 6 12 6v6l-4.24 4.24c2.34 2.34 6.14 2.34 8.49 0 2.34-2.34 2.34-6.14-.01-8.48M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"Timelapse");var he=n(33143);const me=(0,C.A)([(0,k.jsx)("path",{d:"M9 15.5h6v1H9z"},"0"),(0,k.jsx)("circle",{cx:"15.5",cy:"9.5",r:"1.5"},"1"),(0,k.jsx)("circle",{cx:"8.5",cy:"9.5",r:"1.5"},"2"),(0,k.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"3")],"SentimentNeutral"),ge=(0,C.A)((0,k.jsx)("path",{d:"M15.49 9.63c-.18-2.79-1.31-5.51-3.43-7.63-2.14 2.14-3.32 4.86-3.55 7.63 1.28.68 2.46 1.56 3.49 2.63 1.03-1.06 2.21-1.94 3.49-2.63m-3.44-4.44c.63 1.03 1.07 2.18 1.3 3.38-.47.3-.91.63-1.34.98-.42-.34-.87-.67-1.33-.97.25-1.2.71-2.35 1.37-3.39M12 15.45c-.82-1.25-1.86-2.34-3.06-3.2-.13-.09-.27-.16-.4-.26.13.09.27.17.39.25C6.98 10.83 4.59 10 2 10c0 5.32 3.36 9.82 8.03 11.49.63.23 1.29.4 1.97.51.68-.12 1.33-.29 1.97-.51C18.64 19.82 22 15.32 22 10c-4.18 0-7.85 2.17-10 5.45m1.32 4.15c-.44.15-.88.27-1.33.37-.44-.09-.87-.21-1.28-.36-3.29-1.18-5.7-3.99-6.45-7.35 1.1.26 2.15.71 3.12 1.33l-.02.01c.13.09.26.18.39.25l.07.04c.99.72 1.84 1.61 2.51 2.65L12 19.1l1.67-2.55c.69-1.05 1.55-1.95 2.53-2.66l.07-.05c.09-.05.18-.11.27-.17l-.01-.02c.98-.65 2.07-1.13 3.21-1.4-.75 3.37-3.15 6.18-6.42 7.35m-4.33-7.32c-.02-.01-.04-.03-.05-.04 0 0 .01 0 .01.01.01.01.02.02.04.03"}),"SpaOutlined"),be=(0,C.A)((0,k.jsx)("path",{d:"M14.06 9.94 12 9l2.06-.94L15 6l.94 2.06L18 9l-2.06.94L15 12zM4 14l.94-2.06L7 11l-2.06-.94L4 8l-.94 2.06L1 11l2.06.94zm4.5-5 1.09-2.41L12 5.5 9.59 4.41 8.5 2 7.41 4.41 5 5.5l2.41 1.09zm-4 11.5 6-6.01 4 4L23 8.93l-1.41-1.41-7.09 7.97-4-4L3 19z"}),"AutoGraph");var ye=n(25059),ve=n(2129);const Ae={student:{icon:(0,k.jsx)(ae,{sx:{fontSize:20}}),color:"#2563eb"},working:{icon:(0,k.jsx)(le,{sx:{fontSize:20}}),color:"#16a34a"},career_change:{icon:(0,k.jsx)(ce.A,{sx:{fontSize:20}}),color:"#f59e0b"},upskilling:{icon:(0,k.jsx)(de.A,{sx:{fontSize:20}}),color:"#7c3aed"},other:{icon:(0,k.jsx)(ue,{sx:{fontSize:20}}),color:"#64748b"},lt2:{icon:(0,k.jsx)(fe.A,{sx:{fontSize:20}}),color:"#64748b"},h2_5:{icon:(0,k.jsx)(xe.A,{sx:{fontSize:20}}),color:"#2563eb"},h5_10:{icon:(0,k.jsx)(pe,{sx:{fontSize:20}}),color:"#16a34a"},h10_plus:{icon:(0,k.jsx)(he.A,{sx:{fontSize:20}}),color:"#f59e0b"},none:{icon:(0,k.jsx)(me,{sx:{fontSize:20}}),color:"#94a3b8"}
1,beginner:{icon:(0,k.jsx)(ge,{sx:{fontSize:20}}),color:"#0ea5e9"},intermediate:{icon:(0,k.jsx)(be,{sx:{fontSize:20}}),color:"#16a34a"},advanced:{icon:(0,k.jsx)(ye.A,{sx:{fontSize:20}}),color:"#f59e0b"},expert:{icon:(0,k.jsx)(ve.A,{sx:{fontSize:20}}),color:"#7c3aed"}},je=e=>{let{options:t,prefix:n,selected:r,onSelect:i,title:o,subtitle:a}=e;const{t:d}=(0,s.Bd)();return(0,k.jsxs)(l.A,{children:[(0,k.jsx)(c.A,{variant:"h5",sx:{fontWeight:800,mb:a?.5:2,letterSpacing:"-0.03em"},children:o}),a?(0,k.jsx)(c.A,{variant:"body2",color:"text.secondary",sx:{mb:2.5},children:a}):null,(0,k.jsx)(f.A,{spacing:1.25,role:"radiogroup","aria-label":o,children:t.map(e=>{const t=r===e,o=Ae[e];return(0,k.jsxs)(l.A,{component:"button",type:"button",role:"radio","aria-checked":t,onClick:()=>i(e),sx:{display:"flex",alignItems:"center",gap:1.5,width:"100%",minHeight:64,px:1.75,py:1.25,textAlign:"left",cursor:"pointer",appearance:"none",WebkitAppearance:"none",color:"#0f172a",WebkitTextFillColor:"#0f172a",colorScheme:"light",borderRadius:"18px",border:"1.5px solid",borderColor:t?"primary.main":"#e8edf4",bgcolor:t?"rgba(37,99,235,0.06)":"#ffffff",boxShadow:t?"0 8px 20px rgba(37,99,235,0.08)":"none",transition:"border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease","&:hover":{borderColor:"primary.main"}},children:[(0,k.jsx)(l.A,{sx:{width:40,height:40,borderRadius:"50%",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",bgcolor:o?"".concat(o.color,"1a"):"#eef2ff",color:(null===o||void 0===o?void 0:o.color)||"#2563eb"},children:null===o||void 0===o?void 0:o.icon}),(0,k.jsxs)(l.A,{sx:{minWidth:0,flex:1},children:[(0,k.jsx)(c.A,{component:"span",sx:{display:"block",fontWeight:700,lineHeight:1.25,color:"#0f172a",WebkitTextFillColor:"#0f172a"},children:d("".concat(n,".").concat(e,".title"))}),(0,k.jsx)(c.A,{component:"span",variant:"body2",sx:{display:"block",mt:.25,color:"#475569",WebkitTextFillColor:"#475569",lineHeight:1.35},children:d("".concat(n,".").concat(e,".desc"))})]}),(0,k.jsx)(l.A,{"aria-hidden":!0,sx:{width:22,height:22,borderRadius:"50%",flexShrink:0,border:"2px solid",borderColor:t?"primary.main":"#cbd5e1",display:"flex",alignItems:"center",justifyContent:"center"},children:t?(0,k.jsx)(l.A,{sx:{width:10,height:10,borderRadius:"50%",bgcolor:"primary.main"}}):null})]},e)})})]})};var we=n(65827),Se=n(45774);const Ce=(0,C.A)((0,k.jsx)("path",{d:"M17 10H7v2h10zm2-7h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V8h14zm-5-5H7v2h7z"}),"EventNote");var ke=n(42373);const ze=(0,C.A)((0,k.jsx)("path",{d:"m19 1-5 5v11l5-4.5zM1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5V6c-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6m22 13.5V6c-.6-.45-1.25-.75-2-1v13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5v2c1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5z"}),"AutoStories");var _e=n(40556),Ie=n(526),Le=n(92182);const Re=[{id:"plan",icon:(0,k.jsx)(Ce,{sx:{fontSize:22}}),color:"#2563eb",img:"study-plan.webp",pro:!0,titleKey:"funnel.benefits.slides.plan.title",descKey:"funnel.benefits.slides.plan.desc"},{id:"exams",icon:(0,k.jsx)(ke.A,{sx:{fontSize:22}}),color:"#dc2626",img:"exam-history.png",pro:!0,titleKey:"funnel.benefits.slides.exams.title",descKey:"funnel.benefits.slides.exams.desc"},{id:"library",icon:(0,k.jsx)(ze,{sx:{fontSize:22}}),color:"#0f766e",img:"study-library.webp",pro:!0,titleKey:"funnel.benefits.slides.library.title",descKey:"funnel.benefits.slides.library.desc"},{id:"missions",icon:(0,k.jsx)(he.A,{sx:{fontSize:22}}),color:"#f59e0b",img:"study-progress.webp",titleKey:"funnel.benefits.slides.missions.title",descKey:"funnel.benefits.slides.missions.desc"},{id:"share",icon:(0,k.jsx)(_e.A,{sx:{fontSize:22}}),color:"#0284c7",titleKey:"funnel.benefits.slides.share.title",descKey:"funnel.benefits.slides.share.desc"},{id:"explain",icon:(0,k.jsx)(Ie.A,{sx:{fontSize:22}}),color:"#16a34a",img:"question-interface.webp",pro:!0,titleKey:"funnel.benefits.slides.explain.title",descKey:"funnel.benefits.slides.explain.desc"},{id:"results",icon:(0,k.jsx)(ve.A,{sx:{fontSize:22}}),color:"#9333ea",img:"exam-results.webp",pro:!0,titleKey:"funnel.benefits.slides.results.title",descKey:"funnel.benefits.slides.results.desc"}],We={width:{xs:348,sm:500},height:{xs:300,sm:400},flexShrink:0,borderRadius:"16px",overflow:"hidden",bgcolor:"#ffffff",border:"1px solid #e8edf4",boxShadow:"0 8px 20px rgba(15, 23, 42, 0.06)"},Me=e=>{let{label:t,sx:n}=e;return(0,k.jsxs)(l.A,{component:"span",sx:(0,r.A)({display:"inline-flex",alignItems:"center",gap:.25,px:.7,py:.1,borderRadius:999,fontSize:"0.62rem",fontWeight:800,letterSpacing:"0.08em",textTransform:"uppercase",color:"#fff",WebkitTextFillColor:"#fff",lineHeight:1.6,flexShrink:0,background:"linear-gradient(135deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%)",boxShadow:"0 2px 6px rgba(217, 119, 6, 0.35)"},n),children:[(0,k.jsx)(Le.A,{sx:{fontSize:13}}),t]})},Te=Re.filter(e=>"share"!==e.id),He=e=>{let{slide:t,lang:n,expandLabel:i,onExpand:o}=e;return(0,k.jsx)(l.A,{component:"button",type:"button","data-testid":"funnel-benefit-visual-".concat(t.id),"aria-label":i,onClick:()=>o(t),sx:(0,r.A)((0,r.A)({},We),{},{p:0,cursor:"pointer",display:"block",textAlign:"left",appearance:"none",font:"inherit"}),children:(0,k.jsx)(l.A,{component:"img",src:"/app_images/".concat(n,"/").concat(t.img),alt:"",draggable:!1,loading:"lazy",sx:{width:"100%",height:"100%",objectFit:"contain",objectPosition:"center",bgcolor:"#ffffff",pointerEvents:"none"}})})},Pe=()=>{const{t:e,i18n:t}=(0,s.Bd)(),n="pt"===(t.language||"en").slice(0,2)?"pt":"en",[r,o]=(0,i.useState)(0),[a,d]=(0,i.useState)(!1),[u,x]=(0,i.useState)(null),p=(0,i.useRef)(null),h=(0,i.useRef)(!1),g=(()=>{var e,t,n;return"undefined"!==typeof window&&!0===(null===(e=(t=window).matchMedia)||void 0===e||null===(n=e.call(t,"(prefers-reduced-motion: reduce)"))||void 0===n?void 0:n.matches)})(),b=[...Te,...Te],y=a||Boolean(u),v=(0,i.useCallback)(e=>{const t=Re.length;o((e%t+t)%t)},[]);(0,i.useEffect)(()=>
1{if(y||g)return;const e=window.setInterval(()=>{o(e=>(e+1)%Re.length)},2800);return()=>window.clearInterval(e)},[y,r,g]);const A=(0,i.useCallback)(e=>{h.current?h.current=!1:x(e)},[]),j=(0,i.useCallback)(()=>{h.current=!0,x(null),window.setTimeout(()=>{h.current=!1},200)},[]),w=Re[r];return(0,k.jsxs)(l.A,{"data-testid":"funnel-benefits-carousel",onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),onTouchStart:e=>{var t,n;p.current=null!==(t=null===(n=e.changedTouches[0])||void 0===n?void 0:n.clientX)&&void 0!==t?t:null,d(!0)},onTouchEnd:e=>{var t,n;const i=p.current;if(p.current=null,d(!1),null==i)return;const o=(null!==(t=null===(n=e.changedTouches[0])||void 0===n?void 0:n.clientX)&&void 0!==t?t:i)-i;Math.abs(o)>=40&&(h.current=!0,o<=-40&&v(r+1),o>=40&&v(r-1))},children:[(0,k.jsxs)(f.A,{spacing:.75,sx:{mb:1,minHeight:{xs:76,sm:72},textAlign:"center"},children:[(0,k.jsxs)(f.A,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",sx:{px:.5},children:[(0,k.jsx)(l.A,{sx:{width:36,height:36,flexShrink:0,borderRadius:"10px",display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",bgcolor:w.color},children:w.icon}),(0,k.jsx)(c.A,{component:"h3",sx:{fontWeight:800,fontSize:{xs:"1.05rem",sm:"1.25rem"},letterSpacing:"-0.03em",color:"#0f172a",WebkitTextFillColor:"#0f172a",lineHeight:1.25,textAlign:"left"},children:e(w.titleKey)}),w.pro?(0,k.jsx)(Me,{label:e("funnel.benefits.proBadge","PRO"),sx:{transform:"rotate(-8deg)"}}):null]}),(0,k.jsx)(c.A,{sx:{color:"#475569",WebkitTextFillColor:"#475569",fontSize:{xs:"0.9rem",sm:"0.98rem"},lineHeight:1.45},children:e(w.descKey)})]}),(0,k.jsx)(l.A,{sx:{mb:1,height:3,borderRadius:4,bgcolor:"#e8edf4",overflow:"hidden"},children:(0,k.jsx)(l.A,{sx:{height:"100%",width:0,bgcolor:w.color,animation:g?"none":"funnelBenefitProgress ".concat(2800,"ms linear"),animationPlayState:y?"paused":"running","@keyframes funnelBenefitProgress":{from:{width:"0%"},to:{width:"100%"}}}},r)}),(0,k.jsx)(l.A,{"data-testid":"funnel-benefits-frame","data-bg":"white",sx:{overflow:"hidden",py:.5,maskImage:"linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%)",WebkitMaskImage:"linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%)"},children:(0,k.jsx)(l.A,{"data-testid":"funnel-benefits-marquee",sx:{display:"flex",gap:1.5,width:"max-content",animation:g?"none":"funnelBenefitMarquee ".concat(2e4,"ms linear infinite"),animationPlayState:y?"paused":"running","@keyframes funnelBenefitMarquee":{from:{transform:"translateX(0)"},to:{transform:"translateX(-50%)"}}},children:b.map((t,r)=>(0,k.jsx)(He,{slide:t,lang:n,expandLabel:e("funnel.benefits.expandPreview"),onExpand:A},"".concat(t.id,"-").concat(r)))})}),u?(0,k.jsx)(we.A,{open:!0,onClose:j,maxWidth:"md",fullWidth:!0,transitionDuration:0,PaperProps:{sx:{bgcolor:"#ffffff",borderRadius:"20px",overflow:"hidden",m:{xs:1.5,sm:3}}},children:(0,k.jsxs)(l.A,{sx:{position:"relative"},"data-testid":"funnel-benefit-lightbox",children:[(0,k.jsx)(m.A,{"data-testid":"funnel-benefit-lightbox-close","aria-label":e("funnel.benefits.closePreview"),onClick:j,sx:{position:"absolute",top:8,right:8,zIndex:1,bgcolor:"#ffffffcc"},children:(0,k.jsx)(Se.A,{})}),u.img?(0,k.jsx)(l.A,{component:"img","data-testid":"funnel-benefit-lightbox-image",src:"/app_images/".concat(n,"/").concat(u.img),alt:e(u.titleKey),sx:{display:"block",width:"100%",maxHeight:{xs:"78dvh",sm:"82dvh"},objectFit:"contain",bgcolor:"#ffffff"}}):null]})}):null]})};var De=n(44005),Be=n(34891);const Ue=["funnel.results.tips.1","funnel.results.tips.2","funnel.results.tips.3"],Fe=e=>{let{certName:t}=e;const{t:n}=(0,s.Bd)(),r=t||n("funnel.results.thisCert");return(0,k.jsxs)(l.A,{"data-testid":"funnel-exam-tips",sx:{mb:{xs:0,sm:3}},children:[(0,k.jsxs)(f.A,{direction:"row",spacing:.75,alignItems:"center",sx:{mb:1.25},children:[(0,k.jsx)(Be.A,{sx:{fontSize:18,color:"#d97706",flexShrink:0}}),(0,k.jsx)(c.A,{sx:{fontWeight:800,fontSize:"0.92rem",color:"#0f172a"},children:n("funnel.results.tipsTitle")})]}),(0,k.jsx)(c.A,{sx:{mb:1.25,color:"#64748b",WebkitTextFillColor:"#64748b",fontSize:"0.78rem"},children:n("funnel.results.tipsHint")}),(0,k.jsx)(f.A,{spacing:1,children:Ue.map((e,t)=>
1(0,k.jsxs)(l.A,{sx:{display:"flex",alignItems:"flex-start",gap:1,p:1.25,borderRadius:"12px",bgcolor:"#f8fafc",border:"1px solid #e8edf4"},children:[(0,k.jsx)(l.A,{sx:{width:22,height:22,borderRadius:"50%",bgcolor:"rgba(245,158,11,0.12)",color:"#d97706",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"0.72rem",fontWeight:800,flexShrink:0},children:t+1}),(0,k.jsx)(c.A,{sx:{fontSize:"0.84rem",lineHeight:1.45,color:"#334155",WebkitTextFillColor:"#334155"},children:n(e,{cert:r})})]},e))})]})},Ee=e=>{let{label:t}=e;return(0,k.jsx)(c.A,{"data-testid":"funnel-pay-safe",sx:{my:1,fontSize:"0.72rem",color:"#64748b",fontWeight:500,textAlign:"center"},children:t})},Ve=e=>{let{title:t,subtitle:n,selfLabel:r,certsimLabel:i,certifiedLabel:o}=e;return(0,k.jsxs)(l.A,{"data-testid":"funnel-study-pace",sx:{mt:{xs:2.5,sm:3},p:2,borderRadius:"16px",border:"1px solid #e8edf4",bgcolor:"#f8fafc"},children:[(0,k.jsx)(c.A,{sx:{fontWeight:800,fontSize:{xs:"1rem",sm:"1.1rem"},mb:.4},children:t}),(0,k.jsx)(c.A,{sx:{color:"#64748b",fontSize:"0.8rem",lineHeight:1.4,mb:1.5},children:n}),(0,k.jsxs)(l.A,{sx:{position:"relative",width:"100%",aspectRatio:"320 / 150"},children:[(0,k.jsxs)("svg",{viewBox:"0 0 320 150",width:"100%",height:"100%",preserveAspectRatio:"xMidYMid meet",role:"img","aria-hidden":!0,children:[(0,k.jsx)("path",{d:"M16 132 H304",stroke:"#e2e8f0",strokeWidth:"1.5",fill:"none"}),(0,k.jsx)("path",{d:"M16 18 V132",stroke:"#e2e8f0",strokeWidth:"1.5",fill:"none"}),(0,k.jsx)("path",{"data-testid":"funnel-study-pace-self","data-pace":"slow",d:"M16 128 C 90 126, 170 118, 230 92 C 270 76, 300 64, 304 58",fill:"none",stroke:"#94a3b8",strokeWidth:"3",strokeLinecap:"round"}),(0,k.jsx)("path",{"data-testid":"funnel-study-pace-certsim","data-pace":"fast",d:"M16 128 C 48 122, 78 70, 118 40 C 145 18, 165 16, 190 18",fill:"none",stroke:"#2563eb",strokeWidth:"3.5",strokeLinecap:"round"})]}),(0,k.jsxs)(l.A,{"data-testid":"funnel-study-pace-trophy",sx:{position:"absolute",left:"56%",top:0,display:"flex",flexDirection:"column",alignItems:"center",pointerEvents:"none"},children:[(0,k.jsx)(ve.A,{sx:{fontSize:22,color:"#f59e0b"}}),(0,k.jsx)(c.A,{sx:{fontSize:"0.62rem",fontWeight:800,color:"#0f172a",lineHeight:1},children:o})]})]}),(0,k.jsxs)(f.A,{direction:"row",spacing:2,justifyContent:"center",sx:{mt:.5},children:[(0,k.jsxs)(f.A,{direction:"row",alignItems:"center",spacing:.75,children:[(0,k.jsx)(l.A,{sx:{width:14,height:3,borderRadius:1,bgcolor:"#94a3b8"}}),(0,k.jsx)(c.A,{sx:{fontSize:"0.72rem",fontWeight:700,color:"#64748b"},children:r})]}),(0,k.jsxs)(f.A,{direction:"row",alignItems:"center",spacing:.75,children:[(0,k.jsx)(l.A,{sx:{width:14,height:3,borderRadius:1,bgcolor:"#2563eb"}}),(0,k.jsx)(c.A,{sx:{fontSize:"0.72rem",fontWeight:700,color:"#0f172a"},children:i})]})]})]})};var Oe=n(20795);function Ke(e){const t=Math.max(0,Math.floor(e/1e3)),n=Math.floor(t/60),r=t%60;return"".concat(String(n).padStart(2,"0"),":").concat(String(r).padStart(2,"0"))}const qe=e=>{let{onExpire:t}=e;const{t:n}=(0,s.Bd)(),[r,o]=(0,i.useState)(()=>(0,E.Nd)()),a=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{const e=()=>{const e=(0,E.Nd)();o(e),e<=0&&!a.current&&(a.current=!0,null===t||void 0===t||t())};e();const n=setInterval(e,1e3);return()=>clearInterval(n)},[t]),(0,k.jsxs)(l.A,{sx:{display:"inline-flex",alignItems:"center",gap:.75,px:1.5,py:.75,borderRadius:2,bgcolor:"warning.light",color:"warning.contrastText"},children:[(0,k.jsx)(Oe.A,{fontSize:"small"}),(0,k.jsx)(c.A,{variant:"body2",sx:{fontWeight:600},children:n("funnel.offer.reservedFor",{time:Ke(r)})})]})};var Ne=n(19030),Je=n(38152);const Xe=[["provider","cert"],["date","role","time","experience"],["register"]],Ye={social:"experience",benefits:"experience",intro:"experience",diagnostic:"experience",results:"register",plan:"register",offer:"register"};function Qe(e,t){return t||"register"===e?"flex-start":"safe center"}function Ge(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;const t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(r)}function Ze(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ge();return/^\d{4}-\d{2}-\d{2}$/.test(e)&&e>=t}var $e=n(12138),et=n(53352);const tt=["student","working","career_change","upskilling","other"],nt=["lt2","h2_5","h5_10","h10_plus"],rt=["none","beginner","intermediate","advanced","expert"],it=(0,a.A)({palette:{mode:"light",primary:{main:"#2563eb"},success:{main:"#16a34a"},warning:{main:"#f59e0b"},background:{default:"#ffffff",paper:"#ffffff"},text:{primary:"#0f172a",secondary:"#475569"},divider:"#e2e8f0"},shape:{borderRadius:12},typography:{fontFamily:'"Archivo", system-ui, sans-serif'},components:{MuiButton:{styleOverrides:{root:{textTransform:"none",borderRadius:999,fontWeight:700}}}}}),ot=()=>{var e;const{t:t,i18n:n}=(0,s.Bd)(),[a]=(0,o.ok)(),C="pt"===(n.language||"en").slice(0,2)?"pt":"en",[T,N]=(0,i.useState)("provider"),[J,X]=(0,i.useState)([]),[Y,Q]=(0,i.useState)(!0),[Z,$]=(0,i.useState)(""),[ee,te]=(0,i.useState)(""),[ne,re]=(0,i.useState)(""),[ie,oe]=(0,i.useState)(""),[ae,le]=(0,i.useState)(""),[ce,de]=(0,i.useState)(!1),ue=(0,i.useRef)(null),[fe,xe]=(0,i.useState)(""),[pe,he]=(0,i.useState)(""),[me,ge]=(0,i.useState)(""),[be,ye]=(0,i.useState)([]),[ve,Ae]=(0,i.useState)(!0),[we,Se]=(0,i.useState)([]),[Ce,ke]=(0,i.useState)({}),[ze,_e]=(0,i.useState)(0),[Ie,Le]=(0,i.useState)(0),Re=(0,i.useRef)(0);Re.current=Ie;const We=(0,i.useRef)(!1),[Me,Te]=(0,i.useState)(!1),[He,Be]=(0,i.useState)(!1),[Ue,Oe]=(0,i.useState)(""),[Ke,ot]=(0,i.useState)(null),[st,at]=(0,i.useState)("USD"),[lt,ct]=(0,i.useState)(!1),[dt,ut]=(0,i.useState)("pass");(0,i.useEffect)(()=>{(0,D.dq)().then(e=>at("BR"===e?"BRL":"USD")).catch(()=>at("USD"))},[]),(0,i.useEffect)(()=>{(0,V.g)("funnel_started",{source:a.get("utm_source")||void 0}),P.certificationService.getCertifications().then(e=>X(e.certifications.filter(e=>!e.coming_soon))).catch(()=>X([])).finally(()=>Q(!1)),H.getLandingTestimonials().then(e=>ye(e)).catch(()=>ye([])).finally(()=>Ae(!1))},[]);
1const ft=(0,i.useRef)(null),xt=(0,i.useCallback)(()=>{window.scrollTo(0,0);const e=ft.current;e&&(e.scrollTop=0)},[]),pt=(0,i.useCallback)(e=>{N(e),xt()},[xt]);(0,i.useEffect)(()=>{xt()},[T,xt]);const ht=(0,i.useCallback)(()=>{(0,E.ex)(),(0,E.tg)({certId:ne,plan:"pass"}),We.current||(We.current=!0,(0,V.g)("funnel_plan_value_viewed",{cert:ne}),(0,V.g)("funnel_paywall_viewed",{cert:ne})),pt("plan")},[ne,pt]),mt=(0,i.useCallback)(async e=>{Te(!0),Oe("");try{const n=await H.getQuestions(e,C,8);return n.questions&&0!==n.questions.length?(Se(n.questions),ke({}),_e(0),(0,V.g)("funnel_diagnostic_started",{cert:e,count:n.questions.length}),!0):(Oe(t("funnel.diagnostic.error")),!1)}catch(n){return q.A.error("[Funnel] Failed to load diagnostic questions:",n),Oe(t("funnel.diagnostic.error")),!1}finally{Te(!1)}},[C,t]),gt=(0,i.useMemo)(()=>{const e=new Set;return J.forEach(t=>{const n=(0,U.xH)((0,F.WC)(t.certification_id));n&&e.add(n)}),e},[J]),bt=(0,i.useMemo)(()=>U.WQ.filter(e=>0===gt.size||gt.has(e.id)),[gt]),yt=(0,i.useMemo)(()=>Z?J.filter(e=>(0,U.xH)((0,F.WC)(e.certification_id))===Z):[],[J,Z]),vt=(0,i.useMemo)(()=>yt.filter(e=>e.name.toLowerCase().includes(ee.toLowerCase())),[yt,ee]),At=(0,i.useCallback)((e,t)=>{re(e.certification_id),oe(e.name),(0,E.tg)({certId:e.certification_id,certName:e.name,provider:t||void 0}),(0,V.g)("funnel_cert_selected",{cert:e.certification_id}),pt("date")},[pt]),jt=()=>{(0,V.g)("funnel_social_proof_viewed",{cert:ne}),pt("date")},wt=()=>{Ze(ae)?((0,E.tg)({certId:ne,examDate:ae}),(0,V.g)("funnel_exam_date_set",{cert:ne}),pt("role")):de(!0)},St=()=>{const e=ue.current;if(!e)return;e.focus();const t=e;if("function"===typeof t.showPicker)try{t.showPicker()}catch(n){return}},Ct=e=>{xe(e),(0,E.tg)({certId:ne,role:e}),pt("time")},kt=e=>{he(e),(0,E.tg)({certId:ne,weeklyHours:e}),pt("experience")},zt=e=>{ge(e),(0,E.tg)({certId:ne,experience:e}),(0,V.g)("funnel_profile_set",{cert:ne,role:fe,weeklyHours:pe,experience:e}),(0,O.l7)("/app"),(0,V.g)("funnel_signup_started",{plan:"free",cert:ne}),pt("register")},_t=()=>{(0,V.g)("funnel_benefits_viewed",{cert:ne}),pt("intro")},It=async()=>{(0,V.g)("funnel_diagnostic_intro_viewed",{cert:ne});await mt(ne)&&pt("diagnostic")},Lt=we[ze]&&null!==(e=Ce[we[ze].id])&&void 0!==e?e:[],Rt=(0,i.useCallback)(e=>{const t=we[ze];t&&ke(n=>(0,r.A)((0,r.A)({},n),{},{[t.id]:e}))},[ze,we]),Wt=(0,i.useCallback)(async()=>{Be(!0),Oe("");try{const e=we.map(e=>{var t;return{question_id:e.id,answer:(null!==(t=Ce[e.id])&&void 0!==t?t:[]).join(",")}}),t=await H.submit(ne,e,C);ot(t),(0,E.tg)({certId:ne,result:t}),(0,K.s)(t),(0,V.g)("funnel_diagnostic_completed",{cert:ne,score:t.score}),(0,O.l7)("/app"),(0,V.g)("funnel_signup_started",{plan:"free",cert:ne}),pt("register")}catch(e){q.A.error("[Funnel] Failed to submit diagnostic:",e),Oe(t("funnel.diagnostic.error"))}finally{Be(!1)}},[Ce,ne,pt,C,we,t]),Mt=(0,i.useCallback)(()=>{const e=ze+1;e>=we.length?Wt():(_e(e),Le(0),window.scrollTo(0,0))},[ze,we.length,Wt]);(0,i.useEffect)(()=>{if("diagnostic"!==T)return;const e=e=>{var t;if(Me||He)return;if((0,et.S9)(e))return;const n=we[ze];if(!n)return;const r=["A","B","C","D"].filter(e=>Boolean(n.options[e])),i=null!==(t=Ce[n.id])&&void 0!==t?t:[],o=(0,et.Y0)(e);if(!o)return;if("confirm"===o.type)return void((0,et.Z)(e,i.length>0)&&(e.preventDefault(),Mt()));if("toggle"===o.type&&(0,et.ab)(e.target))return;const s=(0,et.Re)({focusedIndex:Re.current,optionCount:r.length,optionValues:r,hasSelection:i.length>0,isMultiple:"multiple"===n.question_type},o);if(s&&(e.preventDefault(),Le(s.focusedIndex),s.selectValue)){if("multiple"===n.question_type){const e=i.includes(s.selectValue)?i.filter(e=>e!==s.selectValue):[...i,s.selectValue];return void Rt(e)}Rt([s.selectValue])}};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[T,Ce,we,ze,He,Me,Rt,Mt]);const Tt=e=>{if((0,E.tg)({certId:ne,plan:e}),"free"===e)(0,O.l7)("/app");else{const t="pass"===e?B.Pq.PASS["BRL"===st?"brl":"usd"]:D.Pq[st].yearly;if(t){const n=new URLSearchParams({price:t,cert:ne});"pass"===e&&n.set("pass","1"),(0,O.l7)("/funnel-checkout?".concat(n.toString()))}else(0,O.l7)("/subscription?from=funnel&cert=".concat(encodeURIComponent(ne)))}(0,V.g)("funnel_signup_started",{plan:e,cert:ne}),pt("register")},Ht=async()=>
1{(0,E.eX)(),(0,E.tg)({certId:ne,certName:ie,provider:Z||void 0}),ot(null),ct(!1),We.current=!1;await mt(ne)&&pt("diagnostic")},Pt={cert:"provider",date:"cert",role:"date",time:"role",experience:"time",register:"experience"},Dt=Boolean(Pt[T]),Bt=()=>(0,k.jsxs)(l.A,{children:[(0,k.jsx)(c.A,{variant:"h5",sx:{fontWeight:800,mb:.5,fontSize:{xs:"1.2rem",sm:"1.5rem"}},children:t("funnel.provider.title")}),(0,k.jsx)(c.A,{variant:"body2",color:"text.secondary",sx:{mb:2},children:t("funnel.provider.subtitle")}),(0,k.jsx)(l.A,{sx:{display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",gap:{xs:1,sm:1.5},width:"100%",maxWidth:"100%"},children:bt.map(e=>(0,k.jsxs)(d.A,{variant:"outlined",onClick:()=>{return t=e.id,$(t),te(""),(0,V.g)("funnel_provider_selected",{provider:t}),void pt("cert");var t},sx:{p:{xs:1.1,sm:1.75},cursor:"pointer",borderWidth:1.5,borderRadius:{xs:"14px",sm:"18px"},display:"flex",alignItems:"center",gap:{xs:.85,sm:1.25},minWidth:0,minHeight:{xs:64,sm:76},overflow:"hidden",transition:"all 0.15s ease","&:hover":{borderColor:e.color,boxShadow:"0 10px 24px ".concat(e.color,"22"),transform:{sm:"translateY(-2px)"}}},children:[(0,k.jsx)(l.A,{sx:{width:{xs:28,sm:40},height:{xs:28,sm:40},flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,k.jsx)("img",{src:e.logo,alt:e.name,style:{maxWidth:"100%",maxHeight:"100%",objectFit:"contain"}})}),(0,k.jsxs)(l.A,{sx:{minWidth:0},children:[(0,k.jsx)(c.A,{sx:{fontWeight:700,lineHeight:1.15,fontSize:{xs:"0.82rem",sm:"1rem"},overflowWrap:"anywhere"},children:e.name}),(0,k.jsx)(c.A,{variant:"caption",color:"text.secondary",sx:{display:{xs:"none",sm:"block"}},children:e.description})]})]},e.id))})]}),Ut=()=>(0,k.jsxs)(l.A,{children:[(0,k.jsx)(c.A,{variant:"h5",sx:{fontWeight:800,mb:.5},children:t("funnel.cert.title")}),(0,k.jsx)(c.A,{variant:"body2",color:"text.secondary",sx:{mb:2},children:t("funnel.cert.subtitle")}),(0,k.jsx)(u.A,{fullWidth:!0,size:"small",placeholder:t("funnel.cert.searchPlaceholder"),value:ee,onChange:e=>te(e.target.value),sx:{mb:2}}),(0,k.jsx)(f.A,{spacing:1,sx:{maxHeight:440,overflowY:"auto",pr:.5},children:Y?(0,k.jsxs)(l.A,{sx:{textAlign:"center",py:4},"data-testid":"funnel-cert-loading",children:[(0,k.jsx)(x.A,{size:28}),(0,k.jsx)(c.A,{sx:{mt:1.5},variant:"body2",color:"text.secondary",children:t("certifications.loading")})]}):(0,k.jsxs)(k.Fragment,{children:[vt.map(e=>(0,k.jsxs)(d.A,{variant:"outlined",onClick:()=>(e=>At(e,Z))(e),sx:{p:1.35,cursor:"pointer",display:"flex",alignItems:"center",gap:1.5,borderWidth:1.5,borderRadius:"16px",minHeight:64,transition:"all 0.15s ease","&:hover":{borderColor:"primary.main",bgcolor:"rgba(37,99,235,0.04)"}},children:[(0,k.jsx)(l.A,{sx:{width:44,height:44,flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,k.jsx)("img",{src:(0,F.rX)(e.certification_id),alt:"",style:{maxWidth:"100%",maxHeight:"100%",objectFit:"contain",display:"block"},onError:e=>{e.currentTarget.style.visibility="hidden"}})}),(0,k.jsx)(c.A,{sx:{fontWeight:600,lineHeight:1.3},children:e.name})]},e.certification_id)),0===vt.length&&(0,k.jsx)(c.A,{variant:"body2",color:"text.secondary",children:t("funnel.cert.noResults")})]})})]}),Ft=()=>{const e=Ge();return(0,k.jsxs)(l.A,{children:[(0,k.jsx)(c.A,{variant:"h5",sx:{fontWeight:800,mb:.5},children:t("funnel.date.title")}),(0,k.jsx)(c.A,{variant:"body2",color:"text.secondary",sx:{mb:2},children:t("funnel.date.subtitle")}),(0,k.jsx)(u.A,{fullWidth:!0,type:"date",label:t("funnel.date.label"),InputLabelProps:{shrink:!0},inputRef:ue,value:ae,onChange:e=>{return(t=e.target.value)?Ze(t)?(de(!1),void le(t)):(le(""),void de(!0)):(le(""),void de(!1));var t},onClick:St,onFocus:St,error:ce,helperText:ce?t("funnel.date.pastError"):" ",inputProps:{min:e,"data-testid":"funnel-exam-date"},InputProps:{endAdornment:(0,k.jsx)(h.A,{position:"end",children:(0,k.jsx)(m.A,{edge:"end","aria-label":t("funnel.date.openPicker"),onClick:e=>{e.preventDefault(),St()},children:(0,k.jsx)(I.A,{})})})},sx:{mb:3,'& input[type="date"]':{cursor:"pointer"},"& input::-webkit-calendar-picker-indicator":{display:"none"}}}),(0,k.jsx)(p.A,{variant:"contained",fullWidth:!0,size:"large",disabled:!Ze(ae),onClick:wt,endIcon:(0,k.jsx)(_,{sx:{fontSize:18}}),children:t("funnel.common.continue")})]})},Et=("plan"===T||"offer"===T)&&!(0,E.Ao)()&&!lt,Vt="results"===T&&!!Ke,Ot=Et||Vt,Kt=function(e){let{step:t,questionIndex:n=0,questionCount:r=0}=e;const i=Ye[t]||t,o=Xe.findIndex(e=>e.includes(i));return o<0?[0,0,0]:Xe.map((e,t)=>{if(t<o)return 1;if(t>o)return 0;if("diagnostic"===i&&e.includes("diagnostic")&&r>0){const t=Math.max(0,e.indexOf("diagnostic")),i=t+r;return Math.min(1,(t+n+1)/i)}const s=e.indexOf(i);return Math.min(1,(s+1)/e.length)})}({step:T,questionIndex:ze,questionCount:we.length});return(0,k.jsx)(S.A,{theme:it,children:(0,k.jsxs)(l.A,{"data-testid":"funnel-shell","data-viewport-lock":"true",sx:{height:"100vh","@supports (height: 100svh)":{height:"100svh"},overflow:"hidden",bgcolor:"#eef2f7",color:"#0f172a",colorScheme:"light",display:"flex",flexDirection:"column",alignItems:"center",position:"relative",fontFamily:'"Archivo", system-ui, sans-serif'},children:[(0,k.jsxs)(l.A,{sx:{flexShrink:0,width:"100%",maxWidth:640,px:{xs:2.5,sm:3},pt:{xs:"max(12px, env(safe-area-inset-top))",sm:"max(16px, env(safe-area-inset-top))"}},children:[(0,k.jsxs)(l.A,{sx:{position:"relative",minHeight:28,display:"flex",alignItems:"center",justifyContent:"center",mb:1},children:[Dt&&(0,k.jsx)(m.A,{size:"small",onClick:()=>{const e=Pt[T];e&&pt(e)},"aria-label":t("funnel.common.back"),sx:{position:"absolute",left:0}
1,children:(0,k.jsx)(z,{sx:{fontSize:18}})}),(0,k.jsx)(l.A,{"data-testid":"funnel-brand",children:(0,k.jsx)(Je.R,{size:20,withWordmark:!0})})]}),(0,k.jsx)(l.A,{"data-testid":"funnel-stage-bars",sx:{display:"flex",gap:.9},"aria-hidden":!0,children:Kt.map((e,t)=>(0,k.jsx)(l.A,{sx:{flex:1,height:3.5,borderRadius:4,bgcolor:"#d8dee8",overflow:"hidden"},children:(0,k.jsx)(l.A,{sx:{width:"".concat(Math.round(100*e),"%"),height:"100%",bgcolor:"#2563eb",transition:"width 0.35s ease"}})},t))})]}),(0,k.jsxs)(l.A,{ref:ft,"data-testid":"funnel-scroll-body",sx:{flex:"1 1 auto",minHeight:0,width:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:{xs:"flex-start",md:Qe(T,Ot)},px:{xs:2.5,sm:3},pt:{xs:Ot?1.5:2.5,md:3},pb:Ot?{xs:"calc(92px + env(safe-area-inset-bottom))",sm:12}:{xs:4,md:6},overflowY:"auto"},children:[(0,k.jsx)(d.A,{elevation:0,"data-testid":"funnel-step-card",sx:{width:"100%",maxWidth:Et?{xs:560,sm:420}:560,flex:"0 0 auto",height:"auto",bgcolor:"#ffffff",borderRadius:{xs:"24px",md:"28px"},border:"1px solid #e8edf4",boxShadow:"0 24px 60px rgba(15, 23, 42, 0.08)",p:{xs:Et?2.5:Vt?1.75:2,md:4},overflow:"hidden"},children:(0,k.jsx)(l.A,{sx:{"@keyframes funnelFadeUp":{from:{opacity:0,transform:"translateY(10px)"},to:{opacity:1,transform:"none"}},animation:"funnelFadeUp 0.35s ease"},children:(()=>{switch(T){case"provider":return Bt();case"cert":return Ut();case"social":return(0,k.jsxs)(l.A,{children:[(0,k.jsx)(c.A,{variant:"h5",sx:{fontWeight:800,mb:.5,letterSpacing:"-0.03em"},children:t("funnel.social.title")}),(0,k.jsx)(c.A,{variant:"body2",color:"text.secondary",children:t("funnel.social.subtitle")}),(0,k.jsx)(se,{items:be,loading:ve}),(0,k.jsx)(p.A,{variant:"contained",fullWidth:!0,size:"large",onClick:jt,endIcon:(0,k.jsx)(_,{sx:{fontSize:18}}),sx:{mt:3},children:t("funnel.common.continue")})]});case"date":return Ft();case"role":return(0,k.jsx)(je,{options:tt,prefix:"funnel.role.options",selected:fe,onSelect:Ct,title:t("funnel.role.title"),subtitle:t("funnel.role.subtitle")});case"time":return(0,k.jsx)(je,{options:nt,prefix:"funnel.time.options",selected:pe,onSelect:kt,title:t("funnel.time.title"),subtitle:t("funnel.time.subtitle")});case"experience":return(0,k.jsx)(je,{options:rt,prefix:"funnel.experience.options",selected:me,onSelect:zt,title:t("funnel.experience.title"),subtitle:t("funnel.experience.subtitle")});case"benefits":return(0,k.jsxs)(l.A,{children:[(0,k.jsx)(c.A,{variant:"h5",sx:{fontWeight:800,mb:.5,textAlign:"center"},children:t("funnel.benefits.title")}),(0,k.jsx)(c.A,{variant:"body2",color:"text.secondary",sx:{mb:1.25,textAlign:"center"},children:t("funnel.benefits.subtitle")}),(0,k.jsx)(Pe,{}),(0,k.jsx)(p.A,{variant:"contained",fullWidth:!0,size:"large",onClick:_t,endIcon:(0,k.jsx)(_,{sx:{fontSize:18}}),sx:{mt:1.5},children:t("funnel.common.continue")})]});case"intro":return(0,k.jsxs)(l.A,{sx:{textAlign:"center"},children:[(0,k.jsx)(l.A,{sx:{width:84,height:84,borderRadius:"50%",bgcolor:"rgba(37,99,235,0.1)",display:"flex",alignItems:"center",justifyContent:"center",mx:"auto",mb:2},children:(0,k.jsx)(M.A,{color:"primary",sx:{fontSize:44}})}),(0,k.jsx)(c.A,{variant:"h5",sx:{fontWeight:800,mb:1},children:t("funnel.intro.title")}),(0,k.jsx)(c.A,{variant:"body1",color:"text.secondary",sx:{mb:3,maxWidth:420,mx:"auto"},children:t("funnel.intro.body")}),(0,k.jsx)(p.A,{variant:"contained",size:"large",fullWidth:!0,disabled:Me,onClick:It,children:Me?(0,k.jsx)(x.A,{size:22,color:"inherit"}):t("funnel.intro.cta")}),Ue&&(0,k.jsx)(g.A,{severity:"error",sx:{mt:2,textAlign:"left"},children:Ue})]});case"diagnostic":return(()=>{if(Me)return(0,k.jsxs)(l.A,{sx:{textAlign:"center",py:6},children:[(0,k.jsx)(x.A,{}),(0,k.jsx)(c.A,{sx:{mt:2},color:"text.secondary",children:t("funnel.diagnostic.loading")})]});if(Ue)return(0,k.jsxs)(l.A,{children:[(0,k.jsx)(g.A,{severity:"error",sx:{mb:2},children:Ue}),(0,k.jsx)(p.A,{variant:"contained",onClick:()=>mt(ne),children:t("funnel.common.retry")})]});const e=we[ze];if(!e)return null;const n=Lt.length>0,r=ze+1>=we.length;return(0,k.jsxs)(l.A,{children:[(0,k.jsxs)(f.A,{direction:"row",justifyContent:"space-between",sx:{mb:1},children:[(0,k.jsx)(c.A,{variant:"body2",color:"text.secondary",children:t("funnel.diagnostic.progress",{current:ze+1,total:we.length})}),(0,k.jsx)(b.A,{size:"small",label:e.domain,variant:"outlined"})]}),(0,k.jsx)(y.A,{variant:"determinate",value:(ze+1)/we.length*100,sx:{mb:3,borderRadius:1}}
1),(0,k.jsx)(G,{question:e,value:Lt,focusedIndex:Ie,onChange:Rt,onFocusedIndexChange:Le}),(0,k.jsx)(p.A,{variant:"contained",fullWidth:!0,size:"large",disabled:!n||He,onClick:Mt,sx:{mt:3},children:He?(0,k.jsx)(x.A,{size:22,color:"inherit"}):t(r?"funnel.diagnostic.finish":"funnel.diagnostic.next")})]})})();case"results":return(()=>{if(!Ke)return null;const e=Ke.domains||[];return(0,k.jsxs)(l.A,{children:[(0,k.jsxs)(l.A,{sx:{textAlign:{xs:"left",sm:"center"},mb:{xs:1.5,sm:2}},children:[(0,k.jsx)(c.A,{variant:"h5",sx:{fontWeight:800,fontSize:{xs:"1.15rem",sm:"1.5rem"},lineHeight:1.25},children:t("funnel.results.title")}),(0,k.jsx)(c.A,{variant:"body2",color:"text.secondary",sx:{mt:.5,fontSize:{xs:"0.8125rem",sm:"0.875rem"},lineHeight:1.45},children:t("funnel.results.subtitle",{total:Ke.total||we.length})})]}),(0,k.jsx)(De.Ay,{domains:e}),(0,De.xV)(e)?(0,k.jsx)(c.A,{"data-testid":"funnel-results-all-good-note",sx:{mb:{xs:1.5,sm:2},color:"#475569",WebkitTextFillColor:"#475569",fontSize:{xs:"0.8125rem",sm:"0.88rem"},lineHeight:1.45},children:t("funnel.results.allGoodNote")}):null,(0,k.jsx)(Fe,{certName:ie})]})})();case"plan":case"offer":return(()=>{if((0,E.Ao)()||lt)return(0,k.jsxs)(l.A,{sx:{textAlign:"center"},children:[(0,k.jsx)(c.A,{variant:"h5",sx:{fontWeight:800,mb:1},children:t("funnel.offer.expired.title")}),(0,k.jsx)(c.A,{variant:"body1",color:"text.secondary",sx:{mb:3},children:t("funnel.offer.expired.body")}),(0,k.jsx)(p.A,{variant:"contained",size:"large",onClick:Ht,children:t("funnel.offer.expired.cta")})]});const e=t("funnel.offer.benefits",{returnObjects:!0}),n=Boolean((0,$e.MP)()),r=function(e,t){return t?"INVITE_10":function(e){const t=(e||"").toUpperCase().replace(/[^A-Z0-9_]/g,"").slice(0,32);return t?"".concat(t,"_5_OFF"):"LAUNCH_5_OFF"}(e)}(ne,n),i=function(e){return e?.1:.05}(n),o="BRL"===st?"R$":"$",s=e=>"BRL"===st?"".concat(o).concat(e.toFixed(2).replace(".",",")):"".concat(o).concat(e.toFixed(2)),a=[{id:"pass",label:t("funnel.offer.plans.pass"),blurb:t("funnel.offer.passBlurb",{certification:ie}),orig:D.Ls[st],price:.95*D.Ls[st],suffix:t("funnel.offer.priceSuffix"),popular:!0},{id:"yearly",label:t("funnel.offer.plans.yearly"),blurb:t("funnel.offer.yearlyBlurb"),orig:D.DL[st].yearly,price:D.DL[st].yearly*(1-i),suffix:t("funnel.offer.perYear"),popular:!1}];return(0,k.jsxs)(l.A,{sx:{maxWidth:{xs:480,sm:400},mx:"auto"},children:[(0,k.jsxs)(l.A,{sx:{textAlign:"center",mb:{xs:1.25,sm:1.5}},children:[(0,k.jsx)(c.A,{variant:"h5",sx:{fontWeight:800,mb:.35,fontSize:{xs:"1.25rem",sm:"1.5rem"},letterSpacing:"-0.02em"},children:t("funnel.offer.title")}),(0,k.jsx)(c.A,{"data-testid":"funnel-offer-guarantee",sx:{fontWeight:800,fontSize:{xs:"0.85rem",sm:"0.95rem"},color:"#166534"},children:t("funnel.offer.guaranteeHeadline")}),(0,k.jsx)(c.A,{variant:"body2",color:"text.secondary",sx:{fontSize:{xs:"0.75rem",sm:"0.875rem"}},children:t("funnel.offer.guaranteeLine")})]}),(0,k.jsx)(l.A,{sx:{textAlign:"center",mb:{xs:1.25,sm:1.5}},children:(0,k.jsx)(qe,{onExpire:()=>ct(!0)})}),(0,k.jsxs)(f.A,{direction:"row",spacing:1,alignItems:"center",justifyContent:"center","data-testid":"funnel-offer-coupon","data-bg":"transparent",sx:{mb:{xs:1,sm:1.25},px:.25,py:.25,borderRadius:"999px",bgcolor:"transparent",width:"fit-content",mx:"auto"},children:[(0,k.jsx)(W,{sx:{fontSize:20,color:"#0f172a"}}),(0,k.jsx)(c.A,{sx:{fontWeight:700,color:"#0f172a",letterSpacing:"0.01em"},children:r}),(0,k.jsx)(l.A,{sx:{width:20,height:20,borderRadius:"50%",bgcolor:"#86efac",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,k.jsx)(R.A,{sx:{fontSize:14,color:"#0f172a"}})})]}),(0,k.jsx)(f.A,{spacing:1,sx:{mb:{xs:1,sm:1.25}},children:a.map(e=>{const n=dt===e.id;return(0,k.jsxs)(d.A,{variant:"outlined","data-testid":"funnel-offer-plan-".concat(e.id),onClick:()=>ut(e.id),sx:{p:0,overflow:"hidden",cursor:"pointer",borderWidth:2,borderColor:n?"primary.main":"divider",bgcolor:n?"rgba(37,99,235,0.06)":"background.paper",position:"relative",transition:"all 0.15s ease"},children:[e.popular&&(0,k.jsx)(l.A,{"data-testid":"funnel-offer-most-popular",sx:{bgcolor:"#86efac",color:"#0f172a",textAlign:"center",py:{xs:.25,sm:.4},px:1},children:(0,k.jsx)(c.A,{sx:{fontWeight:800,fontSize:"0.68rem",letterSpacing:"0.02em"},children:t("funnel.offer.mostPopular")})}),(0,k.jsxs)(f.A,{direction:"row",justifyContent:"space-between",alignItems:"center",gap:1.25,sx:{p:1.5},children:[(0,k.jsxs)(l.A,{sx:{minWidth:0},children:[(0,k.jsx)(c.A,{sx:{fontWeight:800,fontSize:{xs:"0.95rem",sm:"1rem"}},children:e.label}),(0,k.jsx)(c.A,{variant:"body2",color:"text.secondary",sx:{mt:.15,fontSize:{xs:"0.75rem",sm:"0.8rem"},lineHeight:1.3},children:e.blurb})]}),(0,k.jsxs)(l.A,{sx:{textAlign:"right",flexShrink:0},children:[(0,k.jsx)(c.A,{variant:"body2","data-testid":"funnel-offer-price-original",sx:{color:"#6b7280",textDecoration:"line-through",textDecorationColor:"#f87171",textDecorationThickness:"2px",lineHeight:1,fontSize:{xs:"0.68rem",sm:"0.8rem"}},children:s(e.orig)}),(0,k.jsxs)(c.A,{variant:"h5",sx:{fontWeight:800,lineHeight:1.1,fontSize:{xs:"1.15rem",sm:"1.35rem"}},children:[s(e.price),(0,k.jsxs)(c.A,{component:"span",variant:"body2",color:"text.secondary",children:[" ",e.suffix]})]})]})]})]},e.id)})}),(0,k.jsx)(Ee,{label:t("funnel.offer.paySafe")}),(0,k.jsx)(Ve,{title:t("funnel.offer.paceTitle"),subtitle:t("funnel.offer.paceSubtitle"),selfLabel:t("funnel.offer.paceSelf"),cert
1simLabel:t("funnel.offer.paceCertsim"),certifiedLabel:t("funnel.offer.paceCertified")}),(0,k.jsx)(d.A,{variant:"outlined",sx:{px:1.5,py:1,mt:{xs:1.5,sm:2}},children:(0,k.jsx)(v.A,{dense:!0,disablePadding:!0,children:Array.isArray(e)&&e.map((e,t)=>(0,k.jsxs)(A.Ay,{disableGutters:!0,sx:{py:.25},children:[(0,k.jsx)(j.A,{sx:{minWidth:28},children:(0,k.jsx)(L.A,{color:"success",fontSize:"small"})}),(0,k.jsx)(w.A,{primary:e,primaryTypographyProps:{variant:"body2",sx:{lineHeight:1.35}}})]},t))})})]})})();case"register":return(0,k.jsx)(Ne.default,{embedded:!0});default:return null}})()},T)}),Et?(0,k.jsx)(p.A,{variant:"text",fullWidth:!0,size:"small",onClick:()=>Tt("free"),sx:{mt:1,mb:.5,minHeight:36,maxWidth:420},children:t("funnel.offer.ctaSecondary")}):null]}),Et?(0,k.jsx)(l.A,{"data-testid":"funnel-offer-actions","data-pinned":"true","data-bg":"transparent",sx:{position:"absolute",left:0,right:0,bottom:0,zIndex:2,width:"100%",px:{xs:2.5,sm:3},pt:0,pb:{xs:"max(12px, env(safe-area-inset-bottom))",sm:2.5},bgcolor:"transparent",background:"none",boxShadow:"none",display:"flex",justifyContent:"center",pointerEvents:"none"},children:(0,k.jsx)(p.A,{variant:"contained",fullWidth:!0,size:"large",disableElevation:!0,onClick:()=>Tt(dt),endIcon:(0,k.jsx)(_,{}),sx:{maxWidth:420,pointerEvents:"auto",border:0,boxShadow:"0 12px 28px rgba(37, 99, 235, 0.32)","&:hover":{boxShadow:"0 14px 32px rgba(37, 99, 235, 0.4)"}},children:t("funnel.offer.ctaPrimary")})}):null,Vt?(0,k.jsx)(l.A,{"data-testid":"funnel-results-actions","data-pinned":"true",sx:{position:"absolute",left:0,right:0,bottom:0,zIndex:2,width:"100%",px:{xs:2.5,sm:3},pt:0,pb:{xs:"max(12px, env(safe-area-inset-bottom))",sm:2.5},bgcolor:"transparent",display:"flex",justifyContent:"center",pointerEvents:"none"},children:(0,k.jsx)(p.A,{variant:"contained",fullWidth:!0,size:"large",disableElevation:!0,onClick:ht,endIcon:(0,k.jsx)(_,{sx:{fontSize:18}}),sx:{maxWidth:560,pointerEvents:"auto",border:0,boxShadow:"0 12px 28px rgba(37, 99, 235, 0.32)","&:hover":{boxShadow:"0 14px 32px rgba(37, 99, 235, 0.4)"}},children:t("funnel.common.continue")})}):null]})})}},44005(e,t,n){n.d(t,{Ay:()=>f,xV:()=>u});n(9950);var r=n(27321),i=n(20900),o=n(85105),s=n(38796),a=n(91521),l=n(55030),c=n(44414);function d(e){var t;return(null!==(t=e.percentage)&&void 0!==t?t:0)>=70?"ok":"review"}function u(e){return e.length>0&&e.every(e=>"ok"===d(e))}const f=e=>{let{domains:t}=e;const{t:n}=(0,l.Bd)(),u=function(e){return[...e].sort((e,t)=>{var n,r;const i=null!==(n=e.percentage)&&void 0!==n?n:0,o=null!==(r=t.percentage)&&void 0!==r?r:0;return i!==o?i-o:(e.name||"").localeCompare(t.name||"")})}(t);return(0,c.jsxs)(r.A,{children:[(0,c.jsx)(i.A,{variant:"h6",sx:{fontWeight:700,mb:{xs:.75,sm:1},color:"#0f172a",fontSize:{xs:"0.9375rem",sm:"1.25rem"}},children:n("funnel.results.domainsTitle")}),(0,c.jsx)(o.A,{spacing:{xs:.75,sm:1},sx:{mb:{xs:2,sm:3}},children:u.map(e=>{const t="ok"===d(e);return(0,c.jsx)(s.A,{variant:"outlined","data-testid":"funnel-domain-".concat(e.name),sx:{p:{xs:1,sm:1.5}},children:(0,c.jsxs)(o.A,{direction:"row",spacing:{xs:.75,sm:1.25},alignItems:"center",children:[(0,c.jsx)(r.A,{sx:{width:10,height:10,borderRadius:"50%",bgcolor:t?"#16a34a":"#f59e0b",flexShrink:0}}),(0,c.jsx)(i.A,{variant:"body2",sx:{fontWeight:600,flex:1,fontSize:{xs:"0.75rem",sm:"0.875rem"},lineHeight:1.3},children:e.name}),(0,c.jsx)(a.A,{size:"small",label:n(t?"funnel.results.signal.good":"funnel.results.signal.review"),sx:{bgcolor:t?"#dcfce7":"#fef3c7",color:t?"#166534":"#92400e",fontWeight:700,height:{xs:22,sm:24},fontSize:{xs:"0.625rem",sm:"0.75rem"},"& .MuiChip-label":{px:{xs:.75,sm:1}}}})]})},e.name)})})]})}},23492(e,t,n){n.d(t,{Lg:()=>c,Mm:()=>l,Rd:()=>u,S1:()=>f,_v:()=>x,ah:()=>a,eX:()=>s,fM:()=>d,ow:()=>o,uE:()=>i,v$:()=>r});const r=90,i=!0,o="yearly",s={USD:{monthly:14,quarterly:29,yearly:79},BRL:{monthly:49,quarterly:99,yearly:229}},a={USD:19,BRL:59},l={USD:12,BRL:39},c={USD:{monthly:"price_1ULmDXC5JoOtxKfCrV5PPh0a",quarterly:"price_1ULmDdC5JoOtxKfCYqkH2SMK",yearly:"price_1ULmDiC5JoOtxKfC4SrMmIA2"},BRL:{monthly:"price_1ULmDUC5JoOtxKfCEYYfebZc",quarterly:"price_1ULmDaC5JoOtxKfCWW9faK4G",yearly:"price_1ULmDgC5JoOtxKfCUm9k0Ca7"}},d={USD:"price_1ULmDLC5JoOtxKfCANdNs1GR",BRL:"price_1ULmDJC5JoOtxKfCAGybC7X5"},u={USD:"price_1ULmDRC5JoOtxKfCUITD52pE",BRL:"price_1ULmDOC5JoOtxKfCZOV0mrVm"},f=(new Set(["price_1TXPD2C5JoOtxKfCFSQmpXuv","price_1TXPD4C5JoOtxKfCHeDuAh1Q","price_1TXPD3C5JoOtxKfCqUBh40na","price_1TXPD5C5JoOtxKfCEiWdtb24","price_1TXPD3C5JoOtxKfCNc6bNLZQ","price_1TXPD6C
15JoOtxKfCFOh1ve2i","price_1U4oyEC5JoOtxKfCVJ8havEC","price_1U4oyvC5JoOtxKfCI2XpuDkC","price_1U57HAC5JoOtxKfCJfm4GeAY","price_1U57I8C5JoOtxKfCBkHxFSL5"]),e=>"BRL"===e?"R$":"$"),x=(e,t)=>{const n="yearly"===t?12:"quarterly"===t?3:1;if(1===n)return 0;const r=s[e],i=r.monthly*n;return Math.round((i-r[t])/i*100)}},49708(e,t,n){n.d(t,{KH:()=>m,Pq:()=>g,SC:()=>h});var r=n(29246),i=n(29344),o=n(63229),s=n(23492),a=n(80747);const l="/api/v1",c="already_subscribed",d="https://app.certsim.ai",u=new Set(["certsim.io","www.certsim.io","certsim.app","www.certsim.app","certsim.ai","www.certsim.ai","app.certsim.io","app.certsim.app"]),f=()=>{return e=i.Ii.isNativePlatform(),t=window.location.hostname,n=window.location.origin,e||u.has(t.toLowerCase())?d:n;var e,t,n},x=async(e,t,o)=>{const s=f(),a=i.Ii.isNativePlatform(),d=Boolean(t),u=a?"certsim://payment-success":d?"".concat(s,"/app?pass_success=true&certification=").concat(encodeURIComponent(t)):"".concat(s,"/app?subscription_success=true&sub_flow=paid"),x=a?"certsim://payment-cancel":"".concat(s,"/subscription?canceled=true"),{Auth:p}=await Promise.all([n.e(9658),n.e(6433)]).then(n.bind(n,6433));let h;try{h=(await p.currentSession()).getIdToken().getJwtToken()}catch(g){console.warn("[Stripe] Session expired, attempting refresh");try{const e=await p.currentAuthenticatedUser({bypassCache:!0});h=await new Promise((t,n)=>{e.getSession((e,r)=>{e?n(e):t(r.getIdToken().getJwtToken())})})}catch(b){throw console.error("[Stripe] Failed to refresh session, user must re-login"),new Error("Session expired. Please log in again to subscribe.")}}const m={priceId:e,success_url:u,cancel_url:x};d&&(m.certificationType=t),o&&(m.launch_promo_cert=o);try{return(await r.A.post("".concat(l,"/stripe/create-checkout-session"),m,{headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(h)}})).data}catch(y){throw(e=>{var t;const n=null===e||void 0===e?void 0:e.response;if(409===(null===n||void 0===n?void 0:n.status)&&(null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.error)===c){const e=new Error(c);return e.name="AlreadySubscribedError",e}return e instanceof Error?e:new Error("Failed to create checkout session")})(y)}},p=async()=>{const{Auth:e}=await Promise.all([n.e(9658),n.e(6433)]).then(n.bind(n,6433)),t=(await e.currentSession()).getIdToken().getJwtToken();return(await r.A.post("".concat(l,"/stripe/create-portal-session"),{return_url:"".concat(f(),"/app/dashboard")},{headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(t)}})).data},h=async(e,t,r)=>{try{const{url:s}=await x(e,t,r);t&&(0,a.RZ)(t);const l=t?"/app?pass_success=true&certification=".concat(encodeURIComponent(t)):"/app?subscription_success=true&sub_flow=paid";if(i.Ii.isNativePlatform()){const{backupAuthToPreferences:e}=await n.e(1680).then(n.bind(n,51680));await e(),console.log("[Stripe] Session backed up before opening browser");let t=null,r=!1,i=!1,a=!1;const c=()=>{r||(r=!0,t&&clearInterval(t))},d=await o.P.addListener("browserFinished",()=>{a=!0,c(),d.remove();const e="true"===sessionStorage.getItem("stripe_payment_success"),t="true"===sessionStorage.getItem("stripe_payment_canceled");sessionStorage.removeItem("stripe_payment_success"),sessionStorage.removeItem("stripe_payment_canceled"),i||e?(console.log("[Stripe] Browser closed after payment - redirecting to success"),window.location.href=l):t?(console.log("[Stripe] Browser closed with cancel deep link"),window.location.href="/subscription?canceled=true"):(console.log("[Stripe] Browser closed without payment - returning to subscription page"),window.location.href="/subscription?canceled=true")});await o.P.open({url:s,toolbarColor:"#667eea"});const{default:u}=await Promise.resolve().then(n.bind(n,82932)),f=Date.now();t=setInterval(async()=>{if(!r&&!a){if(Date.now()-f>18e4)return c(),d.remove(),void console.log("[Stripe] Payment polling timeout - 3 minutes elapsed");try{var e;if(null!==(e=(await u.post("/payments/activate")).data)&&void 0!==e&&e.activated){i=!0,c(),d.remove(),console.log("[Stripe] Payment confirmed - closing browser and redirecting");try{await o.P.close()}catch(t){}window.location.href=l}}catch(n){}}},3e3)}else window.location.href=s}catch(s){throw console.error("[Stripe] Error redirecting to checkout:",s),s}},m=async()=>{try{const{url:e}=await p();i.Ii.isNativePlatform()?await o.P.open({url:e}):window.location.href=e}catch(e){throw console.error("[Stripe] Error redirecting to portal:",e),e}},g={PRO_MONTHLY:s.Lg.USD.monthly,USD:s.Lg.USD,BRL:s.Lg.BRL,PASS:{usd:s.fM.USD,brl:s.fM.BRL},PASS_ADD:{usd:s.Rd.USD,brl:s.Rd.BRL}}},13271(e,t,n){n.d(t,{DL:()=>o,Ls:()=>s,Pq:()=>a,dq:()=>u,wi:()=>f});var r=n(23492),i=n(51673);const o=r.eX,s=r.ah,a=r.Lg,l=e=>{const t=o[e],n=a[e];
1return{currency:e,symbol:(0,r.S1)(e),countryCode:"BRL"===e?"BR":"US",plans:{monthly:{priceId:n.monthly,amount:t.monthly,period:"/month",periodLabel:"Monthly"},quarterly:{priceId:n.quarterly,amount:t.quarterly,period:"/3 months",periodLabel:"Quarterly",savings:(0,r._v)(e,"quarterly"),recommended:"quarterly"===r.ow},yearly:{priceId:n.yearly,amount:t.yearly,period:"/year",periodLabel:"Annual",savings:(0,r._v)(e,"yearly"),recommended:"yearly"===r.ow}}}};a.USD.monthly,(0,r.S1)("USD"),String(o.USD.monthly),a.BRL.monthly,(0,r.S1)("BRL"),String(o.BRL.monthly);let c=null;const d=()=>{const e=Intl.DateTimeFormat().resolvedOptions().timeZone;i.A.debug("[Currency] Timezone detected:",e);return e.includes("Sao_Paulo")||e.includes("Brasilia")||e.includes("Manaus")||e.includes("Fortaleza")||e.includes("Recife")||e.includes("Bahia")||e.includes("America/Sao_Paulo")||e.includes("America/Fortaleza")?"BR":"US"},u=async()=>c||(c=d(),i.A.debug("[Currency] Detected country from timezone:",c),c),f=async()=>{const e=await u();return l("BR"===e?"BRL":"USD")}},53352(e,t,n){n.d(t,{Fl:()=>i,Re:()=>d,S9:()=>l,Y0:()=>o,Z:()=>c,ab:()=>a,eW:()=>s});const r=new Set(["text","search","email","password","number","url","tel","date","datetime-local","month","time","week"]);function i(e,t,n){if(!e.length||!t)return 0;if(n){const n=t.split(",").filter(Boolean),r=e.findIndex(e=>n.includes(e));return r>=0?r:0}const r=e.findIndex(e=>e===t);return r>=0?r:0}function o(e){return"ArrowDown"===e.key||"ArrowRight"===e.key?{type:"move",direction:1}:"ArrowUp"===e.key||"ArrowLeft"===e.key?{type:"move",direction:-1}:"Enter"===e.key?{type:"confirm"}:"Backspace"===e.key?{type:"back"}:" "===e.key?{type:"toggle"}:null}function s(e){return e.confirmSubmitOpen?"submit":e.showImmediateFeedback&&!e.alreadyChecked?e.hasSelection?"check":"ignore":e.hasSelection?e.isLastQuestion&&e.allQuestionsReadyToSubmit?"openConfirm":"next":"ignore"}function a(e){if(!e||!(e instanceof HTMLElement))return!1;const t=e.tagName;return"BUTTON"===t||"A"===t||"button"===e.getAttribute("role")}function l(e){return!!(e.altKey||e.ctrlKey||e.metaKey||e.isComposing)||(!!function(e){if(!e||!(e instanceof HTMLElement))return!1;if(e.isContentEditable)return!0;const t=e.tagName;if("TEXTAREA"===t||"SELECT"===t)return!0;if("INPUT"!==t)return!1;const n=e.type||"text";return r.has(n)}(e.target)||e.target instanceof HTMLElement&&Boolean(e.target.closest('[role="dialog"], [role="menu"]')))}function c(e,t){return!("Enter"!==e.key||e.repeat||!t)&&(!l(e)&&!a(e.target))}function d(e,t){if(!t||"back"===t.type||e.optionCount<=0||0===e.optionValues.length)return null;if("move"===t.type){var n;if(!e.isMultiple&&!e.hasSelection){const t=e.optionValues[0];return t?{focusedIndex:0,selectValue:t}:null}const s=(r=e.focusedIndex,i=e.optionCount,o=t.direction,i<=0?0:((Number.isFinite(r)?r:0)+o+i)%i);return{focusedIndex:s,selectValue:e.isMultiple?null:null!==(n=e.optionValues[s])&&void 0!==n?n:null}}var r,i,o;const s=e.optionValues[e.focusedIndex];return s?{focusedIndex:e.focusedIndex,selectValue:s}:null}},24689(e,t,n){n.d(t,{g:()=>l});var r=n(89379),i=n(44733),o=n(65593),s=n(5530),a=n(41305);function l(e){var t,n;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"===typeof window)return;const c=(0,o.H_)(),d=(0,r.A)((0,r.A)({funnel:"diagnostic_v1"},c?{landing_variant:c}:{}),l);if(window.dataLayer=window.dataLayer||[],window.dataLayer.push((0,r.A)({event:e},d)),null===(t=(n=window).gtag)||void 0===t||t.call(n,"event",e,d),"funnel_paywall_viewed"===e){const e=(0,i.j4)();e&&(0,i.oz)(e,{value:0,currency:"USD"});const t="string"===typeof l.cert?l.cert:void 0;s.U.trackViewContent(t?{content_name:t}:void 0)}if("funnel_checkout_redirected"===e){var u,f;const e=(0,i.mI)();e&&(0,i.oz)(e,{value:0,currency:"USD"}),null===(u=(f=window).gtag)||void 0===u||u.call(f,"event","begin_checkout",d);const t="string"===typeof l.cert?"".concat(l.cert,"_checkout"):void 0;s.U.trackInitiateCheckout(t)}(0,a.Jt)(e,d)}},44234(e,t,n){n.d(t,{e:()=>s,s:()=>o});var r=n(51673);const i="certsim_funnel_diagnostic_teaser_v1";function o(e){var t;if(null!==e&&void 0!==e&&null!==(t=e.domains)&&void 0!==t&&t.length)try{localStorage.setItem(i,JSON.stringify({score:e.score,passing_score:e.passing_score,domains:e.domains}))}catch(n){r.A.warn("[Funnel] Failed to snapshot diagnostic teaser:",n)}}function s(){try{const e=localStorage.getItem(i);if(!e)return null;const t=JSON.parse(e);return Array.isArray(t.domains)&&0!==t.domains.length?t:null}catch(e){return r.A.warn("[Funnel] Failed to read diagnostic teaser:",e),null}}},80747(e,t,n){n.d(t,{BK:()=>f,M3:()=>d,RZ:()=>s,__:()=>l,lr:()=>u,nQ:()=>c,oy:()=>a});var r=n(94587);const i=["AWS","AZURE","GOOGLE","DATABRICKS","SALESFORCE","CISCO","SAP","LPI","ANTHROPIC","GITHUB","OTHER"],o="pending_pass_certification";function s(e){"undefined"!==typeof window&&e&&sessionStorage.setItem(o,e)}function a(e){const t=new URLSearchParams(e),n=t.get("certification"),r="undefined"===typeof window?null:sessionStorage.getItem(o);return{success:"true"===t.get("pass_success"),certification:n||r}}function l(){"undefined"!==typeof window&&sessionStorage.removeItem(o)}function c(){if("undefined"===typeof document)return;const e=document.getElementById("root");null===e||void 0===e||e.removeAttribute("aria-hidden"),null===e||void 0===e||e.removeAttribute("data-aria-hidden"),document.body.style.removeProperty("overflow"),document.body.style.removeProperty("padding-right")}function d(e){var t,n;if(null===e||void 0===e||!e.length)return null;const r=e.filter(e=>Boolean(e.certification_type)&&("passed"===e.status||"failed"===e.status));if(r.sort((e,t)=>
1{const n=e.completed_at?new Date(e.completed_at).getTime():0;return(t.completed_at?new Date(t.completed_at).getTime():0)-n}),null!==(t=r[0])&&void 0!==t&&t.certification_type)return r[0].certification_type;const i=e.filter(e=>"in_progress"===e.status&&Boolean(e.certification_type));return i.sort((e,t)=>{const n=e.started_at?new Date(e.started_at).getTime():0;return(t.started_at?new Date(t.started_at).getTime():0)-n}),(null===(n=i[0])||void 0===n?void 0:n.certification_type)||null}function u(e){const t=new Map;return e.forEach(e=>{const n=(0,r.WC)(e.certification_id),i=t.get(n)||[];i.push(e),t.set(n,i)}),i.filter(e=>t.has(e)).map(e=>({provider:e,label:(0,r.xr)(e)||e,certifications:t.get(e)||[]}))}function f(e){var t,n;const i=e.certificationIds.filter(Boolean);if(0===i.length)return null;const o=new Set(e.ownedCertificationIds||[]),s=i.filter(e=>!o.has(e));if(0===s.length)return null;if(e.lastTaken&&s.includes(e.lastTaken))return e.lastTaken;if(e.lastTaken){const t=(0,r.WC)(e.lastTaken),n=s.find(e=>(0,r.WC)(e)===t);if(n)return n}return(null===(t=u(s.map(e=>({certification_id:e})))[0])||void 0===t||null===(n=t.certifications[0])||void 0===n?void 0:n.certification_id)||s[0]}},20795(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)([(0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),(0,i.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime")},29566(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)((0,i.jsx)("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V10h14zM9 14H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2zm-8 4H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2z"}),"CalendarMonth")},74946(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)((0,i.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")}
1,27421(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)((0,i.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline")},98011(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)((0,i.jsx)("path",{d:"M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2zm10 14.5V20H8v-3.5l4-4zm-4-5-4-4V4h8v3.5z"}),"HourglassEmpty")},40556(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)((0,i.jsx)("path",{d:"m16 5-1.42 1.42-1.59-1.59V16h-1.98V4.83L9.42 6.42 8 5l4-4zm4 5v11c0 1.1-.9 2-2 2H6c-1.11 0-2-.9-2-2V10c0-1.11.89-2 2-2h3v2H6v11h12V10h-3V8h3c1.1 0 2 .89 2 2"}),"IosShare")},34891(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)((0,i.jsx)("path",{d:"M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7m2.85 11.1-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1"}),"LightbulbOutlined")},25059(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)((0,i.jsx)("path",{d:"M17 10.43V2H7v8.43c0 .35.18.68.49.86l4.18 2.51-.99 2.34-3.41.29 2.59 2.24L9.07 22 12 20.23 14.93 22l-.78-3.33 2.59-2.24-3.41-.29-.99-2.34 4.18-2.51c.3-.18.48-.5.48-.86m-4 1.8-1 .6-1-.6V3h2z"}),"MilitaryTech")},42373(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)([(0,i.jsx)("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4z"},"0"),(0,i.jsx)("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-5.99 13c-.59 0-1.05-.47-1.05-1.05 0-.59.47-1.04 1.05-1.04.59 0 1.04.45 1.04 1.04-.01.58-.45 1.05-1.04 1.05m2.5-6.17c-.63.93-1.23 1.21-1.56 1.81-.13.24-.18.4-.18 1.18h-1.52c0-.41-.06-1.08.26-1.65.41-.73 1.18-1.16 1.63-1.8.48-.68.21-1.94-1.14-1.94-.88 0-1.32.67-1.5 1.23l-1.37-.57C11.51 5.96 12.52 5 13.99 5c1.23 0 2.08.56 2.51 1.26.37.61.58 1.73.01 2.57"},"1")],"Quiz")},51593(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)([(0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),(0,i.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"Schedule")},83733(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)((0,i.jsx)("path",{d:"M6.99 11 3 15l3.99 4v-3H14v-2H6.99zM21 9l-3.99-4v3H10v2h7.01v3z"}),"SwapHoriz")},38812(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)((0,i.jsx)("path",{d:"m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"}),"TrendingUp")},24184(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)((0,i.jsx)("path",{d:"m23 12-2.44-2.79.34-3.69-3.61-.82-1.89-3.2L12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 12l2.44 2.79-.34 3.7 3.61.82L8.6 22.5l3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69zm-12.91 4.72-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48z"}),"Verified")},92182(e,t,n){n.d(t,{A:()=>o});var r=n(47666),i=n(44414);const o=(0,r.A)((0,i.jsx)("path",{d:"M9.68 13.69 12 11.93l2.31 1.76-.88-2.85L15.75 9h-2.84L12 6.19 11.09 9H8.25l2.31 1.84zM20 10c0-4.42-3.58-8-8-8s-8 3.58-8 8c0 2.03.76 3.87 2 5.28V23l6-2 6 2v-7.72c1.24-1.41 2-3.25 2-5.28m-8-6c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6 2.69-6 6-6"}),"WorkspacePremium")},5310(e,t,n){n.d(t,{A:()=>j});var r=n(80045),i=n(89379),o=n(9950),s=n(72004),a=n(65698),l=n(96195),c=n(25853),d=n(48802),u=n(47666),f=n(44414);const x=(0,u.A)((0,f.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var p=n(54212),h=n(43396);function m(e){return(0,h.Ay)("MuiAvatar",e)}(0,p.A)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var g=n(61670);const b=["alt","children","className","component","slots","slotProps","imgProps","
1sizes","src","srcSet","variant"],y=(0,l.Ay)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((0,c.A)(e=>{let{theme:t}=e;return{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:(0,i.A)({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:(0,i.A)({backgroundColor:t.palette.grey[400]},t.applyStyles("dark",{backgroundColor:t.palette.grey[600]})))}]}})),v=(0,l.Ay)("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),A=(0,l.Ay)(x,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"});const j=o.forwardRef(function(e,t){const n=(0,d.b)({props:e,name:"MuiAvatar"}),{alt:l,children:c,className:u,component:x="div",slots:p={},slotProps:h={},imgProps:j,sizes:w,src:S,srcSet:C,variant:k="circular"}=n,z=(0,r.A)(n,b);let _=null;const I=(0,i.A)((0,i.A)({},n),{},{component:x,variant:k}),L=function(e){let{crossOrigin:t,referrerPolicy:n,src:r,srcSet:i}=e;const[s,a]=o.useState(!1);return o.useEffect(()=>{if(!r&&!i)return;a(!1);let e=!0;const o=new Image;return o.onload=()=>{e&&a("loaded")},o.onerror=()=>{e&&a("error")},o.crossOrigin=t,o.referrerPolicy=n,o.src=r,i&&(o.srcset=i),()=>{e=!1}},[t,n,r,i]),s}((0,i.A)((0,i.A)((0,i.A)({},j),"function"===typeof h.img?h.img(I):h.img),{},{src:S,srcSet:C})),R=S||C,W=R&&"error"!==L;I.colorDefault=!W,delete I.ownerState;const M=(e=>{const{classes:t,variant:n,colorDefault:r}=e,i={root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,a.A)(i,m,t)})(I),[T,H]=(0,g.A)("root",{ref:t,className:(0,s.A)(M.root,u),elementType:y,externalForwardedProps:(0,i.A)({slots:p,slotProps:h,component:x},z),ownerState:I}),[P,D]=(0,g.A)("img",{className:M.img,elementType:v,externalForwardedProps:{slots:p,slotProps:{img:(0,i.A)((0,i.A)({},j),h.img)}},additionalProps:{alt:l,src:S,srcSet:C,sizes:w},ownerState:I}),[B,U]=(0,g.A)("fallback",{className:M.fallback,elementType:A,externalForwardedProps:{slots:p,slotProps:h},shouldForwardComponentProp:!0,ownerState:I});return _=W?(0,f.jsx)(P,(0,i.A)({},D)):c||0===c?c:R&&l?l[0]:(0,f.jsx)(B,(0,i.A)({},U)),(0,f.jsx)(T,(0,i.A)((0,i.A)({},H),{},{children:_}))})},10614(e,t,n){n.d(t,{A:()=>m});var r=n(89379),i=n(80045),o=n(9950),s=n(72004),a=n(65698),l=n(96195),c=n(25853),d=n(48802),u=n(72876),f=n(89079),x=n(44414);const p=["className"],h=(0,l.Ay)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((0,c.A)(e=>{let{theme:t}=e;return{minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}})),m=o.forwardRef(function(e,t){const n=(0,d.b)({props:e,name:"MuiListItemIcon"}),{className:l}=n,c=(0,i.A)(n,p),m=o.useContext(f.A),g=(0,r.A)((0,r.A)({},n),{},{alignItems:m.alignItems}),b=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,a.A)(r,u.f,n)})(g);return(0,x.jsx)(h,(0,r.A)({className:(0,s.A)(b.root,l),ownerState:g,ref:t},c))})},61106(e,t,n){n.d(t,{A:()=>b});var r=n(89379),i=n(80045),o=n(9950),s=n(72004),a=n(65698),l=n(20900),c=n(87358),d=n(89079),u=n(96195),f=n(48802),x=n(96432),p=n(61670),h=n(44414);const m=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps","slots","slotProps"],g=(0,u.Ay)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& .".concat(x.A.primary)]:t.primary},{["& .".concat(x.A.secondary)]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[".".concat(c.A.root,":where(& .").concat(x.A.primary,")")]:{dis
1play:"block"},[".".concat(c.A.root,":where(& .").concat(x.A.secondary,")")]:{display:"block"},variants:[{props:e=>{let{ownerState:t}=e;return t.primary&&t.secondary},style:{marginTop:6,marginBottom:6}},{props:e=>{let{ownerState:t}=e;return t.inset},style:{paddingLeft:56}}]}),b=o.forwardRef(function(e,t){const n=(0,f.b)({props:e,name:"MuiListItemText"}),{children:c,className:u,disableTypography:b=!1,inset:y=!1,primary:v,primaryTypographyProps:A,secondary:j,secondaryTypographyProps:w,slots:S={},slotProps:C={}}=n,k=(0,i.A)(n,m),{dense:z}=o.useContext(d.A);let _=null!=v?v:c,I=j;const L=(0,r.A)((0,r.A)({},n),{},{disableTypography:b,inset:y,primary:!!_,secondary:!!I,dense:z}),R=(e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:o}=e,s={root:["root",n&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,a.A)(s,x.b,t)})(L),W={slots:S,slotProps:(0,r.A)({primary:A,secondary:w},C)},[M,T]=(0,p.A)("root",{className:(0,s.A)(R.root,u),elementType:g,externalForwardedProps:(0,r.A)((0,r.A)({},W),k),ownerState:L,ref:t}),[H,P]=(0,p.A)("primary",{className:R.primary,elementType:l.A,externalForwardedProps:W,ownerState:L}),[D,B]=(0,p.A)("secondary",{className:R.secondary,elementType:l.A,externalForwardedProps:W,ownerState:L});return null==_||_.type===l.A||b||(_=(0,h.jsx)(H,(0,r.A)((0,r.A)({variant:z?"body2":"body1",component:null!==P&&void 0!==P&&P.variant?void 0:"span"},P),{},{children:_}))),null==I||I.type===l.A||b||(I=(0,h.jsx)(D,(0,r.A)((0,r.A)({variant:"body2",color:"textSecondary"},B),{},{children:I}))),(0,h.jsxs)(M,(0,r.A)((0,r.A)({},T),{},{children:[_,I]}))})}}]);

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.