PageSourceSearch

https://sjmc.gov.au/wp-content/cache/wpfc-minified/60fc9e93e35eb3fa540bb2e0362e1712/a3vox.js

js sjmc.gov.au collected 2026-10-02 10:06:05 UTC 5,717 bytes, 1 lines download raw bytes

1var Swell;if(function($,e,l,a){"use strict";Swell={init:function(){Swell.initMaps(),Swell.initMeowMeow(),Swell.initDomMutationEvent()},initDomMutationEvent:function(){var a=jQuery(l),t=function(){var e=l.body,a=e.innerHTML,t=a.match(/<([a-z][a-z0-9]*)\b[^>]*>/gi),o="undefined"!=typeof e.textContent?e.textContent:a.replace(/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,"");return t.length+1e3*o.length};e._domMutationState=t(),e._domMutationEventInterval=setInterval(function(){var o=a.data("events");if("undefined"!=typeof o&&"undefined"!=typeof o["swl/mutation"]&&0!==o["swl/mutation"].length){var n=t();n!==e._domMutationState&&(jQuery(l).trigger("swl/mutation"),e._domMutationState=n)}},100)},initMeowMeow:function(){function e(l){if(null!==l&&1===l.nodeType){if("script"===l.tagName.toLowerCase()||"style"===l.tagName.toLowerCase())return;if(l=l.firstChild){var a;do a=l.nextSibling,e(l);while(l=a)}}else if(null!==l&&3===l.nodeType){var t=l.data;if(t=t.replace(/\b[A-Z][A-Za-z'’]*\b/g,"Meow"),t=t.replace(/\b[a-z][A-Za-z'’]*\b/g,"meow"),l.data===t)return;l.data=t}}$(l.body).hasClass("meow-meow-meow")&&(e(l.documentElement),$(l).on("swl/mutation",function(){e(l.documentElement)}))},_maps:[],_markers:[],_types:{},_geocoder:null,_info:null,initMaps:function(){Swell._geocoder=new google.maps.Geocoder,Swell._info=new google.maps.InfoWindow,google.maps.event.addListener(Swell._info,"domready",function(){var e=jQuery(".gm-style-iw"),l=e.parent().addClass("info-window-background"),a=e.next().addClass("info-window-close"),t=l.children().first().addClass("info-window-arrow")}),"function"==typeof swellMapMarkers&&(swellMapMarkers=swellMapMarkers()),Swell._prepareMaps(),$(l).on("swl/mutation",function(){Swell._prepareMaps()})},_prepareMaps:function(){var e=jQuery(".swell_map:not(.initialised)");e&&0!=e.length&&e.addClass("initialised").each(function(){var e=jQuery(this).hide(),l=e.prop("id"),t="google_"+l,o=jQuery("<div></div>").attr({id:t}).insertAfter(e);o.css({display:"block",position:"relative",height:500});var n={scrollwheel:!e.data("disable-scroll"),draggable:!e.data("disable-scroll"),center:new google.maps.LatLng(-35.321798315838315,149.13306134893492),zoom:8,mapTypeControlOptions:{mapTypeIds:[]}},r=e.data("zoom");r!==a&&(n.zoom=r);var s=e.data("lat-long");if(s!==a){var i=s.split(",");n.center=new google.maps.LatLng(i[0],i[1])}var p=new google.maps.Map(o[0],n);if("undefined"!=typeof swellMapStyles){var d=new google.maps.StyledMapType(swellMapStyles,{name:swellMapTitle});p.mapTypes.set("swell_style",d),p.setMapTypeId("swell_style")}var f=new google.maps.LatLngBounds;e.children(".swell_map_marker").each(function(){var e=jQuery(this),l=e.attr("id"),t=e.data("lat-long"),o=e.data("location"),n=e.html(),i=e.data("address-type");i!==a&&(i=i.split(" "));var d={};swellMapMarkers!==a&&(swellMapMarkers[l]!==a?d=swellMapMarkers[l]:"object"==typeof i&&i[0]!==a&&swellMapMarkers["type-"+i[0]]!==a?d=swellMapMarkers["type-"+i[0]]:swellMapMarkers.default!==a&&(d=swellMapMarkers.default));var u=!s||s.length<=0,w=Swell._prepareMarker(p,t,o,n,d,u);if(Swell._markers.push(w),Swell._markers.length>1&&w.getPosition()!==a&&r===a&&(f.extend(w.getPosition()),p.fitBounds(f)),"object"==typeof i)for(var c in i){var g=i[c];Swell._types[g]===a&&(Swell._types[g]=[]),Swell._types[g].push(w)}}),e.on("click",'a[href^="#address-type-"]',{map:p},function(e){e.preventDefault();var l=jQuery(this).attr("href");jQuery('a[href="'+l+'"]').toggleClass("selected");var t=[];if(jQuery('a[href^="#address-type-"].selected').each(function(){var e=jQuery(this).attr("href").replace("#address-type-","");return"__all"===e?(jQuery('a[href^="#address-type-"]').removeClass("selected"),void(t=[])):void t.push(jQuery(this).attr("href").replace("#address-type-",""))}),t.length)for(var o in Swell._markers){var n=Swell._markers[o],r=!1;jQuery.each(t,function(e,l){Swell._types[l]!==a&&jQuery.inArray(n,Swell._types[l])>=0&&(r=!0)}),r?null===n.getMap()&&n.setMap(e.data.map):n.setMap(null)}else for(var o in Swell._markers){var n=Swell._markers[o];null===n.getMap()&&n.setMap(e.data.map)}}),Swell._maps[l]=p})},_prepareMarker:function(l,t,o,n,r,s){var i=new google.maps.Marker(r);if(google.maps.event.addListener(i,"click",function(){!n||null!==Swell._info.getMap()&&Swell._info.getMap()!==a&&Swell._info.getContent()===n?Swell._info.close():(Swell._info.setContent(n),Swell._info.open(l,i))}),t===a)o===a&&(o=jQuery("footer .vcard .adr").text()),Swell._geocoder.geocode({address:o},function(a,t){t===google.maps.GeocoderStatus.OK&&(a[0].partial_match===!0?"undefined"!=typeof e.console.log&&e.console.log('Coordinates could only be partially matched for "'+o+'".'):"undefined"!=typeof a[0].geometry.location?(Swell._placeMarker(i,l,a[0].geometry.location,s),"undefined"!=typeof e.console.log&&e.console.log('Coordinates successfully geocoded for "'+o+'".')):"function"==typeof console.log&&"undefined"!=typeof e.console.log&&e.console.log('Coordinates could not be determined for "'+o+'".'))});else{var p=t.split(","),d=new google.maps.LatLng(p[0],p[1]);Swell._placeMarker(i,l,d,s)}return i},_placeMarker:function(e,l,t,o){if(t===a)return void("function"==typeof console.log&&console.log("A marker is missing coordinates."));if(e.setPosition(t),e.setMap(l),Swell._markers.length>1&&o!==!1){var n=l.getBounds();n===a?l.setCenter(t):(n.extend(t),l.fitBounds(n))}}}
1,$(l).ready(function(){Swell.init()})}(jQuery,window,document),void 0==swellMapStyles)var swellMapStyles=[{featureType:"poi",elementType:"all",stylers:[{visibility:"simplified"}]}];if(void 0==swellMapMarkers)var swellMapMarkers=function(){return{}};if(void 0==swellMapTitle)var swellMapTitle="Swell Map";if(void 0==swellMapShowMarkerPopup)var swellMapShowMarkerPopup=!0;

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.