PageSourceSearch

https://www.mgvillas.com/_nuxt/BtDCAvEY.js

js mgvillas.com collected 2026-10-08 05:34:04 UTC 3,777 bytes, 1 lines download raw bytes

1import{Gt as e,Ht as t,S as n,V as r,b as i,d as a,f as o,m as s,mt as c,nt as l,p as u,rt as d,u as f,xt as p}from"./Cg1m7K-Z.js";import{t as m}from"./CxatSQup.js";import{a as h,o as g}from"./BB8EmJH5.js";import{t as _}from"./CWo26ysc.js";import{t as v}from"./_K8Dn1IH.js";import{t as y}from"./AGLHfbN1.js";import{n as b,t as x}from"./CuuEWwBq.js";import{t as S}from"./97YgHkff.js";import{t as C}from"./Dkg-DaIv.js";import{t as w}from"./DKHanAPM.js";import{t as T}from"./BZzEzNjP.js";import{n as E,t as D}from"./CXz_Xr0H.js";var O=32,k=Object.assign(h(n({__name:`CtaAriel`,props:{config:{}},async setup(n){let h,k;[h,k]=l(()=>_()),await h,k();let A=n,{contrastColor:j}=g(),{getText:M}=S(),{getImageSrc:N}=y(),{agencyColors:P}=m(),F=f(()=>M(A.config.eyebrow?.content)),I=f(()=>M(A.config.title?.content)),L=f(()=>M(A.config.description?.content)),R=f(()=>b(`ariel-min-height`,x(A.config.height,60),e=>`${e}dvh`)),z=e=>`${O+88*e/100}px`,B=f(()=>x(A.config.imageSize,50)),V=f(()=>b(`ariel-image-size`,B.value,z)),H=f(()=>z(B.value.desktop)),U=f(()=>`${A.config.imageBorderRadius??50}%`),W=f(()=>A.config.accentColor||P.value?.[0]||`currentColor`),G=f(()=>A.config.cardBackground||`#ffffff`),K=f(()=>A.config.textColor||j(G.value)),q=f(()=>`${A.config.cardBorderRadius??0}px`),J=f(()=>`${A.config.cardMaxWidth??50}%`),Y=f(()=>({left:`text-left items-start`,center:`text-center items-center`,right:`text-right items-end`})[A.config.textAlignment||`left`]),X=f(()=>{let e=A.config.cardPosition||`center`;return{left:`justify-start`,center:`justify-center`,right:`justify-end`}[e===`center`?`center`:e.split(`-`)[1]||`center`]||`justify-center`}),Z=f(()=>({uppercase:`uppercase`,lowercase:`lowercase`,capitalize:`capitalize`,none:``})[A.config.eyebrowTransform||`uppercase`]),Q=f(()=>({left:`justify-start`,center:`justify-center`,right:`justify-end`})[A.config.textAlignment||`left`]),$=c(null),ee=D(()=>A.config.animation);return E($,ee),(c,l)=>(r(),s(`section`,{class:`cta-ariel`,style:e(p(R))},[i(C,{config:n.config.backgroundDisplay??{},sizes:`sm:100vw md:100vw lg:100vw`},{default:d(()=>[a(`div`,{class:t([`ariel-min-height-frame container mx-auto flex w-full items-center px-4 md:px-12 py-12 md:py-16`,p(X)])},[a(`div`,{class:`p-8 md:p-10 max-w-config`,style:e({backgroundColor:p(G),color:p(K),borderRadius:p(q),maxWidth:p(J)})},[a(`div`,{ref_key:`contentRef`,ref:$,class:t([`flex flex-col`,p(Y)])},[n.config.image?.url?(r(),s(`div`,{key:0,class:`ariel-image-frame mb-6 overflow-hidden shrink-0`,style:e({borderRadius:p(U),...p(V)}),"data-paagees-part":`media`},[i(v,{src:p(N)(n.config.image.url),alt:n.config.image.alt||``,position:n.config.image.position,bare:``,class:`h-full w-full object-cover`,sizes:p(H)},null,8,[`src`,`alt`,`position`,`sizes`])],4)):u(``,!0),p(F)?(r(),o(T,{key:1,content:p(F),class:t([`mb-3 text-xs font-semibold tracking-widest opacity-70`,p(Z)]),"text-config":n.config.eyebrow,"data-paagees-part":`eyebrow`},null,8,[`content`,`class`,`text-config`])):u(``,!0),p(I)?(r(),o(T,{key:2,content:p(I),class:`mb-4`,"text-config":n.config.title,"data-paagees-part":`title`},null,8,[`content`,`text-config`])):u(``,!0),a(`div`,{class:`mb-4 h-0.5 w-12`,style:e({backgroundColor:p(W)})},null,4),p(L)?(r(),o(T,{key:3,content:p(L),class:`mb-8 opacity-80`,"text-config":n.config.description,"data-paagees-part":`description`},null,8,[`content`,`text-config`])):u(``,!0),a(`div`,{class:t([`flex flex-wrap gap-3`,p(Q)]),"data-paagees-part":`cta`},[n.config.button1?(r(),o(w,{key:0,config:n.config.button1},null,8,[`config`])):u(``,!0),n.config.showButton2&&n.config.button2?(r(),o(w,{key:1,config:n.config.button2},null,8,[`config`])):u(``,!0)],2)],2)],4)],2)]),_:1},8,[`config`])],4))}}),[[`__scopeId`,`data-v-f01023ce`]]),{__name:`CtaAriel`});export{k as default};

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.