1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1043],{21358:()=>{},51043:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>g});var t,l=s(91167),i=s(60143),n=s(45159),a=s(62715),c=s(69436),o=s(54504),d=s(70709),u=s(92584),h=s(54166),x=s(65019),m=((t={}).AUCTION="auction",t.FOR_SALE="for_sale",t),f=s(63233);let p=function(e){var r=e.farmbuyProperty,s=r.address1,t=r.address2,l=r.agencyLogoUrl,n=r.bathroom,a=r.bedroom,c=r.description,o=r.finalUrl,d=r.imageUrl,p=r.listingType,g=r.priceOrDate;return(0,i.jsx)("div",{className:"w-72 rounded-lg border border-solid border-gray-300 bg-white shadow-sm",children:(0,i.jsxs)(x.A,{href:o,noStyle:!0,onClick:function(){(0,f.qE)({label:"farmbuy_property_click",trigger:"farmbuy_property_trigger"})},target:"_blank",children:[(0,i.jsx)("img",{alt:"Farmbuy Property",className:"h-40 w-full rounded-t-lg object-fill",src:d}),(0,i.jsxs)("div",{className:"relative p-3 pb-5 text-sm text-gray-600",children:[(0,i.jsx)("p",{className:"text-base font-bold text-gray-800",children:s}),(0,i.jsx)("p",{className:"",children:t}),(0,i.jsxs)("div",{className:"mt-3 flex gap-6 font-semibold",children:[!!a&&(0,i.jsxs)("div",{children:[(0,i.jsx)(h.y,{className:"mr-2",icon:u.T4C}),a]}),!!n&&(0,i.jsxs)("div",{children:[(0,i.jsx)(h.y,{className:"mr-2",icon:u.VsA}),n]}),(0,i.jsx)("span",{children:void 0===c?"":c})]}),p===m.FOR_SALE?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"text-sm",children:"For Sale"}),(0,i.jsxs)("div",{className:"text-xs",children:[(0,i.jsx)("span",{className:"font-bold",children:"$"})," ",g]})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"text-sm",children:"Auction"}),(0,i.jsxs)("div",{className:"align-bottom text-xs",children:[(0,i.jsx)(h.y,{className:"mr-1",icon:u.pnh})," ",g]})]}),l&&(0,i.jsx)("img",{alt:"Agency Logo",className:"absolute bottom-3 right-3 max-h-8 max-w-24",src:l})]})]})})},g=function(){var e=(0,a.GV)(function(e){return e.conf.publication}),r=(0,l._)((0,n.useState)([]),2),s=r[0],t=r[1],u=(0,l._)((0,n.useState)(!1),2),h=u[0],x=u[1];return((0,o.H5)(function(){return(0,d.Aw)().then(function(e){t(e.properties),x(!0)}).catch(console.error),!0},[]),h)?(0,i.jsx)("div",{className:"my-4",children:(0,i.jsx)(c.A,{childWidth:288,children:s.filter(function(r){return"*"===r.mastheads||r.mastheads.includes(e)}).map(function(e){return(0,i.jsx)(p,{farmbuyProperty:e},e.id)})})}):null}},69436:(e,r,s)=>{"use strict";s.d(r,{A:()=>p});var t=s(76367),l=s(30694),i=s(91167),n=s(60143),a=s(92584),c=s(29722),o=s(45159),d=s(54166),u=s(86038),h=s(62715);s(21358),s(75830);var x=s(78053),m=s.n(x);function f(e){var r=e.showNextArrow,s=e.showPrevArrow,t=e.sliderRef;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{"aria-label":"Previous",disabled:!s,onClick:function(){t.current&&t.current.slickPrev()},type:"button",children:(0,n.jsx)("div",{className:(0,c.A)("absolute inset-y-[35%] left-0 z-10 -ml-4 size-10 rounded-full bg-white p-2.5 text-center text-sm font-medium text-white ring-1 ring-gray-300 drop-shadow-md hover:opacity-90",{hidden:!s}),children:(0,n.jsx)(d.y,{className:"place-self-center text-lg text-gray-700",icon:a.Wzs})})}),(0,n.jsx)("button",{"aria-label":"Next",disabled:!r,onClick:function(){t.current&&t.current.slickNext()},type:"button",children:(0,n.jsx)("div",{className:(0,c.A)("absolute inset-y-[35%] right-0 z-10 -mr-4 size-10 rounded-full bg-white p-2.5 text-center text-sm font-medium text-white ring-1 ring-gray-300 drop-shadow-md hover:opacity-90",{hidden:!r}),children:(0,n.jsx)(d.y,{className:"place-self-center text-lg text-gray-700",icon:a.XkK})})})]})}let p=function(e){var r,s=e.childWidth,a=e.children,d=(0,i._)((0,o.useState)(0),2),x=d[0],p=d[1],g=(0,h.GV)(function(e){return e.page.hasTakeoverAd}),b=(0,h.GV)(function(e){return e.settings.viewType}),j=(0,o.useRef)(null),v=(0,o.useRef)(null),y=(null==v||null==(r=v.current)?void 0:r.offsetWidth)&&s?Math.floor(v.current.offsetWidth/s):1,N=o.Children.count(a),w={arrows:!1,beforeChange:function(e,r){return p(r)},dots:!1,easing:"easeInOut",infinite:!1,slidesToScroll:y,slidesToShow:y,speed:300,variableWidth:!0},A=x+w.slidesToShow<N;return N?(0,n.jsx)("div",{className:"relative flex flex-col",ref:v,children:(0,n.jsxs)("div",{className:"flex",children:[j&&(0,n.jsx)(f,{showNextArrow:A,showPrevArrow:x>0,sliderRef:j}
1),(0,n.jsx)("div",{className:(0,c.A)("mb-4 w-full",m().slickWrapper),children:(0,n.jsx)(u.A,(0,l._)((0,t._)({className:(0,c.A)("flex flex-row",b,{hasTakeoverAd:g}),ref:j},w),{children:a}))})]})}):null}},75830:()=>{},78053:e=>{e.exports={slickWrapper:"slider_slickWrapper__oNBDj"}}}]);
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.