1"use strict";(self.webpackChunkdelete_me_now=self.webpackChunkdelete_me_now||[]).push([[134],{48134(e,s,l){l.r(s),l.d(s,{default:()=>R});var a=l(80045),n=l(89379),t=l(5544),i=l(65043),c=l(83003),o=l(97),r=l(86178),d=l.n(r),m=l(22345),h=l(7493),x=l(72679),p=l(12327),u=l(49157),j=l(3655),N=l(35299),b=l(18353),f=l(33319);var v=l(11821),g=l(81134),w=l(96327),A=l(36901),y=l(73116),P=l(34588),D=l(17862),k=l(16966),S=l(62972),I=l(50129),O=l(96538),M=l(45184),_=l(56965),T=l(34572),C=l(90455),E=l(70579);const L=["hideDialog","subscriptionId"];function R(){var e;const s=(0,c.d4)(e=>e.auth),l=s.loginBy,r=s.user,R=r.userId,Y=r.isReputationPlanSubscribed,U=(0,c.wA)();(0,T.A)();const F=(0,o.A)(),B=(e,s)=>F.formatMessage({id:e},s),$=(0,i.useState)({}),H=(0,t.A)($,2),V=H[0],G=H[1],z=(0,i.useState)([]),W=(0,t.A)(z,2),X=W[0],q=W[1],Z=(0,i.useState)({}),K=(0,t.A)(Z,2),J=K[0],Q=K[1],ee=(0,i.useState)([]),se=(0,t.A)(ee,2),le=se[0],ae=se[1],ne=(0,i.useState)(!1),te=(0,t.A)(ne,2),ie=te[0],ce=te[1],oe=(0,i.useState)(""),re=(0,t.A)(oe,2),de=re[0],me=re[1],he=(0,i.useState)("solo"),xe=(0,t.A)(he,2),pe=xe[0],ue=xe[1],je=(0,i.useState)(!1),Ne=(0,t.A)(je,2),be=Ne[0],fe=Ne[1],ve=(0,i.useState)(!1),ge=(0,t.A)(ve,2),we=ge[0],Ae=ge[1],ye=(e=>{const s=(0,i.useState)(""),l=(0,t.A)(s,2),a=l[0],n=l[1];return(0,i.useEffect)(()=>{n(e)},[e,n]),{selected:a,onChange:e=>{n(e.target.value)}}})("not-need"),Pe=(0,v.M)(""),De=(0,v.M)(""),ke=(0,i.useState)("3"),Se=(0,t.A)(ke,2),Ie=Se[0],Oe=Se[1],Me=(0,i.useState)({"Reputation Standard Monthly":{},"Reputation Standard Yearly":{},"Reputation Plus Monthly":{},"Reputation Plus Yearly":{},"Reputation VIP Monthly":{},"Reputation VIP Yearly":{},"Reputation VIP Elite Monthly":{},"Reputation VIP Elite Yearly":{}}),_e=(0,t.A)(Me,2),Te=_e[0],Ce=_e[1],Ee=["Solo","Double","Family"];(0,i.useEffect)(()=>{!async function(){if(Y){let e=!1;Object.entries(Te).map(s=>{let l=(0,t.A)(s,1)[0];l===pe&&(e=!0),Te[l]=(0,n.A)({},l!==pe&&(0,n.A)({},e?{upgrade:!0}:{downgrade:!0}))}),Ce(Te)}}()},[Y,pe]),(0,i.useEffect)(()=>{R&&async function(){ce(!0);const e=await(0,P._X)(R);e.error?U((0,y.KY)()):G(e.data)}()},[U,R]);const Le=async e=>{const s="PAYPAL"!==e.paymentPlatform?e.customerId:e._id;if(!s)return;const l=await(0,O.SN)(s,e.paymentPlatform);l.error?ae([]):(ae(l.data),Ge(l.data))};(0,i.useEffect)(()=>{!async function(){const e=V.subscriptionId,s=V.paymentId,l=V.paymentPlatform,a=V.customerId;if(e){const s=await(0,O.XR)(e,l);if(!s.error){var n,t,i,c,o;if(null!==(n=s.data.plan)&&void 0!==n&&n.name)ze("".concat(null===(c=s.data.plan)||void 0===c?void 0:c.name).concat(Y?"".concat("month"===(null===(o=s.data.plan.recurring)||void 0===o?void 0:o.interval)?" Monthly":" Yearly"):""));q(s.data),Oe(null===(t=s.data)||void 0===t||null===(i=t.plan)||void 0===i?void 0:i.member)}}if("PAYPAL"!==l&&s){const e=await(0,D.Xx)(s);e.error||Q(e.data)}else Q({});(a||V._id)&&(await Le(V),ce(!1))}()},[U,V]);const Re=e=>{var s,l,a,n,t,i,c,o,r,m,h,x,p,u,j,N;const b=null===(s=e.invoice)||void 0===s||null===(l=s.items)||void 0===l||null===(a=l.planDetails)||void 0===a||null===(n=a.recurring)||void 0===n?void 0:n.interval,f=null===(t=e.invoice.items.planDetails)||void 0===t?void 0:t.member;let v="";b&&-1!==b.indexOf("month")&&(v="monthly"),b&&-1!==b.indexOf("year")&&(v="Yearly");let g=null===e||void 0===e||null===(i=e.invoice)||void 0===i||null===(c=i.items)||void 0===c||null===(o=c.planDetails)||void 0===o?void 0:o.name;return g&&-1!==g.indexOf("NDNCR")?(g="ndncr",v=""):g=g?"".concat(g,"Plan"):"",(0,E.jsxs)("tr",{children:[(0,E.jsx)("td",{children:B(g)}),(0,E.jsx)("td",{children:v&&B(v)}),(0,E.jsx)("td",{children:f||""}),(0,E.jsxs)("td",{children:["$",(null===(r=e.invoice)||void 0===r||null===(m=r.amount)||void 0===m?void 0:m.subtotal)||0]}),(0,E.jsx)("td",{className:"text-center",children:null!==(h=e.invoice)&&void 0!==h&&null!==(x=h.amount)&&void 0!==x&&x.discount?(null===(p=e.invoice)||void 0===p||null===(u=p.amount)||void 0===u?void 0:u.discount)+"%":"-"}),(0,E.jsx)("td",{children:d()(new Date(e.invoice.createTime)).format("MMM DD, YYYY")}),(0,E.jsxs)("td",{children:["$",(null===(j=e.invoice)||void 0===j||null===(N=j.amount)||void 0===N?void 0:N.totalValue)||0]})]})},Ye=e=>ue(e),Ue=async e=>{let s=e.hideDialog,l=e.subscriptionId,t=(0,a.A)(e,L);if(Ae(s),l){const e=(0,n.A)({_id:R,subscriptionId:l},t),s=await(0,P.dX)(e);Fe(s)}},Fe=e=>{e.error?U((0,y.KY)()):G(e.data)},Be=["active","trialing","approved"].includes(X.status),$e=(e,s)=>(0,E.jsxs)(m.A,{sm:4,xs:12,className:"mb-4 mb-sm-0",children:[(0,E.jsx)("p",{className:"text-center mb-1",children:B(e)}),(0,E.jsx)("h5",{className:"text-center mb-0 text-capitalize",children:s})]}),He=(e,s)=>(0,E.jsxs)(h.A,{className:"col",children:[(0,E.jsx)(x.A,(0,n.A)({className:"mr-5",name:"cancelOption",type:"radio",value:s,checked:ye.selected===s},ye))," ",B(e)]}),Ve=(e,s,l)=>(0,E.jsx)(x.A,(0,n.A)({required:!0,id:s,name:s,type:"text",placeholder:B(e)},l)),Ge=async e=>{let s=e.map(e=>e.amount.totalValue);s.length&&(s=s.reduce((e,s)=>Number(e)+Number(s)))},ze=e=>{const s=Y?Object.keys(Te).find(s=>-1!==e.indexOf(s)):Ee.find(s=>
1-1!==e.indexOf(s));ue((Y?s:null===s||void 0===s?void 0:s.toLocaleLowerCase())||(null===e||void 0===e?void 0:e.toLocaleLowerCase()))},We=(0,n.A)({currentSubscription:pe,setCurrentSubscription:e=>ue(e),getInvoiceData:async e=>await Le(e),setSubscription:e=>q(e),setPageLoading:e=>ce(e),setPageError:e=>me(e),setPeopleCount:e=>Oe(e)},Y&&{setUpgradeDowngradeStatus:e=>Ce(e)});return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)("div",{className:"container-fluid p-0",children:[(0,E.jsx)(w.A,{breadcrumb:{parentPath:"",parentLink:"",activePath:"invoices",btnLink:"",btnText:""}}),(0,E.jsxs)(p.A,{children:[(0,E.jsx)(m.A,{lg:"8",children:(0,E.jsxs)(u.A,{className:"shadow mb-4 mb-sm-0",children:[(0,E.jsxs)("div",{className:"p-4 border-bottom",children:[(0,E.jsxs)("div",{className:"d-flex mb-2",children:[(0,E.jsx)(f.A,{name:"".concat(V.fName," ").concat(V.lName),round:!0,size:60,className:"mt-1"}),(0,E.jsxs)("div",{className:"d-inline-block ml-3",children:[(0,E.jsxs)("h5",{className:"mb-1",children:[V.name,V.dob?", ".concat(d()().diff(V.dob,"years")):""]}),(0,E.jsxs)("p",{className:"mb-1",children:[B("DOB"),":"," ",V.dob?d()(V.dob).format("MMM DD, YYYY"):"-"]}),(0,E.jsxs)("p",{className:"mb-1",children:[V.city,V.city?", ":"",V.state]}),(0,E.jsxs)("p",{className:"mb-1",children:[B("memberSince")," ",d()(new Date(V.created_at)).format("MMM DD, YYYY")]})]})]}),(0,E.jsx)("div",{className:"p-3",children:(0,E.jsxs)(p.A,{children:[$e("affiliation",V.affiliation?"".concat(B(V.affiliation)):"-"),$e("ethnicity",V.ethnicity?(Xe=V.ethnicity,"white"===Xe?B("white"):"native"===Xe?B("nativeAmerican"):"african"===Xe?B("africanAmerican"):"asian"===Xe?B("asianAmerican"):"hispanic"===Xe?B("hispanicAmerican"):"other"===Xe?B("other"):void 0):"-"),$e("gender",V.gender?"".concat(B(V.gender)):"-")]})}),(0,E.jsx)("div",{className:"p-3",children:(0,E.jsxs)(p.A,{children:[$e("dateOfBirth",V.dob?d().utc(V.dob).format("MMM DD, YYYY"):"-"),$e("notificationSMS",(e=>{if(!e)return"-";if(e.length<10||e.includes("-"))return e;let s=e.split("");return s.splice(3,0,"-"),s.splice(7,0,"-"),s.join("")})(V.notificationSMS))]})}),(0,E.jsx)("div",{className:"p-3",children:(0,E.jsx)(p.A,{children:(0,E.jsxs)(m.A,{className:"mb-4 mb-sm-0",children:[(0,E.jsx)("p",{className:"text-center mb-1",children:B("notificationEmail")}),(0,E.jsx)("h5",{className:"text-center mb-0",children:V.notificationEmail||"-"})]})})})]}),(0,E.jsx)("div",{className:"p-4",children:(0,E.jsxs)(p.A,{children:[$e("nextBillDate",Be?d()(new Date(X.endDate)).format("MMM DD, YYYY"):B("noSubscription")),$e("nextBillAmount",Be?"$".concat((null===X||void 0===X||null===(e=X.plan)||void 0===e?void 0:e.price)||0):B("noSubscription")),$e("paymentMethod",J.card?"".concat(B("endingIn",{card:J.card.brand,lastDigit:J.card.last4})):"".concat("PAYPAL"===V.paymentPlatform?B("byPaypal"):B("noPaymentMethod")))]})})]})}),(0,E.jsxs)(m.A,{lg:"4",children:[(0,E.jsx)(u.A,{className:"shadow mb-4 mb-sm-0",children:(0,E.jsxs)("div",{className:"p-4",children:[(0,E.jsx)("h6",{className:"mb-3",children:B("address")}),(0,E.jsxs)("p",{className:"mb-0",children:[V.fName," ",V.lName]}),(0,E.jsxs)("p",{className:"mb-0",children:[V.street1,V.street1?", ":"",V.street2]}),(0,E.jsxs)("p",{className:"mb-0",children:[V.city," ",V.state," ",V.zip]}),(0,E.jsx)("p",{className:"mb-0",children:"US"===V.country&&"Unitd States"}),(0,E.jsx)("p",{className:"mb-0",children:(0,A.n)(V.phone)})]})}),(0,E.jsx)(u.A,{className:"shadow mb-4 mb-sm-0",children:(0,E.jsxs)("div",{className:"p-4",children:[(0,E.jsx)("h6",{className:"mb-3",children:B("action",{count:1})}),(0,E.jsx)("p",{className:"mb-0",children:(0,E.jsx)("button",{className:"btn-".concat(Be?"danger":"cGreen"," btn"),onClick:async()=>Be?V.cancelSubscriptionProcessed?await(async e=>{const s=await(0,P.fI)((0,n.A)({id:null===e||void 0===e?void 0:e._id,isDeleted:!1},l&&{loginBy:l}));Fe(s)})(V):fe(!0):Ae(!0),children:Be?V.cancelSubscriptionProcessed?B("reActivate"):B("cancelSubscription"):B("subscribeNow")})})]})}),Be&&!Y&&(0,E.jsx)(_.A,(0,n.A)((0,n.A)((0,n.A)({},V),We),{},{peopleCount:Ie,currentSubscription:pe}))]})]}),(0,E.jsx)("h2",{className:"m-4 text-center text-navy text-uppercase",children:B("invoices")}),(0,E.jsx)(u.A,{className:"shadow mb-5",children:le.length?(0,E.jsxs)(j.A,{responsive:!0,className:"m-0",children:[(0,E.jsx)("thead",{className:"bg-success text-white",children:(0,E.jsxs)("tr",{children:[(0,E.jsx)("th",{children:B("productName")}
1),(0,E.jsx)("th",{children:B("plan")}),(0,E.jsx)("th",{children:B("members")}),(0,E.jsx)("th",{children:B("price")}),(0,E.jsx)("th",{className:"text-center",children:B("discount")}),(0,E.jsx)("th",{children:B("createdDate")}),(0,E.jsx)("th",{children:B("finalPrice")})]})}),(0,E.jsx)("tbody",{children:(e=>e.map(function(e,s){return(0,E.jsx)(Re,{invoice:e,index:s},s)}))(le)})]}):(0,E.jsx)("p",{className:"text-center mt-3",children:B("noUpcomingInvoices")})})]}),be&&(0,E.jsx)("div",{className:"position-fixed w-100 h-100 card-wrapper",children:(0,E.jsx)("div",{className:"d-flex flex-column justify-content-center align-items-center w-100 h-100 px-3 card-overlay",children:(0,E.jsxs)(u.A,{className:"shadow",style:{maxWidth:"90%",width:"500px"},children:[(0,E.jsx)(N.A,{className:"bg-danger p-3",children:(0,E.jsx)("h5",{className:"text-center m-0 text-white",children:B("cancelAccount")})}),(0,E.jsxs)(b.A,{children:[(0,E.jsx)("p",{className:"text-muted",children:B("cancellationReason")}),(0,E.jsxs)("div",{className:"mb-4",children:[He("notNeedReason","not-need"),He("expensiveReason","expensive"),He("differentReason","different"),"different"===ye.selected&&(0,E.jsx)(E.Fragment,{children:Ve("differentServiceReason","differentService",Pe)}),He("otherReason","other"),"other"===ye.selected&&(0,E.jsx)(E.Fragment,{children:Ve("cancelReason","otherReason",De)})]}),(0,E.jsx)("button",{className:"btn btn-danger mr-2",onClick:async e=>{var s;e.preventDefault();let a="";switch(ye.selected){case"not-need":a="I no longer need the service";break;case"expensive":a="Service is too expensive";break;case"different":a="Different Service: "+Pe.value;break;case"other":a="Other: "+De.value}ce(!0);const n=await(0,O.xS)(V._id,!0,l,a),t=null!==(s=n.err)&&void 0!==s&&s.indexOf("3 months")?n.err:"Something went wrong... Please contact customer support.";if(n.error&&me(t),!n.error){const e=await(0,P.dX)({_id:R,cancelNote:a});Fe(e)}ce(!1),fe(!1)},children:B(ie?"processingBtn":"yesBtn")}),(0,E.jsx)("button",{className:"btn btn-outline-danger",onClick:()=>fe(!1),children:B("noBtn")})]})]})})}),we&&(0,E.jsx)("div",{className:"position-fixed w-100 h-100 card-wrapper",children:(0,E.jsx)("div",{className:"w-100 h-100 card-overlay subscription",children:(0,E.jsxs)("div",{className:"subscription-wrapper",children:[(0,E.jsxs)("div",{className:"m-0 bg-success restart-plan-title p-3 text-center",children:[(0,E.jsx)("h5",{className:"m-0 text-white",children:B("startSubscription")}),(0,E.jsx)("a",{className:"restart-plan-close-btn m-0 mt-2",onClick:()=>{Ue({showStartPlan:!1})},children:(0,E.jsx)("i",{className:"ti-close text-white"})})]}),(0,E.jsx)(u.A,{className:"shadow subscribe-card",children:(0,E.jsxs)(b.A,{className:"p-0",children:["solo"===pe&&(0,E.jsx)(k.default,{isDialog:!0,customer:V,setSubscription:Ye,showConfrimModal:Ue}),"double"===pe&&(0,E.jsx)(S.default,{isDialog:!0,customer:V,setSubscription:Ye,showConfrimModal:Ue}),"family"===pe&&(0,E.jsx)(I.default,{isDialog:!0,customer:V,setSubscription:Ye,showConfrimModal:Ue}),Y&&(0,E.jsx)(C.default,{isDialog:!0,customer:V,setSubscription:Ye,showConfrimModal:Ue})]})})]})})}),(0,E.jsx)(M.A,{pageError:de,resetError:()=>me("")}),(0,E.jsx)(g.W,{pageLoading:ie})]});var Xe}},56965(e,s,l){l.d(s,{A:()=>u});var a=l(5544),n=l(65043),t=l(83003),i=l(97),c=l(26259),o=l(23222),r=l(10591),d=l(20782),m=l(97877),h=l(22499),x=l(96538),p=l(70579);function u(e){const s=(0,t.d4)(e=>e.auth).loginBy,l=(0,n.useState)(!1),u=(0,a.A)(l,2),j=u[0],N=u[1],b=(0,n.useState)(!1),f=(0,a.A)(b,2),v=f[0],g=f[1],w=(0,n.useState)(e.peopleCount||0),A=(0,a.A)(w,2),y=A[0],P=A[1],D=(0,n.useState)(!1),k=(0,a.A)(D,2),S=k[0],I=k[1],O=(0,n.useState)(""),M=(0,a.A)(O,2),_=M[0],T=M[1],C=(0,i.A)(),E=(e,s)=>C.formatMessage({id:e},s);(0,n.useEffect)(()=>{P(e.peopleCount)},[e.peopleCount]);const L=async()=>{e.setPageLoading(!0);const l={subscriptionId:e.subscriptionId,planId:_,paymentPlatform:e.paymentPlatform,planType:"Upgrade",email:e.email,name:e.name,loginBy:s},a=await(0,x.M5)(l);if(!a.error){var n,t,i,c,o;const s=await(0,x.XR)(e.subscriptionId,e.paymentPlatform);null!==(n=s.data.plan)&&void 0!==n&&n.name&&(s=>{const l=["Solo","Double","Family"].find(e=>-1!==s.indexOf(e));e.setCurrentSubscription(null===l||void 0===l?void 0:l.toLocaleLowerCase())})(null===(t=s.data.plan)||void 0===t?void 0:t.name),e.getInvoiceData&&await e.getInvoiceData(e),e.setSubscription(s.data),e.setPlan&&e.setPlan("DeleteMyInfo ".concat(null===(i=s.data.plan)||void 0===i?void 0:i.name," Plan")),e.setMemberNumAvail&&e.setMemberNumAvail(null===(c=s.data.plan)||void 0===c?void 0:c.member),e.setPeopleCount&&e.setPeopleCount(null===(o=s.data.plan)||void 0===o?void 0:o.member)}a.error&&(-1!==a.errMsg.indexOf("Failed to upgrade")?e.setPageError(a.errMsg):e.setPageError(a.error)),N(!1),e.setPageLoading(!1)},R=async e=>{T(e||""),N(!j)};return(0,p.jsxs)(p.Fragment,{children:["STRIPE"===e.paymentPlatform&&(0,p.jsx)("div",{className:"shadow mb-4 mb-sm-0 text-center",children:(0,p.jsxs)("div",{className:"row mb-4",children:["solo"!==e.currentSubscription&&!e.isDataSheet&&(0,p.jsxs)("div",{className:"p-4 col-md-6",children:[(0,p.jsx)("h4",{className:"text-navy text-uppercase",children:E("solo")}),(0,p.jsx)("button",{className:"btn btn-cGreen",onClick:()=>g(!0),children:E("downgradePlan")})]}),(!e.isDataSheet&&"double"!==e.currentSubscription||e.isDataSheet&&"solo"===e.currentSubscription)&&(0,p.jsxs)("div",{className:"p-4 col-md-6",children:[(0,p.jsx)("h4",{className:"text-navy text-uppercase",children:E("double")}),(0,p.jsx)("button",{className:"btn btn-cGreen",onClick:()=>"solo"===e.currentSubscription?R("DOUBLE_2"):g(!0),children:"solo"===e.currentSubscription?E("upgradePlan"):E("downgradePlan")})]}),"family"===e.currentSubscription&&2!==Number(e.peopleCount)&&10!==Number(e.peopleCount)?(0,p.jsxs)("div",{className:"p-4 col-12",children:[(0,p.jsx)("h4",{className:"text-navy text-uppercase",children:E("family")}),(0,p.jsx)("button",{className:"btn btn-cGreen",onClick:()=>R("FAMILY_".concat(y)),children:E("increasePlan")})]}):"family"!==e.currentSubscription&&(0,p.jsxs)("div",{className:"p-4 col-md-6",children:[(0,p.jsx)("h4",{className:"text-navy text-uppercase",children:E("family")}),(0,p.jsx)("button",{className:"btn btn-cGreen",onClick:()=>R("FAMILY_".concat(y<3?3:y)),children:E("upgradePlan")})]})]})}),(0,p.jsxs)(o.A,{isOpen:j,size:"md",centered:!0,className:"modal-main",children:[(0,p.jsx)(r.A,{className:"bg-danger",children:(0,p.jsx)("p",{className:"text-white m-0",children:E("changePlan")})}),(0,p.jsx)(d.A,{children:E("confirmUpdatePlan")}),(0,p.jsxs)(m.A,{children:[(0,p.jsx)(c.A,{color:"btn btn-danger",onClick:async()=>
1{if("family"===e.currentSubscription||_.startsWith("FAMILY"))return N(!j),void I(!0);await L()},children:E("yesBtn")})," ",(0,p.jsx)(c.A,{color:"btn btn-outline-danger",onClick:()=>N(!1),children:E("cancel")})]})]}),(0,p.jsxs)(o.A,{isOpen:v,size:"md",centered:!0,className:"modal-main",children:[(0,p.jsx)(r.A,{className:"bg-danger",children:(0,p.jsx)("p",{className:"text-white m-0",children:E("changePlan")})}),(0,p.jsxs)(d.A,{children:[E("confirmDowngradePlan"),(0,p.jsx)("a",{href:"https://deletemyinfo.com/contact/",target:"_blank",rel:"noreferrer",children:E("contactUs")})]}),(0,p.jsx)(m.A,{children:(0,p.jsx)(c.A,{color:"btn btn-outline-danger",onClick:()=>g(!1),children:E("ok")})})]}),(0,p.jsxs)(o.A,{isOpen:S,size:"md",centered:!0,className:"modal-main",children:[(0,p.jsx)(r.A,{className:"bg-danger",children:(0,p.jsx)("p",{className:"text-white m-0",children:E("peopleSelection")})}),(0,p.jsx)(d.A,{children:(0,p.jsx)("select",{style:{width:150},className:"border-custom form-control font-weight-bold p-0 d-inline",value:y,onChange:e=>{P(e.target.value),T("FAMILY_".concat(e.target.value))},children:Object.keys(h.kO).map((s,l)=>(0,p.jsxs)("option",{className:Number(s)<=e.peopleCount&&"text-secondary",value:Number(s),disabled:Number(s)<=e.peopleCount,children:[Number(s)," ",E("people")]},"p_".concat(l)))})}),(0,p.jsxs)(m.A,{children:[(0,p.jsx)(c.A,{color:"btn btn-danger",onClick:async()=>{await L(),I(!1)},children:E("saveBtn")})," ",(0,p.jsx)(c.A,{color:"btn btn-outline-danger",onClick:()=>I(!1),children:E("cancel")})]})]})]})}},90455(e,s,l){l.r(s),l.d(s,{default:()=>u});var a=l(5544),n=l(65043),t=l(97),i=l(12327),c=l(22345),o=l(35475),r=l(78424),d=l(22499),m=l(33171),h=l(61660),x=l(74862),p=l(70579);function u(e){var s,l,u,j,N,b,f,v,g,w,A,y,P;const D=(0,n.useState)("standard"),k=(0,a.A)(D,2),S=k[0],I=k[1],O=(0,n.useState)(!0),M=(0,a.A)(O,2),_=M[0],T=M[1];(0,n.useEffect)(()=>{var s;const l=(null===e||void 0===e||null===(s=e.location)||void 0===s?void 0:s.pathname)||window.location.pathname;["standard","plus","vip","vipelite","annually","monthly"].forEach(e=>{l&&-1!==l.indexOf(e)&&(["monthly","annually"].includes(e)?T("annually"===e):I(e))})},[]);const C={standard:{name:"standard",websites:"1",profiles:"21",contents:"25",posts:"65+",competitorPriceData:"5,000",competitorPrice:5e3,annualPriceData:"2,750",annualPrice:2750,monthlyPriceData:"250",monthlyPrice:250,savePriceData:"2,250",savePrice:2250,upgradePlanName:"REPUTATION_STANDARD",stripePriceId:_?d.kN.REPUTATION_STANDARD.YEAR_ID:d.kN.REPUTATION_STANDARD.MONTH_ID,paypalPriceId:_?d.ON.REPUTATION_STANDARD.YEAR_ID:d.ON.REPUTATION_STANDARD.MONTH_ID},plus:{name:"plus",websites:"2",profiles:"35",contents:"40",posts:"90+",annualPriceData:"4,565",annualPrice:4565,monthlyPriceData:"415",monthlyPrice:415,competitorPriceData:"8,000",competitorPrice:8e3,savePriceData:"3,435",savePrice:3435,upgradePlanName:"REPUTATION_PLUS",stripePriceId:_?d.kN.REPUTATION_PLUS.YEAR_ID:d.kN.REPUTATION_PLUS.MONTH_ID,paypalPriceId:_?d.ON.REPUTATION_PLUS.YEAR_ID:d.ON.REPUTATION_PLUS.MONTH_ID},vip:{name:"vip",websites:"3",profiles:"50",contents:"60",posts:"200+",annualPriceData:"9,130",annualPrice:9130,monthlyPriceData:"830",monthlyPrice:830,competitorPriceData:"15,000",competitorPrice:15e3,savePriceData:"5,870",savePrice:5870,upgradePlanName:"REPUTATION_VIP",stripePriceId:_?d.kN.REPUTATION_VIP.YEAR_ID:d.kN.REPUTATION_VIP.MONTH_ID,paypalPriceId:_?d.ON.REPUTATION_VIP.YEAR_ID:d.ON.REPUTATION_VIP.MONTH_ID},vipelite:{name:"vipElite",websites:"4",profiles:"60",contents:"80",posts:"250+",annualPriceData:"13,750",annualPrice:13750,monthlyPriceData:"1,250",monthlyPrice:1250,competitorPriceData:"25,000",competitorPrice:25e3,savePriceData:"11,250",savePrice:11250,upgradePlanName:"REPUTATION_VIPELITE",stripePriceId:_?d.kN.REPUTATION_VIPELITE.YEAR_ID:d.kN.REPUTATION_VIPELITE.MONTH_ID,paypalPriceId:_?d.ON.REPUTATION_VIPELITE.YEAR_ID:d.ON.REPUTATION_VIPELITE.MONTH_ID}},E=(0,t.A)(),L=(e,s)=>E.formatMessage({id:e},s),R=s=>{var l,a,n,t;return(0,p.jsxs)("div",{className:"row d-flex flex-column flex-lg-row justify-content-center align-items-center",children:[(0,p.jsxs)("div",{className:"price flex-column h-100 w-100 col-12 col-lg-4 text-center",children:[(0,p.jsx)("p",{className:"".concat(s," monthly h5 font-weight-bold mb-3"),children:L("competitorsPrice")}),(0,p.jsxs)("h2",{className:"".concat(s&&"text-white"," font-weight-bold competitors-price"),children:["$",null===(l=C[S])||void 0===l?void 0:l.competitorPriceData]})]}),(0,p.jsxs)("div",{className:"price flex-column h-100 w-100 col-12 col-lg-5 text-center",children:[(0,p.jsx)("p",{className:"".concat(s," monthly h4 font-weight-bold"),children:L("deleteMyInfosPrice")}),(0,p.jsx)("div",{className:"row d-flex",children:e.isDialog?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{className:"col h4 font-weight-bold d-flex justify-content-end cursor-pointer m-0",onClick:()=>T(!0),children:(0,p.jsx)("p",{className:"".concat(_?"text-white border-bottom border-white":s," m-0"),children:L("annually")})}),(0,p.jsx)("div",{className:"col h4 font-weight-bold d-flex text-center cursor-pointer m-0",onClick:()=>T(!1),children:(0,p.jsx)("p",{className:"".concat(_?s:"text-white border-bottom border-white"," m-0"),children:L("monthly")})})]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(o.N_,{to:"/subscriptions/reputation/".concat(S,"/annually"),children:(0,p.jsx)("div",{className:"col h4 font-weight-bold d-flex justify-content-end cursor-pointer m-0",onClick:()=>T(!0),children:(0,p.jsx)("p",{className:"".concat(_?"text-white border-bottom border-white":s," m-0"),children:L("annually")})})}),(0,p.jsx)(o.N_,{to:"/subscriptions/reputation/".concat(S,"/monthly"),children:(0,p.jsx)("div",{className:"col h4 font-weight-bold d-flex text-center cursor-pointer m-0",onClick:()=>T(!1),children:(0,p.jsx)("p",{className:"".concat(_?s:"text-white border-bottom border-white"," m-0"),children:L("monthly")})})})]})}),_&&(0,p.jsxs)("h2",{className:"".concat(s&&"text-white"," font-weight-bold mt-2"),children:["$",null===(a=C[S])||void 0===a?void 0:a.annualPriceData]}),!_&&(0,p.jsxs)("h2",{className:"".concat(s&&"text-white"," font-weight-bold mt-2"),children:["$",null===(n=C[S])||void 0===n?void 0:n.monthlyPriceData]})]}),(0,p.jsxs)("div",{className:"price flex-column h-100 w-100 col-12 col-lg-3 text-center",children:[(0,p.jsx)("p",{className:"".concat(s," monthly h4 font-weight-bold"),children:L("saveBtn")}),(0,p.jsxs)("p",{className:"".concat(s&&"text-white"," h2 font-weight-bold"),children:["$",null===(t=C[S])||void 0===t?void 0:t.savePriceData]})]})]})};return(0,p.jsx)("div",{className:"row w-100 m-0 ".concat(!e.isDialog&&"min-vh-100"),children:(0,p.jsx)("div",{className:"d-flex flex-column justify-content-center checkout-container w-100",children:(0,p.jsx)(r.A,{orderSummary:(0,p.jsx)("div",{className:"".concat(e.isDialog&&"mb-2"," plans-wrapper"),children:R()}),content:(0,p.jsxs)(c.A,{children:[(0,p.jsxs)(i.A,{className:e.isDialog&&"d-flex flex-column",children:[(0,p.jsx)(c.A,{className:"plans-wrapper",md:12,xs:12,lg:e.isDialog?12:5,children:(0,p.jsxs)("div",{className:"plan-label w-100 d-inline-block",children:[(0,p.jsx)("img",{src:h.A,alt:"",className:"mr-1 float-left"}),(0,p.jsx)("h1",{className:"h3 font-weight-bold",children:C[S]&&L(null===(s=C[S])||void 0===s?void 0:s.name)}),(0,p.jsx)("h1",{className:"h5 font-weight-bold",children:L("reputationManagement")})]})}),(0,p.jsx)(c.A,{className:"plans-wrapper",md:12,xs:12,lg:e.isDialog?12:7,children:R("text-grayish-blue")})]}),(0,p.jsx)("hr",{className:"white-hr"}),(0,p.jsx)("h4",{className:"change-plan font-weight-bold text-center text-md-left",children:L("changeSubscription")}),(0,p.jsx)("div",{className:"plan-list-wrapper",children:e.isDialog?(0,p.jsxs)(i.A,{children:[(0,p.jsx)(c.A,{lg:3,md:6,xs:12,className:"pr-1 cursor-pointer",children:(0,p.jsx)("div",{className:"plan-type h-100 d-flex justify-content-center align-items-center ".concat("standard"==S?"reputation-plan":""),onClick:()=>I("standard"),children:(0,p.jsx)("h2",{className:"d-block text-white m-0 font-weight-bold",children:L(C.standard.name)})})}),(0,p.jsx)(c.A,{lg:3,md:6,xs:12,className:"pr-1 pl-1 cursor-pointer",children:(0,p.jsx)("div",{className:"plan-type h-100 d-flex justify-content-center align-items-center ".concat("plus"==S?"reputation-plan":""),onClick:()=>I("plus"),children:(0,p.jsx)("h2",{className:"d-block text-white m-0 font-weight-bold",children:L(C.plus.name)})})}),(0,p.jsx)(c.A,{lg:3,md:6,xs:12,className:"pl-1 pr-1 cursor-pointer",children:(0,p.jsx)("div",{className:"plan-type h-100 d-flex justify-content-center align-items-center ".concat("vip"==S?"reputation-plan":""),onClick:()=>I("vip"),children:(0,p.jsx)("h2",{className:"d-block text-white m-0 font-weight-bold",children:L(C.vip.name)})})}),(0,p.jsx)(c.A,{lg:3,md:6,xs:12,className:"pl-1 cursor-pointer",children:(0,p.jsx)("div",{className:"plan-type h-100 d-flex justify-content-center align-items-center ".concat("vipelite"==S?"reputation-plan":""),onClick:()=>I("vipelite"),children:(0,p.jsx)("h2",{className:"d-block text-white m-0 font-weight-bold",children:L(C.vipelite.name)})})})]}):(0,p.jsxs)(i.A,{children:[(0,p.jsx)(c.A,{lg:3,md:6,xs:12,className:"pr-1 cursor-pointer",children:(0,p.jsx)(o.N_,{to:"/subscriptions/reputation/standard/".concat(_?"annually":"monthly"),children:(0,p.jsx)("div",{className:"plan-type h-100 d-flex justify-content-center align-items-center ".concat("standard"==S?"reputation-plan":""),onClick:()=>I("standard"),children:(0,p.jsx)("h2",{className:"d-block text-white m-0 font-weight-bold",children:L(C.standard.name)})})})}),(0,p.jsx)(c.A,{lg:3,md:6,xs:12,className:"pr-1 pl-1 cursor-pointer",children:(0,p.jsx)(o.N_,{to:"/subscriptions/reputation/plus/".concat(_?"annually":"monthly"),children:(0,p.jsx)("div",{className:"plan-type h-100 d-flex justify-content-center align-items-center ".concat("plus"==S?"reputation-plan":""),onClick:()=>I("plus"),children:(0,p.jsx)("h2",{className:"d-block text-white m-0 font-weight-bold",children:L(C.plus.name)})})})}),(0,p.jsx)(c.A,{lg:3,md:6,xs:12,className:"pl-1 pr-1 cursor-pointer",children:(0,p.jsx)(o.N_,{to:"/subscriptions/reputation/vip/".concat(_?"annually":"monthly"),children:(0,p.jsx)("div",{className:"plan-type h-100 d-flex justify-content-center align-items-center ".concat("vip"==S?"reputation-plan":""),onClick:()=>I("vip"),children:(0,p.jsx)("h2",{className:"d-block text-white m-0 font-weight-bold",children:L(C.vip.name)})})})}),(0,p.jsx)(c.A,{lg:3,md:6,xs:12,className:"pl-1 cursor-pointer",children:(0,p.jsx)(o.N_,{to:"/subscriptions/reputation/vipelite/".concat(_?"annually":"monthly"),children:(0,p.jsx)("div",{className:"plan-type h-100 d-flex justify-content-center align-items-center ".concat("vipelite"==S?"reputation-plan":""),onClick:()=>I("vipelite"),children:(0,p.jsx)("h2",{className:"d-block text-white m-0 font-weight-bold",children:L(C.vipelite.name)})})})})]})}
1),(0,p.jsxs)("div",{className:"plan-details font-weight-normal mt-5 text-grayish-blue",children:[(0,p.jsxs)("p",{className:"font-weight-normal",children:[(0,p.jsx)("span",{children:(0,p.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",L("free")," ",L("privacyProtection")," "]}),(0,p.jsx)(x.Ay,{TransitionProps:{timeout:500},title:L("reputationNDNCRToolTip"),placement:"bottom",children:(0,p.jsxs)("p",{className:"font-weight-normal",children:[(0,p.jsx)("span",{children:(0,p.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",L("free")," ",L("ndncrRegistry")," (",L("unlimitedPhoneNumbers"),")"," "]})}),(0,p.jsxs)("p",{className:"font-weight-normal",children:[(0,p.jsx)("span",{children:(0,p.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",null===(l=C[S])||void 0===l?void 0:l.websites," ",L("personalWebsite")]}),(0,p.jsxs)("p",{className:"font-weight-normal",children:[(0,p.jsx)("span",{children:(0,p.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",null===(u=C[S])||void 0===u?void 0:u.profiles," ",L("personalizedProfiles")]}),(0,p.jsxs)("p",{className:"font-weight-normal",children:[(0,p.jsx)("span",{children:(0,p.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",null===(j=C[S])||void 0===j?void 0:j.contents," ",L("professionalContents")," (",L("photosVideosArticles"),")"]}),(0,p.jsxs)("p",{className:"font-weight-normal",children:[(0,p.jsx)("span",{children:(0,p.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",null===(N=C[S])||void 0===N?void 0:N.posts," ",L("socialMediaPosts")]})]})]}),priceId:null===(b=C[S])||void 0===b?void 0:b.stripePriceId,planName:C[S]&&L(null===(f=C[S])||void 0===f?void 0:f.name),planPrice:_?null===(v=C[S])||void 0===v?void 0:v.annualPrice:null===(g=C[S])||void 0===g?void 0:g.monthlyPrice,monthlyPlan:null===(w=C[S])||void 0===w?void 0:w.monthlyPrice,isReputation:!0,upgradePlanName:"REPUTATION_"+(null===(A=C[S])||void 0===A?void 0:A.name),planType:_?"annual"
1:"monthly",productId:null===(y=C[S])||void 0===y?void 0:y.stripePriceId,isDialog:e.isDialog,showConfrimModal:s=>e.showConfrimModal(s),customer:e.customer,paypalPlanId:null===(P=C[S])||void 0===P?void 0:P.paypalPriceId})})})}},62972(e,s,l){l.r(s),l.d(s,{default:()=>j});var a=l(5544),n=l(65043),t=l(35475),i=l(97),c=l(12327),o=l(22345),r=l(78424),d=l(22499),m=l(33171),h=l(61660),x=l(53515),p=l(49342),u=l(70579);function j(e){var s;const l=(0,n.useState)(!0),j=(0,a.A)(l,1)[0],N=(0,n.useState)(!1),b=(0,a.A)(N,2),f=b[0],v=b[1],g=(0,i.A)(),w=(e,s)=>g.formatMessage({id:e},s);(0,n.useMemo)(()=>{var s,l;null!==(s=e.location)&&void 0!==s&&s.pathname&&-1!==(null===(l=e.location)||void 0===l?void 0:l.pathname.indexOf("trial"))&&v(!0)},[null===(s=e.location)||void 0===s?void 0:s.pathname]);const A=e=>(0,u.jsxs)("div",{className:"row",children:[(0,u.jsxs)("div",{className:"price flex-column h-100 w-100 col-4",children:[(0,u.jsx)("p",{className:"".concat(e," monthly h5 font-weight-bold mb-3"),children:w("originalPrice")}),(0,u.jsx)("p",{className:"".concat(e&&"text-white"," h2 font-weight-bold"),children:"$".concat(d.kN.DOUBLE.originalPrice,".00")})]}),(0,u.jsxs)("div",{className:"price flex-column h-100 w-100 col-3",children:[(0,u.jsx)("p",{className:"".concat(e," monthly h4 font-weight-bold"),children:w("discount")}),(0,u.jsx)("p",{className:"".concat(e&&"text-white"," h1 font-weight-bold"),children:d.kN.DOUBLE.discount})]}),(0,u.jsxs)("div",{className:"price flex-column h-100 w-100 col-5",children:[(0,u.jsx)("p",{className:"".concat(e," monthly h4 font-weight-bold"),children:w("finalPrice")}),(0,u.jsx)("p",{className:"".concat(e&&"text-white"," h1 font-weight-bold"),children:"$".concat(d.kN.DOUBLE.promotionPrice,".00")}),(0,u.jsxs)("p",{className:"".concat(e," monthly h6 font-weight-bold"),children:[w("monthlyCost"),": ","$".concat(d.kN.DOUBLE.monthlyCost)]})]})]});return(0,u.jsx)("div",{className:"row w-100 m-0 ".concat(!e.isDialog&&"min-vh-100"),children:(0,u.jsx)("div",{className:"d-flex flex-column justify-content-center checkout-container w-100",children:(0,u.jsx)(r.A,{orderSummary:(0,u.jsx)("div",{className:"plans-wrapper",children:A()}),content:(0,u.jsxs)(o.A,{children:[(0,u.jsxs)(c.A,{children:[(0,u.jsx)(o.A,{className:"plans-wrapper",md:12,xs:12,lg:e.isDialog?12:4,children:(0,u.jsxs)("div",{className:"plan-label w-100 d-inline-block",children:[(0,u.jsx)("img",{src:h.A,alt:"",className:"mr-1 float-left"}),(0,u.jsx)("h1",{className:"h3 font-weight-bold",children:w("doublePlan")}),(0,u.jsxs)("h4",{children:[w(j?"annual":"monthly")," ",w("protectionDouble")]})]})}),(0,u.jsx)(o.A,{className:"plans-wrapper",md:12,xs:12,lg:e.isDialog?12:8,children:A("text-grayish-blue")})]}),(0,u.jsx)("hr",{className:"white-hr"}),(0,u.jsx)("h4",{className:"change-plan font-weight-bold text-center text-md-left",children:w("changeSubscription")}),(0,u.jsx)("div",{className:"plan-list-wrapper",children:e.isDialog?(0,u.jsxs)(c.A,{children:[(0,u.jsx)(o.A,{md:4,xs:12,className:"pr-1",children:(0,u.jsxs)("div",{className:"plan-type h-100",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),(0,u.jsx)("p",{className:"d-block ml-auto text-white mb-0",onClick:()=>e.setSubscription("solo"),children:w("soloPlan")}),(0,u.jsxs)("h4",{className:"text-white mb-0",children:[w(j?"annual":"monthly")," ",w("protectionSolo")]})]})}),(0,u.jsx)(o.A,{md:4,xs:12,className:"pr-1 pl-1",children:(0,u.jsxs)("div",{className:"plan-type h-100 current-plan",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),(0,u.jsx)("p",{className:"d-block ml-auto text-white mb-0 font-weight-bold",onClick:()=>e.setSubscription("double"),children:w("doublePlan")}),(0,u.jsxs)("h4",{className:"text-white mb-0 font-weight-bold",children:[w(j?"annual":"monthly")," ",w("protectionDouble")]})]})}),(0,u.jsx)(o.A,{md:4,xs:12,className:"pl-1",children:(0,u.jsxs)("div",{className:"plan-type h-100",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),(0,u.jsx)("p",{className:"d-block ml-auto text-white mb-0",onClick:()=>e.setSubscription("family"),children:w("familyPlan")}),(0,u.jsxs)("h4",{className:"text-white mb-0",children:[w(j?"annual"
1:"monthly")," ",w("protection4PeopleFamily")]})]})})]}):(0,u.jsxs)(c.A,{children:[(0,u.jsx)(o.A,{md:4,xs:12,className:"pr-1",children:(0,u.jsx)(t.N_,{to:"/subscriptions/solo",className:"d-block ml-auto text-white mb-0",children:(0,u.jsxs)("div",{className:"plan-type",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),w("soloPlan"),(0,u.jsxs)("h4",{className:"text-white mb-0",children:[w(j?"annual":"monthly")," ",w("protectionSolo")]})]})})}),(0,u.jsx)(o.A,{md:4,xs:12,className:"pr-1 pl-1",children:(0,u.jsx)("div",{className:"plan-wrapper",children:(0,u.jsx)(t.N_,{to:"/subscriptions/double",className:"d-block ml-auto text-white mb-0 font-weight-bold",children:(0,u.jsxs)("div",{className:"plan-type h-100 current-plan",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),w("doublePlan"),(0,u.jsxs)("h4",{className:"text-white mb-0 font-weight-bold",children:[w(j?"annual":"monthly")," ",w("protectionDouble")]})]})})})}),(0,u.jsx)(o.A,{md:4,xs:12,className:"pl-1",children:(0,u.jsx)(t.N_,{to:"/subscriptions/family",className:"d-block ml-auto text-white mb-0",children:(0,u.jsxs)("div",{className:"plan-type",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),w("familyPlan"),(0,u.jsx)("sup",{children:(0,u.jsx)(p.CN$,{})}),(0,u.jsxs)("h4",{className:"text-white mb-0",children:[w(j?"annual":"monthly")," ",w("protectionFamily")]})]})})})]})}),(0,u.jsxs)("div",{className:"plan-details font-weight-normal mt-5 text-grayish-blue",children:[f&&(0,u.jsxs)("p",{children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",w("freeTrial")]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",f&&"Then"," ","".concat(w("month",j?{price:"$16.99/"}:{price:"$25.99/"}))]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",j?"".concat(w("billedAnnually",{price:"$204/"})):w("billedMonthly")]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",w("doubleSubscription")]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",w(j?"annualProtection":"monthlyProtection")]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",w("autoRenew")]})]})]}),priceId:j?d.kN.DOUBLE.YEAR_ID:d.kN.DOUBLE.MONTH_ID,isTrial:f,planName:"Double Plan",queryString:"double",planPrice:d.kN.DOUBLE.promotionPrice,monthlyPlan:d.kN.DOUBLE.monthlyCost,ndcrRate:d.kN.DOUBLE.ndcrRate,planType:j?"annual":"monthly",productId:d.kN.DOUBLE.ID,isDialog:e.isDialog,showConfrimModal:s=>e.showConfrimModal(s),customer:e.customer,paypalPlanId:f?j?d.ON.DOUBLE.YEAR_ID:d.pM.DOUBLE.MONTH_ID:j?d.ON.DOUBLE.YEAR_ID:d.ON.DOUBLE.MONTH_ID})})})}},50129(e,s,l){l.r(s),l.d(s,{default:()=>j});var a=l(5544),n=l(65043),t=l(35475),i=l(97),c=l(12327),o=l(22345),r=l(78424),d=l(22499),m=l(33171),h=l(61660),x=l(53515),p=l(49342),u=l(70579);function j(e){var s;const l=(0,n.useState)(!0),j=(0,a.A)(l,1)[0],N=(0,n.useState)(!1),b=(0,a.A)(N,2),f=b[0],v=b[1],g=(0,n.useState)("3"),w=(0,a.A)(g,2),A=w[0],y=w[1],P=(0,i.A)(),D=(e,s)=>P.formatMessage({id:e},s);(0,n.useMemo)(()=>{var s,l;null!==(s=e.location)&&void 0!==s&&s.pathname&&-1!==(null===(l=e.location)||void 0===l?void 0:l.pathname.indexOf("trial"))&&v(!0)},[null===(s=e.location)||void 0===s?void 0:s.pathname]),(0,n.useEffect)(()=>{var e,s;const l=null===(e=window.location.href.split("?")[1])||void 0===e||null===(s=e.split("&"))||void 0===s?void 0:s.reduce((e,s)=>{let l=s.split("=");return e[l[0]]=l[1],e},{});y((null===l||void 0===l?void 0:l.members)||3)},[]);const k=e=>(0,u.jsxs)("div",{className:"row",children:[(0,u.jsxs)("div",{className:"price flex-column h-100 w-100 col-4",children:[(0,u.jsx)("p",{className:"".concat(e," monthly h5 font-weight-bold mb-3"),children:D("originalPrice")}),(0,u.jsxs)("p",{className:"".concat(e&&"text-white"," h2 font-weight-bold"),children:["$",d.kO[A].originalPrice,".00"]})]}),(0,u.jsxs)("div",{className:"price flex-column h-100 w-100 col-3",children:[(0,u.jsx)("p",{className:"".concat(e," monthly h4 font-weight-bold"),children:D("discount")}
1),(0,u.jsx)("p",{className:"".concat(e&&"text-white"," h1 font-weight-bold"),children:d.kO[A].discount})]}),(0,u.jsxs)("div",{className:"price flex-column h-100 w-100 col-5",children:[(0,u.jsx)("p",{className:"".concat(e," monthly h4 font-weight-bold"),children:D("finalPrice")}),(0,u.jsxs)("p",{className:"".concat(e&&"text-white"," h1 font-weight-bold"),children:["$",d.kO[A].promotionPrice,".00"]}),(0,u.jsxs)("p",{className:"".concat(e," monthly h6 font-weight-bold"),children:[D("monthlyCost"),": $",d.kO[A].monthlyCost]})]})]});return(0,u.jsx)("div",{className:"row w-100 m-0 ".concat(!e.isDialog&&"min-vh-100"),children:(0,u.jsx)("div",{className:"d-flex flex-column justify-content-center checkout-container w-100",children:(0,u.jsx)(r.A,{orderSummary:(0,u.jsx)("div",{className:"plans-wrapper",children:k()}),content:(0,u.jsxs)(o.A,{children:[(0,u.jsxs)(c.A,{children:[(0,u.jsx)(o.A,{className:"plans-wrapper",md:12,xs:12,lg:e.isDialog?12:4,children:(0,u.jsxs)("div",{className:"plan-label w-100 d-inline-block",children:[(0,u.jsx)("img",{src:h.A,alt:"",className:"mr-1 float-left"}),(0,u.jsxs)("h1",{className:"h3 font-weight-bold",children:[D("familyPlan"),(0,u.jsx)("sup",{children:(0,u.jsx)(p.CN$,{})})]}),(0,u.jsxs)("h4",{className:"m-0",children:[D(j?"annual":"monthly")," ",D("protectionFor")," ",(0,u.jsx)("select",{className:"border-custom form-control font-weight-bold p-0 d-inline member-select",value:A,onChange:e=>y(e.target.value),children:Object.keys(d.kO).map((e,s)=>(0,u.jsxs)("option",{value:e,children:[e," ",D("people")]},"p_".concat(s)))})]})]})}),(0,u.jsx)(o.A,{className:"plans-wrapper",md:12,xs:12,lg:e.isDialog?12:8,children:k("text-grayish-blue")})]}),(0,u.jsx)("hr",{className:"white-hr"}),(0,u.jsx)("h4",{className:"change-plan font-weight-bold text-center text-md-left",children:D("changeSubscription")}),(0,u.jsx)("div",{className:"plan-list-wrapper mr-3",children:e.isDialog?(0,u.jsxs)(c.A,{children:[(0,u.jsx)(o.A,{md:4,xs:12,className:"pr-1",children:(0,u.jsxs)("div",{className:"plan-type h-100",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),(0,u.jsx)("p",{className:"d-block ml-auto text-white mb-0",onClick:()=>e.setSubscription("solo"),children:D("soloPlan")}),(0,u.jsxs)("h4",{className:"text-white mb-0",children:[D(j?"annual":"monthly")," ",D("protectionSolo")]})]})}),(0,u.jsx)(o.A,{md:4,xs:12,className:"pr-1 pl-1",children:(0,u.jsxs)("div",{className:"plan-type h-100",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),(0,u.jsx)("p",{className:"d-block ml-auto text-white mb-0",onClick:()=>e.setSubscription("double"),children:D("doublePlan")}),(0,u.jsxs)("h4",{className:"text-white mb-0",children:[D(j?"annual":"monthly")," ",D("protectionDouble")]})]})}),(0,u.jsx)(o.A,{md:4,xs:12,className:"pl-1",children:(0,u.jsxs)("div",{className:"plan-type h-100 current-plan",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),(0,u.jsx)("p",{className:"d-block ml-auto text-white mb-0 font-weight-bold",onClick:()=>e.setSubscription("family"),children:D("familyPlan")}),(0,u.jsxs)("h4",{className:"text-white mb-0 font-weight-bold",children:[D(j?"annual":"monthly")," ",D("protection4PeopleFamily")]})]})})]}):(0,u.jsxs)(c.A,{children:[(0,u.jsx)(o.A,{md:4,xs:12,className:"pr-1",children:(0,u.jsx)(t.N_,{to:"/subscriptions/solo",className:"d-block ml-auto text-white mb-0",children:(0,u.jsxs)("div",{className:"plan-type",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),D("soloPlan"),(0,u.jsxs)("h4",{className:"text-white mb-0",children:[D(j?"annual":"monthly")," ",D("protectionSolo")]})]})})}),(0,u.jsx)(o.A,{md:4,xs:12,className:"pr-1 pl-1",children:(0,u.jsx)(t.N_,{to:"/subscriptions/double",className:"d-block ml-auto text-white mb-0",children:(0,u.jsxs)("div",{className:"plan-type",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),D("doublePlan"),(0,u.jsxs)("h4",{className:"text-white mb-0",children:[D(j?"annual":"monthly")," ",D("protectionDouble")]})]})})}),(0,u.jsx)(o.A,{md:4,xs:12,className:"pl-1",children:(0,u.jsx)("div",{className:"plan-wrapper",children:(0,u.jsx)(t.N_,{to:"/subscriptions/family",className:"d-block ml-auto text-white mb-0 font-weight-bold",children:(0,u.jsxs)("div",{className:"plan-type h-100 current-plan",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),D("familyPlan"),(0,u.jsx)("sup",{children:(0,u.jsx)(p.CN$,{})}),(0,u.jsxs)("h4",{className:"text-white mb-0 font-weight-bold",children:[D(j?"annual"
1:"monthly")," ",D("protectionFamily")]})]})})})})]})}),(0,u.jsxs)("div",{className:"plan-details font-weight-normal mt-5 text-grayish-blue",children:[f&&(0,u.jsxs)("p",{children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",D("freeTrial")]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",f&&"Then"," ","".concat(D("month",{price:"$".concat(d.kO[A].monthlyCost,"/")}))]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",j?"".concat(D("billedAnnually",{price:"$".concat(d.kO[A].promotionPrice,"/")})):D("billedMonthly")]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",D("familySubscription")]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",D(j?"annualProtection":"monthlyProtection")]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",D("autoRenew")]})]})]}),priceId:j?d.kN.FAMILY.YEARLY_PLANS[A]:d.kN.FAMILY.MONTH_ID,isTrial:f,planName:"Family Plan",queryString:"family".concat(A),planPrice:d.kO[A].promotionPrice,monthlyPlan:d.kO[A].monthlyCost,ndcrRate:24.99,planType:j?"annual":"monthly",productId:d.kN.FAMILY.ID,isDialog:e.isDialog,showConfrimModal:s=>e.showConfrimModal(s),customer:e.customer,paypalPlanId:f?j?d.ON.FAMILY.YEAR_ID:d.pM.FAMILY.MONTH_ID:j?d.ON.FAMILY.YEARLY_PLANS[A]:d.ON.FAMILY.MONTH_ID})})})}},16966(e,s,l){l.r(s),l.d(s,{default:()=>j});var a=l(5544),n=l(65043),t=l(35475),i=l(97),c=l(12327),o=l(22345),r=l(78424),d=l(22499),m=l(33171),h=l(61660),x=l(53515),p=l(49342),u=l(70579);function j(e){var s;const l=(0,n.useState)(!0),j=(0,a.A)(l,1)[0],N=(0,n.useState)(!1),b=(0,a.A)(N,2),f=b[0],v=b[1],g=(0,i.A)(),w=(e,s)=>g.formatMessage({id:e},s);(0,n.useMemo)(()=>{var s,l;null!==(s=e.location)&&void 0!==s&&s.pathname&&-1!==(null===(l=e.location)||void 0===l?void 0:l.pathname.indexOf("trial"))&&v(!0)},[null===(s=e.location)||void 0===s?void 0:s.pathname]);const A=e=>(0,u.jsxs)("div",{className:"row",children:[(0,u.jsxs)("div",{className:"price flex-column h-100 w-100 col-4",children:[(0,u.jsx)("p",{className:"".concat(e," monthly h5 font-weight-bold mb-3"),children:w("originalPrice")}),(0,u.jsx)("p",{className:"".concat(e&&"text-white"," h2 font-weight-bold"),children:"$".concat(d.kN.SOLO.originalPrice,".00")})]}),(0,u.jsxs)("div",{className:"price flex-column h-100 w-100 col-3",children:[(0,u.jsx)("p",{className:"".concat(e," monthly h4 font-weight-bold"),children:w("discount")}),(0,u.jsx)("p",{className:"".concat(e&&"text-white"," h1 font-weight-bold"),children:d.kN.SOLO.discount})]}),(0,u.jsxs)("div",{className:"price flex-column h-100 w-100 col-5",children:[(0,u.jsx)("p",{className:"".concat(e," monthly h4 font-weight-bold"),children:w("finalPrice")}),(0,u.jsx)("p",{className:"".concat(e&&"text-white"," h1 font-weight-bold"),children:"$".concat(d.kN.SOLO.promotionPrice,".00")}),(0,u.jsxs)("p",{className:"".concat(e," monthly h6 font-weight-bold"),children:[w("monthlyCost"),": ","$".concat(d.kN.SOLO.monthlyCost)]})]})]});return(0,u.jsx)("div",{className:"row w-100 m-0 ".concat(!e.isDialog&&"min-vh-100"),children:(0,u.jsx)("div",{className:"d-flex flex-column justify-content-center checkout-container w-100",children:(0,u.jsx)(r.A,{orderSummary:(0,u.jsx)("div",{className:"plans-wrapper",children:A()}),content:(0,u.jsxs)(o.A,{children:[(0,u.jsxs)(c.A,{children:[(0,u.jsx)(o.A,{className:"plans-wrapper",md:12,xs:12,lg:e.isDialog?12:4,children:(0,u.jsxs)("div",{className:"plan-label w-100 d-inline-block",children:[(0,u.jsx)("img",{src:h.A,alt:"",className:"mr-1 float-left"}),(0,u.jsx)("h1",{className:"h3 font-weight-bold",children:w("soloPlan")}),(0,u.jsxs)("h4",{children:[w(j?"annual":"monthly")," ",w("protectionSolo")]})]})}),(0,u.jsx)(o.A,{className:"plans-wrapper",md:12,xs:12,lg:e.isDialog?12:8,children:A("text-grayish-blue")})]}),(0,u.jsx)("hr",{className:"white-hr"}),(0,u.jsx)("h4",{className:"change-plan font-weight-bold text-center text-md-left",children:w("changeSubscription")}),(0,u.jsx)("div",{className:"plan-list-wrapper ml-3",children:e.isDialog?(0,u.jsxs)(c.A,{children:[(0,u.jsx)(o.A,{md:4,xs:12,className:"pr-1",children:(0,u.jsxs)("div",{className:"plan-type h-100 current-plan",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),(0,u.jsx)("p",{className:"d-block ml-auto text-white mb-0 font-weight-bold",onClick:()=>e.setSubscription("solo"),children:w("soloPlan")}),(0,u.jsxs)("h4",{className:"text-white mb-0 font-weight-bold",children:[w(j?"annual"
1:"monthly")," ",w("protectionSolo")]})]})}),(0,u.jsx)(o.A,{md:4,xs:12,className:"pr-1 pl-1",children:(0,u.jsxs)("div",{className:"plan-type h-100",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),(0,u.jsx)("p",{className:"d-block ml-auto text-white mb-0",onClick:()=>e.setSubscription("double"),children:w("doublePlan")}),(0,u.jsxs)("h4",{className:"text-white mb-0",children:[w(j?"annual":"monthly")," ",w("protectionDouble")]})]})}),(0,u.jsx)(o.A,{md:4,xs:12,className:"pl-1",children:(0,u.jsxs)("div",{className:"plan-type h-100",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),(0,u.jsx)("p",{className:"d-block ml-auto text-white mb-0",onClick:()=>e.setSubscription("family"),children:w("familyPlan")}),(0,u.jsxs)("h4",{className:"text-white mb-0",children:[w(j?"annual":"monthly")," ",w("protectionFamily")]})]})})]}):(0,u.jsxs)(c.A,{children:[(0,u.jsx)(o.A,{md:4,xs:12,className:"pr-1",children:(0,u.jsx)("div",{className:"plan-wrapper",children:(0,u.jsx)(t.N_,{to:"/subscriptions/solo",className:"d-block ml-auto text-white mb-0 font-weight-bold",children:(0,u.jsxs)("div",{className:"plan-type h-100 current-plan",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),w("soloPlan"),(0,u.jsxs)("h4",{className:"text-white mb-0 font-weight-bold",children:[w(j?"annual":"monthly")," ",w("protectionSolo")]})]})})})}),(0,u.jsx)(o.A,{md:4,xs:12,className:"pr-1 pl-1",children:(0,u.jsx)(t.N_,{to:"/subscriptions/double",className:"d-block ml-auto text-white mb-0",children:(0,u.jsxs)("div",{className:"plan-type",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),w("doublePlan"),(0,u.jsxs)("h4",{className:"text-white mb-0",children:[w(j?"annual":"monthly")," ",w("protectionDouble")]})]})})}),(0,u.jsx)(o.A,{md:4,xs:12,className:"pl-1",children:(0,u.jsx)(t.N_,{to:"/subscriptions/family",className:"d-block ml-auto text-white mb-0",children:(0,u.jsxs)("div",{className:"plan-type",children:[(0,u.jsx)("img",{src:x.A,alt:"",className:"mr-1 float-left"}),w("familyPlan"),(0,u.jsx)("sup",{children:(0,u.jsx)(p.CN$,{})}),(0,u.jsxs)("h4",{className:"text-white mb-0",children:[w(j?"annual":"monthly")," ",w("protectionFamily")]})]})})})]})}),(0,u.jsxs)("div",{className:"plan-details font-weight-normal mt-5 text-grayish-blue",children:[f&&(0,u.jsxs)("p",{children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",w("freeTrial")]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",f&&"Then"," ","".concat(w("month",j?{price:"$9.99/"}:{price:"$15.99/"}))]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",j?"".concat(w("billedAnnually",{price:"$120/"})):w("billedMonthly")]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",w("soloSubscription")]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",w(j?"annualProtection":"monthlyProtection")]}),(0,u.jsxs)("p",{className:"font-weight-normal",children:[(0,u.jsx)("span",{children:(0,u.jsx)("img",{src:m.A,alt:"",className:"mr-1"})})," ",w("autoRenew")]})]})]}),priceId:j?d.kN.SOLO.YEAR_ID:d.kN.SOLO.MONTH_ID,isTrial:f,planName:"Solo Plan",queryString:"solo",planPrice:d.kN.SOLO.promotionPrice,monthlyPlan:d.kN.SOLO.monthlyCost,ndcrRate:d.kN.SOLO.ndcrRate,planType:j?"annual":"monthly",productId:d.kN.SOLO.ID,isDialog:e.isDialog,showConfrimModal:s=>e.showConfrimModal(s),customer:e.customer,paypalPlanId:f?j?d.ON.SOLO.YEAR_ID:d.pM.SOLO.MONTH_ID:j?d.ON.SOLO.YEAR_ID:d.ON.SOLO.MONTH_ID})})})}},96327(e,s,l){l(65043);var a=l(35475),n=l(97),t=l(62857),i=l(70579);const c=e=>{let s=e.breadcrumb;const l=(0,n.A)(),c=(e,s)=>l.formatMessage({id:e},s);return(0,i.jsx)(t.kvv,{children:(0,i.jsxs)(t.eem,{id:"breadcrumb",className:"d-flex align-items-center justify-content-md-between justify-content-center flex-wrap p-2",children:[(0,i.jsxs)(t.jo_,{className:"m-0 text-break-all",children:[(0,i.jsx)(t.wZe,{children:(0,i.jsx)(a.N_,{to:"/",children:c("home")})}),""!==s.parentPath&&(0,i.jsx)(t.wZe,{children:(0,i.jsx)(a.N_,{to:s.parentLink,children:c(s.parentPath)})}),""!==s.activePath&&(0,i.jsx)(t.wZe,{active:!0,children:c(s.activePath)})]}),s.btnFunction&&(0,i.jsx)("button",{onClick:()=>{s.btnFunction()},className:"btn m-0 btn-cGreen",children:c(s.btnText)}),s.btnLink&&(0,i.jsx)(i.Fragment,{children:s.targetBlank?(0,i.jsx)("a",{href:s.btnLink,target:"_blank",rel:"noreferrer",className:"btn m-0 btn-cGreen",children:(0,i.jsx)("span",{children:c("newTicket")})}):(0,i.jsx)(a.N_,{to:s.btnLink,className:"btn m-0 btn-cGreen",children:(0,i.jsx)("span",{children:c(s.btnText)})})})]})})};l.d(s,["A",0,c])},45184(e,s,l){l(65043);var a=l(49157),n=l(18353),t=l(35299),i=l(97),c=l(70579);const o=e=>{let s=e.pageError,l=e.resetError;const o=(0,i.A)(),r=(e,s)=>o.formatMessage({id:e},s);return s&&(0,c.jsx)("div",{className:"position-fixed w-100 h-100 card-wrapper",children:(0,c.jsx)("div",{className:"d-flex flex-column justify-content-center align-items-center w-100 h-100 px-3 card-overlay",children:(0,c.jsxs)(a.A,{className:"shadow",style:{maxWidth:500},children:[(0,c.jsx)(t.A,{className:"p-3 bg-success",children:(0,c.jsx)("h5",{className:"m-0 text-center",children:"Error"})}),(0,c.jsxs)(n.A,{children:[(0,c.jsx)("p",{className:"text-muted",dangerouslySetInnerHTML:{__html:r(s)}}),(0,c.jsx)("button",{className:"btn btn-outline-cGreen",onClick:()=>l(""),children:r("closeBtn")})]})]})})})};l.d(s,["A",0,o])},81134(e,s,l){l(65043);var a=l(59451),n=l(70579);l.d(s,["W",0,e=>(0,n.jsxs)(n.Fragment,{children:[e.pageLoading&&(0,n.jsx)("div",{className:"position-fixed w-100 h-100 card-wrapper",children:(0,n.jsx)("div",{className:"d-flex flex-column justify-content-center w-100 h-100 card-overlay",children:(0,n.jsx)(a.A,{className:"m-auto"})})}),e.isModel&&(0,n.jsx)("div",{className:"position-absolute",style:{to
1p:"calc(50% - 22px)",left:"calc(50% - 22px)"},children:(0,n.jsx)(a.A,{isModel:e.isModel,className:"m-auto"})})]})])}}]); 2//# sourceMappingURL=134.47ca25f8.chunk.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.