Comparing version 3.4.0 to 3.4.1
/* ======================================================================== | ||
* Bootstrap: affix.js v3.4.0 | ||
* Bootstrap: affix.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#affix | ||
* ======================================================================== | ||
* Copyright 2011-2018 Twitter, Inc. | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -33,3 +33,3 @@ * ======================================================================== */ | ||
Affix.VERSION = '3.4.0' | ||
Affix.VERSION = '3.4.1' | ||
@@ -36,0 +36,0 @@ Affix.RESET = 'affix affix-top affix-bottom' |
/* ======================================================================== | ||
* Bootstrap: alert.js v3.4.0 | ||
* Bootstrap: alert.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#alerts | ||
* ======================================================================== | ||
* Copyright 2011-2018 Twitter, Inc. | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -21,3 +21,3 @@ * ======================================================================== */ | ||
Alert.VERSION = '3.4.0' | ||
Alert.VERSION = '3.4.1' | ||
@@ -24,0 +24,0 @@ Alert.TRANSITION_DURATION = 150 |
/* ======================================================================== | ||
* Bootstrap: button.js v3.4.0 | ||
* Bootstrap: button.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#buttons | ||
* ======================================================================== | ||
* Copyright 2011-2018 Twitter, Inc. | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -22,3 +22,3 @@ * ======================================================================== */ | ||
Button.VERSION = '3.4.0' | ||
Button.VERSION = '3.4.1' | ||
@@ -25,0 +25,0 @@ Button.DEFAULTS = { |
/* ======================================================================== | ||
* Bootstrap: carousel.js v3.4.0 | ||
* Bootstrap: carousel.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#carousel | ||
* ======================================================================== | ||
* Copyright 2011-2018 Twitter, Inc. | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -33,3 +33,3 @@ * ======================================================================== */ | ||
Carousel.VERSION = '3.4.0' | ||
Carousel.VERSION = '3.4.1' | ||
@@ -36,0 +36,0 @@ Carousel.TRANSITION_DURATION = 600 |
/* ======================================================================== | ||
* Bootstrap: collapse.js v3.4.0 | ||
* Bootstrap: collapse.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#collapse | ||
* ======================================================================== | ||
* Copyright 2011-2018 Twitter, Inc. | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -18,6 +18,6 @@ * ======================================================================== */ | ||
var Collapse = function (element, options) { | ||
this.$element = $(element) | ||
this.options = $.extend({}, Collapse.DEFAULTS, options) | ||
this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' + | ||
'[data-toggle="collapse"][data-target="#' + element.id + '"]') | ||
this.$element = $(element) | ||
this.options = $.extend({}, Collapse.DEFAULTS, options) | ||
this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' + | ||
'[data-toggle="collapse"][data-target="#' + element.id + '"]') | ||
this.transitioning = null | ||
@@ -34,3 +34,3 @@ | ||
Collapse.VERSION = '3.4.0' | ||
Collapse.VERSION = '3.4.1' | ||
@@ -194,3 +194,3 @@ Collapse.TRANSITION_DURATION = 350 | ||
this.$element | ||
[dimension](0) | ||
[dimension](0) | ||
.one('bsTransitionEnd', $.proxy(complete, this)) | ||
@@ -241,4 +241,4 @@ .emulateTransitionEnd(Collapse.TRANSITION_DURATION) | ||
return this.each(function () { | ||
var $this = $(this) | ||
var data = $this.data('bs.collapse') | ||
var $this = $(this) | ||
var data = $this.data('bs.collapse') | ||
var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option) | ||
@@ -254,3 +254,3 @@ | ||
$.fn.collapse = Plugin | ||
$.fn.collapse = Plugin | ||
$.fn.collapse.Constructor = Collapse | ||
@@ -272,3 +272,3 @@ | ||
$(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) { | ||
var $this = $(this) | ||
var $this = $(this) | ||
@@ -278,4 +278,4 @@ if (!$this.attr('data-target')) e.preventDefault() | ||
var $target = getTargetFromTrigger($this) | ||
var data = $target.data('bs.collapse') | ||
var option = data ? 'toggle' : $this.data() | ||
var data = $target.data('bs.collapse') | ||
var option = data ? 'toggle' : $this.data() | ||
@@ -282,0 +282,0 @@ Plugin.call($target, option) |
/* ======================================================================== | ||
* Bootstrap: dropdown.js v3.4.0 | ||
* Bootstrap: dropdown.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#dropdowns | ||
* ======================================================================== | ||
* Copyright 2011-2018 Twitter, Inc. | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -17,3 +17,3 @@ * ======================================================================== */ | ||
var backdrop = '.dropdown-backdrop' | ||
var toggle = '[data-toggle="dropdown"]' | ||
var toggle = '[data-toggle="dropdown"]' | ||
var Dropdown = function (element) { | ||
@@ -23,3 +23,3 @@ $(element).on('click.bs.dropdown', this.toggle) | ||
Dropdown.VERSION = '3.4.0' | ||
Dropdown.VERSION = '3.4.1' | ||
// boosted mod | ||
@@ -40,3 +40,3 @@ var menus = $(toggle).parent().find('ul').attr('role', 'menu') | ||
var $parent = selector && $(document).find(selector) | ||
var $parent = selector !== '#' ? $(document).find(selector) : null | ||
@@ -58,4 +58,4 @@ // boosted mod | ||
$(toggle).each(function () { | ||
var $this = $(this) | ||
var $parent = getParent($this) | ||
var $this = $(this) | ||
var $parent = getParent($this) | ||
var relatedTarget = { relatedTarget: this } | ||
@@ -86,3 +86,3 @@ | ||
var $parent = getParent($this) | ||
var $parent = getParent($this) | ||
var isActive = $parent.hasClass('open') | ||
@@ -143,3 +143,3 @@ | ||
var $parent = getParent($this) | ||
var $parent = getParent($this) | ||
var isActive = $parent.hasClass('open') | ||
@@ -182,3 +182,3 @@ | ||
var $this = $(this) | ||
var data = $this.data('bs.dropdown') | ||
var data = $this.data('bs.dropdown') | ||
@@ -192,3 +192,3 @@ if (!data) $this.data('bs.dropdown', (data = new Dropdown(this))) | ||
$.fn.dropdown = Plugin | ||
$.fn.dropdown = Plugin | ||
$.fn.dropdown.Constructor = Dropdown | ||
@@ -195,0 +195,0 @@ |
/* ======================================================================== | ||
* Bootstrap: modal.js v3.4.0 | ||
* Bootstrap: modal.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#modals | ||
* ======================================================================== | ||
* Copyright 2011-2018 Twitter, Inc. | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -37,3 +37,3 @@ * ======================================================================== */ | ||
Modal.VERSION = '3.4.0' | ||
Modal.VERSION = '3.4.1' | ||
@@ -40,0 +40,0 @@ Modal.TRANSITION_DURATION = 300 |
/* ======================================================================== | ||
* Bootstrap: popover.js v3.4.0 | ||
* Bootstrap: popover.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#popovers | ||
* ======================================================================== | ||
* Copyright 2011-2018 Twitter, Inc. | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -22,3 +22,3 @@ * ======================================================================== */ | ||
Popover.VERSION = '3.4.0' | ||
Popover.VERSION = '3.4.1' | ||
@@ -49,7 +49,22 @@ Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, { | ||
$tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title) | ||
$tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events | ||
this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text' | ||
](content) | ||
if (this.options.html) { | ||
var typeContent = typeof content | ||
if (this.options.sanitize) { | ||
title = this.sanitizeHtml(title) | ||
if (typeContent === 'string') { | ||
content = this.sanitizeHtml(content) | ||
} | ||
} | ||
$tip.find('.popover-title').html(title) | ||
$tip.find('.popover-content').children().detach().end()[ | ||
typeContent === 'string' ? 'html' : 'append' | ||
](content) | ||
} else { | ||
$tip.find('.popover-title').text(title) | ||
$tip.find('.popover-content').children().detach().end().text(content) | ||
} | ||
$tip.removeClass('fade top bottom left right in') | ||
@@ -56,0 +71,0 @@ |
/* ======================================================================== | ||
* Bootstrap: scrollspy.js v3.4.0 | ||
* Bootstrap: scrollspy.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#scrollspy | ||
* ======================================================================== | ||
* Copyright 2011-2018 Twitter, Inc. | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -31,3 +31,3 @@ * ======================================================================== */ | ||
ScrollSpy.VERSION = '3.4.0' | ||
ScrollSpy.VERSION = '3.4.1' | ||
@@ -34,0 +34,0 @@ ScrollSpy.DEFAULTS = { |
/* ======================================================================== | ||
* Bootstrap: tab.js v3.4.0 | ||
* Bootstrap: tab.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#tabs | ||
* ======================================================================== | ||
* Copyright 2011-2018 Twitter, Inc. | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -22,3 +22,3 @@ * ======================================================================== */ | ||
Tab.VERSION = '3.4.0' | ||
Tab.VERSION = '3.4.1' | ||
@@ -102,4 +102,4 @@ Tab.TRANSITION_DURATION = 150 | ||
Tab.prototype.show = function () { | ||
var $this = this.element | ||
var $ul = $this.closest('ul:not(.dropdown-menu)') | ||
var $this = this.element | ||
var $ul = $this.closest('ul:not(.dropdown-menu)') | ||
var selector = $this.data('target') | ||
@@ -143,3 +143,3 @@ | ||
Tab.prototype.activate = function (element, container, callback) { | ||
var $active = container.find('> .active') | ||
var $active = container.find('> .active') | ||
var transition = callback | ||
@@ -208,3 +208,3 @@ && $.support.transition | ||
var $this = $(this) | ||
var data = $this.data('bs.tab') | ||
var data = $this.data('bs.tab') | ||
@@ -218,3 +218,3 @@ if (!data) $this.data('bs.tab', (data = new Tab(this))) | ||
$.fn.tab = Plugin | ||
$.fn.tab = Plugin | ||
$.fn.tab.Constructor = Tab | ||
@@ -221,0 +221,0 @@ |
/* ======================================================================== | ||
* Bootstrap: tooltip.js v3.4.0 | ||
* Bootstrap: tooltip.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#tooltip | ||
* Inspired by the original jQuery.tipsy by Jason Frame | ||
* ======================================================================== | ||
* Copyright 2011-2018 Twitter, Inc. | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
* ======================================================================== */ | ||
+function ($) { | ||
'use strict'; | ||
var DISALLOWED_ATTRIBUTES = ['sanitize', 'whiteList', 'sanitizeFn'] | ||
var uriAttrs = [ | ||
'background', | ||
'cite', | ||
'href', | ||
'itemtype', | ||
'longdesc', | ||
'poster', | ||
'src', | ||
'xlink:href' | ||
] | ||
var ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i | ||
var DefaultWhitelist = { | ||
// Global attributes allowed on any supplied element below. | ||
'*': ['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: [] | ||
} | ||
/** | ||
* A pattern that recognizes a commonly useful subset of URLs that are safe. | ||
* | ||
* Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts | ||
*/ | ||
var SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi | ||
/** | ||
* A pattern that matches safe data URLs. Only matches image, video and audio types. | ||
* | ||
* Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts | ||
*/ | ||
var 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 | ||
function allowedAttribute(attr, allowedAttributeList) { | ||
var attrName = attr.nodeName.toLowerCase() | ||
if ($.inArray(attrName, allowedAttributeList) !== -1) { | ||
if ($.inArray(attrName, uriAttrs) !== -1) { | ||
return Boolean(attr.nodeValue.match(SAFE_URL_PATTERN) || attr.nodeValue.match(DATA_URL_PATTERN)) | ||
} | ||
return true | ||
} | ||
var regExp = $(allowedAttributeList).filter(function (index, value) { | ||
return value instanceof RegExp | ||
}) | ||
// Check if a regular expression validates the attribute. | ||
for (var i = 0, l = regExp.length; i < l; i++) { | ||
if (attrName.match(regExp[i])) { | ||
return true | ||
} | ||
} | ||
return false | ||
} | ||
function sanitizeHtml(unsafeHtml, whiteList, sanitizeFn) { | ||
if (unsafeHtml.length === 0) { | ||
return unsafeHtml | ||
} | ||
if (sanitizeFn && typeof sanitizeFn === 'function') { | ||
return sanitizeFn(unsafeHtml) | ||
} | ||
// IE 8 and below don't support createHTMLDocument | ||
if (!document.implementation || !document.implementation.createHTMLDocument) { | ||
return unsafeHtml | ||
} | ||
var createdDocument = document.implementation.createHTMLDocument('sanitization') | ||
createdDocument.body.innerHTML = unsafeHtml | ||
var whitelistKeys = $.map(whiteList, function (el, i) { return i }) | ||
var elements = $(createdDocument.body).find('*') | ||
for (var i = 0, len = elements.length; i < len; i++) { | ||
var el = elements[i] | ||
var elName = el.nodeName.toLowerCase() | ||
if ($.inArray(elName, whitelistKeys) === -1) { | ||
el.parentNode.removeChild(el) | ||
continue | ||
} | ||
var attributeList = $.map(el.attributes, function (el) { return el }) | ||
var whitelistedAttributes = [].concat(whiteList['*'] || [], whiteList[elName] || []) | ||
for (var j = 0, len2 = attributeList.length; j < len2; j++) { | ||
if (!allowedAttribute(attributeList[j], whitelistedAttributes)) { | ||
el.removeAttribute(attributeList[j].nodeName) | ||
} | ||
} | ||
} | ||
return createdDocument.body.innerHTML | ||
} | ||
// TOOLTIP PUBLIC CLASS DEFINITION | ||
@@ -29,3 +159,3 @@ // =============================== | ||
Tooltip.VERSION = '3.4.0' | ||
Tooltip.VERSION = '3.4.1' | ||
@@ -47,3 +177,6 @@ Tooltip.TRANSITION_DURATION = 150 | ||
padding: 0 | ||
} | ||
}, | ||
sanitize : true, | ||
sanitizeFn : null, | ||
whiteList : DefaultWhitelist | ||
} | ||
@@ -89,4 +222,12 @@ | ||
Tooltip.prototype.getOptions = function (options) { | ||
options = $.extend({}, this.getDefaults(), this.$element.data(), options) | ||
var dataAttributes = this.$element.data() | ||
for (var dataAttr in dataAttributes) { | ||
if (dataAttributes.hasOwnProperty(dataAttr) && $.inArray(dataAttr, DISALLOWED_ATTRIBUTES) !== -1) { | ||
delete dataAttributes[dataAttr] | ||
} | ||
} | ||
options = $.extend({}, this.getDefaults(), dataAttributes, options) | ||
if (options.delay && typeof options.delay == 'number') { | ||
@@ -99,2 +240,6 @@ options.delay = { | ||
if (options.sanitize) { | ||
options.template = sanitizeHtml(options.template, options.whiteList, options.sanitizeFn) | ||
} | ||
return options | ||
@@ -313,3 +458,12 @@ } | ||
$tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title) | ||
if (this.options.html) { | ||
if (this.options.sanitize) { | ||
title = sanitizeHtml(title, this.options.whiteList, this.options.sanitizeFn) | ||
} | ||
$tip.find('.tooltip-inner').html(title) | ||
} else { | ||
$tip.find('.tooltip-inner').text(title) | ||
} | ||
$tip.removeClass('fade in top bottom left right') | ||
@@ -495,2 +649,5 @@ } | ||
Tooltip.prototype.sanitizeHtml = function (unsafeHtml) { | ||
return sanitizeHtml(unsafeHtml, this.options.whiteList, this.options.sanitizeFn) | ||
} | ||
@@ -497,0 +654,0 @@ // TOOLTIP PLUGIN DEFINITION |
/* ======================================================================== | ||
* Bootstrap: transition.js v3.4.0 | ||
* Bootstrap: transition.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#transitions | ||
* ======================================================================== | ||
* Copyright 2011-2018 Twitter, Inc. | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -7,0 +7,0 @@ * ======================================================================== */ |
@@ -1,6 +0,9 @@ | ||
<a name="3.4.0"></a> | ||
# [3.4.0](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/compare/v3.3.3...v3.4.0) (2019-01-23) | ||
<a name="3.4.1"></a> | ||
### 3.4.1 (2019-02-14) | ||
* Security: Fixed an XSS vulnerability (CVE-2019-8331) in our tooltip and popover plugins by implementing a new HTML sanitizer | ||
* Handle bad selectors (#) in data-target for Dropdowns | ||
* Clarified tooltip selector documentation | ||
* Added support for NuGet contentFiles | ||
<a name"3.3.3"></a> | ||
@@ -7,0 +10,0 @@ ### 3.3.3 (2017-03-23) |
/*! | ||
boosted - v3.4.0 - Orange Boosted with Boostrap | ||
boosted - v3.4.1 - Orange Boosted with Boostrap | ||
Copyright 2015 - 2019 Orange SA, all right reserved | ||
MIT Licensed | ||
*/ | ||
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||3<e[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(n){"use strict";n.fn.emulateTransitionEnd=function(t){var e=!1,i=this;n(this).one("bsTransitionEnd",function(){e=!0});return setTimeout(function(){e||n(i).trigger(n.support.transition.end)},t),this},n(function(){n.support.transition=function o(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(t.style[i]!==undefined)return{end:e[i]};return!1}(),n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(r){"use strict";var e='[data-dismiss="alert"]',a=function(t){r(t).on("click",e,this.close)};a.VERSION="3.4.0",a.TRANSITION_DURATION=150,a.prototype.close=function(t){var e=r(this),i=e.attr("data-target");i||(i=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),i="#"===i?[]:i;var o=r(document).find(i);function n(){o.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),o.length||(o=e.closest(".alert")),o.trigger(t=r.Event("close.bs.alert")),t.isDefaultPrevented()||(o.removeClass("in"),r.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(a.TRANSITION_DURATION):n())};var t=r.fn.alert;r.fn.alert=function o(i){return this.each(function(){var t=r(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new a(this)),"string"==typeof i&&e[i].call(t)})},r.fn.alert.Constructor=a,r.fn.alert.noConflict=function(){return r.fn.alert=t,this},r(document).on("click.bs.alert.data-api",e,a.prototype.close)}(jQuery),function(r){"use strict";var n=function(t,e){this.$element=r(t),this.options=r.extend({},n.DEFAULTS,e),this.isLoading=!1};function i(o){return this.each(function(){var t=r(this),e=t.data("bs.button"),i="object"==typeof o&&o;e||t.data("bs.button",e=new n(this,i)),"toggle"==o?e.toggle():o&&e.setState(o)})}n.VERSION="3.4.0",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var e="disabled",i=this.$element,o=i.is("input")?"val":"html",n=i.data();t+="Text",null==n.resetText&&i.data("resetText",i[o]()),setTimeout(r.proxy(function(){i[o](null==n[t]?this.options[t]:n[t]),"loadingText"==t?(this.isLoading=!0,i.addClass(e).attr(e,e).prop(e,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(e).removeAttr(e).prop(e,!1))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var t=r.fn.button;r.fn.button=i,r.fn.button.Constructor=n,r.fn.button.noConflict=function(){return r.fn.button=t,this},r(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=r(t.target).closest(".btn");i.call(e,"toggle"),r(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),e.is("input,button")?e.trigger("focus"):e.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){r(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(g){"use strict";var m=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};m.VERSION="3.4.0",m.TRANSITION_DURATION=150,m.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}},m.prototype.init=function(t,e,i){if(this.enabled=!0,this.type=t,this.$element=g(e),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&g(document).find(g.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),n=o.length;n--;){var r=o[n];if("click"==r)this.$element.on("click."+this.type,this.options.selector,g.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",s="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,g.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,g.proxy(this.leave,this))}}this.options.selector?this._options=g.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},m.prototype.getDefaults=function(){return m.DEFAULTS},m.prototype.getOptions=function(t){return(t=g.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},m.prototype.getDelegateOptions=function(){var i={},o=this.getDefaults();return this._options&&g.each(this._options,function(t,e){o[t]!=e&&(i[t]=e)}),i},m.prototype.enter=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),t instanceof g.Event&&(e.inState["focusin"==t.type?"focus":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState)e.hoverState="in";else{if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)}},m.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},m.prototype.leave=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),t instanceof g.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)}},m.prototype.show=function(){var t=g.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var e=g.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!e)return;var i=this,o=this.tip(),n=this.getUID(this.type);this.setContent(),o.attr("id",n),this.$element.attr("aria-describedby",n),this.options.animation&&o.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,s=a.test(r);s&&(r=r.replace(a,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?o.appendTo(g(document).find(this.options.container)):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l=this.getPosition(),d=o[0].offsetWidth,c=o[0].offsetHeight;if(s){var h=r,p=this.getPosition(this.$viewport);r="bottom"==r&&l.bottom+c>p.bottom?"top":"top"==r&&l.top-c<p.top?"bottom":"right"==r&&l.right+d>p.width?"left":"left"==r&&l.left-d<p.left?"right":r,o.removeClass(h).addClass(r)}var u=this.getCalculatedOffset(r,l,d,c);this.applyPlacement(u,r);var f=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};g.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",f).emulateTransitionEnd(m.TRANSITION_DURATION):f()}},m.prototype.applyPlacement=function(t,e){var i=this.tip(),o=i[0].offsetWidth,n=i[0].offsetHeight,r=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),t.top+=r,t.left+=a,g.offset.setOffset(i[0],g.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),i.addClass("in");var s=i[0].offsetWidth,l=i[0].offsetHeight;"top"==e&&l!=n&&(t.top=t.top+n-l);var d=this.getViewportAdjustedDelta(e,t,s,l);d.left?t.left+=d.left:t.top+=d.top;var c=/top|bottom/.test(e),h=c?2*d.left-o+s:2*d.top-n+l,p=c?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(h,i[0][p],c)},m.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},m.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},m.prototype.hide=function(t){var e=this,i=g(this.$tip),o=g.Event("hide.bs."+this.type);function n(){"in"!=e.hoverState&&i.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),t&&t()}if(this.$element.trigger(o),!o.isDefaultPrevented())return i.removeClass("in"),g.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",n).emulateTransitionEnd(m.TRANSITION_DURATION):n(),this.hoverState=null,this},m.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},m.prototype.hasContent=function(){return this.getTitle()},m.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],i="BODY"==e.tagName,o=e.getBoundingClientRect();null==o.width&&(o=g.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var n=window.SVGElement&&e instanceof window.SVGElement,r=i?{top:0,left:0}:n?null:t.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},s=i?{width:g(window).width(),height:g(window).height()}:null;return g.extend({},o,a,s,r)},m.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},m.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var r=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-r-a.scroll,l=e.top+r-a.scroll+o;s<a.top?n.top=a.top-s:l>a.top+a.height&&(n.top=a.top+a.height-l)}else{var d=e.left-r,c=e.left+r+i;d<a.left?n.left=a.left-d:c>a.right&&(n.left=a.left+a.width-c)}return n},m.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},m.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},m.prototype.tip=function(){if(!this.$tip&&(this.$tip=g(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},m.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},m.prototype.enable=function(){this.enabled=!0},m.prototype.disable=function(){this.enabled=!1},m.prototype.toggleEnabled=function(){this.enabled=!this.enabled},m.prototype.toggle=function(t){var e=this;t&&((e=g(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e))),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},m.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var t=g.fn.tooltip;g.fn.tooltip=function e(o){return this.each(function(){var t=g(this),e=t.data("bs.tooltip"),i="object"==typeof o&&o;!e&&/destroy|hide/.test(o)||(e||t.data("bs.tooltip",e=new m(this,i)),"string"==typeof o&&e[o]())})},g.fn.tooltip.Constructor=m,g.fn.tooltip.noConflict=function(){return g.fn.tooltip=t,this}}(jQuery),function(n){"use strict";var r=function(t,e){this.init("popover",t,e)};if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");r.VERSION="3.4.0",r.DEFAULTS=n.extend({},n.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>'}),((r.prototype=n.extend({},n.fn.tooltip.Constructor.prototype)).constructor=r).prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=n.fn.popover;n.fn.popover=function e(o){return this.each(function(){var t=n(this),e=t.data("bs.popover"),i="object"==typeof o&&o;!e&&/destroy|hide/.test(o)||(e||t.data("bs.popover",e=new r(this,i)),"string"==typeof o&&e[o]())})},n.fn.popover.Constructor=r,n.fn.popover.noConflict=function(){return n.fn.popover=t,this}}(jQuery),function(r){"use strict";function n(t,e){this.$body=r(document.body),this.$scrollElement=r(t).is(document.body)?r(window):r(t),this.options=r.extend({},n.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",r.proxy(this.process,this)),this.refresh(),this.process()}function e(o){return this.each(function(){var t=r(this),e=t.data("bs.scrollspy"),i="object"==typeof o&&o;e||t.data("bs.scrollspy",e=new n(this,i)),"string"==typeof o&&e[o]()})}n.VERSION="3.4.0",n.DEFAULTS={offset:10},n.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},n.prototype.refresh=function(){var t=this,o="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),r.isWindow(this.$scrollElement[0])||(o="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=r(this),e=t.data("target")||t.attr("href"),i=/^#./.test(e)&&r(e);return i&&i.length&&i.is(":visible")&&[[i[o]().top+n,e]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},n.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),o=this.options.offset+i-this.$scrollElement.height(),n=this.offsets,r=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),o<=e)return a!=(t=r[r.length-1])&&this.activate(t);if(a&&e<n[0])return this.activeTarget=null,this.clear();for(t=n.length;t--;)a!=r[t]&&e>=n[t]&&(n[t+1]===undefined||e<n[t+1])&&this.activate(r[t])},n.prototype.activate=function(t){this.activeTarget=t,this.clear();var e=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=r(e).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},n.prototype.clear=function(){r(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var t=r.fn.scrollspy;r.fn.scrollspy=e,r.fn.scrollspy.Constructor=n,r.fn.scrollspy.noConflict=function(){return r.fn.scrollspy=t,this},r(window).on("load.bs.scrollspy.data-api",function(){r('[data-spy="scroll"]').each(function(){var t=r(this);e.call(t,t.data())})})}(jQuery),function(l){"use strict";var d=function(t,e){this.options=l.extend({},d.DEFAULTS,e);var i=this.options.target===d.DEFAULTS.target?l(this.options.target):l(document).find(this.options.target);this.$target=i.on("scroll.bs.affix.data-api",l.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",l.proxy(this.checkPositionWithEventLoop,this)),this.$element=l(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function i(o){return this.each(function(){var t=l(this),e=t.data("bs.affix"),i="object"==typeof o&&o;e||t.data("bs.affix",e=new d(this,i)),"string"==typeof o&&e[o]()})}d.VERSION="3.4.0",d.RESET="affix affix-top affix-bottom",d.DEFAULTS={offset:0,target:window},d.prototype.getState=function(t,e,i,o){var n=this.$target.scrollTop(),r=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return n<i&&"top";if("bottom"==this.affixed)return null!=i?!(n+this.unpin<=r.top)&&"bottom":!(n+a<=t-o)&&"bottom";var s=null==this.affixed,l=s?n:r.top;return null!=i&&n<=i?"top":null!=o&&t-o<=l+(s?a:e)&&"bottom"},d.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(d.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},d.prototype.checkPositionWithEventLoop=function(){setTimeout(l.proxy(this.checkPosition,this),1)},d.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),e=this.options.offset,i=e.top,o=e.bottom,n=Math.max(l(document).height(),l(document.body).height());"object"!=typeof e&&(o=i=e),"function"==typeof i&&(i=e.top(this.$element)),"function"==typeof o&&(o=e.bottom(this.$element));var r=this.getState(n,t,i,o);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var a="affix"+(r?"-"+r:""),s=l.Event(a+".bs.affix");if(this.$element.trigger(s),s.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(d.RESET).addClass(a).trigger(a.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:n-t-o})}};var t=l.fn.affix;l.fn.affix=i,l.fn.affix.Constructor=d,l.fn.affix.noConflict=function(){return l.fn.affix=t,this},l(window).on("load",function(){l('[data-spy="affix"]').each(function(){var t=l(this),e=t.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),i.call(t,e)})})}(jQuery),function(a){"use strict";var s=function(t,e){this.$element=a(t),this.options=a.extend({},s.DEFAULTS,e),this.$trigger=a('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};s.VERSION="3.4.0",s.TRANSITION_DURATION=350,s.DEFAULTS={toggle:!0};var t=a('[data-multipleAtATime="true"]');t&&t.each(function(){a(this).attr({role:"tablist","aria-multiselectable":"true"})});var e=a('[data-toggle="collapse"]:not(.navbar-toggle)');function n(t){var e,i=t.attr("data-target")||(e=t.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"");return a(document).find(i)}function l(o){return this.each(function(){var t=a(this),e=t.data("bs.collapse"),i=a.extend({},s.DEFAULTS,t.data(),"object"==typeof o&&o);!e&&i.toggle&&/show|hide/.test(o)&&(i.toggle=!1),e||t.data("bs.collapse",e=new s(this,i)),"string"==typeof o&&e[o]()})}e.attr({role:"tab","aria-expanded":"false"}),e.each(function(){var t=a(this),e=t.attr("data-target")?a(t.attr("data-target")):a(t.attr("href")),i=t.attr("data-parent"),o=i&&a(i),n=t.attr("id")||("ui-collapse"||"ui-id")+"-"+Math.floor(1e3*Math.random()+1),r="";t.attr("id",n),o&&(o.attr({role:"tablist"}),r=e.parent().children().first(),e.hasClass("in")?(t.attr({"aria-controls":e.attr("id"),"aria-expanded":"true"}),t.hasClass("navbar-toggle")||e.attr({role:"tabpanel",tabindex:"0","aria-labelledby":n,"aria-hidden":"false"})):(t.attr({"aria-controls":e.attr("id")}),t.hasClass("navbar-toggle")||e.attr({role:"tabpanel",tabindex:"-1","aria-labelledby":n,"aria-hidden":"true"}),r.hasClass("panel-heading")&&t.addClass("collapsed")))}),s.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},s.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(t=e.data("bs.collapse"))&&t.transitioning)){var i=a.Event("show.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){e&&e.length&&!a(this.options.parent).attr("data-multipleAtATime")&&(l.call(e,"hide"),t||e.data("bs.collapse",null));var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0).attr("aria-hidden",!1).attr("tabindex",0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var n=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return n.call(this);var r=a.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",a.proxy(n,this)).emulateTransitionEnd(s.TRANSITION_DURATION)[o](this.$element[0][r])}}}},s.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=a.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1).attr("aria-expanded",!1).attr("aria-hidden",!0).attr("tabindex",-1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!a.support.transition)return i.call(this);this.$element[e](0).one("bsTransitionEnd",a.proxy(i,this)).emulateTransitionEnd(s.TRANSITION_DURATION)}}},s.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},s.prototype.getParent=function(){return a(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(t,e){var i=a(e);this.addAriaAndCollapsedClass(n(i),i)},this)).end()},s.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),t.attr("aria-hidden",!i),t.attr("tabindex",i?0:-1),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var i=a.fn.collapse;a.fn.collapse=l,a.fn.collapse.Constructor=s,a.fn.collapse.noConflict=function(){return a.fn.collapse=i,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=a(this);e.attr("data-target")||t.preventDefault();var i=n(e),o=i.data("bs.collapse")?"toggle":e.data();l.call(i,o)}),a(".o-nav-local .nav-local.collapse a").on("click",function(){a(this).parent().parent().prev(".local-select").text(a(this).text())}),a(".o-nav-local .nav-local.collapse").on("shown.bs.collapse",function(){a(this).find("li:first-child a").focus()}),a(".o-nav-local .nav-local.collapse").on("hidden.bs.collapse",function(){a(this).prev(".local-select").focus()}),a(document).ready(function(){a(".o-nav-local .local-select").each(function(){a(this).text(a(this).next(".nav-local.collapse").find("li:first-child a").text())})}),a(document).on("click",function(){l.call(a(".o-nav-local .collapse.in"),"hide")})}(jQuery),function(h){"use strict";var p=function(t,e){this.$element=h(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",h.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",h.proxy(this.pause,this)).on("mouseleave.bs.carousel",h.proxy(this.cycle,this))};function s(n){return this.each(function(){var t=h(this),e=t.data("bs.carousel"),i=h.extend({},p.DEFAULTS,t.data(),"object"==typeof n&&n),o="string"==typeof n?n:i.slide;e||t.data("bs.carousel",e=new p(this,i)),"number"==typeof n?e.to(n):o?e[o]():i.interval&&e.pause().cycle()})}p.VERSION="3.4.0",p.TRANSITION_DURATION=600,p.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},p.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},p.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(h.proxy(this.next,this),this.options.interval)),this},p.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},p.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var o=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(o)},p.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(i<t?"next":"prev",this.$items.eq(t))},p.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&h.support.transition&&(this.$element.trigger(h.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},p.prototype.next=function(){if(!this.sliding)return this.slide("next")},p.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},p.prototype.slide=function(t,e){var i=this.$element.find(".item.active"),o=e||this.getItemForDirection(t,i),n=this.interval,r="next"==t?"left":"right",a=this;if(o.hasClass("active"))return this.sliding=!1;var s=o[0],l=h.Event("slide.bs.carousel",{relatedTarget:s,direction:r});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,n&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=h(this.$indicators.children()[this.getItemIndex(o)]);d&&d.addClass("active")}var c=h.Event("slid.bs.carousel",{relatedTarget:s,direction:r});return h.support.transition&&this.$element.hasClass("slide")?(o.addClass(t),"object"==typeof o&&o.length&&o[0].offsetWidth,i.addClass(r),o.addClass(r),i.one("bsTransitionEnd",function(){o.removeClass([t,r].join(" ")).addClass("active"),i.removeClass(["active",r].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger(c)},0)}).emulateTransitionEnd(p.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(c)),n&&this.cycle(),this}};var t=h.fn.carousel;h.fn.carousel=s,h.fn.carousel.Constructor=p,h.fn.carousel.noConflict=function(){return h.fn.carousel=t,this};var e=function(t){var e=h(this),i=e.attr("href");i&&(i=i.replace(/.*(?=#[^\s]+$)/,""));var o=e.attr("data-target")||i,n=h(document).find(o);if(n.hasClass("carousel")){var r=h.extend({},n.data(),e.data()),a=e.attr("data-slide-to");a&&(r.interval=!1),s.call(n,r),a&&n.data("bs.carousel").to(a),t.preventDefault()}};h(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),h(window).on("load",function(){h('[data-ride="carousel"]').each(function(){var t=h(this);s.call(t,t.data())})}),h(".carousel-indicators").attr("aria-hidden","true"),h(document).on("keydown.carousel.data-api","div[role=option]",h.fn.carousel.Constructor.prototype.keydown)}(jQuery),function(a){"use strict";var s='[data-toggle="dropdown"]',o=function(t){a(t).on("click.bs.dropdown",this.toggle)};function l(t){var e=t.attr("data-target");e||(e=(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""));var i=e&&a(document).find(e),o=t.closest(".dropdown");return o.length||(o=t.parent()),i&&i.length?i:o}function r(o){o&&3===o.which||(a(".dropdown-backdrop").remove(),a(s).each(function(){var t=a(this),e=l(t),i={relatedTarget:this};e.hasClass("open")&&(o&&"click"==o.type&&/input|textarea/i.test(o.target.tagName)&&a.contains(e[0],o.target)||(e.trigger(o=a.Event("hide.bs.dropdown",i)),o.isDefaultPrevented()||(t.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",i)),a(i.relatedTarget).trigger("focus"))))}))}o.VERSION="3.4.0",a(s).parent().find("ul").attr("role","menu").find("li").attr("role","presentation").find("a").attr({tabIndex:"0"}),o.prototype.toggle=function(t){var e=a(this);if(!e.is(".disabled, :disabled")){var i=l(e),o=i.hasClass("open");if(r(),!o){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",r);var n={relatedTarget:this};if(i.trigger(t=a.Event("show.bs.dropdown",n)),t.isDefaultPrevented())return;e.attr("aria-expanded","true"),i.toggleClass("open").trigger(a.Event("shown.bs.dropdown",n)),0<i.find(".dropdown-menu li.active").length?i.find(".dropdown-menu li.active a").trigger("focus"):i.find(".dropdown-menu a").first().trigger("focus")}return!1}},o.prototype.keydown=function(t){if(/(37|38|39|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var e=a(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var i=l(e),o=i.hasClass("open");if(!o&&27!=t.which||o&&27==t.which)27==t.which&&i.find(s).trigger("focus");else{var n=i.find(".dropdown-menu li:not(.disabled):visible a");if(n.length){var r=n.index(t.target);(37==t.which||38==t.which)&&0<r&&r--,(40==t.which||39==t.which)&&r<n.length-1&&r++,~r||(r=0),n.eq(r).trigger("focus")}}}}};var t=a.fn.dropdown;a.fn.dropdown=function e(i){return this.each(function(){var t=a(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new o(this)),"string"==typeof i&&e[i].call(t)})},a.fn.dropdown.Constructor=o,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=t,this},a(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",s,o.prototype.toggle).on("keydown.bs.dropdown.data-api",s,o.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",o.prototype.keydown)}(jQuery),function(o){"use strict";var n=".mega-menu ul.navbar-nav > li > a";function r(){return"ui-"+(Math.random().toString(16)+"000000000").substr(2,8)}o(document).on("keydown",n,function(t){if(/(37|38|39|40)/.test(t.which)){t.preventDefault(),t.stopPropagation();var e=t.which||t.keyCode,i=o(n).index(t.target);(37===e||38===e)&&0<i&&i--,(39===e||40===e)&&i<o(n).length-1&&i++,o(n).eq(i).trigger("focus")}}),o(".mega-menu .dropdown-toggle").each(function(){var t=r(),e=o(this).next("ul.dropdown-menu"),i=r();o(this).attr("id",t),o(e).attr("id",i),o(this).attr("aria-owns",i),o(this).attr("aria-controls",i),o(e).attr("aria-labelledby",t)})}(jQuery),function(a){"use strict";var r=function(t,e){this.options=e,this.$body=a(document.body),this.$element=a(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function s(o,n){return this.each(function(){var t=a(this),e=t.data("bs.modal"),i=a.extend({},r.DEFAULTS,t.data(),"object"==typeof o&&o);e||t.data("bs.modal",e=new r(this,i)),"string"==typeof o?e[o](n):i.show&&e.show(n)})}r.VERSION="3.4.0",r.TRANSITION_DURATION=300,r.BACKDROP_TRANSITION_DURATION=150,r.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},a('[data-toggle="modal"]').each(function(){var t=a(this),e=t.attr("data-target")?a(t.attr("data-target")):a(t.attr("href"));e.attr({role:"dialog"});var i=e.find(".modal-title");if(i){var o=i.attr("id");o&&e.attr({"aria-labelledby":o})}}),a(".modal-dialog").attr({role:"document"}),r.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},r.prototype.show=function(i){var o=this,t=a.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){o.$element.one("mouseup.dismiss.bs.modal",function(t){a(t.target).is(o.$element)&&(o.ignoreBackdropClick=!0)})}),this.backdrop(function(){var t=a.support.transition&&o.$element.hasClass("fade");o.$element.parent().length||o.$element.appendTo(o.$body),o.$element.show().scrollTop(0),o.adjustDialog(),t&&o.$element[0].offsetWidth,o.$element.addClass("in"),o.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:i});t?o.$dialog.one("bsTransitionEnd",function(){o.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(r.TRANSITION_DURATION):o.$element.trigger("focus").trigger(e)}))},r.prototype.hide=function(t){t&&t.preventDefault(),t=a.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(r.TRANSITION_DURATION):this.hideModal())},r.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},r.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},r.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},r.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},r.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},r.prototype.backdrop=function(t){var e=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=a.support.transition&&i;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;o?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var n=function(){e.removeBackdrop(),t&&t()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):n()}else t&&t()},r.prototype.handleUpdate=function(){this.adjustDialog()},r.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},r.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},r.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},r.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",t+n),a(this.fixedContent).each(function(t,e){var i=e.style.paddingRight,o=a(e).css("padding-right");a(e).data("padding-right",i).css("padding-right",parseFloat(o)+n+"px")}))},r.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),a(this.fixedContent).each(function(t,e){var i=a(e).data("padding-right");a(e).removeData("padding-right"),e.style.paddingRight=i||""})},r.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var t=a.fn.modal;a.fn.modal=s,a.fn.modal.Constructor=r,a.fn.modal.noConflict=function(){return a.fn.modal=t,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=a(this),i=e.attr("href"),o=e.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,""),n=a(document).find(o),r=n.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(i)&&i},n.data(),e.data());e.is("a")&&t.preventDefault(),n.one("show.bs.modal",function(t){t.isDefaultPrevented()||n.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),s.call(n,r,this)})}(jQuery),function($){$.extend({tablesorter:new function(){var parsers=[],widgets=[];function benchmark(t,e){log(t+","+((new Date).getTime()-e.getTime())+"ms")}function log(t){"undefined"!=typeof console&&"undefined"!=typeof console.debug?console.log(t):alert(t)}function buildParserCache(t,e){if(t.config.debug)var i="";if(0!=t.tBodies.length){var o=t.tBodies[0].rows;if(o[0])for(var n=[],r=o[0].cells.length,a=0;a<r;a++){var s=!1;$.metadata&&$(e[a]).metadata()&&$(e[a]).metadata().sorter?s=getParserById($(e[a]).metadata().sorter):t.config.headers[a]&&t.config.headers[a].sorter&&(s=getParserById(t.config.headers[a].sorter)),s||(s=detectParserForColumn(t,o,-1,a)),t.config.debug&&(i+="column:"+a+" parser:"+s.id+"\n"),n.push(s)}return t.config.debug&&log(i),n}}function detectParserForColumn(t,e,i,o){for(var n=parsers.length,r=!1,a=!1,s=!0;""==a&&s;)e[++i]?(r=getNodeFromRowAndCellIndex(e,i,o),a=trimAndGetNodeText(t.config,r),t.config.debug&&log("Checking if value was empty on row:"+i)):s=!1;for(var l=1;l<n;l++)if(parsers[l].is(a,t,r))return parsers[l];return parsers[0]}function getNodeFromRowAndCellIndex(t,e,i){return t[e].cells[i]}function trimAndGetNodeText(t,e){return $.trim(getElementText(t,e))}function getParserById(t){for(var e=parsers.length,i=0;i<e;i++)if(parsers[i].id.toLowerCase()==t.toLowerCase())return parsers[i];return!1}function buildCache(t){if(t.config.debug)var e=new Date;for(var i=t.tBodies[0]&&t.tBodies[0].rows.length||0,o=t.tBodies[0].rows[0]&&t.tBodies[0].rows[0].cells.length||0,n=t.config.parsers,r={row:[],normalized:[]},a=0;a<i;++a){var s=$(t.tBodies[0].rows[a]),l=[];if(s.hasClass(t.config.cssChildRow))r.row[r.row.length-1]=r.row[r.row.length-1].add(s);else{r.row.push(s);for(var d=0;d<o;++d)l.push(n[d].format(getElementText(t.config,s[0].cells[d]),t,s[0].cells[d]));l.push(r.normalized.length),r.normalized.push(l),l=null}}return t.config.debug&&benchmark("Building cache for "+i+" rows:",e),r}function getElementText(t,e){return e?(t.supportsTextContent||(t.supportsTextContent=e.textContent||!1),"simple"==t.textExtraction?t.supportsTextContent?e.textContent:e.childNodes[0]&&e.childNodes[0].hasChildNodes()?e.childNodes[0].innerHTML:e.innerHTML:"function"==typeof t.textExtraction?t.textExtraction(e):$(e).text()):""}function appendToTable(t,e){if(t.config.debug)var i=new Date;for(var o=e,n=o.row,r=o.normalized,a=r.length,s=r[0].length-1,l=$(t.tBodies[0]),d=[],c=0;c<a;c++){var h=r[c][s];if(d.push(n[h]),!t.config.appender)for(var p=n[h].length,u=0;u<p;u++)l[0].appendChild(n[h][u])}t.config.appender&&t.config.appender(t,d),d=null,t.config.debug&&benchmark("Rebuilt table:",i),applyWidget(t),setTimeout(function(){$(t).trigger("sortEnd")},0)}function buildHeaders(i){if(i.config.debug)var t=new Date;$.metadata;var o=computeTableHeaderCellIndexes(i);return $tableHeaders=$(i.config.selectorHeaders,i).each(function(t){if(this.column=o[this.parentNode.rowIndex+"-"+this.cellIndex],this.order=formatSortingOrder(i.config.sortInitialOrder),this.count=this.order,(checkHeaderMetadata(this)||checkHeaderOptions(i,t))&&(this.sortDisabled=!0),checkHeaderOptionsSortingLocked(i,t)&&(this.order=this.lockedOrder=checkHeaderOptionsSortingLocked(i,t)),!this.sortDisabled){var e=$(this).addClass(i.config.cssHeader);i.config.onRenderHeader&&i.config.onRenderHeader.apply(e)}i.config.headerList[t]=this}),i.config.debug&&(benchmark("Built headers:",t),log($tableHeaders)),$tableHeaders}function computeTableHeaderCellIndexes(t){for(var e=[],i={},o=t.getElementsByTagName("THEAD")[0].getElementsByTagName("TR"),n=0;n<o.length;n++)for(var r=o[n].cells,a=0;a<r.length;a++){var s,l=r[a],d=l.parentNode.rowIndex,c=d+"-"+l.cellIndex,h=l.rowSpan||1,p=l.colSpan||1;"undefined"==typeof e[d]&&(e[d]=[]);for(var u=0;u<e[d].length+1;u++)if("undefined"==typeof e[d][u]){s=u;break}i[c]=s;for(u=d;u<d+h;u++){"undefined"==typeof e[u]&&(e[u]=[]);for(var f=e[u],g=s;g<s+p;g++)f[g]="x"}}return i}function checkCellColSpan(t,e,i){for(var o=[],n=t.tHead.rows,r=n[i].cells,a=0;a<r.length;a++){var s=r[a];1<s.colSpan?o=o.concat(checkCellColSpan(t,headerArr,i++)):(1==t.tHead.length||1<s.rowSpan||!n[i+1])&&o.push(s)}return o}function checkHeaderMetadata(t){return!(!$.metadata||!1!==$(t).metadata().sorter)}function checkHeaderOptions(t,e){return!(!t.config.headers[e]||!1!==t.config.headers[e].sorter)}function checkHeaderOptionsSortingLocked(t,e){return!(!t.config.headers[e]||!t.config.headers[e].lockedOrder)&&t.config.headers[e].lockedOrder}function applyWidget(t){for(var e=t.config.widgets,i=e.length,o=0;o<i;o++)getWidgetById(e[o]).format(t)}function getWidgetById(t){for(var e=widgets.length,i=0;i<e;i++)if(widgets[i].id.toLowerCase()==t.toLowerCase())return widgets[i]}function formatSortingOrder(t){return"Number"!=typeof t?"desc"==t.toLowerCase()?1:0:1==t?1:0}function isValueInArray(t,e){for(var i=e.length,o=0;o<i;o++)if(e[o][0]==t)return!0;return!1}function setHeadersCss(t,e,i,o){var n=["descending","ascending"];e.removeClass(o[0]).removeClass(o[1]),e.attr({"aria-sort":"none"});var r=[];e.each(function(t){this.sortDisabled||(r[this.column]=$(this))});for(var a=i.length,s=0;s<a;s++)r[i[s][0]].addClass(o[i[s][1]]),r[i[s][0]].attr({"aria-sort":n[i[s][1]]})}function fixColumnWidth(t,e){if(t.config.widthFixed){var i=$("<colgroup>");$("tr:first td",t.tBodies[0]).each(function(){i.append($("<col>").css("width",$(this).width()))}),$(t).prepend(i)}}function updateHeaderSortCount(t,e){for(var i=t.config,o=e.length,n=0;n<o;n++){var r=e[n],a=i.headerList[r[0]];a.count=r[1],a.count++}}function multisort(table,sortList,cache){if(table.config.debug)var sortTime=new Date;for(var dynamicExp="var sortWrapper = function (a,b) {",l=sortList.length,i=0;i<l;i++){var c=sortList[i][0],order=sortList[i][1],s="text"==table.config.parsers[c].type?makeSortfunction("text",0==order?"asc":"desc",c):makeSortfunction("numeric",0==order?"asc":"desc",c),e="e"+i;dynamicExp+="var "+e+" = "+s,dynamicExp+="if ("+e+") { return "+e+"; } ",dynamicExp+="else { "}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;i<l;i++)dynamicExp+="}; ";return dynamicExp+="return 0; ",dynamicExp+="}; ",table.config.debug&&benchmark("Evaling expression:"+dynamicExp,new Date),eval(dynamicExp),cache.normalized.sort(sortWrapper),table.config.debug&&benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime),cache}function makeSortfunction(t,e,i){var o="a["+i+"]",n="b["+i+"]";return"text"==t&&"asc"==e?"("+o+" == "+n+" ? 0 : ("+o+" === null ? Number.POSITIVE_INFINITY : ("+n+" === null ? Number.NEGATIVE_INFINITY : ("+o+" < "+n+") ? -1 : 1 )));":"text"==t&&"desc"==e?"("+o+" == "+n+" ? 0 : ("+o+" === null ? Number.POSITIVE_INFINITY : ("+n+" === null ? Number.NEGATIVE_INFINITY : ("+n+" < "+o+") ? -1 : 1 )));":"numeric"==t&&"asc"==e?"("+o+" === null && "+n+" === null) ? 0 :("+o+" === null ? Number.POSITIVE_INFINITY : ("+n+" === null ? Number.NEGATIVE_INFINITY : "+o+" - "+n+"));":"numeric"==t&&"desc"==e?"("+o+" === null && "+n+" === null) ? 0 :("+o+" === null ? Number.POSITIVE_INFINITY : ("+n+" === null ? Number.NEGATIVE_INFINITY : "+n+" - "+o+"));":void 0}function makeSortText(t){return"((a["+t+"] < b["+t+"]) ? -1 : ((a["+t+"] > b["+t+"]) ? 1 : 0));"}function makeSortTextDesc(t){return"((b["+t+"] < a["+t+"]) ? -1 : ((b["+t+"] > a["+t+"]) ? 1 : 0));"}function makeSortNumeric(t){return"a["+t+"]-b["+t+"];"}function makeSortNumericDesc(t){return"b["+t+"]-a["+t+"];"}function sortText(t,e){return table.config.sortLocaleCompare?t.localeCompare(e):t<e?-1:e<t?1:0}function sortTextDesc(t,e){return table.config.sortLocaleCompare?e.localeCompare(t):e<t?-1:t<e?1:0}function sortNumeric(t,e){return t-e}function sortNumericDesc(t,e){return e-t}function getCachedSortType(t,e){return t[e].type}this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:!0,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:!1,cancelSelection:!0,sortList:[],headerList:[],dateFormat:"us",decimal:"/.|,/g",onRenderHeader:null,selectorHeaders:"thead th",debug:!1},this.benchmark=benchmark,this.construct=function(t){return this.each(function(){if(this.tHead&&this.tBodies){var s,l,d,c;this.config={},c=$.extend(this.config,$.tablesorter.defaults,t),s=$(this),$.data(this,"tablesorter",c),l=buildHeaders(this),this.config.parsers=buildParserCache(this,l),d=buildCache(this);var h=[c.cssDesc,c.cssAsc];fixColumnWidth(this),l.click(function(t){var e=s[0].tBodies[0]&&s[0].tBodies[0].rows.length||0;if(!this.sortDisabled&&0<e){s.trigger("sortStart");$(this);var i=this.column;if(this.order=this.count++%2,this.lockedOrder&&(this.order=this.lockedOrder),t[c.sortMultiSortKey])if(isValueInArray(i,c.sortList))for(a=0;a<c.sortList.length;a++){var o=c.sortList[a],n=c.headerList[o[0]];o[0]==i&&(n.count=o[1],n.count++,o[1]=n.count%2)}else c.sortList.push([i,this.order]);else{if(c.sortList=[],null!=c.sortForce)for(var r=c.sortForce,a=0;a<r.length;a++)r[a][0]!=i&&c.sortList.push(r[a]);c.sortList.push([i,this.order])}return setTimeout(function(){setHeadersCss(s[0],l,c.sortList,h),appendToTable(s[0],multisort(s[0],c.sortList,d))},1),!1}}).mousedown(function(){if(c.cancelSelection)return!(this.onselectstart=function(){return!1})}),s.bind("update",function(){var t=this;setTimeout(function(){t.config.parsers=buildParserCache(t,l),d=buildCache(t)},1)}).bind("updateCell",function(t,e){var i=this.config,o=[e.parentNode.rowIndex-1,e.cellIndex];d.normalized[o[0]][o[1]]=i.parsers[o[1]].format(getElementText(i,e),e)}).bind("sorton",function(t,e){$(this).trigger("sortStart"),c.sortList=e;var i=c.sortList;updateHeaderSortCount(this,i),setHeadersCss(this,l,i,h),appendToTable(this,multisort(this,i,d))}).bind("appendCache",function(){appendToTable(this,d)}).bind("applyWidgetId",function(t,e){getWidgetById(e).format(this)}).bind("applyWidgets",function(){applyWidget(this)}),$.metadata&&$(this).metadata()&&$(this).metadata().sortlist&&(c.sortList=$(this).metadata().sortlist),0<c.sortList.length&&s.trigger("sorton",[c.sortList]),applyWidget(this)}})},this.addParser=function(t){for(var e=parsers.length,i=!0,o=0;o<e;o++)parsers[o].id.toLowerCase()==t.id.toLowerCase()&&(i=!1);i&&parsers.push(t)},this.addWidget=function(t){widgets.push(t)},this.formatFloat=function(t){var e=parseFloat(t);return isNaN(e)?0:e},this.formatInt=function(t){var e=parseInt(t);return isNaN(e)?0:e},this.isDigit=function(t,e){return/^[-+]?\d*$/.test($.trim(t.replace(/[,.']/g,"")))},this.clearTableBody=function(t){t.tBodies[0].innerHTML=""}}}),$.fn.extend({tablesorter:$.tablesorter.construct});var ts=$.tablesorter;ts.addParser({id:"text",is:function(t){return!0},format:function(t){return $.trim(t.toLocaleLowerCase())},type:"text"}),ts.addParser({id:"digit",is:function(t,e){var i=e.config;return $.tablesorter.isDigit(t,i)},format:function(t){return $.tablesorter.formatFloat(t)},type:"numeric"}),ts.addParser({id:"currency",is:function(t){return/^[£$€?.]/.test(t)},format:function(t){return $.tablesorter.formatFloat(t.replace(new RegExp(/[£$€]/g),""))},type:"numeric"}),ts.addParser({id:"ipAddress",is:function(t){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(t)},format:function(t){for(var e=t.split("."),i="",o=e.length,n=0;n<o;n++){var r=e[n];2==r.length?i+="0"+r:i+=r}return $.tablesorter.formatFloat(i)},type:"numeric"}),ts.addParser({id:"url",is:function(t){return/^(https?|ftp|file):\/\/$/.test(t)},format:function(t){return jQuery.trim(t.replace(new RegExp(/(https?|ftp|file):\/\//),""))},type:"text"}),ts.addParser({id:"isoDate",is:function(t){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(t)},format:function(t){return $.tablesorter.formatFloat(""!=t?new Date(t.replace(new RegExp(/-/g),"/")).getTime():"0")},type:"numeric"}),ts.addParser({id:"percent",is:function(t){return/\%$/.test($.trim(t))},format:function(t){return $.tablesorter.formatFloat(t.replace(new RegExp(/%/g),""))},type:"numeric"}),ts.addParser({id:"usLongDate",is:function(t){return t.match(new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/))},format:function(t){return $.tablesorter.formatFloat(new Date(t).getTime())},type:"numeric"}),ts.addParser({id:"shortDate",is:function(t){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(t)},format:function(t,e){var i=e.config;return t=t.replace(/\-/g,"/"),"us"==i.dateFormat?t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2"):"uk"==i.dateFormat?t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1"):"dd/mm/yy"!=i.dateFormat&&"dd-mm-yy"!=i.dateFormat||(t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3")),$.tablesorter.formatFloat(new Date(t).getTime())},type:"numeric"}),ts.addParser({id:"time",is:function(t){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(t)},format:function(t){return $.tablesorter.formatFloat(new Date("2000/01/01 "+t).getTime())},type:"numeric"}),ts.addParser({id:"metadata",is:function(t){return!1},format:function(t,e,i){var o=e.config,n=o.parserMetadataName?o.parserMetadataName:"sortValue";return $(i).metadata()[n]},type:"numeric"}),ts.addWidget({id:"zebra",format:function(e){if(e.config.debug)var t=new Date;var i,o,n=-1;$("tr:visible",e.tBodies[0]).each(function(t){(i=$(this)).hasClass(e.config.cssChildRow)||n++,o=n%2==0,i.removeClass(e.config.widgetZebra.css[o?0:1]).addClass(e.config.widgetZebra.css[o?1:0])}),e.config.debug&&$.tablesorter.benchmark("Applying Zebra widget",t)}})}(jQuery),$(document).ready(function(){"use strict";"function"==typeof validate&&($("form").validate({errorPlacement:function(t,e){t.appendTo("label[for="+$(e).attr("id")+"]")},errorElement:"em"}),$("#sign-up input:not([type=submit]):not([type=file])[title]").each(function(){var t=$(this).attr("title");$(this).attr("x-moz-errormessage",t)}),$("form").removeAttr("novalidate")),$(".toggle .checkbox:checked").each(function(){$(this).toggleClass("checked",!0)}),$(".toggle .checkbox").on("click",function(){$(this).toggleClass("checked",$(this).prop("checked")),$(this).parent().toggleClass("forceiepaint")}),$(".toggle .checkbox").parent().find("label").on("click",function(t){$("#"+$(this).attr("for")).trigger("click"),t.preventDefault(),t.stopPropagation()})}),function(s){"use strict";var a=function(t){this.element=s(t)};a.VERSION="3.4.0",a.TRANSITION_DURATION=150;var t=s(".nav-tabs, .nav-pills"),e=t.children("li"),i=t.find('[data-toggle="tab"], [data-toggle="pill"]');function o(i){return this.each(function(){var t=s(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new a(this)),"string"==typeof i&&e[i]()})}t.attr("role","tablist"),e.attr("role","presentation"),i.attr("role","tab"),i.each(function(){var t=s(s(this).attr("href")),e=s(this),i=e.attr("id")||("ui-tab"||"ui-id")+"-"+Math.floor(1e3*Math.random()+1);e.attr("id",i),e.parent().hasClass("active")?(e.attr({tabIndex:"0","aria-selected":"true","aria-controls":e.attr("href").substr(1)}),t.attr({role:"tabpanel",tabIndex:"0","aria-hidden":"false","aria-labelledby":i})):(e.attr({tabIndex:"-1","aria-selected":"false","aria-controls":e.attr("href").substr(1)}),t.attr({role:"tabpanel",tabIndex:"-1","aria-hidden":"true","aria-labelledby":i}))}),a.prototype.keydown=function(t){var e,i,o=s(this),n=o.closest("ul[role=tablist] "),r=t.which||t.keyCode;if(o=s(this),/(37|38|39|40)/.test(r)){i=(e=n.find("[role=tab]:visible")).index(e.filter(":focus")),38!=r&&37!=r||i--,39!=r&&40!=r||i++,i<0&&(i=e.length-1),i==e.length&&(i=0);var a=e.eq(i);"tab"===a.attr("role")&&a.tab("show").focus(),t.preventDefault(),t.stopPropagation()}},s(document).on("keydown.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',a.prototype.keydown),a.prototype.show=function(){var t=this.element,e=t.closest("ul:not(.dropdown-menu)"),i=t.data("target");if(i||(i=(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var o=e.find(".active:last a"),n=s.Event("hide.bs.tab",{relatedTarget:t[0]}),r=s.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(n),t.trigger(r),!r.isDefaultPrevented()&&!n.isDefaultPrevented()){var a=s(document).find(i);this.activate(t.closest("li"),e),this.activate(a,a.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},a.prototype.activate=function(t,e,i){var o=e.find("> .active"),n=i&&s.support.transition&&(o.length&&o.hasClass("fade")||!!e.find("> .fade").length);function r(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),t.find("[data-toggle=tab], [data-toggle=pill]").attr({tabIndex:"0","aria-selected":!0}),t.filter(".tab-pane").attr({"aria-hidden":!1,tabIndex:"0"}),n?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}o.find("[data-toggle=tab], [data-toggle=pill]").attr({tabIndex:"-1","aria-selected":!1}),o.filter(".tab-pane").attr({"aria-hidden":!0,tabIndex:"-1"}),o.length&&n?o.one("bsTransitionEnd",r).emulateTransitionEnd(a.TRANSITION_DURATION):r(),o.removeClass("in")};var n=s.fn.tab;s.fn.tab=o,s.fn.tab.Constructor=a,s.fn.tab.noConflict=function(){return s.fn.tab=n,this};var r=function(t){t.preventDefault(),o.call(s(this),"show")};s(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery), | ||
/*! ========================================================================* Extends Bootstrap v3.1.1* Copyright (c) <2014> eBay Software Foundation* All rights reserved.* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.* Neither the name of eBay or any of its subsidiaries or affiliates nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.* ======================================================================== */ | ||
function(a){"use strict";var o=function(t,e){var i,o,n,r=t.nodeName.toLowerCase();return"area"===r?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&(!!(n=a("img[usemap='#"+o+"']")[0])&&s(n))):(/input|select|textarea|button|object/.test(r)?!t.disabled:"a"===r&&t.href||e)&&s(t)},s=function(t){return a.expr.filters.visible(t)&&!a(t).parents().addBack().filter(function(){return"hidden"===a.css(this,"visibility")}).length};a.extend(a.expr[":"],{data:a.expr.createPseudo?a.expr.createPseudo(function(e){return function(t){return!!a.data(t,e)}}):function(t,e,i){return!!a.data(t,i[3])},focusable:function(t){return o(t,!isNaN(a.attr(t,"tabindex")))},tabbable:function(t){var e=a.attr(t,"tabindex"),i=isNaN(e);return(i||0<=e)&&o(t,!i)}}),a(".modal-dialog").attr({role:"document"});var t=a.fn.modal.Constructor.prototype.hide;a.fn.modal.Constructor.prototype.hide=function(){t.apply(this,arguments),a(document).off("keydown.bs.modal")};var n=a.fn.modal.Constructor.prototype.enforceFocus;a.fn.modal.Constructor.prototype.enforceFocus=function(){var t=this.$element.find(".modal-content").find(":tabbable"),e=a(t[t.length-1]),i=a(t[0]);e.on("keydown.bs.modal",a.proxy(function(t){9!==t.keyCode||t.shiftKey|t.ctrlKey|t.metaKey|t.altKey||(t.preventDefault(),i.focus())},this)),i.on("keydown.bs.modal",a.proxy(function(t){9===t.keyCode&&t.shiftKey&&(t.preventDefault(),e.focus())},this)),n.apply(this,arguments)}}(jQuery); | ||
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||3<e[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(o){"use strict";o.fn.emulateTransitionEnd=function(t){var e=!1,i=this;o(this).one("bsTransitionEnd",function(){e=!0});return setTimeout(function(){e||o(i).trigger(o.support.transition.end)},t),this},o(function(){o.support.transition=function n(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(t.style[i]!==undefined)return{end:e[i]};return!1}(),o.support.transition&&(o.event.special.bsTransitionEnd={bindType:o.support.transition.end,delegateType:o.support.transition.end,handle:function(t){if(o(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(r){"use strict";var e='[data-dismiss="alert"]',a=function(t){r(t).on("click",e,this.close)};a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.close=function(t){var e=r(this),i=e.attr("data-target");i||(i=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),i="#"===i?[]:i;var n=r(document).find(i);function o(){n.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),n.length||(n=e.closest(".alert")),n.trigger(t=r.Event("close.bs.alert")),t.isDefaultPrevented()||(n.removeClass("in"),r.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",o).emulateTransitionEnd(a.TRANSITION_DURATION):o())};var t=r.fn.alert;r.fn.alert=function n(i){return this.each(function(){var t=r(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new a(this)),"string"==typeof i&&e[i].call(t)})},r.fn.alert.Constructor=a,r.fn.alert.noConflict=function(){return r.fn.alert=t,this},r(document).on("click.bs.alert.data-api",e,a.prototype.close)}(jQuery),function(r){"use strict";var o=function(t,e){this.$element=r(t),this.options=r.extend({},o.DEFAULTS,e),this.isLoading=!1};function i(n){return this.each(function(){var t=r(this),e=t.data("bs.button"),i="object"==typeof n&&n;e||t.data("bs.button",e=new o(this,i)),"toggle"==n?e.toggle():n&&e.setState(n)})}o.VERSION="3.4.1",o.DEFAULTS={loadingText:"loading..."},o.prototype.setState=function(t){var e="disabled",i=this.$element,n=i.is("input")?"val":"html",o=i.data();t+="Text",null==o.resetText&&i.data("resetText",i[n]()),setTimeout(r.proxy(function(){i[n](null==o[t]?this.options[t]:o[t]),"loadingText"==t?(this.isLoading=!0,i.addClass(e).attr(e,e).prop(e,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(e).removeAttr(e).prop(e,!1))},this),0)},o.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var t=r.fn.button;r.fn.button=i,r.fn.button.Constructor=o,r.fn.button.noConflict=function(){return r.fn.button=t,this},r(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=r(t.target).closest(".btn");i.call(e,"toggle"),r(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),e.is("input,button")?e.trigger("focus"):e.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){r(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(g){"use strict";var n=["sanitize","whiteList","sanitizeFn"],a=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],t={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],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:[]},s=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,l=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function u(t,e){var i=t.nodeName.toLowerCase();if(-1!==g.inArray(i,e))return-1===g.inArray(i,a)||Boolean(t.nodeValue.match(s)||t.nodeValue.match(l));for(var n=g(e).filter(function(t,e){return e instanceof RegExp}),o=0,r=n.length;o<r;o++)if(i.match(n[o]))return!0;return!1}function o(t,e,i){if(0===t.length)return t;if(i&&"function"==typeof i)return i(t);if(!document.implementation||!document.implementation.createHTMLDocument)return t;var n=document.implementation.createHTMLDocument("sanitization");n.body.innerHTML=t;for(var o=g.map(e,function(t,e){return e}),r=g(n.body).find("*"),a=0,s=r.length;a<s;a++){var l=r[a],d=l.nodeName.toLowerCase();if(-1!==g.inArray(d,o))for(var c=g.map(l.attributes,function(t){return t}),h=[].concat(e["*"]||[],e[d]||[]),p=0,f=c.length;p<f;p++)u(c[p],h)||l.removeAttribute(c[p].nodeName);else l.parentNode.removeChild(l)}return n.body.innerHTML}var m=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};m.VERSION="3.4.1",m.TRANSITION_DURATION=150,m.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:t},m.prototype.init=function(t,e,i){if(this.enabled=!0,this.type=t,this.$element=g(e),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&g(document).find(g.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),o=n.length;o--;){var r=n[o];if("click"==r)this.$element.on("click."+this.type,this.options.selector,g.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",s="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,g.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,g.proxy(this.leave,this))}}this.options.selector?this._options=g.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},m.prototype.getDefaults=function(){return m.DEFAULTS},m.prototype.getOptions=function(t){var e=this.$element.data();for(var i in e)e.hasOwnProperty(i)&&-1!==g.inArray(i,n)&&delete e[i];return(t=g.extend({},this.getDefaults(),e,t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.sanitize&&(t.template=o(t.template,t.whiteList,t.sanitizeFn)),t},m.prototype.getDelegateOptions=function(){var i={},n=this.getDefaults();return this._options&&g.each(this._options,function(t,e){n[t]!=e&&(i[t]=e)}),i},m.prototype.enter=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),t instanceof g.Event&&(e.inState["focusin"==t.type?"focus":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState)e.hoverState="in";else{if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)}},m.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},m.prototype.leave=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),t instanceof g.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)}},m.prototype.show=function(){var t=g.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var e=g.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!e)return;var i=this,n=this.tip(),o=this.getUID(this.type);this.setContent(),n.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&n.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,n[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,s=a.test(r);s&&(r=r.replace(a,"")||"top"),n.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?n.appendTo(g(document).find(this.options.container)):n.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l=this.getPosition(),d=n[0].offsetWidth,c=n[0].offsetHeight;if(s){var h=r,p=this.getPosition(this.$viewport);r="bottom"==r&&l.bottom+c>p.bottom?"top":"top"==r&&l.top-c<p.top?"bottom":"right"==r&&l.right+d>p.width?"left":"left"==r&&l.left-d<p.left?"right":r,n.removeClass(h).addClass(r)}var f=this.getCalculatedOffset(r,l,d,c);this.applyPlacement(f,r);var u=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};g.support.transition&&this.$tip.hasClass("fade")?n.one("bsTransitionEnd",u).emulateTransitionEnd(m.TRANSITION_DURATION):u()}},m.prototype.applyPlacement=function(t,e){var i=this.tip(),n=i[0].offsetWidth,o=i[0].offsetHeight,r=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),t.top+=r,t.left+=a,g.offset.setOffset(i[0],g.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),i.addClass("in");var s=i[0].offsetWidth,l=i[0].offsetHeight;"top"==e&&l!=o&&(t.top=t.top+o-l);var d=this.getViewportAdjustedDelta(e,t,s,l);d.left?t.left+=d.left:t.top+=d.top;var c=/top|bottom/.test(e),h=c?2*d.left-n+s:2*d.top-o+l,p=c?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(h,i[0][p],c)},m.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},m.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=o(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},m.prototype.hide=function(t){var e=this,i=g(this.$tip),n=g.Event("hide.bs."+this.type);function o(){"in"!=e.hoverState&&i.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),t&&t()}if(this.$element.trigger(n),!n.isDefaultPrevented())return i.removeClass("in"),g.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",o).emulateTransitionEnd(m.TRANSITION_DURATION):o(),this.hoverState=null,this},m.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},m.prototype.hasContent=function(){return this.getTitle()},m.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],i="BODY"==e.tagName,n=e.getBoundingClientRect();null==n.width&&(n=g.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var o=window.SVGElement&&e instanceof window.SVGElement,r=i?{top:0,left:0}:o?null:t.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},s=i?{width:g(window).width(),height:g(window).height()}:null;return g.extend({},n,a,s,r)},m.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},m.prototype.getViewportAdjustedDelta=function(t,e,i,n){var o={top:0,left:0};if(!this.$viewport)return o;var r=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-r-a.scroll,l=e.top+r-a.scroll+n;s<a.top?o.top=a.top-s:l>a.top+a.height&&(o.top=a.top+a.height-l)}else{var d=e.left-r,c=e.left+r+i;d<a.left?o.left=a.left-d:c>a.right&&(o.left=a.left+a.width-c)}return o},m.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},m.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},m.prototype.tip=function(){if(!this.$tip&&(this.$tip=g(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},m.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},m.prototype.enable=function(){this.enabled=!0},m.prototype.disable=function(){this.enabled=!1},m.prototype.toggleEnabled=function(){this.enabled=!this.enabled},m.prototype.toggle=function(t){var e=this;t&&((e=g(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e))),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},m.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})},m.prototype.sanitizeHtml=function(t){return o(t,this.options.whiteList,this.options.sanitizeFn)};var e=g.fn.tooltip;g.fn.tooltip=function i(n){return this.each(function(){var t=g(this),e=t.data("bs.tooltip"),i="object"==typeof n&&n;!e&&/destroy|hide/.test(n)||(e||t.data("bs.tooltip",e=new m(this,i)),"string"==typeof n&&e[n]())})},g.fn.tooltip.Constructor=m,g.fn.tooltip.noConflict=function(){return g.fn.tooltip=e,this}}(jQuery),function(o){"use strict";var r=function(t,e){this.init("popover",t,e)};if(!o.fn.tooltip)throw new Error("Popover requires tooltip.js");r.VERSION="3.4.1",r.DEFAULTS=o.extend({},o.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>'}),((r.prototype=o.extend({},o.fn.tooltip.Constructor.prototype)).constructor=r).prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();if(this.options.html){var n=typeof i;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===n&&(i=this.sanitizeHtml(i))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===n?"html":"append"](i)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(i);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=o.fn.popover;o.fn.popover=function e(n){return this.each(function(){var t=o(this),e=t.data("bs.popover"),i="object"==typeof n&&n;!e&&/destroy|hide/.test(n)||(e||t.data("bs.popover",e=new r(this,i)),"string"==typeof n&&e[n]())})},o.fn.popover.Constructor=r,o.fn.popover.noConflict=function(){return o.fn.popover=t,this}}(jQuery),function(r){"use strict";function o(t,e){this.$body=r(document.body),this.$scrollElement=r(t).is(document.body)?r(window):r(t),this.options=r.extend({},o.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",r.proxy(this.process,this)),this.refresh(),this.process()}function e(n){return this.each(function(){var t=r(this),e=t.data("bs.scrollspy"),i="object"==typeof n&&n;e||t.data("bs.scrollspy",e=new o(this,i)),"string"==typeof n&&e[n]()})}o.VERSION="3.4.1",o.DEFAULTS={offset:10},o.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},o.prototype.refresh=function(){var t=this,n="offset",o=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),r.isWindow(this.$scrollElement[0])||(n="position",o=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=r(this),e=t.data("target")||t.attr("href"),i=/^#./.test(e)&&r(e);return i&&i.length&&i.is(":visible")&&[[i[n]().top+o,e]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},o.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),o=this.offsets,r=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),n<=e)return a!=(t=r[r.length-1])&&this.activate(t);if(a&&e<o[0])return this.activeTarget=null,this.clear();for(t=o.length;t--;)a!=r[t]&&e>=o[t]&&(o[t+1]===undefined||e<o[t+1])&&this.activate(r[t])},o.prototype.activate=function(t){this.activeTarget=t,this.clear();var e=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=r(e).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},o.prototype.clear=function(){r(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var t=r.fn.scrollspy;r.fn.scrollspy=e,r.fn.scrollspy.Constructor=o,r.fn.scrollspy.noConflict=function(){return r.fn.scrollspy=t,this},r(window).on("load.bs.scrollspy.data-api",function(){r('[data-spy="scroll"]').each(function(){var t=r(this);e.call(t,t.data())})})}(jQuery),function(l){"use strict";var d=function(t,e){this.options=l.extend({},d.DEFAULTS,e);var i=this.options.target===d.DEFAULTS.target?l(this.options.target):l(document).find(this.options.target);this.$target=i.on("scroll.bs.affix.data-api",l.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",l.proxy(this.checkPositionWithEventLoop,this)),this.$element=l(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function i(n){return this.each(function(){var t=l(this),e=t.data("bs.affix"),i="object"==typeof n&&n;e||t.data("bs.affix",e=new d(this,i)),"string"==typeof n&&e[n]()})}d.VERSION="3.4.1",d.RESET="affix affix-top affix-bottom",d.DEFAULTS={offset:0,target:window},d.prototype.getState=function(t,e,i,n){var o=this.$target.scrollTop(),r=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return o<i&&"top";if("bottom"==this.affixed)return null!=i?!(o+this.unpin<=r.top)&&"bottom":!(o+a<=t-n)&&"bottom";var s=null==this.affixed,l=s?o:r.top;return null!=i&&o<=i?"top":null!=n&&t-n<=l+(s?a:e)&&"bottom"},d.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(d.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},d.prototype.checkPositionWithEventLoop=function(){setTimeout(l.proxy(this.checkPosition,this),1)},d.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),e=this.options.offset,i=e.top,n=e.bottom,o=Math.max(l(document).height(),l(document.body).height());"object"!=typeof e&&(n=i=e),"function"==typeof i&&(i=e.top(this.$element)),"function"==typeof n&&(n=e.bottom(this.$element));var r=this.getState(o,t,i,n);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var a="affix"+(r?"-"+r:""),s=l.Event(a+".bs.affix");if(this.$element.trigger(s),s.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(d.RESET).addClass(a).trigger(a.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:o-t-n})}};var t=l.fn.affix;l.fn.affix=i,l.fn.affix.Constructor=d,l.fn.affix.noConflict=function(){return l.fn.affix=t,this},l(window).on("load",function(){l('[data-spy="affix"]').each(function(){var t=l(this),e=t.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),i.call(t,e)})})}(jQuery),function(a){"use strict";var s=function(t,e){this.$element=a(t),this.options=a.extend({},s.DEFAULTS,e),this.$trigger=a('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};s.VERSION="3.4.1",s.TRANSITION_DURATION=350,s.DEFAULTS={toggle:!0};var t=a('[data-multipleAtATime="true"]');t&&t.each(function(){a(this).attr({role:"tablist","aria-multiselectable":"true"})});var e=a('[data-toggle="collapse"]:not(.navbar-toggle)');function o(t){var e,i=t.attr("data-target")||(e=t.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"");return a(document).find(i)}function l(n){return this.each(function(){var t=a(this),e=t.data("bs.collapse"),i=a.extend({},s.DEFAULTS,t.data(),"object"==typeof n&&n);!e&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),e||t.data("bs.collapse",e=new s(this,i)),"string"==typeof n&&e[n]()})}e.attr({role:"tab","aria-expanded":"false"}),e.each(function(){var t=a(this),e=t.attr("data-target")?a(t.attr("data-target")):a(t.attr("href")),i=t.attr("data-parent"),n=i&&a(i),o=t.attr("id")||("ui-collapse"||"ui-id")+"-"+Math.floor(1e3*Math.random()+1),r="";t.attr("id",o),n&&(n.attr({role:"tablist"}),r=e.parent().children().first(),e.hasClass("in")?(t.attr({"aria-controls":e.attr("id"),"aria-expanded":"true"}),t.hasClass("navbar-toggle")||e.attr({role:"tabpanel",tabindex:"0","aria-labelledby":o,"aria-hidden":"false"})):(t.attr({"aria-controls":e.attr("id")}),t.hasClass("navbar-toggle")||e.attr({role:"tabpanel",tabindex:"-1","aria-labelledby":o,"aria-hidden":"true"}),r.hasClass("panel-heading")&&t.addClass("collapsed")))}),s.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},s.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(t=e.data("bs.collapse"))&&t.transitioning)){var i=a.Event("show.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){e&&e.length&&!a(this.options.parent).attr("data-multipleAtATime")&&(l.call(e,"hide"),t||e.data("bs.collapse",null));var n=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[n](0).attr("aria-expanded",!0).attr("aria-hidden",!1).attr("tabindex",0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[n](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return o.call(this);var r=a.camelCase(["scroll",n].join("-"));this.$element.one("bsTransitionEnd",a.proxy(o,this)).emulateTransitionEnd(s.TRANSITION_DURATION)[n](this.$element[0][r])}}}},s.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=a.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1).attr("aria-expanded",!1).attr("aria-hidden",!0).attr("tabindex",-1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!a.support.transition)return i.call(this);this.$element[e](0).one("bsTransitionEnd",a.proxy(i,this)).emulateTransitionEnd(s.TRANSITION_DURATION)}}},s.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},s.prototype.getParent=function(){return a(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(t,e){var i=a(e);this.addAriaAndCollapsedClass(o(i),i)},this)).end()},s.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),t.attr("aria-hidden",!i),t.attr("tabindex",i?0:-1),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var i=a.fn.collapse;a.fn.collapse=l,a.fn.collapse.Constructor=s,a.fn.collapse.noConflict=function(){return a.fn.collapse=i,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=a(this);e.attr("data-target")||t.preventDefault();var i=o(e),n=i.data("bs.collapse")?"toggle":e.data();l.call(i,n)}),a(".o-nav-local .nav-local.collapse a").on("click",function(){a(this).parent().parent().prev(".local-select").text(a(this).text())}),a(".o-nav-local .nav-local.collapse").on("shown.bs.collapse",function(){a(this).find("li:first-child a").focus()}),a(".o-nav-local .nav-local.collapse").on("hidden.bs.collapse",function(){a(this).prev(".local-select").focus()}),a(document).ready(function(){a(".o-nav-local .local-select").each(function(){a(this).text(a(this).next(".nav-local.collapse").find("li:first-child a").text())})}),a(document).on("click",function(){l.call(a(".o-nav-local .collapse.in"),"hide")})}(jQuery),function(h){"use strict";var p=function(t,e){this.$element=h(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",h.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",h.proxy(this.pause,this)).on("mouseleave.bs.carousel",h.proxy(this.cycle,this))};function s(o){return this.each(function(){var t=h(this),e=t.data("bs.carousel"),i=h.extend({},p.DEFAULTS,t.data(),"object"==typeof o&&o),n="string"==typeof o?o:i.slide;e||t.data("bs.carousel",e=new p(this,i)),"number"==typeof o?e.to(o):n?e[n]():i.interval&&e.pause().cycle()})}p.VERSION="3.4.1",p.TRANSITION_DURATION=600,p.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},p.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},p.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(h.proxy(this.next,this),this.options.interval)),this},p.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},p.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var n=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(n)},p.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(i<t?"next":"prev",this.$items.eq(t))},p.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&h.support.transition&&(this.$element.trigger(h.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},p.prototype.next=function(){if(!this.sliding)return this.slide("next")},p.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},p.prototype.slide=function(t,e){var i=this.$element.find(".item.active"),n=e||this.getItemForDirection(t,i),o=this.interval,r="next"==t?"left":"right",a=this;if(n.hasClass("active"))return this.sliding=!1;var s=n[0],l=h.Event("slide.bs.carousel",{relatedTarget:s,direction:r});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=h(this.$indicators.children()[this.getItemIndex(n)]);d&&d.addClass("active")}var c=h.Event("slid.bs.carousel",{relatedTarget:s,direction:r});return h.support.transition&&this.$element.hasClass("slide")?(n.addClass(t),"object"==typeof n&&n.length&&n[0].offsetWidth,i.addClass(r),n.addClass(r),i.one("bsTransitionEnd",function(){n.removeClass([t,r].join(" ")).addClass("active"),i.removeClass(["active",r].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger(c)},0)}).emulateTransitionEnd(p.TRANSITION_DURATION)):(i.removeClass("active"),n.addClass("active"),this.sliding=!1,this.$element.trigger(c)),o&&this.cycle(),this}};var t=h.fn.carousel;h.fn.carousel=s,h.fn.carousel.Constructor=p,h.fn.carousel.noConflict=function(){return h.fn.carousel=t,this};var e=function(t){var e=h(this),i=e.attr("href");i&&(i=i.replace(/.*(?=#[^\s]+$)/,""));var n=e.attr("data-target")||i,o=h(document).find(n);if(o.hasClass("carousel")){var r=h.extend({},o.data(),e.data()),a=e.attr("data-slide-to");a&&(r.interval=!1),s.call(o,r),a&&o.data("bs.carousel").to(a),t.preventDefault()}};h(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),h(window).on("load",function(){h('[data-ride="carousel"]').each(function(){var t=h(this);s.call(t,t.data())})}),h(".carousel-indicators").attr("aria-hidden","true"),h(document).on("keydown.carousel.data-api","div[role=option]",h.fn.carousel.Constructor.prototype.keydown)}(jQuery),function(a){"use strict";var s='[data-toggle="dropdown"]',n=function(t){a(t).on("click.bs.dropdown",this.toggle)};function l(t){var e=t.attr("data-target");e||(e=(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==e?a(document).find(e):null,n=t.closest(".dropdown");return n.length||(n=t.parent()),i&&i.length?i:n}function r(n){n&&3===n.which||(a(".dropdown-backdrop").remove(),a(s).each(function(){var t=a(this),e=l(t),i={relatedTarget:this};e.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&a.contains(e[0],n.target)||(e.trigger(n=a.Event("hide.bs.dropdown",i)),n.isDefaultPrevented()||(t.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",i)),a(i.relatedTarget).trigger("focus"))))}))}n.VERSION="3.4.1",a(s).parent().find("ul").attr("role","menu").find("li").attr("role","presentation").find("a").attr({tabIndex:"0"}),n.prototype.toggle=function(t){var e=a(this);if(!e.is(".disabled, :disabled")){var i=l(e),n=i.hasClass("open");if(r(),!n){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",r);var o={relatedTarget:this};if(i.trigger(t=a.Event("show.bs.dropdown",o)),t.isDefaultPrevented())return;e.attr("aria-expanded","true"),i.toggleClass("open").trigger(a.Event("shown.bs.dropdown",o)),0<i.find(".dropdown-menu li.active").length?i.find(".dropdown-menu li.active a").trigger("focus"):i.find(".dropdown-menu a").first().trigger("focus")}return!1}},n.prototype.keydown=function(t){if(/(37|38|39|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var e=a(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var i=l(e),n=i.hasClass("open");if(!n&&27!=t.which||n&&27==t.which)27==t.which&&i.find(s).trigger("focus");else{var o=i.find(".dropdown-menu li:not(.disabled):visible a");if(o.length){var r=o.index(t.target);(37==t.which||38==t.which)&&0<r&&r--,(40==t.which||39==t.which)&&r<o.length-1&&r++,~r||(r=0),o.eq(r).trigger("focus")}}}}};var t=a.fn.dropdown;a.fn.dropdown=function e(i){return this.each(function(){var t=a(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new n(this)),"string"==typeof i&&e[i].call(t)})},a.fn.dropdown.Constructor=n,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=t,this},a(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",s,n.prototype.toggle).on("keydown.bs.dropdown.data-api",s,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(jQuery),function(n){"use strict";var o=".mega-menu ul.navbar-nav > li > a";function r(){return"ui-"+(Math.random().toString(16)+"000000000").substr(2,8)}n(document).on("keydown",o,function(t){if(/(37|38|39|40)/.test(t.which)){t.preventDefault(),t.stopPropagation();var e=t.which||t.keyCode,i=n(o).index(t.target);(37===e||38===e)&&0<i&&i--,(39===e||40===e)&&i<n(o).length-1&&i++,n(o).eq(i).trigger("focus")}}),n(".mega-menu .dropdown-toggle").each(function(){var t=r(),e=n(this).next("ul.dropdown-menu"),i=r();n(this).attr("id",t),n(e).attr("id",i),n(this).attr("aria-owns",i),n(this).attr("aria-controls",i),n(e).attr("aria-labelledby",t)})}(jQuery),function(a){"use strict";var r=function(t,e){this.options=e,this.$body=a(document.body),this.$element=a(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function s(n,o){return this.each(function(){var t=a(this),e=t.data("bs.modal"),i=a.extend({},r.DEFAULTS,t.data(),"object"==typeof n&&n);e||t.data("bs.modal",e=new r(this,i)),"string"==typeof n?e[n](o):i.show&&e.show(o)})}r.VERSION="3.4.1",r.TRANSITION_DURATION=300,r.BACKDROP_TRANSITION_DURATION=150,r.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},a('[data-toggle="modal"]').each(function(){var t=a(this),e=t.attr("data-target")?a(t.attr("data-target")):a(t.attr("href"));e.attr({role:"dialog"});var i=e.find(".modal-title");if(i){var n=i.attr("id");n&&e.attr({"aria-labelledby":n})}}),a(".modal-dialog").attr({role:"document"}),r.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},r.prototype.show=function(i){var n=this,t=a.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){n.$element.one("mouseup.dismiss.bs.modal",function(t){a(t.target).is(n.$element)&&(n.ignoreBackdropClick=!0)})}),this.backdrop(function(){var t=a.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),t&&n.$element[0].offsetWidth,n.$element.addClass("in"),n.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:i});t?n.$dialog.one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(r.TRANSITION_DURATION):n.$element.trigger("focus").trigger(e)}))},r.prototype.hide=function(t){t&&t.preventDefault(),t=a.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(r.TRANSITION_DURATION):this.hideModal())},r.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},r.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},r.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},r.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},r.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},r.prototype.backdrop=function(t){var e=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var n=a.support.transition&&i;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),n&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;n?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){e.removeBackdrop(),t&&t()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):o()}else t&&t()},r.prototype.handleUpdate=function(){this.adjustDialog()},r.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},r.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},r.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},r.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var o=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",t+o),a(this.fixedContent).each(function(t,e){var i=e.style.paddingRight,n=a(e).css("padding-right");a(e).data("padding-right",i).css("padding-right",parseFloat(n)+o+"px")}))},r.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),a(this.fixedContent).each(function(t,e){var i=a(e).data("padding-right");a(e).removeData("padding-right"),e.style.paddingRight=i||""})},r.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var t=a.fn.modal;a.fn.modal=s,a.fn.modal.Constructor=r,a.fn.modal.noConflict=function(){return a.fn.modal=t,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=a(this),i=e.attr("href"),n=e.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,""),o=a(document).find(n),r=o.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(i)&&i},o.data(),e.data());e.is("a")&&t.preventDefault(),o.one("show.bs.modal",function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),s.call(o,r,this)})}(jQuery),function($){$.extend({tablesorter:new function(){var parsers=[],widgets=[];function benchmark(t,e){log(t+","+((new Date).getTime()-e.getTime())+"ms")}function log(t){"undefined"!=typeof console&&"undefined"!=typeof console.debug?console.log(t):alert(t)}function buildParserCache(t,e){if(t.config.debug)var i="";if(0!=t.tBodies.length){var n=t.tBodies[0].rows;if(n[0])for(var o=[],r=n[0].cells.length,a=0;a<r;a++){var s=!1;$.metadata&&$(e[a]).metadata()&&$(e[a]).metadata().sorter?s=getParserById($(e[a]).metadata().sorter):t.config.headers[a]&&t.config.headers[a].sorter&&(s=getParserById(t.config.headers[a].sorter)),s||(s=detectParserForColumn(t,n,-1,a)),t.config.debug&&(i+="column:"+a+" parser:"+s.id+"\n"),o.push(s)}return t.config.debug&&log(i),o}}function detectParserForColumn(t,e,i,n){for(var o=parsers.length,r=!1,a=!1,s=!0;""==a&&s;)e[++i]?(r=getNodeFromRowAndCellIndex(e,i,n),a=trimAndGetNodeText(t.config,r),t.config.debug&&log("Checking if value was empty on row:"+i)):s=!1;for(var l=1;l<o;l++)if(parsers[l].is(a,t,r))return parsers[l];return parsers[0]}function getNodeFromRowAndCellIndex(t,e,i){return t[e].cells[i]}function trimAndGetNodeText(t,e){return $.trim(getElementText(t,e))}function getParserById(t){for(var e=parsers.length,i=0;i<e;i++)if(parsers[i].id.toLowerCase()==t.toLowerCase())return parsers[i];return!1}function buildCache(t){if(t.config.debug)var e=new Date;for(var i=t.tBodies[0]&&t.tBodies[0].rows.length||0,n=t.tBodies[0].rows[0]&&t.tBodies[0].rows[0].cells.length||0,o=t.config.parsers,r={row:[],normalized:[]},a=0;a<i;++a){var s=$(t.tBodies[0].rows[a]),l=[];if(s.hasClass(t.config.cssChildRow))r.row[r.row.length-1]=r.row[r.row.length-1].add(s);else{r.row.push(s);for(var d=0;d<n;++d)l.push(o[d].format(getElementText(t.config,s[0].cells[d]),t,s[0].cells[d]));l.push(r.normalized.length),r.normalized.push(l),l=null}}return t.config.debug&&benchmark("Building cache for "+i+" rows:",e),r}function getElementText(t,e){return e?(t.supportsTextContent||(t.supportsTextContent=e.textContent||!1),"simple"==t.textExtraction?t.supportsTextContent?e.textContent:e.childNodes[0]&&e.childNodes[0].hasChildNodes()?e.childNodes[0].innerHTML:e.innerHTML:"function"==typeof t.textExtraction?t.textExtraction(e):$(e).text()):""}function appendToTable(t,e){if(t.config.debug)var i=new Date;for(var n=e,o=n.row,r=n.normalized,a=r.length,s=r[0].length-1,l=$(t.tBodies[0]),d=[],c=0;c<a;c++){var h=r[c][s];if(d.push(o[h]),!t.config.appender)for(var p=o[h].length,f=0;f<p;f++)l[0].appendChild(o[h][f])}t.config.appender&&t.config.appender(t,d),d=null,t.config.debug&&benchmark("Rebuilt table:",i),applyWidget(t),setTimeout(function(){$(t).trigger("sortEnd")},0)}function buildHeaders(i){if(i.config.debug)var t=new Date;$.metadata;var n=computeTableHeaderCellIndexes(i);return $tableHeaders=$(i.config.selectorHeaders,i).each(function(t){if(this.column=n[this.parentNode.rowIndex+"-"+this.cellIndex],this.order=formatSortingOrder(i.config.sortInitialOrder),this.count=this.order,(checkHeaderMetadata(this)||checkHeaderOptions(i,t))&&(this.sortDisabled=!0),checkHeaderOptionsSortingLocked(i,t)&&(this.order=this.lockedOrder=checkHeaderOptionsSortingLocked(i,t)),!this.sortDisabled){var e=$(this).addClass(i.config.cssHeader);i.config.onRenderHeader&&i.config.onRenderHeader.apply(e)}i.config.headerList[t]=this}),i.config.debug&&(benchmark("Built headers:",t),log($tableHeaders)),$tableHeaders}function computeTableHeaderCellIndexes(t){for(var e=[],i={},n=t.getElementsByTagName("THEAD")[0].getElementsByTagName("TR"),o=0;o<n.length;o++)for(var r=n[o].cells,a=0;a<r.length;a++){var s,l=r[a],d=l.parentNode.rowIndex,c=d+"-"+l.cellIndex,h=l.rowSpan||1,p=l.colSpan||1;"undefined"==typeof e[d]&&(e[d]=[]);for(var f=0;f<e[d].length+1;f++)if("undefined"==typeof e[d][f]){s=f;break}i[c]=s;for(f=d;f<d+h;f++){"undefined"==typeof e[f]&&(e[f]=[]);for(var u=e[f],g=s;g<s+p;g++)u[g]="x"}}return i}function checkCellColSpan(t,e,i){for(var n=[],o=t.tHead.rows,r=o[i].cells,a=0;a<r.length;a++){var s=r[a];1<s.colSpan?n=n.concat(checkCellColSpan(t,headerArr,i++)):(1==t.tHead.length||1<s.rowSpan||!o[i+1])&&n.push(s)}return n}function checkHeaderMetadata(t){return!(!$.metadata||!1!==$(t).metadata().sorter)}function checkHeaderOptions(t,e){return!(!t.config.headers[e]||!1!==t.config.headers[e].sorter)}function checkHeaderOptionsSortingLocked(t,e){return!(!t.config.headers[e]||!t.config.headers[e].lockedOrder)&&t.config.headers[e].lockedOrder}function applyWidget(t){for(var e=t.config.widgets,i=e.length,n=0;n<i;n++)getWidgetById(e[n]).format(t)}function getWidgetById(t){for(var e=widgets.length,i=0;i<e;i++)if(widgets[i].id.toLowerCase()==t.toLowerCase())return widgets[i]}function formatSortingOrder(t){return"Number"!=typeof t?"desc"==t.toLowerCase()?1:0:1==t?1:0}function isValueInArray(t,e){for(var i=e.length,n=0;n<i;n++)if(e[n][0]==t)return!0;return!1}function setHeadersCss(t,e,i,n){var o=["descending","ascending"];e.removeClass(n[0]).removeClass(n[1]),e.attr({"aria-sort":"none"});var r=[];e.each(function(t){this.sortDisabled||(r[this.column]=$(this))});for(var a=i.length,s=0;s<a;s++)r[i[s][0]].addClass(n[i[s][1]]),r[i[s][0]].attr({"aria-sort":o[i[s][1]]})}function fixColumnWidth(t,e){if(t.config.widthFixed){var i=$("<colgroup>");$("tr:first td",t.tBodies[0]).each(function(){i.append($("<col>").css("width",$(this).width()))}),$(t).prepend(i)}}function updateHeaderSortCount(t,e){for(var i=t.config,n=e.length,o=0;o<n;o++){var r=e[o],a=i.headerList[r[0]];a.count=r[1],a.count++}}function multisort(table,sortList,cache){if(table.config.debug)var sortTime=new Date;for(var dynamicExp="var sortWrapper = function (a,b) {",l=sortList.length,i=0;i<l;i++){var c=sortList[i][0],order=sortList[i][1],s="text"==table.config.parsers[c].type?makeSortfunction("text",0==order?"asc":"desc",c):makeSortfunction("numeric",0==order?"asc":"desc",c),e="e"+i;dynamicExp+="var "+e+" = "+s,dynamicExp+="if ("+e+") { return "+e+"; } ",dynamicExp+="else { "}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;i<l;i++)dynamicExp+="}; ";return dynamicExp+="return 0; ",dynamicExp+="}; ",table.config.debug&&benchmark("Evaling expression:"+dynamicExp,new Date),eval(dynamicExp),cache.normalized.sort(sortWrapper),table.config.debug&&benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime),cache}function makeSortfunction(t,e,i){var n="a["+i+"]",o="b["+i+"]";return"text"==t&&"asc"==e?"("+n+" == "+o+" ? 0 : ("+n+" === null ? Number.POSITIVE_INFINITY : ("+o+" === null ? Number.NEGATIVE_INFINITY : ("+n+" < "+o+") ? -1 : 1 )));":"text"==t&&"desc"==e?"("+n+" == "+o+" ? 0 : ("+n+" === null ? Number.POSITIVE_INFINITY : ("+o+" === null ? Number.NEGATIVE_INFINITY : ("+o+" < "+n+") ? -1 : 1 )));":"numeric"==t&&"asc"==e?"("+n+" === null && "+o+" === null) ? 0 :("+n+" === null ? Number.POSITIVE_INFINITY : ("+o+" === null ? Number.NEGATIVE_INFINITY : "+n+" - "+o+"));":"numeric"==t&&"desc"==e?"("+n+" === null && "+o+" === null) ? 0 :("+n+" === null ? Number.POSITIVE_INFINITY : ("+o+" === null ? Number.NEGATIVE_INFINITY : "+o+" - "+n+"));":void 0}function makeSortText(t){return"((a["+t+"] < b["+t+"]) ? -1 : ((a["+t+"] > b["+t+"]) ? 1 : 0));"}function makeSortTextDesc(t){return"((b["+t+"] < a["+t+"]) ? -1 : ((b["+t+"] > a["+t+"]) ? 1 : 0));"}function makeSortNumeric(t){return"a["+t+"]-b["+t+"];"}function makeSortNumericDesc(t){return"b["+t+"]-a["+t+"];"}function sortText(t,e){return table.config.sortLocaleCompare?t.localeCompare(e):t<e?-1:e<t?1:0}function sortTextDesc(t,e){return table.config.sortLocaleCompare?e.localeCompare(t):e<t?-1:t<e?1:0}function sortNumeric(t,e){return t-e}function sortNumericDesc(t,e){return e-t}function getCachedSortType(t,e){return t[e].type}this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:!0,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:!1,cancelSelection:!0,sortList:[],headerList:[],dateFormat:"us",decimal:"/.|,/g",onRenderHeader:null,selectorHeaders:"thead th",debug:!1},this.benchmark=benchmark,this.construct=function(t){return this.each(function(){if(this.tHead&&this.tBodies){var s,l,d,c;this.config={},c=$.extend(this.config,$.tablesorter.defaults,t),s=$(this),$.data(this,"tablesorter",c),l=buildHeaders(this),this.config.parsers=buildParserCache(this,l),d=buildCache(this);var h=[c.cssDesc,c.cssAsc];fixColumnWidth(this),l.click(function(t){var e=s[0].tBodies[0]&&s[0].tBodies[0].rows.length||0;if(!this.sortDisabled&&0<e){s.trigger("sortStart");$(this);var i=this.column;if(this.order=this.count++%2,this.lockedOrder&&(this.order=this.lockedOrder),t[c.sortMultiSortKey])if(isValueInArray(i,c.sortList))for(a=0;a<c.sortList.length;a++){var n=c.sortList[a],o=c.headerList[n[0]];n[0]==i&&(o.count=n[1],o.count++,n[1]=o.count%2)}else c.sortList.push([i,this.order]);else{if(c.sortList=[],null!=c.sortForce)for(var r=c.sortForce,a=0;a<r.length;a++)r[a][0]!=i&&c.sortList.push(r[a]);c.sortList.push([i,this.order])}return setTimeout(function(){setHeadersCss(s[0],l,c.sortList,h),appendToTable(s[0],multisort(s[0],c.sortList,d))},1),!1}}).mousedown(function(){if(c.cancelSelection)return!(this.onselectstart=function(){return!1})}),s.bind("update",function(){var t=this;setTimeout(function(){t.config.parsers=buildParserCache(t,l),d=buildCache(t)},1)}).bind("updateCell",function(t,e){var i=this.config,n=[e.parentNode.rowIndex-1,e.cellIndex];d.normalized[n[0]][n[1]]=i.parsers[n[1]].format(getElementText(i,e),e)}).bind("sorton",function(t,e){$(this).trigger("sortStart"),c.sortList=e;var i=c.sortList;updateHeaderSortCount(this,i),setHeadersCss(this,l,i,h),appendToTable(this,multisort(this,i,d))}).bind("appendCache",function(){appendToTable(this,d)}).bind("applyWidgetId",function(t,e){getWidgetById(e).format(this)}).bind("applyWidgets",function(){applyWidget(this)}),$.metadata&&$(this).metadata()&&$(this).metadata().sortlist&&(c.sortList=$(this).metadata().sortlist),0<c.sortList.length&&s.trigger("sorton",[c.sortList]),applyWidget(this)}})},this.addParser=function(t){for(var e=parsers.length,i=!0,n=0;n<e;n++)parsers[n].id.toLowerCase()==t.id.toLowerCase()&&(i=!1);i&&parsers.push(t)},this.addWidget=function(t){widgets.push(t)},this.formatFloat=function(t){var e=parseFloat(t);return isNaN(e)?0:e},this.formatInt=function(t){var e=parseInt(t);return isNaN(e)?0:e},this.isDigit=function(t,e){return/^[-+]?\d*$/.test($.trim(t.replace(/[,.']/g,"")))},this.clearTableBody=function(t){t.tBodies[0].innerHTML=""}}}),$.fn.extend({tablesorter:$.tablesorter.construct});var ts=$.tablesorter;ts.addParser({id:"text",is:function(t){return!0},format:function(t){return $.trim(t.toLocaleLowerCase())},type:"text"}),ts.addParser({id:"digit",is:function(t,e){var i=e.config;return $.tablesorter.isDigit(t,i)},format:function(t){return $.tablesorter.formatFloat(t)},type:"numeric"}),ts.addParser({id:"currency",is:function(t){return/^[£$€?.]/.test(t)},format:function(t){return $.tablesorter.formatFloat(t.replace(new RegExp(/[£$€]/g),""))},type:"numeric"}),ts.addParser({id:"ipAddress",is:function(t){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(t)},format:function(t){for(var e=t.split("."),i="",n=e.length,o=0;o<n;o++){var r=e[o];2==r.length?i+="0"+r:i+=r}return $.tablesorter.formatFloat(i)},type:"numeric"}),ts.addParser({id:"url",is:function(t){return/^(https?|ftp|file):\/\/$/.test(t)},format:function(t){return jQuery.trim(t.replace(new RegExp(/(https?|ftp|file):\/\//),""))},type:"text"}),ts.addParser({id:"isoDate",is:function(t){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(t)},format:function(t){return $.tablesorter.formatFloat(""!=t?new Date(t.replace(new RegExp(/-/g),"/")).getTime():"0")},type:"numeric"}),ts.addParser({id:"percent",is:function(t){return/\%$/.test($.trim(t))},format:function(t){return $.tablesorter.formatFloat(t.replace(new RegExp(/%/g),""))},type:"numeric"}),ts.addParser({id:"usLongDate",is:function(t){return t.match(new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/))},format:function(t){return $.tablesorter.formatFloat(new Date(t).getTime())},type:"numeric"}),ts.addParser({id:"shortDate",is:function(t){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(t)},format:function(t,e){var i=e.config;return t=t.replace(/\-/g,"/"),"us"==i.dateFormat?t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2"):"uk"==i.dateFormat?t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1"):"dd/mm/yy"!=i.dateFormat&&"dd-mm-yy"!=i.dateFormat||(t=t.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3")),$.tablesorter.formatFloat(new Date(t).getTime())},type:"numeric"}),ts.addParser({id:"time",is:function(t){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(t)},format:function(t){return $.tablesorter.formatFloat(new Date("2000/01/01 "+t).getTime())},type:"numeric"}),ts.addParser({id:"metadata",is:function(t){return!1},format:function(t,e,i){var n=e.config,o=n.parserMetadataName?n.parserMetadataName:"sortValue";return $(i).metadata()[o]},type:"numeric"}),ts.addWidget({id:"zebra",format:function(e){if(e.config.debug)var t=new Date;var i,n,o=-1;$("tr:visible",e.tBodies[0]).each(function(t){(i=$(this)).hasClass(e.config.cssChildRow)||o++,n=o%2==0,i.removeClass(e.config.widgetZebra.css[n?0:1]).addClass(e.config.widgetZebra.css[n?1:0])}),e.config.debug&&$.tablesorter.benchmark("Applying Zebra widget",t)}})}(jQuery),$(document).ready(function(){"use strict";"function"==typeof validate&&($("form").validate({errorPlacement:function(t,e){t.appendTo("label[for="+$(e).attr("id")+"]")},errorElement:"em"}),$("#sign-up input:not([type=submit]):not([type=file])[title]").each(function(){var t=$(this).attr("title");$(this).attr("x-moz-errormessage",t)}),$("form").removeAttr("novalidate")),$(".toggle .checkbox:checked").each(function(){$(this).toggleClass("checked",!0)}),$(".toggle .checkbox").on("click",function(){$(this).toggleClass("checked",$(this).prop("checked")),$(this).parent().toggleClass("forceiepaint")}),$(".toggle .checkbox").parent().find("label").on("click",function(t){$("#"+$(this).attr("for")).trigger("click"),t.preventDefault(),t.stopPropagation()})}),function(s){"use strict";var a=function(t){this.element=s(t)};a.VERSION="3.4.1",a.TRANSITION_DURATION=150;var t=s(".nav-tabs, .nav-pills"),e=t.children("li"),i=t.find('[data-toggle="tab"], [data-toggle="pill"]');function n(i){return this.each(function(){var t=s(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new a(this)),"string"==typeof i&&e[i]()})}t.attr("role","tablist"),e.attr("role","presentation"),i.attr("role","tab"),i.each(function(){var t=s(s(this).attr("href")),e=s(this),i=e.attr("id")||("ui-tab"||"ui-id")+"-"+Math.floor(1e3*Math.random()+1);e.attr("id",i),e.parent().hasClass("active")?(e.attr({tabIndex:"0","aria-selected":"true","aria-controls":e.attr("href").substr(1)}),t.attr({role:"tabpanel",tabIndex:"0","aria-hidden":"false","aria-labelledby":i})):(e.attr({tabIndex:"-1","aria-selected":"false","aria-controls":e.attr("href").substr(1)}),t.attr({role:"tabpanel",tabIndex:"-1","aria-hidden":"true","aria-labelledby":i}))}),a.prototype.keydown=function(t){var e,i,n=s(this),o=n.closest("ul[role=tablist] "),r=t.which||t.keyCode;if(n=s(this),/(37|38|39|40)/.test(r)){i=(e=o.find("[role=tab]:visible")).index(e.filter(":focus")),38!=r&&37!=r||i--,39!=r&&40!=r||i++,i<0&&(i=e.length-1),i==e.length&&(i=0);var a=e.eq(i);"tab"===a.attr("role")&&a.tab("show").focus(),t.preventDefault(),t.stopPropagation()}},s(document).on("keydown.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',a.prototype.keydown),a.prototype.show=function(){var t=this.element,e=t.closest("ul:not(.dropdown-menu)"),i=t.data("target");if(i||(i=(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var n=e.find(".active:last a"),o=s.Event("hide.bs.tab",{relatedTarget:t[0]}),r=s.Event("show.bs.tab",{relatedTarget:n[0]});if(n.trigger(o),t.trigger(r),!r.isDefaultPrevented()&&!o.isDefaultPrevented()){var a=s(document).find(i);this.activate(t.closest("li"),e),this.activate(a,a.parent(),function(){n.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:n[0]})})}}},a.prototype.activate=function(t,e,i){var n=e.find("> .active"),o=i&&s.support.transition&&(n.length&&n.hasClass("fade")||!!e.find("> .fade").length);function r(){n.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),t.find("[data-toggle=tab], [data-toggle=pill]").attr({tabIndex:"0","aria-selected":!0}),t.filter(".tab-pane").attr({"aria-hidden":!1,tabIndex:"0"}),o?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}n.find("[data-toggle=tab], [data-toggle=pill]").attr({tabIndex:"-1","aria-selected":!1}),n.filter(".tab-pane").attr({"aria-hidden":!0,tabIndex:"-1"}),n.length&&o?n.one("bsTransitionEnd",r).emulateTransitionEnd(a.TRANSITION_DURATION):r(),n.removeClass("in")};var o=s.fn.tab;s.fn.tab=n,s.fn.tab.Constructor=a,s.fn.tab.noConflict=function(){return s.fn.tab=o,this};var r=function(t){t.preventDefault(),n.call(s(this),"show")};s(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),jQuery; |
@@ -101,2 +101,6 @@ // # Globbing | ||
connect().use( | ||
'/docs/3.4', | ||
serveStatic('docs') | ||
), | ||
connect().use( | ||
'/bower_components', | ||
@@ -103,0 +107,0 @@ serveStatic('./bower_components') |
{ | ||
"name": "boosted", | ||
"description": "Orange Boosted with Boostrap", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"keywords": [ | ||
@@ -36,3 +36,3 @@ "css", | ||
"devDependencies": { | ||
"autoprefixer": "^9.4.4", | ||
"autoprefixer": "^9.4.7", | ||
"btoa": "^1.2.1", | ||
@@ -53,3 +53,2 @@ "cross-env": "^5.2.0", | ||
"grunt-contrib-watch": "^1.1.0", | ||
"grunt-conventional-changelog": "^6.1.0", | ||
"grunt-exec": "^3.0.0", | ||
@@ -64,3 +63,3 @@ "grunt-html": "^10.1.0", | ||
"karma": "^3.1.3", | ||
"karma-browserstack-launcher": "^1.3.0", | ||
"karma-browserstack-launcher": "^1.4.0", | ||
"karma-chrome-launcher": "^2.2.0", | ||
@@ -73,3 +72,3 @@ "karma-detect-browsers": "^2.3.3", | ||
"qunitjs": "^1.23.1", | ||
"replace-in-file": "^3.4.2", | ||
"replace-in-file": "^3.4.3", | ||
"serve-static": "^1.10.0", | ||
@@ -80,3 +79,3 @@ "shelljs": "^0.8.3", | ||
"stylelint-config-standard": "^18.2.0", | ||
"stylelint-order": "^1.0.0", | ||
"stylelint-order": "^2.0.0", | ||
"time-grunt": "^2.0.0" | ||
@@ -97,7 +96,6 @@ }, | ||
], | ||
"private": false, | ||
"jspm": { | ||
"main": "dist/js/boosted", | ||
"main": "app/js/boosted", | ||
"shim": { | ||
"dist/js/boosted": { | ||
"app/js/boosted": { | ||
"deps": "jquery", | ||
@@ -104,0 +102,0 @@ "exports": "$" |
@@ -42,8 +42,8 @@ # [Orange Boosted with Bootstrap](https://boosted.orange.com/v3) | ||
- [Download the latest release](https://boosted.orange.com/v3/getting-started/). | ||
- [Download the latest release](https://boosted.orange.com/docs/3.4/getting-started/). | ||
- Clone the repo: `git clone https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap.git`. | ||
- Install with [Bower](http://bower.io): `bower install boosted`. | ||
- Install with [npm](https://www.npmjs.com): `npm install boosted`. | ||
- Install with [npm](https://www.npmjs.com): `npm install boosted@3.4.1`. | ||
Read the [Getting started page](https://boosted.orange.com/v3/getting-started/) for information on the framework contents, templates and examples, and more. | ||
Read the [Getting started page](https://boosted.orange.com/docs/3.4/getting-started/) for information on the framework contents, templates and examples, and more. | ||
@@ -50,0 +50,0 @@ ### What's included |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12834299
41
34926