/*! * Bootstrap v3.3.5 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under the MIT license */ if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.5",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.5",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.5",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(this.$element.hasClass('navbar-collapse')) { jQuery('.navbar-toggle').addClass('navbar-toggle-open'); document.body.style.top = `-${window.scrollY}px`;document.body.style.position = 'fixed';}if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(this.$element.hasClass('navbar-collapse')) {jQuery('.navbar-toggle').removeClass('navbar-toggle-open');const scrollY = document.body.style.top; document.body.style.position = '';document.body.style.top = '';window.scrollTo(0, parseInt(scrollY || '0') * -1);}if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.5",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.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 e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(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},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.5",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.5",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.5",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); ;/*})'"*/ ;/*})'"*/ /*! modernizr 3.2.0 (Custom Build) | MIT * * http://modernizr.com/download/?-mediaqueries-mq !*/ !function(e,n,t){function o(e,n){return typeof e===n}function a(){var e,n,t,a,i,s,r;for(var d in l)if(l.hasOwnProperty(d)){if(e=[],n=l[d],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(t=0;te[0]?!0:i[0]e[1]?!0:i[1]e[2]?!0:i[2]>=e[2]},!i||!e.checkVersion(i.VERSION,"3.3.4"))throw new Error("Bootstrap Anchor requires the Bootstrap tooltip.js plugin, version 3.3.4 or greater.");e.proxy=function(t,n){return n=n||i,function(){}},e.DEFAULTS=t.extend({},i.DEFAULTS,{anchors:"h1,h2,h3,h4,[data-anchor]",anchorContainer:!0,anchorDuration:300,anchorFindNamed:!1,anchorGenerateId:!0,anchorHistory:"append",anchorIcon:'',anchorIgnore:'[data-anchor-ignore]:not([data-anchor-ignore="false"]),[data-dismiss],[data-slide],[data-toggle]:not([data-toggle="anchor"])',anchorLinks:'a[href*="#"],[data-toggle="anchor"]',anchorNormalizeId:{separator:"-",convertCamel:!0,convertCase:"lower",convert:/[\s_.(){}\[\]]/g,strip:/[^\w-]/gi,singleSeparator:!0,trim:!0,maxLength:32},anchorPrefixId:!1,anchorUniqueId:!0,anchorOffset:20,anchorTarget:!1,scrollOnHashchange:!0,scrollOnLoad:!0,placement:"auto left",template:'',trigger:{anchors:"hover focus",links:"click"},viewport:{selector:"body",padding:0}}),e.prototype=t.extend({},i.prototype);for(var r=["enter","leave","hide","show","toggle"],s=0,a=r.length;a>s;s++)e.prototype[r[s]]=e.proxy(r[s]);e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(o,i){var e=this.$element.data()||null,r=this.getDefaults();i=i&&!this.dom&&{anchors:i}||null;var s=!this.dom&&r.anchorContainer;if(e.anchorContainer!==n?s=e.anchorContainer||null:o.anchorContainer!==n&&(s=o.anchorContainer||null),s){var a="string"==typeof s&&t(s);a&&a[0]||(a=this.$element.parent().closest("[data-anchor-container]")),s=a[0]&&a.data()||null}return o=t.extend(!0,{},r,i,o,s,e),o.delay&&"number"==typeof o.delay&&(o.delay={show:o.delay,hide:o.delay}),o},e.prototype.getPosition=function(t){return t||this.options.previousContainer?this.options.previousContainer&&(this.options.container=this.options.previousContainer,delete this.options.previousContainer):(this.options.previousContainer=this.options.container,this.options.container=this.$viewport),t||(t=this.getContainer()),i.prototype.getPosition.apply(this,[t])},e.prototype.hasContent=function(){return!!(!this.isLink()&&this.id&&this.$anchor&&this.$anchor.is(this.options.anchors)&&this.options.anchorIcon)},e.prototype.setContent=function(){var t=this,n=this.tip().removeClass("fade in");n.find("a").attr("href","#"+this.id).off("click.bs."+this.type).on("click.bs."+this.type,function(n){n.preventDefault(),n.stopPropagation(),t.scrollTo()}).html(this.options.anchorIcon)},e.prototype.init=function(n,o,i,e){if(null===this.enabled){var r=this;if(this.enabled=!0,this.type=n,this.dom=this.isDOM(o),this.$element=t(this.dom?document:o),this.options=this.getOptions(i,e),this.$anchor=this.getAnchor(),this.$delegates=!1,this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport),this.link=this.isLink(),this.id=this.getID(),this.bind(),this.dom){var s=t(window);this._options=t.extend({},this.options,{trigger:"manual"}),s.on("scroll.bs."+this.type,function(){r.scrollTop=r.getPosition(r.$viewport).scroll}),this.options.scrollOnLoad&&s.on("load.bs."+this.type,t.proxy(this.scrollToHash,this)),this.options.scrollOnHashchange&&s.on("hashchange.bs."+this.type,t.proxy(this.scrollToHash,this)),t.fn.scrollspy&&this.$element.on("change.bs.anchor",function(){"complete"===document.readyState&&t('[data-spy="scroll"]').scrollspy("refresh")}),t(function(){r.$delegates=t(r.options.anchors).not(r.getExclude()).anchor(r._options)})}else this.link||(this.id||(this.$anchor=!1),this.$anchor&&this.hasContent()&&(this.options.originalContainer=this.options.container,this.options.container=this.getContainer()))}},e.prototype.bind=function(){var n=this,o=this.dom||this.isLink();if(this.dom&&!this.options.anchors&&!this.options.anchorLinks)throw new Error("`anchors` or `anchorLinks` option must be specified when initializing "+this.type+" on any top level DOM object!");if(this.dom||o||this.hasContent()){var i=this.getExclude(),e=this.dom||!i?this.$element:this.$element.not(i),r=function(t){var o="anchors"===t?"> ."+n.type+"-wrapper":"",e="anchors"===t&&n.options.anchors||"links"===t&&n.options.anchorLinks||"";if(!n.dom)return o||null;var r=function(t){for(var n=e&&e.split(/\s*,\s*(?![^(]*\))/gi)||[],o=0,i=n.length;i>o;o++)n[o]=t.apply(this,[n[o],n]);return n.join(",")};return r(function(t){return t+":not("+i+")"+o})},s=this.getTriggers();for(var a in s)if(s.hasOwnProperty(a))for(var h=r(a),c="string"==typeof s[a]&&s[a].split(" ")||[],l=c.length;l--;){var p=c[l];"click"===p?"links"===a&&o?e.on("click.bs."+this.type,h,t.proxy(this.scrollTo,this)):e.on("click.bs."+this.type,h,t.proxy(this.toggle,this)):"anchors"===a&&"manual"!==p&&(e.on(("hover"===p?"mouseenter":"focusin")+".bs."+this.type,h,t.proxy(this.enter,this)),e.on(("hover"===p?"mouseleave":"focusout")+".bs."+this.type,h,t.proxy(this.leave,this)))}}},e.prototype.getAnchor=function(){if(null!==this.$anchor)return this.$anchor||!1;var n,o=this.$element[0];if(this.dom)return!1;if(this.options.anchorTarget)return n=t(this.options.anchorTarget).first(),n[0]&&n||!1;if(this.isLink()){var i=o&&"A"===this.$element[0].nodeName&&o.host===window.location.host&&o.pathname===window.location.pathname&&o.search===window.location.search&&o.hash;return i=i&&i.replace(/^#/,"")||i,i&&i.length?(n=t("#"+i+', a[name="'+i+'"]').first(),n[0]&&n||!1):!1}return o&&this.$element||!1},e.prototype.getContainer=function(){if(!this.hasContent())return this.$anchor;if(this.$container)return this.$container;if(this.$container=this.$anchor.find(">."+this.type+"-wrapper"),this.$container[0])return this.$container;var n=this.$anchor[0],o=document.createElement("span");for(o.className="anchor-wrapper";n.childNodes.length;)o.appendChild(n.removeChild(n.childNodes[0]));return n.insertBefore(o,n.firstChild),this.$container=t(o),this.$container},e.prototype.getDelegate=function(n,o){if(n instanceof this.constructor)return n;o=o||n instanceof jQuery.Event&&t(n.currentTarget)||t(),o.is("."+this.type+"-wrapper")&&(o=o.parent(),n.currentTarget&&(n.currentTarget=o[0]));var i=o.data("bs."+this.type);return i||this.dom?(!i&&o[0]&&o.data("bs."+this.type,i=new this.constructor(o[0],this.getDelegateOptions())),i||this):this},e.prototype.getExclude=function(){var t=this.options.anchorIgnore||!1;return t&&"function"==typeof t&&(t=this.options.anchorIgnore.call(this)),t&&"string"!=typeof this.options.anchorIgnore&&(t=!1),t},e.prototype.getID=function(t){if(this.dom)return this.id=this.originalId=!1,this.id;var n="function"==typeof this.options.id||"function"==typeof this.options.originalId;if(null!==this.id&&!n&&!t)return this.id;if(this.originalId="function"==typeof this.options.originalId&&this.options.originalId.call(this)||this.options.originalId||!1,this.id="function"==typeof this.options.id&&this.options.id.call(this)||this.options.id||this.originalId||!1,!this.id){var o=this.$element[0],i=o&&o.id||o&&"A"===o.nodeName&&o.name;if(!i&&this.options.anchorFindNamed)for(var e,r=["next","prev","find"],s=r.length;s--;)if(e=this.$element[r[s]]("a[name]:empty"),e[0]&&!i){i=e[0].id||e[0].name;break}i&&this.$element.removeAttr("id"),o&&"A"===o.nodeName&&o.name&&this.$element.removeAttr("name"),this.id=this.originalId=i||!1,this.id||!this.options.anchorGenerateId||this.isLink()||(this.id=this.$anchor.text()||!1,this.id&&(this.options.anchorNormalizeId&&(this.id=this.normalizeId(this.id)),this.options.anchorPrefixId&&(this.id=this.options.anchorPrefixId+"-"+this.id),this.options.anchorUniqueId&&(this.id=this.getUID(this.id)))),this.$element.attr("data-original-id",this.originalId.toString()),this.id&&this.$element.attr("id",this.id).attr("data-id",this.id)}return this.id!==this.originalId&&this.$element.trigger("change.bs.anchor",this),this.id},e.prototype.getTop=function(){var t="fixed"===this.$anchor.css("position")?this.$anchor[0].offsetTop:this.getPosition(this.$anchor).top;return t-=parseInt(this.$viewport.css("margin-top"),10)||0,t-=parseInt(this.$viewport.css("padding-top"),10)||0,this.options.anchorOffset&&(t-=parseInt(this.options.anchorOffset,10)),0>t?0:t},e.prototype.getTriggers=function(){var n=this.options.trigger||!1;return n&&"function"==typeof n&&(n=n.call(this)),n&&"string"==typeof n&&(n={anchors:n,links:n}),t.isPlainObject(n)||(n=!1),n},e.prototype.getUID=function(t){for(var n=0,o=""+t;document.getElementById(t);)n++,t=o+"-"+n;return t},e.prototype.isDOM=function(t,n){return n||null===this.dom?(t=t||this.$element&&this.$element[0],t&&(t instanceof document.constructor||t instanceof window.constructor||t instanceof HTMLHtmlElement||t instanceof HTMLBodyElement)):this.dom},e.prototype.isLink=function(t){if(this.dom)return!1;if(!t&&null!==this.link)return this.link;var n=this.getExclude();return this.options.anchorLinks&&n?this.$element.not(n).is(this.options.anchorLinks):this.$element.is(this.options.anchorLinks)},e.prototype.normalizeId=function(t){var n=this.options.anchorNormalizeId;if(!n||"object"!=typeof n)return t;var o=n.separator||"",i=o&&o.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")||"";return n.convertCamel&&(t=t.replace(/[A-Z]/g,function(t){return o+t})),n.convertCase&&(t="upper"===n.convertCase?t.toUpperCase():t.toLowerCase()),n.convert&&(t=t.replace(n.convert,o)),n.strip&&(t=t.replace(n.strip,"")),n.singleSeparator&&(t=t.replace(new RegExp(i+"+","g"),o)),n.trim&&(t=t.replace(new RegExp("^"+i+"*|"+i+"*$","g"),"")),n.maxLength&&(t=t.substring(0,n.maxLength)),t||!1},e.prototype.scrollTo=function(n){var o=this,i=o.getDelegate.apply(o,arguments);if(i.$anchor&&t.contains(document,i.$anchor[0])&&i.enabled&&!i.scrolling&&!o.scrolling){if(i.link)return n&&n.preventDefault(),i.$element.trigger("blur.bs."+i.type),void o.scrollTo.apply(o,[null,i.$anchor]);var e=t.Event("scroll.bs."+i.type);if(!e.isDefaultPrevented()){var r=i.getTop(),s=t.Deferred();s.then(function(){i.scrolling=o.scrolling=!0}).then(function(){return i.options.animation&&i.options.anchorDuration&&i.options.anchorDuration>0?i.$viewport.stop(!0).animate({scrollTop:r},{anchorDuration:i.options.anchorDuration}).promise():i.$viewport.scrollTop(r).promise()}).then(function(){return i.updateHistory.call(i)}).then(function(){i.scrolling=o.scrolling=!1,i.$element.trigger("focus.bs."+i.type),i.$element.trigger("scrolled.bs."+i.type)}),s.resolve()}}},e.prototype.scrollToHash=function(n){if(this.enabled&&!this.scrolling){"complete"===document.readyState&&null!==this.scrollTop&&this.$viewport.scrollTop(this.scrollTop),n=n&&"string"==typeof n&&n.replace(/^#/,"")||window.location.hash.replace(/^#/,"");var o=n&&document.getElementById(n)||document.getElementsByName(n);o&&t(o).anchor("scrollTo")}},e.prototype.updateHistory=function(){var n=this;return t.Deferred(function(o){var i=n.options.anchorHistory;if("function"==typeof i&&(i=i.call(n)||!1),!i||"append"!==i&&"replace"!==i)return o.resolve();var e=n.getID();n.$element.attr("id","");var r=t('
').css({position:"absolute",visibility:"hidden",top:n.getTop()+"px"}).appendTo(n.$viewport);"replace"===i&&window.anchorHistory&&window.anchorHistory.replaceState?window.anchorHistory.replaceState(null,null,"#"+n.id):window.location.hash=e,r.remove(),n.$element.attr("id",e),setTimeout(function(){o.resolve()},10)})};var h=t.fn.anchor;t.fn.anchor=o,t.fn.anchor.Constructor=e,t.fn.anchor.noConflict=function(){return t.fn.anchor=h,this}}(jQuery); ;/*})'"*/ ;/*})'"*/ !function(e,n,a,s,o){n.behaviors.intersysTheme={attach:function(){function n(){var n=e(".region-sidebar-second .block-intsys-documentation");n.length&&(Modernizr.mq("screen and (min-width: 481px) and (max-width: 768px)")&&!n.hasClass("clone-processed")?(n.clone().prependTo(e(".region-content")),n.addClass("clone-processed")):Modernizr.mq("screen and (max-width: 480px)")&&!n.hasClass("clone-mobile-processed")&&(n.clone().insertAfter(e("header#navbar")).addClass("block-intsys-documentation-mobile-header"),n.addClass("clone-mobile-processed")));var a=e("#block-tb-megamenu-user-menu ul.level-0"),s=e("#navbar-login-btn a"),o=e("#navbar-member-btn a");a.length&&(s.length&&Modernizr.mq("screen and (max-width: 767px)")&&!s.hasClass("clone-processed")&&(e('').appendTo(a),s.clone().appendTo("#block-tb-megamenu-user-menu ul .megamenu-login"),s.addClass("clone-processed")),o.length&&Modernizr.mq("screen and (max-width: 767px)")&&!o.hasClass("clone-processed")&&(e('
  • ').appendTo(a),o.clone().appendTo("#block-tb-megamenu-user-menu ul .megamenu-join"),o.addClass("clone-processed")))}e(s).ajaxComplete(function(n,a,o){o.url.indexOf("?page=")+1&&e(s).scrollTop(0)}),n(),e(a).resize(function(){n()}),e(s).anchor()}}}(jQuery,Drupal,this,this.document); ;/*})'"*/ ;/*})'"*/