(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{"30dd":function(e,t,n){"use strict";var i=n("kOwS"),a=n("qNsG"),o=n("q1tI"),r=n.n(o),l=n("17x9"),s=n.n(l),c=n("vOnD").a.p.withConfig({displayName:"styled__ItalicStyle",componentId:"sc-1c2m4h3-0"})(["color:",";margin:",";font-size:",";line-height:",";font-family:'georgia' !important;-webkit-transition:all 0.3s cubic-bezier(0.250,0.250,0.750,0.750);-moz-transition:all 0.3s cubic-bezier(0.250,0.250,0.750,0.750);-o-transition:all 0.3s cubic-bezier(0.250,0.250,0.750,0.750);transition:all 0.3s cubic-bezier(0.250,0.250,0.750,0.750);cursor:pointer;overflow:hidden;display:-webkit-box;-webkit-line-clamp:",";-webkit-box-orient:vertical;&:hover{text-decoration:underline;}>P{overflow:hidden;display:-webkit-box;-webkit-line-clamp:",";-webkit-box-orient:vertical;font-family:'georgia' !important;font-size:",";line-height:",";}@media only screen and (min-width:320px) and (max-width:768px){font-size:16px;line-height:20px;> p{font-size:16px;line-height:20px;}}"],function(e){return e.color||"#000000"},function(e){return e.margin||"0"},function(e){return e.fontSize||"18px"},function(e){return e.lineHeight||"21px"},function(e){return e.lineClamp||3},function(e){return e.lineClamp||3},function(e){return e.fontSize||"18px"},function(e){return e.lineHeight||"21px"});function d(e){var t=e.text,n=e.margin,o=e.fontSize,l=e.color,s=e.lineHeight,d=Object(a.a)(e,["text","margin","fontSize","color","lineHeight"]);return r.a.createElement(c,Object(i.a)({margin:n,fontSize:o,lineHeight:s,color:l},d),t)}d.PropTypes={text:s.a.string,margin:s.a.string,color:s.a.string,fontSize:s.a.string,lineHeight:s.a.string};t.a=d},"7W4A":function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/subscription",function(){var e=n("LmPC");return{page:e.default||e}}])},"9uzc":function(e,t){e.exports="/_next/static/images/img10-74d3d7e055b8e4fe727c8f436f70ddff.png"},LmPC:function(e,t,n){"use strict";n.r(t);var i=n("ln6h"),a=n.n(i),o=n("O40h"),r=n("q1tI"),l=n.n(r),s=n("/MKj"),c=n("zrwo"),d=n("kOwS"),u=n("doui"),p=n("9Jkg"),m=n.n(p),h=n("vOnD"),f=(n("NGwb"),n("nOHt")),g=n.n(f),b=n("4prG"),x=n("9rZX"),y=n.n(x),w=n("qNsG"),v=n("w77S"),E=n("24sF"),k=n("dhhW"),_=/^([\w.+-]+@[a-zA-Z0-9.-]+\.[a-zA-z0-9]{2,4})$/,S=new RegExp("^([a-zA-Z0-9 ]){15}$"),C=new RegExp("^[\\d]+$"),O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.authentication,n=((t=void 0===t?{}:t).USERS_SIGNUP_API,t.profile),i=e.subscription_plan_id,a=e.dispatch,o=(e.setModal,e.setReload,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),l=o.onSuccess,s=o.onError,d=o.method,p=(o.isSignUp,o.uid),h=o.value,f=void 0===h?{}:h,g=Object(r.useState)(f.full_name||""),x=Object(u.default)(g,2),y=x[0],w=x[1],v=Object(r.useState)(""),E=Object(u.default)(v,2),k=E[0],_=E[1],S=Object(r.useState)(f.password||""),O=Object(u.default)(S,2),z=O[0],N=(O[1],Object(r.useState)("")),T=Object(u.default)(N,2),j=(T[0],T[1]),A=Object(r.useState)(f.mobile||""),B=Object(u.default)(A,2),G=B[0],L=B[1],D=Object(r.useState)(""),M=Object(u.default)(D,2),R=M[0],U=M[1],F=Object(r.useState)(d),W=Object(u.default)(F,1)[0],H=Object(r.useState)(f.email_id||""),V=Object(u.default)(H,2),q=V[0],K=V[1],Y=Object(r.useState)(""),J=Object(u.default)(Y,2),$=J[0],X=J[1],Z=Object(r.useState)(""),Q=Object(u.default)(Z,2),ee=Q[0],te=Q[1],ne=Object(r.useState)(""),ie=Object(u.default)(ne,2),ae=ie[0],oe=ie[1],re=Object(r.useState)(""),le=Object(u.default)(re,2),se=le[0],ce=le[1],de=Object(r.useState)(""),ue=Object(u.default)(de,2),pe=ue[0],me=ue[1],he=Object(r.useState)(""),fe=Object(u.default)(he,2),ge=fe[0],be=fe[1],xe=Object(r.useState)(!1),ye=Object(u.default)(xe,2),we=ye[0],ve=ye[1];console.log(R,"MOBILE_ERROR"),Object(r.useEffect)(function(){return function(){}},[]),Object(r.useEffect)(function(){U(""),X(""),L(""),K(""),be(""),me(""),oe(""),te("")},[W]);var Ee=Object(r.useCallback)(function(e){e.preventDefault();var t=P((q||"").trim(),"emailAddress");t&&X(t)},[q]),ke=Object(r.useCallback)(function(e){e.preventDefault();var t=P(y,"name");t&&_(t)},[y]),_e=(Object(r.useCallback)(function(e){e.preventDefault();var t=P(z,"password");t&&j(t)},[z]),Object(r.useCallback)(function(e){var t=I(e);t&&!C.test((t||"").trim())?U("Only Numbers are allowed"):(R&&U(""),L(t.trim())),(n.mobile||"").toString()===t&&U("Please use different mobile number.You cannot gift yourself")},[R])),Se=Object(r.useCallback)(function(e){e.preventDefault();var t=P((G||"").trim(),"mobileNumber",n);t&&U(t)},[G]),Ce=Object(r.useCallback)(function(e,t){var n=I(e),i=I(t);ae&&oe(""),te(n),ce(i)}),Oe=Object(r.useCallback)(function(e){var t=I(e);ge&&be(""),me(t)});return{mobile:{value:G,onChange:_e,onBlur:Se,error:R},email:{value:q,onChange:function(e){var t=I(e);$&&X(""),K(t)},error:$,onBlur:Ee},name:{value:y,onChange:function(e){var t=I(e);k&&_(""),w(t)},error:k,onBlur:ke},stateCode:{value:ee,stateName:se,onChange:Ce,error:ae,onBlur:function(e){e.preventDefault();var t=P(ee,"other");t&&oe(t)},setStateCodeError:oe},gstNo:{value:pe,onChange:Oe,error:ge,onBlur:function(e){e.preventDefault();var t=P(pe,"gstNo");t&&be(t)},setGstNoError:be},gstUser:{value:we,onChange:function(e){!1===e.target.checked&&(te(""),me("")),ve(e.target.checked)}},onSubmit:function(){var e=[],t={name:P(y,"name"),password:P(z,"password"),email:P((q||"").trim(),"emailAddress"),mobile:P(G,"mobileNumber",n),stateCode:P(ee),gstNo:P((pe||"").trim(),"gstNo")};if(t.mobile&&(e.push(null),U(t.mobile)),t.name&&(e.push(null),_(t.name)),t.email&&(e.push(null),X(t.email)),t.stateCode&&(e.push(null),oe(t.stateCode)),t.gstNo&&we&&(e.push(null),be(t.gstNo)),e.length)s("Form Validation Error");else{var o=Object(c.a)({subscription_plan_id:i.id,receiver_name:y,receiver_mobile:G,receiver_email:(q||"").trim()},p?{uid:p}:{},{usr_gst:!0===we?1:0,gst_no:pe,state_code:+ee,state_name:se});a(b.PAYMENT_GIFT_CHECKOUT_API_CALL({payload:o,errorCallback:function(e){var t=e.message;s(t?"string"===typeof t?t:m()(t):"Something went wrong.Please try again")},successCallback:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l(e)}}))}}}};function I(e){return"object"===Object(k.a)(e)?e.target.value:e}function P(e,t){var n,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)return"This field is required";switch(t){case"emailAddress":return e?e&&(i=e,!_.test(String(i).toLowerCase()))?"Invalid email address":"":"Email is Required";case"gstNo":return e?e&&(n=e,!S.test(n.trim()))?"Please ensure this field has 15 characters and no special characters":"":"This field is required";case"mobileNumber":return e?e.length<10||e.length>10?"Phone Number should contain only 10 digit":(a.mobile||"").toString()===e?"Please use different mobile number.You cannot gift yourself":"":"Please enter your phone number";default:return e?"":"This field is required"}}var z=n("FGyW"),N=n("SJEF"),T=n("OWer"),j=h.a.div.withConfig({displayName:"giftModal__Wrapper",componentId:"sc-1bzi5iv-0"})(["height:100vh;width:100%;position:relative;"]),A=h.a.div.withConfig({displayName:"giftModal__WrapperAbsolute",componentId:"sc-1bzi5iv-1"})(["height:100%;width:100%;position:absolute;display:flex;align-items:center;justify-content:center;background-color:rgba(0,0,0,0.3);"]),B=h.a.section.withConfig({displayName:"giftModal__Container",componentId:"sc-1bzi5iv-2"})(["border-radius:2px;width:600px;background-color:#ffffff;padding:20px;@media only screen and (max-width:650px){margin:0 15px;}"]),G=h.a.div.withConfig({displayName:"giftModal__ModelClose",componentId:"sc-1bzi5iv-3"})(["display:flex;justify-content:flex-end;align-items:center;margin:0 0 18px;svg{height:18px;cursor:pointer;width:18px;cursor:pointer;}"]),L=h.a.h2.withConfig({displayName:"giftModal__ModelHeading",componentId:"sc-1bzi5iv-4"})(['color:#000000;font-family:"franklin-fothic-demi-cond-regular";font-size:30px;font-weight:400;line-height:36px;text-transform:uppercase;text-align:center;margin:0 0 50px;@media only screen and (max-width:650px){margin:0 0 30px;}']),D=h.a.section.withConfig({displayName:"giftModal__ModelContent",componentId:"sc-1bzi5iv-5"})(["padding:0 30px;@media only screen and (max-width:650px){padding:0;}"]);h.a.div.withConfig({displayName:"giftModal__SignUp",componentId:"sc-1bzi5iv-6"})(['text-align:center;font-size:14px;font-family:"franklinGothicBook";line-height:22px;span{font-weight:600;font-family:"franklinGothicDemi";border-bottom:1px solid #e93f33;cursor:pointer;}']);function M(e){var t=e.isOpen,n=e.onClose,i=e.uid,a=Object(w.a)(e,["isOpen","onClose","uid"]),o=O(a,{onSuccess:function(e){n(e)},onError:function(e){t&&(z.c.dismiss(),Object(z.c)(e))},value:a.value||{},uid:i}),r=o.mobile,s=(o.password,o.name),c=o.email,d=o.onSubmit,p=o.stateCode,m=o.gstNo,h=o.gstUser;console.log(i);var f=l.a.useState(!1),g=Object(u.default)(f,2);g[0],g[1];return l.a.createElement(j,null,l.a.createElement(A,null,l.a.createElement(B,null,l.a.createElement(G,{onClick:function(){a.close||window.scrollTo({top:0,behavior:"smooth"}),n()}},l.a.createElement("svg",{viewBox:"0 0 24 24"},l.a.createElement("path",{fill:"currentColor",d:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"}))),l.a.createElement(L,null,"Recipient's Details"),l.a.createElement(D,null,l.a.createElement(v.a,{placeholder:"Recipient's name",onChange:s.onChange,onBlur:s.onBlur,value:s.value,error:s.error}),l.a.createElement(v.a,{placeholder:"Recipient's email",onChange:c.onChange,onBlur:c.onBlur,value:c.value,error:c.error}),l.a.createElement(v.a,{placeholder:"Recipient's mobile number",onChange:r.onChange,onBlur:r.onBlur,value:r.value,error:r.error}),l.a.createElement("div",{style:{paddingTop:20}},l.a.createElement(T.a,{type:"products",heading:"State Name",placeHolder:"Select",listItems:N.a,value:p.value,onClick:function(e,t){return p.onChange(e,t)},isState:!0,productCategoryWidth:"100%",maxHeight:"200px",backgroundColor:"#fff",error:p.error}),l.a.createElement("div",{style:{flexDirection:"row",alignItems:"center",display:"flex",paddingBottom:h.value?0:40}},l.a.createElement("input",{type:"checkbox",checked:h.value,onChange:h.onChange}),l.a.createElement("h4",{style:{paddingLeft:10}},"Do you have GSTN No?")),h.value?l.a.createElement("div",{style:{paddingTop:20,paddingBottom:20}},l.a.createElement(v.a,{placeholder:"Gst No",margin:"0 0 20px",onChange:m.onChange,onBlur:m.onBlur,value:m.value,error:m.error})):null),l.a.createElement("div",{onClick:a.authentication.PAYMENT_GIFT_CHECKOUT_API.loading?null:d},l.a.createElement(E.a,{variant:"signIn",text:a.authentication.PAYMENT_GIFT_CHECKOUT_API.loading?"Please Wait...":"Submit",margin:"0 0 30px"}))))))}var R=n("aIAN"),U=(n("30dd"),h.a.section.withConfig({displayName:"Subcription__Wrapper",componentId:"sc-14els3g-0"})(["@media only screen and (max-width:1290px){}"])),F=h.a.section.withConfig({displayName:"Subcription__Header",componentId:"sc-14els3g-1"})(["display:flex;width:100%;justify-content:center;align-items:center;margin:50px 0 80px;a{}img{max-width:100%;}@media only screen and (max-width:500px){padding:0 15px;margin:30px 0;}"]),W=h.a.div.withConfig({displayName:"Subcription__HeadingText",componentId:"sc-14els3g-2"})(['display:flex;align-items:center;flex-direction:column;justify-content:center;margin:0 0 50px;h2{color:#000000;font-family:"franklin-fothic-demi-cond-regular";font-size:50px;font-weight:400;line-height:60px;max-width:861px;text-align:center;text-transform:uppercase;animation-name:Para;animation-duration:1s;opacity:0;animation-timing-function:ease-out;animation-delay:0.5s;animation-direction:alternate;animation-fill-mode:forwards;-webkit-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-moz-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-o-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);}@keyframes Para{0%{transform:translateY(20px);opacity:0;}100%{transform:translateY(0px);opacity:1;}}@media only screen and (max-width:768px){font-size:45px;line-height:50px;}@media only screen and (max-width:900px){padding:0 15px;}@media only screen and (max-width:500px){h2{font-size:30px;font-weight:bold;line-height:40px;}}']),H=h.a.div.withConfig({displayName:"Subcription__TitleContent",componentId:"sc-14els3g-3"})(['display:flex;flex-direction:column;span{font-family:"franklinGothicBook";font-size:18px;color:#333333;text-align:center;line-height:26px;animation-name:Para1;animation-duration:1s;opacity:0;max-width:861px;margin:0 auto;margin:30px 0px;animation-timing-function:ease-out;animation-delay:0.8s;animation-direction:alternate;animation-fill-mode:forwards;-webkit-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-moz-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-o-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);}P{color:#000000;font-family:"franklin-fothic-demi-cond-regular";font-size:23px;font-weight:400;letter-spacing:0;line-height:24px;text-align:center;animation-name:Para1;animation-duration:1s;opacity:0;animation-timing-function:ease-out;animation-delay:0.9s;animation-direction:alternate;animation-fill-mode:forwards;-webkit-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-moz-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-o-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);strong{color:#e93f33;}}@keyframes Para1{0%{transform:translateY(20px);opacity:0;}100%{transform:translateY(0px);opacity:1;}}a{color:#333333;position:relative;&::after{position:absolute;content:"";bottom:0px;left:0px;width:0%;height:1px;background-color:#e93f33;-webkit-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-moz-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-o-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);}&:hover{&::after{width:100%;}}}@media only screen and (max-width:500px){p{font-size:20px;line-height:22px;}}']),V=h.a.div.withConfig({displayName:"Subcription__Subriber",componentId:"sc-14els3g-4"})(['max-width:800px;margin:0 auto;display:flex;align-items:center;animation-name:Para1;animation-duration:1s;opacity:0;animation-timing-function:ease-out;animation-delay:0.9s;animation-direction:alternate;animation-fill-mode:forwards;-webkit-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-moz-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-o-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);h4{color:#333333;font-family:"franklinGothicDemi";font-size:18px;letter-spacing:0;line-height:24px;margin-right:20px;}> div{display:flex;align-items:center;justify-content:center;>:first-child{margin-right:20px;}label{padding-left:30px;position:relative;cursor:pointer;&::before{position:absolute;content:"";left:0;bottom:0px;height:20px;width:20px;border-radius:50%;border:1.3px solid #4a4a4a;background-color:white;}span{color:#333333;font-family:"franklinGothicBook";font-size:18px;letter-spacing:0;line-height:24px;}&:hover{&::before{background-color:#f5aca6;border:1.3px solid #f5aca6;}}&.active{&::before{background-color:#e93f33;border:1.3px solid #e93f33;}&::after{position:absolute;content:"";top:4px;left:8px;transform:rotate(45deg);height:10px;width:5px;border-right:1.5px solid #ffffff;border-bottom:1.5px solid #ffffff;}}}}@media only screen and (max-width:900px){padding:0 15px;}@media only screen and (max-width:800px){flex-direction:column;}@media only screen and (max-width:500px){h4{margin:0 0 10px;text-align:center;}}']),q=h.a.div.withConfig({displayName:"Subcription__Grid",componentId:"sc-14els3g-5"})(["display:grid;grid-gap:50px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));width:100%;max-width:950px;margin:50px auto 80px;animation-name:Para2;animation-duration:1s;opacity:0;animation-timing-function:ease-out;animation-delay:1.5s;animation-direction:alternate;animation-fill-mode:forwards;-webkit-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-moz-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-o-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);@keyframes Para2{0%{transform:translateY(40px);opacity:0;}100%{transform:translateY(0px);opacity:1;}}@media only screen and (max-width:1000px){padding:0 15px;grid-gap:30px;}"]),K=(h.a.section.withConfig({displayName:"Subcription__Queries",componentId:"sc-14els3g-6"})(['margin:0 auto 100px;max-width:1280px;background-color:#f7f7f7;height:242px;width:100%;display:flex;flex-direction:column;justify-content:center;h4{color:#333333;font-family:"franklinGothicDemi";font-size:18px;line-height:20px;}@media only screen and (max-width:768px){height:auto;padding:30px 15px;}']),h.a.div.withConfig({displayName:"Subcription__Container",componentId:"sc-14els3g-7"})(["width:100%;padding:50px 0;background-color:#f7f7f7;margin:0 0 80px;@media only screen and (max-width:500px){padding:30px 0;margin:0 0 40px;}"])),Y=h.a.div.withConfig({displayName:"Subcription__ListWrapper",componentId:"sc-14els3g-8"})(["max-width:",';width:100%;margin:0 auto 80px;img{max-width:100%;}h4{color:#333333;font-family:"franklinGothicDemi";font-size:18px;letter-spacing:0;line-height:20px;text-align:center;margin:0 0 20px;}.email{display:flex;align-items:center;justify-content:center;width:100%;h4{margin:0;}a{color:#333333;font-family:"franklinGothicDemi";font-size:16px;line-height:22px;margin-left:20px;text-decoration:none;}@media only screen and (max-width:768px){align-items:flex-start;flex-direction:column;span{margin-left:0;}}}@media only screen and (max-width:950px){padding:0 15px;picture{display:flex;img{margin:0 auto;}}}'],function(e){return e.maxWidth||"838px"}),J=(h.a.p.withConfig({displayName:"Subcription__ListItem",componentId:"sc-14els3g-9"})(['color:#333333;font-family:"franklinGothicBook";font-size:18px;letter-spacing:0;line-height:24px;margin:',';position:relative;padding-left:28px;span{font-family:"georgia";color:#e93f33;font-style:italic;padding:0 2px;}&::before{position:absolute;content:"";top:8px;left:0;height:8px;width:8px;border-radius:50%;background-color:#373737;}a{color:#333333;position:relative;&::after{position:absolute;content:"";bottom:0px;left:0px;width:100%;height:1px;background-color:#e93f33;-webkit-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-moz-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);-o-transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);transition:all 0.3s cubic-bezier(0.25,0.25,0.75,0.75);}}'],function(e){return e.margin||"0 0 20px"}),h.a.p.withConfig({displayName:"Subcription__Listpara",componentId:"sc-14els3g-10"})(['color:#333333;font-family:"franklinGothicBook";font-size:18px;letter-spacing:0;line-height:24px;margin:0 0 20px;']),h.a.p.withConfig({displayName:"Subcription__ListHeading",componentId:"sc-14els3g-11"})(['color:#000000;font-family:"franklin-fothic-demi-cond-regular";font-size:50px;font-weight:400;letter-spacing:0;max-width:639px;line-height:60px;text-align:center;text-transform:uppercase;margin:0 auto 50px;@media only screen and (max-width:500px){font-size:32px;line-height:38px;margin:0 auto 30px;}'])),$=h.a.ul.withConfig({displayName:"Subcription__List",componentId:"sc-14els3g-12"})(['margin:0;padding:0;list-style:none;max-width:814px;width:100%;>:last-child{margin:0;}li{margin:0 0 34px;p{color:#333333;font-family:"franklinGothicBook";font-size:18px;letter-spacing:0;line-height:24px;text-align:center;span{color:#e93f33;font-family:"georgia";font-size:18px;font-style:italic;letter-spacing:0;line-height:24px;text-align:center;padding:0 2px;}}}']),X=(h.a.div.withConfig({displayName:"Subcription__GridWidth",componentId:"sc-14els3g-13"})(["max-width:838px;width:100%;margin:0 auto 80px;display:grid;grid-gap:50px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));"]),h.a.div.withConfig({displayName:"Subcription__Contacts",componentId:"sc-14els3g-14"})(['width:100%;display:flex;justify-content:center;max-width:838px;width:100%;margin:10px 0 0;ul{list-style:none;display:flex;flex-flow:row wrap;justify-content:center;>:last-child{margin-left:0;}li{color:#333333;font-family:"franklinGothicDemi";font-size:16px;line-height:24px;margin-right:30px;span{font-family:"franklinGothicBook";padding-right:4px;}}@media only screen and (max-width:768px){grid-template-columns:1fr;grid-gap:30px;}@media only screen and (max-width:500px){li{text-align:center;font-size:14px;line-height:22px;margin:0 0 20px;}}}']),h.a.section.withConfig({displayName:"Subcription__Testimonials",componentId:"sc-14els3g-15"})(["max-width:1058px;width:100%;margin:0 auto 80px;position:relative;@media only screen and (max-width:1060px){padding:0 15px;}"])),Z=h.a.section.withConfig({displayName:"Subcription__TestimonialsWrapper",componentId:"sc-14els3g-16"})(["display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));grid-gap:70px 100px;@media only screen and (max-width:1060px){grid-gap:40px;}@media only screen and (max-width:1060px){grid-gap:30px;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));}"]),Q=h.a.div.withConfig({displayName:"Subcription__TestimonialsQuotes",componentId:"sc-14els3g-17"})(['position:relative;font-family:inherit;font-style:italic;font-weight:normal;font-size:1em;padding-left:1em;line-height:2;&::before{position:absolute;content:"\u2018";color:#e93f33;font-size:5em;top:-0.65em;left:-6px;right:unset;}&::after{position:absolute;content:"\u2018";color:#e93f33;font-size:5em;top:-0.65em;left:10px;right:unset;}']),ee=h.a.div.withConfig({displayName:"Subcription__TestimonialsItem",componentId:"sc-14els3g-18"})(['.testimoialcontent{max-width:490px;padding-left:50px;p{color:#333333;font-family:georgia;font-size:18px;font-style:italic;font-weight:bold;letter-spacing:0;line-height:24px;}&-author{padding-top:30px;position:relative;&::before{position:absolute;content:"";top:20px;left:0;height:1px;width:30px;background-color:#a6a6a6;}h5{color:#242424;font-family:"franklinGothicDemi";font-size:14px;letter-spacing:0;line-height:18px;}span{color:#242424;font-family:"franklinGothicBook";font-size:14px;letter-spacing:0;line-height:18px;}}}']),te=h.a.div.withConfig({displayName:"Subcription__Terms",componentId:"sc-14els3g-19"})(['.space{margin:70px 0 0;@media only screen and (max-width:768px){margin:30px 0 0;}p{color:#8d8d8d;a{color:#8e8e8e;font-size:16px;}}}P{color:#333333;font-family:"franklinGothicBook";font-size:16px;letter-spacing:0;line-height:18px;text-align:center;margin:0 0 20px;a{color:#333333;font-family:"franklinGothicBook";font-size:18px;letter-spacing:0;line-height:34px;position:relative;&::after{position:absolute;content:"";left:0;bottom:0;width:100%;height:1px;background-color:#e93f33;}}}']),ne=(n("wZgz"),'\n\n Show Payment Page\n\n\n
\n

Please do not refresh this page...

\n
\n
\n \n \n \n \n \n \n
\n
\n\n'),ie=function(e){var t;return e?(t=new Intl.NumberFormat("en-IN",{}).format(e),"".concat(t.split(".")[0])):"0"},ae=null;var oe=function(e){var t=l.a.useState(ne),n=Object(u.default)(t,2),i=n[0],a=n[1],o=l.a.useState(!1),r=Object(u.default)(o,2),s=r[0],p=r[1],m=l.a.useState(!1),h=Object(u.default)(m,2),f=h[0],x=h[1],w=l.a.useState(!1),v=Object(u.default)(w,2),E=v[0],k=v[1],_=e.authentication.GET_USER_SUBSCRIPTION_DATA_API.loading||e.authentication.GET_ALL_SUBSCRIPTION_API.loading||e.authentication.USER_CHECKOUT_API.loading,S=(e.authentication.USER_CHECKOUT_API||{}).data||[],C=(e.authentication.GET_USER_SUBSCRIPTION_DATA_API.data||{}).active_subscription_plan||{};return C=4===C.id?{}:C,l.a.useEffect(function(){window.scrollTo({top:0,behavior:"smooth"}),!0},[]),l.a.useEffect(function(){window.scrollTo({top:0,behavior:"smooth"}),_||(e.setModal(!1),e.setReload(!1))},[_]),l.a.useEffect(function(){e.authentication.isLoggedIn&&(e.setModal(!0),e.setReload(!0),e.dispatch(b.GET_USER_SUBSCRIPTION_DATA_API_CALL()),e.dispatch(b.USER_CHECKOUT_API_CALL()),f&&k(!0))},[e.authentication.isLoggedIn]),s?l.a.createElement("div",{dangerouslySetInnerHTML:{__html:"".concat(i)}}):l.a.createElement(l.a.Fragment,null,l.a.createElement(y.a,{isOpen:E},l.a.createElement(M,Object(d.a)({},e,{isOpen:E,setModal:k,uid:e.query.uid,onClose:function(t){t||e.dispatch(b.PAYMENT_GIFT_CHECKOUT_API_CANCEL()),k(!1),t&&(e.setModal(!0),e.setReload(!0),function(e){window.scrollTo({top:0,behavior:"smooth"});var t=ne.replace(/MID/g,e.mid).replace(/ORDER_ID/g,e.order_id).replace(/TXN_TOKEN/g,e.txnToken);a(t),setTimeout(function(){p(!0)},10),setTimeout(function(){document.paytm.submit()},500)}(t))},subscription_plan_id:ae}))),l.a.createElement(U,null,l.a.createElement(F,null,l.a.createElement("a",{href:"/"},l.a.createElement("img",{src:"/static/images/header/outlook-business.jpg",alt:"logo"}))),l.a.createElement(l.a.Fragment,null,l.a.createElement(W,null,l.a.createElement("h2",{style:{maxWidth:"1000px"}},"Price is what you pay, value is what you get"),l.a.createElement(H,null,l.a.createElement("span",null,"This is the best investment you\u2019ll ever make, besides investing in yourself.",l.a.createElement("br",null)," Sharpen your edge with ",l.a.createElement("i",null,"Outlook Business. "),"Sign up for exclusive reportage, rigorous analysis, and to identify trends and trouble spots, ahead of time"),l.a.createElement("p",null,"Inaugural offer: ",l.a.createElement("strong",null,"25 - 50% Discount")))),l.a.createElement(V,null,l.a.createElement("h4",null,"You could buy a subscription for yourself, or gift a friend"),l.a.createElement("div",null,l.a.createElement("label",{className:f?"":"active",onClick:function(){return x(!1)}},l.a.createElement("span",null,"For Myself")),l.a.createElement("label",{className:f?"active":"",onClick:function(){return x(!0)}},l.a.createElement("span",null,"Gifting")))),l.a.createElement(q,null,(e.authentication.GET_ALL_SUBSCRIPTION_API.data||[]).slice(0,3).map(function(t,n){var i=-1,a=S.find(function(e){return e.id===t.id})||{},o=+a.price;C.id&&(i=(e.authentication.GET_ALL_SUBSCRIPTION_API.data||[]).map(function(e){return+e.id}).indexOf(+C.id));var r=n>i&&C.id&&!f;return console.log(a),l.a.createElement(R.a,{heading:t.name,contxt:t.description,image:t.image,hideButton:!([7802].includes(e.authentication.profile.user_id)&&!f)&&(!(["cannot downgrade"].includes(a.price)&&!f)||C.id===t.id),index:n,price:[7802].includes(e.authentication.profile.user_id)&&!f?null:"\u20b9".concat(ie(f?+t.price:(o>0?o:null)||(r?+t.price:t.price))),show:1!==t.id,years:"/ ".concat(Math.floor(t.valid_days/365)," ").concat(Math.floor(t.valid_days/365)>1?"years":"year"),discount:"\u20b9".concat(ie(t.price/(2===n?2:3)*4)),buttonContent:["cannot downgrade","already purchased"].includes(a.price)||f||!S.some(function(e){return"already purchased"===e.price})?!["cannot downgrade","already purchased"].includes(a.price)||f?"Buy now":"Purchased":"Upgrade Now",disabled:["cannot downgrade","already purchased"].includes(a.price)&&!f,onClick:function(){ae=t,e.authentication.isLoggedIn?f?k(!0):["cannot downgrade","already purchased"].includes(a.price)||(e.dispatch({type:"SUBSCRIPTION_UPDATE",payload:Object(c.a)({},t,{isGift:f,uid:e.query.uid},e.query.kjcode?{kjcode:e.query.kjcode}:{},{price:ie((o>0?o:null)||(r?+t.price:t.price))})}),e.setModal(!0),e.setReload(!0),g.a.push("/print")):e.setAuthModal(!0)}})}))),l.a.createElement(K,null,l.a.createElement(Y,null,l.a.createElement(J,null,"Our philosophy"),l.a.createElement($,null,l.a.createElement("li",null,l.a.createElement("p",null,"We do not insult ",l.a.createElement("span",null,"your intelligence"))),l.a.createElement("li",null,l.a.createElement("p",null,"We steer clear of verbosity, for"," ",l.a.createElement("span",null,"we value your time"))),l.a.createElement("li",null,l.a.createElement("p",null,"We take",l.a.createElement("span",null,"nothing at face value.")),l.a.createElement("p",null,"Asking why and why not is an integral part of our narrative")),l.a.createElement("li",null,l.a.createElement("p",null,"We tell you the ",l.a.createElement("span",null,"complete story.")),l.a.createElement("p",null,"We do not take a narrow view or distort the narrative to sensationalize")),l.a.createElement("li",null,l.a.createElement("p",null,"We always reach out to managements to understand their point of view, but all management inputs are"," ",l.a.createElement("span",null,"balanced with strong outside reporting"))),l.a.createElement("li",null,l.a.createElement("p",null,"We believe our reportage is only as good as our source. Our reporters place"," ",l.a.createElement("span",null,"high weightage on source credibility")," for both reporting inputs and analysis")),l.a.createElement("li",null,l.a.createElement("p",null,l.a.createElement("span",null,"We exist to serve you \u2013 our reader"),". Potential litigation, loss of advertising, or any other form of backlash does not impede or influence our reporting. Keeping with our proud parentage, as an Outlook Group publication, our reporting is ",l.a.createElement("span",null,"fair and square"),". We trade it for nothing"))))),l.a.createElement(X,null,l.a.createElement(J,null,"Why our readers love Us"),l.a.createElement(Z,null,l.a.createElement(ee,null,l.a.createElement(Q,null),l.a.createElement("div",{className:"testimoialcontent"},l.a.createElement("p",null,"Outlook Business has always produced interesting and differentiated content which gives its readers a deeper understanding of trends shaping India -- now and in the future."),l.a.createElement("div",{className:"testimoialcontent-author"},l.a.createElement("h5",null,"Anand Mahindra"),l.a.createElement("span",null,"Chairman, Mahindra Group")))),l.a.createElement(ee,null,l.a.createElement(Q,null),l.a.createElement("div",{className:"testimoialcontent"},l.a.createElement("p",null,"I enjoy reading the articles as they are insightful, full of learnings and written in a very lucid manner."),l.a.createElement("div",{className:"testimoialcontent-author"},l.a.createElement("h5",null,"Harsh Mariwala"),l.a.createElement("span",null,"Chairman, Marico")))),l.a.createElement(ee,null,l.a.createElement(Q,null),l.a.createElement("div",{className:"testimoialcontent"},l.a.createElement("p",null,"It is quite detailed in its coverage!"),l.a.createElement("div",{className:"testimoialcontent-author"},l.a.createElement("h5",null,"Adi Godrej"),l.a.createElement("span",null,"Chairman, Godrej Group")))),l.a.createElement(ee,null,l.a.createElement(Q,null),l.a.createElement("div",{className:"testimoialcontent"},l.a.createElement("p",null,"This is a place of full facts, full analysis, and a full picture of what really transpired. It\u2019s not a place for rehashed versions."),l.a.createElement("div",{className:"testimoialcontent-author"},l.a.createElement("h5",null,"Rajeev Gupta"),l.a.createElement("span",null,"Founding Partner, Arpwood Capital")))),l.a.createElement(ee,null,l.a.createElement(Q,null),l.a.createElement("div",{className:"testimoialcontent"},l.a.createElement("p",null,"I love Outlook Business for its clean layout, super pictures and incisive articles. They bring forth fresh perspective that compels me to think differently."),l.a.createElement("div",{className:"testimoialcontent-author"},l.a.createElement("h5",null,"D Shivakumar"),l.a.createElement("span",null,"Group Executive President, Corporate Strategy and Business, Aditya Birla Group")))),l.a.createElement(ee,null,l.a.createElement(Q,null),l.a.createElement("div",{className:"testimoialcontent"},l.a.createElement("p",null,"Outlook Business has the best interviews in the business; their journalists are like analysts and ask totally relevant questions. It is almost like you are interviewing the management yourself. I also look forward to their Secret Diary, Masterspeak and the Warren Buffett specials, which are unique."),l.a.createElement("div",{className:"testimoialcontent-author"},l.a.createElement("h5",null,"Samir Arora"),l.a.createElement("span",null,"Founder, Helios Capital")))),l.a.createElement(ee,null,l.a.createElement(Q,null),l.a.createElement("div",{className:"testimoialcontent"},l.a.createElement("p",null,"I am impressed that Outlook Business had the courage to come to Silicon Valley and ask us the best, sharpest and toughest questions. I think it is of great benefit to the readers to get that access."),l.a.createElement("div",{className:"testimoialcontent-author"},l.a.createElement("h5",null,"Peter Fenton"),l.a.createElement("span",null,"General Partner, Benchmark Capital")))))),l.a.createElement(K,null,l.a.createElement(Y,{maxWidth:"900px"},l.a.createElement(J,null,"Outlook Business is a must-read if you are"),l.a.createElement("picture",null,l.a.createElement("source",{srcSet:"/static/images/graph.png",media:"(max-width: 768px)"}),l.a.createElement("img",{srcSet:"/static/images/pie-chart.png".concat(" 1x"),alt:"logo"})))),l.a.createElement(Y,null,l.a.createElement(J,null,"Terms and conditions"),l.a.createElement(te,null,l.a.createElement("p",null,"As a digital subscriber, you will have access to our content through our website outlookbusiness.com. This does not include delivery of print edition. Under the Basic Plan, you will have access to future editions and not the archives."),l.a.createElement("p",null,"To access the archives, you have to subscribe to Value Plan or Deep Value Plan."),l.a.createElement("p",null,"Upon expiry of your subscription, access to the website as well as the archives will cease."),l.a.createElement("p",null,"As a Basic Plan subscriber, you can upgrade your subscription to Value Plan at any time; access to archives will lapse along with your subscription. If you renew your subscription, you can carry forward the remainder of your archive access."),l.a.createElement("p",null,"We are confident you will love our content. We do not offer a refund."),l.a.createElement("div",{className:"space"},l.a.createElement("p",null,"The following are the privacy policy, terms and conditions of accessing and using outlookbusiness.com , its Android and iOS Apps. The website outlookbusiness.com as well as apps (hereinafter 'website'), developed and operated by M/s Outlook Publishing (India) Private Limited, a company incorporated under the Companies Act, 1956, with its Registered Office at 'Rahejas', 4th Floor, Corner of Main Avenue and VP Road, Santa Cruz (West) Mumbai 400025 (hereinafter 'OPIPL') is offered to the user/s (hereinafter 'visitor/s') upon the terms and conditions that follow."),l.a.createElement("p",null,"Use of the website constitutes acceptance of these terms and conditions, which take effect on the date that the visitor first accesses and/or uses the website. To know more please read detailed",l.a.createElement("a",{href:"/terms-and-conditions"}," Terms and Conditions"))))),l.a.createElement(Y,null,l.a.createElement("div",{className:"email"},l.a.createElement("h4",null,"For Subscription Queries:"),l.a.createElement("a",{href:"mailto:subscriber@outlookindia.com"},"subscriber@outlookindia.com")))))},re=n("C6Ru"),le=n("m/Pd"),se=n.n(le),ce=n("KSev"),de=Object(ce.a)(oe,!0,!1),ue=function(e){return l.a.createElement(l.a.Fragment,null,l.a.createElement(se.a,null,l.a.createElement("meta",{"http-equiv":"Content-Type",content:"text/html; charset=utf-8"}),l.a.createElement("meta",{id:"description",name:"description",content:"India\u2019s best and most read business magazine"}),l.a.createElement("meta",{id:"keywords",name:"keywords",content:"best business magazine, business magazines in india, online business magazine, small business magazines"}),l.a.createElement("meta",{id:"author",name:"author",content:"Outlook Business"}),l.a.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"}),l.a.createElement("meta",{"http-equiv":"X-UA-Compatible",content:"IE=edge,chrome=1"}),l.a.createElement("title",null,"SUBSCRIPTION | Outlook Business | Think Beyond Stay Ahead"),l.a.createElement("meta",{"http-equiv":"Content-Type",content:"text/html; charset=utf-8"}),l.a.createElement("meta",{property:"og:title",content:"SUBSCRIPTION | Outlook Business | Think Beyond Stay Ahead"}),l.a.createElement("meta",{property:"og:url",content:"https://www.outlookbusiness.com/"}),l.a.createElement("meta",{property:"og:site_name",content:"https://www.outlookbusiness.com/"}),l.a.createElement("meta",{property:"og:description",content:"best business magazine, business magazines in india, online business magazine, small business magazines"}),l.a.createElement("meta",{property:"og:type",content:"article"}),l.a.createElement("meta",{property:"og:image",content:"/static/images/header/outlook-business.jpg"}),l.a.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),l.a.createElement("meta",{name:"twitter:title",content:"SUBSCRIPTION | Outlook Business | Think Beyond Stay Ahead"}),l.a.createElement("meta",{name:"twitter:description",content:"best business magazine, business magazines in india, online business magazine, small business magazines"}),l.a.createElement("meta",{property:"twitter:image",content:"/static/images/header/outlook-business.jpg"})),l.a.createElement(de,e))};ue.getInitialProps=function(){var e=Object(o.default)(a.a.mark(function e(t){var n,i,o,r,l,s;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.ctx,i=n.store,o=n.pathname,r=n.query,l=n.asPath,s=n.isServer,i.dispatch(b.GET_ALL_SUBSCRIPTION_API_CALL()),i.dispatch(b.GET_USER_SUBSCRIPTION_DATA_API_CALL()),i.dispatch(b.USER_CHECKOUT_API_CALL()),e.abrupt("return",{pathname:o,query:r,asPath:l,isServer:s,actions:b});case 5:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}();t.default=Object(s.b)(function(e){return{dashboard:e.dashboard,authentication:e.authentication}})(Object(re.a)(ue,!1))},NGwb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n=this.getViewportTop()&&e<=this.getViewportBottom()}},{key:"isAboveViewport",value:function(e){return ethis.getViewportBottom()}},{key:"inViewport",value:function(e,t){return this.isInViewport(e)||this.isInViewport(t)||this.isAboveViewport(e)&&this.isBelowViewport(t)}},{key:"onScreen",value:function(e,t){return!this.isAboveScreen(t)&&!this.isBelowScreen(e)}},{key:"isAboveScreen",value:function(e){return ethis.getScrollPos()+this.getScrollableParentHeight()}},{key:"getVisibility",value:function(){var e=this.getElementTop(this.node)-this.getElementTop(this.scrollableParent),t=e+this.node.clientHeight;return{inViewport:this.inViewport(e,t),onScreen:this.onScreen(e,t)}}},{key:"componentDidMount",value:function(){if(!this.serverSide){var e=this.props.scrollableParentSelector;this.scrollableParent=e?document.querySelector(e):window,this.scrollableParent&&this.scrollableParent.addEventListener?this.scrollableParent.addEventListener("scroll",this.listener):console.warn("Cannot find element by locator: "+this.props.scrollableParentSelector),this.props.animatePreScroll&&this.handleScroll()}}},{key:"componentWillUnmount",value:function(){clearTimeout(this.delayedAnimationTimeout),clearTimeout(this.callbackTimeout),window&&window.removeEventListener&&window.removeEventListener("scroll",this.listener)}},{key:"visibilityHasChanged",value:function(e,t){return e.inViewport!==t.inViewport||e.onScreen!==t.onScreen}},{key:"animate",value:function(e,t){var n=this;this.delayedAnimationTimeout=setTimeout(function(){n.animating=!0,n.setState({classes:"animated "+e,style:{animationDuration:n.props.duration+"s"}}),n.callbackTimeout=setTimeout(t,1e3*n.props.duration)},this.props.delay)}},{key:"animateIn",value:function(e){var t=this;this.animate(this.props.animateIn,function(){t.props.animateOnce||(t.setState({style:{animationDuration:t.props.duration+"s",opacity:1}}),t.animating=!1);var n=t.getVisibility();e&&e(n)})}},{key:"animateOut",value:function(e){var t=this;this.animate(this.props.animateOut,function(){t.setState({classes:"animated",style:{animationDuration:t.props.duration+"s",opacity:0}});var n=t.getVisibility();n.inViewport&&t.props.animateIn?t.animateIn(t.props.afterAnimatedIn):t.animating=!1,e&&e(n)})}},{key:"handleScroll",value:function(){if(!this.animating){var e=this.getVisibility();this.visibilityHasChanged(this.visibility,e)&&(clearTimeout(this.delayedAnimationTimeout),e.onScreen?e.inViewport&&this.props.animateIn?this.animateIn(this.props.afterAnimatedIn):e.onScreen&&this.visibility.inViewport&&this.props.animateOut&&1===this.state.style.opacity&&this.animateOut(this.props.afterAnimatedOut):this.setState({classes:"animated",style:{animationDuration:this.props.duration+"s",opacity:this.props.initiallyVisible?1:0}}),this.visibility=e)}}},{key:"render",value:function(){var e=this,t=this.props.className?this.props.className+" "+this.state.classes:this.state.classes;return l.default.createElement("div",{ref:function(t){e.node=t},className:t,style:Object.assign({},this.state.style,this.props.style)},this.props.children)}}]),t}();t.default=d,d.defaultProps={offset:150,duration:1,initiallyVisible:!1,delay:0,animateOnce:!1,animatePreScroll:!0},d.propTypes={animateIn:c.default.string,animateOut:c.default.string,offset:c.default.number,duration:c.default.number,delay:c.default.number,initiallyVisible:c.default.bool,animateOnce:c.default.bool,style:c.default.object,scrollableParentSelector:c.default.string,className:c.default.string,animatePreScroll:c.default.bool},e.exports=t.default},OWer:function(e,t,n){"use strict";var i=n("doui"),a=n("q1tI"),o=n.n(a),r=n("vOnD");t.a=function(e){var t=e.margin,n=e.type,r=e.value,s=e.listItems,c=e.onClick,d=e.heading,u=e.placeHolder,p=e.width,m=e.isState,h=e.productCategoryWidth,f=e.maxHeight,g=e.backgroundColor,b=e.error,x=Object(a.useState)(!1),y=Object(i.default)(x,2),w=y[0],v=y[1],E=Object(a.useRef)(null);Object(a.useEffect)(function(){return document.addEventListener("mousedown",k),function(){document.removeEventListener("mousedown",k)}},[]);var k=function(e){return E&&E.current&&E.current.contains(e.target)?0:(v(!1),0)};return o.a.createElement(l,{margin:t,className:n,width:p,isState:m,productCategoryWidth:h,maxHeight:f,backgroundColor:g},d&&o.a.createElement("span",{className:"heading"},d),o.a.createElement("div",{className:"productCategory",ref:E},o.a.createElement("div",{className:"productCategory__header",onClick:function(){return v(!w)}},r&&s.filter(function(e){return r===e.id}).length&&s.filter(function(e){return r===e.id})[0].name||u,o.a.createElement("span",{className:"iconify","data-icon":"il:small-arrow-down","data-inline":"false"})),"products"===n&&o.a.createElement("div",{className:"productCategory__dropdown ".concat(w&&"active")},o.a.createElement("div",{className:"productCategory__dropdownList"},o.a.createElement(o.a.Fragment,null,s.map(function(e){return o.a.createElement("li",{onClick:function(){v(!1),m?c(e.id,e.name):c(e.id)},key:e.id},m?"".concat(e.name," (").concat(e.id,")"):e.name)})))),"category"===n&&o.a.createElement("div",{className:"productCategory__dropdown"},o.a.createElement("div",{className:"productCategory__dropdownList"},o.a.createElement(o.a.Fragment,null,["mon","tue","wed","thu","fri","sat","sun"].map(function(e){return o.a.createElement("li",null,e)}))))),o.a.createElement("span",{style:{color:"red",marginTop:"5px",fontSize:"12px",fontWeight:200}},b))};var l=r.a.div.withConfig({displayName:"DropDown__Dropdown",componentId:"sc-1tk9ehl-0"})(["padding-bottom:30px;position:relative;display:flex;flex-direction:column;align-items:flex-start;margin:",";width:",";.addMore{position:absolute;bottom:15px;right:-30px;cursor:pointer;&:hover{.iconify{color:#108443;}}.iconify{width:22px;height:22px;}}&.products{width:100%;.heading{font-weight:300;}.productCategory{width:",";background-color:",';@media (max-width:500px){width:100%;}}.heading{font-size:14px;}.productCategory__header{height:50px;}}.heading{min-width:fit-content;font-family:"franklinGothicBook";font-size:16px;line-height:24px;margin-right:16px;margin-bottom:16px;}.lastUpdated{font-family:"franklinGothicBook";font-size:14px;line-height:21px;color:#000000;opacity:0.8;margin-top:12px;}.productCategory{position:relative;margin-right:2%;width:30%;@media (max-width:500px){width:100%;}&__header{display:flex;width:100%;justify-content:space-between;align-items:center;padding:0px 12px;height:40px;border:1px solid #a4a4a4;border-radius:3px;font-family:"franklinGothicBook";font-weight:400;font-size:16px;line-height:21px;color:rgba(0,0,0,1);.iconify{margin-left:16px;margin-top:8px;width:20px;height:20px;}@media screen and (max-width:767px){font-size:14px;line-height:21px;height:35px;}&.active{color:rgba(0,0,0,1);}}&__dropdown{position:absolute;width:100%;top:47px;z-index:99;height:0px;max-height:0px;overflow:hidden;transition:max-height 0.2s ease-in;background-color:#fff;&.active{max-height:',';height:auto;border:1px solid #a4a4a4;border-top:0px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;overflow:scroll;}}&__dropdownList{li{font-family:"franklinGothicBook";font-size:14px;line-height:21px;color:#000000;opacity:0.4;padding:10px 12px;list-style-type:none;cursor:pointer;&:hover{background:#f3f3f3;opacity:1;}@media screen and (max-width:1650px){font-size:12px;}}}}'],function(e){return e.margin||"0px 0px 0px 0px;"},function(e){return e.width||"100%"},function(e){return e.productCategoryWidth||"30%"},function(e){return e.backgroundColor||"none"},function(e){return e.maxHeight||"400px"})},SJEF:function(e,t,n){"use strict";t.a=[{id:"01",name:"Jammu & Kashmir"},{id:"02",name:"Himachal Pradesh"},{id:"03",name:"Punjab"},{id:"04",name:"Chandigarh"},{id:"05",name:"Uttarakhand"},{id:"06",name:"Haryana"},{id:"07",name:"Delhi"},{id:"08",name:"Rajasthan"},{id:"09",name:"Uttar Pradesh"},{id:"10",name:"Bihar"},{id:"11",name:"Sikkim"},{id:"12",name:"Arunachal Pradesh"},{id:"13",name:"Nagaland"},{id:"14",name:"Manipur"},{id:"15",name:"Mizoram"},{id:"16",name:"Tripura"},{id:"17",name:"Meghalaya"},{id:"18",name:"Assam"},{id:"19",name:"West Bengal"},{id:"20",name:"Jharkhand"},{id:"21",name:"Odisha"},{id:"22",name:"Chhattisgarh"},{id:"23",name:"Madhya Pradesh"},{id:"24",name:"Gujarat"},{id:"25",name:"Daman & Diu"},{id:"26",name:"Dadra & Nagar Haveli"},{id:"27",name:"Maharashtra"},{id:"29",name:"Karnataka"},{id:"30",name:"Goa"},{id:"31",name:"Lakshdweep"},{id:"32",name:"Kerala"},{id:"33",name:"Tamil Nadu"},{id:"34",name:"Puducherry"},{id:"35",name:"Andaman & Nicobar Islands"},{id:"36",name:"Telangana"},{id:"37",name:"Andhra Pradesh"},{id:"97",name:"Other Territory/ International"}]},aIAN:function(e,t,n){"use strict";var i=n("kOwS"),a=n("qNsG"),o=n("q1tI"),r=n.n(o),l=n("17x9"),s=n.n(l),c=n("vOnD"),d=c.a.div.withConfig({displayName:"styled__SubscribeStyles",componentId:"sc-1plfgfq-0"})(["border:1px solid #D8D8D8;background-color:#FFFFFF;flex:1;display:flex;flex-direction:column;align-items:center;.btn{width:100%;margin:0 0 10px;}"]),u=c.a.div.withConfig({displayName:"styled__SubscribeTop",componentId:"sc-1plfgfq-1"})(["width:100%;background-color:#FFF;padding:20px;height:140px;min-height:140px;display:flex;align-items:flex-start;border-bottom:1px solid #D8D8D8;margin:0 0 20px;>:first-child{width:100%;}img{width:100%;margin:0 0 30px;}h4{color:#333333;font-family:'franklinGothicDemi';font-size:20px;letter-spacing:0;line-height:22px;display:-webkit-box;-webkit-line-clamp:",";-webkit-box-orient:vertical;overflow:hidden;}p{color:#333333;font-family:'franklinGothicBook';font-size:16px;line-height:24px;text-align:left;display:none;}.discountlabel{margin:0 0 20px;display:flex;height:40px;width:100%;border:1px solid #000000;>:first-child{background-color:#000000;color:#ffffff;min-width:140px}span{display:flex;align-items:center;justify-content:center;width:50%;height:100%;color:#E93F33;text-transform:capitalize;font-family:'franklinGothicDemi';font-size:14px;letter-spacing:0;line-height:16px;}}@media only screen and (max-width:500px){h4{font-size:16px;line-height:24px;}}"],function(e){return e.lineClamp||2}),p=c.a.div.withConfig({displayName:"styled__Perks",componentId:"sc-1plfgfq-2"})(['margin:28px 0 30px;width:100%;span{color:#333333;font-family:\'franklinGothicBook\';font-size:18px;letter-spacing:0;line-height:28px;display:block;position:relative;padding-left:28px;&::before{position:absolute;content:"";top:5px;left:0;height:16px;width:16px;border:1px solid #E93F33;background-color:#ffffff;border-radius:50%;}&::after{position:absolute;content:"";left:6px;top:8px;height:8px;width:4px;transform:rotate(45deg);border-right:1px solid #E93F33;border-bottom:1px solid #E93F33;}}']),m=c.a.div.withConfig({displayName:"styled__SubscribeBottom",componentId:"sc-1plfgfq-3"})(["width:100%;padding:10px;height:100%;display:flex;flex-direction:column;justify-content:space-between;h4{font-size:16px;line-height:18px;color:#A1A1A1;text-decoration:line-through;padding-left:10px;}h5{color:#E93F33;font-family:'franklinGothicDemi';font-size:28px;letter-spacing:0;line-height:32px;padding-left:10px;strong{color:#7E7E7E;font-family:'franklinGothicBook';font-size:14px;letter-spacing:0;line-height:16px;}}@media only screen and (max-width:500px){h5{font-size:22px;line-height:26px;}}"]),h=n("24sF"),f=(n("9uzc"),[["BASIC PLAN","25% OFF"],["VALUE PLAN","25% OFF"],["DEEP VALUE PLAN","50% OFF"]]);function g(e){var t=e.heading,n=e.contxt,o=e.price,l=e.onClick,s=e.isPromotion,c=(e.image,e.discount),g=e.years,b=e.show,x=(e.isMobile,e.hideButton),y=void 0===x||x,w=e.buttonContent,v=e.disabled,E=(e.difference,e.index),k=Object(a.a)(e,["heading","contxt","price","onClick","isPromotion","image","discount","years","show","isMobile","hideButton","buttonContent","disabled","difference","index"]);return r.a.createElement(d,Object(i.a)({},k,{style:s?{margin:"0 auto"}:{}}),r.a.createElement(u,null,r.a.createElement("div",null,r.a.createElement("div",{className:"discountlabel"},r.a.createElement("span",{style:s?{width:"100%"}:{}},f[E]&&f[E][0]),s?null:r.a.createElement("span",null,f[E]&&f[E][1])),t&&r.a.createElement("h4",null,t),n&&r.a.createElement("p",null,n))),r.a.createElement(m,null,r.a.createElement("div",null,c&&r.a.createElement("h4",null,c),o&&r.a.createElement("h5",null,o," ",r.a.createElement("strong",null,g)),r.a.createElement(p,null,r.a.createElement("span",null,"Stories from print magazine"),r.a.createElement("span",null,"Web exclusives"),b&&r.a.createElement("span",null,"Archives"))),r.a.createElement("div",{onClick:l,className:"btn"},y&&r.a.createElement(h.a,{style:v?{backgroundColor:"grey",outline:"none",textDecoration:"none",cursor:"not-allowed"}:{},text:w||"SUBSCRIBE now",variant:"secondary"}))))}g.PropTypes={heading:s.a.string,contxt:s.a.string,price:s.a.string,discount:s.a.string,years:s.a.string};t.a=g},"hKI/":function(e,t,n){(function(t){var n="Expected a function",i=NaN,a="[object Symbol]",o=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt,d="object"==typeof t&&t&&t.Object===Object&&t,u="object"==typeof self&&self&&self.Object===Object&&self,p=d||u||Function("return this")(),m=Object.prototype.toString,h=Math.max,f=Math.min,g=function(){return p.Date.now()};function b(e,t,i){var a,o,r,l,s,c,d=0,u=!1,p=!1,m=!0;if("function"!=typeof e)throw new TypeError(n);function b(t){var n=a,i=o;return a=o=void 0,d=t,l=e.apply(i,n)}function w(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-d>=r}function v(){var e=g();if(w(e))return E(e);s=setTimeout(v,function(e){var n=t-(e-c);return p?f(n,r-(e-d)):n}(e))}function E(e){return s=void 0,m&&a?b(e):(a=o=void 0,l)}function k(){var e=g(),n=w(e);if(a=arguments,o=this,c=e,n){if(void 0===s)return function(e){return d=e,s=setTimeout(v,t),u?b(e):l}(c);if(p)return s=setTimeout(v,t),b(c)}return void 0===s&&(s=setTimeout(v,t)),l}return t=y(t)||0,x(i)&&(u=!!i.leading,r=(p="maxWait"in i)?h(y(i.maxWait)||0,t):r,m="trailing"in i?!!i.trailing:m),k.cancel=function(){void 0!==s&&clearTimeout(s),d=0,a=c=o=s=void 0},k.flush=function(){return void 0===s?l:E(g())},k}function x(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&m.call(e)==a}(e))return i;if(x(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=x(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=l.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):r.test(e)?i:+e}e.exports=function(e,t,i){var a=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return x(i)&&(a="leading"in i?!!i.leading:a,o="trailing"in i?!!i.trailing:o),b(e,t,{leading:a,maxWait:t,trailing:o})}}).call(this,n("yLpj"))}},[["7W4A",1,0]]]);