PageSourceSearch

https://benton.k12.in.us/dist/assets/tooltip-Cfbk5X53.js

js benton.k12.in.us collected 2026-09-25 05:04:45 UTC 11,694 bytes, 2 lines download raw bytes

1import{$ as A}from"./jquery-UIAagU1C.js";+(function(n){function T(){var c=document.createElement("bootstrap"),v={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var g in v)if(c.style[g]!==void 0)return{end:v[g]};return!1}n.fn.emulateTransitionEnd=function(c){var v=!1,g=this;n(this).one("bsTransitionEnd",function(){v=!0});var b=function(){v||n(g).trigger(n.support.transition.end)};return setTimeout(b,c),this},n(function(){n.support.transition=T(),n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(c){if(n(c.target).is(this))return c.handleObj.handler.apply(this,arguments)}})})})(A);+(function(n){var T=["sanitize","whiteList","sanitizeFn"],c=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],v=/^aria-[\w-]*$/i,g={"*":["class","dir","id","lang","role",v],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},b=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,D=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function C(t,e){var i=t.nodeName.toLowerCase();if(n.inArray(i,e)!==-1)return n.inArray(i,c)!==-1?!!(t.nodeValue.match(b)||t.nodeValue.match(D)):!0;for(var o=n(e).filter(function(a,f){return f instanceof RegExp}),l=0,s=o.length;l<s;l++)if(i.match(o[l]))return!0;return!1}function S(t,e,i){if(t.length===0)return t;if(i&&typeof i=="function")return i(t);if(!document.implementation||!document.implementation.createHTMLDocument)return t;var o=document.implementation.createHTMLDocument("sanitization");o.body.innerHTML=t;for(var l=n.map(e,function(w,E){return E}),s=n(o.body).find("*"),a=0,f=s.length;a<f;a++){var h=s[a],p=h.nodeName.toLowerCase();if(n.inArray(p,l)===-1){h.parentNode.removeChild(h);continue}for(var u=n.map(h.attributes,function(w){return w}),y=[].concat(e["*"]||[],e[p]||[]),d=0,m=u.length;d<m;d++)C(u[d],y)||h.removeAttribute(u[d].nodeName)}return o.body.innerHTML}var r=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};r.VERSION="3.4.1",r.TRANSITION_DURATION=150,r.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:g},r.prototype.init=function(t,e,i){if(this.enabled=!0,this.type=t,this.$element=n(e),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&n(document).find(n.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),l=o.length;l--;){var s=o[l];if(s=="click")this.$element.on("click."+this.type,this.options.selector,n.proxy(this.toggle,this));else if(s!="manual"){var a=s=="hover"?"mouseenter":"focusin",f=s=="hover"?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,n.proxy(this.enter,this)),this.$element.on(f+"."+this.type,this.options.selector,n.proxy(this.leave,this))}}this.options.selector?this._options=n.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},r.prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.getOptions=function(t){var e=this.$element.data();for(var i in e)e.hasOwnProperty(i)&&n.inArray(i,T)!==-1&&delete e[i];return t=n.extend({},this.getDefaults(),e,t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t.sanitize&&(t.template=S(t.template,t.whiteList,t.sanitizeFn)),t},r.prototype.getDelegateOptions=function(){var t={},e=this.getDefaults();return this._options&&n.each(this._options,function(i,o){e[i]!=o&&(t[i]=o)}),t},r.prototype.enter=function(t){var e=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,e)),t instanceof n.Event&&(e.inState[t.type=="focusin"?"focus":"hover"]=!0),e.tip().hasClass("in")||e.hoverState=="in"){e.hoverState="in";return}if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){e.hoverState=="in"&&e.show()}
1,e.options.delay.show)},r.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},r.prototype.leave=function(t){var e=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,e)),t instanceof n.Event&&(e.inState[t.type=="focusout"?"focus":"hover"]=!1),!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){e.hoverState=="out"&&e.hide()},e.options.delay.hide)}},r.prototype.show=function(){var t=n.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var e=n.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!e)return;var i=this,o=this.tip(),l=this.getUID(this.type);this.setContent(),o.attr("id",l),this.$element.attr("aria-describedby",l),this.options.animation&&o.addClass("fade");var s=typeof this.options.placement=="function"?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,f=a.test(s);f&&(s=s.replace(a,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(n(document).find(this.options.container)):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var h=this.getPosition(),p=o[0].offsetWidth,u=o[0].offsetHeight;if(f){var y=s,d=this.getPosition(this.$viewport);s=s=="bottom"&&h.bottom+u>d.bottom?"top":s=="top"&&h.top-u<d.top?"bottom":s=="right"&&h.right+p>d.width?"left":s=="left"&&h.left-p<d.left?"right":s,o.removeClass(y).addClass(s)}var m=this.getCalculatedOffset(s,h,p,u);this.applyPlacement(m,s);var w=function(){var E=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,E=="out"&&i.leave(i)};n.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",w).emulateTransitionEnd(r.TRANSITION_DURATION):w()}},r.prototype.applyPlacement=function(t,e){var i=this.tip(),o=i[0].offsetWidth,l=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),t.top+=s,t.left+=a,n.offset.setOffset(i[0],n.extend({using:function(m){i.css({top:Math.round(m.top),left:Math.round(m.left)})}},t),0),i.addClass("in");var f=i[0].offsetWidth,h=i[0].offsetHeight;e=="top"&&h!=l&&(t.top=t.top+l-h);var p=this.getViewportAdjustedDelta(e,t,f,h);p.left?t.left+=p.left:t.top+=p.top;var u=/top|bottom/.test(e),y=u?p.left*2-o+f:p.top*2-l+h,d=u?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(y,i[0][d],u)},r.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},r.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=S(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},r.prototype.hide=function(t){var e=this,i=n(this.$tip),o=n.Event("hide.bs."+this.type);function l(){e.hoverState!="in"&&i.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),t&&t()}if(this.$element.trigger(o),!o.isDefaultPrevented())return i.removeClass("in"),n.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",l).emulateTransitionEnd(r.TRANSITION_DURATION):l(),this.hoverState=null,this},r.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||typeof t.attr("data-original-title")!="string")&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},r.prototype.hasContent=function(){return this.getTitle()},r.prototype.getPosition=function(t){t=t||this.$element;var e=t[0],i=e.tagName=="BODY",o=e.getBoundingClientRect();o.width==null&&(o=n.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var l=window.SVGElement&&e instanceof window.SVGElement,s=i?{top:0,left:0}:l?null:t.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},f=i?{width:n(window).width(),height:n(window).height()}:null;return n.extend({},o,a,f,s)}
1,r.prototype.getCalculatedOffset=function(t,e,i,o){return t=="bottom"?{top:e.top+e.height,left:e.left+e.width/2-i/2}:t=="top"?{top:e.top-o,left:e.left+e.width/2-i/2}:t=="left"?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},r.prototype.getViewportAdjustedDelta=function(t,e,i,o){var l={top:0,left:0};if(!this.$viewport)return l;var s=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var f=e.top-s-a.scroll,h=e.top+s-a.scroll+o;f<a.top?l.top=a.top-f:h>a.top+a.height&&(l.top=a.top+a.height-h)}else{var p=e.left-s,u=e.left+s+i;p<a.left?l.left=a.left-p:u>a.right&&(l.left=a.left+a.width-u)}return l},r.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||(typeof i.title=="function"?i.title.call(e[0]):i.title),t},r.prototype.getUID=function(t){do t+=~~(Math.random()*1e6);while(document.getElementById(t));return t},r.prototype.tip=function(){if(!this.$tip&&(this.$tip=n(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},r.prototype.enable=function(){this.enabled=!0},r.prototype.disable=function(){this.enabled=!1},r.prototype.toggleEnabled=function(){this.enabled=!this.enabled},r.prototype.toggle=function(t){var e=this;t&&(e=n(t.currentTarget).data("bs."+this.type),e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,e))),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},r.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})},r.prototype.sanitizeHtml=function(t){return S(t,this.options.whiteList,this.options.sanitizeFn)};function N(t){return this.each(function(){var e=n(this),i=e.data("bs.tooltip"),o=typeof t=="object"&&t;!i&&/destroy|hide/.test(t)||(i||e.data("bs.tooltip",i=new r(this,o)),typeof t=="string"&&i[t]())})}var I=n.fn.tooltip;n.fn.tooltip=N,n.fn.tooltip.Constructor=r,n.fn.tooltip.noConflict=function(){return n.fn.tooltip=I,this}})(A);
2//# sourceMappingURL=tooltip-Cfbk5X53.js.map

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.