PageSourceSearch

https://www.surrey.ca/themes/custom/surrey/dist/js/application-head.js?tlk9p5

js surrey.ca collected 2026-09-24 17:13:00 UTC 4,579 bytes, 3 lines download raw bytes

1/*! gruntyplate - v0.1.0 - 2026-09-17
2* Copyright (c) 2026 Gruntyplate;*/
3!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).enquire=t()}(function(){return function i(o,r,s){function u(n,t){if(!r[n]){if(!o[n]){var e="function"==typeof require&&require;if(!t&&e)return e(n,!0);if(c)return c(n,!0);t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}e=r[n]={exports:{}};o[n][0].call(e.exports,function(t){var e=o[n][1][t];return u(e||t)},e,e.exports,i,o,r,s)}return r[n].exports}for(var c="function"==typeof require&&require,t=0;t<s.length;t++)u(s[t]);return u}({1:[function(t,e,n){function i(t,e){this.query=t,this.isUnconditional=e,this.handlers=[],this.mql=window.matchMedia(t);var n=this;this.listener=function(t){n.mql=t.currentTarget||t,n.assess()},this.mql.addListener(this.listener)}var o=t(3),r=t(4).each;i.prototype={constuctor:i,addHandler:function(t){t=new o(t);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(n){var i=this.handlers;r(i,function(t,e){if(t.equals(n))return t.destroy(),!i.splice(e,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){r(this.handlers,function(t){t.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";r(this.handlers,function(t){t[e]()})}},e.exports=i},{3:3,4:4}],2:[function(t,e,n){function i(){if(!window.matchMedia)throw new Error("matchMedia n
3ot present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}var o=t(1),t=t(4),r=t.each,s=t.isFunction,u=t.isArray;i.prototype={constructor:i,register:function(e,t,n){var i=this.queries,n=n&&this.browserIsIncapable;return i[e]||(i[e]=new o(e,n)),s(t)&&(t={match:t}),u(t)||(t=[t]),r(t,function(t){s(t)&&(t={match:t}),i[e].addHandler(t)}),this},unregister:function(t,e){var n=this.queries[t];return n&&(e?n.removeHandler(e):(n.clear(),delete this.queries[t])),this}},e.exports=i},{1:1,4:4}],3:[function(t,e,n){function i(t){(this.options=t).deferSetup||this.setup()}i.prototype={constructor:i,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(t){return this.options===t||this.options.match===t}},e.exports=i},{}],4:[function(t,e,n){e.exports={isFunction:function(t){return"function"==typeof t},isArray:function(t){return"[object Array]"===Object.prototype.toString.apply(t)},each:function(t,e){for(var n=0,i=t.length;n<i&&!1!==e(t[n],n);n++);}}},{}],5:[function(t,e,n){t=t(2);e.exports=new t},{2:2}]},{},[5])(5)}),function(){var d,t,f,h,e;window&&window.addEventListener&&(d=Object.create(null),f=function(){clearTimeout(t),t=setTimeout(e,100)},h=function(){},e=function(){function i(){var t;0===--a&&(h=window.MutationObserver?((t=new MutationObserver(f)).observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),function(){try{t.disconnect()}catch(t){}}):(document.documentElement.addEventListener("DOMSubtreeModified",f,!1),function(){document.documentElement.removeEventListener("DOMSubtreeModified",f,!1)}))}function t(t){return function(){t.onerror=null,t.ontimeout=null,i()}}var e,n,o,r,s,u,c,a=0;if(void 0!==(s=window.XMLHttpRequest?void 0!==(s=new XMLHttpRequest).withCredentials?XMLHttpRequest:XDomainRequest||void 0:s)){for(h(),c=document.getElementsByTagName("use"),r=0;r<c.length;r+=1){try{n=c[r].getBoundingClientRect()}catch(t){n=!1}e=(o=c[r].getAttributeNS("http://www.w3.org/1999/xlink","href").split("#"))[0],o=o[1],u=n&&0===n.left&&0===n.right,n&&0===n.width&&0===n.height&&!u?e.length&&(!0!==(u=d[e])&&c[r].setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#"+o),void 0===u)&&(u=new s,(d[e]=u).onload=function(n){return function(){var t=document.body,e=document.createElement("x");n.onload=null,e.innerHTML=n.responseText,(e=e.getElementsByTagName("svg")[0])&&(e.style.position="absolute",e.style.width=0,e.style.height=0,t.insertBefore(e,t.firstChild)),i()}}(u),u.onerror=t(u),u.ontimeout=t(u),u.open("GET",e),u.send(),a+=1):u||void 0!==d[e]||(d[e]=!0)}c="",a+=1,i()}},window.addEventListener("load",function t(){window.removeEventListener("load",t,!1),e()},!1))}();

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.