%PDF- %PDF-
Direktori : /backups/router/usr/local/opnsense/www/js/ |
Current File : //backups/router/usr/local/opnsense/www/js/bootstrap.min.js |
/*! * Bootstrap v3.4.1 (https://getbootstrap.com/) * Copyright 2011-2019 Twitter, Inc. * Licensed under the MIT license */if(typeof jQuery=="undefined")throw new Error("Bootstrap's JavaScript requires jQuery");+function(e){"use strict";var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||t[0]==1&&t[1]==9&&t[2]<1||t[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(e){"use strict";function t(){var t,n=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in e)if(n.style[t]!==void 0)return{end:e[t]};return!1}e.fn.emulateTransitionEnd=function(t){var s,n=!1,o=this;return e(this).one("bsTransitionEnd",function(){n=!0}),s=function(){n||e(o).trigger(e.support.transition.end)},setTimeout(s,t),this},e(function(){if(e.support.transition=t(),!e.support.transition)return;e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}})}(jQuery),+function(e){"use strict";var s,n='[data-dismiss="alert"]',t=function(t){e(t).on("click",n,this.close)};t.VERSION="3.4.1",t.TRANSITION_DURATION=150,t.prototype.close=function(n){var o,i=e(this),s=i.attr("data-target");if(s||(s=i.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,"")),s=s==="#"?[]:s,o=e(document).find(s),n&&n.preventDefault(),o.length||(o=i.closest(".alert")),o.trigger(n=e.Event("close.bs.alert")),n.isDefaultPrevented())return;o.removeClass("in");function a(){o.detach().trigger("closed.bs.alert").remove()}e.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",a).emulateTransitionEnd(t.TRANSITION_DURATION):a()};function o(n){return this.each(function(){var s=e(this),o=s.data("bs.alert");o||s.data("bs.alert",o=new t(this)),typeof n=="string"&&o[n].call(s)})}s=e.fn.alert,e.fn.alert=o,e.fn.alert.Constructor=t,e.fn.alert.noConflict=function(){return e.fn.alert=s,this},e(document).on("click.bs.alert.data-api",n,t.prototype.close)}(jQuery),+function(e){"use strict";var s,t=function(n,s){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,s),this.isLoading=!1};t.VERSION="3.4.1",t.DEFAULTS={loadingText:"loading..."},t.prototype.setState=function(t){var n="disabled",s=this.$element,i=s.is("input")?"val":"html",o=s.data();t+="Text",o.resetText==null&&s.data("resetText",s[i]()),setTimeout(e.proxy(function(){s[i](o[t]==null?this.options[t]:o[t]),t=="loadingText"?(this.isLoading=!0,s.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,s.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},t.prototype.toggle=function(){var e,t=!0,n=this.$element.closest('[data-toggle="buttons"]');n.length?(e=this.$element.find("input"),e.prop("type")=="radio"?(e.prop("checked")&&(t=!1),n.find(".active").removeClass("active"),this.$element.addClass("active")):e.prop("type")=="checkbox"&&(e.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),e.prop("checked",this.$element.hasClass("active")),t&&e.trigger("change")):(this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active"))};function n(n){return this.each(function(){var o=e(this),s=o.data("bs.button"),i=typeof n=="object"&&n;s||o.data("bs.button",s=new t(this,i)),n=="toggle"?s.toggle():n&&s.setState(n)})}s=e.fn.button,e.fn.button=n,e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=s,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var s=e(t.target).closest(".btn");n.call(s,"toggle"),e(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),s.is("input,button")?s.trigger("focus"):s.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),+function(e){"use strict";var s,o,t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),this.options.pause=="hover"&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};t.VERSION="3.4.1",t.TRANSITION_DURATION=600,t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},t.prototype.keydown=function(e){if(/input|textarea/i.test(e.target.tagName))return;switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()},t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},t.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},t.prototype.getItemForDirection=function(e,t){var s,o,n=this.getItemIndex(t),i=e=="prev"&&n===0||e=="next"&&n==this.$items.length-1;return i&&!this.options.wrap?t:(s=e=="prev"?-1:1,o=(n+s)%this.$items.length,this.$items.eq(o))},t.prototype.to=function(e){var n=this,t=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(e>this.$items.length-1||e<0)return;return this.sliding?this.$element.one("slid.bs.carousel",function(){n.to(e)}):t==e?this.pause().cycle():this.slide(e>t?"next":"prev",this.$items.eq(e))},t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},t.prototype.next=function(){if(this.sliding)return;return this.slide("next")},t.prototype.prev=function(){if(this.sliding)return;return this.slide("prev")},t.prototype.slide=function(n,s){var r,c,l,d,a=this.$element.find(".item.active"),o=s||this.getItemForDirection(n,a),u=this.interval,i=n=="next"?"left":"right",h=this;if(o.hasClass("active"))return this.sliding=!1;if(r=o[0],c=e.Event("slide.bs.carousel",{relatedTarget:r,direction:i}),this.$element.trigger(c),c.isDefaultPrevented())return;return this.sliding=!0,u&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),l=e(this.$indicators.children()[this.getItemIndex(o)]),l&&l.addClass("active")),d=e.Event("slid.bs.carousel",{relatedTarget:r,direction:i}),e.support.transition&&this.$element.hasClass("slide")?(o.addClass(n),typeof o=="object"&&o.length&&o[0].offsetWidth,a.addClass(i),o.addClass(i),a.one("bsTransitionEnd",function(){o.removeClass([n,i].join(" ")).addClass("active"),a.removeClass(["active",i].join(" ")),h.sliding=!1,setTimeout(function(){h.$element.trigger(d)},0)}).emulateTransitionEnd(t.TRANSITION_DURATION)):(a.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(d)),u&&this.cycle(),this};function n(n){return this.each(function(){var o=e(this),s=o.data("bs.carousel"),i=e.extend({},t.DEFAULTS,o.data(),typeof n=="object"&&n),a=typeof n=="string"?n:i.slide;s||o.data("bs.carousel",s=new t(this,i)),typeof n=="number"?s.to(n):a?s[a]():i.interval&&s.pause().cycle()})}o=e.fn.carousel,e.fn.carousel=n,e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=o,this},s=function(t){var s,a,r,c,o=e(this),i=o.attr("href");if(i&&(i=i.replace(/.*(?=#[^\s]+$)/,"")),c=o.attr("data-target")||i,s=e(document).find(c),!s.hasClass("carousel"))return;r=e.extend({},s.data(),o.data()),a=o.attr("data-slide-to"),a&&(r.interval=!1),n.call(s,r),a&&s.data("bs.carousel").to(a),t.preventDefault()},e(document).on("click.bs.carousel.data-api","[data-slide]",s).on("click.bs.carousel.data-api","[data-slide-to]",s),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var t=e(this);n.call(t,t.data())})})}(jQuery),+function(e){"use strict";var o,t=function(n,s){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,s),this.$trigger=e('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};t.VERSION="3.4.1",t.TRANSITION_DURATION=350,t.DEFAULTS={toggle:!0},t.prototype.dimension=function(){var e=this.$element.hasClass("width");return e?"width":"height"},t.prototype.show=function(){if(this.transitioning||this.$element.hasClass("in"))return;var o,i,a,r,c,s=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(s&&s.length&&(i=s.data("bs.collapse"),i&&i.transitioning))return;if(a=e.Event("show.bs.collapse"),this.$element.trigger(a),a.isDefaultPrevented())return;if(s&&s.length&&(n.call(s,"hide"),i||s.data("bs.collapse",null)),o=this.dimension(),this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")},!e.support.transition)return r.call(this);c=e.camelCase(["scroll",o].join("-")),this.$element.one("bsTransitionEnd",e.proxy(r,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[o](this.$element[0][c])},t.prototype.hide=function(){if(this.transitioning||!this.$element.hasClass("in"))return;var n,s,o=e.Event("hide.bs.collapse");if(this.$element.trigger(o),o.isDefaultPrevented())return;if(n=this.dimension(),this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,s=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")},!e.support.transition)return s.call(this);this.$element[n](0).one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(t.TRANSITION_DURATION)},t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},t.prototype.getParent=function(){return e(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(t,n){var o=e(n);this.addAriaAndCollapsedClass(s(o),o)},this)).end()},t.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};function s(t){var n,s=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(document).find(s)}function n(n){return this.each(function(){var o=e(this),s=o.data("bs.collapse"),i=e.extend({},t.DEFAULTS,o.data(),typeof n=="object"&&n);!s&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),s||o.data("bs.collapse",s=new t(this,i)),typeof n=="string"&&s[n]()})}o=e.fn.collapse,e.fn.collapse=n,e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=o,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var i,a,r,o=e(this);o.attr("data-target")||t.preventDefault(),i=s(o),a=i.data("bs.collapse"),r=a?"toggle":o.data(),n.call(i,r)})}(jQuery),+function(e){"use strict";var i,a=".dropdown-backdrop",n='[data-toggle="dropdown"]',t=function(t){e(t).on("click.bs.dropdown",this.toggle)};t.VERSION="3.4.1";function s(t){var s,n=t.attr("data-target");return n||(n=t.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),s=n!=="#"?e(document).find(n):null,s&&s.length?s:t.parent()}function o(t){if(t&&t.which===3)return;e(a).remove(),e(n).each(function(){var o=e(this),n=s(o),i={relatedTarget:this};if(!n.hasClass("open"))return;if(t&&t.type=="click"&&/input|textarea/i.test(t.target.tagName)&&e.contains(n[0],t.target))return;if(n.trigger(t=e.Event("hide.bs.dropdown",i)),t.isDefaultPrevented())return;o.attr("aria-expanded","false"),n.removeClass("open").trigger(e.Event("hidden.bs.dropdown",i))})}t.prototype.toggle=function(t){var n,a,r,i=e(this);if(i.is(".disabled, :disabled"))return;if(n=s(i),r=n.hasClass("open"),o(),!r){if("ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",o),a={relatedTarget:this},n.trigger(t=e.Event("show.bs.dropdown",a)),t.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger(e.Event("shown.bs.dropdown",a))}return!1},t.prototype.keydown=function(t){if(!/(38|40|27|32)/.test(t.which)||/input|textarea/i.test(t.target.tagName))return;var o,i,a,c,l,r=e(this);if(t.preventDefault(),t.stopPropagation(),r.is(".disabled, :disabled"))return;if(a=s(r),c=a.hasClass("open"),!c&&t.which!=27||c&&t.which==27)return t.which==27&&a.find(n).trigger("focus"),r.trigger("click");if(l=" li:not(.disabled):visible a",i=a.find(".dropdown-menu"+l),!i.length)return;o=i.index(t.target),t.which==38&&o>0&&o--,t.which==40&&o<i.length-1&&o++,~o||(o=0),i.eq(o).trigger("focus")};function r(n){return this.each(function(){var s=e(this),o=s.data("bs.dropdown");o||s.data("bs.dropdown",o=new t(this)),typeof n=="string"&&o[n].call(s)})}i=e.fn.dropdown,e.fn.dropdown=r,e.fn.dropdown.Constructor=t,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=i,this},e(document).on("click.bs.dropdown.data-api",o).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",n,t.prototype.toggle).on("keydown.bs.dropdown.data-api",n,t.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",t.prototype.keydown)}(jQuery),+function(e){"use strict";var s,t=function(t,n){this.options=n,this.$body=e(document.body),this.$element=e(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,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};t.VERSION="3.4.1",t.TRANSITION_DURATION=300,t.BACKDROP_TRANSITION_DURATION=150,t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},t.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},t.prototype.show=function(n){var s=this,o=e.Event("show.bs.modal",{relatedTarget:n});if(this.$element.trigger(o),this.isShown||o.isDefaultPrevented())return;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"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){s.$element.one("mouseup.dismiss.bs.modal",function(t){e(t.target).is(s.$element)&&(s.ignoreBackdropClick=!0)})}),this.backdrop(function(){var o,i=e.support.transition&&s.$element.hasClass("fade");s.$element.parent().length||s.$element.appendTo(s.$body),s.$element.show().scrollTop(0),s.adjustDialog(),i&&s.$element[0].offsetWidth,s.$element.addClass("in"),s.enforceFocus(),o=e.Event("shown.bs.modal",{relatedTarget:n}),i?s.$dialog.one("bsTransitionEnd",function(){s.$element.trigger("focus").trigger(o)}).emulateTransitionEnd(t.TRANSITION_DURATION):s.$element.trigger("focus").trigger(o)})},t.prototype.hide=function(n){if(n&&n.preventDefault(),n=e.Event("hide.bs.modal"),this.$element.trigger(n),!this.isShown||n.isDefaultPrevented())return;this.isShown=!1,this.escape(),this.resize(),e(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"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal()},t.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(e){document!==e.target&&this.$element[0]!==e.target&&!this.$element.has(e.target).length&&this.$element.trigger("focus")},this))},t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy(function(e){e.which==27&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},t.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},t.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},t.prototype.backdrop=function(n){var s,o,a=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){if(s=e.support.transition&&i,this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}if(e.target!==e.currentTarget)return;this.options.backdrop=="static"?this.$element[0].focus():this.hide()},this)),s&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!n)return;s?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):n()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),o=function(){a.removeBackdrop(),n&&n()},e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):o()):n&&n()},t.prototype.handleUpdate=function(){this.adjustDialog()},t.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},t.prototype.checkScrollbar=function(){var t,e=window.innerWidth;e||(t=document.documentElement.getBoundingClientRect(),e=t.right-Math.abs(t.left)),this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},t.prototype.setScrollbar=function(){var t,n=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",t=this.scrollbarWidth,this.bodyIsOverflowing&&(this.$body.css("padding-right",n+t),e(this.fixedContent).each(function(n,s){var o=s.style.paddingRight,i=e(s).css("padding-right");e(s).data("padding-right",o).css("padding-right",parseFloat(i)+t+"px")}))},t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),e(this.fixedContent).each(function(t,n){var s=e(n).data("padding-right");e(n).removeData("padding-right"),n.style.paddingRight=s||""})},t.prototype.measureScrollbar=function(){var t,e=document.createElement("div");return e.className="modal-scrollbar-measure",this.$body.append(e),t=e.offsetWidth-e.clientWidth,this.$body[0].removeChild(e),t};function n(n,s){return this.each(function(){var i=e(this),o=i.data("bs.modal"),a=e.extend({},t.DEFAULTS,i.data(),typeof n=="object"&&n);o||i.data("bs.modal",o=new t(this,a)),typeof n=="string"?o[n](s):a.show&&o.show(s)})}s=e.fn.modal,e.fn.modal=n,e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=s,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var s=e(this),i=s.attr("href"),a=s.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,""),o=e(document).find(a),r=o.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(i)&&i},o.data(),s.data());s.is("a")&&t.preventDefault(),o.one("show.bs.modal",function(e){if(e.isDefaultPrevented())return;o.one("hidden.bs.modal",function(){s.is(":visible")&&s.trigger("focus")})}),n.call(o,r,this)})}(jQuery),+function(e){"use strict";var t,s,o=["sanitize","whiteList","sanitizeFn"],i=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],a=/^aria-[\w-]*$/i,r={"*":["class","dir","id","lang","role",a],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:[]},c=/^(?:(?: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 d(t,n){if(s=t.nodeName.toLowerCase(),e.inArray(s,n)!==-1)return e.inArray(s,i)===-1||Boolean(t.nodeValue.match(c)||t.nodeValue.match(l));for(var s,a=e(n).filter(function(e,t){return t instanceof RegExp}),o=0,r=a.length;o<r;o++)if(s.match(a[o]))return!0;return!1}function n(t,n,s){if(t.length===0)return t;if(s&&typeof s=="function")return s(t);if(!document.implementation||!document.implementation.createHTMLDocument)return t;a=document.implementation.createHTMLDocument("sanitization"),a.body.innerHTML=t;for(var o,i,a,r,l,h,m,f=e.map(n,function(e,t){return t}),u=e(a.body).find("*"),c=0,p=u.length;c<p;c++){if(o=u[c],l=o.nodeName.toLowerCase(),e.inArray(l,f)===-1){o.parentNode.removeChild(o);continue}for(r=e.map(o.attributes,function(e){return e}),h=[].concat(n["*"]||[],n[l]||[]),i=0,m=r.length;i<m;i++)d(r[i],h)||o.removeAttribute(r[i].nodeName)}return a.body.innerHTML}t=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)},t.VERSION="3.4.1",t.TRANSITION_DURATION=150,t.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:r},t.prototype.init=function(t,n,s){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(s),this.$viewport=this.options.viewport&&e(document).find(e.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,r,c,i=this.options.trigger.split(" "),a=i.length;a--;)o=i[a],o=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):o!="manual"&&(r=o=="hover"?"mouseenter":"focusin",c=o=="hover"?"mouseleave":"focusout",this.$element.on(r+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(c+"."+this.type,this.options.selector,e.proxy(this.leave,this)));this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){var i,s=this.$element.data();for(i in s)s.hasOwnProperty(i)&&e.inArray(i,o)!==-1&&delete s[i];return t=e.extend({},this.getDefaults(),s,t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t.sanitize&&(t.template=n(t.template,t.whiteList,t.sanitizeFn)),t},t.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,s){n[e]!=s&&(t[e]=s)}),t},t.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState[t.type=="focusin"?"focus":"hover"]=!0),n.tip().hasClass("in")||n.hoverState=="in"){n.hoverState="in";return}if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){n.hoverState=="in"&&n.show()},n.options.delay.show)},t.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},t.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState[t.type=="focusout"?"focus":"hover"]=!1),n.isInStateTrue())return;if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},t.prototype.show=function(){var n,s,o,i,a,r,c,l,d,u,h,f,p,g,m=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(m),p=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),m.isDefaultPrevented()||!p)return;o=this,s=this.tip(),u=this.getUID(this.type),this.setContent(),s.attr("id",u),this.$element.attr("aria-describedby",u),this.options.animation&&s.addClass("fade"),n=typeof this.options.placement=="function"?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,d=l.test(n),d&&(n=n.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(n).data("bs."+this.type,this),this.options.container?s.appendTo(e(document).find(this.options.container)):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type),i=this.getPosition(),r=s[0].offsetWidth,c=s[0].offsetHeight,d&&(f=n,a=this.getPosition(this.$viewport),n=n=="bottom"&&i.bottom+c>a.bottom?"top":n=="top"&&i.top-c<a.top?"bottom":n=="right"&&i.right+r>a.width?"left":n=="left"&&i.left-r<a.left?"right":n,s.removeClass(f).addClass(n)),g=this.getCalculatedOffset(n,i,r,c),this.applyPlacement(g,n),h=function(){var e=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,e=="out"&&o.leave(o)},e.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",h).emulateTransitionEnd(t.TRANSITION_DURATION):h()}},t.prototype.applyPlacement=function(t,n){var o,i,a,d,u,h,s=this.tip(),m=s[0].offsetWidth,r=s[0].offsetHeight,c=parseInt(s.css("margin-top"),10),l=parseInt(s.css("margin-left"),10);isNaN(c)&&(c=0),isNaN(l)&&(l=0),t.top+=c,t.left+=l,e.offset.setOffset(s[0],e.extend({using:function(e){s.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),s.addClass("in"),d=s[0].offsetWidth,i=s[0].offsetHeight,n=="top"&&i!=r&&(t.top=t.top+r-i),o=this.getViewportAdjustedDelta(n,t,d,i),o.left?t.left+=o.left:t.top+=o.top,a=/top|bottom/.test(n),u=a?o.left*2-m+d:o.top*2-r+i,h=a?"offsetWidth":"offsetHeight",s.offset(t),this.replaceArrow(u,s[0][h],a)},t.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},t.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=n(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")},t.prototype.hide=function(n){var s=this,o=e(this.$tip),i=e.Event("hide.bs."+this.type);function a(){s.hoverState!="in"&&o.detach(),s.$element&&s.$element.removeAttr("aria-describedby").trigger("hidden.bs."+s.type),n&&n()}if(this.$element.trigger(i),i.isDefaultPrevented())return;return o.removeClass("in"),e.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",a).emulateTransitionEnd(t.TRANSITION_DURATION):a(),this.hoverState=null,this},t.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&(!e.attr("aria-label")&&!e.text().trim()&&e.attr("aria-label",e.attr("title")),e.attr("data-original-title",e.attr("title")||"").attr("title",""))},t.prototype.hasContent=function(){return this.getTitle()},t.prototype.getPosition=function(t){t=t||this.$element;var i,a,r,c,s=t[0],o=s.tagName=="BODY",n=s.getBoundingClientRect();return n.width==null&&(n=e.extend({},n,{width:n.right-n.left,height:n.bottom-n.top})),i=window.SVGElement&&s instanceof window.SVGElement,a=o?{top:0,left:0}:i?null:t.offset(),r={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},c=o?{width:e(window).width(),height:e(window).height()}:null,e.extend({},n,r,c,a)},t.prototype.getCalculatedOffset=function(e,t,n,s){return e=="bottom"?{top:t.top+t.height,left:t.left+t.width/2-n/2}:e=="top"?{top:t.top-s,left:t.left+t.width/2-n/2}:e=="left"?{top:t.top+t.height/2-s/2,left:t.left-n}:{top:t.top+t.height/2-s/2,left:t.left+t.width}},t.prototype.getViewportAdjustedDelta=function(e,t,n,s){var o,a,r,c,l,d,i={top:0,left:0};return this.$viewport?(a=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport),/right|left/.test(e)?(r=t.top-a-o.scroll,c=t.top+a-o.scroll+s,r<o.top?i.top=o.top-r:c>o.top+o.height&&(i.top=o.top+o.height-c)):(l=t.left-a,d=t.left+a+n,l<o.left?i.left=o.left-l:d>o.right&&(i.left=o.left+o.width-d)),i):i},t.prototype.getTitle=function(){var t=this.$element,e=this.options,n=t.attr("data-original-title")||(typeof e.title=="function"?e.title.call(t[0]):e.title);return n},t.prototype.getUID=function(e){do e+=~~(Math.random()*1e6);while(document.getElementById(e))return e},t.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var n=this;t&&(n=e(t.currentTarget).data("bs."+this.type),n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},t.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null})},t.prototype.sanitizeHtml=function(e){return n(e,this.options.whiteList,this.options.sanitizeFn)};function u(n){return this.each(function(){var o=e(this),s=o.data("bs.tooltip"),i=typeof n=="object"&&n;if(!s&&/destroy|hide/.test(n))return;s||o.data("bs.tooltip",s=new t(this,i)),typeof n=="string"&&s[n]()})}s=e.fn.tooltip,e.fn.tooltip=u,e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=s,this}}(jQuery),+function(e){"use strict";var n,t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.4.1",t.DEFAULTS=e.extend({},e.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>'}),t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),t.prototype.constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var s,e=this.tip(),n=this.getTitle(),t=this.getContent();this.options.html?(s=typeof t,this.options.sanitize&&(n=this.sanitizeHtml(n),s==="string"&&(t=this.sanitizeHtml(t))),e.find(".popover-title").html(n),e.find(".popover-content").children().detach().end()[s==="string"?"html":"append"](t)):(e.find(".popover-title").text(n),e.find(".popover-content").children().detach().end().text(t)),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||(typeof e.content=="function"?e.content.call(t[0]):e.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};function s(n){return this.each(function(){var o=e(this),s=o.data("bs.popover"),i=typeof n=="object"&&n;if(!s&&/destroy|hide/.test(n))return;s||o.data("bs.popover",s=new t(this,i)),typeof n=="string"&&s[n]()})}n=e.fn.popover,e.fn.popover=s,e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),+function(e){"use strict";function t(n,s){this.$body=e(document.body),this.$scrollElement=e(e(n).is(document.body)?window:n),this.options=e.extend({},t.DEFAULTS,s),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}t.VERSION="3.4.1",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,n="offset",s=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",s=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var i=e(this),o=i.data("target")||i.attr("href"),t=/^#./.test(o)&&e(o);return t&&t.length&&t.is(":visible")&&[[t[n]().top+s,o]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},t.prototype.process=function(){var e,n=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),a=this.options.offset+i-this.$scrollElement.height(),t=this.offsets,s=this.targets,o=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),n>=a)return o!=(e=s[s.length-1])&&this.activate(e);if(o&&n<t[0])return this.activeTarget=null,this.clear();for(e=t.length;e--;)o!=s[e]&&n>=t[e]&&(t[e+1]===void 0||n<t[e+1])&&this.activate(s[e])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var s=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(s).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},t.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};function n(n){return this.each(function(){var o=e(this),s=o.data("bs.scrollspy"),i=typeof n=="object"&&n;s||o.data("bs.scrollspy",s=new t(this,i)),typeof n=="string"&&s[n]()})}var s=e.fn.scrollspy;e.fn.scrollspy=n,e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=s,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);n.call(t,t.data())})})}(jQuery),+function(e){"use strict";var n,o,t=function(t){this.element=e(t)};t.VERSION="3.4.1",t.TRANSITION_DURATION=150,t.prototype.show=function(){var s,o,i,a,t=this.element,r=t.closest("ul:not(.dropdown-menu)"),n=t.data("target");if(n||(n=t.attr("href"),n=n&&n.replace(/.*(?=#[^\s]*$)/,"")),t.parent("li").hasClass("active"))return;if(s=r.find(".active:last a"),o=e.Event("hide.bs.tab",{relatedTarget:t[0]}),i=e.Event("show.bs.tab",{relatedTarget:s[0]}),s.trigger(o),t.trigger(i),i.isDefaultPrevented()||o.isDefaultPrevented())return;a=e(document).find(n),this.activate(t.closest("li"),r),this.activate(a,a.parent(),function(){s.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:s[0]})})},t.prototype.activate=function(n,s,o){var i=s.find("> .active"),a=o&&e.support.transition&&(i.length&&i.hasClass("fade")||!!s.find("> .fade").length);function r(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}i.length&&a?i.one("bsTransitionEnd",r).emulateTransitionEnd(t.TRANSITION_DURATION):r(),i.removeClass("in")};function s(n){return this.each(function(){var o=e(this),s=o.data("bs.tab");s||o.data("bs.tab",s=new t(this)),typeof n=="string"&&s[n]()})}o=e.fn.tab,e.fn.tab=s,e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=o,this},n=function(t){t.preventDefault(),s.call(e(this),"show")},e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),+function(e){"use strict";var s,t=function(n,s){this.options=e.extend({},t.DEFAULTS,s);var o=this.options.target===t.DEFAULTS.target?e(this.options.target):e(document).find(this.options.target);this.$target=o.on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};t.VERSION="3.4.1",t.RESET="affix affix-top affix-bottom",t.DEFAULTS={offset:0,target:window},t.prototype.getState=function(e,t,n,s){var i,c,l,o=this.$target.scrollTop(),a=this.$element.offset(),r=this.$target.height();return n!=null&&this.affixed=="top"?o<n&&"top":this.affixed=="bottom"?n!=null?!(o+this.unpin<=a.top)&&"bottom":!(o+r<=e-s)&&"bottom":(i=this.affixed==null,c=i?o:a.top,l=i?r:t,n!=null&&o<=n?"top":s!=null&&c+l>=e-s&&"bottom")},t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var e=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-e},t.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var n,a,r,c=this.$element.height(),s=this.options.offset,i=s.top,o=s.bottom,l=Math.max(e(document).height(),e(document.body).height());if(typeof s!="object"&&(o=i=s),typeof i=="function"&&(i=s.top(this.$element)),typeof o=="function"&&(o=s.bottom(this.$element)),n=this.getState(l,c,i,o),this.affixed!=n){if(this.unpin!=null&&this.$element.css("top",""),a="affix"+(n?"-"+n:""),r=e.Event(a+".bs.affix"),this.$element.trigger(r),r.isDefaultPrevented())return;this.affixed=n,this.unpin=n=="bottom"?this.getPinnedOffset():null,this.$element.removeClass(t.RESET).addClass(a).trigger(a.replace("affix","affixed")+".bs.affix")}n=="bottom"&&this.$element.offset({top:l-c-o})};function n(n){return this.each(function(){var o=e(this),s=o.data("bs.affix"),i=typeof n=="object"&&n;s||o.data("bs.affix",s=new t(this,i)),typeof n=="string"&&s[n]()})}s=e.fn.affix,e.fn.affix=n,e.fn.affix.Constructor=t,e.fn.affix.noConflict=function(){return e.fn.affix=s,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var s=e(this),t=s.data();t.offset=t.offset||{},t.offsetBottom!=null&&(t.offset.bottom=t.offsetBottom),t.offsetTop!=null&&(t.offset.top=t.offsetTop),n.call(s,t)})})}(jQuery)