PageSourceSearch

https://www.salesmate.io/static/text-section-DYMH4TrY.js

js salesmate.io collected 2026-09-24 08:27:39 UTC 4,417 bytes, 1 lines download raw bytes

1import{E as t,e as o,g as n,G as e,j as l,b as a,d as i,a as r}from"./index-C2S2Yysw.js";import{e as s,r as d}from"./vendor-CK00QW4g.js";import"./main-BcBMYSYc.js";const c=c=>{var u,m,_,p,b,v,y,x,h,g,j,f,N;const{id:D,headingTag:S,descriptionSize:T,headingTextColor:$,descriptionTextColor:w,buttonHoverColor:C,buttonTextHoverColor:L,buttonSize:M,addTopSpace:H,enableAi:I}=s.propsParser(c),{WIDGET_CHECK_TRUE:k}=r,{componentDataDispatcher:E,contentModel:F,buttonStyle:z}=(e=>{const{id:l,contentModel:a,modelInternalName:i,buttonColor:r,buttonTextColor:c}=s.propsParser(e),u="text-section-ssr",{componentDataDispatcher:m,setComponentDataDispatcher:_,isComponentLoaded:p}=t({id:l,modelInternalName:i,modelKeyForSSR:u});let b;(null==a?void 0:a.trim().length)&&(b=JSON.parse(a));const v={backgroundColor:r,borderColor:r,color:c};return d.useEffect((()=>{var t;p&&(_({type:o.fetchingData}),(null==(t=null==a?void 0:a.trim())?void 0:t.length)&&(async()=>{_({type:o.dataFetched,data:await n(b,i,u,l)})})())}),[a]),{componentDataDispatcher:m,contentModel:a,buttonStyle:v}})(c),{componentData:G,isLoading:K}=E,P=`${S}`,{windowDimensions:R}=e();return l.jsxs(l.Fragment,{children:[l.jsx("style",{children:`#${D} .button-style:hover {\n                    background-color: ${C} !important;\n                    border-color: ${C} !important;\n                    color: ${L} !important;\n                }`}),l.jsx(a,{loaderClassName:"manufacturers-section column-5 section-gap",contentModel:F,isLoading:K,componentData:G}),(null==(u=E.componentData)?void 0:u.id)&&!E.isLoading&&l.jsx(l.Fragment,{children:l.jsx("section",{className:"section-gap",children:l.jsx("div",{className:"container",children:l.jsxs("div",{className:"row",children:[((null==G?void 0:G.heading_et)||(null==G?void 0:G.description_et))&&l.jsxs("div",{className:`w-full ${H===k?"md:mt-20 mt-12 md:mb-12 mb-7":"md:mb-12 mb-7"} text-center ${I===k?"font-semibold":""}`,children:[(null==G?void 0:G.heading_et)&&l.jsx(P,{style:{color:$},className:"mb-0",dangerouslySetInnerHTML:{__html:null==G?void 0:G.heading_et}}),(null==G?void 0:G.description_et)&&l.jsx("p",{style:{color:w},className:`mt-4 ${"desktop"===R?T:""} text-center text-coolgray-500`,dangerouslySetInnerHTML:{__html:null==G?void 0:G.description_et}})]}),l.jsxs("div",{className:"w-full gap-4 flex flex-wrap justify-center",children:[(null==G?void 0:G.primary_button_com)&&(null==G?void 0:G.primary_button_com.length)>0&&(null==(m=null==G?void 0:G.primary_button_com[0])?void 0:m.button_text_et)&&l.jsx(i,{title:null==(_=null==G?void 0:G.primary_button_com[0])?void 0:_.button_text_et,className:"button-style w-full sm:w-auto "+(I===k?`button-primary-ai ${M}-ai`:`button-primary ${M}`),style:z,name:null==G?void 0:G.title,dangerouslySetInnerHTML:{__html:null==(p=null==G?void 0:G.primary_button_com[0])?void 0:p.button_text_et},to:null==(b=null==G?void 0:G.primary_button_com[0])?void 0:b.button_link_et}),(null==G?void 0:G.secondary_button_com)&&(null==G?void 0:G.secondary_button_com.length)>0&&(null==(v=null==G?void 0:G.secondary_button_com[0])?void 0:v.button_text_et)&&l.jsx(i,{title:null==(y=null==G?void 0:G.secondary_button_com[0])?void 0:y.button_text_et,name:null==G?void 0:G.title,className:"button-secondary w-full sm:w-auto "+(I===k?`button-secondary-ai ${M}-ai`:`button-secondary ${M}`),dangerouslySetInnerHTML:{__html:null==(x=null==G?void 0:G.secondary_button_com[0])?void 0:x.button_text_et},to:null==(h=null==G?void 0:G.secondary_button_com[0])?void 0:h.button_link_et})]}),(null==G?void 0:G.primary_button_com)&&(null==G?void 0:G.primary_button_com.length)>0&&(null==(g=null==G?void 0:G.primary_button_com[0])?void 0:g.button_description_et)&&l.jsx("div",{className:"w-full",children:l.jsx("p",{style:{color:w},className:`mt-4 text-sm ${"desktop"===R?T:""} text-center text-coolgray-500`,dangerouslySetInnerHTML:{__html:null==(j=null==G?void 0:G.primary_button_com[0])?void 0:j.button_description_et}})}),(null==G?void 0:G.secondary_button_com)&&(null==G?void 0:G.secondary_button_com.length)>0&&(null==(f=null==G?void 0:G.secondary_button_com[0])?void 0:f.button_description_et)&&l.jsx("div",{className:"w-full",children:l.jsx("p",{style:{color:w},className:`mt-4 text-sm ${"desktop"===R?T:""} text-center text-coolgray-500`,dangerouslySetInnerHTML:{__html:null==(N=null==G?void 0:G.secondary_button_com[0])?void 0:N.button_description_et}})})]})})})})]})};export{c 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.