").append(i.parseHTML(m)).find(o):m)}).complete(n&&function(m,v){l.each(n,r||[m.responseText,v,m])}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){i.fn[e]=function(n){return this.on(e,n)}}),i.expr.filters.animated=function(t){return i.grep(i.timers,function(e){return t===e.elem}).length};var In=c.document.documentElement;function Hn(t){return i.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}i.offset={setOffset:function(t,e,n){var o,r,s,l,d,m,C=i.css(t,"position"),A=i(t),D={};"static"===C&&(t.style.position="relative"),d=A.offset(),s=i.css(t,"top"),m=i.css(t,"left"),("absolute"===C||"fixed"===C)&&i.inArray("auto",[s,m])>-1?(l=(o=A.position()).top,r=o.left):(l=parseFloat(s)||0,r=parseFloat(m)||0),i.isFunction(e)&&(e=e.call(t,n,d)),null!=e.top&&(D.top=e.top-d.top+l),null!=e.left&&(D.left=e.left-d.left+r),"using"in e?e.using.call(t,D):A.css(D)}},i.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(l){i.offset.setOffset(this,t,l)});var e,n,o={top:0,left:0},r=this[0],s=r&&r.ownerDocument;return s?i.contains(e=s.documentElement,r)?(typeof r.getBoundingClientRect!==dt&&(o=r.getBoundingClientRect()),n=Hn(s),{top:o.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:o.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):o:void 0},position:function(){if(this[0]){var t,e,n={top:0,left:0},o=this[0];return"fixed"===i.css(o,"position")?e=o.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),i.nodeName(t[0],"html")||(n=t.offset()),n.top+=i.css(t[0],"borderTopWidth",!0),n.left+=i.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-i.css(o,"marginTop",!0),left:e.left-n.left-i.css(o,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||In;t&&!i.nodeName(t,"html")&&"static"===i.css(t,"position");)t=t.offsetParent;return t||In})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);i.fn[t]=function(o){return jt(this,function(r,s,l){var d=Hn(r);return void 0===l?d?e in d?d[e]:d.document.documentElement[s]:r[s]:void(d?d.scrollTo(n?i(d).scrollLeft():l,n?l:i(d).scrollTop()):r[s]=l)},t,o,arguments.length,null)}}),i.each(["top","left"],function(t,e){i.cssHooks[e]=dn(x.pixelPosition,function(n,o){return o?(o=Ot(n,e),ne.test(o)?i(n).position()[e]+"px":o):void 0})}),i.each({Height:"height",Width:"width"},function(t,e){i.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,o){i.fn[o]=function(r,s){var l=arguments.length&&(n||"boolean"!=typeof r),d=n||(!0===r||!0===s?"margin":"border");return jt(this,function(m,v,C){var A;return i.isWindow(m)?m.document.documentElement["client"+t]:9===m.nodeType?(A=m.documentElement,Math.max(m.body["scroll"+t],A["scroll"+t],m.body["offset"+t],A["offset"+t],A["client"+t])):void 0===C?i.css(m,v,d):i.style(m,v,C,d)},e,l?r:void 0,l,null)}})}),i.fn.size=function(){return this.length},i.fn.andSelf=i.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return i});var Ii=c.jQuery,Hi=c.$;return i.noConflict=function(t){return c.$===i&&(c.$=Hi),t&&c.jQuery===i&&(c.jQuery=Ii),i},typeof R===dt&&(c.jQuery=c.$=i),i}),typeof jQuery>"u")throw new Error("Bootstrap's JavaScript requires jQuery");!function(c){"use strict";var R=jQuery.fn.jquery.split(" ")[0].split(".");if(R[0]<2&&R[1]<9||1==R[0]&&9==R[1]&&R[2]<1||R[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(),function(c){"use strict";c.fn.emulateTransitionEnd=function(T){var I=!1,p=this;return c(this).one("bsTransitionEnd",function(){I=!0}),setTimeout(function(){I||c(p).trigger(c.support.transition.end)},T),this},c(function(){c.support.transition=function R(){var T=document.createElement("bootstrap"),I={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var p in I)if(void 0!==T.style[p])return{end:I[p]};return!1}(),c.support.transition&&(c.event.special.bsTransitionEnd={bindType:c.support.transition.end,delegateType:c.support.transition.end,handle:function(T){return c(T.target).is(this)?T.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),function(c){"use strict";var T='[data-dismiss="alert"]',I=function(a){c(a).on("click",T,this.close)};I.VERSION="3.3.6",I.TRANSITION_DURATION=150,I.prototype.close=function(a){function h(){k.detach().trigger("closed.bs.alert").remove()}var y=c(this),N=y.attr("data-target");N||(N=(N=y.attr("href"))&&N.replace(/.*(?=#[^\s]*$)/,""));var k=c(N);a&&a.preventDefault(),k.length||(k=y.closest(".alert")),k.trigger(a=c.Event("close.bs.alert")),a.isDefaultPrevented()||(k.removeClass("in"),c.support.transition&&k.hasClass("fade")?k.one("bsTransitionEnd",h).emulateTransitionEnd(I.TRANSITION_DURATION):h())};var p=c.fn.alert;c.fn.alert=function R(a){return this.each(function(){var h=c(this),y=h.data("bs.alert");y||h.data("bs.alert",y=new I(this)),"string"==typeof a&&y[a].call(h)})},c.fn.alert.Constructor=I,c.fn.alert.noConflict=function(){return c.fn.alert=p,this},c(document).on("click.bs.alert.data-api",T,I.prototype.close)}(jQuery),function(c){"use strict";function R(p){return this.each(function(){var a=c(this),h=a.data("bs.button");h||a.data("bs.button",h=new T(this,"object"==typeof p&&p)),"toggle"==p?h.toggle():p&&h.setState(p)})}var T=function(p,a){this.$element=c(p),this.options=c.extend({},T.DEFAULTS,a),this.isLoading=!1};T.VERSION="3.3.6",T.DEFAULTS={loadingText:"loading..."},T.prototype.setState=function(p){var a="disabled",h=this.$element,y=h.is("input")?"val":"html",N=h.data();p+="Text",null==N.resetText&&h.data("resetText",h[y]()),setTimeout(c.proxy(function(){h[y](null==N[p]?this.options[p]:N[p]),"loadingText"==p?(this.isLoading=!0,h.addClass(a).attr(a,a)):this.isLoading&&(this.isLoading=!1,h.removeClass(a).removeAttr(a))},this),0)},T.prototype.toggle=function(){var p=!0,a=this.$element.closest('[data-toggle="buttons"]');if(a.length){var h=this.$element.find("input");"radio"==h.prop("type")?(h.prop("checked")&&(p=!1),a.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==h.prop("type")&&(h.prop("checked")!==this.$element.hasClass("active")&&(p=!1),this.$element.toggleClass("active")),h.prop("checked",this.$element.hasClass("active")),p&&h.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var I=c.fn.button;c.fn.button=R,c.fn.button.Constructor=T,c.fn.button.noConflict=function(){return c.fn.button=I,this},c(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(p){var a=c(p.target);a.hasClass("btn")||(a=a.closest(".btn")),R.call(a,"toggle"),c(p.target).is('input[type="radio"]')||c(p.target).is('input[type="checkbox"]')||p.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(p){c(p.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(p.type))})}(jQuery),function(c){"use strict";function R(a){return this.each(function(){var h=c(this),y=h.data("bs.carousel"),N=c.extend({},T.DEFAULTS,h.data(),"object"==typeof a&&a),k="string"==typeof a?a:N.slide;y||h.data("bs.carousel",y=new T(this,N)),"number"==typeof a?y.to(a):k?y[k]():N.interval&&y.pause().cycle()})}var T=function(a,h){this.$element=c(a),this.$indicators=this.$element.find(".carousel-indicators"),this.options=h,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",c.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",c.proxy(this.pause,this)).on("mouseleave.bs.carousel",c.proxy(this.cycle,this))};T.VERSION="3.3.6",T.TRANSITION_DURATION=600,T.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},T.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()}},T.prototype.cycle=function(a){return a||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(c.proxy(this.next,this),this.options.interval)),this},T.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},T.prototype.getItemForDirection=function(a,h){var y=this.getItemIndex(h);return("prev"==a&&0===y||"next"==a&&y==this.$items.length-1)&&!this.options.wrap?h:this.$items.eq((y+("prev"==a?-1:1))%this.$items.length)},T.prototype.to=function(a){var h=this,y=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(){h.to(a)}):y==a?this.pause().cycle():this.slide(a>y?"next":"prev",this.$items.eq(a))},T.prototype.pause=function(a){return a||(this.paused=!0),this.$element.find(".next, .prev").length&&c.support.transition&&(this.$element.trigger(c.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},T.prototype.next=function(){return this.sliding?void 0:this.slide("next")},T.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},T.prototype.slide=function(a,h){var y=this.$element.find(".item.active"),N=h||this.getItemForDirection(a,y),k=this.interval,x="next"==a?"left":"right",U=this;if(N.hasClass("active"))return this.sliding=!1;var i=N[0],G=c.Event("slide.bs.carousel",{relatedTarget:i,direction:x});if(this.$element.trigger(G),!G.isDefaultPrevented()){if(this.sliding=!0,k&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var K=c(this.$indicators.children()[this.getItemIndex(N)]);K&&K.addClass("active")}var xt=c.Event("slid.bs.carousel",{relatedTarget:i,direction:x});return c.support.transition&&this.$element.hasClass("slide")?(N.addClass(a),y.addClass(x),N.addClass(x),y.one("bsTransitionEnd",function(){N.removeClass([a,x].join(" ")).addClass("active"),y.removeClass(["active",x].join(" ")),U.sliding=!1,setTimeout(function(){U.$element.trigger(xt)},0)}).emulateTransitionEnd(T.TRANSITION_DURATION)):(y.removeClass("active"),N.addClass("active"),this.sliding=!1,this.$element.trigger(xt)),k&&this.cycle(),this}};var I=c.fn.carousel;c.fn.carousel=R,c.fn.carousel.Constructor=T,c.fn.carousel.noConflict=function(){return c.fn.carousel=I,this};var p=function(a){var h,y=c(this),N=c(y.attr("data-target")||(h=y.attr("href"))&&h.replace(/.*(?=#[^\s]+$)/,""));if(N.hasClass("carousel")){var k=c.extend({},N.data(),y.data()),x=y.attr("data-slide-to");x&&(k.interval=!1),R.call(N,k),x&&N.data("bs.carousel").to(x),a.preventDefault()}};c(document).on("click.bs.carousel.data-api","[data-slide]",p).on("click.bs.carousel.data-api","[data-slide-to]",p),c(window).on("load",function(){c('[data-ride="carousel"]').each(function(){var a=c(this);R.call(a,a.data())})})}(jQuery),function(c){"use strict";function R(a){var h,y=a.attr("data-target")||(h=a.attr("href"))&&h.replace(/.*(?=#[^\s]+$)/,"");return c(y)}function T(a){return this.each(function(){var h=c(this),y=h.data("bs.collapse"),N=c.extend({},I.DEFAULTS,h.data(),"object"==typeof a&&a);!y&&N.toggle&&/show|hide/.test(a)&&(N.toggle=!1),y||h.data("bs.collapse",y=new I(this,N)),"string"==typeof a&&y[a]()})}var I=function(a,h){this.$element=c(a),this.options=c.extend({},I.DEFAULTS,h),this.$trigger=c('[data-toggle="collapse"][href="#'+a.id+'"],[data-toggle="collapse"][data-target="#'+a.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};I.VERSION="3.3.6",I.TRANSITION_DURATION=350,I.DEFAULTS={toggle:!0},I.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},I.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var a,h=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(h&&h.length&&(a=h.data("bs.collapse"),a&&a.transitioning))){var y=c.Event("show.bs.collapse");if(this.$element.trigger(y),!y.isDefaultPrevented()){h&&h.length&&(T.call(h,"hide"),a||h.data("bs.collapse",null));var N=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[N](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var k=function(){this.$element.removeClass("collapsing").addClass("collapse in")[N](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!c.support.transition)return k.call(this);var x=c.camelCase(["scroll",N].join("-"));this.$element.one("bsTransitionEnd",c.proxy(k,this)).emulateTransitionEnd(I.TRANSITION_DURATION)[N](this.$element[0][x])}}}},I.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var a=c.Event("hide.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){var h=this.dimension();this.$element[h](this.$element[h]()),this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var y=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return c.support.transition?void this.$element[h](0).one("bsTransitionEnd",c.proxy(y,this)).emulateTransitionEnd(I.TRANSITION_DURATION):y.call(this)}}},I.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},I.prototype.getParent=function(){return c(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(c.proxy(function(a,h){var y=c(h);this.addAriaAndCollapsedClass(R(y),y)},this)).end()},I.prototype.addAriaAndCollapsedClass=function(a,h){var y=a.hasClass("in");a.attr("aria-expanded",y),h.toggleClass("collapsed",!y).attr("aria-expanded",y)};var p=c.fn.collapse;c.fn.collapse=T,c.fn.collapse.Constructor=I,c.fn.collapse.noConflict=function(){return c.fn.collapse=p,this},c(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(a){var h=c(this);h.attr("data-target")||a.preventDefault();var y=R(h),k=y.data("bs.collapse")?"toggle":h.data();T.call(y,k)})}(jQuery),function(c){"use strict";function R(N){var k=N.attr("data-target");k||(k=(k=N.attr("href"))&&/#[A-Za-z]/.test(k)&&k.replace(/.*(?=#[^\s]*$)/,""));var x=k&&c(k);return x&&x.length?x:N.parent()}function T(N){N&&3===N.which||(c(p).remove(),c(a).each(function(){var k=c(this),x=R(k),U={relatedTarget:this};x.hasClass("open")&&(N&&"click"==N.type&&/input|textarea/i.test(N.target.tagName)&&c.contains(x[0],N.target)||(x.trigger(N=c.Event("hide.bs.dropdown",U)),N.isDefaultPrevented()||(k.attr("aria-expanded","false"),x.removeClass("open").trigger(c.Event("hidden.bs.dropdown",U)))))}))}var p=".dropdown-backdrop",a='[data-toggle="dropdown"]',h=function(N){c(N).on("click.bs.dropdown",this.toggle)};h.VERSION="3.3.6",h.prototype.toggle=function(N){var k=c(this);if(!k.is(".disabled, :disabled")){var x=R(k),U=x.hasClass("open");if(T(),!U){"ontouchstart"in document.documentElement&&!x.closest(".navbar-nav").length&&c(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(c(this)).on("click",T);var i={relatedTarget:this};if(x.trigger(N=c.Event("show.bs.dropdown",i)),N.isDefaultPrevented())return;k.trigger("focus").attr("aria-expanded","true"),x.toggleClass("open").trigger(c.Event("shown.bs.dropdown",i))}return!1}},h.prototype.keydown=function(N){if(/(38|40|27|32)/.test(N.which)&&!/input|textarea/i.test(N.target.tagName)){var k=c(this);if(N.preventDefault(),N.stopPropagation(),!k.is(".disabled, :disabled")){var x=R(k),U=x.hasClass("open");if(!U&&27!=N.which||U&&27==N.which)return 27==N.which&&x.find(a).trigger("focus"),k.trigger("click");var G=x.find(".dropdown-menu li:not(.disabled):visible a");if(G.length){var K=G.index(N.target);38==N.which&&K>0&&K--,40==N.which&&K
document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&p?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!p?this.scrollbarWidth:""})},T.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},T.prototype.checkScrollbar=function(){var p=window.innerWidth;if(!p){var a=document.documentElement.getBoundingClientRect();p=a.right-Math.abs(a.left)}this.bodyIsOverflowing=document.body.clientWidth ',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},T.prototype.init=function(p,a,h){if(this.enabled=!0,this.type=p,this.$element=c(a),this.options=this.getOptions(h),this.$viewport=this.options.viewport&&c(c.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 y=this.options.trigger.split(" "),N=y.length;N--;){var k=y[N];if("click"==k)this.$element.on("click."+this.type,this.options.selector,c.proxy(this.toggle,this));else if("manual"!=k){var U="hover"==k?"mouseleave":"focusout";this.$element.on(("hover"==k?"mouseenter":"focusin")+"."+this.type,this.options.selector,c.proxy(this.enter,this)),this.$element.on(U+"."+this.type,this.options.selector,c.proxy(this.leave,this))}}this.options.selector?this._options=c.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},T.prototype.getDefaults=function(){return T.DEFAULTS},T.prototype.getOptions=function(p){return(p=c.extend({},this.getDefaults(),this.$element.data(),p)).delay&&"number"==typeof p.delay&&(p.delay={show:p.delay,hide:p.delay}),p},T.prototype.getDelegateOptions=function(){var p={},a=this.getDefaults();return this._options&&c.each(this._options,function(h,y){a[h]!=y&&(p[h]=y)}),p},T.prototype.enter=function(p){var a=p instanceof this.constructor?p:c(p.currentTarget).data("bs."+this.type);return a||(a=new this.constructor(p.currentTarget,this.getDelegateOptions()),c(p.currentTarget).data("bs."+this.type,a)),p instanceof c.Event&&(a.inState["focusin"==p.type?"focus":"hover"]=!0),a.tip().hasClass("in")||"in"==a.hoverState?void(a.hoverState="in"):(clearTimeout(a.timeout),a.hoverState="in",a.options.delay&&a.options.delay.show?void(a.timeout=setTimeout(function(){"in"==a.hoverState&&a.show()},a.options.delay.show)):a.show())},T.prototype.isInStateTrue=function(){for(var p in this.inState)if(this.inState[p])return!0;return!1},T.prototype.leave=function(p){var a=p instanceof this.constructor?p:c(p.currentTarget).data("bs."+this.type);return a||(a=new this.constructor(p.currentTarget,this.getDelegateOptions()),c(p.currentTarget).data("bs."+this.type,a)),p instanceof c.Event&&(a.inState["focusout"==p.type?"focus":"hover"]=!1),a.isInStateTrue()?void 0:(clearTimeout(a.timeout),a.hoverState="out",a.options.delay&&a.options.delay.hide?void(a.timeout=setTimeout(function(){"out"==a.hoverState&&a.hide()},a.options.delay.hide)):a.hide())},T.prototype.show=function(){var p=c.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(p);var a=c.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(p.isDefaultPrevented()||!a)return;var h=this,y=this.tip(),N=this.getUID(this.type);this.setContent(),y.attr("id",N),this.$element.attr("aria-describedby",N),this.options.animation&&y.addClass("fade");var k="function"==typeof this.options.placement?this.options.placement.call(this,y[0],this.$element[0]):this.options.placement,x=/\s?auto?\s?/i,U=x.test(k);U&&(k=k.replace(x,"")||"top"),y.detach().css({top:0,left:0,display:"block"}).addClass(k).data("bs."+this.type,this),this.options.container?y.appendTo(this.options.container):y.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var i=this.getPosition(),G=y[0].offsetWidth,K=y[0].offsetHeight;if(U){var xt=k,wt=this.getPosition(this.$viewport);k="bottom"==k&&i.bottom+K>wt.bottom?"top":"top"==k&&i.top-K