PageSourceSearch

https://app.termly.io/dashboard/9542-07b68b.js

js termly.io collected 2026-10-01 08:02:13 UTC 26,297 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_termly_web_dashboard=self.webpackChunk_termly_web_dashboard||[]).push([[9542],{4881(e,t,n){n.r(t),n.d(t,{default:()=>Je});var s=n(53241),a=n(56807),i=n(18840),o=n(71382),c=n(20441),r=n(10430),l=n(80297),u=n(8609),d=n(30194),m=n(57338),p=n(32477),g=n(33556),y=n(52030),f=n(73040),h=n(28216);const b=(0,h.YK)({description:{defaultMessage:"One final step to set up on-going compliance for your company",id:"checkout-form-title.description"},title:{defaultMessage:"Checkout",id:"checkout-form-title.card-block-title"}}),k=function(){return s.createElement("div",{className:"checkoutFormTitle"},s.createElement("div",{className:"styles-title-aba527"},s.createElement(y.A,b.title)),s.createElement("div",{className:"styles-description-ac8cb2"},s.createElement(y.A,b.description)))},v=(0,h.YK)({cancelAnytime:{defaultMessage:"Cancel anytime",id:"guarantees.cancel-anytime"},moneyBackGuarantee:{defaultMessage:"30 day money back guarantee",id:"guarantees.money-back-guarantee"}}),E="styles-guarantee-b31042",C=n.p+"checkmark-outlined-f17c58.svg",A=[{className:E,icon:n.p+"dollar-icon-fb3647.svg",message:v.moneyBackGuarantee},{className:E,icon:C,message:v.cancelAnytime}],M=function(){return s.createElement("div",{className:"styles-root-ad38a8"},A.map((e,t)=>{let{className:n,icon:a,message:i}=e;return s.createElement("div",{className:n,key:t},s.createElement("img",{alt:"",className:"styles-icon-e35ffa",src:a}),s.createElement(y.A,i))}))};var P=n(26826),N=n.n(P),S=n(14712),R=n.n(S),D=n(31813),L=n(65804),O=n(53823),T=n(61421);function _(e){const{children:t,disabled:n,handleClick:a}=e;return s.createElement(T.$n,{className:"styles-button-d4fb66",disabled:n,handleClick:a,type:"text"},t)}_.propTypes={children:N().node,disabled:N().bool,handleClick:N().func};const q=_;function I(e){const{handleChange:t,minQuantity:n,quantity:a}=e,i=n||1,o=(0,s.useCallback)(()=>{a<=i||t({value:a-1})},[t,i,a]),c=(0,s.useCallback)(()=>{t({value:a+1})},[t,a]),r=(0,s.useCallback)(e=>{let{value:n}=e;const s=Number(n);isNaN(s)||s<i||t({value:s})},[t,i]),l=a<=i;return s.createElement("div",{className:"styles-root-b1b7f2"},s.createElement("div",{className:"styles-controls-d7baac"},s.createElement(q,{className:"decreaseLicenseQuantity",disabled:l,handleClick:o},"-"),s.createElement(T.pd,{className:"styles-input-eecbde",handleChange:r,min:i,type:"number",value:a}),s.createElement(q,{className:"increaseLicenseQuantity",handleClick:c},"+")))}
1I.propTypes={handleChange:N().func.isRequired,minQuantity:N().number,quantity:N().number.isRequired};const B=I,Q=(0,h.YK)({label:{defaultMessage:"Number of websites:",id:"checkout.price-section.license-quantity-label"}});function U(e){let{handleLicenseChange:t,licenseQuantity:n,minQuantity:a}=e;const[i]=(0,O.ok)();return i.get("quantity")?s.createElement("div",{className:"styles-root-d6329f"},s.createElement("div",{className:"styles-label-d776f8"},s.createElement(y.A,Q.label)),s.createElement(B,{handleChange:t,minQuantity:a,quantity:n})):null}U.propTypes={handleLicenseChange:B.propTypes.handleChange,licenseQuantity:B.propTypes.quantity,minQuantity:B.propTypes.quantity};const K=U;var x=n(34906);const w=n.p+"gray-x-2-dc4189.svg",Y=(0,h.YK)({couponCode:{defaultMessage:"Coupon applied",id:"coupon-code-selected.coupon-code"}});function $(e){let{handleRemove:t}=e;const n=(0,s.useCallback)(e=>{e.stopPropagation(),t()},[t]),a=(0,x.A)(n);return s.createElement("div",{className:"styles-root-dcbbc7"},s.createElement("div",{className:"couponCodeSelected"},s.createElement(y.A,Y.couponCode),s.createElement("div",{"data-testid":"remove-button",onClick:n,onKeyDown:a,role:"button",tabIndex:0},s.createElement("img",{alt:"X",className:"styles-removeButton-f945a4",src:w}))))}$.propTypes={handleRemove:N().func.isRequired};const G=$;var V=n(73581);function j(e){let{error:t}=e;if(!t)return null;const n=t.message?t.message:t;return s.createElement("div",{className:"styles-root-a00a3a"},n)}j.propTypes={error:N().oneOfType([N().string,N().shape({message:N().string})])};const F=j,z=(0,h.YK)({buttonText:{defaultMessage:"Apply",id:"coupon-code-input.button-text"}
1,enterCouponCode:{defaultMessage:"Enter coupon code",id:"coupon-code-input.enter-coupon-code"},validatingCoupon:{defaultMessage:"Validating coupon...",id:"coupon-code-input.validating-coupon"}});var H=n(92947),W=n(41242);async function X(e){try{const{data:t}=await W.A.get((0,u.tk)(e)),{amount_off:n,id:s,percent_off_precise:a}=t;return{amountOff:n,couponCode:s,percentOff:a/100}}catch(e){const t=e.response&&e.response.data?e.response.data:e;return Promise.reject(t)}}function J(e){let{handleChange:t}=e;const n=(0,V.A)(),[a,i]=(0,s.useState)(""),{couponCode:o}=(0,g.A)(),{error:c,fetchCoupon:r,isLoading:l}=function(e){let{handleSuccess:t}=e;const{error:n,isPending:s,mutate:a}=(0,H.n)({mutationFn:X,onSuccess:t});return{error:n,fetchCoupon:a,isLoading:s}}({handleSuccess:t});(0,s.useEffect)(()=>{o&&r(o)},[o,r]);const u=(0,s.useCallback)(e=>{"Enter"===e.key&&(e.stopPropagation(),r(a))},[a,r]),d=(0,s.useCallback)(()=>{r(a),i("")},[a,r]);return s.createElement(s.Fragment,null,s.createElement(T.pd,{className:"styles-input-acb09c",onChange:e=>{e.stopPropagation(),i(e.target.value)},onKeyUp:u,placeholder:n.formatMessage(z.enterCouponCode),type:"text",value:a}),s.createElement(T.$n,{className:"styles-applyButton-bc456a",disabled:!a,handleClick:d,type:"text"},s.createElement(y.A,z.buttonText)),s.createElement(Z,{isLoading:l}),s.createElement(F,{error:c}))}function Z(e){let{isLoading:t}=e;return t?s.createElement("div",null,s.createElement(y.A,z.validatingCoupon)):null}J.propTypes={handleChange:N().func};const ee=J,te="coupon";function ne(e){let{handleDiscount:t}=e;const[n,a]=(0,s.useState)(""),i=function(){const[e,t]=(0,O.ok)();return(0,s.useCallback)(n=>{n?e.set(te,n):e.delete(te),t(e)},[e,t])}();return s.createElement("div",{className:"styles-root-c53f25"},function(e){let{couponCode:t,handleChange:n,handleRemove:a}=e;return t?s.createElement(G,{handleRemove:a}):s.createElement(ee,{handleChange:n})}({couponCode:n,handleChange:e=>{let{amountOff:n,couponCode:s,percentOff:o}=e;a(s),i(s),t({amountOff:n,couponCode:s,percentOff:o})},handleRemove:()=>{a(""),i(),t({amountOff:0,couponCode:"",percentOff:0})}}))}ne.propTypes={handleDiscount:N().func.isRequired};const se=ne;var ae=n(11210);const ie=(0,h.YK)({month:{defaultMessage:" / Month",id:"plan-info.price-per-month"},year:{defaultMessage:" / Year",id:"plan-info.price-per-year"}});function oe(e){let{currency:t,isAnnual:n,planName:a,planPrice:i}=e;const o=function(e){const t=e?.split(" ")||[],n=t.pop(),s=t.join(" ");return s?`${s} (${n})`:n}(a),c=n?ie.year:ie.month,r=(0,ae.Ay)(i);return s.createElement("div",{className:"styles-root-e27112"},s.createElement("div",{className:"planName"},o),s.createElement("div",{className:"planPrice"},s.createElement(h.Gr,{currency:t,style:"currency",value:r}),s.createElement(y.A,c)))}oe.propTypes={currency:N().string.isRequired,planName:N().string.isRequired,planPrice:N().number.isRequired,isAnnual:N().bool};const ce=oe;var re=n(22771),le=n(68199);const ue=(0,h.YK)({discount:{defaultMessage:"Discount: ",id:"checkout.total-price.discount"}});function de(e){const{currency:t,discountAmount:n,priceBeforeDiscount:a}=e,i=(0,ae.Ay)(a),o=(0,ae.Ay)(n);return s.createElement("div",{className:"styles-root-b90a95"},s.createElement("div",{className:"styles-priceBeforeDiscount-b61662"},s.createElement(h.Gr,{currency:t,minimumFractionDigits:0,style:"currency",value:i})),s.createElement("div",{className:"styles-discountAmount-bd4461"},s.createElement(y.A,ue.discount),s.createElement(h.Gr,{currency:t,minimumFractionDigits:2,style:"currency",value:o})))}de.propTypes={currency:N().string.isRequired,discountAmount:N().number.isRequired,priceBeforeDiscount:N().number.isRequired};const me=de,pe=(0,h.YK)({label:{defaultMessage:"Total:",id:"checkout.totalPrice.label"},licenseCount:{defaultMessage:"{licenseQuantity, plural, =1 {# license} other {# licenses}} at {formattedPricePerLicense}{licenseQuantity, plural, =1 {} other { each}}",id:"checkout.totalPrice.licenseCount"}});function ge(e){let{currency:t,formatNumber:n,planPrice:s}=e;const a=(0,ae.Ay)(s);return n(a,{currency:t,minimumFractionDigits:Number.isInteger(a)?0:2,style:"currency"})}const ye=1;function fe(e){const{couponData:t,currency:n,licenseQuantity:a=ye,planPrice:i}=e,{formatNumber:o}=(0,V.A)(),c={licenseQuantity:a,formattedPricePerLicense:ge({currency:n,formatNumber:o,planPrice:i})},{discountAmount:r,isDiscounted:l,total:u,totalBeforeDiscount:d}
1=function(e){let{couponData:t,licenseQuantity:n,planPrice:s}=e;const{discountAmount:a,isPercentage:i,percentValue:o}=t,c=s*n,r=i?Math.round(c*o):a;return{discountAmount:r,isDiscounted:a>0,total:(0,ae.Ay)(c-r),totalBeforeDiscount:c}}({couponData:t,licenseQuantity:a,planPrice:i});return s.createElement("div",{className:"styles-root-cc1567"},s.createElement("div",{className:"styles-price-f39fec"},s.createElement("div",{className:"styles-licenseInfo-ac6ed7"},s.createElement(y.A,(0,re.A)({},pe.licenseCount,{values:c}))),l&&s.createElement(me,{currency:n,discountAmount:r,priceBeforeDiscount:d}),s.createElement("div",{className:"styles-totalRow-f7ea08"},s.createElement("div",{className:"styles-label-f8b40a"},s.createElement(y.A,pe.label)),s.createElement("div",{className:"styles-finalPrice-b462c7"},s.createElement(h.Gr,{currency:n,minimumFractionDigits:2,style:"currency",value:u}))),s.createElement("div",{className:"styles-taxNotice-b45721"},s.createElement(le.A,null))))}fe.propTypes={couponData:N().shape({discountAmount:N().number,isPercentage:N().bool,percentValue:N().number}).isRequired,currency:N().string.isRequired,planPrice:N().number.isRequired,licenseQuantity:N().number};const he=fe;var be=n(74945);const ke={couponCode:"",discountAmount:0,isPercentage:!1,percentValue:0},ve="USD";function Ee(e){let{handleLicenseChange:t,licenseQuantity:n}=e;const{user:a}=(0,L.As)(),{minQuantity:i,planID:o,quantity:c}=(0,g.A)();(0,s.useEffect)(()=>{c&&t({value:c})},[t,c]);const{activePlans:r=[],currency:l=ve,isError:u,isPending:d}=(0,D.A)(a.id),m=(0,s.useMemo)(()=>r.find(e=>{let{id:t}=e;return t===o}),[o,r]),{couponData:p,handleCouponDiscount:y}=function(e){let{amountInCents:t}=e;const[n,a]=(0,s.useState)(ke),i=(0,s.useCallback)(e=>{let{amountOff:n,percentOff:s}=e;return n||(s?s*t:ke.discountAmount)},[t]),o=(0,s.useCallback)(e=>{let{amountOff:t,couponCode:n,percentOff:s}=e;if(!n)return void a(ke);const o=i({amountOff:t,percentOff:s});a({couponCode:n,discountAmount:o,isPercentage:!!s,percentValue:s||0})},[i]);return t?{couponData:n,handleCouponDiscount:o}:{couponData:ke,handleCouponDiscount:be.A}}({amountInCents:m?.amount_in_cents});if(u||d||!m)return null;const{amount_in_cents:f,is_annual:h,name:b}=m,k=R()("styles-root-d3318a","t-price-section");return s.createElement("div",{className:k},s.createElement("div",{className:"styles-container-a03112"},s.createElement(ce,{currency:l,isAnnual:h,planName:b,planPrice:f}),s.createElement("hr",{className:"styles-divider-adef67"}),s.createElement(K,{handleLicenseChange:t,licenseQuantity:n,minQuantity:i}),s.createElement(se,{handleDiscount:y}),s.createElement(he,{couponData:p,currency:l,licenseQuantity:n,planPrice:f})))}Ee.propTypes={handleLicenseChange:N().func,licenseQuantity:N().number};const Ce=Ee,Ae=(0,h.YK)({paymentDetailsLabel:{id:"checkout-form.payment-details",defaultMessage:"Payment Details"}});function Me(e){let{handleSubmitSuccess:t,planInfo:n}=e;const[a,i]=(0,s.useState)(1),o={...n,quantity:a};return s.createElement("div",{className:"styles-root-f1bdab"},s.createElement(k,null),s.createElement(Ce,{handleLicenseChange:e=>{let{value:t}=e;i(t)},licenseQuantity:a}),s.createElement("div",{className:"styles-paymentDetailsLabel-ebf9a8"},s.createElement(y.A,Ae.paymentDetailsLabel)),s.createElement(f.A,{handleSubmitSuccess:t,planInfo:o}),s.createElement(M,null))}
1Me.propTypes={handleSubmitSuccess:f.A.propTypes.handleSubmitSuccess,planInfo:f.A.propTypes.planInfo};const Pe=Me,Ne=(0,h.YK)({backToPricing:{defaultMessage:"Back to Pricing",id:"checkout-page-header.back-to-pricing"}}),Se={root:"styles-root-fa4417",logo:"styles-logo-e3b26d",back:"styles-back-f2129b"},Re=n.p+"back-arrow-icon-abb19b.svg",De=n.p+"logo-3afe8e.svg",Le=function(){const e=(0,s.useCallback)(e=>{e.stopPropagation(),(0,o.A)()},[]),t=R()(Se.back,"t-backLink"),n=(0,x.A)(e);return s.createElement("div",{className:Se.root},s.createElement("div",{className:t,onClick:e,onKeyDown:n,role:"button",tabIndex:0},s.createElement("img",{alt:"<",className:Se.backArrowIcon,src:Re}),s.createElement(y.A,Ne.backToPricing)),s.createElement("div",{className:Se.logo},s.createElement("img",{alt:"logo",src:De})))},Oe=(0,h.YK)({unlimitedLegalPolicies:{defaultMessage:"<b>Unlimited</b> legal policies",id:"supporting-details.unlimited-legal-policies"},unlimitedPolicyEdits:{defaultMessage:"<b>Unlimited</b> policy edits",id:"supporting-details.unlimited-policy-edits"},unlimitedBannerVisitors:{defaultMessage:"<b>Unlimited</b> CMP visitors",id:"supporting-details.unlimited-banner-visits"},privacyRegulationMonitoring:{defaultMessage:"Privacy Regulation Monitoring",id:"supporting-details.privacy-regulation-monitoring"},cookiePolicyAndBanner:{defaultMessage:"Cookie Policy & Banner",id:"supporting-details.cookie-policy-and-banner"},cookieScriptAutoBlocker:{defaultMessage:"Cookie Script Auto Blocker",id:"supporting-details.cookie-script-auto-blocker"},htmlEmbeddablePolicies:{defaultMessage:"HTML Embeddable Policies",id:"supporting-details.html-embeddable-policies"},weeklyCookieScans:{defaultMessage:"Weekly Cookie Scans",id:"supporting-details.weekly-cookie-scans"},monthlyCookieScans:{defaultMessage:"Monthly Cookie Scans",id:"supporting-details.monthly-cookie-scans"},autoUpdatedPolicies:{defaultMessage:"Auto-Updated Policies",id:"supporting-details.auto-updated-policies"},removeTermlyLogo:{defaultMessage:"Remove Termly logo",id:"supporting-details.remove-termly-logo"},customBannerStyles:{defaultMessage:"Custom Banner Styles",id:"supporting-details.customer-banner-styles"},multiLanguageSupport:{defaultMessage:"Multi-Language Support",id:"supporting-details.multi-language-support"},regionalConsentRules:{defaultMessage:"Regional consent rules",id:"supporting-details.regional-consent-rules"},multiUserPermissions:{defaultMessage:"Multi-User permissions",id:"supporting-details.multi-user-permissions"},numLegalPolicy:{defaultMessage:"<b>2 legal policies</b>",id:"supporting-details.num-legal-policies"},numPolicyEdits:{defaultMessage:"<b>10 policy edits</b>",id:"supporting-details.num-policy-edits"},numBannerVisitor:{defaultMessage:"<b>{count, number}/mo. CMP Visitors</b>",id:"supporting-details.num-banner-visitors"},hostedPolicies:{defaultMessage:"Hosted policies (snippet or URL)",id:"supporting-details.hosted-policies"},multiLanguagePolicies:{defaultMessage:"Multi-language policies",id:"supporting-details.multi-language-policies"},policyStyleCustomization:{defaultMessage:"Policy style customization",id:"supporting-details.policy-style-customization"},regulationMonitoring:{defaultMessage:"Regulation monitoring",id:"supporting-details.regulation-monitoring"},removeTermlyBranding:{defaultMessage:"Remove Termly branding",id:"supporting-details.remove-termly-branding"},quarterlyCookieScans:{defaultMessage:"Quarterly Cookie Scans",id:"supporting-details.quarterly-cookie-scans"}}),Te={policyPro:[[{message:Oe.unlimitedLegalPolicies},{message:Oe.unlimitedPolicyEdits},{message:{...Oe.numBannerVisitor,values:{count:1e4}}}],[{icon:"checkmark",message:Oe.autoUpdatedPolicies},{icon:"checkmark",message:Oe.regulationMonitoring},{icon:"checkmark",message:Oe.hostedPolicies},{icon:"checkmark",message:Oe.multiLanguagePolicies},{icon:"checkmark",message:Oe.multiUserPermissions},{icon:"checkmark",message:Oe.policyStyleCustomization},{icon:"checkmark",message:Oe.removeTermlyBranding}]],starter:[[{message:Oe.numLegalPolicy},{message:Oe.numPolicyEdits},{message:{...Oe.numBannerVisitor,values:{count:1e5}}}],[{icon:"checkmark",message:Oe.privacyRegulationMonitoring},{icon:"checkmark",message:Oe.cookiePolicyAndBanner},{icon:"checkmark",message:Oe.cookieScriptAutoBlocker},{icon:"checkmark",message:Oe.htmlEmbeddablePolicies},{icon:"checkmark",message:Oe.monthlyCookieScans}]],proPlus:[[{message:Oe.unlimitedLegalPolicies},{message:Oe.unlimitedPolicyEdits},{message:Oe.unlimitedBannerVisitors}],[{icon:"checkmark",message:Oe.privacyRegulationMonitoring},{icon:"checkmark",message:Oe.cookiePolicyAndBanner},{icon:"checkmark",message:Oe.cookieScriptAutoBlocker},{icon:"checkmark",message:Oe.htmlEmbeddablePolicies},{icon:"checkmark",message:Oe.weeklyCookieScans},{icon:"checkmark",message:Oe.autoUpdatedPolicies},{icon:"checkmark",message:Oe.removeTermlyLogo}
1,{icon:"checkmark",message:Oe.customBannerStyles},{icon:"checkmark",message:Oe.multiLanguageSupport},{icon:"checkmark",message:Oe.regionalConsentRules},{icon:"checkmark",message:Oe.multiUserPermissions}]]},_e=n.p+"built-robotics-eae197.svg",qe=n.p+"lexus-5f5e00.svg",Ie=n.p+"motorsport-games-1fe74a.svg",Be=n.p+"toyota-75dd77.svg",Qe=n.p+"trust-pilot-c65db1.svg",Ue=[_e,qe,Ie,Be,n.p+"veeps-016df8.svg"],Ke=(0,h.YK)({usedBy:{id:"brand-logos.used-by",defaultMessage:"Used by Thousands of Websites & Apps Worldwide"}}),xe=function(){return s.createElement("div",{className:"styles-root-ddabaa"},s.createElement("img",{alt:"",className:"styles-trustPilot-dc4dca",src:Qe}),s.createElement("div",{className:"styles-usedBy-d21d22"},s.createElement(y.A,Ke.usedBy)),s.createElement("div",{className:"styles-logos-ff295d"},Ue.map((e,t)=>s.createElement("img",{alt:"",key:t,src:e}))))};var we=n(76391);const Ye=n.p+"checkmark-222e9a.svg",$e="styles-featureWithIcon-cf6ed9",Ge={b:we.Ay.b};function Ve(e){let{icon:t,message:n}=e;const a=R()("styles-feature-b1c2bd",{[$e]:t}),{values:i,...o}=n,c={...Ge,...i};return s.createElement("div",{className:a},function(e){let{icon:t}=e;return t?s.createElement("img",{alt:"",className:"styles-icon-ffea65",src:Ye}):null}({icon:t}),s.createElement(y.A,(0,re.A)({values:c},o)))}Ve.propTypes={message:N().shape({defaultMessge:N().string,id:N().string,values:N().shape({})}).isRequired,icon:N().string};const je=Ve;function Fe(e){let{className:t,details:n}=e;const a=R()(t,"styles-root-bffdb3");return s.createElement("div",{className:a},n.map((e,t)=>{let{icon:n,message:a}=e;return s.createElement(je,{icon:n,key:t,message:a})}))}Fe.propTypes={details:N().arrayOf(N().shape({icon:N().string,message:N().shape({defaultMessge:N().string,id:N().string})})).isRequired,className:N().string};const ze=Fe,He=(0,h.YK)({andMore:{defaultMessage:"And more...",id:"policy-summaries.and-more"},monthlyPrice:{defaultMessage:"${monthlyPrice}/ Month",id:"supporting-details.monthly-price"}});function We(e){let{activePlans:t,planID:n}=e;const a=t.find(e=>{let{id:t}=e;return t===n}),i=Te[a?.plan_key];if(!i)return null;const o=a.name.replace(/\s*\(?(annual|monthly)\)?$/i,"").trim();return s.createElement("div",{className:"styles-root-b0ca0e"},s.createElement("div",{className:"styles-featureContainer-bf62cb"},s.createElement("div",{className:"styles-planName-e76fec"},o),i.map((e,t)=>s.createElement(ze,{className:"styles-featureDetail-a21686",details:e,key:t})),s.createElement(y.A,He.andMore)),s.createElement(xe,null))}We.propTypes={activePlans:N().arrayOf(N().shape({id:N().number,plan_key:N().string})).isRequired,planID:N().number.isRequired};const Xe=We,Je=function(){const e=(0,i.Zp)(),t=(0,g.A)(),{activePlans:n,isError:y,isGuestUser:f,isPaidUser:h,isPending:b}=(0,p.A)(),k=(0,s.useRef)(h),v=(0,s.useCallback)(()=>{e(l.A.DASHBOARD)},[e]);return(0,s.useEffect)(()=>{if(!t.planID)return void(0,o.A)();if(!k.current){if(f)return;return void c.A.put((0,u.XX)()).catch(e=>{a.Cp(e,{level:"warning"})})}const s=n?.find(e=>{let{id:n}=e;return n===t.planID});s&&e(r.A.checkoutPreviewURL(null,{isAnnual:s.is_annual,licenseDelta:0,planId:t.planID}))},[n,f,e,t]),t.planID?y||b?s.createElement(m.A,{isError:y,isLoading:b}):s.createElement("div",{className:"styles-root-a74642"},s.createElement(d.A,null,s.createElement("div",{className:"checkoutPageContent"},s.createElement(Le,null),s.createElement("div",{className:"styles-form-da91f7"},s.createElement(Pe,{handleSubmitSuccess:v,planInfo:t}),s.createElement(Xe,{activePlans:n,planID:t.planID}))))):null}},17726(e,t,n){n.d(t,{A:()=>s});const s=n(47818).A},30194(e,t,n){n.d(t,{A:()=>p});var s=n(53241),a=n(26826),i=n.n(a),o=n(17749),c=n(18840),r=n(10430),l=n(87374),u=n(65804),d=n(80297);function m(e){let{children:t}=e;const{search:n}=(0,c.zy)(),{user:a}=(0,u.As)();if(a.guest){const e=function(e){const{from:t,info:n,next:s,redirect:a}=o.A.parse(e);return n?"sign-up"===t?d.A.CHECKOUT(e):`${r.A.signUpURL()}${e}`:(0,l.A)(s)?s:(0,l.A)(a)?a:d.A.LOGIN}(n);return s.createElement(c.C5,{to:e})}return t}m.propTypes={children:i().node};const p=m},33556(e,t,n){n.d(t,{A:()=>
1o});var s=n(53823);function a(e,t){const n=e.get(t),s=Number(n);return function(e){return!(isNaN(e)||!Number.isInteger(e))&&e>0}(s)?s:1}function i(e){return a(e,"min")}const o=function(){const[e]=(0,s.ok)(),t=function(e){const t=a(e,"quantity"),n=i(e);return Math.max(t,n)}(e),n=i(e),o=(e=>{try{return JSON.parse(atob(e))}catch{return{failed:!0}}})(e.get("info")).plan_id||Number(e.get("planId"));return{couponCode:e.get("coupon"),planID:o,quantity:t,minQuantity:n}}},34906(e,t,n){n.d(t,{A:()=>s});const s=function(e){return t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),e(t))}}},47818(e,t,n){n.d(t,{A:()=>a,k:()=>s});const s=4;function a(e,t){return(n,s)=>{let{response:a}=s;const i=a?.status;if(t?.has(i)||"verification_unavailable"===a?.data?.code){const t=n<e;return t&&console.debug("Retrying because of HTTP Status %o (%o/%o)...",i,n+1,e),t}return!1}}},53860(e,t,n){n.d(t,{A:()=>c});var s=n(76391);const a=(0,n(28216).YK)({existing_active_subscription:{defaultMessage:"An existing active subscription already exists. Please <contactSupportLink>contact support</contactSupportLink>.",id:"complete-checkout.existing-active-subscription"},payment_method_not_yet_attached:{defaultMessage:'Your account does not yet have an attached payment method. Please <contactSupportLink>contact support</contactSupportLink> and reference request ID "{requestID}".',id:"complete-checkout.payment-method-not-yet-attached"},payment_processing_error:{defaultMessage:'There has been an error processing your payment. Please <contactSupportLink>contact support</contactSupportLink> and reference request ID "{requestID}".',id:"complete-checkout.payment-processing-error"},permission_denied:{defaultMessage:"You do not have permission to complete this purchase. If you believe this is a mistake, please <contactSupportLink>contact support</contactSupportLink>.",id:"complete-checkout.permission-denied"},verification_unavailable:{defaultMessage:"We were unable to verify your account. Please wait a moment and try again. If the problem continues, please <contactSupportLink>contact support</contactSupportLink>.",id:"complete-checkout.verification-unavailable"}}),i={...a,missing_payment_method:a.payment_processing_error},o=(0,s.kQ)("https://termly.io/contact-us/"),c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{code:t,stripe_request_id:n}=e,s=i[t];if(s)return{...s,values:{contactSupportLink:o,requestID:n}}}},66677(e,t,n){n.d(t,{A:()=>o});var s=n(17749),a=n(10430);const i={guest_session:a.A.signUpURL(),not_authenticated:a.A.loginURL()},o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{code:t,pathname:n,search:a=""}=e,o=i[t];if(!o)return;const{info:c}=s.A.parse(a);return c?`${o}${a}`:`${o}?${s.A.stringify({redirect:`${n}${a}`})}`}},68199(e,t,n){n.d(t,{A:()=>o});var s=n(53241),a=n(52030);const i=(0,n(28216).YK)({label:{defaultMessage:"+ applicable taxes (based on your billing address)",id:"tax-notice.label"}}),o=function(){return s.createElement(a.A,i.label)}},92947(e,t,n){n.d(t,{n:()=>u});var s=n(16489),a=n(53241),i=n(14848),o=n(48948),c=n(20741),r=n(37934),l=class extends o.Q{#e;#t=void 0;#n;#s;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#e.defaultMutationOptions(e),(0,i.f8)(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,i.EN)(t.mutationKey)!==(0,i.EN)(this.options.mutationKey)?this.reset():"pending"===this.#n?.state.status&&this.#n.setOptions(this.options)}onSubscribe(){1===this.listeners.size&&this.#n&&(this.#n.addObserver(this),this.#a())}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#a(),this.#i(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#a(),this.#i()}mutate(e,t){return this.#s=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#a(){const e=this.#n?.state??(0,r.$)();this.#t={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#i(e){c.jG.batch(()=>
1{if(this.#s&&this.hasListeners()){const t=this.#t.variables,n=this.#t.context,s={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if("success"===e?.type){try{this.#s.onSuccess?.(e.data,t,n,s)}catch(e){Promise.reject(e)}try{this.#s.onSettled?.(e.data,null,t,n,s)}catch(e){Promise.reject(e)}}else if("error"===e?.type){try{this.#s.onError?.(e.error,t,n,s)}catch(e){Promise.reject(e)}try{this.#s.onSettled?.(void 0,e.error,t,n,s)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}};function u(e,t){const n=(0,s.jE)(t),[o]=a.useState(()=>new l(n,e));a.useEffect(()=>{o.setOptions(e)},[o,e]);const r=a.useSyncExternalStore(a.useCallback(e=>o.subscribe(c.jG.batchCalls(e)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),u=a.useCallback((...e)=>{o.mutate(e[0],e[1]).catch(i.lQ)},[o]);if(r.error&&(0,i.GU)(o.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:u,mutateAsync:r.mutate}}}}]);
2//# sourceMappingURL=9542-07b68b.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.