PageSourceSearch

https://static.tnmath.edu.vn/_next/static/chunks/9246-0c8924409b8c0a0c.js

js tnmath.edu.vn collected 2026-09-24 13:29:53 UTC 37,480 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9246],{83215:function(e,t,r){var l,n=r(94746);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}t.Z=function(e){return n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:"1.25em",height:".75em",fill:"none",viewBox:"0 0 12 8"},e),l||(l=n.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M11 1 4.33 7 1 4"})))}},65011:function(e,t,r){var l,n=r(94746);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}t.Z=function(e){return n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20"},e),l||(l=n.createElement("path",{fill:"currentColor",stroke:"currentColor",strokeWidth:.5,d:"M16.244 15.006 11.238 10l5.006-5.006a.875.875 0 1 0-1.238-1.238L10 8.763 4.994 3.756a.875.875 0 0 0-1.238 1.238L8.763 10l-5.007 5.006a.875.875 0 0 0 1.238 1.238L10 11.237l5.006 5.007a.9.9 0 0 0 .284.19l.096-.231-.096.23a.875.875 0 0 0 1.144-1.143l-.23.096.23-.096a.9.9 0 0 0-.19-.284Z"})))}},73650:function(e,t,r){var l,n=r(94746);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}t.Z=function(e){return n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none"},e),l||(l=n.createElement("path",{fill:"currentColor",d:"M22.7 17.633 14.502 3.396a2.322 2.322 0 0 0-4.004 0L2.3 17.633a2.2 2.2 0 0 0 0 2.224A2.28 2.28 0 0 0 4.302 21h16.396a2.28 2.28 0 0 0 2-1.143 2.2 2.2 0 0 0 .002-2.224M11.75 9.75a.75.75 0 1 1 1.5 0v3.75a.75.75 0 1 1-1.5 0zM12.5 18a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25"})))}},77921:function(e,t,r){var l,n=r(94746);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}t.Z=function(e){return n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},e),l||(l=n.createElement("path",{fill:"currentColor",d:"M21.943 11.717c-.03-.07-.736-1.714-2.305-3.361C17.548 6.16 14.907 5 12 5S6.453 6.16 4.362 8.356c-1.57 1.647-2.279 3.294-2.305 3.36a.73.73 0 0 0 0 .57c.03.068.735 1.712 2.305 3.36C6.452 17.84 9.093 19 12 19s5.547-1.16 7.638-3.355c1.57-1.647 2.275-3.29 2.304-3.36a.73.73 0 0 0 0-.569M12 17.6c-2.565 0-4.806-.98-6.66-2.91A11.7 11.7 0 0 1 3.416 12a11.6 11.6 0 0 1 1.922-2.69C7.194 7.38 9.435 6.4 12 6.4s4.806.98 6.66 2.91c.764.794 1.412 1.7 1.927 2.69-.6 1.178-3.218 5.6-8.587 5.6m0-9.8c-.791 0-1.565.246-2.222.708a4.16 4.16 0 0 0-1.474 1.885 4.4 4.4 0 0 0-.227 2.426 4.27 4.27 0 0 0 1.095 2.15c.559.588 1.272.988 2.048 1.15s1.58.08 2.31-.239a4.05 4.05 0 0 0 1.796-1.547c.44-.69.674-1.502.674-2.333a4.3 4.3 0 0 0-1.173-2.969A3.9 3.9 0 0 0 12 7.8m0 7a2.58 2.58 0 0 1-1.482-.472 2.78 2.78 0 0 1-.982-1.256 2.93 2.93 0 0 1-.151-1.618 2.85 2.85 0 0 1 .73-1.434 2.63 2.63 0 0 1 1.365-.766 2.55 2.55 0 0 1 1.54.16 2.7 2.7 0 0 1 1.197 1.03 2.9 2.9 0 0 1 .45 1.556c0 .743-.281 1.455-.781 1.98s-1.179.82-1.886.82"})))}},99543:function(e,t,r){var l,n=r(94746);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}t.Z=function(e){return n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},e),l||(l=n.createElement("path",{fill:"currentColor",d:"M5.827 4.224a.667.667 0 1 0-.987.896l1.603 1.763C3.417 8.739 2.115 11.6 2.057 11.73a.67.67 0 0 0 0 .541c.03.066.735 1.63 2.305 3.198 2.09 2.089 4.731 3.193 7.638 3.193a10.6 10.6 0 0 0 4.34-.902l1.832 2.016a.666.666 0 1 0 .987-.896zM9.77 10.54l3.472 3.818a2.668 2.668 0 0 1-3.9-2.148 2.66 2.66 0 0 1 .428-1.67M12 17.33c-2.565 0-4.806-.931-6.66-2.768A11 11 0 0 1 3.416 12c.39-.732 1.638-2.78 3.946-4.112l1.5 1.645a3.995 3.995 0 0 0 2.625 6.422 4 4 0 0 0 2.68-.593l1.227 1.349a9.3 9.3 0 0 1-3.395.618m.5-7.946a.667.667 0 1 1 .25-1.31 4.01 4.01 0 0 1 3.23 3.551.665.665 0 0 1-1.114.553.67.67 0 0 1-.216-.432 2.67 2.67 0 0 0-2.15-2.362m9.44 2.889c-.035.078-.88 1.945-2.78 3.647a.667.667 0 1 1-.89-.993A11 11 0 0 0 20.588 12a11 11 0 0 0-1.926-2.562C16.806 7.602 14.565 6.67 12 6.67q-.812-.001-1.613.13a.66
17.667 0 1 1-.22-1.314q.91-.15 1.833-.149c2.907 0 5.547 1.104 7.638 3.194 1.57 1.568 2.275 3.132 2.304 3.198a.67.67 0 0 1 0 .541z"})))}},76367:function(e,t,r){r.d(t,{C:function(){return p}});var l,n,a=r(57437),s=r(46175);r(2265);var o=r(94746);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}var c=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:21,height:20,fill:"none"},e),l||(l=o.createElement("path",{fill:"currentColor",d:"M10.5 1.875A8.125 8.125 0 1 0 18.625 10 8.133 8.133 0 0 0 10.5 1.875M9.875 6.25a.625.625 0 1 1 1.25 0v4.375a.624.624 0 1 1-1.25 0zm.625 8.125a.938.938 0 1 1 0-1.875.938.938 0 0 1 0 1.875"})))};function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}var d=function(e){return o.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none"},e),n||(n=o.createElement("path",{fill:"currentColor",d:"M12.5 2.25A9.75 9.75 0 1 0 22.25 12a9.76 9.76 0 0 0-9.75-9.75m4.28 8.03-5.25 5.25a.747.747 0 0 1-1.06 0l-2.25-2.25a.75.75 0 1 1 1.06-1.06L11 13.94l4.72-4.72a.751.751 0 0 1 1.06 1.06"})))},g=r(73650),m=r(65011);let p=(e,t)=>{s.default.custom(r=>{let{bgColor:l,Icon:n}={default:{bgColor:"bg-[#EBF0FF] border-[#386AFF]",Icon:(0,a.jsx)(c,{className:"text-[#386AFF]"})},success:{bgColor:"bg-[#DCF5E8] border-[#008F47]",Icon:(0,a.jsx)(d,{className:"text-[#008F47]"})},error:{bgColor:"bg-[#FFE5E5] border-[#E54040]",Icon:(0,a.jsx)(g.Z,{className:"text-[#E54040]"})},warning:{bgColor:"bg-[#FAF2D7] border-[#D1A200]",Icon:(0,a.jsx)(c,{className:"text-[#D1A200]"})}}[null!=t?t:"default"];return(0,a.jsxs)("div",{className:"flex items-center justify-between max-w-xs w-full py-[13px] px-3 rounded-lg border-[0.5px] shadow-lg ".concat(l),children:[(0,a.jsxs)("div",{className:"flex items-start gap-[6px]",children:[(0,a.jsx)("div",{className:"min-w-6",children:n}),(0,a.jsx)("span",{className:"text-gray-80",children:e})]}),(0,a.jsx)("button",{onClick:()=>s.default.dismiss(r.id),children:(0,a.jsx)(m.Z,{className:"w-5 h-5 text-[#1B1B1F]"})})]})})}},3281:function(e,t,r){var l=r(57437);t.Z=e=>{let{name:t,label:r,value:n,styles:a,selectedOption:s,setSelectedOption:o,className:i}=e;return(0,l.jsxs)("label",{className:"flex items-center space-x-2 cursor-pointer ".concat(a),children:[(0,l.jsx)("input",{type:"radio",name:t,value:n,checked:String(s)===String(n),onChange:e=>{o&&o(e.target.value)},className:"hidden"}),(0,l.jsx)("div",{className:"w-5 h-5 rounded-full border-2 flex items-center justify-center ".concat(String(s)===String(n)?"border-primary":"border-gray-60"),children:(0,l.jsx)("div",{className:"flex items-center justify-center ".concat(String(s)===String(n)?"scale-100":"scale-0"," w-3 h-3 rounded-full bg-primary transition-transform")})}),(0,l.jsx)("span",{className:"".concat(i," ").concat(String(s)===String(n)?"text-gray-80":"text-gray-60"),children:r})]})}},9777:function(e,t,r){r.d(t,{v:function(){return _}});var l,n,a,s,o,i,c,u,d,g,m,p,x,h,f=r(57437);r(2265);var v=r(31492),b=r(94746);function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}var E=function(e){return b.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",width:51,height:51,fill:"none"},e),l||(l=b.createElement("path",{fill:"#2CE577",d:"M25.5 51c14.079 0 25.492-11.417 25.492-25.5S39.579 0 25.5 0C11.422 0 .01 11.417.01 25.5S11.422 51 25.5 51"})),n||(n=b.createElement("path",{fill:"#00D355",d:"M25.5 49.469c13.232 0 23.96-10.731 23.96-23.969S38.732 1.531 25.5 1.531C12.265 1.531 1.537 12.262 1.537 25.5S12.266 49.469 25.5 49.469"})),a||(a=b.createElement("path",{fill:"#00A041",d:"M25.5 47.128c11.94 0 21.62-9.683 21.62-21.628S37.44 3.872 25.5 3.872c-11.942 0-21.622 9.683-21.622 21.628s9.68 21.628 21.621 21.628"}
1)),s||(s=b.createElement("path",{fill:"url(#success-step_svg__a)",d:"M25.5 45.245c10.901 0 19.738-8.84 19.738-19.745S36.401 5.755 25.5 5.755 5.76 14.595 5.76 25.5s8.838 19.745 19.74 19.745"})),o||(o=b.createElement("defs",null,b.createElement("linearGradient",{id:"success-step_svg__a",x1:25.5,x2:25.5,y1:5.755,y2:45.245,gradientUnits:"userSpaceOnUse"},b.createElement("stop",{stopColor:"#2DA1E2"}),b.createElement("stop",{offset:1,stopColor:"#437AE2"})))))};function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}var A=function(e){return b.createElement("svg",y({xmlns:"http://www.w3.org/2000/svg",width:51,height:51,fill:"none"},e),i||(i=b.createElement("path",{fill:"#2CE577",d:"M25.508 51C39.587 51 51 39.583 51 25.5S39.587 0 25.508 0C11.43 0 .017 11.417.017 25.5S11.43 51 25.508 51"})),c||(c=b.createElement("path",{fill:"#00D355",d:"M25.508 49.469c13.233 0 23.96-10.731 23.96-23.969S38.742 1.531 25.509 1.531 1.547 12.262 1.547 25.5s10.728 23.969 23.96 23.969"})),u||(u=b.createElement("path",{fill:"#00A041",d:"M25.508 47.128c11.941 0 21.621-9.683 21.621-21.628S37.45 3.872 25.508 3.872 3.887 13.555 3.887 25.5s9.68 21.628 21.62 21.628"})),d||(d=b.createElement("path",{fill:"#00D355",d:"M25.508 45.245c10.902 0 19.74-8.84 19.74-19.745S36.41 5.755 25.507 5.755 5.77 14.595 5.77 25.5s8.837 19.745 19.738 19.745"})))};function j(){return(j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}var C=function(e){return b.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:51,height:51,fill:"none"},e),g||(g=b.createElement("path",{fill:"url(#step_svg__a)",d:"M25.508 51C39.587 51 51 39.583 51 25.5S39.587 0 25.508 0C11.43 0 .017 11.417.017 25.5S11.43 51 25.508 51"})),m||(m=b.createElement("path",{fill:"url(#step_svg__b)",d:"M25.508 49.469c13.233 0 23.96-10.731 23.96-23.969S38.742 1.531 25.509 1.531 1.547 12.262 1.547 25.5s10.728 23.969 23.96 23.969"})),p||(p=b.createElement("path",{fill:"#0051BB",d:"M25.508 47.128c11.941 0 21.621-9.683 21.621-21.628S37.45 3.872 25.508 3.872 3.887 13.555 3.887 25.5s9.68 21.628 21.62 21.628",opacity:.45})),x||(x=b.createElement("path",{fill:"url(#step_svg__c)",d:"M25.508 45.245c10.902 0 19.74-8.84 19.74-19.745S36.41 5.755 25.507 5.755 5.77 14.595 5.77 25.5s8.837 19.745 19.738 19.745"})),h||(h=b.createElement("defs",null,b.createElement("linearGradient",{id:"step_svg__a",x1:25.504,x2:25.504,y1:-5.005,y2:47.695,gradientUnits:"userSpaceOnUse"},b.createElement("stop",{offset:.003,stopColor:"#44CEFF"}),b.createElement("stop",{offset:.088,stopColor:"#49C7FF"}),b.createElement("stop",{offset:.415,stopColor:"#57B0FF"}),b.createElement("stop",{offset:.726,stopColor:"#60A3FF"}),b.createElement("stop",{offset:1,stopColor:"#639EFF"})),b.createElement("linearGradient",{id:"step_svg__b",x1:25.503,x2:25.503,y1:-1.691,y2:50.402,gradientUnits:"userSpaceOnUse"},b.createElement("stop",{offset:.003,stopColor:"#29ABE2"}),b.createElement("stop",{offset:.098,stopColor:"#2DA3E2"}),b.createElement("stop",{offset:.422,stopColor:"#3A8CE2"}),b.createElement("stop",{offset:.729,stopColor:"#417FE2"}),b.createElement("stop",{offset:1,stopColor:"#447AE2"})),b.createElement("linearGradient",{id:"step_svg__c",x1:25.504,x2:25.504,y1:3.1,y2:46.014,gradientUnits:"userSpaceOnUse"},b.createElement("stop",{offset:.003,stopColor:"#29ABE2"}),b.createElement("stop",{offset:.098,stopColor:"#2DA3E2"}),b.createElement("stop",{offset:.422,stopColor:"#3A8CE2"}),b.createElement("stop",{offset:.729,stopColor:"#417FE2"}),b.createElement("stop",{offset:1,stopColor:"#447AE2"})))))},S=r(53335),T=r(80442);let _=e=>{let{steps:t,actions:r,className:l,currentStep:n,setCurrentStep:a}=e;return(0,f.jsxs)("div",{className:"w-full",children:[(0,f.jsxs)(v.v0,{selectedIndex:n,onChange:e=>{let r=e>n;if(e<n&&t[e].isStepDone){a(e);return}r&&Array.from({length:e-n},(e,t)=>n+t).every(e=>t[e].isStepDone)&&a(e)},children:[(0,f.jsx)("div",{className:"flex items-center justify-center w-full max-w-[335px] lg:max-w-[1440px] lg:mx-0 mx-auto",children:(0,f.jsx)("div",{className:"lg:rou
1nded-0 rounded-t-2xl px-5 py-4 lg:p-0 max-w-full lg:max-w-[390px] w-full flex items-center justify-between",children:t.map((e,r)=>(0,f.jsxs)("div",{className:"flex items-center w-full last-of-type:w-auto",children:[(0,f.jsxs)(v.OK,{className:(0,T.cn)("w-[50px] h-[50px] rounded-full focus-visible:outline-none relative",r+1===(null==t?void 0:t.length)&&"-ml-1"),children:[r===n?(0,f.jsx)(f.Fragment,{children:(null==e?void 0:e.isStepDone)?(0,f.jsx)(A,{}):(0,f.jsx)(E,{})}):(0,f.jsx)(f.Fragment,{children:r<=n?(0,f.jsx)(A,{}):(0,f.jsx)(C,{})}),(0,f.jsx)("div",{className:"text-[20px] lg:text-[26px] absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-white text-step font-paytone",children:e.label})]}),r<t.length-1&&(0,f.jsx)("div",{className:(0,S.m6)("flex-1 h-4 transition-all w-full",r<n?"bg-[#00D355] border-b-2 border-[#00D355]":"bg-[#F8F8F8] border-b-2 border-[#CCCCCC]")})]},e.label+r))})}),(0,f.jsx)(v.nP,{className:"lg:mt-4 mt-0",children:t.map((e,t)=>(0,f.jsx)(v.x4,{className:l,children:e.content},e.label+t))})]}),(0,f.jsx)("div",{className:"lg:mt-[30px] mt-4 flex justify-center lg:border-none border-t border-gray-10 lg:py-0 py-4",children:r})]})}},12852:function(e,t,r){r.d(t,{y:function(){return x},Z:function(){return h}});var l,n,a=r(57437),s=r(77921),o=r(99543),i=r(80442),c=r(2265),u=r(29501),d=r(94746);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e}).apply(null,arguments)}var m=function(e){return d.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),l||(l=d.createElement("rect",{width:18,height:18,x:1,y:1,fill:"#E5E5E5",rx:9})),n||(n=d.createElement("path",{fill:"#888994",fillRule:"evenodd",d:"M7.176 7.176a.6.6 0 0 1 .848 0L10 9.15l1.976-1.975a.6.6 0 0 1 .848.848L10.848 10l1.976 1.976a.6.6 0 0 1-.848.848L10 10.848l-1.976 1.976a.6.6 0 1 1-.848-.848L9.15 10 7.176 8.024a.6.6 0 0 1 0-.848",clipRule:"evenodd"})))};let p=e=>{let{label:t,is_password:r=!1,error:l,errorMsg:n="",notAllowWhiteSpace:u=!1,isCapitalizeName:d=!1,className:g,isClear:p=!1,...x}=e,h="voucher"===x.type||"number"===x.type?"text":x.type,[f,v]=(0,c.useState)(x.value||""),[b,w]=(0,c.useState)(r?"password":null!=h?h:"text"),E=(0,c.useCallback)(()=>{w(e=>"password"===e?"text":"password")},[]);return(0,c.useEffect)(()=>{v((null==x?void 0:x.value)||"")},[null==x?void 0:x.value]),(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsxs)("div",{className:(0,i.cn)("relative z-0 w-full group",g),children:[(0,a.jsx)("input",{...x,type:r?b:h,inputMode:"number"===x.type?"numeric":x.inputMode,pattern:"number"===x.type?"\\d*":x.pattern,value:d?(0,i.ul)(String(x.value)):x.value,onChange:t=>{var r,l;if(!0===t.nativeEvent.isComposing&&!e.allowComposition)return;let n=String(null!==(l=x.value)&&void 0!==l?l:""),a=t.target.value;if("voucher"===x.type){let e=a.replace(/[^a-zA-Z0-9]/g,"");if(e===n&&a!==e)return;a=e}else if("number"===x.type){let e=a.replace(/[^0-9]/g,"");if(e===n&&a!==e)return;a=e}else u&&(a=a.replace(/\s/g,""));null===(r=x.onChange)||void 0===r||r.call(x,{target:{value:a}})},onKeyDown:e=>{var t;if((null===(t=e.nativeEvent)||void 0===t||!t.isComposing)&&(u&&" "===e.key||"voucher"===x.type&&!("Backspace"===e.key||"Delete"===e.key||"ArrowLeft"===e.key||"ArrowRight"===e.key||"ArrowUp"===e.key||"ArrowDown"===e.key||"Home"===e.key||"End"===e.key||"Tab"===e.key||"Enter"===e.key||e.ctrlKey&&["a","c","v","x"].includes(e.key.toLowerCase()))&&!/^[a-zA-Z0-9]$/.test(e.key)||"number"===x.type&&!("Backspace"===e.key||"Delete"===e.key||"ArrowLeft"===e.key||"ArrowRight"===e.key||"ArrowUp"===e.key||"ArrowDown"===e.key||"Home"===e.key||"End"===e.key||"Tab"===e.key||"Enter"===e.key||e.ctrlKey&&["a","c","v","x"].includes(e.key.toLowerCase()))&&!/^[0-9]$/.test(e.key))){e.preventDefault();return}},onPaste:e=>{var t;e.preventDefault();let r=e.clipboardData.getData("text");"voucher"===x.type?r=r.replace(/[^a-zA-Z0-9]/g,""):"number"===x.type?r=r.replace(/[^0-9]/g,""):u&&(r=r.replace(/\s/g,"")),(null==x?void 0:x.maxLength)&&r.length>x.maxLength&&(r=r.substring(0,x.maxLength)),null===(t=x.onChange)||void 0===t||t.call(x,{target:{value:r}})},className:(0,i.cn)("[&::-webkit-inner-spin-button]:appearance-none block focus:border-primary focus:ring-0 focus:ring-transition rounded-lg h-12 py-[14px] px-3 border outline-none shadow-none w-full bg-transparent appearance-none peer text-[16px] text-gray-80 ",l?"border-warning-50":"border-gray-10",(null==x?void 0:x.disabled)&&"bg-bg-elevation",(null==x?void 0:x.type)==="password"&&"pr-11")}),p&&f&&(0,a.jsx)("button",{className:"absolute top-1/2 right-2 -translate-y-1/2",onClick:e=>{var t;e.preventDefault(),null===(t=x.onChange)||void 0===t||t.call(x,{target:{value:""}})},children:(0,a.jsx)(m,{})}),r&&(0,a.jsx)(a.Fragment,{children:"password"===b?(0,a.jsx)(o.Z,{className:"absolute cursor-pointer right-4 top-1/2 -translate-y-1/2 text-icon-gray w-6 h-6",alt:"close-eye-icon",onClick:E}):(0,a.jsx)(s.Z,{className:"absolute cursor-pointer right-4 top-1/2 -translate-y-1/2 text-icon-gray w-6 h-6",alt:"eye-icon",onClick:E})}),(0,a.jsxs)("label",{htmlFor:null==x?void 0:x.name,className:(0,i.cn)("left-3 pr-1 text-base text-neutral-700 bg-white absolute duration-300 transform  top-3 peer-focus:z-1 origin-[0] rtl:peer-focus:translate-x-1/4  peer-focus:scale-75 peer-focus:-translate-y-6",(null==x?void 0:x.value)?"z-1 -translate-y-6 scale-75":"-z-1 ",(null==x?void 0:x.disabled)&&"bg-transparent"),children:[t,(null==x?void 0:x.required)&&" *"]})]}),l&&""!==f&&(0,a.jsx)("p",{className:"text-warning-50 text-sm not-italic font-normal leading-5 tracking-ls_035 mt-1",children:n})]})},x=e=>{let{control:t,name:r,...l}=e;return(0,a.jsx)(u.Qr,{control:t,name:r,render:e=>
1{let{field:{onChange:t,onBlur:n,value:s},fieldState:{error:o}}=e;return(0,a.jsx)(p,{onChange:t,onBlur:n,value:s,name:r,error:!!(null==o?void 0:o.message),errorMsg:null==o?void 0:o.message,...l})}})};var h=p},71508:function(e,t,r){var l=r(57437),n=r(80442),a=r(51491),s=r(83215);t.Z=e=>{let{label:t,checked:r=!1,className:o,disabled:i,setChecked:c}=e;return(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(a.X,{disabled:i,checked:r,onChange:e=>{null==c||c(e)},className:"flex justify-center items-center cursor-pointer border-[1.5px] border-gray-90 group size-5 rounded bg-white data-[checked]:bg-primary data-[checked]:border-primary text-white text-[8px]",children:(0,l.jsx)(s.Z,{})}),t&&(0,l.jsx)("p",{className:(0,n.cn)("ml-2 text-sm text-neutral-700",o),children:t})]})}},12711:function(e,t,r){r.d(t,{Z:function(){return p}});var l=r(57437),n=r(12852),a=r(71508),s=r(2265),o=r(3281),i=r(6436),c=r(43949),u=r(93172),d=r(90953);let g=[{label:"Học kỳ 1",value:"Học kỳ 1"},{label:"Giữa học kỳ 1",value:"Giữa học kỳ 1"},{label:"Học kỳ 2",value:"Học kỳ 2"},{label:"Giữa học kỳ 2",value:"Giữa học kỳ 2"}];var m=r(80442),p=e=>{let{userTarget:t,setUserTarget:r,scoreError:p,setScoreError:x}=e,{t:h}=(0,c.$G)(),{grades:f,getGrades:v}=(0,d.Z)(),[b,w]=(0,s.useState)((null==t?void 0:t.targetIds)||[]),[E,y]=(0,s.useState)([]),[A,j]=(0,s.useState)([]),C=(0,s.useCallback)(async()=>{try{let[e,t]=await Promise.all([i.Z.userTarget.getListBookSeries(),i.Z.userTarget.getListTarget()]);y((null==e?void 0:e.map(e=>({id:e.id,label:e.name,value:e.id})))||[]),j((null==t?void 0:t.map(e=>({id:e.id,label:e.name,value:e.id})))||[])}catch(e){console.error("Error fetching data:",e)}},[]);(0,s.useEffect)(()=>{C(),v()},[C,v]);let S=(0,s.useCallback)(e=>{r({...t,gradeId:e})},[t,r]),T=(0,s.useCallback)(e=>{r({...t,semester:e})},[t,r]),_=(0,s.useCallback)(e=>{x(""),r({...t,scoreScale:Number(e),score:""})},[t,r,x]),N=(0,s.useCallback)(e=>{r({...t,curriculumId:String(e)})},[t,r]),I=e=>{let r=0===t.scoreScale;return e.trim()?r&&!/^(10|\d(\.\d)?)?$/.test(e)?h("validate.valid.validNumberPoint"):r||/^[ABCDF][+-]?$/.test(e)?"":h("validate.valid.validLetterPoint"):h("validate.valid.pointRequired")},k=(0,s.useCallback)(e=>{let l=e.target.value;r({...t,score:l}),x(I(l))},[t,r]),R=(0,s.useCallback)(e=>{w(l=>{let n=l.includes(e.id)?l.filter(t=>t!==e.id):[...l,e.id];return r({...t,targetIds:n}),n})},[t,r]),D=(0,s.useMemo)(()=>[{id:0,color:"#54AFA5",boxShadow:"2px 4px 0px 0px #368178",title:h("getInformation.aggregateInfo.finalScore"),description:h("getInformation.aggregateInfo.finalScoreDescription"),lists:[{id:"0",value:0,label:h("getInformation.aggregateInfo.numberPointScale")},{id:"1",value:1,label:h("getInformation.aggregateInfo.textPointScale")}],listType:"radio",hasInput:!0},{id:1,color:"#47AFCF",boxShadow:"2px 4px 0px 0px #2B829C",title:h("getInformation.aggregateInfo.bookSet"),description:h("getInformation.aggregateInfo.bookSetDescription"),lists:E,listType:"radio",hasInput:!1},{id:2,color:"#4D72D0",boxShadow:"2px 4px 0px 0px #304E9C",title:h("getInformation.aggregateInfo.yourTarget"),description:h("getInformation.aggregateInfo.yourTargetDescription"),lists:A,listType:"checkbox",hasInput:!1}],[E,A,h]);return(0,l.jsx)("div",{className:"flex flex-wrap lg:gap-8 gap-0 items-stretch xl:justify-between justify-start mt-0 lg:mt-8 mx-auto max-w-[1440px] w-full lg:flex-row flex-col",children:D.map(e=>{var r,s;return(0,l.jsxs)("div",{className:"lg:flex-1 basis-[32%] lg:w-[442px] w-full  border-0 border-t border-gray-10 lg:border lg:border-gray-20 rounded-none lg:rounded-2xl px-2 py-4 min-h-auto xl:min-h-[481px]",children:[(0,l.jsx)("div",{className:"lg:py-5  g:px-4 py-4 pl-2 pr-1 rounded-[20px] text-center mx-auto max-w-[380px] lg:max-w-full",style:{backgroundColor:e.color,boxShadow:e.boxShadow},children:(0,l.jsx)("p",{className:"text-[16px] lg:text-xl font-bold text-white",children:e.title})}),(0,l.jsxs)("div",{className:(0,m.cn)("max-w-[380px] w-full mx-auto lg:mt-8 mt-4 px-2",!e.hasInput&&"mx-auto"),children:[(0,l.jsx)("p",{className:"lg:mb-[30px] mb-4 text-left text-[14px] lg:text-xl font-semibold text-gray-80",children:e.description}),e.hasInput&&(0,l.jsxs)("div",{className:"w-full mb-4 flex items-start justify-between gap-4",children:[(0,l.jsx)(u.Z,{name:"grade",placeholder:h("auth.grade"),items:f,value:null!==(r=t.gradeId)&&void 0!==r?r:null,onChange:S}),(0,l.jsx)(u.Z,{name:"semester",placeholder:h("auth.semester"),items:g,value:null!==(s=t.semester)&&void 0!==s?s:null,onChange:T})]}),(0,l.jsx)("ul",{className:"list-none p-0 w-fit",children:e.lists.map(r=>{var s;return(0,l.jsx)("li",{className:"text-center mb-5 flex items-center justify-start flex-wrap",children:"radio"===e.listType?(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)(o.Z,{name:r.label,label:r.label,value:null!==(s=r.value)&&void 0!==s?s:"",selectedOption:e.hasInput?t.scoreScale:t.curriculumId,setSelectedOption:e.hasInput?_:N,className:"lg:text-xl text-[14px] text-gray-60"}),e.hasInput&&(null==t?void 0:t.scoreScale)===r.value&&(0,l.jsxs)("div",{className:"mt-5 max-w-[175px] mx-auto w-full",children:[(0,l.jsx)(n.Z,{type:"text",value:t.score,onChange:k,label:h("getInformation.aggregateInfo.enterPoint"),error:!!p,style:{fontSize:"14px"}}),p&&(0,l.jsx)("p",{className:"text-warning-50 text-sm not-italic font-normal leading-5 tracking-ls_035 mt-1 text-left",children:p})]})]}):(0,l.jsx)("button",{onClick:()=>R(r),children:(0,l.jsx)(a.Z,{label:r.label,checked:b.includes(String(r.id)),className:"lg:text-xl text-[14px] text-gray-60 ml-2"})})},r.id)})})]})]},e.id)})})}},79105:function(e,t,r){r.d(t,{Z:function(){return s}});var l=r(57437),n={src:"https://static.tnmath.edu.vn/_next/static/media/viber-target.b7c0a899.png",height:140,width:107,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAAY1BMVEX2t4CkXitVSSeWWyn8xXi/bDHx07/Ejy7/3bb/89wZITD0qnj92J//zpj9yYK8fyz/yorxn23/3KzRoS7/oTbigBzxZhf4oT11Uif8vFbXoV6hfCzNkyX/rzT/rjbQm1ndnFN6TKb8AAAAGXRSTlP3zG9W/v3+/MAoz8D5zvz8wbvj+3Wrq3hjAVm7CAAAAAlwSFlzAAALEwAACxMBAJqcGAAAADtJREFUeJwFwQUSwCAQALHFpe5zQOX/r2yC0Tlrg2q1NsX5he09uO4wPTtDca7M9OK9XYliR4mkDpb0A08BArOP+ohmAAAAAElFTkSuQmCC",blurWidth:6,blurHeight:8}
1,a=r(33145),s=e=>{let{content:t}=e;return(0,l.jsxs)("div",{className:"lg:px-0 px-4 flex items-center lg:justify-start justify-center w-auto mx-auto flex-col lg:flex-row lg:gap-0 gap-4 mx-auto",children:[(0,l.jsx)(a.default,{src:n,alt:"viber-information",width:100,height:100}),(0,l.jsxs)("div",{className:"lg:order-none order-first relative flex items-start p-4 bg-bg-auth rounded-2xl max-w-md ml-0 lg:ml-5 min-w-[300px] lg:min-w-[700px]",children:[(0,l.jsx)("div",{className:"absolute top-1/2 left-0 -translate-x-full -translate-y-1/2",children:(0,l.jsx)("div",{className:"lg:block hidden w-0 h-0 border-t-[16px] border-t-transparent border-b-transparent border-r-[16px] border-r-bg-auth"})}),t]})]})}},64337:function(e,t,r){var l=r(57437),n=r(41880),a=r(9777),s=r(12711),o=r(63804),i=r(2265),c=r(43949),u=r(6436),d=r(76367),g=r(80442),m=r(803);let p={subjectIds:[],score:"",scoreScale:0,targetIds:[],curriculumId:"",semester:null,gradeId:null};function x(e,t){switch(t.type){case"SET_USER_TARGET":return{...e,...t.payload};case"RESET":return p;default:return e}}t.Z=e=>{let{isOpen:t,setIsOpen:r,userDocument:h,hideClose:f=!0,refetch:v,setIsOpenEntranceTest:b}=e,{t:w}=(0,c.$G)(),[E,y]=(0,i.useState)(0),[A,j]=(0,i.useState)(""),[C,S]=(0,i.useState)(!1),[T,_]=(0,i.useReducer)(x,p);(0,i.useEffect)(()=>{h&&(S(!0),_({type:"SET_USER_TARGET",payload:h}))},[h]);let N=async()=>{try{var e,t;let l={...T,semester:null===(e=T.semester)||void 0===e?void 0:e.value,gradeId:null===(t=T.gradeId)||void 0===t?void 0:t.id};(h?await u.Z.userTarget.updateUserDocumentRecord(l):await u.Z.userTarget.createUserDocumentRecord(l))&&((0,d.C)("Cập nhật th\xf4ng tin th\xe0nh c\xf4ng!","success"),y(0),null==v||v(),r(!1),null==b||b(!0),sessionStorage.setItem("userHasDocumentData","true"))}catch(e){console.log(e)}},I=(0,i.useMemo)(()=>[{label:"1",isStepDone:T.subjectIds.length>0&&C,content:(0,l.jsx)(m.Z,{userTarget:T,setUserTarget:e=>_({type:"SET_USER_TARGET",payload:e})}),action:T.subjectIds.length>0&&C?w("getInformation.common.continue"):w("getInformation.common.choose")},{label:"2",isStepDone:!1,content:(0,l.jsx)(s.Z,{userTarget:T,setUserTarget:e=>_({type:"SET_USER_TARGET",payload:e}),scoreError:A,setScoreError:j}),action:w("getInformation.common.explore")}],[T,C,w,A]),k=(0,i.useMemo)(()=>0===E?0===T.subjectIds.length:0===T.targetIds.length||0===T.subjectIds.length||""===T.score||!T.gradeId||!T.semester||""!==A||""===T.curriculumId,[E,T,A]);return(0,l.jsx)(n.Z,{open:t,disabledOutside:!0,hideClose:f,onClose:()=>r(!1),children:(0,l.jsx)(a.v,{steps:I,actions:(0,l.jsxs)(l.Fragment,{children:[E===I.length-1&&(0,l.jsx)(o.Z,{onClick:()=>y(e=>e-1),variant:"default",className:"mx-[30px] w-[192px]",children:w("common.back")}),(0,l.jsx)(o.Z,{variant:"primary",onClick:()=>{E<I.length-1?(S(!0),y(e=>e+1)):N()},disabled:k,className:(0,g.cn)("disabled:border-gray-5 disabled:bg-gray-5 disabled:text-gray-60","w-[192px]"),children:I[E].action})]}),currentStep:E,setCurrentStep:y})})}},3390:function(e,t,r){var l=r(57437),n=r(9777),a=r(63804),s=r(2265),o=r(43949),i=r(6436),c=r(76367),u=r(80442),d=r(65011),g=r(803),m=r(12711);let p={subjectIds:[],score:"",scoreScale:0,targetIds:[],curriculumId:"",semester:null,gradeId:null};function x(e,t){switch(t.type){case"SET_USER_TARGET":return{...e,...t.payload};case"RESET":return p;default:return e}}t.Z=e=>{let{isOpen:t,setIsOpen:r,userDocument:h,refetch:f,showCloseIcon:v=!1,setIsOpenEntranceTest:b}=e,{t:w}=(0,o.$G)(),[E,y]=(0,s.useState)(0),[A,j]=(0,s.useState)(""),[C,S]=(0,s.useState)(!1),[T,_]=(0,s.useReducer)(x,p),N=(0,s.useRef)(null);(0,s.useEffect)(()=>{h&&(S(!0),_({type:"SET_USER_TARGET",payload:h}))},[h]),(0,s.useEffect)(()=>{if(t){let e=window.scrollY;document.body.style.position="fixed",document.body.style.top="-".concat(e,"px"),document.body.style.width="100%"}else{let e=document.body.style.top;document.body.style.position="",document.body.style.top="",document.body.style.width="",window.scrollTo(0,-1*parseInt(e||"0"))}return()=>{document.body.style.position="",document.body.style.top="",document.body.style.width=""}},[t]),(0,s.useEffect)(()=>{N.current&&(console.log("scrollHeight:",N.current.scrollHeight),console.log("clientHeight:",N.current.clientHeight),N.current.scrollHeight>N.current.clientHeight&&(N.current.scrollTop=0))},[E]);let I=async()=>{try{var e,t;let l={...T,semester:null===(e=T.semester)||void 0===e?void 0:e.value,gradeId:null===(t=T.gradeId)||void 0===t?void 0:t.id};(h?await i.Z.userTarget.updateUserDocumentRecord(l):await i.Z.userTarget.createUserDocumentRecord(l))&&((0,c.C)("Cập nhật th\xf4ng tin th\xe0nh c\xf4ng!","success"),y(0),null==f||f(),r(!1),null==b||b(!0),sessionStorage.setItem("userHasDocumentData","true"))}catch(e){console.log(e)}},k=(0,s.useMemo)(()=>[{label:"1",isStepDone:T.subjectIds.length>0&&C,content:(0,l.jsx)(g.Z,{userTarget:T,setUserTarget:e=>_({type:"SET_USER_TARGET",payload:e})}),action:T.subjectIds.length>0&&C?w("getInformation.common.continue"):w("getInformation.common.choose")},{label:"2",isStepDone:!1,content:(0,l.jsx)(m.Z,{userTarget:T,setUserTarget:e=>_({type:"SET_USER_TARGET",payload:e}),scoreError:A,setScoreError:j}),action:w("getInformation.common.explore")}],[T,C,w,A]),R=(0,s.useMemo)(()=>0===E?0===T.subjectIds.length:0===T.targetIds.length||0===T.subjectIds.length||""===T.score||!T.gradeId||!T.semester||""!==A||""===T.curriculumId,[E,T,A]);return t?(0,l.jsxs)("div",{className:"fixed inset-0 z-[9999999] bg-white",children:[v&&(0,l.jsx)("div",{className:"sticky top-0 z-10 bg-white h-[56px] border-b border-gray-10",children:(0,l.jsx)("button",{onClick:()=>r(!1),className:"absolute top-1/2 -translate-y-1/2 right-4 p-2",children:(0,l.jsx)(d.Z,{className:"w-6 h-6"})})}),(0,l.jsx)("div",{ref:N,className:"w-full h-[calc(100%-56px)] overflow-y-auto",style:{WebkitOverflowScrolling:"touch",touchAction:"pan-y"},children:(0,l.jsx)("div",{className:"w-full mx-auto px-4 py-6",children:(0,l.jsx)("div",{className:"w-full border border-gray-10 rounded-2xl",children:(0,l.jsx)(n.v,{steps:k,actions:(0,l.jsxs)(l.Fragment,{children:[E===k.length-1&&(0,l.jsx)(a.Z,{onClick:()=>{y(e=>e-1)},variant:"default",className:"mr-4 ml-0 lg:mx-[30px] w-[126px] lg:w-[192px]",children:w("common.back")}),(0,l.jsx)(a.Z,{variant:"primary",onClick:()=>{E<k.length-1?(S(!0),y(e=>e+1)):I()},disabled:R,className:(0,u.cn)("disabled:border-gray-5 disabled:bg-gray-5 disabled:text-gray-60",C?"w-[162px] lg:w-[192px] ":"lg:w-[192px] w-[184px] h-10"),children:k[E].action})]}),currentStep:E,setCurrentStep:y})})})})]}):null}},803:function(e,t,r){r.d(t,{Z:function(){return m}});var l=r(57437),n=r(43949),a=r(79105),s={src:"https://static.tnmath.edu.vn/_next/static/media/math-area.d73bed26.png",height:1043,width:1564,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAM1BMVEVHuo+VlItXooVbqo5AsIh5x41gvJJQupZFtI1Ru5CLtpT5kouaz4vl0Hlrmmh8z7xiqI2vEZaQAAAACXBIWXMAABcRAAAXEQHKJvM/AAAALUlEQVR4nAXBiQHAIAwDsSsEbPeh7D8tEkWS2NA6UgTX8/3vEMx77TFFmSrsAxZfAQAOAN70AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5}
1,o=r(33145),i=r(2265),c=r(6436),u=r(71508),d=r(80442),g=r(71350),m=e=>{let{userTarget:t,setUserTarget:r}=e,{t:m}=(0,n.$G)(),[p,x]=(0,i.useState)([]),[h,f]=(0,i.useState)((null==t?void 0:t.subjectIds)||[]);(0,i.useEffect)(()=>{if(0===p.length){let e={all_children_only:g.Z.ALL_CHILDREN_ONLY,subject_mapping_code:g.Z.SUBJECT_MAPPING_CODE};c.Z.userTarget.getListSubject(e).then(e=>{e&&x(e)})}},[]);let v=(0,i.useCallback)(e=>{f(l=>{let n=l.includes(e.id)?l.filter(t=>t!==e.id):[...l,e.id];return r({...t,subjectIds:n}),n})},[t,r]),b=(0,i.useMemo)(()=>(0,l.jsxs)("div",{children:[(0,l.jsx)("h3",{className:"text-[14px] lg:text-xl font-semibold lg:font-bold text-gray-80",children:m("getInformation.coursesType.blockTitle")}),(0,l.jsx)("p",{className:"mt-1 text-base text-gray-60",children:m("getInformation.coursesType.blockContent")})]}),[m]);return(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"w-full flex items-center justify-center mt-0 lg:mt-8 lg:pt-0 pt-4 lg:border-none border-t border-gray-10",children:(0,l.jsx)(a.Z,{content:b})}),(0,l.jsx)("div",{className:"w-full flex flex-wrap gap-4 lg:gap-8 items-start justify-start lg:mt-8 mt-4 max-w-full lg:max-w-[1074px] lg:mx-10 mx-auto lg:px-0 px-4",children:p.map(e=>{let t=h.includes(e.id);return(0,l.jsx)("div",{className:"text-center w-[47%] lg:w-[30.1%] xl:w-[31.1%]",children:(0,l.jsxs)("button",{onClick:()=>v(e),children:[(0,l.jsx)(o.default,{src:s,alt:"math-".concat(e.id),width:112,height:76,sizes:"(max-width: 1024px) 112px, 330px",className:(0,d.cn)("w-full border-2 rounded-2xl transition-all duration-300 lg:min-w-[250px] xl:min-w-[330px] lg:h-[212px] min-w-[122px] h-[76px]",t?"border-primary shadow-xl":"border-transparent")}),(0,l.jsxs)("div",{className:"flex items-start justify-center mt-2 w-[112px] lg:w-full",children:[(0,l.jsx)("div",{className:"mt-0 lg:mt-[10px]",children:(0,l.jsx)(u.Z,{checked:t})}),(0,l.jsx)("p",{className:"text-[14px] lg:text-h4 text-gray-60 ml-2 text-left font-semibold",children:e.name})]})]})},e.id)})})]})}},71350:function(e,t){t.Z={TYPE_CONTENT_STRUCTURE:1,TYPE_TOPIC_STRUCTURE:2,MULTIPLE_CHOICE:"1",MULTIPLE_ANSWER_QUESTION:"2",FILL_IN_THE_BLANK:"3",MATCHING:"4",ORDERING:"5",DRAG_AND_DROP_INTO_CATEGORY:"6",DRAG_AND_DROP_INTO_THE_BLANK:"7",FILL_IN_THE_BLANK_WITH_THE_GIVEN_OPTION:"8",DRAG_AND_DROP_IN_ORDER:"9",TRUE_FALSE_QUESTIONS:"10",MULTIPLE_STATEMENTS_QUESTION:"11",ESSAY:"12",TRUE_FALSE:"13",ROOT_URL:"https://trangnguyentoan.edu.com",MATHJAX_CDN:"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML",QUESTION_NAME:{1:"Trắc nghiệm 1 đ\xe1p \xe1n đ\xfang",2:"Trắc nghiệm nhiều đ\xe1p \xe1n đ\xfang",3:"Điền v\xe0o chỗ trống",4:"Nối 2 cột",5:"Xắp sếp trật tự",6:"K\xe9o thả v\xe0o \xf4 chủ đề",7:"K\xe9o thả v\xe0o \xf4 trống",8:"Điền v\xe0 chọn đ\xe1p \xe1n c\xf3 sẵn",9:"K\xe9o thả theo trật tự",10:"C\xe2u hỏi ch\xf9m đ\xfang sai",11:"C\xe2u hỏi ch\xf9m",12:"Viết tự luận"},FILL_INDEX:"@[@]",REGEX_FILL_INDEX:/@\[@\]/g,REGEX_SEARCH_INDEX:/@\[@\]/,REGEX_HTML_TAG:/<[a-zA-Z][^>]*>/g,STRUCTURE_TYPE:{text:1,video:2,audio:3,image:4,series:5},STRUCTURE_MOCK_TYPE:{1:"text",2:"video",3:"audio",4:"image",5:"series"},STRUCTURE_TYPE_LIST:[{value:"text",label:"Text"},{value:"audio",label:"Audio"},{value:"image",label:"Ảnh"},{value:"video",label:"Video"},{value:"series",label:"Series"}],STRUCTURE_TYPE_CONTENT_LIST:[{value:"text",label:"Text"},{value:"audio",label:"Audio"},{value:"image",label:"Ảnh"},{value:"video",label:"Video"}],STRUCTURE_TYPE_LIST_WITH_ANSI:[{value:"text",label:"Text"},{value:"audio",label:"Audio"},{value:"image",label:"Ảnh"}],QUESTION_STATUS:[{value:"1",name:"Chưa xuất bản",color:"primary"},{value:"2",name:"Đ\xe3 xuất bản",color:"success"},{value:"3",name:"Đ\xe3 hủy",color:"error"}],CURRICULUM_BASIC_TYPE:"1",CURRICULUM_ADVANCED_TYPE:"2",ANSWER_NUMBER:["A","B","C","D","E","F","G","H","I","J"],CHILDREN_QUESTION_NUMBER:["a","b","c","d","e","f","g","h","i","j"],COLOR_RANDOM:["#47AFCF","#FFBE00","#FF005B","#4D72D0","#FF7B00","#7643CB","#32AD70"],ALL_CHILDREN_ONLY:1,SUBJECT_MAPPING_CODE:"001"}},10057:function(e,t,r){var l,n,a=r(2265);(l=n||(n={}))[l.MOBILE=480]="MOBILE",l[l.SM_TABLET=768]="SM_TABLET",l[l.MD_TABLET=1024]="MD_TABLET",l[l.LG_TABLET=1536]="LG_TABLET",t.Z=()=>{let[e,t]=(0,a.useState)(window.innerWidth<480),[r,l]=(0,a.useState)(window.innerWidth>=480&&window.innerWidth<=768),[n,s]=(0,a.useState)(window.innerWidth>768&&window.innerWidth<=1536),[o,i]=(0,a.useState)(window.innerWidth>=768&&window.innerWidth<=1024),[c,u]=(0,a.useState)(window.innerWidth>1536);return(0,a.useEffect)(()=>{let e=()=>{t(window.innerWidth<480),l(window.innerWidth>=480&&window.innerWidth<=768),i(window.innerWidth>=768&&window.innerWidth<=1024),s(window.innerWidth>768&&window.innerWidth<=1536),u(window.innerWidth>1536)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),{isMobile:e,isTabletSm:r,isTabletMd:o,isTabletLg:n,isDesktop:c,isTablet:r||n,lessTabletSm:r||e}}}}]);

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.