PageSourceSearch

https://livestorm.co/_nuxt/B0g6wOVx.js

js livestorm.co collected 2026-09-24 07:25:47 UTC 3,538 bytes, 1 lines download raw bytes

1import{_ as N,D as V,M as H,J as I,K as U,L as W,a0 as F}from"./ClrPqwtt.js";import{k as P,h as d,o as T,x as v,a as s,A as m,q as i,u as t,b as p,c as h,s as z,m as u,G as O,t as g,v as b,B as C,F as E,y as G}from"./CGPNxvoe.js";const J={class:"pattern"},K={class:"content"},R={class:"buttons"},Q={key:0,class:"items"},X={__name:"OrganismCallToAction",props:{features:{default(){return[]},type:Array},imageDesktop:{default(){},required:!1,type:Object},imageMobile:{default(){},required:!1,type:Object},primaryButton:{required:!0,type:Object},secondaryButton:{default(){},required:!1,type:Object},theme:{default(){return"livestorm"},required:!1,type:String,validator(e){return["dark","enterprise","livestorm","new"].indexOf(e)!==-1}}},emits:["primary:click","secondary:click"],setup(e,{emit:D}){const{width:l}=V(),B=D,$=e,o=d(null),c=d(400),a=d(1328),y=d(null),q=p(()=>{switch(!0){case l.value<768:return 199;case(l.valu>=768&&l.valu<1024):return 352;default:return 559}}),k=p(()=>!0===l.value<768&&$.theme==="new"?3:2);function A(){c.value=o.value.offsetHeight,a.value=o.value.offsetWidth}return P(()=>{y.value.unobserve(o.value)}),T(()=>{y.value=new ResizeObserver(A),y.value.observe(o.value)}),(x,n)=>{const f=H,M=I,S=U,w=W,j=F;return s(),v("div",{ref_key:"$el",ref:o,class:C(["call-to-action",e.theme])},[n[2]||(n[2]=m("div",{class:"gradient"},null,-1)),i(f,{alt:"",class:"camera","expected-size":t(q),height:1677,source:"https://www.datocms-assets.com/1127/1664802949-camera.png",width:1677},null,8,["expected-size"]),m("div",J,[i(f,{alt:"",class:"mobile","expected-size":t(a),height:t(c),orientation:"portrait",source:e.imageMobile&&e.imageMobile.url?e.imageMobile.url:"https://www.datocms-assets.com/1127/1621603238-call-to-action-pattern.png",width:t(a)},null,8,["expected-size","height","source","width"]),i(f,{alt:"",class:"desktop","expected-size":t(a),"extra-params":{...e.imageDesktop&&e.imageDesktop.extraParams||{},h:t(c),w:t(a)},height:t(c),source:e.imageDesktop&&e.imageDesktop.url?e.imageDesktop.url:"https://www.datocms-assets.com/1127/1621603238-call-to-action-pattern.png",width:t(a)},null,8,["expected-size","extra-params","height","source","width"])]),m("div",K,[(s(),h(M,{key:`heading-${t(k)}`,as:"paragraph",level:t(k)},{default:u(()=>[O(x.$slots,"heading",{},void 0,!0)]),_:3},8,["level"])),i(S,null,{default:u(()=>[O(x.$slots,"paragraph",{},void 0,!0)]),_:3}),m("div",R,[i(w,{action:e.primaryButton.event&&e.primaryButton.event.name||e.primaryButton.action,"extra-attributes":e.primaryButton.event&&e.primaryButton.event.attributes||e.primaryButton.attributes,class:C(e.primaryButton.class),label:e.primaryButton.label,size:"l",to:e.primaryButton.to,onClick:n[0]||(n[0]=r=>B("primary:click",r))},{default:u(()=>[g(b(e.primaryButton.slot),1)]),_:1},8,["action","extra-attributes","class","label","to"]),e.secondaryButton?(s(),h(w,{key:0,action:e.secondaryButton.event&&e.secondaryButton.event.name||e.secondaryButton.action,"extra-attributes":e.secondaryButton.event&&e.secondaryButton.event.attributes||e.secondaryButton.attributes,label:e.secondaryButton.label,size:"l",to:e.secondaryButton.to,type:e.secondaryButton.type||"secondary",onClick:n[1]||(n[1]=r=>B("secondary:click",r))},{default:u(()=>[g(b(e.secondaryButton.slot),1)]),_:1},8,["action","extra-attributes","label","to","type"])):z("",!0)]),e.features.length>0?(s(),v("ul",Q,[(s(!0),v(E,null,G(e.features,(r,L)=>(s(),h(j,{key:L},{default:u(()=>[g(b(r),1)]),_:2},1024))),128))])):z("",!0)])],2)}}},_=N(X,[["__scopeId","data-v-41cf845f"]]);export{_};

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.