"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6201],{36201:function(e,n,s){s.r(n),s.d(n,{default:function(){return g}});var a=s(92809),r=s(89659),t=s(99956),l=s(79895),i=s(22318),o=s(30115),c=s(27361),h=s.n(c),p=(s(67294),s(85893)),d=(0,o.Z)((function(e){var n;return{underline:{borderBottom:"1px dotted"},sup:(0,a.Z)({verticalAlign:"super",transform:"scale(0.5) translateX(2px) translateY(0.5ex)",transformOrigin:"left",marginRight:"-.5ch",display:"inline-block"},e.breakpoints.down("xs"),{fontSize:"65%"}),yellowText:{color:h()(e,"palette.collins.highlightYellow")},hsgContainer:(0,a.Z)({backgroundColor:h()(e,"palette.secondary.main"),minHeight:"34.7vw",position:"relative",overflow:"hidden",display:"flex"},e.breakpoints.up("md"),{height:"34vw"}),textStyle:{position:"absolute",fontFamily:h()(e,"typography.h1.fontFamily"),color:h()(e,"palette.collins.pastelPurple"),fontSize:"13vw",lineHeight:"0"},pgPass:{left:"-1vw",top:"6vw",color:h()(e,"palette.collins.highlightYellow")},pgGuar:{bottom:"2vw",right:"-.5vw"},pgHigher:(0,a.Z)({top:"6vw",left:"-1vw"},e.breakpoints.down("sm"),{fontSize:"23vw",top:"11vw"}),pgScore:(0,a.Z)({bottom:"2vw",right:"-.5vw"},e.breakpoints.down("sm"),{fontSize:"23vw",bottom:"4vw"}),message:(n={margin:"2rem 0",alignSelf:"center",width:"100%","& h2":{lineHeight:".6"}},(0,a.Z)(n,e.breakpoints.down("sm"),{margin:"20rem 0","& h5":{fontSize:"1.8rem"},"& h2":{fontSize:"3.2rem"},"& p span::before":{content:'"\\A"',whiteSpace:"pre"}}),(0,a.Z)(n,e.breakpoints.down("xs"),{margin:"13rem 0","& h2":{lineHeight:"1"}}),n)}}));function g(e){var n=d(e),s=e.hsgType,a="DEFAULT"!==s?"PASS":"HIGHER",o="DEFAULT"!==s?"GUARANTEED":"SCORE",c="DEFAULT"!==s?n.pgPass:n.pgHigher,h="DEFAULT"!==s?n.pgGuar:n.pgScore,g="";switch(s){case"NURSING":g=(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("span",{className:n.yellowText,children:"Pass the first time,"}),(0,p.jsx)("br",{})," or"," ",(0,p.jsx)(r.Z,{href:"https://www.kaptest.com/nclex/nursing-guarantee",color:"inherit",className:n.underline,children:"get your money back."}),(0,p.jsx)("span",{className:n.sup,children:"\u2020"})]});break;case"BAR":g=(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("span",{className:n.yellowText,children:"Pass the Bar,"}),(0,p.jsx)("br",{}),(0,p.jsx)(r.Z,{href:"/bar-exam/guarantee",color:"inherit",className:n.underline,children:"guaranteed or your money back."}),(0,p.jsx)("span",{className:n.sup,children:"\u2020"})]});break;case"GED":g=(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("span",{className:n.yellowText,children:"Pass score guaranteed,"}),(0,p.jsx)("br",{}),"or"," ",(0,p.jsx)(r.Z,{href:"https://www.kaptest.com/ged/guarantee",color:"inherit",className:n.underline,children:"your money back."}),(0,p.jsx)("span",{className:n.sup,children:"\u2020"})]});break;default:g=(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("span",{className:n.yellowText,children:"Score higher with Kaplan,"}),(0,p.jsx)("br",{}),"or"," ",(0,p.jsx)(r.Z,{href:"https://www.kaptest.com/hsg",color:"inherit",className:n.underline,children:"get your money back."}),(0,p.jsx)("span",{className:n.sup,children:"\u2020"})]})}return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)(t.Z,{className:n.hsgContainer,children:[(0,p.jsx)(l.Z,{children:(0,p.jsx)("div",{className:"".concat(c," ").concat(n.textStyle),children:a})}),(0,p.jsx)(l.Z,{children:(0,p.jsx)("div",{className:"".concat(h," ").concat(n.textStyle),children:o})}),(0,p.jsxs)(t.Z,{className:n.message,children:[(0,p.jsxs)(i.Z,{variant:"h5",align:"center",color:"textSecondary",paragraph:!0,children:["The best guarantee is one you won\u2019t need. ",(0,p.jsx)("span",{children:"But you get it anyway."})]}),(0,p.jsx)(i.Z,{variant:"h2",align:"center",color:"textSecondary",children:g})]})]})})}}}]);