PageSourceSearch

https://my.waikato.ac.nz/sitsvision/plugins/javascript/sv.min.js?v=1007.1

js waikato.ac.nz collected 2026-09-24 08:28:21 UTC 10,791 bytes, 23 lines download raw bytes

1+function(c){var e=function(d){c(d).on("click",'[data-sv-dismiss="sv-alert"]',this.close)};e.VERSION="11.1.1-tribal";e.TRANSITION_DURATION=150;e.prototype.close=function(d){function g(){f.detach().trigger("closed.bs.alert").remove()}var a=c(this),b=a.attr("data-sv-target");b||(b=(b=a.attr("href"))&&b.replace(/.*(?=#[^\s]*$)/,""));b="#"===b?[]:b;var f=c(document).find(b);d&&d.preventDefault();f.length||(f=a.closest(".sv-alert"));f.trigger(d=c.Event("close.bs.alert"));d.isDefaultPrevented()||(f.removeClass("sv-in"),
2c.support.transition&&f.hasClass("sv-fade")?f.one("bsTransitionEnd",g).emulateTransitionEnd(e.TRANSITION_DURATION):g())};var h=c.fn.alert;c.fn.alert=function(d){return this.each(function(){var g=c(this),a=g.data("bs.alert");a||g.data("bs.alert",a=new e(this));"string"==typeof d&&a[d].call(g)})};c.fn.alert.Constructor=e;c.fn.alert.noConflict=function(){c.fn.alert=h;return this};c(document).on("click.bs.alert.data-api",'[data-sv-dismiss="sv-alert"]',e.prototype.close)}(jQuery);
3+function(c){function e(a){var b;a=a.attr("data-sv-target")||(b=a.attr("href"))&&b.replace(/.*(?=#[^\s]+$)/,"");return c(document).find(a)}function h(a){return this.each(function(){var b=c(this),f=b.data("bs.collapse"),k=c.extend({},d.DEFAULTS,b.data(),"object"==typeof a&&a);!f&&k.toggle&&/show|hide/.test(a)&&(k.toggle=!1);f||b.data("bs.collapse",f=new d(this,k));if("string"==typeof a)f[a]()})}var d=function(a,b){this.$element=c(a);this.options=c.extend({},d.DEFAULTS,b);this.$trigger=c('[data-sv-toggle="collapse"][href="#'+
4a.id+'"],[data-sv-toggle="collapse"][data-sv-target="#'+a.id+'"]');this.transitioning=null;this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger);this.options.toggle&&this.toggle()};d.VERSION="11.1.1-tribal";d.TRANSITION_DURATION=350;d.DEFAULTS={toggle:!0};d.prototype.dimension=function(){return this.$element.hasClass("sv-width")?"width":"height"};d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("sv-in")){var a,b=this.$parent&&
5this.$parent.find("> .sv-panel").children(".sv-in, .sv-collapsing");if(b&&b.length&&(a=b.data("bs.collapse"))&&a.transitioning)return;var f=c.Event("show.bs.collapse");this.$element.trigger(f);if(!f.isDefaultPrevented()){b&&b.length&&(h.call(b,"hide"),a||b.data("bs.collapse",null));var k=this.dimension();this.$element.removeClass("sv-collapse").addClass("sv-collapsing")[k](0).attr("aria-expanded",!0);this.$trigger.removeClass("sv-collapsed").attr("aria-expanded",!0);this.transitioning=1;a=function(){this.$element.removeClass("sv-collapsing").addClass("sv-collapse sv-in")[k]("");
6this.transitioning=0;this.$element.trigger("shown.bs.collapse")};if(!c.support.transition)return a.call(this);b=c.camelCase(["scroll",k].join("-"));this.$element.one("bsTransitionEnd",c.proxy(a,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[k](this.$element[0][b])}}};d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("sv-in")){var a=c.Event("hide.bs.collapse");this.$element.trigger(a);if(!a.isDefaultPrevented()){a=this.dimension();this.$element[a](this.$element[a]())[0].offsetHeight;
7this.$element.addClass("sv-collapsing").removeClass("sv-collapse sv-in").attr("aria-expanded",!1);this.$trigger.addClass("sv-collapsed").attr("aria-expanded",!1);this.transitioning=1;var b=function(){this.transitioning=0;this.$element.removeClass("sv-collapsing").addClass("sv-collapse").trigger("hidden.bs.collapse")};if(!c.support.transition)return b.call(this);this.$element[a](0).one("bsTransitionEnd",c.proxy(b,this)).emulateTransitionEnd(d.TRANSITION_DURATION)}}};d.prototype.toggle=function(){this[this.$element.hasClass("sv-in")?
8"hide":"show"]()};d.prototype.getParent=function(){return c(this.options.parent).find('[data-sv-toggle="sv-collapse"][data-parent="'+this.options.parent+'"]').each(c.proxy(function(a,b){a=c(b);this.addAriaAndCollapsedClass(e(a),a)},this)).end()};d.prototype.addAriaAndCollapsedClass=function(a,b){var f=a.hasClass("sv-in");a.attr("aria-expanded",f);b.toggleClass("sv-collapsed",!f).attr("aria-expanded",f)};var g=c.fn.collapse;c.fn.collapse=h;c.fn.collapse.Constructor=d;c.fn.collapse.noConflict=function(){c.fn.collapse=
9g;return this};c(document).on("click.bs.collapse.data-api",'[data-sv-toggle="sv-collapse"]',function(a){var b=c(this);b.attr("data-sv-target")||a.preventDefault();a=e(b);b=a.data("bs.collapse")?"toggle":b.data();h.call(a,b)})}(jQuery);
10+function(c){function e(a){var b=a.attr("data-sv-target");b||(b=(b=a.attr("href"))&&/#[A-Za-z]/.test(b)&&b.replace(/.*(?=#[^\s]*$)/,""));return(b="#"!==b?c(document).find(b):null)&&b.length?b:a.parent()}function h(a){a&&3===a.which||c('[data-sv-toggle="sv-dropdown"]').each(function(){var b=c(this),f=e(b),k={relatedTarget:this};!f.hasClass("sv-open")||a&&"click"==a.type&&/input|textarea/i.test(a.target.tagName)&&c.contains(f[0],a.target)||(f.trigger(a=c.Event("hide.bs.dropdown",k)),a.isDefaultPrevented()||
11(b.attr("aria-expanded","false"),f.removeClass("sv-open").trigger("hidden.bs.dropdown",k)))})}var d=function(a){c(a).on("click.bs.dropdown",this.toggle)};d.VERSION="11.1.1-tribal";d.prototype.toggle=function(a){var b=c(this);if(!b.is(".sv-disabled, :disabled")){var f=e(b);a=f.hasClass("sv-open");h();if(!a){var k={relatedTarget:this};f.trigger(a=c.Event("show.bs.dropdown",k));if(a.isDefaultPrevented())return;a=c(document).width();b.trigger("focus").attr("aria-expanded","true");f.toggleClass("sv-open").trigger("shown.bs.dropdown",
12k);b=f.children("ul");1==b.length&&b.hasClass("sv-dropdown-menu")&&(f=b.offset().left+b.outerWidth(),a<f&&b.css("left",a-f+"px"))}return!1}};d.prototype.keydown=function(a){if(/(38|40|27|32)/.test(a.which)&&!/input|textarea/i.test(a.target.tagName)){var b=c(this);a.preventDefault();a.stopPropagation();if(!b.is(".sv-disabled, :disabled")){var f=e(b),k=f.hasClass("sv-open");if(!k&&27!=a.which||k&&27==a.which)return 27==a.which&&f.find('[data-sv-toggle="sv-dropdown"]').trigger("focus"),b.trigger("click");
13b=f.find('[role="menu"] > li:not(.sv-divider):visible > a, [role="listbox"] > li:not(.sv-divider):visible > a');b.length&&(f=b.index(a.target),38==a.which&&0<f&&f--,40==a.which&&f<b.length-1&&f++,~f||(f=0),b.eq(f).trigger("focus"))}}};var g=c.fn.dropdown;c.fn.dropdown=function(a){return this.each(function(){var b=c(this),f=b.data("bs.dropdown");f||b.data("bs.dropdown",f=new d(this));"string"==typeof a&&f[a].call(b)})};c.fn.dropdown.Constructor=d;c.fn.dropdown.noConflict=function(){c.fn.dropdown=g;
14return this};document.addEventListener("click",h,{capture:!0});c(document).on("click.bs.dropdown.data-api",'[data-sv-toggle="sv-dropdown"]',d.prototype.toggle).on("keydown.bs.dropdown.data-api",'[data-sv-toggle="sv-dropdown"]',d.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',d.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',d.prototype.keydown)}(jQuery);
15+function(c){function e(){var h=document.createElement("bootstrap"),d={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},g;for(g in d)if(void 0!==h.style[g])return{end:d[g]};return!1}c.fn.emulateTransitionEnd=function(h){var d=!1,g=this;c(this).one("bsTransitionEnd",function(){d=!0});setTimeout(function(){d||c(g).trigger(c.support.transition.end)},h);return this};c(function(){c.support.transition=e();c.support.transition&&
16(c.event.special.bsTransitionEnd={bindType:c.support.transition.end,delegateType:c.support.transition.end,handle:function(h){if(c(h.target).is(this))return h.handleObj.handler.apply(this,arguments)}})})}(jQuery);
17+function(c){"function"===typeof c.widget&&(c.widget("ui.tooltip",c.ui.tooltip,{_create:function(){!0!==this.options.manualEvents&&this._on({mouseover:"open",focusin:"open"});this.tooltips={};this.parents={};this.liveRegion=c("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body);this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible");this.disabledTitles=c([])},open:function(e){var h=this,d=c(e?e.target:this.element).closest(this.options.items);
18d.length&&(d.data("ui-tooltip-id")?"number"===typeof this.options.delayClosing&&(e=this._find(d),"object"===typeof e&&(delete e.delayedEvent,clearTimeout(e.delayedClose),delete e.delayedClose)):("number"===typeof this.options.delayClosing&&this.options.show&&"number"===typeof this.options.show.delay&&(this.delayedCloseDisabled=!0,setTimeout(function(){h.delayedCloseDisabled=!1},this.options.show.delay)),d.attr("title")&&d.data("ui-tooltip-title",d.attr("title")),d.data("ui-tooltip-open",!0),e&&"mouseover"===
19e.type&&d.parents().each(function(){var g=c(this);if(g.data("ui-tooltip-open")){var a=c.Event("blur");a.target=a.currentTarget=this;h.close(a,!0)}g.attr("title")&&(g.uniqueId(),h.parents[this.id]={element:this,title:g.attr("title")},g.attr("title",""))}),!0!==this.options.manualEvents&&this._registerCloseHandlers(e,d),this._updateContent(d,e)))},close:function(e,h){var d=this,g=c(e?e.currentTarget:this.element),a=this._find(g);
19if(a){var b=a.tooltip;a.closing||(e&&"mouseleave"===e.type&&"number"===
20typeof this.options.delayClosing&&!0!==this.delayedCloseDisabled&&!0!==h?this._registerDelayedCloseHandlers(e,b,a):(delete this.delayedEvent,clearTimeout(this.delayedClose),delete this.delayedClose,clearInterval(this.delayedShow),g.data("ui-tooltip-title")&&!g.attr("title")&&g.attr("title",g.data("ui-tooltip-title")),this._removeDescribedBy(g),a.hiding=!0,b.stop(!0),this._hide(b,this.options.hide,function(){d._removeTooltip(c(this))}),g.removeData("ui-tooltip-open"),this._off(g,"mouseleave focusout keyup"),
21g[0]!==this.element[0]&&this._off(g,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&c.each(this.parents,function(f,k){c(k.element).attr("title",k.title);delete d.parents[f]}),a.closing=!0,this._trigger("close",e,{tooltip:b}),a.hiding||(a.closing=!1)))}else g.removeData("ui-tooltip-open")},_registerDelayedCloseHandlers:function(e,h,d){var g=this;"number"!==typeof d.delayedClose&&(d.delayedEvent=e,d.delayedClose=setTimeout(function(){g.close(d.delayedEvent,!0)},this.options.delayClosing),
22h.on("mouseover",d,function(a){"number"===typeof d.delayedClose&&(clearTimeout(d.delayedClose),delete d.delayedClose);h.on("mouseleave",d,function(b){g.close(d.delayedEvent,!0)})}))}}),c.widget("ui.dialog",c.ui.dialog,{_focusTabbable:function(){var e=this._focusedElement;e||=this.element.find("[autofocus]");e.length||(e=this.element.find(":tabbable"));e.length||(e=this.uiDialogButtonPane.find(":tabbable"));e.length||(e=this.uiDialogTitlebarClose.filter(":tabbable"));e.length||(e=this.uiDialog);this._delay(function(){e.eq(0).trigger("focus")},
230)}}))}(jQuery);

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.