(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[65],{e7i8:function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return b}));var n=a("nKUr"),s=a("cpVT"),r=a("hlie"),c=a("hlFM"),i=a("kKAo"),l=a("ofer"),o=a("RD7I"),h=a("mwIZ"),j=a.n(h),p=(a("q1tI"),Object(o.a)((function(e){var t;return{underline:{borderBottom:"1px dotted"},sup:Object(s.a)({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:j()(e,"palette.collins.highlightYellow")},hsgContainer:Object(s.a)({backgroundColor:j()(e,"palette.secondary.main"),minHeight:"34.7vw",position:"relative",overflow:"hidden",display:"flex"},e.breakpoints.up("md"),{height:"34vw"}),textStyle:{position:"absolute",fontFamily:j()(e,"typography.h1.fontFamily"),color:j()(e,"palette.collins.pastelPurple"),fontSize:"13vw",lineHeight:"0"},pgPass:{left:"-1vw",top:"6vw",color:j()(e,"palette.collins.highlightYellow")},pgGuar:{bottom:"2vw",right:"-.5vw"},pgHigher:Object(s.a)({top:"6vw",left:"-1vw"},e.breakpoints.down("sm"),{fontSize:"23vw",top:"11vw"}),pgScore:Object(s.a)({bottom:"2vw",right:"-.5vw"},e.breakpoints.down("sm"),{fontSize:"23vw",bottom:"4vw"}),message:(t={margin:"2rem 0",alignSelf:"center",width:"100%","& h2":{lineHeight:".6"}},Object(s.a)(t,e.breakpoints.down("sm"),{margin:"20rem 0","& h5":{fontSize:"1.8rem"},"& h2":{fontSize:"3.2rem"},"& p span::before":{content:'"\\A"',whiteSpace:"pre"}}),Object(s.a)(t,e.breakpoints.down("xs"),{margin:"13rem 0","& h2":{lineHeight:"1"}}),t)}})));function b(e){var t=p(e),a=e.hsgType,s="DEFAULT"!==a?"PASS":"HIGHER",o="DEFAULT"!==a?"GUARANTEED":"SCORE",h="DEFAULT"!==a?t.pgPass:t.pgHigher,j="DEFAULT"!==a?t.pgGuar:t.pgScore,b="";switch(a){case"NURSING":b=Object(n.jsxs)(n.Fragment,{children:[Object(n.jsx)("span",{className:t.yellowText,children:"Pass the first time,"}),Object(n.jsx)("br",{})," or"," ",Object(n.jsx)(r.a,{href:"https://www.kaptest.com/nclex/nursing-guarantee",color:"inherit",className:t.underline,children:"get your money back."}),Object(n.jsx)("span",{className:t.sup,children:"\u2020"})]});break;case"BAR":b=Object(n.jsxs)(n.Fragment,{children:[Object(n.jsx)("span",{className:t.yellowText,children:"Pass the Bar,"}),Object(n.jsx)("br",{}),Object(n.jsx)(r.a,{href:"/bar-exam/guarantee",color:"inherit",className:t.underline,children:"guaranteed or your money back."}),Object(n.jsx)("span",{className:t.sup,children:"\u2020"})]});break;case"GED":b=Object(n.jsxs)(n.Fragment,{children:[Object(n.jsx)("span",{className:t.yellowText,children:"Pass score guaranteed,"}),Object(n.jsx)("br",{}),"or"," ",Object(n.jsx)(r.a,{href:"https://www.kaptest.com/ged/guarantee",color:"inherit",className:t.underline,children:"your money back."}),Object(n.jsx)("span",{className:t.sup,children:"\u2020"})]});break;default:b=Object(n.jsxs)(n.Fragment,{children:[Object(n.jsx)("span",{className:t.yellowText,children:"Score higher with Kaplan,"}),Object(n.jsx)("br",{}),"or"," ",Object(n.jsx)(r.a,{href:"https://www.kaptest.com/hsg",color:"inherit",className:t.underline,children:"get your money back."}),Object(n.jsx)("span",{className:t.sup,children:"\u2020"})]})}return Object(n.jsx)(n.Fragment,{children:Object(n.jsxs)(c.a,{className:t.hsgContainer,children:[Object(n.jsx)(i.a,{children:Object(n.jsx)("div",{className:"".concat(h," ").concat(t.textStyle),children:s})}),Object(n.jsx)(i.a,{children:Object(n.jsx)("div",{className:"".concat(j," ").concat(t.textStyle),children:o})}),Object(n.jsxs)(c.a,{className:t.message,children:[Object(n.jsxs)(l.a,{variant:"h5",align:"center",color:"textSecondary",paragraph:!0,children:["The best guarantee is one you won\u2019t need. ",Object(n.jsx)("span",{children:"But you get it anyway."})]}),Object(n.jsx)(l.a,{variant:"h2",align:"center",color:"textSecondary",children:b})]})]})})}}}]);