From dfbdb7cf2caac8040e39d7663590a3292c333587 Mon Sep 17 00:00:00 2001 From: Andrew Walter Date: Sun, 10 Dec 2023 13:30:49 +1100 Subject: [PATCH] Improve UI --- controllers/api/campaign.go | 2 +- static/css/dist/gophish.css | 2 +- static/css/main.css | 10 ++++ static/js/dist/app/autocomplete.min.js | 2 +- static/js/dist/app/campaign_results.min.js | 2 +- static/js/dist/app/campaigns.min.js | 2 +- static/js/dist/app/dashboard.min.js | 2 +- static/js/dist/app/gophish.min.js | 2 +- static/js/dist/app/sending_profiles.min.js | 2 +- static/js/dist/app/settings.min.js | 2 +- static/js/dist/app/users.min.js | 2 +- static/js/dist/app/webhooks.min.js | 2 +- static/js/dist/vendor.min.js | 61 +++++++++++++++++++++- static/js/src/app/campaign_results.js | 8 +-- templates/campaign_results.html | 2 +- 15 files changed, 86 insertions(+), 17 deletions(-) diff --git a/controllers/api/campaign.go b/controllers/api/campaign.go index 93881c09..b89c784f 100644 --- a/controllers/api/campaign.go +++ b/controllers/api/campaign.go @@ -121,7 +121,7 @@ func (as *Server) CampaignUpdateUsers(w http.ResponseWriter, r *http.Request) { } if r.Method == "GET" { - JSONResponse(w, models.Response{Success: true, Message: "Campaign user assignment updated successfully!"}, http.StatusOK) + JSONResponse(w, models.Response{Success: true, Message: "Users updated successfully!"}, http.StatusOK) return } } diff --git a/static/css/dist/gophish.css b/static/css/dist/gophish.css index 51c2c5db..60d4ad41 100644 --- a/static/css/dist/gophish.css +++ b/static/css/dist/gophish.css @@ -3,7 +3,7 @@ * Copyright 2011-2016 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,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-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}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{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;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-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!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^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(/font/glyphicons-halflings-regular.eot);src:url(/font/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(/font/glyphicons-halflings-regular.woff2) format('woff2'),url(/font/glyphicons-halflings-regular.woff) format('woff'),url(/font/glyphicons-halflings-regular.ttf) format('truetype'),url(/font/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:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-eur:before,.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"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.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;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.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,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,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,.h5,.h6,h4,h5,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:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.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 ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}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;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;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{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.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-md-1,.col-md-10,.col-md-11,.col-md-12,.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-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.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-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{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:auto}.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:auto}.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-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{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:auto}.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:auto}.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-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{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:auto}.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:auto}.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-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{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:auto}.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:auto}.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{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{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>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border: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;max-width:100%;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=checkbox],input[type=radio]{margin:4px 0 0;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{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,-webkit-box-shadow ease-in-out .15s;-o-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::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.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}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{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;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{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;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{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;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top: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 .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-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;-webkit-box-shadow:none;box-shadow:none;opacity:.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{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.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{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.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{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.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{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;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;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)}.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:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.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,.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-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-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:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left: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-left-radius:4px;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-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.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-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.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.3333333;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}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.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}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn: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=checkbox],.input-group-addon input[type=radio]{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-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-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:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-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:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{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{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.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:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.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:focus,.nav-tabs.nav-justified>.active>a:hover{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:focus,.nav-tabs.nav-justified>.active>a:hover{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:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.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{margin-bottom:5px;text-align:center}.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:focus,.nav-tabs-justified>.active>a:hover{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:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-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{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;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-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{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-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{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;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;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;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{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-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-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)}@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 .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;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-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{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:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{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:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{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:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@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:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.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{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.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;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.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:focus,.pager li>a:hover{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:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.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}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom: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}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{padding-right:15px;padding-left:15px;border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left: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:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.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,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.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}}@-o-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{height:20px;margin-bottom:20px;overflow:hidden;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:#337ab7;-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;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.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:-o-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);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-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:-o-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:-o-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:-o-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:-o-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{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.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-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{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-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>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,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.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 th:first-child,.panel>.table-responsive:first-child>.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 th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.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 th:last-child,.panel>.table-responsive:first-child>.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 th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.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 th:first-child,.panel>.table-responsive:last-child>.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 th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.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 th:last-child,.panel>.table-responsive:last-child>.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 th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.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,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.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-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.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-heading .badge{color:#dff0d8;background-color:#3c763d}.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-heading .badge{color:#d9edf7;background-color:#31708f}.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-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.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-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.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}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.in{opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@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:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;opacity:0;line-break:auto}.tooltip.in{opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;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{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-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;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;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);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;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{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";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{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.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;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:rgba(0,0,0,0);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.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%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;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-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left: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}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!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!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} -.swal2-popup{font-size:1.6rem!important}.nav-tabs{cursor:pointer}.datatable_hidden{display:none}.navbar-logo{margin:4px 0;float:left}#navbar-login{padding-top:8px;padding-bottom:0}#navbar-dropdown{margin-top:6px;margin-right:15px}.sans{font-family:'Open Sans',sans-serif!important}.label{font-family:Roboto,sans-serif!important}.form-signin{max-width:400px;padding:15px;margin:40px auto 0 auto}ul .dropdown-menu .ng-isolate-scope{visibility:visible;display:block;opacity:1}#login-button{padding:10px 15px}.form-signin-heading{text-align:center}.form-signin .checkbox,.form-signin .form-signin-heading{margin-bottom:10px}.form-signin .checkbox{font-weight:400}.form-signin .form-control{font-family:'Open Sans',sans-serif;position:relative;font-size:16px;height:auto;padding:10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-signin .form-control:focus{z-index:2}.form-signin .top-input{margin-bottom:-1px;border-bottom-left-radius:0;border-bottom-right-radius:0}.form-signin .middle-input{margin-bottom:-1px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.form-signin .bottom-input{margin-bottom:10px;border-top-left-radius:0;border-top-right-radius:0}#logo{display:block;margin-left:auto;margin-right:auto}footer>p{color:#444;font-family:'Open Sans',sans-serif}.header{margin-top:10px}.sidebar{padding-left:0}.sidebar a{color:#201e1c}.sidebar a:hover{color:#201e1c}.api_heading{font-family:'Open Sans',sans-serif;background-color:#201e1c;border-radius:5px;padding:10px;color:#e2e2e2;width:100%}p{font-size:1.2em}.form-label{padding-top:7px}.hover{visibility:visible}.edit-button{display:none}.editable-row:hover .edit-button{display:inline-block;padding:3px 6px;font-size:9px}.remove-row{float:right;cursor:pointer}.pagination{margin:0}@media (min-width:992px){.modal-dialog{width:700px}}.dropdown-menu>li>a{cursor:pointer}.btn-file{position:relative;overflow:hidden}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;text-align:right;opacity:0;outline:0;background:#fff;cursor:inherit;display:block}.typeahead{border-left-radius:6px!important;float:none!important}.tt-query{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.tt-hint{color:#999}.tt-menu{width:422px;margin-top:4px;padding:4px 0;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.tt-suggestion{padding:3px 20px;line-height:24px}.tt-suggestion.tt-cursor{color:#fff;background-color:#0097cf}.tt-suggestion p{margin:0}.typeahead-button{line-height:1.39!important}.ct-point{cursor:pointer}.ct-timeline-point{cursor:pointer;stroke:#fff;stroke-width:1px}.ct-point-sending{fill:#428bca!important}.ct-point-error{fill:#6c7a89!important}.ct-point-clicked{fill:#f39c12!important}.ct-point-opened{fill:#f9bf3b!important}.ct-point-sent{fill:#1abc9c!important}.ct-point-success{fill:#f05b4f!important}.chartist-tooltip{position:absolute;display:inline-block;min-width:5em;padding:.5em;background:#283f50;color:#fff;font-weight:700;text-align:center;pointer-events:none;z-index:1;margin-left:1.25em;font-size:.75em;border-radius:4px}.chartist-pie-tooltip{position:absolute;display:inline-block;min-width:5em;padding:.5em;background:#283f50;color:#fff;font-weight:700;text-align:center;pointer-events:none;z-index:1;margin-left:1.25em;font-size:.75em;border-radius:4px}.chartist-tooltip:after{content:"";position:absolute;top:100%;left:50%;width:0;height:0;margin-left:-15px;border:15px solid transparent;border-top-color:#283f50}.chartist-chart{height:175px}.chartist-legend{list-style:none;position:absolute;padding-left:0;top:0}.chartist-legend li{display:block;position:relative;margin-bottom:4px;border-radius:5px;padding:2px 8px 2px 8px;font-size:14px;cursor:default;-webkit-transition:background-color .2s ease-in-out;-moz-transition:background-color .2s ease-in-out;-o-transition:background-color .2s ease-in-out;transition:background-color .2s ease-in-out}.chartist-legend li span{display:inline-block;vertical-align:middle;width:20px;height:20px;margin-right:10px;border-radius:50%}.ct-series-a .ct-slice-donut{stroke:#1abc9c!important}.ct-slice-donut.ct-slice-donut-error{stroke:#6c7a89!important}.ct-slice-donut.ct-slice-donut-sent{stroke:#1abc9c!important}.ct-slice-donut.ct-slice-donut-opened{stroke:#f9bf3b!important}.ct-slice-donut.ct-slice-donut-success{stroke:#f05b4f!important}.ct-slice-donut.ct-slice-donut-clicked{stroke:#f39c12!important}.ct-slice-donut.ct-slice-donut-sending{stroke:#428bca!important}.ct-legend-error{background-color:#6c7a89!important}.ct-legend-sent{background-color:#1abc9c!important}.ct-legend-opened{background-color:#f9bf3b!important}.ct-legend-success{background-color:#f05b4f!important}.ct-legend-clicked{background-color:#f39c12!important}.ct-legend-sending{background-color:#428bca!important}.label-clicked{background-color:#f39c12!important}.gophish-editor{font-family:'Courier New',Monospace!important;font-size:small!important}#resultsMap{margin-top:-30px}@media (min-width:768px) and (max-width:1300px){.navbar-collapse.collapse{display:none!important}.navbar-collapse.collapse.in{display:block!important}.navbar-header .collapse,.navbar-toggle{display:block!important}.navbar-header{float:none!important}}.modal-content table{table-layout:fixed}.modal-content .dataTable tbody td{font-size:16px;overflow:hidden;text-overflow:ellipsis}.dataTables_info{font-size:15px}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after{font-family:FontAwesome!important;position:relative!important;display:initial!important;top:initial!important;right:initial!important;left:6px;color:#1abc9c}table.dataTable thead .sorting:after{content:"\f0dc"!important;color:initial}table.dataTable thead .sorting_asc:after{content:"\f0de"!important;opacity:.8!important}table.dataTable thead .sorting_desc:after{content:"\f0dd"!important;opacity:.8!important}td.details-control{cursor:pointer}.timeline{text-align:left;background-color:#fff}.timeline-graph{margin-left:30px}.timeline>h6{margin-top:0;margin-bottom:5px}.timeline>.subtitle{color:#999;font-style:italic;margin-bottom:15px;display:block}.timeline-entry{position:relative;padding-bottom:36px}.timeline-bar{display:block;content:"";position:absolute;top:5px;bottom:0;width:1px;left:-6px;background:#aaa}.timeline-entry:last-child .timeline-bar{display:none}.timeline-entry:last-child{padding-bottom:0}.timeline-icon{position:relative;float:left;margin-left:-24px;width:36px;top:-5px;height:36px;text-align:center;border-radius:50%}.timeline-icon>i{margin-top:10px;color:#fff}.timeline-message{padding-left:30px}.timeline-date{float:right;color:#999;font-style:italic}.timeline-event-details{font-size:16px;margin-top:5px;cursor:pointer}.timeline-replay-button{margin-top:10px}.timeline-event-details>.table-responsive{display:none}.timeline-event-details{margin-top:10px;margin-bottom:10px}.timeline-event-results{font-size:16px;display:none}.timeline-device-details{font-size:.8em;margin-top:10px}.timeline-device-os>span.fa-stack{font-size:.8em}.timeline-device-browser>span.fa-stack{font-size:.8em}.timeline-device-browser>span.fa-stack>i.fa-stack-1x{font-size:1.5em}i.fa-vendor-icon{font-size:.6em}i.fa-tablet+i.fa-vendor-icon{top:-2px}i.fa-tablet+i.fa-vendor-icon{top:-2px}i.fa-laptop+i.fa-vendor-icon{top:-2px}.tooltip-inner{width:300px!important}#refresh_message{display:none}#capture_passwords{display:none}#redirect_url{display:none}@media (max-width:767px){.navbar-header{margin-left:10px!important}}table.dataTable{width:100%!important}.btn-blue{color:#fff;background-color:#428bca;border-color:#428bca}.btn-blue:hover{background-color:#64a1d6}.select2-container--bootstrap .select2-selection--single .select2-selection__rendered{font-size:15px!important}.select2-container--bootstrap .select2-selection--single{height:42px!important;padding:8px 12px!important}.input-group-btn .btn{line-height:20px!important}.highcharts-title{font-family:"Source Sans Pro",Helvetica,Arial,sans-serif;font-size:16px!important}.color-success{font-weight:700;color:#f05b4f}.color-sent{font-weight:700;color:#1abc9c}.color-opened{font-weight:700;color:#f9bf3b}.color-clicked{font-weight:700;color:#f39c12}.color-reported{font-weight:700;color:#45d6ef}.color-success{color:#f05b4f}.nav-sidebar>li.active>a:focus,.nav-sidebar>li.active>a:hover{background-color:#37485a}.nav-badge{margin-top:5px}#resultsMapContainer{display:none}#csv-template{margin-left:15px;cursor:pointer}.cke_chrome{border-top:0!important}.cke_autocomplete_panel{width:400px!important}.cke_autocomplete_panel>li{padding:10px 5px!important}#password-strength{margin-top:20px;margin-bottom:0;height:8px}#password-strength-description{font-size:12px}#password-strength-container{height:40px} +.swal2-popup{font-size:1.6rem!important}.nav-tabs{cursor:pointer}.datatable_hidden{display:none}.navbar-logo{margin:4px 0;float:left}#navbar-login{padding-top:8px;padding-bottom:0}#navbar-dropdown{margin-top:6px;margin-right:15px}.sans{font-family:'Open Sans',sans-serif!important}.label{font-family:Roboto,sans-serif!important}.form-signin{max-width:400px;padding:15px;margin:40px auto 0 auto}ul .dropdown-menu .ng-isolate-scope{visibility:visible;display:block;opacity:1}#login-button{padding:10px 15px}.form-signin-heading{text-align:center}.form-signin .checkbox,.form-signin .form-signin-heading{margin-bottom:10px}.form-signin .checkbox{font-weight:400}.form-signin .form-control{font-family:'Open Sans',sans-serif;position:relative;font-size:16px;height:auto;padding:10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-signin .form-control:focus{z-index:2}.form-signin .top-input{margin-bottom:-1px;border-bottom-left-radius:0;border-bottom-right-radius:0}.form-signin .middle-input{margin-bottom:-1px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.form-signin .bottom-input{margin-bottom:10px;border-top-left-radius:0;border-top-right-radius:0}#logo{display:block;margin-left:auto;margin-right:auto}footer>p{color:#444;font-family:'Open Sans',sans-serif}.header{margin-top:10px}.sidebar{padding-left:0}.sidebar a{color:#201e1c}.sidebar a:hover{color:#201e1c}.api_heading{font-family:'Open Sans',sans-serif;background-color:#201e1c;border-radius:5px;padding:10px;color:#e2e2e2;width:100%}p{font-size:1.2em}.form-label{padding-top:7px}.hover{visibility:visible}.edit-button{display:none}.editable-row:hover .edit-button{display:inline-block;padding:3px 6px;font-size:9px}.remove-row{float:right;cursor:pointer}.pagination{margin:0}@media (min-width:992px){.modal-dialog{width:700px}}.dropdown-menu>li>a{cursor:pointer}.btn-file{position:relative;overflow:hidden}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;text-align:right;opacity:0;outline:0;background:#fff;cursor:inherit;display:block}.typeahead{border-left-radius:6px!important;float:none!important}.tt-query{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.tt-hint{color:#999}.tt-menu{width:422px;margin-top:4px;padding:4px 0;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.tt-suggestion{padding:3px 20px;line-height:24px}.tt-suggestion.tt-cursor{color:#fff;background-color:#0097cf}.tt-suggestion p{margin:0}.typeahead-button{line-height:1.39!important}.ct-point{cursor:pointer}.ct-timeline-point{cursor:pointer;stroke:#fff;stroke-width:1px}.ct-point-sending{fill:#428bca!important}.ct-point-error{fill:#6c7a89!important}.ct-point-clicked{fill:#f39c12!important}.ct-point-opened{fill:#f9bf3b!important}.ct-point-sent{fill:#1abc9c!important}.ct-point-success{fill:#f05b4f!important}.chartist-tooltip{position:absolute;display:inline-block;min-width:5em;padding:.5em;background:#283f50;color:#fff;font-weight:700;text-align:center;pointer-events:none;z-index:1;margin-left:1.25em;font-size:.75em;border-radius:4px}.chartist-pie-tooltip{position:absolute;display:inline-block;min-width:5em;padding:.5em;background:#283f50;color:#fff;font-weight:700;text-align:center;pointer-events:none;z-index:1;margin-left:1.25em;font-size:.75em;border-radius:4px}.chartist-tooltip:after{content:"";position:absolute;top:100%;left:50%;width:0;height:0;margin-left:-15px;border:15px solid transparent;border-top-color:#283f50}.chartist-chart{height:175px}.chartist-legend{list-style:none;position:absolute;padding-left:0;top:0}.chartist-legend li{display:block;position:relative;margin-bottom:4px;border-radius:5px;padding:2px 8px 2px 8px;font-size:14px;cursor:default;-webkit-transition:background-color .2s ease-in-out;-moz-transition:background-color .2s ease-in-out;-o-transition:background-color .2s ease-in-out;transition:background-color .2s ease-in-out}.chartist-legend li span{display:inline-block;vertical-align:middle;width:20px;height:20px;margin-right:10px;border-radius:50%}.ct-series-a .ct-slice-donut{stroke:#1abc9c!important}.ct-slice-donut.ct-slice-donut-error{stroke:#6c7a89!important}.ct-slice-donut.ct-slice-donut-sent{stroke:#1abc9c!important}.ct-slice-donut.ct-slice-donut-opened{stroke:#f9bf3b!important}.ct-slice-donut.ct-slice-donut-success{stroke:#f05b4f!important}.ct-slice-donut.ct-slice-donut-clicked{stroke:#f39c12!important}.ct-slice-donut.ct-slice-donut-sending{stroke:#428bca!important}.ct-legend-error{background-color:#6c7a89!important}.ct-legend-sent{background-color:#1abc9c!important}.ct-legend-opened{background-color:#f9bf3b!important}.ct-legend-success{background-color:#f05b4f!important}.ct-legend-clicked{background-color:#f39c12!important}.ct-legend-sending{background-color:#428bca!important}.label-clicked{background-color:#f39c12!important}.gophish-editor{font-family:'Courier New',Monospace!important;font-size:small!important}#resultsMap{margin-top:-30px}@media (min-width:768px) and (max-width:1300px){.navbar-collapse.collapse{display:none!important}.navbar-collapse.collapse.in{display:block!important}.navbar-header .collapse,.navbar-toggle{display:block!important}.navbar-header{float:none!important}}.modal-content table{table-layout:fixed}.modal-content .dataTable tbody td{font-size:16px;overflow:hidden;text-overflow:ellipsis}.dataTables_info{font-size:15px}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after{font-family:FontAwesome!important;position:relative!important;display:initial!important;top:initial!important;right:initial!important;left:6px;color:#1abc9c}table.dataTable thead .sorting:after{content:"\f0dc"!important;color:initial}table.dataTable thead .sorting_asc:after{content:"\f0de"!important;opacity:.8!important}table.dataTable thead .sorting_desc:after{content:"\f0dd"!important;opacity:.8!important}td.details-control{cursor:pointer}.timeline{text-align:left;background-color:#fff}.timeline-graph{margin-left:30px}.timeline>h6{margin-top:0;margin-bottom:5px}.timeline>.subtitle{color:#999;font-style:italic;margin-bottom:15px;display:block}.timeline-entry{position:relative;padding-bottom:36px}.timeline-bar{display:block;content:"";position:absolute;top:5px;bottom:0;width:1px;left:-6px;background:#aaa}.timeline-entry:last-child .timeline-bar{display:none}.timeline-entry:last-child{padding-bottom:0}.timeline-icon{position:relative;float:left;margin-left:-24px;width:36px;top:-5px;height:36px;text-align:center;border-radius:50%}.timeline-icon>i{margin-top:10px;color:#fff}.timeline-message{padding-left:30px}.timeline-date{float:right;color:#999;font-style:italic}.timeline-event-details{font-size:16px;margin-top:5px;cursor:pointer}.timeline-replay-button{margin-top:10px}.timeline-event-details>.table-responsive{display:none}.timeline-event-details{margin-top:10px;margin-bottom:10px}.timeline-event-results{font-size:16px;display:none}.timeline-device-details{font-size:.8em;margin-top:10px}.timeline-device-os>span.fa-stack{font-size:.8em}.timeline-device-browser>span.fa-stack{font-size:.8em}.timeline-device-browser>span.fa-stack>i.fa-stack-1x{font-size:1.5em}i.fa-vendor-icon{font-size:.6em}i.fa-tablet+i.fa-vendor-icon{top:-2px}i.fa-tablet+i.fa-vendor-icon{top:-2px}i.fa-laptop+i.fa-vendor-icon{top:-2px}.tooltip-inner{width:300px!important}#refresh_message{display:none}#capture_passwords{display:none}#redirect_url{display:none}@media (max-width:767px){.navbar-header{margin-left:10px!important}}table.dataTable{width:100%!important}.btn-blue{color:#fff;background-color:#428bca;border-color:#428bca}.btn-blue:hover{background-color:#64a1d6}.btn-orange{color:#fff;background-color:#ffac1c;border-color:#ffac1c}.btn-orange:hover{background-color:#ffd580}.select2-container--bootstrap .select2-selection--single .select2-selection__rendered{font-size:15px!important}.select2-container--bootstrap .select2-selection--single{height:42px!important;padding:8px 12px!important}.input-group-btn .btn{line-height:20px!important}.highcharts-title{font-family:"Source Sans Pro",Helvetica,Arial,sans-serif;font-size:16px!important}.color-success{font-weight:700;color:#f05b4f}.color-sent{font-weight:700;color:#1abc9c}.color-opened{font-weight:700;color:#f9bf3b}.color-clicked{font-weight:700;color:#f39c12}.color-reported{font-weight:700;color:#45d6ef}.color-success{color:#f05b4f}.nav-sidebar>li.active>a:focus,.nav-sidebar>li.active>a:hover{background-color:#37485a}.nav-badge{margin-top:5px}#resultsMapContainer{display:none}#csv-template{margin-left:15px;cursor:pointer}.cke_chrome{border-top:0!important}.cke_autocomplete_panel{width:400px!important}.cke_autocomplete_panel>li{padding:10px 5px!important}#password-strength{margin-top:20px;margin-bottom:0;height:8px}#password-strength-description{font-size:12px}#password-strength-container{height:40px} body{padding-top:50px}.sub-header{padding-bottom:10px;border-bottom:1px solid #eee}.sidebar{display:none}@media (min-width:768px){.sidebar{position:fixed;top:51px;bottom:0;left:0;display:block;padding:20px;overflow-x:hidden;overflow-y:auto;background-color:#f5f5f5;border-right:1px solid #eee}}.nav-sidebar{margin-right:-21px;margin-bottom:20px;margin-left:-20px}.nav-sidebar>li>a{padding-right:20px;padding-left:20px}.nav-sidebar>.active>a{color:#fff;background-color:#283f50}.main{padding:20px}@media (min-width:768px){.main{padding-right:40px;padding-left:40px}}.main .page-header{margin-top:0}.placeholders{margin-bottom:30px;text-align:center}.placeholders h4{margin-bottom:0}.placeholder{margin-bottom:20px}.placeholder img{display:inline-block;border-radius:50%} @font-face{font-family:Flat-UI-Icons;src:url(../font/flat-ui-icons-regular.eot);src:url(../font/flat-ui-icons-regular.eot?#iefix) format('embedded-opentype'),url(../font/flat-ui-icons-regular.woff) format('woff'),url(../font/flat-ui-icons-regular.ttf) format('truetype'),url(../font/flat-ui-icons-regular.svg#flat-ui-icons-regular) format('svg');font-weight:400;font-style:normal}[data-icon]:before{font-family:Flat-UI-Icons;content:attr(data-icon);speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fui-arrow-left,.fui-arrow-right,.fui-calendar-solid,.fui-chat,.fui-check,.fui-check-inverted,.fui-check-inverted-2,.fui-checkbox-checked,.fui-checkbox-unchecked,.fui-cmd,.fui-cross,.fui-eye,.fui-gear,.fui-heart,.fui-list,.fui-location,.fui-lock,.fui-mail,.fui-new,.fui-pause,.fui-photo,.fui-play,.fui-plus,.fui-radio-checked,.fui-radio-unchecked,.fui-search,.fui-time,.fui-user,.fui-video,.fui-volume{display:inline-block;font-family:Flat-UI-Icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fui-arrow-right:before{content:"\e02c"}.fui-arrow-left:before{content:"\e02d"}.fui-cmd:before{content:"\e02f"}.fui-check-inverted:before{content:"\e006"}.fui-heart:before{content:"\e007"}.fui-location:before{content:"\e008"}.fui-plus:before{content:"\e009"}.fui-check:before{content:"\e00a"}.fui-cross:before{content:"\e00b"}.fui-list:before{content:"\e00c"}.fui-new:before{content:"\e00d"}.fui-video:before{content:"\e00e"}.fui-photo:before{content:"\e00f"}.fui-volume:before{content:"\e010"}.fui-time:before{content:"\e011"}.fui-eye:before{content:"\e012"}.fui-chat:before{content:"\e013"}.fui-search:before{content:"\e01c"}.fui-user:before{content:"\e01d"}.fui-mail:before{content:"\e01e"}.fui-lock:before{content:"\e01f"}.fui-gear:before{content:"\e024"}.fui-radio-unchecked:before{content:"\e02b"}.fui-radio-checked:before{content:"\e032"}.fui-checkbox-unchecked:before{content:"\e033"}.fui-checkbox-checked:before{content:"\e034"}.fui-calendar-solid:before{content:"\e022"}.fui-pause:before{content:"\e03b"}.fui-play:before{content:"\e03c"}.fui-check-inverted-2:before{content:"\e000"}.dropdown-arrow-inverse{border-bottom-color:#283f50!important;border-top-color:#283f50!important}body{font-family:"Source Sans Pro",Helvetica,Arial,sans-serif;font-size:16px;line-height:1.72222;color:#283f50;background-color:#fff}a{color:#16a085;text-decoration:none;-webkit-transition:.25s;transition:.25s}a:focus,a:hover{color:#1abc9c;text-decoration:none}a:focus{outline:0}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.72222;background-color:#fff;border:2px solid #bdc3c7;border-radius:6px;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-comment{font-size:15px;line-height:1.2;font-style:italic;margin:24px 0}h1,h2,h3,h4,h5,h6{font-family:Roboto,sans-serif}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-weight:700;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{color:#e7e9ec}h1,h2,h3{margin-top:30px;margin-bottom:15px}h4,h5,h6{margin-top:15px;margin-bottom:15px}h6{font-weight:400}.h1,h1{font-size:61px}.h2,h2{font-size:53px}.h3,h3{font-size:40px}.h4,h4{font-size:29px}.h5,h5{font-size:28px}.h6,h6{font-size:24px}p{font-size:16px;line-height:1.72222;margin:0 0 15px}.lead{margin-bottom:30px;font-size:28px;line-height:1.46428571;font-weight:300}@media (min-width:768px){.lead{font-size:30.006px}}.small,small{font-size:83%;line-height:2.067}.text-muted{color:#bdc3c7}.text-inverse{color:#fff}.text-primary{color:#1abc9c}a.text-primary:hover{color:#15967d}.text-warning{color:#f1c40f}a.text-warning:hover{color:#c19d0c}.text-danger{color:#e74c3c}a.text-danger:hover{color:#b93d30}.text-success{color:#2ecc71}a.text-success:hover{color:#25a35a}.text-info{color:#3498db}a.text-info:hover{color:#2a7aaf}.bg-primary{color:#fff;background-color:#283f50}a.bg-primary:hover{background-color:#222f3d}.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:14px;margin:60px 0 30px;border-bottom:1px solid #e7e9ec}ol,ul{margin-bottom:15px}dl{margin-bottom:30px}dd,dt{line-height:1.72222}@media (min-width:768px){.dl-horizontal dt{width:160px}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{border-bottom:1px dotted #bdc3c7}blockquote{border-left:3px solid #e7e9ec;padding:0 0 0 16px;margin:0 0 30px}blockquote p{font-size:20px;line-height:1.55;font-weight:400;margin-bottom:.4em}blockquote .small,blockquote small{font-size:16px;line-height:1.72222;font-style:italic;color:inherit}blockquote .small:before,blockquote small:before{content:""}blockquote.pull-right{padding-right:16px;padding-left:0;border-right:3px solid #e7e9ec;border-left:0}blockquote.pull-right small:after{content:""}address{margin-bottom:30px;line-height:1.72222}code,kbd,pre,samp{font-family:Monaco,Menlo,Consolas,"Courier New",monospace}code{padding:2px 6px;font-size:85%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 6px;font-size:85%;color:#fff;background-color:#283f50;border-radius:4px;box-shadow:none}pre{padding:8px;margin:0 0 15px;font-size:13px;line-height:1.72222;color:inherit;background-color:#fff;border:2px solid #e7e9ec;border-radius:6px;white-space:pre}.pre-scrollable{max-height:340px}.thumbnail{display:block;padding:4px;margin-bottom:5px;line-height:1.72222;background-color:#fff;border:2px solid #bdc3c7;border-radius:6px;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out}.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto;margin-left:auto;margin-right:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#16a085}.thumbnail .caption{padding:9px;color:#283f50}.btn{border:none;font-size:15px;font-weight:400;line-height:1.4;border-radius:4px;padding:10px 15px;-webkit-font-smoothing:subpixel-antialiased;-webkit-transition:border .25s linear,color .25s linear,background-color .25s linear;transition:border .25s linear,color .25s linear,background-color .25s linear}.btn:focus,.btn:hover{outline:0;color:#fff}.btn.active,.btn:active{outline:0;-webkit-box-shadow:none;box-shadow:none}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{background-color:#bdc3c7;color:rgba(255,255,255,.75);opacity:.7}.btn>[class^=fui-]{margin:0 1px;position:relative;line-height:1;top:1px}.btn-xs.btn>[class^=fui-]{font-size:11px;top:0}.btn-hg.btn>[class^=fui-]{top:2px}.btn-default{color:#fff;background-color:#bdc3c7}.btn-default.active,.btn-default:active,.btn-default:focus,.btn-default:hover,.open .dropdown-toggle.btn-default{color:#fff;background-color:#cacfd2;border-color:#cacfd2}.btn-default.active,.btn-default:active,.open .dropdown-toggle.btn-default{background:#a1a6a9;border-color:#a1a6a9}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#bdc3c7;border-color:#bdc3c7}.btn-primary{color:#fff;background-color:#1abc9c}.btn-primary.active,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#48c9b0;border-color:#48c9b0}.btn-primary.active,.btn-primary:active,.open .dropdown-toggle.btn-primary{background:#16a085;border-color:#16a085}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#1abc9c;border-color:#1abc9c}.btn-info{color:#fff;background-color:#3498db}.btn-info.active,.btn-info:active,.btn-info:focus,.btn-info:hover,.open .dropdown-toggle.btn-info{color:#fff;background-color:#5dade2;border-color:#5dade2}.btn-info.active,.btn-info:active,.open .dropdown-toggle.btn-info{background:#2c81ba;border-color:#2c81ba}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#3498db;border-color:#3498db}.btn-danger{color:#fff;background-color:#e74c3c}.btn-danger.active,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#ec7063;border-color:#ec7063}.btn-danger.active,.btn-danger:active,.open .dropdown-toggle.btn-danger{background:#c44133;border-color:#c44133}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#e74c3c;border-color:#e74c3c}.btn-success{color:#fff;background-color:#2ecc71}.btn-success.active,.btn-success:active,.btn-success:focus,.btn-success:hover,.open .dropdown-toggle.btn-success{color:#fff;background-color:#58d68d;border-color:#58d68d}.btn-success.active,.btn-success:active,.open .dropdown-toggle.btn-success{background:#27ad60;border-color:#27ad60}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#2ecc71;border-color:#2ecc71}.btn-warning{color:#fff;background-color:#f1c40f}.btn-warning.active,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#f5d313;border-color:#f5d313}.btn-warning.active,.btn-warning:active,.open .dropdown-toggle.btn-warning{background:#cda70d;border-color:#cda70d}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f1c40f;border-color:#f1c40f}.btn-inverse{color:#fff;background-color:#283f50}.btn-inverse.active,.btn-inverse:active,.btn-inverse:focus,.btn-inverse:hover,.open .dropdown-toggle.btn-inverse{color:#fff;background-color:#415b76;border-color:#415b76}.btn-inverse.active,.btn-inverse:active,.open .dropdown-toggle.btn-inverse{background:#2c3e50;border-color:#2c3e50}.btn-inverse.disabled,.btn-inverse.disabled.active,.btn-inverse.disabled:active,.btn-inverse.disabled:focus,.btn-inverse.disabled:hover,.btn-inverse[disabled],.btn-inverse[disabled].active,.btn-inverse[disabled]:active,.btn-inverse[disabled]:focus,.btn-inverse[disabled]:hover,fieldset[disabled] .btn-inverse,fieldset[disabled] .btn-inverse.active,fieldset[disabled] .btn-inverse:active,fieldset[disabled] .btn-inverse:focus,fieldset[disabled] .btn-inverse:hover{background-color:#283f50;border-color:#283f50}.btn-embossed{-webkit-box-shadow:inset 0 -2px 0 rgba(0,0,0,.15);box-shadow:inset 0 -2px 0 rgba(0,0,0,.15)}.btn-embossed.active,.btn-embossed:active{-webkit-box-shadow:inset 0 2px 0 rgba(0,0,0,.15);box-shadow:inset 0 2px 0 rgba(0,0,0,.15)}.btn-wide{min-width:140px;padding-left:30px;padding-right:30px}.btn-link{color:#16a085}.btn-link:focus,.btn-link:hover{color:#1abc9c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#bdc3c7;text-decoration:none}.btn-hg{padding:13px 20px;font-size:22px;line-height:1.227;border-radius:6px}.btn-lg{padding:10px 19px;font-size:17px;line-height:1.471;border-radius:6px}.btn-sm{padding:9px 13px;font-size:13px;line-height:1.385;border-radius:4px}.btn-xs{padding:6px 9px;font-size:12px;line-height:1.083;border-radius:3px}.btn-tip{font-weight:300;padding-left:10px;font-size:92%}.btn-block{white-space:normal}.btn-default .caret{border-top-color:#fff}.btn-danger .caret,.btn-info .caret,.btn-primary .caret,.btn-success .caret,.btn-warning .caret{border-top-color:#fff}.dropup .btn-default .caret{border-bottom-color:#fff}.dropup .btn-danger .caret,.dropup .btn-info .caret,.dropup .btn-primary .caret,.dropup .btn-success .caret,.dropup .btn-warning .caret{border-bottom-color:#fff}.btn-group-xs>.btn{padding:6px 9px;font-size:12px;line-height:1.083;border-radius:3px}.btn-group-sm>.btn{padding:9px 13px;font-size:13px;line-height:1.385;border-radius:4px}.btn-group-lg>.btn{padding:10px 19px;font-size:17px;line-height:1.471;border-radius:6px}.btn-group-gh>.btn{padding:13px 20px;font-size:22px;line-height:1.227;border-radius:6px}.btn-group>.btn+.btn{margin-left:0}.btn-group>.btn+.dropdown-toggle{border-left:2px solid rgba(52,73,94,.15);padding-left:12px;padding-right:12px}.btn-group>.btn+.dropdown-toggle .caret{margin-left:3px;margin-right:3px}.btn-group>.btn.btn-gh+.dropdown-toggle .caret{margin-left:7px;margin-right:7px}.btn-group>.btn.btn-sm+.dropdown-toggle .caret{margin-left:0;margin-right:0}.btn-group>.btn,.btn-group>.dropdown-menu,.btn-group>.popover{font-weight:400}.btn-group:focus .dropdown-toggle{outline:0;-webkit-transition:.25s;transition:.25s}.btn-group.open .dropdown-toggle{color:rgba(255,255,255,.75);-webkit-box-shadow:none;box-shadow:none}.btn-toolbar .btn.active{color:#fff}.btn-toolbar .btn>[class^=fui-]{font-size:16px;margin:0 1px}.caret{border-width:8px 6px;border-bottom-color:#283f50;border-top-color:#283f50;border-style:solid;border-bottom-style:none;-webkit-transition:.25s;transition:.25s;-webkit-transform:scale(1.001);-ms-transform:scale(1.001);transform:scale(1.001)}.dropup .btn-lg .caret,.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-bottom-width:8px}.btn-lg .caret{border-top-width:8px;border-right-width:6px;border-left-width:6px}.select{display:inline-block;margin-bottom:10px}[class*=span]>.select[class*=span]{margin-left:0}.select[class*=span] .btn{width:100%}.select.select-block{display:block;float:none;margin-left:0;width:auto}.select.select-block:after,.select.select-block:before{content:" ";display:table}.select.select-block:after{clear:both}.select.select-block .btn{width:100%}.select.select-block .dropdown-menu{width:100%}.select .btn{width:220px}.select .btn.btn-hg .filter-option{left:20px;right:40px;top:13px}.select .btn.btn-hg .caret{right:20px}.select .btn.btn-lg .filter-option{left:16px;right:38px}.select .btn.btn-sm .filter-option{left:13px;right:33px}.select .btn.btn-sm .caret{right:13px}.select .btn.btn-xs .filter-option{left:13px;right:33px;top:5px}.select .btn.btn-xs .caret{right:13px}.select .btn .filter-option{height:26px;left:13px;overflow:hidden;position:absolute;right:33px;text-align:left;top:10px}.select .btn .caret{position:absolute;right:16px;top:50%;margin-top:-3px}.select .btn .dropdown-toggle{border-radius:6px}.select .btn .dropdown-menu{min-width:100%}.select .btn .dropdown-menu dt{cursor:default;display:block;padding:3px 20px}.select .btn .dropdown-menu li:not(.disabled)>a:hover small{color:rgba(255,255,255,.004)}.select .btn .dropdown-menu li>a{min-height:20px}.select .btn .dropdown-menu li>a.opt{padding-left:35px}.select .btn .dropdown-menu li small{padding-left:.5em}.select .btn .dropdown-menu li>dt small{font-weight:400}.select .btn .dropdown-menu li.disabled>a,.select .btn>.disabled{cursor:default}.select .caret{border-bottom-color:#fff;border-top-color:#fff}legend{display:block;width:100%;padding:0;margin-bottom:15px;font-size:24px;line-height:inherit;color:inherit;border-bottom:none}textarea{font-size:20px;line-height:24px;padding:5px 11px}input[type=search]{-webkit-appearance:none!important}label{font-weight:400;font-size:15px;line-height:2.4}.form-control:-moz-placeholder{color:#b2bcc5}.form-control::-moz-placeholder{color:#b2bcc5;opacity:1}.form-control:-ms-input-placeholder{color:#b2bcc5}.form-control::-webkit-input-placeholder{color:#b2bcc5}.form-control.placeholder{color:#b2bcc5}.form-control{border:1px solid #bdc3c7;color:#283f50;font-family:"Source Sans Pro",Helvetica,Arial,sans-serif;font-size:15px;line-height:1.467;padding:8px 12px;height:42px;-webkit-appearance:none;border-radius:6px;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:border .25s linear,color .25s linear,background-color .25s linear;transition:border .25s linear,color .25s linear,background-color .25s linear}.form-control:focus,.form-group.focus .form-control{border-color:#1abc9c;outline:0;-webkit-box-shadow:none;box-shadow:none}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#f4f6f6;border-color:#d5dbdb;color:#555;cursor:default;opacity:.7}.form-control.flat{border-color:transparent}.form-control.flat:hover{border-color:#bdc3c7}.form-control.flat:focus{border-color:#1abc9c}.input-sm{height:35px;padding:6px 10px;font-size:13px;line-height:1.462;border-radius:6px}select.input-sm{height:35px}select[multiple].input-sm,textarea.input-sm{height:auto}.input-lg{height:45px;padding:10px 15px;font-size:17px;line-height:1.235;border-radius:6px}select.input-lg{height:45px;line-height:45px}select[multiple].input-lg,textarea.input-lg{height:auto}.input-hg{height:53px;padding:10px 16px;font-size:22px;line-height:1.318;border-radius:6px}select.input-hg{height:53px;line-height:53px}select[multiple].input-hg,textarea.input-hg{height:auto}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline{color:#f1c40f}.has-warning .form-control{color:#f1c40f;border-color:#f1c40f;-webkit-box-shadow:none;box-shadow:none}.has-warning .form-control:-moz-placeholder{color:#f1c40f}.has-warning .form-control::-moz-placeholder{color:#f1c40f;opacity:1}.has-warning .form-control:-ms-input-placeholder{color:#f1c40f}.has-warning .form-control::-webkit-input-placeholder{color:#f1c40f}.has-warning .form-control.placeholder{color:#f1c40f}.has-warning .form-control:focus{border-color:#f1c40f;-webkit-box-shadow:none;box-shadow:none}.has-warning .input-group-addon{color:#f1c40f;border-color:#f1c40f;background-color:#fff}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline{color:#e74c3c}.has-error .form-control{color:#e74c3c;border-color:#e74c3c;-webkit-box-shadow:none;box-shadow:none}.has-error .form-control:-moz-placeholder{color:#e74c3c}.has-error .form-control::-moz-placeholder{color:#e74c3c;opacity:1}.has-error .form-control:-ms-input-placeholder{color:#e74c3c}.has-error .form-control::-webkit-input-placeholder{color:#e74c3c}.has-error .form-control.placeholder{color:#e74c3c}.has-error .form-control:focus{border-color:#e74c3c;-webkit-box-shadow:none;box-shadow:none}.has-error .input-group-addon{color:#e74c3c;border-color:#e74c3c;background-color:#fff}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline{color:#2ecc71}.has-success .form-control{color:#2ecc71;border-color:#2ecc71;-webkit-box-shadow:none;box-shadow:none}.has-success .form-control:-moz-placeholder{color:#2ecc71}.has-success .form-control::-moz-placeholder{color:#2ecc71;opacity:1}.has-success .form-control:-ms-input-placeholder{color:#2ecc71}.has-success .form-control::-webkit-input-placeholder{color:#2ecc71}.has-success .form-control.placeholder{color:#2ecc71}.has-success .form-control:focus{border-color:#2ecc71;-webkit-box-shadow:none;box-shadow:none}.has-success .input-group-addon{color:#2ecc71;border-color:#2ecc71;background-color:#fff}.help-block{font-size:15px;margin-bottom:5px;color:inherit}.form-group{position:relative;margin-bottom:20px}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .radio-inline{margin-top:0;margin-bottom:0;padding-top:6px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.form-horizontal .form-group:after,.form-horizontal .form-group:before{content:" ";display:table}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-control-static{padding-top:6px}.form-group{position:relative}.form-control+.input-icon{position:absolute;top:2px;right:2px;line-height:37px;vertical-align:middle;font-size:20px;color:#b2bcc5;background-color:#fff;padding:0 12px 0 0;border-radius:6px}.input-hg+.input-icon{line-height:49px;padding:0 16px 0 0}.input-lg+.input-icon{line-height:41px;padding:0 15px 0 0}.input-sm+.input-icon{font-size:16px;line-height:30px;padding:0 10px 0 0}.has-success .input-icon{color:#2ecc71}.has-warning .input-icon{color:#f1c40f}.has-error .input-icon{color:#e74c3c}.form-control.disabled+.input-icon,.form-control[disabled]+.input-icon,.form-control[readonly]+.input-icon,fieldset[disabled] .form-control+.input-icon{color:#d5dbdb;background-color:transparent;opacity:.7}.input-group-hg>.form-control,.input-group-hg>.input-group-addon,.input-group-hg>.input-group-btn>.btn{height:53px;padding:10px 16px;font-size:22px;line-height:1.318;border-radius:6px}select.input-group-hg>.form-control,select.input-group-hg>.input-group-addon,select.input-group-hg>.input-group-btn>.btn{height:53px;line-height:53px}select[multiple].input-group-hg>.form-control,select[multiple].input-group-hg>.input-group-addon,select[multiple].input-group-hg>.input-group-btn>.btn,textarea.input-group-hg>.form-control,textarea.input-group-hg>.input-group-addon,textarea.input-group-hg>.input-group-btn>.btn{height:auto}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:45px;padding:10px 15px;font-size:17px;line-height:1.235;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:45px;line-height:45px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.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:35px;padding:6px 10px;font-size:13px;line-height:1.462;border-radius:6px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:35px;line-height:35px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon{padding:10px 12px;font-size:15px;color:#fff;text-align:center;background-color:#bdc3c7;border:1px solid #bdc3c7;border-radius:6px;-webkit-transition:border .25s linear,color .25s linear,background-color .25s linear;transition:border .25s linear,color .25s linear,background-color .25s linear}.input-group-hg .input-group-addon,.input-group-lg .input-group-addon,.input-group-sm .input-group-addon{line-height:1}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.form-group.focus .input-group-addon,.input-group.focus .input-group-addon{background-color:#1abc9c;border-color:#1abc9c}.form-group.focus .input-group-btn>.btn-default+.btn-default,.input-group.focus .input-group-btn>.btn-default+.btn-default{border-left-color:#16a085}.form-group.focus .input-group-btn .btn,.input-group.focus .input-group-btn .btn{border-color:#1abc9c;background-color:#fff;color:#1abc9c}.form-group.focus .input-group-btn .btn-default,.input-group.focus .input-group-btn .btn-default{color:#fff;background-color:#1abc9c}.form-group.focus .input-group-btn .btn-default.active,.form-group.focus .input-group-btn .btn-default:active,.form-group.focus .input-group-btn .btn-default:focus,.form-group.focus .input-group-btn .btn-default:hover,.input-group.focus .input-group-btn .btn-default.active,.input-group.focus .input-group-btn .btn-default:active,.input-group.focus .input-group-btn .btn-default:focus,.input-group.focus .input-group-btn .btn-default:hover,.open .dropdown-toggle.form-group.focus .input-group-btn .btn-default,.open .dropdown-toggle.input-group.focus .input-group-btn .btn-default{color:#fff;background-color:#48c9b0;border-color:#48c9b0}.form-group.focus .input-group-btn .btn-default.active,.form-group.focus .input-group-btn .btn-default:active,.input-group.focus .input-group-btn .btn-default.active,.input-group.focus .input-group-btn .btn-default:active,.open .dropdown-toggle.form-group.focus .input-group-btn .btn-default,.open .dropdown-toggle.input-group.focus .input-group-btn .btn-default{background:#16a085;border-color:#16a085}.form-group.focus .input-group-btn .btn-default.disabled,.form-group.focus .input-group-btn .btn-default.disabled.active,.form-group.focus .input-group-btn .btn-default.disabled:active,.form-group.focus .input-group-btn .btn-default.disabled:focus,.form-group.focus .input-group-btn .btn-default.disabled:hover,.form-group.focus .input-group-btn .btn-default[disabled],.form-group.focus .input-group-btn .btn-default[disabled].active,.form-group.focus .input-group-btn .btn-default[disabled]:active,.form-group.focus .input-group-btn .btn-default[disabled]:focus,.form-group.focus .input-group-btn .btn-default[disabled]:hover,.input-group.focus .input-group-btn .btn-default.disabled,.input-group.focus .input-group-btn .btn-default.disabled.active,.input-group.focus .input-group-btn .btn-default.disabled:active,.input-group.focus .input-group-btn .btn-default.disabled:focus,.input-group.focus .input-group-btn .btn-default.disabled:hover,.input-group.focus .input-group-btn .btn-default[disabled],.input-group.focus .input-group-btn .btn-default[disabled].active,.input-group.focus .input-group-btn .btn-default[disabled]:active,.input-group.focus .input-group-btn .btn-default[disabled]:focus,.input-group.focus .input-group-btn .btn-default[disabled]:hover,fieldset[disabled] .form-group.focus .input-group-btn .btn-default,fieldset[disabled] .form-group.focus .input-group-btn .btn-default.active,fieldset[disabled] .form-group.focus .input-group-btn .btn-default:active,fieldset[disabled] .form-group.focus .input-group-btn .btn-default:focus,fieldset[disabled] .form-group.focus .input-group-btn .btn-default:hover,fieldset[disabled] .input-group.focus .input-group-btn .btn-default,fieldset[disabled] .input-group.focus .input-group-btn .btn-default.active,fieldset[disabled] .input-group.focus .input-group-btn .btn-default:active,fieldset[disabled] .input-group.focus .input-group-btn .btn-default:focus,fieldset[disabled] .input-group.focus .input-group-btn .btn-default:hover{background-color:#1abc9c;border-color:#1abc9c}.input-group-btn .btn{background-color:#fff;border:1px solid #bdc3c7;color:#bdc3c7;line-height:18px}.input-group-btn .btn-default{color:#fff;background-color:#bdc3c7}.input-group-btn .btn-default.active,.input-group-btn .btn-default:active,.input-group-btn .btn-default:focus,.input-group-btn .btn-default:hover,.open .dropdown-toggle.input-group-btn .btn-default{color:#fff;background-color:#cacfd2;border-color:#cacfd2}.input-group-btn .btn-default.active,.input-group-btn .btn-default:active,.open .dropdown-toggle.input-group-btn .btn-default{background:#a1a6a9;border-color:#a1a6a9}.input-group-btn .btn-default.disabled,.input-group-btn .btn-default.disabled.active,.input-group-btn .btn-default.disabled:active,.input-group-btn .btn-default.disabled:focus,.input-group-btn .btn-default.disabled:hover,.input-group-btn .btn-default[disabled],.input-group-btn .btn-default[disabled].active,.input-group-btn .btn-default[disabled]:active,.input-group-btn .btn-default[disabled]:focus,.input-group-btn .btn-default[disabled]:hover,fieldset[disabled] .input-group-btn .btn-default,fieldset[disabled] .input-group-btn .btn-default.active,fieldset[disabled] .input-group-btn .btn-default:active,fieldset[disabled] .input-group-btn .btn-default:focus,fieldset[disabled] .input-group-btn .btn-default:hover{background-color:#bdc3c7;border-color:#bdc3c7}.input-group-hg .input-group-btn .btn{line-height:31px}.input-group-lg .input-group-btn .btn{line-height:21px}.input-group-sm .input-group-btn .btn{line-height:19px}.input-group-btn:first-child>.btn{border-right-width:0;margin-right:-2px}.input-group-btn:last-child>.btn{border-left-width:0;margin-left:-2px}.input-group-btn>.btn-default+.btn-default{border-left:2px solid #bdc3c7}.input-group-btn>.btn:first-child+.btn .caret{margin-left:0}.input-group-rounded .input-group-btn+.form-control,.input-group-rounded .input-group-btn:last-child .btn{border-bottom-right-radius:20px;border-top-right-radius:20px}.input-group-hg.input-group-rounded .input-group-btn+.form-control,.input-group-hg.input-group-rounded .input-group-btn:last-child .btn{border-bottom-right-radius:27px;border-top-right-radius:27px}.input-group-lg.input-group-rounded .input-group-btn+.form-control,.input-group-lg.input-group-rounded .input-group-btn:last-child .btn{border-bottom-right-radius:25px;border-top-right-radius:25px}.input-group-rounded .form-control:first-child,.input-group-rounded .input-group-btn:first-child .btn{border-bottom-left-radius:20px;border-top-left-radius:20px}.input-group-hg.input-group-rounded .form-control:first-child,.input-group-hg.input-group-rounded .input-group-btn:first-child .btn{border-bottom-left-radius:27px;border-top-left-radius:27px}.input-group-lg.input-group-rounded .form-control:first-child,.input-group-lg.input-group-rounded .input-group-btn:first-child .btn{border-bottom-left-radius:25px;border-top-left-radius:25px}.input-group-rounded .input-group-btn+.form-control{padding-left:0}.checkbox,.radio{margin-bottom:12px;padding-left:32px;position:relative;-webkit-transition:color .25s linear;transition:color .25s linear;font-size:14px;line-height:1.5}.checkbox input,.radio input{outline:0!important;display:none}.checkbox .icons,.radio .icons{color:#bdc3c7;display:block;height:20px;left:0;position:absolute;top:0;width:20px;text-align:center;line-height:21px;font-size:20px;cursor:pointer;-webkit-transition:color .25s linear;transition:color .25s linear}.checkbox .icons .first-icon,.checkbox .icons .second-icon,.radio .icons .first-icon,.radio .icons .second-icon{display:inline-table;position:absolute;left:0;top:0;background-color:transparent;margin:0;opacity:1}.checkbox .icons .second-icon,.radio .icons .second-icon{opacity:0}.checkbox:hover,.radio:hover{-webkit-transition:color .25s linear;transition:color .25s linear}.checkbox:hover .first-icon,.radio:hover .first-icon{opacity:0}.checkbox:hover .second-icon,.radio:hover .second-icon{opacity:1}.checkbox.checked,.radio.checked{color:#1abc9c}.checkbox.checked .first-icon,.radio.checked .first-icon{opacity:0}.checkbox.checked .second-icon,.radio.checked .second-icon{opacity:1;color:#1abc9c;-webkit-transition:color .25s linear;transition:color .25s linear}.checkbox.disabled,.radio.disabled{cursor:default;color:#e6e8ea}.checkbox.disabled .icons,.radio.disabled .icons{color:#e6e8ea}.checkbox.disabled .first-icon,.radio.disabled .first-icon{opacity:1}.checkbox.disabled .second-icon,.radio.disabled .second-icon{opacity:0}.checkbox.disabled.checked .icons,.radio.disabled.checked .icons{color:#e6e8ea}.checkbox.disabled.checked .first-icon,.radio.disabled.checked .first-icon{opacity:0}.checkbox.disabled.checked .second-icon,.radio.disabled.checked .second-icon{opacity:1;color:#e6e8ea}.checkbox.primary .icons,.radio.primary .icons{color:#283f50}.checkbox.primary.checked,.radio.primary.checked{color:#1abc9c}.checkbox.primary.checked .icons,.radio.primary.checked .icons{color:#1abc9c}.checkbox.primary.disabled,.radio.primary.disabled{cursor:default;color:#bdc3c7}.checkbox.primary.disabled .icons,.radio.primary.disabled .icons{color:#bdc3c7}.checkbox.primary.disabled.checked .icons,.radio.primary.disabled.checked .icons{color:#bdc3c7}.checkbox+.checkbox,.radio+.radio{margin-top:10px}.navbar{font-size:16px;min-height:53px;margin-bottom:30px;border:none;border-radius:6px}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{box-shadow:none;padding-right:21px;padding-left:21px}@media (min-width:768px){.navbar-collapse .navbar-nav.navbar-left:first-child{margin-left:-21px}.navbar-collapse .navbar-nav.navbar-left:first-child>li:first-child a{border-bottom-left-radius:6px;border-top-left-radius:6px}.navbar-collapse .navbar-nav.navbar-right:last-child{margin-right:-21px}.navbar>.container .navbar-collapse .navbar-nav.navbar-right:last-child{margin-right:-36px}.navbar-collapse .navbar-nav.navbar-right:last-child>.dropdown:last-child>a{border-radius:0 6px 6px 0}.navbar-collapse .navbar-form.navbar-right:last-child{margin-right:-17px}.navbar-fixed-bottom .navbar-collapse .navbar-form.navbar-right:last-child,.navbar-fixed-top .navbar-collapse .navbar-form.navbar-right:last-child{margin-right:0}}@media (max-width:767px){.navbar-collapse .navbar-nav.navbar-right:last-child{margin-bottom:3px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-21px;margin-left:-21px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0;border-radius:0}.navbar-fixed-bottom,.navbar-fixed-top{z-index:1030;border-radius:0}.navbar-fixed-top{border-width:0}.navbar-fixed-bottom{margin-bottom:0;border-width:0}.navbar-brand{font-size:24px;line-height:1.042;font-weight:700;padding:14px 21px}.navbar-brand>[class*=fui-]{font-size:19px;line-height:1.263;vertical-align:top}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-21px}}.navbar-toggle{border:none;color:#283f50;margin:0 0 0 21px;padding:0 21px;height:53px;line-height:53px}.navbar-toggle:focus,.navbar-toggle:hover{outline:0}.navbar-toggle:focus:before,.navbar-toggle:hover:before{color:#1abc9c}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:0}.navbar-nav>li>a{font-size:16px;padding:15px 21px;line-height:23px;font-weight:700}.navbar-nav .dropdown-toggle .caret{border-top-color:#16a085;border-bottom-color:#16a085;border-width:8px 6px 0;margin-left:12px}.navbar-nav .open>a:focus,.navbar-nav .open>a:hover,.navbar-nav>li>a:focus,.navbar-nav>li>a:hover{background-color:transparent}.navbar-nav .open>a:focus .caret,.navbar-nav .open>a:hover .caret,.navbar-nav>li>a:focus .caret,.navbar-nav>li>a:hover .caret{border-top-color:#1abc9c;border-bottom-color:#1abc9c}.navbar-nav [class^=fui-]{line-height:20px;position:relative;top:1px}.navbar-nav .visible-sm>[class^=fui-],.navbar-nav .visible-xs>[class^=fui-]{margin-left:12px}@media (max-width:767px){.navbar-nav{margin:0 -21px}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:7px 15px 7px 31px!important}.navbar-nav .open .dropdown-menu>li>a{line-height:23px}.navbar-nav>li>a{padding-top:7px;padding-bottom:7px}}.navbar-input{height:35px;padding:5px 10px;font-size:13px;line-height:1.4;border-radius:6px}select.navbar-input{height:35px;line-height:35px}select[multiple].navbar-input,textarea.navbar-input{height:auto}.navbar-form{-webkit-box-shadow:none;box-shadow:none;margin-top:0;margin-bottom:0;padding-right:19px;padding-left:19px;padding-top:9px;padding-bottom:9px}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (max-width:767px){.navbar-form{margin:3px -21px;width:auto}}@media (min-width:768px){.navbar-form.navbar-right:last-child,.navbar-nav+.navbar-form.navbar-left{width:260px}}.navbar-form .btn,.navbar-form .form-control,.navbar-form .input-group-addon{height:35px;padding:5px 10px;font-size:13px;line-height:1.4;border-radius:6px}select.navbar-form .btn,select.navbar-form .form-control,select.navbar-form .input-group-addon{height:35px;line-height:35px}select[multiple].navbar-form .btn,select[multiple].navbar-form .form-control,select[multiple].navbar-form .input-group-addon,textarea.navbar-form .btn,textarea.navbar-form .form-control,textarea.navbar-form .input-group-addon{height:auto}.navbar-form .input-group .form-control:first-child,.navbar-form .input-group-addon:first-child,.navbar-form .input-group-btn:first-child>.btn,.navbar-form .input-group-btn:first-child>.dropdown-toggle,.navbar-form .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.navbar-form .input-group .form-control:last-child,.navbar-form .input-group-addon:last-child,.navbar-form .input-group-btn:first-child>.btn:not(:first-child),.navbar-form .input-group-btn:last-child>.btn,.navbar-form .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.navbar-form .form-control{font-size:15px;border-radius:5px;display:table-cell}.navbar-form .form-group+.btn{font-size:15px;border-radius:5px;margin-left:4px}@media (max-width:767px){.navbar-form .form-group{margin-bottom:0}.navbar-form .form-group+.btn{margin-top:9px;margin-left:0}}.navbar-nav>li>.dropdown-menu{min-width:100%;border-radius:4px}@media (max-width:767px){.navbar-nav>li>.dropdown-menu{-webkit-transition:all 0s;transition:all 0s;display:none}}@media (max-width:767px){.navbar-nav>li.open>.dropdown-menu{margin-top:0!important;display:block}}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.navbar-nav>.open>.dropdown-toggle,.navbar-nav>.open>.dropdown-toggle:focus,.navbar-nav>.open>.dropdown-toggle:hover{background-color:transparent}.navbar-text{font-size:16px;line-height:1.438;color:#283f50;margin-top:0;margin-bottom:0;padding-top:15px;padding-bottom:15px}@media (min-width:768px){.navbar-text{margin-left:21px;margin-right:21px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-btn{margin-top:6px;margin-bottom:6px}.navbar-btn.btn-sm{margin-top:9px;margin-bottom:8px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-new,.navbar-unread{font-family:"Source Sans Pro",Helvetica,Arial,sans-serif;background-color:#1abc9c;border-radius:50%;color:#fff;font-size:0;font-weight:700;height:6px;line-height:1;position:absolute;right:12px;text-align:center;top:35%;width:6px;z-index:10}@media (max-width:768px){.navbar-new,.navbar-unread{position:static;float:right;margin:0 0 0 10px}}.active .navbar-new,.active .navbar-unread{background-color:#fff;display:none}.navbar-new{background-color:#e74c3c;font-size:12px;height:18px;line-height:17px;margin:-6px -10px;min-width:18px;padding:0 1px;width:auto;-webkit-font-smoothing:subpixel-antialiased}.navbar-default{background-color:#ecf0f1}.navbar-default .navbar-brand{color:#283f50}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#1abc9c;background-color:transparent}.navbar-default .navbar-toggle:before{color:#283f50}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:transparent}.navbar-default .navbar-toggle:focus:before,.navbar-default .navbar-toggle:hover:before{color:#1abc9c}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e5e9ea;border-width:2px}.navbar-default .navbar-nav>li>a{color:#283f50}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#1abc9c;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#1abc9c;background-color:transparent}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-nav>.dropdown>a .caret{border-top-color:#283f50;border-bottom-color:#283f50}.navbar-default .navbar-nav>.active>a .caret{border-top-color:#1abc9c;border-bottom-color:#1abc9c}.navbar-default .navbar-nav>.dropdown>a:focus .caret,.navbar-default .navbar-nav>.dropdown>a:hover .caret{border-top-color:#1abc9c;border-bottom-color:#1abc9c}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{background-color:transparent;color:#1abc9c}.navbar-default .navbar-nav>.open>a .caret,.navbar-default .navbar-nav>.open>a:focus .caret,.navbar-default .navbar-nav>.open>a:hover .caret{border-top-color:#1abc9c;border-bottom-color:#1abc9c}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#283f50}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#1abc9c;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#1abc9c;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-form .form-control{border-color:transparent}.navbar-default .navbar-form .form-control:-moz-placeholder{color:#aeb6bf}.navbar-default .navbar-form .form-control::-moz-placeholder{color:#aeb6bf;opacity:1}.navbar-default .navbar-form .form-control:-ms-input-placeholder{color:#aeb6bf}.navbar-default .navbar-form .form-control::-webkit-input-placeholder{color:#aeb6bf}.navbar-default .navbar-form .form-control.placeholder{color:#aeb6bf}.navbar-default .navbar-form .form-control:focus{border-color:#1abc9c;color:#1abc9c}.navbar-default .navbar-form .input-group-btn .btn{border-color:transparent;color:#919ba4}.navbar-default .navbar-form .input-group.focus .form-control,.navbar-default .navbar-form .input-group.focus .input-group-btn .btn{border-color:#1abc9c;color:#1abc9c}.navbar-default .navbar-text{color:#283f50}.navbar-default .navbar-text a{color:#283f50}.navbar-default .navbar-text a:focus,.navbar-default .navbar-text a:hover{color:#1abc9c}.navbar-inverse{background-color:#283f50}.navbar-inverse .navbar-brand{color:#fff}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#1abc9c;background-color:transparent}.navbar-inverse .navbar-toggle:before{color:#fff}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:transparent}.navbar-inverse .navbar-toggle:focus:before,.navbar-inverse .navbar-toggle:hover:before{color:#1abc9c}.navbar-inverse .navbar-collapse{border-color:#2f4154;border-width:2px}.navbar-inverse .navbar-nav>li>a{color:#fff}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#1abc9c;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#1abc9c}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-nav>.dropdown>a:focus .caret,.navbar-inverse .navbar-nav>.dropdown>a:hover .caret{border-top-color:#1abc9c;border-bottom-color:#1abc9c}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{background-color:#1abc9c;color:#fff;border-left-color:transparent}.navbar-inverse .navbar-nav>.open>a .caret,.navbar-inverse .navbar-nav>.open>a:focus .caret,.navbar-inverse .navbar-nav>.open>a:hover .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .navbar-nav>.dropdown>a .caret{border-top-color:#4b6075;border-bottom-color:#4b6075}.navbar-inverse .navbar-nav>.open>.dropdown-arrow{border-top-color:#283f50;border-bottom-color:#283f50}.navbar-inverse .navbar-nav>.open>.dropdown-menu{background-color:#283f50;padding:3px 4px}.navbar-inverse .navbar-nav>.open>.dropdown-menu>li>a{color:#e1e4e7;border-radius:4px;padding:6px 9px}.navbar-inverse .navbar-nav>.open>.dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav>.open>.dropdown-menu>li>a:hover{color:#fff;background-color:#1abc9c}.navbar-inverse .navbar-nav>.open>.dropdown-menu>.divider{background-color:#2f4154;height:2px;margin-left:-4px;margin-right:-4px}@media (max-width:767px){.navbar-inverse .navbar-nav>li>a{border-left-width:0}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#fff}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#1abc9c;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#1abc9c}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-nav .dropdown-menu .divider{background-color:#2f4154}}.navbar-inverse .navbar-form .form-control{color:#536a81;border-color:transparent;background-color:#293a4a}.navbar-inverse .navbar-form .form-control:-moz-placeholder{color:#536a81}.navbar-inverse .navbar-form .form-control::-moz-placeholder{color:#536a81;opacity:1}.navbar-inverse .navbar-form .form-control:-ms-input-placeholder{color:#536a81}.navbar-inverse .navbar-form .form-control::-webkit-input-placeholder{color:#536a81}.navbar-inverse .navbar-form .form-control.placeholder{color:#536a81}.navbar-inverse .navbar-form .form-control:focus{border-color:#1abc9c;color:#1abc9c}.navbar-inverse .navbar-form .btn{color:#fff;background-color:#1abc9c}.navbar-inverse .navbar-form .btn.active,.navbar-inverse .navbar-form .btn:active,.navbar-inverse .navbar-form .btn:focus,.navbar-inverse .navbar-form .btn:hover,.open .dropdown-toggle.navbar-inverse .navbar-form .btn{color:#fff;background-color:#48c9b0;border-color:#48c9b0}.navbar-inverse .navbar-form .btn.active,.navbar-inverse .navbar-form .btn:active,.open .dropdown-toggle.navbar-inverse .navbar-form .btn{background:#16a085;border-color:#16a085}.navbar-inverse .navbar-form .btn.disabled,.navbar-inverse .navbar-form .btn.disabled.active,.navbar-inverse .navbar-form .btn.disabled:active,.navbar-inverse .navbar-form .btn.disabled:focus,.navbar-inverse .navbar-form .btn.disabled:hover,.navbar-inverse .navbar-form .btn[disabled],.navbar-inverse .navbar-form .btn[disabled].active,.navbar-inverse .navbar-form .btn[disabled]:active,.navbar-inverse .navbar-form .btn[disabled]:focus,.navbar-inverse .navbar-form .btn[disabled]:hover,fieldset[disabled] .navbar-inverse .navbar-form .btn,fieldset[disabled] .navbar-inverse .navbar-form .btn.active,fieldset[disabled] .navbar-inverse .navbar-form .btn:active,fieldset[disabled] .navbar-inverse .navbar-form .btn:focus,fieldset[disabled] .navbar-inverse .navbar-form .btn:hover{background-color:#1abc9c;border-color:#1abc9c}.navbar-inverse .navbar-form .input-group-btn .btn{border-color:transparent;background-color:#293a4a;color:#526a82}.navbar-inverse .navbar-form .input-group.focus .form-control,.navbar-inverse .navbar-form .input-group.focus .input-group-btn .btn{border-color:#1abc9c;color:#1abc9c}@media (max-width:767px){.navbar-inverse .navbar-form{border-color:#2f4154;border-width:2px 0}}.navbar-inverse .navbar-text{color:#fff}.navbar-inverse .navbar-text a{color:#fff}.navbar-inverse .navbar-text a:focus,.navbar-inverse .navbar-text a:hover{color:#1abc9c}.navbar-inverse .navbar-btn{color:#fff;background-color:#1abc9c}.navbar-inverse .navbar-btn.active,.navbar-inverse .navbar-btn:active,.navbar-inverse .navbar-btn:focus,.navbar-inverse .navbar-btn:hover,.open .dropdown-toggle.navbar-inverse .navbar-btn{color:#fff;background-color:#48c9b0;border-color:#48c9b0}.navbar-inverse .navbar-btn.active,.navbar-inverse .navbar-btn:active,.open .dropdown-toggle.navbar-inverse .navbar-btn{background:#16a085;border-color:#16a085}.navbar-inverse .navbar-btn.disabled,.navbar-inverse .navbar-btn.disabled.active,.navbar-inverse .navbar-btn.disabled:active,.navbar-inverse .navbar-btn.disabled:focus,.navbar-inverse .navbar-btn.disabled:hover,.navbar-inverse .navbar-btn[disabled],.navbar-inverse .navbar-btn[disabled].active,.navbar-inverse .navbar-btn[disabled]:active,.navbar-inverse .navbar-btn[disabled]:focus,.navbar-inverse .navbar-btn[disabled]:hover,fieldset[disabled] .navbar-inverse .navbar-btn,fieldset[disabled] .navbar-inverse .navbar-btn.active,fieldset[disabled] .navbar-inverse .navbar-btn:active,fieldset[disabled] .navbar-inverse .navbar-btn:focus,fieldset[disabled] .navbar-inverse .navbar-btn:hover{background-color:#1abc9c;border-color:#1abc9c}@media (min-width:768px){.navbar-embossed>.navbar-collapse{border-radius:6px;-webkit-box-shadow:inset 0 -2px 0 rgba(0,0,0,.15);box-shadow:inset 0 -2px 0 rgba(0,0,0,.15)}.navbar-embossed.navbar-inverse .navbar-nav .active>a,.navbar-embossed.navbar-inverse .navbar-nav .open>a{-webkit-box-shadow:inset 0 -2px 0 rgba(0,0,0,.15);box-shadow:inset 0 -2px 0 rgba(0,0,0,.15)}}.navbar-lg{min-height:76px}.navbar-lg .navbar-brand{line-height:1;padding-top:26px;padding-bottom:26px}.navbar-lg .navbar-brand>[class*=fui-]{font-size:24px;line-height:1}.navbar-lg .navbar-nav>li>a{font-size:15px;line-height:1.6}@media (min-width:768px){.navbar-lg .navbar-nav>li>a{padding-top:26px;padding-bottom:26px}}.navbar-lg .navbar-toggle{height:76px;line-height:76px}.navbar-lg .navbar-form{padding-top:20.5px;padding-bottom:20.5px}.navbar-lg .navbar-text{padding-top:26.5px;padding-bottom:26.5px}.navbar-lg .navbar-btn{margin-top:17.5px;margin-bottom:17.5px}.navbar-lg .navbar-btn.btn-sm{margin-top:20.5px;margin-bottom:20.5px}.navbar-lg .navbar-btn.btn-xs{margin-top:25.5px;margin-bottom:25.5px}.tagsinput{background:#fff;border:2px solid #1abc9c;border-radius:6px;height:100px;margin-bottom:18px;padding:6px 1px 1px 6px;overflow-y:auto;text-align:left}.tagsinput .tag{border-radius:4px;background-color:#1abc9c;color:#fff;font-size:14px;cursor:pointer;display:inline-block;margin-right:5px;margin-bottom:5px;overflow:hidden;line-height:15px;padding:6px 13px 8px 19px;position:relative;vertical-align:middle;-webkit-transition:.25s linear;transition:.25s linear}.tagsinput .tag:hover{background-color:#16a085;color:#fff;padding-left:12px;padding-right:20px}.tagsinput .tag:hover .tagsinput-remove-link{color:#fff;opacity:1}.tagsinput input{background:0 0;border:none;color:#283f50;font-family:"Source Sans Pro",Helvetica,Arial,sans-serif;font-size:14px;margin:0;padding:0 0 0 5px;outline:0!important;margin:6px 5px 0 0;vertical-align:top;width:12px}.tagsinput-remove-link{bottom:0;color:#fff;cursor:pointer;font-size:12px;opacity:0;padding:7px 7px 5px 0;position:absolute;right:0;text-align:right;text-decoration:none;top:0;width:100%;z-index:2}.tagsinput-remove-link:before{color:#fff;content:"\e00b";font-family:Flat-UI-Icons}.tagsinput-add-container{vertical-align:middle;display:inline-block}.tagsinput-add{background-color:#d6dbdf;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;line-height:1;margin-bottom:5px;padding:7px 9px;vertical-align:top;-webkit-transition:.25s linear;transition:.25s linear}.tagsinput-add:hover{background-color:#1abc9c}.tagsinput-add:before{content:"\e009";font-family:Flat-UI-Icons}.tags_clear{clear:both;width:100%;height:0}.not_valid{background:#fbd8db!important;color:#90111a!important;margin-left:5px!important}.twitter-typeahead{width:100%}.twitter-typeahead .tt-hint,.twitter-typeahead .tt-query{border:2px solid #bdc3c7;color:#283f50;font-family:"Source Sans Pro",Helvetica,Arial,sans-serif;font-size:15px;line-height:1.467;padding:8px 12px;height:42px;-webkit-appearance:none;border-radius:6px;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:border .25s linear,color .25s linear,background-color .25s linear;transition:border .25s linear,color .25s linear,background-color .25s linear}.twitter-typeahead .tt-hint:-moz-placeholder,.twitter-typeahead .tt-query:-moz-placeholder{color:#b2bcc5}.twitter-typeahead .tt-hint::-moz-placeholder,.twitter-typeahead .tt-query::-moz-placeholder{color:#b2bcc5;opacity:1}.twitter-typeahead .tt-hint:-ms-input-placeholder,.twitter-typeahead .tt-query:-ms-input-placeholder{color:#b2bcc5}.twitter-typeahead .tt-hint::-webkit-input-placeholder,.twitter-typeahead .tt-query::-webkit-input-placeholder{color:#b2bcc5}.twitter-typeahead .tt-hint.placeholder,.twitter-typeahead .tt-query.placeholder{color:#b2bcc5}.form-group.focus .twitter-typeahead .tt-hint,.form-group.focus .twitter-typeahead .tt-query,.twitter-typeahead .tt-hint:focus,.twitter-typeahead .tt-query:focus{border-color:#1abc9c;outline:0;-webkit-box-shadow:none;box-shadow:none}.twitter-typeahead .tt-hint[disabled],.twitter-typeahead .tt-hint[readonly],.twitter-typeahead .tt-query[disabled],.twitter-typeahead .tt-query[readonly],fieldset[disabled] .twitter-typeahead .tt-hint,fieldset[disabled] .twitter-typeahead .tt-query{background-color:#f4f6f6;border-color:#d5dbdb;color:#d5dbdb;cursor:default;opacity:.7}.twitter-typeahead .tt-hint.flat,.twitter-typeahead .tt-query.flat{border-color:transparent}.twitter-typeahead .tt-hint.flat:hover,.twitter-typeahead .tt-query.flat:hover{border-color:#bdc3c7}.twitter-typeahead .tt-hint.flat:focus,.twitter-typeahead .tt-query.flat:focus{border-color:#1abc9c}.twitter-typeahead .tt-hint+.input-icon,.twitter-typeahead .tt-query+.input-icon{position:absolute;top:2px;right:2px;line-height:37px;vertical-align:middle;font-size:20px;color:#b2bcc5;background-color:#fff;padding:0 12px 0 0;border-radius:6px}.twitter-typeahead .tt-dropdown-menu{width:100%;margin-top:5px;border:2px solid #1abc9c;padding:5px 0;background-color:#fff;border-radius:6px}.twitter-typeahead .tt-suggestion p{padding:6px 14px;font-size:14px;line-height:1.429;margin:0}.twitter-typeahead .tt-suggestion:first-child p,.twitter-typeahead .tt-suggestion:last-child p{padding:6px 14px}.twitter-typeahead .tt-suggestion.tt-is-under-cursor{color:#fff;background-color:#16a085}.progress{background:#ebedef;border-radius:32px;height:12px;-webkit-box-shadow:none;box-shadow:none}.progress-bar{background:#1abc9c;line-height:12px;-webkit-box-shadow:none;box-shadow:none}.progress-bar-success{background-color:#2ecc71}.progress-bar-warning{background-color:#f1c40f}.progress-bar-danger{background-color:#e74c3c}.progress-bar-info{background-color:#3498db}.ui-slider{background:#ebedef;border-radius:32px;height:12px;-webkit-box-shadow:none;box-shadow:none;margin-bottom:20px;position:relative;cursor:pointer}.ui-slider-handle{background-color:#16a085;border-radius:50%;cursor:pointer;height:18px;position:absolute;width:18px;z-index:2;-webkit-transition:background .25s;transition:background .25s}.ui-slider-handle:focus,.ui-slider-handle:hover{background-color:#48c9b0;outline:0}.ui-slider-handle:active{background-color:#16a085}.ui-slider-range{background-color:#1abc9c;display:block;height:100%;position:absolute;z-index:1}.ui-slider-segment{background-color:#d9dbdd;border-radius:50%;height:6px;width:6px}.ui-slider-value{float:right;font-size:13px;margin-top:12px}.ui-slider-value.first{clear:left;float:left}.ui-slider-horizontal .ui-slider-handle{margin-left:-9px;top:-3px}.ui-slider-horizontal .ui-slider-handle[style*="100"]{margin-left:-15px}.ui-slider-horizontal .ui-slider-range{border-radius:30px 0 0 30px}.ui-slider-horizontal .ui-slider-segment{float:left;margin:3px -6px 0 0}.ui-slider-vertical{width:12px}.ui-slider-vertical .ui-slider-handle{margin-left:-3px;margin-bottom:-11px;top:auto}.ui-slider-vertical .ui-slider-range{width:100%;bottom:0;border-radius:0 0 30px 30px}.ui-slider-vertical .ui-slider-segment{position:absolute;right:3px}.pager{background-color:#283f50;border-radius:6px;color:#fff;font-size:16px;font-weight:700;display:inline-block}.pager li:first-child>a,.pager li:first-child>span{border-left:none;border-radius:6px 0 0 6px}.pager li>a,.pager li>span{background:0 0;border:none;border-left:2px solid #2c3e50;color:#fff;padding:9px 15px 10px;text-decoration:none;white-space:nowrap;border-radius:0 6px 6px 0;line-height:1.313}.pager li>a:focus,.pager li>a:hover,.pager li>span:focus,.pager li>span:hover{background-color:#2c3e50}.pager li>a:active,.pager li>span:active{background-color:#2c3e50}.pager li>a [class*=fui-]+span,.pager li>span [class*=fui-]+span{margin-left:8px}.pager li>a span+[class*=fui-],.pager li>span span+[class*=fui-]{margin-left:8px}.pagination{position:relative}.pagination ul{background:#d6dbdf;color:#fff;padding:0;margin:0;display:inline-block;border-radius:6px}.pagination ul li{display:inline-block;margin-right:-3px;vertical-align:middle}.pagination ul li:first-child{border-radius:6px 0 0 6px}.pagination ul li:first-child.previous+li>a,.pagination ul li:first-child.previous+li>span{border-left-width:5px}.pagination ul li:last-child{border-radius:0 6px 6px 0;margin-right:0}.pagination ul li.next>a,.pagination ul li.next>span,.pagination ul li.previous>a,.pagination ul li.previous>span{background:0 0;border:none;border-right:2px solid #e4e7ea;font-size:16px;margin:0 9px 0 0;padding:12px 17px;border-radius:6px 0 0 6px}.pagination ul li.next>a,.pagination ul li.next>a:focus,.pagination ul li.next>a:hover,.pagination ul li.next>span,.pagination ul li.next>span:focus,.pagination ul li.next>span:hover,.pagination ul li.previous>a,.pagination ul li.previous>a:focus,.pagination ul li.previous>a:hover,.pagination ul li.previous>span,.pagination ul li.previous>span:focus,.pagination ul li.previous>span:hover{border-color:#e4e7ea!important}@media (max-width:480px){.pagination ul li.next>a,.pagination ul li.next>span,.pagination ul li.previous>a,.pagination ul li.previous>span{margin-right:0}}.pagination ul li.next{margin-left:9px}.pagination ul li.next>a,.pagination ul li.next>span{border-left:2px solid #e4e7ea;border-right:none;margin:0;border-radius:0 6px 6px 0}.pagination ul li.active>a,.pagination ul li.active>span{background-color:#fff;border-color:#fff;border-width:2px!important;color:#d6dbdf;margin:10px 5px 9px}.pagination ul li.active>a:focus,.pagination ul li.active>a:hover,.pagination ul li.active>span:focus,.pagination ul li.active>span:hover{background-color:#fff;border-color:#fff;color:#d6dbdf}.pagination ul li.active.next,.pagination ul li.active.previous{border-color:#e4e7ea}.pagination ul li.active.next>a,.pagination ul li.active.next>span,.pagination ul li.active.previous>a,.pagination ul li.active.previous>span{margin:0}.pagination ul li.active.next>a,.pagination ul li.active.next>a:focus,.pagination ul li.active.next>a:hover,.pagination ul li.active.next>span,.pagination ul li.active.next>span:focus,.pagination ul li.active.next>span:hover,.pagination ul li.active.previous>a,.pagination ul li.active.previous>a:focus,.pagination ul li.active.previous>a:hover,.pagination ul li.active.previous>span,.pagination ul li.active.previous>span:focus,.pagination ul li.active.previous>span:hover{background-color:#1abc9c;color:#fff}.pagination ul li.active.previous{margin-right:6px}.pagination ul li>a,.pagination ul li>span{display:inline-block;background:#fff;border:5px solid #d6dbdf;color:#fff;font-size:14px;line-height:16px;margin:7px 2px 6px;min-width:0;min-height:16px;padding:0 4px;border-radius:50px;-webkit-transition:background .2s ease-out,border-color 0s ease-out,color .2s ease-out;transition:background .2s ease-out,border-color 0s ease-out,color .2s ease-out}.pagination ul li>a:focus,.pagination ul li>a:hover,.pagination ul li>span:focus,.pagination ul li>span:hover{background-color:#1abc9c;border-color:#1abc9c;color:#fff;-webkit-transition:background .2s ease-out,border-color .2s ease-out,color .2s ease-out;transition:background .2s ease-out,border-color .2s ease-out,color .2s ease-out}.pagination ul li>a:active,.pagination ul li>span:active{background-color:#16a085;border-color:#16a085}.pagination>.btn.next,.pagination>.btn.previous{margin-right:8px;font-size:14px;line-height:1.429;padding-left:23px;padding-right:23px}.pagination>.btn.next [class*=fui-],.pagination>.btn.previous [class*=fui-]{font-size:16px;margin-left:-2px;margin-top:-2px}.pagination>.btn.next{margin-left:8px;margin-right:0}.pagination>.btn.next [class*=fui-]{margin-right:-2px;margin-left:4px}.tooltip{font-size:14px;line-height:1.286}.tooltip.in{opacity:1}.tooltip.top{padding-bottom:9px}.tooltip.top .tooltip-arrow{border-top-color:#283f50;border-width:9px 9px 0;bottom:0;margin-left:-9px}.tooltip.right .tooltip-arrow{border-right-color:#283f50;border-width:9px 9px 9px 0;margin-top:-9px;left:-3px}.tooltip.bottom{padding-top:8px}.tooltip.bottom .tooltip-arrow{border-bottom-color:#283f50;border-width:0 9px 9px;margin-left:-9px;top:-1px}.tooltip.left .tooltip-arrow{border-left-color:#283f50;border-width:9px 0 9px 9px;margin-top:-9px;right:-3px}.tooltip-inner{background-color:#283f50;line-height:1.286;padding:12px 12px;text-align:center;width:183px;border-radius:6px}.dropup .dropdown-arrow,.navbar-fixed-bottom .dropdown .dropdown-arrow{border-bottom:none;border-top:8px outset #f3f4f5;bottom:100%;top:auto}.navbar-fixed-bottom .nav>li>ul:before{border-bottom:none;border-top:9px outset #283f50;bottom:4px;top:auto}.open.dropup>.dropdown-menu{margin-bottom:18px}.open.dropup>.dropdown-arrow{margin-bottom:10px}.open.dropup>.dropdown-arrow.dropdown-arrow-inverse{border-top-color:#283f50}.open>.dropdown-arrow{margin-top:11px;opacity:1}.dropdown-arrow{border-style:solid;border-width:0 8px 7px;border-color:transparent transparent #f3f4f5 transparent;height:0;margin-top:0;opacity:0;position:absolute;right:19px;top:100%;width:0;z-index:10;-webkit-transform:rotate(360deg);-webkit-transition:.25s;transition:.25s}.dropdown-inverse{background-color:#283f50;color:#ccc;padding:4px 0 6px}.dropdown-inverse li{margin:0 4px -2px}.dropdown-inverse li:first-child>a,.dropdown-inverse li:last-child>a{border-radius:2px;padding-bottom:7px;padding-top:5px}.dropdown-inverse li:first-child dt+a,.dropdown-inverse li:last-child dt+a{border-radius:2px}.dropdown-inverse li.active>a,.dropdown-inverse li.selected>a{background:#1abc9c;color:#fff;position:relative;z-index:1}.dropdown-inverse li dt{padding-left:11px;padding-right:11px}.dropdown-inverse li .divider{margin-left:11px;margin-right:11px}.dropdown-inverse li>a{border-radius:2px;color:#fff;padding:5px 11px 7px}.dropdown-inverse li>a:active,.dropdown-inverse li>a:focus,.dropdown-inverse li>a:hover{background:#2c3e50}.dropdown-inverse li>a.highlighted{background:#526476}.dropdown-inverse li>a.highlighted:focus,.dropdown-inverse li>a.highlighted:hover{background:#677786}.dropdown-inverse li .divider{background-color:#526476;border-bottom-color:#526476}.has-switch{border-radius:30px;display:inline-block;cursor:pointer;line-height:1.72222;overflow:hidden;position:relative;text-align:left;width:80px;-webkit-mask:url(../images/switch/mask.png) 0 0 no-repeat;mask:url(../images/switch/mask.png) 0 0 no-repeat;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.has-switch.deactivate{opacity:.5;cursor:default!important}.has-switch.deactivate label,.has-switch.deactivate span{cursor:default!important}.has-switch>div{width:130px;position:relative;top:0}.has-switch>div.switch-animate{-webkit-transition:left .25s ease-out;transition:left .25s ease-out}.has-switch>div.switch-off{left:-50px}.has-switch>div.switch-off label{background-color:#7f8c9a;border-color:#bdc3c7;-webkit-box-shadow:-1px 0 0 rgba(255,255,255,.5);box-shadow:-1px 0 0 rgba(255,255,255,.5)}.has-switch>div.switch-on{left:0}.has-switch>div.switch-on label{background-color:#1abc9c}.has-switch input[type=checkbox]{display:none}.has-switch span{cursor:pointer;font-size:15px;font-weight:700;float:left;height:29px;line-height:19px;margin:0;padding-bottom:6px;padding-top:5px;position:relative;text-align:center;width:50%;z-index:1;-webkit-transition:.25s ease-out;transition:.25s ease-out}.has-switch span.switch-left{border-radius:30px 0 0 30px;background-color:#283f50;color:#1abc9c;border-left:1px solid transparent}.has-switch span.switch-right{border-radius:0 30px 30px 0;background-color:#bdc3c7;color:#fff;text-indent:7px}.has-switch span.switch-right [class*=fui-]{text-indent:0}.has-switch label{border:4px solid #283f50;border-radius:50%;float:left;height:29px;margin:0 -15px;padding:0;position:relative;vertical-align:middle;width:29px;z-index:100;-webkit-transition:.25s ease-out;transition:.25s ease-out}.switch-square{border-radius:6px;-webkit-mask:url(../images/switch/mask.png) 0 0 no-repeat;mask:url(../images/switch/mask.png) 0 0 no-repeat}.switch-square>div.switch-off label{border-color:#7f8c9a;border-radius:6px 0 0 6px}.switch-square span.switch-left{border-radius:6px 0 0 6px}.switch-square span.switch-left [class*=fui-]{text-indent:-10px}.switch-square span.switch-right{border-radius:0 6px 6px 0}.switch-square span.switch-right [class*=fui-]{text-indent:5px}.switch-square label{border-radius:0 6px 6px 0;border-color:#1abc9c}.share{background-color:#eff0f2;position:relative;border-radius:6px}.share:before{content:"";border-style:solid;border-width:0 9px 9px 9px;border-color:transparent transparent #eff0f2 transparent;height:0;position:absolute;left:23px;top:-9px;width:0;-webkit-transform:rotate(360deg)}.share ul{list-style-type:none;margin:0;padding:15px}.share li{font-size:15px;line-height:1.4;padding-top:11px}.share li:after,.share li:before{content:" ";display:table}.share li:after{clear:both}.share li:first-child{padding-top:0}.share .toggle{float:right;margin:0}.share .btn{border-radius:0 0 6px 6px}.share-label{float:left;font-size:15px;line-height:1.4;padding-top:5px;width:50%}.pallete-item{width:140px;float:left;margin:0 0 20px 20px}.palette{font-size:14px;line-height:1.214;color:#fff;margin:0;padding:15px;text-transform:uppercase}.palette dd,.palette dt{line-height:1.429}.palette dt{display:block;font-weight:700;opacity:.8}.palette dd{font-weight:300;margin-left:0;opacity:.8;-webkit-font-smoothing:subpixel-antialiased}.palette-turquoise{background-color:#1abc9c}.palette-green-sea{background-color:#16a085}.palette-emerald{background-color:#2ecc71}.palette-nephritis{background-color:#27ae60}.palette-peter-river{background-color:#3498db}.palette-belize-hole{background-color:#2980b9}.palette-amethyst{background-color:#9b59b6}.palette-wisteria{background-color:#8e44ad}.palette-wet-asphalt{background-color:#283f50}.palette-midnight-blue{background-color:#2c3e50}.palette-sun-flower{background-color:#f1c40f}.palette-orange{background-color:#f39c12}.palette-carrot{background-color:#e67e22}.palette-pumpkin{background-color:#d35400}.palette-alizarin{background-color:#e74c3c}.palette-pomegranate{background-color:#c0392b}.palette-clouds{background-color:#ecf0f1}.palette-silver{background-color:#bdc3c7}.palette-concrete{background-color:#95a5a6}.palette-asbestos{background-color:#7f8c8d}.palette-clouds{color:#bdc3c7}.palette-paragraph{color:#7f8c8d;font-size:12px;line-height:17px}.palette-paragraph span{color:#bdc3c7}.palette-headline{color:#7f8c8d;font-size:13px;font-weight:700;margin-top:-3px}.tile{background-color:#eff0f2;border-radius:6px;padding:14px;position:relative;text-align:center}.tile.tile-hot:before{background:url(../images/tile/ribbon.png) 0 0 no-repeat;background-size:82px 82px;content:'';height:82px;position:absolute;right:-4px;top:-4px;width:82px}.tile p{font-size:15px;margin-bottom:33px}.tile-image{height:100px;margin:31px 0 27px;vertical-align:bottom}.tile-image.big-illustration{height:111px;margin-top:20px;width:112px}.tile-title{font-size:20px;margin:0}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (-moz-min-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:3/2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (-moz-min-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:2){.tile.tile-hot:before{background-image:url(../images/tile/ribbon-2x.png)}}.todo{color:#798795;margin-bottom:20px;border-radius:6px}.todo ul{background-color:#2c3e50;margin:0;padding:0;list-style-type:none;border-radius:0 0 6px 6px}.todo li{background:#283f50 url(../images/todo/todo.png) 92% center no-repeat;background-size:20px 20px;cursor:pointer;font-size:14px;line-height:1.214;margin-top:2px;padding:18px 42px 21px 25px;position:relative;-webkit-transition:.25s;transition:.25s}.todo li:first-child{margin-top:0}.todo li:last-child{border-radius:0 0 6px 6px;padding-bottom:21px}.todo li.todo-done{background:transparent url(../images/todo/done.png) 92% center no-repeat;background-size:20px 20px;color:#1abc9c}.todo li.todo-done .todo-name{color:#1abc9c}.todo-search{position:relative;background:#1abc9c;background-size:16px 16px;border-radius:6px 6px 0 0;color:#283f50;padding:19px 25px 20px}.todo-search:before{position:absolute;font-family:Flat-UI-Icons;content:"\e01c";font-size:16px;line-height:17px;display:inline-block;top:50%;left:92%;margin:-.5em 0 0 -1em}input.todo-search-field{background:0 0;border:none;color:#283f50;font-size:19px;font-weight:700;margin:0;line-height:23px;padding:5px 0;text-indent:0;-webkit-box-shadow:none;box-shadow:none}input.todo-search-field:-moz-placeholder{color:#283f50}input.todo-search-field::-moz-placeholder{color:#283f50;opacity:1}input.todo-search-field:-ms-input-placeholder{color:#283f50}input.todo-search-field::-webkit-input-placeholder{color:#283f50}input.todo-search-field.placeholder{color:#283f50}.todo-icon{float:left;font-size:24px;padding:11px 22px 0 0}.todo-content{padding-top:1px;overflow:hidden}.todo-name{color:#fff;font-size:17px;margin:1px 0 3px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (-moz-min-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:3/2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (-moz-min-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:2){.todo li{background-image:url(../images/todo/todo-2x.png)}.todo li.todo-done{background-image:url(../images/todo/done-2x.png)}}.video-js{background-color:transparent;margin-top:-95px;position:relative;padding:0;font-size:10px;vertical-align:middle;border-radius:6px 6px 0 0;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.video-js .vjs-tech{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:6px 6px 0 0}.video-js:-moz-full-screen{position:absolute}body.vjs-full-window{padding:0;margin:0;height:100%;overflow-y:auto}.video-js.vjs-fullscreen{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0;width:100%!important;height:100%!important}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.vjs-poster{margin:0 auto;padding:0;cursor:pointer;position:relative;width:100%;max-height:100%;border-radius:6px 6px 0 0}.video-js .vjs-text-track-display{text-align:center;position:absolute;bottom:4em;left:1em;right:1em;font-family:"Source Sans Pro",Helvetica,Arial,sans-serif}.video-js .vjs-text-track{display:none;color:#fff;font-size:1.4em;text-align:center;margin-bottom:.1em;background:#000;background:rgba(0,0,0,.5)}.video-js .vjs-subtitles{color:#fff}.video-js .vjs-captions{color:#fc6}.vjs-tt-cue{display:block}.vjs-fade-in{visibility:visible!important;opacity:1!important;-webkit-transition:visibility 0s linear 0s,opacity .3s linear;transition:visibility 0s linear 0s,opacity .3s linear}.vjs-fade-out{visibility:hidden!important;opacity:0!important;-webkit-transition:visibility 0s linear 1.5s,opacity 1.5s linear;transition:visibility 0s linear 1.5s,opacity 1.5s linear}.vjs-control-bar{position:absolute;bottom:-47px;left:0;right:0;margin:0;padding:0;height:47px;color:#fff;background:#273747;border-radius:0 0 6px 6px}.vjs-control-bar.vjs-fade-out{visibility:visible!important;opacity:1!important}.vjs-control{background-position:center center;background-repeat:no-repeat;position:relative;float:left;text-align:center;margin:0;padding:0;height:18px;width:18px}.vjs-control:focus{outline:0}.vjs-control div{background-position:center center;background-repeat:no-repeat}.vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.vjs-play-control{cursor:pointer!important;height:47px;left:0;position:absolute;top:0;width:58px}.vjs-play-control div{position:relative;height:47px}.vjs-play-control div:after,.vjs-play-control div:before{position:absolute;font-family:Flat-UI-Icons;color:#1abc9c;font-size:16px;top:50%;left:50%;margin:-.55em 0 0 -.5em;-webkit-transition:color .25s,opacity .25s;transition:color .25s,opacity .25s}.vjs-play-control div:after{content:"\e03b"}.vjs-play-control div:before{content:"\e03c"}.vjs-paused .vjs-play-control:hover div:before{color:#16a085}.vjs-paused .vjs-play-control div:after{opacity:0}.vjs-paused .vjs-play-control div:before{opacity:1}.vjs-playing .vjs-play-control:hover div:after{color:#16a085}.vjs-playing .vjs-play-control div:after{opacity:1}.vjs-playing .vjs-play-control div:before{opacity:0}.vjs-rewind-control{width:5em;cursor:pointer!important}.vjs-rewind-control div{width:19px;height:16px;background:none transparent;margin:.5em auto 0}.vjs-mute-control{background:url(../images/video/volume-full.png) center -48px no-repeat;background-size:16px 64px;cursor:pointer!important;position:absolute;right:51px;top:14px}.vjs-mute-control:focus div,.vjs-mute-control:hover div{opacity:0}.vjs-mute-control.vjs-vol-0,.vjs-mute-control.vjs-vol-0 div{background-image:url(../images/video/volume-off.png)}.vjs-mute-control div{background:#273747 url(../images/video/volume-full.png) no-repeat center 2px;background-size:16px 64px;height:18px;-webkit-transition:opacity .25s;transition:opacity .25s}.vjs-volume-bar,.vjs-volume-control,.vjs-volume-handle,.vjs-volume-level{display:none}.vjs-progress-control{position:absolute;left:60px;right:180px;height:12px;width:auto;top:18px;background:#425669;border-radius:32px}.vjs-progress-holder{position:relative;cursor:pointer!important;padding:0;margin:0;height:12px}.vjs-load-progress,.vjs-play-progress{position:absolute;display:block;height:12px;margin:0;padding:0;left:0;top:0;border-radius:32px}.vjs-play-progress{background:#1abc9c;left:-1px}.vjs-load-progress{background:#d6dbdf;border-radius:32px 0 0 32px}.vjs-load-progress[style*='100%'],.vjs-load-progress[style*='99%']{border-radius:32px}.vjs-seek-handle{background-color:#16a085;position:absolute;width:18px;height:18px;margin:-3px 0 0 1px;left:0;top:0;border-radius:50%;-webkit-transition:background-color .25s;transition:background-color .25s}.vjs-seek-handle[style*='95.']{margin-left:3px}.vjs-seek-handle[style='left: 0%;']{margin-left:-2px}.vjs-seek-handle:focus,.vjs-seek-handle:hover{background-color:#148d75}.vjs-seek-handle:active{background-color:#117a65}.vjs-time-controls{position:absolute;height:20px;width:50px;top:16px;font:300 13px "Source Sans Pro",Helvetica,Arial,sans-serif}.vjs-current-time{right:128px;text-align:right}.vjs-duration{color:#5d6d7e;right:69px;text-align:left}.vjs-remaining-time{display:none}.vjs-time-divider{color:#5d6d7e;font-size:14px;position:absolute;right:121px;top:15px}.vjs-secondary-controls{float:right}.vjs-fullscreen-control{background-image:url(../images/video/fullscreen.png);background-position:center -47px;background-size:15px 64px;cursor:pointer!important;position:absolute;right:17px;top:13px}.vjs-fullscreen-control:focus div,.vjs-fullscreen-control:hover div{opacity:0}.vjs-fullscreen-control div{height:18px;background:url(../images/video/fullscreen.png) no-repeat center 2px;background-size:15px 64px;-webkit-transition:opacity .25s;transition:opacity .25s}.vjs-menu-button{display:none!important}@-webkit-keyframes sharp{0%{background:#e74c3c;border-radius:10px;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}50%{background:#ebedee;border-radius:0;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}100%{background:#e74c3c;border-radius:10px;-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes sharp{0%{background:#e74c3c;border-radius:10px;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}50%{background:#ebedee;border-radius:0;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}100%{background:#e74c3c;border-radius:10px;-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes sharp{0%{background:#e74c3c;border-radius:10px;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}50%{background:#ebedee;border-radius:0;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}100%{background:#e74c3c;border-radius:10px;-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes sharp{0%{background:#e74c3c;border-radius:10px;-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}50%{background:#ebedee;border-radius:0;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}100%{background:#e74c3c;border-radius:10px;-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}.vjs-loading-spinner{background:#ebedee;display:none;height:16px;left:50%;margin:-8px 0 0 -8px;position:absolute;top:50%;width:16px;border-radius:10px;-webkit-animation:sharp 2s ease infinite;animation:sharp 2s ease infinite}.login{background:url(../images/login/imac.png) 0 0 no-repeat;background-size:940px 778px;color:#fff;margin-bottom:77px;padding:38px 38px 267px;position:relative}.login-screen{background-color:#1abc9c;min-height:473px;padding:123px 199px 33px 306px}.login-icon{left:200px;position:absolute;top:160px;width:96px}.login-icon>img{display:block;margin-bottom:6px;width:100%}.login-icon>h4{font-size:17px;font-weight:300;line-height:34px;opacity:.95}.login-icon>h4 small{color:inherit;display:block;font-size:inherit;font-weight:700}.login-form{background-color:#edeff1;padding:24px 23px 20px;position:relative;border-radius:6px}.login-form:before{content:'';border-style:solid;border-width:12px 12px 12px 0;border-color:transparent #edeff1 transparent transparent;height:0;position:absolute;left:-12px;top:35px;width:0;-webkit-transform:rotate(360deg)}.login-form .control-group{margin-bottom:6px;position:relative}.login-form .login-field{border-color:transparent;font-size:17px;text-indent:3px}.login-form .login-field:focus{border-color:#1abc9c}.login-form .login-field:focus+.login-field-icon{color:#1abc9c}.login-form .login-field-icon{color:#bfc9ca;font-size:16px;position:absolute;right:15px;top:3px;-webkit-transition:.25s;transition:.25s}.login-link{color:#bfc9ca;display:block;font-size:13px;margin-top:15px;text-align:center}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (-moz-min-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:3/2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (-moz-min-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:2){.login{background-image:url(../images/login/imac-2x.png)}}footer{background-color:#edeff1;color:#bac1c8;font-size:15px;padding:0}footer a{color:#9aa4af;font-weight:700}footer p{font-size:15px;line-height:20px;margin-bottom:10px}.footer-title{margin:0 0 22px;padding-top:21px;font-size:24px;line-height:40px}.footer-brand{display:block;margin-bottom:26px;width:220px}.footer-brand img{width:216px}.footer-banner{background-color:#1abc9c;color:#d1f2eb;margin-left:42px;min-height:316px;padding:0 30px 30px}.footer-banner .footer-title{color:#fff}.footer-banner a{color:#b7f5e9;text-decoration:underline}.footer-banner a:hover{text-decoration:none}.footer-banner ul{list-style-type:none;margin:0 0 26px;padding:0}.footer-banner ul li{border-top:1px solid #1bc5a3;line-height:19px;padding:6px 0}.footer-banner ul li:first-child{border-top:none;padding-top:1px}.last-col{overflow:hidden}.pan,.ptn,.pvn{padding-top:0}.pax,.ptx,.pvx{padding-top:3px}.pas,.pts,.pvs{padding-top:5px}.pam,.ptm,.pvm{padding-top:10px}.pal,.ptl,.pvl{padding-top:20px}.pan,.phn,.prn{padding-right:0}.pax,.phx,.prx{padding-right:3px}.pas,.phs,.prs{padding-right:5px}.pam,.phm,.prm{padding-right:10px}.pal,.phl,.prl{padding-right:20px}.pan,.pbn,.pvn{padding-bottom:0}.pax,.pbx,.pvx{padding-bottom:3px}.pas,.pbs,.pvs{padding-bottom:5px}.pam,.pbm,.pvm{padding-bottom:10px}.pal,.pbl,.pvl{padding-bottom:20px}.pan,.phn,.pln{padding-left:0}.pax,.phx,.plx{padding-left:3px}.pas,.phs,.pls{padding-left:5px}.pam,.phm,.plm{padding-left:10px}.pal,.phl,.pll{padding-left:20px}.man,.mtn,.mvn{margin-top:0}.max,.mtx,.mvx{margin-top:3px}.mas,.mts,.mvs{margin-top:5px}.mam,.mtm,.mvm{margin-top:10px}.mal,.mtl,.mvl{margin-top:20px}.man,.mhn,.mrn{margin-right:0}.max,.mhx,.mrx{margin-right:3px}.mas,.mhs,.mrs{margin-right:5px}.mam,.mhm,.mrm{margin-right:10px}.mal,.mhl,.mrl{margin-right:20px}.man,.mbn,.mvn{margin-bottom:0}.max,.mbx,.mvx{margin-bottom:3px}.mas,.mbs,.mvs{margin-bottom:5px}.mam,.mbm,.mvm{margin-bottom:10px}.mal,.mbl,.mvl{margin-bottom:20px}.man,.mhn,.mln{margin-left:0}.max,.mhx,.mlx{margin-left:3px}.mas,.mhs,.mls{margin-left:5px}.mam,.mhm,.mlm{margin-left:10px}.mal,.mhl,.mll{margin-left:20px} table.dataTable{clear:both;margin-top:6px!important;margin-bottom:6px!important;max-width:none!important}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap td,table.dataTable.nowrap th{white-space:nowrap}div.dataTables_wrapper div.dataTables_length label{font-weight:400;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:75px;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:400;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:8px;white-space:nowrap}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable thead>tr>td.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc{padding-right:30px}table.dataTable thead>tr>td:active,table.dataTable thead>tr>th:active{outline:0}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_desc_disabled:after{position:absolute;bottom:8px;right:8px;display:block;font-family:'Glyphicons Halflings';opacity:.5}table.dataTable thead .sorting:after{opacity:.2;content:"\e150"}table.dataTable thead .sorting_asc:after{content:"\e155"}table.dataTable thead .sorting_desc:after{content:"\e156"}table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{color:#eee}div.dataTables_scrollHead table.dataTable{margin-bottom:0!important}div.dataTables_scrollBody table{border-top:none;margin-top:0!important;margin-bottom:0!important}div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child td,div.dataTables_scrollBody table tbody tr:first-child th{border-top:none}div.dataTables_scrollFoot table{margin-top:0!important;border-top:none}@media screen and (max-width:767px){div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_paginate{text-align:center}}table.dataTable.table-condensed>thead>tr>th{padding-right:20px}table.dataTable.table-condensed .sorting:after,table.dataTable.table-condensed .sorting_asc:after,table.dataTable.table-condensed .sorting_desc:after{top:6px;right:6px}table.table-bordered.dataTable{border-collapse:separate!important}table.table-bordered.dataTable td,table.table-bordered.dataTable th{border-left-width:0}table.table-bordered.dataTable td:last-child,table.table-bordered.dataTable th:last-child{border-right-width:0}table.table-bordered.dataTable tbody td,table.table-bordered.dataTable tbody th{border-bottom-width:0}div.dataTables_scrollHead table.table-bordered{border-bottom-width:0}div.table-responsive>div.dataTables_wrapper>div.row{margin:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:first-child{padding-left:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:last-child{padding-right:0} diff --git a/static/css/main.css b/static/css/main.css index 42c3713e..e5cb4cc4 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -654,6 +654,16 @@ table.dataTable { background-color: #64a1d6; } +.btn-orange { + color: #fff; + background-color: #FFAC1C; + border-color: #FFAC1C; +} + +.btn-orange:hover { + background-color: #FFD580; +} + .select2-container--bootstrap .select2-selection--single .select2-selection__rendered { font-size: 15px !important; } diff --git a/static/js/dist/app/autocomplete.min.js b/static/js/dist/app/autocomplete.min.js index 0f6c41b4..1f82eb34 100644 --- a/static/js/dist/app/autocomplete.min.js +++ b/static/js/dist/app/autocomplete.min.js @@ -1 +1 @@ -var TEMPLATE_TAGS=[{id:1,name:"RId",description:"The unique ID for the recipient."},{id:2,name:"FirstName",description:"The recipient's first name."},{id:3,name:"LastName",description:"The recipient's last name."},{id:4,name:"Position",description:"The recipient's position."},{id:5,name:"From",description:"The address emails are sent from."},{id:6,name:"TrackingURL",description:"The URL to track emails being opened."},{id:7,name:"Tracker",description:"An HTML tag that adds a hidden tracking image (recommended instead of TrackingURL)."},{id:8,name:"URL",description:"The URL to your Gophish listener."},{id:9,name:"BaseURL",description:"The base URL with the path and rid parameter stripped. Useful for making links to static files."}],textTestCallback=function(e){return e.collapsed?CKEDITOR.plugins.textMatch.match(e,matchCallback):null},matchCallback=function(e,t){var i=e.slice(0,t).match(/\{{2}\.?([A-z]|\})*$/);return i?{start:i.index,end:t}:null},dataCallback=function(t,e){e(TEMPLATE_TAGS.filter(function(e){return 0==("{{."+e.name.toLowerCase()+"}}").indexOf(t.query.toLowerCase())}))},setupAutocomplete=function(e){e.on("instanceReady",function(e){new CKEDITOR.plugins.autocomplete(e.editor,{textTestCallback:textTestCallback,dataCallback:dataCallback,itemTemplate:'
  • {name}
    {description}
  • ',outputTemplate:"[[.{name}]]"}).getHtmlToInsert=function(e){var t=this.outputTemplate.output(e);return t=t.replace("[[","{{").replace("]]","}}")}})}; \ No newline at end of file +var TEMPLATE_TAGS=[{id:1,name:"RId",description:"The unique ID for the recipient."},{id:2,name:"FirstName",description:"The recipient's first name."},{id:3,name:"LastName",description:"The recipient's last name."},{id:4,name:"Position",description:"The recipient's position."},{id:5,name:"From",description:"The address emails are sent from."},{id:6,name:"TrackingURL",description:"The URL to track emails being opened."},{id:7,name:"Tracker",description:"An HTML tag that adds a hidden tracking image (recommended instead of TrackingURL)."},{id:8,name:"URL",description:"The URL to your Gophish listener."},{id:9,name:"BaseURL",description:"The base URL with the path and rid parameter stripped. Useful for making links to static files."}],textTestCallback=function(e){return e.collapsed?CKEDITOR.plugins.textMatch.match(e,matchCallback):null},matchCallback=function(e,t){var i=e.slice(0,t).match(/\{{2}\.?([A-z]|\})*$/);return i?{start:i.index,end:t}:null},dataCallback=function(e,t){t(TEMPLATE_TAGS.filter((function(t){return 0==("{{."+t.name.toLowerCase()+"}}").indexOf(e.query.toLowerCase())})))},setupAutocomplete=function(e){e.on("instanceReady",(function(e){new CKEDITOR.plugins.autocomplete(e.editor,{textTestCallback:textTestCallback,dataCallback:dataCallback,itemTemplate:'
  • {name}
    {description}
  • ',outputTemplate:"[[.{name}]]"}).getHtmlToInsert=function(e){var t=this.outputTemplate.output(e);return t=t.replace("[[","{{").replace("]]","}}")}}))}; \ No newline at end of file diff --git a/static/js/dist/app/campaign_results.min.js b/static/js/dist/app/campaign_results.min.js index e98bddc9..d95d718a 100644 --- a/static/js/dist/app/campaign_results.min.js +++ b/static/js/dist/app/campaign_results.min.js @@ -1 +1 @@ -var map=null;var doPoll=true;var statuses={"Email Sent":{color:"#1abc9c",label:"label-success",icon:"fa-envelope",point:"ct-point-sent"},"Emails Sent":{color:"#1abc9c",label:"label-success",icon:"fa-envelope",point:"ct-point-sent"},"In progress":{label:"label-primary"},Queued:{label:"label-info"},Completed:{label:"label-success"},"Email Opened":{color:"#f9bf3b",label:"label-warning",icon:"fa-envelope-open",point:"ct-point-opened"},"Clicked Link":{color:"#F39C12",label:"label-clicked",icon:"fa-mouse-pointer",point:"ct-point-clicked"},Success:{color:"#f05b4f",label:"label-danger",icon:"fa-exclamation",point:"ct-point-clicked"},"Email Reported":{color:"#45d6ef",label:"label-info",icon:"fa-bullhorn",point:"ct-point-reported"},Error:{color:"#6c7a89",label:"label-default",icon:"fa-times",point:"ct-point-error"},"Error Sending Email":{color:"#6c7a89",label:"label-default",icon:"fa-times",point:"ct-point-error"},"Submitted Data":{color:"#f05b4f",label:"label-danger",icon:"fa-exclamation",point:"ct-point-clicked"},Unknown:{color:"#6c7a89",label:"label-default",icon:"fa-question",point:"ct-point-error"},Sending:{color:"#428bca",label:"label-primary",icon:"fa-spinner",point:"ct-point-sending"},Retrying:{color:"#6c7a89",label:"label-default",icon:"fa-clock-o",point:"ct-point-error"},Scheduled:{color:"#428bca",label:"label-primary",icon:"fa-clock-o",point:"ct-point-sending"},"Campaign Created":{label:"label-success",icon:"fa-rocket"}};var statusMapping={"Email Sent":"sent","Email Opened":"opened","Clicked Link":"clicked","Submitted Data":"submitted_data","Email Reported":"reported"};var progressListing=["Email Sent","Email Opened","Clicked Link","Submitted Data"];var campaign={};var bubbles=[];function dismiss(){$("#modal\\.flashes").empty();$("#modal").modal("hide");$("#resultsTable").dataTable().DataTable().clear().draw()}function deleteCampaign(){Swal.fire({title:"Are you sure?",text:"This will delete the campaign. This can't be undone!",type:"warning",animation:false,showCancelButton:true,confirmButtonText:"Delete Campaign",confirmButtonColor:"#428bca",reverseButtons:true,allowOutsideClick:false,showLoaderOnConfirm:true,preConfirm:function(){return new Promise(function(resolve,reject){api.campaignId.delete(campaign.id).success(function(msg){resolve()}).error(function(data){reject(data.responseJSON.message)})})}}).then(function(result){if(result.value){Swal.fire("Campaign Deleted!","This campaign has been deleted!","success")}$('button:contains("OK")').on("click",function(){location.href="/campaigns"})})}function completeCampaign(){Swal.fire({title:"Are you sure?",text:"Gophish will stop processing events for this campaign",type:"warning",animation:false,showCancelButton:true,confirmButtonText:"Complete Campaign",confirmButtonColor:"#428bca",reverseButtons:true,allowOutsideClick:false,showLoaderOnConfirm:true,preConfirm:function(){return new Promise(function(resolve,reject){api.campaignId.complete(campaign.id).success(function(msg){resolve()}).error(function(data){reject(data.responseJSON.message)})})}}).then(function(result){if(result.value){Swal.fire("Campaign Completed!","This campaign has been completed!","success");$("#complete_button")[0].disabled=true;$("#complete_button").text("Completed!");doPoll=false}})}function exportAsCSV(scope){exportHTML=$("#exportButton").html();var csvScope=null;var filename=campaign.name+" - "+capitalize(scope)+".csv";switch(scope){case"results":csvScope=campaign.results;break;case"events":csvScope=campaign.timeline;break}if(!csvScope){return}$("#exportButton").html('');var csvString=Papa.unparse(csvScope,{escapeFormulae:true});var csvData=new Blob([csvString],{type:"text/csv;charset=utf-8;"});if(navigator.msSaveBlob){navigator.msSaveBlob(csvData,filename)}else{var csvURL=window.URL.createObjectURL(csvData);var dlLink=document.createElement("a");dlLink.href=csvURL;dlLink.setAttribute("download",filename);document.body.appendChild(dlLink);dlLink.click();document.body.removeChild(dlLink)}$("#exportButton").html(exportHTML)}function replay(event_idx){request=campaign.timeline[event_idx];details=JSON.parse(request.details);url=null;form=$("
    ").attr({method:"POST",target:"_blank"});$.each(Object.keys(details.payload),function(i,param){if(param=="rid"){return true}if(param=="__original_url"){url=details.payload[param];return true}$("").attr({name:param}).val(details.payload[param]).appendTo(form)});Swal.fire({title:"Where do you want the credentials submitted to?",input:"text",showCancelButton:true,inputPlaceholder:"http://example.com/login",inputValue:url||"",inputValidator:function(value){return new Promise(function(resolve,reject){if(value){resolve()}else{reject("Invalid URL.")}})}}).then(function(result){if(result.value){url=result.value;submitForm()}});return;submitForm();function submitForm(){form.attr({action:url});form.appendTo("body").submit().remove()}}var renderDevice=function(event_details){var ua=UAParser(details.browser["user-agent"]);var detailsString='
    ';var deviceIcon="laptop";if(ua.device.type){if(ua.device.type=="tablet"||ua.device.type=="mobile"){deviceIcon=ua.device.type}}var deviceVendor="";if(ua.device.vendor){deviceVendor=ua.device.vendor.toLowerCase();if(deviceVendor=="microsoft")deviceVendor="windows"}var deviceName="Unknown";if(ua.os.name){deviceName=ua.os.name;if(deviceName=="Mac OS"){deviceVendor="apple"}else if(deviceName=="Windows"){deviceVendor="windows"}if(ua.device.vendor&&ua.device.model){deviceName=ua.device.vendor+" "+ua.device.model}}if(ua.os.version){deviceName=deviceName+" (OS Version: "+ua.os.version+")"}deviceString='
    '+''+''+" "+escapeHtml(deviceName)+"
    ";detailsString+=deviceString;var deviceBrowser="Unknown";var browserIcon="info-circle";var browserVersion="";if(ua.browser&&ua.browser.name){deviceBrowser=ua.browser.name;deviceBrowser=deviceBrowser.replace("Mobile ","");if(deviceBrowser){browserIcon=deviceBrowser.toLowerCase();if(browserIcon=="ie")browserIcon="internet-explorer"}browserVersion="(Version: "+ua.browser.version+")"}var browserString='
    '+' '+deviceBrowser+" "+browserVersion+"
    ";detailsString+=browserString;detailsString+="
    ";return detailsString};function renderTimeline(data){record={id:data[0],first_name:data[2],last_name:data[3],email:data[4],position:data[5],status:data[6],reported:data[7],send_date:data[8]};results='
    '+"
    Timeline for "+escapeHtml(record.first_name)+" "+escapeHtml(record.last_name)+'
    Email: '+escapeHtml(record.email)+"
    Result ID: "+escapeHtml(record.id)+"
    "+'
    ';$.each(campaign.timeline,function(i,event){if(!event.email||event.email==record.email){results+='
    '+'
    ';results+='
    '+'
    '+'
    '+escapeHtml(event.message)+' '+moment.utc(event.time).local().format("MMMM Do YYYY h:mm:ss a")+"";if(event.details){details=JSON.parse(event.details);if(event.message=="Clicked Link"||event.message=="Submitted Data"){deviceView=renderDevice(details);if(deviceView){results+=deviceView}}if(event.message=="Submitted Data"){results+='
    ';results+='
    View Details
    '}if(details.payload){results+='
    ';results+=' ';results+=" ";$.each(Object.keys(details.payload),function(i,param){if(param=="rid"){return true}results+=" ";results+=" ";results+=" ";results+=" "});results+="
    ParameterValue(s)
    "+escapeHtml(param)+""+escapeHtml(details.payload[param])+"
    ";results+="
    "}if(details.error){results+='
    View Details
    ';results+='
    ';results+='Error '+details.error;results+="
    "}}results+="
    "}});if(record.status=="Scheduled"||record.status=="Retrying"){results+='
    '+'
    ';results+='
    '+'
    '+'
    '+"Scheduled to send at "+record.send_date+""}results+="
    ";return results}var renderTimelineChart=function(chartopts){return Highcharts.chart("timeline_chart",{chart:{zoomType:"x",type:"line",height:"200px"},title:{text:"Campaign Timeline"},xAxis:{type:"datetime",dateTimeLabelFormats:{second:"%l:%M:%S",minute:"%l:%M",hour:"%l:%M",day:"%b %d, %Y",week:"%b %d, %Y",month:"%b %Y"}},yAxis:{min:0,max:2,visible:false,tickInterval:1,labels:{enabled:false},title:{text:""}},tooltip:{formatter:function(){return Highcharts.dateFormat("%A, %b %d %l:%M:%S %P",new Date(this.x))+"
    Event: "+this.point.message+"
    Email: "+this.point.email+""}},legend:{enabled:false},plotOptions:{series:{marker:{enabled:true,symbol:"circle",radius:3},cursor:"pointer"},line:{states:{hover:{lineWidth:1}}}},credits:{enabled:false},series:[{data:chartopts["data"],dashStyle:"shortdash",color:"#cccccc",lineWidth:1,turboThreshold:0}]})};var renderPieChart=function(chartopts){return Highcharts.chart(chartopts["elemId"],{chart:{type:"pie",events:{load:function(){var chart=this,rend=chart.renderer,pie=chart.series[0],left=chart.plotLeft+pie.center[0],top=chart.plotTop+pie.center[1];this.innerText=rend.text(chartopts["data"][0].count,left,top).attr({"text-anchor":"middle","font-size":"24px","font-weight":"bold",fill:chartopts["colors"][0],"font-family":"Helvetica,Arial,sans-serif"}).add()},render:function(){this.innerText.attr({text:chartopts["data"][0].count})}}},title:{text:chartopts["title"]},plotOptions:{pie:{innerSize:"80%",dataLabels:{enabled:false}}},credits:{enabled:false},tooltip:{formatter:function(){if(this.key==undefined){return false}return''+this.point.name+": "+this.y+"%
    "}},series:[{data:chartopts["data"],colors:chartopts["colors"]}]})};var updateMap=function(results){if(!map){return}bubbles=[];$.each(campaign.results,function(i,result){if(result.latitude==0&&result.longitude==0){return true}newIP=true;$.each(bubbles,function(i,bubble){if(bubble.ip==result.ip){bubbles[i].radius+=1;newIP=false;return false}});if(newIP){bubbles.push({latitude:result.latitude,longitude:result.longitude,name:result.ip,fillKey:"point",radius:2})}});map.bubbles(bubbles)};function createStatusLabel(status,send_date){var label=statuses[status].label||"label-default";var statusColumn=''+status+"";if(status=="Scheduled"||status=="Retrying"){var sendDateMessage="Scheduled to send at "+send_date;statusColumn=''+status+""}return statusColumn}function poll(){api.campaignId.results(campaign.id).success(function(c){campaign=c;var timeline_series_data=[];$.each(campaign.timeline,function(i,event){var event_date=moment.utc(event.time).local();timeline_series_data.push({email:event.email,message:event.message,x:event_date.valueOf(),y:1,marker:{fillColor:statuses[event.message].color}})});var timeline_chart=$("#timeline_chart").highcharts();timeline_chart.series[0].update({data:timeline_series_data});var email_series_data={};Object.keys(statusMapping).forEach(function(k){email_series_data[k]=0});$.each(campaign.results,function(i,result){email_series_data[result.status]++;if(result.reported){email_series_data["Email Reported"]++}var step=progressListing.indexOf(result.status);for(var i=0;i"}return""}return reported},targets:[7]}]});resultsTable.clear();var email_series_data={};var timeline_series_data=[];Object.keys(statusMapping).forEach(function(k){email_series_data[k]=0});$.each(campaign.results,function(i,result){resultsTable.row.add([result.id,'',escapeHtml(result.first_name)||"",escapeHtml(result.last_name)||"",escapeHtml(result.email)||"",escapeHtml(result.position)||"",result.status,result.reported,moment(result.send_date).format("MMMM Do YYYY, h:mm:ss a")]);email_series_data[result.status]++;if(result.reported){email_series_data["Email Reported"]++}var step=progressListing.indexOf(result.status);for(var i=0;i{if(!response.ok){throw new Error(`HTTP error! Status: ${response.status}`)}refresh()}).catch(error=>{let errorMessage=error.message;if(error.message==="Failed to fetch"){errorMessage="This might be due to Mixed Content issues or network problems."}Swal.fire({title:"Error",text:errorMessage,type:"error",confirmButtonText:"Close"})})})}})}$(document).ready(function(){Highcharts.setOptions({global:{useUTC:false}});load();setRefresh=setTimeout(refresh,6e4)}); \ No newline at end of file +var map=null,doPoll=!0,statuses={"Email Sent":{color:"#1abc9c",label:"label-success",icon:"fa-envelope",point:"ct-point-sent"},"Emails Sent":{color:"#1abc9c",label:"label-success",icon:"fa-envelope",point:"ct-point-sent"},"In progress":{label:"label-primary"},Queued:{label:"label-info"},Completed:{label:"label-success"},"Email Opened":{color:"#f9bf3b",label:"label-warning",icon:"fa-envelope-open",point:"ct-point-opened"},"Clicked Link":{color:"#F39C12",label:"label-clicked",icon:"fa-mouse-pointer",point:"ct-point-clicked"},Success:{color:"#f05b4f",label:"label-danger",icon:"fa-exclamation",point:"ct-point-clicked"},"Email Reported":{color:"#45d6ef",label:"label-info",icon:"fa-bullhorn",point:"ct-point-reported"},Error:{color:"#6c7a89",label:"label-default",icon:"fa-times",point:"ct-point-error"},"Error Sending Email":{color:"#6c7a89",label:"label-default",icon:"fa-times",point:"ct-point-error"},"Submitted Data":{color:"#f05b4f",label:"label-danger",icon:"fa-exclamation",point:"ct-point-clicked"},Unknown:{color:"#6c7a89",label:"label-default",icon:"fa-question",point:"ct-point-error"},Sending:{color:"#428bca",label:"label-primary",icon:"fa-spinner",point:"ct-point-sending"},Retrying:{color:"#6c7a89",label:"label-default",icon:"fa-clock-o",point:"ct-point-error"},Scheduled:{color:"#428bca",label:"label-primary",icon:"fa-clock-o",point:"ct-point-sending"},"Campaign Created":{label:"label-success",icon:"fa-rocket"}},statusMapping={"Email Sent":"sent","Email Opened":"opened","Clicked Link":"clicked","Submitted Data":"submitted_data","Email Reported":"reported"},progressListing=["Email Sent","Email Opened","Clicked Link","Submitted Data"],campaign={},bubbles=[];function dismiss(){$("#modal\\.flashes").empty(),$("#modal").modal("hide"),$("#resultsTable").dataTable().DataTable().clear().draw()}function deleteCampaign(){Swal.fire({title:"Are you sure?",text:"This will delete the campaign. This can't be undone!",type:"warning",animation:!1,showCancelButton:!0,confirmButtonText:"Delete Campaign",confirmButtonColor:"#428bca",reverseButtons:!0,allowOutsideClick:!1,showLoaderOnConfirm:!0,preConfirm:function(){return new Promise((function(e,t){api.campaignId.delete(campaign.id).success((function(t){e()})).error((function(e){t(e.responseJSON.message)}))}))}}).then((function(e){e.value&&Swal.fire("Campaign Deleted!","This campaign has been deleted!","success"),$('button:contains("OK")').on("click",(function(){location.href="/campaigns"}))}))}function completeCampaign(){Swal.fire({title:"Are you sure?",text:"Gophish will stop processing events for this campaign",type:"warning",animation:!1,showCancelButton:!0,confirmButtonText:"Complete Campaign",confirmButtonColor:"#428bca",reverseButtons:!0,allowOutsideClick:!1,showLoaderOnConfirm:!0,preConfirm:function(){return new Promise((function(e,t){api.campaignId.complete(campaign.id).success((function(t){e()})).error((function(e){t(e.responseJSON.message)}))}))}}).then((function(e){e.value&&(Swal.fire("Campaign Completed!","This campaign has been completed!","success"),$("#complete_button")[0].disabled=!0,$("#complete_button").text("Completed!"),doPoll=!1)}))}function updateCampaignUserAssignment(){Swal.fire({title:"Are you sure?",text:"This will update the users assigned to this campaign.",type:"warning",animation:!1,showCancelButton:!0,confirmButtonText:"Update Users",confirmButtonColor:"#428bca",reverseButtons:!0,allowOutsideClick:!1,showLoaderOnConfirm:!0,preConfirm:function(){return new Promise((function(e,t){api.campaignId.updateUsers(campaign.id).success((function(t){e()})).error((function(e){t(e.responseJSON.message)}))}))}}).then((function(e){e.value&&Swal.fire("Campaign Users Updated!","This campaign has been successfully updated!","success"),$('button:contains("OK")').on("click",(function(){location.href="/campaigns/"+campaign.id}))}))}function exportAsCSV(e){exportHTML=$("#exportButton").html();var t=null,a=campaign.name+" - "+capitalize(e)+".csv";switch(e){case"results":t=campaign.results;break;case"events":t=campaign.timeline}if(t){$("#exportButton").html('');var s=Papa.unparse(t,{escapeFormulae:!0}),i=new Blob([s],{type:"text/csv;charset=utf-8;"});if(navigator.msSaveBlob)navigator.msSaveBlob(i,a);else{var n=window.URL.createObjectURL(i),l=document.createElement("a");l.href=n,l.setAttribute("download",a),document.body.appendChild(l),l.click(),document.body.removeChild(l)}$("#exportButton").html(exportHTML)}}function replay(e){return request=campaign.timeline[e],details=JSON.parse(request.details),url=null,form=$("").attr({method:"POST",target:"_blank"}),$.each(Object.keys(details.payload),(function(e,t){return"rid"==t||("__original_url"==t?(url=details.payload[t],!0):void $("").attr({name:t}).val(details.payload[t]).appendTo(form))})),void Swal.fire({title:"Where do you want the credentials submitted to?",input:"text",showCancelButton:!0,inputPlaceholder:"http://example.com/login",inputValue:url||"",inputValidator:function(e){return new Promise((function(t,a){e?t():a("Invalid URL.")}))}}).then((function(e){e.value&&(url=e.value,t())}));function t(){form.attr({action:url}),form.appendTo("body").submit().remove()}}var renderDevice=function(e){var t=UAParser(details.browser["user-agent"]),a='
    ',s="laptop";t.device.type&&("tablet"!=t.device.type&&"mobile"!=t.device.type||(s=t.device.type));var i="";t.device.vendor&&"microsoft"==(i=t.device.vendor.toLowerCase())&&(i="windows");var n="Unknown";t.os.name&&("Mac OS"==(n=t.os.name)?i="apple":"Windows"==n&&(i="windows"),t.device.vendor&&t.device.model&&(n=t.device.vendor+" "+t.device.model)),t.os.version&&(n=n+" (OS Version: "+t.os.version+")"),deviceString='
    '+escapeHtml(n)+"
    ",a+=deviceString;var l="Unknown",r="info-circle",o="";return t.browser&&t.browser.name&&((l=(l=t.browser.name).replace("Mobile ",""))&&"ie"==(r=l.toLowerCase())&&(r="internet-explorer"),o="(Version: "+t.browser.version+")"),a+='
    '+l+" "+o+"
    ",a+="
    "};function renderTimeline(e){return record={id:e[0],first_name:e[2],last_name:e[3],email:e[4],position:e[5],status:e[6],reported:e[7],send_date:e[8]},results='
    Timeline for '+escapeHtml(record.first_name)+" "+escapeHtml(record.last_name)+'
    Email: '+escapeHtml(record.email)+"
    Result ID: "+escapeHtml(record.id)+'
    ',$.each(campaign.timeline,(function(e,t){t.email&&t.email!=record.email||(results+='
    ',results+='
    '+escapeHtml(t.message)+' '+moment.utc(t.time).local().format("MMMM Do YYYY h:mm:ss a")+"",t.details&&(details=JSON.parse(t.details),"Clicked Link"!=t.message&&"Submitted Data"!=t.message||(deviceView=renderDevice(details),deviceView&&(results+=deviceView)),"Submitted Data"==t.message&&(results+='
    ',results+='
    View Details
    '),details.payload&&(results+='
    ',results+=' ',results+=" ",$.each(Object.keys(details.payload),(function(e,t){if("rid"==t)return!0;results+=" ",results+=" ",results+=" ",results+=" "})),results+="
    ParameterValue(s)
    "+escapeHtml(t)+""+escapeHtml(details.payload[t])+"
    ",results+="
    "),details.error&&(results+='
    View Details
    ',results+='
    ',results+='Error '+details.error,results+="
    ")),results+="
    ")})),"Scheduled"!=record.status&&"Retrying"!=record.status||(results+='
    ',results+='
    Scheduled to send at '+record.send_date+""),results+="
    ",results}var setRefresh,renderTimelineChart=function(e){return Highcharts.chart("timeline_chart",{chart:{zoomType:"x",type:"line",height:"200px"},title:{text:"Campaign Timeline"},xAxis:{type:"datetime",dateTimeLabelFormats:{second:"%l:%M:%S",minute:"%l:%M",hour:"%l:%M",day:"%b %d, %Y",week:"%b %d, %Y",month:"%b %Y"}},yAxis:{min:0,max:2,visible:!1,tickInterval:1,labels:{enabled:!1},title:{text:""}},tooltip:{formatter:function(){return Highcharts.dateFormat("%A, %b %d %l:%M:%S %P",new Date(this.x))+"
    Event: "+this.point.message+"
    Email: "+this.point.email+""}},legend:{enabled:!1},plotOptions:{series:{marker:{enabled:!0,symbol:"circle",radius:3},cursor:"pointer"},line:{states:{hover:{lineWidth:1}}}},credits:{enabled:!1},series:[{data:e.data,dashStyle:"shortdash",color:"#cccccc",lineWidth:1,turboThreshold:0}]})},renderPieChart=function(e){return Highcharts.chart(e.elemId,{chart:{type:"pie",events:{load:function(){var t=this,a=t.renderer,s=t.series[0],i=t.plotLeft+s.center[0],n=t.plotTop+s.center[1];this.innerText=a.text(e.data[0].count,i,n).attr({"text-anchor":"middle","font-size":"24px","font-weight":"bold",fill:e.colors[0],"font-family":"Helvetica,Arial,sans-serif"}).add()},render:function(){this.innerText.attr({text:e.data[0].count})}}},title:{text:e.title},plotOptions:{pie:{innerSize:"80%",dataLabels:{enabled:!1}}},credits:{enabled:!1},tooltip:{formatter:function(){return null!=this.key&&''+this.point.name+": "+this.y+"%
    "}},series:[{data:e.data,colors:e.colors}]})},updateMap=function(e){map&&(bubbles=[],$.each(campaign.results,(function(e,t){if(0==t.latitude&&0==t.longitude)return!0;newIP=!0,$.each(bubbles,(function(e,a){if(a.ip==t.ip)return bubbles[e].radius+=1,newIP=!1,!1})),newIP&&bubbles.push({latitude:t.latitude,longitude:t.longitude,name:t.ip,fillKey:"point",radius:2})})),map.bubbles(bubbles))};function createStatusLabel(e,t){var a=statuses[e].label||"label-default",s=''+e+"";"Scheduled"!=e&&"Retrying"!=e||(s=''+e+"");return s}function poll(){api.campaignId.results(campaign.id).success((function(e){campaign=e;var t=[];$.each(campaign.timeline,(function(e,a){var s=moment.utc(a.time).local();t.push({email:a.email,message:a.message,x:s.valueOf(),y:1,marker:{fillColor:statuses[a.message].color}})})),$("#timeline_chart").highcharts().series[0].update({data:t});var a={};Object.keys(statusMapping).forEach((function(e){a[e]=0})),$.each(campaign.results,(function(e,t){a[t.status]++,t.reported&&a["Email Reported"]++;var s=progressListing.indexOf(t.status);for(e=0;e":"":e},targets:[7]}]}),resultsTable.clear();var a={},s=[];Object.keys(statusMapping).forEach((function(e){a[e]=0})),$.each(campaign.results,(function(e,t){resultsTable.row.add([t.id,'',escapeHtml(t.first_name)||"",escapeHtml(t.last_name)||"",escapeHtml(t.email)||"",escapeHtml(t.position)||"",t.status,t.reported,moment(t.send_date).format("MMMM Do YYYY, h:mm:ss a")]),a[t.status]++,t.reported&&a["Email Reported"]++;var s=progressListing.indexOf(t.status);for(e=0;e{if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);refresh()})).catch((e=>{let t=e.message;"Failed to fetch"===e.message&&(t="This might be due to Mixed Content issues or network problems."),Swal.fire({title:"Error",text:t,type:"error",confirmButtonText:"Close"})}))}))}))}$(document).ready((function(){Highcharts.setOptions({global:{useUTC:!1}}),load(),setRefresh=setTimeout(refresh,6e4)})); \ No newline at end of file diff --git a/static/js/dist/app/campaigns.min.js b/static/js/dist/app/campaigns.min.js index c2863326..6f853295 100644 --- a/static/js/dist/app/campaigns.min.js +++ b/static/js/dist/app/campaigns.min.js @@ -1 +1 @@ -var labels={"In progress":"label-primary",Queued:"label-info",Completed:"label-success","Emails Sent":"label-success",Error:"label-danger"};var campaigns=[];var campaign={};function launch(){Swal.fire({title:"Are you sure?",text:"This will schedule the campaign to be launched.",type:"question",animation:false,showCancelButton:true,confirmButtonText:"Launch",confirmButtonColor:"#428bca",reverseButtons:true,allowOutsideClick:false,showLoaderOnConfirm:true,preConfirm:function(){return new Promise(function(resolve,reject){groups=[];$("#users").select2("data").forEach(function(group){groups.push({name:group.text})});var send_by_date=$("#send_by_date").val();if(send_by_date!=""){send_by_date=moment(send_by_date,"MMMM Do YYYY, h:mm a").utc().format()}campaign={name:$("#name").val(),template:{name:$("#template").select2("data")[0].text},url:$("#url").val(),page:{name:$("#page").select2("data")[0].text},smtp:{name:$("#profile").select2("data")[0].text},launch_date:moment($("#launch_date").val(),"MMMM Do YYYY, h:mm a").utc().format(),send_by_date:send_by_date||null,groups:groups};api.campaigns.post(campaign).success(function(data){resolve();campaign=data}).error(function(data){$("#modal\\.flashes").empty().append('
    '+data.responseJSON.message+"
    ");Swal.close()})})}}).then(function(result){if(result.value){Swal.fire("Campaign Scheduled!","This campaign has been scheduled for launch!","success")}$('button:contains("OK")').on("click",function(){window.location="/campaigns/"+campaign.id.toString()})})}function sendTestEmail(){var test_email_request={template:{name:$("#template").select2("data")[0].text},first_name:$("input[name=to_first_name]").val(),last_name:$("input[name=to_last_name]").val(),email:$("input[name=to_email]").val(),position:$("input[name=to_position]").val(),url:$("#url").val(),page:{name:$("#page").select2("data")[0].text},smtp:{name:$("#profile").select2("data")[0].text}};btnHtml=$("#sendTestModalSubmit").html();$("#sendTestModalSubmit").html(' Sending');api.send_test_email(test_email_request).success(function(data){$("#sendTestEmailModal\\.flashes").empty().append('
    Email Sent!
    ');$("#sendTestModalSubmit").html(btnHtml)}).error(function(data){$("#sendTestEmailModal\\.flashes").empty().append('
    '+data.responseJSON.message+"
    ");$("#sendTestModalSubmit").html(btnHtml)})}function dismiss(){$("#modal\\.flashes").empty();$("#name").val("");$("#template").val("").change();$("#page").val("").change();$("#url").val("");$("#profile").val("").change();$("#users").val("").change();$("#modal").modal("hide")}function deleteCampaign(idx){Swal.fire({title:"Are you sure?",text:"This will delete the campaign. This can't be undone!",type:"warning",animation:false,showCancelButton:true,confirmButtonText:"Delete "+campaigns[idx].name,confirmButtonColor:"#428bca",reverseButtons:true,allowOutsideClick:false,preConfirm:function(){return new Promise(function(resolve,reject){api.campaignId.delete(campaigns[idx].id).success(function(msg){resolve()}).error(function(data){reject(data.responseJSON.message)})})}}).then(function(result){if(result.value){Swal.fire("Campaign Deleted!","This campaign has been deleted!","success")}$('button:contains("OK")').on("click",function(){location.reload()})})}function setupOptions(){api.groups.summary().success(function(summaries){groups=summaries.groups;if(groups.length==0){modalError("No groups found!");return false}else{var group_s2=$.map(groups,function(obj){obj.text=obj.name;obj.title=obj.num_targets+" targets";return obj});console.log(group_s2);$("#users.form-control").select2({placeholder:"Select Groups",data:group_s2})}});api.templates.get().success(function(templates){if(templates.length==0){modalError("No templates found!");return false}else{var template_s2=$.map(templates,function(obj){obj.text=obj.name;return obj});var template_select=$("#template.form-control");template_select.select2({placeholder:"Select a Template",data:template_s2});if(templates.length===1){template_select.val(template_s2[0].id);template_select.trigger("change.select2")}}});api.pages.get().success(function(pages){if(pages.length==0){modalError("No pages found!");return false}else{var page_s2=$.map(pages,function(obj){obj.text=obj.name;return obj});var page_select=$("#page.form-control");page_select.select2({placeholder:"Select a Landing Page",data:page_s2});if(pages.length===1){page_select.val(page_s2[0].id);page_select.trigger("change.select2")}}});api.SMTP.get().success(function(profiles){if(profiles.length==0){modalError("No profiles found!");return false}else{var profile_s2=$.map(profiles,function(obj){obj.text=obj.name;return obj});var profile_select=$("#profile.form-control");profile_select.select2({placeholder:"Select a Sending Profile",data:profile_s2}).select2("val",profile_s2[0]);if(profiles.length===1){profile_select.val(profile_s2[0].id);profile_select.trigger("change.select2")}}})}function edit(campaign){setupOptions()}function copy(idx){setupOptions();api.campaignId.get(campaigns[idx].id).success(function(campaign){$("#name").val("Copy of "+campaign.name);if(!campaign.template.id){$("#template").val("").change();$("#template").select2({placeholder:campaign.template.name})}else{$("#template").val(campaign.template.id.toString());$("#template").trigger("change.select2")}if(!campaign.page.id){$("#page").val("").change();$("#page").select2({placeholder:campaign.page.name})}else{$("#page").val(campaign.page.id.toString());$("#page").trigger("change.select2")}if(!campaign.smtp.id){$("#profile").val("").change();$("#profile").select2({placeholder:campaign.smtp.name})}else{$("#profile").val(campaign.smtp.id.toString());$("#profile").trigger("change.select2")}$("#url").val(campaign.url)}).error(function(data){$("#modal\\.flashes").empty().append('
    '+data.responseJSON.message+"
    ")})}$(document).ready(function(){$("#launch_date").datetimepicker({widgetPositioning:{vertical:"bottom"},showTodayButton:true,defaultDate:moment(),format:"MMMM Do YYYY, h:mm a"});$("#send_by_date").datetimepicker({widgetPositioning:{vertical:"bottom"},showTodayButton:true,useCurrent:false,format:"MMMM Do YYYY, h:mm a"});$(".modal").on("hidden.bs.modal",function(event){$(this).removeClass("fv-modal-stack");$("body").data("fv_open_modals",$("body").data("fv_open_modals")-1)});$(".modal").on("shown.bs.modal",function(event){if(typeof $("body").data("fv_open_modals")=="undefined"){$("body").data("fv_open_modals",0)}if($(this).hasClass("fv-modal-stack")){return}$(this).addClass("fv-modal-stack");$("body").data("fv_open_modals",$("body").data("fv_open_modals")+1);$(this).css("z-index",1040+10*$("body").data("fv_open_modals"));$(".modal-backdrop").not(".fv-modal-stack").css("z-index",1039+10*$("body").data("fv_open_modals"));$(".modal-backdrop").not("fv-modal-stack").addClass("fv-modal-stack")});$(document).on("hidden.bs.modal",".modal",function(){$(".modal:visible").length&&$(document.body).addClass("modal-open")});$("#modal").on("hidden.bs.modal",function(event){dismiss()});api.campaigns.summary().success(function(data){campaigns=data.campaigns;$("#loading").hide();if(campaigns.length>0){$("#campaignTable").show();$("#campaignTableArchive").show();activeCampaignsTable=$("#campaignTable").DataTable({columnDefs:[{orderable:false,targets:"no-sort"}],order:[[1,"desc"]]});archivedCampaignsTable=$("#campaignTableArchive").DataTable({columnDefs:[{orderable:false,targets:"no-sort"}],order:[[1,"desc"]]});rows={active:[],archived:[]};$.each(campaigns,function(i,campaign){label=labels[campaign.status]||"label-default";var launchDate;if(moment(campaign.launch_date).isAfter(moment())){launchDate="Scheduled to start: "+moment(campaign.launch_date).format("MMMM Do YYYY, h:mm:ss a");var quickStats=launchDate+"

    "+"Number of recipients: "+campaign.stats.total}else{launchDate="Launch Date: "+moment(campaign.launch_date).format("MMMM Do YYYY, h:mm:ss a");var quickStats=launchDate+"

    "+"Number of recipients: "+campaign.stats.total+"

    "+"Emails opened: "+campaign.stats.opened+"

    "+"Emails clicked: "+campaign.stats.clicked+"

    "+"Submitted Credentials: "+campaign.stats.submitted_data+"

    "+"Errors : "+campaign.stats.error+"

    "+"Reported : "+campaign.stats.email_reported}var row=[escapeHtml(campaign.name),moment(campaign.created_date).format("MMMM Do YYYY, h:mm:ss a"),''+campaign.status+"",""];if(campaign.status=="Completed"){rows["archived"].push(row)}else{rows["active"].push(row)}});activeCampaignsTable.rows.add(rows["active"]).draw();archivedCampaignsTable.rows.add(rows["archived"]).draw();$('[data-toggle="tooltip"]').tooltip()}else{$("#emptyMessage").show()}}).error(function(){$("#loading").hide();errorFlash("Error fetching campaigns")});$.fn.select2.defaults.set("width","100%");$.fn.select2.defaults.set("dropdownParent",$("#modal_body"));$.fn.select2.defaults.set("theme","bootstrap");$.fn.select2.defaults.set("sorter",function(data){return data.sort(function(a,b){if(a.text.toLowerCase()>b.text.toLowerCase()){return 1}if(a.text.toLowerCase() '+e.responseJSON.message+"
    "),Swal.close()}))}))}}).then((function(e){e.value&&Swal.fire("Campaign Scheduled!","This campaign has been scheduled for launch!","success"),$('button:contains("OK")').on("click",(function(){window.location="/campaigns/"+campaign.id.toString()}))}))}function sendTestEmail(){var e={template:{name:$("#template").select2("data")[0].text},first_name:$("input[name=to_first_name]").val(),last_name:$("input[name=to_last_name]").val(),email:$("input[name=to_email]").val(),position:$("input[name=to_position]").val(),url:$("#url").val(),page:{name:$("#page").select2("data")[0].text},smtp:{name:$("#profile").select2("data")[0].text}};btnHtml=$("#sendTestModalSubmit").html(),$("#sendTestModalSubmit").html(' Sending'),api.send_test_email(e).success((function(e){$("#sendTestEmailModal\\.flashes").empty().append('
    Email Sent!
    '),$("#sendTestModalSubmit").html(btnHtml)})).error((function(e){$("#sendTestEmailModal\\.flashes").empty().append('
    '+e.responseJSON.message+"
    "),$("#sendTestModalSubmit").html(btnHtml)}))}function dismiss(){$("#modal\\.flashes").empty(),$("#name").val(""),$("#template").val("").change(),$("#page").val("").change(),$("#url").val(""),$("#profile").val("").change(),$("#users").val("").change(),$("#modal").modal("hide")}function deleteCampaign(e){Swal.fire({title:"Are you sure?",text:"This will delete the campaign. This can't be undone!",type:"warning",animation:!1,showCancelButton:!0,confirmButtonText:"Delete "+campaigns[e].name,confirmButtonColor:"#428bca",reverseButtons:!0,allowOutsideClick:!1,preConfirm:function(){return new Promise((function(a,t){api.campaignId.delete(campaigns[e].id).success((function(e){a()})).error((function(e){t(e.responseJSON.message)}))}))}}).then((function(e){e.value&&Swal.fire("Campaign Deleted!","This campaign has been deleted!","success"),$('button:contains("OK")').on("click",(function(){location.reload()}))}))}function setupOptions(){api.groups.summary().success((function(e){if(groups=e.groups,0==groups.length)return modalError("No groups found!"),!1;var a=$.map(groups,(function(e){return e.text=e.name,e.title=e.num_targets+" targets",e}));console.log(a),$("#users.form-control").select2({placeholder:"Select Groups",data:a})})),api.templates.get().success((function(e){if(0==e.length)return modalError("No templates found!"),!1;var a=$.map(e,(function(e){return e.text=e.name,e})),t=$("#template.form-control");t.select2({placeholder:"Select a Template",data:a}),1===e.length&&(t.val(a[0].id),t.trigger("change.select2"))})),api.pages.get().success((function(e){if(0==e.length)return modalError("No pages found!"),!1;var a=$.map(e,(function(e){return e.text=e.name,e})),t=$("#page.form-control");t.select2({placeholder:"Select a Landing Page",data:a}),1===e.length&&(t.val(a[0].id),t.trigger("change.select2"))})),api.SMTP.get().success((function(e){if(0==e.length)return modalError("No profiles found!"),!1;var a=$.map(e,(function(e){return e.text=e.name,e})),t=$("#profile.form-control");t.select2({placeholder:"Select a Sending Profile",data:a}).select2("val",a[0]),1===e.length&&(t.val(a[0].id),t.trigger("change.select2"))}))}function edit(e){setupOptions()}function copy(e){setupOptions(),api.campaignId.get(campaigns[e].id).success((function(e){$("#name").val("Copy of "+e.name),e.template.id?($("#template").val(e.template.id.toString()),$("#template").trigger("change.select2")):($("#template").val("").change(),$("#template").select2({placeholder:e.template.name})),e.page.id?($("#page").val(e.page.id.toString()),$("#page").trigger("change.select2")):($("#page").val("").change(),$("#page").select2({placeholder:e.page.name})),e.smtp.id?($("#profile").val(e.smtp.id.toString()),$("#profile").trigger("change.select2")):($("#profile").val("").change(),$("#profile").select2({placeholder:e.smtp.name})),$("#url").val(e.url)})).error((function(e){$("#modal\\.flashes").empty().append('
    '+e.responseJSON.message+"
    ")}))}$(document).ready((function(){$("#launch_date").datetimepicker({widgetPositioning:{vertical:"bottom"},showTodayButton:!0,defaultDate:moment(),format:"MMMM Do YYYY, h:mm a"}),$("#send_by_date").datetimepicker({widgetPositioning:{vertical:"bottom"},showTodayButton:!0,useCurrent:!1,format:"MMMM Do YYYY, h:mm a"}),$(".modal").on("hidden.bs.modal",(function(e){$(this).removeClass("fv-modal-stack"),$("body").data("fv_open_modals",$("body").data("fv_open_modals")-1)})),$(".modal").on("shown.bs.modal",(function(e){void 0===$("body").data("fv_open_modals")&&$("body").data("fv_open_modals",0),$(this).hasClass("fv-modal-stack")||($(this).addClass("fv-modal-stack"),$("body").data("fv_open_modals",$("body").data("fv_open_modals")+1),$(this).css("z-index",1040+10*$("body").data("fv_open_modals")),$(".modal-backdrop").not(".fv-modal-stack").css("z-index",1039+10*$("body").data("fv_open_modals")),$(".modal-backdrop").not("fv-modal-stack").addClass("fv-modal-stack"))})),$(document).on("hidden.bs.modal",".modal",(function(){$(".modal:visible").length&&$(document.body).addClass("modal-open")})),$("#modal").on("hidden.bs.modal",(function(e){dismiss()})),api.campaigns.summary().success((function(e){campaigns=e.campaigns,$("#loading").hide(),campaigns.length>0?($("#campaignTable").show(),$("#campaignTableArchive").show(),activeCampaignsTable=$("#campaignTable").DataTable({columnDefs:[{orderable:!1,targets:"no-sort"}],order:[[1,"desc"]]}),archivedCampaignsTable=$("#campaignTableArchive").DataTable({columnDefs:[{orderable:!1,targets:"no-sort"}],order:[[1,"desc"]]}),rows={active:[],archived:[]},$.each(campaigns,(function(e,a){if(label=labels[a.status]||"label-default",moment(a.launch_date).isAfter(moment()))var t="Scheduled to start: "+moment(a.launch_date).format("MMMM Do YYYY, h:mm:ss a")+"

    Number of recipients: "+a.stats.total;else t="Launch Date: "+moment(a.launch_date).format("MMMM Do YYYY, h:mm:ss a")+"

    Number of recipients: "+a.stats.total+"

    Emails opened: "+a.stats.opened+"

    Emails clicked: "+a.stats.clicked+"

    Submitted Credentials: "+a.stats.submitted_data+"

    Errors : "+a.stats.error+"

    Reported : "+a.stats.email_reported;var n=[escapeHtml(a.name),moment(a.created_date).format("MMMM Do YYYY, h:mm:ss a"),''+a.status+"",""];"Completed"==a.status?rows.archived.push(n):rows.active.push(n)})),activeCampaignsTable.rows.add(rows.active).draw(),archivedCampaignsTable.rows.add(rows.archived).draw(),$('[data-toggle="tooltip"]').tooltip()):$("#emptyMessage").show()})).error((function(){$("#loading").hide(),errorFlash("Error fetching campaigns")})),$.fn.select2.defaults.set("width","100%"),$.fn.select2.defaults.set("dropdownParent",$("#modal_body")),$.fn.select2.defaults.set("theme","bootstrap"),$.fn.select2.defaults.set("sorter",(function(e){return e.sort((function(e,a){return e.text.toLowerCase()>a.text.toLowerCase()?1:e.text.toLowerCase()●'+this.point.name+": "+this.y+"%
    "}},series:[{data:s.data,colors:s.colors}]})}function generateStatsPieCharts(e){var a=[],l={},n=0;$.each(e,function(e,t){$.each(t.stats,function(e,t){if("total"==e)return n+=t,!0;l[e]?l[e]+=t:l[e]=t})}),$.each(l,function(e,t){if(!(e in statsMapping))return!0;status_label=statsMapping[e],a.push({name:status_label,y:Math.floor(t/n*100),count:t}),a.push({name:"",y:100-Math.floor(t/n*100)});renderPieChart({elemId:e+"_chart",title:status_label,name:e,data:a,colors:[statuses[status_label].color,"#dddddd"]});a=[]})}function generateTimelineChart(e){var l=[];$.each(e,function(e,t){var a=moment.utc(t.created_date).local();t.y=0,t.y+=t.stats.clicked,t.y=Math.floor(t.y/t.stats.total*100),l.push({campaign_id:t.id,name:t.name,x:a.valueOf(),y:t.y})}),Highcharts.chart("overview_chart",{chart:{zoomType:"x",type:"areaspline"},title:{text:"Phishing Success Overview"},xAxis:{type:"datetime",dateTimeLabelFormats:{second:"%l:%M:%S",minute:"%l:%M",hour:"%l:%M",day:"%b %d, %Y",week:"%b %d, %Y",month:"%b %Y"}},yAxis:{min:0,max:100,title:{text:"% of Success"}},tooltip:{formatter:function(){return Highcharts.dateFormat("%A, %b %d %l:%M:%S %P",new Date(this.x))+"
    "+this.point.name+"
    % Success: "+this.y+"%"}},legend:{enabled:!1},plotOptions:{series:{marker:{enabled:!0,symbol:"circle",radius:3},cursor:"pointer",point:{events:{click:function(e){window.location.href="/campaigns/"+this.campaign_id}}}}},credits:{enabled:!1},series:[{data:l,color:"#f05b4f",fillOpacity:.5}]})}$(document).ready(function(){Highcharts.setOptions({global:{useUTC:!1}}),api.campaigns.summary().success(function(e){$("#loading").hide(),0<(campaigns=e.campaigns).length?($("#dashboard").show(),campaignTable=$("#campaignTable").DataTable({columnDefs:[{orderable:!1,targets:"no-sort"},{className:"color-sent",targets:[2]},{className:"color-opened",targets:[3]},{className:"color-clicked",targets:[4]},{className:"color-success",targets:[5]},{className:"color-reported",targets:[6]}],order:[[1,"desc"]]}),campaignRows=[],$.each(campaigns,function(e,t){var a=moment(t.created_date).format("MMMM Do YYYY, h:mm:ss a"),l=statuses[t.status].label||"label-default";if(moment(t.launch_date).isAfter(moment()))var n="Scheduled to start: "+moment(t.launch_date).format("MMMM Do YYYY, h:mm:ss a")+"

    Number of recipients: "+t.stats.total;else n="Launch Date: "+moment(t.launch_date).format("MMMM Do YYYY, h:mm:ss a")+"

    Number of recipients: "+t.stats.total+"

    Emails opened: "+t.stats.opened+"

    Emails clicked: "+t.stats.clicked+"

    Submitted Credentials: "+t.stats.submitted_data+"

    Errors : "+t.stats.error+"

    Reported : "+t.stats.email_reported;campaignRows.push([escapeHtml(t.name),a,t.stats.sent,t.stats.opened,t.stats.clicked,t.stats.submitted_data,t.stats.email_reported,''+t.status+"",""]),$('[data-toggle="tooltip"]').tooltip()}),campaignTable.rows.add(campaignRows).draw(),generateStatsPieCharts(campaigns),generateTimelineChart(campaigns)):$("#emptyMessage").show()}).error(function(){errorFlash("Error fetching campaigns")})}); \ No newline at end of file +var campaigns=[],statuses={"Email Sent":{color:"#1abc9c",label:"label-success",icon:"fa-envelope",point:"ct-point-sent"},"Emails Sent":{color:"#1abc9c",label:"label-success",icon:"fa-envelope",point:"ct-point-sent"},"In progress":{label:"label-primary"},Queued:{label:"label-info"},Completed:{label:"label-success"},"Email Opened":{color:"#f9bf3b",label:"label-warning",icon:"fa-envelope",point:"ct-point-opened"},"Email Reported":{color:"#45d6ef",label:"label-warning",icon:"fa-bullhorne",point:"ct-point-reported"},"Clicked Link":{color:"#F39C12",label:"label-clicked",icon:"fa-mouse-pointer",point:"ct-point-clicked"},Success:{color:"#f05b4f",label:"label-danger",icon:"fa-exclamation",point:"ct-point-clicked"},Error:{color:"#6c7a89",label:"label-default",icon:"fa-times",point:"ct-point-error"},"Error Sending Email":{color:"#6c7a89",label:"label-default",icon:"fa-times",point:"ct-point-error"},"Submitted Data":{color:"#f05b4f",label:"label-danger",icon:"fa-exclamation",point:"ct-point-clicked"},Unknown:{color:"#6c7a89",label:"label-default",icon:"fa-question",point:"ct-point-error"},Sending:{color:"#428bca",label:"label-primary",icon:"fa-spinner",point:"ct-point-sending"},"Campaign Created":{label:"label-success",icon:"fa-rocket"}},statsMapping={sent:"Email Sent",opened:"Email Opened",email_reported:"Email Reported",clicked:"Clicked Link",submitted_data:"Submitted Data"};function deleteCampaign(e){confirm("Delete "+campaigns[e].name+"?")&&api.campaignId.delete(campaigns[e].id).success((function(e){successFlash(e.message),location.reload()}))}function renderPieChart(e){return Highcharts.chart(e.elemId,{chart:{type:"pie",events:{load:function(){var t=this,a=t.renderer,l=t.series[0],n=t.plotLeft+l.center[0],s=t.plotTop+l.center[1];this.innerText=a.text(e.data[0].count,n,s).attr({"text-anchor":"middle","font-size":"16px","font-weight":"bold",fill:e.colors[0],"font-family":"Helvetica,Arial,sans-serif"}).add()},render:function(){this.innerText.attr({text:e.data[0].count})}}},title:{text:e.title},plotOptions:{pie:{innerSize:"80%",dataLabels:{enabled:!1}}},credits:{enabled:!1},tooltip:{formatter:function(){return null!=this.key&&''+this.point.name+": "+this.y+"%
    "}},series:[{data:e.data,colors:e.colors}]})}function generateStatsPieCharts(e){var t=[],a={},l=0;$.each(e,(function(e,t){$.each(t.stats,(function(e,t){if("total"==e)return l+=t,!0;a[e]?a[e]+=t:a[e]=t}))})),$.each(a,(function(e,a){if(!(e in statsMapping))return!0;status_label=statsMapping[e],t.push({name:status_label,y:Math.floor(a/l*100),count:a}),t.push({name:"",y:100-Math.floor(a/l*100)});renderPieChart({elemId:e+"_chart",title:status_label,name:e,data:t,colors:[statuses[status_label].color,"#dddddd"]});t=[]}))}function generateTimelineChart(e){var t=[];$.each(e,(function(e,a){var l=moment.utc(a.created_date).local();a.y=0,a.y+=a.stats.clicked,a.y=Math.floor(a.y/a.stats.total*100),t.push({campaign_id:a.id,name:a.name,x:l.valueOf(),y:a.y})})),Highcharts.chart("overview_chart",{chart:{zoomType:"x",type:"areaspline"},title:{text:"Phishing Success Overview"},xAxis:{type:"datetime",dateTimeLabelFormats:{second:"%l:%M:%S",minute:"%l:%M",hour:"%l:%M",day:"%b %d, %Y",week:"%b %d, %Y",month:"%b %Y"}},yAxis:{min:0,max:100,title:{text:"% of Success"}},tooltip:{formatter:function(){return Highcharts.dateFormat("%A, %b %d %l:%M:%S %P",new Date(this.x))+"
    "+this.point.name+"
    % Success: "+this.y+"%"}},legend:{enabled:!1},plotOptions:{series:{marker:{enabled:!0,symbol:"circle",radius:3},cursor:"pointer",point:{events:{click:function(e){window.location.href="/campaigns/"+this.campaign_id}}}}},credits:{enabled:!1},series:[{data:t,color:"#f05b4f",fillOpacity:.5}]})}$(document).ready((function(){Highcharts.setOptions({global:{useUTC:!1}}),api.campaigns.summary().success((function(e){$("#loading").hide(),(campaigns=e.campaigns).length>0?($("#dashboard").show(),campaignTable=$("#campaignTable").DataTable({columnDefs:[{orderable:!1,targets:"no-sort"},{className:"color-sent",targets:[2]},{className:"color-opened",targets:[3]},{className:"color-clicked",targets:[4]},{className:"color-success",targets:[5]},{className:"color-reported",targets:[6]}],order:[[1,"desc"]]}),campaignRows=[],$.each(campaigns,(function(e,t){var a=moment(t.created_date).format("MMMM Do YYYY, h:mm:ss a"),l=statuses[t.status].label||"label-default";if(moment(t.launch_date).isAfter(moment()))var n="Scheduled to start: "+moment(t.launch_date).format("MMMM Do YYYY, h:mm:ss a")+"

    Number of recipients: "+t.stats.total;else n="Launch Date: "+moment(t.launch_date).format("MMMM Do YYYY, h:mm:ss a")+"

    Number of recipients: "+t.stats.total+"

    Emails opened: "+t.stats.opened+"

    Emails clicked: "+t.stats.clicked+"

    Submitted Credentials: "+t.stats.submitted_data+"

    Errors : "+t.stats.error+"

    Reported : "+t.stats.email_reported;campaignRows.push([escapeHtml(t.name),a,t.stats.sent,t.stats.opened,t.stats.clicked,t.stats.submitted_data,t.stats.email_reported,''+t.status+"",""]),$('[data-toggle="tooltip"]').tooltip()})),campaignTable.rows.add(campaignRows).draw(),generateStatsPieCharts(campaigns),generateTimelineChart(campaigns)):$("#emptyMessage").show()})).error((function(){errorFlash("Error fetching campaigns")}))})); \ No newline at end of file diff --git a/static/js/dist/app/gophish.min.js b/static/js/dist/app/gophish.min.js index c02ba291..f1b88287 100644 --- a/static/js/dist/app/gophish.min.js +++ b/static/js/dist/app/gophish.min.js @@ -1 +1 @@ -function errorFlash(e){$("#flashes").empty(),$("#flashes").append('
    '+e+"
    ")}function successFlash(e){$("#flashes").empty(),$("#flashes").append('
    '+e+"
    ")}function errorFlashFade(e,t){$("#flashes").empty(),$("#flashes").append('
    '+e+"
    "),setTimeout(function(){$("#flashes").empty()},1e3*t)}function successFlashFade(e,t){$("#flashes").empty(),$("#flashes").append('
    '+e+"
    "),setTimeout(function(){$("#flashes").empty()},1e3*t)}function modalError(e){$("#modal\\.flashes").empty().append('
    '+e+"
    ")}function query(e,t,n,r){return $.ajax({url:"/api"+e,async:r,method:t,data:JSON.stringify(n),dataType:"json",contentType:"application/json",beforeSend:function(e){e.setRequestHeader("Authorization","Bearer "+user.api_key)}})}function escapeHtml(e){return $("
    ").text(e).html()}function unescapeHtml(e){return $("
    ").html(e).text()}window.escapeHtml=escapeHtml;var capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},api={campaigns:{get:function(){return query("/campaigns/","GET",{},!1)},post:function(e){return query("/campaigns/","POST",e,!1)},summary:function(){return query("/campaigns/summary","GET",{},!1)}},campaignId:{get:function(e){return query("/campaigns/"+e,"GET",{},!0)},delete:function(e){return query("/campaigns/"+e,"DELETE",{},!1)},results:function(e){return query("/campaigns/"+e+"/results","GET",{},!0)},complete:function(e){return query("/campaigns/"+e+"/complete","GET",{},!0)},summary:function(e){return query("/campaigns/"+e+"/summary","GET",{},!0)}},groups:{get:function(){return query("/groups/","GET",{},!1)},post:function(e){return query("/groups/","POST",e,!1)},summary:function(){return query("/groups/summary","GET",{},!0)}},groupId:{get:function(e){return query("/groups/"+e,"GET",{},!1)},put:function(e){return query("/groups/"+e.id,"PUT",e,!1)},delete:function(e){return query("/groups/"+e,"DELETE",{},!1)}},templates:{get:function(){return query("/templates/","GET",{},!1)},post:function(e){return query("/templates/","POST",e,!1)}},templateId:{get:function(e){return query("/templates/"+e,"GET",{},!1)},put:function(e){return query("/templates/"+e.id,"PUT",e,!1)},delete:function(e){return query("/templates/"+e,"DELETE",{},!1)}},pages:{get:function(){return query("/pages/","GET",{},!1)},post:function(e){return query("/pages/","POST",e,!1)}},pageId:{get:function(e){return query("/pages/"+e,"GET",{},!1)},put:function(e){return query("/pages/"+e.id,"PUT",e,!1)},delete:function(e){return query("/pages/"+e,"DELETE",{},!1)}},SMTP:{get:function(){return query("/smtp/","GET",{},!1)},post:function(e){return query("/smtp/","POST",e,!1)}},SMTPId:{get:function(e){return query("/smtp/"+e,"GET",{},!1)},put:function(e){return query("/smtp/"+e.id,"PUT",e,!1)},delete:function(e){return query("/smtp/"+e,"DELETE",{},!1)}},IMAP:{get:function(){return query("/imap/","GET",{},!1)},post:function(e){return query("/imap/","POST",e,!1)},validate:function(e){return query("/imap/validate","POST",e,!0)}},users:{get:function(){return query("/users/","GET",{},!0)},post:function(e){return query("/users/","POST",e,!0)}},userId:{get:function(e){return query("/users/"+e,"GET",{},!0)},put:function(e){return query("/users/"+e.id,"PUT",e,!0)},delete:function(e){return query("/users/"+e,"DELETE",{},!0)}},webhooks:{get:function(){return query("/webhooks/","GET",{},!1)},post:function(e){return query("/webhooks/","POST",e,!1)}},webhookId:{get:function(e){return query("/webhooks/"+e,"GET",{},!1)},put:function(e){return query("/webhooks/"+e.id,"PUT",e,!0)},delete:function(e){return query("/webhooks/"+e,"DELETE",{},!1)},ping:function(e){return query("/webhooks/"+e+"/validate","POST",{},!0)}},import_email:function(e){return query("/import/email","POST",e,!1)},clone_site:function(e){return query("/import/site","POST",e,!1)},send_test_email:function(e){return query("/util/send_test_email","POST",e,!0)},reset:function(){return query("/reset","POST",{},!0)}};window.api=api,$(document).ready(function(){var t=location.pathname;$(".nav-sidebar li").each(function(){var e=$(this);e.find("a").attr("href")===t&&e.addClass("active")}),$.fn.dataTable.moment("MMMM Do YYYY, h:mm:ss a"),$('[data-toggle="tooltip"]').tooltip()}); \ No newline at end of file +function errorFlash(e){$("#flashes").empty(),$("#flashes").append('
    '+e+"
    ")}function successFlash(e){$("#flashes").empty(),$("#flashes").append('
    '+e+"
    ")}function errorFlashFade(e,t){$("#flashes").empty(),$("#flashes").append('
    '+e+"
    "),setTimeout((function(){$("#flashes").empty()}),1e3*t)}function successFlashFade(e,t){$("#flashes").empty(),$("#flashes").append('
    '+e+"
    "),setTimeout((function(){$("#flashes").empty()}),1e3*t)}function modalError(e){$("#modal\\.flashes").empty().append('
    '+e+"
    ")}function query(e,t,r,n){return $.ajax({url:"/api"+e,async:n,method:t,data:JSON.stringify(r),dataType:"json",contentType:"application/json",beforeSend:function(e){e.setRequestHeader("Authorization","Bearer "+user.api_key)}})}function escapeHtml(e){return $("
    ").text(e).html()}function unescapeHtml(e){return $("
    ").html(e).text()}window.escapeHtml=escapeHtml;var capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},api={campaigns:{get:function(){return query("/campaigns/","GET",{},!1)},post:function(e){return query("/campaigns/","POST",e,!1)},summary:function(){return query("/campaigns/summary","GET",{},!1)}},campaignId:{get:function(e){return query("/campaigns/"+e,"GET",{},!0)},delete:function(e){return query("/campaigns/"+e,"DELETE",{},!1)},results:function(e){return query("/campaigns/"+e+"/results","GET",{},!0)},complete:function(e){return query("/campaigns/"+e+"/complete","GET",{},!0)},updateUsers:function(e){return query("/campaigns/"+e+"/update_users","GET",{},!0)},summary:function(e){return query("/campaigns/"+e+"/summary","GET",{},!0)}},groups:{get:function(){return query("/groups/","GET",{},!1)},post:function(e){return query("/groups/","POST",e,!1)},summary:function(){return query("/groups/summary","GET",{},!0)}},groupId:{get:function(e){return query("/groups/"+e,"GET",{},!1)},put:function(e){return query("/groups/"+e.id,"PUT",e,!1)},delete:function(e){return query("/groups/"+e,"DELETE",{},!1)}},templates:{get:function(){return query("/templates/","GET",{},!1)},post:function(e){return query("/templates/","POST",e,!1)}},templateId:{get:function(e){return query("/templates/"+e,"GET",{},!1)},put:function(e){return query("/templates/"+e.id,"PUT",e,!1)},delete:function(e){return query("/templates/"+e,"DELETE",{},!1)}},pages:{get:function(){return query("/pages/","GET",{},!1)},post:function(e){return query("/pages/","POST",e,!1)}},pageId:{get:function(e){return query("/pages/"+e,"GET",{},!1)},put:function(e){return query("/pages/"+e.id,"PUT",e,!1)},delete:function(e){return query("/pages/"+e,"DELETE",{},!1)}},SMTP:{get:function(){return query("/smtp/","GET",{},!1)},post:function(e){return query("/smtp/","POST",e,!1)}},SMTPId:{get:function(e){return query("/smtp/"+e,"GET",{},!1)},put:function(e){return query("/smtp/"+e.id,"PUT",e,!1)},delete:function(e){return query("/smtp/"+e,"DELETE",{},!1)}},IMAP:{get:function(){return query("/imap/","GET",{},!1)},post:function(e){return query("/imap/","POST",e,!1)},validate:function(e){return query("/imap/validate","POST",e,!0)}},users:{get:function(){return query("/users/","GET",{},!0)},post:function(e){return query("/users/","POST",e,!0)}},userId:{get:function(e){return query("/users/"+e,"GET",{},!0)},put:function(e){return query("/users/"+e.id,"PUT",e,!0)},delete:function(e){return query("/users/"+e,"DELETE",{},!0)}},webhooks:{get:function(){return query("/webhooks/","GET",{},!1)},post:function(e){return query("/webhooks/","POST",e,!1)}},webhookId:{get:function(e){return query("/webhooks/"+e,"GET",{},!1)},put:function(e){return query("/webhooks/"+e.id,"PUT",e,!0)},delete:function(e){return query("/webhooks/"+e,"DELETE",{},!1)},ping:function(e){return query("/webhooks/"+e+"/validate","POST",{},!0)}},import_email:function(e){return query("/import/email","POST",e,!1)},clone_site:function(e){return query("/import/site","POST",e,!1)},send_test_email:function(e){return query("/util/send_test_email","POST",e,!0)},reset:function(){return query("/reset","POST",{},!0)}};window.api=api,$(document).ready((function(){var e=location.pathname;$(".nav-sidebar li").each((function(){var t=$(this);t.find("a").attr("href")===e&&t.addClass("active")})),$.fn.dataTable.moment("MMMM Do YYYY, h:mm:ss a"),$('[data-toggle="tooltip"]').tooltip()})); \ No newline at end of file diff --git a/static/js/dist/app/sending_profiles.min.js b/static/js/dist/app/sending_profiles.min.js index df2b5809..b287faa8 100644 --- a/static/js/dist/app/sending_profiles.min.js +++ b/static/js/dist/app/sending_profiles.min.js @@ -1 +1 @@ -var profiles=[];function sendTestEmail(){var headers=[];$.each($("#headersTable").DataTable().rows().data(),function(i,header){headers.push({key:unescapeHtml(header[0]),value:unescapeHtml(header[1])})});var test_email_request={template:{},first_name:$("input[name=to_first_name]").val(),last_name:$("input[name=to_last_name]").val(),email:$("input[name=to_email]").val(),position:$("input[name=to_position]").val(),url:"",smtp:{from_address:$("#from").val(),host:$("#host").val(),username:$("#username").val(),password:$("#password").val(),ignore_cert_errors:$("#ignore_cert_errors").prop("checked"),headers:headers}};btnHtml=$("#sendTestModalSubmit").html();$("#sendTestModalSubmit").html(' Sending');api.send_test_email(test_email_request).success(function(data){$("#sendTestEmailModal\\.flashes").empty().append('
    \t Email Sent!
    ');$("#sendTestModalSubmit").html(btnHtml)}).error(function(data){$("#sendTestEmailModal\\.flashes").empty().append('
    \t '+escapeHtml(data.responseJSON.message)+"
    ");$("#sendTestModalSubmit").html(btnHtml)})}function save(idx){var profile={headers:[]};$.each($("#headersTable").DataTable().rows().data(),function(i,header){profile.headers.push({key:unescapeHtml(header[0]),value:unescapeHtml(header[1])})});profile.name=$("#name").val();profile.interface_type=$("#interface_type").val();profile.from_address=$("#from").val();profile.host=$("#host").val();profile.username=$("#username").val();profile.password=$("#password").val();profile.ignore_cert_errors=$("#ignore_cert_errors").prop("checked");if(idx!=-1){profile.id=profiles[idx].id;api.SMTPId.put(profile).success(function(data){successFlash("Profile edited successfully!");load();dismiss()}).error(function(data){modalError(data.responseJSON.message)})}else{api.SMTP.post(profile).success(function(data){successFlash("Profile added successfully!");load();dismiss()}).error(function(data){modalError(data.responseJSON.message)})}}function dismiss(){$("#modal\\.flashes").empty();$("#name").val("");$("#interface_type").val("SMTP");$("#from").val("");$("#host").val("");$("#username").val("");$("#password").val("");$("#ignore_cert_errors").prop("checked",true);$("#headersTable").dataTable().DataTable().clear().draw();$("#modal").modal("hide")}var dismissSendTestEmailModal=function(){$("#sendTestEmailModal\\.flashes").empty();$("#sendTestModalSubmit").html(" Send")};var deleteProfile=function(idx){Swal.fire({title:"Are you sure?",text:"This will delete the sending profile. This can't be undone!",type:"warning",animation:false,showCancelButton:true,confirmButtonText:"Delete "+escapeHtml(profiles[idx].name),confirmButtonColor:"#428bca",reverseButtons:true,allowOutsideClick:false,preConfirm:function(){return new Promise(function(resolve,reject){api.SMTPId.delete(profiles[idx].id).success(function(msg){resolve()}).error(function(data){reject(data.responseJSON.message)})})}}).then(function(result){if(result.value){Swal.fire("Sending Profile Deleted!","This sending profile has been deleted!","success")}$('button:contains("OK")').on("click",function(){location.reload()})})};function edit(idx){headers=$("#headersTable").dataTable({destroy:true,columnDefs:[{orderable:false,targets:"no-sort"}]});$("#modalSubmit").unbind("click").click(function(){save(idx)});var profile={};if(idx!=-1){$("#profileModalLabel").text("Edit Sending Profile");profile=profiles[idx];$("#name").val(profile.name);$("#interface_type").val(profile.interface_type);$("#from").val(profile.from_address);$("#host").val(profile.host);$("#username").val(profile.username);$("#password").val(profile.password);$("#ignore_cert_errors").prop("checked",profile.ignore_cert_errors);$.each(profile.headers,function(i,record){addCustomHeader(record.key,record.value)})}else{$("#profileModalLabel").text("New Sending Profile")}}function copy(idx){$("#modalSubmit").unbind("click").click(function(){save(-1)});var profile={};profile=profiles[idx];$("#name").val("Copy of "+profile.name);$("#interface_type").val(profile.interface_type);$("#from").val(profile.from_address);$("#host").val(profile.host);$("#username").val(profile.username);$("#password").val(profile.password);$("#ignore_cert_errors").prop("checked",profile.ignore_cert_errors)}function load(){$("#profileTable").hide();$("#emptyMessage").hide();$("#loading").show();api.SMTP.get().success(function(ss){profiles=ss;$("#loading").hide();if(profiles.length>0){$("#profileTable").show();profileTable=$("#profileTable").DataTable({destroy:true,columnDefs:[{orderable:false,targets:"no-sort"}]});profileTable.clear();profileRows=[];$.each(profiles,function(i,profile){profileRows.push([escapeHtml(profile.name),profile.interface_type,moment(profile.modified_date).format("MMMM Do YYYY, h:mm:ss a"),"
    \t\t
    "])});profileTable.rows.add(profileRows).draw();$('[data-toggle="tooltip"]').tooltip()}else{$("#emptyMessage").show()}}).error(function(){$("#loading").hide();errorFlash("Error fetching profiles")})}function addCustomHeader(header,value){var newRow=[escapeHtml(header),escapeHtml(value),''];var headersTable=headers.DataTable();var existingRowIndex=headersTable.column(0).data().indexOf(escapeHtml(header));if(existingRowIndex>=0){headersTable.row(existingRowIndex,{order:"index"}).data(newRow)}else{headersTable.row.add(newRow)}headersTable.draw()}$(document).ready(function(){$(".modal").on("hidden.bs.modal",function(event){$(this).removeClass("fv-modal-stack");$("body").data("fv_open_modals",$("body").data("fv_open_modals")-1)});$(".modal").on("shown.bs.modal",function(event){if(typeof $("body").data("fv_open_modals")=="undefined"){$("body").data("fv_open_modals",0)}if($(this).hasClass("fv-modal-stack")){return}$(this).addClass("fv-modal-stack");$("body").data("fv_open_modals",$("body").data("fv_open_modals")+1);$(this).css("z-index",1040+10*$("body").data("fv_open_modals"));$(".modal-backdrop").not(".fv-modal-stack").css("z-index",1039+10*$("body").data("fv_open_modals"));$(".modal-backdrop").not("fv-modal-stack").addClass("fv-modal-stack")});$.fn.modal.Constructor.prototype.enforceFocus=function(){$(document).off("focusin.bs.modal").on("focusin.bs.modal",$.proxy(function(e){if(this.$element[0]!==e.target&&!this.$element.has(e.target).length&&!$(e.target).closest(".cke_dialog, .cke").length){this.$element.trigger("focus")}},this))};$(document).on("hidden.bs.modal",".modal",function(){$(".modal:visible").length&&$(document.body).addClass("modal-open")});$("#modal").on("hidden.bs.modal",function(event){dismiss()});$("#sendTestEmailModal").on("hidden.bs.modal",function(event){dismissSendTestEmailModal()});$("#addCustomHeader").on("click",function(){headerKey=$("#headerKey").val();headerValue=$("#headerValue").val();if(headerKey==""||headerValue==""){return false}addCustomHeader(headerKey,headerValue);$("#headerKey").val("");$("#headerValue").val("");$("#headerKey").focus();return false});$("#headersTable").on("click","span>i.fa-trash-o",function(){headers.DataTable().row($(this).parents("tr")).remove().draw()});load()}); \ No newline at end of file +var profiles=[];function sendTestEmail(){var e=[];$.each($("#headersTable").DataTable().rows().data(),(function(a,o){e.push({key:unescapeHtml(o[0]),value:unescapeHtml(o[1])})}));var a={template:{},first_name:$("input[name=to_first_name]").val(),last_name:$("input[name=to_last_name]").val(),email:$("input[name=to_email]").val(),position:$("input[name=to_position]").val(),url:"",smtp:{from_address:$("#from").val(),host:$("#host").val(),username:$("#username").val(),password:$("#password").val(),ignore_cert_errors:$("#ignore_cert_errors").prop("checked"),headers:e}};btnHtml=$("#sendTestModalSubmit").html(),$("#sendTestModalSubmit").html(' Sending'),api.send_test_email(a).success((function(e){$("#sendTestEmailModal\\.flashes").empty().append('
    \t Email Sent!
    '),$("#sendTestModalSubmit").html(btnHtml)})).error((function(e){$("#sendTestEmailModal\\.flashes").empty().append('
    \t '+escapeHtml(e.responseJSON.message)+"
    "),$("#sendTestModalSubmit").html(btnHtml)}))}function save(e){var a={headers:[]};$.each($("#headersTable").DataTable().rows().data(),(function(e,o){a.headers.push({key:unescapeHtml(o[0]),value:unescapeHtml(o[1])})})),a.name=$("#name").val(),a.interface_type=$("#interface_type").val(),a.from_address=$("#from").val(),a.host=$("#host").val(),a.username=$("#username").val(),a.password=$("#password").val(),a.ignore_cert_errors=$("#ignore_cert_errors").prop("checked"),-1!=e?(a.id=profiles[e].id,api.SMTPId.put(a).success((function(e){successFlash("Profile edited successfully!"),load(),dismiss()})).error((function(e){modalError(e.responseJSON.message)}))):api.SMTP.post(a).success((function(e){successFlash("Profile added successfully!"),load(),dismiss()})).error((function(e){modalError(e.responseJSON.message)}))}function dismiss(){$("#modal\\.flashes").empty(),$("#name").val(""),$("#interface_type").val("SMTP"),$("#from").val(""),$("#host").val(""),$("#username").val(""),$("#password").val(""),$("#ignore_cert_errors").prop("checked",!0),$("#headersTable").dataTable().DataTable().clear().draw(),$("#modal").modal("hide")}var dismissSendTestEmailModal=function(){$("#sendTestEmailModal\\.flashes").empty(),$("#sendTestModalSubmit").html(" Send")},deleteProfile=function(e){Swal.fire({title:"Are you sure?",text:"This will delete the sending profile. This can't be undone!",type:"warning",animation:!1,showCancelButton:!0,confirmButtonText:"Delete "+escapeHtml(profiles[e].name),confirmButtonColor:"#428bca",reverseButtons:!0,allowOutsideClick:!1,preConfirm:function(){return new Promise((function(a,o){api.SMTPId.delete(profiles[e].id).success((function(e){a()})).error((function(e){o(e.responseJSON.message)}))}))}}).then((function(e){e.value&&Swal.fire("Sending Profile Deleted!","This sending profile has been deleted!","success"),$('button:contains("OK")').on("click",(function(){location.reload()}))}))};function edit(e){headers=$("#headersTable").dataTable({destroy:!0,columnDefs:[{orderable:!1,targets:"no-sort"}]}),$("#modalSubmit").unbind("click").click((function(){save(e)}));var a={};-1!=e?($("#profileModalLabel").text("Edit Sending Profile"),a=profiles[e],$("#name").val(a.name),$("#interface_type").val(a.interface_type),$("#from").val(a.from_address),$("#host").val(a.host),$("#username").val(a.username),$("#password").val(a.password),$("#ignore_cert_errors").prop("checked",a.ignore_cert_errors),$.each(a.headers,(function(e,a){addCustomHeader(a.key,a.value)}))):$("#profileModalLabel").text("New Sending Profile")}function copy(e){$("#modalSubmit").unbind("click").click((function(){save(-1)}));var a;a=profiles[e],$("#name").val("Copy of "+a.name),$("#interface_type").val(a.interface_type),$("#from").val(a.from_address),$("#host").val(a.host),$("#username").val(a.username),$("#password").val(a.password),$("#ignore_cert_errors").prop("checked",a.ignore_cert_errors)}function load(){$("#profileTable").hide(),$("#emptyMessage").hide(),$("#loading").show(),api.SMTP.get().success((function(e){profiles=e,$("#loading").hide(),profiles.length>0?($("#profileTable").show(),profileTable=$("#profileTable").DataTable({destroy:!0,columnDefs:[{orderable:!1,targets:"no-sort"}]}),profileTable.clear(),profileRows=[],$.each(profiles,(function(e,a){profileRows.push([escapeHtml(a.name),a.interface_type,moment(a.modified_date).format("MMMM Do YYYY, h:mm:ss a"),"
    \t\t
    "])})),profileTable.rows.add(profileRows).draw(),$('[data-toggle="tooltip"]').tooltip()):$("#emptyMessage").show()})).error((function(){$("#loading").hide(),errorFlash("Error fetching profiles")}))}function addCustomHeader(e,a){var o=[escapeHtml(e),escapeHtml(a),''],t=headers.DataTable(),s=t.column(0).data().indexOf(escapeHtml(e));s>=0?t.row(s,{order:"index"}).data(o):t.row.add(o),t.draw()}$(document).ready((function(){$(".modal").on("hidden.bs.modal",(function(e){$(this).removeClass("fv-modal-stack"),$("body").data("fv_open_modals",$("body").data("fv_open_modals")-1)})),$(".modal").on("shown.bs.modal",(function(e){void 0===$("body").data("fv_open_modals")&&$("body").data("fv_open_modals",0),$(this).hasClass("fv-modal-stack")||($(this).addClass("fv-modal-stack"),$("body").data("fv_open_modals",$("body").data("fv_open_modals")+1),$(this).css("z-index",1040+10*$("body").data("fv_open_modals")),$(".modal-backdrop").not(".fv-modal-stack").css("z-index",1039+10*$("body").data("fv_open_modals")),$(".modal-backdrop").not("fv-modal-stack").addClass("fv-modal-stack"))})),$.fn.modal.Constructor.prototype.enforceFocus=function(){$(document).off("focusin.bs.modal").on("focusin.bs.modal",$.proxy((function(e){this.$element[0]===e.target||this.$element.has(e.target).length||$(e.target).closest(".cke_dialog, .cke").length||this.$element.trigger("focus")}),this))},$(document).on("hidden.bs.modal",".modal",(function(){$(".modal:visible").length&&$(document.body).addClass("modal-open")})),$("#modal").on("hidden.bs.modal",(function(e){dismiss()})),$("#sendTestEmailModal").on("hidden.bs.modal",(function(e){dismissSendTestEmailModal()})),$("#addCustomHeader").on("click",(function(){return headerKey=$("#headerKey").val(),headerValue=$("#headerValue").val(),""==headerKey||""==headerValue||(addCustomHeader(headerKey,headerValue),$("#headerKey").val(""),$("#headerValue").val(""),$("#headerKey").focus()),!1})),$("#headersTable").on("click","span>i.fa-trash-o",(function(){headers.DataTable().row($(this).parents("tr")).remove().draw()})),load()})); \ No newline at end of file diff --git a/static/js/dist/app/settings.min.js b/static/js/dist/app/settings.min.js index 5262df82..f4b17966 100644 --- a/static/js/dist/app/settings.min.js +++ b/static/js/dist/app/settings.min.js @@ -1 +1 @@ -$(document).ready(function(){function t(){api.IMAP.get().success(function(e){0==e.length?$("#lastlogindiv").hide():(0==(e=e[0]).enabled?$("#lastlogindiv").hide():$("#lastlogindiv").show(),$("#imapusername").val(e.username),$("#imaphost").val(e.host),$("#imapport").val(e.port),$("#imappassword").val(e.password),$("#use_tls").prop("checked",e.tls),$("#ignorecerterrors").prop("checked",e.ignore_cert_errors),$("#use_imap").prop("checked",e.enabled),$("#folder").val(e.folder),$("#restrictdomain").val(e.restrict_domain),$("#deletecampaign").prop("checked",e.delete_reported_campaign_email),$("#lastloginraw").val(e.last_login),$("#lastlogin").val(moment.utc(e.last_login).fromNow()),$("#imapfreq").val(e.imap_freq))}).error(function(){errorFlash("Error fetching IMAP settings")})}$('[data-toggle="tooltip"]').tooltip(),$("#apiResetForm").submit(function(e){return api.reset().success(function(e){user.api_key=e.data,successFlash(e.message),$("#api_key").val(user.api_key)}).error(function(e){errorFlash(e.message)}),!1}),$("#settingsForm").submit(function(e){return $.post("/settings",$(this).serialize()).done(function(e){successFlash(e.message)}).fail(function(e){errorFlash(e.responseJSON.message)}),!1}),$("#savesettings").click(function(){var e={};return e.host=$("#imaphost").val(),e.port=$("#imapport").val(),e.username=$("#imapusername").val(),e.password=$("#imappassword").val(),e.enabled=$("#use_imap").prop("checked"),e.tls=$("#use_tls").prop("checked"),e.folder=$("#folder").val(),e.imap_freq=$("#imapfreq").val(),e.restrict_domain=$("#restrictdomain").val(),e.ignore_cert_errors=$("#ignorecerterrors").prop("checked"),e.delete_reported_campaign_email=$("#deletecampaign").prop("checked"),""==e.host?(errorFlash("No IMAP Host specified"),document.body.scrollTop=0,document.documentElement.scrollTop=0):""==e.port?(errorFlash("No IMAP Port specified"),document.body.scrollTop=0,document.documentElement.scrollTop=0):isNaN(e.port)||e.port<1||65535 Testing..."),api.IMAP.validate(e).done(function(t){1==t.success?Swal.fire({title:"Success",html:"Logged into "+escapeHtml($("#imaphost").val())+"",type:"success"}):Swal.fire({title:"Failed!",html:"Unable to login to "+escapeHtml($("#imaphost").val())+".",type:"error",showCancelButton:!0,cancelButtonText:"Close",confirmButtonText:"More Info",confirmButtonColor:"#428bca",allowOutsideClick:!1}).then(function(e){e.value&&Swal.fire({title:"Error:",text:t.message})})}).fail(function(){Swal.fire({title:"Failed!",text:"An unecpected error occured.",type:"error"})}).always(function(){$("#imaphost").attr("disabled",!1),$("#imapport").attr("disabled",!1),$("#imapusername").attr("disabled",!1),$("#imappassword").attr("disabled",!1),$("#use_imap").attr("disabled",!1),$("#use_tls").attr("disabled",!1),$("#ignorecerterrors").attr("disabled",!1),$("#folder").attr("disabled",!1),$("#restrictdomain").attr("disabled",!1),$("#deletecampaign").attr("disabled",!1),$("#lastlogin").attr("disabled",!1),$("#imapfreq").attr("disabled",!1),$("#validateimap").attr("disabled",!1),$("#validateimap").html(t)})}),$("#reporttab").click(function(){t()}),$("#advanced").click(function(){$("#advancedarea").toggle()});var e=localStorage.getItem("gophish.use_map");$("#use_map").prop("checked",JSON.parse(e)),$("#use_map").on("change",function(){localStorage.setItem("gophish.use_map",JSON.stringify(this.checked))}),t()}); \ No newline at end of file +$(document).ready((function(){function e(){api.IMAP.get().success((function(e){0==e.length?$("#lastlogindiv").hide():(0==(e=e[0]).enabled?$("#lastlogindiv").hide():$("#lastlogindiv").show(),$("#imapusername").val(e.username),$("#imaphost").val(e.host),$("#imapport").val(e.port),$("#imappassword").val(e.password),$("#use_tls").prop("checked",e.tls),$("#ignorecerterrors").prop("checked",e.ignore_cert_errors),$("#use_imap").prop("checked",e.enabled),$("#folder").val(e.folder),$("#restrictdomain").val(e.restrict_domain),$("#deletecampaign").prop("checked",e.delete_reported_campaign_email),$("#lastloginraw").val(e.last_login),$("#lastlogin").val(moment.utc(e.last_login).fromNow()),$("#imapfreq").val(e.imap_freq))})).error((function(){errorFlash("Error fetching IMAP settings")}))}$('[data-toggle="tooltip"]').tooltip(),$("#apiResetForm").submit((function(e){return api.reset().success((function(e){user.api_key=e.data,successFlash(e.message),$("#api_key").val(user.api_key)})).error((function(e){errorFlash(e.message)})),!1})),$("#settingsForm").submit((function(e){return $.post("/settings",$(this).serialize()).done((function(e){successFlash(e.message)})).fail((function(e){errorFlash(e.responseJSON.message)})),!1})),$("#savesettings").click((function(){var t={};return t.host=$("#imaphost").val(),t.port=$("#imapport").val(),t.username=$("#imapusername").val(),t.password=$("#imappassword").val(),t.enabled=$("#use_imap").prop("checked"),t.tls=$("#use_tls").prop("checked"),t.folder=$("#folder").val(),t.imap_freq=$("#imapfreq").val(),t.restrict_domain=$("#restrictdomain").val(),t.ignore_cert_errors=$("#ignorecerterrors").prop("checked"),t.delete_reported_campaign_email=$("#deletecampaign").prop("checked"),""==t.host?(errorFlash("No IMAP Host specified"),document.body.scrollTop=0,document.documentElement.scrollTop=0,!1):""==t.port?(errorFlash("No IMAP Port specified"),document.body.scrollTop=0,document.documentElement.scrollTop=0,!1):isNaN(t.port)||t.port<1||t.port>65535?(errorFlash("Invalid IMAP Port"),document.body.scrollTop=0,document.documentElement.scrollTop=0,!1):(""==t.imap_freq&&(t.imap_freq="60"),api.IMAP.post(t).done((function(e){1==e.success?successFlashFade("Successfully updated IMAP settings.",2):errorFlash("Unable to update IMAP settings.")})).success((function(t){e()})).fail((function(e){errorFlash(e.responseJSON.message)})).always((function(e){document.body.scrollTop=0,document.documentElement.scrollTop=0})),!1)})),$("#validateimap").click((function(){var e={};if(e.host=$("#imaphost").val(),e.port=$("#imapport").val(),e.username=$("#imapusername").val(),e.password=$("#imappassword").val(),e.tls=$("#use_tls").prop("checked"),e.ignore_cert_errors=$("#ignorecerterrors").prop("checked"),""==e.host)return errorFlash("No IMAP Host specified"),document.body.scrollTop=0,document.documentElement.scrollTop=0,!1;if(""==e.port)return errorFlash("No IMAP Port specified"),document.body.scrollTop=0,document.documentElement.scrollTop=0,!1;if(isNaN(e.port)||e.port<1||e.port>65535)return errorFlash("Invalid IMAP Port"),document.body.scrollTop=0,document.documentElement.scrollTop=0,!1;var t=$("#validateimap").html();$("#imaphost").attr("disabled",!0),$("#imapport").attr("disabled",!0),$("#imapusername").attr("disabled",!0),$("#imappassword").attr("disabled",!0),$("#use_imap").attr("disabled",!0),$("#use_tls").attr("disabled",!0),$("#ignorecerterrors").attr("disabled",!0),$("#folder").attr("disabled",!0),$("#restrictdomain").attr("disabled",!0),$("#deletecampaign").attr("disabled",!0),$("#lastlogin").attr("disabled",!0),$("#imapfreq").attr("disabled",!0),$("#validateimap").attr("disabled",!0),$("#validateimap").html(" Testing..."),api.IMAP.validate(e).done((function(e){1==e.success?Swal.fire({title:"Success",html:"Logged into "+escapeHtml($("#imaphost").val())+"",type:"success"}):Swal.fire({title:"Failed!",html:"Unable to login to "+escapeHtml($("#imaphost").val())+".",type:"error",showCancelButton:!0,cancelButtonText:"Close",confirmButtonText:"More Info",confirmButtonColor:"#428bca",allowOutsideClick:!1}).then((function(t){t.value&&Swal.fire({title:"Error:",text:e.message})}))})).fail((function(){Swal.fire({title:"Failed!",text:"An unecpected error occured.",type:"error"})})).always((function(){$("#imaphost").attr("disabled",!1),$("#imapport").attr("disabled",!1),$("#imapusername").attr("disabled",!1),$("#imappassword").attr("disabled",!1),$("#use_imap").attr("disabled",!1),$("#use_tls").attr("disabled",!1),$("#ignorecerterrors").attr("disabled",!1),$("#folder").attr("disabled",!1),$("#restrictdomain").attr("disabled",!1),$("#deletecampaign").attr("disabled",!1),$("#lastlogin").attr("disabled",!1),$("#imapfreq").attr("disabled",!1),$("#validateimap").attr("disabled",!1),$("#validateimap").html(t)}))})),$("#reporttab").click((function(){e()})),$("#advanced").click((function(){$("#advancedarea").toggle()}));var t=localStorage.getItem("gophish.use_map");$("#use_map").prop("checked",JSON.parse(t)),$("#use_map").on("change",(function(){localStorage.setItem("gophish.use_map",JSON.stringify(this.checked))})),e()})); \ No newline at end of file diff --git a/static/js/dist/app/users.min.js b/static/js/dist/app/users.min.js index f1b7666d..a55fdd9a 100644 --- a/static/js/dist/app/users.min.js +++ b/static/js/dist/app/users.min.js @@ -1 +1 @@ -let users=[];const save=id=>{if($("#password").val()!==$("#confirm_password").val()){modalError("Passwords must match.");return}let user={username:$("#username").val(),password:$("#password").val(),role:$("#role").val(),password_change_required:$("#force_password_change_checkbox").prop("checked"),account_locked:$("#account_locked_checkbox").prop("checked")};if(id!=-1){user.id=id;api.userId.put(user).success(data=>{successFlash("User "+escapeHtml(user.username)+" updated successfully!");load();dismiss();$("#modal").modal("hide")}).error(data=>{modalError(data.responseJSON.message)})}else{api.users.post(user).success(data=>{successFlash("User "+escapeHtml(user.username)+" registered successfully!");load();dismiss();$("#modal").modal("hide")}).error(data=>{modalError(data.responseJSON.message)})}};const dismiss=()=>{$("#username").val("");$("#password").val("");$("#confirm_password").val("");$("#role").val("");$("#force_password_change_checkbox").prop("checked",true);$("#account_locked_checkbox").prop("checked",false);$("#modal\\.flashes").empty()};const edit=id=>{$("#username").attr("disabled",false);$("#modalSubmit").unbind("click").click(()=>{save(id)});$("#role").select2();if(id==-1){$("#userModalLabel").text("New User");$("#role").val("user");$("#role").trigger("change")}else{$("#userModalLabel").text("Edit User");api.userId.get(id).success(user=>{$("#username").val(user.username);$("#role").val(user.role.slug);$("#role").trigger("change");$("#force_password_change_checkbox").prop("checked",user.password_change_required);$("#account_locked_checkbox").prop("checked",user.account_locked);if(user.username=="admin"){$("#username").attr("disabled",true)}}).error(function(){errorFlash("Error fetching user")})}};const deleteUser=id=>{var user=users.find(x=>x.id==id);if(!user){return}if(user.username=="admin"){Swal.fire({title:"Unable to Delete User",text:"The user account "+escapeHtml(user.username)+" cannot be deleted.",type:"info"});return}Swal.fire({title:"Are you sure?",text:"This will delete the account for "+escapeHtml(user.username)+" as well as all of the objects they have created.\n\nThis can't be undone!",type:"warning",animation:false,showCancelButton:true,confirmButtonText:"Delete",confirmButtonColor:"#428bca",reverseButtons:true,allowOutsideClick:false,preConfirm:function(){return new Promise((resolve,reject)=>{api.userId.delete(id).success(msg=>{resolve()}).error(data=>{reject(data.responseJSON.message)})}).catch(error=>{Swal.showValidationMessage(error)})}}).then(function(result){if(result.value){Swal.fire("User Deleted!","The user account for "+escapeHtml(user.username)+" and all associated objects have been deleted!","success")}$('button:contains("OK")').on("click",function(){location.reload()})})};const impersonate=id=>{var user=users.find(x=>x.id==id);if(!user){return}Swal.fire({title:"Are you sure?",html:"You will be logged out of your account and logged in as "+escapeHtml(user.username)+"",type:"warning",animation:false,showCancelButton:true,confirmButtonText:"Swap User",confirmButtonColor:"#428bca",reverseButtons:true,allowOutsideClick:false}).then(result=>{if(result.value){fetch("/impersonate",{method:"post",body:"username="+user.username+"&csrf_token="+encodeURIComponent(csrf_token),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(response=>{if(response.status==200){Swal.fire({title:"Success!",html:"Successfully changed to user "+escapeHtml(user.username)+".",type:"success",showCancelButton:false,confirmButtonText:"Home",allowOutsideClick:false}).then(result=>{if(result.value){window.location.href="/"}})}else{Swal.fire({title:"Error!",type:"error",html:"Failed to change to user "+escapeHtml(user.username)+".",showCancelButton:false})}})}})};const load=()=>{$("#userTable").hide();$("#loading").show();api.users.get().success(us=>{users=us;$("#loading").hide();$("#userTable").show();let userTable=$("#userTable").DataTable({destroy:true,columnDefs:[{orderable:false,targets:"no-sort"}]});userTable.clear();userRows=[];$.each(users,(i,user)=>{lastlogin="";if(user.last_login!="0001-01-01T00:00:00Z"){lastlogin=moment(user.last_login).format("MMMM Do YYYY, h:mm:ss a")}userRows.push([escapeHtml(user.username),escapeHtml(user.role.name),lastlogin,"
    "])});userTable.rows.add(userRows).draw()}).error(()=>{errorFlash("Error fetching users")})};$(document).ready(function(){load();$("#modal").on("hide.bs.modal",function(){dismiss()});$.fn.select2.defaults.set("width","100%");$.fn.select2.defaults.set("dropdownParent",$("#role-select"));$.fn.select2.defaults.set("theme","bootstrap");$.fn.select2.defaults.set("sorter",function(data){return data.sort(function(a,b){if(a.text.toLowerCase()>b.text.toLowerCase()){return 1}if(a.text.toLowerCase()
    "])}),t.rows.add(userRows).draw()}).error(function(){errorFlash("Error fetching users")})};$(document).ready(function(){a(),$("#modal").on("hide.bs.modal",function(){n()}),$.fn.select2.defaults.set("width","100%"),$.fn.select2.defaults.set("dropdownParent",$("#role-select")),$.fn.select2.defaults.set("theme","bootstrap"),$.fn.select2.defaults.set("sorter",function(e){return e.sort(function(e,t){return e.text.toLowerCase()>t.text.toLowerCase()?1:e.text.toLowerCase()"+escapeHtml(n.username)+"",type:"warning",animation:!1,showCancelButton:!0,confirmButtonText:"Swap User",confirmButtonColor:"#428bca",reverseButtons:!0,allowOutsideClick:!1}).then(function(e){e.value&&fetch("/impersonate",{method:"post",body:"username="+n.username+"&csrf_token="+encodeURIComponent(csrf_token),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(e){200==e.status?Swal.fire({title:"Success!",html:"Successfully changed to user "+escapeHtml(n.username)+".",type:"success",showCancelButton:!1,confirmButtonText:"Home",allowOutsideClick:!1}).then(function(e){e.value&&(window.location.href="/")}):Swal.fire({title:"Error!",type:"error",html:"Failed to change to user "+escapeHtml(n.username)+".",showCancelButton:!1})})})})})}}); \ No newline at end of file diff --git a/static/js/dist/app/webhooks.min.js b/static/js/dist/app/webhooks.min.js index 8511a1a3..cc1f253a 100644 --- a/static/js/dist/app/webhooks.min.js +++ b/static/js/dist/app/webhooks.min.js @@ -1 +1 @@ -let webhooks=[];const dismiss=()=>{$("#name").val(""),$("#url").val(""),$("#secret").val(""),$("#is_active").prop("checked",!1),$("#flashes").empty()},saveWebhook=e=>{let o={name:$("#name").val(),url:$("#url").val(),secret:$("#secret").val(),is_active:$("#is_active").is(":checked")};-1!=e?(o.id=parseInt(e),api.webhookId.put(o).success((function(e){dismiss(),load(),$("#modal").modal("hide"),successFlash(`Webhook "${escapeHtml(o.name)}" has been updated successfully!`)})).error((function(e){modalError(e.responseJSON.message)}))):api.webhooks.post(o).success((function(e){load(),dismiss(),$("#modal").modal("hide"),successFlash(`Webhook "${escapeHtml(o.name)}" has been created successfully!`)})).error((function(e){modalError(e.responseJSON.message)}))},load=()=>{$("#webhookTable").hide(),$("#loading").show(),api.webhooks.get().success((e=>{webhooks=e,$("#loading").hide(),$("#webhookTable").show();let o=$("#webhookTable").DataTable({destroy:!0,columnDefs:[{orderable:!1,targets:"no-sort"}]});o.clear(),$.each(webhooks,((e,t)=>{o.row.add([escapeHtml(t.name),escapeHtml(t.url),escapeHtml(t.is_active),`\n
    \n \n \n \n
    \n `]).draw()}))})).error((()=>{errorFlash("Error fetching webhooks")}))},editWebhook=e=>{$("#modalSubmit").unbind("click").click((()=>{saveWebhook(e)})),-1!==e?($("#webhookModalLabel").text("Edit Webhook"),api.webhookId.get(e).success((function(e){$("#name").val(e.name),$("#url").val(e.url),$("#secret").val(e.secret),$("#is_active").prop("checked",e.is_active)})).error((function(){errorFlash("Error fetching webhook")}))):$("#webhookModalLabel").text("New Webhook")},deleteWebhook=e=>{var t=webhooks.find((o=>o.id==e));o&&Swal.fire({title:"Are you sure?",text:`This will delete the webhook '${escapeHtml(o.name)}'`,type:"warning",animation:!1,showCancelButton:!0,confirmButtonText:"Delete",confirmButtonColor:"#428bca",reverseButtons:!0,allowOutsideClick:!1,preConfirm:function(){return new Promise(((o,t)=>{api.webhookId.delete(e).success((e=>{o()})).error((e=>{t(e.responseJSON.message)}))})).catch((e=>{Swal.showValidationMessage(e)}))}}).then((function(e){e.value&&Swal.fire("Webhook Deleted!","The webhook has been deleted!","success"),$("button:contains('OK')").on("click",(function(){location.reload()}))}))},pingUrl=(e,o)=>{dismiss(),e.disabled=!0,api.webhookId.ping(o).success((function(o){e.disabled=!1,successFlash(`Ping of "${escapeHtml(o.name)}" webhook succeeded.`)})).error((function(t){e.disabled=!1;var s=webhooks.find((e=>e.id==o));s&&errorFlash(`Ping of "${escapeHtml(s.name)}" webhook failed: "${escapeHtml(t.responseJSON.message)}"`)}))};$(document).ready((function(){load(),$("#modal").on("hide.bs.modal",(function(){dismiss()})),$("#new_button").on("click",(function(){editWebhook(-1)})),$("#webhookTable").on("click",".edit_button",(function(e){editWebhook($(this).attr("data-webhook-id"))})),$("#webhookTable").on("click",".delete_button",(function(e){var o,t;o=$(this).attr("data-webhook-id"),(t=webhooks.find((e=>e.id==o)))&&Swal.fire({title:"Are you sure?",text:`This will delete the webhook '${escapeHtml(t.name)}'`,type:"warning",animation:!1,showCancelButton:!0,confirmButtonText:"Delete",confirmButtonColor:"#428bca",reverseButtons:!0,allowOutsideClick:!1,preConfirm:function(){return new Promise(((e,t)=>{api.webhookId.delete(o).success((o=>{e()})).error((e=>{t(e.responseJSON.message)}))})).catch((e=>{Swal.showValidationMessage(e)}))}}).then((function(e){e.value&&Swal.fire("Webhook Deleted!","The webhook has been deleted!","success"),$("button:contains('OK')").on("click",(function(){location.reload()}))}))})),$("#webhookTable").on("click",".ping_button",(function(e){var o,t;o=e.currentTarget,t=e.currentTarget.dataset.webhookId,dismiss(),o.disabled=!0,api.webhookId.ping(t).success((function(e){o.disabled=!1,successFlash(`Ping of "${escapeHtml(e.name)}" webhook succeeded.`)})).error((function(e){o.disabled=!1;var s=webhooks.find((e=>e.id==t));s&&errorFlash(`Ping of "${escapeHtml(s.name)}" webhook failed: "${escapeHtml(e.responseJSON.message)}"`)}))}))})); \ No newline at end of file +!function(e){var o={};function t(n){if(o[n])return o[n].exports;var a=o[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var a in e)t.d(n,a,function(o){return e[o]}.bind(null,a));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=9)}({9:function(e,o){var t=[],n=function(){$("#name").val(""),$("#url").val(""),$("#secret").val(""),$("#is_active").prop("checked",!1),$("#flashes").empty()},a=function(){$("#webhookTable").hide(),$("#loading").show(),api.webhooks.get().success(function(e){t=e,$("#loading").hide(),$("#webhookTable").show();var o=$("#webhookTable").DataTable({destroy:!0,columnDefs:[{orderable:!1,targets:"no-sort"}]});o.clear(),$.each(t,function(e,t){o.row.add([escapeHtml(t.name),escapeHtml(t.url),escapeHtml(t.is_active),'\n
    \n \n \n \n
    \n ')]).draw()})}).error(function(){errorFlash("Error fetching webhooks")})},c=function(e){$("#modalSubmit").unbind("click").click(function(){!function(e){var o={name:$("#name").val(),url:$("#url").val(),secret:$("#secret").val(),is_active:$("#is_active").is(":checked")};-1!=e?(o.id=parseInt(e),api.webhookId.put(o).success(function(e){n(),a(),$("#modal").modal("hide"),successFlash('Webhook "'.concat(escapeHtml(o.name),'" has been updated successfully!'))}).error(function(e){modalError(e.responseJSON.message)})):api.webhooks.post(o).success(function(e){a(),n(),$("#modal").modal("hide"),successFlash('Webhook "'.concat(escapeHtml(o.name),'" has been created successfully!'))}).error(function(e){modalError(e.responseJSON.message)})}(e)}),-1!==e?($("#webhookModalLabel").text("Edit Webhook"),api.webhookId.get(e).success(function(e){$("#name").val(e.name),$("#url").val(e.url),$("#secret").val(e.secret),$("#is_active").prop("checked",e.is_active)}).error(function(){errorFlash("Error fetching webhook")})):$("#webhookModalLabel").text("New Webhook")};$(document).ready(function(){a(),$("#modal").on("hide.bs.modal",function(){n()}),$("#new_button").on("click",function(){c(-1)}),$("#webhookTable").on("click",".edit_button",function(e){c($(this).attr("data-webhook-id"))}),$("#webhookTable").on("click",".delete_button",function(e){var o,n;o=$(this).attr("data-webhook-id"),(n=t.find(function(e){return e.id==o}))&&Swal.fire({title:"Are you sure?",text:"This will delete the webhook '".concat(escapeHtml(n.name),"'"),type:"warning",animation:!1,showCancelButton:!0,confirmButtonText:"Delete",confirmButtonColor:"#428bca",reverseButtons:!0,allowOutsideClick:!1,preConfirm:function(){return new Promise(function(e,t){api.webhookId.delete(o).success(function(o){e()}).error(function(e){t(e.responseJSON.message)})}).catch(function(e){Swal.showValidationMessage(e)})}}).then(function(e){e.value&&Swal.fire("Webhook Deleted!","The webhook has been deleted!","success"),$("button:contains('OK')").on("click",function(){location.reload()})})}),$("#webhookTable").on("click",".ping_button",function(e){var o,a;o=e.currentTarget,a=e.currentTarget.dataset.webhookId,n(),o.disabled=!0,api.webhookId.ping(a).success(function(e){o.disabled=!1,successFlash('Ping of "'.concat(escapeHtml(e.name),'" webhook succeeded.'))}).error(function(e){o.disabled=!1;var n=t.find(function(e){return e.id==a});n&&errorFlash('Ping of "'.concat(escapeHtml(n.name),'" webhook failed: "').concat(escapeHtml(e.responseJSON.message),'"'))})})})}}); \ No newline at end of file diff --git a/static/js/dist/vendor.min.js b/static/js/dist/vendor.min.js index e5a55d6d..064739c7 100644 --- a/static/js/dist/vendor.min.js +++ b/static/js/dist/vendor.min.js @@ -1 +1,60 @@ -if(function(p,_){function e(t,e){return e.toUpperCase()}function i(t){(g.addEventListener||"load"===t.type||"complete"===g.readyState)&&(L(),xt.ready())}var r,n,v=typeof _,t=p.location,g=p.document,o=g.documentElement,a=p.jQuery,s=p.$,l={},h=[],u="1.10.2",m=h.concat,c=h.push,d=h.slice,f=h.indexOf,y=l.toString,b=l.hasOwnProperty,x=u.trim,xt=function(t,e){return new xt.fn.init(t,e,n)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,C=/\S+/g,S=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,M=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,T=/^[\],:{}\s]*$/,D=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,P=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,E=/^-ms-/,O=/-([\da-z])/gi,L=function(){g.addEventListener?(g.removeEventListener("DOMContentLoaded",i,!1),p.removeEventListener("load",i,!1)):(g.detachEvent("onreadystatechange",i),p.detachEvent("onload",i))};function I(t){var e=t.length,n=xt.type(t);return!xt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||"function"!==n&&(0===e||"number"==typeof e&&0"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:k.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof xt?e[0]:e,xt.merge(this,xt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:g,!0)),M.test(i[1])&&xt.isPlainObject(e))for(i in e)xt.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}if((r=g.getElementById(i[2]))&&r.parentNode){if(r.id!==i[2])return n.find(t);this.length=1,this[0]=r}return this.context=g,this.selector=t,this},selector:"",length:0,toArray:function(){return d.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){var e=xt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return xt.each(this,t,e)},ready:function(t){return xt.ready.promise().done(t),this},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n+~]|"+F+")"+F+"*"),U=RegExp(F+"*[+~]"),Y=RegExp("="+F+"*([^\\]'\"]*)"+F+"*\\]","g"),G=RegExp(z),X=RegExp("^"+H+"$"),V={ID:RegExp("^#("+j+")"),CLASS:RegExp("^\\.("+j+")"),TAG:RegExp("^("+j.replace("w","w*")+")"),ATTR:RegExp("^"+B),PSEUDO:RegExp("^"+z),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:RegExp("^(?:"+R+")$","i"),needsContext:RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},Z=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,tt=/'|\\/g,et=RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),nt=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(65536+i):String.fromCharCode(55296|i>>10,56320|1023&i)};try{L.apply(e=I.call(k.childNodes),k.childNodes),e[k.childNodes.length].nodeType}catch(t){L={apply:e.length?function(t,e){O.apply(t,I.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function it(t,e,n,i){var r,o,a,s,l,u,c,h,d,f;if((e?e.ownerDocument||e:k)!==C&&m(e),n=n||[],!t||"string"!=typeof t)return n;if(1!==(s=(e=e||C).nodeType)&&9!==s)return[];if(v&&!i){if(r=K.exec(t))if(a=r[1]){if(9===s){if(!(o=e.getElementById(a))||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&b(e,o)&&o.id===a)return n.push(o),n}else{if(r[2])return L.apply(n,e.getElementsByTagName(t)),n;if((a=r[3])&&p.getElementsByClassName&&e.getElementsByClassName)return L.apply(n,e.getElementsByClassName(a)),n}if(p.qsa&&(!y||!y.test(t))){if(h=c=x,d=e,f=9===s&&t,1===s&&"object"!==e.nodeName.toLowerCase()){for(u=ft(t),(c=e.getAttribute("id"))?h=c.replace(tt,"\\$&"):e.setAttribute("id",h),h="[id='"+h+"'] ",l=u.length;l--;)u[l]=h+pt(u[l]);d=U.test(t)&&e.parentNode||e,f=u.join(",")}if(f)try{return L.apply(n,d.querySelectorAll(f)),n}catch(t){}finally{c||e.removeAttribute("id")}}}return function(t,e,n,i){var r,o,a,s,l,u=ft(t);if(!i&&1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(a=o[0]).type&&p.getById&&9===e.nodeType&&v&&S.relative[o[1].type]){if(!(e=(S.find.ID(a.matches[0].replace(et,nt),e)||[])[0]))return n;t=t.slice(o.shift().value.length)}for(r=V.needsContext.test(t)?0:o.length;r--&&(a=o[r],!S.relative[s=a.type]);)if((l=S.find[s])&&(i=l(a.matches[0].replace(et,nt),U.test(o[0].type)&&e.parentNode||e))){if(o.splice(r,1),!(t=i.length&&pt(o)))return L.apply(n,i),n;break}}return g(t,u)(i,e,!v,n,U.test(t)),n}(t.replace(W,"$1"),e,n,i)}function rt(){var i=[];return function t(e,n){return i.push(e+=" ")>S.cacheLength&&delete t[i.shift()],t[e]=n}}function ot(t){return t[x]=!0,t}function at(t){var e=C.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function st(t,e){for(var n=t.split("|"),i=t.length;i--;)S.attrHandle[n[i]]=e}function lt(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ut(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ct(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}function ht(a){return ot(function(o){return o=+o,ot(function(t,e){for(var n,i=a([],t.length,o),r=i.length;r--;)t[n=i[r]]&&(t[n]=!(e[n]=t[n]))})})}for(t in i=it.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},p=it.support={},m=it.setDocument=function(t){var l=t?t.ownerDocument||t:k,e=l.defaultView;return l!==C&&9===l.nodeType&&l.documentElement?(a=(C=l).documentElement,v=!i(l),e&&e.attachEvent&&e!==e.top&&e.attachEvent("onbeforeunload",function(){m()}),p.attributes=at(function(t){return t.className="i",!t.getAttribute("className")}),p.getElementsByTagName=at(function(t){return t.appendChild(l.createComment("")),!t.getElementsByTagName("*").length}),p.getElementsByClassName=at(function(t){return t.innerHTML="
    ",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),p.getById=at(function(t){return a.appendChild(t).id=x,!l.getElementsByName||!l.getElementsByName(x).length}),p.getById?(S.find.ID=function(t,e){if(typeof e.getElementById!=A&&v){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},S.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}}):(delete S.find.ID,S.filter.ID=function(t){var n=t.replace(et,nt);return function(t){var e=typeof t.getAttributeNode!=A&&t.getAttributeNode("id");return e&&e.value===n}}),S.find.TAG=p.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!=A?e.getElementsByTagName(t):r}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},S.find.CLASS=p.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!=A&&v?e.getElementsByClassName(t):r},s=[],y=[],(p.qsa=Z.test(l.querySelectorAll))&&(at(function(t){t.innerHTML="",t.querySelectorAll("[selected]").length||y.push("\\["+F+"*(?:value|"+R+")"),t.querySelectorAll(":checked").length||y.push(":checked")}),at(function(t){var e=l.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("t",""),t.querySelectorAll("[t^='']").length&&y.push("[*^$]="+F+"*(?:''|\"\")"),t.querySelectorAll(":enabled").length||y.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),y.push(",.*:")})),(p.matchesSelector=Z.test(c=a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&at(function(t){p.disconnectedMatch=c.call(t,"div"),c.call(t,"[s!='']:x"),s.push("!=",z)}),y=y.length&&RegExp(y.join("|")),s=s.length&&RegExp(s.join("|")),b=Z.test(a.contains)||a.compareDocumentPosition?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},D=a.compareDocumentPosition?function(t,e){if(t===e)return T=!0,0;var n=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e);return n?1&n||!p.sortDetached&&e.compareDocumentPosition(t)===n?t===l||b(k,t)?-1:e===l||b(k,e)?1:u?N.call(u,t)-N.call(u,e):0:4&n?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(t===e)return T=!0,0;if(!r||!o)return t===l?-1:e===l?1:r?-1:o?1:u?N.call(u,t)-N.call(u,e):0;if(r===o)return lt(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?lt(a[i],s[i]):a[i]===k?-1:s[i]===k?1:0},l):C},it.matches=function(t,e){return it(t,null,null,e)},it.matchesSelector=function(t,e){if((t.ownerDocument||t)!==C&&m(t),e=e.replace(Y,"='$1']"),!(!p.matchesSelector||!v||s&&s.test(e)||y&&y.test(e)))try{var n=c.call(t,e);if(n||p.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||it.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&it.error(t[0]),t},PSEUDO:function(t){var e,n=!t[5]&&t[2];return V.CHILD.test(t[0])?null:(t[3]&&t[4]!==r?t[2]=t[4]:n&&G.test(n)&&(e=ft(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=l[t+" "];return e||(e=RegExp("(^|"+F+")"+t+"("+F+"|$)"))&&l(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!=A&&t.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(t){var e=it.attr(t,n);return null==e?"!="===i:!i||(e+="","="===i?e===r:"!="===i?e!==r:"^="===i?r&&0===e.indexOf(r):"*="===i?r&&-1++i;)t.push(i);return t})}}).pseudos.nth=S.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.pseudos[t]=ut(t);for(t in{submit:!0,reset:!0})S.pseudos[t]=ct(t);function dt(){}function ft(t,e){var n,i,r,o,a,s,l,u=d[t+" "];if(u)return e?0:u.slice(0);for(a=t,s=[],l=S.preFilter;a;){for(o in(!n||(i=$.exec(a)))&&(i&&(a=a.slice(i[0].length)||a),s.push(r=[])),n=!1,(i=q.exec(a))&&(n=i.shift(),r.push({value:n,type:i[0].replace(W," ")}),a=a.slice(n.length)),S.filter)!(i=V[o].exec(a))||l[o]&&!(i=l[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),a=a.slice(n.length));if(!n)break}return e?a.length:a?it.error(t):d(t,s).slice(0)}function pt(t){for(var e=0,n=t.length,i="";e
    a",t=c.getElementsByTagName("*")||[],!(e=c.getElementsByTagName("a")[0])||!e.style||!t.length)return o;a=(i=g.createElement("select")).appendChild(g.createElement("option")),n=c.getElementsByTagName("input")[0],e.style.cssText="top:1px;float:left;opacity:.5",o.getSetAttribute="t"!==c.className,o.leadingWhitespace=3===c.firstChild.nodeType,o.tbody=!c.getElementsByTagName("tbody").length,o.htmlSerialize=!!c.getElementsByTagName("link").length,o.style=/top/.test(e.getAttribute("style")),o.hrefNormalized="/a"===e.getAttribute("href"),o.opacity=/^0.5/.test(e.style.opacity),o.cssFloat=!!e.style.cssFloat,o.checkOn=!!n.value,o.optSelected=a.selected,o.enctype=!!g.createElement("form").enctype,o.html5Clone="<:nav>"!==g.createElement("nav").cloneNode(!0).outerHTML,o.inlineBlockNeedsLayout=!1,o.shrinkWrapBlocks=!1,o.pixelPosition=!1,o.deleteExpando=!0,o.noCloneEvent=!0,o.reliableMarginRight=!0,o.boxSizingReliable=!0,n.checked=!0,o.noCloneChecked=n.cloneNode(!0).checked,i.disabled=!0,o.optDisabled=!a.disabled;try{delete c.test}catch(t){o.deleteExpando=!1}for(u in(n=g.createElement("input")).setAttribute("value",""),o.input=""===n.getAttribute("value"),n.value="t",n.setAttribute("type","radio"),o.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),(r=g.createDocumentFragment()).appendChild(n),o.appendChecked=n.checked,o.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){o.noCloneEvent=!1}),c.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})c.setAttribute(s="on"+u,"t"),o[u+"Bubbles"]=s in p||!1===c.attributes[s].expando;for(u in c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===c.style.backgroundClip,xt(o))break;return o.ownLast="0"!==u,xt(function(){var t,e,n,i="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",r=g.getElementsByTagName("body")[0];r&&((t=g.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",r.appendChild(t).appendChild(c),c.innerHTML="
    t
    ",(n=c.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",l=0===n[0].offsetHeight,n[0].style.display="",n[1].style.display="none",o.reliableHiddenOffsets=l&&0===n[0].offsetHeight,c.innerHTML="",c.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",xt.swap(r,null!=r.style.zoom?{zoom:1}:{},function(){o.boxSizing=4===c.offsetWidth}),p.getComputedStyle&&(o.pixelPosition="1%"!==(p.getComputedStyle(c,null)||{}).top,o.boxSizingReliable="4px"===(p.getComputedStyle(c,null)||{width:"4px"}).width,(e=c.appendChild(g.createElement("div"))).style.cssText=c.style.cssText=i,e.style.marginRight=e.style.width="0",c.style.width="1px",o.reliableMarginRight=!parseFloat((p.getComputedStyle(e,null)||{}).marginRight)),typeof c.style.zoom!==v&&(c.innerHTML="",c.style.cssText=i+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="
    ",c.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==c.offsetWidth,o.inlineBlockNeedsLayout&&(r.style.zoom=1)),r.removeChild(t),t=c=n=e=null)}),t=i=r=a=e=n=null,o}({});var R=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,F=/([A-Z])/g;function j(t,e,n,i){if(xt.acceptData(t)){var r,o,a=xt.expando,s=t.nodeType,l=s?xt.cache:t,u=s?t[a]:t[a]&&a;if(u&&l[u]&&(i||l[u].data)||n!==_||"string"!=typeof e)return u||(u=s?t[a]=h.pop()||xt.guid++:a),l[u]||(l[u]=s?{}:{toJSON:xt.noop}),("object"==typeof e||"function"==typeof e)&&(i?l[u]=xt.extend(l[u],e):l[u].data=xt.extend(l[u].data,e)),o=l[u],i||(o.data||(o.data={}),o=o.data),n!==_&&(o[xt.camelCase(e)]=n),"string"==typeof e?null==(r=o[e])&&(r=o[xt.camelCase(e)]):r=o,r}}function H(t,e,n){if(xt.acceptData(t)){var i,r,o=t.nodeType,a=o?xt.cache:t,s=o?t[xt.expando]:xt.expando;if(a[s]){if(e&&(i=n?a[s]:a[s].data)){r=(e=xt.isArray(e)?e.concat(xt.map(e,xt.camelCase)):e in i?[e]:(e=xt.camelCase(e))in i?[e]:e.split(" ")).length;for(;r--;)delete i[e[r]];if(n?!z(i):!xt.isEmptyObject(i))return}(n||(delete a[s].data,z(a[s])))&&(o?xt.cleanData([t],!0):xt.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function B(t,e,n){if(n===_&&1===t.nodeType){var i="data-"+e.replace(F,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:R.test(n)?xt.parseJSON(n):n)}catch(t){}xt.data(t,e,n)}else n=_}return n}function z(t){var e;for(e in t)if(("data"!==e||!xt.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}xt.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?xt.cache[t[xt.expando]]:t[xt.expando])&&!z(t)},data:function(t,e,n){return j(t,e,n)},removeData:function(t,e){return H(t,e)},_data:function(t,e,n){return j(t,e,n,!0)},_removeData:function(t,e){return H(t,e,!0)},acceptData:function(t){if(t.nodeType&&1!==t.nodeType&&9!==t.nodeType)return!1;var e=t.nodeName&&xt.noData[t.nodeName.toLowerCase()];return!e||!0!==e&&t.getAttribute("classid")===e}}),xt.fn.extend({data:function(t,e){var n,i,r=null,o=0,a=this[0];if(t!==_)return"object"==typeof t?this.each(function(){xt.data(this,t)}):1o;o++)0===(i=n[o].name).indexOf("data-")&&B(a,i=xt.camelCase(i.slice(5)),r[i]);xt._data(a,"parsedAttrs",!0)}return r},removeData:function(t){return this.each(function(){xt.removeData(this,t)})}}),xt.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=xt._data(t,e),n&&(!i||xt.isArray(n)?i=xt._data(t,e,xt.makeArray(n)):i.push(n)),i||[]):_},dequeue:function(t,e){e=e||"fx";var n=xt.queue(t,e),i=n.length,r=n.shift(),o=xt._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,function(){xt.dequeue(t,e)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return xt._data(t,n)||xt._data(t,n,{empty:xt.Callbacks("once memory").add(function(){xt._removeData(t,e+"queue"),xt._removeData(t,n)})})}}),xt.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),t>arguments.length?xt.queue(this[0],e):n===_?this:this.each(function(){var t=xt.queue(this,e,n);xt._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&xt.dequeue(this,e)})},dequeue:function(t){return this.each(function(){xt.dequeue(this,t)})},delay:function(i,t){return i=xt.fx&&xt.fx.speeds[i]||i,t=t||"fx",this.queue(t,function(t,e){var n=setTimeout(t,i);e.stop=function(){clearTimeout(n)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function n(){--r||o.resolveWith(a,[a])}var i,r=1,o=xt.Deferred(),a=this,s=this.length;for("string"!=typeof t&&(e=t,t=_),t=t||"fx";s--;)(i=xt._data(a[s],t+"queueHooks"))&&i.empty&&(r++,i.empty.add(n));return n(),o.promise(e)}});var W,$,q=/[\t\r\n\f]/g,U=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,G=/^(?:a|area)$/i,X=/^(?:checked|selected)$/i,V=xt.support.getSetAttribute,Z=xt.support.input;xt.fn.extend({attr:function(t,e){return xt.access(this,xt.attr,t,e,1s&&a.push({elem:this,handlers:e.slice(s)}),a},fix:function(t){if(t[xt.expando])return t;var e,n,i,r=t.type,o=t,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=Q.test(r)?this.mouseHooks:J.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new xt.Event(o),e=i.length;e--;)t[n=i[e]]=o[n];return t.target||(t.target=o.srcElement||g),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},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(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(r=(i=t.target.ownerDocument||g).documentElement,n=i.body,t.pageX=e.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||o===_||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==rt()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===rt()&&this.blur?(this.blur(),!1):_},delegateType:"focusout"},click:{trigger:function(){return xt.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):_},_default:function(t){return xt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){t.result!==_&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=xt.extend(new xt.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?xt.event.trigger(r,null,e):xt.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},xt.removeEvent=g.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){var i="on"+e;t.detachEvent&&(typeof t[i]===v&&(t[i]=null),t.detachEvent(i,n))},xt.Event=function(t,e){return this instanceof xt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||!1===t.returnValue||t.getPreventDefault&&t.getPreventDefault()?nt:it):this.type=t,e&&xt.extend(this,e),this.timeStamp=t&&t.timeStamp||xt.now(),this[xt.expando]=!0,_):new xt.Event(t,e)},xt.Event.prototype={isDefaultPrevented:it,isPropagationStopped:it,isImmediatePropagationStopped:it,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=nt,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=nt,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=nt,this.stopPropagation()}},xt.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,r){xt.event.special[t]={delegateType:r,bindType:r,handle:function(t){var e,n=t.relatedTarget,i=t.handleObj;return(!n||n!==this&&!xt.contains(this,n))&&(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=r),e}}}),xt.support.submitBubbles||(xt.event.special.submit={setup:function(){return!xt.nodeName(this,"form")&&(xt.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=xt.nodeName(e,"input")||xt.nodeName(e,"button")?e.form:_;n&&!xt._data(n,"submitBubbles")&&(xt.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),xt._data(n,"submitBubbles",!0))}),_)},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&xt.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!xt.nodeName(this,"form")&&(xt.event.remove(this,"._submit"),_)}}),xt.support.changeBubbles||(xt.event.special.change={setup:function(){return K.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(xt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),xt.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),xt.event.simulate("change",this,t,!0)})),!1):(xt.event.add(this,"beforeactivate._change",function(t){var e=t.target;K.test(e.nodeName)&&!xt._data(e,"changeBubbles")&&(xt.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||xt.event.simulate("change",this.parentNode,t,!0)}),xt._data(e,"changeBubbles",!0))}),_)},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):_},teardown:function(){return xt.event.remove(this,"._change"),!K.test(this.nodeName)}}),xt.support.focusinBubbles||xt.each({focus:"focusin",blur:"focusout"},function(t,e){function n(t){xt.event.simulate(e,t.target,xt.event.fix(t),!0)}var i=0;xt.event.special[e]={setup:function(){0==i++&&g.addEventListener(t,n,!0)},teardown:function(){0==--i&&g.removeEventListener(t,n,!0)}}}),xt.fn.extend({on:function(t,e,n,i,r){var o,a;if("object"==typeof t){for(o in"string"!=typeof e&&(n=n||e,e=_),t)this.on(o,e,n,t[o],r);return this}if(null==n&&null==i?(i=e,n=e=_):null==i&&("string"==typeof e?(i=n,n=_):(i=n,n=e,e=_)),!1===i)i=it;else if(!i)return this;return 1===r&&(a=i,(i=function(t){return xt().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=xt.guid++)),this.each(function(){xt.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,xt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof t)return(!1===e||"function"==typeof e)&&(n=e,e=_),!1===n&&(n=it),this.each(function(){xt.event.remove(this,t,n,e)});for(r in t)this.off(r,e,t[r]);return this},trigger:function(t,e){return this.each(function(){xt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?xt.event.trigger(t,e,n,!0):_}});var ot=/^.[^:#\[\.,]*$/,at=/^(?:parents|prev(?:Until|All))/,st=xt.expr.match.needsContext,lt={children:!0,contents:!0,next:!0,prev:!0};function ut(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function ct(t,n,i){if(xt.isFunction(n))return xt.grep(t,function(t,e){return!!n.call(t,e,t)!==i});if(n.nodeType)return xt.grep(t,function(t){return t===n!==i});if("string"==typeof n){if(ot.test(n))return xt.filter(n,t,i);n=xt.filter(n,t)}return xt.grep(t,function(t){return 0<=xt.inArray(t,n)!==i})}function ht(t){var e=dt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}xt.fn.extend({find:function(t){var e,n=[],i=this,r=i.length;if("string"!=typeof t)return this.pushStack(xt(t).filter(function(){for(e=0;e]","i"),gt=/^\s+/,mt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,yt=/\s*$/g,Tt={option:[1,""],legend:[1,"
    ","
    "],area:[1,"",""],param:[1,"",""],thead:[1,"","
    "],tr:[2,"","
    "],col:[2,"","
    "],td:[3,"","
    "],_default:xt.support.htmlSerialize?[0,"",""]:[1,"X
    ","
    "]},Dt=ht(g).appendChild(g.createElement("div"));function At(t,e){return xt.nodeName(t,"table")&&xt.nodeName(1===e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function Pt(t){return t.type=(null!==xt.find.attr(t,"type"))+"/"+t.type,t}function Et(t){var e=kt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Ot(t,e){for(var n,i=0;null!=(n=t[i]);i++)xt._data(n,"globalEval",!e||xt._data(e[i],"globalEval"))}function Lt(t,e){if(1===e.nodeType&&xt.hasData(t)){var n,i,r,o=xt._data(t),a=xt._data(e,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(i=0,r=s[n].length;i");try{for(;n")?o=t.cloneNode(!0):(Dt.innerHTML=t.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(xt.support.noCloneEvent&&xt.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||xt.isXMLDoc(t)))for(i=Nt(o),s=Nt(t),a=0;null!=(r=s[a]);++a)i[a]&&It(r,i[a]);if(e)if(n)for(s=s||Nt(t),i=i||Nt(o),a=0;null!=(r=s[a]);a++)Lt(r,i[a]);else Lt(t,o);return 0<(i=Nt(o,"script")).length&&Ot(i,!l&&Nt(t,"script")),i=s=r=null,o},buildFragment:function(t,e,n,i){for(var r,o,a,s,l,u,c,h=t.length,d=ht(e),f=[],p=0;p")+c[2],r=c[0];r--;)s=s.lastChild;if(!xt.support.leadingWhitespace&>.test(o)&&f.push(e.createTextNode(gt.exec(o)[0])),!xt.support.tbody)for(r=(o="table"!==l||yt.test(o)?""!==c[1]||yt.test(o)?0:s:s.firstChild)&&o.childNodes.length;r--;)xt.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(xt.merge(f,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=d.lastChild}else f.push(e.createTextNode(o));for(s&&d.removeChild(s),xt.support.appendChecked||xt.grep(Nt(f,"input"),Rt),p=0;o=f[p++];)if((!i||-1===xt.inArray(o,i))&&(a=xt.contains(o.ownerDocument,o),s=Nt(d.appendChild(o),"script"),a&&Ot(s),n))for(r=0;o=s[r++];)Ct.test(o.type||"")&&n.push(o);return s=null,d},cleanData:function(t,e){for(var n,i,r,o,a=0,s=xt.expando,l=xt.cache,u=xt.support.deleteExpando,c=xt.event.special;null!=(n=t[a]);a++)if((e||xt.acceptData(n))&&(o=(r=n[s])&&l[r])){if(o.events)for(i in o.events)c[i]?xt.event.remove(n,i):xt.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[s]:typeof n.removeAttribute!==v?n.removeAttribute(s):n[s]=null,h.push(r))}},_evalUrl:function(t){return xt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})}}),xt.fn.extend({wrapAll:function(e){if(xt.isFunction(e))return this.each(function(t){xt(this).wrapAll(e.call(this,t))});if(this[0]){var t=xt(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(n){return xt.isFunction(n)?this.each(function(t){xt(this).wrapInner(n.call(this,t))}):this.each(function(){var t=xt(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=xt.isFunction(e);return this.each(function(t){xt(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){xt.nodeName(this,"body")||xt(this).replaceWith(this.childNodes)}).end()}});var Ft,jt,Ht,Bt=/alpha\([^)]*\)/i,zt=/opacity\s*=\s*([^)]*)/,Wt=/^(top|right|bottom|left)$/,$t=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Ut=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Gt=RegExp("^([+-])=("+w+")","i"),Xt={BODY:"block"},Vt={position:"absolute",visibility:"hidden",display:"block"},Zt={letterSpacing:0,fontWeight:400},Kt=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"];function Qt(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,r=Jt.length;r--;)if((e=Jt[r]+n)in t)return e;return i}function te(t,e){return t=e||t,"none"===xt.css(t,"display")||!xt.contains(t.ownerDocument,t)}function ee(t,e){for(var n,i,r,o=[],a=0,s=t.length;a").css("cssText","display:block !important")).appendTo(e.documentElement))[0].contentWindow||Ft[0].contentDocument).document).write(""),e.close(),n=ae(t,e),Ft.detach()),Xt[t]=n),n}function ae(t,e){var n=xt(e.createElement(t)).appendTo(e.body),i=xt.css(n[0],"display");return n.remove(),i}xt.fn.extend({css:function(t,e){return xt.access(this,function(t,e,n){var i,r,o={},a=0;if(xt.isArray(e)){for(r=jt(t),i=e.length;a").append(xt.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){a.each(n,r||[t.responseText,e,t])}),this},xt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){xt.fn[e]=function(t){return this.on(e,t)}}),xt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:pe,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(fe[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Me,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":xt.parseJSON,"text xml":xt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ae(Ae(t,xt.ajaxSettings),e):Ae(xt.ajaxSettings,t)},ajaxPrefilter:Te(Ce),ajaxTransport:Te(ke),ajax:function(t,e){"object"==typeof t&&(e=t,t=_),e=e||{};var n,i,c,h,d,f,p,r,g=xt.ajaxSetup({},e),m=g.context||g,v=g.context&&(m.nodeType||m.jquery)?xt(m):xt.event,y=xt.Deferred(),b=xt.Callbacks("once memory"),x=g.statusCode||{},o={},a={},w=0,s="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(2===w){if(!r)for(r={};e=be.exec(h);)r[e[1].toLowerCase()]=e[2];e=r[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===w?h:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return w||(t=a[n]=a[n]||t,o[t]=e),this},overrideMimeType:function(t){return w||(g.mimeType=t),this},statusCode:function(t){var e;if(t)if(w<2)for(e in t)x[e]=[x[e],t[e]];else S.always(t[S.status]);return this},abort:function(t){var e=t||s;return p&&p.abort(e),l(0,e),this}};if(y.promise(S).complete=b.add,S.success=S.done,S.error=S.fail,g.url=((t||g.url||pe)+"").replace(ve,"").replace(we,fe[1]+"//"),g.type=e.method||e.type||g.method||g.type,g.dataTypes=xt.trim(g.dataType||"*").toLowerCase().match(C)||[""],null==g.crossDomain&&(n=Se.exec(g.url.toLowerCase()),g.crossDomain=!(!n||n[1]===fe[1]&&n[2]===fe[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(fe[3]||("http:"===fe[1]?"80":"443")))),g.data&&g.processData&&"string"!=typeof g.data&&(g.data=xt.param(g.data,g.traditional)),De(Ce,g,e,S),2===w)return S;for(i in(f=g.global)&&0==xt.active++&&xt.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!xe.test(g.type),c=g.url,g.hasContent||(g.data&&(c=g.url+=(me.test(c)?"&":"?")+g.data,delete g.data),!1===g.cache&&(g.url=ye.test(c)?c.replace(ye,"$1_="+ge++):c+(me.test(c)?"&":"?")+"_="+ge++)),g.ifModified&&(xt.lastModified[c]&&S.setRequestHeader("If-Modified-Since",xt.lastModified[c]),xt.etag[c]&&S.setRequestHeader("If-None-Match",xt.etag[c])),(g.data&&g.hasContent&&!1!==g.contentType||e.contentType)&&S.setRequestHeader("Content-Type",g.contentType),S.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Me+"; q=0.01":""):g.accepts["*"]),g.headers)S.setRequestHeader(i,g.headers[i]);if(g.beforeSend&&(!1===g.beforeSend.call(m,S,g)||2===w))return S.abort();for(i in s="abort",{success:1,error:1,complete:1})S[i](g[i]);if(p=De(ke,g,e,S)){S.readyState=1,f&&v.trigger("ajaxSend",[S,g]),g.async&&0n;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||xt.fx.stop(),Fe=_},xt.fx.timer=function(t){t()&&xt.timers.push(t)&&xt.fx.start()},xt.fx.interval=13,xt.fx.start=function(){je||(je=setInterval(xt.fx.tick,xt.fx.interval))},xt.fx.stop=function(){clearInterval(je),je=null},xt.fx.speeds={slow:600,fast:200,_default:400},xt.fx.step={},xt.expr&&xt.expr.filters&&(xt.expr.filters.animated=function(e){return xt.grep(xt.timers,function(t){return e===t.elem}).length}),xt.fn.offset=function(e){if(arguments.length)return e===_?this:this.each(function(t){xt.offset.setOffset(this,e,t)});var t,n,i={top:0,left:0},r=this[0],o=r&&r.ownerDocument;return o?(t=o.documentElement,xt.contains(t,r)?(typeof r.getBoundingClientRect!==v&&(i=r.getBoundingClientRect()),n=Ve(o),{top:i.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:i.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):i):void 0},xt.offset={setOffset:function(t,e,n){var i=xt.css(t,"position");"static"===i&&(t.style.position="relative");var r,o,a=xt(t),s=a.offset(),l=xt.css(t,"top"),u=xt.css(t,"left"),c={},h={};o=("absolute"===i||"fixed"===i)&&-1this.$items.length-1||t<0?void 0:this.sliding?this.$element.one("slid",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(n .panel > .in");if(e&&e.length){var n=e.data("bs.collapse");if(n&&n.transitioning)return;e.collapse("hide"),n||e.data("bs.collapse",null)}var i=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[i](0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("in")[i]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!u.support.transition)return r.call(this);var o=u.camelCase(["scroll",i].join("-"));this.$element.one(u.support.transition.end,u.proxy(r,this)).emulateTransitionEnd(350)[i](this.$element[0][o])}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=u.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return u.support.transition?void this.$element[e](0).one(u.support.transition.end,u.proxy(n,this)).emulateTransitionEnd(350):n.call(this)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var t=u.fn.collapse;u.fn.collapse=function(i){return this.each(function(){var t=u(this),e=t.data("bs.collapse"),n=u.extend({},r.DEFAULTS,t.data(),"object"==typeof i&&i);e||t.data("bs.collapse",e=new r(this,n)),"string"==typeof i&&e[i]()})},u.fn.collapse.Constructor=r,u.fn.collapse.noConflict=function(){return u.fn.collapse=t,this},u(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(t){var e,n=u(this),i=n.attr("data-target")||t.preventDefault()||(e=n.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""),r=u(i),o=r.data("bs.collapse"),a=o?"toggle":n.data(),s=n.attr("data-parent"),l=s&&u(s);o&&o.transitioning||(l&&l.find('[data-toggle=collapse][data-parent="'+s+'"]').not(n).addClass("collapsed"),n[r.hasClass("in")?"addClass":"removeClass"]("collapsed")),r.collapse(a)})}(jQuery),function(a){"use strict";function r(){a(".dropdown-backdrop").remove(),a(l).each(function(t){var e=s(a(this));e.hasClass("open")&&(e.trigger(t=a.Event("hide.bs.dropdown")),t.isDefaultPrevented()||e.removeClass("open").trigger("hidden.bs.dropdown"))})}function s(t){var e=t.attr("data-target");e||(e=(e=t.attr("href"))&&/#/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""));var n=e&&a(e);return n&&n.length?n:t.parent()}function i(t){a(t).on("click.bs.dropdown",this.toggle)}var l="[data-toggle=dropdown]";i.prototype.toggle=function(t){var e=a(this);if(!e.is(".disabled, :disabled")){var n=s(e),i=n.hasClass("open");if(r(),!i){if("ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&a(''}),((o.prototype=r.extend({},r.fn.tooltip.Constructor.prototype)).constructor=o).prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content")[this.options.html?"html":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},o.prototype.hasContent=function(){return this.getTitle()||this.getContent()},o.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},o.prototype.tip=function(){return this.$tip||(this.$tip=r(this.options.template)),this.$tip};var t=r.fn.popover;r.fn.popover=function(i){return this.each(function(){var t=r(this),e=t.data("bs.popover"),n="object"==typeof i&&i;e||t.data("bs.popover",e=new o(this,n)),"string"==typeof i&&e[i]()})},r.fn.popover.Constructor=o,r.fn.popover.noConflict=function(){return r.fn.popover=t,this}}(jQuery),function(o){"use strict";function r(t,e){var n,i=o.proxy(this.process,this);this.$element=o(t).is("body")?o(window):o(t),this.$body=o("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",i),this.options=o.extend({},r.DEFAULTS,e),this.selector=(this.options.target||(n=o(t).attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=o([]),this.targets=o([]),this.activeTarget=null,this.refresh(),this.process()}r.DEFAULTS={offset:10},r.prototype.refresh=function(){var i=this.$element[0]==window?"offset":"position";this.offsets=o([]),this.targets=o([]);var r=this;this.$body.find(this.selector).map(function(){var t=o(this),e=t.data("target")||t.attr("href"),n=/^#\w/.test(e)&&o(e);return n&&n.length&&[[n[i]().top+(!o.isWindow(r.$scrollElement.get(0))&&r.$scrollElement.scrollTop()),e]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){r.offsets.push(this[0]),r.targets.push(this[1])})},r.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=(this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight)-this.$scrollElement.height(),i=this.offsets,r=this.targets,o=this.activeTarget;if(n<=e)return o!=(t=r.last()[0])&&this.activate(t);for(t=i.length;t--;)o!=r[t]&&e>=i[t]&&(!i[t+1]||e<=i[t+1])&&this.activate(r[t])},r.prototype.activate=function(t){this.activeTarget=t,o(this.selector).parents(".active").removeClass("active");var e=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=o(e).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")};var t=o.fn.scrollspy;o.fn.scrollspy=function(i){return this.each(function(){var t=o(this),e=t.data("bs.scrollspy"),n="object"==typeof i&&i;e||t.data("bs.scrollspy",e=new r(this,n)),"string"==typeof i&&e[i]()})},o.fn.scrollspy.Constructor=r,o.fn.scrollspy.noConflict=function(){return o.fn.scrollspy=t,this},o(window).on("load",function(){o('[data-spy="scroll"]').each(function(){var t=o(this);t.scrollspy(t.data())})})}(jQuery),function(a){"use strict";function i(t){this.element=a(t)}i.prototype.show=function(){var t=this.element,e=t.closest("ul:not(.dropdown-menu)"),n=t.data("target");if(n||(n=(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var i=e.find(".active:last a")[0],r=a.Event("show.bs.tab",{relatedTarget:i});if(t.trigger(r),!r.isDefaultPrevented()){var o=a(n);this.activate(t.parent("li"),e),this.activate(o,o.parent(),function(){t.trigger({type:"shown.bs.tab",relatedTarget:i})})}}},i.prototype.activate=function(t,e,n){function i(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),o?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),n&&n()}var r=e.find("> .active"),o=n&&a.support.transition&&r.hasClass("fade");o?r.one(a.support.transition.end,i).emulateTransitionEnd(150):i(),r.removeClass("in")};var t=a.fn.tab;a.fn.tab=function(n){return this.each(function(){var t=a(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new i(this)),"string"==typeof n&&e[n]()})},a.fn.tab.Constructor=i,a.fn.tab.noConflict=function(){return a.fn.tab=t,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),a(this).tab("show")})}(jQuery),function(s){"use strict";var l=function(t,e){this.options=s.extend({},l.DEFAULTS,e),this.$window=s(window).on("scroll.bs.affix.data-api",s.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",s.proxy(this.checkPositionWithEventLoop,this)),this.$element=s(t),this.affixed=this.unpin=null,this.checkPosition()};l.RESET="affix affix-top affix-bottom",l.DEFAULTS={offset:0},l.prototype.checkPositionWithEventLoop=function(){setTimeout(s.proxy(this.checkPosition,this),1)},l.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=s(document).height(),e=this.$window.scrollTop(),n=this.$element.offset(),i=this.options.offset,r=i.top,o=i.bottom;"object"!=typeof i&&(o=r=i),"function"==typeof r&&(r=i.top()),"function"==typeof o&&(o=i.bottom());var a=!(null!=this.unpin&&e+this.unpin<=n.top)&&(null!=o&&n.top+this.$element.height()>=t-o?"bottom":null!=r&&e<=r&&"top");this.affixed!==a&&(this.unpin&&this.$element.css("top",""),this.affixed=a,this.unpin="bottom"==a?n.top-e:null,this.$element.removeClass(l.RESET).addClass("affix"+(a?"-"+a:"")),"bottom"==a&&this.$element.offset({top:document.body.offsetHeight-o-this.$element.height()}))}};var t=s.fn.affix;s.fn.affix=function(i){return this.each(function(){var t=s(this),e=t.data("bs.affix"),n="object"==typeof i&&i;e||t.data("bs.affix",e=new l(this,n)),"string"==typeof i&&e[i]()})},s.fn.affix.Constructor=l,s.fn.affix.noConflict=function(){return s.fn.affix=t,this},s(window).on("load",function(){s('[data-spy="affix"]').each(function(){var t=s(this),e=t.data();e.offset=e.offset||{},e.offsetBottom&&(e.offset.bottom=e.offsetBottom),e.offsetTop&&(e.offset.top=e.offsetTop),t.affix(e)})})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function p(){return Dt.apply(null,arguments)}function r(t){return"[object Array]"===Object.prototype.toString.call(t)}function o(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function g(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function a(t,e){for(var n in e)g(e,n)&&(t[n]=e[n]);return g(e,"toString")&&(t.toString=e.toString),g(e,"valueOf")&&(t.valueOf=e.valueOf),t}function s(t,e,n,i){return V(t,e,n,i,!0).utc()}function m(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}),t._pf}function l(t){if(null==t._isValid){var e=m(t);t._isValid=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function u(t){var e=s(NaN);return null!=t?a(m(e),t):m(e).userInvalidated=!0,e}function c(t,e){var n,i,r;if(void 0!==e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),void 0!==e._i&&(t._i=e._i),void 0!==e._f&&(t._f=e._f),void 0!==e._l&&(t._l=e._l),void 0!==e._strict&&(t._strict=e._strict),void 0!==e._tzm&&(t._tzm=e._tzm),void 0!==e._isUTC&&(t._isUTC=e._isUTC),void 0!==e._offset&&(t._offset=e._offset),void 0!==e._pf&&(t._pf=m(e)),void 0!==e._locale&&(t._locale=e._locale),0=e&&v(r,n,!0)>=e-1)break;e--}o++}return null}(t)}function t(t,e){var n=t.toLowerCase();Lt[n]=Lt[n+"s"]=Lt[e]=t}function S(t){return"string"==typeof t?Lt[t]||Lt[t.toLowerCase()]:void 0}function _(t){var e,n,i={};for(n in t)g(t,n)&&((e=S(n))&&(i[e]=t[n]));return i}function e(e,n){return function(t){return null!=t?(k(this,e,t),p.updateOffset(this,n),this):C(this,e)}}function C(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function k(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function M(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if("function"==typeof this[t=S(t)])return this[t](e);return this}function T(t,e,n){for(var i=""+Math.abs(t),r=0<=t;i.lengthI(n[Jt],n[Qt])?te:n[ee]<0||24W(r)&&(m(t)._overflowDayOfYear=!0),n=z(r,0,t._dayOfYear),t._a[Qt]=n.getUTCMonth(),t._a[te]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=i[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ee]&&0===t._a[ne]&&0===t._a[ie]&&0===t._a[re]&&(t._nextDay=!0,t._a[ee]=0),t._d=(t._useUTC?z:function(t,e,n,i,r,o,a){var s=new Date(t,e,n,i,r,o,a);return t<1970&&s.setFullYear(t),s}).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ee]=24)}}function G(t){if(t._f!==p.ISO_8601){t._a=[],m(t).empty=!0;var e,n,i,r,o,a,s,l,u,c,h=""+t._i,d=h.length,f=0;for(i=P(t._f,t._locale).match(It)||[],e=0;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ae.isDSTShifted=function(){if(this._a){var t=this._isUTC?s(this._a):Z(this._a);return this.isValid()&&0=this._config.preview;if(l)s.postMessage({results:r,workerId:w.WORKER_ID,finished:a});else if(H(this._config.chunk)&&!e){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);r=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),this._completed||!a||!H(this._config.complete)||r&&r.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),a||r&&r.meta.paused||this._nextChunk(),r}this._halted=!0},this._sendError=function(t){H(this._config.error)?this._config.error(t):l&&this._config.error&&s.postMessage({workerId:w.WORKER_ID,error:t,finished:!1})}}function d(t){var i;(t=t||{}).chunkSize||(t.chunkSize=w.RemoteChunkSize),h.call(this,t),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(i=new XMLHttpRequest,this._config.withCredentials&&(i.withCredentials=this._config.withCredentials),r||(i.onload=x(this._chunkLoaded,this),i.onerror=x(this._chunkError,this)),i.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadRequestHeaders){var t=this._config.downloadRequestHeaders;for(var e in t)i.setRequestHeader(e,t[e])}if(this._config.chunkSize){var n=this._start+this._config.chunkSize-1;i.setRequestHeader("Range","bytes="+this._start+"-"+n)}try{i.send(this._config.downloadRequestBody)}catch(t){this._chunkError(t.message)}r&&0===i.status&&this._chunkError()}},this._chunkLoaded=function(){4===i.readyState&&(i.status<200||400<=i.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:i.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(t){var e=t.getResponseHeader("Content-Range");return null!==e?parseInt(e.substring(e.lastIndexOf("/")+1)):-1}(i),this.parseChunk(i.responseText)))},this._chunkError=function(t){var e=i.statusText||t;this._sendError(new Error(e))}}function f(t){var i,r;(t=t||{}).chunkSize||(t.chunkSize=w.LocalChunkSize),h.call(this,t);var o="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,r=t.slice||t.webkitSlice||t.mozSlice,o?((i=new FileReader).onload=x(this._chunkLoaded,this),i.onerror=x(this._chunkError,this)):i=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(t.target.result)},this._chunkError=function(){this._sendError(i.error)}}function p(t){var n;h.call(this,t=t||{}),this.stream=function(t){return n=t,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var t,e=this._config.chunkSize;return n=e?(t=n.substring(0,e),n.substring(e)):(t=n,""),this._finished=!n,this.parseChunk(t)}}}function g(t){h.call(this,t=t||{});var e=[],n=!0,i=!1;this.pause=function(){h.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){h.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(t){this._input=t,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){i&&1===e.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):n=!0},this._streamData=x(function(t){try{e.push("string"==typeof t?t:t.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(t){this._streamError(t)}},this),this._streamError=x(function(t){this._streamCleanUp(),this._sendError(t)},this),this._streamEnd=x(function(){this._streamCleanUp(),i=!0,this._streamData("")},this),this._streamCleanUp=x(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function m(t){var e=require("stream").Duplex,n=_(t),i=!0,r=!1,o=[],a=null;this._onCsvData=function(t){var e=t.data;a.push(e)||this._handle.paused()||this._handle.pause()},this._onCsvComplete=function(){a.push(null)},n.step=x(this._onCsvData,this),n.complete=x(this._onCsvComplete,this),h.call(this,n),this._nextChunk=function(){r&&1===o.length&&(this._finished=!0),o.length?o.shift()():i=!0},this._addToParseQueue=function(t,e){o.push(x(function(){if(this.parseChunk("string"==typeof t?t:t.toString(n.encoding)),H(e))return e()},this)),i&&(i=!1,this._nextChunk())},this._onRead=function(){this._handle.paused()&&this._handle.resume()},this._onWrite=function(t,e,n){this._addToParseQueue(t,n)},this._onWriteComplete=function(){r=!0,this._addToParseQueue("")},this.getStream=function(){return a},(a=new e({readableObjectMode:!0,decodeStrings:!1,read:x(this._onRead,this),write:x(this._onWrite,this)})).once("finish",x(this._onWriteComplete,this))}function n(v){var a,s,l,n=Math.pow(2,53),i=-n,r=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)(e[-+]?\d+)?\s*$/,o=/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/,e=this,u=0,c=0,h=!1,t=!1,d=[],f={data:[],errors:[],meta:{}};if(H(v.step)){var p=v.step;v.step=function(t){if(f=t,m())g();else{if(g(),0===f.data.length)return;u+=t.data.length,v.preview&&u>v.preview?s.abort():(f.data=f.data[0],p(f,e))}}}function y(t){return"greedy"===v.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function g(){if(f&&l&&(x("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+w.DefaultDelimiter+"'"),l=!1),v.skipEmptyLines)for(var t=0;t=d.length?"__parsed_extra":d[n]),v.transform&&(o=v.transform(o,r)),o=b(r,o),"__parsed_extra"===r?(i[r]=i[r]||[],i[r].push(o)):i[r]=o}return v.header&&(n>d.length?x("FieldMismatch","TooManyFields","Too many fields: expected "+d.length+" fields but parsed "+n,c+e):n=i.length/2?"\r\n":"\r"}(t,i)),l=!1,v.delimiter)H(v.delimiter)&&(v.delimiter=v.delimiter(t),f.meta.delimiter=v.delimiter);else{var r=function(t,e,n,i,r){var o,a,s,l;r=r||[",","\t","|",";",w.RECORD_SEP,w.UNIT_SEP];for(var u=0;u=L)return k(!0)}else for(v=R,R++;;){if(-1===(v=a.indexOf(D,v+1)))return n||u.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:l.length,index:R}),_();if(v===i-1)return _(a.substring(R,v).replace(m,D));if(D!==N||a[v+1]!==N){if(D===N||0===v||a[v-1]!==N){-1!==p&&p=L)return k(!0);break}u.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:l.length,index:R}),v++}}else v++}return _();function w(t){l.push(t),h=R}function S(t){var e=0;if(-1!==t){var n=a.substring(v+1,t);n&&""===n.trim()&&(e=n.length)}return e}function _(t){return n||(void 0===t&&(t=a.substring(R)),c.push(t),R=i,w(c),s&&M()),k()}function C(t){R=t,w(c),c=[],g=a.indexOf(P,R)}function k(t){return{data:l,errors:u,meta:{delimiter:A,linebreak:P,aborted:F,truncated:!!t,cursor:h+(e||0)}}}function M(){O(k()),l=[],u=[]}function T(t,e,n){var i={nextDelim:void 0,quoteSearch:void 0},r=a.indexOf(D,e+1);if(e>>1;o(t[r],e)<0?n=1+r:i=r}return n},right:function(t,e,n,i){for(arguments.length<3&&(n=0),arguments.length<4&&(i=t.length);n>>1;0>16,255&t>>8,255&t)}function ft(t){return dt(t)+""}function pt(t){return t<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function gt(t,e,n){var i,r,o,a=0,s=0,l=0;if(i=/([a-z]+)\((.*)\)/i.exec(t))switch(r=i[2].split(","),i[1]){case"hsl":return n(parseFloat(r[0]),parseFloat(r[1])/100,parseFloat(r[2])/100);case"rgb":return e(bt(r[0]),bt(r[1]),bt(r[2]))}return(o=Bo.get(t))?e(o.r,o.g,o.b):(null==t||"#"!==t.charAt(0)||isNaN(o=parseInt(t.slice(1),16))||(4===t.length?(a=(3840&o)>>4,a|=a>>4,s=240&o,s|=s>>4,l=15&o,l|=l<<4):7===t.length&&(a=(16711680&o)>>16,s=(65280&o)>>8,l=255&o)),e(a,s,l))}function mt(t,e,n){var i,r,o=Math.min(t/=255,e/=255,n/=255),a=Math.max(t,e,n),s=a-o,l=(a+o)/2;return s?(r=l<.5?s/(a+o):s/(2-a-o),i=t==a?(e-n)/s+(e=Uo.t&&(Uo.f=Uo.c(t-Uo.t)),Uo=Uo.n;return t}function Mt(){for(var t,e=zo,n=1/0;e;)e=e.f?t?t.n=e.n:zo=e.n:(e.ti&&0M}function p(t,e,n){var i=[1,0,0],r=oe(ie(t),ie(e)),o=re(r,r),a=r[0],s=o-a*a;if(!s)return!n&&t;var l=M*o/s,u=-M*a/s,c=oe(i,r),h=se(i,l);ae(h,se(r,u));var d=c,f=re(h,d),p=re(d,d),g=f*f-p*(re(h,h)-1);if(!(g<0)){var m=Math.sqrt(g),v=se(d,(-f-m)/p);if(ae(v,h),v=ue(v),!n)return v;var y,b=t[0],x=e[0],w=t[1],S=e[1];xxo;return we(f,function(s){var l,u,c,h,d;return{lineStart:function(){h=c=!1,d=1},point:function(t,e){var n,i=[t,e],r=f(t,e),o=m?r?0:g(t,e):r?g(t+(t<0?So:-So),e):0;if(!l&&(h=c=r)&&s.lineStart(),r!==c&&(n=p(l,i),(ce(l,n)||ce(i,n))&&(i[0]+=xo,i[1]+=xo,r=f(i[0],i[1]))),r!==c)d=0,r?(s.lineStart(),n=p(i,l),s.point(n[0],n[1])):(n=p(l,i),s.point(n[0],n[1]),s.lineEnd()),l=n;else if(v&&l&&m^r){var a;o&u||!(a=p(i,l,!0))||(d=0,m?(s.lineStart(),s.point(a[0][0],a[0][1]),s.point(a[1][0],a[1][1]),s.lineEnd()):(s.point(a[1][0],a[1][1]),s.lineEnd(),s.lineStart(),s.point(a[0][0],a[0][1])))}!r||l&&ce(l,i)||s.point(i[0],i[1]),l=i,c=r,u=o},lineEnd:function(){c&&s.lineEnd(),l=null},clean:function(){return d|(h&&c)<<1}}},Ve(r,6*Mo),m?[0,-r]:[-So,r-So])}((S=+t)*Mo),r()):S},e.clipExtent=function(t){return arguments.length?(w=(_=t)?Me(t[0][0],t[0][1],t[1][0],t[1][1]):wt,r()):_},e.scale=function(t){return arguments.length?(d=+t,i()):d},e.translate=function(t){return arguments.length?(f=+t[0],p=+t[1],i()):[f,p]},e.center=function(t){return arguments.length?(g=t[0]%360*Mo,m=t[1]%360*Mo,i()):[g*To,m*To]},e.rotate=function(t){return arguments.length?(v=t[0]%360*Mo,y=t[1]%360*Mo,b=2=u)return}else o={x:m,y:l};n={x:m,y:u}}else{if(o){if(o.y=u)return}else o={x:(l-r)/i,y:l};n={x:(u-r)/i,y:u}}else{if(o){if(o.y=s)return}else o={x:a,y:i*a+r};n={x:s,y:i*s+r}}else{if(o){if(o.xxo||eo(r-n)>xo)&&(s.splice(a,0,new En((v=o.site,y=c,b=eo(i-h)o&&(r=i.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(e=e[0])===(n=n[0])?s[a]?s[a]+=n:s[++a]=n:(s[++a]=null,l.push({i:a,x:$n(e,n)})),o=Va.lastIndex;return or&&(i=n,r=e);return i}function Di(t){return t.reduce(Ai,0)}function Ai(t,e){return t+e[1]}function Pi(t,e){return Ei(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function Ei(t,e){for(var n=-1,i=+t[0],r=(t[1]-i)/e,o=[];++n<=e;)o[n]=r*n+i;return o}function Oi(t){return[$r.min(t),$r.max(t)]}function Li(t,e){return t.value-e.value}function Ii(t,e){var n=t._pack_next;(t._pack_next=e)._pack_prev=t,(e._pack_next=n)._pack_prev=e}function Ni(t,e){(t._pack_next=e)._pack_prev=t}function Ri(t,e){var n=e.x-t.x,i=e.y-t.y,r=t.r+e.r;return n*n+i*i<.999*r*r}function Fi(t){function e(t){c=Math.min(t.x-t.r,c),h=Math.max(t.x+t.r,h),d=Math.min(t.y-t.r,d),f=Math.max(t.y+t.r,f)}if((n=t.children)&&(u=n.length)){var n,i,r,o,a,s,l,u,c=1/0,h=-1/0,d=1/0,f=-1/0;if(n.forEach(ji),(i=n[0]).x=-i.r,i.y=0,e(i),1d)return r();var e=f[f.active];e&&(--f.count,delete f[f.active],e.event&&e.event.interrupt.call(u,u.__data__,e.index)),f.active=d,p.event&&p.event.start.call(u,u.__data__,c),p.tween.forEach(function(t,e){(e=e.call(u,u.__data__,c))&&l.push(e)}),a=p.ease,o=p.duration,$r.timer(function(){return s.c=n(t||1)?ve:n,1},0,g)}function n(t){if(f.active!==d)return 1;for(var e=t/o,n=a(e),i=l.length;0e;)r.push(i/o);else for(;(i=t+n*++a)=g.length)return f?f.call(p,t):d?t.sort(d):t;for(var e,r,o,a,s=-1,l=t.length,u=g[i++],c=new y;++s=g.length)return t;var r=[],o=e[i++];return t.forEach(function(t,e){r.push({key:t,values:n(e,i)})}),o?r.sort(function(t,e){return o(t.key,e.key)}):r}(h($r.map,t,0),0)},p.key=function(t){return g.push(t),p},p.sortKeys=function(t){return e[g.length-1]=t,p},p.sortValues=function(t){return d=t,p},p.rollup=function(t){return f=t,p},p},$r.set=function(t){var e=new f;if(t)for(var n=0,i=t.length;n=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Vo=$r.map({b:function(t){return t.toString(2)},c:function(t){return String.fromCharCode(t)},o:function(t){return t.toString(8)},x:function(t){return t.toString(16)},X:function(t){return t.toString(16).toUpperCase()},g:function(t,e){return t.toPrecision(e)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},r:function(t,e){return(t=$r.round(t,Tt(t,e))).toFixed(Math.max(0,Math.min(20,Tt(t*(1+1e-15),e))))}}),Zo=$r.time={},Ko=Date;At.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Jo.setUTCDate.apply(this._,arguments)},setDay:function(){Jo.setUTCDay.apply(this._,arguments)},setFullYear:function(){Jo.setUTCFullYear.apply(this._,arguments)},setHours:function(){Jo.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Jo.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Jo.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Jo.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Jo.setUTCSeconds.apply(this._,arguments)},setTime:function(){Jo.setTime.apply(this._,arguments)}};var Jo=Date.prototype;Zo.year=Pt(function(t){return(t=Zo.day(t)).setMonth(0,1),t},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t){return t.getFullYear()}),Zo.years=Zo.year.range,Zo.years.utc=Zo.year.utc.range,Zo.day=Pt(function(t){var e=new Ko(2e3,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e},function(t,e){t.setDate(t.getDate()+e)},function(t){return t.getDate()-1}),Zo.days=Zo.day.range,Zo.days.utc=Zo.day.utc.range,Zo.dayOfYear=function(t){var e=Zo.year(t);return Math.floor((t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(t,n){n=7-n;var e=Zo[t]=Pt(function(t){return(t=Zo.day(t)).setDate(t.getDate()-(t.getDay()+n)%7),t},function(t,e){t.setDate(t.getDate()+7*Math.floor(e))},function(t){var e=Zo.year(t).getDay();return Math.floor((Zo.dayOfYear(t)+(e+n)%7)/7)-(e!==n)});Zo[t+"s"]=e.range,Zo[t+"s"].utc=e.utc.range,Zo[t+"OfYear"]=function(t){var e=Zo.year(t).getDay();return Math.floor((Zo.dayOfYear(t)+(e+n)%7)/7)}}),Zo.week=Zo.sunday,Zo.weeks=Zo.sunday.range,Zo.weeks.utc=Zo.sunday.utc.range,Zo.weekOfYear=Zo.sundayOfYear;var Qo={"-":"",_:" ",0:"0"},ta=/^\s*\d+/,ea=/^%/;$r.locale=function(t){return{numberFormat:function(t){var C=t.decimal,s=t.thousands,l=t.grouping,i=t.currency,k=l&&s?function(t,e){for(var n=t.length,i=[],r=0,o=l[0],a=0;0e));)o=l[r=(r+1)%l.length];return i.reverse().join(s)}:wt;return function(t){var e=Xo.exec(t),c=e[1]||" ",h=e[2]||">",d=e[3]||"-",n=e[4]||"",f=e[5],p=+e[6],g=e[7],m=e[8],v=e[9],y=1,b="",x="",w=!1,S=!0;switch(m&&(m=+m.substring(1)),(f||"0"===c&&"="===h)&&(f=c="0",h="="),v){case"n":g=!0,v="g";break;case"%":y=100,x="%",v="f";break;case"p":y=100,x="%",v="r";break;case"b":case"o":case"x":case"X":"#"===n&&(b="0"+v.toLowerCase());case"c":S=!1;case"d":w=!0,m=0;break;case"s":y=-1,v="r"}"$"===n&&(b=i[0],x=i[1]),"r"!=v||m||(v="g"),null!=m&&("g"==v?m=Math.max(1,Math.min(21,m)):("e"==v||"f"==v)&&(m=Math.max(0,Math.min(20,m)))),v=Vo.get(v)||Dt;var _=f&&g;return function(t){var e=x;if(w&&t%1)return"";var n=t<0||0===t&&1/t<0?(t=-t,"-"):"-"===d?"":d;if(y<0){var i=$r.formatPrefix(t,m);t=i.scale(t),e=i.symbol+x}else t*=y;var r,o,a=(t=v(t,m)).lastIndexOf(".");if(a<0){var s=S?t.lastIndexOf("e"):-1;o=s<0?(r=t,""):(r=t.substring(0,s),t.substring(s))}else r=t.substring(0,a),o=C+t.substring(a+1);!f&&g&&(r=k(r,1/0));var l=b.length+r.length+o.length+(_?0:n.length),u=l"===h?u+n+t:"^"===h?u.substring(0,l>>=1)+n+t+u.substring(l):n+(_?t:u+t))+e}}}(t),timeFormat:function(t){function i(s){function t(t){for(var e,n,i,r=[],o=-1,a=0;++oh(d,p)&&(p=t):h(t,p)>h(d,p)&&(d=t):d<=p?(th(d,p)&&(p=t):h(t,p)>h(d,p)&&(d=t)}else c(t,e);v=n,m=t}function t(){w.point=i}function e(){x[0]=d,x[1]=p,w.point=c,v=null}function n(t,e){if(v){var n=t-m;y+=180xo&&(d=-(p=180)),x[0]=d,x[1]=p,v=null}function h(t,e){return(e-=t)<0?e+360:e}function l(t,e){return t[0]-e[0]}function u(t,e){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:th(s[0],s[1])&&(s[1]=r[1]),h(r[0],s[1])>h(s[0],s[1])&&(s[0]=r[0])):n.push(s=r);for(var i,r,o,a=-1/0,s=(e=0,n[o=n.length-1]);e<=o;s=r,++e)r=n[e],(i=h(s[1],r[0]))>a&&(a=i,d=r[0],p=s[1])}return b=x=null,1/0===d||1/0===f?[[NaN,NaN],[NaN,NaN]]:[[d,f],[p,g]]}}(),$r.geo.centroid=function(t){ua=ca=ha=da=fa=pa=ga=ma=va=ya=ba=0,$r.geo.stream(t,xa);var e=va,n=ya,i=ba,r=e*e+n*n+i*i;return rxo?Math.atan((Math.sin(e)*(o=Math.cos(i))*Math.sin(n)-Math.sin(i)*(r=Math.cos(e))*Math.sin(t))/(r*o*a)):(e+i)/2}(a,s,t,e),r.point(l,s),r.lineEnd(),r.lineStart(),r.point(n,s),o=0),r.point(a=t,s=e),l=n},lineEnd:function(){r.lineEnd(),a=s=NaN},clean:function(){return 2-o}}},function(t,e,n,i){var r;if(null==t)r=n*ko,i.point(-So,r),i.point(0,r),i.point(So,r),i.point(So,0),i.point(So,-r),i.point(0,-r),i.point(-So,-r),i.point(-So,0),i.point(-So,r);else if(eo(t[0]-e[0])>xo){var o=t[0]xo}).map(c)).concat($r.range(Math.ceil(s/g)*g,a,g).filter(function(t){return eo(t%v)>xo}).map(h))}var n,i,r,o,a,s,l,u,c,h,d,f,p=10,g=p,m=90,v=360,y=2.5;return e.lines=function(){return t().map(function(t){return{type:"LineString",coordinates:t}})},e.outline=function(){return{type:"Polygon",coordinates:[d(o).concat(f(l).slice(1),d(r).reverse().slice(1),f(u).reverse().slice(1))]}},e.extent=function(t){return arguments.length?e.majorExtent(t).minorExtent(t):e.minorExtent()},e.majorExtent=function(t){return arguments.length?(o=+t[0][0],r=+t[1][0],u=+t[0][1],l=+t[1][1],r=a&&i.x<=l&&i.y>=s&&i.y<=u?[[a,u],[l,u],[l,s],[a,s]]:[]).point=r[e]}),o}function n(t){return t.map(function(t,e){return{x:Math.round(o(t,e)/xo)*xo,y:Math.round(a(t,e)/xo)*xo,i:e}})}var i=ln,r=un,o=i,a=r,c=Ga;return t?e(t):(e.links=function(e){return Fn(n(e)).edges.filter(function(t){return t.l&&t.r}).map(function(t){return{source:e[t.l.i],target:e[t.r.i]}})},e.triangles=function(d){var f=[];return Fn(n(d)).cells.forEach(function(t,e){for(var n,i=t.site,r=t.edges.sort(_n),o=-1,a=r.length,s=r[a-1].edge,l=s.l===i?s.r:s.l;++ol&&(l=e.x),e.y>u&&(u=e.y),n.push(e.x),i.push(e.y);else for(r=0;r=a[0]&&i<=a[1]&&((n=r[$r.bisect(s,i,1,u)-1]).y+=c,n.push(t[e]));return r}var h=!0,d=Number,f=Oi,p=Pi;return n.value=function(t){return arguments.length?(d=t,n):d},n.range=function(t){return arguments.length?(f=xt(t),n):f},n.bins=function(e){return arguments.length?(p="number"==typeof e?function(t){return Ei(t,e)}:xt(e),n):p},n.frequency=function(t){return arguments.length?(h=!!t,n):h},n},$r.layout.pack=function(){function e(t,e){var n=u.call(this,t,e),i=n[0],r=h[0],o=h[1],a=null==l?Math.sqrt:"function"==typeof l?l:function(){return l};if(i.x=i.y=0,vi(i,function(t){t.r=+a(t.value)}),vi(i,Fi),c){var s=c*(l?1:Math.max(2*i.r/r,2*i.r/o))/2;vi(i,function(t){t.r+=s}),vi(i,Fi),vi(i,function(t){t.r-=s})}return function t(e,n,i,r){var o=e.children;if(e.x=n+=r*e.x,e.y=i+=r*e.y,e.r*=r,o)for(var a=-1,s=o.length;++aa.x&&(a=t),t.depth>s.depth&&(s=t)});var l=b(o,a)/2-o.x,u=g[0]/(a.x+b(a,o)/2+l),c=g[1]/(s.depth||1);mi(i,function(t){t.x=(t.x+l)*u,t.y=t.depth*c})}return n}function h(t){var e=t.children,n=t.parent.children,i=t.i?n[t.i-1]:null;if(e.length){!function(t){for(var e,n=0,i=0,r=t.children,o=r.length;0<=--o;)(e=r[o]).z+=n,e.m+=n,n+=e.s+(i+=e.c)}(t);var r=(e[0].z+e[e.length-1].z)/2;i?(t.z=i.z+b(t._,i._),t.m=t.z-r):t.z=r}else i&&(t.z=i.z+b(t._,i._));t.parent.A=function(t,e,n){if(e){for(var i,r=t,o=t,a=e,s=r.parent.children[0],l=r.m,u=o.m,c=a.m,h=s.m;a=$i(a),r=Wi(r),a&&r;)s=Wi(s),(o=$i(o)).a=t,0<(i=a.z+c-r.z-l+b(a._,r._))&&(v=t,y=n,d=(m=a).a.parent===v.parent?m.a:y,void 0,g=(p=i)/((f=t).i-d.i),f.c-=g,f.s+=p,d.c+=g,f.z+=p,f.m+=p,l+=i,u+=i),c+=a.m,l+=r.m,h+=s.m,u+=o.m;a&&!$i(o)&&(o.t=a,o.m+=c-u),r&&!Wi(s)&&(s.t=r,s.m+=l-h,n=t)}var d,f,p,g;var m,v,y;return n}(t,i,t.parent.A||n[0])}function d(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function f(t){t.x*=g[0],t.y=t.depth*g[1]}var p=$r.layout.hierarchy().sort(null).value(null),b=zi,g=[1,1],m=null;return e.separation=function(t){return arguments.length?(b=t,e):b},e.size=function(t){return arguments.length?(m=null==(g=t)?f:null,e):m?null:g},e.nodeSize=function(t){return arguments.length?(m=null==(g=t)?null:f,e):m?g:null},gi(e,p)},$r.layout.cluster=function(){function e(t,e){var n,i=c.call(this,t,e),r=i[0],o=0;vi(r,function(t){var e=t.children;e&&e.length?(t.x=function(t){return t.reduce(function(t,e){return t+e.x},0)/t.length}(e),t.y=function(t){return 1+$r.max(t,function(t){return t.y})}(e)):(t.x=n?o+=h(t,n):0,t.y=0,n=t)});var a=function t(e){var n=e.children;return n&&n.length?t(n[0]):e}(r),s=function t(e){var n,i=e.children;return i&&(n=i.length)?t(i[n-1]):e}(r),l=a.x-h(a,s)/2,u=s.x+h(s,a)/2;return vi(r,f?function(t){t.x=(t.x-r.x)*d[0],t.y=(r.y-t.y)*d[1]}:function(t){t.x=(t.x-l)/(u-l)*d[0],t.y=(1-(r.y?t.y/r.y:1))*d[1]}),i}var c=$r.layout.hierarchy().sort(null).value(null),h=zi,d=[1,1],f=!1;return e.separation=function(t){return arguments.length?(h=t,e):h},e.size=function(t){return arguments.length?(f=null==(d=t),e):f?null:d},e.nodeSize=function(t){return arguments.length?(f=null!=(d=t),e):f?d:null},gi(e,c)},$r.layout.treemap=function(){function c(t,e){for(var n,i,r=-1,o=t.length;++rn.dy)&&(u=n.dy);++on.dx)&&(u=n.dx);++oi;o--);e=e.slice(r,o)}return e},o.tickFormat=function(t,e){if(!arguments.length)return ls;arguments.length<2?e=ls:"function"!=typeof e&&(e=$r.format(e));var n,i=Math.max(.1,t/o.ticks().length),r=u?(n=1e-12,Math.ceil):(n=-1e-12,Math.floor);return function(t){return t/d(r(h(t)+n))<=i?e(t):""}},o.copy=function(){return t(e.copy(),l,u,c)},Ki(o,e)}($r.scale.linear().domain([0,1]),10,!0,[1,10])};var ls=$r.format(".0e"),us={floor:function(t){return-Math.ceil(-t)},ceil:function(t){return-Math.floor(-t)}};$r.scale.pow=function(){return function t(e,n,i){function r(t){return e(o(t))}var o=ir(n),a=ir(1/n);return r.invert=function(t){return a(e.invert(t))},r.domain=function(t){return arguments.length?(e.domain((i=t.map(Number)).map(o)),r):i},r.ticks=function(t){return tr(i,t)},r.tickFormat=function(t,e){return er(i,t,e)},r.nice=function(t){return r.domain(Ji(i,t))},r.exponent=function(t){return arguments.length?(o=ir(n=t),a=ir(1/n),e.domain(i.map(o)),r):n},r.copy=function(){return t(e.copy(),n,i)},Ki(r,e)}($r.scale.linear(),1,[0,1])},$r.scale.sqrt=function(){return $r.scale.pow().exponent(.5)},$r.scale.ordinal=function(){return function t(s,l){function u(t){return h[((r.get(t)||("range"===l.t?r.set(t,s.push(t)):NaN))-1)%h.length]}function c(e,n){return $r.range(s.length).map(function(t){return e+n*t})}var r,h,d;return u.domain=function(t){if(!arguments.length)return s;s=[],r=new y;for(var e,n=-1,i=t.length;++nrect,.s>rect").attr("width",T[1]-T[0])}function w(t){t.select(".extent").attr("y",D[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",D[1]-D[0])}function a(){function t(){var t=$r.mouse(r),e=!1;i&&(t[0]+=i[0],t[1]+=i[1]),d||($r.event.altKey?(h||(h=[(T[0]+T[1])/2,(D[0]+D[1])/2]),p[0]=T[+(t[0]o;++o)if(r===s(e[o])){i=e[0],e[0]=e[o],e[o]=i;break}return e})}}function r(t,e){var n={type:"Feature",id:e.id,properties:e.properties||{},geometry:o(t,e)};return null==e.id&&delete n.id,n}function o(t,e){function r(t,e){e.length&&e.pop();for(var n,i=l[t<0?~t:t],r=0,o=i.length;r>>1;t[r]>1)-1,i=a[n];if(0<=h(t,i))break;a[i._=e]=i,a[t._=e=n]=t}}function r(t,e){for(;;){var n=e+1<<1,i=n-1,r=e,o=a[r];if(i"+n),this.options.fills){if("defaultFill"===r){if(!e.defaultFillName)continue;i=e.defaultFillName}else i=e.labels&&e.labels[r]?e.labels[r]:r+": ";n+="
    "+i+"
    ",n+='
     
    '}n+="",h.select(this.options.element).append("div").attr("class","datamaps-legend").html(n)}}function n(){var t=h.geo.graticule();this.svg.insert("path",".datamaps-subunits").datum(t).attr("class","datamaps-graticule").attr("d",this.path)}function i(t,e,a){var s=this;if(this.svg,!e||e&&!e.slice)throw"Datamaps Error - arcs must be an array";for(var n=0;n'+t.properties.name+""},popupOnHover:!0,highlightOnHover:!0,highlightFillColor:"#FC8D59",highlightBorderColor:"rgba(250, 15, 160, 0.2)",highlightBorderWidth:2},projectionConfig:{rotation:[97,0]},bubblesConfig:{borderWidth:2,borderColor:"#FFFFFF",popupOnHover:!0,radius:null,popupTemplate:function(t,e){return'
    '+e.name+"
    "},fillOpacity:.75,animate:!0,highlightOnHover:!0,highlightFillColor:"#FC8D59",highlightBorderColor:"rgba(250, 15, 160, 0.2)",highlightBorderWidth:2,highlightFillOpacity:.85,exitDelay:100},arcConfig:{strokeColor:"#DD1C77",strokeWidth:1,arcSharpness:1,animationSpeed:600}};l.prototype.resize=function(){var t=this.options;if(t.responsive){var e="-webkit-transform"in document.body.style?"-webkit-":"-moz-transform"in document.body.style?"-moz-":"-ms-transform"in document.body.style?"-ms-":"",n=t.element.clientWidth,i=h.select(t.element).select("svg").attr("data-width");h.select(t.element).select("svg").selectAll("g").style(e+"transform","scale("+n/i+")")}},l.prototype.draw=function(){function n(t){i.options.dataUrl&&h[i.options.dataType](i.options.dataUrl,function(t){if("csv"===i.options.dataType&&t&&t.slice){for(var e={},n=0;n").css({position:"fixed",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(O("
    ").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(O("
    ").css({width:"100%",height:10}))).appendTo("body"),i=n.children(),r=i.children();e.barWidth=i[0].offsetWidth-i[0].clientWidth,e.bScrollOversize=100===r[0].offsetWidth&&100!==i[0].clientWidth,e.bScrollbarLeft=1!==Math.round(r.offset().left),e.bBounding=!!n[0].getBoundingClientRect().width,n.remove()}O.extend(t.oBrowser,Jt.__browser),t.oScroll.iBarWidth=Jt.__browser.barWidth}function n(t,e,n,i,r,o){var a,s=!1;for(n!==L&&(a=n,s=!0);i!==r;)t.hasOwnProperty(i)&&(a=s?e(a,t[i],i,t):t[i],s=!0,i+=o);return a}function C(t,e){var n=Jt.defaults.column,i=t.aoColumns.length;n=O.extend({},Jt.models.oColumn,n,{nTh:e||y.createElement("th"),sTitle:n.sTitle?n.sTitle:e?e.innerHTML:"",aDataSort:n.aDataSort?n.aDataSort:[i],mData:n.mData?n.mData:i,idx:i});t.aoColumns.push(n),(n=t.aoPreSearchCols)[i]=O.extend({},Jt.models.oSearch,n[i]),k(t,i,O(e).data())}function k(t,e,n){e=t.aoColumns[e];var i=t.oClasses,r=O(e.nTh);if(!e.sWidthOrig){e.sWidthOrig=r.attr("width")||null;var o=(r.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);o&&(e.sWidthOrig=o[1])}n!==L&&null!==n&&(S(n),b(Jt.defaults.column,n),n.mDataProp!==L&&!n.mData&&(n.mData=n.mDataProp),n.sType&&(e._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),O.extend(e,n),It(e,n,"sWidth","sWidthOrig"),n.iDataSort!==L&&(e.aDataSort=[n.iDataSort]),It(e,n,"aDataSort"));var a=e.mData,s=R(a),l=e.mRender?R(e.mRender):null;n=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};e._bAttrSrc=O.isPlainObject(a)&&(n(a.sort)||n(a.type)||n(a.filter)),e._setter=null,e.fnGetData=function(t,e,n){var i=s(t,e,L,n);return l&&e?l(i,e,t,n):i},e.fnSetData=function(t,e,n){return p(a)(t,e,n)},"number"!=typeof a&&(t._rowReadObject=!0),t.oFeatures.bSort||(e.bSortable=!1,r.addClass(i.sSortableNone)),t=-1!==O.inArray("asc",e.asSorting),n=-1!==O.inArray("desc",e.asSorting),e.bSortable&&(t||n)?t&&!n?(e.sSortingClass=i.sSortableAsc,e.sSortingClassJUI=i.sSortJUIAscAllowed):!t&&n?(e.sSortingClass=i.sSortableDesc,e.sSortingClassJUI=i.sSortJUIDescAllowed):(e.sSortingClass=i.sSortable,e.sSortingClassJUI=i.sSortJUI):(e.sSortingClass=i.sSortableNone,e.sSortingClassJUI="")}function I(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;vt(t);for(var n=0,i=e.length;ne&&t[r]--;-1!=i&&n===L&&t.splice(i,1)}function r(n,i,t,e){var r,o=n.aoData[i],a=function(t,e){for(;t.childNodes.length;)t.removeChild(t.firstChild);t.innerHTML=E(n,i,e,"display")};if("dom"!==t&&(t&&"auto"!==t||"dom"!==o.src)){var s=o.anCells;if(s)if(e!==L)a(s[e],e);else for(t=0,r=s.length;t").appendTo(a)),e=0,n=c.length;etr").attr("role","row"),O(a).find(">tr>th, >tr>td").addClass(u.sHeaderTH),O(s).find(">tr>th, >tr>td").addClass(u.sFooterTH),null!==s)for(e=0,n=(t=t.aoFooter[0]).length;e=t.fnRecordsDisplay()?0:a,t.iInitDisplayStart=-1);a=t._iDisplayStart;var u=t.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,ft(t,!1);else if(s){if(!t.bDestroying&&!q(t))return}else t.iDraw++;if(0!==l.length)for(o=s?t.aoData.length:u,s=s?0:a;s",{class:r?i[0]:""}).append(O("
    ").appendTo(this)),u.nTBody=t[0],0===(t=a.children("tfoot")).length&&0").appendTo(this)),0===t.length||0===t.children().length?a.addClass(i.sNoFooter):0t?new te(e[t],this[t]):null},filter:function(t){var e=[];if(be.filter)e=be.filter.call(this,t,this);else for(var n=0,i=this.length;n").addClass(e),O("td",n).addClass(e).html(t)[0].colSpan=M(r),o.push(n[0]))};a(t,e),n._details&&n._details.remove(),n._details=O(o),n._detailsShow&&n._details.insertAfter(n.nTr)}return this}),ee(["row().child.show()","row().child().show()"],function(){return Me(this,!0),this}),ee(["row().child.hide()","row().child().hide()"],function(){return Me(this,!1),this}),ee(["row().child.remove()","row().child().remove()"],function(){return ke(this),this}),ee("row().child.isShown()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1});function Te(t,e,n,i,r){n=[],i=0;for(var o=r.length;i").appendTo(t),v(o,a);else{switch(h=null,d="",a){case"ellipsis":t.append('');break;case"first":h=p.sFirst,d=a+(0",{class:f.sPageButton+" "+d,"aria-controls":s.sTableId,"aria-label":g[a],"data-dt-idx":m,tabindex:s.iTabIndex,id:0===l&&"string"==typeof a?s.sTableId+"_"+a:null}).html(h).appendTo(t),{action:a},n),m++)}};try{n=O(t).find(y.activeElement).data("dt-idx")}catch(t){}v(O(t).empty(),e),n&&O(t).find("[data-dt-idx="+n+"]").focus()}}}),O.extend(Jt.ext.type.detect,[function(t,e){var n=e.oLanguage.sDecimal;return Gt(t,n)?"num"+n:null},function(t){if(t&&!(t instanceof Date)&&(!ae.test(t)||!se.test(t)))return null;var e=Date.parse(t);return null!==e&&!isNaN(e)||qt(t)?"date":null},function(t,e){var n=e.oLanguage.sDecimal;return Gt(t,n,!0)?"num-fmt"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return Xt(t,n)?"html-num"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return Xt(t,n,!0)?"html-num-fmt"+n:null},function(t){return qt(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),O.extend(Jt.ext.type.search,{html:function(t){return qt(t)?t:"string"==typeof t?t.replace(re," ").replace(oe,""):""},string:function(t){return qt(t)?t:"string"==typeof t?t.replace(re," "):t}});var Le=function(t,e,n,i){return 0===t||t&&"-"!==t?(e&&(t=Yt(t,e)),t.replace&&(n&&(t=t.replace(n,"")),i&&(t=t.replace(i,""))),1*t):-1/0};O.extend(Qt.type.order,{"date-pre":function(t){return Date.parse(t)||0},"html-pre":function(t){return qt(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return qt(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t").addClass(s.sSortJUIWrapper).append(o.contents()).append(O("").addClass(s.sSortIcon+" "+a.sSortingClassJUI)).appendTo(o),O(r.nTable).on("order.dt.DT",function(t,e,n,i){r===e&&(t=a.idx,o.removeClass(s.sSortAsc+" "+s.sSortDesc).addClass("asc"==i[t]?s.sSortAsc:"desc"==i[t]?s.sSortDesc:a.sSortingClass),o.find("span."+s.sSortIcon).removeClass(s.sSortJUIAsc+" "+s.sSortJUIDesc+" "+s.sSortJUI+" "+s.sSortJUIAscAllowed+" "+s.sSortJUIDescAllowed).addClass("asc"==i[t]?s.sSortJUIAsc:"desc"==i[t]?s.sSortJUIDesc:a.sSortingClassJUI))})}}});function Ie(t){return"string"==typeof t?t.replace(//g,">").replace(/"/g,"""):t}return Jt.render={number:function(i,r,o,a,s){return{display:function(t){if("number"!=typeof t&&"string"!=typeof t)return t;var e=t<0?"-":"",n=parseFloat(t);return isNaN(n)?Ie(t):(t=Math.abs(n),n=parseInt(t,10),t=o?r+(t-n).toFixed(o).substring(2):"",e+(a||"")+n.toString().replace(/\B(?=(\d{3})+(?!\d))/g,i)+t+(s||""))}}},text:function(){return{display:Ie}}},O.extend(Jt.ext.internal,{_fnExternApiFunc:e,_fnBuildAjax:$,_fnAjaxUpdate:q,_fnAjaxParameters:t,_fnAjaxUpdateDraw:U,_fnAjaxDataSrc:Y,_fnAddColumn:C,_fnColumnOptions:k,_fnAdjustColumnSizing:I,_fnVisibleToColumnIndex:N,_fnColumnIndexToVisible:u,_fnVisbleColumns:M,_fnGetColumns:T,_fnColumnTypes:a,_fnApplyColumnDefs:D,_fnHungarianMap:o,_fnCamelToHungarian:b,_fnLanguageCompat:x,_fnBrowserDetect:_,_fnAddData:A,_fnAddTr:P,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==L?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,e,n){return O.inArray(n,t.aoData[e].anCells)},_fnGetCellData:E,_fnSetCellData:i,_fnSplitObjNotation:c,_fnGetObjectDataFn:R,_fnSetObjectDataFn:p,_fnGetDataMaster:f,_fnClearTable:s,_fnDeleteIndex:h,_fnInvalidate:r,_fnGetRowElements:l,_fnCreateTr:g,_fnBuildHead:m,_fnDrawHead:F,_fnDraw:j,_fnReDraw:H,_fnAddOptionsHtml:B,_fnDetectHeader:z,_fnGetUniqueThs:W,_fnFeatureHtmlFilter:G,_fnFilterComplete:X,_fnFilterCustom:V,_fnFilterColumn:Z,_fnFilter:K,_fnFilterCreateSearch:J,_fnEscapeRegex:Q,_fnFilterData:tt,_fnFeatureHtmlInfo:it,_fnUpdateInfo:rt,_fnInfoMacros:ot,_fnInitialise:at,_fnInitComplete:st,_fnLengthChange:lt,_fnFeatureHtmlLength:ut,_fnFeatureHtmlPaginate:ct,_fnPageChange:ht,_fnFeatureHtmlProcessing:dt,_fnProcessingDisplay:ft,_fnFeatureHtmlTable:pt,_fnScrollDraw:gt,_fnApplyToChildren:mt,_fnCalculateColumnWidths:vt,_fnThrottle:yt,_fnConvertToWidth:bt,_fnGetWidestNode:xt,_fnGetMaxLenString:wt,_fnStringToCss:St,_fnSortFlatten:_t,_fnSort:Ct,_fnSortAria:kt,_fnSortListener:Mt,_fnSortAttachListener:Tt,_fnSortingClasses:Dt,_fnSortData:At,_fnSaveState:Pt,_fnLoadState:Et,_fnSettingsFromNode:Ot,_fnLog:Lt,_fnMap:It,_fnBindAction:Rt,_fnCallbackReg:Ft,_fnCallbackFire:jt,_fnLengthOverflow:Ht,_fnRenderer:Bt,_fnDataSource:zt,_fnRowAttributes:d,_fnCalculateEnd:function(){}}),((O.fn.dataTable=Jt).$=O).fn.dataTableSettings=Jt.settings,O.fn.dataTableExt=Jt.ext,O.fn.DataTable=function(t){return O(this).dataTable(t).api()},O.each(Jt,function(t,e){O.fn.DataTable[t]=e}),O.fn.dataTable}),function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t||(t=window),e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),n(e,t,t.document)}:n(jQuery,window,document)}(function(b,t,i,e){"use strict";var r=b.fn.dataTable;return b.extend(!0,r.defaults,{dom:"<'row'<'col-sm-6'l><'col-sm-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-5'i><'col-sm-7'p>>",renderer:"bootstrap"}),b.extend(r.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sProcessing:"dataTables_processing panel panel-default"}),r.ext.renderer.pageButton.bootstrap=function(s,t,l,e,u,c){var h,d,n,f=new r.Api(s),p=s.oClasses,g=s.oLanguage.oPaginate,m=s.oLanguage.oAria.paginate||{},v=0,y=function(t,e){function n(t){t.preventDefault(),b(t.currentTarget).hasClass("disabled")||f.page()==t.data.action||f.page(t.data.action).draw("page")}var i,r,o,a;for(i=0,r=e.length;i",{class:p.sPageButton+" "+d,id:0===l&&"string"==typeof a?s.sTableId+"_"+a:null}).append(b("",{href:"#","aria-controls":s.sTableId,"aria-label":m[a],"data-dt-idx":v,tabindex:s.iTabIndex}).html(h)).appendTo(t),s.oApi._fnBindAction(o,{action:a},n),v++)}};try{n=b(t).find(i.activeElement).data("dt-idx")}catch(t){}y(b(t).empty().html('
      ').children("ul"),e),n&&b(t).find("[data-dt-idx="+n+"]").focus()},r}),function(i){i.fn.dataTable.moment=function(e,n){var t=i.fn.dataTable.ext.type;t.detect.unshift(function(t){return""===t||null===t?"moment-"+e:moment(t.replace?t.replace(/<.*?>/g,""):t,e,n,!0).isValid()?"moment-"+e:null}),t.order["moment-"+e+"-pre"]=function(t){return""===t||null===t?-1/0:parseInt(moment(t.replace?t.replace(/<.*?>/g,""):t,e,n,!0).format("x"),10)}}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(c){var r,n=0,s=Array.prototype.slice;c.cleanData=(r=c.cleanData,function(t){var e,n,i;for(i=0;null!=(n=t[i]);i++)try{(e=c._data(n,"events"))&&e.remove&&c(n).triggerHandler("remove")}catch(t){}r(t)}),c.widget=function(t,n,e){var i,r,o,a,s={},l=t.split(".")[0];return t=t.split(".")[1],i=l+"-"+t,e||(e=n,n=c.Widget),c.expr[":"][i.toLowerCase()]=function(t){return!!c.data(t,i)},c[l]=c[l]||{},r=c[l][t],o=c[l][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},c.extend(o,r,{version:e.version,_proto:c.extend({},e),_childConstructors:[]}),(a=new n).options=c.widget.extend({},a.options),c.each(e,function(e,o){c.isFunction(o)?s[e]=function(){function i(){return n.prototype[e].apply(this,arguments)}function r(t){return n.prototype[e].apply(this,t)}return function(){var t,e=this._super,n=this._superApply;return this._super=i,this._superApply=r,t=o.apply(this,arguments),this._super=e,this._superApply=n,t}}():s[e]=o}),o.prototype=c.widget.extend(a,{widgetEventPrefix:r&&a.widgetEventPrefix||t},s,{constructor:o,namespace:l,widgetName:t,widgetFullName:i}),r?(c.each(r._childConstructors,function(t,e){var n=e.prototype;c.widget(n.namespace+"."+n.widgetName,o,e._proto)}),delete r._childConstructors):n._childConstructors.push(o),c.widget.bridge(t,o),o},c.widget.extend=function(t){for(var e,n,i=s.call(arguments,1),r=0,o=i.length;r",options:{disabled:!1,create:null},_createWidget:function(t,e){e=c(e||this.defaultElement||this)[0],this.element=c(e),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=c.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=c(),this.hoverable=c(),this.focusable=c(),e!==this&&(c.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=c(e.style?e.ownerDocument:e.document||e),this.window=c(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:c.noop,_getCreateEventData:c.noop,_create:c.noop,_init:c.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(c.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:c.noop,widget:function(){return this.element},option:function(t,e){var n,i,r,o=t;if(0===arguments.length)return c.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(n=t.split(".")).shift(),n.length){for(i=o[t]=c.widget.extend({},this.options[t]),r=0;r').prop("disabled")),v.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),v.support.xhrFormDataFileUpload=!!window.FormData,v.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),v.widget("blueimp.fileupload",{options:{dropZone:v(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(n,t){return n=this.messages[n]||n.toString(),t&&v.each(t,function(t,e){n=n.replace("{"+t+"}",e)}),n},formData:function(t){return t.serializeArray()},add:function(t,e){if(t.isDefaultPrevented())return!1;(e.autoUpload||!1!==e.autoUpload&&v(this).fileupload("option","autoUpload"))&&e.process().done(function(){e.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:v.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(t,e,n){var i=t-this.timestamp;return(!this.bitrate||!n||n").prop("href",t.url).prop("host");t.dataType="iframe "+(t.dataType||""),t.formData=this._getFormData(t),t.redirect&&e&&e!==location.host&&t.formData.push({name:t.redirectParamName||"redirect",value:t.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(t){var e=v(t.fileInput),i=t.paramName;return i?v.isArray(i)||(i=[i]):(i=[],e.each(function(){for(var t=v(this),e=t.prop("name")||"files[]",n=(t.prop("files")||[1]).length;n;)i.push(e),n-=1}),i.length||(i=[e.prop("name")||"files[]"])),i},_initFormSettings:function(t){t.form&&t.form.length||(t.form=v(t.fileInput.prop("form")),t.form.length||(t.form=v(this.options.fileInput.prop("form")))),t.paramName=this._getParamName(t),t.url||(t.url=t.form.prop("action")||location.href),t.type=(t.type||"string"===v.type(t.form.prop("method"))&&t.form.prop("method")||"").toUpperCase(),"POST"!==t.type&&"PUT"!==t.type&&"PATCH"!==t.type&&(t.type="POST"),t.formAcceptCharset||(t.formAcceptCharset=t.form.attr("accept-charset"))},_getAJAXSettings:function(t){var e=v.extend({},this.options,t);return this._initFormSettings(e),this._initDataSettings(e),e},_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:function(t){return t.success=t.done,t.error=t.fail,t.complete=t.always,t},_getXHRPromise:function(t,e,n){var i=v.Deferred(),r=i.promise();return e=e||this.options.context||r,!0===t?i.resolveWith(e,n):!1===t&&i.rejectWith(e,n),r.abort=i.promise,this._enhancePromise(r)},_addConvenienceMethods:function(t,n){function i(t){return v.Deferred().resolveWith(r,t).promise()}var r=this;n.process=function(t,e){return(t||e)&&(n._processQueue=this._processQueue=(this._processQueue||i([this])).pipe(function(){return n.errorThrown?v.Deferred().rejectWith(r,[n]).promise():i(arguments)}).pipe(t,e)),this._processQueue||i([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=!1!==r._trigger("submit",v.Event("submit",{delegatedEvent:t}),this)&&r._onSend(t,this)),this.jqXHR||r._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",r._trigger("fail",null,this),r._getXHRPromise(!1))},n.state=function(){return this.jqXHR?r._getDeferredState(this.jqXHR):this._processQueue?r._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===r._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),n=e&&e.split("-"),i=n&&1s._sending)for(var i=s._slots.shift();i;){if("pending"===s._getDeferredState(i)){i.resolve();break}i=s._slots.shift()}0===s._active&&s._trigger("stop")})}var i,r,o,a,s=this,l=s._getAJAXSettings(e);return this._beforeSend(t,l),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?((a=1d||h&&h<=e+1-m)&&(a.push(u.slice(m,e+1)),(t=g.slice(m,e+1)).length||(t=g),o.push(t),m=e+1,p=0);else o=g;else for(a=[],o=[],e=0;e").append(i)[0].reset(),n.after(i).detach(),v.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(t,e){return e===n[0]?i[0]:e}),n[0]===this.element[0]&&(this.element=i)},_handleFileTreeEntry:function(e,n){function i(t){t&&!t.entry&&(t.entry=e),o.resolve([t])}var t,r=this,o=v.Deferred(),a=function(){t.readEntries(function(t){t.length?(s=s.concat(t),a()):function(t){r._handleFileTreeEntries(t,n+e.name+"/").done(function(t){o.resolve(t)}).fail(i)}(s)},i)},s=[];return n=n||"",e.isFile?e._file?(e._file.relativePath=n,o.resolve(e._file)):e.file(function(t){t.relativePath=n,o.resolve(t)},i):e.isDirectory?(t=e.createReader(),a()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(t,e){var n=this;return v.when.apply(v,v.map(t,function(t){return n._handleFileTreeEntry(t,e)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(t){var e=(t=t||{}).items;return e&&e.length&&(e[0].webkitGetAsEntry||e[0].getAsEntry)?this._handleFileTreeEntries(v.map(e,function(t){var e;return t.webkitGetAsEntry?((e=t.webkitGetAsEntry())&&(e._file=t.getAsFile()),e):t.getAsEntry()})):v.Deferred().resolve(v.makeArray(t.files)).promise()},_getSingleFileInputFiles:function(t){var e,n,i=(t=v(t)).prop("webkitEntries")||t.prop("entries");if(i&&i.length)return this._handleFileTreeEntries(i);if((e=v.makeArray(t.prop("files"))).length)void 0===e[0].name&&e[0].fileName&&v.each(e,function(t,e){e.name=e.fileName,e.size=e.fileSize});else{if(!(n=t.prop("value")))return v.Deferred().resolve([]).promise();e=[{name:n.replace(/^.*\\/,"")}]}return v.Deferred().resolve(e).promise()},_getFileInputFiles:function(t){return t instanceof v&&1!==t.length?v.when.apply(v,v.map(t,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(t)},_onChange:function(e){var n=this,i={fileInput:v(e.target),form:v(e.target.form)};this._getFileInputFiles(i.fileInput).always(function(t){i.files=t,n.options.replaceFileInput&&n._replaceFileInput(i),!1!==n._trigger("change",v.Event("change",{delegatedEvent:e}),i)&&n._onAdd(e,i)})},_onPaste:function(t){var e=t.originalEvent&&t.originalEvent.clipboardData&&t.originalEvent.clipboardData.items,i={files:[]};e&&e.length&&(v.each(e,function(t,e){var n=e.getAsFile&&e.getAsFile();n&&i.files.push(n)}),!1!==this._trigger("paste",v.Event("paste",{delegatedEvent:t}),i)&&this._onAdd(t,i))},_onDrop:function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var n=this,t=e.dataTransfer,i={};t&&t.files&&t.files.length&&(e.preventDefault(),this._getDroppedFiles(t).always(function(t){i.files=t,!1!==n._trigger("drop",v.Event("drop",{delegatedEvent:e}),i)&&n._onAdd(e,i)}))},_onDragOver:t("dragover"),_onDragEnter:t("dragenter"),_onDragLeave:t("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),v.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(t,e){var n=-1!==v.inArray(t,this._specialOptions);n&&this._destroyEventHandlers(),this._super(t,e),n&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var t=this.options;void 0===t.fileInput?t.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):t.fileInput instanceof v||(t.fileInput=v(t.fileInput)),t.dropZone instanceof v||(t.dropZone=v(t.dropZone)),t.pasteZone instanceof v||(t.pasteZone=v(t.pasteZone))},_getRegExp:function(t){var e=t.split("/"),n=e.pop();return e.shift(),new RegExp(e.join("/"),n)},_isRegExpOption:function(t,e){return"url"!==t&&"string"===v.type(e)&&/^\/.*\/[igm]{0,3}$/.test(e)},_initDataAttributes:function(){var r=this,o=this.options,a=this.element.data();v.each(this.element[0].attributes,function(t,e){var n,i=e.name.toLowerCase();/^data-/.test(i)&&(i=i.slice(5).replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()}),n=a[i],r._isRegExpOption(i,n)&&(n=r._getRegExp(n)),o[i]=n)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(e){var n=this;e&&!this.options.disabled&&(e.fileInput&&!e.files?this._getFileInputFiles(e.fileInput).always(function(t){e.files=t,n._onAdd(null,e)}):(e.files=v.makeArray(e.files),this._onAdd(null,e)))},send:function(e){if(e&&!this.options.disabled){if(e.fileInput&&!e.files){var n,i,r=this,o=v.Deferred(),t=o.promise();return t.abort=function(){return i=!0,n?n.abort():(o.reject(null,"abort","abort"),t)},this._getFileInputFiles(e.fileInput).always(function(t){i||(t.length?(e.files=t,(n=r._onSend(null,e)).then(function(t,e,n){o.resolve(t,e,n)},function(t,e,n){o.reject(t,e,n)})):o.reject())}),this._enhancePromise(t)}if(e.files=v.makeArray(e.files),e.files.length)return this._onSend(null,e)}return this._getXHRPromise(!1,e&&e.context)}})}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(window.jQuery)}(function(l){"use strict";var i=0;l.ajaxTransport("iframe",function(r){if(r.async){var o,a,e,s=r.initialIframeSrc||"javascript:false;";return{send:function(t,n){(o=l('
      ')).attr("accept-charset",r.formAcceptCharset),e=/\?/.test(r.url)?"&":"?","DELETE"===r.type?(r.url=r.url+e+"_method=DELETE",r.type="POST"):"PUT"===r.type?(r.url=r.url+e+"_method=PUT",r.type="POST"):"PATCH"===r.type&&(r.url=r.url+e+"_method=PATCH",r.type="POST"),a=l('').bind("load",function(){var i,e=l.isArray(r.paramName)?r.paramName:[r.paramName];a.unbind("load").bind("load",function(){var e;try{if(!(e=a.contents()).length||!e[0].firstChild)throw new Error}catch(t){e=void 0}n(200,"success",{iframe:e}),l('').appendTo(o),window.setTimeout(function(){o.remove()},0)}),o.prop("target",a.prop("name")).prop("action",r.url).prop("method",r.type),r.formData&&l.each(r.formData,function(t,e){l('').prop("name",e.name).val(e.value).appendTo(o)}),r.fileInput&&r.fileInput.length&&"POST"===r.type&&(i=r.fileInput.clone(),r.fileInput.after(function(t){return i[t]}),r.paramName&&r.fileInput.each(function(t){l(this).prop("name",e[t]||r.paramName)}),o.append(r.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data"),r.fileInput.removeAttr("form")),o.submit(),i&&i.length&&r.fileInput.each(function(t,e){var n=l(i[t]);l(e).prop("name",n.prop("name")).attr("form",n.attr("form")),n.replaceWith(e)})}),o.append(a).appendTo(document.body)},abort:function(){a&&a.unbind("load").prop("src",s),o&&o.remove()}}}}),l.ajaxSetup({converters:{"iframe text":function(t){return t&&l(t[0].body).text()},"iframe json":function(t){return t&&l.parseJSON(l(t[0].body).text())},"iframe html":function(t){return t&&l(t[0].body).html()},"iframe xml":function(t){var e=t&&t[0];return e&&l.isXMLDoc(e)?e:l.parseXML(e.XMLDocument&&e.XMLDocument.xml||l(e.body).html())},"iframe script":function(t){return t&&l.globalEval(l(t[0].body).text())}}})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Sweetalert2=e()}(this,function(){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n\n
      \n
        \n
        \n \n
        \n
        \n
        \n
        \n
        \n
        \n \n
        \n
        \n
        \n \n

        \n \n
        \n
        \n
        \n \n \n
        \n \n \n
        \n \n
        \n \n \n
        \n
        \n
        \n \n \n
        \n
        \n
        \n \n').replace(/(^|\n)\s*/g,""),lt=function(t,e){if(t.innerHTML="",0 in e)for(var n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},ut=function(){if(Q())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&void 0!==t.style[n])return e[n];return!1}();function ct(t,e,n){O(t,n["showC"+e.substring(1)+"Button"],"inline-block"),t.innerHTML=n[e+"ButtonText"],t.setAttribute("aria-label",n[e+"ButtonAriaLabel"]),t.className=_[e],y(t,n.customClass,e+"Button"),it(t,n[e+"ButtonClass"])}function ht(t,e){t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)}var dt={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},ft=["input","file","range","select","radio","checkbox","textarea"],pt=function(t){if(!vt[t.input])return m('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));var e=vt[t.input](t);P(e),setTimeout(function(){T(e)})},gt=function(t,e){var n=M(z(),t);if(n)for(var i in function(t){for(var e=0;e=l.progressSteps.length&&x("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),l.progressSteps.forEach(function(t,e){var n,i,r,o,a=(n=t,i=document.createElement("li"),it(i,_["progress-step"]),i.innerHTML=n,i);if(u.appendChild(a),e===c&&it(a,_["active-progress-step"]),e!==l.progressSteps.length-1){var s=(r=t,o=document.createElement("li"),it(o,_["progress-step-line"]),r.progressStepsDistance&&(o.style.width=r.progressStepsDistance),o);u.appendChild(s)}})}function bt(t,e){var n,i,r,o;r=e,A(o=F(),"width",r.width),A(o,"padding",r.padding),r.background&&(o.style.background=r.background),o.className=_.popup,r.toast?(it([document.documentElement,document.body],_["toast-shown"]),it(o,_.toast)):it(o,_.modal),y(o,r.customClass,"popup"),"string"==typeof r.customClass&&it(o,r.customClass),D(o,_.noanimation,!r.animation),function(t,e){var n,i,r,o,a=N();a&&(r=a,"string"==typeof(o=e.backdrop)?r.style.background=o:o||it([document.documentElement,document.body],_["no-backdrop"]),!e.backdrop&&e.allowOutsideClick&&x('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),n=a,(i=e.position)in _?it(n,_[i]):(x('The "position" parameter is not valid, defaulting to "center"'),it(n,_.center)),function(t,e){if(e&&"string"==typeof e){var n="grow-"+e;n in _&&it(t,_[n])}}(a,e.grow),y(a,e.customClass,"container"),e.customContainerClass&&it(a,e.customContainerClass))}(0,e),function(t,e){var n,i,r,o;y(X(),e.customClass,"header"),yt(0,e),function(t,e){var n=dt.innerParams.get(t);if(n&&e.type===n.type&&H())y(H(),e.customClass,"icon");else if(wt(),e.type)if(St(),-1!==Object.keys(C).indexOf(e.type)){var i=R(".".concat(_.icon,".").concat(C[e.type]));P(i),y(i,e.customClass,"icon"),D(i,"swal2-animate-".concat(e.type,"-icon"),e.animation)}else m('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.type,'"'))}(t,e),function(t,e){var n=W();if(!e.imageUrl)return E(n);P(n),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),A(n,"width",e.imageWidth),A(n,"height",e.imageHeight),n.className=_.image,y(n,e.customClass,"image"),e.imageClass&&it(n,e.imageClass)}(0,e),r=e,O(o=B(),r.title||r.titleText),r.title&&et(r.title,o),r.titleText&&(o.innerText=r.titleText),y(o,r.customClass,"title"),n=e,(i=Z()).innerHTML=n.closeButtonHtml,y(i,n.customClass,"closeButton"),O(i,n.showCloseButton),i.setAttribute("aria-label",n.closeButtonAriaLabel)}(t,e),function(t,e){var n,i,r,o,a,s=z().querySelector("#"+_.content);e.html?(et(e.html,s),P(s,"block")):e.text?(s.textContent=e.text,P(s,"block")):E(s),n=t,i=e,r=z(),o=dt.innerParams.get(n),a=!o||i.input!==o.input,ft.forEach(function(t){var e=_[t],n=ot(r,e);gt(t,i.inputAttributes),mt(n,e,i),a&&E(n)}),i.input&&a&&pt(i),y(z(),e.customClass,"content")}(t,e),function(t,e){var n=G(),i=U(),r=Y();e.showConfirmButton||e.showCancelButton||E(n),y(n,e.customClass,"actions"),ct(i,"confirm",e),ct(r,"cancel",e),e.buttonsStyling?function(t,e,n){it([t,e],_.styled),n.confirmButtonColor&&(t.style.backgroundColor=n.confirmButtonColor),n.cancelButtonColor&&(e.style.backgroundColor=n.cancelButtonColor);var i=window.getComputedStyle(t).getPropertyValue("background-color");t.style.borderLeftColor=i,t.style.borderRightColor=i}(i,r,e):(rt([i,r],_.styled),i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor="",r.style.backgroundColor=r.style.borderLeftColor=r.style.borderRightColor=""),e.reverseButtons&&i.parentNode.insertBefore(r,i)}(0,e),n=e,O(i=V(),n.footer),n.footer&&et(n.footer,i),y(i,n.customClass,"footer"),"function"==typeof e.onRender&&e.onRender(F())}function xt(){return U()&&U().click()}vt.text=vt.email=vt.password=vt.number=vt.tel=vt.url=function(t){var e=ot(z(),_.input);return"string"==typeof t.inputValue||"number"==typeof t.inputValue?e.value=t.inputValue:g(t.inputValue)||x('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(o(t.inputValue),'"')),ht(e,t),e.type=t.input,e},vt.file=function(t){var e=ot(z(),_.file);return ht(e,t),e.type=t.input,e},vt.range=function(t){var e=ot(z(),_.range),n=e.querySelector("input"),i=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,i.value=t.inputValue,e},vt.select=function(t){var e=ot(z(),_.select);if(e.innerHTML="",t.inputPlaceholder){var n=document.createElement("option");n.innerHTML=t.inputPlaceholder,n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return e},vt.radio=function(){var t=ot(z(),_.radio);return t.innerHTML="",t},vt.checkbox=function(t){var e=ot(z(),_.checkbox),n=M(z(),"checkbox");return n.type="checkbox",n.value=1,n.id=_.checkbox,n.checked=Boolean(t.inputValue),e.querySelector("span").innerHTML=t.inputPlaceholder,e},vt.textarea=function(t){var e=ot(z(),_.textarea);if(e.value=t.inputValue,ht(e,t),"MutationObserver"in window){var n=parseInt(window.getComputedStyle(F()).width),i=parseInt(window.getComputedStyle(F()).paddingLeft)+parseInt(window.getComputedStyle(F()).paddingRight);new MutationObserver(function(){var t=e.offsetWidth+i;F().style.width=n")),function(t){if((g=N())&&(g.parentNode.removeChild(g),rt([document.documentElement,document.body],[_["no-backdrop"],_["toast-shown"],_["has-column"]])),Q())m("SweetAlert2 requires document to initialize");else{var e=document.createElement("div");e.className=_.container,e.innerHTML=st;var n="string"==typeof(p=t.target)?document.querySelector(p):p;n.appendChild(e),d=t,(f=F()).setAttribute("role",d.toast?"alert":"dialog"),f.setAttribute("aria-live",d.toast?"polite":"assertive"),d.toast||f.setAttribute("aria-modal","true"),h=n,"rtl"===window.getComputedStyle(h).direction&&it(N(),_.rtl),i=z(),r=ot(i,_.input),o=ot(i,_.file),a=i.querySelector(".".concat(_.range," input")),s=i.querySelector(".".concat(_.range," output")),l=ot(i,_.select),u=i.querySelector(".".concat(_.checkbox," input")),c=ot(i,_.textarea),r.oninput=tt,o.onchange=tt,l.onchange=tt,u.onchange=tt,c.oninput=tt,a.oninput=function(t){tt(t),s.value=a.value},a.onchange=function(t){tt(t),a.nextSibling.value=a.value}}var i,r,o,a,s,l,u,c,h,d,f,p,g}(t)}function Yt(t,e){t.removeEventListener(ut,Yt),e.style.overflowY="auto"}function Gt(t){var e=N(),n=F();"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(n),function(t,e,n){n.animation&&(it(e,_.show),it(t,_.fade)),P(e),it([document.documentElement,document.body,t],_.shown),n.heightAuto&&n.backdrop&&!n.toast&&it([document.documentElement,document.body],_["height-auto"])}(e,n,t),function(t,e){ut&&I(e)?(t.style.overflowY="hidden",e.addEventListener(ut,Yt.bind(null,e,t))):t.style.overflowY="auto"}(e,n),J()&&function(t,e){!function(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&!v(document.body,_.iosfix)){var t=document.body.scrollTop;document.body.style.top=-1*t+"px",it(document.body,_.iosfix),function(){var n,i=N();i.ontouchstart=function(t){var e;n=t.target===i||!((e=i).scrollHeight>e.clientHeight)&&"INPUT"!==t.target.tagName},i.ontouchmove=function(t){n&&(t.preventDefault(),t.stopPropagation())}}()}}(),"undefined"!=typeof window&&It()&&(Nt(),window.addEventListener("resize",Nt)),f(document.body.children).forEach(function(t){t===N()||function(t,e){if("function"==typeof t.contains)return t.contains(e)}(t,N())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}),e&&null===k.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(k.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=k.previousBodyPadding+function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}()+"px"),setTimeout(function(){t.scrollTop=0})}(e,t.scrollbarPadding),at()||Tt.previousActiveElement||(Tt.previousActiveElement=document.activeElement),"function"==typeof t.onOpen&&setTimeout(function(){return t.onOpen(n)})}function Xt(t,e){"select"===e.input||"radio"===e.input?function(e,n){function i(t){return ee[n.input](r,ne(t),n)}var r=z();g(n.inputOptions)?(_t(),n.inputOptions.then(function(t){e.hideLoading(),i(t)})):"object"===o(n.inputOptions)?i(n.inputOptions):m("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(o(n.inputOptions)))}(t,e):-1!==["text","email","number","tel","textarea"].indexOf(e.input)&&g(e.inputValue)&&function(e,n){var i=e.getInput();E(i),n.inputValue.then(function(t){i.value="number"===n.input?parseFloat(t)||0:t+"",P(i),i.focus(),e.hideLoading()}).catch(function(t){m("Error in inputValue promise: "+t),i.value="",P(i),i.focus(),e.hideLoading()})}(t,e)}function Vt(t,e){t.disableButtons(),e.input?function(e,n){var i=re(e,n);n.inputValidator?(e.disableInput(),Promise.resolve().then(function(){return n.inputValidator(i,n.validationMessage)}).then(function(t){e.enableButtons(),e.enableInput(),t?e.showValidationMessage(t):ie(e,n,i)})):e.getInput().checkValidity()?ie(e,n,i):(e.enableButtons(),e.showValidationMessage(n.validationMessage))}(t,e):ie(t,e,!0)}function Zt(t,e){t.closePopup({value:e})}function Kt(e,t,n,i){t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1),n.toast||(t.keydownHandler=function(t){return function(t,e,n,i){n.stopKeydownPropagation&&e.stopPropagation(),"Enter"===e.key?ce(t,e,n):"Tab"===e.key?he(e,n):-1!==le.indexOf(e.key)?de():-1!==ue.indexOf(e.key)&&fe(e,n,i)}(e,t,n,i)},t.keydownTarget=n.keydownListenerCapture?window:F(),t.keydownListenerCapture=n.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)}function Jt(t,e,n){for(var i=K(t.focusCancel),r=0;r").addClass("timepicker-hours").append(K("
      ",{valign:"top",colSpan:M(t),class:t.oClasses.sRowEmpty}).html(n))[0];jt(t,"aoHeaderCallback","header",[O(t.nTHead).children("tr")[0],f(t),a,u,l]),jt(t,"aoFooterCallback","footer",[O(t.nTFoot).children("tr")[0],f(t),a,u,l]),(i=O(t.nTBody)).children().detach(),i.append(O(e)),jt(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}}function H(t,e){var n=t.oFeatures,i=n.bFilter;n.bSort&&Ct(t),i?X(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,j(t),t._drawHold=!1}function B(t){var e=t.oClasses,n=O(t.nTable),i=(n=O("
      ").insertBefore(n),t.oFeatures),r=O("
      ",{id:t.sTableId+"_wrapper",class:e.sWrapper+(t.nTFoot?"":" "+e.sNoFooter)});t.nHolding=n[0],t.nTableWrapper=r[0],t.nTableReinsertBefore=t.nTable.nextSibling;for(var o,a,s,l,u,c,h=t.sDom.split(""),d=0;d")[0],"'"==(l=h[d+1])||'"'==l){for(u="",c=2;h[d+c]!=l;)u+=h[d+c],c++;"H"==u?u=e.sJUIHeader:"F"==u&&(u=e.sJUIFooter),-1!=u.indexOf(".")?(l=u.split("."),s.id=l[0].substr(1,l[0].length-1),s.className=l[1]):"#"==u.charAt(0)?s.id=u.substr(1,u.length-1):s.className=u,d+=c}r.append(s),r=O(s)}else if(">"==a)r=r.parent();else if("l"==a&&i.bPaginate&&i.bLengthChange)o=ut(t);else if("f"==a&&i.bFilter)o=G(t);else if("r"==a&&i.bProcessing)o=dt(t);else if("t"==a)o=pt(t);else if("i"==a&&i.bInfo)o=it(t);else if("p"==a&&i.bPaginate)o=ct(t);else if(0!==Jt.ext.feature.length)for(c=0,l=(s=Jt.ext.feature).length;c',s=(s=i.sSearch).match(/_INPUT_/)?s.replace("_INPUT_",a):s+a,l=(t=O("
      ",{id:o.f?null:e+"_filter",class:t.sFilter}).append(O("
      ").addClass(t.sLength);return i.aanFeatures.l||(l[0].id=e+"_length"),l.children().append(i.oLanguage.sLengthMenu.replace("_MENU_",o[0].outerHTML)),O("select",l).val(i._iDisplayLength).bind("change.DT",function(){lt(i,O(this).val()),j(i)}),O(i.nTable).bind("length.dt.DT",function(t,e,n){i===e&&O("select",l).val(n)}),l[0]}function ct(t){function a(t){j(t)}var e=t.sPaginationType,s=Jt.ext.pager[e],l="function"==typeof s,u=(e=O("
      ").addClass(t.oClasses.sPaging+e)[0],t.aanFeatures);return l||s.fnInit(t,e,a),u.p||(e.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(t){if(l){var e,n=t._iDisplayStart,i=t._iDisplayLength,r=t.fnRecordsDisplay(),o=(n=(o=-1===i)?0:Math.ceil(n/i),i=o?1:Math.ceil(r/i),r=s(n,i),0);for(e=u.p.length;o",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasses.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)[0]}function ft(t,e){t.oFeatures.bProcessing&&O(t.aanFeatures.r).css("display",e?"block":"none"),jt(t,null,"processing",[t,e])}function pt(t){(c=O(t.nTable)).attr("role","grid");var e=t.oScroll;if(""===e.sX&&""===e.sY)return t.nTable;var n=e.sX,i=e.sY,r=t.oClasses,o=c.children("caption"),a=o.length?o[0]._captionSide:null,s=O(c[0].cloneNode(!1)),l=O(c[0].cloneNode(!1)),u=c.children("tfoot");u.length||(u=null),s=O("
      ",{class:r.sScrollWrapper}).append(O("
      ",{class:r.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:n?n?St(n):null:"100%"}).append(O("
      ",{class:r.sScrollHeadInner}).css({"box-sizing":"content-box",width:e.sXInner||"100%"}).append(s.removeAttr("id").css("margin-left",0).append("top"===a?o:null).append(c.children("thead"))))).append(O("
      ",{class:r.sScrollBody}).css({position:"relative",overflow:"auto",width:n?St(n):null}).append(c)),u&&s.append(O("
      ",{class:r.sScrollFoot}).css({overflow:"hidden",border:0,width:n?n?St(n):null:"100%"}).append(O("
      ",{class:r.sScrollFootInner}).append(l.removeAttr("id").css("margin-left",0).append("bottom"===a?o:null).append(c.children("tfoot")))));var c,h=(c=s.children())[0],d=(r=c[1],u?c[2]:null);return n&&O(r).on("scroll.DT",function(){var t=this.scrollLeft;h.scrollLeft=t,u&&(d.scrollLeft=t)}),O(r).css(i&&e.bCollapse?"max-height":"height",i),t.nScrollHead=h,t.nScrollBody=r,t.nScrollFoot=d,t.aoDrawCallback.push({fn:gt,sName:"scrolling"}),s[0]}function gt(n){function t(t){(t=t.style).paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0}var e,i,r,o,a,s=(c=n.oScroll).sX,l=c.sXInner,u=c.sY,c=c.iBarWidth,h=O(n.nScrollHead),d=h[0].style,f=(g=h.children("div"))[0].style,p=g.children("table"),g=n.nScrollBody,m=O(g),v=g.style,y=O(n.nScrollFoot).children("div"),b=y.children("table"),x=O(n.nTHead),w=O(n.nTable),S=w[0],_=S.style,C=n.nTFoot?O(n.nTFoot):null,k=n.oBrowser,M=k.bScrollOversize,T=ce(n.aoColumns,"nTh"),D=[],A=[],P=[],E=[];i=g.scrollHeight>g.clientHeight,n.scrollBarVis!==i&&n.scrollBarVis!==L?(n.scrollBarVis=i,I(n)):(n.scrollBarVis=i,w.children("thead, tfoot").remove(),C&&(r=C.clone().prependTo(w),e=C.find("tr"),r=r.find("tr")),o=x.clone().prependTo(w),x=x.find("tr"),i=o.find("tr"),o.find("th, td").removeAttr("tabindex"),s||(v.width="100%",h[0].style.width="100%"),O.each(W(n,o),function(t,e){a=N(n,t),e.style.width=n.aoColumns[a].sWidth}),C&&mt(function(t){t.style.width=""},r),h=w.outerWidth(),""===s?(_.width="100%",M&&(w.find("tbody").height()>g.offsetHeight||"scroll"==m.css("overflow-y"))&&(_.width=St(w.outerWidth()-c)),h=w.outerWidth()):""!==l&&(_.width=St(l),h=w.outerWidth()),mt(t,i),mt(function(t){P.push(t.innerHTML),D.push(St(O(t).css("width")))},i),mt(function(t,e){-1!==O.inArray(t,T)&&(t.style.width=D[e])},x),O(i).height(0),C&&(mt(t,r),mt(function(t){E.push(t.innerHTML),A.push(St(O(t).css("width")))},r),mt(function(t,e){t.style.width=A[e]},e),O(r).height(0)),mt(function(t,e){t.innerHTML='
      '+P[e]+"
      ",t.style.width=D[e]},i),C&&mt(function(t,e){t.innerHTML='
      '+E[e]+"
      ",t.style.width=A[e]},r),w.outerWidth()g.offsetHeight||"scroll"==m.css("overflow-y")?h+c:h,M&&(g.scrollHeight>g.offsetHeight||"scroll"==m.css("overflow-y"))&&(_.width=St(e-c)),(""===s||""!==l)&&Lt(n,1,"Possible column misalignment",6)):e="100%",v.width=St(e),d.width=St(e),C&&(n.nScrollFoot.style.width=St(e)),!u&&M&&(v.height=St(S.offsetHeight+c)),s=w.outerWidth(),p[0].style.width=St(s),f.width=St(s),l=w.height()>g.clientHeight||"scroll"==m.css("overflow-y"),f[u="padding"+(k.bScrollbarLeft?"Left":"Right")]=l?c+"px":"0px",C&&(b[0].style.width=St(s),y[0].style.width=St(s),y[0].style[u]=l?c+"px":"0px"),w.children("colgroup").insertBefore(w.children("thead")),m.scroll(),!n.bSorted&&!n.bFiltered||n._drawHold||(g.scrollTop=0))}function mt(t,e,n){for(var i,r,o=0,a=0,s=e.length;a").appendTo(l.find("tbody"));for(l.find("thead, tfoot").remove(),l.append(O(t.nTHead).clone()).append(O(t.nTFoot).clone()),l.find("tfoot th, tfoot td").css("width",""),c=W(t,l.find("thead")[0]),e=0;e").css({width:n.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(t.aoData.length)for(e=0;e").css(a||o?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(l).appendTo(d),a&&s?l.width(s):a?(l.css("width","auto"),l.removeAttr("width"),l.width()").css("width",St(t)).appendTo(e||y.body),i=n[0].offsetWidth;return n.remove(),i}function xt(t,e){var n=wt(t,e);if(n<0)return null;var i=t.aoData[n];return i.nTr?i.anCells[e]:O("
      ").html(E(t,n,e,"display"))[0]}function wt(t,e){for(var n,i=-1,r=-1,o=0,a=t.aoData.length;oi&&(i=n.length,r=o);return r}function St(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function _t(t){var e,n,i,r,o,a,s=[],l=t.aoColumns;e=t.aaSortingFixed,n=O.isPlainObject(e);var u=[];for(i=function(t){t.length&&!O.isArray(t[0])?u.push(t):O.merge(u,t)},O.isArray(e)&&i(e),n&&e.pre&&i(e.pre),i(t.aaSorting),n&&e.post&&i(e.post),t=0;t/g,"");var l=n.nTh;l.removeAttribute("aria-sort"),n.bSortable&&(e+="asc"===(n=0=i.length?[0,e[1]]:e)})),r.search!==L&&O.extend(n.oPreviousSearch,nt(r.search)),t=0,e=r.columns.length;t/g,ae=/^[\w\+\-]/,se=/[\w\+\-]$/,le=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),ue=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi,ce=function(t,e,n){var i=[],r=0,o=t.length;if(n!==L)for(;r")[0],me=ge.textContent!==L,ve=/<.*?>/g;Jt=function(p){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new te(t?Ot(this[Qt.iApiIndex]):this)},this.fnAddData=function(t,e){var n=this.api(!0),i=O.isArray(t)&&(O.isArray(t[0])||O.isPlainObject(t[0]))?n.rows.add(t):n.row.add(t);return(e===L||e)&&n.draw(),i.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],i=n.oScroll;t===L||t?e.draw(!1):(""!==i.sX||""!==i.sY)&>(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();(t===L||t)&&e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,n){var i=this.api(!0),r=(t=i.rows(t)).settings()[0],o=r.aoData[t[0][0]];return t.remove(),e&&e.call(this,r,o),(n===L||n)&&i.draw(),o},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,n,i,r,o){r=this.api(!0),null===e||e===L?r.search(t,n,i,o):r.column(e).search(t,n,i,o),r.draw()},this.fnGetData=function(t,e){var n=this.api(!0);if(t===L)return n.data().toArray();var i=t.nodeName?t.nodeName.toLowerCase():"";return e!==L||"td"==i||"th"==i?n.cell(t,e).data():n.row(t).data()||null},this.fnGetNodes=function(t){var e=this.api(!0);return t!==L?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),n=t.nodeName.toUpperCase();return"TR"==n?e.row(t).index():"TD"==n||"TH"==n?[(t=e.cell(t).index()).row,t.columnVisible,t.column]:null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,n){return this.api(!0).row(t).child(e,n).show().child()[0]},this.fnPageChange=function(t,e){var n=this.api(!0).page(t);(e===L||e)&&n.draw(!1)},this.fnSetColumnVis=function(t,e,n){t=this.api(!0).column(t).visible(e),(n===L||n)&&t.columns.adjust().draw()},this.fnSettings=function(){return Ot(this[Qt.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,n){this.api(!0).order.listener(t,e,n)},this.fnUpdate=function(t,e,n,i,r){var o=this.api(!0);return n===L||null===n?o.row(e).data(t):o.cell(e,n).data(t),(r===L||r)&&o.columns.adjust(),(i===L||i)&&o.draw(),0},this.fnVersionCheck=Qt.fnVersionCheck;var g=this,m=p===L,v=this.length;for(var t in m&&(p={}),this.oApi=this.internal=Qt.internal,Jt.ext.internal)t&&(this[t]=e(t));return this.each(function(){var t,e={},n=(e=1t<"F"ip>'),u.renderer?O.isPlainObject(u.renderer)&&!u.renderer.header&&(u.renderer.header="jqueryui"):u.renderer="jqueryui"):O.extend(i,Jt.ext.classes,e.oClasses),a.addClass(i.sTable),u.iInitDisplayStart===L&&(u.iInitDisplayStart=e.iDisplayStart,u._iDisplayStart=e.iDisplayStart),null!==e.iDeferLoading&&(u.bDeferLoading=!0,n=O.isArray(e.iDeferLoading),u._iRecordsDisplay=n?e.iDeferLoading[0]:e.iDeferLoading,u._iRecordsTotal=n?e.iDeferLoading[1]:e.iDeferLoading);var c=u.oLanguage;O.extend(!0,c,e.oLanguage),""!==c.sUrl&&(O.ajax({dataType:"json",url:c.sUrl,success:function(t){x(t),b(o.oLanguage,t),O.extend(!0,c,t),at(u)},error:function(){at(u)}}),r=!0),null===e.asStripeClasses&&(u.asStripeClasses=[i.sStripeOdd,i.sStripeEven]);n=u.asStripeClasses;var h=a.children("tbody").find("tr").eq(0);if(-1!==O.inArray(!0,O.map(n,function(t){return h.hasClass(t)}))&&(O("tbody tr",this).removeClass(n.join(" ")),u.asDestroyStripes=n.slice()),s=[],0!==(n=this.getElementsByTagName("thead")).length&&(z(u.aoHeader,n[0]),s=W(u)),null===e.aoColumns)for(l=[],n=0,t=s.length;n").appendTo(this)),u.nTHead=t[0],0===(t=a.children("tbody")).length&&(t=O("
      ").addClass("table-condensed")),e=K("
      ").addClass("timepicker-minutes").append(K("
      ").addClass("table-condensed")),n=K("
      ").addClass("timepicker-seconds").append(K("
      ").addClass("table-condensed")),i=[function(){var t=K(""),e=K(""),n=K("");return a("h")&&(t.append(K("
      ").append(K("").attr({href:"#",tabindex:"-1",title:u.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(K("").addClass(u.icons.up)))),e.append(K("").append(K("").addClass("timepicker-hour").attr({"data-time-component":"hours",title:u.tooltips.pickHour}).attr("data-action","showHours"))),n.append(K("").append(K("").attr({href:"#",tabindex:"-1",title:u.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(K("").addClass(u.icons.down))))),a("m")&&(a("h")&&(t.append(K("").addClass("separator")),e.append(K("").addClass("separator").html(":")),n.append(K("").addClass("separator"))),t.append(K("").append(K("").attr({href:"#",tabindex:"-1",title:u.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(K("").addClass(u.icons.up)))),e.append(K("").append(K("").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:u.tooltips.pickMinute}).attr("data-action","showMinutes"))),n.append(K("").append(K("").attr({href:"#",tabindex:"-1",title:u.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(K("").addClass(u.icons.down))))),a("s")&&(a("m")&&(t.append(K("").addClass("separator")),e.append(K("").addClass("separator").html(":")),n.append(K("").addClass("separator"))),t.append(K("").append(K("").attr({href:"#",tabindex:"-1",title:u.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(K("").addClass(u.icons.up)))),e.append(K("").append(K("").addClass("timepicker-second").attr({"data-time-component":"seconds",title:u.tooltips.pickSecond}).attr("data-action","showSeconds"))),n.append(K("").append(K("").attr({href:"#",tabindex:"-1",title:u.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(K("").addClass(u.icons.down))))),E||(t.append(K("").addClass("separator")),e.append(K("").append(K("").addClass("separator"))),K("
      ").addClass("timepicker-picker").append(K("").addClass("table-condensed").append([t,e,n]))}()];return a("h")&&i.push(t),a("m")&&i.push(e),a("s")&&i.push(n),i}function e(){var t=K("
      ").addClass("bootstrap-datetimepicker-widget dropdown-menu"),e=K("
      ").addClass("datepicker").append(function(){var t=K("
      ").append(K("").append(K("").append(K("").append(K("
      ").addClass("prev").attr("data-action","previous").append(K("").addClass(u.icons.previous))).append(K("").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",u.calendarWeeks?"6":"5")).append(K("").addClass("next").attr("data-action","next").append(K("").addClass(u.icons.next)))),e=K("
      ").attr("colspan",u.calendarWeeks?"8":"7")));return[K("
      ").addClass("datepicker-days").append(K("").addClass("table-condensed").append(t).append(K(""))),K("
      ").addClass("datepicker-months").append(K("
      ").addClass("table-condensed").append(t.clone()).append(e.clone())),K("
      ").addClass("datepicker-years").append(K("
      ").addClass("table-condensed").append(t.clone()).append(e.clone())),K("
      ").addClass("datepicker-decades").append(K("
      ").addClass("table-condensed").append(t.clone()).append(e.clone()))]}()),n=K("
      ").addClass("timepicker").append(h()),i=K("
        ").addClass("list-unstyled"),r=K("
      • ").addClass("picker-switch"+(u.collapse?" accordion-toggle":"")).append(function(){var t=[];return u.showTodayButton&&t.push(K("
      ").append(K("").attr({"data-action":"today",title:u.tooltips.today}).append(K("").addClass(u.icons.today)))),!u.sideBySide&&c()&&l()&&t.push(K("").append(K("").attr({"data-action":"togglePicker",title:u.tooltips.selectTime}).append(K("").addClass(u.icons.time)))),u.showClear&&t.push(K("").append(K("").attr({"data-action":"clear",title:u.tooltips.clear}).append(K("").addClass(u.icons.clear)))),u.showClose&&t.push(K("").append(K("").attr({"data-action":"close",title:u.tooltips.close}).append(K("").addClass(u.icons.close)))),K("").addClass("table-condensed").append(K("").append(K("").append(t)))}());return u.inline&&t.removeClass("dropdown-menu"),E&&t.addClass("usetwentyfour"),a("s")&&!E&&t.addClass("wider"),u.sideBySide&&c()&&l()?(t.addClass("timepicker-sbs"),"top"===u.toolbarPlacement&&t.append(r),t.append(K("
      ").addClass("row").append(e.addClass("col-md-6")).append(n.addClass("col-md-6"))),"bottom"===u.toolbarPlacement&&t.append(r),t):("top"===u.toolbarPlacement&&i.append(r),c()&&i.append(K("
    • ").addClass(u.collapse&&l()?"collapse in":"").append(e)),"default"===u.toolbarPlacement&&i.append(r),l()&&i.append(K("
    • ").addClass(u.collapse&&c()?"collapse":"").append(n)),"bottom"===u.toolbarPlacement&&i.append(r),t.append(i))}function n(){var t,e=(H||o).position(),n=(H||o).offset(),i=u.widgetPositioning.vertical,r=u.widgetPositioning.horizontal;if(u.widgetParent)t=u.widgetParent.append(B);else if(o.is("input"))t=o.after(B).parent();else{if(u.inline)return void(t=o.append(B));(t=o).children().first().after(B)}if("auto"===i&&(i=n.top+1.5*B.height()>=K(window).height()+K(window).scrollTop()&&B.height()+o.outerHeight()K(window).width()?"right":"left"),"top"===i?B.addClass("top").removeClass("bottom"):B.addClass("bottom").removeClass("top"),"right"===r?B.addClass("pull-right"):B.removeClass("pull-right"),"relative"!==t.css("position")&&(t=t.parents().filter(function(){return"relative"===K(this).css("position")}).first()),0===t.length)throw new Error("datetimepicker component should be placed within a relative positioned container");B.css({top:"top"===i?"auto":e.top+o.outerHeight(),bottom:"top"===i?e.top+o.outerHeight():"auto",left:"left"===r?t===o?0:e.left:"auto",right:"left"===r?"auto":t.outerWidth()-o.outerWidth()-(t===o?0:e.left)})}function i(t){"dp.change"===t.type&&(t.date&&t.date.isSame(t.oldDate)||!t.date&&!t.oldDate)||o.trigger(t)}function r(t){"y"===t&&(t="YYYY"),i({type:"dp.update",change:t,viewDate:A.clone()})}function d(t){B&&(t&&(I=Math.max(z,Math.min(3,I+t))),B.find(".datepicker > div").hide().filter(".datepicker-"+W[I].clsName).show())}function f(t,e){if(!t.isValid())return!1;if(u.disabledDates&&"d"===e&&function(t){return!0===u.disabledDates[t.format("YYYY-MM-DD")]}(t))return!1;if(u.enabledDates&&"d"===e&&!function(t){return!0===u.enabledDates[t.format("YYYY-MM-DD")]}(t))return!1;if(u.minDate&&t.isBefore(u.minDate,e))return!1;if(u.maxDate&&t.isAfter(u.maxDate,e))return!1;if(u.daysOfWeekDisabled&&"d"===e&&-1!==u.daysOfWeekDisabled.indexOf(t.day()))return!1;if(u.disabledHours&&("h"===e||"m"===e||"s"===e)&&function(t){return!0===u.disabledHours[t.format("H")]}(t))return!1;if(u.enabledHours&&("h"===e||"m"===e||"s"===e)&&!function(t){return!0===u.enabledHours[t.format("H")]}(t))return!1;if(u.disabledTimeIntervals&&("h"===e||"m"===e||"s"===e)){var n=!1;if(K.each(u.disabledTimeIntervals,function(){if(t.isBetween(this[0],this[1]))return!(n=!0)}),n)return!1}return!0}function p(){var t,e,n,i,r=B.find(".datepicker-days"),o=r.find("th"),a=[];if(c()){for(o.eq(0).find("span").attr("title",u.tooltips.prevMonth),o.eq(1).attr("title",u.tooltips.selectMonth),o.eq(2).find("span").attr("title",u.tooltips.nextMonth),r.find(".disabled").removeClass("disabled"),o.eq(1).text(A.format(u.dayViewHeaderFormat)),f(A.clone().subtract(1,"M"),"M")||o.eq(0).addClass("disabled"),f(A.clone().add(1,"M"),"M")||o.eq(2).addClass("disabled"),t=A.clone().startOf("M").startOf("w").startOf("d"),i=0;i<42;i++)0===t.weekday()&&(e=K("
    • "),u.calendarWeeks&&e.append('"),a.push(e)),n="",t.isBefore(A,"M")&&(n+=" old"),t.isAfter(A,"M")&&(n+=" new"),t.isSame(D,"d")&&!j&&(n+=" active"),f(t,"d")||(n+=" disabled"),t.isSame(s(),"d")&&(n+=" today"),0!==t.day()&&6!==t.day()||(n+=" weekend"),e.append('"),t.add(1,"d");r.find("tbody").empty().append(a),function(){var t=B.find(".datepicker-months"),e=t.find("th"),n=t.find("tbody").find("span");e.eq(0).find("span").attr("title",u.tooltips.prevYear),e.eq(1).attr("title",u.tooltips.selectYear),e.eq(2).find("span").attr("title",u.tooltips.nextYear),t.find(".disabled").removeClass("disabled"),f(A.clone().subtract(1,"y"),"y")||e.eq(0).addClass("disabled"),e.eq(1).text(A.year()),f(A.clone().add(1,"y"),"y")||e.eq(2).addClass("disabled"),n.removeClass("active"),D.isSame(A,"y")&&!j&&n.eq(D.month()).addClass("active"),n.each(function(t){f(A.clone().month(t),"M")||K(this).addClass("disabled")})}(),function(){var t=B.find(".datepicker-years"),e=t.find("th"),n=A.clone().subtract(5,"y"),i=A.clone().add(6,"y"),r="";for(e.eq(0).find("span").attr("title",u.tooltips.prevDecade),e.eq(1).attr("title",u.tooltips.selectDecade),e.eq(2).find("span").attr("title",u.tooltips.nextDecade),t.find(".disabled").removeClass("disabled"),u.minDate&&u.minDate.isAfter(n,"y")&&e.eq(0).addClass("disabled"),e.eq(1).text(n.year()+"-"+i.year()),u.maxDate&&u.maxDate.isBefore(i,"y")&&e.eq(2).addClass("disabled");!n.isAfter(i,"y");)r+=''+n.year()+"",n.add(1,"y");t.find("td").html(r)}(),function(){var t=B.find(".datepicker-decades"),e=t.find("th"),n=J({y:A.year()-A.year()%100-1}),i=n.clone().add(100,"y"),r=n.clone(),o="";for(e.eq(0).find("span").attr("title",u.tooltips.prevCentury),e.eq(2).find("span").attr("title",u.tooltips.nextCentury),t.find(".disabled").removeClass("disabled"),(n.isSame(J({y:1900}))||u.minDate&&u.minDate.isAfter(n,"y"))&&e.eq(0).addClass("disabled"),e.eq(1).text(n.year()+"-"+i.year()),(n.isSame(J({y:2e3}))||u.maxDate&&u.maxDate.isBefore(i,"y"))&&e.eq(2).addClass("disabled");!n.isAfter(i,"y");)o+=''+(n.year()+1)+" - "+(n.year()+12)+"",n.add(12,"y");o+="",t.find("td").html(o),e.eq(1).text(r.year()+1+"-"+n.year())}()}}function t(){var t,e,n=B.find(".timepicker span[data-time-component]");E||(t=B.find(".timepicker [data-action=togglePeriod]"),e=D.clone().add(12<=D.hours()?-12:12,"h"),t.text(D.format("A")),f(e,"h")?t.removeClass("disabled"):t.addClass("disabled")),n.filter("[data-time-component=hours]").text(D.format(E?"HH":"hh")),n.filter("[data-time-component=minutes]").text(D.format("mm")),n.filter("[data-time-component=seconds]").text(D.format("ss")),function(){var t=B.find(".timepicker-hours table"),e=A.clone().startOf("d"),n=[],i=K("");for(11"),n.push(i)),i.append('"),e.add(1,"h");t.empty().append(n)}(),function(){for(var t=B.find(".timepicker-minutes table"),e=A.clone().startOf("h"),n=[],i=K(""),r=1===u.stepping?5:u.stepping;A.isSame(e,"h");)e.minute()%(4*r)==0&&(i=K(""),n.push(i)),i.append('"),e.add(r,"m");t.empty().append(n)}(),function(){for(var t=B.find(".timepicker-seconds table"),e=A.clone().startOf("m"),n=[],i=K("");A.isSame(e,"m");)e.second()%20==0&&(i=K(""),n.push(i)),i.append('"),e.add(5,"s");t.empty().append(n)}()}function g(){B&&(p(),t())}function m(t){var e=j?null:D;if(!t)return j=!0,P.val(""),o.data("date",""),i({type:"dp.change",date:!1,oldDate:e}),void g();t=t.clone().locale(u.locale),1!==u.stepping&&t.minutes(Math.round(t.minutes()/u.stepping)*u.stepping%60).seconds(0),f(t)?(A=(D=t).clone(),P.val(D.format(O)),o.data("date",D.format(O)),j=!1,g(),i({type:"dp.change",date:D.clone(),oldDate:e})):(u.keepInvalid||P.val(j?"":D.format(O)),i({type:"dp.error",date:t}))}function v(){var e=!1;return B?(B.find(".collapse").each(function(){var t=K(this).data("collapse");return!t||!t.transitioning||!(e=!0)}),e||(H&&H.hasClass("btn")&&H.toggleClass("active"),B.hide(),K(window).off("resize",n),B.off("click","[data-action]"),B.off("mousedown",!1),B.remove(),B=!1,i({type:"dp.hide",date:D.clone()}),P.blur()),F):F}function y(){m(null)}function b(t){return K(t.currentTarget).is(".disabled")||V[K(t.currentTarget).data("action")].apply(F,arguments),!1}function x(){var t;return P.prop("disabled")||!u.ignoreReadonly&&P.prop("readonly")||B||(void 0!==P.val()&&0!==P.val().trim().length?m(Z(P.val().trim())):u.useCurrent&&j&&(P.is("input")&&0===P.val().trim().length||u.inline)&&(t=s(),"string"==typeof u.useCurrent&&(t={year:function(t){return t.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(t){return t.date(1).hours(0).seconds(0).minutes(0)},day:function(t){return t.hours(0).seconds(0).minutes(0)},hour:function(t){return t.seconds(0).minutes(0)},minute:function(t){return t.seconds(0)}}[u.useCurrent](t)),m(t)),B=e(),function(){var t=K(""),e=A.clone().startOf("w").startOf("d");for(!0===u.calendarWeeks&&t.append(K("
      '+t.week()+"'+t.date()+"
      '+e.format(E?"HH":"hh")+"
      '+e.format("mm")+"
      '+e.format("ss")+"
      ").addClass("cw").text("#"));e.isBefore(A.clone().endOf("w"));)t.append(K("").addClass("dow").text(e.format("dd"))),e.add(1,"d");B.find(".datepicker-days thead").append(t)}(),function(){for(var t=[],e=A.clone().startOf("y").startOf("d");e.isSame(A,"y");)t.push(K("").attr("data-action","selectMonth").addClass("month").text(e.format("MMM"))),e.add(1,"M");B.find(".datepicker-months td").empty().append(t)}(),B.find(".timepicker-hours").hide(),B.find(".timepicker-minutes").hide(),B.find(".timepicker-seconds").hide(),g(),d(),K(window).on("resize",n),B.on("click","[data-action]",b),B.on("mousedown",!1),H&&H.hasClass("btn")&&H.toggleClass("active"),B.show(),n(),u.focusOnShow&&!P.is(":focus")&&P.focus(),i({type:"dp.show"})),F}function w(){return B?v():x()}function S(t){var e,n,i,r,o=null,a=[],s={},l=t.which;for(e in X[l]="p",X)X.hasOwnProperty(e)&&"p"===X[e]&&(a.push(e),parseInt(e,10)!==l&&(s[e]=!0));for(e in u.keyBinds)if(u.keyBinds.hasOwnProperty(e)&&"function"==typeof u.keyBinds[e]&&(i=e.split(" ")).length===a.length&&G[l]===i[i.length-1]){for(r=!0,n=i.length-2;0<=n;n--)if(!(G[i[n]]in s)){r=!1;break}if(r){o=u.keyBinds[e];break}}o&&(o.call(F,B),t.stopPropagation(),t.preventDefault())}function _(t){X[t.which]="r",t.stopPropagation(),t.preventDefault()}function C(t){var e=K(t.target).val().trim(),n=e?Z(e):null;return m(n),t.stopImmediatePropagation(),!1}function k(t){var e={};return K.each(t,function(){var t=Z(this);t.isValid()&&(e[t.format("YYYY-MM-DD")]=!0)}),!!Object.keys(e).length&&e}function M(t){var e={};return K.each(t,function(){e[this]=!0}),!!Object.keys(e).length&&e}function T(){var t=u.format||"L LT";O=t.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(t){return(D.localeData().longDateFormat(t)||t).replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(t){return D.localeData().longDateFormat(t)||t})}),(L=u.extraFormats?u.extraFormats.slice():[]).indexOf(t)<0&&L.indexOf(O)<0&&L.push(O),E=O.toLowerCase().indexOf("a")<1&&O.replace(/\[.*?\]/g,"").indexOf("h")<1,a("y")&&(z=2),a("M")&&(z=1),a("d")&&(z=0),I=Math.max(z,I),j||m(D)}var D,A,P,E,O,L,I,N,R,F={},j=!0,H=!1,B=!1,z=0,W=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],$=["days","months","years","decades"],q=["top","bottom","auto"],U=["left","right","auto"],Y=["default","top","bottom"],G={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t",delete:46,46:"delete"},X={},V={next:function(){var t=W[I].navFnc;A.add(W[I].navStep,t),p(),r(t)},previous:function(){var t=W[I].navFnc;A.subtract(W[I].navStep,t),p(),r(t)},pickerSwitch:function(){d(1)},selectMonth:function(t){var e=K(t.target).closest("tbody").find("span").index(K(t.target));A.month(e),I===z?(m(D.clone().year(A.year()).month(A.month())),u.inline||v()):(d(-1),p()),r("M")},selectYear:function(t){var e=parseInt(K(t.target).text(),10)||0;A.year(e),I===z?(m(D.clone().year(A.year())),u.inline||v()):(d(-1),p()),r("YYYY")},selectDecade:function(t){var e=parseInt(K(t.target).data("selection"),10)||0;A.year(e),I===z?(m(D.clone().year(A.year())),u.inline||v()):(d(-1),p()),r("YYYY")},selectDay:function(t){var e=A.clone();K(t.target).is(".old")&&e.subtract(1,"M"),K(t.target).is(".new")&&e.add(1,"M"),m(e.date(parseInt(K(t.target).text(),10))),l()||u.keepOpen||u.inline||v()},incrementHours:function(){var t=D.clone().add(1,"h");f(t,"h")&&m(t)},incrementMinutes:function(){var t=D.clone().add(u.stepping,"m");f(t,"m")&&m(t)},incrementSeconds:function(){var t=D.clone().add(1,"s");f(t,"s")&&m(t)},decrementHours:function(){var t=D.clone().subtract(1,"h");f(t,"h")&&m(t)},decrementMinutes:function(){var t=D.clone().subtract(u.stepping,"m");f(t,"m")&&m(t)},decrementSeconds:function(){var t=D.clone().subtract(1,"s");f(t,"s")&&m(t)},togglePeriod:function(){m(D.clone().add(12<=D.hours()?-12:12,"h"))},togglePicker:function(t){var e,n=K(t.target),i=n.closest("ul"),r=i.find(".in"),o=i.find(".collapse:not(.in)");if(r&&r.length){if((e=r.data("collapse"))&&e.transitioning)return;r.collapse?(r.collapse("hide"),o.collapse("show")):(r.removeClass("in"),o.addClass("in")),n.is("span")?n.toggleClass(u.icons.time+" "+u.icons.date):n.find("span").toggleClass(u.icons.time+" "+u.icons.date)}},showPicker:function(){B.find(".timepicker > div:not(.timepicker-picker)").hide(),B.find(".timepicker .timepicker-picker").show()},showHours:function(){B.find(".timepicker .timepicker-picker").hide(),B.find(".timepicker .timepicker-hours").show()},showMinutes:function(){B.find(".timepicker .timepicker-picker").hide(),B.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){B.find(".timepicker .timepicker-picker").hide(),B.find(".timepicker .timepicker-seconds").show()},selectHour:function(t){var e=parseInt(K(t.target).text(),10);E||(12<=D.hours()?12!==e&&(e+=12):12===e&&(e=0)),m(D.clone().hours(e)),V.showPicker.call(F)},selectMinute:function(t){m(D.clone().minutes(parseInt(K(t.target).text(),10))),V.showPicker.call(F)},selectSecond:function(t){m(D.clone().seconds(parseInt(K(t.target).text(),10))),V.showPicker.call(F)},clear:y,today:function(){var t=s();f(t,"d")&&m(t)},close:v},Z=function(t){return(t=void 0===u.parseInputDate?J.isMoment(t)||t instanceof Date?J(t):s(t):u.parseInputDate(t)).locale(u.locale),t};if(F.destroy=function(){v(),P.off({change:C,blur:blur,keydown:S,keyup:_,focus:u.allowInputToggle?v:""}),o.is("input")?P.off({focus:x}):H&&(H.off("click",w),H.off("mousedown",!1)),o.removeData("DateTimePicker"),o.removeData("date")},F.toggle=w,F.show=x,F.hide=v,F.disable=function(){return v(),H&&H.hasClass("btn")&&H.addClass("disabled"),P.prop("disabled",!0),F},F.enable=function(){return H&&H.hasClass("btn")&&H.removeClass("disabled"),P.prop("disabled",!1),F},F.ignoreReadonly=function(t){if(0===arguments.length)return u.ignoreReadonly;if("boolean"!=typeof t)throw new TypeError("ignoreReadonly () expects a boolean parameter");return u.ignoreReadonly=t,F},F.options=function(t){if(0===arguments.length)return K.extend(!0,{},u);if(!(t instanceof Object))throw new TypeError("options() options parameter should be an object");return K.extend(!0,u,t),K.each(u,function(t,e){if(void 0===F[t])throw new TypeError("option "+t+" is not recognized!");F[t](e)}),F},F.date=function(t){if(0===arguments.length)return j?null:D.clone();if(!(null===t||"string"==typeof t||J.isMoment(t)||t instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return m(null===t?null:Z(t)),F},F.format=function(t){if(0===arguments.length)return u.format;if("string"!=typeof t&&("boolean"!=typeof t||!1!==t))throw new TypeError("format() expects a sting or boolean:false parameter "+t);return u.format=t,O&&T(),F},F.timeZone=function(t){return 0===arguments.length?u.timeZone:(u.timeZone=t,F)},F.dayViewHeaderFormat=function(t){if(0===arguments.length)return u.dayViewHeaderFormat;if("string"!=typeof t)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return u.dayViewHeaderFormat=t,F},F.extraFormats=function(t){if(0===arguments.length)return u.extraFormats;if(!1!==t&&!(t instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return u.extraFormats=t,L&&T(),F},F.disabledDates=function(t){if(0===arguments.length)return u.disabledDates?K.extend({},u.disabledDates):u.disabledDates;if(!t)return u.disabledDates=!1,g(),F;if(!(t instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return u.disabledDates=k(t),u.enabledDates=!1,g(),F},F.enabledDates=function(t){if(0===arguments.length)return u.enabledDates?K.extend({},u.enabledDates):u.enabledDates;if(!t)return u.enabledDates=!1,g(),F;if(!(t instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return u.enabledDates=k(t),u.disabledDates=!1,g(),F},F.daysOfWeekDisabled=function(t){if(0===arguments.length)return u.daysOfWeekDisabled.splice(0);if("boolean"==typeof t&&!t)return u.daysOfWeekDisabled=!1,g(),F;if(!(t instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(u.daysOfWeekDisabled=t.reduce(function(t,e){return 6<(e=parseInt(e,10))||e<0||isNaN(e)||-1===t.indexOf(e)&&t.push(e),t},[]).sort(),u.useCurrent&&!u.keepInvalid){for(var e=0;!f(D,"d");){if(D.add(1,"d"),7===e)throw"Tried 7 times to find a valid date";e++}m(D)}return g(),F},F.maxDate=function(t){if(0===arguments.length)return u.maxDate?u.maxDate.clone():u.maxDate;if("boolean"==typeof t&&!1===t)return u.maxDate=!1,g(),F;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=s()));var e=Z(t);if(!e.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+t);if(u.minDate&&e.isBefore(u.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+e.format(O));return u.maxDate=e,u.useCurrent&&!u.keepInvalid&&D.isAfter(t)&&m(u.maxDate),A.isAfter(e)&&(A=e.clone().subtract(u.stepping,"m")),g(),F},F.minDate=function(t){if(0===arguments.length)return u.minDate?u.minDate.clone():u.minDate;if("boolean"==typeof t&&!1===t)return u.minDate=!1,g(),F;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=s()));var e=Z(t);if(!e.isValid())throw new TypeError("minDate() Could not parse date parameter: "+t);if(u.maxDate&&e.isAfter(u.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+e.format(O));return u.minDate=e,u.useCurrent&&!u.keepInvalid&&D.isBefore(t)&&m(u.minDate),A.isBefore(e)&&(A=e.clone().add(u.stepping,"m")),g(),F},F.defaultDate=function(t){if(0===arguments.length)return u.defaultDate?u.defaultDate.clone():u.defaultDate;if(!t)return u.defaultDate=!1,F;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=s()));var e=Z(t);if(!e.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+t);if(!f(e))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return u.defaultDate=e,(u.defaultDate&&u.inline||""===P.val().trim())&&m(u.defaultDate),F},F.locale=function(t){if(0===arguments.length)return u.locale;if(!J.localeData(t))throw new TypeError("locale() locale "+t+" is not loaded from moment locales!");return u.locale=t,D.locale(u.locale),A.locale(u.locale),O&&T(),B&&(v(),x()),F},F.stepping=function(t){return 0===arguments.length?u.stepping:(t=parseInt(t,10),(isNaN(t)||t<1)&&(t=1),u.stepping=t,F)},F.useCurrent=function(t){var e=["year","month","day","hour","minute"];if(0===arguments.length)return u.useCurrent;if("boolean"!=typeof t&&"string"!=typeof t)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof t&&-1===e.indexOf(t.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+e.join(", "));return u.useCurrent=t,F},F.collapse=function(t){if(0===arguments.length)return u.collapse;if("boolean"!=typeof t)throw new TypeError("collapse() expects a boolean parameter");return u.collapse===t||(u.collapse=t,B&&(v(),x())),F},F.icons=function(t){if(0===arguments.length)return K.extend({},u.icons);if(!(t instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return K.extend(u.icons,t),B&&(v(),x()),F},F.tooltips=function(t){if(0===arguments.length)return K.extend({},u.tooltips);if(!(t instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return K.extend(u.tooltips,t),B&&(v(),x()),F},F.useStrict=function(t){if(0===arguments.length)return u.useStrict;if("boolean"!=typeof t)throw new TypeError("useStrict() expects a boolean parameter");return u.useStrict=t,F},F.sideBySide=function(t){if(0===arguments.length)return u.sideBySide;if("boolean"!=typeof t)throw new TypeError("sideBySide() expects a boolean parameter");return u.sideBySide=t,B&&(v(),x()),F},F.viewMode=function(t){if(0===arguments.length)return u.viewMode;if("string"!=typeof t)throw new TypeError("viewMode() expects a string parameter");if(-1===$.indexOf(t))throw new TypeError("viewMode() parameter must be one of ("+$.join(", ")+") value");return u.viewMode=t,I=Math.max($.indexOf(t),z),d(),F},F.toolbarPlacement=function(t){if(0===arguments.length)return u.toolbarPlacement;if("string"!=typeof t)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===Y.indexOf(t))throw new TypeError("toolbarPlacement() parameter must be one of ("+Y.join(", ")+") value");return u.toolbarPlacement=t,B&&(v(),x()),F},F.widgetPositioning=function(t){if(0===arguments.length)return K.extend({},u.widgetPositioning);if("[object Object]"!=={}.toString.call(t))throw new TypeError("widgetPositioning() expects an object variable");if(t.horizontal){if("string"!=typeof t.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(t.horizontal=t.horizontal.toLowerCase(),-1===U.indexOf(t.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+U.join(", ")+")");u.widgetPositioning.horizontal=t.horizontal}if(t.vertical){if("string"!=typeof t.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(t.vertical=t.vertical.toLowerCase(),-1===q.indexOf(t.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+q.join(", ")+")");u.widgetPositioning.vertical=t.vertical}return g(),F},F.calendarWeeks=function(t){if(0===arguments.length)return u.calendarWeeks;if("boolean"!=typeof t)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return u.calendarWeeks=t,g(),F},F.showTodayButton=function(t){if(0===arguments.length)return u.showTodayButton;if("boolean"!=typeof t)throw new TypeError("showTodayButton() expects a boolean parameter");return u.showTodayButton=t,B&&(v(),x()),F},F.showClear=function(t){if(0===arguments.length)return u.showClear;if("boolean"!=typeof t)throw new TypeError("showClear() expects a boolean parameter");return u.showClear=t,B&&(v(),x()),F},F.widgetParent=function(t){if(0===arguments.length)return u.widgetParent;if("string"==typeof t&&(t=K(t)),null!==t&&"string"!=typeof t&&!(t instanceof K))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return u.widgetParent=t,B&&(v(),x()),F},F.keepOpen=function(t){if(0===arguments.length)return u.keepOpen;if("boolean"!=typeof t)throw new TypeError("keepOpen() expects a boolean parameter");return u.keepOpen=t,F},F.focusOnShow=function(t){if(0===arguments.length)return u.focusOnShow;if("boolean"!=typeof t)throw new TypeError("focusOnShow() expects a boolean parameter");return u.focusOnShow=t,F},F.inline=function(t){if(0===arguments.length)return u.inline;if("boolean"!=typeof t)throw new TypeError("inline() expects a boolean parameter");return u.inline=t,F},F.clear=function(){return y(),F},F.keyBinds=function(t){return u.keyBinds=t,F},F.getMoment=function(t){return s(t)},F.debug=function(t){if("boolean"!=typeof t)throw new TypeError("debug() expects a boolean parameter");return u.debug=t,F},F.allowInputToggle=function(t){if(0===arguments.length)return u.allowInputToggle;if("boolean"!=typeof t)throw new TypeError("allowInputToggle() expects a boolean parameter");return u.allowInputToggle=t,F},F.showClose=function(t){if(0===arguments.length)return u.showClose;if("boolean"!=typeof t)throw new TypeError("showClose() expects a boolean parameter");return u.showClose=t,F},F.keepInvalid=function(t){if(0===arguments.length)return u.keepInvalid;if("boolean"!=typeof t)throw new TypeError("keepInvalid() expects a boolean parameter");return u.keepInvalid=t,F},F.datepickerInput=function(t){if(0===arguments.length)return u.datepickerInput;if("string"!=typeof t)throw new TypeError("datepickerInput() expects a string parameter");return u.datepickerInput=t,F},F.parseInputDate=function(t){if(0===arguments.length)return u.parseInputDate;if("function"!=typeof t)throw new TypeError("parseInputDate() sholud be as function");return u.parseInputDate=t,F},F.disabledTimeIntervals=function(t){if(0===arguments.length)return u.disabledTimeIntervals?K.extend({},u.disabledTimeIntervals):u.disabledTimeIntervals;if(!t)return u.disabledTimeIntervals=!1,g(),F;if(!(t instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return u.disabledTimeIntervals=t,g(),F},F.disabledHours=function(t){if(0===arguments.length)return u.disabledHours?K.extend({},u.disabledHours):u.disabledHours;if(!t)return u.disabledHours=!1,g(),F;if(!(t instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(u.disabledHours=M(t),u.enabledHours=!1,u.useCurrent&&!u.keepInvalid){for(var e=0;!f(D,"h");){if(D.add(1,"h"),24===e)throw"Tried 24 times to find a valid date";e++}m(D)}return g(),F},F.enabledHours=function(t){if(0===arguments.length)return u.enabledHours?K.extend({},u.enabledHours):u.enabledHours;if(!t)return u.enabledHours=!1,g(),F;if(!(t instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(u.enabledHours=M(t),u.disabledHours=!1,u.useCurrent&&!u.keepInvalid){for(var e=0;!f(D,"h");){if(D.add(1,"h"),24===e)throw"Tried 24 times to find a valid date";e++}m(D)}return g(),F},F.viewDate=function(t){if(0===arguments.length)return A.clone();if(!t)return A=D.clone(),F;if(!("string"==typeof t||J.isMoment(t)||t instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return A=Z(t),r(),F},o.is("input"))P=o;else if(0===(P=o.find(u.datepickerInput)).size())P=o.find("input");else if(!P.is("input"))throw new Error('CSS class "'+u.datepickerInput+'" cannot be applied to non input element');if(o.hasClass("input-group")&&(H=0===o.find(".datepickerbutton").size()?o.find(".input-group-addon"):o.find(".datepickerbutton")),!u.inline&&!P.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return D=s(),A=D.clone(),K.extend(!0,u,(R={},(N=o.is("input")||u.inline?o.data():o.find("input").data()).dateOptions&&N.dateOptions instanceof Object&&(R=K.extend(!0,R,N.dateOptions)),K.each(u,function(t){var e="date"+t.charAt(0).toUpperCase()+t.slice(1);void 0!==N[e]&&(R[t]=N[e])}),R)),F.options(u),T(),P.on({change:C,blur:u.debug?"":v,keydown:S,keyup:_,focus:u.allowInputToggle?x:""}),o.is("input")?P.on({focus:x}):H&&(H.on("click",w),H.on("mousedown",!1)),P.prop("disabled")&&F.disable(),P.is("input")&&0!==P.val().trim().length?m(Z(P.val().trim())):u.defaultDate&&void 0===P.attr("placeholder")&&m(u.defaultDate),u.inline&&x(),F}K.fn.datetimepicker=function(e){return this.each(function(){var t=K(this);t.data("DateTimePicker")||(e=K.extend(!0,{},K.fn.datetimepicker.defaults,e),t.data("DateTimePicker",n(t,e)))})},K.fn.datetimepicker.defaults={timeZone:"Etc/UTC",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:J.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Period",selectTime:"Select Time"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().subtract(7,"d")):this.date(e.clone().add(this.stepping(),"m"))}},down:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().add(7,"d")):this.date(e.clone().subtract(this.stepping(),"m"))}else this.show()},"control up":function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().subtract(1,"y")):this.date(e.clone().add(1,"h"))}},"control down":function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().add(1,"y")):this.date(e.clone().subtract(1,"h"))}},left:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"d"))}},right:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"d"))}},pageUp:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"M"))}},pageDown:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(t){t.find(".timepicker").is(":visible")&&t.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment())},delete:function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(n){var t=function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var t=n.fn.select2.amd;var e,r,u;return t&&t.requirejs||(t?r=t:t={},function(d){function f(t,e){return n.call(t,e)}function o(t,e){var n,i,r,o,a,s,l,u,c,h,d,f=e&&e.split("/"),p=w.map,g=p&&p["*"]||{};if(t&&"."===t.charAt(0))if(e){for(a=(t=t.split("/")).length-1,w.nodeIdCompat&&_.test(t[a])&&(t[a]=t[a].replace(_,"")),t=f.slice(0,f.length-1).concat(t),c=0;c":">",'"':""","'":"'","/":"/"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},e.appendMany=function(t,e){if("1.7"===o.fn.jquery.substr(0,3)){var n=o();o.map(e,function(t){n=n.add(t)}),e=n}t.append(e)},e}),t.define("select2/results",["jquery","./utils"],function(d,t){function i(t,e,n){this.$element=t,this.data=n,this.options=e,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=d('
        ');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(t){var e=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=d('
      • '),i=this.options.get("translations").get(t.message);n.append(e(i(t.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n",{class:"select2-results__options select2-results__options--nested"});h.append(s),o.append(a),o.append(h)}else this.template(t,e);return d.data(e,"data",t),e},i.prototype.bind=function(e,t){var l=this,n=e.id+"-results";this.$results.attr("id",n),e.on("results:all",function(t){l.clear(),l.append(t.data),e.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),e.on("results:append",function(t){l.append(t.data),e.isOpen()&&l.setClasses()}),e.on("query",function(t){l.hideMessages(),l.showLoading(t)}),e.on("select",function(){e.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),e.on("unselect",function(){e.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),e.on("open",function(){l.$results.attr("aria-expanded","true"),l.$results.attr("aria-hidden","false"),l.setClasses(),l.ensureHighlightVisible()}),e.on("close",function(){l.$results.attr("aria-expanded","false"),l.$results.attr("aria-hidden","true"),l.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=l.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t=l.getHighlightedResults();if(0!==t.length){var e=t.data("data");"true"==t.attr("aria-selected")?l.trigger("close",{}):l.trigger("select",{data:e})}}),e.on("results:previous",function(){var t=l.getHighlightedResults(),e=l.$results.find("[aria-selected]"),n=e.index(t);if(0!==n){var i=n-1;0===t.length&&(i=0);var r=e.eq(i);r.trigger("mouseenter");var o=l.$results.offset().top,a=r.offset().top,s=l.$results.scrollTop()+(a-o);0===i?l.$results.scrollTop(0):a-o<0&&l.$results.scrollTop(s)}}),e.on("results:next",function(){var t=l.getHighlightedResults(),e=l.$results.find("[aria-selected]"),n=e.index(t)+1;if(!(n>=e.length)){var i=e.eq(n);i.trigger("mouseenter");var r=l.$results.offset().top+l.$results.outerHeight(!1),o=i.offset().top+i.outerHeight(!1),a=l.$results.scrollTop()+o-r;0===n?l.$results.scrollTop(0):rthis.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(t,e){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),r=n(t,e);null==r?e.style.display="none":"string"==typeof r?e.innerHTML=i(r):d(e).append(r)},i}),t.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(n,t,r){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=n('');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t},i.prototype.bind=function(t,e){var n=this,i=(t.id,t.id+"-results");this.container=t,this.$selection.on("focus",function(t){n.trigger("focus",t)}),this.$selection.on("blur",function(t){n._handleBlur(t)}),this.$selection.on("keydown",function(t){n.trigger("keypress",t),t.which===r.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){n.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){n.update(t.data)}),t.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",i),n._attachCloseHandler(t)}),t.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.focus(),n._detachCloseHandler(t)}),t.on("enable",function(){n.$selection.attr("tabindex",n._tabindex)}),t.on("disable",function(){n.$selection.attr("tabindex","-1")})},i.prototype._handleBlur=function(t){var e=this;window.setTimeout(function(){document.activeElement==e.$selection[0]||n.contains(e.$selection[0],document.activeElement)||e.trigger("blur",t)},1)},i.prototype._attachCloseHandler=function(t){n(document.body).on("mousedown.select2."+t.id,function(t){var e=n(t.target).closest(".select2");n(".select2.select2-container--open").each(function(){var t=n(this);this!=e[0]&&t.data("element").select2("close")})})},i.prototype._detachCloseHandler=function(t){n(document.body).off("mousedown.select2."+t.id)},i.prototype.position=function(t,e){e.find(".selection").append(t)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},i}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,e),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html(''),t},r.prototype.bind=function(e,t){var n=this;r.__super__.bind.apply(this,arguments);var i=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),e.on("focus",function(t){e.isOpen()||n.$selection.focus()}),e.on("selection:update",function(t){n.update(t.data)})},r.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},r.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return t("")},r.prototype.update=function(t){if(0!==t.length){var e=t[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(e,n);n.empty().append(i),n.prop("title",e.title||e.text)}else this.clear()},r}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(i,t,s){function r(t,e){r.__super__.constructor.apply(this,arguments)}return s.Extend(r,t),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('
          '),t},r.prototype.bind=function(t,e){var n=this;r.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){n.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){if(!n.options.get("disabled")){var e=i(this).parent().data("data");n.trigger("unselect",{originalEvent:t,data:e})}})},r.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},r.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return i('
        • ×
        • ')},r.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],n=0;n×
          ');n.data("data",e),this.$selection.find(".select2-selection__rendered").prepend(n)}},t}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(i,t,a){function e(t,e,n){t.call(this,e,n)}return e.prototype.render=function(t){var e=i('');this.$searchContainer=e,this.$search=e.find("input");var n=t.call(this);return this._transferTabIndex(),n},e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("open",function(){i.$search.trigger("focus")}),e.on("close",function(){i.$search.val(""),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")}),e.on("enable",function(){i.$search.prop("disabled",!1),i._transferTabIndex()}),e.on("disable",function(){i.$search.prop("disabled",!0)}),e.on("focus",function(t){i.$search.trigger("focus")}),e.on("results:focus",function(t){i.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){i.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){i._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented(),t.which===a.BACKSPACE&&""===i.$search.val()){var e=i.$searchContainer.prev(".select2-selection__choice");if(0this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):void t.call(this,e,n)},t}),t.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.query=function(n,i,r){var o=this;this.current(function(t){var e=null!=t?t.length:0;return 0=o.maximumSelectionLength?void o.trigger("results:message",{message:"maximumSelected",args:{maximum:o.maximumSelectionLength}}):void n.call(o,i,r)})},t}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('');return t.attr("dir",this.options.get("dir")),this.$dropdown=t},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define("select2/dropdown/search",["jquery","../utils"],function(r,t){function e(){}return e.prototype.render=function(t){var e=t.call(this),n=r('');return this.$searchContainer=n,this.$search=n.find("input"),e.prepend(n),e},e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),this.$search.on("keydown",function(t){i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(t){r(this).off("keyup")}),this.$search.on("keyup input",function(t){i.handleSearch(t)}),e.on("open",function(){i.$search.attr("tabindex",0),i.$search.focus(),window.setTimeout(function(){i.$search.focus()},0)}),e.on("close",function(){i.$search.attr("tabindex",-1),i.$search.val("")}),e.on("focus",function(){e.isOpen()&&i.$search.focus()}),e.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(i.showSearch(t)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))})},e.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},e.prototype.showSearch=function(t,e){return!0},e}),t.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,i)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var n=e.slice(0),i=e.length-1;0<=i;i--){var r=e[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},t}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(r){function t(t,e,n,i){this.lastParams={},t.call(this,e,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("query",function(t){i.lastParams=t,i.loading=!0}),e.on("query:append",function(t){i.lastParams=t,i.loading=!0}),this.$results.on("scroll",function(){var t=r.contains(document.documentElement,i.$loadingMore[0]);if(!i.loading&&t){var e=i.$results.offset().top+i.$results.outerHeight(!1);i.$loadingMore.offset().top+i.$loadingMore.outerHeight(!1)<=e+50&&i.loadMore()}})},t.prototype.loadMore=function(){this.loading=!0;var t=r.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},t.prototype.createLoadingMore=function(){var t=r('
        • '),e=this.options.get("translations").get("loadingMore");return t.html(e(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(p,s){function t(t,e,n){this.$dropdownParent=n.get("dropdownParent")||p(document.body),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var i=this,r=!1;t.call(this,e,n),e.on("open",function(){i._showDropdown(),i._attachPositioningHandler(e),r||(r=!0,e.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),e.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),e.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},t.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},t.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},t.prototype.render=function(t){var e=p(""),n=t.call(this);return e.append(n),this.$dropdownContainer=e},t.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},t.prototype._attachPositioningHandler=function(t,e){var n=this,i="scroll.select2."+e.id,r="resize.select2."+e.id,o="orientationchange.select2."+e.id,a=this.$container.parents().filter(s.hasScroll);a.each(function(){p(this).data("select2-scroll-position",{x:p(this).scrollLeft(),y:p(this).scrollTop()})}),a.on(i,function(t){var e=p(this).data("select2-scroll-position");p(this).scrollTop(e.y)}),p(window).on(i+" "+r+" "+o,function(t){n._positionDropdown(),n._resizeDropdown()})},t.prototype._detachPositioningHandler=function(t,e){var n="scroll.select2."+e.id,i="resize.select2."+e.id,r="orientationchange.select2."+e.id;this.$container.parents().filter(s.hasScroll).off(n),p(window).off(n+" "+i+" "+r)},t.prototype._positionDropdown=function(){var t=p(window),e=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),i=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=r.top,o.bottom=r.top+o.height;var a=this.$dropdown.outerHeight(!1),s=t.scrollTop(),l=t.scrollTop()+t.height(),u=sr.bottom+a,h={left:r.left,top:o.bottom},d=this.$dropdownParent;"static"===d.css("position")&&(d=d.offsetParent());var f=d.offset();h.top-=f.top,h.left-=f.left,e||n||(i="below"),c||!u||e?!u&&c&&e&&(i="below"):i="above",("above"==i||e&&"below"!==i)&&(h.top=o.top-f.top-a),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(h)},t.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},t.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},t}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,i)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var n=0,i=0;i');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),t.data("element",this.$element),t},c}),t.define("jquery-mousewheel",["jquery"],function(t){return t}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(r,t,o,e){if(null==r.fn.select2){var a=["open","close","destroy"];r.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var t=r.extend(!0,{},e);new o(r(this),t)}),this;if("string"!=typeof e)throw new Error("Invalid arguments for Select2: "+e);var n,i=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=r(this).data("select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),n=t[e].apply(t,i)}),-1r;)c(U,e=n[r++])||e==z||e==p||i.push(e);return i}function l(t){for(var e,n=t===G,i=R(n?Y:M(t)),r=[],o=0;i.length>o;)!c(U,e=i[o++])||n&&!c(G,e)||r.push(U[e]);return r}var u=n(2),c=n(3),h=n(4),d=n(6),f=n(16),p=n(20).KEY,g=n(5),m=n(21),v=n(22),y=n(17),b=n(23),x=n(24),w=n(25),S=n(27),_=n(40),C=n(43),k=n(10),M=n(30),T=n(14),D=n(15),A=n(44),P=n(47),E=n(49),O=n(9),L=n(28),I=E.f,N=O.f,R=P.f,F=u.Symbol,j=u.JSON,H=j&&j.stringify,B="prototype",z=b("_hidden"),W=b("toPrimitive"),$={}.propertyIsEnumerable,q=m("symbol-registry"),U=m("symbols"),Y=m("op-symbols"),G=Object[B],X="function"==typeof F,V=u.QObject,Z=!V||!V[B]||!V[B].findChild,K=h&&g(function(){return 7!=A(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=I(G,e);i&&delete G[e],N(t,e,n),i&&t!==G&&N(G,e,i)}:N,J=X&&"symbol"==typeof F.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof F},Q=function(t,e,n){return t===G&&Q(Y,e,n),k(t),e=T(e,!0),k(n),c(U,e)?(n.enumerable?(c(t,z)&&t[z][e]&&(t[z][e]=!1),n=A(n,{enumerable:D(0,!1)})):(c(t,z)||N(t,z,D(1,{})),t[z][e]=!0),K(t,e,n)):N(t,e,n)};X||(f((F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var e=y(0et;)b(tt[et++]);for(tt=L(b.store),et=0;tt.length>et;)w(tt[et++]);d(d.S+d.F*!X,"Symbol",{for:function(t){return c(q,t+="")?q[t]:q[t]=F(t)},keyFor:function(t){if(J(t))return S(q,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){Z=!0},useSimple:function(){Z=!1}}),d(d.S+d.F*!X,"Object",{create:function(t,e){return e===Xt?A(t):r(A(t),e)},defineProperty:Q,defineProperties:r,getOwnPropertyDescriptor:a,getOwnPropertyNames:s,getOwnPropertySymbols:l}),j&&d(d.S+d.F*(!X||g(function(){var t=F();return"[null]"!=H([t])||"{}"!=H({a:t})||"{}"!=H(Object(t))})),"JSON",{stringify:function(t){if(t!==Xt&&!J(t)){for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);return"function"==typeof(e=i[1])&&(n=e),!n&&C(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!J(e))return e}),i[1]=e,H.apply(j,i)}}}),F[B][W]||n(8)(F[B],W,F[B].valueOf),v(F,"Symbol"),v(Math,"Math",!0),v(u.JSON,"JSON",!0)},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof r&&(r=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(5)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var g=n(2),m=n(7),v=n(8),y=n(16),b=n(18),x="prototype",w=function(t,e,n){var i,r,o,a,s=t&w.F,l=t&w.G,u=t&w.S,c=t&w.P,h=t&w.B,d=l?g:u?g[e]||(g[e]={}):(g[e]||{})[x],f=l?m:m[e]||(m[e]={}),p=f[x]||(f[x]={});for(i in l&&(n=e),n)o=((r=!s&&d&&d[i]!==Xt)?d:n)[i],a=h&&r?b(o,g):c&&"function"==typeof o?b(Function.call,o):o,d&&y(d,i,o,t&w.U),f[i]!=o&&v(f,i,a),c&&p[i]!=o&&(p[i]=o)};g.core=m,w.F=1,w.G=2,w.S=4,w.P=8,w.B=16,w.W=32,w.U=64,w.R=128,t.exports=w},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof i&&(i=n)},function(t,e,n){var i=n(9),r=n(15);t.exports=n(4)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(10),r=n(12),o=n(14),a=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(11);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(4)&&!n(5)(function(){return 7!=Object.defineProperty(n(13)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(11),r=n(2).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,n){var r=n(11);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var o=n(2),a=n(8),s=n(3),l=n(17)("src"),i="toString",r=Function[i],u=(""+r).split(i);n(7).inspectSource=function(t){return r.call(t)},(t.exports=function(t,e,n,i){var r="function"==typeof n;r&&(s(n,"name")||a(n,"name",e)),t[e]!==n&&(r&&(s(n,l)||a(n,l,t[e]?""+t[e]:u.join(String(e)))),t===o?t[e]=n:i?t[e]?t[e]=n:a(t,e,n):(delete t[e],a(t,e,n)))})(Function.prototype,i,function(){return"function"==typeof this&&this[l]||r.call(this)})},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(t===Xt?"":t,")_",(++n+i).toString(36))}},function(t,e,n){var o=n(19);t.exports=function(i,r,t){if(o(i),r===Xt)return i;switch(t){case 1:return function(t){return i.call(r,t)};case 2:return function(t,e){return i.call(r,t,e)};case 3:return function(t,e,n){return i.call(r,t,e,n)}}return function(){return i.apply(r,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){function i(t){s(t,r,{value:{i:"O"+ ++l,w:{}}})}var r=n(17)("meta"),o=n(11),a=n(3),s=n(9).f,l=0,u=Object.isExtensible||function(){return!0},c=!n(5)(function(){return u(Object.preventExtensions({}))}),h=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!u(t))return"F";if(!e)return"E";i(t)}return t[r].i},getWeak:function(t,e){if(!a(t,r)){if(!u(t))return!0;if(!e)return!1;i(t)}return t[r].w},onFreeze:function(t){return c&&h.NEED&&u(t)&&!a(t,r)&&i(t),t}}},function(t,e,n){var i=n(2),r="__core-js_shared__",o=i[r]||(i[r]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var i=n(9).f,r=n(3),o=n(23)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(21)("wks"),r=n(17),o=n(2).Symbol,a="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=i},function(t,e,n){e.f=n(23)},function(t,e,n){var i=n(2),r=n(7),o=n(26),a=n(24),s=n(9).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e){t.exports=!1},function(t,e,n){var s=n(28),l=n(30);t.exports=function(t,e){for(var n,i=l(t),r=s(i),o=r.length,a=0;ar;)a(i,n=e[r++])&&(~l(o,n)||o.push(n));return o}},function(t,e,n){var i=n(31),r=n(33);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(32);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(t==Xt)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var l=n(30),u=n(35),c=n(37);t.exports=function(s){return function(t,e,n){var i,r=l(t),o=u(r.length),a=c(n,o);if(s&&e!=e){for(;aa;)o.call(t,i=r[a++])&&e.push(i);return e}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var i=n(32);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,i){function r(){}var o=i(10),a=i(45),s=i(39),l=i(38)("IE_PROTO"),u="prototype",c=function(){var t,e=i(13)("iframe"),n=s.length;for(e.style.display="none",i(46).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("