1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1396],{17513:(t,r,o)=>{o.d(r,{u:()=>a});var e=o(3522);function a(t,r,o,a,n){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;if(!r)return[];var i=r.filter(function(r){return"signpost-breaking"===r?(0,e.qF)(t,new Date(o),432e5):/^signpost-subscriber/.test(r)?!a:/^signpost-free/.test(r)?!n:r.startsWith("signpost-")});return -1===c?i:i.splice(0,c)}},31817:(t,r,o)=>{o.d(r,{$8:()=>p,GI:()=>b,Ix:()=>l,JE:()=>x,Pz:()=>i,Sz:()=>h,WO:()=>v,es:()=>d,gf:()=>w,j6:()=>y,py:()=>f,vX:()=>m});var e,a,n=o(76367),c=o(91167),i=((e={}).CROP="crop",e.SCALE="scale",e.MAX="max",e),s={landscape:"aspect-w-16 aspect-h-9",portrait:"",square:"aspect-w-1 aspect-h-1",strap:""};function l(t){return s[function(t){var r="landscape";if(t){var o=t.cropHeight,e=t.cropWidth;void 0!==o&&void 0!==e&&(Math.min(e,o)/Math.max(e,o)>.8?r="square":o/e<.3?r="strap":o>e&&(r="portrait"))}return r}(t)]}var u={c100x66:{f:"crop",h:66,w:100},c105x70:{f:"crop",h:70,w:105},c200x132:{f:"crop",h:132,w:200},c284x270:{f:"crop",h:270,w:284},c370x246:{f:"crop",h:246,w:370},c370x270:{f:"crop",h:270,w:370},c576x298:{f:"crop",h:298,w:576},c627x561:{f:"crop",h:561,w:627},c700x400:{f:"crop",h:400,w:770},c800x561:{f:"crop",h:561,w:800},c1200x678:{f:"crop",h:678,w:1200},cartoon:{f:"crop",h:365,w:500},cartoonLarge:{f:"crop",h:730,w:1e3},deep:{f:"crop",h:630,w:470},exploreTravel:{f:"crop",h:651,w:980},feature:{f:"crop",h:300,w:850},iphone:{f:"crop",h:320,w:320},iphone2x:{f:"scale",h:640,w:640},large:{f:"crop",h:678,w:1200},medium:{f:"crop",h:298,w:576},postcard:{f:"crop",h:180,w:270},small:{f:"crop",h:246,w:370},square:{f:"crop",h:320,w:470},thumbnail:{f:"crop",h:90,w:130},thumbnailLarge:{f:"crop",h:145,w:215},thumbnailSmall:{f:"crop",h:60,w:90},tiny:{f:"crop",h:132,w:200},wide:{f:"crop",h:210,w:370}};function d(t){var r,o,e=t.sourceHeight,a=t.sourceWidth,n={cropHeight:e,cropWidth:a,cropX:0,cropY:0,focalX:Math.round(a/2),focalY:Math.round(e/2),scale:1};return a>=e&&(a/e>16/9?(n.cropHeight=e,n.cropWidth=16*e/9):a/e<16/9&&(n.cropWidth=a,n.cropHeight=9*a/16),n.cropX=(a-(null!=(r=n.cropWidth)?r:0))/2,n.cropY=(e-(null!=(o=n.cropHeight)?o:0))/2),n.cropX<0&&(n.cropX=0),n.cropY<0&&(n.cropY=0),n}function h(t){var r=t.aspect,o=t.focalX,e=t.focalY,a=t.height,n=void 0===a?1:a,c=t.scale,i=void 0===c?1:c,s=t.width,l=void 0===s?1:s,u=l/i,d=n/i;r>l/n?d=u/r:u=d*r;var h=e-e/n*d;return{height:Math.round(d),topX:Math.round(o-o/l*u),topY:Math.round(h),width:Math.round(u)}}var f=((a={}).JPG="jpg",a.WEBP="webp",a);function p(t){var r=t.fit,o=t.height,e=t.ignoreCrop,a=void 0!==e&&e,i=t.image,s=t.outputFormat,l=void 0===s?"jpg":s,d=t.size,f=t.useFocalPoint,p=void 0===f||f,g=t.width,m="cropConfig"in i?i.cropConfig:void 0,v={f:"crop",h:o,w:g};if(d&&!(v=(0,n._)({},u[d])))throw Error("Unsupported transform size ".concat(d));if(r&&(v.f=r),v.path=i.uri.replace(/^\/+|\/+$/g,""),void 0===v.h&&(v.h=0),void 0===v.w&&(v.w=0),void 0===v.f&&(v.f="crop"),a||!((w="cropConfig"in i?i.cropConfig:void 0)&&w.cropWidth))v.transform="resize",v.request=0!==v.h?"w".concat(v.w,"_h").concat(v.h,"_f").concat(a?"max":v.f,".").concat(l):"w".concat(v.w,"_h").concat(v.h,".").concat(l,"?resize_filter=lanczos2&quality=100");else{var w,x,y,b,_=function(t,r){var o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],e="cropConfig"in t?t.cropConfig:void 0;if(!e)return[];if(o&&void 0!==e.focalX&&void 0!==e.focalY){var a=h({aspect:r,focalX:e.focalX-e.cropX,focalY:e.focalY-e.cropY,height:e.cropHeight,width:e.cropWidth}),n=Math.round(a.topX+e.cropX),c=Math.round(a.topY+e.cropY);return[[n,c],[Math.round(n+a.width),Math.round(c+a.height)]]}return[[Math.round(e.cropX),Math.round(e.cropY)],[Math.round(e.cropX+(e.cropWidth||0)),Math.round(e.cropY+(e.cropHeight||0))]]}(i,0===v.h?1:v.w/v.h,p);v.transform="crop",x=(0,c._)(_,2),y=(0,c._)(x[0],2),v.x1=y[0],v.y1=y[1],b=(0,c._)(x[1],2),v.x2=b[0],v.y2=b[1],p&&(null==m?void 0:m.focalX)!==void 0&&(v.f="max"),v.request="r".concat(v.x1,"_").concat(v.y1,"_").concat(v.x2,"_").concat(v.y2,"_")+"w".concat(v.w,"_h").concat(v.h,"_f").concat(v.f,".").concat(l)}return v}function g(t){var r=p(t),o="transform/v1/".concat(r.transform,"/frm/").concat(r.path,"/");return"".concat(o).concat(r.request)}function m(t){var r=p(t);return[r.x1+r.x2,r.y1+r.y2]}function v(t){var r=t.fit,o=t.height,e=t.ignoreCrop,a=t.image,n=t.outputFormat,c=t.size,i=t.transformUrl,s=t.useFocalPoint,l=t.width;if(c&&(l||o))throw Error("Cannot use fixedSize and dimensions together");
1return"".concat(i).concat(g({fit:r,height:o,ignoreCrop:e,image:a,outputFormat:n,size:c,useFocalPoint:s,width:l}))}function w(t){var r=t.fit,o=t.height,e=t.image,a=t.outputFormat,n=t.transformUrl,c=t.width;return"".concat(n).concat(g({fit:void 0===r?"crop":r,height:o,ignoreCrop:!1,image:e,outputFormat:a,useFocalPoint:!1,width:c}))}function x(t){var r=t.height,o=t.image,e=t.outputFormat,a=t.transformUrl,n=t.width;return"".concat(a).concat(g({height:r,ignoreCrop:!0,image:o,outputFormat:void 0===e?"jpg":e,useFocalPoint:!1,width:n}))}function y(t){return"uri"in t&&!!t.uri}function b(t){return new Promise(function(r){var o=new Image;o.onload=function(){return r(!0)},o.onerror=function(){return r(!1)},o.src=t})}},71045:(t,r,o)=>{o.d(r,{SQ:()=>p,X_:()=>h,bp:()=>u,rF:()=>f,xN:()=>d});var e=o(76367),a=o(30694),n=o(73321),c=o(62715),i=o(70044),s=o(63233),l=o(42696);function u(t,r){(0,s.CI)({data:{ad_category:t.categoryText||t.category.name,ad_date:t.publicationDate,ad_id:t.id,ad_title:t.title},event:r})}function d(t,r,o){var n,c,i,l,u;(0,s.CI)({data:(0,a._)((0,e._)({},t),{ad_category:void 0,ad_date:void 0,ad_id:void 0,ad_title:void 0,businessCategory:null!=(n=t.businessCategory)?n:void 0,businessName:null!=(c=t.businessName)?c:void 0,category:null!=(i=t.category)?i:void 0,signPost:null!=(l=t.signPost)?l:void 0,ugc_id:null!=(u=t.ugc_id)?u:void 0}),event:r,storyTags:null!=o?o:void 0})}function h(t,r){return r===i.It?t.images[1]:t.logo}function f(t){if(t.dateBorn){var r,o,e,a=new Date(t.dateBorn);if(t.dateDeceased){var n=new Date(t.dateDeceased);e=n.getFullYear();var c=Math.floor((n.getTime()-a.getTime())/1e3/60/60/24);r=0;for(var i=a.getFullYear();i<=n.getFullYear();i+=1){var s,u=(s=i)%4==0&&(s%100!=0||s%400==0)?366:365;c>=u&&(c-=u,r+=1)}}o=a.getFullYear()}else t.yearDeceased&&(e=t.yearDeceased,t.yearBorn&&(o=t.yearBorn));var d=[];return e&&(o?d.push("".concat(o," - ").concat(e)):d.push(e.toString())),void 0!==r&&d.push("Aged ".concat(r," year").concat((0,l.LS)(r))),d}function p(){var t,r,o,e,a,i=(0,n.useSearchParams)(),s=null!=(t=null==i||null==(e=i.get("q"))?void 0:e.trim())?t:"",l=null!=(r=null==i||null==(a=i.get("date"))?void 0:a.trim())?r:"",u=null!=(o=null==i?void 0:i.get("location"))?o:"",d=(0,c.GV)(function(t){return t.features.ugc.enabled&&t.features.ugc.data.useRegion}),h=null==i?void 0:i.get("region");return{date:l,isSearching:!!(s||l||u),location:u,query:s,region:null===h?d:"1"===h,regionDefault:d}}},91396:(t,r,o)=>{o.d(r,{A:()=>f});var e=o(60143),a=o(29722),n=o(45159),c=o(62715),i=o(65019),s=o(17513),l=o(71045),u=o(31817),d=o(3522),h="local-partner-";let f=function(t){var r,o,f,p=t.imageClassName,g=t.onClick,m=t.story,v=t.titleClassName,w=m.storyUrl||m.url,x=(0,d.S_)(),y=(0,c.GV)(function(t){return t.settings.transformUrl}),b=null==(o=m.tags)||null==(r=o.find(function(t){return t.startsWith(h)}))?void 0:r.substring(h.length),_=(0,n.useCallback)(function(){null==g||g();var t=(0,s.u)(x,m.tags,m.publishFrom,!0,!0,-1);(0,l.xN)({action:"click",businessCategory:b,businessName:m.byline||void 0,category:"articles",label:m.title,section:"Local Partners",signPost:t.map(function(t){return t.substring(9)})},"community_interaction",m.tags)},[b,x,g,m.byline,m.publishFrom,m.tags,m.title]);return(0,e.jsxs)("div",{className:"flex w-full border-b border-gray-300 py-5.5 text-gray-900 last:border-b-0",children:[(0,e.jsxs)("div",{className:"mr-4 flex w-full grow flex-col items-start justify-start gap-y-2 md:mr-2",children:[(0,e.jsxs)(i.A,{className:"flex flex-col gap-y-2",href:w,noStyle:!0,onClick:_,children:[(0,e.jsx)("h3",{className:(0,a.A)("line-clamp-2 text-base font-semibold leading-6 visited:text-gray-900 hover:text-gray-900 hover:opacity-70 md:line-clamp-1",v),children:m.title}),(0,e.jsx)("div",{className:"mb-2 line-clamp-2 hidden items-center text-xs text-gray-900 md:flex md:text-sm",children:m.summary})]}),(0,e.jsx)("div",{className:"flex items-center text-xs font-medium text-gray-900 md:text-sm",children:m.byline}),b&&(0,e.jsx)("div",{className:"flex items-center text-xs capitalize text-gray-500 md:text-sm",children:b})]}),(null==(f=m.leadImage)?void 0:f.uri)&&(0,e.jsx)(i.A,{className:"flex w-3/12 shrink-0 flex-col items-center justify-center md:w-1/5",href:w,noStyle:!0,onClick:_,children:(0,e.jsx)("img",{alt:m.title,className:(0,a.A)("size-20 rounded-xl object-cover md:size-30",p),src:(0,u.WO)({fit:u.Pz.MAX,height:400,image:{uri:m.leadImage.uri},outputFormat:u.py.WEBP,transformUrl:y,width:400})})})]})}}}]);
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.