PageSourceSearch

https://www.namaoschool.ca/themes/piton/js/min/plugins-min.js?v=20260924144619s

js namaoschool.ca collected 2026-09-28 18:37:36 UTC 8,662 bytes, 7 lines download raw bytes

1!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}((function($){var t=-1,e=-1,i=function(t){return parseFloat(t)||0},n=function(t){var e=$(t),n=null,o=[];return e.each((function(){var t=$(this),e=t.offset().top-i(t.css("margin-top")),s=o.length>0?o[o.length-1]:null;null===s?o.push(t):Math.floor(Math.abs(n-e))<=1?o[o.length-1]=s.add(t):o.push(t),n=e})),o},o=function(t){var e={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof t?$.extend(e,t):("boolean"==typeof t?e.byRow=t:"remove"===t&&(e.remove=!0),e)},s=$.fn.matchHeight=function(t){var e=o(t);if(e.remove){var i=this;return this.css(e.property,""),$.each(s._groups,(function(t,e){e.elements=e.elements.not(i)})),this}return this.length<=1&&!e.target||(s._groups.push({elements:this,options:e}),s._apply(this,e)),this};s.version="master",s._groups=[],s._throttle=80,s._maintainScroll=!1,s._beforeUpdate=null,s._afterUpdate=null,s._rows=n,s._parse=i,s._parseOptions=o,s._apply=function(t,e){var r=o(e),h=$(t),a=[h],c=$(window).scrollTop(),d=$("html").outerHeight(!0),l=h.parents().filter(":hidden");return l.each((function(){var t=$(this);t.data("style-cache",t.attr("style"))})),l.css("display","block"),r.byRow&&!r.target&&(h.each((function(){var t=$(this),e=t.css("display");"inline-block"!==e&&"flex"!==e&&"inline-flex"!==e&&(e="block"),t.data("style-cache",t.attr("style")),t.css({display:e,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})})),a=n(h),h.each((function(){var t=$(this);t.attr("style",t.data("style-cache")||"")}))),$.each(a,(function(t,e){var n=$(e),o=0;if(r.target)o=r.target.outerHeight(!1);else{if(r.byRow&&n.length<=1)return void n.css(r.property,"");n.each((function(){var t=$(this),e=t.attr("style"),i=t.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block");var n={display:i};n[r.property]="",t.css(n),t.outerHeight(!1)>o&&(o=t.outerHeight(!1)),e?t.attr("style",e):t.css("display","")}))}n.each((function(){var t=$(this),e=0;r.target&&t.is(r.target)||("border-box"!==t.css("box-sizing")&&(e+=i(t.css("border-top-width"))+i(t.css("border-bottom-width")),e+=i(t.css("padding-top"))+i(t.css("padding-bottom"))),t.css(r.property,o-e+"px"))}))})),l.each((function(){var t=$(this);t.attr("style",t.data("style-cache")||null)})),s._maintainScroll&&$(window).scrollTop(c/d*$("html").outerHeight(!0)),this},s._applyDataApi=function(){var t={};
vendor: 6,067 bytes, lines 1-7
1$("[data-match-height], [data-mh]").each((function(){var e=$(this),i=e.attr("data-mh")||e.attr("data-match-height");t[i]=i in t?t[i].add(e):e})),$.each(t,(function(){this.matchHeight(!0)}))};var r=function(t){s._beforeUpdate&&s._beforeUpdate(t,s._groups),$.each(s._groups,(function(){s._apply(this.elements,this.options)})),s._afterUpdate&&s._afterUpdate(t,s._groups)};s._update=function(i,n){if(n&&"resize"===n.type){var o=$(window).width();if(o===t)return;t=o}i?-1===e&&(e=setTimeout((function(){r(n),e=-1}),s._throttle)):r(n)},$(s._applyDataApi);var h=$.fn.on?"on":"bind";$(window)[h]("load",(function(t){s._update(!1,t)})),$(window)[h]("resize orientationchange",(function(t){s._update(!0,t)}))})),function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},n=i[t]=i[t]||[];return n.includes(e)||n.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let n=i.indexOf(e);return-1!=n&&i.splice(n,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let n=this._onceEvents&&this._onceEvents[t];for(let o of i)n&&n[o]&&(this.off(t,o),delete n[o]),o.apply(this,e);return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})),
2/*!
3 * imagesLoaded v5.0.0
4 * JavaScript is all like "You images are done yet or what?"
5 * MIT License
6 */
7function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,n=t.console;function o(t,e,s){if(!(this instanceof o))return new o(t,e,s);let r=t;var h;"string"==typeof t&&(r=document.querySelectorAll(t)),r?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?s=e:Object.assign(this.options,e),s&&this.on("always",s),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):n.error(`Bad element for imagesLoaded ${r||t}`)}o.prototype=Object.create(e.prototype),o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const s=[1,9,11];o.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!s.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function a(t,e){this.url=t,this.element=e,this.img=new Image}return o.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let n=i&&i[2];n&&this.addBackground(n,t),i=r.exec(e.backgroundImage)}},o.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},o.prototype.addBackground=function(t,e){let i=new a(t,e);this.images.push(i)},o.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},o.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&n&&n.log(`progress: ${i}`,t,e)},o.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,n="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,n,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype=Object.create(h.prototype),a.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},a.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},o.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new o(this,t,e).jqDeferred.promise(i(this))})},o.makeJQueryPlugin(),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.