PageSourceSearch

https://nexgentaxes.com/wp-content/cache/wp-super-minify/js/76078ad50fc77c48ae60bd8a1c35c685.js?ver=7.1.2

js nexgentaxes.com collected 2026-10-05 04:09:29 UTC 46,038 bytes, 777 lines download raw bytes

vendor: 7,539 bytes, lines 1-134
1+function($){'use strict';function transitionEnd(){var el=document.createElement('bootstrap')
2var transEndEventNames={WebkitTransition:'webkitTransitionEnd',MozTransition:'transitionend',OTransition:'oTransitionEnd otransitionend',transition:'transitionend'}
3for(var name in transEndEventNames){if(el.style[name]!==undefined){return{end:transEndEventNames[name]}}}
4return!1}
5$.fn.emulateTransitionEnd=function(duration){var called=!1
6var $el=this
7$(this).one('bsTransitionEnd',function(){called=!0})
8var callback=function(){if(!called)$($el).trigger($.support.transition.end)}
9setTimeout(callback,duration)
10return this}
11$(function(){$.support.transition=transitionEnd()
12if(!$.support.transition)return
13$.event.special.bsTransitionEnd={bindType:$.support.transition.end,delegateType:$.support.transition.end,handle:function(e){if($(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}})}(jQuery);+function($){'use strict';var dismiss='[data-dismiss="alert"]'
14var Alert=function(el){$(el).on('click',dismiss,this.close)}
15Alert.TRANSITION_DURATION=150
16Alert.prototype.close=function(e){var $this=$(this)
17var selector=$this.attr('data-target')
18if(!selector){selector=$this.attr('href')
19selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')}
20var $parent=$(selector)
21if(e)e.preventDefault()
22if(!$parent.length){$parent=$this.closest('.alert')}
23$parent.trigger(e=$.Event('close.bs.alert'))
24if(e.isDefaultPrevented())return
25$parent.removeClass('in')
26function removeElement(){$parent.detach().trigger('closed.bs.alert').remove()}
27$.support.transition&&$parent.hasClass('fade')?$parent.one('bsTransitionEnd',removeElement).emulateTransitionEnd(Alert.TRANSITION_DURATION):removeElement()}
28function Plugin(option){return this.each(function(){var $this=$(this)
29var data=$this.data('bs.alert')
30if(!data)$this.data('bs.alert',(data=new Alert(this)))
31if(typeof option=='string')data[option].call($this)})}
32var old=$.fn.alert
33$.fn.alert=Plugin
34$.fn.alert.Constructor=Alert
35$.fn.alert.noConflict=function(){$.fn.alert=old
36return this}
37$(document).on('click.bs.alert.data-api',dismiss,Alert.prototype.close)}(jQuery);+function($){'use strict';var Button=function(element,options){this.$element=$(element)
38this.options=$.extend({},Button.DEFAULTS,options)
39this.isLoading=!1}
40Button.DEFAULTS={loadingText:'loading...'}
41Button.prototype.setState=function(state){var d='disabled'
42var $el=this.$element
43var val=$el.is('input')?'val':'html'
44var data=$el.data()
45state+='Text'
46if(data.resetText==null)$el.data('resetText',$el[val]())
47setTimeout($.proxy(function(){$el[val](data[state]==null?this.options[state]:data[state])
48if(state=='loadingText'){this.isLoading=!0
49$el.addClass(d).attr(d,d)}else if(this.isLoading){this.isLoading=!1
50$el.removeClass(d).removeAttr(d)}},this),0)}
51Button.prototype.toggle=function(){var changed=!0
52var $parent=this.$element.closest('[data-toggle="buttons"]')
53if($parent.length){var $input=this.$element.find('input')
54if($input.prop('type')=='radio'){if($input.prop('checked'))changed=!1
55$parent.find('.active').removeClass('active')
56this.$element.addClass('active')}else if($input.prop('type')=='checkbox'){if(($input.prop('checked'))!==this.$element.hasClass('active'))changed=!1
57this.$element.toggleClass('active')}
58$input.prop('checked',this.$element.hasClass('active'))
59if(changed)$input.trigger('change')}else{this.$element.attr('aria-pressed',!this.$element.hasClass('active'))
60this.$element.toggleClass('active')}}
61function Plugin(option){return this.each(function(){var $this=$(this)
62var data=$this.data('bs.button')
63var options=typeof option=='object'&&option
64if(!data)$this.data('bs.button',(data=new Button(this,options)))
65if(option=='toggle')data.toggle()
66else if(option)data.setState(option)})}
67var old=$.fn.button
68$.fn.button=Plugin
69$.fn.button.Constructor=Button
70$.fn.button.noConflict=function(){$.fn.button=old
71return this}
72$(document).on('click.bs.button.data-api','[data-toggle^="button"]',function(e){var $btn=$(e.target)
73if(!$btn.hasClass('btn'))$btn=$btn.closest('.btn')
74Plugin.call($btn,'toggle')
75if(!($(e.target).is('input[type="radio"]')||$(e.target).is('input[type="checkbox"]')))e.preventDefault()}).on('focus.bs.button.data-api blur.bs.button.data-api','[data-toggle^="button"]',function(e){$(e.target).closest('.btn').toggleClass('focus',/^focus(in)?$/.test(e.type))})}(jQuery);+function($){'use strict';var Carousel=function(element,options){this.$element=$(element)
76this.$indicators=this.$element.find('.carousel-indicators')
77this.options=options
78this.paused=null
79this.sliding=null
80this.interval=null
81this.$active=null
82this.$items=null
83this.options.keyboard&&this.$element.on('keydown.bs.carousel',$.proxy(this.keydown,this))
84this.options.pause=='hover'&&!('ontouchstart' in document.documentElement)&&this.$element.on('mouseenter.bs.carousel',$.proxy(this.pause,this)).on('mouseleave.bs.carousel',$.proxy(this.cycle,this))}
85Carousel.TRANSITION_DURATION=600
86Carousel.DEFAULTS={interval:5000,pause:'hover',wrap:!0,keyboard:!0}
87Carousel.prototype.keydown=function(e){if(/input|textarea/i.test(e.target.tagName))return
88switch(e.which){case 37:this.prev();break
89case 39:this.next();break
90default:return}
91e.preventDefault()}
92Carousel.prototype.cycle=function(e){e||(this.paused=!1)
93this.interval&&clearInterval(this.interval)
94this.options.interval&&!this.paused&&(this.interval=setInterval($.proxy(this.next,this),this.options.interval))
95return this}
96Carousel.prototype.getItemIndex=function(item){this.$items=item.parent().children('.item')
97return this.$items.index(item||this.$active)}
98Carousel.prototype.getItemForDirection=function(direction,active){var activeIndex=this.getItemIndex(active)
99var willWrap=(direction=='prev'&&activeIndex===0)||(direction=='next'&&activeIndex==(this.$items.length-1))
100if(willWrap&&!this.options.wrap)return active
101var delta=direction=='prev'?-1:1
102var itemIndex=(activeIndex+delta)%this.$items.length
103return this.$items.eq(itemIndex)}
104Carousel.prototype.to=function(pos){var that=this
105var activeIndex=this.getItemIndex(this.$active=this.$element.find('.item.active'))
106if(pos>(this.$items.length-1)||pos<0)return
107if(this.sliding)return this.$element.one('slid.bs.carousel',function(){that.to(pos)})
108if(activeIndex==pos)return this.pause().cycle()
109return this.slide(pos>activeIndex?'next':'prev',this.$items.eq(pos))}
110Carousel.prototype.pause=function(e){e||(this.paused=!0)
111if(this.$element.find('.next, .prev').length&&$.support.transition){this.$element.trigger($.support.transition.end)
112this.cycle(!0)}
113this.interval=clearInterval(this.interval)
114return this}
115Carousel.prototype.next=function(){if(this.sliding)return
116return this.slide('next')}
117Carousel.prototype.prev=function(){if(this.sliding)return
118return this.slide('prev')}
119Carousel.prototype.slide=function(type,next){var $active=this.$element.find('.item.active')
120var $next=next||this.getItemForDirection(type,$active)
121var isCycling=this.interval
122var direction=type=='next'?'left':'right'
123var that=this
124if($next.hasClass('active'))return(this.sliding=!1)
125var relatedTarget=$next[0]
126var slideEvent=$.Event('slide.bs.carousel',{relatedTarget:relatedTarget,direction:direction})
127this.$element.trigger(slideEvent)
128if(slideEvent.isDefaultPrevented())return
129this.sliding=!0
130isCycling&&this.pause()
131if(this.$indicators.length){this.$indicators.find('.active').removeClass('active')
132var $nextIndicator=$(this.$indicators.children()[this.getItemIndex($next)])
133$nextIndicator&&$nextIndicator.addClass('active')}
134var slidEvent=$.Event('slid.bs.carousel',{relatedTarget:relatedTarget,direction:direction})
vendor: 9,328 bytes, lines 135-300
135if($.support.transition&&this.$element.hasClass('slide')){$next.addClass(type)
136$next[0].offsetWidth
137$active.addClass(direction)
138$next.addClass(direction)
139$active.one('bsTransitionEnd',function(){$next.removeClass([type,direction].join(' ')).addClass('active')
140$active.removeClass(['active',direction].join(' '))
141that.sliding=!1
142setTimeout(function(){that.$element.trigger(slidEvent)},0)}).emulateTransitionEnd(Carousel.TRANSITION_DURATION)}else{$active.removeClass('active')
143$next.addClass('active')
144this.sliding=!1
145this.$element.trigger(slidEvent)}
146isCycling&&this.cycle()
147return this}
148function Plugin(option){return this.each(function(){var $this=$(this)
149var data=$this.data('bs.carousel')
150var options=$.extend({},Carousel.DEFAULTS,$this.data(),typeof option=='object'&&option)
151var action=typeof option=='string'?option:options.slide
152if(!data)$this.data('bs.carousel',(data=new Carousel(this,options)))
153if(typeof option=='number')data.to(option)
154else if(action)data[action]()
155else if(options.interval)data.pause().cycle()})}
156var old=$.fn.carousel
157$.fn.carousel=Plugin
158$.fn.carousel.Constructor=Carousel
159$.fn.carousel.noConflict=function(){$.fn.carousel=old
160return this}
161var clickHandler=function(e){var href
162var $this=$(this)
163var $target=$($this.attr('data-target')||(href=$this.attr('href'))&&href.replace(/.*(?=#[^\s]+$)/,''))
164if(!$target.hasClass('carousel'))return
165var options=$.extend({},$target.data(),$this.data())
166var slideIndex=$this.attr('data-slide-to')
167if(slideIndex)options.interval=!1
168Plugin.call($target,options)
169if(slideIndex){$target.data('bs.carousel').to(slideIndex)}
170e.preventDefault()}
171$(document).on('click.bs.carousel.data-api','[data-slide]',clickHandler).on('click.bs.carousel.data-api','[data-slide-to]',clickHandler)
172$(window).on('load',function(){$('[data-ride="carousel"]').each(function(){var $carousel=$(this)
173Plugin.call($carousel,$carousel.data())})})}(jQuery);+function($){'use strict';var Collapse=function(element,options){this.$element=$(element)
174this.options=$.extend({},Collapse.DEFAULTS,options)
175this.$trigger=$('[data-toggle="collapse"][href="#'+element.id+'"],'+'[data-toggle="collapse"][data-target="#'+element.id+'"]')
176this.transitioning=null
177if(this.options.parent){this.$parent=this.getParent()}else{this.addAriaAndCollapsedClass(this.$element,this.$trigger)}
178if(this.options.toggle)this.toggle()}
179Collapse.TRANSITION_DURATION=350
180Collapse.DEFAULTS={toggle:!0}
181Collapse.prototype.dimension=function(){var hasWidth=this.$element.hasClass('width')
182return hasWidth?'width':'height'}
183Collapse.prototype.show=function(){if(this.transitioning||this.$element.hasClass('in'))return
184var activesData
185var actives=this.$parent&&this.$parent.children('.wpsm_panel').children('.in, .collapsing')
186if(actives&&actives.length){activesData=actives.data('bs.collapse')
187if(activesData&&activesData.transitioning)return}
188var startEvent=$.Event('show.bs.collapse')
189this.$element.trigger(startEvent)
190if(startEvent.isDefaultPrevented())return
191if(actives&&actives.length){Plugin.call(actives,'hide')
192activesData||actives.data('bs.collapse',null)}
193var dimension=this.dimension()
194this.$element.removeClass('collapse').addClass('collapsing')[dimension](0).attr('aria-expanded',!0)
195this.$trigger.removeClass('collapsed').attr('aria-expanded',!0)
196this.transitioning=1
197var complete=function(){this.$element.removeClass('collapsing').addClass('collapse in')[dimension]('')
198this.transitioning=0
199this.$element.trigger('shown.bs.collapse')}
200if(!$.support.transition)return complete.call(this)
201var scrollSize=$.camelCase(['scroll',dimension].join('-'))
202this.$element.one('bsTransitionEnd',$.proxy(complete,this)).emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])}
203Collapse.prototype.hide=function(){if(this.transitioning||!this.$element.hasClass('in'))return
204var startEvent=$.Event('hide.bs.collapse')
205this.$element.trigger(startEvent)
206if(startEvent.isDefaultPrevented())return
207var dimension=this.dimension()
208this.$element[dimension](this.$element[dimension]())[0].offsetHeight
209this.$element.addClass('collapsing').removeClass('collapse in').attr('aria-expanded',!1)
210this.$trigger.addClass('collapsed').attr('aria-expanded',!1)
211this.transitioning=1
212var complete=function(){this.transitioning=0
213this.$element.removeClass('collapsing').addClass('collapse').trigger('hidden.bs.collapse')}
214if(!$.support.transition)return complete.call(this)
215this.$element[dimension](0).one('bsTransitionEnd',$.proxy(complete,this)).emulateTransitionEnd(Collapse.TRANSITION_DURATION)}
216Collapse.prototype.toggle=function(){this[this.$element.hasClass('in')?'hide':'show']()}
217Collapse.prototype.getParent=function(){return $(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each($.proxy(function(i,element){var $element=$(element)
218this.addAriaAndCollapsedClass(getTargetFromTrigger($element),$element)},this)).end()}
219Collapse.prototype.addAriaAndCollapsedClass=function($element,$trigger){var isOpen=$element.hasClass('in')
220$element.attr('aria-expanded',isOpen)
221$trigger.toggleClass('collapsed',!isOpen).attr('aria-expanded',isOpen)}
222function getTargetFromTrigger($trigger){var href
223var target=$trigger.attr('data-target')||(href=$trigger.attr('href'))&&href.replace(/.*(?=#[^\s]+$)/,'')
224return $(target)}
225function Plugin(option){return this.each(function(){var $this=$(this)
226var data=$this.data('bs.collapse')
227var options=$.extend({},Collapse.DEFAULTS,$this.data(),typeof option=='object'&&option)
228if(!data&&options.toggle&&/show|hide/.test(option))options.toggle=!1
229if(!data)$this.data('bs.collapse',(data=new Collapse(this,options)))
230if(typeof option=='string')data[option]()})}
231var old=$.fn.collapse
232$.fn.collapse=Plugin
233$.fn.collapse.Constructor=Collapse
234$.fn.collapse.noConflict=function(){$.fn.collapse=old
235return this}
236$(document).on('click.bs.collapse.data-api','[data-toggle="collapse"]',function(e){var $this=$(this)
237if(!$this.attr('data-target'))e.preventDefault()
238var $target=getTargetFromTrigger($this)
239var data=$target.data('bs.collapse')
240var option=data?'toggle':$this.data()
241Plugin.call($target,option)})}(jQuery);+function($){'use strict';var backdrop='.dropdown-backdrop'
242var toggle='[data-toggle="dropdown"]'
243var Dropdown=function(element){$(element).on('click.bs.dropdown',this.toggle)}
244function getParent($this){var selector=$this.attr('data-target')
245if(!selector){selector=$this.attr('href')
246selector=selector&&/#[A-Za-z]/.test(selector)&&selector.replace(/.*(?=#[^\s]*$)/,'')}
247var $parent=selector&&$(selector)
248return $parent&&$parent.length?$parent:$this.parent()}
249function clearMenus(e){if(e&&e.which===3)return
250$(backdrop).remove()
251$(toggle).each(function(){var $this=$(this)
252var $parent=getParent($this)
253var relatedTarget={relatedTarget:this}
254if(!$parent.hasClass('open'))return
255if(e&&e.type=='click'&&/input|textarea/i.test(e.target.tagName)&&$.contains($parent[0],e.target))return
256$parent.trigger(e=$.Event('hide.bs.dropdown',relatedTarget))
257if(e.isDefaultPrevented())return
258$this.attr('aria-expanded','false')
259$parent.removeClass('open').trigger($.Event('hidden.bs.dropdown',relatedTarget))})}
260Dropdown.prototype.toggle=function(e){var $this=$(this)
261if($this.is('.disabled, :disabled'))return
262var $parent=getParent($this)
263var isActive=$parent.hasClass('open')
264clearMenus()
265if(!isActive){if('ontouchstart' in document.documentElement&&!$parent.closest('.navbar-nav').length){$(document.createElement('div')).addClass('dropdown-backdrop').insertAfter($(this)).on('click',clearMenus)}
266var relatedTarget={relatedTarget:this}
267$parent.trigger(e=$.Event('show.bs.dropdown',relatedTarget))
268if(e.isDefaultPrevented())return
269$this.trigger('focus').attr('aria-expanded','true')
270$parent.toggleClass('open').trigger($.Event('shown.bs.dropdown',relatedTarget))}
271return!1}
272Dropdown.prototype.keydown=function(e){if(!/(38|40|27|32)/.test(e.which)||/input|textarea/i.test(e.target.tagName))return
273var $this=$(this)
274e.preventDefault()
275e.stopPropagation()
276if($this.is('.disabled, :disabled'))return
277var $parent=getParent($this)
278var isActive=$parent.hasClass('open')
279if(!isActive&&e.which!=27||isActive&&e.which==27){if(e.which==27)$parent.find(toggle).trigger('focus')
280return $this.trigger('click')}
281var desc=' li:not(.disabled):visible a'
282var $items=$parent.find('.dropdown-menu'+desc)
283if(!$items.length)return
284var index=$items.index(e.target)
285if(e.which==38&&index>0)index--
286if(e.which==40&&index<$items.length-1)index++
287if(!~index)index=0
288$items.eq(index).trigger('focus')}
289function Plugin(option){return this.each(function(){var $this=$(this)
290var data=$this.data('bs.dropdown')
291if(!data)$this.data('bs.dropdown',(data=new Dropdown(this)))
292if(typeof option=='string')data[option].call($this)})}
293var old=$.fn.dropdown
294$.fn.dropdown=Plugin
295$.fn.dropdown.Constructor=Dropdown
296$.fn.dropdown.noConflict=function(){$.fn.dropdown=old
297return this}
298$(document).on('click.bs.dropdown.data-api',clearMenus).on('click.bs.dropdown.data-api','.dropdown form',function(e){e.stopPropagation()}).on('click.bs.dropdown.data-api',toggle,Dropdown.prototype.toggle).on('keydown.bs.dropdown.data-api',toggle,Dropdown.prototype.keydown).on('keydown.bs.dropdown.data-api','.dropdown-menu',Dropdown.prototype.keydown)}(jQuery);+function($){'use strict';var Modal=function(element,options){this.options=options
299this.$body=$(document.body)
300this.$element=$(element)
vendor: 29,171 bytes, lines 301-777
301this.$dialog=this.$element.find('.modal-dialog')
302this.$backdrop=null
303this.isShown=null
304this.originalBodyPad=null
305this.scrollbarWidth=0
306this.ignoreBackdropClick=!1
307if(this.options.remote){this.$element.find('.modal-content').load(this.options.remote,$.proxy(function(){this.$element.trigger('loaded.bs.modal')},this))}}
308Modal.TRANSITION_DURATION=300
309Modal.BACKDROP_TRANSITION_DURATION=150
310Modal.DEFAULTS={backdrop:!0,keyboard:!0,show:!0}
311Modal.prototype.toggle=function(_relatedTarget){return this.isShown?this.hide():this.show(_relatedTarget)}
312Modal.prototype.show=function(_relatedTarget){var that=this
313var e=$.Event('show.bs.modal',{relatedTarget:_relatedTarget})
314this.$element.trigger(e)
315if(this.isShown||e.isDefaultPrevented())return
316this.isShown=!0
317this.checkScrollbar()
318this.setScrollbar()
319this.$body.addClass('modal-open')
320this.escape()
321this.resize()
322this.$element.on('click.dismiss.bs.modal','[data-dismiss="modal"]',$.proxy(this.hide,this))
323this.$dialog.on('mousedown.dismiss.bs.modal',function(){that.$element.one('mouseup.dismiss.bs.modal',function(e){if($(e.target).is(that.$element))that.ignoreBackdropClick=!0})})
324this.backdrop(function(){var transition=$.support.transition&&that.$element.hasClass('fade')
325if(!that.$element.parent().length){that.$element.appendTo(that.$body)}
326that.$element.show().scrollTop(0)
327that.adjustDialog()
328if(transition){that.$element[0].offsetWidth}
329that.$element.addClass('in')
330that.enforceFocus()
331var e=$.Event('shown.bs.modal',{relatedTarget:_relatedTarget})
332transition?that.$dialog.one('bsTransitionEnd',function(){that.$element.trigger('focus').trigger(e)}).emulateTransitionEnd(Modal.TRANSITION_DURATION):that.$element.trigger('focus').trigger(e)})}
333Modal.prototype.hide=function(e){if(e)e.preventDefault()
334e=$.Event('hide.bs.modal')
335this.$element.trigger(e)
336if(!this.isShown||e.isDefaultPrevented())return
337this.isShown=!1
338this.escape()
339this.resize()
340$(document).off('focusin.bs.modal')
341this.$element.removeClass('in').off('click.dismiss.bs.modal').off('mouseup.dismiss.bs.modal')
342this.$dialog.off('mousedown.dismiss.bs.modal')
343$.support.transition&&this.$element.hasClass('fade')?this.$element.one('bsTransitionEnd',$.proxy(this.hideModal,this)).emulateTransitionEnd(Modal.TRANSITION_DURATION):this.hideModal()}
344Modal.prototype.enforceFocus=function(){$(document).off('focusin.bs.modal').on('focusin.bs.modal',$.proxy(function(e){if(this.$element[0]!==e.target&&!this.$element.has(e.target).length){this.$element.trigger('focus')}},this))}
345Modal.prototype.escape=function(){if(this.isShown&&this.options.keyboard){this.$element.on('keydown.dismiss.bs.modal',$.proxy(function(e){e.which==27&&this.hide()},this))}else if(!this.isShown){this.$element.off('keydown.dismiss.bs.modal')}}
346Modal.prototype.resize=function(){if(this.isShown){$(window).on('resize.bs.modal',$.proxy(this.handleUpdate,this))}else{$(window).off('resize.bs.modal')}}
347Modal.prototype.hideModal=function(){var that=this
348this.$element.hide()
349this.backdrop(function(){that.$body.removeClass('modal-open')
350that.resetAdjustments()
351that.resetScrollbar()
352that.$element.trigger('hidden.bs.modal')})}
353Modal.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove()
354this.$backdrop=null}
355Modal.prototype.backdrop=function(callback){var that=this
356var animate=this.$element.hasClass('fade')?'fade':''
357if(this.isShown&&this.options.backdrop){var doAnimate=$.support.transition&&animate
358this.$backdrop=$(document.createElement('div')).addClass('modal-backdrop '+animate).appendTo(this.$body)
359this.$element.on('click.dismiss.bs.modal',$.proxy(function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1
360return}
361if(e.target!==e.currentTarget)return
362this.options.backdrop=='static'?this.$element[0].focus():this.hide()},this))
363if(doAnimate)this.$backdrop[0].offsetWidth
364this.$backdrop.addClass('in')
365if(!callback)return
366doAnimate?this.$backdrop.one('bsTransitionEnd',callback).emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION):callback()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass('in')
367var callbackRemove=function(){that.removeBackdrop()
368callback&&callback()}
369$.support.transition&&this.$element.hasClass('fade')?this.$backdrop.one('bsTransitionEnd',callbackRemove).emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION):callbackRemove()}else if(callback){callback()}}
370Modal.prototype.handleUpdate=function(){this.adjustDialog()}
371Modal.prototype.adjustDialog=function(){var modalIsOverflowing=this.$element[0].scrollHeight>document.documentElement.clientHeight
372this.$element.css({paddingLeft:!this.bodyIsOverflowing&&modalIsOverflowing?this.scrollbarWidth:'',paddingRight:this.bodyIsOverflowing&&!modalIsOverflowing?this.scrollbarWidth:''})}
373Modal.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:'',paddingRight:''})}
374Modal.prototype.checkScrollbar=function(){var fullWindowWidth=window.innerWidth
375if(!fullWindowWidth){var documentElementRect=document.documentElement.getBoundingClientRect()
376fullWindowWidth=documentElementRect.right-Math.abs(documentElementRect.left)}
377this.bodyIsOverflowing=document.body.clientWidth<fullWindowWidth
378this.scrollbarWidth=this.measureScrollbar()}
379Modal.prototype.setScrollbar=function(){var bodyPad=parseInt((this.$body.css('padding-right')||0),10)
380this.originalBodyPad=document.body.style.paddingRight||''
381if(this.bodyIsOverflowing)this.$body.css('padding-right',bodyPad+this.scrollbarWidth)}
382Modal.prototype.resetScrollbar=function(){this.$body.css('padding-right',this.originalBodyPad)}
383Modal.prototype.measureScrollbar=function(){var scrollDiv=document.createElement('div')
384scrollDiv.className='modal-scrollbar-measure'
385this.$body.append(scrollDiv)
386var scrollbarWidth=scrollDiv.offsetWidth-scrollDiv.clientWidth
387this.$body[0].removeChild(scrollDiv)
388return scrollbarWidth}
389function Plugin(option,_relatedTarget){return this.each(function(){var $this=$(this)
390var data=$this.data('bs.modal')
391var options=$.extend({},Modal.DEFAULTS,$this.data(),typeof option=='object'&&option)
392if(!data)$this.data('bs.modal',(data=new Modal(this,options)))
393if(typeof option=='string')data[option](_relatedTarget)
394else if(options.show)data.show(_relatedTarget)})}
395var old=$.fn.modal
396$.fn.modal=Plugin
397$.fn.modal.Constructor=Modal
398$.fn.modal.noConflict=function(){$.fn.modal=old
399return this}
400$(document).on('click.bs.modal.data-api','[data-toggle="modal"]',function(e){var $this=$(this)
401var href=$this.attr('href')
402var $target=$($this.attr('data-target')||(href&&href.replace(/.*(?=#[^\s]+$)/,'')))
403var option=$target.data('bs.modal')?'toggle':$.extend({remote:!/#/.test(href)&&href},$target.data(),$this.data())
404if($this.is('a'))e.preventDefault()
405$target.one('show.bs.modal',function(showEvent){if(showEvent.isDefaultPrevented())return
406$target.one('hidden.bs.modal',function(){$this.is(':visible')&&$this.trigger('focus')})})
407Plugin.call($target,option,this)})}(jQuery);+function($){'use strict';var Tooltip=function(element,options){this.type=null
408this.options=null
409this.enabled=null
410this.timeout=null
411this.hoverState=null
412this.$element=null
413this.inState=null
414this.init('tooltip',element,options)}
415Tooltip.TRANSITION_DURATION=150
416Tooltip.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}}
417Tooltip.prototype.init=function(type,element,options){this.enabled=!0
418this.type=type
419this.$element=$(element)
420this.options=this.getOptions(options)
421this.$viewport=this.options.viewport&&$($.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):(this.options.viewport.selector||this.options.viewport))
422this.inState={click:!1,hover:!1,focus:!1}
423if(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!')}
424var triggers=this.options.trigger.split(' ')
425for(var i=triggers.length;i--;){var trigger=triggers[i]
426if(trigger=='click'){this.$element.on('click.'+this.type,this.options.selector,$.proxy(this.toggle,this))}else if(trigger!='manual'){var eventIn=trigger=='hover'?'mouseenter':'focusin'
427var eventOut=trigger=='hover'?'mouseleave':'focusout'
428this.$element.on(eventIn+'.'+this.type,this.options.selector,$.proxy(this.enter,this))
429this.$element.on(eventOut+'.'+this.type,this.options.selector,$.proxy(this.leave,this))}}
430this.options.selector?(this._options=$.extend({},this.options,{trigger:'manual',selector:''})):this.fixTitle()}
431Tooltip.prototype.getDefaults=function(){return Tooltip.DEFAULTS}
432Tooltip.prototype.getOptions=function(options){options=$.extend({},this.getDefaults(),this.$element.data(),options)
433if(options.delay&&typeof options.delay=='number'){options.delay={show:options.delay,hide:options.delay}}
434return options}
435Tooltip.prototype.getDelegateOptions=function(){var options={}
436var defaults=this.getDefaults()
437this._options&&$.each(this._options,function(key,value){if(defaults[key]!=value)options[key]=value})
438return options}
439Tooltip.prototype.enter=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data('bs.'+this.type)
440if(!self){self=new this.constructor(obj.currentTarget,this.getDelegateOptions())
441$(obj.currentTarget).data('bs.'+this.type,self)}
442if(obj instanceof $.Event){self.inState[obj.type=='focusin'?'focus':'hover']=!0}
443if(self.tip().hasClass('in')||self.hoverState=='in'){self.hoverState='in'
444return}
445clearTimeout(self.timeout)
446self.hoverState='in'
447if(!self.options.delay||!self.options.delay.show)return self.show()
448self.timeout=setTimeout(function(){if(self.hoverState=='in')self.show()},self.options.delay.show)}
449Tooltip.prototype.isInStateTrue=function(){for(var key in this.inState){if(this.inState[key])return!0}
450return!1}
451Tooltip.prototype.leave=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data('bs.'+this.type)
452if(!self){self=new this.constructor(obj.currentTarget,this.getDelegateOptions())
453$(obj.currentTarget).data('bs.'+this.type,self)}
454if(obj instanceof $.Event){self.inState[obj.type=='focusout'?'focus':'hover']=!1}
455if(self.isInStateTrue())return
456clearTimeout(self.timeout)
457self.hoverState='out'
458if(!self.options.delay||!self.options.delay.hide)return self.hide()
459self.timeout=setTimeout(function(){if(self.hoverState=='out')self.hide()},self.options.delay.hide)}
460Tooltip.prototype.show=function(){var e=$.Event('show.bs.'+this.type)
461if(this.hasContent()&&this.enabled){this.$element.trigger(e)
462var inDom=$.contains(this.$element[0].ownerDocument.documentElement,this.$element[0])
463if(e.isDefaultPrevented()||!inDom)return
464var that=this
465var $tip=this.tip()
466var tipId=this.getUID(this.type)
467this.setContent()
468$tip.attr('id',tipId)
469this.$element.attr('aria-describedby',tipId)
470if(this.options.animation)$tip.addClass('fade')
471var placement=typeof this.options.placement=='function'?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement
472var autoToken=/\s?auto?\s?/i
473var autoPlace=autoToken.test(placement)
474if(autoPlace)placement=placement.replace(autoToken,'')||'top'
475$tip.detach().css({top:0,left:0,display:'block'}).addClass(placement).data('bs.'+this.type,this)
476this.options.container?$tip.appendTo(this.options.container):$tip.insertAfter(this.$element)
477this.$element.trigger('inserted.bs.'+this.type)
478var pos=this.getPosition()
479var actualWidth=$tip[0].offsetWidth
480var actualHeight=$tip[0].offsetHeight
481if(autoPlace){var orgPlacement=placement
482var viewportDim=this.getPosition(this.$viewport)
483placement=placement=='bottom'&&pos.bottom+actualHeight>viewportDim.bottom?'top':placement=='top'&&pos.top-actualHeight<viewportDim.top?'bottom':placement=='right'&&pos.right+actualWidth>viewportDim.width?'left':placement=='left'&&pos.left-actualWidth<viewportDim.left?'right':placement
484$tip.removeClass(orgPlacement).addClass(placement)}
485var calculatedOffset=this.getCalculatedOffset(placement,pos,actualWidth,actualHeight)
486this.applyPlacement(calculatedOffset,placement)
487var complete=function(){var prevHoverState=that.hoverState
488that.$element.trigger('shown.bs.'+that.type)
489that.hoverState=null
490if(prevHoverState=='out')that.leave(that)}
491$.support.transition&&this.$tip.hasClass('fade')?$tip.one('bsTransitionEnd',complete).emulateTransitionEnd(Tooltip.TRANSITION_DURATION):complete()}}
492Tooltip.prototype.applyPlacement=function(offset,placement){var $tip=this.tip()
493var width=$tip[0].offsetWidth
494var height=$tip[0].offsetHeight
495var marginTop=parseInt($tip.css('margin-top'),10)
496var marginLeft=parseInt($tip.css('margin-left'),10)
497if(isNaN(marginTop))marginTop=0
498if(isNaN(marginLeft))marginLeft=0
499offset.top+=marginTop
500offset.left+=marginLeft
501$.offset.setOffset($tip[0],$.extend({using:function(props){$tip.css({top:Math.round(props.top),left:Math.round(props.left)})}},offset),0)
502$tip.addClass('in')
503var actualWidth=$tip[0].offsetWidth
504var actualHeight=$tip[0].offsetHeight
505if(placement=='top'&&actualHeight!=height){offset.top=offset.top+height-actualHeight}
506var delta=this.getViewportAdjustedDelta(placement,offset,actualWidth,actualHeight)
507if(delta.left)offset.left+=delta.left
508else offset.top+=delta.top
509var isVertical=/top|bottom/.test(placement)
510var arrowDelta=isVertical?delta.left*2-width+actualWidth:delta.top*2-height+actualHeight
511var arrowOffsetPosition=isVertical?'offsetWidth':'offsetHeight'
512$tip.offset(offset)
513this.replaceArrow(arrowDelta,$tip[0][arrowOffsetPosition],isVertical)}
514Tooltip.prototype.replaceArrow=function(delta,dimension,isVertical){this.arrow().css(isVertical?'left':'top',50*(1-delta/dimension)+'%').css(isVertical?'top':'left','')}
515Tooltip.prototype.setContent=function(){var $tip=this.tip()
516var title=this.getTitle()
517$tip.find('.tooltip-inner')[this.options.html?'html':'text'](title)
518$tip.removeClass('fade in top bottom left right')}
519Tooltip.prototype.hide=function(callback){var that=this
520var $tip=$(this.$tip)
521var e=$.Event('hide.bs.'+this.type)
522function complete(){if(that.hoverState!='in')$tip.detach()
523that.$element.removeAttr('aria-describedby').trigger('hidden.bs.'+that.type)
524callback&&callback()}
525this.$element.trigger(e)
526if(e.isDefaultPrevented())return
527$tip.removeClass('in')
528$.support.transition&&$tip.hasClass('fade')?$tip.one('bsTransitionEnd',complete).emulateTransitionEnd(Tooltip.TRANSITION_DURATION):complete()
529this.hoverState=null
530return this}
531Tooltip.prototype.fixTitle=function(){var $e=this.$element
532if($e.attr('title')||typeof $e.attr('data-original-title')!='string'){$e.attr('data-original-title',$e.attr('title')||'').attr('title','')}}
533Tooltip.prototype.hasContent=function(){return this.getTitle()}
534Tooltip.prototype.getPosition=function($element){$element=$element||this.$element
535var el=$element[0]
536var isBody=el.tagName=='BODY'
537var elRect=el.getBoundingClientRect()
538if(elRect.width==null){elRect=$.extend({},elRect,{width:elRect.right-elRect.left,height:elRect.bottom-elRect.top})}
539var elOffset=isBody?{top:0,left:0}:$element.offset()
540var scroll={scroll:isBody?document.documentElement.scrollTop||document.body.scrollTop:$element.scrollTop()}
541var outerDims=isBody?{width:$(window).width(),height:$(window).height()}:null
542return $.extend({},elRect,scroll,outerDims,elOffset)}
543Tooltip.prototype.getCalculatedOffset=function(placement,pos,actualWidth,actualHeight){return placement=='bottom'?{top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2}:placement=='top'?{top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2}:placement=='left'?{top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth}:{top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width}}
544Tooltip.prototype.getViewportAdjustedDelta=function(placement,pos,actualWidth,actualHeight){var delta={top:0,left:0}
545if(!this.$viewport)return delta
546var viewportPadding=this.options.viewport&&this.options.viewport.padding||0
547var viewportDimensions=this.getPosition(this.$viewport)
548if(/right|left/.test(placement)){var topEdgeOffset=pos.top-viewportPadding-viewportDimensions.scroll
549var bottomEdgeOffset=pos.top+viewportPadding-viewportDimensions.scroll+actualHeight
550if(topEdgeOffset<viewportDimensions.top){delta.top=viewportDimensions.top-topEdgeOffset}else if(bottomEdgeOffset>viewportDimensions.top+viewportDimensions.height){delta.top=viewportDimensions.top+viewportDimensions.height-bottomEdgeOffset}}else{var leftEdgeOffset=pos.left-viewportPadding
551var rightEdgeOffset=pos.left+viewportPadding+actualWidth
552if(leftEdgeOffset<viewportDimensions.left){delta.left=viewportDimensions.left-leftEdgeOffset}else if(rightEdgeOffset>viewportDimensions.right){delta.left=viewportDimensions.left+viewportDimensions.width-rightEdgeOffset}}
553return delta}
554Tooltip.prototype.getTitle=function(){var title
555var $e=this.$element
556var o=this.options
557title=$e.attr('data-original-title')||(typeof o.title=='function'?o.title.call($e[0]):o.title)
558return title}
559Tooltip.prototype.getUID=function(prefix){do prefix+=~~(Math.random()*1000000)
560while(document.getElementById(prefix))
561return prefix}
562Tooltip.prototype.tip=function(){if(!this.$tip){this.$tip=$(this.options.template)
563if(this.$tip.length!=1){throw new Error(this.type+' `template` option must consist of exactly 1 top-level element!')}}
564return this.$tip}
565Tooltip.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find('.tooltip-arrow'))}
566Tooltip.prototype.enable=function(){this.enabled=!0}
567Tooltip.prototype.disable=function(){this.enabled=!1}
568Tooltip.prototype.toggleEnabled=function(){this.enabled=!this.enabled}
569Tooltip.prototype.toggle=function(e){var self=this
570if(e){self=$(e.currentTarget).data('bs.'+this.type)
571if(!self){self=new this.constructor(e.currentTarget,this.getDelegateOptions())
572$(e.currentTarget).data('bs.'+this.type,self)}}
573if(e){self.inState.click=!self.inState.click
574if(self.isInStateTrue())self.enter(self)
575else self.leave(self)}else{self.tip().hasClass('in')?self.leave(self):self.enter(self)}}
576Tooltip.prototype.destroy=function(){var that=this
577clearTimeout(this.timeout)
578this.hide(function(){that.$element.off('.'+that.type).removeData('bs.'+that.type)
579if(that.$tip){that.$tip.detach()}
580that.$tip=null
581that.$arrow=null
582that.$viewport=null})}
583function Plugin(option){return this.each(function(){var $this=$(this)
584var data=$this.data('bs.tooltip')
585var options=typeof option=='object'&&option
586if(!data&&/destroy|hide/.test(option))return
587if(!data)$this.data('bs.tooltip',(data=new Tooltip(this,options)))
588if(typeof option=='string')data[option]()})}
589var old=$.fn.tooltip
590$.fn.tooltip=Plugin
591$.fn.tooltip.Constructor=Tooltip
592$.fn.tooltip.noConflict=function(){$.fn.tooltip=old
593return this}}(jQuery);+function($){'use strict';var Popover=function(element,options){this.init('popover',element,options)}
594if(!$.fn.tooltip)throw new Error('Popover requires tooltip.js')
595Popover.DEFAULTS=$.extend({},$.fn.tooltip.Constructor.DEFAULTS,{placement:'right',trigger:'click',content:'',template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'})
596Popover.prototype=$.extend({},$.fn.tooltip.Constructor.prototype)
597Popover.prototype.constructor=Popover
598Popover.prototype.getDefaults=function(){return Popover.DEFAULTS}
599Popover.prototype.setContent=function(){var $tip=this.tip()
600var title=this.getTitle()
601var content=this.getContent()
602$tip.find('.popover-title')[this.options.html?'html':'text'](title)
603$tip.find('.popover-content').children().detach().end()[this.options.html?(typeof content=='string'?'html':'append'):'text'](content)
604$tip.removeClass('fade top bottom left right in')
605if(!$tip.find('.popover-title').html())$tip.find('.popover-title').hide()}
606Popover.prototype.hasContent=function(){return this.getTitle()||this.getContent()}
607Popover.prototype.getContent=function(){var $e=this.$element
608var o=this.options
609return $e.attr('data-content')||(typeof o.content=='function'?o.content.call($e[0]):o.content)}
610Popover.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find('.arrow'))}
611function Plugin(option){return this.each(function(){var $this=$(this)
612var data=$this.data('bs.popover')
613var options=typeof option=='object'&&option
614if(!data&&/destroy|hide/.test(option))return
615if(!data)$this.data('bs.popover',(data=new Popover(this,options)))
616if(typeof option=='string')data[option]()})}
617var old=$.fn.popover
618$.fn.popover=Plugin
619$.fn.popover.Constructor=Popover
620$.fn.popover.noConflict=function(){$.fn.popover=old
621return this}}(jQuery);+function($){'use strict';function ScrollSpy(element,options){this.$body=$(document.body)
622this.$scrollElement=$(element).is(document.body)?$(window):$(element)
623this.options=$.extend({},ScrollSpy.DEFAULTS,options)
624this.selector=(this.options.target||'')+' .nav li > a'
625this.offsets=[]
626this.targets=[]
627this.activeTarget=null
628this.scrollHeight=0
629this.$scrollElement.on('scroll.bs.scrollspy',$.proxy(this.process,this))
630this.refresh()
631this.process()}
632ScrollSpy.DEFAULTS={offset:10}
633ScrollSpy.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)}
634ScrollSpy.prototype.refresh=function(){var that=this
635var offsetMethod='offset'
636var offsetBase=0
637this.offsets=[]
638this.targets=[]
639this.scrollHeight=this.getScrollHeight()
640if(!$.isWindow(this.$scrollElement[0])){offsetMethod='position'
641offsetBase=this.$scrollElement.scrollTop()}
642this.$body.find(this.selector).map(function(){var $el=$(this)
643var href=$el.data('target')||$el.attr('href')
644var $href=/^#./.test(href)&&$(href)
645return($href&&$href.length&&$href.is(':visible')&&[[$href[offsetMethod]().top+offsetBase,href]])||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){that.offsets.push(this[0])
646that.targets.push(this[1])})}
647ScrollSpy.prototype.process=function(){var scrollTop=this.$scrollElement.scrollTop()+this.options.offset
648var scrollHeight=this.getScrollHeight()
649var maxScroll=this.options.offset+scrollHeight-this.$scrollElement.height()
650var offsets=this.offsets
651var targets=this.targets
652var activeTarget=this.activeTarget
653var i
654if(this.scrollHeight!=scrollHeight){this.refresh()}
655if(scrollTop>=maxScroll){return activeTarget!=(i=targets[targets.length-1])&&this.activate(i)}
656if(activeTarget&&scrollTop<offsets[0]){this.activeTarget=null
657return this.clear()}
658for(i=offsets.length;i--;){activeTarget!=targets[i]&&scrollTop>=offsets[i]&&(offsets[i+1]===undefined||scrollTop<offsets[i+1])&&this.activate(targets[i])}}
659ScrollSpy.prototype.activate=function(target){this.activeTarget=target
660this.clear()
661var selector=this.selector+'[data-target="'+target+'"],'+this.selector+'[href="'+target+'"]'
662var active=$(selector).parents('li').addClass('active')
663if(active.parent('.dropdown-menu').length){active=active.closest('li.dropdown').addClass('active')}
664active.trigger('activate.bs.scrollspy')}
665ScrollSpy.prototype.clear=function(){$(this.selector).parentsUntil(this.options.target,'.active').removeClass('active')}
666function Plugin(option){return this.each(function(){var $this=$(this)
667var data=$this.data('bs.scrollspy')
668var options=typeof option=='object'&&option
669if(!data)$this.data('bs.scrollspy',(data=new ScrollSpy(this,options)))
670if(typeof option=='string')data[option]()})}
671var old=$.fn.scrollspy
672$.fn.scrollspy=Plugin
673$.fn.scrollspy.Constructor=ScrollSpy
674$.fn.scrollspy.noConflict=function(){$.fn.scrollspy=old
675return this}
676$(window).on('load.bs.scrollspy.data-api',function(){$('[data-spy="scroll"]').each(function(){var $spy=$(this)
677Plugin.call($spy,$spy.data())})})}(jQuery);+function($){'use strict';var Tab=function(element){this.element=$(element)}
678Tab.TRANSITION_DURATION=150
679Tab.prototype.show=function(){var $this=this.element
680var $ul=$this.closest('ul:not(.dropdown-menu)')
681var selector=$this.data('target')
682if(!selector){selector=$this.attr('href')
683selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')}
684if($this.parent('li').hasClass('active'))return
685var $previous=$ul.find('.active:last a')
686var hideEvent=$.Event('hide.bs.tab',{relatedTarget:$this[0]})
687var showEvent=$.Event('show.bs.tab',{relatedTarget:$previous[0]})
688$previous.trigger(hideEvent)
689$this.trigger(showEvent)
690if(showEvent.isDefaultPrevented()||hideEvent.isDefaultPrevented())return
691var $target=$(selector)
692this.activate($this.closest('li'),$ul)
693this.activate($target,$target.parent(),function(){$previous.trigger({type:'hidden.bs.tab',relatedTarget:$this[0]})
694$this.trigger({type:'shown.bs.tab',relatedTarget:$previous[0]})})}
695Tab.prototype.activate=function(element,container,callback){var $active=container.find('> .active')
696var transition=callback&&$.support.transition&&($active.length&&$active.hasClass('fade')||!!container.find('> .fade').length)
697function next(){$active.removeClass('active').find('> .dropdown-menu > .active').removeClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',!1)
698element.addClass('active').find('[data-toggle="tab"]').attr('aria-expanded',!0)
699if(transition){element[0].offsetWidth
700element.addClass('in')}else{element.removeClass('fade')}
701if(element.parent('.dropdown-menu').length){element.closest('li.dropdown').addClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',!0)}
702callback&&callback()}
703$active.length&&transition?$active.one('bsTransitionEnd',next).emulateTransitionEnd(Tab.TRANSITION_DURATION):next()
704$active.removeClass('in')}
705function Plugin(option){return this.each(function(){var $this=$(this)
706var data=$this.data('bs.tab')
707if(!data)$this.data('bs.tab',(data=new Tab(this)))
708if(typeof option=='string')data[option]()})}
709var old=$.fn.tab
710$.fn.tab=Plugin
711$.fn.tab.Constructor=Tab
712$.fn.tab.noConflict=function(){$.fn.tab=old
713return this}
714var clickHandler=function(e){e.preventDefault()
715Plugin.call($(this),'show')}
716$(document).on('click.bs.tab.data-api','[data-toggle="tab"]',clickHandler).on('click.bs.tab.data-api','[data-toggle="pill"]',clickHandler)}(jQuery);+function($){'use strict';var Affix=function(element,options){this.options=$.extend({},Affix.DEFAULTS,options)
717this.$target=$(this.options.target).on('scroll.bs.affix.data-api',$.proxy(this.checkPosition,this)).on('click.bs.affix.data-api',$.proxy(this.checkPositionWithEventLoop,this))
718this.$element=$(element)
719this.affixed=null
720this.unpin=null
721this.pinnedOffset=null
722this.checkPosition()}
723Affix.RESET='affix affix-top affix-bottom'
724Affix.DEFAULTS={offset:0,target:window}
725Affix.prototype.getState=function(scrollHeight,height,offsetTop,offsetBottom){var scrollTop=this.$target.scrollTop()
726var position=this.$element.offset()
727var targetHeight=this.$target.height()
728if(offsetTop!=null&&this.affixed=='top')return scrollTop<offsetTop?'top':!1
729if(this.affixed=='bottom'){if(offsetTop!=null)return(scrollTop+this.unpin<=position.top)?!1:'bottom'
730return(scrollTop+targetHeight<=scrollHeight-offsetBottom)?!1:'bottom'}
731var initializing=this.affixed==null
732var colliderTop=initializing?scrollTop:position.top
733var colliderHeight=initializing?targetHeight:height
734if(offsetTop!=null&&scrollTop<=offsetTop)return'top'
735if(offsetBottom!=null&&(colliderTop+colliderHeight>=scrollHeight-offsetBottom))return'bottom'
736return!1}
737Affix.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset
738this.$element.removeClass(Affix.RESET).addClass('affix')
739var scrollTop=this.$target.scrollTop()
740var position=this.$element.offset()
741return(this.pinnedOffset=position.top-scrollTop)}
742Affix.prototype.checkPositionWithEventLoop=function(){setTimeout($.proxy(this.checkPosition,this),1)}
743Affix.prototype.checkPosition=function(){if(!this.$element.is(':visible'))return
744var height=this.$element.height()
745var offset=this.options.offset
746var offsetTop=offset.top
747var offsetBottom=offset.bottom
748var scrollHeight=Math.max($(document).height(),$(document.body).height())
749if(typeof offset!='object')offsetBottom=offsetTop=offset
750if(typeof offsetTop=='function')offsetTop=offset.top(this.$element)
751if(typeof offsetBottom=='function')offsetBottom=offset.bottom(this.$element)
752var affix=this.getState(scrollHeight,height,offsetTop,offsetBottom)
753if(this.affixed!=affix){if(this.unpin!=null)this.$element.css('top','')
754var affixType='affix'+(affix?'-'+affix:'')
755var e=$.Event(affixType+'.bs.affix')
756this.$element.trigger(e)
757if(e.isDefaultPrevented())return
758this.affixed=affix
759this.unpin=affix=='bottom'?this.getPinnedOffset():null
760this.$element.removeClass(Affix.RESET).addClass(affixType).trigger(affixType.replace('affix','affixed')+'.bs.affix')}
761if(affix=='bottom'){this.$element.offset({top:scrollHeight-height-offsetBottom})}}
762function Plugin(option){return this.each(function(){var $this=$(this)
763var data=$this.data('bs.affix')
764var options=typeof option=='object'&&option
765if(!data)$this.data('bs.affix',(data=new Affix(this,options)))
766if(typeof option=='string')data[option]()})}
767var old=$.fn.affix
768$.fn.affix=Plugin
769$.fn.affix.Constructor=Affix
770$.fn.affix.noConflict=function(){$.fn.affix=old
771return this}
772$(window).on('load',function(){$('[data-spy="affix"]').each(function(){var $spy=$(this)
773var data=$spy.data()
774data.offset=data.offset||{}
775if(data.offsetBottom!=null)data.offset.bottom=data.offsetBottom
776if(data.offsetTop!=null)data.offset.top=data.offsetTop
777Plugin.call($spy,data)})})}(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.