PageSourceSearch

https://hsaa.ca/sites/default/files/js/js_mrBSkThXyiK9BkdYPrKYldAk…1CbB67HCKfof1LFMwjsYraVrKY1UKXEaydcsPsAkr7g

js hsaa.ca collected 2026-10-02 06:40:52 UTC 5,479 bytes, 3 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2'use strict';(function(a,b,c){'use strict';var d=function(a,b){var c;return function(){for(var d=arguments.length,e=Array(d),f=0;f<d;f++)e[f]=arguments[f];clearTimeout(c),c=setTimeout(function(){c=null,a.apply(void 0,e);},b);};};c.predict=new function r(){function c(a,b){for(var d in b)b[d]&&b[d].constructor&&b[d].constructor===Object?(a[d]=a[d]||{},c(a[d],b[d])):a[d]=b[d];return a;}function e(a,b,c){if(a.setSelectionRange)a.setSelectionRange(b,c);else if(a.createTextRange){var d=a.createTextRange();d.collapse(!0),d.moveStart('character',b),d.moveEnd('character',c),d.select();}else 'undefined'!=typeof a.selectionStart&&(a.selectionStart=b,a.selectionEnd=c);a.focus();}function f(a,b,c,d){var f=d.length,g=function(a,d){if(!d||0!==c.lastIndexOf(a,0))for(var e=0,f=b.length;e<f;e++)if(0===b[e].toLowerCase().lastIndexOf(a,0)){k=b[e].toLowerCase();break;}return !k?'':k.toLowerCase().replace(a,'');}(d,k),h=n.sentenceMode?c.join(' '):c;a.value=h+g,f=a.value.length,e(a,f-g.length,f),'function'==typeof n.prediction&&n.prediction.call(null,a,a.value,h,g);}function g(c,d){var e=2<arguments.length&&arguments[2]!==void 0?arguments[2]:'',g='https://search.onpointsuite.ca/api/search-suggest/?search_engine='+b.onPointSearch.onPointKey+'&url_filter=&url_exclude_filter=&q='+e+'&callback=loadSuggestions';a.ajax({dataType:'jsonp',url:encodeURI(g),success:function(a){if(a.suggestions.length&&Array.isArray(a.suggestions)){a.suggestions.sort(function(c,a){return c.weight>a.weight?1:c.weight===a.weight?c.term>a.term?1:-1:-1;});var b=a.suggestions.map(function(a){return a.term;});j=b.slice(),f(c,b,d,e);}}});}function h(a){!m[a.target.id]||a.target.isSameNode(o||document.createElement('a'))||(o=a.target,n=m[a.target.id].opts);}function i(){o=null,n=Object.create(null);}var k,j,l={sentenceMode:!1,stopRule:!1,service:'',prediction:null},m=Object.create(null),n=Object.create(null),o=null,p=d(function(b){var c=b.target,d=c.selectionStart,e=c.value,f=e.substr(0,d);return 8==b.keyCode||46==b.keyCode?(b.target.value=f,void a(c).siblings('.search-suggestions').fadeOut(200)):9==b.keyCode&&a(c).siblings('.search-suggestions').length&&a(c).siblings('.search-suggestions:visible').length?(b.preventDefault(),b.stopPropagation(),void a(c).siblings('.search-suggestions').find('li:nth-child(2) a').focus()):void (!!n.stopRule&&!!f.match(n.stopRule)&&(b.preventDefault(),b.stopPropagation()));},100),q=d(function(b){if(!(0!==b.which&&0!==b.keyCode&&(b.ctrlKey||b.metaKey||b.altKey))){b.stopPropagation(),b.preventDefault();var c,d,e=b.target,h=e.value;if(a(e).siblings('.search-suggestions').fadeOut(200),n.sentenceMode)var i=h.split(' '),c=i.slice(-1)[0].toLowerCase();else c=h;return d=c.length,!d||(n.stopRule&&c.match(n.stopRule)?(e.value=h,!1):void (k&&(!k||0===k.lastIndexOf(c,0))?f(e,j,n.sentenceMode?i:h,c):(g(e,n.sentenceMode?i:h,c),k=null)));}},250);return {bind:function d(a,b){a.addEventListener('focus',h,!0),a.addEventListener('blur',i,!0),a.addEventListener('keypress',q,!0),a.addEventListener('keydown',p,!0),m[a.getAttribute('id')]={},m[a.getAttribute('id')].opts=c(l,b);},unbind:function b(a){a.removeEventListener('focus',h,!0),a.removeEventListener('blur',i,!0),a.removeEventListener('keypress',q,!0),a.removeEventListener('keydown',p,!0),delete m[a.getAttribute('id')];}};}();})(jQuery,drupalSettings,window);;
3'use strict';(function(a,b,c){'use strict';b.behaviors.onpoint={attach:function e(){function d(){if(!!c.onPointSearch.onPointKey&&!!c.onPointSearch.onPointInput){var d=c.onPointSearch.onPointInput.split(',').filter(function(a){return a.trim();});if(d.length&&a.each(d,function(b,d){var e=a(d.trim());e.length&&e.each(function(){var b=a(this);!c.onPointSearch.onPointPredict||predict.bind(b[0],{}),a('~ [type="submit"]',b).click(function(a){a.preventDefault(),a.stopPropagation();var d=b.val();0<d.length&&(window.location.href=c.onPointSearch.onPointPath+'?opq='+encodeURI(d));});});}),!!c.onPointSearch.onPointPrimary&&!!c.onPointSearch.onPointSuggested){var e=c.onPointSearch.onPointSuggested.split('\n').filter(function(a){return a;});e=e.map(function(a){return '<li><a href="'+window.location.protocol+'//'+window.location.host+c.onPointSearch.onPointPath+'?opq='+encodeURI(a)+'" tabindex="-1">'+a+'</a></li>';});var f=c.onPointSearch.onPointPrimary.split(',').filter(function(a){return a.trim();});if(f.length){var g=[];a.each(f,function(d,f){var h=a(f.trim());h.length&&h.each(function(){var d=a(this),f='focus_'+Math.random().toString(36).substr(2,9);d.after('<ul class="search-suggestions" role="listbox" tabindex="0"><li><h6>'+b.t(c.onPointSearch.onPointSuggestedTitle+':')+'</h6></li></ul>');var h=d.siblings('.search-suggestions');h.append(e),g[f]=0,a(' a',h).focus(function(){g[f]++;}),d.focus(function(){h.not(':visible').fadeIn(200),g[f]++;});var i=a([d,a(' a',h)]).map(function(){return this.toArray();});i.blur(function(){g[f]--,setTimeout(function(){0>=g[f]&&!i.is(':focus')&&(h.fadeOut(200),g[f]=0);},200);});});});}a('.search-suggestions').keydown(function(b){if(38===b.which||40===b.which){b.preventDefault();var c=a(':focus'),d=38===b.which?c.parent().prev('li:not(:first-of-type)').find('a'):c.parent().next('li').find('a');0===d.length&&(d=38===b.which?a('li:last a',a(this)):a('li:nth-child(2) a',a(this))),d.focus();}else 27===b.which&&a(this).prevAll('input').focus();});}}}a(window).on('load',function(){d();});}};})(jQuery,Drupal,drupalSettings,window);;

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.