1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6497],{10833:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(64255),i=n(90110),s=n(18021),a=n.n(s),u=n(69542);let o={textAlign:"center",color:"common.brand.primary",fontSize:{sm:48},maxWidth:634};function l({headingText:e,isCouponTrialDiscount:t=!1}){return t?(0,r.jsx)(i.A,{variant:"Heading/Regular/2XL",component:"h1",sx:o,children:(0,u.c)(e||"")}):(0,r.jsx)(i.A,{variant:"Heading/Regular/2XL",component:"h1",sx:o,children:e})}l.propTypes={headingText:a().oneOfType([a().string,a().array]),isCouponTrialDiscount:a().bool};let d=l},32438:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/premium/redeem/pay/[id]",function(){return n(81471)}])},81471:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>I,default:()=>g});var r=n(64255),i=n(55714),s=n(1179),a=n(60382),u=n(44383),o=n(9243),l=n(18021),d=n.n(l),c=n(68559),p=n(15012),x=n(87373),m=n(82423),h=n(35478),A=n(10833),f=n(98010),y=n(24251),_=n(20211);let b={display:"flex",justifyContent:"center",mt:{xs:4,sm:10},width:"100%"},j={width:"100%",px:{tb:0,m:4},maxWidth:640};function T({setupIntentId:e,showTruemed:t}){let n=(0,c.Vb)(),{locale:l}=(0,o.useRouter)(),d=(0,a.A)(),f=(0,i.A)(d.breakpoints.down("sm")),{data:I,isPending:g}=(0,u.I)({queryKey:["setupIntent",e],queryFn:()=>(0,p.qN)({id:e})}),{data:v,isPending:w}=(0,u.I)({queryKey:["user"],queryFn:()=>(0,x.wz)({})});if(g||w)return(0,r.jsx)(m.a,{});let N=(0,h.hu)(I,n),C=I?.checkoutAction==="COUPON_TRIAL_DISCOUNT";return(0,r.jsxs)(_.A,{setupIntent:I,user:v,locale:l,showTruemed:t,children:[!f&&(0,r.jsx)(A.A,{isCouponTrialDiscount:!0,headingText:C?I?.coupon?.metadata?.headlineLabel?.replace("{trialIntervalUnit}",I?.coupon?.metadata?.trialIntervalUnit)?.replace("{percentOff}",I?.coupon?.percentOff):N.HEADING}),(0,r.jsx)(s.A,{sx:b,children:(0,r.jsx)(s.A,{sx:j,children:(0,r.jsx)(y.A,{buttonText:n("subscribeUppercase"),cardInputTitle:n("premium.redeem.v2.addPaymentDetails"),setupIntent:I,user:v})})})]})}T.propTypes={setupIntentId:d().string.isRequired,showTruemed:d().bool.isRequired},T.Layout=f.A;var I=!0;let g=T},98010:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(64255),i=n(74041),s=n(1179),a=n(68559),u=n(2966),o=n(10483);let l={minHeight:"100vh",position:"relative"},d={pt:{xs:16,sm:21},pb:{xs:8,sm:"170px"},px:4,mx:"auto",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"};function c({children:e}){let t=(0,a.Vb)();return(0,r.jsxs)(s.A,{sx:l,children:[(0,r.jsx)(i.bV,{title:t("premium.redeem.v2.title")}),(0,r.jsx)(u.A,{}),(0,r.jsx)(s.A,{component:"main",sx:d,children:e}),(0,r.jsx)(o.A,{})]})}}},e=>{e.O(0,[7124,3849,3879,1549,4342,7258,7646,1427,3237,636,6593,8792],()=>e(e.s=32438)),_N_E=e.O()}]); 2//# sourceMappingURL=[id]-acb94dfb9d14fb95.js.map
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.