PageSourceSearch

https://ctf.wa.gov.au/_next/static/chunks/pages/index-fe9f73a12ccfb0a5.js

js ctf.wa.gov.au collected 2026-09-26 02:13:11 UTC 4,111 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3332],{4711:(e,n,t)=>{"use strict";t.d(n,{A:()=>x});var o=t(7876),i=t(4e3),s=t(4232),l=t(8778),r=t(4440);let a=r.Ay.button.withConfig({componentId:"sc-e34a4367-0"})(["background:none;border:none;color:white;cursor:pointer;display:flex;align-items:center;cursor:pointer;padding:6px 0;font-size:18px;font-weight:500;color:#fff;background:none;border:0;margin-left:auto;width:fit-content;&:hover{transform:translateY(-1px);}svg{font-size:22px;margin-left:5px;line-height:0;}"]),c=e=>{let{handleClick:n,type:t="button",ariaLabel:i,text:s="Close"}=e;return(0,o.jsxs)(a,{type:t,onClick:e=>n(e),"aria-label":null!=i?i:"Close",className:"close-button",children:[s&&(0,o.jsx)("span",{children:s}),(0,o.jsx)(l.m6K,{})]})};var d=t(1045),p=t(842),u=t(8888),f=t(9481);function h(){let e=(0,u._)(["\n    button span:first-of-type {\n        display: none;\n      }\n\n    svg {\n      font-size: 1em;\n    }\n\n    h3 {\n      font-size: 14px;\n    }\n\n    p {\n      font-size: 14px;\n    }\n  "]);return h=function(){return e},e}function g(){let e=(0,u._)(["\n    position: fixed;\n    top: 0;\n    color: #1a171b;\n\n    button {\n      color: #1a171b;\n    }\n\n  "]);return g=function(){return e},e}let m=r.Ay.div.withConfig({componentId:"sc-398183d5-0"})(["background:#f5f5f5;color:#1a171b;position:sticky;top:0;z-index:2000;display:flex;height:80px;> div{display:grid;grid-template-columns:repeat(2,auto);justify-content:space-between;gap:15px;align-items:center;span{display:flex;flex-direction:column;gap:4px;}}p{font-size:14px;}& button{color:#1a171b;svg{color:#1a171b;}}",";",";"],f.$.lessThan("mobile")(h()),f.$.lessThan("md")(g())),x=e=>{let{notificationBar:n,currentId:t}=e,{show:l,label:r,content:a,displayOn:u}=n||{},f=(e=>{let{show:n,displayOn:t,currentId:o}=e;if(!n)return!1;let i=(t||[]).filter(e=>e&&Object.keys(e).length>0),s=i.map(e=>null==e?void 0:e.id).filter(e=>"string"==typeof e&&e.length>0);return 0===i.length||0!==s.length&&"string"==typeof o&&o.length>0&&s.includes(o)})({show:!!l,displayOn:u,pathname:(0,i.usePathname)(),currentId:t}),[h,g]=(0,s.useState)(f&&""!==a),x=(e=>e?"notification-bar-"+(0,p.tn)(e):"")(a);return(0,s.useEffect)(()=>{"userHasClosed"===localStorage.getItem(x)?(g(!1),document.body.classList.remove("has-notification-bar")):f?(g(!0),document.body.classList.add("has-notification-bar")):(g(!1),document.body.classList.remove("has-notification-bar"))},[f,x]),(0,o.jsx)(s.Fragment,{children:!!h&&(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(m,{children:(0,o.jsxs)(d.A,{children:[(0,o.jsxs)("span",{children:[r&&(0,o.jsx)("h3",{children:r}),a&&(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:a}})]}),(0,o.jsx)(c,{handleClick:()=>{localStorage.setItem(x,"userHasClosed"),g(!1),document.body.classList.remove("has-notification-bar")}})]})})})})}},5668:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSG:()=>p,default:()=>u});var o=t(7876),i=t(4711),s=t(502),l=t(2867),r=t(2872),a=t(5727),c=t(5220),d=t(6053),p=!0;let u=e=>{var n,t,p,u,f,h,g,m;let{content:x,menuItems:b,previewMode:v}=e;return(0,o.jsxs)("div",{className:"is-landing-page",children:[(0,o.jsx)(l.bV,{title:null==(n=x.seo)?void 0:n.opengraphTitle,description:(null==(t=x.seo)?void 0:t.metaDesc.length)>0?null==(p=x.seo)?void 0:p.metaDesc:null==(u=x.seo)?void 0:u.opengraphDescription,canonical:"https://ctf.wa.gov.au",openGraph:{url:"https://ctf.wa.gov.au",title:null==(f=x.seo)?void 0:f.opengraphTitle,description:null==(h=x.seo)?void 0:h.opengraphDescription,article:{modifiedTime:null==(g=x.seo)?void 0:g.opengraphModifiedTime}}}),(0,o.jsx)(i.A,{notificationBar:x.notif,currentId:null==x?void 0:x.id}),(0,o.jsx)(r.A,{menuItems:b.primary,isCarousel:(null==x||null==(m=x.landinghero)?void 0:m.heroType)==="Carousel"}),(0,o.jsx)(d.A,{isHomepage:!0,content:x,previewMode:v}),(0,o.jsx)(c.A,{}),(0,o.jsx)(s.A,{}),(0,o.jsx)(a.A,{menuItems:b.footer})]})}},6760:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(5668)}])}},e=>{e.O(0,[3371,1167,1237,1515,9223,3395,171,6262,4e3,3758,8148,7952,6053,636,6593,8792],()=>e(e.s=6760)),_N_E=e.O()}]);

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.