PageSourceSearch

https://www.alexanderswm.co.uk/assets/PartnerContactCta-CXNUUdzx.js

js alexanderswm.co.uk collected 2026-10-05 09:54:38 UTC 3,335 bytes, 52 lines download raw bytes

1import{h as n,c as r,j as o}from"./styledComponents-n4UW4kpA.js";import{g as x,m as s,c as C,Z as u,P as e}from"./index-Dbx1gyta.js";import{a as g}from"./redux-DEt5ekS8.js";import{f}from"./buttons.styles-ClYbUcfj.js";import{b as a}from"./brandTextCheck-BtVFi4-W.js";import{p as h}from"./imageHelpers-rj6UfTAf.js";import{P as y}from"./Picture-D6-DCGcV.js";import"./react-C3MRYTMn.js";import"./polished.esm-CYsXSD1d.js";import"./index-g6qz2-ej.js";import"./useObserver-CZyhJdvV.js";const _=n.div.withConfig({displayName:"PartnerContactCtastyles__StyledPartnerContactCta",componentId:"sc-df43o3-0"})(["",""],({theme:t})=>r`
2    background: ${t.colours.brand.a};
3    margin-top: calc(${t.spacing.outer.medium} + 70px);
4    display: flex;
5    align-items: center;
6    flex-direction: column;
7  `),b=n.div.withConfig({displayName:"PartnerContactCtastyles__ProfileImage",componentId:"sc-df43o3-1"})(["",""],({theme:t})=>r`
8    text-align: center;
9    margin: 0 auto;
10    border: 2px solid ${t.colours.background.a};
11    height: 140px;
12    width: 140px;
13    overflow: hidden;
14    position: relative;
15    bottom: 70px;
16    margin-bottom: -70px;
17
18    img {
19      width: 100%;
20    }
21  `),P=n.div.withConfig({displayName:"PartnerContactCtastyles__ContentWrapper",componentId:"sc-df43o3-2"})([""," ",""],x,({theme:t})=>r`
22    padding-top: 30px;
23    padding-bottom: ${t.spacing.outer.large};
24    text-align: center;
25  `),w=n.div.withConfig({displayName:"PartnerContactCtastyles__ContentCol",componentId:"sc-df43o3-3"})(["",""],({theme:t})=>r`
26    width: 100%;
27
28    ${s(t.breakpoints.a)} {
29      ${C(10,12,0,0)}
30    }
31  `),j=n.h2.withConfig({displayName:"PartnerContactCtastyles__Name",componentId:"sc-df43o3-4"})(["",""],({theme:t})=>r`
32    text-transform: none;
33    color: ${t.colours.text.reverse};
34    margin-bottom: 10px;
35  `),I=n.h5.withConfig({displayName:"PartnerContactCtastyles__Partner",componentId:"sc-df43o3-5"})(["",""],({theme:t})=>r`
36    color: ${t.colours.text.tertiary};
37    margin-bottom: 5px;
38  `),$=n.h5.withConfig({displayName:"PartnerContactCtastyles__Text",componentId:"sc-df43o3-6"})(["",""],({theme:t})=>r`
39    font-weight: 600;
40    color: ${t.colours.text.reverse};
41  `),N=n.button.withConfig({displayName:"PartnerContactCtastyles__Button",componentId:"sc-df43o3-7"})([""," margin:15px 0 0;",""],f,({theme:t})=>r`
42    border: 1px solid ${t.colours.button.primary.background};
43
44    ${s(t.breakpoints.a)} {
45      margin: 15px 0 0;
46    }
47
48    &:hover {
49      border: 1px solid #fff;
50    }
51  `),T=({image:t,name:i,partner:c,status:v,text:l,contactButtonText:p})=>{const d=g(),m=()=>{d(u()),window.dataLayer.push({formState:"Open"})};return o.jsxs(_,{children:[o.jsx(b,{children:t&&t.url?o.jsx(y,{url:t==null?void 0:t.url,alt:t==null?void 0:t.altText,ratio:[1,1],noAnimation:!0}):o.jsx("img",{src:h.person,alt:"partner placeholder"})}),o.jsx(P,{children:o.jsxs(w,{children:[o.jsx(j,{dangerouslySetInnerHTML:{__html:a(i)}}),o.jsx(I,{dangerouslySetInnerHTML:{__html:a(c)}}),o.jsx($,{dangerouslySetInnerHTML:{__html:a(l)}}),o.jsx(N,{type:"button",onClick:()=>m(),children:o.jsx("span",{dangerouslySetInnerHTML:{__html:a(p)}})})]})})]})};T.propTypes={image:e.object,name:e.string,partner:e.string,status:e.string,text:e.string,contactButtonText:e.string};export{T as default};
52//# sourceMappingURL=PartnerContactCta-CXNUUdzx.js.map

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.