diff --git a/js/dist/phpList_ui_bootlist.js b/js/dist/phpList_ui_bootlist.js index 82e1d6c..c6286c4 100644 --- a/js/dist/phpList_ui_bootlist.js +++ b/js/dist/phpList_ui_bootlist.js @@ -2222,7 +2222,7 @@ $('body.fixed li.list').each(function(){ $('.home .view-log span.listingname a.listingname').prepend('').removeClass('listingname'); /*buttons*/ $('.home span.listingname a').addClass('btn btn-xs btn-info'); - $('span.listingelement a, div.configEdit a').not('body.members a.listingelement, .home span.listingelement a,a[name]').addClass('btn btn-xs btn-primary'); + $('.listingelement a.del, .listingelement a.button, .listingelement a.opendialog, .listingelement a.confirm, .listingelement a.ajaxable, body.mclicks .listingelement a, body.mviews .listingelement a, body.uclicks .listingelement a, .configEdit a').addClass('btn btn-xs btn-primary'); $('span.edit a, .edit-list a, .configEdit a').html(''); $('.send-list a').html(''); $('.add_member a').html(''); @@ -2281,11 +2281,6 @@ $('body.fixed li.list').each(function(){ }); $('a.btn-xs').attr({'data-toggle':'tooltip'}); - /* remove button style to any link if developer ads "myclass" to parent element */ - $('.myclass a').removeClass(function (index, css) { - return (css.match (/\bbt\S+/g) || []).join(' '); // removes anything that starts with "bt" - }); - /* show page after loading */ $('body').removeClass('invisible'); diff --git a/js/dist/phpList_ui_bootlist.min.js b/js/dist/phpList_ui_bootlist.min.js index da5e2a8..3e53ee9 100644 --- a/js/dist/phpList_ui_bootlist.min.js +++ b/js/dist/phpList_ui_bootlist.min.js @@ -1,6 +1,6 @@ -/*! phpList_ui_bootlist 24-12-2017 */ +/*! phpList_ui_bootlist 26-12-2017 */ function openHelpDialog(a){$("#dialog").html('
");var b=urlParameter("page",a);a=a.replace(/page=/,"origpage="),$("#dialog .modal-content").load(a+"&ajaxed=true&page=pageaction&action="+b),$("#dialog #mymodal").modal("show")}function initialiseTranslation(a){$("#dialog").html(' "),$("#dialog .modal-content").load("./?ajaxed=true&page=pageaction&action=initlanguage"),$("#dialog #mymodaltrans").modal("show"),$("#dialog #mymodaltrans").bind("DOMSubtreeModified",function(){$("#dialog #mymodaltrans").modal("hide")})}!function(a){"use strict";a.fn.toggleText=function(b,c){a.isFunction(b)&&(c=b,b=null);var d={attr:"data-toggle-text",defaultText:"",toggleText:"",toggleClass:"",force:null};return b=a.extend({},d,b),this.each(function(){var d,e,f,g,h,i=a(this);d=a.isFunction(c)&&c,e=i.attr(b.attr)||null,f=e&&e.indexOf("|")!==-1?e.split("|"):[],h=b.force&&("default"===b.force?0:1),b.defaultText&&b.toggleText&&(f[0]=b.toggleText,f[1]=b.defaultText),f&&2===f.length&&(g=b.force?a.trim(f[h]):i.text()===a.trim(f[0])?a.trim(f[1]):a.trim(f[0]),i.text(g).toggleClass(b.toggleClass),d&&d.call(this))})}}(jQuery),function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){"use strict";function b(b){var c=[{re:/[\xC0-\xC6]/g,ch:"A"},{re:/[\xE0-\xE6]/g,ch:"a"},{re:/[\xC8-\xCB]/g,ch:"E"},{re:/[\xE8-\xEB]/g,ch:"e"},{re:/[\xCC-\xCF]/g,ch:"I"},{re:/[\xEC-\xEF]/g,ch:"i"},{re:/[\xD2-\xD6]/g,ch:"O"},{re:/[\xF2-\xF6]/g,ch:"o"},{re:/[\xD9-\xDC]/g,ch:"U"},{re:/[\xF9-\xFC]/g,ch:"u"},{re:/[\xC7-\xE7]/g,ch:"c"},{re:/[\xD1]/g,ch:"N"},{re:/[\xF1]/g,ch:"n"}];return a.each(c,function(){b=b?b.replace(this.re,this.ch):""}),b}function c(b){var c=arguments,d=b;[].shift.apply(c);var e,f=this.each(function(){var b=a(this);if(b.is("select")){var f=b.data("selectpicker"),g="object"==typeof d&&d;if(f){if(g)for(var h in g)g.hasOwnProperty(h)&&(f.options[h]=g[h])}else{var i=a.extend({},k.DEFAULTS,a.fn.selectpicker.defaults||{},b.data(),g);i.template=a.extend({},k.DEFAULTS.template,a.fn.selectpicker.defaults?a.fn.selectpicker.defaults.template:{},b.data().template,g.template),b.data("selectpicker",f=new k(this,i))}"string"==typeof d&&(e=f[d]instanceof Function?f[d].apply(f,c):f.options[d])}});return"undefined"!=typeof e?e:f}String.prototype.includes||!function(){var a={}.toString,b=function(){try{var a={},b=Object.defineProperty,c=b(a,a,a)&&b}catch(a){}return c}(),c="".indexOf,d=function(b){if(null==this)throw new TypeError;var d=String(this);if(b&&"[object RegExp]"==a.call(b))throw new TypeError;var e=d.length,f=String(b),g=f.length,h=arguments.length>1?arguments[1]:void 0,i=h?Number(h):0;i!=i&&(i=0);var j=Math.min(Math.max(i,0),e);return!(g+j>e)&&c.call(d,f,i)!=-1};b?b(String.prototype,"includes",{value:d,configurable:!0,writable:!0}):String.prototype.includes=d}(),String.prototype.startsWith||!function(){var a=function(){try{var a={},b=Object.defineProperty,c=b(a,a,a)&&b}catch(a){}return c}(),b={}.toString,c=function(a){if(null==this)throw new TypeError;var c=String(this);if(a&&"[object RegExp]"==b.call(a))throw new TypeError;var d=c.length,e=String(a),f=e.length,g=arguments.length>1?arguments[1]:void 0,h=g?Number(g):0;h!=h&&(h=0);var i=Math.min(Math.max(h,0),d);if(f+i>d)return!1;for(var j=-1;++j
"),$(".missing").addClass("text-danger"),$("body.bouncerules p.information").addClass("well text-right"),$(".memberCount").addClass("text-success"),$(".blacklistedCount").addClass("text-danger"),$(".unconfirmedCount").addClass("text-warning"),$(".home .send-campaign span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .manage-campaigns span.listingname a.listingname, .home .configure span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .manage-users span.listingname a.listingname, .home .list-users span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .view-statistics span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .manage-lists span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .import-users span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .export-users span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .reconcileusers span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .configure-attributes span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .custom-attribute span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .spage span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .admins span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .adminattributes span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .send-message span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .templates span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .list-all-msg span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .processqueue span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .processbounces span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .bounces span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .plugin span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .setup span.listingname a.listingname,.home .config-link span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .upgrade span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .dbcheck span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .view-log span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home span.listingname a").addClass("btn btn-xs btn-info"),$("span.listingelement a, div.configEdit a").not("body.members a.listingelement, .home span.listingelement a,a[name]").addClass("btn btn-xs btn-primary"),$("span.edit a, .edit-list a, .configEdit a").html(''),$(".send-list a").html(''),$(".add_member a").html(''),$("span.viewusers a").html(''),$("span.delete a, a.del, a[title=Del]").html(''),$("span.view a, a.opendialog span.view").html(''),$("span.marksent a").html(''),$("span.resend a").html(''),$("span.stats a").html(''),$("span.suspend a").html(''),$("a.hide").html("x"),$("a.hide").addClass("close"),$("a.hide.close").removeClass("hide"),$("a.helpdialog").html(''),$("#prev.prevtab").replaceWith(''),$("#next.nexttab").replaceWith(''),$(".step-nav").first().addClass("pull-right").css("margin-top","-40px"),$(".step-nav .back").html(''),$(".step-nav .next").html(''),$(".import #wrapp ul, .system #wrapp ul.dashboard_button, .usermgt #wrapp ul, ul.navigation_list").addClass("nav nav-pills nav-stacked"),$(".updatepluginbutton").addClass("btn-xs"),$("body.initialise #continuesetup .btn").addClass("btn-primary"),$("span.yes").addClass("glyphicon glyphicon-ok text-success").empty(),$("span.no").addClass("glyphicon glyphicon-ban-circle text-danger").empty(),$(".opendialog").each(function(a,b){var c=$(this).attr("href");$(this).attr({"data-target":"#mymodal"+a,"data-toggle":"modal",href:c+"&embed=yes&omitall=yes"}),$("#footer").append(' ')}),$("body.userhistory #subscription .content, body.statsoverview .content, body.domainstats .content,body.dbcheck .content,body.bouncerules .content,body.plugins .content,body.eventlog .content").first().addClass("table-responsive"),$("table").not("table.table").attr("border",null),$(".listingelement table,body.dbcheck table, table.spageeditListing").not("table.table").addClass("table-condensed"),$("table.spageeditListing tr:first-child,table.attributeSet tr:first-child").addClass("info"),$("table.listing, table.templateForm, table.importadmin, table.import1,table.importcsvMain,table.userAdd").not(".home table.listing,table.table").addClass("table-striped"),$("table.messageView, body.about table.about").not("table.table").addClass("table-bordered"),$("table.setupMain").not("table.table").addClass("table-hover"),$("table.spageeditListing").not("table.table").wrap("table-responsive"),$("table").not("table.table").each(function(){var a=$(this).attr("bgcolor");$(this).css({"background-color":a})}),$("table").not(".home table, table.loginPassUpdate, table.table").addClass("table"),$("#newsfeed ul").addClass("well list-unstyled"),$(function(){$('[data-toggle="tooltip"]').tooltip()}),$("a.btn-xs").attr({"data-toggle":"tooltip"}),$(".myclass a").removeClass(function(a,b){return(b.match(/\bbt\S+/g)||[]).join(" ")}),$("body").removeClass("invisible")};if($(window).load(function(){$("body").hasClass("invisible")&&myfunction()}),$("#dialog").not("body.templates #dialog").on("shown.bs.modal",myfunction),$(document).ajaxComplete(function(){$("table").hasClass("table")||$(".clearfix").hasClass("break")||myfunction()}),$(".selectpicker").selectpicker(),$.fn.progressbar=function(a){$("body").hasClass("invisible")&&myfunction(),$(".progress").show(),"destroy"==a&&$(".progress").hide()},$.fn.updateProgress=function(){if($("body").hasClass("invisible")&&myfunction(),$(".progress").show(),$.isNumeric(arguments[0]))var a=parseInt(arguments[1]),b=parseInt(arguments[0]);else var c=arguments[0].split(",")||{},a=parseInt(c[1]),b=parseInt(c[0]);var d;d=0==a?0:parseInt(b/a*100),$("#progresscount").html(b+" / "+a),$("#progresscount").show(),$("#progressbar").css("width",d+"%").attr({"aria-valuenow":d,"aria-valuemax":b}),d>=100&&$(".progress").hide()},$(window).focus(function(){"100"==$("#progressbar").attr("aria-valuenow")&&$(".progress").hide()}),$("#stopqueue").click(function(){$(".progress").hide()}),$(document).ready(function(){if($("body").hasClass("configure")){var a=location.hash;console.log(a),setTimeout(function(){$("html, body").animate({scrollTop:$(a).offset().top},1e3)},1e3)}$("body").click(function(a){if($(window).on("beforeunload",function(){if(0==b&&(b=1,$("#sendmessageform").length>0||$(".configEdit .configValue").length>0&&window.location.href.indexOf("id=list_categories")==-1))return"Are you sure you want to leave? "}),"content"==a.target.id||$(a.target).parents("#content").size()||"modal-open"==a.target.id||$(a.target).parents(".modal-open").size()||$(a.target).parents(".configValue").size())var b=1;else b=0}),$("#dontsaveitem_list_categories").click(function(){window.location.href.indexOf("id=list_categories")>-1&&location.reload()})}),"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]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(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.6",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.6",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.6",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.6",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"),e.removeClass("open").trigger(a.Event("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.6",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(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&&j
"),$(".missing").addClass("text-danger"),$("body.bouncerules p.information").addClass("well text-right"),$(".memberCount").addClass("text-success"),$(".blacklistedCount").addClass("text-danger"),$(".unconfirmedCount").addClass("text-warning"),$(".home .send-campaign span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .manage-campaigns span.listingname a.listingname, .home .configure span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .manage-users span.listingname a.listingname, .home .list-users span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .view-statistics span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .manage-lists span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .import-users span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .export-users span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .reconcileusers span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .configure-attributes span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .custom-attribute span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .spage span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .admins span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .adminattributes span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .send-message span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .templates span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .list-all-msg span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .processqueue span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .processbounces span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .bounces span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .plugin span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .setup span.listingname a.listingname,.home .config-link span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .upgrade span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .dbcheck span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home .view-log span.listingname a.listingname").prepend('').removeClass("listingname"),$(".home span.listingname a").addClass("btn btn-xs btn-info"),$(".listingelement a.del, .listingelement a.button, .listingelement a.opendialog, .listingelement a.confirm, .listingelement a.ajaxable, body.mclicks .listingelement a, body.mviews .listingelement a, body.uclicks .listingelement a, .configEdit a").addClass("btn btn-xs btn-primary"),$("span.edit a, .edit-list a, .configEdit a").html(''),$(".send-list a").html(''),$(".add_member a").html(''),$("span.viewusers a").html(''),$("span.delete a, a.del, a[title=Del]").html(''),$("span.view a, a.opendialog span.view").html(''),$("span.marksent a").html(''),$("span.resend a").html(''),$("span.stats a").html(''),$("span.suspend a").html(''),$("a.hide").html("x"),$("a.hide").addClass("close"),$("a.hide.close").removeClass("hide"),$("a.helpdialog").html(''),$("#prev.prevtab").replaceWith(''),$("#next.nexttab").replaceWith(''),$(".step-nav").first().addClass("pull-right").css("margin-top","-40px"),$(".step-nav .back").html(''),$(".step-nav .next").html(''),$(".import #wrapp ul, .system #wrapp ul.dashboard_button, .usermgt #wrapp ul, ul.navigation_list").addClass("nav nav-pills nav-stacked"),$(".updatepluginbutton").addClass("btn-xs"),$("body.initialise #continuesetup .btn").addClass("btn-primary"),$("span.yes").addClass("glyphicon glyphicon-ok text-success").empty(),$("span.no").addClass("glyphicon glyphicon-ban-circle text-danger").empty(),$(".opendialog").each(function(a,b){var c=$(this).attr("href");$(this).attr({"data-target":"#mymodal"+a,"data-toggle":"modal",href:c+"&embed=yes&omitall=yes"}),$("#footer").append(' ')}),$("body.userhistory #subscription .content, body.statsoverview .content, body.domainstats .content,body.dbcheck .content,body.bouncerules .content,body.plugins .content,body.eventlog .content").first().addClass("table-responsive"),$("table").not("table.table").attr("border",null),$(".listingelement table,body.dbcheck table, table.spageeditListing").not("table.table").addClass("table-condensed"),$("table.spageeditListing tr:first-child,table.attributeSet tr:first-child").addClass("info"),$("table.listing, table.templateForm, table.importadmin, table.import1,table.importcsvMain,table.userAdd").not(".home table.listing,table.table").addClass("table-striped"),$("table.messageView, body.about table.about").not("table.table").addClass("table-bordered"),$("table.setupMain").not("table.table").addClass("table-hover"),$("table.spageeditListing").not("table.table").wrap("table-responsive"),$("table").not("table.table").each(function(){var a=$(this).attr("bgcolor");$(this).css({"background-color":a})}),$("table").not(".home table, table.loginPassUpdate, table.table").addClass("table"),$("#newsfeed ul").addClass("well list-unstyled"),$(function(){$('[data-toggle="tooltip"]').tooltip()}),$("a.btn-xs").attr({"data-toggle":"tooltip"}),$("body").removeClass("invisible")};if($(window).load(function(){$("body").hasClass("invisible")&&myfunction()}),$("#dialog").not("body.templates #dialog").on("shown.bs.modal",myfunction),$(document).ajaxComplete(function(){$("table").hasClass("table")||$(".clearfix").hasClass("break")||myfunction()}),$(".selectpicker").selectpicker(),$.fn.progressbar=function(a){$("body").hasClass("invisible")&&myfunction(),$(".progress").show(),"destroy"==a&&$(".progress").hide()},$.fn.updateProgress=function(){if($("body").hasClass("invisible")&&myfunction(),$(".progress").show(),$.isNumeric(arguments[0]))var a=parseInt(arguments[1]),b=parseInt(arguments[0]);else var c=arguments[0].split(",")||{},a=parseInt(c[1]),b=parseInt(c[0]);var d;d=0==a?0:parseInt(b/a*100),$("#progresscount").html(b+" / "+a),$("#progresscount").show(),$("#progressbar").css("width",d+"%").attr({"aria-valuenow":d,"aria-valuemax":b}),d>=100&&$(".progress").hide()},$(window).focus(function(){"100"==$("#progressbar").attr("aria-valuenow")&&$(".progress").hide()}),$("#stopqueue").click(function(){$(".progress").hide()}),$(document).ready(function(){if($("body").hasClass("configure")){var a=location.hash;console.log(a),setTimeout(function(){$("html, body").animate({scrollTop:$(a).offset().top},1e3)},1e3)}$("body").click(function(a){if($(window).on("beforeunload",function(){if(0==b&&(b=1,$("#sendmessageform").length>0||$(".configEdit .configValue").length>0&&window.location.href.indexOf("id=list_categories")==-1))return"Are you sure you want to leave? "}),"content"==a.target.id||$(a.target).parents("#content").size()||"modal-open"==a.target.id||$(a.target).parents(".modal-open").size()||$(a.target).parents(".configValue").size())var b=1;else b=0}),$("#dontsaveitem_list_categories").click(function(){window.location.href.indexOf("id=list_categories")>-1&&location.reload()})}),"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]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(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.6",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.6",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.6",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.6",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"),e.removeClass("open").trigger(a.Event("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.6",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(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&&j