PageSourceSearch

https://www.perthhpc.com.au/assets/dist/3925.39c6dab38415f62ac217.js

js perthhpc.com.au collected 2026-09-29 10:47:09 UTC 18,068 bytes, 2 lines download raw bytes

1/*! For license information please see 3925.39c6dab38415f62ac217.js.LICENSE.txt */
2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3925,268,1646],{5631:function(e,t,n){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.r(t),n.d(t,{pushEvent:function(){return i},triggerEvent:function(){return a}});var i=function(e){n.g.dataLayer=n.g.dataLayer||[],n.g.dataLayer.push(e)},a=function(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({event:e},t=t||null);i(n)}},63925:function(e,t,n){n.r(t),n.d(t,{EventsVenueFilter:function(){return c}});n(91646);var r=n(27378),o=(n(99485),n(83068),n(20268),n(82813),n(56552));function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=function(e){var t=i((0,r.useState)(),2),n=t[0],l=t[1],c=i((0,r.useState)(0),2),s=(c[0],c[1]),u=(0,o.useQuery)("eventCalendars",(function(){return fetch("/events-api/GetVenues/").then((function(e){return e.json()}))})),d=u.isLoading,f=u.error,p=u.data;(0,r.useEffect)((function(){if(null!=p&&null!=p.value){var t,n=[],r=null==p?void 0:p.value.map((function(e){return{id:e.ParentId,title:e.CalendarName}})),o=[],i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){c=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(c)throw i}}}}(r);try{var c=function(){var e=t.value;o.findIndex((function(t){return t.id==e.id}))<=-1&&o.push(e)};for(i.s();!(t=i.n()).done;)c()}catch(e){i.e(e)}finally{i.f()}if(null!=o){var u=o.map((function(t,n){var r;return(null==e||null===(r=e.category)||void 0===r?void 0:r.id)===t&&s(n),{id:t.id,title:t.title}}));u&&(n=n.concat(u))}l(n)}}),[p]);return d?r.createElement("div",null):f?r.createElement("div",null,"Error: ",f.message):r.createElement("div",{className:"form-group article-listing__venues-filter"},r.createElement("label",{htmlFor:"VenueDropDown"},"Select venue"),r.createElement("div",{className:"select-styled"},r.createElement("select",{id:"VenueDropDown",name:"DropdownListFieldController",onChange:function(t){return function(t){e.setVenue&&(t.target.value,e.setVenue(t.target.value))}(t)},className:"form-control"},r.createElement("option",{value:"*"},"- All -"),null==n?void 0:n.map((function(e,t){return r.createElement("option",{key:"cal-"+t,value:null==e?void 0:e.id},null==e?void 0:e.title)})))))}},85902:function(e,t,n){function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:function(){return r}})},23544:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(32825),o=n(85902);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}},99485:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(23544);function o(){return(0,r.Z)(Date.now())}},83068:function(e,t,n){function r(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),o=new Date(0);return o.setFullYear(t,n,r+1),o.setHours(0,0,0,0),o}n.d(t,{Z:function(){return r}})},32825:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(85902);function o(e){(0,r.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.
21 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},85465:function(e,t,n){n.r(t);var r,o,i=n(27378),a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},l=(o=r={path:void 0,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&r.path)}},r.exports,function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)n.push(o);else if(Array.isArray(o)&&o.length){var a=t.apply(null,o);a&&n.push(a)}else if("object"===i)for(var l in o)e.call(o,l)&&o[l]&&n.push(l)}}return n.join(" ")}o.exports?(t.default=t,o.exports=t):window.classNames=t}(),r.exports);function c(e,t,n){var r,o,i,a,l;function c(){var s=Date.now()-a;s<t&&s>=0?r=setTimeout(c,t-s):(r=null,n||(l=e.apply(i,o),i=o=null))}null==t&&(t=100);var s=function(){i=this,o=arguments,a=Date.now();var s=n&&!r;return r||(r=setTimeout(c,t)),s&&(l=e.apply(i,o),i=o=null),l};return s.clear=function(){r&&(clearTimeout(r),r=null)},s.flush=function(){r&&(l=e.apply(i,o),i=o=null,clearTimeout(r),r=null)},s}c.debounce=c;var s=c;!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".indiana-scroll-container {\n  overflow: auto; }\n  .indiana-scroll-container--dragging {\n    scroll-behavior: auto !important; }\n    .indiana-scroll-container--dragging > * {\n      pointer-events: none;\n      cursor: -webkit-grab;\n      cursor: grab; }\n  .indiana-scroll-container--hide-scrollbars {\n    overflow: hidden;\n    overflow: -moz-scrollbars-none;\n    -ms-overflow-style: none;\n    scrollbar-width: none; }\n    .indiana-scroll-container--hide-scrollbars::-webkit-scrollbar {\n      display: none !important;\n      height: 0 !important;\n      width: 0 !important;\n      background: transparent !important;\n      -webkit-appearance: none !important; }\n  .indiana-scroll-container--native-scroll {\n    overflow: auto; }\n\n.indiana-dragging {\n  cursor: -webkit-grab;\n  cursor: grab; }\n");var u,d=(u="indiana-scroll-container",function(e,t){if(!e)return u;var n;"string"==typeof e?n=e:t=e;var r=u;return n&&(r+="__"+n),r+(t?Object.keys(t).reduce((function(e,n){var o=t[n];return o&&(e+=" "+("boolean"==typeof o?r+"--"+n:r+"--"+n+"_"+o)),e}),""):"")}),f=function(e){function t(t){var n=e.call(this,t)||this;return n.onEndScroll=function(){n.scrolling=!1,!n.pressed&&n.started&&n.processEnd()},n.onScroll=function(e){var t=n.container.current;t.scrollLeft===n.scrollLeft&&t.scrollTop===n.scrollTop||(n.scrolling=!0,n.processScroll(e),n.onEndScroll())},n.onTouchStart=function(e){var t=n.props.nativeMobileScroll;if(n.isDraggable(e.target))if(n.internal=!0,t&&n.scrolling)n.pressed=!0;else{var r=e.touches[0];n.processClick(e,r.clientX,r.clientY),!t&&n.props.stopPropagation&&e.stopPropagation()}},n.onTouchEnd=function(e){var t=n.props.nativeMobileScroll;n.pressed&&(!n.started||n.scrolling&&t?n.pressed=!1:n.processEnd(),n.forceUpdate())},n.onTouchMove=function(e){var t=n.props.nativeMobileScroll;if(n.pressed&&(!t||!n.isMobile)){var r=e.touches[0];r&&n.processMove(e,r.clientX,r.clientY),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation()}},n.onMouseDown=function(e){n.isDraggable(e.target)&&n.isScrollable()&&(n.internal=!0,-1!==n.props.buttons.indexOf(e.button)&&(n.processClick(e,e.clientX,e.clientY),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation()))},n.onMouseMove=function(e){n.pressed&&(n.processMove(e,e.clientX,e.clientY),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation())},n.onMouseUp=function(e){n.pressed&&(n.started?n.processEnd():(n.internal=!1,n.pressed=!1,n.forceUpdate(),n.props.onClick&&n.props.onClick(e)),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation())},n.container=i.createRef(),n.onEndScroll=s(n.onEndScroll,300),n.scrolling=!1,n.started=!1,n.pressed=!1,n.internal=!1,n.getRef=n.getRef.bind(n),n}return function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.componentDidMount=function(){var e=this.props.nativeMobileScroll,t=this.container.current;window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd),t.addEventListener("touchstart",this.onTouchStart,{passive:!1}),t.addEventListener("mousedown",this.onMouseDown,{passive:!1}),e&&(this.isMobile=this.isMobileDevice(),this.isMobile&&this.forceUpdate())},t.prototype.componentWillUnmount=function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},t.prototype.getElement=function(){return this.container.current},t.prototype.isMobileDevice=function(){return void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")},t.prototype.isDraggable=function(e){var t=this.props.ignoreElements;if(t){var n=e.closest(t);return null===n||n.contains(this.getElement())}return!0},t.prototype.isScrollable=function(){var e=this.container.current;return e&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)},t.prototype.processClick=function(e,t,n){var r=this.container.current;this.scrollLeft=r.scrollLeft,this.scrollTop=r.scrollTop,this.clientX=t,this.clientY=n,this.pressed=!0},t.prototype.processStart=function(e){void 0===e&&(e=!0);var t=this.props.onStartScroll;this.started=!0,e&&document.body.classList.add("indiana-dragging"),t&&t({external:!this.internal}),this.forceUpdate()},t.prototype.processScroll=function(e){if(this.started){var t=this.props.onScroll;t&&t({external:!this.internal})}else this.processStart(!1)},t.prototype.processMove=function(e,t,n){var r=this.props,o=r.horizontal,i=r.vertical,a=r.activationDistance,l=r.onScroll,c=this.container.current;this.started?(o&&(c.scrollLeft-=t-this.clientX),i&&(c.scrollTop-=n-this.clientY),l&&l({external:!this.internal}),this.clientX=t,this.clientY=n,this.scrollLeft=c.scrollLeft,this.scrollTop=c.scrollTop):(o&&Math.abs(t-this.clientX)>a||i&&Math.abs(n-this.clientY)>
2a)&&(this.clientX=t,this.clientY=n,this.processStart())},t.prototype.processEnd=function(){var e=this.props.onEndScroll;this.container.current&&e&&e({external:!this.internal}),this.pressed=!1,this.started=!1,this.scrolling=!1,this.internal=!1,document.body.classList.remove("indiana-dragging"),this.forceUpdate()},t.prototype.getRef=function(e){[this.container,this.props.innerRef].forEach((function(t){t&&("function"==typeof t?t(e):t.current=e)}))},t.prototype.render=function(){var e=this.props,t=e.children,n=e.draggingClassName,r=e.className,o=e.style,a=e.hideScrollbars,c=e.component;return i.createElement(c,{className:l(r,this.pressed&&n,d({dragging:this.pressed,"hide-scrollbars":a,"native-scroll":this.isMobile})),style:o,ref:this.getRef,onScroll:this.onScroll},t)},t.defaultProps={nativeMobileScroll:!0,hideScrollbars:!0,activationDistance:10,vertical:!0,horizontal:!0,stopPropagation:!1,style:{},component:"div",buttons:[0]},t}(i.PureComponent);t.default=f},20268:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},91646:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const a=i(n(27378)),l=n(10238),c=n(59685),s=n(5631);t.default=({radioItems:e,setSelectedIndex:t,selectedIndex:n,appearance:r="small",divider:o=!1,useIndexAsKey:i=!1,Site:u,showAllOption:d})=>{const f=(0,a.useRef)((0,c.nanoid)()),[p,h]=(0,a.useState)();return(0,a.useEffect)((()=>{const e="aac77788-fe9e-4086-a048-065516586325",t="5ffb9e04-17d7-4d4c-9466-6243bef2af79",n="0e50054e-3f49-465d-bcb3-0a73b1557aca",r="7110c8dc-4d25-4226-b3a1-e5cbd68dcf37",o="dd73469c-be96-43d6-ad7d-28d9590dcbda",i="01a3314c-6dab-473d-a373-a2d3d0594aa3",a="2b915f5e-4ab2-4995-8d35-4eaaf
2ce18e34",l="a2561a6e-c84a-42de-b7d8-9d1331c8fcfc",c="07d55053-581f-404b-87ef-de9de25d5167",s="902adcc2-5c91-4a10-8798-b3ddb30231d8",d="11b437d2-7159-4a4b-b022-f5236482d76f";"hbfstadium"===(null==u?void 0:u.toLocaleLowerCase())&&h([e,t,i,r,n,o,a,d,s,c,l]),"hbfarena"===(null==u?void 0:u.toLocaleLowerCase())&&h([e,t,i,r,n,"2917e8a3-8194-489d-a112-aba679ab7126",o,a,d,s,c,l]),"hbfpark"===(null==u?void 0:u.toLocaleLowerCase())&&h([t,"edb85b0e-bb8b-46b8-8ddd-368dfb5e7b5c","91fb9888-8e9f-499c-ad7d-b17fc12e1a21","3fdfcd62-8b39-4336-ae31-30fb89fa5503",a,d,c]),"frontendsitemap"===(null==u?void 0:u.toLocaleLowerCase())&&h([a,d,s,c,l])}),[u]),a.default.createElement("div",{className:`react-radio-group ${o?"width-divider":""} --${r}`},e&&a.default.createElement(a.default.Fragment,null,e.map(((e,r)=>{const{title:o,id:c}=e,u="outdoor 50m wais"==o.toLocaleLowerCase()?"Outdoor 50m 8-Lane":o,d=i?`${r}${f.current}`:`${c}${f.current}`;return a.default.createElement(a.Fragment,{key:d},a.default.createElement("label",{className:"react-radio-group__label"+(n===r?" --is-selected":""),htmlFor:c+f.current},n===r&&a.default.createElement(l.motion.div,{className:"selected-indicator",layoutId:f.current}),a.default.createElement("div",{className:"label-text"},u),a.default.createElement("input",{type:"radio",id:c+f.current,value:r,checked:n===r,onChange:()=>((e,n)=>{(0,s.triggerEvent)("tab_click",{tab_label:n,page_path:window.location.pathname}),t(e)})(r,o),name:"location"})))}))))}},82813:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=i(n(27378)),c=a(n(85465));t.default=({children:e,scrollPosition:t=0})=>{const n=(0,l.useRef)(null),r=(0,l.useRef)(0),o=e=>{r.current=e.target.scrollLeft};return(0,l.useEffect)((()=>{if(null!==n.current)return n.current.addEventListener("scroll",o),()=>{n.current&&n.current.removeEventListener("scroll",o)}}),[]),(0,l.useEffect)((()=>{null!==n.current&&(n.current.scrollLeft=r.current)})),(0,l.useEffect)((()=>{null!==n.current&&0!==t&&(n.current.scrollLeft=t)}),[t]),l.default.createElement(c.default,{className:"horizontal-scroll-area",vertical:!1,innerRef:n},l.default.createElement("div",{ref:n},l.default.createElement("div",{className:"horizontal-scroll-area__inner"},e)))}},59685:function(e,t,n){n.r(t),n.d(t,{customAlphabet:function(){return a},customRandom:function(){return i},nanoid:function(){return l},random:function(){return o},urlAlphabet:function(){return r}});let r="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",o=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return(i=t)=>{let a="";for(;;){let t=n(o),l=o;for(;l--;)if(a+=e[t[l]&r]||"",a.length===i)return a}}},a=(e,t=21)=>i(e,t,o),l=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_"),"")}}]);

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.