|
|
Line 1: |
Line 1: |
− | <HTML> | + | <!DOCTYPE html> |
− | <head>
| + | |
− | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
| + | |
− | <meta content="IE=edge" http-equiv="X-UA-Compatible">
| + | |
− | <style>
| + | |
− | <!--
| + | |
− | #sideMenu,
| + | |
− | #top_title{
| + | |
− | display: none;
| + | |
− | }
| + | |
− | #content{
| + | |
− | width: 100%;
| + | |
− | margin: 0px;
| + | |
− | padding:0;
| + | |
− | }
| + | |
− | body{
| + | |
− | background-color:white;
| + | |
− | }
| + | |
| <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | | <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> |
| <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | | <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> |
| <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | | <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> |
| <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | | <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> |
| + | <head> |
| <meta charset="utf-8"> | | <meta charset="utf-8"> |
| <title>Team:NKU-CHINA Interlab</title> | | <title>Team:NKU-CHINA Interlab</title> |
| <meta name="description" content=""> | | <meta name="description" content=""> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | | <meta name="viewport" content="width=device-width, initial-scale=1"> |
− |
| + | <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800' rel='stylesheet' type='text/css'> |
| + | |
| + | <link rel="stylesheet" href="css/bootstrap.min.css"> |
| + | <link rel="stylesheet" href="css/font-awesome.css"> |
| + | <link rel="stylesheet" href="css/animate.css"> |
| + | <link rel="stylesheet" href="css/templatemo_misc.css"> |
| + | <link rel="stylesheet" href="css/templatemo_style.css"> |
| + | <link rel="stylesheet" href="css/owl-carousel.css"> |
| <style type="text/css"> | | <style type="text/css"> |
− |
| |
− | /*!
| |
− | * Bootstrap v3.1.1 (http://getbootstrap.com)
| |
− | * Copyright 2011-2014 Twitter, Inc.
| |
− | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
| |
− | */
| |
− |
| |
− | /*! normalize.css v3.0.0 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}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}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}@media print{*{text-shadow:none!important;color:#000!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:before,:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvhttps://2018.igem.org/Team:NKU_CHINA/interlab#blogetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive,.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:400;line-height:1;color:#999}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-muted{color:#999}.text-primary{color:#428bca}a.text-primary:hover{color:#3071a9}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#428bca}a.bg-primary:hover{background-color:#3071a9}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.42857143;color:#999}blockquote footer:before,blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}.blockquote-reverse footer:before,blockquote.pull-right footer:before,.blockquote-reverse small:before,blockquote.pull-right small:before,.blockquote-reverse .small:before,blockquote.pull-right .small:before{content:''}.blockquote-reverse footer:after,blockquote.pull-right footer:after,.blockquote-reverse small:after,blockquote.pull-right small:after,.blockquote-reverse .small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;white-space:nowrap;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:0}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:0}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=radio],input[type=checkbox]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=radio]:focus,input[type=checkbox]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}input[type=date]{line-height:34px}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;margin-top:10px;margin-bottom:10px;padding-left:20px}.radio label,.checkbox label{display:inline;font-weight:400;cursor:pointer}.radio input[type=radio],.radio-inline input[type=radio],.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type=radio][disabled],input[type=checkbox][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type=radio],fieldset[disabled] input[type=checkbox],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm,select[multiple].input-sm{height:auto}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:46px;line-height:46px}textarea.input-lg,select[multiple].input-lg{height:auto}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.has-feedback .form-control-feedback{position:absolute;top:25px;right:0;display:block;width:34px;height:34px;line-height:34px;text-align:center}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.has-success .form-control-feedback{color:#3c763d}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.has-error .form-control-feedback{color:#a94442}.form-control-static{margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0;vertical-align:middle}.form-inline .radio input[type=radio],.form-inline .checkbox input[type=checkbox]{float:none;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.form-horizontal .has-feedback .form-control-feedback{top:0;right:15px}.btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn:active:focus,.btn.active:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-primary .badge{color:#428bca;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{color:#428bca;font-weight:400;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm,.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs,.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#262626;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#428bca}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#999}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-bottom-left-radius:4px;border-top-right-radius:0;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}[data-toggle=buttons]>.btn>input[type=radio],[data-toggle=buttons]>.btn>input[type=checkbox]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn,select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn,select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=radio],.input-group-addon input[type=checkbox]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{max-height:340px;overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-left:0;padding-right:0}}.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px;height:50px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{margin-left:-15px;margin-right:-15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);margin-top:8px;margin-bottom:8px}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0;vertical-align:middle}.navbar-form .radio input[type=radio],.navbar-form .checkbox input[type=checkbox]{float:none;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:#e7e7e7;color:#555}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:#080808;color:#fff}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#ccc}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;line-height:1.42857143;text-decoration:none;color:#428bca;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{color:#2a6496;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;background-color:#fff;border-color:#ddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:20px 0;list-style:none;text-align:center}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;background-color:#fff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:gray}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;color:#fff;line-height:1;vertical-align:baseline;white-space:nowrap;text-align:center;background-color:#999;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron h1,.jumbotron .h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.container .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-left:60px;padding-right:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-left:auto;margin-right:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}a.list-group-item.active .list-group-item-heading,a.list-group-item.active:hover .list-group-item-heading,a.list-group-item.active:focus .list-group-item-heading{color:inherit}a.list-group-item.active .list-group-item-text,a.list-group-item.active:hover .list-group-item-text,a.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,a.list-group-item-success:focus{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:hover,a.list-group-item-success.active:focus{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,a.list-group-item-info:focus{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:hover,a.list-group-item-info.active:focus{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,a.list-group-item-warning:focus{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,a.list-group-item-danger:focus{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:3px;border-top-left-radius:3px}.panel>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px;overflow:hidden}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:auto;overflow-y:scroll;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5;min-height:16.42857143px}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:20px}.modal-footer{margin-top:15px;padding:19px 20px 20px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1030;display:block;visibility:visible;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;right:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);white-space:normal}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,.25);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,.25)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px}.carousel{position:relative}.carousel-inner{position:relative;overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:15%;opacity:.5;filter:alpha(opacity=50);font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.carousel-control.right{left:auto;right:0;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.carousel-control:hover,.carousel-control:focus{outline:0;color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid #fff;border-radius:10px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0)}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#fff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.clearfix:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}}@media print{.hidden-print{display:none!important}}/*!
| |
− | * 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 PATH
| |
− | * -------------------------- */
| |
− | @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;
| |
− | }
| |
− | /* makes the font 33% larger relative to the icon container */
| |
− | .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: .2em .25em .15em;
| |
− | border: solid 0.08em #eeeeee;
| |
− | 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: #ffffff;
| |
− | }
| |
− | /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
| |
− | readers do not read off random characters that represent icons */
| |
− | .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";
| |
− | }
| |
− | /*
| |
− | * Core Owl Carousel CSS File
| |
− | * v1.3.3
| |
− | */
| |
− |
| |
− | /* clearfix */
| |
− | .owl-carousel .owl-wrapper:after {
| |
− | content: ".";
| |
− | display: block;
| |
− | clear: both;
| |
− | visibility: hidden;
| |
− | line-height: 0;
| |
− | height: 0;
| |
− | }
| |
− | /* display none until init */
| |
− | .owl-carousel{
| |
− | display: none;
| |
− | position: relative;
| |
− | width: 100%;
| |
− | -ms-touch-action: pan-y;
| |
− | }
| |
− | .owl-carousel .owl-wrapper{
| |
− | display: none;
| |
− | position: relative;
| |
− | -webkit-transform: translate3d(0px, 0px, 0px);
| |
− | }
| |
− | .owl-carousel .owl-wrapper-outer{
| |
− | overflow: hidden;
| |
− | position: relative;
| |
− | width: 100%;
| |
− | }
| |
− | .owl-carousel .owl-wrapper-outer.autoHeight{
| |
− | -webkit-transition: height 500ms ease-in-out;
| |
− | -moz-transition: height 500ms ease-in-out;
| |
− | -ms-transition: height 500ms ease-in-out;
| |
− | -o-transition: height 500ms ease-in-out;
| |
− | transition: height 500ms ease-in-out;
| |
− | }
| |
− |
| |
− | .owl-carousel .owl-item{
| |
− | float: left;
| |
− | }
| |
− |
| |
− | .owl-controls {
| |
− | @media (max-width: @screen-sm-max) {
| |
− | top: -120px;
| |
− | }
| |
− | top: -200px;
| |
− | width: 100%;
| |
− | text-align: center;
| |
− | display: inline-block;
| |
− | }
| |
− |
| |
− | .owl-controls a {
| |
− | color: #336699;
| |
− | }
| |
− |
| |
− | .owl-controls a:hover {
| |
− | color: #336699;
| |
− | }
| |
− |
| |
− | .owl-controls .bg-prev {
| |
− | position: absolute;
| |
− | z-index: 1;
| |
− | width: 50px;
| |
− | height: 50px;
| |
− | z-index:10;
| |
− | background:#fff;
| |
− | border: 1px solid #336699;
| |
− | -webkit-transform: rotate(45deg);
| |
− | -moz-transform: rotate(45deg);
| |
− | -ms-transform: rotate(45deg);
| |
− | -o-transform: rotate(45deg);
| |
− | transform: rotate(45deg);
| |
− | }
| |
− |
| |
− | .owl-controls .bg-prev:before{
| |
− | content:"";
| |
− | display:block;
| |
− | position:absolute;
| |
− | z-index:-1;
| |
− | top:3px;
| |
− | left:3px;
| |
− | right:3px;
| |
− | bottom:3px;
| |
− | border:2px solid #336699
| |
− | }
| |
− |
| |
− | .owl-controls .prev {
| |
− | left: 15px;
| |
− | z-index: 11;
| |
− | position: absolute;
| |
− | width: 50px;
| |
− | height: 50px;
| |
− | line-height: 32px;
| |
− | }
| |
− |
| |
− | .owl-controls .prev.active {
| |
− | background-image: none;
| |
− | outline: 0;
| |
− | -webkit-box-shadow: none;
| |
− | box-shadow: none;
| |
− | }
| |
− |
| |
− | .owl-controls .prev:active {
| |
− | background-image: none;
| |
− | outline: 0;
| |
− | -webkit-box-shadow: none;
| |
− | box-shadow: none;
| |
− | }
| |
− |
| |
− | .owl-controls .bg-next {
| |
− | position: absolute;
| |
− | float: right;
| |
− | z-index: 1;
| |
− | width: 50px;
| |
− | height: 50px;
| |
− | position:relative;
| |
− | z-index:10;
| |
− | background:#fff;
| |
− | border: 1px solid #336699;
| |
− | -webkit-transform: rotate(45deg);
| |
− | -moz-transform: rotate(45deg);
| |
− | -ms-transform: rotate(45deg);
| |
− | -o-transform: rotate(45deg);
| |
− | transform: rotate(45deg);
| |
− | }
| |
− |
| |
− | .owl-controls .bg-next:before{
| |
− | content:"";
| |
− | display:block;
| |
− | position:absolute;
| |
− | z-index:-1;
| |
− | top:3px;
| |
− | left:3px;
| |
− | right:3px;
| |
− | bottom:3px;
| |
− | border:2px solid #336699
| |
− | }
| |
− |
| |
− | .owl-controls .next {
| |
− | right: 15px;
| |
− | z-index: 11;
| |
− | position: absolute;
| |
− | width: 50px;
| |
− | height: 50px;
| |
− | line-height: 32px;
| |
− | }
| |
− |
| |
− | .owl-controls .next.active {
| |
− | background-image: none;
| |
− | outline: 0;
| |
− | -webkit-box-shadow: none;
| |
− | box-shadow: none;
| |
− | }
| |
− |
| |
− | .owl-controls .next:active {
| |
− | background-image: none;
| |
− | outline: 0;
| |
− | -webkit-box-shadow: none;
| |
− | box-shadow: none;
| |
− | }
| |
− |
| |
− |
| |
− | .owl-theme .owl-controls .owl-page{
| |
− | cursor: pointer;
| |
− | display: inline-block;
| |
− | zoom: 1;
| |
− | *display: inline;/*IE7 life-saver */
| |
− | }
| |
− | .owl-theme .owl-controls .owl-page a{
| |
− | display: block;
| |
− | width: 12px;
| |
− | height: 12px;
| |
− | margin: 0px 5px;
| |
− | filter: Alpha(Opacity=50);/*IE7 fix*/
| |
− | opacity: 0.5;
| |
− | -webkit-border-radius: 20px;
| |
− | -moz-border-radius: 20px;
| |
− | border-radius: 20px;
| |
− | background: transparent;
| |
− | border: 2px solid #888;
| |
− | }
| |
− |
| |
− | .owl-theme .owl-controls .owl-page.active span,
| |
− | .owl-theme .owl-controls.clickable .owl-page:hover span{
| |
− | filter: Alpha(Opacity=100);/*IE7 fix*/
| |
− | opacity: 1;
| |
− | display: inline-block;
| |
− | }
| |
− | .owl-controls {
| |
− | -webkit-user-select: none;
| |
− | -khtml-user-select: none;
| |
− | -moz-user-select: none;
| |
− | -ms-user-select: none;
| |
− | user-select: none;
| |
− | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
| |
− | }
| |
− |
| |
− | /* fix */
| |
− | .owl-carousel .owl-wrapper,
| |
− | .owl-carousel .owl-item{
| |
− | -webkit-backface-visibility: hidden;
| |
− | -moz-backface-visibility: hidden;
| |
− | -ms-backface-visibility: hidden;
| |
− | -webkit-transform: translate3d(0,0,0);
| |
− | -moz-transform: translate3d(0,0,0);
| |
− | -ms-transform: translate3d(0,0,0);
| |
− | }
| |
− |
| |
− | /*
| |
− | * jQuery FlexSlider v2.2.0
| |
− | * http://www.woothemes.com/flexslider/
| |
− | *
| |
− | * Copyright 2012 WooThemes
| |
− | * Free to use under the GPLv2 license.
| |
− | * http://www.gnu.org/licenses/gpl-2.0.html
| |
− | *
| |
− | * Contributing author: Tyler Smith (@mbmufffin)
| |
− | */
| |
− | /* Browser Resets
| |
− | *********************************/
| |
− | .flex-container a:active,
| |
− | .flexslider a:active,
| |
− | .flex-container a:focus,
| |
− | .flexslider a:focus {
| |
− | outline: none;
| |
− | }
| |
− |
| |
− | .slides,
| |
− | .flex-control-nav,
| |
− | .flex-direction-nav {
| |
− | margin: 0;
| |
− | padding: 0;
| |
− | list-style: none;
| |
− | }
| |
− |
| |
− | /* Icon Fonts
| |
− | *********************************/
| |
− | /* Font-face Icons */
| |
− | @font-face {
| |
− | font-family: 'flexslider-icon';
| |
− | src: url("../fonts/flexslider-icon.eot");
| |
− | src: url("../fonts/flexslider-icon.eot?#iefix") format("embedded-opentype"), url("../fonts/flexslider-icon.woff") format("woff"), url("../fonts/flexslider-icon.ttf") format("truetype"), url("../fonts/flexslider-icon.svg#flexslider-icon") format("svg");
| |
− | font-weight: normal;
| |
− | font-style: normal;
| |
− | }
| |
− | /* FlexSlider Necessary Styles
| |
− | *********************************/
| |
− | .flexslider {
| |
− | margin: 0;
| |
− | padding: 0;
| |
− | }
| |
− |
| |
− | .flexslider .slides > li {
| |
− | display: none;
| |
− | -webkit-backface-visibility: hidden;
| |
− | }
| |
− |
| |
− | /* Hide the slides before the JS is loaded. Avoids image jumping */
| |
− | .flexslider .slides img {
| |
− | width: 100%;
| |
− | display: block;
| |
− | }
| |
− |
| |
− | .flex-pauseplay span {
| |
− | text-transform: capitalize;
| |
− | }
| |
− |
| |
− | /* Clearfix for the .slides element */
| |
− | .slides:after {
| |
− | content: "\0020";
| |
− | display: block;
| |
− | clear: both;
| |
− | visibility: hidden;
| |
− | line-height: 0;
| |
− | height: 0;
| |
− | }
| |
− |
| |
− | html[xmlns] .slides {
| |
− | display: block;
| |
− | }
| |
− |
| |
− | * html .slides {
| |
− | height: 1%;
| |
− | }
| |
− |
| |
− | /* No JavaScript Fallback */
| |
− | /* If you are not using another script, such as Modernizr, make sure you
| |
− | * include js that eliminates this class on page load */
| |
− | .no-js .slides > li:first-child {
| |
− | display: block;
| |
− | }
| |
− |
| |
− | /* FlexSlider Default Theme
| |
− | *********************************/
| |
− | .flexslider {
| |
− | margin: 0 0;
| |
− | background: #eee;
| |
− | position: relative;
| |
− | zoom: 1;
| |
− | }
| |
− |
| |
− | .flex-viewport {
| |
− | max-height: 2000px;
| |
− | -webkit-transition: all 1s ease;
| |
− | -moz-transition: all 1s ease;
| |
− | -o-transition: all 1s ease;
| |
− | transition: all 1s ease;
| |
− | }
| |
− |
| |
− | .loading .flex-viewport {
| |
− | max-height: 300px;
| |
− | }
| |
− |
| |
− | .flexslider .slides {
| |
− | zoom: 1;
| |
− | }
| |
− |
| |
− | .carousel li {
| |
− | margin-right: 5px;
| |
− | }
| |
− |
| |
− | /* Direction Nav */
| |
− | .flex-direction-nav {
| |
− | *height: 0;
| |
− | }
| |
− |
| |
− | .flex-direction-nav a {
| |
− | display: block;
| |
− | width: 40px;
| |
− | height: 40px;
| |
− | margin: -20px 0 0;
| |
− | position: absolute;
| |
− | top: 50%;
| |
− | z-index: 10;
| |
− | overflow: hidden;
| |
− | opacity: 0;
| |
− | cursor: pointer;
| |
− | color: rgba(0, 0, 0, 0.8);
| |
− | text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
| |
− | -webkit-transition: all .3s ease;
| |
− | -moz-transition: all .3s ease;
| |
− | transition: all .3s ease;
| |
− | }
| |
− |
| |
− | .flex-direction-nav .flex-prev {
| |
− | left: -50px;
| |
− | }
| |
− |
| |
− | .flex-direction-nav .flex-next {
| |
− | right: -50px;
| |
− | text-align: right;
| |
− | }
| |
− |
| |
− | .flexslider:hover .flex-prev {
| |
− | opacity: 0.7;
| |
− | left: 10px;
| |
− | }
| |
− |
| |
− | .flexslider:hover .flex-next {
| |
− | opacity: 0.7;
| |
− | right: 10px;
| |
− | }
| |
− |
| |
− | .flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | .flex-direction-nav .flex-disabled {
| |
− | opacity: 0 !important;
| |
− | filter: alpha(opacity=0);
| |
− | cursor: default;
| |
− | }
| |
− |
| |
− | .flex-direction-nav a:before {
| |
− | font-family: "flexslider-icon";
| |
− | font-size: 40px;
| |
− | display: inline-block;
| |
− | content: '\f001';
| |
− | }
| |
− |
| |
− | .flex-direction-nav a.flex-next:before {
| |
− | content: '\f002';
| |
− | }
| |
− |
| |
− | /* Pause/Play */
| |
− | .flex-pauseplay a {
| |
− | display: block;
| |
− | width: 20px;
| |
− | height: 20px;
| |
− | position: absolute;
| |
− | bottom: 5px;
| |
− | left: 10px;
| |
− | opacity: 0.8;
| |
− | z-index: 10;
| |
− | overflow: hidden;
| |
− | cursor: pointer;
| |
− | color: #000;
| |
− | }
| |
− |
| |
− | .flex-pauseplay a:before {
| |
− | font-family: "flexslider-icon";
| |
− | font-size: 20px;
| |
− | display: inline-block;
| |
− | content: '\f004';
| |
− | }
| |
− |
| |
− | .flex-pauseplay a:hover {
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | .flex-pauseplay a.flex-play:before {
| |
− | content: '\f003';
| |
− | }
| |
− |
| |
− | /* Control Nav */
| |
− | .flex-control-nav {
| |
− | width: 100%;
| |
− | position: absolute;
| |
− | bottom: -40px;
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | .flex-control-nav li {
| |
− | margin: 0 6px;
| |
− | display: inline-block;
| |
− | zoom: 1;
| |
− | *display: inline;
| |
− | }
| |
− |
| |
− | .flex-control-paging li a {
| |
− | width: 11px;
| |
− | height: 11px;
| |
− | display: block;
| |
− | background: #666;
| |
− | background: rgba(0, 0, 0, 0.5);
| |
− | cursor: pointer;
| |
− | text-indent: -9999px;
| |
− | -webkit-border-radius: 20px;
| |
− | -moz-border-radius: 20px;
| |
− | -o-border-radius: 20px;
| |
− | border-radius: 20px;
| |
− | -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
| |
− | -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
| |
− | -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
| |
− | box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
| |
− | }
| |
− |
| |
− | .flex-control-paging li a:hover {
| |
− | background: #333;
| |
− | background: rgba(0, 0, 0, 0.7);
| |
− | }
| |
− |
| |
− | .flex-control-paging li a.flex-active {
| |
− | background: #000;
| |
− | background: rgba(0, 0, 0, 0.9);
| |
− | cursor: default;
| |
− | }
| |
− |
| |
− | .flex-control-thumbs {
| |
− | margin: 5px 0 0;
| |
− | position: static;
| |
− | overflow: hidden;
| |
− | }
| |
− |
| |
− | .flex-control-thumbs li {
| |
− | width: 25%;
| |
− | float: left;
| |
− | margin: 0;
| |
− | }
| |
− |
| |
− | .flex-control-thumbs img {
| |
− | width: 100%;
| |
− | display: block;
| |
− | opacity: .7;
| |
− | cursor: pointer;
| |
− | }
| |
− |
| |
− | .flex-control-thumbs img:hover {
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | .flex-control-thumbs .flex-active {
| |
− | opacity: 1;
| |
− | cursor: default;
| |
− | }
| |
− |
| |
− | @media screen and (max-width: 860px) {
| |
− | .flex-direction-nav .flex-prev {
| |
− | opacity: 1;
| |
− | left: 10px;
| |
− | }
| |
− |
| |
− | .flex-direction-nav .flex-next {
| |
− | opacity: 1;
| |
− | right: 10px;
| |
− | }
| |
− | }
| |
− | #lightbox {
| |
− | cursor: pointer;
| |
− | position: fixed;
| |
− | width: 100%;
| |
− | height: 100%;
| |
− | top: 0;
| |
− | left: 0;
| |
− | background: black;
| |
− | /* IE Fallback (Solid Colour) */
| |
− | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIElEQVQ4T2NkYGDYDMRkA8ZRAxhGw4BhNAyA+WAYpAMAIFgLQfO9BoEAAAAASUVORK5CYII=);
| |
− | background: rgba(0, 0, 0, 0.7);
| |
− | -webkit-filter: none !important;
| |
− | }
| |
− |
| |
− | #lightbox img {
| |
− | display: block;
| |
− | position: absolute;
| |
− | border: 5px solid #fff;
| |
− | box-shadow: 0 0 20px #000;
| |
− | border-radius: 1px;
| |
− | }
| |
− |
| |
− | body.blurred > * {
| |
− | -webkit-filter: blur(2px);
| |
− | -webkit-transform: translate3d(0, 0, 0);
| |
− | }
| |
− |
| |
− | .lightbox-loading {
| |
− | background: url(../images/loading.gif) center center no-repeat;
| |
− | width: 31px;
| |
− | height: 31px;
| |
− | margin: -16px 0 0 -16px;
| |
− | position: absolute;
| |
− | top: 48%;
| |
− | left: 50%;
| |
− | }
| |
− |
| |
− | .lightbox-caption {
| |
− | display: none;
| |
− | position: absolute;
| |
− | left: 0;
| |
− | bottom: 0;
| |
− | width: 100%;
| |
− | text-align: center;
| |
− | z-index: 1000;
| |
− | background: #000;
| |
− | background: rgba(0, 0, 0, 0.7);
| |
− | }
| |
− |
| |
− | .lightbox-caption p {
| |
− | margin: 0 auto;
| |
− | max-width: 70%;
| |
− | display: inline-block;
| |
− | *display: inline;
| |
− | *zoom: 1;
| |
− | padding: 10px;
| |
− | color: #fff;
| |
− | font-size: 12px;
| |
− | line-height: 18px;
| |
− | }
| |
− |
| |
− | .lightbox-button {
| |
− | position: absolute;
| |
− | z-index: 9999;
| |
− | background: no-repeat center center;
| |
− | width: 32px;
| |
− | height: 32px;
| |
− | opacity: 0.4;
| |
− | -webkit-transition: all 0.3s;
| |
− | -moz-transition: all 0.3s;
| |
− | -ms-transition: all 0.3s;
| |
− | transition: all 0.3s;
| |
− | }
| |
− |
| |
− | .lightbox-button:hover,
| |
− | .lightbox-button:focus {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1.4);
| |
− | -moz-transform: scale(1.4);
| |
− | -ms-transform: scale(1.4);
| |
− | transform: scale(1.4);
| |
− | }
| |
− |
| |
− | .lightbox-close {
| |
− | right: 10px;
| |
− | top: 10px;
| |
− | background-image: url("../images/close.png");
| |
− | }
| |
− |
| |
− | .lightbox-next {
| |
− | right: 10px;
| |
− | top: 48%;
| |
− | background-image: url("../images/next.png");
| |
− | }
| |
− |
| |
− | .lightbox-previous {
| |
− | left: 10px;
| |
− | top: 48%;
| |
− | background-image: url("../images/previous.png");
| |
− | }
| |
− | @charset "UTF-8";
| |
− |
| |
− | /*!
| |
− | Animate.css - http://daneden.me/animate
| |
− | Licensed under the MIT license
| |
− |
| |
− | Copyright (c) 2013 Daniel Eden
| |
− |
| |
− | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
| |
− |
| |
− | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
| |
− |
| |
− | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| |
− | */
| |
− |
| |
− | .animated {
| |
− | -webkit-animation-duration: 1s;
| |
− | animation-duration: 1s;
| |
− | -webkit-animation-fill-mode: both;
| |
− | animation-fill-mode: both;
| |
− | }
| |
− |
| |
− | .animated.infinite {
| |
− | -webkit-animation-iteration-count: infinite;
| |
− | animation-iteration-count: infinite;
| |
− | }
| |
− |
| |
− | .animated.hinge {
| |
− | -webkit-animation-duration: 2s;
| |
− | animation-duration: 2s;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounce {
| |
− | 0%, 20%, 50%, 80%, 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: translateY(-30px);
| |
− | transform: translateY(-30px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: translateY(-15px);
| |
− | transform: translateY(-15px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounce {
| |
− | 0%, 20%, 50%, 80%, 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: translateY(-30px);
| |
− | -ms-transform: translateY(-30px);
| |
− | transform: translateY(-30px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: translateY(-15px);
| |
− | -ms-transform: translateY(-15px);
| |
− | transform: translateY(-15px);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounce {
| |
− | -webkit-animation-name: bounce;
| |
− | animation-name: bounce;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes flash {
| |
− | 0%, 50%, 100% {
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 25%, 75% {
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes flash {
| |
− | 0%, 50%, 100% {
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 25%, 75% {
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .flash {
| |
− | -webkit-animation-name: flash;
| |
− | animation-name: flash;
| |
− | }
| |
− |
| |
− | /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
| |
− |
| |
− | @-webkit-keyframes pulse {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 50% {
| |
− | -webkit-transform: scale(1.1);
| |
− | transform: scale(1.1);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes pulse {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 50% {
| |
− | -webkit-transform: scale(1.1);
| |
− | -ms-transform: scale(1.1);
| |
− | transform: scale(1.1);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | }
| |
− |
| |
− | .pulse {
| |
− | -webkit-animation-name: pulse;
| |
− | animation-name: pulse;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rubberBand {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 30% {
| |
− | -webkit-transform: scaleX(1.25) scaleY(0.75);
| |
− | transform: scaleX(1.25) scaleY(0.75);
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: scaleX(0.75) scaleY(1.25);
| |
− | transform: scaleX(0.75) scaleY(1.25);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: scaleX(1.15) scaleY(0.85);
| |
− | transform: scaleX(1.15) scaleY(0.85);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rubberBand {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 30% {
| |
− | -webkit-transform: scaleX(1.25) scaleY(0.75);
| |
− | -ms-transform: scaleX(1.25) scaleY(0.75);
| |
− | transform: scaleX(1.25) scaleY(0.75);
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: scaleX(0.75) scaleY(1.25);
| |
− | -ms-transform: scaleX(0.75) scaleY(1.25);
| |
− | transform: scaleX(0.75) scaleY(1.25);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: scaleX(1.15) scaleY(0.85);
| |
− | -ms-transform: scaleX(1.15) scaleY(0.85);
| |
− | transform: scaleX(1.15) scaleY(0.85);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | }
| |
− |
| |
− | .rubberBand {
| |
− | -webkit-animation-name: rubberBand;
| |
− | animation-name: rubberBand;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes shake {
| |
− | 0%, 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 10%, 30%, 50%, 70%, 90% {
| |
− | -webkit-transform: translateX(-10px);
| |
− | transform: translateX(-10px);
| |
− | }
| |
− |
| |
− | 20%, 40%, 60%, 80% {
| |
− | -webkit-transform: translateX(10px);
| |
− | transform: translateX(10px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes shake {
| |
− | 0%, 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 10%, 30%, 50%, 70%, 90% {
| |
− | -webkit-transform: translateX(-10px);
| |
− | -ms-transform: translateX(-10px);
| |
− | transform: translateX(-10px);
| |
− | }
| |
− |
| |
− | 20%, 40%, 60%, 80% {
| |
− | -webkit-transform: translateX(10px);
| |
− | -ms-transform: translateX(10px);
| |
− | transform: translateX(10px);
| |
− | }
| |
− | }
| |
− |
| |
− | .shake {
| |
− | -webkit-animation-name: shake;
| |
− | animation-name: shake;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes swing {
| |
− | 20% {
| |
− | -webkit-transform: rotate(15deg);
| |
− | transform: rotate(15deg);
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: rotate(-10deg);
| |
− | transform: rotate(-10deg);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: rotate(5deg);
| |
− | transform: rotate(5deg);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: rotate(-5deg);
| |
− | transform: rotate(-5deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: rotate(0deg);
| |
− | transform: rotate(0deg);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes swing {
| |
− | 20% {
| |
− | -webkit-transform: rotate(15deg);
| |
− | -ms-transform: rotate(15deg);
| |
− | transform: rotate(15deg);
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: rotate(-10deg);
| |
− | -ms-transform: rotate(-10deg);
| |
− | transform: rotate(-10deg);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: rotate(5deg);
| |
− | -ms-transform: rotate(5deg);
| |
− | transform: rotate(5deg);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: rotate(-5deg);
| |
− | -ms-transform: rotate(-5deg);
| |
− | transform: rotate(-5deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: rotate(0deg);
| |
− | -ms-transform: rotate(0deg);
| |
− | transform: rotate(0deg);
| |
− | }
| |
− | }
| |
− |
| |
− | .swing {
| |
− | -webkit-transform-origin: top center;
| |
− | -ms-transform-origin: top center;
| |
− | transform-origin: top center;
| |
− | -webkit-animation-name: swing;
| |
− | animation-name: swing;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes tada {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 10%, 20% {
| |
− | -webkit-transform: scale(0.9) rotate(-3deg);
| |
− | transform: scale(0.9) rotate(-3deg);
| |
− | }
| |
− |
| |
− | 30%, 50%, 70%, 90% {
| |
− | -webkit-transform: scale(1.1) rotate(3deg);
| |
− | transform: scale(1.1) rotate(3deg);
| |
− | }
| |
− |
| |
− | 40%, 60%, 80% {
| |
− | -webkit-transform: scale(1.1) rotate(-3deg);
| |
− | transform: scale(1.1) rotate(-3deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1) rotate(0);
| |
− | transform: scale(1) rotate(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes tada {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 10%, 20% {
| |
− | -webkit-transform: scale(0.9) rotate(-3deg);
| |
− | -ms-transform: scale(0.9) rotate(-3deg);
| |
− | transform: scale(0.9) rotate(-3deg);
| |
− | }
| |
− |
| |
− | 30%, 50%, 70%, 90% {
| |
− | -webkit-transform: scale(1.1) rotate(3deg);
| |
− | -ms-transform: scale(1.1) rotate(3deg);
| |
− | transform: scale(1.1) rotate(3deg);
| |
− | }
| |
− |
| |
− | 40%, 60%, 80% {
| |
− | -webkit-transform: scale(1.1) rotate(-3deg);
| |
− | -ms-transform: scale(1.1) rotate(-3deg);
| |
− | transform: scale(1.1) rotate(-3deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1) rotate(0);
| |
− | -ms-transform: scale(1) rotate(0);
| |
− | transform: scale(1) rotate(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .tada {
| |
− | -webkit-animation-name: tada;
| |
− | animation-name: tada;
| |
− | }
| |
− |
| |
− | /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
| |
− |
| |
− | @-webkit-keyframes wobble {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0%);
| |
− | transform: translateX(0%);
| |
− | }
| |
− |
| |
− | 15% {
| |
− | -webkit-transform: translateX(-25%) rotate(-5deg);
| |
− | transform: translateX(-25%) rotate(-5deg);
| |
− | }
| |
− |
| |
− | 30% {
| |
− | -webkit-transform: translateX(20%) rotate(3deg);
| |
− | transform: translateX(20%) rotate(3deg);
| |
− | }
| |
− |
| |
− | 45% {
| |
− | -webkit-transform: translateX(-15%) rotate(-3deg);
| |
− | transform: translateX(-15%) rotate(-3deg);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: translateX(10%) rotate(2deg);
| |
− | transform: translateX(10%) rotate(2deg);
| |
− | }
| |
− |
| |
− | 75% {
| |
− | -webkit-transform: translateX(-5%) rotate(-1deg);
| |
− | transform: translateX(-5%) rotate(-1deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0%);
| |
− | transform: translateX(0%);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes wobble {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0%);
| |
− | -ms-transform: translateX(0%);
| |
− | transform: translateX(0%);
| |
− | }
| |
− |
| |
− | 15% {
| |
− | -webkit-transform: translateX(-25%) rotate(-5deg);
| |
− | -ms-transform: translateX(-25%) rotate(-5deg);
| |
− | transform: translateX(-25%) rotate(-5deg);
| |
− | }
| |
− |
| |
− | 30% {
| |
− | -webkit-transform: translateX(20%) rotate(3deg);
| |
− | -ms-transform: translateX(20%) rotate(3deg);
| |
− | transform: translateX(20%) rotate(3deg);
| |
− | }
| |
− |
| |
− | 45% {
| |
− | -webkit-transform: translateX(-15%) rotate(-3deg);
| |
− | -ms-transform: translateX(-15%) rotate(-3deg);
| |
− | transform: translateX(-15%) rotate(-3deg);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: translateX(10%) rotate(2deg);
| |
− | -ms-transform: translateX(10%) rotate(2deg);
| |
− | transform: translateX(10%) rotate(2deg);
| |
− | }
| |
− |
| |
− | 75% {
| |
− | -webkit-transform: translateX(-5%) rotate(-1deg);
| |
− | -ms-transform: translateX(-5%) rotate(-1deg);
| |
− | transform: translateX(-5%) rotate(-1deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0%);
| |
− | -ms-transform: translateX(0%);
| |
− | transform: translateX(0%);
| |
− | }
| |
− | }
| |
− |
| |
− | .wobble {
| |
− | -webkit-animation-name: wobble;
| |
− | animation-name: wobble;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceIn {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: scale(.3);
| |
− | transform: scale(.3);
| |
− | }
| |
− |
| |
− | 50% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1.05);
| |
− | transform: scale(1.05);
| |
− | }
| |
− |
| |
− | 70% {
| |
− | -webkit-transform: scale(.9);
| |
− | transform: scale(.9);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceIn {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: scale(.3);
| |
− | -ms-transform: scale(.3);
| |
− | transform: scale(.3);
| |
− | }
| |
− |
| |
− | 50% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1.05);
| |
− | -ms-transform: scale(1.05);
| |
− | transform: scale(1.05);
| |
− | }
| |
− |
| |
− | 70% {
| |
− | -webkit-transform: scale(.9);
| |
− | -ms-transform: scale(.9);
| |
− | transform: scale(.9);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceIn {
| |
− | -webkit-animation-name: bounceIn;
| |
− | animation-name: bounceIn;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceInDown {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(30px);
| |
− | transform: translateY(30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateY(-10px);
| |
− | transform: translateY(-10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceInDown {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | -ms-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(30px);
| |
− | -ms-transform: translateY(30px);
| |
− | transform: translateY(30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateY(-10px);
| |
− | -ms-transform: translateY(-10px);
| |
− | transform: translateY(-10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceInDown {
| |
− | -webkit-animation-name: bounceInDown;
| |
− | animation-name: bounceInDown;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceInLeft {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(30px);
| |
− | transform: translateX(30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateX(-10px);
| |
− | transform: translateX(-10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceInLeft {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | -ms-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(30px);
| |
− | -ms-transform: translateX(30px);
| |
− | transform: translateX(30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateX(-10px);
| |
− | -ms-transform: translateX(-10px);
| |
− | transform: translateX(-10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceInLeft {
| |
− | -webkit-animation-name: bounceInLeft;
| |
− | animation-name: bounceInLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceInRight {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(-30px);
| |
− | transform: translateX(-30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateX(10px);
| |
− | transform: translateX(10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceInRight {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | -ms-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(-30px);
| |
− | -ms-transform: translateX(-30px);
| |
− | transform: translateX(-30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateX(10px);
| |
− | -ms-transform: translateX(10px);
| |
− | transform: translateX(10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceInRight {
| |
− | -webkit-animation-name: bounceInRight;
| |
− | animation-name: bounceInRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceInUp {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(-30px);
| |
− | transform: translateY(-30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateY(10px);
| |
− | transform: translateY(10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceInUp {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | -ms-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(-30px);
| |
− | -ms-transform: translateY(-30px);
| |
− | transform: translateY(-30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateY(10px);
| |
− | -ms-transform: translateY(10px);
| |
− | transform: translateY(10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceInUp {
| |
− | -webkit-animation-name: bounceInUp;
| |
− | animation-name: bounceInUp;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceOut {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 25% {
| |
− | -webkit-transform: scale(.95);
| |
− | transform: scale(.95);
| |
− | }
| |
− |
| |
− | 50% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1.1);
| |
− | transform: scale(1.1);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: scale(.3);
| |
− | transform: scale(.3);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceOut {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 25% {
| |
− | -webkit-transform: scale(.95);
| |
− | -ms-transform: scale(.95);
| |
− | transform: scale(.95);
| |
− | }
| |
− |
| |
− | 50% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1.1);
| |
− | -ms-transform: scale(1.1);
| |
− | transform: scale(1.1);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: scale(.3);
| |
− | -ms-transform: scale(.3);
| |
− | transform: scale(.3);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceOut {
| |
− | -webkit-animation-name: bounceOut;
| |
− | animation-name: bounceOut;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceOutDown {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(-20px);
| |
− | transform: translateY(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceOutDown {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(-20px);
| |
− | -ms-transform: translateY(-20px);
| |
− | transform: translateY(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | -ms-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceOutDown {
| |
− | -webkit-animation-name: bounceOutDown;
| |
− | animation-name: bounceOutDown;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceOutLeft {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(20px);
| |
− | transform: translateX(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceOutLeft {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(20px);
| |
− | -ms-transform: translateX(20px);
| |
− | transform: translateX(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | -ms-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceOutLeft {
| |
− | -webkit-animation-name: bounceOutLeft;
| |
− | animation-name: bounceOutLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceOutRight {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(-20px);
| |
− | transform: translateX(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceOutRight {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(-20px);
| |
− | -ms-transform: translateX(-20px);
| |
− | transform: translateX(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | -ms-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceOutRight {
| |
− | -webkit-animation-name: bounceOutRight;
| |
− | animation-name: bounceOutRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceOutUp {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(20px);
| |
− | transform: translateY(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceOutUp {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(20px);
| |
− | -ms-transform: translateY(20px);
| |
− | transform: translateY(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | -ms-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceOutUp {
| |
− | -webkit-animation-name: bounceOutUp;
| |
− | animation-name: bounceOutUp;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeIn {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeIn {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeIn {
| |
− | -webkit-animation-name: fadeIn;
| |
− | animation-name: fadeIn;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInDown {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-20px);
| |
− | transform: translateY(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInDown {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-20px);
| |
− | -ms-transform: translateY(-20px);
| |
− | transform: translateY(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInDown {
| |
− | -webkit-animation-name: fadeInDown;
| |
− | animation-name: fadeInDown;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInDownBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInDownBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | -ms-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInDownBig {
| |
− | -webkit-animation-name: fadeInDownBig;
| |
− | animation-name: fadeInDownBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInLeft {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-20px);
| |
− | transform: translateX(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInLeft {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-20px);
| |
− | -ms-transform: translateX(-20px);
| |
− | transform: translateX(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInLeft {
| |
− | -webkit-animation-name: fadeInLeft;
| |
− | animation-name: fadeInLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInLeftBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInLeftBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | -ms-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInLeftBig {
| |
− | -webkit-animation-name: fadeInLeftBig;
| |
− | animation-name: fadeInLeftBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInRight {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(20px);
| |
− | transform: translateX(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInRight {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(20px);
| |
− | -ms-transform: translateX(20px);
| |
− | transform: translateX(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInRight {
| |
− | -webkit-animation-name: fadeInRight;
| |
− | animation-name: fadeInRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInRightBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInRightBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | -ms-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInRightBig {
| |
− | -webkit-animation-name: fadeInRightBig;
| |
− | animation-name: fadeInRightBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInUp {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(20px);
| |
− | transform: translateY(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInUp {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(20px);
| |
− | -ms-transform: translateY(20px);
| |
− | transform: translateY(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInUp {
| |
− | -webkit-animation-name: fadeInUp;
| |
− | animation-name: fadeInUp;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInUpBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInUpBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | -ms-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInUpBig {
| |
− | -webkit-animation-name: fadeInUpBig;
| |
− | animation-name: fadeInUpBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOut {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOut {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOut {
| |
− | -webkit-animation-name: fadeOut;
| |
− | animation-name: fadeOut;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutDown {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(20px);
| |
− | transform: translateY(20px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutDown {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(20px);
| |
− | -ms-transform: translateY(20px);
| |
− | transform: translateY(20px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutDown {
| |
− | -webkit-animation-name: fadeOutDown;
| |
− | animation-name: fadeOutDown;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutDownBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutDownBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | -ms-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutDownBig {
| |
− | -webkit-animation-name: fadeOutDownBig;
| |
− | animation-name: fadeOutDownBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutLeft {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-20px);
| |
− | transform: translateX(-20px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutLeft {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-20px);
| |
− | -ms-transform: translateX(-20px);
| |
− | transform: translateX(-20px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutLeft {
| |
− | -webkit-animation-name: fadeOutLeft;
| |
− | animation-name: fadeOutLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutLeftBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutLeftBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | -ms-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutLeftBig {
| |
− | -webkit-animation-name: fadeOutLeftBig;
| |
− | animation-name: fadeOutLeftBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutRight {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(20px);
| |
− | transform: translateX(20px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutRight {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(20px);
| |
− | -ms-transform: translateX(20px);
| |
− | transform: translateX(20px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutRight {
| |
− | -webkit-animation-name: fadeOutRight;
| |
− | animation-name: fadeOutRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutRightBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutRightBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | -ms-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutRightBig {
| |
− | -webkit-animation-name: fadeOutRightBig;
| |
− | animation-name: fadeOutRightBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutUp {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-20px);
| |
− | transform: translateY(-20px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutUp {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-20px);
| |
− | -ms-transform: translateY(-20px);
| |
− | transform: translateY(-20px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutUp {
| |
− | -webkit-animation-name: fadeOutUp;
| |
− | animation-name: fadeOutUp;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutUpBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutUpBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | -ms-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutUpBig {
| |
− | -webkit-animation-name: fadeOutUpBig;
| |
− | animation-name: fadeOutUpBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes flip {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
| |
− | transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
| |
− | -webkit-animation-timing-function: ease-out;
| |
− | animation-timing-function: ease-out;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
| |
− | transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
| |
− | -webkit-animation-timing-function: ease-out;
| |
− | animation-timing-function: ease-out;
| |
− | }
| |
− |
| |
− | 50% {
| |
− | -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
| |
− | transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
| |
− | transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
| |
− | transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes flip {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
| |
− | -ms-transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
| |
− | transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
| |
− | -webkit-animation-timing-function: ease-out;
| |
− | animation-timing-function: ease-out;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
| |
− | -ms-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
| |
− | transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
| |
− | -webkit-animation-timing-function: ease-out;
| |
− | animation-timing-function: ease-out;
| |
− | }
| |
− |
| |
− | 50% {
| |
− | -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
| |
− | -ms-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
| |
− | transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
| |
− | -ms-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
| |
− | transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
| |
− | -ms-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
| |
− | transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− | }
| |
− |
| |
− | .animated.flip {
| |
− | -webkit-backface-visibility: visible;
| |
− | -ms-backface-visibility: visible;
| |
− | backface-visibility: visible;
| |
− | -webkit-animation-name: flip;
| |
− | animation-name: flip;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes flipInX {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateX(90deg);
| |
− | transform: perspective(400px) rotateX(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: perspective(400px) rotateX(-10deg);
| |
− | transform: perspective(400px) rotateX(-10deg);
| |
− | }
| |
− |
| |
− | 70% {
| |
− | -webkit-transform: perspective(400px) rotateX(10deg);
| |
− | transform: perspective(400px) rotateX(10deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateX(0deg);
| |
− | transform: perspective(400px) rotateX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes flipInX {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateX(90deg);
| |
− | -ms-transform: perspective(400px) rotateX(90deg);
| |
− | transform: perspective(400px) rotateX(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: perspective(400px) rotateX(-10deg);
| |
− | -ms-transform: perspective(400px) rotateX(-10deg);
| |
− | transform: perspective(400px) rotateX(-10deg);
| |
− | }
| |
− |
| |
− | 70% {
| |
− | -webkit-transform: perspective(400px) rotateX(10deg);
| |
− | -ms-transform: perspective(400px) rotateX(10deg);
| |
− | transform: perspective(400px) rotateX(10deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateX(0deg);
| |
− | -ms-transform: perspective(400px) rotateX(0deg);
| |
− | transform: perspective(400px) rotateX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .flipInX {
| |
− | -webkit-backface-visibility: visible !important;
| |
− | -ms-backface-visibility: visible !important;
| |
− | backface-visibility: visible !important;
| |
− | -webkit-animation-name: flipInX;
| |
− | animation-name: flipInX;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes flipInY {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateY(90deg);
| |
− | transform: perspective(400px) rotateY(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: perspective(400px) rotateY(-10deg);
| |
− | transform: perspective(400px) rotateY(-10deg);
| |
− | }
| |
− |
| |
− | 70% {
| |
− | -webkit-transform: perspective(400px) rotateY(10deg);
| |
− | transform: perspective(400px) rotateY(10deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateY(0deg);
| |
− | transform: perspective(400px) rotateY(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes flipInY {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateY(90deg);
| |
− | -ms-transform: perspective(400px) rotateY(90deg);
| |
− | transform: perspective(400px) rotateY(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: perspective(400px) rotateY(-10deg);
| |
− | -ms-transform: perspective(400px) rotateY(-10deg);
| |
− | transform: perspective(400px) rotateY(-10deg);
| |
− | }
| |
− |
| |
− | 70% {
| |
− | -webkit-transform: perspective(400px) rotateY(10deg);
| |
− | -ms-transform: perspective(400px) rotateY(10deg);
| |
− | transform: perspective(400px) rotateY(10deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateY(0deg);
| |
− | -ms-transform: perspective(400px) rotateY(0deg);
| |
− | transform: perspective(400px) rotateY(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .flipInY {
| |
− | -webkit-backface-visibility: visible !important;
| |
− | -ms-backface-visibility: visible !important;
| |
− | backface-visibility: visible !important;
| |
− | -webkit-animation-name: flipInY;
| |
− | animation-name: flipInY;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes flipOutX {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateX(0deg);
| |
− | transform: perspective(400px) rotateX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateX(90deg);
| |
− | transform: perspective(400px) rotateX(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes flipOutX {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateX(0deg);
| |
− | -ms-transform: perspective(400px) rotateX(0deg);
| |
− | transform: perspective(400px) rotateX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateX(90deg);
| |
− | -ms-transform: perspective(400px) rotateX(90deg);
| |
− | transform: perspective(400px) rotateX(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .flipOutX {
| |
− | -webkit-animation-name: flipOutX;
| |
− | animation-name: flipOutX;
| |
− | -webkit-backface-visibility: visible !important;
| |
− | -ms-backface-visibility: visible !important;
| |
− | backface-visibility: visible !important;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes flipOutY {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateY(0deg);
| |
− | transform: perspective(400px) rotateY(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateY(90deg);
| |
− | transform: perspective(400px) rotateY(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes flipOutY {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateY(0deg);
| |
− | -ms-transform: perspective(400px) rotateY(0deg);
| |
− | transform: perspective(400px) rotateY(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateY(90deg);
| |
− | -ms-transform: perspective(400px) rotateY(90deg);
| |
− | transform: perspective(400px) rotateY(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .flipOutY {
| |
− | -webkit-backface-visibility: visible !important;
| |
− | -ms-backface-visibility: visible !important;
| |
− | backface-visibility: visible !important;
| |
− | -webkit-animation-name: flipOutY;
| |
− | animation-name: flipOutY;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes lightSpeedIn {
| |
− | 0% {
| |
− | -webkit-transform: translateX(100%) skewX(-30deg);
| |
− | transform: translateX(100%) skewX(-30deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: translateX(-20%) skewX(30deg);
| |
− | transform: translateX(-20%) skewX(30deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateX(0%) skewX(-15deg);
| |
− | transform: translateX(0%) skewX(-15deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0%) skewX(0deg);
| |
− | transform: translateX(0%) skewX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes lightSpeedIn {
| |
− | 0% {
| |
− | -webkit-transform: translateX(100%) skewX(-30deg);
| |
− | -ms-transform: translateX(100%) skewX(-30deg);
| |
− | transform: translateX(100%) skewX(-30deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: translateX(-20%) skewX(30deg);
| |
− | -ms-transform: translateX(-20%) skewX(30deg);
| |
− | transform: translateX(-20%) skewX(30deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateX(0%) skewX(-15deg);
| |
− | -ms-transform: translateX(0%) skewX(-15deg);
| |
− | transform: translateX(0%) skewX(-15deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0%) skewX(0deg);
| |
− | -ms-transform: translateX(0%) skewX(0deg);
| |
− | transform: translateX(0%) skewX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .lightSpeedIn {
| |
− | -webkit-animation-name: lightSpeedIn;
| |
− | animation-name: lightSpeedIn;
| |
− | -webkit-animation-timing-function: ease-out;
| |
− | animation-timing-function: ease-out;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes lightSpeedOut {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0%) skewX(0deg);
| |
− | transform: translateX(0%) skewX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(100%) skewX(-30deg);
| |
− | transform: translateX(100%) skewX(-30deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes lightSpeedOut {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0%) skewX(0deg);
| |
− | -ms-transform: translateX(0%) skewX(0deg);
| |
− | transform: translateX(0%) skewX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(100%) skewX(-30deg);
| |
− | -ms-transform: translateX(100%) skewX(-30deg);
| |
− | transform: translateX(100%) skewX(-30deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .lightSpeedOut {
| |
− | -webkit-animation-name: lightSpeedOut;
| |
− | animation-name: lightSpeedOut;
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateIn {
| |
− | 0% {
| |
− | -webkit-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(-200deg);
| |
− | transform: rotate(-200deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateIn {
| |
− | 0% {
| |
− | -webkit-transform-origin: center center;
| |
− | -ms-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(-200deg);
| |
− | -ms-transform: rotate(-200deg);
| |
− | transform: rotate(-200deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: center center;
| |
− | -ms-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateIn {
| |
− | -webkit-animation-name: rotateIn;
| |
− | animation-name: rotateIn;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateInDownLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateInDownLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | -ms-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateInDownLeft {
| |
− | -webkit-animation-name: rotateInDownLeft;
| |
− | animation-name: rotateInDownLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateInDownRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateInDownRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | -ms-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateInDownRight {
| |
− | -webkit-animation-name: rotateInDownRight;
| |
− | animation-name: rotateInDownRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateInUpLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateInUpLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | -ms-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateInUpLeft {
| |
− | -webkit-animation-name: rotateInUpLeft;
| |
− | animation-name: rotateInUpLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateInUpRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateInUpRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | -ms-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateInUpRight {
| |
− | -webkit-animation-name: rotateInUpRight;
| |
− | animation-name: rotateInUpRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateOut {
| |
− | 0% {
| |
− | -webkit-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(200deg);
| |
− | transform: rotate(200deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateOut {
| |
− | 0% {
| |
− | -webkit-transform-origin: center center;
| |
− | -ms-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: center center;
| |
− | -ms-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(200deg);
| |
− | -ms-transform: rotate(200deg);
| |
− | transform: rotate(200deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateOut {
| |
− | -webkit-animation-name: rotateOut;
| |
− | animation-name: rotateOut;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateOutDownLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateOutDownLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | -ms-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateOutDownLeft {
| |
− | -webkit-animation-name: rotateOutDownLeft;
| |
− | animation-name: rotateOutDownLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateOutDownRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateOutDownRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | -ms-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateOutDownRight {
| |
− | -webkit-animation-name: rotateOutDownRight;
| |
− | animation-name: rotateOutDownRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateOutUpLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateOutUpLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | -ms-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateOutUpLeft {
| |
− | -webkit-animation-name: rotateOutUpLeft;
| |
− | animation-name: rotateOutUpLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateOutUpRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateOutUpRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | -ms-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateOutUpRight {
| |
− | -webkit-animation-name: rotateOutUpRight;
| |
− | animation-name: rotateOutUpRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideInDown {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideInDown {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | -ms-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideInDown {
| |
− | -webkit-animation-name: slideInDown;
| |
− | animation-name: slideInDown;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideInLeft {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideInLeft {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | -ms-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideInLeft {
| |
− | -webkit-animation-name: slideInLeft;
| |
− | animation-name: slideInLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideInRight {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideInRight {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | -ms-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideInRight {
| |
− | -webkit-animation-name: slideInRight;
| |
− | animation-name: slideInRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideOutLeft {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideOutLeft {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | -ms-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideOutLeft {
| |
− | -webkit-animation-name: slideOutLeft;
| |
− | animation-name: slideOutLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideOutRight {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideOutRight {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | -ms-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideOutRight {
| |
− | -webkit-animation-name: slideOutRight;
| |
− | animation-name: slideOutRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideOutUp {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideOutUp {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | -ms-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideOutUp {
| |
− | -webkit-animation-name: slideOutUp;
| |
− | animation-name: slideOutUp;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideInUp {
| |
− | 0% {
| |
− | -webkit-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideInUp {
| |
− | 0% {
| |
− | -webkit-transform: translateY(2000px);
| |
− | -ms-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideInUp {
| |
− | -webkit-animation-name: slideInUp;
| |
− | animation-name: slideInUp;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideOutDown {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideOutDown {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | -ms-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideOutDown {
| |
− | -webkit-animation-name: slideOutDown;
| |
− | animation-name: slideOutDown;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes hinge {
| |
− | 0% {
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | -webkit-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | }
| |
− |
| |
− | 20%, 60% {
| |
− | -webkit-transform: rotate(80deg);
| |
− | transform: rotate(80deg);
| |
− | -webkit-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: rotate(60deg);
| |
− | transform: rotate(60deg);
| |
− | -webkit-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: rotate(60deg) translateY(0);
| |
− | transform: rotate(60deg) translateY(0);
| |
− | -webkit-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(700px);
| |
− | transform: translateY(700px);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes hinge {
| |
− | 0% {
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | -webkit-transform-origin: top left;
| |
− | -ms-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | }
| |
− |
| |
− | 20%, 60% {
| |
− | -webkit-transform: rotate(80deg);
| |
− | -ms-transform: rotate(80deg);
| |
− | transform: rotate(80deg);
| |
− | -webkit-transform-origin: top left;
| |
− | -ms-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: rotate(60deg);
| |
− | -ms-transform: rotate(60deg);
| |
− | transform: rotate(60deg);
| |
− | -webkit-transform-origin: top left;
| |
− | -ms-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: rotate(60deg) translateY(0);
| |
− | -ms-transform: rotate(60deg) translateY(0);
| |
− | transform: rotate(60deg) translateY(0);
| |
− | -webkit-transform-origin: top left;
| |
− | -ms-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(700px);
| |
− | -ms-transform: translateY(700px);
| |
− | transform: translateY(700px);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .hinge {
| |
− | -webkit-animation-name: hinge;
| |
− | animation-name: hinge;
| |
− | }
| |
− |
| |
− | /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
| |
− |
| |
− | @-webkit-keyframes rollIn {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-100%) rotate(-120deg);
| |
− | transform: translateX(-100%) rotate(-120deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0px) rotate(0deg);
| |
− | transform: translateX(0px) rotate(0deg);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rollIn {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-100%) rotate(-120deg);
| |
− | -ms-transform: translateX(-100%) rotate(-120deg);
| |
− | transform: translateX(-100%) rotate(-120deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0px) rotate(0deg);
| |
− | -ms-transform: translateX(0px) rotate(0deg);
| |
− | transform: translateX(0px) rotate(0deg);
| |
− | }
| |
− | }
| |
− |
| |
− | .rollIn {
| |
− | -webkit-animation-name: rollIn;
| |
− | animation-name: rollIn;
| |
− | }
| |
− |
| |
− | /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
| |
− |
| |
− | @-webkit-keyframes rollOut {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0px) rotate(0deg);
| |
− | transform: translateX(0px) rotate(0deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(100%) rotate(120deg);
| |
− | transform: translateX(100%) rotate(120deg);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rollOut {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0px) rotate(0deg);
| |
− | -ms-transform: translateX(0px) rotate(0deg);
| |
− | transform: translateX(0px) rotate(0deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(100%) rotate(120deg);
| |
− | -ms-transform: translateX(100%) rotate(120deg);
| |
− | transform: translateX(100%) rotate(120deg);
| |
− | }
| |
− | }
| |
− |
| |
− | .rollOut {
| |
− | -webkit-animation-name: rollOut;
| |
− | animation-name: rollOut;
| |
− | }
| |
− |
| |
− | .animated {
| |
− | -webkit-animation-duration: 1s;
| |
− | animation-duration: 1s;
| |
− | -webkit-animation-fill-mode: both;
| |
− | animation-fill-mode: both;
| |
− | }
| |
− |
| |
− | .animated.infinite {
| |
− | -webkit-animation-iteration-count: infinite;
| |
− | animation-iteration-count: infinite;
| |
− | }
| |
− |
| |
− | .animated.hinge {
| |
− | -webkit-animation-duration: 2s;
| |
− | animation-duration: 2s;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounce {
| |
− | 0%, 20%, 50%, 80%, 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: translateY(-30px);
| |
− | transform: translateY(-30px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: translateY(-15px);
| |
− | transform: translateY(-15px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounce {
| |
− | 0%, 20%, 50%, 80%, 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: translateY(-30px);
| |
− | -ms-transform: translateY(-30px);
| |
− | transform: translateY(-30px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: translateY(-15px);
| |
− | -ms-transform: translateY(-15px);
| |
− | transform: translateY(-15px);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounce {
| |
− | -webkit-animation-name: bounce;
| |
− | animation-name: bounce;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes flash {
| |
− | 0%, 50%, 100% {
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 25%, 75% {
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes flash {
| |
− | 0%, 50%, 100% {
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 25%, 75% {
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .flash {
| |
− | -webkit-animation-name: flash;
| |
− | animation-name: flash;
| |
− | }
| |
− |
| |
− | /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
| |
− |
| |
− | @-webkit-keyframes pulse {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 50% {
| |
− | -webkit-transform: scale(1.1);
| |
− | transform: scale(1.1);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes pulse {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 50% {
| |
− | -webkit-transform: scale(1.1);
| |
− | -ms-transform: scale(1.1);
| |
− | transform: scale(1.1);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | }
| |
− |
| |
− | .pulse {
| |
− | -webkit-animation-name: pulse;
| |
− | animation-name: pulse;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rubberBand {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 30% {
| |
− | -webkit-transform: scaleX(1.25) scaleY(0.75);
| |
− | transform: scaleX(1.25) scaleY(0.75);
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: scaleX(0.75) scaleY(1.25);
| |
− | transform: scaleX(0.75) scaleY(1.25);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: scaleX(1.15) scaleY(0.85);
| |
− | transform: scaleX(1.15) scaleY(0.85);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rubberBand {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 30% {
| |
− | -webkit-transform: scaleX(1.25) scaleY(0.75);
| |
− | -ms-transform: scaleX(1.25) scaleY(0.75);
| |
− | transform: scaleX(1.25) scaleY(0.75);
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: scaleX(0.75) scaleY(1.25);
| |
− | -ms-transform: scaleX(0.75) scaleY(1.25);
| |
− | transform: scaleX(0.75) scaleY(1.25);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: scaleX(1.15) scaleY(0.85);
| |
− | -ms-transform: scaleX(1.15) scaleY(0.85);
| |
− | transform: scaleX(1.15) scaleY(0.85);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | }
| |
− |
| |
− | .rubberBand {
| |
− | -webkit-animation-name: rubberBand;
| |
− | animation-name: rubberBand;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes shake {
| |
− | 0%, 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 10%, 30%, 50%, 70%, 90% {
| |
− | -webkit-transform: translateX(-10px);
| |
− | transform: translateX(-10px);
| |
− | }
| |
− |
| |
− | 20%, 40%, 60%, 80% {
| |
− | -webkit-transform: translateX(10px);
| |
− | transform: translateX(10px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes shake {
| |
− | 0%, 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 10%, 30%, 50%, 70%, 90% {
| |
− | -webkit-transform: translateX(-10px);
| |
− | -ms-transform: translateX(-10px);
| |
− | transform: translateX(-10px);
| |
− | }
| |
− |
| |
− | 20%, 40%, 60%, 80% {
| |
− | -webkit-transform: translateX(10px);
| |
− | -ms-transform: translateX(10px);
| |
− | transform: translateX(10px);
| |
− | }
| |
− | }
| |
− |
| |
− | .shake {
| |
− | -webkit-animation-name: shake;
| |
− | animation-name: shake;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes swing {
| |
− | 20% {
| |
− | -webkit-transform: rotate(15deg);
| |
− | transform: rotate(15deg);
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: rotate(-10deg);
| |
− | transform: rotate(-10deg);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: rotate(5deg);
| |
− | transform: rotate(5deg);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: rotate(-5deg);
| |
− | transform: rotate(-5deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: rotate(0deg);
| |
− | transform: rotate(0deg);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes swing {
| |
− | 20% {
| |
− | -webkit-transform: rotate(15deg);
| |
− | -ms-transform: rotate(15deg);
| |
− | transform: rotate(15deg);
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: rotate(-10deg);
| |
− | -ms-transform: rotate(-10deg);
| |
− | transform: rotate(-10deg);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: rotate(5deg);
| |
− | -ms-transform: rotate(5deg);
| |
− | transform: rotate(5deg);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: rotate(-5deg);
| |
− | -ms-transform: rotate(-5deg);
| |
− | transform: rotate(-5deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: rotate(0deg);
| |
− | -ms-transform: rotate(0deg);
| |
− | transform: rotate(0deg);
| |
− | }
| |
− | }
| |
− |
| |
− | .swing {
| |
− | -webkit-transform-origin: top center;
| |
− | -ms-transform-origin: top center;
| |
− | transform-origin: top center;
| |
− | -webkit-animation-name: swing;
| |
− | animation-name: swing;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes tada {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 10%, 20% {
| |
− | -webkit-transform: scale(0.9) rotate(-3deg);
| |
− | transform: scale(0.9) rotate(-3deg);
| |
− | }
| |
− |
| |
− | 30%, 50%, 70%, 90% {
| |
− | -webkit-transform: scale(1.1) rotate(3deg);
| |
− | transform: scale(1.1) rotate(3deg);
| |
− | }
| |
− |
| |
− | 40%, 60%, 80% {
| |
− | -webkit-transform: scale(1.1) rotate(-3deg);
| |
− | transform: scale(1.1) rotate(-3deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1) rotate(0);
| |
− | transform: scale(1) rotate(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes tada {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 10%, 20% {
| |
− | -webkit-transform: scale(0.9) rotate(-3deg);
| |
− | -ms-transform: scale(0.9) rotate(-3deg);
| |
− | transform: scale(0.9) rotate(-3deg);
| |
− | }
| |
− |
| |
− | 30%, 50%, 70%, 90% {
| |
− | -webkit-transform: scale(1.1) rotate(3deg);
| |
− | -ms-transform: scale(1.1) rotate(3deg);
| |
− | transform: scale(1.1) rotate(3deg);
| |
− | }
| |
− |
| |
− | 40%, 60%, 80% {
| |
− | -webkit-transform: scale(1.1) rotate(-3deg);
| |
− | -ms-transform: scale(1.1) rotate(-3deg);
| |
− | transform: scale(1.1) rotate(-3deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1) rotate(0);
| |
− | -ms-transform: scale(1) rotate(0);
| |
− | transform: scale(1) rotate(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .tada {
| |
− | -webkit-animation-name: tada;
| |
− | animation-name: tada;
| |
− | }
| |
− |
| |
− | /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
| |
− |
| |
− | @-webkit-keyframes wobble {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0%);
| |
− | transform: translateX(0%);
| |
− | }
| |
− |
| |
− | 15% {
| |
− | -webkit-transform: translateX(-25%) rotate(-5deg);
| |
− | transform: translateX(-25%) rotate(-5deg);
| |
− | }
| |
− |
| |
− | 30% {
| |
− | -webkit-transform: translateX(20%) rotate(3deg);
| |
− | transform: translateX(20%) rotate(3deg);
| |
− | }
| |
− |
| |
− | 45% {
| |
− | -webkit-transform: translateX(-15%) rotate(-3deg);
| |
− | transform: translateX(-15%) rotate(-3deg);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: translateX(10%) rotate(2deg);
| |
− | transform: translateX(10%) rotate(2deg);
| |
− | }
| |
− |
| |
− | 75% {
| |
− | -webkit-transform: translateX(-5%) rotate(-1deg);
| |
− | transform: translateX(-5%) rotate(-1deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0%);
| |
− | transform: translateX(0%);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes wobble {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0%);
| |
− | -ms-transform: translateX(0%);
| |
− | transform: translateX(0%);
| |
− | }
| |
− |
| |
− | 15% {
| |
− | -webkit-transform: translateX(-25%) rotate(-5deg);
| |
− | -ms-transform: translateX(-25%) rotate(-5deg);
| |
− | transform: translateX(-25%) rotate(-5deg);
| |
− | }
| |
− |
| |
− | 30% {
| |
− | -webkit-transform: translateX(20%) rotate(3deg);
| |
− | -ms-transform: translateX(20%) rotate(3deg);
| |
− | transform: translateX(20%) rotate(3deg);
| |
− | }
| |
− |
| |
− | 45% {
| |
− | -webkit-transform: translateX(-15%) rotate(-3deg);
| |
− | -ms-transform: translateX(-15%) rotate(-3deg);
| |
− | transform: translateX(-15%) rotate(-3deg);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: translateX(10%) rotate(2deg);
| |
− | -ms-transform: translateX(10%) rotate(2deg);
| |
− | transform: translateX(10%) rotate(2deg);
| |
− | }
| |
− |
| |
− | 75% {
| |
− | -webkit-transform: translateX(-5%) rotate(-1deg);
| |
− | -ms-transform: translateX(-5%) rotate(-1deg);
| |
− | transform: translateX(-5%) rotate(-1deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0%);
| |
− | -ms-transform: translateX(0%);
| |
− | transform: translateX(0%);
| |
− | }
| |
− | }
| |
− |
| |
− | .wobble {
| |
− | -webkit-animation-name: wobble;
| |
− | animation-name: wobble;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceIn {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: scale(.3);
| |
− | transform: scale(.3);
| |
− | }
| |
− |
| |
− | 50% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1.05);
| |
− | transform: scale(1.05);
| |
− | }
| |
− |
| |
− | 70% {
| |
− | -webkit-transform: scale(.9);
| |
− | transform: scale(.9);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceIn {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: scale(.3);
| |
− | -ms-transform: scale(.3);
| |
− | transform: scale(.3);
| |
− | }
| |
− |
| |
− | 50% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1.05);
| |
− | -ms-transform: scale(1.05);
| |
− | transform: scale(1.05);
| |
− | }
| |
− |
| |
− | 70% {
| |
− | -webkit-transform: scale(.9);
| |
− | -ms-transform: scale(.9);
| |
− | transform: scale(.9);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceIn {
| |
− | -webkit-animation-name: bounceIn;
| |
− | animation-name: bounceIn;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceInDown {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(30px);
| |
− | transform: translateY(30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateY(-10px);
| |
− | transform: translateY(-10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceInDown {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | -ms-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(30px);
| |
− | -ms-transform: translateY(30px);
| |
− | transform: translateY(30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateY(-10px);
| |
− | -ms-transform: translateY(-10px);
| |
− | transform: translateY(-10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceInDown {
| |
− | -webkit-animation-name: bounceInDown;
| |
− | animation-name: bounceInDown;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceInLeft {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(30px);
| |
− | transform: translateX(30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateX(-10px);
| |
− | transform: translateX(-10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceInLeft {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | -ms-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(30px);
| |
− | -ms-transform: translateX(30px);
| |
− | transform: translateX(30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateX(-10px);
| |
− | -ms-transform: translateX(-10px);
| |
− | transform: translateX(-10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceInLeft {
| |
− | -webkit-animation-name: bounceInLeft;
| |
− | animation-name: bounceInLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceInRight {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(-30px);
| |
− | transform: translateX(-30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateX(10px);
| |
− | transform: translateX(10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceInRight {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | -ms-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(-30px);
| |
− | -ms-transform: translateX(-30px);
| |
− | transform: translateX(-30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateX(10px);
| |
− | -ms-transform: translateX(10px);
| |
− | transform: translateX(10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceInRight {
| |
− | -webkit-animation-name: bounceInRight;
| |
− | animation-name: bounceInRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceInUp {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(-30px);
| |
− | transform: translateY(-30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateY(10px);
| |
− | transform: translateY(10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceInUp {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | -ms-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(-30px);
| |
− | -ms-transform: translateY(-30px);
| |
− | transform: translateY(-30px);
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateY(10px);
| |
− | -ms-transform: translateY(10px);
| |
− | transform: translateY(10px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceInUp {
| |
− | -webkit-animation-name: bounceInUp;
| |
− | animation-name: bounceInUp;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceOut {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 25% {
| |
− | -webkit-transform: scale(.95);
| |
− | transform: scale(.95);
| |
− | }
| |
− |
| |
− | 50% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1.1);
| |
− | transform: scale(1.1);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: scale(.3);
| |
− | transform: scale(.3);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceOut {
| |
− | 0% {
| |
− | -webkit-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− |
| |
− | 25% {
| |
− | -webkit-transform: scale(.95);
| |
− | -ms-transform: scale(.95);
| |
− | transform: scale(.95);
| |
− | }
| |
− |
| |
− | 50% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1.1);
| |
− | -ms-transform: scale(1.1);
| |
− | transform: scale(1.1);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: scale(.3);
| |
− | -ms-transform: scale(.3);
| |
− | transform: scale(.3);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceOut {
| |
− | -webkit-animation-name: bounceOut;
| |
− | animation-name: bounceOut;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceOutDown {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(-20px);
| |
− | transform: translateY(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceOutDown {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(-20px);
| |
− | -ms-transform: translateY(-20px);
| |
− | transform: translateY(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | -ms-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceOutDown {
| |
− | -webkit-animation-name: bounceOutDown;
| |
− | animation-name: bounceOutDown;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceOutLeft {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(20px);
| |
− | transform: translateX(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceOutLeft {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(20px);
| |
− | -ms-transform: translateX(20px);
| |
− | transform: translateX(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | -ms-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceOutLeft {
| |
− | -webkit-animation-name: bounceOutLeft;
| |
− | animation-name: bounceOutLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceOutRight {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(-20px);
| |
− | transform: translateX(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceOutRight {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(-20px);
| |
− | -ms-transform: translateX(-20px);
| |
− | transform: translateX(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | -ms-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceOutRight {
| |
− | -webkit-animation-name: bounceOutRight;
| |
− | animation-name: bounceOutRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes bounceOutUp {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(20px);
| |
− | transform: translateY(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes bounceOutUp {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 20% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(20px);
| |
− | -ms-transform: translateY(20px);
| |
− | transform: translateY(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | -ms-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .bounceOutUp {
| |
− | -webkit-animation-name: bounceOutUp;
| |
− | animation-name: bounceOutUp;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeIn {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeIn {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeIn {
| |
− | -webkit-animation-name: fadeIn;
| |
− | animation-name: fadeIn;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInDown {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-20px);
| |
− | transform: translateY(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInDown {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-20px);
| |
− | -ms-transform: translateY(-20px);
| |
− | transform: translateY(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInDown {
| |
− | -webkit-animation-name: fadeInDown;
| |
− | animation-name: fadeInDown;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInDownBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInDownBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | -ms-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInDownBig {
| |
− | -webkit-animation-name: fadeInDownBig;
| |
− | animation-name: fadeInDownBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInLeft {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-20px);
| |
− | transform: translateX(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInLeft {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-20px);
| |
− | -ms-transform: translateX(-20px);
| |
− | transform: translateX(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInLeft {
| |
− | -webkit-animation-name: fadeInLeft;
| |
− | animation-name: fadeInLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInLeftBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInLeftBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | -ms-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInLeftBig {
| |
− | -webkit-animation-name: fadeInLeftBig;
| |
− | animation-name: fadeInLeftBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInRight {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(20px);
| |
− | transform: translateX(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInRight {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(20px);
| |
− | -ms-transform: translateX(20px);
| |
− | transform: translateX(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInRight {
| |
− | -webkit-animation-name: fadeInRight;
| |
− | animation-name: fadeInRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInRightBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInRightBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | -ms-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInRightBig {
| |
− | -webkit-animation-name: fadeInRightBig;
| |
− | animation-name: fadeInRightBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInUp {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(20px);
| |
− | transform: translateY(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInUp {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(20px);
| |
− | -ms-transform: translateY(20px);
| |
− | transform: translateY(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInUp {
| |
− | -webkit-animation-name: fadeInUp;
| |
− | animation-name: fadeInUp;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeInUpBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeInUpBig {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | -ms-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeInUpBig {
| |
− | -webkit-animation-name: fadeInUpBig;
| |
− | animation-name: fadeInUpBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOut {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOut {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOut {
| |
− | -webkit-animation-name: fadeOut;
| |
− | animation-name: fadeOut;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutDown {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(20px);
| |
− | transform: translateY(20px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutDown {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(20px);
| |
− | -ms-transform: translateY(20px);
| |
− | transform: translateY(20px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutDown {
| |
− | -webkit-animation-name: fadeOutDown;
| |
− | animation-name: fadeOutDown;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutDownBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutDownBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | -ms-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutDownBig {
| |
− | -webkit-animation-name: fadeOutDownBig;
| |
− | animation-name: fadeOutDownBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutLeft {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-20px);
| |
− | transform: translateX(-20px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutLeft {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-20px);
| |
− | -ms-transform: translateX(-20px);
| |
− | transform: translateX(-20px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutLeft {
| |
− | -webkit-animation-name: fadeOutLeft;
| |
− | animation-name: fadeOutLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutLeftBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutLeftBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | -ms-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutLeftBig {
| |
− | -webkit-animation-name: fadeOutLeftBig;
| |
− | animation-name: fadeOutLeftBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutRight {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(20px);
| |
− | transform: translateX(20px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutRight {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(20px);
| |
− | -ms-transform: translateX(20px);
| |
− | transform: translateX(20px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutRight {
| |
− | -webkit-animation-name: fadeOutRight;
| |
− | animation-name: fadeOutRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutRightBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutRightBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | -ms-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutRightBig {
| |
− | -webkit-animation-name: fadeOutRightBig;
| |
− | animation-name: fadeOutRightBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutUp {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-20px);
| |
− | transform: translateY(-20px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutUp {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-20px);
| |
− | -ms-transform: translateY(-20px);
| |
− | transform: translateY(-20px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutUp {
| |
− | -webkit-animation-name: fadeOutUp;
| |
− | animation-name: fadeOutUp;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fadeOutUpBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes fadeOutUpBig {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | -ms-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .fadeOutUpBig {
| |
− | -webkit-animation-name: fadeOutUpBig;
| |
− | animation-name: fadeOutUpBig;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes flip {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
| |
− | transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
| |
− | -webkit-animation-timing-function: ease-out;
| |
− | animation-timing-function: ease-out;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
| |
− | transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
| |
− | -webkit-animation-timing-function: ease-out;
| |
− | animation-timing-function: ease-out;
| |
− | }
| |
− |
| |
− | 50% {
| |
− | -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
| |
− | transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
| |
− | transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
| |
− | transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes flip {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
| |
− | -ms-transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
| |
− | transform: perspective(400px) translateZ(0) rotateY(0) scale(1);
| |
− | -webkit-animation-timing-function: ease-out;
| |
− | animation-timing-function: ease-out;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
| |
− | -ms-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
| |
− | transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1);
| |
− | -webkit-animation-timing-function: ease-out;
| |
− | animation-timing-function: ease-out;
| |
− | }
| |
− |
| |
− | 50% {
| |
− | -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
| |
− | -ms-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
| |
− | transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
| |
− | -ms-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
| |
− | transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95);
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
| |
− | -ms-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
| |
− | transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1);
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− | }
| |
− |
| |
− | .animated.flip {
| |
− | -webkit-backface-visibility: visible;
| |
− | -ms-backface-visibility: visible;
| |
− | backface-visibility: visible;
| |
− | -webkit-animation-name: flip;
| |
− | animation-name: flip;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes flipInX {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateX(90deg);
| |
− | transform: perspective(400px) rotateX(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: perspective(400px) rotateX(-10deg);
| |
− | transform: perspective(400px) rotateX(-10deg);
| |
− | }
| |
− |
| |
− | 70% {
| |
− | -webkit-transform: perspective(400px) rotateX(10deg);
| |
− | transform: perspective(400px) rotateX(10deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateX(0deg);
| |
− | transform: perspective(400px) rotateX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes flipInX {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateX(90deg);
| |
− | -ms-transform: perspective(400px) rotateX(90deg);
| |
− | transform: perspective(400px) rotateX(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: perspective(400px) rotateX(-10deg);
| |
− | -ms-transform: perspective(400px) rotateX(-10deg);
| |
− | transform: perspective(400px) rotateX(-10deg);
| |
− | }
| |
− |
| |
− | 70% {
| |
− | -webkit-transform: perspective(400px) rotateX(10deg);
| |
− | -ms-transform: perspective(400px) rotateX(10deg);
| |
− | transform: perspective(400px) rotateX(10deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateX(0deg);
| |
− | -ms-transform: perspective(400px) rotateX(0deg);
| |
− | transform: perspective(400px) rotateX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .flipInX {
| |
− | -webkit-backface-visibility: visible !important;
| |
− | -ms-backface-visibility: visible !important;
| |
− | backface-visibility: visible !important;
| |
− | -webkit-animation-name: flipInX;
| |
− | animation-name: flipInX;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes flipInY {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateY(90deg);
| |
− | transform: perspective(400px) rotateY(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: perspective(400px) rotateY(-10deg);
| |
− | transform: perspective(400px) rotateY(-10deg);
| |
− | }
| |
− |
| |
− | 70% {
| |
− | -webkit-transform: perspective(400px) rotateY(10deg);
| |
− | transform: perspective(400px) rotateY(10deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateY(0deg);
| |
− | transform: perspective(400px) rotateY(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes flipInY {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateY(90deg);
| |
− | -ms-transform: perspective(400px) rotateY(90deg);
| |
− | transform: perspective(400px) rotateY(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: perspective(400px) rotateY(-10deg);
| |
− | -ms-transform: perspective(400px) rotateY(-10deg);
| |
− | transform: perspective(400px) rotateY(-10deg);
| |
− | }
| |
− |
| |
− | 70% {
| |
− | -webkit-transform: perspective(400px) rotateY(10deg);
| |
− | -ms-transform: perspective(400px) rotateY(10deg);
| |
− | transform: perspective(400px) rotateY(10deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateY(0deg);
| |
− | -ms-transform: perspective(400px) rotateY(0deg);
| |
− | transform: perspective(400px) rotateY(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .flipInY {
| |
− | -webkit-backface-visibility: visible !important;
| |
− | -ms-backface-visibility: visible !important;
| |
− | backface-visibility: visible !important;
| |
− | -webkit-animation-name: flipInY;
| |
− | animation-name: flipInY;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes flipOutX {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateX(0deg);
| |
− | transform: perspective(400px) rotateX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateX(90deg);
| |
− | transform: perspective(400px) rotateX(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes flipOutX {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateX(0deg);
| |
− | -ms-transform: perspective(400px) rotateX(0deg);
| |
− | transform: perspective(400px) rotateX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateX(90deg);
| |
− | -ms-transform: perspective(400px) rotateX(90deg);
| |
− | transform: perspective(400px) rotateX(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .flipOutX {
| |
− | -webkit-animation-name: flipOutX;
| |
− | animation-name: flipOutX;
| |
− | -webkit-backface-visibility: visible !important;
| |
− | -ms-backface-visibility: visible !important;
| |
− | backface-visibility: visible !important;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes flipOutY {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateY(0deg);
| |
− | transform: perspective(400px) rotateY(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateY(90deg);
| |
− | transform: perspective(400px) rotateY(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes flipOutY {
| |
− | 0% {
| |
− | -webkit-transform: perspective(400px) rotateY(0deg);
| |
− | -ms-transform: perspective(400px) rotateY(0deg);
| |
− | transform: perspective(400px) rotateY(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: perspective(400px) rotateY(90deg);
| |
− | -ms-transform: perspective(400px) rotateY(90deg);
| |
− | transform: perspective(400px) rotateY(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .flipOutY {
| |
− | -webkit-backface-visibility: visible !important;
| |
− | -ms-backface-visibility: visible !important;
| |
− | backface-visibility: visible !important;
| |
− | -webkit-animation-name: flipOutY;
| |
− | animation-name: flipOutY;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes lightSpeedIn {
| |
− | 0% {
| |
− | -webkit-transform: translateX(100%) skewX(-30deg);
| |
− | transform: translateX(100%) skewX(-30deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: translateX(-20%) skewX(30deg);
| |
− | transform: translateX(-20%) skewX(30deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateX(0%) skewX(-15deg);
| |
− | transform: translateX(0%) skewX(-15deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0%) skewX(0deg);
| |
− | transform: translateX(0%) skewX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes lightSpeedIn {
| |
− | 0% {
| |
− | -webkit-transform: translateX(100%) skewX(-30deg);
| |
− | -ms-transform: translateX(100%) skewX(-30deg);
| |
− | transform: translateX(100%) skewX(-30deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 60% {
| |
− | -webkit-transform: translateX(-20%) skewX(30deg);
| |
− | -ms-transform: translateX(-20%) skewX(30deg);
| |
− | transform: translateX(-20%) skewX(30deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: translateX(0%) skewX(-15deg);
| |
− | -ms-transform: translateX(0%) skewX(-15deg);
| |
− | transform: translateX(0%) skewX(-15deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0%) skewX(0deg);
| |
− | -ms-transform: translateX(0%) skewX(0deg);
| |
− | transform: translateX(0%) skewX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .lightSpeedIn {
| |
− | -webkit-animation-name: lightSpeedIn;
| |
− | animation-name: lightSpeedIn;
| |
− | -webkit-animation-timing-function: ease-out;
| |
− | animation-timing-function: ease-out;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes lightSpeedOut {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0%) skewX(0deg);
| |
− | transform: translateX(0%) skewX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(100%) skewX(-30deg);
| |
− | transform: translateX(100%) skewX(-30deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes lightSpeedOut {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0%) skewX(0deg);
| |
− | -ms-transform: translateX(0%) skewX(0deg);
| |
− | transform: translateX(0%) skewX(0deg);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(100%) skewX(-30deg);
| |
− | -ms-transform: translateX(100%) skewX(-30deg);
| |
− | transform: translateX(100%) skewX(-30deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .lightSpeedOut {
| |
− | -webkit-animation-name: lightSpeedOut;
| |
− | animation-name: lightSpeedOut;
| |
− | -webkit-animation-timing-function: ease-in;
| |
− | animation-timing-function: ease-in;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateIn {
| |
− | 0% {
| |
− | -webkit-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(-200deg);
| |
− | transform: rotate(-200deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateIn {
| |
− | 0% {
| |
− | -webkit-transform-origin: center center;
| |
− | -ms-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(-200deg);
| |
− | -ms-transform: rotate(-200deg);
| |
− | transform: rotate(-200deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: center center;
| |
− | -ms-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateIn {
| |
− | -webkit-animation-name: rotateIn;
| |
− | animation-name: rotateIn;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateInDownLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateInDownLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | -ms-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateInDownLeft {
| |
− | -webkit-animation-name: rotateInDownLeft;
| |
− | animation-name: rotateInDownLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateInDownRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateInDownRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | -ms-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateInDownRight {
| |
− | -webkit-animation-name: rotateInDownRight;
| |
− | animation-name: rotateInDownRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateInUpLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateInUpLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | -ms-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateInUpLeft {
| |
− | -webkit-animation-name: rotateInUpLeft;
| |
− | animation-name: rotateInUpLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateInUpRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateInUpRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | -ms-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateInUpRight {
| |
− | -webkit-animation-name: rotateInUpRight;
| |
− | animation-name: rotateInUpRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateOut {
| |
− | 0% {
| |
− | -webkit-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(200deg);
| |
− | transform: rotate(200deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateOut {
| |
− | 0% {
| |
− | -webkit-transform-origin: center center;
| |
− | -ms-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: center center;
| |
− | -ms-transform-origin: center center;
| |
− | transform-origin: center center;
| |
− | -webkit-transform: rotate(200deg);
| |
− | -ms-transform: rotate(200deg);
| |
− | transform: rotate(200deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateOut {
| |
− | -webkit-animation-name: rotateOut;
| |
− | animation-name: rotateOut;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateOutDownLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateOutDownLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | -ms-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateOutDownLeft {
| |
− | -webkit-animation-name: rotateOutDownLeft;
| |
− | animation-name: rotateOutDownLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateOutDownRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateOutDownRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | -ms-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateOutDownRight {
| |
− | -webkit-animation-name: rotateOutDownRight;
| |
− | animation-name: rotateOutDownRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateOutUpLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateOutUpLeft {
| |
− | 0% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: left bottom;
| |
− | -ms-transform-origin: left bottom;
| |
− | transform-origin: left bottom;
| |
− | -webkit-transform: rotate(-90deg);
| |
− | -ms-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateOutUpLeft {
| |
− | -webkit-animation-name: rotateOutUpLeft;
| |
− | animation-name: rotateOutUpLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes rotateOutUpRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rotateOutUpRight {
| |
− | 0% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform-origin: right bottom;
| |
− | -ms-transform-origin: right bottom;
| |
− | transform-origin: right bottom;
| |
− | -webkit-transform: rotate(90deg);
| |
− | -ms-transform: rotate(90deg);
| |
− | transform: rotate(90deg);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .rotateOutUpRight {
| |
− | -webkit-animation-name: rotateOutUpRight;
| |
− | animation-name: rotateOutUpRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideInDown {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideInDown {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | -ms-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideInDown {
| |
− | -webkit-animation-name: slideInDown;
| |
− | animation-name: slideInDown;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideInLeft {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideInLeft {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | -ms-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideInLeft {
| |
− | -webkit-animation-name: slideInLeft;
| |
− | animation-name: slideInLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideInRight {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideInRight {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | -ms-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideInRight {
| |
− | -webkit-animation-name: slideInRight;
| |
− | animation-name: slideInRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideOutLeft {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideOutLeft {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-2000px);
| |
− | -ms-transform: translateX(-2000px);
| |
− | transform: translateX(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideOutLeft {
| |
− | -webkit-animation-name: slideOutLeft;
| |
− | animation-name: slideOutLeft;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideOutRight {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideOutRight {
| |
− | 0% {
| |
− | -webkit-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(2000px);
| |
− | -ms-transform: translateX(2000px);
| |
− | transform: translateX(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideOutRight {
| |
− | -webkit-animation-name: slideOutRight;
| |
− | animation-name: slideOutRight;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideOutUp {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideOutUp {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-2000px);
| |
− | -ms-transform: translateY(-2000px);
| |
− | transform: translateY(-2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideOutUp {
| |
− | -webkit-animation-name: slideOutUp;
| |
− | animation-name: slideOutUp;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideInUp {
| |
− | 0% {
| |
− | -webkit-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideInUp {
| |
− | 0% {
| |
− | -webkit-transform: translateY(2000px);
| |
− | -ms-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideInUp {
| |
− | -webkit-animation-name: slideInUp;
| |
− | animation-name: slideInUp;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes slideOutDown {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes slideOutDown {
| |
− | 0% {
| |
− | -webkit-transform: translateY(0);
| |
− | -ms-transform: translateY(0);
| |
− | transform: translateY(0);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(2000px);
| |
− | -ms-transform: translateY(2000px);
| |
− | transform: translateY(2000px);
| |
− | }
| |
− | }
| |
− |
| |
− | .slideOutDown {
| |
− | -webkit-animation-name: slideOutDown;
| |
− | animation-name: slideOutDown;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes hinge {
| |
− | 0% {
| |
− | -webkit-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | -webkit-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | }
| |
− |
| |
− | 20%, 60% {
| |
− | -webkit-transform: rotate(80deg);
| |
− | transform: rotate(80deg);
| |
− | -webkit-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: rotate(60deg);
| |
− | transform: rotate(60deg);
| |
− | -webkit-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: rotate(60deg) translateY(0);
| |
− | transform: rotate(60deg) translateY(0);
| |
− | -webkit-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(700px);
| |
− | transform: translateY(700px);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes hinge {
| |
− | 0% {
| |
− | -webkit-transform: rotate(0);
| |
− | -ms-transform: rotate(0);
| |
− | transform: rotate(0);
| |
− | -webkit-transform-origin: top left;
| |
− | -ms-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | }
| |
− |
| |
− | 20%, 60% {
| |
− | -webkit-transform: rotate(80deg);
| |
− | -ms-transform: rotate(80deg);
| |
− | transform: rotate(80deg);
| |
− | -webkit-transform-origin: top left;
| |
− | -ms-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | }
| |
− |
| |
− | 40% {
| |
− | -webkit-transform: rotate(60deg);
| |
− | -ms-transform: rotate(60deg);
| |
− | transform: rotate(60deg);
| |
− | -webkit-transform-origin: top left;
| |
− | -ms-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | }
| |
− |
| |
− | 80% {
| |
− | -webkit-transform: rotate(60deg) translateY(0);
| |
− | -ms-transform: rotate(60deg) translateY(0);
| |
− | transform: rotate(60deg) translateY(0);
| |
− | -webkit-transform-origin: top left;
| |
− | -ms-transform-origin: top left;
| |
− | transform-origin: top left;
| |
− | -webkit-animation-timing-function: ease-in-out;
| |
− | animation-timing-function: ease-in-out;
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateY(700px);
| |
− | -ms-transform: translateY(700px);
| |
− | transform: translateY(700px);
| |
− | opacity: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .hinge {
| |
− | -webkit-animation-name: hinge;
| |
− | animation-name: hinge;
| |
− | }
| |
− |
| |
− | /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
| |
− |
| |
− | @-webkit-keyframes rollIn {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-100%) rotate(-120deg);
| |
− | transform: translateX(-100%) rotate(-120deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0px) rotate(0deg);
| |
− | transform: translateX(0px) rotate(0deg);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rollIn {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-100%) rotate(-120deg);
| |
− | -ms-transform: translateX(-100%) rotate(-120deg);
| |
− | transform: translateX(-100%) rotate(-120deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0px) rotate(0deg);
| |
− | -ms-transform: translateX(0px) rotate(0deg);
| |
− | transform: translateX(0px) rotate(0deg);
| |
− | }
| |
− | }
| |
− |
| |
− | .rollIn {
| |
− | -webkit-animation-name: rollIn;
| |
− | animation-name: rollIn;
| |
− | }
| |
− |
| |
− | /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
| |
− |
| |
− | @-webkit-keyframes rollOut {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0px) rotate(0deg);
| |
− | transform: translateX(0px) rotate(0deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(100%) rotate(120deg);
| |
− | transform: translateX(100%) rotate(120deg);
| |
− | }
| |
− | }
| |
− |
| |
− | @keyframes rollOut {
| |
− | 0% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(0px) rotate(0deg);
| |
− | -ms-transform: translateX(0px) rotate(0deg);
| |
− | transform: translateX(0px) rotate(0deg);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(100%) rotate(120deg);
| |
− | -ms-transform: translateX(100%) rotate(120deg);
| |
− | transform: translateX(100%) rotate(120deg);
| |
− | }
| |
− | }
| |
− |
| |
− | .rollOut {
| |
− | -webkit-animation-name: rollOut;
| |
− | animation-name: rollOut;
| |
− | }
| |
− | * {
| |
− | margin: 0;
| |
− | padding: 0;
| |
− | font-family: 'Source Sans Pro', sans-serif;
| |
− | outline: none!important;
| |
− | }
| |
− |
| |
− | a {
| |
− | text-decoration: none!important;
| |
− | }
| |
− |
| |
− | body {
| |
− | overflow-x: hidden;
| |
− | }
| |
− |
| |
− | ul {
| |
− | list-style: none;
| |
− | margin: 0px;
| |
− | }
| |
− |
| |
− | p {
| |
− | font-size: 16px;
| |
− | line-height: 26px;
| |
− | letter-spacing: 0.25px;
| |
− | font-weight: 300;
| |
− | }
| |
− |
| |
− | .col-xs-15,
| |
− | .col-sm-15,
| |
− | .col-md-15,
| |
− | .col-lg-15 {
| |
− | position: relative;
| |
− | min-height: 1px;
| |
− | padding-right: 10px;
| |
− | padding-left: 10px;
| |
− | }
| |
− |
| |
− | .col-xs-15 {
| |
− | width: 20%;
| |
− | float: left;
| |
− | }
| |
− |
| |
− | @media (min-width: 768px) {
| |
− | .col-sm-15 {
| |
− | width: 20%;
| |
− | float: left;
| |
− | }
| |
− | }
| |
− |
| |
− | @media (min-width: 992px) {
| |
− | .col-md-15 {
| |
− | width: 20%;
| |
− | float: left;
| |
− | }
| |
− | }
| |
− |
| |
− | @media (min-width: 1200px) {
| |
− | .col-lg-15 {
| |
− | width: 20%;
| |
− | float: left;
| |
− | }
| |
− | }
| |
− |
| |
− | .primary-button a {
| |
− | padding: 13px 20px;
| |
− | letter-spacing: 0.5px;
| |
− | background-color: #46bae2;
| |
− | color: #fff;
| |
− | text-transform: uppercase;
| |
− | font-size: 13px;
| |
− | font-weight: 700;
| |
− | text-decoration: none;
| |
− | }
| |
− |
| |
− | .secondary-button a {
| |
− | padding: 13px 20px;
| |
− | letter-spacing: 0.5px;
| |
− | background-color: #f2745f;
| |
− | color: #fff;
| |
− | text-transform: uppercase;
| |
− | font-size: 13px;
| |
− | font-weight: 700;
| |
− | text-decoration: none;
| |
− | }
| |
− |
| |
− | .border-button a {
| |
− | padding: 13px 20px;
| |
− | letter-spacing: 0.5px;
| |
− | background-color: transparent;
| |
− | border: 1px solid #fff;
| |
− | color: #fff;
| |
− | text-transform: uppercase;
| |
− | font-size: 13px;
| |
− | font-weight: 700;
| |
− | text-decoration: none;
| |
− | }
| |
− |
| |
− |
| |
− | .section-heading {
| |
− | text-align: center;
| |
− | margin-top: 80px;
| |
− | margin-bottom: 60px;
| |
− | }
| |
− |
| |
− | .section-heading h4 {
| |
− | margin-top: 0px;
| |
− | font-size: 28px;
| |
− | text-transform: uppercase;
| |
− | font-weight: 300;
| |
− | color: #121212;
| |
− | }
| |
− | .tlinks{text-indent:-9999px;height:0;line-height:0;font-size:0;overflow:hidden;}
| |
− | .section-heading p {
| |
− | color: #7a7a7a;
| |
− | padding: 0px 25%;
| |
− | }
| |
− |
| |
− | .navbar-inverse {
| |
− | background-color: #fff;
| |
− | border: none;
| |
− | }
| |
− |
| |
− | .navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
| |
− | background-color: #f2745f;
| |
− | }
| |
− |
| |
− | .main-header {
| |
− | position: fixed;
| |
− | width: 100%;
| |
− | height: 80px;
| |
− | margin: 0 auto;
| |
− | z-index: 1000;
| |
− | top: 30px;
| |
− | -webkit-transition: all 150ms ease-in-out;
| |
− | -moz-transition: all 150ms ease-in-out;
| |
− | transition: all 150ms ease-in-out;
| |
− | }
| |
− |
| |
− | .navbar {
| |
− | margin-bottom: 0px;
| |
− | }
| |
− |
| |
− | .navbar-header {
| |
− | float: none;
| |
− | }
| |
− |
| |
− | .scrolled {
| |
− | position: fixed;
| |
− | left: 0;
| |
− | top: 0;
| |
− | -webkit-transition: all 150ms ease-in-out;
| |
− | -moz-transition: all 150ms ease-in-out;
| |
− | transition: all 150ms ease-in-out;
| |
− | }
| |
− |
| |
− | #menu-wrapper {
| |
− | background-color: white;
| |
− | overflow: hidden;
| |
− | -moz-box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.07);
| |
− | -webkit-box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.07);
| |
− | box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.07);
| |
− | }
| |
− |
| |
− | .navbar-brand {
| |
− | font-family: 'Open Sans', sans-serif;
| |
− | font-size: 26px;
| |
− | line-height: 50px;
| |
− | font-weight: 900;
| |
− | text-transform: uppercase;
| |
− | color: #46bae2!important;
| |
− | transition: all 0.5s;
| |
− | margin-left: 30px;
| |
− | }
| |
− |
| |
− | .menu-first ul li {
| |
− | display: inline-block;
| |
− | margin: 0px;
| |
− | }
| |
− | .menu-first ul li:last-child {
| |
− | margin-right: 60px!important;
| |
− | }
| |
− | .menu-first {
| |
− | float: right;
| |
− | margin-left:
| |
− | }
| |
− | .menu-first li a {
| |
− | color: #7a7a7a;
| |
− | font-size: 14px;
| |
− | font-weight: 300;
| |
− | text-transform: uppercase;
| |
− | text-shadow: none;
| |
− | display: inline-block;
| |
− | line-height: 80px;
| |
− | padding: 0px 20px;
| |
− | letter-spacing: 0.5px;
| |
− | transition: all 0.5s;
| |
− | outline: none;
| |
− | }
| |
− | .menu-first ul li.active a {
| |
− | color: #fff;
| |
− | background-color: #f2745f;
| |
− | }
| |
− |
| |
− | .navbar-inverse .navbar-nav>li>a:hover, .navbar-inverse .navbar-nav>li>a:focus {
| |
− | color: #7a7a7a;
| |
− | }
| |
− |
| |
− | .navbar-inverse .navbar-toggle {
| |
− | border-color: #f2745f;
| |
− | background-color: #f2745f;
| |
− | right: 15px;
| |
− | }
| |
− |
| |
− | .banner {
| |
− | background-image: url(https://static.igem.org/mediawiki/2018/4/41/T--NKU_CHINA--banner-bg.jpg);
| |
− | background-repeat: no-repeat;
| |
− | background-size: cover;
| |
− | background-position: center center;
| |
− | }
| |
− |
| |
− | .banner-content {
| |
− | text-align: center;
| |
− | padding: 280px 0px 200px 0px;
| |
− | }
| |
− |
| |
− | .banner-content h6 {
| |
− | font-size: 18px;
| |
− | color: #fff;
| |
− | font-weight: 700;
| |
− | text-transform: uppercase;
| |
− | letter-spacing: 2px;
| |
− | margin-bottom: 5px;
| |
− | }
| |
− |
| |
− | .banner-content h2 {
| |
− | font-size: 80px;
| |
− | font-weight: 700;
| |
− | text-transform: uppercase;
| |
− | color: #fff;
| |
− | letter-spacing: 2px;
| |
− | margin-top: 0px;
| |
− | margin-bottom: 30px;
| |
− | }
| |
− |
| |
− | .banner-content ul {
| |
− | padding: 0;
| |
− | margin: 0;
| |
− | list-style: none;
| |
− | }
| |
− |
| |
− | .banner-content ul li {
| |
− | display: inline-block;
| |
− | margin: 10px;
| |
− | }
| |
− |
| |
− |
| |
− | .intro {
| |
− | background-color: #46bae2;
| |
− | text-align: center;
| |
− | padding: 80px 0px;
| |
− | }
| |
− |
| |
− | .intro h4 {
| |
− | margin-top: 0px;
| |
− | font-size: 44px;
| |
− | font-weight: 300;
| |
− | color: #fff;
| |
− | }
| |
− |
| |
− | .intro h6 {
| |
− | margin-top: 15px;
| |
− | font-size: 17px;
| |
− | font-weight: 700;
| |
− | color: #fff;
| |
− | letter-spacing: 1px;
| |
− | }
| |
− |
| |
− | .intro .border-button {
| |
− | margin-top: 45px;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− | #about {
| |
− | padding: 0px;
| |
− | background-image: url(../img/services-bg.jpg);
| |
− | background-repeat: no-repeat;
| |
− | background-size: cover;
| |
− | background-position: center center;
| |
− | background-attachment: fixed;
| |
− | }
| |
− |
| |
− | #about .service-item {
| |
− | text-align: center;
| |
− | margin: 0px -15px;
| |
− | padding: 120px 45px;
| |
− | }
| |
− |
| |
− | #about .service-item h4 {
| |
− | margin-top: 45px;
| |
− | margin-bottom: 20px;
| |
− | font-size: 22px;
| |
− | font-weight: 700;
| |
− | color: #fff;
| |
− | text-transform: uppercase;
| |
− | }
| |
− |
| |
− | #about .service-item p {
| |
− | margin-bottom: 0px;
| |
− | color: #fff;
| |
− | }
| |
− |
| |
− | #about .first-service {
| |
− | background-color: rgba(242, 116, 95, 0.75);
| |
− | }
| |
− |
| |
− | #about .second-service {
| |
− | background-color: rgba(54, 62, 80, 0.75);
| |
− | }
| |
− |
| |
− | #about .third-service {
| |
− | background-color: rgba(70, 186, 226, 0.75);
| |
− | }
| |
− |
| |
− | #about .service-item .icon {
| |
− | width: 70px;
| |
− | height: 70px;
| |
− | display: inline-block;
| |
− | text-align: center;
| |
− | line-height: 74px;
| |
− | background-color: transparent;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | .what-we-do {
| |
− | background-color: #fff;
| |
− | padding-bottom: 80px;
| |
− | }
| |
− |
| |
− | .what-we-do .tabs li a {
| |
− | text-decoration: none;
| |
− | color: #121212;
| |
− | }
| |
− |
| |
− | .what-we-do .tabs .active .list-item {
| |
− | background-color: #f2745f!important;
| |
− | color: #fff!important;
| |
− | }
| |
− |
| |
− | .what-we-do .tabs .active .list-item .icon {
| |
− | background-color: #fff;
| |
− | }
| |
− |
| |
− | .what-we-do .list-item {
| |
− | background-color: #f4f4f4;
| |
− | text-align: center;
| |
− | padding: 40px 0px;
| |
− | margin: 15px 0px;
| |
− | transition: all 0.5s;
| |
− | }
| |
− |
| |
− | .what-we-do .list-item .icon {
| |
− | width: 90px;
| |
− | height: 90px;
| |
− | border-radius: 50%;
| |
− | display: inline-block;
| |
− | text-align: center;
| |
− | line-height: 90px;
| |
− | background-color: transparent;
| |
− | }
| |
− |
| |
− | .what-we-do .list-item h4 {
| |
− | margin-top: 20px;
| |
− | margin-bottom: 0px;
| |
− | font-size: 17px;
| |
− | font-weight: 700;
| |
− | text-transform: uppercase;
| |
− | }
| |
− |
| |
− | .what-we-do .tab-content-services {
| |
− | margin-top: 60px;
| |
− | }
| |
− |
| |
− | .what-we-do .tab-content-services .right-image img {
| |
− | width: 100%;
| |
− | overflow: hidden;
| |
− | }
| |
− |
| |
− | .what-we-do .tab-content-services .left-text h4 {
| |
− | font-size: 22px;
| |
− | text-transform: uppercase;
| |
− | font-weight: 700;
| |
− | margin-top: 0px;
| |
− | margin-bottom: 20px;
| |
− | }
| |
− |
| |
− | .what-we-do .tab-content-services .left-text p {
| |
− | color: #7a7a7a;
| |
− | }
| |
− |
| |
− | .what-we-do .tab-content-services .left-text .primary-button {
| |
− | margin-top: 35px;
| |
− | margin-bottom: 50px;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | #portfolio {
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | #portfolio .item {
| |
− | margin: 0px 5px;
| |
− | }
| |
− |
| |
− | .portfolio-section {
| |
− | background-color: #363e50;
| |
− | padding-bottom: 80px;
| |
− | }
| |
− |
| |
− | #portfolio .section-heading h4 {
| |
− | color: #fff;
| |
− | }
| |
− |
| |
− | #portfolio .section-heading h5 {
| |
− | font-size:19px;
| |
− | color: #aaa;
| |
− | }
| |
− |
| |
− | #portfolio .portfolio-item img {
| |
− | max-width: 100%;
| |
− | overflow: hidden;
| |
− | }
| |
− |
| |
− | .owl-pagination {
| |
− | margin-top: 30px;
| |
− | opacity: 1;
| |
− | display: inline-block;
| |
− | }
| |
− |
| |
− | .owl-page span {
| |
− | display: block;
| |
− | width: 10px;
| |
− | height: 10px;
| |
− | margin: 0px 5px;
| |
− | filter: alpha(opacity=50);
| |
− | opacity: 0.5;
| |
− | -webkit-border-radius: 20px;
| |
− | -moz-border-radius: 20px;
| |
− | border-radius: 20px;
| |
− | background: #46bae2;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− | #blog {
| |
− | background-color: #f4f4f4;
| |
− | }
| |
− |
| |
− | #blog .section-heading {
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | .wrapper {
| |
− | text-align: left;
| |
− | }
| |
− |
| |
− | #blog .tabs {
| |
− | list-style: none;
| |
− | margin-top: 0px;
| |
− | }
| |
− |
| |
− | #blog .tabs li {
| |
− | display: block;
| |
− | text-align: left;
| |
− | margin-bottom: 29px;
| |
− | }
| |
− |
| |
− | #blog .tabs a {
| |
− | display:block;
| |
− | text-align: left;
| |
− | text-decoration:none;
| |
− | text-transform: uppercase;
| |
− | letter-spacing: 0.5px;
| |
− | color:#121212;
| |
− | font-size: 20px;
| |
− | font-weight: 700;
| |
− | padding: 24px 25px;
| |
− | background-color: #fff;
| |
− | transition: all 0.3s;
| |
− | box-shadow: 0px 0px 10px #cdcdcd;
| |
− | }
| |
− |
| |
− | #blog .tabs .active {
| |
− | background-color: #46bae2;
| |
− | color: #fff!important;
| |
− | }
| |
− | #blog .tabs .active .info-post li {
| |
− | color: #fff!important;
| |
− | }
| |
− | #blog .tabs .active .info-post li i {
| |
− | color: #fff!important;
| |
− | }
| |
− | #first-tab-group {
| |
− | margin-top: 0px;
| |
− | margin-bottom: 15px;
| |
− | }
| |
− | #first-tab-group img {
| |
− | width: 100%;
| |
− | overflow: hidden;
| |
− | }
| |
− | .tabgroup .text-content {
| |
− | background-color: #fff;
| |
− | color: #fff;
| |
− | padding: 25px;
| |
− | text-align: left;
| |
− | margin-top: -10px;
| |
− | margin-left: 10px;
| |
− | margin-right: 10px;
| |
− | position: relative;
| |
− | box-shadow: 0px 0px 10px #cdcdcd;
| |
− | }
| |
− | .tabgroup .text-content h4 {
| |
− | font-size: 20px;
| |
− | font-weight: 700;
| |
− | text-transform: uppercase;
| |
− | letter-spacing: 0.5px;
| |
− | color: #121212;
| |
− | margin-top: 0px;
| |
− | margin-bottom: 15px;
| |
− | }
| |
− | .tabgroup .text-content span {
| |
− | font-size: 13px;
| |
− | color: #33c1cf;
| |
− | }
| |
− | .tabgroup .text-content a {
| |
− | font-size: 13px;
| |
− | color: #33c1cf;
| |
− | text-decoration: none;
| |
− | }
| |
− | .tabgroup .text-content p {
| |
− | margin-top: 17px;
| |
− | color: #7a7a7a;
| |
− | }
| |
− |
| |
− | .tabgroup .text-content .primary-button {
| |
− | margin-bottom: 15px;
| |
− | margin-top: 30px;
| |
− | }
| |
− |
| |
− | .tabgroup .text-content .primary-button a {
| |
− | color: #fff;
| |
− | }
| |
− |
| |
− | .clearfix:after {
| |
− | content:"";
| |
− | display:table;
| |
− | clear:both;
| |
− | }
| |
− |
| |
− | #blog {
| |
− | padding-bottom: 80px;
| |
− | }
| |
− |
| |
− | #blog .info-post li {
| |
− | display: inline;
| |
− | margin-right: 15px;
| |
− | }
| |
− |
| |
− | #blog .info-post li {
| |
− | color: #343434;
| |
− | font-size: 15px;
| |
− | font-weight: 300;
| |
− | text-transform: capitalize;
| |
− | }
| |
− |
| |
− | #blog .info-post li i {
| |
− | color: #46bae2;
| |
− | margin-right: 5px;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | #contact-us {
| |
− | background-color: #fff;
| |
− | text-align: left;
| |
− | padding-bottom: 100px;
| |
− | }
| |
− |
| |
− | #contact-us .section-heading {
| |
− | color: #121212;
| |
− | }
| |
− |
| |
− |
| |
− | #contact-us .pop-button {
| |
− | margin-top: 30px;
| |
− | }
| |
− |
| |
− | #contact input {
| |
− | border-radius: 0px;
| |
− | padding-left: 15px;
| |
− | font-size: 15px;
| |
− | font-weight: 300;
| |
− | color: #7a7a7a;
| |
− | background-color: rgba(0, 0, 0, 0.03);
| |
− | outline: none;
| |
− | border: none;
| |
− | box-shadow: none;
| |
− | line-height: 50px;
| |
− | height: 50px;
| |
− | width: 100%;
| |
− | margin-bottom: 30px;
| |
− | }
| |
− |
| |
− | #contact textarea {
| |
− | border-radius: 0px;
| |
− | padding-left: 15px;
| |
− | padding-top: 10px;
| |
− | font-size: 15px;
| |
− | font-weight: 300;
| |
− | color: #232323;
| |
− | background-color: rgba(0, 0, 0, 0.03);
| |
− | outline: none;
| |
− | border: none;
| |
− | box-shadow: none;
| |
− | height: 165px;
| |
− | max-height: 220px;
| |
− | width: 100%;
| |
− | max-width: 100%;
| |
− | margin-bottom: 25px;
| |
− | }
| |
− |
| |
− | #contact button {
| |
− | padding: 13px 20px;
| |
− | letter-spacing: 0.5px;
| |
− | background-color: #46bae2;
| |
− | color: #fff;
| |
− | text-transform: uppercase;
| |
− | font-size: 13px;
| |
− | font-weight: 700;
| |
− | text-decoration: none;
| |
− | border-radius: 0px;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− | footer {
| |
− | background-color: #363e50;
| |
− | padding: 0px 0px;
| |
− | }
| |
− |
| |
− | footer p {
| |
− | font-size: 25px;
| |
− | text-transform: uppercase;
| |
− | color: #fff;
| |
− | margin-bottom: 0px;
| |
− | padding: 75px 0px;
| |
− | }
| |
− |
| |
− | footer img {
| |
− | width:auto;
| |
− | height:auto;
| |
− | }
| |
− | footer a {
| |
− | color: #9CF;
| |
− | }
| |
− |
| |
− | footer a:hover {
| |
− | color: #FC6;
| |
− | }
| |
− |
| |
− | footer .social-icons {
| |
− | text-align: center;
| |
− | padding: 77px 0px;
| |
− | margin: 0px;
| |
− | }
| |
− |
| |
− | footer .social-icons li {
| |
− | display: inline;
| |
− | margin: 0px 10px;
| |
− | }
| |
− |
| |
− | footer .social-icons a {
| |
− | color: #a3afc9;
| |
− | font-size: 14px;
| |
− | text-transform: uppercase;
| |
− | font-weight: 700;
| |
− | text-decoration: none;
| |
− | letter-spacing: 0.3px;
| |
− | transition: all 0.5s;
| |
− | }
| |
− |
| |
− | footer .social-icons a:hover {
| |
− | color: #46bae2;
| |
− | }
| |
− |
| |
− | footer .back-to-top a {
| |
− | text-align: center;
| |
− | background-color: #46bae2;
| |
− | display: inline-block;
| |
− | width: 100%;
| |
− | padding: 60px 0px;
| |
− | color: #fff;
| |
− | font-size: 15px;
| |
− | text-transform: uppercase;
| |
− | font-weight: 700;
| |
− | text-decoration: none;
| |
− | letter-spacing: 1px;
| |
− | }
| |
− |
| |
− | footer .back-to-top i {
| |
− | display: block;
| |
− | font-size: 36px;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− | /* RESPONSIVE */
| |
− |
| |
− | @media (max-width: 991px){
| |
− | footer {
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | footer p {
| |
− | padding: 30px 0px 0px 0px;
| |
− | }
| |
− |
| |
− | footer .social-icons {
| |
− | padding: 30px 0px 30px 0px;
| |
− | }
| |
− |
| |
− | footer .back-to-top a {
| |
− | padding: 30px 0px;
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | @media (max-width: 767px){
| |
− |
| |
− | .navbar-brand {
| |
− | float: none;
| |
− | }
| |
− |
| |
− | .menu-first {
| |
− | margin: 0px;
| |
− | padding: 0px;
| |
− | width: 100%;
| |
− | text-align: center;
| |
− | float: none;
| |
− | }
| |
− |
| |
− | .menu-first li:first-child {
| |
− | border-top: 1px solid #eee;
| |
− | }
| |
− |
| |
− | .menu-first li {
| |
− | border-bottom: 1px solid #eee;
| |
− | }
| |
− |
| |
− | .menu-first li:last-child {
| |
− | border-bottom: none;
| |
− | }
| |
− |
| |
− | .menu-first li a {
| |
− | width: 100%;
| |
− | line-height: 50px;
| |
− | }
| |
− |
| |
− | .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
| |
− | border-color: transparent;
| |
− | }
| |
− |
| |
− | .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
| |
− | background-color: #f2745f;
| |
− | }
| |
− |
| |
− |
| |
− | }
| |
− |
| |
− | @media (max-width: 385px){
| |
− |
| |
− |
| |
− |
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− | /* LIGHT BOX */
| |
− |
| |
− | .slbOverlay, .slbWrapOuter, .slbWrap {
| |
− |
| |
− | position: fixed; top: 0; right: 0; bottom: 0; left: 0;
| |
− |
| |
− | }
| |
− |
| |
− | .slbOverlay {
| |
− |
| |
− | overflow: hidden; z-index: 2000; background-color: #000; opacity: 0.7; filter: alpha(opacity=70);
| |
− | @include animation(slbOverlay 0.5s);
| |
− |
| |
− | }
| |
− |
| |
− | .slbWrapOuter {
| |
− |
| |
− | overflow-x: hidden; overflow-y: auto; z-index: 2010;
| |
− |
| |
− | }
| |
− |
| |
− | .slbWrap {
| |
− |
| |
− | position: absolute; text-align: center;
| |
− |
| |
− | &:before {
| |
− |
| |
− | content: ""; display: inline-block; height: 100%; vertical-align: middle;
| |
− |
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | .slbContentOuter {
| |
− |
| |
− | position: relative; display: inline-block; vertical-align: middle; margin: 0px auto; padding: 0 1em; box-sizing: border-box; z-index: 2020; text-align: left;
| |
− | max-width: 100%;
| |
− |
| |
− | .slbContentEl & {
| |
− |
| |
− | padding: 5em 1em;
| |
− |
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | .slbContent {
| |
− |
| |
− | position: relative;
| |
− |
| |
− | .slbContentEl & {
| |
− |
| |
− | @include animation(slbEnter 0.3s); background-color: #fff; box-shadow: 0 0.2em 1em rgba(#000, 0.4);
| |
− |
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | .slbImageWrap {
| |
− |
| |
− | @include animation(slbEnter 0.3s);
| |
− | position: relative;
| |
− |
| |
− | &:after {
| |
− |
| |
− | content: ""; position: absolute; left: 0; right: 0; top: 5em; bottom: 5em; display: block; z-index: -1;
| |
− | box-shadow: 0 0.2em 1em rgba(#000, 0.6); background-color: #FFF;
| |
− |
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | .slbImage {
| |
− |
| |
− | width: auto; max-width: 100%; height: auto; display: block; line-height: 0; box-sizing: border-box; padding: 5em 0; margin: 0 auto;
| |
− |
| |
− | }
| |
− |
| |
− | .slbCaption {
| |
− |
| |
− | @include ellipsis;
| |
− | font-size: 1.4em; position: absolute; left: 0; right: 0; bottom: 0; padding: em(10,14) 0;
| |
− | color: #fff; color: rgba(#fff, 0.7); text-align: center;
| |
− |
| |
− | }
| |
− |
| |
− | .slbCloseBtn, .slbArrow {
| |
− |
| |
− | margin:0; padding: 0; border: 0; cursor: pointer; background: none;
| |
− | &::-moz-focus-inner { padding: 0; border: 0; }
| |
− |
| |
− | &:hover { opacity: 0.5; }
| |
− | &:active { opacity: 0.8; }
| |
− |
| |
− | }
| |
− |
| |
− | .slbCloseBtn {
| |
− |
| |
− | font-size: 36px;
| |
− |
| |
− | $size: 50; $iconSize: 30;
| |
− |
| |
− | @include animation(slbEnter 0.3s);
| |
− |
| |
− | font-size: em($iconSize,10); width: em($size,$iconSize); height: em($size,$iconSize); line-height: em($size,$iconSize);
| |
− | position: absolute; right: em(-10,$iconSize); top: 0;
| |
− | color: #fff; color: rgba(#fff, 0.7); text-align: center;
| |
− |
| |
− | .slbLoading & {
| |
− |
| |
− | display: none;
| |
− |
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | .slbLoadingText {
| |
− |
| |
− | font-size: 1.4em; color: #fff; color: rgba(#fff,0.9);
| |
− |
| |
− | }
| |
− |
| |
− | .slbArrows {
| |
− |
| |
− | position: fixed; top: 50%; left: 0; right: 0;
| |
− |
| |
− | .slbLoading & {
| |
− |
| |
− | display: none;
| |
− |
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | .slbArrow {
| |
− |
| |
− | $size: 50; $iconSize: 8;
| |
− |
| |
− | position: absolute; top: 50%; margin-top: em(-1*$size,10); width: em($size,10); height: em($size*2,10);
| |
− | opacity: 0.7; text-indent: -999em; overflow: hidden;
| |
− |
| |
− | &:before {
| |
− |
| |
− | content: ""; position: absolute; top: 50%; left: 50%; margin: em(-$iconSize,10) 0 0 em(-$iconSize,10); border: em($iconSize,10) solid transparent;
| |
− |
| |
− | }
| |
− |
| |
− | &.next {
| |
− |
| |
− | right: 0; &:before { border-left-color: #fff; }
| |
− |
| |
− | }
| |
− |
| |
− | &.prev {
| |
− |
| |
− | left: 0; &:before { border-right-color: #fff;}
| |
− |
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | .slbIframeCont {
| |
− |
| |
− | width: 80em; height: 0; overflow: hidden; padding-top: 56.25%; margin: 5em 0;
| |
− |
| |
− | }
| |
− |
| |
− | .slbIframe {
| |
− |
| |
− | position: absolute; top: 0; left: 0; width: 100%; height: 100%;
| |
− | box-shadow: 0 0.2em 1em rgba(#000, 0.6); background: #000;
| |
− |
| |
− | }
| |
− |
| |
− | @include keyframes(slbOverlay) {
| |
− | from { opacity: 0; }
| |
− | to { opacity: 0.7; }
| |
− | }
| |
− |
| |
− | @include keyframes(slbEnter) {
| |
− | from { opacity: 0; @include transform(translate3d(0, -1em, 0)); }
| |
− | to { opacity: 1; @include transform(translate3d(0, 0, 0)); }
| |
− | }
| |
| img.normal | | img.normal |
| { | | { |
Line 9,002: |
Line 99: |
| <div class="service-item first-service"> | | <div class="service-item first-service"> |
| <div class="icon"> | | <div class="icon"> |
− | <img src="https://static.igem.org/mediawiki/2018/6/65/T--NKU_CHINA--first-service-icon.png" alt=""> | + | <img src="img/first-service-icon.png" alt=""> |
| </div> | | </div> |
| <h4>Overview</h4> | | <h4>Overview</h4> |
Line 9,011: |
Line 108: |
| <div class="service-item second-service"> | | <div class="service-item second-service"> |
| <div class="icon"> | | <div class="icon"> |
− | <img src="https://static.igem.org/mediawiki/2018/d/d1/T--NKU_CHINA--second-service-icon.png" alt=""> | + | <img src="img/second-service-icon.png" alt=""> |
| </div> | | </div> |
| <h4>Method And Materials</h4> | | <h4>Method And Materials</h4> |
Line 9,020: |
Line 117: |
| <div class="service-item third-service"> | | <div class="service-item third-service"> |
| <div class="icon"> | | <div class="icon"> |
− | <img src="https://static.igem.org/mediawiki/2018/d/d1/T--NKU_CHINA--third-service-icon.png" alt=""> | + | <img src="img/third-service-icon.png" alt=""> |
| </div> | | </div> |
| <h4>Results</h4> | | <h4>Results</h4> |
Line 9,049: |
Line 146: |
| <div class="list-item"> | | <div class="list-item"> |
| <div class="icon"> | | <div class="icon"> |
− | <img src="https://static.igem.org/mediawiki/2018/8/89/T--NKU_CHINA--first-list-icon.png" alt=""> | + | <img src="img/first-list-icon.png" alt=""> |
| </div> | | </div> |
| <h4><br>Calibration<br></h4> | | <h4><br>Calibration<br></h4> |
Line 9,059: |
Line 156: |
| <div class="list-item"> | | <div class="list-item"> |
| <div class="icon"> | | <div class="icon"> |
− | <img src="https://static.igem.org/mediawiki/2018/2/2c/T--NKU_CHINA--second-list-icon.png" alt=""> | + | <img src="img/second-list-icon.png" alt=""> |
| </div> | | </div> |
| <h4>Competent cells and Transformation</h4> | | <h4>Competent cells and Transformation</h4> |
Line 9,069: |
Line 166: |
| <div class="list-item"> | | <div class="list-item"> |
| <div class="icon"> | | <div class="icon"> |
− | <img src="https://static.igem.org/mediawiki/2018/2/29/T--NKU_CHINA--third-list-icon.png" alt=""> | + | <img src="img/third-list-icon.png" alt=""> |
| </div> | | </div> |
| <h4><br>Cell measurement<br></h4> | | <h4><br>Cell measurement<br></h4> |
Line 9,079: |
Line 176: |
| <div class="list-item"> | | <div class="list-item"> |
| <div class="icon"> | | <div class="icon"> |
− | <img src="https://static.igem.org/mediawiki/2018/9/99/T--NKU_CHINA--fourth-list-icon.png" alt=""> | + | <img src="img/fourth-list-icon.png" alt=""> |
| </div> | | </div> |
| <h4>CFU per 0.1 OD600 E. coli cultures</h4> | | <h4>CFU per 0.1 OD600 E. coli cultures</h4> |
Line 9,089: |
Line 186: |
| <div class="list-item"> | | <div class="list-item"> |
| <div class="icon"> | | <div class="icon"> |
− | <img src="https://static.igem.org/mediawiki/2018/a/aa/T--NKU_CHINA--fivth-list-icon.png" alt=""> | + | <img src="img/fivth-list-icon.png" alt=""> |
| </div> | | </div> |
| <h4><br>Materials<br></h4> | | <h4><br>Materials<br></h4> |
Line 9,257: |
Line 354: |
| <div id="first-tab-group" class="tabgroup"> | | <div id="first-tab-group" class="tabgroup"> |
| <div id="tab1"> | | <div id="tab1"> |
− | <img src="https://static.igem.org/mediawiki/2018/8/83/T--NKU_CHINA--blog-post-1.jpg" alt=""> | + | <img src="img/blog-post-1.jpg" alt=""> |
| <div class="text-content"> | | <div class="text-content"> |
| <h4>OD 600 Reference point</h4> | | <h4>OD 600 Reference point</h4> |
Line 9,264: |
Line 361: |
| </div> | | </div> |
| <div id="tab2"> | | <div id="tab2"> |
− | <img src="https://static.igem.org/mediawiki/2018/c/c6/T--NKU_CHINA--blog-post-2.jpg" alt=""> | + | <img src="img/blog-post-2.jpg" alt=""> |
− | <img src="https://static.igem.org/mediawiki/2018/2/27/T--NKU_CHINA--tupian6.jpg" alt=""> | + | <img src="img/tupian6.jpg" alt=""> |
| <div class="text-content"> | | <div class="text-content"> |
| <h4>Particle standard curve</h4> | | <h4>Particle standard curve</h4> |
Line 9,272: |
Line 369: |
| </div> | | </div> |
| <div id="tab3"> | | <div id="tab3"> |
− | <img src="https://static.igem.org/mediawiki/2018/6/69/T--NKU_CHINA--blog-post-3.jpg" alt=""> | + | <img src="img/blog-post-3.jpg" alt=""> |
− | <img src="https://static.igem.org/mediawiki/2018/4/41/T--NKU_CHINA--tupian7.jpg" alt=""> | + | <img src="img/tupian7.jpg" alt=""> |
| <div class="text-content"> | | <div class="text-content"> |
| <h4>Fluorescein standard curve</h4> | | <h4>Fluorescein standard curve</h4> |
Line 9,280: |
Line 377: |
| </div> | | </div> |
| <div id="tab4"> | | <div id="tab4"> |
− | <img src="https://static.igem.org/mediawiki/2018/0/0c/T--NKU_CHINA--%E5%9B%BE%E7%89%8710.jpg" alt=""> | + | <img src="img/图片10.jpg" alt=""> |
− | <img src="https://static.igem.org/mediawiki/2018/f/fb/T--NKU_CHINA--%E5%9B%BE%E7%89%879.jpg" alt=""> | + | <img src="img/图片9.jpg" alt=""> |
| <div class="text-content"> | | <div class="text-content"> |
| <h4>Fluorescence Raw Readings</h4> | | <h4>Fluorescence Raw Readings</h4> |
Line 9,288: |
Line 385: |
| </div> | | </div> |
| <div id="tab5"> | | <div id="tab5"> |
− | <img src="https://static.igem.org/mediawiki/2018/6/68/T--NKU_CHINA--%E5%9B%BE%E7%89%8711.jpg" alt=""> | + | <img src="img/图片11.jpg" alt=""> |
− | <img src="https://static.igem.org/mediawiki/2018/e/e4/T--NKU_CHINA--%E5%9B%BE%E7%89%8712.jpg" alt=""> | + | <img src="img/图片12.jpg" alt=""> |
| <div class="text-content"> | | <div class="text-content"> |
| <h4>Abs600 Raw Readings</h4> | | <h4>Abs600 Raw Readings</h4> |
Line 9,307: |
Line 404: |
| <div class="col-md-4 col-sm-12"> | | <div class="col-md-4 col-sm-12"> |
| | | |
− | <img class= "big" src="https://static.igem.org/mediawiki/2018/4/47/T--NKU_CHINA--%E5%9B%BE%E7%89%873.jpg" alt=""> | + | <img class= "big" src="C:\Users\k\Desktop\tpmo_508_power\img\图片3.jpg" alt=""> |
| | | |
− | <img class= "big" src="https://static.igem.org/mediawiki/2018/9/9e/T--NKU_CHINA--%E5%9B%BE%E7%89%871.jpg" alt=""> | + | <img class= "big" src="C:\Users\k\Desktop\tpmo_508_power\img\图片1.jpg" alt=""> |
| </div> | | </div> |
| <div class="col-md-4 col-sm-12"> | | <div class="col-md-4 col-sm-12"> |
Line 9,326: |
Line 423: |
| </footer> | | </footer> |
| | | |
− |
| + | <script src="js/vendor/jquery-1.11.0.min.js"></script> |
| + | <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.0.min.js"><\/script>')</script> |
| + | <script src="js/bootstrap.js"></script> |
| + | <script src="js/plugins.js"></script> |
| + | <script src="js/main.js"></script> |
| | | |
− | <script type="text/javascript">
| |
− | /**
| |
− | * bootstrap.js v3.0.0 by @fat and @mdo
| |
− | * Copyright 2013 Twitter Inc.
| |
− | * http://www.apache.org/licenses/LICENSE-2.0
| |
− | */
| |
− | if (!jQuery) { throw new Error("Bootstrap requires jQuery") }
| |
− |
| |
− | /* ========================================================================
| |
− | * Bootstrap: transition.js v3.0.0
| |
− | * http://twbs.github.com/bootstrap/javascript.html#transitions
| |
− | * ========================================================================
| |
− | * Copyright 2013 Twitter, Inc.
| |
− | *
| |
− | * Licensed under the Apache License, Version 2.0 (the "License");
| |
− | * you may not use this file except in compliance with the License.
| |
− | * You may obtain a copy of the License at
| |
− | *
| |
− | * http://www.apache.org/licenses/LICENSE-2.0
| |
− | *
| |
− | * Unless required by applicable law or agreed to in writing, software
| |
− | * distributed under the License is distributed on an "AS IS" BASIS,
| |
− | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| |
− | * See the License for the specific language governing permissions and
| |
− | * limitations under the License.
| |
− | * ======================================================================== */
| |
− |
| |
− |
| |
− | +function ($) { "use strict";
| |
− |
| |
− | // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
| |
− | // ============================================================
| |
− |
| |
− | function transitionEnd() {
| |
− | var el = document.createElement('bootstrap')
| |
− |
| |
− | var transEndEventNames = {
| |
− | 'WebkitTransition' : 'webkitTransitionEnd'
| |
− | , 'MozTransition' : 'transitionend'
| |
− | , 'OTransition' : 'oTransitionEnd otransitionend'
| |
− | , 'transition' : 'transitionend'
| |
− | }
| |
− |
| |
− | for (var name in transEndEventNames) {
| |
− | if (el.style[name] !== undefined) {
| |
− | return { end: transEndEventNames[name] }
| |
− | }
| |
− | }
| |
− | }
| |
− |
| |
− | // http://blog.alexmaccaw.com/css-transitions
| |
− | $.fn.emulateTransitionEnd = function (duration) {
| |
− | var called = false, $el = this
| |
− | $(this).one($.support.transition.end, function () { called = true })
| |
− | var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
| |
− | setTimeout(callback, duration)
| |
− | return this
| |
− | }
| |
− |
| |
− | $(function () {
| |
− | $.support.transition = transitionEnd()
| |
− | })
| |
− |
| |
− | }(window.jQuery);
| |
− |
| |
− | /* ========================================================================
| |
− | * Bootstrap: alert.js v3.0.0
| |
− | * http://twbs.github.com/bootstrap/javascript.html#alerts
| |
− | * ========================================================================
| |
− | * Copyright 2013 Twitter, Inc.
| |
− | *
| |
− | * Licensed under the Apache License, Version 2.0 (the "License");
| |
− | * you may not use this file except in compliance with the License.
| |
− | * You may obtain a copy of the License at
| |
− | *
| |
− | * http://www.apache.org/licenses/LICENSE-2.0
| |
− | *
| |
− | * Unless required by applicable law or agreed to in writing, software
| |
− | * distributed under the License is distributed on an "AS IS" BASIS,
| |
− | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| |
− | * See the License for the specific language governing permissions and
| |
− | * limitations under the License.
| |
− | * ======================================================================== */
| |
− |
| |
− |
| |
− | +function ($) { "use strict";
| |
− |
| |
− | // ALERT CLASS DEFINITION
| |
− | // ======================
| |
− |
| |
− | var dismiss = '[data-dismiss="alert"]'
| |
− | var Alert = function (el) {
| |
− | $(el).on('click', dismiss, this.close)
| |
− | }
| |
− |
| |
− | Alert.prototype.close = function (e) {
| |
− | var $this = $(this)
| |
− | var selector = $this.attr('data-target')
| |
− |
| |
− | if (!selector) {
| |
− | selector = $this.attr('href')
| |
− | selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
| |
− | }
| |
− |
| |
− | var $parent = $(selector)
| |
− |
| |
− | if (e) e.preventDefault()
| |
− |
| |
− | if (!$parent.length) {
| |
− | $parent = $this.hasClass('alert') ? $this : $this.parent()
| |
− | }
| |
− |
| |
− | $parent.trigger(e = $.Event('close.bs.alert'))
| |
− |
| |
− | if (e.isDefaultPrevented()) return
| |
− |
| |
− | $parent.removeClass('in')
| |
− |
| |
− | function removeElement() {
| |
− | $parent.trigger('closed.bs.alert').remove()
| |
− | }
| |
− |
| |
− | $.support.transition && $parent.hasClass('fade') ?
| |
− | $parent
| |
− | .one($.support.transition.end, removeElement)
| |
− | .emulateTransitionEnd(150) :
| |
− | removeElement()
| |
− | }
| |
− |
| |
− |
| |
− | // ALERT PLUGIN DEFINITION
| |
− | // =======================
| |
− |
| |
− | var old = $.fn.alert
| |
− |
| |
− | $.fn.alert = function (option) {
| |
− | return this.each(function () {
| |
− | var $this = $(this)
| |
− | var data = $this.data('bs.alert')
| |
− |
| |
− | if (!data) $this.data('bs.alert', (data = new Alert(this)))
| |
− | if (typeof option == 'string') data[option].call($this)
| |
− | })
| |
− | }
| |
− |
| |
− | $.fn.alert.Constructor = Alert
| |
− |
| |
− |
| |
− | // ALERT NO CONFLICT
| |
− | // =================
| |
− |
| |
− | $.fn.alert.noConflict = function () {
| |
− | $.fn.alert = old
| |
− | return this
| |
− | }
| |
− |
| |
− |
| |
− | // ALERT DATA-API
| |
− | // ==============
| |
− |
| |
− | $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
| |
− |
| |
− | }(window.jQuery);
| |
− |
| |
− | /* ========================================================================
| |
− | * Bootstrap: button.js v3.0.0
| |
− | * http://twbs.github.com/bootstrap/javascript.html#buttons
| |
− | * ========================================================================
| |
− | * Copyright 2013 Twitter, Inc.
| |
− | *
| |
− | * Licensed under the Apache License, Version 2.0 (the "License");
| |
− | * you may not use this file except in compliance with the License.
| |
− | * You may obtain a copy of the License at
| |
− | *
| |
− | * http://www.apache.org/licenses/LICENSE-2.0
| |
− | *
| |
− | * Unless required by applicable law or agreed to in writing, software
| |
− | * distributed under the License is distributed on an "AS IS" BASIS,
| |
− | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| |
− | * See the License for the specific language governing permissions and
| |
− | * limitations under the License.
| |
− | * ======================================================================== */
| |
− |
| |
− |
| |
− | +function ($) { "use strict";
| |
− |
| |
− | // BUTTON PUBLIC CLASS DEFINITION
| |
− | // ==============================
| |
− |
| |
− | var Button = function (element, options) {
| |
− | this.$element = $(element)
| |
− | this.options = $.extend({}, Button.DEFAULTS, options)
| |
− | }
| |
− |
| |
− | Button.DEFAULTS = {
| |
− | loadingText: 'loading...'
| |
− | }
| |
− |
| |
− | Button.prototype.setState = function (state) {
| |
− | var d = 'disabled'
| |
− | var $el = this.$element
| |
− | var val = $el.is('input') ? 'val' : 'html'
| |
− | var data = $el.data()
| |
− |
| |
− | state = state + 'Text'
| |
− |
| |
− | if (!data.resetText) $el.data('resetText', $el[val]())
| |
− |
| |
− | $el[val](data[state] || this.options[state])
| |
− |
| |
− | // push to event loop to allow forms to submit
| |
− | setTimeout(function () {
| |
− | state == 'loadingText' ?
| |
− | $el.addClass(d).attr(d, d) :
| |
− | $el.removeClass(d).removeAttr(d);
| |
− | }, 0)
| |
− | }
| |
− |
| |
− | Button.prototype.toggle = function () {
| |
− | var $parent = this.$element.closest('[data-toggle="buttons"]')
| |
− |
| |
− | if ($parent.length) {
| |
− | var $input = this.$element.find('input')
| |
− | .prop('checked', !this.$element.hasClass('active'))
| |
− | .trigger('change')
| |
− | if ($input.prop('type') === 'radio') $parent.find('.active').removeClass('active')
| |
− | }
| |
− |
| |
− | this.$element.toggleClass('active')
| |
− | }
| |
− |
| |
− |
| |
− | // BUTTON PLUGIN DEFINITION
| |
− | // ========================
| |
− |
| |
− | var old = $.fn.button
| |
− |
| |
− | $.fn.button = function (option) {
| |
− | return this.each(function () {
| |
− | var $this = $(this)
| |
− | var data = $this.data('bs.button')
| |
− | var options = typeof option == 'object' && option
| |
− |
| |
− | if (!data) $this.data('bs.button', (data = new Button(this, options)))
| |
− |
| |
− | if (option == 'toggle') data.toggle()
| |
− | else if (option) data.setState(option)
| |
− | })
| |
− | }
| |
− |
| |
− | $.fn.button.Constructor = Button
| |
− |
| |
− |
| |
− | // BUTTON NO CONFLICT
| |
− | // ==================
| |
− |
| |
− | $.fn.button.noConflict = function () {
| |
− | $.fn.button = old
| |
− | return this
| |
− | }
| |
− |
| |
− |
| |
− | // BUTTON DATA-API
| |
− | // ===============
| |
− |
| |
− | $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) {
| |
− | var $btn = $(e.target)
| |
− | if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
| |
− | $btn.button('toggle')
| |
− | e.preventDefault()
| |
− | })
| |
− |
| |
− | }(window.jQuery);
| |
− |
| |
− | /* ========================================================================
| |
− | * Bootstrap: carousel.js v3.0.0
| |
− | * http://twbs.github.com/bootstrap/javascript.html#carousel
| |
− | * ========================================================================
| |
− | * Copyright 2012 Twitter, Inc.
| |
− | *
| |
− | * Licensed under the Apache License, Version 2.0 (the "License");
| |
− | * you may not use this file except in compliance with the License.
| |
− | * You may obtain a copy of the License at
| |
− | *
| |
− | * http://www.apache.org/licenses/LICENSE-2.0
| |
− | *
| |
− | * Unless required by applicable law or agreed to in writing, software
| |
− | * distributed under the License is distributed on an "AS IS" BASIS,
| |
− | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| |
− | * See the License for the specific language governing permissions and
| |
− | * limitations under the License.
| |
− | * ======================================================================== */
| |
− |
| |
− |
| |
− | +function ($) { "use strict";
| |
− |
| |
− | // CAROUSEL CLASS DEFINITION
| |
− | // =========================
| |
− |
| |
− | var Carousel = function (element, options) {
| |
− | this.$element = $(element)
| |
− | this.$indicators = this.$element.find('.carousel-indicators')
| |
− | this.options = options
| |
− | this.paused =
| |
− | this.sliding =
| |
− | this.interval =
| |
− | this.$active =
| |
− | this.$items = null
| |
− |
| |
− | this.options.pause == 'hover' && this.$element
| |
− | .on('mouseenter', $.proxy(this.pause, this))
| |
− | .on('mouseleave', $.proxy(this.cycle, this))
| |
− | }
| |
− |
| |
− | Carousel.DEFAULTS = {
| |
− | interval: 5000
| |
− | , pause: 'hover'
| |
− | , wrap: true
| |
− | }
| |
− |
| |
− | Carousel.prototype.cycle = function (e) {
| |
− | e || (this.paused = false)
| |
− |
| |
− | this.interval && clearInterval(this.interval)
| |
− |
| |
− | this.options.interval
| |
− | && !this.paused
| |
− | && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
| |
− |
| |
− | return this
| |
− | }
| |
− |
| |
− | Carousel.prototype.getActiveIndex = function () {
| |
− | this.$active = this.$element.find('.item.active')
| |
− | this.$items = this.$active.parent().children()
| |
− |
| |
− | return this.$items.index(this.$active)
| |
− | }
| |
− |
| |
− | Carousel.prototype.to = function (pos) {
| |
− | var that = this
| |
− | var activeIndex = this.getActiveIndex()
| |
− |
| |
− | if (pos > (this.$items.length - 1) || pos < 0) return
| |
− |
| |
− | if (this.sliding) return this.$element.one('slid', function () { that.to(pos) })
| |
− | if (activeIndex == pos) return this.pause().cycle()
| |
− |
| |
− | return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
| |
− | }
| |
− |
| |
− | Carousel.prototype.pause = function (e) {
| |
− | e || (this.paused = true)
| |
− |
| |
− | if (this.$element.find('.next, .prev').length && $.support.transition.end) {
| |
− | this.$element.trigger($.support.transition.end)
| |
− | this.cycle(true)
| |
− | }
| |
− |
| |
− | this.interval = clearInterval(this.interval)
| |
− |
| |
− | return this
| |
− | }
| |
− |
| |
− | Carousel.prototype.next = function () {
| |
− | if (this.sliding) return
| |
− | return this.slide('next')
| |
− | }
| |
− |
| |
− | Carousel.prototype.prev = function () {
| |
− | if (this.sliding) return
| |
− | return this.slide('prev')
| |
− | }
| |
− |
| |
− | Carousel.prototype.slide = function (type, next) {
| |
− | var $active = this.$element.find('.item.active')
| |
− | var $next = next || $active[type]()
| |
− | var isCycling = this.interval
| |
− | var direction = type == 'next' ? 'left' : 'right'
| |
− | var fallback = type == 'next' ? 'first' : 'last'
| |
− | var that = this
| |
− |
| |
− | if (!$next.length) {
| |
− | if (!this.options.wrap) return
| |
− | $next = this.$element.find('.item')[fallback]()
| |
− | }
| |
− |
| |
− | this.sliding = true
| |
− |
| |
− | isCycling && this.pause()
| |
− |
| |
− | var e = $.Event('slide.bs.carousel', { relatedTarget: $next[0], direction: direction })
| |
− |
| |
− | if ($next.hasClass('active')) return
| |
− |
| |
− | if (this.$indicators.length) {
| |
− | this.$indicators.find('.active').removeClass('active')
| |
− | this.$element.one('slid', function () {
| |
− | var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
| |
− | $nextIndicator && $nextIndicator.addClass('active')
| |
− | })
| |
− | }
| |
− |
| |
− | if ($.support.transition && this.$element.hasClass('slide')) {
| |
− | this.$element.trigger(e)
| |
− | if (e.isDefaultPrevented()) return
| |
− | $next.addClass(type)
| |
− | $next[0].offsetWidth // force reflow
| |
− | $active.addClass(direction)
| |
− | $next.addClass(direction)
| |
− | $active
| |
− | .one($.support.transition.end, function () {
| |
− | $next.removeClass([type, direction].join(' ')).addClass('active')
| |
− | $active.removeClass(['active', direction].join(' '))
| |
− | that.sliding = false
| |
− | setTimeout(function () { that.$element.trigger('slid') }, 0)
| |
− | })
| |
− | .emulateTransitionEnd(600)
| |
− | } else {
| |
− | this.$element.trigger(e)
| |
− | if (e.isDefaultPrevented()) return
| |
− | $active.removeClass('active')
| |
− | $next.addClass('active')
| |
− | this.sliding = false
| |
− | this.$element.trigger('slid')
| |
− | }
| |
− |
| |
− | isCycling && this.cycle()
| |
− |
| |
− | return this
| |
− | }
| |
− |
| |
− |
| |
− | // CAROUSEL PLUGIN DEFINITION
| |
− | // ==========================
| |
− |
| |
− | var old = $.fn.carousel
| |
− |
| |
− | $.fn.carousel = function (option) {
| |
− | return this.each(function () {
| |
− | var $this = $(this)
| |
− | var data = $this.data('bs.carousel')
| |
− | var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
| |
− | var action = typeof option == 'string' ? option : options.slide
| |
− |
| |
− | if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
| |
− | if (typeof option == 'number') data.to(option)
| |
− | else if (action) data[action]()
| |
− | else if (options.interval) data.pause().cycle()
| |
− | })
| |
− | }
| |
− |
| |
− | $.fn.carousel.Constructor = Carousel
| |
− |
| |
− |
| |
− | // CAROUSEL NO CONFLICT
| |
− | // ====================
| |
− |
| |
− | $.fn.carousel.noConflict = function () {
| |
− | $.fn.carousel = old
| |
− | return this
| |
− | }
| |
− |
| |
− |
| |
− | // CAROUSEL DATA-API
| |
− | // =================
| |
− |
| |
− | $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
| |
− | var $this = $(this), href
| |
− | var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
| |
− | var options = $.extend({}, $target.data(), $this.data())
| |
− | var slideIndex = $this.attr('data-slide-to')
| |
− | if (slideIndex) options.interval = false
| |
− |
| |
− | $target.carousel(options)
| |
− |
| |
− | if (slideIndex = $this.attr('data-slide-to')) {
| |
− | $target.data('bs.carousel').to(slideIndex)
| |
− | }
| |
− |
| |
− | e.preventDefault()
| |
− | })
| |
− |
| |
− | $(window).on('load', function () {
| |
− | $('[data-ride="carousel"]').each(function () {
| |
− | var $carousel = $(this)
| |
− | $carousel.carousel($carousel.data())
| |
− | })
| |
− | })
| |
− |
| |
− | }(window.jQuery);
| |
− |
| |
− | /* ========================================================================
| |
− | * Bootstrap: collapse.js v3.0.0
| |
− | * http://twbs.github.com/bootstrap/javascript.html#collapse
| |
− | * ========================================================================
| |
− | * Copyright 2012 Twitter, Inc.
| |
− | *
| |
− | * Licensed under the Apache License, Version 2.0 (the "License");
| |
− | * you may not use this file except in compliance with the License.
| |
− | * You may obtain a copy of the License at
| |
− | *
| |
− | * http://www.apache.org/licenses/LICENSE-2.0
| |
− | *
| |
− | * Unless required by applicable law or agreed to in writing, software
| |
− | * distributed under the License is distributed on an "AS IS" BASIS,
| |
− | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| |
− | * See the License for the specific language governing permissions and
| |
− | * limitations under the License.
| |
− | * ======================================================================== */
| |
− |
| |
− |
| |
− | +function ($) { "use strict";
| |
− |
| |
− | // COLLAPSE PUBLIC CLASS DEFINITION
| |
− | // ================================
| |
− |
| |
− | var Collapse = function (element, options) {
| |
− | this.$element = $(element)
| |
− | this.options = $.extend({}, Collapse.DEFAULTS, options)
| |
− | this.transitioning = null
| |
− |
| |
− | if (this.options.parent) this.$parent = $(this.options.parent)
| |
− | if (this.options.toggle) this.toggle()
| |
− | }
| |
− |
| |
− | Collapse.DEFAULTS = {
| |
− | toggle: true
| |
− | }
| |
− |
| |
− | Collapse.prototype.dimension = function () {
| |
− | var hasWidth = this.$element.hasClass('width')
| |
− | return hasWidth ? 'width' : 'height'
| |
− | }
| |
− |
| |
− | Collapse.prototype.show = function () {
| |
− | if (this.transitioning || this.$element.hasClass('in')) return
| |
− |
| |
− | var startEvent = $.Event('show.bs.collapse')
| |
− | this.$element.trigger(startEvent)
| |
− | if (startEvent.isDefaultPrevented()) return
| |
− |
| |
− | var actives = this.$parent && this.$parent.find('> .panel > .in')
| |
− |
| |
− | if (actives && actives.length) {
| |
− | var hasData = actives.data('bs.collapse')
| |
− | if (hasData && hasData.transitioning) return
| |
− | actives.collapse('hide')
| |
− | hasData || actives.data('bs.collapse', null)
| |
− | }
| |
− |
| |
− | var dimension = this.dimension()
| |
− |
| |
− | this.$element
| |
− | .removeClass('collapse')
| |
− | .addClass('collapsing')
| |
− | [dimension](0)
| |
− |
| |
− | this.transitioning = 1
| |
− |
| |
− | var complete = function () {
| |
− | this.$element
| |
− | .removeClass('collapsing')
| |
− | .addClass('in')
| |
− | [dimension]('auto')
| |
− | this.transitioning = 0
| |
− | this.$element.trigger('shown.bs.collapse')
| |
− | }
| |
− |
| |
− | if (!$.support.transition) return complete.call(this)
| |
− |
| |
− | var scrollSize = $.camelCase(['scroll', dimension].join('-'))
| |
− |
| |
− | this.$element
| |
− | .one($.support.transition.end, $.proxy(complete, this))
| |
− | .emulateTransitionEnd(350)
| |
− | [dimension](this.$element[0][scrollSize])
| |
− | }
| |
− |
| |
− | Collapse.prototype.hide = function () {
| |
− | if (this.transitioning || !this.$element.hasClass('in')) return
| |
− |
| |
− | var startEvent = $.Event('hide.bs.collapse')
| |
− | this.$element.trigger(startEvent)
| |
− | if (startEvent.isDefaultPrevented()) return
| |
− |
| |
− | var dimension = this.dimension()
| |
− |
| |
− | this.$element
| |
− | [dimension](this.$element[dimension]())
| |
− | [0].offsetHeight
| |
− |
| |
− | this.$element
| |
− | .addClass('collapsing')
| |
− | .removeClass('collapse')
| |
− | .removeClass('in')
| |
− |
| |
− | this.transitioning = 1
| |
− |
| |
− | var complete = function () {
| |
− | this.transitioning = 0
| |
− | this.$element
| |
− | .trigger('hidden.bs.collapse')
| |
− | .removeClass('collapsing')
| |
− | .addClass('collapse')
| |
− | }
| |
− |
| |
− | if (!$.support.transition) return complete.call(this)
| |
− |
| |
− | this.$element
| |
− | [dimension](0)
| |
− | .one($.support.transition.end, $.proxy(complete, this))
| |
− | .emulateTransitionEnd(350)
| |
− | }
| |
− |
| |
− | Collapse.prototype.toggle = function () {
| |
− | this[this.$element.hasClass('in') ? 'hide' : 'show']()
| |
− | }
| |
− |
| |
− |
| |
− | // COLLAPSE PLUGIN DEFINITION
| |
− | // ==========================
| |
− |
| |
− | var old = $.fn.collapse
| |
− |
| |
− | $.fn.collapse = function (option) {
| |
− | return this.each(function () {
| |
− | var $this = $(this)
| |
− | var data = $this.data('bs.collapse')
| |
− | var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
| |
− |
| |
− | if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
| |
− | if (typeof option == 'string') data[option]()
| |
− | })
| |
− | }
| |
− |
| |
− | $.fn.collapse.Constructor = Collapse
| |
− |
| |
− |
| |
− | // COLLAPSE NO CONFLICT
| |
− | // ====================
| |
− |
| |
− | $.fn.collapse.noConflict = function () {
| |
− | $.fn.collapse = old
| |
− | return this
| |
− | }
| |
− |
| |
− |
| |
− | // COLLAPSE DATA-API
| |
− | // =================
| |
− |
| |
− | $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {
| |
− | var $this = $(this), href
| |
− | var target = $this.attr('data-target')
| |
− | || e.preventDefault()
| |
− | || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
| |
− | var $target = $(target)
| |
− | var data = $target.data('bs.collapse')
| |
− | var option = data ? 'toggle' : $this.data()
| |
− | var parent = $this.attr('data-parent')
| |
− | var $parent = parent && $(parent)
| |
− |
| |
− | if (!data || !data.transitioning) {
| |
− | if ($parent) $parent.find('[data-toggle=collapse][data-parent="' + parent + '"]').not($this).addClass('collapsed')
| |
− | $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
| |
− | }
| |
− |
| |
− | $target.collapse(option)
| |
− | })
| |
− |
| |
− | }(window.jQuery);
| |
− |
| |
− | /* ========================================================================
| |
− | * Bootstrap: dropdown.js v3.0.0
| |
− | * http://twbs.github.com/bootstrap/javascript.html#dropdowns
| |
− | * ========================================================================
| |
− | * Copyright 2012 Twitter, Inc.
| |
− | *
| |
− | * Licensed under the Apache License, Version 2.0 (the "License");
| |
− | * you may not use this file except in compliance with the License.
| |
− | * You may obtain a copy of the License at
| |
− | *
| |
− | * http://www.apache.org/licenses/LICENSE-2.0
| |
− | *
| |
− | * Unless required by applicable law or agreed to in writing, software
| |
− | * distributed under the License is distributed on an "AS IS" BASIS,
| |
− | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| |
− | * See the License for the specific language governing permissions and
| |
− | * limitations under the License.
| |
− | * ======================================================================== */
| |
− |
| |
− |
| |
− | +function ($) { "use strict";
| |
− |
| |
− | // DROPDOWN CLASS DEFINITION
| |
− | // =========================
| |
− |
| |
− | var backdrop = '.dropdown-backdrop'
| |
− | var toggle = '[data-toggle=dropdown]'
| |
− | var Dropdown = function (element) {
| |
− | var $el = $(element).on('click.bs.dropdown', this.toggle)
| |
− | }
| |
− |
| |
− | Dropdown.prototype.toggle = function (e) {
| |
− | var $this = $(this)
| |
− |
| |
− | if ($this.is('.disabled, :disabled')) return
| |
− |
| |
− | var $parent = getParent($this)
| |
− | var isActive = $parent.hasClass('open')
| |
− |
| |
− | clearMenus()
| |
− |
| |
− | if (!isActive) {
| |
− | if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
| |
− | // if mobile we we use a backdrop because click events don't delegate
| |
− | $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
| |
− | }
| |
− |
| |
− | $parent.trigger(e = $.Event('show.bs.dropdown'))
| |
− |
| |
− | if (e.isDefaultPrevented()) return
| |
− |
| |
− | $parent
| |
− | .toggleClass('open')
| |
− | .trigger('shown.bs.dropdown')
| |
− |
| |
− | $this.focus()
| |
− | }
| |
− |
| |
− | return false
| |
− | }
| |
− |
| |
− | Dropdown.prototype.keydown = function (e) {
| |
− | if (!/(38|40|27)/.test(e.keyCode)) return
| |
− |
| |
− | var $this = $(this)
| |
− |
| |
− | e.preventDefault()
| |
− | e.stopPropagation()
| |
− |
| |
− | if ($this.is('.disabled, :disabled')) return
| |
− |
| |
− | var $parent = getParent($this)
| |
− | var isActive = $parent.hasClass('open')
| |
− |
| |
− | if (!isActive || (isActive && e.keyCode == 27)) {
| |
− | if (e.which == 27) $parent.find(toggle).focus()
| |
− | return $this.click()
| |
− | }
| |
− |
| |
− | var $items = $('[role=menu] li:not(.divider):visible a', $parent)
| |
− |
| |
− | if (!$items.length) return
| |
− |
| |
− | var index = $items.index($items.filter(':focus'))
| |
− |
| |
− | if (e.keyCode == 38 && index > 0) index-- // up
| |
− | if (e.keyCode == 40 && index < $items.length - 1) index++ // down
| |
− | if (!~index) index=0
| |
− |
| |
− | $items.eq(index).focus()
| |
− | }
| |
− |
| |
− | function clearMenus() {
| |
− | $(backdrop).remove()
| |
− | $(toggle).each(function (e) {
| |
− | var $parent = getParent($(this))
| |
− | if (!$parent.hasClass('open')) return
| |
− | $parent.trigger(e = $.Event('hide.bs.dropdown'))
| |
− | if (e.isDefaultPrevented()) return
| |
− | $parent.removeClass('open').trigger('hidden.bs.dropdown')
| |
− | })
| |
− | }
| |
− |
| |
− | function getParent($this) {
| |
− | var selector = $this.attr('data-target')
| |
− |
| |
− | if (!selector) {
| |
− | selector = $this.attr('href')
| |
− | selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
| |
− | }
| |
− |
| |
− | var $parent = selector && $(selector)
| |
− |
| |
− | return $parent && $parent.length ? $parent : $this.parent()
| |
− | }
| |
− |
| |
− |
| |
− | // DROPDOWN PLUGIN DEFINITION
| |
− | // ==========================
| |
− |
| |
− | var old = $.fn.dropdown
| |
− |
| |
− | $.fn.dropdown = function (option) {
| |
− | return this.each(function () {
| |
− | var $this = $(this)
| |
− | var data = $this.data('dropdown')
| |
− |
| |
− | if (!data) $this.data('dropdown', (data = new Dropdown(this)))
| |
− | if (typeof option == 'string') data[option].call($this)
| |
− | })
| |
− | }
| |
− |
| |
− | $.fn.dropdown.Constructor = Dropdown
| |
− |
| |
− |
| |
− | // DROPDOWN NO CONFLICT
| |
− | // ====================
| |
− |
| |
− | $.fn.dropdown.noConflict = function () {
| |
− | $.fn.dropdown = old
| |
− | return this
| |
− | }
| |
− |
| |
− |
| |
− | // APPLY TO STANDARD DROPDOWN ELEMENTS
| |
− | // ===================================
| |
− |
| |
− | $(document)
| |
− | .on('click.bs.dropdown.data-api', clearMenus)
| |
− | .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
| |
− | .on('click.bs.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
| |
− | .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
| |
− |
| |
− | }(window.jQuery);
| |
− |
| |
− | /* ========================================================================
| |
− | * Bootstrap: modal.js v3.0.0
| |
− | * http://twbs.github.com/bootstrap/javascript.html#modals
| |
− | * ========================================================================
| |
− | * Copyright 2012 Twitter, Inc.
| |
− | *
| |
− | * Licensed under the Apache License, Version 2.0 (the "License");
| |
− | * you may not use this file except in compliance with the License.
| |
− | * You may obtain a copy of the License at
| |
− | *
| |
− | * http://www.apache.org/licenses/LICENSE-2.0
| |
− | *
| |
− | * Unless required by applicable law or agreed to in writing, software
| |
− | * distributed under the License is distributed on an "AS IS" BASIS,
| |
− | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| |
− | * See the License for the specific language governing permissions and
| |
− | * limitations under the License.
| |
− | * ======================================================================== */
| |
− |
| |
− |
| |
− | +function ($) { "use strict";
| |
− |
| |
− | // MODAL CLASS DEFINITION
| |
− | // ======================
| |
− |
| |
− | var Modal = function (element, options) {
| |
− | this.options = options
| |
− | this.$element = $(element)
| |
− | this.$backdrop =
| |
− | this.isShown = null
| |
− |
| |
− | if (this.options.remote) this.$element.load(this.options.remote)
| |
− | }
| |
− |
| |
− | Modal.DEFAULTS = {
| |
− | backdrop: true
| |
− | , keyboard: true
| |
− | , show: true
| |
− | }
| |
− |
| |
− | Modal.prototype.toggle = function (_relatedTarget) {
| |
− | return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)
| |
− | }
| |
− |
| |
− | Modal.prototype.show = function (_relatedTarget) {
| |
− | var that = this
| |
− | var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
| |
− |
| |
− | this.$element.trigger(e)
| |
− |
| |
− | if (this.isShown || e.isDefaultPrevented()) return
| |
− |
| |
− | this.isShown = true
| |
− |
| |
− | this.escape()
| |
− |
| |
− | this.$element.on('click.dismiss.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
| |
− |
| |
− | this.backdrop(function () {
| |
− | var transition = $.support.transition && that.$element.hasClass('fade')
| |
− |
| |
− | if (!that.$element.parent().length) {
| |
− | that.$element.appendTo(document.body) // don't move modals dom position
| |
− | }
| |
− |
| |
− | that.$element.show()
| |
− |
| |
− | if (transition) {
| |
− | that.$element[0].offsetWidth // force reflow
| |
− | }
| |
− |
| |
− | that.$element
| |
− | .addClass('in')
| |
− | .attr('aria-hidden', false)
| |
− |
| |
− | that.enforceFocus()
| |
− |
| |
− | var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
| |
− |
| |
− | transition ?
| |
− | that.$element.find('.modal-dialog') // wait for modal to slide in
| |
− | .one($.support.transition.end, function () {
| |
− | that.$element.focus().trigger(e)
| |
− | })
| |
− | .emulateTransitionEnd(300) :
| |
− | that.$element.focus().trigger(e)
| |
− | })
| |
− | }
| |
− |
| |
− | Modal.prototype.hide = function (e) {
| |
− | if (e) e.preventDefault()
| |
− |
| |
− | e = $.Event('hide.bs.modal')
| |
− |
| |
− | this.$element.trigger(e)
| |
− |
| |
− | if (!this.isShown || e.isDefaultPrevented()) return
| |
− |
| |
− | this.isShown = false
| |
− |
| |
− | this.escape()
| |
− |
| |
− | $(document).off('focusin.bs.modal')
| |
− |
| |
− | this.$element
| |
− | .removeClass('in')
| |
− | .attr('aria-hidden', true)
| |
− | .off('click.dismiss.modal')
| |
− |
| |
− | $.support.transition && this.$element.hasClass('fade') ?
| |
− | this.$element
| |
− | .one($.support.transition.end, $.proxy(this.hideModal, this))
| |
− | .emulateTransitionEnd(300) :
| |
− | this.hideModal()
| |
− | }
| |
− |
| |
− | Modal.prototype.enforceFocus = function () {
| |
− | $(document)
| |
− | .off('focusin.bs.modal') // guard against infinite focus loop
| |
− | .on('focusin.bs.modal', $.proxy(function (e) {
| |
− | if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
| |
− | this.$element.focus()
| |
− | }
| |
− | }, this))
| |
− | }
| |
− |
| |
− | Modal.prototype.escape = function () {
| |
− | if (this.isShown && this.options.keyboard) {
| |
− | this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
| |
− | e.which == 27 && this.hide()
| |
− | }, this))
| |
− | } else if (!this.isShown) {
| |
− | this.$element.off('keyup.dismiss.bs.modal')
| |
− | }
| |
− | }
| |
− |
| |
− | Modal.prototype.hideModal = function () {
| |
− | var that = this
| |
− | this.$element.hide()
| |
− | this.backdrop(function () {
| |
− | that.removeBackdrop()
| |
− | that.$element.trigger('hidden.bs.modal')
| |
− | })
| |
− | }
| |
− |
| |
− | Modal.prototype.removeBackdrop = function () {
| |
− | this.$backdrop && this.$backdrop.remove()
| |
− | this.$backdrop = null
| |
− | }
| |
− |
| |
− | Modal.prototype.backdrop = function (callback) {
| |
− | var that = this
| |
− | var animate = this.$element.hasClass('fade') ? 'fade' : ''
| |
− |
| |
− | if (this.isShown && this.options.backdrop) {
| |
− | var doAnimate = $.support.transition && animate
| |
− |
| |
− | this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
| |
− | .appendTo(document.body)
| |
− |
| |
− | this.$element.on('click.dismiss.modal', $.proxy(function (e) {
| |
− | if (e.target !== e.currentTarget) return
| |
− | this.options.backdrop == 'static'
| |
− | ? this.$element[0].focus.call(this.$element[0])
| |
− | : this.hide.call(this)
| |
− | }, this))
| |
− |
| |
− | if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
| |
− |
| |
− | this.$backdrop.addClass('in')
| |
− |
| |
− | if (!callback) return
| |
− |
| |
− | doAnimate ?
| |
− | this.$backdrop
| |
− | .one($.support.transition.end, callback)
| |
− | .emulateTransitionEnd(150) :
| |
− | callback()
| |
− |
| |
− | } else if (!this.isShown && this.$backdrop) {
| |
− | this.$backdrop.removeClass('in')
| |
− |
| |
− | $.support.transition && this.$element.hasClass('fade')?
| |
− | this.$backdrop
| |
− | .one($.support.transition.end, callback)
| |
− | .emulateTransitionEnd(150) :
| |
− | callback()
| |
− |
| |
− | } else if (callback) {
| |
− | callback()
| |
− | }
| |
− | }
| |
− |
| |
− |
| |
− | // MODAL PLUGIN DEFINITION
| |
− | // =======================
| |
− |
| |
− | var old = $.fn.modal
| |
− |
| |
− | $.fn.modal = function (option, _relatedTarget) {
| |
− | return this.each(function () {
| |
− | var $this = $(this)
| |
− | var data = $this.data('bs.modal')
| |
− | var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
| |
− |
| |
− | if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
| |
− | if (typeof option == 'string') data[option](_relatedTarget)
| |
− | else if (options.show) data.show(_relatedTarget)
| |
− | })
| |
− | }
| |
− |
| |
− | $.fn.modal.Constructor = Modal
| |
− |
| |
− |
| |
− | // MODAL NO CONFLICT
| |
− | // =================
| |
− |
| |
− | $.fn.modal.noConflict = function () {
| |
− | $.fn.modal = old
| |
− | return this
| |
− | }
| |
− |
| |
− |
| |
− | // MODAL DATA-API
| |
− | // ==============
| |
− |
| |
− | $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
| |
− | var $this = $(this)
| |
− | var href = $this.attr('href')
| |
− | var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
| |
− | var option = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
| |
− |
| |
− | e.preventDefault()
| |
− |
| |
− | $target
| |
− | .modal(option, this)
| |
− | .one('hide', function () {
| |
− | $this.is(':visible') && $this.focus()
| |
− | })
| |
− | })
| |
− |
| |
− | $(document)
| |
− | .on('show.bs.modal', '.modal', function () { $(document.body).addClass('modal-open') })
| |
− | .on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })
| |
− |
| |
− | }(window.jQuery);
| |
− |
| |
− | /* ========================================================================
| |
− | * Bootstrap: tooltip.js v3.0.0
| |
− | * http://twbs.github.com/bootstrap/javascript.html#tooltip
| |
− | * Inspired by the original jQuery.tipsy by Jason Frame
| |
− | * ========================================================================
| |
− | * Copyright 2012 Twitter, Inc.
| |
− | *
| |
− | * Licensed under the Apache License, Version 2.0 (the "License");
| |
− | * you may not use this file except in compliance with the License.
| |
− | * You may obtain a copy of the License at
| |
− | *
| |
− | * http://www.apache.org/licenses/LICENSE-2.0
| |
− | *
| |
− | * Unless required by applicable law or agreed to in writing, software
| |
− | * distributed under the License is distributed on an "AS IS" BASIS,
| |
− | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| |
− | * See the License for the specific language governing permissions and
| |
− | * limitations under the License.
| |
− | * ======================================================================== */
| |
− |
| |
− |
| |
− | +function ($) { "use strict";
| |
− |
| |
− | // TOOLTIP PUBLIC CLASS DEFINITION
| |
− | // ===============================
| |
− |
| |
− | var Tooltip = function (element, options) {
| |
− | this.type =
| |
− | this.options =
| |
− | this.enabled =
| |
− | this.timeout =
| |
− | this.hoverState =
| |
− | this.$element = null
| |
− |
| |
− | this.init('tooltip', element, options)
| |
− | }
| |
− |
| |
− | Tooltip.DEFAULTS = {
| |
− | animation: true
| |
− | , placement: 'top'
| |
− | , selector: false
| |
− | , template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
| |
− | , trigger: 'hover focus'
| |
− | , title: ''
| |
− | , delay: 0
| |
− | , html: false
| |
− | , container: false
| |
− | }
| |
− |
| |
− | Tooltip.prototype.init = function (type, element, options) {
| |
− | this.enabled = true
| |
− | this.type = type
| |
− | this.$element = $(element)
| |
− | this.options = this.getOptions(options)
| |
− |
| |
− | var triggers = this.options.trigger.split(' ')
| |
− |
| |
− | for (var i = triggers.length; i--;) {
| |
− | var trigger = triggers[i]
| |
− |
| |
− | if (trigger == 'click') {
| |
− | this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
| |
− | } else if (trigger != 'manual') {
| |
− | var eventIn = trigger == 'hover' ? 'mouseenter' : 'focus'
| |
− | var eventOut = trigger == 'hover' ? 'mouseleave' : 'blur'
| |
− |
| |
− | this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
| |
− | this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
| |
− | }
| |
− | }
| |
− |
| |
− | this.options.selector ?
| |
− | (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
| |
− | this.fixTitle()
| |
− | }
| |
− |
| |
− | Tooltip.prototype.getDefaults = function () {
| |
− | return Tooltip.DEFAULTS
| |
− | }
| |
− |
| |
− | Tooltip.prototype.getOptions = function (options) {
| |
− | options = $.extend({}, this.getDefaults(), this.$element.data(), options)
| |
− |
| |
− | if (options.delay && typeof options.delay == 'number') {
| |
− | options.delay = {
| |
− | show: options.delay
| |
− | , hide: options.delay
| |
− | }
| |
− | }
| |
− |
| |
− | return options
| |
− | }
| |
− |
| |
− | Tooltip.prototype.getDelegateOptions = function () {
| |
− | var options = {}
| |
− | var defaults = this.getDefaults()
| |
− |
| |
− | this._options && $.each(this._options, function (key, value) {
| |
− | if (defaults[key] != value) options[key] = value
| |
− | })
| |
− |
| |
− | return options
| |
− | }
| |
− |
| |
− | Tooltip.prototype.enter = function (obj) {
| |
− | var self = obj instanceof this.constructor ?
| |
− | obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
| |
− |
| |
− | clearTimeout(self.timeout)
| |
− |
| |
− | self.hoverState = 'in'
| |
− |
| |
− | if (!self.options.delay || !self.options.delay.show) return self.show()
| |
− |
| |
− | self.timeout = setTimeout(function () {
| |
− | if (self.hoverState == 'in') self.show()
| |
− | }, self.options.delay.show)
| |
− | }
| |
− |
| |
− | Tooltip.prototype.leave = function (obj) {
| |
− | var self = obj instanceof this.constructor ?
| |
− | obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
| |
− |
| |
− | clearTimeout(self.timeout)
| |
− |
| |
− | self.hoverState = 'out'
| |
− |
| |
− | if (!self.options.delay || !self.options.delay.hide) return self.hide()
| |
− |
| |
− | self.timeout = setTimeout(function () {
| |
− | if (self.hoverState == 'out') self.hide()
| |
− | }, self.options.delay.hide)
| |
− | }
| |
− |
| |
− | Tooltip.prototype.show = function () {
| |
− | var e = $.Event('show.bs.'+ this.type)
| |
− |
| |
− | if (this.hasContent() && this.enabled) {
| |
− | this.$element.trigger(e)
| |
− |
| |
− | if (e.isDefaultPrevented()) return
| |
− |
| |
− | var $tip = this.tip()
| |
− |
| |
− | this.setContent()
| |
− |
| |
− | if (this.options.animation) $tip.addClass('fade')
| |
− |
| |
− | var placement = typeof this.options.placement == 'function' ?
| |
− | this.options.placement.call(this, $tip[0], this.$element[0]) :
| |
− | this.options.placement
| |
− |
| |
− | var autoToken = /\s?auto?\s?/i
| |
− | var autoPlace = autoToken.test(placement)
| |
− | if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
| |
− |
| |
− | $tip
| |
− | .detach()
| |
− | .css({ top: 0, left: 0, display: 'block' })
| |
− | .addClass(placement)
| |
− |
| |
− | this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
| |
− |
| |
− | var pos = this.getPosition()
| |
− | var actualWidth = $tip[0].offsetWidth
| |
− | var actualHeight = $tip[0].offsetHeight
| |
− |
| |
− | if (autoPlace) {
| |
− | var $parent = this.$element.parent()
| |
− |
| |
− | var orgPlacement = placement
| |
− | var docScroll = document.documentElement.scrollTop || document.body.scrollTop
| |
− | var parentWidth = this.options.container == 'body' ? window.innerWidth : $parent.outerWidth()
| |
− | var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight()
| |
− | var parentLeft = this.options.container == 'body' ? 0 : $parent.offset().left
| |
− |
| |
− | placement = placement == 'bottom' && pos.top + pos.height + actualHeight - docScroll > parentHeight ? 'top' :
| |
− | placement == 'top' && pos.top - docScroll - actualHeight < 0 ? 'bottom' :
| |
− | placement == 'right' && pos.right + actualWidth > parentWidth ? 'left' :
| |
− | placement == 'left' && pos.left - actualWidth < parentLeft ? 'right' :
| |
− | placement
| |
− |
| |
− | $tip
| |
− | .removeClass(orgPlacement)
| |
− | .addClass(placement)
| |
− | }
| |
− |
| |
− | var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
| |
− |
| |
− | this.applyPlacement(calculatedOffset, placement)
| |
− | this.$element.trigger('shown.bs.' + this.type)
| |
− | }
| |
− | }
| |
− |
| |
− | Tooltip.prototype.applyPlacement = function(offset, placement) {
| |
− | var replace
| |
− | var $tip = this.tip()
| |
− | var width = $tip[0].offsetWidth
| |
− | var height = $tip[0].offsetHeight
| |
− |
| |
− | // manually read margins because getBoundingClientRect includes difference
| |
− | var marginTop = parseInt($tip.css('margin-top'), 10)
| |
− | var marginLeft = parseInt($tip.css('margin-left'), 10)
| |
− |
| |
− | // we must check for NaN for ie 8/9
| |
− | if (isNaN(marginTop)) marginTop = 0
| |
− | if (isNaN(marginLeft)) marginLeft = 0
| |
− |
| |
− | offset.top = offset.top + marginTop
| |
− | offset.left = offset.left + marginLeft
| |
− |
| |
− | $tip
| |
− | .offset(offset)
| |
− | .addClass('in')
| |
− |
| |
− | // check to see if placing tip in new offset caused the tip to resize itself
| |
− | var actualWidth = $tip[0].offsetWidth
| |
− | var actualHeight = $tip[0].offsetHeight
| |
− |
| |
− | if (placement == 'top' && actualHeight != height) {
| |
− | replace = true
| |
− | offset.top = offset.top + height - actualHeight
| |
− | }
| |
− |
| |
− | if (/bottom|top/.test(placement)) {
| |
− | var delta = 0
| |
− |
| |
− | if (offset.left < 0) {
| |
− | delta = offset.left * -2
| |
− | offset.left = 0
| |
− |
| |
− | $tip.offset(offset)
| |
− |
| |
− | actualWidth = $tip[0].offsetWidth
| |
− | actualHeight = $tip[0].offsetHeight
| |
− | }
| |
− |
| |
− | this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')
| |
− | } else {
| |
− | this.replaceArrow(actualHeight - height, actualHeight, 'top')
| |
− | }
| |
− |
| |
− | if (replace) $tip.offset(offset)
| |
− | }
| |
− |
| |
− | Tooltip.prototype.replaceArrow = function(delta, dimension, position) {
| |
− | this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + "%") : '')
| |
− | }
| |
− |
| |
− | Tooltip.prototype.setContent = function () {
| |
− | var $tip = this.tip()
| |
− | var title = this.getTitle()
| |
− |
| |
− | $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
| |
− | $tip.removeClass('fade in top bottom left right')
| |
− | }
| |
− |
| |
− | Tooltip.prototype.hide = function () {
| |
− | var that = this
| |
− | var $tip = this.tip()
| |
− | var e = $.Event('hide.bs.' + this.type)
| |
− |
| |
− | function complete() {
| |
− | if (that.hoverState != 'in') $tip.detach()
| |
− | }
| |
− |
| |
− | this.$element.trigger(e)
| |
− |
| |
− | if (e.isDefaultPrevented()) return
| |
− |
| |
− | $tip.removeClass('in')
| |
− |
| |
− | $.support.transition && this.$tip.hasClass('fade') ?
| |
− | $tip
| |
− | .one($.support.transition.end, complete)
| |
− | .emulateTransitionEnd(150) :
| |
− | complete()
| |
− |
| |
− | this.$element.trigger('hidden.bs.' + this.type)
| |
− |
| |
− | return this
| |
− | }
| |
− |
| |
− | Tooltip.prototype.fixTitle = function () {
| |
− | var $e = this.$element
| |
− | if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
| |
− | $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
| |
− | }
| |
− | }
| |
− |
| |
− | Tooltip.prototype.hasContent = function () {
| |
− | return this.getTitle()
| |
− | }
| |
− |
| |
− | Tooltip.prototype.getPosition = function () {
| |
− | var el = this.$element[0]
| |
− | return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {
| |
− | width: el.offsetWidth
| |
− | , height: el.offsetHeight
| |
− | }, this.$element.offset())
| |
− | }
| |
− |
| |
− | Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
| |
− | return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
| |
− | placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
| |
− | placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
| |
− | /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
| |
− | }
| |
− |
| |
− | Tooltip.prototype.getTitle = function () {
| |
− | var title
| |
− | var $e = this.$element
| |
− | var o = this.options
| |
− |
| |
− | title = $e.attr('data-original-title')
| |
− | || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
| |
− |
| |
− | return title
| |
− | }
| |
− |
| |
− | Tooltip.prototype.tip = function () {
| |
− | return this.$tip = this.$tip || $(this.options.template)
| |
− | }
| |
− |
| |
− | Tooltip.prototype.arrow = function () {
| |
− | return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')
| |
− | }
| |
− |
| |
− | Tooltip.prototype.validate = function () {
| |
− | if (!this.$element[0].parentNode) {
| |
− | this.hide()
| |
− | this.$element = null
| |
− | this.options = null
| |
− | }
| |
− | }
| |
− |
| |
− | Tooltip.prototype.enable = function () {
| |
− | this.enabled = true
| |
− | }
| |
− |
| |
− | Tooltip.prototype.disable = function () {
| |
− | this.enabled = false
| |
− | }
| |
− |
| |
− | Tooltip.prototype.toggleEnabled = function () {
| |
− | this.enabled = !this.enabled
| |
− | }
| |
− |
| |
− | Tooltip.prototype.toggle = function (e) {
| |
− | var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this
| |
− | self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
| |
− | }
| |
− |
| |
− | Tooltip.prototype.destroy = function () {
| |
− | this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
| |
− | }
| |
− |
| |
− |
| |
− | // TOOLTIP PLUGIN DEFINITION
| |
− | // =========================
| |
− |
| |
− | var old = $.fn.tooltip
| |
− |
| |
− | $.fn.tooltip = function (option) {
| |
− | return this.each(function () {
| |
− | var $this = $(this)
| |
− | var data = $this.data('bs.tooltip')
| |
− | var options = typeof option == 'object' && option
| |
− |
| |
− | if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
| |
− | if (typeof option == 'string') data[option]()
| |
− | })
| |
− | }
| |
− |
| |
− | $.fn.tooltip.Constructor = Tooltip
| |
− |
| |
− |
| |
− | // TOOLTIP NO CONFLICT
| |
− | // ===================
| |
− |
| |
− | $.fn.tooltip.noConflict = function () {
| |
− | $.fn.tooltip = old
| |
− | return this
| |
− | }
| |
− |
| |
− | }(window.jQuery);
| |
− |
| |
− | /* ========================================================================
| |
− | * Bootstrap: popover.js v3.0.0
| |
− | * http://twbs.github.com/bootstrap/javascript.html#popovers
| |
− | * ========================================================================
| |
− | * Copyright 2012 Twitter, Inc.
| |
− | *
| |
− | * Licensed under the Apache License, Version 2.0 (the "License");
| |
− | * you may not use this file except in compliance with the License.
| |
− | * You may obtain a copy of the License at
| |
− | *
| |
− | * http://www.apache.org/licenses/LICENSE-2.0
| |
− | *
| |
− | * Unless required by applicable law or agreed to in writing, software
| |
− | * distributed under the License is distributed on an "AS IS" BASIS,
| |
− | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| |
− | * See the License for the specific language governing permissions and
| |
− | * limitations under the License.
| |
− | * ======================================================================== */
| |
− |
| |
− |
| |
− | +function ($) { "use strict";
| |
− |
| |
− | // POPOVER PUBLIC CLASS DEFINITION
| |
− | // ===============================
| |
− |
| |
− | var Popover = function (element, options) {
| |
− | this.init('popover', element, options)
| |
− | }
| |
− |
| |
− | if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
| |
− |
| |
− | Popover.DEFAULTS = $.extend({} , $.fn.tooltip.Constructor.DEFAULTS, {
| |
− | placement: 'right'
| |
− | , trigger: 'click'
| |
− | , content: ''
| |
− | , template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
| |
− | })
| |
− |
| |
− |
| |
− | // NOTE: POPOVER EXTENDS tooltip.js
| |
− | // ================================
| |
− |
| |
− | Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
| |
− |
| |
− | Popover.prototype.constructor = Popover
| |
− |
| |
− | Popover.prototype.getDefaults = function () {
| |
− | return Popover.DEFAULTS
| |
− | }
| |
− |
| |
− | Popover.prototype.setContent = function () {
| |
− | var $tip = this.tip()
| |
− | var title = this.getTitle()
| |
− | var content = this.getContent()
| |
− |
| |
− | $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
| |
− | $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)
| |
− |
| |
− | $tip.removeClass('fade top bottom left right in')
| |
− |
| |
− | // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
| |
− | // this manually by checking the contents.
| |
− | if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
| |
− | }
| |
− |
| |
− | Popover.prototype.hasContent = function () {
| |
− | return this.getTitle() || this.getContent()
| |
− | }
| |
− |
| |
− | Popover.prototype.getContent = function () {
| |
− | var $e = this.$element
| |
− | var o = this.options
| |
− |
| |
− | return $e.attr('data-content')
| |
− | || (typeof o.content == 'function' ?
| |
− | o.content.call($e[0]) :
| |
− | o.content)
| |
− | }
| |
− |
| |
− | Popover.prototype.arrow = function () {
| |
− | return this.$arrow = this.$arrow || this.tip().find('.arrow')
| |
− | }
| |
− |
| |
− | Popover.prototype.tip = function () {
| |
− | if (!this.$tip) this.$tip = $(this.options.template)
| |
− | return this.$tip
| |
− | }
| |
− |
| |
− |
| |
− | // POPOVER PLUGIN DEFINITION
| |
− | // =========================
| |
− |
| |
− | var old = $.fn.popover
| |
− |
| |
− | $.fn.popover = function (option) {
| |
− | return this.each(function () {
| |
− | var $this = $(this)
| |
− | var data = $this.data('bs.popover')
| |
− | var options = typeof option == 'object' && option
| |
− |
| |
− | if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
| |
− | if (typeof option == 'string') data[option]()
| |
− | })
| |
− | }
| |
− |
| |
− | $.fn.popover.Constructor = Popover
| |
− |
| |
− |
| |
− | // POPOVER NO CONFLICT
| |
− | // ===================
| |
− |
| |
− | $.fn.popover.noConflict = function () {
| |
− | $.fn.popover = old
| |
− | return this
| |
− | }
| |
− |
| |
− | }(window.jQuery);
| |
− |
| |
− | /* ========================================================================
| |
− | * Bootstrap: scrollspy.js v3.0.0
| |
− | * http://twbs.github.com/bootstrap/javascript.html#scrollspy
| |
− | * ========================================================================
| |
− | * Copyright 2012 Twitter, Inc.
| |
− | *
| |
− | * Licensed under the Apache License, Version 2.0 (the "License");
| |
− | * you may not use this file except in compliance with the License.
| |
− | * You may obtain a copy of the License at
| |
− | *
| |
− | * http://www.apache.org/licenses/LICENSE-2.0
| |
− | *
| |
− | * Unless required by applicable law or agreed to in writing, software
| |
− | * distributed under the License is distributed on an "AS IS" BASIS,
| |
− | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| |
− | * See the License for the specific language governing permissions and
| |
− | * limitations under the License.
| |
− | * ======================================================================== */
| |
− |
| |
− |
| |
− | +function ($) { "use strict";
| |
− |
| |
− | // SCROLLSPY CLASS DEFINITION
| |
− | // ==========================
| |
− |
| |
− | function ScrollSpy(element, options) {
| |
− | var href
| |
− | var process = $.proxy(this.process, this)
| |
− |
| |
− | this.$element = $(element).is('body') ? $(window) : $(element)
| |
− | this.$body = $('body')
| |
− | this.$scrollElement = this.$element.on('scroll.bs.scroll-spy.data-api', process)
| |
− | this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
| |
− | this.selector = (this.options.target
| |
− | || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
| |
− | || '') + ' .nav li > a'
| |
− | this.offsets = $([])
| |
− | this.targets = $([])
| |
− | this.activeTarget = null
| |
− |
| |
− | this.refresh()
| |
− | this.process()
| |
− | }
| |
− |
| |
− | ScrollSpy.DEFAULTS = {
| |
− | offset: 10
| |
− | }
| |
− |
| |
− | ScrollSpy.prototype.refresh = function () {
| |
− | var offsetMethod = this.$element[0] == window ? 'offset' : 'position'
| |
− |
| |
− | this.offsets = $([])
| |
− | this.targets = $([])
| |
− |
| |
− | var self = this
| |
− | var $targets = this.$body
| |
− | .find(this.selector)
| |
− | .map(function () {
| |
− | var $el = $(this)
| |
− | var href = $el.data('target') || $el.attr('href')
| |
− | var $href = /^#\w/.test(href) && $(href)
| |
− |
| |
− | return ($href
| |
− | && $href.length
| |
− | && [[ $href[offsetMethod]().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]]) || null
| |
− | })
| |
− | .sort(function (a, b) { return a[0] - b[0] })
| |
− | .each(function () {
| |
− | self.offsets.push(this[0])
| |
− | self.targets.push(this[1])
| |
− | })
| |
− | }
| |
− |
| |
− | ScrollSpy.prototype.process = function () {
| |
− | var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
| |
− | var scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight
| |
− | var maxScroll = scrollHeight - this.$scrollElement.height()
| |
− | var offsets = this.offsets
| |
− | var targets = this.targets
| |
− | var activeTarget = this.activeTarget
| |
− | var i
| |
− |
| |
− | if (scrollTop >= maxScroll) {
| |
− | return activeTarget != (i = targets.last()[0]) && this.activate(i)
| |
− | }
| |
− |
| |
− | for (i = offsets.length; i--;) {
| |
− | activeTarget != targets[i]
| |
− | && scrollTop >= offsets[i]
| |
− | && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
| |
− | && this.activate( targets[i] )
| |
− | }
| |
− | }
| |
− |
| |
− | ScrollSpy.prototype.activate = function (target) {
| |
− | this.activeTarget = target
| |
− |
| |
− | $(this.selector)
| |
− | .parents('.active')
| |
− | .removeClass('active')
| |
− |
| |
− | var selector = this.selector
| |
− | + '[data-target="' + target + '"],'
| |
− | + this.selector + '[href="' + target + '"]'
| |
− |
| |
− | var active = $(selector)
| |
− | .parents('li')
| |
− | .addClass('active')
| |
− |
| |
− | if (active.parent('.dropdown-menu').length) {
| |
− | active = active
| |
− | .closest('li.dropdown')
| |
− | .addClass('active')
| |
− | }
| |
− |
| |
− | active.trigger('activate')
| |
− | }
| |
− |
| |
− |
| |
− | // SCROLLSPY PLUGIN DEFINITION
| |
− | // ===========================
| |
− |
| |
− | var old = $.fn.scrollspy
| |
− |
| |
− | $.fn.scrollspy = function (option) {
| |
− | return this.each(function () {
| |
− | var $this = $(this)
| |
− | var data = $this.data('bs.scrollspy')
| |
− | var options = typeof option == 'object' && option
| |
− |
| |
− | if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
| |
− | if (typeof option == 'string') data[option]()
| |
− | })
| |
− | }
| |
− |
| |
− | $.fn.scrollspy.Constructor = ScrollSpy
| |
− |
| |
− |
| |
− | // SCROLLSPY NO CONFLICT
| |
− | // =====================
| |
− |
| |
− | $.fn.scrollspy.noConflict = function () {
| |
− | $.fn.scrollspy = old
| |
− | return this
| |
− | }
| |
− |
| |
− |
| |
− | // SCROLLSPY DATA-API
| |
− | // ==================
| |
− |
| |
− | $(window).on('load', function () {
| |
− | $('[data-spy="scroll"]').each(function () {
| |
− | var $spy = $(this)
| |
− | $spy.scrollspy($spy.data())
| |
− | })
| |
− | })
| |
− |
| |
− | }(window.jQuery);
| |
− |
| |
− | /* ========================================================================
| |
− | * Bootstrap: tab.js v3.0.0
| |
− | * http://twbs.github.com/bootstrap/javascript.html#tabs
| |
− | * ========================================================================
| |
− | * Copyright 2012 Twitter, Inc.
| |
− | *
| |
− | * Licensed under the Apache License, Version 2.0 (the "License");
| |
− | * you may not use this file except in compliance with the License.
| |
− | * You may obtain a copy of the License at
| |
− | *
| |
− | * http://www.apache.org/licenses/LICENSE-2.0
| |
− | *
| |
− | * Unless required by applicable law or agreed to in writing, software
| |
− | * distributed under the License is distributed on an "AS IS" BASIS,
| |
− | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| |
− | * See the License for the specific language governing permissions and
| |
− | * limitations under the License.
| |
− | * ======================================================================== */
| |
− |
| |
− |
| |
− | +function ($) { "use strict";
| |
− |
| |
− | // TAB CLASS DEFINITION
| |
− | // ====================
| |
− |
| |
− | var Tab = function (element) {
| |
− | this.element = $(element)
| |
− | }
| |
− |
| |
− | Tab.prototype.show = function () {
| |
− | var $this = this.element
| |
− | var $ul = $this.closest('ul:not(.dropdown-menu)')
| |
− | var selector = $this.attr('data-target')
| |
− |
| |
− | if (!selector) {
| |
− | selector = $this.attr('href')
| |
− | selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
| |
− | }
| |
− |
| |
− | if ($this.parent('li').hasClass('active')) return
| |
− |
| |
− | var previous = $ul.find('.active:last a')[0]
| |
− | var e = $.Event('show.bs.tab', {
| |
− | relatedTarget: previous
| |
− | })
| |
− |
| |
− | $this.trigger(e)
| |
− |
| |
− | if (e.isDefaultPrevented()) return
| |
− |
| |
− | var $target = $(selector)
| |
− |
| |
− | this.activate($this.parent('li'), $ul)
| |
− | this.activate($target, $target.parent(), function () {
| |
− | $this.trigger({
| |
− | type: 'shown.bs.tab'
| |
− | , relatedTarget: previous
| |
− | })
| |
− | })
| |
− | }
| |
− |
| |
− | Tab.prototype.activate = function (element, container, callback) {
| |
− | var $active = container.find('> .active')
| |
− | var transition = callback
| |
− | && $.support.transition
| |
− | && $active.hasClass('fade')
| |
− |
| |
− | function next() {
| |
− | $active
| |
− | .removeClass('active')
| |
− | .find('> .dropdown-menu > .active')
| |
− | .removeClass('active')
| |
− |
| |
− | element.addClass('active')
| |
− |
| |
− | if (transition) {
| |
− | element[0].offsetWidth // reflow for transition
| |
− | element.addClass('in')
| |
− | } else {
| |
− | element.removeClass('fade')
| |
− | }
| |
− |
| |
− | if (element.parent('.dropdown-menu')) {
| |
− | element.closest('li.dropdown').addClass('active')
| |
− | }
| |
− |
| |
− | callback && callback()
| |
− | }
| |
− |
| |
− | transition ?
| |
− | $active
| |
− | .one($.support.transition.end, next)
| |
− | .emulateTransitionEnd(150) :
| |
− | next()
| |
− |
| |
− | $active.removeClass('in')
| |
− | }
| |
− |
| |
− |
| |
− | // TAB PLUGIN DEFINITION
| |
− | // =====================
| |
− |
| |
− | var old = $.fn.tab
| |
− |
| |
− | $.fn.tab = function ( option ) {
| |
− | return this.each(function () {
| |
− | var $this = $(this)
| |
− | var data = $this.data('bs.tab')
| |
− |
| |
− | if (!data) $this.data('bs.tab', (data = new Tab(this)))
| |
− | if (typeof option == 'string') data[option]()
| |
− | })
| |
− | }
| |
− |
| |
− | $.fn.tab.Constructor = Tab
| |
− |
| |
− |
| |
− | // TAB NO CONFLICT
| |
− | // ===============
| |
− |
| |
− | $.fn.tab.noConflict = function () {
| |
− | $.fn.tab = old
| |
− | return this
| |
− | }
| |
− |
| |
− |
| |
− | // TAB DATA-API
| |
− | // ============
| |
− |
| |
− | $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
| |
− | e.preventDefault()
| |
− | $(this).tab('show')
| |
− | })
| |
− |
| |
− | }(window.jQuery);
| |
− |
| |
− | /* ========================================================================
| |
− | * Bootstrap: affix.js v3.0.0
| |
− | * http://twbs.github.com/bootstrap/javascript.html#affix
| |
− | * ========================================================================
| |
− | * Copyright 2012 Twitter, Inc.
| |
− | *
| |
− | * Licensed under the Apache License, Version 2.0 (the "License");
| |
− | * you may not use this file except in compliance with the License.
| |
− | * You may obtain a copy of the License at
| |
− | *
| |
− | * http://www.apache.org/licenses/LICENSE-2.0
| |
− | *
| |
− | * Unless required by applicable law or agreed to in writing, software
| |
− | * distributed under the License is distributed on an "AS IS" BASIS,
| |
− | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| |
− | * See the License for the specific language governing permissions and
| |
− | * limitations under the License.
| |
− | * ======================================================================== */
| |
− |
| |
− |
| |
− | +function ($) { "use strict";
| |
− |
| |
− | // AFFIX CLASS DEFINITION
| |
− | // ======================
| |
− |
| |
− | var Affix = function (element, options) {
| |
− | this.options = $.extend({}, Affix.DEFAULTS, options)
| |
− | this.$window = $(window)
| |
− | .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
| |
− | .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
| |
− |
| |
− | this.$element = $(element)
| |
− | this.affixed =
| |
− | this.unpin = null
| |
− |
| |
− | this.checkPosition()
| |
− | }
| |
− |
| |
− | Affix.RESET = 'affix affix-top affix-bottom'
| |
− |
| |
− | Affix.DEFAULTS = {
| |
− | offset: 0
| |
− | }
| |
− |
| |
− | Affix.prototype.checkPositionWithEventLoop = function () {
| |
− | setTimeout($.proxy(this.checkPosition, this), 1)
| |
− | }
| |
− |
| |
− | Affix.prototype.checkPosition = function () {
| |
− | if (!this.$element.is(':visible')) return
| |
− |
| |
− | var scrollHeight = $(document).height()
| |
− | var scrollTop = this.$window.scrollTop()
| |
− | var position = this.$element.offset()
| |
− | var offset = this.options.offset
| |
− | var offsetTop = offset.top
| |
− | var offsetBottom = offset.bottom
| |
− |
| |
− | if (typeof offset != 'object') offsetBottom = offsetTop = offset
| |
− | if (typeof offsetTop == 'function') offsetTop = offset.top()
| |
− | if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()
| |
− |
| |
− | var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :
| |
− | offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
| |
− | offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
| |
− |
| |
− | if (this.affixed === affix) return
| |
− | if (this.unpin) this.$element.css('top', '')
| |
− |
| |
− | this.affixed = affix
| |
− | this.unpin = affix == 'bottom' ? position.top - scrollTop : null
| |
− |
| |
− | this.$element.removeClass(Affix.RESET).addClass('affix' + (affix ? '-' + affix : ''))
| |
− |
| |
− | if (affix == 'bottom') {
| |
− | this.$element.offset({ top: document.body.offsetHeight - offsetBottom - this.$element.height() })
| |
− | }
| |
− | }
| |
− |
| |
− |
| |
− | // AFFIX PLUGIN DEFINITION
| |
− | // =======================
| |
− |
| |
− | var old = $.fn.affix
| |
− |
| |
− | $.fn.affix = function (option) {
| |
− | return this.each(function () {
| |
− | var $this = $(this)
| |
− | var data = $this.data('bs.affix')
| |
− | var options = typeof option == 'object' && option
| |
− |
| |
− | if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
| |
− | if (typeof option == 'string') data[option]()
| |
− | })
| |
− | }
| |
− |
| |
− | $.fn.affix.Constructor = Affix
| |
− |
| |
− |
| |
− | // AFFIX NO CONFLICT
| |
− | // =================
| |
− |
| |
− | $.fn.affix.noConflict = function () {
| |
− | $.fn.affix = old
| |
− | return this
| |
− | }
| |
− |
| |
− |
| |
− | // AFFIX DATA-API
| |
− | // ==============
| |
− |
| |
− | $(window).on('load', function () {
| |
− | $('[data-spy="affix"]').each(function () {
| |
− | var $spy = $(this)
| |
− | var data = $spy.data()
| |
− |
| |
− | data.offset = data.offset || {}
| |
− |
| |
− | if (data.offsetBottom) data.offset.bottom = data.offsetBottom
| |
− | if (data.offsetTop) data.offset.top = data.offsetTop
| |
− |
| |
− | $spy.affix(data)
| |
− | })
| |
− | })
| |
− |
| |
− | }(window.jQuery);jQuery(document).ready(function($) {
| |
− |
| |
− | 'use strict';
| |
− |
| |
− | $('.imageGallery1 a').simpleLightbox();
| |
− |
| |
− |
| |
− | var owl = $("#owl-portfolio");
| |
− |
| |
− | owl.owlCarousel({
| |
− |
| |
− | pagination : true,
| |
− | paginationNumbers: false,
| |
− | autoPlay: 6000, //Set AutoPlay to 3 seconds
| |
− | items : 4, //10 items above 1000px browser width
| |
− | itemsDesktop : [1000,4], //5 items between 1000px and 901px
| |
− | itemsDesktopSmall : [900,3], // betweem 900px and 601px
| |
− | itemsTablet: [600,2], //2 items between 600 and 0
| |
− | itemsMobile : false // itemsMobile disabled - inherit from itemsTablet option
| |
− |
| |
− | });
| |
− |
| |
− |
| |
− | $('.tabgroup > div').hide();
| |
− | $('.tabgroup > div:first-of-type').show();
| |
− | $('.tabs a').click(function(e){
| |
− | e.preventDefault();
| |
− | var $this = $(this),
| |
− | tabgroup = '#'+$this.parents('.tabs').data('tabgroup'),
| |
− | others = $this.closest('li').siblings().children('a'),
| |
− | target = $this.attr('href');
| |
− | others.removeClass('active');
| |
− | $this.addClass('active');
| |
− | $(tabgroup).children('div').hide();
| |
− | $(target).show();
| |
− |
| |
− | })
| |
− |
| |
− |
| |
− | /************** Toggle *********************/
| |
− | // Cache selectors
| |
− | var lastId,
| |
− | topMenu = $(".menu-first"),
| |
− | topMenuHeight = 80,
| |
− | // All list items
| |
− | menuItems = topMenu.find("a"),
| |
− | // Anchors corresponding to menu items
| |
− | scrollItems = menuItems.map(function(){
| |
− |
| |
− | if($(this).hasClass('external')) {
| |
− | return;
| |
− | }
| |
− |
| |
− | var item = $($(this).attr("href"));
| |
− | if (item.length) { return item; }
| |
− | });
| |
− |
| |
− | // Bind click handler to menu items
| |
− | // so we can get a fancy scroll animation
| |
− | menuItems.click(function(e){
| |
− | var href = $(this).attr("href"),
| |
− | offsetTop = href === "#" ? 0 : $(href).offset().top-topMenuHeight+1;
| |
− | $('html, body').stop().animate({
| |
− | scrollTop: offsetTop
| |
− | }, 750);
| |
− | e.preventDefault();
| |
− | });
| |
− |
| |
− | // Bind to scroll
| |
− | $(window).scroll(function(){
| |
− | // Get container scroll position
| |
− | var fromTop = $(this).scrollTop()+topMenuHeight;
| |
− |
| |
− | // Get id of current scroll item
| |
− | var cur = scrollItems.map(function(){
| |
− | if ($(this).offset().top < fromTop)
| |
− | return this;
| |
− | });
| |
− | // Get the id of the current element
| |
− | cur = cur[cur.length-1];
| |
− | var id = cur && cur.length ? cur[0].id : "";
| |
| | | |
− | if (lastId !== id) {
| + | <script src="js/vendor/jquery.gmap3.min.js"></script> |
− | lastId = id;
| + | |
− | // Set/remove active class
| + | |
− | menuItems
| + | |
− | .parent().removeClass("active")
| + | |
− | .end().filter("[href=#"+id+"]").parent().addClass("active");
| + | |
− | }
| + | |
− | });
| + | |
| | | |
− | | + | <script type="text/javascript"> |
− | | + | |
− | $(window).scroll(function(){
| + | |
− | $('.main-header').toggleClass('scrolled', $(this).scrollTop() > 1);
| + | |
− | });
| + | |
− | | + | |
− | | + | |
− | | + | |
− | $('a[href="#top"]').click(function(){
| + | |
− | $('html, body').animate({scrollTop: 0}, 'slow'); | + | |
− | return false;
| + | |
− | });
| + | |
− | | + | |
− | | + | |
− | $('.toggle-menu').click(function(){
| + | |
− | $('.menu-first').toggleClass('show');
| + | |
− | // $('.menu-first').slideToggle();
| + | |
− | });
| + | |
− | | + | |
− | $('.menu-first li a').click(function(){
| + | |
− | $('.menu-first').removeClass('show');
| + | |
− | });
| + | |
− | | + | |
− | | + | |
− | $('a[href*=#]').on('click', function(e) {
| + | |
− | e.preventDefault();
| + | |
− | $('html, body').animate({ scrollTop: $($(this).attr('href')).offset().top -79 }, 500, 'linear');
| + | |
− | });
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | });
| + | |
− | jQuery(document).ready(function(e){"use strict";function o(){e(".sf-menu").superfish({delay:50,autoArrows:!0,animation:{opacity:"show"}})}e(".toggle-id").on("click",function(){var o=e(this).attr("href");return e(o).slideToggle(250),!1}),e("a.toggle-menu").click(function(){return e("#responsive-menu").stop(!0,!0).slideToggle(),!1}),o(),e(".sub-menu").addClass("animated fadeInRight"),e("#search-icon").on("click",function(){return e("#search-overlay").removeClass("animated bounceOutUp"),e("#search-overlay").fadeIn(0).addClass("animated bounceInDown"),e('.search-form-holder input[type="search"]').focus(),!1}),e(".close-search").on("click",function(){return e("#search-overlay").removeClass("animated bounceInDown"),e("#search-overlay").addClass("animated bounceOutUp"),!1}),jQuery(document).keyup(function(o){return 27===o.keyCode?(e("#search-overlay").removeClass("animated bounceInDown"),e("#search-overlay").addClass("animated bounceOutUp"),!1):void 0}),e(window).resize(function(){var o=e(window).height(),a=e(window).width();e(".swiper-container, .swiper-slide").height(o),e(".swiper-container, .swiper-slide").width(a)}),e(window).resize(),e(".arrow-left, .arrow-right").on("click",function(){e(".slider-caption h2").removeClass("animated fadeInDown"),e(".slider-caption h2").fadeIn(0).addClass("animated fadeInDown"),e(".slider-caption p").removeClass("animated fadeInUp"),e(".slider-caption p").fadeIn(0).addClass("animated fadeInUp")});var a=new Swiper(".swiper-container",{mode:"horizontal",loop:!0,keyboardControl:!0});e(".arrow-left").on("click",function(e){e.preventDefault(),a.swipePrev()}),e(".arrow-right").on("click",function(e){e.preventDefault(),a.swipeNext()}),e(".project-slider").slidesjs({pagination:!1,navigation:{active:!1,effect:"fade"}}),e(".staff-member").hover(function(){e(".overlay .social-network").addClass("animated fadeIn")},function(){e(".overlay .social-network").removeClass("animated fadeIn")}),e(".blog-thumb, .project-item").hover(function(){e(".overlay-b a").addClass("animated fadeIn")},function(){e(".overlay-b a").removeClass("animated fadeIn")}),e(".projects-holder").mixitup({effects:["fade","grayscale"],easing:"snap",transitionSpeed:400}),e(".fancybox").fancybox(),e("#contactform").submit(function(){var o=e(this).attr("action");return e("#message").slideUp(750,function(){e("#message").hide(),e("#submit").attr("disabled","disabled"),e.post(o,{name:e("#name").val(),email:e("#email").val(),phone:e("#phone").val(),comments:e("#comments").val()},function(o){document.getElementById("message").innerHTML=o,e("#message").slideDown("slow"),e("#submit").removeAttr("disabled"),null!=o.match("success")&&e("#contactform").slideUp("slow")})}),!1})}),$(window).load(function(){blogisotope=function(){var e,o=$(".blog-masonry").width(),a=Math.floor(o);return $(".blog-masonry").hasClass("masonry-true")===!0&&(a=Math.floor(.3033*o),e=Math.floor(.04*o),a=$(window).width()<1023?$(window).width()<768?Math.floor(1*o):Math.floor(.48*o):Math.floor(.3033*o)),e};var e=$(".blog-masonry");bloggingisotope=function(){e.isotope({itemSelector:".post-masonry",animationEngine:"jquery",masonry:{gutterWidth:blogisotope()}})},bloggingisotope(),$(window).smartresize(bloggingisotope)});(function(factory) {
| + | |
− | | + | |
− | if (typeof define === 'function' && define.amd) {
| + | |
− | define(['jquery'], factory);
| + | |
− | } else if (typeof module === 'object' && module.exports) {
| + | |
− | module.exports = factory(require('jquery'));
| + | |
− | } else {
| + | |
− | factory(jQuery);
| + | |
− | }
| + | |
− | | + | |
− | }(function($) {
| + | |
− | | + | |
− | var instanceNum = 0,
| + | |
− | $html = $('html'),
| + | |
− | $document = $(document),
| + | |
− | $window = $(window);
| + | |
− | | + | |
− | function SimpleLightbox(options) {
| + | |
− | | + | |
− | this.init.apply(this, arguments);
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | SimpleLightbox.defaults = {
| + | |
− | | + | |
− | // add custom classes to lightbox elements
| + | |
− | elementClass: '',
| + | |
− | elementLoadingClass: 'slbLoading',
| + | |
− | htmlClass: 'slbActive',
| + | |
− | closeBtnClass: '',
| + | |
− | nextBtnClass: '',
| + | |
− | prevBtnClass: '',
| + | |
− | loadingTextClass: '',
| + | |
− | | + | |
− | // customize / localize controls captions
| + | |
− | closeBtnCaption: 'Close',
| + | |
− | nextBtnCaption: 'Next',
| + | |
− | prevBtnCaption: 'Previous',
| + | |
− | loadingCaption: 'Loading...',
| + | |
− | | + | |
− | bindToItems: true, // set click event handler to trigger lightbox on provided $items
| + | |
− | closeOnOverlayClick: true,
| + | |
− | closeOnEscapeKey: true,
| + | |
− | nextOnImageClick: true,
| + | |
− | showCaptions: true,
| + | |
− | | + | |
− | captionAttribute: 'title', // choose data source for library to glean image caption from
| + | |
− | urlAttribute: 'href', // where to expect large image
| + | |
− | | + | |
− | startAt: 0, // start gallery at custom index
| + | |
− | loadingTimeout: 100, // time after loading element will appear
| + | |
− | | + | |
− | appendTarget: 'body', // append elsewhere if needed
| + | |
− | | + | |
− | beforeSetContent: null, // convenient hooks for extending library behavoiur
| + | |
− | beforeClose: null,
| + | |
− | beforeDestroy: null,
| + | |
− | | + | |
− | videoRegex: new RegExp(/youtube.com|vimeo.com/) // regex which tests load url for iframe content
| + | |
− | | + | |
− | };
| + | |
− | | + | |
− | $.extend(SimpleLightbox.prototype, {
| + | |
− | | + | |
− | init: function(options) {
| + | |
− | | + | |
− | this.options = $.extend({}, SimpleLightbox.defaults, options);
| + | |
− | this.ens = '.slb' + (++instanceNum);
| + | |
− | this.items = [];
| + | |
− | this.captions = [];
| + | |
− | | + | |
− | var self = this;
| + | |
− | | + | |
− | if (this.options.$items) {
| + | |
− | | + | |
− | this.$items = this.options.$items;
| + | |
− | | + | |
− | this.$items.each(function() {
| + | |
− | | + | |
− | var $item = $(this);
| + | |
− | | + | |
− | self.items.push($item.attr(self.options.urlAttribute));
| + | |
− | self.captions.push($item.attr(self.options.captionAttribute));
| + | |
− | | + | |
− | });
| + | |
− | | + | |
− | this.options.bindToItems && this.$items.on('click' + this.ens, function(e) {
| + | |
− | | + | |
− | e.preventDefault();
| + | |
− | self.showPosition(self.$items.index($(e.currentTarget)));
| + | |
− | | + | |
− | });
| + | |
− | | + | |
− | } else if (this.options.items) {
| + | |
− | | + | |
− | this.items = this.options.items;
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | if (this.options.captions) {
| + | |
− | this.captions = this.options.captions;
| + | |
− | }
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | next: function() {
| + | |
− | | + | |
− | return this.showPosition(this.currentPosition + 1);
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | prev: function() {
| + | |
− | | + | |
− | return this.showPosition(this.currentPosition - 1);
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | normalizePosition: function(position) {
| + | |
− | | + | |
− | if (position >= this.items.length) {
| + | |
− | position = 0;
| + | |
− | } else if (position < 0) {
| + | |
− | position = this.items.length - 1;
| + | |
− | }
| + | |
− | | + | |
− | return position;
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | showPosition: function(position) {
| + | |
− | | + | |
− | var self = this;
| + | |
− | | + | |
− | this.currentPosition = this.normalizePosition(position);
| + | |
− | | + | |
− | return this.setupLightboxHtml().prepareItem(this.currentPosition, this.setContent).show();
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | loading: function(on) {
| + | |
− | | + | |
− | var self = this;
| + | |
− | | + | |
− | if (on) {
| + | |
− | | + | |
− | this.loadingTimeout = setTimeout(function() {
| + | |
− | | + | |
− | self.$el.addClass(self.options.elementLoadingClass);
| + | |
− | | + | |
− | self.$content.html('<p class="slbLoadingText ' + self.options.loadingTextClass + '">' + self.options.loadingCaption + '</p>');
| + | |
− | self.show();
| + | |
− | | + | |
− | }, this.options.loadingTimeout);
| + | |
− | | + | |
− | } else {
| + | |
− | | + | |
− | this.$el && this.$el.removeClass(this.options.elementLoadingClass);
| + | |
− | clearTimeout(this.loadingTimeout);
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | prepareItem: function(position, callback) {
| + | |
− | | + | |
− | var self = this,
| + | |
− | url = this.items[position];
| + | |
− | | + | |
− | this.loading(true);
| + | |
− | | + | |
− | if (this.options.videoRegex.test(url)) {
| + | |
− | | + | |
− | callback.call(self, $('<div class="slbIframeCont"><iframe class="slbIframe" frameborder="0" allowfullscreen src="' + url + '"></iframe></div>'));
| + | |
− | | + | |
− | } else {
| + | |
− | | + | |
− | var $imageCont = $('<div class="slbImageWrap"><img class="slbImage" src="' + url + '" /></div>');
| + | |
− | | + | |
− | this.$currentImage = $imageCont.find('.slbImage');
| + | |
− | | + | |
− | if (this.options.showCaptions && this.captions[position]) {
| + | |
− | $imageCont.append('<div class="slbCaption">' + this.captions[position] + '</div>');
| + | |
− | }
| + | |
− | | + | |
− | this.loadImage(url, function() {
| + | |
− | | + | |
− | self.setImageDimensions();
| + | |
− | | + | |
− | callback.call(self, $imageCont);
| + | |
− | | + | |
− | self.loadImage(self.items[self.normalizePosition(self.currentPosition + 1)]);
| + | |
− | | + | |
− | });
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | return this;
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | loadImage: function(url, callback) {
| + | |
− | | + | |
− | if (!this.options.videoRegex.test(url)) {
| + | |
− | | + | |
− | var image = new Image();
| + | |
− | callback && (image.onload = callback);
| + | |
− | image.src = url;
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | setupLightboxHtml: function() {
| + | |
− | | + | |
− | var o = this.options;
| + | |
− | | + | |
− | if (!this.$el) {
| + | |
− | | + | |
− | this.$el = $(
| + | |
− | '<div class="slbElement ' + o.elementClass + '">' +
| + | |
− | '<div class="slbOverlay"></div>' +
| + | |
− | '<div class="slbWrapOuter">' +
| + | |
− | '<div class="slbWrap">' +
| + | |
− | '<div class="slbContentOuter">' +
| + | |
− | '<div class="slbContent"></div>' +
| + | |
− | '<button type="button" title="' + o.closeBtnCaption + '" class="slbCloseBtn ' + o.closeBtnClass + '">×</button>' +
| + | |
− | '</div>' +
| + | |
− | '</div>' +
| + | |
− | '</div>' +
| + | |
− | '</div>'
| + | |
− | );
| + | |
− | | + | |
− | if (this.items.length > 1) {
| + | |
− | | + | |
− | $(
| + | |
− | '<div class="slbArrows">' +
| + | |
− | '<button type="button" title="' + o.prevBtnCaption + '" class="prev slbArrow' + o.prevBtnClass + '">' + o.prevBtnCaption + '</button>' +
| + | |
− | '<button type="button" title="' + o.nextBtnCaption + '" class="next slbArrow' + o.nextBtnClass + '">' + o.nextBtnCaption + '</button>' +
| + | |
− | '</div>'
| + | |
− | ).appendTo(this.$el.find('.slbContentOuter'));
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | this.$content = this.$el.find('.slbContent');
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | this.$content.empty();
| + | |
− | | + | |
− | return this;
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | show: function() {
| + | |
− | | + | |
− | if (!this.modalInDom) {
| + | |
− | | + | |
− | this.$el.appendTo($(this.options.appendTarget));
| + | |
− | $html.addClass(this.options.htmlClass);
| + | |
− | this.setupLightboxEvents();
| + | |
− | | + | |
− | this.modalInDom = true;
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | return this;
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | setContent: function(content) {
| + | |
− | | + | |
− | var $content = $(content);
| + | |
− | | + | |
− | this.loading(false);
| + | |
− | | + | |
− | this.setupLightboxHtml();
| + | |
− | this.options.beforeSetContent && this.options.beforeSetContent($content, this);
| + | |
− | this.$content.html($content);
| + | |
− | | + | |
− | return this;
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | setImageDimensions: function() {
| + | |
− | | + | |
− | this.$currentImage && this.$currentImage.css('max-height', $window.height() + 'px');
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | setupLightboxEvents: function() {
| + | |
− | | + | |
− | var self = this;
| + | |
− | | + | |
− | if (!this.lightboxEventsSetuped) {
| + | |
− | | + | |
− | this.$el.on('click' + this.ens, function(e) {
| + | |
− | | + | |
− | var $target = $(e.target);
| + | |
− | | + | |
− | if ($target.is('.slbCloseBtn') || (self.options.closeOnOverlayClick && $target.is('.slbWrap'))) {
| + | |
− | | + | |
− | self.close();
| + | |
− | | + | |
− | } else if ($target.is('.slbArrow')) {
| + | |
− | | + | |
− | $target.hasClass('next') ? self.next() : self.prev();
| + | |
− | | + | |
− | } else if (self.options.nextOnImageClick && self.items.length > 1 && $target.is('.slbImage')) {
| + | |
− | | + | |
− | self.next();
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | });
| + | |
− | | + | |
− | $document.on('keyup' + this.ens, function(e) {
| + | |
− | | + | |
− | self.options.closeOnEscapeKey && e.keyCode === 27 && self.close();
| + | |
− | | + | |
− | if (self.items.length > 1) {
| + | |
− | (e.keyCode === 39 || e.keyCode === 68) && self.next();
| + | |
− | (e.keyCode === 37 || e.keyCode === 65) && self.prev();
| + | |
− | }
| + | |
− | | + | |
− | });
| + | |
− | | + | |
− | $window.on('resize' + this.ens, function() {
| + | |
− | | + | |
− | self.setImageDimensions();
| + | |
− | | + | |
− | });
| + | |
− | | + | |
− | this.lightboxEventsSetuped = true;
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | close: function() {
| + | |
− | | + | |
− | if (this.modalInDom) {
| + | |
− | | + | |
− | this.options.beforeClose && this.options.beforeClose(this);
| + | |
− | | + | |
− | this.$el && this.$el.off(this.ens);
| + | |
− | $document.off(this.ens);
| + | |
− | $window.off(this.ens);
| + | |
− | this.lightboxEventsSetuped = false;
| + | |
− | | + | |
− | this.$el.detach();
| + | |
− | $html.removeClass(this.options.htmlClass);
| + | |
− | this.modalInDom = false;
| + | |
− | }
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | destroy: function() {
| + | |
− | | + | |
− | this.close();
| + | |
− | this.options.beforeDestroy && this.options.beforeDestroy(this);
| + | |
− | this.$items && this.$items.off(this.ens);
| + | |
− | this.$el && this.$el.remove();
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | });
| + | |
− | | + | |
− | SimpleLightbox.open = function(options) {
| + | |
− | | + | |
− | var instance = new SimpleLightbox(options);
| + | |
− | | + | |
− | return options.content ? instance.setContent(options.content).show() : instance.showPosition(instance.options.startAt);
| + | |
− | | + | |
− | };
| + | |
− | | + | |
− | $.fn.simpleLightbox = function(options) {
| + | |
− | | + | |
− | var lightboxInstance,
| + | |
− | $items = this;
| + | |
− | | + | |
− | return this.each(function() {
| + | |
− | if (!$.data(this, 'simpleLightbox')) {
| + | |
− | lightboxInstance = lightboxInstance || new SimpleLightbox($.extend({}, options, {$items: $items}));
| + | |
− | $.data(this, 'simpleLightbox', lightboxInstance);
| + | |
− | }
| + | |
− | });
| + | |
− | | + | |
− | };
| + | |
− | | + | |
− | $.simpleLightbox = $.SimpleLightbox = SimpleLightbox;
| + | |
− | | + | |
− | return $;
| + | |
− | | + | |
− | }));
| + | |
− | | + | |
− | /*
| + | |
− | * jQuery OwlCarousel v1.3.3
| + | |
− | *
| + | |
− | * Copyright (c) 2013 Bartosz Wojciechowski
| + | |
− | * http://www.owlgraphic.com/owlcarousel/
| + | |
− | *
| + | |
− | * Licensed under MIT
| + | |
− | *
| + | |
− | */
| + | |
− | | + | |
− | /*JS Lint helpers: */
| + | |
− | /*global dragMove: false, dragEnd: false, $, jQuery, alert, window, document */
| + | |
− | /*jslint nomen: true, continue:true */
| + | |
− | | + | |
− | if (typeof Object.create !== "function") {
| + | |
− | Object.create = function (obj) {
| + | |
− | function F() {}
| + | |
− | F.prototype = obj;
| + | |
− | return new F();
| + | |
− | };
| + | |
− | }
| + | |
− | (function ($, window, document) {
| + | |
− | | + | |
− | var Carousel = {
| + | |
− | init : function (options, el) {
| + | |
− | var base = this;
| + | |
− | | + | |
− | base.$elem = $(el);
| + | |
− | base.options = $.extend({}, $.fn.owlCarousel.options, base.$elem.data(), options);
| + | |
− | | + | |
− | base.userOptions = options;
| + | |
− | base.loadContent();
| + | |
− | },
| + | |
− | | + | |
− | loadContent : function () {
| + | |
− | var base = this, url;
| + | |
− | | + | |
− | function getData(data) {
| + | |
− | var i, content = "";
| + | |
− | if (typeof base.options.jsonSuccess === "function") {
| + | |
− | base.options.jsonSuccess.apply(this, [data]);
| + | |
− | } else {
| + | |
− | for (i in data.owl) {
| + | |
− | if (data.owl.hasOwnProperty(i)) {
| + | |
− | content += data.owl[i].item;
| + | |
− | }
| + | |
− | }
| + | |
− | base.$elem.html(content);
| + | |
− | }
| + | |
− | base.logIn();
| + | |
− | }
| + | |
− | | + | |
− | if (typeof base.options.beforeInit === "function") {
| + | |
− | base.options.beforeInit.apply(this, [base.$elem]);
| + | |
− | }
| + | |
− | | + | |
− | if (typeof base.options.jsonPath === "string") {
| + | |
− | url = base.options.jsonPath;
| + | |
− | $.getJSON(url, getData);
| + | |
− | } else {
| + | |
− | base.logIn();
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | logIn : function () {
| + | |
− | var base = this;
| + | |
− | | + | |
− | base.$elem.data("owl-originalStyles", base.$elem.attr("style"));
| + | |
− | base.$elem.data("owl-originalClasses", base.$elem.attr("class"));
| + | |
− | | + | |
− | base.$elem.css({opacity: 0});
| + | |
− | base.orignalItems = base.options.items;
| + | |
− | base.checkBrowser();
| + | |
− | base.wrapperWidth = 0;
| + | |
− | base.checkVisible = null;
| + | |
− | base.setVars();
| + | |
− | },
| + | |
− | | + | |
− | setVars : function () {
| + | |
− | var base = this;
| + | |
− | if (base.$elem.children().length === 0) {return false; }
| + | |
− | base.baseClass();
| + | |
− | base.eventTypes();
| + | |
− | base.$userItems = base.$elem.children();
| + | |
− | base.itemsAmount = base.$userItems.length;
| + | |
− | base.wrapItems();
| + | |
− | base.$owlItems = base.$elem.find(".owl-item");
| + | |
− | base.$owlWrapper = base.$elem.find(".owl-wrapper");
| + | |
− | base.playDirection = "next";
| + | |
− | base.prevItem = 0;
| + | |
− | base.prevArr = [0];
| + | |
− | base.currentItem = 0;
| + | |
− | base.customEvents();
| + | |
− | base.onStartup();
| + | |
− | },
| + | |
− | | + | |
− | onStartup : function () {
| + | |
− | var base = this;
| + | |
− | base.updateItems();
| + | |
− | base.calculateAll();
| + | |
− | base.buildControls();
| + | |
− | base.updateControls();
| + | |
− | base.response();
| + | |
− | base.moveEvents();
| + | |
− | base.stopOnHover();
| + | |
− | base.owlStatus();
| + | |
− | | + | |
− | if (base.options.transitionStyle !== false) {
| + | |
− | base.transitionTypes(base.options.transitionStyle);
| + | |
− | }
| + | |
− | if (base.options.autoPlay === true) {
| + | |
− | base.options.autoPlay = 5000;
| + | |
− | }
| + | |
− | base.play();
| + | |
− | | + | |
− | base.$elem.find(".owl-wrapper").css("display", "block");
| + | |
− | | + | |
− | if (!base.$elem.is(":visible")) {
| + | |
− | base.watchVisibility();
| + | |
− | } else {
| + | |
− | base.$elem.css("opacity", 1);
| + | |
− | }
| + | |
− | base.onstartup = false;
| + | |
− | base.eachMoveUpdate();
| + | |
− | if (typeof base.options.afterInit === "function") {
| + | |
− | base.options.afterInit.apply(this, [base.$elem]);
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | eachMoveUpdate : function () {
| + | |
− | var base = this;
| + | |
− | | + | |
− | if (base.options.lazyLoad === true) {
| + | |
− | base.lazyLoad();
| + | |
− | }
| + | |
− | if (base.options.autoHeight === true) {
| + | |
− | base.autoHeight();
| + | |
− | }
| + | |
− | base.onVisibleItems();
| + | |
− | | + | |
− | if (typeof base.options.afterAction === "function") {
| + | |
− | base.options.afterAction.apply(this, [base.$elem]);
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | updateVars : function () {
| + | |
− | var base = this;
| + | |
− | if (typeof base.options.beforeUpdate === "function") {
| + | |
− | base.options.beforeUpdate.apply(this, [base.$elem]);
| + | |
− | }
| + | |
− | base.watchVisibility();
| + | |
− | base.updateItems();
| + | |
− | base.calculateAll();
| + | |
− | base.updatePosition();
| + | |
− | base.updateControls();
| + | |
− | base.eachMoveUpdate();
| + | |
− | if (typeof base.options.afterUpdate === "function") {
| + | |
− | base.options.afterUpdate.apply(this, [base.$elem]);
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | reload : function () {
| + | |
− | var base = this;
| + | |
− | window.setTimeout(function () {
| + | |
− | base.updateVars();
| + | |
− | }, 0);
| + | |
− | },
| + | |
− | | + | |
− | watchVisibility : function () {
| + | |
− | var base = this;
| + | |
− | | + | |
− | if (base.$elem.is(":visible") === false) {
| + | |
− | base.$elem.css({opacity: 0});
| + | |
− | window.clearInterval(base.autoPlayInterval);
| + | |
− | window.clearInterval(base.checkVisible);
| + | |
− | } else {
| + | |
− | return false;
| + | |
− | }
| + | |
− | base.checkVisible = window.setInterval(function () {
| + | |
− | if (base.$elem.is(":visible")) {
| + | |
− | base.reload();
| + | |
− | base.$elem.animate({opacity: 1}, 200);
| + | |
− | window.clearInterval(base.checkVisible);
| + | |
− | }
| + | |
− | }, 500);
| + | |
− | },
| + | |
− | | + | |
− | wrapItems : function () {
| + | |
− | var base = this;
| + | |
− | base.$userItems.wrapAll("<div class=\"owl-wrapper\">").wrap("<div class=\"owl-item\"></div>");
| + | |
− | base.$elem.find(".owl-wrapper").wrap("<div class=\"owl-wrapper-outer\">");
| + | |
− | base.wrapperOuter = base.$elem.find(".owl-wrapper-outer");
| + | |
− | base.$elem.css("display", "block");
| + | |
− | },
| + | |
− | | + | |
− | baseClass : function () {
| + | |
− | var base = this,
| + | |
− | hasBaseClass = base.$elem.hasClass(base.options.baseClass),
| + | |
− | hasThemeClass = base.$elem.hasClass(base.options.theme);
| + | |
− | | + | |
− | if (!hasBaseClass) {
| + | |
− | base.$elem.addClass(base.options.baseClass);
| + | |
− | }
| + | |
− | | + | |
− | if (!hasThemeClass) {
| + | |
− | base.$elem.addClass(base.options.theme);
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | updateItems : function () {
| + | |
− | var base = this, width, i;
| + | |
− | | + | |
− | if (base.options.responsive === false) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | if (base.options.singleItem === true) {
| + | |
− | base.options.items = base.orignalItems = 1;
| + | |
− | base.options.itemsCustom = false;
| + | |
− | base.options.itemsDesktop = false;
| + | |
− | base.options.itemsDesktopSmall = false;
| + | |
− | base.options.itemsTablet = false;
| + | |
− | base.options.itemsTabletSmall = false;
| + | |
− | base.options.itemsMobile = false;
| + | |
− | return false;
| + | |
− | }
| + | |
− | | + | |
− | width = $(base.options.responsiveBaseWidth).width();
| + | |
− | | + | |
− | if (width > (base.options.itemsDesktop[0] || base.orignalItems)) {
| + | |
− | base.options.items = base.orignalItems;
| + | |
− | }
| + | |
− | if (base.options.itemsCustom !== false) {
| + | |
− | //Reorder array by screen size
| + | |
− | base.options.itemsCustom.sort(function (a, b) {return a[0] - b[0]; });
| + | |
− | | + | |
− | for (i = 0; i < base.options.itemsCustom.length; i += 1) {
| + | |
− | if (base.options.itemsCustom[i][0] <= width) {
| + | |
− | base.options.items = base.options.itemsCustom[i][1];
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | } else {
| + | |
− | | + | |
− | if (width <= base.options.itemsDesktop[0] && base.options.itemsDesktop !== false) {
| + | |
− | base.options.items = base.options.itemsDesktop[1];
| + | |
− | }
| + | |
− | | + | |
− | if (width <= base.options.itemsDesktopSmall[0] && base.options.itemsDesktopSmall !== false) {
| + | |
− | base.options.items = base.options.itemsDesktopSmall[1];
| + | |
− | }
| + | |
− | | + | |
− | if (width <= base.options.itemsTablet[0] && base.options.itemsTablet !== false) {
| + | |
− | base.options.items = base.options.itemsTablet[1];
| + | |
− | }
| + | |
− | | + | |
− | if (width <= base.options.itemsTabletSmall[0] && base.options.itemsTabletSmall !== false) {
| + | |
− | base.options.items = base.options.itemsTabletSmall[1];
| + | |
− | }
| + | |
− | | + | |
− | if (width <= base.options.itemsMobile[0] && base.options.itemsMobile !== false) {
| + | |
− | base.options.items = base.options.itemsMobile[1];
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | //if number of items is less than declared
| + | |
− | if (base.options.items > base.itemsAmount && base.options.itemsScaleUp === true) {
| + | |
− | base.options.items = base.itemsAmount;
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | response : function () {
| + | |
− | var base = this,
| + | |
− | smallDelay,
| + | |
− | lastWindowWidth;
| + | |
− | | + | |
− | if (base.options.responsive !== true) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | lastWindowWidth = $(window).width();
| + | |
− | | + | |
− | base.resizer = function () {
| + | |
− | if ($(window).width() !== lastWindowWidth) {
| + | |
− | if (base.options.autoPlay !== false) {
| + | |
− | window.clearInterval(base.autoPlayInterval);
| + | |
− | }
| + | |
− | window.clearTimeout(smallDelay);
| + | |
− | smallDelay = window.setTimeout(function () {
| + | |
− | lastWindowWidth = $(window).width();
| + | |
− | base.updateVars();
| + | |
− | }, base.options.responsiveRefreshRate);
| + | |
− | }
| + | |
− | };
| + | |
− | $(window).resize(base.resizer);
| + | |
− | },
| + | |
− | | + | |
− | updatePosition : function () {
| + | |
− | var base = this;
| + | |
− | base.jumpTo(base.currentItem);
| + | |
− | if (base.options.autoPlay !== false) {
| + | |
− | base.checkAp();
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | appendItemsSizes : function () {
| + | |
− | var base = this,
| + | |
− | roundPages = 0,
| + | |
− | lastItem = base.itemsAmount - base.options.items;
| + | |
− | | + | |
− | base.$owlItems.each(function (index) {
| + | |
− | var $this = $(this);
| + | |
− | $this
| + | |
− | .css({"width": base.itemWidth})
| + | |
− | .data("owl-item", Number(index));
| + | |
− | | + | |
− | if (index % base.options.items === 0 || index === lastItem) {
| + | |
− | if (!(index > lastItem)) {
| + | |
− | roundPages += 1;
| + | |
− | }
| + | |
− | }
| + | |
− | $this.data("owl-roundPages", roundPages);
| + | |
− | });
| + | |
− | },
| + | |
− | | + | |
− | appendWrapperSizes : function () {
| + | |
− | var base = this,
| + | |
− | width = base.$owlItems.length * base.itemWidth;
| + | |
− | | + | |
− | base.$owlWrapper.css({
| + | |
− | "width": width * 2,
| + | |
− | "left": 0
| + | |
− | });
| + | |
− | base.appendItemsSizes();
| + | |
− | },
| + | |
− | | + | |
− | calculateAll : function () {
| + | |
− | var base = this;
| + | |
− | base.calculateWidth();
| + | |
− | base.appendWrapperSizes();
| + | |
− | base.loops();
| + | |
− | base.max();
| + | |
− | },
| + | |
− | | + | |
− | calculateWidth : function () {
| + | |
− | var base = this;
| + | |
− | base.itemWidth = Math.round(base.$elem.width() / base.options.items);
| + | |
− | },
| + | |
− | | + | |
− | max : function () {
| + | |
− | var base = this,
| + | |
− | maximum = ((base.itemsAmount * base.itemWidth) - base.options.items * base.itemWidth) * -1;
| + | |
− | if (base.options.items > base.itemsAmount) {
| + | |
− | base.maximumItem = 0;
| + | |
− | maximum = 0;
| + | |
− | base.maximumPixels = 0;
| + | |
− | } else {
| + | |
− | base.maximumItem = base.itemsAmount - base.options.items;
| + | |
− | base.maximumPixels = maximum;
| + | |
− | }
| + | |
− | return maximum;
| + | |
− | },
| + | |
− | | + | |
− | min : function () {
| + | |
− | return 0;
| + | |
− | },
| + | |
− | | + | |
− | loops : function () {
| + | |
− | var base = this,
| + | |
− | prev = 0,
| + | |
− | elWidth = 0,
| + | |
− | i,
| + | |
− | item,
| + | |
− | roundPageNum;
| + | |
− | | + | |
− | base.positionsInArray = [0];
| + | |
− | base.pagesInArray = [];
| + | |
− | | + | |
− | for (i = 0; i < base.itemsAmount; i += 1) {
| + | |
− | elWidth += base.itemWidth;
| + | |
− | base.positionsInArray.push(-elWidth);
| + | |
− | | + | |
− | if (base.options.scrollPerPage === true) {
| + | |
− | item = $(base.$owlItems[i]);
| + | |
− | roundPageNum = item.data("owl-roundPages");
| + | |
− | if (roundPageNum !== prev) {
| + | |
− | base.pagesInArray[prev] = base.positionsInArray[i];
| + | |
− | prev = roundPageNum;
| + | |
− | }
| + | |
− | }
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | buildControls : function () {
| + | |
− | var base = this;
| + | |
− | if (base.options.navigation === true || base.options.pagination === true) {
| + | |
− | base.owlControls = $("<div class=\"owl-controls\"/>").toggleClass("clickable", !base.browser.isTouch).appendTo(base.$elem);
| + | |
− | }
| + | |
− | if (base.options.pagination === true) {
| + | |
− | base.buildPagination();
| + | |
− | }
| + | |
− | if (base.options.navigation === true) {
| + | |
− | base.buildButtons();
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | buildButtons : function () {
| + | |
− | var base = this,
| + | |
− | buttonsWrapper = $("<div class=\"owl-buttons\"/>");
| + | |
− | base.owlControls.append(buttonsWrapper);
| + | |
− | | + | |
− | base.buttonPrev = $("<div/>", {
| + | |
− | "class" : "owl-prev",
| + | |
− | "html" : base.options.navigationText[0] || ""
| + | |
− | });
| + | |
− | | + | |
− | base.buttonNext = $("<div/>", {
| + | |
− | "class" : "owl-next",
| + | |
− | "html" : base.options.navigationText[1] || ""
| + | |
− | });
| + | |
− | | + | |
− | buttonsWrapper
| + | |
− | .append(base.buttonPrev)
| + | |
− | .append(base.buttonNext);
| + | |
− | | + | |
− | buttonsWrapper.on("touchstart.owlControls mousedown.owlControls", "div[class^=\"owl\"]", function (event) {
| + | |
− | event.preventDefault();
| + | |
− | });
| + | |
− | | + | |
− | buttonsWrapper.on("touchend.owlControls mouseup.owlControls", "div[class^=\"owl\"]", function (event) {
| + | |
− | event.preventDefault();
| + | |
− | if ($(this).hasClass("owl-next")) {
| + | |
− | base.next();
| + | |
− | } else {
| + | |
− | base.prev();
| + | |
− | }
| + | |
− | });
| + | |
− | },
| + | |
− | | + | |
− | buildPagination : function () {
| + | |
− | var base = this;
| + | |
− | | + | |
− | base.paginationWrapper = $("<div class=\"owl-pagination\"/>");
| + | |
− | base.owlControls.append(base.paginationWrapper);
| + | |
− | | + | |
− | base.paginationWrapper.on("touchend.owlControls mouseup.owlControls", ".owl-page", function (event) {
| + | |
− | event.preventDefault();
| + | |
− | if (Number($(this).data("owl-page")) !== base.currentItem) {
| + | |
− | base.goTo(Number($(this).data("owl-page")), true);
| + | |
− | }
| + | |
− | });
| + | |
− | },
| + | |
− | | + | |
− | updatePagination : function () {
| + | |
− | var base = this,
| + | |
− | counter,
| + | |
− | lastPage,
| + | |
− | lastItem,
| + | |
− | i,
| + | |
− | paginationButton,
| + | |
− | paginationButtonInner;
| + | |
− | | + | |
− | if (base.options.pagination === false) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | | + | |
− | base.paginationWrapper.html("");
| + | |
− | | + | |
− | counter = 0;
| + | |
− | lastPage = base.itemsAmount - base.itemsAmount % base.options.items;
| + | |
− | | + | |
− | for (i = 0; i < base.itemsAmount; i += 1) {
| + | |
− | if (i % base.options.items === 0) {
| + | |
− | counter += 1;
| + | |
− | if (lastPage === i) {
| + | |
− | lastItem = base.itemsAmount - base.options.items;
| + | |
− | }
| + | |
− | paginationButton = $("<div/>", {
| + | |
− | "class" : "owl-page"
| + | |
− | });
| + | |
− | paginationButtonInner = $("<span></span>", {
| + | |
− | "text": base.options.paginationNumbers === true ? counter : "",
| + | |
− | "class": base.options.paginationNumbers === true ? "owl-numbers" : ""
| + | |
− | });
| + | |
− | paginationButton.append(paginationButtonInner);
| + | |
− | | + | |
− | paginationButton.data("owl-page", lastPage === i ? lastItem : i);
| + | |
− | paginationButton.data("owl-roundPages", counter);
| + | |
− | | + | |
− | base.paginationWrapper.append(paginationButton);
| + | |
− | }
| + | |
− | }
| + | |
− | base.checkPagination();
| + | |
− | },
| + | |
− | checkPagination : function () {
| + | |
− | var base = this;
| + | |
− | if (base.options.pagination === false) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | base.paginationWrapper.find(".owl-page").each(function () {
| + | |
− | if ($(this).data("owl-roundPages") === $(base.$owlItems[base.currentItem]).data("owl-roundPages")) {
| + | |
− | base.paginationWrapper
| + | |
− | .find(".owl-page")
| + | |
− | .removeClass("active");
| + | |
− | $(this).addClass("active");
| + | |
− | }
| + | |
− | });
| + | |
− | },
| + | |
− | | + | |
− | checkNavigation : function () {
| + | |
− | var base = this;
| + | |
− | | + | |
− | if (base.options.navigation === false) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | if (base.options.rewindNav === false) {
| + | |
− | if (base.currentItem === 0 && base.maximumItem === 0) {
| + | |
− | base.buttonPrev.addClass("disabled");
| + | |
− | base.buttonNext.addClass("disabled");
| + | |
− | } else if (base.currentItem === 0 && base.maximumItem !== 0) {
| + | |
− | base.buttonPrev.addClass("disabled");
| + | |
− | base.buttonNext.removeClass("disabled");
| + | |
− | } else if (base.currentItem === base.maximumItem) {
| + | |
− | base.buttonPrev.removeClass("disabled");
| + | |
− | base.buttonNext.addClass("disabled");
| + | |
− | } else if (base.currentItem !== 0 && base.currentItem !== base.maximumItem) {
| + | |
− | base.buttonPrev.removeClass("disabled");
| + | |
− | base.buttonNext.removeClass("disabled");
| + | |
− | }
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | updateControls : function () {
| + | |
− | var base = this;
| + | |
− | base.updatePagination();
| + | |
− | base.checkNavigation();
| + | |
− | if (base.owlControls) {
| + | |
− | if (base.options.items >= base.itemsAmount) {
| + | |
− | base.owlControls.hide();
| + | |
− | } else {
| + | |
− | base.owlControls.show();
| + | |
− | }
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | destroyControls : function () {
| + | |
− | var base = this;
| + | |
− | if (base.owlControls) {
| + | |
− | base.owlControls.remove();
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | next : function (speed) {
| + | |
− | var base = this;
| + | |
− | | + | |
− | if (base.isTransition) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | | + | |
− | base.currentItem += base.options.scrollPerPage === true ? base.options.items : 1;
| + | |
− | if (base.currentItem > base.maximumItem + (base.options.scrollPerPage === true ? (base.options.items - 1) : 0)) {
| + | |
− | if (base.options.rewindNav === true) {
| + | |
− | base.currentItem = 0;
| + | |
− | speed = "rewind";
| + | |
− | } else {
| + | |
− | base.currentItem = base.maximumItem;
| + | |
− | return false;
| + | |
− | }
| + | |
− | }
| + | |
− | base.goTo(base.currentItem, speed);
| + | |
− | },
| + | |
− | | + | |
− | prev : function (speed) {
| + | |
− | var base = this;
| + | |
− | | + | |
− | if (base.isTransition) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | | + | |
− | if (base.options.scrollPerPage === true && base.currentItem > 0 && base.currentItem < base.options.items) {
| + | |
− | base.currentItem = 0;
| + | |
− | } else {
| + | |
− | base.currentItem -= base.options.scrollPerPage === true ? base.options.items : 1;
| + | |
− | }
| + | |
− | if (base.currentItem < 0) {
| + | |
− | if (base.options.rewindNav === true) {
| + | |
− | base.currentItem = base.maximumItem;
| + | |
− | speed = "rewind";
| + | |
− | } else {
| + | |
− | base.currentItem = 0;
| + | |
− | return false;
| + | |
− | }
| + | |
− | }
| + | |
− | base.goTo(base.currentItem, speed);
| + | |
− | },
| + | |
− | | + | |
− | goTo : function (position, speed, drag) {
| + | |
− | var base = this,
| + | |
− | goToPixel;
| + | |
− | | + | |
− | if (base.isTransition) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | if (typeof base.options.beforeMove === "function") {
| + | |
− | base.options.beforeMove.apply(this, [base.$elem]);
| + | |
− | }
| + | |
− | if (position >= base.maximumItem) {
| + | |
− | position = base.maximumItem;
| + | |
− | } else if (position <= 0) {
| + | |
− | position = 0;
| + | |
− | }
| + | |
− | | + | |
− | base.currentItem = base.owl.currentItem = position;
| + | |
− | if (base.options.transitionStyle !== false && drag !== "drag" && base.options.items === 1 && base.browser.support3d === true) {
| + | |
− | base.swapSpeed(0);
| + | |
− | if (base.browser.support3d === true) {
| + | |
− | base.transition3d(base.positionsInArray[position]);
| + | |
− | } else {
| + | |
− | base.css2slide(base.positionsInArray[position], 1);
| + | |
− | }
| + | |
− | base.afterGo();
| + | |
− | base.singleItemTransition();
| + | |
− | return false;
| + | |
− | }
| + | |
− | goToPixel = base.positionsInArray[position];
| + | |
− | | + | |
− | if (base.browser.support3d === true) {
| + | |
− | base.isCss3Finish = false;
| + | |
− | | + | |
− | if (speed === true) {
| + | |
− | base.swapSpeed("paginationSpeed");
| + | |
− | window.setTimeout(function () {
| + | |
− | base.isCss3Finish = true;
| + | |
− | }, base.options.paginationSpeed);
| + | |
− | | + | |
− | } else if (speed === "rewind") {
| + | |
− | base.swapSpeed(base.options.rewindSpeed);
| + | |
− | window.setTimeout(function () {
| + | |
− | base.isCss3Finish = true;
| + | |
− | }, base.options.rewindSpeed);
| + | |
− | | + | |
− | } else {
| + | |
− | base.swapSpeed("slideSpeed");
| + | |
− | window.setTimeout(function () {
| + | |
− | base.isCss3Finish = true;
| + | |
− | }, base.options.slideSpeed);
| + | |
− | }
| + | |
− | base.transition3d(goToPixel);
| + | |
− | } else {
| + | |
− | if (speed === true) {
| + | |
− | base.css2slide(goToPixel, base.options.paginationSpeed);
| + | |
− | } else if (speed === "rewind") {
| + | |
− | base.css2slide(goToPixel, base.options.rewindSpeed);
| + | |
− | } else {
| + | |
− | base.css2slide(goToPixel, base.options.slideSpeed);
| + | |
− | }
| + | |
− | }
| + | |
− | base.afterGo();
| + | |
− | },
| + | |
− | | + | |
− | jumpTo : function (position) {
| + | |
− | var base = this;
| + | |
− | if (typeof base.options.beforeMove === "function") {
| + | |
− | base.options.beforeMove.apply(this, [base.$elem]);
| + | |
− | }
| + | |
− | if (position >= base.maximumItem || position === -1) {
| + | |
− | position = base.maximumItem;
| + | |
− | } else if (position <= 0) {
| + | |
− | position = 0;
| + | |
− | }
| + | |
− | base.swapSpeed(0);
| + | |
− | if (base.browser.support3d === true) {
| + | |
− | base.transition3d(base.positionsInArray[position]);
| + | |
− | } else {
| + | |
− | base.css2slide(base.positionsInArray[position], 1);
| + | |
− | }
| + | |
− | base.currentItem = base.owl.currentItem = position;
| + | |
− | base.afterGo();
| + | |
− | },
| + | |
− | | + | |
− | afterGo : function () {
| + | |
− | var base = this;
| + | |
− | | + | |
− | base.prevArr.push(base.currentItem);
| + | |
− | base.prevItem = base.owl.prevItem = base.prevArr[base.prevArr.length - 2];
| + | |
− | base.prevArr.shift(0);
| + | |
− | | + | |
− | if (base.prevItem !== base.currentItem) {
| + | |
− | base.checkPagination();
| + | |
− | base.checkNavigation();
| + | |
− | base.eachMoveUpdate();
| + | |
− | | + | |
− | if (base.options.autoPlay !== false) {
| + | |
− | base.checkAp();
| + | |
− | }
| + | |
− | }
| + | |
− | if (typeof base.options.afterMove === "function" && base.prevItem !== base.currentItem) {
| + | |
− | base.options.afterMove.apply(this, [base.$elem]);
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | stop : function () {
| + | |
− | var base = this;
| + | |
− | base.apStatus = "stop";
| + | |
− | window.clearInterval(base.autoPlayInterval);
| + | |
− | },
| + | |
− | | + | |
− | checkAp : function () {
| + | |
− | var base = this;
| + | |
− | if (base.apStatus !== "stop") {
| + | |
− | base.play();
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | play : function () {
| + | |
− | var base = this;
| + | |
− | base.apStatus = "play";
| + | |
− | if (base.options.autoPlay === false) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | window.clearInterval(base.autoPlayInterval);
| + | |
− | base.autoPlayInterval = window.setInterval(function () {
| + | |
− | base.next(true);
| + | |
− | }, base.options.autoPlay);
| + | |
− | },
| + | |
− | | + | |
− | swapSpeed : function (action) {
| + | |
− | var base = this;
| + | |
− | if (action === "slideSpeed") {
| + | |
− | base.$owlWrapper.css(base.addCssSpeed(base.options.slideSpeed));
| + | |
− | } else if (action === "paginationSpeed") {
| + | |
− | base.$owlWrapper.css(base.addCssSpeed(base.options.paginationSpeed));
| + | |
− | } else if (typeof action !== "string") {
| + | |
− | base.$owlWrapper.css(base.addCssSpeed(action));
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | addCssSpeed : function (speed) {
| + | |
− | return {
| + | |
− | "-webkit-transition": "all " + speed + "ms ease",
| + | |
− | "-moz-transition": "all " + speed + "ms ease",
| + | |
− | "-o-transition": "all " + speed + "ms ease",
| + | |
− | "transition": "all " + speed + "ms ease"
| + | |
− | };
| + | |
− | },
| + | |
− | | + | |
− | removeTransition : function () {
| + | |
− | return {
| + | |
− | "-webkit-transition": "",
| + | |
− | "-moz-transition": "",
| + | |
− | "-o-transition": "",
| + | |
− | "transition": ""
| + | |
− | };
| + | |
− | },
| + | |
− | | + | |
− | doTranslate : function (pixels) {
| + | |
− | return {
| + | |
− | "-webkit-transform": "translate3d(" + pixels + "px, 0px, 0px)",
| + | |
− | "-moz-transform": "translate3d(" + pixels + "px, 0px, 0px)",
| + | |
− | "-o-transform": "translate3d(" + pixels + "px, 0px, 0px)",
| + | |
− | "-ms-transform": "translate3d(" + pixels + "px, 0px, 0px)",
| + | |
− | "transform": "translate3d(" + pixels + "px, 0px,0px)"
| + | |
− | };
| + | |
− | },
| + | |
− | | + | |
− | transition3d : function (value) {
| + | |
− | var base = this;
| + | |
− | base.$owlWrapper.css(base.doTranslate(value));
| + | |
− | },
| + | |
− | | + | |
− | css2move : function (value) {
| + | |
− | var base = this;
| + | |
− | base.$owlWrapper.css({"left" : value});
| + | |
− | },
| + | |
− | | + | |
− | css2slide : function (value, speed) {
| + | |
− | var base = this;
| + | |
− | | + | |
− | base.isCssFinish = false;
| + | |
− | base.$owlWrapper.stop(true, true).animate({
| + | |
− | "left" : value
| + | |
− | }, {
| + | |
− | duration : speed || base.options.slideSpeed,
| + | |
− | complete : function () {
| + | |
− | base.isCssFinish = true;
| + | |
− | }
| + | |
− | });
| + | |
− | },
| + | |
− | | + | |
− | checkBrowser : function () {
| + | |
− | var base = this,
| + | |
− | translate3D = "translate3d(0px, 0px, 0px)",
| + | |
− | tempElem = document.createElement("div"),
| + | |
− | regex,
| + | |
− | asSupport,
| + | |
− | support3d,
| + | |
− | isTouch;
| + | |
− | | + | |
− | tempElem.style.cssText = " -moz-transform:" + translate3D +
| + | |
− | "; -ms-transform:" + translate3D +
| + | |
− | "; -o-transform:" + translate3D +
| + | |
− | "; -webkit-transform:" + translate3D +
| + | |
− | "; transform:" + translate3D;
| + | |
− | regex = /translate3d\(0px, 0px, 0px\)/g;
| + | |
− | asSupport = tempElem.style.cssText.match(regex);
| + | |
− | support3d = (asSupport !== null && asSupport.length === 1);
| + | |
− | | + | |
− | isTouch = "ontouchstart" in window || window.navigator.msMaxTouchPoints;
| + | |
− | | + | |
− | base.browser = {
| + | |
− | "support3d" : support3d,
| + | |
− | "isTouch" : isTouch
| + | |
− | };
| + | |
− | },
| + | |
− | | + | |
− | moveEvents : function () {
| + | |
− | var base = this;
| + | |
− | if (base.options.mouseDrag !== false || base.options.touchDrag !== false) {
| + | |
− | base.gestures();
| + | |
− | base.disabledEvents();
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | eventTypes : function () {
| + | |
− | var base = this,
| + | |
− | types = ["s", "e", "x"];
| + | |
− | | + | |
− | base.ev_types = {};
| + | |
− | | + | |
− | if (base.options.mouseDrag === true && base.options.touchDrag === true) {
| + | |
− | types = [
| + | |
− | "touchstart.owl mousedown.owl",
| + | |
− | "touchmove.owl mousemove.owl",
| + | |
− | "touchend.owl touchcancel.owl mouseup.owl"
| + | |
− | ];
| + | |
− | } else if (base.options.mouseDrag === false && base.options.touchDrag === true) {
| + | |
− | types = [
| + | |
− | "touchstart.owl",
| + | |
− | "touchmove.owl",
| + | |
− | "touchend.owl touchcancel.owl"
| + | |
− | ];
| + | |
− | } else if (base.options.mouseDrag === true && base.options.touchDrag === false) {
| + | |
− | types = [
| + | |
− | "mousedown.owl",
| + | |
− | "mousemove.owl",
| + | |
− | "mouseup.owl"
| + | |
− | ];
| + | |
− | }
| + | |
− | | + | |
− | base.ev_types.start = types[0];
| + | |
− | base.ev_types.move = types[1];
| + | |
− | base.ev_types.end = types[2];
| + | |
− | },
| + | |
− | | + | |
− | disabledEvents : function () {
| + | |
− | var base = this;
| + | |
− | base.$elem.on("dragstart.owl", function (event) { event.preventDefault(); });
| + | |
− | base.$elem.on("mousedown.disableTextSelect", function (e) {
| + | |
− | return $(e.target).is('input, textarea, select, option');
| + | |
− | });
| + | |
− | },
| + | |
− | | + | |
− | gestures : function () {
| + | |
− | /*jslint unparam: true*/
| + | |
− | var base = this,
| + | |
− | locals = {
| + | |
− | offsetX : 0,
| + | |
− | offsetY : 0,
| + | |
− | baseElWidth : 0,
| + | |
− | relativePos : 0,
| + | |
− | position: null,
| + | |
− | minSwipe : null,
| + | |
− | maxSwipe: null,
| + | |
− | sliding : null,
| + | |
− | dargging: null,
| + | |
− | targetElement : null
| + | |
− | };
| + | |
− | | + | |
− | base.isCssFinish = true;
| + | |
− | | + | |
− | function getTouches(event) {
| + | |
− | if (event.touches !== undefined) {
| + | |
− | return {
| + | |
− | x : event.touches[0].pageX,
| + | |
− | y : event.touches[0].pageY
| + | |
− | };
| + | |
− | }
| + | |
− | | + | |
− | if (event.touches === undefined) {
| + | |
− | if (event.pageX !== undefined) {
| + | |
− | return {
| + | |
− | x : event.pageX,
| + | |
− | y : event.pageY
| + | |
− | };
| + | |
− | }
| + | |
− | if (event.pageX === undefined) {
| + | |
− | return {
| + | |
− | x : event.clientX,
| + | |
− | y : event.clientY
| + | |
− | };
| + | |
− | }
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | function swapEvents(type) {
| + | |
− | if (type === "on") {
| + | |
− | $(document).on(base.ev_types.move, dragMove);
| + | |
− | $(document).on(base.ev_types.end, dragEnd);
| + | |
− | } else if (type === "off") {
| + | |
− | $(document).off(base.ev_types.move);
| + | |
− | $(document).off(base.ev_types.end);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | function dragStart(event) {
| + | |
− | var ev = event.originalEvent || event || window.event,
| + | |
− | position;
| + | |
− | | + | |
− | if (ev.which === 3) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | if (base.itemsAmount <= base.options.items) {
| + | |
− | return;
| + | |
− | }
| + | |
− | if (base.isCssFinish === false && !base.options.dragBeforeAnimFinish) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | if (base.isCss3Finish === false && !base.options.dragBeforeAnimFinish) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | | + | |
− | if (base.options.autoPlay !== false) {
| + | |
− | window.clearInterval(base.autoPlayInterval);
| + | |
− | }
| + | |
− | | + | |
− | if (base.browser.isTouch !== true && !base.$owlWrapper.hasClass("grabbing")) {
| + | |
− | base.$owlWrapper.addClass("grabbing");
| + | |
− | }
| + | |
− | | + | |
− | base.newPosX = 0;
| + | |
− | base.newRelativeX = 0;
| + | |
− | | + | |
− | $(this).css(base.removeTransition());
| + | |
− | | + | |
− | position = $(this).position();
| + | |
− | locals.relativePos = position.left;
| + | |
− | | + | |
− | locals.offsetX = getTouches(ev).x - position.left;
| + | |
− | locals.offsetY = getTouches(ev).y - position.top;
| + | |
− | | + | |
− | swapEvents("on");
| + | |
− | | + | |
− | locals.sliding = false;
| + | |
− | locals.targetElement = ev.target || ev.srcElement;
| + | |
− | }
| + | |
− | | + | |
− | function dragMove(event) {
| + | |
− | var ev = event.originalEvent || event || window.event,
| + | |
− | minSwipe,
| + | |
− | maxSwipe;
| + | |
− | | + | |
− | base.newPosX = getTouches(ev).x - locals.offsetX;
| + | |
− | base.newPosY = getTouches(ev).y - locals.offsetY;
| + | |
− | base.newRelativeX = base.newPosX - locals.relativePos;
| + | |
− | | + | |
− | if (typeof base.options.startDragging === "function" && locals.dragging !== true && base.newRelativeX !== 0) {
| + | |
− | locals.dragging = true;
| + | |
− | base.options.startDragging.apply(base, [base.$elem]);
| + | |
− | }
| + | |
− | | + | |
− | if ((base.newRelativeX > 8 || base.newRelativeX < -8) && (base.browser.isTouch === true)) {
| + | |
− | if (ev.preventDefault !== undefined) {
| + | |
− | ev.preventDefault();
| + | |
− | } else {
| + | |
− | ev.returnValue = false;
| + | |
− | }
| + | |
− | locals.sliding = true;
| + | |
− | }
| + | |
− | | + | |
− | if ((base.newPosY > 10 || base.newPosY < -10) && locals.sliding === false) {
| + | |
− | $(document).off("touchmove.owl");
| + | |
− | }
| + | |
− | | + | |
− | minSwipe = function () {
| + | |
− | return base.newRelativeX / 5;
| + | |
− | };
| + | |
− | | + | |
− | maxSwipe = function () {
| + | |
− | return base.maximumPixels + base.newRelativeX / 5;
| + | |
− | };
| + | |
− | | + | |
− | base.newPosX = Math.max(Math.min(base.newPosX, minSwipe()), maxSwipe());
| + | |
− | if (base.browser.support3d === true) {
| + | |
− | base.transition3d(base.newPosX);
| + | |
− | } else {
| + | |
− | base.css2move(base.newPosX);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | function dragEnd(event) {
| + | |
− | var ev = event.originalEvent || event || window.event,
| + | |
− | newPosition,
| + | |
− | handlers,
| + | |
− | owlStopEvent;
| + | |
− | | + | |
− | ev.target = ev.target || ev.srcElement;
| + | |
− | | + | |
− | locals.dragging = false;
| + | |
− | | + | |
− | if (base.browser.isTouch !== true) {
| + | |
− | base.$owlWrapper.removeClass("grabbing");
| + | |
− | }
| + | |
− | | + | |
− | if (base.newRelativeX < 0) {
| + | |
− | base.dragDirection = base.owl.dragDirection = "left";
| + | |
− | } else {
| + | |
− | base.dragDirection = base.owl.dragDirection = "right";
| + | |
− | }
| + | |
− | | + | |
− | if (base.newRelativeX !== 0) {
| + | |
− | newPosition = base.getNewPosition();
| + | |
− | base.goTo(newPosition, false, "drag");
| + | |
− | if (locals.targetElement === ev.target && base.browser.isTouch !== true) {
| + | |
− | $(ev.target).on("click.disable", function (ev) {
| + | |
− | ev.stopImmediatePropagation();
| + | |
− | ev.stopPropagation();
| + | |
− | ev.preventDefault();
| + | |
− | $(ev.target).off("click.disable");
| + | |
− | });
| + | |
− | handlers = $._data(ev.target, "events").click;
| + | |
− | owlStopEvent = handlers.pop();
| + | |
− | handlers.splice(0, 0, owlStopEvent);
| + | |
− | }
| + | |
− | }
| + | |
− | swapEvents("off");
| + | |
− | }
| + | |
− | base.$elem.on(base.ev_types.start, ".owl-wrapper", dragStart);
| + | |
− | },
| + | |
− | | + | |
− | getNewPosition : function () {
| + | |
− | var base = this,
| + | |
− | newPosition = base.closestItem();
| + | |
− | | + | |
− | if (newPosition > base.maximumItem) {
| + | |
− | base.currentItem = base.maximumItem;
| + | |
− | newPosition = base.maximumItem;
| + | |
− | } else if (base.newPosX >= 0) {
| + | |
− | newPosition = 0;
| + | |
− | base.currentItem = 0;
| + | |
− | }
| + | |
− | return newPosition;
| + | |
− | },
| + | |
− | closestItem : function () {
| + | |
− | var base = this,
| + | |
− | array = base.options.scrollPerPage === true ? base.pagesInArray : base.positionsInArray,
| + | |
− | goal = base.newPosX,
| + | |
− | closest = null;
| + | |
− | | + | |
− | $.each(array, function (i, v) {
| + | |
− | if (goal - (base.itemWidth / 20) > array[i + 1] && goal - (base.itemWidth / 20) < v && base.moveDirection() === "left") {
| + | |
− | closest = v;
| + | |
− | if (base.options.scrollPerPage === true) {
| + | |
− | base.currentItem = $.inArray(closest, base.positionsInArray);
| + | |
− | } else {
| + | |
− | base.currentItem = i;
| + | |
− | }
| + | |
− | } else if (goal + (base.itemWidth / 20) < v && goal + (base.itemWidth / 20) > (array[i + 1] || array[i] - base.itemWidth) && base.moveDirection() === "right") {
| + | |
− | if (base.options.scrollPerPage === true) {
| + | |
− | closest = array[i + 1] || array[array.length - 1];
| + | |
− | base.currentItem = $.inArray(closest, base.positionsInArray);
| + | |
− | } else {
| + | |
− | closest = array[i + 1];
| + | |
− | base.currentItem = i + 1;
| + | |
− | }
| + | |
− | }
| + | |
− | });
| + | |
− | return base.currentItem;
| + | |
− | },
| + | |
− | | + | |
− | moveDirection : function () {
| + | |
− | var base = this,
| + | |
− | direction;
| + | |
− | if (base.newRelativeX < 0) {
| + | |
− | direction = "right";
| + | |
− | base.playDirection = "next";
| + | |
− | } else {
| + | |
− | direction = "left";
| + | |
− | base.playDirection = "prev";
| + | |
− | }
| + | |
− | return direction;
| + | |
− | },
| + | |
− | | + | |
− | customEvents : function () {
| + | |
− | /*jslint unparam: true*/
| + | |
− | var base = this;
| + | |
− | base.$elem.on("owl.next", function () {
| + | |
− | base.next();
| + | |
− | });
| + | |
− | base.$elem.on("owl.prev", function () {
| + | |
− | base.prev();
| + | |
− | });
| + | |
− | base.$elem.on("owl.play", function (event, speed) {
| + | |
− | base.options.autoPlay = speed;
| + | |
− | base.play();
| + | |
− | base.hoverStatus = "play";
| + | |
− | });
| + | |
− | base.$elem.on("owl.stop", function () {
| + | |
− | base.stop();
| + | |
− | base.hoverStatus = "stop";
| + | |
− | });
| + | |
− | base.$elem.on("owl.goTo", function (event, item) {
| + | |
− | base.goTo(item);
| + | |
− | });
| + | |
− | base.$elem.on("owl.jumpTo", function (event, item) {
| + | |
− | base.jumpTo(item);
| + | |
− | });
| + | |
− | },
| + | |
− | | + | |
− | stopOnHover : function () {
| + | |
− | var base = this;
| + | |
− | if (base.options.stopOnHover === true && base.browser.isTouch !== true && base.options.autoPlay !== false) {
| + | |
− | base.$elem.on("mouseover", function () {
| + | |
− | base.stop();
| + | |
− | });
| + | |
− | base.$elem.on("mouseout", function () {
| + | |
− | if (base.hoverStatus !== "stop") {
| + | |
− | base.play();
| + | |
− | }
| + | |
− | });
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | lazyLoad : function () {
| + | |
− | var base = this,
| + | |
− | i,
| + | |
− | $item,
| + | |
− | itemNumber,
| + | |
− | $lazyImg,
| + | |
− | follow;
| + | |
− | | + | |
− | if (base.options.lazyLoad === false) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | for (i = 0; i < base.itemsAmount; i += 1) {
| + | |
− | $item = $(base.$owlItems[i]);
| + | |
− | | + | |
− | if ($item.data("owl-loaded") === "loaded") {
| + | |
− | continue;
| + | |
− | }
| + | |
− | | + | |
− | itemNumber = $item.data("owl-item");
| + | |
− | $lazyImg = $item.find(".lazyOwl");
| + | |
− | | + | |
− | if (typeof $lazyImg.data("src") !== "string") {
| + | |
− | $item.data("owl-loaded", "loaded");
| + | |
− | continue;
| + | |
− | }
| + | |
− | if ($item.data("owl-loaded") === undefined) {
| + | |
− | $lazyImg.hide();
| + | |
− | $item.addClass("loading").data("owl-loaded", "checked");
| + | |
− | }
| + | |
− | if (base.options.lazyFollow === true) {
| + | |
− | follow = itemNumber >= base.currentItem;
| + | |
− | } else {
| + | |
− | follow = true;
| + | |
− | }
| + | |
− | if (follow && itemNumber < base.currentItem + base.options.items && $lazyImg.length) {
| + | |
− | base.lazyPreload($item, $lazyImg);
| + | |
− | }
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | lazyPreload : function ($item, $lazyImg) {
| + | |
− | var base = this,
| + | |
− | iterations = 0,
| + | |
− | isBackgroundImg;
| + | |
− | | + | |
− | if ($lazyImg.prop("tagName") === "DIV") {
| + | |
− | $lazyImg.css("background-image", "url(" + $lazyImg.data("src") + ")");
| + | |
− | isBackgroundImg = true;
| + | |
− | } else {
| + | |
− | $lazyImg[0].src = $lazyImg.data("src");
| + | |
− | }
| + | |
− | | + | |
− | function showImage() {
| + | |
− | $item.data("owl-loaded", "loaded").removeClass("loading");
| + | |
− | $lazyImg.removeAttr("data-src");
| + | |
− | if (base.options.lazyEffect === "fade") {
| + | |
− | $lazyImg.fadeIn(400);
| + | |
− | } else {
| + | |
− | $lazyImg.show();
| + | |
− | }
| + | |
− | if (typeof base.options.afterLazyLoad === "function") {
| + | |
− | base.options.afterLazyLoad.apply(this, [base.$elem]);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | function checkLazyImage() {
| + | |
− | iterations += 1;
| + | |
− | if (base.completeImg($lazyImg.get(0)) || isBackgroundImg === true) {
| + | |
− | showImage();
| + | |
− | } else if (iterations <= 100) {//if image loads in less than 10 seconds
| + | |
− | window.setTimeout(checkLazyImage, 100);
| + | |
− | } else {
| + | |
− | showImage();
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | checkLazyImage();
| + | |
− | },
| + | |
− | | + | |
− | autoHeight : function () {
| + | |
− | var base = this,
| + | |
− | $currentimg = $(base.$owlItems[base.currentItem]).find("img"),
| + | |
− | iterations;
| + | |
− | | + | |
− | function addHeight() {
| + | |
− | var $currentItem = $(base.$owlItems[base.currentItem]).height();
| + | |
− | base.wrapperOuter.css("height", $currentItem + "px");
| + | |
− | if (!base.wrapperOuter.hasClass("autoHeight")) {
| + | |
− | window.setTimeout(function () {
| + | |
− | base.wrapperOuter.addClass("autoHeight");
| + | |
− | }, 0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | function checkImage() {
| + | |
− | iterations += 1;
| + | |
− | if (base.completeImg($currentimg.get(0))) {
| + | |
− | addHeight();
| + | |
− | } else if (iterations <= 100) { //if image loads in less than 10 seconds
| + | |
− | window.setTimeout(checkImage, 100);
| + | |
− | } else {
| + | |
− | base.wrapperOuter.css("height", ""); //Else remove height attribute
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | if ($currentimg.get(0) !== undefined) {
| + | |
− | iterations = 0;
| + | |
− | checkImage();
| + | |
− | } else {
| + | |
− | addHeight();
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | completeImg : function (img) {
| + | |
− | var naturalWidthType;
| + | |
− | | + | |
− | if (!img.complete) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | naturalWidthType = typeof img.naturalWidth;
| + | |
− | if (naturalWidthType !== "undefined" && img.naturalWidth === 0) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | return true;
| + | |
− | },
| + | |
− | | + | |
− | onVisibleItems : function () {
| + | |
− | var base = this,
| + | |
− | i;
| + | |
− | | + | |
− | if (base.options.addClassActive === true) {
| + | |
− | base.$owlItems.removeClass("active");
| + | |
− | }
| + | |
− | base.visibleItems = [];
| + | |
− | for (i = base.currentItem; i < base.currentItem + base.options.items; i += 1) {
| + | |
− | base.visibleItems.push(i);
| + | |
− | | + | |
− | if (base.options.addClassActive === true) {
| + | |
− | $(base.$owlItems[i]).addClass("active");
| + | |
− | }
| + | |
− | }
| + | |
− | base.owl.visibleItems = base.visibleItems;
| + | |
− | },
| + | |
− | | + | |
− | transitionTypes : function (className) {
| + | |
− | var base = this;
| + | |
− | //Currently available: "fade", "backSlide", "goDown", "fadeUp"
| + | |
− | base.outClass = "owl-" + className + "-out";
| + | |
− | base.inClass = "owl-" + className + "-in";
| + | |
− | },
| + | |
− | | + | |
− | singleItemTransition : function () {
| + | |
− | var base = this,
| + | |
− | outClass = base.outClass,
| + | |
− | inClass = base.inClass,
| + | |
− | $currentItem = base.$owlItems.eq(base.currentItem),
| + | |
− | $prevItem = base.$owlItems.eq(base.prevItem),
| + | |
− | prevPos = Math.abs(base.positionsInArray[base.currentItem]) + base.positionsInArray[base.prevItem],
| + | |
− | origin = Math.abs(base.positionsInArray[base.currentItem]) + base.itemWidth / 2,
| + | |
− | animEnd = 'webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend';
| + | |
− | | + | |
− | base.isTransition = true;
| + | |
− | | + | |
− | base.$owlWrapper
| + | |
− | .addClass('owl-origin')
| + | |
− | .css({
| + | |
− | "-webkit-transform-origin" : origin + "px",
| + | |
− | "-moz-perspective-origin" : origin + "px",
| + | |
− | "perspective-origin" : origin + "px"
| + | |
− | });
| + | |
− | function transStyles(prevPos) {
| + | |
− | return {
| + | |
− | "position" : "relative",
| + | |
− | "left" : prevPos + "px"
| + | |
− | };
| + | |
− | }
| + | |
− | | + | |
− | $prevItem
| + | |
− | .css(transStyles(prevPos, 10))
| + | |
− | .addClass(outClass)
| + | |
− | .on(animEnd, function () {
| + | |
− | base.endPrev = true;
| + | |
− | $prevItem.off(animEnd);
| + | |
− | base.clearTransStyle($prevItem, outClass);
| + | |
− | });
| + | |
− | | + | |
− | $currentItem
| + | |
− | .addClass(inClass)
| + | |
− | .on(animEnd, function () {
| + | |
− | base.endCurrent = true;
| + | |
− | $currentItem.off(animEnd);
| + | |
− | base.clearTransStyle($currentItem, inClass);
| + | |
− | });
| + | |
− | },
| + | |
− | | + | |
− | clearTransStyle : function (item, classToRemove) {
| + | |
− | var base = this;
| + | |
− | item.css({
| + | |
− | "position" : "",
| + | |
− | "left" : ""
| + | |
− | }).removeClass(classToRemove);
| + | |
− | | + | |
− | if (base.endPrev && base.endCurrent) {
| + | |
− | base.$owlWrapper.removeClass('owl-origin');
| + | |
− | base.endPrev = false;
| + | |
− | base.endCurrent = false;
| + | |
− | base.isTransition = false;
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | owlStatus : function () {
| + | |
− | var base = this;
| + | |
− | base.owl = {
| + | |
− | "userOptions" : base.userOptions,
| + | |
− | "baseElement" : base.$elem,
| + | |
− | "userItems" : base.$userItems,
| + | |
− | "owlItems" : base.$owlItems,
| + | |
− | "currentItem" : base.currentItem,
| + | |
− | "prevItem" : base.prevItem,
| + | |
− | "visibleItems" : base.visibleItems,
| + | |
− | "isTouch" : base.browser.isTouch,
| + | |
− | "browser" : base.browser,
| + | |
− | "dragDirection" : base.dragDirection
| + | |
− | };
| + | |
− | },
| + | |
− | | + | |
− | clearEvents : function () {
| + | |
− | var base = this;
| + | |
− | base.$elem.off(".owl owl mousedown.disableTextSelect");
| + | |
− | $(document).off(".owl owl");
| + | |
− | $(window).off("resize", base.resizer);
| + | |
− | },
| + | |
− | | + | |
− | unWrap : function () {
| + | |
− | var base = this;
| + | |
− | if (base.$elem.children().length !== 0) {
| + | |
− | base.$owlWrapper.unwrap();
| + | |
− | base.$userItems.unwrap().unwrap();
| + | |
− | if (base.owlControls) {
| + | |
− | base.owlControls.remove();
| + | |
− | }
| + | |
− | }
| + | |
− | base.clearEvents();
| + | |
− | base.$elem
| + | |
− | .attr("style", base.$elem.data("owl-originalStyles") || "")
| + | |
− | .attr("class", base.$elem.data("owl-originalClasses"));
| + | |
− | },
| + | |
− | | + | |
− | destroy : function () {
| + | |
− | var base = this;
| + | |
− | base.stop();
| + | |
− | window.clearInterval(base.checkVisible);
| + | |
− | base.unWrap();
| + | |
− | base.$elem.removeData();
| + | |
− | },
| + | |
− | | + | |
− | reinit : function (newOptions) {
| + | |
− | var base = this,
| + | |
− | options = $.extend({}, base.userOptions, newOptions);
| + | |
− | base.unWrap();
| + | |
− | base.init(options, base.$elem);
| + | |
− | },
| + | |
− | | + | |
− | addItem : function (htmlString, targetPosition) {
| + | |
− | var base = this,
| + | |
− | position;
| + | |
− | | + | |
− | if (!htmlString) {return false; }
| + | |
− | | + | |
− | if (base.$elem.children().length === 0) {
| + | |
− | base.$elem.append(htmlString);
| + | |
− | base.setVars();
| + | |
− | return false;
| + | |
− | }
| + | |
− | base.unWrap();
| + | |
− | if (targetPosition === undefined || targetPosition === -1) {
| + | |
− | position = -1;
| + | |
− | } else {
| + | |
− | position = targetPosition;
| + | |
− | }
| + | |
− | if (position >= base.$userItems.length || position === -1) {
| + | |
− | base.$userItems.eq(-1).after(htmlString);
| + | |
− | } else {
| + | |
− | base.$userItems.eq(position).before(htmlString);
| + | |
− | }
| + | |
− | | + | |
− | base.setVars();
| + | |
− | },
| + | |
− | | + | |
− | removeItem : function (targetPosition) {
| + | |
− | var base = this,
| + | |
− | position;
| + | |
− | | + | |
− | if (base.$elem.children().length === 0) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | if (targetPosition === undefined || targetPosition === -1) {
| + | |
− | position = -1;
| + | |
− | } else {
| + | |
− | position = targetPosition;
| + | |
− | }
| + | |
− | | + | |
− | base.unWrap();
| + | |
− | base.$userItems.eq(position).remove();
| + | |
− | base.setVars();
| + | |
− | }
| + | |
− | | + | |
− | };
| + | |
− | | + | |
− | $.fn.owlCarousel = function (options) {
| + | |
− | return this.each(function () {
| + | |
− | if ($(this).data("owl-init") === true) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | $(this).data("owl-init", true);
| + | |
− | var carousel = Object.create(Carousel);
| + | |
− | carousel.init(options, this);
| + | |
− | $.data(this, "owlCarousel", carousel);
| + | |
− | });
| + | |
− | };
| + | |
− | | + | |
− | $.fn.owlCarousel.options = {
| + | |
− | | + | |
− | items : 5,
| + | |
− | itemsCustom : false,
| + | |
− | itemsDesktop : [1199, 4],
| + | |
− | itemsDesktopSmall : [979, 3],
| + | |
− | itemsTablet : [768, 2],
| + | |
− | itemsTabletSmall : false,
| + | |
− | itemsMobile : [479, 1],
| + | |
− | singleItem : false,
| + | |
− | itemsScaleUp : false,
| + | |
− | | + | |
− | slideSpeed : 200,
| + | |
− | paginationSpeed : 800,
| + | |
− | rewindSpeed : 1000,
| + | |
− | | + | |
− | autoPlay : false,
| + | |
− | stopOnHover : false,
| + | |
− | | + | |
− | navigation : false,
| + | |
− | navigationText : ["prev", "next"],
| + | |
− | rewindNav : true,
| + | |
− | scrollPerPage : false,
| + | |
− | | + | |
− | pagination : true,
| + | |
− | paginationNumbers : false,
| + | |
− | | + | |
− | responsive : true,
| + | |
− | responsiveRefreshRate : 200,
| + | |
− | responsiveBaseWidth : window,
| + | |
− | | + | |
− | baseClass : "owl-carousel",
| + | |
− | theme : "owl-theme",
| + | |
− | | + | |
− | lazyLoad : false,
| + | |
− | lazyFollow : true,
| + | |
− | lazyEffect : "fade",
| + | |
− | | + | |
− | autoHeight : false,
| + | |
− | | + | |
− | jsonPath : false,
| + | |
− | jsonSuccess : false,
| + | |
− | | + | |
− | dragBeforeAnimFinish : true,
| + | |
− | mouseDrag : true,
| + | |
− | touchDrag : true,
| + | |
− | | + | |
− | addClassActive : false,
| + | |
− | transitionStyle : false,
| + | |
− | | + | |
− | beforeUpdate : false,
| + | |
− | afterUpdate : false,
| + | |
− | beforeInit : false,
| + | |
− | afterInit : false,
| + | |
− | beforeMove : false,
| + | |
− | afterMove : false,
| + | |
− | afterAction : false,
| + | |
− | startDragging : false,
| + | |
− | afterLazyLoad: false
| + | |
− | };
| + | |
− | }(jQuery, window, document));
| + | |
− | | + | |
− | | + | |
− | | + | |
− | /*
| + | |
− | * jQuery FlexSlider v2.2.0
| + | |
− | * Copyright 2012 WooThemes
| + | |
− | * Contributing Author: Tyler Smith
| + | |
− | */
| + | |
− | ;
| + | |
− | (function ($) {
| + | |
− | | + | |
− | //FlexSlider: Object Instance
| + | |
− | $.flexslider = function(el, options) {
| + | |
− | var slider = $(el);
| + | |
− | | + | |
− | // making variables public
| + | |
− | slider.vars = $.extend({}, $.flexslider.defaults, options);
| + | |
− | | + | |
− | var namespace = slider.vars.namespace,
| + | |
− | msGesture = window.navigator && window.navigator.msPointerEnabled && window.MSGesture,
| + | |
− | touch = (( "ontouchstart" in window ) || msGesture || window.DocumentTouch && document instanceof DocumentTouch) && slider.vars.touch,
| + | |
− | // depricating this idea, as devices are being released with both of these events
| + | |
− | //eventType = (touch) ? "touchend" : "click",
| + | |
− | eventType = "click touchend MSPointerUp",
| + | |
− | watchedEvent = "",
| + | |
− | watchedEventClearTimer,
| + | |
− | vertical = slider.vars.direction === "vertical",
| + | |
− | reverse = slider.vars.reverse,
| + | |
− | carousel = (slider.vars.itemWidth > 0),
| + | |
− | fade = slider.vars.animation === "fade",
| + | |
− | asNav = slider.vars.asNavFor !== "",
| + | |
− | methods = {},
| + | |
− | focused = true;
| + | |
− | | + | |
− | // Store a reference to the slider object
| + | |
− | $.data(el, "flexslider", slider);
| + | |
− | | + | |
− | // Private slider methods
| + | |
− | methods = {
| + | |
− | init: function() {
| + | |
− | slider.animating = false;
| + | |
− | // Get current slide and make sure it is a number
| + | |
− | slider.currentSlide = parseInt( ( slider.vars.startAt ? slider.vars.startAt : 0) );
| + | |
− | if ( isNaN( slider.currentSlide ) ) slider.currentSlide = 0;
| + | |
− | slider.animatingTo = slider.currentSlide;
| + | |
− | slider.atEnd = (slider.currentSlide === 0 || slider.currentSlide === slider.last);
| + | |
− | slider.containerSelector = slider.vars.selector.substr(0,slider.vars.selector.search(' '));
| + | |
− | slider.slides = $(slider.vars.selector, slider);
| + | |
− | slider.container = $(slider.containerSelector, slider);
| + | |
− | slider.count = slider.slides.length;
| + | |
− | // SYNC:
| + | |
− | slider.syncExists = $(slider.vars.sync).length > 0;
| + | |
− | // SLIDE:
| + | |
− | if (slider.vars.animation === "slide") slider.vars.animation = "swing";
| + | |
− | slider.prop = (vertical) ? "top" : "marginLeft";
| + | |
− | slider.args = {};
| + | |
− | // SLIDESHOW:
| + | |
− | slider.manualPause = false;
| + | |
− | slider.stopped = false;
| + | |
− | //PAUSE WHEN INVISIBLE
| + | |
− | slider.started = false;
| + | |
− | slider.startTimeout = null;
| + | |
− | // TOUCH/USECSS:
| + | |
− | slider.transitions = !slider.vars.video && !fade && slider.vars.useCSS && (function() {
| + | |
− | var obj = document.createElement('div'),
| + | |
− | props = ['perspectiveProperty', 'WebkitPerspective', 'MozPerspective', 'OPerspective', 'msPerspective'];
| + | |
− | for (var i in props) {
| + | |
− | if ( obj.style[ props[i] ] !== undefined ) {
| + | |
− | slider.pfx = props[i].replace('Perspective','').toLowerCase();
| + | |
− | slider.prop = "-" + slider.pfx + "-transform";
| + | |
− | return true;
| + | |
− | }
| + | |
− | }
| + | |
− | return false;
| + | |
− | }());
| + | |
− | // CONTROLSCONTAINER:
| + | |
− | if (slider.vars.controlsContainer !== "") slider.controlsContainer = $(slider.vars.controlsContainer).length > 0 && $(slider.vars.controlsContainer);
| + | |
− | // MANUAL:
| + | |
− | if (slider.vars.manualControls !== "") slider.manualControls = $(slider.vars.manualControls).length > 0 && $(slider.vars.manualControls);
| + | |
− | | + | |
− | // RANDOMIZE:
| + | |
− | if (slider.vars.randomize) {
| + | |
− | slider.slides.sort(function() { return (Math.round(Math.random())-0.5); });
| + | |
− | slider.container.empty().append(slider.slides);
| + | |
− | }
| + | |
− | | + | |
− | slider.doMath();
| + | |
− | | + | |
− | // INIT
| + | |
− | slider.setup("init");
| + | |
− | | + | |
− | // CONTROLNAV:
| + | |
− | if (slider.vars.controlNav) methods.controlNav.setup();
| + | |
− | | + | |
− | // DIRECTIONNAV:
| + | |
− | if (slider.vars.directionNav) methods.directionNav.setup();
| + | |
− | | + | |
− | // KEYBOARD:
| + | |
− | if (slider.vars.keyboard && ($(slider.containerSelector).length === 1 || slider.vars.multipleKeyboard)) {
| + | |
− | $(document).bind('keyup', function(event) {
| + | |
− | var keycode = event.keyCode;
| + | |
− | if (!slider.animating && (keycode === 39 || keycode === 37)) {
| + | |
− | var target = (keycode === 39) ? slider.getTarget('next') :
| + | |
− | (keycode === 37) ? slider.getTarget('prev') : false;
| + | |
− | slider.flexAnimate(target, slider.vars.pauseOnAction);
| + | |
− | }
| + | |
− | });
| + | |
− | }
| + | |
− | // MOUSEWHEEL:
| + | |
− | if (slider.vars.mousewheel) {
| + | |
− | slider.bind('mousewheel', function(event, delta, deltaX, deltaY) {
| + | |
− | event.preventDefault();
| + | |
− | var target = (delta < 0) ? slider.getTarget('next') : slider.getTarget('prev');
| + | |
− | slider.flexAnimate(target, slider.vars.pauseOnAction);
| + | |
− | });
| + | |
− | }
| + | |
− | | + | |
− | // PAUSEPLAY
| + | |
− | if (slider.vars.pausePlay) methods.pausePlay.setup();
| + | |
− | | + | |
− | //PAUSE WHEN INVISIBLE
| + | |
− | if (slider.vars.slideshow && slider.vars.pauseInvisible) methods.pauseInvisible.init();
| + | |
− | | + | |
− | // SLIDSESHOW
| + | |
− | if (slider.vars.slideshow) {
| + | |
− | if (slider.vars.pauseOnHover) {
| + | |
− | slider.hover(function() {
| + | |
− | if (!slider.manualPlay && !slider.manualPause) slider.pause();
| + | |
− | }, function() {
| + | |
− | if (!slider.manualPause && !slider.manualPlay && !slider.stopped) slider.play();
| + | |
− | });
| + | |
− | }
| + | |
− | // initialize animation
| + | |
− | //If we're visible, or we don't use PageVisibility API
| + | |
− | if(!slider.vars.pauseInvisible || !methods.pauseInvisible.isHidden()) {
| + | |
− | (slider.vars.initDelay > 0) ? slider.startTimeout = setTimeout(slider.play, slider.vars.initDelay) : slider.play();
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | // ASNAV:
| + | |
− | if (asNav) methods.asNav.setup();
| + | |
− | | + | |
− | // TOUCH
| + | |
− | if (touch && slider.vars.touch) methods.touch();
| + | |
− | | + | |
− | // FADE&&SMOOTHHEIGHT || SLIDE:
| + | |
− | if (!fade || (fade && slider.vars.smoothHeight)) $(window).bind("resize orientationchange focus", methods.resize);
| + | |
− | | + | |
− | slider.find("img").attr("draggable", "false");
| + | |
− | | + | |
− | // API: start() Callback
| + | |
− | setTimeout(function(){
| + | |
− | slider.vars.start(slider);
| + | |
− | }, 200);
| + | |
− | },
| + | |
− | asNav: {
| + | |
− | setup: function() {
| + | |
− | slider.asNav = true;
| + | |
− | slider.animatingTo = Math.floor(slider.currentSlide/slider.move);
| + | |
− | slider.currentItem = slider.currentSlide;
| + | |
− | slider.slides.removeClass(namespace + "active-slide").eq(slider.currentItem).addClass(namespace + "active-slide");
| + | |
− | if(!msGesture){
| + | |
− | slider.slides.click(function(e){
| + | |
− | e.preventDefault();
| + | |
− | var $slide = $(this),
| + | |
− | target = $slide.index();
| + | |
− | var posFromLeft = $slide.offset().left - $(slider).scrollLeft(); // Find position of slide relative to left of slider container
| + | |
− | if( posFromLeft <= 0 && $slide.hasClass( namespace + 'active-slide' ) ) {
| + | |
− | slider.flexAnimate(slider.getTarget("prev"), true);
| + | |
− | } else if (!$(slider.vars.asNavFor).data('flexslider').animating && !$slide.hasClass(namespace + "active-slide")) {
| + | |
− | slider.direction = (slider.currentItem < target) ? "next" : "prev";
| + | |
− | slider.flexAnimate(target, slider.vars.pauseOnAction, false, true, true);
| + | |
− | }
| + | |
− | });
| + | |
− | }else{
| + | |
− | el._slider = slider;
| + | |
− | slider.slides.each(function (){
| + | |
− | var that = this;
| + | |
− | that._gesture = new MSGesture();
| + | |
− | that._gesture.target = that;
| + | |
− | that.addEventListener("MSPointerDown", function (e){
| + | |
− | e.preventDefault();
| + | |
− | if(e.currentTarget._gesture)
| + | |
− | e.currentTarget._gesture.addPointer(e.pointerId);
| + | |
− | }, false);
| + | |
− | that.addEventListener("MSGestureTap", function (e){
| + | |
− | e.preventDefault();
| + | |
− | var $slide = $(this),
| + | |
− | target = $slide.index();
| + | |
− | if (!$(slider.vars.asNavFor).data('flexslider').animating && !$slide.hasClass('active')) {
| + | |
− | slider.direction = (slider.currentItem < target) ? "next" : "prev";
| + | |
− | slider.flexAnimate(target, slider.vars.pauseOnAction, false, true, true);
| + | |
− | }
| + | |
− | });
| + | |
− | });
| + | |
− | }
| + | |
− | }
| + | |
− | },
| + | |
− | controlNav: {
| + | |
− | setup: function() {
| + | |
− | if (!slider.manualControls) {
| + | |
− | methods.controlNav.setupPaging();
| + | |
− | } else { // MANUALCONTROLS:
| + | |
− | methods.controlNav.setupManual();
| + | |
− | }
| + | |
− | },
| + | |
− | setupPaging: function() {
| + | |
− | var type = (slider.vars.controlNav === "thumbnails") ? 'control-thumbs' : 'control-paging',
| + | |
− | j = 1,
| + | |
− | item,
| + | |
− | slide;
| + | |
− | | + | |
− | slider.controlNavScaffold = $('<ol class="'+ namespace + 'control-nav ' + namespace + type + '"></ol>');
| + | |
− | | + | |
− | if (slider.pagingCount > 1) {
| + | |
− | for (var i = 0; i < slider.pagingCount; i++) {
| + | |
− | slide = slider.slides.eq(i);
| + | |
− | item = (slider.vars.controlNav === "thumbnails") ? '<img src="' + slide.attr( 'data-thumb' ) + '"/>' : '<a>' + j + '</a>';
| + | |
− | if ( 'thumbnails' === slider.vars.controlNav && true === slider.vars.thumbCaptions ) {
| + | |
− | var captn = slide.attr( 'data-thumbcaption' );
| + | |
− | if ( '' != captn && undefined != captn ) item += '<span class="' + namespace + 'caption">' + captn + '</span>';
| + | |
− | }
| + | |
− | slider.controlNavScaffold.append('<li>' + item + '</li>');
| + | |
− | j++;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | // CONTROLSCONTAINER:
| + | |
− | (slider.controlsContainer) ? $(slider.controlsContainer).append(slider.controlNavScaffold) : slider.append(slider.controlNavScaffold);
| + | |
− | methods.controlNav.set();
| + | |
− | | + | |
− | methods.controlNav.active();
| + | |
− | | + | |
− | slider.controlNavScaffold.delegate('a, img', eventType, function(event) {
| + | |
− | event.preventDefault();
| + | |
− | | + | |
− | if (watchedEvent === "" || watchedEvent === event.type) {
| + | |
− | var $this = $(this),
| + | |
− | target = slider.controlNav.index($this);
| + | |
− | | + | |
− | if (!$this.hasClass(namespace + 'active')) {
| + | |
− | slider.direction = (target > slider.currentSlide) ? "next" : "prev";
| + | |
− | slider.flexAnimate(target, slider.vars.pauseOnAction);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | // setup flags to prevent event duplication
| + | |
− | if (watchedEvent === "") {
| + | |
− | watchedEvent = event.type;
| + | |
− | }
| + | |
− | methods.setToClearWatchedEvent();
| + | |
− | | + | |
− | });
| + | |
− | },
| + | |
− | setupManual: function() {
| + | |
− | slider.controlNav = slider.manualControls;
| + | |
− | methods.controlNav.active();
| + | |
− | | + | |
− | slider.controlNav.bind(eventType, function(event) {
| + | |
− | event.preventDefault();
| + | |
− | | + | |
− | if (watchedEvent === "" || watchedEvent === event.type) {
| + | |
− | var $this = $(this),
| + | |
− | target = slider.controlNav.index($this);
| + | |
− | | + | |
− | if (!$this.hasClass(namespace + 'active')) {
| + | |
− | (target > slider.currentSlide) ? slider.direction = "next" : slider.direction = "prev";
| + | |
− | slider.flexAnimate(target, slider.vars.pauseOnAction);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | // setup flags to prevent event duplication
| + | |
− | if (watchedEvent === "") {
| + | |
− | watchedEvent = event.type;
| + | |
− | }
| + | |
− | methods.setToClearWatchedEvent();
| + | |
− | });
| + | |
− | },
| + | |
− | set: function() {
| + | |
− | var selector = (slider.vars.controlNav === "thumbnails") ? 'img' : 'a';
| + | |
− | slider.controlNav = $('.' + namespace + 'control-nav li ' + selector, (slider.controlsContainer) ? slider.controlsContainer : slider);
| + | |
− | },
| + | |
− | active: function() {
| + | |
− | slider.controlNav.removeClass(namespace + "active").eq(slider.animatingTo).addClass(namespace + "active");
| + | |
− | },
| + | |
− | update: function(action, pos) {
| + | |
− | if (slider.pagingCount > 1 && action === "add") {
| + | |
− | slider.controlNavScaffold.append($('<li><a>' + slider.count + '</a></li>'));
| + | |
− | } else if (slider.pagingCount === 1) {
| + | |
− | slider.controlNavScaffold.find('li').remove();
| + | |
− | } else {
| + | |
− | slider.controlNav.eq(pos).closest('li').remove();
| + | |
− | }
| + | |
− | methods.controlNav.set();
| + | |
− | (slider.pagingCount > 1 && slider.pagingCount !== slider.controlNav.length) ? slider.update(pos, action) : methods.controlNav.active();
| + | |
− | }
| + | |
− | },
| + | |
− | directionNav: {
| + | |
− | setup: function() {
| + | |
− | var directionNavScaffold = $('<ul class="' + namespace + 'direction-nav"><li><a class="' + namespace + 'prev" href="#">' + slider.vars.prevText + '</a></li><li><a class="' + namespace + 'next" href="#">' + slider.vars.nextText + '</a></li></ul>');
| + | |
− | | + | |
− | // CONTROLSCONTAINER:
| + | |
− | if (slider.controlsContainer) {
| + | |
− | $(slider.controlsContainer).append(directionNavScaffold);
| + | |
− | slider.directionNav = $('.' + namespace + 'direction-nav li a', slider.controlsContainer);
| + | |
− | } else {
| + | |
− | slider.append(directionNavScaffold);
| + | |
− | slider.directionNav = $('.' + namespace + 'direction-nav li a', slider);
| + | |
− | }
| + | |
− | | + | |
− | methods.directionNav.update();
| + | |
− | | + | |
− | slider.directionNav.bind(eventType, function(event) {
| + | |
− | event.preventDefault();
| + | |
− | var target;
| + | |
− | | + | |
− | if (watchedEvent === "" || watchedEvent === event.type) {
| + | |
− | target = ($(this).hasClass(namespace + 'next')) ? slider.getTarget('next') : slider.getTarget('prev');
| + | |
− | slider.flexAnimate(target, slider.vars.pauseOnAction);
| + | |
− | }
| + | |
− | | + | |
− | // setup flags to prevent event duplication
| + | |
− | if (watchedEvent === "") {
| + | |
− | watchedEvent = event.type;
| + | |
− | }
| + | |
− | methods.setToClearWatchedEvent();
| + | |
− | });
| + | |
− | },
| + | |
− | update: function() {
| + | |
− | var disabledClass = namespace + 'disabled';
| + | |
− | if (slider.pagingCount === 1) {
| + | |
− | slider.directionNav.addClass(disabledClass).attr('tabindex', '-1');
| + | |
− | } else if (!slider.vars.animationLoop) {
| + | |
− | if (slider.animatingTo === 0) {
| + | |
− | slider.directionNav.removeClass(disabledClass).filter('.' + namespace + "prev").addClass(disabledClass).attr('tabindex', '-1');
| + | |
− | } else if (slider.animatingTo === slider.last) {
| + | |
− | slider.directionNav.removeClass(disabledClass).filter('.' + namespace + "next").addClass(disabledClass).attr('tabindex', '-1');
| + | |
− | } else {
| + | |
− | slider.directionNav.removeClass(disabledClass).removeAttr('tabindex');
| + | |
− | }
| + | |
− | } else {
| + | |
− | slider.directionNav.removeClass(disabledClass).removeAttr('tabindex');
| + | |
− | }
| + | |
− | }
| + | |
− | },
| + | |
− | pausePlay: {
| + | |
− | setup: function() {
| + | |
− | var pausePlayScaffold = $('<div class="' + namespace + 'pauseplay"><a></a></div>');
| + | |
− | | + | |
− | // CONTROLSCONTAINER:
| + | |
− | if (slider.controlsContainer) {
| + | |
− | slider.controlsContainer.append(pausePlayScaffold);
| + | |
− | slider.pausePlay = $('.' + namespace + 'pauseplay a', slider.controlsContainer);
| + | |
− | } else {
| + | |
− | slider.append(pausePlayScaffold);
| + | |
− | slider.pausePlay = $('.' + namespace + 'pauseplay a', slider);
| + | |
− | }
| + | |
− | | + | |
− | methods.pausePlay.update((slider.vars.slideshow) ? namespace + 'pause' : namespace + 'play');
| + | |
− | | + | |
− | slider.pausePlay.bind(eventType, function(event) {
| + | |
− | event.preventDefault();
| + | |
− | | + | |
− | if (watchedEvent === "" || watchedEvent === event.type) {
| + | |
− | if ($(this).hasClass(namespace + 'pause')) {
| + | |
− | slider.manualPause = true;
| + | |
− | slider.manualPlay = false;
| + | |
− | slider.pause();
| + | |
− | } else {
| + | |
− | slider.manualPause = false;
| + | |
− | slider.manualPlay = true;
| + | |
− | slider.play();
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | // setup flags to prevent event duplication
| + | |
− | if (watchedEvent === "") {
| + | |
− | watchedEvent = event.type;
| + | |
− | }
| + | |
− | methods.setToClearWatchedEvent();
| + | |
− | });
| + | |
− | },
| + | |
− | update: function(state) {
| + | |
− | (state === "play") ? slider.pausePlay.removeClass(namespace + 'pause').addClass(namespace + 'play').html(slider.vars.playText) : slider.pausePlay.removeClass(namespace + 'play').addClass(namespace + 'pause').html(slider.vars.pauseText);
| + | |
− | }
| + | |
− | },
| + | |
− | touch: function() {
| + | |
− | var startX,
| + | |
− | startY,
| + | |
− | offset,
| + | |
− | cwidth,
| + | |
− | dx,
| + | |
− | startT,
| + | |
− | scrolling = false,
| + | |
− | localX = 0,
| + | |
− | localY = 0,
| + | |
− | accDx = 0;
| + | |
− | | + | |
− | if(!msGesture){
| + | |
− | el.addEventListener('touchstart', onTouchStart, false);
| + | |
− | | + | |
− | function onTouchStart(e) {
| + | |
− | if (slider.animating) {
| + | |
− | e.preventDefault();
| + | |
− | } else if ( ( window.navigator.msPointerEnabled ) || e.touches.length === 1 ) {
| + | |
− | slider.pause();
| + | |
− | // CAROUSEL:
| + | |
− | cwidth = (vertical) ? slider.h : slider. w;
| + | |
− | startT = Number(new Date());
| + | |
− | // CAROUSEL:
| + | |
− | | + | |
− | // Local vars for X and Y points.
| + | |
− | localX = e.touches[0].pageX;
| + | |
− | localY = e.touches[0].pageY;
| + | |
− | | + | |
− | offset = (carousel && reverse && slider.animatingTo === slider.last) ? 0 :
| + | |
− | (carousel && reverse) ? slider.limit - (((slider.itemW + slider.vars.itemMargin) * slider.move) * slider.animatingTo) :
| + | |
− | (carousel && slider.currentSlide === slider.last) ? slider.limit :
| + | |
− | (carousel) ? ((slider.itemW + slider.vars.itemMargin) * slider.move) * slider.currentSlide :
| + | |
− | (reverse) ? (slider.last - slider.currentSlide + slider.cloneOffset) * cwidth : (slider.currentSlide + slider.cloneOffset) * cwidth;
| + | |
− | startX = (vertical) ? localY : localX;
| + | |
− | startY = (vertical) ? localX : localY;
| + | |
− | | + | |
− | el.addEventListener('touchmove', onTouchMove, false);
| + | |
− | el.addEventListener('touchend', onTouchEnd, false);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | function onTouchMove(e) {
| + | |
− | // Local vars for X and Y points.
| + | |
− | | + | |
− | localX = e.touches[0].pageX;
| + | |
− | localY = e.touches[0].pageY;
| + | |
− | | + | |
− | dx = (vertical) ? startX - localY : startX - localX;
| + | |
− | scrolling = (vertical) ? (Math.abs(dx) < Math.abs(localX - startY)) : (Math.abs(dx) < Math.abs(localY - startY));
| + | |
− | | + | |
− | var fxms = 500;
| + | |
− | | + | |
− | if ( ! scrolling || Number( new Date() ) - startT > fxms ) {
| + | |
− | e.preventDefault();
| + | |
− | if (!fade && slider.transitions) {
| + | |
− | if (!slider.vars.animationLoop) {
| + | |
− | dx = dx/((slider.currentSlide === 0 && dx < 0 || slider.currentSlide === slider.last && dx > 0) ? (Math.abs(dx)/cwidth+2) : 1);
| + | |
− | }
| + | |
− | slider.setProps(offset + dx, "setTouch");
| + | |
− | }
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | function onTouchEnd(e) {
| + | |
− | // finish the touch by undoing the touch session
| + | |
− | el.removeEventListener('touchmove', onTouchMove, false);
| + | |
− | | + | |
− | if (slider.animatingTo === slider.currentSlide && !scrolling && !(dx === null)) {
| + | |
− | var updateDx = (reverse) ? -dx : dx,
| + | |
− | target = (updateDx > 0) ? slider.getTarget('next') : slider.getTarget('prev');
| + | |
− | | + | |
− | if (slider.canAdvance(target) && (Number(new Date()) - startT < 550 && Math.abs(updateDx) > 50 || Math.abs(updateDx) > cwidth/2)) {
| + | |
− | slider.flexAnimate(target, slider.vars.pauseOnAction);
| + | |
− | } else {
| + | |
− | if (!fade) slider.flexAnimate(slider.currentSlide, slider.vars.pauseOnAction, true);
| + | |
− | }
| + | |
− | }
| + | |
− | el.removeEventListener('touchend', onTouchEnd, false);
| + | |
− | | + | |
− | startX = null;
| + | |
− | startY = null;
| + | |
− | dx = null;
| + | |
− | offset = null;
| + | |
− | }
| + | |
− | }else{
| + | |
− | el.style.msTouchAction = "none";
| + | |
− | el._gesture = new MSGesture();
| + | |
− | el._gesture.target = el;
| + | |
− | el.addEventListener("MSPointerDown", onMSPointerDown, false);
| + | |
− | el._slider = slider;
| + | |
− | el.addEventListener("MSGestureChange", onMSGestureChange, false);
| + | |
− | el.addEventListener("MSGestureEnd", onMSGestureEnd, false);
| + | |
− | | + | |
− | function onMSPointerDown(e){
| + | |
− | e.stopPropagation();
| + | |
− | if (slider.animating) {
| + | |
− | e.preventDefault();
| + | |
− | }else{
| + | |
− | slider.pause();
| + | |
− | el._gesture.addPointer(e.pointerId);
| + | |
− | accDx = 0;
| + | |
− | cwidth = (vertical) ? slider.h : slider. w;
| + | |
− | startT = Number(new Date());
| + | |
− | // CAROUSEL:
| + | |
− | | + | |
− | offset = (carousel && reverse && slider.animatingTo === slider.last) ? 0 :
| + | |
− | (carousel && reverse) ? slider.limit - (((slider.itemW + slider.vars.itemMargin) * slider.move) * slider.animatingTo) :
| + | |
− | (carousel && slider.currentSlide === slider.last) ? slider.limit :
| + | |
− | (carousel) ? ((slider.itemW + slider.vars.itemMargin) * slider.move) * slider.currentSlide :
| + | |
− | (reverse) ? (slider.last - slider.currentSlide + slider.cloneOffset) * cwidth : (slider.currentSlide + slider.cloneOffset) * cwidth;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | function onMSGestureChange(e) {
| + | |
− | e.stopPropagation();
| + | |
− | var slider = e.target._slider;
| + | |
− | if(!slider){
| + | |
− | return;
| + | |
− | }
| + | |
− | var transX = -e.translationX,
| + | |
− | transY = -e.translationY;
| + | |
− | | + | |
− | //Accumulate translations.
| + | |
− | accDx = accDx + ((vertical) ? transY : transX);
| + | |
− | dx = accDx;
| + | |
− | scrolling = (vertical) ? (Math.abs(accDx) < Math.abs(-transX)) : (Math.abs(accDx) < Math.abs(-transY));
| + | |
− | | + | |
− | if(e.detail === e.MSGESTURE_FLAG_INERTIA){
| + | |
− | setImmediate(function (){
| + | |
− | el._gesture.stop();
| + | |
− | });
| + | |
− | | + | |
− | return;
| + | |
− | }
| + | |
− | | + | |
− | if (!scrolling || Number(new Date()) - startT > 500) {
| + | |
− | e.preventDefault();
| + | |
− | if (!fade && slider.transitions) {
| + | |
− | if (!slider.vars.animationLoop) {
| + | |
− | dx = accDx / ((slider.currentSlide === 0 && accDx < 0 || slider.currentSlide === slider.last && accDx > 0) ? (Math.abs(accDx) / cwidth + 2) : 1);
| + | |
− | }
| + | |
− | slider.setProps(offset + dx, "setTouch");
| + | |
− | }
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | function onMSGestureEnd(e) {
| + | |
− | e.stopPropagation();
| + | |
− | var slider = e.target._slider;
| + | |
− | if(!slider){
| + | |
− | return;
| + | |
− | }
| + | |
− | if (slider.animatingTo === slider.currentSlide && !scrolling && !(dx === null)) {
| + | |
− | var updateDx = (reverse) ? -dx : dx,
| + | |
− | target = (updateDx > 0) ? slider.getTarget('next') : slider.getTarget('prev');
| + | |
− | | + | |
− | if (slider.canAdvance(target) && (Number(new Date()) - startT < 550 && Math.abs(updateDx) > 50 || Math.abs(updateDx) > cwidth/2)) {
| + | |
− | slider.flexAnimate(target, slider.vars.pauseOnAction);
| + | |
− | } else {
| + | |
− | if (!fade) slider.flexAnimate(slider.currentSlide, slider.vars.pauseOnAction, true);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | startX = null;
| + | |
− | startY = null;
| + | |
− | dx = null;
| + | |
− | offset = null;
| + | |
− | accDx = 0;
| + | |
− | }
| + | |
− | }
| + | |
− | },
| + | |
− | resize: function() {
| + | |
− | if (!slider.animating && slider.is(':visible')) {
| + | |
− | if (!carousel) slider.doMath();
| + | |
− | | + | |
− | if (fade) {
| + | |
− | // SMOOTH HEIGHT:
| + | |
− | methods.smoothHeight();
| + | |
− | } else if (carousel) { //CAROUSEL:
| + | |
− | slider.slides.width(slider.computedW);
| + | |
− | slider.update(slider.pagingCount);
| + | |
− | slider.setProps();
| + | |
− | }
| + | |
− | else if (vertical) { //VERTICAL:
| + | |
− | slider.viewport.height(slider.h);
| + | |
− | slider.setProps(slider.h, "setTotal");
| + | |
− | } else {
| + | |
− | // SMOOTH HEIGHT:
| + | |
− | if (slider.vars.smoothHeight) methods.smoothHeight();
| + | |
− | slider.newSlides.width(slider.computedW);
| + | |
− | slider.setProps(slider.computedW, "setTotal");
| + | |
− | }
| + | |
− | }
| + | |
− | },
| + | |
− | smoothHeight: function(dur) {
| + | |
− | if (!vertical || fade) {
| + | |
− | var $obj = (fade) ? slider : slider.viewport;
| + | |
− | (dur) ? $obj.animate({"height": slider.slides.eq(slider.animatingTo).height()}, dur) : $obj.height(slider.slides.eq(slider.animatingTo).height());
| + | |
− | }
| + | |
− | },
| + | |
− | sync: function(action) {
| + | |
− | var $obj = $(slider.vars.sync).data("flexslider"),
| + | |
− | target = slider.animatingTo;
| + | |
− | | + | |
− | switch (action) {
| + | |
− | case "animate": $obj.flexAnimate(target, slider.vars.pauseOnAction, false, true); break;
| + | |
− | case "play": if (!$obj.playing && !$obj.asNav) { $obj.play(); } break;
| + | |
− | case "pause": $obj.pause(); break;
| + | |
− | }
| + | |
− | },
| + | |
− | pauseInvisible: {
| + | |
− | visProp: null,
| + | |
− | init: function() {
| + | |
− | var prefixes = ['webkit','moz','ms','o'];
| + | |
− | | + | |
− | if ('hidden' in document) return 'hidden';
| + | |
− | for (var i = 0; i < prefixes.length; i++) {
| + | |
− | if ((prefixes[i] + 'Hidden') in document)
| + | |
− | methods.pauseInvisible.visProp = prefixes[i] + 'Hidden';
| + | |
− | }
| + | |
− | if (methods.pauseInvisible.visProp) {
| + | |
− | var evtname = methods.pauseInvisible.visProp.replace(/[H|h]idden/,'') + 'visibilitychange';
| + | |
− | document.addEventListener(evtname, function() {
| + | |
− | if (methods.pauseInvisible.isHidden()) {
| + | |
− | if(slider.startTimeout) clearTimeout(slider.startTimeout); //If clock is ticking, stop timer and prevent from starting while invisible
| + | |
− | else slider.pause(); //Or just pause
| + | |
− | }
| + | |
− | else {
| + | |
− | if(slider.started) slider.play(); //Initiated before, just play
| + | |
− | else (slider.vars.initDelay > 0) ? setTimeout(slider.play, slider.vars.initDelay) : slider.play(); //Didn't init before: simply init or wait for it
| + | |
− | }
| + | |
− | });
| + | |
− | }
| + | |
− | },
| + | |
− | isHidden: function() {
| + | |
− | return document[methods.pauseInvisible.visProp] || false;
| + | |
− | }
| + | |
− | },
| + | |
− | setToClearWatchedEvent: function() {
| + | |
− | clearTimeout(watchedEventClearTimer);
| + | |
− | watchedEventClearTimer = setTimeout(function() {
| + | |
− | watchedEvent = "";
| + | |
− | }, 3000);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | // public methods
| + | |
− | slider.flexAnimate = function(target, pause, override, withSync, fromNav) {
| + | |
− | if (!slider.vars.animationLoop && target !== slider.currentSlide) {
| + | |
− | slider.direction = (target > slider.currentSlide) ? "next" : "prev";
| + | |
− | }
| + | |
− | | + | |
− | if (asNav && slider.pagingCount === 1) slider.direction = (slider.currentItem < target) ? "next" : "prev";
| + | |
− | | + | |
− | if (!slider.animating && (slider.canAdvance(target, fromNav) || override) && slider.is(":visible")) {
| + | |
− | if (asNav && withSync) {
| + | |
− | var master = $(slider.vars.asNavFor).data('flexslider');
| + | |
− | slider.atEnd = target === 0 || target === slider.count - 1;
| + | |
− | master.flexAnimate(target, true, false, true, fromNav);
| + | |
− | slider.direction = (slider.currentItem < target) ? "next" : "prev";
| + | |
− | master.direction = slider.direction;
| + | |
− | | + | |
− | if (Math.ceil((target + 1)/slider.visible) - 1 !== slider.currentSlide && target !== 0) {
| + | |
− | slider.currentItem = target;
| + | |
− | slider.slides.removeClass(namespace + "active-slide").eq(target).addClass(namespace + "active-slide");
| + | |
− | target = Math.floor(target/slider.visible);
| + | |
− | } else {
| + | |
− | slider.currentItem = target;
| + | |
− | slider.slides.removeClass(namespace + "active-slide").eq(target).addClass(namespace + "active-slide");
| + | |
− | return false;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | slider.animating = true;
| + | |
− | slider.animatingTo = target;
| + | |
− | | + | |
− | // SLIDESHOW:
| + | |
− | if (pause) slider.pause();
| + | |
− | | + | |
− | // API: before() animation Callback
| + | |
− | slider.vars.before(slider);
| + | |
− | | + | |
− | // SYNC:
| + | |
− | if (slider.syncExists && !fromNav) methods.sync("animate");
| + | |
− | | + | |
− | // CONTROLNAV
| + | |
− | if (slider.vars.controlNav) methods.controlNav.active();
| + | |
− | | + | |
− | // !CAROUSEL:
| + | |
− | // CANDIDATE: slide active class (for add/remove slide)
| + | |
− | if (!carousel) slider.slides.removeClass(namespace + 'active-slide').eq(target).addClass(namespace + 'active-slide');
| + | |
− | | + | |
− | // INFINITE LOOP:
| + | |
− | // CANDIDATE: atEnd
| + | |
− | slider.atEnd = target === 0 || target === slider.last;
| + | |
− | | + | |
− | // DIRECTIONNAV:
| + | |
− | if (slider.vars.directionNav) methods.directionNav.update();
| + | |
− | | + | |
− | if (target === slider.last) {
| + | |
− | // API: end() of cycle Callback
| + | |
− | slider.vars.end(slider);
| + | |
− | // SLIDESHOW && !INFINITE LOOP:
| + | |
− | if (!slider.vars.animationLoop) slider.pause();
| + | |
− | }
| + | |
− | | + | |
− | // SLIDE:
| + | |
− | if (!fade) {
| + | |
− | var dimension = (vertical) ? slider.slides.filter(':first').height() : slider.computedW,
| + | |
− | margin, slideString, calcNext;
| + | |
− | | + | |
− | // INFINITE LOOP / REVERSE:
| + | |
− | if (carousel) {
| + | |
− | //margin = (slider.vars.itemWidth > slider.w) ? slider.vars.itemMargin * 2 : slider.vars.itemMargin;
| + | |
− | margin = slider.vars.itemMargin;
| + | |
− | calcNext = ((slider.itemW + margin) * slider.move) * slider.animatingTo;
| + | |
− | slideString = (calcNext > slider.limit && slider.visible !== 1) ? slider.limit : calcNext;
| + | |
− | } else if (slider.currentSlide === 0 && target === slider.count - 1 && slider.vars.animationLoop && slider.direction !== "next") {
| + | |
− | slideString = (reverse) ? (slider.count + slider.cloneOffset) * dimension : 0;
| + | |
− | } else if (slider.currentSlide === slider.last && target === 0 && slider.vars.animationLoop && slider.direction !== "prev") {
| + | |
− | slideString = (reverse) ? 0 : (slider.count + 1) * dimension;
| + | |
− | } else {
| + | |
− | slideString = (reverse) ? ((slider.count - 1) - target + slider.cloneOffset) * dimension : (target + slider.cloneOffset) * dimension;
| + | |
− | }
| + | |
− | slider.setProps(slideString, "", slider.vars.animationSpeed);
| + | |
− | if (slider.transitions) {
| + | |
− | if (!slider.vars.animationLoop || !slider.atEnd) {
| + | |
− | slider.animating = false;
| + | |
− | slider.currentSlide = slider.animatingTo;
| + | |
− | }
| + | |
− | slider.container.unbind("webkitTransitionEnd transitionend");
| + | |
− | slider.container.bind("webkitTransitionEnd transitionend", function() {
| + | |
− | slider.wrapup(dimension);
| + | |
− | });
| + | |
− | } else {
| + | |
− | slider.container.animate(slider.args, slider.vars.animationSpeed, slider.vars.easing, function(){
| + | |
− | slider.wrapup(dimension);
| + | |
− | });
| + | |
− | }
| + | |
− | } else { // FADE:
| + | |
− | if (!touch) {
| + | |
− | //slider.slides.eq(slider.currentSlide).fadeOut(slider.vars.animationSpeed, slider.vars.easing);
| + | |
− | //slider.slides.eq(target).fadeIn(slider.vars.animationSpeed, slider.vars.easing, slider.wrapup);
| + | |
− | | + | |
− | slider.slides.eq(slider.currentSlide).css({"zIndex": 1}).animate({"opacity": 0}, slider.vars.animationSpeed, slider.vars.easing);
| + | |
− | slider.slides.eq(target).css({"zIndex": 2}).animate({"opacity": 1}, slider.vars.animationSpeed, slider.vars.easing, slider.wrapup);
| + | |
− | | + | |
− | } else {
| + | |
− | slider.slides.eq(slider.currentSlide).css({ "opacity": 0, "zIndex": 1 });
| + | |
− | slider.slides.eq(target).css({ "opacity": 1, "zIndex": 2 });
| + | |
− | slider.wrapup(dimension);
| + | |
− | }
| + | |
− | }
| + | |
− | // SMOOTH HEIGHT:
| + | |
− | if (slider.vars.smoothHeight) methods.smoothHeight(slider.vars.animationSpeed);
| + | |
− | }
| + | |
− | }
| + | |
− | slider.wrapup = function(dimension) {
| + | |
− | // SLIDE:
| + | |
− | if (!fade && !carousel) {
| + | |
− | if (slider.currentSlide === 0 && slider.animatingTo === slider.last && slider.vars.animationLoop) {
| + | |
− | slider.setProps(dimension, "jumpEnd");
| + | |
− | } else if (slider.currentSlide === slider.last && slider.animatingTo === 0 && slider.vars.animationLoop) {
| + | |
− | slider.setProps(dimension, "jumpStart");
| + | |
− | }
| + | |
− | }
| + | |
− | slider.animating = false;
| + | |
− | slider.currentSlide = slider.animatingTo;
| + | |
− | // API: after() animation Callback
| + | |
− | slider.vars.after(slider);
| + | |
− | }
| + | |
− | | + | |
− | // SLIDESHOW:
| + | |
− | slider.animateSlides = function() {
| + | |
− | if (!slider.animating && focused ) slider.flexAnimate(slider.getTarget("next"));
| + | |
− | }
| + | |
− | // SLIDESHOW:
| + | |
− | slider.pause = function() {
| + | |
− | clearInterval(slider.animatedSlides);
| + | |
− | slider.animatedSlides = null;
| + | |
− | slider.playing = false;
| + | |
− | // PAUSEPLAY:
| + | |
− | if (slider.vars.pausePlay) methods.pausePlay.update("play");
| + | |
− | // SYNC:
| + | |
− | if (slider.syncExists) methods.sync("pause");
| + | |
− | }
| + | |
− | // SLIDESHOW:
| + | |
− | slider.play = function() {
| + | |
− | if (slider.playing) clearInterval(slider.animatedSlides);
| + | |
− | slider.animatedSlides = slider.animatedSlides || setInterval(slider.animateSlides, slider.vars.slideshowSpeed);
| + | |
− | slider.started = slider.playing = true;
| + | |
− | // PAUSEPLAY:
| + | |
− | if (slider.vars.pausePlay) methods.pausePlay.update("pause");
| + | |
− | // SYNC:
| + | |
− | if (slider.syncExists) methods.sync("play");
| + | |
− | }
| + | |
− | // STOP:
| + | |
− | slider.stop = function () {
| + | |
− | slider.pause();
| + | |
− | slider.stopped = true;
| + | |
− | }
| + | |
− | slider.canAdvance = function(target, fromNav) {
| + | |
− | // ASNAV:
| + | |
− | var last = (asNav) ? slider.pagingCount - 1 : slider.last;
| + | |
− | return (fromNav) ? true :
| + | |
− | (asNav && slider.currentItem === slider.count - 1 && target === 0 && slider.direction === "prev") ? true :
| + | |
− | (asNav && slider.currentItem === 0 && target === slider.pagingCount - 1 && slider.direction !== "next") ? false :
| + | |
− | (target === slider.currentSlide && !asNav) ? false :
| + | |
− | (slider.vars.animationLoop) ? true :
| + | |
− | (slider.atEnd && slider.currentSlide === 0 && target === last && slider.direction !== "next") ? false :
| + | |
− | (slider.atEnd && slider.currentSlide === last && target === 0 && slider.direction === "next") ? false :
| + | |
− | true;
| + | |
− | }
| + | |
− | slider.getTarget = function(dir) {
| + | |
− | slider.direction = dir;
| + | |
− | if (dir === "next") {
| + | |
− | return (slider.currentSlide === slider.last) ? 0 : slider.currentSlide + 1;
| + | |
− | } else {
| + | |
− | return (slider.currentSlide === 0) ? slider.last : slider.currentSlide - 1;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | // SLIDE:
| + | |
− | slider.setProps = function(pos, special, dur) {
| + | |
− | var target = (function() {
| + | |
− | var posCheck = (pos) ? pos : ((slider.itemW + slider.vars.itemMargin) * slider.move) * slider.animatingTo,
| + | |
− | posCalc = (function() {
| + | |
− | if (carousel) {
| + | |
− | return (special === "setTouch") ? pos :
| + | |
− | (reverse && slider.animatingTo === slider.last) ? 0 :
| + | |
− | (reverse) ? slider.limit - (((slider.itemW + slider.vars.itemMargin) * slider.move) * slider.animatingTo) :
| + | |
− | (slider.animatingTo === slider.last) ? slider.limit : posCheck;
| + | |
− | } else {
| + | |
− | switch (special) {
| + | |
− | case "setTotal": return (reverse) ? ((slider.count - 1) - slider.currentSlide + slider.cloneOffset) * pos : (slider.currentSlide + slider.cloneOffset) * pos;
| + | |
− | case "setTouch": return (reverse) ? pos : pos;
| + | |
− | case "jumpEnd": return (reverse) ? pos : slider.count * pos;
| + | |
− | case "jumpStart": return (reverse) ? slider.count * pos : pos;
| + | |
− | default: return pos;
| + | |
− | }
| + | |
− | }
| + | |
− | }());
| + | |
− | | + | |
− | return (posCalc * -1) + "px";
| + | |
− | }());
| + | |
− | | + | |
− | if (slider.transitions) {
| + | |
− | target = (vertical) ? "translate3d(0," + target + ",0)" : "translate3d(" + target + ",0,0)";
| + | |
− | dur = (dur !== undefined) ? (dur/1000) + "s" : "0s";
| + | |
− | slider.container.css("-" + slider.pfx + "-transition-duration", dur);
| + | |
− | }
| + | |
− | | + | |
− | slider.args[slider.prop] = target;
| + | |
− | if (slider.transitions || dur === undefined) slider.container.css(slider.args);
| + | |
− | }
| + | |
− | | + | |
− | slider.setup = function(type) {
| + | |
− | // SLIDE:
| + | |
− | if (!fade) {
| + | |
− | var sliderOffset, arr;
| + | |
− | | + | |
− | if (type === "init") {
| + | |
− | slider.viewport = $('<div class="' + namespace + 'viewport"></div>').css({"overflow": "hidden", "position": "relative"}).appendTo(slider).append(slider.container);
| + | |
− | // INFINITE LOOP:
| + | |
− | slider.cloneCount = 0;
| + | |
− | slider.cloneOffset = 0;
| + | |
− | // REVERSE:
| + | |
− | if (reverse) {
| + | |
− | arr = $.makeArray(slider.slides).reverse();
| + | |
− | slider.slides = $(arr);
| + | |
− | slider.container.empty().append(slider.slides);
| + | |
− | }
| + | |
− | }
| + | |
− | // INFINITE LOOP && !CAROUSEL:
| + | |
− | if (slider.vars.animationLoop && !carousel) {
| + | |
− | slider.cloneCount = 2;
| + | |
− | slider.cloneOffset = 1;
| + | |
− | // clear out old clones
| + | |
− | if (type !== "init") slider.container.find('.clone').remove();
| + | |
− | slider.container.append(slider.slides.first().clone().addClass('clone').attr('aria-hidden', 'true')).prepend(slider.slides.last().clone().addClass('clone').attr('aria-hidden', 'true'));
| + | |
− | }
| + | |
− | slider.newSlides = $(slider.vars.selector, slider);
| + | |
− | | + | |
− | sliderOffset = (reverse) ? slider.count - 1 - slider.currentSlide + slider.cloneOffset : slider.currentSlide + slider.cloneOffset;
| + | |
− | // VERTICAL:
| + | |
− | if (vertical && !carousel) {
| + | |
− | slider.container.height((slider.count + slider.cloneCount) * 200 + "%").css("position", "absolute").width("100%");
| + | |
− | setTimeout(function(){
| + | |
− | slider.newSlides.css({"display": "block"});
| + | |
− | slider.doMath();
| + | |
− | slider.viewport.height(slider.h);
| + | |
− | slider.setProps(sliderOffset * slider.h, "init");
| + | |
− | }, (type === "init") ? 100 : 0);
| + | |
− | } else {
| + | |
− | slider.container.width((slider.count + slider.cloneCount) * 200 + "%");
| + | |
− | slider.setProps(sliderOffset * slider.computedW, "init");
| + | |
− | setTimeout(function(){
| + | |
− | slider.doMath();
| + | |
− | slider.newSlides.css({"width": slider.computedW, "float": "left", "display": "block"});
| + | |
− | // SMOOTH HEIGHT:
| + | |
− | if (slider.vars.smoothHeight) methods.smoothHeight();
| + | |
− | }, (type === "init") ? 100 : 0);
| + | |
− | }
| + | |
− | } else { // FADE:
| + | |
− | slider.slides.css({"width": "100%", "float": "left", "marginRight": "-100%", "position": "relative"});
| + | |
− | if (type === "init") {
| + | |
− | if (!touch) {
| + | |
− | //slider.slides.eq(slider.currentSlide).fadeIn(slider.vars.animationSpeed, slider.vars.easing);
| + | |
− | slider.slides.css({ "opacity": 0, "display": "block", "zIndex": 1 }).eq(slider.currentSlide).css({"zIndex": 2}).animate({"opacity": 1},slider.vars.animationSpeed,slider.vars.easing);
| + | |
− | } else {
| + | |
− | slider.slides.css({ "opacity": 0, "display": "block", "webkitTransition": "opacity " + slider.vars.animationSpeed / 1000 + "s ease", "zIndex": 1 }).eq(slider.currentSlide).css({ "opacity": 1, "zIndex": 2});
| + | |
− | }
| + | |
− | }
| + | |
− | // SMOOTH HEIGHT:
| + | |
− | if (slider.vars.smoothHeight) methods.smoothHeight();
| + | |
− | }
| + | |
− | // !CAROUSEL:
| + | |
− | // CANDIDATE: active slide
| + | |
− | if (!carousel) slider.slides.removeClass(namespace + "active-slide").eq(slider.currentSlide).addClass(namespace + "active-slide");
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | slider.doMath = function() {
| + | |
− | var slide = slider.slides.first(),
| + | |
− | slideMargin = slider.vars.itemMargin,
| + | |
− | minItems = slider.vars.minItems,
| + | |
− | maxItems = slider.vars.maxItems;
| + | |
− | | + | |
− | slider.w = (slider.viewport===undefined) ? slider.width() : slider.viewport.width();
| + | |
− | slider.h = slide.height();
| + | |
− | slider.boxPadding = slide.outerWidth() - slide.width();
| + | |
− | | + | |
− | // CAROUSEL:
| + | |
− | if (carousel) {
| + | |
− | slider.itemT = slider.vars.itemWidth + slideMargin;
| + | |
− | slider.minW = (minItems) ? minItems * slider.itemT : slider.w;
| + | |
− | slider.maxW = (maxItems) ? (maxItems * slider.itemT) - slideMargin : slider.w;
| + | |
− | slider.itemW = (slider.minW > slider.w) ? (slider.w - (slideMargin * (minItems - 1)))/minItems :
| + | |
− | (slider.maxW < slider.w) ? (slider.w - (slideMargin * (maxItems - 1)))/maxItems :
| + | |
− | (slider.vars.itemWidth > slider.w) ? slider.w : slider.vars.itemWidth;
| + | |
− | | + | |
− | slider.visible = Math.floor(slider.w/(slider.itemW));
| + | |
− | slider.move = (slider.vars.move > 0 && slider.vars.move < slider.visible ) ? slider.vars.move : slider.visible;
| + | |
− | slider.pagingCount = Math.ceil(((slider.count - slider.visible)/slider.move) + 1);
| + | |
− | slider.last = slider.pagingCount - 1;
| + | |
− | slider.limit = (slider.pagingCount === 1) ? 0 :
| + | |
− | (slider.vars.itemWidth > slider.w) ? (slider.itemW * (slider.count - 1)) + (slideMargin * (slider.count - 1)) : ((slider.itemW + slideMargin) * slider.count) - slider.w - slideMargin;
| + | |
− | } else {
| + | |
− | slider.itemW = slider.w;
| + | |
− | slider.pagingCount = slider.count;
| + | |
− | slider.last = slider.count - 1;
| + | |
− | }
| + | |
− | slider.computedW = slider.itemW - slider.boxPadding;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | slider.update = function(pos, action) {
| + | |
− | slider.doMath();
| + | |
− | | + | |
− | // update currentSlide and slider.animatingTo if necessary
| + | |
− | if (!carousel) {
| + | |
− | if (pos < slider.currentSlide) {
| + | |
− | slider.currentSlide += 1;
| + | |
− | } else if (pos <= slider.currentSlide && pos !== 0) {
| + | |
− | slider.currentSlide -= 1;
| + | |
− | }
| + | |
− | slider.animatingTo = slider.currentSlide;
| + | |
− | }
| + | |
− | | + | |
− | // update controlNav
| + | |
− | if (slider.vars.controlNav && !slider.manualControls) {
| + | |
− | if ((action === "add" && !carousel) || slider.pagingCount > slider.controlNav.length) {
| + | |
− | methods.controlNav.update("add");
| + | |
− | } else if ((action === "remove" && !carousel) || slider.pagingCount < slider.controlNav.length) {
| + | |
− | if (carousel && slider.currentSlide > slider.last) {
| + | |
− | slider.currentSlide -= 1;
| + | |
− | slider.animatingTo -= 1;
| + | |
− | }
| + | |
− | methods.controlNav.update("remove", slider.last);
| + | |
− | }
| + | |
− | }
| + | |
− | // update directionNav
| + | |
− | if (slider.vars.directionNav) methods.directionNav.update();
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | slider.addSlide = function(obj, pos) {
| + | |
− | var $obj = $(obj);
| + | |
− | | + | |
− | slider.count += 1;
| + | |
− | slider.last = slider.count - 1;
| + | |
− | | + | |
− | // append new slide
| + | |
− | if (vertical && reverse) {
| + | |
− | (pos !== undefined) ? slider.slides.eq(slider.count - pos).after($obj) : slider.container.prepend($obj);
| + | |
− | } else {
| + | |
− | (pos !== undefined) ? slider.slides.eq(pos).before($obj) : slider.container.append($obj);
| + | |
− | }
| + | |
− | | + | |
− | // update currentSlide, animatingTo, controlNav, and directionNav
| + | |
− | slider.update(pos, "add");
| + | |
− | | + | |
− | // update slider.slides
| + | |
− | slider.slides = $(slider.vars.selector + ':not(.clone)', slider);
| + | |
− | // re-setup the slider to accomdate new slide
| + | |
− | slider.setup();
| + | |
− | | + | |
− | //FlexSlider: added() Callback
| + | |
− | slider.vars.added(slider);
| + | |
− | }
| + | |
− | slider.removeSlide = function(obj) {
| + | |
− | var pos = (isNaN(obj)) ? slider.slides.index($(obj)) : obj;
| + | |
− | | + | |
− | // update count
| + | |
− | slider.count -= 1;
| + | |
− | slider.last = slider.count - 1;
| + | |
− | | + | |
− | // remove slide
| + | |
− | if (isNaN(obj)) {
| + | |
− | $(obj, slider.slides).remove();
| + | |
− | } else {
| + | |
− | (vertical && reverse) ? slider.slides.eq(slider.last).remove() : slider.slides.eq(obj).remove();
| + | |
− | }
| + | |
− | | + | |
− | // update currentSlide, animatingTo, controlNav, and directionNav
| + | |
− | slider.doMath();
| + | |
− | slider.update(pos, "remove");
| + | |
− | | + | |
− | // update slider.slides
| + | |
− | slider.slides = $(slider.vars.selector + ':not(.clone)', slider);
| + | |
− | // re-setup the slider to accomdate new slide
| + | |
− | slider.setup();
| + | |
− | | + | |
− | // FlexSlider: removed() Callback
| + | |
− | slider.vars.removed(slider);
| + | |
− | }
| + | |
− | | + | |
− | //FlexSlider: Initialize
| + | |
− | methods.init();
| + | |
− | }
| + | |
− | | + | |
− | // Ensure the slider isn't focussed if the window loses focus.
| + | |
− | $( window ).blur( function ( e ) {
| + | |
− | focused = false;
| + | |
− | }).focus( function ( e ) {
| + | |
− | focused = true;
| + | |
− | });
| + | |
− | | + | |
− | //FlexSlider: Default Settings
| + | |
− | $.flexslider.defaults = {
| + | |
− | namespace: "flex-", //{NEW} String: Prefix string attached to the class of every element generated by the plugin
| + | |
− | selector: ".slides > li", //{NEW} Selector: Must match a simple pattern. '{container} > {slide}' -- Ignore pattern at your own peril
| + | |
− | animation: "fade", //String: Select your animation type, "fade" or "slide"
| + | |
− | easing: "swing", //{NEW} String: Determines the easing method used in jQuery transitions. jQuery easing plugin is supported!
| + | |
− | direction: "horizontal", //String: Select the sliding direction, "horizontal" or "vertical"
| + | |
− | reverse: false, //{NEW} Boolean: Reverse the animation direction
| + | |
− | animationLoop: true, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end
| + | |
− | smoothHeight: false, //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode
| + | |
− | startAt: 0, //Integer: The slide that the slider should start on. Array notation (0 = first slide)
| + | |
− | slideshow: true, //Boolean: Animate slider automatically
| + | |
− | slideshowSpeed: 7000, //Integer: Set the speed of the slideshow cycling, in milliseconds
| + | |
− | animationSpeed: 600, //Integer: Set the speed of animations, in milliseconds
| + | |
− | initDelay: 0, //{NEW} Integer: Set an initialization delay, in milliseconds
| + | |
− | randomize: false, //Boolean: Randomize slide order
| + | |
− | thumbCaptions: false, //Boolean: Whether or not to put captions on thumbnails when using the "thumbnails" controlNav.
| + | |
− | | + | |
− | // Usability features
| + | |
− | pauseOnAction: true, //Boolean: Pause the slideshow when interacting with control elements, highly recommended.
| + | |
− | pauseOnHover: false, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering
| + | |
− | pauseInvisible: true, //{NEW} Boolean: Pause the slideshow when tab is invisible, resume when visible. Provides better UX, lower CPU usage.
| + | |
− | useCSS: true, //{NEW} Boolean: Slider will use CSS3 transitions if available
| + | |
− | touch: true, //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices
| + | |
− | video: false, //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches
| + | |
− | | + | |
− | // Primary Controls
| + | |
− | controlNav: true, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage
| + | |
− | directionNav: true, //Boolean: Create navigation for previous/next navigation? (true/false)
| + | |
− | prevText: "Previous", //String: Set the text for the "previous" directionNav item
| + | |
− | nextText: "Next", //String: Set the text for the "next" directionNav item
| + | |
− | | + | |
− | // Secondary Navigation
| + | |
− | keyboard: true, //Boolean: Allow slider navigating via keyboard left/right keys
| + | |
− | multipleKeyboard: false, //{NEW} Boolean: Allow keyboard navigation to affect multiple sliders. Default behavior cuts out keyboard navigation with more than one slider present.
| + | |
− | mousewheel: false, //{UPDATED} Boolean: Requires jquery.mousewheel.js (https://github.com/brandonaaron/jquery-mousewheel) - Allows slider navigating via mousewheel
| + | |
− | pausePlay: false, //Boolean: Create pause/play dynamic element
| + | |
− | pauseText: "Pause", //String: Set the text for the "pause" pausePlay item
| + | |
− | playText: "Play", //String: Set the text for the "play" pausePlay item
| + | |
− | | + | |
− | // Special properties
| + | |
− | controlsContainer: "", //{UPDATED} jQuery Object/Selector: Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be $(".flexslider-container"). Property is ignored if given element is not found.
| + | |
− | manualControls: "", //{UPDATED} jQuery Object/Selector: Declare custom control navigation. Examples would be $(".flex-control-nav li") or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs.
| + | |
− | sync: "", //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care.
| + | |
− | asNavFor: "", //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider
| + | |
− | | + | |
− | // Carousel Options
| + | |
− | itemWidth: 0, //{NEW} Integer: Box-model width of individual carousel items, including horizontal borders and padding.
| + | |
− | itemMargin: 0, //{NEW} Integer: Margin between carousel items.
| + | |
− | minItems: 1, //{NEW} Integer: Minimum number of carousel items that should be visible. Items will resize fluidly when below this.
| + | |
− | maxItems: 0, //{NEW} Integer: Maxmimum number of carousel items that should be visible. Items will resize fluidly when above this limit.
| + | |
− | move: 0, //{NEW} Integer: Number of carousel items that should move on animation. If 0, slider will move all visible items.
| + | |
− | allowOneSlide: true, //{NEW} Boolean: Whether or not to allow a slider comprised of a single slide
| + | |
− | | + | |
− | // Callback API
| + | |
− | start: function(){}, //Callback: function(slider) - Fires when the slider loads the first slide
| + | |
− | before: function(){}, //Callback: function(slider) - Fires asynchronously with each slider animation
| + | |
− | after: function(){}, //Callback: function(slider) - Fires after each slider animation completes
| + | |
− | end: function(){}, //Callback: function(slider) - Fires when the slider reaches the last slide (asynchronous)
| + | |
− | added: function(){}, //{NEW} Callback: function(slider) - Fires after a slide is added
| + | |
− | removed: function(){} //{NEW} Callback: function(slider) - Fires after a slide is removed
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | //FlexSlider: Plugin Function
| + | |
− | $.fn.flexslider = function(options) {
| + | |
− | if (options === undefined) options = {};
| + | |
− | | + | |
− | if (typeof options === "object") {
| + | |
− | return this.each(function() {
| + | |
− | var $this = $(this),
| + | |
− | selector = (options.selector) ? options.selector : ".slides > li",
| + | |
− | $slides = $this.find(selector);
| + | |
− | | + | |
− | if ( ( $slides.length === 1 && options.allowOneSlide === true ) || $slides.length === 0 ) {
| + | |
− | $slides.fadeIn(400);
| + | |
− | if (options.start) options.start($this);
| + | |
− | } else if ($this.data('flexslider') === undefined) {
| + | |
− | new $.flexslider(this, options);
| + | |
− | }
| + | |
− | });
| + | |
− | } else {
| + | |
− | // Helper strings to quickly perform functions on the slider
| + | |
− | var $slider = $(this).data('flexslider');
| + | |
− | switch (options) {
| + | |
− | case "play": $slider.play(); break;
| + | |
− | case "pause": $slider.pause(); break;
| + | |
− | case "stop": $slider.stop(); break;
| + | |
− | case "next": $slider.flexAnimate($slider.getTarget("next"), true); break;
| + | |
− | case "prev":
| + | |
− | case "previous": $slider.flexAnimate($slider.getTarget("prev"), true); break;
| + | |
− | default: if (typeof options === "number") $slider.flexAnimate(options, true);
| + | |
− | }
| + | |
− | }
| + | |
− | }
| + | |
− | })(jQuery);
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | /*!
| + | |
− | * jquery.lightbox.js
| + | |
− | * https://github.com/duncanmcdougall/Responsive-Lightbox
| + | |
− | * Copyright 2013 Duncan McDougall and other contributors; @license Creative Commons Attribution 2.5
| + | |
− | *
| + | |
− | * Options:
| + | |
− | * margin - int - default 50. Minimum margin around the image
| + | |
− | * nav - bool - default true. enable navigation
| + | |
− | * blur - bool - default true. Blur other content when open using css filter
| + | |
− | * minSize - int - default 0. Min window width or height to open lightbox. Below threshold will open image in a new tab.
| + | |
− | *
| + | |
− | */
| + | |
− | (function ($) {
| + | |
− | | + | |
− | 'use strict';
| + | |
− | | + | |
− | $.fn.lightbox = function (options) {
| + | |
− | | + | |
− | var opts = {
| + | |
− | margin: 50,
| + | |
− | nav: true,
| + | |
− | blur: true,
| + | |
− | minSize: 0
| + | |
− | };
| + | |
− | | + | |
− | var plugin = {
| + | |
− | | + | |
− | items: [],
| + | |
− | lightbox: null,
| + | |
− | image: null,
| + | |
− | current: null,
| + | |
− | locked: false,
| + | |
− | caption: null,
| + | |
− |
| + | |
− | init: function (items) {
| + | |
− | plugin.items = items;
| + | |
− | plugin.selector = "lightbox-"+Math.random().toString().replace('.','');
| + | |
− | | + | |
− | if (!plugin.lightbox) {
| + | |
− | $('body').append(
| + | |
− | '<div id="lightbox" style="display:none;">'+
| + | |
− | '<a href="#" class="lightbox-close lightbox-button"></a>' +
| + | |
− | '<div class="lightbox-nav">'+
| + | |
− | '<a href="#" class="lightbox-previous lightbox-button"></a>' +
| + | |
− | '<a href="#" class="lightbox-next lightbox-button"></a>' +
| + | |
− | '</div>' +
| + | |
− | '<div href="#" class="lightbox-caption"><p></p></div>' +
| + | |
− | '</div>'
| + | |
− | );
| + | |
− | | + | |
− | plugin.lightbox = $("#lightbox");
| + | |
− | plugin.caption = $('.lightbox-caption', plugin.lightbox);
| + | |
− | }
| + | |
− | | + | |
− | if (plugin.items.length > 1 && opts.nav) {
| + | |
− | $('.lightbox-nav', plugin.lightbox).show();
| + | |
− | } else {
| + | |
− | $('.lightbox-nav', plugin.lightbox).hide();
| + | |
− | }
| + | |
− | | + | |
− | plugin.bindEvents();
| + | |
− | | + | |
− | },
| + | |
− | | + | |
− | loadImage: function () {
| + | |
− | if(opts.blur) {
| + | |
− | $("body").addClass("blurred");
| + | |
− | }
| + | |
− | $("img", plugin.lightbox).remove();
| + | |
− | plugin.lightbox.fadeIn('fast').append('<span class="lightbox-loading"></span>');
| + | |
− | | + | |
− | var img = $('<img src="' + $(plugin.current).attr('href') + '" draggable="false">');
| + | |
− | | + | |
− | $(img).load(function () {
| + | |
− | $('.lightbox-loading').remove();
| + | |
− | plugin.lightbox.append(img);
| + | |
− | plugin.image = $("img", plugin.lightbox).hide();
| + | |
− | plugin.resizeImage();
| + | |
− | plugin.setCaption();
| + | |
− | });
| + | |
− | },
| + | |
− | | + | |
− | setCaption: function () {
| + | |
− | var caption = $(plugin.current).data('caption');
| + | |
− | if(!!caption && caption.length > 0) {
| + | |
− | plugin.caption.fadeIn();
| + | |
− | $('p', plugin.caption).text(caption);
| + | |
− | }else{
| + | |
− | plugin.caption.hide();
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | resizeImage: function () {
| + | |
− | var ratio, wHeight, wWidth, iHeight, iWidth;
| + | |
− | wHeight = $(window).height() - opts.margin;
| + | |
− | wWidth = $(window).outerWidth(true) - opts.margin;
| + | |
− | plugin.image.width('').height('');
| + | |
− | iHeight = plugin.image.height();
| + | |
− | iWidth = plugin.image.width();
| + | |
− | if (iWidth > wWidth) {
| + | |
− | ratio = wWidth / iWidth;
| + | |
− | iWidth = wWidth;
| + | |
− | iHeight = Math.round(iHeight * ratio);
| + | |
− | }
| + | |
− | if (iHeight > wHeight) {
| + | |
− | ratio = wHeight / iHeight;
| + | |
− | iHeight = wHeight;
| + | |
− | iWidth = Math.round(iWidth * ratio);
| + | |
− | }
| + | |
− | | + | |
− | plugin.image.width(iWidth).height(iHeight).css({
| + | |
− | 'top': ($(window).height() - plugin.image.outerHeight()) / 2 + 'px',
| + | |
− | 'left': ($(window).width() - plugin.image.outerWidth()) / 2 + 'px'
| + | |
− | }).show();
| + | |
− | plugin.locked = false;
| + | |
− | },
| + | |
− | | + | |
− | getCurrentIndex: function () {
| + | |
− | return $.inArray(plugin.current, plugin.items);
| + | |
− | },
| + | |
− | | + | |
− | next: function () {
| + | |
− | if (plugin.locked) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | plugin.locked = true;
| + | |
− | if (plugin.getCurrentIndex() >= plugin.items.length - 1) {
| + | |
− | $(plugin.items[0]).click();
| + | |
− | } else {
| + | |
− | $(plugin.items[plugin.getCurrentIndex() + 1]).click();
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | previous: function () {
| + | |
− | if (plugin.locked) {
| + | |
− | return false;
| + | |
− | }
| + | |
− | plugin.locked = true;
| + | |
− | if (plugin.getCurrentIndex() <= 0) {
| + | |
− | $(plugin.items[plugin.items.length - 1]).click();
| + | |
− | } else {
| + | |
− | $(plugin.items[plugin.getCurrentIndex() - 1]).click();
| + | |
− | }
| + | |
− | },
| + | |
− | | + | |
− | bindEvents: function () {
| + | |
− | $(plugin.items).click(function (e) {
| + | |
− | if(!$("#lightbox").is(":visible") && ($(window).width() < opts.minSize || $(window).height() < opts.minSize)) {
| + | |
− | $(this).attr("target", "_blank");
| + | |
− | return;
| + | |
− | }
| + | |
− | var self = $(this)[0];
| + | |
− | e.preventDefault();
| + | |
− | plugin.current = self;
| + | |
− | plugin.loadImage();
| + | |
− | | + | |
− | // Bind Keyboard Shortcuts
| + | |
− | $(document).on('keydown', function (e) {
| + | |
− | // Close lightbox with ESC
| + | |
− | if (e.keyCode === 27) {
| + | |
− | plugin.close();
| + | |
− | }
| + | |
− | // Go to next image pressing the right key
| + | |
− | if (e.keyCode === 39) {
| + | |
− | plugin.next();
| + | |
− | }
| + | |
− | // Go to previous image pressing the left key
| + | |
− | if (e.keyCode === 37) {
| + | |
− | plugin.previous();
| + | |
− | }
| + | |
− | });
| + | |
− | });
| + | |
− | | + | |
− | // Add click state on overlay background only
| + | |
− | plugin.lightbox.on('click', function (e) {
| + | |
− | if (this === e.target) {
| + | |
− | plugin.close();
| + | |
− | }
| + | |
− | });
| + | |
− | | + | |
− | // Previous click
| + | |
− | $(plugin.lightbox).on('click', '.lightbox-previous', function () {
| + | |
− | plugin.previous();
| + | |
− | return false;
| + | |
− | });
| + | |
− | | + | |
− | // Next click
| + | |
− | $(plugin.lightbox).on('click', '.lightbox-next', function () {
| + | |
− | plugin.next();
| + | |
− | return false;
| + | |
− | });
| + | |
− | | + | |
− | // Close click
| + | |
− | $(plugin.lightbox).on('click', '.lightbox-close', function () {
| + | |
− | plugin.close();
| + | |
− | return false;
| + | |
− | });
| + | |
− | | + | |
− | $(window).resize(function () {
| + | |
− | if (!plugin.image) {
| + | |
− | return;
| + | |
− | }
| + | |
− | plugin.resizeImage();
| + | |
− | });
| + | |
− | },
| + | |
− | | + | |
− | close: function () {
| + | |
− | $(document).off('keydown'); // Unbind all key events each time the lightbox is closed
| + | |
− | $(plugin.lightbox).fadeOut('fast');
| + | |
− | $('body').removeClass('blurred');
| + | |
− | }
| + | |
− | };
| + | |
− | | + | |
− | $.extend(opts, options);
| + | |
− | | + | |
− | plugin.init(this);
| + | |
− | };
| + | |
− | | + | |
− | })
| + | |
− | jQuery(document).ready(function(e){"use strict";var t,o=e(".menu-first, .menu-responsive"),i=o.outerHeight()+15,n=o.find("a"),r=n.map(function(){var t=e(e(this).attr("href"));return t.length?t:void 0});n.click(function(t){var o=e(this).attr("href"),n="#"===o?0:e(o).offset().top-i+1;e("html, body").stop().animate({scrollTop:n},300),t.preventDefault()}),e(window).scroll(function(){var o=e(this).scrollTop()+i,l=r.map(function(){return e(this).offset().top<o?this:void 0});l=l[l.length-1];var s=l&&l.length?l[0].id:"";t!==s&&(t=s,n.parent().removeClass("active").end().filter("[href=#"+s+"]").parent().addClass("active"))}),e(window).scroll(function(){e(".main-header").toggleClass("scrolled",e(this).scrollTop()>1)}),e('a[href="#top"]').click(function(){return e("html, body").animate({scrollTop:0},"slow"),!1}),e(".flexslider").flexslider({slideshow:!0,slideshowSpeed:3e3,animation:"fade",directionNav:!1}),e(".toggle-menu").click(function(){return e(".menu-responsive").slideToggle(),!1}),e(function(){e('[data-rel="lightbox"]').lightbox()})});
| + | |
− | !function(e){e.flexslider=function(t,a){var n=e(t);n.vars=e.extend({},e.flexslider.defaults,a);var i,s=n.vars.namespace,r=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,o=("ontouchstart"in window||r||window.DocumentTouch&&document instanceof DocumentTouch)&&n.vars.touch,l="click touchend MSPointerUp",c="",d="vertical"===n.vars.direction,u=n.vars.reverse,v=n.vars.itemWidth>0,p="fade"===n.vars.animation,m=""!==n.vars.asNavFor,g={},f=!0;e.data(t,"flexslider",n),g={init:function(){n.animating=!1,n.currentSlide=parseInt(n.vars.startAt?n.vars.startAt:0),isNaN(n.currentSlide)&&(n.currentSlide=0),n.animatingTo=n.currentSlide,n.atEnd=0===n.currentSlide||n.currentSlide===n.last,n.containerSelector=n.vars.selector.substr(0,n.vars.selector.search(" ")),n.slides=e(n.vars.selector,n),n.container=e(n.containerSelector,n),n.count=n.slides.length,n.syncExists=e(n.vars.sync).length>0,"slide"===n.vars.animation&&(n.vars.animation="swing"),n.prop=d?"top":"marginLeft",n.args={},n.manualPause=!1,n.stopped=!1,n.started=!1,n.startTimeout=null,n.transitions=!n.vars.video&&!p&&n.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var a in t)if(void 0!==e.style[t[a]])return n.pfx=t[a].replace("Perspective","").toLowerCase(),n.prop="-"+n.pfx+"-transform",!0;return!1}(),""!==n.vars.controlsContainer&&(n.controlsContainer=e(n.vars.controlsContainer).length>0&&e(n.vars.controlsContainer)),""!==n.vars.manualControls&&(n.manualControls=e(n.vars.manualControls).length>0&&e(n.vars.manualControls)),n.vars.randomize&&(n.slides.sort(function(){return Math.round(Math.random())-.5}),n.container.empty().append(n.slides)),n.doMath(),n.setup("init"),n.vars.controlNav&&g.controlNav.setup(),n.vars.directionNav&&g.directionNav.setup(),n.vars.keyboard&&(1===e(n.containerSelector).length||n.vars.multipleKeyboard)&&e(document).bind("keyup",function(e){var t=e.keyCode;if(!n.animating&&(39===t||37===t)){var a=39===t?n.getTarget("next"):37===t?n.getTarget("prev"):!1;n.flexAnimate(a,n.vars.pauseOnAction)}}),n.vars.mousewheel&&n.bind("mousewheel",function(e,t){e.preventDefault();var a=0>t?n.getTarget("next"):n.getTarget("prev");n.flexAnimate(a,n.vars.pauseOnAction)}),n.vars.pausePlay&&g.pausePlay.setup(),n.vars.slideshow&&n.vars.pauseInvisible&&g.pauseInvisible.init(),n.vars.slideshow&&(n.vars.pauseOnHover&&n.hover(function(){n.manualPlay||n.manualPause||n.pause()},function(){n.manualPause||n.manualPlay||n.stopped||n.play()}),n.vars.pauseInvisible&&g.pauseInvisible.isHidden()||(n.vars.initDelay>0?n.startTimeout=setTimeout(n.play,n.vars.initDelay):n.play())),m&&g.asNav.setup(),o&&n.vars.touch&&g.touch(),(!p||p&&n.vars.smoothHeight)&&e(window).bind("resize orientationchange focus",g.resize),n.find("img").attr("draggable","false"),setTimeout(function(){n.vars.start(n)},200)},asNav:{setup:function(){n.asNav=!0,n.animatingTo=Math.floor(n.currentSlide/n.move),n.currentItem=n.currentSlide,n.slides.removeClass(s+"active-slide").eq(n.currentItem).addClass(s+"active-slide"),r?(t._slider=n,n.slides.each(function(){var t=this;t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),t.addEventListener("MSGestureTap",function(t){t.preventDefault();var a=e(this),i=a.index();e(n.vars.asNavFor).data("flexslider").animating||a.hasClass("active")||(n.direction=n.currentItem<i?"next":"prev",n.flexAnimate(i,n.vars.pauseOnAction,!1,!0,!0))})})):n.slides.click(function(t){t.preventDefault();var a=e(this),i=a.index(),r=a.offset().left-e(n).scrollLeft();0>=r&&a.hasClass(s+"active-slide")?n.flexAnimate(n.getTarget("prev"),!0):e(n.vars.asNavFor).data("flexslider").animating||a.hasClass(s+"active-slide")||(n.direction=n.currentItem<i?"next":"prev",n.flexAnimate(i,n.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){n.manualControls?g.controlNav.setupManual():g.controlNav.setupPaging()},setupPaging:function(){var t,a,i="thumbnails"===n.vars.controlNav?"control-thumbs":"control-paging",r=1;if(n.controlNavScaffold=e('<ol class="'+s+"control-nav "+s+i+'"></ol>'),n.pagingCount>1)for(var o=0;o<n.pagingCount;o++){if(a=n.slides.eq(o),t="thumbnails"===n.vars.controlNav?'<img src="'+a.attr("data-thumb")+'"/>':"<a>"+r+"</a>","thumbnails"===n.vars.controlNav&&!0===n.vars.thumbCaptions){var d=a.attr("data-thumbcaption");""!=d&&void 0!=d&&(t+='<span class="'+s+'caption">'+d+"</span>")}n.controlNavScaffold.append("<li>"+t+"</li>"),r++}n.controlsContainer?e(n.controlsContainer).append(n.controlNavScaffold):n.append(n.controlNavScaffold),g.controlNav.set(),g.controlNav.active(),n.controlNavScaffold.delegate("a, img",l,function(t){if(t.preventDefault(),""===c||c===t.type){var a=e(this),i=n.controlNav.index(a);a.hasClass(s+"active")||(n.direction=i>n.currentSlide?"next":"prev",n.flexAnimate(i,n.vars.pauseOnAction))}""===c&&(c=t.type),g.setToClearWatchedEvent()})},setupManual:function(){n.controlNav=n.manualControls,g.controlNav.active(),n.controlNav.bind(l,function(t){if(t.preventDefault(),""===c||c===t.type){var a=e(this),i=n.controlNav.index(a);a.hasClass(s+"active")||(n.direction=i>n.currentSlide?"next":"prev",n.flexAnimate(i,n.vars.pauseOnAction))}""===c&&(c=t.type),g.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===n.vars.controlNav?"img":"a";n.controlNav=e("."+s+"control-nav li "+t,n.controlsContainer?n.controlsContainer:n)},active:function(){n.controlNav.removeClass(s+"active").eq(n.animatingTo).addClass(s+"active")},update:function(t,a){n.pagingCount>1&&"add"===t?n.controlNavScaffold.append(e("<li><a>"+n.count+"</a></li>")):1===n.pagingCount?n.controlNavScaffold.find("li").remove():n.controlNav.eq(a).closest("li").remove(),g.controlNav.set(),n.pagingCount>1&&n.pagingCount!==n.controlNav.length?n.update(a,t):g.controlNav.active()}},directionNav:{setup:function(){var t=e('<ul class="'+s+'direction-nav"><li><a class="'+s+'prev" href="#">'+n.vars.prevText+'</a></li><li><a class="'+s+'next" href="#">'+n.vars.nextText+"</a></li></ul>");n.controlsContainer?(e(n.controlsContainer).append(t),n.directionNav=e("."+s+"direction-nav li a",n.controlsContainer)):(n.append(t),n.directionNav=e("."+s+"direction-nav li a",n)),g.directionNav.update(),n.directionNav.bind(l,function(t){t.preventDefault();var a;(""===c||c===t.type)&&(a=e(this).hasClass(s+"next")?n.getTarget("next"):n.getTarget("prev"),n.flexAnimate(a,n.vars.pauseOnAction)),""===c&&(c=t.type),g.setToClearWatchedEvent()})},update:function(){var e=s+"disabled";1===n.pagingCount?n.directionNav.addClass(e).attr("tabindex","-1"):n.vars.animationLoop?n.directionNav.removeClass(e).removeAttr("tabindex"):0===n.animatingTo?n.directionNav.removeClass(e).filter("."+s+"prev").addClass(e).attr("tabindex","-1"):n.animatingTo===n.last?n.directionNav.removeClass(e).filter("."+s+"next").addClass(e).attr("tabindex","-1"):n.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=e('<div class="'+s+'pauseplay"><a></a></div>');n.controlsContainer?(n.controlsContainer.append(t),n.pausePlay=e("."+s+"pauseplay a",n.controlsContainer)):(n.append(t),n.pausePlay=e("."+s+"pauseplay a",n)),g.pausePlay.update(n.vars.slideshow?s+"pause":s+"play"),n.pausePlay.bind(l,function(t){t.preventDefault(),(""===c||c===t.type)&&(e(this).hasClass(s+"pause")?(n.manualPause=!0,n.manualPlay=!1,n.pause()):(n.manualPause=!1,n.manualPlay=!0,n.play())),""===c&&(c=t.type),g.setToClearWatchedEvent()})},update:function(e){"play"===e?n.pausePlay.removeClass(s+"pause").addClass(s+"play").html(n.vars.playText):n.pausePlay.removeClass(s+"play").addClass(s+"pause").html(n.vars.pauseText)}},touch:function(){function e(e){n.animating?e.preventDefault():(window.navigator.msPointerEnabled||1===e.touches.length)&&(n.pause(),f=d?n.h:n.w,x=Number(new Date),S=e.touches[0].pageX,w=e.touches[0].pageY,g=v&&u&&n.animatingTo===n.last?0:v&&u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:v&&n.currentSlide===n.last?n.limit:v?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:u?(n.last-n.currentSlide+n.cloneOffset)*f:(n.currentSlide+n.cloneOffset)*f,c=d?w:S,m=d?S:w,t.addEventListener("touchmove",a,!1),t.addEventListener("touchend",i,!1))}function a(e){S=e.touches[0].pageX,w=e.touches[0].pageY,h=d?c-w:c-S,b=d?Math.abs(h)<Math.abs(S-m):Math.abs(h)<Math.abs(w-m);var t=500;(!b||Number(new Date)-x>t)&&(e.preventDefault(),!p&&n.transitions&&(n.vars.animationLoop||(h/=0===n.currentSlide&&0>h||n.currentSlide===n.last&&h>0?Math.abs(h)/f+2:1),n.setProps(g+h,"setTouch")))}function i(){if(t.removeEventListener("touchmove",a,!1),n.animatingTo===n.currentSlide&&!b&&null!==h){var e=u?-h:h,s=e>0?n.getTarget("next"):n.getTarget("prev");n.canAdvance(s)&&(Number(new Date)-x<550&&Math.abs(e)>50||Math.abs(e)>f/2)?n.flexAnimate(s,n.vars.pauseOnAction):p||n.flexAnimate(n.currentSlide,n.vars.pauseOnAction,!0)}t.removeEventListener("touchend",i,!1),c=null,m=null,h=null,g=null}function s(e){e.stopPropagation(),n.animating?e.preventDefault():(n.pause(),t._gesture.addPointer(e.pointerId),y=0,f=d?n.h:n.w,x=Number(new Date),g=v&&u&&n.animatingTo===n.last?0:v&&u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:v&&n.currentSlide===n.last?n.limit:v?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:u?(n.last-n.currentSlide+n.cloneOffset)*f:(n.currentSlide+n.cloneOffset)*f)}function o(e){e.stopPropagation();var a=e.target._slider;if(a){var n=-e.translationX,i=-e.translationY;return y+=d?i:n,h=y,b=d?Math.abs(y)<Math.abs(-n):Math.abs(y)<Math.abs(-i),e.detail===e.MSGESTURE_FLAG_INERTIA?(setImmediate(function(){t._gesture.stop()}),void 0):((!b||Number(new Date)-x>500)&&(e.preventDefault(),!p&&a.transitions&&(a.vars.animationLoop||(h=y/(0===a.currentSlide&&0>y||a.currentSlide===a.last&&y>0?Math.abs(y)/f+2:1)),a.setProps(g+h,"setTouch"))),void 0)}}function l(e){e.stopPropagation();var t=e.target._slider;if(t){if(t.animatingTo===t.currentSlide&&!b&&null!==h){var a=u?-h:h,n=a>0?t.getTarget("next"):t.getTarget("prev");t.canAdvance(n)&&(Number(new Date)-x<550&&Math.abs(a)>50||Math.abs(a)>f/2)?t.flexAnimate(n,t.vars.pauseOnAction):p||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)}c=null,m=null,h=null,g=null,y=0}}var c,m,g,f,h,x,b=!1,S=0,w=0,y=0;r?(t.style.msTouchAction="none",t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",s,!1),t._slider=n,t.addEventListener("MSGestureChange",o,!1),t.addEventListener("MSGestureEnd",l,!1)):t.addEventListener("touchstart",e,!1)},resize:function(){!n.animating&&n.is(":visible")&&(v||n.doMath(),p?g.smoothHeight():v?(n.slides.width(n.computedW),n.update(n.pagingCount),n.setProps()):d?(n.viewport.height(n.h),n.setProps(n.h,"setTotal")):(n.vars.smoothHeight&&g.smoothHeight(),n.newSlides.width(n.computedW),n.setProps(n.computedW,"setTotal")))},smoothHeight:function(e){if(!d||p){var t=p?n:n.viewport;e?t.animate({height:n.slides.eq(n.animatingTo).height()},e):t.height(n.slides.eq(n.animatingTo).height())}},sync:function(t){var a=e(n.vars.sync).data("flexslider"),i=n.animatingTo;switch(t){case"animate":a.flexAnimate(i,n.vars.pauseOnAction,!1,!0);break;case"play":a.playing||a.asNav||a.play();break;case"pause":a.pause()}},pauseInvisible:{visProp:null,init:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)e[t]+"Hidden"in document&&(g.pauseInvisible.visProp=e[t]+"Hidden");if(g.pauseInvisible.visProp){var a=g.pauseInvisible.visProp.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(a,function(){g.pauseInvisible.isHidden()?n.startTimeout?clearTimeout(n.startTimeout):n.pause():n.started?n.play():n.vars.initDelay>0?setTimeout(n.play,n.vars.initDelay):n.play()})}},isHidden:function(){return document[g.pauseInvisible.visProp]||!1}},setToClearWatchedEvent:function(){clearTimeout(i),i=setTimeout(function(){c=""},3e3)}},n.flexAnimate=function(t,a,i,r,l){if(n.vars.animationLoop||t===n.currentSlide||(n.direction=t>n.currentSlide?"next":"prev"),m&&1===n.pagingCount&&(n.direction=n.currentItem<t?"next":"prev"),!n.animating&&(n.canAdvance(t,l)||i)&&n.is(":visible")){if(m&&r){var c=e(n.vars.asNavFor).data("flexslider");if(n.atEnd=0===t||t===n.count-1,c.flexAnimate(t,!0,!1,!0,l),n.direction=n.currentItem<t?"next":"prev",c.direction=n.direction,Math.ceil((t+1)/n.visible)-1===n.currentSlide||0===t)return n.currentItem=t,n.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),!1;n.currentItem=t,n.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),t=Math.floor(t/n.visible)}if(n.animating=!0,n.animatingTo=t,a&&n.pause(),n.vars.before(n),n.syncExists&&!l&&g.sync("animate"),n.vars.controlNav&&g.controlNav.active(),v||n.slides.removeClass(s+"active-slide").eq(t).addClass(s+"active-slide"),n.atEnd=0===t||t===n.last,n.vars.directionNav&&g.directionNav.update(),t===n.last&&(n.vars.end(n),n.vars.animationLoop||n.pause()),p)o?(n.slides.eq(n.currentSlide).css({opacity:0,zIndex:1}),n.slides.eq(t).css({opacity:1,zIndex:2}),n.wrapup(b)):(n.slides.eq(n.currentSlide).css({zIndex:1}).animate({opacity:0},n.vars.animationSpeed,n.vars.easing),n.slides.eq(t).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing,n.wrapup));else{var f,h,x,b=d?n.slides.filter(":first").height():n.computedW;v?(f=n.vars.itemMargin,x=(n.itemW+f)*n.move*n.animatingTo,h=x>n.limit&&1!==n.visible?n.limit:x):h=0===n.currentSlide&&t===n.count-1&&n.vars.animationLoop&&"next"!==n.direction?u?(n.count+n.cloneOffset)*b:0:n.currentSlide===n.last&&0===t&&n.vars.animationLoop&&"prev"!==n.direction?u?0:(n.count+1)*b:u?(n.count-1-t+n.cloneOffset)*b:(t+n.cloneOffset)*b,n.setProps(h,"",n.vars.animationSpeed),n.transitions?(n.vars.animationLoop&&n.atEnd||(n.animating=!1,n.currentSlide=n.animatingTo),n.container.unbind("webkitTransitionEnd transitionend"),n.container.bind("webkitTransitionEnd transitionend",function(){n.wrapup(b)})):n.container.animate(n.args,n.vars.animationSpeed,n.vars.easing,function(){n.wrapup(b)})}n.vars.smoothHeight&&g.smoothHeight(n.vars.animationSpeed)}},n.wrapup=function(e){p||v||(0===n.currentSlide&&n.animatingTo===n.last&&n.vars.animationLoop?n.setProps(e,"jumpEnd"):n.currentSlide===n.last&&0===n.animatingTo&&n.vars.animationLoop&&n.setProps(e,"jumpStart")),n.animating=!1,n.currentSlide=n.animatingTo,n.vars.after(n)},n.animateSlides=function(){!n.animating&&f&&n.flexAnimate(n.getTarget("next"))},n.pause=function(){clearInterval(n.animatedSlides),n.animatedSlides=null,n.playing=!1,n.vars.pausePlay&&g.pausePlay.update("play"),n.syncExists&&g.sync("pause")},n.play=function(){n.playing&&clearInterval(n.animatedSlides),n.animatedSlides=n.animatedSlides||setInterval(n.animateSlides,n.vars.slideshowSpeed),n.started=n.playing=!0,n.vars.pausePlay&&g.pausePlay.update("pause"),n.syncExists&&g.sync("play")},n.stop=function(){n.pause(),n.stopped=!0},n.canAdvance=function(e,t){var a=m?n.pagingCount-1:n.last;return t?!0:m&&n.currentItem===n.count-1&&0===e&&"prev"===n.direction?!0:m&&0===n.currentItem&&e===n.pagingCount-1&&"next"!==n.direction?!1:e!==n.currentSlide||m?n.vars.animationLoop?!0:n.atEnd&&0===n.currentSlide&&e===a&&"next"!==n.direction?!1:n.atEnd&&n.currentSlide===a&&0===e&&"next"===n.direction?!1:!0:!1},n.getTarget=function(e){return n.direction=e,"next"===e?n.currentSlide===n.last?0:n.currentSlide+1:0===n.currentSlide?n.last:n.currentSlide-1},n.setProps=function(e,t,a){var i=function(){var a=e?e:(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo,i=function(){if(v)return"setTouch"===t?e:u&&n.animatingTo===n.last?0:u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:n.animatingTo===n.last?n.limit:a;switch(t){case"setTotal":return u?(n.count-1-n.currentSlide+n.cloneOffset)*e:(n.currentSlide+n.cloneOffset)*e;case"setTouch":return u?e:e;case"jumpEnd":return u?e:n.count*e;case"jumpStart":return u?n.count*e:e;default:return e}}();return-1*i+"px"}();n.transitions&&(i=d?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)",a=void 0!==a?a/1e3+"s":"0s",n.container.css("-"+n.pfx+"-transition-duration",a)),n.args[n.prop]=i,(n.transitions||void 0===a)&&n.container.css(n.args)},n.setup=function(t){if(p)n.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===t&&(o?n.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+n.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(n.currentSlide).css({opacity:1,zIndex:2}):n.slides.css({opacity:0,display:"block",zIndex:1}).eq(n.currentSlide).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing)),n.vars.smoothHeight&&g.smoothHeight();else{var a,i;"init"===t&&(n.viewport=e('<div class="'+s+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(n).append(n.container),n.cloneCount=0,n.cloneOffset=0,u&&(i=e.makeArray(n.slides).reverse(),n.slides=e(i),n.container.empty().append(n.slides))),n.vars.animationLoop&&!v&&(n.cloneCount=2,n.cloneOffset=1,"init"!==t&&n.container.find(".clone").remove(),n.container.append(n.slides.first().clone().addClass("clone").attr("aria-hidden","true")).prepend(n.slides.last().clone().addClass("clone").attr("aria-hidden","true"))),n.newSlides=e(n.vars.selector,n),a=u?n.count-1-n.currentSlide+n.cloneOffset:n.currentSlide+n.cloneOffset,d&&!v?(n.container.height(200*(n.count+n.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){n.newSlides.css({display:"block"}),n.doMath(),n.viewport.height(n.h),n.setProps(a*n.h,"init")},"init"===t?100:0)):(n.container.width(200*(n.count+n.cloneCount)+"%"),n.setProps(a*n.computedW,"init"),setTimeout(function(){n.doMath(),n.newSlides.css({width:n.computedW,"float":"left",display:"block"}),n.vars.smoothHeight&&g.smoothHeight()},"init"===t?100:0))}v||n.slides.removeClass(s+"active-slide").eq(n.currentSlide).addClass(s+"active-slide")},n.doMath=function(){var e=n.slides.first(),t=n.vars.itemMargin,a=n.vars.minItems,i=n.vars.maxItems;n.w=void 0===n.viewport?n.width():n.viewport.width(),n.h=e.height(),n.boxPadding=e.outerWidth()-e.width(),v?(n.itemT=n.vars.itemWidth+t,n.minW=a?a*n.itemT:n.w,n.maxW=i?i*n.itemT-t:n.w,n.itemW=n.minW>n.w?(n.w-t*(a-1))/a:n.maxW<n.w?(n.w-t*(i-1))/i:n.vars.itemWidth>n.w?n.w:n.vars.itemWidth,n.visible=Math.floor(n.w/n.itemW),n.move=n.vars.move>0&&n.vars.move<n.visible?n.vars.move:n.visible,n.pagingCount=Math.ceil((n.count-n.visible)/n.move+1),n.last=n.pagingCount-1,n.limit=1===n.pagingCount?0:n.vars.itemWidth>n.w?n.itemW*(n.count-1)+t*(n.count-1):(n.itemW+t)*n.count-n.w-t):(n.itemW=n.w,n.pagingCount=n.count,n.last=n.count-1),n.computedW=n.itemW-n.boxPadding},n.update=function(e,t){n.doMath(),v||(e<n.currentSlide?n.currentSlide+=1:e<=n.currentSlide&&0!==e&&(n.currentSlide-=1),n.animatingTo=n.currentSlide),n.vars.controlNav&&!n.manualControls&&("add"===t&&!v||n.pagingCount>n.controlNav.length?g.controlNav.update("add"):("remove"===t&&!v||n.pagingCount<n.controlNav.length)&&(v&&n.currentSlide>n.last&&(n.currentSlide-=1,n.animatingTo-=1),g.controlNav.update("remove",n.last))),n.vars.directionNav&&g.directionNav.update()},n.addSlide=function(t,a){var i=e(t);n.count+=1,n.last=n.count-1,d&&u?void 0!==a?n.slides.eq(n.count-a).after(i):n.container.prepend(i):void 0!==a?n.slides.eq(a).before(i):n.container.append(i),n.update(a,"add"),n.slides=e(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.added(n)},n.removeSlide=function(t){var a=isNaN(t)?n.slides.index(e(t)):t;n.count-=1,n.last=n.count-1,isNaN(t)?e(t,n.slides).remove():d&&u?n.slides.eq(n.last).remove():n.slides.eq(t).remove(),n.doMath(),n.update(a,"remove"),n.slides=e(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.removed(n)},g.init()},e(window).blur(function(){focused=!1}).focus(function(){focused=!0}),e.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){}},e.fn.flexslider=function(t){if(void 0===t&&(t={}),"object"==typeof t)return this.each(function(){var a=e(this),n=t.selector?t.selector:".slides > li",i=a.find(n);1===i.length&&t.allowOneSlide===!0||0===i.length?(i.fadeIn(400),t.start&&t.start(a)):void 0===a.data("flexslider")&&new e.flexslider(this,t)});var a=e(this).data("flexslider");switch(t){case"play":a.play();break;case"pause":a.pause();break;case"stop":a.stop();break;case"next":a.flexAnimate(a.getTarget("next"),!0);break;case"prev":case"previous":a.flexAnimate(a.getTarget("prev"),!0);break;default:"number"==typeof t&&a.flexAnimate(t,!0)}}}(jQuery),function(e){"use strict";e.fn.lightbox=function(t){var a={margin:50,nav:!0,blur:!0,minSize:0},n={items:[],lightbox:null,image:null,current:null,locked:!1,caption:null,init:function(t){n.items=t,n.selector="lightbox-"+Math.random().toString().replace(".",""),n.lightbox||(e("body").append('<div id="lightbox" style="display:none;"><a href="#" class="lightbox-close lightbox-button"></a><div class="lightbox-nav"><a href="#" class="lightbox-previous lightbox-button"></a><a href="#" class="lightbox-next lightbox-button"></a></div><div href="#" class="lightbox-caption"><p></p></div></div>'),n.lightbox=e("#lightbox"),n.caption=e(".lightbox-caption",n.lightbox)),n.items.length>1&&a.nav?e(".lightbox-nav",n.lightbox).show():e(".lightbox-nav",n.lightbox).hide(),n.bindEvents()},loadImage:function(){a.blur&&e("body").addClass("blurred"),e("img",n.lightbox).remove(),n.lightbox.fadeIn("fast").append('<span class="lightbox-loading"></span>');var t=e('<img src="'+e(n.current).attr("href")+'" draggable="false">');e(t).load(function(){e(".lightbox-loading").remove(),n.lightbox.append(t),n.image=e("img",n.lightbox).hide(),n.resizeImage(),n.setCaption()})},setCaption:function(){var t=e(n.current).data("caption");t&&t.length>0?(n.caption.fadeIn(),e("p",n.caption).text(t)):n.caption.hide()},resizeImage:function(){var t,i,s,r,o;i=e(window).height()-a.margin,s=e(window).outerWidth(!0)-a.margin,n.image.width("").height(""),r=n.image.height(),o=n.image.width(),o>s&&(t=s/o,o=s,r=Math.round(r*t)),r>i&&(t=i/r,r=i,o=Math.round(o*t)),n.image.width(o).height(r).css({top:(e(window).height()-n.image.outerHeight())/2+"px",left:(e(window).width()-n.image.outerWidth())/2+"px"}).show(),n.locked=!1},getCurrentIndex:function(){return e.inArray(n.current,n.items)},next:function(){return n.locked?!1:(n.locked=!0,n.getCurrentIndex()>=n.items.length-1?e(n.items[0]).click():e(n.items[n.getCurrentIndex()+1]).click(),void 0)},previous:function(){return n.locked?!1:(n.locked=!0,n.getCurrentIndex()<=0?e(n.items[n.items.length-1]).click():e(n.items[n.getCurrentIndex()-1]).click(),void 0)},bindEvents:function(){e(n.items).click(function(t){if(!e("#lightbox").is(":visible")&&(e(window).width()<a.minSize||e(window).height()<a.minSize))return e(this).attr("target","_blank"),void 0;var i=e(this)[0];t.preventDefault(),n.current=i,n.loadImage(),e(document).on("keydown",function(e){27===e.keyCode&&n.close(),39===e.keyCode&&n.next(),37===e.keyCode&&n.previous()})}),n.lightbox.on("click",function(e){this===e.target&&n.close()}),e(n.lightbox).on("click",".lightbox-previous",function(){return n.previous(),!1}),e(n.lightbox).on("click",".lightbox-next",function(){return n.next(),!1}),e(n.lightbox).on("click",".lightbox-close",function(){return n.close(),!1}),e(window).resize(function(){n.image&&n.resizeImage()})},close:function(){e(document).off("keydown"),e(n.lightbox).fadeOut("fast"),e("body").removeClass("blurred")}};e.extend(a,t),n.init(this)}}(jQuery);
| + | |
− | /*!
| + | |
− | * Bootstrap v3.3.1 (http://getbootstrap.com)
| + | |
− | * Copyright 2011-2014 Twitter, Inc.
| + | |
− | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
| + | |
− | */
| + | |
− | if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.1",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.1",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));a&&this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.1",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c="prev"==a?-1:1,d=this.getItemIndex(b),e=(d+c)%this.$items.length;return this.$items.eq(e)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i="next"==b?"first":"last",j=this;if(!f.length){if(!this.options.wrap)return;f=this.$element.find(".item")[i]()}if(f.hasClass("active"))return this.sliding=!1;var k=f[0],l=a.Event("slide.bs.carousel",{relatedTarget:k,direction:h});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var m=a(this.$indicators.children()[this.getItemIndex(f)]);m&&m.addClass("active")}var n=a.Event("slid.bs.carousel",{relatedTarget:k,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),j.sliding=!1,setTimeout(function(){j.$element.trigger(n)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(n)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&"show"==b&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a(this.options.trigger).filter('[href="#'+b.id+'"], [data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.1",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0,trigger:'[data-toggle="collapse"]'},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.find("> .panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":a.extend({},e.data(),{trigger:this});c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=c(d),f={relatedTarget:this};e.hasClass("open")&&(e.trigger(b=a.Event("hide.bs.dropdown",f)),b.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f)))}))}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.1",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(b){if(/(38|40|27|32)/.test(b.which)&&!/input|textarea/i.test(b.target.tagName)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var e=c(d),g=e.hasClass("open");if(!g&&27!=b.which||g&&27==b.which)return 27==b.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.divider):visible a",i=e.find('[role="menu"]'+h+', [role="listbox"]'+h);if(i.length){var j=i.index(b.target);38==b.which&&j>0&&j--,40==b.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',g.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.1",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.options.backdrop&&d.adjustBackdrop(),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in").attr("aria-hidden",!1),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$element.find(".modal-dialog").one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a('<div class="modal-backdrop '+e+'" />').prependTo(this.$element).on("click.dismiss.bs.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.options.backdrop&&this.adjustBackdrop(),this.adjustDialog()},c.prototype.adjustBackdrop=function(){this.$backdrop.css("height",0).css("height",this.$element[0].scrollHeight)},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){this.bodyIsOverflowing=document.body.scrollHeight>document.documentElement.clientHeight,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b,g=f&&f.selector;(e||"destroy"!=b)&&(g?(e||d.data("bs.tooltip",e={}),e[g]||(e[g]=new c(this,f))):e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};c.VERSION="3.3.1",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(this.options.viewport.selector||this.options.viewport);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c&&c.$tip&&c.$tip.is(":visible")?void(c.hoverState="in"):(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.options.container?a(this.options.container):this.$element.parent(),p=this.getPosition(o);h="bottom"==h&&k.bottom+m>p.bottom?"top":"top"==h&&k.top-m<p.top?"bottom":"right"==h&&k.right+l>p.width?"left":"left"==h&&k.left-l<p.left?"right":h,f.removeClass(n).addClass(h)}var q=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(q,h);var r=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",r).emulateTransitionEnd(c.TRANSITION_DURATION):r()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top=b.top+g,b.left=b.left+h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=this.tip(),g=a.Event("hide.bs."+this.type);return this.$element.trigger(g),g.isDefaultPrevented()?void 0:(f.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this)},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=d?{top:0,left:0}:b.offset(),g={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},h=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,g,h,f)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.width&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type)})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b,g=f&&f.selector;(e||"destroy"!=b)&&(g?(e||d.data("bs.popover",e={}),e[g]||(e[g]=new c(this,f))):e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.1",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},c.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){var e=a.proxy(this.process,this);this.$body=a("body"),this.$scrollElement=a(a(c).is("body")?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.1",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b="offset",c=0;a.isWindow(this.$scrollElement[0])||(b="position",c=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var d=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[b]().top+c,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){d.offsets.push(this[0]),d.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.1",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})
| + | |
− | })}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.1",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=i?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=a("body").height();"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
| + | |
− | /*!
| + | |
− | * GMAP3 Plugin for JQuery
| + | |
− | * Version : 5.1.1
| + | |
− | * Date : 2013-05-25
| + | |
− | * Licence : GPL v3 : http://www.gnu.org/licenses/gpl.html
| + | |
− | * Author : DEMONTE Jean-Baptiste
| + | |
− | * Contact : jbdemonte@gmail.com
| + | |
− | * Web site : http://gmap3.net
| + | |
− | */
| + | |
− | (function(y,t){var z,i=0;function J(){if(!z){z={verbose:false,queryLimit:{attempt:5,delay:250,random:250},classes:{Map:google.maps.Map,Marker:google.maps.Marker,InfoWindow:google.maps.InfoWindow,Circle:google.maps.Circle,Rectangle:google.maps.Rectangle,OverlayView:google.maps.OverlayView,StreetViewPanorama:google.maps.StreetViewPanorama,KmlLayer:google.maps.KmlLayer,TrafficLayer:google.maps.TrafficLayer,BicyclingLayer:google.maps.BicyclingLayer,GroundOverlay:google.maps.GroundOverlay,StyledMapType:google.maps.StyledMapType,ImageMapType:google.maps.ImageMapType},map:{mapTypeId:google.maps.MapTypeId.ROADMAP,center:[46.578498,2.457275],zoom:2},overlay:{pane:"floatPane",content:"",offset:{x:0,y:0}},geoloc:{getCurrentPosition:{maximumAge:60000,timeout:5000}}}}}function k(M,L){return M!==t?M:"gmap3_"+(L?i+1:++i)}function d(L){var O=function(P){return parseInt(P,10)},N=google.maps.version.split(".").map(O),M;L=L.split(".").map(O);for(M=0;M<L.length;M++){if(N.hasOwnProperty(M)){if(N[M]<L[M]){return false}}else{return false}}return true}function n(P,L,N,Q,O){if(L.todo.events||L.todo.onces){var M={id:Q,data:L.todo.data,tag:L.todo.tag};if(L.todo.events){y.each(L.todo.events,function(R,U){var T=P,S=U;if(y.isArray(U)){T=U[0];S=U[1]}google.maps.event.addListener(N,R,function(V){S.apply(T,[O?O:N,V,M])})})}if(L.todo.onces){y.each(L.todo.onces,function(R,U){var T=P,S=U;if(y.isArray(U)){T=U[0];S=U[1]}google.maps.event.addListenerOnce(N,R,function(V){S.apply(T,[O?O:N,V,M])})})}}}function l(){var L=[];this.empty=function(){return !L.length};this.add=function(M){L.push(M)};this.get=function(){return L.length?L[0]:false};this.ack=function(){L.shift()}}function w(T,L,N){var R={},P=this,Q,S={latLng:{map:false,marker:false,infowindow:false,circle:false,overlay:false,getlatlng:false,getmaxzoom:false,getelevation:false,streetviewpanorama:false,getaddress:true},geoloc:{getgeoloc:true}};if(typeof N==="string"){N=M(N)}function M(V){var U={};U[V]={};return U}function O(){var U;for(U in N){if(U in R){continue}return U}}this.run=function(){var U,V;while(U=O()){if(typeof T[U]==="function"){Q=U;V=y.extend(true,{},z[U]||{},N[U].options||{});if(U in S.latLng){if(N[U].values){x(N[U].values,T,T[U],{todo:N[U],opts:V,session:R})}else{v(T,T[U],S.latLng[U],{todo:N[U],opts:V,session:R})}}else{if(U in S.geoloc){o(T,T[U],{todo:N[U],opts:V,session:R})}else{T[U].apply(T,[{todo:N[U],opts:V,session:R}])}}return}else{R[U]=null}}L.apply(T,[N,R])};this.ack=function(U){R[Q]=U;P.run.apply(P,[])}}function c(N){var L,M=[];for(L in N){M.push(L)}return M}function b(N,Q){var L={};if(N.todo){for(var M in N.todo){if((M!=="options")&&(M!=="values")){L[M]=N.todo[M]}}}var O,P=["data","tag","id","events","onces"];for(O=0;O<P.length;O++){A(L,P[O],Q,N.todo)}L.options=y.extend({},N.opts||{},Q.options||{});return L}function A(N,M){for(var L=2;L<arguments.length;L++){if(M in arguments[L]){N[M]=arguments[L][M];return}}}function r(){var L=[];this.get=function(S){if(L.length){var P,O,N,R,M,Q=c(S);for(P=0;P<L.length;P++){R=L[P];M=Q.length==R.keys.length;for(O=0;(O<Q.length)&&M;O++){N=Q[O];M=N in R.request;if(M){if((typeof S[N]==="object")&&("equals" in S[N])&&(typeof S[N]==="function")){M=S[N].equals(R.request[N])}else{M=S[N]===R.request[N]}}}if(M){return R.results}}}};this.store=function(N,M){L.push({request:N,keys:c(N),results:M})}}function e(Q,P,O,L){var N=this,M=[];z.classes.OverlayView.call(this);this.setMap(Q);this.onAdd=function(){var R=this.getPanes();if(P.pane in R){y(R[P.pane]).append(L)}y.each("dblclick click mouseover mousemove mouseout mouseup mousedown".split(" "),function(T,S){M.push(google.maps.event.addDomListener(L[0],S,function(U){y.Event(U).stopPropagation();google.maps.event.trigger(N,S,[U]);N.draw()}))});M.push(google.maps.event.addDomListener(L[0],"contextmenu",function(S){y.Event(S).stopPropagation();google.maps.event.trigger(N,"rightclick",[S]);N.draw()}))};this.getPosition=function(){return O};this.draw=function(){var R=this.getProjection().fromLatLngToDivPixel(O);L.css("left",(R.x+P.offset.x)+"px").css("top",(R.y+P.offset.y)+"px")};this.onRemove=function(){for(var R=0;R<M.length;R++){google.maps.event.removeListener(M[R])}L.remove()};this.hide=function(){L.hide()};this.show=function(){L.show()};this.toggle=function(){if(L){if(L.is(":visible")){this.show()}else{this.hide()}}};this.toggleDOM=function(){if(this.getMap()){this.setMap(null)}else{this.setMap(Q)}};this.getDOMElement=function(){return L[0]}}function f(O,L){function M(){this.onAdd=function(){};this.onRemove=function(){};this.draw=function(){};return z.classes.OverlayView.apply(this,[])}M.prototype=z.classes.OverlayView.prototype;var N=new M();N.setMap(O);return N}function F(ae,ao,aa){var an=false,ai=false,af=false,Z=false,W=true,V=this,N=[],T={},ad={},U={},aj=[],ah=[],O=[],ak=f(ao,aa.radius),Y,ap,am,P,Q;S();function L(aq){if(!aj[aq]){delete ah[aq].options.map;aj[aq]=new z.classes.Marker(ah[aq].options);n(ae,{todo:ah[aq]},aj[aq],ah[aq].id)}}this.getById=function(aq){if(aq in ad){L(ad[aq]);return aj[ad[aq]]}return false};this.rm=function(ar){var aq=ad[ar];if(aj[aq]){aj[aq].setMap(null)}delete aj[aq];aj[aq]=false;delete ah[aq];ah[aq]=false;delete O[aq];O[aq]=false;delete ad[ar];delete U[aq];ai=true};this.clearById=function(aq){if(aq in ad){this.rm(aq);return true}};this.clear=function(az,av,aA){var ar,ay,at,aw,au,ax=[],aq=C(aA);if(az){ar=ah.length-1;ay=-1;at=-1}else{ar=0;ay=ah.length;at=1}for(aw=ar;aw!=ay;aw+=at){if(ah[aw]){if(!aq||aq(ah[aw].tag)){ax.push(U[aw]);if(av||az){break}}}}for(au=0;au<ax.length;au++){this.rm(ax[au])}};this.add=function(aq,ar){aq.id=k(aq.id);this.clearById(aq.id);ad[aq.id]=aj.length;U[aj.length]=aq.id;aj.push(null);ah.push(aq);O.push(ar);ai=true};this.addMarker=function(ar,aq){aq=aq||{};aq.id=k(aq.id);this.clearById(aq.id);if(!aq.options){aq.options={}}aq.options.position=ar.getPosition();n(ae,{todo:aq},ar,aq.id);ad[aq.id]=aj.length;U[aj.length]=aq.id;aj.push(ar);ah.push(aq);O.push(aq.data||{});ai=true};this.todo=function(aq){return ah[aq]};this.value=function(aq){return O[aq]};this.marker=function(aq){if(aq in aj){L(aq);return aj[aq]}return false};this.markerIsSet=function(aq){return Boolean(aj[aq])};this.setMarker=function(ar,aq){aj[ar]=aq};this.store=function(aq,ar,at){T[aq.ref]={obj:ar,shadow:at}};this.free=function(){for(var aq=0;aq<N.length;aq++){google.maps.event.removeListener(N[aq])}N=[];y.each(T,function(ar){ac(ar)});T={};y.each(ah,function(ar){ah[ar]=null});ah=[];y.each(aj,function(ar){if(aj[ar]){aj[ar].setMap(null);delete aj[ar]}});aj=[];y.each(O,function(ar){delete O[ar]});O=[];ad={};U={}};this.filter=function(aq){am=aq;ag()};this.enable=function(aq){if(W!=aq){W=aq;ag()}};this.display=function(aq){P=aq};this.error=function(aq){Q=aq};this.beginUpdate=function(){an=true};this.endUpdate=function(){an=false;if(ai){ag()}};this.autofit=function(ar){for(var aq=0;aq<ah.length;aq++){if(ah[aq]){ar.extend(ah[aq].options.position)}}};function S(){ap=ak.getProjection();if(!ap){setTimeout(function(){S.apply(V,[])},25);return}Z=true;N.push(google.maps.event.addListener(ao,"zoom_changed",function(){al()}));N.push(google.maps.event.addListener(ao,"bounds_changed",function(){al()}));ag()}function ac(aq){if(typeof T[aq]==="object"){if(typeof(T[aq].obj.setMap)==="function"){T[aq].obj.setMap(null)}if(typeof(T[aq].obj.remove)==="function"){T[aq].obj.remove()}if(typeof(T[aq].shadow.remove)==="function"){T[aq].obj.remove()}if(typeof(T[aq].shadow.setMap)==="function"){T[aq].shadow.setMap(null)}delete T[aq].obj;delete T[aq].shadow}else{if(aj[aq]){aj[aq].setMap(null)}}delete T[aq]}function M(){var ay,ax,aw,au,av,at,ar,aq;if(arguments[0] instanceof google.maps.LatLng){ay=arguments[0].lat();aw=arguments[0].lng();if(arguments[1] instanceof google.maps.LatLng){ax=arguments[1].lat();au=arguments[1].lng()}else{ax=arguments[1];au=arguments[2]}}else{ay=arguments[0];aw=arguments[1];if(arguments[2] instanceof google.maps.LatLng){ax=arguments[2].lat();au=arguments[2].lng()}else{ax=arguments[2];au=arguments[3]}}av=Math.PI*ay/180;at=Math.PI*aw/180;ar=Math.PI*ax/180;aq=Math.PI*au/180;return 1000*6371*Math.acos(Math.min(Math.cos(av)*Math.cos(ar)*Math.cos(at)*Math.cos(aq)+Math.cos(av)*Math.sin(at)*Math.cos(ar)*Math.sin(aq)+Math.sin(av)*Math.sin(ar),1))}function R(){var aq=M(ao.getCenter(),ao.getBounds().getNorthEast()),ar=new google.maps.Circle({center:ao.getCenter(),radius:1.25*aq});return ar.getBounds()}function X(){var ar={},aq;for(aq in T){ar[aq]=true}return ar}function al(){clearTimeout(Y);Y=setTimeout(function(){ag()},25)}function ab(ar){var au=ap.fromLatLngToDivPixel(ar),at=ap.fromDivPixelToLatLng(new google.maps.Point(au.x+aa.radius,au.y-aa.radius)),aq=ap.fromDivPixelToLatLng(new google.maps.Point(au.x-aa.radius,au.y+aa.radius));return new google.maps.LatLngBounds(aq,at)}function ag(){if(an||af||!Z){return}var aE=[],aG={},aF=ao.getZoom(),aH=("maxZoom" in aa)&&(aF>aa.maxZoom),aw=X(),av,au,at,aA,ar=false,aq,aD,ay,az,aB,aC,ax;ai=false;if(aF>3){aq=R();ar=aq.getSouthWest().lng()<aq.getNorthEast().lng()}for(av=0;av<ah.length;av++){if(ah[av]&&(!ar||aq.contains(ah[av].options.position))&&(!am||am(O[av]))){aE.push(av)}}while(1){av=0;while(aG[av]&&(av<aE.length)){av++}if(av==aE.length){break}aA=[];if(W&&!aH){ax=10;do{az=aA;aA=[];ax--;if(az.length){ay=aq.getCenter()}else{ay=ah[aE[av]].options.position}aq=ab(ay);for(au=av;au<aE.length;au++){if(aG[au]){continue}if(aq.contains(ah[aE[au]].options.position)){aA.push(au)}}}while((az.length<aA.length)&&(aA.length>1)&&ax)}else{for(au=av;au<aE.length;au++){if(aG[au]){continue}aA.push(au);break}}aD={indexes:[],ref:[]};aB=aC=0;for(at=0;at<aA.length;at++){aG[aA[at]]=true;aD.indexes.push(aE[aA[at]]);aD.ref.push(aE[aA[at]]);aB+=ah[aE[aA[at]]].options.position.lat();aC+=ah[aE[aA[at]]].options.position.lng()}aB/=aA.length;aC/=aA.length;aD.latLng=new google.maps.LatLng(aB,aC);aD.ref=aD.ref.join("-");if(aD.ref in aw){delete aw[aD.ref]}else{if(aA.length===1){T[aD.ref]=true}P(aD)}}y.each(aw,function(aI){ac(aI)});af=false}}function a(M,L){this.id=function(){return M};this.filter=function(N){L.filter(N)};this.enable=function(){L.enable(true)};this.disable=function(){L.enable(false)};this.add=function(O,N,P){if(!P){L.beginUpdate()}L.addMarker(O,N);if(!P){L.endUpdate()}};this.getById=function(N){return L.getById(N)};this.clearById=function(P,O){var N;if(!O){L.beginUpdate()}N=L.clearById(P);if(!O){L.endUpdate()}return N};this.clear=function(P,Q,N,O){if(!O){L.beginUpdate()}L.clear(P,Q,N);if(!O){L.endUpdate()}}}function D(){var M={},N={};function L(P){return{id:P.id,name:P.name,object:P.obj,tag:P.tag,data:P.data}}this.add=function(R,Q,T,S){var P=R.todo||{},U=k(P.id);if(!M[Q]){M[Q]=[]}if(U in N){this.clearById(U)}N[U]={obj:T,sub:S,name:Q,id:U,tag:P.tag,data:P.data};M[Q].push(U);return U};this.getById=function(R,Q,P){if(R in N){if(Q){return N[R].sub}else{if(P){return L(N[R])}}return N[R].obj}return false};this.get=function(R,T,P,S){var V,U,Q=C(P);if(!M[R]||!M[R].length){return null}V=M[R].length;while(V){V--;U=M[R][T?V:M[R].length-V-1];if(U&&N[U]){if(Q&&!Q(N[U].tag)){continue}return S?L(N[U]):N[U].obj}}return null};this.all=function(S,Q,T){var P=[],R=C(Q),U=function(X){var V,W;for(V=0;V<M[X].length;V++){W=M[X][V];if(W&&N[W]){if(R&&!R(N[W].tag)){continue}P.push(T?L(N[W]):N[W].obj)}}};if(S in M){U(S)}else{if(S===t){for(S in M){U(S)}}}return P};function O(P){if(typeof(P.setMap)==="function"){P.setMap(null)}if(typeof(P.remove)==="function"){P.remove()}if(typeof(P.free)==="function"){P.free()}P=null}this.rm=function(S,Q,R){var P,T;if(!M[S]){return false}if(Q){if(R){for(P=M[S].length-1;P>=0;P--){T=M[S][P];if(Q(N[T].tag)){break}}}else{for(P=0;P<M[S].length;P++){T=M[S][P];if(Q(N[T].tag)){break}}}}else{P=R?M[S].length-1:0}if(!(P in M[S])){return false}return this.clearById(M[S][P],P)};this.clearById=function(S,P){if(S in N){var R,Q=N[S].name;for(R=0;P===t&&R<M[Q].length;R++){if(S===M[Q][R]){P=R}}O(N[S].obj);if(N[S].sub){O(N[S].sub)}delete N[S];M[Q].splice(P,1);return true}return false};this.objGetById=function(R){var Q;if(M.clusterer){for(var P in M.clusterer){if((Q=N[M.clusterer[P]].obj.getById(R))!==false){return Q}}}return false};this.objClearById=function(Q){if(M.clusterer){for(var P in M.clusterer){if(N[M.clusterer[P]].obj.clearById(Q)){return true}}}return null};this.clear=function(V,U,W,P){var R,T,S,Q=C(P);if(!V||!V.length){V=[];for(R in M){V.push(R)}}else{V=g(V)}for(T=0;T<V.length;T++){S=V[T];if(U){this.rm(S,Q,true)}else{if(W){this.rm(S,Q,false)}else{while(this.rm(S,Q,false)){}}}}};this.objClear=function(S,R,T,Q){if(M.clusterer&&(y.inArray("marker",S)>=0||!S.length)){for(var P in M.clusterer){N[M.clusterer[P]].obj.clear(R,T,Q)}}}}var m={},H=new r();function p(){if(!m.geocoder){m.geocoder=new google.maps.Geocoder()}return m.geocoder}function G(){if(!m.directionsService){m.directionsService=new google.maps.DirectionsService()}return m.directionsService}function h(){if(!m.elevationService){m.elevationService=new google.maps.ElevationService()}return m.elevationService}function q(){if(!m.maxZoomService){m.maxZoomService=new google.maps.MaxZoomService()}return m.maxZoomService}function B(){if(!m.distanceMatrixService){m.distanceMatrixService=new google.maps.DistanceMatrixService()}return m.distanceMatrixService}function u(){if(z.verbose){var L,M=[];if(window.console&&(typeof console.error==="function")){for(L=0;L<arguments.length;L++){M.push(arguments[L])}console.error.apply(console,M)}else{M="";for(L=0;L<arguments.length;L++){M+=arguments[L].toString()+" "}alert(M)}}}function E(L){return(typeof(L)==="number"||typeof(L)==="string")&&L!==""&&!isNaN(L)}function g(N){var M,L=[];if(N!==t){if(typeof(N)==="object"){if(typeof(N.length)==="number"){L=N}else{for(M in N){L.push(N[M])}}}else{L.push(N)}}return L}function C(L){if(L){if(typeof L==="function"){return L}L=g(L);return function(N){if(N===t){return false}if(typeof N==="object"){for(var M=0;M<N.length;M++){if(y.inArray(N[M],L)>=0){return true}}return false}return y.inArray(N,L)>=0}}}function I(M,O,L){var N=O?M:null;if(!M||(typeof M==="string")){return N}if(M.latLng){return I(M.latLng)}if(M instanceof google.maps.LatLng){return M}else{if(E(M.lat)){return new google.maps.LatLng(M.lat,M.lng)}else{if(!L&&y.isArray(M)){if(!E(M[0])||!E(M[1])){return N}return new google.maps.LatLng(M[0],M[1])}}}return N}function j(M){var N,L;if(!M||M instanceof google.maps.LatLngBounds){return M||null}if(y.isArray(M)){if(M.length==2){N=I(M[0]);L=I(M[1])}else{if(M.length==4){N=I([M[0],M[1]]);L=I([M[2],M[3]])}}}else{if(("ne" in M)&&("sw" in M)){N=I(M.ne);L=I(M.sw)}else{if(("n" in M)&&("e" in M)&&("s" in M)&&("w" in M)){N=I([M.n,M.e]);L=I([M.s,M.w])}}}if(N&&L){return new google.maps.LatLngBounds(L,N)}return null}function v(T,L,O,S,P){var N=O?I(S.todo,false,true):false,R=N?{latLng:N}:(S.todo.address?(typeof(S.todo.address)==="string"?{address:S.todo.address}:S.todo.address):false),M=R?H.get(R):false,Q=this;if(R){P=P||0;if(M){S.latLng=M.results[0].geometry.location;S.results=M.results;S.status=M.status;L.apply(T,[S])}else{if(R.location){R.location=I(R.location)}if(R.bounds){R.bounds=j(R.bounds)}p().geocode(R,function(V,U){if(U===google.maps.GeocoderStatus.OK){H.store(R,{results:V,status:U});S.latLng=V[0].geometry.location;S.results=V;S.status=U;L.apply(T,[S])}else{if((U===google.maps.GeocoderStatus.OVER_QUERY_LIMIT)&&(P<z.queryLimit.attempt)){setTimeout(function(){v.apply(Q,[T,L,O,S,P+1])},z.queryLimit.delay+Math.floor(Math.random()*z.queryLimit.random))}else{u("geocode failed",U,R);S.latLng=S.results=false;S.status=U;L.apply(T,[S])}}})}}else{S.latLng=I(S.todo,false,true);L.apply(T,[S])}}function x(Q,L,R,M){var O=this,N=-1;function P(){do{N++}while((N<Q.length)&&!("address" in Q[N]));if(N>=Q.length){R.apply(L,[M]);return}v(O,function(S){delete S.todo;y.extend(Q[N],S);P.apply(O,[])},true,{todo:Q[N]})}P()}function o(L,O,M){var N=false;if(navigator&&navigator.geolocation){navigator.geolocation.getCurrentPosition(function(P){if(N){return}N=true;M.latLng=new google.maps.LatLng(P.coords.latitude,P.coords.longitude);O.apply(L,[M])},function(){if(N){return}N=true;M.latLng=false;O.apply(L,[M])},M.opts.getCurrentPosition)}else{M.latLng=false;O.apply(L,[M])}}function K(T){var S=this,U=new l(),V=new D(),N=null,P;this._plan=function(Z){for(var Y=0;Y<Z.length;Y++){U.add(new w(S,R,Z[Y]))}Q()};function Q(){if(!P&&(P=U.get())){P.run()}}function R(){P=null;U.ack();Q.call(S)}function X(Y){if(Y.todo.callback){var Z=Array.prototype.slice.call(arguments,1);if(typeof Y.todo.callback==="function"){Y.todo.callback.apply(T,Z)}else{if(y.isArray(Y.todo.callback)){if(typeof Y.todo.callback[1]==="function"){Y.todo.callback[1].apply(Y.todo.callback[0],Z)}}}}}function O(Y,Z,aa){if(aa){n(T,Y,Z,aa)}X(Y,Z);P.ack(Z)}function L(aa,Y){Y=Y||{};if(N){if(Y.todo&&Y.todo.options){if(Y.todo.options.center){Y.todo.options.center=I(Y.todo.options.center)}N.setOptions(Y.todo.options)}}else{var Z=Y.opts||y.extend(true,{},z.map,Y.todo&&Y.todo.options?Y.todo.options:{});Z.center=aa||I(Z.center);N=new z.classes.Map(T.get(0),Z)}}this.map=function(Y){L(Y.latLng,Y);n(T,Y,N);O(Y,N)};this.destroy=function(Y){V.clear();T.empty();if(N){N=null}O(Y,true)};this.infowindow=function(Z){var aa=[],Y="values" in Z.todo;if(!Y){if(Z.latLng){Z.opts.position=Z.latLng}Z.todo.values=[{options:Z.opts}]}y.each(Z.todo.values,function(ac,ad){var af,ae,ab=b(Z,ad);ab.options.position=ab.options.position?I(ab.options.position):I(ad.latLng);if(!N){L(ab.options.position)}ae=new z.classes.InfoWindow(ab.options);if(ae&&((ab.open===t)||ab.open)){if(Y){ae.open(N,ab.anchor?ab.anchor:t)}else{ae.open(N,ab.anchor?ab.anchor:(Z.latLng?t:(Z.session.marker?Z.session.marker:t)))}}aa.push(ae);af=V.add({todo:ab},"infowindow",ae);n(T,{todo:ab},ae,af)});O(Z,Y?aa:aa[0])};this.circle=function(Z){var aa=[],Y="values" in Z.todo;if(!Y){Z.opts.center=Z.latLng||I(Z.opts.center);Z.todo.values=[{options:Z.opts}]}if(!Z.todo.values.length){O(Z,false);return}y.each(Z.todo.values,function(ac,ad){var af,ae,ab=b(Z,ad);ab.options.center=ab.options.center?I(ab.options.center):I(ad);if(!N){L(ab.options.center)}ab.options.map=N;ae=new z.classes.Circle(ab.options);aa.push(ae);af=V.add({todo:ab},"circle",ae);n(T,{todo:ab},ae,af)});O(Z,Y?aa:aa[0])};this.overlay=function(aa,Z){var ab=[],Y="values" in aa.todo;if(!Y){aa.todo.values=[{latLng:aa.latLng,options:aa.opts}]}if(!aa.todo.values.length){O(aa,false);return}if(!e.__initialised){e.prototype=new z.classes.OverlayView();e.__initialised=true}y.each(aa.todo.values,function(ae,af){var ah,ag,ac=b(aa,af),ad=y(document.createElement("div")).css({border:"none",borderWidth:"0px",position:"absolute"});ad.append(ac.options.content);ag=new e(N,ac.options,I(ac)||I(af),ad);ab.push(ag);ad=null;if(!Z){ah=V.add(aa,"overlay",ag);n(T,{todo:ac},ag,ah)}});if(Z){return ab[0]}O(aa,Y?ab:ab[0])};this.getaddress=function(Y){X(Y,Y.results,Y.status);P.ack()};this.getlatlng=function(Y){X(Y,Y.results,Y.status);P.ack()};this.getmaxzoom=function(Y){q().getMaxZoomAtLatLng(Y.latLng,function(Z){X(Y,Z.status===google.maps.MaxZoomStatus.OK?Z.zoom:false,status);P.ack()})};this.getelevation=function(Z){var aa,Y=[],ab=function(ad,ac){X(Z,ac===google.maps.ElevationStatus.OK?ad:false,ac);P.ack()};if(Z.latLng){Y.push(Z.latLng)}else{Y=g(Z.todo.locations||[]);for(aa=0;aa<Y.length;aa++){Y[aa]=I(Y[aa])}}if(Y.length){h().getElevationForLocations({locations:Y},ab)}else{if(Z.todo.path&&Z.todo.path.length){for(aa=0;aa<Z.todo.path.length;aa++){Y.push(I(Z.todo.path[aa]))}}if(Y.length){h().getElevationAlongPath({path:Y,samples:Z.todo.samples},ab)}else{P.ack()}}};this.defaults=function(Y){y.each(Y.todo,function(Z,aa){if(typeof z[Z]==="object"){z[Z]=y.extend({},z[Z],aa)}else{z[Z]=aa}});P.ack(true)};this.rectangle=function(Z){var aa=[],Y="values" in Z.todo;if(!Y){Z.todo.values=[{options:Z.opts}]}if(!Z.todo.values.length){O(Z,false);return}y.each(Z.todo.values,function(ac,ad){var af,ae,ab=b(Z,ad);ab.options.bounds=ab.options.bounds?j(ab.options.bounds):j(ad);if(!N){L(ab.options.bounds.getCenter())}ab.options.map=N;ae=new z.classes.Rectangle(ab.options);aa.push(ae);af=V.add({todo:ab},"rectangle",ae);n(T,{todo:ab},ae,af)});O(Z,Y?aa:aa[0])};function M(Z,aa,ab){var ac=[],Y="values" in Z.todo;if(!Y){Z.todo.values=[{options:Z.opts}]}if(!Z.todo.values.length){O(Z,false);return}L();y.each(Z.todo.values,function(af,ah){var aj,ag,ae,ai,ad=b(Z,ah);if(ad.options[ab]){if(ad.options[ab][0][0]&&y.isArray(ad.options[ab][0][0])){for(ag=0;ag<ad.options[ab].length;ag++){for(ae=0;ae<ad.options[ab][ag].length;ae++){ad.options[ab][ag][ae]=I(ad.options[ab][ag][ae])}}}else{for(ag=0;ag<ad.options[ab].length;ag++){ad.options[ab][ag]=I(ad.options[ab][ag])}}}ad.options.map=N;ai=new google.maps[aa](ad.options);ac.push(ai);aj=V.add({todo:ad},aa.toLowerCase(),ai);n(T,{todo:ad},ai,aj)});O(Z,Y?ac:ac[0])}this.polyline=function(Y){M(Y,"Polyline","path")};this.polygon=function(Y){M(Y,"Polygon","paths")};this.trafficlayer=function(Y){L();var Z=V.get("trafficlayer");if(!Z){Z=new z.classes.TrafficLayer();Z.setMap(N);V.add(Y,"trafficlayer",Z)}O(Y,Z)};this.bicyclinglayer=function(Y){L();var Z=V.get("bicyclinglayer");if(!Z){Z=new z.classes.BicyclingLayer();Z.setMap(N);V.add(Y,"bicyclinglayer",Z)}O(Y,Z)};this.groundoverlay=function(Y){Y.opts.bounds=j(Y.opts.bounds);if(Y.opts.bounds){L(Y.opts.bounds.getCenter())}var aa,Z=new z.classes.GroundOverlay(Y.opts.url,Y.opts.bounds,Y.opts.opts);Z.setMap(N);aa=V.add(Y,"groundoverlay",Z);O(Y,Z,aa)};this.streetviewpanorama=function(Y){if(!Y.opts.opts){Y.opts.opts={}}if(Y.latLng){Y.opts.opts.position=Y.latLng}else{if(Y.opts.opts.position){Y.opts.opts.position=I(Y.opts.opts.position)}}if(Y.todo.divId){Y.opts.container=document.getElementById(Y.todo.divId)}else{if(Y.opts.container){Y.opts.container=y(Y.opts.container).get(0)}}var aa,Z=new z.classes.StreetViewPanorama(Y.opts.container,Y.opts.opts);if(Z){N.setStreetView(Z)}aa=V.add(Y,"streetviewpanorama",Z);O(Y,Z,aa)};this.kmllayer=function(Z){var aa=[],Y="values" in Z.todo;if(!Y){Z.todo.values=[{options:Z.opts}]}if(!Z.todo.values.length){O(Z,false);return}y.each(Z.todo.values,function(ad,ae){var ag,af,ac,ab=b(Z,ae);if(!N){L()}ac=ab.options;if(ab.options.opts){ac=ab.options.opts;if(ab.options.url){ac.url=ab.options.url}}ac.map=N;if(d("3.10")){af=new z.classes.KmlLayer(ac)}else{af=new z.classes.KmlLayer(ac.url,ac)}aa.push(af);ag=V.add({todo:ab},"kmllayer",af);n(T,{todo:ab},af,ag)});O(Z,Y?aa:aa[0])};this.panel=function(ab){L();var ad,Y=0,ac=0,aa,Z=y(document.createElement("div"));Z.css({position:"absolute",zIndex:1000,visibility:"hidden"});if(ab.opts.content){aa=y(ab.opts.content);Z.append(aa);T.first().prepend(Z);if(ab.opts.left!==t){Y=ab.opts.left}else{if(ab.opts.right!==t){Y=T.width()-aa.width()-ab.opts.right}else{if(ab.opts.center){Y=(T.width()-aa.width())/2}}}if(ab.opts.top!==t){ac=ab.opts.top}else{if(ab.opts.bottom!==t){ac=T.height()-aa.height()-ab.opts.bottom}else{if(ab.opts.middle){ac=(T.height()-aa.height())/2}}}Z.css({top:ac,left:Y,visibility:"visible"})}ad=V.add(ab,"panel",Z);O(ab,Z,ad);Z=null};function W(aa){var af=new F(T,N,aa),Y={},ab={},ae=[],ad=/^[0-9]+$/,ac,Z;for(Z in aa){if(ad.test(Z)){ae.push(1*Z);ab[Z]=aa[Z];ab[Z].width=ab[Z].width||0;ab[Z].height=ab[Z].height||0}else{Y[Z]=aa[Z]}}ae.sort(function(ah,ag){return ah>ag});if(Y.calculator){ac=function(ag){var ah=[];y.each(ag,function(aj,ai){ah.push(af.value(ai))});return Y.calculator.apply(T,[ah])}}else{ac=function(ag){return ag.length}}af.error(function(){u.apply(S,arguments)});af.display(function(ag){var ai,aj,am,ak,al,ah=ac(ag.indexes);if(aa.force||ah>1){for(ai=0;ai<ae.length;ai++){if(ae[ai]<=ah){aj=ab[ae[ai]]}}}if(aj){al=aj.offset||[-aj.width/2,-aj.height/2];am=y.extend({},Y);am.options=y.extend({pane:"overlayLayer",content:aj.content?aj.content.replace("CLUSTER_COUNT",ah):"",offset:{x:("x" in al?al.x:al[0])||0,y:("y" in al?al.y:al[1])||0}},Y.options||{});ak=S.overlay({todo:am,opts:am.options,latLng:I(ag)},true);am.options.pane="floatShadow";am.options.content=y(document.createElement("div")).width(aj.width+"px").height(aj.height+"px").css({cursor:"pointer"});shadow=S.overlay({todo:am,opts:am.options,latLng:I(ag)},true);Y.data={latLng:I(ag),markers:[]};y.each(ag.indexes,function(ao,an){Y.data.markers.push(af.value(an));if(af.markerIsSet(an)){af.marker(an).setMap(null)}});n(T,{todo:Y},shadow,t,{main:ak,shadow:shadow});af.store(ag,ak,shadow)}else{y.each(ag.indexes,function(ao,an){af.marker(an).setMap(N)})}});return af}this.marker=function(aa){var Y="values" in aa.todo,ad=!N;if(!Y){aa.opts.position=aa.latLng||I(aa.opts.position);aa.todo.values=[{options:aa.opts}]}if(!aa.todo.values.length){O(aa,false);return}if(ad){L()}if(aa.todo.cluster&&!N.getBounds()){google.maps.event.addListenerOnce(N,"bounds_changed",function(){S.marker.apply(S,[aa])});return}if(aa.todo.cluster){var Z,ab;if(aa.todo.cluster instanceof a){Z=aa.todo.cluster;ab=V.getById(Z.id(),true)}else{ab=W(aa.todo.cluster);Z=new a(k(aa.todo.id,true),ab);V.add(aa,"clusterer",Z,ab)}ab.beginUpdate();y.each(aa.todo.values,function(af,ag){var ae=b(aa,ag);ae.options.position=ae.options.position?I(ae.options.position):I(ag);ae.options.map=N;if(ad){N.setCenter(ae.options.position);ad=false}ab.add(ae,ag)});ab.endUpdate();O(aa,Z)}else{var ac=[];y.each(aa.todo.values,function(af,ag){var ai,ah,ae=b(aa,ag);ae.options.position=ae.options.position?I(ae.options.position):I(ag);ae.options.map=N;if(ad){N.setCenter(ae.options.position);ad=false}ah=new z.classes.Marker(ae.options);ac.push(ah);ai=V.add({todo:ae},"marker",ah);n(T,{todo:ae},ah,ai)});O(aa,Y?ac:ac[0])}};this.getroute=function(Y){Y.opts.origin=I(Y.opts.origin,true);Y.opts.destination=I(Y.opts.destination,true);G().route(Y.opts,function(aa,Z){X(Y,Z==google.maps.DirectionsStatus.OK?aa:false,Z);P.ack()})};this.directionsrenderer=function(Y){Y.opts.map=N;var aa,Z=new google.maps.DirectionsRenderer(Y.opts);if(Y.todo.divId){Z.setPanel(document.getElementById(Y.todo.divId))}else{if(Y.todo.container){Z.setPanel(y(Y.todo.container).get(0))}}aa=V.add(Y,"directionsrenderer",Z);O(Y,Z,aa)};this.getgeoloc=function(Y){O(Y,Y.latLng)};this.styledmaptype=function(Y){L();var Z=new z.classes.StyledMapType(Y.todo.styles,Y.opts);N.mapTypes.set(Y.todo.id,Z);O(Y,Z)};this.imagemaptype=function(Y){L();var Z=new z.classes.ImageMapType(Y.opts);N.mapTypes.set(Y.todo.id,Z);O(Y,Z)};this.autofit=function(Y){var Z=new google.maps.LatLngBounds();y.each(V.all(),function(aa,ab){if(ab.getPosition){Z.extend(ab.getPosition())}else{if(ab.getBounds){Z.extend(ab.getBounds().getNorthEast());Z.extend(ab.getBounds().getSouthWest())}else{if(ab.getPaths){ab.getPaths().forEach(function(ac){ac.forEach(function(ad){Z.extend(ad)})})}else{if(ab.getPath){ab.getPath().forEach(function(ac){Z.extend(ac);""})}else{if(ab.getCenter){Z.extend(ab.getCenter())}else{if(ab instanceof a){ab=V.getById(ab.id(),true);if(ab){ab.autofit(Z)}}}}}}}});if(!Z.isEmpty()&&(!N.getBounds()||!N.getBounds().equals(Z))){if("maxZoom" in Y.todo){google.maps.event.addListenerOnce(N,"bounds_changed",function(){if(this.getZoom()>Y.todo.maxZoom){this.setZoom(Y.todo.maxZoom)}})}N.fitBounds(Z)}O(Y,true)};this.clear=function(Y){if(typeof Y.todo==="string"){if(V.clearById(Y.todo)||V.objClearById(Y.todo)){O(Y,true);return}Y.todo={name:Y.todo}}if(Y.todo.id){y.each(g(Y.todo.id),function(Z,aa){V.clearById(aa)||V.objClearById(aa)})}else{V.clear(g(Y.todo.name),Y.todo.last,Y.todo.first,Y.todo.tag);V.objClear(g(Y.todo.name),Y.todo.last,Y.todo.first,Y.todo.tag)}O(Y,true)};this.exec=function(Y){var Z=this;y.each(g(Y.todo.func),function(aa,ab){y.each(Z.get(Y.todo,true,Y.todo.hasOwnProperty("full")?Y.todo.full:true),function(ac,ad){ab.call(T,ad)})});O(Y,true)};this.get=function(aa,ad,ac){var Z,ab,Y=ad?aa:aa.todo;if(!ad){ac=Y.full}if(typeof Y==="string"){ab=V.getById(Y,false,ac)||V.objGetById(Y);if(ab===false){Z=Y;Y={}}}else{Z=Y.name}if(Z==="map"){ab=N}if(!ab){ab=[];if(Y.id){y.each(g(Y.id),function(ae,af){ab.push(V.getById(af,false,ac)||V.objGetById(af))});if(!y.isArray(Y.id)){ab=ab[0]}}else{y.each(Z?g(Z):[t],function(af,ag){var ae;if(Y.first){ae=V.get(ag,false,Y.tag,ac);if(ae){ab.push(ae)}}else{if(Y.all){y.each(V.all(ag,Y.tag,ac),function(ai,ah){ab.push(ah)})}else{ae=V.get(ag,true,Y.tag,ac);if(ae){ab.push(ae)}}}});if(!Y.all&&!y.isArray(Z)){ab=ab[0]}}}ab=y.isArray(ab)||!Y.all?ab:[ab];if(ad){return ab}else{O(aa,ab)}};this.getdistance=function(Y){var Z;Y.opts.origins=g(Y.opts.origins);for(Z=0;Z<Y.opts.origins.length;Z++){Y.opts.origins[Z]=I(Y.opts.origins[Z],true)}Y.opts.destinations=g(Y.opts.destinations);for(Z=0;Z<Y.opts.destinations.length;Z++){Y.opts.destinations[Z]=I(Y.opts.destinations[Z],true)}B().getDistanceMatrix(Y.opts,function(ab,aa){X(Y,aa===google.maps.DistanceMatrixStatus.OK?ab:false,aa);P.ack()})};this.trigger=function(Z){if(typeof Z.todo==="string"){google.maps.event.trigger(N,Z.todo)}else{var Y=[N,Z.todo.eventName];if(Z.todo.var_args){y.each(Z.todo.var_args,function(ab,aa){Y.push(aa)})}google.maps.event.trigger.apply(google.maps.event,Y)}X(Z);P.ack()}}function s(M){var L;if(!typeof M==="object"||!M.hasOwnProperty("get")){return false}for(L in M){if(L!=="get"){return false}}return !M.get.hasOwnProperty("callback")}y.fn.gmap3=function(){var M,O=[],N=true,L=[];J();for(M=0;M<arguments.length;M++){if(arguments[M]){O.push(arguments[M])}}if(!O.length){O.push("map")}y.each(this,function(){var P=y(this),Q=P.data("gmap3");N=false;if(!Q){Q=new K(P);P.data("gmap3",Q)}if(O.length===1&&(O[0]==="get"||s(O[0]))){if(O[0]==="get"){L.push(Q.get("map",true))}else{L.push(Q.get(O[0].get,true,O[0].get.full))}}else{Q._plan(O)}});if(L.length){if(L.length===1){return L[0]}else{return L}}return this}})(jQuery);
| + | |
− | /*! 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="<div class='a'></div><div class='a i'></div>",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="<select t=''><option selected=''></option></select>",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;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=jb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=kb(b);function nb(){}nb.prototype=d.filters=d.pseudos,d.setFilters=new nb;function ob(a,b){var c,e,f,g,h,i,j,k=x[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=Q.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?db.error(a):x(a,i).slice(0)}function pb(a){for(var b=0,c=a.length,d="";c>b;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 href='#'></a>","#"===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="<input/>",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.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=n._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var T=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,U=["Top","Right","Bottom","Left"],V=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)},W=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;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=" <link/><table></table><a href='/a'>a</a>",l.leadingWhitespace=3===b.firstChild.nodeType,l.tbody=!b.getElementsByTagName("tbody").length,l.htmlSerialize=!!b.getElementsByTagName("link").length,l.html5Clone="<:nav></:nav>"!==z.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,a.appendChild(c),l.appendChecked=c.checked,b.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,a.appendChild(b),b.innerHTML="<input type='radio' checked='checked' name='t'/>",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<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[n.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=$.test(e)?this.mouseHooks:Z.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new n.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=f.srcElement||z),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button,g=b.fromElement;return null==a.pageX&&null!=b.clientX&&(d=a.target.ownerDocument||z,e=d.documentElement,c=d.body,a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTarget=g===a.target?b.toElement:g),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==db()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===db()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return n.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=n.extend(new n.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=z.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]===L&&(a[d]=null),a.detachEvent(d,c))},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&(a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault())?bb:cb):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={isDefaultPrevented:cb,isPropagationStopped:cb,isImmediatePropagationStopped:cb,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=bb,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=bb,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=bb,this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!n.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),l.submitBubbles||(n.event.special.submit={setup:function(){return n.nodeName(this,"form")?!1:void n.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=n.nodeName(b,"input")||n.nodeName(b,"button")?b.form:void 0;c&&!n._data(c,"submitBubbles")&&(n.event.add(c,"submit._submit",function(a){a._submit_bubble=!0}),n._data(c,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&n.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return n.nodeName(this,"form")?!1:void n.event.remove(this,"._submit")}}),l.changeBubbles||(n.event.special.change={setup:function(){return Y.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(n.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),n.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),n.event.simulate("change",this,a,!0)})),!1):void n.event.add(this,"beforeactivate._change",function(a){var b=a.target;Y.test(b.nodeName)&&!n._data(b,"changeBubbles")&&(n.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||n.event.simulate("change",this.parentNode,a,!0)}),n._data(b,"changeBubbles",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return n.event.remove(this,"._change"),!Y.test(this.nodeName)}}),l.focusinBubbles||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=n._data(d,b);e||d.addEventListener(a,c,!0),n._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=n._data(d,b)-1;e?n._data(d,b,e):(d.removeEventListener(a,c,!0),n._removeData(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(f in a)this.on(f,b,c,a[f],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=cb;else if(!d)return this;return 1===e&&(g=d,d=function(a){return n().off(a),g.apply(this,arguments)},d.guid=g.guid||(g.guid=n.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=cb),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});function eb(a){var b=fb.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var fb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gb=/ jQuery\d+="(?:null|\d+)"/g,hb=new RegExp("<(?:"+fb+")[\\s/>]","i"),ib=/^\s+/,jb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,kb=/<([\w:]+)/,lb=/<tbody/i,mb=/<|&#?\w+;/,nb=/<(?:script|style|link)/i,ob=/checked\s*(?:[^=]|=\s*.checked.)/i,pb=/^$|\/(?:java|ecma)script/i,qb=/^true\/(.*)/,rb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,sb={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:l.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},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></$2>")+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)?"<table>"!==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></$2>");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("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Db[0].contentWindow||Db[0].contentDocument).document,b.write(),b.close(),c=Fb(a,b),Db.detach()),Eb[a]=c),c}!function(){var a,b,c=z.createElement("div"),d="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=c.getElementsByTagName("a")[0],a.style.cssText="float:left;opacity:.5",l.opacity=/^0.5/.test(a.style.opacity),l.cssFloat=!!a.style.cssFloat,c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===c.style.backgroundClip,a=c=null,l.shrinkWrapBlocks=function(){var a,c,e,f;if(null==b){if(a=z.getElementsByTagName("body")[0],!a)return;f="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",c=z.createElement("div"),e=z.createElement("div"),a.appendChild(c).appendChild(e),b=!1,typeof e.style.zoom!==L&&(e.style.cssText=d+";width:1px;padding:1px;zoom:1",e.innerHTML="<div></div>",e.firstChild.style.width="5px",b=3!==e.offsetWidth),a.removeChild(c),a=c=e=null}return b}}();var Hb=/^margin/,Ib=new RegExp("^("+T+")(?!px)[a-z%]+$","i"),Jb,Kb,Lb=/^(top|right|bottom|left)$/;a.getComputedStyle?(Jb=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},Kb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Jb(a),g=c?c.getPropertyValue(b)||c[b]:void 0,c&&(""!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),Ib.test(g)&&Hb.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0===g?g:g+""}):z.documentElement.currentStyle&&(Jb=function(a){return a.currentStyle},Kb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Jb(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Ib.test(g)&&!Lb.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Mb(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h=z.createElement("div"),i="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",j="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";h.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",b=h.getElementsByTagName("a")[0],b.style.cssText="float:left;opacity:.5",l.opacity=/^0.5/.test(b.style.opacity),l.cssFloat=!!b.style.cssFloat,h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===h.style.backgroundClip,b=h=null,n.extend(l,{reliableHiddenOffsets:function(){if(null!=c)return c;var a,b,d,e=z.createElement("div"),f=z.getElementsByTagName("body")[0];if(f)return e.setAttribute("className","t"),e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=z.createElement("div"),a.style.cssText=i,f.appendChild(a).appendChild(e),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",b=e.getElementsByTagName("td"),b[0].style.cssText="padding:0;margin:0;border:0;display:none",d=0===b[0].offsetHeight,b[0].style.display="",b[1].style.display="none",c=d&&0===b[0].offsetHeight,f.removeChild(a),e=f=null,c},boxSizing:function(){return null==d&&k(),d},boxSizingReliable:function(){return null==e&&k(),e},pixelPosition:function(){return null==f&&k(),f},reliableMarginRight:function(){var b,c,d,e;if(null==g&&a.getComputedStyle){if(b=z.getElementsByTagName("body")[0],!b)return;c=z.createElement("div"),d=z.createElement("div"),c.style.cssText=i,b.appendChild(c).appendChild(d),e=d.appendChild(z.createElement("div")),e.style.cssText=d.style.cssText=j,e.style.marginRight=e.style.width="0",d.style.width="1px",g=!parseFloat((a.getComputedStyle(e,null)||{}).marginRight),b.removeChild(c)}return g}});function k(){var b,c,h=z.getElementsByTagName("body")[0];h&&(b=z.createElement("div"),c=z.createElement("div"),b.style.cssText=i,h.appendChild(b).appendChild(c),c.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%",n.swap(h,null!=h.style.zoom?{zoom:1}:{},function(){d=4===c.offsetWidth}),e=!0,f=!1,g=!0,a.getComputedStyle&&(f="1%"!==(a.getComputedStyle(c,null)||{}).top,e="4px"===(a.getComputedStyle(c,null)||{width:"4px"}).width),h.removeChild(b),c=h=null)}}(),n.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var Nb=/alpha\([^)]*\)/i,Ob=/opacity\s*=\s*([^)]*)/,Pb=/^(none|table(?!-c[ea]).+)/,Qb=new RegExp("^("+T+")(.*)$","i"),Rb=new RegExp("^([+-])=("+T+")","i"),Sb={position:"absolute",visibility:"hidden",display:"block"},Tb={letterSpacing:0,fontWeight:400},Ub=["Webkit","O","Moz","ms"];function Vb(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=Ub.length;while(e--)if(b=Ub[e]+c,b in a)return b;return d}function Wb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=n._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&V(d)&&(f[g]=n._data(d,"olddisplay",Gb(d.nodeName)))):f[g]||(e=V(d),(c&&"none"!==c||!e)&&n._data(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function Xb(a,b,c){var d=Qb.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Yb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+U[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+U[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+U[f]+"Width",!0,e))):(g+=n.css(a,"padding"+U[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+U[f]+"Width",!0,e)));return g}function Zb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Jb(a),g=l.boxSizing()&&"border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Kb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Ib.test(e))return e;d=g&&(l.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Yb(a,b,c||(g?"border":"content"),d,f)+"px"}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Kb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":l.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;if(b=n.cssProps[h]||(n.cssProps[h]=Vb(i,h)),g=n.cssHooks[b]||n.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=Rb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(n.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||n.cssNumber[h]||(c+="px"),l.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]="",i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Vb(a.style,h)),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Kb(a,b,d)),"normal"===f&&b in Tb&&(f=Tb[b]),""===c||c?(e=parseFloat(f),c===!0||n.isNumeric(e)?e||0:f):f}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?0===a.offsetWidth&&Pb.test(n.css(a,"display"))?n.swap(a,Sb,function(){return Zb(a,b,d)}):Zb(a,b,d):void 0},set:function(a,c,d){var e=d&&Jb(a);return Xb(a,c,d?Yb(a,b,d,l.boxSizing()&&"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),l.opacity||(n.cssHooks.opacity={get:function(a,b){return Ob.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=n.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===n.trim(f.replace(Nb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Nb.test(f)?f.replace(Nb,e):f+" "+e)}}),n.cssHooks.marginRight=Mb(l.reliableMarginRight,function(a,b){return b?n.swap(a,{display:"inline-block"},Kb,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+U[d]+b]=f[d]||f[d-2]||f[0];return e}},Hb.test(a)||(n.cssHooks[a+b].set=Xb)}),n.fn.extend({css:function(a,b){return W(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Jb(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)
| + | |
− | },a,b,arguments.length>1)},show:function(){return Wb(this,!0)},hide:function(){return Wb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){V(this)?n(this).show():n(this).hide()})}});function $b(a,b,c,d,e){return new $b.prototype.init(a,b,c,d,e)}n.Tween=$b,$b.prototype={constructor:$b,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=$b.propHooks[this.prop];return a&&a.get?a.get(this):$b.propHooks._default.get(this)},run:function(a){var b,c=$b.propHooks[this.prop];return this.pos=b=this.options.duration?n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):$b.propHooks._default.set(this),this}},$b.prototype.init.prototype=$b.prototype,$b.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[n.cssProps[a.prop]]||n.cssHooks[a.prop])?n.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},$b.propHooks.scrollTop=$b.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},n.fx=$b.prototype.init,n.fx.step={};var _b,ac,bc=/^(?:toggle|show|hide)$/,cc=new RegExp("^(?:([+-])=|)("+T+")([a-z%]*)$","i"),dc=/queueHooks$/,ec=[jc],fc={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=cc.exec(b),f=e&&e[3]||(n.cssNumber[a]?"":"px"),g=(n.cssNumber[a]||"px"!==f&&+d)&&cc.exec(n.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,n.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function gc(){return setTimeout(function(){_b=void 0}),_b=n.now()}function hc(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=U[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function ic(a,b,c){for(var d,e=(fc[b]||[]).concat(fc["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function jc(a,b,c){var d,e,f,g,h,i,j,k,m=this,o={},p=a.style,q=a.nodeType&&V(a),r=n._data(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,m.always(function(){m.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=n.css(a,"display"),k=Gb(a.nodeName),"none"===j&&(j=k),"inline"===j&&"none"===n.css(a,"float")&&(l.inlineBlockNeedsLayout&&"inline"!==k?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",l.shrinkWrapBlocks()||m.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],bc.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||n.style(a,d)}if(!n.isEmptyObject(o)){r?"hidden"in r&&(q=r.hidden):r=n._data(a,"fxshow",{}),f&&(r.hidden=!q),q?n(a).show():m.done(function(){n(a).hide()}),m.done(function(){var b;n._removeData(a,"fxshow");for(b in o)n.style(a,b,o[b])});for(d in o)g=ic(q?r[d]:0,d,m),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function kc(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function lc(a,b,c){var d,e,f=0,g=ec.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=_b||gc(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:_b||gc(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(kc(k,j.opts.specialEasing);g>f;f++)if(d=ec[f].call(j,a,k,j.opts))return d;return n.map(k,ic,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(lc,{tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],fc[c]=fc[c]||[],fc[c].unshift(b)},prefilter:function(a,b){b?ec.unshift(a):ec.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(V).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=lc(this,n.extend({},a),f);(e||n._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=n._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&dc.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=n._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(hc(b,!0),a,d,e)}}),n.each({slideDown:hc("show"),slideUp:hc("hide"),slideToggle:hc("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=n.timers,c=0;for(_b=n.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||n.fx.stop(),_b=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){ac||(ac=setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){clearInterval(ac),ac=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(a,b){return a=n.fx?n.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a,b,c,d,e=z.createElement("div");e.setAttribute("className","t"),e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=e.getElementsByTagName("a")[0],c=z.createElement("select"),d=c.appendChild(z.createElement("option")),b=e.getElementsByTagName("input")[0],a.style.cssText="top:1px",l.getSetAttribute="t"!==e.className,l.style=/top/.test(a.getAttribute("style")),l.hrefNormalized="/a"===a.getAttribute("href"),l.checkOn=!!b.value,l.optSelected=d.selected,l.enctype=!!z.createElement("form").enctype,c.disabled=!0,l.optDisabled=!d.disabled,b=z.createElement("input"),b.setAttribute("value",""),l.input=""===b.getAttribute("value"),b.value="t",b.setAttribute("type","radio"),l.radioValue="t"===b.value,a=b=c=d=e=null}();var mc=/\r/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(mc,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.text(a)}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(l.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)if(d=e[g],n.inArray(n.valHooks.option.get(d),f)>=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>=0:void 0}},l.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var nc,oc,pc=n.expr.attrHandle,qc=/^(?:checked|selected)$/i,rc=l.getSetAttribute,sc=l.input;n.fn.extend({attr:function(a,b){return W(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===L?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),d=n.attrHooks[b]||(n.expr.match.bool.test(b)?oc:nc)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void n.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(F);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)?sc&&rc||!qc.test(c)?a[d]=!1:a[n.camelCase("default-"+c)]=a[d]=!1:n.attr(a,c,""),a.removeAttribute(rc?c:d)},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),oc={set:function(a,b,c){return b===!1?n.removeAttr(a,c):sc&&rc||!qc.test(c)?a.setAttribute(!rc&&n.propFix[c]||c,c):a[n.camelCase("default-"+c)]=a[c]=!0,c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=pc[b]||n.find.attr;pc[b]=sc&&rc||!qc.test(b)?function(a,b,d){var e,f;return d||(f=pc[b],pc[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,pc[b]=f),e}:function(a,b,c){return c?void 0:a[n.camelCase("default-"+b)]?b.toLowerCase():null}}),sc&&rc||(n.attrHooks.value={set:function(a,b,c){return n.nodeName(a,"input")?void(a.defaultValue=b):nc&&nc.set(a,b,c)}}),rc||(nc={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},pc.id=pc.name=pc.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},n.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:nc.set},n.attrHooks.contenteditable={set:function(a,b,c){nc.set(a,""===b?!1:b,c)}},n.each(["width","height"],function(a,b){n.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),l.style||(n.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var tc=/^(?:input|select|textarea|button|object)$/i,uc=/^(?:a|area)$/i;n.fn.extend({prop:function(a,b){return W(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return a=n.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),n.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!n.isXMLDoc(a),f&&(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=n.find.attr(a,"tabindex");return b?parseInt(b,10):tc.test(a.nodeName)||uc.test(a.nodeName)&&a.href?0:-1}}}}),l.hrefNormalized||n.each(["href","src"],function(a,b){n.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),l.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this}),l.enctype||(n.propFix.enctype="encoding");var vc=/[\t\r\n\f]/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(F)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(vc," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=n.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j=0===arguments.length||"string"==typeof a&&a;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(F)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(vc," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?n.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=n(this),f=a.match(F)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===L||"boolean"===c)&&(this.className&&n._data(this,"__className__",this.className),this.className=this.className||a===!1?"":n._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(vc," ").indexOf(b)>=0)return!0;return!1}}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var wc=n.now(),xc=/\?/,yc=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;n.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=n.trim(b+"");return e&&!n.trim(e.replace(yc,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():n.error("Invalid JSON: "+b)},n.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+b),c};var zc,Ac,Bc=/#.*$/,Cc=/([?&])_=[^&]*/,Dc=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ec=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Fc=/^(?:GET|HEAD)$/,Gc=/^\/\//,Hc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ic={},Jc={},Kc="*/".concat("*");try{Ac=location.href}catch(Lc){Ac=z.createElement("a"),Ac.href="",Ac=Ac.href}zc=Hc.exec(Ac.toLowerCase())||[];function Mc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(F)||[];if(n.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Nc(a,b,c,d){var e={},f=a===Jc;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Oc(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&n.extend(!0,a,c),a}function Pc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Qc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ac,type:"GET",isLocal:Ec.test(zc[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Oc(Oc(a,n.ajaxSettings),b):Oc(n.ajaxSettings,a)},ajaxPrefilter:Mc(Ic),ajaxTransport:Mc(Jc),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=n.ajaxSetup({},b),l=k.context||k,m=k.context&&(l.nodeType||l.jquery)?n(l):n.event,o=n.Deferred(),p=n.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!j){j={};while(b=Dc.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return i&&i.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||Ac)+"").replace(Bc,"").replace(Gc,zc[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=n.trim(k.dataType||"*").toLowerCase().match(F)||[""],null==k.crossDomain&&(c=Hc.exec(k.url.toLowerCase()),k.crossDomain=!(!c||c[1]===zc[1]&&c[2]===zc[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(zc[3]||("http:"===zc[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=n.param(k.data,k.traditional)),Nc(Ic,k,b,v),2===t)return v;h=k.global,h&&0===n.active++&&n.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Fc.test(k.type),e=k.url,k.hasContent||(k.data&&(e=k.url+=(xc.test(e)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=Cc.test(e)?e.replace(Cc,"$1_="+wc++):e+(xc.test(e)?"&":"?")+"_="+wc++)),k.ifModified&&(n.lastModified[e]&&v.setRequestHeader("If-Modified-Since",n.lastModified[e]),n.etag[e]&&v.setRequestHeader("If-None-Match",n.etag[e])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+Kc+"; q=0.01":""):k.accepts["*"]);for(d in k.headers)v.setRequestHeader(d,k.headers[d]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(d in{success:1,error:1,complete:1})v[d](k[d]);if(i=Nc(Jc,k,b,v)){v.readyState=1,h&&m.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,c,d){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),i=void 0,f=d||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,c&&(u=Pc(k,v,c)),u=Qc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(n.lastModified[e]=w),w=v.getResponseHeader("etag"),w&&(n.etag[e]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,h&&m.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),h&&(m.trigger("ajaxComplete",[v,k]),--n.active||n.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){if(n.isFunction(a))return this.each(function(b){n(this).wrapAll(a.call(this,b))});if(this[0]){var b=n(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!l.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||n.css(a,"display"))},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var Rc=/%20/g,Sc=/\[\]$/,Tc=/\r?\n/g,Uc=/^(?:submit|button|image|reset|file)$/i,Vc=/^(?:input|select|textarea|keygen)/i;function Wc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||Sc.test(a)?d(a,e):Wc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Wc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Wc(c,a[c],b,e);return d.join("&").replace(Rc,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&Vc.test(this.nodeName)&&!Uc.test(a)&&(this.checked||!X.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(Tc,"\r\n")}}):{name:b.name,value:c.replace(Tc,"\r\n")}}).get()}}),n.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&$c()||_c()}:$c;var Xc=0,Yc={},Zc=n.ajaxSettings.xhr();a.ActiveXObject&&n(a).on("unload",function(){for(var a in Yc)Yc[a](void 0,!0)}),l.cors=!!Zc&&"withCredentials"in Zc,Zc=l.ajax=!!Zc,Zc&&n.ajaxTransport(function(a){if(!a.crossDomain||l.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Xc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete Yc[g],b=void 0,f.onreadystatechange=n.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Yc[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}});function $c(){try{return new a.XMLHttpRequest}catch(b){}}function _c(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=z.head||n("head")[0]||z.documentElement;return{send:function(d,e){b=z.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var ad=[],bd=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=ad.pop()||n.expando+"_"+wc++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(bd.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&bd.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(bd,"$1"+e):b.jsonp!==!1&&(b.url+=(xc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,ad.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||z;var d=v.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=n.buildFragment([a],b,e),e&&e.length&&n(e).remove(),n.merge([],d.childNodes))};var cd=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&cd)return cd.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=a.slice(h,a.length),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&n.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};var dd=a.document.documentElement;function ed(a){return n.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&n.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,n.contains(b,e)?(typeof e.getBoundingClientRect!==L&&(d=e.getBoundingClientRect()),c=ed(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===n.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(c=a.offset()),c.top+=n.css(a[0],"borderTopWidth",!0),c.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-n.css(d,"marginTop",!0),left:b.left-c.left-n.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||dd;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||dd})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);n.fn[a]=function(d){return W(this,function(a,d,e){var f=ed(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?n(f).scrollLeft():e,c?e:n(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=Mb(l.pixelPosition,function(a,c){return c?(c=Kb(a,b),Ib.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return W(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var fd=a.jQuery,gd=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=gd),b&&a.jQuery===n&&(a.jQuery=fd),n},typeof b===L&&(a.jQuery=a.$=n),n});/* Modernizr 2.6.1 (Custom Build) | MIT & BSD
| + | |
− | * Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
| + | |
− | */
| + | |
− | ;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a){var e=a[d];if(!G(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bind(d||b):f}return!1}function J(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return F(b,"string")||F(b,"undefined")?H(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),I(e,b,c))}function K(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)u[c[d]]=c[d]in k;return u.list&&(u.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:e=k.value!=l)),t[a[d]]=!!e;return t}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.6.1",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={svg:"http://www.w3.org/2000/svg"},s={},t={},u={},v=[],w=v.slice,x,y=function(a,c,d,e){var f,i,j,k=b.createElement("div"),l=b.body,m=l?l:b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),k.appendChild(j);return f=["­",'<style id="s',h,'">',a,"</style>"].join(""),k.id=h,(l?k:m).innerHTML+=f,m.appendChild(k),l||(m.style.background="",g.appendChild(m)),i=c(k,a),l?k.parentNode.removeChild(k):m.parentNode.removeChild(m),!!i},z=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return y("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},A=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=F(e[d],"function"),F(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),B={}.hasOwnProperty,C;!F(B,"undefined")&&!F(B.call,"undefined")?C=function(a,b){return B.call(a,b)}:C=function(a,b){return b in a&&F(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e}),s.flexbox=function(){return J("flexWrap")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!F(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){return!!a.WebGLRenderingContext},s.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:y(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},s.geolocation=function(){return"geolocation"in navigator},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!J("indexedDB",a)},s.hashchange=function(){return A("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},s.rgba=function(){return D("background-color:rgba(150,255,150,.5)"),G(j.backgroundColor,"rgba")},s.hsla=function(){return D("background-color:hsla(120,40%,100%,.5)"),G(j.backgroundColor,"rgba")||G(j.backgroundColor,"hsla")},s.multiplebgs=function(){return D("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return J("backgroundSize")},s.borderimage=function(){return J("borderImage")},s.borderradius=function(){return J("borderRadius")},s.boxshadow=function(){return J("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return E("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return J("animationName")},s.csscolumns=function(){return J("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return D((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),G(j.backgroundImage,"gradient")},s.cssreflections=function(){return J("boxReflect")},s.csstransforms=function(){return!!J("transform")},s.csstransforms3d=function(){var a=!!J("perspective");return a&&"webkitPerspective"in g.style&&y("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},s.csstransitions=function(){return J("transition")},s.fontface=function(){var a;return y('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},s.generatedcontent=function(){var a;return y(['#modernizr:after{content:"',l,'";visibility:hidden}'].join(""),function(b){a=b.offsetHeight>=1}),a},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},s.webworkers=function(){return!!a.Worker},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(m.call(b.createElementNS(r.svg,"animate")))},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var L in s)C(s,L)&&(x=L.toLowerCase(),e[x]=s[L](),v.push((e[x]?"":"no-")+x));return e.input||K(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)C(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},D(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=z,e.hasEvent=A,e.testProp=function(a){return H([a])},e.testAllProps=J,e.testStyles=y,e.prefixed=function(a,b,c){return b?J(a,b,c):J(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return o.call(a)=="[object Function]"}function e(a){return typeof a=="string"}function f(){}function g(a){return!a||a=="loaded"||a=="complete"||a=="uninitialized"}function h(){var a=p.shift();q=1,a?a.t?m(function(){(a.t=="c"?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){a!="img"&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l={},o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};y[c]===1&&(r=1,y[c]=[],l=b.createElement(a)),a=="object"?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),a!="img"&&(r||y[c]===2?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i(b=="c"?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),p.length==1&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&o.call(a.opera)=="[object Opera]",l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return o.call(a)=="[object Array]"},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,i){var j=b(a),l=j.autoCallback;j.url.split(".").pop().split("?").shift(),j.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]||h),j.instead?j.instead(a,e,f,g,i):(y[j.url]?j.noexec=!0:y[j.url]=1,f.load(j.url,j.forceCSS||!j.forceJS&&"css"==j.url.split(".").pop().split("?").shift()?"c":c,j.noexec,j.attrs,j.timeout),(d(e)||d(l))&&f.load(function(){k(),e&&e(j.origUrl,i,g),l&&l(j.origUrl,i,g),y[j.url]=2})))}function i(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var j,l,m=this.yepnope.loader;if(e(a))g(a,0,m,0);else if(w(a))for(j=0;j<a.length;j++)l=a[j],e(l)?g(l,0,m,0):w(l)?B(l):Object(l)===l&&i(l,m);else Object(a)===a&&i(a,m)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
| + | |
− | | + | |
− | /*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
| + | |
− | /*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
| + | |
− | window.matchMedia=window.matchMedia||(function(e,f){var c,a=e.documentElement,b=a.firstElementChild||a.firstChild,d=e.createElement("body"),g=e.createElement("div");g.id="mq-test-1";g.style.cssText="position:absolute;top:-100em";d.style.background="none";d.appendChild(g);return function(h){g.innerHTML='­<style media="'+h+'"> #mq-test-1 { width: 42px; }</style>';a.insertBefore(d,b);c=g.offsetWidth==42;a.removeChild(d);return{matches:c,media:h}}})(document);
| + | |
− | | + | |
− | /*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
| + | |
− | (function(e){e.respond={};respond.update=function(){};respond.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only all").matches;if(respond.mediaQueriesSupported){return}var w=e.document,s=w.documentElement,i=[],k=[],q=[],o={},h=30,f=w.getElementsByTagName("head")[0]||s,g=w.getElementsByTagName("base")[0],b=f.getElementsByTagName("link"),d=[],a=function(){var D=b,y=D.length,B=0,A,z,C,x;for(;B<y;B++){A=D[B],z=A.href,C=A.media,x=A.rel&&A.rel.toLowerCase()==="stylesheet";if(!!z&&x&&!o[z]){if(A.styleSheet&&A.styleSheet.rawCssText){m(A.styleSheet.rawCssText,z,C);o[z]=true}else{if((!/^([a-zA-Z:]*\/\/)/.test(z)&&!g)||z.replace(RegExp.$1,"").split("/")[0]===e.location.host){d.push({href:z,media:C})}}}}u()},u=function(){if(d.length){var x=d.shift();n(x.href,function(y){m(y,x.href,x.media);o[x.href]=true;u()})}},m=function(I,x,z){var G=I.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),J=G&&G.length||0,x=x.substring(0,x.lastIndexOf("/")),y=function(K){return K.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+x+"$2$3")},A=!J&&z,D=0,C,E,F,B,H;if(x.length){x+="/"}if(A){J=1}for(;D<J;D++){C=0;if(A){E=z;k.push(y(I))}else{E=G[D].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1;k.push(RegExp.$2&&y(RegExp.$2))}B=E.split(",");H=B.length;for(;C<H;C++){F=B[C];i.push({media:F.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:k.length-1,hasquery:F.indexOf("(")>-1,minw:F.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:F.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}}j()},l,r,v=function(){var z,A=w.createElement("div"),x=w.body,y=false;A.style.cssText="position:absolute;font-size:1em;width:1em";if(!x){x=y=w.createElement("body");x.style.background="none"}x.appendChild(A);s.insertBefore(x,s.firstChild);z=A.offsetWidth;if(y){s.removeChild(x)}else{x.removeChild(A)}z=p=parseFloat(z);return z},p,j=function(I){var x="clientWidth",B=s[x],H=w.compatMode==="CSS1Compat"&&B||w.body[x]||B,D={},G=b[b.length-1],z=(new Date()).getTime();if(I&&l&&z-l<h){clearTimeout(r);r=setTimeout(j,h);return}else{l=z}for(var E in i){var K=i[E],C=K.minw,J=K.maxw,A=C===null,L=J===null,y="em";if(!!C){C=parseFloat(C)*(C.indexOf(y)>-1?(p||v()):1)}if(!!J){J=parseFloat(J)*(J.indexOf(y)>-1?(p||v()):1)}if(!K.hasquery||(!A||!L)&&(A||H>=C)&&(L||H<=J)){if(!D[K.media]){D[K.media]=[]}D[K.media].push(k[K.rules])}}for(var E in q){if(q[E]&&q[E].parentNode===f){f.removeChild(q[E])}}for(var E in D){var M=w.createElement("style"),F=D[E].join("\n");M.type="text/css";M.media=E;f.insertBefore(M,G.nextSibling);if(M.styleSheet){M.styleSheet.cssText=F}else{M.appendChild(w.createTextNode(F))}q.push(M)}},n=function(x,z){var y=c();if(!y){return}y.open("GET",x,true);y.onreadystatechange=function(){if(y.readyState!=4||y.status!=200&&y.status!=304){return}z(y.responseText)};if(y.readyState==4){return}y.send(null)},c=(function(){var x=false;try{x=new XMLHttpRequest()}catch(y){x=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return x}})();a();respond.update=a;function t(){j(true)}if(e.addEventListener){e.addEventListener("resize",t,false)}else{if(e.attachEvent){e.attachEvent("onresize",t)}}})(this);
| + | |
− | | + | |
− | (jQuery);!function(e){"use strict";var t=function(){var t={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",menuArrowClass:"sf-arrows"},i=function(){var t=/iPhone|iPad|iPod/i.test(navigator.userAgent);return t&&e(window).load(function(){e("body").children().on("click",e.noop)}),t}(),n=function(){var e=document.documentElement.style;return"behavior"in e&&"fill"in e&&/iemobile/i.test(navigator.userAgent)}(),s=function(e,i){var n=t.menuClass;i.cssArrows&&(n+=" "+t.menuArrowClass),e.toggleClass(n)},o=function(i,n){return i.find("li."+n.pathClass).slice(0,n.pathLevels).addClass(n.hoverClass+" "+t.bcClass).filter(function(){return e(this).children(n.popUpSelector).hide().show().length}).removeClass(n.pathClass)},a=function(e){e.children("a").toggleClass(t.anchorClass)},r=function(e){var t=e.css("ms-touch-action");t="pan-y"===t?"auto":"pan-y",e.css("ms-touch-action",t)},l=function(t,s){var o="li:has("+s.popUpSelector+")";e.fn.hoverIntent&&!s.disableHI?t.hoverIntent(c,p,o):t.on("mouseenter.superfish",o,c).on("mouseleave.superfish",o,p);var a="MSPointerDown.superfish";i||(a+=" touchend.superfish"),n&&(a+=" mousedown.superfish"),t.on("focusin.superfish","li",c).on("focusout.superfish","li",p).on(a,"a",s,d)},d=function(t){var i=e(this),n=i.siblings(t.data.popUpSelector);n.length>0&&n.is(":hidden")&&(i.one("click.superfish",!1),"MSPointerDown"===t.type?i.trigger("focus"):e.proxy(c,i.parent("li"))())},c=function(){var t=e(this),i=f(t);clearTimeout(i.sfTimer),t.siblings().superfish("hide").end().superfish("show")},p=function(){var t=e(this),n=f(t);i?e.proxy(u,t,n)():(clearTimeout(n.sfTimer),n.sfTimer=setTimeout(e.proxy(u,t,n),n.delay))},u=function(t){t.retainPath=e.inArray(this[0],t.$path)>-1,this.superfish("hide"),this.parents("."+t.hoverClass).length||(t.onIdle.call(h(this)),t.$path.length&&e.proxy(c,t.$path)())},h=function(e){return e.closest("."+t.menuClass)},f=function(e){return h(e).data("sf-options")};return{hide:function(t){if(this.length){var i=this,n=f(i);if(!n)return this;var s=n.retainPath===!0?n.$path:"",o=i.find("li."+n.hoverClass).add(this).not(s).removeClass(n.hoverClass).children(n.popUpSelector),a=n.speedOut;t&&(o.show(),a=0),n.retainPath=!1,n.onBeforeHide.call(o),o.stop(!0,!0).animate(n.animationOut,a,function(){var t=e(this);n.onHide.call(t)})}return this},show:function(){var e=f(this);if(!e)return this;var t=this.addClass(e.hoverClass),i=t.children(e.popUpSelector);return e.onBeforeShow.call(i),i.stop(!0,!0).animate(e.animation,e.speed,function(){e.onShow.call(i)}),this},destroy:function(){return this.each(function(){var i,n=e(this),o=n.data("sf-options");return o?(i=n.find(o.popUpSelector).parent("li"),clearTimeout(o.sfTimer),s(n,o),a(i),r(n),n.off(".superfish").off(".hoverIntent"),i.children(o.popUpSelector).attr("style",function(e,t){return t.replace(/display[^;]+;?/g,"")}),o.$path.removeClass(o.hoverClass+" "+t.bcClass).addClass(o.pathClass),n.find("."+o.hoverClass).removeClass(o.hoverClass),o.onDestroy.call(n),n.removeData("sf-options"),void 0):!1})},init:function(i){return this.each(function(){var n=e(this);if(n.data("sf-options"))return!1;var d=e.extend({},e.fn.superfish.defaults,i),c=n.find(d.popUpSelector).parent("li");d.$path=o(n,d),n.data("sf-options",d),s(n,d),a(c),r(n),l(n,d),c.not("."+t.bcClass).superfish("hide",!0),d.onInit.call(this)})}}}();e.fn.superfish=function(i){return t[i]?t[i].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof i&&i?e.error("Method "+i+" does not exist on jQuery.fn.superfish"):t.init.apply(this,arguments)},e.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:e.noop,onBeforeShow:e.noop,onShow:e.noop,onBeforeHide:e.noop,onHide:e.noop,onIdle:e.noop,onDestroy:e.noop},e.fn.extend({hideSuperfishUl:t.hide,showSuperfishUl:t.show})}(jQuery);var Swiper=function(e,t){"use strict";function i(e,t){return document.querySelectorAll?(t||document).querySelectorAll(e):jQuery(e,t)}function n(e){return"[object Array]"===Object.prototype.toString.apply(e)?!0:!1}function s(){var e=A-D;return t.freeMode&&(e=A-D),t.slidesPerView>_.slides.length&&!t.centeredSlides&&(e=0),0>e&&(e=0),e}function o(){function e(e){var i=new Image;i.onload=function(){_&&void 0!==_.imagesLoaded&&_.imagesLoaded++,_.imagesLoaded===_.imagesToLoad.length&&(_.reInit(),t.onImagesReady&&_.fireCallback(t.onImagesReady,_))},i.src=e}var n=_.h.addEventListener,s="wrapper"===t.eventTarget?_.wrapper:_.container;if(_.browser.ie10||_.browser.ie11?(n(s,_.touchEvents.touchStart,g),n(document,_.touchEvents.touchMove,m),n(document,_.touchEvents.touchEnd,v)):(_.support.touch&&(n(s,"touchstart",g),n(s,"touchmove",m),n(s,"touchend",v)),t.simulateTouch&&(n(s,"mousedown",g),n(document,"mousemove",m),n(document,"mouseup",v))),t.autoResize&&n(window,"resize",_.resizeFix),a(),_._wheelEvent=!1,t.mousewheelControl){if(void 0!==document.onmousewheel&&(_._wheelEvent="mousewheel"),!_._wheelEvent)try{new WheelEvent("wheel"),_._wheelEvent="wheel"}catch(o){}_._wheelEvent||(_._wheelEvent="DOMMouseScroll"),_._wheelEvent&&n(_.container,_._wheelEvent,d)}if(t.keyboardControl&&n(document,"keydown",l),t.updateOnImagesReady){_.imagesToLoad=i("img",_.container);for(var r=0;r<_.imagesToLoad.length;r++)e(_.imagesToLoad[r].getAttribute("src"))}}function a(){var e,n=_.h.addEventListener;if(t.preventLinks){var s=i("a",_.container);for(e=0;e<s.length;e++)n(s[e],"click",h)}if(t.releaseFormElements){var o=i("input, textarea, select",_.container);for(e=0;e<o.length;e++)n(o[e],_.touchEvents.touchStart,f,!0)}if(t.onSlideClick)for(e=0;e<_.slides.length;e++)n(_.slides[e],"click",c);if(t.onSlideTouch)for(e=0;e<_.slides.length;e++)n(_.slides[e],_.touchEvents.touchStart,p)}function r(){var e,n=_.h.removeEventListener;if(t.onSlideClick)for(e=0;e<_.slides.length;e++)n(_.slides[e],"click",c);if(t.onSlideTouch)for(e=0;e<_.slides.length;e++)n(_.slides[e],_.touchEvents.touchStart,p);if(t.releaseFormElements){var s=i("input, textarea, select",_.container);for(e=0;e<s.length;e++)n(s[e],_.touchEvents.touchStart,f,!0)}if(t.preventLinks){var o=i("a",_.container);for(e=0;e<o.length;e++)n(o[e],"click",h)}}function l(e){var t=e.keyCode||e.charCode;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey)){if(37===t||39===t||38===t||40===t){for(var i=!1,n=_.h.getOffset(_.container),s=_.h.windowScroll().left,o=_.h.windowScroll().top,a=_.h.windowWidth(),r=_.h.windowHeight(),l=[[n.left,n.top],[n.left+_.width,n.top],[n.left,n.top+_.height],[n.left+_.width,n.top+_.height]],d=0;d<l.length;d++){var c=l[d];c[0]>=s&&c[0]<=s+a&&c[1]>=o&&c[1]<=o+r&&(i=!0)}if(!i)return}W?((37===t||39===t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),39===t&&_.swipeNext(),37===t&&_.swipePrev()):((38===t||40===t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),40===t&&_.swipeNext(),38===t&&_.swipePrev())}}function d(e){var i=_._wheelEvent,n=0;if(e.detail)n=-e.detail;else if("mousewheel"===i)if(t.mousewheelControlForceToAxis)if(W){if(!(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)))return;n=e.wheelDeltaX}else{if(!(Math.abs(e.wheelDeltaY)>Math.abs(e.wheelDeltaX)))return;n=e.wheelDeltaY}else n=e.wheelDelta;else if("DOMMouseScroll"===i)n=-e.detail;else if("wheel"===i)if(t.mousewheelControlForceToAxis)if(W){if(!(Math.abs(e.deltaX)>Math.abs(e.deltaY)))return;n=-e.deltaX}else{if(!(Math.abs(e.deltaY)>Math.abs(e.deltaX)))return;n=-e.deltaY}else n=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY;if(t.freeMode){var o=_.getWrapperTranslate()+n;if(o>0&&(o=0),o<-s()&&(o=-s()),_.setWrapperTransition(0),_.setWrapperTranslate(o),_.updateActiveSlide(o),0===o||o===-s())return}else(new Date).getTime()-Y>60&&(0>n?_.swipeNext():_.swipePrev()),Y=(new Date).getTime();return t.autoplay&&_.stopAutoplay(!0),e.preventDefault?e.preventDefault():e.returnValue=!1,!1}function c(e){_.allowSlideClick&&(u(e),_.fireCallback(t.onSlideClick,_,e))}function p(e){u(e),_.fireCallback(t.onSlideTouch,_,e)}function u(e){if(e.currentTarget)_.clickedSlide=e.currentTarget;else{var i=e.srcElement;do{if(i.className.indexOf(t.slideClass)>-1)break;i=i.parentNode}while(i);_.clickedSlide=i}_.clickedSlideIndex=_.slides.indexOf(_.clickedSlide),_.clickedSlideLoopIndex=_.clickedSlideIndex-(_.loopedSlides||0)}function h(e){return _.allowLinks?void 0:(e.preventDefault?e.preventDefault():e.returnValue=!1,t.preventLinksPropagation&&"stopPropagation"in e&&e.stopPropagation(),!1)}function f(e){return e.stopPropagation?e.stopPropagation():e.returnValue=!1,!1}function g(e){if(t.preventLinks&&(_.allowLinks=!0),_.isTouched||t.onlyExternal)return!1;if(t.noSwiping&&(e.target||e.srcElement)&&y(e.target||e.srcElement))return!1;if(Z=!1,_.isTouched=!0,K="touchstart"===e.type,!K||1===e.targetTouches.length){_.callPlugins("onTouchStartBegin"),K||_.isAndroid||(e.preventDefault?e.preventDefault():e.returnValue=!1);var i=K?e.targetTouches[0].pageX:e.pageX||e.clientX,n=K?e.targetTouches[0].pageY:e.pageY||e.clientY;_.touches.startX=_.touches.currentX=i,_.touches.startY=_.touches.currentY=n,_.touches.start=_.touches.current=W?i:n,_.setWrapperTransition(0),_.positions.start=_.positions.current=_.getWrapperTranslate(),_.setWrapperTranslate(_.positions.start),_.times.start=(new Date).getTime(),I=void 0,t.moveStartThreshold>0&&(q=!1),t.onTouchStart&&_.fireCallback(t.onTouchStart,_,e),_.callPlugins("onTouchStartEnd")}}function m(e){if(_.isTouched&&!t.onlyExternal&&(!K||"mousemove"!==e.type)){var i=K?e.targetTouches[0].pageX:e.pageX||e.clientX,n=K?e.targetTouches[0].pageY:e.pageY||e.clientY;if("undefined"==typeof I&&W&&(I=!!(I||Math.abs(n-_.touches.startY)>Math.abs(i-_.touches.startX))),"undefined"!=typeof I||W||(I=!!(I||Math.abs(n-_.touches.startY)<Math.abs(i-_.touches.startX))),I)return _.isTouched=!1,void 0;if(e.assignedToSwiper)return _.isTouched=!1,void 0;if(e.assignedToSwiper=!0,t.preventLinks&&(_.allowLinks=!1),t.onSlideClick&&(_.allowSlideClick=!1),t.autoplay&&_.stopAutoplay(!0),!K||1===e.touches.length){if(_.isMoved||(_.callPlugins("onTouchMoveStart"),t.loop&&(_.fixLoop(),_.positions.start=_.getWrapperTranslate()),t.onTouchMoveStart&&_.fireCallback(t.onTouchMoveStart,_)),_.isMoved=!0,e.preventDefault?e.preventDefault():e.returnValue=!1,_.touches.current=W?i:n,_.positions.current=(_.touches.current-_.touches.start)*t.touchRatio+_.positions.start,_.positions.current>0&&t.onResistanceBefore&&_.fireCallback(t.onResistanceBefore,_,_.positions.current),_.positions.current<-s()&&t.onResistanceAfter&&_.fireCallback(t.onResistanceAfter,_,Math.abs(_.positions.current+s())),t.resistance&&"100%"!==t.resistance){var o;if(_.positions.current>0&&(o=1-_.positions.current/D/2,_.positions.current=.5>o?D/2:_.positions.current*o),_.positions.current<-s()){var a=(_.touches.current-_.touches.start)*t.touchRatio+(s()+_.positions.start);o=(D+a)/D;var r=_.positions.current-a*(1-o)/2,l=-s()-D/2;_.positions.current=l>r||0>=o?l:r}}if(t.resistance&&"100%"===t.resistance&&(_.positions.current>0&&(!t.freeMode||t.freeModeFluid)&&(_.positions.current=0),_.positions.current<-s()&&(!t.freeMode||t.freeModeFluid)&&(_.positions.current=-s())),!t.followFinger)return;if(t.moveStartThreshold)if(Math.abs(_.touches.current-_.touches.start)>t.moveStartThreshold||q){if(!q)return q=!0,_.touches.start=_.touches.current,void 0;_.setWrapperTranslate(_.positions.current)}else _.positions.current=_.positions.start;else _.setWrapperTranslate(_.positions.current);return(t.freeMode||t.watchActiveIndex)&&_.updateActiveSlide(_.positions.current),t.grabCursor&&(_.container.style.cursor="move",_.container.style.cursor="grabbing",_.container.style.cursor="-moz-grabbin",_.container.style.cursor="-webkit-grabbing"),Q||(Q=_.touches.current),U||(U=(new Date).getTime()),_.velocity=(_.touches.current-Q)/((new Date).getTime()-U)/2,Math.abs(_.touches.current-Q)<2&&(_.velocity=0),Q=_.touches.current,U=(new Date).getTime(),_.callPlugins("onTouchMoveEnd"),t.onTouchMove&&_.fireCallback(t.onTouchMove,_,e),!1}}}function v(e){if(I&&_.swipeReset(),!t.onlyExternal&&_.isTouched){_.isTouched=!1,t.grabCursor&&(_.container.style.cursor="move",_.container.style.cursor="grab",_.container.style.cursor="-moz-grab",_.container.style.cursor="-webkit-grab"),_.positions.current||0===_.positions.current||(_.positions.current=_.positions.start),t.followFinger&&_.setWrapperTranslate(_.positions.current),_.times.end=(new Date).getTime(),_.touches.diff=_.touches.current-_.touches.start,_.touches.abs=Math.abs(_.touches.diff),_.positions.diff=_.positions.current-_.positions.start,_.positions.abs=Math.abs(_.positions.diff);var i=_.positions.diff,n=_.positions.abs,o=_.times.end-_.times.start;5>n&&300>o&&_.allowLinks===!1&&(t.freeMode||0===n||_.swipeReset(),t.preventLinks&&(_.allowLinks=!0),t.onSlideClick&&(_.allowSlideClick=!0)),setTimeout(function(){t.preventLinks&&(_.allowLinks=!0),t.onSlideClick&&(_.allowSlideClick=!0)},100);var a=s();if(!_.isMoved&&t.freeMode)return _.isMoved=!1,t.onTouchEnd&&_.fireCallback(t.onTouchEnd,_,e),_.callPlugins("onTouchEnd"),void 0;if(!_.isMoved||_.positions.current>0||_.positions.current<-a)return _.swipeReset(),t.onTouchEnd&&_.fireCallback(t.onTouchEnd,_,e),_.callPlugins("onTouchEnd"),void 0;if(_.isMoved=!1,t.freeMode){if(t.freeModeFluid){var r,l=1e3*t.momentumRatio,d=_.velocity*l,c=_.positions.current+d,p=!1,u=20*Math.abs(_.velocity)*t.momentumBounceRatio;-a>c&&(t.momentumBounce&&_.support.transitions?(-u>c+a&&(c=-a-u),r=-a,p=!0,Z=!0):c=-a),c>0&&(t.momentumBounce&&_.support.transitions?(c>u&&(c=u),r=0,p=!0,Z=!0):c=0),0!==_.velocity&&(l=Math.abs((c-_.positions.current)/_.velocity)),_.setWrapperTranslate(c),_.setWrapperTransition(l),t.momentumBounce&&p&&_.wrapperTransitionEnd(function(){Z&&(t.onMomentumBounce&&_.fireCallback(t.onMomentumBounce,_),_.callPlugins("onMomentumBounce"),_.setWrapperTranslate(r),_.setWrapperTransition(300))}),_.updateActiveSlide(c)}return(!t.freeModeFluid||o>=300)&&_.updateActiveSlide(_.positions.current),t.onTouchEnd&&_.fireCallback(t.onTouchEnd,_,e),_.callPlugins("onTouchEnd"),void 0}O=0>i?"toNext":"toPrev","toNext"===O&&300>=o&&(30>n||!t.shortSwipes?_.swipeReset():_.swipeNext(!0)),"toPrev"===O&&300>=o&&(30>n||!t.shortSwipes?_.swipeReset():_.swipePrev(!0));var h=0;if("auto"===t.slidesPerView){for(var f,g=Math.abs(_.getWrapperTranslate()),m=0,v=0;v<_.slides.length;v++)if(f=W?_.slides[v].getWidth(!0,t.roundLengths):_.slides[v].getHeight(!0,t.roundLengths),m+=f,m>g){h=f;break}h>D&&(h=D)}else h=P*t.slidesPerView;"toNext"===O&&o>300&&(n>=h*t.longSwipesRatio?_.swipeNext(!0):_.swipeReset()),"toPrev"===O&&o>300&&(n>=h*t.longSwipesRatio?_.swipePrev(!0):_.swipeReset()),t.onTouchEnd&&_.fireCallback(t.onTouchEnd,_,e),_.callPlugins("onTouchEnd")}}function y(e){var i=!1;do e.className.indexOf(t.noSwipingClass)>-1&&(i=!0),e=e.parentElement;while(!i&&e.parentElement&&-1===e.className.indexOf(t.wrapperClass));return!i&&e.className.indexOf(t.wrapperClass)>-1&&e.className.indexOf(t.noSwipingClass)>-1&&(i=!0),i}function w(e,t){var i,n=document.createElement("div");return n.innerHTML=t,i=n.firstChild,i.className+=" "+e,i.outerHTML}function x(e,i,n){function s(){var o=+new Date,p=o-a;r+=l*p/(1e3/60),c="toNext"===d?r>e:e>r,c?(_.setWrapperTranslate(Math.round(r)),_._DOMAnimating=!0,window.setTimeout(function(){s()},1e3/60)):(t.onSlideChangeEnd&&("to"===i?n.runCallbacks===!0&&_.fireCallback(t.onSlideChangeEnd,_):_.fireCallback(t.onSlideChangeEnd,_)),_.setWrapperTranslate(e),_._DOMAnimating=!1)}var o="to"===i&&n.speed>=0?n.speed:t.speed,a=+new Date;if(_.support.transitions||!t.DOMAnimation)_.setWrapperTranslate(e),_.setWrapperTransition(o);else{var r=_.getWrapperTranslate(),l=Math.ceil((e-r)/o*(1e3/60)),d=r>e?"toNext":"toPrev",c="toNext"===d?r>e:e>r;if(_._DOMAnimating)return;s()}_.updateActiveSlide(e),t.onSlideNext&&"next"===i&&_.fireCallback(t.onSlideNext,_,e),t.onSlidePrev&&"prev"===i&&_.fireCallback(t.onSlidePrev,_,e),t.onSlideReset&&"reset"===i&&_.fireCallback(t.onSlideReset,_,e),("next"===i||"prev"===i||"to"===i&&n.runCallbacks===!0)&&b(i)}function b(e){if(_.callPlugins("onSlideChangeStart"),t.onSlideChangeStart)if(t.queueStartCallbacks&&_.support.transitions){if(_._queueStartCallbacks)return;_._queueStartCallbacks=!0,_.fireCallback(t.onSlideChangeStart,_,e),_.wrapperTransitionEnd(function(){_._queueStartCallbacks=!1})}else _.fireCallback(t.onSlideChangeStart,_,e);if(t.onSlideChangeEnd)if(_.support.transitions)if(t.queueEndCallbacks){if(_._queueEndCallbacks)return;_._queueEndCallbacks=!0,_.wrapperTransitionEnd(function(i){_.fireCallback(t.onSlideChangeEnd,i,e)})}else _.wrapperTransitionEnd(function(i){_.fireCallback(t.onSlideChangeEnd,i,e)});else t.DOMAnimation||setTimeout(function(){_.fireCallback(t.onSlideChangeEnd,_,e)},10)}function S(){var e=_.paginationButtons;if(e)for(var t=0;t<e.length;t++)_.h.removeEventListener(e[t],"click",T)}function C(){var e=_.paginationButtons;if(e)for(var t=0;t<e.length;t++)_.h.addEventListener(e[t],"click",T)}function T(e){for(var t,i=e.target||e.srcElement,n=_.paginationButtons,s=0;s<n.length;s++)i===n[s]&&(t=s);_.swipeTo(t)}function k(){J=setTimeout(function(){t.loop?(_.fixLoop(),_.swipeNext(!0)):_.swipeNext(!0)||(t.autoplayStopOnLast?(clearTimeout(J),J=void 0):_.swipeTo(0)),_.wrapperTransitionEnd(function(){"undefined"!=typeof J&&k()})},t.autoplay)}function M(){_.calcSlides(),t.loader.slides.length>0&&0===_.slides.length&&_.loadSlides(),t.loop&&_.createLoop(),_.init(),o(),t.pagination&&_.createPagination(!0),t.loop||t.initialSlide>0?_.swipeTo(t.initialSlide,0,!1):_.updateActiveSlide(0),t.autoplay&&_.startAutoplay(),_.centerIndex=_.activeIndex,t.onSwiperCreated&&_.fireCallback(t.onSwiperCreated,_),_.callPlugins("onSwiperCreated")}if(document.body.__defineGetter__&&HTMLElement){var L=HTMLElement.prototype;L.__defineGetter__&&L.__defineGetter__("outerHTML",function(){return(new XMLSerializer).serializeToString(this)})}if(window.getComputedStyle||(window.getComputedStyle=function(e){return this.el=e,this.getPropertyValue=function(t){var i=/(\-([a-z]){1})/g;return"float"===t&&(t="styleFloat"),i.test(t)&&(t=t.replace(i,function(){return arguments[2].toUpperCase()})),e.currentStyle[t]?e.currentStyle[t]:null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){for(var i=t||0,n=this.length;n>i;i++)if(this[i]===e)return i;return-1}),(document.querySelectorAll||window.jQuery)&&"undefined"!=typeof e&&(e.nodeType||0!==i(e).length)){var _=this;_.touches={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,diff:0,abs:0},_.positions={start:0,abs:0,diff:0,current:0},_.times={start:0,end:0},_.id=(new Date).getTime(),_.container=e.nodeType?e:i(e)[0],_.isTouched=!1,_.isMoved=!1,_.activeIndex=0,_.centerIndex=0,_.activeLoaderIndex=0,_.activeLoopIndex=0,_.previousIndex=null,_.velocity=0,_.snapGrid=[],_.slidesGrid=[],_.imagesToLoad=[],_.imagesLoaded=0,_.wrapperLeft=0,_.wrapperRight=0,_.wrapperTop=0,_.wrapperBottom=0,_.isAndroid=navigator.userAgent.toLowerCase().indexOf("android")>=0;var E,P,A,O,I,D,z={eventTarget:"wrapper",mode:"horizontal",touchRatio:1,speed:300,freeMode:!1,freeModeFluid:!1,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,slidesPerView:1,slidesPerGroup:1,slidesPerViewFit:!0,simulateTouch:!0,followFinger:!0,shortSwipes:!0,longSwipesRatio:.5,moveStartThreshold:!1,onlyExternal:!1,createPagination:!0,pagination:!1,paginationElement:"span",paginationClickable:!1,paginationAsRange:!0,resistance:!0,scrollContainer:!1,preventLinks:!0,preventLinksPropagation:!1,noSwiping:!1,noSwipingClass:"swiper-no-swiping",initialSlide:0,keyboardControl:!1,mousewheelControl:!1,mousewheelControlForceToAxis:!1,useCSS3Transforms:!0,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,loop:!1,loopAdditionalSlides:0,roundLengths:!1,calculateHeight:!1,cssWidthAndHeight:!1,updateOnImagesReady:!0,releaseFormElements:!0,watchActiveIndex:!1,visibilityFullFit:!1,offsetPxBefore:0,offsetPxAfter:0,offsetSlidesBefore:0,offsetSlidesAfter:0,centeredSlides:!1,queueStartCallbacks:!1,queueEndCallbacks:!1,autoResize:!0,resizeReInit:!1,DOMAnimation:!0,loader:{slides:[],slidesHTMLType:"inner",surroundGroups:1,logic:"reload",loadAllSlides:!1},slideElement:"div",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",wrapperClass:"swiper-wrapper",paginationElementClass:"swiper-pagination-switch",paginationActiveClass:"swiper-active-switch",paginationVisibleClass:"swiper-visible-switch"};t=t||{};for(var H in z)if(H in t&&"object"==typeof t[H])for(var R in z[H])R in t[H]||(t[H][R]=z[H][R]);else H in t||(t[H]=z[H]);_.params=t,t.scrollContainer&&(t.freeMode=!0,t.freeModeFluid=!0),t.loop&&(t.resistance="100%");var W="horizontal"===t.mode,j=["mousedown","mousemove","mouseup"];_.browser.ie10&&(j=["MSPointerDown","MSPointerMove","MSPointerUp"]),_.browser.ie11&&(j=["pointerdown","pointermove","pointerup"]),_.touchEvents={touchStart:_.support.touch||!t.simulateTouch?"touchstart":j[0],touchMove:_.support.touch||!t.simulateTouch?"touchmove":j[1],touchEnd:_.support.touch||!t.simulateTouch?"touchend":j[2]};for(var B=_.container.childNodes.length-1;B>=0;B--)if(_.container.childNodes[B].className)for(var G=_.container.childNodes[B].className.split(/\s+/),F=0;F<G.length;F++)G[F]===t.wrapperClass&&(E=_.container.childNodes[B]);_.wrapper=E,_._extendSwiperSlide=function(e){return e.append=function(){return t.loop?e.insertAfter(_.slides.length-_.loopedSlides):(_.wrapper.appendChild(e),_.reInit()),e},e.prepend=function(){return t.loop?(_.wrapper.insertBefore(e,_.slides[_.loopedSlides]),_.removeLoopedSlides(),_.calcSlides(),_.createLoop()):_.wrapper.insertBefore(e,_.wrapper.firstChild),_.reInit(),e},e.insertAfter=function(i){if("undefined"==typeof i)return!1;var n;return t.loop?(n=_.slides[i+1+_.loopedSlides],n?_.wrapper.insertBefore(e,n):_.wrapper.appendChild(e),_.removeLoopedSlides(),_.calcSlides(),_.createLoop()):(n=_.slides[i+1],_.wrapper.insertBefore(e,n)),_.reInit(),e},e.clone=function(){return _._extendSwiperSlide(e.cloneNode(!0))},e.remove=function(){_.wrapper.removeChild(e),_.reInit()},e.html=function(t){return"undefined"==typeof t?e.innerHTML:(e.innerHTML=t,e)},e.index=function(){for(var t,i=_.slides.length-1;i>=0;i--)e===_.slides[i]&&(t=i);return t},e.isActive=function(){return e.index()===_.activeIndex?!0:!1},e.swiperSlideDataStorage||(e.swiperSlideDataStorage={}),e.getData=function(t){return e.swiperSlideDataStorage[t]},e.setData=function(t,i){return e.swiperSlideDataStorage[t]=i,e},e.data=function(t,i){return"undefined"==typeof i?e.getAttribute("data-"+t):(e.setAttribute("data-"+t,i),e)},e.getWidth=function(t,i){return _.h.getWidth(e,t,i)},e.getHeight=function(t,i){return _.h.getHeight(e,t,i)},e.getOffset=function(){return _.h.getOffset(e)},e},_.calcSlides=function(e){var i=_.slides?_.slides.length:!1;_.slides=[],_.displaySlides=[];for(var n=0;n<_.wrapper.childNodes.length;n++)if(_.wrapper.childNodes[n].className)for(var s=_.wrapper.childNodes[n].className,o=s.split(/\s+/),l=0;l<o.length;l++)o[l]===t.slideClass&&_.slides.push(_.wrapper.childNodes[n]);for(n=_.slides.length-1;n>=0;n--)_._extendSwiperSlide(_.slides[n]);i!==!1&&(i!==_.slides.length||e)&&(r(),a(),_.updateActiveSlide(),_.params.pagination&&_.createPagination(),_.callPlugins("numberOfSlidesChanged"))},_.createSlide=function(e,i,n){i=i||_.params.slideClass,n=n||t.slideElement;var s=document.createElement(n);return s.innerHTML=e||"",s.className=i,_._extendSwiperSlide(s)},_.appendSlide=function(e,t,i){return e?e.nodeType?_._extendSwiperSlide(e).append():_.createSlide(e,t,i).append():void 0},_.prependSlide=function(e,t,i){return e?e.nodeType?_._extendSwiperSlide(e).prepend():_.createSlide(e,t,i).prepend():void 0},_.insertSlideAfter=function(e,t,i,n){return"undefined"==typeof e?!1:t.nodeType?_._extendSwiperSlide(t).insertAfter(e):_.createSlide(t,i,n).insertAfter(e)},_.removeSlide=function(e){if(_.slides[e]){if(t.loop){if(!_.slides[e+_.loopedSlides])return!1;_.slides[e+_.loopedSlides].remove(),_.removeLoopedSlides(),_.calcSlides(),_.createLoop()}else _.slides[e].remove();return!0}return!1},_.removeLastSlide=function(){return _.slides.length>0?(t.loop?(_.slides[_.slides.length-1-_.loopedSlides].remove(),_.removeLoopedSlides(),_.calcSlides(),_.createLoop()):_.slides[_.slides.length-1].remove(),!0):!1},_.removeAllSlides=function(){for(var e=_.slides.length-1;e>=0;e--)_.slides[e].remove()},_.getSlide=function(e){return _.slides[e]},_.getLastSlide=function(){return _.slides[_.slides.length-1]},_.getFirstSlide=function(){return _.slides[0]},_.activeSlide=function(){return _.slides[_.activeIndex]},_.fireCallback=function(){var e=arguments[0];if("[object Array]"===Object.prototype.toString.call(e))for(var i=0;i<e.length;i++)"function"==typeof e[i]&&e[i](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);else"[object String]"===Object.prototype.toString.call(e)?t["on"+e]&&_.fireCallback(t["on"+e]):e(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},_.addCallback=function(e,t){var i,s=this;return s.params["on"+e]?n(this.params["on"+e])?this.params["on"+e].push(t):"function"==typeof this.params["on"+e]?(i=this.params["on"+e],this.params["on"+e]=[],this.params["on"+e].push(i),this.params["on"+e].push(t)):void 0:(this.params["on"+e]=[],this.params["on"+e].push(t))},_.removeCallbacks=function(e){_.params["on"+e]&&(_.params["on"+e]=null)};var N=[];for(var V in _.plugins)if(t[V]){var X=_.plugins[V](_,t[V]);X&&N.push(X)}_.callPlugins=function(e,t){t||(t={});for(var i=0;i<N.length;i++)e in N[i]&&N[i][e](t)},!_.browser.ie10&&!_.browser.ie11||t.onlyExternal||_.wrapper.classList.add("swiper-wp8-"+(W?"horizontal":"vertical")),t.freeMode&&(_.container.className+=" swiper-free-mode"),_.initialized=!1,_.init=function(e,i){var n=_.h.getWidth(_.container,!1,t.roundLengths),s=_.h.getHeight(_.container,!1,t.roundLengths);if(n!==_.width||s!==_.height||e){_.width=n,_.height=s;var o,a,r,l,d,c,p;D=W?n:s;var u=_.wrapper;if(e&&_.calcSlides(i),"auto"===t.slidesPerView){var h=0,f=0;t.slidesOffset>0&&(u.style.paddingLeft="",u.style.paddingRight="",u.style.paddingTop="",u.style.paddingBottom=""),u.style.width="",u.style.height="",t.offsetPxBefore>0&&(W?_.wrapperLeft=t.offsetPxBefore:_.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(W?_.wrapperRight=t.offsetPxAfter:_.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(W?(_.wrapperLeft=(D-this.slides[0].getWidth(!0,t.roundLengths))/2,_.wrapperRight=(D-_.slides[_.slides.length-1].getWidth(!0,t.roundLengths))/2):(_.wrapperTop=(D-_.slides[0].getHeight(!0,t.roundLengths))/2,_.wrapperBottom=(D-_.slides[_.slides.length-1].getHeight(!0,t.roundLengths))/2)),W?(_.wrapperLeft>=0&&(u.style.paddingLeft=_.wrapperLeft+"px"),_.wrapperRight>=0&&(u.style.paddingRight=_.wrapperRight+"px")):(_.wrapperTop>=0&&(u.style.paddingTop=_.wrapperTop+"px"),_.wrapperBottom>=0&&(u.style.paddingBottom=_.wrapperBottom+"px")),c=0;var g=0;for(_.snapGrid=[],_.slidesGrid=[],r=0,p=0;p<_.slides.length;p++){o=_.slides[p].getWidth(!0,t.roundLengths),a=_.slides[p].getHeight(!0,t.roundLengths),t.calculateHeight&&(r=Math.max(r,a));var m=W?o:a;if(t.centeredSlides){var v=p===_.slides.length-1?0:_.slides[p+1].getWidth(!0,t.roundLengths),y=p===_.slides.length-1?0:_.slides[p+1].getHeight(!0,t.roundLengths),w=W?v:y;if(m>D){if(t.slidesPerViewFit)_.snapGrid.push(c+_.wrapperLeft),_.snapGrid.push(c+m-D+_.wrapperLeft);else for(var x=0;x<=Math.floor(m/(D+_.wrapperLeft));x++)0===x?_.snapGrid.push(c+_.wrapperLeft):_.snapGrid.push(c+_.wrapperLeft+D*x);_.slidesGrid.push(c+_.wrapperLeft)}else _.snapGrid.push(g),_.slidesGrid.push(g);g+=m/2+w/2}else{if(m>D)if(t.slidesPerViewFit)_.snapGrid.push(c),_.snapGrid.push(c+m-D);else if(0!==D)for(var b=0;b<=Math.floor(m/D);b++)_.snapGrid.push(c+D*b);else _.snapGrid.push(c);else _.snapGrid.push(c);_.slidesGrid.push(c)}c+=m,h+=o,f+=a}t.calculateHeight&&(_.height=r),W?(A=h+_.wrapperRight+_.wrapperLeft,u.style.width=h+"px",u.style.height=_.height+"px"):(A=f+_.wrapperTop+_.wrapperBottom,u.style.width=_.width+"px",u.style.height=f+"px")}else if(t.scrollContainer)u.style.width="",u.style.height="",l=_.slides[0].getWidth(!0,t.roundLengths),d=_.slides[0].getHeight(!0,t.roundLengths),A=W?l:d,u.style.width=l+"px",u.style.height=d+"px",P=W?l:d;else{if(t.calculateHeight){for(r=0,d=0,W||(_.container.style.height=""),u.style.height="",p=0;p<_.slides.length;p++)_.slides[p].style.height="",r=Math.max(_.slides[p].getHeight(!0),r),W||(d+=_.slides[p].getHeight(!0));a=r,_.height=a,W?d=a:(D=a,_.container.style.height=D+"px")}else a=W?_.height:_.height/t.slidesPerView,t.roundLengths&&(a=Math.round(a)),d=W?_.height:_.slides.length*a;for(o=W?_.width/t.slidesPerView:_.width,t.roundLengths&&(o=Math.round(o)),l=W?_.slides.length*o:_.width,P=W?o:a,t.offsetSlidesBefore>0&&(W?_.wrapperLeft=P*t.offsetSlidesBefore:_.wrapperTop=P*t.offsetSlidesBefore),t.offsetSlidesAfter>0&&(W?_.wrapperRight=P*t.offsetSlidesAfter:_.wrapperBottom=P*t.offsetSlidesAfter),t.offsetPxBefore>0&&(W?_.wrapperLeft=t.offsetPxBefore:_.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(W?_.wrapperRight=t.offsetPxAfter:_.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(W?(_.wrapperLeft=(D-P)/2,_.wrapperRight=(D-P)/2):(_.wrapperTop=(D-P)/2,_.wrapperBottom=(D-P)/2)),W?(_.wrapperLeft>0&&(u.style.paddingLeft=_.wrapperLeft+"px"),_.wrapperRight>0&&(u.style.paddingRight=_.wrapperRight+"px")):(_.wrapperTop>0&&(u.style.paddingTop=_.wrapperTop+"px"),_.wrapperBottom>0&&(u.style.paddingBottom=_.wrapperBottom+"px")),A=W?l+_.wrapperRight+_.wrapperLeft:d+_.wrapperTop+_.wrapperBottom,t.cssWidthAndHeight||(parseFloat(l)>0&&(u.style.width=l+"px"),parseFloat(d)>0&&(u.style.height=d+"px")),c=0,_.snapGrid=[],_.slidesGrid=[],p=0;p<_.slides.length;p++)_.snapGrid.push(c),_.slidesGrid.push(c),c+=P,t.cssWidthAndHeight||(parseFloat(o)>0&&(_.slides[p].style.width=o+"px"),parseFloat(a)>0&&(_.slides[p].style.height=a+"px"))}_.initialized?(_.callPlugins("onInit"),t.onInit&&_.fireCallback(t.onInit,_)):(_.callPlugins("onFirstInit"),t.onFirstInit&&_.fireCallback(t.onFirstInit,_)),_.initialized=!0}},_.reInit=function(e){_.init(!0,e)},_.resizeFix=function(e){_.callPlugins("beforeResizeFix"),_.init(t.resizeReInit||e),t.freeMode?_.getWrapperTranslate()<-s()&&(_.setWrapperTransition(0),_.setWrapperTranslate(-s())):(_.swipeTo(t.loop?_.activeLoopIndex:_.activeIndex,0,!1),t.autoplay&&(_.support.transitions&&"undefined"!=typeof J?"undefined"!=typeof J&&(clearTimeout(J),J=void 0,_.startAutoplay()):"undefined"!=typeof et&&(clearInterval(et),et=void 0,_.startAutoplay()))),_.callPlugins("afterResizeFix")},_.destroy=function(){var e=_.h.removeEventListener,i="wrapper"===t.eventTarget?_.wrapper:_.container;_.browser.ie10||_.browser.ie11?(e(i,_.touchEvents.touchStart,g),e(document,_.touchEvents.touchMove,m),e(document,_.touchEvents.touchEnd,v)):(_.support.touch&&(e(i,"touchstart",g),e(i,"touchmove",m),e(i,"touchend",v)),t.simulateTouch&&(e(i,"mousedown",g),e(document,"mousemove",m),e(document,"mouseup",v))),t.autoResize&&e(window,"resize",_.resizeFix),r(),t.paginationClickable&&S(),t.mousewheelControl&&_._wheelEvent&&e(_.container,_._wheelEvent,d),t.keyboardControl&&e(document,"keydown",l),t.autoplay&&_.stopAutoplay(),_.callPlugins("onDestroy"),_=null},_.disableKeyboardControl=function(){t.keyboardControl=!1,_.h.removeEventListener(document,"keydown",l)},_.enableKeyboardControl=function(){t.keyboardControl=!0,_.h.addEventListener(document,"keydown",l)};var Y=(new Date).getTime();if(_.disableMousewheelControl=function(){return _._wheelEvent?(t.mousewheelControl=!1,_.h.removeEventListener(_.container,_._wheelEvent,d),!0):!1},_.enableMousewheelControl=function(){return _._wheelEvent?(t.mousewheelControl=!0,_.h.addEventListener(_.container,_._wheelEvent,d),!0):!1},t.grabCursor){var $=_.container.style;$.cursor="move",$.cursor="grab",$.cursor="-moz-grab",$.cursor="-webkit-grab"}_.allowSlideClick=!0,_.allowLinks=!0;var q,Q,U,K=!1,Z=!0;_.swipeNext=function(e){!e&&t.loop&&_.fixLoop(),!e&&t.autoplay&&_.stopAutoplay(!0),_.callPlugins("onSwipeNext");
| + | |
− | var i=_.getWrapperTranslate(),n=i;if("auto"===t.slidesPerView){for(var o=0;o<_.snapGrid.length;o++)if(-i>=_.snapGrid[o]&&-i<_.snapGrid[o+1]){n=-_.snapGrid[o+1];break}}else{var a=P*t.slidesPerGroup;n=-(Math.floor(Math.abs(i)/Math.floor(a))*a+a)}return n<-s()&&(n=-s()),n===i?!1:(x(n,"next"),!0)},_.swipePrev=function(e){!e&&t.loop&&_.fixLoop(),!e&&t.autoplay&&_.stopAutoplay(!0),_.callPlugins("onSwipePrev");var i,n=Math.ceil(_.getWrapperTranslate());if("auto"===t.slidesPerView){i=0;for(var s=1;s<_.snapGrid.length;s++){if(-n===_.snapGrid[s]){i=-_.snapGrid[s-1];break}if(-n>_.snapGrid[s]&&-n<_.snapGrid[s+1]){i=-_.snapGrid[s];break}}}else{var o=P*t.slidesPerGroup;i=-(Math.ceil(-n/o)-1)*o}return i>0&&(i=0),i===n?!1:(x(i,"prev"),!0)},_.swipeReset=function(){_.callPlugins("onSwipeReset");{var e,i=_.getWrapperTranslate(),n=P*t.slidesPerGroup;-s()}if("auto"===t.slidesPerView){e=0;for(var o=0;o<_.snapGrid.length;o++){if(-i===_.snapGrid[o])return;if(-i>=_.snapGrid[o]&&-i<_.snapGrid[o+1]){e=_.positions.diff>0?-_.snapGrid[o+1]:-_.snapGrid[o];break}}-i>=_.snapGrid[_.snapGrid.length-1]&&(e=-_.snapGrid[_.snapGrid.length-1]),i<=-s()&&(e=-s())}else e=0>i?Math.round(i/n)*n:0;return t.scrollContainer&&(e=0>i?i:0),e<-s()&&(e=-s()),t.scrollContainer&&D>P&&(e=0),e===i?!1:(x(e,"reset"),!0)},_.swipeTo=function(e,i,n){e=parseInt(e,10),_.callPlugins("onSwipeTo",{index:e,speed:i}),t.loop&&(e+=_.loopedSlides);var o=_.getWrapperTranslate();if(!(e>_.slides.length-1||0>e)){var a;return a="auto"===t.slidesPerView?-_.slidesGrid[e]:-e*P,a<-s()&&(a=-s()),a===o?!1:(n=n===!1?!1:!0,x(a,"to",{index:e,speed:i,runCallbacks:n}),!0)}},_._queueStartCallbacks=!1,_._queueEndCallbacks=!1,_.updateActiveSlide=function(e){if(_.initialized&&0!==_.slides.length){_.previousIndex=_.activeIndex,"undefined"==typeof e&&(e=_.getWrapperTranslate()),e>0&&(e=0);var i;if("auto"===t.slidesPerView){if(_.activeIndex=_.slidesGrid.indexOf(-e),_.activeIndex<0){for(i=0;i<_.slidesGrid.length-1&&!(-e>_.slidesGrid[i]&&-e<_.slidesGrid[i+1]);i++);var n=Math.abs(_.slidesGrid[i]+e),s=Math.abs(_.slidesGrid[i+1]+e);_.activeIndex=s>=n?i:i+1}}else _.activeIndex=Math[t.visibilityFullFit?"ceil":"round"](-e/P);if(_.activeIndex===_.slides.length&&(_.activeIndex=_.slides.length-1),_.activeIndex<0&&(_.activeIndex=0),_.slides[_.activeIndex]){if(_.calcVisibleSlides(e),_.support.classList){var o;for(i=0;i<_.slides.length;i++)o=_.slides[i],o.classList.remove(t.slideActiveClass),_.visibleSlides.indexOf(o)>=0?o.classList.add(t.slideVisibleClass):o.classList.remove(t.slideVisibleClass);_.slides[_.activeIndex].classList.add(t.slideActiveClass)}else{var a=new RegExp("\\s*"+t.slideActiveClass),r=new RegExp("\\s*"+t.slideVisibleClass);for(i=0;i<_.slides.length;i++)_.slides[i].className=_.slides[i].className.replace(a,"").replace(r,""),_.visibleSlides.indexOf(_.slides[i])>=0&&(_.slides[i].className+=" "+t.slideVisibleClass);_.slides[_.activeIndex].className+=" "+t.slideActiveClass}if(t.loop){var l=_.loopedSlides;_.activeLoopIndex=_.activeIndex-l,_.activeLoopIndex>=_.slides.length-2*l&&(_.activeLoopIndex=_.slides.length-2*l-_.activeLoopIndex),_.activeLoopIndex<0&&(_.activeLoopIndex=_.slides.length-2*l+_.activeLoopIndex),_.activeLoopIndex<0&&(_.activeLoopIndex=0)}else _.activeLoopIndex=_.activeIndex;t.pagination&&_.updatePagination(e)}}},_.createPagination=function(e){if(t.paginationClickable&&_.paginationButtons&&S(),_.paginationContainer=t.pagination.nodeType?t.pagination:i(t.pagination)[0],t.createPagination){var n="",s=_.slides.length,o=s;t.loop&&(o-=2*_.loopedSlides);for(var a=0;o>a;a++)n+="<"+t.paginationElement+' class="'+t.paginationElementClass+'"></'+t.paginationElement+">";_.paginationContainer.innerHTML=n}_.paginationButtons=i("."+t.paginationElementClass,_.paginationContainer),e||_.updatePagination(),_.callPlugins("onCreatePagination"),t.paginationClickable&&C()},_.updatePagination=function(e){if(t.pagination&&!(_.slides.length<1)){var n=i("."+t.paginationActiveClass,_.paginationContainer);if(n){var s=_.paginationButtons;if(0!==s.length){for(var o=0;o<s.length;o++)s[o].className=t.paginationElementClass;var a=t.loop?_.loopedSlides:0;if(t.paginationAsRange){_.visibleSlides||_.calcVisibleSlides(e);var r,l=[];for(r=0;r<_.visibleSlides.length;r++){var d=_.slides.indexOf(_.visibleSlides[r])-a;t.loop&&0>d&&(d=_.slides.length-2*_.loopedSlides+d),t.loop&&d>=_.slides.length-2*_.loopedSlides&&(d=_.slides.length-2*_.loopedSlides-d,d=Math.abs(d)),l.push(d)}for(r=0;r<l.length;r++)s[l[r]]&&(s[l[r]].className+=" "+t.paginationVisibleClass);t.loop?void 0!==s[_.activeLoopIndex]&&(s[_.activeLoopIndex].className+=" "+t.paginationActiveClass):s[_.activeIndex].className+=" "+t.paginationActiveClass}else t.loop?s[_.activeLoopIndex]&&(s[_.activeLoopIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass):s[_.activeIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass}}}},_.calcVisibleSlides=function(e){var i=[],n=0,s=0,o=0;W&&_.wrapperLeft>0&&(e+=_.wrapperLeft),!W&&_.wrapperTop>0&&(e+=_.wrapperTop);for(var a=0;a<_.slides.length;a++){n+=s,s="auto"===t.slidesPerView?W?_.h.getWidth(_.slides[a],!0,t.roundLengths):_.h.getHeight(_.slides[a],!0,t.roundLengths):P,o=n+s;var r=!1;t.visibilityFullFit?(n>=-e&&-e+D>=o&&(r=!0),-e>=n&&o>=-e+D&&(r=!0)):(o>-e&&-e+D>=o&&(r=!0),n>=-e&&-e+D>n&&(r=!0),-e>n&&o>-e+D&&(r=!0)),r&&i.push(_.slides[a])}0===i.length&&(i=[_.slides[_.activeIndex]]),_.visibleSlides=i};var J,et;_.startAutoplay=function(){if(_.support.transitions){if("undefined"!=typeof J)return!1;if(!t.autoplay)return;_.callPlugins("onAutoplayStart"),t.onAutoplayStart&&_.fireCallback(t.onAutoplayStart,_),k()}else{if("undefined"!=typeof et)return!1;if(!t.autoplay)return;_.callPlugins("onAutoplayStart"),t.onAutoplayStart&&_.fireCallback(t.onAutoplayStart,_),et=setInterval(function(){t.loop?(_.fixLoop(),_.swipeNext(!0)):_.swipeNext(!0)||(t.autoplayStopOnLast?(clearInterval(et),et=void 0):_.swipeTo(0))},t.autoplay)}},_.stopAutoplay=function(e){if(_.support.transitions){if(!J)return;J&&clearTimeout(J),J=void 0,e&&!t.autoplayDisableOnInteraction&&_.wrapperTransitionEnd(function(){k()}),_.callPlugins("onAutoplayStop"),t.onAutoplayStop&&_.fireCallback(t.onAutoplayStop,_)}else et&&clearInterval(et),et=void 0,_.callPlugins("onAutoplayStop"),t.onAutoplayStop&&_.fireCallback(t.onAutoplayStop,_)},_.loopCreated=!1,_.removeLoopedSlides=function(){if(_.loopCreated)for(var e=0;e<_.slides.length;e++)_.slides[e].getData("looped")===!0&&_.wrapper.removeChild(_.slides[e])},_.createLoop=function(){if(0!==_.slides.length){_.loopedSlides="auto"===t.slidesPerView?t.loopedSlides||1:t.slidesPerView+t.loopAdditionalSlides,_.loopedSlides>_.slides.length&&(_.loopedSlides=_.slides.length);var e,i="",n="",s="",o=_.slides.length,a=Math.floor(_.loopedSlides/o),r=_.loopedSlides%o;for(e=0;a*o>e;e++){var l=e;if(e>=o){var d=Math.floor(e/o);l=e-o*d}s+=_.slides[l].outerHTML}for(e=0;r>e;e++)n+=w(t.slideDuplicateClass,_.slides[e].outerHTML);for(e=o-r;o>e;e++)i+=w(t.slideDuplicateClass,_.slides[e].outerHTML);var c=i+s+E.innerHTML+s+n;for(E.innerHTML=c,_.loopCreated=!0,_.calcSlides(),e=0;e<_.slides.length;e++)(e<_.loopedSlides||e>=_.slides.length-_.loopedSlides)&&_.slides[e].setData("looped",!0);_.callPlugins("onCreateLoop")}},_.fixLoop=function(){var e;_.activeIndex<_.loopedSlides?(e=_.slides.length-3*_.loopedSlides+_.activeIndex,_.swipeTo(e,0,!1)):("auto"===t.slidesPerView&&_.activeIndex>=2*_.loopedSlides||_.activeIndex>_.slides.length-2*t.slidesPerView)&&(e=-_.slides.length+_.activeIndex+_.loopedSlides,_.swipeTo(e,0,!1))},_.loadSlides=function(){var e="";_.activeLoaderIndex=0;for(var i=t.loader.slides,n=t.loader.loadAllSlides?i.length:t.slidesPerView*(1+t.loader.surroundGroups),s=0;n>s;s++)e+="outer"===t.loader.slidesHTMLType?i[s]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+s+'">'+i[s]+"</"+t.slideElement+">";_.wrapper.innerHTML=e,_.calcSlides(!0),t.loader.loadAllSlides||_.wrapperTransitionEnd(_.reloadSlides,!0)},_.reloadSlides=function(){var e=t.loader.slides,i=parseInt(_.activeSlide().data("swiperindex"),10);if(!(0>i||i>e.length-1)){_.activeLoaderIndex=i;var n=Math.max(0,i-t.slidesPerView*t.loader.surroundGroups),s=Math.min(i+t.slidesPerView*(1+t.loader.surroundGroups)-1,e.length-1);if(i>0){var o=-P*(i-n);_.setWrapperTranslate(o),_.setWrapperTransition(0)}var a;if("reload"===t.loader.logic){_.wrapper.innerHTML="";var r="";for(a=n;s>=a;a++)r+="outer"===t.loader.slidesHTMLType?e[a]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+a+'">'+e[a]+"</"+t.slideElement+">";_.wrapper.innerHTML=r}else{var l=1e3,d=0;for(a=0;a<_.slides.length;a++){var c=_.slides[a].data("swiperindex");n>c||c>s?_.wrapper.removeChild(_.slides[a]):(l=Math.min(c,l),d=Math.max(c,d))}for(a=n;s>=a;a++){var p;l>a&&(p=document.createElement(t.slideElement),p.className=t.slideClass,p.setAttribute("data-swiperindex",a),p.innerHTML=e[a],_.wrapper.insertBefore(p,_.wrapper.firstChild)),a>d&&(p=document.createElement(t.slideElement),p.className=t.slideClass,p.setAttribute("data-swiperindex",a),p.innerHTML=e[a],_.wrapper.appendChild(p))}}_.reInit(!0)}},M()}};Swiper.prototype={plugins:{},wrapperTransitionEnd:function(e,t){"use strict";function i(){if(e(s),s.params.queueEndCallbacks&&(s._queueEndCallbacks=!1),!t)for(n=0;n<a.length;n++)s.h.removeEventListener(o,a[n],i)}var n,s=this,o=s.wrapper,a=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"];if(e)for(n=0;n<a.length;n++)s.h.addEventListener(o,a[n],i)},getWrapperTranslate:function(e){"use strict";var t,i,n,s,o=this.wrapper;return"undefined"==typeof e&&(e="horizontal"===this.params.mode?"x":"y"),this.support.transforms&&this.params.useCSS3Transforms?(n=window.getComputedStyle(o,null),window.WebKitCSSMatrix?s=new WebKitCSSMatrix("none"===n.webkitTransform?"":n.webkitTransform):(s=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),t=s.toString().split(",")),"x"===e&&(i=window.WebKitCSSMatrix?s.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===e&&(i=window.WebKitCSSMatrix?s.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5]))):("x"===e&&(i=parseFloat(o.style.left,10)||0),"y"===e&&(i=parseFloat(o.style.top,10)||0)),i||0},setWrapperTranslate:function(e,t,i){"use strict";var n,s=this.wrapper.style,o={x:0,y:0,z:0};3===arguments.length?(o.x=e,o.y=t,o.z=i):("undefined"==typeof t&&(t="horizontal"===this.params.mode?"x":"y"),o[t]=e),this.support.transforms&&this.params.useCSS3Transforms?(n=this.support.transforms3d?"translate3d("+o.x+"px, "+o.y+"px, "+o.z+"px)":"translate("+o.x+"px, "+o.y+"px)",s.webkitTransform=s.MsTransform=s.msTransform=s.MozTransform=s.OTransform=s.transform=n):(s.left=o.x+"px",s.top=o.y+"px"),this.callPlugins("onSetWrapperTransform",o),this.params.onSetWrapperTransform&&this.fireCallback(this.params.onSetWrapperTransform,this,o)},setWrapperTransition:function(e){"use strict";var t=this.wrapper.style;t.webkitTransitionDuration=t.MsTransitionDuration=t.msTransitionDuration=t.MozTransitionDuration=t.OTransitionDuration=t.transitionDuration=e/1e3+"s",this.callPlugins("onSetWrapperTransition",{duration:e}),this.params.onSetWrapperTransition&&this.fireCallback(this.params.onSetWrapperTransition,this,e)},h:{getWidth:function(e,t,i){"use strict";var n=window.getComputedStyle(e,null).getPropertyValue("width"),s=parseFloat(n);return(isNaN(s)||n.indexOf("%")>0)&&(s=e.offsetWidth-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-left"))-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-right"))),t&&(s+=parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-left"))+parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-right"))),i?Math.round(s):s},getHeight:function(e,t,i){"use strict";if(t)return e.offsetHeight;var n=window.getComputedStyle(e,null).getPropertyValue("height"),s=parseFloat(n);return(isNaN(s)||n.indexOf("%")>0)&&(s=e.offsetHeight-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-top"))-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-bottom"))),t&&(s+=parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-top"))+parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-bottom"))),i?Math.round(s):s},getOffset:function(e){"use strict";var t=e.getBoundingClientRect(),i=document.body,n=e.clientTop||i.clientTop||0,s=e.clientLeft||i.clientLeft||0,o=window.pageYOffset||e.scrollTop,a=window.pageXOffset||e.scrollLeft;return document.documentElement&&!window.pageYOffset&&(o=document.documentElement.scrollTop,a=document.documentElement.scrollLeft),{top:t.top+o-n,left:t.left+a-s}},windowWidth:function(){"use strict";return window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:void 0},windowHeight:function(){"use strict";return window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:void 0},windowScroll:function(){"use strict";return"undefined"!=typeof pageYOffset?{left:window.pageXOffset,top:window.pageYOffset}:document.documentElement?{left:document.documentElement.scrollLeft,top:document.documentElement.scrollTop}:void 0},addEventListener:function(e,t,i,n){"use strict";"undefined"==typeof n&&(n=!1),e.addEventListener?e.addEventListener(t,i,n):e.attachEvent&&e.attachEvent("on"+t,i)},removeEventListener:function(e,t,i,n){"use strict";"undefined"==typeof n&&(n=!1),e.removeEventListener?e.removeEventListener(t,i,n):e.detachEvent&&e.detachEvent("on"+t,i)}},setTransform:function(e,t){"use strict";var i=e.style;i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=t},setTranslate:function(e,t){"use strict";var i=e.style,n={x:t.x||0,y:t.y||0,z:t.z||0},s=this.support.transforms3d?"translate3d("+n.x+"px,"+n.y+"px,"+n.z+"px)":"translate("+n.x+"px,"+n.y+"px)";i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=s,this.support.transforms||(i.left=n.x+"px",i.top=n.y+"px")},setTransition:function(e,t){"use strict";var i=e.style;i.webkitTransitionDuration=i.MsTransitionDuration=i.msTransitionDuration=i.MozTransitionDuration=i.OTransitionDuration=i.transitionDuration=t+"ms"},support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){"use strict";return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){"use strict";var e=document.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),transforms:window.Modernizr&&Modernizr.csstransforms===!0||function(){"use strict";var e=document.createElement("div").style;return"transform"in e||"WebkitTransform"in e||"MozTransform"in e||"msTransform"in e||"MsTransform"in e||"OTransform"in e}(),transitions:window.Modernizr&&Modernizr.csstransitions===!0||function(){"use strict";var e=document.createElement("div").style;return"transition"in e||"WebkitTransition"in e||"MozTransition"in e||"msTransition"in e||"MsTransition"in e||"OTransition"in e}(),classList:function(){"use strict";var e=document.createElement("div").style;return"classList"in e}()},browser:{ie8:function(){"use strict";var e=-1;if("Microsoft Internet Explorer"===navigator.appName){var t=navigator.userAgent,i=new RegExp(/MSIE ([0-9]{1,}[\.0-9]{0,})/);null!==i.exec(t)&&(e=parseFloat(RegExp.$1))}return-1!==e&&9>e}(),ie10:window.navigator.msPointerEnabled,ie11:window.navigator.pointerEnabled}},(window.jQuery||window.Zepto)&&!function(e){"use strict";e.fn.swiper=function(t){var i=new Swiper(e(this)[0],t);return e(this).data("swiper",i),i}}(window.jQuery||window.Zepto),"undefined"!=typeof module&&(module.exports=Swiper),"function"==typeof define&&define.amd&&define([],function(){"use strict";return Swiper}),function(){!function(e,t,i){var n,s,o;return o="slidesjs",s={width:940,height:528,start:1,navigation:{active:!0,effect:"slide"},pagination:{active:!0,effect:"slide"},play:{active:!1,effect:"slide",interval:5e3,auto:!1,swap:!0,pauseOnHover:!1,restartDelay:2500},effect:{slide:{speed:500},fade:{speed:300,crossfade:!0}},callback:{loaded:function(){},start:function(){},complete:function(){}}},n=function(){function t(t,i){this.element=t,this.options=e.extend(!0,{},s,i),this._defaults=s,this._name=o,this.init()}return t}(),n.prototype.init=function(){var i,n,s,o,a,r,l=this;return i=e(this.element),this.data=e.data(this),e.data(this,"animating",!1),e.data(this,"total",i.children().not(".slidesjs-navigation",i).length),e.data(this,"current",this.options.start-1),e.data(this,"vendorPrefix",this._getVendorPrefix()),"undefined"!=typeof TouchEvent&&(e.data(this,"touch",!0),this.options.effect.slide.speed=this.options.effect.slide.speed/2),i.css({overflow:"hidden"}),i.slidesContainer=i.children().not(".slidesjs-navigation",i).wrapAll("<div class='slidesjs-container'>",i).parent().css({overflow:"hidden",position:"relative"}),e(".slidesjs-container",i).wrapInner("<div class='slidesjs-control'>",i).children(),e(".slidesjs-control",i).css({position:"relative",left:0}),e(".slidesjs-control",i).children().addClass("slidesjs-slide").css({position:"absolute",top:0,left:0,width:"100%",zIndex:0,display:"none",webkitBackfaceVisibility:"hidden"}),e.each(e(".slidesjs-control",i).children(),function(t){var i;return i=e(this),i.attr("slidesjs-index",t)}),this.data.touch&&(e(".slidesjs-control",i).on("touchstart",function(e){return l._touchstart(e)}),e(".slidesjs-control",i).on("touchmove",function(e){return l._touchmove(e)}),e(".slidesjs-control",i).on("touchend",function(e){return l._touchend(e)})),i.fadeIn(0),this.update(),this.data.touch&&this._setuptouch(),e(".slidesjs-control",i).children(":eq("+this.data.current+")").eq(0).fadeIn(0,function(){return e(this).css({zIndex:10})}),this.options.navigation.active&&(a=e("<a>",{"class":"slidesjs-previous slidesjs-navigation",href:"#",title:"Previous",text:"Previous"}).appendTo(i),n=e("<a>",{"class":"slidesjs-next slidesjs-navigation",href:"#",title:"Next",text:"Next"}).appendTo(i)),e(".slidesjs-next",i).click(function(e){return e.preventDefault(),l.stop(!0),l.next(l.options.navigation.effect)}),e(".slidesjs-previous",i).click(function(e){return e.preventDefault(),l.stop(!0),l.previous(l.options.navigation.effect)}),this.options.play.active&&(o=e("<a>",{"class":"slidesjs-play slidesjs-navigation",href:"#",title:"Play",text:"Play"}).appendTo(i),r=e("<a>",{"class":"slidesjs-stop slidesjs-navigation",href:"#",title:"Stop",text:"Stop"}).appendTo(i),o.click(function(e){return e.preventDefault(),l.play(!0)}),r.click(function(e){return e.preventDefault(),l.stop(!0)}),this.options.play.swap&&r.css({display:"none"})),this.options.pagination.active&&(s=e("<ul>",{"class":"slidesjs-pagination"}).appendTo(i),e.each(new Array(this.data.total),function(t){var i,n;return i=e("<li>",{"class":"slidesjs-pagination-item"}).appendTo(s),n=e("<a>",{href:"#","data-slidesjs-item":t,html:t+1}).appendTo(i),n.click(function(t){return t.preventDefault(),l.stop(!0),l.goto(1*e(t.currentTarget).attr("data-slidesjs-item")+1)})})),e(t).bind("resize",function(){return l.update()}),this._setActive(),this.options.play.auto&&this.play(),this.options.callback.loaded(this.options.start)},n.prototype._setActive=function(t){var i,n;return i=e(this.element),this.data=e.data(this),n=t>-1?t:this.data.current,e(".active",i).removeClass("active"),e(".slidesjs-pagination li:eq("+n+") a",i).addClass("active")},n.prototype.update=function(){var t,i,n;return t=e(this.element),this.data=e.data(this),e(".slidesjs-control",t).children(":not(:eq("+this.data.current+"))").css({display:"none",left:0,zIndex:0}),n=t.width(),i=this.options.height/this.options.width*n,this.options.width=n,this.options.height=i,e(".slidesjs-control, .slidesjs-container",t).css({width:n,height:i})},n.prototype.next=function(t){var i;return i=e(this.element),this.data=e.data(this),e.data(this,"direction","next"),void 0===t&&(t=this.options.navigation.effect),"fade"===t?this._fade():this._slide()},n.prototype.previous=function(t){var i;return i=e(this.element),this.data=e.data(this),e.data(this,"direction","previous"),void 0===t&&(t=this.options.navigation.effect),"fade"===t?this._fade():this._slide()},n.prototype.goto=function(t){var i,n;if(i=e(this.element),this.data=e.data(this),void 0===n&&(n=this.options.pagination.effect),t>this.data.total?t=this.data.total:1>t&&(t=1),"number"==typeof t)return"fade"===n?this._fade(t):this._slide(t);if("string"==typeof t){if("first"===t)return"fade"===n?this._fade(0):this._slide(0);if("last"===t)return"fade"===n?this._fade(this.data.total):this._slide(this.data.total)}},n.prototype._setuptouch=function(){var t,i,n,s;return t=e(this.element),this.data=e.data(this),s=e(".slidesjs-control",t),i=this.data.current+1,n=this.data.current-1,0>n&&(n=this.data.total-1),i>this.data.total-1&&(i=0),s.children(":eq("+i+")").css({display:"block",left:this.options.width}),s.children(":eq("+n+")").css({display:"block",left:-this.options.width})},n.prototype._touchstart=function(t){var i,n;return i=e(this.element),this.data=e.data(this),n=t.originalEvent.touches[0],this._setuptouch(),e.data(this,"touchtimer",Number(new Date)),e.data(this,"touchstartx",n.pageX),e.data(this,"touchstarty",n.pageY),t.stopPropagation()},n.prototype._touchend=function(t){var i,n,s,o,a,r,l,d=this;return i=e(this.element),this.data=e.data(this),r=t.originalEvent.touches[0],o=e(".slidesjs-control",i),o.position().left>.5*this.options.width||o.position().left>.1*this.options.width&&Number(new Date)-this.data.touchtimer<250?(e.data(this,"direction","previous"),this._slide()):o.position().left<-(.5*this.options.width)||o.position().left<-(.1*this.options.width)&&Number(new Date)-this.data.touchtimer<250?(e.data(this,"direction","next"),this._slide()):(s=this.data.vendorPrefix,l=s+"Transform",n=s+"TransitionDuration",a=s+"TransitionTimingFunction",o[0].style[l]="translateX(0px)",o[0].style[n]=.85*this.options.effect.slide.speed+"ms"),o.on("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",function(){return s=d.data.vendorPrefix,l=s+"Transform",n=s+"TransitionDuration",a=s+"TransitionTimingFunction",o[0].style[l]="",o[0].style[n]="",o[0].style[a]=""}),t.stopPropagation()},n.prototype._touchmove=function(t){var i,n,s,o,a;return i=e(this.element),this.data=e.data(this),o=t.originalEvent.touches[0],n=this.data.vendorPrefix,s=e(".slidesjs-control",i),a=n+"Transform",e.data(this,"scrolling",Math.abs(o.pageX-this.data.touchstartx)<Math.abs(o.pageY-this.data.touchstarty)),this.data.animating||this.data.scrolling||(t.preventDefault(),this._setuptouch(),s[0].style[a]="translateX("+(o.pageX-this.data.touchstartx)+"px)"),t.stopPropagation()},n.prototype.play=function(t){var i,n,s,o=this;return i=e(this.element),this.data=e.data(this),!this.data.playInterval&&(t&&(n=this.data.current,this.data.direction="next","fade"===this.options.play.effect?this._fade():this._slide()),e.data(this,"playInterval",setInterval(function(){return n=o.data.current,o.data.direction="next","fade"===o.options.play.effect?o._fade():o._slide()},this.options.play.interval)),s=e(".slidesjs-container",i),this.options.play.pauseOnHover&&(s.unbind(),s.bind("mouseenter",function(){return o.stop()}),s.bind("mouseleave",function(){return o.options.play.restartDelay?e.data(o,"restartDelay",setTimeout(function(){return o.play(!0)},o.options.play.restartDelay)):o.play()})),e.data(this,"playing",!0),e(".slidesjs-play",i).addClass("slidesjs-playing"),this.options.play.swap)?(e(".slidesjs-play",i).hide(),e(".slidesjs-stop",i).show()):void 0},n.prototype.stop=function(t){var i;return i=e(this.element),this.data=e.data(this),clearInterval(this.data.playInterval),this.options.play.pauseOnHover&&t&&e(".slidesjs-container",i).unbind(),e.data(this,"playInterval",null),e.data(this,"playing",!1),e(".slidesjs-play",i).removeClass("slidesjs-playing"),this.options.play.swap?(e(".slidesjs-stop",i).hide(),e(".slidesjs-play",i).show()):void 0},n.prototype._slide=function(t){var i,n,s,o,a,r,l,d,c,p,u=this;return i=e(this.element),this.data=e.data(this),this.data.animating||t===this.data.current+1?void 0:(e.data(this,"animating",!0),n=this.data.current,t>-1?(t-=1,p=t>n?1:-1,s=t>n?-this.options.width:this.options.width,a=t):(p="next"===this.data.direction?1:-1,s="next"===this.data.direction?-this.options.width:this.options.width,a=n+p),-1===a&&(a=this.data.total-1),a===this.data.total&&(a=0),this._setActive(a),l=e(".slidesjs-control",i),t>-1&&l.children(":not(:eq("+n+"))").css({display:"none",left:0,zIndex:0}),l.children(":eq("+a+")").css({display:"block",left:p*this.options.width,zIndex:10}),this.options.callback.start(n+1),this.data.vendorPrefix?(r=this.data.vendorPrefix,c=r+"Transform",o=r+"TransitionDuration",d=r+"TransitionTimingFunction",l[0].style[c]="translateX("+s+"px)",l[0].style[o]=this.options.effect.slide.speed+"ms",l.on("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",function(){return l[0].style[c]="",l[0].style[o]="",l.children(":eq("+a+")").css({left:0}),l.children(":eq("+n+")").css({display:"none",left:0,zIndex:0}),e.data(u,"current",a),e.data(u,"animating",!1),l.unbind("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd"),l.children(":not(:eq("+a+"))").css({display:"none",left:0,zIndex:0}),u.data.touch&&u._setuptouch(),u.options.callback.complete(a+1)})):l.stop().animate({left:s},this.options.effect.slide.speed,function(){return l.css({left:0}),l.children(":eq("+a+")").css({left:0}),l.children(":eq("+n+")").css({display:"none",left:0,zIndex:0},e.data(u,"current",a),e.data(u,"animating",!1),u.options.callback.complete(a+1))}))},n.prototype._fade=function(t){var i,n,s,o,a,r=this;return i=e(this.element),this.data=e.data(this),this.data.animating||t===this.data.current+1?void 0:(e.data(this,"animating",!0),n=this.data.current,t?(t-=1,a=t>n?1:-1,s=t):(a="next"===this.data.direction?1:-1,s=n+a),-1===s&&(s=this.data.total-1),s===this.data.total&&(s=0),this._setActive(s),o=e(".slidesjs-control",i),o.children(":eq("+s+")").css({display:"none",left:0,zIndex:10}),this.options.callback.start(n+1),this.options.effect.fade.crossfade?(o.children(":eq("+this.data.current+")").stop().fadeOut(this.options.effect.fade.speed),o.children(":eq("+s+")").stop().fadeIn(this.options.effect.fade.speed,function(){return o.children(":eq("+s+")").css({zIndex:0}),e.data(r,"animating",!1),e.data(r,"current",s),r.options.callback.complete(s+1)})):o.children(":eq("+n+")").stop().fadeOut(this.options.effect.fade.speed,function(){return o.children(":eq("+s+")").stop().fadeIn(r.options.effect.fade.speed,function(){return o.children(":eq("+s+")").css({zIndex:10})}),e.data(r,"animating",!1),e.data(r,"current",s),r.options.callback.complete(s+1)}))},n.prototype._getVendorPrefix=function(){var e,t,n,s,o;for(e=i.body||i.documentElement,n=e.style,s="transition",o=["Moz","Webkit","Khtml","O","ms"],s=s.charAt(0).toUpperCase()+s.substr(1),t=0;t<o.length;){if("string"==typeof n[o[t]+s])return o[t];t++}return!1},e.fn[o]=function(t){return this.each(function(){return e.data(this,"plugin_"+o)?void 0:e.data(this,"plugin_"+o,new n(this,t))})}}(jQuery,window,document)}.call(this),function(e){function t(t,n,a,r,l){function d(){m.unbind("webkitTransitionEnd transitionend otransitionend oTransitionEnd"),n&&i(n,a,r,l),l.startOrder=[],l.newOrder=[],l.origSort=[],l.checkSort=[],g.removeStyle(l.prefix+"filter, filter, "+l.prefix+"transform, transform, opacity, display").css(l.clean).removeAttr("data-checksum"),window.atob||g.css({display:"none",opacity:"0"});var e=l.resizeContainer?"height":"";m.removeStyle(l.prefix+"transition, transition, "+l.prefix+"perspective, perspective, "+l.prefix+"perspective-origin, perspective-origin, "+e),"list"==l.layoutMode?(y.css({display:l.targetDisplayList,opacity:"1"}),l.origDisplay=l.targetDisplayList):(y.css({display:l.targetDisplayGrid,opacity:"1"}),l.origDisplay=l.targetDisplayGrid),l.origLayout=l.layoutMode;setTimeout(function(){if(g.removeStyle(l.prefix+"transition, transition"),l.mixing=!1,"function"==typeof l.onMixEnd){var e=l.onMixEnd.call(this,l);l=e?e:l}})}if(clearInterval(l.failsafe),l.mixing=!0,l.filter=t,"function"==typeof l.onMixStart){var c=l.onMixStart.call(this,l);l=c?c:l}for(var p=l.transitionSpeed,u=0;2>u;u++){var h=0==u?h=l.prefix:"";l.transition[h+"transition"]="all "+p+"ms linear",l.transition[h+"transform"]=h+"translate3d(0,0,0)",l.perspective[h+"perspective"]=l.perspectiveDistance+"px",l.perspective[h+"perspective-origin"]=l.perspectiveOrigin}var f=l.targetSelector,g=r.find(f);g.each(function(){this.data={}});var m=g.parent();m.css(l.perspective),l.easingFallback="ease-in-out","smooth"==l.easing&&(l.easing="cubic-bezier(0.25, 0.46, 0.45, 0.94)"),"snap"==l.easing&&(l.easing="cubic-bezier(0.77, 0, 0.175, 1)"),"windback"==l.easing&&(l.easing="cubic-bezier(0.175, 0.885, 0.320, 1.275)",l.easingFallback="cubic-bezier(0.175, 0.885, 0.320, 1)"),"windup"==l.easing&&(l.easing="cubic-bezier(0.6, -0.28, 0.735, 0.045)",l.easingFallback="cubic-bezier(0.6, 0.28, 0.735, 0.045)");var v="list"==l.layoutMode&&null!=l.listEffects?l.listEffects:l.effects;Array.prototype.indexOf&&(l.fade=v.indexOf("fade")>-1?"0":"",l.scale=v.indexOf("scale")>-1?"scale(.01)":"",l.rotateZ=v.indexOf("rotateZ")>-1?"rotate(180deg)":"",l.rotateY=v.indexOf("rotateY")>-1?"rotateY(90deg)":"",l.rotateX=v.indexOf("rotateX")>-1?"rotateX(90deg)":"",l.blur=v.indexOf("blur")>-1?"blur(8px)":"",l.grayscale=v.indexOf("grayscale")>-1?"grayscale(100%)":"");var y=e(),w=e(),x=[],b=!1;"string"==typeof t?x=o(t):(b=!0,e.each(t,function(e){x[e]=o(this)})),"or"==l.filterLogic?(""==x[0]&&x.shift(),x.length<1?w=w.add(r.find(f+":visible")):g.each(function(){var t=e(this);if(b){var i=0;e.each(x,function(){this.length?t.is("."+this.join(", ."))&&i++:i>0&&i++}),i==x.length?y=y.add(t):w=w.add(t)}else t.is("."+x.join(", ."))?y=y.add(t):w=w.add(t)})):(y=y.add(m.find(f+"."+x.join("."))),w=w.add(m.find(f+":not(."+x.join(".")+"):visible")));var S=y.length,C=e(),T=e(),k=e();if(w.each(function(){var t=e(this);"none"!=t.css("display")&&(C=C.add(t),k=k.add(t))}),y.filter(":visible").length==S&&!C.length&&!n){if(l.origLayout==l.layoutMode)return d(),!1;if(1==y.length)return"list"==l.layoutMode?(r.addClass(l.listClass),r.removeClass(l.gridClass),k.css("display",l.targetDisplayList)):(r.addClass(l.gridClass),r.removeClass(l.listClass),k.css("display",l.targetDisplayGrid)),d(),!1}if(l.origHeight=m.height(),y.length){if(r.removeClass(l.failClass),y.each(function(){var t=e(this);"none"==t.css("display")?T=T.add(t):k=k.add(t)}),l.origLayout!=l.layoutMode&&0==l.animateGridList)return"list"==l.layoutMode?(r.addClass(l.listClass),r.removeClass(l.gridClass),k.css("display",l.targetDisplayList)):(r.addClass(l.gridClass),r.removeClass(l.listClass),k.css("display",l.targetDisplayGrid)),d(),!1;if(!window.atob)return d(),!1;if(g.css(l.clean),k.each(function(){this.data.origPos=e(this).offset()}),"list"==l.layoutMode?(r.addClass(l.listClass),r.removeClass(l.gridClass),T.css("display",l.targetDisplayList)):(r.addClass(l.gridClass),r.removeClass(l.listClass),T.css("display",l.targetDisplayGrid)),T.each(function(){this.data.showInterPos=e(this).offset()}),C.each(function(){this.data.hideInterPos=e(this).offset()}),k.each(function(){this.data.preInterPos=e(this).offset()}),"list"==l.layoutMode?k.css("display",l.targetDisplayList):k.css("display",l.targetDisplayGrid),n&&i(n,a,r,l),n&&s(l.origSort,l.checkSort))return d(),!1;C.hide(),T.each(function(){this.data.finalPos=e(this).offset()}),k.each(function(){this.data.finalPrePos=e(this).offset()}),l.newHeight=m.height(),n&&i("reset",null,r,l),T.hide(),k.css("display",l.origDisplay),"block"==l.origDisplay?(r.addClass(l.listClass),T.css("display",l.targetDisplayList)):(r.removeClass(l.listClass),T.css("display",l.targetDisplayGrid)),l.resizeContainer&&m.css("height",l.origHeight+"px");
| + | |
− | for(var M={},u=0;2>u;u++){var h=0==u?h=l.prefix:"";M[h+"transform"]=l.scale+" "+l.rotateX+" "+l.rotateY+" "+l.rotateZ,M[h+"filter"]=l.blur+" "+l.grayscale}T.css(M),k.each(function(){var t=this.data,i=e(this);i.hasClass("mix_tohide")?(t.preTX=t.origPos.left-t.hideInterPos.left,t.preTY=t.origPos.top-t.hideInterPos.top):(t.preTX=t.origPos.left-t.preInterPos.left,t.preTY=t.origPos.top-t.preInterPos.top);for(var n={},s=0;2>s;s++){var o=0==s?o=l.prefix:"";n[o+"transform"]="translate("+t.preTX+"px,"+t.preTY+"px)"}i.css(n)}),"list"==l.layoutMode?(r.addClass(l.listClass),r.removeClass(l.gridClass)):(r.addClass(l.gridClass),r.removeClass(l.listClass));{setTimeout(function(){if(l.resizeContainer){for(var t={},i=0;2>i;i++){var n=0==i?n=l.prefix:"";t[n+"transition"]="all "+p+"ms ease-in-out",t.height=l.newHeight+"px"}m.css(t)}C.css("opacity",l.fade),T.css("opacity",1),T.each(function(){var t=this.data;t.tX=t.finalPos.left-t.showInterPos.left,t.tY=t.finalPos.top-t.showInterPos.top;for(var i={},n=0;2>n;n++){var s=0==n?s=l.prefix:"";i[s+"transition-property"]=s+"transform, "+s+"filter, opacity",i[s+"transition-timing-function"]=l.easing+", linear, linear",i[s+"transition-duration"]=p+"ms",i[s+"transition-delay"]="0",i[s+"transform"]="translate("+t.tX+"px,"+t.tY+"px)",i[s+"filter"]="none"}e(this).css("-webkit-transition","all "+p+"ms "+l.easingFallback).css(i)}),k.each(function(){var t=this.data;t.tX=0!=t.finalPrePos.left?t.finalPrePos.left-t.preInterPos.left:0,t.tY=0!=t.finalPrePos.left?t.finalPrePos.top-t.preInterPos.top:0;for(var i={},n=0;2>n;n++){var s=0==n?s=l.prefix:"";i[s+"transition"]="all "+p+"ms "+l.easing,i[s+"transform"]="translate("+t.tX+"px,"+t.tY+"px)"}e(this).css("-webkit-transition","all "+p+"ms "+l.easingFallback).css(i)});for(var s={},i=0;2>i;i++){var n=0==i?n=l.prefix:"";s[n+"transition"]="all "+p+"ms "+l.easing+", "+n+"filter "+p+"ms linear, opacity "+p+"ms linear",s[n+"transform"]=l.scale+" "+l.rotateX+" "+l.rotateY+" "+l.rotateZ,s[n+"filter"]=l.blur+" "+l.grayscale,s.opacity=l.fade}C.css(s),m.bind("webkitTransitionEnd transitionend otransitionend oTransitionEnd",function(t){(t.originalEvent.propertyName.indexOf("transform")>-1||t.originalEvent.propertyName.indexOf("opacity")>-1)&&(f.indexOf(".")>-1?e(t.target).hasClass(f.replace(".",""))&&d():e(t.target).is(f)&&d())})},10)}l.failsafe=setTimeout(function(){l.mixing&&d()},p+400)}else{if(l.resizeContainer&&m.css("height",l.origHeight+"px"),!window.atob)return d(),!1;C=w;{setTimeout(function(){if(m.css(l.perspective),l.resizeContainer){for(var e={},t=0;2>t;t++){var i=0==t?i=l.prefix:"";e[i+"transition"]="height "+p+"ms ease-in-out",e.height=l.minHeight+"px"}m.css(e)}g.css(l.transition);var n=w.length;if(n){for(var s={},t=0;2>t;t++){var i=0==t?i=l.prefix:"";s[i+"transform"]=l.scale+" "+l.rotateX+" "+l.rotateY+" "+l.rotateZ,s[i+"filter"]=l.blur+" "+l.grayscale,s.opacity=l.fade}C.css(s),m.bind("webkitTransitionEnd transitionend otransitionend oTransitionEnd",function(e){(e.originalEvent.propertyName.indexOf("transform")>-1||e.originalEvent.propertyName.indexOf("opacity")>-1)&&(r.addClass(l.failClass),d())})}else l.mixing=!1},10)}}}function i(t,i,n,s){function o(e,i){var n=isNaN(1*e.attr(t))?e.attr(t).toLowerCase():1*e.attr(t),s=isNaN(1*i.attr(t))?i.attr(t).toLowerCase():1*i.attr(t);return s>n?-1:n>s?1:0}function a(e){"asc"==i?l.prepend(e).prepend(" "):l.append(e).append(" ")}function r(e){for(var t=e.slice(),i=t.length,n=i;n--;){var s=parseInt(Math.random()*i),o=t[n];t[n]=t[s],t[s]=o}return t}n.find(s.targetSelector).wrapAll('<div class="mix_sorter"/>');var l=n.find(".mix_sorter");if(s.origSort.length||l.find(s.targetSelector+":visible").each(function(){e(this).wrap("<s/>"),s.origSort.push(e(this).parent().html().replace(/\s+/g,"")),e(this).unwrap()}),l.empty(),"reset"==t)e.each(s.startOrder,function(){l.append(this).append(" ")});else if("default"==t)e.each(s.origOrder,function(){a(this)});else if("random"==t)s.newOrder.length||(s.newOrder=r(s.startOrder)),e.each(s.newOrder,function(){l.append(this).append(" ")});else if("custom"==t)e.each(i,function(){a(this)});else{if("undefined"==typeof s.origOrder[0].attr(t))return console.log("No such attribute found. Terminating"),!1;s.newOrder.length||(e.each(s.origOrder,function(){s.newOrder.push(e(this))}),s.newOrder.sort(o)),e.each(s.newOrder,function(){a(this)})}s.checkSort=[],l.find(s.targetSelector+":visible").each(function(t){var i=e(this);0==t&&i.attr("data-checksum","1"),i.wrap("<s/>"),s.checkSort.push(i.parent().html().replace(/\s+/g,"")),i.unwrap()}),n.find(s.targetSelector).unwrap()}function n(e){for(var t=["Webkit","Moz","O","ms"],i=0;i<t.length;i++)if(t[i]+"Transition"in e.style)return t[i];return"transition"in e.style?"":!1}function s(e,t){if(e.length!=t.length)return!1;for(var i=0;i<t.length;i++){if(e[i].compare&&!e[i].compare(t[i]))return!1;if(e[i]!==t[i])return!1}return!0}function o(t){t=t.replace(/\s{2,}/g," ");var i=t.split(" ");return e.each(i,function(e){"all"==this&&(i[e]="mix_all")}),""==i[0]&&i.shift(),i}var a={init:function(s){return this.each(function(){var o=window.navigator.appVersion.match(/Chrome\/(\d+)\./),a=o?parseInt(o[1],10):!1,r=function(e){var t=document.getElementById(e),i=t.parentElement,n=document.createElement("div"),s=document.createDocumentFragment();i.insertBefore(n,t),s.appendChild(t),i.replaceChild(t,n),s=null,n=null};(a&&31==a||32==a)&&r(this.id);var l={targetSelector:".mix",filterSelector:".filter",sortSelector:".sort",buttonEvent:"click",effects:["fade","scale"],listEffects:null,easing:"smooth",layoutMode:"grid",targetDisplayGrid:"inline-block",targetDisplayList:"block",listClass:"",gridClass:"",transitionSpeed:600,showOnLoad:"all",sortOnLoad:!1,multiFilter:!1,filterLogic:"or",resizeContainer:!0,minHeight:0,failClass:"fail",perspectiveDistance:"3000",perspectiveOrigin:"50% 50%",animateGridList:!0,onMixLoad:null,onMixStart:null,onMixEnd:null,container:null,origOrder:[],startOrder:[],newOrder:[],origSort:[],checkSort:[],filter:"",mixing:!1,origDisplay:"",origLayout:"",origHeight:0,newHeight:0,isTouch:!1,resetDelay:0,failsafe:null,prefix:"",easingFallback:"ease-in-out",transition:{},perspective:{},clean:{},fade:"1",scale:"",rotateX:"",rotateY:"",rotateZ:"",blur:"",grayscale:""};s&&e.extend(l,s),this.config=l,e.support.touch="ontouchend"in document,e.support.touch&&(l.isTouch=!0,l.resetDelay=350),l.container=e(this);var d=l.container;if(l.prefix=n(d[0]),l.prefix=l.prefix?"-"+l.prefix.toLowerCase()+"-":"",d.find(l.targetSelector).each(function(){l.origOrder.push(e(this))}),l.sortOnLoad){var c,p;e.isArray(l.sortOnLoad)?(c=l.sortOnLoad[0],p=l.sortOnLoad[1],e(l.sortSelector+"[data-sort="+l.sortOnLoad[0]+"][data-order="+l.sortOnLoad[1]+"]").addClass("active")):(e(l.sortSelector+"[data-sort="+l.sortOnLoad+"]").addClass("active"),c=l.sortOnLoad,l.sortOnLoad="desc"),i(c,p,d,l)}for(var u=0;2>u;u++){var h=0==u?h=l.prefix:"";l.transition[h+"transition"]="all "+l.transitionSpeed+"ms ease-in-out",l.perspective[h+"perspective"]=l.perspectiveDistance+"px",l.perspective[h+"perspective-origin"]=l.perspectiveOrigin}for(var u=0;2>u;u++){var h=0==u?h=l.prefix:"";l.clean[h+"transition"]="none"}"list"==l.layoutMode?(d.addClass(l.listClass),l.origDisplay=l.targetDisplayList):(d.addClass(l.gridClass),l.origDisplay=l.targetDisplayGrid),l.origLayout=l.layoutMode;var f=l.showOnLoad.split(" ");e.each(f,function(){e(l.filterSelector+'[data-filter="'+this+'"]').addClass("active")}),d.find(l.targetSelector).addClass("mix_all"),"all"==f[0]&&(f[0]="mix_all",l.showOnLoad="mix_all");var g=e();e.each(f,function(){g=g.add(e("."+this))}),g.each(function(){var t=e(this);"list"==l.layoutMode?t.css("display",l.targetDisplayList):t.css("display",l.targetDisplayGrid),t.css(l.transition)});setTimeout(function(){l.mixing=!0,g.css("opacity","1");setTimeout(function(){if("list"==l.layoutMode?g.removeStyle(l.prefix+"transition, transition").css({display:l.targetDisplayList,opacity:1}):g.removeStyle(l.prefix+"transition, transition").css({display:l.targetDisplayGrid,opacity:1}),l.mixing=!1,"function"==typeof l.onMixLoad){var e=l.onMixLoad.call(this,l);l=e?e:l}},l.transitionSpeed)},10);l.filter=l.showOnLoad,e(l.sortSelector).bind(l.buttonEvent,function(){if(!l.mixing){var i=e(this),n=i.attr("data-sort"),s=i.attr("data-order");if(i.hasClass("active")){if("random"!=n)return!1}else e(l.sortSelector).removeClass("active"),i.addClass("active");d.find(l.targetSelector).each(function(){l.startOrder.push(e(this))}),t(l.filter,n,s,d,l)}}),e(l.filterSelector).bind(l.buttonEvent,function(){if(!l.mixing){var i=e(this);if(0==l.multiFilter)e(l.filterSelector).removeClass("active"),i.addClass("active"),l.filter=i.attr("data-filter"),e(l.filterSelector+'[data-filter="'+l.filter+'"]').addClass("active");else{var n=i.attr("data-filter");if(i.hasClass("active")){i.removeClass("active");var s=new RegExp("(\\s|^)"+n);l.filter=l.filter.replace(s,"")}else i.addClass("active"),l.filter=l.filter+" "+n}t(l.filter,null,null,d,l)}})})},toGrid:function(){return this.each(function(){var i=this.config;"grid"!=i.layoutMode&&(i.layoutMode="grid",t(i.filter,null,null,e(this),i))})},toList:function(){return this.each(function(){var i=this.config;"list"!=i.layoutMode&&(i.layoutMode="list",t(i.filter,null,null,e(this),i))})},filter:function(i){return this.each(function(){var n=this.config;n.mixing||(e(n.filterSelector).removeClass("active"),e(n.filterSelector+'[data-filter="'+i+'"]').addClass("active"),t(i,null,null,e(this),n))})},sort:function(i){return this.each(function(){var n=this.config,s=e(this);if(!n.mixing){if(e(n.sortSelector).removeClass("active"),e.isArray(i)){var o=i[0],a=i[1];e(n.sortSelector+'[data-sort="'+i[0]+'"][data-order="'+i[1]+'"]').addClass("active")}else{e(n.sortSelector+'[data-sort="'+i+'"]').addClass("active");var o=i,a="desc"}s.find(n.targetSelector).each(function(){n.startOrder.push(e(this))}),t(n.filter,o,a,s,n)}})},multimix:function(i){return this.each(function(){var n=this.config,s=e(this);multiOut={filter:n.filter,sort:null,order:"desc",layoutMode:n.layoutMode},e.extend(multiOut,i),n.mixing||(e(n.filterSelector).add(n.sortSelector).removeClass("active"),e(n.filterSelector+'[data-filter="'+multiOut.filter+'"]').addClass("active"),"undefined"!=typeof multiOut.sort&&(e(n.sortSelector+'[data-sort="'+multiOut.sort+'"][data-order="'+multiOut.order+'"]').addClass("active"),s.find(n.targetSelector).each(function(){n.startOrder.push(e(this))})),n.layoutMode=multiOut.layoutMode,t(multiOut.filter,multiOut.sort,multiOut.order,s,n))})},remix:function(i){return this.each(function(){var n=this.config,s=e(this);n.origOrder=[],s.find(n.targetSelector).each(function(){var t=e(this);t.addClass("mix_all"),n.origOrder.push(t)}),n.mixing||"undefined"==typeof i||(e(n.filterSelector).removeClass("active"),e(n.filterSelector+'[data-filter="'+i+'"]').addClass("active"),t(i,null,null,s,n))})}};e.fn.mixitup=function(e){return a[e]?a[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void 0:a.init.apply(this,arguments)},e.fn.removeStyle=function(t){return this.each(function(){var i=e(this);t=t.replace(/\s+/g,"");var n=t.split(",");e.each(n,function(){var e=new RegExp(this.toString()+"[^;]+;?","g");i.attr("style",function(t,i){return i?i.replace(e,""):void 0})})})}}(jQuery),function(e,t){"use strict";var i,n=e.document,s=e.Modernizr,o=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},a="Moz Webkit O Ms".split(" "),r=function(e){var t,i=n.documentElement.style;if("string"==typeof i[e])return e;e=o(e);for(var s=0,r=a.length;r>s;s++)if(t=a[s]+e,"string"==typeof i[t])return t},l=r("transform"),d=r("transitionProperty"),c={csstransforms:function(){return!!l},csstransforms3d:function(){var e=!!r("perspective");if(e){var i=" -o- -moz- -ms- -webkit- -khtml- ".split(" "),n="@media ("+i.join("transform-3d),(")+"modernizr)",s=t("<style>"+n+"{#modernizr{height:3px}}</style>").appendTo("head"),o=t('<div id="modernizr" />').appendTo("html");e=3===o.height(),o.remove(),s.remove()}return e},csstransitions:function(){return!!d}};if(s)for(i in c)s.hasOwnProperty(i)||s.addTest(i,c[i]);else{s=e.Modernizr={_version:"1.6ish: miniModernizr for Isotope"};var p,u=" ";for(i in c)p=c[i](),s[i]=p,u+=" "+(p?"":"no-")+i;t("html").addClass(u)}if(s.csstransforms){var h=s.csstransforms3d?{translate:function(e){return"translate3d("+e[0]+"px, "+e[1]+"px, 0) "},scale:function(e){return"scale3d("+e+", "+e+", 1) "}}:{translate:function(e){return"translate("+e[0]+"px, "+e[1]+"px) "},scale:function(e){return"scale("+e+") "}},f=function(e,i,n){var s,o,a=t.data(e,"isoTransform")||{},r={},d={};r[i]=n,t.extend(a,r);for(s in a)o=a[s],d[s]=h[s](o);var c=d.translate||"",p=d.scale||"",u=c+p;t.data(e,"isoTransform",a),e.style[l]=u};t.cssNumber.scale=!0,t.cssHooks.scale={set:function(e,t){f(e,"scale",t)},get:function(e){var i=t.data(e,"isoTransform");return i&&i.scale?i.scale:1}},t.fx.step.scale=function(e){t.cssHooks.scale.set(e.elem,e.now+e.unit)},t.cssNumber.translate=!0,t.cssHooks.translate={set:function(e,t){f(e,"translate",t)},get:function(e){var i=t.data(e,"isoTransform");return i&&i.translate?i.translate:[0,0]}}}var g,m;s.csstransitions&&(g={WebkitTransitionProperty:"webkitTransitionEnd",MozTransitionProperty:"transitionend",OTransitionProperty:"oTransitionEnd otransitionend",transitionProperty:"transitionend"}[d],m=r("transitionDuration"));var v,y=t.event,w=t.event.handle?"handle":"dispatch";y.special.smartresize={setup:function(){t(this).bind("resize",y.special.smartresize.handler)},teardown:function(){t(this).unbind("resize",y.special.smartresize.handler)},handler:function(e,t){var i=this,n=arguments;e.type="smartresize",v&&clearTimeout(v),v=setTimeout(function(){y[w].apply(i,n)},"execAsap"===t?0:100)}},t.fn.smartresize=function(e){return e?this.bind("smartresize",e):this.trigger("smartresize",["execAsap"])},t.Isotope=function(e,i,n){this.element=t(i),this._create(e),this._init(n)};var x=["width","height"],b=t(e);t.Isotope.settings={resizable:!0,layoutMode:"masonry",containerClass:"isotope",itemClass:"isotope-item",hiddenClass:"isotope-hidden",hiddenStyle:{opacity:0,scale:.001},visibleStyle:{opacity:1,scale:1},containerStyle:{position:"relative",overflow:"hidden"},animationEngine:"best-available",animationOptions:{queue:!1,duration:800},sortBy:"original-order",sortAscending:!0,resizesContainer:!0,transformsEnabled:!0,itemPositionDataEnabled:!1},t.Isotope.prototype={_create:function(e){this.options=t.extend({},t.Isotope.settings,e),this.styleQueue=[],this.elemCount=0;var i=this.element[0].style;this.originalStyle={};var n=x.slice(0);for(var s in this.options.containerStyle)n.push(s);for(var o=0,a=n.length;a>o;o++)s=n[o],this.originalStyle[s]=i[s]||"";this.element.css(this.options.containerStyle),this._updateAnimationEngine(),this._updateUsingTransforms();var r={"original-order":function(e,t){return t.elemCount++,t.elemCount},random:function(){return Math.random()}};this.options.getSortData=t.extend(this.options.getSortData,r),this.reloadItems(),this.offset={left:parseInt(this.element.css("padding-left")||0,10),top:parseInt(this.element.css("padding-top")||0,10)};var l=this;setTimeout(function(){l.element.addClass(l.options.containerClass)},0),this.options.resizable&&b.bind("smartresize.isotope",function(){l.resize()}),this.element.delegate("."+this.options.hiddenClass,"click",function(){return!1})},_getAtoms:function(e){var t=this.options.itemSelector,i=t?e.filter(t).add(e.find(t)):e,n={position:"absolute"};return i=i.filter(function(e,t){return 1===t.nodeType}),this.usingTransforms&&(n.left=0,n.top=0),i.css(n).addClass(this.options.itemClass),this.updateSortData(i,!0),i},_init:function(e){this.$filteredAtoms=this._filter(this.$allAtoms),this._sort(),this.reLayout(e)},option:function(e){if(t.isPlainObject(e)){this.options=t.extend(!0,this.options,e);var i;for(var n in e)i="_update"+o(n),this[i]&&this[i]()}},_updateAnimationEngine:function(){var e,t=this.options.animationEngine.toLowerCase().replace(/[ _\-]/g,"");switch(t){case"css":case"none":e=!1;break;case"jquery":e=!0;break;default:e=!s.csstransitions}this.isUsingJQueryAnimation=e,this._updateUsingTransforms()},_updateTransformsEnabled:function(){this._updateUsingTransforms()},_updateUsingTransforms:function(){var e=this.usingTransforms=this.options.transformsEnabled&&s.csstransforms&&s.csstransitions&&!this.isUsingJQueryAnimation;e||(delete this.options.hiddenStyle.scale,delete this.options.visibleStyle.scale),this.getPositionStyles=e?this._translate:this._positionAbs},_filter:function(e){var t=""===this.options.filter?"*":this.options.filter;if(!t)return e;var i=this.options.hiddenClass,n="."+i,s=e.filter(n),o=s;if("*"!==t){o=s.filter(t);var a=e.not(n).not(t).addClass(i);this.styleQueue.push({$el:a,style:this.options.hiddenStyle})}return this.styleQueue.push({$el:o,style:this.options.visibleStyle}),o.removeClass(i),e.filter(t)},updateSortData:function(e,i){var n,s,o=this,a=this.options.getSortData;e.each(function(){n=t(this),s={};for(var e in a)s[e]=i||"original-order"!==e?a[e](n,o):t.data(this,"isotope-sort-data")[e];t.data(this,"isotope-sort-data",s)})},_sort:function(){var e=this.options.sortBy,t=this._getSorter,i=this.options.sortAscending?1:-1,n=function(n,s){var o=t(n,e),a=t(s,e);return o===a&&"original-order"!==e&&(o=t(n,"original-order"),a=t(s,"original-order")),(o>a?1:a>o?-1:0)*i};this.$filteredAtoms.sort(n)},_getSorter:function(e,i){return t.data(e,"isotope-sort-data")[i]},_translate:function(e,t){return{translate:[e,t]}},_positionAbs:function(e,t){return{left:e,top:t}},_pushPosition:function(e,t,i){t=Math.round(t+this.offset.left),i=Math.round(i+this.offset.top);var n=this.getPositionStyles(t,i);this.styleQueue.push({$el:e,style:n}),this.options.itemPositionDataEnabled&&e.data("isotope-item-position",{x:t,y:i})},layout:function(e,t){var i=this.options.layoutMode;if(this["_"+i+"Layout"](e),this.options.resizesContainer){var n=this["_"+i+"GetContainerSize"]();this.styleQueue.push({$el:this.element,style:n})}this._processStyleQueue(e,t),this.isLaidOut=!0},_processStyleQueue:function(e,i){var n,o,a,r,l=this.isLaidOut?this.isUsingJQueryAnimation?"animate":"css":"css",d=this.options.animationOptions,c=this.options.onLayout;if(o=function(e,t){t.$el[l](t.style,d)},this._isInserting&&this.isUsingJQueryAnimation)o=function(e,t){n=t.$el.hasClass("no-transition")?"css":l,t.$el[n](t.style,d)};else if(i||c||d.complete){var p=!1,u=[i,c,d.complete],h=this;if(a=!0,r=function(){if(!p){for(var t,i=0,n=u.length;n>i;i++)t=u[i],"function"==typeof t&&t.call(h.element,e,h);p=!0}},this.isUsingJQueryAnimation&&"animate"===l)d.complete=r,a=!1;else if(s.csstransitions){for(var f,v=0,y=this.styleQueue[0],w=y&&y.$el;!w||!w.length;){if(f=this.styleQueue[v++],!f)return;w=f.$el}var x=parseFloat(getComputedStyle(w[0])[m]);x>0&&(o=function(e,t){t.$el[l](t.style,d).one(g,r)},a=!1)}}t.each(this.styleQueue,o),a&&r(),this.styleQueue=[]},resize:function(){this["_"+this.options.layoutMode+"ResizeChanged"]()&&this.reLayout()},reLayout:function(e){this["_"+this.options.layoutMode+"Reset"](),this.layout(this.$filteredAtoms,e)},addItems:function(e,t){var i=this._getAtoms(e);this.$allAtoms=this.$allAtoms.add(i),t&&t(i)},insert:function(e,t){this.element.append(e);var i=this;this.addItems(e,function(e){var n=i._filter(e);i._addHideAppended(n),i._sort(),i.reLayout(),i._revealAppended(n,t)})},appended:function(e,t){var i=this;this.addItems(e,function(e){i._addHideAppended(e),i.layout(e),i._revealAppended(e,t)})},_addHideAppended:function(e){this.$filteredAtoms=this.$filteredAtoms.add(e),e.addClass("no-transition"),this._isInserting=!0,this.styleQueue.push({$el:e,style:this.options.hiddenStyle})},_revealAppended:function(e,t){var i=this;setTimeout(function(){e.removeClass("no-transition"),i.styleQueue.push({$el:e,style:i.options.visibleStyle}),i._isInserting=!1,i._processStyleQueue(e,t)},10)},reloadItems:function(){this.$allAtoms=this._getAtoms(this.element.children())},remove:function(e,t){this.$allAtoms=this.$allAtoms.not(e),this.$filteredAtoms=this.$filteredAtoms.not(e);var i=this,n=function(){e.remove(),t&&t.call(i.element)};e.filter(":not(."+this.options.hiddenClass+")").length?(this.styleQueue.push({$el:e,style:this.options.hiddenStyle}),this._sort(),this.reLayout(n)):n()},shuffle:function(e){this.updateSortData(this.$allAtoms),this.options.sortBy="random",this._sort(),this.reLayout(e)},destroy:function(){var e=this.usingTransforms,t=this.options;this.$allAtoms.removeClass(t.hiddenClass+" "+t.itemClass).each(function(){var t=this.style;t.position="",t.top="",t.left="",t.opacity="",e&&(t[l]="")});var i=this.element[0].style;for(var n in this.originalStyle)i[n]=this.originalStyle[n];this.element.unbind(".isotope").undelegate("."+t.hiddenClass,"click").removeClass(t.containerClass).removeData("isotope"),b.unbind(".isotope")},_getSegments:function(e){var t,i=this.options.layoutMode,n=e?"rowHeight":"columnWidth",s=e?"height":"width",a=e?"rows":"cols",r=this.element[s](),l=this.options[i]&&this.options[i][n]||this.$filteredAtoms["outer"+o(s)](!0)||r;t=Math.floor(r/l),t=Math.max(t,1),this[i][a]=t,this[i][n]=l},_checkIfSegmentsChanged:function(e){var t=this.options.layoutMode,i=e?"rows":"cols",n=this[t][i];return this._getSegments(e),this[t][i]!==n},_masonryReset:function(){this.masonry={},this._getSegments();var e=this.masonry.cols;for(this.masonry.colYs=[];e--;)this.masonry.colYs.push(0)},_masonryLayout:function(e){var i=this,n=i.masonry;e.each(function(){var e=t(this),s=Math.ceil(e.outerWidth(!0)/n.columnWidth);if(s=Math.min(s,n.cols),1===s)i._masonryPlaceBrick(e,n.colYs);else{var o,a,r=n.cols+1-s,l=[];for(a=0;r>a;a++)o=n.colYs.slice(a,a+s),l[a]=Math.max.apply(Math,o);i._masonryPlaceBrick(e,l)}})},_masonryPlaceBrick:function(e,t){for(var i=Math.min.apply(Math,t),n=0,s=0,o=t.length;o>s;s++)if(t[s]===i){n=s;break}var a=this.masonry.columnWidth*n,r=i;this._pushPosition(e,a,r);var l=i+e.outerHeight(!0),d=this.masonry.cols+1-o;for(s=0;d>s;s++)this.masonry.colYs[n+s]=l},_masonryGetContainerSize:function(){var e=Math.max.apply(Math,this.masonry.colYs);return{height:e}},_masonryResizeChanged:function(){return this._checkIfSegmentsChanged()},_fitRowsReset:function(){this.fitRows={x:0,y:0,height:0}},_fitRowsLayout:function(e){var i=this,n=this.element.width(),s=this.fitRows;e.each(function(){var e=t(this),o=e.outerWidth(!0),a=e.outerHeight(!0);0!==s.x&&o+s.x>n&&(s.x=0,s.y=s.height),i._pushPosition(e,s.x,s.y),s.height=Math.max(s.y+a,s.height),s.x+=o})},_fitRowsGetContainerSize:function(){return{height:this.fitRows.height}},_fitRowsResizeChanged:function(){return!0},_cellsByRowReset:function(){this.cellsByRow={index:0},this._getSegments(),this._getSegments(!0)},_cellsByRowLayout:function(e){var i=this,n=this.cellsByRow;e.each(function(){var e=t(this),s=n.index%n.cols,o=Math.floor(n.index/n.cols),a=(s+.5)*n.columnWidth-e.outerWidth(!0)/2,r=(o+.5)*n.rowHeight-e.outerHeight(!0)/2;i._pushPosition(e,a,r),n.index++})},_cellsByRowGetContainerSize:function(){return{height:Math.ceil(this.$filteredAtoms.length/this.cellsByRow.cols)*this.cellsByRow.rowHeight+this.offset.top}},_cellsByRowResizeChanged:function(){return this._checkIfSegmentsChanged()},_straightDownReset:function(){this.straightDown={y:0}},_straightDownLayout:function(e){var i=this;e.each(function(){var e=t(this);i._pushPosition(e,0,i.straightDown.y),i.straightDown.y+=e.outerHeight(!0)})},_straightDownGetContainerSize:function(){return{height:this.straightDown.y}},_straightDownResizeChanged:function(){return!0},_masonryHorizontalReset:function(){this.masonryHorizontal={},this._getSegments(!0);var e=this.masonryHorizontal.rows;for(this.masonryHorizontal.rowXs=[];e--;)this.masonryHorizontal.rowXs.push(0)},_masonryHorizontalLayout:function(e){var i=this,n=i.masonryHorizontal;e.each(function(){var e=t(this),s=Math.ceil(e.outerHeight(!0)/n.rowHeight);if(s=Math.min(s,n.rows),1===s)i._masonryHorizontalPlaceBrick(e,n.rowXs);else{var o,a,r=n.rows+1-s,l=[];for(a=0;r>a;a++)o=n.rowXs.slice(a,a+s),l[a]=Math.max.apply(Math,o);i._masonryHorizontalPlaceBrick(e,l)}})},_masonryHorizontalPlaceBrick:function(e,t){for(var i=Math.min.apply(Math,t),n=0,s=0,o=t.length;o>s;s++)if(t[s]===i){n=s;break}var a=i,r=this.masonryHorizontal.rowHeight*n;this._pushPosition(e,a,r);var l=i+e.outerWidth(!0),d=this.masonryHorizontal.rows+1-o;for(s=0;d>s;s++)this.masonryHorizontal.rowXs[n+s]=l},_masonryHorizontalGetContainerSize:function(){var e=Math.max.apply(Math,this.masonryHorizontal.rowXs);return{width:e}},_masonryHorizontalResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_fitColumnsReset:function(){this.fitColumns={x:0,y:0,width:0}},_fitColumnsLayout:function(e){var i=this,n=this.element.height(),s=this.fitColumns;e.each(function(){var e=t(this),o=e.outerWidth(!0),a=e.outerHeight(!0);0!==s.y&&a+s.y>n&&(s.x=s.width,s.y=0),i._pushPosition(e,s.x,s.y),s.width=Math.max(s.x+o,s.width),s.y+=a})},_fitColumnsGetContainerSize:function(){return{width:this.fitColumns.width}},_fitColumnsResizeChanged:function(){return!0},_cellsByColumnReset:function(){this.cellsByColumn={index:0},this._getSegments(),this._getSegments(!0)},_cellsByColumnLayout:function(e){var i=this,n=this.cellsByColumn;e.each(function(){var e=t(this),s=Math.floor(n.index/n.rows),o=n.index%n.rows,a=(s+.5)*n.columnWidth-e.outerWidth(!0)/2,r=(o+.5)*n.rowHeight-e.outerHeight(!0)/2;i._pushPosition(e,a,r),n.index++})},_cellsByColumnGetContainerSize:function(){return{width:Math.ceil(this.$filteredAtoms.length/this.cellsByColumn.rows)*this.cellsByColumn.columnWidth}},_cellsByColumnResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_straightAcrossReset:function(){this.straightAcross={x:0}},_straightAcrossLayout:function(e){var i=this;e.each(function(){var e=t(this);i._pushPosition(e,i.straightAcross.x,0),i.straightAcross.x+=e.outerWidth(!0)})},_straightAcrossGetContainerSize:function(){return{width:this.straightAcross.x}},_straightAcrossResizeChanged:function(){return!0}},t.fn.imagesLoaded=function(e){function i(){e.call(s,o)}function n(e){var s=e.target;s.src!==r&&-1===t.inArray(s,l)&&(l.push(s),--a<=0&&(setTimeout(i),o.unbind(".imagesLoaded",n)))}var s=this,o=s.find("img").add(s.filter("img")),a=o.length,r="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",l=[];return a||i(),o.bind("load.imagesLoaded error.imagesLoaded",n).each(function(){var e=this.src;this.src=r,this.src=e}),s};var S=function(t){e.console&&e.console.error(t)};t.fn.isotope=function(e,i){if("string"==typeof e){var n=Array.prototype.slice.call(arguments,1);this.each(function(){var i=t.data(this,"isotope");return i?t.isFunction(i[e])&&"_"!==e.charAt(0)?(i[e].apply(i,n),void 0):(S("no such method '"+e+"' for isotope instance"),void 0):(S("cannot call methods on isotope prior to initialization; attempted to call method '"+e+"'"),void 0)})}else this.each(function(){var n=t.data(this,"isotope");n?(n.option(e),n._init(i)):t.data(this,"isotope",new t.Isotope(e,this,i))});return this}}(window,jQuery),function(e,t,i,n){"use strict";var s=i("html"),o=i(e),a=i(t),r=i.fancybox=function(){r.open.apply(this,arguments)},l=navigator.userAgent.match(/msie/i),d=null,c=t.createTouch!==n,p=function(e){return e&&e.hasOwnProperty&&e instanceof i},u=function(e){return e&&"string"===i.type(e)},h=function(e){return u(e)&&e.indexOf("%")>0},f=function(e){return e&&!(e.style.overflow&&"hidden"===e.style.overflow)&&(e.clientWidth&&e.scrollWidth>e.clientWidth||e.clientHeight&&e.scrollHeight>e.clientHeight)},g=function(e,t){var i=parseInt(e,10)||0;return t&&h(e)&&(i=r.getViewport()[t]/100*i),Math.ceil(i)},m=function(e,t){return g(e,t)+"px"};i.extend(r,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!c,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(l?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeChange:i.noop,beforeClose:i.noop,afterClose:i.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(e,t){return e&&(i.isPlainObject(t)||(t={}),!1!==r.close(!0))?(i.isArray(e)||(e=p(e)?i(e).get():[e]),i.each(e,function(s,o){var a,l,d,c,h,f,g,m={};"object"===i.type(o)&&(o.nodeType&&(o=i(o)),p(o)?(m={href:o.data("fancybox-href")||o.attr("href"),title:o.data("fancybox-title")||o.attr("title"),isDom:!0,element:o},i.metadata&&i.extend(!0,m,o.metadata())):m=o),a=t.href||m.href||(u(o)?o:null),l=t.title!==n?t.title:m.title||"",d=t.content||m.content,c=d?"html":t.type||m.type,!c&&m.isDom&&(c=o.data("fancybox-type"),c||(h=o.prop("class").match(/fancybox\.(\w+)/),c=h?h[1]:null)),u(a)&&(c||(r.isImage(a)?c="image":r.isSWF(a)?c="swf":"#"===a.charAt(0)?c="inline":u(o)&&(c="html",d=o)),"ajax"===c&&(f=a.split(/\s+/,2),a=f.shift(),g=f.shift())),d||("inline"===c?a?d=i(u(a)?a.replace(/.*(?=#[^\s]+$)/,""):a):m.isDom&&(d=o):"html"===c?d=a:c||a||!m.isDom||(c="inline",d=o)),i.extend(m,{href:a,type:c,content:d,title:l,selector:g}),e[s]=m}),r.opts=i.extend(!0,{},r.defaults,t),t.keys!==n&&(r.opts.keys=t.keys?i.extend({},r.defaults.keys,t.keys):!1),r.group=e,r._start(r.opts.index)):void 0},cancel:function(){var e=r.coming;e&&!1!==r.trigger("onCancel")&&(r.hideLoading(),r.ajaxLoad&&r.ajaxLoad.abort(),r.ajaxLoad=null,r.imgPreload&&(r.imgPreload.onload=r.imgPreload.onerror=null),e.wrap&&e.wrap.stop(!0,!0).trigger("onReset").remove(),r.coming=null,r.current||r._afterZoomOut(e))},close:function(e){r.cancel(),!1!==r.trigger("beforeClose")&&(r.unbindEvents(),r.isActive&&(r.isOpen&&e!==!0?(r.isOpen=r.isOpened=!1,r.isClosing=!0,i(".fancybox-item, .fancybox-nav").remove(),r.wrap.stop(!0,!0).removeClass("fancybox-opened"),r.transitions[r.current.closeMethod]()):(i(".fancybox-wrap").stop(!0).trigger("onReset").remove(),r._afterZoomOut())))},play:function(e){var t=function(){clearTimeout(r.player.timer)},i=function(){t(),r.current&&r.player.isActive&&(r.player.timer=setTimeout(r.next,r.current.playSpeed))},n=function(){t(),a.unbind(".player"),r.player.isActive=!1,r.trigger("onPlayEnd")},s=function(){r.current&&(r.current.loop||r.current.index<r.group.length-1)&&(r.player.isActive=!0,a.bind({"onCancel.player beforeClose.player":n,"onUpdate.player":i,"beforeLoad.player":t}),i(),r.trigger("onPlayStart"))
| + | |
− | };e===!0||!r.player.isActive&&e!==!1?s():n()},next:function(e){var t=r.current;t&&(u(e)||(e=t.direction.next),r.jumpto(t.index+1,e,"next"))},prev:function(e){var t=r.current;t&&(u(e)||(e=t.direction.prev),r.jumpto(t.index-1,e,"prev"))},jumpto:function(e,t,i){var s=r.current;s&&(e=g(e),r.direction=t||s.direction[e>=s.index?"next":"prev"],r.router=i||"jumpto",s.loop&&(0>e&&(e=s.group.length+e%s.group.length),e%=s.group.length),s.group[e]!==n&&(r.cancel(),r._start(e)))},reposition:function(e,t){var n,s=r.current,o=s?s.wrap:null;o&&(n=r._getPosition(t),e&&"scroll"===e.type?(delete n.position,o.stop(!0,!0).animate(n,200)):(o.css(n),s.pos=i.extend({},s.dim,n)))},update:function(e){var t=e&&e.type,i=!t||"orientationchange"===t;i&&(clearTimeout(d),d=null),r.isOpen&&!d&&(d=setTimeout(function(){var n=r.current;n&&!r.isClosing&&(r.wrap.removeClass("fancybox-tmp"),(i||"load"===t||"resize"===t&&n.autoResize)&&r._setDimension(),"scroll"===t&&n.canShrink||r.reposition(e),r.trigger("onUpdate"),d=null)},i&&!c?0:300))},toggle:function(e){r.isOpen&&(r.current.fitToView="boolean"===i.type(e)?e:!r.current.fitToView,c&&(r.wrap.removeAttr("style").addClass("fancybox-tmp"),r.trigger("onUpdate")),r.update())},hideLoading:function(){a.unbind(".loading"),i("#fancybox-loading").remove()},showLoading:function(){var e,t;r.hideLoading(),e=i('<div id="fancybox-loading"><div></div></div>').click(r.cancel).appendTo("body"),a.bind("keydown.loading",function(e){27===(e.which||e.keyCode)&&(e.preventDefault(),r.cancel())}),r.defaults.fixed||(t=r.getViewport(),e.css({position:"absolute",top:.5*t.h+t.y,left:.5*t.w+t.x}))},getViewport:function(){var t=r.current&&r.current.locked||!1,i={x:o.scrollLeft(),y:o.scrollTop()};return t?(i.w=t[0].clientWidth,i.h=t[0].clientHeight):(i.w=c&&e.innerWidth?e.innerWidth:o.width(),i.h=c&&e.innerHeight?e.innerHeight:o.height()),i},unbindEvents:function(){r.wrap&&p(r.wrap)&&r.wrap.unbind(".fb"),a.unbind(".fb"),o.unbind(".fb")},bindEvents:function(){var e,t=r.current;t&&(o.bind("orientationchange.fb"+(c?"":" resize.fb")+(t.autoCenter&&!t.locked?" scroll.fb":""),r.update),e=t.keys,e&&a.bind("keydown.fb",function(s){var o=s.which||s.keyCode,a=s.target||s.srcElement;return 27===o&&r.coming?!1:(s.ctrlKey||s.altKey||s.shiftKey||s.metaKey||a&&(a.type||i(a).is("[contenteditable]"))||i.each(e,function(e,a){return t.group.length>1&&a[o]!==n?(r[e](a[o]),s.preventDefault(),!1):i.inArray(o,a)>-1?(r[e](),s.preventDefault(),!1):void 0}),void 0)}),i.fn.mousewheel&&t.mouseWheel&&r.wrap.bind("mousewheel.fb",function(e,n,s,o){for(var a=e.target||null,l=i(a),d=!1;l.length&&!(d||l.is(".fancybox-skin")||l.is(".fancybox-wrap"));)d=f(l[0]),l=i(l).parent();0===n||d||r.group.length>1&&!t.canShrink&&(o>0||s>0?r.prev(o>0?"down":"left"):(0>o||0>s)&&r.next(0>o?"up":"right"),e.preventDefault())}))},trigger:function(e,t){var n,s=t||r.coming||r.current;if(s){if(i.isFunction(s[e])&&(n=s[e].apply(s,Array.prototype.slice.call(arguments,1))),n===!1)return!1;s.helpers&&i.each(s.helpers,function(t,n){n&&r.helpers[t]&&i.isFunction(r.helpers[t][e])&&r.helpers[t][e](i.extend(!0,{},r.helpers[t].defaults,n),s)}),a.trigger(e)}},isImage:function(e){return u(e)&&e.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(e){return u(e)&&e.match(/\.(swf)((\?|#).*)?$/i)},_start:function(e){var t,n,s,o,a,l={};if(e=g(e),t=r.group[e]||null,!t)return!1;if(l=i.extend(!0,{},r.opts,t),o=l.margin,a=l.padding,"number"===i.type(o)&&(l.margin=[o,o,o,o]),"number"===i.type(a)&&(l.padding=[a,a,a,a]),l.modal&&i.extend(!0,l,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),l.autoSize&&(l.autoWidth=l.autoHeight=!0),"auto"===l.width&&(l.autoWidth=!0),"auto"===l.height&&(l.autoHeight=!0),l.group=r.group,l.index=e,r.coming=l,!1===r.trigger("beforeLoad"))return r.coming=null,void 0;if(s=l.type,n=l.href,!s)return r.coming=null,r.current&&r.router&&"jumpto"!==r.router?(r.current.index=e,r[r.router](r.direction)):!1;if(r.isActive=!0,("image"===s||"swf"===s)&&(l.autoHeight=l.autoWidth=!1,l.scrolling="visible"),"image"===s&&(l.aspectRatio=!0),"iframe"===s&&c&&(l.scrolling="scroll"),l.wrap=i(l.tpl.wrap).addClass("fancybox-"+(c?"mobile":"desktop")+" fancybox-type-"+s+" fancybox-tmp "+l.wrapCSS).appendTo(l.parent||"body"),i.extend(l,{skin:i(".fancybox-skin",l.wrap),outer:i(".fancybox-outer",l.wrap),inner:i(".fancybox-inner",l.wrap)}),i.each(["Top","Right","Bottom","Left"],function(e,t){l.skin.css("padding"+t,m(l.padding[e]))}),r.trigger("onReady"),"inline"===s||"html"===s){if(!l.content||!l.content.length)return r._error("content")}else if(!n)return r._error("href");"image"===s?r._loadImage():"ajax"===s?r._loadAjax():"iframe"===s?r._loadIframe():r._afterLoad()},_error:function(e){i.extend(r.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:e,content:r.coming.tpl.error}),r._afterLoad()},_loadImage:function(){var e=r.imgPreload=new Image;e.onload=function(){this.onload=this.onerror=null,r.coming.width=this.width/r.opts.pixelRatio,r.coming.height=this.height/r.opts.pixelRatio,r._afterLoad()},e.onerror=function(){this.onload=this.onerror=null,r._error("image")},e.src=r.coming.href,e.complete!==!0&&r.showLoading()},_loadAjax:function(){var e=r.coming;r.showLoading(),r.ajaxLoad=i.ajax(i.extend({},e.ajax,{url:e.href,error:function(e,t){r.coming&&"abort"!==t?r._error("ajax",e):r.hideLoading()},success:function(t,i){"success"===i&&(e.content=t,r._afterLoad())}}))},_loadIframe:function(){var e=r.coming,t=i(e.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",c?"auto":e.iframe.scrolling).attr("src",e.href);i(e.wrap).bind("onReset",function(){try{i(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(e){}}),e.iframe.preload&&(r.showLoading(),t.one("load",function(){i(this).data("ready",1),c||i(this).bind("load.fb",r.update),i(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),r._afterLoad()})),e.content=t.appendTo(e.inner),e.iframe.preload||r._afterLoad()},_preloadImages:function(){var e,t,i=r.group,n=r.current,s=i.length,o=n.preload?Math.min(n.preload,s-1):0;for(t=1;o>=t;t+=1)e=i[(n.index+t)%s],"image"===e.type&&e.href&&((new Image).src=e.href)},_afterLoad:function(){var e,t,n,s,o,a,l=r.coming,d=r.current,c="fancybox-placeholder";if(r.hideLoading(),l&&r.isActive!==!1){if(!1===r.trigger("afterLoad",l,d))return l.wrap.stop(!0).trigger("onReset").remove(),r.coming=null,void 0;switch(d&&(r.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),r.unbindEvents(),e=l,t=l.content,n=l.type,s=l.scrolling,i.extend(r,{wrap:e.wrap,skin:e.skin,outer:e.outer,inner:e.inner,current:e,previous:d}),o=e.href,n){case"inline":case"ajax":case"html":e.selector?t=i("<div>").html(t).find(e.selector):p(t)&&(t.data(c)||t.data(c,i('<div class="'+c+'"></div>').insertAfter(t).hide()),t=t.show().detach(),e.wrap.bind("onReset",function(){i(this).find(t).length&&t.hide().replaceAll(t.data(c)).data(c,!1)}));break;case"image":t=e.tpl.image.replace("{href}",o);break;case"swf":t='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+o+'"></param>',a="",i.each(e.swf,function(e,i){t+='<param name="'+e+'" value="'+i+'"></param>',a+=" "+e+'="'+i+'"'}),t+='<embed src="'+o+'" type="application/x-shockwave-flash" width="100%" height="100%"'+a+"></embed></object>"}p(t)&&t.parent().is(e.inner)||e.inner.append(t),r.trigger("beforeShow"),e.inner.css("overflow","yes"===s?"scroll":"no"===s?"hidden":s),r._setDimension(),r.reposition(),r.isOpen=!1,r.coming=null,r.bindEvents(),r.isOpened?d.prevMethod&&r.transitions[d.prevMethod]():i(".fancybox-wrap").not(e.wrap).stop(!0).trigger("onReset").remove(),r.transitions[r.isOpened?e.nextMethod:e.openMethod](),r._preloadImages()}},_setDimension:function(){var e,t,n,s,o,a,l,d,c,p,u,f,v,y,w,x=r.getViewport(),b=0,S=!1,C=!1,T=r.wrap,k=r.skin,M=r.inner,L=r.current,_=L.width,E=L.height,P=L.minWidth,A=L.minHeight,O=L.maxWidth,I=L.maxHeight,D=L.scrolling,z=L.scrollOutside?L.scrollbarWidth:0,H=L.margin,R=g(H[1]+H[3]),W=g(H[0]+H[2]);if(T.add(k).add(M).width("auto").height("auto").removeClass("fancybox-tmp"),e=g(k.outerWidth(!0)-k.width()),t=g(k.outerHeight(!0)-k.height()),n=R+e,s=W+t,o=h(_)?(x.w-n)*g(_)/100:_,a=h(E)?(x.h-s)*g(E)/100:E,"iframe"===L.type){if(y=L.content,L.autoHeight&&1===y.data("ready"))try{y[0].contentWindow.document.location&&(M.width(o).height(9999),w=y.contents().find("body"),z&&w.css("overflow-x","hidden"),a=w.outerHeight(!0))}catch(j){}}else(L.autoWidth||L.autoHeight)&&(M.addClass("fancybox-tmp"),L.autoWidth||M.width(o),L.autoHeight||M.height(a),L.autoWidth&&(o=M.width()),L.autoHeight&&(a=M.height()),M.removeClass("fancybox-tmp"));if(_=g(o),E=g(a),c=o/a,P=g(h(P)?g(P,"w")-n:P),O=g(h(O)?g(O,"w")-n:O),A=g(h(A)?g(A,"h")-s:A),I=g(h(I)?g(I,"h")-s:I),l=O,d=I,L.fitToView&&(O=Math.min(x.w-n,O),I=Math.min(x.h-s,I)),f=x.w-R,v=x.h-W,L.aspectRatio?(_>O&&(_=O,E=g(_/c)),E>I&&(E=I,_=g(E*c)),P>_&&(_=P,E=g(_/c)),A>E&&(E=A,_=g(E*c))):(_=Math.max(P,Math.min(_,O)),L.autoHeight&&"iframe"!==L.type&&(M.width(_),E=M.height()),E=Math.max(A,Math.min(E,I))),L.fitToView)if(M.width(_).height(E),T.width(_+e),p=T.width(),u=T.height(),L.aspectRatio)for(;(p>f||u>v)&&_>P&&E>A&&!(b++>19);)E=Math.max(A,Math.min(I,E-10)),_=g(E*c),P>_&&(_=P,E=g(_/c)),_>O&&(_=O,E=g(_/c)),M.width(_).height(E),T.width(_+e),p=T.width(),u=T.height();else _=Math.max(P,Math.min(_,_-(p-f))),E=Math.max(A,Math.min(E,E-(u-v)));z&&"auto"===D&&a>E&&f>_+e+z&&(_+=z),M.width(_).height(E),T.width(_+e),p=T.width(),u=T.height(),S=(p>f||u>v)&&_>P&&E>A,C=L.aspectRatio?l>_&&d>E&&o>_&&a>E:(l>_||d>E)&&(o>_||a>E),i.extend(L,{dim:{width:m(p),height:m(u)},origWidth:o,origHeight:a,canShrink:S,canExpand:C,wPadding:e,hPadding:t,wrapSpace:u-k.outerHeight(!0),skinSpace:k.height()-E}),!y&&L.autoHeight&&E>A&&I>E&&!C&&M.height("auto")},_getPosition:function(e){var t=r.current,i=r.getViewport(),n=t.margin,s=r.wrap.width()+n[1]+n[3],o=r.wrap.height()+n[0]+n[2],a={position:"absolute",top:n[0],left:n[3]};return t.autoCenter&&t.fixed&&!e&&o<=i.h&&s<=i.w?a.position="fixed":t.locked||(a.top+=i.y,a.left+=i.x),a.top=m(Math.max(a.top,a.top+(i.h-o)*t.topRatio)),a.left=m(Math.max(a.left,a.left+(i.w-s)*t.leftRatio)),a},_afterZoomIn:function(){var e=r.current;e&&(r.isOpen=r.isOpened=!0,r.wrap.css("overflow","visible").addClass("fancybox-opened"),r.update(),(e.closeClick||e.nextClick&&r.group.length>1)&&r.inner.css("cursor","pointer").bind("click.fb",function(t){i(t.target).is("a")||i(t.target).parent().is("a")||(t.preventDefault(),r[e.closeClick?"close":"next"]())}),e.closeBtn&&i(e.tpl.closeBtn).appendTo(r.skin).bind("click.fb",function(e){e.preventDefault(),r.close()}),e.arrows&&r.group.length>1&&((e.loop||e.index>0)&&i(e.tpl.prev).appendTo(r.outer).bind("click.fb",r.prev),(e.loop||e.index<r.group.length-1)&&i(e.tpl.next).appendTo(r.outer).bind("click.fb",r.next)),r.trigger("afterShow"),e.loop||e.index!==e.group.length-1?r.opts.autoPlay&&!r.player.isActive&&(r.opts.autoPlay=!1,r.play()):r.play(!1))},_afterZoomOut:function(e){e=e||r.current,i(".fancybox-wrap").trigger("onReset").remove(),i.extend(r,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null}),r.trigger("afterClose",e)}}),r.transitions={getOrigPosition:function(){var e=r.current,t=e.element,i=e.orig,n={},s=50,o=50,a=e.hPadding,l=e.wPadding,d=r.getViewport();return!i&&e.isDom&&t.is(":visible")&&(i=t.find("img:first"),i.length||(i=t)),p(i)?(n=i.offset(),i.is("img")&&(s=i.outerWidth(),o=i.outerHeight())):(n.top=d.y+(d.h-o)*e.topRatio,n.left=d.x+(d.w-s)*e.leftRatio),("fixed"===r.wrap.css("position")||e.locked)&&(n.top-=d.y,n.left-=d.x),n={top:m(n.top-a*e.topRatio),left:m(n.left-l*e.leftRatio),width:m(s+l),height:m(o+a)}},step:function(e,t){var i,n,s,o=t.prop,a=r.current,l=a.wrapSpace,d=a.skinSpace;("width"===o||"height"===o)&&(i=t.end===t.start?1:(e-t.start)/(t.end-t.start),r.isClosing&&(i=1-i),n="width"===o?a.wPadding:a.hPadding,s=e-n,r.skin[o](g("width"===o?s:s-l*i)),r.inner[o](g("width"===o?s:s-l*i-d*i)))},zoomIn:function(){var e=r.current,t=e.pos,n=e.openEffect,s="elastic"===n,o=i.extend({opacity:1},t);delete o.position,s?(t=this.getOrigPosition(),e.openOpacity&&(t.opacity=.1)):"fade"===n&&(t.opacity=.1),r.wrap.css(t).animate(o,{duration:"none"===n?0:e.openSpeed,easing:e.openEasing,step:s?this.step:null,complete:r._afterZoomIn})},zoomOut:function(){var e=r.current,t=e.closeEffect,i="elastic"===t,n={opacity:.1};i&&(n=this.getOrigPosition(),e.closeOpacity&&(n.opacity=.1)),r.wrap.animate(n,{duration:"none"===t?0:e.closeSpeed,easing:e.closeEasing,step:i?this.step:null,complete:r._afterZoomOut})},changeIn:function(){var e,t=r.current,i=t.nextEffect,n=t.pos,s={opacity:1},o=r.direction,a=200;n.opacity=.1,"elastic"===i&&(e="down"===o||"up"===o?"top":"left","down"===o||"right"===o?(n[e]=m(g(n[e])-a),s[e]="+="+a+"px"):(n[e]=m(g(n[e])+a),s[e]="-="+a+"px")),"none"===i?r._afterZoomIn():r.wrap.css(n).animate(s,{duration:t.nextSpeed,easing:t.nextEasing,complete:r._afterZoomIn})},changeOut:function(){var e=r.previous,t=e.prevEffect,n={opacity:.1},s=r.direction,o=200;"elastic"===t&&(n["down"===s||"up"===s?"top":"left"]=("up"===s||"left"===s?"-":"+")+"="+o+"px"),e.wrap.animate(n,{duration:"none"===t?0:e.prevSpeed,easing:e.prevEasing,complete:function(){i(this).trigger("onReset").remove()}})}},r.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!c,fixed:!0},overlay:null,fixed:!1,el:i("html"),create:function(e){e=i.extend({},this.defaults,e),this.overlay&&this.close(),this.overlay=i('<div class="fancybox-overlay"></div>').appendTo(r.coming?r.coming.parent:e.parent),this.fixed=!1,e.fixed&&r.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(e){var t=this;e=i.extend({},this.defaults,e),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(e),this.fixed||(o.bind("resize.overlay",i.proxy(this.update,this)),this.update()),e.closeClick&&this.overlay.bind("click.overlay",function(e){return i(e.target).hasClass("fancybox-overlay")?(r.isActive?r.close():t.close(),!1):void 0}),this.overlay.css(e.css).show()},close:function(){var e,t;o.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(i(".fancybox-margin").removeClass("fancybox-margin"),e=o.scrollTop(),t=o.scrollLeft(),this.el.removeClass("fancybox-lock"),o.scrollTop(e).scrollLeft(t)),i(".fancybox-overlay").remove().hide(),i.extend(this,{overlay:null,fixed:!1})},update:function(){var e,i="100%";this.overlay.width(i).height("100%"),l?(e=Math.max(t.documentElement.offsetWidth,t.body.offsetWidth),a.width()>e&&(i=a.width())):a.width()>o.width()&&(i=a.width()),this.overlay.width(i).height(a.height())},onReady:function(e,t){var n=this.overlay;i(".fancybox-overlay").stop(!0,!0),n||this.create(e),e.locked&&this.fixed&&t.fixed&&(n||(this.margin=a.height()>o.height()?i("html").css("margin-right").replace("px",""):!1),t.locked=this.overlay.append(t.wrap),t.fixed=!1),e.showEarly===!0&&this.beforeShow.apply(this,arguments)},beforeShow:function(e,t){var n,s;t.locked&&(this.margin!==!1&&(i("*").filter(function(){return"fixed"===i(this).css("position")&&!i(this).hasClass("fancybox-overlay")&&!i(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),n=o.scrollTop(),s=o.scrollLeft(),this.el.addClass("fancybox-lock"),o.scrollTop(n).scrollLeft(s)),this.open(e)},onUpdate:function(){this.fixed||this.update()},afterClose:function(e){this.overlay&&!r.coming&&this.overlay.fadeOut(e.speedOut,i.proxy(this.close,this))}},r.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(e){var t,n,s=r.current,o=s.title,a=e.type;if(i.isFunction(o)&&(o=o.call(s.element,s)),u(o)&&""!==i.trim(o)){switch(t=i('<div class="fancybox-title fancybox-title-'+a+'-wrap">'+o+"</div>"),a){case"inside":n=r.skin;break;case"outside":n=r.wrap;break;case"over":n=r.inner;break;default:n=r.skin,t.appendTo("body"),l&&t.width(t.width()),t.wrapInner('<span class="child"></span>'),r.current.margin[2]+=Math.abs(g(t.css("margin-bottom")))}t["top"===e.position?"prependTo":"appendTo"](n)}}},i.fn.fancybox=function(e){var t,n=i(this),s=this.selector||"",o=function(o){var a,l,d=i(this).blur(),c=t;o.ctrlKey||o.altKey||o.shiftKey||o.metaKey||d.is(".fancybox-wrap")||(a=e.groupAttr||"data-fancybox-group",l=d.attr(a),l||(a="rel",l=d.get(0)[a]),l&&""!==l&&"nofollow"!==l&&(d=s.length?i(s):n,d=d.filter("["+a+'="'+l+'"]'),c=d.index(this)),e.index=c,r.open(d,e)!==!1&&o.preventDefault())};return e=e||{},t=e.index||0,s&&e.live!==!1?a.undelegate(s,"click.fb-start").delegate(s+":not('.fancybox-item, .fancybox-nav')","click.fb-start",o):n.unbind("click.fb-start").bind("click.fb-start",o),this.filter("[data-fancybox-start=1]").trigger("click"),this},a.ready(function(){var t,o;i.scrollbarWidth===n&&(i.scrollbarWidth=function(){var e=i('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),t=e.children(),n=t.innerWidth()-t.height(99).innerWidth();return e.remove(),n}),i.support.fixedPosition===n&&(i.support.fixedPosition=function(){var e=i('<div style="position:fixed;top:20px;"></div>').appendTo("body"),t=20===e[0].offsetTop||15===e[0].offsetTop;return e.remove(),t}()),i.extend(r.defaults,{scrollbarWidth:i.scrollbarWidth(),fixed:i.support.fixedPosition,parent:i("body")}),t=i(e).width(),s.addClass("fancybox-lock-test"),o=i(e).width(),s.removeClass("fancybox-lock-test"),i("<style type='text/css'>.fancybox-margin{margin-right:"+(o-t)+"px;}</style>").appendTo("head")})}(window,document,jQuery);
| + | |
| $(document).ready(function() { | | $(document).ready(function() { |
| | | |
Line 14,764: |
Line 444: |
| | | |
| <!-- templatemo 406 flex --> | | <!-- templatemo 406 flex --> |
− |
| + | </body> |
− | | + | |
− | | + | |
− | | + | |
− | </body> | + | |
| </html> | | </html> |