PageSourceSearch

https://www.greatlakesadvocate.com.au/assets/_next/static/chunks/2203.da88b8fa1079b019.js

js greatlakesadvocate.com.au collected 2026-10-02 07:59:21 UTC 11,527 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2203],{31817:(r,t,o)=>{o.d(t,{$8:()=>m,GI:()=>y,Ix:()=>l,JE:()=>w,Pz:()=>a,Sz:()=>h,WO:()=>v,es:()=>u,gf:()=>x,j6:()=>b,py:()=>f,vX:()=>g});var e,n,i=o(76367),c=o(91167),a=((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(r){return s[function(r){var t="landscape";if(r){var o=r.cropHeight,e=r.cropWidth;void 0!==o&&void 0!==e&&(Math.min(e,o)/Math.max(e,o)>.8?t="square":o/e<.3?t="strap":o>e&&(t="portrait"))}return t}(r)]}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},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(r){var t,o,e=r.sourceHeight,n=r.sourceWidth,i={cropHeight:e,cropWidth:n,cropX:0,cropY:0,focalX:Math.round(n/2),focalY:Math.round(e/2),scale:1};return n>=e&&(n/e>16/9?(i.cropHeight=e,i.cropWidth=16*e/9):n/e<16/9&&(i.cropWidth=n,i.cropHeight=9*n/16),i.cropX=(n-(null!=(t=i.cropWidth)?t:0))/2,i.cropY=(e-(null!=(o=i.cropHeight)?o:0))/2),i.cropX<0&&(i.cropX=0),i.cropY<0&&(i.cropY=0),i}function h(r){var t=r.aspect,o=r.focalX,e=r.focalY,n=r.height,i=void 0===n?1:n,c=r.scale,a=void 0===c?1:c,s=r.width,l=void 0===s?1:s,d=l/a,u=i/a;t>l/i?u=d/t:d=u*t;var h=e-e/i*u;return{height:Math.round(u),topX:Math.round(o-o/l*d),topY:Math.round(h),width:Math.round(d)}}var f=((n={}).JPG="jpg",n.WEBP="webp",n);function m(r){var t=r.fit,o=r.height,e=r.ignoreCrop,n=void 0!==e&&e,a=r.image,s=r.outputFormat,l=void 0===s?"jpg":s,u=r.size,f=r.useFocalPoint,m=void 0===f||f,p=r.width,g="cropConfig"in a?a.cropConfig:void 0,v={f:"crop",h:o,w:p};if(u&&!(v=(0,i._)({},d[u])))throw Error("Unsupported transform size ".concat(u));if(t&&(v.f=t),v.path=a.uri.replace(/^\/+|\/+$/g,""),void 0===v.h&&(v.h=0),void 0===v.w&&(v.w=0),void 0===v.f&&(v.f="crop"),n||!((x="cropConfig"in a?a.cropConfig:void 0)&&x.cropWidth))v.transform="resize",v.request=0!==v.h?"w".concat(v.w,"_h").concat(v.h,"_f").concat(n?"max":v.f,".").concat(l):"w".concat(v.w,"_h").concat(v.h,".").concat(l,"?resize_filter=lanczos2&quality=100");else{var x,w,b,y,_=function(r,t){var o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],e="cropConfig"in r?r.cropConfig:void 0;if(!e)return[];if(o&&void 0!==e.focalX&&void 0!==e.focalY){var n=h({aspect:t,focalX:e.focalX-e.cropX,focalY:e.focalY-e.cropY,height:e.cropHeight,width:e.cropWidth}),i=Math.round(n.topX+e.cropX),c=Math.round(n.topY+e.cropY);return[[i,c],[Math.round(i+n.width),Math.round(c+n.height)]]}return[[Math.round(e.cropX),Math.round(e.cropY)],[Math.round(e.cropX+(e.cropWidth||0)),Math.round(e.cropY+(e.cropHeight||0))]]}(a,0===v.h?1:v.w/v.h,m);v.transform="crop",w=(0,c._)(_,2),b=(0,c._)(w[0],2),v.x1=b[0],v.y1=b[1],y=(0,c._)(w[1],2),v.x2=y[0],v.y2=y[1],m&&(null==g?void 0:g.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 p(r){var t=m(r),o="transform/v1/".concat(t.transform,"/frm/").concat(t.path,"/");return"".concat(o).concat(t.request)}function g(r){var t=m(r);return[t.x1+t.x2,t.y1+t.y2]}function v(r){var t=r.fit,o=r.height,e=r.ignoreCrop,n=r.image,i=r.outputFormat,c=r.size,a=r.transformUrl,s=r.useFocalPoint,l=r.width;if(c&&(l||o))throw Error("Cannot use fixedSize and dimensions together");return"".concat(a).concat(p({fit:t,height:o,ignoreCrop:e,image:n,outputFormat:i,size:c,useFocalPoint:s,width:l}))}function x(r){var t=r.fit,o=r.height,e=r.image,n=r.outputFormat,i=r.transformUrl,c=r.width;
1return"".concat(i).concat(p({fit:void 0===t?"crop":t,height:o,ignoreCrop:!1,image:e,outputFormat:n,useFocalPoint:!1,width:c}))}function w(r){var t=r.height,o=r.image,e=r.outputFormat,n=r.transformUrl,i=r.width;return"".concat(n).concat(p({height:t,ignoreCrop:!0,image:o,outputFormat:void 0===e?"jpg":e,useFocalPoint:!1,width:i}))}function b(r){return"uri"in r&&!!r.uri}function y(r){return new Promise(function(t){var o=new Image;o.onload=function(){return t(!0)},o.onerror=function(){return t(!1)},o.src=r})}},50172:(r,t,o)=>{o.d(t,{A:()=>d,m:()=>l});var e=o(76367),n=o(30694),i=o(91167),c=o(60143),a=o(45159),s=o(62715),l=(0,a.createContext)({addStory(){},forStory:()=>null});function d(r){var t=r.children,o=(0,s.GV)(function(r){return r.features.viafoura}),d=(0,i._)((0,a.useState)({}),2),u=d[0],h=d[1];(0,a.useEffect)(function(){o.enabled&&Object.entries(u).forEach(function(r){var t=(0,i._)(r,2),o=t[0],c=Object.entries(t[1]).filter(function(r){return void 0===(0,i._)(r,2)[1]}).map(function(r){return(0,i._)(r,1)[0]});0!==c.length&&(h(function(r){var t=(0,e._)({},r);return c.forEach(function(r){t[o][r]=null}),t}),fetch("https://livecomments.viafoura.co/v4/livecomments/"+"".concat(o,"/content-containers/")+"comment-count-and-status/by-container-ids",{body:JSON.stringify(c),method:"POST"}).then(function(r){if(!r.ok)throw h(function(r){var t=(0,e._)({},r);return c.forEach(function(r){t[o][r]=0}),t}),Error("Viafoura comment count response error");return r}).then(function(r){return r.json()}).then(function(r){h(function(t){var i,c=!1,a=null!=(i=t[o])?i:{};return(r.forEach(function(r){var t=r.commentCount,o=r.containerId;a[o]!==t&&(c=!0,a[o]=t)}),c)?(0,n._)((0,e._)({},t),{[o]:a}):t})}).catch(function(r){console.error(r)}))})},[u,o]);var f=o.enabled?o.data.sectionUuid:"",m=(0,a.useCallback)(function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;o.enabled&&h(function(o){return o[t]&&r in o[t]?o:(0,n._)((0,e._)({},o),{[t]:(0,n._)((0,e._)({},o[t]),{[r]:void 0})})})},[f,o.enabled]),p=(0,a.useCallback)(function(r){var t,o,e;return null!=(o=null==(e=u[null!=(t=r.viafouraSyndicationSectionUuid)?t:f])?void 0:e[r.id])?o:null},[u,f]),g=(0,a.useMemo)(function(){return{addStory:m,forStory:p}},[m,p]);return o.enabled?(0,c.jsx)(l.Provider,{value:g,children:t}):(0,c.jsx)(c.Fragment,{children:t})}},56157:(r,t,o)=>{o.d(t,{A:()=>c});var e=o(60143),n=o(29722);o(45159);var i=o(68919);function c(r){var t=r.buttonBgColor,o=r.buttonBgHoverColor,c=r.buttonLink,a=r.buttonText,s=r.buttonTextColor,l=r.children,d=r.className,u=r.hideLine,h=r.lineClassName;return(0,e.jsxs)("div",{className:(0,n.A)("flex items-center gap-x-3 font-inter text-lg font-semibold leading-7 text-gray-900",void 0===d?"mt-8":d),children:[l,!(void 0!==u&&u)&&(0,e.jsx)("div",{className:(0,n.A)("min-w-[10px] grow",void 0===h?"border border-gray-300":h)}),a&&c&&(0,e.jsx)(i.A,{bgColor:void 0===t?"bg-sky-600":t,className:"w-fit shrink-0",fontSize:"text-base",hoverColor:void 0===o?"hover:bg-sky-700":o,href:c,target:"_blank",text:a,textColor:void 0===s?"text-white":s})]})}},60583:(r,t,o)=>{o.d(t,{A:()=>p});var e=o(60143),n=o(29722);o(45159);var i=o(65019),c=o(56157),a=o(65389),s=o(355),l=o(39073),d=o(92584),u=o(54166),h=o(62715);let f=function(){var r=(0,h.GV)(function(r){return r.cluster.sites.find(function(r){return r.promoted})});if(!r)return null;var t=r.domain,o=r.logoSvgOnly,n=r.name;return(0,e.jsxs)("div",{className:"flex flex-col items-center justify-center rounded bg-gray-100 p-3 text-sm md:border-t md:border-gray-300 md:p-5 lg:border-none","data-testid":"clustered-story-list--promoted-site-link",children:[(0,e.jsx)("img",{alt:n,className:"mb-4 h-5 w-40 flex-none",src:o}),(0,e.jsxs)("div",{className:"text-center text-gray-900",children:["Digital subscriptions"," ",(0,e.jsx)("strong",{className:"font-semibold text-emerald-600",children:"include access"})," ","to ",(0,e.jsx)("br",{className:"hidden md:block lg:hidden"}),n,"."," ",(0,e.jsxs)(i.A,{className:"whitespace-nowrap",href:"https://".concat(t),noStyle:!0,target:"_blank",children:[(0,e.jsx)("span",{className:"underline underline-offset-2",children:"Visit site"}),(0,e.jsx)(u.y,{className:"ml-2 mt-1 text-xs",icon:d.AaJ})]})]})]})};var m={1:"md:grid-rows-1",2:"md:grid-rows-2",3:"md:grid-rows-3",4:"md:grid-rows-4",5:"md:grid-rows-5",6:"md:grid-rows-6",7:"md:grid-rows-7",8:"md:grid-rows-8",9:"md:grid-rows-9",10:"md:grid-rows-10"};let p=function(r){var t,o=r.fromOrganisation,d=r.limit,u=r.showBgContainer,h=void 0===u||u,p=r.showCluster
1LinkAccess,g=void 0!==p&&p,v=r.stories,x=r.storyListId,w=r.url,b=(null!=v?v:[]).slice(0,d);return(0,e.jsxs)("div",{className:(0,n.A)({"mb-6 rounded-lg bg-gray-100 px-5.5 pt-5.5 md:mt-6 lg:mt-0":h}),children:[(0,e.jsx)("div",{className:(0,n.A)("border-t-2 border-gray-900 pt-2 font-inter text-base font-semibold text-gray-900",{"mb-4":!h,"mb-8":h}),children:o}),(0,e.jsx)("div",{className:"md:grid ".concat(null!=(t=m[Math.ceil(b.length/2)])?t:""," md:grid-flow-col md:gap-x-12 lg:block"),children:b&&b.map(function(r,t,o){var i=t===o.length-1;return(0,e.jsx)("div",{className:(0,n.A)("clear-both mb-2 pb-4",{"border-b border-gray-300 lg:border-b":!i||g,"md:border-b-0":i||t===Math.floor((o.length-1)/2)}),"data-testid":"clustered-story-list--story",children:(0,e.jsx)(s.A,{imageHeight:80,imagePosition:a.zH.RIGHT_BEGIN,imageWidth:80,imageWrapperClassName:"w-20",index:t,showByline:!0,showSignpost:!0,showTimestamp:!0,signPostColorPalette:l.r.PALETTE_GRAY_BG,story:r,storyListId:x,titleSize:"text-base"})},r.id)})}),w.length>0&&(0,e.jsx)(c.A,{className:"pb-7 pt-2.5",hideLine:!0,children:(0,e.jsxs)(i.A,{className:"pt-3 text-base font-semibold text-gray-900 underline underline-offset-4",href:w,noStyle:!0,children:["More from ".concat(o),"→"]})}),g&&(0,e.jsx)(f,{})]})}},68919:(r,t,o)=>{o.d(t,{A:()=>l});var e=o(76367),n=o(30694),i=o(22514),c=o(60143),a=o(29722),s=o(26748);function l(r){var t=r.bgColor,o=r.buttonClassName,l=r.className,d=r.desktopFullWidth,u=r.fontSize,h=r.height,f=void 0===h?"md:h-10 lg:h-10":h,m=r.hoverColor,p=r.mobileFontSize,g=r.mobileFullWidth,v=r.paddingX,x=void 0===v?"px-4":v,w=r.ref,b=r.text,y=r.textColor,_=(0,i._)(r,["bgColor","buttonClassName","className","desktopFullWidth","fontSize","height","hoverColor","mobileFontSize","mobileFullWidth","paddingX","ref","text","textColor"]),j="href"in _&&_.href&&(0,s.i9)(_.href)&&void 0!==_.target&&"_self"!==_.target;return(0,c.jsx)("div",{className:(0,a.A)("flex md:flex-row md:justify-end lg:flex-row lg:justify-end",{"md:w-full":d,"w-full":g},l),ref:w,children:"href"in _?(0,c.jsx)("a",(0,n._)((0,e._)({className:(0,a.A)("flex items-center justify-center","rounded-md",t,f,m,o,{"md:w-auto":!d,"md:w-full":d,"w-full":g}),rel:j?"noopener":void 0},_),{children:(0,c.jsx)("span",{className:(0,a.A)("font-medium leading-6 md:py-2 lg:py-2",u,x,y,{"py-1":!g,"py-2":g,"text-xs":p}),children:b})})):(0,c.jsx)("button",(0,n._)((0,e._)({className:(0,a.A)("flex items-center justify-center","rounded-md",t,f,m,o,{"md:w-auto":!d,"md:w-full":d,"w-full":g})},_),{children:(0,c.jsx)("span",{className:(0,a.A)("py-2 font-medium leading-6",u,x,y,{"text-xs":p}),children:b})}))})}}}]);

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.