1import{i as e}from"./DFKnjcOR.js";import{s as t}from"./BlVK-YvN.js";import{On as n,Yt as r,Zn as i,_ as a,b as o,g as s,k as c,mt as l,tr as u,y as d}from"./B4b-2GOK.js";import{S as f}from"./C_cSr8y_.js";import{t as p}from"./BOycASpF.js";var m=[`aria-checked`],h={width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,"aria-hidden":`true`},g={class:`flex min-w-0 flex-1 flex-col gap-0.5`},_={class:`font-inter-tight text-[15px] leading-snug font-semibold text-white`},v={class:`font-inter text-[13px] leading-snug text-grey-400`},y={class:`shrink-0 text-right`},b={class:`font-inter-tight text-base font-semibold text-white`},x={key:0,class:`block font-inter text-[11px] text-grey-500`},S=c({__name:`SubscriptionAddon`,props:{modelValue:{type:Boolean},option:{}},emits:[`update:modelValue`],setup(e){let c=e,{$customCurrency:S}=t(),{formatSubscriptionDuration:C}=p(),w=s(()=>C(String(c.option.totalDuration))),T=s(()=>C(String(c.option.addedDuration))),E=s(()=>{let e=c.option.addedDuration/12;return!Number.isInteger(e)||e<=0?null:c.option.priceDiff/e});return(t,s)=>(l(),o(`button`,{type:`button`,role:`checkbox`,"aria-checked":e.modelValue,class:i([`relative mx-2 mb-6 flex items-center gap-4 roun
1ded-xl border-[1.5px] px-[18px] py-4 text-left transition-colors duration-200 lg:mx-0 lg:max-w-xl`,e.modelValue?`border-primary-500 bg-primary-500/15`:`border-white/10 bg-white/5 hover:bg-white/8`]),onClick:s[0]||=n=>t.$emit(`update:modelValue`,!e.modelValue)},[a(`span`,{class:i([`flex size-[22px] shrink-0 items-center justify-center rounded-[7px] border-2 transition-colors duration-200`,e.modelValue?`border-primary-500 bg-primary-500`:`border-white/40`])},[r((l(),o(`svg`,h,[...s[1]||=[a(`path`,{d:`M2 6.2 4.7 9 10 3`,stroke:`#fff`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]],512)),[[f,e.modelValue]])],2),a(`span`,g,[a(`span`,_,u(t.$t(`subscriptionAddonTitle`,{duration:n(w)})),1),a(`span`,v,u(t.$t(`subscriptionAddonDescription`,{duration:n(T)})),1)]),a(`span`,y,[a(`span`,b,`+`+u(n(S)(e.option.priceDiff)),1),n(E)==null?d(``,!0):(l(),o(`span`,x,u(t.$t(`subscriptionAddonPerYear`,{price:n(S)(n(E))})),1))])],10,m))}}),C=e({default:()=>w}),w=Object.assign(S,{__name:`CustomsHeroSubscriptionAddon`});export{C as n,w as t};
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.