From: Jérémy Fabre Date: Fri, 15 Jul 2016 13:00:39 +0000 (+0200) Subject: Update .gitignore X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e46165faab02aab529a5828e19c9e93a1a510076;p=mezzo.git Update .gitignore --- e46165faab02aab529a5828e19c9e93a1a510076 diff --cc .gitignore index 8792948f,8792948f..d52c1e21 --- a/.gitignore +++ b/.gitignore @@@ -44,6 -44,6 +44,9 @@@ buil bower_components node_modules .sass-cache ++app/static/js ++app/static/css ++app/static/img ### SublimeText ### ################### diff --cc app/static/css/index.min.css index c1e0e65f,3d5bf329..00000000 deleted file mode 100644,100644 --- a/app/static/css/index.min.css +++ /dev/null @@@ -1,2051 -1,2 +1,0 @@@ - @charset "UTF-8"; - html { - font-size: 100%; - line-height: 1.5em; - } - @media print { - html { - font-size: 12pt; - } - } - - html, body { - box-sizing: border-box; - margin: 0; - padding: 0; - } - - *, - *:before, - *:after { - box-sizing: inherit; - } - - a { - outline: none; - color: #000; - text-decoration: inherit; - } - - img { - max-width: 100%; - height: auto; - } - - body { - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - color: #000; - font-family: "Merriweather", serif; - } - - ::-moz-selection { - background: #000; - color: #fff; - } - - ::selection { - background: #000; - color: #fff; - } - - ::-moz-selection { - background: #000; - color: #fff; - } - - h1, h2, h3 { - margin: 0; - } - - h1 { - font-size: 42px; - font-size: 2.625rem; - line-height: 48px; - line-height: 3rem; - font-weight: 700; - font-family: "Oswald", sans-serif; - margin-bottom: 24px; - margin-bottom: 1.5rem; - margin-top: 24px; - margin-top: 1.5rem; - } - - h2 { - font-size: 30px; - font-size: 1.875rem; - line-height: 36px; - line-height: 2.25rem; - font-weight: 400; - font-family: "Oswald", sans-serif; - margin-bottom: 48px; - margin-bottom: 3rem; - margin-top: 24px; - margin-top: 1.5rem; - } - h2 + .chapo { - margin-top: 0px; - margin-top: 0; - margin-bottom: 24px; - margin-bottom: 1.5rem; - } - - p { - margin-top: 0px; - margin-top: 0; - margin-bottom: 24px; - margin-bottom: 1.5rem; - line-height: 30px; - line-height: 1.875rem; - font-family: "Merriweather", serif; - } - p a:not(.button) { - position: relative; - z-index: 1; - } - p a:not(.button):after { - -webkit-transition: all 0.15s ease-in-out; - transition: all 0.15s ease-in-out; - content: ""; - display: block; - position: absolute; - left: 0; - right: 0; - bottom: 0; - height: 1px; - background: #C3C3C3; - z-index: -1; - } - p a:not(.button):hover:after { - bottom: 0; - background: #F8E71C; - height: 100%; - } - - hr { - border: 0; - border-top: 1px solid black; - height: 11px; - background-color: #F8E71C; - margin: 120px 0px 48px 0px; - margin: 7.5rem 0 3rem 0; - } - - figure { - margin: 0; - } - figure figcaption { - text-align: center; - width: 300px; - margin: 0 auto; - display: block; - margin-top: 6px; - margin-top: 0.375rem; - font-size: 12px; - font-size: 0.75rem; - line-height: 18px; - line-height: 1.125rem; - font-family: "Merriweather", serif; - font-weight: 300; - } - figure img { - display: block; - } - - .chapo { - font-size: 20px; - font-size: 1.25rem; - line-height: 30px; - line-height: 1.875rem; - font-family: "Merriweather", serif; - margin-top: 120px; - margin-top: 7.5rem; - margin-bottom: 72px; - margin-bottom: 4.5rem; - font-weight: 900; - } - - .button { - border: 0; - outline: 0; - background: none; - font-size: 20px; - font-size: 1.25rem; - line-height: 24px; - line-height: 1.5rem; - font-family: "Oswald", sans-serif; - padding: 6px 24px; - padding: 0.375rem 1.5rem; - margin: 0px; - margin: 0; - font-weight: 300; - background: #F8E71C; - display: inline-block; - vertical-align: middle; - cursor: pointer; - -webkit-transition: all 0.25s ease-in-out; - transition: all 0.25s ease-in-out; - } - .button:hover { - background: black; - color: #F8E71C; - } - .button--small { - font-size: 16px; - font-size: 1rem; - padding: 4.32px 24px; - padding: 0.27rem 1.5rem; - } - .button--xsmall { - font-size: 14px; - font-size: 0.875rem; - padding: 3px 12px; - padding: 0.1875rem 0.75rem; - } - .button--block { - display: block; - text-align: center; - margin: 0px 0px 24px 0px; - margin: 0 0 1.5rem 0; - } - - .m1 { - margin: 24px; - margin: 1.5rem; - } - - .mt1 { - margin-top: 24px; - margin-top: 1.5rem; - } - - .mb1 { - margin-bottom: 24px; - margin-bottom: 1.5rem; - } - - .mr1 { - margin-right: 24px; - margin-right: 1.5rem; - } - - .ml1 { - margin-left: 24px; - margin-left: 1.5rem; - } - - .p1 { - padding: 24px; - padding: 1.5rem; - } - - .pt1 { - padding-top: 24px; - padding-top: 1.5rem; - } - - .pb1 { - padding-bottom: 24px; - padding-bottom: 1.5rem; - } - - .pr1 { - padding-right: 24px; - padding-right: 1.5rem; - } - - .pl1 { - padding-left: 24px; - padding-left: 1.5rem; - } - - .bg { - background-color: #F8E71C; - } - - .tac { - text-align: center; - } - - .tar { - text-align: right; - } - - .tal { - text-align: left; - } - - @media (max-width: 46.99em) { - .hide-xxs { - display: none; - } - } - - @media (max-width: 60.74em) { - .hide-xs { - display: none; - } - } - - @media (max-width: 66.99em) { - .hide-sm { - display: none; - } - } - - @media (max-width: 85.74em) { - .hide-md { - display: none; - } - } - - @media (min-width: 85.75em) { - .hide-lg { - display: none; - } - } - - .section { - margin-top: 96px; - margin-top: 6rem; - } - .section:first-child { - margin-top: 0; - } - - /* Base container properties */ - .container, .container-fluid, .container-full, .container-fixed { - margin-right: auto; - margin-left: auto; - padding-left: 30px; - padding-right: 30px; - } - @media screen and (max-width: 1072px) { - .container, .container-fluid, .container-full, .container-fixed { - padding-left: 15px; - padding-right: 15px; - } - } - - /* Base column properties */ - .col-xxs-0, .col-xxs-1, .col-xxs-2, .col-xxs-3, .col-xxs-4, .col-xxs-5, .col-xxs-6, .col-xxs-7, .col-xxs-8, .col-xxs-9, .col-xxs-10, .col-xxs-11, .col-xxs-12, .col-xs-0, .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12, .col-sm-0, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-md-0, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-lg-0, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { - box-sizing: border-box; - position: relative; - width: 100%; - padding-left: 15px; - padding-right: 15px; - min-height: 1px; - float: left; - } - - /* Set box-sizing */ - .container, - .row, - .row:after, - .row:before { - box-sizing: border-box; - } - - /* Container */ - .container { - max-width: 972px; - } - .container-full { - padding-left: 0; - padding-right: 0; - } - .container-fixed { - width: 1020px; - } - @media screen and (min-width: 1072px) { - .container { - max-width: 1072px; - } - } - @media screen and (min-width: 1372px) { - .container { - max-width: 1372px; - } - } - - /* Clearfix & box-model + list-style reset for ul support */ - .row { - *zoom: 1; - list-style: none; - margin: 0; - padding: 0; - border: 0; - margin-left: -15px; - margin-right: -15px; - /* Nested grid */ - } - .row:after { - content: ""; - display: table; - clear: both; - } - .row > .row { - clear: none; - float: left; - margin: 0 !important; - } - - /* Generate columns */ - @media screen and (min-width: 0) { - .col-xxs-0 { - width: 0%; - } - - .col-xxs-push-0 { - left: 0%; - } - - .col-xxs-pull-0 { - right: 0%; - } - - .col-xxs-offset-0 { - margin-left: 0%; - } - - .col-xxs-1 { - width: 8.33333%; - } - - .col-xxs-push-1 { - left: 8.33333%; - } - - .col-xxs-pull-1 { - right: 8.33333%; - } - - .col-xxs-offset-1 { - margin-left: 8.33333%; - } - - .col-xxs-2 { - width: 16.66667%; - } - - .col-xxs-push-2 { - left: 16.66667%; - } - - .col-xxs-pull-2 { - right: 16.66667%; - } - - .col-xxs-offset-2 { - margin-left: 16.66667%; - } - - .col-xxs-3 { - width: 25%; - } - - .col-xxs-push-3 { - left: 25%; - } - - .col-xxs-pull-3 { - right: 25%; - } - - .col-xxs-offset-3 { - margin-left: 25%; - } - - .col-xxs-4 { - width: 33.33333%; - } - - .col-xxs-push-4 { - left: 33.33333%; - } - - .col-xxs-pull-4 { - right: 33.33333%; - } - - .col-xxs-offset-4 { - margin-left: 33.33333%; - } - - .col-xxs-5 { - width: 41.66667%; - } - - .col-xxs-push-5 { - left: 41.66667%; - } - - .col-xxs-pull-5 { - right: 41.66667%; - } - - .col-xxs-offset-5 { - margin-left: 41.66667%; - } - - .col-xxs-6 { - width: 50%; - } - - .col-xxs-push-6 { - left: 50%; - } - - .col-xxs-pull-6 { - right: 50%; - } - - .col-xxs-offset-6 { - margin-left: 50%; - } - - .col-xxs-7 { - width: 58.33333%; - } - - .col-xxs-push-7 { - left: 58.33333%; - } - - .col-xxs-pull-7 { - right: 58.33333%; - } - - .col-xxs-offset-7 { - margin-left: 58.33333%; - } - - .col-xxs-8 { - width: 66.66667%; - } - - .col-xxs-push-8 { - left: 66.66667%; - } - - .col-xxs-pull-8 { - right: 66.66667%; - } - - .col-xxs-offset-8 { - margin-left: 66.66667%; - } - - .col-xxs-9 { - width: 75%; - } - - .col-xxs-push-9 { - left: 75%; - } - - .col-xxs-pull-9 { - right: 75%; - } - - .col-xxs-offset-9 { - margin-left: 75%; - } - - .col-xxs-10 { - width: 83.33333%; - } - - .col-xxs-push-10 { - left: 83.33333%; - } - - .col-xxs-pull-10 { - right: 83.33333%; - } - - .col-xxs-offset-10 { - margin-left: 83.33333%; - } - - .col-xxs-11 { - width: 91.66667%; - } - - .col-xxs-push-11 { - left: 91.66667%; - } - - .col-xxs-pull-11 { - right: 91.66667%; - } - - .col-xxs-offset-11 { - margin-left: 91.66667%; - } - - .col-xxs-12 { - width: 100%; - } - - .col-xxs-push-12 { - left: 100%; - } - - .col-xxs-pull-12 { - right: 100%; - } - - .col-xxs-offset-12 { - margin-left: 100%; - } - } - @media screen and (min-width: 752px) { - .col-xs-0 { - width: 0%; - } - - .col-xs-push-0 { - left: 0%; - } - - .col-xs-pull-0 { - right: 0%; - } - - .col-xs-offset-0 { - margin-left: 0%; - } - - .col-xs-1 { - width: 8.33333%; - } - - .col-xs-push-1 { - left: 8.33333%; - } - - .col-xs-pull-1 { - right: 8.33333%; - } - - .col-xs-offset-1 { - margin-left: 8.33333%; - } - - .col-xs-2 { - width: 16.66667%; - } - - .col-xs-push-2 { - left: 16.66667%; - } - - .col-xs-pull-2 { - right: 16.66667%; - } - - .col-xs-offset-2 { - margin-left: 16.66667%; - } - - .col-xs-3 { - width: 25%; - } - - .col-xs-push-3 { - left: 25%; - } - - .col-xs-pull-3 { - right: 25%; - } - - .col-xs-offset-3 { - margin-left: 25%; - } - - .col-xs-4 { - width: 33.33333%; - } - - .col-xs-push-4 { - left: 33.33333%; - } - - .col-xs-pull-4 { - right: 33.33333%; - } - - .col-xs-offset-4 { - margin-left: 33.33333%; - } - - .col-xs-5 { - width: 41.66667%; - } - - .col-xs-push-5 { - left: 41.66667%; - } - - .col-xs-pull-5 { - right: 41.66667%; - } - - .col-xs-offset-5 { - margin-left: 41.66667%; - } - - .col-xs-6 { - width: 50%; - } - - .col-xs-push-6 { - left: 50%; - } - - .col-xs-pull-6 { - right: 50%; - } - - .col-xs-offset-6 { - margin-left: 50%; - } - - .col-xs-7 { - width: 58.33333%; - } - - .col-xs-push-7 { - left: 58.33333%; - } - - .col-xs-pull-7 { - right: 58.33333%; - } - - .col-xs-offset-7 { - margin-left: 58.33333%; - } - - .col-xs-8 { - width: 66.66667%; - } - - .col-xs-push-8 { - left: 66.66667%; - } - - .col-xs-pull-8 { - right: 66.66667%; - } - - .col-xs-offset-8 { - margin-left: 66.66667%; - } - - .col-xs-9 { - width: 75%; - } - - .col-xs-push-9 { - left: 75%; - } - - .col-xs-pull-9 { - right: 75%; - } - - .col-xs-offset-9 { - margin-left: 75%; - } - - .col-xs-10 { - width: 83.33333%; - } - - .col-xs-push-10 { - left: 83.33333%; - } - - .col-xs-pull-10 { - right: 83.33333%; - } - - .col-xs-offset-10 { - margin-left: 83.33333%; - } - - .col-xs-11 { - width: 91.66667%; - } - - .col-xs-push-11 { - left: 91.66667%; - } - - .col-xs-pull-11 { - right: 91.66667%; - } - - .col-xs-offset-11 { - margin-left: 91.66667%; - } - - .col-xs-12 { - width: 100%; - } - - .col-xs-push-12 { - left: 100%; - } - - .col-xs-pull-12 { - right: 100%; - } - - .col-xs-offset-12 { - margin-left: 100%; - } - } - @media screen and (min-width: 972px) { - .col-sm-0 { - width: 0%; - } - - .col-sm-push-0 { - left: 0%; - } - - .col-sm-pull-0 { - right: 0%; - } - - .col-sm-offset-0 { - margin-left: 0%; - } - - .col-sm-1 { - width: 8.33333%; - } - - .col-sm-push-1 { - left: 8.33333%; - } - - .col-sm-pull-1 { - right: 8.33333%; - } - - .col-sm-offset-1 { - margin-left: 8.33333%; - } - - .col-sm-2 { - width: 16.66667%; - } - - .col-sm-push-2 { - left: 16.66667%; - } - - .col-sm-pull-2 { - right: 16.66667%; - } - - .col-sm-offset-2 { - margin-left: 16.66667%; - } - - .col-sm-3 { - width: 25%; - } - - .col-sm-push-3 { - left: 25%; - } - - .col-sm-pull-3 { - right: 25%; - } - - .col-sm-offset-3 { - margin-left: 25%; - } - - .col-sm-4 { - width: 33.33333%; - } - - .col-sm-push-4 { - left: 33.33333%; - } - - .col-sm-pull-4 { - right: 33.33333%; - } - - .col-sm-offset-4 { - margin-left: 33.33333%; - } - - .col-sm-5 { - width: 41.66667%; - } - - .col-sm-push-5 { - left: 41.66667%; - } - - .col-sm-pull-5 { - right: 41.66667%; - } - - .col-sm-offset-5 { - margin-left: 41.66667%; - } - - .col-sm-6 { - width: 50%; - } - - .col-sm-push-6 { - left: 50%; - } - - .col-sm-pull-6 { - right: 50%; - } - - .col-sm-offset-6 { - margin-left: 50%; - } - - .col-sm-7 { - width: 58.33333%; - } - - .col-sm-push-7 { - left: 58.33333%; - } - - .col-sm-pull-7 { - right: 58.33333%; - } - - .col-sm-offset-7 { - margin-left: 58.33333%; - } - - .col-sm-8 { - width: 66.66667%; - } - - .col-sm-push-8 { - left: 66.66667%; - } - - .col-sm-pull-8 { - right: 66.66667%; - } - - .col-sm-offset-8 { - margin-left: 66.66667%; - } - - .col-sm-9 { - width: 75%; - } - - .col-sm-push-9 { - left: 75%; - } - - .col-sm-pull-9 { - right: 75%; - } - - .col-sm-offset-9 { - margin-left: 75%; - } - - .col-sm-10 { - width: 83.33333%; - } - - .col-sm-push-10 { - left: 83.33333%; - } - - .col-sm-pull-10 { - right: 83.33333%; - } - - .col-sm-offset-10 { - margin-left: 83.33333%; - } - - .col-sm-11 { - width: 91.66667%; - } - - .col-sm-push-11 { - left: 91.66667%; - } - - .col-sm-pull-11 { - right: 91.66667%; - } - - .col-sm-offset-11 { - margin-left: 91.66667%; - } - - .col-sm-12 { - width: 100%; - } - - .col-sm-push-12 { - left: 100%; - } - - .col-sm-pull-12 { - right: 100%; - } - - .col-sm-offset-12 { - margin-left: 100%; - } - } - @media screen and (min-width: 1072px) { - .col-md-0 { - width: 0%; - } - - .col-md-push-0 { - left: 0%; - } - - .col-md-pull-0 { - right: 0%; - } - - .col-md-offset-0 { - margin-left: 0%; - } - - .col-md-1 { - width: 8.33333%; - } - - .col-md-push-1 { - left: 8.33333%; - } - - .col-md-pull-1 { - right: 8.33333%; - } - - .col-md-offset-1 { - margin-left: 8.33333%; - } - - .col-md-2 { - width: 16.66667%; - } - - .col-md-push-2 { - left: 16.66667%; - } - - .col-md-pull-2 { - right: 16.66667%; - } - - .col-md-offset-2 { - margin-left: 16.66667%; - } - - .col-md-3 { - width: 25%; - } - - .col-md-push-3 { - left: 25%; - } - - .col-md-pull-3 { - right: 25%; - } - - .col-md-offset-3 { - margin-left: 25%; - } - - .col-md-4 { - width: 33.33333%; - } - - .col-md-push-4 { - left: 33.33333%; - } - - .col-md-pull-4 { - right: 33.33333%; - } - - .col-md-offset-4 { - margin-left: 33.33333%; - } - - .col-md-5 { - width: 41.66667%; - } - - .col-md-push-5 { - left: 41.66667%; - } - - .col-md-pull-5 { - right: 41.66667%; - } - - .col-md-offset-5 { - margin-left: 41.66667%; - } - - .col-md-6 { - width: 50%; - } - - .col-md-push-6 { - left: 50%; - } - - .col-md-pull-6 { - right: 50%; - } - - .col-md-offset-6 { - margin-left: 50%; - } - - .col-md-7 { - width: 58.33333%; - } - - .col-md-push-7 { - left: 58.33333%; - } - - .col-md-pull-7 { - right: 58.33333%; - } - - .col-md-offset-7 { - margin-left: 58.33333%; - } - - .col-md-8 { - width: 66.66667%; - } - - .col-md-push-8 { - left: 66.66667%; - } - - .col-md-pull-8 { - right: 66.66667%; - } - - .col-md-offset-8 { - margin-left: 66.66667%; - } - - .col-md-9 { - width: 75%; - } - - .col-md-push-9 { - left: 75%; - } - - .col-md-pull-9 { - right: 75%; - } - - .col-md-offset-9 { - margin-left: 75%; - } - - .col-md-10 { - width: 83.33333%; - } - - .col-md-push-10 { - left: 83.33333%; - } - - .col-md-pull-10 { - right: 83.33333%; - } - - .col-md-offset-10 { - margin-left: 83.33333%; - } - - .col-md-11 { - width: 91.66667%; - } - - .col-md-push-11 { - left: 91.66667%; - } - - .col-md-pull-11 { - right: 91.66667%; - } - - .col-md-offset-11 { - margin-left: 91.66667%; - } - - .col-md-12 { - width: 100%; - } - - .col-md-push-12 { - left: 100%; - } - - .col-md-pull-12 { - right: 100%; - } - - .col-md-offset-12 { - margin-left: 100%; - } - } - @media screen and (min-width: 1372px) { - .col-lg-0 { - width: 0%; - } - - .col-lg-push-0 { - left: 0%; - } - - .col-lg-pull-0 { - right: 0%; - } - - .col-lg-offset-0 { - margin-left: 0%; - } - - .col-lg-1 { - width: 8.33333%; - } - - .col-lg-push-1 { - left: 8.33333%; - } - - .col-lg-pull-1 { - right: 8.33333%; - } - - .col-lg-offset-1 { - margin-left: 8.33333%; - } - - .col-lg-2 { - width: 16.66667%; - } - - .col-lg-push-2 { - left: 16.66667%; - } - - .col-lg-pull-2 { - right: 16.66667%; - } - - .col-lg-offset-2 { - margin-left: 16.66667%; - } - - .col-lg-3 { - width: 25%; - } - - .col-lg-push-3 { - left: 25%; - } - - .col-lg-pull-3 { - right: 25%; - } - - .col-lg-offset-3 { - margin-left: 25%; - } - - .col-lg-4 { - width: 33.33333%; - } - - .col-lg-push-4 { - left: 33.33333%; - } - - .col-lg-pull-4 { - right: 33.33333%; - } - - .col-lg-offset-4 { - margin-left: 33.33333%; - } - - .col-lg-5 { - width: 41.66667%; - } - - .col-lg-push-5 { - left: 41.66667%; - } - - .col-lg-pull-5 { - right: 41.66667%; - } - - .col-lg-offset-5 { - margin-left: 41.66667%; - } - - .col-lg-6 { - width: 50%; - } - - .col-lg-push-6 { - left: 50%; - } - - .col-lg-pull-6 { - right: 50%; - } - - .col-lg-offset-6 { - margin-left: 50%; - } - - .col-lg-7 { - width: 58.33333%; - } - - .col-lg-push-7 { - left: 58.33333%; - } - - .col-lg-pull-7 { - right: 58.33333%; - } - - .col-lg-offset-7 { - margin-left: 58.33333%; - } - - .col-lg-8 { - width: 66.66667%; - } - - .col-lg-push-8 { - left: 66.66667%; - } - - .col-lg-pull-8 { - right: 66.66667%; - } - - .col-lg-offset-8 { - margin-left: 66.66667%; - } - - .col-lg-9 { - width: 75%; - } - - .col-lg-push-9 { - left: 75%; - } - - .col-lg-pull-9 { - right: 75%; - } - - .col-lg-offset-9 { - margin-left: 75%; - } - - .col-lg-10 { - width: 83.33333%; - } - - .col-lg-push-10 { - left: 83.33333%; - } - - .col-lg-pull-10 { - right: 83.33333%; - } - - .col-lg-offset-10 { - margin-left: 83.33333%; - } - - .col-lg-11 { - width: 91.66667%; - } - - .col-lg-push-11 { - left: 91.66667%; - } - - .col-lg-pull-11 { - right: 91.66667%; - } - - .col-lg-offset-11 { - margin-left: 91.66667%; - } - - .col-lg-12 { - width: 100%; - } - - .col-lg-push-12 { - left: 100%; - } - - .col-lg-pull-12 { - right: 100%; - } - - .col-lg-offset-12 { - margin-left: 100%; - } - } - .header__pre { - background: #1D1D1B; - height: 34px; - color: white; - } - - .nav-actions { - list-style-type: none; - margin: 0; - padding: 0; - text-align: center; - } - .nav-actions__item { - display: inline-block; - color: white; - text-transform: lowercase; - margin: 0px 12px; - margin: 0 0.75rem; - } - .nav-actions__item:nth-child(1), .nav-actions__item:nth-child(2) { - color: #F8E71C; - } - .nav-actions__item:nth-child(2):after { - content: '|'; - display: inline-block; - margin: 0px 0px 0px 24px; - margin: 0 0 0 1.5rem; - color: white; - } - .nav-actions__item-link { - color: inherit; - text-decoration: none; - font-size: 16px; - font-size: 1rem; - line-height: 34px; - line-height: 2.125rem; - font-family: "Oswald", sans-serif; - } - - .breadcrumb { - list-style-type: none; - margin: 0; - padding: 0; - overflow: hidden; - *zoom: 1; - font-size: 12px; - font-size: 0.75rem; - line-height: 24px; - line-height: 1.5rem; - font-family: "Merriweather", serif; - font-weight: 300; - } - .breadcrumb__item { - float: left; - margin-right: 6px; - margin-right: 0.375rem; - } - .breadcrumb__item:after { - content: '|'; - display: block; - float: right; - margin-left: 6px; - margin-left: 0.375rem; - } - .breadcrumb__item:last-child { - font-weight: 700; - } - .breadcrumb__item:last-child:after { - display: none; - } - .breadcrumb__link { - text-decoration: none; - } - .breadcrumb__link:hover { - border-bottom: 1px solid black; - } - - .dashed { - position: relative; - display: inline-block; - z-index: 1; - padding-right: 48px; - padding-right: 3rem; - } - .dashed:before { - content: '.'; - } - .dashed:after { - position: absolute; - height: 40%; - width: 100%; - display: block; - top: 30%; - left: 0; - content: ""; - background: #F8E71C; - z-index: -1; - } - .dashed--gray:after { - background: #C3C3C3; - } - - .dotted { - position: relative; - display: inline-block; - z-index: 1; - } - .dotted:before { - content: '.'; - } - - .tag { - display: inline-block; - background: white; - font-size: 20px; - font-size: 1.25rem; - line-height: 33.6px; - line-height: 2.1rem; - font-family: "Oswald", sans-serif; - font-weight: 400; - } - .tag--small { - font-size: 14px; - font-size: 0.875rem; - line-height: 24px; - line-height: 1.5rem; - padding-right: 12px; - padding-right: 0.75rem; - } - .tag--xsmall { - font-size: 12px; - font-size: 0.75rem; - line-height: 24px; - line-height: 1.5rem; - padding-right: 6px; - padding-right: 0.375rem; - } - .tag--category { - background: black; - color: white; - padding-left: 12px; - padding-left: 0.75rem; - padding-right: 12px; - padding-right: 0.75rem; - } - .tag + .tag { - margin-left: -0.25em; - } - - .blockquote { - margin: 0; - padding: 0; - font-size: 20px; - font-size: 1.25rem; - line-height: 36px; - line-height: 2.25rem; - font-family: "Merriweather", serif; - margin-top: 72px; - margin-top: 4.5rem; - margin-bottom: 72px; - margin-bottom: 4.5rem; - margin-left: 24px; - margin-left: 1.5rem; - padding-left: 24px; - padding-left: 1.5rem; - font-weight: 900; - position: relative; - } - .blockquote:before { - content: ""; - display: block; - width: 1px; - height: 100%; - position: absolute; - background: black; - top: 0; - left: 0; - } - .blockquote--small { - margin-left: 12px; - margin-left: 0.75rem; - padding-left: 12px; - padding-left: 0.75rem; - font-weight: 400; - font-size: 16px; - font-size: 1rem; - line-height: 30px; - line-height: 1.875rem; - } - - .well { - width: 100%; - background: #F8E71C; - padding: 48px 0px; - padding: 3rem 0; - margin: 0px 0px 24px 0px; - margin: 0 0 1.5rem 0; - font-size: 25px; - font-size: 1.5625rem; - line-height: 40.8px; - line-height: 2.55rem; - font-family: "Oswald", sans-serif; - font-weight: 300; - } - - .pattern { - position: relative; - } - .pattern:after { - content: ""; - display: block; - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; - background-repeat: repeat; - background-position: top left; - opacity: 0.2; - } - .pattern--creation:after { - background-image: url(../img/patterns/creation.png); - } - .pattern--innovation:after { - background-image: url(../img/patterns/innovation.png); - } - .pattern--recherche:after { - background-image: url(../img/patterns/recherche.png); - } - .pattern--transmission:after { - background-image: url(../img/patterns/transmission.png); - } - - .flash { - background: #F8E71C; - overflow: hidden; - *zoom: 1; - } - .flash__title { - float: left; - } - .flash__text { - float: left; - } - - .article-box { - position: relative; - background: white; - display: block; - margin-bottom: 24px; - margin-bottom: 1.5rem; - -webkit-transition: all 0.25s ease-in-out; - transition: all 0.25s ease-in-out; - } - .article-box:hover { - box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.17); - } - .article-box:hover .article-box__image:after { - border-width: 12px; - } - .article-box__header { - position: relative; - } - .article-box__image { - margin: 0; - padding: 0; - width: 100%; - position: relative; - } - .article-box__image img { - display: block; - width: 100%; - max-width: 100%; - height: auto; - } - .article-box__image:after { - content: ''; - display: block; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - border-width: 0px; - border-color: white; - border-style: solid; - -webkit-transition: all 0.25s ease-in-out; - transition: all 0.25s ease-in-out; - } - .article-box__tags { - position: absolute; - bottom: 0; - left: 0; - margin-bottom: 13.2px; - margin-bottom: 0.825rem; - } - .article-box__btn { - position: absolute; - bottom: 0; - right: 0; - margin-bottom: 12px; - margin-bottom: 0.75rem; - margin-right: 12px; - margin-right: 0.75rem; - } - .article-box__content { - padding: 6px 6px 24px 6px; - padding: 0.375rem 0.375rem 1.5rem 0.375rem; - position: relative; - height: 250px; - overflow: hidden; - } - @media (max-width: 46.99em) { - .article-box__content { - height: auto; - } - } - .article-box__content:after { - content: ""; - display: block; - position: absolute; - bottom: 0; - left: 0; - right: 0; - height: 100px; - background-color: rgba(255, 255, 255, 0); - *zoom: 1; - filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFFFFFFF', endColorstr='#FFFFFFFF'); - background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjAiLz48c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='); - background-size: 100%; - background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, #ffffff)); - background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #ffffff 50%); - background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 50%); - } - @media (max-width: 46.99em) { - .article-box__content:after { - display: none; - } - } - .article-box__title { - font-size: 25px; - font-size: 1.5625rem; - line-height: 30px; - line-height: 1.875rem; - font-family: "Oswald", sans-serif; - margin: 0px 0px 6px 0px; - margin: 0 0 0.375rem 0; - } - .article-box__subtitle { - font-size: 14px; - font-size: 0.875rem; - line-height: 18px; - line-height: 1.125rem; - font-family: "Merriweather", serif; - margin-top: 6px; - margin-top: 0.375rem; - font-weight: 400; - } - .article-box__desc { - font-size: 14px; - font-size: 0.875rem; - line-height: 18px; - line-height: 1.125rem; - font-family: "Merriweather", serif; - margin: 24px 0px 6px 0px; - margin: 1.5rem 0 0.375rem 0; - font-weight: 300; - } - .article-box--small .article-box__content { - height: auto; - } - .article-box--small .article-box__content:after { - display: none; - } - .article-box--small .article-box__btn { - display: none; - } - - .lSAction > a { - background: white; - width: 45px; - height: 53px; - padding: 0; - text-align: center; - display: block; - -webkit-transform: translate(0, -50%); - transform: translate(0, -50%); - } - .lSAction > a:before { - display: inline-block; - font-family: 'fontawesome'; - font-size: 20px; - line-height: 53px; - opacity: .75; - color: black; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - } - .lSAction > a.lSNext { - right: 0; - } - .lSAction > a.lSNext:before { - content: '\f105'; - } - .lSAction > a.lSPrev { - left: 0; - } - .lSAction > a.lSPrev:before { - content: '\f104'; - } - - .slick-prev:before { - content: '\f104'; - } - - [dir='rtl'] .slick-prev:before { - content: '\f105'; - } - - .slick-slide img { - margin: 0 auto; - } - - .slick-slide figure { - margin: 0 auto; - } - - /* Slider */ - .slick-loading .slick-list { - background: #fff url("./ajax-loader.gif") center center no-repeat; - } - - /* Icons */ - @font-face { - font-family: 'slick'; - font-weight: normal; - font-style: normal; - src: url("./fonts/slick.eot"); - src: url("./fonts/slick.eot?#iefix") format("embedded-opentype"), url("./fonts/slick.woff") format("woff"), url("./fonts/slick.ttf") format("truetype"), url("./fonts/slick.svg#slick") format("svg"); - } - /* Arrows */ - .slick-prev, - .slick-next { - font-size: 0; - line-height: 0; - position: absolute; - top: 50%; - display: block; - z-index: 2; - width: 45px; - height: 53px; - padding: 0; - -webkit-transform: translate(0, -50%); - transform: translate(0, -50%); - cursor: pointer; - color: transparent; - border: none; - outline: none; - background: rgba(255, 255, 255, 0.5); - -webkit-transition: all 0.2s ease; - transition: all 0.2s ease; - } - - .slick-prev:hover, - .slick-next:hover { - color: transparent; - outline: none; - background: white; - width: 50px; - } - - .slick-prev:hover:before, - .slick-next:hover:before { - opacity: 1; - } - - .slick-prev:hover:before { - -webkit-transform: translateX(5px); - transform: translateX(5px); - } - - .slick-next:hover:before { - -webkit-transform: translateX(-5px); - transform: translateX(-5px); - } - - .slick-prev.slick-disabled:before, - .slick-next.slick-disabled:before { - opacity: .25; - } - - .slick-prev:before, - .slick-next:before { - -webkit-transition: all 0.2s ease; - transition: all 0.2s ease; - display: inline-block; - font-family: 'fontawesome'; - font-size: 20px; - line-height: 1; - opacity: .75; - color: black; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - } - - .slick-prev { - left: 0px; - } - - [dir='rtl'] .slick-prev { - right: 0px; - left: auto; - } - - .slick-prev:before { - content: '\f104'; - } - - [dir='rtl'] .slick-prev:before { - content: '\f105'; - } - - .slick-next { - right: 0px; - } - - [dir='rtl'] .slick-next { - right: auto; - left: 0px; - } - - .slick-next:before { - content: '\f105'; - } - - [dir='rtl'] .slick-next:before { - content: ""; - } - - /* Dots */ - .slick-dotted.slick-slider { - margin-bottom: 30px; - } - - .slick-dots { - position: absolute; - bottom: -25px; - display: block; - width: 100%; - padding: 0; - margin: 0; - list-style: none; - text-align: center; - } - - .slick-dots li { - position: relative; - display: inline-block; - width: 20px; - height: 20px; - margin: 0 5px; - padding: 0; - cursor: pointer; - } - - .slick-dots li button { - font-size: 0; - line-height: 0; - display: block; - width: 20px; - height: 20px; - padding: 5px; - cursor: pointer; - color: transparent; - border: 0; - outline: none; - background: transparent; - } - - .slick-dots li button:hover, - .slick-dots li button:focus { - outline: none; - } - - .slick-dots li button:hover:before, - .slick-dots li button:focus:before { - opacity: 1; - } - - .slick-dots li button:before { - font-family: 'slick'; - font-size: 6px; - line-height: 20px; - position: absolute; - top: 0; - left: 0; - width: 20px; - height: 20px; - content: '•'; - text-align: center; - opacity: .25; - color: black; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - } - - .slick-dots li.slick-active button:before { - opacity: .75; - color: black; - } - -@charset "UTF-8";html{font-size:100%;line-height:1.5em}@media print{html{font-size:12pt}}body,html{box-sizing:border-box;margin:0;padding:0}*,:after,:before{box-sizing:inherit}a{outline:none;color:#000;text-decoration:inherit}img{max-width:100%;height:auto}body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#000;font-family:Merriweather,serif}::selection{background:#000;color:#fff}::-moz-selection{background:#000;color:#fff}h1,h2,h3{margin:0}h1{font-size:42px;font-size:2.625rem;line-height:48px;line-height:3rem;font-weight:700;margin-bottom:24px;margin-bottom:1.5rem}h1,h2{font-family:Oswald,sans-serif;margin-top:24px;margin-top:1.5rem}h2{font-size:30px;font-size:1.875rem;line-height:36px;line-height:2.25rem;font-weight:400;margin-bottom:48px;margin-bottom:3rem}h2+.chapo,p{margin-top:0;margin-bottom:24px;margin-bottom:1.5rem}p{line-height:30px;line-height:1.875rem;font-family:Merriweather,serif}p a:not(.button){position:relative;z-index:1}p a:not(.button):after{-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;content:"";display:block;position:absolute;left:0;right:0;bottom:0;height:1px;background:#c3c3c3;z-index:-1}p a:not(.button):hover:after{bottom:0;background:#f8e71c;height:100%}hr{border:0;border-top:1px solid #000;height:11px;background-color:#f8e71c;margin:120px 0 48px;margin:7.5rem 0 3rem}figure{margin:0}figure figcaption{text-align:center;width:300px;margin:0 auto;display:block;margin-top:6px;margin-top:.375rem;font-size:12px;font-size:.75rem;line-height:18px;line-height:1.125rem;font-family:Merriweather,serif;font-weight:300}figure img{display:block}.chapo{line-height:30px;line-height:1.875rem;font-family:Merriweather,serif;margin-top:120px;margin-top:7.5rem;margin-bottom:72px;margin-bottom:4.5rem;font-weight:900}.button,.chapo{font-size:20px;font-size:1.25rem}.button{border:0;outline:0;background:none;line-height:24px;line-height:1.5rem;font-family:Oswald,sans-serif;padding:6px 24px;padding:.375rem 1.5rem;margin:0;font-weight:300;background:#f8e71c;display:inline-block;vertical-align:middle;cursor:pointer;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out}.button:hover{background:#000;color:#f8e71c}.button--small{font-size:16px;font-size:1rem;padding:4.32px 24px;padding:.27rem 1.5rem}.button--xsmall{font-size:14px;font-size:.875rem;padding:3px 12px;padding:.1875rem .75rem}.button--block{display:block;text-align:center;margin:0 0 24px;margin:0 0 1.5rem}.m1{margin:24px;margin:1.5rem}.mt1{margin-top:24px;margin-top:1.5rem}.mb1{margin-bottom:24px;margin-bottom:1.5rem}.mr1{margin-right:24px;margin-right:1.5rem}.ml1{margin-left:24px;margin-left:1.5rem}.p1{padding:24px;padding:1.5rem}.pt1{padding-top:24px;padding-top:1.5rem}.pb1{padding-bottom:24px;padding-bottom:1.5rem}.pr1{padding-right:24px;padding-right:1.5rem}.pl1{padding-left:24px;padding-left:1.5rem}.bg{background-color:#f8e71c}@media (max-width:46.99em){.hide-xxs{display:none}}@media (max-width:60.74em){.hide-xs{display:none}}@media (max-width:66.99em){.hide-sm{display:none}}@media (max-width:85.74em){.hide-md{display:none}}@media (min-width:85.75em){.hide-lg{display:none}}.section{margin-top:96px;margin-top:6rem}.section:first-child{margin-top:0}.container,.container-fixed,.container-fluid,.container-full{margin-right:auto;margin-left:auto;padding-left:24px;padding-right:24px}@media screen and (max-width:1072px){.container,.container-fixed,.container-fluid,.container-full{padding-left:12px;padding-right:12px}}.col-lg-0,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-0,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-0,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-0,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12,.col-xxs-0,.col-xxs-1,.col-xxs-2,.col-xxs-3,.col-xxs-4,.col-xxs-5,.col-xxs-6,.col-xxs-7,.col-xxs-8,.col-xxs-9,.col-xxs-10,.col-xxs-11,.col-xxs-12{box-sizing:border-box;position:relative;width:100%;padding-left:12px;padding-right:12px;min-height:1px;float:left}.container,.row,.row:after,.row:before{box-sizing:border-box}.container{max-width:972px}.container-full{padding-left:0;padding-right:0}.container-fixed{width:1008px}@media screen and (min-width:1072px){.container{max-width:1072px}}@media screen and (min-width:1372px){.container{max-width:1372px}}.row{*zoom:1;list-style:none;margin:0;padding:0;border:0;margin-left:-12px;margin-right:-12px}.row:after{content:"";display:table;clear:both}.row>.row{clear:none;float:left;margin:0!important}@media screen and (min-width:0){.col-xxs-0{width:0}.col-xxs-push-0{left:0}.col-xxs-pull-0{right:0}.col-xxs-offset-0{margin-left:0}.col-xxs-1{width:8.33333%}.col-xxs-push-1{left:8.33333%}.col-xxs-pull-1{right:8.33333%}.col-xxs-offset-1{margin-left:8.33333%}.col-xxs-2{width:16.66667%}.col-xxs-push-2{left:16.66667%}.col-xxs-pull-2{right:16.66667%}.col-xxs-offset-2{margin-left:16.66667%}.col-xxs-3{width:25%}.col-xxs-push-3{left:25%}.col-xxs-pull-3{right:25%}.col-xxs-offset-3{margin-left:25%}.col-xxs-4{width:33.33333%}.col-xxs-push-4{left:33.33333%}.col-xxs-pull-4{right:33.33333%}.col-xxs-offset-4{margin-left:33.33333%}.col-xxs-5{width:41.66667%}.col-xxs-push-5{left:41.66667%}.col-xxs-pull-5{right:41.66667%}.col-xxs-offset-5{margin-left:41.66667%}.col-xxs-6{width:50%}.col-xxs-push-6{left:50%}.col-xxs-pull-6{right:50%}.col-xxs-offset-6{margin-left:50%}.col-xxs-7{width:58.33333%}.col-xxs-push-7{left:58.33333%}.col-xxs-pull-7{right:58.33333%}.col-xxs-offset-7{margin-left:58.33333%}.col-xxs-8{width:66.66667%}.col-xxs-push-8{left:66.66667%}.col-xxs-pull-8{right:66.66667%}.col-xxs-offset-8{margin-left:66.66667%}.col-xxs-9{width:75%}.col-xxs-push-9{left:75%}.col-xxs-pull-9{right:75%}.col-xxs-offset-9{margin-left:75%}.col-xxs-10{width:83.33333%}.col-xxs-push-10{left:83.33333%}.col-xxs-pull-10{right:83.33333%}.col-xxs-offset-10{margin-left:83.33333%}.col-xxs-11{width:91.66667%}.col-xxs-push-11{left:91.66667%}.col-xxs-pull-11{right:91.66667%}.col-xxs-offset-11{margin-left:91.66667%}.col-xxs-12{width:100%}.col-xxs-push-12{left:100%}.col-xxs-pull-12{right:100%}.col-xxs-offset-12{margin-left:100%}}@media screen and (min-width:752px){.col-xs-0{width:0}.col-xs-push-0{left:0}.col-xs-pull-0{right:0}.col-xs-offset-0{margin-left:0}.col-xs-1{width:8.33333%}.col-xs-push-1{left:8.33333%}.col-xs-pull-1{right:8.33333%}.col-xs-offset-1{margin-left:8.33333%}.col-xs-2{width:16.66667%}.col-xs-push-2{left:16.66667%}.col-xs-pull-2{right:16.66667%}.col-xs-offset-2{margin-left:16.66667%}.col-xs-3{width:25%}.col-xs-push-3{left:25%}.col-xs-pull-3{right:25%}.col-xs-offset-3{margin-left:25%}.col-xs-4{width:33.33333%}.col-xs-push-4{left:33.33333%}.col-xs-pull-4{right:33.33333%}.col-xs-offset-4{margin-left:33.33333%}.col-xs-5{width:41.66667%}.col-xs-push-5{left:41.66667%}.col-xs-pull-5{right:41.66667%}.col-xs-offset-5{margin-left:41.66667%}.col-xs-6{width:50%}.col-xs-push-6{left:50%}.col-xs-pull-6{right:50%}.col-xs-offset-6{margin-left:50%}.col-xs-7{width:58.33333%}.col-xs-push-7{left:58.33333%}.col-xs-pull-7{right:58.33333%}.col-xs-offset-7{margin-left:58.33333%}.col-xs-8{width:66.66667%}.col-xs-push-8{left:66.66667%}.col-xs-pull-8{right:66.66667%}.col-xs-offset-8{margin-left:66.66667%}.col-xs-9{width:75%}.col-xs-push-9{left:75%}.col-xs-pull-9{right:75%}.col-xs-offset-9{margin-left:75%}.col-xs-10{width:83.33333%}.col-xs-push-10{left:83.33333%}.col-xs-pull-10{right:83.33333%}.col-xs-offset-10{margin-left:83.33333%}.col-xs-11{width:91.66667%}.col-xs-push-11{left:91.66667%}.col-xs-pull-11{right:91.66667%}.col-xs-offset-11{margin-left:91.66667%}.col-xs-12{width:100%}.col-xs-push-12{left:100%}.col-xs-pull-12{right:100%}.col-xs-offset-12{margin-left:100%}}@media screen and (min-width:972px){.col-sm-0{width:0}.col-sm-push-0{left:0}.col-sm-pull-0{right:0}.col-sm-offset-0{margin-left:0}.col-sm-1{width:8.33333%}.col-sm-push-1{left:8.33333%}.col-sm-pull-1{right:8.33333%}.col-sm-offset-1{margin-left:8.33333%}.col-sm-2{width:16.66667%}.col-sm-push-2{left:16.66667%}.col-sm-pull-2{right:16.66667%}.col-sm-offset-2{margin-left:16.66667%}.col-sm-3{width:25%}.col-sm-push-3{left:25%}.col-sm-pull-3{right:25%}.col-sm-offset-3{margin-left:25%}.col-sm-4{width:33.33333%}.col-sm-push-4{left:33.33333%}.col-sm-pull-4{right:33.33333%}.col-sm-offset-4{margin-left:33.33333%}.col-sm-5{width:41.66667%}.col-sm-push-5{left:41.66667%}.col-sm-pull-5{right:41.66667%}.col-sm-offset-5{margin-left:41.66667%}.col-sm-6{width:50%}.col-sm-push-6{left:50%}.col-sm-pull-6{right:50%}.col-sm-offset-6{margin-left:50%}.col-sm-7{width:58.33333%}.col-sm-push-7{left:58.33333%}.col-sm-pull-7{right:58.33333%}.col-sm-offset-7{margin-left:58.33333%}.col-sm-8{width:66.66667%}.col-sm-push-8{left:66.66667%}.col-sm-pull-8{right:66.66667%}.col-sm-offset-8{margin-left:66.66667%}.col-sm-9{width:75%}.col-sm-push-9{left:75%}.col-sm-pull-9{right:75%}.col-sm-offset-9{margin-left:75%}.col-sm-10{width:83.33333%}.col-sm-push-10{left:83.33333%}.col-sm-pull-10{right:83.33333%}.col-sm-offset-10{margin-left:83.33333%}.col-sm-11{width:91.66667%}.col-sm-push-11{left:91.66667%}.col-sm-pull-11{right:91.66667%}.col-sm-offset-11{margin-left:91.66667%}.col-sm-12{width:100%}.col-sm-push-12{left:100%}.col-sm-pull-12{right:100%}.col-sm-offset-12{margin-left:100%}}@media screen and (min-width:1072px){.col-md-0{width:0}.col-md-push-0{left:0}.col-md-pull-0{right:0}.col-md-offset-0{margin-left:0}.col-md-1{width:8.33333%}.col-md-push-1{left:8.33333%}.col-md-pull-1{right:8.33333%}.col-md-offset-1{margin-left:8.33333%}.col-md-2{width:16.66667%}.col-md-push-2{left:16.66667%}.col-md-pull-2{right:16.66667%}.col-md-offset-2{margin-left:16.66667%}.col-md-3{width:25%}.col-md-push-3{left:25%}.col-md-pull-3{right:25%}.col-md-offset-3{margin-left:25%}.col-md-4{width:33.33333%}.col-md-push-4{left:33.33333%}.col-md-pull-4{right:33.33333%}.col-md-offset-4{margin-left:33.33333%}.col-md-5{width:41.66667%}.col-md-push-5{left:41.66667%}.col-md-pull-5{right:41.66667%}.col-md-offset-5{margin-left:41.66667%}.col-md-6{width:50%}.col-md-push-6{left:50%}.col-md-pull-6{right:50%}.col-md-offset-6{margin-left:50%}.col-md-7{width:58.33333%}.col-md-push-7{left:58.33333%}.col-md-pull-7{right:58.33333%}.col-md-offset-7{margin-left:58.33333%}.col-md-8{width:66.66667%}.col-md-push-8{left:66.66667%}.col-md-pull-8{right:66.66667%}.col-md-offset-8{margin-left:66.66667%}.col-md-9{width:75%}.col-md-push-9{left:75%}.col-md-pull-9{right:75%}.col-md-offset-9{margin-left:75%}.col-md-10{width:83.33333%}.col-md-push-10{left:83.33333%}.col-md-pull-10{right:83.33333%}.col-md-offset-10{margin-left:83.33333%}.col-md-11{width:91.66667%}.col-md-push-11{left:91.66667%}.col-md-pull-11{right:91.66667%}.col-md-offset-11{margin-left:91.66667%}.col-md-12{width:100%}.col-md-push-12{left:100%}.col-md-pull-12{right:100%}.col-md-offset-12{margin-left:100%}}@media screen and (min-width:1372px){.col-lg-0{width:0}.col-lg-push-0{left:0}.col-lg-pull-0{right:0}.col-lg-offset-0{margin-left:0}.col-lg-1{width:8.33333%}.col-lg-push-1{left:8.33333%}.col-lg-pull-1{right:8.33333%}.col-lg-offset-1{margin-left:8.33333%}.col-lg-2{width:16.66667%}.col-lg-push-2{left:16.66667%}.col-lg-pull-2{right:16.66667%}.col-lg-offset-2{margin-left:16.66667%}.col-lg-3{width:25%}.col-lg-push-3{left:25%}.col-lg-pull-3{right:25%}.col-lg-offset-3{margin-left:25%}.col-lg-4{width:33.33333%}.col-lg-push-4{left:33.33333%}.col-lg-pull-4{right:33.33333%}.col-lg-offset-4{margin-left:33.33333%}.col-lg-5{width:41.66667%}.col-lg-push-5{left:41.66667%}.col-lg-pull-5{right:41.66667%}.col-lg-offset-5{margin-left:41.66667%}.col-lg-6{width:50%}.col-lg-push-6{left:50%}.col-lg-pull-6{right:50%}.col-lg-offset-6{margin-left:50%}.col-lg-7{width:58.33333%}.col-lg-push-7{left:58.33333%}.col-lg-pull-7{right:58.33333%}.col-lg-offset-7{margin-left:58.33333%}.col-lg-8{width:66.66667%}.col-lg-push-8{left:66.66667%}.col-lg-pull-8{right:66.66667%}.col-lg-offset-8{margin-left:66.66667%}.col-lg-9{width:75%}.col-lg-push-9{left:75%}.col-lg-pull-9{right:75%}.col-lg-offset-9{margin-left:75%}.col-lg-10{width:83.33333%}.col-lg-push-10{left:83.33333%}.col-lg-pull-10{right:83.33333%}.col-lg-offset-10{margin-left:83.33333%}.col-lg-11{width:91.66667%}.col-lg-push-11{left:91.66667%}.col-lg-pull-11{right:91.66667%}.col-lg-offset-11{margin-left:91.66667%}.col-lg-12{width:100%}.col-lg-push-12{left:100%}.col-lg-pull-12{right:100%}.col-lg-offset-12{margin-left:100%}}.breadcrumb{list-style-type:none;margin:0;padding:0;overflow:hidden;*zoom:1;font-size:12px;font-size:.75rem;line-height:24px;line-height:1.5rem;font-family:Merriweather,serif;font-weight:300}.breadcrumb__item{float:left;margin-right:6px;margin-right:.375rem}.breadcrumb__item:after{content:'|';display:block;float:right;margin-left:6px;margin-left:.375rem}.breadcrumb__item:last-child{font-weight:700}.breadcrumb__item:last-child:after{display:none}.breadcrumb__link{text-decoration:none}.breadcrumb__link:hover{border-bottom:1px solid #000}.dashed{position:relative;display:inline-block;z-index:1;padding-right:48px;padding-right:3rem}.dashed:before{content:'.'}.dashed:after{position:absolute;height:40%;width:100%;display:block;top:30%;left:0;content:"";background:#f8e71c;z-index:-1}.dashed--gray:after{background:#c3c3c3}.dotted{position:relative;display:inline-block;z-index:1}.dotted:before{content:'.'}.tag{display:inline-block;background:#fff;font-size:20px;font-size:1.25rem;line-height:33.6px;line-height:2.1rem;font-family:Oswald,sans-serif;font-weight:400}.tag--small{font-size:14px;font-size:.875rem;padding-right:12px;padding-right:.75rem}.tag--small,.tag--xsmall{line-height:24px;line-height:1.5rem}.tag--xsmall{font-size:12px;font-size:.75rem;padding-right:6px;padding-right:.375rem}.tag--category{background:#000;color:#fff;padding-left:12px;padding-left:.75rem;padding-right:12px;padding-right:.75rem}.tag+.tag{margin-left:-.25em}.blockquote{margin:0;padding:0;font-size:20px;font-size:1.25rem;line-height:36px;line-height:2.25rem;font-family:Merriweather,serif;margin-top:72px;margin-top:4.5rem;margin-bottom:72px;margin-bottom:4.5rem;margin-left:24px;margin-left:1.5rem;padding-left:24px;padding-left:1.5rem;font-weight:900;position:relative}.blockquote:before{content:"";display:block;width:1px;height:100%;position:absolute;background:#000;top:0;left:0}.blockquote--small{margin-left:12px;margin-left:.75rem;padding-left:12px;padding-left:.75rem;font-weight:400;font-size:16px;font-size:1rem;line-height:30px;line-height:1.875rem}.well{width:100%;background:#f8e71c;padding:48px 0;padding:3rem 0;margin:0 0 24px;margin:0 0 1.5rem;font-size:25px;font-size:1.5625rem;line-height:40.8px;line-height:2.55rem;font-family:Oswald,sans-serif;font-weight:300}.pattern{position:relative}.pattern:after{content:"";display:block;position:absolute;top:0;left:0;bottom:0;right:0;background-repeat:repeat;background-position:0 0;opacity:.2}.pattern--creation:after{background-image:url(../img/patterns/creation.png)}.pattern--innovation:after{background-image:url(../img/patterns/innovation.png)}.pattern--recherche:after{background-image:url(../img/patterns/recherche.png)}.pattern--transmission:after{background-image:url(../img/patterns/transmission.png)}.flash{background:#f8e71c;overflow:hidden;*zoom:1}.flash__text,.flash__title{float:left}.article-box{position:relative;background:#fff;display:block;margin-bottom:24px;margin-bottom:1.5rem;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out}.article-box:hover{box-shadow:0 0 14px 0 rgba(0,0,0,.17)}.article-box:hover .article-box__image:after{border-width:12px}.article-box__header{position:relative}.article-box__image{margin:0;padding:0;width:100%;position:relative}.article-box__image img{display:block;width:100%;max-width:100%;height:auto}.article-box__image:after{content:'';display:block;position:absolute;top:0;left:0;width:100%;height:100%;border:0 solid #fff;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out}.article-box__tags{position:absolute;bottom:0;left:0;margin-bottom:13.2px;margin-bottom:.825rem}.article-box__btn{position:absolute;bottom:0;right:0;margin-bottom:12px;margin-bottom:.75rem;margin-right:12px;margin-right:.75rem}.article-box__content{padding:6px 6px 24px;padding:.375rem .375rem 1.5rem;position:relative;height:250px;overflow:hidden}@media (max-width:46.99em){.article-box__content{height:auto}}.article-box__content:after{content:"";display:block;position:absolute;bottom:0;left:0;right:0;height:100px;background-color:hsla(0,0%,100%,0);*zoom:1;filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#FFFFFFFF',endColorstr='#FFFFFFFF');background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjAiLz48c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background-size:100%;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0,hsla(0,0%,100%,0)),color-stop(50%,#fff));background-image:-webkit-linear-gradient(top,hsla(0,0%,100%,0),#fff 50%);background-image:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff 50%)}@media (max-width:46.99em){.article-box__content:after{display:none}}.article-box__title{font-size:25px;font-size:1.5625rem;line-height:30px;line-height:1.875rem;font-family:Oswald,sans-serif;margin:0 0 6px;margin:0 0 .375rem}.article-box__subtitle{margin-top:6px;margin-top:.375rem;font-weight:400}.article-box__desc,.article-box__subtitle{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem;font-family:Merriweather,serif}.article-box__desc{margin:24px 0 6px;margin:1.5rem 0 .375rem;font-weight:300}.article-box--small .article-box__content{height:auto}.article-box--small .article-box__btn,.article-box--small .article-box__content:after{display:none}.lSAction>a{background:#fff;width:45px;height:53px;padding:0;text-align:center;display:block;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.lSAction>a:before{display:inline-block;font-family:fontawesome;font-size:20px;line-height:53px;opacity:.75;color:#000;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.lSAction>a.lSNext{right:0}.lSAction>a.lSNext:before{content:'\f105'}.lSAction>a.lSPrev{left:0}.lSAction>a.lSPrev:before{content:'\f104'}.slick-slide figure,.slick-slide img{margin:0 auto}.slick-loading .slick-list{background:#fff url(ajax-loader.gif) 50% no-repeat}@font-face{font-family:slick;font-weight:400;font-style:normal;src:url(fonts/slick.eot);src:url(fonts/slick.eot?#iefix) format("embedded-opentype"),url(fonts/slick.woff) format("woff"),url(fonts/slick.ttf) format("truetype"),url(fonts/slick.svg#slick) format("svg")}.slick-next,.slick-prev{font-size:0;line-height:0;position:absolute;top:50%;display:block;z-index:2;width:45px;height:53px;padding:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);cursor:pointer;color:transparent;border:none;outline:none;background:hsla(0,0%,100%,.5);-webkit-transition:all .2s ease;transition:all .2s ease}.slick-next:hover,.slick-prev:hover{color:transparent;outline:none;background:#fff;width:50px}.slick-next:hover:before,.slick-prev:hover:before{opacity:1}.slick-prev:hover:before{-webkit-transform:translateX(5px);transform:translateX(5px)}.slick-next:hover:before{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.slick-next.slick-disabled:before,.slick-prev.slick-disabled:before{opacity:.25}.slick-next:before,.slick-prev:before{-webkit-transition:all .2s ease;transition:all .2s ease;display:inline-block;font-family:fontawesome;font-size:20px;line-height:1;opacity:.75;color:#000;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-prev{left:0}[dir=rtl] .slick-prev{right:0;left:auto}.slick-prev:before{content:'\f104'}[dir=rtl] .slick-prev:before{content:'\f105'}.slick-next{right:0}[dir=rtl] .slick-next{right:auto;left:0}.slick-next:before{content:'\f105'}[dir=rtl] .slick-next:before{content:""}.slick-dotted.slick-slider{margin-bottom:30px}.slick-dots{position:absolute;bottom:-25px;display:block;width:100%;padding:0;margin:0;list-style:none;text-align:center}.slick-dots li{position:relative;display:inline-block;margin:0 5px;padding:0}.slick-dots li,.slick-dots li button{width:20px;height:20px;cursor:pointer}.slick-dots li button{font-size:0;line-height:0;display:block;padding:5px;color:transparent;border:0;outline:none;background:transparent}.slick-dots li button:focus,.slick-dots li button:hover{outline:none}.slick-dots li button:focus:before,.slick-dots li button:hover:before{opacity:1}.slick-dots li button:before{font-family:slick;font-size:6px;line-height:20px;position:absolute;top:0;left:0;width:20px;height:20px;content:'•';text-align:center;opacity:.25;color:#000;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-dots li.slick-active button:before{opacity:.75;color:#000} --/*# sourceMappingURL=index.min.css.map */ diff --cc app/static/img/blank.gif index f191b280,f191b280..00000000 deleted file mode 100755,100755 Binary files differ diff --cc app/static/img/favicons/apple-touch-icon-114x114.png index 9a49cf9c,9a49cf9c..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/apple-touch-icon-120x120.png index 3a338eaf,3a338eaf..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/apple-touch-icon-144x144.png index 024742ee,024742ee..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/apple-touch-icon-152x152.png index 83cc3bcf,9328ddbc..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/apple-touch-icon-180x180.png index 2fcf199e,bfe9875c..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/apple-touch-icon-57x57.png index 4e5234e0,4e5234e0..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/apple-touch-icon-60x60.png index 09d59692,09d59692..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/apple-touch-icon-72x72.png index f6f1947d,f6f1947d..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/apple-touch-icon-76x76.png index 1a33f1bd,1a33f1bd..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/apple-touch-icon-precomposed.png index 1ebf96e0,1ebf96e0..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/apple-touch-icon.png index 1ebf96e0,1ebf96e0..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/favicon-16x16.png index c77f18bc,ecb0961f..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/favicon-230x230.png index d1fdbb5c,d1fdbb5c..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/favicon-32x32.png index 351eff96,351eff96..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/favicon-96x96.png index 8f6fe057,8f6fe057..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/favicons/favicon.ico index ecb0961f,ecb0961f..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/patterns/circles.png index 6de8cc6a,6de8cc6a..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/patterns/squares.png index 0f1db653,0f1db653..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/patterns/stripes.png index 4d27a18d,4d27a18d..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/img/patterns/triangles.png index ec4e8555,ec4e8555..00000000 deleted file mode 100644,100644 Binary files differ diff --cc app/static/js/index.min.js index 76e93499,b1ae486a..00000000 deleted file mode 100644,100644 --- a/app/static/js/index.min.js +++ /dev/null @@@ -1,1409 -1,1409 +1,0 @@@ --(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o 0) { - throw new Error('Invalid string. Length must be a multiple of 4') - } - - // the number of equal signs (place holders) - // if there are two placeholders, than the two characters before it - // represent one byte - // if there is only one, then the three characters before it represent 2 bytes - // this is just a cheap hack to not do indexOf twice - var len = b64.length - placeHolders = '=' === b64.charAt(len - 2) ? 2 : '=' === b64.charAt(len - 1) ? 1 : 0 - - // base64 is 4/3 + up to two characters of the original data - arr = new Arr(b64.length * 3 / 4 - placeHolders) - - // if there are placeholders, only get up to the last complete 4 chars - l = placeHolders > 0 ? b64.length - 4 : b64.length - - var L = 0 - - function push (v) { - arr[L++] = v - } - - for (i = 0, j = 0; i < l; i += 4, j += 3) { - tmp = (decode(b64.charAt(i)) << 18) | (decode(b64.charAt(i + 1)) << 12) | (decode(b64.charAt(i + 2)) << 6) | decode(b64.charAt(i + 3)) - push((tmp & 0xFF0000) >> 16) - push((tmp & 0xFF00) >> 8) - push(tmp & 0xFF) - } - - if (placeHolders === 2) { - tmp = (decode(b64.charAt(i)) << 2) | (decode(b64.charAt(i + 1)) >> 4) - push(tmp & 0xFF) - } else if (placeHolders === 1) { - tmp = (decode(b64.charAt(i)) << 10) | (decode(b64.charAt(i + 1)) << 4) | (decode(b64.charAt(i + 2)) >> 2) - push((tmp >> 8) & 0xFF) - push(tmp & 0xFF) - } - - return arr - } - - function uint8ToBase64 (uint8) { - var i, - extraBytes = uint8.length % 3, // if we have 1 byte left, pad 2 bytes - output = "", - temp, length - - function encode (num) { - return lookup.charAt(num) - } - - function tripletToBase64 (num) { - return encode(num >> 18 & 0x3F) + encode(num >> 12 & 0x3F) + encode(num >> 6 & 0x3F) + encode(num & 0x3F) - } - - // go through the array every three bytes, we'll deal with trailing stuff later - for (i = 0, length = uint8.length - extraBytes; i < length; i += 3) { - temp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2]) - output += tripletToBase64(temp) - } - - // pad the end with zeros, but make sure to not forget the extra bytes - switch (extraBytes) { - case 1: - temp = uint8[uint8.length - 1] - output += encode(temp >> 2) - output += encode((temp << 4) & 0x3F) - output += '==' - break - case 2: - temp = (uint8[uint8.length - 2] << 8) + (uint8[uint8.length - 1]) - output += encode(temp >> 10) - output += encode((temp >> 4) & 0x3F) - output += encode((temp << 2) & 0x3F) - output += '=' - break - } - - return output - } - - exports.toByteArray = b64ToByteArray - exports.fromByteArray = uint8ToBase64 - }(typeof exports === 'undefined' ? (this.base64js = {}) : exports)) -- - }).call(this,require("r7L21G"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../../../node_modules/base64-js/lib/b64.js","/../../../../node_modules/base64-js/lib") - },{"buffer":3,"r7L21G":5}],3:[function(require,module,exports){ -}).call(this,require("DF1urx"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_95951944.js","/") -},{"DF1urx":5,"buffer":2}],2:[function(require,module,exports){ --(function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,__filename,__dirname){ --/*! -- * The buffer module from node.js, for the browser. -- * -- * @author Feross Aboukhadijeh -- * @license MIT -- */ -- --var base64 = require('base64-js') --var ieee754 = require('ieee754') -- --exports.Buffer = Buffer --exports.SlowBuffer = Buffer --exports.INSPECT_MAX_BYTES = 50 --Buffer.poolSize = 8192 -- --/** -- * If `Buffer._useTypedArrays`: -- * === true Use Uint8Array implementation (fastest) -- * === false Use Object implementation (compatible down to IE6) -- */ --Buffer._useTypedArrays = (function () { -- // Detect if browser supports Typed Arrays. Supported browsers are IE 10+, Firefox 4+, -- // Chrome 7+, Safari 5.1+, Opera 11.6+, iOS 4.2+. If the browser does not support adding -- // properties to `Uint8Array` instances, then that's the same as no `Uint8Array` support -- // because we need to be able to add all the node Buffer API methods. This is an issue -- // in Firefox 4-29. Now fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=695438 -- try { -- var buf = new ArrayBuffer(0) -- var arr = new Uint8Array(buf) -- arr.foo = function () { return 42 } -- return 42 === arr.foo() && -- typeof arr.subarray === 'function' // Chrome 9-10 lack `subarray` -- } catch (e) { -- return false -- } --})() -- --/** -- * Class: Buffer -- * ============= -- * -- * The Buffer constructor returns instances of `Uint8Array` that are augmented -- * with function properties for all the node `Buffer` API functions. We use -- * `Uint8Array` so that square bracket notation works as expected -- it returns -- * a single octet. -- * -- * By augmenting the instances, we can avoid modifying the `Uint8Array` -- * prototype. -- */ --function Buffer (subject, encoding, noZero) { -- if (!(this instanceof Buffer)) -- return new Buffer(subject, encoding, noZero) -- -- var type = typeof subject -- -- // Workaround: node's base64 implementation allows for non-padded strings -- // while base64-js does not. -- if (encoding === 'base64' && type === 'string') { -- subject = stringtrim(subject) -- while (subject.length % 4 !== 0) { -- subject = subject + '=' -- } -- } -- -- // Find the length -- var length -- if (type === 'number') -- length = coerce(subject) -- else if (type === 'string') -- length = Buffer.byteLength(subject, encoding) -- else if (type === 'object') -- length = coerce(subject.length) // assume that object is array-like -- else -- throw new Error('First argument needs to be a number, array or string.') -- -- var buf -- if (Buffer._useTypedArrays) { -- // Preferred: Return an augmented `Uint8Array` instance for best performance -- buf = Buffer._augment(new Uint8Array(length)) -- } else { -- // Fallback: Return THIS instance of Buffer (created by `new`) -- buf = this -- buf.length = length -- buf._isBuffer = true -- } -- -- var i -- if (Buffer._useTypedArrays && typeof subject.byteLength === 'number') { -- // Speed optimization -- use set if we're copying from a typed array -- buf._set(subject) -- } else if (isArrayish(subject)) { -- // Treat array-ish objects as a byte array -- for (i = 0; i < length; i++) { -- if (Buffer.isBuffer(subject)) -- buf[i] = subject.readUInt8(i) -- else -- buf[i] = subject[i] -- } -- } else if (type === 'string') { -- buf.write(subject, 0, encoding) -- } else if (type === 'number' && !Buffer._useTypedArrays && !noZero) { -- for (i = 0; i < length; i++) { -- buf[i] = 0 -- } -- } -- -- return buf --} -- --// STATIC METHODS --// ============== -- --Buffer.isEncoding = function (encoding) { -- switch (String(encoding).toLowerCase()) { -- case 'hex': -- case 'utf8': -- case 'utf-8': -- case 'ascii': -- case 'binary': -- case 'base64': -- case 'raw': -- case 'ucs2': -- case 'ucs-2': -- case 'utf16le': -- case 'utf-16le': -- return true -- default: -- return false -- } --} -- --Buffer.isBuffer = function (b) { -- return !!(b !== null && b !== undefined && b._isBuffer) --} -- --Buffer.byteLength = function (str, encoding) { -- var ret -- str = str + '' -- switch (encoding || 'utf8') { -- case 'hex': -- ret = str.length / 2 -- break -- case 'utf8': -- case 'utf-8': -- ret = utf8ToBytes(str).length -- break -- case 'ascii': -- case 'binary': -- case 'raw': -- ret = str.length -- break -- case 'base64': -- ret = base64ToBytes(str).length -- break -- case 'ucs2': -- case 'ucs-2': -- case 'utf16le': -- case 'utf-16le': -- ret = str.length * 2 -- break -- default: -- throw new Error('Unknown encoding') -- } -- return ret --} -- --Buffer.concat = function (list, totalLength) { -- assert(isArray(list), 'Usage: Buffer.concat(list, [totalLength])\n' + -- 'list should be an Array.') -- -- if (list.length === 0) { -- return new Buffer(0) -- } else if (list.length === 1) { -- return list[0] -- } -- -- var i -- if (typeof totalLength !== 'number') { -- totalLength = 0 -- for (i = 0; i < list.length; i++) { -- totalLength += list[i].length -- } -- } -- -- var buf = new Buffer(totalLength) -- var pos = 0 -- for (i = 0; i < list.length; i++) { -- var item = list[i] -- item.copy(buf, pos) -- pos += item.length -- } -- return buf --} -- --// BUFFER INSTANCE METHODS --// ======================= -- --function _hexWrite (buf, string, offset, length) { -- offset = Number(offset) || 0 -- var remaining = buf.length - offset -- if (!length) { -- length = remaining -- } else { -- length = Number(length) -- if (length > remaining) { -- length = remaining -- } -- } -- -- // must be an even number of digits -- var strLen = string.length -- assert(strLen % 2 === 0, 'Invalid hex string') -- -- if (length > strLen / 2) { -- length = strLen / 2 -- } -- for (var i = 0; i < length; i++) { -- var byte = parseInt(string.substr(i * 2, 2), 16) -- assert(!isNaN(byte), 'Invalid hex string') -- buf[offset + i] = byte -- } -- Buffer._charsWritten = i * 2 -- return i --} -- --function _utf8Write (buf, string, offset, length) { -- var charsWritten = Buffer._charsWritten = -- blitBuffer(utf8ToBytes(string), buf, offset, length) -- return charsWritten --} -- --function _asciiWrite (buf, string, offset, length) { -- var charsWritten = Buffer._charsWritten = -- blitBuffer(asciiToBytes(string), buf, offset, length) -- return charsWritten --} -- --function _binaryWrite (buf, string, offset, length) { -- return _asciiWrite(buf, string, offset, length) --} -- --function _base64Write (buf, string, offset, length) { -- var charsWritten = Buffer._charsWritten = -- blitBuffer(base64ToBytes(string), buf, offset, length) -- return charsWritten --} -- --function _utf16leWrite (buf, string, offset, length) { -- var charsWritten = Buffer._charsWritten = -- blitBuffer(utf16leToBytes(string), buf, offset, length) -- return charsWritten --} -- --Buffer.prototype.write = function (string, offset, length, encoding) { -- // Support both (string, offset, length, encoding) -- // and the legacy (string, encoding, offset, length) -- if (isFinite(offset)) { -- if (!isFinite(length)) { -- encoding = length -- length = undefined -- } -- } else { // legacy -- var swap = encoding -- encoding = offset -- offset = length -- length = swap -- } -- -- offset = Number(offset) || 0 -- var remaining = this.length - offset -- if (!length) { -- length = remaining -- } else { -- length = Number(length) -- if (length > remaining) { -- length = remaining -- } -- } -- encoding = String(encoding || 'utf8').toLowerCase() -- -- var ret -- switch (encoding) { -- case 'hex': -- ret = _hexWrite(this, string, offset, length) -- break -- case 'utf8': -- case 'utf-8': -- ret = _utf8Write(this, string, offset, length) -- break -- case 'ascii': -- ret = _asciiWrite(this, string, offset, length) -- break -- case 'binary': -- ret = _binaryWrite(this, string, offset, length) -- break -- case 'base64': -- ret = _base64Write(this, string, offset, length) -- break -- case 'ucs2': -- case 'ucs-2': -- case 'utf16le': -- case 'utf-16le': -- ret = _utf16leWrite(this, string, offset, length) -- break -- default: -- throw new Error('Unknown encoding') -- } -- return ret --} -- --Buffer.prototype.toString = function (encoding, start, end) { -- var self = this -- -- encoding = String(encoding || 'utf8').toLowerCase() -- start = Number(start) || 0 -- end = (end !== undefined) -- ? Number(end) -- : end = self.length -- -- // Fastpath empty strings -- if (end === start) -- return '' -- -- var ret -- switch (encoding) { -- case 'hex': -- ret = _hexSlice(self, start, end) -- break -- case 'utf8': -- case 'utf-8': -- ret = _utf8Slice(self, start, end) -- break -- case 'ascii': -- ret = _asciiSlice(self, start, end) -- break -- case 'binary': -- ret = _binarySlice(self, start, end) -- break -- case 'base64': -- ret = _base64Slice(self, start, end) -- break -- case 'ucs2': -- case 'ucs-2': -- case 'utf16le': -- case 'utf-16le': -- ret = _utf16leSlice(self, start, end) -- break -- default: -- throw new Error('Unknown encoding') -- } -- return ret --} -- --Buffer.prototype.toJSON = function () { -- return { -- type: 'Buffer', -- data: Array.prototype.slice.call(this._arr || this, 0) -- } --} -- --// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) --Buffer.prototype.copy = function (target, target_start, start, end) { -- var source = this -- -- if (!start) start = 0 -- if (!end && end !== 0) end = this.length -- if (!target_start) target_start = 0 -- -- // Copy 0 bytes; we're done -- if (end === start) return -- if (target.length === 0 || source.length === 0) return -- -- // Fatal error conditions -- assert(end >= start, 'sourceEnd < sourceStart') -- assert(target_start >= 0 && target_start < target.length, -- 'targetStart out of bounds') -- assert(start >= 0 && start < source.length, 'sourceStart out of bounds') -- assert(end >= 0 && end <= source.length, 'sourceEnd out of bounds') -- -- // Are we oob? -- if (end > this.length) -- end = this.length -- if (target.length - target_start < end - start) -- end = target.length - target_start + start -- -- var len = end - start -- -- if (len < 100 || !Buffer._useTypedArrays) { -- for (var i = 0; i < len; i++) -- target[i + target_start] = this[i + start] -- } else { -- target._set(this.subarray(start, start + len), target_start) -- } --} -- --function _base64Slice (buf, start, end) { -- if (start === 0 && end === buf.length) { -- return base64.fromByteArray(buf) -- } else { -- return base64.fromByteArray(buf.slice(start, end)) -- } --} -- --function _utf8Slice (buf, start, end) { -- var res = '' -- var tmp = '' -- end = Math.min(buf.length, end) -- -- for (var i = start; i < end; i++) { -- if (buf[i] <= 0x7F) { -- res += decodeUtf8Char(tmp) + String.fromCharCode(buf[i]) -- tmp = '' -- } else { -- tmp += '%' + buf[i].toString(16) -- } -- } -- -- return res + decodeUtf8Char(tmp) --} -- --function _asciiSlice (buf, start, end) { -- var ret = '' -- end = Math.min(buf.length, end) -- -- for (var i = start; i < end; i++) -- ret += String.fromCharCode(buf[i]) -- return ret --} -- --function _binarySlice (buf, start, end) { -- return _asciiSlice(buf, start, end) --} -- --function _hexSlice (buf, start, end) { -- var len = buf.length -- -- if (!start || start < 0) start = 0 -- if (!end || end < 0 || end > len) end = len -- -- var out = '' -- for (var i = start; i < end; i++) { -- out += toHex(buf[i]) -- } -- return out --} -- --function _utf16leSlice (buf, start, end) { -- var bytes = buf.slice(start, end) -- var res = '' -- for (var i = 0; i < bytes.length; i += 2) { -- res += String.fromCharCode(bytes[i] + bytes[i+1] * 256) -- } -- return res --} -- --Buffer.prototype.slice = function (start, end) { -- var len = this.length -- start = clamp(start, len, 0) -- end = clamp(end, len, len) -- -- if (Buffer._useTypedArrays) { -- return Buffer._augment(this.subarray(start, end)) -- } else { -- var sliceLen = end - start -- var newBuf = new Buffer(sliceLen, undefined, true) -- for (var i = 0; i < sliceLen; i++) { -- newBuf[i] = this[i + start] -- } -- return newBuf -- } --} -- --// `get` will be removed in Node 0.13+ --Buffer.prototype.get = function (offset) { -- console.log('.get() is deprecated. Access using array indexes instead.') -- return this.readUInt8(offset) --} -- --// `set` will be removed in Node 0.13+ --Buffer.prototype.set = function (v, offset) { -- console.log('.set() is deprecated. Access using array indexes instead.') -- return this.writeUInt8(v, offset) --} -- --Buffer.prototype.readUInt8 = function (offset, noAssert) { -- if (!noAssert) { -- assert(offset !== undefined && offset !== null, 'missing offset') -- assert(offset < this.length, 'Trying to read beyond buffer length') -- } -- -- if (offset >= this.length) -- return -- -- return this[offset] --} -- --function _readUInt16 (buf, offset, littleEndian, noAssert) { -- if (!noAssert) { -- assert(typeof littleEndian === 'boolean', 'missing or invalid endian') -- assert(offset !== undefined && offset !== null, 'missing offset') -- assert(offset + 1 < buf.length, 'Trying to read beyond buffer length') -- } -- -- var len = buf.length -- if (offset >= len) -- return -- -- var val -- if (littleEndian) { -- val = buf[offset] -- if (offset + 1 < len) -- val |= buf[offset + 1] << 8 -- } else { -- val = buf[offset] << 8 -- if (offset + 1 < len) -- val |= buf[offset + 1] -- } -- return val --} -- --Buffer.prototype.readUInt16LE = function (offset, noAssert) { -- return _readUInt16(this, offset, true, noAssert) --} -- --Buffer.prototype.readUInt16BE = function (offset, noAssert) { -- return _readUInt16(this, offset, false, noAssert) --} -- --function _readUInt32 (buf, offset, littleEndian, noAssert) { -- if (!noAssert) { -- assert(typeof littleEndian === 'boolean', 'missing or invalid endian') -- assert(offset !== undefined && offset !== null, 'missing offset') -- assert(offset + 3 < buf.length, 'Trying to read beyond buffer length') -- } -- -- var len = buf.length -- if (offset >= len) -- return -- -- var val -- if (littleEndian) { -- if (offset + 2 < len) -- val = buf[offset + 2] << 16 -- if (offset + 1 < len) -- val |= buf[offset + 1] << 8 -- val |= buf[offset] -- if (offset + 3 < len) -- val = val + (buf[offset + 3] << 24 >>> 0) -- } else { -- if (offset + 1 < len) -- val = buf[offset + 1] << 16 -- if (offset + 2 < len) -- val |= buf[offset + 2] << 8 -- if (offset + 3 < len) -- val |= buf[offset + 3] -- val = val + (buf[offset] << 24 >>> 0) -- } -- return val --} -- --Buffer.prototype.readUInt32LE = function (offset, noAssert) { -- return _readUInt32(this, offset, true, noAssert) --} -- --Buffer.prototype.readUInt32BE = function (offset, noAssert) { -- return _readUInt32(this, offset, false, noAssert) --} -- --Buffer.prototype.readInt8 = function (offset, noAssert) { -- if (!noAssert) { -- assert(offset !== undefined && offset !== null, -- 'missing offset') -- assert(offset < this.length, 'Trying to read beyond buffer length') -- } -- -- if (offset >= this.length) -- return -- -- var neg = this[offset] & 0x80 -- if (neg) -- return (0xff - this[offset] + 1) * -1 -- else -- return this[offset] --} -- --function _readInt16 (buf, offset, littleEndian, noAssert) { -- if (!noAssert) { -- assert(typeof littleEndian === 'boolean', 'missing or invalid endian') -- assert(offset !== undefined && offset !== null, 'missing offset') -- assert(offset + 1 < buf.length, 'Trying to read beyond buffer length') -- } -- -- var len = buf.length -- if (offset >= len) -- return -- -- var val = _readUInt16(buf, offset, littleEndian, true) -- var neg = val & 0x8000 -- if (neg) -- return (0xffff - val + 1) * -1 -- else -- return val --} -- --Buffer.prototype.readInt16LE = function (offset, noAssert) { -- return _readInt16(this, offset, true, noAssert) --} -- --Buffer.prototype.readInt16BE = function (offset, noAssert) { -- return _readInt16(this, offset, false, noAssert) --} -- --function _readInt32 (buf, offset, littleEndian, noAssert) { -- if (!noAssert) { -- assert(typeof littleEndian === 'boolean', 'missing or invalid endian') -- assert(offset !== undefined && offset !== null, 'missing offset') -- assert(offset + 3 < buf.length, 'Trying to read beyond buffer length') -- } -- -- var len = buf.length -- if (offset >= len) -- return -- -- var val = _readUInt32(buf, offset, littleEndian, true) -- var neg = val & 0x80000000 -- if (neg) -- return (0xffffffff - val + 1) * -1 -- else -- return val --} -- --Buffer.prototype.readInt32LE = function (offset, noAssert) { -- return _readInt32(this, offset, true, noAssert) --} -- --Buffer.prototype.readInt32BE = function (offset, noAssert) { -- return _readInt32(this, offset, false, noAssert) --} -- --function _readFloat (buf, offset, littleEndian, noAssert) { -- if (!noAssert) { -- assert(typeof littleEndian === 'boolean', 'missing or invalid endian') -- assert(offset + 3 < buf.length, 'Trying to read beyond buffer length') -- } -- -- return ieee754.read(buf, offset, littleEndian, 23, 4) --} -- --Buffer.prototype.readFloatLE = function (offset, noAssert) { -- return _readFloat(this, offset, true, noAssert) --} -- --Buffer.prototype.readFloatBE = function (offset, noAssert) { -- return _readFloat(this, offset, false, noAssert) --} -- --function _readDouble (buf, offset, littleEndian, noAssert) { -- if (!noAssert) { -- assert(typeof littleEndian === 'boolean', 'missing or invalid endian') -- assert(offset + 7 < buf.length, 'Trying to read beyond buffer length') -- } -- -- return ieee754.read(buf, offset, littleEndian, 52, 8) --} -- --Buffer.prototype.readDoubleLE = function (offset, noAssert) { -- return _readDouble(this, offset, true, noAssert) --} -- --Buffer.prototype.readDoubleBE = function (offset, noAssert) { -- return _readDouble(this, offset, false, noAssert) --} -- --Buffer.prototype.writeUInt8 = function (value, offset, noAssert) { -- if (!noAssert) { -- assert(value !== undefined && value !== null, 'missing value') -- assert(offset !== undefined && offset !== null, 'missing offset') -- assert(offset < this.length, 'trying to write beyond buffer length') -- verifuint(value, 0xff) -- } -- -- if (offset >= this.length) return -- -- this[offset] = value --} -- --function _writeUInt16 (buf, value, offset, littleEndian, noAssert) { -- if (!noAssert) { -- assert(value !== undefined && value !== null, 'missing value') -- assert(typeof littleEndian === 'boolean', 'missing or invalid endian') -- assert(offset !== undefined && offset !== null, 'missing offset') -- assert(offset + 1 < buf.length, 'trying to write beyond buffer length') -- verifuint(value, 0xffff) -- } -- -- var len = buf.length -- if (offset >= len) -- return -- -- for (var i = 0, j = Math.min(len - offset, 2); i < j; i++) { -- buf[offset + i] = -- (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>> -- (littleEndian ? i : 1 - i) * 8 -- } --} -- --Buffer.prototype.writeUInt16LE = function (value, offset, noAssert) { -- _writeUInt16(this, value, offset, true, noAssert) --} -- --Buffer.prototype.writeUInt16BE = function (value, offset, noAssert) { -- _writeUInt16(this, value, offset, false, noAssert) --} -- --function _writeUInt32 (buf, value, offset, littleEndian, noAssert) { -- if (!noAssert) { -- assert(value !== undefined && value !== null, 'missing value') -- assert(typeof littleEndian === 'boolean', 'missing or invalid endian') -- assert(offset !== undefined && offset !== null, 'missing offset') -- assert(offset + 3 < buf.length, 'trying to write beyond buffer length') -- verifuint(value, 0xffffffff) -- } -- -- var len = buf.length -- if (offset >= len) -- return -- -- for (var i = 0, j = Math.min(len - offset, 4); i < j; i++) { -- buf[offset + i] = -- (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff -- } --} -- --Buffer.prototype.writeUInt32LE = function (value, offset, noAssert) { -- _writeUInt32(this, value, offset, true, noAssert) --} -- --Buffer.prototype.writeUInt32BE = function (value, offset, noAssert) { -- _writeUInt32(this, value, offset, false, noAssert) --} -- --Buffer.prototype.writeInt8 = function (value, offset, noAssert) { -- if (!noAssert) { -- assert(value !== undefined && value !== null, 'missing value') -- assert(offset !== undefined && offset !== null, 'missing offset') -- assert(offset < this.length, 'Trying to write beyond buffer length') -- verifsint(value, 0x7f, -0x80) -- } -- -- if (offset >= this.length) -- return -- -- if (value >= 0) -- this.writeUInt8(value, offset, noAssert) -- else -- this.writeUInt8(0xff + value + 1, offset, noAssert) --} -- --function _writeInt16 (buf, value, offset, littleEndian, noAssert) { -- if (!noAssert) { -- assert(value !== undefined && value !== null, 'missing value') -- assert(typeof littleEndian === 'boolean', 'missing or invalid endian') -- assert(offset !== undefined && offset !== null, 'missing offset') -- assert(offset + 1 < buf.length, 'Trying to write beyond buffer length') -- verifsint(value, 0x7fff, -0x8000) -- } -- -- var len = buf.length -- if (offset >= len) -- return -- -- if (value >= 0) -- _writeUInt16(buf, value, offset, littleEndian, noAssert) -- else -- _writeUInt16(buf, 0xffff + value + 1, offset, littleEndian, noAssert) --} -- --Buffer.prototype.writeInt16LE = function (value, offset, noAssert) { -- _writeInt16(this, value, offset, true, noAssert) --} -- --Buffer.prototype.writeInt16BE = function (value, offset, noAssert) { -- _writeInt16(this, value, offset, false, noAssert) --} -- --function _writeInt32 (buf, value, offset, littleEndian, noAssert) { -- if (!noAssert) { -- assert(value !== undefined && value !== null, 'missing value') -- assert(typeof littleEndian === 'boolean', 'missing or invalid endian') -- assert(offset !== undefined && offset !== null, 'missing offset') -- assert(offset + 3 < buf.length, 'Trying to write beyond buffer length') -- verifsint(value, 0x7fffffff, -0x80000000) -- } -- -- var len = buf.length -- if (offset >= len) -- return -- -- if (value >= 0) -- _writeUInt32(buf, value, offset, littleEndian, noAssert) -- else -- _writeUInt32(buf, 0xffffffff + value + 1, offset, littleEndian, noAssert) --} -- --Buffer.prototype.writeInt32LE = function (value, offset, noAssert) { -- _writeInt32(this, value, offset, true, noAssert) --} -- --Buffer.prototype.writeInt32BE = function (value, offset, noAssert) { -- _writeInt32(this, value, offset, false, noAssert) --} -- --function _writeFloat (buf, value, offset, littleEndian, noAssert) { -- if (!noAssert) { -- assert(value !== undefined && value !== null, 'missing value') -- assert(typeof littleEndian === 'boolean', 'missing or invalid endian') -- assert(offset !== undefined && offset !== null, 'missing offset') -- assert(offset + 3 < buf.length, 'Trying to write beyond buffer length') -- verifIEEE754(value, 3.4028234663852886e+38, -3.4028234663852886e+38) -- } -- -- var len = buf.length -- if (offset >= len) -- return -- -- ieee754.write(buf, value, offset, littleEndian, 23, 4) --} -- --Buffer.prototype.writeFloatLE = function (value, offset, noAssert) { -- _writeFloat(this, value, offset, true, noAssert) --} -- --Buffer.prototype.writeFloatBE = function (value, offset, noAssert) { -- _writeFloat(this, value, offset, false, noAssert) --} -- --function _writeDouble (buf, value, offset, littleEndian, noAssert) { -- if (!noAssert) { -- assert(value !== undefined && value !== null, 'missing value') -- assert(typeof littleEndian === 'boolean', 'missing or invalid endian') -- assert(offset !== undefined && offset !== null, 'missing offset') -- assert(offset + 7 < buf.length, -- 'Trying to write beyond buffer length') -- verifIEEE754(value, 1.7976931348623157E+308, -1.7976931348623157E+308) -- } -- -- var len = buf.length -- if (offset >= len) -- return -- -- ieee754.write(buf, value, offset, littleEndian, 52, 8) --} -- --Buffer.prototype.writeDoubleLE = function (value, offset, noAssert) { -- _writeDouble(this, value, offset, true, noAssert) --} -- --Buffer.prototype.writeDoubleBE = function (value, offset, noAssert) { -- _writeDouble(this, value, offset, false, noAssert) --} -- --// fill(value, start=0, end=buffer.length) --Buffer.prototype.fill = function (value, start, end) { -- if (!value) value = 0 -- if (!start) start = 0 -- if (!end) end = this.length -- -- if (typeof value === 'string') { -- value = value.charCodeAt(0) -- } -- -- assert(typeof value === 'number' && !isNaN(value), 'value is not a number') -- assert(end >= start, 'end < start') -- -- // Fill 0 bytes; we're done -- if (end === start) return -- if (this.length === 0) return -- -- assert(start >= 0 && start < this.length, 'start out of bounds') -- assert(end >= 0 && end <= this.length, 'end out of bounds') -- -- for (var i = start; i < end; i++) { -- this[i] = value -- } --} -- --Buffer.prototype.inspect = function () { -- var out = [] -- var len = this.length -- for (var i = 0; i < len; i++) { -- out[i] = toHex(this[i]) -- if (i === exports.INSPECT_MAX_BYTES) { -- out[i + 1] = '...' -- break -- } -- } -- return '' --} -- --/** -- * Creates a new `ArrayBuffer` with the *copied* memory of the buffer instance. -- * Added in Node 0.12. Only available in browsers that support ArrayBuffer. -- */ --Buffer.prototype.toArrayBuffer = function () { -- if (typeof Uint8Array !== 'undefined') { -- if (Buffer._useTypedArrays) { -- return (new Buffer(this)).buffer -- } else { -- var buf = new Uint8Array(this.length) -- for (var i = 0, len = buf.length; i < len; i += 1) -- buf[i] = this[i] -- return buf.buffer -- } -- } else { -- throw new Error('Buffer.toArrayBuffer not supported in this browser') -- } --} -- --// HELPER FUNCTIONS --// ================ -- --function stringtrim (str) { -- if (str.trim) return str.trim() -- return str.replace(/^\s+|\s+$/g, '') --} -- --var BP = Buffer.prototype -- --/** -- * Augment a Uint8Array *instance* (not the Uint8Array class!) with Buffer methods -- */ --Buffer._augment = function (arr) { -- arr._isBuffer = true -- -- // save reference to original Uint8Array get/set methods before overwriting -- arr._get = arr.get -- arr._set = arr.set -- -- // deprecated, will be removed in node 0.13+ -- arr.get = BP.get -- arr.set = BP.set -- -- arr.write = BP.write -- arr.toString = BP.toString -- arr.toLocaleString = BP.toString -- arr.toJSON = BP.toJSON -- arr.copy = BP.copy -- arr.slice = BP.slice -- arr.readUInt8 = BP.readUInt8 -- arr.readUInt16LE = BP.readUInt16LE -- arr.readUInt16BE = BP.readUInt16BE -- arr.readUInt32LE = BP.readUInt32LE -- arr.readUInt32BE = BP.readUInt32BE -- arr.readInt8 = BP.readInt8 -- arr.readInt16LE = BP.readInt16LE -- arr.readInt16BE = BP.readInt16BE -- arr.readInt32LE = BP.readInt32LE -- arr.readInt32BE = BP.readInt32BE -- arr.readFloatLE = BP.readFloatLE -- arr.readFloatBE = BP.readFloatBE -- arr.readDoubleLE = BP.readDoubleLE -- arr.readDoubleBE = BP.readDoubleBE -- arr.writeUInt8 = BP.writeUInt8 -- arr.writeUInt16LE = BP.writeUInt16LE -- arr.writeUInt16BE = BP.writeUInt16BE -- arr.writeUInt32LE = BP.writeUInt32LE -- arr.writeUInt32BE = BP.writeUInt32BE -- arr.writeInt8 = BP.writeInt8 -- arr.writeInt16LE = BP.writeInt16LE -- arr.writeInt16BE = BP.writeInt16BE -- arr.writeInt32LE = BP.writeInt32LE -- arr.writeInt32BE = BP.writeInt32BE -- arr.writeFloatLE = BP.writeFloatLE -- arr.writeFloatBE = BP.writeFloatBE -- arr.writeDoubleLE = BP.writeDoubleLE -- arr.writeDoubleBE = BP.writeDoubleBE -- arr.fill = BP.fill -- arr.inspect = BP.inspect -- arr.toArrayBuffer = BP.toArrayBuffer -- -- return arr --} -- --// slice(start, end) --function clamp (index, len, defaultValue) { -- if (typeof index !== 'number') return defaultValue -- index = ~~index; // Coerce to integer. -- if (index >= len) return len -- if (index >= 0) return index -- index += len -- if (index >= 0) return index -- return 0 --} -- --function coerce (length) { -- // Coerce length to a number (possibly NaN), round up -- // in case it's fractional (e.g. 123.456) then do a -- // double negate to coerce a NaN to 0. Easy, right? -- length = ~~Math.ceil(+length) -- return length < 0 ? 0 : length --} -- --function isArray (subject) { -- return (Array.isArray || function (subject) { -- return Object.prototype.toString.call(subject) === '[object Array]' -- })(subject) --} -- --function isArrayish (subject) { -- return isArray(subject) || Buffer.isBuffer(subject) || -- subject && typeof subject === 'object' && -- typeof subject.length === 'number' --} -- --function toHex (n) { -- if (n < 16) return '0' + n.toString(16) -- return n.toString(16) --} -- --function utf8ToBytes (str) { -- var byteArray = [] -- for (var i = 0; i < str.length; i++) { -- var b = str.charCodeAt(i) -- if (b <= 0x7F) -- byteArray.push(str.charCodeAt(i)) -- else { -- var start = i -- if (b >= 0xD800 && b <= 0xDFFF) i++ -- var h = encodeURIComponent(str.slice(start, i+1)).substr(1).split('%') -- for (var j = 0; j < h.length; j++) -- byteArray.push(parseInt(h[j], 16)) -- } -- } -- return byteArray --} -- --function asciiToBytes (str) { -- var byteArray = [] -- for (var i = 0; i < str.length; i++) { -- // Node's code seems to be doing this and not & 0x7F.. -- byteArray.push(str.charCodeAt(i) & 0xFF) -- } -- return byteArray --} -- --function utf16leToBytes (str) { -- var c, hi, lo -- var byteArray = [] -- for (var i = 0; i < str.length; i++) { -- c = str.charCodeAt(i) -- hi = c >> 8 -- lo = c % 256 -- byteArray.push(lo) -- byteArray.push(hi) -- } -- -- return byteArray --} -- --function base64ToBytes (str) { -- return base64.toByteArray(str) --} -- --function blitBuffer (src, dst, offset, length) { -- var pos -- for (var i = 0; i < length; i++) { -- if ((i + offset >= dst.length) || (i >= src.length)) -- break -- dst[i + offset] = src[i] -- } -- return i --} -- --function decodeUtf8Char (str) { -- try { -- return decodeURIComponent(str) -- } catch (err) { -- return String.fromCharCode(0xFFFD) // UTF 8 invalid char -- } --} -- --/* -- * We have to make sure that the value is a valid integer. This means that it -- * is non-negative. It has no fractional component and that it does not -- * exceed the maximum allowed value. -- */ --function verifuint (value, max) { -- assert(typeof value === 'number', 'cannot write a non-number as a number') -- assert(value >= 0, 'specified a negative value for writing an unsigned value') -- assert(value <= max, 'value is larger than maximum value for type') -- assert(Math.floor(value) === value, 'value has a fractional component') --} -- --function verifsint (value, max, min) { -- assert(typeof value === 'number', 'cannot write a non-number as a number') -- assert(value <= max, 'value larger than maximum allowed value') -- assert(value >= min, 'value smaller than minimum allowed value') -- assert(Math.floor(value) === value, 'value has a fractional component') --} -- --function verifIEEE754 (value, max, min) { -- assert(typeof value === 'number', 'cannot write a non-number as a number') -- assert(value <= max, 'value larger than maximum allowed value') -- assert(value >= min, 'value smaller than minimum allowed value') --} -- --function assert (test, message) { -- if (!test) throw new Error(message || 'Failed assertion') --} -- - }).call(this,require("r7L21G"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../../../node_modules/buffer/index.js","/../../../../node_modules/buffer") - },{"base64-js":2,"buffer":3,"ieee754":4,"r7L21G":5}],4:[function(require,module,exports){ -}).call(this,require("DF1urx"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/index.js","/../../../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer") -},{"DF1urx":5,"base64-js":3,"buffer":2,"ieee754":4}],3:[function(require,module,exports){ -(function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,__filename,__dirname){ -var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; - -;(function (exports) { - 'use strict'; - - var Arr = (typeof Uint8Array !== 'undefined') - ? Uint8Array - : Array - - var PLUS = '+'.charCodeAt(0) - var SLASH = '/'.charCodeAt(0) - var NUMBER = '0'.charCodeAt(0) - var LOWER = 'a'.charCodeAt(0) - var UPPER = 'A'.charCodeAt(0) - var PLUS_URL_SAFE = '-'.charCodeAt(0) - var SLASH_URL_SAFE = '_'.charCodeAt(0) - - function decode (elt) { - var code = elt.charCodeAt(0) - if (code === PLUS || - code === PLUS_URL_SAFE) - return 62 // '+' - if (code === SLASH || - code === SLASH_URL_SAFE) - return 63 // '/' - if (code < NUMBER) - return -1 //no match - if (code < NUMBER + 10) - return code - NUMBER + 26 + 26 - if (code < UPPER + 26) - return code - UPPER - if (code < LOWER + 26) - return code - LOWER + 26 - } - - function b64ToByteArray (b64) { - var i, j, l, tmp, placeHolders, arr - - if (b64.length % 4 > 0) { - throw new Error('Invalid string. Length must be a multiple of 4') - } - - // the number of equal signs (place holders) - // if there are two placeholders, than the two characters before it - // represent one byte - // if there is only one, then the three characters before it represent 2 bytes - // this is just a cheap hack to not do indexOf twice - var len = b64.length - placeHolders = '=' === b64.charAt(len - 2) ? 2 : '=' === b64.charAt(len - 1) ? 1 : 0 - - // base64 is 4/3 + up to two characters of the original data - arr = new Arr(b64.length * 3 / 4 - placeHolders) - - // if there are placeholders, only get up to the last complete 4 chars - l = placeHolders > 0 ? b64.length - 4 : b64.length - - var L = 0 - - function push (v) { - arr[L++] = v - } - - for (i = 0, j = 0; i < l; i += 4, j += 3) { - tmp = (decode(b64.charAt(i)) << 18) | (decode(b64.charAt(i + 1)) << 12) | (decode(b64.charAt(i + 2)) << 6) | decode(b64.charAt(i + 3)) - push((tmp & 0xFF0000) >> 16) - push((tmp & 0xFF00) >> 8) - push(tmp & 0xFF) - } - - if (placeHolders === 2) { - tmp = (decode(b64.charAt(i)) << 2) | (decode(b64.charAt(i + 1)) >> 4) - push(tmp & 0xFF) - } else if (placeHolders === 1) { - tmp = (decode(b64.charAt(i)) << 10) | (decode(b64.charAt(i + 1)) << 4) | (decode(b64.charAt(i + 2)) >> 2) - push((tmp >> 8) & 0xFF) - push(tmp & 0xFF) - } - - return arr - } - - function uint8ToBase64 (uint8) { - var i, - extraBytes = uint8.length % 3, // if we have 1 byte left, pad 2 bytes - output = "", - temp, length - - function encode (num) { - return lookup.charAt(num) - } - - function tripletToBase64 (num) { - return encode(num >> 18 & 0x3F) + encode(num >> 12 & 0x3F) + encode(num >> 6 & 0x3F) + encode(num & 0x3F) - } - - // go through the array every three bytes, we'll deal with trailing stuff later - for (i = 0, length = uint8.length - extraBytes; i < length; i += 3) { - temp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2]) - output += tripletToBase64(temp) - } - - // pad the end with zeros, but make sure to not forget the extra bytes - switch (extraBytes) { - case 1: - temp = uint8[uint8.length - 1] - output += encode(temp >> 2) - output += encode((temp << 4) & 0x3F) - output += '==' - break - case 2: - temp = (uint8[uint8.length - 2] << 8) + (uint8[uint8.length - 1]) - output += encode(temp >> 10) - output += encode((temp >> 4) & 0x3F) - output += encode((temp << 2) & 0x3F) - output += '=' - break - } - - return output - } - - exports.toByteArray = b64ToByteArray - exports.fromByteArray = uint8ToBase64 -}(typeof exports === 'undefined' ? (this.base64js = {}) : exports)) - -}).call(this,require("DF1urx"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib/b64.js","/../../../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib") -},{"DF1urx":5,"buffer":2}],4:[function(require,module,exports){ --(function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,__filename,__dirname){ --exports.read = function (buffer, offset, isLE, mLen, nBytes) { -- var e, m -- var eLen = nBytes * 8 - mLen - 1 -- var eMax = (1 << eLen) - 1 -- var eBias = eMax >> 1 -- var nBits = -7 -- var i = isLE ? (nBytes - 1) : 0 -- var d = isLE ? -1 : 1 -- var s = buffer[offset + i] -- -- i += d -- -- e = s & ((1 << (-nBits)) - 1) -- s >>= (-nBits) -- nBits += eLen -- for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {} -- -- m = e & ((1 << (-nBits)) - 1) -- e >>= (-nBits) -- nBits += mLen -- for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {} -- -- if (e === 0) { -- e = 1 - eBias -- } else if (e === eMax) { -- return m ? NaN : ((s ? -1 : 1) * Infinity) -- } else { -- m = m + Math.pow(2, mLen) -- e = e - eBias -- } -- return (s ? -1 : 1) * m * Math.pow(2, e - mLen) --} -- --exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { -- var e, m, c -- var eLen = nBytes * 8 - mLen - 1 -- var eMax = (1 << eLen) - 1 -- var eBias = eMax >> 1 -- var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0) -- var i = isLE ? 0 : (nBytes - 1) -- var d = isLE ? 1 : -1 -- var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0 -- -- value = Math.abs(value) -- -- if (isNaN(value) || value === Infinity) { -- m = isNaN(value) ? 1 : 0 -- e = eMax -- } else { -- e = Math.floor(Math.log(value) / Math.LN2) -- if (value * (c = Math.pow(2, -e)) < 1) { -- e-- -- c *= 2 -- } -- if (e + eBias >= 1) { -- value += rt / c -- } else { -- value += rt * Math.pow(2, 1 - eBias) -- } -- if (value * c >= 2) { -- e++ -- c /= 2 -- } -- -- if (e + eBias >= eMax) { -- m = 0 -- e = eMax -- } else if (e + eBias >= 1) { -- m = (value * c - 1) * Math.pow(2, mLen) -- e = e + eBias -- } else { -- m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen) -- e = 0 -- } -- } -- -- for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {} -- -- e = (e << mLen) | m -- eLen += mLen -- for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} -- -- buffer[offset + i - d] |= s * 128 --} -- - }).call(this,require("r7L21G"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../../../node_modules/ieee754/index.js","/../../../../node_modules/ieee754") - },{"buffer":3,"r7L21G":5}],5:[function(require,module,exports){ -}).call(this,require("DF1urx"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754/index.js","/../../../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754") -},{"DF1urx":5,"buffer":2}],5:[function(require,module,exports){ --(function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,__filename,__dirname){ --// shim for using process in browser -- --var process = module.exports = {}; -- --process.nextTick = (function () { -- var canSetImmediate = typeof window !== 'undefined' -- && window.setImmediate; -- var canPost = typeof window !== 'undefined' -- && window.postMessage && window.addEventListener -- ; -- -- if (canSetImmediate) { -- return function (f) { return window.setImmediate(f) }; -- } -- -- if (canPost) { -- var queue = []; -- window.addEventListener('message', function (ev) { -- var source = ev.source; -- if ((source === window || source === null) && ev.data === 'process-tick') { -- ev.stopPropagation(); -- if (queue.length > 0) { -- var fn = queue.shift(); -- fn(); -- } -- } -- }, true); -- -- return function nextTick(fn) { -- queue.push(fn); -- window.postMessage('process-tick', '*'); -- }; -- } -- -- return function nextTick(fn) { -- setTimeout(fn, 0); -- }; --})(); -- --process.title = 'browser'; --process.browser = true; --process.env = {}; --process.argv = []; -- --function noop() {} -- --process.on = noop; --process.addListener = noop; --process.once = noop; --process.off = noop; --process.removeListener = noop; --process.removeAllListeners = noop; --process.emit = noop; -- --process.binding = function (name) { -- throw new Error('process.binding is not supported'); --} -- --// TODO(shtylman) --process.cwd = function () { return '/' }; --process.chdir = function (dir) { -- throw new Error('process.chdir is not supported'); --}; -- - }).call(this,require("r7L21G"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../../../node_modules/process/browser.js","/../../../../node_modules/process") - },{"buffer":3,"r7L21G":5}]},{},[1]) -}).call(this,require("DF1urx"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../../../node_modules/gulp-browserify/node_modules/browserify/node_modules/process/browser.js","/../../../../node_modules/gulp-browserify/node_modules/browserify/node_modules/process") -},{"DF1urx":5,"buffer":2}]},{},[1]) --//# sourceMappingURL=index.min.js.map diff --cc app/static/js/tinymce_setup.js index b51a231d,b51a231d..00000000 deleted file mode 100644,100644 --- a/app/static/js/tinymce_setup.js +++ /dev/null @@@ -1,2 -1,2 +1,0 @@@ --function custom_file_browser(field_name,url,type,win){return tinyMCE.activeEditor.windowManager.open({title:"Select "+type+" to insert",file:window.__filebrowser_url+"?pop=5&type="+type,width:800,height:500,resizable:"yes",scrollbars:"yes",inline:"yes",close_previous:"no"},{window:win,input:field_name}),!1}var language_codes={ar:"ar",ca:"ca",cs:"cs",da:"da",de:"de",es:"es",et:"et",fa:"fa","fa-ir":"fa_IR",fi:"fi",fr:"fr_FR","hr-hr":"hr",hu:"hu_HU","id-id":"id","is-is":"is_IS",it:"it",ja:"ja",ko:"ko_KR",lv:"lv",nb:"nb_NO",nl:"nl",pl:"pl","pt-br":"pt_BR","pt-pt":"pt_PT",ru:"ru",sk:"sk",sr:"sr",sv:"sv_SE",tr:"tr",uk:"uk_UA",vi:"vi","zh-cn":"zh_CN","zh-tw":"zh_TW","zh-hant":"zh_TW","zh-hans":"zh_CN"};jQuery(function($){"undefined"!=typeof tinyMCE&&tinyMCE.init({selector:"textarea.mceEditor",height:"500px",language:language_codes[window.__language_code]||"en",plugins:["advlist autolink lists link image charmap print preview anchor","searchreplace visualblocks code fullscreen","insertdatetime media table contextmenu paste"],link_list:window.__link_list_url,relative_urls:!1,convert_urls:!1,menubar:!0,statusbar:!1,toolbar:"insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image table | code fullscreen",image_advtab:!0,file_browser_callback:custom_file_browser,content_css:window.__tinymce_css,valid_elements:"*[*]"})}); --//# sourceMappingURL=tinymce_setup.js.map