diff --git a/README.md b/README.md index c9e718a..50e9055 100644 --- a/README.md +++ b/README.md @@ -1,82 +1,103 @@ # JUEThacks 2020(virtual) -Welcome to JUEThacks! -![welcome](https://media.giphy.com/media/QaAhHcpPEPK5ZWntSg/giphy.gif) +Welcome to JUEThacks! +![welcome](https://media.giphy.com/media/QaAhHcpPEPK5ZWntSg/giphy.gif) ## Rules + Kindly go through the [Rules](rules.md) of the Hackathon beforehand. ## Submissions + All the Project Submissions have to done by making a Pull request first and then creating a issue in this repository. The guidelines to followed for the same have been mentioned below: -1. The **Team Leader** has to fork this repository in his/her profile and then create a new folder named **YOUR-TEAMNAME** inside **SUBMISSION** folder. -2. The **Team Leader** will have to *push* all the files related to the project including presentation in the forked respository in his/her profile and then create a pull request. If you're new to using git and github visit [this](https://medium.com/@camelcaseguy/git-github-for-babies-by-shubhendra-7232c0486b99) + +1. The **Team Leader** has to fork this repository in his/her profile and then create a new folder named **YOUR-TEAMNAME** inside **SUBMISSION** folder. +2. The **Team Leader** will have to _push_ all the files related to the project including presentation in the forked respository in his/her profile and then create a pull request. If you're new to using git and github visit [this](https://medium.com/@camelcaseguy/git-github-for-babies-by-shubhendra-7232c0486b99) 3. The **Team Leader** has to open up an Issue for project submission using his/her GitHub Account [here](https://github.com/MozPhoenixClubJUET/JUETHacks2020/issues/new) 4. The **Issue Template** should be strictly followed. A submission not following the same would be termed as an INVALID SUBMISSION. 5. Add appropriate **labels** according to your **Project Field & Track**. Two Label have to applied on each individual submission. 6. Only a **single issue** has to be made for each individual project, Multiple submissions will be termed as INVALID SUBMISSION. ## Labels + One has to mark appropriate label in order to a submission valid for the Hackathon. Each submissions should have at least 2 labels according to the Project Field & Track. ## Project Field: + Choose from + #### `AR/VR` + #### `Blockchain` + #### `Open Innovation` + #### `COVID` ## Project Track: + All the various tracks are listed below, please choose one accordingly. ### `AR/VR Track 1` + > **Immersive Tech for Good - Easing Disabilities** > Virtual and Augmented Reality have proven to be a great technology to empower or transform the lives of people with disabilities, be it motor-skills recovery for people who have had a stroke or physical trauma, showing someone in a wheelchair what it is like to go skydiving, or generally making it easier to live with a disability. Pick ANY disability, and use the power of Virtual /Augmented Reality to make a difference in the lives of the affected people. -Interesting Case Studies: +> Interesting Case Studies: +> > - [Link 1](https://www.abilitynet.org.uk/news-blogs/8-ways-virtual-reality-could-transform-lives-disabled-people) > - [Link 2](https://www.thegenius.ca/augmented-virtual-reality-benefit-disabled-people/) > - [Link 3](https://arpost.co/2018/02/21/augmented-reality-changed-life-disabled/) > **Note:** You can use any Open Source Platforms to build the prototypes: +> > 1. AFrame > 2. React 360 > 3. ARKit > 4. ARCore ### `AR/VR Track 2` + > **Interfaces of Tomorrow** > I​n the future, personal computing has finally broken into the three dimensional world, and the one device you carry with you, is no longer an object with a screen like your mobile phone, but rather merges seamlessly into your three dimensional reality. What are these interfaces of tomorrow going to look like, doing day-to-day tasks like we do on our phones today? How do you shop online? How do you make a payment? How do you remotely communicate with someone? -Pick any ONE interesting interpretation of what is currently a common task on your phone, imagine the future, and build it for tomorrow. +> Pick any ONE interesting interpretation of what is currently a common task on your phone, imagine the future, and build it for tomorrow. > **Note:** You can use any Open Source Platforms to build the prototypes: +> > 1. AFrame > 2. React 360 > 3. ARKit > 4. ARCore ### `Blockchain Track 1` + > What are the possible use cases of blockchain with trade and finance that have not been explored or aren’t popular yet? ### `Blockchain Track 2` + > Blockchain industry is yet to be utilised at the max and we see new use-cases emerging daily. How according to you can tokenisation improve traditional way of doing business? ### `Blockchain Track 3` + > Have you tried addressing any common PROBLEM using BLOCKCHAIN before? If YES, elaborate about the PROBLEM and the SOLUTION for the same. ### `Open Innovation Track 1` + > How do we best evaluate Front office agent performance during an inbound customer call using NLP and how do we capture sentiment of the call? ### `Open Innovation No Track Followed` + > **Have you addressed any day to day life problem for the common man and tried figuring out a solution for that?** > It could be an app or a device or a simple process which could help a huge mass together. > **Note:** You can use any Open Source Tech Stack to build solutions for the same. ### `COVID software track` + > **Figure out a problem that you can solve by building a software for current covid situation** ### `COVID hardware track` -> **Figure out a problem that you can solve by building a hardware/IOT device for current covid situation** +> **Figure out a problem that you can solve by building a hardware/IOT device for current covid situation** #### Ask us if you've any questions. Drop your questions [here](https://t.me/joinchat/FN8dIBkSGlglXTSv0joR0g) diff --git a/SUBMISSION/BugBusters/README.md b/SUBMISSION/BugBusters/README.md index 44e3e28..90c7918 100644 --- a/SUBMISSION/BugBusters/README.md +++ b/SUBMISSION/BugBusters/README.md @@ -1,16 +1,16 @@ # COVID-19 Predictor - A simple web application that predicts the chances for a person's being infected by COVID-19 based on symptoms. - - [Preview on Heroku](http://covid-predict-app.herokuapp.com) - - ## Technologies used - - - HTML, CSS, and JavaScript for the public webpages. - - Bootstrap and jQuery for enhancing the front-end. - - Flask for the back-end server and machine learning model handling in Python. - - SQL for storing the logs in an SQLite3 database. - - NewsAPI (http://newsapi.org) for fetching relevant news. +A simple web application that predicts the chances for a person's being infected by COVID-19 based on symptoms. + +[Preview on Heroku](http://covid-predict-app.herokuapp.com) + +## Technologies used + +- HTML, CSS, and JavaScript for the public webpages. +- Bootstrap and jQuery for enhancing the front-end. +- Flask for the back-end server and machine learning model handling in Python. +- SQL for storing the logs in an SQLite3 database. +- NewsAPI (http://newsapi.org) for fetching relevant news. # Setting Up the Application Server @@ -37,51 +37,54 @@ - Add the NewsAPI API Key to _apikey.py_. You can obtain one from http://newsapi.org. _apikey.py_: + ``` apikey = 'YOUR_API_KEY_HERE' ``` - + This isn't a requirement unless you wish to display recent news. - + - Acquire the data in the form of a CSV file named _Data.csv_. Else, execute _dummydata.py_ to generate dummy data. - - ```python dummydata.py``` - + + `python dummydata.py` + _Data.csv_: - ``` - fever,BodyPain,age,RunnyNose,diffBreath,infectionProb - 99.6,0,95,0,1,0 - 102.1,0,3,1,1,0 + + ``` + fever,BodyPain,age,RunnyNose,diffBreath,infectionProb + 99.6,0,95,0,1,0 + 102.1,0,3,1,1,0 ... ``` - - | Parameter | Value | - |:------------------:|:---------:| - | fever | Body temperature in °F | - | BodyPain | Body pain: 0 for none, 1 for severe | - | age | The person's age | - | RunnyNose | Whether or not the person has a runny nose: 0 for no, 1 for yes | - | diffBreath | Whether or not the person faces difficulty in breathing: 0 for none, 1 for little, 2 for severe | - | infectionProb | Whether or not the person is infected: 0 for not infected, 1 for infected | + + | Parameter | Value | + | :-----------: | :---------------------------------------------------------------------------------------------: | + | fever | Body temperature in °F | + | BodyPain | Body pain: 0 for none, 1 for severe | + | age | The person's age | + | RunnyNose | Whether or not the person has a runny nose: 0 for no, 1 for yes | + | diffBreath | Whether or not the person faces difficulty in breathing: 0 for none, 1 for little, 2 for severe | + | infectionProb | Whether or not the person is infected: 0 for not infected, 1 for infected | - Get the model trained by executing _training.py_. - ```python training.py``` - -- Host the Flask server by executing ```flask run```. + `python training.py` + +- Host the Flask server by executing `flask run`. + + `flask run` - ```flask run``` - By default, the server will be live at http://localhost:5000/ in debug mode. Other settings can be modified as per requirement. # Credits Authors (BugBusters): - - [Param Siddharth](https://www.paramsid.com/) - - [Ritesh Yadav](https://github.com/DARK-art108) - - [Harsh Marolia](https://github.com/HarshMarolia) - - Sushant Sharma - - [Paridhi Malav](https://github.com/paridhi1314) + +- [Param Siddharth](https://www.paramsid.com/) +- [Ritesh Yadav](https://github.com/DARK-art108) +- [Harsh Marolia](https://github.com/HarshMarolia) +- Sushant Sharma +- [Paridhi Malav](https://github.com/paridhi1314) Favicon obtained from https://findicons.com. News API from http://newsapi.org. diff --git a/SUBMISSION/BugBusters/static/style/main.css b/SUBMISSION/BugBusters/static/style/main.css index 522e8c0..d73b0ca 100644 --- a/SUBMISSION/BugBusters/static/style/main.css +++ b/SUBMISSION/BugBusters/static/style/main.css @@ -1,3 +1,3 @@ nav { - background: #b33; -} \ No newline at end of file + background: #b33; +} diff --git a/SUBMISSION/BugBusters/templates/about.html b/SUBMISSION/BugBusters/templates/about.html index cc2dcb5..86750a1 100644 --- a/SUBMISSION/BugBusters/templates/about.html +++ b/SUBMISSION/BugBusters/templates/about.html @@ -1,12 +1,14 @@ -{% extends 'layout.html' %} -{% block title %}About{% endblock %} -{% block main %} +{% extends 'layout.html' %} {% block title %}About{% endblock %} {% block main +%}

Coronavirus Predictor (Neerog Jeevan)

-

A simple web application that predicts - the chances for a person's being infected by COVID-19 - based on symptoms.

-

A dummy dataset and machine learning model are being used - for the prediction. This application has been built in HTML, CSS, - JavaScript and Python (Flask, NumPy, Pickle, Scikit-Learn).

-

Made with ❤️ by BugBusters.

-{% endblock %} \ No newline at end of file +

+ A simple web application that predicts the chances for a person's being + infected by COVID-19 based on symptoms. +

+

+ A dummy dataset and machine learning model are being used for the prediction. + This application has been built in HTML, CSS, JavaScript and Python (Flask, + NumPy, Pickle, Scikit-Learn). +

+

Made with ❤️ by BugBusters.

+{% endblock %} diff --git a/SUBMISSION/BugBusters/templates/index.html b/SUBMISSION/BugBusters/templates/index.html index 56b96c4..dea8868 100644 --- a/SUBMISSION/BugBusters/templates/index.html +++ b/SUBMISSION/BugBusters/templates/index.html @@ -1,38 +1,24 @@ -{% extends 'layout.html' %} -{% block title %}Home{% endblock %} -{% block main %} +{% extends 'layout.html' %} {% block title %}Home{% endblock %} {% block main %}

Coronavirus Predictor

Welcome to Neerog Jeevan!

-

COVID-19 has turned the world upside down in 2020. -To stay safe and healthy is a major concern.

+

+ COVID-19 has turned the world upside down in 2020. To stay safe and healthy is + a major concern. +

How safe are you?

-

Proceed to the Predictor

+

Proceed to the Predictor

Headlines

-

-{% endblock %} -{% block scripting %} -$(function() { - let news = $('#headlines'); - news.text('Fetching news...'); - $.getJSON('/news.json', {key: {{ keyval }}}, function(data) { - // news.text(JSON.stringify(data)); - news.text('Latest COVID-19 news:'); - if (data.status === 'ok') { - let articles = data.articles; - let listOfArticles = $(''); - news.append(listOfArticles); - if (articles.length > 5) - articles = articles.slice(0, 5); - for (let article of articles) { - let articleElem = $(''), listItem = $('
  • '); - articleElem.attr({ href: article.url }); - articleElem.text(article.title); - listItem.append(articleElem); - listOfArticles.append(listItem); - } - } else { - news.text('Error in getting headlines.'); - } - }) -}); -{% endblock %} \ No newline at end of file +

    +{% endblock %} {% block scripting %} $(function() { let news = $('#headlines'); +news.text('Fetching news...'); $.getJSON('/news.json', {key: {{ keyval }}}, +function(data) { // news.text(JSON.stringify(data)); news.text('Latest COVID-19 +news:'); if (data.status === 'ok') { let articles = data.articles; let +listOfArticles = $(' + +'); news.append(listOfArticles); if (articles.length > 5) articles = +articles.slice(0, 5); for (let article of articles) { let articleElem = $(''), listItem = $(' +
  • +'); articleElem.attr({ href: article.url }); articleElem.text(article.title); +listItem.append(articleElem); listOfArticles.append(listItem); } } else { +news.text('Error in getting headlines.'); } }) }); {% endblock %} diff --git a/SUBMISSION/BugBusters/templates/index2.html b/SUBMISSION/BugBusters/templates/index2.html index b79d64b..ec4f1a7 100644 --- a/SUBMISSION/BugBusters/templates/index2.html +++ b/SUBMISSION/BugBusters/templates/index2.html @@ -1,84 +1,312 @@ -{% extends 'layout2.html' %} -{% block title %}Home{% endblock %} -{% block body %} -
    - -
    - -
    -

    COVID-19 TEST - TEST YOUR COVID CHANCES NOW!! -

    -

    Connect with health services and latest news to fight with covid-19.Test now to check your covid 19 chances within home and maintain social distancing also get updates regarding covid-19 in india and all over the world.

    -
    - - -
    -
    -
    - hero +{% extends 'layout2.html' %} {% block title %}Home{% endblock %} {% block body +%} +
    +
    +
    +

    + COVID-19 TEST TEST YOUR COVID + CHANCES NOW!! +

    +

    + Connect with health services and latest news to fight with covid-19.Test + now to check your covid 19 chances within home and maintain social + distancing also get updates regarding covid-19 in india and all over the + world. +

    +
    + +
    -
    -
    -
    -
    -
    -
    +
    + hero +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + 1 +
    +
    +
    + + +
    -
    1
    -
    -
    - - - -
    -
    -

    Click on Test Now

    -

    By clicking on Test Now you will be directed to our Covid-19 Detector,where you will be having a virtual Health Checkup.

    -
    +
    +

    + Click on Test Now +

    +

    + By clicking on Test Now you will be directed to our Covid-19 + Detector,where you will be having a virtual Health Checkup. +

    -
    -
    -
    +
    +
    +
    +
    +
    +
    + 2 +
    +
    +
    + + +
    -
    2
    -
    -
    - - - -
    -
    -

    Fill the Form

    -

    Fill form and click on submit to test your chances towards corona virus infection.

    -
    +
    +

    + Fill the Form +

    +

    + Fill form and click on submit to test your chances towards corona + virus infection. +

    - -
    -
    -
    +
    + +
    +
    +
    +
    +
    + 3 +
    +
    +
    + + + +
    -
    3
    -
    -
    - - - - -
    -
    -

    Chances are Shown

    -

    If your chances are below 50% you're safe towards Covid-19 so maintain social distancing and stay in home,And if your chances are above 50% please seek to your nearest doctor as soon as possible.

    -
    +
    +

    + Chances are Shown +

    +

    + If your chances are below 50% you're safe towards Covid-19 so + maintain social distancing and stay in home,And if your chances are + above 50% please seek to your nearest doctor as soon as possible. +

    - -
    - animated -
    -
    -{% endblock %} \ No newline at end of file +
    + +
    + animated +
    +
    +{% endblock %} diff --git a/SUBMISSION/BugBusters/templates/layout.html b/SUBMISSION/BugBusters/templates/layout.html index 5a08741..da2a795 100644 --- a/SUBMISSION/BugBusters/templates/layout.html +++ b/SUBMISSION/BugBusters/templates/layout.html @@ -2,44 +2,83 @@ - - + + - - - + + + COVID-19 Predictor - {% block title %}{% endblock %} - - + COVID-19 Predictor + -
    - {% block main %}{% endblock %} + - + + +
    {% block main %}{% endblock %}
    + - - - - + + + + diff --git a/SUBMISSION/BugBusters/templates/pquery.html b/SUBMISSION/BugBusters/templates/pquery.html index 7592eb9..2466766 100644 --- a/SUBMISSION/BugBusters/templates/pquery.html +++ b/SUBMISSION/BugBusters/templates/pquery.html @@ -1,49 +1,93 @@ -{% extends 'layout.html' %} -{% block title %}Predict{% endblock %} -{% block main %} -

    Coronavirus Predictor

    -
    -
    - - - 98°F -
    - -
    - - -
    - -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    -
    - -
    - - -
    - - -
    +{% extends 'layout.html' %} {% block title %}Predict{% endblock %} {% block main +%} +

    Coronavirus Predictor

    +
    +
    + + + 98°F +
    + +
    + + +
    + +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    + +
    + + +
    + + +
    +{% endblock %} {% block scripting %} document.getElementById('fever').oninput = +function() { document.getElementById('feverOut').value = this.value + '°F'; }; {% endblock %} -{% block scripting %} -document.getElementById('fever').oninput = function() { - document.getElementById('feverOut').value = this.value + '°F'; -}; -{% endblock %} \ No newline at end of file diff --git a/SUBMISSION/BugBusters/templates/show.html b/SUBMISSION/BugBusters/templates/show.html index ff55be4..6bce650 100644 --- a/SUBMISSION/BugBusters/templates/show.html +++ b/SUBMISSION/BugBusters/templates/show.html @@ -1,17 +1,61 @@ -{% extends 'layout.html' %} -{% block title %}Result{% endblock %} -{% block main %} +{% extends 'layout.html' %} {% block title %}Result{% endblock %} {% block main +%}

    Coronavirus Predictor - Neerog Jeevan

    -

    The predictor says that the probability - of your being infected by COVID-19 is {{inf}}%.

    -
    - {{ inf }}% -
    - {% if inf > 75 %}
    -
    -
    Alert!
    - Your conditions are severe! Approach the nearest hospital as soon as possible. -
    -
    {% endif %} - -{% endblock %} \ No newline at end of file +

    + The predictor says that the probability of your being infected by COVID-19 is + {{inf}}%. +

    +
    +
    + {{ inf }}% +
    +
    +{% if inf > 75 %} +
    +
    +
    Alert!
    + Your conditions are severe! Approach the nearest hospital as soon as + possible. +
    +
    +{% endif %} + +{% endblock %} diff --git a/SUBMISSION/BugBusters/templates/team.html b/SUBMISSION/BugBusters/templates/team.html index 8b54663..c077bdd 100644 --- a/SUBMISSION/BugBusters/templates/team.html +++ b/SUBMISSION/BugBusters/templates/team.html @@ -1,19 +1,21 @@ -{% extends 'layout.html' %} -{% block title %}Team{% endblock %} -{% block main %} +{% extends 'layout.html' %} {% block title %}Team{% endblock %} {% block main %}

    Coronavirus Predictor (Neerog Jeevan)

    -

    BugBusters

    -
    - {% for person in team %} -
    -
    -
    -
    -
    {{ person['name'] }}
    - {{ person['desc']|safe }} -
    -
    +

    BugBusters

    +
    + {% for person in team %} +
    +
    +
    + +
    +
    +
    {{ person['name'] }}
    + {{ person['desc']|safe }} +
    - {% endfor %} +
    + {% endfor %}
    -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/SUBMISSION/Code Crafters/README.md b/SUBMISSION/Code Crafters/README.md index c2af901..28d498e 100644 --- a/SUBMISSION/Code Crafters/README.md +++ b/SUBMISSION/Code Crafters/README.md @@ -1,38 +1,44 @@ -# Code-Crafters---Juet-Hacks-2020 || Crafter's Mask Detector +# Code-Crafters---Juet-Hacks-2020 || Crafter's Mask Detector Setting Up Environment To run : # Step 1 : -Download Python 3.7 + +Download Python 3.7 # Step 2 : -Run Following command on cmd/terminal +Run Following command on cmd/terminal On Windows: py -m pip install --user virtualenv - # step 3 : + install following packages from cmd/terminal on Windows Open cmd , + 1. type pip install imutils 2. type pip install tensorflow 3. type pip install opencv-python 4. type pip install flask # step 4 : -Download all the files & folders from master and place it in a folder . Then open face_detect.py file and edit path of model files & sound files to that of your local machine -# step 5: +Download all the files & folders from master and place it in a folder . Then open face_detect.py file and edit path of model files & sound files to that of your local machine + +# step 5: + inside templates folder there is all the files of front end , all the CSS & image/video files are in static folder in root. # step 6: + run the main.py file # step 7: + open Chrome and in add. bar type localhost:5000 to view the site diff --git a/SUBMISSION/Code Crafters/static/about.css b/SUBMISSION/Code Crafters/static/about.css index b79c8ca..8f0f648 100644 --- a/SUBMISSION/Code Crafters/static/about.css +++ b/SUBMISSION/Code Crafters/static/about.css @@ -1,164 +1,157 @@ -body{ -top:0; -margin: 0; -height: 800px; -font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; -font-size:1rem; -font-weight:normal; - background: linear-gradient(to right, #2193b0 , #6dd5ed); -} -.logo{ -/* background-color: #fff; */ -margin-top: -58px; -} -#nav -{ - background-color:#2ea2eb; - width: 100%; - height:63px; -} -.container1 -{ - display: block; - text-align: center; - -margin: 7px 280px; -} -.container2 -{ - display: flex; - top: 0; - margin: 47px 0px; - -} -#box -{ - border: none ; - border-radius: 31px; - padding: 33px; - height: 520px; - width: 300px; - margin: 10px 19px; - - background:linear-gradient(to right, #eecda3 , #ef629f); -} - -#one -{ - align-items: center; - width: 50%; - border-radius: 100px; - margin: auto; - height: 140px; -} - - -.header{ - background-color: black; - width: 100%; - height: 10vh; - line-height: 5vh; -} -.navbar{ - display: flex; - justify-content: space-around; -} -h2{ - color: #fff; -} -ul{ - display: flex; - list-style: none; -} -ul li a{ - position: relative; - color: #fff; - padding: 10px 10px; - text-decoration: none; - transition: all .5s; -} -ul li a:before{ - content: ''; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 1px; - background-color: #fff; - z-index: -1; - transform: scaleX(0); - transform-origin: right; - transition: transform .5s; -} -ul li a:hover:before{ - transform: scaleX(1); - z-index: 1; -} -ul li a:after{ - content: ''; - position: absolute; - bottom: 0; - right: 0; - width: 100%; - height: 1px; - background-color: #fff; - z-index: -1; - transform: scaleX(0); - transform-origin: left; - transition: transform .5s; -} -ul li a:hover:after{ - transform: scaleX(1); - z-index: 1; -} -$redColor: rgba(244,67,54,1); -$blueColor:rgba(33,150,243,1); - -.flex-center { - width: 100%; - min-height: 50vh; - - background: #000; - - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} - -.icon-3d { - padding: 10px; - -webkit-animation: icon3d 200ms 10; - animation: icon3d 200ms 10; - color: #fff; - &:hover { - -webkit-animation: icon3d 200ms infinite; - animation: icon3d 200ms infinite; - } -} - -@keyframes icon3d { - 0% { - text-shadow: 5px 4px $redColor, -5px -6px $blueColor; - } - 25% { - text-shadow: -5px -6px $redColor, 5px 4px $blueColor; - } - 50% { - text-shadow: 5px -4px $redColor, -8px 4px $blueColor; - } - 75% { - text-shadow: -8px -4px $redColor, -5px -4px $blueColor; - } - 100% { - text-shadow: -5px 0 $redColor, 5px -4px $blueColor; - } -} +body { + top: 0; + margin: 0; + height: 800px; + font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; + font-size: 1rem; + font-weight: normal; + background: linear-gradient(to right, #2193b0, #6dd5ed); +} +.logo { + /* background-color: #fff; */ + margin-top: -58px; +} +#nav { + background-color: #2ea2eb; + width: 100%; + height: 63px; +} +.container1 { + display: block; + text-align: center; + + margin: 7px 280px; +} +.container2 { + display: flex; + top: 0; + margin: 47px 0px; +} +#box { + border: none; + border-radius: 31px; + padding: 33px; + height: 520px; + width: 300px; + margin: 10px 19px; + + background: linear-gradient(to right, #eecda3, #ef629f); +} + +#one { + align-items: center; + width: 50%; + border-radius: 100px; + margin: auto; + height: 140px; +} + +.header { + background-color: black; + width: 100%; + height: 10vh; + line-height: 5vh; +} +.navbar { + display: flex; + justify-content: space-around; +} +h2 { + color: #fff; +} +ul { + display: flex; + list-style: none; +} +ul li a { + position: relative; + color: #fff; + padding: 10px 10px; + text-decoration: none; + transition: all 0.5s; +} +ul li a:before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 1px; + background-color: #fff; + z-index: -1; + transform: scaleX(0); + transform-origin: right; + transition: transform 0.5s; +} +ul li a:hover:before { + transform: scaleX(1); + z-index: 1; +} +ul li a:after { + content: ""; + position: absolute; + bottom: 0; + right: 0; + width: 100%; + height: 1px; + background-color: #fff; + z-index: -1; + transform: scaleX(0); + transform-origin: left; + transition: transform 0.5s; +} +ul li a:hover:after { + transform: scaleX(1); + z-index: 1; +} +$redColor: rgba(244, 67, 54, 1); +$blueColor: rgba(33, 150, 243, 1); + +.flex-center { + width: 100%; + min-height: 50vh; + + background: #000; + + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} + +.icon-3d { + padding: 10px; + -webkit-animation: icon3d 200ms 10; + animation: icon3d 200ms 10; + color: #fff; + &:hover { + -webkit-animation: icon3d 200ms infinite; + animation: icon3d 200ms infinite; + } +} + +@keyframes icon3d { + 0% { + text-shadow: 5px 4px $redColor, -5px -6px $blueColor; + } + 25% { + text-shadow: -5px -6px $redColor, 5px 4px $blueColor; + } + 50% { + text-shadow: 5px -4px $redColor, -8px 4px $blueColor; + } + 75% { + text-shadow: -8px -4px $redColor, -5px -4px $blueColor; + } + 100% { + text-shadow: -5px 0 $redColor, 5px -4px $blueColor; + } +} diff --git a/SUBMISSION/Code Crafters/static/css/font-awesome.css b/SUBMISSION/Code Crafters/static/css/font-awesome.css index ee906a8..80a9f5b 100644 --- a/SUBMISSION/Code Crafters/static/css/font-awesome.css +++ b/SUBMISSION/Code Crafters/static/css/font-awesome.css @@ -5,9 +5,15 @@ /* FONT PATH * -------------------------- */ @font-face { - font-family: 'FontAwesome'; - src: url('../fonts/fontawesome-webfont.eot?v=4.7.0'); - src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg'); + font-family: "FontAwesome"; + src: url("../fonts/fontawesome-webfont.eot?v=4.7.0"); + src: url("../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0") + format("embedded-opentype"), + url("../fonts/fontawesome-webfont.woff2?v=4.7.0") format("woff2"), + url("../fonts/fontawesome-webfont.woff?v=4.7.0") format("woff"), + url("../fonts/fontawesome-webfont.ttf?v=4.7.0") format("truetype"), + url("../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular") + format("svg"); font-weight: normal; font-style: normal; } @@ -60,9 +66,9 @@ left: -1.85714286em; } .fa-border { - padding: .2em .25em .15em; + padding: 0.2em 0.25em 0.15em; border: solid 0.08em #eeeeee; - border-radius: .1em; + border-radius: 0.1em; } .fa-pull-left { float: left; @@ -71,10 +77,10 @@ float: right; } .fa.fa-pull-left { - margin-right: .3em; + margin-right: 0.3em; } .fa.fa-pull-right { - margin-left: .3em; + margin-left: 0.3em; } /* Deprecated as of 4.4.0 */ .pull-right { @@ -84,10 +90,10 @@ float: left; } .fa.pull-left { - margin-right: .3em; + margin-right: 0.3em; } .fa.pull-right { - margin-left: .3em; + margin-left: 0.3em; } .fa-spin { -webkit-animation: fa-spin 2s infinite linear; diff --git a/SUBMISSION/Code Crafters/static/css/font-awesome.min.css b/SUBMISSION/Code Crafters/static/css/font-awesome.min.css index 540440c..180f4fc 100644 --- a/SUBMISSION/Code Crafters/static/css/font-awesome.min.css +++ b/SUBMISSION/Code Crafters/static/css/font-awesome.min.css @@ -1,4 +1,2337 @@ /*! * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} + */ +@font-face { + font-family: "FontAwesome"; + src: url("../fonts/fontawesome-webfont.eot?v=4.7.0"); + src: url("../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0") + format("embedded-opentype"), + url("../fonts/fontawesome-webfont.woff2?v=4.7.0") format("woff2"), + url("../fonts/fontawesome-webfont.woff?v=4.7.0") format("woff"), + url("../fonts/fontawesome-webfont.ttf?v=4.7.0") format("truetype"), + url("../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular") + format("svg"); + font-weight: normal; + font-style: normal; +} +.fa { + display: inline-block; + font: normal normal normal 14px/1 FontAwesome; + font-size: inherit; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.fa-lg { + font-size: 1.33333333em; + line-height: 0.75em; + vertical-align: -15%; +} +.fa-2x { + font-size: 2em; +} +.fa-3x { + font-size: 3em; +} +.fa-4x { + font-size: 4em; +} +.fa-5x { + font-size: 5em; +} +.fa-fw { + width: 1.28571429em; + text-align: center; +} +.fa-ul { + padding-left: 0; + margin-left: 2.14285714em; + list-style-type: none; +} +.fa-ul > li { + position: relative; +} +.fa-li { + position: absolute; + left: -2.14285714em; + width: 2.14285714em; + top: 0.14285714em; + text-align: center; +} +.fa-li.fa-lg { + left: -1.85714286em; +} +.fa-border { + padding: 0.2em 0.25em 0.15em; + border: solid 0.08em #eee; + border-radius: 0.1em; +} +.fa-pull-left { + float: left; +} +.fa-pull-right { + float: right; +} +.fa.fa-pull-left { + margin-right: 0.3em; +} +.fa.fa-pull-right { + margin-left: 0.3em; +} +.pull-right { + float: right; +} +.pull-left { + float: left; +} +.fa.pull-left { + margin-right: 0.3em; +} +.fa.pull-right { + margin-left: 0.3em; +} +.fa-spin { + -webkit-animation: fa-spin 2s infinite linear; + animation: fa-spin 2s infinite linear; +} +.fa-pulse { + -webkit-animation: fa-spin 1s infinite steps(8); + animation: fa-spin 1s infinite steps(8); +} +@-webkit-keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +.fa-rotate-90 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); +} +.fa-rotate-180 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} +.fa-rotate-270 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; + -webkit-transform: rotate(270deg); + -ms-transform: rotate(270deg); + transform: rotate(270deg); +} +.fa-flip-horizontal { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"; + -webkit-transform: scale(-1, 1); + -ms-transform: scale(-1, 1); + transform: scale(-1, 1); +} +.fa-flip-vertical { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"; + -webkit-transform: scale(1, -1); + -ms-transform: scale(1, -1); + transform: scale(1, -1); +} +:root .fa-rotate-90, +:root .fa-rotate-180, +:root .fa-rotate-270, +:root .fa-flip-horizontal, +:root .fa-flip-vertical { + filter: none; +} +.fa-stack { + position: relative; + display: inline-block; + width: 2em; + height: 2em; + line-height: 2em; + vertical-align: middle; +} +.fa-stack-1x, +.fa-stack-2x { + position: absolute; + left: 0; + width: 100%; + text-align: center; +} +.fa-stack-1x { + line-height: inherit; +} +.fa-stack-2x { + font-size: 2em; +} +.fa-inverse { + color: #fff; +} +.fa-glass:before { + content: "\f000"; +} +.fa-music:before { + content: "\f001"; +} +.fa-search:before { + content: "\f002"; +} +.fa-envelope-o:before { + content: "\f003"; +} +.fa-heart:before { + content: "\f004"; +} +.fa-star:before { + content: "\f005"; +} +.fa-star-o:before { + content: "\f006"; +} +.fa-user:before { + content: "\f007"; +} +.fa-film:before { + content: "\f008"; +} +.fa-th-large:before { + content: "\f009"; +} +.fa-th:before { + content: "\f00a"; +} +.fa-th-list:before { + content: "\f00b"; +} +.fa-check:before { + content: "\f00c"; +} +.fa-remove:before, +.fa-close:before, +.fa-times:before { + content: "\f00d"; +} +.fa-search-plus:before { + content: "\f00e"; +} +.fa-search-minus:before { + content: "\f010"; +} +.fa-power-off:before { + content: "\f011"; +} +.fa-signal:before { + content: "\f012"; +} +.fa-gear:before, +.fa-cog:before { + content: "\f013"; +} +.fa-trash-o:before { + content: "\f014"; +} +.fa-home:before { + content: "\f015"; +} +.fa-file-o:before { + content: "\f016"; +} +.fa-clock-o:before { + content: "\f017"; +} +.fa-road:before { + content: "\f018"; +} +.fa-download:before { + content: "\f019"; +} +.fa-arrow-circle-o-down:before { + content: "\f01a"; +} +.fa-arrow-circle-o-up:before { + content: "\f01b"; +} +.fa-inbox:before { + content: "\f01c"; +} +.fa-play-circle-o:before { + content: "\f01d"; +} +.fa-rotate-right:before, +.fa-repeat:before { + content: "\f01e"; +} +.fa-refresh:before { + content: "\f021"; +} +.fa-list-alt:before { + content: "\f022"; +} +.fa-lock:before { + content: "\f023"; +} +.fa-flag:before { + content: "\f024"; +} +.fa-headphones:before { + content: "\f025"; +} +.fa-volume-off:before { + content: "\f026"; +} +.fa-volume-down:before { + content: "\f027"; +} +.fa-volume-up:before { + content: "\f028"; +} +.fa-qrcode:before { + content: "\f029"; +} +.fa-barcode:before { + content: "\f02a"; +} +.fa-tag:before { + content: "\f02b"; +} +.fa-tags:before { + content: "\f02c"; +} +.fa-book:before { + content: "\f02d"; +} +.fa-bookmark:before { + content: "\f02e"; +} +.fa-print:before { + content: "\f02f"; +} +.fa-camera:before { + content: "\f030"; +} +.fa-font:before { + content: "\f031"; +} +.fa-bold:before { + content: "\f032"; +} +.fa-italic:before { + content: "\f033"; +} +.fa-text-height:before { + content: "\f034"; +} +.fa-text-width:before { + content: "\f035"; +} +.fa-align-left:before { + content: "\f036"; +} +.fa-align-center:before { + content: "\f037"; +} +.fa-align-right:before { + content: "\f038"; +} +.fa-align-justify:before { + content: "\f039"; +} +.fa-list:before { + content: "\f03a"; +} +.fa-dedent:before, +.fa-outdent:before { + content: "\f03b"; +} +.fa-indent:before { + content: "\f03c"; +} +.fa-video-camera:before { + content: "\f03d"; +} +.fa-photo:before, +.fa-image:before, +.fa-picture-o:before { + content: "\f03e"; +} +.fa-pencil:before { + content: "\f040"; +} +.fa-map-marker:before { + content: "\f041"; +} +.fa-adjust:before { + content: "\f042"; +} +.fa-tint:before { + content: "\f043"; +} +.fa-edit:before, +.fa-pencil-square-o:before { + content: "\f044"; +} +.fa-share-square-o:before { + content: "\f045"; +} +.fa-check-square-o:before { + content: "\f046"; +} +.fa-arrows:before { + content: "\f047"; +} +.fa-step-backward:before { + content: "\f048"; +} +.fa-fast-backward:before { + content: "\f049"; +} +.fa-backward:before { + content: "\f04a"; +} +.fa-play:before { + content: "\f04b"; +} +.fa-pause:before { + content: "\f04c"; +} +.fa-stop:before { + content: "\f04d"; +} +.fa-forward:before { + content: "\f04e"; +} +.fa-fast-forward:before { + content: "\f050"; +} +.fa-step-forward:before { + content: "\f051"; +} +.fa-eject:before { + content: "\f052"; +} +.fa-chevron-left:before { + content: "\f053"; +} +.fa-chevron-right:before { + content: "\f054"; +} +.fa-plus-circle:before { + content: "\f055"; +} +.fa-minus-circle:before { + content: "\f056"; +} +.fa-times-circle:before { + content: "\f057"; +} +.fa-check-circle:before { + content: "\f058"; +} +.fa-question-circle:before { + content: "\f059"; +} +.fa-info-circle:before { + content: "\f05a"; +} +.fa-crosshairs:before { + content: "\f05b"; +} +.fa-times-circle-o:before { + content: "\f05c"; +} +.fa-check-circle-o:before { + content: "\f05d"; +} +.fa-ban:before { + content: "\f05e"; +} +.fa-arrow-left:before { + content: "\f060"; +} +.fa-arrow-right:before { + content: "\f061"; +} +.fa-arrow-up:before { + content: "\f062"; +} +.fa-arrow-down:before { + content: "\f063"; +} +.fa-mail-forward:before, +.fa-share:before { + content: "\f064"; +} +.fa-expand:before { + content: "\f065"; +} +.fa-compress:before { + content: "\f066"; +} +.fa-plus:before { + content: "\f067"; +} +.fa-minus:before { + content: "\f068"; +} +.fa-asterisk:before { + content: "\f069"; +} +.fa-exclamation-circle:before { + content: "\f06a"; +} +.fa-gift:before { + content: "\f06b"; +} +.fa-leaf:before { + content: "\f06c"; +} +.fa-fire:before { + content: "\f06d"; +} +.fa-eye:before { + content: "\f06e"; +} +.fa-eye-slash:before { + content: "\f070"; +} +.fa-warning:before, +.fa-exclamation-triangle:before { + content: "\f071"; +} +.fa-plane:before { + content: "\f072"; +} +.fa-calendar:before { + content: "\f073"; +} +.fa-random:before { + content: "\f074"; +} +.fa-comment:before { + content: "\f075"; +} +.fa-magnet:before { + content: "\f076"; +} +.fa-chevron-up:before { + content: "\f077"; +} +.fa-chevron-down:before { + content: "\f078"; +} +.fa-retweet:before { + content: "\f079"; +} +.fa-shopping-cart:before { + content: "\f07a"; +} +.fa-folder:before { + content: "\f07b"; +} +.fa-folder-open:before { + content: "\f07c"; +} +.fa-arrows-v:before { + content: "\f07d"; +} +.fa-arrows-h:before { + content: "\f07e"; +} +.fa-bar-chart-o:before, +.fa-bar-chart:before { + content: "\f080"; +} +.fa-twitter-square:before { + content: "\f081"; +} +.fa-facebook-square:before { + content: "\f082"; +} +.fa-camera-retro:before { + content: "\f083"; +} +.fa-key:before { + content: "\f084"; +} +.fa-gears:before, +.fa-cogs:before { + content: "\f085"; +} +.fa-comments:before { + content: "\f086"; +} +.fa-thumbs-o-up:before { + content: "\f087"; +} +.fa-thumbs-o-down:before { + content: "\f088"; +} +.fa-star-half:before { + content: "\f089"; +} +.fa-heart-o:before { + content: "\f08a"; +} +.fa-sign-out:before { + content: "\f08b"; +} +.fa-linkedin-square:before { + content: "\f08c"; +} +.fa-thumb-tack:before { + content: "\f08d"; +} +.fa-external-link:before { + content: "\f08e"; +} +.fa-sign-in:before { + content: "\f090"; +} +.fa-trophy:before { + content: "\f091"; +} +.fa-github-square:before { + content: "\f092"; +} +.fa-upload:before { + content: "\f093"; +} +.fa-lemon-o:before { + content: "\f094"; +} +.fa-phone:before { + content: "\f095"; +} +.fa-square-o:before { + content: "\f096"; +} +.fa-bookmark-o:before { + content: "\f097"; +} +.fa-phone-square:before { + content: "\f098"; +} +.fa-twitter:before { + content: "\f099"; +} +.fa-facebook-f:before, +.fa-facebook:before { + content: "\f09a"; +} +.fa-github:before { + content: "\f09b"; +} +.fa-unlock:before { + content: "\f09c"; +} +.fa-credit-card:before { + content: "\f09d"; +} +.fa-feed:before, +.fa-rss:before { + content: "\f09e"; +} +.fa-hdd-o:before { + content: "\f0a0"; +} +.fa-bullhorn:before { + content: "\f0a1"; +} +.fa-bell:before { + content: "\f0f3"; +} +.fa-certificate:before { + content: "\f0a3"; +} +.fa-hand-o-right:before { + content: "\f0a4"; +} +.fa-hand-o-left:before { + content: "\f0a5"; +} +.fa-hand-o-up:before { + content: "\f0a6"; +} +.fa-hand-o-down:before { + content: "\f0a7"; +} +.fa-arrow-circle-left:before { + content: "\f0a8"; +} +.fa-arrow-circle-right:before { + content: "\f0a9"; +} +.fa-arrow-circle-up:before { + content: "\f0aa"; +} +.fa-arrow-circle-down:before { + content: "\f0ab"; +} +.fa-globe:before { + content: "\f0ac"; +} +.fa-wrench:before { + content: "\f0ad"; +} +.fa-tasks:before { + content: "\f0ae"; +} +.fa-filter:before { + content: "\f0b0"; +} +.fa-briefcase:before { + content: "\f0b1"; +} +.fa-arrows-alt:before { + content: "\f0b2"; +} +.fa-group:before, +.fa-users:before { + content: "\f0c0"; +} +.fa-chain:before, +.fa-link:before { + content: "\f0c1"; +} +.fa-cloud:before { + content: "\f0c2"; +} +.fa-flask:before { + content: "\f0c3"; +} +.fa-cut:before, +.fa-scissors:before { + content: "\f0c4"; +} +.fa-copy:before, +.fa-files-o:before { + content: "\f0c5"; +} +.fa-paperclip:before { + content: "\f0c6"; +} +.fa-save:before, +.fa-floppy-o:before { + content: "\f0c7"; +} +.fa-square:before { + content: "\f0c8"; +} +.fa-navicon:before, +.fa-reorder:before, +.fa-bars:before { + content: "\f0c9"; +} +.fa-list-ul:before { + content: "\f0ca"; +} +.fa-list-ol:before { + content: "\f0cb"; +} +.fa-strikethrough:before { + content: "\f0cc"; +} +.fa-underline:before { + content: "\f0cd"; +} +.fa-table:before { + content: "\f0ce"; +} +.fa-magic:before { + content: "\f0d0"; +} +.fa-truck:before { + content: "\f0d1"; +} +.fa-pinterest:before { + content: "\f0d2"; +} +.fa-pinterest-square:before { + content: "\f0d3"; +} +.fa-google-plus-square:before { + content: "\f0d4"; +} +.fa-google-plus:before { + content: "\f0d5"; +} +.fa-money:before { + content: "\f0d6"; +} +.fa-caret-down:before { + content: "\f0d7"; +} +.fa-caret-up:before { + content: "\f0d8"; +} +.fa-caret-left:before { + content: "\f0d9"; +} +.fa-caret-right:before { + content: "\f0da"; +} +.fa-columns:before { + content: "\f0db"; +} +.fa-unsorted:before, +.fa-sort:before { + content: "\f0dc"; +} +.fa-sort-down:before, +.fa-sort-desc:before { + content: "\f0dd"; +} +.fa-sort-up:before, +.fa-sort-asc:before { + content: "\f0de"; +} +.fa-envelope:before { + content: "\f0e0"; +} +.fa-linkedin:before { + content: "\f0e1"; +} +.fa-rotate-left:before, +.fa-undo:before { + content: "\f0e2"; +} +.fa-legal:before, +.fa-gavel:before { + content: "\f0e3"; +} +.fa-dashboard:before, +.fa-tachometer:before { + content: "\f0e4"; +} +.fa-comment-o:before { + content: "\f0e5"; +} +.fa-comments-o:before { + content: "\f0e6"; +} +.fa-flash:before, +.fa-bolt:before { + content: "\f0e7"; +} +.fa-sitemap:before { + content: "\f0e8"; +} +.fa-umbrella:before { + content: "\f0e9"; +} +.fa-paste:before, +.fa-clipboard:before { + content: "\f0ea"; +} +.fa-lightbulb-o:before { + content: "\f0eb"; +} +.fa-exchange:before { + content: "\f0ec"; +} +.fa-cloud-download:before { + content: "\f0ed"; +} +.fa-cloud-upload:before { + content: "\f0ee"; +} +.fa-user-md:before { + content: "\f0f0"; +} +.fa-stethoscope:before { + content: "\f0f1"; +} +.fa-suitcase:before { + content: "\f0f2"; +} +.fa-bell-o:before { + content: "\f0a2"; +} +.fa-coffee:before { + content: "\f0f4"; +} +.fa-cutlery:before { + content: "\f0f5"; +} +.fa-file-text-o:before { + content: "\f0f6"; +} +.fa-building-o:before { + content: "\f0f7"; +} +.fa-hospital-o:before { + content: "\f0f8"; +} +.fa-ambulance:before { + content: "\f0f9"; +} +.fa-medkit:before { + content: "\f0fa"; +} +.fa-fighter-jet:before { + content: "\f0fb"; +} +.fa-beer:before { + content: "\f0fc"; +} +.fa-h-square:before { + content: "\f0fd"; +} +.fa-plus-square:before { + content: "\f0fe"; +} +.fa-angle-double-left:before { + content: "\f100"; +} +.fa-angle-double-right:before { + content: "\f101"; +} +.fa-angle-double-up:before { + content: "\f102"; +} +.fa-angle-double-down:before { + content: "\f103"; +} +.fa-angle-left:before { + content: "\f104"; +} +.fa-angle-right:before { + content: "\f105"; +} +.fa-angle-up:before { + content: "\f106"; +} +.fa-angle-down:before { + content: "\f107"; +} +.fa-desktop:before { + content: "\f108"; +} +.fa-laptop:before { + content: "\f109"; +} +.fa-tablet:before { + content: "\f10a"; +} +.fa-mobile-phone:before, +.fa-mobile:before { + content: "\f10b"; +} +.fa-circle-o:before { + content: "\f10c"; +} +.fa-quote-left:before { + content: "\f10d"; +} +.fa-quote-right:before { + content: "\f10e"; +} +.fa-spinner:before { + content: "\f110"; +} +.fa-circle:before { + content: "\f111"; +} +.fa-mail-reply:before, +.fa-reply:before { + content: "\f112"; +} +.fa-github-alt:before { + content: "\f113"; +} +.fa-folder-o:before { + content: "\f114"; +} +.fa-folder-open-o:before { + content: "\f115"; +} +.fa-smile-o:before { + content: "\f118"; +} +.fa-frown-o:before { + content: "\f119"; +} +.fa-meh-o:before { + content: "\f11a"; +} +.fa-gamepad:before { + content: "\f11b"; +} +.fa-keyboard-o:before { + content: "\f11c"; +} +.fa-flag-o:before { + content: "\f11d"; +} +.fa-flag-checkered:before { + content: "\f11e"; +} +.fa-terminal:before { + content: "\f120"; +} +.fa-code:before { + content: "\f121"; +} +.fa-mail-reply-all:before, +.fa-reply-all:before { + content: "\f122"; +} +.fa-star-half-empty:before, +.fa-star-half-full:before, +.fa-star-half-o:before { + content: "\f123"; +} +.fa-location-arrow:before { + content: "\f124"; +} +.fa-crop:before { + content: "\f125"; +} +.fa-code-fork:before { + content: "\f126"; +} +.fa-unlink:before, +.fa-chain-broken:before { + content: "\f127"; +} +.fa-question:before { + content: "\f128"; +} +.fa-info:before { + content: "\f129"; +} +.fa-exclamation:before { + content: "\f12a"; +} +.fa-superscript:before { + content: "\f12b"; +} +.fa-subscript:before { + content: "\f12c"; +} +.fa-eraser:before { + content: "\f12d"; +} +.fa-puzzle-piece:before { + content: "\f12e"; +} +.fa-microphone:before { + content: "\f130"; +} +.fa-microphone-slash:before { + content: "\f131"; +} +.fa-shield:before { + content: "\f132"; +} +.fa-calendar-o:before { + content: "\f133"; +} +.fa-fire-extinguisher:before { + content: "\f134"; +} +.fa-rocket:before { + content: "\f135"; +} +.fa-maxcdn:before { + content: "\f136"; +} +.fa-chevron-circle-left:before { + content: "\f137"; +} +.fa-chevron-circle-right:before { + content: "\f138"; +} +.fa-chevron-circle-up:before { + content: "\f139"; +} +.fa-chevron-circle-down:before { + content: "\f13a"; +} +.fa-html5:before { + content: "\f13b"; +} +.fa-css3:before { + content: "\f13c"; +} +.fa-anchor:before { + content: "\f13d"; +} +.fa-unlock-alt:before { + content: "\f13e"; +} +.fa-bullseye:before { + content: "\f140"; +} +.fa-ellipsis-h:before { + content: "\f141"; +} +.fa-ellipsis-v:before { + content: "\f142"; +} +.fa-rss-square:before { + content: "\f143"; +} +.fa-play-circle:before { + content: "\f144"; +} +.fa-ticket:before { + content: "\f145"; +} +.fa-minus-square:before { + content: "\f146"; +} +.fa-minus-square-o:before { + content: "\f147"; +} +.fa-level-up:before { + content: "\f148"; +} +.fa-level-down:before { + content: "\f149"; +} +.fa-check-square:before { + content: "\f14a"; +} +.fa-pencil-square:before { + content: "\f14b"; +} +.fa-external-link-square:before { + content: "\f14c"; +} +.fa-share-square:before { + content: "\f14d"; +} +.fa-compass:before { + content: "\f14e"; +} +.fa-toggle-down:before, +.fa-caret-square-o-down:before { + content: "\f150"; +} +.fa-toggle-up:before, +.fa-caret-square-o-up:before { + content: "\f151"; +} +.fa-toggle-right:before, +.fa-caret-square-o-right:before { + content: "\f152"; +} +.fa-euro:before, +.fa-eur:before { + content: "\f153"; +} +.fa-gbp:before { + content: "\f154"; +} +.fa-dollar:before, +.fa-usd:before { + content: "\f155"; +} +.fa-rupee:before, +.fa-inr:before { + content: "\f156"; +} +.fa-cny:before, +.fa-rmb:before, +.fa-yen:before, +.fa-jpy:before { + content: "\f157"; +} +.fa-ruble:before, +.fa-rouble:before, +.fa-rub:before { + content: "\f158"; +} +.fa-won:before, +.fa-krw:before { + content: "\f159"; +} +.fa-bitcoin:before, +.fa-btc:before { + content: "\f15a"; +} +.fa-file:before { + content: "\f15b"; +} +.fa-file-text:before { + content: "\f15c"; +} +.fa-sort-alpha-asc:before { + content: "\f15d"; +} +.fa-sort-alpha-desc:before { + content: "\f15e"; +} +.fa-sort-amount-asc:before { + content: "\f160"; +} +.fa-sort-amount-desc:before { + content: "\f161"; +} +.fa-sort-numeric-asc:before { + content: "\f162"; +} +.fa-sort-numeric-desc:before { + content: "\f163"; +} +.fa-thumbs-up:before { + content: "\f164"; +} +.fa-thumbs-down:before { + content: "\f165"; +} +.fa-youtube-square:before { + content: "\f166"; +} +.fa-youtube:before { + content: "\f167"; +} +.fa-xing:before { + content: "\f168"; +} +.fa-xing-square:before { + content: "\f169"; +} +.fa-youtube-play:before { + content: "\f16a"; +} +.fa-dropbox:before { + content: "\f16b"; +} +.fa-stack-overflow:before { + content: "\f16c"; +} +.fa-instagram:before { + content: "\f16d"; +} +.fa-flickr:before { + content: "\f16e"; +} +.fa-adn:before { + content: "\f170"; +} +.fa-bitbucket:before { + content: "\f171"; +} +.fa-bitbucket-square:before { + content: "\f172"; +} +.fa-tumblr:before { + content: "\f173"; +} +.fa-tumblr-square:before { + content: "\f174"; +} +.fa-long-arrow-down:before { + content: "\f175"; +} +.fa-long-arrow-up:before { + content: "\f176"; +} +.fa-long-arrow-left:before { + content: "\f177"; +} +.fa-long-arrow-right:before { + content: "\f178"; +} +.fa-apple:before { + content: "\f179"; +} +.fa-windows:before { + content: "\f17a"; +} +.fa-android:before { + content: "\f17b"; +} +.fa-linux:before { + content: "\f17c"; +} +.fa-dribbble:before { + content: "\f17d"; +} +.fa-skype:before { + content: "\f17e"; +} +.fa-foursquare:before { + content: "\f180"; +} +.fa-trello:before { + content: "\f181"; +} +.fa-female:before { + content: "\f182"; +} +.fa-male:before { + content: "\f183"; +} +.fa-gittip:before, +.fa-gratipay:before { + content: "\f184"; +} +.fa-sun-o:before { + content: "\f185"; +} +.fa-moon-o:before { + content: "\f186"; +} +.fa-archive:before { + content: "\f187"; +} +.fa-bug:before { + content: "\f188"; +} +.fa-vk:before { + content: "\f189"; +} +.fa-weibo:before { + content: "\f18a"; +} +.fa-renren:before { + content: "\f18b"; +} +.fa-pagelines:before { + content: "\f18c"; +} +.fa-stack-exchange:before { + content: "\f18d"; +} +.fa-arrow-circle-o-right:before { + content: "\f18e"; +} +.fa-arrow-circle-o-left:before { + content: "\f190"; +} +.fa-toggle-left:before, +.fa-caret-square-o-left:before { + content: "\f191"; +} +.fa-dot-circle-o:before { + content: "\f192"; +} +.fa-wheelchair:before { + content: "\f193"; +} +.fa-vimeo-square:before { + content: "\f194"; +} +.fa-turkish-lira:before, +.fa-try:before { + content: "\f195"; +} +.fa-plus-square-o:before { + content: "\f196"; +} +.fa-space-shuttle:before { + content: "\f197"; +} +.fa-slack:before { + content: "\f198"; +} +.fa-envelope-square:before { + content: "\f199"; +} +.fa-wordpress:before { + content: "\f19a"; +} +.fa-openid:before { + content: "\f19b"; +} +.fa-institution:before, +.fa-bank:before, +.fa-university:before { + content: "\f19c"; +} +.fa-mortar-board:before, +.fa-graduation-cap:before { + content: "\f19d"; +} +.fa-yahoo:before { + content: "\f19e"; +} +.fa-google:before { + content: "\f1a0"; +} +.fa-reddit:before { + content: "\f1a1"; +} +.fa-reddit-square:before { + content: "\f1a2"; +} +.fa-stumbleupon-circle:before { + content: "\f1a3"; +} +.fa-stumbleupon:before { + content: "\f1a4"; +} +.fa-delicious:before { + content: "\f1a5"; +} +.fa-digg:before { + content: "\f1a6"; +} +.fa-pied-piper-pp:before { + content: "\f1a7"; +} +.fa-pied-piper-alt:before { + content: "\f1a8"; +} +.fa-drupal:before { + content: "\f1a9"; +} +.fa-joomla:before { + content: "\f1aa"; +} +.fa-language:before { + content: "\f1ab"; +} +.fa-fax:before { + content: "\f1ac"; +} +.fa-building:before { + content: "\f1ad"; +} +.fa-child:before { + content: "\f1ae"; +} +.fa-paw:before { + content: "\f1b0"; +} +.fa-spoon:before { + content: "\f1b1"; +} +.fa-cube:before { + content: "\f1b2"; +} +.fa-cubes:before { + content: "\f1b3"; +} +.fa-behance:before { + content: "\f1b4"; +} +.fa-behance-square:before { + content: "\f1b5"; +} +.fa-steam:before { + content: "\f1b6"; +} +.fa-steam-square:before { + content: "\f1b7"; +} +.fa-recycle:before { + content: "\f1b8"; +} +.fa-automobile:before, +.fa-car:before { + content: "\f1b9"; +} +.fa-cab:before, +.fa-taxi:before { + content: "\f1ba"; +} +.fa-tree:before { + content: "\f1bb"; +} +.fa-spotify:before { + content: "\f1bc"; +} +.fa-deviantart:before { + content: "\f1bd"; +} +.fa-soundcloud:before { + content: "\f1be"; +} +.fa-database:before { + content: "\f1c0"; +} +.fa-file-pdf-o:before { + content: "\f1c1"; +} +.fa-file-word-o:before { + content: "\f1c2"; +} +.fa-file-excel-o:before { + content: "\f1c3"; +} +.fa-file-powerpoint-o:before { + content: "\f1c4"; +} +.fa-file-photo-o:before, +.fa-file-picture-o:before, +.fa-file-image-o:before { + content: "\f1c5"; +} +.fa-file-zip-o:before, +.fa-file-archive-o:before { + content: "\f1c6"; +} +.fa-file-sound-o:before, +.fa-file-audio-o:before { + content: "\f1c7"; +} +.fa-file-movie-o:before, +.fa-file-video-o:before { + content: "\f1c8"; +} +.fa-file-code-o:before { + content: "\f1c9"; +} +.fa-vine:before { + content: "\f1ca"; +} +.fa-codepen:before { + content: "\f1cb"; +} +.fa-jsfiddle:before { + content: "\f1cc"; +} +.fa-life-bouy:before, +.fa-life-buoy:before, +.fa-life-saver:before, +.fa-support:before, +.fa-life-ring:before { + content: "\f1cd"; +} +.fa-circle-o-notch:before { + content: "\f1ce"; +} +.fa-ra:before, +.fa-resistance:before, +.fa-rebel:before { + content: "\f1d0"; +} +.fa-ge:before, +.fa-empire:before { + content: "\f1d1"; +} +.fa-git-square:before { + content: "\f1d2"; +} +.fa-git:before { + content: "\f1d3"; +} +.fa-y-combinator-square:before, +.fa-yc-square:before, +.fa-hacker-news:before { + content: "\f1d4"; +} +.fa-tencent-weibo:before { + content: "\f1d5"; +} +.fa-qq:before { + content: "\f1d6"; +} +.fa-wechat:before, +.fa-weixin:before { + content: "\f1d7"; +} +.fa-send:before, +.fa-paper-plane:before { + content: "\f1d8"; +} +.fa-send-o:before, +.fa-paper-plane-o:before { + content: "\f1d9"; +} +.fa-history:before { + content: "\f1da"; +} +.fa-circle-thin:before { + content: "\f1db"; +} +.fa-header:before { + content: "\f1dc"; +} +.fa-paragraph:before { + content: "\f1dd"; +} +.fa-sliders:before { + content: "\f1de"; +} +.fa-share-alt:before { + content: "\f1e0"; +} +.fa-share-alt-square:before { + content: "\f1e1"; +} +.fa-bomb:before { + content: "\f1e2"; +} +.fa-soccer-ball-o:before, +.fa-futbol-o:before { + content: "\f1e3"; +} +.fa-tty:before { + content: "\f1e4"; +} +.fa-binoculars:before { + content: "\f1e5"; +} +.fa-plug:before { + content: "\f1e6"; +} +.fa-slideshare:before { + content: "\f1e7"; +} +.fa-twitch:before { + content: "\f1e8"; +} +.fa-yelp:before { + content: "\f1e9"; +} +.fa-newspaper-o:before { + content: "\f1ea"; +} +.fa-wifi:before { + content: "\f1eb"; +} +.fa-calculator:before { + content: "\f1ec"; +} +.fa-paypal:before { + content: "\f1ed"; +} +.fa-google-wallet:before { + content: "\f1ee"; +} +.fa-cc-visa:before { + content: "\f1f0"; +} +.fa-cc-mastercard:before { + content: "\f1f1"; +} +.fa-cc-discover:before { + content: "\f1f2"; +} +.fa-cc-amex:before { + content: "\f1f3"; +} +.fa-cc-paypal:before { + content: "\f1f4"; +} +.fa-cc-stripe:before { + content: "\f1f5"; +} +.fa-bell-slash:before { + content: "\f1f6"; +} +.fa-bell-slash-o:before { + content: "\f1f7"; +} +.fa-trash:before { + content: "\f1f8"; +} +.fa-copyright:before { + content: "\f1f9"; +} +.fa-at:before { + content: "\f1fa"; +} +.fa-eyedropper:before { + content: "\f1fb"; +} +.fa-paint-brush:before { + content: "\f1fc"; +} +.fa-birthday-cake:before { + content: "\f1fd"; +} +.fa-area-chart:before { + content: "\f1fe"; +} +.fa-pie-chart:before { + content: "\f200"; +} +.fa-line-chart:before { + content: "\f201"; +} +.fa-lastfm:before { + content: "\f202"; +} +.fa-lastfm-square:before { + content: "\f203"; +} +.fa-toggle-off:before { + content: "\f204"; +} +.fa-toggle-on:before { + content: "\f205"; +} +.fa-bicycle:before { + content: "\f206"; +} +.fa-bus:before { + content: "\f207"; +} +.fa-ioxhost:before { + content: "\f208"; +} +.fa-angellist:before { + content: "\f209"; +} +.fa-cc:before { + content: "\f20a"; +} +.fa-shekel:before, +.fa-sheqel:before, +.fa-ils:before { + content: "\f20b"; +} +.fa-meanpath:before { + content: "\f20c"; +} +.fa-buysellads:before { + content: "\f20d"; +} +.fa-connectdevelop:before { + content: "\f20e"; +} +.fa-dashcube:before { + content: "\f210"; +} +.fa-forumbee:before { + content: "\f211"; +} +.fa-leanpub:before { + content: "\f212"; +} +.fa-sellsy:before { + content: "\f213"; +} +.fa-shirtsinbulk:before { + content: "\f214"; +} +.fa-simplybuilt:before { + content: "\f215"; +} +.fa-skyatlas:before { + content: "\f216"; +} +.fa-cart-plus:before { + content: "\f217"; +} +.fa-cart-arrow-down:before { + content: "\f218"; +} +.fa-diamond:before { + content: "\f219"; +} +.fa-ship:before { + content: "\f21a"; +} +.fa-user-secret:before { + content: "\f21b"; +} +.fa-motorcycle:before { + content: "\f21c"; +} +.fa-street-view:before { + content: "\f21d"; +} +.fa-heartbeat:before { + content: "\f21e"; +} +.fa-venus:before { + content: "\f221"; +} +.fa-mars:before { + content: "\f222"; +} +.fa-mercury:before { + content: "\f223"; +} +.fa-intersex:before, +.fa-transgender:before { + content: "\f224"; +} +.fa-transgender-alt:before { + content: "\f225"; +} +.fa-venus-double:before { + content: "\f226"; +} +.fa-mars-double:before { + content: "\f227"; +} +.fa-venus-mars:before { + content: "\f228"; +} +.fa-mars-stroke:before { + content: "\f229"; +} +.fa-mars-stroke-v:before { + content: "\f22a"; +} +.fa-mars-stroke-h:before { + content: "\f22b"; +} +.fa-neuter:before { + content: "\f22c"; +} +.fa-genderless:before { + content: "\f22d"; +} +.fa-facebook-official:before { + content: "\f230"; +} +.fa-pinterest-p:before { + content: "\f231"; +} +.fa-whatsapp:before { + content: "\f232"; +} +.fa-server:before { + content: "\f233"; +} +.fa-user-plus:before { + content: "\f234"; +} +.fa-user-times:before { + content: "\f235"; +} +.fa-hotel:before, +.fa-bed:before { + content: "\f236"; +} +.fa-viacoin:before { + content: "\f237"; +} +.fa-train:before { + content: "\f238"; +} +.fa-subway:before { + content: "\f239"; +} +.fa-medium:before { + content: "\f23a"; +} +.fa-yc:before, +.fa-y-combinator:before { + content: "\f23b"; +} +.fa-optin-monster:before { + content: "\f23c"; +} +.fa-opencart:before { + content: "\f23d"; +} +.fa-expeditedssl:before { + content: "\f23e"; +} +.fa-battery-4:before, +.fa-battery:before, +.fa-battery-full:before { + content: "\f240"; +} +.fa-battery-3:before, +.fa-battery-three-quarters:before { + content: "\f241"; +} +.fa-battery-2:before, +.fa-battery-half:before { + content: "\f242"; +} +.fa-battery-1:before, +.fa-battery-quarter:before { + content: "\f243"; +} +.fa-battery-0:before, +.fa-battery-empty:before { + content: "\f244"; +} +.fa-mouse-pointer:before { + content: "\f245"; +} +.fa-i-cursor:before { + content: "\f246"; +} +.fa-object-group:before { + content: "\f247"; +} +.fa-object-ungroup:before { + content: "\f248"; +} +.fa-sticky-note:before { + content: "\f249"; +} +.fa-sticky-note-o:before { + content: "\f24a"; +} +.fa-cc-jcb:before { + content: "\f24b"; +} +.fa-cc-diners-club:before { + content: "\f24c"; +} +.fa-clone:before { + content: "\f24d"; +} +.fa-balance-scale:before { + content: "\f24e"; +} +.fa-hourglass-o:before { + content: "\f250"; +} +.fa-hourglass-1:before, +.fa-hourglass-start:before { + content: "\f251"; +} +.fa-hourglass-2:before, +.fa-hourglass-half:before { + content: "\f252"; +} +.fa-hourglass-3:before, +.fa-hourglass-end:before { + content: "\f253"; +} +.fa-hourglass:before { + content: "\f254"; +} +.fa-hand-grab-o:before, +.fa-hand-rock-o:before { + content: "\f255"; +} +.fa-hand-stop-o:before, +.fa-hand-paper-o:before { + content: "\f256"; +} +.fa-hand-scissors-o:before { + content: "\f257"; +} +.fa-hand-lizard-o:before { + content: "\f258"; +} +.fa-hand-spock-o:before { + content: "\f259"; +} +.fa-hand-pointer-o:before { + content: "\f25a"; +} +.fa-hand-peace-o:before { + content: "\f25b"; +} +.fa-trademark:before { + content: "\f25c"; +} +.fa-registered:before { + content: "\f25d"; +} +.fa-creative-commons:before { + content: "\f25e"; +} +.fa-gg:before { + content: "\f260"; +} +.fa-gg-circle:before { + content: "\f261"; +} +.fa-tripadvisor:before { + content: "\f262"; +} +.fa-odnoklassniki:before { + content: "\f263"; +} +.fa-odnoklassniki-square:before { + content: "\f264"; +} +.fa-get-pocket:before { + content: "\f265"; +} +.fa-wikipedia-w:before { + content: "\f266"; +} +.fa-safari:before { + content: "\f267"; +} +.fa-chrome:before { + content: "\f268"; +} +.fa-firefox:before { + content: "\f269"; +} +.fa-opera:before { + content: "\f26a"; +} +.fa-internet-explorer:before { + content: "\f26b"; +} +.fa-tv:before, +.fa-television:before { + content: "\f26c"; +} +.fa-contao:before { + content: "\f26d"; +} +.fa-500px:before { + content: "\f26e"; +} +.fa-amazon:before { + content: "\f270"; +} +.fa-calendar-plus-o:before { + content: "\f271"; +} +.fa-calendar-minus-o:before { + content: "\f272"; +} +.fa-calendar-times-o:before { + content: "\f273"; +} +.fa-calendar-check-o:before { + content: "\f274"; +} +.fa-industry:before { + content: "\f275"; +} +.fa-map-pin:before { + content: "\f276"; +} +.fa-map-signs:before { + content: "\f277"; +} +.fa-map-o:before { + content: "\f278"; +} +.fa-map:before { + content: "\f279"; +} +.fa-commenting:before { + content: "\f27a"; +} +.fa-commenting-o:before { + content: "\f27b"; +} +.fa-houzz:before { + content: "\f27c"; +} +.fa-vimeo:before { + content: "\f27d"; +} +.fa-black-tie:before { + content: "\f27e"; +} +.fa-fonticons:before { + content: "\f280"; +} +.fa-reddit-alien:before { + content: "\f281"; +} +.fa-edge:before { + content: "\f282"; +} +.fa-credit-card-alt:before { + content: "\f283"; +} +.fa-codiepie:before { + content: "\f284"; +} +.fa-modx:before { + content: "\f285"; +} +.fa-fort-awesome:before { + content: "\f286"; +} +.fa-usb:before { + content: "\f287"; +} +.fa-product-hunt:before { + content: "\f288"; +} +.fa-mixcloud:before { + content: "\f289"; +} +.fa-scribd:before { + content: "\f28a"; +} +.fa-pause-circle:before { + content: "\f28b"; +} +.fa-pause-circle-o:before { + content: "\f28c"; +} +.fa-stop-circle:before { + content: "\f28d"; +} +.fa-stop-circle-o:before { + content: "\f28e"; +} +.fa-shopping-bag:before { + content: "\f290"; +} +.fa-shopping-basket:before { + content: "\f291"; +} +.fa-hashtag:before { + content: "\f292"; +} +.fa-bluetooth:before { + content: "\f293"; +} +.fa-bluetooth-b:before { + content: "\f294"; +} +.fa-percent:before { + content: "\f295"; +} +.fa-gitlab:before { + content: "\f296"; +} +.fa-wpbeginner:before { + content: "\f297"; +} +.fa-wpforms:before { + content: "\f298"; +} +.fa-envira:before { + content: "\f299"; +} +.fa-universal-access:before { + content: "\f29a"; +} +.fa-wheelchair-alt:before { + content: "\f29b"; +} +.fa-question-circle-o:before { + content: "\f29c"; +} +.fa-blind:before { + content: "\f29d"; +} +.fa-audio-description:before { + content: "\f29e"; +} +.fa-volume-control-phone:before { + content: "\f2a0"; +} +.fa-braille:before { + content: "\f2a1"; +} +.fa-assistive-listening-systems:before { + content: "\f2a2"; +} +.fa-asl-interpreting:before, +.fa-american-sign-language-interpreting:before { + content: "\f2a3"; +} +.fa-deafness:before, +.fa-hard-of-hearing:before, +.fa-deaf:before { + content: "\f2a4"; +} +.fa-glide:before { + content: "\f2a5"; +} +.fa-glide-g:before { + content: "\f2a6"; +} +.fa-signing:before, +.fa-sign-language:before { + content: "\f2a7"; +} +.fa-low-vision:before { + content: "\f2a8"; +} +.fa-viadeo:before { + content: "\f2a9"; +} +.fa-viadeo-square:before { + content: "\f2aa"; +} +.fa-snapchat:before { + content: "\f2ab"; +} +.fa-snapchat-ghost:before { + content: "\f2ac"; +} +.fa-snapchat-square:before { + content: "\f2ad"; +} +.fa-pied-piper:before { + content: "\f2ae"; +} +.fa-first-order:before { + content: "\f2b0"; +} +.fa-yoast:before { + content: "\f2b1"; +} +.fa-themeisle:before { + content: "\f2b2"; +} +.fa-google-plus-circle:before, +.fa-google-plus-official:before { + content: "\f2b3"; +} +.fa-fa:before, +.fa-font-awesome:before { + content: "\f2b4"; +} +.fa-handshake-o:before { + content: "\f2b5"; +} +.fa-envelope-open:before { + content: "\f2b6"; +} +.fa-envelope-open-o:before { + content: "\f2b7"; +} +.fa-linode:before { + content: "\f2b8"; +} +.fa-address-book:before { + content: "\f2b9"; +} +.fa-address-book-o:before { + content: "\f2ba"; +} +.fa-vcard:before, +.fa-address-card:before { + content: "\f2bb"; +} +.fa-vcard-o:before, +.fa-address-card-o:before { + content: "\f2bc"; +} +.fa-user-circle:before { + content: "\f2bd"; +} +.fa-user-circle-o:before { + content: "\f2be"; +} +.fa-user-o:before { + content: "\f2c0"; +} +.fa-id-badge:before { + content: "\f2c1"; +} +.fa-drivers-license:before, +.fa-id-card:before { + content: "\f2c2"; +} +.fa-drivers-license-o:before, +.fa-id-card-o:before { + content: "\f2c3"; +} +.fa-quora:before { + content: "\f2c4"; +} +.fa-free-code-camp:before { + content: "\f2c5"; +} +.fa-telegram:before { + content: "\f2c6"; +} +.fa-thermometer-4:before, +.fa-thermometer:before, +.fa-thermometer-full:before { + content: "\f2c7"; +} +.fa-thermometer-3:before, +.fa-thermometer-three-quarters:before { + content: "\f2c8"; +} +.fa-thermometer-2:before, +.fa-thermometer-half:before { + content: "\f2c9"; +} +.fa-thermometer-1:before, +.fa-thermometer-quarter:before { + content: "\f2ca"; +} +.fa-thermometer-0:before, +.fa-thermometer-empty:before { + content: "\f2cb"; +} +.fa-shower:before { + content: "\f2cc"; +} +.fa-bathtub:before, +.fa-s15:before, +.fa-bath:before { + content: "\f2cd"; +} +.fa-podcast:before { + content: "\f2ce"; +} +.fa-window-maximize:before { + content: "\f2d0"; +} +.fa-window-minimize:before { + content: "\f2d1"; +} +.fa-window-restore:before { + content: "\f2d2"; +} +.fa-times-rectangle:before, +.fa-window-close:before { + content: "\f2d3"; +} +.fa-times-rectangle-o:before, +.fa-window-close-o:before { + content: "\f2d4"; +} +.fa-bandcamp:before { + content: "\f2d5"; +} +.fa-grav:before { + content: "\f2d6"; +} +.fa-etsy:before { + content: "\f2d7"; +} +.fa-imdb:before { + content: "\f2d8"; +} +.fa-ravelry:before { + content: "\f2d9"; +} +.fa-eercast:before { + content: "\f2da"; +} +.fa-microchip:before { + content: "\f2db"; +} +.fa-snowflake-o:before { + content: "\f2dc"; +} +.fa-superpowers:before { + content: "\f2dd"; +} +.fa-wpexplorer:before { + content: "\f2de"; +} +.fa-meetup:before { + content: "\f2e0"; +} +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} +.sr-only-focusable:active, +.sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + margin: 0; + overflow: visible; + clip: auto; +} diff --git a/SUBMISSION/Code Crafters/static/face.css b/SUBMISSION/Code Crafters/static/face.css index b797b57..54fb1ed 100644 --- a/SUBMISSION/Code Crafters/static/face.css +++ b/SUBMISSION/Code Crafters/static/face.css @@ -1,112 +1,120 @@ - -* -{ - margin: 0; - padding: 0; - outline: 0; -} - -body{ - font-family: 'Poppins', sans-serif; -} -.logo{ -/* background-color: #fff; */ -margin-top: -58px; -} - -section{ - width: 100%; - height: 100vh; - background: linear-gradient(-45deg, #3f51b1 0%, #5a55ae 13%, #7b5fac 25%, #8f6aae 38%, #a86aa4 50%, #cc6b8e 62%, #f18271 75%, #f3a469 87%, #f7c978 100%);; - background-size: 400% 400%; - position: relative; - animation: animate 7.5s ease-in-out infinite; - display: flex; - justify-content:left; - align-items: center; - padding-left: 20px; - -} - -section li{ - font-size: 22px; - list-style: none; - padding-top: 10px -} -h1{ - color: #fff; - background: rgba(255,255,255,.2); - padding: 20px; - font-size: 50px; - border-radius: 10px; -} - -.header{ - background-color: black; - width: 100%; - height: 10vh; - line-height: 10vh; -} -.navbar{ - display: flex; - justify-content: space-around; -} -h2{ - color: #fff; -} -ul{ - display: flex; - list-style: none; -} -ul li a{ - position: relative; - color: #fff; - padding: 10px 10px; - text-decoration: none; - transition: all .5s; -} -ul li a:before{ - content: ''; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 1px; - background-color: #fff; - z-index: -1; - transform: scaleX(0); - transform-origin: right; - transition: transform .5s; -} -ul li a:hover:before{ - transform: scaleX(1); - z-index: 1; -} -ul li a:after{ - content: ''; - position: absolute; - bottom: 0; - right: 0; - width: 100%; - height: 1px; - background-color: #fff; - z-index: -1; - transform: scaleX(0); - transform-origin: left; - transition: transform .5s; -} -ul li a:hover:after{ - transform: scaleX(1); - z-index: 1; -} -@keyframes animate{ - 0%{ - background-position: 0 50%; - } - 50%{ - background-position: 100% 50%; - } - 100%{ - background-position: 0 50%; - } -} +* { + margin: 0; + padding: 0; + outline: 0; +} + +body { + font-family: "Poppins", sans-serif; +} +.logo { + /* background-color: #fff; */ + margin-top: -58px; +} + +section { + width: 100%; + height: 100vh; + background: linear-gradient( + -45deg, + #3f51b1 0%, + #5a55ae 13%, + #7b5fac 25%, + #8f6aae 38%, + #a86aa4 50%, + #cc6b8e 62%, + #f18271 75%, + #f3a469 87%, + #f7c978 100% + ); + background-size: 400% 400%; + position: relative; + animation: animate 7.5s ease-in-out infinite; + display: flex; + justify-content: left; + align-items: center; + padding-left: 20px; +} + +section li { + font-size: 22px; + list-style: none; + padding-top: 10px; +} +h1 { + color: #fff; + background: rgba(255, 255, 255, 0.2); + padding: 20px; + font-size: 50px; + border-radius: 10px; +} + +.header { + background-color: black; + width: 100%; + height: 10vh; + line-height: 10vh; +} +.navbar { + display: flex; + justify-content: space-around; +} +h2 { + color: #fff; +} +ul { + display: flex; + list-style: none; +} +ul li a { + position: relative; + color: #fff; + padding: 10px 10px; + text-decoration: none; + transition: all 0.5s; +} +ul li a:before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 1px; + background-color: #fff; + z-index: -1; + transform: scaleX(0); + transform-origin: right; + transition: transform 0.5s; +} +ul li a:hover:before { + transform: scaleX(1); + z-index: 1; +} +ul li a:after { + content: ""; + position: absolute; + bottom: 0; + right: 0; + width: 100%; + height: 1px; + background-color: #fff; + z-index: -1; + transform: scaleX(0); + transform-origin: left; + transition: transform 0.5s; +} +ul li a:hover:after { + transform: scaleX(1); + z-index: 1; +} +@keyframes animate { + 0% { + background-position: 0 50%; + } + 50% { + background-position: 100% 50%; + } + 100% { + background-position: 0 50%; + } +} diff --git a/SUBMISSION/Code Crafters/static/main.css b/SUBMISSION/Code Crafters/static/main.css index 7c9cf4c..3d1b330 100644 --- a/SUBMISSION/Code Crafters/static/main.css +++ b/SUBMISSION/Code Crafters/static/main.css @@ -1,303 +1,339 @@ -*{ - box-sizing: border-box; -} - -body{ - margin:0; - margin-right: 0px; - padding-right: 0px; - font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; - font-size:1rem; - font-weight:normal; - line-height:1.5; - color:#333; - overflow-x:hidden; -} -.logo{ -/* background-color: #fff; */ -margin-top: -58px; -} -/* body { - height:100vh; - width:100vw; - background-color:rgb(19, 20, 22); - overflow:hidden; - font-family: Lato, "Trebuchet MS", "Verdana", "sans-serif"; -} */ - - #testbutton { - width: 110px; - height:40px; - border-radius:180px; - position:relative; - left:calc(50% - 75px); - top:calc(50% - 25px); - background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82); - cursor:pointer; - line-height:10px; -} - -#testbutton:before { - content:''; - z-index:1; - position:absolute; - display:block; - width:80%; - height:70%; - top:15%; - left:10%; - transition: 0.3s opacity ease-in-out; - filter:blur(15px); - opacity:0; - background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82); -} - -#testbutton:hover:before { - opacity:1; - transition: 0.3s opacity ease-in-out; - filter:blur(25px); - background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82); -} - -#testbutton:after { - content:'Download'; - text-align:center; - line-height:35px; - font-size:18px; - color:rgba(235,235,235,1); - font-weight:bold; - z-index:5; - position:absolute; - display:block; - border-radius:180px; - width:92%; - height:80%; - top:10%; - left:4%; - background-color:rgb(19, 20, 22); -} - - -/* end buttons */ -.v-header{ - height:100vh; - display:flex; - align-items:center; - color:#fff; -} - -.container{ - max-width:960px; - padding-left:1rem; - padding-right:1rem; - margin:auto; - text-align:center; -} - -.fullscreen-video-wrap{ - position:absolute; - top:0; - left:0; - width:100%; - height:100vh; - overflow:hidden; -} - -.fullscreen-video-wrap video{ - min-height:100%; - min-width:100%; -} - -.header-overlay{ - height:100vh; - position: absolute; - top:0; - left:0; - width:100vw; - z-index:1; - background:#225470; - opacity:0.85; -} - -.header-content{ - z-index:2; -} - -.header-content h1{ - font-size:50px; - margin-bottom:0; -} - -.header-content p{ - font-size:1.5rem; - display:block; - padding-bottom:2rem; -} -.gradient-button { - text-decoration: none ; - margin: 10px; - font-family: "Arial Black", Gadget, sans-serif; - font-size: 20px; - padding: 15px; - text-align: center; - text-transform: uppercase; - transition: 0.5s; - background-size: 200% auto; - color: #FFF; - box-shadow: 0 0 20px #eee; - border-radius: 10px; - width: 200px; - box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); - transition: all 0.3s cubic-bezier(.25,.8,.25,1); - cursor: pointer; - display: inline-block; - border-radius: 25px; -} -.gradient-button:hover{ - box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); - margin: 8px 10px 12px; -} -.gradient-button-4 {background-image: linear-gradient(to right, #00d2ff 0%, #3a7bd5 51%, #00d2ff 100%)} -.gradient-button-4:hover { background-position: right center; } - -.btn{ - background: linear-gradient(to right, #DD5E89 0%, #F7BB97 51%, #DD5E89 100%); - /* background: #34b3a0; */ - color:#fff; - font-size:1.2rem; - padding: 1rem 2rem; - text-decoration: none; - border-radius: 10px; -} -.btn:hover{ - background: linear-gradient(to left, #DD5E89 0%, #F7BB97 51%, #DD5E89 100%); - - -} - - -.section{ - padding:20px 0; - margin-right: 0px; -} - -.section-b{ - background:#333; - color:#fff; -} - - -.header{ - background-color: black; - width: 100%; - height: 10vh; - line-height: 5vh; -} -.navbar{ - display: flex; - justify-content: space-around; -} -h2{ - color: #fff; -} -ul{ - display: flex; - list-style: none; -} -ul li a{ - position: relative; - color: #fff; - padding: 10px 10px; - text-decoration: none; - transition: all .5s; -} -ul li a:before{ - content: ''; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 1px; - background-color: #fff; - z-index: -1; - transform: scaleX(0); - transform-origin: right; - transition: transform .5s; -} -ul li a:hover:before{ - transform: scaleX(1); - z-index: 1; -} -ul li a:after{ - content: ''; - position: absolute; - bottom: 0; - right: 0; - width: 100%; - height: 1px; - background-color: #fff; - z-index: -1; - transform: scaleX(0); - transform-origin: left; - transition: transform .5s; -} -ul li a:hover:after{ - transform: scaleX(1); - z-index: 1; -} -@media(max-width:960px){ - .container{ - padding-right:3rem; - padding-left:3rem; - } -} - -.wrapper,.copyright { - padding: 20px; - text-align: center; - align-items: center; -} -.list-unstyled { - padding-left: 0; - list-style: none; -} -.list-inline li { - display: inline-block; - padding-right: 5px; - padding-left: 5px; - margin-bottom: 10px; -} -.social-icons .fa { - font-size: 1.8em; -} -/*Change icons circle size and color here*/ -.social-icons .fa { - width: 50px; - height: 50px; - line-height: 50px; - text-align: center; - color: #FFF; - color: rgba(255, 255, 255, 0.8); - -webkit-transition: all 0.3s ease-in-out; - -moz-transition: all 0.3s ease-in-out; - -ms-transition: all 0.3s ease-in-out; - -o-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; -} - -.social-icons.icon-circle .fa{ - border-radius: 50%; -} -.social-icons.icon-rounded .fa{ - border-radius:5px; -} -.social-icons.icon-flat .fa{ - border-radius: 0; -} - -.social-icons .fa:hover, .social-icons .fa:active { - color: #FFF; - -webkit-box-shadow: 1px 1px 3px #333; - -moz-box-shadow: 1px 1px 3px #333; - box-shadow: 1px 1px 3px #333; -} +* { + box-sizing: border-box; +} + +body { + margin: 0; + margin-right: 0px; + padding-right: 0px; + font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; + font-size: 1rem; + font-weight: normal; + line-height: 1.5; + color: #333; + overflow-x: hidden; +} +.logo { + /* background-color: #fff; */ + margin-top: -58px; +} +/* body { + height:100vh; + width:100vw; + background-color:rgb(19, 20, 22); + overflow:hidden; + font-family: Lato, "Trebuchet MS", "Verdana", "sans-serif"; +} */ + +#testbutton { + width: 110px; + height: 40px; + border-radius: 180px; + position: relative; + left: calc(50% - 75px); + top: calc(50% - 25px); + background: linear-gradient( + 60deg, + #f79533, + #f37055, + #ef4e7b, + #a166ab, + #5073b8, + #1098ad, + #07b39b, + #6fba82 + ); + cursor: pointer; + line-height: 10px; +} + +#testbutton:before { + content: ""; + z-index: 1; + position: absolute; + display: block; + width: 80%; + height: 70%; + top: 15%; + left: 10%; + transition: 0.3s opacity ease-in-out; + filter: blur(15px); + opacity: 0; + background: linear-gradient( + 60deg, + #f79533, + #f37055, + #ef4e7b, + #a166ab, + #5073b8, + #1098ad, + #07b39b, + #6fba82 + ); +} + +#testbutton:hover:before { + opacity: 1; + transition: 0.3s opacity ease-in-out; + filter: blur(25px); + background: linear-gradient( + 60deg, + #f79533, + #f37055, + #ef4e7b, + #a166ab, + #5073b8, + #1098ad, + #07b39b, + #6fba82 + ); +} + +#testbutton:after { + content: "Download"; + text-align: center; + line-height: 35px; + font-size: 18px; + color: rgba(235, 235, 235, 1); + font-weight: bold; + z-index: 5; + position: absolute; + display: block; + border-radius: 180px; + width: 92%; + height: 80%; + top: 10%; + left: 4%; + background-color: rgb(19, 20, 22); +} + +/* end buttons */ +.v-header { + height: 100vh; + display: flex; + align-items: center; + color: #fff; +} + +.container { + max-width: 960px; + padding-left: 1rem; + padding-right: 1rem; + margin: auto; + text-align: center; +} + +.fullscreen-video-wrap { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100vh; + overflow: hidden; +} + +.fullscreen-video-wrap video { + min-height: 100%; + min-width: 100%; +} + +.header-overlay { + height: 100vh; + position: absolute; + top: 0; + left: 0; + width: 100vw; + z-index: 1; + background: #225470; + opacity: 0.85; +} + +.header-content { + z-index: 2; +} + +.header-content h1 { + font-size: 50px; + margin-bottom: 0; +} + +.header-content p { + font-size: 1.5rem; + display: block; + padding-bottom: 2rem; +} +.gradient-button { + text-decoration: none; + margin: 10px; + font-family: "Arial Black", Gadget, sans-serif; + font-size: 20px; + padding: 15px; + text-align: center; + text-transform: uppercase; + transition: 0.5s; + background-size: 200% auto; + color: #fff; + box-shadow: 0 0 20px #eee; + border-radius: 10px; + width: 200px; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); + transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); + cursor: pointer; + display: inline-block; + border-radius: 25px; +} +.gradient-button:hover { + box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); + margin: 8px 10px 12px; +} +.gradient-button-4 { + background-image: linear-gradient( + to right, + #00d2ff 0%, + #3a7bd5 51%, + #00d2ff 100% + ); +} +.gradient-button-4:hover { + background-position: right center; +} + +.btn { + background: linear-gradient(to right, #dd5e89 0%, #f7bb97 51%, #dd5e89 100%); + /* background: #34b3a0; */ + color: #fff; + font-size: 1.2rem; + padding: 1rem 2rem; + text-decoration: none; + border-radius: 10px; +} +.btn:hover { + background: linear-gradient(to left, #dd5e89 0%, #f7bb97 51%, #dd5e89 100%); +} + +.section { + padding: 20px 0; + margin-right: 0px; +} + +.section-b { + background: #333; + color: #fff; +} + +.header { + background-color: black; + width: 100%; + height: 10vh; + line-height: 5vh; +} +.navbar { + display: flex; + justify-content: space-around; +} +h2 { + color: #fff; +} +ul { + display: flex; + list-style: none; +} +ul li a { + position: relative; + color: #fff; + padding: 10px 10px; + text-decoration: none; + transition: all 0.5s; +} +ul li a:before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 1px; + background-color: #fff; + z-index: -1; + transform: scaleX(0); + transform-origin: right; + transition: transform 0.5s; +} +ul li a:hover:before { + transform: scaleX(1); + z-index: 1; +} +ul li a:after { + content: ""; + position: absolute; + bottom: 0; + right: 0; + width: 100%; + height: 1px; + background-color: #fff; + z-index: -1; + transform: scaleX(0); + transform-origin: left; + transition: transform 0.5s; +} +ul li a:hover:after { + transform: scaleX(1); + z-index: 1; +} +@media (max-width: 960px) { + .container { + padding-right: 3rem; + padding-left: 3rem; + } +} + +.wrapper, +.copyright { + padding: 20px; + text-align: center; + align-items: center; +} +.list-unstyled { + padding-left: 0; + list-style: none; +} +.list-inline li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; + margin-bottom: 10px; +} +.social-icons .fa { + font-size: 1.8em; +} +/*Change icons circle size and color here*/ +.social-icons .fa { + width: 50px; + height: 50px; + line-height: 50px; + text-align: center; + color: #fff; + color: rgba(255, 255, 255, 0.8); + -webkit-transition: all 0.3s ease-in-out; + -moz-transition: all 0.3s ease-in-out; + -ms-transition: all 0.3s ease-in-out; + -o-transition: all 0.3s ease-in-out; + transition: all 0.3s ease-in-out; +} + +.social-icons.icon-circle .fa { + border-radius: 50%; +} +.social-icons.icon-rounded .fa { + border-radius: 5px; +} +.social-icons.icon-flat .fa { + border-radius: 0; +} + +.social-icons .fa:hover, +.social-icons .fa:active { + color: #fff; + -webkit-box-shadow: 1px 1px 3px #333; + -moz-box-shadow: 1px 1px 3px #333; + box-shadow: 1px 1px 3px #333; +} diff --git a/SUBMISSION/Code Crafters/static/scss/_animated.scss b/SUBMISSION/Code Crafters/static/scss/_animated.scss index 8a020db..230df6b 100644 --- a/SUBMISSION/Code Crafters/static/scss/_animated.scss +++ b/SUBMISSION/Code Crafters/static/scss/_animated.scss @@ -3,32 +3,32 @@ .#{$fa-css-prefix}-spin { -webkit-animation: fa-spin 2s infinite linear; - animation: fa-spin 2s infinite linear; + animation: fa-spin 2s infinite linear; } .#{$fa-css-prefix}-pulse { -webkit-animation: fa-spin 1s infinite steps(8); - animation: fa-spin 1s infinite steps(8); + animation: fa-spin 1s infinite steps(8); } @-webkit-keyframes fa-spin { 0% { -webkit-transform: rotate(0deg); - transform: rotate(0deg); + transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); - transform: rotate(359deg); + transform: rotate(359deg); } } @keyframes fa-spin { 0% { -webkit-transform: rotate(0deg); - transform: rotate(0deg); + transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); - transform: rotate(359deg); + transform: rotate(359deg); } } diff --git a/SUBMISSION/Code Crafters/static/scss/_bordered-pulled.scss b/SUBMISSION/Code Crafters/static/scss/_bordered-pulled.scss index d4b85a0..c9b6b38 100644 --- a/SUBMISSION/Code Crafters/static/scss/_bordered-pulled.scss +++ b/SUBMISSION/Code Crafters/static/scss/_bordered-pulled.scss @@ -2,24 +2,40 @@ // ------------------------- .#{$fa-css-prefix}-border { - padding: .2em .25em .15em; - border: solid .08em $fa-border-color; - border-radius: .1em; + padding: 0.2em 0.25em 0.15em; + border: solid 0.08em $fa-border-color; + border-radius: 0.1em; } -.#{$fa-css-prefix}-pull-left { float: left; } -.#{$fa-css-prefix}-pull-right { float: right; } +.#{$fa-css-prefix}-pull-left { + float: left; +} +.#{$fa-css-prefix}-pull-right { + float: right; +} .#{$fa-css-prefix} { - &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } - &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } + &.#{$fa-css-prefix}-pull-left { + margin-right: 0.3em; + } + &.#{$fa-css-prefix}-pull-right { + margin-left: 0.3em; + } } /* Deprecated as of 4.4.0 */ -.pull-right { float: right; } -.pull-left { float: left; } +.pull-right { + float: right; +} +.pull-left { + float: left; +} .#{$fa-css-prefix} { - &.pull-left { margin-right: .3em; } - &.pull-right { margin-left: .3em; } + &.pull-left { + margin-right: 0.3em; + } + &.pull-right { + margin-left: 0.3em; + } } diff --git a/SUBMISSION/Code Crafters/static/scss/_core.scss b/SUBMISSION/Code Crafters/static/scss/_core.scss index 7425ef8..9940b63 100644 --- a/SUBMISSION/Code Crafters/static/scss/_core.scss +++ b/SUBMISSION/Code Crafters/static/scss/_core.scss @@ -3,10 +3,10 @@ .#{$fa-css-prefix} { display: inline-block; - font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration + font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} + FontAwesome; // shortening font declaration font-size: inherit; // can't have font-size inherit on line above, so need to override text-rendering: auto; // optimizelegibility throws things off #1094 -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - } diff --git a/SUBMISSION/Code Crafters/static/scss/_icons.scss b/SUBMISSION/Code Crafters/static/scss/_icons.scss index e63e702..6ee6171 100644 --- a/SUBMISSION/Code Crafters/static/scss/_icons.scss +++ b/SUBMISSION/Code Crafters/static/scss/_icons.scss @@ -1,789 +1,2139 @@ /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen readers do not read off random characters that represent icons */ -.#{$fa-css-prefix}-glass:before { content: $fa-var-glass; } -.#{$fa-css-prefix}-music:before { content: $fa-var-music; } -.#{$fa-css-prefix}-search:before { content: $fa-var-search; } -.#{$fa-css-prefix}-envelope-o:before { content: $fa-var-envelope-o; } -.#{$fa-css-prefix}-heart:before { content: $fa-var-heart; } -.#{$fa-css-prefix}-star:before { content: $fa-var-star; } -.#{$fa-css-prefix}-star-o:before { content: $fa-var-star-o; } -.#{$fa-css-prefix}-user:before { content: $fa-var-user; } -.#{$fa-css-prefix}-film:before { content: $fa-var-film; } -.#{$fa-css-prefix}-th-large:before { content: $fa-var-th-large; } -.#{$fa-css-prefix}-th:before { content: $fa-var-th; } -.#{$fa-css-prefix}-th-list:before { content: $fa-var-th-list; } -.#{$fa-css-prefix}-check:before { content: $fa-var-check; } +.#{$fa-css-prefix}-glass:before { + content: $fa-var-glass; +} +.#{$fa-css-prefix}-music:before { + content: $fa-var-music; +} +.#{$fa-css-prefix}-search:before { + content: $fa-var-search; +} +.#{$fa-css-prefix}-envelope-o:before { + content: $fa-var-envelope-o; +} +.#{$fa-css-prefix}-heart:before { + content: $fa-var-heart; +} +.#{$fa-css-prefix}-star:before { + content: $fa-var-star; +} +.#{$fa-css-prefix}-star-o:before { + content: $fa-var-star-o; +} +.#{$fa-css-prefix}-user:before { + content: $fa-var-user; +} +.#{$fa-css-prefix}-film:before { + content: $fa-var-film; +} +.#{$fa-css-prefix}-th-large:before { + content: $fa-var-th-large; +} +.#{$fa-css-prefix}-th:before { + content: $fa-var-th; +} +.#{$fa-css-prefix}-th-list:before { + content: $fa-var-th-list; +} +.#{$fa-css-prefix}-check:before { + content: $fa-var-check; +} .#{$fa-css-prefix}-remove:before, .#{$fa-css-prefix}-close:before, -.#{$fa-css-prefix}-times:before { content: $fa-var-times; } -.#{$fa-css-prefix}-search-plus:before { content: $fa-var-search-plus; } -.#{$fa-css-prefix}-search-minus:before { content: $fa-var-search-minus; } -.#{$fa-css-prefix}-power-off:before { content: $fa-var-power-off; } -.#{$fa-css-prefix}-signal:before { content: $fa-var-signal; } +.#{$fa-css-prefix}-times:before { + content: $fa-var-times; +} +.#{$fa-css-prefix}-search-plus:before { + content: $fa-var-search-plus; +} +.#{$fa-css-prefix}-search-minus:before { + content: $fa-var-search-minus; +} +.#{$fa-css-prefix}-power-off:before { + content: $fa-var-power-off; +} +.#{$fa-css-prefix}-signal:before { + content: $fa-var-signal; +} .#{$fa-css-prefix}-gear:before, -.#{$fa-css-prefix}-cog:before { content: $fa-var-cog; } -.#{$fa-css-prefix}-trash-o:before { content: $fa-var-trash-o; } -.#{$fa-css-prefix}-home:before { content: $fa-var-home; } -.#{$fa-css-prefix}-file-o:before { content: $fa-var-file-o; } -.#{$fa-css-prefix}-clock-o:before { content: $fa-var-clock-o; } -.#{$fa-css-prefix}-road:before { content: $fa-var-road; } -.#{$fa-css-prefix}-download:before { content: $fa-var-download; } -.#{$fa-css-prefix}-arrow-circle-o-down:before { content: $fa-var-arrow-circle-o-down; } -.#{$fa-css-prefix}-arrow-circle-o-up:before { content: $fa-var-arrow-circle-o-up; } -.#{$fa-css-prefix}-inbox:before { content: $fa-var-inbox; } -.#{$fa-css-prefix}-play-circle-o:before { content: $fa-var-play-circle-o; } +.#{$fa-css-prefix}-cog:before { + content: $fa-var-cog; +} +.#{$fa-css-prefix}-trash-o:before { + content: $fa-var-trash-o; +} +.#{$fa-css-prefix}-home:before { + content: $fa-var-home; +} +.#{$fa-css-prefix}-file-o:before { + content: $fa-var-file-o; +} +.#{$fa-css-prefix}-clock-o:before { + content: $fa-var-clock-o; +} +.#{$fa-css-prefix}-road:before { + content: $fa-var-road; +} +.#{$fa-css-prefix}-download:before { + content: $fa-var-download; +} +.#{$fa-css-prefix}-arrow-circle-o-down:before { + content: $fa-var-arrow-circle-o-down; +} +.#{$fa-css-prefix}-arrow-circle-o-up:before { + content: $fa-var-arrow-circle-o-up; +} +.#{$fa-css-prefix}-inbox:before { + content: $fa-var-inbox; +} +.#{$fa-css-prefix}-play-circle-o:before { + content: $fa-var-play-circle-o; +} .#{$fa-css-prefix}-rotate-right:before, -.#{$fa-css-prefix}-repeat:before { content: $fa-var-repeat; } -.#{$fa-css-prefix}-refresh:before { content: $fa-var-refresh; } -.#{$fa-css-prefix}-list-alt:before { content: $fa-var-list-alt; } -.#{$fa-css-prefix}-lock:before { content: $fa-var-lock; } -.#{$fa-css-prefix}-flag:before { content: $fa-var-flag; } -.#{$fa-css-prefix}-headphones:before { content: $fa-var-headphones; } -.#{$fa-css-prefix}-volume-off:before { content: $fa-var-volume-off; } -.#{$fa-css-prefix}-volume-down:before { content: $fa-var-volume-down; } -.#{$fa-css-prefix}-volume-up:before { content: $fa-var-volume-up; } -.#{$fa-css-prefix}-qrcode:before { content: $fa-var-qrcode; } -.#{$fa-css-prefix}-barcode:before { content: $fa-var-barcode; } -.#{$fa-css-prefix}-tag:before { content: $fa-var-tag; } -.#{$fa-css-prefix}-tags:before { content: $fa-var-tags; } -.#{$fa-css-prefix}-book:before { content: $fa-var-book; } -.#{$fa-css-prefix}-bookmark:before { content: $fa-var-bookmark; } -.#{$fa-css-prefix}-print:before { content: $fa-var-print; } -.#{$fa-css-prefix}-camera:before { content: $fa-var-camera; } -.#{$fa-css-prefix}-font:before { content: $fa-var-font; } -.#{$fa-css-prefix}-bold:before { content: $fa-var-bold; } -.#{$fa-css-prefix}-italic:before { content: $fa-var-italic; } -.#{$fa-css-prefix}-text-height:before { content: $fa-var-text-height; } -.#{$fa-css-prefix}-text-width:before { content: $fa-var-text-width; } -.#{$fa-css-prefix}-align-left:before { content: $fa-var-align-left; } -.#{$fa-css-prefix}-align-center:before { content: $fa-var-align-center; } -.#{$fa-css-prefix}-align-right:before { content: $fa-var-align-right; } -.#{$fa-css-prefix}-align-justify:before { content: $fa-var-align-justify; } -.#{$fa-css-prefix}-list:before { content: $fa-var-list; } +.#{$fa-css-prefix}-repeat:before { + content: $fa-var-repeat; +} +.#{$fa-css-prefix}-refresh:before { + content: $fa-var-refresh; +} +.#{$fa-css-prefix}-list-alt:before { + content: $fa-var-list-alt; +} +.#{$fa-css-prefix}-lock:before { + content: $fa-var-lock; +} +.#{$fa-css-prefix}-flag:before { + content: $fa-var-flag; +} +.#{$fa-css-prefix}-headphones:before { + content: $fa-var-headphones; +} +.#{$fa-css-prefix}-volume-off:before { + content: $fa-var-volume-off; +} +.#{$fa-css-prefix}-volume-down:before { + content: $fa-var-volume-down; +} +.#{$fa-css-prefix}-volume-up:before { + content: $fa-var-volume-up; +} +.#{$fa-css-prefix}-qrcode:before { + content: $fa-var-qrcode; +} +.#{$fa-css-prefix}-barcode:before { + content: $fa-var-barcode; +} +.#{$fa-css-prefix}-tag:before { + content: $fa-var-tag; +} +.#{$fa-css-prefix}-tags:before { + content: $fa-var-tags; +} +.#{$fa-css-prefix}-book:before { + content: $fa-var-book; +} +.#{$fa-css-prefix}-bookmark:before { + content: $fa-var-bookmark; +} +.#{$fa-css-prefix}-print:before { + content: $fa-var-print; +} +.#{$fa-css-prefix}-camera:before { + content: $fa-var-camera; +} +.#{$fa-css-prefix}-font:before { + content: $fa-var-font; +} +.#{$fa-css-prefix}-bold:before { + content: $fa-var-bold; +} +.#{$fa-css-prefix}-italic:before { + content: $fa-var-italic; +} +.#{$fa-css-prefix}-text-height:before { + content: $fa-var-text-height; +} +.#{$fa-css-prefix}-text-width:before { + content: $fa-var-text-width; +} +.#{$fa-css-prefix}-align-left:before { + content: $fa-var-align-left; +} +.#{$fa-css-prefix}-align-center:before { + content: $fa-var-align-center; +} +.#{$fa-css-prefix}-align-right:before { + content: $fa-var-align-right; +} +.#{$fa-css-prefix}-align-justify:before { + content: $fa-var-align-justify; +} +.#{$fa-css-prefix}-list:before { + content: $fa-var-list; +} .#{$fa-css-prefix}-dedent:before, -.#{$fa-css-prefix}-outdent:before { content: $fa-var-outdent; } -.#{$fa-css-prefix}-indent:before { content: $fa-var-indent; } -.#{$fa-css-prefix}-video-camera:before { content: $fa-var-video-camera; } +.#{$fa-css-prefix}-outdent:before { + content: $fa-var-outdent; +} +.#{$fa-css-prefix}-indent:before { + content: $fa-var-indent; +} +.#{$fa-css-prefix}-video-camera:before { + content: $fa-var-video-camera; +} .#{$fa-css-prefix}-photo:before, .#{$fa-css-prefix}-image:before, -.#{$fa-css-prefix}-picture-o:before { content: $fa-var-picture-o; } -.#{$fa-css-prefix}-pencil:before { content: $fa-var-pencil; } -.#{$fa-css-prefix}-map-marker:before { content: $fa-var-map-marker; } -.#{$fa-css-prefix}-adjust:before { content: $fa-var-adjust; } -.#{$fa-css-prefix}-tint:before { content: $fa-var-tint; } +.#{$fa-css-prefix}-picture-o:before { + content: $fa-var-picture-o; +} +.#{$fa-css-prefix}-pencil:before { + content: $fa-var-pencil; +} +.#{$fa-css-prefix}-map-marker:before { + content: $fa-var-map-marker; +} +.#{$fa-css-prefix}-adjust:before { + content: $fa-var-adjust; +} +.#{$fa-css-prefix}-tint:before { + content: $fa-var-tint; +} .#{$fa-css-prefix}-edit:before, -.#{$fa-css-prefix}-pencil-square-o:before { content: $fa-var-pencil-square-o; } -.#{$fa-css-prefix}-share-square-o:before { content: $fa-var-share-square-o; } -.#{$fa-css-prefix}-check-square-o:before { content: $fa-var-check-square-o; } -.#{$fa-css-prefix}-arrows:before { content: $fa-var-arrows; } -.#{$fa-css-prefix}-step-backward:before { content: $fa-var-step-backward; } -.#{$fa-css-prefix}-fast-backward:before { content: $fa-var-fast-backward; } -.#{$fa-css-prefix}-backward:before { content: $fa-var-backward; } -.#{$fa-css-prefix}-play:before { content: $fa-var-play; } -.#{$fa-css-prefix}-pause:before { content: $fa-var-pause; } -.#{$fa-css-prefix}-stop:before { content: $fa-var-stop; } -.#{$fa-css-prefix}-forward:before { content: $fa-var-forward; } -.#{$fa-css-prefix}-fast-forward:before { content: $fa-var-fast-forward; } -.#{$fa-css-prefix}-step-forward:before { content: $fa-var-step-forward; } -.#{$fa-css-prefix}-eject:before { content: $fa-var-eject; } -.#{$fa-css-prefix}-chevron-left:before { content: $fa-var-chevron-left; } -.#{$fa-css-prefix}-chevron-right:before { content: $fa-var-chevron-right; } -.#{$fa-css-prefix}-plus-circle:before { content: $fa-var-plus-circle; } -.#{$fa-css-prefix}-minus-circle:before { content: $fa-var-minus-circle; } -.#{$fa-css-prefix}-times-circle:before { content: $fa-var-times-circle; } -.#{$fa-css-prefix}-check-circle:before { content: $fa-var-check-circle; } -.#{$fa-css-prefix}-question-circle:before { content: $fa-var-question-circle; } -.#{$fa-css-prefix}-info-circle:before { content: $fa-var-info-circle; } -.#{$fa-css-prefix}-crosshairs:before { content: $fa-var-crosshairs; } -.#{$fa-css-prefix}-times-circle-o:before { content: $fa-var-times-circle-o; } -.#{$fa-css-prefix}-check-circle-o:before { content: $fa-var-check-circle-o; } -.#{$fa-css-prefix}-ban:before { content: $fa-var-ban; } -.#{$fa-css-prefix}-arrow-left:before { content: $fa-var-arrow-left; } -.#{$fa-css-prefix}-arrow-right:before { content: $fa-var-arrow-right; } -.#{$fa-css-prefix}-arrow-up:before { content: $fa-var-arrow-up; } -.#{$fa-css-prefix}-arrow-down:before { content: $fa-var-arrow-down; } +.#{$fa-css-prefix}-pencil-square-o:before { + content: $fa-var-pencil-square-o; +} +.#{$fa-css-prefix}-share-square-o:before { + content: $fa-var-share-square-o; +} +.#{$fa-css-prefix}-check-square-o:before { + content: $fa-var-check-square-o; +} +.#{$fa-css-prefix}-arrows:before { + content: $fa-var-arrows; +} +.#{$fa-css-prefix}-step-backward:before { + content: $fa-var-step-backward; +} +.#{$fa-css-prefix}-fast-backward:before { + content: $fa-var-fast-backward; +} +.#{$fa-css-prefix}-backward:before { + content: $fa-var-backward; +} +.#{$fa-css-prefix}-play:before { + content: $fa-var-play; +} +.#{$fa-css-prefix}-pause:before { + content: $fa-var-pause; +} +.#{$fa-css-prefix}-stop:before { + content: $fa-var-stop; +} +.#{$fa-css-prefix}-forward:before { + content: $fa-var-forward; +} +.#{$fa-css-prefix}-fast-forward:before { + content: $fa-var-fast-forward; +} +.#{$fa-css-prefix}-step-forward:before { + content: $fa-var-step-forward; +} +.#{$fa-css-prefix}-eject:before { + content: $fa-var-eject; +} +.#{$fa-css-prefix}-chevron-left:before { + content: $fa-var-chevron-left; +} +.#{$fa-css-prefix}-chevron-right:before { + content: $fa-var-chevron-right; +} +.#{$fa-css-prefix}-plus-circle:before { + content: $fa-var-plus-circle; +} +.#{$fa-css-prefix}-minus-circle:before { + content: $fa-var-minus-circle; +} +.#{$fa-css-prefix}-times-circle:before { + content: $fa-var-times-circle; +} +.#{$fa-css-prefix}-check-circle:before { + content: $fa-var-check-circle; +} +.#{$fa-css-prefix}-question-circle:before { + content: $fa-var-question-circle; +} +.#{$fa-css-prefix}-info-circle:before { + content: $fa-var-info-circle; +} +.#{$fa-css-prefix}-crosshairs:before { + content: $fa-var-crosshairs; +} +.#{$fa-css-prefix}-times-circle-o:before { + content: $fa-var-times-circle-o; +} +.#{$fa-css-prefix}-check-circle-o:before { + content: $fa-var-check-circle-o; +} +.#{$fa-css-prefix}-ban:before { + content: $fa-var-ban; +} +.#{$fa-css-prefix}-arrow-left:before { + content: $fa-var-arrow-left; +} +.#{$fa-css-prefix}-arrow-right:before { + content: $fa-var-arrow-right; +} +.#{$fa-css-prefix}-arrow-up:before { + content: $fa-var-arrow-up; +} +.#{$fa-css-prefix}-arrow-down:before { + content: $fa-var-arrow-down; +} .#{$fa-css-prefix}-mail-forward:before, -.#{$fa-css-prefix}-share:before { content: $fa-var-share; } -.#{$fa-css-prefix}-expand:before { content: $fa-var-expand; } -.#{$fa-css-prefix}-compress:before { content: $fa-var-compress; } -.#{$fa-css-prefix}-plus:before { content: $fa-var-plus; } -.#{$fa-css-prefix}-minus:before { content: $fa-var-minus; } -.#{$fa-css-prefix}-asterisk:before { content: $fa-var-asterisk; } -.#{$fa-css-prefix}-exclamation-circle:before { content: $fa-var-exclamation-circle; } -.#{$fa-css-prefix}-gift:before { content: $fa-var-gift; } -.#{$fa-css-prefix}-leaf:before { content: $fa-var-leaf; } -.#{$fa-css-prefix}-fire:before { content: $fa-var-fire; } -.#{$fa-css-prefix}-eye:before { content: $fa-var-eye; } -.#{$fa-css-prefix}-eye-slash:before { content: $fa-var-eye-slash; } +.#{$fa-css-prefix}-share:before { + content: $fa-var-share; +} +.#{$fa-css-prefix}-expand:before { + content: $fa-var-expand; +} +.#{$fa-css-prefix}-compress:before { + content: $fa-var-compress; +} +.#{$fa-css-prefix}-plus:before { + content: $fa-var-plus; +} +.#{$fa-css-prefix}-minus:before { + content: $fa-var-minus; +} +.#{$fa-css-prefix}-asterisk:before { + content: $fa-var-asterisk; +} +.#{$fa-css-prefix}-exclamation-circle:before { + content: $fa-var-exclamation-circle; +} +.#{$fa-css-prefix}-gift:before { + content: $fa-var-gift; +} +.#{$fa-css-prefix}-leaf:before { + content: $fa-var-leaf; +} +.#{$fa-css-prefix}-fire:before { + content: $fa-var-fire; +} +.#{$fa-css-prefix}-eye:before { + content: $fa-var-eye; +} +.#{$fa-css-prefix}-eye-slash:before { + content: $fa-var-eye-slash; +} .#{$fa-css-prefix}-warning:before, -.#{$fa-css-prefix}-exclamation-triangle:before { content: $fa-var-exclamation-triangle; } -.#{$fa-css-prefix}-plane:before { content: $fa-var-plane; } -.#{$fa-css-prefix}-calendar:before { content: $fa-var-calendar; } -.#{$fa-css-prefix}-random:before { content: $fa-var-random; } -.#{$fa-css-prefix}-comment:before { content: $fa-var-comment; } -.#{$fa-css-prefix}-magnet:before { content: $fa-var-magnet; } -.#{$fa-css-prefix}-chevron-up:before { content: $fa-var-chevron-up; } -.#{$fa-css-prefix}-chevron-down:before { content: $fa-var-chevron-down; } -.#{$fa-css-prefix}-retweet:before { content: $fa-var-retweet; } -.#{$fa-css-prefix}-shopping-cart:before { content: $fa-var-shopping-cart; } -.#{$fa-css-prefix}-folder:before { content: $fa-var-folder; } -.#{$fa-css-prefix}-folder-open:before { content: $fa-var-folder-open; } -.#{$fa-css-prefix}-arrows-v:before { content: $fa-var-arrows-v; } -.#{$fa-css-prefix}-arrows-h:before { content: $fa-var-arrows-h; } +.#{$fa-css-prefix}-exclamation-triangle:before { + content: $fa-var-exclamation-triangle; +} +.#{$fa-css-prefix}-plane:before { + content: $fa-var-plane; +} +.#{$fa-css-prefix}-calendar:before { + content: $fa-var-calendar; +} +.#{$fa-css-prefix}-random:before { + content: $fa-var-random; +} +.#{$fa-css-prefix}-comment:before { + content: $fa-var-comment; +} +.#{$fa-css-prefix}-magnet:before { + content: $fa-var-magnet; +} +.#{$fa-css-prefix}-chevron-up:before { + content: $fa-var-chevron-up; +} +.#{$fa-css-prefix}-chevron-down:before { + content: $fa-var-chevron-down; +} +.#{$fa-css-prefix}-retweet:before { + content: $fa-var-retweet; +} +.#{$fa-css-prefix}-shopping-cart:before { + content: $fa-var-shopping-cart; +} +.#{$fa-css-prefix}-folder:before { + content: $fa-var-folder; +} +.#{$fa-css-prefix}-folder-open:before { + content: $fa-var-folder-open; +} +.#{$fa-css-prefix}-arrows-v:before { + content: $fa-var-arrows-v; +} +.#{$fa-css-prefix}-arrows-h:before { + content: $fa-var-arrows-h; +} .#{$fa-css-prefix}-bar-chart-o:before, -.#{$fa-css-prefix}-bar-chart:before { content: $fa-var-bar-chart; } -.#{$fa-css-prefix}-twitter-square:before { content: $fa-var-twitter-square; } -.#{$fa-css-prefix}-facebook-square:before { content: $fa-var-facebook-square; } -.#{$fa-css-prefix}-camera-retro:before { content: $fa-var-camera-retro; } -.#{$fa-css-prefix}-key:before { content: $fa-var-key; } +.#{$fa-css-prefix}-bar-chart:before { + content: $fa-var-bar-chart; +} +.#{$fa-css-prefix}-twitter-square:before { + content: $fa-var-twitter-square; +} +.#{$fa-css-prefix}-facebook-square:before { + content: $fa-var-facebook-square; +} +.#{$fa-css-prefix}-camera-retro:before { + content: $fa-var-camera-retro; +} +.#{$fa-css-prefix}-key:before { + content: $fa-var-key; +} .#{$fa-css-prefix}-gears:before, -.#{$fa-css-prefix}-cogs:before { content: $fa-var-cogs; } -.#{$fa-css-prefix}-comments:before { content: $fa-var-comments; } -.#{$fa-css-prefix}-thumbs-o-up:before { content: $fa-var-thumbs-o-up; } -.#{$fa-css-prefix}-thumbs-o-down:before { content: $fa-var-thumbs-o-down; } -.#{$fa-css-prefix}-star-half:before { content: $fa-var-star-half; } -.#{$fa-css-prefix}-heart-o:before { content: $fa-var-heart-o; } -.#{$fa-css-prefix}-sign-out:before { content: $fa-var-sign-out; } -.#{$fa-css-prefix}-linkedin-square:before { content: $fa-var-linkedin-square; } -.#{$fa-css-prefix}-thumb-tack:before { content: $fa-var-thumb-tack; } -.#{$fa-css-prefix}-external-link:before { content: $fa-var-external-link; } -.#{$fa-css-prefix}-sign-in:before { content: $fa-var-sign-in; } -.#{$fa-css-prefix}-trophy:before { content: $fa-var-trophy; } -.#{$fa-css-prefix}-github-square:before { content: $fa-var-github-square; } -.#{$fa-css-prefix}-upload:before { content: $fa-var-upload; } -.#{$fa-css-prefix}-lemon-o:before { content: $fa-var-lemon-o; } -.#{$fa-css-prefix}-phone:before { content: $fa-var-phone; } -.#{$fa-css-prefix}-square-o:before { content: $fa-var-square-o; } -.#{$fa-css-prefix}-bookmark-o:before { content: $fa-var-bookmark-o; } -.#{$fa-css-prefix}-phone-square:before { content: $fa-var-phone-square; } -.#{$fa-css-prefix}-twitter:before { content: $fa-var-twitter; } +.#{$fa-css-prefix}-cogs:before { + content: $fa-var-cogs; +} +.#{$fa-css-prefix}-comments:before { + content: $fa-var-comments; +} +.#{$fa-css-prefix}-thumbs-o-up:before { + content: $fa-var-thumbs-o-up; +} +.#{$fa-css-prefix}-thumbs-o-down:before { + content: $fa-var-thumbs-o-down; +} +.#{$fa-css-prefix}-star-half:before { + content: $fa-var-star-half; +} +.#{$fa-css-prefix}-heart-o:before { + content: $fa-var-heart-o; +} +.#{$fa-css-prefix}-sign-out:before { + content: $fa-var-sign-out; +} +.#{$fa-css-prefix}-linkedin-square:before { + content: $fa-var-linkedin-square; +} +.#{$fa-css-prefix}-thumb-tack:before { + content: $fa-var-thumb-tack; +} +.#{$fa-css-prefix}-external-link:before { + content: $fa-var-external-link; +} +.#{$fa-css-prefix}-sign-in:before { + content: $fa-var-sign-in; +} +.#{$fa-css-prefix}-trophy:before { + content: $fa-var-trophy; +} +.#{$fa-css-prefix}-github-square:before { + content: $fa-var-github-square; +} +.#{$fa-css-prefix}-upload:before { + content: $fa-var-upload; +} +.#{$fa-css-prefix}-lemon-o:before { + content: $fa-var-lemon-o; +} +.#{$fa-css-prefix}-phone:before { + content: $fa-var-phone; +} +.#{$fa-css-prefix}-square-o:before { + content: $fa-var-square-o; +} +.#{$fa-css-prefix}-bookmark-o:before { + content: $fa-var-bookmark-o; +} +.#{$fa-css-prefix}-phone-square:before { + content: $fa-var-phone-square; +} +.#{$fa-css-prefix}-twitter:before { + content: $fa-var-twitter; +} .#{$fa-css-prefix}-facebook-f:before, -.#{$fa-css-prefix}-facebook:before { content: $fa-var-facebook; } -.#{$fa-css-prefix}-github:before { content: $fa-var-github; } -.#{$fa-css-prefix}-unlock:before { content: $fa-var-unlock; } -.#{$fa-css-prefix}-credit-card:before { content: $fa-var-credit-card; } +.#{$fa-css-prefix}-facebook:before { + content: $fa-var-facebook; +} +.#{$fa-css-prefix}-github:before { + content: $fa-var-github; +} +.#{$fa-css-prefix}-unlock:before { + content: $fa-var-unlock; +} +.#{$fa-css-prefix}-credit-card:before { + content: $fa-var-credit-card; +} .#{$fa-css-prefix}-feed:before, -.#{$fa-css-prefix}-rss:before { content: $fa-var-rss; } -.#{$fa-css-prefix}-hdd-o:before { content: $fa-var-hdd-o; } -.#{$fa-css-prefix}-bullhorn:before { content: $fa-var-bullhorn; } -.#{$fa-css-prefix}-bell:before { content: $fa-var-bell; } -.#{$fa-css-prefix}-certificate:before { content: $fa-var-certificate; } -.#{$fa-css-prefix}-hand-o-right:before { content: $fa-var-hand-o-right; } -.#{$fa-css-prefix}-hand-o-left:before { content: $fa-var-hand-o-left; } -.#{$fa-css-prefix}-hand-o-up:before { content: $fa-var-hand-o-up; } -.#{$fa-css-prefix}-hand-o-down:before { content: $fa-var-hand-o-down; } -.#{$fa-css-prefix}-arrow-circle-left:before { content: $fa-var-arrow-circle-left; } -.#{$fa-css-prefix}-arrow-circle-right:before { content: $fa-var-arrow-circle-right; } -.#{$fa-css-prefix}-arrow-circle-up:before { content: $fa-var-arrow-circle-up; } -.#{$fa-css-prefix}-arrow-circle-down:before { content: $fa-var-arrow-circle-down; } -.#{$fa-css-prefix}-globe:before { content: $fa-var-globe; } -.#{$fa-css-prefix}-wrench:before { content: $fa-var-wrench; } -.#{$fa-css-prefix}-tasks:before { content: $fa-var-tasks; } -.#{$fa-css-prefix}-filter:before { content: $fa-var-filter; } -.#{$fa-css-prefix}-briefcase:before { content: $fa-var-briefcase; } -.#{$fa-css-prefix}-arrows-alt:before { content: $fa-var-arrows-alt; } +.#{$fa-css-prefix}-rss:before { + content: $fa-var-rss; +} +.#{$fa-css-prefix}-hdd-o:before { + content: $fa-var-hdd-o; +} +.#{$fa-css-prefix}-bullhorn:before { + content: $fa-var-bullhorn; +} +.#{$fa-css-prefix}-bell:before { + content: $fa-var-bell; +} +.#{$fa-css-prefix}-certificate:before { + content: $fa-var-certificate; +} +.#{$fa-css-prefix}-hand-o-right:before { + content: $fa-var-hand-o-right; +} +.#{$fa-css-prefix}-hand-o-left:before { + content: $fa-var-hand-o-left; +} +.#{$fa-css-prefix}-hand-o-up:before { + content: $fa-var-hand-o-up; +} +.#{$fa-css-prefix}-hand-o-down:before { + content: $fa-var-hand-o-down; +} +.#{$fa-css-prefix}-arrow-circle-left:before { + content: $fa-var-arrow-circle-left; +} +.#{$fa-css-prefix}-arrow-circle-right:before { + content: $fa-var-arrow-circle-right; +} +.#{$fa-css-prefix}-arrow-circle-up:before { + content: $fa-var-arrow-circle-up; +} +.#{$fa-css-prefix}-arrow-circle-down:before { + content: $fa-var-arrow-circle-down; +} +.#{$fa-css-prefix}-globe:before { + content: $fa-var-globe; +} +.#{$fa-css-prefix}-wrench:before { + content: $fa-var-wrench; +} +.#{$fa-css-prefix}-tasks:before { + content: $fa-var-tasks; +} +.#{$fa-css-prefix}-filter:before { + content: $fa-var-filter; +} +.#{$fa-css-prefix}-briefcase:before { + content: $fa-var-briefcase; +} +.#{$fa-css-prefix}-arrows-alt:before { + content: $fa-var-arrows-alt; +} .#{$fa-css-prefix}-group:before, -.#{$fa-css-prefix}-users:before { content: $fa-var-users; } +.#{$fa-css-prefix}-users:before { + content: $fa-var-users; +} .#{$fa-css-prefix}-chain:before, -.#{$fa-css-prefix}-link:before { content: $fa-var-link; } -.#{$fa-css-prefix}-cloud:before { content: $fa-var-cloud; } -.#{$fa-css-prefix}-flask:before { content: $fa-var-flask; } +.#{$fa-css-prefix}-link:before { + content: $fa-var-link; +} +.#{$fa-css-prefix}-cloud:before { + content: $fa-var-cloud; +} +.#{$fa-css-prefix}-flask:before { + content: $fa-var-flask; +} .#{$fa-css-prefix}-cut:before, -.#{$fa-css-prefix}-scissors:before { content: $fa-var-scissors; } +.#{$fa-css-prefix}-scissors:before { + content: $fa-var-scissors; +} .#{$fa-css-prefix}-copy:before, -.#{$fa-css-prefix}-files-o:before { content: $fa-var-files-o; } -.#{$fa-css-prefix}-paperclip:before { content: $fa-var-paperclip; } +.#{$fa-css-prefix}-files-o:before { + content: $fa-var-files-o; +} +.#{$fa-css-prefix}-paperclip:before { + content: $fa-var-paperclip; +} .#{$fa-css-prefix}-save:before, -.#{$fa-css-prefix}-floppy-o:before { content: $fa-var-floppy-o; } -.#{$fa-css-prefix}-square:before { content: $fa-var-square; } +.#{$fa-css-prefix}-floppy-o:before { + content: $fa-var-floppy-o; +} +.#{$fa-css-prefix}-square:before { + content: $fa-var-square; +} .#{$fa-css-prefix}-navicon:before, .#{$fa-css-prefix}-reorder:before, -.#{$fa-css-prefix}-bars:before { content: $fa-var-bars; } -.#{$fa-css-prefix}-list-ul:before { content: $fa-var-list-ul; } -.#{$fa-css-prefix}-list-ol:before { content: $fa-var-list-ol; } -.#{$fa-css-prefix}-strikethrough:before { content: $fa-var-strikethrough; } -.#{$fa-css-prefix}-underline:before { content: $fa-var-underline; } -.#{$fa-css-prefix}-table:before { content: $fa-var-table; } -.#{$fa-css-prefix}-magic:before { content: $fa-var-magic; } -.#{$fa-css-prefix}-truck:before { content: $fa-var-truck; } -.#{$fa-css-prefix}-pinterest:before { content: $fa-var-pinterest; } -.#{$fa-css-prefix}-pinterest-square:before { content: $fa-var-pinterest-square; } -.#{$fa-css-prefix}-google-plus-square:before { content: $fa-var-google-plus-square; } -.#{$fa-css-prefix}-google-plus:before { content: $fa-var-google-plus; } -.#{$fa-css-prefix}-money:before { content: $fa-var-money; } -.#{$fa-css-prefix}-caret-down:before { content: $fa-var-caret-down; } -.#{$fa-css-prefix}-caret-up:before { content: $fa-var-caret-up; } -.#{$fa-css-prefix}-caret-left:before { content: $fa-var-caret-left; } -.#{$fa-css-prefix}-caret-right:before { content: $fa-var-caret-right; } -.#{$fa-css-prefix}-columns:before { content: $fa-var-columns; } +.#{$fa-css-prefix}-bars:before { + content: $fa-var-bars; +} +.#{$fa-css-prefix}-list-ul:before { + content: $fa-var-list-ul; +} +.#{$fa-css-prefix}-list-ol:before { + content: $fa-var-list-ol; +} +.#{$fa-css-prefix}-strikethrough:before { + content: $fa-var-strikethrough; +} +.#{$fa-css-prefix}-underline:before { + content: $fa-var-underline; +} +.#{$fa-css-prefix}-table:before { + content: $fa-var-table; +} +.#{$fa-css-prefix}-magic:before { + content: $fa-var-magic; +} +.#{$fa-css-prefix}-truck:before { + content: $fa-var-truck; +} +.#{$fa-css-prefix}-pinterest:before { + content: $fa-var-pinterest; +} +.#{$fa-css-prefix}-pinterest-square:before { + content: $fa-var-pinterest-square; +} +.#{$fa-css-prefix}-google-plus-square:before { + content: $fa-var-google-plus-square; +} +.#{$fa-css-prefix}-google-plus:before { + content: $fa-var-google-plus; +} +.#{$fa-css-prefix}-money:before { + content: $fa-var-money; +} +.#{$fa-css-prefix}-caret-down:before { + content: $fa-var-caret-down; +} +.#{$fa-css-prefix}-caret-up:before { + content: $fa-var-caret-up; +} +.#{$fa-css-prefix}-caret-left:before { + content: $fa-var-caret-left; +} +.#{$fa-css-prefix}-caret-right:before { + content: $fa-var-caret-right; +} +.#{$fa-css-prefix}-columns:before { + content: $fa-var-columns; +} .#{$fa-css-prefix}-unsorted:before, -.#{$fa-css-prefix}-sort:before { content: $fa-var-sort; } +.#{$fa-css-prefix}-sort:before { + content: $fa-var-sort; +} .#{$fa-css-prefix}-sort-down:before, -.#{$fa-css-prefix}-sort-desc:before { content: $fa-var-sort-desc; } +.#{$fa-css-prefix}-sort-desc:before { + content: $fa-var-sort-desc; +} .#{$fa-css-prefix}-sort-up:before, -.#{$fa-css-prefix}-sort-asc:before { content: $fa-var-sort-asc; } -.#{$fa-css-prefix}-envelope:before { content: $fa-var-envelope; } -.#{$fa-css-prefix}-linkedin:before { content: $fa-var-linkedin; } +.#{$fa-css-prefix}-sort-asc:before { + content: $fa-var-sort-asc; +} +.#{$fa-css-prefix}-envelope:before { + content: $fa-var-envelope; +} +.#{$fa-css-prefix}-linkedin:before { + content: $fa-var-linkedin; +} .#{$fa-css-prefix}-rotate-left:before, -.#{$fa-css-prefix}-undo:before { content: $fa-var-undo; } +.#{$fa-css-prefix}-undo:before { + content: $fa-var-undo; +} .#{$fa-css-prefix}-legal:before, -.#{$fa-css-prefix}-gavel:before { content: $fa-var-gavel; } +.#{$fa-css-prefix}-gavel:before { + content: $fa-var-gavel; +} .#{$fa-css-prefix}-dashboard:before, -.#{$fa-css-prefix}-tachometer:before { content: $fa-var-tachometer; } -.#{$fa-css-prefix}-comment-o:before { content: $fa-var-comment-o; } -.#{$fa-css-prefix}-comments-o:before { content: $fa-var-comments-o; } +.#{$fa-css-prefix}-tachometer:before { + content: $fa-var-tachometer; +} +.#{$fa-css-prefix}-comment-o:before { + content: $fa-var-comment-o; +} +.#{$fa-css-prefix}-comments-o:before { + content: $fa-var-comments-o; +} .#{$fa-css-prefix}-flash:before, -.#{$fa-css-prefix}-bolt:before { content: $fa-var-bolt; } -.#{$fa-css-prefix}-sitemap:before { content: $fa-var-sitemap; } -.#{$fa-css-prefix}-umbrella:before { content: $fa-var-umbrella; } +.#{$fa-css-prefix}-bolt:before { + content: $fa-var-bolt; +} +.#{$fa-css-prefix}-sitemap:before { + content: $fa-var-sitemap; +} +.#{$fa-css-prefix}-umbrella:before { + content: $fa-var-umbrella; +} .#{$fa-css-prefix}-paste:before, -.#{$fa-css-prefix}-clipboard:before { content: $fa-var-clipboard; } -.#{$fa-css-prefix}-lightbulb-o:before { content: $fa-var-lightbulb-o; } -.#{$fa-css-prefix}-exchange:before { content: $fa-var-exchange; } -.#{$fa-css-prefix}-cloud-download:before { content: $fa-var-cloud-download; } -.#{$fa-css-prefix}-cloud-upload:before { content: $fa-var-cloud-upload; } -.#{$fa-css-prefix}-user-md:before { content: $fa-var-user-md; } -.#{$fa-css-prefix}-stethoscope:before { content: $fa-var-stethoscope; } -.#{$fa-css-prefix}-suitcase:before { content: $fa-var-suitcase; } -.#{$fa-css-prefix}-bell-o:before { content: $fa-var-bell-o; } -.#{$fa-css-prefix}-coffee:before { content: $fa-var-coffee; } -.#{$fa-css-prefix}-cutlery:before { content: $fa-var-cutlery; } -.#{$fa-css-prefix}-file-text-o:before { content: $fa-var-file-text-o; } -.#{$fa-css-prefix}-building-o:before { content: $fa-var-building-o; } -.#{$fa-css-prefix}-hospital-o:before { content: $fa-var-hospital-o; } -.#{$fa-css-prefix}-ambulance:before { content: $fa-var-ambulance; } -.#{$fa-css-prefix}-medkit:before { content: $fa-var-medkit; } -.#{$fa-css-prefix}-fighter-jet:before { content: $fa-var-fighter-jet; } -.#{$fa-css-prefix}-beer:before { content: $fa-var-beer; } -.#{$fa-css-prefix}-h-square:before { content: $fa-var-h-square; } -.#{$fa-css-prefix}-plus-square:before { content: $fa-var-plus-square; } -.#{$fa-css-prefix}-angle-double-left:before { content: $fa-var-angle-double-left; } -.#{$fa-css-prefix}-angle-double-right:before { content: $fa-var-angle-double-right; } -.#{$fa-css-prefix}-angle-double-up:before { content: $fa-var-angle-double-up; } -.#{$fa-css-prefix}-angle-double-down:before { content: $fa-var-angle-double-down; } -.#{$fa-css-prefix}-angle-left:before { content: $fa-var-angle-left; } -.#{$fa-css-prefix}-angle-right:before { content: $fa-var-angle-right; } -.#{$fa-css-prefix}-angle-up:before { content: $fa-var-angle-up; } -.#{$fa-css-prefix}-angle-down:before { content: $fa-var-angle-down; } -.#{$fa-css-prefix}-desktop:before { content: $fa-var-desktop; } -.#{$fa-css-prefix}-laptop:before { content: $fa-var-laptop; } -.#{$fa-css-prefix}-tablet:before { content: $fa-var-tablet; } +.#{$fa-css-prefix}-clipboard:before { + content: $fa-var-clipboard; +} +.#{$fa-css-prefix}-lightbulb-o:before { + content: $fa-var-lightbulb-o; +} +.#{$fa-css-prefix}-exchange:before { + content: $fa-var-exchange; +} +.#{$fa-css-prefix}-cloud-download:before { + content: $fa-var-cloud-download; +} +.#{$fa-css-prefix}-cloud-upload:before { + content: $fa-var-cloud-upload; +} +.#{$fa-css-prefix}-user-md:before { + content: $fa-var-user-md; +} +.#{$fa-css-prefix}-stethoscope:before { + content: $fa-var-stethoscope; +} +.#{$fa-css-prefix}-suitcase:before { + content: $fa-var-suitcase; +} +.#{$fa-css-prefix}-bell-o:before { + content: $fa-var-bell-o; +} +.#{$fa-css-prefix}-coffee:before { + content: $fa-var-coffee; +} +.#{$fa-css-prefix}-cutlery:before { + content: $fa-var-cutlery; +} +.#{$fa-css-prefix}-file-text-o:before { + content: $fa-var-file-text-o; +} +.#{$fa-css-prefix}-building-o:before { + content: $fa-var-building-o; +} +.#{$fa-css-prefix}-hospital-o:before { + content: $fa-var-hospital-o; +} +.#{$fa-css-prefix}-ambulance:before { + content: $fa-var-ambulance; +} +.#{$fa-css-prefix}-medkit:before { + content: $fa-var-medkit; +} +.#{$fa-css-prefix}-fighter-jet:before { + content: $fa-var-fighter-jet; +} +.#{$fa-css-prefix}-beer:before { + content: $fa-var-beer; +} +.#{$fa-css-prefix}-h-square:before { + content: $fa-var-h-square; +} +.#{$fa-css-prefix}-plus-square:before { + content: $fa-var-plus-square; +} +.#{$fa-css-prefix}-angle-double-left:before { + content: $fa-var-angle-double-left; +} +.#{$fa-css-prefix}-angle-double-right:before { + content: $fa-var-angle-double-right; +} +.#{$fa-css-prefix}-angle-double-up:before { + content: $fa-var-angle-double-up; +} +.#{$fa-css-prefix}-angle-double-down:before { + content: $fa-var-angle-double-down; +} +.#{$fa-css-prefix}-angle-left:before { + content: $fa-var-angle-left; +} +.#{$fa-css-prefix}-angle-right:before { + content: $fa-var-angle-right; +} +.#{$fa-css-prefix}-angle-up:before { + content: $fa-var-angle-up; +} +.#{$fa-css-prefix}-angle-down:before { + content: $fa-var-angle-down; +} +.#{$fa-css-prefix}-desktop:before { + content: $fa-var-desktop; +} +.#{$fa-css-prefix}-laptop:before { + content: $fa-var-laptop; +} +.#{$fa-css-prefix}-tablet:before { + content: $fa-var-tablet; +} .#{$fa-css-prefix}-mobile-phone:before, -.#{$fa-css-prefix}-mobile:before { content: $fa-var-mobile; } -.#{$fa-css-prefix}-circle-o:before { content: $fa-var-circle-o; } -.#{$fa-css-prefix}-quote-left:before { content: $fa-var-quote-left; } -.#{$fa-css-prefix}-quote-right:before { content: $fa-var-quote-right; } -.#{$fa-css-prefix}-spinner:before { content: $fa-var-spinner; } -.#{$fa-css-prefix}-circle:before { content: $fa-var-circle; } +.#{$fa-css-prefix}-mobile:before { + content: $fa-var-mobile; +} +.#{$fa-css-prefix}-circle-o:before { + content: $fa-var-circle-o; +} +.#{$fa-css-prefix}-quote-left:before { + content: $fa-var-quote-left; +} +.#{$fa-css-prefix}-quote-right:before { + content: $fa-var-quote-right; +} +.#{$fa-css-prefix}-spinner:before { + content: $fa-var-spinner; +} +.#{$fa-css-prefix}-circle:before { + content: $fa-var-circle; +} .#{$fa-css-prefix}-mail-reply:before, -.#{$fa-css-prefix}-reply:before { content: $fa-var-reply; } -.#{$fa-css-prefix}-github-alt:before { content: $fa-var-github-alt; } -.#{$fa-css-prefix}-folder-o:before { content: $fa-var-folder-o; } -.#{$fa-css-prefix}-folder-open-o:before { content: $fa-var-folder-open-o; } -.#{$fa-css-prefix}-smile-o:before { content: $fa-var-smile-o; } -.#{$fa-css-prefix}-frown-o:before { content: $fa-var-frown-o; } -.#{$fa-css-prefix}-meh-o:before { content: $fa-var-meh-o; } -.#{$fa-css-prefix}-gamepad:before { content: $fa-var-gamepad; } -.#{$fa-css-prefix}-keyboard-o:before { content: $fa-var-keyboard-o; } -.#{$fa-css-prefix}-flag-o:before { content: $fa-var-flag-o; } -.#{$fa-css-prefix}-flag-checkered:before { content: $fa-var-flag-checkered; } -.#{$fa-css-prefix}-terminal:before { content: $fa-var-terminal; } -.#{$fa-css-prefix}-code:before { content: $fa-var-code; } +.#{$fa-css-prefix}-reply:before { + content: $fa-var-reply; +} +.#{$fa-css-prefix}-github-alt:before { + content: $fa-var-github-alt; +} +.#{$fa-css-prefix}-folder-o:before { + content: $fa-var-folder-o; +} +.#{$fa-css-prefix}-folder-open-o:before { + content: $fa-var-folder-open-o; +} +.#{$fa-css-prefix}-smile-o:before { + content: $fa-var-smile-o; +} +.#{$fa-css-prefix}-frown-o:before { + content: $fa-var-frown-o; +} +.#{$fa-css-prefix}-meh-o:before { + content: $fa-var-meh-o; +} +.#{$fa-css-prefix}-gamepad:before { + content: $fa-var-gamepad; +} +.#{$fa-css-prefix}-keyboard-o:before { + content: $fa-var-keyboard-o; +} +.#{$fa-css-prefix}-flag-o:before { + content: $fa-var-flag-o; +} +.#{$fa-css-prefix}-flag-checkered:before { + content: $fa-var-flag-checkered; +} +.#{$fa-css-prefix}-terminal:before { + content: $fa-var-terminal; +} +.#{$fa-css-prefix}-code:before { + content: $fa-var-code; +} .#{$fa-css-prefix}-mail-reply-all:before, -.#{$fa-css-prefix}-reply-all:before { content: $fa-var-reply-all; } +.#{$fa-css-prefix}-reply-all:before { + content: $fa-var-reply-all; +} .#{$fa-css-prefix}-star-half-empty:before, .#{$fa-css-prefix}-star-half-full:before, -.#{$fa-css-prefix}-star-half-o:before { content: $fa-var-star-half-o; } -.#{$fa-css-prefix}-location-arrow:before { content: $fa-var-location-arrow; } -.#{$fa-css-prefix}-crop:before { content: $fa-var-crop; } -.#{$fa-css-prefix}-code-fork:before { content: $fa-var-code-fork; } +.#{$fa-css-prefix}-star-half-o:before { + content: $fa-var-star-half-o; +} +.#{$fa-css-prefix}-location-arrow:before { + content: $fa-var-location-arrow; +} +.#{$fa-css-prefix}-crop:before { + content: $fa-var-crop; +} +.#{$fa-css-prefix}-code-fork:before { + content: $fa-var-code-fork; +} .#{$fa-css-prefix}-unlink:before, -.#{$fa-css-prefix}-chain-broken:before { content: $fa-var-chain-broken; } -.#{$fa-css-prefix}-question:before { content: $fa-var-question; } -.#{$fa-css-prefix}-info:before { content: $fa-var-info; } -.#{$fa-css-prefix}-exclamation:before { content: $fa-var-exclamation; } -.#{$fa-css-prefix}-superscript:before { content: $fa-var-superscript; } -.#{$fa-css-prefix}-subscript:before { content: $fa-var-subscript; } -.#{$fa-css-prefix}-eraser:before { content: $fa-var-eraser; } -.#{$fa-css-prefix}-puzzle-piece:before { content: $fa-var-puzzle-piece; } -.#{$fa-css-prefix}-microphone:before { content: $fa-var-microphone; } -.#{$fa-css-prefix}-microphone-slash:before { content: $fa-var-microphone-slash; } -.#{$fa-css-prefix}-shield:before { content: $fa-var-shield; } -.#{$fa-css-prefix}-calendar-o:before { content: $fa-var-calendar-o; } -.#{$fa-css-prefix}-fire-extinguisher:before { content: $fa-var-fire-extinguisher; } -.#{$fa-css-prefix}-rocket:before { content: $fa-var-rocket; } -.#{$fa-css-prefix}-maxcdn:before { content: $fa-var-maxcdn; } -.#{$fa-css-prefix}-chevron-circle-left:before { content: $fa-var-chevron-circle-left; } -.#{$fa-css-prefix}-chevron-circle-right:before { content: $fa-var-chevron-circle-right; } -.#{$fa-css-prefix}-chevron-circle-up:before { content: $fa-var-chevron-circle-up; } -.#{$fa-css-prefix}-chevron-circle-down:before { content: $fa-var-chevron-circle-down; } -.#{$fa-css-prefix}-html5:before { content: $fa-var-html5; } -.#{$fa-css-prefix}-css3:before { content: $fa-var-css3; } -.#{$fa-css-prefix}-anchor:before { content: $fa-var-anchor; } -.#{$fa-css-prefix}-unlock-alt:before { content: $fa-var-unlock-alt; } -.#{$fa-css-prefix}-bullseye:before { content: $fa-var-bullseye; } -.#{$fa-css-prefix}-ellipsis-h:before { content: $fa-var-ellipsis-h; } -.#{$fa-css-prefix}-ellipsis-v:before { content: $fa-var-ellipsis-v; } -.#{$fa-css-prefix}-rss-square:before { content: $fa-var-rss-square; } -.#{$fa-css-prefix}-play-circle:before { content: $fa-var-play-circle; } -.#{$fa-css-prefix}-ticket:before { content: $fa-var-ticket; } -.#{$fa-css-prefix}-minus-square:before { content: $fa-var-minus-square; } -.#{$fa-css-prefix}-minus-square-o:before { content: $fa-var-minus-square-o; } -.#{$fa-css-prefix}-level-up:before { content: $fa-var-level-up; } -.#{$fa-css-prefix}-level-down:before { content: $fa-var-level-down; } -.#{$fa-css-prefix}-check-square:before { content: $fa-var-check-square; } -.#{$fa-css-prefix}-pencil-square:before { content: $fa-var-pencil-square; } -.#{$fa-css-prefix}-external-link-square:before { content: $fa-var-external-link-square; } -.#{$fa-css-prefix}-share-square:before { content: $fa-var-share-square; } -.#{$fa-css-prefix}-compass:before { content: $fa-var-compass; } +.#{$fa-css-prefix}-chain-broken:before { + content: $fa-var-chain-broken; +} +.#{$fa-css-prefix}-question:before { + content: $fa-var-question; +} +.#{$fa-css-prefix}-info:before { + content: $fa-var-info; +} +.#{$fa-css-prefix}-exclamation:before { + content: $fa-var-exclamation; +} +.#{$fa-css-prefix}-superscript:before { + content: $fa-var-superscript; +} +.#{$fa-css-prefix}-subscript:before { + content: $fa-var-subscript; +} +.#{$fa-css-prefix}-eraser:before { + content: $fa-var-eraser; +} +.#{$fa-css-prefix}-puzzle-piece:before { + content: $fa-var-puzzle-piece; +} +.#{$fa-css-prefix}-microphone:before { + content: $fa-var-microphone; +} +.#{$fa-css-prefix}-microphone-slash:before { + content: $fa-var-microphone-slash; +} +.#{$fa-css-prefix}-shield:before { + content: $fa-var-shield; +} +.#{$fa-css-prefix}-calendar-o:before { + content: $fa-var-calendar-o; +} +.#{$fa-css-prefix}-fire-extinguisher:before { + content: $fa-var-fire-extinguisher; +} +.#{$fa-css-prefix}-rocket:before { + content: $fa-var-rocket; +} +.#{$fa-css-prefix}-maxcdn:before { + content: $fa-var-maxcdn; +} +.#{$fa-css-prefix}-chevron-circle-left:before { + content: $fa-var-chevron-circle-left; +} +.#{$fa-css-prefix}-chevron-circle-right:before { + content: $fa-var-chevron-circle-right; +} +.#{$fa-css-prefix}-chevron-circle-up:before { + content: $fa-var-chevron-circle-up; +} +.#{$fa-css-prefix}-chevron-circle-down:before { + content: $fa-var-chevron-circle-down; +} +.#{$fa-css-prefix}-html5:before { + content: $fa-var-html5; +} +.#{$fa-css-prefix}-css3:before { + content: $fa-var-css3; +} +.#{$fa-css-prefix}-anchor:before { + content: $fa-var-anchor; +} +.#{$fa-css-prefix}-unlock-alt:before { + content: $fa-var-unlock-alt; +} +.#{$fa-css-prefix}-bullseye:before { + content: $fa-var-bullseye; +} +.#{$fa-css-prefix}-ellipsis-h:before { + content: $fa-var-ellipsis-h; +} +.#{$fa-css-prefix}-ellipsis-v:before { + content: $fa-var-ellipsis-v; +} +.#{$fa-css-prefix}-rss-square:before { + content: $fa-var-rss-square; +} +.#{$fa-css-prefix}-play-circle:before { + content: $fa-var-play-circle; +} +.#{$fa-css-prefix}-ticket:before { + content: $fa-var-ticket; +} +.#{$fa-css-prefix}-minus-square:before { + content: $fa-var-minus-square; +} +.#{$fa-css-prefix}-minus-square-o:before { + content: $fa-var-minus-square-o; +} +.#{$fa-css-prefix}-level-up:before { + content: $fa-var-level-up; +} +.#{$fa-css-prefix}-level-down:before { + content: $fa-var-level-down; +} +.#{$fa-css-prefix}-check-square:before { + content: $fa-var-check-square; +} +.#{$fa-css-prefix}-pencil-square:before { + content: $fa-var-pencil-square; +} +.#{$fa-css-prefix}-external-link-square:before { + content: $fa-var-external-link-square; +} +.#{$fa-css-prefix}-share-square:before { + content: $fa-var-share-square; +} +.#{$fa-css-prefix}-compass:before { + content: $fa-var-compass; +} .#{$fa-css-prefix}-toggle-down:before, -.#{$fa-css-prefix}-caret-square-o-down:before { content: $fa-var-caret-square-o-down; } +.#{$fa-css-prefix}-caret-square-o-down:before { + content: $fa-var-caret-square-o-down; +} .#{$fa-css-prefix}-toggle-up:before, -.#{$fa-css-prefix}-caret-square-o-up:before { content: $fa-var-caret-square-o-up; } +.#{$fa-css-prefix}-caret-square-o-up:before { + content: $fa-var-caret-square-o-up; +} .#{$fa-css-prefix}-toggle-right:before, -.#{$fa-css-prefix}-caret-square-o-right:before { content: $fa-var-caret-square-o-right; } +.#{$fa-css-prefix}-caret-square-o-right:before { + content: $fa-var-caret-square-o-right; +} .#{$fa-css-prefix}-euro:before, -.#{$fa-css-prefix}-eur:before { content: $fa-var-eur; } -.#{$fa-css-prefix}-gbp:before { content: $fa-var-gbp; } +.#{$fa-css-prefix}-eur:before { + content: $fa-var-eur; +} +.#{$fa-css-prefix}-gbp:before { + content: $fa-var-gbp; +} .#{$fa-css-prefix}-dollar:before, -.#{$fa-css-prefix}-usd:before { content: $fa-var-usd; } +.#{$fa-css-prefix}-usd:before { + content: $fa-var-usd; +} .#{$fa-css-prefix}-rupee:before, -.#{$fa-css-prefix}-inr:before { content: $fa-var-inr; } +.#{$fa-css-prefix}-inr:before { + content: $fa-var-inr; +} .#{$fa-css-prefix}-cny:before, .#{$fa-css-prefix}-rmb:before, .#{$fa-css-prefix}-yen:before, -.#{$fa-css-prefix}-jpy:before { content: $fa-var-jpy; } +.#{$fa-css-prefix}-jpy:before { + content: $fa-var-jpy; +} .#{$fa-css-prefix}-ruble:before, .#{$fa-css-prefix}-rouble:before, -.#{$fa-css-prefix}-rub:before { content: $fa-var-rub; } +.#{$fa-css-prefix}-rub:before { + content: $fa-var-rub; +} .#{$fa-css-prefix}-won:before, -.#{$fa-css-prefix}-krw:before { content: $fa-var-krw; } +.#{$fa-css-prefix}-krw:before { + content: $fa-var-krw; +} .#{$fa-css-prefix}-bitcoin:before, -.#{$fa-css-prefix}-btc:before { content: $fa-var-btc; } -.#{$fa-css-prefix}-file:before { content: $fa-var-file; } -.#{$fa-css-prefix}-file-text:before { content: $fa-var-file-text; } -.#{$fa-css-prefix}-sort-alpha-asc:before { content: $fa-var-sort-alpha-asc; } -.#{$fa-css-prefix}-sort-alpha-desc:before { content: $fa-var-sort-alpha-desc; } -.#{$fa-css-prefix}-sort-amount-asc:before { content: $fa-var-sort-amount-asc; } -.#{$fa-css-prefix}-sort-amount-desc:before { content: $fa-var-sort-amount-desc; } -.#{$fa-css-prefix}-sort-numeric-asc:before { content: $fa-var-sort-numeric-asc; } -.#{$fa-css-prefix}-sort-numeric-desc:before { content: $fa-var-sort-numeric-desc; } -.#{$fa-css-prefix}-thumbs-up:before { content: $fa-var-thumbs-up; } -.#{$fa-css-prefix}-thumbs-down:before { content: $fa-var-thumbs-down; } -.#{$fa-css-prefix}-youtube-square:before { content: $fa-var-youtube-square; } -.#{$fa-css-prefix}-youtube:before { content: $fa-var-youtube; } -.#{$fa-css-prefix}-xing:before { content: $fa-var-xing; } -.#{$fa-css-prefix}-xing-square:before { content: $fa-var-xing-square; } -.#{$fa-css-prefix}-youtube-play:before { content: $fa-var-youtube-play; } -.#{$fa-css-prefix}-dropbox:before { content: $fa-var-dropbox; } -.#{$fa-css-prefix}-stack-overflow:before { content: $fa-var-stack-overflow; } -.#{$fa-css-prefix}-instagram:before { content: $fa-var-instagram; } -.#{$fa-css-prefix}-flickr:before { content: $fa-var-flickr; } -.#{$fa-css-prefix}-adn:before { content: $fa-var-adn; } -.#{$fa-css-prefix}-bitbucket:before { content: $fa-var-bitbucket; } -.#{$fa-css-prefix}-bitbucket-square:before { content: $fa-var-bitbucket-square; } -.#{$fa-css-prefix}-tumblr:before { content: $fa-var-tumblr; } -.#{$fa-css-prefix}-tumblr-square:before { content: $fa-var-tumblr-square; } -.#{$fa-css-prefix}-long-arrow-down:before { content: $fa-var-long-arrow-down; } -.#{$fa-css-prefix}-long-arrow-up:before { content: $fa-var-long-arrow-up; } -.#{$fa-css-prefix}-long-arrow-left:before { content: $fa-var-long-arrow-left; } -.#{$fa-css-prefix}-long-arrow-right:before { content: $fa-var-long-arrow-right; } -.#{$fa-css-prefix}-apple:before { content: $fa-var-apple; } -.#{$fa-css-prefix}-windows:before { content: $fa-var-windows; } -.#{$fa-css-prefix}-android:before { content: $fa-var-android; } -.#{$fa-css-prefix}-linux:before { content: $fa-var-linux; } -.#{$fa-css-prefix}-dribbble:before { content: $fa-var-dribbble; } -.#{$fa-css-prefix}-skype:before { content: $fa-var-skype; } -.#{$fa-css-prefix}-foursquare:before { content: $fa-var-foursquare; } -.#{$fa-css-prefix}-trello:before { content: $fa-var-trello; } -.#{$fa-css-prefix}-female:before { content: $fa-var-female; } -.#{$fa-css-prefix}-male:before { content: $fa-var-male; } +.#{$fa-css-prefix}-btc:before { + content: $fa-var-btc; +} +.#{$fa-css-prefix}-file:before { + content: $fa-var-file; +} +.#{$fa-css-prefix}-file-text:before { + content: $fa-var-file-text; +} +.#{$fa-css-prefix}-sort-alpha-asc:before { + content: $fa-var-sort-alpha-asc; +} +.#{$fa-css-prefix}-sort-alpha-desc:before { + content: $fa-var-sort-alpha-desc; +} +.#{$fa-css-prefix}-sort-amount-asc:before { + content: $fa-var-sort-amount-asc; +} +.#{$fa-css-prefix}-sort-amount-desc:before { + content: $fa-var-sort-amount-desc; +} +.#{$fa-css-prefix}-sort-numeric-asc:before { + content: $fa-var-sort-numeric-asc; +} +.#{$fa-css-prefix}-sort-numeric-desc:before { + content: $fa-var-sort-numeric-desc; +} +.#{$fa-css-prefix}-thumbs-up:before { + content: $fa-var-thumbs-up; +} +.#{$fa-css-prefix}-thumbs-down:before { + content: $fa-var-thumbs-down; +} +.#{$fa-css-prefix}-youtube-square:before { + content: $fa-var-youtube-square; +} +.#{$fa-css-prefix}-youtube:before { + content: $fa-var-youtube; +} +.#{$fa-css-prefix}-xing:before { + content: $fa-var-xing; +} +.#{$fa-css-prefix}-xing-square:before { + content: $fa-var-xing-square; +} +.#{$fa-css-prefix}-youtube-play:before { + content: $fa-var-youtube-play; +} +.#{$fa-css-prefix}-dropbox:before { + content: $fa-var-dropbox; +} +.#{$fa-css-prefix}-stack-overflow:before { + content: $fa-var-stack-overflow; +} +.#{$fa-css-prefix}-instagram:before { + content: $fa-var-instagram; +} +.#{$fa-css-prefix}-flickr:before { + content: $fa-var-flickr; +} +.#{$fa-css-prefix}-adn:before { + content: $fa-var-adn; +} +.#{$fa-css-prefix}-bitbucket:before { + content: $fa-var-bitbucket; +} +.#{$fa-css-prefix}-bitbucket-square:before { + content: $fa-var-bitbucket-square; +} +.#{$fa-css-prefix}-tumblr:before { + content: $fa-var-tumblr; +} +.#{$fa-css-prefix}-tumblr-square:before { + content: $fa-var-tumblr-square; +} +.#{$fa-css-prefix}-long-arrow-down:before { + content: $fa-var-long-arrow-down; +} +.#{$fa-css-prefix}-long-arrow-up:before { + content: $fa-var-long-arrow-up; +} +.#{$fa-css-prefix}-long-arrow-left:before { + content: $fa-var-long-arrow-left; +} +.#{$fa-css-prefix}-long-arrow-right:before { + content: $fa-var-long-arrow-right; +} +.#{$fa-css-prefix}-apple:before { + content: $fa-var-apple; +} +.#{$fa-css-prefix}-windows:before { + content: $fa-var-windows; +} +.#{$fa-css-prefix}-android:before { + content: $fa-var-android; +} +.#{$fa-css-prefix}-linux:before { + content: $fa-var-linux; +} +.#{$fa-css-prefix}-dribbble:before { + content: $fa-var-dribbble; +} +.#{$fa-css-prefix}-skype:before { + content: $fa-var-skype; +} +.#{$fa-css-prefix}-foursquare:before { + content: $fa-var-foursquare; +} +.#{$fa-css-prefix}-trello:before { + content: $fa-var-trello; +} +.#{$fa-css-prefix}-female:before { + content: $fa-var-female; +} +.#{$fa-css-prefix}-male:before { + content: $fa-var-male; +} .#{$fa-css-prefix}-gittip:before, -.#{$fa-css-prefix}-gratipay:before { content: $fa-var-gratipay; } -.#{$fa-css-prefix}-sun-o:before { content: $fa-var-sun-o; } -.#{$fa-css-prefix}-moon-o:before { content: $fa-var-moon-o; } -.#{$fa-css-prefix}-archive:before { content: $fa-var-archive; } -.#{$fa-css-prefix}-bug:before { content: $fa-var-bug; } -.#{$fa-css-prefix}-vk:before { content: $fa-var-vk; } -.#{$fa-css-prefix}-weibo:before { content: $fa-var-weibo; } -.#{$fa-css-prefix}-renren:before { content: $fa-var-renren; } -.#{$fa-css-prefix}-pagelines:before { content: $fa-var-pagelines; } -.#{$fa-css-prefix}-stack-exchange:before { content: $fa-var-stack-exchange; } -.#{$fa-css-prefix}-arrow-circle-o-right:before { content: $fa-var-arrow-circle-o-right; } -.#{$fa-css-prefix}-arrow-circle-o-left:before { content: $fa-var-arrow-circle-o-left; } +.#{$fa-css-prefix}-gratipay:before { + content: $fa-var-gratipay; +} +.#{$fa-css-prefix}-sun-o:before { + content: $fa-var-sun-o; +} +.#{$fa-css-prefix}-moon-o:before { + content: $fa-var-moon-o; +} +.#{$fa-css-prefix}-archive:before { + content: $fa-var-archive; +} +.#{$fa-css-prefix}-bug:before { + content: $fa-var-bug; +} +.#{$fa-css-prefix}-vk:before { + content: $fa-var-vk; +} +.#{$fa-css-prefix}-weibo:before { + content: $fa-var-weibo; +} +.#{$fa-css-prefix}-renren:before { + content: $fa-var-renren; +} +.#{$fa-css-prefix}-pagelines:before { + content: $fa-var-pagelines; +} +.#{$fa-css-prefix}-stack-exchange:before { + content: $fa-var-stack-exchange; +} +.#{$fa-css-prefix}-arrow-circle-o-right:before { + content: $fa-var-arrow-circle-o-right; +} +.#{$fa-css-prefix}-arrow-circle-o-left:before { + content: $fa-var-arrow-circle-o-left; +} .#{$fa-css-prefix}-toggle-left:before, -.#{$fa-css-prefix}-caret-square-o-left:before { content: $fa-var-caret-square-o-left; } -.#{$fa-css-prefix}-dot-circle-o:before { content: $fa-var-dot-circle-o; } -.#{$fa-css-prefix}-wheelchair:before { content: $fa-var-wheelchair; } -.#{$fa-css-prefix}-vimeo-square:before { content: $fa-var-vimeo-square; } +.#{$fa-css-prefix}-caret-square-o-left:before { + content: $fa-var-caret-square-o-left; +} +.#{$fa-css-prefix}-dot-circle-o:before { + content: $fa-var-dot-circle-o; +} +.#{$fa-css-prefix}-wheelchair:before { + content: $fa-var-wheelchair; +} +.#{$fa-css-prefix}-vimeo-square:before { + content: $fa-var-vimeo-square; +} .#{$fa-css-prefix}-turkish-lira:before, -.#{$fa-css-prefix}-try:before { content: $fa-var-try; } -.#{$fa-css-prefix}-plus-square-o:before { content: $fa-var-plus-square-o; } -.#{$fa-css-prefix}-space-shuttle:before { content: $fa-var-space-shuttle; } -.#{$fa-css-prefix}-slack:before { content: $fa-var-slack; } -.#{$fa-css-prefix}-envelope-square:before { content: $fa-var-envelope-square; } -.#{$fa-css-prefix}-wordpress:before { content: $fa-var-wordpress; } -.#{$fa-css-prefix}-openid:before { content: $fa-var-openid; } +.#{$fa-css-prefix}-try:before { + content: $fa-var-try; +} +.#{$fa-css-prefix}-plus-square-o:before { + content: $fa-var-plus-square-o; +} +.#{$fa-css-prefix}-space-shuttle:before { + content: $fa-var-space-shuttle; +} +.#{$fa-css-prefix}-slack:before { + content: $fa-var-slack; +} +.#{$fa-css-prefix}-envelope-square:before { + content: $fa-var-envelope-square; +} +.#{$fa-css-prefix}-wordpress:before { + content: $fa-var-wordpress; +} +.#{$fa-css-prefix}-openid:before { + content: $fa-var-openid; +} .#{$fa-css-prefix}-institution:before, .#{$fa-css-prefix}-bank:before, -.#{$fa-css-prefix}-university:before { content: $fa-var-university; } +.#{$fa-css-prefix}-university:before { + content: $fa-var-university; +} .#{$fa-css-prefix}-mortar-board:before, -.#{$fa-css-prefix}-graduation-cap:before { content: $fa-var-graduation-cap; } -.#{$fa-css-prefix}-yahoo:before { content: $fa-var-yahoo; } -.#{$fa-css-prefix}-google:before { content: $fa-var-google; } -.#{$fa-css-prefix}-reddit:before { content: $fa-var-reddit; } -.#{$fa-css-prefix}-reddit-square:before { content: $fa-var-reddit-square; } -.#{$fa-css-prefix}-stumbleupon-circle:before { content: $fa-var-stumbleupon-circle; } -.#{$fa-css-prefix}-stumbleupon:before { content: $fa-var-stumbleupon; } -.#{$fa-css-prefix}-delicious:before { content: $fa-var-delicious; } -.#{$fa-css-prefix}-digg:before { content: $fa-var-digg; } -.#{$fa-css-prefix}-pied-piper-pp:before { content: $fa-var-pied-piper-pp; } -.#{$fa-css-prefix}-pied-piper-alt:before { content: $fa-var-pied-piper-alt; } -.#{$fa-css-prefix}-drupal:before { content: $fa-var-drupal; } -.#{$fa-css-prefix}-joomla:before { content: $fa-var-joomla; } -.#{$fa-css-prefix}-language:before { content: $fa-var-language; } -.#{$fa-css-prefix}-fax:before { content: $fa-var-fax; } -.#{$fa-css-prefix}-building:before { content: $fa-var-building; } -.#{$fa-css-prefix}-child:before { content: $fa-var-child; } -.#{$fa-css-prefix}-paw:before { content: $fa-var-paw; } -.#{$fa-css-prefix}-spoon:before { content: $fa-var-spoon; } -.#{$fa-css-prefix}-cube:before { content: $fa-var-cube; } -.#{$fa-css-prefix}-cubes:before { content: $fa-var-cubes; } -.#{$fa-css-prefix}-behance:before { content: $fa-var-behance; } -.#{$fa-css-prefix}-behance-square:before { content: $fa-var-behance-square; } -.#{$fa-css-prefix}-steam:before { content: $fa-var-steam; } -.#{$fa-css-prefix}-steam-square:before { content: $fa-var-steam-square; } -.#{$fa-css-prefix}-recycle:before { content: $fa-var-recycle; } +.#{$fa-css-prefix}-graduation-cap:before { + content: $fa-var-graduation-cap; +} +.#{$fa-css-prefix}-yahoo:before { + content: $fa-var-yahoo; +} +.#{$fa-css-prefix}-google:before { + content: $fa-var-google; +} +.#{$fa-css-prefix}-reddit:before { + content: $fa-var-reddit; +} +.#{$fa-css-prefix}-reddit-square:before { + content: $fa-var-reddit-square; +} +.#{$fa-css-prefix}-stumbleupon-circle:before { + content: $fa-var-stumbleupon-circle; +} +.#{$fa-css-prefix}-stumbleupon:before { + content: $fa-var-stumbleupon; +} +.#{$fa-css-prefix}-delicious:before { + content: $fa-var-delicious; +} +.#{$fa-css-prefix}-digg:before { + content: $fa-var-digg; +} +.#{$fa-css-prefix}-pied-piper-pp:before { + content: $fa-var-pied-piper-pp; +} +.#{$fa-css-prefix}-pied-piper-alt:before { + content: $fa-var-pied-piper-alt; +} +.#{$fa-css-prefix}-drupal:before { + content: $fa-var-drupal; +} +.#{$fa-css-prefix}-joomla:before { + content: $fa-var-joomla; +} +.#{$fa-css-prefix}-language:before { + content: $fa-var-language; +} +.#{$fa-css-prefix}-fax:before { + content: $fa-var-fax; +} +.#{$fa-css-prefix}-building:before { + content: $fa-var-building; +} +.#{$fa-css-prefix}-child:before { + content: $fa-var-child; +} +.#{$fa-css-prefix}-paw:before { + content: $fa-var-paw; +} +.#{$fa-css-prefix}-spoon:before { + content: $fa-var-spoon; +} +.#{$fa-css-prefix}-cube:before { + content: $fa-var-cube; +} +.#{$fa-css-prefix}-cubes:before { + content: $fa-var-cubes; +} +.#{$fa-css-prefix}-behance:before { + content: $fa-var-behance; +} +.#{$fa-css-prefix}-behance-square:before { + content: $fa-var-behance-square; +} +.#{$fa-css-prefix}-steam:before { + content: $fa-var-steam; +} +.#{$fa-css-prefix}-steam-square:before { + content: $fa-var-steam-square; +} +.#{$fa-css-prefix}-recycle:before { + content: $fa-var-recycle; +} .#{$fa-css-prefix}-automobile:before, -.#{$fa-css-prefix}-car:before { content: $fa-var-car; } +.#{$fa-css-prefix}-car:before { + content: $fa-var-car; +} .#{$fa-css-prefix}-cab:before, -.#{$fa-css-prefix}-taxi:before { content: $fa-var-taxi; } -.#{$fa-css-prefix}-tree:before { content: $fa-var-tree; } -.#{$fa-css-prefix}-spotify:before { content: $fa-var-spotify; } -.#{$fa-css-prefix}-deviantart:before { content: $fa-var-deviantart; } -.#{$fa-css-prefix}-soundcloud:before { content: $fa-var-soundcloud; } -.#{$fa-css-prefix}-database:before { content: $fa-var-database; } -.#{$fa-css-prefix}-file-pdf-o:before { content: $fa-var-file-pdf-o; } -.#{$fa-css-prefix}-file-word-o:before { content: $fa-var-file-word-o; } -.#{$fa-css-prefix}-file-excel-o:before { content: $fa-var-file-excel-o; } -.#{$fa-css-prefix}-file-powerpoint-o:before { content: $fa-var-file-powerpoint-o; } +.#{$fa-css-prefix}-taxi:before { + content: $fa-var-taxi; +} +.#{$fa-css-prefix}-tree:before { + content: $fa-var-tree; +} +.#{$fa-css-prefix}-spotify:before { + content: $fa-var-spotify; +} +.#{$fa-css-prefix}-deviantart:before { + content: $fa-var-deviantart; +} +.#{$fa-css-prefix}-soundcloud:before { + content: $fa-var-soundcloud; +} +.#{$fa-css-prefix}-database:before { + content: $fa-var-database; +} +.#{$fa-css-prefix}-file-pdf-o:before { + content: $fa-var-file-pdf-o; +} +.#{$fa-css-prefix}-file-word-o:before { + content: $fa-var-file-word-o; +} +.#{$fa-css-prefix}-file-excel-o:before { + content: $fa-var-file-excel-o; +} +.#{$fa-css-prefix}-file-powerpoint-o:before { + content: $fa-var-file-powerpoint-o; +} .#{$fa-css-prefix}-file-photo-o:before, .#{$fa-css-prefix}-file-picture-o:before, -.#{$fa-css-prefix}-file-image-o:before { content: $fa-var-file-image-o; } +.#{$fa-css-prefix}-file-image-o:before { + content: $fa-var-file-image-o; +} .#{$fa-css-prefix}-file-zip-o:before, -.#{$fa-css-prefix}-file-archive-o:before { content: $fa-var-file-archive-o; } +.#{$fa-css-prefix}-file-archive-o:before { + content: $fa-var-file-archive-o; +} .#{$fa-css-prefix}-file-sound-o:before, -.#{$fa-css-prefix}-file-audio-o:before { content: $fa-var-file-audio-o; } +.#{$fa-css-prefix}-file-audio-o:before { + content: $fa-var-file-audio-o; +} .#{$fa-css-prefix}-file-movie-o:before, -.#{$fa-css-prefix}-file-video-o:before { content: $fa-var-file-video-o; } -.#{$fa-css-prefix}-file-code-o:before { content: $fa-var-file-code-o; } -.#{$fa-css-prefix}-vine:before { content: $fa-var-vine; } -.#{$fa-css-prefix}-codepen:before { content: $fa-var-codepen; } -.#{$fa-css-prefix}-jsfiddle:before { content: $fa-var-jsfiddle; } +.#{$fa-css-prefix}-file-video-o:before { + content: $fa-var-file-video-o; +} +.#{$fa-css-prefix}-file-code-o:before { + content: $fa-var-file-code-o; +} +.#{$fa-css-prefix}-vine:before { + content: $fa-var-vine; +} +.#{$fa-css-prefix}-codepen:before { + content: $fa-var-codepen; +} +.#{$fa-css-prefix}-jsfiddle:before { + content: $fa-var-jsfiddle; +} .#{$fa-css-prefix}-life-bouy:before, .#{$fa-css-prefix}-life-buoy:before, .#{$fa-css-prefix}-life-saver:before, .#{$fa-css-prefix}-support:before, -.#{$fa-css-prefix}-life-ring:before { content: $fa-var-life-ring; } -.#{$fa-css-prefix}-circle-o-notch:before { content: $fa-var-circle-o-notch; } +.#{$fa-css-prefix}-life-ring:before { + content: $fa-var-life-ring; +} +.#{$fa-css-prefix}-circle-o-notch:before { + content: $fa-var-circle-o-notch; +} .#{$fa-css-prefix}-ra:before, .#{$fa-css-prefix}-resistance:before, -.#{$fa-css-prefix}-rebel:before { content: $fa-var-rebel; } +.#{$fa-css-prefix}-rebel:before { + content: $fa-var-rebel; +} .#{$fa-css-prefix}-ge:before, -.#{$fa-css-prefix}-empire:before { content: $fa-var-empire; } -.#{$fa-css-prefix}-git-square:before { content: $fa-var-git-square; } -.#{$fa-css-prefix}-git:before { content: $fa-var-git; } +.#{$fa-css-prefix}-empire:before { + content: $fa-var-empire; +} +.#{$fa-css-prefix}-git-square:before { + content: $fa-var-git-square; +} +.#{$fa-css-prefix}-git:before { + content: $fa-var-git; +} .#{$fa-css-prefix}-y-combinator-square:before, .#{$fa-css-prefix}-yc-square:before, -.#{$fa-css-prefix}-hacker-news:before { content: $fa-var-hacker-news; } -.#{$fa-css-prefix}-tencent-weibo:before { content: $fa-var-tencent-weibo; } -.#{$fa-css-prefix}-qq:before { content: $fa-var-qq; } +.#{$fa-css-prefix}-hacker-news:before { + content: $fa-var-hacker-news; +} +.#{$fa-css-prefix}-tencent-weibo:before { + content: $fa-var-tencent-weibo; +} +.#{$fa-css-prefix}-qq:before { + content: $fa-var-qq; +} .#{$fa-css-prefix}-wechat:before, -.#{$fa-css-prefix}-weixin:before { content: $fa-var-weixin; } +.#{$fa-css-prefix}-weixin:before { + content: $fa-var-weixin; +} .#{$fa-css-prefix}-send:before, -.#{$fa-css-prefix}-paper-plane:before { content: $fa-var-paper-plane; } +.#{$fa-css-prefix}-paper-plane:before { + content: $fa-var-paper-plane; +} .#{$fa-css-prefix}-send-o:before, -.#{$fa-css-prefix}-paper-plane-o:before { content: $fa-var-paper-plane-o; } -.#{$fa-css-prefix}-history:before { content: $fa-var-history; } -.#{$fa-css-prefix}-circle-thin:before { content: $fa-var-circle-thin; } -.#{$fa-css-prefix}-header:before { content: $fa-var-header; } -.#{$fa-css-prefix}-paragraph:before { content: $fa-var-paragraph; } -.#{$fa-css-prefix}-sliders:before { content: $fa-var-sliders; } -.#{$fa-css-prefix}-share-alt:before { content: $fa-var-share-alt; } -.#{$fa-css-prefix}-share-alt-square:before { content: $fa-var-share-alt-square; } -.#{$fa-css-prefix}-bomb:before { content: $fa-var-bomb; } +.#{$fa-css-prefix}-paper-plane-o:before { + content: $fa-var-paper-plane-o; +} +.#{$fa-css-prefix}-history:before { + content: $fa-var-history; +} +.#{$fa-css-prefix}-circle-thin:before { + content: $fa-var-circle-thin; +} +.#{$fa-css-prefix}-header:before { + content: $fa-var-header; +} +.#{$fa-css-prefix}-paragraph:before { + content: $fa-var-paragraph; +} +.#{$fa-css-prefix}-sliders:before { + content: $fa-var-sliders; +} +.#{$fa-css-prefix}-share-alt:before { + content: $fa-var-share-alt; +} +.#{$fa-css-prefix}-share-alt-square:before { + content: $fa-var-share-alt-square; +} +.#{$fa-css-prefix}-bomb:before { + content: $fa-var-bomb; +} .#{$fa-css-prefix}-soccer-ball-o:before, -.#{$fa-css-prefix}-futbol-o:before { content: $fa-var-futbol-o; } -.#{$fa-css-prefix}-tty:before { content: $fa-var-tty; } -.#{$fa-css-prefix}-binoculars:before { content: $fa-var-binoculars; } -.#{$fa-css-prefix}-plug:before { content: $fa-var-plug; } -.#{$fa-css-prefix}-slideshare:before { content: $fa-var-slideshare; } -.#{$fa-css-prefix}-twitch:before { content: $fa-var-twitch; } -.#{$fa-css-prefix}-yelp:before { content: $fa-var-yelp; } -.#{$fa-css-prefix}-newspaper-o:before { content: $fa-var-newspaper-o; } -.#{$fa-css-prefix}-wifi:before { content: $fa-var-wifi; } -.#{$fa-css-prefix}-calculator:before { content: $fa-var-calculator; } -.#{$fa-css-prefix}-paypal:before { content: $fa-var-paypal; } -.#{$fa-css-prefix}-google-wallet:before { content: $fa-var-google-wallet; } -.#{$fa-css-prefix}-cc-visa:before { content: $fa-var-cc-visa; } -.#{$fa-css-prefix}-cc-mastercard:before { content: $fa-var-cc-mastercard; } -.#{$fa-css-prefix}-cc-discover:before { content: $fa-var-cc-discover; } -.#{$fa-css-prefix}-cc-amex:before { content: $fa-var-cc-amex; } -.#{$fa-css-prefix}-cc-paypal:before { content: $fa-var-cc-paypal; } -.#{$fa-css-prefix}-cc-stripe:before { content: $fa-var-cc-stripe; } -.#{$fa-css-prefix}-bell-slash:before { content: $fa-var-bell-slash; } -.#{$fa-css-prefix}-bell-slash-o:before { content: $fa-var-bell-slash-o; } -.#{$fa-css-prefix}-trash:before { content: $fa-var-trash; } -.#{$fa-css-prefix}-copyright:before { content: $fa-var-copyright; } -.#{$fa-css-prefix}-at:before { content: $fa-var-at; } -.#{$fa-css-prefix}-eyedropper:before { content: $fa-var-eyedropper; } -.#{$fa-css-prefix}-paint-brush:before { content: $fa-var-paint-brush; } -.#{$fa-css-prefix}-birthday-cake:before { content: $fa-var-birthday-cake; } -.#{$fa-css-prefix}-area-chart:before { content: $fa-var-area-chart; } -.#{$fa-css-prefix}-pie-chart:before { content: $fa-var-pie-chart; } -.#{$fa-css-prefix}-line-chart:before { content: $fa-var-line-chart; } -.#{$fa-css-prefix}-lastfm:before { content: $fa-var-lastfm; } -.#{$fa-css-prefix}-lastfm-square:before { content: $fa-var-lastfm-square; } -.#{$fa-css-prefix}-toggle-off:before { content: $fa-var-toggle-off; } -.#{$fa-css-prefix}-toggle-on:before { content: $fa-var-toggle-on; } -.#{$fa-css-prefix}-bicycle:before { content: $fa-var-bicycle; } -.#{$fa-css-prefix}-bus:before { content: $fa-var-bus; } -.#{$fa-css-prefix}-ioxhost:before { content: $fa-var-ioxhost; } -.#{$fa-css-prefix}-angellist:before { content: $fa-var-angellist; } -.#{$fa-css-prefix}-cc:before { content: $fa-var-cc; } +.#{$fa-css-prefix}-futbol-o:before { + content: $fa-var-futbol-o; +} +.#{$fa-css-prefix}-tty:before { + content: $fa-var-tty; +} +.#{$fa-css-prefix}-binoculars:before { + content: $fa-var-binoculars; +} +.#{$fa-css-prefix}-plug:before { + content: $fa-var-plug; +} +.#{$fa-css-prefix}-slideshare:before { + content: $fa-var-slideshare; +} +.#{$fa-css-prefix}-twitch:before { + content: $fa-var-twitch; +} +.#{$fa-css-prefix}-yelp:before { + content: $fa-var-yelp; +} +.#{$fa-css-prefix}-newspaper-o:before { + content: $fa-var-newspaper-o; +} +.#{$fa-css-prefix}-wifi:before { + content: $fa-var-wifi; +} +.#{$fa-css-prefix}-calculator:before { + content: $fa-var-calculator; +} +.#{$fa-css-prefix}-paypal:before { + content: $fa-var-paypal; +} +.#{$fa-css-prefix}-google-wallet:before { + content: $fa-var-google-wallet; +} +.#{$fa-css-prefix}-cc-visa:before { + content: $fa-var-cc-visa; +} +.#{$fa-css-prefix}-cc-mastercard:before { + content: $fa-var-cc-mastercard; +} +.#{$fa-css-prefix}-cc-discover:before { + content: $fa-var-cc-discover; +} +.#{$fa-css-prefix}-cc-amex:before { + content: $fa-var-cc-amex; +} +.#{$fa-css-prefix}-cc-paypal:before { + content: $fa-var-cc-paypal; +} +.#{$fa-css-prefix}-cc-stripe:before { + content: $fa-var-cc-stripe; +} +.#{$fa-css-prefix}-bell-slash:before { + content: $fa-var-bell-slash; +} +.#{$fa-css-prefix}-bell-slash-o:before { + content: $fa-var-bell-slash-o; +} +.#{$fa-css-prefix}-trash:before { + content: $fa-var-trash; +} +.#{$fa-css-prefix}-copyright:before { + content: $fa-var-copyright; +} +.#{$fa-css-prefix}-at:before { + content: $fa-var-at; +} +.#{$fa-css-prefix}-eyedropper:before { + content: $fa-var-eyedropper; +} +.#{$fa-css-prefix}-paint-brush:before { + content: $fa-var-paint-brush; +} +.#{$fa-css-prefix}-birthday-cake:before { + content: $fa-var-birthday-cake; +} +.#{$fa-css-prefix}-area-chart:before { + content: $fa-var-area-chart; +} +.#{$fa-css-prefix}-pie-chart:before { + content: $fa-var-pie-chart; +} +.#{$fa-css-prefix}-line-chart:before { + content: $fa-var-line-chart; +} +.#{$fa-css-prefix}-lastfm:before { + content: $fa-var-lastfm; +} +.#{$fa-css-prefix}-lastfm-square:before { + content: $fa-var-lastfm-square; +} +.#{$fa-css-prefix}-toggle-off:before { + content: $fa-var-toggle-off; +} +.#{$fa-css-prefix}-toggle-on:before { + content: $fa-var-toggle-on; +} +.#{$fa-css-prefix}-bicycle:before { + content: $fa-var-bicycle; +} +.#{$fa-css-prefix}-bus:before { + content: $fa-var-bus; +} +.#{$fa-css-prefix}-ioxhost:before { + content: $fa-var-ioxhost; +} +.#{$fa-css-prefix}-angellist:before { + content: $fa-var-angellist; +} +.#{$fa-css-prefix}-cc:before { + content: $fa-var-cc; +} .#{$fa-css-prefix}-shekel:before, .#{$fa-css-prefix}-sheqel:before, -.#{$fa-css-prefix}-ils:before { content: $fa-var-ils; } -.#{$fa-css-prefix}-meanpath:before { content: $fa-var-meanpath; } -.#{$fa-css-prefix}-buysellads:before { content: $fa-var-buysellads; } -.#{$fa-css-prefix}-connectdevelop:before { content: $fa-var-connectdevelop; } -.#{$fa-css-prefix}-dashcube:before { content: $fa-var-dashcube; } -.#{$fa-css-prefix}-forumbee:before { content: $fa-var-forumbee; } -.#{$fa-css-prefix}-leanpub:before { content: $fa-var-leanpub; } -.#{$fa-css-prefix}-sellsy:before { content: $fa-var-sellsy; } -.#{$fa-css-prefix}-shirtsinbulk:before { content: $fa-var-shirtsinbulk; } -.#{$fa-css-prefix}-simplybuilt:before { content: $fa-var-simplybuilt; } -.#{$fa-css-prefix}-skyatlas:before { content: $fa-var-skyatlas; } -.#{$fa-css-prefix}-cart-plus:before { content: $fa-var-cart-plus; } -.#{$fa-css-prefix}-cart-arrow-down:before { content: $fa-var-cart-arrow-down; } -.#{$fa-css-prefix}-diamond:before { content: $fa-var-diamond; } -.#{$fa-css-prefix}-ship:before { content: $fa-var-ship; } -.#{$fa-css-prefix}-user-secret:before { content: $fa-var-user-secret; } -.#{$fa-css-prefix}-motorcycle:before { content: $fa-var-motorcycle; } -.#{$fa-css-prefix}-street-view:before { content: $fa-var-street-view; } -.#{$fa-css-prefix}-heartbeat:before { content: $fa-var-heartbeat; } -.#{$fa-css-prefix}-venus:before { content: $fa-var-venus; } -.#{$fa-css-prefix}-mars:before { content: $fa-var-mars; } -.#{$fa-css-prefix}-mercury:before { content: $fa-var-mercury; } +.#{$fa-css-prefix}-ils:before { + content: $fa-var-ils; +} +.#{$fa-css-prefix}-meanpath:before { + content: $fa-var-meanpath; +} +.#{$fa-css-prefix}-buysellads:before { + content: $fa-var-buysellads; +} +.#{$fa-css-prefix}-connectdevelop:before { + content: $fa-var-connectdevelop; +} +.#{$fa-css-prefix}-dashcube:before { + content: $fa-var-dashcube; +} +.#{$fa-css-prefix}-forumbee:before { + content: $fa-var-forumbee; +} +.#{$fa-css-prefix}-leanpub:before { + content: $fa-var-leanpub; +} +.#{$fa-css-prefix}-sellsy:before { + content: $fa-var-sellsy; +} +.#{$fa-css-prefix}-shirtsinbulk:before { + content: $fa-var-shirtsinbulk; +} +.#{$fa-css-prefix}-simplybuilt:before { + content: $fa-var-simplybuilt; +} +.#{$fa-css-prefix}-skyatlas:before { + content: $fa-var-skyatlas; +} +.#{$fa-css-prefix}-cart-plus:before { + content: $fa-var-cart-plus; +} +.#{$fa-css-prefix}-cart-arrow-down:before { + content: $fa-var-cart-arrow-down; +} +.#{$fa-css-prefix}-diamond:before { + content: $fa-var-diamond; +} +.#{$fa-css-prefix}-ship:before { + content: $fa-var-ship; +} +.#{$fa-css-prefix}-user-secret:before { + content: $fa-var-user-secret; +} +.#{$fa-css-prefix}-motorcycle:before { + content: $fa-var-motorcycle; +} +.#{$fa-css-prefix}-street-view:before { + content: $fa-var-street-view; +} +.#{$fa-css-prefix}-heartbeat:before { + content: $fa-var-heartbeat; +} +.#{$fa-css-prefix}-venus:before { + content: $fa-var-venus; +} +.#{$fa-css-prefix}-mars:before { + content: $fa-var-mars; +} +.#{$fa-css-prefix}-mercury:before { + content: $fa-var-mercury; +} .#{$fa-css-prefix}-intersex:before, -.#{$fa-css-prefix}-transgender:before { content: $fa-var-transgender; } -.#{$fa-css-prefix}-transgender-alt:before { content: $fa-var-transgender-alt; } -.#{$fa-css-prefix}-venus-double:before { content: $fa-var-venus-double; } -.#{$fa-css-prefix}-mars-double:before { content: $fa-var-mars-double; } -.#{$fa-css-prefix}-venus-mars:before { content: $fa-var-venus-mars; } -.#{$fa-css-prefix}-mars-stroke:before { content: $fa-var-mars-stroke; } -.#{$fa-css-prefix}-mars-stroke-v:before { content: $fa-var-mars-stroke-v; } -.#{$fa-css-prefix}-mars-stroke-h:before { content: $fa-var-mars-stroke-h; } -.#{$fa-css-prefix}-neuter:before { content: $fa-var-neuter; } -.#{$fa-css-prefix}-genderless:before { content: $fa-var-genderless; } -.#{$fa-css-prefix}-facebook-official:before { content: $fa-var-facebook-official; } -.#{$fa-css-prefix}-pinterest-p:before { content: $fa-var-pinterest-p; } -.#{$fa-css-prefix}-whatsapp:before { content: $fa-var-whatsapp; } -.#{$fa-css-prefix}-server:before { content: $fa-var-server; } -.#{$fa-css-prefix}-user-plus:before { content: $fa-var-user-plus; } -.#{$fa-css-prefix}-user-times:before { content: $fa-var-user-times; } +.#{$fa-css-prefix}-transgender:before { + content: $fa-var-transgender; +} +.#{$fa-css-prefix}-transgender-alt:before { + content: $fa-var-transgender-alt; +} +.#{$fa-css-prefix}-venus-double:before { + content: $fa-var-venus-double; +} +.#{$fa-css-prefix}-mars-double:before { + content: $fa-var-mars-double; +} +.#{$fa-css-prefix}-venus-mars:before { + content: $fa-var-venus-mars; +} +.#{$fa-css-prefix}-mars-stroke:before { + content: $fa-var-mars-stroke; +} +.#{$fa-css-prefix}-mars-stroke-v:before { + content: $fa-var-mars-stroke-v; +} +.#{$fa-css-prefix}-mars-stroke-h:before { + content: $fa-var-mars-stroke-h; +} +.#{$fa-css-prefix}-neuter:before { + content: $fa-var-neuter; +} +.#{$fa-css-prefix}-genderless:before { + content: $fa-var-genderless; +} +.#{$fa-css-prefix}-facebook-official:before { + content: $fa-var-facebook-official; +} +.#{$fa-css-prefix}-pinterest-p:before { + content: $fa-var-pinterest-p; +} +.#{$fa-css-prefix}-whatsapp:before { + content: $fa-var-whatsapp; +} +.#{$fa-css-prefix}-server:before { + content: $fa-var-server; +} +.#{$fa-css-prefix}-user-plus:before { + content: $fa-var-user-plus; +} +.#{$fa-css-prefix}-user-times:before { + content: $fa-var-user-times; +} .#{$fa-css-prefix}-hotel:before, -.#{$fa-css-prefix}-bed:before { content: $fa-var-bed; } -.#{$fa-css-prefix}-viacoin:before { content: $fa-var-viacoin; } -.#{$fa-css-prefix}-train:before { content: $fa-var-train; } -.#{$fa-css-prefix}-subway:before { content: $fa-var-subway; } -.#{$fa-css-prefix}-medium:before { content: $fa-var-medium; } +.#{$fa-css-prefix}-bed:before { + content: $fa-var-bed; +} +.#{$fa-css-prefix}-viacoin:before { + content: $fa-var-viacoin; +} +.#{$fa-css-prefix}-train:before { + content: $fa-var-train; +} +.#{$fa-css-prefix}-subway:before { + content: $fa-var-subway; +} +.#{$fa-css-prefix}-medium:before { + content: $fa-var-medium; +} .#{$fa-css-prefix}-yc:before, -.#{$fa-css-prefix}-y-combinator:before { content: $fa-var-y-combinator; } -.#{$fa-css-prefix}-optin-monster:before { content: $fa-var-optin-monster; } -.#{$fa-css-prefix}-opencart:before { content: $fa-var-opencart; } -.#{$fa-css-prefix}-expeditedssl:before { content: $fa-var-expeditedssl; } +.#{$fa-css-prefix}-y-combinator:before { + content: $fa-var-y-combinator; +} +.#{$fa-css-prefix}-optin-monster:before { + content: $fa-var-optin-monster; +} +.#{$fa-css-prefix}-opencart:before { + content: $fa-var-opencart; +} +.#{$fa-css-prefix}-expeditedssl:before { + content: $fa-var-expeditedssl; +} .#{$fa-css-prefix}-battery-4:before, .#{$fa-css-prefix}-battery:before, -.#{$fa-css-prefix}-battery-full:before { content: $fa-var-battery-full; } +.#{$fa-css-prefix}-battery-full:before { + content: $fa-var-battery-full; +} .#{$fa-css-prefix}-battery-3:before, -.#{$fa-css-prefix}-battery-three-quarters:before { content: $fa-var-battery-three-quarters; } +.#{$fa-css-prefix}-battery-three-quarters:before { + content: $fa-var-battery-three-quarters; +} .#{$fa-css-prefix}-battery-2:before, -.#{$fa-css-prefix}-battery-half:before { content: $fa-var-battery-half; } +.#{$fa-css-prefix}-battery-half:before { + content: $fa-var-battery-half; +} .#{$fa-css-prefix}-battery-1:before, -.#{$fa-css-prefix}-battery-quarter:before { content: $fa-var-battery-quarter; } +.#{$fa-css-prefix}-battery-quarter:before { + content: $fa-var-battery-quarter; +} .#{$fa-css-prefix}-battery-0:before, -.#{$fa-css-prefix}-battery-empty:before { content: $fa-var-battery-empty; } -.#{$fa-css-prefix}-mouse-pointer:before { content: $fa-var-mouse-pointer; } -.#{$fa-css-prefix}-i-cursor:before { content: $fa-var-i-cursor; } -.#{$fa-css-prefix}-object-group:before { content: $fa-var-object-group; } -.#{$fa-css-prefix}-object-ungroup:before { content: $fa-var-object-ungroup; } -.#{$fa-css-prefix}-sticky-note:before { content: $fa-var-sticky-note; } -.#{$fa-css-prefix}-sticky-note-o:before { content: $fa-var-sticky-note-o; } -.#{$fa-css-prefix}-cc-jcb:before { content: $fa-var-cc-jcb; } -.#{$fa-css-prefix}-cc-diners-club:before { content: $fa-var-cc-diners-club; } -.#{$fa-css-prefix}-clone:before { content: $fa-var-clone; } -.#{$fa-css-prefix}-balance-scale:before { content: $fa-var-balance-scale; } -.#{$fa-css-prefix}-hourglass-o:before { content: $fa-var-hourglass-o; } +.#{$fa-css-prefix}-battery-empty:before { + content: $fa-var-battery-empty; +} +.#{$fa-css-prefix}-mouse-pointer:before { + content: $fa-var-mouse-pointer; +} +.#{$fa-css-prefix}-i-cursor:before { + content: $fa-var-i-cursor; +} +.#{$fa-css-prefix}-object-group:before { + content: $fa-var-object-group; +} +.#{$fa-css-prefix}-object-ungroup:before { + content: $fa-var-object-ungroup; +} +.#{$fa-css-prefix}-sticky-note:before { + content: $fa-var-sticky-note; +} +.#{$fa-css-prefix}-sticky-note-o:before { + content: $fa-var-sticky-note-o; +} +.#{$fa-css-prefix}-cc-jcb:before { + content: $fa-var-cc-jcb; +} +.#{$fa-css-prefix}-cc-diners-club:before { + content: $fa-var-cc-diners-club; +} +.#{$fa-css-prefix}-clone:before { + content: $fa-var-clone; +} +.#{$fa-css-prefix}-balance-scale:before { + content: $fa-var-balance-scale; +} +.#{$fa-css-prefix}-hourglass-o:before { + content: $fa-var-hourglass-o; +} .#{$fa-css-prefix}-hourglass-1:before, -.#{$fa-css-prefix}-hourglass-start:before { content: $fa-var-hourglass-start; } +.#{$fa-css-prefix}-hourglass-start:before { + content: $fa-var-hourglass-start; +} .#{$fa-css-prefix}-hourglass-2:before, -.#{$fa-css-prefix}-hourglass-half:before { content: $fa-var-hourglass-half; } +.#{$fa-css-prefix}-hourglass-half:before { + content: $fa-var-hourglass-half; +} .#{$fa-css-prefix}-hourglass-3:before, -.#{$fa-css-prefix}-hourglass-end:before { content: $fa-var-hourglass-end; } -.#{$fa-css-prefix}-hourglass:before { content: $fa-var-hourglass; } +.#{$fa-css-prefix}-hourglass-end:before { + content: $fa-var-hourglass-end; +} +.#{$fa-css-prefix}-hourglass:before { + content: $fa-var-hourglass; +} .#{$fa-css-prefix}-hand-grab-o:before, -.#{$fa-css-prefix}-hand-rock-o:before { content: $fa-var-hand-rock-o; } +.#{$fa-css-prefix}-hand-rock-o:before { + content: $fa-var-hand-rock-o; +} .#{$fa-css-prefix}-hand-stop-o:before, -.#{$fa-css-prefix}-hand-paper-o:before { content: $fa-var-hand-paper-o; } -.#{$fa-css-prefix}-hand-scissors-o:before { content: $fa-var-hand-scissors-o; } -.#{$fa-css-prefix}-hand-lizard-o:before { content: $fa-var-hand-lizard-o; } -.#{$fa-css-prefix}-hand-spock-o:before { content: $fa-var-hand-spock-o; } -.#{$fa-css-prefix}-hand-pointer-o:before { content: $fa-var-hand-pointer-o; } -.#{$fa-css-prefix}-hand-peace-o:before { content: $fa-var-hand-peace-o; } -.#{$fa-css-prefix}-trademark:before { content: $fa-var-trademark; } -.#{$fa-css-prefix}-registered:before { content: $fa-var-registered; } -.#{$fa-css-prefix}-creative-commons:before { content: $fa-var-creative-commons; } -.#{$fa-css-prefix}-gg:before { content: $fa-var-gg; } -.#{$fa-css-prefix}-gg-circle:before { content: $fa-var-gg-circle; } -.#{$fa-css-prefix}-tripadvisor:before { content: $fa-var-tripadvisor; } -.#{$fa-css-prefix}-odnoklassniki:before { content: $fa-var-odnoklassniki; } -.#{$fa-css-prefix}-odnoklassniki-square:before { content: $fa-var-odnoklassniki-square; } -.#{$fa-css-prefix}-get-pocket:before { content: $fa-var-get-pocket; } -.#{$fa-css-prefix}-wikipedia-w:before { content: $fa-var-wikipedia-w; } -.#{$fa-css-prefix}-safari:before { content: $fa-var-safari; } -.#{$fa-css-prefix}-chrome:before { content: $fa-var-chrome; } -.#{$fa-css-prefix}-firefox:before { content: $fa-var-firefox; } -.#{$fa-css-prefix}-opera:before { content: $fa-var-opera; } -.#{$fa-css-prefix}-internet-explorer:before { content: $fa-var-internet-explorer; } +.#{$fa-css-prefix}-hand-paper-o:before { + content: $fa-var-hand-paper-o; +} +.#{$fa-css-prefix}-hand-scissors-o:before { + content: $fa-var-hand-scissors-o; +} +.#{$fa-css-prefix}-hand-lizard-o:before { + content: $fa-var-hand-lizard-o; +} +.#{$fa-css-prefix}-hand-spock-o:before { + content: $fa-var-hand-spock-o; +} +.#{$fa-css-prefix}-hand-pointer-o:before { + content: $fa-var-hand-pointer-o; +} +.#{$fa-css-prefix}-hand-peace-o:before { + content: $fa-var-hand-peace-o; +} +.#{$fa-css-prefix}-trademark:before { + content: $fa-var-trademark; +} +.#{$fa-css-prefix}-registered:before { + content: $fa-var-registered; +} +.#{$fa-css-prefix}-creative-commons:before { + content: $fa-var-creative-commons; +} +.#{$fa-css-prefix}-gg:before { + content: $fa-var-gg; +} +.#{$fa-css-prefix}-gg-circle:before { + content: $fa-var-gg-circle; +} +.#{$fa-css-prefix}-tripadvisor:before { + content: $fa-var-tripadvisor; +} +.#{$fa-css-prefix}-odnoklassniki:before { + content: $fa-var-odnoklassniki; +} +.#{$fa-css-prefix}-odnoklassniki-square:before { + content: $fa-var-odnoklassniki-square; +} +.#{$fa-css-prefix}-get-pocket:before { + content: $fa-var-get-pocket; +} +.#{$fa-css-prefix}-wikipedia-w:before { + content: $fa-var-wikipedia-w; +} +.#{$fa-css-prefix}-safari:before { + content: $fa-var-safari; +} +.#{$fa-css-prefix}-chrome:before { + content: $fa-var-chrome; +} +.#{$fa-css-prefix}-firefox:before { + content: $fa-var-firefox; +} +.#{$fa-css-prefix}-opera:before { + content: $fa-var-opera; +} +.#{$fa-css-prefix}-internet-explorer:before { + content: $fa-var-internet-explorer; +} .#{$fa-css-prefix}-tv:before, -.#{$fa-css-prefix}-television:before { content: $fa-var-television; } -.#{$fa-css-prefix}-contao:before { content: $fa-var-contao; } -.#{$fa-css-prefix}-500px:before { content: $fa-var-500px; } -.#{$fa-css-prefix}-amazon:before { content: $fa-var-amazon; } -.#{$fa-css-prefix}-calendar-plus-o:before { content: $fa-var-calendar-plus-o; } -.#{$fa-css-prefix}-calendar-minus-o:before { content: $fa-var-calendar-minus-o; } -.#{$fa-css-prefix}-calendar-times-o:before { content: $fa-var-calendar-times-o; } -.#{$fa-css-prefix}-calendar-check-o:before { content: $fa-var-calendar-check-o; } -.#{$fa-css-prefix}-industry:before { content: $fa-var-industry; } -.#{$fa-css-prefix}-map-pin:before { content: $fa-var-map-pin; } -.#{$fa-css-prefix}-map-signs:before { content: $fa-var-map-signs; } -.#{$fa-css-prefix}-map-o:before { content: $fa-var-map-o; } -.#{$fa-css-prefix}-map:before { content: $fa-var-map; } -.#{$fa-css-prefix}-commenting:before { content: $fa-var-commenting; } -.#{$fa-css-prefix}-commenting-o:before { content: $fa-var-commenting-o; } -.#{$fa-css-prefix}-houzz:before { content: $fa-var-houzz; } -.#{$fa-css-prefix}-vimeo:before { content: $fa-var-vimeo; } -.#{$fa-css-prefix}-black-tie:before { content: $fa-var-black-tie; } -.#{$fa-css-prefix}-fonticons:before { content: $fa-var-fonticons; } -.#{$fa-css-prefix}-reddit-alien:before { content: $fa-var-reddit-alien; } -.#{$fa-css-prefix}-edge:before { content: $fa-var-edge; } -.#{$fa-css-prefix}-credit-card-alt:before { content: $fa-var-credit-card-alt; } -.#{$fa-css-prefix}-codiepie:before { content: $fa-var-codiepie; } -.#{$fa-css-prefix}-modx:before { content: $fa-var-modx; } -.#{$fa-css-prefix}-fort-awesome:before { content: $fa-var-fort-awesome; } -.#{$fa-css-prefix}-usb:before { content: $fa-var-usb; } -.#{$fa-css-prefix}-product-hunt:before { content: $fa-var-product-hunt; } -.#{$fa-css-prefix}-mixcloud:before { content: $fa-var-mixcloud; } -.#{$fa-css-prefix}-scribd:before { content: $fa-var-scribd; } -.#{$fa-css-prefix}-pause-circle:before { content: $fa-var-pause-circle; } -.#{$fa-css-prefix}-pause-circle-o:before { content: $fa-var-pause-circle-o; } -.#{$fa-css-prefix}-stop-circle:before { content: $fa-var-stop-circle; } -.#{$fa-css-prefix}-stop-circle-o:before { content: $fa-var-stop-circle-o; } -.#{$fa-css-prefix}-shopping-bag:before { content: $fa-var-shopping-bag; } -.#{$fa-css-prefix}-shopping-basket:before { content: $fa-var-shopping-basket; } -.#{$fa-css-prefix}-hashtag:before { content: $fa-var-hashtag; } -.#{$fa-css-prefix}-bluetooth:before { content: $fa-var-bluetooth; } -.#{$fa-css-prefix}-bluetooth-b:before { content: $fa-var-bluetooth-b; } -.#{$fa-css-prefix}-percent:before { content: $fa-var-percent; } -.#{$fa-css-prefix}-gitlab:before { content: $fa-var-gitlab; } -.#{$fa-css-prefix}-wpbeginner:before { content: $fa-var-wpbeginner; } -.#{$fa-css-prefix}-wpforms:before { content: $fa-var-wpforms; } -.#{$fa-css-prefix}-envira:before { content: $fa-var-envira; } -.#{$fa-css-prefix}-universal-access:before { content: $fa-var-universal-access; } -.#{$fa-css-prefix}-wheelchair-alt:before { content: $fa-var-wheelchair-alt; } -.#{$fa-css-prefix}-question-circle-o:before { content: $fa-var-question-circle-o; } -.#{$fa-css-prefix}-blind:before { content: $fa-var-blind; } -.#{$fa-css-prefix}-audio-description:before { content: $fa-var-audio-description; } -.#{$fa-css-prefix}-volume-control-phone:before { content: $fa-var-volume-control-phone; } -.#{$fa-css-prefix}-braille:before { content: $fa-var-braille; } -.#{$fa-css-prefix}-assistive-listening-systems:before { content: $fa-var-assistive-listening-systems; } +.#{$fa-css-prefix}-television:before { + content: $fa-var-television; +} +.#{$fa-css-prefix}-contao:before { + content: $fa-var-contao; +} +.#{$fa-css-prefix}-500px:before { + content: $fa-var-500px; +} +.#{$fa-css-prefix}-amazon:before { + content: $fa-var-amazon; +} +.#{$fa-css-prefix}-calendar-plus-o:before { + content: $fa-var-calendar-plus-o; +} +.#{$fa-css-prefix}-calendar-minus-o:before { + content: $fa-var-calendar-minus-o; +} +.#{$fa-css-prefix}-calendar-times-o:before { + content: $fa-var-calendar-times-o; +} +.#{$fa-css-prefix}-calendar-check-o:before { + content: $fa-var-calendar-check-o; +} +.#{$fa-css-prefix}-industry:before { + content: $fa-var-industry; +} +.#{$fa-css-prefix}-map-pin:before { + content: $fa-var-map-pin; +} +.#{$fa-css-prefix}-map-signs:before { + content: $fa-var-map-signs; +} +.#{$fa-css-prefix}-map-o:before { + content: $fa-var-map-o; +} +.#{$fa-css-prefix}-map:before { + content: $fa-var-map; +} +.#{$fa-css-prefix}-commenting:before { + content: $fa-var-commenting; +} +.#{$fa-css-prefix}-commenting-o:before { + content: $fa-var-commenting-o; +} +.#{$fa-css-prefix}-houzz:before { + content: $fa-var-houzz; +} +.#{$fa-css-prefix}-vimeo:before { + content: $fa-var-vimeo; +} +.#{$fa-css-prefix}-black-tie:before { + content: $fa-var-black-tie; +} +.#{$fa-css-prefix}-fonticons:before { + content: $fa-var-fonticons; +} +.#{$fa-css-prefix}-reddit-alien:before { + content: $fa-var-reddit-alien; +} +.#{$fa-css-prefix}-edge:before { + content: $fa-var-edge; +} +.#{$fa-css-prefix}-credit-card-alt:before { + content: $fa-var-credit-card-alt; +} +.#{$fa-css-prefix}-codiepie:before { + content: $fa-var-codiepie; +} +.#{$fa-css-prefix}-modx:before { + content: $fa-var-modx; +} +.#{$fa-css-prefix}-fort-awesome:before { + content: $fa-var-fort-awesome; +} +.#{$fa-css-prefix}-usb:before { + content: $fa-var-usb; +} +.#{$fa-css-prefix}-product-hunt:before { + content: $fa-var-product-hunt; +} +.#{$fa-css-prefix}-mixcloud:before { + content: $fa-var-mixcloud; +} +.#{$fa-css-prefix}-scribd:before { + content: $fa-var-scribd; +} +.#{$fa-css-prefix}-pause-circle:before { + content: $fa-var-pause-circle; +} +.#{$fa-css-prefix}-pause-circle-o:before { + content: $fa-var-pause-circle-o; +} +.#{$fa-css-prefix}-stop-circle:before { + content: $fa-var-stop-circle; +} +.#{$fa-css-prefix}-stop-circle-o:before { + content: $fa-var-stop-circle-o; +} +.#{$fa-css-prefix}-shopping-bag:before { + content: $fa-var-shopping-bag; +} +.#{$fa-css-prefix}-shopping-basket:before { + content: $fa-var-shopping-basket; +} +.#{$fa-css-prefix}-hashtag:before { + content: $fa-var-hashtag; +} +.#{$fa-css-prefix}-bluetooth:before { + content: $fa-var-bluetooth; +} +.#{$fa-css-prefix}-bluetooth-b:before { + content: $fa-var-bluetooth-b; +} +.#{$fa-css-prefix}-percent:before { + content: $fa-var-percent; +} +.#{$fa-css-prefix}-gitlab:before { + content: $fa-var-gitlab; +} +.#{$fa-css-prefix}-wpbeginner:before { + content: $fa-var-wpbeginner; +} +.#{$fa-css-prefix}-wpforms:before { + content: $fa-var-wpforms; +} +.#{$fa-css-prefix}-envira:before { + content: $fa-var-envira; +} +.#{$fa-css-prefix}-universal-access:before { + content: $fa-var-universal-access; +} +.#{$fa-css-prefix}-wheelchair-alt:before { + content: $fa-var-wheelchair-alt; +} +.#{$fa-css-prefix}-question-circle-o:before { + content: $fa-var-question-circle-o; +} +.#{$fa-css-prefix}-blind:before { + content: $fa-var-blind; +} +.#{$fa-css-prefix}-audio-description:before { + content: $fa-var-audio-description; +} +.#{$fa-css-prefix}-volume-control-phone:before { + content: $fa-var-volume-control-phone; +} +.#{$fa-css-prefix}-braille:before { + content: $fa-var-braille; +} +.#{$fa-css-prefix}-assistive-listening-systems:before { + content: $fa-var-assistive-listening-systems; +} .#{$fa-css-prefix}-asl-interpreting:before, -.#{$fa-css-prefix}-american-sign-language-interpreting:before { content: $fa-var-american-sign-language-interpreting; } +.#{$fa-css-prefix}-american-sign-language-interpreting:before { + content: $fa-var-american-sign-language-interpreting; +} .#{$fa-css-prefix}-deafness:before, .#{$fa-css-prefix}-hard-of-hearing:before, -.#{$fa-css-prefix}-deaf:before { content: $fa-var-deaf; } -.#{$fa-css-prefix}-glide:before { content: $fa-var-glide; } -.#{$fa-css-prefix}-glide-g:before { content: $fa-var-glide-g; } +.#{$fa-css-prefix}-deaf:before { + content: $fa-var-deaf; +} +.#{$fa-css-prefix}-glide:before { + content: $fa-var-glide; +} +.#{$fa-css-prefix}-glide-g:before { + content: $fa-var-glide-g; +} .#{$fa-css-prefix}-signing:before, -.#{$fa-css-prefix}-sign-language:before { content: $fa-var-sign-language; } -.#{$fa-css-prefix}-low-vision:before { content: $fa-var-low-vision; } -.#{$fa-css-prefix}-viadeo:before { content: $fa-var-viadeo; } -.#{$fa-css-prefix}-viadeo-square:before { content: $fa-var-viadeo-square; } -.#{$fa-css-prefix}-snapchat:before { content: $fa-var-snapchat; } -.#{$fa-css-prefix}-snapchat-ghost:before { content: $fa-var-snapchat-ghost; } -.#{$fa-css-prefix}-snapchat-square:before { content: $fa-var-snapchat-square; } -.#{$fa-css-prefix}-pied-piper:before { content: $fa-var-pied-piper; } -.#{$fa-css-prefix}-first-order:before { content: $fa-var-first-order; } -.#{$fa-css-prefix}-yoast:before { content: $fa-var-yoast; } -.#{$fa-css-prefix}-themeisle:before { content: $fa-var-themeisle; } +.#{$fa-css-prefix}-sign-language:before { + content: $fa-var-sign-language; +} +.#{$fa-css-prefix}-low-vision:before { + content: $fa-var-low-vision; +} +.#{$fa-css-prefix}-viadeo:before { + content: $fa-var-viadeo; +} +.#{$fa-css-prefix}-viadeo-square:before { + content: $fa-var-viadeo-square; +} +.#{$fa-css-prefix}-snapchat:before { + content: $fa-var-snapchat; +} +.#{$fa-css-prefix}-snapchat-ghost:before { + content: $fa-var-snapchat-ghost; +} +.#{$fa-css-prefix}-snapchat-square:before { + content: $fa-var-snapchat-square; +} +.#{$fa-css-prefix}-pied-piper:before { + content: $fa-var-pied-piper; +} +.#{$fa-css-prefix}-first-order:before { + content: $fa-var-first-order; +} +.#{$fa-css-prefix}-yoast:before { + content: $fa-var-yoast; +} +.#{$fa-css-prefix}-themeisle:before { + content: $fa-var-themeisle; +} .#{$fa-css-prefix}-google-plus-circle:before, -.#{$fa-css-prefix}-google-plus-official:before { content: $fa-var-google-plus-official; } +.#{$fa-css-prefix}-google-plus-official:before { + content: $fa-var-google-plus-official; +} .#{$fa-css-prefix}-fa:before, -.#{$fa-css-prefix}-font-awesome:before { content: $fa-var-font-awesome; } -.#{$fa-css-prefix}-handshake-o:before { content: $fa-var-handshake-o; } -.#{$fa-css-prefix}-envelope-open:before { content: $fa-var-envelope-open; } -.#{$fa-css-prefix}-envelope-open-o:before { content: $fa-var-envelope-open-o; } -.#{$fa-css-prefix}-linode:before { content: $fa-var-linode; } -.#{$fa-css-prefix}-address-book:before { content: $fa-var-address-book; } -.#{$fa-css-prefix}-address-book-o:before { content: $fa-var-address-book-o; } +.#{$fa-css-prefix}-font-awesome:before { + content: $fa-var-font-awesome; +} +.#{$fa-css-prefix}-handshake-o:before { + content: $fa-var-handshake-o; +} +.#{$fa-css-prefix}-envelope-open:before { + content: $fa-var-envelope-open; +} +.#{$fa-css-prefix}-envelope-open-o:before { + content: $fa-var-envelope-open-o; +} +.#{$fa-css-prefix}-linode:before { + content: $fa-var-linode; +} +.#{$fa-css-prefix}-address-book:before { + content: $fa-var-address-book; +} +.#{$fa-css-prefix}-address-book-o:before { + content: $fa-var-address-book-o; +} .#{$fa-css-prefix}-vcard:before, -.#{$fa-css-prefix}-address-card:before { content: $fa-var-address-card; } +.#{$fa-css-prefix}-address-card:before { + content: $fa-var-address-card; +} .#{$fa-css-prefix}-vcard-o:before, -.#{$fa-css-prefix}-address-card-o:before { content: $fa-var-address-card-o; } -.#{$fa-css-prefix}-user-circle:before { content: $fa-var-user-circle; } -.#{$fa-css-prefix}-user-circle-o:before { content: $fa-var-user-circle-o; } -.#{$fa-css-prefix}-user-o:before { content: $fa-var-user-o; } -.#{$fa-css-prefix}-id-badge:before { content: $fa-var-id-badge; } +.#{$fa-css-prefix}-address-card-o:before { + content: $fa-var-address-card-o; +} +.#{$fa-css-prefix}-user-circle:before { + content: $fa-var-user-circle; +} +.#{$fa-css-prefix}-user-circle-o:before { + content: $fa-var-user-circle-o; +} +.#{$fa-css-prefix}-user-o:before { + content: $fa-var-user-o; +} +.#{$fa-css-prefix}-id-badge:before { + content: $fa-var-id-badge; +} .#{$fa-css-prefix}-drivers-license:before, -.#{$fa-css-prefix}-id-card:before { content: $fa-var-id-card; } +.#{$fa-css-prefix}-id-card:before { + content: $fa-var-id-card; +} .#{$fa-css-prefix}-drivers-license-o:before, -.#{$fa-css-prefix}-id-card-o:before { content: $fa-var-id-card-o; } -.#{$fa-css-prefix}-quora:before { content: $fa-var-quora; } -.#{$fa-css-prefix}-free-code-camp:before { content: $fa-var-free-code-camp; } -.#{$fa-css-prefix}-telegram:before { content: $fa-var-telegram; } +.#{$fa-css-prefix}-id-card-o:before { + content: $fa-var-id-card-o; +} +.#{$fa-css-prefix}-quora:before { + content: $fa-var-quora; +} +.#{$fa-css-prefix}-free-code-camp:before { + content: $fa-var-free-code-camp; +} +.#{$fa-css-prefix}-telegram:before { + content: $fa-var-telegram; +} .#{$fa-css-prefix}-thermometer-4:before, .#{$fa-css-prefix}-thermometer:before, -.#{$fa-css-prefix}-thermometer-full:before { content: $fa-var-thermometer-full; } +.#{$fa-css-prefix}-thermometer-full:before { + content: $fa-var-thermometer-full; +} .#{$fa-css-prefix}-thermometer-3:before, -.#{$fa-css-prefix}-thermometer-three-quarters:before { content: $fa-var-thermometer-three-quarters; } +.#{$fa-css-prefix}-thermometer-three-quarters:before { + content: $fa-var-thermometer-three-quarters; +} .#{$fa-css-prefix}-thermometer-2:before, -.#{$fa-css-prefix}-thermometer-half:before { content: $fa-var-thermometer-half; } +.#{$fa-css-prefix}-thermometer-half:before { + content: $fa-var-thermometer-half; +} .#{$fa-css-prefix}-thermometer-1:before, -.#{$fa-css-prefix}-thermometer-quarter:before { content: $fa-var-thermometer-quarter; } +.#{$fa-css-prefix}-thermometer-quarter:before { + content: $fa-var-thermometer-quarter; +} .#{$fa-css-prefix}-thermometer-0:before, -.#{$fa-css-prefix}-thermometer-empty:before { content: $fa-var-thermometer-empty; } -.#{$fa-css-prefix}-shower:before { content: $fa-var-shower; } +.#{$fa-css-prefix}-thermometer-empty:before { + content: $fa-var-thermometer-empty; +} +.#{$fa-css-prefix}-shower:before { + content: $fa-var-shower; +} .#{$fa-css-prefix}-bathtub:before, .#{$fa-css-prefix}-s15:before, -.#{$fa-css-prefix}-bath:before { content: $fa-var-bath; } -.#{$fa-css-prefix}-podcast:before { content: $fa-var-podcast; } -.#{$fa-css-prefix}-window-maximize:before { content: $fa-var-window-maximize; } -.#{$fa-css-prefix}-window-minimize:before { content: $fa-var-window-minimize; } -.#{$fa-css-prefix}-window-restore:before { content: $fa-var-window-restore; } +.#{$fa-css-prefix}-bath:before { + content: $fa-var-bath; +} +.#{$fa-css-prefix}-podcast:before { + content: $fa-var-podcast; +} +.#{$fa-css-prefix}-window-maximize:before { + content: $fa-var-window-maximize; +} +.#{$fa-css-prefix}-window-minimize:before { + content: $fa-var-window-minimize; +} +.#{$fa-css-prefix}-window-restore:before { + content: $fa-var-window-restore; +} .#{$fa-css-prefix}-times-rectangle:before, -.#{$fa-css-prefix}-window-close:before { content: $fa-var-window-close; } +.#{$fa-css-prefix}-window-close:before { + content: $fa-var-window-close; +} .#{$fa-css-prefix}-times-rectangle-o:before, -.#{$fa-css-prefix}-window-close-o:before { content: $fa-var-window-close-o; } -.#{$fa-css-prefix}-bandcamp:before { content: $fa-var-bandcamp; } -.#{$fa-css-prefix}-grav:before { content: $fa-var-grav; } -.#{$fa-css-prefix}-etsy:before { content: $fa-var-etsy; } -.#{$fa-css-prefix}-imdb:before { content: $fa-var-imdb; } -.#{$fa-css-prefix}-ravelry:before { content: $fa-var-ravelry; } -.#{$fa-css-prefix}-eercast:before { content: $fa-var-eercast; } -.#{$fa-css-prefix}-microchip:before { content: $fa-var-microchip; } -.#{$fa-css-prefix}-snowflake-o:before { content: $fa-var-snowflake-o; } -.#{$fa-css-prefix}-superpowers:before { content: $fa-var-superpowers; } -.#{$fa-css-prefix}-wpexplorer:before { content: $fa-var-wpexplorer; } -.#{$fa-css-prefix}-meetup:before { content: $fa-var-meetup; } +.#{$fa-css-prefix}-window-close-o:before { + content: $fa-var-window-close-o; +} +.#{$fa-css-prefix}-bandcamp:before { + content: $fa-var-bandcamp; +} +.#{$fa-css-prefix}-grav:before { + content: $fa-var-grav; +} +.#{$fa-css-prefix}-etsy:before { + content: $fa-var-etsy; +} +.#{$fa-css-prefix}-imdb:before { + content: $fa-var-imdb; +} +.#{$fa-css-prefix}-ravelry:before { + content: $fa-var-ravelry; +} +.#{$fa-css-prefix}-eercast:before { + content: $fa-var-eercast; +} +.#{$fa-css-prefix}-microchip:before { + content: $fa-var-microchip; +} +.#{$fa-css-prefix}-snowflake-o:before { + content: $fa-var-snowflake-o; +} +.#{$fa-css-prefix}-superpowers:before { + content: $fa-var-superpowers; +} +.#{$fa-css-prefix}-wpexplorer:before { + content: $fa-var-wpexplorer; +} +.#{$fa-css-prefix}-meetup:before { + content: $fa-var-meetup; +} diff --git a/SUBMISSION/Code Crafters/static/scss/_larger.scss b/SUBMISSION/Code Crafters/static/scss/_larger.scss index 41e9a81..1efeef3 100644 --- a/SUBMISSION/Code Crafters/static/scss/_larger.scss +++ b/SUBMISSION/Code Crafters/static/scss/_larger.scss @@ -7,7 +7,15 @@ line-height: (3em / 4); vertical-align: -15%; } -.#{$fa-css-prefix}-2x { font-size: 2em; } -.#{$fa-css-prefix}-3x { font-size: 3em; } -.#{$fa-css-prefix}-4x { font-size: 4em; } -.#{$fa-css-prefix}-5x { font-size: 5em; } +.#{$fa-css-prefix}-2x { + font-size: 2em; +} +.#{$fa-css-prefix}-3x { + font-size: 3em; +} +.#{$fa-css-prefix}-4x { + font-size: 4em; +} +.#{$fa-css-prefix}-5x { + font-size: 5em; +} diff --git a/SUBMISSION/Code Crafters/static/scss/_list.scss b/SUBMISSION/Code Crafters/static/scss/_list.scss index 7d1e4d5..9e30bee 100644 --- a/SUBMISSION/Code Crafters/static/scss/_list.scss +++ b/SUBMISSION/Code Crafters/static/scss/_list.scss @@ -5,7 +5,9 @@ padding-left: 0; margin-left: $fa-li-width; list-style-type: none; - > li { position: relative; } + > li { + position: relative; + } } .#{$fa-css-prefix}-li { position: absolute; diff --git a/SUBMISSION/Code Crafters/static/scss/_mixins.scss b/SUBMISSION/Code Crafters/static/scss/_mixins.scss index c3bbd57..1977100 100644 --- a/SUBMISSION/Code Crafters/static/scss/_mixins.scss +++ b/SUBMISSION/Code Crafters/static/scss/_mixins.scss @@ -3,29 +3,28 @@ @mixin fa-icon() { display: inline-block; - font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration + font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} + FontAwesome; // shortening font declaration font-size: inherit; // can't have font-size inherit on line above, so need to override text-rendering: auto; // optimizelegibility throws things off #1094 -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - } @mixin fa-icon-rotate($degrees, $rotation) { -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation})"; -webkit-transform: rotate($degrees); - -ms-transform: rotate($degrees); - transform: rotate($degrees); + -ms-transform: rotate($degrees); + transform: rotate($degrees); } @mixin fa-icon-flip($horiz, $vert, $rotation) { -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}, mirror=1)"; -webkit-transform: scale($horiz, $vert); - -ms-transform: scale($horiz, $vert); - transform: scale($horiz, $vert); + -ms-transform: scale($horiz, $vert); + transform: scale($horiz, $vert); } - // Only display content to screen readers. A la Bootstrap 4. // // See: http://a11yproject.com/posts/how-to-hide-content/ @@ -37,7 +36,7 @@ padding: 0; margin: -1px; overflow: hidden; - clip: rect(0,0,0,0); + clip: rect(0, 0, 0, 0); border: 0; } diff --git a/SUBMISSION/Code Crafters/static/scss/_path.scss b/SUBMISSION/Code Crafters/static/scss/_path.scss index bb457c2..0316afa 100644 --- a/SUBMISSION/Code Crafters/static/scss/_path.scss +++ b/SUBMISSION/Code Crafters/static/scss/_path.scss @@ -2,14 +2,19 @@ * -------------------------- */ @font-face { - font-family: 'FontAwesome'; - src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); - src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), - url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), - url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), - url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), - url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); -// src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts + font-family: "FontAwesome"; + src: url("#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}"); + src: url("#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}") + format("embedded-opentype"), + url("#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}") + format("woff2"), + url("#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}") + format("woff"), + url("#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}") + format("truetype"), + url("#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular") + format("svg"); + // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts font-weight: normal; font-style: normal; } diff --git a/SUBMISSION/Code Crafters/static/scss/_rotated-flipped.scss b/SUBMISSION/Code Crafters/static/scss/_rotated-flipped.scss index a3558fd..07c11a8 100644 --- a/SUBMISSION/Code Crafters/static/scss/_rotated-flipped.scss +++ b/SUBMISSION/Code Crafters/static/scss/_rotated-flipped.scss @@ -1,12 +1,22 @@ // Rotated & Flipped Icons // ------------------------- -.#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } -.#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } -.#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } +.#{$fa-css-prefix}-rotate-90 { + @include fa-icon-rotate(90deg, 1); +} +.#{$fa-css-prefix}-rotate-180 { + @include fa-icon-rotate(180deg, 2); +} +.#{$fa-css-prefix}-rotate-270 { + @include fa-icon-rotate(270deg, 3); +} -.#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } -.#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } +.#{$fa-css-prefix}-flip-horizontal { + @include fa-icon-flip(-1, 1, 0); +} +.#{$fa-css-prefix}-flip-vertical { + @include fa-icon-flip(1, -1, 2); +} // Hook for IE8-9 // ------------------------- diff --git a/SUBMISSION/Code Crafters/static/scss/_screen-reader.scss b/SUBMISSION/Code Crafters/static/scss/_screen-reader.scss index 637426f..e3bff89 100644 --- a/SUBMISSION/Code Crafters/static/scss/_screen-reader.scss +++ b/SUBMISSION/Code Crafters/static/scss/_screen-reader.scss @@ -1,5 +1,9 @@ // Screen Readers // ------------------------- -.sr-only { @include sr-only(); } -.sr-only-focusable { @include sr-only-focusable(); } +.sr-only { + @include sr-only(); +} +.sr-only-focusable { + @include sr-only-focusable(); +} diff --git a/SUBMISSION/Code Crafters/static/scss/_stacked.scss b/SUBMISSION/Code Crafters/static/scss/_stacked.scss index aef7403..33fbe76 100644 --- a/SUBMISSION/Code Crafters/static/scss/_stacked.scss +++ b/SUBMISSION/Code Crafters/static/scss/_stacked.scss @@ -9,12 +9,19 @@ line-height: 2em; vertical-align: middle; } -.#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { +.#{$fa-css-prefix}-stack-1x, +.#{$fa-css-prefix}-stack-2x { position: absolute; left: 0; width: 100%; text-align: center; } -.#{$fa-css-prefix}-stack-1x { line-height: inherit; } -.#{$fa-css-prefix}-stack-2x { font-size: 2em; } -.#{$fa-css-prefix}-inverse { color: $fa-inverse; } +.#{$fa-css-prefix}-stack-1x { + line-height: inherit; +} +.#{$fa-css-prefix}-stack-2x { + font-size: 2em; +} +.#{$fa-css-prefix}-inverse { + color: $fa-inverse; +} diff --git a/SUBMISSION/Code Crafters/static/scss/_variables.scss b/SUBMISSION/Code Crafters/static/scss/_variables.scss index 498fc4a..a4bd3cd 100644 --- a/SUBMISSION/Code Crafters/static/scss/_variables.scss +++ b/SUBMISSION/Code Crafters/static/scss/_variables.scss @@ -1,15 +1,15 @@ // Variables // -------------------------- -$fa-font-path: "../fonts" !default; -$fa-font-size-base: 14px !default; +$fa-font-path: "../fonts" !default; +$fa-font-size-base: 14px !default; $fa-line-height-base: 1 !default; //$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts" !default; // for referencing Bootstrap CDN font files directly -$fa-css-prefix: fa !default; -$fa-version: "4.7.0" !default; -$fa-border-color: #eee !default; -$fa-inverse: #fff !default; -$fa-li-width: (30em / 14) !default; +$fa-css-prefix: fa !default; +$fa-version: "4.7.0" !default; +$fa-border-color: #eee !default; +$fa-inverse: #fff !default; +$fa-li-width: (30em / 14) !default; $fa-var-500px: "\f26e"; $fa-var-address-book: "\f2b9"; @@ -797,4 +797,3 @@ $fa-var-yoast: "\f2b1"; $fa-var-youtube: "\f167"; $fa-var-youtube-play: "\f16a"; $fa-var-youtube-square: "\f166"; - diff --git a/SUBMISSION/Code Crafters/templates/face.html b/SUBMISSION/Code Crafters/templates/face.html index bda4952..6d48401 100644 --- a/SUBMISSION/Code Crafters/templates/face.html +++ b/SUBMISSION/Code Crafters/templates/face.html @@ -1,57 +1,54 @@ - - - - - - - - - - Crafter's FMD - - -
    - -
    -
    - -

    -Instructions -
  • -1. Please place your face properly infront of the camera -
  • -
  • -2. Ensure proper lightening on the face -
  • -
  • -3. Do not try to cover your face with hand/ cloth
        you would be detected -
  • -
  • -4. Please maintain a distance of 6 ft. to ensure safity -
  • -
  • -5. If you are detected without mask then please wear
        one or we may not permt you inside -
  • -

    - - - - - -
    - - + + + + + + + + + Crafter's FMD + + +
    + +
    +
    +

    + Instructions +
  • 1. Please place your face properly infront of the camera
  • +
  • 2. Ensure proper lightening on the face
  • +
  • + 3. Do not try to cover your face with hand/ cloth
    +     you would be detected +
  • +
  • 4. Please maintain a distance of 6 ft. to ensure safity
  • +
  • + 5. If you are detected without mask then please wear
    +     one or we may not permt you inside +
  • +

    + + +
    + + diff --git a/SUBMISSION/Code Crafters/templates/home.html b/SUBMISSION/Code Crafters/templates/home.html index 5c252ef..97ab766 100644 --- a/SUBMISSION/Code Crafters/templates/home.html +++ b/SUBMISSION/Code Crafters/templates/home.html @@ -1,71 +1,95 @@ - - - - Crafter's Mask Detector - - - - - - -
    -
    - - -
    -
    - -
    - -
    -
    -
    -

    Hi There ! Let's Fight Together

    -

    - An AI & ML based mask detector module to help your business grow in this hard time of pandemic , Start monitoring your crowd and play safe -

    - Get Started - -
    -
    -
    -
    - -

    - Follow us at -

    -
    - - - - -
    -

    Made with - - by team Code Crafters @JUET_Hacks_2020

    -
    -
    -
    - - - - + + + + Crafter's Mask Detector + + + + +
    +
    + +
    +
    +
    + +
    +
    +
    +

    Hi There ! Let's Fight Together

    +

    + An AI & ML based mask detector module to help your business grow in + this hard time of pandemic , Start monitoring your crowd and play safe +

    + Get Started + +
    +
    +
    +
    + +

    Follow us at

    +
    + + + +
    +

    + Made with + + by team Code Crafters @JUET_Hacks_2020 +

    +
    +
    +
    + + diff --git a/SUBMISSION/Code Crafters/templates/index.html b/SUBMISSION/Code Crafters/templates/index.html index 90c6ad6..3441a31 100644 --- a/SUBMISSION/Code Crafters/templates/index.html +++ b/SUBMISSION/Code Crafters/templates/index.html @@ -1,32 +1,31 @@ - - - - CodeCrafters- Juet Hacks - - - - - -
    - - -
    - -
    -
    - - - + + + CodeCrafters- Juet Hacks + + + + +
    + + +
    + +
    +
    + + diff --git a/SUBMISSION/Code Crafters/templates/service.html b/SUBMISSION/Code Crafters/templates/service.html index 5b7c090..563be49 100644 --- a/SUBMISSION/Code Crafters/templates/service.html +++ b/SUBMISSION/Code Crafters/templates/service.html @@ -1,76 +1,90 @@ - - - - Services - - - -
    - -
    -




    -
    -
    -
    -

    01

    -

    Free & Open Source

    -
    -

    -
    - The Crafter's Mask Detector is absolutely free for everyone, we won't charge you for using it Also, it's an open source project which is available on our git hub account Any constructive change is always welcomed! -

    - Read More -
    -
    -
    -
    -

    02

    -

    Detects In Realtime

    -

    -

    - Apart from traditional mask detecting technique our module uses fast and realtime python bases computer vision techniques to display the result in realtime The results are tested to be accurate up to 92% -

    - Read More -
    -
    -
    -
    -

    03

    -

    Reliable

    -

    -

    - The Crafter's Mask Detector Module is much more reliable & safe to use as our machine learning model is trained using 1500 'mask' & 'no mask' images where training and testing shares are 78% and 22% respectively -

    - Read More -
    -
    -
    -
    -

    04

    -

    Accessible

    -

    -

    - Many Mask Detection Module fails when it comes to provide accessibility to non-tech individuals, But we stand for those who don't want to run scripts and import files , compiler and many - time taking stuffs. -

    - Read More -
    -
    - -
    - - + + + + Services + + + +
    + +
    +




    +
    +
    +
    +

    01

    +

    Free & Open Source

    +
    +

    +
    + The Crafter's Mask Detector is absolutely free for everyone, we + won't charge you for using it Also, it's an open source project + which is available on our git hub account Any constructive change is + always welcomed! +

    + Read More +
    +
    +
    +
    +

    02

    +

    Detects In Realtime

    +

    +

    + Apart from traditional mask detecting technique our module uses fast + and realtime python bases computer vision techniques to display the + result in realtime The results are tested to be accurate up to 92% +

    + Read More +
    +
    +
    +
    +

    03

    +

    Reliable

    +

    +

    + The Crafter's Mask Detector Module is much more reliable & safe to + use as our machine learning model is trained using 1500 'mask' & 'no + mask' images where training and testing shares are 78% and 22% + respectively +

    + Read More +
    +
    +
    +
    +

    04

    +

    Accessible

    +

    +

    + Many Mask Detection Module fails when it comes to provide + accessibility to non-tech individuals, But we stand for those who + don't want to run scripts and import files , compiler and many time + taking stuffs. +

    + Read More +
    +
    +
    + + diff --git a/SUBMISSION/Daunt_Less/Covid19/app/google-services.json b/SUBMISSION/Daunt_Less/Covid19/app/google-services.json index a371dd3..ddef1be 100644 --- a/SUBMISSION/Daunt_Less/Covid19/app/google-services.json +++ b/SUBMISSION/Daunt_Less/Covid19/app/google-services.json @@ -37,4 +37,4 @@ } ], "configuration_version": "1" -} \ No newline at end of file +} diff --git a/SUBMISSION/Daunt_Less/README.md b/SUBMISSION/Daunt_Less/README.md index 64db06b..2e80981 100644 --- a/SUBMISSION/Daunt_Less/README.md +++ b/SUBMISSION/Daunt_Less/README.md @@ -1,2 +1,3 @@ # covid19 -corona virus tracker + +corona virus tracker diff --git a/SUBMISSION/IGNORAMUS/Doc/css/font-awesome.min.css b/SUBMISSION/IGNORAMUS/Doc/css/font-awesome.min.css index 3d920fc..d42ac54 100644 --- a/SUBMISSION/IGNORAMUS/Doc/css/font-awesome.min.css +++ b/SUBMISSION/IGNORAMUS/Doc/css/font-awesome.min.css @@ -1,4 +1,1566 @@ /*! * Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.1.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:spin 2s infinite linear;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1)}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-square:before,.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"} \ No newline at end of file + */ +@font-face { + font-family: "FontAwesome"; + src: url("../fonts/fontawesome-webfont.eot?v=4.1.0"); + src: url("../fonts/fontawesome-webfont.eot?#iefix&v=4.1.0") + format("embedded-opentype"), + url("../fonts/fontawesome-webfont.woff?v=4.1.0") format("woff"), + url("../fonts/fontawesome-webfont.ttf?v=4.1.0") format("truetype"), + url("../fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular") + format("svg"); + font-weight: normal; + font-style: normal; +} +.fa { + display: inline-block; + font-family: FontAwesome; + font-style: normal; + font-weight: normal; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.fa-lg { + font-size: 1.33333333em; + line-height: 0.75em; + vertical-align: -15%; +} +.fa-2x { + font-size: 2em; +} +.fa-3x { + font-size: 3em; +} +.fa-4x { + font-size: 4em; +} +.fa-5x { + font-size: 5em; +} +.fa-fw { + width: 1.28571429em; + text-align: center; +} +.fa-ul { + padding-left: 0; + margin-left: 2.14285714em; + list-style-type: none; +} +.fa-ul > li { + position: relative; +} +.fa-li { + position: absolute; + left: -2.14285714em; + width: 2.14285714em; + top: 0.14285714em; + text-align: center; +} +.fa-li.fa-lg { + left: -1.85714286em; +} +.fa-border { + padding: 0.2em 0.25em 0.15em; + border: solid 0.08em #eee; + border-radius: 0.1em; +} +.pull-right { + float: right; +} +.pull-left { + float: left; +} +.fa.pull-left { + margin-right: 0.3em; +} +.fa.pull-right { + margin-left: 0.3em; +} +.fa-spin { + -webkit-animation: spin 2s infinite linear; + -moz-animation: spin 2s infinite linear; + -o-animation: spin 2s infinite linear; + animation: spin 2s infinite linear; +} +@-moz-keyframes spin { + 0% { + -moz-transform: rotate(0deg); + } + 100% { + -moz-transform: rotate(359deg); + } +} +@-webkit-keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + } +} +@-o-keyframes spin { + 0% { + -o-transform: rotate(0deg); + } + 100% { + -o-transform: rotate(359deg); + } +} +@keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +.fa-rotate-90 { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); + -webkit-transform: rotate(90deg); + -moz-transform: rotate(90deg); + -ms-transform: rotate(90deg); + -o-transform: rotate(90deg); + transform: rotate(90deg); +} +.fa-rotate-180 { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + -o-transform: rotate(180deg); + transform: rotate(180deg); +} +.fa-rotate-270 { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); + -webkit-transform: rotate(270deg); + -moz-transform: rotate(270deg); + -ms-transform: rotate(270deg); + -o-transform: rotate(270deg); + transform: rotate(270deg); +} +.fa-flip-horizontal { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); + -webkit-transform: scale(-1, 1); + -moz-transform: scale(-1, 1); + -ms-transform: scale(-1, 1); + -o-transform: scale(-1, 1); + transform: scale(-1, 1); +} +.fa-flip-vertical { + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); + -webkit-transform: scale(1, -1); + -moz-transform: scale(1, -1); + -ms-transform: scale(1, -1); + -o-transform: scale(1, -1); + transform: scale(1, -1); +} +.fa-stack { + position: relative; + display: inline-block; + width: 2em; + height: 2em; + line-height: 2em; + vertical-align: middle; +} +.fa-stack-1x, +.fa-stack-2x { + position: absolute; + left: 0; + width: 100%; + text-align: center; +} +.fa-stack-1x { + line-height: inherit; +} +.fa-stack-2x { + font-size: 2em; +} +.fa-inverse { + color: #fff; +} +.fa-glass:before { + content: "\f000"; +} +.fa-music:before { + content: "\f001"; +} +.fa-search:before { + content: "\f002"; +} +.fa-envelope-o:before { + content: "\f003"; +} +.fa-heart:before { + content: "\f004"; +} +.fa-star:before { + content: "\f005"; +} +.fa-star-o:before { + content: "\f006"; +} +.fa-user:before { + content: "\f007"; +} +.fa-film:before { + content: "\f008"; +} +.fa-th-large:before { + content: "\f009"; +} +.fa-th:before { + content: "\f00a"; +} +.fa-th-list:before { + content: "\f00b"; +} +.fa-check:before { + content: "\f00c"; +} +.fa-times:before { + content: "\f00d"; +} +.fa-search-plus:before { + content: "\f00e"; +} +.fa-search-minus:before { + content: "\f010"; +} +.fa-power-off:before { + content: "\f011"; +} +.fa-signal:before { + content: "\f012"; +} +.fa-gear:before, +.fa-cog:before { + content: "\f013"; +} +.fa-trash-o:before { + content: "\f014"; +} +.fa-home:before { + content: "\f015"; +} +.fa-file-o:before { + content: "\f016"; +} +.fa-clock-o:before { + content: "\f017"; +} +.fa-road:before { + content: "\f018"; +} +.fa-download:before { + content: "\f019"; +} +.fa-arrow-circle-o-down:before { + content: "\f01a"; +} +.fa-arrow-circle-o-up:before { + content: "\f01b"; +} +.fa-inbox:before { + content: "\f01c"; +} +.fa-play-circle-o:before { + content: "\f01d"; +} +.fa-rotate-right:before, +.fa-repeat:before { + content: "\f01e"; +} +.fa-refresh:before { + content: "\f021"; +} +.fa-list-alt:before { + content: "\f022"; +} +.fa-lock:before { + content: "\f023"; +} +.fa-flag:before { + content: "\f024"; +} +.fa-headphones:before { + content: "\f025"; +} +.fa-volume-off:before { + content: "\f026"; +} +.fa-volume-down:before { + content: "\f027"; +} +.fa-volume-up:before { + content: "\f028"; +} +.fa-qrcode:before { + content: "\f029"; +} +.fa-barcode:before { + content: "\f02a"; +} +.fa-tag:before { + content: "\f02b"; +} +.fa-tags:before { + content: "\f02c"; +} +.fa-book:before { + content: "\f02d"; +} +.fa-bookmark:before { + content: "\f02e"; +} +.fa-print:before { + content: "\f02f"; +} +.fa-camera:before { + content: "\f030"; +} +.fa-font:before { + content: "\f031"; +} +.fa-bold:before { + content: "\f032"; +} +.fa-italic:before { + content: "\f033"; +} +.fa-text-height:before { + content: "\f034"; +} +.fa-text-width:before { + content: "\f035"; +} +.fa-align-left:before { + content: "\f036"; +} +.fa-align-center:before { + content: "\f037"; +} +.fa-align-right:before { + content: "\f038"; +} +.fa-align-justify:before { + content: "\f039"; +} +.fa-list:before { + content: "\f03a"; +} +.fa-dedent:before, +.fa-outdent:before { + content: "\f03b"; +} +.fa-indent:before { + content: "\f03c"; +} +.fa-video-camera:before { + content: "\f03d"; +} +.fa-photo:before, +.fa-image:before, +.fa-picture-o:before { + content: "\f03e"; +} +.fa-pencil:before { + content: "\f040"; +} +.fa-map-marker:before { + content: "\f041"; +} +.fa-adjust:before { + content: "\f042"; +} +.fa-tint:before { + content: "\f043"; +} +.fa-edit:before, +.fa-pencil-square-o:before { + content: "\f044"; +} +.fa-share-square-o:before { + content: "\f045"; +} +.fa-check-square-o:before { + content: "\f046"; +} +.fa-arrows:before { + content: "\f047"; +} +.fa-step-backward:before { + content: "\f048"; +} +.fa-fast-backward:before { + content: "\f049"; +} +.fa-backward:before { + content: "\f04a"; +} +.fa-play:before { + content: "\f04b"; +} +.fa-pause:before { + content: "\f04c"; +} +.fa-stop:before { + content: "\f04d"; +} +.fa-forward:before { + content: "\f04e"; +} +.fa-fast-forward:before { + content: "\f050"; +} +.fa-step-forward:before { + content: "\f051"; +} +.fa-eject:before { + content: "\f052"; +} +.fa-chevron-left:before { + content: "\f053"; +} +.fa-chevron-right:before { + content: "\f054"; +} +.fa-plus-circle:before { + content: "\f055"; +} +.fa-minus-circle:before { + content: "\f056"; +} +.fa-times-circle:before { + content: "\f057"; +} +.fa-check-circle:before { + content: "\f058"; +} +.fa-question-circle:before { + content: "\f059"; +} +.fa-info-circle:before { + content: "\f05a"; +} +.fa-crosshairs:before { + content: "\f05b"; +} +.fa-times-circle-o:before { + content: "\f05c"; +} +.fa-check-circle-o:before { + content: "\f05d"; +} +.fa-ban:before { + content: "\f05e"; +} +.fa-arrow-left:before { + content: "\f060"; +} +.fa-arrow-right:before { + content: "\f061"; +} +.fa-arrow-up:before { + content: "\f062"; +} +.fa-arrow-down:before { + content: "\f063"; +} +.fa-mail-forward:before, +.fa-share:before { + content: "\f064"; +} +.fa-expand:before { + content: "\f065"; +} +.fa-compress:before { + content: "\f066"; +} +.fa-plus:before { + content: "\f067"; +} +.fa-minus:before { + content: "\f068"; +} +.fa-asterisk:before { + content: "\f069"; +} +.fa-exclamation-circle:before { + content: "\f06a"; +} +.fa-gift:before { + content: "\f06b"; +} +.fa-leaf:before { + content: "\f06c"; +} +.fa-fire:before { + content: "\f06d"; +} +.fa-eye:before { + content: "\f06e"; +} +.fa-eye-slash:before { + content: "\f070"; +} +.fa-warning:before, +.fa-exclamation-triangle:before { + content: "\f071"; +} +.fa-plane:before { + content: "\f072"; +} +.fa-calendar:before { + content: "\f073"; +} +.fa-random:before { + content: "\f074"; +} +.fa-comment:before { + content: "\f075"; +} +.fa-magnet:before { + content: "\f076"; +} +.fa-chevron-up:before { + content: "\f077"; +} +.fa-chevron-down:before { + content: "\f078"; +} +.fa-retweet:before { + content: "\f079"; +} +.fa-shopping-cart:before { + content: "\f07a"; +} +.fa-folder:before { + content: "\f07b"; +} +.fa-folder-open:before { + content: "\f07c"; +} +.fa-arrows-v:before { + content: "\f07d"; +} +.fa-arrows-h:before { + content: "\f07e"; +} +.fa-bar-chart-o:before { + content: "\f080"; +} +.fa-twitter-square:before { + content: "\f081"; +} +.fa-facebook-square:before { + content: "\f082"; +} +.fa-camera-retro:before { + content: "\f083"; +} +.fa-key:before { + content: "\f084"; +} +.fa-gears:before, +.fa-cogs:before { + content: "\f085"; +} +.fa-comments:before { + content: "\f086"; +} +.fa-thumbs-o-up:before { + content: "\f087"; +} +.fa-thumbs-o-down:before { + content: "\f088"; +} +.fa-star-half:before { + content: "\f089"; +} +.fa-heart-o:before { + content: "\f08a"; +} +.fa-sign-out:before { + content: "\f08b"; +} +.fa-linkedin-square:before { + content: "\f08c"; +} +.fa-thumb-tack:before { + content: "\f08d"; +} +.fa-external-link:before { + content: "\f08e"; +} +.fa-sign-in:before { + content: "\f090"; +} +.fa-trophy:before { + content: "\f091"; +} +.fa-github-square:before { + content: "\f092"; +} +.fa-upload:before { + content: "\f093"; +} +.fa-lemon-o:before { + content: "\f094"; +} +.fa-phone:before { + content: "\f095"; +} +.fa-square-o:before { + content: "\f096"; +} +.fa-bookmark-o:before { + content: "\f097"; +} +.fa-phone-square:before { + content: "\f098"; +} +.fa-twitter:before { + content: "\f099"; +} +.fa-facebook:before { + content: "\f09a"; +} +.fa-github:before { + content: "\f09b"; +} +.fa-unlock:before { + content: "\f09c"; +} +.fa-credit-card:before { + content: "\f09d"; +} +.fa-rss:before { + content: "\f09e"; +} +.fa-hdd-o:before { + content: "\f0a0"; +} +.fa-bullhorn:before { + content: "\f0a1"; +} +.fa-bell:before { + content: "\f0f3"; +} +.fa-certificate:before { + content: "\f0a3"; +} +.fa-hand-o-right:before { + content: "\f0a4"; +} +.fa-hand-o-left:before { + content: "\f0a5"; +} +.fa-hand-o-up:before { + content: "\f0a6"; +} +.fa-hand-o-down:before { + content: "\f0a7"; +} +.fa-arrow-circle-left:before { + content: "\f0a8"; +} +.fa-arrow-circle-right:before { + content: "\f0a9"; +} +.fa-arrow-circle-up:before { + content: "\f0aa"; +} +.fa-arrow-circle-down:before { + content: "\f0ab"; +} +.fa-globe:before { + content: "\f0ac"; +} +.fa-wrench:before { + content: "\f0ad"; +} +.fa-tasks:before { + content: "\f0ae"; +} +.fa-filter:before { + content: "\f0b0"; +} +.fa-briefcase:before { + content: "\f0b1"; +} +.fa-arrows-alt:before { + content: "\f0b2"; +} +.fa-group:before, +.fa-users:before { + content: "\f0c0"; +} +.fa-chain:before, +.fa-link:before { + content: "\f0c1"; +} +.fa-cloud:before { + content: "\f0c2"; +} +.fa-flask:before { + content: "\f0c3"; +} +.fa-cut:before, +.fa-scissors:before { + content: "\f0c4"; +} +.fa-copy:before, +.fa-files-o:before { + content: "\f0c5"; +} +.fa-paperclip:before { + content: "\f0c6"; +} +.fa-save:before, +.fa-floppy-o:before { + content: "\f0c7"; +} +.fa-square:before { + content: "\f0c8"; +} +.fa-navicon:before, +.fa-reorder:before, +.fa-bars:before { + content: "\f0c9"; +} +.fa-list-ul:before { + content: "\f0ca"; +} +.fa-list-ol:before { + content: "\f0cb"; +} +.fa-strikethrough:before { + content: "\f0cc"; +} +.fa-underline:before { + content: "\f0cd"; +} +.fa-table:before { + content: "\f0ce"; +} +.fa-magic:before { + content: "\f0d0"; +} +.fa-truck:before { + content: "\f0d1"; +} +.fa-pinterest:before { + content: "\f0d2"; +} +.fa-pinterest-square:before { + content: "\f0d3"; +} +.fa-google-plus-square:before { + content: "\f0d4"; +} +.fa-google-plus:before { + content: "\f0d5"; +} +.fa-money:before { + content: "\f0d6"; +} +.fa-caret-down:before { + content: "\f0d7"; +} +.fa-caret-up:before { + content: "\f0d8"; +} +.fa-caret-left:before { + content: "\f0d9"; +} +.fa-caret-right:before { + content: "\f0da"; +} +.fa-columns:before { + content: "\f0db"; +} +.fa-unsorted:before, +.fa-sort:before { + content: "\f0dc"; +} +.fa-sort-down:before, +.fa-sort-desc:before { + content: "\f0dd"; +} +.fa-sort-up:before, +.fa-sort-asc:before { + content: "\f0de"; +} +.fa-envelope:before { + content: "\f0e0"; +} +.fa-linkedin:before { + content: "\f0e1"; +} +.fa-rotate-left:before, +.fa-undo:before { + content: "\f0e2"; +} +.fa-legal:before, +.fa-gavel:before { + content: "\f0e3"; +} +.fa-dashboard:before, +.fa-tachometer:before { + content: "\f0e4"; +} +.fa-comment-o:before { + content: "\f0e5"; +} +.fa-comments-o:before { + content: "\f0e6"; +} +.fa-flash:before, +.fa-bolt:before { + content: "\f0e7"; +} +.fa-sitemap:before { + content: "\f0e8"; +} +.fa-umbrella:before { + content: "\f0e9"; +} +.fa-paste:before, +.fa-clipboard:before { + content: "\f0ea"; +} +.fa-lightbulb-o:before { + content: "\f0eb"; +} +.fa-exchange:before { + content: "\f0ec"; +} +.fa-cloud-download:before { + content: "\f0ed"; +} +.fa-cloud-upload:before { + content: "\f0ee"; +} +.fa-user-md:before { + content: "\f0f0"; +} +.fa-stethoscope:before { + content: "\f0f1"; +} +.fa-suitcase:before { + content: "\f0f2"; +} +.fa-bell-o:before { + content: "\f0a2"; +} +.fa-coffee:before { + content: "\f0f4"; +} +.fa-cutlery:before { + content: "\f0f5"; +} +.fa-file-text-o:before { + content: "\f0f6"; +} +.fa-building-o:before { + content: "\f0f7"; +} +.fa-hospital-o:before { + content: "\f0f8"; +} +.fa-ambulance:before { + content: "\f0f9"; +} +.fa-medkit:before { + content: "\f0fa"; +} +.fa-fighter-jet:before { + content: "\f0fb"; +} +.fa-beer:before { + content: "\f0fc"; +} +.fa-h-square:before { + content: "\f0fd"; +} +.fa-plus-square:before { + content: "\f0fe"; +} +.fa-angle-double-left:before { + content: "\f100"; +} +.fa-angle-double-right:before { + content: "\f101"; +} +.fa-angle-double-up:before { + content: "\f102"; +} +.fa-angle-double-down:before { + content: "\f103"; +} +.fa-angle-left:before { + content: "\f104"; +} +.fa-angle-right:before { + content: "\f105"; +} +.fa-angle-up:before { + content: "\f106"; +} +.fa-angle-down:before { + content: "\f107"; +} +.fa-desktop:before { + content: "\f108"; +} +.fa-laptop:before { + content: "\f109"; +} +.fa-tablet:before { + content: "\f10a"; +} +.fa-mobile-phone:before, +.fa-mobile:before { + content: "\f10b"; +} +.fa-circle-o:before { + content: "\f10c"; +} +.fa-quote-left:before { + content: "\f10d"; +} +.fa-quote-right:before { + content: "\f10e"; +} +.fa-spinner:before { + content: "\f110"; +} +.fa-circle:before { + content: "\f111"; +} +.fa-mail-reply:before, +.fa-reply:before { + content: "\f112"; +} +.fa-github-alt:before { + content: "\f113"; +} +.fa-folder-o:before { + content: "\f114"; +} +.fa-folder-open-o:before { + content: "\f115"; +} +.fa-smile-o:before { + content: "\f118"; +} +.fa-frown-o:before { + content: "\f119"; +} +.fa-meh-o:before { + content: "\f11a"; +} +.fa-gamepad:before { + content: "\f11b"; +} +.fa-keyboard-o:before { + content: "\f11c"; +} +.fa-flag-o:before { + content: "\f11d"; +} +.fa-flag-checkered:before { + content: "\f11e"; +} +.fa-terminal:before { + content: "\f120"; +} +.fa-code:before { + content: "\f121"; +} +.fa-mail-reply-all:before, +.fa-reply-all:before { + content: "\f122"; +} +.fa-star-half-empty:before, +.fa-star-half-full:before, +.fa-star-half-o:before { + content: "\f123"; +} +.fa-location-arrow:before { + content: "\f124"; +} +.fa-crop:before { + content: "\f125"; +} +.fa-code-fork:before { + content: "\f126"; +} +.fa-unlink:before, +.fa-chain-broken:before { + content: "\f127"; +} +.fa-question:before { + content: "\f128"; +} +.fa-info:before { + content: "\f129"; +} +.fa-exclamation:before { + content: "\f12a"; +} +.fa-superscript:before { + content: "\f12b"; +} +.fa-subscript:before { + content: "\f12c"; +} +.fa-eraser:before { + content: "\f12d"; +} +.fa-puzzle-piece:before { + content: "\f12e"; +} +.fa-microphone:before { + content: "\f130"; +} +.fa-microphone-slash:before { + content: "\f131"; +} +.fa-shield:before { + content: "\f132"; +} +.fa-calendar-o:before { + content: "\f133"; +} +.fa-fire-extinguisher:before { + content: "\f134"; +} +.fa-rocket:before { + content: "\f135"; +} +.fa-maxcdn:before { + content: "\f136"; +} +.fa-chevron-circle-left:before { + content: "\f137"; +} +.fa-chevron-circle-right:before { + content: "\f138"; +} +.fa-chevron-circle-up:before { + content: "\f139"; +} +.fa-chevron-circle-down:before { + content: "\f13a"; +} +.fa-html5:before { + content: "\f13b"; +} +.fa-css3:before { + content: "\f13c"; +} +.fa-anchor:before { + content: "\f13d"; +} +.fa-unlock-alt:before { + content: "\f13e"; +} +.fa-bullseye:before { + content: "\f140"; +} +.fa-ellipsis-h:before { + content: "\f141"; +} +.fa-ellipsis-v:before { + content: "\f142"; +} +.fa-rss-square:before { + content: "\f143"; +} +.fa-play-circle:before { + content: "\f144"; +} +.fa-ticket:before { + content: "\f145"; +} +.fa-minus-square:before { + content: "\f146"; +} +.fa-minus-square-o:before { + content: "\f147"; +} +.fa-level-up:before { + content: "\f148"; +} +.fa-level-down:before { + content: "\f149"; +} +.fa-check-square:before { + content: "\f14a"; +} +.fa-pencil-square:before { + content: "\f14b"; +} +.fa-external-link-square:before { + content: "\f14c"; +} +.fa-share-square:before { + content: "\f14d"; +} +.fa-compass:before { + content: "\f14e"; +} +.fa-toggle-down:before, +.fa-caret-square-o-down:before { + content: "\f150"; +} +.fa-toggle-up:before, +.fa-caret-square-o-up:before { + content: "\f151"; +} +.fa-toggle-right:before, +.fa-caret-square-o-right:before { + content: "\f152"; +} +.fa-euro:before, +.fa-eur:before { + content: "\f153"; +} +.fa-gbp:before { + content: "\f154"; +} +.fa-dollar:before, +.fa-usd:before { + content: "\f155"; +} +.fa-rupee:before, +.fa-inr:before { + content: "\f156"; +} +.fa-cny:before, +.fa-rmb:before, +.fa-yen:before, +.fa-jpy:before { + content: "\f157"; +} +.fa-ruble:before, +.fa-rouble:before, +.fa-rub:before { + content: "\f158"; +} +.fa-won:before, +.fa-krw:before { + content: "\f159"; +} +.fa-bitcoin:before, +.fa-btc:before { + content: "\f15a"; +} +.fa-file:before { + content: "\f15b"; +} +.fa-file-text:before { + content: "\f15c"; +} +.fa-sort-alpha-asc:before { + content: "\f15d"; +} +.fa-sort-alpha-desc:before { + content: "\f15e"; +} +.fa-sort-amount-asc:before { + content: "\f160"; +} +.fa-sort-amount-desc:before { + content: "\f161"; +} +.fa-sort-numeric-asc:before { + content: "\f162"; +} +.fa-sort-numeric-desc:before { + content: "\f163"; +} +.fa-thumbs-up:before { + content: "\f164"; +} +.fa-thumbs-down:before { + content: "\f165"; +} +.fa-youtube-square:before { + content: "\f166"; +} +.fa-youtube:before { + content: "\f167"; +} +.fa-xing:before { + content: "\f168"; +} +.fa-xing-square:before { + content: "\f169"; +} +.fa-youtube-play:before { + content: "\f16a"; +} +.fa-dropbox:before { + content: "\f16b"; +} +.fa-stack-overflow:before { + content: "\f16c"; +} +.fa-instagram:before { + content: "\f16d"; +} +.fa-flickr:before { + content: "\f16e"; +} +.fa-adn:before { + content: "\f170"; +} +.fa-bitbucket:before { + content: "\f171"; +} +.fa-bitbucket-square:before { + content: "\f172"; +} +.fa-tumblr:before { + content: "\f173"; +} +.fa-tumblr-square:before { + content: "\f174"; +} +.fa-long-arrow-down:before { + content: "\f175"; +} +.fa-long-arrow-up:before { + content: "\f176"; +} +.fa-long-arrow-left:before { + content: "\f177"; +} +.fa-long-arrow-right:before { + content: "\f178"; +} +.fa-apple:before { + content: "\f179"; +} +.fa-windows:before { + content: "\f17a"; +} +.fa-android:before { + content: "\f17b"; +} +.fa-linux:before { + content: "\f17c"; +} +.fa-dribbble:before { + content: "\f17d"; +} +.fa-skype:before { + content: "\f17e"; +} +.fa-foursquare:before { + content: "\f180"; +} +.fa-trello:before { + content: "\f181"; +} +.fa-female:before { + content: "\f182"; +} +.fa-male:before { + content: "\f183"; +} +.fa-gittip:before { + content: "\f184"; +} +.fa-sun-o:before { + content: "\f185"; +} +.fa-moon-o:before { + content: "\f186"; +} +.fa-archive:before { + content: "\f187"; +} +.fa-bug:before { + content: "\f188"; +} +.fa-vk:before { + content: "\f189"; +} +.fa-weibo:before { + content: "\f18a"; +} +.fa-renren:before { + content: "\f18b"; +} +.fa-pagelines:before { + content: "\f18c"; +} +.fa-stack-exchange:before { + content: "\f18d"; +} +.fa-arrow-circle-o-right:before { + content: "\f18e"; +} +.fa-arrow-circle-o-left:before { + content: "\f190"; +} +.fa-toggle-left:before, +.fa-caret-square-o-left:before { + content: "\f191"; +} +.fa-dot-circle-o:before { + content: "\f192"; +} +.fa-wheelchair:before { + content: "\f193"; +} +.fa-vimeo-square:before { + content: "\f194"; +} +.fa-turkish-lira:before, +.fa-try:before { + content: "\f195"; +} +.fa-plus-square-o:before { + content: "\f196"; +} +.fa-space-shuttle:before { + content: "\f197"; +} +.fa-slack:before { + content: "\f198"; +} +.fa-envelope-square:before { + content: "\f199"; +} +.fa-wordpress:before { + content: "\f19a"; +} +.fa-openid:before { + content: "\f19b"; +} +.fa-institution:before, +.fa-bank:before, +.fa-university:before { + content: "\f19c"; +} +.fa-mortar-board:before, +.fa-graduation-cap:before { + content: "\f19d"; +} +.fa-yahoo:before { + content: "\f19e"; +} +.fa-google:before { + content: "\f1a0"; +} +.fa-reddit:before { + content: "\f1a1"; +} +.fa-reddit-square:before { + content: "\f1a2"; +} +.fa-stumbleupon-circle:before { + content: "\f1a3"; +} +.fa-stumbleupon:before { + content: "\f1a4"; +} +.fa-delicious:before { + content: "\f1a5"; +} +.fa-digg:before { + content: "\f1a6"; +} +.fa-pied-piper-square:before, +.fa-pied-piper:before { + content: "\f1a7"; +} +.fa-pied-piper-alt:before { + content: "\f1a8"; +} +.fa-drupal:before { + content: "\f1a9"; +} +.fa-joomla:before { + content: "\f1aa"; +} +.fa-language:before { + content: "\f1ab"; +} +.fa-fax:before { + content: "\f1ac"; +} +.fa-building:before { + content: "\f1ad"; +} +.fa-child:before { + content: "\f1ae"; +} +.fa-paw:before { + content: "\f1b0"; +} +.fa-spoon:before { + content: "\f1b1"; +} +.fa-cube:before { + content: "\f1b2"; +} +.fa-cubes:before { + content: "\f1b3"; +} +.fa-behance:before { + content: "\f1b4"; +} +.fa-behance-square:before { + content: "\f1b5"; +} +.fa-steam:before { + content: "\f1b6"; +} +.fa-steam-square:before { + content: "\f1b7"; +} +.fa-recycle:before { + content: "\f1b8"; +} +.fa-automobile:before, +.fa-car:before { + content: "\f1b9"; +} +.fa-cab:before, +.fa-taxi:before { + content: "\f1ba"; +} +.fa-tree:before { + content: "\f1bb"; +} +.fa-spotify:before { + content: "\f1bc"; +} +.fa-deviantart:before { + content: "\f1bd"; +} +.fa-soundcloud:before { + content: "\f1be"; +} +.fa-database:before { + content: "\f1c0"; +} +.fa-file-pdf-o:before { + content: "\f1c1"; +} +.fa-file-word-o:before { + content: "\f1c2"; +} +.fa-file-excel-o:before { + content: "\f1c3"; +} +.fa-file-powerpoint-o:before { + content: "\f1c4"; +} +.fa-file-photo-o:before, +.fa-file-picture-o:before, +.fa-file-image-o:before { + content: "\f1c5"; +} +.fa-file-zip-o:before, +.fa-file-archive-o:before { + content: "\f1c6"; +} +.fa-file-sound-o:before, +.fa-file-audio-o:before { + content: "\f1c7"; +} +.fa-file-movie-o:before, +.fa-file-video-o:before { + content: "\f1c8"; +} +.fa-file-code-o:before { + content: "\f1c9"; +} +.fa-vine:before { + content: "\f1ca"; +} +.fa-codepen:before { + content: "\f1cb"; +} +.fa-jsfiddle:before { + content: "\f1cc"; +} +.fa-life-bouy:before, +.fa-life-saver:before, +.fa-support:before, +.fa-life-ring:before { + content: "\f1cd"; +} +.fa-circle-o-notch:before { + content: "\f1ce"; +} +.fa-ra:before, +.fa-rebel:before { + content: "\f1d0"; +} +.fa-ge:before, +.fa-empire:before { + content: "\f1d1"; +} +.fa-git-square:before { + content: "\f1d2"; +} +.fa-git:before { + content: "\f1d3"; +} +.fa-hacker-news:before { + content: "\f1d4"; +} +.fa-tencent-weibo:before { + content: "\f1d5"; +} +.fa-qq:before { + content: "\f1d6"; +} +.fa-wechat:before, +.fa-weixin:before { + content: "\f1d7"; +} +.fa-send:before, +.fa-paper-plane:before { + content: "\f1d8"; +} +.fa-send-o:before, +.fa-paper-plane-o:before { + content: "\f1d9"; +} +.fa-history:before { + content: "\f1da"; +} +.fa-circle-thin:before { + content: "\f1db"; +} +.fa-header:before { + content: "\f1dc"; +} +.fa-paragraph:before { + content: "\f1dd"; +} +.fa-sliders:before { + content: "\f1de"; +} +.fa-share-alt:before { + content: "\f1e0"; +} +.fa-share-alt-square:before { + content: "\f1e1"; +} +.fa-bomb:before { + content: "\f1e2"; +} diff --git a/SUBMISSION/IGNORAMUS/Doc/css/main.css b/SUBMISSION/IGNORAMUS/Doc/css/main.css index 3961d46..2528093 100644 --- a/SUBMISSION/IGNORAMUS/Doc/css/main.css +++ b/SUBMISSION/IGNORAMUS/Doc/css/main.css @@ -1,36 +1,52 @@ -body{ - background-color:#FFF; - font-family: "Lato", sans-serif; - font-weight: 300; - font-size:16px; - line-height:18px; - color:#777; +body { + background-color: #fff; + font-family: "Lato", sans-serif; + font-weight: 300; + font-size: 16px; + line-height: 18px; + color: #777; } -p{ - margin:0; +p { + margin: 0; } a { - color: #aa0a5f; + color: #aa0a5f; +} + +a, +a:hover, +a:focus { + text-decoration: none; + outline: 0; +} +h1, +h2, +h3, +h4, +h5, +h6 { + color: #333; + margin: 0; + font-weight: normal; } -a, a:hover, a:focus{ - text-decoration: none; - outline: 0; +h1 { + font-size: 28px; } -h1, h2, h3, -h4, h5, h6 { - color: #333; - margin:0; - font-weight: normal; +h2 { + font-size: 24px; +} +h3 { + font-size: 18px; +} +h5 { + font-size: 16px; +} +h6 { + font-size: 14px; } - -h1 { font-size: 28px;} -h2 { font-size: 24px;} -h3 { font-size: 18px;} -h5 { font-size: 16px;} -h6 { font-size: 14px;} strong { letter-spacing: 1px; @@ -46,11 +62,11 @@ code { } code a { - color: #333; + color: #333; } code a:hover { - text-decoration: underline; + text-decoration: underline; } section p { @@ -59,177 +75,162 @@ section p { .clearfix:before, .clearfix:after { - content: " "; - display: table; + content: " "; + display: table; } .clearfix:after { - clear: both; + clear: both; } .clearfix { - *zoom: 1; + *zoom: 1; } .tan { margin-bottom: 10px; } -.fifteen{ - margin-bottom: 15px; +.fifteen { + margin-bottom: 15px; } -.twenty{ - margin-bottom: 20px; +.twenty { + margin-bottom: 20px; } .center { - text-align: center; + text-align: center; } .title { - margin: 50px 0 30px; + margin: 50px 0 30px; } .syntaxhighlighter { - border: 1px solid #efefef; - max-height: 100% !important; - padding: 20px 0; + border: 1px solid #efefef; + max-height: 100% !important; + padding: 20px 0; } - .main-content section { margin: 0 5%; } - .left-sidebar { - background-color: #015360; - float: left; - min-height: 100%; - position: fixed; - width: 18%; + background-color: #015360; + float: left; + min-height: 100%; + position: fixed; + width: 18%; } .logo { - padding-bottom: 30px; - padding-left: 30px; - padding-top: 70px; + padding-bottom: 30px; + padding-left: 30px; + padding-top: 70px; } -.logo h1{ - color: #fff; - font-weight: 700; - text-transform: uppercase; +.logo h1 { + color: #fff; + font-weight: 700; + text-transform: uppercase; } .left-nav ul { - margin: 0; - padding: 0; - font-size: 14px; + margin: 0; + padding: 0; + font-size: 14px; } .left-nav ul li a { - color: #fff; - display: block; - padding: 10px 35px; - -webkit-transition: all 0.3s ease-in 0s; - -moz-transition: all 0.3s ease-in 0s; - -ms-transition: all 0.3s ease-in 0s; - -o-transition: all 0.3s ease-in 0s; - transition: all 0.3s ease-in 0s; -} - -.left-nav ul li a:hover, .left-nav ul li .current { - background-color: #fff; - color: #000; + color: #fff; + display: block; + padding: 10px 35px; + -webkit-transition: all 0.3s ease-in 0s; + -moz-transition: all 0.3s ease-in 0s; + -ms-transition: all 0.3s ease-in 0s; + -o-transition: all 0.3s ease-in 0s; + transition: all 0.3s ease-in 0s; +} + +.left-nav ul li a:hover, +.left-nav ul li .current { + background-color: #fff; + color: #000; } - #main-wrapper { - float: left; - margin-left: 18%; - width: 82%; + float: left; + margin-left: 18%; + width: 82%; } .content-header { - border-bottom: 1px solid #ddd; - border-top: 1px solid #ddd; - margin-top: 30px; - padding: 30px 0 35px; - text-align: center; + border-bottom: 1px solid #ddd; + border-top: 1px solid #ddd; + margin-top: 30px; + padding: 30px 0 35px; + text-align: center; } .welcome { - font-size: 16px; - line-height: 26px; - margin: 35px auto 0; + font-size: 16px; + line-height: 26px; + margin: 35px auto 0; } .features { - margin-top: 50px; + margin-top: 50px; } .features ul li { - list-style: square outside none; - margin-bottom: 15px; + list-style: square outside none; + margin-bottom: 15px; } .features > ul { - padding-left: 18px; + padding-left: 18px; } .author { - border-bottom: 1px solid #ddd; - border-top: 1px solid #ddd; - margin-top: 50px; - padding: 30px 0; + border-bottom: 1px solid #ddd; + border-top: 1px solid #ddd; + margin-top: 50px; + padding: 30px 0; } .author-info { - font-size: 18px; - line-height: 28px; - margin: 0 auto; - width: 50%; + font-size: 18px; + line-height: 28px; + margin: 0 auto; + width: 50%; } .section-content { - font-size: 16px; - line-height: 25px; + font-size: 16px; + line-height: 25px; } .section-content li { - margin-bottom: 15px; + margin-bottom: 15px; } .section-content a:hover { - text-decoration: underline; + text-decoration: underline; } .script-source li { - list-style: square outside none; - margin-bottom: 10px; + list-style: square outside none; + margin-bottom: 10px; } #twitter-feed li, #flickr li { - line-height: 25px; - margin-bottom: 10px; + line-height: 25px; + margin-bottom: 10px; } #twitter-feed img { - border: 1px solid #ddd; - box-shadow: 2px 3px 3px #ddd; - height: auto; - margin-top: 10px; - max-width: 100%; + border: 1px solid #ddd; + box-shadow: 2px 3px 3px #ddd; + height: auto; + margin-top: 10px; + max-width: 100%; } - - - - - - - - - - - - - diff --git a/SUBMISSION/IGNORAMUS/Doc/css/normalize.min.css b/SUBMISSION/IGNORAMUS/Doc/css/normalize.min.css index f33b6e9..6274b2a 100644 --- a/SUBMISSION/IGNORAMUS/Doc/css/normalize.min.css +++ b/SUBMISSION/IGNORAMUS/Doc/css/normalize.min.css @@ -1 +1,240 @@ -/*! normalize.css v1.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}html,button,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace,serif;_font-family:'courier new',monospace;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:before,q:after{content:'';content:none}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0} \ No newline at end of file +/*! normalize.css v1.1.3 | MIT License | git.io/normalize */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} +audio, +canvas, +video { + display: inline-block; + *display: inline; + *zoom: 1; +} +audio:not([controls]) { + display: none; + height: 0; +} +[hidden] { + display: none; +} +html { + font-size: 100%; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; +} +html, +button, +input, +select, +textarea { + font-family: sans-serif; +} +body { + margin: 0; +} +a:focus { + outline: thin dotted; +} +a:active, +a:hover { + outline: 0; +} +h1 { + font-size: 2em; + margin: 0.67em 0; +} +h2 { + font-size: 1.5em; + margin: 0.83em 0; +} +h3 { + font-size: 1.17em; + margin: 1em 0; +} +h4 { + font-size: 1em; + margin: 1.33em 0; +} +h5 { + font-size: 0.83em; + margin: 1.67em 0; +} +h6 { + font-size: 0.67em; + margin: 2.33em 0; +} +abbr[title] { + border-bottom: 1px dotted; +} +b, +strong { + font-weight: bold; +} +blockquote { + margin: 1em 40px; +} +dfn { + font-style: italic; +} +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} +mark { + background: #ff0; + color: #000; +} +p, +pre { + margin: 1em 0; +} +code, +kbd, +pre, +samp { + font-family: monospace, serif; + _font-family: "courier new", monospace; + font-size: 1em; +} +pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} +q { + quotes: none; +} +q:before, +q:after { + content: ""; + content: none; +} +small { + font-size: 80%; +} +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} +sup { + top: -0.5em; +} +sub { + bottom: -0.25em; +} +dl, +menu, +ol, +ul { + margin: 1em 0; +} +dd { + margin: 0 0 0 40px; +} +menu, +ol, +ul { + padding: 0 0 0 40px; +} +nav ul, +nav ol { + list-style: none; + list-style-image: none; +} +img { + border: 0; + -ms-interpolation-mode: bicubic; +} +svg:not(:root) { + overflow: hidden; +} +figure { + margin: 0; +} +form { + margin: 0; +} +fieldset { + border: 1px solid silver; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} +legend { + border: 0; + padding: 0; + white-space: normal; + *margin-left: -7px; +} +button, +input, +select, +textarea { + font-size: 100%; + margin: 0; + vertical-align: baseline; + *vertical-align: middle; +} +button, +input { + line-height: normal; +} +button, +select { + text-transform: none; +} +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + cursor: pointer; + *overflow: visible; +} +button[disabled], +html input[disabled] { + cursor: default; +} +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; + padding: 0; + *height: 13px; + *width: 13px; +} +input[type="search"] { + -webkit-appearance: textfield; + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + box-sizing: content-box; +} +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} +textarea { + overflow: auto; + vertical-align: top; +} +table { + border-collapse: collapse; + border-spacing: 0; +} diff --git a/SUBMISSION/IGNORAMUS/Doc/index.html b/SUBMISSION/IGNORAMUS/Doc/index.html index b4e289b..b2673df 100644 --- a/SUBMISSION/IGNORAMUS/Doc/index.html +++ b/SUBMISSION/IGNORAMUS/Doc/index.html @@ -1,86 +1,137 @@ - - - Education - - - - - - - - - - - - - - - - -
    -
    -
    -
    -

    Education

    -
    -
    -

    Welcome To Education

    -

    Firstly, a huge thanks for purchasing this theme, your support is truly appreciated!

    -

    This document covers the installation and use of this theme and often reveals answers to common problems and issues - read this document thoroughly if you are experiencing any difficulties. If you have any questions that are beyond the scope of this document. Thank you so much!

    -
    -
    -

    Template Features

    -
      -
    • Clean & Simple Design
    • -
    • HTML5 & CSS3
    • -
    • Fully Responsive Design
    • -
    • PHP/Ajax Powered Working Contact Form
    • -
    • All files are well commented
    • -
    • Cross Browser Compatible with IE11+, Firefox, Safari, Opera, Chrome
    • -
    • Extensive Documentation
    • -
    -
    -
    -
    -
    -

    Education

    -
    -

    Installing Template.

    -
    -
      -
    1. After unzip the download pack, you'll found a Template Folder with all the files.
    2. -
    3. You can view this Template in any browser, you can display or edit the Template without an internet connection.(May not wotrk fonts and google map).
    4. -
    5. The only section that will not work is the Contact Section which contains PHP code and requires a server environment for send messages.
    6. -
    7. Now go to your cpanel or open your FTP Client (like Filezilla) and upload the content of the Template on your server root.
    8. -
    9. Once the files are done uploading go to www.yourdomainname.com/index.html
    10. -
    -
    -
    -
    -

    Template Structure

    -

    All information within the main content area is nested within a body tag. The general template structure is pretty the same throughout the template. Here is the general structure of main page (index.html).

    -
    +  
    +    
    +    Education
    +    
    +    
    +    
    +    
    +    
    +    
    +    
    +    
    +    
    +    
    +    
    +  
    +
    +  
    +    
    +    
    +    
    +
    +
    +
    +

    Education

    +
    +
    +

    Welcome To Education

    +

    + Firstly, a huge thanks for purchasing this theme, your support is + truly appreciated! +

    +

    + This document covers the installation and use of this theme and + often reveals answers to common problems and issues - read this + document thoroughly if you are experiencing any difficulties. If + you have any questions that are beyond the scope of this document. + Thank you so much! +

    +
    +
    +

    Template Features

    +
      +
    • Clean & Simple Design
    • +
    • HTML5 & CSS3
    • +
    • Fully Responsive Design
    • +
    • PHP/Ajax Powered Working Contact Form
    • +
    • All files are well commented
    • +
    • + Cross Browser Compatible with IE11+, Firefox, Safari, Opera, + Chrome +
    • +
    • Extensive Documentation
    • +
    +
    +
    +
    +
    +

    Education

    +
    +

    Installing Template.

    +
    +
      +
    1. + After unzip the download pack, you'll found a Template Folder + with all the files. +
    2. +
    3. + You can view this Template in any browser, you can display or + edit the Template without an internet connection.(May not wotrk + fonts and google map). +
    4. +
    5. + The only section that will not work is the Contact Section which + contains PHP code and requires a server environment for send + messages. +
    6. +
    7. + Now go to your cpanel or open your FTP Client (like + Filezilla) and upload the content of the Template on your server root. +
    8. +
    9. + Once the files are done uploading go to + www.yourdomainname.com/index.html +
    10. +
    +
    +
    +
    +

    Template Structure

    +

    + All information within the main content area is nested within a body + tag. The general template structure is pretty the same throughout + the template. Here is the general structure of main page + (index.html). +

    +
     
     			
    @@ -91,11 +142,14 @@

    Template Structure

    -
    -
    -

    CSS Files and Structure

    -

    These are the css files that are loaded into templates in Head Section.

    -
    +        
    +
    +

    CSS Files and Structure

    +

    + These are the css files that are loaded into templates in + Head Section. +

    +
     
     		
     
    @@ -114,21 +168,29 @@ 

    CSS Files and Structure

    -

    Google Web Fonts

    -

    By default, the template loads this font from Google Web Font Services, you can change the font with the one that suits you best.

    -
    		                
    +          

    Google Web Fonts

    +

    + By default, the template loads this font from Google Web Font + Services, you can change the font with the one that suits you best. +

    +
    		                
     		
     		
     		 
     
     		
    -

    Remember to change the font into style.css

    -
    -
    -

    Javascript Files and Structure

    -

    These are the list of Javascript files that are loaded into templates in end of the Body Section. -

    +          

    + Remember to change the font into style.css +

    +
    +
    +

    Javascript Files and Structure

    +

    + These are the list of Javascript files that are loaded into + templates in end of the Body Section. +

    +
     
     		
     
    @@ -170,12 +232,16 @@ 

    Javascript Files and Structure

    -
    +
    -
    -

    Contact Form

    -

    This is a PHP Script for sending messages to your email, you should replace demo@site.com to your email to start receive messages.

    -
    +        
    +

    Contact Form

    +

    + This is a PHP Script for sending messages to your email, you should + replace demo@site.com to your email to start + receive messages. +

    +
     				$to = 'demo@site.com'; // replace this mail with yours
     				$firstname = $_POST["fname"];
     				$email= $_POST["email"];
    @@ -196,58 +262,118 @@ 

    Contact Form

    }else{ echo 'failed'; } -
    -
    -
    -

    Subscription Form

    -

    Replace this action with your own mailchimp post URL. Don't remove the "". Just paste the url inside "".

    -
    +		
    +
    +
    +

    Subscription Form

    +

    + Replace this action with your own mailchimp post URL. Don't remove + the "". Just paste the url inside "". +

    +
     			
    //Replace this action with your own mailchimp post URL. Don't remove the "". Just paste the url inside "".
    -
    -
    -
    -

    Video Tutorial

    - -
    - -
    -
    -
    -

    Source and Credit

    - -
    -
    -
    - - +
    + +
    + +
    +

    Source and Credit

    + +
    +
    +
    + + - - - - - - - - - - - + + + + + + + + + + diff --git a/SUBMISSION/IGNORAMUS/Doc/js/custom.js b/SUBMISSION/IGNORAMUS/Doc/js/custom.js index 39658c7..a5d519e 100644 --- a/SUBMISSION/IGNORAMUS/Doc/js/custom.js +++ b/SUBMISSION/IGNORAMUS/Doc/js/custom.js @@ -1,7 +1,5 @@ -$(function() { -"use strict"; - - $('#nav').singlePageNav(); - +$(function () { + "use strict"; -}); \ No newline at end of file + $("#nav").singlePageNav(); +}); diff --git a/SUBMISSION/IGNORAMUS/Doc/js/jquery-1.11.0.min.js b/SUBMISSION/IGNORAMUS/Doc/js/jquery-1.11.0.min.js index 73f33fb..2c6e5d6 100644 --- a/SUBMISSION/IGNORAMUS/Doc/js/jquery-1.11.0.min.js +++ b/SUBMISSION/IGNORAMUS/Doc/js/jquery-1.11.0.min.js @@ -1,4 +1,5813 @@ /*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ -!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k="".trim,l={},m="1.11.0",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(l.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:k&&!k.call("\ufeff\xa0")?function(a){return null==a?"":k.call(a)}:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||n.guid++,e):void 0},now:function(){return+new Date},support:l}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s="sizzle"+-new Date,t=a.document,u=0,v=0,w=eb(),x=eb(),y=eb(),z=function(a,b){return a===b&&(j=!0),0},A="undefined",B=1<<31,C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=D.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",M=L.replace("w","w#"),N="\\["+K+"*("+L+")"+K+"*(?:([*^$|!~]?=)"+K+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+M+")|)|)"+K+"*\\]",O=":("+L+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+N.replace(3,8)+")*)|.*)\\)|)",P=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(O),U=new RegExp("^"+M+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L.replace("w","w*")+")"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=/'|\\/g,ab=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),bb=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{G.apply(D=H.call(t.childNodes),t.childNodes),D[t.childNodes.length].nodeType}catch(cb){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function db(a,b,d,e){var f,g,h,i,j,m,p,q,u,v;if((b?b.ownerDocument||b:t)!==l&&k(b),b=b||l,d=d||[],!a||"string"!=typeof a)return d;if(1!==(i=b.nodeType)&&9!==i)return[];if(n&&!e){if(f=Z.exec(a))if(h=f[1]){if(9===i){if(g=b.getElementById(h),!g||!g.parentNode)return d;if(g.id===h)return d.push(g),d}else if(b.ownerDocument&&(g=b.ownerDocument.getElementById(h))&&r(b,g)&&g.id===h)return d.push(g),d}else{if(f[2])return G.apply(d,b.getElementsByTagName(a)),d;if((h=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(h)),d}if(c.qsa&&(!o||!o.test(a))){if(q=p=s,u=b,v=9===i&&a,1===i&&"object"!==b.nodeName.toLowerCase()){m=ob(a),(p=b.getAttribute("id"))?q=p.replace(_,"\\$&"):b.setAttribute("id",q),q="[id='"+q+"'] ",j=m.length;while(j--)m[j]=q+pb(m[j]);u=$.test(a)&&mb(b.parentNode)||b,v=m.join(",")}if(v)try{return G.apply(d,u.querySelectorAll(v)),d}catch(w){}finally{p||b.removeAttribute("id")}}}return xb(a.replace(P,"$1"),b,d,e)}function eb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function fb(a){return a[s]=!0,a}function gb(a){var b=l.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function hb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function ib(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||B)-(~a.sourceIndex||B);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function jb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function kb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function lb(a){return fb(function(b){return b=+b,fb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function mb(a){return a&&typeof a.getElementsByTagName!==A&&a}c=db.support={},f=db.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},k=db.setDocument=function(a){var b,e=a?a.ownerDocument||a:t,g=e.defaultView;return e!==l&&9===e.nodeType&&e.documentElement?(l=e,m=e.documentElement,n=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){k()},!1):g.attachEvent&&g.attachEvent("onunload",function(){k()})),c.attributes=gb(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=gb(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(e.getElementsByClassName)&&gb(function(a){return a.innerHTML="
    ",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=gb(function(a){return m.appendChild(a).id=s,!e.getElementsByName||!e.getElementsByName(s).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==A&&n){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ab,bb);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ab,bb);return function(a){var c=typeof a.getAttributeNode!==A&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==A?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==A&&n?b.getElementsByClassName(a):void 0},p=[],o=[],(c.qsa=Y.test(e.querySelectorAll))&&(gb(function(a){a.innerHTML="",a.querySelectorAll("[t^='']").length&&o.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||o.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll(":checked").length||o.push(":checked")}),gb(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&o.push("name"+K+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||o.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),o.push(",.*:")})),(c.matchesSelector=Y.test(q=m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&gb(function(a){c.disconnectedMatch=q.call(a,"div"),q.call(a,"[s!='']:x"),p.push("!=",O)}),o=o.length&&new RegExp(o.join("|")),p=p.length&&new RegExp(p.join("|")),b=Y.test(m.compareDocumentPosition),r=b||Y.test(m.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},z=b?function(a,b){if(a===b)return j=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===t&&r(t,a)?-1:b===e||b.ownerDocument===t&&r(t,b)?1:i?I.call(i,a)-I.call(i,b):0:4&d?-1:1)}:function(a,b){if(a===b)return j=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],k=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:i?I.call(i,a)-I.call(i,b):0;if(f===g)return ib(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)k.unshift(c);while(h[d]===k[d])d++;return d?ib(h[d],k[d]):h[d]===t?-1:k[d]===t?1:0},e):l},db.matches=function(a,b){return db(a,null,null,b)},db.matchesSelector=function(a,b){if((a.ownerDocument||a)!==l&&k(a),b=b.replace(S,"='$1']"),!(!c.matchesSelector||!n||p&&p.test(b)||o&&o.test(b)))try{var d=q.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return db(b,l,null,[a]).length>0},db.contains=function(a,b){return(a.ownerDocument||a)!==l&&k(a),r(a,b)},db.attr=function(a,b){(a.ownerDocument||a)!==l&&k(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!n):void 0;return void 0!==f?f:c.attributes||!n?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},db.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},db.uniqueSort=function(a){var b,d=[],e=0,f=0;if(j=!c.detectDuplicates,i=!c.sortStable&&a.slice(0),a.sort(z),j){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return i=null,a},e=db.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=db.selectors={cacheLength:50,createPseudo:fb,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ab,bb),a[3]=(a[4]||a[5]||"").replace(ab,bb),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||db.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&db.error(a[0]),a},PSEUDO:function(a){var b,c=!a[5]&&a[2];return V.CHILD.test(a[0])?null:(a[3]&&void 0!==a[4]?a[2]=a[4]:c&&T.test(c)&&(b=ob(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ab,bb).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=w[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&w(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==A&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=db.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),t=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&t){k=q[s]||(q[s]={}),j=k[a]||[],n=j[0]===u&&j[1],m=j[0]===u&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[u,n,m];break}}else if(t&&(j=(b[s]||(b[s]={}))[a])&&j[0]===u)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(t&&((l[s]||(l[s]={}))[a]=[u,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||db.error("unsupported pseudo: "+a);return e[s]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?fb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:fb(function(a){var b=[],c=[],d=g(a.replace(P,"$1"));return d[s]?fb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:fb(function(a){return function(b){return db(a,b).length>0}}),contains:fb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:fb(function(a){return U.test(a||"")||db.error("unsupported lang: "+a),a=a.replace(ab,bb).toLowerCase(),function(b){var c;do if(c=n?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===m},focus:function(a){return a===l.activeElement&&(!l.hasFocus||l.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:lb(function(){return[0]}),last:lb(function(a,b){return[b-1]}),eq:lb(function(a,b,c){return[0>c?c+b:c]}),even:lb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:lb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:lb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:lb(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function qb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=v++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[u,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[s]||(b[s]={}),(h=i[d])&&h[0]===u&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function rb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function sb(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function tb(a,b,c,d,e,f){return d&&!d[s]&&(d=tb(d)),e&&!e[s]&&(e=tb(e,f)),fb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||wb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:sb(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=sb(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=sb(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ub(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],i=g||d.relative[" "],j=g?1:0,k=qb(function(a){return a===b},i,!0),l=qb(function(a){return I.call(b,a)>-1},i,!0),m=[function(a,c,d){return!g&&(d||c!==h)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>j;j++)if(c=d.relative[a[j].type])m=[qb(rb(m),c)];else{if(c=d.filter[a[j].type].apply(null,a[j].matches),c[s]){for(e=++j;f>e;e++)if(d.relative[a[e].type])break;return tb(j>1&&rb(m),j>1&&pb(a.slice(0,j-1).concat({value:" "===a[j-2].type?"*":""})).replace(P,"$1"),c,e>j&&ub(a.slice(j,e)),f>e&&ub(a=a.slice(e)),f>e&&pb(a))}m.push(c)}return rb(m)}function vb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,i,j,k){var m,n,o,p=0,q="0",r=f&&[],s=[],t=h,v=f||e&&d.find.TAG("*",k),w=u+=null==t?1:Math.random()||.1,x=v.length;for(k&&(h=g!==l&&g);q!==x&&null!=(m=v[q]);q++){if(e&&m){n=0;while(o=a[n++])if(o(m,g,i)){j.push(m);break}k&&(u=w)}c&&((m=!o&&m)&&p--,f&&r.push(m))}if(p+=q,c&&q!==p){n=0;while(o=b[n++])o(r,s,g,i);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=E.call(j));s=sb(s)}G.apply(j,s),k&&!f&&s.length>0&&p+b.length>1&&db.uniqueSort(j)}return k&&(u=w,h=t),r};return c?fb(f):f}g=db.compile=function(a,b){var c,d=[],e=[],f=y[a+" "];if(!f){b||(b=ob(a)),c=b.length;while(c--)f=ub(b[c]),f[s]?d.push(f):e.push(f);f=y(a,vb(e,d))}return f};function wb(a,b,c){for(var d=0,e=b.length;e>d;d++)db(a,b[d],c);return c}function xb(a,b,e,f){var h,i,j,k,l,m=ob(a);if(!f&&1===m.length){if(i=m[0]=m[0].slice(0),i.length>2&&"ID"===(j=i[0]).type&&c.getById&&9===b.nodeType&&n&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(ab,bb),b)||[])[0],!b)return e;a=a.slice(i.shift().value.length)}h=V.needsContext.test(a)?0:i.length;while(h--){if(j=i[h],d.relative[k=j.type])break;if((l=d.find[k])&&(f=l(j.matches[0].replace(ab,bb),$.test(i[0].type)&&mb(b.parentNode)||b))){if(i.splice(h,1),a=f.length&&pb(i),!a)return G.apply(e,f),e;break}}}return g(a,m)(f,b,!n,e,$.test(a)&&mb(b.parentNode)||b),e}return c.sortStable=s.split("").sort(z).join("")===s,c.detectDuplicates=!!j,k(),c.sortDetached=gb(function(a){return 1&a.compareDocumentPosition(l.createElement("div"))}),gb(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||hb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&gb(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||hb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),gb(function(a){return null==a.getAttribute("disabled")})||hb(J,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),db}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=a.document,A=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,B=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:A.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:z,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=z.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return y.find(a);this.length=1,this[0]=d}return this.context=z,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};B.prototype=n.fn,y=n(z);var C=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!n(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function E(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return E(a,"nextSibling")},prev:function(a){return E(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return n.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(D[a]||(e=n.unique(e)),C.test(a)&&(e=e.reverse())),this.pushStack(e)}});var F=/\S+/g,G={};function H(a){var b=G[a]={};return n.each(a.match(F)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?G[a]||H(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&n.each(arguments,function(a,c){var d;while((d=n.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){if(a===!0?!--n.readyWait:!n.isReady){if(!z.body)return setTimeout(n.ready);n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(z,[n]),n.fn.trigger&&n(z).trigger("ready").off("ready"))}}});function J(){z.addEventListener?(z.removeEventListener("DOMContentLoaded",K,!1),a.removeEventListener("load",K,!1)):(z.detachEvent("onreadystatechange",K),a.detachEvent("onload",K))}function K(){(z.addEventListener||"load"===event.type||"complete"===z.readyState)&&(J(),n.ready())}n.ready.promise=function(b){if(!I)if(I=n.Deferred(),"complete"===z.readyState)setTimeout(n.ready);else if(z.addEventListener)z.addEventListener("DOMContentLoaded",K,!1),a.addEventListener("load",K,!1);else{z.attachEvent("onreadystatechange",K),a.attachEvent("onload",K);var c=!1;try{c=null==a.frameElement&&z.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!n.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}J(),n.ready()}}()}return I.promise(b)};var L="undefined",M;for(M in n(l))break;l.ownLast="0"!==M,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c=z.getElementsByTagName("body")[0];c&&(a=z.createElement("div"),a.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",b=z.createElement("div"),c.appendChild(a).appendChild(b),typeof b.style.zoom!==L&&(b.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1",(l.inlineBlockNeedsLayout=3===b.offsetWidth)&&(c.style.zoom=1)),c.removeChild(a),a=b=null)}),function(){var a=z.createElement("div");if(null==l.deleteExpando){l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}}a=null}(),n.acceptData=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(O,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}n.data(a,b,c)}else c=void 0}return c}function Q(a){var b;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function R(a,b,d,e){if(n.acceptData(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[n.camelCase(b)])):f=g,f -}}function S(a,b,c){if(n.acceptData(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?n.cache[a[n.expando]]:a[n.expando],!!a&&!Q(a)},data:function(a,b,c){return R(a,b,c)},removeData:function(a,b){return S(a,b)},_data:function(a,b,c){return R(a,b,c,!0)},_removeData:function(a,b){return S(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,"parsedAttrs"))){c=g.length;while(c--)d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d]));n._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?P(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks("once memory").add(function(){n._removeData(a,b+"queue"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},X=/^(?:checkbox|radio)$/i;!function(){var a=z.createDocumentFragment(),b=z.createElement("div"),c=z.createElement("input");if(b.setAttribute("className","t"),b.innerHTML="
    a",l.leadingWhitespace=3===b.firstChild.nodeType,l.tbody=!b.getElementsByTagName("tbody").length,l.htmlSerialize=!!b.getElementsByTagName("link").length,l.html5Clone="<:nav>"!==z.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,a.appendChild(c),l.appendChecked=c.checked,b.innerHTML="",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,a.appendChild(b),b.innerHTML="",l.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){l.noCloneEvent=!1}),b.cloneNode(!0).click()),null==l.deleteExpando){l.deleteExpando=!0;try{delete b.test}catch(d){l.deleteExpando=!1}}a=b=c=null}(),function(){var b,c,d=z.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),l[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var Y=/^(?:input|select|textarea)$/i,Z=/^key/,$=/^(?:mouse|contextmenu)|click/,_=/^(?:focusinfocus|focusoutblur)$/,ab=/^([^.]*)(?:\.(.+)|)$/;function bb(){return!0}function cb(){return!1}function db(){try{return z.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof n===L||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(F)||[""],h=b.length;while(h--)f=ab.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(F)||[""],j=b.length;while(j--)if(h=ab.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,m,o=[d||z],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||z,3!==d.nodeType&&8!==d.nodeType&&!_.test(p+n.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[n.expando]?b:new n.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),k=n.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!n.isWindow(d)){for(i=k.delegateType||p,_.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||z)&&o.push(l.defaultView||l.parentWindow||a)}m=0;while((h=o[m++])&&!b.isPropagationStopped())b.type=m>1?i:k.bindType||p,f=(n._data(h,"events")||{})[b.type]&&n._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&n.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&n.acceptData(d)&&g&&d[p]&&!n.isWindow(d)){l=d[g],l&&(d[g]=null),n.event.triggered=p;try{d[p]()}catch(r){}n.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((n.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?n(c,this).index(i)>=0:n.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),ib=/^\s+/,jb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,kb=/<([\w:]+)/,lb=/\s*$/g,sb={option:[1,""],legend:[1,"
    ","
    "],area:[1,"",""],param:[1,"",""],thead:[1,"","
    "],tr:[2,"","
    "],col:[2,"","
    "],td:[3,"","
    "],_default:l.htmlSerialize?[0,"",""]:[1,"X
    ","
    "]},tb=eb(z),ub=tb.appendChild(z.createElement("div"));sb.optgroup=sb.option,sb.tbody=sb.tfoot=sb.colgroup=sb.caption=sb.thead,sb.th=sb.td;function vb(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==L?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==L?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,vb(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function wb(a){X.test(a.type)&&(a.defaultChecked=a.checked)}function xb(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function yb(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function zb(a){var b=qb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ab(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}function Bb(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Cb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(yb(b).text=a.text,zb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&X.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}n.extend({clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!hb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(ub.innerHTML=a.outerHTML,ub.removeChild(f=ub.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=vb(f),h=vb(a),g=0;null!=(e=h[g]);++g)d[g]&&Cb(e,d[g]);if(b)if(c)for(h=h||vb(a),d=d||vb(f),g=0;null!=(e=h[g]);g++)Bb(e,d[g]);else Bb(a,f);return d=vb(f,"script"),d.length>0&&Ab(d,!i&&vb(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k,m=a.length,o=eb(b),p=[],q=0;m>q;q++)if(f=a[q],f||0===f)if("object"===n.type(f))n.merge(p,f.nodeType?[f]:f);else if(mb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(kb.exec(f)||["",""])[1].toLowerCase(),k=sb[i]||sb._default,h.innerHTML=k[1]+f.replace(jb,"<$1>")+k[2],e=k[0];while(e--)h=h.lastChild;if(!l.leadingWhitespace&&ib.test(f)&&p.push(b.createTextNode(ib.exec(f)[0])),!l.tbody){f="table"!==i||lb.test(f)?""!==k[1]||lb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)n.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}n.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),l.appendChecked||n.grep(vb(p,"input"),wb),q=0;while(f=p[q++])if((!d||-1===n.inArray(f,d))&&(g=n.contains(f.ownerDocument,f),h=vb(o.appendChild(f),"script"),g&&Ab(h),c)){e=0;while(f=h[e++])pb.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.deleteExpando,m=n.event.special;null!=(d=a[h]);h++)if((b||n.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k?delete d[i]:typeof d.removeAttribute!==L?d.removeAttribute(i):d[i]=null,c.push(f))}}}),n.fn.extend({text:function(a){return W(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||z).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=xb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=xb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(vb(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&Ab(vb(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(vb(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return W(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(gb,""):void 0;if(!("string"!=typeof a||nb.test(a)||!l.htmlSerialize&&hb.test(a)||!l.leadingWhitespace&&ib.test(a)||sb[(kb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(jb,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(vb(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(vb(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,k=this.length,m=this,o=k-1,p=a[0],q=n.isFunction(p);if(q||k>1&&"string"==typeof p&&!l.checkClone&&ob.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(k&&(i=n.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=n.map(vb(i,"script"),yb),f=g.length;k>j;j++)d=i,j!==o&&(d=n.clone(d,!0,!0),f&&n.merge(g,vb(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,n.map(g,zb),j=0;f>j;j++)d=g[j],pb.test(d.type||"")&&!n._data(d,"globalEval")&&n.contains(h,d)&&(d.src?n._evalUrl&&n._evalUrl(d.src):n.globalEval((d.text||d.textContent||d.innerHTML||"").replace(rb,"")));i=c=null}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],g=n(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Db,Eb={};function Fb(b,c){var d=n(c.createElement(b)).appendTo(c.body),e=a.getDefaultComputedStyle?a.getDefaultComputedStyle(d[0]).display:n.css(d[0],"display");return d.detach(),e}function Gb(a){var b=z,c=Eb[a];return c||(c=Fb(a,b),"none"!==c&&c||(Db=(Db||n("',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()}); \ No newline at end of file + * http://dimsemenov.com/plugins/magnific-popup/ + * Copyright (c) 2016 Dmitry Semenov; */ +!(function (a) { + "function" == typeof define && define.amd + ? define(["jquery"], a) + : a( + "object" == typeof exports + ? require("jquery") + : window.jQuery || window.Zepto + ); +})(function (a) { + var b, + c, + d, + e, + f, + g, + h = "Close", + i = "BeforeClose", + j = "AfterClose", + k = "BeforeAppend", + l = "MarkupParse", + m = "Open", + n = "Change", + o = "mfp", + p = "." + o, + q = "mfp-ready", + r = "mfp-removing", + s = "mfp-prevent-close", + t = function () {}, + u = !!window.jQuery, + v = a(window), + w = function (a, c) { + b.ev.on(o + a + p, c); + }, + x = function (b, c, d, e) { + var f = document.createElement("div"); + return ( + (f.className = "mfp-" + b), + d && (f.innerHTML = d), + e ? c && c.appendChild(f) : ((f = a(f)), c && f.appendTo(c)), + f + ); + }, + y = function (c, d) { + b.ev.triggerHandler(o + c, d), + b.st.callbacks && + ((c = c.charAt(0).toLowerCase() + c.slice(1)), + b.st.callbacks[c] && + b.st.callbacks[c].apply(b, a.isArray(d) ? d : [d])); + }, + z = function (c) { + return ( + (c === g && b.currTemplate.closeBtn) || + ((b.currTemplate.closeBtn = a( + b.st.closeMarkup.replace("%title%", b.st.tClose) + )), + (g = c)), + b.currTemplate.closeBtn + ); + }, + A = function () { + a.magnificPopup.instance || + ((b = new t()), b.init(), (a.magnificPopup.instance = b)); + }, + B = function () { + var a = document.createElement("p").style, + b = ["ms", "O", "Moz", "Webkit"]; + if (void 0 !== a.transition) return !0; + for (; b.length; ) if (b.pop() + "Transition" in a) return !0; + return !1; + }; + (t.prototype = { + constructor: t, + init: function () { + var c = navigator.appVersion; + (b.isLowIE = b.isIE8 = document.all && !document.addEventListener), + (b.isAndroid = /android/gi.test(c)), + (b.isIOS = /iphone|ipad|ipod/gi.test(c)), + (b.supportsTransition = B()), + (b.probablyMobile = + b.isAndroid || + b.isIOS || + /(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test( + navigator.userAgent + )), + (d = a(document)), + (b.popupsCache = {}); + }, + open: function (c) { + var e; + if (c.isObj === !1) { + (b.items = c.items.toArray()), (b.index = 0); + var g, + h = c.items; + for (e = 0; e < h.length; e++) + if (((g = h[e]), g.parsed && (g = g.el[0]), g === c.el[0])) { + b.index = e; + break; + } + } else + (b.items = a.isArray(c.items) ? c.items : [c.items]), + (b.index = c.index || 0); + if (b.isOpen) return void b.updateItemHTML(); + (b.types = []), + (f = ""), + c.mainEl && c.mainEl.length ? (b.ev = c.mainEl.eq(0)) : (b.ev = d), + c.key + ? (b.popupsCache[c.key] || (b.popupsCache[c.key] = {}), + (b.currTemplate = b.popupsCache[c.key])) + : (b.currTemplate = {}), + (b.st = a.extend(!0, {}, a.magnificPopup.defaults, c)), + (b.fixedContentPos = + "auto" === b.st.fixedContentPos + ? !b.probablyMobile + : b.st.fixedContentPos), + b.st.modal && + ((b.st.closeOnContentClick = !1), + (b.st.closeOnBgClick = !1), + (b.st.showCloseBtn = !1), + (b.st.enableEscapeKey = !1)), + b.bgOverlay || + ((b.bgOverlay = x("bg").on("click" + p, function () { + b.close(); + })), + (b.wrap = x("wrap") + .attr("tabindex", -1) + .on("click" + p, function (a) { + b._checkIfClose(a.target) && b.close(); + })), + (b.container = x("container", b.wrap))), + (b.contentContainer = x("content")), + b.st.preloader && + (b.preloader = x("preloader", b.container, b.st.tLoading)); + var i = a.magnificPopup.modules; + for (e = 0; e < i.length; e++) { + var j = i[e]; + (j = j.charAt(0).toUpperCase() + j.slice(1)), b["init" + j].call(b); + } + y("BeforeOpen"), + b.st.showCloseBtn && + (b.st.closeBtnInside + ? (w(l, function (a, b, c, d) { + c.close_replaceWith = z(d.type); + }), + (f += " mfp-close-btn-in")) + : b.wrap.append(z())), + b.st.alignTop && (f += " mfp-align-top"), + b.fixedContentPos + ? b.wrap.css({ + overflow: b.st.overflowY, + overflowX: "hidden", + overflowY: b.st.overflowY, + }) + : b.wrap.css({ top: v.scrollTop(), position: "absolute" }), + (b.st.fixedBgPos === !1 || + ("auto" === b.st.fixedBgPos && !b.fixedContentPos)) && + b.bgOverlay.css({ height: d.height(), position: "absolute" }), + b.st.enableEscapeKey && + d.on("keyup" + p, function (a) { + 27 === a.keyCode && b.close(); + }), + v.on("resize" + p, function () { + b.updateSize(); + }), + b.st.closeOnContentClick || (f += " mfp-auto-cursor"), + f && b.wrap.addClass(f); + var k = (b.wH = v.height()), + n = {}; + if (b.fixedContentPos && b._hasScrollBar(k)) { + var o = b._getScrollbarSize(); + o && (n.marginRight = o); + } + b.fixedContentPos && + (b.isIE7 + ? a("body, html").css("overflow", "hidden") + : (n.overflow = "hidden")); + var r = b.st.mainClass; + return ( + b.isIE7 && (r += " mfp-ie7"), + r && b._addClassToMFP(r), + b.updateItemHTML(), + y("BuildControls"), + a("html").css(n), + b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo || a(document.body)), + (b._lastFocusedEl = document.activeElement), + setTimeout(function () { + b.content + ? (b._addClassToMFP(q), b._setFocus()) + : b.bgOverlay.addClass(q), + d.on("focusin" + p, b._onFocusIn); + }, 16), + (b.isOpen = !0), + b.updateSize(k), + y(m), + c + ); + }, + close: function () { + b.isOpen && + (y(i), + (b.isOpen = !1), + b.st.removalDelay && !b.isLowIE && b.supportsTransition + ? (b._addClassToMFP(r), + setTimeout(function () { + b._close(); + }, b.st.removalDelay)) + : b._close()); + }, + _close: function () { + y(h); + var c = r + " " + q + " "; + if ( + (b.bgOverlay.detach(), + b.wrap.detach(), + b.container.empty(), + b.st.mainClass && (c += b.st.mainClass + " "), + b._removeClassFromMFP(c), + b.fixedContentPos) + ) { + var e = { marginRight: "" }; + b.isIE7 ? a("body, html").css("overflow", "") : (e.overflow = ""), + a("html").css(e); + } + d.off("keyup" + p + " focusin" + p), + b.ev.off(p), + b.wrap.attr("class", "mfp-wrap").removeAttr("style"), + b.bgOverlay.attr("class", "mfp-bg"), + b.container.attr("class", "mfp-container"), + !b.st.showCloseBtn || + (b.st.closeBtnInside && b.currTemplate[b.currItem.type] !== !0) || + (b.currTemplate.closeBtn && b.currTemplate.closeBtn.detach()), + b.st.autoFocusLast && b._lastFocusedEl && a(b._lastFocusedEl).focus(), + (b.currItem = null), + (b.content = null), + (b.currTemplate = null), + (b.prevHeight = 0), + y(j); + }, + updateSize: function (a) { + if (b.isIOS) { + var c = document.documentElement.clientWidth / window.innerWidth, + d = window.innerHeight * c; + b.wrap.css("height", d), (b.wH = d); + } else b.wH = a || v.height(); + b.fixedContentPos || b.wrap.css("height", b.wH), y("Resize"); + }, + updateItemHTML: function () { + var c = b.items[b.index]; + b.contentContainer.detach(), + b.content && b.content.detach(), + c.parsed || (c = b.parseEl(b.index)); + var d = c.type; + if ( + (y("BeforeChange", [b.currItem ? b.currItem.type : "", d]), + (b.currItem = c), + !b.currTemplate[d]) + ) { + var f = b.st[d] ? b.st[d].markup : !1; + y("FirstMarkupParse", f), + f ? (b.currTemplate[d] = a(f)) : (b.currTemplate[d] = !0); + } + e && e !== c.type && b.container.removeClass("mfp-" + e + "-holder"); + var g = b["get" + d.charAt(0).toUpperCase() + d.slice(1)]( + c, + b.currTemplate[d] + ); + b.appendContent(g, d), + (c.preloaded = !0), + y(n, c), + (e = c.type), + b.container.prepend(b.contentContainer), + y("AfterChange"); + }, + appendContent: function (a, c) { + (b.content = a), + a + ? b.st.showCloseBtn && b.st.closeBtnInside && b.currTemplate[c] === !0 + ? b.content.find(".mfp-close").length || b.content.append(z()) + : (b.content = a) + : (b.content = ""), + y(k), + b.container.addClass("mfp-" + c + "-holder"), + b.contentContainer.append(b.content); + }, + parseEl: function (c) { + var d, + e = b.items[c]; + if ( + (e.tagName + ? (e = { el: a(e) }) + : ((d = e.type), (e = { data: e, src: e.src })), + e.el) + ) { + for (var f = b.types, g = 0; g < f.length; g++) + if (e.el.hasClass("mfp-" + f[g])) { + d = f[g]; + break; + } + (e.src = e.el.attr("data-mfp-src")), + e.src || (e.src = e.el.attr("href")); + } + return ( + (e.type = d || b.st.type || "inline"), + (e.index = c), + (e.parsed = !0), + (b.items[c] = e), + y("ElementParse", e), + b.items[c] + ); + }, + addGroup: function (a, c) { + var d = function (d) { + (d.mfpEl = this), b._openClick(d, a, c); + }; + c || (c = {}); + var e = "click.magnificPopup"; + (c.mainEl = a), + c.items + ? ((c.isObj = !0), a.off(e).on(e, d)) + : ((c.isObj = !1), + c.delegate + ? a.off(e).on(e, c.delegate, d) + : ((c.items = a), a.off(e).on(e, d))); + }, + _openClick: function (c, d, e) { + var f = + void 0 !== e.midClick ? e.midClick : a.magnificPopup.defaults.midClick; + if ( + f || + !(2 === c.which || c.ctrlKey || c.metaKey || c.altKey || c.shiftKey) + ) { + var g = + void 0 !== e.disableOn + ? e.disableOn + : a.magnificPopup.defaults.disableOn; + if (g) + if (a.isFunction(g)) { + if (!g.call(b)) return !0; + } else if (v.width() < g) return !0; + c.type && (c.preventDefault(), b.isOpen && c.stopPropagation()), + (e.el = a(c.mfpEl)), + e.delegate && (e.items = d.find(e.delegate)), + b.open(e); + } + }, + updateStatus: function (a, d) { + if (b.preloader) { + c !== a && b.container.removeClass("mfp-s-" + c), + d || "loading" !== a || (d = b.st.tLoading); + var e = { status: a, text: d }; + y("UpdateStatus", e), + (a = e.status), + (d = e.text), + b.preloader.html(d), + b.preloader.find("a").on("click", function (a) { + a.stopImmediatePropagation(); + }), + b.container.addClass("mfp-s-" + a), + (c = a); + } + }, + _checkIfClose: function (c) { + if (!a(c).hasClass(s)) { + var d = b.st.closeOnContentClick, + e = b.st.closeOnBgClick; + if (d && e) return !0; + if ( + !b.content || + a(c).hasClass("mfp-close") || + (b.preloader && c === b.preloader[0]) + ) + return !0; + if (c === b.content[0] || a.contains(b.content[0], c)) { + if (d) return !0; + } else if (e && a.contains(document, c)) return !0; + return !1; + } + }, + _addClassToMFP: function (a) { + b.bgOverlay.addClass(a), b.wrap.addClass(a); + }, + _removeClassFromMFP: function (a) { + this.bgOverlay.removeClass(a), b.wrap.removeClass(a); + }, + _hasScrollBar: function (a) { + return ( + (b.isIE7 ? d.height() : document.body.scrollHeight) > (a || v.height()) + ); + }, + _setFocus: function () { + (b.st.focus ? b.content.find(b.st.focus).eq(0) : b.wrap).focus(); + }, + _onFocusIn: function (c) { + return c.target === b.wrap[0] || a.contains(b.wrap[0], c.target) + ? void 0 + : (b._setFocus(), !1); + }, + _parseMarkup: function (b, c, d) { + var e; + d.data && (c = a.extend(d.data, c)), + y(l, [b, c, d]), + a.each(c, function (c, d) { + if (void 0 === d || d === !1) return !0; + if (((e = c.split("_")), e.length > 1)) { + var f = b.find(p + "-" + e[0]); + if (f.length > 0) { + var g = e[1]; + "replaceWith" === g + ? f[0] !== d[0] && f.replaceWith(d) + : "img" === g + ? f.is("img") + ? f.attr("src", d) + : f.replaceWith( + a("").attr("src", d).attr("class", f.attr("class")) + ) + : f.attr(e[1], d); + } + } else b.find(p + "-" + c).html(d); + }); + }, + _getScrollbarSize: function () { + if (void 0 === b.scrollbarSize) { + var a = document.createElement("div"); + (a.style.cssText = + "width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;"), + document.body.appendChild(a), + (b.scrollbarSize = a.offsetWidth - a.clientWidth), + document.body.removeChild(a); + } + return b.scrollbarSize; + }, + }), + (a.magnificPopup = { + instance: null, + proto: t.prototype, + modules: [], + open: function (b, c) { + return ( + A(), + (b = b ? a.extend(!0, {}, b) : {}), + (b.isObj = !0), + (b.index = c || 0), + this.instance.open(b) + ); + }, + close: function () { + return a.magnificPopup.instance && a.magnificPopup.instance.close(); + }, + registerModule: function (b, c) { + c.options && (a.magnificPopup.defaults[b] = c.options), + a.extend(this.proto, c.proto), + this.modules.push(b); + }, + defaults: { + disableOn: 0, + key: null, + midClick: !1, + mainClass: "", + preloader: !0, + focus: "", + closeOnContentClick: !1, + closeOnBgClick: !0, + closeBtnInside: !0, + showCloseBtn: !0, + enableEscapeKey: !0, + modal: !1, + alignTop: !1, + removalDelay: 0, + prependTo: null, + fixedContentPos: "auto", + fixedBgPos: "auto", + overflowY: "auto", + closeMarkup: + '', + tClose: "Close (Esc)", + tLoading: "Loading...", + autoFocusLast: !0, + }, + }), + (a.fn.magnificPopup = function (c) { + A(); + var d = a(this); + if ("string" == typeof c) + if ("open" === c) { + var e, + f = u ? d.data("magnificPopup") : d[0].magnificPopup, + g = parseInt(arguments[1], 10) || 0; + f.items + ? (e = f.items[g]) + : ((e = d), f.delegate && (e = e.find(f.delegate)), (e = e.eq(g))), + b._openClick({ mfpEl: e }, d, f); + } else + b.isOpen && b[c].apply(b, Array.prototype.slice.call(arguments, 1)); + else + (c = a.extend(!0, {}, c)), + u ? d.data("magnificPopup", c) : (d[0].magnificPopup = c), + b.addGroup(d, c); + return d; + }); + var C, + D, + E, + F = "inline", + G = function () { + E && (D.after(E.addClass(C)).detach(), (E = null)); + }; + a.magnificPopup.registerModule(F, { + options: { + hiddenClass: "hide", + markup: "", + tNotFound: "Content not found", + }, + proto: { + initInline: function () { + b.types.push(F), + w(h + "." + F, function () { + G(); + }); + }, + getInline: function (c, d) { + if ((G(), c.src)) { + var e = b.st.inline, + f = a(c.src); + if (f.length) { + var g = f[0].parentNode; + g && + g.tagName && + (D || ((C = e.hiddenClass), (D = x(C)), (C = "mfp-" + C)), + (E = f.after(D).detach().removeClass(C))), + b.updateStatus("ready"); + } else b.updateStatus("error", e.tNotFound), (f = a("
    ")); + return (c.inlineElement = f), f; + } + return b.updateStatus("ready"), b._parseMarkup(d, {}, c), d; + }, + }, + }); + var H, + I = "ajax", + J = function () { + H && a(document.body).removeClass(H); + }, + K = function () { + J(), b.req && b.req.abort(); + }; + a.magnificPopup.registerModule(I, { + options: { + settings: null, + cursor: "mfp-ajax-cur", + tError: 'The content could not be loaded.', + }, + proto: { + initAjax: function () { + b.types.push(I), + (H = b.st.ajax.cursor), + w(h + "." + I, K), + w("BeforeChange." + I, K); + }, + getAjax: function (c) { + H && a(document.body).addClass(H), b.updateStatus("loading"); + var d = a.extend( + { + url: c.src, + success: function (d, e, f) { + var g = { data: d, xhr: f }; + y("ParseAjax", g), + b.appendContent(a(g.data), I), + (c.finished = !0), + J(), + b._setFocus(), + setTimeout(function () { + b.wrap.addClass(q); + }, 16), + b.updateStatus("ready"), + y("AjaxContentAdded"); + }, + error: function () { + J(), + (c.finished = c.loadError = !0), + b.updateStatus( + "error", + b.st.ajax.tError.replace("%url%", c.src) + ); + }, + }, + b.st.ajax.settings + ); + return (b.req = a.ajax(d)), ""; + }, + }, + }); + var L, + M = function (c) { + if (c.data && void 0 !== c.data.title) return c.data.title; + var d = b.st.image.titleSrc; + if (d) { + if (a.isFunction(d)) return d.call(b, c); + if (c.el) return c.el.attr(d) || ""; + } + return ""; + }; + a.magnificPopup.registerModule("image", { + options: { + markup: + '
    ', + cursor: "mfp-zoom-out-cur", + titleSrc: "title", + verticalFit: !0, + tError: 'The image could not be loaded.', + }, + proto: { + initImage: function () { + var c = b.st.image, + d = ".image"; + b.types.push("image"), + w(m + d, function () { + "image" === b.currItem.type && + c.cursor && + a(document.body).addClass(c.cursor); + }), + w(h + d, function () { + c.cursor && a(document.body).removeClass(c.cursor), + v.off("resize" + p); + }), + w("Resize" + d, b.resizeImage), + b.isLowIE && w("AfterChange", b.resizeImage); + }, + resizeImage: function () { + var a = b.currItem; + if (a && a.img && b.st.image.verticalFit) { + var c = 0; + b.isLowIE && + (c = + parseInt(a.img.css("padding-top"), 10) + + parseInt(a.img.css("padding-bottom"), 10)), + a.img.css("max-height", b.wH - c); + } + }, + _onImageHasSize: function (a) { + a.img && + ((a.hasSize = !0), + L && clearInterval(L), + (a.isCheckingImgSize = !1), + y("ImageHasSize", a), + a.imgHidden && + (b.content && b.content.removeClass("mfp-loading"), + (a.imgHidden = !1))); + }, + findImageSize: function (a) { + var c = 0, + d = a.img[0], + e = function (f) { + L && clearInterval(L), + (L = setInterval(function () { + return d.naturalWidth > 0 + ? void b._onImageHasSize(a) + : (c > 200 && clearInterval(L), + c++, + void (3 === c + ? e(10) + : 40 === c + ? e(50) + : 100 === c && e(500))); + }, f)); + }; + e(1); + }, + getImage: function (c, d) { + var e = 0, + f = function () { + c && + (c.img[0].complete + ? (c.img.off(".mfploader"), + c === b.currItem && + (b._onImageHasSize(c), b.updateStatus("ready")), + (c.hasSize = !0), + (c.loaded = !0), + y("ImageLoadComplete")) + : (e++, 200 > e ? setTimeout(f, 100) : g())); + }, + g = function () { + c && + (c.img.off(".mfploader"), + c === b.currItem && + (b._onImageHasSize(c), + b.updateStatus("error", h.tError.replace("%url%", c.src))), + (c.hasSize = !0), + (c.loaded = !0), + (c.loadError = !0)); + }, + h = b.st.image, + i = d.find(".mfp-img"); + if (i.length) { + var j = document.createElement("img"); + (j.className = "mfp-img"), + c.el && + c.el.find("img").length && + (j.alt = c.el.find("img").attr("alt")), + (c.img = a(j).on("load.mfploader", f).on("error.mfploader", g)), + (j.src = c.src), + i.is("img") && (c.img = c.img.clone()), + (j = c.img[0]), + j.naturalWidth > 0 ? (c.hasSize = !0) : j.width || (c.hasSize = !1); + } + return ( + b._parseMarkup(d, { title: M(c), img_replaceWith: c.img }, c), + b.resizeImage(), + c.hasSize + ? (L && clearInterval(L), + c.loadError + ? (d.addClass("mfp-loading"), + b.updateStatus("error", h.tError.replace("%url%", c.src))) + : (d.removeClass("mfp-loading"), b.updateStatus("ready")), + d) + : (b.updateStatus("loading"), + (c.loading = !0), + c.hasSize || + ((c.imgHidden = !0), + d.addClass("mfp-loading"), + b.findImageSize(c)), + d) + ); + }, + }, + }); + var N, + O = function () { + return ( + void 0 === N && + (N = void 0 !== document.createElement("p").style.MozTransform), + N + ); + }; + a.magnificPopup.registerModule("zoom", { + options: { + enabled: !1, + easing: "ease-in-out", + duration: 300, + opener: function (a) { + return a.is("img") ? a : a.find("img"); + }, + }, + proto: { + initZoom: function () { + var a, + c = b.st.zoom, + d = ".zoom"; + if (c.enabled && b.supportsTransition) { + var e, + f, + g = c.duration, + j = function (a) { + var b = a + .clone() + .removeAttr("style") + .removeAttr("class") + .addClass("mfp-animated-image"), + d = "all " + c.duration / 1e3 + "s " + c.easing, + e = { + position: "fixed", + zIndex: 9999, + left: 0, + top: 0, + "-webkit-backface-visibility": "hidden", + }, + f = "transition"; + return ( + (e["-webkit-" + f] = e["-moz-" + f] = e["-o-" + f] = e[f] = d), + b.css(e), + b + ); + }, + k = function () { + b.content.css("visibility", "visible"); + }; + w("BuildControls" + d, function () { + if (b._allowZoom()) { + if ( + (clearTimeout(e), + b.content.css("visibility", "hidden"), + (a = b._getItemToZoom()), + !a) + ) + return void k(); + (f = j(a)), + f.css(b._getOffset()), + b.wrap.append(f), + (e = setTimeout(function () { + f.css(b._getOffset(!0)), + (e = setTimeout(function () { + k(), + setTimeout(function () { + f.remove(), (a = f = null), y("ZoomAnimationEnded"); + }, 16); + }, g)); + }, 16)); + } + }), + w(i + d, function () { + if (b._allowZoom()) { + if ((clearTimeout(e), (b.st.removalDelay = g), !a)) { + if (((a = b._getItemToZoom()), !a)) return; + f = j(a); + } + f.css(b._getOffset(!0)), + b.wrap.append(f), + b.content.css("visibility", "hidden"), + setTimeout(function () { + f.css(b._getOffset()); + }, 16); + } + }), + w(h + d, function () { + b._allowZoom() && (k(), f && f.remove(), (a = null)); + }); + } + }, + _allowZoom: function () { + return "image" === b.currItem.type; + }, + _getItemToZoom: function () { + return b.currItem.hasSize ? b.currItem.img : !1; + }, + _getOffset: function (c) { + var d; + d = c ? b.currItem.img : b.st.zoom.opener(b.currItem.el || b.currItem); + var e = d.offset(), + f = parseInt(d.css("padding-top"), 10), + g = parseInt(d.css("padding-bottom"), 10); + e.top -= a(window).scrollTop() - f; + var h = { + width: d.width(), + height: (u ? d.innerHeight() : d[0].offsetHeight) - g - f, + }; + return ( + O() + ? (h["-moz-transform"] = h.transform = + "translate(" + e.left + "px," + e.top + "px)") + : ((h.left = e.left), (h.top = e.top)), + h + ); + }, + }, + }); + var P = "iframe", + Q = "//about:blank", + R = function (a) { + if (b.currTemplate[P]) { + var c = b.currTemplate[P].find("iframe"); + c.length && + (a || (c[0].src = Q), + b.isIE8 && c.css("display", a ? "block" : "none")); + } + }; + a.magnificPopup.registerModule(P, { + options: { + markup: + '
    ', + srcAction: "iframe_src", + patterns: { + youtube: { + index: "youtube.com", + id: "v=", + src: "//www.youtube.com/embed/%id%?autoplay=1", + }, + vimeo: { + index: "vimeo.com/", + id: "/", + src: "//player.vimeo.com/video/%id%?autoplay=1", + }, + gmaps: { index: "//maps.google.", src: "%id%&output=embed" }, + }, + }, + proto: { + initIframe: function () { + b.types.push(P), + w("BeforeChange", function (a, b, c) { + b !== c && (b === P ? R() : c === P && R(!0)); + }), + w(h + "." + P, function () { + R(); + }); + }, + getIframe: function (c, d) { + var e = c.src, + f = b.st.iframe; + a.each(f.patterns, function () { + return e.indexOf(this.index) > -1 + ? (this.id && + (e = + "string" == typeof this.id + ? e.substr( + e.lastIndexOf(this.id) + this.id.length, + e.length + ) + : this.id.call(this, e)), + (e = this.src.replace("%id%", e)), + !1) + : void 0; + }); + var g = {}; + return ( + f.srcAction && (g[f.srcAction] = e), + b._parseMarkup(d, g, c), + b.updateStatus("ready"), + d + ); + }, + }, + }); + var S = function (a) { + var c = b.items.length; + return a > c - 1 ? a - c : 0 > a ? c + a : a; + }, + T = function (a, b, c) { + return a.replace(/%curr%/gi, b + 1).replace(/%total%/gi, c); + }; + a.magnificPopup.registerModule("gallery", { + options: { + enabled: !1, + arrowMarkup: + '', + preload: [0, 2], + navigateByImgClick: !0, + arrows: !0, + tPrev: "Previous (Left arrow key)", + tNext: "Next (Right arrow key)", + tCounter: "%curr% of %total%", + }, + proto: { + initGallery: function () { + var c = b.st.gallery, + e = ".mfp-gallery"; + return ( + (b.direction = !0), + c && c.enabled + ? ((f += " mfp-gallery"), + w(m + e, function () { + c.navigateByImgClick && + b.wrap.on("click" + e, ".mfp-img", function () { + return b.items.length > 1 ? (b.next(), !1) : void 0; + }), + d.on("keydown" + e, function (a) { + 37 === a.keyCode ? b.prev() : 39 === a.keyCode && b.next(); + }); + }), + w("UpdateStatus" + e, function (a, c) { + c.text && + (c.text = T(c.text, b.currItem.index, b.items.length)); + }), + w(l + e, function (a, d, e, f) { + var g = b.items.length; + e.counter = g > 1 ? T(c.tCounter, f.index, g) : ""; + }), + w("BuildControls" + e, function () { + if (b.items.length > 1 && c.arrows && !b.arrowLeft) { + var d = c.arrowMarkup, + e = (b.arrowLeft = a( + d.replace(/%title%/gi, c.tPrev).replace(/%dir%/gi, "left") + ).addClass(s)), + f = (b.arrowRight = a( + d + .replace(/%title%/gi, c.tNext) + .replace(/%dir%/gi, "right") + ).addClass(s)); + e.click(function () { + b.prev(); + }), + f.click(function () { + b.next(); + }), + b.container.append(e.add(f)); + } + }), + w(n + e, function () { + b._preloadTimeout && clearTimeout(b._preloadTimeout), + (b._preloadTimeout = setTimeout(function () { + b.preloadNearbyImages(), (b._preloadTimeout = null); + }, 16)); + }), + void w(h + e, function () { + d.off(e), + b.wrap.off("click" + e), + (b.arrowRight = b.arrowLeft = null); + })) + : !1 + ); + }, + next: function () { + (b.direction = !0), (b.index = S(b.index + 1)), b.updateItemHTML(); + }, + prev: function () { + (b.direction = !1), (b.index = S(b.index - 1)), b.updateItemHTML(); + }, + goTo: function (a) { + (b.direction = a >= b.index), (b.index = a), b.updateItemHTML(); + }, + preloadNearbyImages: function () { + var a, + c = b.st.gallery.preload, + d = Math.min(c[0], b.items.length), + e = Math.min(c[1], b.items.length); + for (a = 1; a <= (b.direction ? e : d); a++) + b._preloadItem(b.index + a); + for (a = 1; a <= (b.direction ? d : e); a++) + b._preloadItem(b.index - a); + }, + _preloadItem: function (c) { + if (((c = S(c)), !b.items[c].preloaded)) { + var d = b.items[c]; + d.parsed || (d = b.parseEl(c)), + y("LazyLoad", d), + "image" === d.type && + (d.img = a('') + .on("load.mfploader", function () { + d.hasSize = !0; + }) + .on("error.mfploader", function () { + (d.hasSize = !0), (d.loadError = !0), y("LazyLoadError", d); + }) + .attr("src", d.src)), + (d.preloaded = !0); + } + }, + }, + }); + var U = "retina"; + a.magnificPopup.registerModule(U, { + options: { + replaceSrc: function (a) { + return a.src.replace(/\.\w+$/, function (a) { + return "@2x" + a; + }); + }, + ratio: 1, + }, + proto: { + initRetina: function () { + if (window.devicePixelRatio > 1) { + var a = b.st.retina, + c = a.ratio; + (c = isNaN(c) ? c() : c), + c > 1 && + (w("ImageHasSize." + U, function (a, b) { + b.img.css({ + "max-width": b.img[0].naturalWidth / c, + width: "100%", + }); + }), + w("ElementParse." + U, function (b, d) { + d.src = a.replaceSrc(d, c); + })); + } + }, + }, + }), + A(); +}); diff --git a/SUBMISSION/IGNORAMUS/assets/js/jquery.nice-select.min.js b/SUBMISSION/IGNORAMUS/assets/js/jquery.nice-select.min.js index 88eb2d6..fcf983f 100644 --- a/SUBMISSION/IGNORAMUS/assets/js/jquery.nice-select.min.js +++ b/SUBMISSION/IGNORAMUS/assets/js/jquery.nice-select.min.js @@ -1,4 +1,119 @@ /* jQuery Nice Select - v1.0 https://github.com/hernansartorio/jquery-nice-select Made by Hernán Sartorio */ -!function(e){e.fn.niceSelect=function(t){function s(t){t.after(e("
    ").addClass("nice-select").addClass(t.attr("class")||"").addClass(t.attr("disabled")?"disabled":"").attr("tabindex",t.attr("disabled")?null:"0").html('
      '));var s=t.next(),n=t.find("option"),i=t.find("option:selected");s.find(".current").html(i.data("display")||i.text()),n.each(function(t){var n=e(this),i=n.data("display");s.find("ul").append(e("
    • ").attr("data-value",n.val()).attr("data-display",i||null).addClass("option"+(n.is(":selected")?" selected":"")+(n.is(":disabled")?" disabled":"")).html(n.text()))})}if("string"==typeof t)return"update"==t?this.each(function(){var t=e(this),n=e(this).next(".nice-select"),i=n.hasClass("open");n.length&&(n.remove(),s(t),i&&t.next().trigger("click"))}):"destroy"==t?(this.each(function(){var t=e(this),s=e(this).next(".nice-select");s.length&&(s.remove(),t.css("display",""))}),0==e(".nice-select").length&&e(document).off(".nice_select")):console.log('Method "'+t+'" does not exist.'),this;this.hide(),this.each(function(){var t=e(this);t.next().hasClass("nice-select")||s(t)}),e(document).off(".nice_select"),e(document).on("click.nice_select",".nice-select",function(t){var s=e(this);e(".nice-select").not(s).removeClass("open"),s.toggleClass("open"),s.hasClass("open")?(s.find(".option"),s.find(".focus").removeClass("focus"),s.find(".selected").addClass("focus")):s.focus()}),e(document).on("click.nice_select",function(t){0===e(t.target).closest(".nice-select").length&&e(".nice-select").removeClass("open").find(".option")}),e(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(t){var s=e(this),n=s.closest(".nice-select");n.find(".selected").removeClass("selected"),s.addClass("selected");var i=s.data("display")||s.text();n.find(".current").text(i),n.prev("select").val(s.data("value")).trigger("change")}),e(document).on("keydown.nice_select",".nice-select",function(t){var s=e(this),n=e(s.find(".focus")||s.find(".list .option.selected"));if(32==t.keyCode||13==t.keyCode)return s.hasClass("open")?n.trigger("click"):s.trigger("click"),!1;if(40==t.keyCode){if(s.hasClass("open")){var i=n.nextAll(".option:not(.disabled)").first();i.length>0&&(s.find(".focus").removeClass("focus"),i.addClass("focus"))}else s.trigger("click");return!1}if(38==t.keyCode){if(s.hasClass("open")){var l=n.prevAll(".option:not(.disabled)").first();l.length>0&&(s.find(".focus").removeClass("focus"),l.addClass("focus"))}else s.trigger("click");return!1}if(27==t.keyCode)s.hasClass("open")&&s.trigger("click");else if(9==t.keyCode&&s.hasClass("open"))return!1});var n=document.createElement("a").style;return n.cssText="pointer-events:auto","auto"!==n.pointerEvents&&e("html").addClass("no-csspointerevents"),this}}(jQuery); \ No newline at end of file +!(function (e) { + e.fn.niceSelect = function (t) { + function s(t) { + t.after( + e("
      ") + .addClass("nice-select") + .addClass(t.attr("class") || "") + .addClass(t.attr("disabled") ? "disabled" : "") + .attr("tabindex", t.attr("disabled") ? null : "0") + .html('
        ') + ); + var s = t.next(), + n = t.find("option"), + i = t.find("option:selected"); + s.find(".current").html(i.data("display") || i.text()), + n.each(function (t) { + var n = e(this), + i = n.data("display"); + s.find("ul").append( + e("
      • ") + .attr("data-value", n.val()) + .attr("data-display", i || null) + .addClass( + "option" + + (n.is(":selected") ? " selected" : "") + + (n.is(":disabled") ? " disabled" : "") + ) + .html(n.text()) + ); + }); + } + if ("string" == typeof t) + return ( + "update" == t + ? this.each(function () { + var t = e(this), + n = e(this).next(".nice-select"), + i = n.hasClass("open"); + n.length && (n.remove(), s(t), i && t.next().trigger("click")); + }) + : "destroy" == t + ? (this.each(function () { + var t = e(this), + s = e(this).next(".nice-select"); + s.length && (s.remove(), t.css("display", "")); + }), + 0 == e(".nice-select").length && e(document).off(".nice_select")) + : console.log('Method "' + t + '" does not exist.'), + this + ); + this.hide(), + this.each(function () { + var t = e(this); + t.next().hasClass("nice-select") || s(t); + }), + e(document).off(".nice_select"), + e(document).on("click.nice_select", ".nice-select", function (t) { + var s = e(this); + e(".nice-select").not(s).removeClass("open"), + s.toggleClass("open"), + s.hasClass("open") + ? (s.find(".option"), + s.find(".focus").removeClass("focus"), + s.find(".selected").addClass("focus")) + : s.focus(); + }), + e(document).on("click.nice_select", function (t) { + 0 === e(t.target).closest(".nice-select").length && + e(".nice-select").removeClass("open").find(".option"); + }), + e(document).on( + "click.nice_select", + ".nice-select .option:not(.disabled)", + function (t) { + var s = e(this), + n = s.closest(".nice-select"); + n.find(".selected").removeClass("selected"), s.addClass("selected"); + var i = s.data("display") || s.text(); + n.find(".current").text(i), + n.prev("select").val(s.data("value")).trigger("change"); + } + ), + e(document).on("keydown.nice_select", ".nice-select", function (t) { + var s = e(this), + n = e(s.find(".focus") || s.find(".list .option.selected")); + if (32 == t.keyCode || 13 == t.keyCode) + return ( + s.hasClass("open") ? n.trigger("click") : s.trigger("click"), !1 + ); + if (40 == t.keyCode) { + if (s.hasClass("open")) { + var i = n.nextAll(".option:not(.disabled)").first(); + i.length > 0 && + (s.find(".focus").removeClass("focus"), i.addClass("focus")); + } else s.trigger("click"); + return !1; + } + if (38 == t.keyCode) { + if (s.hasClass("open")) { + var l = n.prevAll(".option:not(.disabled)").first(); + l.length > 0 && + (s.find(".focus").removeClass("focus"), l.addClass("focus")); + } else s.trigger("click"); + return !1; + } + if (27 == t.keyCode) s.hasClass("open") && s.trigger("click"); + else if (9 == t.keyCode && s.hasClass("open")) return !1; + }); + var n = document.createElement("a").style; + return ( + (n.cssText = "pointer-events:auto"), + "auto" !== n.pointerEvents && e("html").addClass("no-csspointerevents"), + this + ); + }; +})(jQuery); diff --git a/SUBMISSION/IGNORAMUS/assets/js/jquery.paroller.min.js b/SUBMISSION/IGNORAMUS/assets/js/jquery.paroller.min.js index 9d8c294..4202d62 100644 --- a/SUBMISSION/IGNORAMUS/assets/js/jquery.paroller.min.js +++ b/SUBMISSION/IGNORAMUS/assets/js/jquery.paroller.min.js @@ -1,16 +1,184 @@ -'use strict';/** +"use strict"; +/** * jQuery plugin paroller.js v1.4.6 * https://github.com/tgomilar/paroller.js * preview: https://tgomilar.github.io/paroller/ - **/(function(a){'use strict';'function'==typeof define&&define.amd?define('parollerjs',['jquery'],a):'object'==typeof module&&'object'==typeof module.exports?module.exports=a(require('jquery')):a(jQuery)})(function(a){'use strict';var b=Math.round;let c=!1,d=function(){c=!1},e={bgVertical:function(a,b){return a.css({"background-position":'center '+-b+'px'})},bgHorizontal:function(a,b){return a.css({"background-position":-b+'px center'})},vertical:function(a,b,c,d){return'none'===d&&(d=''),a.css({"-webkit-transform":'translateY('+b+'px)'+d,"-moz-transform":'translateY('+b+'px)'+d,transform:'translate(0,'+b+'px)'+d,transition:c,"will-change":'transform'})},horizontal:function(a,b,c,d){return'none'===d&&(d=''),a.css({"-webkit-transform":'translateX('+b+'px)'+d,"-moz-transform":'translateX('+b+'px)'+d,transform:'translate('+b+'px, 0)'+d,transition:c,"will-change":'transform'})}},f={factor:function(a,b,c){let d=a.data('paroller-factor'),e=d?d:c.factor;if(576>b){let b=a.data('paroller-factor-xs'),d=b?b:c.factorXs;return d?d:e}if(768>=b){let b=a.data('paroller-factor-sm'),d=b?b:c.factorSm;return d?d:e}if(1024>=b){let b=a.data('paroller-factor-md'),d=b?b:c.factorMd;return d?d:e}if(1200>=b){let b=a.data('paroller-factor-lg'),d=b?b:c.factorLg;return d?d:e}if(1920>=b){let b=a.data('paroller-factor-xl'),d=b?b:c.factorXl;return d?d:e}return e},bgOffset:function(a,c){return b(a*c)},transform:function(a,c,d,e){return b((a-d/2+e)*c)}},g={background:function(a){return a.css({"background-position":'unset'})},foreground:function(a){return a.css({transform:'unset',transition:'unset'})}};a.fn.paroller=function(h){const i=a(window).height(),j=a(document).height();// default options -return h=a.extend({factor:0,// - to + -factorXs:0,// - to + -factorSm:0,// - to + -factorMd:0,// - to + -factorLg:0,// - to + -factorXl:0,// - to + -transition:'transform .1s ease',// CSS transition -type:'background',// foreground -direction:'vertical'// horizontal -},h),this.each(function(){const k=a(this);let l=k.outerHeight(),m=a(window).width(),n=k.offset().top,o=0,p=function(a,b){// console.log(`offset ${scrollOffset} => ${transform - scrollOffset}`) -return a||(o=b),b-o};const q=k.data('paroller-type'),r=k.data('paroller-direction'),s=k.data('paroller-transition'),t=k.css('transform'),u=s?s:h.transition,v=q?q:h.type,w=r?r:h.direction;let x=0,y=f.bgOffset(n,x),z=f.transform(n,x,i,l);'background'===v?'vertical'===w?e.bgVertical(k,y):'horizontal'===w&&e.bgHorizontal(k,y):'foreground'===v&&('vertical'===w?e.vertical(k,z,u,t):'horizontal'===w&&e.horizontal(k,z,u,t)),a(window).on('resize',function(){let o=a(this).scrollTop();m=a(window).width(),n=k.offset().top,l=k.outerHeight(),x=f.factor(k,m,h),y=b(n*x);let q=p(a(document).scrollTop(),b((n-i/2+l)*x));c||(window.requestAnimationFrame(d),c=!0),'background'===v?(g.background(k),'vertical'===w?e.bgVertical(k,y):'horizontal'===w&&e.bgHorizontal(k,y)):'foreground'===v&&o<=j&&(g.foreground(k),'vertical'===w?e.vertical(k,q,u):'horizontal'===w&&e.horizontal(k,q,u))}),a(window).on('load scroll',function(){let g=a(this).scrollTop(),o=a(document).scrollTop();x=f.factor(k,m,h);let q=p(o,b((n-i/2+l-g)*x));c||(window.requestAnimationFrame(d),c=!0),'background'===v?'vertical'===w?e.bgVertical(k,y):'horizontal'===w&&e.bgHorizontal(k,y):'foreground'===v&&g<=j&&('vertical'===w?e.vertical(k,q,u,t):'horizontal'===w&&e.horizontal(k,q,u,t))})})}}); \ No newline at end of file + **/ (function (a) { + "use strict"; + "function" == typeof define && define.amd + ? define("parollerjs", ["jquery"], a) + : "object" == typeof module && "object" == typeof module.exports + ? (module.exports = a(require("jquery"))) + : a(jQuery); +})(function (a) { + "use strict"; + var b = Math.round; + let c = !1, + d = function () { + c = !1; + }, + e = { + bgVertical: function (a, b) { + return a.css({ "background-position": "center " + -b + "px" }); + }, + bgHorizontal: function (a, b) { + return a.css({ "background-position": -b + "px center" }); + }, + vertical: function (a, b, c, d) { + return ( + "none" === d && (d = ""), + a.css({ + "-webkit-transform": "translateY(" + b + "px)" + d, + "-moz-transform": "translateY(" + b + "px)" + d, + transform: "translate(0," + b + "px)" + d, + transition: c, + "will-change": "transform", + }) + ); + }, + horizontal: function (a, b, c, d) { + return ( + "none" === d && (d = ""), + a.css({ + "-webkit-transform": "translateX(" + b + "px)" + d, + "-moz-transform": "translateX(" + b + "px)" + d, + transform: "translate(" + b + "px, 0)" + d, + transition: c, + "will-change": "transform", + }) + ); + }, + }, + f = { + factor: function (a, b, c) { + let d = a.data("paroller-factor"), + e = d ? d : c.factor; + if (576 > b) { + let b = a.data("paroller-factor-xs"), + d = b ? b : c.factorXs; + return d ? d : e; + } + if (768 >= b) { + let b = a.data("paroller-factor-sm"), + d = b ? b : c.factorSm; + return d ? d : e; + } + if (1024 >= b) { + let b = a.data("paroller-factor-md"), + d = b ? b : c.factorMd; + return d ? d : e; + } + if (1200 >= b) { + let b = a.data("paroller-factor-lg"), + d = b ? b : c.factorLg; + return d ? d : e; + } + if (1920 >= b) { + let b = a.data("paroller-factor-xl"), + d = b ? b : c.factorXl; + return d ? d : e; + } + return e; + }, + bgOffset: function (a, c) { + return b(a * c); + }, + transform: function (a, c, d, e) { + return b((a - d / 2 + e) * c); + }, + }, + g = { + background: function (a) { + return a.css({ "background-position": "unset" }); + }, + foreground: function (a) { + return a.css({ transform: "unset", transition: "unset" }); + }, + }; + a.fn.paroller = function (h) { + const i = a(window).height(), + j = a(document).height(); // default options + return ( + (h = a.extend( + { + factor: 0, // - to + + factorXs: 0, // - to + + factorSm: 0, // - to + + factorMd: 0, // - to + + factorLg: 0, // - to + + factorXl: 0, // - to + + transition: "transform .1s ease", // CSS transition + type: "background", // foreground + direction: "vertical", // horizontal + }, + h + )), + this.each(function () { + const k = a(this); + let l = k.outerHeight(), + m = a(window).width(), + n = k.offset().top, + o = 0, + p = function (a, b) { + // console.log(`offset ${scrollOffset} => ${transform - scrollOffset}`) + return a || (o = b), b - o; + }; + const q = k.data("paroller-type"), + r = k.data("paroller-direction"), + s = k.data("paroller-transition"), + t = k.css("transform"), + u = s ? s : h.transition, + v = q ? q : h.type, + w = r ? r : h.direction; + let x = 0, + y = f.bgOffset(n, x), + z = f.transform(n, x, i, l); + "background" === v + ? "vertical" === w + ? e.bgVertical(k, y) + : "horizontal" === w && e.bgHorizontal(k, y) + : "foreground" === v && + ("vertical" === w + ? e.vertical(k, z, u, t) + : "horizontal" === w && e.horizontal(k, z, u, t)), + a(window).on("resize", function () { + let o = a(this).scrollTop(); + (m = a(window).width()), + (n = k.offset().top), + (l = k.outerHeight()), + (x = f.factor(k, m, h)), + (y = b(n * x)); + let q = p(a(document).scrollTop(), b((n - i / 2 + l) * x)); + c || (window.requestAnimationFrame(d), (c = !0)), + "background" === v + ? (g.background(k), + "vertical" === w + ? e.bgVertical(k, y) + : "horizontal" === w && e.bgHorizontal(k, y)) + : "foreground" === v && + o <= j && + (g.foreground(k), + "vertical" === w + ? e.vertical(k, q, u) + : "horizontal" === w && e.horizontal(k, q, u)); + }), + a(window).on("load scroll", function () { + let g = a(this).scrollTop(), + o = a(document).scrollTop(); + x = f.factor(k, m, h); + let q = p(o, b((n - i / 2 + l - g) * x)); + c || (window.requestAnimationFrame(d), (c = !0)), + "background" === v + ? "vertical" === w + ? e.bgVertical(k, y) + : "horizontal" === w && e.bgHorizontal(k, y) + : "foreground" === v && + g <= j && + ("vertical" === w + ? e.vertical(k, q, u, t) + : "horizontal" === w && e.horizontal(k, q, u, t)); + }); + }) + ); + }; +}); diff --git a/SUBMISSION/IGNORAMUS/assets/js/jquery.slicknav.min.js b/SUBMISSION/IGNORAMUS/assets/js/jquery.slicknav.min.js index 598cbcb..e291415 100644 --- a/SUBMISSION/IGNORAMUS/assets/js/jquery.slicknav.min.js +++ b/SUBMISSION/IGNORAMUS/assets/js/jquery.slicknav.min.js @@ -3,4 +3,433 @@ * (c) 2016 Josh Cope * licensed under MIT */ -!function(e,t,n){function a(t,n){this.element=t,this.settings=e.extend({},i,n),this.settings.duplicate||n.hasOwnProperty("removeIds")||(this.settings.removeIds=!1),this._defaults=i,this._name=s,this.init()}var i={label:"MENU",duplicate:!0,duration:200,easingOpen:"swing",easingClose:"swing",closedSymbol:"►",openedSymbol:"▼",prependTo:"body",appendTo:"",parentTag:"a",closeOnClick:!1,allowParentLinks:!1,nestedParentLinks:!0,showChildren:!1,removeIds:!0,removeClasses:!1,removeStyles:!1,brand:"",animations:"jquery",init:function(){},beforeOpen:function(){},beforeClose:function(){},afterOpen:function(){},afterClose:function(){}},s="slicknav",o="slicknav",l={DOWN:40,ENTER:13,ESCAPE:27,LEFT:37,RIGHT:39,SPACE:32,TAB:9,UP:38};a.prototype.init=function(){var n,a,i=this,s=e(this.element),r=this.settings;if(r.duplicate?i.mobileNav=s.clone():i.mobileNav=s,r.removeIds&&(i.mobileNav.removeAttr("id"),i.mobileNav.find("*").each(function(t,n){e(n).removeAttr("id")})),r.removeClasses&&(i.mobileNav.removeAttr("class"),i.mobileNav.find("*").each(function(t,n){e(n).removeAttr("class")})),r.removeStyles&&(i.mobileNav.removeAttr("style"),i.mobileNav.find("*").each(function(t,n){e(n).removeAttr("style")})),n=o+"_icon",""===r.label&&(n+=" "+o+"_no-text"),"a"==r.parentTag&&(r.parentTag='a href="#"'),i.mobileNav.attr("class",o+"_nav"),a=e('
        '),""!==r.brand){var c=e('
        '+r.brand+"
        ");e(a).append(c)}i.btn=e(["<"+r.parentTag+' aria-haspopup="true" role="button" tabindex="0" class="'+o+"_btn "+o+'_collapsed">',''+r.label+"",'','','','',"",""].join("")),e(a).append(i.btn),""!==r.appendTo?e(r.appendTo).append(a):e(r.prependTo).prepend(a),a.append(i.mobileNav);var p=i.mobileNav.find("li");e(p).each(function(){var t=e(this),n={};if(n.children=t.children("ul").attr("role","menu"),t.data("menu",n),n.children.length>0){var a=t.contents(),s=!1,l=[];e(a).each(function(){return e(this).is("ul")?!1:(l.push(this),void(e(this).is("a")&&(s=!0)))});var c=e("<"+r.parentTag+' role="menuitem" aria-haspopup="true" tabindex="-1" class="'+o+'_item"/>');if(r.allowParentLinks&&!r.nestedParentLinks&&s)e(l).wrapAll('').parent();else{var p=e(l).wrapAll(c).parent();p.addClass(o+"_row")}r.showChildren?t.addClass(o+"_open"):t.addClass(o+"_collapsed"),t.addClass(o+"_parent");var d=e(''+(r.showChildren?r.openedSymbol:r.closedSymbol)+"");r.allowParentLinks&&!r.nestedParentLinks&&s&&(d=d.wrap(c).parent()),e(l).last().after(d)}else 0===t.children().length&&t.addClass(o+"_txtnode");t.children("a").attr("role","menuitem").click(function(t){r.closeOnClick&&!e(t.target).parent().closest("li").hasClass(o+"_parent")&&e(i.btn).click()}),r.closeOnClick&&r.allowParentLinks&&(t.children("a").children("a").click(function(t){e(i.btn).click()}),t.find("."+o+"_parent-link a:not(."+o+"_item)").click(function(t){e(i.btn).click()}))}),e(p).each(function(){var t=e(this).data("menu");r.showChildren||i._visibilityToggle(t.children,null,!1,null,!0)}),i._visibilityToggle(i.mobileNav,null,!1,"init",!0),i.mobileNav.attr("role","menu"),e(t).mousedown(function(){i._outlines(!1)}),e(t).keyup(function(){i._outlines(!0)}),e(i.btn).click(function(e){e.preventDefault(),i._menuToggle()}),i.mobileNav.on("click","."+o+"_item",function(t){t.preventDefault(),i._itemClick(e(this))}),e(i.btn).keydown(function(t){var n=t||event;switch(n.keyCode){case l.ENTER:case l.SPACE:case l.DOWN:t.preventDefault(),n.keyCode===l.DOWN&&e(i.btn).hasClass(o+"_open")||i._menuToggle(),e(i.btn).next().find('[role="menuitem"]').first().focus()}}),i.mobileNav.on("keydown","."+o+"_item",function(t){var n=t||event;switch(n.keyCode){case l.ENTER:t.preventDefault(),i._itemClick(e(t.target));break;case l.RIGHT:t.preventDefault(),e(t.target).parent().hasClass(o+"_collapsed")&&i._itemClick(e(t.target)),e(t.target).next().find('[role="menuitem"]').first().focus()}}),i.mobileNav.on("keydown",'[role="menuitem"]',function(t){var n=t||event;switch(n.keyCode){case l.DOWN:t.preventDefault();var a=e(t.target).parent().parent().children().children('[role="menuitem"]:visible'),s=a.index(t.target),r=s+1;a.length<=r&&(r=0);var c=a.eq(r);c.focus();break;case l.UP:t.preventDefault();var a=e(t.target).parent().parent().children().children('[role="menuitem"]:visible'),s=a.index(t.target),c=a.eq(s-1);c.focus();break;case l.LEFT:if(t.preventDefault(),e(t.target).parent().parent().parent().hasClass(o+"_open")){var p=e(t.target).parent().parent().prev();p.focus(),i._itemClick(p)}else e(t.target).parent().parent().hasClass(o+"_nav")&&(i._menuToggle(),e(i.btn).focus());break;case l.ESCAPE:t.preventDefault(),i._menuToggle(),e(i.btn).focus()}}),r.allowParentLinks&&r.nestedParentLinks&&e("."+o+"_item a").click(function(e){e.stopImmediatePropagation()})},a.prototype._menuToggle=function(e){var t=this,n=t.btn,a=t.mobileNav;n.hasClass(o+"_collapsed")?(n.removeClass(o+"_collapsed"),n.addClass(o+"_open")):(n.removeClass(o+"_open"),n.addClass(o+"_collapsed")),n.addClass(o+"_animating"),t._visibilityToggle(a,n.parent(),!0,n)},a.prototype._itemClick=function(e){var t=this,n=t.settings,a=e.data("menu");a||(a={},a.arrow=e.children("."+o+"_arrow"),a.ul=e.next("ul"),a.parent=e.parent(),a.parent.hasClass(o+"_parent-link")&&(a.parent=e.parent().parent(),a.ul=e.parent().next("ul")),e.data("menu",a)),a.parent.hasClass(o+"_collapsed")?(a.arrow.html(n.openedSymbol),a.parent.removeClass(o+"_collapsed"),a.parent.addClass(o+"_open"),a.parent.addClass(o+"_animating"),t._visibilityToggle(a.ul,a.parent,!0,e)):(a.arrow.html(n.closedSymbol),a.parent.addClass(o+"_collapsed"),a.parent.removeClass(o+"_open"),a.parent.addClass(o+"_animating"),t._visibilityToggle(a.ul,a.parent,!0,e))},a.prototype._visibilityToggle=function(t,n,a,i,s){function l(t,n){e(t).removeClass(o+"_animating"),e(n).removeClass(o+"_animating"),s||p.afterOpen(t)}function r(n,a){t.attr("aria-hidden","true"),d.attr("tabindex","-1"),c._setVisAttr(t,!0),t.hide(),e(n).removeClass(o+"_animating"),e(a).removeClass(o+"_animating"),s?"init"==n&&p.init():p.afterClose(n)}var c=this,p=c.settings,d=c._getActionItems(t),u=0;a&&(u=p.duration),t.hasClass(o+"_hidden")?(t.removeClass(o+"_hidden"),s||p.beforeOpen(i),"jquery"===p.animations?t.stop(!0,!0).slideDown(u,p.easingOpen,function(){l(i,n)}):"velocity"===p.animations&&t.velocity("finish").velocity("slideDown",{duration:u,easing:p.easingOpen,complete:function(){l(i,n)}}),t.attr("aria-hidden","false"),d.attr("tabindex","0"),c._setVisAttr(t,!1)):(t.addClass(o+"_hidden"),s||p.beforeClose(i),"jquery"===p.animations?t.stop(!0,!0).slideUp(u,this.settings.easingClose,function(){r(i,n)}):"velocity"===p.animations&&t.velocity("finish").velocity("slideUp",{duration:u,easing:p.easingClose,complete:function(){r(i,n)}}))},a.prototype._setVisAttr=function(t,n){var a=this,i=t.children("li").children("ul").not("."+o+"_hidden");n?i.each(function(){var t=e(this);t.attr("aria-hidden","true");var i=a._getActionItems(t);i.attr("tabindex","-1"),a._setVisAttr(t,n)}):i.each(function(){var t=e(this);t.attr("aria-hidden","false");var i=a._getActionItems(t);i.attr("tabindex","0"),a._setVisAttr(t,n)})},a.prototype._getActionItems=function(e){var t=e.data("menu");if(!t){t={};var n=e.children("li"),a=n.find("a");t.links=a.add(n.find("."+o+"_item")),e.data("menu",t)}return t.links},a.prototype._outlines=function(t){t?e("."+o+"_item, ."+o+"_btn").css("outline",""):e("."+o+"_item, ."+o+"_btn").css("outline","none")},a.prototype.toggle=function(){var e=this;e._menuToggle()},a.prototype.open=function(){var e=this;e.btn.hasClass(o+"_collapsed")&&e._menuToggle()},a.prototype.close=function(){var e=this;e.btn.hasClass(o+"_open")&&e._menuToggle()},e.fn[s]=function(t){var n=arguments;if(void 0===t||"object"==typeof t)return this.each(function(){e.data(this,"plugin_"+s)||e.data(this,"plugin_"+s,new a(this,t))});if("string"==typeof t&&"_"!==t[0]&&"init"!==t){var i;return this.each(function(){var o=e.data(this,"plugin_"+s);o instanceof a&&"function"==typeof o[t]&&(i=o[t].apply(o,Array.prototype.slice.call(n,1)))}),void 0!==i?i:this}}}(jQuery,document,window); \ No newline at end of file +!(function (e, t, n) { + function a(t, n) { + (this.element = t), + (this.settings = e.extend({}, i, n)), + this.settings.duplicate || + n.hasOwnProperty("removeIds") || + (this.settings.removeIds = !1), + (this._defaults = i), + (this._name = s), + this.init(); + } + var i = { + label: "MENU", + duplicate: !0, + duration: 200, + easingOpen: "swing", + easingClose: "swing", + closedSymbol: "►", + openedSymbol: "▼", + prependTo: "body", + appendTo: "", + parentTag: "a", + closeOnClick: !1, + allowParentLinks: !1, + nestedParentLinks: !0, + showChildren: !1, + removeIds: !0, + removeClasses: !1, + removeStyles: !1, + brand: "", + animations: "jquery", + init: function () {}, + beforeOpen: function () {}, + beforeClose: function () {}, + afterOpen: function () {}, + afterClose: function () {}, + }, + s = "slicknav", + o = "slicknav", + l = { + DOWN: 40, + ENTER: 13, + ESCAPE: 27, + LEFT: 37, + RIGHT: 39, + SPACE: 32, + TAB: 9, + UP: 38, + }; + (a.prototype.init = function () { + var n, + a, + i = this, + s = e(this.element), + r = this.settings; + if ( + (r.duplicate ? (i.mobileNav = s.clone()) : (i.mobileNav = s), + r.removeIds && + (i.mobileNav.removeAttr("id"), + i.mobileNav.find("*").each(function (t, n) { + e(n).removeAttr("id"); + })), + r.removeClasses && + (i.mobileNav.removeAttr("class"), + i.mobileNav.find("*").each(function (t, n) { + e(n).removeAttr("class"); + })), + r.removeStyles && + (i.mobileNav.removeAttr("style"), + i.mobileNav.find("*").each(function (t, n) { + e(n).removeAttr("style"); + })), + (n = o + "_icon"), + "" === r.label && (n += " " + o + "_no-text"), + "a" == r.parentTag && (r.parentTag = 'a href="#"'), + i.mobileNav.attr("class", o + "_nav"), + (a = e('
        ')), + "" !== r.brand) + ) { + var c = e('
        ' + r.brand + "
        "); + e(a).append(c); + } + (i.btn = e( + [ + "<" + + r.parentTag + + ' aria-haspopup="true" role="button" tabindex="0" class="' + + o + + "_btn " + + o + + '_collapsed">', + '' + r.label + "", + '', + '', + '', + '', + "", + "", + ].join("") + )), + e(a).append(i.btn), + "" !== r.appendTo ? e(r.appendTo).append(a) : e(r.prependTo).prepend(a), + a.append(i.mobileNav); + var p = i.mobileNav.find("li"); + e(p).each(function () { + var t = e(this), + n = {}; + if ( + ((n.children = t.children("ul").attr("role", "menu")), + t.data("menu", n), + n.children.length > 0) + ) { + var a = t.contents(), + s = !1, + l = []; + e(a).each(function () { + return e(this).is("ul") + ? !1 + : (l.push(this), void (e(this).is("a") && (s = !0))); + }); + var c = e( + "<" + + r.parentTag + + ' role="menuitem" aria-haspopup="true" tabindex="-1" class="' + + o + + '_item"/>' + ); + if (r.allowParentLinks && !r.nestedParentLinks && s) + e(l) + .wrapAll('') + .parent(); + else { + var p = e(l).wrapAll(c).parent(); + p.addClass(o + "_row"); + } + r.showChildren ? t.addClass(o + "_open") : t.addClass(o + "_collapsed"), + t.addClass(o + "_parent"); + var d = e( + '' + + (r.showChildren ? r.openedSymbol : r.closedSymbol) + + "" + ); + r.allowParentLinks && + !r.nestedParentLinks && + s && + (d = d.wrap(c).parent()), + e(l).last().after(d); + } else 0 === t.children().length && t.addClass(o + "_txtnode"); + t + .children("a") + .attr("role", "menuitem") + .click(function (t) { + r.closeOnClick && + !e(t.target) + .parent() + .closest("li") + .hasClass(o + "_parent") && + e(i.btn).click(); + }), + r.closeOnClick && + r.allowParentLinks && + (t + .children("a") + .children("a") + .click(function (t) { + e(i.btn).click(); + }), + t + .find("." + o + "_parent-link a:not(." + o + "_item)") + .click(function (t) { + e(i.btn).click(); + })); + }), + e(p).each(function () { + var t = e(this).data("menu"); + r.showChildren || i._visibilityToggle(t.children, null, !1, null, !0); + }), + i._visibilityToggle(i.mobileNav, null, !1, "init", !0), + i.mobileNav.attr("role", "menu"), + e(t).mousedown(function () { + i._outlines(!1); + }), + e(t).keyup(function () { + i._outlines(!0); + }), + e(i.btn).click(function (e) { + e.preventDefault(), i._menuToggle(); + }), + i.mobileNav.on("click", "." + o + "_item", function (t) { + t.preventDefault(), i._itemClick(e(this)); + }), + e(i.btn).keydown(function (t) { + var n = t || event; + switch (n.keyCode) { + case l.ENTER: + case l.SPACE: + case l.DOWN: + t.preventDefault(), + (n.keyCode === l.DOWN && e(i.btn).hasClass(o + "_open")) || + i._menuToggle(), + e(i.btn).next().find('[role="menuitem"]').first().focus(); + } + }), + i.mobileNav.on("keydown", "." + o + "_item", function (t) { + var n = t || event; + switch (n.keyCode) { + case l.ENTER: + t.preventDefault(), i._itemClick(e(t.target)); + break; + case l.RIGHT: + t.preventDefault(), + e(t.target) + .parent() + .hasClass(o + "_collapsed") && i._itemClick(e(t.target)), + e(t.target).next().find('[role="menuitem"]').first().focus(); + } + }), + i.mobileNav.on("keydown", '[role="menuitem"]', function (t) { + var n = t || event; + switch (n.keyCode) { + case l.DOWN: + t.preventDefault(); + var a = e(t.target) + .parent() + .parent() + .children() + .children('[role="menuitem"]:visible'), + s = a.index(t.target), + r = s + 1; + a.length <= r && (r = 0); + var c = a.eq(r); + c.focus(); + break; + case l.UP: + t.preventDefault(); + var a = e(t.target) + .parent() + .parent() + .children() + .children('[role="menuitem"]:visible'), + s = a.index(t.target), + c = a.eq(s - 1); + c.focus(); + break; + case l.LEFT: + if ( + (t.preventDefault(), + e(t.target) + .parent() + .parent() + .parent() + .hasClass(o + "_open")) + ) { + var p = e(t.target).parent().parent().prev(); + p.focus(), i._itemClick(p); + } else + e(t.target) + .parent() + .parent() + .hasClass(o + "_nav") && (i._menuToggle(), e(i.btn).focus()); + break; + case l.ESCAPE: + t.preventDefault(), i._menuToggle(), e(i.btn).focus(); + } + }), + r.allowParentLinks && + r.nestedParentLinks && + e("." + o + "_item a").click(function (e) { + e.stopImmediatePropagation(); + }); + }), + (a.prototype._menuToggle = function (e) { + var t = this, + n = t.btn, + a = t.mobileNav; + n.hasClass(o + "_collapsed") + ? (n.removeClass(o + "_collapsed"), n.addClass(o + "_open")) + : (n.removeClass(o + "_open"), n.addClass(o + "_collapsed")), + n.addClass(o + "_animating"), + t._visibilityToggle(a, n.parent(), !0, n); + }), + (a.prototype._itemClick = function (e) { + var t = this, + n = t.settings, + a = e.data("menu"); + a || + ((a = {}), + (a.arrow = e.children("." + o + "_arrow")), + (a.ul = e.next("ul")), + (a.parent = e.parent()), + a.parent.hasClass(o + "_parent-link") && + ((a.parent = e.parent().parent()), (a.ul = e.parent().next("ul"))), + e.data("menu", a)), + a.parent.hasClass(o + "_collapsed") + ? (a.arrow.html(n.openedSymbol), + a.parent.removeClass(o + "_collapsed"), + a.parent.addClass(o + "_open"), + a.parent.addClass(o + "_animating"), + t._visibilityToggle(a.ul, a.parent, !0, e)) + : (a.arrow.html(n.closedSymbol), + a.parent.addClass(o + "_collapsed"), + a.parent.removeClass(o + "_open"), + a.parent.addClass(o + "_animating"), + t._visibilityToggle(a.ul, a.parent, !0, e)); + }), + (a.prototype._visibilityToggle = function (t, n, a, i, s) { + function l(t, n) { + e(t).removeClass(o + "_animating"), + e(n).removeClass(o + "_animating"), + s || p.afterOpen(t); + } + function r(n, a) { + t.attr("aria-hidden", "true"), + d.attr("tabindex", "-1"), + c._setVisAttr(t, !0), + t.hide(), + e(n).removeClass(o + "_animating"), + e(a).removeClass(o + "_animating"), + s ? "init" == n && p.init() : p.afterClose(n); + } + var c = this, + p = c.settings, + d = c._getActionItems(t), + u = 0; + a && (u = p.duration), + t.hasClass(o + "_hidden") + ? (t.removeClass(o + "_hidden"), + s || p.beforeOpen(i), + "jquery" === p.animations + ? t.stop(!0, !0).slideDown(u, p.easingOpen, function () { + l(i, n); + }) + : "velocity" === p.animations && + t.velocity("finish").velocity("slideDown", { + duration: u, + easing: p.easingOpen, + complete: function () { + l(i, n); + }, + }), + t.attr("aria-hidden", "false"), + d.attr("tabindex", "0"), + c._setVisAttr(t, !1)) + : (t.addClass(o + "_hidden"), + s || p.beforeClose(i), + "jquery" === p.animations + ? t + .stop(!0, !0) + .slideUp(u, this.settings.easingClose, function () { + r(i, n); + }) + : "velocity" === p.animations && + t.velocity("finish").velocity("slideUp", { + duration: u, + easing: p.easingClose, + complete: function () { + r(i, n); + }, + })); + }), + (a.prototype._setVisAttr = function (t, n) { + var a = this, + i = t + .children("li") + .children("ul") + .not("." + o + "_hidden"); + n + ? i.each(function () { + var t = e(this); + t.attr("aria-hidden", "true"); + var i = a._getActionItems(t); + i.attr("tabindex", "-1"), a._setVisAttr(t, n); + }) + : i.each(function () { + var t = e(this); + t.attr("aria-hidden", "false"); + var i = a._getActionItems(t); + i.attr("tabindex", "0"), a._setVisAttr(t, n); + }); + }), + (a.prototype._getActionItems = function (e) { + var t = e.data("menu"); + if (!t) { + t = {}; + var n = e.children("li"), + a = n.find("a"); + (t.links = a.add(n.find("." + o + "_item"))), e.data("menu", t); + } + return t.links; + }), + (a.prototype._outlines = function (t) { + t + ? e("." + o + "_item, ." + o + "_btn").css("outline", "") + : e("." + o + "_item, ." + o + "_btn").css("outline", "none"); + }), + (a.prototype.toggle = function () { + var e = this; + e._menuToggle(); + }), + (a.prototype.open = function () { + var e = this; + e.btn.hasClass(o + "_collapsed") && e._menuToggle(); + }), + (a.prototype.close = function () { + var e = this; + e.btn.hasClass(o + "_open") && e._menuToggle(); + }), + (e.fn[s] = function (t) { + var n = arguments; + if (void 0 === t || "object" == typeof t) + return this.each(function () { + e.data(this, "plugin_" + s) || + e.data(this, "plugin_" + s, new a(this, t)); + }); + if ("string" == typeof t && "_" !== t[0] && "init" !== t) { + var i; + return ( + this.each(function () { + var o = e.data(this, "plugin_" + s); + o instanceof a && + "function" == typeof o[t] && + (i = o[t].apply(o, Array.prototype.slice.call(n, 1))); + }), + void 0 !== i ? i : this + ); + } + }); +})(jQuery, document, window); diff --git a/SUBMISSION/IGNORAMUS/assets/js/jquery.sticky.js b/SUBMISSION/IGNORAMUS/assets/js/jquery.sticky.js index fe433c5..ac5f096 100644 --- a/SUBMISSION/IGNORAMUS/assets/js/jquery.sticky.js +++ b/SUBMISSION/IGNORAMUS/assets/js/jquery.sticky.js @@ -11,40 +11,40 @@ // might need to adjust the width in some cases. (function (factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['jquery'], factory); - } else if (typeof module === 'object' && module.exports) { - // Node/CommonJS - module.exports = factory(require('jquery')); - } else { - // Browser globals - factory(jQuery); - } -}(function ($) { - var slice = Array.prototype.slice; // save ref to original slice() - var splice = Array.prototype.splice; // save ref to original slice() + if (typeof define === "function" && define.amd) { + // AMD. Register as an anonymous module. + define(["jquery"], factory); + } else if (typeof module === "object" && module.exports) { + // Node/CommonJS + module.exports = factory(require("jquery")); + } else { + // Browser globals + factory(jQuery); + } +})(function ($) { + var slice = Array.prototype.slice; // save ref to original slice() + var splice = Array.prototype.splice; // save ref to original slice() var defaults = { topSpacing: 0, bottomSpacing: 0, - className: 'is-sticky', - wrapperClassName: 'sticky-wrapper', + className: "is-sticky", + wrapperClassName: "sticky-wrapper", center: false, - getWidthFrom: '', + getWidthFrom: "", widthFromWrapper: true, // works only when .getWidthFrom is empty responsiveWidth: false, - zIndex: 'inherit' + zIndex: "inherit", }, $window = $(window), $document = $(document), sticked = [], windowHeight = $window.height(), - scroller = function() { + scroller = function () { var scrollTop = $window.scrollTop(), documentHeight = $document.height(), dwh = documentHeight - windowHeight, - extra = (scrollTop > dwh) ? dwh - scrollTop : 0; + extra = scrollTop > dwh ? dwh - scrollTop : 0; for (var i = 0, l = sticked.length; i < l; i++) { var s = sticked[i], @@ -52,25 +52,28 @@ etse = elementTop - s.topSpacing - extra; //update height in case of dynamic content - s.stickyWrapper.css('height', s.stickyElement.outerHeight()); + s.stickyWrapper.css("height", s.stickyElement.outerHeight()); if (scrollTop <= etse) { if (s.currentTop !== null) { - s.stickyElement - .css({ - 'width': '', - 'position': '', - 'top': '', - 'z-index': '' - }); + s.stickyElement.css({ + width: "", + position: "", + top: "", + "z-index": "", + }); s.stickyElement.parent().removeClass(s.className); - s.stickyElement.trigger('sticky-end', [s]); + s.stickyElement.trigger("sticky-end", [s]); s.currentTop = null; } - } - else { - var newTop = documentHeight - s.stickyElement.outerHeight() - - s.topSpacing - s.bottomSpacing - scrollTop - extra; + } else { + var newTop = + documentHeight - + s.stickyElement.outerHeight() - + s.topSpacing - + s.bottomSpacing - + scrollTop - + extra; if (newTop < 0) { newTop = newTop + s.topSpacing; } else { @@ -79,35 +82,42 @@ if (s.currentTop !== newTop) { var newWidth; if (s.getWidthFrom) { - padding = s.stickyElement.innerWidth() - s.stickyElement.width(); - newWidth = $(s.getWidthFrom).width() - padding || null; + padding = s.stickyElement.innerWidth() - s.stickyElement.width(); + newWidth = $(s.getWidthFrom).width() - padding || null; } else if (s.widthFromWrapper) { - newWidth = s.stickyWrapper.width(); + newWidth = s.stickyWrapper.width(); } if (newWidth == null) { - newWidth = s.stickyElement.width(); + newWidth = s.stickyElement.width(); } s.stickyElement - .css('width', newWidth) - .css('position', 'fixed') - .css('top', newTop) - .css('z-index', s.zIndex); + .css("width", newWidth) + .css("position", "fixed") + .css("top", newTop) + .css("z-index", s.zIndex); s.stickyElement.parent().addClass(s.className); if (s.currentTop === null) { - s.stickyElement.trigger('sticky-start', [s]); + s.stickyElement.trigger("sticky-start", [s]); } else { // sticky is started but it have to be repositioned - s.stickyElement.trigger('sticky-update', [s]); + s.stickyElement.trigger("sticky-update", [s]); } - if (s.currentTop === s.topSpacing && s.currentTop > newTop || s.currentTop === null && newTop < s.topSpacing) { + if ( + (s.currentTop === s.topSpacing && s.currentTop > newTop) || + (s.currentTop === null && newTop < s.topSpacing) + ) { // just reached bottom || just started to stick but bottom is already reached - s.stickyElement.trigger('sticky-bottom-reached', [s]); - } else if(s.currentTop !== null && newTop === s.topSpacing && s.currentTop < newTop) { + s.stickyElement.trigger("sticky-bottom-reached", [s]); + } else if ( + s.currentTop !== null && + newTop === s.topSpacing && + s.currentTop < newTop + ) { // sticky is started && sticked at topSpacing && overflowing from top just finished - s.stickyElement.trigger('sticky-bottom-unreached', [s]); + s.stickyElement.trigger("sticky-bottom-unreached", [s]); } s.currentTop = newTop; @@ -115,73 +125,86 @@ // Check if sticky has reached end of container and stop sticking var stickyWrapperContainer = s.stickyWrapper.parent(); - var unstick = (s.stickyElement.offset().top + s.stickyElement.outerHeight() >= stickyWrapperContainer.offset().top + stickyWrapperContainer.outerHeight()) && (s.stickyElement.offset().top <= s.topSpacing); + var unstick = + s.stickyElement.offset().top + s.stickyElement.outerHeight() >= + stickyWrapperContainer.offset().top + + stickyWrapperContainer.outerHeight() && + s.stickyElement.offset().top <= s.topSpacing; - if( unstick ) { + if (unstick) { s.stickyElement - .css('position', 'absolute') - .css('top', '') - .css('bottom', 0) - .css('z-index', ''); + .css("position", "absolute") + .css("top", "") + .css("bottom", 0) + .css("z-index", ""); } else { s.stickyElement - .css('position', 'fixed') - .css('top', newTop) - .css('bottom', '') - .css('z-index', s.zIndex); + .css("position", "fixed") + .css("top", newTop) + .css("bottom", "") + .css("z-index", s.zIndex); } } } }, - resizer = function() { + resizer = function () { windowHeight = $window.height(); for (var i = 0, l = sticked.length; i < l; i++) { var s = sticked[i]; var newWidth = null; if (s.getWidthFrom) { - if (s.responsiveWidth) { - newWidth = $(s.getWidthFrom).width(); - } - } else if(s.widthFromWrapper) { - newWidth = s.stickyWrapper.width(); + if (s.responsiveWidth) { + newWidth = $(s.getWidthFrom).width(); + } + } else if (s.widthFromWrapper) { + newWidth = s.stickyWrapper.width(); } if (newWidth != null) { - s.stickyElement.css('width', newWidth); + s.stickyElement.css("width", newWidth); } } }, methods = { - init: function(options) { - return this.each(function() { + init: function (options) { + return this.each(function () { var o = $.extend({}, defaults, options); var stickyElement = $(this); - var stickyId = stickyElement.attr('id'); - var wrapperId = stickyId ? stickyId + '-' + defaults.wrapperClassName : defaults.wrapperClassName; - var wrapper = $('
        ') - .attr('id', wrapperId) + var stickyId = stickyElement.attr("id"); + var wrapperId = stickyId + ? stickyId + "-" + defaults.wrapperClassName + : defaults.wrapperClassName; + var wrapper = $("
        ") + .attr("id", wrapperId) .addClass(o.wrapperClassName); - stickyElement.wrapAll(function() { + stickyElement.wrapAll(function () { if ($(this).parent("#" + wrapperId).length == 0) { - return wrapper; + return wrapper; } -}); + }); var stickyWrapper = stickyElement.parent(); if (o.center) { - stickyWrapper.css({width:stickyElement.outerWidth(),marginLeft:"auto",marginRight:"auto"}); + stickyWrapper.css({ + width: stickyElement.outerWidth(), + marginLeft: "auto", + marginRight: "auto", + }); } if (stickyElement.css("float") === "right") { - stickyElement.css({"float":"none"}).parent().css({"float":"right"}); + stickyElement + .css({ float: "none" }) + .parent() + .css({ float: "right" }); } o.stickyElement = stickyElement; o.stickyWrapper = stickyWrapper; - o.currentTop = null; + o.currentTop = null; sticked.push(o); @@ -190,43 +213,59 @@ }); }, - setWrapperHeight: function(stickyElement) { + setWrapperHeight: function (stickyElement) { var element = $(stickyElement); var stickyWrapper = element.parent(); if (stickyWrapper) { - stickyWrapper.css('height', element.outerHeight()); + stickyWrapper.css("height", element.outerHeight()); } }, - setupChangeListeners: function(stickyElement) { + setupChangeListeners: function (stickyElement) { if (window.MutationObserver) { - var mutationObserver = new window.MutationObserver(function(mutations) { - if (mutations[0].addedNodes.length || mutations[0].removedNodes.length) { + var mutationObserver = new window.MutationObserver(function ( + mutations + ) { + if ( + mutations[0].addedNodes.length || + mutations[0].removedNodes.length + ) { methods.setWrapperHeight(stickyElement); } }); - mutationObserver.observe(stickyElement, {subtree: true, childList: true}); + mutationObserver.observe(stickyElement, { + subtree: true, + childList: true, + }); } else { if (window.addEventListener) { - stickyElement.addEventListener('DOMNodeInserted', function() { - methods.setWrapperHeight(stickyElement); - }, false); - stickyElement.addEventListener('DOMNodeRemoved', function() { - methods.setWrapperHeight(stickyElement); - }, false); + stickyElement.addEventListener( + "DOMNodeInserted", + function () { + methods.setWrapperHeight(stickyElement); + }, + false + ); + stickyElement.addEventListener( + "DOMNodeRemoved", + function () { + methods.setWrapperHeight(stickyElement); + }, + false + ); } else if (window.attachEvent) { - stickyElement.attachEvent('onDOMNodeInserted', function() { + stickyElement.attachEvent("onDOMNodeInserted", function () { methods.setWrapperHeight(stickyElement); }); - stickyElement.attachEvent('onDOMNodeRemoved', function() { + stickyElement.attachEvent("onDOMNodeRemoved", function () { methods.setWrapperHeight(stickyElement); }); } } }, update: scroller, - unstick: function(options) { - return this.each(function() { + unstick: function (options) { + return this.each(function () { var that = this; var unstickyElement = $(that); @@ -234,55 +273,53 @@ var i = sticked.length; while (i-- > 0) { if (sticked[i].stickyElement.get(0) === that) { - splice.call(sticked,i,1); - removeIdx = i; + splice.call(sticked, i, 1); + removeIdx = i; } } - if(removeIdx !== -1) { + if (removeIdx !== -1) { unstickyElement.unwrap(); - unstickyElement - .css({ - 'width': '', - 'position': '', - 'top': '', - 'float': '', - 'z-index': '' - }) - ; + unstickyElement.css({ + width: "", + position: "", + top: "", + float: "", + "z-index": "", + }); } }); - } + }, }; // should be more efficient than using $window.scroll(scroller) and $window.resize(resizer): if (window.addEventListener) { - window.addEventListener('scroll', scroller, false); - window.addEventListener('resize', resizer, false); + window.addEventListener("scroll", scroller, false); + window.addEventListener("resize", resizer, false); } else if (window.attachEvent) { - window.attachEvent('onscroll', scroller); - window.attachEvent('onresize', resizer); + window.attachEvent("onscroll", scroller); + window.attachEvent("onresize", resizer); } - $.fn.sticky = function(method) { + $.fn.sticky = function (method) { if (methods[method]) { return methods[method].apply(this, slice.call(arguments, 1)); - } else if (typeof method === 'object' || !method ) { - return methods.init.apply( this, arguments ); + } else if (typeof method === "object" || !method) { + return methods.init.apply(this, arguments); } else { - $.error('Method ' + method + ' does not exist on jQuery.sticky'); + $.error("Method " + method + " does not exist on jQuery.sticky"); } }; - $.fn.unstick = function(method) { + $.fn.unstick = function (method) { if (methods[method]) { return methods[method].apply(this, slice.call(arguments, 1)); - } else if (typeof method === 'object' || !method ) { - return methods.unstick.apply( this, arguments ); + } else if (typeof method === "object" || !method) { + return methods.unstick.apply(this, arguments); } else { - $.error('Method ' + method + ' does not exist on jQuery.sticky'); + $.error("Method " + method + " does not exist on jQuery.sticky"); } }; - $(function() { + $(function () { setTimeout(scroller, 0); }); -})); +}); diff --git a/SUBMISSION/IGNORAMUS/assets/js/jquery.validate.min.js b/SUBMISSION/IGNORAMUS/assets/js/jquery.validate.min.js index cbaf510..b430f14 100644 --- a/SUBMISSION/IGNORAMUS/assets/js/jquery.validate.min.js +++ b/SUBMISSION/IGNORAMUS/assets/js/jquery.validate.min.js @@ -1,2 +1,972 @@ /*! jQuery Validation Plugin - v1.11.1 - 3/22/2013\n* https://github.com/jzaefferer/jquery-validation -* Copyright (c) 2013 Jörn Zaefferer; Licensed MIT */(function(t){t.extend(t.fn,{validate:function(e){if(!this.length)return e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."),void 0;var i=t.data(this[0],"validator");return i?i:(this.attr("novalidate","novalidate"),i=new t.validator(e,this[0]),t.data(this[0],"validator",i),i.settings.onsubmit&&(this.validateDelegate(":submit","click",function(e){i.settings.submitHandler&&(i.submitButton=e.target),t(e.target).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==t(e.target).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.submit(function(e){function s(){var s;return i.settings.submitHandler?(i.submitButton&&(s=t("").attr("name",i.submitButton.name).val(t(i.submitButton).val()).appendTo(i.currentForm)),i.settings.submitHandler.call(i,i.currentForm,e),i.submitButton&&s.remove(),!1):!0}return i.settings.debug&&e.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,s()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):s():(i.focusInvalid(),!1)})),i)},valid:function(){if(t(this[0]).is("form"))return this.validate().form();var e=!0,i=t(this[0].form).validate();return this.each(function(){e=e&&i.element(this)}),e},removeAttrs:function(e){var i={},s=this;return t.each(e.split(/\s/),function(t,e){i[e]=s.attr(e),s.removeAttr(e)}),i},rules:function(e,i){var s=this[0];if(e){var r=t.data(s.form,"validator").settings,n=r.rules,a=t.validator.staticRules(s);switch(e){case"add":t.extend(a,t.validator.normalizeRule(i)),delete a.messages,n[s.name]=a,i.messages&&(r.messages[s.name]=t.extend(r.messages[s.name],i.messages));break;case"remove":if(!i)return delete n[s.name],a;var u={};return t.each(i.split(/\s/),function(t,e){u[e]=a[e],delete a[e]}),u}}var o=t.validator.normalizeRules(t.extend({},t.validator.classRules(s),t.validator.attributeRules(s),t.validator.dataRules(s),t.validator.staticRules(s)),s);if(o.required){var l=o.required;delete o.required,o=t.extend({required:l},o)}return o}}),t.extend(t.expr[":"],{blank:function(e){return!t.trim(""+t(e).val())},filled:function(e){return!!t.trim(""+t(e).val())},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,i){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=i,this.init()},t.validator.format=function(e,i){return 1===arguments.length?function(){var i=t.makeArray(arguments);return i.unshift(e),t.validator.format.apply(this,i)}:(arguments.length>2&&i.constructor!==Array&&(i=t.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),t.each(i,function(t,i){e=e.replace(RegExp("\\{"+t+"\\}","g"),function(){return i})}),e)},t.extend(t.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.addWrapper(this.errorsFor(t)).hide())},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(t,e){(9!==e.which||""!==this.elementValue(t))&&(t.name in this.submitted||t===this.lastElement)&&this.element(t)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).addClass(i).removeClass(s):t(e).addClass(i).removeClass(s)},unhighlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).removeClass(i).addClass(s):t(e).removeClass(i).addClass(s)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function e(e){var i=t.data(this[0].form,"validator"),s="on"+e.type.replace(/^validate/,"");i.settings[s]&&i.settings[s].call(i,this[0],e)}this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currentForm),this.containers=t(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i=this.groups={};t.each(this.settings.groups,function(e,s){"string"==typeof s&&(s=s.split(/\s/)),t.each(s,function(t,s){i[s]=e})});var s=this.settings.rules;t.each(s,function(e,i){s[e]=t.validator.normalizeRule(i)}),t(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",e).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",e),this.settings.invalidHandler&&t(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),t.extend(this.submitted,this.errorMap),this.invalid=t.extend({},this.errorMap),this.valid()||t(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(e){e=this.validationTargetFor(this.clean(e)),this.lastElement=e,this.prepareElement(e),this.currentElements=t(e);var i=this.check(e)!==!1;return i?delete this.invalid[e.name]:this.invalid[e.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),i},showErrors:function(e){if(e){t.extend(this.errorMap,e),this.errorList=[];for(var i in e)this.errorList.push({message:e[i],element:this.findByName(i)[0]});this.successList=t.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){t.fn.resetForm&&t(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e=0;for(var i in t)e++;return e},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{t(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(e){}},findLastActive:function(){var e=this.lastActive;return e&&1===t.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e=this,i={};return t(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){return!this.name&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in i||!e.objectLength(t(this).rules())?!1:(i[this.name]=!0,!0)})},clean:function(e){return t(e)[0]},errors:function(){var e=this.settings.errorClass.replace(" ",".");return t(this.settings.errorElement+"."+e,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=t([]),this.toHide=t([]),this.currentElements=t([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(e){var i=t(e).attr("type"),s=t(e).val();return"radio"===i||"checkbox"===i?t("input[name='"+t(e).attr("name")+"']:checked").val():"string"==typeof s?s.replace(/\r/g,""):s},check:function(e){e=this.validationTargetFor(this.clean(e));var i,s=t(e).rules(),r=!1,n=this.elementValue(e);for(var a in s){var u={method:a,parameters:s[a]};try{if(i=t.validator.methods[a].call(this,n,e,u.parameters),"dependency-mismatch"===i){r=!0;continue}if(r=!1,"pending"===i)return this.toHide=this.toHide.not(this.errorsFor(e)),void 0;if(!i)return this.formatAndAdd(e,u),!1}catch(o){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+u.method+"' method.",o),o}}return r?void 0:(this.objectLength(s)&&this.successList.push(e),!0)},customDataMessage:function(e,i){return t(e).data("msg-"+i.toLowerCase())||e.attributes&&t(e).attr("data-msg-"+i.toLowerCase())},customMessage:function(t,e){var i=this.settings.messages[t];return i&&(i.constructor===String?i:i[e])},findDefined:function(){for(var t=0;arguments.length>t;t++)if(void 0!==arguments[t])return arguments[t];return void 0},defaultMessage:function(e,i){return this.findDefined(this.customMessage(e.name,i),this.customDataMessage(e,i),!this.settings.ignoreTitle&&e.title||void 0,t.validator.messages[i],"Warning: No message defined for "+e.name+"")},formatAndAdd:function(e,i){var s=this.defaultMessage(e,i.method),r=/\$?\{(\d+)\}/g;"function"==typeof s?s=s.call(this,i.parameters,e):r.test(s)&&(s=t.validator.format(s.replace(r,"{$1}"),i.parameters)),this.errorList.push({message:s,element:e}),this.errorMap[e.name]=s,this.submitted[e.name]=s},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e;for(t=0;this.errorList[t];t++){var i=this.errorList[t];this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message)}if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return t(this.errorList).map(function(){return this.element})},showLabel:function(e,i){var s=this.errorsFor(e);s.length?(s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),s.html(i)):(s=t("<"+this.settings.errorElement+">").attr("for",this.idOrName(e)).addClass(this.settings.errorClass).html(i||""),this.settings.wrapper&&(s=s.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.append(s).length||(this.settings.errorPlacement?this.settings.errorPlacement(s,t(e)):s.insertAfter(e))),!i&&this.settings.success&&(s.text(""),"string"==typeof this.settings.success?s.addClass(this.settings.success):this.settings.success(s,e)),this.toShow=this.toShow.add(s)},errorsFor:function(e){var i=this.idOrName(e);return this.errors().filter(function(){return t(this).attr("for")===i})},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name).not(this.settings.ignore)[0]),t},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(e){return t(this.currentForm).find("[name='"+e+"']")},getLength:function(e,i){switch(i.nodeName.toLowerCase()){case"select":return t("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return e.length},depend:function(t,e){return this.dependTypes[typeof t]?this.dependTypes[typeof t](t,e):!0},dependTypes:{"boolean":function(t){return t},string:function(e,i){return!!t(e,i.form).length},"function":function(t,e){return t(e)}},optional:function(e){var i=this.elementValue(e);return!t.validator.methods.required.call(this,i,e)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,this.pending[t.name]=!0)},stopRequest:function(e,i){this.pendingRequest--,0>this.pendingRequest&&(this.pendingRequest=0),delete this.pending[e.name],i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(t(this.currentForm).submit(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(t(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e){return t.data(e,"previousValue")||t.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,i){e.constructor===String?this.classRuleSettings[e]=i:t.extend(this.classRuleSettings,e)},classRules:function(e){var i={},s=t(e).attr("class");return s&&t.each(s.split(" "),function(){this in t.validator.classRuleSettings&&t.extend(i,t.validator.classRuleSettings[this])}),i},attributeRules:function(e){var i={},s=t(e),r=s[0].getAttribute("type");for(var n in t.validator.methods){var a;"required"===n?(a=s.get(0).getAttribute(n),""===a&&(a=!0),a=!!a):a=s.attr(n),/min|max/.test(n)&&(null===r||/number|range|text/.test(r))&&(a=Number(a)),a?i[n]=a:r===n&&"range"!==r&&(i[n]=!0)}return i.maxlength&&/-1|2147483647|524288/.test(i.maxlength)&&delete i.maxlength,i},dataRules:function(e){var i,s,r={},n=t(e);for(i in t.validator.methods)s=n.data("rule-"+i.toLowerCase()),void 0!==s&&(r[i]=s);return r},staticRules:function(e){var i={},s=t.data(e.form,"validator");return s.settings.rules&&(i=t.validator.normalizeRule(s.settings.rules[e.name])||{}),i},normalizeRules:function(e,i){return t.each(e,function(s,r){if(r===!1)return delete e[s],void 0;if(r.param||r.depends){var n=!0;switch(typeof r.depends){case"string":n=!!t(r.depends,i.form).length;break;case"function":n=r.depends.call(i,i)}n?e[s]=void 0!==r.param?r.param:!0:delete e[s]}}),t.each(e,function(s,r){e[s]=t.isFunction(r)?r(i):r}),t.each(["minlength","maxlength"],function(){e[this]&&(e[this]=Number(e[this]))}),t.each(["rangelength","range"],function(){var i;e[this]&&(t.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(i=e[this].split(/[\s,]+/),e[this]=[Number(i[0]),Number(i[1])]))}),t.validator.autoCreateRanges&&(e.min&&e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),e.minlength&&e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var i={};t.each(e.split(/\s/),function(){i[this]=!0}),e=i}return e},addMethod:function(e,i,s){t.validator.methods[e]=i,t.validator.messages[e]=void 0!==s?s:t.validator.messages[e],3>i.length&&t.validator.addClassRules(e,t.validator.normalizeRule(e))},methods:{required:function(e,i,s){if(!this.depend(s,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var r=t(i).val();return r&&r.length>0}return this.checkable(i)?this.getLength(e,i)>0:t.trim(e).length>0},email:function(t,e){return this.optional(e)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(t)},url:function(t,e){return this.optional(e)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(t)},date:function(t,e){return this.optional(e)||!/Invalid|NaN/.test(""+new Date(t))},dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/.test(t)},number:function(t,e){return this.optional(e)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},creditcard:function(t,e){if(this.optional(e))return"dependency-mismatch";if(/[^0-9 \-]+/.test(t))return!1;var i=0,s=0,r=!1;t=t.replace(/\D/g,"");for(var n=t.length-1;n>=0;n--){var a=t.charAt(n);s=parseInt(a,10),r&&(s*=2)>9&&(s-=9),i+=s,r=!r}return 0===i%10},minlength:function(e,i,s){var r=t.isArray(e)?e.length:this.getLength(t.trim(e),i);return this.optional(i)||r>=s},maxlength:function(e,i,s){var r=t.isArray(e)?e.length:this.getLength(t.trim(e),i);return this.optional(i)||s>=r},rangelength:function(e,i,s){var r=t.isArray(e)?e.length:this.getLength(t.trim(e),i);return this.optional(i)||r>=s[0]&&s[1]>=r},min:function(t,e,i){return this.optional(e)||t>=i},max:function(t,e,i){return this.optional(e)||i>=t},range:function(t,e,i){return this.optional(e)||t>=i[0]&&i[1]>=t},equalTo:function(e,i,s){var r=t(s);return this.settings.onfocusout&&r.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){t(i).valid()}),e===r.val()},remote:function(e,i,s){if(this.optional(i))return"dependency-mismatch";var r=this.previousValue(i);if(this.settings.messages[i.name]||(this.settings.messages[i.name]={}),r.originalMessage=this.settings.messages[i.name].remote,this.settings.messages[i.name].remote=r.message,s="string"==typeof s&&{url:s}||s,r.old===e)return r.valid;r.old=e;var n=this;this.startRequest(i);var a={};return a[i.name]=e,t.ajax(t.extend(!0,{url:s,mode:"abort",port:"validate"+i.name,dataType:"json",data:a,success:function(s){n.settings.messages[i.name].remote=r.originalMessage;var a=s===!0||"true"===s;if(a){var u=n.formSubmitted;n.prepareElement(i),n.formSubmitted=u,n.successList.push(i),delete n.invalid[i.name],n.showErrors()}else{var o={},l=s||n.defaultMessage(i,"remote");o[i.name]=r.message=t.isFunction(l)?l(e):l,n.invalid[i.name]=!0,n.showErrors(o)}r.valid=a,n.stopRequest(i,a)}},s)),"pending"}}}),t.format=t.validator.format})(jQuery),function(t){var e={};if(t.ajaxPrefilter)t.ajaxPrefilter(function(t,i,s){var r=t.port;"abort"===t.mode&&(e[r]&&e[r].abort(),e[r]=s)});else{var i=t.ajax;t.ajax=function(s){var r=("mode"in s?s:t.ajaxSettings).mode,n=("port"in s?s:t.ajaxSettings).port;return"abort"===r?(e[n]&&e[n].abort(),e[n]=i.apply(this,arguments),e[n]):i.apply(this,arguments)}}}(jQuery),function(t){t.extend(t.fn,{validateDelegate:function(e,i,s){return this.bind(i,function(i){var r=t(i.target);return r.is(e)?s.apply(r,arguments):void 0})}})}(jQuery); \ No newline at end of file + * Copyright (c) 2013 Jörn Zaefferer; Licensed MIT */ (function (t) { + t.extend(t.fn, { + validate: function (e) { + if (!this.length) + return ( + e && + e.debug && + window.console && + console.warn( + "Nothing selected, can't validate, returning nothing." + ), + void 0 + ); + var i = t.data(this[0], "validator"); + return i + ? i + : (this.attr("novalidate", "novalidate"), + (i = new t.validator(e, this[0])), + t.data(this[0], "validator", i), + i.settings.onsubmit && + (this.validateDelegate(":submit", "click", function (e) { + i.settings.submitHandler && (i.submitButton = e.target), + t(e.target).hasClass("cancel") && (i.cancelSubmit = !0), + void 0 !== t(e.target).attr("formnovalidate") && + (i.cancelSubmit = !0); + }), + this.submit(function (e) { + function s() { + var s; + return i.settings.submitHandler + ? (i.submitButton && + (s = t("") + .attr("name", i.submitButton.name) + .val(t(i.submitButton).val()) + .appendTo(i.currentForm)), + i.settings.submitHandler.call(i, i.currentForm, e), + i.submitButton && s.remove(), + !1) + : !0; + } + return ( + i.settings.debug && e.preventDefault(), + i.cancelSubmit + ? ((i.cancelSubmit = !1), s()) + : i.form() + ? i.pendingRequest + ? ((i.formSubmitted = !0), !1) + : s() + : (i.focusInvalid(), !1) + ); + })), + i); + }, + valid: function () { + if (t(this[0]).is("form")) return this.validate().form(); + var e = !0, + i = t(this[0].form).validate(); + return ( + this.each(function () { + e = e && i.element(this); + }), + e + ); + }, + removeAttrs: function (e) { + var i = {}, + s = this; + return ( + t.each(e.split(/\s/), function (t, e) { + (i[e] = s.attr(e)), s.removeAttr(e); + }), + i + ); + }, + rules: function (e, i) { + var s = this[0]; + if (e) { + var r = t.data(s.form, "validator").settings, + n = r.rules, + a = t.validator.staticRules(s); + switch (e) { + case "add": + t.extend(a, t.validator.normalizeRule(i)), + delete a.messages, + (n[s.name] = a), + i.messages && + (r.messages[s.name] = t.extend(r.messages[s.name], i.messages)); + break; + case "remove": + if (!i) return delete n[s.name], a; + var u = {}; + return ( + t.each(i.split(/\s/), function (t, e) { + (u[e] = a[e]), delete a[e]; + }), + u + ); + } + } + var o = t.validator.normalizeRules( + t.extend( + {}, + t.validator.classRules(s), + t.validator.attributeRules(s), + t.validator.dataRules(s), + t.validator.staticRules(s) + ), + s + ); + if (o.required) { + var l = o.required; + delete o.required, (o = t.extend({ required: l }, o)); + } + return o; + }, + }), + t.extend(t.expr[":"], { + blank: function (e) { + return !t.trim("" + t(e).val()); + }, + filled: function (e) { + return !!t.trim("" + t(e).val()); + }, + unchecked: function (e) { + return !t(e).prop("checked"); + }, + }), + (t.validator = function (e, i) { + (this.settings = t.extend(!0, {}, t.validator.defaults, e)), + (this.currentForm = i), + this.init(); + }), + (t.validator.format = function (e, i) { + return 1 === arguments.length + ? function () { + var i = t.makeArray(arguments); + return i.unshift(e), t.validator.format.apply(this, i); + } + : (arguments.length > 2 && + i.constructor !== Array && + (i = t.makeArray(arguments).slice(1)), + i.constructor !== Array && (i = [i]), + t.each(i, function (t, i) { + e = e.replace(RegExp("\\{" + t + "\\}", "g"), function () { + return i; + }); + }), + e); + }), + t.extend(t.validator, { + defaults: { + messages: {}, + groups: {}, + rules: {}, + errorClass: "error", + validClass: "valid", + errorElement: "label", + focusInvalid: !0, + errorContainer: t([]), + errorLabelContainer: t([]), + onsubmit: !0, + ignore: ":hidden", + ignoreTitle: !1, + onfocusin: function (t) { + (this.lastActive = t), + this.settings.focusCleanup && + !this.blockFocusCleanup && + (this.settings.unhighlight && + this.settings.unhighlight.call( + this, + t, + this.settings.errorClass, + this.settings.validClass + ), + this.addWrapper(this.errorsFor(t)).hide()); + }, + onfocusout: function (t) { + this.checkable(t) || + (!(t.name in this.submitted) && this.optional(t)) || + this.element(t); + }, + onkeyup: function (t, e) { + (9 !== e.which || "" !== this.elementValue(t)) && + (t.name in this.submitted || t === this.lastElement) && + this.element(t); + }, + onclick: function (t) { + t.name in this.submitted + ? this.element(t) + : t.parentNode.name in this.submitted && this.element(t.parentNode); + }, + highlight: function (e, i, s) { + "radio" === e.type + ? this.findByName(e.name).addClass(i).removeClass(s) + : t(e).addClass(i).removeClass(s); + }, + unhighlight: function (e, i, s) { + "radio" === e.type + ? this.findByName(e.name).removeClass(i).addClass(s) + : t(e).removeClass(i).addClass(s); + }, + }, + setDefaults: function (e) { + t.extend(t.validator.defaults, e); + }, + messages: { + required: "This field is required.", + remote: "Please fix this field.", + email: "Please enter a valid email address.", + url: "Please enter a valid URL.", + date: "Please enter a valid date.", + dateISO: "Please enter a valid date (ISO).", + number: "Please enter a valid number.", + digits: "Please enter only digits.", + creditcard: "Please enter a valid credit card number.", + equalTo: "Please enter the same value again.", + maxlength: t.validator.format( + "Please enter no more than {0} characters." + ), + minlength: t.validator.format("Please enter at least {0} characters."), + rangelength: t.validator.format( + "Please enter a value between {0} and {1} characters long." + ), + range: t.validator.format("Please enter a value between {0} and {1}."), + max: t.validator.format( + "Please enter a value less than or equal to {0}." + ), + min: t.validator.format( + "Please enter a value greater than or equal to {0}." + ), + }, + autoCreateRanges: !1, + prototype: { + init: function () { + function e(e) { + var i = t.data(this[0].form, "validator"), + s = "on" + e.type.replace(/^validate/, ""); + i.settings[s] && i.settings[s].call(i, this[0], e); + } + (this.labelContainer = t(this.settings.errorLabelContainer)), + (this.errorContext = + (this.labelContainer.length && this.labelContainer) || + t(this.currentForm)), + (this.containers = t(this.settings.errorContainer).add( + this.settings.errorLabelContainer + )), + (this.submitted = {}), + (this.valueCache = {}), + (this.pendingRequest = 0), + (this.pending = {}), + (this.invalid = {}), + this.reset(); + var i = (this.groups = {}); + t.each(this.settings.groups, function (e, s) { + "string" == typeof s && (s = s.split(/\s/)), + t.each(s, function (t, s) { + i[s] = e; + }); + }); + var s = this.settings.rules; + t.each(s, function (e, i) { + s[e] = t.validator.normalizeRule(i); + }), + t(this.currentForm) + .validateDelegate( + ":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ", + "focusin focusout keyup", + e + ) + .validateDelegate( + "[type='radio'], [type='checkbox'], select, option", + "click", + e + ), + this.settings.invalidHandler && + t(this.currentForm).bind( + "invalid-form.validate", + this.settings.invalidHandler + ); + }, + form: function () { + return ( + this.checkForm(), + t.extend(this.submitted, this.errorMap), + (this.invalid = t.extend({}, this.errorMap)), + this.valid() || + t(this.currentForm).triggerHandler("invalid-form", [this]), + this.showErrors(), + this.valid() + ); + }, + checkForm: function () { + this.prepareForm(); + for ( + var t = 0, e = (this.currentElements = this.elements()); + e[t]; + t++ + ) + this.check(e[t]); + return this.valid(); + }, + element: function (e) { + (e = this.validationTargetFor(this.clean(e))), + (this.lastElement = e), + this.prepareElement(e), + (this.currentElements = t(e)); + var i = this.check(e) !== !1; + return ( + i ? delete this.invalid[e.name] : (this.invalid[e.name] = !0), + this.numberOfInvalids() || + (this.toHide = this.toHide.add(this.containers)), + this.showErrors(), + i + ); + }, + showErrors: function (e) { + if (e) { + t.extend(this.errorMap, e), (this.errorList = []); + for (var i in e) + this.errorList.push({ + message: e[i], + element: this.findByName(i)[0], + }); + this.successList = t.grep(this.successList, function (t) { + return !(t.name in e); + }); + } + this.settings.showErrors + ? this.settings.showErrors.call(this, this.errorMap, this.errorList) + : this.defaultShowErrors(); + }, + resetForm: function () { + t.fn.resetForm && t(this.currentForm).resetForm(), + (this.submitted = {}), + (this.lastElement = null), + this.prepareForm(), + this.hideErrors(), + this.elements() + .removeClass(this.settings.errorClass) + .removeData("previousValue"); + }, + numberOfInvalids: function () { + return this.objectLength(this.invalid); + }, + objectLength: function (t) { + var e = 0; + for (var i in t) e++; + return e; + }, + hideErrors: function () { + this.addWrapper(this.toHide).hide(); + }, + valid: function () { + return 0 === this.size(); + }, + size: function () { + return this.errorList.length; + }, + focusInvalid: function () { + if (this.settings.focusInvalid) + try { + t( + this.findLastActive() || + (this.errorList.length && this.errorList[0].element) || + [] + ) + .filter(":visible") + .focus() + .trigger("focusin"); + } catch (e) {} + }, + findLastActive: function () { + var e = this.lastActive; + return ( + e && + 1 === + t.grep(this.errorList, function (t) { + return t.element.name === e.name; + }).length && + e + ); + }, + elements: function () { + var e = this, + i = {}; + return t(this.currentForm) + .find("input, select, textarea") + .not(":submit, :reset, :image, [disabled]") + .not(this.settings.ignore) + .filter(function () { + return ( + !this.name && + e.settings.debug && + window.console && + console.error("%o has no name assigned", this), + this.name in i || !e.objectLength(t(this).rules()) + ? !1 + : ((i[this.name] = !0), !0) + ); + }); + }, + clean: function (e) { + return t(e)[0]; + }, + errors: function () { + var e = this.settings.errorClass.replace(" ", "."); + return t(this.settings.errorElement + "." + e, this.errorContext); + }, + reset: function () { + (this.successList = []), + (this.errorList = []), + (this.errorMap = {}), + (this.toShow = t([])), + (this.toHide = t([])), + (this.currentElements = t([])); + }, + prepareForm: function () { + this.reset(), (this.toHide = this.errors().add(this.containers)); + }, + prepareElement: function (t) { + this.reset(), (this.toHide = this.errorsFor(t)); + }, + elementValue: function (e) { + var i = t(e).attr("type"), + s = t(e).val(); + return "radio" === i || "checkbox" === i + ? t("input[name='" + t(e).attr("name") + "']:checked").val() + : "string" == typeof s + ? s.replace(/\r/g, "") + : s; + }, + check: function (e) { + e = this.validationTargetFor(this.clean(e)); + var i, + s = t(e).rules(), + r = !1, + n = this.elementValue(e); + for (var a in s) { + var u = { method: a, parameters: s[a] }; + try { + if ( + ((i = t.validator.methods[a].call(this, n, e, u.parameters)), + "dependency-mismatch" === i) + ) { + r = !0; + continue; + } + if (((r = !1), "pending" === i)) + return ( + (this.toHide = this.toHide.not(this.errorsFor(e))), void 0 + ); + if (!i) return this.formatAndAdd(e, u), !1; + } catch (o) { + throw ( + (this.settings.debug && + window.console && + console.log( + "Exception occurred when checking element " + + e.id + + ", check the '" + + u.method + + "' method.", + o + ), + o) + ); + } + } + return r + ? void 0 + : (this.objectLength(s) && this.successList.push(e), !0); + }, + customDataMessage: function (e, i) { + return ( + t(e).data("msg-" + i.toLowerCase()) || + (e.attributes && t(e).attr("data-msg-" + i.toLowerCase())) + ); + }, + customMessage: function (t, e) { + var i = this.settings.messages[t]; + return i && (i.constructor === String ? i : i[e]); + }, + findDefined: function () { + for (var t = 0; arguments.length > t; t++) + if (void 0 !== arguments[t]) return arguments[t]; + return void 0; + }, + defaultMessage: function (e, i) { + return this.findDefined( + this.customMessage(e.name, i), + this.customDataMessage(e, i), + (!this.settings.ignoreTitle && e.title) || void 0, + t.validator.messages[i], + "Warning: No message defined for " + e.name + "" + ); + }, + formatAndAdd: function (e, i) { + var s = this.defaultMessage(e, i.method), + r = /\$?\{(\d+)\}/g; + "function" == typeof s + ? (s = s.call(this, i.parameters, e)) + : r.test(s) && + (s = t.validator.format(s.replace(r, "{$1}"), i.parameters)), + this.errorList.push({ message: s, element: e }), + (this.errorMap[e.name] = s), + (this.submitted[e.name] = s); + }, + addWrapper: function (t) { + return ( + this.settings.wrapper && + (t = t.add(t.parent(this.settings.wrapper))), + t + ); + }, + defaultShowErrors: function () { + var t, e; + for (t = 0; this.errorList[t]; t++) { + var i = this.errorList[t]; + this.settings.highlight && + this.settings.highlight.call( + this, + i.element, + this.settings.errorClass, + this.settings.validClass + ), + this.showLabel(i.element, i.message); + } + if ( + (this.errorList.length && + (this.toShow = this.toShow.add(this.containers)), + this.settings.success) + ) + for (t = 0; this.successList[t]; t++) + this.showLabel(this.successList[t]); + if (this.settings.unhighlight) + for (t = 0, e = this.validElements(); e[t]; t++) + this.settings.unhighlight.call( + this, + e[t], + this.settings.errorClass, + this.settings.validClass + ); + (this.toHide = this.toHide.not(this.toShow)), + this.hideErrors(), + this.addWrapper(this.toShow).show(); + }, + validElements: function () { + return this.currentElements.not(this.invalidElements()); + }, + invalidElements: function () { + return t(this.errorList).map(function () { + return this.element; + }); + }, + showLabel: function (e, i) { + var s = this.errorsFor(e); + s.length + ? (s + .removeClass(this.settings.validClass) + .addClass(this.settings.errorClass), + s.html(i)) + : ((s = t("<" + this.settings.errorElement + ">") + .attr("for", this.idOrName(e)) + .addClass(this.settings.errorClass) + .html(i || "")), + this.settings.wrapper && + (s = s + .hide() + .show() + .wrap("<" + this.settings.wrapper + "/>") + .parent()), + this.labelContainer.append(s).length || + (this.settings.errorPlacement + ? this.settings.errorPlacement(s, t(e)) + : s.insertAfter(e))), + !i && + this.settings.success && + (s.text(""), + "string" == typeof this.settings.success + ? s.addClass(this.settings.success) + : this.settings.success(s, e)), + (this.toShow = this.toShow.add(s)); + }, + errorsFor: function (e) { + var i = this.idOrName(e); + return this.errors().filter(function () { + return t(this).attr("for") === i; + }); + }, + idOrName: function (t) { + return ( + this.groups[t.name] || (this.checkable(t) ? t.name : t.id || t.name) + ); + }, + validationTargetFor: function (t) { + return ( + this.checkable(t) && + (t = this.findByName(t.name).not(this.settings.ignore)[0]), + t + ); + }, + checkable: function (t) { + return /radio|checkbox/i.test(t.type); + }, + findByName: function (e) { + return t(this.currentForm).find("[name='" + e + "']"); + }, + getLength: function (e, i) { + switch (i.nodeName.toLowerCase()) { + case "select": + return t("option:selected", i).length; + case "input": + if (this.checkable(i)) + return this.findByName(i.name).filter(":checked").length; + } + return e.length; + }, + depend: function (t, e) { + return this.dependTypes[typeof t] + ? this.dependTypes[typeof t](t, e) + : !0; + }, + dependTypes: { + boolean: function (t) { + return t; + }, + string: function (e, i) { + return !!t(e, i.form).length; + }, + function: function (t, e) { + return t(e); + }, + }, + optional: function (e) { + var i = this.elementValue(e); + return ( + !t.validator.methods.required.call(this, i, e) && + "dependency-mismatch" + ); + }, + startRequest: function (t) { + this.pending[t.name] || + (this.pendingRequest++, (this.pending[t.name] = !0)); + }, + stopRequest: function (e, i) { + this.pendingRequest--, + 0 > this.pendingRequest && (this.pendingRequest = 0), + delete this.pending[e.name], + i && 0 === this.pendingRequest && this.formSubmitted && this.form() + ? (t(this.currentForm).submit(), (this.formSubmitted = !1)) + : !i && + 0 === this.pendingRequest && + this.formSubmitted && + (t(this.currentForm).triggerHandler("invalid-form", [this]), + (this.formSubmitted = !1)); + }, + previousValue: function (e) { + return ( + t.data(e, "previousValue") || + t.data(e, "previousValue", { + old: null, + valid: !0, + message: this.defaultMessage(e, "remote"), + }) + ); + }, + }, + classRuleSettings: { + required: { required: !0 }, + email: { email: !0 }, + url: { url: !0 }, + date: { date: !0 }, + dateISO: { dateISO: !0 }, + number: { number: !0 }, + digits: { digits: !0 }, + creditcard: { creditcard: !0 }, + }, + addClassRules: function (e, i) { + e.constructor === String + ? (this.classRuleSettings[e] = i) + : t.extend(this.classRuleSettings, e); + }, + classRules: function (e) { + var i = {}, + s = t(e).attr("class"); + return ( + s && + t.each(s.split(" "), function () { + this in t.validator.classRuleSettings && + t.extend(i, t.validator.classRuleSettings[this]); + }), + i + ); + }, + attributeRules: function (e) { + var i = {}, + s = t(e), + r = s[0].getAttribute("type"); + for (var n in t.validator.methods) { + var a; + "required" === n + ? ((a = s.get(0).getAttribute(n)), "" === a && (a = !0), (a = !!a)) + : (a = s.attr(n)), + /min|max/.test(n) && + (null === r || /number|range|text/.test(r)) && + (a = Number(a)), + a ? (i[n] = a) : r === n && "range" !== r && (i[n] = !0); + } + return ( + i.maxlength && + /-1|2147483647|524288/.test(i.maxlength) && + delete i.maxlength, + i + ); + }, + dataRules: function (e) { + var i, + s, + r = {}, + n = t(e); + for (i in t.validator.methods) + (s = n.data("rule-" + i.toLowerCase())), void 0 !== s && (r[i] = s); + return r; + }, + staticRules: function (e) { + var i = {}, + s = t.data(e.form, "validator"); + return ( + s.settings.rules && + (i = t.validator.normalizeRule(s.settings.rules[e.name]) || {}), + i + ); + }, + normalizeRules: function (e, i) { + return ( + t.each(e, function (s, r) { + if (r === !1) return delete e[s], void 0; + if (r.param || r.depends) { + var n = !0; + switch (typeof r.depends) { + case "string": + n = !!t(r.depends, i.form).length; + break; + case "function": + n = r.depends.call(i, i); + } + n ? (e[s] = void 0 !== r.param ? r.param : !0) : delete e[s]; + } + }), + t.each(e, function (s, r) { + e[s] = t.isFunction(r) ? r(i) : r; + }), + t.each(["minlength", "maxlength"], function () { + e[this] && (e[this] = Number(e[this])); + }), + t.each(["rangelength", "range"], function () { + var i; + e[this] && + (t.isArray(e[this]) + ? (e[this] = [Number(e[this][0]), Number(e[this][1])]) + : "string" == typeof e[this] && + ((i = e[this].split(/[\s,]+/)), + (e[this] = [Number(i[0]), Number(i[1])]))); + }), + t.validator.autoCreateRanges && + (e.min && + e.max && + ((e.range = [e.min, e.max]), delete e.min, delete e.max), + e.minlength && + e.maxlength && + ((e.rangelength = [e.minlength, e.maxlength]), + delete e.minlength, + delete e.maxlength)), + e + ); + }, + normalizeRule: function (e) { + if ("string" == typeof e) { + var i = {}; + t.each(e.split(/\s/), function () { + i[this] = !0; + }), + (e = i); + } + return e; + }, + addMethod: function (e, i, s) { + (t.validator.methods[e] = i), + (t.validator.messages[e] = + void 0 !== s ? s : t.validator.messages[e]), + 3 > i.length && + t.validator.addClassRules(e, t.validator.normalizeRule(e)); + }, + methods: { + required: function (e, i, s) { + if (!this.depend(s, i)) return "dependency-mismatch"; + if ("select" === i.nodeName.toLowerCase()) { + var r = t(i).val(); + return r && r.length > 0; + } + return this.checkable(i) + ? this.getLength(e, i) > 0 + : t.trim(e).length > 0; + }, + email: function (t, e) { + return ( + this.optional(e) || + /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test( + t + ) + ); + }, + url: function (t, e) { + return ( + this.optional(e) || + /^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test( + t + ) + ); + }, + date: function (t, e) { + return this.optional(e) || !/Invalid|NaN/.test("" + new Date(t)); + }, + dateISO: function (t, e) { + return ( + this.optional(e) || /^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/.test(t) + ); + }, + number: function (t, e) { + return ( + this.optional(e) || + /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t) + ); + }, + digits: function (t, e) { + return this.optional(e) || /^\d+$/.test(t); + }, + creditcard: function (t, e) { + if (this.optional(e)) return "dependency-mismatch"; + if (/[^0-9 \-]+/.test(t)) return !1; + var i = 0, + s = 0, + r = !1; + t = t.replace(/\D/g, ""); + for (var n = t.length - 1; n >= 0; n--) { + var a = t.charAt(n); + (s = parseInt(a, 10)), + r && (s *= 2) > 9 && (s -= 9), + (i += s), + (r = !r); + } + return 0 === i % 10; + }, + minlength: function (e, i, s) { + var r = t.isArray(e) ? e.length : this.getLength(t.trim(e), i); + return this.optional(i) || r >= s; + }, + maxlength: function (e, i, s) { + var r = t.isArray(e) ? e.length : this.getLength(t.trim(e), i); + return this.optional(i) || s >= r; + }, + rangelength: function (e, i, s) { + var r = t.isArray(e) ? e.length : this.getLength(t.trim(e), i); + return this.optional(i) || (r >= s[0] && s[1] >= r); + }, + min: function (t, e, i) { + return this.optional(e) || t >= i; + }, + max: function (t, e, i) { + return this.optional(e) || i >= t; + }, + range: function (t, e, i) { + return this.optional(e) || (t >= i[0] && i[1] >= t); + }, + equalTo: function (e, i, s) { + var r = t(s); + return ( + this.settings.onfocusout && + r + .unbind(".validate-equalTo") + .bind("blur.validate-equalTo", function () { + t(i).valid(); + }), + e === r.val() + ); + }, + remote: function (e, i, s) { + if (this.optional(i)) return "dependency-mismatch"; + var r = this.previousValue(i); + if ( + (this.settings.messages[i.name] || + (this.settings.messages[i.name] = {}), + (r.originalMessage = this.settings.messages[i.name].remote), + (this.settings.messages[i.name].remote = r.message), + (s = ("string" == typeof s && { url: s }) || s), + r.old === e) + ) + return r.valid; + r.old = e; + var n = this; + this.startRequest(i); + var a = {}; + return ( + (a[i.name] = e), + t.ajax( + t.extend( + !0, + { + url: s, + mode: "abort", + port: "validate" + i.name, + dataType: "json", + data: a, + success: function (s) { + n.settings.messages[i.name].remote = r.originalMessage; + var a = s === !0 || "true" === s; + if (a) { + var u = n.formSubmitted; + n.prepareElement(i), + (n.formSubmitted = u), + n.successList.push(i), + delete n.invalid[i.name], + n.showErrors(); + } else { + var o = {}, + l = s || n.defaultMessage(i, "remote"); + (o[i.name] = r.message = t.isFunction(l) ? l(e) : l), + (n.invalid[i.name] = !0), + n.showErrors(o); + } + (r.valid = a), n.stopRequest(i, a); + }, + }, + s + ) + ), + "pending" + ); + }, + }, + }), + (t.format = t.validator.format); +})(jQuery), + (function (t) { + var e = {}; + if (t.ajaxPrefilter) + t.ajaxPrefilter(function (t, i, s) { + var r = t.port; + "abort" === t.mode && (e[r] && e[r].abort(), (e[r] = s)); + }); + else { + var i = t.ajax; + t.ajax = function (s) { + var r = ("mode" in s ? s : t.ajaxSettings).mode, + n = ("port" in s ? s : t.ajaxSettings).port; + return "abort" === r + ? (e[n] && e[n].abort(), (e[n] = i.apply(this, arguments)), e[n]) + : i.apply(this, arguments); + }; + } + })(jQuery), + (function (t) { + t.extend(t.fn, { + validateDelegate: function (e, i, s) { + return this.bind(i, function (i) { + var r = t(i.target); + return r.is(e) ? s.apply(r, arguments) : void 0; + }); + }, + }); + })(jQuery); diff --git a/SUBMISSION/IGNORAMUS/assets/js/mail-script.js b/SUBMISSION/IGNORAMUS/assets/js/mail-script.js index fe97112..381d2af 100644 --- a/SUBMISSION/IGNORAMUS/assets/js/mail-script.js +++ b/SUBMISSION/IGNORAMUS/assets/js/mail-script.js @@ -1,31 +1,31 @@ - // ------- Mail Send ajax +// ------- Mail Send ajax - $(document).ready(function() { - var form = $('#myForm'); // contact form - var submit = $('.submit-btn'); // submit button - var alert = $('.alert-msg'); // alert div for show alert message +$(document).ready(function () { + var form = $("#myForm"); // contact form + var submit = $(".submit-btn"); // submit button + var alert = $(".alert-msg"); // alert div for show alert message - // form submit event - form.on('submit', function(e) { - e.preventDefault(); // prevent default form submit + // form submit event + form.on("submit", function (e) { + e.preventDefault(); // prevent default form submit - $.ajax({ - url: 'mail.php', // form action url - type: 'POST', // form submit method get/post - dataType: 'html', // request type html/json/xml - data: form.serialize(), // serialize form data - beforeSend: function() { - alert.fadeOut(); - submit.html('Sending....'); // change submit button text - }, - success: function(data) { - alert.html(data).fadeIn(); // fade in response data - form.trigger('reset'); // reset form - submit.attr("style", "display: none !important");; // reset submit button text - }, - error: function(e) { - console.log(e) - } - }); - }); - }); \ No newline at end of file + $.ajax({ + url: "mail.php", // form action url + type: "POST", // form submit method get/post + dataType: "html", // request type html/json/xml + data: form.serialize(), // serialize form data + beforeSend: function () { + alert.fadeOut(); + submit.html("Sending...."); // change submit button text + }, + success: function (data) { + alert.html(data).fadeIn(); // fade in response data + form.trigger("reset"); // reset form + submit.attr("style", "display: none !important"); // reset submit button text + }, + error: function (e) { + console.log(e); + }, + }); + }); +}); diff --git a/SUBMISSION/IGNORAMUS/assets/js/main.js b/SUBMISSION/IGNORAMUS/assets/js/main.js index 405e587..9ee90f4 100644 --- a/SUBMISSION/IGNORAMUS/assets/js/main.js +++ b/SUBMISSION/IGNORAMUS/assets/js/main.js @@ -1,203 +1,215 @@ -(function ($) - { "use strict" - -/* 1. Proloder */ - $(window).on('load', function () { - $('#preloader-active').delay(450).fadeOut('slow'); - $('body').delay(450).css({ - 'overflow': 'visible' - }); - }); - -/* 2. sticky And Scroll UP */ - $(window).on('scroll', function () { - var scroll = $(window).scrollTop(); - if (scroll < 400) { - $(".header-sticky").removeClass("sticky-bar"); - $('#back-top').fadeOut(500); - } else { - $(".header-sticky").addClass("sticky-bar"); - $('#back-top').fadeIn(500); - } +(function ($) { + "use strict"; + + /* 1. Proloder */ + $(window).on("load", function () { + $("#preloader-active").delay(450).fadeOut("slow"); + $("body").delay(450).css({ + overflow: "visible", }); + }); + + /* 2. sticky And Scroll UP */ + $(window).on("scroll", function () { + var scroll = $(window).scrollTop(); + if (scroll < 400) { + $(".header-sticky").removeClass("sticky-bar"); + $("#back-top").fadeOut(500); + } else { + $(".header-sticky").addClass("sticky-bar"); + $("#back-top").fadeIn(500); + } + }); // Scroll Up - $('#back-top a').on("click", function () { - $('body,html').animate({ - scrollTop: 0 - }, 800); - return false; + $("#back-top a").on("click", function () { + $("body,html").animate( + { + scrollTop: 0, + }, + 800 + ); + return false; + }); + + /* 3. slick Nav */ + // mobile_menu + var menu = $("ul#navigation"); + if (menu.length) { + menu.slicknav({ + prependTo: ".mobile_menu", + closedSymbol: "+", + openedSymbol: "-", }); - - -/* 3. slick Nav */ -// mobile_menu - var menu = $('ul#navigation'); - if(menu.length){ - menu.slicknav({ - prependTo: ".mobile_menu", - closedSymbol: '+', - openedSymbol:'-' - }); - }; - -/* 4. MainSlider-1 */ - // h1-hero-active - function mainSlider() { - var BasicSlider = $('.slider-active'); - BasicSlider.on('init', function (e, slick) { - var $firstAnimatingElements = $('.single-slider:first-child').find('[data-animation]'); - doAnimations($firstAnimatingElements); - }); - BasicSlider.on('beforeChange', function (e, slick, currentSlide, nextSlide) { - var $animatingElements = $('.single-slider[data-slick-index="' + nextSlide + '"]').find('[data-animation]'); + } + + /* 4. MainSlider-1 */ + // h1-hero-active + function mainSlider() { + var BasicSlider = $(".slider-active"); + BasicSlider.on("init", function (e, slick) { + var $firstAnimatingElements = $(".single-slider:first-child").find( + "[data-animation]" + ); + doAnimations($firstAnimatingElements); + }); + BasicSlider.on( + "beforeChange", + function (e, slick, currentSlide, nextSlide) { + var $animatingElements = $( + '.single-slider[data-slick-index="' + nextSlide + '"]' + ).find("[data-animation]"); doAnimations($animatingElements); - }); - BasicSlider.slick({ - autoplay: false, - autoplaySpeed: 5000, - dots: false, - fade: true, - arrows: false, - prevArrow: '', - nextArrow: '', - responsive: [{ - breakpoint: 1024, - settings: { - slidesToShow: 1, - slidesToScroll: 1, - infinite: true, - } + } + ); + BasicSlider.slick({ + autoplay: false, + autoplaySpeed: 5000, + dots: false, + fade: true, + arrows: false, + prevArrow: + '', + nextArrow: + '', + responsive: [ + { + breakpoint: 1024, + settings: { + slidesToShow: 1, + slidesToScroll: 1, + infinite: true, }, - { - breakpoint: 991, - settings: { - slidesToShow: 1, - slidesToScroll: 1, - arrows: false - } + }, + { + breakpoint: 991, + settings: { + slidesToShow: 1, + slidesToScroll: 1, + arrows: false, }, - { - breakpoint: 767, - settings: { - slidesToShow: 1, - slidesToScroll: 1, - arrows: false - } - } - ] - }); + }, + { + breakpoint: 767, + settings: { + slidesToShow: 1, + slidesToScroll: 1, + arrows: false, + }, + }, + ], + }); - function doAnimations(elements) { - var animationEndEvents = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend'; - elements.each(function () { - var $this = $(this); - var $animationDelay = $this.data('delay'); - var $animationType = 'animated ' + $this.data('animation'); - $this.css({ - 'animation-delay': $animationDelay, - '-webkit-animation-delay': $animationDelay - }); - $this.addClass($animationType).one(animationEndEvents, function () { - $this.removeClass($animationType); - }); + function doAnimations(elements) { + var animationEndEvents = + "webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend"; + elements.each(function () { + var $this = $(this); + var $animationDelay = $this.data("delay"); + var $animationType = "animated " + $this.data("animation"); + $this.css({ + "animation-delay": $animationDelay, + "-webkit-animation-delay": $animationDelay, }); - } + $this.addClass($animationType).one(animationEndEvents, function () { + $this.removeClass($animationType); + }); + }); } - mainSlider(); + } + mainSlider(); -/* 5. Testimonial Active*/ + /* 5. Testimonial Active*/ -/* 4. Testimonial Active*/ - var testimonial = $('.h1-testimonial-active'); - if(testimonial.length){ + /* 4. Testimonial Active*/ + var testimonial = $(".h1-testimonial-active"); + if (testimonial.length) { testimonial.slick({ - dots: false, - infinite: true, - speed: 1000, - autoplay:false, - loop:true, - arrows: true, - prevArrow: '', - nextArrow: '', - slidesToShow: 1, - slidesToScroll: 1, - responsive: [ - { - breakpoint: 1024, - settings: { - slidesToShow: 1, - slidesToScroll: 1, - infinite: true, - dots: false, - arrow:false - } + dots: false, + infinite: true, + speed: 1000, + autoplay: false, + loop: true, + arrows: true, + prevArrow: + '', + nextArrow: + '', + slidesToShow: 1, + slidesToScroll: 1, + responsive: [ + { + breakpoint: 1024, + settings: { + slidesToShow: 1, + slidesToScroll: 1, + infinite: true, + dots: false, + arrow: false, }, - { - breakpoint: 600, - settings: { - slidesToShow: 1, - slidesToScroll: 1, - arrows:false - } + }, + { + breakpoint: 600, + settings: { + slidesToShow: 1, + slidesToScroll: 1, + arrows: false, }, - { - breakpoint: 480, - settings: { - slidesToShow: 1, - slidesToScroll: 1, - arrows:false, - } - } - ] - }); - } - - - -/* 6. Nice Selectorp */ - var nice_Select = $('select'); - if(nice_Select.length){ - nice_Select.niceSelect(); - } - -/* 7. data-background */ - $("[data-background]").each(function () { - $(this).css("background-image", "url(" + $(this).attr("data-background") + ")") - }); - - -/* 10. WOW active */ - new WOW().init(); - -// 11. ---- Mailchimp js --------// - function mailChimp() { - $('#mc_embed_signup').find('form').ajaxChimp(); - } - mailChimp(); - - -// 12 Pop Up Img - var popUp = $('.single_gallery_part, .img-pop-up'); - if(popUp.length){ - popUp.magnificPopup({ - type: 'image', - gallery:{ - enabled:true - } - }); - } -/* 13. counterUp*/ - $('.counter').counterUp({ - delay: 10, - time: 3000 + }, + { + breakpoint: 480, + settings: { + slidesToShow: 1, + slidesToScroll: 1, + arrows: false, + }, + }, + ], }); - -/* 14. Datepicker */ - $('#datepicker1').datepicker(); - -// 15. Time Picker - $('#timepicker').timepicker(); - - + } + + /* 6. Nice Selectorp */ + var nice_Select = $("select"); + if (nice_Select.length) { + nice_Select.niceSelect(); + } + + /* 7. data-background */ + $("[data-background]").each(function () { + $(this).css( + "background-image", + "url(" + $(this).attr("data-background") + ")" + ); + }); + + /* 10. WOW active */ + new WOW().init(); + + // 11. ---- Mailchimp js --------// + function mailChimp() { + $("#mc_embed_signup").find("form").ajaxChimp(); + } + mailChimp(); + + // 12 Pop Up Img + var popUp = $(".single_gallery_part, .img-pop-up"); + if (popUp.length) { + popUp.magnificPopup({ + type: "image", + gallery: { + enabled: true, + }, + }); + } + /* 13. counterUp*/ + $(".counter").counterUp({ + delay: 10, + time: 3000, + }); + + /* 14. Datepicker */ + $("#datepicker1").datepicker(); + + // 15. Time Picker + $("#timepicker").timepicker(); })(jQuery); diff --git a/SUBMISSION/IGNORAMUS/assets/js/one-page-nav-min.js b/SUBMISSION/IGNORAMUS/assets/js/one-page-nav-min.js index 2aa1db3..cf21c4a 100644 --- a/SUBMISSION/IGNORAMUS/assets/js/one-page-nav-min.js +++ b/SUBMISSION/IGNORAMUS/assets/js/one-page-nav-min.js @@ -16,4 +16,130 @@ * scrollSpeed: 750 * }); */ -!function (t, i, n, s) { var e = function (s, e) { this.elem = s, this.$elem = t(s), this.options = e, this.metadata = this.$elem.data("plugin-options"), this.$win = t(i), this.sections = {}, this.didScroll = !1, this.$doc = t(n), this.docHeight = this.$doc.height() }; e.prototype = { defaults: { navItems: "a", currentClass: "current", changeHash: !1, easing: "swing", filter: "", scrollSpeed: 750, scrollThreshold: .5, begin: !1, end: !1, scrollChange: !1 }, init: function () { return this.config = t.extend({}, this.defaults, this.options, this.metadata), this.$nav = this.$elem.find(this.config.navItems), "" !== this.config.filter && (this.$nav = this.$nav.filter(this.config.filter)), this.$nav.on("click.onePageNav", t.proxy(this.handleClick, this)), this.getPositions(), this.bindInterval(), this.$win.on("resize.onePageNav", t.proxy(this.getPositions, this)), this }, adjustNav: function (t, i) { t.$elem.find("." + t.config.currentClass).removeClass(t.config.currentClass), i.addClass(t.config.currentClass) }, bindInterval: function () { var t, i = this; i.$win.on("scroll.onePageNav", function () { i.didScroll = !0 }), i.t = setInterval(function () { t = i.$doc.height(), i.didScroll && (i.didScroll = !1, i.scrollChange()), t !== i.docHeight && (i.docHeight = t, i.getPositions()) }, 250) }, getHash: function (t) { return t.attr("href").split("#")[1] }, getPositions: function () { var i, n, s, e = this; e.$nav.each(function () { i = e.getHash(t(this)), s = t("#" + i), s.length && (n = s.offset().top, e.sections[i] = Math.round(n)) }) }, getSection: function (t) { var i = null, n = Math.round(this.$win.height() * this.config.scrollThreshold); for (var s in this.sections) this.sections[s] - n < t && (i = s); return i }, handleClick: function (n) { var s = this, e = t(n.currentTarget), o = e.parent(), a = "#" + s.getHash(e); o.hasClass(s.config.currentClass) || (s.config.begin && s.config.begin(), s.adjustNav(s, o), s.unbindInterval(), s.scrollTo(a, function () { s.config.changeHash && (i.location.hash = a), s.bindInterval(), s.config.end && s.config.end() })), n.preventDefault() }, scrollChange: function () { var t, i = this.$win.scrollTop(), n = this.getSection(i); null !== n && (t = this.$elem.find('a[href$="#' + n + '"]').parent(), t.hasClass(this.config.currentClass) || (this.adjustNav(this, t), this.config.scrollChange && this.config.scrollChange(t))) }, scrollTo: function (i, n) { var s = t(i).offset().top; t("html, body").animate({ scrollTop: s - this.config.scrollOffset }, this.config.scrollSpeed, this.config.easing, n) }, unbindInterval: function () { clearInterval(this.t), this.$win.unbind("scroll.onePageNav") } }, e.defaults = e.prototype.defaults, t.fn.onePageNav = function (t) { return this.each(function () { new e(this, t).init() }) } }(jQuery, window, document); \ No newline at end of file +!(function (t, i, n, s) { + var e = function (s, e) { + (this.elem = s), + (this.$elem = t(s)), + (this.options = e), + (this.metadata = this.$elem.data("plugin-options")), + (this.$win = t(i)), + (this.sections = {}), + (this.didScroll = !1), + (this.$doc = t(n)), + (this.docHeight = this.$doc.height()); + }; + (e.prototype = { + defaults: { + navItems: "a", + currentClass: "current", + changeHash: !1, + easing: "swing", + filter: "", + scrollSpeed: 750, + scrollThreshold: 0.5, + begin: !1, + end: !1, + scrollChange: !1, + }, + init: function () { + return ( + (this.config = t.extend( + {}, + this.defaults, + this.options, + this.metadata + )), + (this.$nav = this.$elem.find(this.config.navItems)), + "" !== this.config.filter && + (this.$nav = this.$nav.filter(this.config.filter)), + this.$nav.on("click.onePageNav", t.proxy(this.handleClick, this)), + this.getPositions(), + this.bindInterval(), + this.$win.on("resize.onePageNav", t.proxy(this.getPositions, this)), + this + ); + }, + adjustNav: function (t, i) { + t.$elem + .find("." + t.config.currentClass) + .removeClass(t.config.currentClass), + i.addClass(t.config.currentClass); + }, + bindInterval: function () { + var t, + i = this; + i.$win.on("scroll.onePageNav", function () { + i.didScroll = !0; + }), + (i.t = setInterval(function () { + (t = i.$doc.height()), + i.didScroll && ((i.didScroll = !1), i.scrollChange()), + t !== i.docHeight && ((i.docHeight = t), i.getPositions()); + }, 250)); + }, + getHash: function (t) { + return t.attr("href").split("#")[1]; + }, + getPositions: function () { + var i, + n, + s, + e = this; + e.$nav.each(function () { + (i = e.getHash(t(this))), + (s = t("#" + i)), + s.length && ((n = s.offset().top), (e.sections[i] = Math.round(n))); + }); + }, + getSection: function (t) { + var i = null, + n = Math.round(this.$win.height() * this.config.scrollThreshold); + for (var s in this.sections) this.sections[s] - n < t && (i = s); + return i; + }, + handleClick: function (n) { + var s = this, + e = t(n.currentTarget), + o = e.parent(), + a = "#" + s.getHash(e); + o.hasClass(s.config.currentClass) || + (s.config.begin && s.config.begin(), + s.adjustNav(s, o), + s.unbindInterval(), + s.scrollTo(a, function () { + s.config.changeHash && (i.location.hash = a), + s.bindInterval(), + s.config.end && s.config.end(); + })), + n.preventDefault(); + }, + scrollChange: function () { + var t, + i = this.$win.scrollTop(), + n = this.getSection(i); + null !== n && + ((t = this.$elem.find('a[href$="#' + n + '"]').parent()), + t.hasClass(this.config.currentClass) || + (this.adjustNav(this, t), + this.config.scrollChange && this.config.scrollChange(t))); + }, + scrollTo: function (i, n) { + var s = t(i).offset().top; + t("html, body").animate( + { scrollTop: s - this.config.scrollOffset }, + this.config.scrollSpeed, + this.config.easing, + n + ); + }, + unbindInterval: function () { + clearInterval(this.t), this.$win.unbind("scroll.onePageNav"); + }, + }), + (e.defaults = e.prototype.defaults), + (t.fn.onePageNav = function (t) { + return this.each(function () { + new e(this, t).init(); + }); + }); +})(jQuery, window, document); diff --git a/SUBMISSION/IGNORAMUS/assets/js/owl.carousel.min.js b/SUBMISSION/IGNORAMUS/assets/js/owl.carousel.min.js index 9b9566f..e98f3a2 100644 --- a/SUBMISSION/IGNORAMUS/assets/js/owl.carousel.min.js +++ b/SUBMISSION/IGNORAMUS/assets/js/owl.carousel.min.js @@ -3,5 +3,1994 @@ * Copyright 2013-2017 David Deutsch * Licensed under () */ -!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},a.each(["onResize","onThrottledResize"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Type={Event:"event",State:"state"},e.Plugins={},e.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(a){var b=this.settings.margin||"",c=!this.settings.autoWidth,d=this.settings.rtl,e={width:"auto","margin-left":d?b:"","margin-right":d?"":b};!c&&this.$stage.children().css(e),a.css=e}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:["items","settings"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h="",i="";for(g/=2;g--;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i;this._clones=b,a(h).addClass("cloned").appendTo(this.$stage),a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],e.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var b,c,e;b=this.$element.find("img"),c=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,e=this.$element.children(c).width(),b.length&&e<=0&&this.preloadAutoWidthImages(b)}this.$element.addClass(this.options.loadingClass),this.$stage=a("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('
        '),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),"function"==typeof e.stagePadding&&(e.stagePadding=e.stagePadding()),delete e.responsive,e.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+d))):e=a.extend({},this.options),this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},e.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b0)&&this._pipe[b].run(e),b++;this._invalidated={},!this.is("valid")&&this.enter("valid")},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},e.prototype.registerEventHandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this)),this.settings.responsive!==!1&&this.on(b,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this)))},e.prototype.onDragStart=function(b){var d=null;3!==b.which&&(a.support.transform?(d=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),d={x:d[16===d.length?12:4],y:d[16===d.length?13:5]}):(d=this.$stage.position(),d={x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is("animating")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===b.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this)),a(c).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this)),Math.abs(d.x)0^this.settings.rtl?"left":"right";a(c).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==d.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==d.x?f:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=f,(Math.abs(d.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},e.prototype.closest=function(b,c){var d=-1,e=30,f=this.width(),g=this.coordinates();return this.settings.freeDrag||a.each(g,a.proxy(function(a,h){return"left"===c&&b>h-e&&bh-f-e&&b",g[a+1]||h-f)&&(d="left"===c?a+1:a),d===-1},this)),this.settings.loop||(this.op(b,">",g[this.minimum()])?d=b=this.minimum():this.op(b,"<",g[this.maximum()])&&(d=b=this.maximum())),d},e.prototype.animate=function(b){var c=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),c&&(this.enter("animating"),this.trigger("translate")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:"translate3d("+b+"px,0px,0px)",transition:this.speed()/1e3+"s"}):c?this.$stage.animate({left:b+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this)):this.$stage.css({left:b+"px"})},e.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(b){return"string"===a.type(b)&&(this._invalidated[b]=!0,this.is("valid")&&this.leave("valid")),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){a=this.normalize(a),a!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(a,b){var c=this._items.length,e=b?0:this._clones.length;return!this.isNumeric(a)||c<1?a=d:(a<0||a>=c+e)&&(a=((a-e/2)%c+c)%c+e/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){for(b=this._items.length,c=this._items[--b].width(),d=this.$element.width();b--&&(c+=this._items[b].width()+this.settings.margin,!(c>d)););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),Math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2===0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,c=Math.ceil(c))},e.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(a,b){var c=this.current(),d=null,e=a-this.relative(c),f=(e>0)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(e)>g/2&&(e+=f*-1*g),a=c+e,d=((a-h)%g+g)%g+h,d!==a&&d-e<=i&&d-e>0&&(c=d-e,a=d,this.reset(c))):this.settings.rewind?(i+=1,a=(a%i+i)%i):a=Math.max(h,Math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.$element.is(":visible")&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.onTransitionEnd=function(a){if(a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},e.prototype.viewport=function(){var d;return this.options.responsiveBaseElement!==b?d=a(this.options.responsiveBaseElement).width():b.innerWidth?d=b.innerWidth:c.documentElement&&c.documentElement.clientWidth?d=c.documentElement.clientWidth:console.warn("Can not detect viewport width."),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jQuery?b:a(b),this.trigger("add",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate("items"),this.trigger("added",{content:b,position:c})},e.prototype.remove=function(a){a=this.normalize(a,!0),a!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.preloadAutoWidthImages=function(b){b.each(a.proxy(function(b,c){this.enter("pre-loading"),c=a(c),a(new Image).one("load",a.proxy(function(a){c.attr("src",a.target.src),c.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",c.attr("src")||c.attr("data-src")||c.attr("data-src-retina"))},this))},e.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),a(c).off(".owl.core"),this.settings.responsive!==!1&&(b.clearTimeout(this.resizeTimer),this.off(b,"resize",this._handlers.onThrottledResize));for(var d in this._plugins)this._plugins[d].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:a":return d?ac;case">=":return d?a<=c:a>=c;case"<=":return d?a>=c:a<=c}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),j=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(j)}),this.register({type:e.Type.Event,name:b}),this.$element.trigger(j),this.settings&&"function"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){if(b.type===e.Type.Event){if(a.event.special[b.name]||(a.event.special[b.name]={}),!a.event.special[b.name].owl){var c=a.event.special[b.name]._default;a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&a.namespace.indexOf("owl")!==-1?a.namespace&&a.namespace.indexOf("owl")>-1:c.apply(this,arguments)},a.event.special[b.name].owl=!0}}else b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return a=a.originalEvent||a||b.event,a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,a.pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data("owl.carousel");f||(f=new e(this,"object"==typeof b&&b),d.data("owl.carousel",f),a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(b,c){f.register({type:e.Type.Event,name:c}),f.$element.on(c+".owl.carousel.core",a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),"string"==typeof b&&"_"!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},e.prototype.destroy=function(){var a,c;b.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type))for(var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&e*-1||0,g=(b.property&&b.property.value!==d?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);f++-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":'url("'+g+'")',opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&"position"==a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.$stage.children().toArray().slice(b,c),e=[],f=0;a.each(d,function(b,c){e.push(a(c).height())}),f=Math.max.apply(null,e),this._core.$stage.parent().height(f).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=function(){return a.attr("data-vimeo-id")?"vimeo":a.attr("data-vzaar-id")?"vzaar":"youtube"}(),d=a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else if(d[3].indexOf("vimeo")>-1)c="vimeo";else{if(!(d[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");c="vzaar"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?'style="width:'+c.width+"px;height:"+c.height+'px;"':"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(a){e='
        ',d=k.lazyLoad?'
        ':'
        ',b.after(d),b.after(e)};if(b.wrap('
        "),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length)return l(h.attr(i)),h.remove(),!1;"youtube"===c.type?(f="//img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type?a.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}):"vzaar"===c.type&&a.ajax({type:"GET",url:"//vzaar.com/api/videos/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a.framegrab_url,l(f)}})},e.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},e.prototype.play=function(b){var c,d=a(b.target),e=d.closest("."+this._core.settings.itemClass),f=this._videos[e.attr("data-video")],g=f.width||"100%",h=f.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),"youtube"===f.type?c='':"vimeo"===f.type?c='':"vzaar"===f.type&&(c=''),a('
        '+c+"
        ").insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return b&&a(b).parent().hasClass("owl-video-frame")},e.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":a.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g)),f&&e.one(a.support.animation.end,c).addClass("animated owl-animated-in").addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)}, -a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":a.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype.play=function(a,b){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},e.prototype._getNextTimeout=function(d,e){return this._timeout&&b.clearTimeout(this._timeout),b.setTimeout(a.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||c.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},this),d||this._core.settings.autoplayTimeout)},e.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},e.prototype.stop=function(){this._core.is("rotating")&&(b.clearTimeout(this._timeout),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},e.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('
        '+a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
        ")},this),"added.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var b,c=this._core.settings;this._controls.$relative=(c.navContainer?a(c.navContainer):a("
        ").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=a("<"+c.navElement+">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a("<"+c.navElement+">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a("
        ").addClass(c.dotClass).append(a("")).prop("outerHTML")]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a("
        ").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join("")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!c)return;this._hashes[c]=b.content}},this),"changed.owl.carousel":a.proxy(function(c){if(c.namespace&&"position"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a("").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j={csstransforms:function(){return!!e("transform")},csstransforms3d:function(){return!!e("perspective")},csstransitions:function(){return!!e("transition")},cssanimations:function(){return!!e("animation")}};j.csstransitions()&&(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document); \ No newline at end of file +!(function (a, b, c, d) { + function e(b, c) { + (this.settings = null), + (this.options = a.extend({}, e.Defaults, c)), + (this.$element = a(b)), + (this._handlers = {}), + (this._plugins = {}), + (this._supress = {}), + (this._current = null), + (this._speed = null), + (this._coordinates = []), + (this._breakpoint = null), + (this._width = null), + (this._items = []), + (this._clones = []), + (this._mergers = []), + (this._widths = []), + (this._invalidated = {}), + (this._pipe = []), + (this._drag = { + time: null, + target: null, + pointer: null, + stage: { start: null, current: null }, + direction: null, + }), + (this._states = { + current: {}, + tags: { + initializing: ["busy"], + animating: ["busy"], + dragging: ["interacting"], + }, + }), + a.each( + ["onResize", "onThrottledResize"], + a.proxy(function (b, c) { + this._handlers[c] = a.proxy(this[c], this); + }, this) + ), + a.each( + e.Plugins, + a.proxy(function (a, b) { + this._plugins[a.charAt(0).toLowerCase() + a.slice(1)] = new b(this); + }, this) + ), + a.each( + e.Workers, + a.proxy(function (b, c) { + this._pipe.push({ filter: c.filter, run: a.proxy(c.run, this) }); + }, this) + ), + this.setup(), + this.initialize(); + } + (e.Defaults = { + items: 3, + loop: !1, + center: !1, + rewind: !1, + mouseDrag: !0, + touchDrag: !0, + pullDrag: !0, + freeDrag: !1, + margin: 0, + stagePadding: 0, + merge: !1, + mergeFit: !0, + autoWidth: !1, + startPosition: 0, + rtl: !1, + smartSpeed: 250, + fluidSpeed: !1, + dragEndSpeed: !1, + responsive: {}, + responsiveRefreshRate: 200, + responsiveBaseElement: b, + fallbackEasing: "swing", + info: !1, + nestedItemSelector: !1, + itemElement: "div", + stageElement: "div", + refreshClass: "owl-refresh", + loadedClass: "owl-loaded", + loadingClass: "owl-loading", + rtlClass: "owl-rtl", + responsiveClass: "owl-responsive", + dragClass: "owl-drag", + itemClass: "owl-item", + stageClass: "owl-stage", + stageOuterClass: "owl-stage-outer", + grabClass: "owl-grab", + }), + (e.Width = { Default: "default", Inner: "inner", Outer: "outer" }), + (e.Type = { Event: "event", State: "state" }), + (e.Plugins = {}), + (e.Workers = [ + { + filter: ["width", "settings"], + run: function () { + this._width = this.$element.width(); + }, + }, + { + filter: ["width", "items", "settings"], + run: function (a) { + a.current = this._items && this._items[this.relative(this._current)]; + }, + }, + { + filter: ["items", "settings"], + run: function () { + this.$stage.children(".cloned").remove(); + }, + }, + { + filter: ["width", "items", "settings"], + run: function (a) { + var b = this.settings.margin || "", + c = !this.settings.autoWidth, + d = this.settings.rtl, + e = { + width: "auto", + "margin-left": d ? b : "", + "margin-right": d ? "" : b, + }; + !c && this.$stage.children().css(e), (a.css = e); + }, + }, + { + filter: ["width", "items", "settings"], + run: function (a) { + var b = + (this.width() / this.settings.items).toFixed(3) - + this.settings.margin, + c = null, + d = this._items.length, + e = !this.settings.autoWidth, + f = []; + for (a.items = { merge: !1, width: b }; d--; ) + (c = this._mergers[d]), + (c = + (this.settings.mergeFit && Math.min(c, this.settings.items)) || + c), + (a.items.merge = c > 1 || a.items.merge), + (f[d] = e ? b * c : this._items[d].width()); + this._widths = f; + }, + }, + { + filter: ["items", "settings"], + run: function () { + var b = [], + c = this._items, + d = this.settings, + e = Math.max(2 * d.items, 4), + f = 2 * Math.ceil(c.length / 2), + g = d.loop && c.length ? (d.rewind ? e : Math.max(e, f)) : 0, + h = "", + i = ""; + for (g /= 2; g--; ) + b.push(this.normalize(b.length / 2, !0)), + (h += c[b[b.length - 1]][0].outerHTML), + b.push(this.normalize(c.length - 1 - (b.length - 1) / 2, !0)), + (i = c[b[b.length - 1]][0].outerHTML + i); + (this._clones = b), + a(h).addClass("cloned").appendTo(this.$stage), + a(i).addClass("cloned").prependTo(this.$stage); + }, + }, + { + filter: ["width", "items", "settings"], + run: function () { + for ( + var a = this.settings.rtl ? 1 : -1, + b = this._clones.length + this._items.length, + c = -1, + d = 0, + e = 0, + f = []; + ++c < b; + + ) + (d = f[c - 1] || 0), + (e = this._widths[this.relative(c)] + this.settings.margin), + f.push(d + e * a); + this._coordinates = f; + }, + }, + { + filter: ["width", "items", "settings"], + run: function () { + var a = this.settings.stagePadding, + b = this._coordinates, + c = { + width: Math.ceil(Math.abs(b[b.length - 1])) + 2 * a, + "padding-left": a || "", + "padding-right": a || "", + }; + this.$stage.css(c); + }, + }, + { + filter: ["width", "items", "settings"], + run: function (a) { + var b = this._coordinates.length, + c = !this.settings.autoWidth, + d = this.$stage.children(); + if (c && a.items.merge) + for (; b--; ) + (a.css.width = this._widths[this.relative(b)]), + d.eq(b).css(a.css); + else c && ((a.css.width = a.items.width), d.css(a.css)); + }, + }, + { + filter: ["items"], + run: function () { + this._coordinates.length < 1 && this.$stage.removeAttr("style"); + }, + }, + { + filter: ["width", "items", "settings"], + run: function (a) { + (a.current = a.current ? this.$stage.children().index(a.current) : 0), + (a.current = Math.max( + this.minimum(), + Math.min(this.maximum(), a.current) + )), + this.reset(a.current); + }, + }, + { + filter: ["position"], + run: function () { + this.animate(this.coordinates(this._current)); + }, + }, + { + filter: ["width", "position", "items", "settings"], + run: function () { + var a, + b, + c, + d, + e = this.settings.rtl ? 1 : -1, + f = 2 * this.settings.stagePadding, + g = this.coordinates(this.current()) + f, + h = g + this.width() * e, + i = []; + for (c = 0, d = this._coordinates.length; c < d; c++) + (a = this._coordinates[c - 1] || 0), + (b = Math.abs(this._coordinates[c]) + f * e), + ((this.op(a, "<=", g) && this.op(a, ">", h)) || + (this.op(b, "<", g) && this.op(b, ">", h))) && + i.push(c); + this.$stage.children(".active").removeClass("active"), + this.$stage + .children(":eq(" + i.join("), :eq(") + ")") + .addClass("active"), + this.settings.center && + (this.$stage.children(".center").removeClass("center"), + this.$stage.children().eq(this.current()).addClass("center")); + }, + }, + ]), + (e.prototype.initialize = function () { + if ( + (this.enter("initializing"), + this.trigger("initialize"), + this.$element.toggleClass(this.settings.rtlClass, this.settings.rtl), + this.settings.autoWidth && !this.is("pre-loading")) + ) { + var b, c, e; + (b = this.$element.find("img")), + (c = this.settings.nestedItemSelector + ? "." + this.settings.nestedItemSelector + : d), + (e = this.$element.children(c).width()), + b.length && e <= 0 && this.preloadAutoWidthImages(b); + } + this.$element.addClass(this.options.loadingClass), + (this.$stage = a( + "<" + + this.settings.stageElement + + ' class="' + + this.settings.stageClass + + '"/>' + ).wrap('
        ')), + this.$element.append(this.$stage.parent()), + this.replace(this.$element.children().not(this.$stage.parent())), + this.$element.is(":visible") + ? this.refresh() + : this.invalidate("width"), + this.$element + .removeClass(this.options.loadingClass) + .addClass(this.options.loadedClass), + this.registerEventHandlers(), + this.leave("initializing"), + this.trigger("initialized"); + }), + (e.prototype.setup = function () { + var b = this.viewport(), + c = this.options.responsive, + d = -1, + e = null; + c + ? (a.each(c, function (a) { + a <= b && a > d && (d = Number(a)); + }), + (e = a.extend({}, this.options, c[d])), + "function" == typeof e.stagePadding && + (e.stagePadding = e.stagePadding()), + delete e.responsive, + e.responsiveClass && + this.$element.attr( + "class", + this.$element + .attr("class") + .replace( + new RegExp( + "(" + this.options.responsiveClass + "-)\\S+\\s", + "g" + ), + "$1" + d + ) + )) + : (e = a.extend({}, this.options)), + this.trigger("change", { property: { name: "settings", value: e } }), + (this._breakpoint = d), + (this.settings = e), + this.invalidate("settings"), + this.trigger("changed", { + property: { name: "settings", value: this.settings }, + }); + }), + (e.prototype.optionsLogic = function () { + this.settings.autoWidth && + ((this.settings.stagePadding = !1), (this.settings.merge = !1)); + }), + (e.prototype.prepare = function (b) { + var c = this.trigger("prepare", { content: b }); + return ( + c.data || + (c.data = a("<" + this.settings.itemElement + "/>") + .addClass(this.options.itemClass) + .append(b)), + this.trigger("prepared", { content: c.data }), + c.data + ); + }), + (e.prototype.update = function () { + for ( + var b = 0, + c = this._pipe.length, + d = a.proxy(function (a) { + return this[a]; + }, this._invalidated), + e = {}; + b < c; + + ) + (this._invalidated.all || a.grep(this._pipe[b].filter, d).length > 0) && + this._pipe[b].run(e), + b++; + (this._invalidated = {}), !this.is("valid") && this.enter("valid"); + }), + (e.prototype.width = function (a) { + switch ((a = a || e.Width.Default)) { + case e.Width.Inner: + case e.Width.Outer: + return this._width; + default: + return ( + this._width - 2 * this.settings.stagePadding + this.settings.margin + ); + } + }), + (e.prototype.refresh = function () { + this.enter("refreshing"), + this.trigger("refresh"), + this.setup(), + this.optionsLogic(), + this.$element.addClass(this.options.refreshClass), + this.update(), + this.$element.removeClass(this.options.refreshClass), + this.leave("refreshing"), + this.trigger("refreshed"); + }), + (e.prototype.onThrottledResize = function () { + b.clearTimeout(this.resizeTimer), + (this.resizeTimer = b.setTimeout( + this._handlers.onResize, + this.settings.responsiveRefreshRate + )); + }), + (e.prototype.onResize = function () { + return ( + !!this._items.length && + this._width !== this.$element.width() && + !!this.$element.is(":visible") && + (this.enter("resizing"), + this.trigger("resize").isDefaultPrevented() + ? (this.leave("resizing"), !1) + : (this.invalidate("width"), + this.refresh(), + this.leave("resizing"), + void this.trigger("resized"))) + ); + }), + (e.prototype.registerEventHandlers = function () { + a.support.transition && + this.$stage.on( + a.support.transition.end + ".owl.core", + a.proxy(this.onTransitionEnd, this) + ), + this.settings.responsive !== !1 && + this.on(b, "resize", this._handlers.onThrottledResize), + this.settings.mouseDrag && + (this.$element.addClass(this.options.dragClass), + this.$stage.on("mousedown.owl.core", a.proxy(this.onDragStart, this)), + this.$stage.on( + "dragstart.owl.core selectstart.owl.core", + function () { + return !1; + } + )), + this.settings.touchDrag && + (this.$stage.on( + "touchstart.owl.core", + a.proxy(this.onDragStart, this) + ), + this.$stage.on( + "touchcancel.owl.core", + a.proxy(this.onDragEnd, this) + )); + }), + (e.prototype.onDragStart = function (b) { + var d = null; + 3 !== b.which && + (a.support.transform + ? ((d = this.$stage + .css("transform") + .replace(/.*\(|\)| /g, "") + .split(",")), + (d = { + x: d[16 === d.length ? 12 : 4], + y: d[16 === d.length ? 13 : 5], + })) + : ((d = this.$stage.position()), + (d = { + x: this.settings.rtl + ? d.left + + this.$stage.width() - + this.width() + + this.settings.margin + : d.left, + y: d.top, + })), + this.is("animating") && + (a.support.transform ? this.animate(d.x) : this.$stage.stop(), + this.invalidate("position")), + this.$element.toggleClass( + this.options.grabClass, + "mousedown" === b.type + ), + this.speed(0), + (this._drag.time = new Date().getTime()), + (this._drag.target = a(b.target)), + (this._drag.stage.start = d), + (this._drag.stage.current = d), + (this._drag.pointer = this.pointer(b)), + a(c).on( + "mouseup.owl.core touchend.owl.core", + a.proxy(this.onDragEnd, this) + ), + a(c).one( + "mousemove.owl.core touchmove.owl.core", + a.proxy(function (b) { + var d = this.difference(this._drag.pointer, this.pointer(b)); + a(c).on( + "mousemove.owl.core touchmove.owl.core", + a.proxy(this.onDragMove, this) + ), + (Math.abs(d.x) < Math.abs(d.y) && this.is("valid")) || + (b.preventDefault(), + this.enter("dragging"), + this.trigger("drag")); + }, this) + )); + }), + (e.prototype.onDragMove = function (a) { + var b = null, + c = null, + d = null, + e = this.difference(this._drag.pointer, this.pointer(a)), + f = this.difference(this._drag.stage.start, e); + this.is("dragging") && + (a.preventDefault(), + this.settings.loop + ? ((b = this.coordinates(this.minimum())), + (c = this.coordinates(this.maximum() + 1) - b), + (f.x = ((((f.x - b) % c) + c) % c) + b)) + : ((b = this.settings.rtl + ? this.coordinates(this.maximum()) + : this.coordinates(this.minimum())), + (c = this.settings.rtl + ? this.coordinates(this.minimum()) + : this.coordinates(this.maximum())), + (d = this.settings.pullDrag ? (-1 * e.x) / 5 : 0), + (f.x = Math.max(Math.min(f.x, b + d), c + d))), + (this._drag.stage.current = f), + this.animate(f.x)); + }), + (e.prototype.onDragEnd = function (b) { + var d = this.difference(this._drag.pointer, this.pointer(b)), + e = this._drag.stage.current, + f = (d.x > 0) ^ this.settings.rtl ? "left" : "right"; + a(c).off(".owl.core"), + this.$element.removeClass(this.options.grabClass), + ((0 !== d.x && this.is("dragging")) || !this.is("valid")) && + (this.speed(this.settings.dragEndSpeed || this.settings.smartSpeed), + this.current(this.closest(e.x, 0 !== d.x ? f : this._drag.direction)), + this.invalidate("position"), + this.update(), + (this._drag.direction = f), + (Math.abs(d.x) > 3 || new Date().getTime() - this._drag.time > 300) && + this._drag.target.one("click.owl.core", function () { + return !1; + })), + this.is("dragging") && + (this.leave("dragging"), this.trigger("dragged")); + }), + (e.prototype.closest = function (b, c) { + var d = -1, + e = 30, + f = this.width(), + g = this.coordinates(); + return ( + this.settings.freeDrag || + a.each( + g, + a.proxy(function (a, h) { + return ( + "left" === c && b > h - e && b < h + e + ? (d = a) + : "right" === c && b > h - f - e && b < h - f + e + ? (d = a + 1) + : this.op(b, "<", h) && + this.op(b, ">", g[a + 1] || h - f) && + (d = "left" === c ? a + 1 : a), + d === -1 + ); + }, this) + ), + this.settings.loop || + (this.op(b, ">", g[this.minimum()]) + ? (d = b = this.minimum()) + : this.op(b, "<", g[this.maximum()]) && (d = b = this.maximum())), + d + ); + }), + (e.prototype.animate = function (b) { + var c = this.speed() > 0; + this.is("animating") && this.onTransitionEnd(), + c && (this.enter("animating"), this.trigger("translate")), + a.support.transform3d && a.support.transition + ? this.$stage.css({ + transform: "translate3d(" + b + "px,0px,0px)", + transition: this.speed() / 1e3 + "s", + }) + : c + ? this.$stage.animate( + { left: b + "px" }, + this.speed(), + this.settings.fallbackEasing, + a.proxy(this.onTransitionEnd, this) + ) + : this.$stage.css({ left: b + "px" }); + }), + (e.prototype.is = function (a) { + return this._states.current[a] && this._states.current[a] > 0; + }), + (e.prototype.current = function (a) { + if (a === d) return this._current; + if (0 === this._items.length) return d; + if (((a = this.normalize(a)), this._current !== a)) { + var b = this.trigger("change", { + property: { name: "position", value: a }, + }); + b.data !== d && (a = this.normalize(b.data)), + (this._current = a), + this.invalidate("position"), + this.trigger("changed", { + property: { name: "position", value: this._current }, + }); + } + return this._current; + }), + (e.prototype.invalidate = function (b) { + return ( + "string" === a.type(b) && + ((this._invalidated[b] = !0), + this.is("valid") && this.leave("valid")), + a.map(this._invalidated, function (a, b) { + return b; + }) + ); + }), + (e.prototype.reset = function (a) { + (a = this.normalize(a)), + a !== d && + ((this._speed = 0), + (this._current = a), + this.suppress(["translate", "translated"]), + this.animate(this.coordinates(a)), + this.release(["translate", "translated"])); + }), + (e.prototype.normalize = function (a, b) { + var c = this._items.length, + e = b ? 0 : this._clones.length; + return ( + !this.isNumeric(a) || c < 1 + ? (a = d) + : (a < 0 || a >= c + e) && + (a = ((((a - e / 2) % c) + c) % c) + e / 2), + a + ); + }), + (e.prototype.relative = function (a) { + return (a -= this._clones.length / 2), this.normalize(a, !0); + }), + (e.prototype.maximum = function (a) { + var b, + c, + d, + e = this.settings, + f = this._coordinates.length; + if (e.loop) f = this._clones.length / 2 + this._items.length - 1; + else if (e.autoWidth || e.merge) { + for ( + b = this._items.length, + c = this._items[--b].width(), + d = this.$element.width(); + b-- && + ((c += this._items[b].width() + this.settings.margin), !(c > d)); + + ); + f = b + 1; + } else + f = e.center ? this._items.length - 1 : this._items.length - e.items; + return a && (f -= this._clones.length / 2), Math.max(f, 0); + }), + (e.prototype.minimum = function (a) { + return a ? 0 : this._clones.length / 2; + }), + (e.prototype.items = function (a) { + return a === d + ? this._items.slice() + : ((a = this.normalize(a, !0)), this._items[a]); + }), + (e.prototype.mergers = function (a) { + return a === d + ? this._mergers.slice() + : ((a = this.normalize(a, !0)), this._mergers[a]); + }), + (e.prototype.clones = function (b) { + var c = this._clones.length / 2, + e = c + this._items.length, + f = function (a) { + return a % 2 === 0 ? e + a / 2 : c - (a + 1) / 2; + }; + return b === d + ? a.map(this._clones, function (a, b) { + return f(b); + }) + : a.map(this._clones, function (a, c) { + return a === b ? f(c) : null; + }); + }), + (e.prototype.speed = function (a) { + return a !== d && (this._speed = a), this._speed; + }), + (e.prototype.coordinates = function (b) { + var c, + e = 1, + f = b - 1; + return b === d + ? a.map( + this._coordinates, + a.proxy(function (a, b) { + return this.coordinates(b); + }, this) + ) + : (this.settings.center + ? (this.settings.rtl && ((e = -1), (f = b + 1)), + (c = this._coordinates[b]), + (c += ((this.width() - c + (this._coordinates[f] || 0)) / 2) * e)) + : (c = this._coordinates[f] || 0), + (c = Math.ceil(c))); + }), + (e.prototype.duration = function (a, b, c) { + return 0 === c + ? 0 + : Math.min(Math.max(Math.abs(b - a), 1), 6) * + Math.abs(c || this.settings.smartSpeed); + }), + (e.prototype.to = function (a, b) { + var c = this.current(), + d = null, + e = a - this.relative(c), + f = (e > 0) - (e < 0), + g = this._items.length, + h = this.minimum(), + i = this.maximum(); + this.settings.loop + ? (!this.settings.rewind && Math.abs(e) > g / 2 && (e += f * -1 * g), + (a = c + e), + (d = ((((a - h) % g) + g) % g) + h), + d !== a && + d - e <= i && + d - e > 0 && + ((c = d - e), (a = d), this.reset(c))) + : this.settings.rewind + ? ((i += 1), (a = ((a % i) + i) % i)) + : (a = Math.max(h, Math.min(i, a))), + this.speed(this.duration(c, a, b)), + this.current(a), + this.$element.is(":visible") && this.update(); + }), + (e.prototype.next = function (a) { + (a = a || !1), this.to(this.relative(this.current()) + 1, a); + }), + (e.prototype.prev = function (a) { + (a = a || !1), this.to(this.relative(this.current()) - 1, a); + }), + (e.prototype.onTransitionEnd = function (a) { + if ( + a !== d && + (a.stopPropagation(), + (a.target || a.srcElement || a.originalTarget) !== this.$stage.get(0)) + ) + return !1; + this.leave("animating"), this.trigger("translated"); + }), + (e.prototype.viewport = function () { + var d; + return ( + this.options.responsiveBaseElement !== b + ? (d = a(this.options.responsiveBaseElement).width()) + : b.innerWidth + ? (d = b.innerWidth) + : c.documentElement && c.documentElement.clientWidth + ? (d = c.documentElement.clientWidth) + : console.warn("Can not detect viewport width."), + d + ); + }), + (e.prototype.replace = function (b) { + this.$stage.empty(), + (this._items = []), + b && (b = b instanceof jQuery ? b : a(b)), + this.settings.nestedItemSelector && + (b = b.find("." + this.settings.nestedItemSelector)), + b + .filter(function () { + return 1 === this.nodeType; + }) + .each( + a.proxy(function (a, b) { + (b = this.prepare(b)), + this.$stage.append(b), + this._items.push(b), + this._mergers.push( + 1 * + b + .find("[data-merge]") + .addBack("[data-merge]") + .attr("data-merge") || 1 + ); + }, this) + ), + this.reset( + this.isNumeric(this.settings.startPosition) + ? this.settings.startPosition + : 0 + ), + this.invalidate("items"); + }), + (e.prototype.add = function (b, c) { + var e = this.relative(this._current); + (c = c === d ? this._items.length : this.normalize(c, !0)), + (b = b instanceof jQuery ? b : a(b)), + this.trigger("add", { content: b, position: c }), + (b = this.prepare(b)), + 0 === this._items.length || c === this._items.length + ? (0 === this._items.length && this.$stage.append(b), + 0 !== this._items.length && this._items[c - 1].after(b), + this._items.push(b), + this._mergers.push( + 1 * + b + .find("[data-merge]") + .addBack("[data-merge]") + .attr("data-merge") || 1 + )) + : (this._items[c].before(b), + this._items.splice(c, 0, b), + this._mergers.splice( + c, + 0, + 1 * + b + .find("[data-merge]") + .addBack("[data-merge]") + .attr("data-merge") || 1 + )), + this._items[e] && this.reset(this._items[e].index()), + this.invalidate("items"), + this.trigger("added", { content: b, position: c }); + }), + (e.prototype.remove = function (a) { + (a = this.normalize(a, !0)), + a !== d && + (this.trigger("remove", { content: this._items[a], position: a }), + this._items[a].remove(), + this._items.splice(a, 1), + this._mergers.splice(a, 1), + this.invalidate("items"), + this.trigger("removed", { content: null, position: a })); + }), + (e.prototype.preloadAutoWidthImages = function (b) { + b.each( + a.proxy(function (b, c) { + this.enter("pre-loading"), + (c = a(c)), + a(new Image()) + .one( + "load", + a.proxy(function (a) { + c.attr("src", a.target.src), + c.css("opacity", 1), + this.leave("pre-loading"), + !this.is("pre-loading") && + !this.is("initializing") && + this.refresh(); + }, this) + ) + .attr( + "src", + c.attr("src") || c.attr("data-src") || c.attr("data-src-retina") + ); + }, this) + ); + }), + (e.prototype.destroy = function () { + this.$element.off(".owl.core"), + this.$stage.off(".owl.core"), + a(c).off(".owl.core"), + this.settings.responsive !== !1 && + (b.clearTimeout(this.resizeTimer), + this.off(b, "resize", this._handlers.onThrottledResize)); + for (var d in this._plugins) this._plugins[d].destroy(); + this.$stage.children(".cloned").remove(), + this.$stage.unwrap(), + this.$stage.children().contents().unwrap(), + this.$stage.children().unwrap(), + this.$element + .removeClass(this.options.refreshClass) + .removeClass(this.options.loadingClass) + .removeClass(this.options.loadedClass) + .removeClass(this.options.rtlClass) + .removeClass(this.options.dragClass) + .removeClass(this.options.grabClass) + .attr( + "class", + this.$element + .attr("class") + .replace( + new RegExp(this.options.responsiveClass + "-\\S+\\s", "g"), + "" + ) + ) + .removeData("owl.carousel"); + }), + (e.prototype.op = function (a, b, c) { + var d = this.settings.rtl; + switch (b) { + case "<": + return d ? a > c : a < c; + case ">": + return d ? a < c : a > c; + case ">=": + return d ? a <= c : a >= c; + case "<=": + return d ? a >= c : a <= c; + } + }), + (e.prototype.on = function (a, b, c, d) { + a.addEventListener + ? a.addEventListener(b, c, d) + : a.attachEvent && a.attachEvent("on" + b, c); + }), + (e.prototype.off = function (a, b, c, d) { + a.removeEventListener + ? a.removeEventListener(b, c, d) + : a.detachEvent && a.detachEvent("on" + b, c); + }), + (e.prototype.trigger = function (b, c, d, f, g) { + var h = { item: { count: this._items.length, index: this.current() } }, + i = a.camelCase( + a + .grep(["on", b, d], function (a) { + return a; + }) + .join("-") + .toLowerCase() + ), + j = a.Event( + [b, "owl", d || "carousel"].join(".").toLowerCase(), + a.extend({ relatedTarget: this }, h, c) + ); + return ( + this._supress[b] || + (a.each(this._plugins, function (a, b) { + b.onTrigger && b.onTrigger(j); + }), + this.register({ type: e.Type.Event, name: b }), + this.$element.trigger(j), + this.settings && + "function" == typeof this.settings[i] && + this.settings[i].call(this, j)), + j + ); + }), + (e.prototype.enter = function (b) { + a.each( + [b].concat(this._states.tags[b] || []), + a.proxy(function (a, b) { + this._states.current[b] === d && (this._states.current[b] = 0), + this._states.current[b]++; + }, this) + ); + }), + (e.prototype.leave = function (b) { + a.each( + [b].concat(this._states.tags[b] || []), + a.proxy(function (a, b) { + this._states.current[b]--; + }, this) + ); + }), + (e.prototype.register = function (b) { + if (b.type === e.Type.Event) { + if ( + (a.event.special[b.name] || (a.event.special[b.name] = {}), + !a.event.special[b.name].owl) + ) { + var c = a.event.special[b.name]._default; + (a.event.special[b.name]._default = function (a) { + return !c || + !c.apply || + (a.namespace && a.namespace.indexOf("owl") !== -1) + ? a.namespace && a.namespace.indexOf("owl") > -1 + : c.apply(this, arguments); + }), + (a.event.special[b.name].owl = !0); + } + } else + b.type === e.Type.State && + (this._states.tags[b.name] + ? (this._states.tags[b.name] = this._states.tags[b.name].concat( + b.tags + )) + : (this._states.tags[b.name] = b.tags), + (this._states.tags[b.name] = a.grep( + this._states.tags[b.name], + a.proxy(function (c, d) { + return a.inArray(c, this._states.tags[b.name]) === d; + }, this) + ))); + }), + (e.prototype.suppress = function (b) { + a.each( + b, + a.proxy(function (a, b) { + this._supress[b] = !0; + }, this) + ); + }), + (e.prototype.release = function (b) { + a.each( + b, + a.proxy(function (a, b) { + delete this._supress[b]; + }, this) + ); + }), + (e.prototype.pointer = function (a) { + var c = { x: null, y: null }; + return ( + (a = a.originalEvent || a || b.event), + (a = + a.touches && a.touches.length + ? a.touches[0] + : a.changedTouches && a.changedTouches.length + ? a.changedTouches[0] + : a), + a.pageX + ? ((c.x = a.pageX), (c.y = a.pageY)) + : ((c.x = a.clientX), (c.y = a.clientY)), + c + ); + }), + (e.prototype.isNumeric = function (a) { + return !isNaN(parseFloat(a)); + }), + (e.prototype.difference = function (a, b) { + return { x: a.x - b.x, y: a.y - b.y }; + }), + (a.fn.owlCarousel = function (b) { + var c = Array.prototype.slice.call(arguments, 1); + return this.each(function () { + var d = a(this), + f = d.data("owl.carousel"); + f || + ((f = new e(this, "object" == typeof b && b)), + d.data("owl.carousel", f), + a.each( + [ + "next", + "prev", + "to", + "destroy", + "refresh", + "replace", + "add", + "remove", + ], + function (b, c) { + f.register({ type: e.Type.Event, name: c }), + f.$element.on( + c + ".owl.carousel.core", + a.proxy(function (a) { + a.namespace && + a.relatedTarget !== this && + (this.suppress([c]), + f[c].apply(this, [].slice.call(arguments, 1)), + this.release([c])); + }, f) + ); + } + )), + "string" == typeof b && "_" !== b.charAt(0) && f[b].apply(f, c); + }); + }), + (a.fn.owlCarousel.Constructor = e); +})(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + var e = function (b) { + (this._core = b), + (this._interval = null), + (this._visible = null), + (this._handlers = { + "initialized.owl.carousel": a.proxy(function (a) { + a.namespace && this._core.settings.autoRefresh && this.watch(); + }, this), + }), + (this._core.options = a.extend({}, e.Defaults, this._core.options)), + this._core.$element.on(this._handlers); + }; + (e.Defaults = { autoRefresh: !0, autoRefreshInterval: 500 }), + (e.prototype.watch = function () { + this._interval || + ((this._visible = this._core.$element.is(":visible")), + (this._interval = b.setInterval( + a.proxy(this.refresh, this), + this._core.settings.autoRefreshInterval + ))); + }), + (e.prototype.refresh = function () { + this._core.$element.is(":visible") !== this._visible && + ((this._visible = !this._visible), + this._core.$element.toggleClass("owl-hidden", !this._visible), + this._visible && + this._core.invalidate("width") && + this._core.refresh()); + }), + (e.prototype.destroy = function () { + var a, c; + b.clearInterval(this._interval); + for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); + for (c in Object.getOwnPropertyNames(this)) + "function" != typeof this[c] && (this[c] = null); + }), + (a.fn.owlCarousel.Constructor.Plugins.AutoRefresh = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + var e = function (b) { + (this._core = b), + (this._loaded = []), + (this._handlers = { + "initialized.owl.carousel change.owl.carousel resized.owl.carousel": + a.proxy(function (b) { + if ( + b.namespace && + this._core.settings && + this._core.settings.lazyLoad && + ((b.property && "position" == b.property.name) || + "initialized" == b.type) + ) + for ( + var c = this._core.settings, + e = (c.center && Math.ceil(c.items / 2)) || c.items, + f = (c.center && e * -1) || 0, + g = + (b.property && b.property.value !== d + ? b.property.value + : this._core.current()) + f, + h = this._core.clones().length, + i = a.proxy(function (a, b) { + this.load(b); + }, this); + f++ < e; + + ) + this.load(h / 2 + this._core.relative(g)), + h && a.each(this._core.clones(this._core.relative(g)), i), + g++; + }, this), + }), + (this._core.options = a.extend({}, e.Defaults, this._core.options)), + this._core.$element.on(this._handlers); + }; + (e.Defaults = { lazyLoad: !1 }), + (e.prototype.load = function (c) { + var d = this._core.$stage.children().eq(c), + e = d && d.find(".owl-lazy"); + !e || + a.inArray(d.get(0), this._loaded) > -1 || + (e.each( + a.proxy(function (c, d) { + var e, + f = a(d), + g = + (b.devicePixelRatio > 1 && f.attr("data-src-retina")) || + f.attr("data-src"); + this._core.trigger("load", { element: f, url: g }, "lazy"), + f.is("img") + ? f + .one( + "load.owl.lazy", + a.proxy(function () { + f.css("opacity", 1), + this._core.trigger( + "loaded", + { element: f, url: g }, + "lazy" + ); + }, this) + ) + .attr("src", g) + : ((e = new Image()), + (e.onload = a.proxy(function () { + f.css({ + "background-image": 'url("' + g + '")', + opacity: "1", + }), + this._core.trigger( + "loaded", + { element: f, url: g }, + "lazy" + ); + }, this)), + (e.src = g)); + }, this) + ), + this._loaded.push(d.get(0))); + }), + (e.prototype.destroy = function () { + var a, b; + for (a in this.handlers) this._core.$element.off(a, this.handlers[a]); + for (b in Object.getOwnPropertyNames(this)) + "function" != typeof this[b] && (this[b] = null); + }), + (a.fn.owlCarousel.Constructor.Plugins.Lazy = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + var e = function (b) { + (this._core = b), + (this._handlers = { + "initialized.owl.carousel refreshed.owl.carousel": a.proxy(function ( + a + ) { + a.namespace && this._core.settings.autoHeight && this.update(); + }, + this), + "changed.owl.carousel": a.proxy(function (a) { + a.namespace && + this._core.settings.autoHeight && + "position" == a.property.name && + this.update(); + }, this), + "loaded.owl.lazy": a.proxy(function (a) { + a.namespace && + this._core.settings.autoHeight && + a.element.closest("." + this._core.settings.itemClass).index() === + this._core.current() && + this.update(); + }, this), + }), + (this._core.options = a.extend({}, e.Defaults, this._core.options)), + this._core.$element.on(this._handlers); + }; + (e.Defaults = { autoHeight: !1, autoHeightClass: "owl-height" }), + (e.prototype.update = function () { + var b = this._core._current, + c = b + this._core.settings.items, + d = this._core.$stage.children().toArray().slice(b, c), + e = [], + f = 0; + a.each(d, function (b, c) { + e.push(a(c).height()); + }), + (f = Math.max.apply(null, e)), + this._core.$stage + .parent() + .height(f) + .addClass(this._core.settings.autoHeightClass); + }), + (e.prototype.destroy = function () { + var a, b; + for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); + for (b in Object.getOwnPropertyNames(this)) + "function" != typeof this[b] && (this[b] = null); + }), + (a.fn.owlCarousel.Constructor.Plugins.AutoHeight = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + var e = function (b) { + (this._core = b), + (this._videos = {}), + (this._playing = null), + (this._handlers = { + "initialized.owl.carousel": a.proxy(function (a) { + a.namespace && + this._core.register({ + type: "state", + name: "playing", + tags: ["interacting"], + }); + }, this), + "resize.owl.carousel": a.proxy(function (a) { + a.namespace && + this._core.settings.video && + this.isInFullScreen() && + a.preventDefault(); + }, this), + "refreshed.owl.carousel": a.proxy(function (a) { + a.namespace && + this._core.is("resizing") && + this._core.$stage.find(".cloned .owl-video-frame").remove(); + }, this), + "changed.owl.carousel": a.proxy(function (a) { + a.namespace && + "position" === a.property.name && + this._playing && + this.stop(); + }, this), + "prepared.owl.carousel": a.proxy(function (b) { + if (b.namespace) { + var c = a(b.content).find(".owl-video"); + c.length && + (c.css("display", "none"), this.fetch(c, a(b.content))); + } + }, this), + }), + (this._core.options = a.extend({}, e.Defaults, this._core.options)), + this._core.$element.on(this._handlers), + this._core.$element.on( + "click.owl.video", + ".owl-video-play-icon", + a.proxy(function (a) { + this.play(a); + }, this) + ); + }; + (e.Defaults = { video: !1, videoHeight: !1, videoWidth: !1 }), + (e.prototype.fetch = function (a, b) { + var c = (function () { + return a.attr("data-vimeo-id") + ? "vimeo" + : a.attr("data-vzaar-id") + ? "vzaar" + : "youtube"; + })(), + d = + a.attr("data-vimeo-id") || + a.attr("data-youtube-id") || + a.attr("data-vzaar-id"), + e = a.attr("data-width") || this._core.settings.videoWidth, + f = a.attr("data-height") || this._core.settings.videoHeight, + g = a.attr("href"); + if (!g) throw new Error("Missing video URL."); + if ( + ((d = g.match( + /(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/ + )), + d[3].indexOf("youtu") > -1) + ) + c = "youtube"; + else if (d[3].indexOf("vimeo") > -1) c = "vimeo"; + else { + if (!(d[3].indexOf("vzaar") > -1)) + throw new Error("Video URL not supported."); + c = "vzaar"; + } + (d = d[6]), + (this._videos[g] = { type: c, id: d, width: e, height: f }), + b.attr("data-video", g), + this.thumbnail(a, this._videos[g]); + }), + (e.prototype.thumbnail = function (b, c) { + var d, + e, + f, + g = + c.width && c.height + ? 'style="width:' + c.width + "px;height:" + c.height + 'px;"' + : "", + h = b.find("img"), + i = "src", + j = "", + k = this._core.settings, + l = function (a) { + (e = '
        '), + (d = k.lazyLoad + ? '
        ' + : '
        '), + b.after(d), + b.after(e); + }; + if ( + (b.wrap('
        "), + this._core.settings.lazyLoad && ((i = "data-src"), (j = "owl-lazy")), + h.length) + ) + return l(h.attr(i)), h.remove(), !1; + "youtube" === c.type + ? ((f = "//img.youtube.com/vi/" + c.id + "/hqdefault.jpg"), l(f)) + : "vimeo" === c.type + ? a.ajax({ + type: "GET", + url: "//vimeo.com/api/v2/video/" + c.id + ".json", + jsonp: "callback", + dataType: "jsonp", + success: function (a) { + (f = a[0].thumbnail_large), l(f); + }, + }) + : "vzaar" === c.type && + a.ajax({ + type: "GET", + url: "//vzaar.com/api/videos/" + c.id + ".json", + jsonp: "callback", + dataType: "jsonp", + success: function (a) { + (f = a.framegrab_url), l(f); + }, + }); + }), + (e.prototype.stop = function () { + this._core.trigger("stop", null, "video"), + this._playing.find(".owl-video-frame").remove(), + this._playing.removeClass("owl-video-playing"), + (this._playing = null), + this._core.leave("playing"), + this._core.trigger("stopped", null, "video"); + }), + (e.prototype.play = function (b) { + var c, + d = a(b.target), + e = d.closest("." + this._core.settings.itemClass), + f = this._videos[e.attr("data-video")], + g = f.width || "100%", + h = f.height || this._core.$stage.height(); + this._playing || + (this._core.enter("playing"), + this._core.trigger("play", null, "video"), + (e = this._core.items(this._core.relative(e.index()))), + this._core.reset(e.index()), + "youtube" === f.type + ? (c = + '') + : "vimeo" === f.type + ? (c = + '') + : "vzaar" === f.type && + (c = + ''), + a('
        ' + c + "
        ").insertAfter( + e.find(".owl-video") + ), + (this._playing = e.addClass("owl-video-playing"))); + }), + (e.prototype.isInFullScreen = function () { + var b = + c.fullscreenElement || + c.mozFullScreenElement || + c.webkitFullscreenElement; + return b && a(b).parent().hasClass("owl-video-frame"); + }), + (e.prototype.destroy = function () { + var a, b; + this._core.$element.off("click.owl.video"); + for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); + for (b in Object.getOwnPropertyNames(this)) + "function" != typeof this[b] && (this[b] = null); + }), + (a.fn.owlCarousel.Constructor.Plugins.Video = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + var e = function (b) { + (this.core = b), + (this.core.options = a.extend({}, e.Defaults, this.core.options)), + (this.swapping = !0), + (this.previous = d), + (this.next = d), + (this.handlers = { + "change.owl.carousel": a.proxy(function (a) { + a.namespace && + "position" == a.property.name && + ((this.previous = this.core.current()), + (this.next = a.property.value)); + }, this), + "drag.owl.carousel dragged.owl.carousel translated.owl.carousel": + a.proxy(function (a) { + a.namespace && (this.swapping = "translated" == a.type); + }, this), + "translate.owl.carousel": a.proxy(function (a) { + a.namespace && + this.swapping && + (this.core.options.animateOut || this.core.options.animateIn) && + this.swap(); + }, this), + }), + this.core.$element.on(this.handlers); + }; + (e.Defaults = { animateOut: !1, animateIn: !1 }), + (e.prototype.swap = function () { + if ( + 1 === this.core.settings.items && + a.support.animation && + a.support.transition + ) { + this.core.speed(0); + var b, + c = a.proxy(this.clear, this), + d = this.core.$stage.children().eq(this.previous), + e = this.core.$stage.children().eq(this.next), + f = this.core.settings.animateIn, + g = this.core.settings.animateOut; + this.core.current() !== this.previous && + (g && + ((b = + this.core.coordinates(this.previous) - + this.core.coordinates(this.next)), + d + .one(a.support.animation.end, c) + .css({ left: b + "px" }) + .addClass("animated owl-animated-out") + .addClass(g)), + f && + e + .one(a.support.animation.end, c) + .addClass("animated owl-animated-in") + .addClass(f)); + } + }), + (e.prototype.clear = function (b) { + a(b.target) + .css({ left: "" }) + .removeClass("animated owl-animated-out owl-animated-in") + .removeClass(this.core.settings.animateIn) + .removeClass(this.core.settings.animateOut), + this.core.onTransitionEnd(); + }), + (e.prototype.destroy = function () { + var a, b; + for (a in this.handlers) this.core.$element.off(a, this.handlers[a]); + for (b in Object.getOwnPropertyNames(this)) + "function" != typeof this[b] && (this[b] = null); + }), + (a.fn.owlCarousel.Constructor.Plugins.Animate = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + var e = function (b) { + (this._core = b), + (this._timeout = null), + (this._paused = !1), + (this._handlers = { + "changed.owl.carousel": a.proxy(function (a) { + a.namespace && "settings" === a.property.name + ? this._core.settings.autoplay + ? this.play() + : this.stop() + : a.namespace && + "position" === a.property.name && + this._core.settings.autoplay && + this._setAutoPlayInterval(); + }, this), + "initialized.owl.carousel": a.proxy(function (a) { + a.namespace && this._core.settings.autoplay && this.play(); + }, this), + "play.owl.autoplay": a.proxy(function (a, b, c) { + a.namespace && this.play(b, c); + }, this), + "stop.owl.autoplay": a.proxy(function (a) { + a.namespace && this.stop(); + }, this), + "mouseover.owl.autoplay": a.proxy(function () { + this._core.settings.autoplayHoverPause && + this._core.is("rotating") && + this.pause(); + }, this), + "mouseleave.owl.autoplay": a.proxy(function () { + this._core.settings.autoplayHoverPause && + this._core.is("rotating") && + this.play(); + }, this), + "touchstart.owl.core": a.proxy(function () { + this._core.settings.autoplayHoverPause && + this._core.is("rotating") && + this.pause(); + }, this), + "touchend.owl.core": a.proxy(function () { + this._core.settings.autoplayHoverPause && this.play(); + }, this), + }), + this._core.$element.on(this._handlers), + (this._core.options = a.extend({}, e.Defaults, this._core.options)); + }; + (e.Defaults = { + autoplay: !1, + autoplayTimeout: 5e3, + autoplayHoverPause: !1, + autoplaySpeed: !1, + }), + (e.prototype.play = function (a, b) { + (this._paused = !1), + this._core.is("rotating") || + (this._core.enter("rotating"), this._setAutoPlayInterval()); + }), + (e.prototype._getNextTimeout = function (d, e) { + return ( + this._timeout && b.clearTimeout(this._timeout), + b.setTimeout( + a.proxy(function () { + this._paused || + this._core.is("busy") || + this._core.is("interacting") || + c.hidden || + this._core.next(e || this._core.settings.autoplaySpeed); + }, this), + d || this._core.settings.autoplayTimeout + ) + ); + }), + (e.prototype._setAutoPlayInterval = function () { + this._timeout = this._getNextTimeout(); + }), + (e.prototype.stop = function () { + this._core.is("rotating") && + (b.clearTimeout(this._timeout), this._core.leave("rotating")); + }), + (e.prototype.pause = function () { + this._core.is("rotating") && (this._paused = !0); + }), + (e.prototype.destroy = function () { + var a, b; + this.stop(); + for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); + for (b in Object.getOwnPropertyNames(this)) + "function" != typeof this[b] && (this[b] = null); + }), + (a.fn.owlCarousel.Constructor.Plugins.autoplay = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + "use strict"; + var e = function (b) { + (this._core = b), + (this._initialized = !1), + (this._pages = []), + (this._controls = {}), + (this._templates = []), + (this.$element = this._core.$element), + (this._overrides = { + next: this._core.next, + prev: this._core.prev, + to: this._core.to, + }), + (this._handlers = { + "prepared.owl.carousel": a.proxy(function (b) { + b.namespace && + this._core.settings.dotsData && + this._templates.push( + '
        ' + + a(b.content) + .find("[data-dot]") + .addBack("[data-dot]") + .attr("data-dot") + + "
        " + ); + }, this), + "added.owl.carousel": a.proxy(function (a) { + a.namespace && + this._core.settings.dotsData && + this._templates.splice(a.position, 0, this._templates.pop()); + }, this), + "remove.owl.carousel": a.proxy(function (a) { + a.namespace && + this._core.settings.dotsData && + this._templates.splice(a.position, 1); + }, this), + "changed.owl.carousel": a.proxy(function (a) { + a.namespace && "position" == a.property.name && this.draw(); + }, this), + "initialized.owl.carousel": a.proxy(function (a) { + a.namespace && + !this._initialized && + (this._core.trigger("initialize", null, "navigation"), + this.initialize(), + this.update(), + this.draw(), + (this._initialized = !0), + this._core.trigger("initialized", null, "navigation")); + }, this), + "refreshed.owl.carousel": a.proxy(function (a) { + a.namespace && + this._initialized && + (this._core.trigger("refresh", null, "navigation"), + this.update(), + this.draw(), + this._core.trigger("refreshed", null, "navigation")); + }, this), + }), + (this._core.options = a.extend({}, e.Defaults, this._core.options)), + this.$element.on(this._handlers); + }; + (e.Defaults = { + nav: !1, + navText: ["prev", "next"], + navSpeed: !1, + navElement: "div", + navContainer: !1, + navContainerClass: "owl-nav", + navClass: ["owl-prev", "owl-next"], + slideBy: 1, + dotClass: "owl-dot", + dotsClass: "owl-dots", + dots: !0, + dotsEach: !1, + dotsData: !1, + dotsSpeed: !1, + dotsContainer: !1, + }), + (e.prototype.initialize = function () { + var b, + c = this._core.settings; + (this._controls.$relative = ( + c.navContainer + ? a(c.navContainer) + : a("
        ").addClass(c.navContainerClass).appendTo(this.$element) + ).addClass("disabled")), + (this._controls.$previous = a("<" + c.navElement + ">") + .addClass(c.navClass[0]) + .html(c.navText[0]) + .prependTo(this._controls.$relative) + .on( + "click", + a.proxy(function (a) { + this.prev(c.navSpeed); + }, this) + )), + (this._controls.$next = a("<" + c.navElement + ">") + .addClass(c.navClass[1]) + .html(c.navText[1]) + .appendTo(this._controls.$relative) + .on( + "click", + a.proxy(function (a) { + this.next(c.navSpeed); + }, this) + )), + c.dotsData || + (this._templates = [ + a("
        ") + .addClass(c.dotClass) + .append(a("")) + .prop("outerHTML"), + ]), + (this._controls.$absolute = ( + c.dotsContainer + ? a(c.dotsContainer) + : a("
        ").addClass(c.dotsClass).appendTo(this.$element) + ).addClass("disabled")), + this._controls.$absolute.on( + "click", + "div", + a.proxy(function (b) { + var d = a(b.target).parent().is(this._controls.$absolute) + ? a(b.target).index() + : a(b.target).parent().index(); + b.preventDefault(), this.to(d, c.dotsSpeed); + }, this) + ); + for (b in this._overrides) this._core[b] = a.proxy(this[b], this); + }), + (e.prototype.destroy = function () { + var a, b, c, d; + for (a in this._handlers) this.$element.off(a, this._handlers[a]); + for (b in this._controls) this._controls[b].remove(); + for (d in this.overides) this._core[d] = this._overrides[d]; + for (c in Object.getOwnPropertyNames(this)) + "function" != typeof this[c] && (this[c] = null); + }), + (e.prototype.update = function () { + var a, + b, + c, + d = this._core.clones().length / 2, + e = d + this._core.items().length, + f = this._core.maximum(!0), + g = this._core.settings, + h = g.center || g.autoWidth || g.dotsData ? 1 : g.dotsEach || g.items; + if ( + ("page" !== g.slideBy && (g.slideBy = Math.min(g.slideBy, g.items)), + g.dots || "page" == g.slideBy) + ) + for (this._pages = [], a = d, b = 0, c = 0; a < e; a++) { + if (b >= h || 0 === b) { + if ( + (this._pages.push({ + start: Math.min(f, a - d), + end: a - d + h - 1, + }), + Math.min(f, a - d) === f) + ) + break; + (b = 0), ++c; + } + b += this._core.mergers(this._core.relative(a)); + } + }), + (e.prototype.draw = function () { + var b, + c = this._core.settings, + d = this._core.items().length <= c.items, + e = this._core.relative(this._core.current()), + f = c.loop || c.rewind; + this._controls.$relative.toggleClass("disabled", !c.nav || d), + c.nav && + (this._controls.$previous.toggleClass( + "disabled", + !f && e <= this._core.minimum(!0) + ), + this._controls.$next.toggleClass( + "disabled", + !f && e >= this._core.maximum(!0) + )), + this._controls.$absolute.toggleClass("disabled", !c.dots || d), + c.dots && + ((b = + this._pages.length - this._controls.$absolute.children().length), + c.dotsData && 0 !== b + ? this._controls.$absolute.html(this._templates.join("")) + : b > 0 + ? this._controls.$absolute.append( + new Array(b + 1).join(this._templates[0]) + ) + : b < 0 && this._controls.$absolute.children().slice(b).remove(), + this._controls.$absolute.find(".active").removeClass("active"), + this._controls.$absolute + .children() + .eq(a.inArray(this.current(), this._pages)) + .addClass("active")); + }), + (e.prototype.onTrigger = function (b) { + var c = this._core.settings; + b.page = { + index: a.inArray(this.current(), this._pages), + count: this._pages.length, + size: + c && + (c.center || c.autoWidth || c.dotsData ? 1 : c.dotsEach || c.items), + }; + }), + (e.prototype.current = function () { + var b = this._core.relative(this._core.current()); + return a + .grep( + this._pages, + a.proxy(function (a, c) { + return a.start <= b && a.end >= b; + }, this) + ) + .pop(); + }), + (e.prototype.getPosition = function (b) { + var c, + d, + e = this._core.settings; + return ( + "page" == e.slideBy + ? ((c = a.inArray(this.current(), this._pages)), + (d = this._pages.length), + b ? ++c : --c, + (c = this._pages[((c % d) + d) % d].start)) + : ((c = this._core.relative(this._core.current())), + (d = this._core.items().length), + b ? (c += e.slideBy) : (c -= e.slideBy)), + c + ); + }), + (e.prototype.next = function (b) { + a.proxy(this._overrides.to, this._core)(this.getPosition(!0), b); + }), + (e.prototype.prev = function (b) { + a.proxy(this._overrides.to, this._core)(this.getPosition(!1), b); + }), + (e.prototype.to = function (b, c, d) { + var e; + !d && this._pages.length + ? ((e = this._pages.length), + a.proxy(this._overrides.to, this._core)( + this._pages[((b % e) + e) % e].start, + c + )) + : a.proxy(this._overrides.to, this._core)(b, c); + }), + (a.fn.owlCarousel.Constructor.Plugins.Navigation = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + "use strict"; + var e = function (c) { + (this._core = c), + (this._hashes = {}), + (this.$element = this._core.$element), + (this._handlers = { + "initialized.owl.carousel": a.proxy(function (c) { + c.namespace && + "URLHash" === this._core.settings.startPosition && + a(b).trigger("hashchange.owl.navigation"); + }, this), + "prepared.owl.carousel": a.proxy(function (b) { + if (b.namespace) { + var c = a(b.content) + .find("[data-hash]") + .addBack("[data-hash]") + .attr("data-hash"); + if (!c) return; + this._hashes[c] = b.content; + } + }, this), + "changed.owl.carousel": a.proxy(function (c) { + if (c.namespace && "position" === c.property.name) { + var d = this._core.items( + this._core.relative(this._core.current()) + ), + e = a + .map(this._hashes, function (a, b) { + return a === d ? b : null; + }) + .join(); + if (!e || b.location.hash.slice(1) === e) return; + b.location.hash = e; + } + }, this), + }), + (this._core.options = a.extend({}, e.Defaults, this._core.options)), + this.$element.on(this._handlers), + a(b).on( + "hashchange.owl.navigation", + a.proxy(function (a) { + var c = b.location.hash.substring(1), + e = this._core.$stage.children(), + f = this._hashes[c] && e.index(this._hashes[c]); + f !== d && + f !== this._core.current() && + this._core.to(this._core.relative(f), !1, !0); + }, this) + ); + }; + (e.Defaults = { URLhashListener: !1 }), + (e.prototype.destroy = function () { + var c, d; + a(b).off("hashchange.owl.navigation"); + for (c in this._handlers) this._core.$element.off(c, this._handlers[c]); + for (d in Object.getOwnPropertyNames(this)) + "function" != typeof this[d] && (this[d] = null); + }), + (a.fn.owlCarousel.Constructor.Plugins.Hash = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + function e(b, c) { + var e = !1, + f = b.charAt(0).toUpperCase() + b.slice(1); + return ( + a.each((b + " " + h.join(f + " ") + f).split(" "), function (a, b) { + if (g[b] !== d) return (e = !c || b), !1; + }), + e + ); + } + function f(a) { + return e(a, !0); + } + var g = a("").get(0).style, + h = "Webkit Moz O ms".split(" "), + i = { + transition: { + end: { + WebkitTransition: "webkitTransitionEnd", + MozTransition: "transitionend", + OTransition: "oTransitionEnd", + transition: "transitionend", + }, + }, + animation: { + end: { + WebkitAnimation: "webkitAnimationEnd", + MozAnimation: "animationend", + OAnimation: "oAnimationEnd", + animation: "animationend", + }, + }, + }, + j = { + csstransforms: function () { + return !!e("transform"); + }, + csstransforms3d: function () { + return !!e("perspective"); + }, + csstransitions: function () { + return !!e("transition"); + }, + cssanimations: function () { + return !!e("animation"); + }, + }; + j.csstransitions() && + ((a.support.transition = new String(f("transition"))), + (a.support.transition.end = i.transition.end[a.support.transition])), + j.cssanimations() && + ((a.support.animation = new String(f("animation"))), + (a.support.animation.end = i.animation.end[a.support.animation])), + j.csstransforms() && + ((a.support.transform = new String(f("transform"))), + (a.support.transform3d = j.csstransforms3d())); + })(window.Zepto || window.jQuery, window, document); diff --git a/SUBMISSION/IGNORAMUS/assets/js/plugins.js b/SUBMISSION/IGNORAMUS/assets/js/plugins.js index f887480..c5a77bc 100644 --- a/SUBMISSION/IGNORAMUS/assets/js/plugins.js +++ b/SUBMISSION/IGNORAMUS/assets/js/plugins.js @@ -1,24 +1,44 @@ // Avoid `console` errors in browsers that lack a console. -(function() { - var method; - var noop = function () {}; - var methods = [ - 'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', - 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', - 'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd', - 'timeline', 'timelineEnd', 'timeStamp', 'trace', 'warn' - ]; - var length = methods.length; - var console = (window.console = window.console || {}); +(function () { + var method; + var noop = function () {}; + var methods = [ + "assert", + "clear", + "count", + "debug", + "dir", + "dirxml", + "error", + "exception", + "group", + "groupCollapsed", + "groupEnd", + "info", + "log", + "markTimeline", + "profile", + "profileEnd", + "table", + "time", + "timeEnd", + "timeline", + "timelineEnd", + "timeStamp", + "trace", + "warn", + ]; + var length = methods.length; + var console = (window.console = window.console || {}); - while (length--) { - method = methods[length]; + while (length--) { + method = methods[length]; - // Only stub undefined methods. - if (!console[method]) { - console[method] = noop; - } + // Only stub undefined methods. + if (!console[method]) { + console[method] = noop; } -}()); + } +})(); // Place any jQuery/helper plugins in here. diff --git a/SUBMISSION/IGNORAMUS/assets/js/popper.min.js b/SUBMISSION/IGNORAMUS/assets/js/popper.min.js index 0f20d2a..02a5545 100644 --- a/SUBMISSION/IGNORAMUS/assets/js/popper.min.js +++ b/SUBMISSION/IGNORAMUS/assets/js/popper.min.js @@ -1,5 +1,1116 @@ /* Copyright (C) Federico Zivolo 2017 Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). - */(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll)/.test(r+s+p)?e:n(o(e))}function r(e){var o=e&&e.offsetParent,i=o&&o.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(o.nodeName)&&'static'===t(o,'position')?r(o):o:e?e.ownerDocument.documentElement:document.documentElement}function p(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||r(e.firstElementChild)===e)}function s(e){return null===e.parentNode?e:s(e.parentNode)}function d(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=o?e:t,n=o?t:e,a=document.createRange();a.setStart(i,0),a.setEnd(n,0);var l=a.commonAncestorContainer;if(e!==l&&t!==l||i.contains(n))return p(l)?l:r(l);var f=s(e);return f.host?d(f.host,t):d(e,s(t).host)}function a(e){var t=1=o.clientWidth&&i>=o.clientHeight}),l=0i[e]&&!t.escapeWithReference&&(n=_(p[o],i[e]-('right'===e?p.width:p.height))),pe({},o,n)}};return n.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';p=se({},p,s[t](e))}),e.offsets.popper=p,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,i=t.reference,n=e.placement.split('-')[0],r=X,p=-1!==['top','bottom'].indexOf(n),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]r(i[s])&&(e.offsets.popper[d]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var i;if(!F(e.instance.modifiers,'arrow','keepTogether'))return e;var n=o.element;if('string'==typeof n){if(n=e.instance.popper.querySelector(n),!n)return e;}else if(!e.instance.popper.contains(n))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var r=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexOf(r),l=a?'height':'width',f=a?'Top':'Left',m=f.toLowerCase(),h=a?'left':'top',g=a?'bottom':'right',u=L(n)[l];d[g]-us[g]&&(e.offsets.popper[m]+=d[m]+u-s[g]),e.offsets.popper=c(e.offsets.popper);var b=d[m]+d[l]/2-u/2,w=t(e.instance.popper),y=parseFloat(w['margin'+f],10),E=parseFloat(w['border'+f+'Width'],10),v=b-e.offsets.popper[m]-y-E;return v=J(_(s[l]-u,v),0),e.arrowElement=n,e.offsets.arrow=(i={},pe(i,m,Math.round(v)),pe(i,h,''),i),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(k(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=y(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement),i=e.placement.split('-')[0],n=x(i),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case le.FLIP:p=[i,n];break;case le.CLOCKWISE:p=q(i);break;case le.COUNTERCLOCKWISE:p=q(i,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(i!==s||p.length===d+1)return e;i=e.placement.split('-')[0],n=x(i);var a=e.offsets.popper,l=e.offsets.reference,f=X,m='left'===i&&f(a.right)>f(l.left)||'right'===i&&f(a.left)f(l.top)||'bottom'===i&&f(a.top)f(o.right),g=f(a.top)f(o.bottom),b='left'===i&&h||'right'===i&&c||'top'===i&&g||'bottom'===i&&u,w=-1!==['top','bottom'].indexOf(i),y=!!t.flipVariations&&(w&&'start'===r&&h||w&&'end'===r&&c||!w&&'start'===r&&g||!w&&'end'===r&&u);(m||b||y)&&(e.flipped=!0,(m||b)&&(i=p[d+1]),y&&(r=K(r)),e.placement=i+(r?'-'+r:''),e.offsets.popper=se({},e.offsets.popper,S(e.instance.popper,e.offsets.reference,e.placement)),e=C(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],i=e.offsets,n=i.popper,r=i.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return n[p?'left':'top']=r[o]-(s?n[p?'width':'height']:0),e.placement=x(t),e.offsets.popper=c(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(!F(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=T(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottomo.right||t.top>o.bottom||t.right= o.clientWidth && i >= o.clientHeight; + }), + l = 0 < a.length ? a[0].key : d[0].key, + f = e.split("-")[1]; + return l + (f ? "-" + f : ""); + } + function O(e, t, o) { + var i = d(t, o); + return u(o, i); + } + function L(e) { + var t = getComputedStyle(e), + o = parseFloat(t.marginTop) + parseFloat(t.marginBottom), + i = parseFloat(t.marginLeft) + parseFloat(t.marginRight), + n = { width: e.offsetWidth + i, height: e.offsetHeight + o }; + return n; + } + function x(e) { + var t = { left: "right", right: "left", bottom: "top", top: "bottom" }; + return e.replace(/left|right|bottom|top/g, function (e) { + return t[e]; + }); + } + function S(e, t, o) { + o = o.split("-")[0]; + var i = L(e), + n = { width: i.width, height: i.height }, + r = -1 !== ["right", "left"].indexOf(o), + p = r ? "top" : "left", + s = r ? "left" : "top", + d = r ? "height" : "width", + a = r ? "width" : "height"; + return ( + (n[p] = t[p] + t[d] / 2 - i[d] / 2), + (n[s] = o === s ? t[s] - i[a] : t[x(s)]), + n + ); + } + function T(e, t) { + return Array.prototype.find ? e.find(t) : e.filter(t)[0]; + } + function D(e, t, o) { + if (Array.prototype.findIndex) + return e.findIndex(function (e) { + return e[t] === o; + }); + var i = T(e, function (e) { + return e[t] === o; + }); + return e.indexOf(i); + } + function C(t, o, i) { + var n = void 0 === i ? t : t.slice(0, D(t, "name", i)); + return ( + n.forEach(function (t) { + t["function"] && + console.warn("`modifier.function` is deprecated, use `modifier.fn`!"); + var i = t["function"] || t.fn; + t.enabled && + e(i) && + ((o.offsets.popper = c(o.offsets.popper)), + (o.offsets.reference = c(o.offsets.reference)), + (o = i(o, t))); + }), + o + ); + } + function N() { + if (!this.state.isDestroyed) { + var e = { + instance: this, + styles: {}, + arrowStyles: {}, + attributes: {}, + flipped: !1, + offsets: {}, + }; + (e.offsets.reference = O(this.state, this.popper, this.reference)), + (e.placement = v( + this.options.placement, + e.offsets.reference, + this.popper, + this.reference, + this.options.modifiers.flip.boundariesElement, + this.options.modifiers.flip.padding + )), + (e.originalPlacement = e.placement), + (e.offsets.popper = S(this.popper, e.offsets.reference, e.placement)), + (e.offsets.popper.position = "absolute"), + (e = C(this.modifiers, e)), + this.state.isCreated + ? this.options.onUpdate(e) + : ((this.state.isCreated = !0), this.options.onCreate(e)); + } + } + function k(e, t) { + return e.some(function (e) { + var o = e.name, + i = e.enabled; + return i && o === t; + }); + } + function W(e) { + for ( + var t = [!1, "ms", "Webkit", "Moz", "O"], + o = e.charAt(0).toUpperCase() + e.slice(1), + n = 0; + n < t.length - 1; + n++ + ) { + var i = t[n], + r = i ? "" + i + o : e; + if ("undefined" != typeof document.body.style[r]) return r; + } + return null; + } + function P() { + return ( + (this.state.isDestroyed = !0), + k(this.modifiers, "applyStyle") && + (this.popper.removeAttribute("x-placement"), + (this.popper.style.left = ""), + (this.popper.style.position = ""), + (this.popper.style.top = ""), + (this.popper.style[W("transform")] = "")), + this.disableEventListeners(), + this.options.removeOnDestroy && + this.popper.parentNode.removeChild(this.popper), + this + ); + } + function B(e) { + var t = e.ownerDocument; + return t ? t.defaultView : window; + } + function H(e, t, o, i) { + var r = "BODY" === e.nodeName, + p = r ? e.ownerDocument.defaultView : e; + p.addEventListener(t, o, { passive: !0 }), + r || H(n(p.parentNode), t, o, i), + i.push(p); + } + function A(e, t, o, i) { + (o.updateBound = i), + B(e).addEventListener("resize", o.updateBound, { passive: !0 }); + var r = n(e); + return ( + H(r, "scroll", o.updateBound, o.scrollParents), + (o.scrollElement = r), + (o.eventsEnabled = !0), + o + ); + } + function I() { + this.state.eventsEnabled || + (this.state = A( + this.reference, + this.options, + this.state, + this.scheduleUpdate + )); + } + function M(e, t) { + return ( + B(e).removeEventListener("resize", t.updateBound), + t.scrollParents.forEach(function (e) { + e.removeEventListener("scroll", t.updateBound); + }), + (t.updateBound = null), + (t.scrollParents = []), + (t.scrollElement = null), + (t.eventsEnabled = !1), + t + ); + } + function R() { + this.state.eventsEnabled && + (cancelAnimationFrame(this.scheduleUpdate), + (this.state = M(this.reference, this.state))); + } + function U(e) { + return "" !== e && !isNaN(parseFloat(e)) && isFinite(e); + } + function Y(e, t) { + Object.keys(t).forEach(function (o) { + var i = ""; + -1 !== ["width", "height", "top", "right", "bottom", "left"].indexOf(o) && + U(t[o]) && + (i = "px"), + (e.style[o] = t[o] + i); + }); + } + function j(e, t) { + Object.keys(t).forEach(function (o) { + var i = t[o]; + !1 === i ? e.removeAttribute(o) : e.setAttribute(o, t[o]); + }); + } + function F(e, t, o) { + var i = T(e, function (e) { + var o = e.name; + return o === t; + }), + n = + !!i && + e.some(function (e) { + return e.name === o && e.enabled && e.order < i.order; + }); + if (!n) { + var r = "`" + t + "`"; + console.warn( + "`" + + o + + "`" + + " modifier is required by " + + r + + " modifier in order to work, be sure to include it before " + + r + + "!" + ); + } + return n; + } + function K(e) { + return "end" === e ? "start" : "start" === e ? "end" : e; + } + function q(e) { + var t = 1 < arguments.length && void 0 !== arguments[1] && arguments[1], + o = ae.indexOf(e), + i = ae.slice(o + 1).concat(ae.slice(0, o)); + return t ? i.reverse() : i; + } + function V(e, t, o, i) { + var n = e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/), + r = +n[1], + p = n[2]; + if (!r) return e; + if (0 === p.indexOf("%")) { + var s; + switch (p) { + case "%p": + s = o; + break; + case "%": + case "%r": + default: + s = i; + } + var d = c(s); + return (d[t] / 100) * r; + } + if ("vh" === p || "vw" === p) { + var a; + return ( + (a = + "vh" === p + ? J(document.documentElement.clientHeight, window.innerHeight || 0) + : J(document.documentElement.clientWidth, window.innerWidth || 0)), + (a / 100) * r + ); + } + return r; + } + function z(e, t, o, i) { + var n = [0, 0], + r = -1 !== ["right", "left"].indexOf(i), + p = e.split(/(\+|\-)/).map(function (e) { + return e.trim(); + }), + s = p.indexOf( + T(p, function (e) { + return -1 !== e.search(/,|\s/); + }) + ); + p[s] && + -1 === p[s].indexOf(",") && + console.warn( + "Offsets separated by white space(s) are deprecated, use a comma (,) instead." + ); + var d = /\s*,\s*|\s+/, + a = + -1 === s + ? [p] + : [ + p.slice(0, s).concat([p[s].split(d)[0]]), + [p[s].split(d)[1]].concat(p.slice(s + 1)), + ]; + return ( + (a = a.map(function (e, i) { + var n = (1 === i ? !r : r) ? "height" : "width", + p = !1; + return e + .reduce(function (e, t) { + return "" === e[e.length - 1] && -1 !== ["+", "-"].indexOf(t) + ? ((e[e.length - 1] = t), (p = !0), e) + : p + ? ((e[e.length - 1] += t), (p = !1), e) + : e.concat(t); + }, []) + .map(function (e) { + return V(e, n, t, o); + }); + })), + a.forEach(function (e, t) { + e.forEach(function (o, i) { + U(o) && (n[t] += o * ("-" === e[i - 1] ? -1 : 1)); + }); + }), + n + ); + } + function G(e, t) { + var o, + i = t.offset, + n = e.placement, + r = e.offsets, + p = r.popper, + s = r.reference, + d = n.split("-")[0]; + return ( + (o = U(+i) ? [+i, 0] : z(i, p, s, d)), + "left" === d + ? ((p.top += o[0]), (p.left -= o[1])) + : "right" === d + ? ((p.top += o[0]), (p.left += o[1])) + : "top" === d + ? ((p.left += o[0]), (p.top -= o[1])) + : "bottom" === d && ((p.left += o[0]), (p.top += o[1])), + (e.popper = p), + e + ); + } + for ( + var _ = Math.min, + X = Math.floor, + J = Math.max, + Q = "undefined" != typeof window && "undefined" != typeof document, + Z = ["Edge", "Trident", "Firefox"], + $ = 0, + ee = 0; + ee < Z.length; + ee += 1 + ) + if (Q && 0 <= navigator.userAgent.indexOf(Z[ee])) { + $ = 1; + break; + } + var i, + te = Q && window.Promise, + oe = te + ? function (e) { + var t = !1; + return function () { + t || + ((t = !0), + window.Promise.resolve().then(function () { + (t = !1), e(); + })); + }; + } + : function (e) { + var t = !1; + return function () { + t || + ((t = !0), + setTimeout(function () { + (t = !1), e(); + }, $)); + }; + }, + ie = function () { + return ( + void 0 == i && (i = -1 !== navigator.appVersion.indexOf("MSIE 10")), i + ); + }, + ne = function (e, t) { + if (!(e instanceof t)) + throw new TypeError("Cannot call a class as a function"); + }, + re = (function () { + function e(e, t) { + for (var o, n = 0; n < t.length; n++) + (o = t[n]), + (o.enumerable = o.enumerable || !1), + (o.configurable = !0), + "value" in o && (o.writable = !0), + Object.defineProperty(e, o.key, o); + } + return function (t, o, i) { + return o && e(t.prototype, o), i && e(t, i), t; + }; + })(), + pe = function (e, t, o) { + return ( + t in e + ? Object.defineProperty(e, t, { + value: o, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (e[t] = o), + e + ); + }, + se = + Object.assign || + function (e) { + for (var t, o = 1; o < arguments.length; o++) + for (var i in ((t = arguments[o]), t)) + Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); + return e; + }, + de = [ + "auto-start", + "auto", + "auto-end", + "top-start", + "top", + "top-end", + "right-start", + "right", + "right-end", + "bottom-end", + "bottom", + "bottom-start", + "left-end", + "left", + "left-start", + ], + ae = de.slice(3), + le = { + FLIP: "flip", + CLOCKWISE: "clockwise", + COUNTERCLOCKWISE: "counterclockwise", + }, + fe = (function () { + function t(o, i) { + var n = this, + r = + 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {}; + ne(this, t), + (this.scheduleUpdate = function () { + return requestAnimationFrame(n.update); + }), + (this.update = oe(this.update.bind(this))), + (this.options = se({}, t.Defaults, r)), + (this.state = { isDestroyed: !1, isCreated: !1, scrollParents: [] }), + (this.reference = o && o.jquery ? o[0] : o), + (this.popper = i && i.jquery ? i[0] : i), + (this.options.modifiers = {}), + Object.keys(se({}, t.Defaults.modifiers, r.modifiers)).forEach( + function (e) { + n.options.modifiers[e] = se( + {}, + t.Defaults.modifiers[e] || {}, + r.modifiers ? r.modifiers[e] : {} + ); + } + ), + (this.modifiers = Object.keys(this.options.modifiers) + .map(function (e) { + return se({ name: e }, n.options.modifiers[e]); + }) + .sort(function (e, t) { + return e.order - t.order; + })), + this.modifiers.forEach(function (t) { + t.enabled && + e(t.onLoad) && + t.onLoad(n.reference, n.popper, n.options, t, n.state); + }), + this.update(); + var p = this.options.eventsEnabled; + p && this.enableEventListeners(), (this.state.eventsEnabled = p); + } + return ( + re(t, [ + { + key: "update", + value: function () { + return N.call(this); + }, + }, + { + key: "destroy", + value: function () { + return P.call(this); + }, + }, + { + key: "enableEventListeners", + value: function () { + return I.call(this); + }, + }, + { + key: "disableEventListeners", + value: function () { + return R.call(this); + }, + }, + ]), + t + ); + })(); + return ( + (fe.Utils = ("undefined" == typeof window ? global : window).PopperUtils), + (fe.placements = de), + (fe.Defaults = { + placement: "bottom", + eventsEnabled: !0, + removeOnDestroy: !1, + onCreate: function () {}, + onUpdate: function () {}, + modifiers: { + shift: { + order: 100, + enabled: !0, + fn: function (e) { + var t = e.placement, + o = t.split("-")[0], + i = t.split("-")[1]; + if (i) { + var n = e.offsets, + r = n.reference, + p = n.popper, + s = -1 !== ["bottom", "top"].indexOf(o), + d = s ? "left" : "top", + a = s ? "width" : "height", + l = { + start: pe({}, d, r[d]), + end: pe({}, d, r[d] + r[a] - p[a]), + }; + e.offsets.popper = se({}, p, l[i]); + } + return e; + }, + }, + offset: { order: 200, enabled: !0, fn: G, offset: 0 }, + preventOverflow: { + order: 300, + enabled: !0, + fn: function (e, t) { + var o = t.boundariesElement || r(e.instance.popper); + e.instance.reference === o && (o = r(o)); + var i = y(e.instance.popper, e.instance.reference, t.padding, o); + t.boundaries = i; + var n = t.priority, + p = e.offsets.popper, + s = { + primary: function (e) { + var o = p[e]; + return ( + p[e] < i[e] && + !t.escapeWithReference && + (o = J(p[e], i[e])), + pe({}, e, o) + ); + }, + secondary: function (e) { + var o = "right" === e ? "left" : "top", + n = p[o]; + return ( + p[e] > i[e] && + !t.escapeWithReference && + (n = _( + p[o], + i[e] - ("right" === e ? p.width : p.height) + )), + pe({}, o, n) + ); + }, + }; + return ( + n.forEach(function (e) { + var t = + -1 === ["left", "top"].indexOf(e) ? "secondary" : "primary"; + p = se({}, p, s[t](e)); + }), + (e.offsets.popper = p), + e + ); + }, + priority: ["left", "right", "top", "bottom"], + padding: 5, + boundariesElement: "scrollParent", + }, + keepTogether: { + order: 400, + enabled: !0, + fn: function (e) { + var t = e.offsets, + o = t.popper, + i = t.reference, + n = e.placement.split("-")[0], + r = X, + p = -1 !== ["top", "bottom"].indexOf(n), + s = p ? "right" : "bottom", + d = p ? "left" : "top", + a = p ? "width" : "height"; + return ( + o[s] < r(i[d]) && (e.offsets.popper[d] = r(i[d]) - o[a]), + o[d] > r(i[s]) && (e.offsets.popper[d] = r(i[s])), + e + ); + }, + }, + arrow: { + order: 500, + enabled: !0, + fn: function (e, o) { + var i; + if (!F(e.instance.modifiers, "arrow", "keepTogether")) return e; + var n = o.element; + if ("string" == typeof n) { + if (((n = e.instance.popper.querySelector(n)), !n)) return e; + } else if (!e.instance.popper.contains(n)) + return ( + console.warn( + "WARNING: `arrow.element` must be child of its popper element!" + ), + e + ); + var r = e.placement.split("-")[0], + p = e.offsets, + s = p.popper, + d = p.reference, + a = -1 !== ["left", "right"].indexOf(r), + l = a ? "height" : "width", + f = a ? "Top" : "Left", + m = f.toLowerCase(), + h = a ? "left" : "top", + g = a ? "bottom" : "right", + u = L(n)[l]; + d[g] - u < s[m] && (e.offsets.popper[m] -= s[m] - (d[g] - u)), + d[m] + u > s[g] && (e.offsets.popper[m] += d[m] + u - s[g]), + (e.offsets.popper = c(e.offsets.popper)); + var b = d[m] + d[l] / 2 - u / 2, + w = t(e.instance.popper), + y = parseFloat(w["margin" + f], 10), + E = parseFloat(w["border" + f + "Width"], 10), + v = b - e.offsets.popper[m] - y - E; + return ( + (v = J(_(s[l] - u, v), 0)), + (e.arrowElement = n), + (e.offsets.arrow = + ((i = {}), pe(i, m, Math.round(v)), pe(i, h, ""), i)), + e + ); + }, + element: "[x-arrow]", + }, + flip: { + order: 600, + enabled: !0, + fn: function (e, t) { + if (k(e.instance.modifiers, "inner")) return e; + if (e.flipped && e.placement === e.originalPlacement) return e; + var o = y( + e.instance.popper, + e.instance.reference, + t.padding, + t.boundariesElement + ), + i = e.placement.split("-")[0], + n = x(i), + r = e.placement.split("-")[1] || "", + p = []; + switch (t.behavior) { + case le.FLIP: + p = [i, n]; + break; + case le.CLOCKWISE: + p = q(i); + break; + case le.COUNTERCLOCKWISE: + p = q(i, !0); + break; + default: + p = t.behavior; + } + return ( + p.forEach(function (s, d) { + if (i !== s || p.length === d + 1) return e; + (i = e.placement.split("-")[0]), (n = x(i)); + var a = e.offsets.popper, + l = e.offsets.reference, + f = X, + m = + ("left" === i && f(a.right) > f(l.left)) || + ("right" === i && f(a.left) < f(l.right)) || + ("top" === i && f(a.bottom) > f(l.top)) || + ("bottom" === i && f(a.top) < f(l.bottom)), + h = f(a.left) < f(o.left), + c = f(a.right) > f(o.right), + g = f(a.top) < f(o.top), + u = f(a.bottom) > f(o.bottom), + b = + ("left" === i && h) || + ("right" === i && c) || + ("top" === i && g) || + ("bottom" === i && u), + w = -1 !== ["top", "bottom"].indexOf(i), + y = + !!t.flipVariations && + ((w && "start" === r && h) || + (w && "end" === r && c) || + (!w && "start" === r && g) || + (!w && "end" === r && u)); + (m || b || y) && + ((e.flipped = !0), + (m || b) && (i = p[d + 1]), + y && (r = K(r)), + (e.placement = i + (r ? "-" + r : "")), + (e.offsets.popper = se( + {}, + e.offsets.popper, + S(e.instance.popper, e.offsets.reference, e.placement) + )), + (e = C(e.instance.modifiers, e, "flip"))); + }), + e + ); + }, + behavior: "flip", + padding: 5, + boundariesElement: "viewport", + }, + inner: { + order: 700, + enabled: !1, + fn: function (e) { + var t = e.placement, + o = t.split("-")[0], + i = e.offsets, + n = i.popper, + r = i.reference, + p = -1 !== ["left", "right"].indexOf(o), + s = -1 === ["top", "left"].indexOf(o); + return ( + (n[p ? "left" : "top"] = + r[o] - (s ? n[p ? "width" : "height"] : 0)), + (e.placement = x(t)), + (e.offsets.popper = c(n)), + e + ); + }, + }, + hide: { + order: 800, + enabled: !0, + fn: function (e) { + if (!F(e.instance.modifiers, "hide", "preventOverflow")) return e; + var t = e.offsets.reference, + o = T(e.instance.modifiers, function (e) { + return "preventOverflow" === e.name; + }).boundaries; + if ( + t.bottom < o.top || + t.left > o.right || + t.top > o.bottom || + t.right < o.left + ) { + if (!0 === e.hide) return e; + (e.hide = !0), (e.attributes["x-out-of-boundaries"] = ""); + } else { + if (!1 === e.hide) return e; + (e.hide = !1), (e.attributes["x-out-of-boundaries"] = !1); + } + return e; + }, + }, + computeStyle: { + order: 850, + enabled: !0, + fn: function (e, t) { + var o = t.x, + i = t.y, + n = e.offsets.popper, + p = T(e.instance.modifiers, function (e) { + return "applyStyle" === e.name; + }).gpuAcceleration; + void 0 !== p && + console.warn( + "WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!" + ); + var s, + d, + a = void 0 === p ? t.gpuAcceleration : p, + l = r(e.instance.popper), + f = g(l), + m = { position: n.position }, + h = { + left: X(n.left), + top: X(n.top), + bottom: X(n.bottom), + right: X(n.right), + }, + c = "bottom" === o ? "top" : "bottom", + u = "right" === i ? "left" : "right", + b = W("transform"); + if ( + ((d = "bottom" == c ? -f.height + h.bottom : h.top), + (s = "right" == u ? -f.width + h.right : h.left), + a && b) + ) + (m[b] = "translate3d(" + s + "px, " + d + "px, 0)"), + (m[c] = 0), + (m[u] = 0), + (m.willChange = "transform"); + else { + var w = "bottom" == c ? -1 : 1, + y = "right" == u ? -1 : 1; + (m[c] = d * w), (m[u] = s * y), (m.willChange = c + ", " + u); + } + var E = { "x-placement": e.placement }; + return ( + (e.attributes = se({}, E, e.attributes)), + (e.styles = se({}, m, e.styles)), + (e.arrowStyles = se({}, e.offsets.arrow, e.arrowStyles)), + e + ); + }, + gpuAcceleration: !0, + x: "bottom", + y: "right", + }, + applyStyle: { + order: 900, + enabled: !0, + fn: function (e) { + return ( + Y(e.instance.popper, e.styles), + j(e.instance.popper, e.attributes), + e.arrowElement && + Object.keys(e.arrowStyles).length && + Y(e.arrowElement, e.arrowStyles), + e + ); + }, + onLoad: function (e, t, o, i, n) { + var r = O(n, t, e), + p = v( + o.placement, + r, + t, + e, + o.modifiers.flip.boundariesElement, + o.modifiers.flip.padding + ); + return ( + t.setAttribute("x-placement", p), + Y(t, { position: "absolute" }), + o + ); + }, + gpuAcceleration: void 0, + }, + }, + }), + fe + ); +}); //# sourceMappingURL=popper.min.js.map diff --git a/SUBMISSION/IGNORAMUS/assets/js/price-range.js b/SUBMISSION/IGNORAMUS/assets/js/price-range.js index fe05a88..3b8d419 100644 --- a/SUBMISSION/IGNORAMUS/assets/js/price-range.js +++ b/SUBMISSION/IGNORAMUS/assets/js/price-range.js @@ -10,2370 +10,2684 @@ // http://ionden.com/a/plugins/licence-en.html // ===================================================================================================================== -;(function(factory) { - if (typeof define === "function" && define.amd) { - define(["jquery"], function (jQuery) { - return factory(jQuery, document, window, navigator); - }); - } else if (typeof exports === "object") { - factory(require("jquery"), document, window, navigator); - } else { - factory(jQuery, document, window, navigator); - } -} (function ($, document, window, navigator, undefined) { - "use strict"; - - // ================================================================================================================= - // Service - - var plugin_count = 0; - - // IE8 fix - var is_old_ie = (function () { - var n = navigator.userAgent, - r = /msie\s\d+/i, - v; - if (n.search(r) > 0) { - v = r.exec(n).toString(); - v = v.split(" ")[1]; - if (v < 9) { - $("html").addClass("lt-ie9"); - return true; - } - } - return false; - } ()); - if (!Function.prototype.bind) { - Function.prototype.bind = function bind(that) { - - var target = this; - var slice = [].slice; - - if (typeof target != "function") { - throw new TypeError(); - } - - var args = slice.call(arguments, 1), - bound = function () { - - if (this instanceof bound) { - - var F = function(){}; - F.prototype = target.prototype; - var self = new F(); - - var result = target.apply( - self, - args.concat(slice.call(arguments)) - ); - if (Object(result) === result) { - return result; - } - return self; - - } else { - - return target.apply( - that, - args.concat(slice.call(arguments)) - ); - - } - - }; - - return bound; - }; - } - if (!Array.prototype.indexOf) { - Array.prototype.indexOf = function(searchElement, fromIndex) { - var k; - if (this == null) { - throw new TypeError('"this" is null or not defined'); - } - var O = Object(this); - var len = O.length >>> 0; - if (len === 0) { - return -1; - } - var n = +fromIndex || 0; - if (Math.abs(n) === Infinity) { - n = 0; - } - if (n >= len) { - return -1; - } - k = Math.max(n >= 0 ? n : len - Math.abs(n), 0); - while (k < len) { - if (k in O && O[k] === searchElement) { - return k; - } - k++; - } - return -1; - }; - } - - - - // ================================================================================================================= - // Template - - var base_html = - '' + - '' + - '01' + - '000' + - '' + - '' + - ''; - - var single_html = - '' + - '' + - ''; - - var double_html = - '' + - '' + - '' + - ''; - - var disable_html = - ''; - - - - // ================================================================================================================= - // Core - - /** - * Main plugin constructor - * - * @param input {Object} link to base input element - * @param options {Object} slider config - * @param plugin_count {Number} - * @constructor - */ - var IonRangeSlider = function (input, options, plugin_count) { - this.VERSION = "2.1.7"; - this.input = input; - this.plugin_count = plugin_count; - this.current_plugin = 0; - this.calc_count = 0; - this.update_tm = 0; - this.old_from = 0; - this.old_to = 0; - this.old_min_interval = null; - this.raf_id = null; - this.dragging = false; - this.force_redraw = false; - this.no_diapason = false; - this.is_key = false; - this.is_update = false; - this.is_start = true; - this.is_finish = false; - this.is_active = false; - this.is_resize = false; - this.is_click = false; - - options = options || {}; - - // cache for links to all DOM elements - this.$cache = { - win: $(window), - body: $(document.body), - input: $(input), - cont: null, - rs: null, - min: null, - max: null, - from: null, - to: null, - single: null, - bar: null, - line: null, - s_single: null, - s_from: null, - s_to: null, - shad_single: null, - shad_from: null, - shad_to: null, - edge: null, - grid: null, - grid_labels: [] - }; - - // storage for measure variables - this.coords = { - // left - x_gap: 0, - x_pointer: 0, - - // width - w_rs: 0, - w_rs_old: 0, - w_handle: 0, - - // percents - p_gap: 0, - p_gap_left: 0, - p_gap_right: 0, - p_step: 0, - p_pointer: 0, - p_handle: 0, - p_single_fake: 0, - p_single_real: 0, - p_from_fake: 0, - p_from_real: 0, - p_to_fake: 0, - p_to_real: 0, - p_bar_x: 0, - p_bar_w: 0, - - // grid - grid_gap: 0, - big_num: 0, - big: [], - big_w: [], - big_p: [], - big_x: [] - }; - - // storage for labels measure variables - this.labels = { - // width - w_min: 0, - w_max: 0, - w_from: 0, - w_to: 0, - w_single: 0, - - // percents - p_min: 0, - p_max: 0, - p_from_fake: 0, - p_from_left: 0, - p_to_fake: 0, - p_to_left: 0, - p_single_fake: 0, - p_single_left: 0 - }; - - - - /** - * get and validate config - */ - var $inp = this.$cache.input, - val = $inp.prop("value"), - config, config_from_data, prop; - - // default config - config = { - type: "single", - - min: 10, - max: 100, - from: null, - to: null, - step: 1, - - min_interval: 0, - max_interval: 0, - drag_interval: false, - - values: [], - p_values: [], - - from_fixed: false, - from_min: null, - from_max: null, - from_shadow: false, - - to_fixed: false, - to_min: null, - to_max: null, - to_shadow: false, - - prettify_enabled: true, - prettify_separator: " ", - prettify: null, - - force_edges: false, - - keyboard: false, - keyboard_step: 5, - - grid: false, - grid_margin: true, - grid_num: 4, - grid_snap: false, - - hide_min_max: false, - hide_from_to: false, - - prefix: "", - postfix: "", - max_postfix: "", - decorate_both: true, - values_separator: " — ", - - input_values_separator: ";", - - disable: false, - - onStart: null, - onChange: null, - onFinish: null, - onUpdate: null - }; - - - // check if base element is input - if ($inp[0].nodeName !== "INPUT") { - console && console.warn && console.warn("Base element should be !", $inp[0]); - } - - - // config from data-attributes extends js config - config_from_data = { - type: $inp.data("type"), - - min: $inp.data("min"), - max: $inp.data("max"), - from: $inp.data("from"), - to: $inp.data("to"), - step: $inp.data("step"), - - min_interval: $inp.data("minInterval"), - max_interval: $inp.data("maxInterval"), - drag_interval: $inp.data("dragInterval"), - - values: $inp.data("values"), - - from_fixed: $inp.data("fromFixed"), - from_min: $inp.data("fromMin"), - from_max: $inp.data("fromMax"), - from_shadow: $inp.data("fromShadow"), - - to_fixed: $inp.data("toFixed"), - to_min: $inp.data("toMin"), - to_max: $inp.data("toMax"), - to_shadow: $inp.data("toShadow"), - - prettify_enabled: $inp.data("prettifyEnabled"), - prettify_separator: $inp.data("prettifySeparator"), - - force_edges: $inp.data("forceEdges"), - - keyboard: $inp.data("keyboard"), - keyboard_step: $inp.data("keyboardStep"), - - grid: $inp.data("grid"), - grid_margin: $inp.data("gridMargin"), - grid_num: $inp.data("gridNum"), - grid_snap: $inp.data("gridSnap"), - - hide_min_max: $inp.data("hideMinMax"), - hide_from_to: $inp.data("hideFromTo"), - - prefix: $inp.data("prefix"), - postfix: $inp.data("postfix"), - max_postfix: $inp.data("maxPostfix"), - decorate_both: $inp.data("decorateBoth"), - values_separator: $inp.data("valuesSeparator"), - - input_values_separator: $inp.data("inputValuesSeparator"), - - disable: $inp.data("disable") - }; - config_from_data.values = config_from_data.values && config_from_data.values.split(","); - - for (prop in config_from_data) { - if (config_from_data.hasOwnProperty(prop)) { - if (config_from_data[prop] === undefined || config_from_data[prop] === "") { - delete config_from_data[prop]; - } - } - } - - - // input value extends default config - if (val !== undefined && val !== "") { - val = val.split(config_from_data.input_values_separator || options.input_values_separator || ";"); - - if (val[0] && val[0] == +val[0]) { - val[0] = +val[0]; - } - if (val[1] && val[1] == +val[1]) { - val[1] = +val[1]; - } - - if (options && options.values && options.values.length) { - config.from = val[0] && options.values.indexOf(val[0]); - config.to = val[1] && options.values.indexOf(val[1]); - } else { - config.from = val[0] && +val[0]; - config.to = val[1] && +val[1]; - } - } - - - - // js config extends default config - $.extend(config, options); - - - // data config extends config - $.extend(config, config_from_data); - this.options = config; - - - - // validate config, to be sure that all data types are correct - this.update_check = {}; - this.validate(); - - - - // default result object, returned to callbacks - this.result = { - input: this.$cache.input, - slider: null, - - min: this.options.min, - max: this.options.max, - - from: this.options.from, - from_percent: 0, - from_value: null, - - to: this.options.to, - to_percent: 0, - to_value: null - }; - - - - this.init(); - }; - - IonRangeSlider.prototype = { - - /** - * Starts or updates the plugin instance - * - * @param [is_update] {boolean} - */ - init: function (is_update) { - this.no_diapason = false; - this.coords.p_step = this.convertToPercent(this.options.step, true); - - this.target = "base"; - - this.toggleInput(); - this.append(); - this.setMinMax(); - - if (is_update) { - this.force_redraw = true; - this.calc(true); - - // callbacks called - this.callOnUpdate(); - } else { - this.force_redraw = true; - this.calc(true); - - // callbacks called - this.callOnStart(); - } - - this.updateScene(); - }, - - /** - * Appends slider template to a DOM - */ - append: function () { - var container_html = ''; - this.$cache.input.before(container_html); - this.$cache.input.prop("readonly", true); - this.$cache.cont = this.$cache.input.prev(); - this.result.slider = this.$cache.cont; - - this.$cache.cont.html(base_html); - this.$cache.rs = this.$cache.cont.find(".irs"); - this.$cache.min = this.$cache.cont.find(".irs-min"); - this.$cache.max = this.$cache.cont.find(".irs-max"); - this.$cache.from = this.$cache.cont.find(".irs-from"); - this.$cache.to = this.$cache.cont.find(".irs-to"); - this.$cache.single = this.$cache.cont.find(".irs-single"); - this.$cache.bar = this.$cache.cont.find(".irs-bar"); - this.$cache.line = this.$cache.cont.find(".irs-line"); - this.$cache.grid = this.$cache.cont.find(".irs-grid"); - - if (this.options.type === "single") { - this.$cache.cont.append(single_html); - this.$cache.edge = this.$cache.cont.find(".irs-bar-edge"); - this.$cache.s_single = this.$cache.cont.find(".single"); - this.$cache.from[0].style.visibility = "hidden"; - this.$cache.to[0].style.visibility = "hidden"; - this.$cache.shad_single = this.$cache.cont.find(".shadow-single"); - } else { - this.$cache.cont.append(double_html); - this.$cache.s_from = this.$cache.cont.find(".from"); - this.$cache.s_to = this.$cache.cont.find(".to"); - this.$cache.shad_from = this.$cache.cont.find(".shadow-from"); - this.$cache.shad_to = this.$cache.cont.find(".shadow-to"); - - this.setTopHandler(); - } - - if (this.options.hide_from_to) { - this.$cache.from[0].style.display = "none"; - this.$cache.to[0].style.display = "none"; - this.$cache.single[0].style.display = "none"; - } - - this.appendGrid(); - - if (this.options.disable) { - this.appendDisableMask(); - this.$cache.input[0].disabled = true; - } else { - this.$cache.cont.removeClass("irs-disabled"); - this.$cache.input[0].disabled = false; - this.bindEvents(); - } - - if (this.options.drag_interval) { - this.$cache.bar[0].style.cursor = "ew-resize"; - } - }, - - /** - * Determine which handler has a priority - * works only for double slider type - */ - setTopHandler: function () { - var min = this.options.min, - max = this.options.max, - from = this.options.from, - to = this.options.to; - - if (from > min && to === max) { - this.$cache.s_from.addClass("type_last"); - } else if (to < max) { - this.$cache.s_to.addClass("type_last"); - } - }, - - /** - * Determine which handles was clicked last - * and which handler should have hover effect - * - * @param target {String} - */ - changeLevel: function (target) { - switch (target) { - case "single": - this.coords.p_gap = this.toFixed(this.coords.p_pointer - this.coords.p_single_fake); - break; - case "from": - this.coords.p_gap = this.toFixed(this.coords.p_pointer - this.coords.p_from_fake); - this.$cache.s_from.addClass("state_hover"); - this.$cache.s_from.addClass("type_last"); - this.$cache.s_to.removeClass("type_last"); - break; - case "to": - this.coords.p_gap = this.toFixed(this.coords.p_pointer - this.coords.p_to_fake); - this.$cache.s_to.addClass("state_hover"); - this.$cache.s_to.addClass("type_last"); - this.$cache.s_from.removeClass("type_last"); - break; - case "both": - this.coords.p_gap_left = this.toFixed(this.coords.p_pointer - this.coords.p_from_fake); - this.coords.p_gap_right = this.toFixed(this.coords.p_to_fake - this.coords.p_pointer); - this.$cache.s_to.removeClass("type_last"); - this.$cache.s_from.removeClass("type_last"); - break; - } - }, - - /** - * Then slider is disabled - * appends extra layer with opacity - */ - appendDisableMask: function () { - this.$cache.cont.append(disable_html); - this.$cache.cont.addClass("irs-disabled"); - }, - - /** - * Remove slider instance - * and ubind all events - */ - remove: function () { - this.$cache.cont.remove(); - this.$cache.cont = null; - - this.$cache.line.off("keydown.irs_" + this.plugin_count); - - this.$cache.body.off("touchmove.irs_" + this.plugin_count); - this.$cache.body.off("mousemove.irs_" + this.plugin_count); - - this.$cache.win.off("touchend.irs_" + this.plugin_count); - this.$cache.win.off("mouseup.irs_" + this.plugin_count); - - if (is_old_ie) { - this.$cache.body.off("mouseup.irs_" + this.plugin_count); - this.$cache.body.off("mouseleave.irs_" + this.plugin_count); - } - - this.$cache.grid_labels = []; - this.coords.big = []; - this.coords.big_w = []; - this.coords.big_p = []; - this.coords.big_x = []; - - cancelAnimationFrame(this.raf_id); - }, - - /** - * bind all slider events - */ - bindEvents: function () { - if (this.no_diapason) { - return; - } - - this.$cache.body.on("touchmove.irs_" + this.plugin_count, this.pointerMove.bind(this)); - this.$cache.body.on("mousemove.irs_" + this.plugin_count, this.pointerMove.bind(this)); - - this.$cache.win.on("touchend.irs_" + this.plugin_count, this.pointerUp.bind(this)); - this.$cache.win.on("mouseup.irs_" + this.plugin_count, this.pointerUp.bind(this)); - - this.$cache.line.on("touchstart.irs_" + this.plugin_count, this.pointerClick.bind(this, "click")); - this.$cache.line.on("mousedown.irs_" + this.plugin_count, this.pointerClick.bind(this, "click")); - - if (this.options.drag_interval && this.options.type === "double") { - this.$cache.bar.on("touchstart.irs_" + this.plugin_count, this.pointerDown.bind(this, "both")); - this.$cache.bar.on("mousedown.irs_" + this.plugin_count, this.pointerDown.bind(this, "both")); - } else { - this.$cache.bar.on("touchstart.irs_" + this.plugin_count, this.pointerClick.bind(this, "click")); - this.$cache.bar.on("mousedown.irs_" + this.plugin_count, this.pointerClick.bind(this, "click")); - } - - if (this.options.type === "single") { - this.$cache.single.on("touchstart.irs_" + this.plugin_count, this.pointerDown.bind(this, "single")); - this.$cache.s_single.on("touchstart.irs_" + this.plugin_count, this.pointerDown.bind(this, "single")); - this.$cache.shad_single.on("touchstart.irs_" + this.plugin_count, this.pointerClick.bind(this, "click")); - - this.$cache.single.on("mousedown.irs_" + this.plugin_count, this.pointerDown.bind(this, "single")); - this.$cache.s_single.on("mousedown.irs_" + this.plugin_count, this.pointerDown.bind(this, "single")); - this.$cache.edge.on("mousedown.irs_" + this.plugin_count, this.pointerClick.bind(this, "click")); - this.$cache.shad_single.on("mousedown.irs_" + this.plugin_count, this.pointerClick.bind(this, "click")); - } else { - this.$cache.single.on("touchstart.irs_" + this.plugin_count, this.pointerDown.bind(this, null)); - this.$cache.single.on("mousedown.irs_" + this.plugin_count, this.pointerDown.bind(this, null)); - - this.$cache.from.on("touchstart.irs_" + this.plugin_count, this.pointerDown.bind(this, "from")); - this.$cache.s_from.on("touchstart.irs_" + this.plugin_count, this.pointerDown.bind(this, "from")); - this.$cache.to.on("touchstart.irs_" + this.plugin_count, this.pointerDown.bind(this, "to")); - this.$cache.s_to.on("touchstart.irs_" + this.plugin_count, this.pointerDown.bind(this, "to")); - this.$cache.shad_from.on("touchstart.irs_" + this.plugin_count, this.pointerClick.bind(this, "click")); - this.$cache.shad_to.on("touchstart.irs_" + this.plugin_count, this.pointerClick.bind(this, "click")); - - this.$cache.from.on("mousedown.irs_" + this.plugin_count, this.pointerDown.bind(this, "from")); - this.$cache.s_from.on("mousedown.irs_" + this.plugin_count, this.pointerDown.bind(this, "from")); - this.$cache.to.on("mousedown.irs_" + this.plugin_count, this.pointerDown.bind(this, "to")); - this.$cache.s_to.on("mousedown.irs_" + this.plugin_count, this.pointerDown.bind(this, "to")); - this.$cache.shad_from.on("mousedown.irs_" + this.plugin_count, this.pointerClick.bind(this, "click")); - this.$cache.shad_to.on("mousedown.irs_" + this.plugin_count, this.pointerClick.bind(this, "click")); - } - - if (this.options.keyboard) { - this.$cache.line.on("keydown.irs_" + this.plugin_count, this.key.bind(this, "keyboard")); - } - - if (is_old_ie) { - this.$cache.body.on("mouseup.irs_" + this.plugin_count, this.pointerUp.bind(this)); - this.$cache.body.on("mouseleave.irs_" + this.plugin_count, this.pointerUp.bind(this)); - } - }, - - /** - * Mousemove or touchmove - * only for handlers - * - * @param e {Object} event object - */ - pointerMove: function (e) { - if (!this.dragging) { - return; - } - - var x = e.pageX || e.originalEvent.touches && e.originalEvent.touches[0].pageX; - this.coords.x_pointer = x - this.coords.x_gap; - - this.calc(); - }, - - /** - * Mouseup or touchend - * only for handlers - * - * @param e {Object} event object - */ - pointerUp: function (e) { - if (this.current_plugin !== this.plugin_count) { - return; - } - - if (this.is_active) { - this.is_active = false; - } else { - return; - } - - this.$cache.cont.find(".state_hover").removeClass("state_hover"); - - this.force_redraw = true; - - if (is_old_ie) { - $("*").prop("unselectable", false); - } - - this.updateScene(); - this.restoreOriginalMinInterval(); - - // callbacks call - if ($.contains(this.$cache.cont[0], e.target) || this.dragging) { - this.callOnFinish(); - } - - this.dragging = false; - }, - - /** - * Mousedown or touchstart - * only for handlers - * - * @param target {String|null} - * @param e {Object} event object - */ - pointerDown: function (target, e) { - e.preventDefault(); - var x = e.pageX || e.originalEvent.touches && e.originalEvent.touches[0].pageX; - if (e.button === 2) { - return; - } - - if (target === "both") { - this.setTempMinInterval(); - } - - if (!target) { - target = this.target || "from"; - } - - this.current_plugin = this.plugin_count; - this.target = target; - - this.is_active = true; - this.dragging = true; - - this.coords.x_gap = this.$cache.rs.offset().left; - this.coords.x_pointer = x - this.coords.x_gap; - - this.calcPointerPercent(); - this.changeLevel(target); - - if (is_old_ie) { - $("*").prop("unselectable", true); - } - - this.$cache.line.trigger("focus"); - - this.updateScene(); - }, - - /** - * Mousedown or touchstart - * for other slider elements, like diapason line - * - * @param target {String} - * @param e {Object} event object - */ - pointerClick: function (target, e) { - e.preventDefault(); - var x = e.pageX || e.originalEvent.touches && e.originalEvent.touches[0].pageX; - if (e.button === 2) { - return; - } - - this.current_plugin = this.plugin_count; - this.target = target; - - this.is_click = true; - this.coords.x_gap = this.$cache.rs.offset().left; - this.coords.x_pointer = +(x - this.coords.x_gap).toFixed(); - - this.force_redraw = true; - this.calc(); - - this.$cache.line.trigger("focus"); - }, - - /** - * Keyborard controls for focused slider - * - * @param target {String} - * @param e {Object} event object - * @returns {boolean|undefined} - */ - key: function (target, e) { - if (this.current_plugin !== this.plugin_count || e.altKey || e.ctrlKey || e.shiftKey || e.metaKey) { - return; - } - - switch (e.which) { - case 83: // W - case 65: // A - case 40: // DOWN - case 37: // LEFT - e.preventDefault(); - this.moveByKey(false); - break; - - case 87: // S - case 68: // D - case 38: // UP - case 39: // RIGHT - e.preventDefault(); - this.moveByKey(true); - break; - } - - return true; - }, - - /** - * Move by key. Beta - * @todo refactor than have plenty of time - * - * @param right {boolean} direction to move - */ - moveByKey: function (right) { - var p = this.coords.p_pointer; - - if (right) { - p += this.options.keyboard_step; - } else { - p -= this.options.keyboard_step; - } - - this.coords.x_pointer = this.toFixed(this.coords.w_rs / 100 * p); - this.is_key = true; - this.calc(); - }, - - /** - * Set visibility and content - * of Min and Max labels - */ - setMinMax: function () { - if (!this.options) { - return; - } - - if (this.options.hide_min_max) { - this.$cache.min[0].style.display = "none"; - this.$cache.max[0].style.display = "none"; - return; - } - - if (this.options.values.length) { - this.$cache.min.html(this.decorate(this.options.p_values[this.options.min])); - this.$cache.max.html(this.decorate(this.options.p_values[this.options.max])); - } else { - this.$cache.min.html(this.decorate(this._prettify(this.options.min), this.options.min)); - this.$cache.max.html(this.decorate(this._prettify(this.options.max), this.options.max)); - } - - this.labels.w_min = this.$cache.min.outerWidth(false); - this.labels.w_max = this.$cache.max.outerWidth(false); - }, - - /** - * Then dragging interval, prevent interval collapsing - * using min_interval option - */ - setTempMinInterval: function () { - var interval = this.result.to - this.result.from; - - if (this.old_min_interval === null) { - this.old_min_interval = this.options.min_interval; - } - - this.options.min_interval = interval; - }, - - /** - * Restore min_interval option to original - */ - restoreOriginalMinInterval: function () { - if (this.old_min_interval !== null) { - this.options.min_interval = this.old_min_interval; - this.old_min_interval = null; - } - }, - - - - // ============================================================================================================= - // Calculations - - /** - * All calculations and measures start here - * - * @param update {boolean=} - */ - calc: function (update) { - if (!this.options) { - return; - } - - this.calc_count++; - - if (this.calc_count === 10 || update) { - this.calc_count = 0; - this.coords.w_rs = this.$cache.rs.outerWidth(false); - - this.calcHandlePercent(); - } - - if (!this.coords.w_rs) { - return; - } - - this.calcPointerPercent(); - var handle_x = this.getHandleX(); - - - if (this.target === "both") { - this.coords.p_gap = 0; - handle_x = this.getHandleX(); - } - - if (this.target === "click") { - this.coords.p_gap = this.coords.p_handle / 2; - handle_x = this.getHandleX(); - - if (this.options.drag_interval) { - this.target = "both_one"; - } else { - this.target = this.chooseHandle(handle_x); - } - } - - switch (this.target) { - case "base": - var w = (this.options.max - this.options.min) / 100, - f = (this.result.from - this.options.min) / w, - t = (this.result.to - this.options.min) / w; - - this.coords.p_single_real = this.toFixed(f); - this.coords.p_from_real = this.toFixed(f); - this.coords.p_to_real = this.toFixed(t); - - this.coords.p_single_real = this.checkDiapason(this.coords.p_single_real, this.options.from_min, this.options.from_max); - this.coords.p_from_real = this.checkDiapason(this.coords.p_from_real, this.options.from_min, this.options.from_max); - this.coords.p_to_real = this.checkDiapason(this.coords.p_to_real, this.options.to_min, this.options.to_max); - - this.coords.p_single_fake = this.convertToFakePercent(this.coords.p_single_real); - this.coords.p_from_fake = this.convertToFakePercent(this.coords.p_from_real); - this.coords.p_to_fake = this.convertToFakePercent(this.coords.p_to_real); - - this.target = null; - - break; - - case "single": - if (this.options.from_fixed) { - break; - } - - this.coords.p_single_real = this.convertToRealPercent(handle_x); - this.coords.p_single_real = this.calcWithStep(this.coords.p_single_real); - this.coords.p_single_real = this.checkDiapason(this.coords.p_single_real, this.options.from_min, this.options.from_max); - - this.coords.p_single_fake = this.convertToFakePercent(this.coords.p_single_real); - - break; - - case "from": - if (this.options.from_fixed) { - break; - } - - this.coords.p_from_real = this.convertToRealPercent(handle_x); - this.coords.p_from_real = this.calcWithStep(this.coords.p_from_real); - if (this.coords.p_from_real > this.coords.p_to_real) { - this.coords.p_from_real = this.coords.p_to_real; - } - this.coords.p_from_real = this.checkDiapason(this.coords.p_from_real, this.options.from_min, this.options.from_max); - this.coords.p_from_real = this.checkMinInterval(this.coords.p_from_real, this.coords.p_to_real, "from"); - this.coords.p_from_real = this.checkMaxInterval(this.coords.p_from_real, this.coords.p_to_real, "from"); - - this.coords.p_from_fake = this.convertToFakePercent(this.coords.p_from_real); - - break; - - case "to": - if (this.options.to_fixed) { - break; - } - - this.coords.p_to_real = this.convertToRealPercent(handle_x); - this.coords.p_to_real = this.calcWithStep(this.coords.p_to_real); - if (this.coords.p_to_real < this.coords.p_from_real) { - this.coords.p_to_real = this.coords.p_from_real; - } - this.coords.p_to_real = this.checkDiapason(this.coords.p_to_real, this.options.to_min, this.options.to_max); - this.coords.p_to_real = this.checkMinInterval(this.coords.p_to_real, this.coords.p_from_real, "to"); - this.coords.p_to_real = this.checkMaxInterval(this.coords.p_to_real, this.coords.p_from_real, "to"); - - this.coords.p_to_fake = this.convertToFakePercent(this.coords.p_to_real); - - break; - - case "both": - if (this.options.from_fixed || this.options.to_fixed) { - break; - } - - handle_x = this.toFixed(handle_x + (this.coords.p_handle * 0.001)); - - this.coords.p_from_real = this.convertToRealPercent(handle_x) - this.coords.p_gap_left; - this.coords.p_from_real = this.calcWithStep(this.coords.p_from_real); - this.coords.p_from_real = this.checkDiapason(this.coords.p_from_real, this.options.from_min, this.options.from_max); - this.coords.p_from_real = this.checkMinInterval(this.coords.p_from_real, this.coords.p_to_real, "from"); - this.coords.p_from_fake = this.convertToFakePercent(this.coords.p_from_real); - - this.coords.p_to_real = this.convertToRealPercent(handle_x) + this.coords.p_gap_right; - this.coords.p_to_real = this.calcWithStep(this.coords.p_to_real); - this.coords.p_to_real = this.checkDiapason(this.coords.p_to_real, this.options.to_min, this.options.to_max); - this.coords.p_to_real = this.checkMinInterval(this.coords.p_to_real, this.coords.p_from_real, "to"); - this.coords.p_to_fake = this.convertToFakePercent(this.coords.p_to_real); - - break; - - case "both_one": - if (this.options.from_fixed || this.options.to_fixed) { - break; - } - - var real_x = this.convertToRealPercent(handle_x), - from = this.result.from_percent, - to = this.result.to_percent, - full = to - from, - half = full / 2, - new_from = real_x - half, - new_to = real_x + half; - - if (new_from < 0) { - new_from = 0; - new_to = new_from + full; - } - - if (new_to > 100) { - new_to = 100; - new_from = new_to - full; - } - - this.coords.p_from_real = this.calcWithStep(new_from); - this.coords.p_from_real = this.checkDiapason(this.coords.p_from_real, this.options.from_min, this.options.from_max); - this.coords.p_from_fake = this.convertToFakePercent(this.coords.p_from_real); - - this.coords.p_to_real = this.calcWithStep(new_to); - this.coords.p_to_real = this.checkDiapason(this.coords.p_to_real, this.options.to_min, this.options.to_max); - this.coords.p_to_fake = this.convertToFakePercent(this.coords.p_to_real); - - break; - } - - if (this.options.type === "single") { - this.coords.p_bar_x = (this.coords.p_handle / 2); - this.coords.p_bar_w = this.coords.p_single_fake; - - this.result.from_percent = this.coords.p_single_real; - this.result.from = this.convertToValue(this.coords.p_single_real); - - if (this.options.values.length) { - this.result.from_value = this.options.values[this.result.from]; - } - } else { - this.coords.p_bar_x = this.toFixed(this.coords.p_from_fake + (this.coords.p_handle / 2)); - this.coords.p_bar_w = this.toFixed(this.coords.p_to_fake - this.coords.p_from_fake); - - this.result.from_percent = this.coords.p_from_real; - this.result.from = this.convertToValue(this.coords.p_from_real); - this.result.to_percent = this.coords.p_to_real; - this.result.to = this.convertToValue(this.coords.p_to_real); - - if (this.options.values.length) { - this.result.from_value = this.options.values[this.result.from]; - this.result.to_value = this.options.values[this.result.to]; - } - } - - this.calcMinMax(); - this.calcLabels(); - }, - - - /** - * calculates pointer X in percent - */ - calcPointerPercent: function () { - if (!this.coords.w_rs) { - this.coords.p_pointer = 0; - return; - } - - if (this.coords.x_pointer < 0 || isNaN(this.coords.x_pointer) ) { - this.coords.x_pointer = 0; - } else if (this.coords.x_pointer > this.coords.w_rs) { - this.coords.x_pointer = this.coords.w_rs; - } - - this.coords.p_pointer = this.toFixed(this.coords.x_pointer / this.coords.w_rs * 100); - }, - - convertToRealPercent: function (fake) { - var full = 100 - this.coords.p_handle; - return fake / full * 100; - }, - - convertToFakePercent: function (real) { - var full = 100 - this.coords.p_handle; - return real / 100 * full; - }, - - getHandleX: function () { - var max = 100 - this.coords.p_handle, - x = this.toFixed(this.coords.p_pointer - this.coords.p_gap); - - if (x < 0) { - x = 0; - } else if (x > max) { - x = max; - } - - return x; - }, - - calcHandlePercent: function () { - if (this.options.type === "single") { - this.coords.w_handle = this.$cache.s_single.outerWidth(false); - } else { - this.coords.w_handle = this.$cache.s_from.outerWidth(false); - } - - this.coords.p_handle = this.toFixed(this.coords.w_handle / this.coords.w_rs * 100); - }, - - /** - * Find closest handle to pointer click - * - * @param real_x {Number} - * @returns {String} - */ - chooseHandle: function (real_x) { - if (this.options.type === "single") { - return "single"; - } else { - var m_point = this.coords.p_from_real + ((this.coords.p_to_real - this.coords.p_from_real) / 2); - if (real_x >= m_point) { - return this.options.to_fixed ? "from" : "to"; - } else { - return this.options.from_fixed ? "to" : "from"; - } - } - }, - - /** - * Measure Min and Max labels width in percent - */ - calcMinMax: function () { - if (!this.coords.w_rs) { - return; - } - - this.labels.p_min = this.labels.w_min / this.coords.w_rs * 100; - this.labels.p_max = this.labels.w_max / this.coords.w_rs * 100; - }, - - /** - * Measure labels width and X in percent - */ - calcLabels: function () { - if (!this.coords.w_rs || this.options.hide_from_to) { - return; - } - - if (this.options.type === "single") { - - this.labels.w_single = this.$cache.single.outerWidth(false); - this.labels.p_single_fake = this.labels.w_single / this.coords.w_rs * 100; - this.labels.p_single_left = this.coords.p_single_fake + (this.coords.p_handle / 2) - (this.labels.p_single_fake / 2); - this.labels.p_single_left = this.checkEdges(this.labels.p_single_left, this.labels.p_single_fake); - - } else { - - this.labels.w_from = this.$cache.from.outerWidth(false); - this.labels.p_from_fake = this.labels.w_from / this.coords.w_rs * 100; - this.labels.p_from_left = this.coords.p_from_fake + (this.coords.p_handle / 2) - (this.labels.p_from_fake / 2); - this.labels.p_from_left = this.toFixed(this.labels.p_from_left); - this.labels.p_from_left = this.checkEdges(this.labels.p_from_left, this.labels.p_from_fake); - - this.labels.w_to = this.$cache.to.outerWidth(false); - this.labels.p_to_fake = this.labels.w_to / this.coords.w_rs * 100; - this.labels.p_to_left = this.coords.p_to_fake + (this.coords.p_handle / 2) - (this.labels.p_to_fake / 2); - this.labels.p_to_left = this.toFixed(this.labels.p_to_left); - this.labels.p_to_left = this.checkEdges(this.labels.p_to_left, this.labels.p_to_fake); - - this.labels.w_single = this.$cache.single.outerWidth(false); - this.labels.p_single_fake = this.labels.w_single / this.coords.w_rs * 100; - this.labels.p_single_left = ((this.labels.p_from_left + this.labels.p_to_left + this.labels.p_to_fake) / 2) - (this.labels.p_single_fake / 2); - this.labels.p_single_left = this.toFixed(this.labels.p_single_left); - this.labels.p_single_left = this.checkEdges(this.labels.p_single_left, this.labels.p_single_fake); - - } - }, - - - - // ============================================================================================================= - // Drawings - - /** - * Main function called in request animation frame - * to update everything - */ - updateScene: function () { - if (this.raf_id) { - cancelAnimationFrame(this.raf_id); - this.raf_id = null; - } - - clearTimeout(this.update_tm); - this.update_tm = null; - - if (!this.options) { - return; - } - - this.drawHandles(); - - if (this.is_active) { - this.raf_id = requestAnimationFrame(this.updateScene.bind(this)); - } else { - this.update_tm = setTimeout(this.updateScene.bind(this), 300); - } - }, - - /** - * Draw handles - */ - drawHandles: function () { - this.coords.w_rs = this.$cache.rs.outerWidth(false); - - if (!this.coords.w_rs) { - return; - } - - if (this.coords.w_rs !== this.coords.w_rs_old) { - this.target = "base"; - this.is_resize = true; - } - - if (this.coords.w_rs !== this.coords.w_rs_old || this.force_redraw) { - this.setMinMax(); - this.calc(true); - this.drawLabels(); - if (this.options.grid) { - this.calcGridMargin(); - this.calcGridLabels(); - } - this.force_redraw = true; - this.coords.w_rs_old = this.coords.w_rs; - this.drawShadow(); - } - - if (!this.coords.w_rs) { - return; - } - - if (!this.dragging && !this.force_redraw && !this.is_key) { - return; - } - - if (this.old_from !== this.result.from || this.old_to !== this.result.to || this.force_redraw || this.is_key) { - - this.drawLabels(); - - this.$cache.bar[0].style.left = this.coords.p_bar_x + "%"; - this.$cache.bar[0].style.width = this.coords.p_bar_w + "%"; - - if (this.options.type === "single") { - this.$cache.s_single[0].style.left = this.coords.p_single_fake + "%"; - - this.$cache.single[0].style.left = this.labels.p_single_left + "%"; - } else { - this.$cache.s_from[0].style.left = this.coords.p_from_fake + "%"; - this.$cache.s_to[0].style.left = this.coords.p_to_fake + "%"; - - if (this.old_from !== this.result.from || this.force_redraw) { - this.$cache.from[0].style.left = this.labels.p_from_left + "%"; - } - if (this.old_to !== this.result.to || this.force_redraw) { - this.$cache.to[0].style.left = this.labels.p_to_left + "%"; - } - - this.$cache.single[0].style.left = this.labels.p_single_left + "%"; - } - - this.writeToInput(); - - if ((this.old_from !== this.result.from || this.old_to !== this.result.to) && !this.is_start) { - this.$cache.input.trigger("change"); - this.$cache.input.trigger("input"); - } - - this.old_from = this.result.from; - this.old_to = this.result.to; - - // callbacks call - if (!this.is_resize && !this.is_update && !this.is_start && !this.is_finish) { - this.callOnChange(); - } - if (this.is_key || this.is_click) { - this.is_key = false; - this.is_click = false; - this.callOnFinish(); - } - - this.is_update = false; - this.is_resize = false; - this.is_finish = false; - } - - this.is_start = false; - this.is_key = false; - this.is_click = false; - this.force_redraw = false; - }, - - /** - * Draw labels - * measure labels collisions - * collapse close labels - */ - drawLabels: function () { - if (!this.options) { - return; - } - - var values_num = this.options.values.length, - p_values = this.options.p_values, - text_single, - text_from, - text_to; - - if (this.options.hide_from_to) { - return; - } - - if (this.options.type === "single") { - - if (values_num) { - text_single = this.decorate(p_values[this.result.from]); - this.$cache.single.html(text_single); - } else { - text_single = this.decorate(this._prettify(this.result.from), this.result.from); - this.$cache.single.html(text_single); - } - - this.calcLabels(); - - if (this.labels.p_single_left < this.labels.p_min + 1) { - this.$cache.min[0].style.visibility = "hidden"; - } else { - this.$cache.min[0].style.visibility = "visible"; - } - - if (this.labels.p_single_left + this.labels.p_single_fake > 100 - this.labels.p_max - 1) { - this.$cache.max[0].style.visibility = "hidden"; - } else { - this.$cache.max[0].style.visibility = "visible"; - } - - } else { - - if (values_num) { - - if (this.options.decorate_both) { - text_single = this.decorate(p_values[this.result.from]); - text_single += this.options.values_separator; - text_single += this.decorate(p_values[this.result.to]); - } else { - text_single = this.decorate(p_values[this.result.from] + this.options.values_separator + p_values[this.result.to]); - } - text_from = this.decorate(p_values[this.result.from]); - text_to = this.decorate(p_values[this.result.to]); - - this.$cache.single.html(text_single); - this.$cache.from.html(text_from); - this.$cache.to.html(text_to); - - } else { - - if (this.options.decorate_both) { - text_single = this.decorate(this._prettify(this.result.from), this.result.from); - text_single += this.options.values_separator; - text_single += this.decorate(this._prettify(this.result.to), this.result.to); - } else { - text_single = this.decorate(this._prettify(this.result.from) + this.options.values_separator + this._prettify(this.result.to), this.result.to); - } - text_from = this.decorate(this._prettify(this.result.from), this.result.from); - text_to = this.decorate(this._prettify(this.result.to), this.result.to); - - this.$cache.single.html(text_single); - this.$cache.from.html(text_from); - this.$cache.to.html(text_to); - - } - - this.calcLabels(); - - var min = Math.min(this.labels.p_single_left, this.labels.p_from_left), - single_left = this.labels.p_single_left + this.labels.p_single_fake, - to_left = this.labels.p_to_left + this.labels.p_to_fake, - max = Math.max(single_left, to_left); - - if (this.labels.p_from_left + this.labels.p_from_fake >= this.labels.p_to_left) { - this.$cache.from[0].style.visibility = "hidden"; - this.$cache.to[0].style.visibility = "hidden"; - this.$cache.single[0].style.visibility = "visible"; - - if (this.result.from === this.result.to) { - if (this.target === "from") { - this.$cache.from[0].style.visibility = "visible"; - } else if (this.target === "to") { - this.$cache.to[0].style.visibility = "visible"; - } else if (!this.target) { - this.$cache.from[0].style.visibility = "visible"; - } - this.$cache.single[0].style.visibility = "hidden"; - max = to_left; - } else { - this.$cache.from[0].style.visibility = "hidden"; - this.$cache.to[0].style.visibility = "hidden"; - this.$cache.single[0].style.visibility = "visible"; - max = Math.max(single_left, to_left); - } - } else { - this.$cache.from[0].style.visibility = "visible"; - this.$cache.to[0].style.visibility = "visible"; - this.$cache.single[0].style.visibility = "hidden"; - } - - if (min < this.labels.p_min + 1) { - this.$cache.min[0].style.visibility = "hidden"; - } else { - this.$cache.min[0].style.visibility = "visible"; - } - - if (max > 100 - this.labels.p_max - 1) { - this.$cache.max[0].style.visibility = "hidden"; - } else { - this.$cache.max[0].style.visibility = "visible"; - } - - } - }, - - /** - * Draw shadow intervals - */ - drawShadow: function () { - var o = this.options, - c = this.$cache, - - is_from_min = typeof o.from_min === "number" && !isNaN(o.from_min), - is_from_max = typeof o.from_max === "number" && !isNaN(o.from_max), - is_to_min = typeof o.to_min === "number" && !isNaN(o.to_min), - is_to_max = typeof o.to_max === "number" && !isNaN(o.to_max), - - from_min, - from_max, - to_min, - to_max; - - if (o.type === "single") { - if (o.from_shadow && (is_from_min || is_from_max)) { - from_min = this.convertToPercent(is_from_min ? o.from_min : o.min); - from_max = this.convertToPercent(is_from_max ? o.from_max : o.max) - from_min; - from_min = this.toFixed(from_min - (this.coords.p_handle / 100 * from_min)); - from_max = this.toFixed(from_max - (this.coords.p_handle / 100 * from_max)); - from_min = from_min + (this.coords.p_handle / 2); - - c.shad_single[0].style.display = "block"; - c.shad_single[0].style.left = from_min + "%"; - c.shad_single[0].style.width = from_max + "%"; - } else { - c.shad_single[0].style.display = "none"; - } - } else { - if (o.from_shadow && (is_from_min || is_from_max)) { - from_min = this.convertToPercent(is_from_min ? o.from_min : o.min); - from_max = this.convertToPercent(is_from_max ? o.from_max : o.max) - from_min; - from_min = this.toFixed(from_min - (this.coords.p_handle / 100 * from_min)); - from_max = this.toFixed(from_max - (this.coords.p_handle / 100 * from_max)); - from_min = from_min + (this.coords.p_handle / 2); - - c.shad_from[0].style.display = "block"; - c.shad_from[0].style.left = from_min + "%"; - c.shad_from[0].style.width = from_max + "%"; - } else { - c.shad_from[0].style.display = "none"; - } - - if (o.to_shadow && (is_to_min || is_to_max)) { - to_min = this.convertToPercent(is_to_min ? o.to_min : o.min); - to_max = this.convertToPercent(is_to_max ? o.to_max : o.max) - to_min; - to_min = this.toFixed(to_min - (this.coords.p_handle / 100 * to_min)); - to_max = this.toFixed(to_max - (this.coords.p_handle / 100 * to_max)); - to_min = to_min + (this.coords.p_handle / 2); - - c.shad_to[0].style.display = "block"; - c.shad_to[0].style.left = to_min + "%"; - c.shad_to[0].style.width = to_max + "%"; - } else { - c.shad_to[0].style.display = "none"; - } - } - }, - - - - /** - * Write values to input element - */ - writeToInput: function () { - if (this.options.type === "single") { - if (this.options.values.length) { - this.$cache.input.prop("value", this.result.from_value); - } else { - this.$cache.input.prop("value", this.result.from); - } - this.$cache.input.data("from", this.result.from); - } else { - if (this.options.values.length) { - this.$cache.input.prop("value", this.result.from_value + this.options.input_values_separator + this.result.to_value); - } else { - this.$cache.input.prop("value", this.result.from + this.options.input_values_separator + this.result.to); - } - this.$cache.input.data("from", this.result.from); - this.$cache.input.data("to", this.result.to); - } - }, - - - - // ============================================================================================================= - // Callbacks - - callOnStart: function () { - this.writeToInput(); - - if (this.options.onStart && typeof this.options.onStart === "function") { - this.options.onStart(this.result); - } - }, - callOnChange: function () { - this.writeToInput(); - - if (this.options.onChange && typeof this.options.onChange === "function") { - this.options.onChange(this.result); - } - }, - callOnFinish: function () { - this.writeToInput(); - - if (this.options.onFinish && typeof this.options.onFinish === "function") { - this.options.onFinish(this.result); - } - }, - callOnUpdate: function () { - this.writeToInput(); - - if (this.options.onUpdate && typeof this.options.onUpdate === "function") { - this.options.onUpdate(this.result); - } - }, - - - - - // ============================================================================================================= - // Service methods +(function (factory) { + if (typeof define === "function" && define.amd) { + define(["jquery"], function (jQuery) { + return factory(jQuery, document, window, navigator); + }); + } else if (typeof exports === "object") { + factory(require("jquery"), document, window, navigator); + } else { + factory(jQuery, document, window, navigator); + } +})(function ($, document, window, navigator, undefined) { + "use strict"; + + // ================================================================================================================= + // Service + + var plugin_count = 0; + + // IE8 fix + var is_old_ie = (function () { + var n = navigator.userAgent, + r = /msie\s\d+/i, + v; + if (n.search(r) > 0) { + v = r.exec(n).toString(); + v = v.split(" ")[1]; + if (v < 9) { + $("html").addClass("lt-ie9"); + return true; + } + } + return false; + })(); + if (!Function.prototype.bind) { + Function.prototype.bind = function bind(that) { + var target = this; + var slice = [].slice; + + if (typeof target != "function") { + throw new TypeError(); + } + + var args = slice.call(arguments, 1), + bound = function () { + if (this instanceof bound) { + var F = function () {}; + F.prototype = target.prototype; + var self = new F(); + + var result = target.apply(self, args.concat(slice.call(arguments))); + if (Object(result) === result) { + return result; + } + return self; + } else { + return target.apply(that, args.concat(slice.call(arguments))); + } + }; - toggleInput: function () { - this.$cache.input.toggleClass("irs-hidden-input"); - }, + return bound; + }; + } + if (!Array.prototype.indexOf) { + Array.prototype.indexOf = function (searchElement, fromIndex) { + var k; + if (this == null) { + throw new TypeError('"this" is null or not defined'); + } + var O = Object(this); + var len = O.length >>> 0; + if (len === 0) { + return -1; + } + var n = +fromIndex || 0; + if (Math.abs(n) === Infinity) { + n = 0; + } + if (n >= len) { + return -1; + } + k = Math.max(n >= 0 ? n : len - Math.abs(n), 0); + while (k < len) { + if (k in O && O[k] === searchElement) { + return k; + } + k++; + } + return -1; + }; + } + + // ================================================================================================================= + // Template + + var base_html = + '' + + '' + + '01' + + '000' + + "" + + '' + + ''; + + var single_html = + '' + + '' + + ''; + + var double_html = + '' + + '' + + '' + + ''; + + var disable_html = ''; + + // ================================================================================================================= + // Core + + /** + * Main plugin constructor + * + * @param input {Object} link to base input element + * @param options {Object} slider config + * @param plugin_count {Number} + * @constructor + */ + var IonRangeSlider = function (input, options, plugin_count) { + this.VERSION = "2.1.7"; + this.input = input; + this.plugin_count = plugin_count; + this.current_plugin = 0; + this.calc_count = 0; + this.update_tm = 0; + this.old_from = 0; + this.old_to = 0; + this.old_min_interval = null; + this.raf_id = null; + this.dragging = false; + this.force_redraw = false; + this.no_diapason = false; + this.is_key = false; + this.is_update = false; + this.is_start = true; + this.is_finish = false; + this.is_active = false; + this.is_resize = false; + this.is_click = false; + + options = options || {}; + + // cache for links to all DOM elements + this.$cache = { + win: $(window), + body: $(document.body), + input: $(input), + cont: null, + rs: null, + min: null, + max: null, + from: null, + to: null, + single: null, + bar: null, + line: null, + s_single: null, + s_from: null, + s_to: null, + shad_single: null, + shad_from: null, + shad_to: null, + edge: null, + grid: null, + grid_labels: [], + }; - /** - * Convert real value to percent - * - * @param value {Number} X in real - * @param no_min {boolean=} don't use min value - * @returns {Number} X in percent - */ - convertToPercent: function (value, no_min) { - var diapason = this.options.max - this.options.min, - one_percent = diapason / 100, - val, percent; + // storage for measure variables + this.coords = { + // left + x_gap: 0, + x_pointer: 0, + + // width + w_rs: 0, + w_rs_old: 0, + w_handle: 0, + + // percents + p_gap: 0, + p_gap_left: 0, + p_gap_right: 0, + p_step: 0, + p_pointer: 0, + p_handle: 0, + p_single_fake: 0, + p_single_real: 0, + p_from_fake: 0, + p_from_real: 0, + p_to_fake: 0, + p_to_real: 0, + p_bar_x: 0, + p_bar_w: 0, + + // grid + grid_gap: 0, + big_num: 0, + big: [], + big_w: [], + big_p: [], + big_x: [], + }; - if (!diapason) { - this.no_diapason = true; - return 0; - } + // storage for labels measure variables + this.labels = { + // width + w_min: 0, + w_max: 0, + w_from: 0, + w_to: 0, + w_single: 0, + + // percents + p_min: 0, + p_max: 0, + p_from_fake: 0, + p_from_left: 0, + p_to_fake: 0, + p_to_left: 0, + p_single_fake: 0, + p_single_left: 0, + }; - if (no_min) { - val = value; - } else { - val = value - this.options.min; - } + /** + * get and validate config + */ + var $inp = this.$cache.input, + val = $inp.prop("value"), + config, + config_from_data, + prop; + + // default config + config = { + type: "single", + + min: 10, + max: 100, + from: null, + to: null, + step: 1, + + min_interval: 0, + max_interval: 0, + drag_interval: false, + + values: [], + p_values: [], + + from_fixed: false, + from_min: null, + from_max: null, + from_shadow: false, + + to_fixed: false, + to_min: null, + to_max: null, + to_shadow: false, + + prettify_enabled: true, + prettify_separator: " ", + prettify: null, + + force_edges: false, + + keyboard: false, + keyboard_step: 5, + + grid: false, + grid_margin: true, + grid_num: 4, + grid_snap: false, + + hide_min_max: false, + hide_from_to: false, + + prefix: "", + postfix: "", + max_postfix: "", + decorate_both: true, + values_separator: " — ", + + input_values_separator: ";", + + disable: false, + + onStart: null, + onChange: null, + onFinish: null, + onUpdate: null, + }; - percent = val / one_percent; - - return this.toFixed(percent); - }, - - /** - * Convert percent to real values - * - * @param percent {Number} X in percent - * @returns {Number} X in real - */ - convertToValue: function (percent) { - var min = this.options.min, - max = this.options.max, - min_decimals = min.toString().split(".")[1], - max_decimals = max.toString().split(".")[1], - min_length, max_length, - avg_decimals = 0, - abs = 0; - - if (percent === 0) { - return this.options.min; - } - if (percent === 100) { - return this.options.max; - } + // check if base element is input + if ($inp[0].nodeName !== "INPUT") { + console && + console.warn && + console.warn("Base element should be !", $inp[0]); + } + // config from data-attributes extends js config + config_from_data = { + type: $inp.data("type"), - if (min_decimals) { - min_length = min_decimals.length; - avg_decimals = min_length; - } - if (max_decimals) { - max_length = max_decimals.length; - avg_decimals = max_length; - } - if (min_length && max_length) { - avg_decimals = (min_length >= max_length) ? min_length : max_length; - } + min: $inp.data("min"), + max: $inp.data("max"), + from: $inp.data("from"), + to: $inp.data("to"), + step: $inp.data("step"), - if (min < 0) { - abs = Math.abs(min); - min = +(min + abs).toFixed(avg_decimals); - max = +(max + abs).toFixed(avg_decimals); - } + min_interval: $inp.data("minInterval"), + max_interval: $inp.data("maxInterval"), + drag_interval: $inp.data("dragInterval"), - var number = ((max - min) / 100 * percent) + min, - string = this.options.step.toString().split(".")[1], - result; + values: $inp.data("values"), - if (string) { - number = +number.toFixed(string.length); - } else { - number = number / this.options.step; - number = number * this.options.step; + from_fixed: $inp.data("fromFixed"), + from_min: $inp.data("fromMin"), + from_max: $inp.data("fromMax"), + from_shadow: $inp.data("fromShadow"), - number = +number.toFixed(0); - } + to_fixed: $inp.data("toFixed"), + to_min: $inp.data("toMin"), + to_max: $inp.data("toMax"), + to_shadow: $inp.data("toShadow"), - if (abs) { - number -= abs; - } + prettify_enabled: $inp.data("prettifyEnabled"), + prettify_separator: $inp.data("prettifySeparator"), - if (string) { - result = +number.toFixed(string.length); - } else { - result = this.toFixed(number); - } + force_edges: $inp.data("forceEdges"), - if (result < this.options.min) { - result = this.options.min; - } else if (result > this.options.max) { - result = this.options.max; - } + keyboard: $inp.data("keyboard"), + keyboard_step: $inp.data("keyboardStep"), - return result; - }, + grid: $inp.data("grid"), + grid_margin: $inp.data("gridMargin"), + grid_num: $inp.data("gridNum"), + grid_snap: $inp.data("gridSnap"), - /** - * Round percent value with step - * - * @param percent {Number} - * @returns percent {Number} rounded - */ - calcWithStep: function (percent) { - var rounded = Math.round(percent / this.coords.p_step) * this.coords.p_step; + hide_min_max: $inp.data("hideMinMax"), + hide_from_to: $inp.data("hideFromTo"), - if (rounded > 100) { - rounded = 100; - } - if (percent === 100) { - rounded = 100; - } + prefix: $inp.data("prefix"), + postfix: $inp.data("postfix"), + max_postfix: $inp.data("maxPostfix"), + decorate_both: $inp.data("decorateBoth"), + values_separator: $inp.data("valuesSeparator"), - return this.toFixed(rounded); - }, + input_values_separator: $inp.data("inputValuesSeparator"), - checkMinInterval: function (p_current, p_next, type) { - var o = this.options, - current, - next; + disable: $inp.data("disable"), + }; + config_from_data.values = + config_from_data.values && config_from_data.values.split(","); + + for (prop in config_from_data) { + if (config_from_data.hasOwnProperty(prop)) { + if ( + config_from_data[prop] === undefined || + config_from_data[prop] === "" + ) { + delete config_from_data[prop]; + } + } + } - if (!o.min_interval) { - return p_current; - } + // input value extends default config + if (val !== undefined && val !== "") { + val = val.split( + config_from_data.input_values_separator || + options.input_values_separator || + ";" + ); + + if (val[0] && val[0] == +val[0]) { + val[0] = +val[0]; + } + if (val[1] && val[1] == +val[1]) { + val[1] = +val[1]; + } + + if (options && options.values && options.values.length) { + config.from = val[0] && options.values.indexOf(val[0]); + config.to = val[1] && options.values.indexOf(val[1]); + } else { + config.from = val[0] && +val[0]; + config.to = val[1] && +val[1]; + } + } - current = this.convertToValue(p_current); - next = this.convertToValue(p_next); + // js config extends default config + $.extend(config, options); - if (type === "from") { + // data config extends config + $.extend(config, config_from_data); + this.options = config; - if (next - current < o.min_interval) { - current = next - o.min_interval; - } + // validate config, to be sure that all data types are correct + this.update_check = {}; + this.validate(); - } else { + // default result object, returned to callbacks + this.result = { + input: this.$cache.input, + slider: null, - if (current - next < o.min_interval) { - current = next + o.min_interval; - } + min: this.options.min, + max: this.options.max, - } + from: this.options.from, + from_percent: 0, + from_value: null, - return this.convertToPercent(current); - }, + to: this.options.to, + to_percent: 0, + to_value: null, + }; - checkMaxInterval: function (p_current, p_next, type) { - var o = this.options, - current, - next; + this.init(); + }; - if (!o.max_interval) { - return p_current; - } + IonRangeSlider.prototype = { + /** + * Starts or updates the plugin instance + * + * @param [is_update] {boolean} + */ + init: function (is_update) { + this.no_diapason = false; + this.coords.p_step = this.convertToPercent(this.options.step, true); - current = this.convertToValue(p_current); - next = this.convertToValue(p_next); + this.target = "base"; - if (type === "from") { + this.toggleInput(); + this.append(); + this.setMinMax(); - if (next - current > o.max_interval) { - current = next - o.max_interval; - } + if (is_update) { + this.force_redraw = true; + this.calc(true); - } else { + // callbacks called + this.callOnUpdate(); + } else { + this.force_redraw = true; + this.calc(true); - if (current - next > o.max_interval) { - current = next + o.max_interval; - } + // callbacks called + this.callOnStart(); + } - } + this.updateScene(); + }, - return this.convertToPercent(current); - }, + /** + * Appends slider template to a DOM + */ + append: function () { + var container_html = + ''; + this.$cache.input.before(container_html); + this.$cache.input.prop("readonly", true); + this.$cache.cont = this.$cache.input.prev(); + this.result.slider = this.$cache.cont; + + this.$cache.cont.html(base_html); + this.$cache.rs = this.$cache.cont.find(".irs"); + this.$cache.min = this.$cache.cont.find(".irs-min"); + this.$cache.max = this.$cache.cont.find(".irs-max"); + this.$cache.from = this.$cache.cont.find(".irs-from"); + this.$cache.to = this.$cache.cont.find(".irs-to"); + this.$cache.single = this.$cache.cont.find(".irs-single"); + this.$cache.bar = this.$cache.cont.find(".irs-bar"); + this.$cache.line = this.$cache.cont.find(".irs-line"); + this.$cache.grid = this.$cache.cont.find(".irs-grid"); + + if (this.options.type === "single") { + this.$cache.cont.append(single_html); + this.$cache.edge = this.$cache.cont.find(".irs-bar-edge"); + this.$cache.s_single = this.$cache.cont.find(".single"); + this.$cache.from[0].style.visibility = "hidden"; + this.$cache.to[0].style.visibility = "hidden"; + this.$cache.shad_single = this.$cache.cont.find(".shadow-single"); + } else { + this.$cache.cont.append(double_html); + this.$cache.s_from = this.$cache.cont.find(".from"); + this.$cache.s_to = this.$cache.cont.find(".to"); + this.$cache.shad_from = this.$cache.cont.find(".shadow-from"); + this.$cache.shad_to = this.$cache.cont.find(".shadow-to"); + + this.setTopHandler(); + } + + if (this.options.hide_from_to) { + this.$cache.from[0].style.display = "none"; + this.$cache.to[0].style.display = "none"; + this.$cache.single[0].style.display = "none"; + } + + this.appendGrid(); + + if (this.options.disable) { + this.appendDisableMask(); + this.$cache.input[0].disabled = true; + } else { + this.$cache.cont.removeClass("irs-disabled"); + this.$cache.input[0].disabled = false; + this.bindEvents(); + } + + if (this.options.drag_interval) { + this.$cache.bar[0].style.cursor = "ew-resize"; + } + }, - checkDiapason: function (p_num, min, max) { - var num = this.convertToValue(p_num), - o = this.options; + /** + * Determine which handler has a priority + * works only for double slider type + */ + setTopHandler: function () { + var min = this.options.min, + max = this.options.max, + from = this.options.from, + to = this.options.to; + + if (from > min && to === max) { + this.$cache.s_from.addClass("type_last"); + } else if (to < max) { + this.$cache.s_to.addClass("type_last"); + } + }, - if (typeof min !== "number") { - min = o.min; - } + /** + * Determine which handles was clicked last + * and which handler should have hover effect + * + * @param target {String} + */ + changeLevel: function (target) { + switch (target) { + case "single": + this.coords.p_gap = this.toFixed( + this.coords.p_pointer - this.coords.p_single_fake + ); + break; + case "from": + this.coords.p_gap = this.toFixed( + this.coords.p_pointer - this.coords.p_from_fake + ); + this.$cache.s_from.addClass("state_hover"); + this.$cache.s_from.addClass("type_last"); + this.$cache.s_to.removeClass("type_last"); + break; + case "to": + this.coords.p_gap = this.toFixed( + this.coords.p_pointer - this.coords.p_to_fake + ); + this.$cache.s_to.addClass("state_hover"); + this.$cache.s_to.addClass("type_last"); + this.$cache.s_from.removeClass("type_last"); + break; + case "both": + this.coords.p_gap_left = this.toFixed( + this.coords.p_pointer - this.coords.p_from_fake + ); + this.coords.p_gap_right = this.toFixed( + this.coords.p_to_fake - this.coords.p_pointer + ); + this.$cache.s_to.removeClass("type_last"); + this.$cache.s_from.removeClass("type_last"); + break; + } + }, - if (typeof max !== "number") { - max = o.max; - } + /** + * Then slider is disabled + * appends extra layer with opacity + */ + appendDisableMask: function () { + this.$cache.cont.append(disable_html); + this.$cache.cont.addClass("irs-disabled"); + }, - if (num < min) { - num = min; - } + /** + * Remove slider instance + * and ubind all events + */ + remove: function () { + this.$cache.cont.remove(); + this.$cache.cont = null; - if (num > max) { - num = max; - } + this.$cache.line.off("keydown.irs_" + this.plugin_count); - return this.convertToPercent(num); - }, + this.$cache.body.off("touchmove.irs_" + this.plugin_count); + this.$cache.body.off("mousemove.irs_" + this.plugin_count); - toFixed: function (num) { - num = num.toFixed(20); - return +num; - }, + this.$cache.win.off("touchend.irs_" + this.plugin_count); + this.$cache.win.off("mouseup.irs_" + this.plugin_count); - _prettify: function (num) { - if (!this.options.prettify_enabled) { - return num; - } + if (is_old_ie) { + this.$cache.body.off("mouseup.irs_" + this.plugin_count); + this.$cache.body.off("mouseleave.irs_" + this.plugin_count); + } - if (this.options.prettify && typeof this.options.prettify === "function") { - return this.options.prettify(num); - } else { - return this.prettify(num); - } - }, + this.$cache.grid_labels = []; + this.coords.big = []; + this.coords.big_w = []; + this.coords.big_p = []; + this.coords.big_x = []; - prettify: function (num) { - var n = num.toString(); - return n.replace(/(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g, "$1" + this.options.prettify_separator); - }, + cancelAnimationFrame(this.raf_id); + }, - checkEdges: function (left, width) { - if (!this.options.force_edges) { - return this.toFixed(left); - } + /** + * bind all slider events + */ + bindEvents: function () { + if (this.no_diapason) { + return; + } + + this.$cache.body.on( + "touchmove.irs_" + this.plugin_count, + this.pointerMove.bind(this) + ); + this.$cache.body.on( + "mousemove.irs_" + this.plugin_count, + this.pointerMove.bind(this) + ); + + this.$cache.win.on( + "touchend.irs_" + this.plugin_count, + this.pointerUp.bind(this) + ); + this.$cache.win.on( + "mouseup.irs_" + this.plugin_count, + this.pointerUp.bind(this) + ); + + this.$cache.line.on( + "touchstart.irs_" + this.plugin_count, + this.pointerClick.bind(this, "click") + ); + this.$cache.line.on( + "mousedown.irs_" + this.plugin_count, + this.pointerClick.bind(this, "click") + ); + + if (this.options.drag_interval && this.options.type === "double") { + this.$cache.bar.on( + "touchstart.irs_" + this.plugin_count, + this.pointerDown.bind(this, "both") + ); + this.$cache.bar.on( + "mousedown.irs_" + this.plugin_count, + this.pointerDown.bind(this, "both") + ); + } else { + this.$cache.bar.on( + "touchstart.irs_" + this.plugin_count, + this.pointerClick.bind(this, "click") + ); + this.$cache.bar.on( + "mousedown.irs_" + this.plugin_count, + this.pointerClick.bind(this, "click") + ); + } + + if (this.options.type === "single") { + this.$cache.single.on( + "touchstart.irs_" + this.plugin_count, + this.pointerDown.bind(this, "single") + ); + this.$cache.s_single.on( + "touchstart.irs_" + this.plugin_count, + this.pointerDown.bind(this, "single") + ); + this.$cache.shad_single.on( + "touchstart.irs_" + this.plugin_count, + this.pointerClick.bind(this, "click") + ); + + this.$cache.single.on( + "mousedown.irs_" + this.plugin_count, + this.pointerDown.bind(this, "single") + ); + this.$cache.s_single.on( + "mousedown.irs_" + this.plugin_count, + this.pointerDown.bind(this, "single") + ); + this.$cache.edge.on( + "mousedown.irs_" + this.plugin_count, + this.pointerClick.bind(this, "click") + ); + this.$cache.shad_single.on( + "mousedown.irs_" + this.plugin_count, + this.pointerClick.bind(this, "click") + ); + } else { + this.$cache.single.on( + "touchstart.irs_" + this.plugin_count, + this.pointerDown.bind(this, null) + ); + this.$cache.single.on( + "mousedown.irs_" + this.plugin_count, + this.pointerDown.bind(this, null) + ); + + this.$cache.from.on( + "touchstart.irs_" + this.plugin_count, + this.pointerDown.bind(this, "from") + ); + this.$cache.s_from.on( + "touchstart.irs_" + this.plugin_count, + this.pointerDown.bind(this, "from") + ); + this.$cache.to.on( + "touchstart.irs_" + this.plugin_count, + this.pointerDown.bind(this, "to") + ); + this.$cache.s_to.on( + "touchstart.irs_" + this.plugin_count, + this.pointerDown.bind(this, "to") + ); + this.$cache.shad_from.on( + "touchstart.irs_" + this.plugin_count, + this.pointerClick.bind(this, "click") + ); + this.$cache.shad_to.on( + "touchstart.irs_" + this.plugin_count, + this.pointerClick.bind(this, "click") + ); + + this.$cache.from.on( + "mousedown.irs_" + this.plugin_count, + this.pointerDown.bind(this, "from") + ); + this.$cache.s_from.on( + "mousedown.irs_" + this.plugin_count, + this.pointerDown.bind(this, "from") + ); + this.$cache.to.on( + "mousedown.irs_" + this.plugin_count, + this.pointerDown.bind(this, "to") + ); + this.$cache.s_to.on( + "mousedown.irs_" + this.plugin_count, + this.pointerDown.bind(this, "to") + ); + this.$cache.shad_from.on( + "mousedown.irs_" + this.plugin_count, + this.pointerClick.bind(this, "click") + ); + this.$cache.shad_to.on( + "mousedown.irs_" + this.plugin_count, + this.pointerClick.bind(this, "click") + ); + } + + if (this.options.keyboard) { + this.$cache.line.on( + "keydown.irs_" + this.plugin_count, + this.key.bind(this, "keyboard") + ); + } + + if (is_old_ie) { + this.$cache.body.on( + "mouseup.irs_" + this.plugin_count, + this.pointerUp.bind(this) + ); + this.$cache.body.on( + "mouseleave.irs_" + this.plugin_count, + this.pointerUp.bind(this) + ); + } + }, - if (left < 0) { - left = 0; - } else if (left > 100 - width) { - left = 100 - width; - } + /** + * Mousemove or touchmove + * only for handlers + * + * @param e {Object} event object + */ + pointerMove: function (e) { + if (!this.dragging) { + return; + } - return this.toFixed(left); - }, - - validate: function () { - var o = this.options, - r = this.result, - v = o.values, - vl = v.length, - value, - i; - - if (typeof o.min === "string") o.min = +o.min; - if (typeof o.max === "string") o.max = +o.max; - if (typeof o.from === "string") o.from = +o.from; - if (typeof o.to === "string") o.to = +o.to; - if (typeof o.step === "string") o.step = +o.step; - - if (typeof o.from_min === "string") o.from_min = +o.from_min; - if (typeof o.from_max === "string") o.from_max = +o.from_max; - if (typeof o.to_min === "string") o.to_min = +o.to_min; - if (typeof o.to_max === "string") o.to_max = +o.to_max; - - if (typeof o.keyboard_step === "string") o.keyboard_step = +o.keyboard_step; - if (typeof o.grid_num === "string") o.grid_num = +o.grid_num; - - if (o.max < o.min) { - o.max = o.min; - } + var x = + e.pageX || + (e.originalEvent.touches && e.originalEvent.touches[0].pageX); + this.coords.x_pointer = x - this.coords.x_gap; - if (vl) { - o.p_values = []; - o.min = 0; - o.max = vl - 1; - o.step = 1; - o.grid_num = o.max; - o.grid_snap = true; - - for (i = 0; i < vl; i++) { - value = +v[i]; - - if (!isNaN(value)) { - v[i] = value; - value = this._prettify(value); - } else { - value = v[i]; - } - - o.p_values.push(value); - } - } + this.calc(); + }, - if (typeof o.from !== "number" || isNaN(o.from)) { - o.from = o.min; - } + /** + * Mouseup or touchend + * only for handlers + * + * @param e {Object} event object + */ + pointerUp: function (e) { + if (this.current_plugin !== this.plugin_count) { + return; + } - if (typeof o.to !== "number" || isNaN(o.to)) { - o.to = o.max; - } + if (this.is_active) { + this.is_active = false; + } else { + return; + } - if (o.type === "single") { + this.$cache.cont.find(".state_hover").removeClass("state_hover"); - if (o.from < o.min) o.from = o.min; - if (o.from > o.max) o.from = o.max; + this.force_redraw = true; - } else { + if (is_old_ie) { + $("*").prop("unselectable", false); + } - if (o.from < o.min) o.from = o.min; - if (o.from > o.max) o.from = o.max; + this.updateScene(); + this.restoreOriginalMinInterval(); - if (o.to < o.min) o.to = o.min; - if (o.to > o.max) o.to = o.max; + // callbacks call + if ($.contains(this.$cache.cont[0], e.target) || this.dragging) { + this.callOnFinish(); + } - if (this.update_check.from) { + this.dragging = false; + }, - if (this.update_check.from !== o.from) { - if (o.from > o.to) o.from = o.to; - } - if (this.update_check.to !== o.to) { - if (o.to < o.from) o.to = o.from; - } + /** + * Mousedown or touchstart + * only for handlers + * + * @param target {String|null} + * @param e {Object} event object + */ + pointerDown: function (target, e) { + e.preventDefault(); + var x = + e.pageX || + (e.originalEvent.touches && e.originalEvent.touches[0].pageX); + if (e.button === 2) { + return; + } - } + if (target === "both") { + this.setTempMinInterval(); + } - if (o.from > o.to) o.from = o.to; - if (o.to < o.from) o.to = o.from; + if (!target) { + target = this.target || "from"; + } - } + this.current_plugin = this.plugin_count; + this.target = target; - if (typeof o.step !== "number" || isNaN(o.step) || !o.step || o.step < 0) { - o.step = 1; - } + this.is_active = true; + this.dragging = true; - if (typeof o.keyboard_step !== "number" || isNaN(o.keyboard_step) || !o.keyboard_step || o.keyboard_step < 0) { - o.keyboard_step = 5; - } + this.coords.x_gap = this.$cache.rs.offset().left; + this.coords.x_pointer = x - this.coords.x_gap; - if (typeof o.from_min === "number" && o.from < o.from_min) { - o.from = o.from_min; - } + this.calcPointerPercent(); + this.changeLevel(target); - if (typeof o.from_max === "number" && o.from > o.from_max) { - o.from = o.from_max; - } + if (is_old_ie) { + $("*").prop("unselectable", true); + } - if (typeof o.to_min === "number" && o.to < o.to_min) { - o.to = o.to_min; - } + this.$cache.line.trigger("focus"); - if (typeof o.to_max === "number" && o.from > o.to_max) { - o.to = o.to_max; - } + this.updateScene(); + }, - if (r) { - if (r.min !== o.min) { - r.min = o.min; - } + /** + * Mousedown or touchstart + * for other slider elements, like diapason line + * + * @param target {String} + * @param e {Object} event object + */ + pointerClick: function (target, e) { + e.preventDefault(); + var x = + e.pageX || + (e.originalEvent.touches && e.originalEvent.touches[0].pageX); + if (e.button === 2) { + return; + } - if (r.max !== o.max) { - r.max = o.max; - } + this.current_plugin = this.plugin_count; + this.target = target; - if (r.from < r.min || r.from > r.max) { - r.from = o.from; - } + this.is_click = true; + this.coords.x_gap = this.$cache.rs.offset().left; + this.coords.x_pointer = +(x - this.coords.x_gap).toFixed(); - if (r.to < r.min || r.to > r.max) { - r.to = o.to; - } - } + this.force_redraw = true; + this.calc(); - if (typeof o.min_interval !== "number" || isNaN(o.min_interval) || !o.min_interval || o.min_interval < 0) { - o.min_interval = 0; - } + this.$cache.line.trigger("focus"); + }, - if (typeof o.max_interval !== "number" || isNaN(o.max_interval) || !o.max_interval || o.max_interval < 0) { - o.max_interval = 0; - } + /** + * Keyborard controls for focused slider + * + * @param target {String} + * @param e {Object} event object + * @returns {boolean|undefined} + */ + key: function (target, e) { + if ( + this.current_plugin !== this.plugin_count || + e.altKey || + e.ctrlKey || + e.shiftKey || + e.metaKey + ) { + return; + } + + switch (e.which) { + case 83: // W + case 65: // A + case 40: // DOWN + case 37: // LEFT + e.preventDefault(); + this.moveByKey(false); + break; + + case 87: // S + case 68: // D + case 38: // UP + case 39: // RIGHT + e.preventDefault(); + this.moveByKey(true); + break; + } + + return true; + }, - if (o.min_interval && o.min_interval > o.max - o.min) { - o.min_interval = o.max - o.min; - } + /** + * Move by key. Beta + * @todo refactor than have plenty of time + * + * @param right {boolean} direction to move + */ + moveByKey: function (right) { + var p = this.coords.p_pointer; - if (o.max_interval && o.max_interval > o.max - o.min) { - o.max_interval = o.max - o.min; - } - }, + if (right) { + p += this.options.keyboard_step; + } else { + p -= this.options.keyboard_step; + } - decorate: function (num, original) { - var decorated = "", - o = this.options; + this.coords.x_pointer = this.toFixed((this.coords.w_rs / 100) * p); + this.is_key = true; + this.calc(); + }, - if (o.prefix) { - decorated += o.prefix; - } + /** + * Set visibility and content + * of Min and Max labels + */ + setMinMax: function () { + if (!this.options) { + return; + } + + if (this.options.hide_min_max) { + this.$cache.min[0].style.display = "none"; + this.$cache.max[0].style.display = "none"; + return; + } + + if (this.options.values.length) { + this.$cache.min.html( + this.decorate(this.options.p_values[this.options.min]) + ); + this.$cache.max.html( + this.decorate(this.options.p_values[this.options.max]) + ); + } else { + this.$cache.min.html( + this.decorate(this._prettify(this.options.min), this.options.min) + ); + this.$cache.max.html( + this.decorate(this._prettify(this.options.max), this.options.max) + ); + } + + this.labels.w_min = this.$cache.min.outerWidth(false); + this.labels.w_max = this.$cache.max.outerWidth(false); + }, - decorated += num; - - if (o.max_postfix) { - if (o.values.length && num === o.p_values[o.max]) { - decorated += o.max_postfix; - if (o.postfix) { - decorated += " "; - } - } else if (original === o.max) { - decorated += o.max_postfix; - if (o.postfix) { - decorated += " "; - } - } - } + /** + * Then dragging interval, prevent interval collapsing + * using min_interval option + */ + setTempMinInterval: function () { + var interval = this.result.to - this.result.from; - if (o.postfix) { - decorated += o.postfix; - } + if (this.old_min_interval === null) { + this.old_min_interval = this.options.min_interval; + } - return decorated; - }, + this.options.min_interval = interval; + }, - updateFrom: function () { - this.result.from = this.options.from; - this.result.from_percent = this.convertToPercent(this.result.from); - if (this.options.values) { - this.result.from_value = this.options.values[this.result.from]; - } - }, + /** + * Restore min_interval option to original + */ + restoreOriginalMinInterval: function () { + if (this.old_min_interval !== null) { + this.options.min_interval = this.old_min_interval; + this.old_min_interval = null; + } + }, - updateTo: function () { - this.result.to = this.options.to; - this.result.to_percent = this.convertToPercent(this.result.to); - if (this.options.values) { - this.result.to_value = this.options.values[this.result.to]; - } - }, + // ============================================================================================================= + // Calculations - updateResult: function () { - this.result.min = this.options.min; - this.result.max = this.options.max; - this.updateFrom(); - this.updateTo(); - }, + /** + * All calculations and measures start here + * + * @param update {boolean=} + */ + calc: function (update) { + if (!this.options) { + return; + } + this.calc_count++; - // ============================================================================================================= - // Grid + if (this.calc_count === 10 || update) { + this.calc_count = 0; + this.coords.w_rs = this.$cache.rs.outerWidth(false); - appendGrid: function () { - if (!this.options.grid) { - return; - } + this.calcHandlePercent(); + } - var o = this.options, - i, z, + if (!this.coords.w_rs) { + return; + } - total = o.max - o.min, - big_num = o.grid_num, - big_p = 0, - big_w = 0, + this.calcPointerPercent(); + var handle_x = this.getHandleX(); - small_max = 4, - local_small_max, - small_p, - small_w = 0, + if (this.target === "both") { + this.coords.p_gap = 0; + handle_x = this.getHandleX(); + } - result, - html = ''; + if (this.target === "click") { + this.coords.p_gap = this.coords.p_handle / 2; + handle_x = this.getHandleX(); + if (this.options.drag_interval) { + this.target = "both_one"; + } else { + this.target = this.chooseHandle(handle_x); + } + } + + switch (this.target) { + case "base": + var w = (this.options.max - this.options.min) / 100, + f = (this.result.from - this.options.min) / w, + t = (this.result.to - this.options.min) / w; + + this.coords.p_single_real = this.toFixed(f); + this.coords.p_from_real = this.toFixed(f); + this.coords.p_to_real = this.toFixed(t); + + this.coords.p_single_real = this.checkDiapason( + this.coords.p_single_real, + this.options.from_min, + this.options.from_max + ); + this.coords.p_from_real = this.checkDiapason( + this.coords.p_from_real, + this.options.from_min, + this.options.from_max + ); + this.coords.p_to_real = this.checkDiapason( + this.coords.p_to_real, + this.options.to_min, + this.options.to_max + ); + + this.coords.p_single_fake = this.convertToFakePercent( + this.coords.p_single_real + ); + this.coords.p_from_fake = this.convertToFakePercent( + this.coords.p_from_real + ); + this.coords.p_to_fake = this.convertToFakePercent( + this.coords.p_to_real + ); + + this.target = null; + + break; + + case "single": + if (this.options.from_fixed) { + break; + } + + this.coords.p_single_real = this.convertToRealPercent(handle_x); + this.coords.p_single_real = this.calcWithStep( + this.coords.p_single_real + ); + this.coords.p_single_real = this.checkDiapason( + this.coords.p_single_real, + this.options.from_min, + this.options.from_max + ); + + this.coords.p_single_fake = this.convertToFakePercent( + this.coords.p_single_real + ); + + break; + + case "from": + if (this.options.from_fixed) { + break; + } + + this.coords.p_from_real = this.convertToRealPercent(handle_x); + this.coords.p_from_real = this.calcWithStep(this.coords.p_from_real); + if (this.coords.p_from_real > this.coords.p_to_real) { + this.coords.p_from_real = this.coords.p_to_real; + } + this.coords.p_from_real = this.checkDiapason( + this.coords.p_from_real, + this.options.from_min, + this.options.from_max + ); + this.coords.p_from_real = this.checkMinInterval( + this.coords.p_from_real, + this.coords.p_to_real, + "from" + ); + this.coords.p_from_real = this.checkMaxInterval( + this.coords.p_from_real, + this.coords.p_to_real, + "from" + ); + + this.coords.p_from_fake = this.convertToFakePercent( + this.coords.p_from_real + ); + + break; + + case "to": + if (this.options.to_fixed) { + break; + } + + this.coords.p_to_real = this.convertToRealPercent(handle_x); + this.coords.p_to_real = this.calcWithStep(this.coords.p_to_real); + if (this.coords.p_to_real < this.coords.p_from_real) { + this.coords.p_to_real = this.coords.p_from_real; + } + this.coords.p_to_real = this.checkDiapason( + this.coords.p_to_real, + this.options.to_min, + this.options.to_max + ); + this.coords.p_to_real = this.checkMinInterval( + this.coords.p_to_real, + this.coords.p_from_real, + "to" + ); + this.coords.p_to_real = this.checkMaxInterval( + this.coords.p_to_real, + this.coords.p_from_real, + "to" + ); + + this.coords.p_to_fake = this.convertToFakePercent( + this.coords.p_to_real + ); + + break; + + case "both": + if (this.options.from_fixed || this.options.to_fixed) { + break; + } + + handle_x = this.toFixed(handle_x + this.coords.p_handle * 0.001); + + this.coords.p_from_real = + this.convertToRealPercent(handle_x) - this.coords.p_gap_left; + this.coords.p_from_real = this.calcWithStep(this.coords.p_from_real); + this.coords.p_from_real = this.checkDiapason( + this.coords.p_from_real, + this.options.from_min, + this.options.from_max + ); + this.coords.p_from_real = this.checkMinInterval( + this.coords.p_from_real, + this.coords.p_to_real, + "from" + ); + this.coords.p_from_fake = this.convertToFakePercent( + this.coords.p_from_real + ); + + this.coords.p_to_real = + this.convertToRealPercent(handle_x) + this.coords.p_gap_right; + this.coords.p_to_real = this.calcWithStep(this.coords.p_to_real); + this.coords.p_to_real = this.checkDiapason( + this.coords.p_to_real, + this.options.to_min, + this.options.to_max + ); + this.coords.p_to_real = this.checkMinInterval( + this.coords.p_to_real, + this.coords.p_from_real, + "to" + ); + this.coords.p_to_fake = this.convertToFakePercent( + this.coords.p_to_real + ); + + break; + + case "both_one": + if (this.options.from_fixed || this.options.to_fixed) { + break; + } + + var real_x = this.convertToRealPercent(handle_x), + from = this.result.from_percent, + to = this.result.to_percent, + full = to - from, + half = full / 2, + new_from = real_x - half, + new_to = real_x + half; + + if (new_from < 0) { + new_from = 0; + new_to = new_from + full; + } + + if (new_to > 100) { + new_to = 100; + new_from = new_to - full; + } + + this.coords.p_from_real = this.calcWithStep(new_from); + this.coords.p_from_real = this.checkDiapason( + this.coords.p_from_real, + this.options.from_min, + this.options.from_max + ); + this.coords.p_from_fake = this.convertToFakePercent( + this.coords.p_from_real + ); + + this.coords.p_to_real = this.calcWithStep(new_to); + this.coords.p_to_real = this.checkDiapason( + this.coords.p_to_real, + this.options.to_min, + this.options.to_max + ); + this.coords.p_to_fake = this.convertToFakePercent( + this.coords.p_to_real + ); + + break; + } + + if (this.options.type === "single") { + this.coords.p_bar_x = this.coords.p_handle / 2; + this.coords.p_bar_w = this.coords.p_single_fake; + + this.result.from_percent = this.coords.p_single_real; + this.result.from = this.convertToValue(this.coords.p_single_real); + + if (this.options.values.length) { + this.result.from_value = this.options.values[this.result.from]; + } + } else { + this.coords.p_bar_x = this.toFixed( + this.coords.p_from_fake + this.coords.p_handle / 2 + ); + this.coords.p_bar_w = this.toFixed( + this.coords.p_to_fake - this.coords.p_from_fake + ); + + this.result.from_percent = this.coords.p_from_real; + this.result.from = this.convertToValue(this.coords.p_from_real); + this.result.to_percent = this.coords.p_to_real; + this.result.to = this.convertToValue(this.coords.p_to_real); + + if (this.options.values.length) { + this.result.from_value = this.options.values[this.result.from]; + this.result.to_value = this.options.values[this.result.to]; + } + } + this.calcMinMax(); + this.calcLabels(); + }, - this.calcGridMargin(); + /** + * calculates pointer X in percent + */ + calcPointerPercent: function () { + if (!this.coords.w_rs) { + this.coords.p_pointer = 0; + return; + } + + if (this.coords.x_pointer < 0 || isNaN(this.coords.x_pointer)) { + this.coords.x_pointer = 0; + } else if (this.coords.x_pointer > this.coords.w_rs) { + this.coords.x_pointer = this.coords.w_rs; + } + + this.coords.p_pointer = this.toFixed( + (this.coords.x_pointer / this.coords.w_rs) * 100 + ); + }, + + convertToRealPercent: function (fake) { + var full = 100 - this.coords.p_handle; + return (fake / full) * 100; + }, + + convertToFakePercent: function (real) { + var full = 100 - this.coords.p_handle; + return (real / 100) * full; + }, + + getHandleX: function () { + var max = 100 - this.coords.p_handle, + x = this.toFixed(this.coords.p_pointer - this.coords.p_gap); + + if (x < 0) { + x = 0; + } else if (x > max) { + x = max; + } + + return x; + }, + + calcHandlePercent: function () { + if (this.options.type === "single") { + this.coords.w_handle = this.$cache.s_single.outerWidth(false); + } else { + this.coords.w_handle = this.$cache.s_from.outerWidth(false); + } + + this.coords.p_handle = this.toFixed( + (this.coords.w_handle / this.coords.w_rs) * 100 + ); + }, - if (o.grid_snap) { + /** + * Find closest handle to pointer click + * + * @param real_x {Number} + * @returns {String} + */ + chooseHandle: function (real_x) { + if (this.options.type === "single") { + return "single"; + } else { + var m_point = + this.coords.p_from_real + + (this.coords.p_to_real - this.coords.p_from_real) / 2; + if (real_x >= m_point) { + return this.options.to_fixed ? "from" : "to"; + } else { + return this.options.from_fixed ? "to" : "from"; + } + } + }, - if (total > 50) { - big_num = 50 / o.step; - big_p = this.toFixed(o.step / 0.5); - } else { - big_num = total / o.step; - big_p = this.toFixed(o.step / (total / 100)); - } + /** + * Measure Min and Max labels width in percent + */ + calcMinMax: function () { + if (!this.coords.w_rs) { + return; + } - } else { - big_p = this.toFixed(100 / big_num); - } + this.labels.p_min = (this.labels.w_min / this.coords.w_rs) * 100; + this.labels.p_max = (this.labels.w_max / this.coords.w_rs) * 100; + }, - if (big_num > 4) { - small_max = 3; - } - if (big_num > 7) { - small_max = 2; - } - if (big_num > 14) { - small_max = 1; - } - if (big_num > 28) { - small_max = 0; - } + /** + * Measure labels width and X in percent + */ + calcLabels: function () { + if (!this.coords.w_rs || this.options.hide_from_to) { + return; + } + + if (this.options.type === "single") { + this.labels.w_single = this.$cache.single.outerWidth(false); + this.labels.p_single_fake = + (this.labels.w_single / this.coords.w_rs) * 100; + this.labels.p_single_left = + this.coords.p_single_fake + + this.coords.p_handle / 2 - + this.labels.p_single_fake / 2; + this.labels.p_single_left = this.checkEdges( + this.labels.p_single_left, + this.labels.p_single_fake + ); + } else { + this.labels.w_from = this.$cache.from.outerWidth(false); + this.labels.p_from_fake = (this.labels.w_from / this.coords.w_rs) * 100; + this.labels.p_from_left = + this.coords.p_from_fake + + this.coords.p_handle / 2 - + this.labels.p_from_fake / 2; + this.labels.p_from_left = this.toFixed(this.labels.p_from_left); + this.labels.p_from_left = this.checkEdges( + this.labels.p_from_left, + this.labels.p_from_fake + ); + + this.labels.w_to = this.$cache.to.outerWidth(false); + this.labels.p_to_fake = (this.labels.w_to / this.coords.w_rs) * 100; + this.labels.p_to_left = + this.coords.p_to_fake + + this.coords.p_handle / 2 - + this.labels.p_to_fake / 2; + this.labels.p_to_left = this.toFixed(this.labels.p_to_left); + this.labels.p_to_left = this.checkEdges( + this.labels.p_to_left, + this.labels.p_to_fake + ); + + this.labels.w_single = this.$cache.single.outerWidth(false); + this.labels.p_single_fake = + (this.labels.w_single / this.coords.w_rs) * 100; + this.labels.p_single_left = + (this.labels.p_from_left + + this.labels.p_to_left + + this.labels.p_to_fake) / + 2 - + this.labels.p_single_fake / 2; + this.labels.p_single_left = this.toFixed(this.labels.p_single_left); + this.labels.p_single_left = this.checkEdges( + this.labels.p_single_left, + this.labels.p_single_fake + ); + } + }, + + // ============================================================================================================= + // Drawings - for (i = 0; i < big_num + 1; i++) { - local_small_max = small_max; + /** + * Main function called in request animation frame + * to update everything + */ + updateScene: function () { + if (this.raf_id) { + cancelAnimationFrame(this.raf_id); + this.raf_id = null; + } - big_w = this.toFixed(big_p * i); + clearTimeout(this.update_tm); + this.update_tm = null; - if (big_w > 100) { - big_w = 100; + if (!this.options) { + return; + } - local_small_max -= 2; - if (local_small_max < 0) { - local_small_max = 0; - } - } - this.coords.big[i] = big_w; + this.drawHandles(); - small_p = (big_w - (big_p * (i - 1))) / (local_small_max + 1); + if (this.is_active) { + this.raf_id = requestAnimationFrame(this.updateScene.bind(this)); + } else { + this.update_tm = setTimeout(this.updateScene.bind(this), 300); + } + }, - for (z = 1; z <= local_small_max; z++) { - if (big_w === 0) { - break; - } + /** + * Draw handles + */ + drawHandles: function () { + this.coords.w_rs = this.$cache.rs.outerWidth(false); + + if (!this.coords.w_rs) { + return; + } + + if (this.coords.w_rs !== this.coords.w_rs_old) { + this.target = "base"; + this.is_resize = true; + } + + if (this.coords.w_rs !== this.coords.w_rs_old || this.force_redraw) { + this.setMinMax(); + this.calc(true); + this.drawLabels(); + if (this.options.grid) { + this.calcGridMargin(); + this.calcGridLabels(); + } + this.force_redraw = true; + this.coords.w_rs_old = this.coords.w_rs; + this.drawShadow(); + } + + if (!this.coords.w_rs) { + return; + } + + if (!this.dragging && !this.force_redraw && !this.is_key) { + return; + } + + if ( + this.old_from !== this.result.from || + this.old_to !== this.result.to || + this.force_redraw || + this.is_key + ) { + this.drawLabels(); + + this.$cache.bar[0].style.left = this.coords.p_bar_x + "%"; + this.$cache.bar[0].style.width = this.coords.p_bar_w + "%"; + + if (this.options.type === "single") { + this.$cache.s_single[0].style.left = this.coords.p_single_fake + "%"; + + this.$cache.single[0].style.left = this.labels.p_single_left + "%"; + } else { + this.$cache.s_from[0].style.left = this.coords.p_from_fake + "%"; + this.$cache.s_to[0].style.left = this.coords.p_to_fake + "%"; + + if (this.old_from !== this.result.from || this.force_redraw) { + this.$cache.from[0].style.left = this.labels.p_from_left + "%"; + } + if (this.old_to !== this.result.to || this.force_redraw) { + this.$cache.to[0].style.left = this.labels.p_to_left + "%"; + } + + this.$cache.single[0].style.left = this.labels.p_single_left + "%"; + } - small_w = this.toFixed(big_w - (small_p * z)); + this.writeToInput(); - html += ''; - } + if ( + (this.old_from !== this.result.from || + this.old_to !== this.result.to) && + !this.is_start + ) { + this.$cache.input.trigger("change"); + this.$cache.input.trigger("input"); + } - html += ''; + this.old_from = this.result.from; + this.old_to = this.result.to; + + // callbacks call + if ( + !this.is_resize && + !this.is_update && + !this.is_start && + !this.is_finish + ) { + this.callOnChange(); + } + if (this.is_key || this.is_click) { + this.is_key = false; + this.is_click = false; + this.callOnFinish(); + } - result = this.convertToValue(big_w); - if (o.values.length) { - result = o.p_values[result]; - } else { - result = this._prettify(result); - } + this.is_update = false; + this.is_resize = false; + this.is_finish = false; + } - html += '' + result + ''; - } - this.coords.big_num = Math.ceil(big_num + 1); + this.is_start = false; + this.is_key = false; + this.is_click = false; + this.force_redraw = false; + }, + /** + * Draw labels + * measure labels collisions + * collapse close labels + */ + drawLabels: function () { + if (!this.options) { + return; + } + + var values_num = this.options.values.length, + p_values = this.options.p_values, + text_single, + text_from, + text_to; + + if (this.options.hide_from_to) { + return; + } + + if (this.options.type === "single") { + if (values_num) { + text_single = this.decorate(p_values[this.result.from]); + this.$cache.single.html(text_single); + } else { + text_single = this.decorate( + this._prettify(this.result.from), + this.result.from + ); + this.$cache.single.html(text_single); + } + this.calcLabels(); - this.$cache.cont.addClass("irs-with-grid"); - this.$cache.grid.html(html); - this.cacheGridLabels(); - }, + if (this.labels.p_single_left < this.labels.p_min + 1) { + this.$cache.min[0].style.visibility = "hidden"; + } else { + this.$cache.min[0].style.visibility = "visible"; + } - cacheGridLabels: function () { - var $label, i, - num = this.coords.big_num; + if ( + this.labels.p_single_left + this.labels.p_single_fake > + 100 - this.labels.p_max - 1 + ) { + this.$cache.max[0].style.visibility = "hidden"; + } else { + this.$cache.max[0].style.visibility = "visible"; + } + } else { + if (values_num) { + if (this.options.decorate_both) { + text_single = this.decorate(p_values[this.result.from]); + text_single += this.options.values_separator; + text_single += this.decorate(p_values[this.result.to]); + } else { + text_single = this.decorate( + p_values[this.result.from] + + this.options.values_separator + + p_values[this.result.to] + ); + } + text_from = this.decorate(p_values[this.result.from]); + text_to = this.decorate(p_values[this.result.to]); + + this.$cache.single.html(text_single); + this.$cache.from.html(text_from); + this.$cache.to.html(text_to); + } else { + if (this.options.decorate_both) { + text_single = this.decorate( + this._prettify(this.result.from), + this.result.from + ); + text_single += this.options.values_separator; + text_single += this.decorate( + this._prettify(this.result.to), + this.result.to + ); + } else { + text_single = this.decorate( + this._prettify(this.result.from) + + this.options.values_separator + + this._prettify(this.result.to), + this.result.to + ); + } + text_from = this.decorate( + this._prettify(this.result.from), + this.result.from + ); + text_to = this.decorate( + this._prettify(this.result.to), + this.result.to + ); + + this.$cache.single.html(text_single); + this.$cache.from.html(text_from); + this.$cache.to.html(text_to); + } - for (i = 0; i < num; i++) { - $label = this.$cache.grid.find(".js-grid-text-" + i); - this.$cache.grid_labels.push($label); - } + this.calcLabels(); + + var min = Math.min(this.labels.p_single_left, this.labels.p_from_left), + single_left = this.labels.p_single_left + this.labels.p_single_fake, + to_left = this.labels.p_to_left + this.labels.p_to_fake, + max = Math.max(single_left, to_left); + + if ( + this.labels.p_from_left + this.labels.p_from_fake >= + this.labels.p_to_left + ) { + this.$cache.from[0].style.visibility = "hidden"; + this.$cache.to[0].style.visibility = "hidden"; + this.$cache.single[0].style.visibility = "visible"; + + if (this.result.from === this.result.to) { + if (this.target === "from") { + this.$cache.from[0].style.visibility = "visible"; + } else if (this.target === "to") { + this.$cache.to[0].style.visibility = "visible"; + } else if (!this.target) { + this.$cache.from[0].style.visibility = "visible"; + } + this.$cache.single[0].style.visibility = "hidden"; + max = to_left; + } else { + this.$cache.from[0].style.visibility = "hidden"; + this.$cache.to[0].style.visibility = "hidden"; + this.$cache.single[0].style.visibility = "visible"; + max = Math.max(single_left, to_left); + } + } else { + this.$cache.from[0].style.visibility = "visible"; + this.$cache.to[0].style.visibility = "visible"; + this.$cache.single[0].style.visibility = "hidden"; + } - this.calcGridLabels(); - }, + if (min < this.labels.p_min + 1) { + this.$cache.min[0].style.visibility = "hidden"; + } else { + this.$cache.min[0].style.visibility = "visible"; + } - calcGridLabels: function () { - var i, label, start = [], finish = [], - num = this.coords.big_num; + if (max > 100 - this.labels.p_max - 1) { + this.$cache.max[0].style.visibility = "hidden"; + } else { + this.$cache.max[0].style.visibility = "visible"; + } + } + }, - for (i = 0; i < num; i++) { - this.coords.big_w[i] = this.$cache.grid_labels[i].outerWidth(false); - this.coords.big_p[i] = this.toFixed(this.coords.big_w[i] / this.coords.w_rs * 100); - this.coords.big_x[i] = this.toFixed(this.coords.big_p[i] / 2); + /** + * Draw shadow intervals + */ + drawShadow: function () { + var o = this.options, + c = this.$cache, + is_from_min = typeof o.from_min === "number" && !isNaN(o.from_min), + is_from_max = typeof o.from_max === "number" && !isNaN(o.from_max), + is_to_min = typeof o.to_min === "number" && !isNaN(o.to_min), + is_to_max = typeof o.to_max === "number" && !isNaN(o.to_max), + from_min, + from_max, + to_min, + to_max; + + if (o.type === "single") { + if (o.from_shadow && (is_from_min || is_from_max)) { + from_min = this.convertToPercent(is_from_min ? o.from_min : o.min); + from_max = + this.convertToPercent(is_from_max ? o.from_max : o.max) - from_min; + from_min = this.toFixed( + from_min - (this.coords.p_handle / 100) * from_min + ); + from_max = this.toFixed( + from_max - (this.coords.p_handle / 100) * from_max + ); + from_min = from_min + this.coords.p_handle / 2; + + c.shad_single[0].style.display = "block"; + c.shad_single[0].style.left = from_min + "%"; + c.shad_single[0].style.width = from_max + "%"; + } else { + c.shad_single[0].style.display = "none"; + } + } else { + if (o.from_shadow && (is_from_min || is_from_max)) { + from_min = this.convertToPercent(is_from_min ? o.from_min : o.min); + from_max = + this.convertToPercent(is_from_max ? o.from_max : o.max) - from_min; + from_min = this.toFixed( + from_min - (this.coords.p_handle / 100) * from_min + ); + from_max = this.toFixed( + from_max - (this.coords.p_handle / 100) * from_max + ); + from_min = from_min + this.coords.p_handle / 2; + + c.shad_from[0].style.display = "block"; + c.shad_from[0].style.left = from_min + "%"; + c.shad_from[0].style.width = from_max + "%"; + } else { + c.shad_from[0].style.display = "none"; + } - start[i] = this.toFixed(this.coords.big[i] - this.coords.big_x[i]); - finish[i] = this.toFixed(start[i] + this.coords.big_p[i]); - } + if (o.to_shadow && (is_to_min || is_to_max)) { + to_min = this.convertToPercent(is_to_min ? o.to_min : o.min); + to_max = this.convertToPercent(is_to_max ? o.to_max : o.max) - to_min; + to_min = this.toFixed(to_min - (this.coords.p_handle / 100) * to_min); + to_max = this.toFixed(to_max - (this.coords.p_handle / 100) * to_max); + to_min = to_min + this.coords.p_handle / 2; + + c.shad_to[0].style.display = "block"; + c.shad_to[0].style.left = to_min + "%"; + c.shad_to[0].style.width = to_max + "%"; + } else { + c.shad_to[0].style.display = "none"; + } + } + }, - if (this.options.force_edges) { - if (start[0] < -this.coords.grid_gap) { - start[0] = -this.coords.grid_gap; - finish[0] = this.toFixed(start[0] + this.coords.big_p[0]); + /** + * Write values to input element + */ + writeToInput: function () { + if (this.options.type === "single") { + if (this.options.values.length) { + this.$cache.input.prop("value", this.result.from_value); + } else { + this.$cache.input.prop("value", this.result.from); + } + this.$cache.input.data("from", this.result.from); + } else { + if (this.options.values.length) { + this.$cache.input.prop( + "value", + this.result.from_value + + this.options.input_values_separator + + this.result.to_value + ); + } else { + this.$cache.input.prop( + "value", + this.result.from + + this.options.input_values_separator + + this.result.to + ); + } + this.$cache.input.data("from", this.result.from); + this.$cache.input.data("to", this.result.to); + } + }, + + // ============================================================================================================= + // Callbacks + + callOnStart: function () { + this.writeToInput(); + + if (this.options.onStart && typeof this.options.onStart === "function") { + this.options.onStart(this.result); + } + }, + callOnChange: function () { + this.writeToInput(); + + if ( + this.options.onChange && + typeof this.options.onChange === "function" + ) { + this.options.onChange(this.result); + } + }, + callOnFinish: function () { + this.writeToInput(); + + if ( + this.options.onFinish && + typeof this.options.onFinish === "function" + ) { + this.options.onFinish(this.result); + } + }, + callOnUpdate: function () { + this.writeToInput(); + + if ( + this.options.onUpdate && + typeof this.options.onUpdate === "function" + ) { + this.options.onUpdate(this.result); + } + }, + + // ============================================================================================================= + // Service methods + + toggleInput: function () { + this.$cache.input.toggleClass("irs-hidden-input"); + }, - this.coords.big_x[0] = this.coords.grid_gap; - } + /** + * Convert real value to percent + * + * @param value {Number} X in real + * @param no_min {boolean=} don't use min value + * @returns {Number} X in percent + */ + convertToPercent: function (value, no_min) { + var diapason = this.options.max - this.options.min, + one_percent = diapason / 100, + val, + percent; - if (finish[num - 1] > 100 + this.coords.grid_gap) { - finish[num - 1] = 100 + this.coords.grid_gap; - start[num - 1] = this.toFixed(finish[num - 1] - this.coords.big_p[num - 1]); + if (!diapason) { + this.no_diapason = true; + return 0; + } - this.coords.big_x[num - 1] = this.toFixed(this.coords.big_p[num - 1] - this.coords.grid_gap); - } - } + if (no_min) { + val = value; + } else { + val = value - this.options.min; + } - this.calcGridCollision(2, start, finish); - this.calcGridCollision(4, start, finish); + percent = val / one_percent; - for (i = 0; i < num; i++) { - label = this.$cache.grid_labels[i][0]; + return this.toFixed(percent); + }, - if (this.coords.big_x[i] !== Number.POSITIVE_INFINITY) { - label.style.marginLeft = -this.coords.big_x[i] + "%"; - } - } - }, - - // Collisions Calc Beta - // TODO: Refactor then have plenty of time - calcGridCollision: function (step, start, finish) { - var i, next_i, label, - num = this.coords.big_num; - - for (i = 0; i < num; i += step) { - next_i = i + (step / 2); - if (next_i >= num) { - break; - } - - label = this.$cache.grid_labels[next_i][0]; - - if (finish[i] <= start[next_i]) { - label.style.visibility = "visible"; - } else { - label.style.visibility = "hidden"; - } - } - }, + /** + * Convert percent to real values + * + * @param percent {Number} X in percent + * @returns {Number} X in real + */ + convertToValue: function (percent) { + var min = this.options.min, + max = this.options.max, + min_decimals = min.toString().split(".")[1], + max_decimals = max.toString().split(".")[1], + min_length, + max_length, + avg_decimals = 0, + abs = 0; + + if (percent === 0) { + return this.options.min; + } + if (percent === 100) { + return this.options.max; + } + + if (min_decimals) { + min_length = min_decimals.length; + avg_decimals = min_length; + } + if (max_decimals) { + max_length = max_decimals.length; + avg_decimals = max_length; + } + if (min_length && max_length) { + avg_decimals = min_length >= max_length ? min_length : max_length; + } + + if (min < 0) { + abs = Math.abs(min); + min = +(min + abs).toFixed(avg_decimals); + max = +(max + abs).toFixed(avg_decimals); + } + + var number = ((max - min) / 100) * percent + min, + string = this.options.step.toString().split(".")[1], + result; + + if (string) { + number = +number.toFixed(string.length); + } else { + number = number / this.options.step; + number = number * this.options.step; + + number = +number.toFixed(0); + } + + if (abs) { + number -= abs; + } + + if (string) { + result = +number.toFixed(string.length); + } else { + result = this.toFixed(number); + } + + if (result < this.options.min) { + result = this.options.min; + } else if (result > this.options.max) { + result = this.options.max; + } + + return result; + }, - calcGridMargin: function () { - if (!this.options.grid_margin) { - return; - } + /** + * Round percent value with step + * + * @param percent {Number} + * @returns percent {Number} rounded + */ + calcWithStep: function (percent) { + var rounded = + Math.round(percent / this.coords.p_step) * this.coords.p_step; + + if (rounded > 100) { + rounded = 100; + } + if (percent === 100) { + rounded = 100; + } + + return this.toFixed(rounded); + }, + + checkMinInterval: function (p_current, p_next, type) { + var o = this.options, + current, + next; + + if (!o.min_interval) { + return p_current; + } + + current = this.convertToValue(p_current); + next = this.convertToValue(p_next); + + if (type === "from") { + if (next - current < o.min_interval) { + current = next - o.min_interval; + } + } else { + if (current - next < o.min_interval) { + current = next + o.min_interval; + } + } - this.coords.w_rs = this.$cache.rs.outerWidth(false); - if (!this.coords.w_rs) { - return; - } + return this.convertToPercent(current); + }, - if (this.options.type === "single") { - this.coords.w_handle = this.$cache.s_single.outerWidth(false); - } else { - this.coords.w_handle = this.$cache.s_from.outerWidth(false); - } - this.coords.p_handle = this.toFixed(this.coords.w_handle / this.coords.w_rs * 100); - this.coords.grid_gap = this.toFixed((this.coords.p_handle / 2) - 0.1); + checkMaxInterval: function (p_current, p_next, type) { + var o = this.options, + current, + next; - this.$cache.grid[0].style.width = this.toFixed(100 - this.coords.p_handle) + "%"; - this.$cache.grid[0].style.left = this.coords.grid_gap + "%"; - }, + if (!o.max_interval) { + return p_current; + } + current = this.convertToValue(p_current); + next = this.convertToValue(p_next); + if (type === "from") { + if (next - current > o.max_interval) { + current = next - o.max_interval; + } + } else { + if (current - next > o.max_interval) { + current = next + o.max_interval; + } + } + + return this.convertToPercent(current); + }, + + checkDiapason: function (p_num, min, max) { + var num = this.convertToValue(p_num), + o = this.options; + + if (typeof min !== "number") { + min = o.min; + } + + if (typeof max !== "number") { + max = o.max; + } + + if (num < min) { + num = min; + } + + if (num > max) { + num = max; + } + + return this.convertToPercent(num); + }, + + toFixed: function (num) { + num = num.toFixed(20); + return +num; + }, + + _prettify: function (num) { + if (!this.options.prettify_enabled) { + return num; + } + + if ( + this.options.prettify && + typeof this.options.prettify === "function" + ) { + return this.options.prettify(num); + } else { + return this.prettify(num); + } + }, + + prettify: function (num) { + var n = num.toString(); + return n.replace( + /(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g, + "$1" + this.options.prettify_separator + ); + }, + + checkEdges: function (left, width) { + if (!this.options.force_edges) { + return this.toFixed(left); + } + + if (left < 0) { + left = 0; + } else if (left > 100 - width) { + left = 100 - width; + } + + return this.toFixed(left); + }, + + validate: function () { + var o = this.options, + r = this.result, + v = o.values, + vl = v.length, + value, + i; + + if (typeof o.min === "string") o.min = +o.min; + if (typeof o.max === "string") o.max = +o.max; + if (typeof o.from === "string") o.from = +o.from; + if (typeof o.to === "string") o.to = +o.to; + if (typeof o.step === "string") o.step = +o.step; + + if (typeof o.from_min === "string") o.from_min = +o.from_min; + if (typeof o.from_max === "string") o.from_max = +o.from_max; + if (typeof o.to_min === "string") o.to_min = +o.to_min; + if (typeof o.to_max === "string") o.to_max = +o.to_max; + + if (typeof o.keyboard_step === "string") + o.keyboard_step = +o.keyboard_step; + if (typeof o.grid_num === "string") o.grid_num = +o.grid_num; + + if (o.max < o.min) { + o.max = o.min; + } + + if (vl) { + o.p_values = []; + o.min = 0; + o.max = vl - 1; + o.step = 1; + o.grid_num = o.max; + o.grid_snap = true; + + for (i = 0; i < vl; i++) { + value = +v[i]; + + if (!isNaN(value)) { + v[i] = value; + value = this._prettify(value); + } else { + value = v[i]; + } + + o.p_values.push(value); + } + } + + if (typeof o.from !== "number" || isNaN(o.from)) { + o.from = o.min; + } + + if (typeof o.to !== "number" || isNaN(o.to)) { + o.to = o.max; + } + + if (o.type === "single") { + if (o.from < o.min) o.from = o.min; + if (o.from > o.max) o.from = o.max; + } else { + if (o.from < o.min) o.from = o.min; + if (o.from > o.max) o.from = o.max; + + if (o.to < o.min) o.to = o.min; + if (o.to > o.max) o.to = o.max; + + if (this.update_check.from) { + if (this.update_check.from !== o.from) { + if (o.from > o.to) o.from = o.to; + } + if (this.update_check.to !== o.to) { + if (o.to < o.from) o.to = o.from; + } + } - // ============================================================================================================= - // Public methods + if (o.from > o.to) o.from = o.to; + if (o.to < o.from) o.to = o.from; + } + + if ( + typeof o.step !== "number" || + isNaN(o.step) || + !o.step || + o.step < 0 + ) { + o.step = 1; + } + + if ( + typeof o.keyboard_step !== "number" || + isNaN(o.keyboard_step) || + !o.keyboard_step || + o.keyboard_step < 0 + ) { + o.keyboard_step = 5; + } + + if (typeof o.from_min === "number" && o.from < o.from_min) { + o.from = o.from_min; + } + + if (typeof o.from_max === "number" && o.from > o.from_max) { + o.from = o.from_max; + } + + if (typeof o.to_min === "number" && o.to < o.to_min) { + o.to = o.to_min; + } + + if (typeof o.to_max === "number" && o.from > o.to_max) { + o.to = o.to_max; + } + + if (r) { + if (r.min !== o.min) { + r.min = o.min; + } - update: function (options) { - if (!this.input) { - return; - } + if (r.max !== o.max) { + r.max = o.max; + } - this.is_update = true; + if (r.from < r.min || r.from > r.max) { + r.from = o.from; + } - this.options.from = this.result.from; - this.options.to = this.result.to; - this.update_check.from = this.result.from; - this.update_check.to = this.result.to; + if (r.to < r.min || r.to > r.max) { + r.to = o.to; + } + } + + if ( + typeof o.min_interval !== "number" || + isNaN(o.min_interval) || + !o.min_interval || + o.min_interval < 0 + ) { + o.min_interval = 0; + } + + if ( + typeof o.max_interval !== "number" || + isNaN(o.max_interval) || + !o.max_interval || + o.max_interval < 0 + ) { + o.max_interval = 0; + } + + if (o.min_interval && o.min_interval > o.max - o.min) { + o.min_interval = o.max - o.min; + } + + if (o.max_interval && o.max_interval > o.max - o.min) { + o.max_interval = o.max - o.min; + } + }, + + decorate: function (num, original) { + var decorated = "", + o = this.options; + + if (o.prefix) { + decorated += o.prefix; + } + + decorated += num; + + if (o.max_postfix) { + if (o.values.length && num === o.p_values[o.max]) { + decorated += o.max_postfix; + if (o.postfix) { + decorated += " "; + } + } else if (original === o.max) { + decorated += o.max_postfix; + if (o.postfix) { + decorated += " "; + } + } + } + + if (o.postfix) { + decorated += o.postfix; + } + + return decorated; + }, + + updateFrom: function () { + this.result.from = this.options.from; + this.result.from_percent = this.convertToPercent(this.result.from); + if (this.options.values) { + this.result.from_value = this.options.values[this.result.from]; + } + }, + + updateTo: function () { + this.result.to = this.options.to; + this.result.to_percent = this.convertToPercent(this.result.to); + if (this.options.values) { + this.result.to_value = this.options.values[this.result.to]; + } + }, + + updateResult: function () { + this.result.min = this.options.min; + this.result.max = this.options.max; + this.updateFrom(); + this.updateTo(); + }, + + // ============================================================================================================= + // Grid + + appendGrid: function () { + if (!this.options.grid) { + return; + } + + var o = this.options, + i, + z, + total = o.max - o.min, + big_num = o.grid_num, + big_p = 0, + big_w = 0, + small_max = 4, + local_small_max, + small_p, + small_w = 0, + result, + html = ""; + + this.calcGridMargin(); + + if (o.grid_snap) { + if (total > 50) { + big_num = 50 / o.step; + big_p = this.toFixed(o.step / 0.5); + } else { + big_num = total / o.step; + big_p = this.toFixed(o.step / (total / 100)); + } + } else { + big_p = this.toFixed(100 / big_num); + } + + if (big_num > 4) { + small_max = 3; + } + if (big_num > 7) { + small_max = 2; + } + if (big_num > 14) { + small_max = 1; + } + if (big_num > 28) { + small_max = 0; + } + + for (i = 0; i < big_num + 1; i++) { + local_small_max = small_max; + + big_w = this.toFixed(big_p * i); + + if (big_w > 100) { + big_w = 100; + + local_small_max -= 2; + if (local_small_max < 0) { + local_small_max = 0; + } + } + this.coords.big[i] = big_w; - this.options = $.extend(this.options, options); - this.validate(); - this.updateResult(options); + small_p = (big_w - big_p * (i - 1)) / (local_small_max + 1); - this.toggleInput(); - this.remove(); - this.init(true); - }, + for (z = 1; z <= local_small_max; z++) { + if (big_w === 0) { + break; + } - reset: function () { - if (!this.input) { - return; - } + small_w = this.toFixed(big_w - small_p * z); - this.updateResult(); - this.update(); - }, + html += + ''; + } - destroy: function () { - if (!this.input) { - return; - } + html += + ''; - this.toggleInput(); - this.$cache.input.prop("readonly", false); - $.data(this.input, "ionRangeSlider", null); + result = this.convertToValue(big_w); + if (o.values.length) { + result = o.p_values[result]; + } else { + result = this._prettify(result); + } - this.remove(); - this.input = null; - this.options = null; + html += + '' + + result + + ""; + } + this.coords.big_num = Math.ceil(big_num + 1); + + this.$cache.cont.addClass("irs-with-grid"); + this.$cache.grid.html(html); + this.cacheGridLabels(); + }, + + cacheGridLabels: function () { + var $label, + i, + num = this.coords.big_num; + + for (i = 0; i < num; i++) { + $label = this.$cache.grid.find(".js-grid-text-" + i); + this.$cache.grid_labels.push($label); + } + + this.calcGridLabels(); + }, + + calcGridLabels: function () { + var i, + label, + start = [], + finish = [], + num = this.coords.big_num; + + for (i = 0; i < num; i++) { + this.coords.big_w[i] = this.$cache.grid_labels[i].outerWidth(false); + this.coords.big_p[i] = this.toFixed( + (this.coords.big_w[i] / this.coords.w_rs) * 100 + ); + this.coords.big_x[i] = this.toFixed(this.coords.big_p[i] / 2); + + start[i] = this.toFixed(this.coords.big[i] - this.coords.big_x[i]); + finish[i] = this.toFixed(start[i] + this.coords.big_p[i]); + } + + if (this.options.force_edges) { + if (start[0] < -this.coords.grid_gap) { + start[0] = -this.coords.grid_gap; + finish[0] = this.toFixed(start[0] + this.coords.big_p[0]); + + this.coords.big_x[0] = this.coords.grid_gap; } - }; - $.fn.ionRangeSlider = function (options) { - return this.each(function() { - if (!$.data(this, "ionRangeSlider")) { - $.data(this, "ionRangeSlider", new IonRangeSlider(this, options, plugin_count++)); - } - }); - }; + if (finish[num - 1] > 100 + this.coords.grid_gap) { + finish[num - 1] = 100 + this.coords.grid_gap; + start[num - 1] = this.toFixed( + finish[num - 1] - this.coords.big_p[num - 1] + ); + this.coords.big_x[num - 1] = this.toFixed( + this.coords.big_p[num - 1] - this.coords.grid_gap + ); + } + } + this.calcGridCollision(2, start, finish); + this.calcGridCollision(4, start, finish); - // ================================================================================================================= - // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ - // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating + for (i = 0; i < num; i++) { + label = this.$cache.grid_labels[i][0]; - // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel + if (this.coords.big_x[i] !== Number.POSITIVE_INFINITY) { + label.style.marginLeft = -this.coords.big_x[i] + "%"; + } + } + }, + + // Collisions Calc Beta + // TODO: Refactor then have plenty of time + calcGridCollision: function (step, start, finish) { + var i, + next_i, + label, + num = this.coords.big_num; + + for (i = 0; i < num; i += step) { + next_i = i + step / 2; + if (next_i >= num) { + break; + } - // MIT license + label = this.$cache.grid_labels[next_i][0]; - (function() { - var lastTime = 0; - var vendors = ['ms', 'moz', 'webkit', 'o']; - for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { - window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame']; - window.cancelAnimationFrame = window[vendors[x]+'CancelAnimationFrame'] - || window[vendors[x]+'CancelRequestAnimationFrame']; + if (finish[i] <= start[next_i]) { + label.style.visibility = "visible"; + } else { + label.style.visibility = "hidden"; } + } + }, + + calcGridMargin: function () { + if (!this.options.grid_margin) { + return; + } + + this.coords.w_rs = this.$cache.rs.outerWidth(false); + if (!this.coords.w_rs) { + return; + } + + if (this.options.type === "single") { + this.coords.w_handle = this.$cache.s_single.outerWidth(false); + } else { + this.coords.w_handle = this.$cache.s_from.outerWidth(false); + } + this.coords.p_handle = this.toFixed( + (this.coords.w_handle / this.coords.w_rs) * 100 + ); + this.coords.grid_gap = this.toFixed(this.coords.p_handle / 2 - 0.1); + + this.$cache.grid[0].style.width = + this.toFixed(100 - this.coords.p_handle) + "%"; + this.$cache.grid[0].style.left = this.coords.grid_gap + "%"; + }, + + // ============================================================================================================= + // Public methods + + update: function (options) { + if (!this.input) { + return; + } + + this.is_update = true; + + this.options.from = this.result.from; + this.options.to = this.result.to; + this.update_check.from = this.result.from; + this.update_check.to = this.result.to; + + this.options = $.extend(this.options, options); + this.validate(); + this.updateResult(options); + + this.toggleInput(); + this.remove(); + this.init(true); + }, + + reset: function () { + if (!this.input) { + return; + } + + this.updateResult(); + this.update(); + }, + + destroy: function () { + if (!this.input) { + return; + } + + this.toggleInput(); + this.$cache.input.prop("readonly", false); + $.data(this.input, "ionRangeSlider", null); + + this.remove(); + this.input = null; + this.options = null; + }, + }; + + $.fn.ionRangeSlider = function (options) { + return this.each(function () { + if (!$.data(this, "ionRangeSlider")) { + $.data( + this, + "ionRangeSlider", + new IonRangeSlider(this, options, plugin_count++) + ); + } + }); + }; - if (!window.requestAnimationFrame) - window.requestAnimationFrame = function(callback, element) { - var currTime = new Date().getTime(); - var timeToCall = Math.max(0, 16 - (currTime - lastTime)); - var id = window.setTimeout(function() { callback(currTime + timeToCall); }, - timeToCall); - lastTime = currTime + timeToCall; - return id; - }; + // ================================================================================================================= + // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ + // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating - if (!window.cancelAnimationFrame) - window.cancelAnimationFrame = function(id) { - clearTimeout(id); - }; - }()); + // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel -})); + // MIT license + (function () { + var lastTime = 0; + var vendors = ["ms", "moz", "webkit", "o"]; + for (var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { + window.requestAnimationFrame = + window[vendors[x] + "RequestAnimationFrame"]; + window.cancelAnimationFrame = + window[vendors[x] + "CancelAnimationFrame"] || + window[vendors[x] + "CancelRequestAnimationFrame"]; + } + if (!window.requestAnimationFrame) + window.requestAnimationFrame = function (callback, element) { + var currTime = new Date().getTime(); + var timeToCall = Math.max(0, 16 - (currTime - lastTime)); + var id = window.setTimeout(function () { + callback(currTime + timeToCall); + }, timeToCall); + lastTime = currTime + timeToCall; + return id; + }; + + if (!window.cancelAnimationFrame) + window.cancelAnimationFrame = function (id) { + clearTimeout(id); + }; + })(); +}); // Trigger $(function () { - -var $range = $(".js-range-slider"), + var $range = $(".js-range-slider"), $inputFrom = $(".js-input-from"), $inputTo = $(".js-input-to"), instance, @@ -2382,62 +2696,59 @@ var $range = $(".js-range-slider"), from = 10, to = 100; -$range.ionRangeSlider({ + $range.ionRangeSlider({ type: "double", min: min, max: max, from: 0, to: 500, - prefix: 'tk. ', + prefix: "tk. ", onStart: updateInputs, onChange: updateInputs, step: 1, prettify_enabled: true, prettify_separator: ".", - values_separator: " - ", - force_edges: true - - -}); + values_separator: " - ", + force_edges: true, + }); -instance = $range.data("ionRangeSlider"); + instance = $range.data("ionRangeSlider"); -function updateInputs (data) { + function updateInputs(data) { from = data.from; to = data.to; - + $inputFrom.prop("value", from); - $inputTo.prop("value", to); -} + $inputTo.prop("value", to); + } -$inputFrom.on("input", function () { + $inputFrom.on("input", function () { var val = $(this).prop("value"); - + // validate if (val < min) { - val = min; + val = min; } else if (val > to) { - val = to; + val = to; } - + instance.update({ - from: val + from: val, }); -}); + }); -$inputTo.on("input", function () { + $inputTo.on("input", function () { var val = $(this).prop("value"); - + // validate if (val < from) { - val = from; + val = from; } else if (val > max) { - val = max; + val = max; } - + instance.update({ - to: val + to: val, }); + }); }); - - }); \ No newline at end of file diff --git a/SUBMISSION/IGNORAMUS/assets/js/slick.min.js b/SUBMISSION/IGNORAMUS/assets/js/slick.min.js index 42172c2..bd0bcaf 100644 --- a/SUBMISSION/IGNORAMUS/assets/js/slick.min.js +++ b/SUBMISSION/IGNORAMUS/assets/js/slick.min.js @@ -1 +1,1940 @@ -!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(t),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('', + nextArrow: + '', + autoplay: !1, + autoplaySpeed: 3e3, + centerMode: !1, + centerPadding: "50px", + cssEase: "ease", + customPaging: function (e, t) { + return i('
        a",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName("tbody").length,l.htmlSerialize=!!a.getElementsByTagName("link").length,l.html5Clone="<:nav>"!==d.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML="",l.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,b.appendChild(a),c=d.createElement("input"),c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),a.appendChild(c),l.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!!a.addEventListener,a[n.expando]=1,l.attributes=!a.getAttribute(n.expando)}();var da={option:[1,""],legend:[1,"
        ","
        "],area:[1,"",""],param:[1,"",""],thead:[1,"","
        "],tr:[2,"","
        "],col:[2,"","
        "],td:[3,"","
        "],_default:l.htmlSerialize?[0,"",""]:[1,"X
        ","
        "]};da.optgroup=da.option,da.tbody=da.tfoot=da.colgroup=da.caption=da.thead,da.th=da.td;function ea(a,b){var c,d,e=0,f="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,ea(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function fa(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}var ga=/<|&#?\w+;/,ha=/r;r++)if(g=a[r],g||0===g)if("object"===n.type(g))n.merge(q,g.nodeType?[g]:g);else if(ga.test(g)){i=i||p.appendChild(b.createElement("div")),j=($.exec(g)||["",""])[1].toLowerCase(),m=da[j]||da._default,i.innerHTML=m[1]+n.htmlPrefilter(g)+m[2],f=m[0];while(f--)i=i.lastChild;if(!l.leadingWhitespace&&aa.test(g)&&q.push(b.createTextNode(aa.exec(g)[0])),!l.tbody){g="table"!==j||ha.test(g)?""!==m[1]||ha.test(g)?0:i:i.firstChild,f=g&&g.childNodes.length;while(f--)n.nodeName(k=g.childNodes[f],"tbody")&&!k.childNodes.length&&g.removeChild(k)}n.merge(q,i.childNodes),i.textContent="";while(i.firstChild)i.removeChild(i.firstChild);i=p.lastChild}else q.push(b.createTextNode(g));i&&p.removeChild(i),l.appendChecked||n.grep(ea(q,"input"),ia),r=0;while(g=q[r++])if(d&&n.inArray(g,d)>-1)e&&e.push(g);else if(h=n.contains(g.ownerDocument,g),i=ea(p.appendChild(g),"script"),h&&fa(i),c){f=0;while(g=i[f++])_.test(g.type||"")&&c.push(g)}return i=null,p}!function(){var b,c,e=d.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b]=c in a)||(e.setAttribute(c,"t"),l[b]=e.attributes[c].expando===!1);e=null}();var ka=/^(?:input|select|textarea)$/i,la=/^key/,ma=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,na=/^(?:focusinfocus|focusoutblur)$/,oa=/^([^.]*)(?:\.(.+)|)/;function pa(){return!0}function qa(){return!1}function ra(){try{return d.activeElement}catch(a){}}function sa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)sa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=qa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return"undefined"==typeof n||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(G)||[""],h=b.length;while(h--)f=oa.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=oa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(i=m=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!na.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),h=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),l=n.event.special[q]||{},f||!l.trigger||l.trigger.apply(e,c)!==!1)){if(!f&&!l.noBubble&&!n.isWindow(e)){for(j=l.delegateType||q,na.test(j+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),m=i;m===(e.ownerDocument||d)&&p.push(m.defaultView||m.parentWindow||a)}o=0;while((i=p[o++])&&!b.isPropagationStopped())b.type=o>1?j:l.bindType||q,g=(n._data(i,"events")||{})[b.type]&&n._data(i,"handle"),g&&g.apply(i,c),g=h&&i[h],g&&g.apply&&M(i)&&(b.result=g.apply(i,c),b.result===!1&&b.preventDefault());if(b.type=q,!f&&!b.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),c)===!1)&&M(e)&&h&&e[q]&&!n.isWindow(e)){m=e[h],m&&(e[h]=null),n.event.triggered=q;try{e[q]()}catch(s){}n.event.triggered=void 0,m&&(e[h]=m)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]","i"),va=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wa=/\s*$/g,Aa=ca(d),Ba=Aa.appendChild(d.createElement("div"));function Ca(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Da(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function Ea(a){var b=ya.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Ga(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(Da(b).text=a.text,Ea(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&Z.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}}function Ha(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&xa.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(o&&(k=ja(b,a[0].ownerDocument,!1,a,d),e=k.firstChild,1===k.childNodes.length&&(k=e),e||d)){for(i=n.map(ea(k,"script"),Da),h=i.length;o>m;m++)g=k,m!==p&&(g=n.clone(g,!0,!0),h&&n.merge(i,ea(g,"script"))),c.call(a[m],g,m);if(h)for(j=i[i.length-1].ownerDocument,n.map(i,Ea),m=0;h>m;m++)g=i[m],_.test(g.type||"")&&!n._data(g,"globalEval")&&n.contains(j,g)&&(g.src?n._evalUrl&&n._evalUrl(g.src):n.globalEval((g.text||g.textContent||g.innerHTML||"").replace(za,"")));k=e=null}return a}function Ia(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(ea(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&fa(ea(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(va,"<$1>")},clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!ua.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Ba.innerHTML=a.outerHTML,Ba.removeChild(f=Ba.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=ea(f),h=ea(a),g=0;null!=(e=h[g]);++g)d[g]&&Ga(e,d[g]);if(b)if(c)for(h=h||ea(a),d=d||ea(f),g=0;null!=(e=h[g]);g++)Fa(e,d[g]);else Fa(a,f);return d=ea(f,"script"),d.length>0&&fa(d,!i&&ea(a,"script")),d=h=e=null,f},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.attributes,m=n.event.special;null!=(d=a[h]);h++)if((b||M(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k||"undefined"==typeof d.removeAttribute?d[i]=void 0:d.removeAttribute(i),c.push(f))}}}),n.fn.extend({domManip:Ha,detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return Y(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||d).createTextNode(a))},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(ea(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return Y(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(ta,""):void 0;if("string"==typeof a&&!wa.test(a)&&(l.htmlSerialize||!ua.test(a))&&(l.leadingWhitespace||!aa.test(a))&&!da[($.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ea(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ha(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(ea(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],f=n(a),h=f.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(f[d])[b](c),g.apply(e,c.get());return this.pushStack(e)}});var Ja,Ka={HTML:"block",BODY:"block"};function La(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function Ma(a){var b=d,c=Ka[a];return c||(c=La(a,b),"none"!==c&&c||(Ja=(Ja||n("