PageSourceSearch

https://www.therural.com.au/assets/_next/static/chunks/333.fb72f1547dffed1a.js

js therural.com.au collected 2026-10-02 18:42:42 UTC 7,797 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[333],{51921:(e,t,l)=>{"use strict";l.d(t,{Bx:()=>r,SD:()=>o,mn:()=>a});var s,n,i,a=((s={}).DEFAULT="v0",s.ADS_AND_CTA="adcta",s),r=((n={}).V1="v1",n.V2="v2",n),o=((i={}).AD="Advertising",i.CTA="Call to action",i.PHOTO="Photo",i.VIDEO_YOUTUBE="YouTube Video",i)},60976:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var s=l(60143),n=l(29722);l(45159);var i=l(90081),a=l.n(i);function r(){return(0,s.jsx)("div",{className:(0,n.A)("size-full rounded-full border-8 border-gray-200 ease-linear",a().loader)})}},80333:(e,t,l)=>{"use strict";l.d(t,{A:()=>z});var s,n=l(76367),i=l(30694),a=l(91167),r=l(60143),o=l(29722),c=l(45159),u=l(91683),d=l(62715),f=l(72526),m=l(51921),g=l(37942),h=l(65389),x=l(99262),p=l(54504),v=l(31817),b=l(26748),w=l(38679),y=l(37466),j=l(65019),N=l(60976),S=((s=S||{}).NEXT="next",s.PREVIOUS="previous",s);function A(e){var t,l,s=e.className,n=e.containerWidth,i=e.displaySpinner,a=e.image,c=e.order,u=e.position,f=e.preloadImage,h=e.visible,x=(0,d.GV)(function(e){return e.settings}).transformUrl;if(!a)return null;if(a.type===m.SD.VIDEO_YOUTUBE)t=(0,r.jsx)("div",{className:"relative z-10 mx-auto flex size-full items-center justify-center lg:items-start",children:(0,r.jsx)("div",{className:"relative w-full pb-[56.25%]",children:(0,r.jsx)("iframe",{allow:"autoplay",className:"absolute left-0 top-0 size-full border-0",id:a.id,src:"https://www.youtube.com/embed/".concat(a.id,"?autoplay=").concat(+!!h),title:a.description})})});else{switch(a.type){case m.SD.PHOTO:l=encodeURI(a.url);break;case g.iP.Image:l=(0,v.j6)(a)?(0,v.WO)({height:a.height,image:a,transformUrl:x,useFocalPoint:!1,width:a.width}):void 0}t=(0,r.jsx)("div",{className:"relative z-10 mx-auto size-full bg-contain bg-center bg-no-repeat lg:bg-top",style:{backgroundImage:void 0!==f&&f&&l?"url(".concat(l,")"):void 0}},l)}return(0,r.jsxs)("div",{className:"shrink-0 basis-full transform-gpu bg-neutral-900 ".concat(s),style:{order:c,transform:u},children:[n>0&&(void 0===i||i)&&(0,r.jsx)("div",{className:(0,o.A)("absolute left-1/2 top-1/2 z-0","-ml-8 -mt-8 size-16","lg:top-1/4 lg:-ml-16 lg:-mt-16 lg:size-32"),children:(0,r.jsx)(N.A,{})}),t]})}function k(){f.A.refresh("gallery-top","gallery-mrec")}let z=function(e){var t=e.close,l=e.currentSlide,s=e.elements,f=e.isPreview,g=void 0!==f&&f,v=e.shareUrl,N=(0,d.GV)(function(e){return e.features.photoGallery}),S=N.enabled&&N.data.layout===m.Bx.V2,z=(0,d.GV)(function(e){return e.settings}).staticUrl,L=(0,d.GV)(function(e){return e.story.url}),_=(0,d.GV)(function(e){return e.settings.viewType===h.tX.STORY}),T=(0,p.TQ)(),E=(0,d.GV)(function(e){return e.features.communityShareContent.enabled}),D=v||L,V=(0,a._)((0,c.useState)(0),2),C=V[0],O=V[1],P=(0,a._)((0,c.useState)(void 0===l?0:l),2),I=P[0],U=P[1],B=(0,a._)((0,c.useState)(!1),2),G=B[0],R=B[1],W=(0,a._)((0,c.useState)("next"),2),H=W[0],X=W[1],Y=s[I],M=(0,a._)((0,c.useState)(!1),2),Z=M[0],F=M[1],Q=(0,c.useRef)(null),K=(0,p.QW)().showComponentPlaceholder;(0,c.useEffect)(function(){Z||(setTimeout(function(){Q.current&&Q.current.clientHeight<10&&k()},1e3),F(!0))},[Z]);var q=(0,c.useCallback)(function(e){"next"===e?U(function(e){return(e+1)%s.length}):U(function(e){return(e-1+s.length)%s.length}),k(),R(!0),X(e),setTimeout(function(){R(!1)},50)},[U,s.length]);(0,c.useEffect)(function(){!S&&_&&window.history.replaceState(null,"",0===I?window.location.hash.replace(/(&?slide=\d+&?)/,""):(0,b.Hg)({slide:I.toString()}))},[I,T,_,S]);var J=(0,u.uh)({onSwipedLeft:function(){return q("next")},onSwipedRight:function(){return q("previous")}});(0,c.useEffect)(function(){var e=function(e){switch(e.key){case"ArrowLeft":q("previous");break;case"ArrowRight":q("next");break;case"Escape":t()}};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}},[t,q]);var $=Y.type!==m.SD.AD&&Y.type!==m.SD.CTA;return(0,r.jsx)("div",{className:"fixed left-0 top-0 z-50 flex size-full flex-col overflow-y-auto bg-neutral-900",children:(0,r.jsxs)("div",{className:"mx-auto flex w-full grow flex-col lg:max-w-lg lg:pb-2",children:[(0,r.jsx)("button",{className:"absolute right-3 top-3",onClick:t,type:"button",children:(0,r.jsx)("img",{alt:"close",className:"size-8",draggable:"false",src:"".concat(z,"/images/photo-gallery/close.svg")})}),!g&&K&&(0,r.jsx)("div",{className:"mx-auto mt-14 w-full landscape:mt-2.5",children:(0,r.jsx)(w.A,{forwardedRef:Q,mdSizes:x.DT.leaderboard,position:1,publiftName:"gallery-1",sizes:[],slotId:"gallery-top",targetingArguments:{adslot:"gallery"}
1,withLabel:!1,withPlaceholderBackground:!1})}),(0,r.jsxs)("div",{className:(0,o.A)("flex size-full flex-col lg:flex-row lg:overflow-y-hidden",{"mt-14":g}),children:[(0,r.jsxs)("div",{className:"flex size-full flex-col overflow-hidden lg:ml-6",children:[(0,r.jsx)("div",{className:"my-4 size-full lg:mb-0",ref:function(e){var t;O(null!=(t=null==e?void 0:e.clientWidth)?t:0)},children:(0,r.jsx)("div",(0,i._)((0,n._)({className:"flex size-full"},J),{children:s.map(function(e,t){var l,n;return(0,r.jsx)(A,{className:(0,o.A)({"transition-all":!G}),containerWidth:C,displaySpinner:!g,image:e,order:((n=(t+1)%(l=s.length)-I)<0&&(n+=l),n),position:1===s.length?"none":G?"previous"===H?"translateX(calc(2 * (-100%)))":"translateX(0%)":"translateX(calc(-100%))",preloadImage:0===I&&t===s.length-1||I===s.length-1&&0===t||1>=Math.abs(t-I),visible:I===t},t)})}))}),s.length>1&&(0,r.jsx)("div",{className:"fixed bottom-0 left-0 z-20 flex h-16 w-full items-center justify-center bg-neutral-900 px-4 py-2 opacity-80 lg:relative",children:(0,r.jsxs)("div",{className:"flex w-full flex-row items-center justify-between text-white",children:[(0,r.jsx)("button",{"aria-label":"Previous",className:"flex size-16 items-center justify-center",onClick:function(){return q("previous")},type:"button",children:(0,r.jsx)("svg",{className:"fill-current",height:"48",viewBox:"0 0 48 48",width:"48",children:(0,r.jsx)("path",{d:"M28.59 36L31.41 33.18L22.25 24L31.41 14.82L28.59 12L16.59 24L28.59 36Z"})})}),(0,r.jsxs)("div",{className:"font-inter text-lg",children:[I+1," of ",s.length]}),(0,r.jsx)("button",{"aria-label":"Next",className:"flex size-16 items-center justify-center",onClick:function(){return q("next")},type:"button",children:(0,r.jsx)("svg",{className:"fill-current",height:"48",viewBox:"0 0 48 48",width:"48",children:(0,r.jsx)("path",{d:"M19.41 12L16.59 14.82L25.75 24L16.59 33.18L19.41 36L31.41 24L19.41 12Z"})})})]})})]}),(0,r.jsxs)("div",{className:"mt-8 px-3 pb-20 text-center lg:mx-6 lg:w-full lg:max-w-mrec lg:shrink-0 lg:flex-col lg:px-0 lg:pb-1 lg:text-left landscape:lg:flex",children:[(0,r.jsxs)("div",{className:"lg:overflow-y-auto",children:[(0,r.jsx)(y.A,{className:"mb-3 inline-flex flex-row lg:-ml-1",url:S?D:"".concat(D).concat((0,b.Hg)(T))}),(0,r.jsxs)("div",{className:"mx-auto max-h-16 max-w-sm overflow-y-auto px-4 font-inter text-base text-white lg:max-h-40 lg:w-full lg:max-w-mrec lg:px-0",children:[$&&Y.description,(0,r.jsx)("div",{className:"sticky bottom-0 h-4 w-full bg-gradient-to-t from-neutral-900"})]})]}),!g&&E&&(0,r.jsxs)(j.A,{className:"text-sm text-white",href:"/notice-board/share-photos/",noStyle:!0,children:["Want to be featured?"," ",(0,r.jsx)("span",{className:"font-semibold underline",children:"Send us your photos."})]}),(0,r.jsxs)("div",{className:"hidden lg:block",children:[(0,r.jsx)("div",{className:"my-7 border-b border-gray-300"}),!g&&K&&(0,r.jsx)("div",{className:"w-full lg:shrink-0",children:(0,r.jsx)(w.A,{mdSizes:x.DT.mrec,position:1,publiftName:"gallery-2",sizes:[],slotId:"gallery-mrec",targetingArguments:{adslot:"gallery"},withLabel:!1,withPlaceholderBackground:!1})})]})]})]})]})})}},90081:e=>{e.exports={loader:"LoadingSpinner_loader__kbfoZ",spinner:"LoadingSpinner_spinner__bl2gK"}}}]);

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.