1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4870],{1016:(e,t,n)=>{"use strict";n.d(t,{Y:()=>j,A:()=>f});var i=n(6029),r=n(66425),a=n(80387),s=n(55729),l=n(99095),o=n(47849),c=n(18571),h=n(49377),u=n(40313),d=n(94283),m=n(88131),p=n(3495),g=n(82203),x=n.n(g),b=n(14759);(0,o.P)(r.az);let v=(0,o.P)(h.s),y=e=>{let{delay:t=5e3,position:n="bottom-right",testUrl:a="/assessment",forceShow:l=!1}=e,[o,g]=(0,s.useState)(l),[y,j]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{try{if(!l){let e=localStorage.getItem("ninjaAdvisorDismissed");if("true"===e)return}let e=setTimeout(()=>{g(!0)},l?0:t);return()=>clearTimeout(e)}catch(n){console.error("Ninja Advisor localStorage error:",n);let e=setTimeout(()=>{g(!0)},t);return()=>clearTimeout(e)}},[t,l]),y)?null:(0,i.jsx)(c.N,{children:o&&(0,i.jsxs)(v,{position:"fixed",alignItems:"center",zIndex:1e3,...(()=>{switch(n){case"bottom-right":default:return{bottom:"24px",right:"24px"};case"bottom-left":return{bottom:"24px",left:"24px"};case"top-right":return{top:"24px",right:"24px"};case"top-left":return{top:"24px",left:"24px"}}})(),initial:(()=>{switch(n){case"bottom-right":case"top-right":default:return{x:"100%",opacity:0}
1;case"bottom-left":case"top-left":return{x:"-100%",opacity:0}}})(),animate:{x:0,opacity:1},exit:(()=>{switch(n){case"bottom-right":case"top-right":default:return{x:"100%",opacity:0};case"bottom-left":case"top-left":return{x:"-100%",opacity:0}}})(),transition:{type:"spring",damping:20,stiffness:300},filter:"drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15))",children:[(0,i.jsx)(u.$,{position:"absolute",top:"-8px",right:"-8px",width:"28px",height:"28px",borderRadius:"50%",bg:"red.500",color:"white",fontSize:"16px",lineHeight:"1",zIndex:1002,p:0,minW:"28px",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.2)",_hover:{bg:"red.600",transform:"scale(1.05)"},_active:{bg:"red.700",transform:"scale(0.95)"},transition:"all 0.2s ease",onClick:()=>{g(!1),j(!0);try{localStorage.setItem("ninjaAdvisorDismissed","true"),setTimeout(()=>{localStorage.removeItem("ninjaAdvisorDismissed")},864e5)}catch(e){console.error("Error setting localStorage:",e)}},"aria-label":"Ä\xf3ng",children:"\xd7"}),(0,i.jsxs)(r.az,{bg:"white",borderRadius:"20px",p:5,mr:"-20px",maxW:"250px",position:"relative",zIndex:1001,boxShadow:"0 8px 24px rgba(0, 0, 0, 0.12)",border:"1px solid",borderColor:"gray.100",_after:{content:'""',position:"absolute",right:"16px",bottom:"22px",width:0,height:0,borderStyle:"solid",borderWidth:"16px 0 16px 16px",borderColor:"transparent transparent transparent white",marginRight:"-16px",filter:"drop-shadow(2px 2px 2px rgba(0,0,0,0.05))"},children:[(0,i.jsx)(d.E,{mb:4,fontSize:"16px",fontWeight:"500",color:"gray.800",lineHeight:"1.5",letterSpacing:"-0.01em",children:"Bạn Äang tá»± há»i m\xecnh c\xf3 th\xedch hợp há»c ATTT hay kh\xf4ng?"}),(0,i.jsx)(x(),{href:a,passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(m.N,{display:"flex",alignItems:"center",justifyContent:"space-between",bg:"red.500",color:"white",px:"16px",py:"10px",borderRadius:"full",fontWeight:"600",fontSize:"15px",textDecoration:"none",boxShadow:"0 4px 12px rgba(220, 53, 69, 0.3)",transition:"all 0.3s ease",w:"100%",_hover:{bg:"red.600",transform:"translateY(-2px)",boxShadow:"0 6px 16px rgba(220, 53, 69, 0.4)",textDecoration:"none"},_active:{bg:"red.700",transform:"translateY(0)",boxShadow:"0 2px 8px rgba(220, 53, 69, 0.4)"},children:(0,i.jsxs)(h.s,{align:"center",width:"100%",justify:"space-between",children:[(0,i.jsx)(d.E,{fontSize:"xs",children:"L\xe0m nhanh 10 c\xe2u test"}),(0,i.jsx)(p.I,{as:b.v,w:5,h:5,ml:2})]})})})]}),(0,i.jsx)(h.s,{position:"relative",zIndex:1002,mr:"-6px",bg:"red.500",w:"50px",h:"50px",borderRadius:"50%",alignItems:"center",justifyContent:"center",boxShadow:"0 8px 20px rgba(220, 53, 69, 0.4)",border:"3px solid white",transition:"transform 0.3s ease",_hover:{transform:"scale(1.05) rotate(5deg)"},children:(0,i.jsx)(d.E,{fontSize:"30px",lineHeight:"1",children:"\uD83E\uDD77"})})]})})};function j(e){let{children:t}=e,[n,o]=(0,s.useState)(!0);(0,s.useEffect)(()=>{{let e=window.location.pathname;"/assessment"===e||"/reset-ninja"===e?o(!1):o(!0)}},[]);let{data:c}=(0,l.useQuery)("coursePosts",async()=>{let e=await fetch("/api/coursePosts");return await e.json()});return(0,i.jsxs)(r.az,{overflowX:"hidden",children:[(0,i.jsx)(a.Y9,{posts:c}),(0,i.jsx)(r.az,{mt:20,children:t}),(0,i.jsx)(a.wi,{}),n&&(0,i.jsx)(y,{position:"bottom-right",delay:4e3,testUrl:"/assessment?source=ninja-advisor",forceShow:!1})]})}let f=j},7252:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var i=n(23694),r=n(8749),a=n(82509),s=n(55685),l=n(6029),o=(0,r.R)(function(e,t){let{isCurrentPage:n,as:r,className:o,href:c,...h}=e,u=(0,i.F)(),d={ref:t,as:r,className:(0,s.cx)("chakra-breadcrumb__link",o),...h};return n?(0,l.jsx)(a.B.span,{"aria-current":"page",__css:u.link,...d}):(0,l.jsx)(a.B.a,{__css:u.link,href:c,...d})});o.displayName="BreadcrumbLink"},16603:(e,t,n)=>{"use strict";function i(e){return JSON.stringify(e).replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function r(e){if(!e)return null;try{return i(JSON.parse(e))}catch(e){return console.warn("Ignoring invalid structuredData JSON-LD payload",e),null}}n.d(t,{M:()=>r,n:()=>i})},23694:(e,t,n)=>{"use strict";n.d(t,{F:()=>r,H:()=>i});var[i,r]=(0,n(57987).q)({name:"BreadcrumbStylesContext",errorMessage:"useBreadcrumbStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Breadcrumb />\" "})},41240:(e,t,n)=>{"use strict";n.d(t,{Q:()=>d});var i=n(23694),r=n(55685),a=n(54701),s=n(8749),l=n(20462),o=n(96529),c=n(82509),h=n(55729),u=n(6029),d=(0,s.R)(function(e,t){let n=(0,l.o5)("Breadcrumb",e),{children:s,spacing:d="0.5rem",separator:m="/",className:p,listProps:g,...x}=(0,o.MN)(e),b=(0,a.a)(s),v=b.length,y=b.map((e,t)=>(0,h.cloneElement)(e,{separator:m,spacing:d,isLastChild:v===t+1})),j=(0,r.cx)("chakra-breadcrumb",p);return(0,u.jsx)(c.B.nav,{ref:t,"aria-label":"breadcrumb",className:j,__css:n.container,...x,children:(0,u.jsx)(i.H,{value:n,children:(0,u.jsx)(c.B.ol,{className:"chakra-breadcrumb__list",...g,__css:{display:"flex",alignItems:"center",...n.list},children:y})})})});d.displayName="Breadcrumb"},57317:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var i=n(6029);n(55729);var r=n(95669),a=n.n(r),s=n(81278);let l=e=>{let{url:t}=e,n=(0,s.useRouter)(),r=(t||"https://cyberjutsu.io".concat(n.asPath)).split("?")[0];return(0,i.jsx)(a(),{children:(0,i.jsx)("link",{rel:"canonical",href:r})})}},60306:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(6029);n(55729);var r=n(95669),a=n.n(r);let s=e=>{let{title:t,description:n,url:r,image:s,type:l="article",siteName:o="CyberJutsu Academy",locale:c="vi_VN",twitterCard:h="summary_large_image",twitterCreator:u="@cyberjutsu_io",twitterSite:d="@cyberjutsu_io",imageWidth:m="1200",imageHeight:p="630",imageType:g="image/png",articlePublishedTime:x,articleModifiedTime:b,articleAuthor:v}=e;return(0,i.jsxs)(a(),{children:[(0,i.jsx)("meta",{property:"og:locale",content:c},"og:locale"),(0,i.jsx)("meta",{property:"og:type",content:l},"og:type"),(0,i.jsx)("meta",{property:"og:title",content:t},"og:title"),(0,i.jsx)("meta",{property:"og:description",content:n},"og:description"),(0,i.jsx)("meta",{property:"og:url",content:r},"og:url"),(0,i.jsx)("meta",{property:"og:site_name",content:o},"og:site_name"),(0,i.jsx)("meta",{property:"og:image",content:s},"og:image"),(0,i.jsx)("meta",{property:"og:image:width",content:m},"og:image:width"),(0,i.jsx)("meta",{property:"og:image:height",content:p},"og:image:height"),(0,i.jsx)("meta",{property:"og:image:type",content:g},"og:image:type"),"article"===l&&x&&(0,i.jsx)("meta",{property:"article:published_time",content:x},"article:published_time"),"article"===l&&b&&(0,i.jsx)("meta",{property:"article:modified_time",content:b},"article:modified_time"),"article"===l&&v&&(0,i.jsx)("meta",{property:"article:author",content:v},"article:author"),(0,i.jsx)("meta",{name:"twitter:card",content:h},"twitter:card"),(0,i.jsx)("meta",{name:"twitter:description",content:n},"twitter:description"),(0,i.jsx)("meta",{name:"twitter:title",content:t},"twitter:title"),(0,i.jsx)("meta",{name:"twitter:site",content:d}
1,"twitter:site"),(0,i.jsx)("meta",{name:"twitter:creator",content:u},"twitter:creator"),(0,i.jsx)("meta",{name:"twitter:image",content:s},"twitter:image")]})}},71694:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Q});var i=n(6029),r=n(55729),a=n(66425),s=n(90869),l=n(92482),o=n(41240),c=n(83481),h=n(7252),u=n(9541),d=n(83004);(0,d.i7)({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),(0,d.i7)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});var m=(0,d.i7)({"0%":{left:"-40%"},"100%":{left:"100%"}}),p=(0,d.i7)({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}}),g=n(8749),x=n(82509),b=n(96529),v=n(20462),[y,j]=(0,n(57987).q)({name:"ProgressStylesContext",errorMessage:"useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Progress />\" "}),f=(0,g.R)((e,t)=>{let{min:n,max:r,value:a,isIndeterminate:s,role:l,...o}=e,c=function(e){let{value:t=0,min:n,max:i,valueText:r,getValueText:a,isIndeterminate:s,role:l="progressbar"}=e,o=(t-n)*100/(i-n);return{bind:{"data-indeterminate":s?"":void 0,"aria-valuemax":i,"aria-valuemin":n,"aria-valuenow":s?void 0:t,"aria-valuetext":(()=>{if(null!=t)return"function"==typeof a?a(t,o):r})(),role:l},percent:o,value:t}}({value:a,min:n,max:r,isIndeterminate:s,role:l}),h={height:"100%",...j().filledTrack};return(0,i.jsx)(x.B.div,{ref:t,style:{width:`${c.percent}%`,...o.style},...c.bind,...o,__css:h})}),k=(0,g.R)((e,t)=>{var n;let{value:r,min:a=0,max:s=100,hasStripe:l,isAnimated:o,children:c,borderRadius:h,isIndeterminate:u,"aria-label":d,"aria-labelledby":g,"aria-valuetext":j,title:k,role:w,..._}=(0,b.MN)(e),S=(0,v.o5)("Progress",e),T=null!=h?h:null==(n=S.track)?void 0:n.borderRadius,C={animation:`${p} 1s linear infinite`},N={...!u&&l&&o&&C,...u&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${m} 1s ease infinite normal none running`}},B={overflow:"hidden",position:"relative",...S.track};return(0,i.jsx)(x.B.div,{ref:t,borderRadius:T,__css:B,..._,children:(0,i.jsxs)(y,{value:S,children:[(0,i.jsx)(f,{"aria-label":d,"aria-labelledby":g,"aria-valuetext":j,min:a,max:s,value:r,isIndeterminate:u,css:N,borderRadius:T,title:k,role:w}),c]})})});k.displayName="Progress";var w=n(94283),_=n(85678),S=n(43543),T=n(69002),C=n(55685),N=(0,g.R)((e,t)=>{var n;let r=(0,S.R)(),{onChange:a,value:s}=e,l=(0,v.o5)("Radio",{...r,...e}),{spacing:o="0.5rem",children:c,isDisabled:h=null==r?void 0:r.isDisabled,isFocusable:u=null==r?void 0:r.isFocusable,inputProps:d,...m}=(0,b.MN)(e),p=e.isChecked;(null==r?void 0:r.value)!=null&&null!=s&&(p=r.value===s);let g=a;(null==r?void 0:r.onChange)&&null!=s&&(g=(0,C.OK)(r.onChange,a));let y=null!=(n=null==e?void 0:e.name)?n:null==r?void 0:r.name,{getInputProps:j,getCheckboxProps:f,getLabelProps:k,getRootProps:w,htmlProps:_}=(0,T.z)({...m,isChecked:p,isFocusable:u,isDisabled:h,onChange:g,name:y}),[N,B]=function(e,t){let n={},i={};for(let[r,a]of Object.entries(e))t.includes(r)?n[r]=a:i[r]=a;return[n,i]}(_,b.GF),z=f(B),A=j(d,t),q=k(),R=Object.assign({},N,w()),E={display:"inline-flex",alignItems:"center",verticalAlign:"top",cursor:"pointer",position:"relative",...l.container},I={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,...l.control},D={userSelect:"none",marginStart:o,...l.label};return(0,i.jsxs)(x.B.label,{className:"chakra-radio",...R,__css:E,children:[(0,i.jsx)("input",{className:"chakra-radio__input",...A}),(0,i.jsx)(x.B.span,{className:"chakra-radio__control",...z,__css:I}),c&&(0,i.jsx)(x.B.span,{className:"chakra-radio__label",...q,__css:D,children:c})]})});N.displayName="Radio";var B=n(49377),z=n(40313),A=n(82759),q=n(21638),R=n(1016),E=n(95669),I=n.n(E),D=n(47849),P=n(14759),L=n(57317),K=n(60306),H=n(78285),O=n(16603);let J=(0,D.P)(a.az),M=[{id:1,question:"Bạn c\xf3 th\xedch giải quyết c\xe1c vấn Äá» logic v\xe0 thá» th\xe1ch tr\xed tuá» kh\xf4ng?",options:[{value:"a",label:"Rất th\xedch, t\xf4i lu\xf4n t\xecm kiếm c\xe1c c\xe2u Äá» Äá» giải"},{value:"b",label:"C\xf3, nhưng chá» khi ch\xfang kh\xf4ng qu\xe1 kh\xf3"},{value:"c",label:"Thá»nh thoảng"},{value:"d",label:"Kh\xf4ng, t\xf4i th\xedch những thứ ÄÆ¡n giản hÆ¡n"}]},{id:2,question:"Bạn c\xf3 ki\xean nhẫn khi Äá»i mặt vá»i c\xe1c vấn Äá» phức tạp kh\xf4ng?",options:[{value:"a",label:"Rất ki\xean nhẫn, t\xf4i sẽ kh\xf4ng từ bá» cho Äến khi t\xecm ra giải ph\xe1p"},{value:"b",label:"Kh\xe1 ki\xean nhẫn, nhưng Ä\xf4i khi cÅ©ng cảm thấy nản"},{value:"c",label:"Kh\xf4ng qu\xe1 ki\xean nhẫn, t\xf4i thưá»ng muá»n ÄÆ°á»£c gi\xfap Äỡ nhanh ch\xf3ng"},{value:"d",label:"Kh\xf4ng, t\xf4i nhanh ch\xf3ng bá» cuá»c khi gặp kh\xf3 khÄn"}]}
1,{id:3,question:"Bạn quan t\xe2m Äến tin tức vá» c\xe1c vụ lá» dữ liá»u hoặc tấn c\xf4ng mạng kh\xf4ng?",options:[{value:"a",label:"Rất quan t\xe2m v\xe0 thưá»ng xuy\xean theo d\xf5i"},{value:"b",label:"C\xf3 Äá»c khi thấy tr\xean c\xe1c phương tiá»n truyá»n th\xf4ng"},{value:"c",label:"Ä\xf4i khi, nếu Ä\xf3 l\xe0 vụ viá»c lá»n"},{value:"d",label:"Hiếm khi hoặc kh\xf4ng quan t\xe2m"}]},{id:4,question:"Bạn nghÄ© sao vá» viá»c há»c má»t ng\xf4n ngữ láºp tr\xecnh má»i?",options:[{value:"a",label:"Rất hứng th\xfa v\xe0 sẵn s\xe0ng Äầu tư thá»i gian"},{value:"b",label:"C\xf3 thá» thá» nếu cần thiết cho c\xf4ng viá»c/há»c táºp"},{value:"c",label:"C\xf3 thá» há»c nhưng cảm thấy hÆ¡i kh\xf3 khÄn"},{value:"d",label:"Kh\xf4ng th\xedch há»c láºp tr\xecnh"}]},{id:5,question:"Bạn c\xf3 th\xedch t\xecm hiá»u c\xe1ch váºn h\xe0nh cá»§a c\xe1c há» thá»ng/thiết bá» kh\xf4ng?",options:[{value:"a",label:"Lu\xf4n t\xf2 m\xf2 vá» c\xe1ch má»i thứ hoạt Äá»ng"},{value:"b",label:"Thá»nh thoảng t\xf4i t\xecm hiá»u nếu Ä\xf3 l\xe0 thứ t\xf4i quan t\xe2m"},{value:"c",label:"Hiếm khi, chá» khi cần thiết"},{value:"d",label:"Kh\xf4ng, t\xf4i chá» quan t\xe2m Äến viá»c sá» dụng"}]},{id:6,question:"Bạn c\xf3 sẵn s\xe0ng l\xe0m viá»c vá»i c\xe1c chi tiết nhá» v\xe0 tá» má» kh\xf4ng?",options:[{value:"a",label:"Rất sẵn s\xe0ng, t\xf4i th\xedch sá»± ch\xednh x\xe1c v\xe0 chi tiết"},{value:"b",label:"C\xf3 thá» l\xe0m viá»c vá»i chi tiết khi cần"},{value:"c",label:"C\xf3 thá», nhưng Ä\xf4i khi thấy nh\xe0m ch\xe1n"},{value:"d",label:"Kh\xf4ng, t\xf4i th\xedch l\xe0m viá»c á» mức tá»ng qu\xe1t hÆ¡n"}]},{id:7,question:"Bạn c\xf3 sẵn s\xe0ng cáºp nháºt kiến thức li\xean tục kh\xf4ng?",options:[{value:"a",label:"Lu\xf4n sẵn s\xe0ng v\xe0 thưá»ng xuy\xean há»c há»i Äiá»u má»i"},{value:"b",label:"C\xf3 thá» cáºp nháºt khi cần thiết"},{value:"c",label:"Thá»nh thoảng, khi c\xf3 thá»i gian"},{value:"d",label:"Kh\xf4ng th\xedch phải li\xean tục cáºp nháºt"}]},{id:8,question:"Bạn cảm thấy thế n\xe0o vá» c\xf4ng viá»c Ä\xf2i há»i tr\xe1ch nhiá»m cao?",options:[{value:"a",label:"Th\xedch thá» th\xe1ch v\xe0 sẵn s\xe0ng nháºn tr\xe1ch nhiá»m"},{value:"b",label:"C\xf3 thá» Äảm nháºn nếu ÄÆ°á»£c Ä\xe0o tạo Äầy Äá»§"},{value:"c",label:"HÆ¡i lo lắng vá» tr\xe1ch nhiá»m qu\xe1 lá»n"},{value:"d",label:"Kh\xf4ng th\xedch \xe1p lá»±c từ tr\xe1ch nhiá»m cao"}]},{id:9,question:"Bạn th\xedch l\xe0m viá»c má»t m\xecnh hay theo nh\xf3m?",options:[{value:"a",label:"Thoải m\xe1i l\xe0m viá»c cả má»t m\xecnh v\xe0 theo nh\xf3m"},{value:"b",label:"Th\xedch l\xe0m viá»c má»t m\xecnh nhiá»u hÆ¡n"},{value:"c",label:"Th\xedch l\xe0m viá»c nh\xf3m nhiá»u hÆ¡n"},{value:"d",label:"Chá» thoải m\xe1i khi l\xe0m viá»c theo nh\xf3m"}]},{id:10,question:"Bạn sẽ cảm thấy thế n\xe0o khi phải Äá»i mặt vá»i t\xecnh huá»ng kh\xf4ng chắc chắn?",options:[{value:"a",label:"Xem Ä\xf3 l\xe0 thá» th\xe1ch v\xe0 t\xecm c\xe1ch giải quyết"},{value:"b",label:"C\xf3 thá» xá» l\xfd ÄÆ°á»£c nhưng th\xedch c\xf3 hưá»ng dẫn"},{value:"c",label:"HÆ¡i lo lắng v\xe0 cần sá»± há» trợ"},{value:"d",label:"Kh\xf4ng th\xedch v\xe0 tr\xe1nh c\xe1c t\xecnh huá»ng kh\xf4ng chắc chắn"}]}],W={a:4,b:3,c:2,d:1},$=[{min:35,max:40,title:"Rất ph\xf9 hợp",description:"Bạn c\xf3 tá» chất tuyá»t vá»i Äá» theo Äuá»i ng\xe0nh An to\xe0n th\xf4ng tin!"},{min:28,max:34,title:"Kh\xe1 ph\xf9 hợp",description:"Bạn c\xf3 nhiá»u Äặc Äiá»m ph\xf9 hợp vá»i ng\xe0nh ATTT, h\xe3y kh\xe1m ph\xe1 th\xeam!"},{min:20,max:27,title:"C\xf3 thá» ph\xf9 hợp",description:"Bạn c\xf3 má»t sá» phẩm chất ph\xf9 hợp, nhưng cÅ©ng c\xf3 thá» c\xe2n nhắc c\xe1c lÄ©nh vá»±c kh\xe1c."},{min:10,max:19,title:"\xcdt ph\xf9 hợp",description:"Bạn c\xf3 thá» thấy kh\xf3 khÄn vá»i má»t sá» kh\xeda cạnh cá»§a ng\xe0nh ATTT."}];function F(){let[e,t]=(0,r.useState)(0),[n,d]=(0,r.useState)({}),[m,p]=(0,r.useState)(!1),[g,x]=(0,r.useState)(0),b=(0,s.dU)("white","gray.800"),v=(0,s.dU)("gray.200","gray.700"),y=t=>{d({...n,[M[e].id]:t})},j=()=>{for(let e of $)if(g>=e.min&&g<=e.max)return e;return $[0]},f="https://cyberjutsu.io/assessment",T="Ä\xe1nh gi\xe1 NÄng Lá»±c An To\xe0n Th\xf4ng Tin |
1CyberJutsu Academy",C="Kiá»m tra mức Äá» ph\xf9 hợp cá»§a bạn vá»i ng\xe0nh An To\xe0n Th\xf4ng Tin th\xf4ng qua b\xe0i Ä\xe1nh gi\xe1 chuy\xean s\xe2u từ CyberJutsu Academy. Nháºn ph\xe2n t\xedch chi tiết v\xe0 lá» tr\xecnh ph\xe1t triá»n ph\xf9 hợp.",R=[{name:"Trang chá»§",item:"https://cyberjutsu.io",position:1},{name:"Ä\xe1nh Gi\xe1 NÄng Lá»±c",item:f,position:2}],E={"@context":"https://schema.org","@type":"Quiz",name:T,description:C,educationalAlignment:{"@type":"AlignmentObject",alignmentType:"educationalSubject",targetName:"Information Security"},provider:{"@type":"Organization",name:"CyberJutsu Academy",url:"https://cyberjutsu.io"},timeRequired:"PT15M",numberOfQuestions:M.length};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(I(),{children:[(0,i.jsx)("title",{children:T}),(0,i.jsx)("meta",{name:"description",content:C}),(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,O.n)(E)}})]}),(0,i.jsx)(L.A,{url:f}),(0,i.jsx)(K.A,{title:T,description:C,url:f,image:"https://cyberjutsu.io/images/assessment-banner.png",type:"website",siteName:"CyberJutsu Academy - Ä\xe0o Tạo An To\xe0n Th\xf4ng Tin",locale:"vi_VN",twitterCard:"summary_large_image",twitterCreator:"@cyberjutsu",twitterSite:"@cyberjutsu"}),(0,i.jsx)(H.A,{items:R}),(0,i.jsxs)(l.m,{maxW:"container.xl",py:8,children:[(0,i.jsxs)(o.Q,{spacing:"8px",separator:(0,i.jsx)(P.v,{color:"gray.500"}),mb:8,children:[(0,i.jsx)(c.J,{children:(0,i.jsx)(h.w,{href:"/",children:"Trang chá»§"})}),(0,i.jsx)(c.J,{isCurrentPage:!0,children:(0,i.jsx)(h.w,{href:"/assessment",children:"Ä\xe1nh Gi\xe1 NÄng Lá»±c"})})]}),(0,i.jsx)(l.m,{maxW:"container.md",children:m?(0,i.jsx)(J,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.5},bg:b,p:8,borderRadius:"lg",boxShadow:"lg",border:"1px solid",borderColor:v,textAlign:"center",children:(0,i.jsxs)(u.T,{spacing:6,children:[(0,i.jsxs)(A.E,{colorScheme:"red",fontSize:"md",p:2,borderRadius:"md",children:["Tá»ng Äiá»m: ",g,"/",4*M.length]}),(0,i.jsx)(_.D,{as:"h2",size:"xl",children:j().title}),(0,i.jsx)(w.E,{fontSize:"lg",children:j().description}),(0,i.jsx)(q.c,{}),(0,i.jsxs)(a.az,{width:"100%",children:[(0,i.jsx)(w.E,{mb:4,fontWeight:"bold",children:"Mức Äá» ph\xf9 hợp cá»§a bạn:"}),(0,i.jsx)(k,{value:g/(4*M.length)*100,size:"lg",colorScheme:"red",borderRadius:"full",mb:2})]}),(0,i.jsx)(w.E,{fontSize:"md",color:"gray.600",mt:4,children:"Ng\xe0nh An to\xe0n th\xf4ng tin Ä\xf2i há»i sá»± t\xf2 m\xf2, ki\xean nhẫn, khả nÄng giải quyết vấn Äá» v\xe0 há»c há»i li\xean tục. D\xf9 kết quả l\xe0 g\xec, niá»m Äam m\xea v\xe0 sá»± quyết t\xe2m c\xf3 thá» gi\xfap bạn vượt qua nhiá»u thá» th\xe1ch!"}),(0,i.jsxs)(u.T,{spacing:4,mt:6,width:"100%",children:[(0,i.jsx)(z.$,{colorScheme:"red",size:"lg",onClick:()=>{t(0),d({}),p(!1),x(0)},children:"L\xe0m lại b\xe0i Ä\xe1nh gi\xe1"}),(0,i.jsx)(z.$,{variant:"outline",colorScheme:"red",size:"lg",as:"a",href:"/course",children:"Kh\xe1m ph\xe1 kh\xf3a há»c ATTT"})]})]})}):(0,i.jsx)(J,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},bg:b,p:6,borderRadius:"lg",boxShadow:"md",border:"1px solid",borderColor:v,children:(0,i.jsxs)(u.T,{spacing:6,align:"stretch",children:[(0,i.jsx)(k,{value:(e+1)/M.length*100,size:"sm",colorScheme:"red",borderRadius:"full"}),(0,i.jsxs)(a.az,{textAlign:"center",children:[(0,i.jsxs)(w.E,{fontSize:"sm",color:"gray.500",children:["C\xe2u ",e+1," / ",M.length]}),(0,i.jsx)(_.D,{as:"h1",size:"lg",mt:2,mb:6,children:"Ä\xe1nh Gi\xe1 NÄng Lá»±c An To\xe0n Th\xf4ng Tin"}),(0,i.jsx)(w.E,{fontSize:"xl",mb:6,children:M[e].question})]}),(0,i.jsx)(S.z,{onChange:y,value:n[M[e].id]||"",children:(0,i.jsx)(u.T,{spacing:4,align:"stretch",children:M[e].options.map(t=>(0,i.jsx)(a.az,{p:4,borderRadius:"md",border:"1px solid",borderColor:n[M[e].id]===t.value?"red.500":v,_hover:{borderColor:"red.300",bg:"red.50"},cursor:"pointer",onClick:()=>y(t.value),children:(0,i.jsx)(N,{value:t.value,colorScheme:"red",children:t.label})},t.value))})}),(0,i.jsxs)(B.s,{justify:"space-between",mt:4,children:[(0,i.jsx)(z.$,{onClick:()=>{e>0&&t(e-1)},isDisabled:0===e,variant:"outline",colorScheme:"red",children:"C\xe2u trưá»c"}),(0,i.jsx)(z.$,{onClick:()=>{let i;
1e<M.length-1?t(e+1):(i=0,Object.keys(n).forEach(e=>{i+=W[n[parseInt(e)]]}),x(i),p(!0))},colorScheme:"red",isDisabled:!n[M[e].id],children:e===M.length-1?"Xem kết quả":"C\xe2u tiếp theo"})]})]})})})]})]})}F.getLayout=function(e){return(0,i.jsx)(R.A,{children:e})};let Q=F},73922:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/assessment",function(){return n(71694)}])},78285:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var i=n(6029);n(55729);var r=n(95669),a=n.n(r),s=n(16603);let l=e=>{let{items:t}=e,n={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t.map(e=>({"@type":"ListItem",position:e.position,name:e.name,item:e.item}))};return(0,i.jsx)(a(),{children:(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,s.n)(n)}})})}},83481:(e,t,n)=>{"use strict";n.d(t,{J:()=>d});var i=n(7252),r=n(23694),a=n(8749),s=n(82509),l=n(6029),o=(0,a.R)(function(e,t){let{spacing:n,...i}=e,a={mx:n,...(0,r.F)().separator};return(0,l.jsx)(s.B.span,{ref:t,role:"presentation",...i,__css:a})});o.displayName="BreadcrumbSeparator";var c=n(54701),h=n(55685),u=n(55729),d=(0,a.R)(function(e,t){let{isCurrentPage:n,separator:a,isLastChild:d,spacing:m,children:p,className:g,...x}=e,b=(0,c.a)(p).map(e=>e.type===i.w?(0,u.cloneElement)(e,{isCurrentPage:n}):e.type===o?(0,u.cloneElement)(e,{spacing:m,children:e.props.children||a}):e),v={display:"inline-flex",alignItems:"center",...(0,r.F)().item},y=(0,h.cx)("chakra-breadcrumb__list-item",g);return(0,l.jsxs)(s.B.li,{ref:t,className:y,...x,__css:v,children:[b,!d&&(0,l.jsx)(o,{spacing:m,children:a})]})});d.displayName="BreadcrumbItem"}},e=>{e.O(0,[194,9330,5571,4371,8293,636,6593,8792],()=>e(e.s=73922)),_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.