/*! bootstrap-modal-carousel 2014-03-07 */ !function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery","bootstrap"],a):a(window.jQuery)}(function(a){"use strict";a.extend(a.fn.carousel.Constructor.prototype,{fit:function(b){if(b||(b=a(".item.active",this.$element).height()),b!=this.$element.height()&&(a.support.transition?this.$element.animate({height:b}):this.$element.height(b),this.$element.trigger(a.Event("fit.bs.carousel",{height:b}))),1==this.$element.find(".item.active img").length){var c=this.$element.find(".item.active img"),d={left:c.position().left,right:c.position().left};a.support.transition?this.$element.find(".carousel-caption").animate(d):this.$element.find(".carousel-caption").css(d)}}}),a(document).on("slide.bs.carousel",".carousel.carousel-fit",function(b){var c=a(this).data("bs.carousel");c.$element.height(a(".item.active",c.$element).height());var d=a(".item.active",c.$element)["left"==b.direction?"next":"prev"]();d.length||(d=a(".item:"+("left"==b.direction?"first":"last")+"-child",c.$element));var e;e=d.height(),c.fit(e)}).on("slid.bs.carousel",".carousel.carousel-fit",function(){var b=a(this).data("bs.carousel");b.fit()})}),function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery","bootstrap"],a):a(window.jQuery)}(function(a){"use strict";function b(b,c){c||(c=b.height());var d=b.parents(".modal:first"),e=!d.hasClass("force-fullscreen"),f=d.height();e&&(f-=a(".modal-header",d).height(),f-=a(".modal-footer",d).height()),a.support.transition&&b.hasClass("slide")?b.animate({marginTop:(f-c)/2}):b.css({marginTop:(f-c)/2})}a(document).on("shown.bs.modal",".modal",function(){a(".carousel",this).length&&a(".carousel",this).data("bs.carousel").fit()}).on("shown.bs.modal",".modal.modal-fullscreen",function(){a(".carousel",this).length&&b(a(".carousel",this).data("bs.carousel").$element)}).on("fit.bs.carousel",".modal.modal-fullscreen .carousel",function(c){b(a(this).data("bs.carousel").$element,c.height)}).on("replaced.bs.local",".carousel",function(){a(this).css("margin-top",0),a(this).hasClass("carousel-fit")&&a(this).data("bs.carousel").fit()})}),function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery","bootstrap"],a):a(window.jQuery)}(function(a){"use strict";a.extend(a.fn.modal.Constructor.prototype,{local:function(a){this.options.local=a},detach:function(){a(this.options.local).trigger(a.Event("detach.bs.local")),this.$placeholder||(this.$placeholder=a("
").addClass("hidden").html(this.$element.find(".modal-body").html()).insertBefore(a(this.options.local))),this.$local=a(this.options.local).detach(),this.$element.find(".modal-body").empty().append(this.$local),a(this.options.local).trigger(a.Event("detached.bs.local"))},replace:function(){a(this.options.local).trigger(a.Event("replace.bs.local")),this.$local.detach().insertAfter(this.$placeholder),this.$element.find(".modal-body").html(this.$placeholder.html()),a(this.options.local).trigger(a.Event("replaced.bs.local"))}}),a(document).on("show.bs.modal",".modal",function(){var b=a(this).data("bs.modal");b.options.local&&b.detach()}).on("hidden.bs.modal",".modal",function(){var b=a(this).data("bs.modal");b.options.local&&b.replace()}).on("click.bs.modal.data-api",'[data-toggle="modal"][data-local]',function(){a(a(this).attr("data-target")).modal("local",a(this).data("local"))})});