PageSourceSearch

https://kattsafe.com.au/_next/static/chunks/501-1afe123620372862.js

js kattsafe.com.au collected 2026-10-09 05:13:12 UTC 9,036 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[501],{9617:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ESCAPE_REGEX:function(){return n},htmlEscapeAttributeString:function(){return a},htmlEscapeJsonString:function(){return o}});let r={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},n=/[&><\u2028\u2029]/g,l={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},i=/[&"'<>]/g;function o(e){return e.replace(n,e=>r[e])}function a(e){return e.replace(i,e=>l[e])}},26275:(e,t,r)=>{r.d(t,{default:()=>c});var n=r(78235),l=r(92683),i=r(72097),o=r(7958),a=r(48186);let c=e=>{let{children:t,className:r,modalButtonLabel:c,popupId:s,...u}=e,d=(0,l.useRef)(null),[f,p]=(0,l.useState)(!1),h=()=>{d.current&&(d.current.showModal(),p(!0))},g=(0,l.useCallback)(e=>{d.current&&(e.clientX<d.current.getBoundingClientRect().left||e.clientX>d.current.getBoundingClientRect().right||e.clientY<d.current.getBoundingClientRect().top||e.clientY>d.current.getBoundingClientRect().bottom)&&(setTimeout(()=>{var e;null==(e=d.current)||e.close()},150),p(!1),(0,a.TV)("rebrand_modal_".concat(s),!0,365))},[d]),b=(0,l.useCallback)(()=>{var e;(0,a.TV)("rebrand_modal_".concat(s),!0,365),null==(e=d.current)||e.close()},[d]);return(0,l.useEffect)(()=>{document.cookie.includes("rebrand_modal_".concat(s,"=true"))||h()},[s]),(0,l.useEffect)(()=>{if(d.current&&f){let e=d.current.clientHeight;d.current.style.marginTop="-".concat(e/2,"px")}},[f]),(0,l.useEffect)(()=>{let e=document.querySelectorAll("dialog a");return e.forEach(e=>{e.addEventListener("click",b)}),()=>{e.forEach(e=>{e.removeEventListener("click",b)})}},[b]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("dialog",{ref:d,onClick:e=>g(e),className:(0,o.Id)("fixed left-1/2 top-1/2 -translate-x-1/2 text-current bg-transparent backdrop:cursor-auto backdrop:backdrop-blur-sm max-w-7xl"),style:{zIndex:i.F.MODAL,width:"calc(100% - 2.5rem)"},...u,children:(0,n.jsxs)("div",{className:"flex flex-col bg-transparent ",children:[(0,n.jsx)("div",{className:"self-end",children:(0,n.jsxs)("button",{className:"inline-flex items-center bg-white border-b global-transition border-silver-300 group outline-none appearance-none",style:{zIndex:i.F.MODAL+2},onClick:()=>b(),title:"close modal",children:[(0,n.jsx)("span",{className:"lg:text-[20px] font-medium px-6 group-hover:opacity-70",children:"Close"}),(0,n.jsx)("div",{className:"p-4 lg:p-[18px] shrink-0 border-l border-silver-300",children:(0,n.jsx)("svg",{fill:"none",viewBox:"0 0 15 15",className:"w-4 h-4 group-hover:fill-black/70 fill-black",children:(0,n.jsx)("path",{d:"M13.824 2.637 8.668 7.793l5.113 5.113a.941.941 0 0 1 0 1.418.94.94 0 0 1-1.418 0L7.207 9.211l-5.113 5.113a.941.941 0 0 1-1.418 0c-.43-.386-.43-1.031 0-1.46L5.789 7.75.676 2.637c-.43-.387-.43-1.032 0-1.461.386-.387 1.031-.387 1.46 0L7.25 6.332l5.113-5.113c.387-.43 1.032-.43 1.461 0a1.012 1.012 0 0 1 0 1.418Z"})})})]})}),(0,n.jsx)("div",{className:(0,o.QP)("bg-white",r),children:t})]})}),c&&(0,n.jsxs)("button",{className:"hover:text-secondaryColour group flex items-center justify-between border-t border-white pl-5 xl:pl-10",onClick:h,children:[c||"Open popup modal",(0,n.jsx)("span",{className:"global-transition group-hover:bg-secondaryColour flex aspect-square h-auto w-16 items-center justify-center overflow-hidden border-l border-white md:w-16 xl:w-20",children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",className:"stroke-black group-hover:stroke-white",children:(0,n.jsx)("path",{strokeMiterlimit:"10",strokeWidth:"1.5",d:"m13.459 5.041 6.459 6.444-6.459 6.444M19.484 11.485H2.514"})})})]})]})}},31842:(e,t,r)=>{r.d(t,{default:()=>i});var n=r(78235),l=r(7958);r(67344);let i=e=>{let{className:t,...r}=e;return(0,n.jsxs)("button",{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:(0,l.QP)("text-white hover:text-secondaryColour px-3 py-2 rounded-sm focus:outline-none appearance-none global-transition hover:border-secondaryColour border border-white flex gap-2 items-center justify-center",t),...r,children:[(0,n.jsx)("span",{className:"font-medium text-[15px] leading-none",children:"Top"}),(0,n.jsx)("svg",{width:"24",height:"24",className:"-rotate-90 text-inherit",children:(0,n.jsx)("path",{stroke:"currentColor",strokeMiterlimit:"10",strokeWidth:"1.5",d:"m13.459 5.041 6.459 6.444-6.459 6.444M19.484 11.485H2.514"})})]})}},39581:(e,t)=>
1{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},79314:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return x},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return b}});let n=r(84764),l=r(10009),i=r(78235),o=n._(r(38730)),a=l._(r(92683)),c=r(69761),s=r(94753),u=r(39581),d=r(9617),f=new Map,p=new Set,h=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:l=null,dangerouslySetInnerHTML:i,children:a="",strategy:c="afterInteractive",onError:u,stylesheets:d}=e,h=r||t;if(h&&p.has(h))return;if(f.has(t)){p.add(h),f.get(t).then(n,u);return}let g=()=>{l&&l(),p.add(h)},b=document.createElement("script"),m=new Promise((e,t)=>{b.addEventListener("load",function(t){e(),n&&n.call(this,t),g()}),b.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});i?(b.innerHTML=i.__html||"",g()):a?(b.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",g()):t&&(b.src=t,f.set(t,m)),(0,s.setAttributesFromProps)(b,e),"worker"===c&&b.setAttribute("type","text/partytown"),b.setAttribute("data-nscript",c),d&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(d),document.body.appendChild(b)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>h(e))}):h(e)}function b(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");p.add(t)})}function m(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:l=null,strategy:s="afterInteractive",onError:f,stylesheets:g,...b}=e,{updateScripts:m,scripts:x,getIsSsr:y,appDir:v,nonce:_}=(0,a.useContext)(c.HeadManagerContext);_=b.nonce||_;let w=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t||r;w.current||(l&&e&&p.has(e)&&l(),w.current=!0)},[l,t,r]);let k=(0,a.useRef)(!1);if((0,a.useEffect)(()=>{if(!k.current){if("afterInteractive"===s)h(e);else"lazyOnload"===s&&("complete"===document.readyState?(0,u.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>h(e))}));k.current=!0}},[e,s]),("beforeInteractive"===s||"worker"===s)&&(m?(x[s]=(x[s]||[]).concat([{id:t,src:r,onLoad:n,onReady:l,onError:f,...b,nonce:_}]),m(x)):y&&y()?p.add(t||r):y&&!y()&&h({...e,nonce:_})),v){if(g&&g.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===s)if(!r)return b.dangerouslySetInnerHTML&&(b.children=b.dangerouslySetInnerHTML.__html,delete b.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,d.htmlEscapeJsonString)(JSON.stringify([0,{...b,id:t}]))+")"}});else return o.default.preload(r,b.integrity?{as:"script",integrity:b.integrity,nonce:_,crossOrigin:b.crossOrigin}:{as:"script",nonce:_,crossOrigin:b.crossOrigin}),(0,i.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,d.htmlEscapeJsonString)(JSON.stringify([r,{...b,id:t}]))+")"}});"afterInteractive"===s&&r&&o.default.preload(r,b.integrity?{as:"script",integrity:b.integrity,nonce:_,crossOrigin:b.crossOrigin}:{as:"script",nonce:_,crossOrigin:b.crossOrigin})}return null}Object.defineProperty(m,"__nextScript",{value:!0});let x=m;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}}]);

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.