beautiful_scaffold 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,4 +3,4 @@
3
3
  * Copyright 2012 Twitter, Inc.
4
4
  * http://www.apache.org/licenses/LICENSE-2.0.txt
5
5
  */
6
- !function(a){a(function(){"use strict",a.support.transition=function(){var a=function(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"},c;for(c in b)if(a.style[c]!==undefined)return b[c]}();return a&&{end:a}}()})}(window.jQuery),!function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function f(){e.trigger("closed").remove()}var c=a(this),d=c.attr("data-target"),e;d||(d=c.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),e=a(d),b&&b.preventDefault(),e.length||(e=c.hasClass("alert")?c:c.parent()),e.trigger(b=a.Event("close"));if(b.isDefaultPrevented())return;e.removeClass("in"),a.support.transition&&e.hasClass("fade")?e.on(a.support.transition.end,f):f()},a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("alert");e||d.data("alert",e=new c(this)),typeof b=="string"&&e[b].call(d)})},a.fn.alert.Constructor=c,a(function(){a("body").on("click.alert.data-api",b,c.prototype.close)})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.button.defaults,c)};b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.data(),e=c.is("input")?"val":"html";a+="Text",d.resetText||c.data("resetText",c[e]()),c[e](d[a]||this.options[a]),setTimeout(function(){a=="loadingText"?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.parent('[data-toggle="buttons-radio"]');a&&a.find(".active").removeClass("active"),this.$element.toggleClass("active")},a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("button"),f=typeof c=="object"&&c;e||d.data("button",e=new b(this,f)),c=="toggle"?e.toggle():c&&e.setState(c)})},a.fn.button.defaults={loadingText:"loading..."},a.fn.button.Constructor=b,a(function(){a("body").on("click.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle")})})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=c,this.options.slide&&this.slide(this.options.slide),this.options.pause=="hover"&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.prototype={cycle:function(b){return b||(this.paused=!1),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},to:function(b){var c=this.$element.find(".active"),d=c.parent().children(),e=d.index(c),f=this;if(b>d.length-1||b<0)return;return this.sliding?this.$element.one("slid",function(){f.to(b)}):e==b?this.pause().cycle():this.slide(b>e?"next":"prev",a(d[b]))},pause:function(a){return a||(this.paused=!0),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(b,c){var d=this.$element.find(".active"),e=c||d[b](),f=this.interval,g=b=="next"?"left":"right",h=b=="next"?"first":"last",i=this,j=a.Event("slide");this.sliding=!0,f&&this.pause(),e=e.length?e:this.$element.find(".item")[h]();if(e.hasClass("active"))return;if(a.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(j);if(j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),this.$element.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)})}else{this.$element.trigger(j);if(j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return f&&this.cycle(),this}},a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("carousel"),f=a.extend({},a.fn.carousel.defaults,typeof c=="object"&&c);e||d.data("carousel",e=new b(this,f)),typeof c=="number"?e.to(c):typeof c=="string"||(c=f.slide)?e[c]():f.interval&&e.cycle()})},a.fn.carousel.defaults={interval:5e3,pause:"hover"},a.fn.carousel.Constructor=b,a(function(){a("body").on("click.carousel.data-api","[data-slide]",function(b){var c=a(this),d,e=a(c.attr("data-target")||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,"")),f=!e.data("modal")&&a.extend({},e.data(),c.data());e.carousel(f),b.preventDefault()})})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.collapse.defaults,c),this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.prototype={constructor:b,dimension:function(){var a=this.$element.hasClass("width");return a?"width":"height"},show:function(){var b,c,d,e;if(this.transitioning)return;b=this.dimension(),c=a.camelCase(["scroll",b].join("-")),d=this.$parent&&this.$parent.find("> .accordion-group > .in");if(d&&d.length){e=d.data("collapse");if(e&&e.transitioning)return;d.collapse("hide"),e||d.data("collapse",null)}this.$element[b](0),this.transition("addClass",a.Event("show"),"shown"),this.$element[b](this.$element[0][c])},hide:function(){var b;if(this.transitioning)return;b=this.dimension(),this.reset(this.$element[b]()),this.transition("removeClass",a.Event("hide"),"hidden"),this.$element[b](0)},reset:function(a){var b=this.dimension();return this.$element.removeClass("collapse")[b](a||"auto")[0].offsetWidth,this.$element[a!==null?"addClass":"removeClass"]("collapse"),this},transition:function(b,c,d){var e=this,f=function(){c.type=="show"&&e.reset(),e.transitioning=0,e.$element.trigger(d)};this.$element.trigger(c);if(c.isDefaultPrevented())return;this.transitioning=1,this.$element[b]("in"),a.support.transition&&this.$element.hasClass("collapse")?this.$element.one(a.support.transition.end,f):f()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}},a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("collapse"),f=typeof c=="object"&&c;e||d.data("collapse",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.collapse.defaults={toggle:!0},a.fn.collapse.Constructor=b,a(function(){a("body").on("click.collapse.data-api","[data-toggle=collapse]",function(b){var c=a(this),d,e=c.attr("data-target")||b.preventDefault()||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""),f=a(e).data("collapse")?"toggle":c.data();a(e).collapse(f)})})}(window.jQuery),!function(a){function d(){a(b).parent().removeClass("open")}"use strict";var b='[data-toggle="dropdown"]',c=function(b){var c=a(b).on("click.dropdown.data-api",this.toggle);a("html").on("click.dropdown.data-api",function(){c.parent().removeClass("open")})};c.prototype={constructor:c,toggle:function(b){var c=a(this),e,f,g;if(c.is(".disabled, :disabled"))return;return f=c.attr("data-target"),f||(f=c.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,"")),e=a(f),e.length||(e=c.parent()),g=e.hasClass("open"),d(),g||e.toggleClass("open"),!1}},a.fn.dropdown=function(b){return this.each(function(){var d=a(this),e=d.data("dropdown");e||d.data("dropdown",e=new c(this)),typeof b=="string"&&e[b].call(d)})},a.fn.dropdown.Constructor=c,a(function(){a("html").on("click.dropdown.data-api",d),a("body").on("click.dropdown",".dropdown form",function(a){a.stopPropagation()}).on("click.dropdown.data-api",b,c.prototype.toggle)})}(window.jQuery),!function(a){function c(){var b=this,c=setTimeout(function(){b.$element.off(a.support.transition.end),d.call(b)},500);this.$element.one(a.support.transition.end,function(){clearTimeout(c),d.call(b)})}function d(a){this.$element.hide().trigger("hidden"),e.call(this)}function e(b){var c=this,d=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var e=a.support.transition&&d;this.$backdrop=a('<div class="modal-backdrop '+d+'" />').appendTo(document.body),this.options.backdrop!="static"&&this.$backdrop.click(a.proxy(this.hide,this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),e?this.$backdrop.one(a.support.transition.end,b):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,a.proxy(f,this)):f.call(this)):b&&b()}function f(){this.$backdrop.remove(),this.$backdrop=null}function g(){var b=this;this.isShown&&this.options.keyboard?a(document).on("keyup.dismiss.modal",function(a){a.which==27&&b.hide()}):this.isShown||a(document).off("keyup.dismiss.modal")}"use strict";var b=function(b,c){this.options=c,this.$element=a(b).delegate('[data-dismiss="modal"]',"click.dismiss.modal",a.proxy(this.hide,this))};b.prototype={constructor:b,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var b=this,c=a.Event("show");this.$element.trigger(c);if(this.isShown||c.isDefaultPrevented())return;a("body").addClass("modal-open"),this.isShown=!0,g.call(this),e.call(this,function(){var c=a.support.transition&&b.$element.hasClass("fade");b.$element.parent().length||b.$element.appendTo(document.body),b.$element.show(),c&&b.$element[0].offsetWidth,b.$element.addClass("in"),c?b.$element.one(a.support.transition.end,function(){b.$element.trigger("shown")}):b.$element.trigger("shown")})},hide:function(b){b&&b.preventDefault();var e=this;b=a.Event("hide"),this.$element.trigger(b);if(!this.isShown||b.isDefaultPrevented())return;this.isShown=!1,a("body").removeClass("modal-open"),g.call(this),this.$element.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?c.call(this):d.call(this)}},a.fn.modal=function(c){return this.each(function(){var d=a(this),e=d.data("modal"),f=a.extend({},a.fn.modal.defaults,d.data(),typeof c=="object"&&c);e||d.data("modal",e=new b(this,f)),typeof c=="string"?e[c]():f.show&&e.show()})},a.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},a.fn.modal.Constructor=b,a(function(){a("body").on("click.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d,e=a(c.attr("data-target")||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("modal")?"toggle":a.extend({},e.data(),c.data());b.preventDefault(),e.modal(f)})})}(window.jQuery),!function(a){"use strict";var b=function(a,b){this.init("tooltip",a,b)};b.prototype={constructor:b,init:function(b,c,d){var e,f;this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.enabled=!0,this.options.trigger!="manual"&&(e=this.options.trigger=="hover"?"mouseenter":"focus",f=this.options.trigger=="hover"?"mouseleave":"blur",this.$element.on(e,this.options.selector,a.proxy(this.enter,this)),this.$element.on(f,this.options.selector,a.proxy(this.leave,this))),this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(b){return b=a.extend({},a.fn[this.type].defaults,b,this.$element.data()),b.delay&&typeof b.delay=="number"&&(b.delay={show:b.delay,hide:b.delay}),b},enter:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);if(!c.options.delay||!c.options.delay.show)return c.show();clearTimeout(this.timeout),c.hoverState="in",this.timeout=setTimeout(function(){c.hoverState=="in"&&c.show()},c.options.delay.show)},leave:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!c.options.delay||!c.options.delay.hide)return c.hide();c.hoverState="out",this.timeout=setTimeout(function(){c.hoverState=="out"&&c.hide()},c.options.delay.hide)},show:function(){var a,b,c,d,e,f,g;if(this.hasContent()&&this.enabled){a=this.tip(),this.setContent(),this.options.animation&&a.addClass("fade"),f=typeof this.options.placement=="function"?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,b=/in/.test(f),a.remove().css({top:0,left:0,display:"block"}).appendTo(b?this.$element:document.body),c=this.getPosition(b),d=a[0].offsetWidth,e=a[0].offsetHeight;switch(b?f.split(" ")[1]:f){case"bottom":g={top:c.top+c.height,left:c.left+c.width/2-d/2};break;case"top":g={top:c.top-e,left:c.left+c.width/2-d/2};break;case"left":g={top:c.top+c.height/2-e/2,left:c.left-d};break;case"right":g={top:c.top+c.height/2-e/2,left:c.left+c.width}}a.css(g).addClass(f).addClass("in")}},isHTML:function(a){return typeof a!="string"||a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3||/^(?:[^<]*<[\w\W]+>[^>]*$)/.exec(a)},setContent:function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.isHTML(b)?"html":"text"](b),a.removeClass("fade in top bottom left right")},hide:function(){function d(){var b=setTimeout(function(){c.off(a.support.transition.end).remove()},500);c.one(a.support.transition.end,function(){clearTimeout(b),c.remove()})}var b=this,c=this.tip();c.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d():c.remove()},fixTitle:function(){var a=this.$element;(a.attr("title")||typeof a.attr("data-original-title")!="string")&&a.attr("data-original-title",a.attr("title")||"").removeAttr("title")},hasContent:function(){return this.getTitle()},getPosition:function(b){return a.extend({},b?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||(typeof c.title=="function"?c.title.call(b[0]):c.title),a},tip:function(){return this.$tip=this.$tip||a(this.options.template)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}},a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("tooltip"),f=typeof c=="object"&&c;e||d.data("tooltip",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover",title:"",delay:0}}(window.jQuery),!function(a){"use strict";var b=function(a,b){this.init("popover",a,b)};b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype,{constructor:b,setContent:function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.isHTML(b)?"html":"text"](b),a.find(".popover-content > *")[this.isHTML(c)?"html":"text"](c),a.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var a,b=this.$element,c=this.options;return a=b.attr("data-content")||(typeof c.content=="function"?c.content.call(b[0]):c.content),a},tip:function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip}}),a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("popover"),f=typeof c=="object"&&c;e||d.data("popover",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.defaults=a.extend({},a.fn.tooltip.defaults,{placement:"right",content:"",template:'<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>'})}(window.jQuery),!function(a){function b(b,c){var d=a.proxy(this.process,this),e=a(b).is("body")?a(window):a(b),f;this.options=a.extend({},a.fn.scrollspy.defaults,c),this.$scrollElement=e.on("scroll.scroll.data-api",d),this.selector=(this.options.target||(f=a(b).attr("href"))&&f.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=a("body"),this.refresh(),this.process()}"use strict",b.prototype={constructor:b,refresh:function(){var b=this,c;this.offsets=a([]),this.targets=a([]),c=this.$body.find(this.selector).map(function(){var b=a(this),c=b.data("target")||b.attr("href"),d=/^#\w/.test(c)&&a(c);return d&&c.length&&[[d.position().top,c]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},process:function(){var a=this.$scrollElement.scrollTop()+this.options.offset,b=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,c=b-this.$scrollElement.height(),d=this.offsets,e=this.targets,f=this.activeTarget,g;if(a>=c)return f!=(g=e.last()[0])&&this.activate(g);for(g=d.length;g--;)f!=e[g]&&a>=d[g]&&(!d[g+1]||a<=d[g+1])&&this.activate(e[g])},activate:function(b){var c,d;this.activeTarget=b,a(this.selector).parent(".active").removeClass("active"),d=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',c=a(d).parent("li").addClass("active"),c.parent(".dropdown-menu")&&(c=c.closest("li.dropdown").addClass("active")),c.trigger("activate")}},a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("scrollspy"),f=typeof c=="object"&&c;e||d.data("scrollspy",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.defaults={offset:10},a(function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),!function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype={constructor:b,show:function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target"),e,f,g;d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,""));if(b.parent("li").hasClass("active"))return;e=c.find(".active a").last()[0],g=a.Event("show",{relatedTarget:e}),b.trigger(g);if(g.isDefaultPrevented())return;f=a(d),this.activate(b.parent("li"),c),this.activate(f,f.parent(),function(){b.trigger({type:"shown",relatedTarget:e})})},activate:function(b,c,d){function g(){e.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),f?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var e=c.find("> .active"),f=d&&a.support.transition&&e.hasClass("fade");f?e.one(a.support.transition.end,g):g(),e.removeClass("in")}},a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("tab");e||d.data("tab",e=new b(this)),typeof c=="string"&&e[c]()})},a.fn.tab.Constructor=b,a(function(){a("body").on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.typeahead.defaults,c),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.$menu=a(this.options.menu).appendTo("body"),this.source=this.options.source,this.shown=!1,this.listen()};b.prototype={constructor:b,select:function(){var a=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(a)).change(),this.hide()},updater:function(a){return a},show:function(){var b=a.extend({},this.$element.offset(),{height:this.$element[0].offsetHeight});return this.$menu.css({top:b.top+b.height,left:b.left}),this.$menu.show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(b){var c=this,d,e;return this.query=this.$element.val(),this.query?(d=a.grep(this.source,function(a){return c.matcher(a)}),d=this.sorter(d),d.length?this.render(d.slice(0,this.options.items)).show():this.shown?this.hide():this):this.shown?this.hide():this},matcher:function(a){return~a.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(a){var b=[],c=[],d=[],e;while(e=a.shift())e.toLowerCase().indexOf(this.query.toLowerCase())?~e.indexOf(this.query)?c.push(e):d.push(e):b.push(e);return b.concat(c,d)},highlighter:function(a){var b=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return a.replace(new RegExp("("+b+")","ig"),function(a,b){return"<strong>"+b+"</strong>"})},render:function(b){var c=this;return b=a(b).map(function(b,d){return b=a(c.options.item).attr("data-value",d),b.find("a").html(c.highlighter(d)),b[0]}),b.first().addClass("active"),this.$menu.html(b),this},next:function(b){var c=this.$menu.find(".active").removeClass("active"),d=c.next();d.length||(d=a(this.$menu.find("li")[0])),d.addClass("active")},prev:function(a){var b=this.$menu.find(".active").removeClass("active"),c=b.prev();c.length||(c=this.$menu.find("li").last()),c.addClass("active")},listen:function(){this.$element.on("blur",a.proxy(this.blur,this)).on("keypress",a.proxy(this.keypress,this)).on("keyup",a.proxy(this.keyup,this)),(a.browser.webkit||a.browser.msie)&&this.$element.on("keydown",a.proxy(this.keypress,this)),this.$menu.on("click",a.proxy(this.click,this)).on("mouseenter","li",a.proxy(this.mouseenter,this))},keyup:function(a){switch(a.keyCode){case 40:case 38:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}a.stopPropagation(),a.preventDefault()},keypress:function(a){if(!this.shown)return;switch(a.keyCode){case 9:case 13:case 27:a.preventDefault();break;case 38:if(a.type!="keydown")break;a.preventDefault(),this.prev();break;case 40:if(a.type!="keydown")break;a.preventDefault(),this.next()}a.stopPropagation()},blur:function(a){var b=this;setTimeout(function(){b.hide()},150)},click:function(a){a.stopPropagation(),a.preventDefault(),this.select()},mouseenter:function(b){this.$menu.find(".active").removeClass("active"),a(b.currentTarget).addClass("active")}},a.fn.typeahead=function(c){return this.each(function(){var d=a(this),e=d.data("typeahead"),f=typeof c=="object"&&c;e||d.data("typeahead",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>'},a.fn.typeahead.Constructor=b,a(function(){a("body").on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(b){var c=a(this);if(c.data("typeahead"))return;b.preventDefault(),c.typeahead(c.data())})})}(window.jQuery);
6
+ !function(e){e(function(){"use strict";e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()},e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e(function(){e("body").on("click.alert.data-api",t,n.prototype.close)})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.parent('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")},e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e(function(){e("body").on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=n,this.options.slide&&this.slide(this.options.slide),this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},to:function(t){var n=this.$element.find(".item.active"),r=n.parent().children(),i=r.index(n),s=this;if(t>r.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){s.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",e(r[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle()),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f=e.Event("slide",{relatedTarget:i[0]});this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u]();if(i.hasClass("active"))return;if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}},e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e(function(){e("body").on("click.carousel.data-api","[data-slide]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=!i.data("modal")&&e.extend({},i.data(),n.data());i.carousel(s),t.preventDefault()})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning)return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning)return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}},e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=typeof n=="object"&&n;i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e(function(){e("body").on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})})}(window.jQuery),!function(e){"use strict";function r(){i(e(t)).removeClass("open")}function i(t){var n=t.attr("data-target"),r;return n||(n=t.attr("href"),n=n&&n.replace(/.*(?=#[^\s]*$)/,"")),r=e(n),r.length||(r=t.parent()),r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||(s.toggleClass("open"),n.focus()),!1},keydown:function(t){var n,r,s,o,u,a;if(!/(38|40|27)/.test(t.keyCode))return;n=e(this),t.preventDefault(),t.stopPropagation();if(n.is(".disabled, :disabled"))return;o=i(n),u=o.hasClass("open");if(!u||u&&t.keyCode==27)return n.click();r=e("[role=menu] li:not(.divider) a",o);if(!r.length)return;a=r.index(r.filter(":focus")),t.keyCode==38&&a>0&&a--,t.keyCode==40&&a<r.length-1&&a++,~a||(a=0),r.eq(a).focus()}},e.fn.dropdown=function(t){return this.each(function(){var r=e(this),i=r.data("dropdown");i||r.data("dropdown",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.dropdown.Constructor=n,e(function(){e("html").on("click.dropdown.data-api touchstart.dropdown.data-api",r),e("body").on("click.dropdown touchstart.dropdown.data-api",".dropdown",function(e){e.stopPropagation()}).on("click.dropdown.data-api touchstart.dropdown.data-api",t,n.prototype.toggle).on("keydown.dropdown.data-api touchstart.dropdown.data-api",t+", [role=menu]",n.prototype.keydown)})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;e("body").addClass("modal-open"),this.isShown=!0,this.escape(),this.backdrop(function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1).focus(),t.enforceFocus(),n?t.$element.one(e.support.transition.end,function(){t.$element.trigger("shown")}):t.$element.trigger("shown")})},hide:function(t){t&&t.preventDefault();var n=this;t=e.Event("hide"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,e("body").removeClass("modal-open"),this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var t=this;e(document).on("focusin.modal",function(e){t.$element[0]!==e.target&&!t.$element.has(e.target).length&&t.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){t.which==27&&e.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,n=setTimeout(function(){t.$element.off(e.support.transition.end),t.hideModal()},500);this.$element.one(e.support.transition.end,function(){clearTimeout(n),t.hideModal()})},hideModal:function(e){this.$element.hide().trigger("hidden"),this.backdrop()},removeBackdrop:function(){this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&r;this.$backdrop=e('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.options.backdrop!="static"&&this.$backdrop.click(e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,e.proxy(this.removeBackdrop,this)):this.removeBackdrop()):t&&t()}},e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e(function(){e("body").on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,this.options.trigger=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):this.options.trigger!="manual"&&(i=this.options.trigger=="hover"?"mouseenter":"focus",s=this.options.trigger=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this))),this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,t,this.$element.data()),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);if(!n.options.delay||!n.options.delay.show)return n.show();clearTimeout(this.timeout),n.hoverState="in",this.timeout=setTimeout(function(){n.hoverState=="in"&&n.show()},n.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var e,t,n,r,i,s,o;if(this.hasContent()&&this.enabled){e=this.tip(),this.setContent(),this.options.animation&&e.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,t=/in/.test(s),e.remove().css({top:0,left:0,display:"block"}).appendTo(t?this.$element:document.body),n=this.getPosition(t),r=e[0].offsetWidth,i=e[0].offsetHeight;switch(t?s.split(" ")[1]:s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}e.css(o).addClass(s).addClass("in")}},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function r(){var t=setTimeout(function(){n.off(e.support.transition.end).remove()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.remove()})}var t=this,n=this.tip();return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?r():n.remove(),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").removeAttr("title")},hasContent:function(){return this.getTitle()},getPosition:function(t){return e.extend({},t?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}},e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("tooltip"),s=typeof n=="object"&&n;i||r.data("tooltip",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover",title:"",delay:0,html:!0}}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content > *")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-content")||(typeof n.content=="function"?n.content.call(t[0]):n.content),e},tip:function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}}),e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("popover"),s=typeof n=="object"&&n;i||r.data("popover",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.popover.Constructor=t,e.fn.popover.defaults=e.extend({},e.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>'})}(window.jQuery),!function(e){"use strict";function t(t,n){var r=e.proxy(this.process,this),i=e(t).is("body")?e(window):e(t),s;this.options=e.extend({},e.fn.scrollspy.defaults,n),this.$scrollElement=i.on("scroll.scroll-spy.data-api",r),this.selector=(this.options.target||(s=e(t).attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=e("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,n;this.offsets=e([]),this.targets=e([]),n=this.$body.find(this.selector).map(function(){var t=e(this),n=t.data("target")||t.attr("href"),r=/^#\w/.test(n)&&e(n);return r&&r.length&&[[r.position().top,n]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;if(e>=n)return s!=(o=i.last()[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},activate:function(t){var n,r;this.activeTarget=t,e(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}},e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("scrollspy"),s=typeof n=="object"&&n;i||r.data("scrollspy",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.defaults={offset:10},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t){this.element=e(t)};t.prototype={constructor:t,show:function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.attr("data-target"),i,s,o;r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;i=n.find(".active a").last()[0],o=e.Event("show",{relatedTarget:i}),t.trigger(o);if(o.isDefaultPrevented())return;s=e(r),this.activate(t.parent("li"),n),this.activate(s,s.parent(),function(){t.trigger({type:"shown",relatedTarget:i})})},activate:function(t,n,r){function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var i=n.find("> .active"),s=r&&e.support.transition&&i.hasClass("fade");s?i.one(e.support.transition.end,o):o(),i.removeClass("in")}},e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("tab");i||r.data("tab",i=new t(this)),typeof n=="string"&&i[n]()})},e.fn.tab.Constructor=t,e(function(){e("body").on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(this).tab("show")})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.$menu=e(this.options.menu).appendTo("body"),this.source=this.options.source,this.shown=!1,this.listen()};t.prototype={constructor:t,select:function(){var e=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(e)).change(),this.hide()},updater:function(e){return e},show:function(){var t=e.extend({},this.$element.offset(),{height:this.$element[0].offsetHeight});return this.$menu.css({top:t.top+t.height,left:t.left}),this.$menu.show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var n;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(n=e.isFunction(this.source)?this.source(this.query,e.proxy(this.process,this)):this.source,n?this.process(n):this)},process:function(t){var n=this;return t=e.grep(t,function(e){return n.matcher(e)}),t=this.sorter(t),t.length?this.render(t.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(e){return~e.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(e){var t=[],n=[],r=[],i;while(i=e.shift())i.toLowerCase().indexOf(this.query.toLowerCase())?~i.indexOf(this.query)?n.push(i):r.push(i):t.push(i);return t.concat(n,r)},highlighter:function(e){var t=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return e.replace(new RegExp("("+t+")","ig"),function(e,t){return"<strong>"+t+"</strong>"})},render:function(t){var n=this;return t=e(t).map(function(t,r){return t=e(n.options.item).attr("data-value",r),t.find("a").html(n.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(t){var n=this.$menu.find(".active").removeClass("active"),r=n.next();r.length||(r=e(this.$menu.find("li")[0])),r.addClass("active")},prev:function(e){var t=this.$menu.find(".active").removeClass("active"),n=t.prev();n.length||(n=this.$menu.find("li").last()),n.addClass("active")},listen:function(){this.$element.on("blur",e.proxy(this.blur,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),(e.browser.webkit||e.browser.msie)&&this.$element.on("keydown",e.proxy(this.keydown,this)),this.$menu.on("click",e.proxy(this.click,this)).on("mouseenter","li",e.proxy(this.mouseenter,this))},move:function(e){if(!this.shown)return;switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.preventDefault(),this.prev();break;case 40:e.preventDefault(),this.next()}e.stopPropagation()},keydown:function(t){this.suppressKeyPressRepeat=!~e.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(e){if(this.suppressKeyPressRepeat)return;this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}e.stopPropagation(),e.preventDefault()},blur:function(e){var t=this;setTimeout(function(){t.hide()},150)},click:function(e){e.stopPropagation(),e.preventDefault(),this.select()},mouseenter:function(t){this.$menu.find(".active").removeClass("active"),e(t.currentTarget).addClass("active")}},e.fn.typeahead=function(n){return this.each(function(){var r=e(this),i=r.data("typeahead"),s=typeof n=="object"&&n;i||r.data("typeahead",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},e.fn.typeahead.Constructor=t,e(function(){e("body").on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;t.preventDefault(),n.typeahead(n.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.affix.defaults,n),this.$window=e(window).on("scroll.affix.data-api",e.proxy(this.checkPosition,this)),this.$element=e(t),this.checkPosition()};t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=e(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),i=this.options.offset,s=i.bottom,o=i.top,u="affix affix-top affix-bottom",a;typeof i!="object"&&(s=o=i),typeof o=="function"&&(o=i.top()),typeof s=="function"&&(s=i.bottom()),a=this.unpin!=null&&n+this.unpin<=r.top?!1:s!=null&&r.top+this.$element.height()>=t-s?"bottom":o!=null&&n<=o?"top":!1;if(this.affixed===a)return;this.affixed=a,this.unpin=a=="bottom"?r.top-n:null,this.$element.removeClass(u).addClass("affix"+(a?"-"+a:""))},e.fn.affix=function(n){return this.each(function(){var r=e(this),i=r.data("affix"),s=typeof n=="object"&&n;i||r.data("affix",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.affix.Constructor=t,e.fn.affix.defaults={offset:0},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.affix(n)})})}(window.jQuery);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap Responsive v2.0.4
2
+ * Bootstrap Responsive v2.1.0
3
3
  *
4
4
  * Copyright 2012 Twitter, Inc
5
5
  * Licensed under the Apache License v2.0
@@ -15,6 +15,7 @@
15
15
  .clearfix:before,
16
16
  .clearfix:after {
17
17
  display: table;
18
+ line-height: 0;
18
19
  content: "";
19
20
  }
20
21
 
@@ -33,10 +34,9 @@
33
34
  .input-block-level {
34
35
  display: block;
35
36
  width: 100%;
36
- min-height: 28px;
37
+ min-height: 30px;
37
38
  -webkit-box-sizing: border-box;
38
39
  -moz-box-sizing: border-box;
39
- -ms-box-sizing: border-box;
40
40
  box-sizing: border-box;
41
41
  }
42
42
 
@@ -57,155 +57,49 @@
57
57
  display: none !important;
58
58
  }
59
59
 
60
- @media (max-width: 767px) {
61
- .visible-phone {
62
- display: inherit !important;
63
- }
64
- .hidden-phone {
65
- display: none !important;
66
- }
67
- .hidden-desktop {
68
- display: inherit !important;
69
- }
70
- .visible-desktop {
71
- display: none !important;
72
- }
60
+ .visible-desktop {
61
+ display: inherit !important;
73
62
  }
74
63
 
75
64
  @media (min-width: 768px) and (max-width: 979px) {
76
- .visible-tablet {
77
- display: inherit !important;
78
- }
79
- .hidden-tablet {
80
- display: none !important;
81
- }
82
65
  .hidden-desktop {
83
66
  display: inherit !important;
84
67
  }
85
68
  .visible-desktop {
86
69
  display: none !important ;
87
70
  }
88
- }
89
-
90
- @media (max-width: 480px) {
91
- .nav-collapse {
92
- -webkit-transform: translate3d(0, 0, 0);
93
- }
94
- .page-header h1 small {
95
- display: block;
96
- line-height: 18px;
97
- }
98
- input[type="checkbox"],
99
- input[type="radio"] {
100
- border: 1px solid #ccc;
101
- }
102
- .form-horizontal .control-group > label {
103
- float: none;
104
- width: auto;
105
- padding-top: 0;
106
- text-align: left;
107
- }
108
- .form-horizontal .controls {
109
- margin-left: 0;
110
- }
111
- .form-horizontal .control-list {
112
- padding-top: 0;
113
- }
114
- .form-horizontal .form-actions {
115
- padding-right: 10px;
116
- padding-left: 10px;
117
- }
118
- .modal {
119
- position: absolute;
120
- top: 10px;
121
- right: 10px;
122
- left: 10px;
123
- width: auto;
124
- margin: 0;
125
- }
126
- .modal.fade.in {
127
- top: auto;
128
- }
129
- .modal-header .close {
130
- padding: 10px;
131
- margin: -10px;
71
+ .visible-tablet {
72
+ display: inherit !important;
132
73
  }
133
- .carousel-caption {
134
- position: static;
74
+ .hidden-tablet {
75
+ display: none !important;
135
76
  }
136
77
  }
137
78
 
138
79
  @media (max-width: 767px) {
139
- body {
140
- padding-right: 20px;
141
- padding-left: 20px;
142
- }
143
- .navbar-fixed-top,
144
- .navbar-fixed-bottom {
145
- margin-right: -20px;
146
- margin-left: -20px;
147
- }
148
- .container-fluid {
149
- padding: 0;
150
- }
151
- .dl-horizontal dt {
152
- float: none;
153
- width: auto;
154
- clear: none;
155
- text-align: left;
156
- }
157
- .dl-horizontal dd {
158
- margin-left: 0;
159
- }
160
- .container {
161
- width: auto;
162
- }
163
- .row-fluid {
164
- width: 100%;
165
- }
166
- .row,
167
- .thumbnails {
168
- margin-left: 0;
80
+ .hidden-desktop {
81
+ display: inherit !important;
169
82
  }
170
- [class*="span"],
171
- .row-fluid [class*="span"] {
172
- display: block;
173
- float: none;
174
- width: auto;
175
- margin-left: 0;
83
+ .visible-desktop {
84
+ display: none !important;
176
85
  }
177
- .input-large,
178
- .input-xlarge,
179
- .input-xxlarge,
180
- input[class*="span"],
181
- select[class*="span"],
182
- textarea[class*="span"],
183
- .uneditable-input {
184
- display: block;
185
- width: 100%;
186
- min-height: 28px;
187
- -webkit-box-sizing: border-box;
188
- -moz-box-sizing: border-box;
189
- -ms-box-sizing: border-box;
190
- box-sizing: border-box;
86
+ .visible-phone {
87
+ display: inherit !important;
191
88
  }
192
- .input-prepend input,
193
- .input-append input,
194
- .input-prepend input[class*="span"],
195
- .input-append input[class*="span"] {
196
- display: inline-block;
197
- width: auto;
89
+ .hidden-phone {
90
+ display: none !important;
198
91
  }
199
92
  }
200
93
 
201
- @media (min-width: 768px) and (max-width: 979px) {
94
+ @media (min-width: 1200px) {
202
95
  .row {
203
- margin-left: -20px;
96
+ margin-left: -30px;
204
97
  *zoom: 1;
205
98
  }
206
99
  .row:before,
207
100
  .row:after {
208
101
  display: table;
102
+ line-height: 0;
209
103
  content: "";
210
104
  }
211
105
  .row:after {
@@ -213,84 +107,85 @@
213
107
  }
214
108
  [class*="span"] {
215
109
  float: left;
216
- margin-left: 20px;
110
+ margin-left: 30px;
217
111
  }
218
112
  .container,
113
+ .navbar-static-top .container,
219
114
  .navbar-fixed-top .container,
220
115
  .navbar-fixed-bottom .container {
221
- width: 724px;
116
+ width: 1170px;
222
117
  }
223
118
  .span12 {
224
- width: 724px;
119
+ width: 1170px;
225
120
  }
226
121
  .span11 {
227
- width: 662px;
122
+ width: 1070px;
228
123
  }
229
124
  .span10 {
230
- width: 600px;
125
+ width: 970px;
231
126
  }
232
127
  .span9 {
233
- width: 538px;
128
+ width: 870px;
234
129
  }
235
130
  .span8 {
236
- width: 476px;
131
+ width: 770px;
237
132
  }
238
133
  .span7 {
239
- width: 414px;
134
+ width: 670px;
240
135
  }
241
136
  .span6 {
242
- width: 352px;
137
+ width: 570px;
243
138
  }
244
139
  .span5 {
245
- width: 290px;
140
+ width: 470px;
246
141
  }
247
142
  .span4 {
248
- width: 228px;
143
+ width: 370px;
249
144
  }
250
145
  .span3 {
251
- width: 166px;
146
+ width: 270px;
252
147
  }
253
148
  .span2 {
254
- width: 104px;
149
+ width: 170px;
255
150
  }
256
151
  .span1 {
257
- width: 42px;
152
+ width: 70px;
258
153
  }
259
154
  .offset12 {
260
- margin-left: 764px;
155
+ margin-left: 1230px;
261
156
  }
262
157
  .offset11 {
263
- margin-left: 702px;
158
+ margin-left: 1130px;
264
159
  }
265
160
  .offset10 {
266
- margin-left: 640px;
161
+ margin-left: 1030px;
267
162
  }
268
163
  .offset9 {
269
- margin-left: 578px;
164
+ margin-left: 930px;
270
165
  }
271
166
  .offset8 {
272
- margin-left: 516px;
167
+ margin-left: 830px;
273
168
  }
274
169
  .offset7 {
275
- margin-left: 454px;
170
+ margin-left: 730px;
276
171
  }
277
172
  .offset6 {
278
- margin-left: 392px;
173
+ margin-left: 630px;
279
174
  }
280
175
  .offset5 {
281
- margin-left: 330px;
176
+ margin-left: 530px;
282
177
  }
283
178
  .offset4 {
284
- margin-left: 268px;
179
+ margin-left: 430px;
285
180
  }
286
181
  .offset3 {
287
- margin-left: 206px;
182
+ margin-left: 330px;
288
183
  }
289
184
  .offset2 {
290
- margin-left: 144px;
185
+ margin-left: 230px;
291
186
  }
292
187
  .offset1 {
293
- margin-left: 82px;
188
+ margin-left: 130px;
294
189
  }
295
190
  .row-fluid {
296
191
  width: 100%;
@@ -299,6 +194,7 @@
299
194
  .row-fluid:before,
300
195
  .row-fluid:after {
301
196
  display: table;
197
+ line-height: 0;
302
198
  content: "";
303
199
  }
304
200
  .row-fluid:after {
@@ -308,140 +204,248 @@
308
204
  display: block;
309
205
  float: left;
310
206
  width: 100%;
311
- min-height: 28px;
312
- margin-left: 2.762430939%;
313
- *margin-left: 2.709239449638298%;
207
+ min-height: 30px;
208
+ margin-left: 2.564102564102564%;
209
+ *margin-left: 2.5109110747408616%;
314
210
  -webkit-box-sizing: border-box;
315
211
  -moz-box-sizing: border-box;
316
- -ms-box-sizing: border-box;
317
212
  box-sizing: border-box;
318
213
  }
319
214
  .row-fluid [class*="span"]:first-child {
320
215
  margin-left: 0;
321
216
  }
322
217
  .row-fluid .span12 {
323
- width: 99.999999993%;
324
- *width: 99.9468085036383%;
218
+ width: 100%;
219
+ *width: 99.94680851063829%;
325
220
  }
326
221
  .row-fluid .span11 {
327
- width: 91.436464082%;
328
- *width: 91.38327259263829%;
222
+ width: 91.45299145299145%;
223
+ *width: 91.39979996362975%;
329
224
  }
330
225
  .row-fluid .span10 {
331
- width: 82.87292817100001%;
332
- *width: 82.8197366816383%;
226
+ width: 82.90598290598291%;
227
+ *width: 82.8527914166212%;
333
228
  }
334
229
  .row-fluid .span9 {
335
- width: 74.30939226%;
336
- *width: 74.25620077063829%;
230
+ width: 74.35897435897436%;
231
+ *width: 74.30578286961266%;
337
232
  }
338
233
  .row-fluid .span8 {
339
- width: 65.74585634900001%;
340
- *width: 65.6926648596383%;
234
+ width: 65.81196581196582%;
235
+ *width: 65.75877432260411%;
341
236
  }
342
237
  .row-fluid .span7 {
343
- width: 57.182320438000005%;
344
- *width: 57.129128948638304%;
238
+ width: 57.26495726495726%;
239
+ *width: 57.21176577559556%;
345
240
  }
346
241
  .row-fluid .span6 {
347
- width: 48.618784527%;
348
- *width: 48.5655930376383%;
242
+ width: 48.717948717948715%;
243
+ *width: 48.664757228587014%;
349
244
  }
350
245
  .row-fluid .span5 {
351
- width: 40.055248616%;
352
- *width: 40.0020571266383%;
246
+ width: 40.17094017094017%;
247
+ *width: 40.11774868157847%;
353
248
  }
354
249
  .row-fluid .span4 {
355
- width: 31.491712705%;
356
- *width: 31.4385212156383%;
250
+ width: 31.623931623931625%;
251
+ *width: 31.570740134569924%;
357
252
  }
358
253
  .row-fluid .span3 {
359
- width: 22.928176794%;
360
- *width: 22.874985304638297%;
254
+ width: 23.076923076923077%;
255
+ *width: 23.023731587561375%;
361
256
  }
362
257
  .row-fluid .span2 {
363
- width: 14.364640883%;
364
- *width: 14.311449393638298%;
258
+ width: 14.52991452991453%;
259
+ *width: 14.476723040552828%;
365
260
  }
366
261
  .row-fluid .span1 {
367
- width: 5.801104972%;
368
- *width: 5.747913482638298%;
262
+ width: 5.982905982905983%;
263
+ *width: 5.929714493544281%;
264
+ }
265
+ .row-fluid .offset12 {
266
+ margin-left: 105.12820512820512%;
267
+ *margin-left: 105.02182214948171%;
268
+ }
269
+ .row-fluid .offset12:first-child {
270
+ margin-left: 102.56410256410257%;
271
+ *margin-left: 102.45771958537915%;
272
+ }
273
+ .row-fluid .offset11 {
274
+ margin-left: 96.58119658119658%;
275
+ *margin-left: 96.47481360247316%;
276
+ }
277
+ .row-fluid .offset11:first-child {
278
+ margin-left: 94.01709401709402%;
279
+ *margin-left: 93.91071103837061%;
280
+ }
281
+ .row-fluid .offset10 {
282
+ margin-left: 88.03418803418803%;
283
+ *margin-left: 87.92780505546462%;
284
+ }
285
+ .row-fluid .offset10:first-child {
286
+ margin-left: 85.47008547008548%;
287
+ *margin-left: 85.36370249136206%;
288
+ }
289
+ .row-fluid .offset9 {
290
+ margin-left: 79.48717948717949%;
291
+ *margin-left: 79.38079650845607%;
292
+ }
293
+ .row-fluid .offset9:first-child {
294
+ margin-left: 76.92307692307693%;
295
+ *margin-left: 76.81669394435352%;
296
+ }
297
+ .row-fluid .offset8 {
298
+ margin-left: 70.94017094017094%;
299
+ *margin-left: 70.83378796144753%;
300
+ }
301
+ .row-fluid .offset8:first-child {
302
+ margin-left: 68.37606837606839%;
303
+ *margin-left: 68.26968539734497%;
304
+ }
305
+ .row-fluid .offset7 {
306
+ margin-left: 62.393162393162385%;
307
+ *margin-left: 62.28677941443899%;
308
+ }
309
+ .row-fluid .offset7:first-child {
310
+ margin-left: 59.82905982905982%;
311
+ *margin-left: 59.72267685033642%;
312
+ }
313
+ .row-fluid .offset6 {
314
+ margin-left: 53.84615384615384%;
315
+ *margin-left: 53.739770867430444%;
316
+ }
317
+ .row-fluid .offset6:first-child {
318
+ margin-left: 51.28205128205128%;
319
+ *margin-left: 51.175668303327875%;
320
+ }
321
+ .row-fluid .offset5 {
322
+ margin-left: 45.299145299145295%;
323
+ *margin-left: 45.1927623204219%;
324
+ }
325
+ .row-fluid .offset5:first-child {
326
+ margin-left: 42.73504273504273%;
327
+ *margin-left: 42.62865975631933%;
328
+ }
329
+ .row-fluid .offset4 {
330
+ margin-left: 36.75213675213675%;
331
+ *margin-left: 36.645753773413354%;
332
+ }
333
+ .row-fluid .offset4:first-child {
334
+ margin-left: 34.18803418803419%;
335
+ *margin-left: 34.081651209310785%;
336
+ }
337
+ .row-fluid .offset3 {
338
+ margin-left: 28.205128205128204%;
339
+ *margin-left: 28.0987452264048%;
340
+ }
341
+ .row-fluid .offset3:first-child {
342
+ margin-left: 25.641025641025642%;
343
+ *margin-left: 25.53464266230224%;
344
+ }
345
+ .row-fluid .offset2 {
346
+ margin-left: 19.65811965811966%;
347
+ *margin-left: 19.551736679396257%;
348
+ }
349
+ .row-fluid .offset2:first-child {
350
+ margin-left: 17.094017094017094%;
351
+ *margin-left: 16.98763411529369%;
352
+ }
353
+ .row-fluid .offset1 {
354
+ margin-left: 11.11111111111111%;
355
+ *margin-left: 11.004728132387708%;
356
+ }
357
+ .row-fluid .offset1:first-child {
358
+ margin-left: 8.547008547008547%;
359
+ *margin-left: 8.440625568285142%;
369
360
  }
370
361
  input,
371
362
  textarea,
372
363
  .uneditable-input {
373
364
  margin-left: 0;
374
365
  }
366
+ .controls-row [class*="span"] + [class*="span"] {
367
+ margin-left: 30px;
368
+ }
375
369
  input.span12,
376
370
  textarea.span12,
377
371
  .uneditable-input.span12 {
378
- width: 714px;
372
+ width: 1156px;
379
373
  }
380
374
  input.span11,
381
375
  textarea.span11,
382
376
  .uneditable-input.span11 {
383
- width: 652px;
377
+ width: 1056px;
384
378
  }
385
379
  input.span10,
386
380
  textarea.span10,
387
381
  .uneditable-input.span10 {
388
- width: 590px;
382
+ width: 956px;
389
383
  }
390
384
  input.span9,
391
385
  textarea.span9,
392
386
  .uneditable-input.span9 {
393
- width: 528px;
387
+ width: 856px;
394
388
  }
395
389
  input.span8,
396
390
  textarea.span8,
397
391
  .uneditable-input.span8 {
398
- width: 466px;
392
+ width: 756px;
399
393
  }
400
394
  input.span7,
401
395
  textarea.span7,
402
396
  .uneditable-input.span7 {
403
- width: 404px;
397
+ width: 656px;
404
398
  }
405
399
  input.span6,
406
400
  textarea.span6,
407
401
  .uneditable-input.span6 {
408
- width: 342px;
402
+ width: 556px;
409
403
  }
410
404
  input.span5,
411
405
  textarea.span5,
412
406
  .uneditable-input.span5 {
413
- width: 280px;
407
+ width: 456px;
414
408
  }
415
409
  input.span4,
416
410
  textarea.span4,
417
411
  .uneditable-input.span4 {
418
- width: 218px;
412
+ width: 356px;
419
413
  }
420
414
  input.span3,
421
415
  textarea.span3,
422
416
  .uneditable-input.span3 {
423
- width: 156px;
417
+ width: 256px;
424
418
  }
425
419
  input.span2,
426
420
  textarea.span2,
427
421
  .uneditable-input.span2 {
428
- width: 94px;
422
+ width: 156px;
429
423
  }
430
424
  input.span1,
431
425
  textarea.span1,
432
426
  .uneditable-input.span1 {
433
- width: 32px;
427
+ width: 56px;
428
+ }
429
+ .thumbnails {
430
+ margin-left: -30px;
431
+ }
432
+ .thumbnails > li {
433
+ margin-left: 30px;
434
+ }
435
+ .row-fluid .thumbnails {
436
+ margin-left: 0;
434
437
  }
435
438
  }
436
439
 
437
- @media (min-width: 1200px) {
440
+ @media (min-width: 768px) and (max-width: 979px) {
438
441
  .row {
439
- margin-left: -30px;
442
+ margin-left: -20px;
440
443
  *zoom: 1;
441
444
  }
442
445
  .row:before,
443
446
  .row:after {
444
447
  display: table;
448
+ line-height: 0;
445
449
  content: "";
446
450
  }
447
451
  .row:after {
@@ -449,84 +453,85 @@
449
453
  }
450
454
  [class*="span"] {
451
455
  float: left;
452
- margin-left: 30px;
456
+ margin-left: 20px;
453
457
  }
454
458
  .container,
459
+ .navbar-static-top .container,
455
460
  .navbar-fixed-top .container,
456
461
  .navbar-fixed-bottom .container {
457
- width: 1170px;
462
+ width: 724px;
458
463
  }
459
464
  .span12 {
460
- width: 1170px;
465
+ width: 724px;
461
466
  }
462
467
  .span11 {
463
- width: 1070px;
468
+ width: 662px;
464
469
  }
465
470
  .span10 {
466
- width: 970px;
471
+ width: 600px;
467
472
  }
468
473
  .span9 {
469
- width: 870px;
474
+ width: 538px;
470
475
  }
471
476
  .span8 {
472
- width: 770px;
477
+ width: 476px;
473
478
  }
474
479
  .span7 {
475
- width: 670px;
480
+ width: 414px;
476
481
  }
477
482
  .span6 {
478
- width: 570px;
483
+ width: 352px;
479
484
  }
480
485
  .span5 {
481
- width: 470px;
486
+ width: 290px;
482
487
  }
483
488
  .span4 {
484
- width: 370px;
489
+ width: 228px;
485
490
  }
486
491
  .span3 {
487
- width: 270px;
492
+ width: 166px;
488
493
  }
489
494
  .span2 {
490
- width: 170px;
495
+ width: 104px;
491
496
  }
492
497
  .span1 {
493
- width: 70px;
498
+ width: 42px;
494
499
  }
495
500
  .offset12 {
496
- margin-left: 1230px;
501
+ margin-left: 764px;
497
502
  }
498
503
  .offset11 {
499
- margin-left: 1130px;
504
+ margin-left: 702px;
500
505
  }
501
506
  .offset10 {
502
- margin-left: 1030px;
507
+ margin-left: 640px;
503
508
  }
504
509
  .offset9 {
505
- margin-left: 930px;
510
+ margin-left: 578px;
506
511
  }
507
512
  .offset8 {
508
- margin-left: 830px;
513
+ margin-left: 516px;
509
514
  }
510
515
  .offset7 {
511
- margin-left: 730px;
516
+ margin-left: 454px;
512
517
  }
513
518
  .offset6 {
514
- margin-left: 630px;
519
+ margin-left: 392px;
515
520
  }
516
521
  .offset5 {
517
- margin-left: 530px;
522
+ margin-left: 330px;
518
523
  }
519
524
  .offset4 {
520
- margin-left: 430px;
525
+ margin-left: 268px;
521
526
  }
522
527
  .offset3 {
523
- margin-left: 330px;
528
+ margin-left: 206px;
524
529
  }
525
530
  .offset2 {
526
- margin-left: 230px;
531
+ margin-left: 144px;
527
532
  }
528
533
  .offset1 {
529
- margin-left: 130px;
534
+ margin-left: 82px;
530
535
  }
531
536
  .row-fluid {
532
537
  width: 100%;
@@ -535,6 +540,7 @@
535
540
  .row-fluid:before,
536
541
  .row-fluid:after {
537
542
  display: table;
543
+ line-height: 0;
538
544
  content: "";
539
545
  }
540
546
  .row-fluid:after {
@@ -544,12 +550,11 @@
544
550
  display: block;
545
551
  float: left;
546
552
  width: 100%;
547
- min-height: 28px;
548
- margin-left: 2.564102564%;
549
- *margin-left: 2.510911074638298%;
553
+ min-height: 30px;
554
+ margin-left: 2.7624309392265194%;
555
+ *margin-left: 2.709239449864817%;
550
556
  -webkit-box-sizing: border-box;
551
557
  -moz-box-sizing: border-box;
552
- -ms-box-sizing: border-box;
553
558
  box-sizing: border-box;
554
559
  }
555
560
  .row-fluid [class*="span"]:first-child {
@@ -560,123 +565,339 @@
560
565
  *width: 99.94680851063829%;
561
566
  }
562
567
  .row-fluid .span11 {
563
- width: 91.45299145300001%;
564
- *width: 91.3997999636383%;
568
+ width: 91.43646408839778%;
569
+ *width: 91.38327259903608%;
565
570
  }
566
571
  .row-fluid .span10 {
567
- width: 82.905982906%;
568
- *width: 82.8527914166383%;
572
+ width: 82.87292817679558%;
573
+ *width: 82.81973668743387%;
569
574
  }
570
575
  .row-fluid .span9 {
571
- width: 74.358974359%;
572
- *width: 74.30578286963829%;
576
+ width: 74.30939226519337%;
577
+ *width: 74.25620077583166%;
573
578
  }
574
579
  .row-fluid .span8 {
575
- width: 65.81196581200001%;
576
- *width: 65.7587743226383%;
580
+ width: 65.74585635359117%;
581
+ *width: 65.69266486422946%;
577
582
  }
578
583
  .row-fluid .span7 {
579
- width: 57.264957265%;
580
- *width: 57.2117657756383%;
584
+ width: 57.18232044198895%;
585
+ *width: 57.12912895262725%;
581
586
  }
582
587
  .row-fluid .span6 {
583
- width: 48.717948718%;
584
- *width: 48.6647572286383%;
588
+ width: 48.61878453038674%;
589
+ *width: 48.56559304102504%;
585
590
  }
586
591
  .row-fluid .span5 {
587
- width: 40.170940171000005%;
588
- *width: 40.117748681638304%;
592
+ width: 40.05524861878453%;
593
+ *width: 40.00205712942283%;
589
594
  }
590
595
  .row-fluid .span4 {
591
- width: 31.623931624%;
592
- *width: 31.5707401346383%;
596
+ width: 31.491712707182323%;
597
+ *width: 31.43852121782062%;
593
598
  }
594
599
  .row-fluid .span3 {
595
- width: 23.076923077%;
596
- *width: 23.0237315876383%;
600
+ width: 22.92817679558011%;
601
+ *width: 22.87498530621841%;
597
602
  }
598
603
  .row-fluid .span2 {
599
- width: 14.529914530000001%;
600
- *width: 14.4767230406383%;
604
+ width: 14.3646408839779%;
605
+ *width: 14.311449394616199%;
601
606
  }
602
607
  .row-fluid .span1 {
603
- width: 5.982905983%;
604
- *width: 5.929714493638298%;
608
+ width: 5.801104972375691%;
609
+ *width: 5.747913483013988%;
610
+ }
611
+ .row-fluid .offset12 {
612
+ margin-left: 105.52486187845304%;
613
+ *margin-left: 105.41847889972962%;
614
+ }
615
+ .row-fluid .offset12:first-child {
616
+ margin-left: 102.76243093922652%;
617
+ *margin-left: 102.6560479605031%;
618
+ }
619
+ .row-fluid .offset11 {
620
+ margin-left: 96.96132596685082%;
621
+ *margin-left: 96.8549429881274%;
622
+ }
623
+ .row-fluid .offset11:first-child {
624
+ margin-left: 94.1988950276243%;
625
+ *margin-left: 94.09251204890089%;
626
+ }
627
+ .row-fluid .offset10 {
628
+ margin-left: 88.39779005524862%;
629
+ *margin-left: 88.2914070765252%;
630
+ }
631
+ .row-fluid .offset10:first-child {
632
+ margin-left: 85.6353591160221%;
633
+ *margin-left: 85.52897613729868%;
634
+ }
635
+ .row-fluid .offset9 {
636
+ margin-left: 79.8342541436464%;
637
+ *margin-left: 79.72787116492299%;
638
+ }
639
+ .row-fluid .offset9:first-child {
640
+ margin-left: 77.07182320441989%;
641
+ *margin-left: 76.96544022569647%;
642
+ }
643
+ .row-fluid .offset8 {
644
+ margin-left: 71.2707182320442%;
645
+ *margin-left: 71.16433525332079%;
646
+ }
647
+ .row-fluid .offset8:first-child {
648
+ margin-left: 68.50828729281768%;
649
+ *margin-left: 68.40190431409427%;
650
+ }
651
+ .row-fluid .offset7 {
652
+ margin-left: 62.70718232044199%;
653
+ *margin-left: 62.600799341718584%;
654
+ }
655
+ .row-fluid .offset7:first-child {
656
+ margin-left: 59.94475138121547%;
657
+ *margin-left: 59.838368402492065%;
658
+ }
659
+ .row-fluid .offset6 {
660
+ margin-left: 54.14364640883978%;
661
+ *margin-left: 54.037263430116376%;
662
+ }
663
+ .row-fluid .offset6:first-child {
664
+ margin-left: 51.38121546961326%;
665
+ *margin-left: 51.27483249088986%;
666
+ }
667
+ .row-fluid .offset5 {
668
+ margin-left: 45.58011049723757%;
669
+ *margin-left: 45.47372751851417%;
670
+ }
671
+ .row-fluid .offset5:first-child {
672
+ margin-left: 42.81767955801105%;
673
+ *margin-left: 42.71129657928765%;
674
+ }
675
+ .row-fluid .offset4 {
676
+ margin-left: 37.01657458563536%;
677
+ *margin-left: 36.91019160691196%;
678
+ }
679
+ .row-fluid .offset4:first-child {
680
+ margin-left: 34.25414364640884%;
681
+ *margin-left: 34.14776066768544%;
682
+ }
683
+ .row-fluid .offset3 {
684
+ margin-left: 28.45303867403315%;
685
+ *margin-left: 28.346655695309746%;
686
+ }
687
+ .row-fluid .offset3:first-child {
688
+ margin-left: 25.69060773480663%;
689
+ *margin-left: 25.584224756083227%;
690
+ }
691
+ .row-fluid .offset2 {
692
+ margin-left: 19.88950276243094%;
693
+ *margin-left: 19.783119783707537%;
694
+ }
695
+ .row-fluid .offset2:first-child {
696
+ margin-left: 17.12707182320442%;
697
+ *margin-left: 17.02068884448102%;
698
+ }
699
+ .row-fluid .offset1 {
700
+ margin-left: 11.32596685082873%;
701
+ *margin-left: 11.219583872105325%;
702
+ }
703
+ .row-fluid .offset1:first-child {
704
+ margin-left: 8.56353591160221%;
705
+ *margin-left: 8.457152932878806%;
605
706
  }
606
707
  input,
607
708
  textarea,
608
709
  .uneditable-input {
609
710
  margin-left: 0;
610
711
  }
712
+ .controls-row [class*="span"] + [class*="span"] {
713
+ margin-left: 20px;
714
+ }
611
715
  input.span12,
612
716
  textarea.span12,
613
717
  .uneditable-input.span12 {
614
- width: 1160px;
718
+ width: 710px;
615
719
  }
616
720
  input.span11,
617
721
  textarea.span11,
618
722
  .uneditable-input.span11 {
619
- width: 1060px;
723
+ width: 648px;
620
724
  }
621
725
  input.span10,
622
726
  textarea.span10,
623
727
  .uneditable-input.span10 {
624
- width: 960px;
728
+ width: 586px;
625
729
  }
626
730
  input.span9,
627
731
  textarea.span9,
628
732
  .uneditable-input.span9 {
629
- width: 860px;
733
+ width: 524px;
630
734
  }
631
735
  input.span8,
632
736
  textarea.span8,
633
737
  .uneditable-input.span8 {
634
- width: 760px;
738
+ width: 462px;
635
739
  }
636
740
  input.span7,
637
741
  textarea.span7,
638
742
  .uneditable-input.span7 {
639
- width: 660px;
743
+ width: 400px;
640
744
  }
641
745
  input.span6,
642
746
  textarea.span6,
643
747
  .uneditable-input.span6 {
644
- width: 560px;
748
+ width: 338px;
645
749
  }
646
750
  input.span5,
647
751
  textarea.span5,
648
752
  .uneditable-input.span5 {
649
- width: 460px;
753
+ width: 276px;
650
754
  }
651
755
  input.span4,
652
756
  textarea.span4,
653
757
  .uneditable-input.span4 {
654
- width: 360px;
758
+ width: 214px;
655
759
  }
656
760
  input.span3,
657
761
  textarea.span3,
658
762
  .uneditable-input.span3 {
659
- width: 260px;
763
+ width: 152px;
660
764
  }
661
765
  input.span2,
662
766
  textarea.span2,
663
767
  .uneditable-input.span2 {
664
- width: 160px;
768
+ width: 90px;
665
769
  }
666
770
  input.span1,
667
771
  textarea.span1,
668
772
  .uneditable-input.span1 {
669
- width: 60px;
773
+ width: 28px;
774
+ }
775
+ }
776
+
777
+ @media (max-width: 767px) {
778
+ body {
779
+ padding-right: 20px;
780
+ padding-left: 20px;
781
+ }
782
+ .navbar-fixed-top,
783
+ .navbar-fixed-bottom {
784
+ margin-right: -20px;
785
+ margin-left: -20px;
786
+ }
787
+ .container-fluid {
788
+ padding: 0;
789
+ }
790
+ .dl-horizontal dt {
791
+ float: none;
792
+ width: auto;
793
+ clear: none;
794
+ text-align: left;
795
+ }
796
+ .dl-horizontal dd {
797
+ margin-left: 0;
798
+ }
799
+ .container {
800
+ width: auto;
670
801
  }
802
+ .row-fluid {
803
+ width: 100%;
804
+ }
805
+ .row,
671
806
  .thumbnails {
672
- margin-left: -30px;
807
+ margin-left: 0;
673
808
  }
674
809
  .thumbnails > li {
675
- margin-left: 30px;
810
+ float: none;
811
+ margin-left: 0;
676
812
  }
677
- .row-fluid .thumbnails {
813
+ [class*="span"],
814
+ .row-fluid [class*="span"] {
815
+ display: block;
816
+ float: none;
817
+ width: auto;
818
+ margin-left: 0;
819
+ }
820
+ .span12,
821
+ .row-fluid .span12 {
822
+ width: 100%;
823
+ -webkit-box-sizing: border-box;
824
+ -moz-box-sizing: border-box;
825
+ box-sizing: border-box;
826
+ }
827
+ .input-large,
828
+ .input-xlarge,
829
+ .input-xxlarge,
830
+ input[class*="span"],
831
+ select[class*="span"],
832
+ textarea[class*="span"],
833
+ .uneditable-input {
834
+ display: block;
835
+ width: 100%;
836
+ min-height: 30px;
837
+ -webkit-box-sizing: border-box;
838
+ -moz-box-sizing: border-box;
839
+ box-sizing: border-box;
840
+ }
841
+ .input-prepend input,
842
+ .input-append input,
843
+ .input-prepend input[class*="span"],
844
+ .input-append input[class*="span"] {
845
+ display: inline-block;
846
+ width: auto;
847
+ }
848
+ .modal {
849
+ position: fixed;
850
+ top: 20px;
851
+ right: 20px;
852
+ left: 20px;
853
+ width: auto;
854
+ margin: 0;
855
+ }
856
+ .modal.fade.in {
857
+ top: auto;
858
+ }
859
+ }
860
+
861
+ @media (max-width: 480px) {
862
+ .nav-collapse {
863
+ -webkit-transform: translate3d(0, 0, 0);
864
+ }
865
+ .page-header h1 small {
866
+ display: block;
867
+ line-height: 20px;
868
+ }
869
+ input[type="checkbox"],
870
+ input[type="radio"] {
871
+ border: 1px solid #ccc;
872
+ }
873
+ .form-horizontal .control-group > label {
874
+ float: none;
875
+ width: auto;
876
+ padding-top: 0;
877
+ text-align: left;
878
+ }
879
+ .form-horizontal .controls {
678
880
  margin-left: 0;
679
881
  }
882
+ .form-horizontal .control-list {
883
+ padding-top: 0;
884
+ }
885
+ .form-horizontal .form-actions {
886
+ padding-right: 10px;
887
+ padding-left: 10px;
888
+ }
889
+ .modal {
890
+ top: 10px;
891
+ right: 10px;
892
+ left: 10px;
893
+ }
894
+ .modal-header .close {
895
+ padding: 10px;
896
+ margin: -10px;
897
+ }
898
+ .carousel-caption {
899
+ position: static;
900
+ }
680
901
  }
681
902
 
682
903
  @media (max-width: 979px) {
@@ -688,10 +909,10 @@
688
909
  position: static;
689
910
  }
690
911
  .navbar-fixed-top {
691
- margin-bottom: 18px;
912
+ margin-bottom: 20px;
692
913
  }
693
914
  .navbar-fixed-bottom {
694
- margin-top: 18px;
915
+ margin-top: 20px;
695
916
  }
696
917
  .navbar-fixed-top .navbar-inner,
697
918
  .navbar-fixed-bottom .navbar-inner {
@@ -711,7 +932,7 @@
711
932
  }
712
933
  .nav-collapse .nav {
713
934
  float: none;
714
- margin: 0 0 9px;
935
+ margin: 0 0 10px;
715
936
  }
716
937
  .nav-collapse .nav > li {
717
938
  float: none;
@@ -723,14 +944,14 @@
723
944
  display: none;
724
945
  }
725
946
  .nav-collapse .nav .nav-header {
726
- color: #999999;
947
+ color: #555555;
727
948
  text-shadow: none;
728
949
  }
729
950
  .nav-collapse .nav > li > a,
730
951
  .nav-collapse .dropdown-menu a {
731
- padding: 6px 15px;
952
+ padding: 9px 15px;
732
953
  font-weight: bold;
733
- color: #999999;
954
+ color: #555555;
734
955
  -webkit-border-radius: 3px;
735
956
  -moz-border-radius: 3px;
736
957
  border-radius: 3px;
@@ -747,7 +968,11 @@
747
968
  }
748
969
  .nav-collapse .nav > li > a:hover,
749
970
  .nav-collapse .dropdown-menu a:hover {
750
- background-color: #222222;
971
+ background-color: #f2f2f2;
972
+ }
973
+ .navbar-inverse .nav-collapse .nav > li > a:hover,
974
+ .navbar-inverse .nav-collapse .dropdown-menu a:hover {
975
+ background-color: #111111;
751
976
  }
752
977
  .nav-collapse.in .btn-group {
753
978
  padding: 0;
@@ -781,10 +1006,10 @@
781
1006
  .nav-collapse .navbar-form,
782
1007
  .nav-collapse .navbar-search {
783
1008
  float: none;
784
- padding: 9px 15px;
785
- margin: 9px 0;
786
- border-top: 1px solid #222222;
787
- border-bottom: 1px solid #222222;
1009
+ padding: 10px 15px;
1010
+ margin: 10px 0;
1011
+ border-top: 1px solid #f2f2f2;
1012
+ border-bottom: 1px solid #f2f2f2;
788
1013
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
789
1014
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
790
1015
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);