1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4739],{48936:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/enterprise/federal/success",function(){return n(65698)}])},59640:function(e,t,n){"use strict";var r=n(82729),i=n(85893),a=n(67294),o=n(2664),c=n(16829),s=n(11163),l=n(30981),p=n(89399);function _templateObject(){var e=(0,r._)(["\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n background-color: #fff;\n"]);return _templateObject=function(){return e},e}function _templateObject1(){var e=(0,r._)(["\n margin-top: 2.8rem;\n margin-left: 1.6rem;\n margin-bottom: 1.9rem;\n color: #cc4746;\n font-size: 16px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n letter-spacing: -0.64px;\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){var e=(0,r._)(["\n display: flex;\n padding: 1.6rem;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n gap: 12px;\n align-self: stretch;\n\n border-radius: 16px;\n border: 1px solid rgba(0, 0, 0, 0.13);\n\n background: #fff;\n width: 31.82rem;\n height: 12.2rem;\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){var e=(0,r._)(["\n display: flex;\n justify-content: space-between;\n flex-direction: column;\n align-items: center;\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){var e=(0,r._)(["\n display: flex;\n flex-direction: column;\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){var e=(0,r._)(["\n color: #538cee;\n font-size: 17px;\n font-style: normal;\n font-weight: 500;\n line-height: 23.571px;\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){var e=(0,r._)(["\n color: #000;\n font-size: 17px;\n font-style: normal;\n font-weight: 500;\n line-height: 23.571px;\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){var e=(0,r._)(["\n color: #000;\n\n text-align: right;\n font-size: 17px;\n font-style: normal;\n font-weight: 500;\n line-height: 23.571px;\n"]);return _templateObject7=function(){return e},e}function _templateObject8(){var e=(0,r._)(["\n background: none;\n border: none;\n color: #a83232;\n cursor: pointer;\n font-size: 0.9rem;\n margin-top: 10px;\n"]);return _templateObject8=function(){return e},e}function _templateObject9(){var e=(0,r._)(["\n // position: absolute;\n // top: 16px;\n // right: 16px;\n // background: none;\n // border: none;\n // color: #a83232;\n // cursor: pointer;\n width: 15px;\n height: 18px;\n flex-shrink: 0;\n"]);return _templateObject9=function(){return e},e}function _templateObject10(){var e=(0,r._)(["\n background: white;\n padding: 2.3rem;\n border-radius: 2.4rem;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n margin: 0 1.6rem;\n\n width: 328px;\n height: 189px;\n flex-shrink: 0;\n"]);return _templateObject10=function(){return e},e}function _templateObject11(){var e=(0,r._)(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n font-size: 0.9rem;\n align-items: center;\n"]);return _templateObject11=function(){return e},e}function _templateObject12(){var e=(0,r._)(["\n color: #212121;\n font-size: 21px;\n font-style: normal;\n font-weight: 600;\n line-height: 28px;\n"]);return _templateObject12=function(){return e},e}function _templateObject13(){var e=(0,r._)(["\n background-color: #da504a;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n cursor: pointer;\n margin-bottom: 20px;\n display: flex;\n width: 343px;\n height: 45px;\n padding: 11px 18px;\n justify-content: center;\n align-items: center;\n gap: 10px;\n flex-shrink: 0;\n"]);return _templateObject13=function(){return e},e}function _templateObject14(){var e=(0,r._)(["\n background-color: white;\n color: #da504a;\n border: 1px solid #da504a;\n border-radius: 8px;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n width: 343px;\n height: 45px;\n padding: 11px 18px;\n justify-content: center;\n align-items: center;\n gap: 10px;\n flex-shrink: 0;\n margin-bottom: 20px;\n"]);
1return _templateObject14=function(){return e},e}function _templateObject15(){var e=(0,r._)(["\n color: #da504a;\n font-size: 28px;\n font-weight: 600;\n line-height: 42px;\n text-align: center;\n"]);return _templateObject15=function(){return e},e}function _templateObject16(){var e=(0,r._)(["\n color: #128760;\n font-size: 28px;\n font-weight: 600;\n line-height: 42px;\n text-align: center;\n padding-top: 20px;\n"]);return _templateObject16=function(){return e},e}function _templateObject17(){var e=(0,r._)(["\n font-size: 16px;\n font-weight: 500;\n line-height: 28px;\n letter-spacing: -0.01em;\n text-align: center;\n color: #1a1a1a;\n margin-top: 30px;\n"]);return _templateObject17=function(){return e},e}function _templateObject18(){var e=(0,r._)(["\n font-size: 16px;\n font-weight: 500;\n line-height: 28px;\n letter-spacing: -0.01em;\n text-align: center;\n color: #da504a;\n margin-top: 30px;\n"]);return _templateObject18=function(){return e},e}function _templateObject19(){var e=(0,r._)(["\n margin-top: 6.1rem;\n margin-left: 1.557rem;\n background: none;\n border: none;\n font-size: 24px;\n cursor: pointer;\n"]);return _templateObject19=function(){return e},e}function _templateObject20(){var e=(0,r._)(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: fixed;\n bottom: 0;\n flex-direction: column;\n width: 100%;\n background-color: white;\n padding-bottom: 2.016rem;\n padding-top: 2.112rem;\n box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);\n"]);return _templateObject20=function(){return e},e}var u=c.Z.div(_templateObject());c.Z.h2(_templateObject1()),c.Z.div(_templateObject2()),c.Z.div(_templateObject3()),c.Z.div(_templateObject4()),c.Z.div(_templateObject5()),c.Z.div(_templateObject6()),c.Z.div(_templateObject7()),c.Z.button(_templateObject8()),c.Z.button(_templateObject9()),c.Z.div(_templateObject10()),c.Z.div(_templateObject11()),c.Z.div(_templateObject12());var f=c.Z.button(_templateObject13()),m=c.Z.button(_templateObject14()),d=c.Z.p(_templateObject15()),b=c.Z.p(_templateObject16()),h=c.Z.p(_templateObject17());c.Z.p(_templateObject18());var g=c.Z.button(_templateObject19()),x=c.Z.div(_templateObject20());t.Z=function(e){var t=e.toggle,n=(0,s.useRouter)(),r=(0,o.I0)(),isInIframe=function(){try{return window.self!==window.top}catch(e){return!0}},handleNavigation=function(e){if(isInIframe()){try{window.parent.postMessage("closeIframe","*")}catch(e){console.log("Could not communicate with parent window")}return}e&&n.push(e)};return((0,p.Z)(),(0,a.useEffect)(function(){t&&r((0,l.GM)())},[r,t]),t)?(0,i.jsxs)(u,{children:[(0,i.jsxs)("div",{style:{height:"70vh",display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",backgroundColor:"#FFF",paddingBottom:"2rem"},children:[(0,i.jsx)("img",{src:"/static/images/success.png",alt:""}),(0,i.jsxs)(b,{children:["Payment ",(0,i.jsx)("br",{})," Completed!"]}),(0,i.jsxs)(h,{children:["You have successfully",(0,i.jsx)("br",{}),"redeemed the plan."]})]}),(0,i.jsx)(x,{children:(0,i.jsx)(m,{type:"submit",onClick:function(){localStorage.setItem("paymentDone","1");handleNavigation(n.asPath.startsWith("/enterprise/kotak")?"/enterprise/kotak/services":n.asPath.startsWith("/enterprise/mastercard")?"/enterprise/mastercard/services":n.asPath.startsWith("/enterprise/msci")?"/enterprise/msci/services":n.asPath.startsWith("/enterprise/redcliffe-labs")?"/enterprise/redcliffe-labs/services":"/enterprise/federal/services")},children:"Go to Home"})})]}):(0,i.jsxs)(u,{children:[(0,i.jsx)(g,{children:(0,i.jsx)("img",{style:{width:"2.4rem",height:"2.4rem"},src:"/static/images/arrow_back_stick.webp",alt:"Edit"})}),(0,i.jsxs)("div",{style:{height:"70vh",display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",backgroundColor:"#FFF",paddingBottom:"2rem"},children:[(0,i.jsx)("img",{src:"/static/images/fail.png",alt:""}),(0,i.jsx)(d,{children:"Payment failed"})]}),(0,i.jsxs)(x,{children:[(0,i.jsx)(f,{type:"submit",onClick:function(){handleNavigation(n.asPath.startsWith("/enterprise/kotak")?"/enterprise/kotak/kotakFlow":n.asPath.startsWith("/enterprise/mastercard")?"/enterprise/mastercard/mastercardflow":n.asPath.startsWith("/enterprise/msci")?"/enterprise/msci/msciflow":n.asPath.startsWith("/enterprise/redcliffe-labs")?"/enterprise/redcliffe-labs/redcliffeflow":"/enterprise/federal/federalflow")},children:"Retry"}),(0,i.jsx)(m,{type:"submit",onClick:function(){handleNavigation(n.asPath.startsWith("/enterprise/kotak")?"/enterprise/kotak/kotakFlow":n.asPath.startsWith("/enterprise/mastercard")?"/enterprise/mastercard/mastercardflow":n.asPath.startsWith("/enterprise/msci")?"/enterprise/msci/msciflow":n.asPath.startsWith("/enterprise/redcliffe-labs")?"/enterprise/redcliffe-labs/redcliffeflow":"/enterprise/federal/federalflow")},children:"Go to Cart"})]})]})}},65698:function(e,t,n){"use strict";n.r(t);var r=n(85893),i=n(59640);t.default=function(){return(0,r.jsx)(i.Z,{toggle:!0})}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=48936)}),_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.