1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="25d31f77-72cb-4258-9fc3-4898ae97eeac",e._sentryDebugIdIdentifier="sentry-dbid-25d31f77-72cb-4258-9fc3-4898ae97eeac")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[52213],{1292:(e,t,i)=>{i.d(t,{A:()=>s});var n=i(95155),a=i(99992),l=i(11929),r=i(25619);let s={icon:()=>(0,n.jsx)(a.KuR,{}),label:"Custom Map",description:"Display a map.",initialConfig:function(){return{id:(0,l.A)(),elements:[],lat:51.4778,lng:-.0014,mapType:"leaflet"}},configSettings:[{label:"Map Type",description:"To use Google maps, you must ensure a valid Google Maps API key has been added in admin and your website's domain has been added to the allowed domains.",type:r.t.MultiOption,defaultValue:"leaflet",field:"mapType",options:[{label:"Leaflet",value:"leaflet"},{label:"Google",value:"google"}]},{label:"Latitude",description:"Latitude of marker.",type:r.t.Number,field:"lat"},{label:"Longitude",description:"Longitude of marker.",type:r.t.Number,field:"lng"}]}},1300:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(95155),a=i(99992),l=i(11929),r=i(25619),s=i(15695);let o={icon:()=>(0,n.jsx)(a.MmG,{}),label:"Staff",description:"Display a selection of staff.",initialConfig:function(){return{id:(0,l.A)(),elements:[{id:(0,l.A)(),type:s.RJ.Heading,html:"Our staff",level:2}],count:12,searchIds:[]}},configSettings:[{label:"Staff count",description:"Set a limit for the number of staff to display.",type:r.t.Slider,field:"count",sliderConfig:{min:1,max:12,step:1,defaultValue:12}}]}},1317:(e,t,i)=>{i.d(t,{A:()=>n});function n(e){return e.match(/($[a-z])|[A-Z][^A-Z]+/g)?.join(" ")||e}},5242:(e,t,i)=>{i.d(t,{A:()=>l});var n=i(12115),a=i(36993);function l(){let{themePreferences:e}=(0,n.useContext)(a.A);return e}},8420:(e,t,i)=>{i.r(t),i.d(t,{default:()=>u});var n=i(95155),a=i(80109),l=i(12115),r=i(11467),s=i(99992),o=i(33144),d=i(36228),c=i(71392),m=i(49348);function u(e){let{section:t,itemIdChain:i,elementIdChain:u}=e,{onOpenAddElement:A,onCloseAddElement:g,handleSetOnAdd:f}=(0,l.useContext)(m.A),h=(0,r.wA)(),p=(0,r.d4)(a.AX),b=e=>{let n=(0,o.A)(e,p);h((0,a.x)({nodeAddress:{areaName:t.areaName||"main",sectionId:t.id,itemIdChain:i,elementIdChain:u},field:"elements",data:[n]})),g()};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"admin:absolute admin:top-0 admin:left-0 admin:w-full admin:h-full admin:group admin:flex admin:justify-center admin:items-start",children:(0,n.jsxs)(c.A,{buttonType:"create",type:"button",className:(0,d.Q)("admin:mt-6 admin:w-fit admin:hidden admin:group-hover/page-section:flex admin:group-hover/section-item:flex admin:z-100"),onClick:()=>{f(b),A()},children:[(0,n.jsx)("span",{children:"Add Element"}),(0,n.jsx)(s._rf,{})]})})})}},15476:(e,t,i)=>{i.d(t,{A:()=>s});var n=i(95155),a=i(11929),l=i(25619),r=i(99992);let s={icon:()=>(0,n.jsx)(r.Z5q,{}),label:"Custom Pages",description:"Displays links to custom pages, filterable by category.",initialConfig:function(){return{id:(0,a.A)(),count:10,elements:[]}},configSettings:[{label:"Category",description:"Set the category to filter your page links by.",type:l.t.Text,field:"category"},{label:"Limit",description:"Set a limit for the number of page links to display.",type:l.t.Slider,field:"count",sliderConfig:{min:1,max:10,step:1,defaultValue:10}}]}},25758:(e,t,i)=>{i.d(t,{A:()=>n});function n(e){let{channel:t,tags:i,branchSlug:n,locationSlug:a}=e;return`${n||a||"/properties"}/${t}${(i?.length??0)>0?`/tag-${i}`:""}`}},26317:(e,t,i)=>{i.d(t,{Ay:()=>m,F7:()=>d,n8:()=>c});var n=i(95155),a=i(99992),l=i(25619),r=i(15695),s=i(11929);let o={icon:()=>(0,n.jsx)(a.wTn,{}),label:"Multi Item",description:"Displays a series of items that can each contain an image, heading, subheading and button. The specific elements that will render depend on the selected layout.",items:{limit:3},initialConfig:function(){return{id:(0,s.A)(),variant:"boxes",columns:4,items:[{...d(0),id:(0,s.A)()},{...d(1),id:(0,s.A)()},{...d(2),id:(0,s.A)()},{...d(3),id:(0,s.A)()}],elements:[]}},configSettings:[{label:"Max Columns",description:"Configure the max number of columns to display the items.",field:"columns",type:l.t.Slider,defaultValue:"4",sliderConfig:{min:1,max:5,step:1,defaultValue:4}}]},d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return{id:(0,s.A)(),elements:[{id:(0,s.A)(),type:r.RJ.Heading,html:"Heading",level:2},{id:(0,s.A)(),type:r.RJ.Heading,html:"Subheading",level:3}],containerWidth:r.O2.Large,image:{src:`/images/item-default-${e}.jpg`,alt:"",hidden:!1},link:{html:"Link button",target:"_self",url:"",hidden:!1}}},c=[{label:"Image",type:l.t.Image,field:"image"},{label:"Link Target",description:"Set the target of your link to open in the same tab or a new tab.",type:l.t.MultiOption,field:"link.target",options:[{label:"Same tab",value:"_self"},{label:"New tab",value:"_blank"}]},{label:"Link URL",description:"Set the URL for your link.",field:"link.url",type:l.t.Text}],m=o},26497:(e,t,i)=>{i.d(t,{N:()=>x});var n=i(95155),a=i(12115),l=i(60296),r=i(94416),s=i(86553),o=i(59686),d=i(81402),c=i(53127);function m(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class u extends a.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,
1i=(0,d.s)(e)&&e.offsetWidth||0,n=(0,d.s)(e)&&e.offsetHeight||0,a=this.props.sizeRef.current;a.height=t.offsetHeight||0,a.width=t.offsetWidth||0,a.top=t.offsetTop,a.left=t.offsetLeft,a.right=i-a.width-a.left,a.bottom=n-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function A(e){let{children:t,isPresent:i,anchorX:l,anchorY:r,root:s,pop:o}=e,d=(0,a.useId)(),A=(0,a.useRef)(null),g=(0,a.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:f}=(0,a.useContext)(c.Q),h=function(...e){return a.useCallback(function(...e){return t=>{let i=!1,n=e.map(e=>{let n=m(e,t);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let t=0;t<n.length;t++){let i=n[t];"function"==typeof i?i():m(e[t],null)}}}}(...e),e)}(A,t.props?.ref??t?.ref);return(0,a.useInsertionEffect)(()=>{let{width:e,height:t,top:n,left:a,right:c,bottom:m}=g.current;if(i||!1===o||!A.current||!e||!t)return;let u="left"===l?`left: ${a}`:`right: ${c}`,h="bottom"===r?`bottom: ${m}`:`top: ${n}`;A.current.dataset.motionPopId=d;let p=document.createElement("style");f&&(p.nonce=f);let b=s??document.head;return b.appendChild(p),p.sheet&&p.sheet.insertRule(` 2 [data-motion-pop-id="${d}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${u}px !important; 7 ${h}px !important; 8 } 9 `),()=>{b.contains(p)&&b.removeChild(p)}},[i]),(0,n.jsx)(u,{isPresent:i,childRef:A,sizeRef:g,pop:o,children:!1===o?t:a.cloneElement(t,{ref:h})})}let g=e=>{let{children:t,initial:i,isPresent:l,onExitComplete:s,custom:d,presenceAffectsLayout:c,mode:m,anchorX:u,anchorY:g,root:h}=e,p=(0,r.M)(f),b=(0,a.useId)(),x=!0,v=(0,a.useMemo)(()=>(x=!1,{id:b,initial:i,isPresent:l,custom:d,onExitComplete:e=>{for(let t of(p.set(e,!0),p.values()))if(!t)return;s&&s()},register:e=>(p.set(e,!1),()=>p.delete(e))}),[l,p,s]);return c&&x&&(v={...v}),(0,a.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[l]),a.useEffect(()=>{l||p.size||!s||s()},[l]),t=(0,n.jsx)(A,{pop:"popLayout"===m,isPresent:l,anchorX:u,anchorY:g,root:h,children:t}),(0,n.jsx)(o.t.Provider,{value:v,children:t})};function f(){return new Map}var h=i(75601);let p=e=>e.key||"";function b(e){let t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&t.push(e)}),t}let x=e=>{let{children:t,custom:i,initial:o=!0,onExitComplete:d,presenceAffectsLayout:c=!0,mode:m="sync",propagate:u=!1,anchorX:A="left",anchorY:f="top",root:x}=e,[v,j]=(0,h.xQ)(u),y=(0,a.useMemo)(()=>b(t),[t]),C=u&&!v?[]:y.map(p),w=(0,a.useRef)(!0),S=(0,a.useRef)(y),E=(0,r.M)(()=>new Map),N=(0,a.useRef)(new Set),[M,I]=(0,a.useState)(y),[W,R]=(0,a.useState)(y);(0,s.E)(()=>{w.current=!1,S.current=y;for(let e=0;e<W.length;e++){let t=p(W[e]);C.includes(t)?(E.delete(t),N.current.delete(t)):!0!==E.get(t)&&E.set(t,!1)}},[W,C.length,C.join("-")]);let B=[];if(y!==M){let e=[...y];for(let t=0;t<W.length;t++){let i=W[t],n=p(i);C.includes(n)||(e.splice(t,0,i),B.push(i))}return"wait"===m&&B.length&&(e=B),R(b(e)),I(y),null}let{forceRender:k}=(0,a.useContext)(l.L);return(0,n.jsx)(n.Fragment,{children:W.map(e=>{let t=p(e),a=(!u||!!v)&&(y===W||C.includes(t));return(0,n.jsx)(g,{isPresent:a,initial:(!w.current||!!o)&&void 0,custom:i,presenceAffectsLayout:c,mode:m,root:x,onExitComplete:a?void 0:()=>{if(N.current.has(t)||(N.current.add(t),!E.has(t)))return;E.set(t,!0);let e=!0;E.forEach(t=>{t||(e=!1)}),e&&(k?.(),R(S.current),u&&j?.(),d&&d())},anchorX:A,anchorY:f,children:e},t)})})}},27696:(e,t,i)=>{i.d(t,{default:()=>x});var n=i(95155),a=i(11467),l=i(80109),r=i(99992),s=i(1317),o=i(58850),d=i(90259),c=i(36228);function m(e){let{children:t,section:i,isSelected:a,isHighlighted:l,editMode:r=!1,className:s}=e,o=(e,t)=>{if(t===d.aS.None)return"";let i=t===d.aS.Small?2:4;return`-m${e}-${i} md:-m${e}-${3*i}`};return(0,n.jsx)("div",{className:(0,c.Q)("relative",r&&"admin:group/page-section admin:hover:outline-1 admin:hover:outline-hf-button-blue",a&&r&&"admin:outline-2 admin:hover:outline-2 admin:outline-hf-button-blue admin:hover:outline-hf-button-blue admin:outline-offset-1",l&&"outline outline-2 outline-dotted admin:outline-hf-orange",(()=>{let e=i.configuration.overlapTop||d.aS.None,t=i.configuration.overlapBottom||d.aS.None;return e===t?o("y",e):`${o("t",e)} ${o("b",t)}`})(),s),id:i.id,children:t})}function u(e){let{children:t,className:i="",editMode:a=!1,section:l,globalConfig:d,isSelected:c=!1,AddElement:u,RemoveSection:A,ManageSections:g,isOverride:f=!1,hasOverride:h=!1,isHighlighted:p=!1,...b}=e;return(0,n.jsxs)(m,{section:l,isSelected:c,editMode:a,isHighlighted:p,children:[u&&!l.configuration.elements?.length&&(0,n.jsx)(u,{section:l}),c&&a&&(0,n.jsxs)("div",{className:"admin:absolute admin:z-40 admin:-top-5 admin:-left-[3px] admin:flex admin:flex-row",children:[(0,n.jsx)("div",{className:"admin:bg-hf-button-blue admin:text-white admin:text-xs admin:px-2 admin:py-px admin:rounded-tr admin:rounded-tl",style:{fontFamily:"var(--font-admin)"},children:l.name?l.name:(0,s.A)(l.component)}),l.sharedSection&&(0,n.jsxs)("div",{title:"This section is shared and may be used on other pages.",className:"admin:flex admin:gap-1 admin:items-center admin:bg-hf-create admin:z-40 admin:text-white admin:text-xs admin:px-2 admin:py-px admin:rounded-tr admin:rounded-tl",style:{fontFamily:"var(--font-admin)"},children:[(0,n.jsx)(r.xl,{}),"Shared"]}),f&&(0,n.jsxs)("div",{title:"This section overrides the original one on the shared page.",className:"admin:flex admin:gap-1 admin:items-center admin:bg-hf-action admin:z-40 admin:text-white admin:text-xs admin:px-2 admin:py-px admin:rounded-tr admin:rounded-tl",style:{fontFamily:"var(--font-admin)"},children:[(0,n.jsx)(r.KOO,{}),"Override"]}),h&&!f&&(0,n.jsxs)("div",{title:"This section is being overridden by at least one other agency. Deleting it will also delete the overrides.",className:"admin:flex admin:gap-1 admin:items-center admin:bg-hf-destroy admin:z-40 admin:text-white admin:text-xs admin:px-2 admin:py-px admin:rounded-tr admin:rounded-tl",style:{fontFamily:"var(--font-admin)"},children:[(0,n.jsx)(r.GUg,{}),"Has Overrides"]})]}),(0,n.jsx)("section",{id:`section-${l.id}`,className:"admin:relative admin:overflow-x-clip overflow-x-clip relative",...b,title:a&&"Drag to reorder this section"||void 0,style:{zIndex:l.configuration.zIndex??0},children:t}),A&&(0,n.jsx)(A,{id:l.id,areaName:l.areaName}),g&&(0,n.jsx)(g,{section:l}),l.configuration.customCss&&(0,n.jsx)(o.A,{sectionId:l.id,customCss:l.configuration.customCss})]})}var A=i(8420),g=i(26269);function f(e){let{section:t}=e;return(0,n.jsx)("div",{className:"manage-sections editmode admin:opacity-0 admin:group-hover/page-section:opacity-100 admin:transition-all admin:duration-300 admin:absolute admin:left-1/2 admin:-translate-x-1/2 admin:-bottom-5 z-120 admin:text-gray-800 admin:flex admin:flex-row admin:gap-3",children:(0,n.jsx)("div",{className:"admin:group/add admin:cursor-pointer",children:(0,n.jsx)(g.Ay,{section:t,areaName:t.areaName})})})}var h=i(22670),p=i(74903),b=i(77258);function x(e){let{Component:t,section:i,children:r,...s}=e,o=(0,a.d4)(l.TE)?.address?.sectionId===i.id,{highlightedId:d}=(0,b.O)(),c=(0,a.d4)((0,l.xV)(i.areaName,i.id)),m=(0,a.d4)(l.D6),g=(0,a.d4)(l.AX),x=(0,p.A)(),v=function(){let e=(0,a.d4)(l.Hx);return function(t){return t?t?.replace(/\{\{\s*(.+?)\s*\}\}/g,function(t,i){return e?.[i]||`[missing variable: ${i}]`}):""}}(),j=(0,a.d4)(l.bu),y=JSON.parse(JSON.stringify({...c,areaName:i.areaName})),C=i.configuration.variant?i.configuration.variantSettings?.[i.configuration.variant]:null;return C&&(y={...y,configuration:{...y.configuration,...C}}
9),y.configuration?.elements.forEach(e=>{e.html&&(e.html=v(e.html))}),y.configuration?.items?.forEach(e=>{e.elements?.forEach(e=>{e.html&&(e.html=v(e.html))})}),(0,n.jsx)(u,{section:y,globalConfig:g,isSelected:o,editMode:s.editMode,AddElement:A.default,RemoveSection:h.default,ManageSections:f,isOverride:!!m,hasOverride:j,isHighlighted:d===i.id,children:r({editMode:s.editMode,isSelected:o,section:y,globalConfig:g,agency:x})})}},35012:(e,t,i)=>{i.d(t,{A:()=>n});function n(e){let t="grid grid-cols-1";switch(e){case 1:t=`${t} @md:grid-cols-1`;break;case 2:t=`${t} @md:grid-cols-2`;break;case 3:t=`${t} @md:grid-cols-2 @lg:grid-cols-3`;break;case 4:default:t=`${t} @md:grid-cols-2 @lg:grid-cols-4`;break;case 5:t=`${t} @md:grid-cols-2 @lg:grid-cols-5`}return t}},36348:(e,t,i)=>{i.d(t,{A:()=>n});function n(e,t){return[...e.map(e=>t.find(t=>t?.id===e)).filter(e=>void 0!==e),...t.filter(t=>t.id&&!e.includes(t.id))]}},37995:(e,t,i)=>{i.d(t,{S:()=>n});function n(e){return JSON.stringify({search:{channel:e.channel||"sales",...e.branchId&&{branch_id:e.branchId},tags:e.tags?.split(",")?.map(e=>e.trim()),...e.sort&&{sort:e.sort},...e.status&&{status:e.status},...e.brandedPropertiesOnly&&{branded_properties_only:!0},...e.placeId&&{place:{id:e.placeId}}},pageSize:e.count||12})}},41422:(e,t,i)=>{i.d(t,{A:()=>a});var n=i(30926);let a=(0,n.createServerReference)("40d2dbb0d07ed6b0f8ff22c8152ca16596627f08a1",n.callServer,void 0,n.findSourceMapURL,"submitValuationLead")},42681:(e,t,i)=>{i.d(t,{A:()=>l,_:()=>a});var n=i(12115),a=function(e){return e[e.Loading=0]="Loading",e[e.SignedOut=1]="SignedOut",e[e.SignedIn=2]="SignedIn",e}({});let l=(0,n.createContext)({currentUser:null,setCurrentUser:e=>null,currentUserStatus:0,setCurrentUserStatus:e=>null})},44897:(e,t,i)=>{i.d(t,{A:()=>s});var n=i(95155),a=i(99992),l=i(11929),r=i(15695);let s={icon:()=>(0,n.jsx)(a.f5q,{}),label:"Social",description:"Links to share your page with social media",initialConfig:function(){return{id:(0,l.A)(),elements:[{id:(0,l.A)(),type:r.RJ.Text,html:"Share this page:"}]}},configSettings:[]}},51631:(e,t,i)=>{i.d(t,{A:()=>n});let n=(0,i(12115).createContext)({propertiesPages:new Map,setPropertiesPages:e=>null,setPropertiesFromArray:e=>null,results:[],pagination:null,setPropertiesPagination:e=>null,lastSearchString:null,setLastSearchString:e=>null,savedProperties:[],setSavedProperties:e=>null,addSavedProperty:async()=>1,removeSavedProperty:async()=>1})},58850:(e,t,i)=>{i.d(t,{A:()=>a});var n=i(95155);function a(e){let{sectionId:t,customCss:i}=e,a=i.replace(/(^(?:\s|[^@{])*?|[},]\s*)(\/\/.*\s+|.*\/\*[^*]*\*\/\s*|@media.*{\s*|@font-face.*{\s*)*([.#]?-?[_a-zA-Z]+[_a-zA-Z0-9-]*)(?=[^}]*{)/g,`$1$2 #section-${t} $3`);return(0,n.jsx)("style",{children:` 10 ${a} 11 `})}},64246:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(95155),a=i(99992),l=i(11929),r=i(25619),s=i(15695);let o={icon:()=>(0,n.jsx)(a.ESb,{}),label:"Calculator",description:"Calculate mortgages or stamp duty rates.",initialConfig:function(){return{id:(0,l.A)(),elements:[{...{id:(0,l.A)(),type:s.RJ.Heading,level:2,html:'<span style="font-size: 36px;">Calculator</span>'}}]}},configSettings:[{label:"Stamp duty country",description:"Select the country rates or display select dropdown for: England, Scotland and Wales rates.",type:r.t.Select,options:[{value:"England",label:"England"},{value:"Scotland",label:"Scotland"},{value:"Wales",label:"Wales"},{value:"all",label:"All"}],defaultValue:"England",field:"country"}]}},66984:(e,t,i)=>{i.d(t,{A:()=>f});var n=i(95155),a=i(80109),l=i(9953),r=i(12115),s=i(11467),o=i(36228),d=i(8420),c=i(69925),m=i(94365),u=i(51012),A=i(92851),g=i(77258);function f(e){let{children:t,item:i,itemIdChain:f,section:h,className:p,defaultInitialItem:b,hideControls:x=!1,disableSelectOnClick:v=!1}=e,{highlightedId:j}=(0,g.O)(),{reportClick:y}=(0,r.useContext)(A.A),{menuPosition:C,openMenu:w,closeMenu:S}=(0,m.E)(),E=(0,s.d4)(a.V3),N=(0,s.d4)(a.ms),M=(0,s.wA)(),I=(0,r.useMemo)(()=>({areaName:h.areaName,sectionId:h.id,itemIdChain:f}),[f,h.areaName,h.id]),W=(0,s.d4)((0,a.tt)(I)),R=f?W.findIndex(e=>e.id===i.id):-1,B=(0,r.useCallback)(e=>{e.stopPropagation(),y(),M((0,a.td)({address:{areaName:h.areaName||"main",sectionId:h.id,itemIdChain:f}}))},[M,f,y,h.areaName,h.id]),k=(0,r.useCallback)((e,t)=>{e.stopPropagation(),y();let i="prev"===t?R-1:R+1;M((0,a.A5)({nodeAddress:I,moveTo:i}))},[I,M,y,R]),T=(0,r.useCallback)(()=>{M((0,a.B5)({parentNodeAddress:(0,l.l2)(I),afterItemId:I.itemIdChain[I.itemIdChain.length-1],item:b}))},[I,b,M]),L=(0,r.useCallback)(()=>{M((0,a.AC)({nodeAddress:I}))},[I,M]);return N?(0,n.jsx)(n.Fragment,{children:t}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:(0,o.Q)("admin:group/section-item admin:hover:outline admin:hover:outline-hf-button-blue admin:group/item-base admin:relative",E?.id===i.id&&"admin:relative admin:outline-hf-button-blue admin:outline-2 admin:hover:outline-2",j===i.id&&"admin:outline admin:outline-2 admin:outline-dotted admin:outline-hf-orange",p),onClick:v?void 0:e=>B(e),onContextMenu:w,children:[!i.elements?.length&&(0,n.jsx)(d.default,{section:h,itemIdChain:f}
11),t,!x&&(0,n.jsx)("div",{className:"admin:hidden admin:group-hover/item-base:flex admin:w-full admin:absolute admin:justify-center admin:-top-6",children:(0,n.jsx)(c.A,{onReorder:k,onAdd:T,onDelete:L,disablePrev:0===R,disableNext:R===W.length-1,className:"admin:bg-blue-700",controlType:"item"})})]}),(0,n.jsx)(u.A,{address:I,menuPosition:C,onClose:S})]})}},78066:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(95155),a=i(99992),l=i(25619),r=i(11929),s=i(15695);let o={icon:()=>(0,n.jsx)(a.MMR,{}),label:"Branches",description:"Display your company's branches, with links to their pages. You can choose to display them in a grid, a list or on a map.",initialConfig:function(){return{id:(0,r.A)(),elements:[{id:(0,r.A)(),type:s.RJ.Heading,html:"Our Branches",level:2,color:""}],variant:"grid",selectedBranches:[]}},configSettings:[{label:"Variant",type:l.t.Select,options:[{value:"grid",label:"grid"},{value:"list",label:"list"},{value:"map",label:"map"}],field:"variant"}]}},78636:(e,t,i)=>{i.d(t,{Ay:()=>c,X8:()=>o,cZ:()=>s,f1:()=>d});var n=i(95155),a=i(99992),l=i(15695),r=i(11929);let s={mobile:{gap:"4"},desktop:{gap:"20",justifyContent:"between",direction:"row"}},o=()=>({id:(0,r.A)(),elements:[{id:(0,r.A)(),type:l.RJ.Image,image:{src:"/images/hero-default-0.jpg",alt:"House at twilight",width:200,height:200}},{id:(0,r.A)(),type:l.RJ.Image,image:{src:"/images/hero-default-0.jpg",alt:"House at twilight",width:200,height:200}},{id:(0,r.A)(),type:l.RJ.Image,image:{src:"/images/hero-default-0.jpg",alt:"House at twilight",width:200,height:200}}]}),d=e=>({id:(0,r.A)(),elements:[{id:(0,r.A)(),type:l.RJ.Text,html:e}],containerWidth:l.O2.Large,items:[{id:(0,r.A)(),elements:[{id:(0,r.A)(),type:l.RJ.Text,html:"<h1>Title</h1><p>Curabitur et vulputate nunc. Vivamus ultrices enim ac nisi fringilla fringilla. Aenean posuere est urna, quis tristique leo euismod sit amet. Morbi sollicitudin vulputate iaculis. Nunc fringilla rutrum venenatis.</p><p> Aenean et massa nec libero consectetur mollis ac non nulla. Curabitur in fermentum justo, at luctus magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Aliquam velit est, dapibus eu pretium ac, condimentum a neque.</p>"},{id:(0,r.A)(),type:l.RJ.Image,image:{src:"/images/hero-default-0.jpg",alt:"House at twilight",width:200,height:200}}]},o()]}),c={icon:()=>(0,n.jsx)(a.wTn,{}),label:"Tabbed Content",description:"Displays a series of tabs that each can contain multiple rows of elements.",items:{limit:6,items:{limit:10}},initialConfig:function(){return{id:(0,r.A)(),items:[d("First tab"),d("Second tab"),d("Third tab")],containerWidth:l.O2.Large,elements:[]}},configSettings:[],defaultLayoutConfig:{itemElements:s}}},83257:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(95155),a=i(99992),l=i(25619),r=i(11929),s=i(15695);let o={icon:()=>(0,n.jsx)(a.v57,{}),label:"Articles",description:"Display a selection of articles.",initialConfig:function(){return{id:(0,r.A)(),elements:[{id:(0,r.A)(),type:s.RJ.Heading,html:"Recent News",level:2}],layout:"list",count:3}},configSettings:[{label:"Variant",type:l.t.Select,options:[{value:"list",label:"list"},{value:"grid",label:"grid"}],field:"variant"},{label:"Article count",description:"Set a limit for the number of articles to display.",type:l.t.Slider,field:"count",sliderConfig:{min:1,max:12,step:1,defaultValue:3}},{label:"Article Topics",description:"A comma-separated list of topics to filter articles by. E.g. buying,selling,marketing",type:l.t.MultiTextInput,field:"topics"}]}},83294:(e,t,i)=>{i.r(t),i.d(t,{default:()=>m});var n=i(95155),a=i(36228),l=i(12115),r=i(67909),s=i(92997),o=i(5242),d=i(2344);let c=(0,r.default)(()=>Promise.all([i.e(26128),i.e(44804),i.e(21761),i.e(63818),i.e(85127),i.e(58484)]).then(i.bind(i,13722)),{loadableGenerated:{webpack:()=>[13722]},ssr:!1,loading:()=>(0,n.jsx)("div",{className:"bg-gray-300 w-full h-full",children:(0,n.jsx)(s.A,{})})});function m(e){let{className:t,editMode:i=!1,marker:r,section:s,polygon:m,areas:u,center:A,globalConfig:g}=e,f=(0,o.A)(),{ref:h,loaded:p}=(0,d.I)(),b=(0,l.useMemo)(()=>s?.configuration.mapType==="google"&&f?.googleMapsApiKey?"google":"leaflet",[f?.googleMapsApiKey,s?.configuration.mapType]),x=r?[{...r,id:1}]:[];return(0,n.jsx)("div",{className:(0,a.Q)("h-[500px]",t),ref:h,children:p&&(0,n.jsx)(c,{markers:x,mapType:b,editMode:i,center:A,globalConfig:g,encodedPolygon:m,areas:u})})}},83522:(e,t,i)=>{i.r(t),i.d(t,{default:()=>g});var n=i(95155),a=i(12115),l=i(36489),r=i(30926);let s=(0,r.createServerReference)("40cf8623797ea56c52b1adbba6ae2937f8daef6e56",r.callServer,void 0,r.findSourceMapURL,"default"),o=(0,r.createServerReference)("409a78c117c3b70b173ecee80f9d1eb2984233069b",r.callServer,void 0,r.findSourceMapURL,"default");
11var d=i(12008),c=i(36228),m=i(89296),u=i(51631),A=i(98980);function g(e){let{propertyId:t,channel:i,className:r,savedInner:g,loadingInner:f,onAdd:h,children:p}=e,{data:b}=(0,l.useSession)(),{isDemo:x}=(0,A.A)(t?.toString()),{addSavedProperty:v,removeSavedProperty:j,savedProperties:y}=(0,a.useContext)(u.A),[C,w]=(0,a.useTransition)();if(x)return(0,n.jsx)("div",{className:(0,c.Q)("saved-property-button",r),children:p});let S=!!y?.find(e=>e===t);async function E(){S?w(()=>{t&&o(+t).then(e=>{if(e.error)return void d.oR.error("Sorry, there was an error removing the property");j({propertyId:+t,local:!1}),d.oR.success("Property removed")})}):w(()=>{t&&s(+t).then(e=>{if(e.error)return void d.oR.error("Sorry, there was an error saving the property");v({propertyId:+t,local:!1}),h?h():d.oR.success("Property saved")})})}async function N(e){e.preventDefault(),b?.bearerToken?E():function(){if(S&&t){j({propertyId:+t}),d.oR.success("Property removed");return}t&&(v({propertyId:+t}),h?h():d.oR.success("Property saved"))}()}return C&&f?(0,n.jsx)("button",{type:"button",className:(0,c.Q)("saved-property-button",r),children:f}):(0,n.jsx)(m.default,{fallback:(0,n.jsx)("div",{className:(0,c.Q)("saved-property-button",r),children:p}),children:(0,n.jsx)("button",{type:"button",className:(0,c.Q)("saved-property-button",r),onClick:N,children:S?g:p})})}},92997:(e,t,i)=>{i.d(t,{A:()=>l});var n=i(95155),a=i(79912);function l(){return(0,n.jsx)("div",{className:"absolute left-0 top-0 z-10 flex justify-center items-center w-full h-full backdrop-blur-md bg-white/30",children:(0,n.jsx)(a.A,{className:"h-12 w-12 text-gray-400"})})}},95960:(e,t,i)=>{i.d(t,{A:()=>c,y:()=>d});var n=i(95155),a=i(99992),l=i(11929),r=i(15695),s=i(25619);let o=e=>({id:(0,l.A)(),image:{src:`/images/hero-default${e?`-${e}`:""}.jpg`,alt:"Alternate text"},elements:[{id:(0,l.A)(),type:r.RJ.Heading,html:"Slide caption",level:1}]}),d=e=>()=>({id:(0,l.A)(),elements:[{id:(0,l.A)(),type:r.RJ.Heading,html:"Main Heading",level:1}],variant:"sectionText",overlayOpacity:.4,containerWidth:r.O2.Full,paddingTop:0,paddingBottom:0,transition:"slide",delay:3,items:[{...o(0),id:(0,l.A)()},{...o(1),id:(0,l.A)()},{...o(2),id:(0,l.A)()}],height:r.Dy.Large,...e&&{...e}}),c={icon:()=>(0,n.jsx)(a.Sm0,{}),label:"Image Carousel",description:"Display a slideshow of images with optional elements on top.",items:{limit:3},initialConfig:d({}),configSettings:[{label:"Variant",description:"Choose between a carousel with a single set of text elements or a carousel with different text applied to each slide.",type:s.t.Select,options:[{value:"sectionText",label:"Section Text"},{value:"slideText",label:"Slide Text"}],field:"variant"},{label:"Slide delay",description:"Set a time in seconds between slide changes.",field:"delay",type:s.t.NumberSlider,sliderConfig:{min:1,max:10,step:1,defaultValue:3}},{label:"Overlay Opacity",description:"Set the opacity of the image overlay which can make text stand out against brighter images. Setting this to 0 will remove the overlay effect.",type:s.t.Slider,field:"overlayOpacity",sliderConfig:{min:0,max:1,step:.1}},{label:"Images",itemLabel:"Slide",description:"The slides for your carousel.",type:s.t.Array,field:"items",defaultArrayItem:o(),configSettings:[{label:"Image",description:"Change the image for this slide.",type:s.t.Image,field:"image"},{label:"",description:"Choose an alternative image for mobile devices. Please note that this will not render in the admin preview, only on your website.",type:s.t.MobileImage,field:"mobileImage"}]},{label:"Image Height",description:"Set the height of your image carousel.",type:s.t.Select,defaultValue:"medium",field:"height",options:[{label:"Small",value:r.Dy.Small},{label:"Medium",value:r.Dy.Medium},{label:"Large",value:r.Dy.Large}]}]}},98707:(e,t,i)=>{i.r(t),i.d(t,{default:()=>tv});var n=i(95155),a=i(12115),l=i(83693),r=i.n(l),s=i(27696),o=i(52619),d=i.n(o),c=i(20775),m=i(36228),u=i(55076),A=i(24140),g=i(31062);function f(e){let{title:t,slug:i,topics:a,image:l,displayDate:r,promo:s,className:o="",priority:f=!1,imageConfig:h,articleShowSegment:p="articles",...b}=e;return(0,n.jsx)(d(),{href:`/${p}/${i}`,title:`${t}`,...b,children:(0,n.jsx)("div",{className:"relative h-full",children:(0,n.jsxs)("div",{className:(0,m.Q)("rigel-article-card relative bg-white flex flex-col justify-stretch group/card w-full h-full",o),children:[(0,n.jsxs)("div",{className:"relative h-72",children:[!!a&&a.length>0&&(0,n.jsx)("div",{className:"bg-white text-primary center py-2 w-36 font-bold uppercase absolute top-0 left-0 z-10 text-base text-center",children:a.join(", ")}),l?(0,n.jsx)(c.A,{className:"object-cover w-full bg-gray-200 h-full",src:l,alt:t||"",fill:!0,placeholder:"blur",blurDataURL:u.A,priority:f,sizes:"(max-width: 384px) 100vw, 33vw",...h?.sizes&&{sizes:h.sizes}}):(0,n.jsx)(A.A,{})]}),(0,n.jsx)("div",{className:"grow p-6 bg-grey-striped",children:(0,n.jsxs)("div",{className:"relative h-full flex flex-col justify-between",children:[(0,n.jsx)(g.default,{level:2,className:"text-primary-text",children:t}),(0,n.jsxs)("div",{className:"relative h-full flex flex-col justify-end",children:[(0,n.jsx)("div",{className:"text-base font-medium mb-3.5",children:r}),(0,n.jsx)("div",{className:"mb-7",children:s}),(0,n.jsx)("div",{className:"underline font-bold text-base cursor-pointer uppercase",children:"Read Article"})]})]})})]})})})}function h(e){let{articles:t,globalConfig:i}=e;return(0,n.jsx)("div",{className:"grid grid-cols-1 @sm:grid-cols-2 @md:grid-cols-3 gap-10 w-full",children:t?.map(e=>(0,n.jsx)(f,{image:e?.promoImage||void 0,title:e?.title||void 0,slug:e?.slug||void 0,displayDate:e?.displayDate||void 0,promo:e?.promo||void 0,articleShowSegment:i?.urls?.article},e.id))})}function p(e){let{articles:t,globalConfig:i}=e;return(0,n.jsx)("div",{className:"flex flex-col gap-5",children:t?.map(e=>(0,n.jsx)(f,{image:e?.promoImage||void 0,title:e?.title||void 0,slug:e?.slug||void 0,displayDate:e?.displayDate||void 0,promo:e?.promo||void 0,articleShowSegment:i?.urls?.article},e.id))})}var b=i(86690),x=i(20054),v=i(76552),j=i(53613);function y(e){let{editMode:t,section:i,articles:a,globalConfig:l,SectionElementWrapper:r}=e;
11return(0,n.jsxs)(x.A,{section:i,containerWidthClasses:v.containerWidthClasses,containerWidth:i.configuration.containerWidth,children:[(0,n.jsxs)("div",{className:"flex flex-row justify-between",children:[(0,n.jsx)(j.A,{className:"mb-8",editMode:t,SectionElement:b.A,section:i,baseClassName:"rigel-articles",SectionElementWrapper:r,globalConfig:l}),(0,n.jsx)("div",{children:(0,n.jsx)(d(),{prefetch:!1,href:`/${l?.urls?.articleList||"articles"}`,className:"text-primary text-2xl mt-2",children:"View all"})})]}),"list"===i.configuration.variant?(0,n.jsx)(p,{articles:a,globalConfig:l}):(0,n.jsx)(h,{articles:a,globalConfig:l})]})}var C=i(38370),w=i(12008);let S=(0,a.memo)(function(e){let{section:t,...i}=e,[l,o]=(0,a.useState)([]),d=(0,a.useCallback)(r()(e=>{let{count:t,topics:i}=e;!async function(){try{let e={pageSize:t||3,...i&&{topics:i}},{results:n,errors:a}=await fetch(`/api/articles?params=${JSON.stringify(e)}`).then(e=>e.json());if(a)return;o(n)}catch(e){console.error(e),w.oR.error("Error loading articles data")}}()},1e3),[]);return(0,a.useEffect)(()=>{let{count:e,topics:i}=t.configuration;d({count:e,topics:i})},[d,t.configuration.topics,t.configuration.count]),(0,n.jsx)(s.default,{section:t,...i,children:e=>(0,n.jsx)(y,{editMode:i.editMode,section:e.section,articles:l,SectionElementWrapper:C.default})})});var E=i(25619),N=i(83257);let M={...N.A,clientComponent:S,previewImage:{src:"/_next/static/media/preview.f9cbc12a.png",height:2337,width:5529,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAM1BMVEXZ3t7x+fyjo5vFysPt6+vg3Nqqu72+vrzM1NS2trTR1dWYl5Lj5+XBycjAx8XKzMmnrKTN8Fy2AAAACnRSTlNpYv2SgP39/f79HskUIQAAAAlwSFlzAAALEwAACxMBAJqcGAAAACNJREFUeJxjYGdlYufmZGFg4OLi5ePk5+FgYGBgZOYW4GADAAlzALZcgw7OAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:3},configSettings:[{label:"Variant",type:E.t.Select,options:[{value:"grid",label:"grid"},{value:"list",label:"list"}],field:"variant"},...N.A.configSettings.filter(e=>"Variant"!==e.label)]};var I=i(57181);function W(e){let{editMode:t,section:i,SectionElementWrapper:a,globalConfig:l}=e;return(0,n.jsx)(x.A,{section:i,containerWidthClasses:v.containerWidthClasses,containerWidth:i.configuration.containerWidth,className:(0,m.Q)(t&&"group/section"),children:(0,n.jsx)(j.A,{defaultFlexConfig:I.lp,className:(0,m.Q)(`bg-${i.configuration.variant||"transparent"}`,"px-5 py-10 "),editMode:t,SectionElement:b.A,section:i,baseClassName:"rigel-basic",SectionElementWrapper:a,globalConfig:l})})}var R=i(13836);let B={...R.A,clientComponent:function(e){return(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)(W,{editMode:e.editMode,section:t.section,SectionElementWrapper:C.default})})},configSettings:[...R.A.configSettings],previewImage:{src:"/_next/static/media/preview.92c7f092.png",height:265,width:888,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAFVBMVEX////6+vv3+Pfm7uuwzr6tzbzv8/Ft+42pAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAF0lEQVR4nGNgYGRiZmZiZAABFlYGBgYAANwAFoat3YAAAAAASUVORK5CYII=",blurWidth:8,blurHeight:2},defaultLayoutConfig:{elements:I.lp}};var k=i(80109),T=i(3273),L=i(96178),V=i(69547),U=i(15695);function D(e){let{branch:t,className:i,tall:a=!1,globalConfig:l,simple:r=!1}=e,s=t.contactTelephone||t.salesTelephone||t.lettingsTelephone,o=`/${l.urls?.branch||"branches"}/${t.slug}`;return(0,n.jsxs)("div",{className:(0,m.Q)("rigel-branch-card flex flex-col items-stretch",i),children:[(0,n.jsx)("div",{className:`relative ${a?"pb-[100%]":"pb-[50%]"}`,children:(0,n.jsxs)(d(),{href:o,children:[t.mainPhoto&&(0,n.jsx)(T.default,{image:{src:t.mainPhoto,alt:t.name||"Branch photo"},dimensions:[{height:a?1e3:500,width:1e3}],className:"h-full w-full object-cover absolute"}),!t.mainPhoto&&(0,n.jsx)(A.A,{})]})}),(0,n.jsxs)("div",{className:`bg-striped p-8 flex flex-col flex-1 justify-between text-on-sidebar-pod-text ${r?"gap-5":"h-full min-h-64"}`,children:[(0,n.jsx)(d(),{href:o,children:(0,n.jsxs)(g.default,{level:2,className:"text-3xl @lg:text-3xl text-on-sidebar-pod-text mb-0 ",children:[t.name," Office"]})}),!r&&(0,n.jsx)("div",{className:"text-xl mb-4",children:t.displayAddress}),(0,n.jsxs)("div",{className:"flex flex-col-reverse @md:flex-row justify-between",children:[(0,n.jsx)(V.default,{size:U.Mp.Large,href:o,children:r?`View ${t.name} branch`:"More Info"}),!r&&s&&(0,n.jsxs)(d(),{prefetch:!1,href:`tel:${s}`,className:"flex items-center gap-3 font-bold underline mb-4 @md:mb-0",children:[(0,n.jsx)(L.A,{className:"h-6 w-6 stroke-current stroke-[1.5px]"}),s]})]})]})]})}var F=i(37170);function P(e){let{branches:t,globalConfig:i}=e;return(0,n.jsx)(F.A,{columns:3,children:t.map(e=>(0,n.jsx)(D,{branch:e,globalConfig:i},e.id))})}function O(e){return(0,n.jsxs)(x.A,{section:e.section,containerWidthClasse
11s:v.containerWidthClasses,containerWidth:e.section.configuration.containerWidth,children:[(0,n.jsx)(j.A,{className:"mb-8",editMode:e.editMode,SectionElement:b.A,section:e.section,baseClassName:"rigel-branches",SectionElementWrapper:e.SectionElementWrapper,globalConfig:e.globalConfig}),(0,n.jsx)(P,{...e})]})}var G=i(18720),X=i(11467);let H=(0,a.memo)(function(e){let[t,i]=(0,a.useState)([]),l=(0,X.d4)(k.AX);return(0,a.useEffect)(()=>{!async function(){try{let{results:e,errors:t}=await fetch("/api/branches").then(e=>e.json());if(t)return;i(e)}catch(e){console.error(e),G.o.error("Error loading branch data.")}}()},[]),(0,n.jsx)(s.default,{...e,children:i=>(0,n.jsx)(O,{editMode:e.editMode,section:i.section,branches:t,SectionElementWrapper:C.default,globalConfig:l})})}),Q={...i(78066).A,clientComponent:H,description:"Display your company's branches, with links to their pages.",previewImage:{src:"/_next/static/media/preview.73dca6d2.png",height:1129,width:1737,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAQlBMVEX+//6yrKzRwrKhinacyqyHoY665MzG6NSonpuqx7So0bdVbVPGwsWZr6GSj4vRyM15oIp7lH+9uLhthGdfgmfV8uFmVPYrAAAACXBIWXMAAC4jAAAuIwF4pT92AAAALklEQVR4nGPg52Hk4GDkEGLgFWDlFhYUYWXgZOFkY2dnE2VgYuZjAAMuFnYwAwAgDQEfPq05qwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5},configSettings:[{label:"Variant",type:E.t.Select,options:[{value:"grid",label:"grid"}],field:"variant"}]};var J=i(11929),Y=i(64246),Z=i(99433);function $(e){return(0,n.jsxs)(x.A,{section:e.section,containerWidthClasses:v.containerWidthClasses,containerWidth:e.section.configuration.containerWidth,children:[(0,n.jsx)(j.A,{className:"mb-8",editMode:e.editMode,SectionElement:b.A,section:e.section,baseClassName:"rigel-calculator",SectionElementWrapper:e.SectionElementWrapper,globalConfig:e.globalConfig}),(0,n.jsx)(Z.default,{text:e.section.configuration.text,country:e?.country||"England"})]})}let z=(0,a.memo)(function(e){return(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)($,{country:"country"in t.section.configuration&&t.section.configuration.country||"all",editMode:e.editMode,section:t.section,SectionElementWrapper:C.default})})}),K={...Y.A,clientComponent:z,initialConfig:function(){return{id:(0,J.A)(),elements:[{id:(0,J.A)(),type:U.RJ.Heading,html:"Stamp Duty Calculator",level:2}],containerWidth:U.O2.Large,paddingBottom:80,paddingTop:80,country:"all",text:""}},configSettings:[{label:"Country",type:E.t.Select,field:"country",options:[{label:"All countries",value:"all"},{label:"England",value:"England"},{label:"Scotland",value:"Scotland"},{label:"Wales",value:"Wales"}]},{label:"Stamp duty text",type:E.t.RichText,field:"text"},...Y.A.configSettings],previewImage:{src:"/_next/static/media/preview.22ec03d5.png",height:1012,width:1690,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAElBMVEX9/f319/bw9PKz0MGxz8C71cjn93nYAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAIklEQVR4nC3KQQ4AIAzDsKTA/7+MNtVnI8hIVCPnrkeqAT4FiQA/eQVdkwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5}};var _=i(65458),q=i(54677),ee=i(66984),et=i(19398);let ei={..._.Ay,clientComponent:function(e){return(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)(q.default,{editMode:e.editMode,section:t.section,SectionElementWrapper:C.default,SectionItemWrapper:ee.A,agency:t.agency})})},previewImage:{src:"/_next/static/media/preview.07a66ac1.png",height:1027,width:1741,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAACVBMVEX4+Pjy8/Po7eoasd8KAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIElEQVR4nDWIgQkAAAiDdP8fHYsSBBEe1dg494i2gGQAAbIAF5MqHLcAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},items:{limit:1},initialConfig:(0,_.yy)({variant:"form-only",items:[(0,et.h)()]}),configSettings:[{label:"Variant",type:E.t.Select,field:"variant",options:[{label:"Form only",value:"form-only"},{label:"Form with card",value:"form-card"}]},..._.Ay.configSettings],variantItemSettings:{"form-card":et.c},defaultLayoutConfig:{elements:I.yF},variantDefaultLayoutConfig:{"form-card":{elements:I.yF,itemElements:I.Hv}}};function en(e){let{section:t}=e;
11return(0,n.jsxs)(x.A,{section:t,containerWidthClasses:v.containerWidthClasses,containerWidth:t.configuration.containerWidth,className:"carina-category-nav-links",children:[(0,n.jsx)("div",{className:"flex w-full justify-center bg-primary",children:(0,n.jsx)(g.default,{level:2,className:"uppercase text-sm text-white font-semibold py-5",children:t.configuration.category||"Custom Pages"})}),(0,n.jsx)("div",{className:"flex flex-col items-center py-5 border border-gray-200",children:t.configuration.elements.map(e=>(0,n.jsx)(d(),{href:e.url||"/",className:"uppercase text-sm text-primary mb-2 text-center",children:e.html},e.id))})]})}let ea={...i(15476).A,clientComponent:function(e){return(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)(en,{editMode:e.editMode,section:t.section})})},previewImage:{src:"/_next/static/media/preview.feb8a465.png",height:227,width:313,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAJFBMVEXw9fP///+OrqMJTTSDp5omZVDj6+jh6ubg6eW0ysJdjH3D1M6J8O05AAAACXBIWXMAAAsTAAALEwEAmpwYAAAALUlEQVR4nC3FwREAIAjEwMCBoPbfr6NjHhuo0T0KlpQpBTPc3WNjBlzfwbDfARMcAIGsAUqjAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:6}};var el=i(74390);function er(e){let{editMode:t,section:i}=e,a=i.configuration.elements?.[0]?.html||"";return(0,n.jsx)(x.A,{section:i,containerWidthClasses:v.containerWidthClasses,containerWidth:i.configuration.containerWidth,className:(0,m.Q)("embed relative",t&&"group/section pointer-events-none"),children:(0,n.jsx)(el.default,{content:a})})}let es={...i(89251).A,clientComponent:function(e){return(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)(er,{editMode:e.editMode,section:t.section})})},previewImage:{src:"/_next/static/media/preview.eca50697.png",height:883,width:1419,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAD1BMVEX9/f3l6/T09vjc5fDB0eZSDOCiAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIUlEQVR4nGNgYGBgYmKAAAiDGQQYmRkZGMGAmQUkAQKMAAPwADdyrHY+AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5}};var eo=i(19441),ed=i(86324);let ec={...ed.A,clientComponent:function(e){return(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)(eo.default,{editMode:e.editMode,section:t.section,globalConfig:t.globalConfig,SectionElementWrapper:C.default})})},initialConfig:(0,ed.y)({containerWidth:U.O2.Large,overlayOpacity:0,height:U.Dy.Medium}),previewImage:{src:"/_next/static/media/preview.42c6e093.png",height:676,width:1738,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAANlBMVEWenqKac13HxLSuw9OnpZZyp6GRxaCGuN+n3beGY093tbVscGB8r6i+s5+pnIWPmo+8rJilxNjE61uDAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAI0lEQVR4nGMQZGdnZ2BgYGbgZ+XiYeTk5GZgYuPg4BXgYwEACPMAuc7dV0gAAAAASUVORK5CYII=",blurWidth:8,blurHeight:3},defaultLayoutConfig:{elements:I.fj}};var em=i(73690),eu=i(95960),eA=i(75884);let eg={...eu.A,initialConfig:(0,eu.y)({containerWidth:U.O2.Large,overlayOpacity:0,height:U.Dy.Medium}),clientComponent:function(e){return(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)(em.default,{editMode:e.editMode,section:t.section,globalConfig:t.globalConfig,SectionElementWrapper:C.default,SectionItemWrapper:ee.A})})},previewImage:{src:"/_next/static/media/preview.7d6b1412.png",height:676,width:1738,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAM1BMVEVHREecj4dZT1UvO0Jxd3yr5MFFTlZVbFdsaHSOlpZYeWmNyqhgYmgiHSJFUm4AAACwpZcTUKWmAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAI0lEQVR4nGNgYeLg4GNjZmFgYOdiZ+DlZ2Dg5GZlFWDk4QQACEAAqpEK4kYAAAAASUVORK5CYII=",blurWidth:8,blurHeight:3},variantItemSettings:{slideText:eA.o},defaultLayoutConfig:{elements:I.fj,itemElements:I.fj}};var ef=i(47850),eh=i(28814);let ep={...eh.A,clientComponent:function(e){return(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)(ef.default,{editMode:e.editMode,section:t.section,SectionElementWrapper:C.default})})},previewImage:{src:"/_next/static/media/preview.f571f210.png",height:673,width:1738,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAJ1BMVEXl6Obu7u3z8vKQjJPS3Ne1t72zsrSenaP5+Pm2pqN1eYReYWJZXWq5lW1lAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAIklEQVR4nAXBhwEAIAzDMKe7wP/3IjFmaq9FAfc8hxhVdn4F5QB0XtrTKAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:3},initialConfig:function(){return{...(0,eh.y)(),image:{src:"/images/default-image-1.jpg",alt:"",lazy:!0,positionMobile:"bottom",position:"left",type:"cover"}}},configSettings:[{label:"Image position mobile",description:"Position of image on smaller screen sizes.",type:E.t.MultiOption,defaultValue:"bottom",field:"image.positionMobile",options:[{label:"Top",value:"top"},{label:"Bottom",value:"bottom"}]},...eh.A.configSettings.filter(e=>"image.positionMobile"!==e.field),{label:"Foreground colour",description:"Set a background colour for the text box.",field:"foregroundColor",type:E.t.ColorPicker}],defaultLayoutConfig:{elements:I.bP}};var eb=i(1292),ex=i(83294);function ev(e){let{editMode:t,section:i,SectionElementWrapper:a,globalConfig:l}=e;
11return(0,n.jsxs)(x.A,{section:i,containerWidthClasses:v.containerWidthClasses,containerWidth:i.configuration.containerWidth,children:[(0,n.jsx)(j.A,{className:"mb-8",editMode:t,SectionElement:b.A,section:i,baseClassName:"rigel-custom-map",SectionElementWrapper:a,globalConfig:l}),(0,n.jsx)(ex.default,{editMode:t,section:i,marker:{lat:i.configuration.lat,lng:i.configuration.lng},globalConfig:l})]})}let ej={...eb.A,previewImage:{src:"/_next/static/media/preview.5e02e5f8.png",height:713,width:1719,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAHlBMVEXf+eDb99nV7M3B9MLY79Ou26XF4bqxzp6jzJLJ4L+anpl5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIUlEQVR4nAXBgQEAIAjDsJYB6v8Pm6Bd+pZkzuYOQLXlBwRbAEwAlHtQAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:3},clientComponent:function(e){return(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)(ev,{editMode:e.editMode,section:t.section,SectionElementWrapper:C.default,globalConfig:t.globalConfig})})}};function ey(e){let{item:t,section:i,editMode:a,boxPattern:l,SectionElementWrapper:r,anItemHasElements:s,globalConfig:o}=e,c=!t?.image?.hidden,u=t.elements.length>0;if(!c&&!u)return(0,n.jsx)("div",{});let g=(0,n.jsxs)(n.Fragment,{children:[c&&(0,n.jsx)("div",{className:`${!s||u?"h-64":"h-full"} w-full relative flex-none`,children:t.image?(0,n.jsx)(T.default,{image:t.image,dimensions:[{height:256,width:395,media:"(max-width: 443px)"},{height:256,width:719,media:"(max-width: 767px)"},{height:256,width:799}],className:"h-full w-full object-cover"}):(0,n.jsx)(A.A,{})}),u&&(0,n.jsx)(j.A,{defaultFlexConfig:I.nH,className:(0,m.Q)("p-8 h-full",function(e){switch(e){case"light-striped-boxes":default:return"bg-striped";case"dark-striped-boxes":return"bg-dark-striped text-white";case"grey-striped-boxes":return"bg-grey-striped"}}(l)),editMode:a,SectionElement:b.A,section:i,baseClassName:"rigel-multi-item-box",SectionElementWrapper:r,itemIdChain:[t.id],globalConfig:o})]});return(0,n.jsx)("div",{className:"rigel-multi-item-box w-full h-full flex flex-col justify-stretch",children:!a&&t.link?.url?(0,n.jsx)(d(),{className:"h-full flex flex-col",href:t.link.url||"/",...t.link.target&&{target:t.link.target},children:g}):(0,n.jsx)(n.Fragment,{children:g})})}let eC=()=>({id:(0,J.A)(),elements:[{id:(0,J.A)(),type:U.RJ.Heading,html:"Heading",level:2},{id:(0,J.A)(),type:U.RJ.Text,html:"Content"}],containerWidth:U.O2.Large,image:{src:"/images/home-hero-default.jpg",alt:"",hidden:!1},link:{html:"Link button",target:"_self",url:"",hidden:!1}});var ew=i(35012);function eS(e){let{editMode:t,section:i,SectionElementWrapper:l,SectionItemWrapper:r,globalConfig:s}=e,o=i.configuration.items,d=!!o.find(e=>e.elements.length>0);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(j.A,{className:"mb-8",editMode:t,SectionElement:b.A,section:i,baseClassName:"rigel-multi-item-boxes",SectionElementWrapper:l,globalConfig:s})," ",(0,n.jsx)("div",{className:(0,m.Q)("gap-10",(0,ew.A)(i.configuration.columns)),children:o.map(e=>(0,n.jsx)(a.Fragment,{children:r?(0,n.jsx)(r,{item:e,itemIdChain:[e.id],section:i,sectionConfig:i.configuration,defaultInitialItem:eC(),children:(0,n.jsx)(ey,{item:e,section:i,editMode:t,boxPattern:i.configuration.boxPattern,SectionElementWrapper:l,anItemHasElements:d,globalConfig:s})}):(0,n.jsx)(ey,{item:e,section:i,editMode:t,boxPattern:i.configuration.boxPattern,anItemHasElements:d,globalConfig:s})},e.id))})]})}let eE=[{label:"Show image",type:E.t.Boolean,field:"image.hidden",trueLabel:"No",falseLabel:"Yes"},{label:"Image",type:E.t.Image,field:"image"},{label:"Link target",description:"Set the target of your link to open in the same tab or a new tab.",type:E.t.MultiOption,field:"link.target",options:[{label:"Same tab",value:"_self"},{label:"New tab",value:"_blank"}]},{label:"Link URL",description:"Set the URL for your item to link to.",field:"link.url",type:E.t.Text}];function eN(e){let{item:t,editMode:i}=e,a=t?.image?.height,l=(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:`${a?"":"h-64 "}w-full relative flex-none`,style:a?{height:a}:void 0,children:t?.image?.src?(0,n.jsx)(c.A,{src:t.image.src,fill:!0,className:"h-full w-full object-contain",alt:t.image.alt||""}):(0,n.jsx)(A.A,{})})}),r="flex flex-col justify-stretch relative h-full";return(0,n.jsx)("div",{className:"rigel-multi-item-image w-full h-full p-8",children:!i&&t.link?.url?(0,n.jsx)(d(),{className:r,href:t.link.url,...t.link.target&&{target:t.link.target},children:l}):(0,n.jsx)("div",{className:r,children:l})})}let eM=[{label:"Image",type:E.t.Image,field:"image"},{label:"Link Target",description:"Set the target of your link to open in the same tab or a new tab.",type:E.t.MultiOption,field:"link.target",options:[{label:"Same tab",value:"_self"},{label:"New tab",value:"_blank"}]},{label:"Link URL",description:"Set the URL for your item to link to.",field:"link.url",type:E.t.Text}];function eI(e){let{editMode:t,section:i,SectionElementWrapper:a,SectionItemWrapper:l,globalConfig:r}=e,s=i.configuration.items;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(j.A,{className:"mb-8",editMode:t,SectionElement:b.A,section:i,baseClassName:"rigel-multi-item-images",SectionElementWrapper:a,globalConfig:r}),(0,n.jsx)("div",{className:(0,m.Q)("gap-10",(0,ew.A)(i.configuration.columns)),children:s.map(e=>l?(0,n.jsx)("div",{children:(0,n.jsx)(l,{item:e,itemIdChain:[e.id],section:i,sectionConfig:i.configuration,defaultInitialItem:eC(),children:(0,n.jsx)(eN,{item:e,editMode:t})})},e.id):(0,n.jsx)(eN,{item:e,editMode:t},e.id))})]})}function eW(e){let{item:t,editMode:i}=e,a=(0,n.jsx)("div",{className:"h-full w-full relative overflow-hidden",children:t.image?(0,n.jsx)(c.A,{src:t.image.src||"",fill:!0,alt:t.image.alt||"",className:"object-cover"}):(0,n.jsx)(A.A,{})}),l="h-full";return(0,n.jsx)("div",{className:"rigel-multi-item-stretch-image h-72 w-full @md:w-auto @md:shrink overflow-hidden",children:!i&&t.link?.url?(0,n.jsx)(d(),{className:l,href:t.link.url,...t.link.target&&{target:t.link.target},children:a}):(0,n.jsx)("div",{className:l,children:a})},t.id)}let eR=[{label:"Image",type:E.t.Image,field:"image"},{label:"Image relative width",description:"The relative width of this image compared to other images.",type:E.t.Number,field:"image.width"},{label:"Link Target",description:"Set the target of your link to open in the same tab or a new tab.",type:E.t.MultiOption,field:"link.target",options:[{label:"Same tab",value:"_self"},{label:"New tab",value:"_blank"}]},{label:"Link URL",description:"Set the URL for your item to link to.",field:"link.url",type:E.t.Text}];function eB(e){let{editMode:t,section:i,SectionElementWrapper:l,SectionItemWrapper:r,globalConfig:s}=e,o=i.configuration.items,d=(0,a.useMemo)(()=>o.reduce((e,t)=>
11e+Number(t.image?.width),0),[o]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(j.A,{className:"mb-8",editMode:t,SectionElement:b.A,section:i,baseClassName:"rigel-multi-item-stretch-imagess",SectionElementWrapper:l,globalConfig:s}),(0,n.jsx)("div",{className:"gap-10 flex flex-col justify-items-stretch @md:flex-row",children:o.map(e=>{let a=0===d||isNaN(d)?v.MAX_WIDTH/o.length:v.MAX_WIDTH*(e.image?.width||1)/d;return(0,n.jsx)("div",{style:{flexGrow:a},children:r?(0,n.jsx)(r,{item:e,itemIdChain:[e.id],section:i,sectionConfig:i.configuration,defaultInitialItem:eC(),children:(0,n.jsx)(eW,{item:e,editMode:t})}):(0,n.jsx)(eW,{item:e,editMode:t})},e.id)})})]})}var ek=i(80412),eT=i(18684);function eL(e){let{editMode:t,section:i,SectionElementWrapper:a,SectionItemWrapper:l,globalConfig:r}=e,s=i.configuration.items,o=!!s.find(e=>e.elements.length>0);return(0,n.jsxs)(n.Fragment,{children:[!!i.configuration.elements.length&&(0,n.jsx)(j.A,{className:"mb-8",editMode:t,SectionElement:b.A,section:i,baseClassName:"rigel-multi-item-carousel",SectionElementWrapper:a,globalConfig:r}),(0,n.jsx)("div",{children:(0,n.jsx)(ek.default,{slideCount:4,children:s.map(e=>(0,n.jsx)(eT.A,{slideCount:4,children:l?(0,n.jsx)(l,{item:e,itemIdChain:[e.id],section:i,sectionConfig:i.configuration,defaultInitialItem:{...eC(),id:(0,J.A)()},children:(0,n.jsx)(ey,{item:e,section:i,editMode:t,boxPattern:i.configuration.boxPattern,SectionElementWrapper:a,anItemHasElements:o,globalConfig:r})}):(0,n.jsx)(ey,{item:e,section:i,editMode:t,boxPattern:i.configuration.boxPattern,anItemHasElements:o,globalConfig:r})},e.id))})})]})}function eV(e){let{editMode:t,section:i,SectionElementWrapper:l,SectionItemWrapper:r,globalConfig:s}=e,o=i.configuration.items,d=(0,a.useMemo)(()=>o.reduce((e,t)=>e+Number(t.image?.width),0),[o]),c=!!o.find(e=>e.elements.length>0);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(j.A,{className:"mb-8",editMode:t,SectionElement:b.A,section:i,baseClassName:"rigel-multi-item-stretch-images",SectionElementWrapper:l,globalConfig:s}),(0,n.jsx)("div",{className:"gap-10 flex flex-col justify-items-stretch @md:flex-row",children:o.map(e=>{let a=0===d||isNaN(d)?v.MAX_WIDTH/o.length:v.MAX_WIDTH*(e.image?.width||1)/d;return(0,n.jsx)("div",{style:{flexGrow:a},children:r?(0,n.jsx)(r,{item:e,itemIdChain:[e.id],section:i,sectionConfig:i.configuration,defaultInitialItem:eC(),children:(0,n.jsx)(ey,{item:e,section:i,editMode:t,boxPattern:i.configuration.boxPattern,SectionElementWrapper:l,anItemHasElements:c,globalConfig:s})}):(0,n.jsx)(ey,{item:e,section:i,editMode:t,boxPattern:i.configuration.boxPattern,anItemHasElements:c,globalConfig:s})},e.id)})})]})}function eU(e){return(0,n.jsx)(x.A,{section:e.section,containerWidthClasses:v.containerWidthClasses,containerWidth:e.section.configuration.containerWidth,children:(()=>{switch(e.section.configuration.variant){case"carousel":return(0,n.jsx)(eL,{...e});case"stretch-images":return(0,n.jsx)(eB,{...e});case"images":return(0,n.jsx)(eI,{...e});case"stretch-boxes":return(0,n.jsx)(eV,{...e});default:return(0,n.jsx)(eS,{...e})}})()})}var eD=i(26317);let eF=[{label:"Box pattern",field:"boxPattern",type:E.t.Select,defaultValue:"light-striped-boxes",options:[{value:"light-striped-boxes",label:"Light striped boxes"},{value:"dark-striped-boxes",label:"Dark striped boxes"},{value:"grey-striped-boxes",label:"Grey striped boxes"}]}],eP={...eD.Ay,clientComponent:function(e){return(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)(eU,{editMode:e.editMode,section:t.section,SectionElementWrapper:C.default,SectionItemWrapper:ee.A})})},previewImage:{src:"/_next/static/media/preview.135286c1.png",height:801,width:2037,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAJFBMVEXq7u3k6efV0My2zLj5+/rHxsOZs6PW2NegvqapwrCxsbLz8/N89maJAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAIklEQVR4nAXBiQEAIAwCsQP6qPsPbMK2/dpFTu5MikLSwgcF5gBeVwqQGQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:3},items:{limit:4},initialConfig:function(){return{id:(0,J.A)(),variant:"boxes",items:[{...eC(),id:(0,J.A)()},{...eC(),id:(0,J.A)()},{...eC(),id:(0,J.A)()},{...eC(),id:(0,J.A)()}],elements:[]}},configSettings:[{label:"Variant",description:"Choose the variant to control how the items are displayed.",type:E.t.Select,options:[{value:"boxes",label:"Boxes"},{value:"stretch-boxes",label:"Stretch Boxes"},{value:"carousel",label:"Carousel"},{value:"images",label:"Images"},{value:"stretch-images",label:"Stretch images"}],field:"variant"}],variantSettings:{boxes:eF,carousel:eF},variantItemSettings:{boxes:eE,carousel:eE,images:eM,"stretch-boxes":eE,"stretch-images":eR},variantDefaultLayoutConfig:{boxes:{itemElements:I.nH}}};var eO=i(9040),eG=i(25758);function eX(e){let{editMode:t,section:i,properties:l,SectionElementWrapper:r,globalConfig:s}=e,o=i.configuration.channel,d=i.configuration.tags,c=(0,a.useMemo)(()=>(0,eG.A)({channel:o,tags:d}),[o,d]);
11return(0,n.jsxs)(x.A,{section:i,containerWidthClasses:v.containerWidthClasses,containerWidth:i.configuration.containerWidth,children:[(0,n.jsx)(j.A,{className:"mb-8",editMode:t,SectionElement:b.A,section:i,baseClassName:"rigel-properties",SectionElementWrapper:r,globalConfig:s}),(0,n.jsx)(ek.default,{slideCount:4,carouselFor:"properties",viewAllSlug:c,children:l?.map(e=>(0,n.jsx)(eT.A,{slideCount:4,children:(0,n.jsx)(eO.default,{property:e},e.id)},e.id))})]})}var eH=i(37995);let eQ=(0,a.memo)(function(e){let{section:t,...i}=e,[l,o]=(0,a.useState)([]),d=(0,a.useCallback)(r()(e=>{!async function(){try{let t=await fetch(`/api/properties?params=${(0,eH.S)(e)}`),{results:i}=await t.json();o(i)}catch(e){console.error(e),G.o.error("Error loading properties data")}}()},1e3),[]);return(0,a.useEffect)(()=>{d(t.configuration)},[d,t.configuration]),(0,n.jsx)(s.default,{section:t,...i,children:e=>(0,n.jsx)(eX,{properties:l,section:e.section,editMode:i.editMode,SectionElementWrapper:C.default})})}),eJ={...i(17387).A,clientComponent:eQ,previewImage:{src:"/_next/static/media/preview.b4130068.png",height:664,width:1717,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAJ1BMVEW85M2Dq4zLxsLE6tXWz8zg29Z2o4HO7tynyayexambwqGOt5ft6OVvbhe5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAH0lEQVR4nGNgYWJiYeVhYmVgZGTk4uZk42BgYAZDdgAFrwBkcO7STwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:3}};var eY=i(12570);function eZ(e){let{section:t,jsx:i}=e;if(i)return(0,n.jsx)(x.A,{section:t,containerWidthClasses:v.containerWidthClasses,containerWidth:t.configuration.containerWidth,children:(0,n.jsx)("div",{className:eY.default,children:i})});let a=t.configuration?.elements?.[0]?.html;return(0,n.jsx)(x.A,{section:t,containerWidthClasses:v.containerWidthClasses,containerWidth:t.configuration.containerWidth,children:(0,n.jsx)("span",{className:(0,m.Q)("font-[inherit] relative text-inherit",eY.default),dangerouslySetInnerHTML:{__html:a||""}})})}let e$={...i(32720).A,clientComponent:function(e){return(0,n.jsx)(s.default,{...e,children:e=>(0,n.jsx)(eZ,{section:e.section})})},previewImage:{src:"/_next/static/media/preview.00c90321.png",height:619,width:1100,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAG1BMVEXi4uZMaXH39/jt7vD5+fn6+vr19/j+/v7/////o2sIAAAACHRSTlMJAHLe4mbG8b+xqBsAAAAJcEhZcwAALiMAAC4jAXilP3YAAAAjSURBVHicLcEBDgAgCAOxmxuE/7/YBG3hEbadtJgVcVYJfRcJgABsoryONAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5}};var ez=i(9715),eK=i(67638);function e_(e){let{staffMember:t,className:i="",priority:a=!1,imageConfig:l,globalConfig:r}=e,s=t.email,o=t.mobileNumber;return(0,n.jsx)("div",{className:"relative h-full",children:(0,n.jsxs)("div",{className:(0,m.Q)("rigel-staff-card relative bg-white flex flex-col justify-stretch group/card w-full h-full",i),children:[(0,n.jsx)("div",{className:"relative h-80",children:r?.generalSettings.disableStaffPages?(0,n.jsx)(n.Fragment,{children:t.avatar?(0,n.jsx)(eq,{staffMember:t,priority:a}):(0,n.jsx)(A.A,{})}):(0,n.jsx)(d(),{href:`/staff/${t.slug}`,children:t.avatar?(0,n.jsx)(eq,{staffMember:t,priority:a}):(0,n.jsx)(A.A,{})})}),(0,n.jsx)("div",{className:"grow p-6 bg-striped text-on-sidebar-pod-text",children:(0,n.jsxs)("div",{className:"h-full flex flex-col justify-between",children:[r?.generalSettings.disableStaffPages?(0,n.jsx)("div",{className:"text-xl @md:text-3xl font-heading mb-4",children:t.name}):(0,n.jsx)(d(),{href:`/staff/${t.slug}`,className:"text-xl @md:text-3xl font-heading mb-4",children:t.name}),(0,n.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,n.jsx)("div",{children:t.jobTitle}),(0,n.jsxs)("div",{className:"flex items-center gap-4",children:[s&&(0,n.jsx)(d(),{href:`mailto:${s}`,"aria-label":`Email ${t.name}`,children:(0,n.jsx)(eK.A,{className:"h-6 w-6 fill-primary-text stroke-current"})}),o&&(0,n.jsxs)(d(),{href:`tel:${o}`,className:"flex items-center gap-2 font-bold underline",children:[(0,n.jsx)(L.A,{className:"h-5 w-5 stroke-current"}),(0,n.jsx)("span",{children:o})]})]})]})]})})]})})}function eq(e){let{staffMember:t,priority:i}=e,a=(0,ez.A)(t.avatar,{width:450,height:450});return(0,n.jsx)(c.A,{className:"w-full h-full object-cover",src:a,overrideSrc:a,alt:t.name||"",priority:i,width:450,height:450})}function e0(e){let{staff:t,children:i}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"w-full mb-8 flex flex-col items-center",children:i}),(0,n.jsx)(ek.default,{slideCount:4,carouselFor:"staff",children:t?.map(e=>(0,n.jsx)(eT.A,{slideCount:4,children:(0,n.jsx)(e_,{staffMember:e},e.id)},e.id))})]})}function e1(e){let{editMode:t,section:i,staff:a,SectionElementWrapper:l,globalConfig:r}=e;
11return(0,n.jsx)(x.A,{section:i,containerWidthClasses:v.containerWidthClasses,containerWidth:i.configuration.containerWidth,children:(0,n.jsx)(e0,{staff:a,children:(0,n.jsx)(j.A,{className:"mb-8",editMode:t,SectionElement:b.A,section:i,baseClassName:"rigel-staff-slider",SectionElementWrapper:l,globalConfig:r})})})}var e2=i(36348);let e5=(0,a.memo)(function(e){let t=e.section.configuration.count,i=e.section.configuration.searchIds,l=e.section.configuration.branchId,[o,d]=(0,a.useState)([]),c=(0,a.useCallback)(r()((e,t)=>{!async function(){try{let i=await fetch(`/api/staff?params=${JSON.stringify({pageSize:e||12,...t&&{search:{agencyEmployeeIds:t.join(",")}},...l&&{search:{branchId:l}}})}`),{results:n}=await i.json();if(t?.length){let e=(0,e2.A)(t,n);return d(e)}d(n)}catch(e){console.error(e),G.o.error("Error loading staff data.")}}()},1e3),[i,l]);return(0,a.useEffect)(()=>{c(t,i)},[t,c,i]),(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)(e1,{editMode:e.editMode,section:t.section,staff:o,SectionElementWrapper:C.default})})}),e9={...i(1300).A,previewImage:{src:"/_next/static/media/preview.deff1d68.png",height:713,width:1719,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAJFBMVEW438fe3N2QnpXk4uPA486v18Cbp6Dq6OmDkIirt7B7iYDb2NrxBXV7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIklEQVR4nAXBiQEAMAgCsQPUfvvv24Qoespi7O25hwKarg8FKQBeSqv3NwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:3},clientComponent:e5};var e4=i(44897),e6=i(54193),e3=i(36993);let e8={...e4.A,clientComponent:function(e){let{agency:t}=(0,a.useContext)(e3.A);
11if(!t)throw Error("No agency found");return(0,n.jsx)(s.default,{...e,children:i=>(0,n.jsx)(e6.default,{editMode:e.editMode,section:i.section,SectionElementWrapper:C.default,agency:t})})},previewImage:{src:"/_next/static/media/preview.8d0ccd28.png",height:192,width:614,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAD1BMVEUIaDcleU4WcEMQbT05hl8bbF/MAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAHUlEQVR4nGNgYGBgYGZiYgLRDMyMjIxgBgMTIwsAASkAF9yMNIMAAAAASUVORK5CYII=",blurWidth:8,blurHeight:3},defaultLayoutConfig:{elements:I.qU}};var e7=i(78636);function te(e){let{row:t,tabId:i,section:a,editMode:l,SectionElementWrapper:r,globalConfig:s}=e;return(0,n.jsx)(j.A,{defaultFlexConfig:e7.cZ,editMode:l,SectionElement:b.A,section:a,baseClassName:"rigel-tabbed-content-row",SectionElementWrapper:r,itemIdChain:[i,t.id],globalConfig:s})}function tt(e){let{item:t,section:i,editMode:l,SectionItemWrapper:r,SectionElementWrapper:s,globalConfig:o}=e;return t.items?(0,n.jsx)("div",{className:"rigel-multi-item-box w-full h-full flex flex-col gap-10",children:t.items.map(e=>(0,n.jsx)(a.Fragment,{children:r?(0,n.jsx)(r,{item:e,itemIdChain:[t.id,e.id],section:i,sectionConfig:i.configuration,defaultInitialItem:(0,e7.X8)(),children:(0,n.jsx)(te,{row:e,tabId:t.id,section:i,editMode:l,SectionElementWrapper:s,globalConfig:o},e.id)}):(0,n.jsx)(te,{row:e,tabId:t.id,section:i,editMode:l,SectionElementWrapper:s,globalConfig:o},e.id)},e.id))}):null}var ti=i(36759);function tn(e){let{editMode:t,section:i,SectionElementWrapper:l,SectionItemWrapper:r,globalConfig:s}=e,o=i.configuration.items,d=o.map(e=>({id:e.id||"",tab:(0,n.jsx)(a.Fragment,{children:r?(0,n.jsx)(r,{item:e,itemIdChain:[e.id],section:i,sectionConfig:i.configuration,defaultInitialItem:(0,e7.f1)("Tab Title"),children:e.elements.map(a=>(0,n.jsx)(b.A,{element:a,elementIdChain:[a.id],itemIdChain:[e.id],section:i,baseClassName:"rigel-tabbed-content-tabs",editMode:t,SectionElementWrapper:l},a.id))}):e.elements.map(a=>(0,n.jsx)(b.A,{element:a,elementIdChain:[a.id],itemIdChain:[e.id],section:i,baseClassName:"rigel-tabbed-content-tabs",editMode:t,SectionElementWrapper:l},a.id))},e.id||"")}));return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(ti.default,{tabs:d,children:o.map(e=>(0,n.jsx)(a.Fragment,{children:(0,n.jsx)(tt,{item:e,section:i,editMode:t,SectionItemWrapper:r,SectionElementWrapper:l,globalConfig:s})},e.id))})})}function ta(e){return(0,n.jsx)(x.A,{section:e.section,containerWidthClasses:v.containerWidthClasses,containerWidth:e.section.configuration.containerWidth,children:(0,n.jsx)(tn,{...e})})}let tl={...e7.Ay,clientComponent:function(e){return(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)(ta,{editMode:e.editMode,section:t.section,SectionElementWrapper:C.default,SectionItemWrapper:ee.A})})},previewImage:{src:"/_next/static/media/preview.9df93c8a.png",height:1055,width:1719,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAALVBMVEX09PX4+PjIxcPt7e7q6ee7ubTo5uPf3dqfm5BvX1DV1c15d2CRg3uvqp7azcAjDig7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAK0lEQVR4nAXBiQEAEAwAsetfiv3HlYCIWBZgRswqPGHfTuJoT6+Ha6nuyA8PpADUhiA0GgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5}};function tr(e){let{className:t,testimonials:i,children:a}=e;return(0,n.jsxs)("div",{className:(0,m.Q)("bg-grey-alternative py-12",t),children:[(0,n.jsx)("div",{className:"w-full mb-8 flex flex-col items-center px-12",children:a}),i&&i.length>0&&(0,n.jsx)(ek.default,{slideCount:1,dots:!0,carouselFor:"testimonials",children:i.map(e=>(0,n.jsxs)("div",{className:"w-full shrink-0 px-20 @md:px-32",children:[(0,n.jsx)("blockquote",{className:"font-semibold mb-10 text-center",children:e.content}),e.name&&(0,n.jsx)("div",{className:"font-bold text-center",dangerouslySetInnerHTML:{__html:e.name}})]},e.id))})]})}var ts=i(53206);function to(e){let{className:t,children:i,testimonials:a,image:l,section:r}=e,s=r?.configuration.displayRatingStars??!1;return(0,n.jsx)("div",{className:(0,m.Q)("bg-grey-alternative",t),children:(0,n.jsxs)("div",{className:"w-full flex flex-col items-stretch @md:max-h-[30rem] items-center py-4 @md:flex-row @md:py-0",children:[(0,n.jsxs)("div",{className:"w-full p-6 @md:w-1/2",children:[i,a&&a.length>0&&(0,n.jsx)(ek.default,{slideCount:1,carouselFor:"testimonials",children:a.map(e=>(0,n.jsxs)("div",{className:"w-full shrink-0 mb-10 @md:mb-0 @md:px-20",children:[(0,n.jsx)("blockquote",{className:"font-bold font-heading mb-2 text-center italic",children:e.content}),s&&(0,n.jsxs)("div",{className:"w-full flex justify-center",children:[(0,n.jsx)(ts.hLI,{color:"#b99d23",className:"w-8 h-8"}),(0,n.jsx)(ts.hLI,{color:"#b99d23",className:"w-8 h-8"}),(0,n.jsx)(ts.hLI,{color:"#b99d23",className:"w-8 h-8"}),(0,n.jsx)(ts.hLI,{color:"#b99d23",className:"w-8 h-8"}),(0,n.jsx)(ts.hLI,{color:"#b99d23",className:"w-8 h-8"})]})]},e.id))})]}),(0,n.jsxs)("div",{className:"w-full @md:w-1/2 bg-gray-200 relative flex items-center justify-center",children:[l&&l?.src&&(0,n.jsx)(c.A,{width:1100,height:500,src:l?.src,alt:l?.alt,className:"h-full object-cover hidden @md:flex"}),(0,n.jsx)(V.default,{className:"absolute bottom-0 @md:mb-20",href:r?.configuration.ctaButtonLink||"/our-reviews",variant:U.Ak.D,size:U.Mp.Large,children:r?.configuration.ctaButtonText||"Customer Reviews"})]})]})})}function td(e){return(0,n.jsx)(x.A,{section:e.section,containerWidthClasse
11s:v.containerWidthClasses,containerWidth:e.section.configuration.containerWidth,children:(()=>{switch(e.section.configuration.variant){case"list":default:return(0,n.jsx)(tr,{testimonials:e.testimonials,children:(0,n.jsx)(j.A,{className:"mb-8",editMode:e.editMode,SectionElement:b.A,section:e.section,baseClassName:"rigel-testimonials",SectionElementWrapper:e.SectionElementWrapper,globalConfig:e.globalConfig})});case"slider-with-image":return(0,n.jsx)(to,{testimonials:e.testimonials,section:e.section,image:e.section.configuration.image,children:(0,n.jsx)(j.A,{className:"mb-2 text-center",editMode:e.editMode,SectionElement:b.A,section:e.section,baseClassName:"rigel-testimonials",SectionElementWrapper:e.SectionElementWrapper,globalConfig:e.globalConfig})})}})()})}let tc=(0,a.memo)(function(e){let[t,i]=(0,a.useState)([]),l=(0,a.useCallback)(r()((e,t)=>{!async function(){let{results:n,errors:a}=await fetch(`/api/testimonials?params=${JSON.stringify({pageSize:e||6,channel:t||""})}`).then(e=>e.json());a||i(JSON.parse(JSON.stringify(n)))}()},1e3),[]);return(0,a.useEffect)(()=>l(e.section.configuration.count,e.section.configuration.channel),[e.section.configuration,l]),(0,n.jsx)(s.default,{...e,children:i=>(0,n.jsx)(td,{editMode:e.editMode,section:i.section,testimonials:t,SectionElementWrapper:C.default})})});var tm=i(54058);let tu=[{label:"Image",description:"Set or change the image for testimonial slider.",type:E.t.Image,field:"image"},{label:"CTA Button Text",description:"Set a text for testimonials section CTA button.",type:E.t.Text,field:"ctaButtonText"},{label:"CTA Button Link",description:"Set a link for testimonials section CTA button.",type:E.t.Text,field:"ctaButtonLink"},{label:"Display Rating Stars",description:"Show/hide rating stars on testimonials carousel.",type:E.t.Boolean,field:"displayRatingStars"}],tA={...tm.A,clientComponent:tc,previewImage:{src:"/_next/static/media/preview.aa48e443.png",height:444,width:1738,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAABlBMVEX19fXu8O9WIesjAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAF0lEQVR4nGNgYGBkZGRkYGBgBLEYGBgBAFoACcu0dE0AAAAASUVORK5CYII=",blurWidth:8,blurHeight:2},configSettings:[{label:"Variant",description:"Choose variant to control how the testimonial section is displayed.",type:E.t.Select,options:[{value:"list",label:"List"},{value:"slider-with-image",label:"Slider With Image"}],field:"variant"}],variantSettings:{"slider-with-image":tu}};var tg=i(94790);function tf(e){let{section:t,editMode:i,SectionElementWrapper:a,globalConfig:l}=e;return(0,n.jsxs)(x.A,{section:t,containerWidthClasses:v.containerWidthClasses,containerWidth:t.configuration.containerWidth,children:[(0,n.jsx)(j.A,{className:"mb-8",editMode:i,SectionElement:b.A,section:t,baseClassName:"rigel-valuation",SectionElementWrapper:a,globalConfig:l}),(0,n.jsx)(tg.default,{displayHeading:!1,section:t})]})}var th=i(32709);let tp={...th.A,previewImage:{src:"/_next/static/media/preview.deab0d1d.png",height:1640,width:3478,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAADFBMVEX9/f34+Pjy8/PR4dnpIzPhAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAGElEQVR4nGNgZGBgAGEGJihGAGZGsAQDAADrAAxc/XKMAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:4},initialConfig:function(){return{id:(0,J.A)(),date:!1,message:!0,elements:[]}},clientComponent:function(e){return(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)(tf,{editMode:e.editMode,section:t.section,SectionElementWrapper:C.default})})},configSettings:[...th.A.configSettings]};var tb=i(87353);function tx(e){let{editMode:t,section:i,globalConfig:a,SectionElementWrapper:l}=e;return i.configuration.video?(0,n.jsx)(x.A,{section:i,containerWidthClasses:v.containerWidthClasses,containerWidth:i.configuration.containerWidth,children:(0,n.jsx)(tb.A,{theme:"rigel",section:i,editMode:t,SectionElement:b.A,SectionElementWrapper:l,globalConfig:a})}):null}let tv={Articles:M,Basic:B,Branches:Q,Calculator:K,CustomForm:ei,CustomMap:ej,CustomPages:ea,Embed:es,ImageBanner:ec,ImageCarousel:eg,ImageWithText:ep,MultiItem:eP,Properties:eJ,RichText:e$,Staff:e9,Social:e8,TabbedContent:tl,Testimonials:tA,Valuation:tp,VideoBanner:{...i(32134).A,clientComponent:function(e){return(0,n.jsx)(s.default,{...e,children:t=>(0,n.jsx)(tx,{editMode:e.editMode,section:t.section,globalConfig:t.globalConfig,SectionElementWrapper:C.default})})},previewImage:{src:"/_next/static/media/preview.01d957bd.png",height:499,width:890,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAHlBMVEVeXGB9dXVrZmd7bmlxb3NyXVhlVFB1ZmJbTktUSUh8hx9sAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJklEQVR4nB3GwQ0AMAgDsQuE0O6/cKX6ZRa4x6bBiUQXtfNTmWk9B2wAZm5Sm58AAAAASUVORK5CYII=",blurWidth:8,blurHeight:4}}}},98980:(e,t,i)=>{i.d(t,{A:()=>n});function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=/^demo-\d+-(sales|lettings)$/,i=e.toString().match(t);return{isDemo:t.test(e.toString()),channel:i?i[1]:null}}}}]); 12//# sourceMappingURL=52213.8480193175699631.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.