From de5d3496e157c3ab36b6469b114fd16b5c367765 Mon Sep 17 00:00:00 2001 From: Paul-Emmanuel Raoul Date: Tue, 17 Mar 2020 10:58:41 +0000 Subject: [PATCH 1/3] Set up the new theme The new theme is based on freelancer-theme: https://github.com/jeromelachaud/freelancer-theme --- _config.yml | 36 ++--- _data/info.yaml | 17 +++ _data/nav.csv | 3 + _includes/footer.html | 47 ++++++ _includes/head.html | 8 +- _includes/header.html | 14 ++ _includes/js.html | 13 ++ _includes/nav.html | 29 ++++ _layouts/default.html | 8 +- _sass/base.scss | 258 +++++++++++++++++++++++++++++++++ assets/css/front.css | 129 ----------------- assets/css/main.scss | 29 ++++ assets/js/bootstrap.min.js | 6 + assets/js/cbpAnimatedHeader.js | 44 ++++++ assets/js/classie.js | 80 ++++++++++ assets/js/freelancer.js | 37 +++++ assets/js/jquery-1.11.0.js | 4 + assets/js/jquery.easing.min.js | 44 ++++++ index.md | 30 ---- 19 files changed, 649 insertions(+), 187 deletions(-) create mode 100644 _data/info.yaml create mode 100644 _data/nav.csv create mode 100644 _includes/footer.html create mode 100644 _includes/header.html create mode 100644 _includes/js.html create mode 100644 _includes/nav.html create mode 100644 _sass/base.scss delete mode 100644 assets/css/front.css create mode 100644 assets/css/main.scss create mode 100644 assets/js/bootstrap.min.js create mode 100644 assets/js/cbpAnimatedHeader.js create mode 100644 assets/js/classie.js create mode 100644 assets/js/freelancer.js create mode 100644 assets/js/jquery-1.11.0.js create mode 100644 assets/js/jquery.easing.min.js diff --git a/_config.yml b/_config.yml index 706ee1b..14adfb0 100644 --- a/_config.yml +++ b/_config.yml @@ -1,37 +1,25 @@ # Site settings title: Zero Waste Sud Grand Paris -email: sudgrandparis@zerowastefrance.org description: >- # this means to ignore newlines until "baseurl:" Groupe local de Zero Waste France opérant sur le bassin sud-ouest du grand Paris (Malakoff, Vanves, Issy-Les-Moulineaux, Montrouge, Chatillon, Clamart). +keywords: Zero Waste baseurl: "" # the subpath of your site, e.g. /blog url: "https://www.zerowastesgp.fr" # the base hostname & protocol for your site, e.g. http://example.com -github_username: zerowastesgp -facebook_username: ZeroWasteSudGrandParis -instagram_username: zerowaste_sudgrandparis -email: sudgrandparis@zerowastefrance.org -avatar: yes -avatar_img_path: assets/images/main-logo.jpg - -front_img: yes -front_img_path: assets/images/landing-page-landscape.jpg +# Plugins +plugins: + - jekyll-feed + - jekyll-sitemap # Build settings markdown: kramdown -theme: minima -plugins: - - jekyll-feed +excerpt_separator: "" + +sass: + style: compressed -# Exclude from processing. -# The following items will not be processed, by default. Create a custom list -# to override the default setting. -# exclude: -# - Gemfile -# - Gemfile.lock -# - node_modules -# - vendor/bundle/ -# - vendor/cache/ -# - vendor/gems/ -# - vendor/ruby/ +# Outputting +permalink: :year/:month/:day/:title/ +timezone: Europe/Paris diff --git a/_data/info.yaml b/_data/info.yaml new file mode 100644 index 0000000..dc28f91 --- /dev/null +++ b/_data/info.yaml @@ -0,0 +1,17 @@ +address: + - line: Maison de la vie associative + - line: 26 rue Victor Hugo + - line: 92240 Malakoff + +# List of the available icons: https://fontawesome.com/v4.7.0/icons/ +social: + - title: facebook + url: https://www.facebook.com/ZeroWasteSudGrandParis + - title: instagram + url: https://www.instagram.com/zerowaste_sudgrandparis + - title: github + url: https://github.com/zerowastesgp + - title: envelope-o + url: mailto:sudgrandparis@zerowastefrance.org + +copyright: Zero Waste Sud Grand Paris diff --git a/_data/nav.csv b/_data/nav.csv new file mode 100644 index 0000000..4cc080b --- /dev/null +++ b/_data/nav.csv @@ -0,0 +1,3 @@ +name,link +Nous rejoindre,https://www.helloasso.com/associations/zero-waste-sud-grand-paris/adhesions/zero-waste-sgp-cotisations-2020 +Nous soutenir,https://www.helloasso.com/associations/zero-waste-sud-grand-paris/formulaires/1 diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..479302c --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,47 @@ + + + + +
+ + + +
diff --git a/_includes/head.html b/_includes/head.html index c852560..653947f 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -7,6 +7,8 @@ {% if site.favicon_img %} {% endif %} - - - + + + + + diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..c5e474a --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,14 @@ + +
+
+
+
+ +
+
+ {{ site.description }} +
+
+
+
+
diff --git a/_includes/js.html b/_includes/js.html new file mode 100644 index 0000000..1b47ef5 --- /dev/null +++ b/_includes/js.html @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/_includes/nav.html b/_includes/nav.html new file mode 100644 index 0000000..5026eba --- /dev/null +++ b/_includes/nav.html @@ -0,0 +1,29 @@ + + diff --git a/_layouts/default.html b/_layouts/default.html index 3b07842..3b08add 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,7 +3,13 @@ {% include head.html %} - + + {% include nav.html %} + {% include header.html %} + {{ content }} + + {% include footer.html %} + {% include js.html %} diff --git a/_sass/base.scss b/_sass/base.scss new file mode 100644 index 0000000..ba08214 --- /dev/null +++ b/_sass/base.scss @@ -0,0 +1,258 @@ +/*! + * Adapted from Freelancer Bootstrap Theme (http://startbootstrap.com) + * Code licensed under the Apache License v2.0. + * For details, see https://www.apache.org/licenses/LICENSE-2.0. + */ + +body { + overflow-x: hidden; +} + +p { + font-size: 20px; + + &.small { + font-size: 16px; + } +} + +a { + outline: 0; + color: $primary-colour; + + &:hover, &:focus, &:active, &.active { + outline: 0; + color: $primary-colour; + } +} + +h1, h2, h3, h4, h5, h6 { + text-transform: uppercase; + font-family: $headers-fonts; + font-weight: $headers-font-weight; +} + +hr { + &.separator { + margin: 25px auto 30px; + padding: 0; + max-width: 250px; + border: 0; + border-top: solid 5px; + text-align: center; + overflow: visible; + } + + &.separator { + border-color: #fff; + + &:after { + color: #fff; + background-color: $primary-colour; + } + } +} + +.img-centered { + margin: 0 auto; +} + +header { + text-align: center; + color: #fff; + background: $primary-colour; + + .container { + padding-top: 100px; + padding-bottom: 50px; + } + + img { + display: block; + margin: 0 auto 20px; + max-width: 30em; + } + + .intro-text { + .name { + display: block; + text-transform: uppercase; + font-family: $intro-text-fonts; + font-size: $intro-font-size; + font-weight: $intro-text-font-weight; + } + + .sub-text { + font-size: $sub-text-font-size; + font-weight: $sub-text-font-weight; + } + } +} + +@media (min-width: 768px) { + header { + .container { + padding-top: 200px; + padding-bottom: 100px; + } + + .intro-text { + .name { + font-size: $intro-font-size + 2.75; + } + + .sub-text { + font-size: $sub-text-font-size + 0.50; + } + } + } +} + +@media (min-width: 768px) { + .navbar-fixed-top { + padding: 25px 0; + -webkit-transition: padding .3s; + -moz-transition: padding .3s; + transition: padding .3s; + + .navbar-brand { + font-size: 2em; + -webkit-transition: all .3s; + -moz-transition: all .3s; + transition: all .3s; + } + + &.navbar-shrink { + padding: 10px 0; + + .navbar-brand { + font-size: 1.5em; + } + } + } +} + +.navbar { + text-transform: uppercase; + font-family: $navbar-fonts; + font-weight: $navbar-font-weight; + + a:focus { + outline: 0; + } + + .navbar-nav { + letter-spacing: 1px; + + li a:focus { + outline: 0; + } + } +} + +.navbar-default, .navbar-inverse { + border: 0; +} + +section { + padding: 100px 0; + + h2 { + margin: 0; + font-size: 3em; + } + + &.success { + color: #fff; + background: $primary-colour; + } +} + +@media (max-width: 767px) { + section { + padding: 75px 0; + + &.first { + padding-top: 75px; + } + } +} + +.btn-outline { + margin-top: 15px; + border: solid 2px #fff; + font-size: 20px; + color: #fff; + background: 0 0; + transition: all .3s ease-in-out; + + &:hover, &:focus, &:active, &.active { + border: solid 2px #fff; + color: $primary-colour; + background: #fff; + } +} + +footer { + color: #fff; + + h3 { + margin-bottom: 30px; + } + + .footer-above { + padding-top: 50px; + background-color: $secondary-colour; + } + + .footer-col { + margin-bottom: 50px; + } + + .footer-below { + padding: 25px 0; + background-color: $secondary-colour-dark; + } +} + +.btn-social { + display: inline-block; + width: 50px; + height: 50px; + border: 2px solid #fff; + border-radius: 100%; + text-align: center; + font-size: 20px; + line-height: 45px; +} + +.btn { + &:focus, &:active, &.active { + outline: 0; + } +} + +.scroll-top { + z-index: 1049; + position: fixed; + right: 2%; + bottom: 2%; + width: 50px; + height: 50px; + + .btn { + width: 50px; + height: 50px; + border-radius: 100%; + font-size: 20px; + line-height: 28px; + + &:focus { + outline: 0; + } + } +} + +.navbar-nav > .active > a { + background-color: $secondary-colour-dark !important; +} diff --git a/assets/css/front.css b/assets/css/front.css deleted file mode 100644 index 7b1ae20..0000000 --- a/assets/css/front.css +++ /dev/null @@ -1,129 +0,0 @@ -body { - font-family: 'Open Sans',Helvetica,Arial,sans-serif; - background-color: rgba(0, 0, 0, 0.9); - position: absolute; - top: 0; - bottom: 0; - right: 0; - left: 0; - margin: 0; -} -#fullscreen { - z-index: -999; - min-height: 100%; - min-width: 1024px; - width: 100%; - height: auto; - position: fixed; - bottom: 0; - left: 0; -} -#avatar { - height: 180px; - border-radius: 100%; - border: 5px solid white; - margin-bottom: 40px; -} -#description { - width: 50%; - margin: auto; -} -h1 { - color: white; - font-weight: bold; - letter-spacing: 0.1em; - font-size: 4em; - font-family: 'Open Sans'; - margin: -10px 0; -} -h3 { - color: white; - padding-bottom: 20px; - font-weight: thin; -} -.content { - margin-top: 10%; - padding-top: 20px; - padding-bottom: 20px; - background-color: rgba(0, 0, 0, 0.5); - text-align: center; -} -ul { - list-style: none; - padding: 0; -} -li { - border-radius: 100%; - border: 2px solid white; - color: white; - margin: 8px; - display: inline-block; - list-style: none; - width: 65px; - height: 65px; -} -li:hover { - color: white; - text-decoration: none; - -webkit-transition: 500ms; - -moz-transition: 500ms; - transition: 500ms; - text-decoration: none; - background-color: rgba(0, 0, 0, 0.5); -} -a { - color: white; - padding: 15px; - text-decoration: none; -} -.description { - display: none; -} - -@media (max-width: 450px) { - ul { - text-align: center; - } - li { - border-radius: 0%; - border: none; - color: white; - margin: 8px; - display: block; - list-style: none; - margin: 10px 0px; - text-align: center; - height: auto; - width: auto; - } - li:hover { - background-color: none; - transition: none; - } - a { - text-align: justify; - border: 2px solid white; - border-radius: 5px; - color: white; - padding: 15px; - padding-left: 30px; - width: 70%; - } - a:hover { - -webkit-transition: 500ms; - -moz-transition: 500ms; - transition: 500ms; - background-color: rgba(0, 0, 0, 0.5); - color: white; - text-decoration: none; - } - .description { - display: inline-block; - color: white; - font-family: Arial; - margin-left: 40px; - } - .content { - padding-top: 60px; - } -} diff --git a/assets/css/main.scss b/assets/css/main.scss new file mode 100644 index 0000000..ca3032a --- /dev/null +++ b/assets/css/main.scss @@ -0,0 +1,29 @@ +--- +# Front matter comment to ensure Jekyll properly reads file. +--- +@charset "utf-8"; + +// Global variables + +$primary-colour: #18bc9c; +$secondary-colour: #2c3e50; +$secondary-colour-dark: #233140; + +$navbar-fonts: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif; +$navbar-font-weight: 700; + +$headers-fonts: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif; +$headers-font-weight: 700; + +$intro-text-fonts: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif; +$intro-font-size: 2em; +$intro-text-font-weight: 700; + +$sub-text-font-size: 1.25em; +$sub-text-font-weight: 300; + +// Imports + +@import + "base" +; diff --git a/assets/js/bootstrap.min.js b/assets/js/bootstrap.min.js new file mode 100644 index 0000000..7c1561a --- /dev/null +++ b/assets/js/bootstrap.min.js @@ -0,0 +1,6 @@ +/*! + * Bootstrap v3.2.0 (http://getbootstrap.com) + * Copyright 2011-2014 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires 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.2.0",d.prototype.close=function(b){function c(){f.detach().trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",c).emulateTransitionEnd(150):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.2.0",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]()),d[e](null==f[b]?this.options[b]:f[b]),setTimeout(a.proxy(function(){"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")}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()})}(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).on("keydown.bs.carousel",a.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.2.0",c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},c.prototype.keydown=function(a){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.to=function(b){var c=this,d=this.getItemIndex(this.$active=this.$element.find(".item.active"));return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},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,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}if(e.hasClass("active"))return this.sliding=!1;var j=e[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:g});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,f&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(e)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:g});return a.support.transition&&this.$element.hasClass("slide")?(e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one("bsTransitionEnd",function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(1e3*d.css("transition-duration").slice(0,-1))):(d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger(m)),f&&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},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",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(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){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b);!e&&f.toggle&&"show"==b&&(b=!b),e||d.data("bs.collapse",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};c.VERSION="3.2.0",c.DEFAULTS={toggle:!0},c.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},c.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var c=a.Event("show.bs.collapse");if(this.$element.trigger(c),!c.isDefaultPrevented()){var d=this.$parent&&this.$parent.find("> .panel > .in");if(d&&d.length){var e=d.data("bs.collapse");if(e&&e.transitioning)return;b.call(d,"hide"),e||d.data("bs.collapse",null)}var f=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[f](0),this.transitioning=1;var g=function(){this.$element.removeClass("collapsing").addClass("collapse in")[f](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return g.call(this);var h=a.camelCase(["scroll",f].join("-"));this.$element.one("bsTransitionEnd",a.proxy(g,this)).emulateTransitionEnd(350)[f](this.$element[0][h])}}},c.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").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(d,this)).emulateTransitionEnd(350):d.call(this)}}},c.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var d=a.fn.collapse;a.fn.collapse=b,a.fn.collapse.Constructor=c,a.fn.collapse.noConflict=function(){return a.fn.collapse=d,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(c){var d,e=a(this),f=e.attr("data-target")||c.preventDefault()||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""),g=a(f),h=g.data("bs.collapse"),i=h?"toggle":e.data(),j=e.attr("data-parent"),k=j&&a(j);h&&h.transitioning||(k&&k.find('[data-toggle="collapse"][data-parent="'+j+'"]').not(e).addClass("collapsed"),e[g.hasClass("in")?"addClass":"removeClass"]("collapsed")),b.call(g,i)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=c(a(this)),e={relatedTarget:this};d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown",e)),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown",e))}))}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.2.0",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('