PageSourceSearch

https://atelierfinance.co.uk/_next/static/chunks/543-d0caaca51894100a.js

js atelierfinance.co.uk collected 2026-10-10 00:25:11 UTC 43,493 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[543],{247:function(){},6261:function(e,t,i){"use strict";i.d(t,{default:function(){return s}});var l=i(7437),a=i(2265);function s(e){let{content:t}=e,{target:i,title:s}=t.properties,[n,o]=(0,a.useState)(null);(0,a.useEffect)(()=>{o(document.getElementById(i))},[i]);let c=e=>{e.preventDefault(),n&&window.scrollTo({top:n.offsetTop-100,behavior:"smooth"})};try{return(0,l.jsx)("section",{className:"anchor","data-aos":"fade-left",children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12 text-center",children:(0,l.jsxs)("button",{type:"button",title:null!=s?s:"Go to",className:"anchor__button",onClick:e=>{c(e)},children:[s?(0,l.jsx)("span",{children:s}):(0,l.jsx)("span",{children:"Go to"}),(0,l.jsx)("svg",{width:"16",height:"22",viewBox:"0 0 16 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M7 21L7 22L9 22L9 21L7 21ZM8.70711 0.292892C8.31658 -0.0976315 7.68342 -0.0976314 7.29289 0.292892L0.928932 6.65685C0.538408 7.04738 0.538408 7.68054 0.928932 8.07107C1.31946 8.46159 1.95262 8.46159 2.34315 8.07107L8 2.41421L13.6569 8.07107C14.0474 8.46159 14.6805 8.46159 15.0711 8.07107C15.4616 7.68054 15.4616 7.04738 15.0711 6.65685L8.70711 0.292892ZM9 21L9 1L7 1L7 21L9 21Z",fill:"currentColor"})})]})})})})})}catch(e){console.error(e)}}},6037:function(e,t,i){"use strict";i.d(t,{default:function(){return T}});var l=i(7437);i(1415);var a=i(2265),s=i(6261),n=i(7648),o=i(4573),c=i(9275),r=i(2836),d=i(8496),u=i(257);class m{async _fetchAllPages(e,t){let i=[],l=await fetch(e,{cache:"no-store",headers:this.headers});if(!l.ok)throw Error("Failed request - ".concat(t));let a=await l.json();if(a.items&&i.push(...a.items),a.items&&a.total>a.items.length){let t=a.total/10-1;for(let l=0;l<t;l++){let t=await fetch("".concat(e,"&take=10&skip=").concat((l+1)*10,"&cache-v=").concat(Date.now()),{cache:"no-store",headers:this.headers}),a=await t.json();a.items&&i.push(...a.items)}}return i}async getById(e){if(!this.baseUrl)return null;try{let t=await fetch("".concat(this.baseUrl).concat(this.apiRoute,"/item/").concat(e,"?expand=properties[$all]&cache-v=").concat(Date.now()),{cache:"no-store",headers:this.headers});if(!t.ok)return console.error("Umbraco Client - getById Failed"),null;return t.json()}catch(e){return console.error(e),null}}async getByIds(e){if(!this.baseUrl)return null;let t=e.join("&id=");try{let e=await fetch("".concat(this.baseUrl).concat(this.apiRoute,"/items?id=").concat(t,"&expand=properties[$all]&cache-v=").concat(Date.now()),{cache:"no-store",headers:this.headers});if(!e.ok)return console.error("Umbraco Client - getByIds Failed"),null;return e.json()}catch(e){return console.error(e),null}}async getByPath(e){if(!this.baseUrl)return null;let t="".concat(this.baseUrl).concat(this.apiRoute,"/item").concat(e,"/?expand=properties[$all]&cache-v=").concat(Date.now());console.log("apiUrl",t),console.log("headers",this.headers);try{let e=await fetch(t,{cache:"no-store",headers:this.headers});if(!e.ok)return console.error("Umbraco Client - getByPath Failed"),null;return console.log(e),e.json()}catch(e){return console.error(e),null}}async getPreviewById(e){if(!this.baseUrl)return null;try{this.headers.Preview=!0;let t=await fetch("".concat(this.baseUrl).concat(this.apiRoute,"/item/").concat(e),{cache:"no-store",headers:this.headers});if(!t.ok)return console.error("Umbraco Client - getPreviewById Failed"),null;return t.json()}catch(e){return console.error(e),null}}async getByType(e){if(!this.baseUrl)return null;let t="".concat(this.baseUrl).concat(this.apiRoute,"/?filter=contentType:").concat(e);try{let e=await this._fetchAllPages(t,"getByType");if(!e)return null;return{total:e.length,items:e}}catch(e){return console.error(e),null}}async getAncestors(e){if(!this.baseUrl)return null;let t="".concat(this.baseUrl).concat(this.apiRoute,"?fetch=ancestors:").concat(e);try{let e=await this._fetchAllPages(t,"getByType");if(!e)return null;return e}catch(e){return console.error(e),null}}async getCaseStudies(e){if(!this.baseUrl)return null;let t="".concat(this.baseUrl,"api/case-studies/?page=").concat(e,"&cache-v=").concat(Date.now());try{let e=await fetch(t,{cache:"no-store",headers:this.headers});if(!e.ok)return console.error("Umbraco Client - getCaseStudies Failed"),null;return await e.json()}catch(e){return console.error(e),null}}async getCaseStudyById(e,t){if(!this.baseUrl)return null;try{let i=await fetch("".concat(this.baseUrl,"api/case-studies/").concat(e,"/").concat(t?"?preview=".concat(t):""),{headers:this.headers,cache:"no-store"});if(!i.ok)return console.error("Umbraco Client - getCaseStudyById Failed"),null;return await i.json()}catch(e){return console.error(e),null}}async getSitemapLinks(){try{let e=await fetch("https://webcdn.atelierf
1inance.co.uk/api/xml-sitemap/",{headers:this.headers});if(!e.ok){console.error("Umbraco Client - getSitemapLinks Failed");return}return await e.json()}catch(e){console.error(e)}}constructor(){var e;e="https://webcdn.atelierfinance.co.uk/",this.baseUrl=void 0!==e?e:"",this.apiRoute="umbraco/delivery/api/v2/content",this.headers={},"production"===d.Z.DEVELOPMENT&&(u.env.NODE_TLS_REJECT_UNAUTHORIZED="0"),this.headers["api-key"]="XDcbr64UMsXjxZ6_dDfrc63asyeTQG"}}async function h(e){let t=new m,i=new c.Z,{loanTypes:a}=e.content.properties;if(!a)return;let s=[];a.forEach(e=>{s.push(e.id)});let n=await t.getByIds(s);if(n){let{topSpacing:t,bottomSpacing:a}=B.getSpacing(e.settings),{title:s}=e.content;return t=t||"medium",a=a||"medium",(0,l.jsxs)("section",{"data-aos":"fade-up",className:"loan-solutions-grid block-top-padding-".concat(t," block-bottom-padding-").concat(a),children:[s&&(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12",children:(0,l.jsx)("h2",{className:"h3",children:s})})})}),(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:n.map((e,t)=>{var a,s;let n=null===(a=e.route)||void 0===a?void 0:a.path,o=e.properties;return(0,l.jsx)("div",{className:"col-12 col-md-6",children:(0,l.jsxs)("div",{className:"loan-solutions-grid-item",children:[n&&(0,l.jsx)("a",{href:n,title:o.title}),o.icon&&(0,l.jsx)("img",{src:null===(s=i.extractValue(o.icon))||void 0===s?void 0:s.url,alt:"",className:"loan-solutions-grid-item__icon",width:"64",height:"64"}),o.title&&(0,l.jsx)("h3",{children:o.title})]})},"solution-item-".concat(t))})})})]})}}function v(e){let t=new c.Z;return(0,l.jsx)("div",{className:"filter row flex align-items-end",children:(()=>{let i=[];return e.payload.map((e,a)=>{var s,c,r,d;let u=t.extractValue(null==e?void 0:null===(s=e.properties)||void 0===s?void 0:s.icon);i.push((0,l.jsxs)("div",{className:"filter-item d-md-flex",children:[(0,l.jsxs)("div",{className:"col-12 col-md-6 d-flex",children:[(0,l.jsx)("img",{src:null==u?null:null==u?void 0:u.url,className:"filter-item__icon",loading:"lazy",width:"64",height:"64",alt:""}),(0,l.jsx)("div",{className:"filter-item__name",children:(0,l.jsx)("span",{children:null==e?void 0:null===(c=e.properties)||void 0===c?void 0:c.title})})]}),(0,l.jsxs)("div",{className:"col-12 col-md-6 rich-text",children:[(0,o.ZP)(null==e?void 0:null===(d=e.properties)||void 0===d?void 0:null===(r=d.introText)||void 0===r?void 0:r.markup),(0,l.jsx)(n.default,{href:e.route.path,className:"img-colour-text__cta-link",children:"Read more"})]})]},"filter-item-".concat(a)))}),i})()})}async function p(e){let t=new m,{loanTypes:i}=e.content.properties;try{if(!i)return;let a=[];i.forEach(e=>{a.push(e.id)});let s=await t.getByIds(a);if(s){let{topSpacing:t,bottomSpacing:i}=B.getSpacing(e.settings),{title:a,subCopy:n}=e.content.properties;return t=t||"medium",i=i||"medium",(0,l.jsxs)("div",{"data-aos":"fade-up",className:"container specialisims-wrapper block-top-padding-".concat(t," block-bottom-padding-").concat(i),children:[(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)("div",{className:"rich-text col",id:"specialisims",children:[(0,l.jsx)("h2",{children:a}),(0,l.jsx)("h3",{children:(0,o.ZP)(null==n?void 0:n.markup)})]})}),(0,l.jsx)(v,{payload:s})]})}}catch(e){console.error(e)}}var x=i(8619);function g(e){let{maxTotal:t,studies:i}=e;return(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12",children:(0,l.jsx)("div",{className:"related-case-studies-list",children:i.map((e,i)=>{var a,s,n,o;let r=new c.Z,{location:d,grossLoan:u,term:m,images:h}=e,v=null===(a=r.extractValue(h))||void 0===a?void 0:a.url;return v?i<t?(0,l.jsx)(x.Z,{imageUrl:"".concat(v),iconUrl:null!==(o=null===(s=e.loanSolution)||void 0===s?void 0:s.iconUrl)&&void 0!==o?o:"",name:e.title,tag:null===(n=e.loanSolution)||void 0===n?void 0:n.title,stats:[d,u,m],...e},"related-case-study-item-".concat(i)):void 0:(0,l.jsx)(l.Fragment,{})})})})})})}class j{async getAll(){let e=[],t=!1,i=1;for(;!t&&i<50;){let l=await this.umbracoContentService.getCaseStudies(i);l&&(null==l?void 0:l.length)>0?(e.push(...l),i++):t=!0}return e}async getById(e,t){return await this.umbracoContentService.getCaseStudyById(e,t)}constructor(){this.umbracoContentService=new m}}async function f(e){let t=new j,{topSpacing:i,bottomSpacing:a}=B.getSpacing(e.settings),{parentTitle:s}=e,{pinnedStudies:n}=e.content.properties,{title:o}=e.blockData?e.content:e,c=[];if(c.push(...function(e,t){let i=[];return e&&e.forEach(async e=>{let l=await t.getById(e.id,!1);l&&i.push(l)}),i}(n,t)),c.length<2){let e=await t.getAll();
1e&&e.forEach(e=>{let t=(e.title,e.title);c.length<2&&s!=t&&c.push(e)})}return c&&c.forEach(e=>{s!=e.title&&c.length<2&&c.push(e)}),(0,l.jsx)(l.Fragment,{children:c&&c.length>0?(0,l.jsxs)("section",{"data-aos":"fade-up",className:"related-case-studies block-top-padding-".concat(i," block-bottom-padding-").concat(a),children:[(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12",children:(0,l.jsx)("h2",{children:null!=o?o:"Case Studies"})})})}),(0,l.jsx)(g,{maxTotal:2,studies:c})]}):(0,l.jsx)(l.Fragment,{})})}var N=i(4533);async function b(e){try{var t,i;let{topSpacing:a,bottomSpacing:s}=B.getSpacing(e.settings),{title:n,staff:o}=null!==(i=null===(t=e.content)||void 0===t?void 0:t.properties)&&void 0!==i?i:{title:"",staff:null};a=a||"medium",s=s||"medium";let c=new m,r=await c.getByIds(o.map(e=>e.id));return o?(0,l.jsx)("section",{className:"block-top-padding-".concat(a," block-bottom-padding-").concat(s),children:(0,l.jsx)(N.default,{title:n,tileData:r})}):(0,l.jsx)(l.Fragment,{children:"..."})}catch(e){console.error(e)}}var _=i(5824);i(9608),i(7425);var w=i(6380);async function k(e){let t=new m,{content:i,settings:a}=e,{quotes:s,title:n}=i.properties;if(!s)return;let o=[];s.forEach(e=>{o.push(e.id)});let c=await t.getByIds(o);if(c){let{topSpacing:e,bottomSpacing:t}=B.getSpacing(a);return e=e||"medium",t=t||"medium",(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{"data-aos":"fade-up",className:"container",children:[(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12",children:n&&(0,l.jsx)("h2",{className:"testimonial-title",children:n})})}),(0,l.jsxs)("div",{className:"testimonial-carousel block-top-padding-".concat(e," block-bottom-padding-").concat(t),children:[(0,l.jsx)(w.default,{testimonialData:c}),(0,l.jsx)("div",{className:"testimonial-carousel-dots-wrapper",id:"".concat(n,"-testimonial-carousel-dots-wrapper")})]})]})})}}let y={anchorBlock:s.default,ctaBlock:function(e){try{var t,i,a,s,r;let d=new c.Z,{topSpacing:u,bottomSpacing:m}=B.getSpacing(e.settings),{title:h,supportingCopy:v}=null!==(s=null===(t=e.content)||void 0===t?void 0:t.properties)&&void 0!==s?s:{title:"",supportingCopy:""},p=d.extractValue(null===(a=e.content)||void 0===a?void 0:null===(i=a.properties)||void 0===i?void 0:i.cta);if(u=u||"medium",m=m||"medium",!p&&!h&&!v)return;return(0,l.jsx)("section",{"data-aos":"fade-up",className:"cta-block block-top-padding-".concat(u," block-bottom-padding-").concat(m),children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12",children:(0,l.jsxs)("div",{className:"cta-block__inner",children:[h&&(0,l.jsx)("h2",{className:"h1",children:h}),v&&(0,l.jsx)("div",{className:"rich-text mt-5",children:(0,o.ZP)(v.markup)}),p&&(0,l.jsx)(n.default,{className:"button smaller-padding text-white bc-grey-blue mt-5 d-inline-block",href:p.route.path,target:null!==(r=p.target)&&void 0!==r?r:"",children:p.title})]})})})})})}catch(e){console.error(e)}},embeddedVideoBlock:T,factGridBlock:function(e){try{var t,i,a;let{facts:s}=null!==(a=null===(t=e.content)||void 0===t?void 0:t.properties)&&void 0!==a?a:{facts:{items:[]}},{topSpacing:n,bottomSpacing:o}=B.getSpacing(e.settings);return n=n||"medium",o=o||"medium",(0,l.jsx)("section",{className:"fact-card-grid block-top-padding-".concat(n," block-bottom-padding-").concat(o),children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12 fact-card-grid__inner",children:s&&(null===(i=s.items)||void 0===i?void 0:i.map((e,t)=>{var i,a,s,n,o,c,r,d;return(0,l.jsxs)("div",{"data-aos":"fade",className:"fact-card-grid__item",children:[(null===(a=e.content)||void 0===a?void 0:null===(i=a.properties)||void 0===i?void 0:i.fact)&&(0,l.jsx)("h2",{children:null===(n=e.content)||void 0===n?void 0:null===(s=n.properties)||void 0===s?void 0:s.fact}),(null===(c=e.content)||void 0===c?void 0:null===(o=c.properties)||void 0===o?void 0:o.subCopy)&&(0,l.jsx)("p",{children:null===(d=e.content)||void 0===d?void 0:null===(r=d.properties)||void 0===r?void 0:r.subCopy})]},"fact-card-item-".concat(t))}))})})})})}catch(e){console.error(e)}},fourColumnStatsBlock:function(e){try{var t,i;let{topSpacing:a,bottomSpacing:s}=B.getSpacing(e.settings),{title:n,stats:o}=null!==(i=null===(t=e.content)||void 0===t?void 0:t.properties)&&void 0!==i?i:{title:"",stats:{items:[]}};if(!o)return;return a=a||"medium",s=s||"medium",(0,l.jsxs)("section",{"data-aos":"fade-up",className:"stats-block block-top-padding-".concat(a," block-bottom-padding-").concat(s),children:[n&&(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12",children:(0,l.jsx)("h2",{children:n})})})}),(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12 stats-list",children:o.items.map((e,t)=>{var i,a,s,n,o,c,r,d;return(0,l.jsxs)("div",{className:"stat-item",children:[(null==e?void 0:null===(a=e.content)||void 0===a?void 0:null===(i=a.properties)||void 0===i?void 0:i.copy)&&(0,l.jsx)("div",{className:"stat-item__copy",children:null==e?void 0:null===(n=e.content)||void 0===n?void 0:null===(s=n.properties)||void 0===s?void 0:s.copy}),(null==e?void 0:null===(c=e.content)||void 0===c?void 0:null===(o=c.properties)||void 0===o?void 0:o.stat)&&(0,l.jsx)("div",{className:"stat-item__number",children:null==e?void 0:null===(d=e.content)||void 0===d?void 0:null===(r=d.properties)||void 0===r?void 0:r.stat})]},"stat-".concat(t))})})})})]})}catch(e){console.error(e)}},fullWidthImageBlock:function(e){try{var t,i,a;let{topSpacing:s,bottomSpacing:n}=B.getSpacing(e.settings),o=new c.Z,{imagePicker:r}=e.content.properties,d=o.extractValue(r);if(!d)return;return s=s||"medium",n=n||"medium",(0,l.jsx)("section",{"data-aos":"fade-up",className:"full-width-image block-top-padding-".concat(s," block-bottom-padding-").concat(n),children:(0,l.jsx)("img",{src:null!==(i=null==d?void 0:d.url)&&void 0!==i?i:"",alt:null!==(a=null==d?void 0:null===(t=d.properties)||void 0===t?void 0:t.altText)&&void 0!==a?a:"",loading:"lazy"})})}catch(e){console.error(e)}},fullWidthVideoBlock:function(e){let{topSpacing:t,bottomSpacing:i}=B.getSpacing(e.settings),{video:a,poster:s}=e.content;return t=t||"medium",i=i||"medium",(0,l.jsx)("section",{className:"full-width-video block-top-padding-".concat(t," block-bottom-padding-").concat(i),children:(0,l.jsx)(r.default,{className:"VideoPlayer",width:"100%",height:"auto",poster:s,mp4:a._url})})},highlightGridBlock:function(e){try{var t,i;let{topSpacing:a,bottomSpacing:s}=B.getSpacing(null==e?void 0:e.settings),{title:n,items:o}=null!==(i=null===(t=e.content)||void 0===t?void 0:t.properties)&&void 0!==i?i:{title:"",items:[]};return a=a||"medium",s=s||"medium",(0,l.jsxs)("section",{className:"statement-boxes block-top-padding-".concat(a," block-bottom-padding-").concat(s),children:[n&&(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12",children:(0,l.jsx)("h2",{children:n})})})}),o&&(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12 statement-boxes-grid",children:o.items.map((e,t)=>{let i=e.content.properties;return(0,l.jsxs)("div",{"data-aos":"fade",className:"statement-boxes-item","data-theme":function(e){switch(e){case"Blue":return"blue";case"Pink":return"pink";case"Teal":return"teal";case"Light Blue":return"light-blue";default:return null}}(e.settings.theme),children:[(0,l.jsx)("p",{children:i.title}),(0,l.jsx)("p",{children:i.copy})]},"statement-boxes-item-".concat(t))})})})})]})}catch(e){console.error(e)}},insetTextWithImageBlock:function(e){try{var t,i,a,s;let n=new c.Z,{image:o,title:r,subCopy:d,link:u}=null!==(a=null===(t=e.content)||void 0===t?void 0:t.properties)&&void 0!==a?a:{image:null,title:"",subCopy:"",link:""},{alignment:m,colour:h,iconPosition:v}=null!==(s=null===(i=e.settings)||void 0===i?void 0:i.properties)&&void 0!==s?s:{alignment:"",colour:"",iconPosition:""},p=n.extractValue(u),x=n.extractValue(o),g=m||"left",j="fade-".concat(g);return(0,l.jsx)("div",{className:"container ctaBoxes",children:(0,l.jsx)("div",{className:"row d-lg-flex",children:(0,l.jsx)("div",{"data-aos":j,className:"col-12 ctaBox-wrapper","data-position":g,"data-bg-colour":h||"light-blue","data-icon-location":v||"bottom-left-blue",children:(0,l.jsx)("div",{className:"ctaBox",children:(0,l.jsxs)("div",{className:"row d-flex align-items-center ctaBox-inner",children:[(0,l.jsxs)("div",{className:"col-12 offset-md-1 col-md-5",children:[(0,l.jsx)("h3",{className:"ctaBox-heading",children:r}),(0,l.jsx)("p",{className:"ctaBox-text",children:d}),u&&(0,l.jsx)("a",{href:null==p?void 0:p.route.path,className:"ctaBox-cta img-colour-text__cta-link tc-black",children:p.title})]}),(0,l.jsx)("div",{className:"col-12 col-md-5 ctaBox-image",children:o&&(0,l.jsx)("img",{src:(null==x?void 0:x.url)+"?width=550",alt:null==x?void 0:x.name})})]})})})})})}catch(e){console.error(e)}},lendingCriteriaBlock:function(e){try{var t,i;let{topSpacing:a,bottomSpacing:s}=B.getSpacing(e.settings),{criteria:n,heading:c}=null!==(i=null===(t=e.content)||void 0===t?void 0:t.properties)&&void 0!==i?i:{criteria:null,heading:""};if(!(null==n?void 0:n.items))return;let r=Math.round(n.items.length/2),d=n.items.slice(0,r),u=n.items.slice(r);return(0,l.jsxs)("section",{className:"specific-lending-criteria block-top-padding-".concat(a," block-bottom-padding-").concat(s),children:[(0,l.jsx)("div",{className:"specific-lending-criteria__flair specific-lending-criteria__flair--top"}),(0,l.jsx)("div",{className:"specific-lending-criteria__flair specific-lending-criteria__flair--bottom"}),c&&(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12",children:(0,l.jsx)("h2",{className:"specific-lending-criteria__section-heading",children:c})})})}),n&&(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)("div",{className:"col-12 criteria-listing",children:[(0,l.jsx)("div",{className:"criterial-listing-column",children:d.map((e,t)=>{var i,a,s,n,c;return(0,l.jsxs)("div",{className:"criteria-item",children:[(0,l.jsx)("h3",{className:"h2 rich-text criteria-item__title",children:null==e?void 0:null===(a=e.content)||void 0===a?void 0:null===(i=a.properties)||void 0===i?void 0:i.title}),(0,l.jsx)("div",{children:(0,o.ZP)(null==e?void 0:null===(c=e.content)||void 0===c?void 0:null===(n=c.properties)||void 0===n?void 0:null===(s=n.copy)||void 0===s?void 0:s.markup)})]},"column-one-criteria-item-".concat(t))})}),(0,l.jsx)("div",{className:"criterial-listing-column",children:u.map((e,t)=>{var i,a,s,n,c;return(0,l.jsxs)("div",{className:"criteria-item",children:[(0,l.jsx)("h3",{className:"h2 rich-text criteria-item__title",children:null==e?void 0:null===(a=e.content)||void 0===a?void 0:null===(i=a.properties)||void 0===i?void 0:i.title}),(0,l.jsx)("div",{children:(0,o.ZP)(null==e?void 0:null===(c=e.content)||void 0===c?void 0:null===(n=c.properties)||void 0===n?void 0:null===(s=n.copy)||void 0===s?void 0:s.markup)})]},"column-two-criteria-item-".concat(t))})})]})})})]})}catch(e){console.error(e)}},loanSolutionsBlock:function(e){try{var t,i;return(null==e?void 0:null===(i=e.settings)||void 0===i?void 0:null===(t=i.properties)||void 0===t?void 0:t.display)=="grid"?h(e):
1p(e)}catch(e){console.error(e)}},offeringGridBlock:function(e){try{var t,i;let{topSpacing:a,bottomSpacing:s}=B.getSpacing(e.settings),n=new c.Z,{items:o,title:r}=null!==(i=null===(t=e.content)||void 0===t?void 0:t.properties)&&void 0!==i?i:{items:[],title:""};return a=a||"medium",s=s||"medium",(0,l.jsxs)("section",{"data-aos":"fade-up",className:"offering-grid block-top-padding-".concat(a," block-bottom-padding-").concat(s),children:[r&&(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12",children:(0,l.jsx)("h2",{className:"h3",children:r})})})}),o&&(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12 offering-grid-list",children:o.items.map((e,t)=>{var i,a,s,o;let c=n.extractValue(null===(a=e.content)||void 0===a?void 0:null===(i=a.properties)||void 0===i?void 0:i.icon);return(0,l.jsxs)("div",{className:"offering-grid-item",children:[(0,l.jsx)("h3",{children:null===(o=e.content)||void 0===o?void 0:null===(s=o.properties)||void 0===s?void 0:s.title}),c&&(0,l.jsx)("img",{src:null==c?void 0:c.url,alt:"",role:"presentation"})]},"offering-grid-item-".concat(t))})})})})]})}catch(e){console.error(e)}},portfolioStatsListBlock:function(e){let{grossLoan:t,term:i,lTGDV:a,unitsCreated:s,exitMethod:n}=e.content;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("section",{className:"portfolio-stats",children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row d-flex",children:(0,l.jsx)("div",{"data-aos":"fade-up",className:"col-12",children:(0,l.jsxs)("div",{className:"portfolio-stats-list",children:[t&&(0,l.jsxs)("div",{className:"portfolio-stats-item",children:[(0,l.jsx)("p",{className:"portfolio-stats-item__name",children:"Gross Loan"}),(0,l.jsx)("p",{className:"portfolio-stats-item__stat",children:t})]}),i&&(0,l.jsxs)("div",{className:"portfolio-stats-item",children:[(0,l.jsx)("p",{className:"portfolio-stats-item__name",children:"Term "}),(0,l.jsx)("p",{className:"portfolio-stats-item__stat",children:i||""})]}),a&&(0,l.jsxs)("div",{className:"portfolio-stats-item",children:[(0,l.jsx)("p",{className:"portfolio-stats-item__name",children:"LTV"}),(0,l.jsx)("p",{className:"portfolio-stats-item__stat",children:a})]}),s&&(0,l.jsxs)("div",{className:"portfolio-stats-item",children:[(0,l.jsx)("p",{className:"portfolio-stats-item__name",children:"Units Created"}),(0,l.jsx)("p",{className:"portfolio-stats-item__stat",children:s||""})]}),n&&(0,l.jsxs)("div",{className:"portfolio-stats-item",children:[(0,l.jsx)("p",{className:"portfolio-stats-item__name",children:"Exit Method"}),(0,l.jsx)("p",{className:"portfolio-stats-item__stat",children:n||""})]})]})})})})})})},relatedCaseStudiesBlock:f,rateCardTablesBlock:function(e){try{let{topSpacing:t,bottomSpacing:i}=B.getSpacing(e.settings),{disclaimers:a,sectionTitle:s,tables:n}=e.content.properties;return t=t||"medium",i=i||"medium",(0,l.jsxs)("section",{"data-aos":"fade-up",className:"rate-card-tables block-top-padding-".concat(t," block-bottom-padding-").concat(i),children:[s&&(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12",children:(0,l.jsx)("h2",{children:s})})})}),n&&(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12",children:(null==n?void 0:n.items)&&n.items.map((e,t)=>{var i,a,s,n;let o=null==e?void 0:null===(a=e.content)||void 0===a?void 0:null===(i=a.properties)||void 0===i?void 0:i.rows,c=null==e?void 0:null===(n=e.content)||void 0===n?void 0:null===(s=n.properties)||void 0===s?void 0:s.sectionHeading;return(0,l.jsxs)("table",{"data-aos":"fade",className:"rate-card-tables__table",children:[c&&(0,l.jsx)("caption",{children:c}),(null==o?void 0:o.items)&&o.items.map((e,t)=>{var i,a,s,n,o,c,r,d,u,m;return"rateCardHeadingRow"==e.content.contentType?(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{children:null==e?void 0:null===(a=e.content)||void 0===a?void 0:null===(i=a.properties)||void 0===i?void 0:i.title}),null==e?void 0:null===(o=e.content)||void 0===o?void 0:null===(n=o.properties)||void 0===n?void 0:null===(s=n.columns)||void 0===s?void 0:s.map((e,t)=>(0,l.jsx)("th",{children:e},"thead-th-".concat(t)))]})},"thead-".concat(t)):(0,l.jsx)("tbody",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:null==e?void 0:null===(r=e.content)||void 0===r?void 0:null===(c=r.properties)||void 0===c?void 0:c.title}),null==e?void 0:null===(m=e.content)||void 0===m?void 0:null===(u=m.properties)||void 0===u?void 0:null===(d=u.columns)||void 0===d?void 0:d.map((e,t)=>(0,l.jsx)("td",{children:e},"tbody-td-".concat(t)))]},"rate-card-table-row-".concat(t))},"tbody-".concat(t))})]},"rate-card-table-".concat(t))})})})}),a&&(0,l.jsx)("div",{className:"container rate-card-tables__disclaimers",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"rich-text col-12",children:(0,o.ZP)(a.markup)})})})]})}catch(e){console.error(e)}},richTextBlock:function(e){try{var t,i,a,s,n,c,r;let d=(null==e?void 0:e.content)?(null==e?void 0:null===(s=e.content)||void 0===s?void 0:null===(a=s.properties)||void 0===a?void 0:a.text)?null==e?void 0:null===(r=e.content)||void 0===r?void 0:null===(c=r.properties)||void 0===c?void 0:c.text:(null==e?void 0:null===(n=e.content)||void 0===n?void 0:n.markup)?e.content:void 0:void 0;if(!d)return;let{topSpacing:u,bottomSpacing:m}=B.getSpacing(e.settings),h=e.newsArticle?"":"container",{fullWidth:v}=null!==(i=null===(t=e.settings)||void 0===t?void 0:t.properties)&&void 0!==i?i:{fillWidth:!1};return u=u||"none",m=m||"medium",(0,l.jsx)("section",{className:"rich-text block-top-padding-".concat(u," block-bottom-padding-").concat(m),children:(0,l.jsx)("div",{className:h,children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12 ".concat(v?"":"col-md-7"),children:(0,l.jsx)("div",{className:"rich-text__content",children:(0,o.ZP)(d.markup)})})})})})}catch(e){console.error(e)}},staffGridBlock:b,tabbedFaqBlock:_.default,testimonialCarouselBlock:k,textWithBackgroun
1dImageBlock:function(e){try{var t,i,a,s,n,r,d,u,m,h,v;let{topSpacing:p,bottomSpacing:x}=B.getSpacing(e.settings),g=new c.Z,{title:j,copy:f}=null!==(d=null===(t=e.content)||void 0===t?void 0:t.properties)&&void 0!==d?d:{title:"",copy:null},{theme:N,alignment:b,flair:_}=null!==(u=null===(i=e.settings)||void 0===i?void 0:i.properties)&&void 0!==u?u:{theme:null,alignment:"",flair:""},w=g.extractValue(null===(s=e.content)||void 0===s?void 0:null===(a=s.properties)||void 0===a?void 0:a.image),k=g.extractValue(null===(r=e.content)||void 0===r?void 0:null===(n=r.properties)||void 0===n?void 0:n.cta);return p=p||"medium",x=x||"medium",(0,l.jsxs)("section",{"data-aos":"left"==b?"fade-".concat(b):"fade-right",className:"background-image-text block-top-padding-".concat(p," block-bottom-padding-").concat(x),children:[_&&(0,l.jsx)("div",{className:"container background-image-text__flair background-image-text__flair--".concat(_)}),w&&(0,l.jsx)("img",{src:"".concat(w.url,"?width=1440"),alt:"",role:"presentation",className:"background-image-text__image"}),(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"left"==b?"col-12 col-lg-5":"col-12 col-lg-5 offset-lg-7",children:(0,l.jsxs)("div",{className:"background-image-text__content background-image-text__content--".concat(null!=N?N:"green"),children:[j&&(0,l.jsx)("h2",{className:"h3 rich-text",children:j}),f&&(0,o.ZP)(f.markup),k&&(0,l.jsx)("a",{className:"img-colour-text__cta-link button no-radius d-inline-block",href:k.route.path,title:null!==(m=k.name)&&void 0!==m?m:"Read more",target:null!==(h=k.target)&&void 0!==h?h:"_self",children:null!==(v=k.name)&&void 0!==v?v:"Read more"})]})})})})]})}catch(e){console.error(e)}},textWithImageIndentedBlock:function(e){try{var t,i,a,s,n,r,d;let{topSpacing:u,bottomSpacing:m}=B.getSpacing(e.settings),h=new c.Z,{copy:v}=null!==(n=null===(t=e.content)||void 0===t?void 0:t.properties)&&void 0!==n?n:{copy:null},{flair:p}=null!==(r=null===(i=e.settings)||void 0===i?void 0:i.properties)&&void 0!==r?r:{flair:""},x=h.extractValue(null===(s=e.content)||void 0===s?void 0:null===(a=s.properties)||void 0===a?void 0:a.image);return u=u||"medium",m=m||"medium",(0,l.jsx)("section",{"data-aos":"fade-left",className:"image-text-block block-top-padding-".concat(u," block-bottom-padding-").concat(m),children:(0,l.jsxs)("div",{className:"container",children:[p&&(0,l.jsx)("div",{className:"image-text-block__flair image-text-block__flair--".concat(p)}),(0,l.jsxs)("div",{className:"row d-md-flex align-items-center",children:[(0,l.jsx)("div",{className:"col-12 col-md-5",children:x&&(0,l.jsx)("img",{src:"".concat(x.url,"?width=550"),alt:null!==(d=x.alt)&&void 0!==d?d:"",className:"image-text-block__image",loading:"lazy"})}),(0,l.jsx)("div",{className:"col-12 col-md-6 offset-md-1",children:(0,l.jsx)("div",{className:"image-text-block__copy rich-text",children:v&&(0,o.ZP)(v.markup)})})]})]})})}catch(e){console.error(e)}},twinAwardPanelsBlock:function(e){let{topSpacing:t,bottomSpacing:i}=B.getSpacing(e.settings);if(!e.content||!e.content.properties)return(0,l.jsx)(l.Fragment,{});let{awards:a}=e.content.properties;if(a)return t=t||"medium",i=i||"medium",(0,l.jsx)("section",{"data-aos":"fade-up",className:"twin-award-panels block-top-padding-".concat(t," block-bottom-padding-").concat(i),children:(0,l.jsx)("div",{className:"container-fluid container-xxl",children:(0,l.jsx)("div",{className:"row",children:a&&(0,l.jsx)("div",{className:"col-12 twin-award-panels-list","data-length":a.length,children:a.items&&a.items.map((e,t)=>{let i=e.content.properties,a=function(e){var t;if(!e.callToAction)return;let i=new c.Z().extractValue(e.callToAction);if(null===(t=i.route)||void 0===t?void 0:t.path)return i}(i);return(0,l.jsx)("div",{className:"twin-award-panels-item",children:(0,l.jsxs)("div",{className:"twin-award-panels-item__inner",children:[(0,l.jsx)("span",{children:"Awards"}),(0,l.jsx)("h2",{className:"h1 twin-award-panels-item__title",children:i.title}),i.description&&i.description,a&&(0,l.jsxs)("div",{className:"twin-award-panels-item__link-copy",children:["Click"," ",(0,l.jsx)("a",{className:"link",href:a.route.path,children:"here"})," ","to read the full article."]})]})},"twin-award-item-".concat(t))})})})})})}};class B{getComponent(e){let t=e.content.contentType,i={content:e.content,settings:e.settings};if(Object.keys(y).includes(t))return a.createElement(y[t],i)}static getSpacing(e){let{topSpacing:t,bottomSpacing:i}=e.properties;return{topSpacing:t=t?t.toLowerCase():"medium",bottomSpacing:i=i?i.toLowerCase():"medium"}}}var C=i(5229);function S(e,t){return e.split(t)[1].slice(0,11)}function T(e){var t;let{topSpacing:i,bottomSpacing:a}=B.getSpacing(e.settings),{title:s,url:n}=e.content.properties;if(i=i||"none",a=a||"none",!n)return(0,l.jsx)(l.Fragment,{});let o=null!==(t=0==n.length?null:n.includes(".be/")?S(n,".be/"):n.includes("/embed/")?S(n,"/embed/"):n.includes("v=")?S(n,"v="):null)&&void 0!==t?t:"";return o?(0,l.jsxs)("section",{"data-aos":"fade-up",className:"embedded-video block-top-padding-".concat(i," block-bottom-padding-").concat(a),children:[s&&(0,l.jsx)("h2",{className:"h3",children:s}),(0,l.jsx)(C.ZP,{id:o,title:s,lazyLoad:!0,poster:"maxresdefault"})]}):(0,l.jsx)(l.Fragment,{})}},4533:function(e,t,i){"use strict";i.d(t,{default:function(){return r}});var l=i(7437),a=i(2265),s=i(7648),n=i(4573),o=i(9275),c=e=>{let[t,i]=(0,a.useState)(!1),c=new o.Z,{hideShowClass:r,headshot:d,name:u,jobTitle:m,biography:h,linkedin:v,phone:p,email:x}=e,g=()=>{i(!t)},j=c.extractValue(d);return(0,l.jsxs)("div",{className:"team-tile-list__tile"+r,children:[(0,l.jsxs)("button",{className:"team-tile-list__button button",onClick:()=>g(),children:[(0,l.jsx)("div",{className:"team-tile-list__image-container bc-light-navy","data-aos":"fade-up",children:(0,l.jsx)("img",{src:(null==j?void 0:j.url)+"?width=320&height=320",className:"team-tile-list__image",loading:"lazy",alt:""})}),(0,l.jsxs)("div",{className:"team-tile-list__content",children:[(0,l.jsx)("h3",{children:u}),(0,l.jsx)("p",{children:m}),(0,l.jsxs)("div",{className:"team-tile-list__contact",children:[p&&(0,l.jsx)("p",{children:p}),x&&(0,l.jsx)("p",{className:"team-tile-list__contact-email",children:x})]})]})]}),(0,l.jsx)("div",{className:"team-tile-list__modal modal fade ".concat(!0===t?"show":""),id:"staticBackdrop","data-bs-backdrop":"static","data-bs-keyboard":"false","aria-labelledby":"staticBackdropLabel","aria-hidden":"true",onClick:()=>g(),children:(0,l.jsx)("div",{className:"modal-dialog modal-fullscreen-sm-down",children:(0,l.jsxs)("div",{className:"modal-content",children:[(0,l.jsx)("div",{className:"modal-header",children:(0,l.jsx)("div",{className:"modal-header__inner",children:(0,l.jsx)("button",{type:"button",className:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",onClick:()=>g()})})}),(0,l.jsxs)("div",{className:"modal-body",children:[(0,l.jsxs)("div",{className:"modal-body__person-name",children:[(0,l.jsx)("h3",{children:u}),(0,l.jsx)("p",{className:"h3 tc-black",children:m})]}),(0,l.jsxs)("div",{className:"modal-body__content",children:[(0,l.jsx)("img",{src:(null==j?void 0:j.url)+"?width=320&height=320",className:"team-tile-list__modal-image",loading:"lazy",alt:"",width:"300",height:"300"}),(0,l.jsx)("div",{className:"rich-text",children:(0,n.ZP)(h.markup)}),v?(0,l.jsx)(s.default,{href:v,target:"_blank",children:(0,l.jsx)("img",{className:"modal-body__social-icon",src:"/assets/footer/linkedin-black.svg",loading:"lazy",alt:"LinkedIn"})}):(0,l.jsx)("span",{})]})]})]})})})]})};function r(e){let{tileData:t}=e;if(t)return(0,l.jsx)("div",{className:"team-tile-wrapper",children:(0,l.jsx)("div",{className:"container",children:(0,l.jsxs)("div",{className:"row",children:[(0,l.jsx)("div",{className:"col-12 col-md-6 col-lg-3","data-aos":"fade-up",children:(0,l.jsx)("h2",{children:e.title})}),(0,l.jsx)("div",{className:"col-12 col-md-6 col-lg-9",children:(0,l.jsxs)("div",{className:"team-tile-list",children:[(0,l.jsx)("div",{className:"team-tile-list__grid",children:t&&t.map((e,t)=>{var i,a,s,n,o,r;return(0,l.jsx)(c,{hideShowClass:!1,headshot:null==e?void 0:null===(i=e.properties)||void 0===i?void 0:i.headshot,name:null==e?void 0:e.name,jobTitle:null==e?void 0:null===(a=e.properties)||void 0===a?void 0:a.jobTitle,biography:null==e?void 0:null===(s=e.properties)||void 0===s?void 0:s.biography,linkedin:null==e?void 0:null===(n=e.properties)||void 0===n?void 0:n.linkedInUrl,phone:null==e?void 0:null===(o=e.properties)||void 0===o?void 0:o.phone,email:null==e?void 0:null===(r=e.properties)||void 0===r?void 0:r.email},(null==e?void 0:e.name)+t)})}),(0,l.jsx)("div",{className:"py-5 px-3 row text-center ".concat(t.length>6?"":" d-none")})]})})]})})})}},5824:function(e,t,i){"use strict";i.d(t,{default:function(){return n}});var l=i(7437),a=i(2265),s=i(4573);function n(e){let[t,i]=(0,a.useState)(!1),[n,o]=(0,a.useState)(0),[c,r]=(0,a.useState)(0);try{var d,u;let{tabs:a,introText:m}=null!==(u=null===(d=e.content)||void 0===d?void 0:d.properties)&&void 0!==u?u:{tabs:null,introText:""};if(!(null==a?void 0:a.items))return;let h=(e,l)=>{let a=e+l;t===a&&(a=!0),i(a)},v=e=>{o(e)},p=e=>{c===e&&(e=!0),r(e)},x=a.items.map((e,t)=>{var i,a;return(0,l.jsx)("button",{className:"nav-link button no-radius ".concat(n===t?"active":""),id:t,"data-bs-toggle":"pill","data-bs-target":"#"+t,type:"button",role:"tab","aria-controls":t,onClick:()=>v(t),children:(0,l.jsx)("div",{className:"esg-tabs__button-text",children:null==e?void 0:null===(a=e.content)||void 0===a?void 0:null===(i=a.properties)||void 0===i?void 0:i.title})},t)}),g=a.items.map((e,i)=>{var a,o,r,d,u;return(0,l.jsxs)("div",{className:"tab-pane fade show \n            ".concat(n===i?"active":""," \n            ").concat(c===i?"mob-active":""),id:i,role:"tabpanel","aria-labelledby":i,children:[(0,l.jsx)("h3",{className:"esg-tabs__tab-heading",children:(0,l.jsx)("button",{className:"button d-xl-none ".concat(c===i?"mob-active":""),id:i+"-tab-heading-btn",type:"button","data-bs-toggle":"pill","data-bs-target":"#"+i,"data-parent":i,"aria-expanded":"false","aria-controls":i,onClick:()=>p(i),children:null==e?void 0:null===(o=e.content)||void 0===o?void 0:null===(a=o.properties)||void 0===a?void 0:a.title})}),null==e?void 0:null===(u=e.content)||void 0===u?void 0:null===(d=u.properties)||void 0===d?void 0:null===(r=d.sections)||void 0===r?void 0:r.items.map((i,a)=>{var n,o,c,r,d,u,m;return(0,l.jsxs)("div",{className:"esg-tabs__details",children:[(0,l.jsx)("button",{className:"button esg-tabs__details-btn ".concat(t===a+a?"open":""),type:"button","data-bs-toggle":"collapse","data-bs-target":"#"+(null==e?void 0:null===(o=e.content)||void 0===o?void 0:null===(n=o.properties)||void 0===n?void 0:n.title)+"-detail","aria-expanded":"false","aria-controls":a,"data-tabidindex":a+a,onClick:()=>h(a,a),children:null==i?void 0:null===(r=i.content)||void 0===r?void 0:null===(c=r.properties)||void 0===c?void 0:c.title}),(0,l.jsx)("div",{className:"esg-tabs__details-content accordion-collapse collapse ".concat(t===a+a?"show":""),id:a+"-detail",children:(0,l.jsx)("div",{className:"esg-tabs__details-item",children:(0,l.jsx)("div",{className:"rich-text",children:(0,s.ZP)(null==i?void 0:null===(m=i.content)||void 0===m?void 0:null===(u=m.properties)||void 0===u?void 0:null===(d=u.copy)||void 0===d?void 0:d.markup)})},a)})]},a)})]},i)});return(0,l.jsxs)("div",{className:"container esg-tabs pt-5 pb-5",children:[m&&(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)("div",{className:"col-12 col-md-6 intro-text",children:[m,(0,l.jsx)("br",{})]})}),a&&(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)("div",{className:"esg-tabs__tabs",children:[(0,l.jsx)("div",{className:"nav d-none d-xl-flex align-items-start me-3 ",id:"solutionsTab",role:"tablist",children:x}),(0,l.jsx)("div",{className:"col-12 tab-content esg-tabs__content-container",id:"esg-tabContent",children:g})]})})]})}catch(e){console.error(e)}}},6380:function(e,t,i){"use strict";i.d(t,{default:function(){return o}});var l=i(7437),a=i(6406);function s(e){let{url:t}=e;return t&&t.endsWith(".svg")?(0,l.jsx)("img",{width:"400",height:"380",src:t,alt:""}):(0,l.jsx)("div",{className:"image-container",children:(0,l.jsx)("img",{width:"400",height:"380",src:t+"?width=400&height=380&mode=crop&bgcolor=fff",alt:""})})}var n=i(9275);function o(e){let{testimonialData:t}=e,i=new n.Z;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(a.Z,{adaptiveHeight:!0,dots:!0,centerMode:!0,infinite:!0,speed:1e3,slidesToShow:1,slidesPerRow:1,slidesToScroll:1,swipeToSlide:!1,autoplaySpeed:5e3,fade:!0,responsive:[{breakpoint:576,settings:{centerPadding:"24px"}}],appendDots:e=>(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col-12 col-md-4 offset-md-7",children:(0,l.jsx)("ul",{className:"testimonial-carousel__dots",children:e})})})}),children:t.map((e,t)=>{var a,n,o,c;let r=i.extractValue(null==e?void 0:null===(a=e.properties)||void 0===a?void 0:a.author),d=i.extractValue(null==r?void 0:null===(n=r.properties)||void 0===n?void 0:n.avatar);return(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)("div",{className:"row",children:[(0,l.jsx)("div",{className:"col-12 col-md-6 testimonial-carousel__image",children:(0,l.jsx)(s,{url:null==d?void 0:d.url})}),(0,l.jsxs)("div",{className:"rich-text col-12 col-md-4 offset-md-1 testimonial-carousel__content",children:[null===(o=e.properties)||void 0===o?void 0:o.quoteText,(0,l.jsx)("p",{className:"testimonial-carousel__author",children:null==r?void 0:null===(c=r.properties)||void 0===c?void 0:c.authorName})]})]})})},t)})})})}},8619:function(e,t,i){"use strict";var l=i(7437);t.Z=e=>{let{iconAlt:t,iconUrl:i,imageAlt:a,imageUrl:s,name:n,stats:o,tag:c,url:r}=e;return(0,l.jsxs)("div",{className:"case-study-card",children:[(0,l.jsx)("a",{href:r,title:n}),s&&(0,l.jsx)("div",{className:"case-study-card__image-wrapper",children:(0,l.jsx)("img",{src:"".concat(s,"?height=300&width=300&mode=crop"),alt:a&&a,loading:"lazy"})}),(0,l.jsxs)("div",{className:"case-study-card__content",children:[(0,l.jsxs)("div",{className:"case-study-card__header",children:[c&&(0,l.jsx)("span",{children:c}),i&&(0,l.jsx)("img",{src:i,alt:t&&t,loading:"lazy"})]}),(0,l.jsx)("h3",{className:"h4",children:n}),(0,l.jsxs)("div",{className:"case-study-card__footer",children:[o&&(0,l.jsx)("div",{className:"case-study-card__stats",children:o.map((e,t)=>(0,l.jsx)("span",{children:e},"case-study-card-stat-".concat(t)))}),(0,l.jsxs)("svg",{width:"33",height:"17",viewBox:"0 0 33 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("path",{d:"M24.833 1L31.4997 8.48727L24.833 16",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10"}),(0,l.jsx)("path",{d:"M31.5 8.50001L0 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10"})]})]})]})]})}},2836:function(e,t,i){"use strict";var l=i(7437),a=i(2265);t.default=e=>{let{modalOpen:t,autoPlay:i,className:s,width:n,height:o,mp4:c,poster:r}=e,[d,u]=(0,a.useState)(!1),m=(0,a.useRef)(null);return(0,a.useEffect)(()=>
1{if(!1==t){var e;null===(e=m.current)||void 0===e||e.pause();let t=document.querySelector("video");t&&(t.currentTime=0)}},[d,t,i]),(0,l.jsx)("div",{className:"video-player-container ".concat(d?"is-active":"not-active"),children:(0,l.jsxs)("video",{poster:r,preload:"auto",playsInline:!0,className:s,width:n,height:o,controls:!0,ref:m,onPlay:()=>{u(!d)},onPause:()=>{u(!d)},children:[(0,l.jsx)("source",{src:c,type:"video/mp4"}),"Your browser does not support the video tag."]})})}},8496:function(e,t){"use strict";t.Z={PRODUCTION:"production",DEVELOPMENT:"development"}},9275:function(e,t,i){"use strict";i.d(t,{Z:function(){return l}});class l{extractValue(e){return e?Array.isArray(e)?0==e.length?null:e[0]:e:null}getPageTitle(e){var t,i,l;return(null==e?void 0:e.name)?(null===(t=e.properties)||void 0===t?void 0:t.title)&&"string"==typeof(null===(i=e.properties)||void 0===i?void 0:i.title)?null==e?void 0:null===(l=e.properties)||void 0===l?void 0:l.title:e.name:null}}}}]);

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.