1import{aP as Z,aQ as ee,aR as ie,c_ as te,bq as oe,aS as V,aT as r,aU as s,aV as o,d2 as w,aW as v,aX as E,a_ as x,bw as a,b0 as k,d3 as M,bi as B,aZ as d,a$ as $,cR as U,b1 as c,b3 as ae,hL as re,b4 as ce,jE as se,hv as b,hM as ne,h3 as le,hs as pe,b5 as _e}from"./DqUoKSZT.js";import{j as ue}from"./iIAdkhjK.js";import{V as de,g as ve}from"./DB3PCr5H.js";import{U as ge}from"./PJnM8dfo.js";import"./D6ib26MG.js";import"./COl0qh72.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};l.SENTRY_RELEASE={id:"5e0fb5f8cfa644e65037bca5f9960ea76b3077d0"};var g=new l.Error().stack;g&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[g]="165b10e5-083b-41d9-9805-299e05581c05",l._sentryDebugIdIdentifier="sentry-dbid-165b10e5-083b-41d9-9805-299e05581c05")}catch{}})();const Pe={class:"jw-pro-pricing-exp__header"},ye=["src"],he={class:"jw-pro-pricing-exp__badge-row"},fe={class:"freemium-filter__badge freemium-filter__badge--sm"},me={key:0,class:"jw-pro-pricing-exp__tagline"},we={class:"jw-pro-pricing-exp__title"},Ee={class:"jw-pro-pricing-exp__perks"},xe=["src"],ke={class:"jw-pro-pricing-exp__perk-description"},be={class:"jw-pro-pricing-exp__perk-note"},je={key:0,class:"jw-pro-pricing-exp__signup"},Ae={class:"jw-pro-pricing-exp__price-info"},Ie={key:0,class:"jw-pro-pricing-exp__price--original"},Te={class:"jw-pro-pricing-exp__price--discounted"},Oe={class:"jw-pro-pricing-exp__cancel-note"},Re={key:1,class:"jw-pro-pricing-exp__plan-selector"},Ce={class:"jw-pro-pricing-exp__plan-cards"},Le=["onClick"],Se={class:"jw-pro-pricing-exp__plan-card-name"},We={class:"jw-pro-pricing-exp__plan-card-price-unit"},Ve={class:"jw-pro-pricing-exp__plan-card-price"},Me={key:1,class:"jw-pro-pricing-exp__plan-card-price"},Be={class:"jw-pro-pricing-exp__cancel-note"},$e={class:"jw-pro-pricing-exp__footer"},Ue=["href"],De=["href"],Ne=Z({__name:"JwProPricingExpModal",props:{additionalContexts:{}},emits:["submit"],setup(l,{emit:g}){const j=l,D=g,{webLocale:A,locale:h,country:P}=ee(ie()),{t:f}=te(),{activeVariantWithControlGroup:N,trackEvent:I}=oe("EXP_JW_PRO_PRICING"),J="/appassets/img/logo/JustWatch-logo.png",K=c(()=>ve()),F=c(()=>K.value===de.SMARTPHONE?"medium":"large"),e=c(()=>se[N.value??""]);function m(i,_){const{prices:n}=pe[i];return _ in n?n[_]:n.DEFAULT}function T(i,_){if(i)return m(i,_)}const O=c(()=>m("proPricingExpV2Control",P.value)),p=c(()=>m(e.value?.monthlyPriceKey??"proPricingExpV2Variant1Monthly",P.value)),R=c(()=>T(e.value?.yearlyPriceKey,P.value)),C=c(()=>T(e.value?.lifetimePriceKey,P.value)),G=c(()=>b(h.value,O.value.price,O.value.currency)),Y=c(()=>b(h.value,p.value.price,p.value.currency)),L=ce(null),H=c(()=>e.value?.defaultPlanKey??"monthly"),y=c(()=>L.value??H.value),{deviceType:z}=le(),S=c(()=>ne(z.value));function X(i){L.value=i,I({action:"click",label:`select_${i}`,value:S.value})}const q=c(()=>{const i=e.value;if(!i?.showPlanSelector)return[];const _=p.value.currency,n=t=>b(h.value,t,_),u=[{key:"monthly",name:f("WEBAPP_MONTHLY"),priceValue:n(p.value.price),priceUnitKey:"WEBAPP_X_PER_MONTH"}];if(i.showLifetimeOption&&u.push({key:"lifetime",name:f("WEBAPP_LIFETIME"),priceValue:n(C.value?.price??0)}),i.showYearlyOption){const t=R.value?.price??0;u.push({key:"yearly",name:f("WEBAPP_YEARLY"),priceValue:n(t),priceUnitKey:"WEBAPP_X_PER_YEAR"})}return u}),Q=c(()=>y.value==="yearly"?R.value?.priceId??p.value.priceId:y.value==="lifetime"?C.value?.priceId??p.value.priceId:p.value.priceId);function W(){ae.trackEvent("userinteraction",{action:ge.GO_PRO_CLICKED,label:"",property:re()||void 0},j.additionalContexts),I({action:"click",label:`clickout_${y.value}`,value:S.value}),D("submit",Q.value)}return(i,_)=>{const n=V("FontAwesomeIcon"),u=V("i18n-t");return e.value?(r(),s("div",{key:0,class:U(["jw-pro-pricing-exp",{"jw-pro-pricing-exp--boxed":e.value.showPlanSelector,"jw-pro-pricing-exp--spaced":!e.value.showPlanSelector,"jw-pro-pricing-exp--triple-plan":e.value.showLifetimeOption&&e.value.showYearlyOption}])},[o("div",Pe,[e.value.logoOverride?(r(),s("img",{key:0,class:"jw-pro-pricing-exp__logo-override",src:e.value.logoOverride,alt:"JustWatch TV Plus"},null,8,ye)):(r(),s(w,{key:1},[o("div",he,[o("img",{class:"jw-pro-pricing-exp__logo",src:J,alt:"JustWatch Logo"}),o("span",fe,[v(n,{icon:E(ue),size:"sm"},null,8,["icon"]),x(" "+a(e.value.badgeText??i.$t("WEBAPP_FREEMIUM_TAG")),1)])]),e.value.tagline?(r(),s("span",me,a(e.value.tagline),1)):k("",!0)],64)),o("h2",we,a(i.$t(e.value.titleKey)),1)]),o("div",Ee,[(r(!0),s(w,null,M(e.value.perks,t=>(r(),s("div",{key:t.textKey,class:"jw-pro-pricing-exp__perk"},[t.faIcon?(r(),B(n,{key:0,class:"jw-pro-pricing-exp__perk-icon",icon:t.faIcon},null,8,["icon"])):(r(),s("img",{key:1,class:"jw-pro-pricing-exp__perk-icon",src:t.icon,alt:""},null,8,xe)),o("div",ke,[o("h3",null,a(i.$t(t.titleKey,t.titleParams)),1),o("span",be,a(i.$t(t.textKey))+a(t.textSuffix
1),1)])]))),128))]),e.value.showPlanSelector?(r(),s("div",Re,[o("div",Ce,[(r(!0),s(w,null,M(q.value,t=>(r(),s("button",{key:t.key,type:"button",class:U(["jw-pro-pricing-exp__plan-card",{"jw-pro-pricing-exp__plan-card--selected":y.value===t.key,"jw-pro-pricing-exp__plan-card--lifetime":t.key==="lifetime"&&e.value.showLifetimeOption&&e.value.showYearlyOption}]),onClick:Je=>X(t.key)},[o("span",Se,a(t.name),1),o("span",We,[t.priceUnitKey?(r(),B(u,{key:0,keypath:t.priceUnitKey,tag:"span"},{price:d(()=>[o("span",Ve,a(t.priceValue),1)]),_:2},1032,["keypath"])):(r(),s("span",Me,a(t.priceValue),1))])],10,Le))),128))]),o("p",Be,a(i.$t("WEBAPP_FREEMIUM_MODAL_CANCEL")),1),v($,{color:"primary",size:F.value,blocked:"",class:"jw-pro-pricing-exp__cta",onClick:W},{default:d(()=>[x(a(i.$t("WEBAPP_GET_PROVIDER_X",{provider:e.value.ctaProvider??"JustWatch Pro"})),1)]),_:1},8,["size"])])):(r(),s("div",je,[o("div",Ae,[v(u,{keypath:"WEBAPP_PRO_MODAL_JUST_PER_MONTH",tag:"h3",class:"jw-pro-pricing-exp__price"},{price:d(()=>[e.value.showOriginalPrice?(r(),s("span",Ie,[o("s",null,a(G.value),1)])):k("",!0),o("span",Te,a(Y.value),1)]),_:1}
1),o("p",Oe,a(i.$t("WEBAPP_FREEMIUM_MODAL_CANCEL")),1)]),v($,{color:"primary",size:"medium",class:"jw-pro-pricing-exp__cta",onClick:W},{default:d(()=>[x(a(i.$t("WEBAPP_GET_PROVIDER_X",{provider:e.value.ctaProvider??"JustWatch Pro"})),1)]),_:1})])),o("div",$e,[v(u,{keypath:"WEBAPP_JUSTWATCH_PRO_LEGAL",tag:"p",class:"jw-pro-pricing-exp__legal-note"},{terms:d(()=>[o("a",{href:`${E(A)}/terms`},a(i.$t("WEBAPP_JUSTWATCH_PRO_LEGAL_TERMS")),9,Ue)]),privacy:d(()=>[o("a",{href:`${E(A)}/privacy-policy`},a(i.$t("WEBAPP_JUSTWATCH_PRO_LEGAL_PRIVACY")),9,De)]),_:1})])],2)):k("",!0)}}}),Xe=_e(Ne,[["__scopeId","data-v-03484303"]]);export{Xe as default}; 2//# sourceMappingURL=DNYS-AvF.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.