PageSourceSearch

https://www.montaigu-vendee.com/wp-content/cache/min/2/wp-content/…/dist/js/bootstrap.js?ver=1788510142

js montaigu-vendee.com collected 2026-10-02 22:29:37 UTC 51,077 bytes, 846 lines download raw bytes

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