PageSourceSearch

https://www.bendigoadvertiser.com.au/assets/_next/static/chunks/811.81992c43e0009412.js

js bendigoadvertiser.com.au collected 2026-10-02 05:03:32 UTC 14,382 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[811],{25573:(e,t,o)=>{o.d(t,{A:()=>x});var r=o(76367),n=o(22514),a=o(60143),i=o(29722),s=o(14825),c=o(45159),l=o(62715),d=o(98165),u=o(10184),m=o(69274),h=o(355),f=o(6374),p=(0,s.default)(function(){return Promise.all([o.e(5702),o.e(8067)]).then(o.bind(o,18067))},{loadableGenerated:{webpack:function(){return[18067]}}});function g(e){var t=e.className,o=e.editMode,r=e.forceTimestamp,n=e.headline,s=e.headlineWrapperClassName,l=e.hideCommentComponent,d=e.imageHeight,u=e.imageLazyLoad,p=e.imagePosition,g=e.imageResize,x=e.imageStyle,v=e.imageWidth,w=e.imageWrapperClassName,y=e.index,b=e.isFirstLargeHeroInZone,C=e.isHeading,I=e.isLastOrFirstItemInZone,j=e.leadingImageClassName,N=e.lineClamp,S=e.onClick,_=e.sameTabForCanonical,z=e.showByline,L=e.showCanonicalSite,P=e.showImagePlayIcon,k=e.showSignpost,A=e.showSummaryInStoryList,M=void 0!==A&&A,F=e.showTimestamp,E=e.signPostClassName,H=e.signPostColorPalette,T=e.signpostSourceCommentLayout,W=e.sourceClassName,X=e.story,O=e.storyListId,Y=e.summaryClassName,G=e.summaryFontSize,U=e.textElementsMargin,q=e.titleClassName,D=e.titleSize,V=(0,c.useContext)(m.A),B=V.enableOrder,J=V.label,Z=V.summaryOptions,R=(0,f.O)(M,X.summary,X.showSummary,Z),$=X.leadImage&&X.showLeadImage;return(0,a.jsxs)("div",{className:(0,i.A)(t,{"md:pt-5.5":I&&R&&$}),children:[null!=n?n:(0,a.jsx)(h.A,{forceTimestamp:r,headlineWrapperClassName:s,hideCommentComponent:l,imageHeight:d,imageLazyLoad:void 0===u||u,imagePosition:p,imageResize:void 0!==g&&g,imageStyle:x,imageWidth:v,imageWrapperClassName:w,index:y,isFirstLargeHeroInZone:b,isHeading:void 0===C||C,isLastOrFirstItemInZone:I,leadingImageClassName:j,lineClamp:N,onClick:S,sameTabForCanonical:void 0!==_&&_,showByline:z,showCanonicalSite:void 0!==L&&L,showImagePlayIcon:void 0!==P&&P,showSignpost:k,showSummaryInStoryList:M,showTimestamp:F,signPostClassName:E,signPostColorPalette:H,signpostSourceCommentLayout:T,sourceClassName:W,story:X,storyListId:O,summaryClassName:Y,summaryFontSize:G,textElementsMargin:U,titleClassName:q,titleSize:D}),o&&B&&(0,a.jsxs)("div",{className:"absolute bottom-1 right-1 flex",children:[(0,a.jsx)("div",{className:"pr-2 italic text-red-500",children:J}),(0,a.jsx)("div",{className:(0,i.A)("flex size-6 items-center bg-yellow-300 text-xl text-white","justify-center rounded-full"),children:y+1})]})]})}let x=function(e){var t=e.className,o=e.droppable,i=e.index,s=e.isHeading,h=e.story,f=(0,n._)(e,["className","droppable","index","isHeading","story"]),x=(0,c.useContext)(m.A),v=x.storyListId,w=x.zoneItemId,y=(0,l.GV)(function(e){return e.conf.mode}),b=(0,l.GV)(function(e){return e.editmode.layout}),C=y===d.G9.EDIT,I=(0,a.jsx)(g,(0,r._)({className:t,editMode:C,index:i,isHeading:s,story:h,storyListId:v},f));return(0,a.jsx)("div",{className:"flex w-full",children:C&&(void 0===o||o)&&b===u.U.DESKTOP?(0,a.jsx)(p,{className:t,index:i,story:h,storyListId:v,zoneItemId:w,children:I}):I})}},31817:(e,t,o)=>{o.d(t,{$8:()=>f,GI:()=>b,Ix:()=>l,JE:()=>w,Pz:()=>s,Sz:()=>m,WO:()=>x,es:()=>u,gf:()=>v,j6:()=>y,py:()=>h,vX:()=>g});var r,n,a=o(76367),i=o(91167),s=((r={}).CROP="crop",r.SCALE="scale",r.MAX="max",r),c={landscape:"aspect-w-16 aspect-h-9",portrait:"",square:"aspect-w-1 aspect-h-1",strap:""};function l(e){return c[function(e){var t="landscape";if(e){var o=e.cropHeight,r=e.cropWidth;void 0!==o&&void 0!==r&&(Math.min(r,o)/Math.max(r,o)>.8?t="square":o/r<.3?t="strap":o>r&&(t="portrait"))}return t}(e)]}var d={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}
1,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 u(e){var t,o,r=e.sourceHeight,n=e.sourceWidth,a={cropHeight:r,cropWidth:n,cropX:0,cropY:0,focalX:Math.round(n/2),focalY:Math.round(r/2),scale:1};return n>=r&&(n/r>16/9?(a.cropHeight=r,a.cropWidth=16*r/9):n/r<16/9&&(a.cropWidth=n,a.cropHeight=9*n/16),a.cropX=(n-(null!=(t=a.cropWidth)?t:0))/2,a.cropY=(r-(null!=(o=a.cropHeight)?o:0))/2),a.cropX<0&&(a.cropX=0),a.cropY<0&&(a.cropY=0),a}function m(e){var t=e.aspect,o=e.focalX,r=e.focalY,n=e.height,a=void 0===n?1:n,i=e.scale,s=void 0===i?1:i,c=e.width,l=void 0===c?1:c,d=l/s,u=a/s;t>l/a?u=d/t:d=u*t;var m=r-r/a*u;return{height:Math.round(u),topX:Math.round(o-o/l*d),topY:Math.round(m),width:Math.round(d)}}var h=((n={}).JPG="jpg",n.WEBP="webp",n);function f(e){var t=e.fit,o=e.height,r=e.ignoreCrop,n=void 0!==r&&r,s=e.image,c=e.outputFormat,l=void 0===c?"jpg":c,u=e.size,h=e.useFocalPoint,f=void 0===h||h,p=e.width,g="cropConfig"in s?s.cropConfig:void 0,x={f:"crop",h:o,w:p};if(u&&!(x=(0,a._)({},d[u])))throw Error("Unsupported transform size ".concat(u));if(t&&(x.f=t),x.path=s.uri.replace(/^\/+|\/+$/g,""),void 0===x.h&&(x.h=0),void 0===x.w&&(x.w=0),void 0===x.f&&(x.f="crop"),n||!((v="cropConfig"in s?s.cropConfig:void 0)&&v.cropWidth))x.transform="resize",x.request=0!==x.h?"w".concat(x.w,"_h").concat(x.h,"_f").concat(n?"max":x.f,".").concat(l):"w".concat(x.w,"_h").concat(x.h,".").concat(l,"?resize_filter=lanczos2&quality=100");else{var v,w,y,b,C=function(e,t){var o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r="cropConfig"in e?e.cropConfig:void 0;if(!r)return[];if(o&&void 0!==r.focalX&&void 0!==r.focalY){var n=m({aspect:t,focalX:r.focalX-r.cropX,focalY:r.focalY-r.cropY,height:r.cropHeight,width:r.cropWidth}),a=Math.round(n.topX+r.cropX),i=Math.round(n.topY+r.cropY);return[[a,i],[Math.round(a+n.width),Math.round(i+n.height)]]}return[[Math.round(r.cropX),Math.round(r.cropY)],[Math.round(r.cropX+(r.cropWidth||0)),Math.round(r.cropY+(r.cropHeight||0))]]}(s,0===x.h?1:x.w/x.h,f);x.transform="crop",w=(0,i._)(C,2),y=(0,i._)(w[0],2),x.x1=y[0],x.y1=y[1],b=(0,i._)(w[1],2),x.x2=b[0],x.y2=b[1],f&&(null==g?void 0:g.focalX)!==void 0&&(x.f="max"),x.request="r".concat(x.x1,"_").concat(x.y1,"_").concat(x.x2,"_").concat(x.y2,"_")+"w".concat(x.w,"_h").concat(x.h,"_f").concat(x.f,".").concat(l)}return x}function p(e){var t=f(e),o="transform/v1/".concat(t.transform,"/frm/").concat(t.path,"/");return"".concat(o).concat(t.request)}function g(e){var t=f(e);return[t.x1+t.x2,t.y1+t.y2]}function x(e){var t=e.fit,o=e.height,r=e.ignoreCrop,n=e.image,a=e.outputFormat,i=e.size,s=e.transformUrl,c=e.useFocalPoint,l=e.width;if(i&&(l||o))throw Error("Cannot use fixedSize and dimensions together");return"".concat(s).concat(p({fit:t,height:o,ignoreCrop:r,image:n,outputFormat:a,size:i,useFocalPoint:c,width:l}))}function v(e){var t=e.fit,o=e.height,r=e.image,n=e.outputFormat,a=e.transformUrl,i=e.width;return"".concat(a).concat(p({fit:void 0===t?"crop":t,height:o,ignoreCrop:!1,image:r,outputFormat:n,useFocalPoint:!1,width:i}))}function w(e){var t=e.height,o=e.image,r=e.outputFormat,n=e.transformUrl,a=e.width;return"".concat(n).concat(p({height:t,ignoreCrop:!0,image:o,outputFormat:void 0===r?"jpg":r,useFocalPoint:!1,width:a}))}function y(e){return"uri"in e&&!!e.uri}function b(e){return new Promise(function(t){var o=new Image;o.onload=function(){return t(!0)},o.onerror=function(){return t(!1)},o.src=e})}},50172:(e,t,o)=>{o.d(t,{A:()=>d,m:()=>l});var r=o(76367),n=o(30694),a=o(91167),i=o(60143),s=o(45159),c=o(62715),l=(0,s.createContext)({addStory(){},forStory:()=>null});function d(e){var t=e.children,o=(0,c.GV)(function(e){return e.features.viafoura}),d=(0,a._)((0,s.useState)({}),2),u=d[0],m=d[1];(0,s.useEffect)(function(){o.enabled&&Object.entries(u).forEach(function(e){var t=(0,a._)(e,2),o=t[0],i=Object.entries(t[1]).filter(function(e){return void 0===(0,a._)(e,2)[1]}).map(function(e){return(0,a._)(e,1)[0]});0!==i.length&&(m(function(e){var t=(0,r._)({},e);
1return i.forEach(function(e){t[o][e]=null}),t}),fetch("https://livecomments.viafoura.co/v4/livecomments/"+"".concat(o,"/content-containers/")+"comment-count-and-status/by-container-ids",{body:JSON.stringify(i),method:"POST"}).then(function(e){if(!e.ok)throw m(function(e){var t=(0,r._)({},e);return i.forEach(function(e){t[o][e]=0}),t}),Error("Viafoura comment count response error");return e}).then(function(e){return e.json()}).then(function(e){m(function(t){var a,i=!1,s=null!=(a=t[o])?a:{};return(e.forEach(function(e){var t=e.commentCount,o=e.containerId;s[o]!==t&&(i=!0,s[o]=t)}),i)?(0,n._)((0,r._)({},t),{[o]:s}):t})}).catch(function(e){console.error(e)}))})},[u,o]);var h=o.enabled?o.data.sectionUuid:"",f=(0,s.useCallback)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h;o.enabled&&m(function(o){return o[t]&&e in o[t]?o:(0,n._)((0,r._)({},o),{[t]:(0,n._)((0,r._)({},o[t]),{[e]:void 0})})})},[h,o.enabled]),p=(0,s.useCallback)(function(e){var t,o,r;return null!=(o=null==(r=u[null!=(t=e.viafouraSyndicationSectionUuid)?t:h])?void 0:r[e.id])?o:null},[u,h]),g=(0,s.useMemo)(function(){return{addStory:f,forStory:p}},[f,p]);return o.enabled?(0,i.jsx)(l.Provider,{value:g,children:t}):(0,i.jsx)(i.Fragment,{children:t})}},91382:(e,t,o)=>{o.r(t),o.d(t,{default:()=>S});var r=o(60143),n=o(45159),a=o(25573),i=o(69274),s=o(76367),c=o(30694),l=o(29722),d=o(14825),u=o(62715),m=o(98165),h=o(65019),f=o(97247),p=o(29028),g=o(3388),x=o(37942),v=o(40229),w=o(3522),y={large:{default:[357,238],desktop:[240,160]},square:{default:[80,80],desktop:[100,100]},wide:{default:[100,66],desktop:[240,160]}},b=(0,d.default)(function(){return Promise.all([o.e(3723),o.e(5702),o.e(7340),o.e(5726)]).then(o.bind(o,85726)).then(function(e){return e.HeadlineEditmode})},{loadableGenerated:{webpack:function(){return[85726]}}}),C=(0,d.default)(function(){return Promise.all([o.e(3723),o.e(5702),o.e(7340),o.e(5726)]).then(o.bind(o,85726)).then(function(e){return e.HeadlineEditmodeImage})},{loadableGenerated:{webpack:function(){return[85726]}}}),I=(0,d.default)(function(){return Promise.all([o.e(3723),o.e(5702),o.e(7340),o.e(5726)]).then(o.bind(o,85726)).then(function(e){return e.HeadlineEditmodeTitle})},{loadableGenerated:{webpack:function(){return[85726]}}});function j(e,t,o){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return e?(0,r.jsx)(o,(0,c._)((0,s._)({},n),{children:t})):(0,r.jsx)(r.Fragment,{children:t})}function N(e){var t,o,n,a=e.imageSize,i=void 0!==a&&a,s=e.index,c=e.showSummary,d=e.showTimestamp,N=e.story,S=e.storyListId,_=(0,w.S_)(),z=(0,u.GV)(function(e){return e.conf.mode})===m.G9.EDIT,L=null!=(t=N.homepageTitle)?t:N.title,P=j(z,(0,r.jsx)("p",{className:(0,l.A)("line-clamp-5 font-bold text-gray-900 md:text-xl",{"mb-3 text-xl md:mb-2":"large"===i}),children:L}),I),k=N.storyUrl||N.url,A=j(z,!1!==i&&N.leadImage&&(0,r.jsx)(h.A,{className:(0,l.A)("max-w-full overflow-hidden rounded lg:w-full",{"float-left":"square"!==i,"md:float-left":"large"===i,"w-[6.25rem]":"wide"===i,"w-20":"square"===i}),href:k,noStyle:!0,children:(0,r.jsx)(g.A,{alt:(null==(o=N.leadImage)?void 0:o.description)||N.title,desktopHeight:y[i].desktop[1],desktopWidth:y[i].desktop[0],height:y[i].default[1],image:N.leadImage,lazyLoad:!0,noTransformUrl:N.noTransformUrl,resize:!0,title:(null==(n=N.leadImage)?void 0:n.description)||N.title,width:y[i].default[0]})}),C),M=d&&(0,w.fF)(_,new Date(N.publishFrom),{beyondMaxFormat:()=>"",maxTime:7200}),F=N.comments!==x.r$.DISABLED&&(0,r.jsx)(p.A,{component:f.A,href:k,story:N}),E=[];N.byline&&E.push((0,r.jsx)("span",{className:"font-medium",children:(0,v.nx)(N.byline)})),M&&E.push((0,r.jsx)("time",{title:N.publishFrom,children:M})),F&&E.push(M?(0,r.jsx)("div",{className:"mt-2 w-full md:m-0 md:w-auto",children:F}):F);var H=j(z,(0,r.jsxs)("div",{className:(0,l.A)("mb-6 flex border-b pb-6",{"flex-col md:flex-row":"large"===i}),children:[!1!==i&&N.leadImage&&(0,r.jsx)("div",{className:(0,l.A)("flex shrink-0 flex-col items-center justify-start md:mr-7",{"mb-4 md:mb-0":"large"===i,"mr-4":"large"!==i}),children:A}),(0,r.jsxs)(h.A,{className:"flex flex-col text-gray-900",href:N.storyUrl,noStyle:!0,children:[P,c&&(0,r.jsx)("p",{className:(0,l.A)("text-sm text-gray-600",{"hidden md:block":0!==s}),children:N.summary}),(0,r.jsx)("div",{className:"mt-4 flex flex-wrap gap-x-4 font-inter text-sm text-gray-500","data-testid":"headline-author",children:E.flatMap(function(e,t){return[e,(0,r.jsx)("span",{children:"•"},t)]}).slice(0,-1)})]},N.snapshot)]}),C);return j(z,H,b,{index:s,story:N,storyListId:S})}function S(e){var t=e.mode,o=void 0===t?"zoneItem":t,s=e.zoneItemData,c=s.enableOrder,l=void 0===c||c,d=s.label,u=s.stories,m=s.storyListId,h=s.summaryOptions,f=s.useCanonicalUrl,p=e.zoneItemId,g=(0,n.useMemo)(function(){return{enableOrder:l,label:d,storyListId:m,summaryOptions:h,useCanonicalUrl:f,zoneItemId:p}},[l,d,m,h,f,p]);return(0,r.jsx)(i.A.Provider,{value:g,children:u.map(function(e,t){var n;return n="page"===o?0===t?"large":"wide":"square",(0,r.jsx)(a.A,{className:"w-full",droppable:!0,headline:(0,r.jsx)(N,{imageSize:n,index:t,showSummary:"page"===o,showTimestamp:"page"===o,story:e,storyListId:m}),index:t,showSummaryInStoryList:!0,showTimestamp:!0,story:e},e.id)})})}},97247:(e,t,o)=>{o.d(t,{A:()=>c});var r=o(60143),n=o(92584),a=o(29722),i=o(54166),s=o(32368);function c(e){var t=e.count,o=e.fullCounter,c=e.href;return(0,r.jsxs)("a",{className:(0,a.A)("self-start",{"text-echidna":0!==t}),href:"".concat(void 0===c?"":c,"#comments"),children:[(0,r.jsxs)("span",{className:"fa-stack mr-1 text-center align-top",children:[(0,r.jsx)(i.y,{className:"fa-stack-2x",fixedWidth:!0,icon:n.TOj}),(0,r.jsxs)("span",{className:"fa-stack-1x mt-0.5 text-white",children:[(0,s.f)(t)," ",(0,r.jsx)("span",{className:"sr-only",children:" comments"})]})]}),(void 0===o||o)&&(0,r.jsx)("span",{className:(0,a.A)("hidden font-medium underline md:inline",{"text-echidna":0!==t,"text-gray-900":0===t}),children:0===t?"Have your say":"Join the conversation"})]})}}}]);

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.