iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://www.bunburymail.com.au/assets/_next/static/chunks/3471.c523d37a8baccd7e.js
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3471],{57965:(e,i,a)=>{a.d(i,{A:()=>r});var s=a(95155),o=a(43463),t=a(39951),n=a(20026);function r(e){var i=e.bgOpacity,a=e.btnText,r=e.className,l=e.description,d=e.imageUrl,m=e.openNewWindow,c=e.speed,h=e.title,g=e.url,p=(0,s.jsx)("div",{className:(0,o.A)("absolute left-0 top-0 block size-full bg-neutral-900",void 0===i?"opacity-30":i)}),x=(0,s.jsxs)("div",{className:"z-10 mx-auto flex size-full max-w-sm flex-col items-center justify-center text-center font-medium md:max-w-lg md:px-6 xl:px-0",children:[(0,s.jsx)("div",{className:"mx-2 line-clamp-3 text-2xl tracking-wide text-white md:text-heading2",children:h}),l&&(0,s.jsx)("div",{className:"mx-4 mt-4 line-clamp-3 max-w-2xl text-center text-sm tracking-wide text-white md:mx-auto md:text-base",children:l}),g&&a&&(0,s.jsx)(n.default,{className:"mt-4 rounded border-2 border-white/20 bg-white/10 px-28 py-2 font-inter text-base text-white shadow-sm hover:bg-white/30 md:px-12 md:py-3.5",href:g,noStyle:!0,target:void 0!==m&&m?"_blank":void 0,children:a})]});return(0,s.jsx)(t.y,{className:void 0===r?"aspect-square h-112 md:aspect-[1.8/1] lg:aspect-[2.5/1] lg:h-128 xl:aspect-[3.5/1]":r,layers:[{children:p,image:d,speed:void 0===c?-30:c},{children:x}]})}},3778:(e,i,a)=>{a.d(i,{A:()=>u});var s=a(39233),o=a(94556),t=a(95155),n=a(43463),r=a(77711),l=a(12115),d=a(94936),m=a(32606),c=a(8143),h=a(23879),g=a(37326),p=(0,r.default)(function(){return Promise.all([a.e(8015),a.e(3598)]).then(a.bind(a,43598))},{loadableGenerated:{webpack:function(){return[43598]}}});function x(e){var i=e.className,a=e.editMode,s=e.forceTimestamp,o=e.headline,r=e.headlineWrapperClassName,d=e.imageHeight,m=e.imageLazyLoad,c=e.imagePosition,p=e.imageResize,x=e.imageStyle,u=e.imageWidth,y=e.imageWrapperClassName,w=e.index,b=e.isFirstLargeHeroInZone,f=e.isHeading,S=e.isLastOrFirstItemInZone,v=e.leadingImageClassName,C=e.lineClamp,N=e.onClick,j=e.sameTabForCanonical,z=e.showByline,F=e.showCanonicalSite,I=e.showSignpost,L=e.showSummaryInStoryList,H=void 0!==L&&L,T=e.showTimestamp,W=e.signpostSourceCommentLayout,B=e.sourceClassName,A=e.story,E=e.storyListId,G=e.summaryFontSize,O=e.textElementsMargin,k=e.titleSize,R=(0,l.useContext)(h.A),P=R.enableOrder,_=R.label,M=R.summaryOptions,Z=(0,g.O)(H,A.summary,A.showSummary,M),U=A.leadImage&&A.showLeadImage;return(0,t.jsxs)("div",{className:(0,n.A)(i,{"md:pt-5.5":S&&Z&&U}),children:[null!=o?o:(0,t.jsx)(g.A,{forceTimestamp:s,headlineWrapperClassName:r,imageHeight:d,imageLazyLoad:void 0===m||m,imagePosition:c,imageResize:void 0!==p&&p,imageStyle:x,imageWidth:u,imageWrapperClassName:y,index:w,isFirstLargeHeroInZone:b,isHeading:void 0===f||f,isLastOrFirstItemInZone:S,leadingImageClassName:v,lineClamp:C,onClick:N,sameTabForCanonical:void 0!==j&&j,showByline:z,showCanonicalSite:void 0!==F&&F,showSignpost:I,showSummaryInStoryList:H,showTimestamp:T,signpostSourceCommentLayout:W,sourceClassName:B,story:A,storyListId:E,summaryFontSize:G,textElementsMargin:O,titleSize:k}),a&&P&&(0,t.jsxs)("div",{className:"absolute bottom-1 right-1 flex",children:[(0,t.jsx)("div",{className:"pr-2 italic text-red-500",children:_}),(0,t.jsx)("div",{className:(0,n.A)("flex size-6 items-center bg-yellow-300 text-xl text-white","justify-center rounded-full"),children:w+1})]})]})}let u=function(e){var i=e.className,a=e.droppable,n=e.index,r=e.isHeading,g=e.story,u=(0,o._)(e,["className","droppable","index","isHeading","story"]),y=(0,l.useContext)(h.A),w=y.storyListId,b=y.zoneItemId,f=(0,d.GV)(function(e){return e.conf.mode}),S=(0,d.GV)(function(e){return e.editmode.layout}),v=f===m.G9.EDIT,C=(0,t.jsx)(x,(0,s._)({className:i,editMode:v,index:n,isHeading:r,story:g,storyListId:w},u));return(0,t.jsx)("div",{className:"flex w-full",children:v&&(void 0===a||a)&&S===c.U.DESKTOP?(0,t.jsx)(p,{className:i,index:n,story:g,storyListId:w,zoneItemId:b,children:C}):C})}},3471:(e,i,a)=>{a.d(i,{bR:()=>I,fy:()=>U,zD:()=>W,yf:()=>L,fx:()=>G,Cm:()=>k,u_:()=>M,UN:()=>O,sK:()=>Z,g7:()=>E});var s=a(95155),o=a(43463),t=a(12115),n=a(94936),r=a(57965),l=a(3778),d=a(39233),m=a(65843),c=a(95055),h=a(77711),g=a(45337),p=a(32606),x=a(20026),u=a(25659),y=a(98623),w=a(5368);let b=function(e){var i=e.alt,a=e.desktopHeight,t=e.desktopWidth,r=e.fixedSize,l=e.height,m=void 0===l?0:l,c=e.image,h=e.lazyLoad,g=e.noTransformUrl,p=e.resize,x=void 0!==p&&p,u=e.style,y=e.tabletHeight,b=e.tabletWidth,f=e.title,S=e.width,v=void 0===S?0:S,C=(0,n.GV)(function(e){return e.settings}).transformUrl,N=function(e,i,a){return"".concat((0,w.WO)({height:i,image:e,transformUrl:C,width:a}),", ").concat((0,w.WO)({height:2*i,image:e,transformUrl:C,width:2*a})," x2")};if(!(0,w.j6)(c))return null;var j=void 0!==g&&g?c.uri:(0,w.WO)({height:m,image:c,transformUrl:C,width:v}),z=(0,s.jsxs)(s.Fragment,{children:[t&&a&&(0,s.jsx)("source",{media:"(min-width: 835px)",srcSet:N(c,a,t)}),b&&y&&(0,s.jsx)("source",{media:"(min-width: 768px) and (max-width: 834px)",srcSet:N(c,y,b)}),(0,s.jsx)("img",{alt:i,className:(0,o.A)("rounded-md brightness-[0.6] group-hover:brightness-50",{"w-full":x}),height:x?void 0:m,loading:void 0===h||h?"lazy":void 0,src:j,srcSet:j,style:(0,d._)({height:"auto",maxWidth:"100%"},u),title:void 0===f?"":f,width:x?void 0:v})]});return t||a||r?(0,s.jsx)("picture",{children:z}):z};var f=(0,h.default)(function(){return Promise.all([a.e(2111),a.e(8015),a.e(3397),a.e(8488)]).then(a.bind(a,58488)).then(function(e){return e.HeadlineEditmode})},{loadableGenerated:{webpack:function(){return[58488]}}}),S=(0,h.default)(function(){return Promise.all([a.e(2111),a.e(8015),a.e(3397),a.e(8488)]).then(a.bind(a,58488)).then(function(e){return e.HeadlineEditmodeImage})},{loadableGenerated:{webpack:function(){return[58488]}}}),v=(0,h.default)(function(){return Promise.all([a.e(2111),a.e(8015),a.e(3397),a.e(8488)]).then(a.bind(a,58488)).then(function(e){return e.HeadlineEditmodeTitle})},{loadableGenerated:{webpack:function(){return[58488]}}});function C(e,i,a){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return e?(0,s.jsx)(a,(0,m._)((0,d._)({},o),{children:i})):(0,s.jsx)(s.Fragment,{children:i})}function N(e){var i,a=e.imageHeight,t=e.imageWidth,r=e.index,l=e.story,d=e.storyListId,m=(0,n.GV)(function(e){return e.conf.mode})===p.G9.EDIT,h=(0,y.RM)("storyList","fontStyle"),w=null!==(i=l.homepageTitle)&&void 0!==i?i:l.title,N=C(m,(0,s.jsx)("p",{className:(0,o.A)("line-clamp-5 text-center text-xl font-bold leading-8 md:text-sm lg:text-xl lg:leading-8",h),children:w}),v),j=C(m,l.leadImage?(0,s.jsxs)(x.default,{className:"group relative flex items-center justify-center",href:l.storyUrl,noStyle:!0,children:[(0,s.jsx)(b,{alt:l.leadImage.description,height:void 0===a?420:a,image:l.leadImage,lazyLoad:!0,noTransformUrl:l.noTransformUrl,title:l.leadImage.description||w,width:void 0===t?372:t}),(0,s.jsxs)("div",{className:"absolute flex h-full max-w-xs flex-col items-center justify-center px-3.5 text-white",children:[(0,s.jsx)(u.Ay,{className:"mb-3.5",customColor:"bg-white text-gray-900",max:1,publishFrom:l.publishFrom,tags:l.tags}),N,(0,s.jsx)("div",{className:"flex items-center justify-center underline-offset-4 group-hover:underline",children:(0,s.jsxs)("div",{className:"absolute bottom-14 font-medium md:bottom-8 md:text-xs lg:bottom-14 lg:text-base",children:["Read full story",(0,s.jsx)(g.y,{className:"ml-2.5 text-sm",color:"rgba(255, 255, 255, 0.8)",icon:c.XkK})]})})]})]},l.snapshot):null,S);return C(m,j,f,{index:r,story:l,storyListId:d})}var j=a(52982),z=a(23879),F=a(74523);function I(e){var i=e.droppable,a=void 0===i||i,o=e.stories,n=(0,t.useContext)(z.A).storyListId;return(0,s.jsx)(s.Fragment,{children:o.map(function(e){return(0,s.jsx)("div",{children:(0,s.jsx)(l.A,{droppable:a,headline:(0,s.jsx)(N,{imageHeight:420,imageWidth:372,index:e.index-1,story:e.story,storyListId:n}),index:e.index-1,showSummaryInStoryList:!0,story:e.story})},e.story.id)})})}function L(e){var i=e.droppable,a=void 0===i||i,o=e.imageLazyLoad,t=void 0!==o&&o,n=e.onClick,r=e.sameTabForCanonical,d=void 0!==r&&r,m=e.showByline,c=void 0===m||m,h=e.showCanonicalSite,g=void 0!==h&&h,p=e.showSignpost,x=void 0===p||p,u=e.stories,w=e.summaryFontSize,b=(0,y.RM)("storyList","smTitleSize");return(0,s.jsx)(s.Fragment,{children:u.map(function(e){return(0,s.jsx)("div",{children:(0,s.jsx)(l.A,{className:"my-4 grow",droppable:a,imageHeight:183,imageLazyLoad:t,imagePosition:j.zH.ABOVE,imageResize:!0,imageStyle:{width:"100%"},imageWidth:274,index:e.index-1,onClick:n,sameTabForCanonical:d,showByline:c,showCanonicalSite:g,showSignpost:x,showSummaryInStoryList:!0,showTimestamp:!0,story:e.story,summaryFontSize:w,titleSize:b},e.story.id)},e.story.id)})})}function H(e){var i,a,n=e.disableBottomBorder,r=e.droppable,d=void 0===r||r,m=e.sameTabForCanonical,c=void 0!==m&&m,h=e.showCanonicalSite,g=void 0!==h&&h,p=e.showSignpost,x=void 0===p||p,u=e.stories,w=e.summaryFontSize,b="",f="",S=(0,y.RM)("storyList","smTitleSize");return(0,s.jsx)("div",{className:"w-full flex-none md:flex",children:u.slice(0,2).map(function(e,r){switch(r%2){case 0:i=89,a=120,f="md:my-5 my-4 md:pr-7 w-full",b=(0,o.A)("flex w-full md:w-1/2 border-b",{"md:border-b-0":n});break;case 1:i=89,a=120,f="md:my-5 my-4 md:pl-6 md:border-l w-full",b=(0,o.A)("flex w-full md:w-1/2",{"border-b":!n})}return(0,s.jsx)(t.Fragment,{children:(0,s.jsx)("div",{className:(0,o.A)("relative",b),children:(0,s.jsx)(l.A,{className:f,droppable:d,imageHeight:i,imagePosition:j.zH.RIGHT_BEGIN,imageWidth:a,imageWrapperClassName:"w-120",index:e.index-1,sameTabForCanonical:c,showByline:!0,showCanonicalSite:g,showSignpost:x,showSummaryInStoryList:!0,showTimestamp:!0,story:e.story,summaryFontSize:w,titleSize:S},e.story.id)},e.story.id)},r)})})}function T(e){var i=e.className,a=e.desktopImagePosition,t=void 0===a?j.zH.RIGHT:a,n=e.disableBottomBorder,r=e.droppable,d=void 0!==r&&r,m=e.imageLazyLoad,c=void 0!==m&&m,h=e.isFirstLargeHeroInZone,g=e.mobileImagePosition,p=void 0===g?j.zH.BELOW:g,x=e.sameTabForCanonical,u=void 0!==x&&x,w=e.showCanonicalSite,b=void 0!==w&&w,f=e.showSignpost,S=void 0===f||f,v=e.sourceClassName,C=void 0===v?"":v,N=e.stories,z=e.summaryFontSize,F=N[0],I=(0,y.RM)("storyList","heroTitleSize");return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:(0,o.A)("relative hidden pb-5.5 md:flex",void 0===i?"":i,{"border-b":!n}),children:(0,s.jsx)(l.A,{className:"w-full",droppable:d,imageHeight:255,imageLazyLoad:c,imagePosition:t,imageResize:!0,imageWidth:454,imageWrapperClassName:"w-3/5 ml-2",index:F.index-1,isFirstLargeHeroInZone:h,sameTabForCanonical:u,showByline:!0,showCanonicalSite:b,showSignpost:S,showSummaryInStoryList:!0,showTimestamp:!0,sourceClassName:C,story:F.story,summaryFontSize:z,titleSize:I},F.story.id)}),(0,s.jsx)("div",{className:(0,o.A)("relative flex md:hidden",{"border-b":!n}),children:(0,s.jsx)(l.A,{className:"mt-4 grow",droppable:d,imageHeight:255,imageLazyLoad:c,imagePosition:p,imageResize:!0,imageStyle:{width:"100%"},imageWidth:454,index:F.index-1,isHeading:!1,sameTabForCanonical:u,showByline:!0,showCanonicalSite:b,showSignpost:S,showSummaryInStoryList:!0,showTimestamp:!0,sourceClassName:C,story:F.story,summaryFontSize:z,titleSize:I},F.story.id)})]})}function W(e){var i=e.disableBottomBorder,a=e.droppable,t=void 0!==a&&a,n=e.imageHeight,r=e.isLastOrFirstItemInZone,d=e.sameTabForCanonical,m=void 0!==d&&d,c=e.showCanonicalSite,h=void 0!==c&&c,g=e.showSignpost,p=void 0===g||g,x=e.stories,u=e.summaryFontSize,w=x[0],b=(0,y.RM)("storyList","mdTitleSize");return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:(0,o.A)("relative hidden md:flex",{"border-b":!i}),children:(0,s.jsx)(l.A,{className:"w-full py-5.5",droppable:t,imageHeight:n||129,imagePosition:j.zH.RIGHT_BEGIN,imageWidth:174,imageWrapperClassName:"w-174",index:w.index-1,isLastOrFirstItemInZone:r,sameTabForCanonical:m,showByline:!0,showCanonicalSite:h,showSignpost:p,showSummaryInStoryList:!0,showTimestamp:!0,story:w.story,summaryFontSize:u,titleSize:b},w.story.id)}),(0,s.jsx)("div",{className:(0,o.A)("relative flex md:hidden",{"border-b":!i}),children:(0,s.jsx)(l.A,{className:"w-full py-4",droppable:t,imageHeight:89,imagePosition:j.zH.RIGHT_BEGIN,imageWidth:120,imageWrapperClassName:"w-120",index:w.index-1,isHeading:!1,sameTabForCanonical:m,showByline:!0,showCanonicalSite:h,showSignpost:p,showSummaryInStoryList:!0,showTimestamp:!0,story:w.story,summaryFontSize:u,titleSize:b},w.story.id)})]})}function B(e){var i,a,t,n,r=e.disableBottomBorder,d=e.droppable,m=void 0!==d&&d,c=e.isInsideNewswell,h=e.leadingImagePosition,g=e.sameTabForCanonical,p=void 0!==g&&g,x=e.showCanonicalSite,u=void 0!==x&&x,w=e.showSignpost,b=void 0===w||w,f=e.stories,S=e.summaryFontSize,v="",C="",N="",z="",F=!1,I=(0,y.RM)("storyList","smTitleSize"),L=(0,y.RM)("storyList","lgTitleSize"),H=function(e,d,c){switch(d%3){case 0:i=j.zH.RIGHT_BEGIN,t={},a=89,z="w-120",n=120,C="my-5.5 w-full",N=I,v="flex-none border-b md:mr-7";break;case 1:i=h||j.zH.BELOW,F=!0,t={width:"100%"},a=202,z="w-full",n=360,C="my-5.5 md:pl-7 md:border-l w-full",N=L,v=(0,o.A)("flex border-b",{"md:border-b-0":r});break;case 2:i=j.zH.RIGHT_BEGIN,t={},a=89,z="w-120",n=120,C="my-5.5 w-full md:pr-7",N=I,v=(0,o.A)("grow",{"border-b":!r})}return(0,s.jsx)("div",{className:(0,o.A)("relative",v),children:(0,s.jsx)(l.A,{className:C,droppable:m,imageHeight:a,imagePosition:i,imageResize:F,imageStyle:t,imageWidth:n,imageWrapperClassName:z,index:e.index-1,isHeading:c,sameTabForCanonical:p,showByline:!0,showCanonicalSite:u,showSignpost:b,showSummaryInStoryList:!0,showTimestamp:!0,story:e.story,summaryFontSize:S,titleSize:N},e.story.id)},e.story.id)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"hidden w-full flex-none md:flex",children:[(0,s.jsxs)("div",{className:"flex w-1/2 flex-col",children:[f[0]&&H(f[0],0),f[2]&&H(f[2],2)]}),(0,s.jsx)("div",{className:"flex w-full md:w-1/2",children:f[1]&&H(f[1],1)})]}),(0,s.jsx)("div",{className:"flex w-full flex-none md:hidden",children:(0,s.jsxs)("div",{className:"flex w-full flex-col",children:[f[0]&&H(f[0],c?0:1,!1),f[1]&&H(f[1],c?1:0,!1),f[2]&&H(f[2],2,!1)]})})]})}function A(e){var i,a,t,n,r=e.disableBottomBorder,d=e.droppable,m=void 0!==d&&d,c=e.leadingImagePosition,h=e.sameTabForCanonical,g=void 0!==h&&h,p=e.showCanonicalSite,x=void 0!==p&&p,u=e.showSignpost,w=void 0===u||u,b=e.stories,f=e.summaryFontSize,S="",v="",C="",N="",z=!1,F=(0,y.RM)("storyList","smTitleSize"),I=(0,y.RM)("storyList","lgTitleSize"),L=function(e,d){switch(d%3){case 0:i=c||j.zH.BELOW,a=202,z=!0,t={width:"100%"},n=360,N="w-full",C=I,v="md:my-5.5 my-4 md:pr-7 md:border-r w-full",S=(0,o.A)("flex w-full border-b",{"md:border-b-0":r});break;case 1:i=j.zH.RIGHT_BEGIN,z=!1,a=89,t={},n=120,N="w-120",C=F,v="my-5.5 w-full",S="flex-none md:ml-7 border-b";break;case 2:i=j.zH.RIGHT_BEGIN,z=!1,a=89,t={},n=120,N="w-120",v="my-5.5 w-full",C=F,S=(0,o.A)("grow md:pl-7",{"border-b":!r})}return(0,s.jsx)("div",{className:(0,o.A)("relative",S),children:(0,s.jsx)(l.A,{className:v,droppable:m,imageHeight:a,imagePosition:i,imageResize:z,imageStyle:t,imageWidth:n,imageWrapperClassName:N,index:e.index-1,sameTabForCanonical:g,showByline:!0,showCanonicalSite:x,showSignpost:w,showSummaryInStoryList:!0,showTimestamp:!0,story:e.story,summaryFontSize:f,titleSize:C},e.story.id)},e.story.id)};return(0,s.jsxs)("div",{className:"w-full flex-none md:flex",children:[(0,s.jsx)("div",{className:"flex w-full md:w-1/2",children:b[0]&&L(b[0],0)}),(0,s.jsxs)("div",{className:"flex w-full flex-col md:w-1/2",children:[b[1]&&L(b[1],1),b[2]&&L(b[2],2)]})]})}function E(e,i,a,s,o){return a&&(o===j.Oo.NEWSWELL&&s||o!==j.Oo.NEWSWELL&&!i||e)}function G(e){var i=e.disableBottomBorder,a=e.droppable,n=void 0===a||a,r=e.flipStoryDisplay,l=e.isBeforeStoryList,d=void 0!==l&&l,m=e.isHeroImage,c=e.isLastItemInZone,h=e.largeLeadStory,g=e.limit,p=void 0===g?10:g,x=e.offset,u=e.sameTabForCanonical,y=void 0!==u&&u,w=e.showCanonicalSite,b=void 0!==w&&w,f=e.showSignpost,S=void 0===f||f,v=e.stories,C=e.zoneName,N=function(e,a,o){return(0,s.jsx)(t.Fragment,{children:a%2==(r?0:1)?(0,s.jsx)(B,{disableBottomBorder:E(i,d,e,c,C),droppable:n,isInsideNewswell:C===j.Oo.NEWSWELL,leadingImagePosition:C===j.Oo.NEWSWELL?j.zH.BELOW:j.zH.ABOVE,sameTabForCanonical:y,showCanonicalSite:b,showSignpost:S,stories:o,summaryFontSize:"text-sm"}):(0,s.jsx)(A,{disableBottomBorder:E(i,d,e,c,C),droppable:n,leadingImagePosition:C===j.Oo.NEWSWELL?j.zH.BELOW:j.zH.ABOVE,sameTabForCanonical:y,showCanonicalSite:b,showSignpost:S,stories:o,summaryFontSize:"text-sm"})},a)},z=function(e){var a=(0,F.S)(e,3);return a.map(function(e,o){if(a.length===o+1)switch(e.length){case 1:return(0,s.jsx)(t.Fragment,{children:(0,s.jsx)(W,{disableBottomBorder:E(i,d,!0,c,C),droppable:n,isLastOrFirstItemInZone:!0,sameTabForCanonical:y,showCanonicalSite:b,showSignpost:S,stories:e,summaryFontSize:"text-sm"})},o);case 2:return(0,s.jsx)(t.Fragment,{children:(0,s.jsx)(H,{disableBottomBorder:E(i,d,!0,c,C),droppable:n,sameTabForCanonical:y,showCanonicalSite:b,showSignpost:S,stories:e,summaryFontSize:"text-sm"})},o);case 3:return(0,s.jsx)(t.Fragment,{children:N(!0,o,e)},o);default:return(0,s.jsx)(t.Fragment,{},o)}return N(!1,o,e)})};return v.length1?x:1,p-1))]}):(0,s.jsx)(s.Fragment,{children:z(v.slice().splice(x-1,p))})}function O(e){var i=e.droppable,a=void 0===i||i,n=e.imageHeight,r=e.isBeforeStoryList,l=void 0!==r&&r,d=e.isHeroImage,m=e.isLastItemInZone,c=e.largeLeadStory,h=e.limit,g=void 0===h?10:h,p=e.offset,x=e.sameTabForCanonical,u=void 0!==x&&x,y=e.showCanonicalSite,w=void 0!==y&&y,b=e.showSignpost,f=void 0===b||b,S=e.stories,v=e.zoneName,C=function(e){return e.map(function(e){return(0,s.jsx)(t.Fragment,{children:(0,s.jsx)(W,{disableBottomBorder:E(!1,l,!1,m,v),droppable:a,imageHeight:n,sameTabForCanonical:u,showCanonicalSite:w,showSignpost:f,stories:[e]})},e.index)})};return S.length1?p:1,g))]}):(0,s.jsx)(s.Fragment,{children:C(S.slice(p-1,g))})}function k(e){var i=e.droppable,a=void 0===i||i,n=e.onStoryClick,r=e.showCanonicalSite,d=e.stories;return 0===d.length?null:(0,s.jsx)("div",{className:"mb-16 mt-4 flex flex-col md:mt-9 md:flex-row",children:d.map(function(e,i){return(0,s.jsxs)(t.Fragment,{children:[(0,s.jsx)("div",{className:(0,o.A)("hidden xl:flex",{"w-1/3":d.length<=3,"w-1/4":d.length>3}),children:(0,s.jsx)(l.A,{className:(0,o.A)("w-full px-5",{"border-r":i<=2,"pl-0":0===i,"pr-0":3===i}),droppable:a,imageHeight:90,imagePosition:j.zH.RIGHT_BEGIN,imageWidth:90,imageWrapperClassName:"w-[90px]",index:e.index-1,onClick:n,showByline:!1,showCanonicalSite:r,showSignpost:!1,showTimestamp:!0,story:e.story,titleSize:"text-base md:text-sm font-normal line-clamp-4"},e.story.id)}),(0,s.jsx)("div",{className:(0,o.A)("relative flex w-full md:hidden",{"border-b":i<=2}),children:(0,s.jsx)(l.A,{className:"w-full py-4",droppable:a,imageHeight:90,imagePosition:j.zH.RIGHT_BEGIN,imageWidth:90,imageWrapperClassName:"w-[90px]",index:e.index-1,isHeading:!1,showByline:!1,showCanonicalSite:r,showSignpost:!1,showTimestamp:!0,story:e.story,titleSize:"text-base md:text-xl line-clamp-4"},e.story.id)}),i<=1&&(0,s.jsx)("div",{className:"hidden w-1/2 md:flex lg:hidden",children:(0,s.jsx)(l.A,{className:(0,o.A)("w-full",{"border-r pr-4":0===i,"pl-4":1===i}),droppable:a,imageHeight:80,imagePosition:j.zH.RIGHT_BEGIN,imageWidth:80,imageWrapperClassName:"w-[80px]",index:e.index-1,showByline:!1,showSignpost:!1,showTimestamp:!0,story:e.story,titleSize:"text-base md:text-sm font-normal line-clamp-4"},e.story.id)}),i<=2&&(0,s.jsx)("div",{className:"hidden w-1/3 lg:flex xl:hidden",children:(0,s.jsx)(l.A,{className:(0,o.A)("w-full px-4",{"border-r":i<=1,"pl-0":0===i,"pr-0":2===i}),droppable:a,imageHeight:90,imagePosition:j.zH.RIGHT_BEGIN,imageWidth:90,imageWrapperClassName:"w-[90px]",index:e.index-1,showByline:!1,showSignpost:!1,showTimestamp:!0,story:e.story,titleSize:"text-base md:text-sm font-normal line-clamp-4"},e.story.id)})]},e.index)})})}function R(e){var i=e.className,a=e.droppable,t=e.isHeading,n=e.sameTabForCanonical,r=e.showCanonicalSite,d=e.story;return(0,s.jsx)(l.A,{className:(0,o.A)("relative w-full",void 0===i?"":i),droppable:void 0===a||a,headlineWrapperClassName:"",imageHeight:66,imagePosition:j.zH.LEFT,imageWidth:100,imageWrapperClassName:"w-[100px]",index:d.index-1,isHeading:void 0!==t&&t,lineClamp:"line-clamp-3",sameTabForCanonical:void 0!==n&&n,showCanonicalSite:void 0!==r&&r,showSummaryInStoryList:!0,sourceClassName:"mt-2 text-xs font-normal text-gray-500",story:d.story,summaryFontSize:"text-sm",titleSize:"text-base md:text-lg"})}function P(e){var i=e.className,a=e.droppable,t=e.isHeading,n=e.sameTabForCanonical,r=e.showCanonicalSite,d=e.story;return(0,s.jsx)(l.A,{className:(0,o.A)("relative w-full",void 0===i?"":i),droppable:void 0===a||a,headlineWrapperClassName:"",imageHeight:165,imagePosition:j.zH.LEFT,imageWidth:250,imageWrapperClassName:"w-[250px]",index:d.index-1,isHeading:void 0!==t&&t,lineClamp:"line-clamp-3",sameTabForCanonical:void 0!==n&&n,showCanonicalSite:void 0!==r&&r,showSummaryInStoryList:!0,showTimestamp:!0,sourceClassName:"mt-2 text-xs font-normal text-gray-500",story:d.story,summaryFontSize:"text-sm",titleSize:"text-base md:text-lg"})}function _(e){var i=e.className,a=e.droppable,t=e.isHeading,n=e.sameTabForCanonical,r=e.showCanonicalSite,d=e.story;return(0,s.jsx)(l.A,{className:(0,o.A)("relative w-full",void 0===i?"":i),droppable:void 0===a||a,headlineWrapperClassName:"",imageHeight:400,imagePosition:j.zH.ABOVE,imageResize:!0,imageWidth:600,imageWrapperClassName:"w-full h-44 md:h-32 lg:h-40",index:d.index-1,isHeading:void 0!==t&&t,lineClamp:"line-clamp-3",sameTabForCanonical:void 0!==n&&n,showCanonicalSite:void 0!==r&&r,showSummaryInStoryList:!0,sourceClassName:"mt-3 text-sm font-normal text-gray-500",story:d.story,summaryFontSize:"text-sm",textElementsMargin:"mt-3 md:mt-2",titleSize:"text-lg"},d.story.id)}function M(e){var i=e.droppable,a=void 0===i||i,t=e.sameTabForCanonical,n=void 0!==t&&t,r=e.showAll,l=void 0!==r&&r,d=e.showCanonicalSite,m=void 0!==d&&d,c=e.stories,h=c.length;return(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-y-6 divide-y-1 divide-gray-300 md:grid-cols-3 md:gap-[1.625rem] md:divide-y-0 lg:grid-cols-4",children:[(0,s.jsx)(_,{droppable:a,isHeading:!0,sameTabForCanonical:n,showCanonicalSite:m,story:c[0]}),c.slice(1,h).map(function(e,i){var t=l||i+1{a.d(i,{S:()=>function e(i,a){return i.length<=a?[i]:[i.slice(0,a)].concat((0,s._)(e(i.slice(a),a)))}});var s=a(20106)}}]);