├── README.md ├── _data.json ├── _harp.json ├── _layout.ejs ├── css ├── bootstrap.min.css ├── components │ ├── _colors.less │ └── _variables.less └── theme.less ├── fonts ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2 ├── index.ejs ├── js └── bootstrap.min.js ├── partial ├── _footer.ejs └── _header.ejs └── style-guide.ejs /README.md: -------------------------------------------------------------------------------- 1 | # booterator 2 | Front end boilerplate using Harp.js, Bootstrap & Less 3 | 4 | A Bootstrap theme generator. Speeds up production and maintenance of Bootstrap themes. Includes: 5 | 6 | * Bootstrap 3.3.2 minified framework 7 | * Node.js & Harp.js integration to generate theme 8 | * LESS compiler built in with Harp 9 | * LESS variable & mixin library 10 | * Starter LESS theme 11 | * Flat color palette 12 | 13 | Dependancies: 14 | * Bootstrap 3.3.2 15 | * Node.js 16 | * Harp.js 17 | * Less 18 | 19 | changelog 20 | ========== 21 | 22 | * feb 13, 2015 - upgraded to Bootstrap 3.3.2 23 | * sep 18, 2015 - updated readme file 24 | * sep 18, 2015 - SASS version is now available at https://github.com/cardeo/booterator-sass 25 | 26 | 27 | license 28 | ========== 29 | 30 | 31 | The MIT License (MIT) 32 | 33 | Copyright (c) 2014 Matt Lambert 34 | 35 | Permission is hereby granted, free of charge, to any person obtaining a copy 36 | of this software and associated documentation files (the "Software"), to deal 37 | in the Software without restriction, including without limitation the rights 38 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 39 | copies of the Software, and to permit persons to whom the Software is 40 | furnished to do so, subject to the following conditions: 41 | 42 | The above copyright notice and this permission notice shall be included in 43 | all copies or substantial portions of the Software. 44 | 45 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 46 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 47 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 48 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 49 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 50 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 51 | THE SOFTWARE. 52 | 53 | -------------------------------------------------------------------------------- /_data.json: -------------------------------------------------------------------------------- 1 | { 2 | "index": { 3 | "pageTitle": "Home" 4 | }, 5 | "style-guide": { 6 | "pageTitle": "Style Guide" 7 | }, 8 | "README": { 9 | "pageTitle": "readme" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /_harp.json: -------------------------------------------------------------------------------- 1 | { 2 | "globals": { 3 | "siteTitle": "Booterator" 4 | } 5 | } -------------------------------------------------------------------------------- /_layout.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | <%- pageTitle %> | <%- siteTitle %> 8 | 9 | 10 | 11 | 12 | 13 | 14 | 18 | 19 | 20 | 21 | <%- partial("partial/_header") %> 22 | 23 | <%- yield %> 24 | 25 | <%- partial("partial/_footer") %> 26 | 27 | 28 | 29 | 30 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /css/components/_colors.less: -------------------------------------------------------------------------------- 1 | .black { 2 | color: @black; 3 | } 4 | 5 | .black-bg { 6 | background: @black; 7 | } 8 | 9 | .dark-grey { 10 | color: @dark-grey; 11 | } 12 | 13 | .dark-grey-bg { 14 | background: @dark-grey; 15 | } 16 | 17 | .grey { 18 | color: @grey; 19 | } 20 | 21 | .grey-bg { 22 | background: @grey; 23 | } 24 | 25 | .light-grey { 26 | color: @light-grey; 27 | } 28 | 29 | .light-grey-bg { 30 | background: @light-grey; 31 | } 32 | 33 | .off-white { 34 | color: @off-white; 35 | } 36 | 37 | .off-white-bg { 38 | background: @off-white; 39 | } 40 | 41 | .white { 42 | color: @white; 43 | } 44 | 45 | .white-bg { 46 | background: @white; 47 | } 48 | 49 | .blue1 { 50 | color: @blue1; 51 | } 52 | 53 | .blue1-bg { 54 | background: @blue1; 55 | } 56 | 57 | .blue2 { 58 | color: @blue2; 59 | } 60 | 61 | .blue2-bg { 62 | background: @blue2; 63 | } 64 | 65 | .red1 { 66 | color: @red1; 67 | } 68 | 69 | .red1-bg { 70 | background: @red1; 71 | } 72 | 73 | .red2 { 74 | color: @red2; 75 | } 76 | 77 | .red2-bg { 78 | background: @red2; 79 | } 80 | 81 | .yellow1 { 82 | color: @yellow1; 83 | } 84 | 85 | .yellow1-bg { 86 | background: @yellow1; 87 | } 88 | 89 | .yellow2 { 90 | color: @yellow2; 91 | } 92 | 93 | .yellow2-bg { 94 | background: @yellow2; 95 | } 96 | 97 | .green1 { 98 | color: @green1; 99 | } 100 | 101 | .green1-bg { 102 | background: @green1; 103 | } 104 | 105 | .green2 { 106 | color: @green2; 107 | } 108 | 109 | .green2-bg { 110 | background: @green2; 111 | } 112 | 113 | .orange1 { 114 | color: @orange1; 115 | } 116 | 117 | .orange1-bg { 118 | background: @orange1; 119 | } 120 | 121 | .orange2 { 122 | color: @orange2; 123 | } 124 | 125 | .orange2-bg { 126 | background: @orange2; 127 | } 128 | 129 | .aqua1 { 130 | color: @aqua1; 131 | } 132 | 133 | .aqua1-bg { 134 | background: @aqua1; 135 | } 136 | 137 | .aqua2 { 138 | color: @aqua2; 139 | } 140 | 141 | .aqua2-bg { 142 | background: @aqua2; 143 | } 144 | 145 | .purple1 { 146 | color: @purple1; 147 | } 148 | 149 | .purple1-bg { 150 | background: @purple1; 151 | } 152 | 153 | .purple2 { 154 | color: @purple2; 155 | } 156 | 157 | .purple2-bg { 158 | background: @purple2; 159 | } 160 | 161 | .navy1 { 162 | color: @navy1; 163 | } 164 | 165 | .navy1-bg { 166 | background: @navy1; 167 | } 168 | 169 | .navy2 { 170 | color: @navy2; 171 | } 172 | 173 | .navy2-bg { 174 | background: @navy2; 175 | } 176 | -------------------------------------------------------------------------------- /css/components/_variables.less: -------------------------------------------------------------------------------- 1 | // colour palette 2 | 3 | @black: #000; 4 | @dark-grey: #333; 5 | @grey: #ccc; 6 | @light-grey: #ebebeb; 7 | @off-white: #f5f5f5; 8 | @white: #ffffff; 9 | 10 | @blue1: #3498db; 11 | @blue2: #2980b9; 12 | @red1: #e74c3c; 13 | @red2: #c0392b; 14 | @yellow1: #f1c40f; 15 | @yellow2: #f39c12; 16 | @green1: #2ecc71; 17 | @green2: #27ae60; 18 | @orange1: #e67e22; 19 | @orange2: #d35400; 20 | @aqua1: #1abc9c; 21 | @aqua2: #16a085; 22 | @purple1: #9b59b6; 23 | @purple2: #8e44ad; 24 | @navy1: #34495e; 25 | @navy2: #2c3e50; 26 | 27 | // background colours 28 | @primary-background: @white; 29 | @secondary-background: @off-white; 30 | @third-background: @light-grey; 31 | @fourth-background: @grey; 32 | @inverse-background: @dark-grey; 33 | 34 | // text colours 35 | @primary-text: @dark-grey; 36 | @light-text: @light-grey; 37 | @loud-text: @black; 38 | @inverse-text: @white; 39 | @heading-text: @dark-grey; 40 | 41 | // link colours 42 | @primary-link-color: @blue1; 43 | @primary-link-color-hover: @blue2; 44 | 45 | // primary border properties 46 | @border-color: @light-grey; 47 | @border-size: 1px; 48 | @border-type: solid; 49 | @border-focus: @grey; 50 | @secondary-border-color: @blue1; 51 | 52 | // typography 53 | @body-copy: "Helvetica Neue", helvetica, arial, verdana, sans-serif; 54 | @heading-copy: "Helvetica Neue", helvetica, arial, verdana, sans-serif; 55 | @heading-copy-bold: "Helvetica Neue", helvetica, arial, verdana, sans-serif; 56 | @base-font-size: 14px; 57 | @font-size: 1em; 58 | @base-line-height: 1.5; 59 | 60 | // layout 61 | @margin: 1em; 62 | @padding: 1em; 63 | 64 | // MIXINS 65 | 66 | // round corners or Border radius 67 | .round-corners (@radius: 2px) { 68 | -moz-border-radius: @radius; 69 | -ms-border-radius: @radius; 70 | border-radius: @radius; 71 | } 72 | 73 | // animation transitions 74 | .transition (@transition: background .1s linear) { 75 | -moz-transition: @transition; 76 | -webkit-transition: @transition; 77 | transition: background @transition; 78 | } -------------------------------------------------------------------------------- /css/theme.less: -------------------------------------------------------------------------------- 1 | /* CONTENTS 2 | ///////////////////////////////////// 3 | */ 4 | // 00. LESS 5 | /* 6 | 01. BASE 7 | 02. LAYOUT 8 | 03. MODULES 9 | 04. STATE 10 | 11 | This stylesheet is a starting place. Include your own Base, Layout 12 | Modules, and State styles below. 13 | 14 | This style sheet organization is based on the SMACCS system. 15 | Please visit the following website for more info: http://smacss.com/ 16 | */ 17 | 18 | // Load LESS Library 19 | @import "components/_variables"; 20 | 21 | /**************************** 22 | ///////////////////////////// 23 | 24 | 01. BASE 25 | 26 | All base HTML tags that require styling 27 | 28 | ///////////////////////////// 29 | ****************************/ 30 | 31 | body { 32 | background: @primary-background; 33 | font-family: @body-copy; 34 | font-size: @base-font-size; 35 | line-height: @base-line-height; 36 | color: @primary-text; 37 | } 38 | 39 | ul, 40 | ol { 41 | 42 | } 43 | 44 | li { 45 | 46 | } 47 | 48 | a, a:link, a:visited { 49 | 50 | } 51 | 52 | a:hover { 53 | 54 | } 55 | 56 | p { 57 | 58 | 59 | } 60 | 61 | hr { 62 | 63 | } 64 | 65 | /*************************** 66 | //////////////////////////// 67 | 68 | 02. LAYOUT 69 | 70 | Styles specific to your layout or website 71 | 72 | //////////////////////////// 73 | ***************************/ 74 | 75 | .header { 76 | 77 | } 78 | 79 | .footer { 80 | margin-top: (@padding * 6); 81 | padding-bottom: (@padding * 12); 82 | padding-top: @padding; 83 | border-top: @border-size @border-color @border-type; 84 | color: @light-text; 85 | } 86 | 87 | /*************************** 88 | //////////////////////////// 89 | 90 | 03. MODULES 91 | 92 | Reusable classes or components 93 | 94 | //////////////////////////// 95 | ***************************/ 96 | 97 | @import "components/_colors.less"; 98 | 99 | 100 | /* 101 | 102 | Potential modules you could replace... 103 | 104 | badges 105 | 106 | breadcrumb 107 | 108 | buttons 109 | 110 | button groups 111 | 112 | button dropdowns 113 | 114 | carousel 115 | 116 | code 117 | 118 | collapse 119 | 120 | colors 121 | 122 | dropdown 123 | 124 | forms 125 | 126 | icons 127 | 128 | input groups 129 | 130 | images 131 | 132 | helpers 133 | 134 | jumbotron 135 | 136 | labels 137 | 138 | list group 139 | 140 | media object 141 | 142 | modal 143 | 144 | navs 145 | 146 | navbar 147 | 148 | pager 149 | 150 | page header 151 | 152 | pagination 153 | 154 | panels 155 | 156 | pills 157 | 158 | popover 159 | 160 | progress bars 161 | 162 | scrollspy 163 | 164 | tables 165 | 166 | tabs 167 | 168 | thumbnails 169 | 170 | tooltip 171 | 172 | typography 173 | 174 | well 175 | 176 | 177 | /*************************** 178 | //////////////////////////// 179 | 180 | 04. STATES 181 | 182 | //////////////////////////// 183 | ***************************/ 184 | 185 | /* 186 | 187 | Potential states you could replace... 188 | 189 | alerts 190 | 191 | form validation 192 | 193 | */ -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cardeo/booterator/f78695b3b92f85e0daba01f7f6191262fc1aeb5f/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cardeo/booterator/f78695b3b92f85e0daba01f7f6191262fc1aeb5f/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cardeo/booterator/f78695b3b92f85e0daba01f7f6191262fc1aeb5f/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cardeo/booterator/f78695b3b92f85e0daba01f7f6191262fc1aeb5f/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /index.ejs: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |

A Bootstrap theme generator

5 |

Speeds up production and maintenance of Bootstrap themes. Includes the following:

6 |
    7 |
  • Bootstrap 3.3.1 minified framework.
  • 8 |
  • Node.js & Harp.js integration to generate theme.
  • 9 |
  • LESS compiler built in with Harp.js
  • 10 |
  • LESS variable & mixin library.
  • 11 |
  • Flat color palette.
  • 12 |
  • Development build and production files.
  • 13 |
14 | 15 |

Harp.js

16 |

Install Node and then Harp. Integration allows the following in theme:

17 |
    18 |
  • Parital or include chunks of code.
  • 19 |
  • Global variables.
  • 20 |
  • Layout template files.
  • 21 |
  • LESS compiler built in.
  • 22 |
  • Localhost server built in using Node.
  • 23 |
24 | 25 |

Dependancies

26 | 32 | 33 |

Made in Vancouver by @cardeo

34 |
35 |
36 |
-------------------------------------------------------------------------------- /js/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.2 (http://getbootstrap.com) 3 | * Copyright 2011-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | if("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)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(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.2",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.2",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")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));a&&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"),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=this.sliding=this.interval=this.$active=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.2",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"==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(this.options.trigger).filter('[href="#'+b.id+'"], [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.2",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0,trigger:'[data-toggle="collapse"]'},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":a.extend({},e.data(),{trigger:this});c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=c(d),f={relatedTarget:this};e.hasClass("open")&&(e.trigger(b=a.Event("hide.bs.dropdown",f)),b.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f)))}))}function c(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 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.2",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('