/*! * bootstrap v3.3.7 (http://getbootstrap.com) * copyright 2011-2018 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||b[0]>3)throw new error("bootstrap's javascript requires jquery version 1.9.1 or higher, but lower than version 4")}(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){if(a(b.target).is(this))return b.handleobj.handler.apply(this,arguments)}})})}(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.7",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.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.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"),d.next().slidetoggle(),settimeout(function(){e.removeclass("open").trigger(a.event("hidden.bs.dropdown",f))},600))))}))}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.7",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"),e.next().slidetoggle(),f.toggleclass("open").trigger(a.event("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&&j992&&(b.cleartimeout(g),f=b.settimeout(function(){h.attr("aria-expanded","false"),h.siblings(".dropdown-menu").hide(),i.removeclass("open"),h.trigger(m)},n.delay))}),h.hover(function(a){return!i.hasclass("open")&&!i.is(a.target)||void e(a)}),i.find(".dropdown-submenu").each(function(){var c,d=a(this);d.hover(function(){b.cleartimeout(c),d.children(".dropdown-menu").show(),d.siblings().children(".dropdown-menu").hide()},function(){var a=d.children(".dropdown-menu");c=b.settimeout(function(){a.hide()},n.delay)})})}))},a(document).ready(function(){a('[data-hover="dropdown"]').dropdownhover()})}(jquery,window),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverstate=null,this.$element=null,this.instate=null,this.init("tooltip",a,b)};c.version="3.3.7",c.transition_duration=150,c.defaults={animation:!0,placement:"top",selector:!1,template:'',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);if(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())return 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,a.$element=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.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.version="3.3.7",c.transition_duration=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasclass("active")){var e=c.find(".active:last a"),f=a.event("hide.bs.tab",{relatedtarget:b[0]}),g=a.event("show.bs.tab",{relatedtarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isdefaultprevented()&&!f.isdefaultprevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedtarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedtarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeclass("active").find("> .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);