PageSourceSearch

https://www.salesmate.io/static/customer-view-Cg9gbzPI.js

js salesmate.io collected 2026-10-01 08:35:19 UTC 3,963 bytes, 1 lines download raw bytes

1import{E as e,e as t,g as n,j as l,b as o,c as i,d as a,a as s}from"./index-DvtYNCk9.js";import{e as d,r as c}from"./vendor-D8DBuDFK.js";import"./main-JXwh71rI.js";const m=m=>{var r;const{colorOptions:u,tagLineColorOptions:_,enableAi:v,bottomSpace:h}=d.propsParser(m),{WIDGET_CHECK_TRUE:p}=s,{componentDataDispatcher:g,contentModel:x,imageOptions:b}=(l=>{const{id:o,contentModel:i,modelInternalName:a}=d.propsParser(l),s="customer-view-ssr",{componentDataDispatcher:m,setComponentDataDispatcher:r,isComponentLoaded:u}=e({id:o,modelInternalName:a,modelKeyForSSR:s});let _;return(null==i?void 0:i.trim().length)&&(_=JSON.parse(i)),c.useEffect((()=>{var e;u&&(r({type:t.fetchingData}),(null==(e=null==i?void 0:i.trim())?void 0:e.length)&&(async()=>{r({type:t.dataFetched,data:await n(_,a,s,o)})})())}),[i]),{componentDataDispatcher:m,contentModel:i,imageOptions:[{width:622},{width:404},{width:324},{width:520},{width:342}]}})(m),{componentData:j,isLoading:N}=g;return l.jsxs(l.Fragment,{children:[l.jsx(o,{loaderClassName:"",contentModel:x,isLoading:N,componentData:j}),(null==j?void 0:j.id)&&!N&&l.jsx("section",{className:"cs-list "+(h===p?"section-gap":""),children:l.jsxs("div",{className:"container",children:[l.jsx("div",{className:"row",children:j&&(null==j?void 0:j.heading_et)&&l.jsxs("div",{className:"section-title-part "+(v===p?"section-title-part-ai":""),children:[(null==j?void 0:j.tag_line_et)&&l.jsx("span",{className:`tag-line ${v===p?"text-coolgray-500":_} !mt-0`,dangerouslySetInnerHTML:{__html:null==j?void 0:j.tag_line_et}}),l.jsx("h2",{className:""+(v===p?"font-semibold":""),dangerouslySetInnerHTML:{__html:null==j?void 0:j.heading_et}})]})}),l.jsx("div",{className:"row -mx-4 flex flex-wrap md:gap-y-16 gap-y-8",children:j&&(null==j?void 0:j.customer_view_item_com)&&(null==(r=null==j?void 0:j.customer_view_item_com)?void 0:r.map(((e,t)=>{var n,o,s,d;return l.jsx("div",{className:"col px-4 md:w-6/12 w-full",children:l.jsxs("div",{className:"cs-inner-item h-full flex flex-col",children:[l.jsx("div",{className:"cs-inner-item-image mb-6",children:(null==e?void 0:e.author_image_emd)&&l.jsx(i,{name:null==e?void 0:e.heading_et,options:b,src:(null==e?void 0:e.author_image_emd)?null==e?void 0:e.author_image_emd[0]:"",alt:null==e?void 0:e.heading_et,title:null==e?void 0:e.heading_et,width:622,height:400,className:"w-full aspect-[1/0.644] object-cover rounded-2xl"})}),l.jsxs("div",{className:"cs-inner-item flex flex-wrap justify-between",children:[l.jsxs("div",{className:"",children:[(null==e?void 0:e.tag_line_et)&&l.jsx("span",{className:`cs-item-tag-line ${v===p?"text-coolgray-500 font-medium":u} uppercase md:mb-6 mb-3 block`,dangerouslySetInnerHTML:{__html:e?null==e?void 0:e.tag_line_et:""}}),(null==e?void 0:e.heading_et)&&((null==(n=null==e?void 0:e.button_com[0])?void 0:n.button_link_et)&&!(null==(o=null==e?void 0:e.button_com[0])?void 0:o.button_text_et)?l.jsx("h3",{className:"h4 font-semibold",children:l.jsx(a,{to:null==(s=null==e?void 0:e.button_com[0])?void 0:s.button_link_et,name:null==j?void 0:j.title,children:null==e?void 0:e.heading_et})}):l.jsx("h3",{className:"h4 font-semibold",dangerouslySetInnerHTML:{__html:null==e?void 0:e.heading_et}}))]}),l.jsxs("div",{className:"",children:[l.jsx("div",{className:"cs-inner-item-content mb-6",children:(null==e?void 0:e.description_et)&&l.jsx("p",{dangerouslySetInnerHTML:{__html:e?null==e?void 0:e.description_et:""}})}),(null==e?void 0:e.button_com)&&l.jsx("div",{className:"cs-inner-item-button-box",children:(null==e?void 0:e.button_com)&&(null==(d=null==e?void 0:e.button_com)?void 0:d.length)&&l.jsx(a,{to:(null==e?void 0:e.button_com[0])?null==e?void 0:e.button_com[0].button_link_et:"",name:null==j?void 0:j.title,className:""+(v===p?"button-secondary-ai button-large-ai":"button-secondary button-large"),children:(null==e?void 0:e.button_com[0])?null==e?void 0:e.button_com[0].button_text_et:""})})]})]})]})},t.toString())})))})]})})]})};export{m 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.