1"use strict";(self.webpackChunktheme_boilerplate=self.webpackChunktheme_boilerplate||[]).push([[8896],{7245:function(e,t,r){var n=r(7294);t.Z=function(){return n.createElement("svg",{focusable:"false",className:"icon-solid icon-bathroom",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 52 48"},n.createElement("title",null,"Bathroom Icon"),n.createElement("desc",null,"Icon set Bathroom"),n.createElement("path",{d:"M52,29.5v2A1.5,1.5,0,0,1,50.5,33H50V43.4A1.8,1.8,0,0,1,48.2,45H3.8A1.8,1.8,0,0,1,2,43.4V33H1.5A1.5,1.5,0,0,1,0,31.5v-2A1.5,1.5,0,0,1,1.5,28H43.6V8.8a1.3,1.3,0,0,0-1.4-1.3H31.1a1.2,1.2,0,0,0-1.3,1.2v1.6h5A2.2,2.2,0,0,1,37,12.6a2.2,2.2,0,0,1-2.2,2.2H20.2A2.2,2.2,0,0,1,18,12.6a2.2,2.2,0,0,1,2.2-2.3h5.2V8.7A5.7,5.7,0,0,1,31.1,3H42.2A5.8,5.8,0,0,1,48,8.8V28h2.5A1.5,1.5,0,0,1,52,29.5Z"}))}},7514:function(e,t,r){var n=r(7294);t.Z=function(){return n.createElement("svg",{focusable:"false",className:"icon-solid icon-bedroom",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 52 48"},n.createElement("title",null,"Bedroom Icon"),n.createElement("desc",null,"Icon set Bedroom"),n.createElement("path",{d:"M52 19.5v22a1.5 1.5 0 0 1-1.5 1.5h-2a1.5 1.5 0 0 1-1.5-1.5V33H5v8.5A1.5 1.5 0 0 1 3.5 43h-2A1.5 1.5 0 0 1 0 41.5v-35A1.5 1.5 0 0 1 1.5 5h2A1.5 1.5 0 0 1 5 6.5V28h14V18h31.5a1.5 1.5 0 0 1 1.5 1.5zM12 26a5 5 0 0 0 0-10 5 5 0 0 0 0 10z"}))}},570:function(e,t,r){var n=r(7294);t.Z=function(){return n.createElement("svg",{focusable:"false",className:"icon-solid icon-reception",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 52 48"},n.createElement("title",null,"Reception Icon"),n.createElement("desc",null,"Icon set Reception"),n.createElement("path",{d:"M52,22.6v21a1.5,1.5,0,0,1-1.5,1.5h-7A1.5,1.5,0,0,1,42,43.6V42H10v1.6a1.5,1.5,0,0,1-1.5,1.5h-7A1.5,1.5,0,0,1,0,43.6v-21a1.5,1.5,0,0,1,1.5-1.5h7A1.5,1.5,0,0,1,10,22.6V32H42V22.6a1.5,1.5,0,0,1,1.5-1.5h7A1.5,1.5,0,0,1,52,22.6Zm-40-2V30H40V20.6a1.5,1.5,0,0,1,1.5-1.5h7.6V9a6,6,0,0,0-6-6H8.9a6,6,0,0,0-6,6V19.1h7.6A1.5,1.5,0,0,1,12,20.6Z"}))}},2134:function(e,t,r){r.d(t,{Z:function(){return m}});var n=r(7294),o=r(5697),i=r.n(o),a=r(7514),l=r(7245),c=r(570),s=function(e){var t=e.IconComponent,r=e.text;return n.createElement("div",{className:"icon-with-text-wrapper"},n.createElement("div",{className:"icon-with-text-wrapper__icons-icon"},n.createElement(t,null)),n.createElement("span",{className:"icon-with-text-wrapper__icons-text"},r))},u=["flat","apartment","penthouse","maisonnette"],p=function(e){var t,r=e.data,o=e.fullWidth,i=e.removeAddressMargin,p=r.address,m=r.channel,f=r.bedrooms,d=r.bathrooms,v=r.priceValue,y=r.propertyUrl,h=r.propertyType,b=r.receptionRooms,w=r.mainPropertyPhoto,g=r.mainPropertyThumbnail,E=r.rentPw,A=function(){return w||g||null},O=(t=h,u.some((function(e){return t.includes(e)}))),S="".concat(f>0?"".concat(f," bedrooms "):"").concat(h," ").concat("sales"===m?" for sale":" to let");return n.createElement("a",{href:y,className:"small-property-card ".concat(o?"small-property-card--w-full":"")},n.createElement("div",{className:"small-property-card__img-wrapper ".concat(o?"small-property-card__img-wrapper--w-full":"")},A()&&n.createElement("img",{alt:"Thumbnail for ".concat(p),src:A(),className:"img"})),n.createElement("div",{className:"small-property-card__property-info property-info"},n.createElement("span",{className:"property-info__price"},"sales"===m?"£".concat(v.toLocaleString("en-GB")):"".concat(E||"£".concat(v.toLocaleString("en-GB")," pcm"))),p&&n.createElement("span",{className:"property-info__address ".concat(i?"property-info__address--no-margin":"")},p),S&&n.createElement("span",{className:"property-info__bedrooms"},S)),n.createElement("div",{className:"small-property-card__icons-wrapper"},Boolean(f||O)&&n.createElement(s,{IconComponent:a.Z,text:f||"Studio"}),b>0&&n.createElement(s,{IconComponent:c.Z,text:b}),d>0&&n.createElement(s,{IconComponent:l.Z,text:d})))};p.propTypes={data:i().object.isRequired,fullWidth:i().bool,removeAddressMargin:i().bool},p.defaultProps={fullWidth:!1,removeAddressMargin:!1};var m=p},8896:function(e,t,r){r.r(t);var n=r(7294),o=r(3967),i=r.n(o),a=r(1992),l=r(2134),c=r(2286),s=r(7349),u=r(2984);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?m(Object(r),!0).forEach((function(t){var n,o,i,a;n=e,o=t,i=r[t],a=function(e,t){if("object"!=p(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==p(a)?a:String(a))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}(0,a.z2)();var y={slidesPerView:1,centerInsufficientSlides:!0,spaceBetween:10,breakpoints:{430:{slidesPerView:1.6},540:{slidesPerView:2},800:{slidesPerView:3},1024:{slidesPerView:4},1280:{slidesPerView:5},1540:{slidesPerView:6}}};t.default=function(e){var t=e.className,r=e.properties,o=e.swiperParams,a=d((0,n.useState)(f(f({},y),o)),1)[0],p=(0,n.useRef)(null),m=d((0,n.useState)({}),2),v=m[0],h=m[1],b=(0,u.Z)().screenWidth;return(0,n.useEffect)((function(){var e=p.current;Object.assign(e,a),e.initialize();var t=e.swiper,r=t.isBeginning,n=t.isEnd;h((function(e){return f(f({},e),{},{isBeginning:r,isEnd:n})}));var o=function(){var t=e.swiper,r=t.isBeginning,n=t.isEnd;h((function(e){return f(f({},e),{},{isBeginning:r,isEnd:n})}))};return e.addEventListener("slidechange",o),function(){e.removeEventListener("slidechange",o)}}),[]),n.createElement("div",{className:i()("properties-slider",t)},n.createElement("swiper-container",{ref:p,init:"false"},r.map((function(e){return n.createElement("swiper-slide",{key:e.propertyID},n.createElement(l.Z,{data:e}))}))),!(1===r.length||2===r.length&&b>=730||3===r.length&&b>=1050||4===r.length&&b>=1370)&&n.createElement("div",{className:i()("properties-slider__slider-navigation",{"properties-slider__slider-navigation--hide":(null==v?void 0:v.isBeginning)&&(null==v?void 0:v.isEnd)})},n.createElement(c.Z,{disabled:null==v?void 0:v.isBeginning,onClick:function(){var e;null!=p&&null!==(e=p.current)&&void 0!==e&&e.swiper.slidePrev()&&p.current.swiper.slidePrev()}}),n.createElement(s.Z,{disabled:null==v?void 0:v.isEnd,onClick:function(){var e;null!=p&&null!==(e=p.current)&&void 0!==e&&e.swiper.slideNext()&&p.current.swiper.slideNext()}})))}},2984:function(e,t,r){var n=r(7294);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var i=function(){var e=window;return{screenWidth:e.innerWidth,screenHeight:e.innerHeight}};t.Z=function(){var e,t,r=(e=(0,n.useState)(i()),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=r[0],l=r[1];return(0,n.useEffect)((function(){function e(){l(i())}return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]),a}}}]);
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.