YOP Poll - Version 6.0.1

Version Description

  • css cleanout
  • fixed issue with css for custom fields
  • fixed issue with the gridline
  • fixed issue with results after vote
  • fixed issue with displaying number of votes and percentages
  • fixed issue with spacing between answers
  • fixed issue with export
  • fixed issue with redirect after vote time
  • fixed issue with reset votes
  • fixed issue with results set to Never
  • fixed issue with deleted polls
Download this release

Release Info

Developer yourownprogrammer
Plugin Icon 128x128 YOP Poll
Version 6.0.1
Comparing to
See all releases

Code changes from version 6.0.0 to 6.0.1

admin/admin.php CHANGED
@@ -11,12 +11,14 @@ class YOP_Poll_Admin {
11
add_action( 'admin_menu', array( &$this, 'build_admin_menu' ) );
12
add_action( 'plugins_loaded', array( &$this, 'verify_update' ) );
13
add_action( 'admin_enqueue_scripts', array( &$this, 'load_dependencies' ) );
14
add_action( 'wp_ajax_create_yop_poll', array( &$this, 'create_poll' ) );
15
add_action( 'wp_ajax_update_yop_poll', array( &$this, 'update_poll' ) );
16
add_action( 'wp_ajax_delete_single_yop_poll', array( &$this, 'delete_single_poll' ) );
17
add_action( 'wp_ajax_delete_bulk_yop_poll', array( &$this, 'delete_bulk_poll' ) );
18
add_action( 'wp_ajax_clone_single_yop_poll', array( &$this, 'clone_single_poll' ) );
19
add_action( 'wp_ajax_clone_bulk_yop_poll', array( &$this, 'clone_bulk_poll' ) );
20
add_action( 'wp_ajax_create_yop_poll_ban', array( &$this, 'create_ban' ) );
21
add_action( 'wp_ajax_delete_yop_poll_ban', array( &$this, 'delete_single_ban' ) );
22
add_action( 'wp_ajax_update_yop_poll_ban', array( &$this, 'update_ban' ) );
@@ -50,8 +52,13 @@ class YOP_Poll_Admin {
50
$maintenance = new YOP_POLL_Maintenance();
51
$maintenance->activate();
52
}
53
}
54
}
55
public function is_user_logged_in() {
56
if ( true === is_user_logged_in() ) {
57
wp_send_json_success();
@@ -182,7 +189,6 @@ class YOP_Poll_Admin {
182
'jquery-ui-dialog',
183
'jquery-ui-datepicker' )
184
);
185
- //wp_localize_script( 'yop', 'yop_app_url', YOP_POLL_URL );
186
wp_localize_script( 'yop', 'objectL10n', array(
187
'yopPollParams' => array(
188
'appUrl' => YOP_POLL_URL,
@@ -199,6 +205,9 @@ class YOP_Poll_Admin {
199
'clonePollMessage' => esc_html__( 'Are you sure you want to clone this poll?', 'yop-poll' ),
200
'cloneBulkPollsSingleMessage' => esc_html__( 'Are you sure you want to clone this poll?', 'yop-poll' ),
201
'cloneBulkPollsMultiMessage' => esc_html__( 'Are you sure you want to clone these polls?', 'yop-poll' ),
202
'noBulkActionSelected' => esc_html__( 'No bulk action selected', 'yop-poll' ),
203
'noPollsSelectedForBulk' => esc_html__( 'No polls selected', 'yop-poll' ),
204
'noBansSelectedForBulk' => esc_html__( 'No bans selected', 'yop-poll' ),
@@ -600,6 +609,31 @@ class YOP_Poll_Admin {
600
wp_send_json_error( __( 'You are not allowed to perform this action', 'yop-poll' ) );
601
}
602
}
603
public function display_results( $poll_id ) {
604
if ( current_user_can( 'yop_poll_results_own' ) ) {
605
$template = YOP_POLL_PATH . 'admin/views/viewresults.php';
11
add_action( 'admin_menu', array( &$this, 'build_admin_menu' ) );
12
add_action( 'plugins_loaded', array( &$this, 'verify_update' ) );
13
add_action( 'admin_enqueue_scripts', array( &$this, 'load_dependencies' ) );
14
+ add_action( 'upgrader_process_complete', array( &$this, 'upgrade_complete' ) );
15
add_action( 'wp_ajax_create_yop_poll', array( &$this, 'create_poll' ) );
16
add_action( 'wp_ajax_update_yop_poll', array( &$this, 'update_poll' ) );
17
add_action( 'wp_ajax_delete_single_yop_poll', array( &$this, 'delete_single_poll' ) );
18
add_action( 'wp_ajax_delete_bulk_yop_poll', array( &$this, 'delete_bulk_poll' ) );
19
add_action( 'wp_ajax_clone_single_yop_poll', array( &$this, 'clone_single_poll' ) );
20
add_action( 'wp_ajax_clone_bulk_yop_poll', array( &$this, 'clone_bulk_poll' ) );
21
+ add_action( 'wp_ajax_reset_bulk_yop_poll', array( &$this, 'reset_bulk_poll' ) );
22
add_action( 'wp_ajax_create_yop_poll_ban', array( &$this, 'create_ban' ) );
23
add_action( 'wp_ajax_delete_yop_poll_ban', array( &$this, 'delete_single_ban' ) );
24
add_action( 'wp_ajax_update_yop_poll_ban', array( &$this, 'update_ban' ) );
52
$maintenance = new YOP_POLL_Maintenance();
53
$maintenance->activate();
54
}
55
+ if ( true === version_compare( $installed_version, '6.0.0', '==' ) ) {
56
+ update_option( 'yop_poll_version', '6.0.1' );
57
+ }
58
}
59
}
60
+ public function upgrade_complete() {
61
+ }
62
public function is_user_logged_in() {
63
if ( true === is_user_logged_in() ) {
64
wp_send_json_success();
189
'jquery-ui-dialog',
190
'jquery-ui-datepicker' )
191
);
192
wp_localize_script( 'yop', 'objectL10n', array(
193
'yopPollParams' => array(
194
'appUrl' => YOP_POLL_URL,
205
'clonePollMessage' => esc_html__( 'Are you sure you want to clone this poll?', 'yop-poll' ),
206
'cloneBulkPollsSingleMessage' => esc_html__( 'Are you sure you want to clone this poll?', 'yop-poll' ),
207
'cloneBulkPollsMultiMessage' => esc_html__( 'Are you sure you want to clone these polls?', 'yop-poll' ),
208
+ 'resetPollMessage' => esc_html__( 'Are you sure you want to reset votes for this poll?', 'yop-poll' ),
209
+ 'resetBulkPollsSingleMessage' => esc_html__( 'Are you sure you want to reset votes for this poll?', 'yop-poll' ),
210
+ 'resetBulkPollsMultiMessage' => esc_html__( 'Are you sure you want to reset votes for these polls?', 'yop-poll' ),
211
'noBulkActionSelected' => esc_html__( 'No bulk action selected', 'yop-poll' ),
212
'noPollsSelectedForBulk' => esc_html__( 'No polls selected', 'yop-poll' ),
213
'noBansSelectedForBulk' => esc_html__( 'No bans selected', 'yop-poll' ),
609
wp_send_json_error( __( 'You are not allowed to perform this action', 'yop-poll' ) );
610
}
611
}
612
+ public function reset_bulk_poll() {
613
+ if ( check_ajax_referer( 'yop-poll-bulk-polls', '_token', false ) ) {
614
+ $polls = json_decode( wp_unslash( $_POST['polls'] ) );
615
+ $success = 0;
616
+ foreach ( $polls as $poll ) {
617
+ if ( current_user_can( 'yop_poll_add' ) ) {
618
+ $result = YOP_Poll_Polls::reset_poll( $poll );
619
+ if ( true === $result['success'] ) {
620
+ $success++;
621
+ } else {
622
+ $success--;
623
+ }
624
+ } else {
625
+ $success--;
626
+ }
627
+ }
628
+ if ( $success === intval( count( $polls ) ) ) {
629
+ wp_send_json_success( __( 'Votes successfully reset', 'yop-poll' ) );
630
+ } else {
631
+ wp_send_json_error( __( 'Error resetting votes', 'yop-poll' ) );
632
+ }
633
+ } else {
634
+ wp_send_json_error( __( 'You are not allowed to perform this action', 'yop-poll' ) );
635
+ }
636
+ }
637
public function display_results( $poll_id ) {
638
if ( current_user_can( 'yop_poll_results_own' ) ) {
639
$template = YOP_POLL_PATH . 'admin/views/viewresults.php';
admin/assets/css/admin.css CHANGED
@@ -1,4 +1,4 @@
1
- @import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);@import url(//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css);.border,.question:hover{outline:#EEE solid 1px}.bar-title,.premium,.yop-poll-hook h3 span,h2{text-transform:uppercase}.btn-underline,.upgrade-to-pro,.upgrade-to-pro:hover{text-decoration:none!important}.bootstrap-switch,.bootstrap-yop .btn{-moz-user-select:none;-ms-user-select:none}.bootstrap-yop b,.bootstrap-yop strong,.premium{font-weight:700}*,:hover{transition:border 1s,color 1s,outline 1s!important}h3{border-bottom:1px solid #eee}.yop-poll-hook h3 span{padding:.5em 10em .5em 1em;background:#AAA;color:#FFF;font-size:12px;position:relative;bottom:4px;border-top-left-radius:4px;border-top-right-radius:4px;min-width:200px}.tabs-container{background-color:#fff;padding:3em}.question{border-bottom:5px solid #EEE}.question .title-bar{overflow:hidden;padding:.5em 1em;border-bottom:1px solid transparent;cursor:move}.answer:hover>.title-bar,.question:hover>.title-bar{border-bottom:1px solid #EEE}.title-bar.collapsed .bar-title{color:#777}.question .bar-title{cursor:pointer!important}.title-bar .actions{display:none}.answer-text .form-inline .form-group,.answer:hover>.title-bar .actions,.question:hover>.title-bar .actions{display:inline}.bar-title{color:transparent}.answer:hover>.title-bar .bar-title,.question:hover>.title-bar .bar-title{color:#AAA}.answer{margin:1em 0 0;outline:transparent solid 1px}.answer:hover{outline:#EEE solid 1px}.answer-options{display:none}.premium-buttons,.regular-buttons{display:inline-block;overflow:hidden}.form-inline input.form-control.answer-value{width:92%}.content-inside{padding:1em}.hspace{padding:0 .5em}.oh{overflow:hidden}.set-as-default-inline{padding:.5em}.answers input.form-control,.question-text input.form-control{border:1px solid transparent!important;box-shadow:none!important}input.form-control:hover{border:1px solid #CCC!important}.btn-underline{border:none!important;border-bottom:2px solid #000!important}.btn-premium{background:#FFDB4B;border:1px solid #a9a9a9;color:#000}.btn-default{background:#FAFAFA;border:1px solid #CCC}.buttons-row i{font-size:2em}.premium-buttons{float:right;clear:right}.premium{float:left;display:inline;width:50px;color:#EDA033;font-size:12px;margin-right:0;text-align:center;margin-top:-7px}i.glyphicon.glyphicon-info-sign{color:#d3d3d3}i.glyphicon.glyphicon-info-sign:hover{color:orange}ul.main.nav{margin-top:1em}ul.main.nav li{width:33.333333%;text-align:center}ul.main.nav li a{padding:1em}.bootstrap-yop .carousel-inner>.item>a>img,.bootstrap-yop .carousel-inner>.item>img{margin:auto}.bootstrap-yop .carousel-caption{background:rgba(0,0,0,.45);border-radius:4px}.bootstrap-yop .carousel-caption h3{border-bottom:0;margin-top:50%}.minicolors-theme-bootstrap .minicolors-swatch{cursor:pointer}.select2-container .select2-selection--single{border:1px solid #CCC}.bootstrap-yop a:focus{box-shadow:none;-webkit-box-shadow:none}.tablenav-pages-navspan{height:inherit!important}.panel-heading a:after{font-family:'Glyphicons Halflings';content:"\e114";float:right;color:grey}.panel-heading a.collapsed:after{content:"\e080"}.subactions-links{padding:20px;font-size:14px}.bootstrap-yop .carousel-control.left,.bootstrap-yop .carousel-control.right{background-image:none!important}.bootstrap-yop .carousel-control{z-index:99}.bootstrap-yop .carousel-indicators li{background-color:#fff}.color-scheme li{position:relative;float:left;width:16px;height:16px;margin:2px 1px 0 0;background:#000;cursor:pointer;filter:alpha(opacity=50);opacity:.5;-webkit-transition:opacity .2s;-moz-transition:opacity .2s;-ms-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s}.color-scheme li.red{background:#d54e21}.color-scheme li.green{background:#78a300}.color-scheme li.blue{background:#0e76a8}.color-scheme li.aero{background:#9cc2cb}.color-scheme li.grey{background:#73716e}.color-scheme li.orange{background:#f70}.color-scheme li.yellow{background:#fc0}.color-scheme li.pink{background:#ff66b5}.color-scheme li.purple{background:#6a5a8c}.color-scheme li.active{height:20px;margin-top:0;filter:alpha(opacity=75);opacity:.75}.color-scheme li:hover{filter:alpha(opacity=100);opacity:1}.bootstrap-yop .carousel-indicators{bottom:-40%!important}.bootstrap-yop .carousel-indicators .active{border-color:#000;background-color:#000!important}.bootstrap-yop .carousel-indicators li{border:1px solid #000!important}.bootstrap-yop .carousel-inner{display:contents}@media screen and (min-width:768px){.bootstrap-yop .carousel-caption{background:0 0;color:#000!important;text-shadow:none!important;left:50%!important;transform:translateX(-50%);bottom:-40%!important}#yopPollUpgradeModal .modal-dialog{width:800px!important}}#publish{margin-top:12%}@media screen and (max-width:767px){#publish{margin-top:30%}.bootstrap-yop .carousel-caption,.bootstrap-yop .carousel-indicators{bottom:-65%!important}}.bootstrap-dialog .modal-header{border-top-left-radius:4px;border-top-right-radius:4px}.bootstrap-dialog .bootstrap-dialog-title{color:#fff;display:inline-block;font-size:16px}.bootstrap-dialog .bootstrap-dialog-message{font-size:14px}.bootstrap-dialog .bootstrap-dialog-button-icon{margin-right:3px}.bootstrap-dialog .bootstrap-dialog-close-button{font-size:20px;float:right;opacity:.9;filter:alpha(opacity=90)}.bootstrap-dialog .bootstrap-dialog-close-button:hover{cursor:pointer;opacity:1;filter:alpha(opacity=100)}.bootstrap-dialog.type-default .modal-header{background-color:#fff}.bootstrap-dialog.type-default .bootstrap-dialog-title{color:#333}.bootstrap-dialog.type-info .modal-header{background-color:#5bc0de}.bootstrap-dialog.type-primary .modal-header{background-color:#337ab7}.bootstrap-dialog.type-success .modal-header{background-color:#5cb85c}.bootstrap-dialog.type-warning .modal-header{background-color:#f0ad4e}.bootstrap-dialog.type-danger .modal-header{background-color:#d9534f}.bootstrap-dialog.size-large .bootstrap-dialog-title{font-size:24px}.bootstrap-dialog.size-large .bootstrap-dialog-close-button{font-size:30px}.bootstrap-dialog.size-large .bootstrap-dialog-message{font-size:18px}.bootstrap-dialog .icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0)}100%{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}.bootstrap-switch{display:inline-block;direction:ltr;cursor:pointer;border-radius:4px;border:1px solid;border-color:#ccc;position:relative;text-align:left;overflow:hidden;line-height:8px;z-index:0;-webkit-user-select:none;user-select:none;vertical-align:middle;-webkit-transition:border-color ease-in-out .15s,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}.ui-datepicker-rtl,.ui-timepicker-rtl{direction:rtl}.bootstrap-switch .bootstrap-switch-container{display:inline-block;top:0;border-radius:4px;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.bootstrap-switch .bootstrap-switch-handle-off,.bootstrap-switch .bootstrap-switch-handle-on,.bootstrap-switch .bootstrap-switch-label{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block!important;height:100%;padding:6px 12px;font-size:14px;line-height:20px}.bootstrap-switch .bootstrap-switch-handle-off,.bootstrap-switch .bootstrap-switch-handle-on{text-align:center;z-index:1}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary{color:#fff;background:#337ab7}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info{color:#fff;background:#5bc0de}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success{color:#fff;background:#5cb85c}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning{background:#f0ad4e;color:#fff}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger{color:#fff;background:#d9534f}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default{color:#000;background:#eee}.bootstrap-switch .bootstrap-switch-label{text-align:center;margin-top:-1px;margin-bottom:-1px;z-index:100;color:#333;background:#fff}.bootstrap-switch .bootstrap-switch-handle-on{border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-switch .bootstrap-switch-handle-off{border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch input[type=radio],.bootstrap-switch input[type=checkbox]{position:absolute!important;top:0;left:0;margin:0;z-index:-1;opacity:0;filter:alpha(opacity=0)}.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label{padding:1px 5px;font-size:12px;line-height:1.5}.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label{padding:5px 10px;font-size:12px;line-height:1.5}.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label{padding:6px 16px;font-size:18px;line-height:1.3333333}.bootstrap-switch.bootstrap-switch-disabled,.bootstrap-switch.bootstrap-switch-indeterminate,.bootstrap-switch.bootstrap-switch-readonly{cursor:default!important}.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label{opacity:.5;filter:alpha(opacity=50);cursor:default!important}.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container{-webkit-transition:margin-left .5s;-o-transition:margin-left .5s;transition:margin-left .5s}.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-on{border-bottom-left-radius:0;border-top-left-radius:0;border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-off{border-bottom-right-radius:0;border-top-right-radius:0;border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-switch.bootstrap-switch-focused{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)}.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label{border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label{border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-yop{/*!
2
* Bootstrap v3.0.3 (http://getbootstrap.com)
3
* Copyright 2013 Twitter, Inc.
4
* Licensed under http://www.apache.org/licenses/LICENSE-2.0
@@ -8,7 +8,7 @@
8
* Bootstrap v3.0.3 (http://getbootstrap.com)
9
* Copyright 2013 Twitter, Inc.
10
* Licensed under http://www.apache.org/licenses/LICENSE-2.0
11
- */}.bootstrap-yop article,.bootstrap-yop aside,.bootstrap-yop details,.bootstrap-yop figcaption,.bootstrap-yop figure,.bootstrap-yop footer,.bootstrap-yop header,.bootstrap-yop hgroup,.bootstrap-yop main,.bootstrap-yop nav,.bootstrap-yop section,.bootstrap-yop summary{display:block}.bootstrap-yop audio,.bootstrap-yop canvas,.bootstrap-yop video{display:inline-block}.bootstrap-yop audio:not([controls]){display:none;height:0}.bootstrap-yop [hidden],.bootstrap-yop template{display:none}.bootstrap-yop html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;margin:0}.bootstrap-yop a{background:0 0}.bootstrap-yop a:active,.bootstrap-yop a:hover{outline:0}.bootstrap-yop h1{margin:.67em 0}.bootstrap-yop dfn{font-style:italic}.bootstrap-yop hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}.bootstrap-yop mark{color:#000;background:#ff0}.bootstrap-yop code,.bootstrap-yop kbd,.bootstrap-yop pre,.bootstrap-yop samp{font-size:1em}.bootstrap-yop pre{white-space:pre-wrap}.bootstrap-yop q{quotes:"\201C" "\201D" "\2018" "\2019"}.bootstrap-yop sub,.bootstrap-yop sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}.bootstrap-yop sup{top:-.5em}.bootstrap-yop sub{bottom:-.25em}.bootstrap-yop img{border:0}.bootstrap-yop svg:not(:root){overflow:hidden}.bootstrap-yop figure{margin:0}.bootstrap-yop button,.bootstrap-yop select{text-transform:none}.bootstrap-yop button,.bootstrap-yop html input[type=button],.bootstrap-yop input[type=reset],.bootstrap-yop input[type=submit]{cursor:pointer;-webkit-appearance:button}.bootstrap-yop button[disabled],.bootstrap-yop html input[disabled]{cursor:default}.bootstrap-yop input[type=checkbox],.bootstrap-yop input[type=radio]{padding:0;box-sizing:border-box}.bootstrap-yop input[type=search]{-webkit-appearance:textfield}.bootstrap-yop input[type=search]::-webkit-search-cancel-button,.bootstrap-yop input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.bootstrap-yop button::-moz-focus-inner,.bootstrap-yop input::-moz-focus-inner{padding:0;border:0}.bootstrap-yop textarea{overflow:auto;vertical-align:top}.bootstrap-yop table{border-collapse:collapse;border-spacing:0}@media print{.bootstrap-yop *{color:#000!important;text-shadow:none!important;background:0 0!important;box-shadow:none!important}.bootstrap-yop a,.bootstrap-yop a:visited{text-decoration:underline}.bootstrap-yop a[href]:after{content:" (" attr(href) ")"}.bootstrap-yop abbr[title]:after{content:" (" attr(title) ")"}.bootstrap-yop a[href^="javascript:"]:after,.bootstrap-yop a[href^="#"]:after{content:""}.bootstrap-yop blockquote,.bootstrap-yop pre{border:1px solid #999;page-break-inside:avoid}.bootstrap-yop thead{display:table-header-group}.bootstrap-yop img,.bootstrap-yop tr{page-break-inside:avoid}.bootstrap-yop img{max-width:100%!important}@page{margin:2cm .5cm}.bootstrap-yop h2,.bootstrap-yop h3,.bootstrap-yop p{orphans:3;widows:3}.bootstrap-yop h2,.bootstrap-yop h3{page-break-after:avoid}.bootstrap-yop select{background:#fff!important}.bootstrap-yop .navbar{display:none}.bootstrap-yop .table td,.bootstrap-yop .table th{background-color:#fff!important}.bootstrap-yop .btn>.caret,.bootstrap-yop .dropup>.btn>.caret{border-top-color:#000!important}.bootstrap-yop .label{border:1px solid #000}.bootstrap-yop .table{border-collapse:collapse!important}.bootstrap-yop .table-bordered td,.bootstrap-yop .table-bordered th{border:1px solid #ddd!important}}.bootstrap-yop .btn,.bootstrap-yop .btn-danger.active,.bootstrap-yop .btn-danger:active,.bootstrap-yop .btn-default.active,.bootstrap-yop .btn-default:active,.bootstrap-yop .btn-info.active,.bootstrap-yop .btn-info:active,.bootstrap-yop .btn-primary.active,.bootstrap-yop .btn-primary:active,.bootstrap-yop .btn-success.active,.bootstrap-yop .btn-success:active,.bootstrap-yop .dropdown-menu>.disabled>a:focus,.bootstrap-yop .dropdown-menu>.disabled>a:hover,.bootstrap-yop .form-control,.bootstrap-yop .navbar-toggle,.bootstrap-yop .open .dropdown-toggle.btn-danger,.bootstrap-yop .open .dropdown-toggle.btn-default,.bootstrap-yop .open .dropdown-toggle.btn-info,.bootstrap-yop .open .dropdown-toggle.btn-primary,.bootstrap-yop .open .dropdown-toggle.btn-success{background-image:none}.bootstrap-yop *,.bootstrap-yop :after,.bootstrap-yop :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-yop html{font-size:62.5%;-webkit-tap-highlight-color:transparent}.bootstrap-yop body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}.bootstrap-yop button,.bootstrap-yop input,.bootstrap-yop select,.bootstrap-yop textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}.bootstrap-yop a{color:#428bca;text-decoration:none}.bootstrap-yop a:focus,.bootstrap-yop a:hover{color:#2a6496;text-decoration:underline}.bootstrap-yop a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.bootstrap-yop img{vertical-align:middle}.bootstrap-yop .img-responsive{display:block;height:auto;max-width:100%}.bootstrap-yop .img-rounded{border-radius:6px}.bootstrap-yop .img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.bootstrap-yop .img-circle{border-radius:50%}.bootstrap-yop hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.bootstrap-yop .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.bootstrap-yop .h1,.bootstrap-yop .h2,.bootstrap-yop .h3,.bootstrap-yop .h4,.bootstrap-yop .h5,.bootstrap-yop .h6,.bootstrap-yop h1,.bootstrap-yop h2,.bootstrap-yop h3,.bootstrap-yop h4,.bootstrap-yop h5,.bootstrap-yop h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}.bootstrap-yop .h1 .small,.bootstrap-yop .h1 small,.bootstrap-yop .h2 .small,.bootstrap-yop .h2 small,.bootstrap-yop .h3 .small,.bootstrap-yop .h3 small,.bootstrap-yop .h4 .small,.bootstrap-yop .h4 small,.bootstrap-yop .h5 .small,.bootstrap-yop .h5 small,.bootstrap-yop .h6 .small,.bootstrap-yop .h6 small,.bootstrap-yop h1 .small,.bootstrap-yop h1 small,.bootstrap-yop h2 .small,.bootstrap-yop h2 small,.bootstrap-yop h3 .small,.bootstrap-yop h3 small,.bootstrap-yop h4 .small,.bootstrap-yop h4 small,.bootstrap-yop h5 .small,.bootstrap-yop h5 small,.bootstrap-yop h6 .small,.bootstrap-yop h6 small{font-weight:400;line-height:1;color:#999}.bootstrap-yop h1,.bootstrap-yop h2,.bootstrap-yop h3{margin-top:20px;margin-bottom:10px}.bootstrap-yop h1 .small,.bootstrap-yop h1 small,.bootstrap-yop h2 .small,.bootstrap-yop h2 small,.bootstrap-yop h3 .small,.bootstrap-yop h3 small{font-size:65%}.bootstrap-yop h4,.bootstrap-yop h5,.bootstrap-yop h6{margin-top:10px;margin-bottom:10px}.bootstrap-yop h4 .small,.bootstrap-yop h4 small,.bootstrap-yop h5 .small,.bootstrap-yop h5 small,.bootstrap-yop h6 .small,.bootstrap-yop h6 small{font-size:75%}.bootstrap-yop .h1,.bootstrap-yop h1{font-size:36px}.bootstrap-yop .h2,.bootstrap-yop h2{font-size:30px}.bootstrap-yop .h3,.bootstrap-yop h3{font-size:24px}.bootstrap-yop .h4,.bootstrap-yop h4{font-size:18px}.bootstrap-yop .h5,.bootstrap-yop h5{font-size:14px}.bootstrap-yop .h6,.bootstrap-yop h6{font-size:12px}.bootstrap-yop p{margin:0 0 10px}.bootstrap-yop .lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.bootstrap-yop .lead{font-size:21px}}.bootstrap-yop .small,.bootstrap-yop small{font-size:85%}.bootstrap-yop cite{font-style:normal}.bootstrap-yop .text-muted{color:#999}.bootstrap-yop .text-primary{color:#428bca}.bootstrap-yop .text-primary:hover{color:#3071a9}.bootstrap-yop .text-warning{color:#8a6d3b}.bootstrap-yop .text-warning:hover{color:#66512c}.bootstrap-yop .text-danger{color:#a94442}.bootstrap-yop .text-danger:hover{color:#843534}.bootstrap-yop .text-success{color:#3c763d}.bootstrap-yop .text-success:hover{color:#2b542c}.bootstrap-yop .text-info{color:#31708f}.bootstrap-yop .text-info:hover{color:#245269}.bootstrap-yop .text-left{text-align:left}.bootstrap-yop .text-right{text-align:right}.bootstrap-yop .text-center{text-align:center}.bootstrap-yop .page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}.bootstrap-yop ol,.bootstrap-yop ul{margin-top:0;margin-bottom:10px}.bootstrap-yop ol ol,.bootstrap-yop ol ul,.bootstrap-yop ul ol,.bootstrap-yop ul ul{margin-bottom:0}.bootstrap-yop .list-inline,.bootstrap-yop .list-unstyled{padding-left:0;list-style:none}.bootstrap-yop .list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.bootstrap-yop .list-inline>li:first-child{padding-left:0}.bootstrap-yop dl{margin-top:0;margin-bottom:20px}.bootstrap-yop dd,.bootstrap-yop dt{line-height:1.428571429}.bootstrap-yop dt{font-weight:700}.bootstrap-yop dd{margin-left:0}@media (min-width:768px){.bootstrap-yop .dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.bootstrap-yop .dl-horizontal dd{margin-left:180px}.bootstrap-yop .dl-horizontal dd:after,.bootstrap-yop .dl-horizontal dd:before{display:table;content:" "}.bootstrap-yop .dl-horizontal dd:after{clear:both}.bootstrap-yop .container{width:750px}}.bootstrap-yop .btn-group-vertical>.btn-group:after,.bootstrap-yop .btn-toolbar:after,.bootstrap-yop .clearfix:after,.bootstrap-yop .container:after,.bootstrap-yop .dropdown-menu>li>a,.bootstrap-yop .form-horizontal .form-group:after,.bootstrap-yop .modal-footer:after,.bootstrap-yop .nav:after,.bootstrap-yop .navbar-collapse:after,.bootstrap-yop .navbar-header:after,.bootstrap-yop .pager:after,.bootstrap-yop .panel-body:after,.bootstrap-yop .row:after,.slides:after{clear:both}.bootstrap-yop abbr[data-original-title],.bootstrap-yop abbr[title]{cursor:help;border-bottom:1px dotted #999}.bootstrap-yop .initialism{font-size:90%;text-transform:uppercase}.bootstrap-yop blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}.bootstrap-yop blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}.bootstrap-yop blockquote p:last-child{margin-bottom:0}.bootstrap-yop blockquote .small,.bootstrap-yop blockquote small{display:block;line-height:1.428571429;color:#999}.bootstrap-yop blockquote .small:before,.bootstrap-yop blockquote small:before{content:'\2014 \00A0'}.bootstrap-yop blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}.bootstrap-yop blockquote.pull-right .small,.bootstrap-yop blockquote.pull-right p,.bootstrap-yop blockquote.pull-right small{text-align:right}.bootstrap-yop blockquote.pull-right .small:before,.bootstrap-yop blockquote.pull-right small:before{content:''}.bootstrap-yop blockquote.pull-right .small:after,.bootstrap-yop blockquote.pull-right small:after{content:'\00A0 \2014'}.bootstrap-yop blockquote:after,.bootstrap-yop blockquote:before{content:""}.bootstrap-yop address{margin-bottom:20px;font-style:normal;line-height:1.428571429}.bootstrap-yop code,.bootstrap-yop kbd,.bootstrap-yop pre,.bootstrap-yop samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.bootstrap-yop code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}.bootstrap-yop pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}.bootstrap-yop .container:after,.bootstrap-yop .container:before,.bootstrap-yop .row:after,.bootstrap-yop .row:before{display:table;content:" "}.bootstrap-yop pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.bootstrap-yop .pre-scrollable{max-height:340px;overflow-y:scroll}.bootstrap-yop .container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:992px){.bootstrap-yop .container{width:970px}}@media (min-width:1200px){.bootstrap-yop .container{width:1170px}}.bootstrap-yop .row{margin-right:-15px;margin-left:-15px}.bootstrap-yop .col-lg-1,.bootstrap-yop .col-lg-10,.bootstrap-yop .col-lg-11,.bootstrap-yop .col-lg-12,.bootstrap-yop .col-lg-2,.bootstrap-yop .col-lg-3,.bootstrap-yop .col-lg-4,.bootstrap-yop .col-lg-5,.bootstrap-yop .col-lg-6,.bootstrap-yop .col-lg-7,.bootstrap-yop .col-lg-8,.bootstrap-yop .col-lg-9,.bootstrap-yop .col-md-1,.bootstrap-yop .col-md-10,.bootstrap-yop .col-md-11,.bootstrap-yop .col-md-12,.bootstrap-yop .col-md-2,.bootstrap-yop .col-md-3,.bootstrap-yop .col-md-4,.bootstrap-yop .col-md-5,.bootstrap-yop .col-md-6,.bootstrap-yop .col-md-7,.bootstrap-yop .col-md-8,.bootstrap-yop .col-md-9,.bootstrap-yop .col-sm-1,.bootstrap-yop .col-sm-10,.bootstrap-yop .col-sm-11,.bootstrap-yop .col-sm-12,.bootstrap-yop .col-sm-2,.bootstrap-yop .col-sm-3,.bootstrap-yop .col-sm-4,.bootstrap-yop .col-sm-5,.bootstrap-yop .col-sm-6,.bootstrap-yop .col-sm-7,.bootstrap-yop .col-sm-8,.bootstrap-yop .col-sm-9,.bootstrap-yop .col-xs-1,.bootstrap-yop .col-xs-10,.bootstrap-yop .col-xs-11,.bootstrap-yop .col-xs-12,.bootstrap-yop .col-xs-2,.bootstrap-yop .col-xs-3,.bootstrap-yop .col-xs-4,.bootstrap-yop .col-xs-5,.bootstrap-yop .col-xs-6,.bootstrap-yop .col-xs-7,.bootstrap-yop .col-xs-8,.bootstrap-yop .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.bootstrap-yop .col-xs-1,.bootstrap-yop .col-xs-10,.bootstrap-yop .col-xs-11,.bootstrap-yop .col-xs-12,.bootstrap-yop .col-xs-2,.bootstrap-yop .col-xs-3,.bootstrap-yop .col-xs-4,.bootstrap-yop .col-xs-5,.bootstrap-yop .col-xs-6,.bootstrap-yop .col-xs-7,.bootstrap-yop .col-xs-8,.bootstrap-yop .col-xs-9{float:left}.bootstrap-yop .col-xs-12{width:100%}.bootstrap-yop .col-xs-11{width:91.66666666666666%}.bootstrap-yop .col-xs-10{width:83.33333333333334%}.bootstrap-yop .col-xs-9{width:75%}.bootstrap-yop .col-xs-8{width:66.66666666666666%}.bootstrap-yop .col-xs-7{width:58.333333333333336%}.bootstrap-yop .col-xs-6{width:50%}.bootstrap-yop .col-xs-5{width:41.66666666666667%}.bootstrap-yop .col-xs-4{width:33.33333333333333%}.bootstrap-yop .col-xs-3{width:25%}.bootstrap-yop .col-xs-2{width:16.666666666666664%}.bootstrap-yop .col-xs-1{width:8.333333333333332%}.bootstrap-yop .col-xs-pull-12{right:100%}.bootstrap-yop .col-xs-pull-11{right:91.66666666666666%}.bootstrap-yop .col-xs-pull-10{right:83.33333333333334%}.bootstrap-yop .col-xs-pull-9{right:75%}.bootstrap-yop .col-xs-pull-8{right:66.66666666666666%}.bootstrap-yop .col-xs-pull-7{right:58.333333333333336%}.bootstrap-yop .col-xs-pull-6{right:50%}.bootstrap-yop .col-xs-pull-5{right:41.66666666666667%}.bootstrap-yop .col-xs-pull-4{right:33.33333333333333%}.bootstrap-yop .col-xs-pull-3{right:25%}.bootstrap-yop .col-xs-pull-2{right:16.666666666666664%}.bootstrap-yop .col-xs-pull-1{right:8.333333333333332%}.bootstrap-yop .col-xs-pull-0{right:0}.bootstrap-yop .col-xs-push-12{left:100%}.bootstrap-yop .col-xs-push-11{left:91.66666666666666%}.bootstrap-yop .col-xs-push-10{left:83.33333333333334%}.bootstrap-yop .col-xs-push-9{left:75%}.bootstrap-yop .col-xs-push-8{left:66.66666666666666%}.bootstrap-yop .col-xs-push-7{left:58.333333333333336%}.bootstrap-yop .col-xs-push-6{left:50%}.bootstrap-yop .col-xs-push-5{left:41.66666666666667%}.bootstrap-yop .col-xs-push-4{left:33.33333333333333%}.bootstrap-yop .col-xs-push-3{left:25%}.bootstrap-yop .col-xs-push-2{left:16.666666666666664%}.bootstrap-yop .col-xs-push-1{left:8.333333333333332%}.bootstrap-yop .col-xs-push-0{left:0}.bootstrap-yop .col-xs-offset-12{margin-left:100%}.bootstrap-yop .col-xs-offset-11{margin-left:91.66666666666666%}.bootstrap-yop .col-xs-offset-10{margin-left:83.33333333333334%}.bootstrap-yop .col-xs-offset-9{margin-left:75%}.bootstrap-yop .col-xs-offset-8{margin-left:66.66666666666666%}.bootstrap-yop .col-xs-offset-7{margin-left:58.333333333333336%}.bootstrap-yop .col-xs-offset-6{margin-left:50%}.bootstrap-yop .col-xs-offset-5{margin-left:41.66666666666667%}.bootstrap-yop .col-xs-offset-4{margin-left:33.33333333333333%}.bootstrap-yop .col-xs-offset-3{margin-left:25%}.bootstrap-yop .col-xs-offset-2{margin-left:16.666666666666664%}.bootstrap-yop .col-xs-offset-1{margin-left:8.333333333333332%}.bootstrap-yop .col-xs-offset-0{margin-left:0}@media (min-width:768px){.bootstrap-yop .col-sm-1,.bootstrap-yop .col-sm-10,.bootstrap-yop .col-sm-11,.bootstrap-yop .col-sm-12,.bootstrap-yop .col-sm-2,.bootstrap-yop .col-sm-3,.bootstrap-yop .col-sm-4,.bootstrap-yop .col-sm-5,.bootstrap-yop .col-sm-6,.bootstrap-yop .col-sm-7,.bootstrap-yop .col-sm-8,.bootstrap-yop .col-sm-9{float:left}.bootstrap-yop .col-sm-12{width:100%}.bootstrap-yop .col-sm-11{width:91.66666666666666%}.bootstrap-yop .col-sm-10{width:83.33333333333334%}.bootstrap-yop .col-sm-9{width:75%}.bootstrap-yop .col-sm-8{width:66.66666666666666%}.bootstrap-yop .col-sm-7{width:58.333333333333336%}.bootstrap-yop .col-sm-6{width:50%}.bootstrap-yop .col-sm-5{width:41.66666666666667%}.bootstrap-yop .col-sm-4{width:33.33333333333333%}.bootstrap-yop .col-sm-3{width:25%}.bootstrap-yop .col-sm-2{width:16.666666666666664%}.bootstrap-yop .col-sm-1{width:8.333333333333332%}.bootstrap-yop .col-sm-pull-12{right:100%}.bootstrap-yop .col-sm-pull-11{right:91.66666666666666%}.bootstrap-yop .col-sm-pull-10{right:83.33333333333334%}.bootstrap-yop .col-sm-pull-9{right:75%}.bootstrap-yop .col-sm-pull-8{right:66.66666666666666%}.bootstrap-yop .col-sm-pull-7{right:58.333333333333336%}.bootstrap-yop .col-sm-pull-6{right:50%}.bootstrap-yop .col-sm-pull-5{right:41.66666666666667%}.bootstrap-yop .col-sm-pull-4{right:33.33333333333333%}.bootstrap-yop .col-sm-pull-3{right:25%}.bootstrap-yop .col-sm-pull-2{right:16.666666666666664%}.bootstrap-yop .col-sm-pull-1{right:8.333333333333332%}.bootstrap-yop .col-sm-pull-0{right:0}.bootstrap-yop .col-sm-push-12{left:100%}.bootstrap-yop .col-sm-push-11{left:91.66666666666666%}.bootstrap-yop .col-sm-push-10{left:83.33333333333334%}.bootstrap-yop .col-sm-push-9{left:75%}.bootstrap-yop .col-sm-push-8{left:66.66666666666666%}.bootstrap-yop .col-sm-push-7{left:58.333333333333336%}.bootstrap-yop .col-sm-push-6{left:50%}.bootstrap-yop .col-sm-push-5{left:41.66666666666667%}.bootstrap-yop .col-sm-push-4{left:33.33333333333333%}.bootstrap-yop .col-sm-push-3{left:25%}.bootstrap-yop .col-sm-push-2{left:16.666666666666664%}.bootstrap-yop .col-sm-push-1{left:8.333333333333332%}.bootstrap-yop .col-sm-push-0{left:0}.bootstrap-yop .col-sm-offset-12{margin-left:100%}.bootstrap-yop .col-sm-offset-11{margin-left:91.66666666666666%}.bootstrap-yop .col-sm-offset-10{margin-left:83.33333333333334%}.bootstrap-yop .col-sm-offset-9{margin-left:75%}.bootstrap-yop .col-sm-offset-8{margin-left:66.66666666666666%}.bootstrap-yop .col-sm-offset-7{margin-left:58.333333333333336%}.bootstrap-yop .col-sm-offset-6{margin-left:50%}.bootstrap-yop .col-sm-offset-5{margin-left:41.66666666666667%}.bootstrap-yop .col-sm-offset-4{margin-left:33.33333333333333%}.bootstrap-yop .col-sm-offset-3{margin-left:25%}.bootstrap-yop .col-sm-offset-2{margin-left:16.666666666666664%}.bootstrap-yop .col-sm-offset-1{margin-left:8.333333333333332%}.bootstrap-yop .col-sm-offset-0{margin-left:0}}@media (min-width:992px){.bootstrap-yop .col-md-1,.bootstrap-yop .col-md-10,.bootstrap-yop .col-md-11,.bootstrap-yop .col-md-12,.bootstrap-yop .col-md-2,.bootstrap-yop .col-md-3,.bootstrap-yop .col-md-4,.bootstrap-yop .col-md-5,.bootstrap-yop .col-md-6,.bootstrap-yop .col-md-7,.bootstrap-yop .col-md-8,.bootstrap-yop .col-md-9{float:left}.bootstrap-yop .col-md-12{width:100%}.bootstrap-yop .col-md-11{width:91.66666666666666%}.bootstrap-yop .col-md-10{width:83.33333333333334%}.bootstrap-yop .col-md-9{width:75%}.bootstrap-yop .col-md-8{width:66.66666666666666%}.bootstrap-yop .col-md-7{width:58.333333333333336%}.bootstrap-yop .col-md-6{width:50%}.bootstrap-yop .col-md-5{width:41.66666666666667%}.bootstrap-yop .col-md-4{width:33.33333333333333%}.bootstrap-yop .col-md-3{width:25%}.bootstrap-yop .col-md-2{width:16.666666666666664%}.bootstrap-yop .col-md-1{width:8.333333333333332%}.bootstrap-yop .col-md-pull-12{right:100%}.bootstrap-yop .col-md-pull-11{right:91.66666666666666%}.bootstrap-yop .col-md-pull-10{right:83.33333333333334%}.bootstrap-yop .col-md-pull-9{right:75%}.bootstrap-yop .col-md-pull-8{right:66.66666666666666%}.bootstrap-yop .col-md-pull-7{right:58.333333333333336%}.bootstrap-yop .col-md-pull-6{right:50%}.bootstrap-yop .col-md-pull-5{right:41.66666666666667%}.bootstrap-yop .col-md-pull-4{right:33.33333333333333%}.bootstrap-yop .col-md-pull-3{right:25%}.bootstrap-yop .col-md-pull-2{right:16.666666666666664%}.bootstrap-yop .col-md-pull-1{right:8.333333333333332%}.bootstrap-yop .col-md-pull-0{right:0}.bootstrap-yop .col-md-push-12{left:100%}.bootstrap-yop .col-md-push-11{left:91.66666666666666%}.bootstrap-yop .col-md-push-10{left:83.33333333333334%}.bootstrap-yop .col-md-push-9{left:75%}.bootstrap-yop .col-md-push-8{left:66.66666666666666%}.bootstrap-yop .col-md-push-7{left:58.333333333333336%}.bootstrap-yop .col-md-push-6{left:50%}.bootstrap-yop .col-md-push-5{left:41.66666666666667%}.bootstrap-yop .col-md-push-4{left:33.33333333333333%}.bootstrap-yop .col-md-push-3{left:25%}.bootstrap-yop .col-md-push-2{left:16.666666666666664%}.bootstrap-yop .col-md-push-1{left:8.333333333333332%}.bootstrap-yop .col-md-push-0{left:0}.bootstrap-yop .col-md-offset-12{margin-left:100%}.bootstrap-yop .col-md-offset-11{margin-left:91.66666666666666%}.bootstrap-yop .col-md-offset-10{margin-left:83.33333333333334%}.bootstrap-yop .col-md-offset-9{margin-left:75%}.bootstrap-yop .col-md-offset-8{margin-left:66.66666666666666%}.bootstrap-yop .col-md-offset-7{margin-left:58.333333333333336%}.bootstrap-yop .col-md-offset-6{margin-left:50%}.bootstrap-yop .col-md-offset-5{margin-left:41.66666666666667%}.bootstrap-yop .col-md-offset-4{margin-left:33.33333333333333%}.bootstrap-yop .col-md-offset-3{margin-left:25%}.bootstrap-yop .col-md-offset-2{margin-left:16.666666666666664%}.bootstrap-yop .col-md-offset-1{margin-left:8.333333333333332%}.bootstrap-yop .col-md-offset-0{margin-left:0}}@media (min-width:1200px){.bootstrap-yop .col-lg-1,.bootstrap-yop .col-lg-10,.bootstrap-yop .col-lg-11,.bootstrap-yop .col-lg-12,.bootstrap-yop .col-lg-2,.bootstrap-yop .col-lg-3,.bootstrap-yop .col-lg-4,.bootstrap-yop .col-lg-5,.bootstrap-yop .col-lg-6,.bootstrap-yop .col-lg-7,.bootstrap-yop .col-lg-8,.bootstrap-yop .col-lg-9{float:left}.bootstrap-yop .col-lg-12{width:100%}.bootstrap-yop .col-lg-11{width:91.66666666666666%}.bootstrap-yop .col-lg-10{width:83.33333333333334%}.bootstrap-yop .col-lg-9{width:75%}.bootstrap-yop .col-lg-8{width:66.66666666666666%}.bootstrap-yop .col-lg-7{width:58.333333333333336%}.bootstrap-yop .col-lg-6{width:50%}.bootstrap-yop .col-lg-5{width:41.66666666666667%}.bootstrap-yop .col-lg-4{width:33.33333333333333%}.bootstrap-yop .col-lg-3{width:25%}.bootstrap-yop .col-lg-2{width:16.666666666666664%}.bootstrap-yop .col-lg-1{width:8.333333333333332%}.bootstrap-yop .col-lg-pull-12{right:100%}.bootstrap-yop .col-lg-pull-11{right:91.66666666666666%}.bootstrap-yop .col-lg-pull-10{right:83.33333333333334%}.bootstrap-yop .col-lg-pull-9{right:75%}.bootstrap-yop .col-lg-pull-8{right:66.66666666666666%}.bootstrap-yop .col-lg-pull-7{right:58.333333333333336%}.bootstrap-yop .col-lg-pull-6{right:50%}.bootstrap-yop .col-lg-pull-5{right:41.66666666666667%}.bootstrap-yop .col-lg-pull-4{right:33.33333333333333%}.bootstrap-yop .col-lg-pull-3{right:25%}.bootstrap-yop .col-lg-pull-2{right:16.666666666666664%}.bootstrap-yop .col-lg-pull-1{right:8.333333333333332%}.bootstrap-yop .col-lg-pull-0{right:0}.bootstrap-yop .col-lg-push-12{left:100%}.bootstrap-yop .col-lg-push-11{left:91.66666666666666%}.bootstrap-yop .col-lg-push-10{left:83.33333333333334%}.bootstrap-yop .col-lg-push-9{left:75%}.bootstrap-yop .col-lg-push-8{left:66.66666666666666%}.bootstrap-yop .col-lg-push-7{left:58.333333333333336%}.bootstrap-yop .col-lg-push-6{left:50%}.bootstrap-yop .col-lg-push-5{left:41.66666666666667%}.bootstrap-yop .col-lg-push-4{left:33.33333333333333%}.bootstrap-yop .col-lg-push-3{left:25%}.bootstrap-yop .col-lg-push-2{left:16.666666666666664%}.bootstrap-yop .col-lg-push-1{left:8.333333333333332%}.bootstrap-yop .col-lg-push-0{left:0}.bootstrap-yop .col-lg-offset-12{margin-left:100%}.bootstrap-yop .col-lg-offset-11{margin-left:91.66666666666666%}.bootstrap-yop .col-lg-offset-10{margin-left:83.33333333333334%}.bootstrap-yop .col-lg-offset-9{margin-left:75%}.bootstrap-yop .col-lg-offset-8{margin-left:66.66666666666666%}.bootstrap-yop .col-lg-offset-7{margin-left:58.333333333333336%}.bootstrap-yop .col-lg-offset-6{margin-left:50%}.bootstrap-yop .col-lg-offset-5{margin-left:41.66666666666667%}.bootstrap-yop .col-lg-offset-4{margin-left:33.33333333333333%}.bootstrap-yop .col-lg-offset-3{margin-left:25%}.bootstrap-yop .col-lg-offset-2{margin-left:16.666666666666664%}.bootstrap-yop .col-lg-offset-1{margin-left:8.333333333333332%}.bootstrap-yop .col-lg-offset-0{margin-left:0}}.bootstrap-yop table{max-width:100%;background-color:transparent}.bootstrap-yop th{text-align:left}.bootstrap-yop .table{width:100%;margin-bottom:20px}.bootstrap-yop .table>tbody>tr>td,.bootstrap-yop .table>tbody>tr>th,.bootstrap-yop .table>tfoot>tr>td,.bootstrap-yop .table>tfoot>tr>th,.bootstrap-yop .table>thead>tr>td,.bootstrap-yop .table>thead>tr>th{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.bootstrap-yop .table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.bootstrap-yop .table>caption+thead>tr:first-child>td,.bootstrap-yop .table>caption+thead>tr:first-child>th,.bootstrap-yop .table>colgroup+thead>tr:first-child>td,.bootstrap-yop .table>colgroup+thead>tr:first-child>th,.bootstrap-yop .table>thead:first-child>tr:first-child>td,.bootstrap-yop .table>thead:first-child>tr:first-child>th{border-top:0}.bootstrap-yop .table>tbody+tbody{border-top:2px solid #ddd}.bootstrap-yop .table .table{background-color:#fff}.bootstrap-yop .table-condensed>tbody>tr>td,.bootstrap-yop .table-condensed>tbody>tr>th,.bootstrap-yop .table-condensed>tfoot>tr>td,.bootstrap-yop .table-condensed>tfoot>tr>th,.bootstrap-yop .table-condensed>thead>tr>td,.bootstrap-yop .table-condensed>thead>tr>th{padding:5px}.bootstrap-yop .table-bordered,.bootstrap-yop .table-bordered>tbody>tr>td,.bootstrap-yop .table-bordered>tbody>tr>th,.bootstrap-yop .table-bordered>tfoot>tr>td,.bootstrap-yop .table-bordered>tfoot>tr>th,.bootstrap-yop .table-bordered>thead>tr>td,.bootstrap-yop .table-bordered>thead>tr>th{border:1px solid #ddd}.bootstrap-yop .table-bordered>thead>tr>td,.bootstrap-yop .table-bordered>thead>tr>th{border-bottom-width:2px}.bootstrap-yop .table-striped>tbody>tr:nth-child(odd)>td,.bootstrap-yop .table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.bootstrap-yop .table-hover>tbody>tr:hover>td,.bootstrap-yop .table-hover>tbody>tr:hover>th,.bootstrap-yop .table>tbody>.active>td,.bootstrap-yop .table>tbody>.active>th,.bootstrap-yop .table>tbody>tr>.active,.bootstrap-yop .table>tfoot>.active>td,.bootstrap-yop .table>tfoot>.active>th,.bootstrap-yop .table>tfoot>tr>.active,.bootstrap-yop .table>thead>.active>td,.bootstrap-yop .table>thead>.active>th,.bootstrap-yop .table>thead>tr>.active{background-color:#f5f5f5}.bootstrap-yop table col[class*=col-]{position:static;display:table-column;float:none}.bootstrap-yop table td[class*=col-],.bootstrap-yop table th[class*=col-]{display:table-cell;float:none}.bootstrap-yop .table-hover>tbody>.active:hover>td,.bootstrap-yop .table-hover>tbody>.active:hover>th,.bootstrap-yop .table-hover>tbody>tr>.active:hover{background-color:#e8e8e8}.bootstrap-yop .table>tbody>.success>td,.bootstrap-yop .table>tbody>.success>th,.bootstrap-yop .table>tbody>tr>.success,.bootstrap-yop .table>tfoot>.success>td,.bootstrap-yop .table>tfoot>.success>th,.bootstrap-yop .table>tfoot>tr>.success,.bootstrap-yop .table>thead>.success>td,.bootstrap-yop .table>thead>.success>th,.bootstrap-yop .table>thead>tr>.success{background-color:#dff0d8}.bootstrap-yop .table-hover>tbody>.success:hover>td,.bootstrap-yop .table-hover>tbody>.success:hover>th,.bootstrap-yop .table-hover>tbody>tr>.success:hover{background-color:#d0e9c6}.bootstrap-yop .table>tbody>.danger>td,.bootstrap-yop .table>tbody>.danger>th,.bootstrap-yop .table>tbody>tr>.danger,.bootstrap-yop .table>tfoot>.danger>td,.bootstrap-yop .table>tfoot>.danger>th,.bootstrap-yop .table>tfoot>tr>.danger,.bootstrap-yop .table>thead>.danger>td,.bootstrap-yop .table>thead>.danger>th,.bootstrap-yop .table>thead>tr>.danger{background-color:#f2dede}.bootstrap-yop .table-hover>tbody>.danger:hover>td,.bootstrap-yop .table-hover>tbody>.danger:hover>th,.bootstrap-yop .table-hover>tbody>tr>.danger:hover{background-color:#ebcccc}.bootstrap-yop .table>tbody>.warning>td,.bootstrap-yop .table>tbody>.warning>th,.bootstrap-yop .table>tbody>tr>.warning,.bootstrap-yop .table>tfoot>.warning>td,.bootstrap-yop .table>tfoot>.warning>th,.bootstrap-yop .table>tfoot>tr>.warning,.bootstrap-yop .table>thead>.warning>td,.bootstrap-yop .table>thead>.warning>th,.bootstrap-yop .table>thead>tr>.warning{background-color:#fcf8e3}.bootstrap-yop .table-hover>tbody>.warning:hover>td,.bootstrap-yop .table-hover>tbody>.warning:hover>th,.bootstrap-yop .table-hover>tbody>tr>.warning:hover{background-color:#faf2cc}@media (max-width:767px){.bootstrap-yop .table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.bootstrap-yop .table-responsive>.table{margin-bottom:0}.bootstrap-yop .table-responsive>.table>tbody>tr>td,.bootstrap-yop .table-responsive>.table>tbody>tr>th,.bootstrap-yop .table-responsive>.table>tfoot>tr>td,.bootstrap-yop .table-responsive>.table>tfoot>tr>th,.bootstrap-yop .table-responsive>.table>thead>tr>td,.bootstrap-yop .table-responsive>.table>thead>tr>th{white-space:nowrap}.bootstrap-yop .table-responsive>.table-bordered{border:0}.bootstrap-yop .table-responsive>.table-bordered>tbody>tr>td:first-child,.bootstrap-yop .table-responsive>.table-bordered>tbody>tr>th:first-child,.bootstrap-yop .table-responsive>.table-bordered>tfoot>tr>td:first-child,.bootstrap-yop .table-responsive>.table-bordered>tfoot>tr>th:first-child,.bootstrap-yop .table-responsive>.table-bordered>thead>tr>td:first-child,.bootstrap-yop .table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.bootstrap-yop .table-responsive>.table-bordered>tbody>tr>td:last-child,.bootstrap-yop .table-responsive>.table-bordered>tbody>tr>th:last-child,.bootstrap-yop .table-responsive>.table-bordered>tfoot>tr>td:last-child,.bootstrap-yop .table-responsive>.table-bordered>tfoot>tr>th:last-child,.bootstrap-yop .table-responsive>.table-bordered>thead>tr>td:last-child,.bootstrap-yop .table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.bootstrap-yop .table-responsive>.table-bordered>tbody>tr:last-child>td,.bootstrap-yop .table-responsive>.table-bordered>tbody>tr:last-child>th,.bootstrap-yop .table-responsive>.table-bordered>tfoot>tr:last-child>td,.bootstrap-yop .table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.bootstrap-yop fieldset{padding:0;margin:0;border:0}.bootstrap-yop 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}.bootstrap-yop label{display:inline-block;margin-bottom:5px;font-weight:700}.bootstrap-yop input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ui-button-icon-only,.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.bootstrap-yop input[type=checkbox],.bootstrap-yop input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}.bootstrap-yop input[type=file]{display:block}.bootstrap-yop select[multiple],.bootstrap-yop select[size]{height:auto}.bootstrap-yop select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}.bootstrap-yop .form-control,.bootstrap-yop output{font-size:14px;line-height:1.428571429;color:#555;display:block;vertical-align:middle}.bootstrap-yop input[type=checkbox]:focus,.bootstrap-yop input[type=radio]:focus,.bootstrap-yop input[type=file]:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.bootstrap-yop input[type=number]::-webkit-inner-spin-button,.bootstrap-yop input[type=number]::-webkit-outer-spin-button{height:auto}.bootstrap-yop output{padding-top:7px}.bootstrap-yop .form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.bootstrap-yop .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)}.bootstrap-yop .form-control:-moz-placeholder{color:#999}.bootstrap-yop .form-control::-moz-placeholder{color:#999;opacity:1}.bootstrap-yop .form-control:-ms-input-placeholder{color:#999}.bootstrap-yop .form-control::-webkit-input-placeholder{color:#999}.bootstrap-yop .form-control[disabled],.bootstrap-yop .form-control[readonly],.bootstrap-yop fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}.bootstrap-yop textarea.form-control{height:auto}.bootstrap-yop .form-group{margin-bottom:15px}.bootstrap-yop .checkbox,.bootstrap-yop .radio{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.bootstrap-yop .checkbox label,.bootstrap-yop .radio label{display:inline;margin-bottom:0;font-weight:400;cursor:pointer}.bootstrap-yop .checkbox input[type=checkbox],.bootstrap-yop .checkbox-inline input[type=checkbox],.bootstrap-yop .radio input[type=radio],.bootstrap-yop .radio-inline input[type=radio]{float:left;margin-left:-20px}.bootstrap-yop .checkbox+.checkbox,.bootstrap-yop .radio+.radio{margin-top:-5px}.bootstrap-yop .checkbox-inline,.bootstrap-yop .radio-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.bootstrap-yop .checkbox-inline+.checkbox-inline,.bootstrap-yop .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.bootstrap-yop .checkbox-inline[disabled],.bootstrap-yop .checkbox[disabled],.bootstrap-yop .radio-inline[disabled],.bootstrap-yop .radio[disabled],.bootstrap-yop fieldset[disabled] .checkbox,.bootstrap-yop fieldset[disabled] .checkbox-inline,.bootstrap-yop fieldset[disabled] .radio,.bootstrap-yop fieldset[disabled] .radio-inline,.bootstrap-yop fieldset[disabled] input[type=checkbox],.bootstrap-yop fieldset[disabled] input[type=radio],.bootstrap-yop input[type=checkbox][disabled],.bootstrap-yop input[type=radio][disabled]{cursor:not-allowed}.bootstrap-yop .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.bootstrap-yop select.input-sm{height:30px;line-height:30px}.bootstrap-yop textarea.input-sm{height:auto}.bootstrap-yop .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.bootstrap-yop select.input-lg{height:46px;line-height:46px}.bootstrap-yop textarea.input-lg{height:auto}.bootstrap-yop .has-warning .checkbox,.bootstrap-yop .has-warning .checkbox-inline,.bootstrap-yop .has-warning .control-label,.bootstrap-yop .has-warning .help-block,.bootstrap-yop .has-warning .radio,.bootstrap-yop .has-warning .radio-inline{color:#8a6d3b}.bootstrap-yop .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)}.bootstrap-yop .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}.bootstrap-yop .has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.bootstrap-yop .has-error .checkbox,.bootstrap-yop .has-error .checkbox-inline,.bootstrap-yop .has-error .control-label,.bootstrap-yop .has-error .help-block,.bootstrap-yop .has-error .radio,.bootstrap-yop .has-error .radio-inline{color:#a94442}.bootstrap-yop .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)}.bootstrap-yop .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}.bootstrap-yop .has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.bootstrap-yop .has-success .checkbox,.bootstrap-yop .has-success .checkbox-inline,.bootstrap-yop .has-success .control-label,.bootstrap-yop .has-success .help-block,.bootstrap-yop .has-success .radio,.bootstrap-yop .has-success .radio-inline{color:#3c763d}.bootstrap-yop .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)}.bootstrap-yop .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}.bootstrap-yop .has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.bootstrap-yop .form-control-static{margin-bottom:0}.bootstrap-yop .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.bootstrap-yop .form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.bootstrap-yop .form-inline .form-control{display:inline-block}.bootstrap-yop .form-inline select.form-control{width:auto}.bootstrap-yop .form-inline .checkbox,.bootstrap-yop .form-inline .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.bootstrap-yop .form-inline .checkbox input[type=checkbox],.bootstrap-yop .form-inline .radio input[type=radio]{float:none;margin-left:0}.bootstrap-yop .form-horizontal .control-label{text-align:right}}.bootstrap-yop .form-horizontal .checkbox,.bootstrap-yop .form-horizontal .checkbox-inline,.bootstrap-yop .form-horizontal .control-label,.bootstrap-yop .form-horizontal .radio,.bootstrap-yop .form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.bootstrap-yop .form-horizontal .checkbox,.bootstrap-yop .form-horizontal .radio{min-height:27px}.bootstrap-yop .form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.bootstrap-yop .form-horizontal .form-group:after,.bootstrap-yop .form-horizontal .form-group:before{display:table;content:" "}.bootstrap-yop .form-horizontal .form-control-static{padding-top:7px}.bootstrap-yop .btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-o-user-select:none;user-select:none}.bootstrap-yop .btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.bootstrap-yop .btn:focus,.bootstrap-yop .btn:hover{color:#333;text-decoration:none}.bootstrap-yop .btn.active,.bootstrap-yop .btn:active{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)}.bootstrap-yop .btn.disabled,.bootstrap-yop .btn[disabled],.bootstrap-yop fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.bootstrap-yop .btn-default{color:#333;background-color:#fff}.bootstrap-yop .btn-default.active,.bootstrap-yop .btn-default:active,.bootstrap-yop .btn-default:focus,.bootstrap-yop .btn-default:hover,.bootstrap-yop .open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.bootstrap-yop .btn-default.disabled,.bootstrap-yop .btn-default.disabled.active,.bootstrap-yop .btn-default.disabled:active,.bootstrap-yop .btn-default.disabled:focus,.bootstrap-yop .btn-default.disabled:hover,.bootstrap-yop .btn-default[disabled],.bootstrap-yop .btn-default[disabled].active,.bootstrap-yop .btn-default[disabled]:active,.bootstrap-yop .btn-default[disabled]:focus,.bootstrap-yop .btn-default[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-default,.bootstrap-yop fieldset[disabled] .btn-default.active,.bootstrap-yop fieldset[disabled] .btn-default:active,.bootstrap-yop fieldset[disabled] .btn-default:focus,.bootstrap-yop fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.bootstrap-yop .btn-default .badge{color:#fff;background-color:#fff}.bootstrap-yop .btn-primary{color:#fff;background-color:#428bca}.bootstrap-yop .btn-primary.active,.bootstrap-yop .btn-primary:active,.bootstrap-yop .btn-primary:focus,.bootstrap-yop .btn-primary:hover,.bootstrap-yop .open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.bootstrap-yop .btn-primary.disabled,.bootstrap-yop .btn-primary.disabled.active,.bootstrap-yop .btn-primary.disabled:active,.bootstrap-yop .btn-primary.disabled:focus,.bootstrap-yop .btn-primary.disabled:hover,.bootstrap-yop .btn-primary[disabled],.bootstrap-yop .btn-primary[disabled].active,.bootstrap-yop .btn-primary[disabled]:active,.bootstrap-yop .btn-primary[disabled]:focus,.bootstrap-yop .btn-primary[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-primary,.bootstrap-yop fieldset[disabled] .btn-primary.active,.bootstrap-yop fieldset[disabled] .btn-primary:active,.bootstrap-yop fieldset[disabled] .btn-primary:focus,.bootstrap-yop fieldset[disabled] .btn-primary:hover{background-color:#428bca;border-color:#357ebd}.bootstrap-yop .btn-primary .badge{color:#428bca;background-color:#fff}.bootstrap-yop .btn-warning{color:#fff;background-color:#f0ad4e}.bootstrap-yop .btn-warning.active,.bootstrap-yop .btn-warning:active,.bootstrap-yop .btn-warning:focus,.bootstrap-yop .btn-warning:hover,.bootstrap-yop .open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.bootstrap-yop .btn-warning.active,.bootstrap-yop .btn-warning:active,.bootstrap-yop .open .dropdown-toggle.btn-warning{background-image:none}.bootstrap-yop .btn-warning.disabled,.bootstrap-yop .btn-warning.disabled.active,.bootstrap-yop .btn-warning.disabled:active,.bootstrap-yop .btn-warning.disabled:focus,.bootstrap-yop .btn-warning.disabled:hover,.bootstrap-yop .btn-warning[disabled],.bootstrap-yop .btn-warning[disabled].active,.bootstrap-yop .btn-warning[disabled]:active,.bootstrap-yop .btn-warning[disabled]:focus,.bootstrap-yop .btn-warning[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-warning,.bootstrap-yop fieldset[disabled] .btn-warning.active,.bootstrap-yop fieldset[disabled] .btn-warning:active,.bootstrap-yop fieldset[disabled] .btn-warning:focus,.bootstrap-yop fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.bootstrap-yop .btn-warning .badge{color:#f0ad4e;background-color:#fff}.bootstrap-yop .btn-danger{color:#fff;background-color:#d9534f}.bootstrap-yop .btn-danger.active,.bootstrap-yop .btn-danger:active,.bootstrap-yop .btn-danger:focus,.bootstrap-yop .btn-danger:hover,.bootstrap-yop .open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.bootstrap-yop .btn-danger.disabled,.bootstrap-yop .btn-danger.disabled.active,.bootstrap-yop .btn-danger.disabled:active,.bootstrap-yop .btn-danger.disabled:focus,.bootstrap-yop .btn-danger.disabled:hover,.bootstrap-yop .btn-danger[disabled],.bootstrap-yop .btn-danger[disabled].active,.bootstrap-yop .btn-danger[disabled]:active,.bootstrap-yop .btn-danger[disabled]:focus,.bootstrap-yop .btn-danger[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-danger,.bootstrap-yop fieldset[disabled] .btn-danger.active,.bootstrap-yop fieldset[disabled] .btn-danger:active,.bootstrap-yop fieldset[disabled] .btn-danger:focus,.bootstrap-yop fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.bootstrap-yop .btn-danger .badge{color:#d9534f;background-color:#fff}.bootstrap-yop .btn-success{color:#fff;background-color:#5cb85c}.bootstrap-yop .btn-success.active,.bootstrap-yop .btn-success:active,.bootstrap-yop .btn-success:focus,.bootstrap-yop .btn-success:hover,.bootstrap-yop .open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.bootstrap-yop .btn-success.disabled,.bootstrap-yop .btn-success.disabled.active,.bootstrap-yop .btn-success.disabled:active,.bootstrap-yop .btn-success.disabled:focus,.bootstrap-yop .btn-success.disabled:hover,.bootstrap-yop .btn-success[disabled],.bootstrap-yop .btn-success[disabled].active,.bootstrap-yop .btn-success[disabled]:active,.bootstrap-yop .btn-success[disabled]:focus,.bootstrap-yop .btn-success[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-success,.bootstrap-yop fieldset[disabled] .btn-success.active,.bootstrap-yop fieldset[disabled] .btn-success:active,.bootstrap-yop fieldset[disabled] .btn-success:focus,.bootstrap-yop fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.bootstrap-yop .btn-success .badge{color:#5cb85c;background-color:#fff}.bootstrap-yop .btn-info{color:#fff;background-color:#5bc0de}.bootstrap-yop .btn-info.active,.bootstrap-yop .btn-info:active,.bootstrap-yop .btn-info:focus,.bootstrap-yop .btn-info:hover,.bootstrap-yop .open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.bootstrap-yop .btn-info.disabled,.bootstrap-yop .btn-info.disabled.active,.bootstrap-yop .btn-info.disabled:active,.bootstrap-yop .btn-info.disabled:focus,.bootstrap-yop .btn-info.disabled:hover,.bootstrap-yop .btn-info[disabled],.bootstrap-yop .btn-info[disabled].active,.bootstrap-yop .btn-info[disabled]:active,.bootstrap-yop .btn-info[disabled]:focus,.bootstrap-yop .btn-info[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-info,.bootstrap-yop fieldset[disabled] .btn-info.active,.bootstrap-yop fieldset[disabled] .btn-info:active,.bootstrap-yop fieldset[disabled] .btn-info:focus,.bootstrap-yop fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.bootstrap-yop .btn-info .badge{color:#5bc0de;background-color:#fff}.bootstrap-yop .btn-link{font-weight:400;color:#428bca;cursor:pointer;border-radius:0}.bootstrap-yop .btn-link,.bootstrap-yop .btn-link:active,.bootstrap-yop .btn-link[disabled],.bootstrap-yop fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bootstrap-yop .btn-link,.bootstrap-yop .btn-link:active,.bootstrap-yop .btn-link:focus,.bootstrap-yop .btn-link:hover{border-color:transparent}.bootstrap-yop .btn-link:focus,.bootstrap-yop .btn-link:hover{color:#2a6496;text-decoration:underline;background-color:transparent}.bootstrap-yop .btn-link[disabled]:focus,.bootstrap-yop .btn-link[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-link:focus,.bootstrap-yop fieldset[disabled] .btn-link:hover{color:#999;text-decoration:none}.bootstrap-yop .btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.bootstrap-yop .btn-sm,.bootstrap-yop .btn-xs{font-size:12px;line-height:1.5;border-radius:3px}.bootstrap-yop .btn-sm{padding:5px 10px}.bootstrap-yop .btn-xs{padding:1px 5px}.bootstrap-yop .btn-block{display:block;width:100%;padding-right:0;padding-left:0}.bootstrap-yop .btn-block+.btn-block{margin-top:5px}.bootstrap-yop input[type=reset].btn-block,.bootstrap-yop input[type=submit].btn-block,.bootstrap-yop input[type=button].btn-block{width:100%}.bootstrap-yop .fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.bootstrap-yop .fade.in{opacity:1}.bootstrap-yop .collapse{display:none}.bootstrap-yop .collapse.in{display:block}.bootstrap-yop .collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular) format('svg')}.bootstrap-yop .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;line-height:1;-moz-osx-font-smoothing:grayscale}.bootstrap-yop .glyphicon:empty{width:1em}.bootstrap-yop .glyphicon-asterisk:before{content:"\2a"}.bootstrap-yop .glyphicon-plus:before{content:"\2b"}.bootstrap-yop .glyphicon-euro:before{content:"\20ac"}.bootstrap-yop .glyphicon-minus:before{content:"\2212"}.bootstrap-yop .glyphicon-cloud:before{content:"\2601"}.bootstrap-yop .glyphicon-envelope:before{content:"\2709"}.bootstrap-yop .glyphicon-pencil:before{content:"\270f"}.bootstrap-yop .glyphicon-glass:before{content:"\e001"}.bootstrap-yop .glyphicon-music:before{content:"\e002"}.bootstrap-yop .glyphicon-search:before{content:"\e003"}.bootstrap-yop .glyphicon-heart:before{content:"\e005"}.bootstrap-yop .glyphicon-star:before{content:"\e006"}.bootstrap-yop .glyphicon-star-empty:before{content:"\e007"}.bootstrap-yop .glyphicon-user:before{content:"\e008"}.bootstrap-yop .glyphicon-film:before{content:"\e009"}.bootstrap-yop .glyphicon-th-large:before{content:"\e010"}.bootstrap-yop .glyphicon-th:before{content:"\e011"}.bootstrap-yop .glyphicon-th-list:before{content:"\e012"}.bootstrap-yop .glyphicon-ok:before{content:"\e013"}.bootstrap-yop .glyphicon-remove:before{content:"\e014"}.bootstrap-yop .glyphicon-zoom-in:before{content:"\e015"}.bootstrap-yop .glyphicon-zoom-out:before{content:"\e016"}.bootstrap-yop .glyphicon-off:before{content:"\e017"}.bootstrap-yop .glyphicon-signal:before{content:"\e018"}.bootstrap-yop .glyphicon-cog:before{content:"\e019"}.bootstrap-yop .glyphicon-trash:before{content:"\e020"}.bootstrap-yop .glyphicon-home:before{content:"\e021"}.bootstrap-yop .glyphicon-file:before{content:"\e022"}.bootstrap-yop .glyphicon-time:before{content:"\e023"}.bootstrap-yop .glyphicon-road:before{content:"\e024"}.bootstrap-yop .glyphicon-download-alt:before{content:"\e025"}.bootstrap-yop .glyphicon-download:before{content:"\e026"}.bootstrap-yop .glyphicon-upload:before{content:"\e027"}.bootstrap-yop .glyphicon-inbox:before{content:"\e028"}.bootstrap-yop .glyphicon-play-circle:before{content:"\e029"}.bootstrap-yop .glyphicon-repeat:before{content:"\e030"}.bootstrap-yop .glyphicon-refresh:before{content:"\e031"}.bootstrap-yop .glyphicon-list-alt:before{content:"\e032"}.bootstrap-yop .glyphicon-lock:before{content:"\e033"}.bootstrap-yop .glyphicon-flag:before{content:"\e034"}.bootstrap-yop .glyphicon-headphones:before{content:"\e035"}.bootstrap-yop .glyphicon-volume-off:before{content:"\e036"}.bootstrap-yop .glyphicon-volume-down:before{content:"\e037"}.bootstrap-yop .glyphicon-volume-up:before{content:"\e038"}.bootstrap-yop .glyphicon-qrcode:before{content:"\e039"}.bootstrap-yop .glyphicon-barcode:before{content:"\e040"}.bootstrap-yop .glyphicon-tag:before{content:"\e041"}.bootstrap-yop .glyphicon-tags:before{content:"\e042"}.bootstrap-yop .glyphicon-book:before{content:"\e043"}.bootstrap-yop .glyphicon-bookmark:before{content:"\e044"}.bootstrap-yop .glyphicon-print:before{content:"\e045"}.bootstrap-yop .glyphicon-camera:before{content:"\e046"}.bootstrap-yop .glyphicon-font:before{content:"\e047"}.bootstrap-yop .glyphicon-bold:before{content:"\e048"}.bootstrap-yop .glyphicon-italic:before{content:"\e049"}.bootstrap-yop .glyphicon-text-height:before{content:"\e050"}.bootstrap-yop .glyphicon-text-width:before{content:"\e051"}.bootstrap-yop .glyphicon-align-left:before{content:"\e052"}.bootstrap-yop .glyphicon-align-center:before{content:"\e053"}.bootstrap-yop .glyphicon-align-right:before{content:"\e054"}.bootstrap-yop .glyphicon-align-justify:before{content:"\e055"}.bootstrap-yop .glyphicon-list:before{content:"\e056"}.bootstrap-yop .glyphicon-indent-left:before{content:"\e057"}.bootstrap-yop .glyphicon-indent-right:before{content:"\e058"}.bootstrap-yop .glyphicon-facetime-video:before{content:"\e059"}.bootstrap-yop .glyphicon-picture:before{content:"\e060"}.bootstrap-yop .glyphicon-map-marker:before{content:"\e062"}.bootstrap-yop .glyphicon-adjust:before{content:"\e063"}.bootstrap-yop .glyphicon-tint:before{content:"\e064"}.bootstrap-yop .glyphicon-edit:before{content:"\e065"}.bootstrap-yop .glyphicon-share:before{content:"\e066"}.bootstrap-yop .glyphicon-check:before{content:"\e067"}.bootstrap-yop .glyphicon-move:before{content:"\e068"}.bootstrap-yop .glyphicon-step-backward:before{content:"\e069"}.bootstrap-yop .glyphicon-fast-backward:before{content:"\e070"}.bootstrap-yop .glyphicon-backward:before{content:"\e071"}.bootstrap-yop .glyphicon-play:before{content:"\e072"}.bootstrap-yop .glyphicon-pause:before{content:"\e073"}.bootstrap-yop .glyphicon-stop:before{content:"\e074"}.bootstrap-yop .glyphicon-forward:before{content:"\e075"}.bootstrap-yop .glyphicon-fast-forward:before{content:"\e076"}.bootstrap-yop .glyphicon-step-forward:before{content:"\e077"}.bootstrap-yop .glyphicon-eject:before{content:"\e078"}.bootstrap-yop .glyphicon-chevron-left:before{content:"\e079"}.bootstrap-yop .glyphicon-chevron-right:before{content:"\e080"}.bootstrap-yop .glyphicon-plus-sign:before{content:"\e081"}.bootstrap-yop .glyphicon-minus-sign:before{content:"\e082"}.bootstrap-yop .glyphicon-remove-sign:before{content:"\e083"}.bootstrap-yop .glyphicon-ok-sign:before{content:"\e084"}.bootstrap-yop .glyphicon-question-sign:before{content:"\e085"}.bootstrap-yop .glyphicon-info-sign:before{content:"\e086"}.bootstrap-yop .glyphicon-screenshot:before{content:"\e087"}.bootstrap-yop .glyphicon-remove-circle:before{content:"\e088"}.bootstrap-yop .glyphicon-ok-circle:before{content:"\e089"}.bootstrap-yop .glyphicon-ban-circle:before{content:"\e090"}.bootstrap-yop .glyphicon-arrow-left:before{content:"\e091"}.bootstrap-yop .glyphicon-arrow-right:before{content:"\e092"}.bootstrap-yop .glyphicon-arrow-up:before{content:"\e093"}.bootstrap-yop .glyphicon-arrow-down:before{content:"\e094"}.bootstrap-yop .glyphicon-share-alt:before{content:"\e095"}.bootstrap-yop .glyphicon-resize-full:before{content:"\e096"}.bootstrap-yop .glyphicon-resize-small:before{content:"\e097"}.bootstrap-yop .glyphicon-exclamation-sign:before{content:"\e101"}.bootstrap-yop .glyphicon-gift:before{content:"\e102"}.bootstrap-yop .glyphicon-leaf:before{content:"\e103"}.bootstrap-yop .glyphicon-fire:before{content:"\e104"}.bootstrap-yop .glyphicon-eye-open:before{content:"\e105"}.bootstrap-yop .glyphicon-eye-close:before{content:"\e106"}.bootstrap-yop .glyphicon-warning-sign:before{content:"\e107"}.bootstrap-yop .glyphicon-plane:before{content:"\e108"}.bootstrap-yop .glyphicon-calendar:before{content:"\e109"}.bootstrap-yop .glyphicon-random:before{content:"\e110"}.bootstrap-yop .glyphicon-comment:before{content:"\e111"}.bootstrap-yop .glyphicon-magnet:before{content:"\e112"}.bootstrap-yop .glyphicon-chevron-up:before{content:"\e113"}.bootstrap-yop .glyphicon-chevron-down:before{content:"\e114"}.bootstrap-yop .glyphicon-retweet:before{content:"\e115"}.bootstrap-yop .glyphicon-shopping-cart:before{content:"\e116"}.bootstrap-yop .glyphicon-folder-close:before{content:"\e117"}.bootstrap-yop .glyphicon-folder-open:before{content:"\e118"}.bootstrap-yop .glyphicon-resize-vertical:before{content:"\e119"}.bootstrap-yop .glyphicon-resize-horizontal:before{content:"\e120"}.bootstrap-yop .glyphicon-hdd:before{content:"\e121"}.bootstrap-yop .glyphicon-bullhorn:before{content:"\e122"}.bootstrap-yop .glyphicon-bell:before{content:"\e123"}.bootstrap-yop .glyphicon-certificate:before{content:"\e124"}.bootstrap-yop .glyphicon-thumbs-up:before{content:"\e125"}.bootstrap-yop .glyphicon-thumbs-down:before{content:"\e126"}.bootstrap-yop .glyphicon-hand-right:before{content:"\e127"}.bootstrap-yop .glyphicon-hand-left:before{content:"\e128"}.bootstrap-yop .glyphicon-hand-up:before{content:"\e129"}.bootstrap-yop .glyphicon-hand-down:before{content:"\e130"}.bootstrap-yop .glyphicon-circle-arrow-right:before{content:"\e131"}.bootstrap-yop .glyphicon-circle-arrow-left:before{content:"\e132"}.bootstrap-yop .glyphicon-circle-arrow-up:before{content:"\e133"}.bootstrap-yop .glyphicon-circle-arrow-down:before{content:"\e134"}.bootstrap-yop .glyphicon-globe:before{content:"\e135"}.bootstrap-yop .glyphicon-wrench:before{content:"\e136"}.bootstrap-yop .glyphicon-tasks:before{content:"\e137"}.bootstrap-yop .glyphicon-filter:before{content:"\e138"}.bootstrap-yop .glyphicon-briefcase:before{content:"\e139"}.bootstrap-yop .glyphicon-fullscreen:before{content:"\e140"}.bootstrap-yop .glyphicon-dashboard:before{content:"\e141"}.bootstrap-yop .glyphicon-paperclip:before{content:"\e142"}.bootstrap-yop .glyphicon-heart-empty:before{content:"\e143"}.bootstrap-yop .glyphicon-link:before{content:"\e144"}.bootstrap-yop .glyphicon-phone:before{content:"\e145"}.bootstrap-yop .glyphicon-pushpin:before{content:"\e146"}.bootstrap-yop .glyphicon-usd:before{content:"\e148"}.bootstrap-yop .glyphicon-gbp:before{content:"\e149"}.bootstrap-yop .glyphicon-sort:before{content:"\e150"}.bootstrap-yop .glyphicon-sort-by-alphabet:before{content:"\e151"}.bootstrap-yop .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.bootstrap-yop .glyphicon-sort-by-order:before{content:"\e153"}.bootstrap-yop .glyphicon-sort-by-order-alt:before{content:"\e154"}.bootstrap-yop .glyphicon-sort-by-attributes:before{content:"\e155"}.bootstrap-yop .glyphicon-sort-by-attributes-alt:before{content:"\e156"}.bootstrap-yop .glyphicon-unchecked:before{content:"\e157"}.bootstrap-yop .glyphicon-expand:before{content:"\e158"}.bootstrap-yop .glyphicon-collapse-down:before{content:"\e159"}.bootstrap-yop .glyphicon-collapse-up:before{content:"\e160"}.bootstrap-yop .glyphicon-log-in:before{content:"\e161"}.bootstrap-yop .glyphicon-flash:before{content:"\e162"}.bootstrap-yop .glyphicon-log-out:before{content:"\e163"}.bootstrap-yop .glyphicon-new-window:before{content:"\e164"}.bootstrap-yop .glyphicon-record:before{content:"\e165"}.bootstrap-yop .glyphicon-save:before{content:"\e166"}.bootstrap-yop .glyphicon-open:before{content:"\e167"}.bootstrap-yop .glyphicon-saved:before{content:"\e168"}.bootstrap-yop .glyphicon-import:before{content:"\e169"}.bootstrap-yop .glyphicon-export:before{content:"\e170"}.bootstrap-yop .glyphicon-send:before{content:"\e171"}.bootstrap-yop .glyphicon-floppy-disk:before{content:"\e172"}.bootstrap-yop .glyphicon-floppy-saved:before{content:"\e173"}.bootstrap-yop .glyphicon-floppy-remove:before{content:"\e174"}.bootstrap-yop .glyphicon-floppy-save:before{content:"\e175"}.bootstrap-yop .glyphicon-floppy-open:before{content:"\e176"}.bootstrap-yop .glyphicon-credit-card:before{content:"\e177"}.bootstrap-yop .glyphicon-transfer:before{content:"\e178"}.bootstrap-yop .glyphicon-cutlery:before{content:"\e179"}.bootstrap-yop .glyphicon-header:before{content:"\e180"}.bootstrap-yop .glyphicon-compressed:before{content:"\e181"}.bootstrap-yop .glyphicon-earphone:before{content:"\e182"}.bootstrap-yop .glyphicon-phone-alt:before{content:"\e183"}.bootstrap-yop .glyphicon-tower:before{content:"\e184"}.bootstrap-yop .glyphicon-stats:before{content:"\e185"}.bootstrap-yop .glyphicon-sd-video:before{content:"\e186"}.bootstrap-yop .glyphicon-hd-video:before{content:"\e187"}.bootstrap-yop .glyphicon-subtitles:before{content:"\e188"}.bootstrap-yop .glyphicon-sound-stereo:before{content:"\e189"}.bootstrap-yop .glyphicon-sound-dolby:before{content:"\e190"}.bootstrap-yop .glyphicon-sound-5-1:before{content:"\e191"}.bootstrap-yop .glyphicon-sound-6-1:before{content:"\e192"}.bootstrap-yop .glyphicon-sound-7-1:before{content:"\e193"}.bootstrap-yop .glyphicon-copyright-mark:before{content:"\e194"}.bootstrap-yop .glyphicon-registration-mark:before{content:"\e195"}.bootstrap-yop .glyphicon-cloud-download:before{content:"\e197"}.bootstrap-yop .glyphicon-cloud-upload:before{content:"\e198"}.bootstrap-yop .glyphicon-tree-conifer:before{content:"\e199"}.bootstrap-yop .glyphicon-tree-deciduous:before{content:"\e200"}.bootstrap-yop .caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.bootstrap-yop .dropdown{position:relative}.bootstrap-yop .dropdown-toggle:focus{outline:0}.bootstrap-yop .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;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.bootstrap-yop .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn,.bootstrap-yop .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.bootstrap-yop .btn-group>.btn-group:first-child>.btn:last-child,.bootstrap-yop .btn-group>.btn-group:first-child>.dropdown-toggle,.bootstrap-yop .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.bootstrap-yop .btn-group>.btn-group:last-child>.btn:first-child,.bootstrap-yop .btn-group>.btn:last-child:not(:first-child),.bootstrap-yop .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.bootstrap-yop .dropdown-menu.pull-right{right:0;left:auto}.bootstrap-yop .dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.bootstrap-yop .dropdown-menu>li>a{display:block;padding:3px 20px;font-weight:400;line-height:1.428571429;color:#333;white-space:nowrap}.bootstrap-yop .dropdown-menu>li>a:focus,.bootstrap-yop .dropdown-menu>li>a:hover{color:#262626;text-decoration:none}.bootstrap-yop .dropdown-menu>.active>a,.bootstrap-yop .dropdown-menu>.active>a:focus,.bootstrap-yop .dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0}.bootstrap-yop .dropdown-menu>.disabled>a,.bootstrap-yop .dropdown-menu>.disabled>a:focus,.bootstrap-yop .dropdown-menu>.disabled>a:hover{color:#999}.bootstrap-yop .dropdown-menu>.disabled>a:focus,.bootstrap-yop .dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .open>.dropdown-menu{display:block}.bootstrap-yop .open>a{outline:0}.bootstrap-yop .dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.bootstrap-yop .dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.bootstrap-yop .nav-justified>.dropdown .dropdown-menu,.bootstrap-yop .nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}.bootstrap-yop .btn-group-vertical>.btn.active,.bootstrap-yop .btn-group-vertical>.btn:active,.bootstrap-yop .btn-group-vertical>.btn:focus,.bootstrap-yop .btn-group-vertical>.btn:hover,.bootstrap-yop .btn-group>.btn.active,.bootstrap-yop .btn-group>.btn:active,.bootstrap-yop .btn-group>.btn:focus,.bootstrap-yop .btn-group>.btn:hover,.bootstrap-yop .input-group-btn>.btn:active,.bootstrap-yop .input-group-btn>.btn:hover{z-index:2}.bootstrap-yop .pull-right>.dropdown-menu{right:0;left:auto}.bootstrap-yop .dropup .caret,.bootstrap-yop .navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.bootstrap-yop .dropup .dropdown-menu,.bootstrap-yop .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.bootstrap-yop .btn-group,.bootstrap-yop .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.bootstrap-yop .btn-group-vertical>.btn,.bootstrap-yop .btn-group>.btn{position:relative;float:left}.bootstrap-yop .btn-group-vertical>.btn:focus,.bootstrap-yop .btn-group>.btn:focus{outline:0}.bootstrap-yop .btn-group .btn+.btn,.bootstrap-yop .btn-group .btn+.btn-group,.bootstrap-yop .btn-group .btn-group+.btn,.bootstrap-yop .btn-group .btn-group+.btn-group{margin-left:-1px}.bootstrap-yop .btn-toolbar:after,.bootstrap-yop .btn-toolbar:before{display:table;content:" "}.bootstrap-yop .btn-toolbar .btn-group{float:left}.bootstrap-yop .btn-toolbar>.btn+.btn,.bootstrap-yop .btn-toolbar>.btn+.btn-group,.bootstrap-yop .btn-toolbar>.btn-group+.btn,.bootstrap-yop .btn-toolbar>.btn-group+.btn-group{margin-left:5px}.bootstrap-yop .btn .caret,.bootstrap-yop .btn-group>.btn:first-child{margin-left:0}.bootstrap-yop .btn-group>.btn-group{float:left}.bootstrap-yop .btn-group .dropdown-toggle:active,.bootstrap-yop .btn-group.open .dropdown-toggle{outline:0}.bootstrap-yop .btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.bootstrap-yop .btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.bootstrap-yop .btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.bootstrap-yop .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.bootstrap-yop .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.bootstrap-yop .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)}.bootstrap-yop .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.bootstrap-yop .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.bootstrap-yop .dropup .btn-lg .caret{border-width:0 5px 5px}.bootstrap-yop .btn-group-vertical>.btn,.bootstrap-yop .btn-group-vertical>.btn-group,.bootstrap-yop .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.bootstrap-yop .nav>li>a>img,.note-popover.popover{max-width:none}.bootstrap-yop .btn-group-vertical>.btn-group:after,.bootstrap-yop .btn-group-vertical>.btn-group:before{display:table;content:" "}.bootstrap-yop .btn-group-vertical>.btn-group>.btn{float:none}.bootstrap-yop .btn-group-vertical>.btn+.btn,.bootstrap-yop .btn-group-vertical>.btn+.btn-group,.bootstrap-yop .btn-group-vertical>.btn-group+.btn,.bootstrap-yop .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.bootstrap-yop .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.bootstrap-yop .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.bootstrap-yop .btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.bootstrap-yop .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.bootstrap-yop .btn-group-vertical>.btn-group:first-child>.btn:last-child,.bootstrap-yop .btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.bootstrap-yop .btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.bootstrap-yop .btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.bootstrap-yop .btn-group-justified>.btn,.bootstrap-yop .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.bootstrap-yop .btn-group-justified>.btn-group .btn{width:100%}.bootstrap-yop [data-toggle=buttons]>.btn>input[type=checkbox],.bootstrap-yop [data-toggle=buttons]>.btn>input[type=radio]{display:none}.bootstrap-yop .input-group{position:relative;display:table;border-collapse:separate}.bootstrap-yop .input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.bootstrap-yop .input-group .form-control{width:100%;margin-bottom:0}.bootstrap-yop .input-group-lg>.form-control,.bootstrap-yop .input-group-lg>.input-group-addon,.bootstrap-yop .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.bootstrap-yop select.input-group-lg>.form-control,.bootstrap-yop select.input-group-lg>.input-group-addon,.bootstrap-yop select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}.bootstrap-yop textarea.input-group-lg>.form-control,.bootstrap-yop textarea.input-group-lg>.input-group-addon,.bootstrap-yop textarea.input-group-lg>.input-group-btn>.btn{height:auto}.bootstrap-yop .input-group-sm>.form-control,.bootstrap-yop .input-group-sm>.input-group-addon,.bootstrap-yop .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.bootstrap-yop select.input-group-sm>.form-control,.bootstrap-yop select.input-group-sm>.input-group-addon,.bootstrap-yop select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}.bootstrap-yop textarea.input-group-sm>.form-control,.bootstrap-yop textarea.input-group-sm>.input-group-addon,.bootstrap-yop textarea.input-group-sm>.input-group-btn>.btn{height:auto}.bootstrap-yop .input-group .form-control,.bootstrap-yop .input-group-addon,.bootstrap-yop .input-group-btn{display:table-cell}.bootstrap-yop .input-group .form-control:not(:first-child):not(:last-child),.bootstrap-yop .input-group-addon:not(:first-child):not(:last-child),.bootstrap-yop .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.bootstrap-yop .input-group-addon,.bootstrap-yop .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.bootstrap-yop .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}.bootstrap-yop .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.bootstrap-yop .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.bootstrap-yop .input-group-addon input[type=checkbox],.bootstrap-yop .input-group-addon input[type=radio]{margin-top:0}.bootstrap-yop .input-group .form-control:first-child,.bootstrap-yop .input-group-addon:first-child,.bootstrap-yop .input-group-btn:first-child>.btn,.bootstrap-yop .input-group-btn:first-child>.dropdown-toggle,.bootstrap-yop .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.bootstrap-yop .input-group-addon:first-child{border-right:0}.bootstrap-yop .input-group .form-control:last-child,.bootstrap-yop .input-group-addon:last-child,.bootstrap-yop .input-group-btn:first-child>.btn:not(:first-child),.bootstrap-yop .input-group-btn:last-child>.btn,.bootstrap-yop .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.bootstrap-yop .input-group-addon:last-child{border-left:0}.bootstrap-yop .input-group-btn{position:relative;white-space:nowrap}.bootstrap-yop .input-group-btn:first-child>.btn{margin-right:-1px}.bootstrap-yop .input-group-btn:last-child>.btn{margin-left:-1px}.bootstrap-yop .input-group-btn>.btn{position:relative}.bootstrap-yop .input-group-btn>.btn+.btn{margin-left:-4px}.bootstrap-yop .nav{padding-left:0;margin-bottom:0;list-style:none}.bootstrap-yop .nav:after,.bootstrap-yop .nav:before{display:table;content:" "}.bootstrap-yop .nav>li,.bootstrap-yop .nav>li>a{display:block;position:relative}.bootstrap-yop .nav>li>a{padding:10px 15px}.bootstrap-yop .nav>li>a:focus,.bootstrap-yop .nav>li>a:hover{text-decoration:none;background-color:#eee}.bootstrap-yop .nav>li.disabled>a{color:#999}.bootstrap-yop .nav>li.disabled>a:focus,.bootstrap-yop .nav>li.disabled>a:hover{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.bootstrap-yop .nav .open>a,.bootstrap-yop .nav .open>a:focus,.bootstrap-yop .nav .open>a:hover{background-color:#eee;border-color:#428bca}.bootstrap-yop .nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.bootstrap-yop .nav-tabs{border-bottom:1px solid #ddd}.bootstrap-yop .nav-tabs>li{float:left;margin-bottom:-1px}.bootstrap-yop .nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.bootstrap-yop .nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.bootstrap-yop .nav-tabs>li.active>a,.bootstrap-yop .nav-tabs>li.active>a:focus,.bootstrap-yop .nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.bootstrap-yop .nav-tabs.nav-justified{width:100%;border-bottom:0}.bootstrap-yop .nav-tabs.nav-justified>li{float:none}.bootstrap-yop .nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center;margin-right:0;border-radius:4px}.bootstrap-yop .nav-tabs.nav-justified>.active>a,.bootstrap-yop .nav-tabs.nav-justified>.active>a:focus,.bootstrap-yop .nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.bootstrap-yop .navbar-right .dropdown-menu{right:0;left:auto}.bootstrap-yop .nav-tabs.nav-justified>li{display:table-cell;width:1%}.bootstrap-yop .nav-tabs.nav-justified>li>a{margin-bottom:0;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.bootstrap-yop .nav-tabs.nav-justified>.active>a,.bootstrap-yop .nav-tabs.nav-justified>.active>a:focus,.bootstrap-yop .nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.bootstrap-yop .nav-pills>li{float:left}.bootstrap-yop .nav-justified>li,.bootstrap-yop .nav-stacked>li{float:none}.bootstrap-yop .nav-pills>li>a{border-radius:4px}.bootstrap-yop .nav-pills>li+li{margin-left:2px}.bootstrap-yop .nav-pills>li.active>a,.bootstrap-yop .nav-pills>li.active>a:focus,.bootstrap-yop .nav-pills>li.active>a:hover{color:#fff;background-color:#428bca}.bootstrap-yop .nav-stacked>li+li{margin-top:2px;margin-left:0}.bootstrap-yop .nav-justified{width:100%}.bootstrap-yop .nav-justified>li>a{margin-bottom:5px;text-align:center}.bootstrap-yop .nav-tabs-justified{border-bottom:0}.bootstrap-yop .nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.bootstrap-yop .nav-tabs-justified>.active>a,.bootstrap-yop .nav-tabs-justified>.active>a:focus,.bootstrap-yop .nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.bootstrap-yop .nav-justified>li{display:table-cell;width:1%}.bootstrap-yop .nav-justified>li>a{margin-bottom:0}.bootstrap-yop .nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.bootstrap-yop .nav-tabs-justified>.active>a,.bootstrap-yop .nav-tabs-justified>.active>a:focus,.bootstrap-yop .nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.bootstrap-yop .tab-content>.tab-pane{display:none}.bootstrap-yop .tab-content>.active{display:block}.bootstrap-yop .navbar-collapse:after,.bootstrap-yop .navbar-collapse:before,.bootstrap-yop .navbar-header:after,.bootstrap-yop .navbar-header:before,.bootstrap-yop .navbar:after,.bootstrap-yop .navbar:before{display:table;content:" "}.bootstrap-yop .nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.bootstrap-yop .navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.bootstrap-yop .navbar:after{clear:both}.bootstrap-yop .navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.bootstrap-yop .navbar-collapse.in{overflow-y:auto}.bootstrap-yop .container>.navbar-collapse,.bootstrap-yop .container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.bootstrap-yop .navbar{border-radius:4px}.bootstrap-yop .navbar-header{float:left}.bootstrap-yop .navbar-collapse{width:auto;border-top:0;box-shadow:none}.bootstrap-yop .navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.bootstrap-yop .navbar-collapse.in{overflow-y:visible}.bootstrap-yop .navbar-fixed-bottom .navbar-collapse,.bootstrap-yop .navbar-fixed-top .navbar-collapse,.bootstrap-yop .navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}.bootstrap-yop .container>.navbar-collapse,.bootstrap-yop .container>.navbar-header{margin-right:0;margin-left:0}.bootstrap-yop .navbar-static-top{border-radius:0}}.bootstrap-yop .navbar-static-top{z-index:1000;border-width:0 0 1px}.bootstrap-yop .navbar-fixed-bottom,.bootstrap-yop .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}.bootstrap-yop .navbar-fixed-top{top:0;border-width:0 0 1px}.bootstrap-yop .btn .badge,.bootstrap-yop .btn .label{top:-1px;position:relative}.bootstrap-yop .navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.bootstrap-yop .navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px}.bootstrap-yop .navbar-brand:focus,.bootstrap-yop .navbar-brand:hover{text-decoration:none}@media (min-width:768px){.bootstrap-yop .navbar-fixed-bottom,.bootstrap-yop .navbar-fixed-top{border-radius:0}.bootstrap-yop .navbar>.container .navbar-brand{margin-left:-15px}}.bootstrap-yop .navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;border:1px solid transparent;border-radius:4px}.bootstrap-yop .navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.bootstrap-yop .navbar-toggle .icon-bar+.icon-bar{margin-top:4px}.bootstrap-yop .navbar-nav{margin:7.5px -15px}.bootstrap-yop .navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.bootstrap-yop .navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.bootstrap-yop .navbar-nav .open .dropdown-menu .dropdown-header,.bootstrap-yop .navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.bootstrap-yop .navbar-nav .open .dropdown-menu>li>a{line-height:20px}.bootstrap-yop .navbar-nav .open .dropdown-menu>li>a:focus,.bootstrap-yop .navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}.bootstrap-yop .progress-striped .progress-bar,.bootstrap-yop .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)}@media (min-width:768px){.bootstrap-yop .navbar-toggle{display:none}.bootstrap-yop .navbar-nav{float:left;margin:0}.bootstrap-yop .navbar-nav>li{float:left}.bootstrap-yop .navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.bootstrap-yop .navbar-nav.navbar-right:last-child{margin-right:-15px}.bootstrap-yop .navbar-left{float:left!important}.bootstrap-yop .navbar-right{float:right!important}}.bootstrap-yop .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){.bootstrap-yop .navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.bootstrap-yop .navbar-form .form-control{display:inline-block}.bootstrap-yop .navbar-form select.form-control{width:auto}.bootstrap-yop .navbar-form .checkbox,.bootstrap-yop .navbar-form .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.bootstrap-yop .navbar-form .checkbox input[type=checkbox],.bootstrap-yop .navbar-form .radio input[type=radio]{float:none;margin-left:0}.bootstrap-yop .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}.bootstrap-yop .navbar-form.navbar-right:last-child{margin-right:-15px}}@media (max-width:767px){.bootstrap-yop .navbar-form .form-group{margin-bottom:5px}}.bootstrap-yop .navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.bootstrap-yop .navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.bootstrap-yop .navbar-nav.pull-right>li>.dropdown-menu,.bootstrap-yop .navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.bootstrap-yop .navbar-btn{margin-top:8px;margin-bottom:8px}.bootstrap-yop .navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.bootstrap-yop .navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.bootstrap-yop .navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.bootstrap-yop .navbar-text{float:left;margin-right:15px;margin-left:15px}.bootstrap-yop .navbar-text.navbar-right:last-child{margin-right:0}}.bootstrap-yop .navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.bootstrap-yop .navbar-default .navbar-brand{color:#777}.bootstrap-yop .navbar-default .navbar-brand:focus,.bootstrap-yop .navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.bootstrap-yop .navbar-default .navbar-nav>li>a,.bootstrap-yop .navbar-default .navbar-text{color:#777}.bootstrap-yop .navbar-default .navbar-nav>li>a:focus,.bootstrap-yop .navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.bootstrap-yop .navbar-default .navbar-nav>.active>a,.bootstrap-yop .navbar-default .navbar-nav>.active>a:focus,.bootstrap-yop .navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.bootstrap-yop .navbar-default .navbar-nav>.disabled>a,.bootstrap-yop .navbar-default .navbar-nav>.disabled>a:focus,.bootstrap-yop .navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.bootstrap-yop .navbar-default .navbar-toggle{border-color:#ddd}.bootstrap-yop .navbar-default .navbar-toggle:focus,.bootstrap-yop .navbar-default .navbar-toggle:hover{background-color:#ddd}.bootstrap-yop .navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.bootstrap-yop .navbar-default .navbar-collapse,.bootstrap-yop .navbar-default .navbar-form{border-color:#e7e7e7}.bootstrap-yop .navbar-default .navbar-nav>.open>a,.bootstrap-yop .navbar-default .navbar-nav>.open>a:focus,.bootstrap-yop .navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>.active>a,.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.bootstrap-yop .navbar-default .navbar-link{color:#777}.bootstrap-yop .navbar-default .navbar-link:hover{color:#333}.bootstrap-yop .navbar-inverse{background-color:#222;border-color:#080808}.bootstrap-yop .navbar-inverse .navbar-brand{color:#999}.bootstrap-yop .navbar-inverse .navbar-brand:focus,.bootstrap-yop .navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.bootstrap-yop .navbar-inverse .navbar-nav>li>a,.bootstrap-yop .navbar-inverse .navbar-text{color:#999}.bootstrap-yop .navbar-inverse .navbar-nav>li>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.bootstrap-yop .navbar-inverse .navbar-nav>.active>a,.bootstrap-yop .navbar-inverse .navbar-nav>.active>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.bootstrap-yop .navbar-inverse .navbar-nav>.disabled>a,.bootstrap-yop .navbar-inverse .navbar-nav>.disabled>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.bootstrap-yop .navbar-inverse .navbar-toggle{border-color:#333}.bootstrap-yop .navbar-inverse .navbar-toggle:focus,.bootstrap-yop .navbar-inverse .navbar-toggle:hover{background-color:#333}.bootstrap-yop .navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.bootstrap-yop .navbar-inverse .navbar-collapse,.bootstrap-yop .navbar-inverse .navbar-form{border-color:#101010}.bootstrap-yop .navbar-inverse .navbar-nav>.open>a,.bootstrap-yop .navbar-inverse .navbar-nav>.open>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.bootstrap-yop .navbar-inverse .navbar-link{color:#999}.bootstrap-yop .navbar-inverse .navbar-link:hover{color:#fff}.bootstrap-yop .breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.bootstrap-yop .breadcrumb>li{display:inline-block}.bootstrap-yop .breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.bootstrap-yop .breadcrumb>.active{color:#999}.bootstrap-yop .pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.bootstrap-yop .pagination>li{display:inline}.bootstrap-yop .pagination>li>a,.bootstrap-yop .pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.bootstrap-yop .badge,.bootstrap-yop .label{font-weight:700;line-height:1;white-space:nowrap;vertical-align:baseline;text-align:center}.bootstrap-yop .pagination>li:first-child>a,.bootstrap-yop .pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.bootstrap-yop .pagination>li:last-child>a,.bootstrap-yop .pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.bootstrap-yop .pagination>li>a:focus,.bootstrap-yop .pagination>li>a:hover,.bootstrap-yop .pagination>li>span:focus,.bootstrap-yop .pagination>li>span:hover{background-color:#eee}.bootstrap-yop .pagination>.active>a,.bootstrap-yop .pagination>.active>a:focus,.bootstrap-yop .pagination>.active>a:hover,.bootstrap-yop .pagination>.active>span,.bootstrap-yop .pagination>.active>span:focus,.bootstrap-yop .pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.bootstrap-yop .pagination>.disabled>a,.bootstrap-yop .pagination>.disabled>a:focus,.bootstrap-yop .pagination>.disabled>a:hover,.bootstrap-yop .pagination>.disabled>span,.bootstrap-yop .pagination>.disabled>span:focus,.bootstrap-yop .pagination>.disabled>span:hover{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.bootstrap-yop .pagination-lg>li>a,.bootstrap-yop .pagination-lg>li>span{padding:10px 16px;font-size:18px}.bootstrap-yop .pagination-lg>li:first-child>a,.bootstrap-yop .pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.bootstrap-yop .pagination-lg>li:last-child>a,.bootstrap-yop .pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.bootstrap-yop .pagination-sm>li>a,.bootstrap-yop .pagination-sm>li>span{padding:5px 10px;font-size:12px}.bootstrap-yop .pagination-sm>li:first-child>a,.bootstrap-yop .pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-yop .pagination-sm>li:last-child>a,.bootstrap-yop .pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.bootstrap-yop .pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.bootstrap-yop .pager:after,.bootstrap-yop .pager:before{display:table;content:" "}.bootstrap-yop .pager li{display:inline}.bootstrap-yop .pager li>a,.bootstrap-yop .pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.bootstrap-yop .pager li>a:focus,.bootstrap-yop .pager li>a:hover{text-decoration:none;background-color:#eee}.bootstrap-yop .pager .next>a,.bootstrap-yop .pager .next>span{float:right}.bootstrap-yop .pager .previous>a,.bootstrap-yop .pager .previous>span{float:left}.bootstrap-yop .pager .disabled>a,.bootstrap-yop .pager .disabled>a:focus,.bootstrap-yop .pager .disabled>a:hover,.bootstrap-yop .pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.bootstrap-yop .label{display:inline;padding:.2em .6em .3em;font-size:75%;color:#fff;border-radius:.25em}.bootstrap-yop .label[href]:focus,.bootstrap-yop .label[href]:hover{color:#fff;text-decoration:none;cursor:pointer}.bootstrap-yop .label:empty{display:none}.bootstrap-yop .label-default{background-color:#999}.bootstrap-yop .label-default[href]:focus,.bootstrap-yop .label-default[href]:hover{background-color:grey}.bootstrap-yop .label-primary{background-color:#428bca}.bootstrap-yop .label-primary[href]:focus,.bootstrap-yop .label-primary[href]:hover{background-color:#3071a9}.bootstrap-yop .label-success{background-color:#5cb85c}.bootstrap-yop .label-success[href]:focus,.bootstrap-yop .label-success[href]:hover{background-color:#449d44}.bootstrap-yop .label-info{background-color:#5bc0de}.bootstrap-yop .label-info[href]:focus,.bootstrap-yop .label-info[href]:hover{background-color:#31b0d5}.bootstrap-yop .label-warning{background-color:#f0ad4e}.bootstrap-yop .label-warning[href]:focus,.bootstrap-yop .label-warning[href]:hover{background-color:#ec971f}.bootstrap-yop .label-danger{background-color:#d9534f}.bootstrap-yop .label-danger[href]:focus,.bootstrap-yop .label-danger[href]:hover{background-color:#c9302c}.bootstrap-yop .badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;color:#fff;background-color:#999;border-radius:10px}.bootstrap-yop .badge:empty{display:none}.bootstrap-yop a.badge:focus,.bootstrap-yop a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.bootstrap-yop .nav-pills>.active>a>.badge,.bootstrap-yop a.list-group-item.active>.badge{color:#428bca;background-color:#fff}.bootstrap-yop .nav-pills>li>a>.badge{margin-left:3px}.bootstrap-yop .jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.bootstrap-yop .jumbotron .h1,.bootstrap-yop .jumbotron h1{line-height:1;color:inherit}.bootstrap-yop .jumbotron p{line-height:1.4}.bootstrap-yop .container .jumbotron{border-radius:6px}.bootstrap-yop .jumbotron .container{max-width:100%}@media screen and (min-width:768px){.bootstrap-yop .jumbotron{padding-top:48px;padding-bottom:48px}.bootstrap-yop .container .jumbotron{padding-right:60px;padding-left:60px}.bootstrap-yop .jumbotron .h1,.bootstrap-yop .jumbotron h1{font-size:63px}}.bootstrap-yop .thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.bootstrap-yop .thumbnail a>img,.bootstrap-yop .thumbnail>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}.bootstrap-yop a.thumbnail.active,.bootstrap-yop a.thumbnail:focus,.bootstrap-yop a.thumbnail:hover{border-color:#428bca}.bootstrap-yop .thumbnail .caption{padding:9px;color:#333}.bootstrap-yop .alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.bootstrap-yop .alert h4{margin-top:0;color:inherit}.bootstrap-yop .alert .alert-link{font-weight:700}.bootstrap-yop .alert>p,.bootstrap-yop .alert>ul{margin-bottom:0}.bootstrap-yop .alert>p+p{margin-top:5px}.bootstrap-yop .alert-dismissable{padding-right:35px}.bootstrap-yop .alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.bootstrap-yop .alert-success{color:#3c763d;background-color:#dff0d8}.bootstrap-yop .alert-success hr{border-top-color:#c9e2b3}.bootstrap-yop .alert-success .alert-link{color:#2b542c}.bootstrap-yop .alert-info{color:#31708f;background-color:#d9edf7}.bootstrap-yop .alert-info hr{border-top-color:#a6e1ec}.bootstrap-yop .alert-info .alert-link{color:#245269}.bootstrap-yop .alert-warning{color:#8a6d3b;background-color:#fcf8e3}.bootstrap-yop .alert-warning hr{border-top-color:#f7e1b5}.bootstrap-yop .alert-warning .alert-link{color:#66512c}.bootstrap-yop .alert-danger{color:#a94442;background-color:#f2dede}.bootstrap-yop .alert-danger hr{border-top-color:#e4b9c0}.bootstrap-yop .alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.bootstrap-yop .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)}.bootstrap-yop .progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.bootstrap-yop .progress-striped .progress-bar{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.bootstrap-yop .progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.bootstrap-yop .progress-bar-success{background-color:#5cb85c}.bootstrap-yop .progress-striped .progress-bar-success{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)}.bootstrap-yop .progress-striped .progress-bar-info,.bootstrap-yop .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)}.bootstrap-yop .progress-bar-info{background-color:#5bc0de}.bootstrap-yop .progress-striped .progress-bar-info{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)}.bootstrap-yop .progress-bar-warning{background-color:#f0ad4e}.bootstrap-yop .progress-striped .progress-bar-warning{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)}.bootstrap-yop .progress-bar-danger{background-color:#d9534f}.bootstrap-yop .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.bootstrap-yop .media,.bootstrap-yop .media-body{overflow:hidden;zoom:1}.bootstrap-yop .media,.bootstrap-yop .media .media{margin-top:15px}.bootstrap-yop .media:first-child{margin-top:0}.bootstrap-yop .media-object{display:block}.bootstrap-yop .media-heading{margin:0 0 5px}.bootstrap-yop .media>.pull-left{margin-right:10px}.bootstrap-yop .media>.pull-right{margin-left:10px}.bootstrap-yop .media-list{padding-left:0;list-style:none}.bootstrap-yop .list-group{padding-left:0;margin-bottom:20px}.bootstrap-yop .list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.bootstrap-yop .list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.bootstrap-yop .list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.bootstrap-yop .list-group-item>.badge{float:right}.bootstrap-yop .list-group-item>.badge+.badge{margin-right:5px}.bootstrap-yop a.list-group-item{color:#555}.bootstrap-yop a.list-group-item .list-group-item-heading{color:#333}.bootstrap-yop a.list-group-item:focus,.bootstrap-yop a.list-group-item:hover{text-decoration:none;background-color:#f5f5f5}.bootstrap-yop a.list-group-item.active,.bootstrap-yop a.list-group-item.active:focus,.bootstrap-yop a.list-group-item.active:hover{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.bootstrap-yop a.list-group-item.active .list-group-item-heading,.bootstrap-yop a.list-group-item.active:focus .list-group-item-heading,.bootstrap-yop a.list-group-item.active:hover .list-group-item-heading{color:inherit}.bootstrap-yop a.list-group-item.active .list-group-item-text,.bootstrap-yop a.list-group-item.active:focus .list-group-item-text,.bootstrap-yop a.list-group-item.active:hover .list-group-item-text{color:#e1edf7}.bootstrap-yop .panel-heading>.dropdown .dropdown-toggle,.bootstrap-yop .panel-title>a{color:inherit}.bootstrap-yop .list-group-item-heading{margin-top:0;margin-bottom:5px}.bootstrap-yop .list-group-item-text{margin-bottom:0;line-height:1.3}.bootstrap-yop .panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px}.bootstrap-yop .panel-body{padding:15px}.bootstrap-yop .panel-body:after,.bootstrap-yop .panel-body:before{display:table;content:" "}.bootstrap-yop .panel>.list-group{margin-bottom:0}.bootstrap-yop .panel>.list-group .list-group-item{border-width:1px 0}.bootstrap-yop .panel>.list-group .list-group-item:last-child,.bootstrap-yop .panel>.table-bordered>tbody>tr:last-child>td,.bootstrap-yop .panel>.table-bordered>tbody>tr:last-child>th,.bootstrap-yop .panel>.table-bordered>tfoot>tr:last-child>td,.bootstrap-yop .panel>.table-bordered>tfoot>tr:last-child>th,.bootstrap-yop .panel>.table-bordered>thead>tr:last-child>td,.bootstrap-yop .panel>.table-bordered>thead>tr:last-child>th,.bootstrap-yop .panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.bootstrap-yop .panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.bootstrap-yop .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.bootstrap-yop .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.bootstrap-yop .panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.bootstrap-yop .panel>.table-responsive>.table-bordered>thead>tr:last-child>th{border-bottom:0}.bootstrap-yop .panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.bootstrap-yop .panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.bootstrap-yop .panel>.table,.bootstrap-yop .panel>.table-responsive>.table{margin-bottom:0}.bootstrap-yop .panel>.panel-body+.table,.bootstrap-yop .panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.bootstrap-yop .panel>.table>tbody:first-child td,.bootstrap-yop .panel>.table>tbody:first-child th{border-top:0}.bootstrap-yop .panel>.table-bordered,.bootstrap-yop .panel>.table-responsive>.table-bordered{border:0}.bootstrap-yop .panel>.table-bordered>tbody>tr>td:first-child,.bootstrap-yop .panel>.table-bordered>tbody>tr>th:first-child,.bootstrap-yop .panel>.table-bordered>tfoot>tr>td:first-child,.bootstrap-yop .panel>.table-bordered>tfoot>tr>th:first-child,.bootstrap-yop .panel>.table-bordered>thead>tr>td:first-child,.bootstrap-yop .panel>.table-bordered>thead>tr>th:first-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.bootstrap-yop .panel>.table-bordered>tbody>tr>td:last-child,.bootstrap-yop .panel>.table-bordered>tbody>tr>th:last-child,.bootstrap-yop .panel>.table-bordered>tfoot>tr>td:last-child,.bootstrap-yop .panel>.table-bordered>tfoot>tr>th:last-child,.bootstrap-yop .panel>.table-bordered>thead>tr>td:last-child,.bootstrap-yop .panel>.table-bordered>thead>tr>th:last-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.bootstrap-yop .panel>.table-responsive{margin-bottom:0;border:0}.bootstrap-yop .panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.bootstrap-yop .panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.bootstrap-yop .panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.bootstrap-yop .panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.bootstrap-yop .panel-group .panel+.panel{margin-top:5px}.bootstrap-yop .panel-group .panel-heading{border-bottom:0}.bootstrap-yop .panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.bootstrap-yop .panel-group .panel-footer{border-top:0}.bootstrap-yop .panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.bootstrap-yop .panel-default{border-color:#ddd}.bootstrap-yop .panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.bootstrap-yop .panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.bootstrap-yop .panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.bootstrap-yop .panel-primary{border-color:#428bca}.bootstrap-yop .panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.bootstrap-yop .panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.bootstrap-yop .panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.bootstrap-yop .panel-success{border-color:#d6e9c6}.bootstrap-yop .panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.bootstrap-yop .panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.bootstrap-yop .panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.bootstrap-yop .panel-warning{border-color:#faebcc}.bootstrap-yop .panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.bootstrap-yop .panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.bootstrap-yop .panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.bootstrap-yop .panel-danger{border-color:#ebccd1}.bootstrap-yop .panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.bootstrap-yop .panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.bootstrap-yop .panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.bootstrap-yop .panel-info{border-color:#bce8f1}.bootstrap-yop .panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.bootstrap-yop .panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.bootstrap-yop .panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.bootstrap-yop .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px}.bootstrap-yop .well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.bootstrap-yop .well-lg{padding:24px;border-radius:6px}.bootstrap-yop .well-sm{padding:9px;border-radius:3px}.bootstrap-yop .close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.bootstrap-yop .close:focus,.bootstrap-yop .close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}.bootstrap-yop button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.bootstrap-yop .modal-open{overflow:hidden}.bootstrap-yop .modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll}.bootstrap-yop .modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.bootstrap-yop .modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.bootstrap-yop .modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.bootstrap-yop .modal-content{position:relative;background-color:#fff;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);background-clip:padding-box}.bootstrap-yop .modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.bootstrap-yop .modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.bootstrap-yop .modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.bootstrap-yop .modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.bootstrap-yop .modal-header .close{margin-top:-2px}.bootstrap-yop .modal-title{margin:0;line-height:1.428571429}.bootstrap-yop .modal-body{position:relative;padding:20px}.bootstrap-yop .modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.bootstrap-yop .modal-footer:after,.bootstrap-yop .modal-footer:before{display:table;content:" "}.bootstrap-yop .modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.bootstrap-yop .modal-footer .btn-group .btn+.btn{margin-left:-1px}.bootstrap-yop .modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.bootstrap-yop .modal-dialog{width:600px;margin:30px auto}.bootstrap-yop .modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}}.bootstrap-yop .tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.bootstrap-yop .tooltip.in{opacity:.9;filter:alpha(opacity=90)}.bootstrap-yop .tooltip.top{padding:5px 0;margin-top:-3px}.bootstrap-yop .tooltip.right{padding:0 5px;margin-left:3px}.bootstrap-yop .tooltip.bottom{padding:5px 0;margin-top:3px}.bootstrap-yop .tooltip.left{padding:0 5px;margin-left:-3px}.bootstrap-yop .tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.bootstrap-yop .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.bootstrap-yop .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.bootstrap-yop .tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#000;border-width:5px 5px 0}.bootstrap-yop .tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#000;border-width:5px 5px 0}.bootstrap-yop .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.bootstrap-yop .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.bootstrap-yop .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.bootstrap-yop .tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#000;border-width:0 5px 5px}.bootstrap-yop .tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#000;border-width:0 5px 5px}.bootstrap-yop .popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;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);background-clip:padding-box}.bootstrap-yop .popover.top{margin-top:-10px}.bootstrap-yop .popover.right{margin-left:10px}.bootstrap-yop .popover.bottom{margin-top:10px}.bootstrap-yop .popover.left{margin-left:-10px}.bootstrap-yop .popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.bootstrap-yop .popover-content{padding:9px 14px}.bootstrap-yop .popover .arrow,.bootstrap-yop .popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.bootstrap-yop .popover .arrow{border-width:11px}.bootstrap-yop .popover .arrow:after{border-width:10px;content:""}.bootstrap-yop .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}.bootstrap-yop .popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.bootstrap-yop .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}.bootstrap-yop .popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.bootstrap-yop .popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);border-top-width:0}.bootstrap-yop .popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.bootstrap-yop .popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,.25);border-right-width:0}.bootstrap-yop .popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.bootstrap-yop .carousel{position:relative}.bootstrap-yop .carousel-inner{position:relative;width:100%;overflow:hidden}.bootstrap-yop .carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.bootstrap-yop .carousel-inner>.item>a>img,.bootstrap-yop .carousel-inner>.item>img{display:block;height:auto;max-width:100%;line-height:1}.bootstrap-yop .carousel-inner>.active,.bootstrap-yop .carousel-inner>.next,.bootstrap-yop .carousel-inner>.prev{display:block}.bootstrap-yop .carousel-inner>.active{left:0}.bootstrap-yop .carousel-inner>.next,.bootstrap-yop .carousel-inner>.prev{position:absolute;top:0;width:100%}.bootstrap-yop .carousel-inner>.next{left:100%}.bootstrap-yop .carousel-inner>.prev{left:-100%}.bootstrap-yop .carousel-inner>.next.left,.bootstrap-yop .carousel-inner>.prev.right{left:0}.bootstrap-yop .carousel-inner>.active.left{left:-100%}.bootstrap-yop .carousel-inner>.active.right{left:100%}.bootstrap-yop .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);opacity:.5;filter:alpha(opacity=50)}.bootstrap-yop .carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.bootstrap-yop .carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.bootstrap-yop .carousel-control:focus,.bootstrap-yop .carousel-control:hover{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.bootstrap-yop .carousel-control .glyphicon-chevron-left,.bootstrap-yop .carousel-control .glyphicon-chevron-right,.bootstrap-yop .carousel-control .icon-next,.bootstrap-yop .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.bootstrap-yop .carousel-control .glyphicon-chevron-left,.bootstrap-yop .carousel-control .icon-prev{left:50%}.bootstrap-yop .carousel-control .glyphicon-chevron-right,.bootstrap-yop .carousel-control .icon-next{right:50%}.bootstrap-yop .carousel-control .icon-next,.bootstrap-yop .carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.bootstrap-yop .carousel-control .icon-prev:before{content:'\2039'}.bootstrap-yop .carousel-control .icon-next:before{content:'\203a'}.bootstrap-yop .carousel-indicators{position:absolute;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.bootstrap-yop .carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border-radius:10px}.bootstrap-yop .carousel-indicators .active{width:12px;height:12px;margin:0}.bootstrap-yop .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)}.bootstrap-yop .carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.bootstrap-yop .carousel-control .glyphicons-chevron-left,.bootstrap-yop .carousel-control .glyphicons-chevron-right,.bootstrap-yop .carousel-control .icon-next,.bootstrap-yop .carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.bootstrap-yop .carousel-caption{right:20%;left:20%;padding-bottom:30px}.bootstrap-yop .carousel-indicators{bottom:20px}}.bootstrap-yop .clearfix:after,.bootstrap-yop .clearfix:before{display:table;content:" "}.bootstrap-yop .center-block{display:block;margin-right:auto;margin-left:auto}.bootstrap-yop .pull-right{float:right!important}.bootstrap-yop .pull-left{float:left!important}.bootstrap-yop .hide{display:none!important}.bootstrap-yop .show{display:block!important}.bootstrap-yop .hidden,.bootstrap-yop .visible-xs,.bootstrap-yop td.visible-xs,.bootstrap-yop th.visible-xs,.bootstrap-yop tr.visible-xs{display:none!important}.bootstrap-yop .invisible{visibility:hidden}.bootstrap-yop .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.bootstrap-yop .hidden{visibility:hidden!important}.bootstrap-yop .affix{position:fixed}@-ms-viewport{width:device-width}@media (max-width:767px){.bootstrap-yop .visible-xs{display:block!important}.bootstrap-yop table.visible-xs{display:table}.bootstrap-yop tr.visible-xs{display:table-row!important}.bootstrap-yop td.visible-xs,.bootstrap-yop th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .visible-xs.visible-sm{display:block!important}.bootstrap-yop table.visible-xs.visible-sm{display:table}.bootstrap-yop tr.visible-xs.visible-sm{display:table-row!important}.bootstrap-yop td.visible-xs.visible-sm,.bootstrap-yop th.visible-xs.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .visible-xs.visible-md{display:block!important}.bootstrap-yop table.visible-xs.visible-md{display:table}.bootstrap-yop tr.visible-xs.visible-md{display:table-row!important}.bootstrap-yop td.visible-xs.visible-md,.bootstrap-yop th.visible-xs.visible-md{display:table-cell!important}}@media (min-width:1200px){.bootstrap-yop .visible-xs.visible-lg{display:block!important}.bootstrap-yop table.visible-xs.visible-lg{display:table}.bootstrap-yop tr.visible-xs.visible-lg{display:table-row!important}.bootstrap-yop td.visible-xs.visible-lg,.bootstrap-yop th.visible-xs.visible-lg{display:table-cell!important}}.bootstrap-yop .visible-sm,.bootstrap-yop td.visible-sm,.bootstrap-yop th.visible-sm,.bootstrap-yop tr.visible-sm{display:none!important}@media (max-width:767px){.bootstrap-yop .visible-sm.visible-xs{display:block!important}.bootstrap-yop table.visible-sm.visible-xs{display:table}.bootstrap-yop tr.visible-sm.visible-xs{display:table-row!important}.bootstrap-yop td.visible-sm.visible-xs,.bootstrap-yop th.visible-sm.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .visible-sm{display:block!important}.bootstrap-yop table.visible-sm{display:table}.bootstrap-yop tr.visible-sm{display:table-row!important}.bootstrap-yop td.visible-sm,.bootstrap-yop th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .visible-sm.visible-md{display:block!important}.bootstrap-yop table.visible-sm.visible-md{display:table}.bootstrap-yop tr.visible-sm.visible-md{display:table-row!important}.bootstrap-yop td.visible-sm.visible-md,.bootstrap-yop th.visible-sm.visible-md{display:table-cell!important}}@media (min-width:1200px){.bootstrap-yop .visible-sm.visible-lg{display:block!important}.bootstrap-yop table.visible-sm.visible-lg{display:table}.bootstrap-yop tr.visible-sm.visible-lg{display:table-row!important}.bootstrap-yop td.visible-sm.visible-lg,.bootstrap-yop th.visible-sm.visible-lg{display:table-cell!important}}.bootstrap-yop .visible-md,.bootstrap-yop td.visible-md,.bootstrap-yop th.visible-md,.bootstrap-yop tr.visible-md{display:none!important}@media (max-width:767px){.bootstrap-yop .visible-md.visible-xs{display:block!important}.bootstrap-yop table.visible-md.visible-xs{display:table}.bootstrap-yop tr.visible-md.visible-xs{display:table-row!important}.bootstrap-yop td.visible-md.visible-xs,.bootstrap-yop th.visible-md.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .visible-md.visible-sm{display:block!important}.bootstrap-yop table.visible-md.visible-sm{display:table}.bootstrap-yop tr.visible-md.visible-sm{display:table-row!important}.bootstrap-yop td.visible-md.visible-sm,.bootstrap-yop th.visible-md.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .visible-md{display:block!important}.bootstrap-yop table.visible-md{display:table}.bootstrap-yop tr.visible-md{display:table-row!important}.bootstrap-yop td.visible-md,.bootstrap-yop th.visible-md{display:table-cell!important}}@media (min-width:1200px){.bootstrap-yop .visible-md.visible-lg{display:block!important}.bootstrap-yop table.visible-md.visible-lg{display:table}.bootstrap-yop tr.visible-md.visible-lg{display:table-row!important}.bootstrap-yop td.visible-md.visible-lg,.bootstrap-yop th.visible-md.visible-lg{display:table-cell!important}}.bootstrap-yop .visible-lg,.bootstrap-yop td.visible-lg,.bootstrap-yop th.visible-lg,.bootstrap-yop tr.visible-lg{display:none!important}@media (max-width:767px){.bootstrap-yop .visible-lg.visible-xs{display:block!important}.bootstrap-yop table.visible-lg.visible-xs{display:table}.bootstrap-yop tr.visible-lg.visible-xs{display:table-row!important}.bootstrap-yop td.visible-lg.visible-xs,.bootstrap-yop th.visible-lg.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .visible-lg.visible-sm{display:block!important}.bootstrap-yop table.visible-lg.visible-sm{display:table}.bootstrap-yop tr.visible-lg.visible-sm{display:table-row!important}.bootstrap-yop td.visible-lg.visible-sm,.bootstrap-yop th.visible-lg.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .visible-lg.visible-md{display:block!important}.bootstrap-yop table.visible-lg.visible-md{display:table}.bootstrap-yop tr.visible-lg.visible-md{display:table-row!important}.bootstrap-yop td.visible-lg.visible-md,.bootstrap-yop th.visible-lg.visible-md{display:table-cell!important}}@media (min-width:1200px){.bootstrap-yop .visible-lg{display:block!important}.bootstrap-yop table.visible-lg{display:table}.bootstrap-yop tr.visible-lg{display:table-row!important}.bootstrap-yop td.visible-lg,.bootstrap-yop th.visible-lg{display:table-cell!important}}.bootstrap-yop .hidden-xs{display:block!important}.bootstrap-yop table.hidden-xs{display:table}.bootstrap-yop tr.hidden-xs{display:table-row!important}.bootstrap-yop td.hidden-xs,.bootstrap-yop th.hidden-xs{display:table-cell!important}@media (max-width:767px){.bootstrap-yop .hidden-xs,.bootstrap-yop td.hidden-xs,.bootstrap-yop th.hidden-xs,.bootstrap-yop tr.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .hidden-xs.hidden-sm,.bootstrap-yop td.hidden-xs.hidden-sm,.bootstrap-yop th.hidden-xs.hidden-sm,.bootstrap-yop tr.hidden-xs.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .hidden-xs.hidden-md,.bootstrap-yop td.hidden-xs.hidden-md,.bootstrap-yop th.hidden-xs.hidden-md,.bootstrap-yop tr.hidden-xs.hidden-md{display:none!important}}@media (min-width:1200px){.bootstrap-yop .hidden-xs.hidden-lg,.bootstrap-yop td.hidden-xs.hidden-lg,.bootstrap-yop th.hidden-xs.hidden-lg,.bootstrap-yop tr.hidden-xs.hidden-lg{display:none!important}}.bootstrap-yop .hidden-sm{display:block!important}.bootstrap-yop table.hidden-sm{display:table}.bootstrap-yop tr.hidden-sm{display:table-row!important}.bootstrap-yop td.hidden-sm,.bootstrap-yop th.hidden-sm{display:table-cell!important}@media (max-width:767px){.bootstrap-yop .hidden-sm.hidden-xs,.bootstrap-yop td.hidden-sm.hidden-xs,.bootstrap-yop th.hidden-sm.hidden-xs,.bootstrap-yop tr.hidden-sm.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .hidden-sm,.bootstrap-yop td.hidden-sm,.bootstrap-yop th.hidden-sm,.bootstrap-yop tr.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .hidden-sm.hidden-md,.bootstrap-yop td.hidden-sm.hidden-md,.bootstrap-yop th.hidden-sm.hidden-md,.bootstrap-yop tr.hidden-sm.hidden-md{display:none!important}}@media (min-width:1200px){.bootstrap-yop .hidden-sm.hidden-lg,.bootstrap-yop td.hidden-sm.hidden-lg,.bootstrap-yop th.hidden-sm.hidden-lg,.bootstrap-yop tr.hidden-sm.hidden-lg{display:none!important}}.bootstrap-yop .hidden-md{display:block!important}.bootstrap-yop table.hidden-md{display:table}.bootstrap-yop tr.hidden-md{display:table-row!important}.bootstrap-yop td.hidden-md,.bootstrap-yop th.hidden-md{display:table-cell!important}@media (max-width:767px){.bootstrap-yop .hidden-md.hidden-xs,.bootstrap-yop td.hidden-md.hidden-xs,.bootstrap-yop th.hidden-md.hidden-xs,.bootstrap-yop tr.hidden-md.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .hidden-md.hidden-sm,.bootstrap-yop td.hidden-md.hidden-sm,.bootstrap-yop th.hidden-md.hidden-sm,.bootstrap-yop tr.hidden-md.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .hidden-md,.bootstrap-yop td.hidden-md,.bootstrap-yop th.hidden-md,.bootstrap-yop tr.hidden-md{display:none!important}}@media (min-width:1200px){.bootstrap-yop .hidden-md.hidden-lg,.bootstrap-yop td.hidden-md.hidden-lg,.bootstrap-yop th.hidden-md.hidden-lg,.bootstrap-yop tr.hidden-md.hidden-lg{display:none!important}}.bootstrap-yop .hidden-lg{display:block!important}.bootstrap-yop table.hidden-lg{display:table}.bootstrap-yop tr.hidden-lg{display:table-row!important}.bootstrap-yop td.hidden-lg,.bootstrap-yop th.hidden-lg{display:table-cell!important}@media (max-width:767px){.bootstrap-yop .hidden-lg.hidden-xs,.bootstrap-yop td.hidden-lg.hidden-xs,.bootstrap-yop th.hidden-lg.hidden-xs,.bootstrap-yop tr.hidden-lg.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .hidden-lg.hidden-sm,.bootstrap-yop td.hidden-lg.hidden-sm,.bootstrap-yop th.hidden-lg.hidden-sm,.bootstrap-yop tr.hidden-lg.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .hidden-lg.hidden-md,.bootstrap-yop td.hidden-lg.hidden-md,.bootstrap-yop th.hidden-lg.hidden-md,.bootstrap-yop tr.hidden-lg.hidden-md{display:none!important}}@media (min-width:1200px){.bootstrap-yop .hidden-lg,.bootstrap-yop td.hidden-lg,.bootstrap-yop th.hidden-lg,.bootstrap-yop tr.hidden-lg{display:none!important}}.bootstrap-yop .visible-print,.bootstrap-yop td.visible-print,.bootstrap-yop th.visible-print,.bootstrap-yop tr.visible-print{display:none!important}@media print{.bootstrap-yop .visible-print{display:block!important}.bootstrap-yop table.visible-print{display:table}.bootstrap-yop tr.visible-print{display:table-row!important}.bootstrap-yop td.visible-print,.bootstrap-yop th.visible-print{display:table-cell!important}.bootstrap-yop .hidden-print,.bootstrap-yop td.hidden-print,.bootstrap-yop th.hidden-print,.bootstrap-yop tr.hidden-print{display:none!important}}.bootstrap-yop .btn-danger,.bootstrap-yop .btn-default,.bootstrap-yop .btn-info,.bootstrap-yop .btn-primary,.bootstrap-yop .btn-success,.bootstrap-yop .btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.bootstrap-yop .btn-danger.active,.bootstrap-yop .btn-danger:active,.bootstrap-yop .btn-default.active,.bootstrap-yop .btn-default:active,.bootstrap-yop .btn-info.active,.bootstrap-yop .btn-info:active,.bootstrap-yop .btn-primary.active,.bootstrap-yop .btn-primary:active,.bootstrap-yop .btn-success.active,.bootstrap-yop .btn-success:active,.bootstrap-yop .btn-warning.active,.bootstrap-yop .btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.bootstrap-yop .btn.active,.bootstrap-yop .btn:active{background-image:none}.bootstrap-yop .btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .btn-default:focus,.bootstrap-yop .btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.bootstrap-yop .btn-default.active,.bootstrap-yop .btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.bootstrap-yop .btn-primary{background-image:-webkit-linear-gradient(top,#428bca 0,#2d6ca2 100%);background-image:linear-gradient(to bottom,#428bca 0,#2d6ca2 100%);background-repeat:repeat-x;border-color:#2b669a;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .btn-primary:focus,.bootstrap-yop .btn-primary:hover{background-color:#2d6ca2;background-position:0 -15px}.bootstrap-yop .btn-primary.active,.bootstrap-yop .btn-primary:active{background-color:#2d6ca2;border-color:#2b669a}.bootstrap-yop .btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);background-repeat:repeat-x;border-color:#3e8f3e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .btn-success:focus,.bootstrap-yop .btn-success:hover{background-color:#419641;background-position:0 -15px}.bootstrap-yop .btn-success.active,.bootstrap-yop .btn-success:active{background-color:#419641;border-color:#3e8f3e}.bootstrap-yop .btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);background-repeat:repeat-x;border-color:#e38d13;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .btn-warning:focus,.bootstrap-yop .btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.bootstrap-yop .btn-warning.active,.bootstrap-yop .btn-warning:active{background-color:#eb9316;border-color:#e38d13}.bootstrap-yop .btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);background-repeat:repeat-x;border-color:#b92c28;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .btn-danger:focus,.bootstrap-yop .btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.bootstrap-yop .btn-danger.active,.bootstrap-yop .btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.bootstrap-yop .btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);background-repeat:repeat-x;border-color:#28a4c9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .btn-info:focus,.bootstrap-yop .btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.bootstrap-yop .btn-info.active,.bootstrap-yop .btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.bootstrap-yop .img-thumbnail,.bootstrap-yop .thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.bootstrap-yop .dropdown-menu>li>a:focus,.bootstrap-yop .dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.bootstrap-yop .dropdown-menu>.active>a,.bootstrap-yop .dropdown-menu>.active>a:focus,.bootstrap-yop .dropdown-menu>.active>a:hover{background-color:#357ebd;background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.bootstrap-yop .navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.bootstrap-yop .navbar-default .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f3f3f3 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f3f3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.bootstrap-yop .navbar-brand,.bootstrap-yop .navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.bootstrap-yop .navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .navbar-inverse .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#222 0,#282828 100%);background-image:linear-gradient(to bottom,#222 0,#282828 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.bootstrap-yop .navbar-inverse .navbar-brand,.bootstrap-yop .navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.bootstrap-yop .navbar-fixed-bottom,.bootstrap-yop .navbar-fixed-top,.bootstrap-yop .navbar-static-top{border-radius:0}.bootstrap-yop .alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.bootstrap-yop .alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);background-repeat:repeat-x;border-color:#b2dba1;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0)}.bootstrap-yop .alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;border-color:#9acfea;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0)}.bootstrap-yop .alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);background-repeat:repeat-x;border-color:#f5e79e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0)}.bootstrap-yop .alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);background-repeat:repeat-x;border-color:#dca7a7;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0)}.bootstrap-yop .progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0)}.bootstrap-yop .progress-bar{background-image:-webkit-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0)}.bootstrap-yop .progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0)}.bootstrap-yop .progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0)}.bootstrap-yop .progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0)}.bootstrap-yop .progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0)}.bootstrap-yop .list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.bootstrap-yop .list-group-item.active,.bootstrap-yop .list-group-item.active:focus,.bootstrap-yop .list-group-item.active:hover{text-shadow:0 -1px 0 #3071a9;background-image:-webkit-linear-gradient(top,#428bca 0,#3278b3 100%);background-image:linear-gradient(to bottom,#428bca 0,#3278b3 100%);background-repeat:repeat-x;border-color:#3278b3;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0)}.bootstrap-yop .panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.bootstrap-yop .panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.bootstrap-yop .panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.bootstrap-yop .panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0)}.bootstrap-yop .panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0)}.bootstrap-yop .panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0)}.bootstrap-yop .panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0)}.bootstrap-yop .well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);background-repeat:repeat-x;border-color:#dcdcdc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)}.container,.flexslider,.well .markup{background:#fff}h4~p{padding-left:20px}.inl-bl{display:inline-block}.well .markup{color:#777;position:relative;padding:45px 15px 15px;margin:15px 0 0;border-radius:0 0 4px 4px;box-shadow:none}.well .markup::after{content:"Example";position:absolute;top:15px;left:15px;font-size:12px;font-weight:700;color:#bbb;text-transform:uppercase;letter-spacing:1px}.flex-container a:active,.flex-container a:focus,.flexslider a:active,.flexslider a:focus{outline:0}.flex-control-nav,.flex-direction-nav,.slides{margin:0;padding:0;list-style:none}@font-face{font-family:flexslider-icon;src:url(../fonts/flexslider-icon.eot);src:url(../fonts/flexslider-icon.eot?#iefix) format('embedded-opentype'),url(../fonts/flexslider-icon.woff) format('woff'),url(../fonts/flexslider-icon.ttf) format('truetype'),url(../fonts/flexslider-icon.svg#flexslider-icon) format('svg');font-weight:400;font-style:normal}.flexslider{padding:0;margin:0 0 60px;border:4px solid #fff;position:relative;-webkit-border-radius:4px;-moz-border-radius:4px;-o-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 4px rgba(0,0,0,.2);-moz-box-shadow:0 1px 4px rgba(0,0,0,.2);-o-box-shadow:0 1px 4px rgba(0,0,0,.2);box-shadow:0 1px 4px rgba(0,0,0,.2);zoom:1}.flexslider .slides>li{display:none;-webkit-backface-visibility:hidden}.flex-direction-nav a,.no-js .slides>li:first-child,.slides:after,html[xmlns] .slides{display:block}.flexslider .slides img{width:100%;display:block}.flex-pauseplay span{text-transform:capitalize}.slides:after{content:".";visibility:hidden;line-height:0;height:0}* html .slides{height:1%}.flex-viewport{max-height:2000px;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.loading .flex-viewport{max-height:300px}.flexslider .slides{zoom:1}.carousel li{margin-right:5px}.flex-direction-nav a{text-decoration:none;width:40px;height:40px;margin:-20px 0 0;position:absolute;top:50%;z-index:10;overflow:hidden;opacity:0;cursor:pointer;color:rgba(0,0,0,.8);text-shadow:1px 1px 0 rgba(255,255,255,.3);-webkit-transition:all .3s ease;-moz-transition:all .3s ease;transition:all .3s ease}.flex-direction-nav .flex-prev{left:10px;opacity:.7}.flex-direction-nav .flex-next{right:10px;text-align:right;opacity:.7}.flexslider:hover .flexslider:hover{opacity:1}.flex-direction-nav .flex-disabled{opacity:0!important;filter:alpha(opacity=0);cursor:default}.flex-direction-nav a:before{font-family:flexslider-icon;font-size:40px;line-height:1;display:inline-block;content:'\f001'}.flex-direction-nav a.flex-next:before{content:'\f002'}.flex-pauseplay a{display:block;width:20px;height:20px;position:absolute;bottom:5px;left:10px;opacity:.8;z-index:10;overflow:hidden;cursor:pointer;color:#000}.flex-pauseplay a:before{font-family:flexslider-icon;font-size:20px;display:inline-block;content:'\f004'}.flex-pauseplay a:hover{opacity:1}.flex-pauseplay a.flex-play:before{content:'\f003'}.flex-control-nav{width:100%;position:absolute;bottom:-40px;text-align:center}.flex-control-nav li{margin:0 6px;display:inline-block;zoom:1}.flex-control-paging li a{width:11px;height:11px;display:block;background:#666;background:rgba(0,0,0,.5);cursor:pointer;text-indent:-9999px;-webkit-border-radius:20px;-moz-border-radius:20px;-o-border-radius:20px;border-radius:20px;-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,.3);-moz-box-shadow:inset 0 0 3px rgba(0,0,0,.3);-o-box-shadow:inset 0 0 3px rgba(0,0,0,.3);box-shadow:inset 0 0 3px rgba(0,0,0,.3)}.flex-control-paging li a:hover{background:#333;background:rgba(0,0,0,.7)}.flex-control-paging li a.flex-active{background:#000;background:rgba(0,0,0,.9);cursor:default}.flex-control-thumbs{margin:5px 0 0;position:static;overflow:hidden}.flex-control-thumbs li{width:25%;float:left;margin:0}.flex-control-thumbs img{width:100%;display:block;opacity:.7;cursor:pointer}.flex-control-thumbs img:hover{opacity:1}.flex-control-thumbs .flex-active{opacity:1;cursor:default}@media screen and (max-width:860px){.flex-direction-nav .flex-prev{opacity:1;left:10px}.flex-direction-nav .flex-next{opacity:1;right:10px}}.yop_testimonials{border:2px solid;border-radius:15px}.yop_testimonials_header{text-align:left;font-size:20px;font-weight:700;margin-left:5%}.yop_testimonials_content{text-align:left;font-size:15px;margin-left:5%;margin-right:5%}.yop_testimonials_client{text-align:right;font-size:15px;margin-left:5%;margin-right:5%;font-weight:700}.upgrade_button{color:#fff;display:inline-block;font-weight:700;margin-left:auto;margin-right:auto;text-align:center!important;text-decoration:none!important;border-radius:5px;font-size:21px;padding:15px 35px;background-color:#0e8dc7;border:none;cursor:pointer}.ui-timepicker-div .ui_tpicker_unit_hide,.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time,.ui-timepicker-div.ui-timepicker-oneLine dt{display:none}.upgrade_button:hover{background-color:#0b72a1!important}.yop_testimonials_pro1{border:2px solid;border-radius:15px;text-align:center;width:44%;float:left;margin-top:10px}.yop_testimonials_pro2{border:2px solid;border-radius:15px;margin-right:10%;width:44%;float:right;margin-top:10px}section{width:80%;height:200px;text-align:center;margin:auto;padding:10px}.ui-timepicker-div .ui-widget-header{margin-bottom:8px}.ui-timepicker-div dl{text-align:left}.ui-timepicker-div dl dt{float:left;clear:left;padding:0 0 0 5px}.ui-timepicker-div dl dd{margin:0 10px 10px 40%}.ui-timepicker-div td{font-size:90%}.ui-tpicker-grid-label{background:0 0;border:none;margin:0;padding:0}.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input{background:0 0;color:inherit;border:none;outline:0;border-bottom:solid 1px #555;width:95%}.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus{border-bottom-color:#aaa}.ui-timepicker-rtl dl{text-align:right;padding:0 5px 0 0}.ui-timepicker-rtl dl dt{float:right;clear:right}.ui-timepicker-rtl dl dd{margin:0 40% 10px 10px}.ui-timepicker-div.ui-timepicker-oneLine{padding-right:2px}.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label{display:block;padding-top:2px}.ui-timepicker-div.ui-timepicker-oneLine dl{text-align:right}.ui-timepicker-div.ui-timepicker-oneLine dl dd,.ui-timepicker-div.ui-timepicker-oneLine dl dd>div{display:inline-block;margin:0}.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before,.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before{content:':';display:inline-block}.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before,.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before{content:'.';display:inline-block}.ui-helper-hidden,.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide,.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before{display:none}/*! jQuery UI - v1.12.0 - 2016-07-08
12
* http://jqueryui.com
13
* Includes: core.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, draggable.css, resizable.css, progressbar.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
14
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&fwDefault=normal&cornerRadius=3px&bgColorHeader=e9e9e9&bgTextureHeader=flat&borderColorHeader=dddddd&fcHeader=333333&iconColorHeader=444444&bgColorContent=ffffff&bgTextureContent=flat&borderColorContent=dddddd&fcContent=333333&iconColorContent=444444&bgColorDefault=f6f6f6&bgTextureDefault=flat&borderColorDefault=c5c5c5&fcDefault=454545&iconColorDefault=777777&bgColorHover=ededed&bgTextureHover=flat&borderColorHover=cccccc&fcHover=2b2b2b&iconColorHover=555555&bgColorActive=007fff&bgTextureActive=flat&borderColorActive=003eff&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=fffa90&bgTextureHighlight=flat&borderColorHighlight=dad55e&fcHighlight=777620&iconColorHighlight=777620&bgColorError=fddfdf&bgTextureError=flat&borderColorError=f1a899&fcError=5f3f3f&iconColorError=cc0000&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=666666&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=5px&offsetTopShadow=0px&offsetLeftShadow=0px&cornerRadiusShadow=8px
1
+ @import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);@import url(//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css);.border,.question:hover{outline:#EEE solid 1px}.bar-title,.premium,.yop-poll-hook h3 span,h2{text-transform:uppercase}.btn-underline,.upgrade-to-pro,.upgrade-to-pro:hover{text-decoration:none!important}.bootstrap-switch,.bootstrap-yop .btn{-moz-user-select:none;-ms-user-select:none}.bootstrap-yop b,.bootstrap-yop strong,.premium{font-weight:700}*,:hover{transition:border 1s,color 1s,outline 1s!important}h3{border-bottom:1px solid #eee}.yop-poll-hook h3 span{padding:.5em 10em .5em 1em;background:#AAA;color:#FFF;font-size:12px;position:relative;bottom:4px;border-top-left-radius:4px;border-top-right-radius:4px;min-width:200px}.tabs-container{background-color:#fff;padding:3em}.question{border-bottom:5px solid #EEE}.question .title-bar{overflow:hidden;padding:.5em 1em;border-bottom:1px solid transparent;cursor:move}.answer:hover>.title-bar,.question:hover>.title-bar{border-bottom:1px solid #EEE}.title-bar.collapsed .bar-title{color:#777}.question .bar-title{cursor:pointer!important}.title-bar .actions{display:none}.answer-text .form-inline .form-group,.answer:hover>.title-bar .actions,.question:hover>.title-bar .actions{display:inline}.bar-title{color:transparent}.answer:hover>.title-bar .bar-title,.question:hover>.title-bar .bar-title{color:#AAA}.answer{margin:1em 0 0;outline:transparent solid 1px}.answer:hover{outline:#EEE solid 1px}.answer-options{display:none}.premium-buttons,.regular-buttons{display:inline-block;overflow:hidden}.form-inline input.form-control.answer-value{width:92%}.content-inside{padding:1em}.hspace{padding:0 .5em}.oh{overflow:hidden}.set-as-default-inline{padding:.5em}.answers input.form-control,.question-text input.form-control{border:1px solid transparent!important;box-shadow:none!important}input.form-control:hover{border:1px solid #CCC!important}.btn-underline{border:none!important;border-bottom:2px solid #000!important}.btn-premium{background:#FFDB4B;border:1px solid #a9a9a9;color:#000}.btn-default{background:#FAFAFA;border:1px solid #CCC}.buttons-row i{font-size:2em}.premium-buttons{float:right;clear:right}.premium{float:left;display:inline;width:50px;color:#EDA033;font-size:12px;margin-right:0;text-align:center;margin-top:-7px}i.glyphicon.glyphicon-info-sign{color:#d3d3d3}i.glyphicon.glyphicon-info-sign:hover{color:orange}ul.main.nav{margin-top:1em}ul.main.nav li{width:33.333333%;text-align:center}ul.main.nav li a{padding:1em}.bootstrap-yop .carousel-inner>.item>a>img,.bootstrap-yop .carousel-inner>.item>img{margin:auto}.bootstrap-yop .carousel-caption{background:rgba(0,0,0,.45);border-radius:4px}.bootstrap-yop .carousel-caption h3{border-bottom:0}.minicolors-theme-bootstrap .minicolors-swatch{cursor:pointer}.select2-container .select2-selection--single{border:1px solid #CCC}.bootstrap-yop a:focus{box-shadow:none;-webkit-box-shadow:none}.tablenav-pages-navspan{height:inherit!important}.panel-heading a:after{font-family:'Glyphicons Halflings';content:"\e114";float:right;color:grey}.panel-heading a.collapsed:after{content:"\e080"}.subactions-links{padding:20px;font-size:14px}.bootstrap-yop .carousel-control.left,.bootstrap-yop .carousel-control.right{background-image:none!important}.bootstrap-yop .carousel-control{z-index:99}.bootstrap-yop .carousel-indicators li{background-color:#fff}.color-scheme li{position:relative;float:left;width:16px;height:16px;margin:2px 1px 0 0;background:#000;cursor:pointer;filter:alpha(opacity=50);opacity:.5;-webkit-transition:opacity .2s;-moz-transition:opacity .2s;-ms-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s}.color-scheme li.red{background:#d54e21}.color-scheme li.green{background:#78a300}.color-scheme li.blue{background:#0e76a8}.color-scheme li.aero{background:#9cc2cb}.color-scheme li.grey{background:#73716e}.color-scheme li.orange{background:#f70}.color-scheme li.yellow{background:#fc0}.color-scheme li.pink{background:#ff66b5}.color-scheme li.purple{background:#6a5a8c}.color-scheme li.active{height:20px;margin-top:0;filter:alpha(opacity=75);opacity:.75}.color-scheme li:hover{filter:alpha(opacity=100);opacity:1}.bootstrap-yop .carousel-indicators .active{border-color:#000;background-color:#000!important}.bootstrap-yop .carousel-indicators li{border:1px solid #000!important}.bootstrap-yop .carousel-inner{display:contents}@media screen and (min-width:768px){#yopPollUpgradeModal .modal-dialog{width:800px!important}.bootstrap-yop .carousel-caption{position:relative;background:0 0;color:#000!important;text-shadow:none!important;left:50%!important;transform:translateX(-50%)}}.bootstrap-dialog .modal-header{border-top-left-radius:4px;border-top-right-radius:4px}.bootstrap-dialog .bootstrap-dialog-title{color:#fff;display:inline-block;font-size:16px}.bootstrap-dialog .bootstrap-dialog-message{font-size:14px}.bootstrap-dialog .bootstrap-dialog-button-icon{margin-right:3px}.bootstrap-dialog .bootstrap-dialog-close-button{font-size:20px;float:right;opacity:.9;filter:alpha(opacity=90)}.bootstrap-dialog .bootstrap-dialog-close-button:hover{cursor:pointer;opacity:1;filter:alpha(opacity=100)}.bootstrap-dialog.type-default .modal-header{background-color:#fff}.bootstrap-dialog.type-default .bootstrap-dialog-title{color:#333}.bootstrap-dialog.type-info .modal-header{background-color:#5bc0de}.bootstrap-dialog.type-primary .modal-header{background-color:#337ab7}.bootstrap-dialog.type-success .modal-header{background-color:#5cb85c}.bootstrap-dialog.type-warning .modal-header{background-color:#f0ad4e}.bootstrap-dialog.type-danger .modal-header{background-color:#d9534f}.bootstrap-dialog.size-large .bootstrap-dialog-title{font-size:24px}.bootstrap-dialog.size-large .bootstrap-dialog-close-button{font-size:30px}.bootstrap-dialog.size-large .bootstrap-dialog-message{font-size:18px}.bootstrap-dialog .icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0)}100%{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}.bootstrap-switch{display:inline-block;direction:ltr;cursor:pointer;border-radius:4px;border:1px solid;border-color:#ccc;position:relative;text-align:left;overflow:hidden;line-height:8px;z-index:0;-webkit-user-select:none;user-select:none;vertical-align:middle;-webkit-transition:border-color ease-in-out .15s,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}.ui-datepicker-rtl,.ui-timepicker-rtl{direction:rtl}.bootstrap-switch .bootstrap-switch-container{display:inline-block;top:0;border-radius:4px;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.bootstrap-switch .bootstrap-switch-handle-off,.bootstrap-switch .bootstrap-switch-handle-on,.bootstrap-switch .bootstrap-switch-label{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block!important;height:100%;padding:6px 12px;font-size:14px;line-height:20px}.bootstrap-switch .bootstrap-switch-handle-off,.bootstrap-switch .bootstrap-switch-handle-on{text-align:center;z-index:1}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary{color:#fff;background:#337ab7}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info{color:#fff;background:#5bc0de}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success{color:#fff;background:#5cb85c}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning{background:#f0ad4e;color:#fff}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger{color:#fff;background:#d9534f}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default{color:#000;background:#eee}.bootstrap-switch .bootstrap-switch-label{text-align:center;margin-top:-1px;margin-bottom:-1px;z-index:100;color:#333;background:#fff}.bootstrap-switch .bootstrap-switch-handle-on{border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-switch .bootstrap-switch-handle-off{border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch input[type=radio],.bootstrap-switch input[type=checkbox]{position:absolute!important;top:0;left:0;margin:0;z-index:-1;opacity:0;filter:alpha(opacity=0)}.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label{padding:1px 5px;font-size:12px;line-height:1.5}.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label{padding:5px 10px;font-size:12px;line-height:1.5}.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label{padding:6px 16px;font-size:18px;line-height:1.3333333}.bootstrap-switch.bootstrap-switch-disabled,.bootstrap-switch.bootstrap-switch-indeterminate,.bootstrap-switch.bootstrap-switch-readonly{cursor:default!important}.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label{opacity:.5;filter:alpha(opacity=50);cursor:default!important}.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container{-webkit-transition:margin-left .5s;-o-transition:margin-left .5s;transition:margin-left .5s}.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-on{border-bottom-left-radius:0;border-top-left-radius:0;border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-off{border-bottom-right-radius:0;border-top-right-radius:0;border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-switch.bootstrap-switch-focused{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)}.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label{border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label{border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-yop{/*!
2
* Bootstrap v3.0.3 (http://getbootstrap.com)
3
* Copyright 2013 Twitter, Inc.
4
* Licensed under http://www.apache.org/licenses/LICENSE-2.0
8
* Bootstrap v3.0.3 (http://getbootstrap.com)
9
* Copyright 2013 Twitter, Inc.
10
* Licensed under http://www.apache.org/licenses/LICENSE-2.0
11
+ */}.bootstrap-yop article,.bootstrap-yop aside,.bootstrap-yop details,.bootstrap-yop figcaption,.bootstrap-yop figure,.bootstrap-yop footer,.bootstrap-yop header,.bootstrap-yop hgroup,.bootstrap-yop main,.bootstrap-yop nav,.bootstrap-yop section,.bootstrap-yop summary{display:block}.bootstrap-yop audio,.bootstrap-yop canvas,.bootstrap-yop video{display:inline-block}.bootstrap-yop audio:not([controls]){display:none;height:0}.bootstrap-yop [hidden],.bootstrap-yop template{display:none}.bootstrap-yop html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;margin:0}.bootstrap-yop a{background:0 0}.bootstrap-yop a:active,.bootstrap-yop a:hover{outline:0}.bootstrap-yop h1{margin:.67em 0}.bootstrap-yop dfn{font-style:italic}.bootstrap-yop hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}.bootstrap-yop mark{color:#000;background:#ff0}.bootstrap-yop code,.bootstrap-yop kbd,.bootstrap-yop pre,.bootstrap-yop samp{font-size:1em}.bootstrap-yop pre{white-space:pre-wrap}.bootstrap-yop q{quotes:"\201C" "\201D" "\2018" "\2019"}.bootstrap-yop sub,.bootstrap-yop sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}.bootstrap-yop sup{top:-.5em}.bootstrap-yop sub{bottom:-.25em}.bootstrap-yop img{border:0}.bootstrap-yop svg:not(:root){overflow:hidden}.bootstrap-yop figure{margin:0}.bootstrap-yop button,.bootstrap-yop select{text-transform:none}.bootstrap-yop button,.bootstrap-yop html input[type=button],.bootstrap-yop input[type=reset],.bootstrap-yop input[type=submit]{cursor:pointer;-webkit-appearance:button}.bootstrap-yop button[disabled],.bootstrap-yop html input[disabled]{cursor:default}.bootstrap-yop input[type=checkbox],.bootstrap-yop input[type=radio]{padding:0;box-sizing:border-box}.bootstrap-yop input[type=search]{-webkit-appearance:textfield}.bootstrap-yop input[type=search]::-webkit-search-cancel-button,.bootstrap-yop input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.bootstrap-yop button::-moz-focus-inner,.bootstrap-yop input::-moz-focus-inner{padding:0;border:0}.bootstrap-yop textarea{overflow:auto;vertical-align:top}.bootstrap-yop table{border-collapse:collapse;border-spacing:0}@media print{.bootstrap-yop *{color:#000!important;text-shadow:none!important;background:0 0!important;box-shadow:none!important}.bootstrap-yop a,.bootstrap-yop a:visited{text-decoration:underline}.bootstrap-yop a[href]:after{content:" (" attr(href) ")"}.bootstrap-yop abbr[title]:after{content:" (" attr(title) ")"}.bootstrap-yop a[href^="javascript:"]:after,.bootstrap-yop a[href^="#"]:after{content:""}.bootstrap-yop blockquote,.bootstrap-yop pre{border:1px solid #999;page-break-inside:avoid}.bootstrap-yop thead{display:table-header-group}.bootstrap-yop img,.bootstrap-yop tr{page-break-inside:avoid}.bootstrap-yop img{max-width:100%!important}@page{margin:2cm .5cm}.bootstrap-yop h2,.bootstrap-yop h3,.bootstrap-yop p{orphans:3;widows:3}.bootstrap-yop h2,.bootstrap-yop h3{page-break-after:avoid}.bootstrap-yop select{background:#fff!important}.bootstrap-yop .navbar{display:none}.bootstrap-yop .table td,.bootstrap-yop .table th{background-color:#fff!important}.bootstrap-yop .btn>.caret,.bootstrap-yop .dropup>.btn>.caret{border-top-color:#000!important}.bootstrap-yop .label{border:1px solid #000}.bootstrap-yop .table{border-collapse:collapse!important}.bootstrap-yop .table-bordered td,.bootstrap-yop .table-bordered th{border:1px solid #ddd!important}}.bootstrap-yop .btn,.bootstrap-yop .btn-danger.active,.bootstrap-yop .btn-danger:active,.bootstrap-yop .btn-default.active,.bootstrap-yop .btn-default:active,.bootstrap-yop .btn-info.active,.bootstrap-yop .btn-info:active,.bootstrap-yop .btn-primary.active,.bootstrap-yop .btn-primary:active,.bootstrap-yop .btn-success.active,.bootstrap-yop .btn-success:active,.bootstrap-yop .dropdown-menu>.disabled>a:focus,.bootstrap-yop .dropdown-menu>.disabled>a:hover,.bootstrap-yop .form-control,.bootstrap-yop .navbar-toggle,.bootstrap-yop .open .dropdown-toggle.btn-danger,.bootstrap-yop .open .dropdown-toggle.btn-default,.bootstrap-yop .open .dropdown-toggle.btn-info,.bootstrap-yop .open .dropdown-toggle.btn-primary,.bootstrap-yop .open .dropdown-toggle.btn-success{background-image:none}.bootstrap-yop *,.bootstrap-yop :after,.bootstrap-yop :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-yop html{font-size:62.5%;-webkit-tap-highlight-color:transparent}.bootstrap-yop body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}.bootstrap-yop button,.bootstrap-yop input,.bootstrap-yop select,.bootstrap-yop textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}.bootstrap-yop a{color:#428bca;text-decoration:none}.bootstrap-yop a:focus,.bootstrap-yop a:hover{color:#2a6496;text-decoration:underline}.bootstrap-yop a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.bootstrap-yop img{vertical-align:middle}.bootstrap-yop .img-responsive{display:block;height:auto;max-width:100%}.bootstrap-yop .img-rounded{border-radius:6px}.bootstrap-yop .img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.bootstrap-yop .img-circle{border-radius:50%}.bootstrap-yop hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.bootstrap-yop .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.bootstrap-yop .h1,.bootstrap-yop .h2,.bootstrap-yop .h3,.bootstrap-yop .h4,.bootstrap-yop .h5,.bootstrap-yop .h6,.bootstrap-yop h1,.bootstrap-yop h2,.bootstrap-yop h3,.bootstrap-yop h4,.bootstrap-yop h5,.bootstrap-yop h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}.bootstrap-yop .h1 .small,.bootstrap-yop .h1 small,.bootstrap-yop .h2 .small,.bootstrap-yop .h2 small,.bootstrap-yop .h3 .small,.bootstrap-yop .h3 small,.bootstrap-yop .h4 .small,.bootstrap-yop .h4 small,.bootstrap-yop .h5 .small,.bootstrap-yop .h5 small,.bootstrap-yop .h6 .small,.bootstrap-yop .h6 small,.bootstrap-yop h1 .small,.bootstrap-yop h1 small,.bootstrap-yop h2 .small,.bootstrap-yop h2 small,.bootstrap-yop h3 .small,.bootstrap-yop h3 small,.bootstrap-yop h4 .small,.bootstrap-yop h4 small,.bootstrap-yop h5 .small,.bootstrap-yop h5 small,.bootstrap-yop h6 .small,.bootstrap-yop h6 small{font-weight:400;line-height:1;color:#999}.bootstrap-yop h1,.bootstrap-yop h2,.bootstrap-yop h3{margin-top:20px;margin-bottom:10px}.bootstrap-yop h1 .small,.bootstrap-yop h1 small,.bootstrap-yop h2 .small,.bootstrap-yop h2 small,.bootstrap-yop h3 .small,.bootstrap-yop h3 small{font-size:65%}.bootstrap-yop h4,.bootstrap-yop h5,.bootstrap-yop h6{margin-top:10px;margin-bottom:10px}.bootstrap-yop h4 .small,.bootstrap-yop h4 small,.bootstrap-yop h5 .small,.bootstrap-yop h5 small,.bootstrap-yop h6 .small,.bootstrap-yop h6 small{font-size:75%}.bootstrap-yop .h1,.bootstrap-yop h1{font-size:36px}.bootstrap-yop .h2,.bootstrap-yop h2{font-size:30px}.bootstrap-yop .h3,.bootstrap-yop h3{font-size:24px}.bootstrap-yop .h4,.bootstrap-yop h4{font-size:18px}.bootstrap-yop .h5,.bootstrap-yop h5{font-size:14px}.bootstrap-yop .h6,.bootstrap-yop h6{font-size:12px}.bootstrap-yop p{margin:0 0 10px}.bootstrap-yop .lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.bootstrap-yop .lead{font-size:21px}}.bootstrap-yop .small,.bootstrap-yop small{font-size:85%}.bootstrap-yop cite{font-style:normal}.bootstrap-yop .text-muted{color:#999}.bootstrap-yop .text-primary{color:#428bca}.bootstrap-yop .text-primary:hover{color:#3071a9}.bootstrap-yop .text-warning{color:#8a6d3b}.bootstrap-yop .text-warning:hover{color:#66512c}.bootstrap-yop .text-danger{color:#a94442}.bootstrap-yop .text-danger:hover{color:#843534}.bootstrap-yop .text-success{color:#3c763d}.bootstrap-yop .text-success:hover{color:#2b542c}.bootstrap-yop .text-info{color:#31708f}.bootstrap-yop .text-info:hover{color:#245269}.bootstrap-yop .text-left{text-align:left}.bootstrap-yop .text-right{text-align:right}.bootstrap-yop .text-center{text-align:center}.bootstrap-yop .page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}.bootstrap-yop ol,.bootstrap-yop ul{margin-top:0;margin-bottom:10px}.bootstrap-yop ol ol,.bootstrap-yop ol ul,.bootstrap-yop ul ol,.bootstrap-yop ul ul{margin-bottom:0}.bootstrap-yop .list-inline,.bootstrap-yop .list-unstyled{padding-left:0;list-style:none}.bootstrap-yop .list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.bootstrap-yop .list-inline>li:first-child{padding-left:0}.bootstrap-yop dl{margin-top:0;margin-bottom:20px}.bootstrap-yop dd,.bootstrap-yop dt{line-height:1.428571429}.bootstrap-yop dt{font-weight:700}.bootstrap-yop dd{margin-left:0}@media (min-width:768px){.bootstrap-yop .dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.bootstrap-yop .dl-horizontal dd{margin-left:180px}.bootstrap-yop .dl-horizontal dd:after,.bootstrap-yop .dl-horizontal dd:before{display:table;content:" "}.bootstrap-yop .dl-horizontal dd:after{clear:both}.bootstrap-yop .container{width:750px}}.bootstrap-yop .btn-group-vertical>.btn-group:after,.bootstrap-yop .btn-toolbar:after,.bootstrap-yop .clearfix:after,.bootstrap-yop .container:after,.bootstrap-yop .dropdown-menu>li>a,.bootstrap-yop .form-horizontal .form-group:after,.bootstrap-yop .modal-footer:after,.bootstrap-yop .nav:after,.bootstrap-yop .navbar-collapse:after,.bootstrap-yop .navbar-header:after,.bootstrap-yop .pager:after,.bootstrap-yop .panel-body:after,.bootstrap-yop .row:after,.slides:after{clear:both}.bootstrap-yop abbr[data-original-title],.bootstrap-yop abbr[title]{cursor:help;border-bottom:1px dotted #999}.bootstrap-yop .initialism{font-size:90%;text-transform:uppercase}.bootstrap-yop blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}.bootstrap-yop blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}.bootstrap-yop blockquote p:last-child{margin-bottom:0}.bootstrap-yop blockquote .small,.bootstrap-yop blockquote small{display:block;line-height:1.428571429;color:#999}.bootstrap-yop blockquote .small:before,.bootstrap-yop blockquote small:before{content:'\2014 \00A0'}.bootstrap-yop blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}.bootstrap-yop blockquote.pull-right .small,.bootstrap-yop blockquote.pull-right p,.bootstrap-yop blockquote.pull-right small{text-align:right}.bootstrap-yop blockquote.pull-right .small:before,.bootstrap-yop blockquote.pull-right small:before{content:''}.bootstrap-yop blockquote.pull-right .small:after,.bootstrap-yop blockquote.pull-right small:after{content:'\00A0 \2014'}.bootstrap-yop blockquote:after,.bootstrap-yop blockquote:before{content:""}.bootstrap-yop address{margin-bottom:20px;font-style:normal;line-height:1.428571429}.bootstrap-yop code,.bootstrap-yop kbd,.bootstrap-yop pre,.bootstrap-yop samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.bootstrap-yop code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}.bootstrap-yop pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}.bootstrap-yop .container:after,.bootstrap-yop .container:before,.bootstrap-yop .row:after,.bootstrap-yop .row:before{display:table;content:" "}.bootstrap-yop pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.bootstrap-yop .pre-scrollable{max-height:340px;overflow-y:scroll}.bootstrap-yop .container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:992px){.bootstrap-yop .container{width:970px}}@media (min-width:1200px){.bootstrap-yop .container{width:1170px}}.bootstrap-yop .row{margin-right:-15px;margin-left:-15px}.bootstrap-yop .col-lg-1,.bootstrap-yop .col-lg-10,.bootstrap-yop .col-lg-11,.bootstrap-yop .col-lg-12,.bootstrap-yop .col-lg-2,.bootstrap-yop .col-lg-3,.bootstrap-yop .col-lg-4,.bootstrap-yop .col-lg-5,.bootstrap-yop .col-lg-6,.bootstrap-yop .col-lg-7,.bootstrap-yop .col-lg-8,.bootstrap-yop .col-lg-9,.bootstrap-yop .col-md-1,.bootstrap-yop .col-md-10,.bootstrap-yop .col-md-11,.bootstrap-yop .col-md-12,.bootstrap-yop .col-md-2,.bootstrap-yop .col-md-3,.bootstrap-yop .col-md-4,.bootstrap-yop .col-md-5,.bootstrap-yop .col-md-6,.bootstrap-yop .col-md-7,.bootstrap-yop .col-md-8,.bootstrap-yop .col-md-9,.bootstrap-yop .col-sm-1,.bootstrap-yop .col-sm-10,.bootstrap-yop .col-sm-11,.bootstrap-yop .col-sm-12,.bootstrap-yop .col-sm-2,.bootstrap-yop .col-sm-3,.bootstrap-yop .col-sm-4,.bootstrap-yop .col-sm-5,.bootstrap-yop .col-sm-6,.bootstrap-yop .col-sm-7,.bootstrap-yop .col-sm-8,.bootstrap-yop .col-sm-9,.bootstrap-yop .col-xs-1,.bootstrap-yop .col-xs-10,.bootstrap-yop .col-xs-11,.bootstrap-yop .col-xs-12,.bootstrap-yop .col-xs-2,.bootstrap-yop .col-xs-3,.bootstrap-yop .col-xs-4,.bootstrap-yop .col-xs-5,.bootstrap-yop .col-xs-6,.bootstrap-yop .col-xs-7,.bootstrap-yop .col-xs-8,.bootstrap-yop .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.bootstrap-yop .col-xs-1,.bootstrap-yop .col-xs-10,.bootstrap-yop .col-xs-11,.bootstrap-yop .col-xs-12,.bootstrap-yop .col-xs-2,.bootstrap-yop .col-xs-3,.bootstrap-yop .col-xs-4,.bootstrap-yop .col-xs-5,.bootstrap-yop .col-xs-6,.bootstrap-yop .col-xs-7,.bootstrap-yop .col-xs-8,.bootstrap-yop .col-xs-9{float:left}.bootstrap-yop .col-xs-12{width:100%}.bootstrap-yop .col-xs-11{width:91.66666666666666%}.bootstrap-yop .col-xs-10{width:83.33333333333334%}.bootstrap-yop .col-xs-9{width:75%}.bootstrap-yop .col-xs-8{width:66.66666666666666%}.bootstrap-yop .col-xs-7{width:58.333333333333336%}.bootstrap-yop .col-xs-6{width:50%}.bootstrap-yop .col-xs-5{width:41.66666666666667%}.bootstrap-yop .col-xs-4{width:33.33333333333333%}.bootstrap-yop .col-xs-3{width:25%}.bootstrap-yop .col-xs-2{width:16.666666666666664%}.bootstrap-yop .col-xs-1{width:8.333333333333332%}.bootstrap-yop .col-xs-pull-12{right:100%}.bootstrap-yop .col-xs-pull-11{right:91.66666666666666%}.bootstrap-yop .col-xs-pull-10{right:83.33333333333334%}.bootstrap-yop .col-xs-pull-9{right:75%}.bootstrap-yop .col-xs-pull-8{right:66.66666666666666%}.bootstrap-yop .col-xs-pull-7{right:58.333333333333336%}.bootstrap-yop .col-xs-pull-6{right:50%}.bootstrap-yop .col-xs-pull-5{right:41.66666666666667%}.bootstrap-yop .col-xs-pull-4{right:33.33333333333333%}.bootstrap-yop .col-xs-pull-3{right:25%}.bootstrap-yop .col-xs-pull-2{right:16.666666666666664%}.bootstrap-yop .col-xs-pull-1{right:8.333333333333332%}.bootstrap-yop .col-xs-pull-0{right:0}.bootstrap-yop .col-xs-push-12{left:100%}.bootstrap-yop .col-xs-push-11{left:91.66666666666666%}.bootstrap-yop .col-xs-push-10{left:83.33333333333334%}.bootstrap-yop .col-xs-push-9{left:75%}.bootstrap-yop .col-xs-push-8{left:66.66666666666666%}.bootstrap-yop .col-xs-push-7{left:58.333333333333336%}.bootstrap-yop .col-xs-push-6{left:50%}.bootstrap-yop .col-xs-push-5{left:41.66666666666667%}.bootstrap-yop .col-xs-push-4{left:33.33333333333333%}.bootstrap-yop .col-xs-push-3{left:25%}.bootstrap-yop .col-xs-push-2{left:16.666666666666664%}.bootstrap-yop .col-xs-push-1{left:8.333333333333332%}.bootstrap-yop .col-xs-push-0{left:0}.bootstrap-yop .col-xs-offset-12{margin-left:100%}.bootstrap-yop .col-xs-offset-11{margin-left:91.66666666666666%}.bootstrap-yop .col-xs-offset-10{margin-left:83.33333333333334%}.bootstrap-yop .col-xs-offset-9{margin-left:75%}.bootstrap-yop .col-xs-offset-8{margin-left:66.66666666666666%}.bootstrap-yop .col-xs-offset-7{margin-left:58.333333333333336%}.bootstrap-yop .col-xs-offset-6{margin-left:50%}.bootstrap-yop .col-xs-offset-5{margin-left:41.66666666666667%}.bootstrap-yop .col-xs-offset-4{margin-left:33.33333333333333%}.bootstrap-yop .col-xs-offset-3{margin-left:25%}.bootstrap-yop .col-xs-offset-2{margin-left:16.666666666666664%}.bootstrap-yop .col-xs-offset-1{margin-left:8.333333333333332%}.bootstrap-yop .col-xs-offset-0{margin-left:0}@media (min-width:768px){.bootstrap-yop .col-sm-1,.bootstrap-yop .col-sm-10,.bootstrap-yop .col-sm-11,.bootstrap-yop .col-sm-12,.bootstrap-yop .col-sm-2,.bootstrap-yop .col-sm-3,.bootstrap-yop .col-sm-4,.bootstrap-yop .col-sm-5,.bootstrap-yop .col-sm-6,.bootstrap-yop .col-sm-7,.bootstrap-yop .col-sm-8,.bootstrap-yop .col-sm-9{float:left}.bootstrap-yop .col-sm-12{width:100%}.bootstrap-yop .col-sm-11{width:91.66666666666666%}.bootstrap-yop .col-sm-10{width:83.33333333333334%}.bootstrap-yop .col-sm-9{width:75%}.bootstrap-yop .col-sm-8{width:66.66666666666666%}.bootstrap-yop .col-sm-7{width:58.333333333333336%}.bootstrap-yop .col-sm-6{width:50%}.bootstrap-yop .col-sm-5{width:41.66666666666667%}.bootstrap-yop .col-sm-4{width:33.33333333333333%}.bootstrap-yop .col-sm-3{width:25%}.bootstrap-yop .col-sm-2{width:16.666666666666664%}.bootstrap-yop .col-sm-1{width:8.333333333333332%}.bootstrap-yop .col-sm-pull-12{right:100%}.bootstrap-yop .col-sm-pull-11{right:91.66666666666666%}.bootstrap-yop .col-sm-pull-10{right:83.33333333333334%}.bootstrap-yop .col-sm-pull-9{right:75%}.bootstrap-yop .col-sm-pull-8{right:66.66666666666666%}.bootstrap-yop .col-sm-pull-7{right:58.333333333333336%}.bootstrap-yop .col-sm-pull-6{right:50%}.bootstrap-yop .col-sm-pull-5{right:41.66666666666667%}.bootstrap-yop .col-sm-pull-4{right:33.33333333333333%}.bootstrap-yop .col-sm-pull-3{right:25%}.bootstrap-yop .col-sm-pull-2{right:16.666666666666664%}.bootstrap-yop .col-sm-pull-1{right:8.333333333333332%}.bootstrap-yop .col-sm-pull-0{right:0}.bootstrap-yop .col-sm-push-12{left:100%}.bootstrap-yop .col-sm-push-11{left:91.66666666666666%}.bootstrap-yop .col-sm-push-10{left:83.33333333333334%}.bootstrap-yop .col-sm-push-9{left:75%}.bootstrap-yop .col-sm-push-8{left:66.66666666666666%}.bootstrap-yop .col-sm-push-7{left:58.333333333333336%}.bootstrap-yop .col-sm-push-6{left:50%}.bootstrap-yop .col-sm-push-5{left:41.66666666666667%}.bootstrap-yop .col-sm-push-4{left:33.33333333333333%}.bootstrap-yop .col-sm-push-3{left:25%}.bootstrap-yop .col-sm-push-2{left:16.666666666666664%}.bootstrap-yop .col-sm-push-1{left:8.333333333333332%}.bootstrap-yop .col-sm-push-0{left:0}.bootstrap-yop .col-sm-offset-12{margin-left:100%}.bootstrap-yop .col-sm-offset-11{margin-left:91.66666666666666%}.bootstrap-yop .col-sm-offset-10{margin-left:83.33333333333334%}.bootstrap-yop .col-sm-offset-9{margin-left:75%}.bootstrap-yop .col-sm-offset-8{margin-left:66.66666666666666%}.bootstrap-yop .col-sm-offset-7{margin-left:58.333333333333336%}.bootstrap-yop .col-sm-offset-6{margin-left:50%}.bootstrap-yop .col-sm-offset-5{margin-left:41.66666666666667%}.bootstrap-yop .col-sm-offset-4{margin-left:33.33333333333333%}.bootstrap-yop .col-sm-offset-3{margin-left:25%}.bootstrap-yop .col-sm-offset-2{margin-left:16.666666666666664%}.bootstrap-yop .col-sm-offset-1{margin-left:8.333333333333332%}.bootstrap-yop .col-sm-offset-0{margin-left:0}}@media (min-width:992px){.bootstrap-yop .col-md-1,.bootstrap-yop .col-md-10,.bootstrap-yop .col-md-11,.bootstrap-yop .col-md-12,.bootstrap-yop .col-md-2,.bootstrap-yop .col-md-3,.bootstrap-yop .col-md-4,.bootstrap-yop .col-md-5,.bootstrap-yop .col-md-6,.bootstrap-yop .col-md-7,.bootstrap-yop .col-md-8,.bootstrap-yop .col-md-9{float:left}.bootstrap-yop .col-md-12{width:100%}.bootstrap-yop .col-md-11{width:91.66666666666666%}.bootstrap-yop .col-md-10{width:83.33333333333334%}.bootstrap-yop .col-md-9{width:75%}.bootstrap-yop .col-md-8{width:66.66666666666666%}.bootstrap-yop .col-md-7{width:58.333333333333336%}.bootstrap-yop .col-md-6{width:50%}.bootstrap-yop .col-md-5{width:41.66666666666667%}.bootstrap-yop .col-md-4{width:33.33333333333333%}.bootstrap-yop .col-md-3{width:25%}.bootstrap-yop .col-md-2{width:16.666666666666664%}.bootstrap-yop .col-md-1{width:8.333333333333332%}.bootstrap-yop .col-md-pull-12{right:100%}.bootstrap-yop .col-md-pull-11{right:91.66666666666666%}.bootstrap-yop .col-md-pull-10{right:83.33333333333334%}.bootstrap-yop .col-md-pull-9{right:75%}.bootstrap-yop .col-md-pull-8{right:66.66666666666666%}.bootstrap-yop .col-md-pull-7{right:58.333333333333336%}.bootstrap-yop .col-md-pull-6{right:50%}.bootstrap-yop .col-md-pull-5{right:41.66666666666667%}.bootstrap-yop .col-md-pull-4{right:33.33333333333333%}.bootstrap-yop .col-md-pull-3{right:25%}.bootstrap-yop .col-md-pull-2{right:16.666666666666664%}.bootstrap-yop .col-md-pull-1{right:8.333333333333332%}.bootstrap-yop .col-md-pull-0{right:0}.bootstrap-yop .col-md-push-12{left:100%}.bootstrap-yop .col-md-push-11{left:91.66666666666666%}.bootstrap-yop .col-md-push-10{left:83.33333333333334%}.bootstrap-yop .col-md-push-9{left:75%}.bootstrap-yop .col-md-push-8{left:66.66666666666666%}.bootstrap-yop .col-md-push-7{left:58.333333333333336%}.bootstrap-yop .col-md-push-6{left:50%}.bootstrap-yop .col-md-push-5{left:41.66666666666667%}.bootstrap-yop .col-md-push-4{left:33.33333333333333%}.bootstrap-yop .col-md-push-3{left:25%}.bootstrap-yop .col-md-push-2{left:16.666666666666664%}.bootstrap-yop .col-md-push-1{left:8.333333333333332%}.bootstrap-yop .col-md-push-0{left:0}.bootstrap-yop .col-md-offset-12{margin-left:100%}.bootstrap-yop .col-md-offset-11{margin-left:91.66666666666666%}.bootstrap-yop .col-md-offset-10{margin-left:83.33333333333334%}.bootstrap-yop .col-md-offset-9{margin-left:75%}.bootstrap-yop .col-md-offset-8{margin-left:66.66666666666666%}.bootstrap-yop .col-md-offset-7{margin-left:58.333333333333336%}.bootstrap-yop .col-md-offset-6{margin-left:50%}.bootstrap-yop .col-md-offset-5{margin-left:41.66666666666667%}.bootstrap-yop .col-md-offset-4{margin-left:33.33333333333333%}.bootstrap-yop .col-md-offset-3{margin-left:25%}.bootstrap-yop .col-md-offset-2{margin-left:16.666666666666664%}.bootstrap-yop .col-md-offset-1{margin-left:8.333333333333332%}.bootstrap-yop .col-md-offset-0{margin-left:0}}@media (min-width:1200px){.bootstrap-yop .col-lg-1,.bootstrap-yop .col-lg-10,.bootstrap-yop .col-lg-11,.bootstrap-yop .col-lg-12,.bootstrap-yop .col-lg-2,.bootstrap-yop .col-lg-3,.bootstrap-yop .col-lg-4,.bootstrap-yop .col-lg-5,.bootstrap-yop .col-lg-6,.bootstrap-yop .col-lg-7,.bootstrap-yop .col-lg-8,.bootstrap-yop .col-lg-9{float:left}.bootstrap-yop .col-lg-12{width:100%}.bootstrap-yop .col-lg-11{width:91.66666666666666%}.bootstrap-yop .col-lg-10{width:83.33333333333334%}.bootstrap-yop .col-lg-9{width:75%}.bootstrap-yop .col-lg-8{width:66.66666666666666%}.bootstrap-yop .col-lg-7{width:58.333333333333336%}.bootstrap-yop .col-lg-6{width:50%}.bootstrap-yop .col-lg-5{width:41.66666666666667%}.bootstrap-yop .col-lg-4{width:33.33333333333333%}.bootstrap-yop .col-lg-3{width:25%}.bootstrap-yop .col-lg-2{width:16.666666666666664%}.bootstrap-yop .col-lg-1{width:8.333333333333332%}.bootstrap-yop .col-lg-pull-12{right:100%}.bootstrap-yop .col-lg-pull-11{right:91.66666666666666%}.bootstrap-yop .col-lg-pull-10{right:83.33333333333334%}.bootstrap-yop .col-lg-pull-9{right:75%}.bootstrap-yop .col-lg-pull-8{right:66.66666666666666%}.bootstrap-yop .col-lg-pull-7{right:58.333333333333336%}.bootstrap-yop .col-lg-pull-6{right:50%}.bootstrap-yop .col-lg-pull-5{right:41.66666666666667%}.bootstrap-yop .col-lg-pull-4{right:33.33333333333333%}.bootstrap-yop .col-lg-pull-3{right:25%}.bootstrap-yop .col-lg-pull-2{right:16.666666666666664%}.bootstrap-yop .col-lg-pull-1{right:8.333333333333332%}.bootstrap-yop .col-lg-pull-0{right:0}.bootstrap-yop .col-lg-push-12{left:100%}.bootstrap-yop .col-lg-push-11{left:91.66666666666666%}.bootstrap-yop .col-lg-push-10{left:83.33333333333334%}.bootstrap-yop .col-lg-push-9{left:75%}.bootstrap-yop .col-lg-push-8{left:66.66666666666666%}.bootstrap-yop .col-lg-push-7{left:58.333333333333336%}.bootstrap-yop .col-lg-push-6{left:50%}.bootstrap-yop .col-lg-push-5{left:41.66666666666667%}.bootstrap-yop .col-lg-push-4{left:33.33333333333333%}.bootstrap-yop .col-lg-push-3{left:25%}.bootstrap-yop .col-lg-push-2{left:16.666666666666664%}.bootstrap-yop .col-lg-push-1{left:8.333333333333332%}.bootstrap-yop .col-lg-push-0{left:0}.bootstrap-yop .col-lg-offset-12{margin-left:100%}.bootstrap-yop .col-lg-offset-11{margin-left:91.66666666666666%}.bootstrap-yop .col-lg-offset-10{margin-left:83.33333333333334%}.bootstrap-yop .col-lg-offset-9{margin-left:75%}.bootstrap-yop .col-lg-offset-8{margin-left:66.66666666666666%}.bootstrap-yop .col-lg-offset-7{margin-left:58.333333333333336%}.bootstrap-yop .col-lg-offset-6{margin-left:50%}.bootstrap-yop .col-lg-offset-5{margin-left:41.66666666666667%}.bootstrap-yop .col-lg-offset-4{margin-left:33.33333333333333%}.bootstrap-yop .col-lg-offset-3{margin-left:25%}.bootstrap-yop .col-lg-offset-2{margin-left:16.666666666666664%}.bootstrap-yop .col-lg-offset-1{margin-left:8.333333333333332%}.bootstrap-yop .col-lg-offset-0{margin-left:0}}.bootstrap-yop table{max-width:100%;background-color:transparent}.bootstrap-yop th{text-align:left}.bootstrap-yop .table{width:100%;margin-bottom:20px}.bootstrap-yop .table>tbody>tr>td,.bootstrap-yop .table>tbody>tr>th,.bootstrap-yop .table>tfoot>tr>td,.bootstrap-yop .table>tfoot>tr>th,.bootstrap-yop .table>thead>tr>td,.bootstrap-yop .table>thead>tr>th{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.bootstrap-yop .table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.bootstrap-yop .table>caption+thead>tr:first-child>td,.bootstrap-yop .table>caption+thead>tr:first-child>th,.bootstrap-yop .table>colgroup+thead>tr:first-child>td,.bootstrap-yop .table>colgroup+thead>tr:first-child>th,.bootstrap-yop .table>thead:first-child>tr:first-child>td,.bootstrap-yop .table>thead:first-child>tr:first-child>th{border-top:0}.bootstrap-yop .table>tbody+tbody{border-top:2px solid #ddd}.bootstrap-yop .table .table{background-color:#fff}.bootstrap-yop .table-condensed>tbody>tr>td,.bootstrap-yop .table-condensed>tbody>tr>th,.bootstrap-yop .table-condensed>tfoot>tr>td,.bootstrap-yop .table-condensed>tfoot>tr>th,.bootstrap-yop .table-condensed>thead>tr>td,.bootstrap-yop .table-condensed>thead>tr>th{padding:5px}.bootstrap-yop .table-bordered,.bootstrap-yop .table-bordered>tbody>tr>td,.bootstrap-yop .table-bordered>tbody>tr>th,.bootstrap-yop .table-bordered>tfoot>tr>td,.bootstrap-yop .table-bordered>tfoot>tr>th,.bootstrap-yop .table-bordered>thead>tr>td,.bootstrap-yop .table-bordered>thead>tr>th{border:1px solid #ddd}.bootstrap-yop .table-bordered>thead>tr>td,.bootstrap-yop .table-bordered>thead>tr>th{border-bottom-width:2px}.bootstrap-yop .table-striped>tbody>tr:nth-child(odd)>td,.bootstrap-yop .table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.bootstrap-yop .table-hover>tbody>tr:hover>td,.bootstrap-yop .table-hover>tbody>tr:hover>th,.bootstrap-yop .table>tbody>.active>td,.bootstrap-yop .table>tbody>.active>th,.bootstrap-yop .table>tbody>tr>.active,.bootstrap-yop .table>tfoot>.active>td,.bootstrap-yop .table>tfoot>.active>th,.bootstrap-yop .table>tfoot>tr>.active,.bootstrap-yop .table>thead>.active>td,.bootstrap-yop .table>thead>.active>th,.bootstrap-yop .table>thead>tr>.active{background-color:#f5f5f5}.bootstrap-yop table col[class*=col-]{position:static;display:table-column;float:none}.bootstrap-yop table td[class*=col-],.bootstrap-yop table th[class*=col-]{display:table-cell;float:none}.bootstrap-yop .table-hover>tbody>.active:hover>td,.bootstrap-yop .table-hover>tbody>.active:hover>th,.bootstrap-yop .table-hover>tbody>tr>.active:hover{background-color:#e8e8e8}.bootstrap-yop .table>tbody>.success>td,.bootstrap-yop .table>tbody>.success>th,.bootstrap-yop .table>tbody>tr>.success,.bootstrap-yop .table>tfoot>.success>td,.bootstrap-yop .table>tfoot>.success>th,.bootstrap-yop .table>tfoot>tr>.success,.bootstrap-yop .table>thead>.success>td,.bootstrap-yop .table>thead>.success>th,.bootstrap-yop .table>thead>tr>.success{background-color:#dff0d8}.bootstrap-yop .table-hover>tbody>.success:hover>td,.bootstrap-yop .table-hover>tbody>.success:hover>th,.bootstrap-yop .table-hover>tbody>tr>.success:hover{background-color:#d0e9c6}.bootstrap-yop .table>tbody>.danger>td,.bootstrap-yop .table>tbody>.danger>th,.bootstrap-yop .table>tbody>tr>.danger,.bootstrap-yop .table>tfoot>.danger>td,.bootstrap-yop .table>tfoot>.danger>th,.bootstrap-yop .table>tfoot>tr>.danger,.bootstrap-yop .table>thead>.danger>td,.bootstrap-yop .table>thead>.danger>th,.bootstrap-yop .table>thead>tr>.danger{background-color:#f2dede}.bootstrap-yop .table-hover>tbody>.danger:hover>td,.bootstrap-yop .table-hover>tbody>.danger:hover>th,.bootstrap-yop .table-hover>tbody>tr>.danger:hover{background-color:#ebcccc}.bootstrap-yop .table>tbody>.warning>td,.bootstrap-yop .table>tbody>.warning>th,.bootstrap-yop .table>tbody>tr>.warning,.bootstrap-yop .table>tfoot>.warning>td,.bootstrap-yop .table>tfoot>.warning>th,.bootstrap-yop .table>tfoot>tr>.warning,.bootstrap-yop .table>thead>.warning>td,.bootstrap-yop .table>thead>.warning>th,.bootstrap-yop .table>thead>tr>.warning{background-color:#fcf8e3}.bootstrap-yop .table-hover>tbody>.warning:hover>td,.bootstrap-yop .table-hover>tbody>.warning:hover>th,.bootstrap-yop .table-hover>tbody>tr>.warning:hover{background-color:#faf2cc}@media (max-width:767px){.bootstrap-yop .table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.bootstrap-yop .table-responsive>.table{margin-bottom:0}.bootstrap-yop .table-responsive>.table>tbody>tr>td,.bootstrap-yop .table-responsive>.table>tbody>tr>th,.bootstrap-yop .table-responsive>.table>tfoot>tr>td,.bootstrap-yop .table-responsive>.table>tfoot>tr>th,.bootstrap-yop .table-responsive>.table>thead>tr>td,.bootstrap-yop .table-responsive>.table>thead>tr>th{white-space:nowrap}.bootstrap-yop .table-responsive>.table-bordered{border:0}.bootstrap-yop .table-responsive>.table-bordered>tbody>tr>td:first-child,.bootstrap-yop .table-responsive>.table-bordered>tbody>tr>th:first-child,.bootstrap-yop .table-responsive>.table-bordered>tfoot>tr>td:first-child,.bootstrap-yop .table-responsive>.table-bordered>tfoot>tr>th:first-child,.bootstrap-yop .table-responsive>.table-bordered>thead>tr>td:first-child,.bootstrap-yop .table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.bootstrap-yop .table-responsive>.table-bordered>tbody>tr>td:last-child,.bootstrap-yop .table-responsive>.table-bordered>tbody>tr>th:last-child,.bootstrap-yop .table-responsive>.table-bordered>tfoot>tr>td:last-child,.bootstrap-yop .table-responsive>.table-bordered>tfoot>tr>th:last-child,.bootstrap-yop .table-responsive>.table-bordered>thead>tr>td:last-child,.bootstrap-yop .table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.bootstrap-yop .table-responsive>.table-bordered>tbody>tr:last-child>td,.bootstrap-yop .table-responsive>.table-bordered>tbody>tr:last-child>th,.bootstrap-yop .table-responsive>.table-bordered>tfoot>tr:last-child>td,.bootstrap-yop .table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.bootstrap-yop fieldset{padding:0;margin:0;border:0}.bootstrap-yop 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}.bootstrap-yop label{display:inline-block;margin-bottom:5px;font-weight:700}.bootstrap-yop input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ui-button-icon-only,.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.bootstrap-yop input[type=checkbox],.bootstrap-yop input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}.bootstrap-yop input[type=file]{display:block}.bootstrap-yop select[multiple],.bootstrap-yop select[size]{height:auto}.bootstrap-yop select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}.bootstrap-yop .form-control,.bootstrap-yop output{font-size:14px;line-height:1.428571429;color:#555;display:block;vertical-align:middle}.bootstrap-yop input[type=checkbox]:focus,.bootstrap-yop input[type=radio]:focus,.bootstrap-yop input[type=file]:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.bootstrap-yop input[type=number]::-webkit-inner-spin-button,.bootstrap-yop input[type=number]::-webkit-outer-spin-button{height:auto}.bootstrap-yop output{padding-top:7px}.bootstrap-yop .form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.bootstrap-yop .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)}.bootstrap-yop .form-control:-moz-placeholder{color:#999}.bootstrap-yop .form-control::-moz-placeholder{color:#999;opacity:1}.bootstrap-yop .form-control:-ms-input-placeholder{color:#999}.bootstrap-yop .form-control::-webkit-input-placeholder{color:#999}.bootstrap-yop .form-control[disabled],.bootstrap-yop .form-control[readonly],.bootstrap-yop fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}.bootstrap-yop textarea.form-control{height:auto}.bootstrap-yop .form-group{margin-bottom:15px}.bootstrap-yop .checkbox,.bootstrap-yop .radio{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.bootstrap-yop .checkbox label,.bootstrap-yop .radio label{display:inline;margin-bottom:0;font-weight:400;cursor:pointer}.bootstrap-yop .checkbox input[type=checkbox],.bootstrap-yop .checkbox-inline input[type=checkbox],.bootstrap-yop .radio input[type=radio],.bootstrap-yop .radio-inline input[type=radio]{float:left;margin-left:-20px}.bootstrap-yop .checkbox+.checkbox,.bootstrap-yop .radio+.radio{margin-top:-5px}.bootstrap-yop .checkbox-inline,.bootstrap-yop .radio-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.bootstrap-yop .checkbox-inline+.checkbox-inline,.bootstrap-yop .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.bootstrap-yop .checkbox-inline[disabled],.bootstrap-yop .checkbox[disabled],.bootstrap-yop .radio-inline[disabled],.bootstrap-yop .radio[disabled],.bootstrap-yop fieldset[disabled] .checkbox,.bootstrap-yop fieldset[disabled] .checkbox-inline,.bootstrap-yop fieldset[disabled] .radio,.bootstrap-yop fieldset[disabled] .radio-inline,.bootstrap-yop fieldset[disabled] input[type=checkbox],.bootstrap-yop fieldset[disabled] input[type=radio],.bootstrap-yop input[type=checkbox][disabled],.bootstrap-yop input[type=radio][disabled]{cursor:not-allowed}.bootstrap-yop .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.bootstrap-yop select.input-sm{height:30px;line-height:30px}.bootstrap-yop textarea.input-sm{height:auto}.bootstrap-yop .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.bootstrap-yop select.input-lg{height:46px;line-height:46px}.bootstrap-yop textarea.input-lg{height:auto}.bootstrap-yop .has-warning .checkbox,.bootstrap-yop .has-warning .checkbox-inline,.bootstrap-yop .has-warning .control-label,.bootstrap-yop .has-warning .help-block,.bootstrap-yop .has-warning .radio,.bootstrap-yop .has-warning .radio-inline{color:#8a6d3b}.bootstrap-yop .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)}.bootstrap-yop .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}.bootstrap-yop .has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.bootstrap-yop .has-error .checkbox,.bootstrap-yop .has-error .checkbox-inline,.bootstrap-yop .has-error .control-label,.bootstrap-yop .has-error .help-block,.bootstrap-yop .has-error .radio,.bootstrap-yop .has-error .radio-inline{color:#a94442}.bootstrap-yop .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)}.bootstrap-yop .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}.bootstrap-yop .has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.bootstrap-yop .has-success .checkbox,.bootstrap-yop .has-success .checkbox-inline,.bootstrap-yop .has-success .control-label,.bootstrap-yop .has-success .help-block,.bootstrap-yop .has-success .radio,.bootstrap-yop .has-success .radio-inline{color:#3c763d}.bootstrap-yop .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)}.bootstrap-yop .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}.bootstrap-yop .has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.bootstrap-yop .form-control-static{margin-bottom:0}.bootstrap-yop .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.bootstrap-yop .form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.bootstrap-yop .form-inline .form-control{display:inline-block}.bootstrap-yop .form-inline select.form-control{width:auto}.bootstrap-yop .form-inline .checkbox,.bootstrap-yop .form-inline .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.bootstrap-yop .form-inline .checkbox input[type=checkbox],.bootstrap-yop .form-inline .radio input[type=radio]{float:none;margin-left:0}.bootstrap-yop .form-horizontal .control-label{text-align:right}}.bootstrap-yop .form-horizontal .checkbox,.bootstrap-yop .form-horizontal .checkbox-inline,.bootstrap-yop .form-horizontal .control-label,.bootstrap-yop .form-horizontal .radio,.bootstrap-yop .form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.bootstrap-yop .form-horizontal .checkbox,.bootstrap-yop .form-horizontal .radio{min-height:27px}.bootstrap-yop .form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.bootstrap-yop .form-horizontal .form-group:after,.bootstrap-yop .form-horizontal .form-group:before{display:table;content:" "}.bootstrap-yop .form-horizontal .form-control-static{padding-top:7px}.bootstrap-yop .btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-o-user-select:none;user-select:none}.bootstrap-yop .btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.bootstrap-yop .btn:focus,.bootstrap-yop .btn:hover{color:#333;text-decoration:none}.bootstrap-yop .btn.active,.bootstrap-yop .btn:active{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)}.bootstrap-yop .btn.disabled,.bootstrap-yop .btn[disabled],.bootstrap-yop fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.bootstrap-yop .btn-default{color:#333;background-color:#fff}.bootstrap-yop .btn-default.active,.bootstrap-yop .btn-default:active,.bootstrap-yop .btn-default:focus,.bootstrap-yop .btn-default:hover,.bootstrap-yop .open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.bootstrap-yop .btn-default.disabled,.bootstrap-yop .btn-default.disabled.active,.bootstrap-yop .btn-default.disabled:active,.bootstrap-yop .btn-default.disabled:focus,.bootstrap-yop .btn-default.disabled:hover,.bootstrap-yop .btn-default[disabled],.bootstrap-yop .btn-default[disabled].active,.bootstrap-yop .btn-default[disabled]:active,.bootstrap-yop .btn-default[disabled]:focus,.bootstrap-yop .btn-default[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-default,.bootstrap-yop fieldset[disabled] .btn-default.active,.bootstrap-yop fieldset[disabled] .btn-default:active,.bootstrap-yop fieldset[disabled] .btn-default:focus,.bootstrap-yop fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.bootstrap-yop .btn-default .badge{color:#fff;background-color:#fff}.bootstrap-yop .btn-primary{color:#fff;background-color:#428bca}.bootstrap-yop .btn-primary.active,.bootstrap-yop .btn-primary:active,.bootstrap-yop .btn-primary:focus,.bootstrap-yop .btn-primary:hover,.bootstrap-yop .open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.bootstrap-yop .btn-primary.disabled,.bootstrap-yop .btn-primary.disabled.active,.bootstrap-yop .btn-primary.disabled:active,.bootstrap-yop .btn-primary.disabled:focus,.bootstrap-yop .btn-primary.disabled:hover,.bootstrap-yop .btn-primary[disabled],.bootstrap-yop .btn-primary[disabled].active,.bootstrap-yop .btn-primary[disabled]:active,.bootstrap-yop .btn-primary[disabled]:focus,.bootstrap-yop .btn-primary[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-primary,.bootstrap-yop fieldset[disabled] .btn-primary.active,.bootstrap-yop fieldset[disabled] .btn-primary:active,.bootstrap-yop fieldset[disabled] .btn-primary:focus,.bootstrap-yop fieldset[disabled] .btn-primary:hover{background-color:#428bca;border-color:#357ebd}.bootstrap-yop .btn-primary .badge{color:#428bca;background-color:#fff}.bootstrap-yop .btn-warning{color:#fff;background-color:#f0ad4e}.bootstrap-yop .btn-warning.active,.bootstrap-yop .btn-warning:active,.bootstrap-yop .btn-warning:focus,.bootstrap-yop .btn-warning:hover,.bootstrap-yop .open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.bootstrap-yop .btn-warning.active,.bootstrap-yop .btn-warning:active,.bootstrap-yop .open .dropdown-toggle.btn-warning{background-image:none}.bootstrap-yop .btn-warning.disabled,.bootstrap-yop .btn-warning.disabled.active,.bootstrap-yop .btn-warning.disabled:active,.bootstrap-yop .btn-warning.disabled:focus,.bootstrap-yop .btn-warning.disabled:hover,.bootstrap-yop .btn-warning[disabled],.bootstrap-yop .btn-warning[disabled].active,.bootstrap-yop .btn-warning[disabled]:active,.bootstrap-yop .btn-warning[disabled]:focus,.bootstrap-yop .btn-warning[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-warning,.bootstrap-yop fieldset[disabled] .btn-warning.active,.bootstrap-yop fieldset[disabled] .btn-warning:active,.bootstrap-yop fieldset[disabled] .btn-warning:focus,.bootstrap-yop fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.bootstrap-yop .btn-warning .badge{color:#f0ad4e;background-color:#fff}.bootstrap-yop .btn-danger{color:#fff;background-color:#d9534f}.bootstrap-yop .btn-danger.active,.bootstrap-yop .btn-danger:active,.bootstrap-yop .btn-danger:focus,.bootstrap-yop .btn-danger:hover,.bootstrap-yop .open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.bootstrap-yop .btn-danger.disabled,.bootstrap-yop .btn-danger.disabled.active,.bootstrap-yop .btn-danger.disabled:active,.bootstrap-yop .btn-danger.disabled:focus,.bootstrap-yop .btn-danger.disabled:hover,.bootstrap-yop .btn-danger[disabled],.bootstrap-yop .btn-danger[disabled].active,.bootstrap-yop .btn-danger[disabled]:active,.bootstrap-yop .btn-danger[disabled]:focus,.bootstrap-yop .btn-danger[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-danger,.bootstrap-yop fieldset[disabled] .btn-danger.active,.bootstrap-yop fieldset[disabled] .btn-danger:active,.bootstrap-yop fieldset[disabled] .btn-danger:focus,.bootstrap-yop fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.bootstrap-yop .btn-danger .badge{color:#d9534f;background-color:#fff}.bootstrap-yop .btn-success{color:#fff;background-color:#5cb85c}.bootstrap-yop .btn-success.active,.bootstrap-yop .btn-success:active,.bootstrap-yop .btn-success:focus,.bootstrap-yop .btn-success:hover,.bootstrap-yop .open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.bootstrap-yop .btn-success.disabled,.bootstrap-yop .btn-success.disabled.active,.bootstrap-yop .btn-success.disabled:active,.bootstrap-yop .btn-success.disabled:focus,.bootstrap-yop .btn-success.disabled:hover,.bootstrap-yop .btn-success[disabled],.bootstrap-yop .btn-success[disabled].active,.bootstrap-yop .btn-success[disabled]:active,.bootstrap-yop .btn-success[disabled]:focus,.bootstrap-yop .btn-success[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-success,.bootstrap-yop fieldset[disabled] .btn-success.active,.bootstrap-yop fieldset[disabled] .btn-success:active,.bootstrap-yop fieldset[disabled] .btn-success:focus,.bootstrap-yop fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.bootstrap-yop .btn-success .badge{color:#5cb85c;background-color:#fff}.bootstrap-yop .btn-info{color:#fff;background-color:#5bc0de}.bootstrap-yop .btn-info.active,.bootstrap-yop .btn-info:active,.bootstrap-yop .btn-info:focus,.bootstrap-yop .btn-info:hover,.bootstrap-yop .open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.bootstrap-yop .btn-info.disabled,.bootstrap-yop .btn-info.disabled.active,.bootstrap-yop .btn-info.disabled:active,.bootstrap-yop .btn-info.disabled:focus,.bootstrap-yop .btn-info.disabled:hover,.bootstrap-yop .btn-info[disabled],.bootstrap-yop .btn-info[disabled].active,.bootstrap-yop .btn-info[disabled]:active,.bootstrap-yop .btn-info[disabled]:focus,.bootstrap-yop .btn-info[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-info,.bootstrap-yop fieldset[disabled] .btn-info.active,.bootstrap-yop fieldset[disabled] .btn-info:active,.bootstrap-yop fieldset[disabled] .btn-info:focus,.bootstrap-yop fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.bootstrap-yop .btn-info .badge{color:#5bc0de;background-color:#fff}.bootstrap-yop .btn-link{font-weight:400;color:#428bca;cursor:pointer;border-radius:0}.bootstrap-yop .btn-link,.bootstrap-yop .btn-link:active,.bootstrap-yop .btn-link[disabled],.bootstrap-yop fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bootstrap-yop .btn-link,.bootstrap-yop .btn-link:active,.bootstrap-yop .btn-link:focus,.bootstrap-yop .btn-link:hover{border-color:transparent}.bootstrap-yop .btn-link:focus,.bootstrap-yop .btn-link:hover{color:#2a6496;text-decoration:underline;background-color:transparent}.bootstrap-yop .btn-link[disabled]:focus,.bootstrap-yop .btn-link[disabled]:hover,.bootstrap-yop fieldset[disabled] .btn-link:focus,.bootstrap-yop fieldset[disabled] .btn-link:hover{color:#999;text-decoration:none}.bootstrap-yop .btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.bootstrap-yop .btn-sm,.bootstrap-yop .btn-xs{font-size:12px;line-height:1.5;border-radius:3px}.bootstrap-yop .btn-sm{padding:5px 10px}.bootstrap-yop .btn-xs{padding:1px 5px}.bootstrap-yop .btn-block{display:block;width:100%;padding-right:0;padding-left:0}.bootstrap-yop .btn-block+.btn-block{margin-top:5px}.bootstrap-yop input[type=reset].btn-block,.bootstrap-yop input[type=submit].btn-block,.bootstrap-yop input[type=button].btn-block{width:100%}.bootstrap-yop .fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.bootstrap-yop .fade.in{opacity:1}.bootstrap-yop .collapse{display:none}.bootstrap-yop .collapse.in{display:block}.bootstrap-yop .collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular) format('svg')}.bootstrap-yop .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;line-height:1;-moz-osx-font-smoothing:grayscale}.bootstrap-yop .glyphicon:empty{width:1em}.bootstrap-yop .glyphicon-asterisk:before{content:"\2a"}.bootstrap-yop .glyphicon-plus:before{content:"\2b"}.bootstrap-yop .glyphicon-euro:before{content:"\20ac"}.bootstrap-yop .glyphicon-minus:before{content:"\2212"}.bootstrap-yop .glyphicon-cloud:before{content:"\2601"}.bootstrap-yop .glyphicon-envelope:before{content:"\2709"}.bootstrap-yop .glyphicon-pencil:before{content:"\270f"}.bootstrap-yop .glyphicon-glass:before{content:"\e001"}.bootstrap-yop .glyphicon-music:before{content:"\e002"}.bootstrap-yop .glyphicon-search:before{content:"\e003"}.bootstrap-yop .glyphicon-heart:before{content:"\e005"}.bootstrap-yop .glyphicon-star:before{content:"\e006"}.bootstrap-yop .glyphicon-star-empty:before{content:"\e007"}.bootstrap-yop .glyphicon-user:before{content:"\e008"}.bootstrap-yop .glyphicon-film:before{content:"\e009"}.bootstrap-yop .glyphicon-th-large:before{content:"\e010"}.bootstrap-yop .glyphicon-th:before{content:"\e011"}.bootstrap-yop .glyphicon-th-list:before{content:"\e012"}.bootstrap-yop .glyphicon-ok:before{content:"\e013"}.bootstrap-yop .glyphicon-remove:before{content:"\e014"}.bootstrap-yop .glyphicon-zoom-in:before{content:"\e015"}.bootstrap-yop .glyphicon-zoom-out:before{content:"\e016"}.bootstrap-yop .glyphicon-off:before{content:"\e017"}.bootstrap-yop .glyphicon-signal:before{content:"\e018"}.bootstrap-yop .glyphicon-cog:before{content:"\e019"}.bootstrap-yop .glyphicon-trash:before{content:"\e020"}.bootstrap-yop .glyphicon-home:before{content:"\e021"}.bootstrap-yop .glyphicon-file:before{content:"\e022"}.bootstrap-yop .glyphicon-time:before{content:"\e023"}.bootstrap-yop .glyphicon-road:before{content:"\e024"}.bootstrap-yop .glyphicon-download-alt:before{content:"\e025"}.bootstrap-yop .glyphicon-download:before{content:"\e026"}.bootstrap-yop .glyphicon-upload:before{content:"\e027"}.bootstrap-yop .glyphicon-inbox:before{content:"\e028"}.bootstrap-yop .glyphicon-play-circle:before{content:"\e029"}.bootstrap-yop .glyphicon-repeat:before{content:"\e030"}.bootstrap-yop .glyphicon-refresh:before{content:"\e031"}.bootstrap-yop .glyphicon-list-alt:before{content:"\e032"}.bootstrap-yop .glyphicon-lock:before{content:"\e033"}.bootstrap-yop .glyphicon-flag:before{content:"\e034"}.bootstrap-yop .glyphicon-headphones:before{content:"\e035"}.bootstrap-yop .glyphicon-volume-off:before{content:"\e036"}.bootstrap-yop .glyphicon-volume-down:before{content:"\e037"}.bootstrap-yop .glyphicon-volume-up:before{content:"\e038"}.bootstrap-yop .glyphicon-qrcode:before{content:"\e039"}.bootstrap-yop .glyphicon-barcode:before{content:"\e040"}.bootstrap-yop .glyphicon-tag:before{content:"\e041"}.bootstrap-yop .glyphicon-tags:before{content:"\e042"}.bootstrap-yop .glyphicon-book:before{content:"\e043"}.bootstrap-yop .glyphicon-bookmark:before{content:"\e044"}.bootstrap-yop .glyphicon-print:before{content:"\e045"}.bootstrap-yop .glyphicon-camera:before{content:"\e046"}.bootstrap-yop .glyphicon-font:before{content:"\e047"}.bootstrap-yop .glyphicon-bold:before{content:"\e048"}.bootstrap-yop .glyphicon-italic:before{content:"\e049"}.bootstrap-yop .glyphicon-text-height:before{content:"\e050"}.bootstrap-yop .glyphicon-text-width:before{content:"\e051"}.bootstrap-yop .glyphicon-align-left:before{content:"\e052"}.bootstrap-yop .glyphicon-align-center:before{content:"\e053"}.bootstrap-yop .glyphicon-align-right:before{content:"\e054"}.bootstrap-yop .glyphicon-align-justify:before{content:"\e055"}.bootstrap-yop .glyphicon-list:before{content:"\e056"}.bootstrap-yop .glyphicon-indent-left:before{content:"\e057"}.bootstrap-yop .glyphicon-indent-right:before{content:"\e058"}.bootstrap-yop .glyphicon-facetime-video:before{content:"\e059"}.bootstrap-yop .glyphicon-picture:before{content:"\e060"}.bootstrap-yop .glyphicon-map-marker:before{content:"\e062"}.bootstrap-yop .glyphicon-adjust:before{content:"\e063"}.bootstrap-yop .glyphicon-tint:before{content:"\e064"}.bootstrap-yop .glyphicon-edit:before{content:"\e065"}.bootstrap-yop .glyphicon-share:before{content:"\e066"}.bootstrap-yop .glyphicon-check:before{content:"\e067"}.bootstrap-yop .glyphicon-move:before{content:"\e068"}.bootstrap-yop .glyphicon-step-backward:before{content:"\e069"}.bootstrap-yop .glyphicon-fast-backward:before{content:"\e070"}.bootstrap-yop .glyphicon-backward:before{content:"\e071"}.bootstrap-yop .glyphicon-play:before{content:"\e072"}.bootstrap-yop .glyphicon-pause:before{content:"\e073"}.bootstrap-yop .glyphicon-stop:before{content:"\e074"}.bootstrap-yop .glyphicon-forward:before{content:"\e075"}.bootstrap-yop .glyphicon-fast-forward:before{content:"\e076"}.bootstrap-yop .glyphicon-step-forward:before{content:"\e077"}.bootstrap-yop .glyphicon-eject:before{content:"\e078"}.bootstrap-yop .glyphicon-chevron-left:before{content:"\e079"}.bootstrap-yop .glyphicon-chevron-right:before{content:"\e080"}.bootstrap-yop .glyphicon-plus-sign:before{content:"\e081"}.bootstrap-yop .glyphicon-minus-sign:before{content:"\e082"}.bootstrap-yop .glyphicon-remove-sign:before{content:"\e083"}.bootstrap-yop .glyphicon-ok-sign:before{content:"\e084"}.bootstrap-yop .glyphicon-question-sign:before{content:"\e085"}.bootstrap-yop .glyphicon-info-sign:before{content:"\e086"}.bootstrap-yop .glyphicon-screenshot:before{content:"\e087"}.bootstrap-yop .glyphicon-remove-circle:before{content:"\e088"}.bootstrap-yop .glyphicon-ok-circle:before{content:"\e089"}.bootstrap-yop .glyphicon-ban-circle:before{content:"\e090"}.bootstrap-yop .glyphicon-arrow-left:before{content:"\e091"}.bootstrap-yop .glyphicon-arrow-right:before{content:"\e092"}.bootstrap-yop .glyphicon-arrow-up:before{content:"\e093"}.bootstrap-yop .glyphicon-arrow-down:before{content:"\e094"}.bootstrap-yop .glyphicon-share-alt:before{content:"\e095"}.bootstrap-yop .glyphicon-resize-full:before{content:"\e096"}.bootstrap-yop .glyphicon-resize-small:before{content:"\e097"}.bootstrap-yop .glyphicon-exclamation-sign:before{content:"\e101"}.bootstrap-yop .glyphicon-gift:before{content:"\e102"}.bootstrap-yop .glyphicon-leaf:before{content:"\e103"}.bootstrap-yop .glyphicon-fire:before{content:"\e104"}.bootstrap-yop .glyphicon-eye-open:before{content:"\e105"}.bootstrap-yop .glyphicon-eye-close:before{content:"\e106"}.bootstrap-yop .glyphicon-warning-sign:before{content:"\e107"}.bootstrap-yop .glyphicon-plane:before{content:"\e108"}.bootstrap-yop .glyphicon-calendar:before{content:"\e109"}.bootstrap-yop .glyphicon-random:before{content:"\e110"}.bootstrap-yop .glyphicon-comment:before{content:"\e111"}.bootstrap-yop .glyphicon-magnet:before{content:"\e112"}.bootstrap-yop .glyphicon-chevron-up:before{content:"\e113"}.bootstrap-yop .glyphicon-chevron-down:before{content:"\e114"}.bootstrap-yop .glyphicon-retweet:before{content:"\e115"}.bootstrap-yop .glyphicon-shopping-cart:before{content:"\e116"}.bootstrap-yop .glyphicon-folder-close:before{content:"\e117"}.bootstrap-yop .glyphicon-folder-open:before{content:"\e118"}.bootstrap-yop .glyphicon-resize-vertical:before{content:"\e119"}.bootstrap-yop .glyphicon-resize-horizontal:before{content:"\e120"}.bootstrap-yop .glyphicon-hdd:before{content:"\e121"}.bootstrap-yop .glyphicon-bullhorn:before{content:"\e122"}.bootstrap-yop .glyphicon-bell:before{content:"\e123"}.bootstrap-yop .glyphicon-certificate:before{content:"\e124"}.bootstrap-yop .glyphicon-thumbs-up:before{content:"\e125"}.bootstrap-yop .glyphicon-thumbs-down:before{content:"\e126"}.bootstrap-yop .glyphicon-hand-right:before{content:"\e127"}.bootstrap-yop .glyphicon-hand-left:before{content:"\e128"}.bootstrap-yop .glyphicon-hand-up:before{content:"\e129"}.bootstrap-yop .glyphicon-hand-down:before{content:"\e130"}.bootstrap-yop .glyphicon-circle-arrow-right:before{content:"\e131"}.bootstrap-yop .glyphicon-circle-arrow-left:before{content:"\e132"}.bootstrap-yop .glyphicon-circle-arrow-up:before{content:"\e133"}.bootstrap-yop .glyphicon-circle-arrow-down:before{content:"\e134"}.bootstrap-yop .glyphicon-globe:before{content:"\e135"}.bootstrap-yop .glyphicon-wrench:before{content:"\e136"}.bootstrap-yop .glyphicon-tasks:before{content:"\e137"}.bootstrap-yop .glyphicon-filter:before{content:"\e138"}.bootstrap-yop .glyphicon-briefcase:before{content:"\e139"}.bootstrap-yop .glyphicon-fullscreen:before{content:"\e140"}.bootstrap-yop .glyphicon-dashboard:before{content:"\e141"}.bootstrap-yop .glyphicon-paperclip:before{content:"\e142"}.bootstrap-yop .glyphicon-heart-empty:before{content:"\e143"}.bootstrap-yop .glyphicon-link:before{content:"\e144"}.bootstrap-yop .glyphicon-phone:before{content:"\e145"}.bootstrap-yop .glyphicon-pushpin:before{content:"\e146"}.bootstrap-yop .glyphicon-usd:before{content:"\e148"}.bootstrap-yop .glyphicon-gbp:before{content:"\e149"}.bootstrap-yop .glyphicon-sort:before{content:"\e150"}.bootstrap-yop .glyphicon-sort-by-alphabet:before{content:"\e151"}.bootstrap-yop .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.bootstrap-yop .glyphicon-sort-by-order:before{content:"\e153"}.bootstrap-yop .glyphicon-sort-by-order-alt:before{content:"\e154"}.bootstrap-yop .glyphicon-sort-by-attributes:before{content:"\e155"}.bootstrap-yop .glyphicon-sort-by-attributes-alt:before{content:"\e156"}.bootstrap-yop .glyphicon-unchecked:before{content:"\e157"}.bootstrap-yop .glyphicon-expand:before{content:"\e158"}.bootstrap-yop .glyphicon-collapse-down:before{content:"\e159"}.bootstrap-yop .glyphicon-collapse-up:before{content:"\e160"}.bootstrap-yop .glyphicon-log-in:before{content:"\e161"}.bootstrap-yop .glyphicon-flash:before{content:"\e162"}.bootstrap-yop .glyphicon-log-out:before{content:"\e163"}.bootstrap-yop .glyphicon-new-window:before{content:"\e164"}.bootstrap-yop .glyphicon-record:before{content:"\e165"}.bootstrap-yop .glyphicon-save:before{content:"\e166"}.bootstrap-yop .glyphicon-open:before{content:"\e167"}.bootstrap-yop .glyphicon-saved:before{content:"\e168"}.bootstrap-yop .glyphicon-import:before{content:"\e169"}.bootstrap-yop .glyphicon-export:before{content:"\e170"}.bootstrap-yop .glyphicon-send:before{content:"\e171"}.bootstrap-yop .glyphicon-floppy-disk:before{content:"\e172"}.bootstrap-yop .glyphicon-floppy-saved:before{content:"\e173"}.bootstrap-yop .glyphicon-floppy-remove:before{content:"\e174"}.bootstrap-yop .glyphicon-floppy-save:before{content:"\e175"}.bootstrap-yop .glyphicon-floppy-open:before{content:"\e176"}.bootstrap-yop .glyphicon-credit-card:before{content:"\e177"}.bootstrap-yop .glyphicon-transfer:before{content:"\e178"}.bootstrap-yop .glyphicon-cutlery:before{content:"\e179"}.bootstrap-yop .glyphicon-header:before{content:"\e180"}.bootstrap-yop .glyphicon-compressed:before{content:"\e181"}.bootstrap-yop .glyphicon-earphone:before{content:"\e182"}.bootstrap-yop .glyphicon-phone-alt:before{content:"\e183"}.bootstrap-yop .glyphicon-tower:before{content:"\e184"}.bootstrap-yop .glyphicon-stats:before{content:"\e185"}.bootstrap-yop .glyphicon-sd-video:before{content:"\e186"}.bootstrap-yop .glyphicon-hd-video:before{content:"\e187"}.bootstrap-yop .glyphicon-subtitles:before{content:"\e188"}.bootstrap-yop .glyphicon-sound-stereo:before{content:"\e189"}.bootstrap-yop .glyphicon-sound-dolby:before{content:"\e190"}.bootstrap-yop .glyphicon-sound-5-1:before{content:"\e191"}.bootstrap-yop .glyphicon-sound-6-1:before{content:"\e192"}.bootstrap-yop .glyphicon-sound-7-1:before{content:"\e193"}.bootstrap-yop .glyphicon-copyright-mark:before{content:"\e194"}.bootstrap-yop .glyphicon-registration-mark:before{content:"\e195"}.bootstrap-yop .glyphicon-cloud-download:before{content:"\e197"}.bootstrap-yop .glyphicon-cloud-upload:before{content:"\e198"}.bootstrap-yop .glyphicon-tree-conifer:before{content:"\e199"}.bootstrap-yop .glyphicon-tree-deciduous:before{content:"\e200"}.bootstrap-yop .caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.bootstrap-yop .dropdown{position:relative}.bootstrap-yop .dropdown-toggle:focus{outline:0}.bootstrap-yop .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;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.bootstrap-yop .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn,.bootstrap-yop .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.bootstrap-yop .btn-group>.btn-group:first-child>.btn:last-child,.bootstrap-yop .btn-group>.btn-group:first-child>.dropdown-toggle,.bootstrap-yop .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.bootstrap-yop .btn-group>.btn-group:last-child>.btn:first-child,.bootstrap-yop .btn-group>.btn:last-child:not(:first-child),.bootstrap-yop .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.bootstrap-yop .dropdown-menu.pull-right{right:0;left:auto}.bootstrap-yop .dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.bootstrap-yop .dropdown-menu>li>a{display:block;padding:3px 20px;font-weight:400;line-height:1.428571429;color:#333;white-space:nowrap}.bootstrap-yop .dropdown-menu>li>a:focus,.bootstrap-yop .dropdown-menu>li>a:hover{color:#262626;text-decoration:none}.bootstrap-yop .dropdown-menu>.active>a,.bootstrap-yop .dropdown-menu>.active>a:focus,.bootstrap-yop .dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0}.bootstrap-yop .dropdown-menu>.disabled>a,.bootstrap-yop .dropdown-menu>.disabled>a:focus,.bootstrap-yop .dropdown-menu>.disabled>a:hover{color:#999}.bootstrap-yop .dropdown-menu>.disabled>a:focus,.bootstrap-yop .dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .open>.dropdown-menu{display:block}.bootstrap-yop .open>a{outline:0}.bootstrap-yop .dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.bootstrap-yop .dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.bootstrap-yop .nav-justified>.dropdown .dropdown-menu,.bootstrap-yop .nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}.bootstrap-yop .btn-group-vertical>.btn.active,.bootstrap-yop .btn-group-vertical>.btn:active,.bootstrap-yop .btn-group-vertical>.btn:focus,.bootstrap-yop .btn-group-vertical>.btn:hover,.bootstrap-yop .btn-group>.btn.active,.bootstrap-yop .btn-group>.btn:active,.bootstrap-yop .btn-group>.btn:focus,.bootstrap-yop .btn-group>.btn:hover,.bootstrap-yop .input-group-btn>.btn:active,.bootstrap-yop .input-group-btn>.btn:hover{z-index:2}.bootstrap-yop .pull-right>.dropdown-menu{right:0;left:auto}.bootstrap-yop .dropup .caret,.bootstrap-yop .navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.bootstrap-yop .dropup .dropdown-menu,.bootstrap-yop .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.bootstrap-yop .btn-group,.bootstrap-yop .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.bootstrap-yop .btn-group-vertical>.btn,.bootstrap-yop .btn-group>.btn{position:relative;float:left}.bootstrap-yop .btn-group-vertical>.btn:focus,.bootstrap-yop .btn-group>.btn:focus{outline:0}.bootstrap-yop .btn-group .btn+.btn,.bootstrap-yop .btn-group .btn+.btn-group,.bootstrap-yop .btn-group .btn-group+.btn,.bootstrap-yop .btn-group .btn-group+.btn-group{margin-left:-1px}.bootstrap-yop .btn-toolbar:after,.bootstrap-yop .btn-toolbar:before{display:table;content:" "}.bootstrap-yop .btn-toolbar .btn-group{float:left}.bootstrap-yop .btn-toolbar>.btn+.btn,.bootstrap-yop .btn-toolbar>.btn+.btn-group,.bootstrap-yop .btn-toolbar>.btn-group+.btn,.bootstrap-yop .btn-toolbar>.btn-group+.btn-group{margin-left:5px}.bootstrap-yop .btn .caret,.bootstrap-yop .btn-group>.btn:first-child{margin-left:0}.bootstrap-yop .btn-group>.btn-group{float:left}.bootstrap-yop .btn-group .dropdown-toggle:active,.bootstrap-yop .btn-group.open .dropdown-toggle{outline:0}.bootstrap-yop .btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.bootstrap-yop .btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.bootstrap-yop .btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.bootstrap-yop .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.bootstrap-yop .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.bootstrap-yop .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)}.bootstrap-yop .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.bootstrap-yop .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.bootstrap-yop .dropup .btn-lg .caret{border-width:0 5px 5px}.bootstrap-yop .btn-group-vertical>.btn,.bootstrap-yop .btn-group-vertical>.btn-group,.bootstrap-yop .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.bootstrap-yop .nav>li>a>img,.note-popover.popover{max-width:none}.bootstrap-yop .btn-group-vertical>.btn-group:after,.bootstrap-yop .btn-group-vertical>.btn-group:before{display:table;content:" "}.bootstrap-yop .btn-group-vertical>.btn-group>.btn{float:none}.bootstrap-yop .btn-group-vertical>.btn+.btn,.bootstrap-yop .btn-group-vertical>.btn+.btn-group,.bootstrap-yop .btn-group-vertical>.btn-group+.btn,.bootstrap-yop .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.bootstrap-yop .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.bootstrap-yop .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.bootstrap-yop .btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.bootstrap-yop .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.bootstrap-yop .btn-group-vertical>.btn-group:first-child>.btn:last-child,.bootstrap-yop .btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.bootstrap-yop .btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.bootstrap-yop .btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.bootstrap-yop .btn-group-justified>.btn,.bootstrap-yop .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.bootstrap-yop .btn-group-justified>.btn-group .btn{width:100%}.bootstrap-yop [data-toggle=buttons]>.btn>input[type=checkbox],.bootstrap-yop [data-toggle=buttons]>.btn>input[type=radio]{display:none}.bootstrap-yop .input-group{position:relative;display:table;border-collapse:separate}.bootstrap-yop .input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.bootstrap-yop .input-group .form-control{width:100%;margin-bottom:0}.bootstrap-yop .input-group-lg>.form-control,.bootstrap-yop .input-group-lg>.input-group-addon,.bootstrap-yop .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.bootstrap-yop select.input-group-lg>.form-control,.bootstrap-yop select.input-group-lg>.input-group-addon,.bootstrap-yop select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}.bootstrap-yop textarea.input-group-lg>.form-control,.bootstrap-yop textarea.input-group-lg>.input-group-addon,.bootstrap-yop textarea.input-group-lg>.input-group-btn>.btn{height:auto}.bootstrap-yop .input-group-sm>.form-control,.bootstrap-yop .input-group-sm>.input-group-addon,.bootstrap-yop .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.bootstrap-yop select.input-group-sm>.form-control,.bootstrap-yop select.input-group-sm>.input-group-addon,.bootstrap-yop select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}.bootstrap-yop textarea.input-group-sm>.form-control,.bootstrap-yop textarea.input-group-sm>.input-group-addon,.bootstrap-yop textarea.input-group-sm>.input-group-btn>.btn{height:auto}.bootstrap-yop .input-group .form-control,.bootstrap-yop .input-group-addon,.bootstrap-yop .input-group-btn{display:table-cell}.bootstrap-yop .input-group .form-control:not(:first-child):not(:last-child),.bootstrap-yop .input-group-addon:not(:first-child):not(:last-child),.bootstrap-yop .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.bootstrap-yop .input-group-addon,.bootstrap-yop .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.bootstrap-yop .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}.bootstrap-yop .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.bootstrap-yop .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.bootstrap-yop .input-group-addon input[type=checkbox],.bootstrap-yop .input-group-addon input[type=radio]{margin-top:0}.bootstrap-yop .input-group .form-control:first-child,.bootstrap-yop .input-group-addon:first-child,.bootstrap-yop .input-group-btn:first-child>.btn,.bootstrap-yop .input-group-btn:first-child>.dropdown-toggle,.bootstrap-yop .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.bootstrap-yop .input-group-addon:first-child{border-right:0}.bootstrap-yop .input-group .form-control:last-child,.bootstrap-yop .input-group-addon:last-child,.bootstrap-yop .input-group-btn:first-child>.btn:not(:first-child),.bootstrap-yop .input-group-btn:last-child>.btn,.bootstrap-yop .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.bootstrap-yop .input-group-addon:last-child{border-left:0}.bootstrap-yop .input-group-btn{position:relative;white-space:nowrap}.bootstrap-yop .input-group-btn:first-child>.btn{margin-right:-1px}.bootstrap-yop .input-group-btn:last-child>.btn{margin-left:-1px}.bootstrap-yop .input-group-btn>.btn{position:relative}.bootstrap-yop .input-group-btn>.btn+.btn{margin-left:-4px}.bootstrap-yop .nav{padding-left:0;margin-bottom:0;list-style:none}.bootstrap-yop .nav:after,.bootstrap-yop .nav:before{display:table;content:" "}.bootstrap-yop .nav>li,.bootstrap-yop .nav>li>a{display:block;position:relative}.bootstrap-yop .nav>li>a{padding:10px 15px}.bootstrap-yop .nav>li>a:focus,.bootstrap-yop .nav>li>a:hover{text-decoration:none;background-color:#eee}.bootstrap-yop .nav>li.disabled>a{color:#999}.bootstrap-yop .nav>li.disabled>a:focus,.bootstrap-yop .nav>li.disabled>a:hover{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.bootstrap-yop .nav .open>a,.bootstrap-yop .nav .open>a:focus,.bootstrap-yop .nav .open>a:hover{background-color:#eee;border-color:#428bca}.bootstrap-yop .nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.bootstrap-yop .nav-tabs{border-bottom:1px solid #ddd}.bootstrap-yop .nav-tabs>li{float:left;margin-bottom:-1px}.bootstrap-yop .nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.bootstrap-yop .nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.bootstrap-yop .nav-tabs>li.active>a,.bootstrap-yop .nav-tabs>li.active>a:focus,.bootstrap-yop .nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.bootstrap-yop .nav-tabs.nav-justified{width:100%;border-bottom:0}.bootstrap-yop .nav-tabs.nav-justified>li{float:none}.bootstrap-yop .nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center;margin-right:0;border-radius:4px}.bootstrap-yop .nav-tabs.nav-justified>.active>a,.bootstrap-yop .nav-tabs.nav-justified>.active>a:focus,.bootstrap-yop .nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.bootstrap-yop .navbar-right .dropdown-menu{right:0;left:auto}.bootstrap-yop .nav-tabs.nav-justified>li{display:table-cell;width:1%}.bootstrap-yop .nav-tabs.nav-justified>li>a{margin-bottom:0;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.bootstrap-yop .nav-tabs.nav-justified>.active>a,.bootstrap-yop .nav-tabs.nav-justified>.active>a:focus,.bootstrap-yop .nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.bootstrap-yop .nav-pills>li{float:left}.bootstrap-yop .nav-justified>li,.bootstrap-yop .nav-stacked>li{float:none}.bootstrap-yop .nav-pills>li>a{border-radius:4px}.bootstrap-yop .nav-pills>li+li{margin-left:2px}.bootstrap-yop .nav-pills>li.active>a,.bootstrap-yop .nav-pills>li.active>a:focus,.bootstrap-yop .nav-pills>li.active>a:hover{color:#fff;background-color:#428bca}.bootstrap-yop .nav-stacked>li+li{margin-top:2px;margin-left:0}.bootstrap-yop .nav-justified{width:100%}.bootstrap-yop .nav-justified>li>a{margin-bottom:5px;text-align:center}.bootstrap-yop .nav-tabs-justified{border-bottom:0}.bootstrap-yop .nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.bootstrap-yop .nav-tabs-justified>.active>a,.bootstrap-yop .nav-tabs-justified>.active>a:focus,.bootstrap-yop .nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.bootstrap-yop .nav-justified>li{display:table-cell;width:1%}.bootstrap-yop .nav-justified>li>a{margin-bottom:0}.bootstrap-yop .nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.bootstrap-yop .nav-tabs-justified>.active>a,.bootstrap-yop .nav-tabs-justified>.active>a:focus,.bootstrap-yop .nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.bootstrap-yop .tab-content>.tab-pane{display:none}.bootstrap-yop .tab-content>.active{display:block}.bootstrap-yop .navbar-collapse:after,.bootstrap-yop .navbar-collapse:before,.bootstrap-yop .navbar-header:after,.bootstrap-yop .navbar-header:before,.bootstrap-yop .navbar:after,.bootstrap-yop .navbar:before{display:table;content:" "}.bootstrap-yop .nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.bootstrap-yop .navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.bootstrap-yop .navbar:after{clear:both}.bootstrap-yop .navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.bootstrap-yop .navbar-collapse.in{overflow-y:auto}.bootstrap-yop .container>.navbar-collapse,.bootstrap-yop .container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.bootstrap-yop .navbar{border-radius:4px}.bootstrap-yop .navbar-header{float:left}.bootstrap-yop .navbar-collapse{width:auto;border-top:0;box-shadow:none}.bootstrap-yop .navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.bootstrap-yop .navbar-collapse.in{overflow-y:visible}.bootstrap-yop .navbar-fixed-bottom .navbar-collapse,.bootstrap-yop .navbar-fixed-top .navbar-collapse,.bootstrap-yop .navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}.bootstrap-yop .container>.navbar-collapse,.bootstrap-yop .container>.navbar-header{margin-right:0;margin-left:0}.bootstrap-yop .navbar-static-top{border-radius:0}}.bootstrap-yop .navbar-static-top{z-index:1000;border-width:0 0 1px}.bootstrap-yop .navbar-fixed-bottom,.bootstrap-yop .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}.bootstrap-yop .navbar-fixed-top{top:0;border-width:0 0 1px}.bootstrap-yop .btn .badge,.bootstrap-yop .btn .label{top:-1px;position:relative}.bootstrap-yop .navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.bootstrap-yop .navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px}.bootstrap-yop .navbar-brand:focus,.bootstrap-yop .navbar-brand:hover{text-decoration:none}@media (min-width:768px){.bootstrap-yop .navbar-fixed-bottom,.bootstrap-yop .navbar-fixed-top{border-radius:0}.bootstrap-yop .navbar>.container .navbar-brand{margin-left:-15px}}.bootstrap-yop .navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;border:1px solid transparent;border-radius:4px}.bootstrap-yop .navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.bootstrap-yop .navbar-toggle .icon-bar+.icon-bar{margin-top:4px}.bootstrap-yop .navbar-nav{margin:7.5px -15px}.bootstrap-yop .navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.bootstrap-yop .navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.bootstrap-yop .navbar-nav .open .dropdown-menu .dropdown-header,.bootstrap-yop .navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.bootstrap-yop .navbar-nav .open .dropdown-menu>li>a{line-height:20px}.bootstrap-yop .navbar-nav .open .dropdown-menu>li>a:focus,.bootstrap-yop .navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}.bootstrap-yop .progress-striped .progress-bar,.bootstrap-yop .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)}@media (min-width:768px){.bootstrap-yop .navbar-toggle{display:none}.bootstrap-yop .navbar-nav{float:left;margin:0}.bootstrap-yop .navbar-nav>li{float:left}.bootstrap-yop .navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.bootstrap-yop .navbar-nav.navbar-right:last-child{margin-right:-15px}.bootstrap-yop .navbar-left{float:left!important}.bootstrap-yop .navbar-right{float:right!important}}.bootstrap-yop .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){.bootstrap-yop .navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.bootstrap-yop .navbar-form .form-control{display:inline-block}.bootstrap-yop .navbar-form select.form-control{width:auto}.bootstrap-yop .navbar-form .checkbox,.bootstrap-yop .navbar-form .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.bootstrap-yop .navbar-form .checkbox input[type=checkbox],.bootstrap-yop .navbar-form .radio input[type=radio]{float:none;margin-left:0}.bootstrap-yop .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}.bootstrap-yop .navbar-form.navbar-right:last-child{margin-right:-15px}}@media (max-width:767px){.bootstrap-yop .navbar-form .form-group{margin-bottom:5px}}.bootstrap-yop .navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.bootstrap-yop .navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.bootstrap-yop .navbar-nav.pull-right>li>.dropdown-menu,.bootstrap-yop .navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.bootstrap-yop .navbar-btn{margin-top:8px;margin-bottom:8px}.bootstrap-yop .navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.bootstrap-yop .navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.bootstrap-yop .navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.bootstrap-yop .navbar-text{float:left;margin-right:15px;margin-left:15px}.bootstrap-yop .navbar-text.navbar-right:last-child{margin-right:0}}.bootstrap-yop .navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.bootstrap-yop .navbar-default .navbar-brand{color:#777}.bootstrap-yop .navbar-default .navbar-brand:focus,.bootstrap-yop .navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.bootstrap-yop .navbar-default .navbar-nav>li>a,.bootstrap-yop .navbar-default .navbar-text{color:#777}.bootstrap-yop .navbar-default .navbar-nav>li>a:focus,.bootstrap-yop .navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.bootstrap-yop .navbar-default .navbar-nav>.active>a,.bootstrap-yop .navbar-default .navbar-nav>.active>a:focus,.bootstrap-yop .navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.bootstrap-yop .navbar-default .navbar-nav>.disabled>a,.bootstrap-yop .navbar-default .navbar-nav>.disabled>a:focus,.bootstrap-yop .navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.bootstrap-yop .navbar-default .navbar-toggle{border-color:#ddd}.bootstrap-yop .navbar-default .navbar-toggle:focus,.bootstrap-yop .navbar-default .navbar-toggle:hover{background-color:#ddd}.bootstrap-yop .navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.bootstrap-yop .navbar-default .navbar-collapse,.bootstrap-yop .navbar-default .navbar-form{border-color:#e7e7e7}.bootstrap-yop .navbar-default .navbar-nav>.open>a,.bootstrap-yop .navbar-default .navbar-nav>.open>a:focus,.bootstrap-yop .navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>.active>a,.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.bootstrap-yop .navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.bootstrap-yop .navbar-default .navbar-link{color:#777}.bootstrap-yop .navbar-default .navbar-link:hover{color:#333}.bootstrap-yop .navbar-inverse{background-color:#222;border-color:#080808}.bootstrap-yop .navbar-inverse .navbar-brand{color:#999}.bootstrap-yop .navbar-inverse .navbar-brand:focus,.bootstrap-yop .navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.bootstrap-yop .navbar-inverse .navbar-nav>li>a,.bootstrap-yop .navbar-inverse .navbar-text{color:#999}.bootstrap-yop .navbar-inverse .navbar-nav>li>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.bootstrap-yop .navbar-inverse .navbar-nav>.active>a,.bootstrap-yop .navbar-inverse .navbar-nav>.active>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.bootstrap-yop .navbar-inverse .navbar-nav>.disabled>a,.bootstrap-yop .navbar-inverse .navbar-nav>.disabled>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.bootstrap-yop .navbar-inverse .navbar-toggle{border-color:#333}.bootstrap-yop .navbar-inverse .navbar-toggle:focus,.bootstrap-yop .navbar-inverse .navbar-toggle:hover{background-color:#333}.bootstrap-yop .navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.bootstrap-yop .navbar-inverse .navbar-collapse,.bootstrap-yop .navbar-inverse .navbar-form{border-color:#101010}.bootstrap-yop .navbar-inverse .navbar-nav>.open>a,.bootstrap-yop .navbar-inverse .navbar-nav>.open>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.bootstrap-yop .navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.bootstrap-yop .navbar-inverse .navbar-link{color:#999}.bootstrap-yop .navbar-inverse .navbar-link:hover{color:#fff}.bootstrap-yop .breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.bootstrap-yop .breadcrumb>li{display:inline-block}.bootstrap-yop .breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.bootstrap-yop .breadcrumb>.active{color:#999}.bootstrap-yop .pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.bootstrap-yop .pagination>li{display:inline}.bootstrap-yop .pagination>li>a,.bootstrap-yop .pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.bootstrap-yop .badge,.bootstrap-yop .label{font-weight:700;line-height:1;white-space:nowrap;vertical-align:baseline;text-align:center}.bootstrap-yop .pagination>li:first-child>a,.bootstrap-yop .pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.bootstrap-yop .pagination>li:last-child>a,.bootstrap-yop .pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.bootstrap-yop .pagination>li>a:focus,.bootstrap-yop .pagination>li>a:hover,.bootstrap-yop .pagination>li>span:focus,.bootstrap-yop .pagination>li>span:hover{background-color:#eee}.bootstrap-yop .pagination>.active>a,.bootstrap-yop .pagination>.active>a:focus,.bootstrap-yop .pagination>.active>a:hover,.bootstrap-yop .pagination>.active>span,.bootstrap-yop .pagination>.active>span:focus,.bootstrap-yop .pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.bootstrap-yop .pagination>.disabled>a,.bootstrap-yop .pagination>.disabled>a:focus,.bootstrap-yop .pagination>.disabled>a:hover,.bootstrap-yop .pagination>.disabled>span,.bootstrap-yop .pagination>.disabled>span:focus,.bootstrap-yop .pagination>.disabled>span:hover{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.bootstrap-yop .pagination-lg>li>a,.bootstrap-yop .pagination-lg>li>span{padding:10px 16px;font-size:18px}.bootstrap-yop .pagination-lg>li:first-child>a,.bootstrap-yop .pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.bootstrap-yop .pagination-lg>li:last-child>a,.bootstrap-yop .pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.bootstrap-yop .pagination-sm>li>a,.bootstrap-yop .pagination-sm>li>span{padding:5px 10px;font-size:12px}.bootstrap-yop .pagination-sm>li:first-child>a,.bootstrap-yop .pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-yop .pagination-sm>li:last-child>a,.bootstrap-yop .pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.bootstrap-yop .pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.bootstrap-yop .pager:after,.bootstrap-yop .pager:before{display:table;content:" "}.bootstrap-yop .pager li{display:inline}.bootstrap-yop .pager li>a,.bootstrap-yop .pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.bootstrap-yop .pager li>a:focus,.bootstrap-yop .pager li>a:hover{text-decoration:none;background-color:#eee}.bootstrap-yop .pager .next>a,.bootstrap-yop .pager .next>span{float:right}.bootstrap-yop .pager .previous>a,.bootstrap-yop .pager .previous>span{float:left}.bootstrap-yop .pager .disabled>a,.bootstrap-yop .pager .disabled>a:focus,.bootstrap-yop .pager .disabled>a:hover,.bootstrap-yop .pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.bootstrap-yop .label{display:inline;padding:.2em .6em .3em;font-size:75%;color:#fff;border-radius:.25em}.bootstrap-yop .label[href]:focus,.bootstrap-yop .label[href]:hover{color:#fff;text-decoration:none;cursor:pointer}.bootstrap-yop .label:empty{display:none}.bootstrap-yop .label-default{background-color:#999}.bootstrap-yop .label-default[href]:focus,.bootstrap-yop .label-default[href]:hover{background-color:grey}.bootstrap-yop .label-primary{background-color:#428bca}.bootstrap-yop .label-primary[href]:focus,.bootstrap-yop .label-primary[href]:hover{background-color:#3071a9}.bootstrap-yop .label-success{background-color:#5cb85c}.bootstrap-yop .label-success[href]:focus,.bootstrap-yop .label-success[href]:hover{background-color:#449d44}.bootstrap-yop .label-info{background-color:#5bc0de}.bootstrap-yop .label-info[href]:focus,.bootstrap-yop .label-info[href]:hover{background-color:#31b0d5}.bootstrap-yop .label-warning{background-color:#f0ad4e}.bootstrap-yop .label-warning[href]:focus,.bootstrap-yop .label-warning[href]:hover{background-color:#ec971f}.bootstrap-yop .label-danger{background-color:#d9534f}.bootstrap-yop .label-danger[href]:focus,.bootstrap-yop .label-danger[href]:hover{background-color:#c9302c}.bootstrap-yop .badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;color:#fff;background-color:#999;border-radius:10px}.bootstrap-yop .badge:empty{display:none}.bootstrap-yop a.badge:focus,.bootstrap-yop a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.bootstrap-yop .nav-pills>.active>a>.badge,.bootstrap-yop a.list-group-item.active>.badge{color:#428bca;background-color:#fff}.bootstrap-yop .nav-pills>li>a>.badge{margin-left:3px}.bootstrap-yop .jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.bootstrap-yop .jumbotron .h1,.bootstrap-yop .jumbotron h1{line-height:1;color:inherit}.bootstrap-yop .jumbotron p{line-height:1.4}.bootstrap-yop .container .jumbotron{border-radius:6px}.bootstrap-yop .jumbotron .container{max-width:100%}@media screen and (min-width:768px){.bootstrap-yop .jumbotron{padding-top:48px;padding-bottom:48px}.bootstrap-yop .container .jumbotron{padding-right:60px;padding-left:60px}.bootstrap-yop .jumbotron .h1,.bootstrap-yop .jumbotron h1{font-size:63px}}.bootstrap-yop .thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.bootstrap-yop .thumbnail a>img,.bootstrap-yop .thumbnail>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}.bootstrap-yop a.thumbnail.active,.bootstrap-yop a.thumbnail:focus,.bootstrap-yop a.thumbnail:hover{border-color:#428bca}.bootstrap-yop .thumbnail .caption{padding:9px;color:#333}.bootstrap-yop .alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.bootstrap-yop .alert h4{margin-top:0;color:inherit}.bootstrap-yop .alert .alert-link{font-weight:700}.bootstrap-yop .alert>p,.bootstrap-yop .alert>ul{margin-bottom:0}.bootstrap-yop .alert>p+p{margin-top:5px}.bootstrap-yop .alert-dismissable{padding-right:35px}.bootstrap-yop .alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.bootstrap-yop .alert-success{color:#3c763d;background-color:#dff0d8}.bootstrap-yop .alert-success hr{border-top-color:#c9e2b3}.bootstrap-yop .alert-success .alert-link{color:#2b542c}.bootstrap-yop .alert-info{color:#31708f;background-color:#d9edf7}.bootstrap-yop .alert-info hr{border-top-color:#a6e1ec}.bootstrap-yop .alert-info .alert-link{color:#245269}.bootstrap-yop .alert-warning{color:#8a6d3b;background-color:#fcf8e3}.bootstrap-yop .alert-warning hr{border-top-color:#f7e1b5}.bootstrap-yop .alert-warning .alert-link{color:#66512c}.bootstrap-yop .alert-danger{color:#a94442;background-color:#f2dede}.bootstrap-yop .alert-danger hr{border-top-color:#e4b9c0}.bootstrap-yop .alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.bootstrap-yop .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)}.bootstrap-yop .progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.bootstrap-yop .progress-striped .progress-bar{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.bootstrap-yop .progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.bootstrap-yop .progress-bar-success{background-color:#5cb85c}.bootstrap-yop .progress-striped .progress-bar-success{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)}.bootstrap-yop .progress-striped .progress-bar-info,.bootstrap-yop .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)}.bootstrap-yop .progress-bar-info{background-color:#5bc0de}.bootstrap-yop .progress-striped .progress-bar-info{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)}.bootstrap-yop .progress-bar-warning{background-color:#f0ad4e}.bootstrap-yop .progress-striped .progress-bar-warning{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)}.bootstrap-yop .progress-bar-danger{background-color:#d9534f}.bootstrap-yop .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.bootstrap-yop .media,.bootstrap-yop .media-body{overflow:hidden;zoom:1}.bootstrap-yop .media,.bootstrap-yop .media .media{margin-top:15px}.bootstrap-yop .media:first-child{margin-top:0}.bootstrap-yop .media-object{display:block}.bootstrap-yop .media-heading{margin:0 0 5px}.bootstrap-yop .media>.pull-left{margin-right:10px}.bootstrap-yop .media>.pull-right{margin-left:10px}.bootstrap-yop .media-list{padding-left:0;list-style:none}.bootstrap-yop .list-group{padding-left:0;margin-bottom:20px}.bootstrap-yop .list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.bootstrap-yop .list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.bootstrap-yop .list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.bootstrap-yop .list-group-item>.badge{float:right}.bootstrap-yop .list-group-item>.badge+.badge{margin-right:5px}.bootstrap-yop a.list-group-item{color:#555}.bootstrap-yop a.list-group-item .list-group-item-heading{color:#333}.bootstrap-yop a.list-group-item:focus,.bootstrap-yop a.list-group-item:hover{text-decoration:none;background-color:#f5f5f5}.bootstrap-yop a.list-group-item.active,.bootstrap-yop a.list-group-item.active:focus,.bootstrap-yop a.list-group-item.active:hover{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.bootstrap-yop a.list-group-item.active .list-group-item-heading,.bootstrap-yop a.list-group-item.active:focus .list-group-item-heading,.bootstrap-yop a.list-group-item.active:hover .list-group-item-heading{color:inherit}.bootstrap-yop a.list-group-item.active .list-group-item-text,.bootstrap-yop a.list-group-item.active:focus .list-group-item-text,.bootstrap-yop a.list-group-item.active:hover .list-group-item-text{color:#e1edf7}.bootstrap-yop .panel-heading>.dropdown .dropdown-toggle,.bootstrap-yop .panel-title>a{color:inherit}.bootstrap-yop .list-group-item-heading{margin-top:0;margin-bottom:5px}.bootstrap-yop .list-group-item-text{margin-bottom:0;line-height:1.3}.bootstrap-yop .panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px}.bootstrap-yop .panel-body{padding:15px}.bootstrap-yop .panel-body:after,.bootstrap-yop .panel-body:before{display:table;content:" "}.bootstrap-yop .panel>.list-group{margin-bottom:0}.bootstrap-yop .panel>.list-group .list-group-item{border-width:1px 0}.bootstrap-yop .panel>.list-group .list-group-item:last-child,.bootstrap-yop .panel>.table-bordered>tbody>tr:last-child>td,.bootstrap-yop .panel>.table-bordered>tbody>tr:last-child>th,.bootstrap-yop .panel>.table-bordered>tfoot>tr:last-child>td,.bootstrap-yop .panel>.table-bordered>tfoot>tr:last-child>th,.bootstrap-yop .panel>.table-bordered>thead>tr:last-child>td,.bootstrap-yop .panel>.table-bordered>thead>tr:last-child>th,.bootstrap-yop .panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.bootstrap-yop .panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.bootstrap-yop .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.bootstrap-yop .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.bootstrap-yop .panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.bootstrap-yop .panel>.table-responsive>.table-bordered>thead>tr:last-child>th{border-bottom:0}.bootstrap-yop .panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.bootstrap-yop .panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.bootstrap-yop .panel>.table,.bootstrap-yop .panel>.table-responsive>.table{margin-bottom:0}.bootstrap-yop .panel>.panel-body+.table,.bootstrap-yop .panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.bootstrap-yop .panel>.table>tbody:first-child td,.bootstrap-yop .panel>.table>tbody:first-child th{border-top:0}.bootstrap-yop .panel>.table-bordered,.bootstrap-yop .panel>.table-responsive>.table-bordered{border:0}.bootstrap-yop .panel>.table-bordered>tbody>tr>td:first-child,.bootstrap-yop .panel>.table-bordered>tbody>tr>th:first-child,.bootstrap-yop .panel>.table-bordered>tfoot>tr>td:first-child,.bootstrap-yop .panel>.table-bordered>tfoot>tr>th:first-child,.bootstrap-yop .panel>.table-bordered>thead>tr>td:first-child,.bootstrap-yop .panel>.table-bordered>thead>tr>th:first-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.bootstrap-yop .panel>.table-bordered>tbody>tr>td:last-child,.bootstrap-yop .panel>.table-bordered>tbody>tr>th:last-child,.bootstrap-yop .panel>.table-bordered>tfoot>tr>td:last-child,.bootstrap-yop .panel>.table-bordered>tfoot>tr>th:last-child,.bootstrap-yop .panel>.table-bordered>thead>tr>td:last-child,.bootstrap-yop .panel>.table-bordered>thead>tr>th:last-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.bootstrap-yop .panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.bootstrap-yop .panel>.table-responsive{margin-bottom:0;border:0}.bootstrap-yop .panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.bootstrap-yop .panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.bootstrap-yop .panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.bootstrap-yop .panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.bootstrap-yop .panel-group .panel+.panel{margin-top:5px}.bootstrap-yop .panel-group .panel-heading{border-bottom:0}.bootstrap-yop .panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.bootstrap-yop .panel-group .panel-footer{border-top:0}.bootstrap-yop .panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.bootstrap-yop .panel-default{border-color:#ddd}.bootstrap-yop .panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.bootstrap-yop .panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.bootstrap-yop .panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.bootstrap-yop .panel-primary{border-color:#428bca}.bootstrap-yop .panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.bootstrap-yop .panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.bootstrap-yop .panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.bootstrap-yop .panel-success{border-color:#d6e9c6}.bootstrap-yop .panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.bootstrap-yop .panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.bootstrap-yop .panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.bootstrap-yop .panel-warning{border-color:#faebcc}.bootstrap-yop .panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.bootstrap-yop .panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.bootstrap-yop .panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.bootstrap-yop .panel-danger{border-color:#ebccd1}.bootstrap-yop .panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.bootstrap-yop .panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.bootstrap-yop .panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.bootstrap-yop .panel-info{border-color:#bce8f1}.bootstrap-yop .panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.bootstrap-yop .panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.bootstrap-yop .panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.bootstrap-yop .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px}.bootstrap-yop .well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.bootstrap-yop .well-lg{padding:24px;border-radius:6px}.bootstrap-yop .well-sm{padding:9px;border-radius:3px}.bootstrap-yop .close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.bootstrap-yop .close:focus,.bootstrap-yop .close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}.bootstrap-yop button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.bootstrap-yop .modal-open{overflow:hidden}.bootstrap-yop .modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll}.bootstrap-yop .modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.bootstrap-yop .modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.bootstrap-yop .modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.bootstrap-yop .modal-content{position:relative;background-color:#fff;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);background-clip:padding-box}.bootstrap-yop .modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.bootstrap-yop .modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.bootstrap-yop .modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.bootstrap-yop .modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.bootstrap-yop .modal-header .close{margin-top:-2px}.bootstrap-yop .modal-title{margin:0;line-height:1.428571429}.bootstrap-yop .modal-body{position:relative;padding:20px}.bootstrap-yop .modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.bootstrap-yop .modal-footer:after,.bootstrap-yop .modal-footer:before{display:table;content:" "}.bootstrap-yop .modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.bootstrap-yop .modal-footer .btn-group .btn+.btn{margin-left:-1px}.bootstrap-yop .modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.bootstrap-yop .modal-dialog{width:600px;margin:30px auto}.bootstrap-yop .modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}}.bootstrap-yop .tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.bootstrap-yop .tooltip.in{opacity:.9;filter:alpha(opacity=90)}.bootstrap-yop .tooltip.top{padding:5px 0;margin-top:-3px}.bootstrap-yop .tooltip.right{padding:0 5px;margin-left:3px}.bootstrap-yop .tooltip.bottom{padding:5px 0;margin-top:3px}.bootstrap-yop .tooltip.left{padding:0 5px;margin-left:-3px}.bootstrap-yop .tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.bootstrap-yop .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.bootstrap-yop .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.bootstrap-yop .tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#000;border-width:5px 5px 0}.bootstrap-yop .tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#000;border-width:5px 5px 0}.bootstrap-yop .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.bootstrap-yop .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.bootstrap-yop .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.bootstrap-yop .tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#000;border-width:0 5px 5px}.bootstrap-yop .tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#000;border-width:0 5px 5px}.bootstrap-yop .popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;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);background-clip:padding-box}.bootstrap-yop .popover.top{margin-top:-10px}.bootstrap-yop .popover.right{margin-left:10px}.bootstrap-yop .popover.bottom{margin-top:10px}.bootstrap-yop .popover.left{margin-left:-10px}.bootstrap-yop .popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.bootstrap-yop .popover-content{padding:9px 14px}.bootstrap-yop .popover .arrow,.bootstrap-yop .popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.bootstrap-yop .popover .arrow{border-width:11px}.bootstrap-yop .popover .arrow:after{border-width:10px;content:""}.bootstrap-yop .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}.bootstrap-yop .popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.bootstrap-yop .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}.bootstrap-yop .popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.bootstrap-yop .popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);border-top-width:0}.bootstrap-yop .popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.bootstrap-yop .popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,.25);border-right-width:0}.bootstrap-yop .popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.bootstrap-yop .carousel{position:relative}.bootstrap-yop .carousel-inner{position:relative;width:100%;overflow:hidden}.bootstrap-yop .carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.bootstrap-yop .carousel-inner>.item>a>img,.bootstrap-yop .carousel-inner>.item>img{display:block;height:auto;max-width:100%;line-height:1}.bootstrap-yop .carousel-inner>.active,.bootstrap-yop .carousel-inner>.next,.bootstrap-yop .carousel-inner>.prev{display:block}.bootstrap-yop .carousel-inner>.active{left:0}.bootstrap-yop .carousel-inner>.next,.bootstrap-yop .carousel-inner>.prev{position:absolute;top:0;width:100%}.bootstrap-yop .carousel-inner>.next{left:100%}.bootstrap-yop .carousel-inner>.prev{left:-100%}.bootstrap-yop .carousel-inner>.next.left,.bootstrap-yop .carousel-inner>.prev.right{left:0}.bootstrap-yop .carousel-inner>.active.left{left:-100%}.bootstrap-yop .carousel-inner>.active.right{left:100%}.bootstrap-yop .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);opacity:.5;filter:alpha(opacity=50)}.bootstrap-yop .carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.bootstrap-yop .carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.bootstrap-yop .carousel-control:focus,.bootstrap-yop .carousel-control:hover{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.bootstrap-yop .carousel-control .glyphicon-chevron-left,.bootstrap-yop .carousel-control .glyphicon-chevron-right,.bootstrap-yop .carousel-control .icon-next,.bootstrap-yop .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.bootstrap-yop .carousel-control .glyphicon-chevron-left,.bootstrap-yop .carousel-control .icon-prev{left:50%}.bootstrap-yop .carousel-control .glyphicon-chevron-right,.bootstrap-yop .carousel-control .icon-next{right:50%}.bootstrap-yop .carousel-control .icon-next,.bootstrap-yop .carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.bootstrap-yop .carousel-control .icon-prev:before{content:'\2039'}.bootstrap-yop .carousel-control .icon-next:before{content:'\203a'}.bootstrap-yop .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}.bootstrap-yop .carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border-radius:10px}.bootstrap-yop .carousel-indicators .active{width:12px;height:12px;margin:0}.bootstrap-yop .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)}.bootstrap-yop .carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.bootstrap-yop .carousel-control .glyphicons-chevron-left,.bootstrap-yop .carousel-control .glyphicons-chevron-right,.bootstrap-yop .carousel-control .icon-next,.bootstrap-yop .carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.bootstrap-yop .carousel-caption{right:20%;left:20%;padding-bottom:30px}.bootstrap-yop .carousel-indicators{bottom:20px}}.bootstrap-yop .clearfix:after,.bootstrap-yop .clearfix:before{display:table;content:" "}.bootstrap-yop .center-block{display:block;margin-right:auto;margin-left:auto}.bootstrap-yop .pull-right{float:right!important}.bootstrap-yop .pull-left{float:left!important}.bootstrap-yop .hide{display:none!important}.bootstrap-yop .show{display:block!important}.bootstrap-yop .hidden,.bootstrap-yop .visible-xs,.bootstrap-yop td.visible-xs,.bootstrap-yop th.visible-xs,.bootstrap-yop tr.visible-xs{display:none!important}.bootstrap-yop .invisible{visibility:hidden}.bootstrap-yop .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.bootstrap-yop .hidden{visibility:hidden!important}.bootstrap-yop .affix{position:fixed}@-ms-viewport{width:device-width}@media (max-width:767px){.bootstrap-yop .visible-xs{display:block!important}.bootstrap-yop table.visible-xs{display:table}.bootstrap-yop tr.visible-xs{display:table-row!important}.bootstrap-yop td.visible-xs,.bootstrap-yop th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .visible-xs.visible-sm{display:block!important}.bootstrap-yop table.visible-xs.visible-sm{display:table}.bootstrap-yop tr.visible-xs.visible-sm{display:table-row!important}.bootstrap-yop td.visible-xs.visible-sm,.bootstrap-yop th.visible-xs.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .visible-xs.visible-md{display:block!important}.bootstrap-yop table.visible-xs.visible-md{display:table}.bootstrap-yop tr.visible-xs.visible-md{display:table-row!important}.bootstrap-yop td.visible-xs.visible-md,.bootstrap-yop th.visible-xs.visible-md{display:table-cell!important}}@media (min-width:1200px){.bootstrap-yop .visible-xs.visible-lg{display:block!important}.bootstrap-yop table.visible-xs.visible-lg{display:table}.bootstrap-yop tr.visible-xs.visible-lg{display:table-row!important}.bootstrap-yop td.visible-xs.visible-lg,.bootstrap-yop th.visible-xs.visible-lg{display:table-cell!important}}.bootstrap-yop .visible-sm,.bootstrap-yop td.visible-sm,.bootstrap-yop th.visible-sm,.bootstrap-yop tr.visible-sm{display:none!important}@media (max-width:767px){.bootstrap-yop .visible-sm.visible-xs{display:block!important}.bootstrap-yop table.visible-sm.visible-xs{display:table}.bootstrap-yop tr.visible-sm.visible-xs{display:table-row!important}.bootstrap-yop td.visible-sm.visible-xs,.bootstrap-yop th.visible-sm.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .visible-sm{display:block!important}.bootstrap-yop table.visible-sm{display:table}.bootstrap-yop tr.visible-sm{display:table-row!important}.bootstrap-yop td.visible-sm,.bootstrap-yop th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .visible-sm.visible-md{display:block!important}.bootstrap-yop table.visible-sm.visible-md{display:table}.bootstrap-yop tr.visible-sm.visible-md{display:table-row!important}.bootstrap-yop td.visible-sm.visible-md,.bootstrap-yop th.visible-sm.visible-md{display:table-cell!important}}@media (min-width:1200px){.bootstrap-yop .visible-sm.visible-lg{display:block!important}.bootstrap-yop table.visible-sm.visible-lg{display:table}.bootstrap-yop tr.visible-sm.visible-lg{display:table-row!important}.bootstrap-yop td.visible-sm.visible-lg,.bootstrap-yop th.visible-sm.visible-lg{display:table-cell!important}}.bootstrap-yop .visible-md,.bootstrap-yop td.visible-md,.bootstrap-yop th.visible-md,.bootstrap-yop tr.visible-md{display:none!important}@media (max-width:767px){.bootstrap-yop .visible-md.visible-xs{display:block!important}.bootstrap-yop table.visible-md.visible-xs{display:table}.bootstrap-yop tr.visible-md.visible-xs{display:table-row!important}.bootstrap-yop td.visible-md.visible-xs,.bootstrap-yop th.visible-md.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .visible-md.visible-sm{display:block!important}.bootstrap-yop table.visible-md.visible-sm{display:table}.bootstrap-yop tr.visible-md.visible-sm{display:table-row!important}.bootstrap-yop td.visible-md.visible-sm,.bootstrap-yop th.visible-md.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .visible-md{display:block!important}.bootstrap-yop table.visible-md{display:table}.bootstrap-yop tr.visible-md{display:table-row!important}.bootstrap-yop td.visible-md,.bootstrap-yop th.visible-md{display:table-cell!important}}@media (min-width:1200px){.bootstrap-yop .visible-md.visible-lg{display:block!important}.bootstrap-yop table.visible-md.visible-lg{display:table}.bootstrap-yop tr.visible-md.visible-lg{display:table-row!important}.bootstrap-yop td.visible-md.visible-lg,.bootstrap-yop th.visible-md.visible-lg{display:table-cell!important}}.bootstrap-yop .visible-lg,.bootstrap-yop td.visible-lg,.bootstrap-yop th.visible-lg,.bootstrap-yop tr.visible-lg{display:none!important}@media (max-width:767px){.bootstrap-yop .visible-lg.visible-xs{display:block!important}.bootstrap-yop table.visible-lg.visible-xs{display:table}.bootstrap-yop tr.visible-lg.visible-xs{display:table-row!important}.bootstrap-yop td.visible-lg.visible-xs,.bootstrap-yop th.visible-lg.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .visible-lg.visible-sm{display:block!important}.bootstrap-yop table.visible-lg.visible-sm{display:table}.bootstrap-yop tr.visible-lg.visible-sm{display:table-row!important}.bootstrap-yop td.visible-lg.visible-sm,.bootstrap-yop th.visible-lg.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .visible-lg.visible-md{display:block!important}.bootstrap-yop table.visible-lg.visible-md{display:table}.bootstrap-yop tr.visible-lg.visible-md{display:table-row!important}.bootstrap-yop td.visible-lg.visible-md,.bootstrap-yop th.visible-lg.visible-md{display:table-cell!important}}@media (min-width:1200px){.bootstrap-yop .visible-lg{display:block!important}.bootstrap-yop table.visible-lg{display:table}.bootstrap-yop tr.visible-lg{display:table-row!important}.bootstrap-yop td.visible-lg,.bootstrap-yop th.visible-lg{display:table-cell!important}}.bootstrap-yop .hidden-xs{display:block!important}.bootstrap-yop table.hidden-xs{display:table}.bootstrap-yop tr.hidden-xs{display:table-row!important}.bootstrap-yop td.hidden-xs,.bootstrap-yop th.hidden-xs{display:table-cell!important}@media (max-width:767px){.bootstrap-yop .hidden-xs,.bootstrap-yop td.hidden-xs,.bootstrap-yop th.hidden-xs,.bootstrap-yop tr.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .hidden-xs.hidden-sm,.bootstrap-yop td.hidden-xs.hidden-sm,.bootstrap-yop th.hidden-xs.hidden-sm,.bootstrap-yop tr.hidden-xs.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .hidden-xs.hidden-md,.bootstrap-yop td.hidden-xs.hidden-md,.bootstrap-yop th.hidden-xs.hidden-md,.bootstrap-yop tr.hidden-xs.hidden-md{display:none!important}}@media (min-width:1200px){.bootstrap-yop .hidden-xs.hidden-lg,.bootstrap-yop td.hidden-xs.hidden-lg,.bootstrap-yop th.hidden-xs.hidden-lg,.bootstrap-yop tr.hidden-xs.hidden-lg{display:none!important}}.bootstrap-yop .hidden-sm{display:block!important}.bootstrap-yop table.hidden-sm{display:table}.bootstrap-yop tr.hidden-sm{display:table-row!important}.bootstrap-yop td.hidden-sm,.bootstrap-yop th.hidden-sm{display:table-cell!important}@media (max-width:767px){.bootstrap-yop .hidden-sm.hidden-xs,.bootstrap-yop td.hidden-sm.hidden-xs,.bootstrap-yop th.hidden-sm.hidden-xs,.bootstrap-yop tr.hidden-sm.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .hidden-sm,.bootstrap-yop td.hidden-sm,.bootstrap-yop th.hidden-sm,.bootstrap-yop tr.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .hidden-sm.hidden-md,.bootstrap-yop td.hidden-sm.hidden-md,.bootstrap-yop th.hidden-sm.hidden-md,.bootstrap-yop tr.hidden-sm.hidden-md{display:none!important}}@media (min-width:1200px){.bootstrap-yop .hidden-sm.hidden-lg,.bootstrap-yop td.hidden-sm.hidden-lg,.bootstrap-yop th.hidden-sm.hidden-lg,.bootstrap-yop tr.hidden-sm.hidden-lg{display:none!important}}.bootstrap-yop .hidden-md{display:block!important}.bootstrap-yop table.hidden-md{display:table}.bootstrap-yop tr.hidden-md{display:table-row!important}.bootstrap-yop td.hidden-md,.bootstrap-yop th.hidden-md{display:table-cell!important}@media (max-width:767px){.bootstrap-yop .hidden-md.hidden-xs,.bootstrap-yop td.hidden-md.hidden-xs,.bootstrap-yop th.hidden-md.hidden-xs,.bootstrap-yop tr.hidden-md.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .hidden-md.hidden-sm,.bootstrap-yop td.hidden-md.hidden-sm,.bootstrap-yop th.hidden-md.hidden-sm,.bootstrap-yop tr.hidden-md.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .hidden-md,.bootstrap-yop td.hidden-md,.bootstrap-yop th.hidden-md,.bootstrap-yop tr.hidden-md{display:none!important}}@media (min-width:1200px){.bootstrap-yop .hidden-md.hidden-lg,.bootstrap-yop td.hidden-md.hidden-lg,.bootstrap-yop th.hidden-md.hidden-lg,.bootstrap-yop tr.hidden-md.hidden-lg{display:none!important}}.bootstrap-yop .hidden-lg{display:block!important}.bootstrap-yop table.hidden-lg{display:table}.bootstrap-yop tr.hidden-lg{display:table-row!important}.bootstrap-yop td.hidden-lg,.bootstrap-yop th.hidden-lg{display:table-cell!important}@media (max-width:767px){.bootstrap-yop .hidden-lg.hidden-xs,.bootstrap-yop td.hidden-lg.hidden-xs,.bootstrap-yop th.hidden-lg.hidden-xs,.bootstrap-yop tr.hidden-lg.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.bootstrap-yop .hidden-lg.hidden-sm,.bootstrap-yop td.hidden-lg.hidden-sm,.bootstrap-yop th.hidden-lg.hidden-sm,.bootstrap-yop tr.hidden-lg.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.bootstrap-yop .hidden-lg.hidden-md,.bootstrap-yop td.hidden-lg.hidden-md,.bootstrap-yop th.hidden-lg.hidden-md,.bootstrap-yop tr.hidden-lg.hidden-md{display:none!important}}@media (min-width:1200px){.bootstrap-yop .hidden-lg,.bootstrap-yop td.hidden-lg,.bootstrap-yop th.hidden-lg,.bootstrap-yop tr.hidden-lg{display:none!important}}.bootstrap-yop .visible-print,.bootstrap-yop td.visible-print,.bootstrap-yop th.visible-print,.bootstrap-yop tr.visible-print{display:none!important}@media print{.bootstrap-yop .visible-print{display:block!important}.bootstrap-yop table.visible-print{display:table}.bootstrap-yop tr.visible-print{display:table-row!important}.bootstrap-yop td.visible-print,.bootstrap-yop th.visible-print{display:table-cell!important}.bootstrap-yop .hidden-print,.bootstrap-yop td.hidden-print,.bootstrap-yop th.hidden-print,.bootstrap-yop tr.hidden-print{display:none!important}}.bootstrap-yop .btn-danger,.bootstrap-yop .btn-default,.bootstrap-yop .btn-info,.bootstrap-yop .btn-primary,.bootstrap-yop .btn-success,.bootstrap-yop .btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.bootstrap-yop .btn-danger.active,.bootstrap-yop .btn-danger:active,.bootstrap-yop .btn-default.active,.bootstrap-yop .btn-default:active,.bootstrap-yop .btn-info.active,.bootstrap-yop .btn-info:active,.bootstrap-yop .btn-primary.active,.bootstrap-yop .btn-primary:active,.bootstrap-yop .btn-success.active,.bootstrap-yop .btn-success:active,.bootstrap-yop .btn-warning.active,.bootstrap-yop .btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.bootstrap-yop .btn.active,.bootstrap-yop .btn:active{background-image:none}.bootstrap-yop .btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .btn-default:focus,.bootstrap-yop .btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.bootstrap-yop .btn-default.active,.bootstrap-yop .btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.bootstrap-yop .btn-primary{background-image:-webkit-linear-gradient(top,#428bca 0,#2d6ca2 100%);background-image:linear-gradient(to bottom,#428bca 0,#2d6ca2 100%);background-repeat:repeat-x;border-color:#2b669a;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .btn-primary:focus,.bootstrap-yop .btn-primary:hover{background-color:#2d6ca2;background-position:0 -15px}.bootstrap-yop .btn-primary.active,.bootstrap-yop .btn-primary:active{background-color:#2d6ca2;border-color:#2b669a}.bootstrap-yop .btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);background-repeat:repeat-x;border-color:#3e8f3e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .btn-success:focus,.bootstrap-yop .btn-success:hover{background-color:#419641;background-position:0 -15px}.bootstrap-yop .btn-success.active,.bootstrap-yop .btn-success:active{background-color:#419641;border-color:#3e8f3e}.bootstrap-yop .btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);background-repeat:repeat-x;border-color:#e38d13;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .btn-warning:focus,.bootstrap-yop .btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.bootstrap-yop .btn-warning.active,.bootstrap-yop .btn-warning:active{background-color:#eb9316;border-color:#e38d13}.bootstrap-yop .btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);background-repeat:repeat-x;border-color:#b92c28;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .btn-danger:focus,.bootstrap-yop .btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.bootstrap-yop .btn-danger.active,.bootstrap-yop .btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.bootstrap-yop .btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);background-repeat:repeat-x;border-color:#28a4c9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .btn-info:focus,.bootstrap-yop .btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.bootstrap-yop .btn-info.active,.bootstrap-yop .btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.bootstrap-yop .img-thumbnail,.bootstrap-yop .thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.bootstrap-yop .dropdown-menu>li>a:focus,.bootstrap-yop .dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.bootstrap-yop .dropdown-menu>.active>a,.bootstrap-yop .dropdown-menu>.active>a:focus,.bootstrap-yop .dropdown-menu>.active>a:hover{background-color:#357ebd;background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.bootstrap-yop .navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.bootstrap-yop .navbar-default .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f3f3f3 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f3f3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.bootstrap-yop .navbar-brand,.bootstrap-yop .navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.bootstrap-yop .navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.bootstrap-yop .navbar-inverse .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#222 0,#282828 100%);background-image:linear-gradient(to bottom,#222 0,#282828 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.bootstrap-yop .navbar-inverse .navbar-brand,.bootstrap-yop .navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.bootstrap-yop .navbar-fixed-bottom,.bootstrap-yop .navbar-fixed-top,.bootstrap-yop .navbar-static-top{border-radius:0}.bootstrap-yop .alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.bootstrap-yop .alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);background-repeat:repeat-x;border-color:#b2dba1;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0)}.bootstrap-yop .alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;border-color:#9acfea;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0)}.bootstrap-yop .alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);background-repeat:repeat-x;border-color:#f5e79e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0)}.bootstrap-yop .alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);background-repeat:repeat-x;border-color:#dca7a7;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0)}.bootstrap-yop .progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0)}.bootstrap-yop .progress-bar{background-image:-webkit-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0)}.bootstrap-yop .progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0)}.bootstrap-yop .progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0)}.bootstrap-yop .progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0)}.bootstrap-yop .progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0)}.bootstrap-yop .list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.bootstrap-yop .list-group-item.active,.bootstrap-yop .list-group-item.active:focus,.bootstrap-yop .list-group-item.active:hover{text-shadow:0 -1px 0 #3071a9;background-image:-webkit-linear-gradient(top,#428bca 0,#3278b3 100%);background-image:linear-gradient(to bottom,#428bca 0,#3278b3 100%);background-repeat:repeat-x;border-color:#3278b3;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0)}.bootstrap-yop .panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.bootstrap-yop .panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.bootstrap-yop .panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.bootstrap-yop .panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0)}.bootstrap-yop .panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0)}.bootstrap-yop .panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0)}.bootstrap-yop .panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0)}.bootstrap-yop .well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);background-repeat:repeat-x;border-color:#dcdcdc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)}.container,.flexslider,.well .markup{background:#fff}h4~p{padding-left:20px}.inl-bl{display:inline-block}.well .markup{color:#777;position:relative;padding:45px 15px 15px;margin:15px 0 0;border-radius:0 0 4px 4px;box-shadow:none}.well .markup::after{content:"Example";position:absolute;top:15px;left:15px;font-size:12px;font-weight:700;color:#bbb;text-transform:uppercase;letter-spacing:1px}.flex-container a:active,.flex-container a:focus,.flexslider a:active,.flexslider a:focus{outline:0}.flex-control-nav,.flex-direction-nav,.slides{margin:0;padding:0;list-style:none}@font-face{font-family:flexslider-icon;src:url(../fonts/flexslider-icon.eot);src:url(../fonts/flexslider-icon.eot?#iefix) format('embedded-opentype'),url(../fonts/flexslider-icon.woff) format('woff'),url(../fonts/flexslider-icon.ttf) format('truetype'),url(../fonts/flexslider-icon.svg#flexslider-icon) format('svg');font-weight:400;font-style:normal}.flexslider{padding:0;margin:0 0 60px;border:4px solid #fff;position:relative;-webkit-border-radius:4px;-moz-border-radius:4px;-o-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 4px rgba(0,0,0,.2);-moz-box-shadow:0 1px 4px rgba(0,0,0,.2);-o-box-shadow:0 1px 4px rgba(0,0,0,.2);box-shadow:0 1px 4px rgba(0,0,0,.2);zoom:1}.flexslider .slides>li{display:none;-webkit-backface-visibility:hidden}.flex-direction-nav a,.no-js .slides>li:first-child,.slides:after,html[xmlns] .slides{display:block}.flexslider .slides img{width:100%;display:block}.flex-pauseplay span{text-transform:capitalize}.slides:after{content:".";visibility:hidden;line-height:0;height:0}* html .slides{height:1%}.flex-viewport{max-height:2000px;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.loading .flex-viewport{max-height:300px}.flexslider .slides{zoom:1}.carousel li{margin-right:5px}.flex-direction-nav a{text-decoration:none;width:40px;height:40px;margin:-20px 0 0;position:absolute;top:50%;z-index:10;overflow:hidden;opacity:0;cursor:pointer;color:rgba(0,0,0,.8);text-shadow:1px 1px 0 rgba(255,255,255,.3);-webkit-transition:all .3s ease;-moz-transition:all .3s ease;transition:all .3s ease}.flex-direction-nav .flex-prev{left:10px;opacity:.7}.flex-direction-nav .flex-next{right:10px;text-align:right;opacity:.7}.flexslider:hover .flexslider:hover{opacity:1}.flex-direction-nav .flex-disabled{opacity:0!important;filter:alpha(opacity=0);cursor:default}.flex-direction-nav a:before{font-family:flexslider-icon;font-size:40px;line-height:1;display:inline-block;content:'\f001'}.flex-direction-nav a.flex-next:before{content:'\f002'}.flex-pauseplay a{display:block;width:20px;height:20px;position:absolute;bottom:5px;left:10px;opacity:.8;z-index:10;overflow:hidden;cursor:pointer;color:#000}.flex-pauseplay a:before{font-family:flexslider-icon;font-size:20px;display:inline-block;content:'\f004'}.flex-pauseplay a:hover{opacity:1}.flex-pauseplay a.flex-play:before{content:'\f003'}.flex-control-nav{width:100%;position:absolute;bottom:-40px;text-align:center}.flex-control-nav li{margin:0 6px;display:inline-block;zoom:1}.flex-control-paging li a{width:11px;height:11px;display:block;background:#666;background:rgba(0,0,0,.5);cursor:pointer;text-indent:-9999px;-webkit-border-radius:20px;-moz-border-radius:20px;-o-border-radius:20px;border-radius:20px;-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,.3);-moz-box-shadow:inset 0 0 3px rgba(0,0,0,.3);-o-box-shadow:inset 0 0 3px rgba(0,0,0,.3);box-shadow:inset 0 0 3px rgba(0,0,0,.3)}.flex-control-paging li a:hover{background:#333;background:rgba(0,0,0,.7)}.flex-control-paging li a.flex-active{background:#000;background:rgba(0,0,0,.9);cursor:default}.flex-control-thumbs{margin:5px 0 0;position:static;overflow:hidden}.flex-control-thumbs li{width:25%;float:left;margin:0}.flex-control-thumbs img{width:100%;display:block;opacity:.7;cursor:pointer}.flex-control-thumbs img:hover{opacity:1}.flex-control-thumbs .flex-active{opacity:1;cursor:default}@media screen and (max-width:860px){.flex-direction-nav .flex-prev{opacity:1;left:10px}.flex-direction-nav .flex-next{opacity:1;right:10px}}.yop_testimonials{border:2px solid;border-radius:15px}.yop_testimonials_header{text-align:left;font-size:20px;font-weight:700;margin-left:5%}.yop_testimonials_content{text-align:left;font-size:15px;margin-left:5%;margin-right:5%}.yop_testimonials_client{text-align:right;font-size:15px;margin-left:5%;margin-right:5%;font-weight:700}.upgrade_button{color:#fff;display:inline-block;font-weight:700;margin-left:auto;margin-right:auto;text-align:center!important;text-decoration:none!important;border-radius:5px;font-size:21px;padding:15px 35px;background-color:#0e8dc7;border:none;cursor:pointer}.ui-timepicker-div .ui_tpicker_unit_hide,.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time,.ui-timepicker-div.ui-timepicker-oneLine dt{display:none}.upgrade_button:hover{background-color:#0b72a1!important}.yop_testimonials_pro1{border:2px solid;border-radius:15px;text-align:center;width:44%;float:left;margin-top:10px}.yop_testimonials_pro2{border:2px solid;border-radius:15px;margin-right:10%;width:44%;float:right;margin-top:10px}section{width:80%;height:200px;text-align:center;margin:auto;padding:10px}.ui-timepicker-div .ui-widget-header{margin-bottom:8px}.ui-timepicker-div dl{text-align:left}.ui-timepicker-div dl dt{float:left;clear:left;padding:0 0 0 5px}.ui-timepicker-div dl dd{margin:0 10px 10px 40%}.ui-timepicker-div td{font-size:90%}.ui-tpicker-grid-label{background:0 0;border:none;margin:0;padding:0}.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input{background:0 0;color:inherit;border:none;outline:0;border-bottom:solid 1px #555;width:95%}.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus{border-bottom-color:#aaa}.ui-timepicker-rtl dl{text-align:right;padding:0 5px 0 0}.ui-timepicker-rtl dl dt{float:right;clear:right}.ui-timepicker-rtl dl dd{margin:0 40% 10px 10px}.ui-timepicker-div.ui-timepicker-oneLine{padding-right:2px}.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label{display:block;padding-top:2px}.ui-timepicker-div.ui-timepicker-oneLine dl{text-align:right}.ui-timepicker-div.ui-timepicker-oneLine dl dd,.ui-timepicker-div.ui-timepicker-oneLine dl dd>div{display:inline-block;margin:0}.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before,.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before{content:':';display:inline-block}.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before,.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before{content:'.';display:inline-block}.ui-helper-hidden,.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide,.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before{display:none}/*! jQuery UI - v1.12.0 - 2016-07-08
12
* http://jqueryui.com
13
* Includes: core.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, draggable.css, resizable.css, progressbar.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
14
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&fwDefault=normal&cornerRadius=3px&bgColorHeader=e9e9e9&bgTextureHeader=flat&borderColorHeader=dddddd&fcHeader=333333&iconColorHeader=444444&bgColorContent=ffffff&bgTextureContent=flat&borderColorContent=dddddd&fcContent=333333&iconColorContent=444444&bgColorDefault=f6f6f6&bgTextureDefault=flat&borderColorDefault=c5c5c5&fcDefault=454545&iconColorDefault=777777&bgColorHover=ededed&bgTextureHover=flat&borderColorHover=cccccc&fcHover=2b2b2b&iconColorHover=555555&bgColorActive=007fff&bgTextureActive=flat&borderColorActive=003eff&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=fffa90&bgTextureHighlight=flat&borderColorHighlight=dad55e&fcHighlight=777620&iconColorHighlight=777620&bgColorError=fddfdf&bgTextureError=flat&borderColorError=f1a899&fcError=5f3f3f&iconColorError=cc0000&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=666666&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=5px&offsetTopShadow=0px&offsetLeftShadow=0px&cornerRadiusShadow=8px
admin/assets/js/admin.min.js CHANGED
@@ -5,19 +5,19 @@ this.getModal().append(this.getModalDialog()),this.getModalDialog().append(this.
5
var a=d.__super__.render.call(this);return a.addClass("select2-selection--multiple"),a.html('<ul class="select2-selection__rendered"></ul>'),a},d.prototype.bind=function(b,c){var e=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){e.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select2-selection__choice__remove",function(b){if(!e.options.get("disabled")){var c=a(this),d=c.parent(),f=d.data("data");e.trigger("unselect",{originalEvent:b,data:f})}})},d.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},d.prototype.display=function(a,b){var c=this.options.get("templateSelection"),d=this.options.get("escapeMarkup");return d(c(a,b))},d.prototype.selectionContainer=function(){var b=a('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>');return b},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d<a.length;d++){var e=a[d],f=this.selectionContainer(),g=this.display(e,f);f.append(g),f.prop("title",e.title||e.text),f.data("data",e),b.push(f)}var h=this.$selection.find(".select2-selection__rendered");c.appendMany(h,b)}},d}),b.define("select2/selection/placeholder",["../utils"],function(a){function b(a,b,c){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c)}return b.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},b.prototype.createPlaceholder=function(a,b){var c=this.selectionContainer();return c.html(this.display(b)),c.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),c},b.prototype.update=function(a,b){var c=1==b.length&&b[0].id!=this.placeholder.id,d=b.length>1;if(d||c)return a.call(this,b);this.clear();var e=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(e)},b}),b.define("select2/selection/allowClear",["jquery","../keys"],function(a,b){function c(){}return c.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},c.prototype._handleClear=function(a,b){if(!this.options.get("disabled")){var c=this.$selection.find(".select2-selection__clear");if(0!==c.length){b.stopPropagation();for(var d=c.data("data"),e=0;e<d.length;e++){var f={data:d[e]};if(this.trigger("unselect",f),f.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},c.prototype._handleKeyboardClear=function(a,c,d){d.isOpen()||(c.which==b.DELETE||c.which==b.BACKSPACE)&&this._handleClear(c)},c.prototype.update=function(b,c){if(b.call(this,c),!(this.$selection.find(".select2-selection__placeholder").length>0||0===c.length)){var d=a('<span class="select2-selection__clear">&times;</span>');d.data("data",c),this.$selection.find(".select2-selection__rendered").prepend(d)}},c}),b.define("select2/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return this._transferTabIndex(),d},d.prototype.bind=function(a,b,d){var e=this;a.call(this,b,d),b.on("open",function(){e.$search.trigger("focus")}),b.on("close",function(){e.$search.val(""),e.$search.removeAttr("aria-activedescendant"),e.$search.trigger("focus")}),b.on("enable",function(){e.$search.prop("disabled",!1),e._transferTabIndex()}),b.on("disable",function(){e.$search.prop("disabled",!0)}),b.on("focus",function(a){e.$search.trigger("focus")}),b.on("results:focus",function(a){e.$search.attr("aria-activedescendant",a.id)}),this.$selection.on("focusin",".select2-search--inline",function(a){e.trigger("focus",a)}),this.$selection.on("focusout",".select2-search--inline",function(a){e._handleBlur(a)}),this.$selection.on("keydown",".select2-search--inline",function(a){a.stopPropagation(),e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented();var b=a.which;if(b===c.BACKSPACE&&""===e.$search.val()){var d=e.$searchContainer.prev(".select2-selection__choice");if(d.length>0){var f=d.data("data");e.searchRemoveChoice(f),a.preventDefault()}}});var f=document.documentMode,g=f&&11>=f;this.$selection.on("input.searchcheck",".select2-search--inline",function(a){return g?void e.$selection.off("input.search input.searchcheck"):void e.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(a){if(g&&"input"===a.type)return void e.$selection.off("input.search input.searchcheck");var b=a.which;b!=c.SHIFT&&b!=c.CTRL&&b!=c.ALT&&b!=c.TAB&&e.handleSearch(a)})},d.prototype._transferTabIndex=function(a){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){var c=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),c&&this.$search.focus()},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.$search.val(b.text),this.handleSearch()},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";if(""!==this.$search.attr("placeholder"))a=this.$selection.find(".select2-selection__rendered").innerWidth();else{var b=this.$search.val().length+1;a=.75*b+"em"}this.$search.css("width",a)},d}),b.define("select2/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting"],g=["opening","closing","selecting","unselecting"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select2:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),b.define("select2/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),b.define("select2/diacritics",[],function(){var a={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};return a}),b.define("select2/data/base",["../utils"],function(a){function b(a,c){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(a){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(a,b){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(a,b){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),d+=null!=c.id?"-"+c.id.toString():"-"+a.generateChars(4)},b}),b.define("select2/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(d){var e=[];a=[a],a.push.apply(a,d);for(var f=0;f<a.length;f++){var g=a[f].id;-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")});else{var d=a.id;this.$element.val(d),this.$element.trigger("change")}},d.prototype.unselect=function(a){var b=this;if(this.$element.prop("multiple"))return a.selected=!1,c(a.element).is("option")?(a.element.selected=!1,void this.$element.trigger("change")):void this.current(function(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].id;g!==a.id&&-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")})},d.prototype.bind=function(a,b){var c=this;this.container=a,a.on("select",function(a){c.select(a.data)}),a.on("unselect",function(a){c.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){c.removeData(this,"data")})},d.prototype.query=function(a,b){var d=[],e=this,f=this.$element.children();f.each(function(){var b=c(this);if(b.is("option")||b.is("optgroup")){var f=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){var b;a.children?(b=document.createElement("optgroup"),b.label=a.text):(b=document.createElement("option"),void 0!==b.textContent?b.textContent=a.text:b.innerText=a.text),a.id&&(b.value=a.id),a.disabled&&(b.disabled=!0),a.selected&&(b.selected=!0),a.title&&(b.title=a.title);var d=c(b),e=this._normalizeItem(a);return e.element=b,c.data(b,"data",e),d},d.prototype.item=function(a){var b={};if(b=c.data(a[0],"data"),null!=b)return b;if(a.is("option"))b={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};else if(a.is("optgroup")){b={text:a.prop("label"),children:[],title:a.prop("title")};for(var d=a.children("option"),e=[],f=0;f<d.length;f++){var g=c(d[f]),h=this.item(g);e.push(h)}b.children=e}return b=this._normalizeItem(b),b.element=a[0],c.data(a[0],"data",b),b},d.prototype._normalizeItem=function(a){c.isPlainObject(a)||(a={id:a,text:a}),a=c.extend({},{text:""},a);var b={selected:!1,disabled:!1};return null!=a.id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},b,a)},d.prototype.matches=function(a,b){var c=this.options.get("matcher");return c(a,b)},d}),b.define("select2/data/array",["./select","../utils","jquery"],function(a,b,c){function d(a,b){var c=b.get("data")||[];d.__super__.constructor.call(this,a,b),this.addOptions(this.convertToOptions(c))}return b.Extend(d,a),d.prototype.select=function(a){var b=this.$element.find("option").filter(function(b,c){return c.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){function d(a){return function(){return c(this).val()==a.id}}for(var e=this,f=this.$element.find("option"),g=f.map(function(){return e.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){var j=this._normalizeItem(a[i]);if(c.inArray(j.id,g)>=0){var k=f.filter(d(j)),l=this.item(k),m=c.extend(!0,{},j,l),n=this.option(m);k.replaceWith(n)}else{var o=this.option(j);if(j.children){var p=this.convertToOptions(j.children);b.appendMany(o,p)}h.push(o)}}return h},d}),b.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(a,b){this.ajaxOptions=this._applyDefaults(b.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),d.__super__.constructor.call(this,a,b)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return c.extend({},a,{q:a.term})},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){d.status&&"0"===d.status||e.trigger("results:message",{message:"errorLoading"})});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url.call(this.$element,a)),"function"==typeof f.data&&(f.data=f.data.call(this.$element,a)),this.ajaxOptions.delay&&null!=a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),b.define("select2/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");void 0!==f&&(this.createTag=f);var g=d.get("insertTag");if(void 0!==g&&(this.insertTag=g),b.call(this,c,d),a.isArray(e))for(var h=0;h<e.length;h++){var i=e[h],j=this._normalizeItem(i),k=this.option(j);this.$element.append(k)}}return b.prototype.query=function(a,b,c){function d(a,f){for(var g=a.results,h=0;h<g.length;h++){var i=g[h],j=null!=i.children&&!d({results:i.children},!0),k=i.text===b.term;if(k||j)return f?!1:(a.data=g,void c(a))}if(f)return!0;var l=e.createTag(b);if(null!=l){var m=e.option(l);m.attr("data-select2-tag",!0),e.addOptions([m]),e.insertTag(g,l)}a.results=g,c(a)}var e=this;return this._removeOldTags(),null==b.term||null!=b.page?void a.call(this,b,c):void a.call(this,b,d)},b.prototype.createTag=function(b,c){var d=a.trim(c.term);return""===d?null:{id:d,text:d}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(b){var c=(this._lastTag,this.$element.find("option[data-select2-tag]"));c.each(function(){this.selected||a(this).remove()})},b}),b.define("select2/data/tokenizer",["jquery"],function(a){function b(a,b,c){var d=c.get("tokenizer");void 0!==d&&(this.tokenizer=d),a.call(this,b,c)}return b.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select2-search__field")},b.prototype.query=function(b,c,d){function e(b){var c=g._normalizeItem(b),d=g.$element.find("option").filter(function(){return a(this).val()===c.id});if(!d.length){var e=g.option(c);e.attr("data-select2-tag",!0),g._removeOldTags(),g.addOptions([e])}f(c)}function f(a){g.trigger("select",{data:a})}var g=this;c.term=c.term||"";var h=this.tokenizer(c,this.options,e);h.term!==c.term&&(this.$search.length&&(this.$search.val(h.term),this.$search.focus()),c.term=h.term),b.call(this,c,d)},b.prototype.tokenizer=function(b,c,d,e){for(var f=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){var j=g[h];if(-1!==a.inArray(j,f)){var k=g.substr(0,h),l=a.extend({},c,{term:k}),m=i(l);null!=m?(e(m),g=g.substr(h+1)||"",h=0):h++}else h++}return{term:g}},b}),b.define("select2/data/minimumInputLength",[],function(){function a(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",b.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumInputLength",[],function(){function a(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",this.maximumInputLength>0&&b.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){var d=this;this.current(function(e){var f=null!=e?e.length:0;return d.maximumSelectionLength>0&&f>=d.maximumSelectionLength?void d.trigger("results:message",{message:"maximumSelected",args:{maximum:d.maximumSelectionLength}}):void a.call(d,b,c)})},a}),b.define("select2/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<span class="select2-dropdown"><span class="select2-results"></span></span>');return b.attr("dir",this.options.get("dir")),this.$dropdown=b,b},c.prototype.bind=function(){},c.prototype.position=function(a,b){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),b.define("select2/dropdown/search",["jquery","../utils"],function(a,b){function c(){}return c.prototype.render=function(b){var c=b.call(this),d=a('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},c.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(b){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus(),window.setTimeout(function(){e.$search.focus()},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val("")}),c.on("focus",function(){c.isOpen()&&e.$search.focus()}),c.on("results:all",function(a){if(null==a.query.term||""===a.query.term){var b=e.showSearch(a);b?e.$searchContainer.removeClass("select2-search--hide"):e.$searchContainer.addClass("select2-search--hide")}})},c.prototype.handleSearch=function(a){if(!this._keyUpPrevented){var b=this.$search.val();this.trigger("query",{term:b})}this._keyUpPrevented=!1},c.prototype.showSearch=function(a,b){return!0},c}),b.define("select2/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;d>=0;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),b.define("select2/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&this.$results.append(this.$loadingMore)},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),c.on("query",function(a){e.lastParams=a,e.loading=!0}),c.on("query:append",function(a){e.lastParams=a,e.loading=!0}),this.$results.on("scroll",function(){var b=a.contains(document.documentElement,e.$loadingMore[0]);if(!e.loading&&b){var c=e.$results.offset().top+e.$results.outerHeight(!1),d=e.$loadingMore.offset().top+e.$loadingMore.outerHeight(!1);c+50>=d&&e.loadMore()}})},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),b.define("select2/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(b,c,d){this.$dropdownParent=d.get("dropdownParent")||a(document.body),b.call(this,c,d)}return c.prototype.bind=function(a,b,c){var d=this,e=!1;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),e||(e=!0,b.on("results:all",function(){d._positionDropdown(),d._resizeDropdown()}),b.on("results:append",function(){d._positionDropdown(),d._resizeDropdown()}))}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.destroy=function(a){a.call(this),this.$dropdownContainer.remove()},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select2"),b.addClass("select2-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a("<span></span>"),d=b.call(this);return c.append(d),this.$dropdownContainer=c,c},c.prototype._hideDropdown=function(a){this.$dropdownContainer.detach()},c.prototype._attachPositioningHandler=function(c,d){var e=this,f="scroll.select2."+d.id,g="resize.select2."+d.id,h="orientationchange.select2."+d.id,i=this.$container.parents().filter(b.hasScroll);i.each(function(){a(this).data("select2-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),i.on(f,function(b){var c=a(this).data("select2-scroll-position");a(this).scrollTop(c.y)}),a(window).on(f+" "+g+" "+h,function(a){e._positionDropdown(),e._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c,d){var e="scroll.select2."+d.id,f="resize.select2."+d.id,g="orientationchange.select2."+d.id,h=this.$container.parents().filter(b.hasScroll);h.off(e),a(window).off(e+" "+f+" "+g)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select2-dropdown--above"),d=this.$dropdown.hasClass("select2-dropdown--below"),e=null,f=this.$container.offset();f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h={height:this.$dropdown.outerHeight(!1)},i={top:b.scrollTop(),bottom:b.scrollTop()+b.height()},j=i.top<f.top-h.height,k=i.bottom>f.bottom+h.height,l={left:f.left,top:g.bottom},m=this.$dropdownParent;"static"===m.css("position")&&(m=m.offsetParent());var n=m.offset();l.top-=n.top,l.left-=n.left,c||d||(e="below"),k||!j||c?!j&&k&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(l.top=g.top-n.top-h.height),null!=e&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+e),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+e)),this.$dropdownContainer.css(l)},c.prototype._resizeDropdown=function(){var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.position="relative",a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(a){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),b.define("select2/dropdown/minimumResultsForSearch",[],function(){function a(b){for(var c=0,d=0;d<b.length;d++){var e=b[d];e.children?c+=a(e.children):c++}return c}function b(a,b,c,d){this.minimumResultsForSearch=c.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),a.call(this,b,c,d)}return b.prototype.showSearch=function(b,c){return a(c.data.results)<this.minimumResultsForSearch?!1:b.call(this,c)},b}),b.define("select2/dropdown/selectOnClose",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("close",function(a){d._handleSelectOnClose(a)})},a.prototype._handleSelectOnClose=function(a,b){if(b&&null!=b.originalSelect2Event){var c=b.originalSelect2Event;if("select"===c._type||"unselect"===c._type)return}var d=this.getHighlightedResults();if(!(d.length<1)){var e=d.data("data");null!=e.element&&e.element.selected||null==e.element&&e.selected||this.trigger("select",{data:e})}},a}),b.define("select2/dropdown/closeOnSelect",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(a){d._selectTriggered(a)}),b.on("unselect",function(a){d._selectTriggered(a)})},a.prototype._selectTriggered=function(a,b){var c=b.originalEvent;c&&c.ctrlKey||this.trigger("close",{originalEvent:c,originalSelect2Event:b})},a}),b.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(a){var b=a.input.length-a.maximum,c="Please delete "+b+" character";return 1!=b&&(c+="s"),c},inputTooShort:function(a){var b=a.minimum-a.input.length,c="Please enter "+b+" or more characters";return c},loadingMore:function(){return"Loading more results…"},maximumSelected:function(a){var b="You can only select "+a.maximum+" item";return 1!=a.maximum&&(b+="s"),b},noResults:function(){return"No results found";
6
},searching:function(){return"Searching…"}}}),b.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){function D(){this.reset()}D.prototype.apply=function(l){if(l=a.extend(!0,{},this.defaults,l),null==l.dataAdapter){if(null!=l.ajax?l.dataAdapter=o:null!=l.data?l.dataAdapter=n:l.dataAdapter=m,l.minimumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,r)),l.maximumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,s)),l.maximumSelectionLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,t)),l.tags&&(l.dataAdapter=j.Decorate(l.dataAdapter,p)),(null!=l.tokenSeparators||null!=l.tokenizer)&&(l.dataAdapter=j.Decorate(l.dataAdapter,q)),null!=l.query){var C=b(l.amdBase+"compat/query");l.dataAdapter=j.Decorate(l.dataAdapter,C)}if(null!=l.initSelection){var D=b(l.amdBase+"compat/initSelection");l.dataAdapter=j.Decorate(l.dataAdapter,D)}}if(null==l.resultsAdapter&&(l.resultsAdapter=c,null!=l.ajax&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,x)),null!=l.placeholder&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,w)),l.selectOnClose&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,A))),null==l.dropdownAdapter){if(l.multiple)l.dropdownAdapter=u;else{var E=j.Decorate(u,v);l.dropdownAdapter=E}if(0!==l.minimumResultsForSearch&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,z)),l.closeOnSelect&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,B)),null!=l.dropdownCssClass||null!=l.dropdownCss||null!=l.adaptDropdownCssClass){var F=b(l.amdBase+"compat/dropdownCss");l.dropdownAdapter=j.Decorate(l.dropdownAdapter,F)}l.dropdownAdapter=j.Decorate(l.dropdownAdapter,y)}if(null==l.selectionAdapter){if(l.multiple?l.selectionAdapter=e:l.selectionAdapter=d,null!=l.placeholder&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,f)),l.allowClear&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,g)),l.multiple&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,h)),null!=l.containerCssClass||null!=l.containerCss||null!=l.adaptContainerCssClass){var G=b(l.amdBase+"compat/containerCss");l.selectionAdapter=j.Decorate(l.selectionAdapter,G)}l.selectionAdapter=j.Decorate(l.selectionAdapter,i)}if("string"==typeof l.language)if(l.language.indexOf("-")>0){var H=l.language.split("-"),I=H[0];l.language=[l.language,I]}else l.language=[l.language];if(a.isArray(l.language)){var J=new k;l.language.push("en");for(var K=l.language,L=0;L<K.length;L++){var M=K[L],N={};try{N=k.loadPath(M)}catch(O){try{M=this.defaults.amdLanguageBase+M,N=k.loadPath(M)}catch(P){l.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}J.extend(N)}l.translations=J}else{var Q=k.loadPath(this.defaults.amdLanguageBase+"en"),R=new k(l.language);R.extend(Q),l.translations=R}return l},D.prototype.reset=function(){function b(a){function b(a){return l[a]||a}return a.replace(/[^\u0000-\u007E]/g,b)}function c(d,e){if(""===a.trim(d.term))return e;if(e.children&&e.children.length>0){for(var f=a.extend(!0,{},e),g=e.children.length-1;g>=0;g--){var h=e.children[g],i=c(d,h);null==i&&f.children.splice(g,1)}return f.children.length>0?f:c(d,f)}var j=b(e.text).toUpperCase(),k=b(d.term).toUpperCase();return j.indexOf(k)>-1?e:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:C,matcher:c,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.set=function(b,c){var d=a.camelCase(b),e={};e[d]=c;var f=j._convertData(e);a.extend(this.defaults,f)};var E=new D;return E}),b.define("select2/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){var c=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.language&&(a.prop("lang")?this.options.language=a.prop("lang").toLowerCase():a.closest("[lang]").prop("lang")&&(this.options.language=a.closest("[lang]").prop("lang"))),null==this.options.dir&&(a.prop("dir")?this.options.dir=a.prop("dir"):a.closest("[dir]").prop("dir")?this.options.dir=a.closest("[dir]").prop("dir"):this.options.dir="ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),a.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),a.data("data",a.data("select2Tags")),a.data("tags",!0)),a.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",a.data("ajaxUrl")),a.data("ajax--url",a.data("ajaxUrl")));var e={};e=b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset?b.extend(!0,{},a[0].dataset,a.data()):a.data();var f=b.extend(!0,{},e);f=d._convertData(f);for(var g in f)b.inArray(g,c)>-1||(b.isPlainObject(this.options[g])?b.extend(this.options[g],f[g]):this.options[g]=f[g]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),b.define("select2/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,c){null!=a.data("select2")&&a.data("select2").destroy(),this.$element=a,this.id=this._generateId(a),c=c||{},this.options=new b(c,a),e.__super__.constructor.call(this);var d=a.attr("tabindex")||0;a.data("old-tabindex",d),a.attr("tabindex","-1");var f=this.options.get("dataAdapter");this.dataAdapter=new f(a,this.options);var g=this.render();this._placeContainer(g);var h=this.options.get("selectionAdapter");this.selection=new h(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,g);var i=this.options.get("dropdownAdapter");this.dropdown=new i(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,g);var j=this.options.get("resultsAdapter");this.results=new j(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var k=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){k.trigger("selection:update",{data:a})}),a.addClass("select2-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),a.data("select2",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){var b="";return b=null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4),b=b.replace(/(:|\.|\[|\]|,)/g,""),b="select2-"+b},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return 0>=e?"auto":e+"px"}if("style"==b){var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;i>h;h+=1){var j=g[h].replace(/\s/g,""),k=j.match(c);if(null!==k&&k.length>=1)return k[1]}return null}return b},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var b=this;this.$element.on("change.select2",function(){b.dataAdapter.current(function(a){b.trigger("selection:update",{data:a})})}),this.$element.on("focus.select2",function(a){b.trigger("focus",a)}),this._syncA=c.bind(this._syncAttributes,this),this._syncS=c.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=d?(this._observer=new d(function(c){a.each(c,b._syncA),a.each(c,b._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",b._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",b._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",b._syncS,!1))},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle","focus"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("focus",function(a){b.focus(a)}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select2-container--open")}),this.on("close",function(){a.$container.removeClass("select2-container--open")}),this.on("enable",function(){a.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){a.$container.addClass("select2-container--disabled")}),this.on("blur",function(){a.$container.removeClass("select2-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open",{}),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ESC||c===d.TAB||c===d.UP&&b.altKey?(a.close(),b.preventDefault()):c===d.ENTER?(a.trigger("results:select",{}),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle",{}),b.preventDefault()):c===d.UP?(a.trigger("results:previous",{}),b.preventDefault()):c===d.DOWN&&(a.trigger("results:next",{}),b.preventDefault()):(c===d.ENTER||c===d.SPACE||c===d.DOWN&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},e.prototype._syncSubtree=function(a,b){var c=!1,d=this;if(!a||!a.target||"OPTION"===a.target.nodeName||"OPTGROUP"===a.target.nodeName){if(b)if(b.addedNodes&&b.addedNodes.length>0)for(var e=0;e<b.addedNodes.length;e++){var f=b.addedNodes[e];f.selected&&(c=!0)}else b.removedNodes&&b.removedNodes.length>0&&(c=!0);else c=!0;c&&this.dataAdapter.current(function(a){d.trigger("selection:update",{data:a})})}},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===b&&(b={}),a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||this.trigger("query",{})},e.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},e.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},e.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},e.prototype.focus=function(a){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==a||0===a.length)&&(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},e.prototype.render=function(){var b=a('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select2-container--"+this.options.get("theme")),b.data("element",this.$element),b},e}),b.define("jquery-mousewheel",["jquery"],function(a){return a}),b.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(a,b,c,d){if(null==a.fn.select2){var e=["open","close","destroy"];a.fn.select2=function(b){if(b=b||{},"object"==typeof b)return this.each(function(){var d=a.extend(!0,{},b);new c(a(this),d)}),this;if("string"==typeof b){var d,f=Array.prototype.slice.call(arguments,1);return this.each(function(){var c=a(this).data("select2");null==c&&window.console&&console.error&&console.error("The select2('"+b+"') method was called on an element that is not using Select2."),d=c[b].apply(c,f)}),a.inArray(b,e)>-1?this:d}throw new Error("Invalid arguments for Select2: "+b)}}return null==a.fn.select2.defaults&&(a.fn.select2.defaults=d),c}),{define:b.define,require:b.require}}(),c=b.require("jquery.select2");return a.fn.select2.amd=b,c}),function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return fd.apply(null,arguments)}function b(a){fd=a}function c(a){return a instanceof Array||"[object Array]"===Object.prototype.toString.call(a)}function d(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function e(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function f(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function g(a,b){for(var c in b)f(b,c)&&(a[c]=b[c]);return f(b,"toString")&&(a.toString=b.toString),f(b,"valueOf")&&(a.valueOf=b.valueOf),a}function h(a,b,c,d){return Ja(a,b,c,d,!0).utc()}function i(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function j(a){return null==a._pf&&(a._pf=i()),a._pf}function k(a){if(null==a._isValid){var b=j(a),c=gd.call(b.parsedDateParts,function(a){return null!=a});a._isValid=!isNaN(a._d.getTime())&&b.overflow<0&&!b.empty&&!b.invalidMonth&&!b.invalidWeekday&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&c),a._strict&&(a._isValid=a._isValid&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void 0===b.bigHour)}return a._isValid}function l(a){var b=h(NaN);return null!=a?g(j(b),a):j(b).userInvalidated=!0,b}function m(a){return void 0===a}function n(a,b){var c,d,e;if(m(b._isAMomentObject)||(a._isAMomentObject=b._isAMomentObject),m(b._i)||(a._i=b._i),m(b._f)||(a._f=b._f),m(b._l)||(a._l=b._l),m(b._strict)||(a._strict=b._strict),m(b._tzm)||(a._tzm=b._tzm),m(b._isUTC)||(a._isUTC=b._isUTC),m(b._offset)||(a._offset=b._offset),m(b._pf)||(a._pf=j(b)),m(b._locale)||(a._locale=b._locale),hd.length>0)for(c in hd)d=hd[c],e=b[d],m(e)||(a[d]=e);return a}function o(b){n(this,b),this._d=new Date(null!=b._d?b._d.getTime():NaN),id===!1&&(id=!0,a.updateOffset(this),id=!1)}function p(a){return a instanceof o||null!=a&&null!=a._isAMomentObject}function q(a){return 0>a?Math.ceil(a):Math.floor(a)}function r(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=q(b)),c}function s(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;e>d;d++)(c&&a[d]!==b[d]||!c&&r(a[d])!==r(b[d]))&&g++;return g+f}function t(b){a.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function u(b,c){var d=!0;return g(function(){return null!=a.deprecationHandler&&a.deprecationHandler(null,b),d&&(t(b+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),d=!1),c.apply(this,arguments)},c)}function v(b,c){null!=a.deprecationHandler&&a.deprecationHandler(b,c),jd[b]||(t(c),jd[b]=!0)}function w(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}function x(a){return"[object Object]"===Object.prototype.toString.call(a)}function y(a){var b,c;for(c in a)b=a[c],w(b)?this[c]=b:this["_"+c]=b;this._config=a,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function z(a,b){var c,d=g({},a);for(c in b)f(b,c)&&(x(a[c])&&x(b[c])?(d[c]={},g(d[c],a[c]),g(d[c],b[c])):null!=b[c]?d[c]=b[c]:delete d[c]);return d}function A(a){null!=a&&this.set(a)}function B(a){return a?a.toLowerCase().replace("_","-"):a}function C(a){for(var b,c,d,e,f=0;f<a.length;){for(e=B(a[f]).split("-"),b=e.length,c=B(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=D(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&s(e,c,!0)>=b-1)break;b--}f++}return null}function D(a){var b=null;if(!nd[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=ld._abbr,require("./locale/"+a),E(b)}catch(c){}return nd[a]}function E(a,b){var c;return a&&(c=m(b)?H(a):F(a,b),c&&(ld=c)),ld._abbr}function F(a,b){return null!==b?(b.abbr=a,null!=nd[a]?(v("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),b=z(nd[a]._config,b)):null!=b.parentLocale&&(null!=nd[b.parentLocale]?b=z(nd[b.parentLocale]._config,b):v("parentLocaleUndefined","specified parentLocale is not defined yet")),nd[a]=new A(b),E(a),nd[a]):(delete nd[a],null)}function G(a,b){if(null!=b){var c;null!=nd[a]&&(b=z(nd[a]._config,b)),c=new A(b),c.parentLocale=nd[a],nd[a]=c,E(a)}else null!=nd[a]&&(null!=nd[a].parentLocale?nd[a]=nd[a].parentLocale:null!=nd[a]&&delete nd[a]);return nd[a]}function H(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return ld;if(!c(a)){if(b=D(a))return b;a=[a]}return C(a)}function I(){return kd(nd)}function J(a,b){var c=a.toLowerCase();od[c]=od[c+"s"]=od[b]=a}function K(a){return"string"==typeof a?od[a]||od[a.toLowerCase()]:void 0}function L(a){var b,c,d={};for(c in a)f(a,c)&&(b=K(c),b&&(d[b]=a[c]));return d}function M(b,c){return function(d){return null!=d?(O(this,b,d),a.updateOffset(this,c),this):N(this,b)}}function N(a,b){return a.isValid()?a._d["get"+(a._isUTC?"UTC":"")+b]():NaN}function O(a,b,c){a.isValid()&&a._d["set"+(a._isUTC?"UTC":"")+b](c)}function P(a,b){var c;if("object"==typeof a)for(c in a)this.set(c,a[c]);else if(a=K(a),w(this[a]))return this[a](b);return this}function Q(a,b,c){var d=""+Math.abs(a),e=b-d.length,f=a>=0;return(f?c?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+d}function R(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(sd[a]=e),b&&(sd[b[0]]=function(){return Q(e.apply(this,arguments),b[1],b[2])}),c&&(sd[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function S(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]#x2F;g,""):a.replace(/\\/g,"")}function T(a){var b,c,d=a.match(pd);for(b=0,c=d.length;c>b;b++)sd[d[b]]?d[b]=sd[d[b]]:d[b]=S(d[b]);return function(b){var e,f="";for(e=0;c>e;e++)f+=d[e]instanceof Function?d[e].call(b,a):d[e];return f}}function U(a,b){return a.isValid()?(b=V(b,a.localeData()),rd[b]=rd[b]||T(b),rd[b](a)):a.localeData().invalidDate()}function V(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(qd.lastIndex=0;d>=0&&qd.test(a);)a=a.replace(qd,c),qd.lastIndex=0,d-=1;return a}function W(a,b,c){Kd[a]=w(b)?b:function(a,d){return a&&c?c:b}}function X(a,b){return f(Kd,a)?Kd[a](b._strict,b._locale):new RegExp(Y(a))}function Y(a){return Z(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}))}function Z(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\amp;")}function $(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),"number"==typeof b&&(d=function(a,c){c[b]=r(a)}),c=0;c<a.length;c++)Ld[a[c]]=d}function _(a,b){$(a,function(a,c,d,e){d._w=d._w||{},b(a,d._w,d,e)})}function aa(a,b,c){null!=b&&f(Ld,a)&&Ld[a](b,c._a,c,a)}function ba(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function ca(a,b){return c(this._months)?this._months[a.month()]:this._months[Vd.test(b)?"format":"standalone"][a.month()]}function da(a,b){return c(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[Vd.test(b)?"format":"standalone"][a.month()]}function ea(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;12>d;++d)f=h([2e3,d]),this._shortMonthsParse[d]=this.monthsShort(f,"").toLocaleLowerCase(),this._longMonthsParse[d]=this.months(f,"").toLocaleLowerCase();return c?"MMM"===b?(e=md.call(this._shortMonthsParse,g),-1!==e?e:null):(e=md.call(this._longMonthsParse,g),-1!==e?e:null):"MMM"===b?(e=md.call(this._shortMonthsParse,g),-1!==e?e:(e=md.call(this._longMonthsParse,g),-1!==e?e:null)):(e=md.call(this._longMonthsParse,g),-1!==e?e:(e=md.call(this._shortMonthsParse,g),-1!==e?e:null))}function fa(a,b,c){var d,e,f;if(this._monthsParseExact)return ea.call(this,a,b,c);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;12>d;d++){if(e=h([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"quot;,"i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"quot;,"i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}}function ga(a,b){var c;if(!a.isValid())return a;if("string"==typeof b)if(/^\d+#x2F;.test(b))b=r(b);else if(b=a.localeData().monthsParse(b),"number"!=typeof b)return a;return c=Math.min(a.date(),ba(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a}function ha(b){return null!=b?(ga(this,b),a.updateOffset(this,!0),this):N(this,"Month")}function ia(){return ba(this.year(),this.month())}function ja(a){return this._monthsParseExact?(f(this,"_monthsRegex")||la.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex}function ka(a){return this._monthsParseExact?(f(this,"_monthsRegex")||la.call(this),a?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex}function la(){function a(a,b){return b.length-a.length}var b,c,d=[],e=[],f=[];for(b=0;12>b;b++)c=h([2e3,b]),d.push(this.monthsShort(c,"")),e.push(this.months(c,"")),f.push(this.months(c,"")),f.push(this.monthsShort(c,""));for(d.sort(a),e.sort(a),f.sort(a),b=0;12>b;b++)d[b]=Z(d[b]),e[b]=Z(e[b]),f[b]=Z(f[b]);this._monthsRegex=new RegExp("^("+f.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+e.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+d.join("|")+")","i")}function ma(a){var b,c=a._a;return c&&-2===j(a).overflow&&(b=c[Nd]<0||c[Nd]>11?Nd:c[Od]<1||c[Od]>ba(c[Md],c[Nd])?Od:c[Pd]<0||c[Pd]>24||24===c[Pd]&&(0!==c[Qd]||0!==c[Rd]||0!==c[Sd])?Pd:c[Qd]<0||c[Qd]>59?Qd:c[Rd]<0||c[Rd]>59?Rd:c[Sd]<0||c[Sd]>999?Sd:-1,j(a)._overflowDayOfYear&&(Md>b||b>Od)&&(b=Od),j(a)._overflowWeeks&&-1===b&&(b=Td),j(a)._overflowWeekday&&-1===b&&(b=Ud),j(a).overflow=b),a}function na(a){var b,c,d,e,f,g,h=a._i,i=$d.exec(h)||_d.exec(h);if(i){for(j(a).iso=!0,b=0,c=be.length;c>b;b++)if(be[b][1].exec(i[1])){e=be[b][0],d=be[b][2]!==!1;break}if(null==e)return void(a._isValid=!1);if(i[3]){for(b=0,c=ce.length;c>b;b++)if(ce[b][1].exec(i[3])){f=(i[2]||" ")+ce[b][0];break}if(null==f)return void(a._isValid=!1)}if(!d&&null!=f)return void(a._isValid=!1);if(i[4]){if(!ae.exec(i[4]))return void(a._isValid=!1);g="Z"}a._f=e+(f||"")+(g||""),Ca(a)}else a._isValid=!1}function oa(b){var c=de.exec(b._i);return null!==c?void(b._d=new Date(+c[1])):(na(b),void(b._isValid===!1&&(delete b._isValid,a.createFromInputFallback(b))))}function pa(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return 100>a&&a>=0&&isFinite(h.getFullYear())&&h.setFullYear(a),h}function qa(a){var b=new Date(Date.UTC.apply(null,arguments));return 100>a&&a>=0&&isFinite(b.getUTCFullYear())&&b.setUTCFullYear(a),b}function ra(a){return sa(a)?366:365}function sa(a){return a%4===0&&a%100!==0||a%400===0}function ta(){return sa(this.year())}function ua(a,b,c){var d=7+b-c,e=(7+qa(a,0,d).getUTCDay()-b)%7;return-e+d-1}function va(a,b,c,d,e){var f,g,h=(7+c-d)%7,i=ua(a,d,e),j=1+7*(b-1)+h+i;return 0>=j?(f=a-1,g=ra(f)+j):j>ra(a)?(f=a+1,g=j-ra(a)):(f=a,g=j),{year:f,dayOfYear:g}}function wa(a,b,c){var d,e,f=ua(a.year(),b,c),g=Math.floor((a.dayOfYear()-f-1)/7)+1;return 1>g?(e=a.year()-1,d=g+xa(e,b,c)):g>xa(a.year(),b,c)?(d=g-xa(a.year(),b,c),e=a.year()+1):(e=a.year(),d=g),{week:d,year:e}}function xa(a,b,c){var d=ua(a,b,c),e=ua(a+1,b,c);return(ra(a)-d+e)/7}function ya(a,b,c){return null!=a?a:null!=b?b:c}function za(b){var c=new Date(a.now());return b._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()]}function Aa(a){var b,c,d,e,f=[];if(!a._d){for(d=za(a),a._w&&null==a._a[Od]&&null==a._a[Nd]&&Ba(a),a._dayOfYear&&(e=ya(a._a[Md],d[Md]),a._dayOfYear>ra(e)&&(j(a)._overflowDayOfYear=!0),c=qa(e,0,a._dayOfYear),a._a[Nd]=c.getUTCMonth(),a._a[Od]=c.getUTCDate()),b=0;3>b&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;7>b;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[Pd]&&0===a._a[Qd]&&0===a._a[Rd]&&0===a._a[Sd]&&(a._nextDay=!0,a._a[Pd]=0),a._d=(a._useUTC?qa:pa).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[Pd]=24)}}function Ba(a){var b,c,d,e,f,g,h,i;b=a._w,null!=b.GG||null!=b.W||null!=b.E?(f=1,g=4,c=ya(b.GG,a._a[Md],wa(Ka(),1,4).year),d=ya(b.W,1),e=ya(b.E,1),(1>e||e>7)&&(i=!0)):(f=a._locale._week.dow,g=a._locale._week.doy,c=ya(b.gg,a._a[Md],wa(Ka(),f,g).year),d=ya(b.w,1),null!=b.d?(e=b.d,(0>e||e>6)&&(i=!0)):null!=b.e?(e=b.e+f,(b.e<0||b.e>6)&&(i=!0)):e=f),1>d||d>xa(c,f,g)?j(a)._overflowWeeks=!0:null!=i?j(a)._overflowWeekday=!0:(h=va(c,d,e,f,g),a._a[Md]=h.year,a._dayOfYear=h.dayOfYear)}function Ca(b){if(b._f===a.ISO_8601)return void na(b);b._a=[],j(b).empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,k=0;for(e=V(b._f,b._locale).match(pd)||[],c=0;c<e.length;c++)f=e[c],d=(h.match(X(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&j(b).unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),k+=d.length),sd[f]?(d?j(b).empty=!1:j(b).unusedTokens.push(f),aa(f,d,b)):b._strict&&!d&&j(b).unusedTokens.push(f);j(b).charsLeftOver=i-k,h.length>0&&j(b).unusedInput.push(h),j(b).bigHour===!0&&b._a[Pd]<=12&&b._a[Pd]>0&&(j(b).bigHour=void 0),j(b).parsedDateParts=b._a.slice(0),j(b).meridiem=b._meridiem,b._a[Pd]=Da(b._locale,b._a[Pd],b._meridiem),Aa(b),ma(b)}function Da(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&12>b&&(b+=12),d||12!==b||(b=0),b):b}function Ea(a){var b,c,d,e,f;if(0===a._f.length)return j(a).invalidFormat=!0,void(a._d=new Date(NaN));for(e=0;e<a._f.length;e++)f=0,b=n({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._f=a._f[e],Ca(b),k(b)&&(f+=j(b).charsLeftOver,f+=10*j(b).unusedTokens.length,j(b).score=f,(null==d||d>f)&&(d=f,c=b));g(a,c||b)}function Fa(a){if(!a._d){var b=L(a._i);a._a=e([b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],function(a){return a&&parseInt(a,10)}),Aa(a)}}function Ga(a){var b=new o(ma(Ha(a)));return b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}function Ha(a){var b=a._i,e=a._f;return a._locale=a._locale||H(a._l),null===b||void 0===e&&""===b?l({nullInput:!0}):("string"==typeof b&&(a._i=b=a._locale.preparse(b)),p(b)?new o(ma(b)):(c(e)?Ea(a):e?Ca(a):d(b)?a._d=b:Ia(a),k(a)||(a._d=null),a))}function Ia(b){var f=b._i;void 0===f?b._d=new Date(a.now()):d(f)?b._d=new Date(f.valueOf()):"string"==typeof f?oa(b):c(f)?(b._a=e(f.slice(0),function(a){return parseInt(a,10)}),Aa(b)):"object"==typeof f?Fa(b):"number"==typeof f?b._d=new Date(f):a.createFromInputFallback(b)}function Ja(a,b,c,d,e){var f={};return"boolean"==typeof c&&(d=c,c=void 0),f._isAMomentObject=!0,f._useUTC=f._isUTC=e,f._l=c,f._i=a,f._f=b,f._strict=d,Ga(f)}function Ka(a,b,c,d){return Ja(a,b,c,d,!1)}function La(a,b){var d,e;if(1===b.length&&c(b[0])&&(b=b[0]),!b.length)return Ka();for(d=b[0],e=1;e<b.length;++e)(!b[e].isValid()||b[e][a](d))&&(d=b[e]);return d}function Ma(){var a=[].slice.call(arguments,0);return La("isBefore",a)}function Na(){var a=[].slice.call(arguments,0);return La("isAfter",a)}function Oa(a){var b=L(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._milliseconds=+k+1e3*j+6e4*i+1e3*h*60*60,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=H(),this._bubble()}function Pa(a){return a instanceof Oa}function Qa(a,b){
7
R(a,0,0,function(){var a=this.utcOffset(),c="+";return 0>a&&(a=-a,c="-"),c+Q(~~(a/60),2)+b+Q(~~a%60,2)})}function Ra(a,b){var c=(b||"").match(a)||[],d=c[c.length-1]||[],e=(d+"").match(ie)||["-",0,0],f=+(60*e[1])+r(e[2]);return"+"===e[0]?f:-f}function Sa(b,c){var e,f;return c._isUTC?(e=c.clone(),f=(p(b)||d(b)?b.valueOf():Ka(b).valueOf())-e.valueOf(),e._d.setTime(e._d.valueOf()+f),a.updateOffset(e,!1),e):Ka(b).local()}function Ta(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function Ua(b,c){var d,e=this._offset||0;return this.isValid()?null!=b?("string"==typeof b?b=Ra(Hd,b):Math.abs(b)<16&&(b=60*b),!this._isUTC&&c&&(d=Ta(this)),this._offset=b,this._isUTC=!0,null!=d&&this.add(d,"m"),e!==b&&(!c||this._changeInProgress?jb(this,db(b-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?e:Ta(this):null!=b?this:NaN}function Va(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}function Wa(a){return this.utcOffset(0,a)}function Xa(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Ta(this),"m")),this}function Ya(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ra(Gd,this._i)),this}function Za(a){return this.isValid()?(a=a?Ka(a).utcOffset():0,(this.utcOffset()-a)%60===0):!1}function $a(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _a(){if(!m(this._isDSTShifted))return this._isDSTShifted;var a={};if(n(a,this),a=Ha(a),a._a){var b=a._isUTC?h(a._a):Ka(a._a);this._isDSTShifted=this.isValid()&&s(a._a,b.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function ab(){return this.isValid()?!this._isUTC:!1}function bb(){return this.isValid()?this._isUTC:!1}function cb(){return this.isValid()?this._isUTC&&0===this._offset:!1}function db(a,b){var c,d,e,g=a,h=null;return Pa(a)?g={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(g={},b?g[b]=a:g.milliseconds=a):(h=je.exec(a))?(c="-"===h[1]?-1:1,g={y:0,d:r(h[Od])*c,h:r(h[Pd])*c,m:r(h[Qd])*c,s:r(h[Rd])*c,ms:r(h[Sd])*c}):(h=ke.exec(a))?(c="-"===h[1]?-1:1,g={y:eb(h[2],c),M:eb(h[3],c),w:eb(h[4],c),d:eb(h[5],c),h:eb(h[6],c),m:eb(h[7],c),s:eb(h[8],c)}):null==g?g={}:"object"==typeof g&&("from"in g||"to"in g)&&(e=gb(Ka(g.from),Ka(g.to)),g={},g.ms=e.milliseconds,g.M=e.months),d=new Oa(g),Pa(a)&&f(a,"_locale")&&(d._locale=a._locale),d}function eb(a,b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function fb(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function gb(a,b){var c;return a.isValid()&&b.isValid()?(b=Sa(b,a),a.isBefore(b)?c=fb(a,b):(c=fb(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function hb(a){return 0>a?-1*Math.round(-1*a):Math.round(a)}function ib(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(v(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period)."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=db(c,d),jb(this,e,a),this}}function jb(b,c,d,e){var f=c._milliseconds,g=hb(c._days),h=hb(c._months);b.isValid()&&(e=null==e?!0:e,f&&b._d.setTime(b._d.valueOf()+f*d),g&&O(b,"Date",N(b,"Date")+g*d),h&&ga(b,N(b,"Month")+h*d),e&&a.updateOffset(b,g||h))}function kb(a,b){var c=a||Ka(),d=Sa(c,this).startOf("day"),e=this.diff(d,"days",!0),f=-6>e?"sameElse":-1>e?"lastWeek":0>e?"lastDay":1>e?"sameDay":2>e?"nextDay":7>e?"nextWeek":"sameElse",g=b&&(w(b[f])?b[f]():b[f]);return this.format(g||this.localeData().calendar(f,this,Ka(c)))}function lb(){return new o(this)}function mb(a,b){var c=p(a)?a:Ka(a);return this.isValid()&&c.isValid()?(b=K(m(b)?"millisecond":b),"millisecond"===b?this.valueOf()>c.valueOf():c.valueOf()<this.clone().startOf(b).valueOf()):!1}function nb(a,b){var c=p(a)?a:Ka(a);return this.isValid()&&c.isValid()?(b=K(m(b)?"millisecond":b),"millisecond"===b?this.valueOf()<c.valueOf():this.clone().endOf(b).valueOf()<c.valueOf()):!1}function ob(a,b,c,d){return d=d||"()",("("===d[0]?this.isAfter(a,c):!this.isBefore(a,c))&&(")"===d[1]?this.isBefore(b,c):!this.isAfter(b,c))}function pb(a,b){var c,d=p(a)?a:Ka(a);return this.isValid()&&d.isValid()?(b=K(b||"millisecond"),"millisecond"===b?this.valueOf()===d.valueOf():(c=d.valueOf(),this.clone().startOf(b).valueOf()<=c&&c<=this.clone().endOf(b).valueOf())):!1}function qb(a,b){return this.isSame(a,b)||this.isAfter(a,b)}function rb(a,b){return this.isSame(a,b)||this.isBefore(a,b)}function sb(a,b,c){var d,e,f,g;return this.isValid()?(d=Sa(a,this),d.isValid()?(e=6e4*(d.utcOffset()-this.utcOffset()),b=K(b),"year"===b||"month"===b||"quarter"===b?(g=tb(this,d),"quarter"===b?g/=3:"year"===b&&(g/=12)):(f=this-d,g="second"===b?f/1e3:"minute"===b?f/6e4:"hour"===b?f/36e5:"day"===b?(f-e)/864e5:"week"===b?(f-e)/6048e5:f),c?g:q(g)):NaN):NaN}function tb(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return 0>b-f?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)||0}function ub(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function vb(){var a=this.clone().utc();return 0<a.year()&&a.year()<=9999?w(Date.prototype.toISOString)?this.toDate().toISOString():U(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):U(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function wb(b){b||(b=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var c=U(this,b);return this.localeData().postformat(c)}function xb(a,b){return this.isValid()&&(p(a)&&a.isValid()||Ka(a).isValid())?db({to:this,from:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function yb(a){return this.from(Ka(),a)}function zb(a,b){return this.isValid()&&(p(a)&&a.isValid()||Ka(a).isValid())?db({from:this,to:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function Ab(a){return this.to(Ka(),a)}function Bb(a){var b;return void 0===a?this._locale._abbr:(b=H(a),null!=b&&(this._locale=b),this)}function Cb(){return this._locale}function Db(a){switch(a=K(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a&&this.weekday(0),"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this}function Eb(a){return a=K(a),void 0===a||"millisecond"===a?this:("date"===a&&(a="day"),this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms"))}function Fb(){return this._d.valueOf()-6e4*(this._offset||0)}function Gb(){return Math.floor(this.valueOf()/1e3)}function Hb(){return this._offset?new Date(this.valueOf()):this._d}function Ib(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function Jb(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function Kb(){return this.isValid()?this.toISOString():null}function Lb(){return k(this)}function Mb(){return g({},j(this))}function Nb(){return j(this).overflow}function Ob(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Pb(a,b){R(0,[a,a.length],0,b)}function Qb(a){return Ub.call(this,a,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Rb(a){return Ub.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)}function Sb(){return xa(this.year(),1,4)}function Tb(){var a=this.localeData()._week;return xa(this.year(),a.dow,a.doy)}function Ub(a,b,c,d,e){var f;return null==a?wa(this,d,e).year:(f=xa(a,d,e),b>f&&(b=f),Vb.call(this,a,b,c,d,e))}function Vb(a,b,c,d,e){var f=va(a,b,c,d,e),g=qa(f.year,0,f.dayOfYear);return this.year(g.getUTCFullYear()),this.month(g.getUTCMonth()),this.date(g.getUTCDate()),this}function Wb(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)}function Xb(a){return wa(a,this._week.dow,this._week.doy).week}function Yb(){return this._week.dow}function Zb(){return this._week.doy}function $b(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")}function _b(a){var b=wa(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function ac(a,b){return"string"!=typeof a?a:isNaN(a)?(a=b.weekdaysParse(a),"number"==typeof a?a:null):parseInt(a,10)}function bc(a,b){return c(this._weekdays)?this._weekdays[a.day()]:this._weekdays[this._weekdays.isFormat.test(b)?"format":"standalone"][a.day()]}function cc(a){return this._weekdaysShort[a.day()]}function dc(a){return this._weekdaysMin[a.day()]}function ec(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;7>d;++d)f=h([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(f,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(f,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(f,"").toLocaleLowerCase();return c?"dddd"===b?(e=md.call(this._weekdaysParse,g),-1!==e?e:null):"ddd"===b?(e=md.call(this._shortWeekdaysParse,g),-1!==e?e:null):(e=md.call(this._minWeekdaysParse,g),-1!==e?e:null):"dddd"===b?(e=md.call(this._weekdaysParse,g),-1!==e?e:(e=md.call(this._shortWeekdaysParse,g),-1!==e?e:(e=md.call(this._minWeekdaysParse,g),-1!==e?e:null))):"ddd"===b?(e=md.call(this._shortWeekdaysParse,g),-1!==e?e:(e=md.call(this._weekdaysParse,g),-1!==e?e:(e=md.call(this._minWeekdaysParse,g),-1!==e?e:null))):(e=md.call(this._minWeekdaysParse,g),-1!==e?e:(e=md.call(this._weekdaysParse,g),-1!==e?e:(e=md.call(this._shortWeekdaysParse,g),-1!==e?e:null)))}function fc(a,b,c){var d,e,f;if(this._weekdaysParseExact)return ec.call(this,a,b,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;7>d;d++){if(e=h([2e3,1]).day(d),c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(e,"").replace(".",".?")+"quot;,"i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(e,"").replace(".",".?")+"quot;,"i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(e,"").replace(".",".?")+"quot;,"i")),this._weekdaysParse[d]||(f="^"+this.weekdays(e,"")+"|^"+this.weekdaysShort(e,"")+"|^"+this.weekdaysMin(e,""),this._weekdaysParse[d]=new RegExp(f.replace(".",""),"i")),c&&"dddd"===b&&this._fullWeekdaysParse[d].test(a))return d;if(c&&"ddd"===b&&this._shortWeekdaysParse[d].test(a))return d;if(c&&"dd"===b&&this._minWeekdaysParse[d].test(a))return d;if(!c&&this._weekdaysParse[d].test(a))return d}}function gc(a){if(!this.isValid())return null!=a?this:NaN;var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=ac(a,this.localeData()),this.add(a-b,"d")):b}function hc(a){if(!this.isValid())return null!=a?this:NaN;var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function ic(a){return this.isValid()?null==a?this.day()||7:this.day(this.day()%7?a:a-7):null!=a?this:NaN}function jc(a){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||mc.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex}function kc(a){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||mc.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function lc(a){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||mc.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function mc(){function a(a,b){return b.length-a.length}var b,c,d,e,f,g=[],i=[],j=[],k=[];for(b=0;7>b;b++)c=h([2e3,1]).day(b),d=this.weekdaysMin(c,""),e=this.weekdaysShort(c,""),f=this.weekdays(c,""),g.push(d),i.push(e),j.push(f),k.push(d),k.push(e),k.push(f);for(g.sort(a),i.sort(a),j.sort(a),k.sort(a),b=0;7>b;b++)i[b]=Z(i[b]),j[b]=Z(j[b]),k[b]=Z(k[b]);this._weekdaysRegex=new RegExp("^("+k.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+j.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+g.join("|")+")","i")}function nc(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function oc(){return this.hours()%12||12}function pc(){return this.hours()||24}function qc(a,b){R(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function rc(a,b){return b._meridiemParse}function sc(a){return"p"===(a+"").toLowerCase().charAt(0)}function tc(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"}function uc(a,b){b[Sd]=r(1e3*("0."+a))}function vc(){return this._isUTC?"UTC":""}function wc(){return this._isUTC?"Coordinated Universal Time":""}function xc(a){return Ka(1e3*a)}function yc(){return Ka.apply(null,arguments).parseZone()}function zc(a,b,c){var d=this._calendar[a];return w(d)?d.call(b,c):d}function Ac(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a])}function Bc(){return this._invalidDate}function Cc(a){return this._ordinal.replace("%d",a)}function Dc(a){return a}function Ec(a,b,c,d){var e=this._relativeTime[c];return w(e)?e(a,b,c,d):e.replace(/%d/i,a)}function Fc(a,b){var c=this._relativeTime[a>0?"future":"past"];return w(c)?c(b):c.replace(/%s/i,b)}function Gc(a,b,c,d){var e=H(),f=h().set(d,b);return e[c](f,a)}function Hc(a,b,c){if("number"==typeof a&&(b=a,a=void 0),a=a||"",null!=b)return Gc(a,b,c,"month");var d,e=[];for(d=0;12>d;d++)e[d]=Gc(a,d,c,"month");return e}function Ic(a,b,c,d){"boolean"==typeof a?("number"==typeof b&&(c=b,b=void 0),b=b||""):(b=a,c=b,a=!1,"number"==typeof b&&(c=b,b=void 0),b=b||"");var e=H(),f=a?e._week.dow:0;if(null!=c)return Gc(b,(c+f)%7,d,"day");var g,h=[];for(g=0;7>g;g++)h[g]=Gc(b,(g+f)%7,d,"day");return h}function Jc(a,b){return Hc(a,b,"months")}function Kc(a,b){return Hc(a,b,"monthsShort")}function Lc(a,b,c){return Ic(a,b,c,"weekdays")}function Mc(a,b,c){return Ic(a,b,c,"weekdaysShort")}function Nc(a,b,c){return Ic(a,b,c,"weekdaysMin")}function Oc(){var a=this._data;return this._milliseconds=Le(this._milliseconds),this._days=Le(this._days),this._months=Le(this._months),a.milliseconds=Le(a.milliseconds),a.seconds=Le(a.seconds),a.minutes=Le(a.minutes),a.hours=Le(a.hours),a.months=Le(a.months),a.years=Le(a.years),this}function Pc(a,b,c,d){var e=db(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function Qc(a,b){return Pc(this,a,b,1)}function Rc(a,b){return Pc(this,a,b,-1)}function Sc(a){return 0>a?Math.floor(a):Math.ceil(a)}function Tc(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;return f>=0&&g>=0&&h>=0||0>=f&&0>=g&&0>=h||(f+=864e5*Sc(Vc(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=q(f/1e3),i.seconds=a%60,b=q(a/60),i.minutes=b%60,c=q(b/60),i.hours=c%24,g+=q(c/24),e=q(Uc(g)),h+=e,g-=Sc(Vc(e)),d=q(h/12),h%=12,i.days=g,i.months=h,i.years=d,this}function Uc(a){return 4800*a/146097}function Vc(a){return 146097*a/4800}function Wc(a){var b,c,d=this._milliseconds;if(a=K(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+Uc(b),"month"===a?c:c/12;switch(b=this._days+Math.round(Vc(this._months)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 1440*b+d/6e4;case"second":return 86400*b+d/1e3;case"millisecond":return Math.floor(864e5*b)+d;default:throw new Error("Unknown unit "+a)}}function Xc(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*r(this._months/12)}function Yc(a){return function(){return this.as(a)}}function Zc(a){return a=K(a),this[a+"s"]()}function $c(a){return function(){return this._data[a]}}function _c(){return q(this.days()/7)}function ad(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function bd(a,b,c){var d=db(a).abs(),e=_e(d.as("s")),f=_e(d.as("m")),g=_e(d.as("h")),h=_e(d.as("d")),i=_e(d.as("M")),j=_e(d.as("y")),k=e<af.s&&["s",e]||1>=f&&["m"]||f<af.m&&["mm",f]||1>=g&&["h"]||g<af.h&&["hh",g]||1>=h&&["d"]||h<af.d&&["dd",h]||1>=i&&["M"]||i<af.M&&["MM",i]||1>=j&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,ad.apply(null,k)}function cd(a,b){return void 0===af[a]?!1:void 0===b?af[a]:(af[a]=b,!0)}function dd(a){var b=this.localeData(),c=bd(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function ed(){var a,b,c,d=bf(this._milliseconds)/1e3,e=bf(this._days),f=bf(this._months);a=q(d/60),b=q(a/60),d%=60,a%=60,c=q(f/12),f%=12;var g=c,h=f,i=e,j=b,k=a,l=d,m=this.asSeconds();return m?(0>m?"-":"")+"P"+(g?g+"Y":"")+(h?h+"M":"")+(i?i+"D":"")+(j||k||l?"T":"")+(j?j+"H":"")+(k?k+"M":"")+(l?l+"S":""):"P0D"}var fd,gd;gd=Array.prototype.some?Array.prototype.some:function(a){for(var b=Object(this),c=b.length>>>0,d=0;c>d;d++)if(d in b&&a.call(this,b[d],d,b))return!0;return!1};var hd=a.momentProperties=[],id=!1,jd={};a.suppressDeprecationWarnings=!1,a.deprecationHandler=null;var kd;kd=Object.keys?Object.keys:function(a){var b,c=[];for(b in a)f(a,b)&&c.push(b);return c};var ld,md,nd={},od={},pd=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,qd=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,rd={},sd={},td=/\d/,ud=/\d\d/,vd=/\d{3}/,wd=/\d{4}/,xd=/[+-]?\d{6}/,yd=/\d\d?/,zd=/\d\d\d\d?/,Ad=/\d\d\d\d\d\d?/,Bd=/\d{1,3}/,Cd=/\d{1,4}/,Dd=/[+-]?\d{1,6}/,Ed=/\d+/,Fd=/[+-]?\d+/,Gd=/Z|[+-]\d\d:?\d\d/gi,Hd=/Z|[+-]\d\d(?::?\d\d)?/gi,Id=/[+-]?\d+(\.\d{1,3})?/,Jd=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Kd={},Ld={},Md=0,Nd=1,Od=2,Pd=3,Qd=4,Rd=5,Sd=6,Td=7,Ud=8;md=Array.prototype.indexOf?Array.prototype.indexOf:function(a){var b;for(b=0;b<this.length;++b)if(this[b]===a)return b;return-1},R("M",["MM",2],"Mo",function(){return this.month()+1}),R("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),R("MMMM",0,0,function(a){return this.localeData().months(this,a)}),J("month","M"),W("M",yd),W("MM",yd,ud),W("MMM",function(a,b){return b.monthsShortRegex(a)}),W("MMMM",function(a,b){return b.monthsRegex(a)}),$(["M","MM"],function(a,b){b[Nd]=r(a)-1}),$(["MMM","MMMM"],function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=e?b[Nd]=e:j(c).invalidMonth=a});var Vd=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Wd="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Xd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Yd=Jd,Zd=Jd,$d=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,_d=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,ae=/Z|[+-]\d\d(?::?\d\d)?/,be=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ce=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],de=/^\/?Date\((\-?\d+)/i;a.createFromInputFallback=u("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),R("Y",0,0,function(){var a=this.year();return 9999>=a?""+a:"+"+a}),R(0,["YY",2],0,function(){return this.year()%100}),R(0,["YYYY",4],0,"year"),R(0,["YYYYY",5],0,"year"),R(0,["YYYYYY",6,!0],0,"year"),J("year","y"),W("Y",Fd),W("YY",yd,ud),W("YYYY",Cd,wd),W("YYYYY",Dd,xd),W("YYYYYY",Dd,xd),$(["YYYYY","YYYYYY"],Md),$("YYYY",function(b,c){c[Md]=2===b.length?a.parseTwoDigitYear(b):r(b)}),$("YY",function(b,c){c[Md]=a.parseTwoDigitYear(b)}),$("Y",function(a,b){b[Md]=parseInt(a,10)}),a.parseTwoDigitYear=function(a){return r(a)+(r(a)>68?1900:2e3)};var ee=M("FullYear",!0);a.ISO_8601=function(){};var fe=u("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var a=Ka.apply(null,arguments);return this.isValid()&&a.isValid()?this>a?this:a:l()}),ge=u("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var a=Ka.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:a:l()}),he=function(){return Date.now?Date.now():+new Date};Qa("Z",":"),Qa("ZZ",""),W("Z",Hd),W("ZZ",Hd),$(["Z","ZZ"],function(a,b,c){c._useUTC=!0,c._tzm=Ra(Hd,a)});var ie=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var je=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?#x2F;,ke=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?#x2F;;db.fn=Oa.prototype;var le=ib(1,"add"),me=ib(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ne=u("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});R(0,["gg",2],0,function(){return this.weekYear()%100}),R(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Pb("gggg","weekYear"),Pb("ggggg","weekYear"),Pb("GGGG","isoWeekYear"),Pb("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),W("G",Fd),W("g",Fd),W("GG",yd,ud),W("gg",yd,ud),W("GGGG",Cd,wd),W("gggg",Cd,wd),W("GGGGG",Dd,xd),W("ggggg",Dd,xd),_(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=r(a)}),_(["gg","GG"],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)}),R("Q",0,"Qo","quarter"),J("quarter","Q"),W("Q",td),$("Q",function(a,b){b[Nd]=3*(r(a)-1)}),R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),W("w",yd),W("ww",yd,ud),W("W",yd),W("WW",yd,ud),_(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=r(a)});var oe={dow:0,doy:6};R("D",["DD",2],"Do","date"),J("date","D"),W("D",yd),W("DD",yd,ud),W("Do",function(a,b){return a?b._ordinalParse:b._ordinalParseLenient}),$(["D","DD"],Od),$("Do",function(a,b){b[Od]=r(a.match(yd)[0],10)});var pe=M("Date",!0);R("d",0,"do","day"),R("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),R("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),R("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),W("d",yd),W("e",yd),W("E",yd),W("dd",function(a,b){return b.weekdaysMinRegex(a)}),W("ddd",function(a,b){return b.weekdaysShortRegex(a)}),W("dddd",function(a,b){return b.weekdaysRegex(a)}),_(["dd","ddd","dddd"],function(a,b,c,d){var e=c._locale.weekdaysParse(a,d,c._strict);null!=e?b.d=e:j(c).invalidWeekday=a}),_(["d","e","E"],function(a,b,c,d){b[d]=r(a)});var qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),re="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),se="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),te=Jd,ue=Jd,ve=Jd;R("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),W("DDD",Bd),W("DDDD",vd),$(["DDD","DDDD"],function(a,b,c){c._dayOfYear=r(a)}),R("H",["HH",2],0,"hour"),R("h",["hh",2],0,oc),R("k",["kk",2],0,pc),R("hmm",0,0,function(){return""+oc.apply(this)+Q(this.minutes(),2)}),R("hmmss",0,0,function(){return""+oc.apply(this)+Q(this.minutes(),2)+Q(this.seconds(),2)}),R("Hmm",0,0,function(){return""+this.hours()+Q(this.minutes(),2)}),R("Hmmss",0,0,function(){return""+this.hours()+Q(this.minutes(),2)+Q(this.seconds(),2)}),qc("a",!0),qc("A",!1),J("hour","h"),W("a",rc),W("A",rc),W("H",yd),W("h",yd),W("HH",yd,ud),W("hh",yd,ud),W("hmm",zd),W("hmmss",Ad),W("Hmm",zd),W("Hmmss",Ad),$(["H","HH"],Pd),$(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),$(["h","hh"],function(a,b,c){b[Pd]=r(a),j(c).bigHour=!0}),$("hmm",function(a,b,c){var d=a.length-2;b[Pd]=r(a.substr(0,d)),b[Qd]=r(a.substr(d)),j(c).bigHour=!0}),$("hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[Pd]=r(a.substr(0,d)),b[Qd]=r(a.substr(d,2)),b[Rd]=r(a.substr(e)),j(c).bigHour=!0}),$("Hmm",function(a,b,c){var d=a.length-2;b[Pd]=r(a.substr(0,d)),b[Qd]=r(a.substr(d))}),$("Hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[Pd]=r(a.substr(0,d)),b[Qd]=r(a.substr(d,2)),b[Rd]=r(a.substr(e))});var we=/[ap]\.?m?\.?/i,xe=M("Hours",!0);R("m",["mm",2],0,"minute"),J("minute","m"),W("m",yd),W("mm",yd,ud),$(["m","mm"],Qd);var ye=M("Minutes",!1);R("s",["ss",2],0,"second"),J("second","s"),W("s",yd),W("ss",yd,ud),$(["s","ss"],Rd);var ze=M("Seconds",!1);R("S",0,0,function(){return~~(this.millisecond()/100)}),R(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,function(){return 10*this.millisecond()}),R(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),R(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),R(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),R(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),R(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),J("millisecond","ms"),W("S",Bd,td),W("SS",Bd,ud),W("SSS",Bd,vd);var Ae;for(Ae="SSSS";Ae.length<=9;Ae+="S")W(Ae,Ed);for(Ae="S";Ae.length<=9;Ae+="S")$(Ae,uc);var Be=M("Milliseconds",!1);R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var Ce=o.prototype;Ce.add=le,Ce.calendar=kb,Ce.clone=lb,Ce.diff=sb,Ce.endOf=Eb,Ce.format=wb,Ce.from=xb,Ce.fromNow=yb,Ce.to=zb,Ce.toNow=Ab,Ce.get=P,Ce.invalidAt=Nb,Ce.isAfter=mb,Ce.isBefore=nb,Ce.isBetween=ob,Ce.isSame=pb,Ce.isSameOrAfter=qb,Ce.isSameOrBefore=rb,Ce.isValid=Lb,Ce.lang=ne,Ce.locale=Bb,Ce.localeData=Cb,Ce.max=ge,Ce.min=fe,Ce.parsingFlags=Mb,Ce.set=P,Ce.startOf=Db,Ce.subtract=me,Ce.toArray=Ib,Ce.toObject=Jb,Ce.toDate=Hb,Ce.toISOString=vb,Ce.toJSON=Kb,Ce.toString=ub,Ce.unix=Gb,Ce.valueOf=Fb,Ce.creationData=Ob,Ce.year=ee,Ce.isLeapYear=ta,Ce.weekYear=Qb,Ce.isoWeekYear=Rb,Ce.quarter=Ce.quarters=Wb,Ce.month=ha,Ce.daysInMonth=ia,Ce.week=Ce.weeks=$b,Ce.isoWeek=Ce.isoWeeks=_b,Ce.weeksInYear=Tb,Ce.isoWeeksInYear=Sb,Ce.date=pe,Ce.day=Ce.days=gc,Ce.weekday=hc,Ce.isoWeekday=ic,Ce.dayOfYear=nc,Ce.hour=Ce.hours=xe,Ce.minute=Ce.minutes=ye,Ce.second=Ce.seconds=ze,Ce.millisecond=Ce.milliseconds=Be,Ce.utcOffset=Ua,Ce.utc=Wa,Ce.local=Xa,Ce.parseZone=Ya,Ce.hasAlignedHourOffset=Za,Ce.isDST=$a,Ce.isDSTShifted=_a,Ce.isLocal=ab,Ce.isUtcOffset=bb,Ce.isUtc=cb,Ce.isUTC=cb,Ce.zoneAbbr=vc,Ce.zoneName=wc,Ce.dates=u("dates accessor is deprecated. Use date instead.",pe),Ce.months=u("months accessor is deprecated. Use month instead",ha),Ce.years=u("years accessor is deprecated. Use year instead",ee),Ce.zone=u("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Va);var De=Ce,Ee={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Fe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ge="Invalid date",He="%d",Ie=/\d{1,2}/,Je={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ke=A.prototype;Ke._calendar=Ee,Ke.calendar=zc,Ke._longDateFormat=Fe,Ke.longDateFormat=Ac,Ke._invalidDate=Ge,Ke.invalidDate=Bc,Ke._ordinal=He,Ke.ordinal=Cc,Ke._ordinalParse=Ie,Ke.preparse=Dc,Ke.postformat=Dc,Ke._relativeTime=Je,Ke.relativeTime=Ec,Ke.pastFuture=Fc,Ke.set=y,Ke.months=ca,Ke._months=Wd,Ke.monthsShort=da,Ke._monthsShort=Xd,Ke.monthsParse=fa,Ke._monthsRegex=Zd,Ke.monthsRegex=ka,Ke._monthsShortRegex=Yd,Ke.monthsShortRegex=ja,Ke.week=Xb,Ke._week=oe,Ke.firstDayOfYear=Zb,Ke.firstDayOfWeek=Yb,Ke.weekdays=bc,Ke._weekdays=qe,Ke.weekdaysMin=dc,Ke._weekdaysMin=se,Ke.weekdaysShort=cc,Ke._weekdaysShort=re,Ke.weekdaysParse=fc,Ke._weekdaysRegex=te,Ke.weekdaysRegex=jc,Ke._weekdaysShortRegex=ue,Ke.weekdaysShortRegex=kc,Ke._weekdaysMinRegex=ve,Ke.weekdaysMinRegex=lc,Ke.isPM=sc,Ke._meridiemParse=we,Ke.meridiem=tc,E("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===r(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=u("moment.lang is deprecated. Use moment.locale instead.",E),a.langData=u("moment.langData is deprecated. Use moment.localeData instead.",H);var Le=Math.abs,Me=Yc("ms"),Ne=Yc("s"),Oe=Yc("m"),Pe=Yc("h"),Qe=Yc("d"),Re=Yc("w"),Se=Yc("M"),Te=Yc("y"),Ue=$c("milliseconds"),Ve=$c("seconds"),We=$c("minutes"),Xe=$c("hours"),Ye=$c("days"),Ze=$c("months"),$e=$c("years"),_e=Math.round,af={s:45,m:45,h:22,d:26,M:11},bf=Math.abs,cf=Oa.prototype;cf.abs=Oc,cf.add=Qc,cf.subtract=Rc,cf.as=Wc,cf.asMilliseconds=Me,cf.asSeconds=Ne,cf.asMinutes=Oe,cf.asHours=Pe,cf.asDays=Qe,cf.asWeeks=Re,cf.asMonths=Se,cf.asYears=Te,cf.valueOf=Xc,cf._bubble=Tc,cf.get=Zc,cf.milliseconds=Ue,cf.seconds=Ve,cf.minutes=We,cf.hours=Xe,cf.days=Ye,cf.weeks=_c,cf.months=Ze,cf.years=$e,cf.humanize=dd,cf.toISOString=ed,cf.toString=ed,cf.toJSON=ed,cf.locale=Bb,cf.localeData=Cb,cf.toIsoString=u("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ed),cf.lang=ne,R("X",0,0,"unix"),R("x",0,0,"valueOf"),W("x",Fd),W("X",Id),$("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),$("x",function(a,b,c){c._d=new Date(r(a))}),a.version="2.13.0",b(Ka),a.fn=De,a.min=Ma,a.max=Na,a.now=he,a.utc=h,a.unix=xc,a.months=Jc,a.isDate=d,a.locale=E,a.invalid=l,a.duration=db,a.isMoment=p,a.weekdays=Lc,a.parseZone=yc,a.localeData=H,a.isDuration=Pa,a.monthsShort=Kc,a.weekdaysMin=Nc,a.defineLocale=F,a.updateLocale=G,a.locales=I,a.weekdaysShort=Mc,a.normalizeUnits=K,a.relativeTimeThreshold=cd,a.prototype=De;var df=a;return df}),function(a){a(["jquery"],function(a){return function(){function b(a,b,c){return o({type:v.error,iconClass:p().iconClasses.error,message:a,optionsOverride:c,title:b})}function c(b,c){return b||(b=p()),r=a("#"+b.containerId),r.length?r:(c&&(r=l(b)),r)}function d(a,b,c){return o({type:v.info,iconClass:p().iconClasses.info,message:a,optionsOverride:c,title:b})}function e(a){s=a}function f(a,b,c){return o({type:v.success,iconClass:p().iconClasses.success,message:a,optionsOverride:c,title:b})}function g(a,b,c){return o({type:v.warning,iconClass:p().iconClasses.warning,message:a,optionsOverride:c,title:b})}function h(a,b){var d=p();r||c(d),k(a,d,b)||j(d)}function i(b){var d=p();return r||c(d),b&&0===a(":focus",b).length?void q(b):void(r.children().length&&r.remove())}function j(b){for(var c=r.children(),d=c.length-1;d>=0;d--)k(a(c[d]),b)}function k(b,c,d){var e=d&&d.force?d.force:!1;return b&&(e||0===a(":focus",b).length)?(b[c.hideMethod]({duration:c.hideDuration,easing:c.hideEasing,complete:function(){q(b)}}),!0):!1}function l(b){return r=a("<div/>").attr("id",b.containerId).addClass(b.positionClass),r.appendTo(a(b.target)),r}function m(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,
8
- showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1}}function n(a){s&&s(a)}function o(b){function d(a){return null==a&&(a=""),a.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function e(){i(),k(),l(),m(),o(),s(),j(),f()}function f(){var a="";switch(b.iconClass){case"toast-success":case"toast-info":a="polite";break;default:a="assertive"}D.attr("aria-live",a)}function g(){A.closeOnHover&&D.hover(y,x),!A.onclick&&A.tapToDismiss&&D.click(w),A.closeButton&&H&&H.click(function(a){a.stopPropagation?a.stopPropagation():void 0!==a.cancelBubble&&a.cancelBubble!==!0&&(a.cancelBubble=!0),A.onCloseClick&&A.onCloseClick(a),w(!0)}),A.onclick&&D.click(function(a){A.onclick(a),w()})}function h(){D.hide(),D[A.showMethod]({duration:A.showDuration,easing:A.showEasing,complete:A.onShown}),A.timeOut>0&&(C=setTimeout(w,A.timeOut),I.maxHideTime=parseFloat(A.timeOut),I.hideEta=(new Date).getTime()+I.maxHideTime,A.progressBar&&(I.intervalId=setInterval(z,10)))}function i(){b.iconClass&&D.addClass(A.toastClass).addClass(B)}function j(){A.newestOnTop?r.prepend(D):r.append(D)}function k(){if(b.title){var a=b.title;A.escapeHtml&&(a=d(b.title)),E.append(a).addClass(A.titleClass),D.append(E)}}function l(){if(b.message){var a=b.message;A.escapeHtml&&(a=d(b.message)),F.append(a).addClass(A.messageClass),D.append(F)}}function m(){A.closeButton&&(H.addClass(A.closeClass).attr("role","button"),D.prepend(H))}function o(){A.progressBar&&(G.addClass(A.progressClass),D.prepend(G))}function s(){A.rtl&&D.addClass("rtl")}function v(a,b){if(a.preventDuplicates){if(b.message===t)return!0;t=b.message}return!1}function w(b){var c=b&&A.closeMethod!==!1?A.closeMethod:A.hideMethod,d=b&&A.closeDuration!==!1?A.closeDuration:A.hideDuration,e=b&&A.closeEasing!==!1?A.closeEasing:A.hideEasing;return!a(":focus",D).length||b?(clearTimeout(I.intervalId),D[c]({duration:d,easing:e,complete:function(){q(D),clearTimeout(C),A.onHidden&&"hidden"!==J.state&&A.onHidden(),J.state="hidden",J.endTime=new Date,n(J)}})):void 0}function x(){(A.timeOut>0||A.extendedTimeOut>0)&&(C=setTimeout(w,A.extendedTimeOut),I.maxHideTime=parseFloat(A.extendedTimeOut),I.hideEta=(new Date).getTime()+I.maxHideTime)}function y(){clearTimeout(C),I.hideEta=0,D.stop(!0,!0)[A.showMethod]({duration:A.showDuration,easing:A.showEasing})}function z(){var a=(I.hideEta-(new Date).getTime())/I.maxHideTime*100;G.width(a+"%")}var A=p(),B=b.iconClass||A.iconClass;if("undefined"!=typeof b.optionsOverride&&(A=a.extend(A,b.optionsOverride),B=b.optionsOverride.iconClass||B),!v(A,b)){u++,r=c(A,!0);var C=null,D=a("<div/>"),E=a("<div/>"),F=a("<div/>"),G=a("<div/>"),H=a(A.closeHtml),I={intervalId:null,hideEta:null,maxHideTime:null},J={toastId:u,state:"visible",startTime:new Date,options:A,map:b};return e(),h(),g(),n(J),A.debug&&console&&console.log(J),D}}function p(){return a.extend({},m(),w.options)}function q(a){r||(r=c()),a.is(":visible")||(a.remove(),a=null,0===r.children().length&&(r.remove(),t=void 0))}var r,s,t,u=0,v={error:"error",info:"info",success:"success",warning:"warning"},w={clear:h,remove:i,error:b,getContainer:c,info:d,options:{},subscribe:e,success:f,version:"2.1.3",warning:g};return w}()})}("function"==typeof define&&define.amd?define:function(a,b){"undefined"!=typeof module&&module.exports?module.exports=b(require("jquery")):window.toastr=b(window.jQuery)}),function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";function b(b){return!b.nodeName||-1!==a.inArray(b.nodeName.toLowerCase(),["iframe","#document","html","body"])}function c(b){return a.isFunction(b)||a.isPlainObject(b)?b:{top:b,left:b}}var d=a.scrollTo=function(b,c,d){return a(window).scrollTo(b,c,d)};return d.defaults={axis:"xy",duration:0,limit:!0},a.fn.scrollTo=function(e,f,g){"object"==typeof f&&(g=f,f=0),"function"==typeof g&&(g={onAfter:g}),"max"===e&&(e=9e9),g=a.extend({},d.defaults,g),f=f||g.duration;var h=g.queue&&g.axis.length>1;return h&&(f/=2),g.offset=c(g.offset),g.over=c(g.over),this.each(function(){function i(b){var c=a.extend({},g,{queue:!0,duration:f,complete:b&&function(){b.call(l,n,g)}});m.animate(o,c)}if(null!==e){var j,k=b(this),l=k?this.contentWindow||window:this,m=a(l),n=e,o={};switch(typeof n){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?#x2F;.test(n)){n=c(n);break}n=k?a(n):a(n,l);case"object":if(0===n.length)return;(n.is||n.style)&&(j=(n=a(n)).offset())}var p=a.isFunction(g.offset)&&g.offset(l,n)||g.offset;a.each(g.axis.split(""),function(a,b){var c="x"===b?"Left":"Top",e=c.toLowerCase(),f="scroll"+c,q=m[f](),r=d.max(l,b);if(j)o[f]=j[e]+(k?0:q-m.offset()[e]),g.margin&&(o[f]-=parseInt(n.css("margin"+c),10)||0,o[f]-=parseInt(n.css("border"+c+"Width"),10)||0),o[f]+=p[e]||0,g.over[e]&&(o[f]+=n["x"===b?"width":"height"]()*g.over[e]);else{var s=n[e];o[f]=s.slice&&"%"===s.slice(-1)?parseFloat(s)/100*r:s}g.limit&&/^\d+#x2F;.test(o[f])&&(o[f]=o[f]<=0?0:Math.min(o[f],r)),!a&&g.axis.length>1&&(q===o[f]?o={}:h&&(i(g.onAfterFirst),o={}))}),i(g.onAfter)}})},d.max=function(c,d){var e="x"===d?"Width":"Height",f="scroll"+e;if(!b(c))return c[f]-a(c)[e.toLowerCase()]();var g="client"+e,h=c.ownerDocument||c.document,i=h.documentElement,j=h.body;return Math.max(i[f],j[f])-Math.min(i[g],j[g])},a.Tween.propHooks.scrollLeft=a.Tween.propHooks.scrollTop={get:function(b){return a(b.elem)[b.prop]()},set:function(b){var c=this.get(b);if(b.options.interrupt&&b._last&&b._last!==c)return a(b.elem).stop();var d=Math.round(b.now);c!==d&&(a(b.elem)[b.prop](d),b._last=this.get(b))}},d}),function(a,b){"function"==typeof define&&define.amd?define([],b):"object"==typeof module&&module.exports?module.exports=b():a.striptags=b()}(this,function(){function a(a,h){function i(a){n==c?p+=a:h&&n==d&&(q+=a)}function j(){var a,b,c,d="",e=!1;a:for(a=0,b=q.length;b>a;a++)switch(c=q[a].toLowerCase()){case"<":break;case">":break a;case"/":e=!0;break;default:if(c.match(g)){if(e)break a}else e=!0,d+=c}-1!==h.indexOf(d)&&(p+=q),q=""}var k,l,m,a=a||"",n=c,o=0,p="",q="",r=!1;for("string"==typeof h?h=b(h):Array.isArray(h)||(h=null),k=0,l=a.length;l>k;k++)switch(m=a[k]){case"<":if(r)break;if(" "==a[k+1]){i(m);break}if(n==c){n=d,i(m);break}if(n==d){o++;break}i(m);break;case">":if(o){o--;break}if(r)break;if(n==d){r=n=0,h&&(q+=">",j());break}if(n==e){r=n=0,q="";break}if(n==f&&"-"==a[k-1]&&"-"==a[k-2]){r=n=0,q="";break}i(m);break;case'"':case"'":n==d&&(r==m?r=!1:r||(r=m)),i(m);break;case"!":if(n==d&&"<"==a[k-1]){n=e;break}i(m);break;case"-":if(n==e&&"-"==a[k-1]&&"!"==a[k-2]){n=f;break}i(m);break;case"E":case"e":if(n==e&&"doctype"==a.substr(k-6,7).toLowerCase()){n=d;break}i(m);break;default:i(m)}return p}function b(a){for(var b,c=[];null!==(b=h.exec(a));)c.push(b[1]);return 0!==c.length?c:null}var c=0,d=1,e=2,f=3,g=/\s/,h=/<(\w*)>/g;return a}),function(a,b){"use strict";var c={"&nbsp;":" ","&iexcl;":"¡","&cent;":"¢","&pound;":"£","&curren;":"¤","&yen;":"¥","&brvbar;":"¦","&sect;":"§","&uml;":"¨","&copy;":"©","&ordf;":"ª","&laquo;":"«","&not;":"¬","&shy;":"­","&reg;":"®","&macr;":"¯","&deg;":"°","&plusmn;":"±","&sup2;":"²","&sup3;":"³","&acute;":"´","&micro;":"µ","&para;":"¶","&middot;":"·","&cedil;":"¸","&sup1;":"¹","&ordm;":"º","&raquo;":"»","&frac14;":"¼","&frac12;":"½","&frac34;":"¾","&iquest;":"¿","&Agrave;":"À","&Aacute;":"Á","&Acirc;":"Â","&Atilde;":"Ã","&Auml;":"Ä","&Aring;":"Å","&AElig;":"Æ","&Ccedil;":"Ç","&Egrave;":"È","&Eacute;":"É","&Ecirc;":"Ê","&Euml;":"Ë","&Igrave;":"Ì","&Iacute;":"Í","&Icirc;":"Î","&Iuml;":"Ï","&ETH;":"Ð","&Ntilde;":"Ñ","&Ograve;":"Ò","&Oacute;":"Ó","&Ocirc;":"Ô","&Otilde;":"Õ","&Ouml;":"Ö","&times;":"×","&Oslash;":"Ø","&Ugrave;":"Ù","&Uacute;":"Ú","&Ucirc;":"Û","&Uuml;":"Ü","&Yacute;":"Ý","&THORN;":"Þ","&szlig;":"ß","&agrave;":"à","&aacute;":"á","&acirc;":"â","&atilde;":"ã","&auml;":"ä","&aring;":"å","&aelig;":"æ","&ccedil;":"ç","&egrave;":"è","&eacute;":"é","&ecirc;":"ê","&euml;":"ë","&igrave;":"ì","&iacute;":"í","&icirc;":"î","&iuml;":"ï","&eth;":"ð","&ntilde;":"ñ","&ograve;":"ò","&oacute;":"ó","&ocirc;":"ô","&otilde;":"õ","&ouml;":"ö","&divide;":"÷","&oslash;":"ø","&ugrave;":"ù","&uacute;":"ú","&ucirc;":"û","&uuml;":"ü","&yacute;":"ý","&thorn;":"þ","&yuml;":"ÿ","&quot;":'"',"&amp;":"&","&lt;":"<","&gt;":">","&apos;":"'","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&circ;":"ˆ","&tilde;":"˜","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&zwnj;":"‌","&zwj;":"‍","&lrm;":"‎","&rlm;":"‏","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&permil;":"‰","&lsaquo;":"‹","&rsaquo;":"›","&euro;":"€","&fnof;":"ƒ","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigmaf;":"ς","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&thetasym;":"ϑ","&upsih;":"ϒ","&piv;":"ϖ","&bull;":"•","&hellip;":"…","&prime;":"′","&Prime;":"″","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&trade;":"™","&alefsym;":"ℵ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&forall;":"∀","&part;":"∂","&exist;":"∃","&empty;":"∅","&nabla;":"∇","&isin;":"∈","&notin;":"∉","&ni;":"∋","&prod;":"∏","&sum;":"∑","&minus;":"−","&lowast;":"∗","&radic;":"√","&prop;":"∝","&infin;":"∞","&ang;":"∠","&and;":"∧","&or;":"∨","&cap;":"∩","&cup;":"∪","&int;":"∫","&there4;":"∴","&sim;":"∼","&cong;":"≅","&asymp;":"≈","&ne;":"≠","&equiv;":"≡","&le;":"≤","&ge;":"≥","&sub;":"⊂","&sup;":"⊃","&nsub;":"⊄","&sube;":"⊆","&supe;":"⊇","&oplus;":"⊕","&otimes;":"⊗","&perp;":"⊥","&sdot;":"⋅","&lceil;":"⌈","&rceil;":"⌉","&lfloor;":"⌊","&rfloor;":"⌋","&lang;":"〈","&rang;":"〉","&loz;":"◊","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦"},d=function(a){if("#"!=a.charAt(1))return c[a]||a;var b,d=a.charAt(2);return"x"==d||"X"==d?(d=a.substring(3,a.length-1),b=parseInt(d,16)):(d=a.substring(2,a.length-1),b=parseInt(d)),isNaN(b)?a:String.fromCharCode(b)},e=function(a){return a.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},f=function(a){return a.replace(/&#?\w+;/g,d)};"undefined"!=typeof module?(e.htmlEncode=e,e.htmlDecode=f,module.exports=e):a&&(a.htmlEncode=e,a.htmlDecode=f)}(this),function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.Clipboard=a()}}(function(){var a;return function b(a,c,d){function e(g,h){if(!c[g]){if(!a[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};a[g][0].call(k.exports,function(b){var c=a[g][1][b];return e(c?c:b)},k,k.exports,b,a,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){var d=a("matches-selector");b.exports=function(a,b,c){for(var e=c?a:a.parentNode;e&&e!==document;){if(d(e,b))return e;e=e.parentNode}}},{"matches-selector":5}],2:[function(a,b,c){function d(a,b,c,d,f){var g=e.apply(this,arguments);return a.addEventListener(c,g,f),{destroy:function(){a.removeEventListener(c,g,f)}}}function e(a,b,c,d){return function(c){c.delegateTarget=f(c.target,b,!0),c.delegateTarget&&d.call(a,c)}}var f=a("closest");b.exports=d},{closest:1}],3:[function(a,b,c){c.node=function(a){return void 0!==a&&a instanceof HTMLElement&&1===a.nodeType},c.nodeList=function(a){var b=Object.prototype.toString.call(a);return void 0!==a&&("[object NodeList]"===b||"[object HTMLCollection]"===b)&&"length"in a&&(0===a.length||c.node(a[0]))},c.string=function(a){return"string"==typeof a||a instanceof String},c.fn=function(a){var b=Object.prototype.toString.call(a);return"[object Function]"===b}},{}],4:[function(a,b,c){function d(a,b,c){if(!a&&!b&&!c)throw new Error("Missing required arguments");if(!h.string(b))throw new TypeError("Second argument must be a String");if(!h.fn(c))throw new TypeError("Third argument must be a Function");if(h.node(a))return e(a,b,c);if(h.nodeList(a))return f(a,b,c);if(h.string(a))return g(a,b,c);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function e(a,b,c){return a.addEventListener(b,c),{destroy:function(){a.removeEventListener(b,c)}}}function f(a,b,c){return Array.prototype.forEach.call(a,function(a){a.addEventListener(b,c)}),{destroy:function(){Array.prototype.forEach.call(a,function(a){a.removeEventListener(b,c)})}}}function g(a,b,c){return i(document.body,a,b,c)}var h=a("./is"),i=a("delegate");b.exports=d},{"./is":3,delegate:2}],5:[function(a,b,c){function d(a,b){if(f)return f.call(a,b);for(var c=a.parentNode.querySelectorAll(b),d=0;d<c.length;++d)if(c[d]==a)return!0;return!1}var e=Element.prototype,f=e.matchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector;b.exports=d},{}],6:[function(a,b,c){function d(a){var b;if("INPUT"===a.nodeName||"TEXTAREA"===a.nodeName)a.focus(),a.setSelectionRange(0,a.value.length),b=a.value;else{a.hasAttribute("contenteditable")&&a.focus();var c=window.getSelection(),d=document.createRange();d.selectNodeContents(a),c.removeAllRanges(),c.addRange(d),b=c.toString()}return b}b.exports=d},{}],7:[function(a,b,c){function d(){}d.prototype={on:function(a,b,c){var d=this.e||(this.e={});return(d[a]||(d[a]=[])).push({fn:b,ctx:c}),this},once:function(a,b,c){function d(){e.off(a,d),b.apply(c,arguments)}var e=this;return d._=b,this.on(a,d,c)},emit:function(a){var b=[].slice.call(arguments,1),c=((this.e||(this.e={}))[a]||[]).slice(),d=0,e=c.length;for(d;e>d;d++)c[d].fn.apply(c[d].ctx,b);return this},off:function(a,b){var c=this.e||(this.e={}),d=c[a],e=[];if(d&&b)for(var f=0,g=d.length;g>f;f++)d[f].fn!==b&&d[f].fn._!==b&&e.push(d[f]);return e.length?c[a]=e:delete c[a],this}},b.exports=d},{}],8:[function(b,c,d){!function(e,f){if("function"==typeof a&&a.amd)a(["module","select"],f);else if("undefined"!=typeof d)f(c,b("select"));else{var g={exports:{}};f(g,e.select),e.clipboardAction=g.exports}}(this,function(a,b){"use strict";function c(a){return a&&a.__esModule?a:{"default":a}}function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var e=c(b),f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol?"symbol":typeof a},g=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),h=function(){function a(b){d(this,a),this.resolveOptions(b),this.initSelection()}return a.prototype.resolveOptions=function(){var a=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action=a.action,this.emitter=a.emitter,this.target=a.target,this.text=a.text,this.trigger=a.trigger,this.selectedText=""},a.prototype.initSelection=function(){this.text?this.selectFake():this.target&&this.selectTarget()},a.prototype.selectFake=function(){var a=this,b="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return a.removeFake()},this.fakeHandler=document.body.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[b?"right":"left"]="-9999px",this.fakeElem.style.top=(window.pageYOffset||document.documentElement.scrollTop)+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=e["default"](this.fakeElem),this.copyText()},a.prototype.removeFake=function(){this.fakeHandler&&(document.body.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)},a.prototype.selectTarget=function(){this.selectedText=e["default"](this.target),this.copyText()},a.prototype.copyText=function(){var a=void 0;try{a=document.execCommand(this.action)}catch(b){a=!1}this.handleResult(a)},a.prototype.handleResult=function(a){a?this.emitter.emit("success",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)}):this.emitter.emit("error",{action:this.action,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})},a.prototype.clearSelection=function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()},a.prototype.destroy=function(){this.removeFake()},g(a,[{key:"action",set:function(){var a=arguments.length<=0||void 0===arguments[0]?"copy":arguments[0];if(this._action=a,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(a){if(void 0!==a){if(!a||"object"!==("undefined"==typeof a?"undefined":f(a))||1!==a.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&a.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(a.hasAttribute("readonly")||a.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=a}},get:function(){return this._target}}]),a}();a.exports=h})},{select:6}],9:[function(b,c,d){!function(e,f){if("function"==typeof a&&a.amd)a(["module","./clipboard-action","tiny-emitter","good-listener"],f);else if("undefined"!=typeof d)f(c,b("./clipboard-action"),b("tiny-emitter"),b("good-listener"));else{var g={exports:{}};f(g,e.clipboardAction,e.tinyEmitter,e.goodListener),e.clipboard=g.exports}}(this,function(a,b,c,d){"use strict";function e(a){return a&&a.__esModule?a:{"default":a}}function f(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function g(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b}function h(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}function i(a,b){var c="data-clipboard-"+a;if(b.hasAttribute(c))return b.getAttribute(c)}var j=e(b),k=e(c),l=e(d),m=function(a){function b(c,d){f(this,b);var e=g(this,a.call(this));return e.resolveOptions(d),e.listenClick(c),e}return h(b,a),b.prototype.resolveOptions=function(){var a=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action="function"==typeof a.action?a.action:this.defaultAction,this.target="function"==typeof a.target?a.target:this.defaultTarget,this.text="function"==typeof a.text?a.text:this.defaultText},b.prototype.listenClick=function(a){var b=this;this.listener=l["default"](a,"click",function(a){return b.onClick(a)})},b.prototype.onClick=function(a){var b=a.delegateTarget||a.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new j["default"]({action:this.action(b),target:this.target(b),text:this.text(b),trigger:b,emitter:this})},b.prototype.defaultAction=function(a){return i("action",a)},b.prototype.defaultTarget=function(a){var b=i("target",a);return b?document.querySelector(b):void 0},b.prototype.defaultText=function(a){return i("text",a)},b.prototype.destroy=function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)},b}(k["default"]);a.exports=m})},{"./clipboard-action":8,"good-listener":4,"tiny-emitter":7}]},{},[9])(9)});var sheet=gMakeSheet(),xsSheet=sheet,smSheet=gMakeSheet("only screen and (min-width: 768px)"),mdSheet=gMakeSheet("only screen and (min-width: 992px)"),lgSheet=gMakeSheet("only screen and (min-width: 1200px)");if(gAddStyleToSheet(null,"[class*='col-']","padding-left:15px;padding-right:15px;"),gAddStyleToSheet(null,".flush-row [class*='col-']:first-of-type","padding-left:0 !important;"),gAddStyleToSheet(null,".flush-row [class*='col-']:last-of-type","padding-right:0 !important;"),function(a){a(document).ready(function(){var b={};a(".row[data-columns]").each(function(){var c=a(this).data("columns");if(a(this).addClass("cols-"+c),void 0===b["cols-"+c]){b["cols-"+c]="";for(var d=1;c>=d;d++){var e=d/c*100;gAddStyleToSheet(lgSheet,".cols-"+c+" .col-lg-"+d,"width: "+e+"%; float:left;"),gAddStyleToSheet(mdSheet,".cols-"+c+" .col-md-"+d,"width: "+e+"%; float:left;"),gAddStyleToSheet(smSheet,".cols-"+c+" .col-sm-"+d,"width: "+e+"%; float:left;"),gAddStyleToSheet(xsSheet,".cols-"+c+" .col-xs-"+d,"width: "+e+"%; float:left;"),gAddStyleToSheet(lgSheet,".cols-"+c+" .col-lg-push-"+d,"left: "+e+"%;"),gAddStyleToSheet(mdSheet,".cols-"+c+" .col-md-push-"+d,"left: "+e+"%;"),gAddStyleToSheet(smSheet,".cols-"+c+" .col-sm-push-"+d,"left: "+e+"%;"),gAddStyleToSheet(xsSheet,".cols-"+c+" .col-xs-push-"+d,"left: "+e+"%;"),gAddStyleToSheet(lgSheet,".cols-"+c+" .col-lg-pull-"+d,"right: "+e+"%;"),gAddStyleToSheet(mdSheet,".cols-"+c+" .col-md-pull-"+d,"right: "+e+"%;"),gAddStyleToSheet(smSheet,".cols-"+c+" .col-sm-pull-"+d,"right: "+e+"%;"),gAddStyleToSheet(xsSheet,".cols-"+c+" .col-xs-pull-"+d,"right: "+e+"%;")}}}),window.createGrid=function(c){a(c).find(".row[data-columns]").each(function(){var c=a(this).data("columns");if(a(this).addClass("cols-"+c),void 0===b["cols-"+c]){b["cols-"+c]="";for(var d=1;c>=d;d++){var e=d/c*100;gAddStyleToSheet(lgSheet,".cols-"+c+" .col-lg-"+d,"width: "+e+"%; float:left;"),gAddStyleToSheet(mdSheet,".cols-"+c+" .col-md-"+d,"width: "+e+"%; float:left;"),gAddStyleToSheet(smSheet,".cols-"+c+" .col-sm-"+d,"width: "+e+"%; float:left;"),gAddStyleToSheet(xsSheet,".cols-"+c+" .col-xs-"+d,"width: "+e+"%; float:left;"),gAddStyleToSheet(lgSheet,".cols-"+c+" .col-lg-push-"+d,"left: "+e+"%;"),gAddStyleToSheet(mdSheet,".cols-"+c+" .col-md-push-"+d,"left: "+e+"%;"),gAddStyleToSheet(smSheet,".cols-"+c+" .col-sm-push-"+d,"left: "+e+"%;"),gAddStyleToSheet(xsSheet,".cols-"+c+" .col-xs-push-"+d,"left: "+e+"%;"),gAddStyleToSheet(lgSheet,".cols-"+c+" .col-lg-pull-"+d,"right: "+e+"%;"),gAddStyleToSheet(mdSheet,".cols-"+c+" .col-md-pull-"+d,"right: "+e+"%;"),gAddStyleToSheet(smSheet,".cols-"+c+" .col-sm-pull-"+d,"right: "+e+"%;"),gAddStyleToSheet(xsSheet,".cols-"+c+" .col-xs-pull-"+d,"right: "+e+"%;")}}})};var c={};a(".row[data-gutter-width]").each(function(){var b=a(this).data("gutter-width");a(this).addClass("gutter-width-"+b);var d=a(this).data("gutter-scaling");d=void 0===d?!0:d,d="no"==d||"false"==d||"0"==d||0===d?!1:!0,d&&a(this).addClass("gutter-scaled-width-"+b);var e=a(this).data("flush-row");if(e="yes"==e||"true"==e||"1"==e||1===e?!0:!1,e&&a(this).addClass("flush-row"),void 0===c["gutter-width-"+b]){c["gutter-width-"+b]="";var f=Math.floor(b/2);gAddStyleToSheet(lgSheet,".gutter-width-"+b+" [class*='col-lg-']","position: relative; min-height: 1px; padding-left: "+f+"px; padding-right: "+f+"px;"),gAddStyleToSheet(mdSheet,".gutter-width-"+b+" [class*='col-md-']","position: relative; min-height: 1px; padding-left: "+f+"px; padding-right: "+f+"px;"),gAddStyleToSheet(smSheet,".gutter-width-"+b+" [class*='col-sm-']","position: relative; min-height: 1px; padding-left: "+f+"px; padding-right: "+f+"px;"),gAddStyleToSheet(xsSheet,".gutter-width-"+b+" [class*='col-xs-']","position: relative; min-height: 1px; padding-left: "+f+"px; padding-right: "+f+"px;");var g=Math.floor(b/4);gAddStyleToSheet(xsSheet,".gutter-scaled-width-"+b+" [class*='col-xs-']","position: relative; min-height: 1px; padding-left: "+g+"px !important; padding-right: "+g+"px !important;"),gAddStyleToSheet(smSheet,".gutter-scaled-width-"+b+" [class*='col-sm-']","position: relative; min-height: 1px; padding-left: "+g+"px !important; padding-right: "+g+"px !important;"),gAddStyleToSheet(mdSheet,".gutter-scaled-width-"+b+" [class*='col-md-']","position: relative; min-height: 1px; padding-left: "+f+"px !important; padding-right: "+f+"px !important;"),gAddStyleToSheet(lgSheet,".gutter-scaled-width-"+b+" [class*='col-lg-']","position: relative; min-height: 1px; padding-left: "+f+"px !important; padding-right: "+f+"px !important;")}})})}(jQuery),function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(window.jQuery)}(function($){"use strict";var func=function(){var a=function(a){return function(b){return a===b}},b=function(a,b){return a===b},c=function(a){return function(b,c){return b[a]===c[a]}},d=function(){return!0},e=function(){return!1},f=function(a){return function(){return!a.apply(a,arguments)}},g=function(a,b){return function(c){return a(c)&&b(c)}},h=function(a){return a},i=function(a,b){return function(){return a[b].apply(a,arguments)}},j=0,k=function(a){var b=++j+"";return a?a+b:b},l=function(a){var b=$(document);return{top:a.top+b.scrollTop(),left:a.left+b.scrollLeft(),width:a.right-a.left,height:a.bottom-a.top}},m=function(a){var b={};for(var c in a)a.hasOwnProperty(c)&&(b[a[c]]=c);return b},n=function(a,b){return b=b||"",b+a.split(".").map(function(a){return a.substring(0,1).toUpperCase()+a.substring(1)}).join("")},o=function(a,b,c){var d;return function(){var e=this,f=arguments,g=function(){d=null,c||a.apply(e,f)},h=c&&!d;clearTimeout(d),d=setTimeout(g,b),h&&a.apply(e,f)}};return{eq:a,eq2:b,peq2:c,ok:d,fail:e,self:h,not:f,and:g,invoke:i,uniqueId:k,rect2bnd:l,invertObject:m,namespaceToCamel:n,debounce:o}}(),list=function(){var a=function(a){return a[0]},b=function(a){return a[a.length-1]},c=function(a){return a.slice(0,a.length-1)},d=function(a){return a.slice(1)},e=function(a,b){for(var c=0,d=a.length;d>c;c++){var e=a[c];if(b(e))return e}},f=function(a,b){for(var c=0,d=a.length;d>c;c++)if(!b(a[c]))return!1;return!0},g=function(a,b){return $.inArray(b,a)},h=function(a,b){return-1!==g(a,b)},i=function(a,b){return b=b||func.self,a.reduce(function(a,c){return a+b(c)},0)},j=function(a){for(var b=[],c=-1,d=a.length;++c<d;)b[c]=a[c];return b},k=function(a){return!a||!a.length},l=function(c,e){if(!c.length)return[];var f=d(c);return f.reduce(function(a,c){var d=b(a);return e(b(d),c)?d[d.length]=c:a[a.length]=[c],a},[[a(c)]])},m=function(a){for(var b=[],c=0,d=a.length;d>c;c++)a[c]&&b.push(a[c]);return b},n=function(a){for(var b=[],c=0,d=a.length;d>c;c++)h(b,a[c])||b.push(a[c]);return b},o=function(a,b){var c=g(a,b);return-1===c?null:a[c+1]},p=function(a,b){var c=g(a,b);return-1===c?null:a[c-1]};return{head:a,last:b,initial:c,tail:d,prev:p,next:o,find:e,contains:h,all:f,sum:i,from:j,isEmpty:k,clusterBy:l,compact:m,unique:n}}(),isSupportAmd="function"==typeof define&&define.amd,isFontInstalled=function(a){var b="Comic Sans MS"===a?"Courier New":"Comic Sans MS",c=$("<div>").css({position:"absolute",left:"-9999px",top:"-9999px",fontSize:"200px"}).text("mmmmmmmmmwwwwwww").appendTo(document.body),d=c.css("fontFamily",b).width(),e=c.css("fontFamily",a+","+b).width();return c.remove(),d!==e},userAgent=navigator.userAgent,isMSIE=/MSIE|Trident/i.test(userAgent),browserVersion;if(isMSIE){var matches=/MSIE (\d+[.]\d+)/.exec(userAgent);matches&&(browserVersion=parseFloat(matches[1])),matches=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(userAgent),matches&&(browserVersion=parseFloat(matches[1]))}var isEdge=/Edge\/\d+/.test(userAgent),hasCodeMirror=!!window.CodeMirror;if(!hasCodeMirror&&isSupportAmd&&"undefined"!=typeof require)if("undefined"!=typeof require.resolve)try{require.resolve("codemirror"),hasCodeMirror=!0}catch(e){}else"undefined"!=typeof eval("require").specified&&(hasCodeMirror=eval("require").specified("codemirror"));var agent={isMac:navigator.appVersion.indexOf("Mac")>-1,isMSIE:isMSIE,isEdge:isEdge,isFF:!isEdge&&/firefox/i.test(userAgent),isPhantom:/PhantomJS/i.test(userAgent),isWebkit:!isEdge&&/webkit/i.test(userAgent),isChrome:!isEdge&&/chrome/i.test(userAgent),isSafari:!isEdge&&/safari/i.test(userAgent),browserVersion:browserVersion,jqueryVersion:parseFloat($.fn.jquery),isSupportAmd:isSupportAmd,hasCodeMirror:hasCodeMirror,isFontInstalled:isFontInstalled,isW3CRangeSupport:!!document.createRange},NBSP_CHAR=String.fromCharCode(160),ZERO_WIDTH_NBSP_CHAR="\ufeff",dom=function(){var a=function(a){return a&&$(a).hasClass("note-editable")},b=function(a){return a&&$(a).hasClass("note-control-sizing")},c=function(a){return a=a.toUpperCase(),function(b){return b&&b.nodeName.toUpperCase()===a}},d=function(a){return a&&3===a.nodeType},e=function(a){return a&&1===a.nodeType},f=function(a){return a&&/^BR|^IMG|^HR|^IFRAME|^BUTTON/.test(a.nodeName.toUpperCase())},g=function(b){return a(b)?!1:b&&/^DIV|^P|^LI|^H[1-7]/.test(b.nodeName.toUpperCase())},h=function(a){return a&&/^H[1-7]/.test(a.nodeName.toUpperCase())},i=c("PRE"),j=c("LI"),k=function(a){return g(a)&&!j(a)},l=c("TABLE"),m=c("DATA"),n=function(a){return!(s(a)||o(a)||p(a)||g(a)||l(a)||r(a)||m(a))},o=function(a){return a&&/^UL|^OL/.test(a.nodeName.toUpperCase())},p=c("HR"),q=function(a){return a&&/^TD|^TH/.test(a.nodeName.toUpperCase())},r=c("BLOCKQUOTE"),s=function(b){return q(b)||r(b)||a(b)},t=c("A"),u=function(a){return n(a)&&!!D(a,g)},v=function(a){return n(a)&&!D(a,g)},w=c("BODY"),x=function(a,b){return a.nextSibling===b||a.previousSibling===b},y=function(a,b){b=b||func.ok;var c=[];return a.previousSibling&&b(a.previousSibling)&&c.push(a.previousSibling),c.push(a),a.nextSibling&&b(a.nextSibling)&&c.push(a.nextSibling),c},z=agent.isMSIE&&agent.browserVersion<11?"&nbsp;":"<br>",A=function(a){return d(a)?a.nodeValue.length:a?a.childNodes.length:0},B=function(a){var b=A(a);return 0===b?!0:d(a)||1!==b||a.innerHTML!==z?list.all(a.childNodes,d)&&""===a.innerHTML?!0:!1:!0},C=function(a){f(a)||A(a)||(a.innerHTML=z)},D=function(b,c){for(;b;){if(c(b))return b;if(a(b))break;b=b.parentNode}return null},E=function(b,c){for(b=b.parentNode;b&&1===A(b);){if(c(b))return b;if(a(b))break;b=b.parentNode}return null},F=function(b,c){c=c||func.fail;var d=[];return D(b,function(b){return a(b)||d.push(b),c(b)}),d},G=function(a,b){var c=F(a);return list.last(c.filter(b))},H=function(a,b){for(var c=F(a),d=b;d;d=d.parentNode)if($.inArray(d,c)>-1)return d;return null},I=function(a,b){b=b||func.fail;for(var c=[];a&&!b(a);)c.push(a),
9
- a=a.previousSibling;return c},J=function(a,b){b=b||func.fail;for(var c=[];a&&!b(a);)c.push(a),a=a.nextSibling;return c},K=function(a,b){var c=[];return b=b||func.ok,function d(e){a!==e&&b(e)&&c.push(e);for(var f=0,g=e.childNodes.length;g>f;f++)d(e.childNodes[f])}(a),c},L=function(a,b){var c=a.parentNode,d=$("<"+b+">")[0];return c.insertBefore(d,a),d.appendChild(a),d},M=function(a,b){var c=b.nextSibling,d=b.parentNode;return c?d.insertBefore(a,c):d.appendChild(a),a},N=function(a,b){return $.each(b,function(b,c){a.appendChild(c)}),a},O=function(a){return 0===a.offset},P=function(a){return a.offset===A(a.node)},Q=function(a){return O(a)||P(a)},R=function(a,b){for(;a&&a!==b;){if(0!==V(a))return!1;a=a.parentNode}return!0},S=function(a,b){if(!b)return!1;for(;a&&a!==b;){if(V(a)!==A(a.parentNode)-1)return!1;a=a.parentNode}return!0},T=function(a,b){return O(a)&&R(a.node,b)},U=function(a,b){return P(a)&&S(a.node,b)},V=function(a){for(var b=0;a=a.previousSibling;)b+=1;return b},W=function(a){return!!(a&&a.childNodes&&a.childNodes.length)},X=function(b,c){var d,e;if(0===b.offset){if(a(b.node))return null;d=b.node.parentNode,e=V(b.node)}else W(b.node)?(d=b.node.childNodes[b.offset-1],e=A(d)):(d=b.node,e=c?0:b.offset-1);return{node:d,offset:e}},Y=function(b,c){var d,e;if(A(b.node)===b.offset){if(a(b.node))return null;d=b.node.parentNode,e=V(b.node)+1}else W(b.node)?(d=b.node.childNodes[b.offset],e=0):(d=b.node,e=c?A(b.node):b.offset+1);return{node:d,offset:e}},Z=function(a,b){return a.node===b.node&&a.offset===b.offset},_=function(a){if(d(a.node)||!W(a.node)||B(a.node))return!0;var b=a.node.childNodes[a.offset-1],c=a.node.childNodes[a.offset];return b&&!f(b)||c&&!f(c)?!1:!0},aa=function(a,b){for(;a;){if(b(a))return a;a=X(a)}return null},ba=function(a,b){for(;a;){if(b(a))return a;a=Y(a)}return null},ca=function(a){if(!d(a.node))return!1;var b=a.node.nodeValue.charAt(a.offset-1);return b&&" "!==b&&b!==NBSP_CHAR},da=function(a,b,c,d){for(var e=a;e&&(c(e),!Z(e,b));){var f=d&&a.node!==e.node&&b.node!==e.node;e=Y(e,f)}},ea=function(a,b){var c=F(b,func.eq(a));return c.map(V).reverse()},fa=function(a,b){for(var c=a,d=0,e=b.length;e>d;d++)c=c.childNodes.length<=b[d]?c.childNodes[c.childNodes.length-1]:c.childNodes[b[d]];return c},ga=function(a,b){var c=b&&b.isSkipPaddingBlankHTML,e=b&&b.isNotSplitEdgePoint;if(Q(a)&&(d(a.node)||e)){if(O(a))return a.node;if(P(a))return a.node.nextSibling}if(d(a.node))return a.node.splitText(a.offset);var f=a.node.childNodes[a.offset],g=M(a.node.cloneNode(!1),a.node);return N(g,J(f)),c||(C(a.node),C(g)),g},ha=function(a,b,c){var d=F(b.node,func.eq(a));return d.length?1===d.length?ga(b,c):d.reduce(function(a,d){return a===b.node&&(a=ga(b,c)),ga({node:d,offset:a?dom.position(a):A(d)},c)}):null},ia=function(a,b){var c,d,e=b?g:s,f=F(a.node,e),h=list.last(f)||a.node;e(h)?(c=f[f.length-2],d=h):(c=h,d=c.parentNode);var i=c&&ha(c,a,{isSkipPaddingBlankHTML:b,isNotSplitEdgePoint:b});return i||d!==a.node||(i=a.node.childNodes[a.offset]),{rightNode:i,container:d}},ja=function(a){return document.createElement(a)},ka=function(a){return document.createTextNode(a)},la=function(a,b){if(a&&a.parentNode){if(a.removeNode)return a.removeNode(b);var c=a.parentNode;if(!b){var d,e,f=[];for(d=0,e=a.childNodes.length;e>d;d++)f.push(a.childNodes[d]);for(d=0,e=f.length;e>d;d++)c.insertBefore(f[d],a)}c.removeChild(a)}},ma=function(b,c){for(;b&&!a(b)&&c(b);){var d=b.parentNode;la(b),b=d}},na=function(a,b){if(a.nodeName.toUpperCase()===b.toUpperCase())return a;var c=ja(b);return a.style.cssText&&(c.style.cssText=a.style.cssText),N(c,list.from(a.childNodes)),M(c,a),la(a),c},oa=c("TEXTAREA"),pa=function(a,b){var c=oa(a[0])?a.val():a.html();return b?c.replace(/[\n\r]/g,""):c},qa=function(a,b){var c=pa(a);if(b){var d=/<(\/?)(\b(?!!)[^>\s]*)(.*?)(\s*\/?>)/g;c=c.replace(d,function(a,b,c){c=c.toUpperCase();var d=/^DIV|^TD|^TH|^P|^LI|^H[1-7]/.test(c)&&!!b,e=/^BLOCKQUOTE|^TABLE|^TBODY|^TR|^HR|^UL|^OL/.test(c);return a+(d||e?"\n":"")}),c=$.trim(c)}return c},ra=function(a){var b=$(a),c=b.offset(),d=b.outerHeight(!0);return{left:c.left,top:c.top+d}},sa=function(a,b){Object.keys(b).forEach(function(c){a.on(c,b[c])})},ta=function(a,b){Object.keys(b).forEach(function(c){a.off(c,b[c])})};return{NBSP_CHAR:NBSP_CHAR,ZERO_WIDTH_NBSP_CHAR:ZERO_WIDTH_NBSP_CHAR,blank:z,emptyPara:"<p>"+z+"</p>",makePredByNodeName:c,isEditable:a,isControlSizing:b,isText:d,isElement:e,isVoid:f,isPara:g,isPurePara:k,isHeading:h,isInline:n,isBlock:func.not(n),isBodyInline:v,isBody:w,isParaInline:u,isPre:i,isList:o,isTable:l,isData:m,isCell:q,isBlockquote:r,isBodyContainer:s,isAnchor:t,isDiv:c("DIV"),isLi:j,isBR:c("BR"),isSpan:c("SPAN"),isB:c("B"),isU:c("U"),isS:c("S"),isI:c("I"),isImg:c("IMG"),isTextarea:oa,isEmpty:B,isEmptyAnchor:func.and(t,B),isClosestSibling:x,withClosestSiblings:y,nodeLength:A,isLeftEdgePoint:O,isRightEdgePoint:P,isEdgePoint:Q,isLeftEdgeOf:R,isRightEdgeOf:S,isLeftEdgePointOf:T,isRightEdgePointOf:U,prevPoint:X,nextPoint:Y,isSamePoint:Z,isVisiblePoint:_,prevPointUntil:aa,nextPointUntil:ba,isCharPoint:ca,walkPoint:da,ancestor:D,singleChildAncestor:E,listAncestor:F,lastAncestor:G,listNext:J,listPrev:I,listDescendant:K,commonAncestor:H,wrap:L,insertAfter:M,appendChildNodes:N,position:V,hasChildren:W,makeOffsetPath:ea,fromOffsetPath:fa,splitTree:ha,splitPoint:ia,create:ja,createText:ka,remove:la,removeWhile:ma,replace:na,html:qa,value:pa,posFromPlaceholder:ra,attachEvents:sa,detachEvents:ta}}(),Context=function(a,b){var c=this,d=$.summernote.ui;return this.memos={},this.modules={},this.layoutInfo={},this.options=b,this.initialize=function(){return this.layoutInfo=d.createLayout(a,b),this._initialize(),a.hide(),this},this.destroy=function(){this._destroy(),a.removeData("summernote"),d.removeLayout(a,this.layoutInfo)},this.reset=function(){var a=c.isDisabled();this.code(dom.emptyPara),this._destroy(),this._initialize(),a&&c.disable()},this._initialize=function(){var a=$.extend({},this.options.buttons);Object.keys(a).forEach(function(b){c.memo("button."+b,a[b])});var b=$.extend({},this.options.modules,$.summernote.plugins||{});Object.keys(b).forEach(function(a){c.module(a,b[a],!0)}),Object.keys(this.modules).forEach(function(a){c.initializeModule(a)})},this._destroy=function(){Object.keys(this.modules).reverse().forEach(function(a){c.removeModule(a)}),Object.keys(this.memos).forEach(function(a){c.removeMemo(a)})},this.code=function(b){var c=this.invoke("codeview.isActivated");return void 0===b?(this.invoke("codeview.sync"),c?this.layoutInfo.codable.val():this.layoutInfo.editable.html()):(c?this.layoutInfo.codable.val(b):this.layoutInfo.editable.html(b),a.val(b),this.triggerEvent("change",b),void 0)},this.isDisabled=function(){return"false"===this.layoutInfo.editable.attr("contenteditable")},this.enable=function(){this.layoutInfo.editable.attr("contenteditable",!0),this.invoke("toolbar.activate",!0)},this.disable=function(){this.invoke("codeview.isActivated")&&this.invoke("codeview.deactivate"),this.layoutInfo.editable.attr("contenteditable",!1),this.invoke("toolbar.deactivate",!0)},this.triggerEvent=function(){var b=list.head(arguments),c=list.tail(list.from(arguments)),d=this.options.callbacks[func.namespaceToCamel(b,"on")];d&&d.apply(a[0],c),a.trigger("summernote."+b,c)},this.initializeModule=function(b){var c=this.modules[b];c.shouldInitialize=c.shouldInitialize||func.ok,c.shouldInitialize()&&(c.initialize&&c.initialize(),c.events&&dom.attachEvents(a,c.events))},this.module=function(a,b,c){return 1===arguments.length?this.modules[a]:(this.modules[a]=new b(this),void(c||this.initializeModule(a)))},this.removeModule=function(b){var c=this.modules[b];c.shouldInitialize()&&(c.events&&dom.detachEvents(a,c.events),c.destroy&&c.destroy()),delete this.modules[b]},this.memo=function(a,b){return 1===arguments.length?this.memos[a]:void(this.memos[a]=b)},this.removeMemo=function(a){this.memos[a]&&this.memos[a].destroy&&this.memos[a].destroy(),delete this.memos[a]},this.createInvokeHandler=function(a,b){return function(d){d.preventDefault(),c.invoke(a,b||$(d.target).closest("[data-value]").data("value"))}},this.invoke=function(){var a=list.head(arguments),b=list.tail(list.from(arguments)),c=a.split("."),d=c.length>1,e=d&&list.head(c),f=d?list.last(c):list.head(c),g=this.modules[e||"editor"];return!e&&this[f]?this[f].apply(this,b):g&&g[f]&&g.shouldInitialize()?g[f].apply(g,b):void 0},this.initialize()};$.fn.extend({summernote:function(){var a=$.type(list.head(arguments)),b="string"===a,c="object"===a,d=c?list.head(arguments):{};d=$.extend({},$.summernote.options,d),d.langInfo=$.extend(!0,{},$.summernote.lang["en-US"],$.summernote.lang[d.lang]),d.icons=$.extend(!0,{},$.summernote.options.icons,d.icons),this.each(function(a,b){var c=$(b);if(!c.data("summernote")){var e=new Context(c,d);c.data("summernote",e),c.data("summernote").triggerEvent("init",e.layoutInfo)}});var e=this.first();if(e.length){var f=e.data("summernote");if(b)return f.invoke.apply(f,list.from(arguments));d.focus&&f.invoke("editor.focus")}return this}});var Renderer=function(a,b,c,d){this.render=function(e){var f=$(a);if(c&&c.contents&&f.html(c.contents),c&&c.className&&f.addClass(c.className),c&&c.data&&$.each(c.data,function(a,b){f.attr("data-"+a,b)}),c&&c.click&&f.on("click",c.click),b){var g=f.find(".note-children-container");b.forEach(function(a){a.render(g.length?g:f)})}return d&&d(f,c),c&&c.callback&&c.callback(f),e&&e.append(f),f}},renderer={create:function(a,b){return function(){var c=$.isArray(arguments[0])?arguments[0]:[],d="object"==typeof arguments[1]?arguments[1]:arguments[0];return d&&d.children&&(c=d.children),new Renderer(a,c,d,b)}}},editor=renderer.create('<div class="note-editor note-frame panel panel-default"/>'),toolbar=renderer.create('<div class="note-toolbar panel-heading"/>'),editingArea=renderer.create('<div class="note-editing-area"/>'),codable=renderer.create('<textarea class="note-codable"/>'),editable=renderer.create('<div class="note-editable panel-body" contentEditable="true"/>'),statusbar=renderer.create(['<div class="note-statusbar">',' <div class="note-resizebar">',' <div class="note-icon-bar"/>',' <div class="note-icon-bar"/>',' <div class="note-icon-bar"/>'," </div>","</div>"].join("")),airEditor=renderer.create('<div class="note-editor"/>'),airEditable=renderer.create('<div class="note-editable" contentEditable="true"/>'),buttonGroup=renderer.create('<div class="note-btn-group btn-group">'),button=renderer.create('<button type="button" class="note-btn btn btn-default btn-sm" tabindex="-1">',function(a,b){b&&b.tooltip&&a.attr({title:b.tooltip}).tooltip({container:"body",trigger:"hover",placement:"bottom"})}),dropdown=renderer.create('<div class="dropdown-menu">',function(a,b){var c=$.isArray(b.items)?b.items.map(function(a){var c="string"==typeof a?a:a.value||"",d=b.template?b.template(a):a;return'<li><a href="#" data-value="'+c+'">'+d+"</a></li>"}).join(""):b.items;a.html(c)}),dropdownCheck=renderer.create('<div class="dropdown-menu note-check">',function(a,b){var c=$.isArray(b.items)?b.items.map(function(a){var c="string"==typeof a?a:a.value||"",d=b.template?b.template(a):a;return'<li><a href="#" data-value="'+c+'">'+icon(b.checkClassName)+" "+d+"</a></li>"}).join(""):b.items;a.html(c)}),palette=renderer.create('<div class="note-color-palette"/>',function(a,b){for(var c=[],d=0,e=b.colors.length;e>d;d++){for(var f=b.eventName,g=b.colors[d],h=[],i=0,j=g.length;j>i;i++){var k=g[i];h.push(['<button type="button" class="note-color-btn"','style="background-color:',k,'" ','data-event="',f,'" ','data-value="',k,'" ','title="',k,'" ','data-toggle="button" tabindex="-1"></button>'].join(""))}c.push('<div class="note-color-row">'+h.join("")+"</div>")}a.html(c.join("")),a.find(".note-color-btn").tooltip({container:"body",trigger:"hover",placement:"bottom"})}),dialog=renderer.create('<div class="modal" aria-hidden="false" tabindex="-1"/>',function(a,b){b.fade&&a.addClass("fade"),a.html(['<div class="modal-dialog">',' <div class="modal-content">',b.title?' <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <h4 class="modal-title">'+b.title+"</h4> </div>":"",' <div class="modal-body">'+b.body+"</div>",b.footer?' <div class="modal-footer">'+b.footer+"</div>":""," </div>","</div>"].join(""))}),popover=renderer.create(['<div class="note-popover popover in">',' <div class="arrow"/>',' <div class="popover-content note-children-container"/>',"</div>"].join(""),function(a,b){var c="undefined"!=typeof b.direction?b.direction:"bottom";a.addClass(c),b.hideArrow&&a.find(".arrow").hide()}),icon=function(a,b){return b=b||"i","<"+b+' class="'+a+'"/>'},ui={editor:editor,toolbar:toolbar,editingArea:editingArea,codable:codable,editable:editable,statusbar:statusbar,airEditor:airEditor,airEditable:airEditable,buttonGroup:buttonGroup,button:button,dropdown:dropdown,dropdownCheck:dropdownCheck,palette:palette,dialog:dialog,popover:popover,icon:icon,toggleBtn:function(a,b){a.toggleClass("disabled",!b),a.attr("disabled",!b)},toggleBtnActive:function(a,b){a.toggleClass("active",b)},onDialogShown:function(a,b){a.one("shown.bs.modal",b)},onDialogHidden:function(a,b){a.one("hidden.bs.modal",b)},showDialog:function(a){a.modal("show")},hideDialog:function(a){a.modal("hide")},createLayout:function(a,b){var c=(b.airMode?ui.airEditor([ui.editingArea([ui.airEditable()])]):ui.editor([ui.toolbar(),ui.editingArea([ui.codable(),ui.editable()]),ui.statusbar()])).render();return c.insertAfter(a),{note:a,editor:c,toolbar:c.find(".note-toolbar"),editingArea:c.find(".note-editing-area"),editable:c.find(".note-editable"),codable:c.find(".note-codable"),statusbar:c.find(".note-statusbar")}},removeLayout:function(a,b){a.html(b.editable.html()),b.editor.remove(),a.show()}};$.summernote=$.summernote||{lang:{}},$.extend($.summernote.lang,{"en-US":{font:{bold:"Bold",italic:"Italic",underline:"Underline",clear:"Remove Font Style",height:"Line Height",name:"Font Family",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript",size:"Font Size"},image:{image:"Picture",insert:"Insert Image",resizeFull:"Resize Full",resizeHalf:"Resize Half",resizeQuarter:"Resize Quarter",floatLeft:"Float Left",floatRight:"Float Right",floatNone:"Float None",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Drag image or text here",dropImage:"Drop image or Text",selectFromFiles:"Select from files",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"Image URL",remove:"Remove Image"},video:{video:"Video",videoLink:"Video Link",insert:"Insert Video",url:"Video URL?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)"},link:{link:"Link",insert:"Insert Link",unlink:"Unlink",edit:"Edit",textToDisplay:"Text to display",url:"To what URL should this link go?",openInNewWindow:"Open in new window"},table:{table:"Table"},hr:{insert:"Insert Horizontal Rule"},style:{style:"Style",normal:"Normal",blockquote:"Quote",pre:"Code",h1:"Header 1",h2:"Header 2",h3:"Header 3",h4:"Header 4",h5:"Header 5",h6:"Header 6"},lists:{unordered:"Unordered list",ordered:"Ordered list"},options:{help:"Help",fullscreen:"Full Screen",codeview:"Code View"},paragraph:{paragraph:"Paragraph",outdent:"Outdent",indent:"Indent",left:"Align left",center:"Align center",right:"Align right",justify:"Justify full"},color:{recent:"Recent Color",more:"More Color",background:"Background Color",foreground:"Foreground Color",transparent:"Transparent",setTransparent:"Set transparent",reset:"Reset",resetToDefault:"Reset to default"},shortcut:{shortcuts:"Keyboard shortcuts",close:"Close",textFormatting:"Text formatting",action:"Action",paragraphFormatting:"Paragraph formatting",documentStyle:"Document Style",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Undo",redo:"Redo"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}});var key=function(){var a={BACKSPACE:8,TAB:9,ENTER:13,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,NUM0:48,NUM1:49,NUM2:50,NUM3:51,NUM4:52,NUM5:53,NUM6:54,NUM7:55,NUM8:56,B:66,E:69,I:73,J:74,K:75,L:76,R:82,S:83,U:85,V:86,Y:89,Z:90,SLASH:191,LEFTBRACKET:219,BACKSLASH:220,RIGHTBRACKET:221};return{isEdit:function(b){return list.contains([a.BACKSPACE,a.TAB,a.ENTER,a.SPACE],b)},isMove:function(b){return list.contains([a.LEFT,a.UP,a.RIGHT,a.DOWN],b)},nameFromCode:func.invertObject(a),code:a}}(),range=function(){var a=function(a,b){var c,d,e=a.parentElement(),f=document.body.createTextRange(),g=list.from(e.childNodes);for(c=0;c<g.length;c++)if(!dom.isText(g[c])){if(f.moveToElementText(g[c]),f.compareEndPoints("StartToStart",a)>=0)break;d=g[c]}if(0!==c&&dom.isText(g[c-1])){var h=document.body.createTextRange(),i=null;h.moveToElementText(d||e),h.collapse(!d),i=d?d.nextSibling:e.firstChild;var j=a.duplicate();j.setEndPoint("StartToStart",h);for(var k=j.text.replace(/[\r\n]/g,"").length;k>i.nodeValue.length&&i.nextSibling;)k-=i.nodeValue.length,i=i.nextSibling;i.nodeValue;b&&i.nextSibling&&dom.isText(i.nextSibling)&&k===i.nodeValue.length&&(k-=i.nodeValue.length,i=i.nextSibling),e=i,c=k}return{cont:e,offset:c}},b=function(a){var b=function(a,c){var d,e;if(dom.isText(a)){var f=dom.listPrev(a,func.not(dom.isText)),g=list.last(f).previousSibling;d=g||a.parentNode,c+=list.sum(list.tail(f),dom.nodeLength),e=!g}else{if(d=a.childNodes[c]||a,dom.isText(d))return b(d,0);c=0,e=!1}return{node:d,collapseToStart:e,offset:c}},c=document.body.createTextRange(),d=b(a.node,a.offset);return c.moveToElementText(d.node),c.collapse(d.collapseToStart),c.moveStart("character",d.offset),c},c=function(a,d,e,f){this.sc=a,this.so=d,this.ec=e,this.eo=f;var g=function(){if(agent.isW3CRangeSupport){var c=document.createRange();return c.setStart(a,d),c.setEnd(e,f),c}var g=b({node:a,offset:d});return g.setEndPoint("EndToEnd",b({node:e,offset:f})),g};this.getPoints=function(){return{sc:a,so:d,ec:e,eo:f}},this.getStartPoint=function(){return{node:a,offset:d}},this.getEndPoint=function(){return{node:e,offset:f}},this.select=function(){var a=g();if(agent.isW3CRangeSupport){var b=document.getSelection();b.rangeCount>0&&b.removeAllRanges(),b.addRange(a)}else a.select();return this},this.scrollIntoView=function(a){var b=$(a).height();return a.scrollTop+b<this.sc.offsetTop&&(a.scrollTop+=Math.abs(a.scrollTop+b-this.sc.offsetTop)),this},this.normalize=function(){var a=function(a,b){if(dom.isVisiblePoint(a)&&!dom.isEdgePoint(a)||dom.isVisiblePoint(a)&&dom.isRightEdgePoint(a)&&!b||dom.isVisiblePoint(a)&&dom.isLeftEdgePoint(a)&&b||dom.isVisiblePoint(a)&&dom.isBlock(a.node)&&dom.isEmpty(a.node))return a;var c=dom.ancestor(a.node,dom.isBlock);if((dom.isLeftEdgePointOf(a,c)||dom.isVoid(dom.prevPoint(a).node))&&!b||(dom.isRightEdgePointOf(a,c)||dom.isVoid(dom.nextPoint(a).node))&&b){if(dom.isVisiblePoint(a))return a;b=!b}var d=b?dom.nextPointUntil(dom.nextPoint(a),dom.isVisiblePoint):dom.prevPointUntil(dom.prevPoint(a),dom.isVisiblePoint);return d||a},b=a(this.getEndPoint(),!1),d=this.isCollapsed()?b:a(this.getStartPoint(),!0);return new c(d.node,d.offset,b.node,b.offset)},this.nodes=function(a,b){a=a||func.ok;var c=b&&b.includeAncestor,d=b&&b.fullyContains,e=this.getStartPoint(),f=this.getEndPoint(),g=[],h=[];return dom.walkPoint(e,f,function(b){if(!dom.isEditable(b.node)){var e;d?(dom.isLeftEdgePoint(b)&&h.push(b.node),dom.isRightEdgePoint(b)&&list.contains(h,b.node)&&(e=b.node)):e=c?dom.ancestor(b.node,a):b.node,e&&a(e)&&g.push(e)}},!0),list.unique(g)},this.commonAncestor=function(){return dom.commonAncestor(a,e)},this.expand=function(b){var g=dom.ancestor(a,b),h=dom.ancestor(e,b);if(!g&&!h)return new c(a,d,e,f);var i=this.getPoints();return g&&(i.sc=g,i.so=0),h&&(i.ec=h,i.eo=dom.nodeLength(h)),new c(i.sc,i.so,i.ec,i.eo)},this.collapse=function(b){return b?new c(a,d,a,d):new c(e,f,e,f)},this.splitText=function(){var b=a===e,g=this.getPoints();return dom.isText(e)&&!dom.isEdgePoint(this.getEndPoint())&&e.splitText(f),dom.isText(a)&&!dom.isEdgePoint(this.getStartPoint())&&(g.sc=a.splitText(d),g.so=0,b&&(g.ec=g.sc,g.eo=f-d)),new c(g.sc,g.so,g.ec,g.eo)},this.deleteContents=function(){if(this.isCollapsed())return this;var a=this.splitText(),b=a.nodes(null,{fullyContains:!0}),d=dom.prevPointUntil(a.getStartPoint(),function(a){return!list.contains(b,a.node)}),e=[];return $.each(b,function(a,b){var c=b.parentNode;d.node!==c&&1===dom.nodeLength(c)&&e.push(c),dom.remove(b,!1)}),$.each(e,function(a,b){dom.remove(b,!1)}),new c(d.node,d.offset,d.node,d.offset).normalize()};var h=function(b){return function(){var c=dom.ancestor(a,b);return!!c&&c===dom.ancestor(e,b)}};this.isOnEditable=h(dom.isEditable),this.isOnList=h(dom.isList),this.isOnAnchor=h(dom.isAnchor),this.isOnCell=h(dom.isCell),this.isOnData=h(dom.isData),this.isLeftEdgeOf=function(a){if(!dom.isLeftEdgePoint(this.getStartPoint()))return!1;var b=dom.ancestor(this.sc,a);return b&&dom.isLeftEdgeOf(this.sc,b)},this.isCollapsed=function(){return a===e&&d===f},this.wrapBodyInlineWithPara=function(){if(dom.isBodyContainer(a)&&dom.isEmpty(a))return a.innerHTML=dom.emptyPara,new c(a.firstChild,0,a.firstChild,0);var b=this.normalize();if(dom.isParaInline(a)||dom.isPara(a))return b;var d;if(dom.isInline(b.sc)){var e=dom.listAncestor(b.sc,func.not(dom.isInline));d=list.last(e),dom.isInline(d)||(d=e[e.length-2]||b.sc.childNodes[b.so])}else d=b.sc.childNodes[b.so>0?b.so-1:0];var f=dom.listPrev(d,dom.isParaInline).reverse();if(f=f.concat(dom.listNext(d.nextSibling,dom.isParaInline)),f.length){var g=dom.wrap(list.head(f),"p");dom.appendChildNodes(g,list.tail(f))}return this.normalize()},this.insertNode=function(a){var b=this.wrapBodyInlineWithPara().deleteContents(),c=dom.splitPoint(b.getStartPoint(),dom.isInline(a));return c.rightNode?c.rightNode.parentNode.insertBefore(a,c.rightNode):c.container.appendChild(a),a},this.pasteHTML=function(a){var b=$("<div></div>").html(a)[0],c=list.from(b.childNodes),d=this.wrapBodyInlineWithPara().deleteContents();return c.reverse().map(function(a){return d.insertNode(a)}).reverse()},this.toString=function(){var a=g();return agent.isW3CRangeSupport?a.toString():a.text},this.getWordRange=function(a){var b=this.getEndPoint();if(!dom.isCharPoint(b))return this;var d=dom.prevPointUntil(b,function(a){return!dom.isCharPoint(a)});return a&&(b=dom.nextPointUntil(b,function(a){return!dom.isCharPoint(a)})),new c(d.node,d.offset,b.node,b.offset)},this.bookmark=function(b){return{s:{path:dom.makeOffsetPath(b,a),offset:d},e:{path:dom.makeOffsetPath(b,e),offset:f}}},this.paraBookmark=function(b){return{s:{path:list.tail(dom.makeOffsetPath(list.head(b),a)),offset:d},e:{path:list.tail(dom.makeOffsetPath(list.last(b),e)),offset:f}}},this.getClientRects=function(){var a=g();return a.getClientRects()}};return{create:function(a,b,d,e){if(4===arguments.length)return new c(a,b,d,e);if(2===arguments.length)return d=a,e=b,new c(a,b,d,e);var f=this.createFromSelection();return f||1!==arguments.length?f:(f=this.createFromNode(arguments[0]),f.collapse(dom.emptyPara===arguments[0].innerHTML))},createFromSelection:function(){var b,d,e,f;if(agent.isW3CRangeSupport){var g=document.getSelection();if(!g||0===g.rangeCount)return null;if(dom.isBody(g.anchorNode))return null;var h=g.getRangeAt(0);b=h.startContainer,d=h.startOffset,e=h.endContainer,f=h.endOffset}else{var i=document.selection.createRange(),j=i.duplicate();j.collapse(!1);var k=i;k.collapse(!0);var l=a(k,!0),m=a(j,!1);dom.isText(l.node)&&dom.isLeftEdgePoint(l)&&dom.isTextNode(m.node)&&dom.isRightEdgePoint(m)&&m.node.nextSibling===l.node&&(l=m),b=l.cont,d=l.offset,e=m.cont,f=m.offset}return new c(b,d,e,f)},createFromNode:function(a){var b=a,c=0,d=a,e=dom.nodeLength(d);return dom.isVoid(b)&&(c=dom.listPrev(b).length-1,b=b.parentNode),dom.isBR(d)?(e=dom.listPrev(d).length-1,d=d.parentNode):dom.isVoid(d)&&(e=dom.listPrev(d).length,d=d.parentNode),this.create(b,c,d,e)},createFromNodeBefore:function(a){return this.createFromNode(a).collapse(!0)},createFromNodeAfter:function(a){return this.createFromNode(a).collapse()},createFromBookmark:function(a,b){var d=dom.fromOffsetPath(a,b.s.path),e=b.s.offset,f=dom.fromOffsetPath(a,b.e.path),g=b.e.offset;return new c(d,e,f,g)},createFromParaBookmark:function(a,b){var d=a.s.offset,e=a.e.offset,f=dom.fromOffsetPath(list.head(b),a.s.path),g=dom.fromOffsetPath(list.last(b),a.e.path);return new c(f,d,g,e)}}}(),async=function(){var a=function(a){return $.Deferred(function(b){$.extend(new FileReader,{onload:function(a){var c=a.target.result;b.resolve(c)},onerror:function(){b.reject(this)}}).readAsDataURL(a)}).promise()},b=function(a){return $.Deferred(function(b){var c=$("<img>");c.one("load",function(){c.off("error abort"),b.resolve(c)}).one("error abort",function(){c.off("load").detach(),b.reject(c)}).css({display:"none"}).appendTo(document.body).attr("src",a)}).promise()};return{readFileAsDataURL:a,createImage:b}}(),History=function(a){var b=[],c=-1,d=a[0],e=function(){var b=range.create(d),c={s:{path:[],offset:0},e:{path:[],offset:0}};return{contents:a.html(),bookmark:b?b.bookmark(d):c}},f=function(b){null!==b.contents&&a.html(b.contents),null!==b.bookmark&&range.createFromBookmark(d,b.bookmark).select()};this.rewind=function(){a.html()!==b[c].contents&&this.recordUndo(),c=0,f(b[c])},this.reset=function(){b=[],c=-1,a.html(""),this.recordUndo()},this.undo=function(){a.html()!==b[c].contents&&this.recordUndo(),c>0&&(c--,f(b[c]))},this.redo=function(){b.length-1>c&&(c++,f(b[c]))},this.recordUndo=function(){c++,b.length>c&&(b=b.slice(0,c)),b.push(e())}},Style=function(){var a=function(a,b){if(agent.jqueryVersion<1.9){var c={};return $.each(b,function(b,d){c[d]=a.css(d)}),c}return a.css.call(a,b)};this.fromNode=function(b){var c=["font-family","font-size","text-align","list-style-type","line-height"],d=a(b,c)||{};return d["font-size"]=parseInt(d["font-size"],10),d},this.stylePara=function(a,b){$.each(a.nodes(dom.isPara,{includeAncestor:!0}),function(a,c){$(c).css(b)})},this.styleNodes=function(a,b){a=a.splitText();var c=b&&b.nodeName||"SPAN",d=!(!b||!b.expandClosestSibling),e=!(!b||!b.onlyPartialContains);if(a.isCollapsed())return[a.insertNode(dom.create(c))];var f=dom.makePredByNodeName(c),g=a.nodes(dom.isText,{fullyContains:!0}).map(function(a){return dom.singleChildAncestor(a,f)||dom.wrap(a,c)});if(d){if(e){var h=a.nodes();f=func.and(f,function(a){return list.contains(h,a)})}return g.map(function(a){var b=dom.withClosestSiblings(a,f),c=list.head(b),d=list.tail(b);return $.each(d,function(a,b){dom.appendChildNodes(c,b.childNodes),dom.remove(b)}),list.head(b)})}return g},this.current=function(a){var b=$(dom.isElement(a.sc)?a.sc:a.sc.parentNode),c=this.fromNode(b);try{c=$.extend(c,{"font-bold":document.queryCommandState("bold")?"bold":"normal","font-italic":document.queryCommandState("italic")?"italic":"normal","font-underline":document.queryCommandState("underline")?"underline":"normal","font-subscript":document.queryCommandState("subscript")?"subscript":"normal","font-superscript":document.queryCommandState("superscript")?"superscript":"normal","font-strikethrough":document.queryCommandState("strikethrough")?"strikethrough":"normal"})}catch(d){}if(a.isOnList()){var e=["circle","disc","disc-leading-zero","square"],f=$.inArray(c["list-style-type"],e)>-1;c["list-style"]=f?"unordered":"ordered"}else c["list-style"]="none";var g=dom.ancestor(a.sc,dom.isPara);if(g&&g.style["line-height"])c["line-height"]=g.style.lineHeight;else{var h=parseInt(c["line-height"],10)/parseInt(c["font-size"],10);c["line-height"]=h.toFixed(1)}return c.anchor=a.isOnAnchor()&&dom.ancestor(a.sc,dom.isAnchor),c.ancestors=dom.listAncestor(a.sc,dom.isEditable),c.range=a,c}},Bullet=function(){var a=this;this.insertOrderedList=function(a){this.toggleList("OL",a)},this.insertUnorderedList=function(a){this.toggleList("UL",a)},this.indent=function(a){var b=this,c=range.create(a).wrapBodyInlineWithPara(),d=c.nodes(dom.isPara,{includeAncestor:!0}),e=list.clusterBy(d,func.peq2("parentNode"));$.each(e,function(a,c){var d=list.head(c);dom.isLi(d)?b.wrapList(c,d.parentNode.nodeName):$.each(c,function(a,b){$(b).css("marginLeft",function(a,b){return(parseInt(b,10)||0)+25})})}),c.select()},this.outdent=function(a){var b=this,c=range.create(a).wrapBodyInlineWithPara(),d=c.nodes(dom.isPara,{includeAncestor:!0}),e=list.clusterBy(d,func.peq2("parentNode"));$.each(e,function(a,c){var d=list.head(c);dom.isLi(d)?b.releaseList([c]):$.each(c,function(a,b){$(b).css("marginLeft",function(a,b){return b=parseInt(b,10)||0,b>25?b-25:""})})}),c.select()},this.toggleList=function(b,c){var d=range.create(c).wrapBodyInlineWithPara(),e=d.nodes(dom.isPara,{includeAncestor:!0}),f=d.paraBookmark(e),g=list.clusterBy(e,func.peq2("parentNode"));if(list.find(e,dom.isPurePara)){var h=[];$.each(g,function(c,d){h=h.concat(a.wrapList(d,b))}),e=h}else{var i=d.nodes(dom.isList,{includeAncestor:!0}).filter(function(a){return!$.nodeName(a,b)});i.length?$.each(i,function(a,c){dom.replace(c,b)}):e=this.releaseList(g,!0)}range.createFromParaBookmark(f,e).select()},this.wrapList=function(a,b){var c=list.head(a),d=list.last(a),e=dom.isList(c.previousSibling)&&c.previousSibling,f=dom.isList(d.nextSibling)&&d.nextSibling,g=e||dom.insertAfter(dom.create(b||"UL"),d);return a=a.map(function(a){return dom.isPurePara(a)?dom.replace(a,"LI"):a}),dom.appendChildNodes(g,a),f&&(dom.appendChildNodes(g,list.from(f.childNodes)),dom.remove(f)),a},this.releaseList=function(a,b){var c=[];return $.each(a,function(a,d){var e=list.head(d),f=list.last(d),g=b?dom.lastAncestor(e,dom.isList):e.parentNode,h=g.childNodes.length>1?dom.splitTree(g,{node:f.parentNode,offset:dom.position(f)+1},{isSkipPaddingBlankHTML:!0}):null,i=dom.splitTree(g,{node:e.parentNode,offset:dom.position(e)},{isSkipPaddingBlankHTML:!0});d=b?dom.listDescendant(i,dom.isLi):list.from(i.childNodes).filter(dom.isLi),(b||!dom.isList(g.parentNode))&&(d=d.map(function(a){return dom.replace(a,"P")})),$.each(list.from(d).reverse(),function(a,b){dom.insertAfter(b,g)});var j=list.compact([g,i,h]);$.each(j,function(a,b){var c=[b].concat(dom.listDescendant(b,dom.isList));$.each(c.reverse(),function(a,b){dom.nodeLength(b)||dom.remove(b,!0)})}),c=c.concat(d)}),c}},Typing=function(){var a=new Bullet;this.insertTab=function(a,b){var c=dom.createText(new Array(b+1).join(dom.NBSP_CHAR));a=a.deleteContents(),a.insertNode(c,!0),a=range.create(c,b),a.select()},this.insertParagraph=function(b){var c=range.create(b);c=c.deleteContents(),c=c.wrapBodyInlineWithPara();var d,e=dom.ancestor(c.sc,dom.isPara);if(e){if(dom.isEmpty(e)&&dom.isLi(e))return void a.toggleList(e.parentNode.nodeName);if(dom.isEmpty(e)&&dom.isPara(e)&&dom.isBlockquote(e.parentNode))dom.insertAfter(e,e.parentNode),d=e;else{d=dom.splitTree(e,c.getStartPoint());var f=dom.listDescendant(e,dom.isEmptyAnchor);f=f.concat(dom.listDescendant(d,dom.isEmptyAnchor)),$.each(f,function(a,b){dom.remove(b)}),(dom.isHeading(d)||dom.isPre(d))&&dom.isEmpty(d)&&(d=dom.replace(d,"p"));
10
- }}else{var g=c.sc.childNodes[c.so];d=$(dom.emptyPara)[0],g?c.sc.insertBefore(d,g):c.sc.appendChild(d)}range.create(d,0).normalize().select().scrollIntoView(b)}},Table=function(){this.tab=function(a,b){var c=dom.ancestor(a.commonAncestor(),dom.isCell),d=dom.ancestor(c,dom.isTable),e=dom.listDescendant(d,dom.isCell),f=list[b?"prev":"next"](e,c);f&&range.create(f,0).select()},this.createTable=function(a,b,c){for(var d,e=[],f=0;a>f;f++)e.push("<td>"+dom.blank+"</td>");d=e.join("");for(var g,h=[],i=0;b>i;i++)h.push("<tr>"+d+"</tr>");g=h.join("");var j=$("<table>"+g+"</table>");return c&&c.tableClassName&&j.addClass(c.tableClassName),j[0]}},KEY_BOGUS="bogus",Editor=function(a){var b=this,c=a.layoutInfo.note,d=a.layoutInfo.editor,e=a.layoutInfo.editable,f=a.options,g=f.langInfo,h=e[0],i=null,j=new Style,k=new Table,l=new Typing,m=new Bullet,n=new History(e);this.initialize=function(){e.on("keydown",function(c){c.keyCode===key.code.ENTER&&a.triggerEvent("enter",c),a.triggerEvent("keydown",c),c.isDefaultPrevented()||(f.shortcuts?b.handleKeyMap(c):b.preventDefaultEditableShortCuts(c))}).on("keyup",function(b){a.triggerEvent("keyup",b)}).on("focus",function(b){a.triggerEvent("focus",b)}).on("blur",function(b){a.triggerEvent("blur",b)}).on("mousedown",function(b){a.triggerEvent("mousedown",b)}).on("mouseup",function(b){a.triggerEvent("mouseup",b)}).on("scroll",function(b){a.triggerEvent("scroll",b)}).on("paste",function(b){a.triggerEvent("paste",b)}),e.html(dom.html(c)||dom.emptyPara);var g=agent.isMSIE?"DOMCharacterDataModified DOMSubtreeModified DOMNodeInserted":"input";e.on(g,func.debounce(function(){a.triggerEvent("change",e.html())},250)),d.on("focusin",function(b){a.triggerEvent("focusin",b)}).on("focusout",function(b){a.triggerEvent("focusout",b)}),f.airMode||(f.width&&d.outerWidth(f.width),f.height&&e.outerHeight(f.height),f.maxHeight&&e.css("max-height",f.maxHeight),f.minHeight&&e.css("min-height",f.minHeight)),n.recordUndo()},this.destroy=function(){e.off()},this.handleKeyMap=function(b){var c=f.keyMap[agent.isMac?"mac":"pc"],d=[];b.metaKey&&d.push("CMD"),b.ctrlKey&&!b.altKey&&d.push("CTRL"),b.shiftKey&&d.push("SHIFT");var e=key.nameFromCode[b.keyCode];e&&d.push(e);var g=c[d.join("+")];g?(b.preventDefault(),a.invoke(g)):key.isEdit(b.keyCode)&&this.afterCommand()},this.preventDefaultEditableShortCuts=function(a){(a.ctrlKey||a.metaKey)&&list.contains([66,73,85],a.keyCode)&&a.preventDefault()},this.createRange=function(){return this.focus(),range.create(h)},this.saveRange=function(a){i=this.createRange(),a&&i.collapse().select()},this.restoreRange=function(){i&&(i.select(),this.focus())},this.saveTarget=function(a){e.data("target",a)},this.clearTarget=function(){e.removeData("target")},this.restoreTarget=function(){return e.data("target")},this.currentStyle=function(){var a=range.create();return a&&(a=a.normalize()),a?j.current(a):j.fromNode(e)},this.styleFromNode=function(a){return j.fromNode(a)},this.undo=function(){a.triggerEvent("before.command",e.html()),n.undo(),a.triggerEvent("change",e.html())},a.memo("help.undo",g.help.undo),this.redo=function(){a.triggerEvent("before.command",e.html()),n.redo(),a.triggerEvent("change",e.html())},a.memo("help.redo",g.help.redo);for(var o=this.beforeCommand=function(){a.triggerEvent("before.command",e.html()),b.focus()},p=this.afterCommand=function(b){n.recordUndo(),b||a.triggerEvent("change",e.html())},q=["bold","italic","underline","strikethrough","superscript","subscript","justifyLeft","justifyCenter","justifyRight","justifyFull","formatBlock","removeFormat","backColor","foreColor","fontName"],r=0,s=q.length;s>r;r++)this[q[r]]=function(a){return function(b){o(),document.execCommand(a,!1,b),p(!0)}}(q[r]),a.memo("help."+q[r],g.help[q[r]]);this.tab=function(){var a=this.createRange();a.isCollapsed()&&a.isOnCell()?k.tab(a):(o(),l.insertTab(a,f.tabSize),p())},a.memo("help.tab",g.help.tab),this.untab=function(){var a=this.createRange();a.isCollapsed()&&a.isOnCell()&&k.tab(a,!0)},a.memo("help.untab",g.help.untab),this.wrapCommand=function(a){return function(){o(),a.apply(b,arguments),p()}},this.insertParagraph=this.wrapCommand(function(){l.insertParagraph(h)}),a.memo("help.insertParagraph",g.help.insertParagraph),this.insertOrderedList=this.wrapCommand(function(){m.insertOrderedList(h)}),a.memo("help.insertOrderedList",g.help.insertOrderedList),this.insertUnorderedList=this.wrapCommand(function(){m.insertUnorderedList(h)}),a.memo("help.insertUnorderedList",g.help.insertUnorderedList),this.indent=this.wrapCommand(function(){m.indent(h)}),a.memo("help.indent",g.help.indent),this.outdent=this.wrapCommand(function(){m.outdent(h)}),a.memo("help.outdent",g.help.outdent),this.insertImage=function(b,c){return async.createImage(b,c).then(function(a){o(),"function"==typeof c?c(a):("string"==typeof c&&a.attr("data-filename",c),a.css("width",Math.min(e.width(),a.width()))),a.show(),range.create(h).insertNode(a[0]),range.createFromNodeAfter(a[0]).select(),p()}).fail(function(b){a.triggerEvent("image.upload.error",b)})},this.insertImages=function(c){$.each(c,function(c,d){var e=d.name;f.maximumImageFileSize&&f.maximumImageFileSize<d.size?a.triggerEvent("image.upload.error",g.image.maximumFileSizeError):async.readFileAsDataURL(d).then(function(a){return b.insertImage(a,e)}).fail(function(){a.triggerEvent("image.upload.error")})})},this.insertImagesOrCallback=function(b){var c=f.callbacks;c.onImageUpload?a.triggerEvent("image.upload",b):this.insertImages(b)},this.insertNode=this.wrapCommand(function(a){var b=this.createRange();b.insertNode(a),range.createFromNodeAfter(a).select()}),this.insertText=this.wrapCommand(function(a){var b=this.createRange(),c=b.insertNode(dom.createText(a));range.create(c,dom.nodeLength(c)).select()}),this.getSelectedText=function(){var a=this.createRange();return a.isOnAnchor()&&(a=range.createFromNode(dom.ancestor(a.sc,dom.isAnchor))),a.toString()},this.pasteHTML=this.wrapCommand(function(a){var b=this.createRange().pasteHTML(a);range.createFromNodeAfter(list.last(b)).select()}),this.formatBlock=this.wrapCommand(function(a){a=agent.isMSIE?"<"+a+">":a,document.execCommand("FormatBlock",!1,a)}),this.formatPara=function(){this.formatBlock("P")},a.memo("help.formatPara",g.help.formatPara);for(var r=1;6>=r;r++)this["formatH"+r]=function(a){return function(){this.formatBlock("H"+a)}}(r),a.memo("help.formatH"+r,g.help["formatH"+r]);this.fontSize=function(a){var b=this.createRange();if(b&&b.isCollapsed()){var c=j.styleNodes(b),d=list.head(c);$(c).css({"font-size":a+"px"}),d&&!dom.nodeLength(d)&&(d.innerHTML=dom.ZERO_WIDTH_NBSP_CHAR,range.createFromNodeAfter(d.firstChild).select(),e.data(KEY_BOGUS,d))}else o(),$(j.styleNodes(b)).css({"font-size":a+"px"}),p()},this.insertHorizontalRule=this.wrapCommand(function(){var a=this.createRange().insertNode(dom.create("HR"));a.nextSibling&&range.create(a.nextSibling,0).normalize().select()}),a.memo("help.insertHorizontalRule",g.help.insertHorizontalRule),this.removeBogus=function(){var a=e.data(KEY_BOGUS);if(a){var b=list.find(list.from(a.childNodes),dom.isText),c=b.nodeValue.indexOf(dom.ZERO_WIDTH_NBSP_CHAR);-1!==c&&b.deleteData(c,1),dom.isEmpty(a)&&dom.remove(a),e.removeData(KEY_BOGUS)}},this.lineHeight=this.wrapCommand(function(a){j.stylePara(this.createRange(),{lineHeight:a})}),this.unlink=function(){var a=this.createRange();if(a.isOnAnchor()){var b=dom.ancestor(a.sc,dom.isAnchor);a=range.createFromNode(b),a.select(),o(),document.execCommand("unlink"),p()}},this.createLink=this.wrapCommand(function(a){var b=a.url,c=a.text,d=a.isNewWindow,e=a.range||this.createRange(),g=e.toString()!==c;"string"==typeof b&&(b=b.trim()),f.onCreateLink&&(b=f.onCreateLink(b));var h=[];if(g){e=e.deleteContents();var i=e.insertNode($("<A>"+c+"</A>")[0]);h.push(i)}else h=j.styleNodes(e,{nodeName:"A",expandClosestSibling:!0,onlyPartialContains:!0});$.each(h,function(a,c){b=/^[A-Za-z][A-Za-z0-9+-.]*\:[\/\/]?/.test(b)?b:"http://"+b,$(c).attr("href",b),d?$(c).attr("target","_blank"):$(c).removeAttr("target")});var k=range.createFromNodeBefore(list.head(h)),l=k.getStartPoint(),m=range.createFromNodeAfter(list.last(h)),n=m.getEndPoint();range.create(l.node,l.offset,n.node,n.offset).select()}),this.getLinkInfo=function(){var a=this.createRange().expand(dom.isAnchor),b=$(list.head(a.nodes(dom.isAnchor)));return{range:a,text:a.toString(),isNewWindow:b.length?"_blank"===b.attr("target"):!1,url:b.length?b.attr("href"):""}},this.color=this.wrapCommand(function(a){var b=a.foreColor,c=a.backColor;b&&document.execCommand("foreColor",!1,b),c&&document.execCommand("backColor",!1,c)}),this.insertTable=this.wrapCommand(function(a){var b=a.split("x"),c=this.createRange().deleteContents();c.insertNode(k.createTable(b[0],b[1],f))}),this.floatMe=this.wrapCommand(function(a){var b=$(this.restoreTarget());b.css("float",a)}),this.resize=this.wrapCommand(function(a){var b=$(this.restoreTarget());b.css({width:100*a+"%",height:""})}),this.resizeTo=function(a,b,c){var d;if(c){var e=a.y/a.x,f=b.data("ratio");d={width:f>e?a.x:a.y/f,height:f>e?a.x*f:a.y}}else d={width:a.x,height:a.y};b.css(d)},this.removeMedia=this.wrapCommand(function(){var b=$(this.restoreTarget()).detach();a.triggerEvent("media.delete",b,e)}),this.hasFocus=function(){return e.is(":focus")},this.focus=function(){this.hasFocus()||e.focus()},this.isEmpty=function(){return dom.isEmpty(e[0])||dom.emptyPara===e.html()},this.empty=function(){a.invoke("code",dom.emptyPara)}},Clipboard=function(a){var b=this,c=a.layoutInfo.editable;this.events={"summernote.keydown":function(c,d){b.needKeydownHook()&&(d.ctrlKey||d.metaKey)&&d.keyCode===key.code.V&&(a.invoke("editor.saveRange"),b.$paste.focus(),setTimeout(function(){b.pasteByHook()},0))}},this.needKeydownHook=function(){return agent.isMSIE&&agent.browserVersion>10||agent.isFF},this.initialize=function(){this.needKeydownHook()?(this.$paste=$('<div tabindex="-1" />').attr("contenteditable",!0).css({position:"absolute",left:-1e5,opacity:0}),c.before(this.$paste),this.$paste.on("paste",function(b){a.triggerEvent("paste",b)})):c.on("paste",this.pasteByEvent)},this.destroy=function(){this.needKeydownHook()&&(this.$paste.remove(),this.$paste=null)},this.pasteByHook=function(){var b=this.$paste[0].firstChild;if(dom.isImg(b)){for(var c=b.src,d=atob(c.split(",")[1]),e=new Uint8Array(d.length),f=0;f<d.length;f++)e[f]=d.charCodeAt(f);var g=new Blob([e],{type:"image/png"});g.name="clipboard.png",a.invoke("editor.restoreRange"),a.invoke("editor.focus"),a.invoke("editor.insertImagesOrCallback",[g])}else{var h=$("<div />").html(this.$paste.html()).html();a.invoke("editor.restoreRange"),a.invoke("editor.focus"),h&&a.invoke("editor.pasteHTML",h)}this.$paste.empty()},this.pasteByEvent=function(b){var c=b.originalEvent.clipboardData;if(c&&c.items&&c.items.length){var d=list.head(c.items);"file"===d.kind&&-1!==d.type.indexOf("image/")&&a.invoke("editor.insertImagesOrCallback",[d.getAsFile()]),a.invoke("editor.afterCommand")}}},Dropzone=function(a){var b=$(document),c=a.layoutInfo.editor,d=a.layoutInfo.editable,e=a.options,f=e.langInfo,g={},h=$(['<div class="note-dropzone">',' <div class="note-dropzone-message"/>',"</div>"].join("")).prependTo(c),i=function(){Object.keys(g).forEach(function(a){b.off(a.substr(2).toLowerCase(),g[a])}),g={}};this.initialize=function(){e.disableDragAndDrop?(g.onDrop=function(a){a.preventDefault()},b.on("drop",g.onDrop)):this.attachDragAndDropEvent()},this.attachDragAndDropEvent=function(){var e=$(),i=h.find(".note-dropzone-message");g.onDragenter=function(b){var d=a.invoke("codeview.isActivated"),g=c.width()>0&&c.height()>0;d||e.length||!g||(c.addClass("dragover"),h.width(c.width()),h.height(c.height()),i.text(f.image.dragImageHere)),e=e.add(b.target)},g.onDragleave=function(a){e=e.not(a.target),e.length||c.removeClass("dragover")},g.onDrop=function(){e=$(),c.removeClass("dragover")},b.on("dragenter",g.onDragenter).on("dragleave",g.onDragleave).on("drop",g.onDrop),h.on("dragenter",function(){h.addClass("hover"),i.text(f.image.dropImage)}).on("dragleave",function(){h.removeClass("hover"),i.text(f.image.dragImageHere)}),h.on("drop",function(b){var c=b.originalEvent.dataTransfer;c&&c.files&&c.files.length?(b.preventDefault(),d.focus(),a.invoke("editor.insertImagesOrCallback",c.files)):$.each(c.types,function(b,d){var e=c.getData(d);d.toLowerCase().indexOf("text")>-1?a.invoke("editor.pasteHTML",e):$(e).each(function(){a.invoke("editor.insertNode",this)})})}).on("dragover",!1)},this.destroy=function(){i()}},CodeMirror;agent.hasCodeMirror&&(agent.isSupportAmd?require(["codemirror"],function(a){CodeMirror=a}):CodeMirror=window.CodeMirror);var Codeview=function(a){var b=a.layoutInfo.editor,c=a.layoutInfo.editable,d=a.layoutInfo.codable,e=a.options;this.sync=function(){var a=this.isActivated();a&&agent.hasCodeMirror&&d.data("cmEditor").save()},this.isActivated=function(){return b.hasClass("codeview")},this.toggle=function(){this.isActivated()?this.deactivate():this.activate(),a.triggerEvent("codeview.toggled")},this.activate=function(){if(d.val(dom.html(c,e.prettifyHtml)),d.height(c.height()),a.invoke("toolbar.updateCodeview",!0),b.addClass("codeview"),d.focus(),agent.hasCodeMirror){var f=CodeMirror.fromTextArea(d[0],e.codemirror);if(e.codemirror.tern){var g=new CodeMirror.TernServer(e.codemirror.tern);f.ternServer=g,f.on("cursorActivity",function(a){g.updateArgHints(a)})}f.setSize(null,c.outerHeight()),d.data("cmEditor",f)}},this.deactivate=function(){if(agent.hasCodeMirror){var f=d.data("cmEditor");d.val(f.getValue()),f.toTextArea()}var g=dom.value(d,e.prettifyHtml)||dom.emptyPara,h=c.html()!==g;c.html(g),c.height(e.height?d.height():"auto"),b.removeClass("codeview"),h&&a.triggerEvent("change",c.html(),c),c.focus(),a.invoke("toolbar.updateCodeview",!1)},this.destroy=function(){this.isActivated()&&this.deactivate()}},EDITABLE_PADDING=24,Statusbar=function(a){var b=$(document),c=a.layoutInfo.statusbar,d=a.layoutInfo.editable,e=a.options;this.initialize=function(){e.airMode||e.disableResizeEditor||c.on("mousedown",function(a){a.preventDefault(),a.stopPropagation();var c=d.offset().top-b.scrollTop();b.on("mousemove",function(a){var b=a.clientY-(c+EDITABLE_PADDING);b=e.minheight>0?Math.max(b,e.minheight):b,b=e.maxHeight>0?Math.min(b,e.maxHeight):b,d.height(b)}).one("mouseup",function(){b.off("mousemove")})})},this.destroy=function(){c.off(),c.remove()}},Fullscreen=function(a){var b=a.layoutInfo.editor,c=a.layoutInfo.toolbar,d=a.layoutInfo.editable,e=a.layoutInfo.codable,f=$(window),g=$("html, body");this.toggle=function(){var h=function(a){d.css("height",a.h),e.css("height",a.h),e.data("cmeditor")&&e.data("cmeditor").setsize(null,a.h)};b.toggleClass("fullscreen"),this.isFullscreen()?(d.data("orgHeight",d.css("height")),f.on("resize",function(){h({h:f.height()-c.outerHeight()})}).trigger("resize"),g.css("overflow","hidden")):(f.off("resize"),h({h:d.data("orgHeight")}),g.css("overflow","visible")),a.invoke("toolbar.updateFullscreen",this.isFullscreen())},this.isFullscreen=function(){return b.hasClass("fullscreen")}},Handle=function(a){var b=this,c=$(document),d=a.layoutInfo.editingArea,e=a.options;this.events={"summernote.mousedown":function(a,c){b.update(c.target)&&c.preventDefault()},"summernote.keyup summernote.scroll summernote.change summernote.dialog.shown":function(){b.update()}},this.initialize=function(){this.$handle=$(['<div class="note-handle">','<div class="note-control-selection">','<div class="note-control-selection-bg"></div>','<div class="note-control-holder note-control-nw"></div>','<div class="note-control-holder note-control-ne"></div>','<div class="note-control-holder note-control-sw"></div>','<div class="',e.disableResizeImage?"note-control-holder":"note-control-sizing",' note-control-se"></div>',e.disableResizeImage?"":'<div class="note-control-selection-info"></div>',"</div>","</div>"].join("")).prependTo(d),this.$handle.on("mousedown",function(d){if(dom.isControlSizing(d.target)){d.preventDefault(),d.stopPropagation();var e=b.$handle.find(".note-control-selection").data("target"),f=e.offset(),g=c.scrollTop();c.on("mousemove",function(c){a.invoke("editor.resizeTo",{x:c.clientX-f.left,y:c.clientY-(f.top-g)},e,!c.shiftKey),b.update(e[0])}).one("mouseup",function(b){b.preventDefault(),c.off("mousemove"),a.invoke("editor.afterCommand")}),e.data("ratio")||e.data("ratio",e.height()/e.width())}})},this.destroy=function(){this.$handle.remove()},this.update=function(b){var c=dom.isImg(b),d=this.$handle.find(".note-control-selection");if(a.invoke("imagePopover.update",b),c){var e=$(b),f=e.position(),g={w:e.outerWidth(!0),h:e.outerHeight(!0)};d.css({display:"block",left:f.left,top:f.top,width:g.w,height:g.h}).data("target",e);var h=g.w+"x"+g.h;d.find(".note-control-selection-info").text(h),a.invoke("editor.saveTarget",b)}else this.hide();return c},this.hide=function(){a.invoke("editor.clearTarget"),this.$handle.children().hide()}},AutoLink=function(a){var b=this,c="http://",d=/^([A-Za-z][A-Za-z0-9+-.]*\:[\/\/]?|mailto:[A-Z0-9._%+-]+@)?(www\.)?(.+)#x2F;i;this.events={"summernote.keyup":function(a,c){c.isDefaultPrevented()||b.handleKeyup(c)},"summernote.keydown":function(a,c){b.handleKeydown(c)}},this.initialize=function(){this.lastWordRange=null},this.destroy=function(){this.lastWordRange=null},this.replace=function(){if(this.lastWordRange){var b=this.lastWordRange.toString(),e=b.match(d);if(e&&(e[1]||e[2])){var f=e[1]?b:c+b,g=$("<a />").html(b).attr("href",f)[0];this.lastWordRange.insertNode(g),this.lastWordRange=null,a.invoke("editor.focus")}}},this.handleKeydown=function(b){if(list.contains([key.code.ENTER,key.code.SPACE],b.keyCode)){var c=a.invoke("editor.createRange").getWordRange();this.lastWordRange=c}},this.handleKeyup=function(a){list.contains([key.code.ENTER,key.code.SPACE],a.keyCode)&&this.replace()}},AutoSync=function(a){var b=a.layoutInfo.note;this.events={"summernote.change":function(){b.val(a.invoke("code"))}},this.shouldInitialize=function(){return dom.isTextarea(b[0])}},Placeholder=function(a){var b=this,c=a.layoutInfo.editingArea,d=a.options;this.events={"summernote.init summernote.change":function(){b.update()},"summernote.codeview.toggled":function(){b.update()}},this.shouldInitialize=function(){return!!d.placeholder},this.initialize=function(){this.$placeholder=$('<div class="note-placeholder">'),this.$placeholder.on("click",function(){a.invoke("focus")}).text(d.placeholder).prependTo(c)},this.destroy=function(){this.$placeholder.remove()},this.update=function(){var b=!a.invoke("codeview.isActivated")&&a.invoke("editor.isEmpty");this.$placeholder.toggle(b)}},Buttons=function(a){var b=this,c=$.summernote.ui,d=a.layoutInfo.toolbar,e=a.options,f=e.langInfo,g=func.invertObject(e.keyMap[agent.isMac?"mac":"pc"]),h=this.representShortcut=function(a){var b=g[a];return e.shortcuts&&b?(agent.isMac&&(b=b.replace("CMD","⌘").replace("SHIFT","⇧")),b=b.replace("BACKSLASH","\\").replace("SLASH","/").replace("LEFTBRACKET","[").replace("RIGHTBRACKET","]")," ("+b+")"):""};this.initialize=function(){this.addToolbarButtons(),this.addImagePopoverButtons(),this.addLinkPopoverButtons(),this.fontInstalledMap={}},this.destroy=function(){delete this.fontInstalledMap},this.isFontInstalled=function(a){return b.fontInstalledMap.hasOwnProperty(a)||(b.fontInstalledMap[a]=agent.isFontInstalled(a)||list.contains(e.fontNamesIgnoreCheck,a)),b.fontInstalledMap[a]},this.addToolbarButtons=function(){a.memo("button.style",function(){return c.buttonGroup([c.button({className:"dropdown-toggle",contents:c.icon(e.icons.magic)+" "+c.icon(e.icons.caret,"span"),tooltip:f.style.style,data:{toggle:"dropdown"}}),c.dropdown({className:"dropdown-style",items:a.options.styleTags,template:function(a){"string"==typeof a&&(a={tag:a,title:f.style.hasOwnProperty(a)?f.style[a]:a});var b=a.tag,c=a.title,d=a.style?' style="'+a.style+'" ':"",e=a.className?' class="'+a.className+'"':"";return"<"+b+d+e+">"+c+"</"+b+">"},click:a.createInvokeHandler("editor.formatBlock")})]).render()}),a.memo("button.bold",function(){return c.button({className:"note-btn-bold",contents:c.icon(e.icons.bold),tooltip:f.font.bold+h("bold"),click:a.createInvokeHandler("editor.bold")}).render()}),a.memo("button.italic",function(){return c.button({className:"note-btn-italic",contents:c.icon(e.icons.italic),tooltip:f.font.italic+h("italic"),click:a.createInvokeHandler("editor.italic")}).render()}),a.memo("button.underline",function(){return c.button({className:"note-btn-underline",contents:c.icon(e.icons.underline),tooltip:f.font.underline+h("underline"),click:a.createInvokeHandler("editor.underline")}).render()}),a.memo("button.clear",function(){return c.button({contents:c.icon(e.icons.eraser),tooltip:f.font.clear+h("removeFormat"),click:a.createInvokeHandler("editor.removeFormat")}).render()}),a.memo("button.strikethrough",function(){return c.button({className:"note-btn-strikethrough",contents:c.icon(e.icons.strikethrough),tooltip:f.font.strikethrough+h("strikethrough"),click:a.createInvokeHandler("editor.strikethrough")}).render()}),a.memo("button.superscript",function(){return c.button({className:"note-btn-superscript",contents:c.icon(e.icons.superscript),tooltip:f.font.superscript,click:a.createInvokeHandler("editor.superscript")}).render()}),a.memo("button.subscript",function(){return c.button({className:"note-btn-subscript",contents:c.icon(e.icons.subscript),tooltip:f.font.subscript,click:a.createInvokeHandler("editor.subscript")}).render()}),a.memo("button.fontname",function(){return c.buttonGroup([c.button({className:"dropdown-toggle",contents:'<span class="note-current-fontname"/> '+c.icon(e.icons.caret,"span"),tooltip:f.font.name,data:{toggle:"dropdown"}}),c.dropdownCheck({className:"dropdown-fontname",checkClassName:e.icons.menuCheck,items:e.fontNames.filter(b.isFontInstalled),template:function(a){return'<span style="font-family:'+a+'">'+a+"</span>"},click:a.createInvokeHandler("editor.fontName")})]).render()}),a.memo("button.fontsize",function(){return c.buttonGroup([c.button({className:"dropdown-toggle",contents:'<span class="note-current-fontsize"/>'+c.icon(e.icons.caret,"span"),tooltip:f.font.size,data:{toggle:"dropdown"}}),c.dropdownCheck({className:"dropdown-fontsize",checkClassName:e.icons.menuCheck,items:e.fontSizes,click:a.createInvokeHandler("editor.fontSize")})]).render()}),a.memo("button.color",function(){return c.buttonGroup({className:"note-color",children:[c.button({className:"note-current-color-button",contents:c.icon(e.icons.font+" note-recent-color"),tooltip:f.color.recent,click:function(b){var c=$(b.currentTarget);a.invoke("editor.color",{backColor:c.attr("data-backColor"),foreColor:c.attr("data-foreColor")})},callback:function(a){var b=a.find(".note-recent-color");b.css("background-color","#FFFF00"),a.attr("data-backColor","#FFFF00")}}),c.button({className:"dropdown-toggle",contents:c.icon(e.icons.caret,"span"),tooltip:f.color.more,data:{toggle:"dropdown"}}),c.dropdown({items:["<li>",'<div class="btn-group">',' <div class="note-palette-title">'+f.color.background+"</div>"," <div>",' <button type="button" class="note-color-reset btn btn-default" data-event="backColor" data-value="inherit">',f.color.transparent," </button>"," </div>",' <div class="note-holder" data-event="backColor"/>',"</div>",'<div class="btn-group">',' <div class="note-palette-title">'+f.color.foreground+"</div>"," <div>",' <button type="button" class="note-color-reset btn btn-default" data-event="removeFormat" data-value="foreColor">',f.color.resetToDefault," </button>"," </div>",' <div class="note-holder" data-event="foreColor"/>',"</div>","</li>"].join(""),callback:function(a){a.find(".note-holder").each(function(){var a=$(this);a.append(c.palette({colors:e.colors,eventName:a.data("event")}).render())})},click:function(b){var c=$(b.target),d=c.data("event"),e=c.data("value");if(d&&e){var f="backColor"===d?"background-color":"color",g=c.closest(".note-color").find(".note-recent-color"),h=c.closest(".note-color").find(".note-current-color-button");g.css(f,e),h.attr("data-"+d,e),a.invoke("editor."+d,e)}}})]}).render()}),a.memo("button.ul",function(){return c.button({contents:c.icon(e.icons.unorderedlist),tooltip:f.lists.unordered+h("insertUnorderedList"),click:a.createInvokeHandler("editor.insertUnorderedList")}).render()}),a.memo("button.ol",function(){return c.button({contents:c.icon(e.icons.orderedlist),tooltip:f.lists.ordered+h("insertOrderedList"),click:a.createInvokeHandler("editor.insertOrderedList")}).render()});var d=c.button({contents:c.icon(e.icons.alignLeft),tooltip:f.paragraph.left+h("justifyLeft"),click:a.createInvokeHandler("editor.justifyLeft")}),g=c.button({contents:c.icon(e.icons.alignCenter),tooltip:f.paragraph.center+h("justifyCenter"),click:a.createInvokeHandler("editor.justifyCenter")}),i=c.button({contents:c.icon(e.icons.alignRight),tooltip:f.paragraph.right+h("justifyRight"),click:a.createInvokeHandler("editor.justifyRight")}),j=c.button({contents:c.icon(e.icons.alignJustify),tooltip:f.paragraph.justify+h("justifyFull"),click:a.createInvokeHandler("editor.justifyFull")}),k=c.button({contents:c.icon(e.icons.outdent),tooltip:f.paragraph.outdent+h("outdent"),click:a.createInvokeHandler("editor.outdent")}),l=c.button({contents:c.icon(e.icons.indent),tooltip:f.paragraph.indent+h("indent"),click:a.createInvokeHandler("editor.indent")});a.memo("button.justifyLeft",func.invoke(d,"render")),a.memo("button.justifyCenter",func.invoke(g,"render")),a.memo("button.justifyRight",func.invoke(i,"render")),a.memo("button.justifyFull",func.invoke(j,"render")),a.memo("button.outdent",func.invoke(k,"render")),a.memo("button.indent",func.invoke(l,"render")),a.memo("button.paragraph",function(){return c.buttonGroup([c.button({className:"dropdown-toggle",contents:c.icon(e.icons.alignLeft)+" "+c.icon(e.icons.caret,"span"),tooltip:f.paragraph.paragraph,data:{toggle:"dropdown"}}),c.dropdown([c.buttonGroup({className:"note-align",children:[d,g,i,j]}),c.buttonGroup({className:"note-list",children:[k,l]})])]).render()}),a.memo("button.height",function(){return c.buttonGroup([c.button({className:"dropdown-toggle",contents:c.icon(e.icons.textHeight)+" "+c.icon(e.icons.caret,"span"),tooltip:f.font.height,data:{toggle:"dropdown"}}),c.dropdownCheck({items:e.lineHeights,checkClassName:e.icons.menuCheck,className:"dropdown-line-height",click:a.createInvokeHandler("editor.lineHeight")})]).render()}),a.memo("button.table",function(){return c.buttonGroup([c.button({className:"dropdown-toggle",contents:c.icon(e.icons.table)+" "+c.icon(e.icons.caret,"span"),tooltip:f.table.table,data:{toggle:"dropdown"}}),c.dropdown({className:"note-table",items:['<div class="note-dimension-picker">',' <div class="note-dimension-picker-mousecatcher" data-event="insertTable" data-value="1x1"/>',' <div class="note-dimension-picker-highlighted"/>',' <div class="note-dimension-picker-unhighlighted"/>',"</div>",'<div class="note-dimension-display">1 x 1</div>'].join("")})],{callback:function(c){var d=c.find(".note-dimension-picker-mousecatcher");d.css({width:e.insertTableMaxSize.col+"em",height:e.insertTableMaxSize.row+"em"}).mousedown(a.createInvokeHandler("editor.insertTable")).on("mousemove",b.tableMoveHandler)}}).render()}),a.memo("button.link",function(){return c.button({contents:c.icon(e.icons.link),tooltip:f.link.link+h("linkDialog.show"),click:a.createInvokeHandler("linkDialog.show")}).render()}),a.memo("button.picture",function(){return c.button({contents:c.icon(e.icons.picture),tooltip:f.image.image,click:a.createInvokeHandler("imageDialog.show")}).render()}),a.memo("button.video",function(){return c.button({contents:c.icon(e.icons.video),tooltip:f.video.video,click:a.createInvokeHandler("videoDialog.show")}).render()}),a.memo("button.hr",function(){return c.button({contents:c.icon(e.icons.minus),tooltip:f.hr.insert+h("insertHorizontalRule"),click:a.createInvokeHandler("editor.insertHorizontalRule")}).render()}),a.memo("button.fullscreen",function(){return c.button({className:"btn-fullscreen",contents:c.icon(e.icons.arrowsAlt),tooltip:f.options.fullscreen,click:a.createInvokeHandler("fullscreen.toggle")}).render()}),a.memo("button.codeview",function(){return c.button({className:"btn-codeview",contents:c.icon(e.icons.code),tooltip:f.options.codeview,click:a.createInvokeHandler("codeview.toggle")}).render()}),a.memo("button.redo",function(){return c.button({contents:c.icon(e.icons.redo),tooltip:f.history.redo+h("redo"),click:a.createInvokeHandler("editor.redo")}).render()}),a.memo("button.undo",function(){return c.button({contents:c.icon(e.icons.undo),tooltip:f.history.undo+h("undo"),click:a.createInvokeHandler("editor.undo")}).render()}),a.memo("button.help",function(){return c.button({contents:c.icon(e.icons.question),tooltip:f.options.help,click:a.createInvokeHandler("helpDialog.show")}).render()})},this.addImagePopoverButtons=function(){a.memo("button.imageSize100",function(){return c.button({contents:'<span class="note-fontsize-10">100%</span>',tooltip:f.image.resizeFull,click:a.createInvokeHandler("editor.resize","1")}).render()}),a.memo("button.imageSize50",function(){return c.button({contents:'<span class="note-fontsize-10">50%</span>',tooltip:f.image.resizeHalf,click:a.createInvokeHandler("editor.resize","0.5")}).render()}),a.memo("button.imageSize25",function(){return c.button({contents:'<span class="note-fontsize-10">25%</span>',tooltip:f.image.resizeQuarter,click:a.createInvokeHandler("editor.resize","0.25")}).render()}),a.memo("button.floatLeft",function(){return c.button({contents:c.icon(e.icons.alignLeft),tooltip:f.image.floatLeft,click:a.createInvokeHandler("editor.floatMe","left")}).render()}),a.memo("button.floatRight",function(){return c.button({contents:c.icon(e.icons.alignRight),tooltip:f.image.floatRight,click:a.createInvokeHandler("editor.floatMe","right")}).render()}),a.memo("button.floatNone",function(){return c.button({contents:c.icon(e.icons.alignJustify),tooltip:f.image.floatNone,click:a.createInvokeHandler("editor.floatMe","none")}).render()}),a.memo("button.removeMedia",function(){return c.button({contents:c.icon(e.icons.trash),tooltip:f.image.remove,click:a.createInvokeHandler("editor.removeMedia")}).render()})},this.addLinkPopoverButtons=function(){a.memo("button.linkDialogShow",function(){return c.button({contents:c.icon(e.icons.link),tooltip:f.link.edit,click:a.createInvokeHandler("linkDialog.show")}).render()}),a.memo("button.unlink",function(){return c.button({contents:c.icon(e.icons.unlink),tooltip:f.link.unlink,click:a.createInvokeHandler("editor.unlink")}).render()})},this.build=function(b,d){for(var e=0,f=d.length;f>e;e++){for(var g=d[e],h=g[0],i=g[1],j=c.buttonGroup({className:"note-"+h}).render(),k=0,l=i.length;l>k;k++){var m=a.memo("button."+i[k]);m&&j.append("function"==typeof m?m(a):m)}j.appendTo(b)}},this.updateCurrentStyle=function(){var c=a.invoke("editor.currentStyle");if(this.updateBtnStates({".note-btn-bold":function(){return"bold"===c["font-bold"]},".note-btn-italic":function(){return"italic"===c["font-italic"]},".note-btn-underline":function(){return"underline"===c["font-underline"]},".note-btn-subscript":function(){return"subscript"===c["font-subscript"]},".note-btn-superscript":function(){return"superscript"===c["font-superscript"]},".note-btn-strikethrough":function(){return"strikethrough"===c["font-strikethrough"]}}),c["font-family"]){var e=c["font-family"].split(",").map(function(a){return a.replace(/[\'\"]/g,"").replace(/\s+#x2F;,"").replace(/^\s+/,"")}),f=list.find(e,b.isFontInstalled);d.find(".dropdown-fontname li a").each(function(){var a=$(this).data("value")+""==f+"";this.className=a?"checked":""}),d.find(".note-current-fontname").text(f)}if(c["font-size"]){var g=c["font-size"];d.find(".dropdown-fontsize li a").each(function(){var a=$(this).data("value")+""==g+"";this.className=a?"checked":""}),d.find(".note-current-fontsize").text(g)}if(c["line-height"]){var h=c["line-height"];d.find(".dropdown-line-height li a").each(function(){var a=$(this).data("value")+""==h+"";
11
- this.className=a?"checked":""})}},this.updateBtnStates=function(a){$.each(a,function(a,b){c.toggleBtnActive(d.find(a),b())})},this.tableMoveHandler=function(a){var b,c=18,d=$(a.target.parentNode),f=d.next(),g=d.find(".note-dimension-picker-mousecatcher"),h=d.find(".note-dimension-picker-highlighted"),i=d.find(".note-dimension-picker-unhighlighted");if(void 0===a.offsetX){var j=$(a.target).offset();b={x:a.pageX-j.left,y:a.pageY-j.top}}else b={x:a.offsetX,y:a.offsetY};var k={c:Math.ceil(b.x/c)||1,r:Math.ceil(b.y/c)||1};h.css({width:k.c+"em",height:k.r+"em"}),g.data("value",k.c+"x"+k.r),3<k.c&&k.c<e.insertTableMaxSize.col&&i.css({width:k.c+1+"em"}),3<k.r&&k.r<e.insertTableMaxSize.row&&i.css({height:k.r+1+"em"}),f.html(k.c+" x "+k.r)}},Toolbar=function(a){var b=$.summernote.ui,c=a.layoutInfo.note,d=a.layoutInfo.toolbar,e=a.options;this.shouldInitialize=function(){return!e.airMode},this.initialize=function(){e.toolbar=e.toolbar||[],e.toolbar.length?a.invoke("buttons.build",d,e.toolbar):d.hide(),e.toolbarContainer&&d.appendTo(e.toolbarContainer),c.on("summernote.keyup summernote.mouseup summernote.change",function(){a.invoke("buttons.updateCurrentStyle")}),a.invoke("buttons.updateCurrentStyle")},this.destroy=function(){d.children().remove()},this.updateFullscreen=function(a){b.toggleBtnActive(d.find(".btn-fullscreen"),a)},this.updateCodeview=function(a){b.toggleBtnActive(d.find(".btn-codeview"),a),a?this.deactivate():this.activate()},this.activate=function(a){var c=d.find("button");a||(c=c.not(".btn-codeview")),b.toggleBtn(c,!0)},this.deactivate=function(a){var c=d.find("button");a||(c=c.not(".btn-codeview")),b.toggleBtn(c,!1)}},LinkDialog=function(a){var b=this,c=$.summernote.ui,d=a.layoutInfo.editor,e=a.options,f=e.langInfo;this.initialize=function(){var a=e.dialogsInBody?$(document.body):d,b='<div class="form-group"><label>'+f.link.textToDisplay+'</label><input class="note-link-text form-control" type="text" /></div><div class="form-group"><label>'+f.link.url+'</label><input class="note-link-url form-control" type="text" value="http://" /></div>'+(e.disableLinkTarget?"":'<div class="checkbox"><label><input type="checkbox" checked> '+f.link.openInNewWindow+"</label></div>"),g='<button href="#" class="btn btn-primary note-link-btn disabled" disabled>'+f.link.insert+"</button>";this.$dialog=c.dialog({className:"link-dialog",title:f.link.insert,fade:e.dialogsFade,body:b,footer:g}).render().appendTo(a)},this.destroy=function(){c.hideDialog(this.$dialog),this.$dialog.remove()},this.bindEnterKey=function(a,b){a.on("keypress",function(a){a.keyCode===key.code.ENTER&&b.trigger("click")})},this.toggleLinkBtn=function(a,b,d){c.toggleBtn(a,b.val()&&d.val())},this.showLinkDialog=function(d){return $.Deferred(function(e){var f=b.$dialog.find(".note-link-text"),g=b.$dialog.find(".note-link-url"),h=b.$dialog.find(".note-link-btn"),i=b.$dialog.find("input[type=checkbox]");c.onDialogShown(b.$dialog,function(){a.triggerEvent("dialog.shown"),d.url||(d.url=d.text),f.val(d.text);var c=function(){b.toggleLinkBtn(h,f,g),d.text=f.val()};f.on("input",c).on("paste",function(){setTimeout(c,0)});var j=function(){b.toggleLinkBtn(h,f,g),d.text||f.val(g.val())};g.on("input",j).on("paste",function(){setTimeout(j,0)}).val(d.url).trigger("focus"),b.toggleLinkBtn(h,f,g),b.bindEnterKey(g,h),b.bindEnterKey(f,h),i.prop("checked",d.isNewWindow),h.one("click",function(a){a.preventDefault(),e.resolve({range:d.range,url:g.val(),text:f.val(),isNewWindow:i.is(":checked")}),b.$dialog.modal("hide")})}),c.onDialogHidden(b.$dialog,function(){f.off("input paste keypress"),g.off("input paste keypress"),h.off("click"),"pending"===e.state()&&e.reject()}),c.showDialog(b.$dialog)}).promise()},this.show=function(){var b=a.invoke("editor.getLinkInfo");a.invoke("editor.saveRange"),this.showLinkDialog(b).then(function(b){a.invoke("editor.restoreRange"),a.invoke("editor.createLink",b)}).fail(function(){a.invoke("editor.restoreRange")})},a.memo("help.linkDialog.show",e.langInfo.help["linkDialog.show"])},LinkPopover=function(a){var b=this,c=$.summernote.ui,d=a.options;this.events={"summernote.keyup summernote.mouseup summernote.change summernote.scroll":function(){b.update()},"summernote.dialog.shown":function(){b.hide()}},this.shouldInitialize=function(){return!list.isEmpty(d.popover.link)},this.initialize=function(){this.$popover=c.popover({className:"note-link-popover",callback:function(a){var b=a.find(".popover-content");b.prepend('<span><a target="_blank"></a>&nbsp;</span>')}}).render().appendTo("body");var b=this.$popover.find(".popover-content");a.invoke("buttons.build",b,d.popover.link)},this.destroy=function(){this.$popover.remove()},this.update=function(){if(!a.invoke("editor.hasFocus"))return void this.hide();var b=a.invoke("editor.createRange");if(b.isCollapsed()&&b.isOnAnchor()){var c=dom.ancestor(b.sc,dom.isAnchor),d=$(c).attr("href");this.$popover.find("a").attr("href",d).html(d);var e=dom.posFromPlaceholder(c);this.$popover.css({display:"block",left:e.left,top:e.top})}else this.hide()},this.hide=function(){this.$popover.hide()}},ImageDialog=function(a){var b=this,c=$.summernote.ui,d=a.layoutInfo.editor,e=a.options,f=e.langInfo;this.initialize=function(){var a=e.dialogsInBody?$(document.body):d,b="";if(e.maximumImageFileSize){var g=Math.floor(Math.log(e.maximumImageFileSize)/Math.log(1024)),h=1*(e.maximumImageFileSize/Math.pow(1024,g)).toFixed(2)+" "+" KMGTP"[g]+"B";b="<small>"+f.image.maximumFileSize+" : "+h+"</small>"}var i='<div class="form-group note-group-select-from-files"><label>'+f.image.selectFromFiles+'</label><input class="note-image-input form-control" type="file" name="files" accept="image/*" multiple="multiple" />'+b+'</div><div class="form-group note-group-image-url" style="overflow:auto;"><label>'+f.image.url+'</label><input class="note-image-url form-control col-md-12" type="text" /></div>',j='<button href="#" class="btn btn-primary note-image-btn disabled" disabled>'+f.image.insert+"</button>";this.$dialog=c.dialog({title:f.image.insert,fade:e.dialogsFade,body:i,footer:j}).render().appendTo(a)},this.destroy=function(){c.hideDialog(this.$dialog),this.$dialog.remove()},this.bindEnterKey=function(a,b){a.on("keypress",function(a){a.keyCode===key.code.ENTER&&b.trigger("click")})},this.show=function(){a.invoke("editor.saveRange"),this.showImageDialog().then(function(d){c.hideDialog(b.$dialog),a.invoke("editor.restoreRange"),"string"==typeof d?a.invoke("editor.insertImage",d):a.invoke("editor.insertImagesOrCallback",d)}).fail(function(){a.invoke("editor.restoreRange")})},this.showImageDialog=function(){return $.Deferred(function(d){var e=b.$dialog.find(".note-image-input"),f=b.$dialog.find(".note-image-url"),g=b.$dialog.find(".note-image-btn");c.onDialogShown(b.$dialog,function(){a.triggerEvent("dialog.shown"),e.replaceWith(e.clone().on("change",function(){d.resolve(this.files||this.value)}).val("")),g.click(function(a){a.preventDefault(),d.resolve(f.val())}),f.on("keyup paste",function(){var a=f.val();c.toggleBtn(g,a)}).val("").trigger("focus"),b.bindEnterKey(f,g)}),c.onDialogHidden(b.$dialog,function(){e.off("change"),f.off("keyup paste keypress"),g.off("click"),"pending"===d.state()&&d.reject()}),c.showDialog(b.$dialog)})}},ImagePopover=function(a){var b=$.summernote.ui,c=a.options;this.shouldInitialize=function(){return!list.isEmpty(c.popover.image)},this.initialize=function(){this.$popover=b.popover({className:"note-image-popover"}).render().appendTo("body");var d=this.$popover.find(".popover-content");a.invoke("buttons.build",d,c.popover.image)},this.destroy=function(){this.$popover.remove()},this.update=function(a){if(dom.isImg(a)){var b=dom.posFromPlaceholder(a);this.$popover.css({display:"block",left:b.left,top:b.top})}else this.hide()},this.hide=function(){this.$popover.hide()}},VideoDialog=function(a){var b=this,c=$.summernote.ui,d=a.layoutInfo.editor,e=a.options,f=e.langInfo;this.initialize=function(){var a=e.dialogsInBody?$(document.body):d,b='<div class="form-group row-fluid"><label>'+f.video.url+' <small class="text-muted">'+f.video.providers+'</small></label><input class="note-video-url form-control span12" type="text" /></div>',g='<button href="#" class="btn btn-primary note-video-btn disabled" disabled>'+f.video.insert+"</button>";this.$dialog=c.dialog({title:f.video.insert,fade:e.dialogsFade,body:b,footer:g}).render().appendTo(a)},this.destroy=function(){c.hideDialog(this.$dialog),this.$dialog.remove()},this.bindEnterKey=function(a,b){a.on("keypress",function(a){a.keyCode===key.code.ENTER&&b.trigger("click")})},this.createVideoNode=function(a){var b,c=/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?#x2F;,d=a.match(c),e=/(?:www\.|\/\/)instagram\.com\/p\/(.[a-zA-Z0-9_-]*)/,f=a.match(e),g=/\/\/vine\.co\/v\/([a-zA-Z0-9]+)/,h=a.match(g),i=/\/\/(player\.)?vimeo\.com\/([a-z]*\/)*([0-9]{6,11})[?]?.*/,j=a.match(i),k=/.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/,l=a.match(k),m=/\/\/v\.youku\.com\/v_show\/id_(\w+)=*\.html/,n=a.match(m),o=/^.+.(mp4|m4v)#x2F;,p=a.match(o),q=/^.+.(ogg|ogv)#x2F;,r=a.match(q),s=/^.+.(webm)#x2F;,t=a.match(s);if(d&&11===d[1].length){var u=d[1];b=$("<iframe>").attr("frameborder",0).attr("src","//www.youtube.com/embed/"+u).attr("width","640").attr("height","360")}else if(f&&f[0].length)b=$("<iframe>").attr("frameborder",0).attr("src","https://instagram.com/p/"+f[1]+"/embed/").attr("width","612").attr("height","710").attr("scrolling","no").attr("allowtransparency","true");else if(h&&h[0].length)b=$("<iframe>").attr("frameborder",0).attr("src",h[0]+"/embed/simple").attr("width","600").attr("height","600").attr("class","vine-embed");else if(j&&j[3].length)b=$("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("src","//player.vimeo.com/video/"+j[3]).attr("width","640").attr("height","360");else if(l&&l[2].length)b=$("<iframe>").attr("frameborder",0).attr("src","//www.dailymotion.com/embed/video/"+l[2]).attr("width","640").attr("height","360");else if(n&&n[1].length)b=$("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("height","498").attr("width","510").attr("src","//player.youku.com/embed/"+n[1]);else{if(!(p||r||t))return!1;b=$("<video controls>").attr("src",a).attr("width","640").attr("height","360")}return b.addClass("note-video-clip"),b[0]},this.show=function(){var d=a.invoke("editor.getSelectedText");a.invoke("editor.saveRange"),this.showVideoDialog(d).then(function(d){c.hideDialog(b.$dialog),a.invoke("editor.restoreRange");var e=b.createVideoNode(d);e&&a.invoke("editor.insertNode",e)}).fail(function(){a.invoke("editor.restoreRange")})},this.showVideoDialog=function(d){return $.Deferred(function(e){var f=b.$dialog.find(".note-video-url"),g=b.$dialog.find(".note-video-btn");c.onDialogShown(b.$dialog,function(){a.triggerEvent("dialog.shown"),f.val(d).on("input",function(){c.toggleBtn(g,f.val())}).trigger("focus"),g.click(function(a){a.preventDefault(),e.resolve(f.val())}),b.bindEnterKey(f,g)}),c.onDialogHidden(b.$dialog,function(){f.off("input"),g.off("click"),"pending"===e.state()&&e.reject()}),c.showDialog(b.$dialog)})}},HelpDialog=function(a){var b=this,c=$.summernote.ui,d=a.layoutInfo.editor,e=a.options,f=e.langInfo;this.createShortCutList=function(){var b=e.keyMap[agent.isMac?"mac":"pc"];return Object.keys(b).map(function(c){var d=b[c],e=$('<div><div class="help-list-item"/></div>');return e.append($("<label><kbd>"+c+"</kdb></label>").css({width:180,"margin-right":10})).append($("<span/>").html(a.memo("help."+d)||d)),e.html()}).join("")},this.initialize=function(){var a=e.dialogsInBody?$(document.body):d,b=['<p class="text-center">','<a href="http://summernote.org/" target="_blank">Summernote 0.8.2</a> · ','<a href="https://github.com/summernote/summernote" target="_blank">Project</a> · ','<a href="https://github.com/summernote/summernote/issues" target="_blank">Issues</a>',"</p>"].join("");this.$dialog=c.dialog({title:f.options.help,fade:e.dialogsFade,body:this.createShortCutList(),footer:b,callback:function(a){a.find(".modal-body").css({"max-height":300,overflow:"scroll"})}}).render().appendTo(a)},this.destroy=function(){c.hideDialog(this.$dialog),this.$dialog.remove()},this.showHelpDialog=function(){return $.Deferred(function(d){c.onDialogShown(b.$dialog,function(){a.triggerEvent("dialog.shown"),d.resolve()}),c.showDialog(b.$dialog)}).promise()},this.show=function(){a.invoke("editor.saveRange"),this.showHelpDialog().then(function(){a.invoke("editor.restoreRange")})}},AirPopover=function(a){var b=this,c=$.summernote.ui,d=a.options,e=20;this.events={"summernote.keyup summernote.mouseup summernote.scroll":function(){b.update()},"summernote.change summernote.dialog.shown":function(){b.hide()},"summernote.focusout":function(a,c){agent.isFF||c.relatedTarget&&dom.ancestor(c.relatedTarget,func.eq(b.$popover[0]))||b.hide()}},this.shouldInitialize=function(){return d.airMode&&!list.isEmpty(d.popover.air)},this.initialize=function(){this.$popover=c.popover({className:"note-air-popover"}).render().appendTo("body");var b=this.$popover.find(".popover-content");a.invoke("buttons.build",b,d.popover.air)},this.destroy=function(){this.$popover.remove()},this.update=function(){var b=a.invoke("editor.currentStyle");if(b.range&&!b.range.isCollapsed()){var c=list.last(b.range.getClientRects());if(c){var d=func.rect2bnd(c);this.$popover.css({display:"block",left:Math.max(d.left+d.width/2,0)-e,top:d.top+d.height})}}else this.hide()},this.hide=function(){this.$popover.hide()}},HintPopover=function(a){var b=this,c=$.summernote.ui,d=5,e=a.options.hint||[],f=a.options.hintDirection||"bottom",g=$.isArray(e)?e:[e];this.events={"summernote.keyup":function(a,c){c.isDefaultPrevented()||b.handleKeyup(c)},"summernote.keydown":function(a,c){b.handleKeydown(c)},"summernote.dialog.shown":function(){b.hide()}},this.shouldInitialize=function(){return g.length>0},this.initialize=function(){this.lastWordRange=null,this.$popover=c.popover({className:"note-hint-popover",hideArrow:!0,direction:""}).render().appendTo("body"),this.$popover.hide(),this.$content=this.$popover.find(".popover-content"),this.$content.on("click",".note-hint-item",function(){b.$content.find(".active").removeClass("active"),$(this).addClass("active"),b.replace()})},this.destroy=function(){this.$popover.remove()},this.selectItem=function(a){this.$content.find(".active").removeClass("active"),a.addClass("active"),this.$content[0].scrollTop=a[0].offsetTop-this.$content.innerHeight()/2},this.moveDown=function(){var a=this.$content.find(".note-hint-item.active"),b=a.next();if(b.length)this.selectItem(b);else{var c=a.parent().next();c.length||(c=this.$content.find(".note-hint-group").first()),this.selectItem(c.find(".note-hint-item").first())}},this.moveUp=function(){var a=this.$content.find(".note-hint-item.active"),b=a.prev();if(b.length)this.selectItem(b);else{var c=a.parent().prev();c.length||(c=this.$content.find(".note-hint-group").last()),this.selectItem(c.find(".note-hint-item").last())}},this.replace=function(){var b=this.$content.find(".note-hint-item.active");if(b.length){var c=this.nodeFromItem(b);this.lastWordRange.insertNode(c),range.createFromNode(c).collapse().select(),this.lastWordRange=null,this.hide(),a.invoke("editor.focus")}},this.nodeFromItem=function(a){var b=g[a.data("index")],c=a.data("item"),d=b.content?b.content(c):c;return"string"==typeof d&&(d=dom.createText(d)),d},this.createItemTemplates=function(a,b){var c=g[a];return b.map(function(b,d){var e=$('<div class="note-hint-item"/>');return e.append(c.template?c.template(b):b+""),e.data({index:a,item:b}),0===a&&0===d&&e.addClass("active"),e})},this.handleKeydown=function(a){this.$popover.is(":visible")&&(a.keyCode===key.code.ENTER?(a.preventDefault(),this.replace()):a.keyCode===key.code.UP?(a.preventDefault(),this.moveUp()):a.keyCode===key.code.DOWN&&(a.preventDefault(),this.moveDown()))},this.searchKeyword=function(a,b,c){var d=g[a];if(d&&d.match.test(b)&&d.search){var e=d.match.exec(b);d.search(e[1],c)}else c()},this.createGroup=function(a,c){var d=$('<div class="note-hint-group note-hint-group-'+a+'"/>');return this.searchKeyword(a,c,function(c){c=c||[],c.length&&(d.html(b.createItemTemplates(a,c)),b.show())}),d},this.handleKeyup=function(c){if(list.contains([key.code.ENTER,key.code.UP,key.code.DOWN],c.keyCode)){if(c.keyCode===key.code.ENTER&&this.$popover.is(":visible"))return}else{var e=a.invoke("editor.createRange").getWordRange(),h=e.toString();if(g.length&&h){this.$content.empty();var i=func.rect2bnd(list.last(e.getClientRects()));i&&(this.$popover.hide(),this.lastWordRange=e,g.forEach(function(a,c){a.match.test(h)&&b.createGroup(c,h).appendTo(b.$content)}),"top"===f?this.$popover.css({left:i.left,top:i.top-this.$popover.outerHeight()-d}):this.$popover.css({left:i.left,top:i.top+i.height+d}))}else this.hide()}},this.show=function(){this.$popover.show()},this.hide=function(){this.$popover.hide()}};$.summernote=$.extend($.summernote,{version:"0.8.2",ui:ui,dom:dom,plugins:{},options:{modules:{editor:Editor,clipboard:Clipboard,dropzone:Dropzone,codeview:Codeview,statusbar:Statusbar,fullscreen:Fullscreen,handle:Handle,hintPopover:HintPopover,autoLink:AutoLink,autoSync:AutoSync,placeholder:Placeholder,buttons:Buttons,toolbar:Toolbar,linkDialog:LinkDialog,linkPopover:LinkPopover,imageDialog:ImageDialog,imagePopover:ImagePopover,videoDialog:VideoDialog,helpDialog:HelpDialog,airPopover:AirPopover},buttons:{},lang:"en-US",toolbar:[["style",["style"]],["font",["bold","underline","clear"]],["fontname",["fontname"]],["color",["color"]],["para",["ul","ol","paragraph"]],["table",["table"]],["insert",["link","picture","video"]],["view",["fullscreen","codeview","help"]]],popover:{image:[["imagesize",["imageSize100","imageSize50","imageSize25"]],["float",["floatLeft","floatRight","floatNone"]],["remove",["removeMedia"]]],link:[["link",["linkDialogShow","unlink"]]],air:[["color",["color"]],["font",["bold","underline","clear"]],["para",["ul","paragraph"]],["table",["table"]],["insert",["link","picture"]]]},airMode:!1,width:null,height:null,focus:!1,tabSize:4,styleWithSpan:!0,shortcuts:!0,textareaAutoSync:!0,direction:null,styleTags:["p","blockquote","pre","h1","h2","h3","h4","h5","h6"],fontNames:["Arial","Arial Black","Comic Sans MS","Courier New","Helvetica Neue","Helvetica","Impact","Lucida Grande","Tahoma","Times New Roman","Verdana"],fontSizes:["8","9","10","11","12","14","18","24","36"],colors:[["#000000","#424242","#636363","#9C9C94","#CEC6CE","#EFEFEF","#F7F7F7","#FFFFFF"],["#FF0000","#FF9C00","#FFFF00","#00FF00","#00FFFF","#0000FF","#9C00FF","#FF00FF"],["#F7C6CE","#FFE7CE","#FFEFC6","#D6EFD6","#CEDEE7","#CEE7F7","#D6D6E7","#E7D6DE"],["#E79C9C","#FFC69C","#FFE79C","#B5D6A5","#A5C6CE","#9CC6EF","#B5A5D6","#D6A5BD"],["#E76363","#F7AD6B","#FFD663","#94BD7B","#73A5AD","#6BADDE","#8C7BC6","#C67BA5"],["#CE0000","#E79439","#EFC631","#6BA54A","#4A7B8C","#3984C6","#634AA5","#A54A7B"],["#9C0000","#B56308","#BD9400","#397B21","#104A5A","#085294","#311873","#731842"],["#630000","#7B3900","#846300","#295218","#083139","#003163","#21104A","#4A1031"]],lineHeights:["1.0","1.2","1.4","1.5","1.6","1.8","2.0","3.0"],tableClassName:"table table-bordered",insertTableMaxSize:{col:10,row:10},dialogsInBody:!1,dialogsFade:!1,maximumImageFileSize:null,callbacks:{onInit:null,onFocus:null,onBlur:null,onEnter:null,onKeyup:null,onKeydown:null,onImageUpload:null,onImageUploadError:null},codemirror:{mode:"text/html",htmlMode:!0,lineNumbers:!0},keyMap:{pc:{ENTER:"insertParagraph","CTRL+Z":"undo","CTRL+Y":"redo",TAB:"tab","SHIFT+TAB":"untab","CTRL+B":"bold","CTRL+I":"italic","CTRL+U":"underline","CTRL+SHIFT+S":"strikethrough","CTRL+BACKSLASH":"removeFormat","CTRL+SHIFT+L":"justifyLeft","CTRL+SHIFT+E":"justifyCenter","CTRL+SHIFT+R":"justifyRight","CTRL+SHIFT+J":"justifyFull","CTRL+SHIFT+NUM7":"insertUnorderedList","CTRL+SHIFT+NUM8":"insertOrderedList","CTRL+LEFTBRACKET":"outdent","CTRL+RIGHTBRACKET":"indent","CTRL+NUM0":"formatPara","CTRL+NUM1":"formatH1","CTRL+NUM2":"formatH2","CTRL+NUM3":"formatH3","CTRL+NUM4":"formatH4","CTRL+NUM5":"formatH5","CTRL+NUM6":"formatH6","CTRL+ENTER":"insertHorizontalRule","CTRL+K":"linkDialog.show"},mac:{ENTER:"insertParagraph","CMD+Z":"undo","CMD+SHIFT+Z":"redo",TAB:"tab","SHIFT+TAB":"untab","CMD+B":"bold","CMD+I":"italic","CMD+U":"underline","CMD+SHIFT+S":"strikethrough","CMD+BACKSLASH":"removeFormat","CMD+SHIFT+L":"justifyLeft","CMD+SHIFT+E":"justifyCenter","CMD+SHIFT+R":"justifyRight","CMD+SHIFT+J":"justifyFull","CMD+SHIFT+NUM7":"insertUnorderedList","CMD+SHIFT+NUM8":"insertOrderedList","CMD+LEFTBRACKET":"outdent","CMD+RIGHTBRACKET":"indent","CMD+NUM0":"formatPara","CMD+NUM1":"formatH1","CMD+NUM2":"formatH2","CMD+NUM3":"formatH3","CMD+NUM4":"formatH4","CMD+NUM5":"formatH5","CMD+NUM6":"formatH6","CMD+ENTER":"insertHorizontalRule","CMD+K":"linkDialog.show"}},icons:{align:"note-icon-align",alignCenter:"note-icon-align-center",alignJustify:"note-icon-align-justify",alignLeft:"note-icon-align-left",alignRight:"note-icon-align-right",indent:"note-icon-align-indent",outdent:"note-icon-align-outdent",arrowsAlt:"note-icon-arrows-alt",bold:"note-icon-bold",caret:"note-icon-caret",circle:"note-icon-circle",close:"note-icon-close",code:"note-icon-code",eraser:"note-icon-eraser",font:"note-icon-font",frame:"note-icon-frame",italic:"note-icon-italic",link:"note-icon-link",unlink:"note-icon-chain-broken",magic:"note-icon-magic",menuCheck:"note-icon-check",minus:"note-icon-minus",orderedlist:"note-icon-orderedlist",pencil:"note-icon-pencil",picture:"note-icon-picture",question:"note-icon-question",redo:"note-icon-redo",square:"note-icon-square",strikethrough:"note-icon-strikethrough",subscript:"note-icon-subscript",superscript:"note-icon-superscript",table:"note-icon-table",textHeight:"note-icon-text-height",trash:"note-icon-trash",underline:"note-icon-underline",undo:"note-icon-undo",unorderedlist:"note-icon-unorderedlist",video:"note-icon-video"}}})}),function(a,b){"function"==typeof define&&define.amd?define(["jquery"],b):b(a.jQuery)}(this,function(a){var b,c,d;!function(a){function e(a,b){return u.call(a,b)}function f(a,b){var c,d,e,f,g,h,i,j,k,l,m,n=b&&b.split("/"),o=s.map,p=o&&o["*"]||{};if(a&&"."===a.charAt(0))if(b){for(n=n.slice(0,n.length-1),a=a.split("/"),g=a.length-1,s.nodeIdCompat&&w.test(a[g])&&(a[g]=a[g].replace(w,"")),a=n.concat(a),k=0;k<a.length;k+=1)if(m=a[k],"."===m)a.splice(k,1),k-=1;else if(".."===m){if(1===k&&(".."===a[2]||".."===a[0]))break;k>0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}else 0===a.indexOf("./")&&(a=a.substring(2));if((n||p)&&o){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),n)for(l=n.length;l>0;l-=1)if(e=o[n.slice(0,l).join("/")],e&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&p&&p[d]&&(i=p[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}return a}function g(b,c){return function(){return n.apply(a,v.call(arguments,0).concat([b,c]))}}function h(a){return function(b){return f(b,a)}}function i(a){return function(b){q[a]=b}}function j(b){if(e(r,b)){var c=r[b];delete r[b],t[b]=!0,m.apply(a,c)}if(!e(q,b)&&!e(t,b))throw new Error("No "+b);return q[b]}function k(a){var b,c=a?a.indexOf("!"):-1;return c>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}function l(a){return function(){return s&&s.config&&s.config[a]||{}}}var m,n,o,p,q={},r={},s={},t={},u=Object.prototype.hasOwnProperty,v=[].slice,w=/\.js#x2F;;o=function(a,b){var c,d=k(a),e=d[0];return a=d[1],e&&(e=f(e,b),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(b)):f(a,b):(a=f(a,b),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},p={require:function(a){return g(a)},exports:function(a){var b=q[a];return"undefined"!=typeof b?b:q[a]={}},module:function(a){return{id:a,uri:"",exports:q[a],config:l(a)}}},m=function(b,c,d,f){var h,k,l,m,n,s,u=[],v=typeof d;if(f=f||b,"undefined"===v||"function"===v){for(c=!c.length&&d.length?["require","exports","module"]:c,n=0;n<c.length;n+=1)if(m=o(c[n],f),k=m.f,"require"===k)u[n]=p.require(b);else if("exports"===k)u[n]=p.exports(b),s=!0;else if("module"===k)h=u[n]=p.module(b);else if(e(q,k)||e(r,k)||e(t,k))u[n]=j(k);else{if(!m.p)throw new Error(b+" missing "+k);m.p.load(m.n,g(f,!0),i(k),{}),u[n]=q[k]}l=d?d.apply(q[b],u):void 0,b&&(h&&h.exports!==a&&h.exports!==q[b]?q[b]=h.exports:l===a&&s||(q[b]=l))}else b&&(q[b]=d)},b=c=n=function(b,c,d,e,f){if("string"==typeof b)return p[b]?p[b](c):j(o(b,c).f);if(!b.splice){if(s=b,s.deps&&n(s.deps,s.callback),!c)return;c.splice?(b=c,c=d,d=null):b=a}return c=c||function(){},"function"==typeof d&&(d=e,e=f),e?m(a,b,c,d):setTimeout(function(){m(a,b,c,d)},4),n},n.config=function(a){return n(a)},b._defined=q,d=function(a,b,c){b.splice||(c=b,b=[]),e(q,a)||e(r,a)||(r[a]=[a,b,c])},d.amd={jQuery:!0}}(),d("almond",function(){}),d("visualcaptcha/core",[],function(){"use strict";var a,b,c,d,e,f,g,h;return a=function(a,b,c){return c=c||[],a.namespace&&a.namespace.length>0&&c.push(a.namespaceFieldName+"="+a.namespace),c.push(a.randomParam+"="+a.randomNonce),b+"&"+c.join("&")},b=function(a){var b,d=this;a.applyRandomNonce(),a.isLoading=!0,b=c(a),a._loading(d),a.callbacks.loading&&a.callbacks.loading(d),a.request(b,function(b){b.audioFieldName&&(a.audioFieldName=b.audioFieldName),b.imageFieldName&&(a.imageFieldName=b.imageFieldName),b.imageName&&(a.imageName=b.imageName),b.values&&(a.imageValues=b.values),a.isLoading=!1,a.hasLoaded=!0,a._loaded(d),a.callbacks.loaded&&a.callbacks.loaded(d)})},c=function(b){var c=b.url+b.routes.start+"&_img="+b.numberOfImages;return a(b,c)},d=function(b,c){var d="",e=[];return 0>c||c>=b.numberOfImages?d:(this.isRetina()&&e.push("retina=1"),d=b.url+b.routes.image+"&_id="+c,a(b,d,e))},e=function(b,c){var d=b.url+b.routes.audio;return c&&(d+="/ogg"),a(b,d)},f=function(a,b){return b>=0&&b<a.numberOfImages?a.imageValues[b]:""},g=function(){return void 0!==window.devicePixelRatio&&window.devicePixelRatio>1},h=function(){var a,b=!1;try{a=document.createElement("audio"),a.canPlayType&&(b=!0)}catch(c){}return b},function(a){var c,i,j,k,l,m,n,o,p,q,r,s,t;return i=function(){return b.call(this,a)},j=function(){return a.isLoading},k=function(){return a.hasLoaded},l=function(){return a.imageValues.length},m=function(){return a.imageName},n=function(b){return f.call(this,a,b)},o=function(b){return d.call(this,a,b)},p=function(b){return e.call(this,a,b)},q=function(){return a.imageFieldName},r=function(){return a.audioFieldName},s=function(){return a.namespace},t=function(){return a.namespaceFieldName},c={refresh:i,isLoading:j,hasLoaded:k,numberOfImages:l,imageName:m,imageValue:n,imageUrl:o,audioUrl:p,imageFieldName:q,audioFieldName:r,namespace:s,namespaceFieldName:t,isRetina:g,supportsAudio:h},a.autoRefresh&&c.refresh(),c}}),d("visualcaptcha/xhr-request",[],function(){"use strict";var a=window.XMLHttpRequest;return function(b,c){var d=new a;d.open("GET",b,!0),d.onreadystatechange=function(){var a;4===d.readyState&&200===d.status&&(a=JSON.parse(d.responseText),c(a))},d.send()}}),d("visualcaptcha/config",["visualcaptcha/xhr-request"],function(a){"use strict";return function(b){var c=window.location.href.split("/");c[c.length-1]="";var d={request:a,url:c.join("/").slice(0,-1),namespace:"",namespaceFieldName:"namespace",routes:{start:"/start",image:"/image",audio:"/audio"},isLoading:!1,hasLoaded:!1,autoRefresh:!0,numberOfImages:6,randomNonce:"",randomParam:"r",audioFieldName:"",imageFieldName:"",imageName:"",imageValues:[],callbacks:{},_loading:function(){},_loaded:function(){}};return d.applyRandomNonce=function(){return d.randomNonce=Math.random().toString(36).substring(2)},b.request&&(d.request=b.request),b.url&&(d.url=b.url),b.namespace&&(d.namespace=b.namespace),b.namespaceFieldName&&(d.namespaceFieldName=b.namespaceFieldName),"undefined"!=typeof b.autoRefresh&&(d.autoRefresh=b.autoRefresh),b.numberOfImages&&(d.numberOfImages=b.numberOfImages),b.routes&&(b.routes.start&&(d.routes.start=b.routes.start),b.routes.image&&(d.routes.image=b.routes.image),b.routes.audio&&(d.routes.audio=b.routes.audio)),b.randomParam&&(d.randomParam=b.randomParam),b.callbacks&&(b.callbacks.loading&&(d.callbacks.loading=b.callbacks.loading),b.callbacks.loaded&&(d.callbacks.loaded=b.callbacks.loaded)),b._loading&&(d._loading=b._loading),b._loaded&&(d._loaded=b._loaded),d}}),d("visualcaptcha",["require","visualcaptcha/core","visualcaptcha/config"],function(a){"use strict";var b=a("visualcaptcha/core"),c=a("visualcaptcha/config");return function(a){return a=a||{},b(c(a))}}),d("visualcaptcha/templates",[],function(){"use strict";var a,b,c,d,e,f,g;return a=function(a,b){for(var c in b)a=a.replace(new RegExp("{"+c+"}","g"),b[c]);return a},b=function(b,c,d){var e,f,g,h;return e='<div class="visualCaptcha-accessibility-button"><a href="#"><img src="{path}accessibility{retinaExtra}.png" title="{accessibilityTitle}" alt="{accessibilityAlt}" /></a></div>',f='<div class="visualCaptcha-refresh-button"><a href="#"><img src="{path}refresh{retinaExtra}.png" title="{refreshTitle}" alt="{refreshAlt}" /></a></div>',g='<div class="visualCaptcha-button-group">'+f+(b.supportsAudio()?e:"")+"</div>",h={path:d||"",refreshTitle:c.refreshTitle,refreshAlt:c.refreshAlt,accessibilityTitle:c.accessibilityTitle,accessibilityAlt:c.accessibilityAlt,retinaExtra:b.isRetina()?"@2x":""},a(g,h)},c=function(b,c){var d,e;return b.supportsAudio()?(d='<div class="visualCaptcha-accessibility-wrapper visualCaptcha-hide"><div class="accessibility-description">{accessibilityDescription}</div><audio preload="preload"><source src="{audioURL}" type="audio/ogg" /><source src="{audioURL}" type="audio/mpeg" /></audio></div>',e={accessibilityDescription:c.accessibilityDescription,audioURL:b.audioUrl(),audioFieldName:b.audioFieldName()},a(d,e)):""},d=function(b,c){for(var d,e,f="",g=0,h=b.numberOfImages();h>g;g++)d='<div class="img"><a href="#"><img src="{imageUrl}" id="visualCaptcha-img-{i}" data-index="{i}" alt="" title="" /></a></div>',e={imageUrl:b.imageUrl(g),i:g},f+=a(d,e);return d='<p class="visualCaptcha-explanation">{explanation}</p><div class="visualCaptcha-possibilities">{images}</div>',e={imageFieldName:b.imageFieldName(),explanation:c.explanation.replace(/ANSWER/,b.imageName()),images:f},a(d,e)},e=function(b){var c,d;return c='<input class="form-control audioField" type="text" name="{audioFieldName}" value="" autocomplete="off" />',d={audioFieldName:b.audioFieldName()},a(c,d)},f=function(b,c){var d,e;return d='<input class="form-control imageField" type="hidden" name="{imageFieldName}" value="{value}" readonly="readonly" />',e={imageFieldName:b.imageFieldName(),value:b.imageValue(c)},a(d,e)},g=function(b){var c,d,e=b.namespace();return e&&0!==e.length?(c='<input type="hidden" name="{fieldName}" value="{value}" />',d={fieldName:b.namespaceFieldName(),value:e},a(c,d)):""},{buttons:b,accessibility:c,images:d,audioInput:e,imageInput:f,namespaceInput:g}}),d("visualcaptcha/language",[],function(){"use strict";return{accessibilityAlt:"Sound icon",accessibilityTitle:"Accessibility option: listen to a question and answer it!",accessibilityDescription:"Type below the <strong>answer</strong> to what you hear. Numbers or words:",explanation:"Click or touch the <strong>ANSWER</strong>",refreshAlt:"Refresh/reload icon",refreshTitle:"Refresh/reload: get new images and accessibility option!"}}),d("visualcaptcha.jquery",["jquery","visualcaptcha","visualcaptcha/templates","visualcaptcha/language"],function(a,b,c,d){"use strict";var e,f,g,h,i,j,k;e=function(b,c){a.get(b,c,"json")},f=function(){},g=function(a,b,d){var e;e=c.namespaceInput(d)+c.accessibility(d,a.language)+c.images(d,a.language)+c.buttons(d,a.language,a.imgPath),b.html(e)},h=function(b){var d,e=a(this).closest(".visualCaptcha"),f=e.find(".visualCaptcha-accessibility-wrapper"),g=e.find(".visualCaptcha-possibilities"),h=e.find(".visualCaptcha-explanation"),i=f.find("audio");f.hasClass("visualCaptcha-hide")?(g.toggleClass("visualCaptcha-hide"),h.toggleClass("visualCaptcha-hide"),
12
- g.find(".img").removeClass("visualCaptcha-selected"),h.find("input").val(""),d=c.audioInput(e.data("captcha")),a(d).insertBefore(i),f.toggleClass("visualCaptcha-hide"),i[0].load(),i[0].play()):(i[0].pause(),f.toggleClass("visualCaptcha-hide"),f.find("input").remove(),h.toggleClass("visualCaptcha-hide"),g.toggleClass("visualCaptcha-hide")),b.preventDefault()},i=function(b){var d,e,f,g=a(this),h=g.closest(".visualCaptcha"),i=h.find(".visualCaptcha-possibilities"),j=h.find(".visualCaptcha-explanation");e=j.find("input"),e&&(e.remove(),i.find("a").removeClass("visualCaptcha-selected")),g.addClass("visualCaptcha-selected"),d=g.find("img").data("index"),f=c.imageInput(h.data("captcha"),d),j.append(a(f)),b.preventDefault()},j=function(b){var c=a(this).closest(".visualCaptcha");c.data("captcha").refresh(),b.preventDefault()},k=function(a){var b=a.find(".imageField"),c=a.find(".audioField"),d=!(!b.val()&&!c.val());return d?{valid:d,name:b.val()?b.attr("name"):c.attr("name"),value:b.val()?b.val():c.val()}:{valid:d}},a.fn.visualCaptcha=function(c){var l;return l=a.extend({imgPath:"/",language:d,captcha:{request:e}},c),this.addClass("visualCaptcha").on("click",".visualCaptcha-accessibility-button",h).on("click",".visualCaptcha-refresh-button",j).on("click",".visualCaptcha-possibilities a",i),this.each(function(){var c,d,e=a(this);d=a.extend(l.captcha,{_loading:f.bind(null,l,e),_loaded:g.bind(null,l,e)}),"undefined"!=typeof e.data("namespace")&&(d.namespace=e.data("namespace")),c=b(d),c.getCaptchaData=k.bind(null,e),e.data("captcha",c)})}}),d("jquery",function(){return a}),c("visualcaptcha.jquery")}),function(){var a=[].slice;!function(b,c){"use strict";var d;return d=function(){function a(a,c){null==c&&(c={}),this.$element=b(a),this.options=b.extend({},b.fn.bootstrapSwitch.defaults,{state:this.$element.is(":checked"),size:this.$element.data("size"),animate:this.$element.data("animate"),disabled:this.$element.is(":disabled"),readonly:this.$element.is("[readonly]"),indeterminate:this.$element.data("indeterminate"),inverse:this.$element.data("inverse"),radioAllOff:this.$element.data("radio-all-off"),onColor:this.$element.data("on-color"),offColor:this.$element.data("off-color"),onText:this.$element.data("on-text"),offText:this.$element.data("off-text"),labelText:this.$element.data("label-text"),handleWidth:this.$element.data("handle-width"),labelWidth:this.$element.data("label-width"),baseClass:this.$element.data("base-class"),wrapperClass:this.$element.data("wrapper-class")},c),this.prevOptions={},this.$wrapper=b("<div>",{"class":function(a){return function(){var b;return b=[""+a.options.baseClass].concat(a._getClasses(a.options.wrapperClass)),b.push(a.options.state?a.options.baseClass+"-on":a.options.baseClass+"-off"),null!=a.options.size&&b.push(a.options.baseClass+"-"+a.options.size),a.options.disabled&&b.push(a.options.baseClass+"-disabled"),a.options.readonly&&b.push(a.options.baseClass+"-readonly"),a.options.indeterminate&&b.push(a.options.baseClass+"-indeterminate"),a.options.inverse&&b.push(a.options.baseClass+"-inverse"),a.$element.attr("id")&&b.push(a.options.baseClass+"-id-"+a.$element.attr("id")),b.join(" ")}}(this)()}),this.$container=b("<div>",{"class":this.options.baseClass+"-container"}),this.$on=b("<span>",{html:this.options.onText,"class":this.options.baseClass+"-handle-on "+this.options.baseClass+"-"+this.options.onColor}),this.$off=b("<span>",{html:this.options.offText,"class":this.options.baseClass+"-handle-off "+this.options.baseClass+"-"+this.options.offColor}),this.$label=b("<span>",{html:this.options.labelText,"class":this.options.baseClass+"-label"}),this.$element.on("init.bootstrapSwitch",function(b){return function(){return b.options.onInit.apply(a,arguments)}}(this)),this.$element.on("switchChange.bootstrapSwitch",function(c){return function(d){return!1===c.options.onSwitchChange.apply(a,arguments)?c.$element.is(":radio")?b("[name='"+c.$element.attr("name")+"']").trigger("previousState.bootstrapSwitch",!0):c.$element.trigger("previousState.bootstrapSwitch",!0):void 0}}(this)),this.$container=this.$element.wrap(this.$container).parent(),this.$wrapper=this.$container.wrap(this.$wrapper).parent(),this.$element.before(this.options.inverse?this.$off:this.$on).before(this.$label).before(this.options.inverse?this.$on:this.$off),this.options.indeterminate&&this.$element.prop("indeterminate",!0),this._init(),this._elementHandlers(),this._handleHandlers(),this._labelHandlers(),this._formHandler(),this._externalLabelHandler(),this.$element.trigger("init.bootstrapSwitch",this.options.state)}return a.prototype._constructor=a,a.prototype.setPrevOptions=function(){return this.prevOptions=b.extend(!0,{},this.options)},a.prototype.state=function(a,c){return"undefined"==typeof a?this.options.state:this.options.disabled||this.options.readonly?this.$element:this.options.state&&!this.options.radioAllOff&&this.$element.is(":radio")?this.$element:(this.$element.is(":radio")?b("[name='"+this.$element.attr("name")+"']").trigger("setPreviousOptions.bootstrapSwitch"):this.$element.trigger("setPreviousOptions.bootstrapSwitch"),this.options.indeterminate&&this.indeterminate(!1),a=!!a,this.$element.prop("checked",a).trigger("change.bootstrapSwitch",c),this.$element)},a.prototype.toggleState=function(a){return this.options.disabled||this.options.readonly?this.$element:this.options.indeterminate?(this.indeterminate(!1),this.state(!0)):this.$element.prop("checked",!this.options.state).trigger("change.bootstrapSwitch",a)},a.prototype.size=function(a){return"undefined"==typeof a?this.options.size:(null!=this.options.size&&this.$wrapper.removeClass(this.options.baseClass+"-"+this.options.size),a&&this.$wrapper.addClass(this.options.baseClass+"-"+a),this._width(),this._containerPosition(),this.options.size=a,this.$element)},a.prototype.animate=function(a){return"undefined"==typeof a?this.options.animate:(a=!!a,a===this.options.animate?this.$element:this.toggleAnimate())},a.prototype.toggleAnimate=function(){return this.options.animate=!this.options.animate,this.$wrapper.toggleClass(this.options.baseClass+"-animate"),this.$element},a.prototype.disabled=function(a){return"undefined"==typeof a?this.options.disabled:(a=!!a,a===this.options.disabled?this.$element:this.toggleDisabled())},a.prototype.toggleDisabled=function(){return this.options.disabled=!this.options.disabled,this.$element.prop("disabled",this.options.disabled),this.$wrapper.toggleClass(this.options.baseClass+"-disabled"),this.$element},a.prototype.readonly=function(a){return"undefined"==typeof a?this.options.readonly:(a=!!a,a===this.options.readonly?this.$element:this.toggleReadonly())},a.prototype.toggleReadonly=function(){return this.options.readonly=!this.options.readonly,this.$element.prop("readonly",this.options.readonly),this.$wrapper.toggleClass(this.options.baseClass+"-readonly"),this.$element},a.prototype.indeterminate=function(a){return"undefined"==typeof a?this.options.indeterminate:(a=!!a,a===this.options.indeterminate?this.$element:this.toggleIndeterminate())},a.prototype.toggleIndeterminate=function(){return this.options.indeterminate=!this.options.indeterminate,this.$element.prop("indeterminate",this.options.indeterminate),this.$wrapper.toggleClass(this.options.baseClass+"-indeterminate"),this._containerPosition(),this.$element},a.prototype.inverse=function(a){return"undefined"==typeof a?this.options.inverse:(a=!!a,a===this.options.inverse?this.$element:this.toggleInverse())},a.prototype.toggleInverse=function(){var a,b;return this.$wrapper.toggleClass(this.options.baseClass+"-inverse"),b=this.$on.clone(!0),a=this.$off.clone(!0),this.$on.replaceWith(a),this.$off.replaceWith(b),this.$on=a,this.$off=b,this.options.inverse=!this.options.inverse,this.$element},a.prototype.onColor=function(a){var b;return b=this.options.onColor,"undefined"==typeof a?b:(null!=b&&this.$on.removeClass(this.options.baseClass+"-"+b),this.$on.addClass(this.options.baseClass+"-"+a),this.options.onColor=a,this.$element)},a.prototype.offColor=function(a){var b;return b=this.options.offColor,"undefined"==typeof a?b:(null!=b&&this.$off.removeClass(this.options.baseClass+"-"+b),this.$off.addClass(this.options.baseClass+"-"+a),this.options.offColor=a,this.$element)},a.prototype.onText=function(a){return"undefined"==typeof a?this.options.onText:(this.$on.html(a),this._width(),this._containerPosition(),this.options.onText=a,this.$element)},a.prototype.offText=function(a){return"undefined"==typeof a?this.options.offText:(this.$off.html(a),this._width(),this._containerPosition(),this.options.offText=a,this.$element)},a.prototype.labelText=function(a){return"undefined"==typeof a?this.options.labelText:(this.$label.html(a),this._width(),this.options.labelText=a,this.$element)},a.prototype.handleWidth=function(a){return"undefined"==typeof a?this.options.handleWidth:(this.options.handleWidth=a,this._width(),this._containerPosition(),this.$element)},a.prototype.labelWidth=function(a){return"undefined"==typeof a?this.options.labelWidth:(this.options.labelWidth=a,this._width(),this._containerPosition(),this.$element)},a.prototype.baseClass=function(a){return this.options.baseClass},a.prototype.wrapperClass=function(a){return"undefined"==typeof a?this.options.wrapperClass:(a||(a=b.fn.bootstrapSwitch.defaults.wrapperClass),this.$wrapper.removeClass(this._getClasses(this.options.wrapperClass).join(" ")),this.$wrapper.addClass(this._getClasses(a).join(" ")),this.options.wrapperClass=a,this.$element)},a.prototype.radioAllOff=function(a){return"undefined"==typeof a?this.options.radioAllOff:(a=!!a,a===this.options.radioAllOff?this.$element:(this.options.radioAllOff=a,this.$element))},a.prototype.onInit=function(a){return"undefined"==typeof a?this.options.onInit:(a||(a=b.fn.bootstrapSwitch.defaults.onInit),this.options.onInit=a,this.$element)},a.prototype.onSwitchChange=function(a){return"undefined"==typeof a?this.options.onSwitchChange:(a||(a=b.fn.bootstrapSwitch.defaults.onSwitchChange),this.options.onSwitchChange=a,this.$element)},a.prototype.destroy=function(){var a;return a=this.$element.closest("form"),a.length&&a.off("reset.bootstrapSwitch").removeData("bootstrap-switch"),this.$container.children().not(this.$element).remove(),this.$element.unwrap().unwrap().off(".bootstrapSwitch").removeData("bootstrap-switch"),this.$element},a.prototype._width=function(){var a,b;return a=this.$on.add(this.$off),a.add(this.$label).css("width",""),b="auto"===this.options.handleWidth?Math.max(this.$on.width(),this.$off.width()):this.options.handleWidth,a.width(b),this.$label.width(function(a){return function(c,d){return"auto"!==a.options.labelWidth?a.options.labelWidth:b>d?b:d}}(this)),this._handleWidth=this.$on.outerWidth(),this._labelWidth=this.$label.outerWidth(),this.$container.width(2*this._handleWidth+this._labelWidth),this.$wrapper.width(this._handleWidth+this._labelWidth)},a.prototype._containerPosition=function(a,b){return null==a&&(a=this.options.state),this.$container.css("margin-left",function(b){return function(){var c;return c=[0,"-"+b._handleWidth+"px"],b.options.indeterminate?"-"+b._handleWidth/2+"px":a?b.options.inverse?c[1]:c[0]:b.options.inverse?c[0]:c[1]}}(this)),b?setTimeout(function(){return b()},50):void 0},a.prototype._init=function(){var a,b;return a=function(a){return function(){return a.setPrevOptions(),a._width(),a._containerPosition(null,function(){return a.options.animate?a.$wrapper.addClass(a.options.baseClass+"-animate"):void 0})}}(this),this.$wrapper.is(":visible")?a():b=c.setInterval(function(d){return function(){return d.$wrapper.is(":visible")?(a(),c.clearInterval(b)):void 0}}(this),50)},a.prototype._elementHandlers=function(){return this.$element.on({"setPreviousOptions.bootstrapSwitch":function(a){return function(b){return a.setPrevOptions()}}(this),"previousState.bootstrapSwitch":function(a){return function(b){return a.options=a.prevOptions,a.options.indeterminate&&a.$wrapper.addClass(a.options.baseClass+"-indeterminate"),a.$element.prop("checked",a.options.state).trigger("change.bootstrapSwitch",!0)}}(this),"change.bootstrapSwitch":function(a){return function(c,d){var e;return c.preventDefault(),c.stopImmediatePropagation(),e=a.$element.is(":checked"),a._containerPosition(e),e!==a.options.state?(a.options.state=e,a.$wrapper.toggleClass(a.options.baseClass+"-off").toggleClass(a.options.baseClass+"-on"),d?void 0:(a.$element.is(":radio")&&b("[name='"+a.$element.attr("name")+"']").not(a.$element).prop("checked",!1).trigger("change.bootstrapSwitch",!0),a.$element.trigger("switchChange.bootstrapSwitch",[e]))):void 0}}(this),"focus.bootstrapSwitch":function(a){return function(b){return b.preventDefault(),a.$wrapper.addClass(a.options.baseClass+"-focused")}}(this),"blur.bootstrapSwitch":function(a){return function(b){return b.preventDefault(),a.$wrapper.removeClass(a.options.baseClass+"-focused")}}(this),"keydown.bootstrapSwitch":function(a){return function(b){if(b.which&&!a.options.disabled&&!a.options.readonly)switch(b.which){case 37:return b.preventDefault(),b.stopImmediatePropagation(),a.state(!1);case 39:return b.preventDefault(),b.stopImmediatePropagation(),a.state(!0)}}}(this)})},a.prototype._handleHandlers=function(){return this.$on.on("click.bootstrapSwitch",function(a){return function(b){return b.preventDefault(),b.stopPropagation(),a.state(!1),a.$element.trigger("focus.bootstrapSwitch")}}(this)),this.$off.on("click.bootstrapSwitch",function(a){return function(b){return b.preventDefault(),b.stopPropagation(),a.state(!0),a.$element.trigger("focus.bootstrapSwitch")}}(this))},a.prototype._labelHandlers=function(){return this.$label.on({click:function(a){return a.stopPropagation()},"mousedown.bootstrapSwitch touchstart.bootstrapSwitch":function(a){return function(b){return a._dragStart||a.options.disabled||a.options.readonly?void 0:(b.preventDefault(),b.stopPropagation(),a._dragStart=(b.pageX||b.originalEvent.touches[0].pageX)-parseInt(a.$container.css("margin-left"),10),a.options.animate&&a.$wrapper.removeClass(a.options.baseClass+"-animate"),a.$element.trigger("focus.bootstrapSwitch"))}}(this),"mousemove.bootstrapSwitch touchmove.bootstrapSwitch":function(a){return function(b){var c;if(null!=a._dragStart&&(b.preventDefault(),c=(b.pageX||b.originalEvent.touches[0].pageX)-a._dragStart,!(c<-a._handleWidth||c>0)))return a._dragEnd=c,a.$container.css("margin-left",a._dragEnd+"px")}}(this),"mouseup.bootstrapSwitch touchend.bootstrapSwitch":function(a){return function(b){var c;if(a._dragStart)return b.preventDefault(),a.options.animate&&a.$wrapper.addClass(a.options.baseClass+"-animate"),a._dragEnd?(c=a._dragEnd>-(a._handleWidth/2),a._dragEnd=!1,a.state(a.options.inverse?!c:c)):a.state(!a.options.state),a._dragStart=!1}}(this),"mouseleave.bootstrapSwitch":function(a){return function(b){return a.$label.trigger("mouseup.bootstrapSwitch")}}(this)})},a.prototype._externalLabelHandler=function(){var a;return a=this.$element.closest("label"),a.on("click",function(b){return function(c){return c.preventDefault(),c.stopImmediatePropagation(),c.target===a[0]?b.toggleState():void 0}}(this))},a.prototype._formHandler=function(){var a;return a=this.$element.closest("form"),a.data("bootstrap-switch")?void 0:a.on("reset.bootstrapSwitch",function(){return c.setTimeout(function(){return a.find("input").filter(function(){return b(this).data("bootstrap-switch")}).each(function(){return b(this).bootstrapSwitch("state",this.checked)})},1)}).data("bootstrap-switch",!0)},a.prototype._getClasses=function(a){var c,d,e,f;if(!b.isArray(a))return[this.options.baseClass+"-"+a];for(d=[],e=0,f=a.length;f>e;e++)c=a[e],d.push(this.options.baseClass+"-"+c);return d},a}(),b.fn.bootstrapSwitch=function(){var c,e,f;return e=arguments[0],c=2<=arguments.length?a.call(arguments,1):[],f=this,this.each(function(){var a,g;return a=b(this),g=a.data("bootstrap-switch"),g||a.data("bootstrap-switch",g=new d(this,e)),"string"==typeof e?f=g[e].apply(g,c):void 0}),f},b.fn.bootstrapSwitch.Constructor=d,b.fn.bootstrapSwitch.defaults={state:!0,size:null,animate:!0,disabled:!1,readonly:!1,indeterminate:!1,inverse:!1,radioAllOff:!1,onColor:"primary",offColor:"default",onText:"ON",offText:"OFF",labelText:"&nbsp;",handleWidth:"auto",labelWidth:"auto",baseClass:"bootstrap-switch",wrapperClass:"wrapper",onInit:function(){},onSwitchChange:function(){}}}(window.jQuery,window)}.call(this),function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.defaults,d)};b.defaults={transition_delay:300,refresh_speed:50,display_text:"none",use_percentage:!0,percent_format:function(a){return a+"%"},amount_format:function(a,b,c){return a+" / "+b},update:a.noop,done:a.noop,fail:a.noop},b.prototype.transition=function(){var c=this.$element,d=c.parent(),e=this.$back_text,f=this.$front_text,g=this.options,h=parseInt(c.attr("data-transitiongoal")),i=parseInt(c.attr("aria-valuemin"))||0,j=parseInt(c.attr("aria-valuemax"))||100,k=d.hasClass("vertical"),l=g.update&&"function"==typeof g.update?g.update:b.defaults.update,m=g.done&&"function"==typeof g.done?g.done:b.defaults.done,n=g.fail&&"function"==typeof g.fail?g.fail:b.defaults.fail;if(isNaN(h))return void n("data-transitiongoal not set");var o=Math.round(100*(h-i)/(j-i));if("center"===g.display_text&&!e&&!f){this.$back_text=e=a("<span>").addClass("progressbar-back-text").prependTo(d),this.$front_text=f=a("<span>").addClass("progressbar-front-text").prependTo(c);var p;k?(p=d.css("height"),e.css({height:p,"line-height":p}),f.css({height:p,"line-height":p}),a(window).resize(function(){p=d.css("height"),e.css({height:p,"line-height":p}),f.css({height:p,"line-height":p})})):(p=d.css("width"),f.css({width:p}),a(window).resize(function(){p=d.css("width"),f.css({width:p})}))}setTimeout(function(){var a,b,n,p,q;k?c.css("height",o+"%"):c.css("width",o+"%");var r=setInterval(function(){k?(n=c.height(),p=d.height()):(n=c.width(),p=d.width()),a=Math.round(100*n/p),b=Math.round(i+n/p*(j-i)),a>=o&&(a=o,b=h,m(c),clearInterval(r)),"none"!==g.display_text&&(q=g.use_percentage?g.percent_format(a):g.amount_format(b,j,i),"fill"===g.display_text?c.text(q):"center"===g.display_text&&(e.text(q),f.text(q))),c.attr("aria-valuenow",b),l(a,c)},g.refresh_speed)},g.transition_delay)};var c=a.fn.progressbar;a.fn.progressbar=function(c){return this.each(function(){var d=a(this),e=d.data("bs.progressbar"),f="object"==typeof c&&c;e&&f&&a.extend(e.options,f),e||d.data("bs.progressbar",e=new b(this,f)),e.transition()})},a.fn.progressbar.Constructor=b,a.fn.progressbar.noConflict=function(){return a.fn.progressbar=c,this}}(window.jQuery),function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a,b){function c(c,d){c=a(c);var f=c.is("body"),g=c.data("LoadingOverlayCount");if(g===b&&(g=0),0===g){var h=a("<div>",{"class":"loadingoverlay",css:{"background-color":d.color,position:"relative",display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}});if(d.zIndex!==b&&h.css("z-index",d.zIndex),d.image&&h.css({"background-image":"url("+d.image+")","background-position":d.imagePosition,"background-repeat":"no-repeat"}),d.fontawesome&&a("<div>",{"class":"loadingoverlay_fontawesome "+d.fontawesome}).appendTo(h),d.custom&&a(d.custom).appendTo(h),f?h.css({position:"fixed",top:0,left:0,width:"100%",height:"100%"}):h.css("position","fixed"===c.css("position")?"fixed":"absolute"),e(c,h,d,f),d.resizeInterval>0){var i=setInterval(function(){e(c,h,d,f)},d.resizeInterval);c.data("LoadingOverlayResizeIntervalId",i)}d.fade?d.fade===!0?d.fade=[400,200]:("string"==typeof d.fade||"number"==typeof d.fade)&&(d.fade=[d.fade,d.fade]):d.fade=[0,0],c.data({LoadingOverlay:h,LoadingOverlayFadeOutDuration:d.fade[1]}),h.hide().appendTo("body").fadeIn(d.fade[0])}g++,c.data("LoadingOverlayCount",g)}function d(c,d){c=a(c);var e=c.data("LoadingOverlayCount");if(e!==b)if(e--,d||0>=e){var f=c.data("LoadingOverlayResizeIntervalId");f&&clearInterval(f),c.data("LoadingOverlay").fadeOut(c.data("LoadingOverlayFadeOutDuration"),function(){a(this).remove()}),c.removeData(["LoadingOverlay","LoadingOverlayCount","LoadingOverlayFadeOutDuration","LoadingOverlayResizeIntervalId"])}else c.data("LoadingOverlayCount",e)}function e(b,c,d,e){if(!e){var f="fixed"===b.css("position")?b.position():b.offset();c.css({top:f.top+parseInt(b.css("border-top-width"),10),left:f.left+parseInt(b.css("border-left-width"),10),width:b.innerWidth(),height:b.innerHeight()})}var g=e?a(window):b,h="auto";d.size&&"auto"!=d.size&&(h=Math.min(g.innerWidth(),g.innerHeight())*parseFloat(d.size)/100,d.maxSize&&h>parseInt(d.maxSize,10)&&(h=parseInt(d.maxSize,10)+"px"),d.minSize&&h<parseInt(d.minSize,10)&&(h=parseInt(d.minSize,10)+"px")),c.css("background-size",h),c.children(".loadingoverlay_fontawesome").css("font-size",h)}var f={color:"rgba(255, 255, 255, 0.8)",custom:"",fade:!0,fontawesome:"",image:"data:image/gif;base64,R0lGODlhZABkAKUAADQyNJyanGRmZMzOzExOTLS2tISChOzq7ERCRKyqrHR2dNze3FxaXMTCxIyOjPT29Dw6PKSipGxubNTW1FRWVLy+vIyKjPTy9ExKTLSytHx+fOTm5GRiZMzKzJSWlPz+/DQ2NJyenGxqbNTS1FRSVLy6vISGhOzu7ERGRKyurHx6fOTi5FxeXMTGxJSSlPz6/Dw+PKSmpHRydNza3P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJBQA0ACwAAAAAZABkAAAG/kCacEgsGo/IJO1SEEBAosJFSa1ar9jswQQBeAEgyyFLLpvNL893DXC9zvC4XDggsb+EwXzPtyZAd14gCX2FhkQRgIEAIYeOSAMWIgoxY1UpioEpj5xCFx6ZACQVH1QjFIt5nY8PIV1sKCtUaYsOpVcfb6tWM6iBJlUnJqEAJidYKxYaFbq7SSXEXxQPVQ8VEjBQFVNXDypeKCPOSR8ZiwAox50rLF8Z40kV0V7Tqw8WXgQT8EgzDIvAdm1I4WFAM35EPqSAcYeAul25ECZ5EYPAGgH7JGo08mFACAcOChy4tbHkkA8PDppcybKly5cwY8rc8+HEiBYDRs509qKF/goCCAhIaEBy56MBFtcQaGCU04ukbFgsaErlQAQFETZgGbAIRAmqEx0oskDNirlFMcAieWDHCwtZVkqce6fWyAMBXyQ8pHKCYcOMdROOEIBBQIssAQI5KBs44YEWcLGcELvGWONCHyZ40OBhQtHLoEOLHk26tOnTqFOrXs26tevXEj+0MCFDBTPYSi64QPAFhgFLrl8c2HCC5IsUvNeAiMB49YsCFBCwICrkgIRABICvboEBz1QaC7oHmuEa1JdBQhZAZfOdtXlBdE8oCERBa+tTX94KeZ58TYjPqfWkAAsaiDPEcX6B4UFzrV1wAoNCbBCCCSG0h9uFGGao4YYc/nbo4YcghijiiCW9sMEMG6i04QsjKKCICICJ9sACE6wAoRILcMAGBRZe9kIIDKDAQALcWBGCYgDWVcIrACBQQpJHtHOHAHs1dt0aGhRJhZRR2QeaCGwooKUSBgSiwY1qRcBGDCpCkqAgh4l2wpUAKOBlFS9UQIEiBFRQ2gsDFKAHGR8skEAIKSwAJYmMNuroo5BGSkSbHa6wmQEljNnJBzOMUGVJMxCgCAwWfOrIARpggAIFBSw6zgl4sZGAq3uc8M0ag5bUAApT0jrHAG8CoMFKBfQnDZp9tDDlSh3wyoYEvsoxgrNfOLDSA2Uq5ycuKzQAGaVHnOBCJrGwtEKsUwDAEAOyRbyQgQAoIMBBAeAasUEMArBgQq4rndCCB4myWwSwa8DAbzXDPRBtU/M9++E/O35I5xcCfNgAMdt2+EACe4JAAZsgvrBABRUsUK+knAQBACH5BAkFADQALAAAAABkAGQAAAb+QJpwSCwaj8gk7bNKaVSx2UtJrVqv2CytwgJ4AZTCVEsum7ED0veLaJzfcPhDsV4LTvG83jpR170oLXuDhEQdBH9eMBVXHwcHF4VnLwMJGQtXfYkAKB1VlBoMFAIekZJYLxMUXiAQBitVc5sseEovATB1LBMfp1Yjq3UyD1UtKH8gBVUNIIkSsL5KDxabjFQfBYhfMCljSQ8Cm8m90UgzXYkaVi8LMSoKIVJVExibACbE5Ucj2n8CvsbsScinr8gCBpvUnaJnTwPBgkMeGNhUwtcDdIlSkINI5NyfgdE6NPt4gOORCQJycbKwodyHEMfszDCJ5ESDFClGPLTYwgT+i1EhWtIcKu3AhhMbiSpdyrSp06dQoya5sOKEN6kcTyRQIEBGgFpYC14woRIACAklw+oLkMjATrVJUhWQ16jfGgoT4Fb50AIRCmtWLoysE0gvlRfUvGi4agtCok6GbYX44iApFTr+hEau6YKFAc1WOsT8Mm6zLataXlQIZrYEY9N6PjwYkKLFBcuwc+vezbu379/AgwsfTry48ePIk1950CFFA1PKr6GEQJ1ChdfIcS/gUAdDC9zFHzTI0ILgiwiDv6iAjjxFLgQJhpzQkIhAWuQXEHohkO8C/T8UgGbcA/qBkc956SnG3nHuAcANESuEs0Yg4BH3QgsFlEfEBzP+CNAMCAR8F91eM1QwwVsjpqjiiiy26OKLMMYo44w01gjXBy/kWCGLFxQgAgEsxADWbw9AosUDISCwhgUowvbBBBYoYMEA2CExgZJrwFCRb/l9wcJMV0SQiAm/ZVBHDDsWMdkfGqRpWAJ1hFClEQ0kEsJvE5S1CBYbSFAHAQLq9kIMx4AQQ5NIrKABCiDAIAAmwX1wVBkPTFBBBwvaqOmmnHbq6aegKiHpADrR+EIIBCCAggILuKnHCw1IwIADgQ71QQx1iABNNC806AUFmdJ0QoFfaFTOASLUkUJTE9jlRWXlLMDas01tQKwXIbgKxwEy1KFMUx78mRcWJ0wwwgFZ2grxQQn9CIBoVgqMRIAYjUxgAAkkKNDBnEY80JMGMdRK1AW0FbABv0WcgBEABOy63APpGlbAHx7IKGYdZMZY55kynuDnFwHOeIAHLLDgAKQzvnDCwaEqFQQAIfkECQUANAAsAAAAAGQAZAAABv5AmnBILBqPyKTwMqtUZheldEqtWq/ClQMDAMBMC6x4TMZeZKCuWnAou9/wGERN93zg+Dz1JaHTWSd6goNEJwJ+ahQrhIxJLxuBVQ8iiF0sG1QPJSYqHhONZh4YIBAsJQ9UEWmIJlQTHH4BkaBSJxZ+MCl3tYd+BItSGwyIICGotEoFMIgos0ozGnQCA1QhlQAUn8hIDwbXBVUnAyEhLSe7Si8s1wAF6NuFMtceoBcE7DEv8EYP0ZUpoD6s+7bPyIcEq+iAaAPKwzUUIwry8+ZHF60TFCqF0CexyAMHLFCgkFDhGK0BAhKC8BClo8EFA0Y4o/VhRQoLCjw04Oiy5/6RDw8u8PRJtKjRo0iTKh304cWDB++W7jtQwoUBFyU2RFXyYUIICwFabJX6TMGyLiAUaJvyogSFOQBQxCBb5YCChGpYmFQyAAGuDHSlvFA1j8otRApaBj5yQt41FoqTwELEIsziIxsGVvo1hRJlTJeNHNCMiABoJTHwdnEwNPQSE+wktD5yoA8dCpZdE/nQAsW1FlRqmlglIbduIg9CqAbA2grQE0+PI+FNAQYIGCwK7JWe58GEFiMicx9Pvrz58+jTq1/Pvr379/B9PtoeX8oFUTAQmFgxtj6RC7BJA4x/MPFHRAtcKJTAbO3NwAEGHMwwxAcxVKIBfe05oIYDRP5UiMiF/mm42oEJ0pECg+zNEJIAEg5xwWFrnFZfgVFdEAMB1zmglX/BncPjj0AGKeSQRBZp5JFIJqnkktx90B+RLyxQQAAVGHjkCw0M0wWL6b2wQgvGUZGZH7KdxxsLBHDQwBUNIALDWuRNEqMVKbgJnHkPZGRJmHyphsKA5L0QQBogOIAhEhf4syGKx52QggYxiDfFfQSgQIAHhwr5wQIj7Mjkp6CGKuqopJZqxQMrMKRkBwJggIEBgNLkaAAdZCrRAmd1IYGqtKiIlgtIueAHCHfS8oIHKvHqk2N0ZPBkHon6USxRDilEDTLJKTRTTyvco4YG23J1gY9XLHCXF08hJNWCCRRQ4IGMU5yQgAIyhKDsFDal0IKtEn1wwQYb8OtRAHCBYICkQq6QaxfXGjkDIhUguYFvaoDAp5AvxHDWSgL790IFJmignakk7xMEACH5BAkFADQALAAAAABkAGQAAAb+QJpwSCwaj8ik8HVaLU4vpXRKrVqvy4KKRFBkHtiweBxOoABoACxEbrvftMU5jYaN4Pj8NAKipy16gYJDJn5pEoOJeR6GaBpWJy0VM1GKVi8jFiwCMRsfVCMIhiANVCcBcyAsE5WWSh8Vc2giM1UOfXQarUkvFrhpJAOuUjMMhrpUFzEUaCghB1QTv7kXw0kxEKMnVS8bCxMbYFQBjQAEE9ZIjI3oihrlMB3pRzHTaduKDuUEd/NFEwQMsfikaEA5Afj8DfmQIVuac65evPODooXCIxUUsGDhYIG1Aw5kUahwEcmDDQd2uXowIEaMAh5LypxJs6bNmzhz6tzJM8/+hwUNSlRYoHLKiwElOlTrWeVBBhYw1LCIsZTKCg0EYKAQsYLplA8JRNGBwIbKAQl+KGzwqqRDwEbCpjQYFYEtkhchygFwQCXvMYJ2iVwoVA7RnkaPAhd5oK9wtKh0QJBUTORDCntp6k55EAIyGhPiKA9ZIaARCmjJCghAMTWhaCEfOshCA2FylQ8vHrwA/HrhBhMEUBDQsIB3bzgXNrg+zry58+fQo0ufTr269evYsy+ZUCJBgRnGtRtRxgAGBBgMElR90cGABBNEs58wYA+EhW0vEnjGUKGo9AKYAQBCATRMwAwdAqx1XWnliEBDBvbAYJF1L4jVCAw0pOBQGhL+XveCZ4ZgOAAJfrAQk3UMNiIADZz9AkIG/kWXgl4pCPFABQIQIMEAoVl3ggKNKLCceENsYIEsCDigIJFHsBSDByEMEB6TVFZp5ZVYZqnlllx26eWXrlwwQQcjDHnlBi6cAYMGSzrHxJRK4LUhACZAB5IA911xQIrNtNkbXn2A4AKcR6xwIIe1NNdLGirEeMQFKqTVY2+wqEmgFZWmAcKEzj0wQgEjTErFAhpQoICUYKaq6qqsturqq7CyekIMMijQgqOC4KYbTi/IkAYEMeCax1EahWDmRQbRwUJXwyzAILA3zUgHDO240gIGh9zUQYknWrIAC2mUVdMLaKEBQgpXwuLxQQkicHTsRRuEoIAGBVRFxQcTRBDCCOka0YSoND1wwgWEHhEbBRCAQEADBYt3QrloMPAukQccqgZqWV7gaxosTCzewSAoXEHDRC6QQAzFxaqyJUEAACH5BAkFADQALAAAAABkAGQAAAb+QJpwSCwaj8jk8HW5vJTQqHRKrQ4/q5jBEFt8rOCwGDzjgAAAEGsybrvftJcETQdwHvC8PjqA1dEgLXuDhEMlZ38gKYWMeg0Qf2gFVl+NYActIQkzeFInFJEoJ1IvAyowICQhF5ZTKxKIKKtTJSh1IJNRHw0EfxajrUovGn8wJZVQLxUKKCgKFZ1QD6CJGcFKAxiREk9SHxcbGyfIUB2RaAqs10cFCJEE3Ywp5wACG+tHLbZ/LPGFDfQkAMNH5AKHSCHIETrhJ5IHfwSFzOhFx8RARh8yNKQj4GLEIQs8KNBQIJqlBxkEwIBBQMW9jzCPfNjQocIEkzFz6tzJs6f+z59AgwodKuXBggkrcE45sAAiUSgzTHCgwMHCBIVKTgSgQIJDCqxPjUxg8YfBjCkXVPyJADaskAMizlFwemQAIjoEDrhF0mBfpAFS5hUDvNeI4HMxpBSIBINN4SIZ6AHIBWUFRTrcHhcZcPnPAlIFLlNwrHnIAwvnNFB5MSGEgxReShfZoOCPgBWUPrQt/SCFAgoSSsoeTry48ePIkytfzry58+fQoxN8sWDECrrSxWpgQIKFhs8FWySoMC76iwLa6pCoUIk2xxHRZ6T/QwH3C9R1FHhcHkFyAhorHFQHAfA9Vxs9qi1A1oCEOSeDZKo9YIJtej3ngWQhSLQgACj+tLDbcX2c05gQM8VgggcbYJfcCyHcBUgKKkp3ngAowIACBxXEmB0NGwxQwQD77SjkkEQWaeSRSCap5JJMjvHCDAM0teQHHQhAAAoYSNCCjkV8cMAKG3zo1gMxQLKWmEtUIAMLEmTAJVEdzFcHBA2WcxkMHRB3AX6poXnaHxIQt8GGkVBQoRIXEFMHC4JScw4BLwkTwh8OEAeXZBQodcQCAuAVaWksSlbpFA8U8FqQj73yqKY7jjBHHQKQduQGKWgggQYphDnlAxc8gGaTwAYr7LDEXkNdASVc8KseH7yJTwJmroHPASkEMICzrVzgFwAOsDrICw6gQYKsOS3wh35d16ywoTU8XWAmGiZ4u8cDagEAQ4E8hdAQC3W2soIJCpQgL0EXVOBBCFeB8QK2XQ4Mk25goMQCC24y2YI7HAqi5AcJ1JHAstA10BAMGiv5QAIEUJCAw0I2W+zLOgUBACH5BAkFADQALAAAAABkAGQAAAb+QJpwSCwaj8ikcslsOp/Q5WOQSAwe0ax2q724SAAQyYPlms9oWggEaIdj6bi8+cC43YTyfM+nLWB3bRAbfYVyB4CBMCeGjUMXAxUtBy9PKoEAGk4fBykqEh4TH45NByqJAh2VTQssdyyErDJsbSgNo6RJLw6BHCubCyEaGjELuEsvFrRuDAu5SQtggQXHTB8XJ9VLF4l3IHDPRx0omCHaewuYbQ7hRxvSdxWOJ8t3Ie1Gu4Gwjh8imDAG4DPywAQMEDAkiCI1gUKgGOcGflhRYYKefhNMUKAgIcXAj0pebFhwISLIkyhTqlzJsqXLlzBjSrlwUaajBxkMqDBQ4UL+lA0BNIQ4YJOOgW4IPPhs8qEFATcIJhQN6aBem3tNTly6I2HVVCMzXGEiYLLICjt3UBD9aqQFWkyMmKx4mjYuWyId6GKqieSBhUCa7hbZ8A8TiyczFNCS8EswkQ8prIKQt2lDixgtNpT9+iDGMhAp+FpznOTDhhgOUmQjzbq169ewY8ueTbu27du4c+vG9+KE193bEkgQoCDFbxovDmygtPvDBAnLIGhYS6OzHRQR7N4+IUOdgzIlusHwmLuD1TYEnL3Y6kbB0tsR1LXpgFxBIAnaaweQD4CyZ3vH0VaBfDBIRcMJVbVhQiy4bSBWIO4N8cAMFYlGW1N6tcHCDMD+KTGDRgRQ4ACDHSaxwgQHbFbiiiy26OKLMMYo44w01mgjEheEIAAFAiSQXxMvPBCgYx8M4NArBjoRjAUhzKCiTSsUFogAFhqxwixtCPCeYy8kcF4bLTAV2R0FtHaBAfyZAGR8d0TQmlb8KeBEBQjcIRBrD/AinwdOeEELGa19UEE3gYwAxQYVaPbaAy6cxyeMJ3hATi1KyThFAh6kYFGNHzx546egXvjAAQesZmkHDgyngY8xfhBBhiAY0FhKQb7gKRoNQKCOCVt+dEAIDCgwwK1cXPCgIregFAEtAsxayACTquPBkOF0Vwt9jRRQp3wmVJmLB26w4EwjLWzrHbVTz2xgAgsCVEDsFiccG4i7KT2wAHWOpCCfBCSyNoMLHoxLhwljLeRaK1n2q8QDFQhAAAoiesvWOOgZCsUDG8xQkmwIA9AsjR+MoIEJBodq8skDBQEAIfkECQUANAAsAAAAAGQAZAAABv5AmnBILBqPyKRyyWw6n9Dla1IqLV7RrHarfUQoMASrhOWaz2haAQJoA2CTtHzuZLndGrp+X8Tc2wJ8gnoCfwB5g4lDHxcbB2VOFWxuMAtPDxMpEQMnik8NKhwiKReXKSwwMAIVkEsXAShtICoHnkwTfm0wEQ9PLwstLRutSh8ZMH8mxLZFGn8EM4oPhX8o0cxHL3Z/A4ovsX8wDdhHHzLhcYkvFIYoI+RHDX8KnYkfAYYCvfBFHykEMFBo2GDrgAYQbggQ5HfkxABL2E4U0KDAw0KGGDNq3Mixo8ePIEOKHEmypMkPExIESLEiy4cBBWYsM3mkAAEIICBwaPHhyf6Kc20UlKKZpASyOyjSMXkRAKGbFESRXFBgCIADJyck/JER9ciCbX8CNTlB9Q6irkRWUAvr5MUxNyBaoC3ywETVGE9OhABDIcbMriMI/GFxscmDBRNW7JtL5MMIsBJm9GQ85/CEYZQza97MubPnz6BDix5NurTp06gZTghgIUZhIYxODD19wgUCWRgKtBqggoWKAZNJvwgxyQ0GnkJWsGvD4hrpDSSqahgaozgIvKVHVAVAYWEIpwBAhDDdYTsFiCNyAXBnegG4PxLqvSjAAAYFVqYfuDAEokLwDydscEJwpa2gAHggBLBYakY8UIACAmggF4MUVmjhhRhmqOGGHP526OGHIG7xwgABmBDBCgReeIBdlHgwmxMrDHBAinNdYAF4skQARQMCECCBUpR1oB5SCyqhlhsy/EXTBzFsB0A3TczAgBssFNnVcE5WgJUBsoSg5EkZ4HgHkEtsEIICMdST2QzLPUMjgwW810ZSGn5QgQAogICCAgN8idoHBwzQwgRqhmjooYiW9sIDfqb2wQoFeOBBAu/U2YEAxZGQQaO2fPDCm3xsIFg1BYCKzQsteJBBoYJ8wGVVArSk0QC5BMCpGSdEVxUME2bUZBscsLrHDEP+UcJGLUyiTF4ZCIAAAjJU8CISom4X10YPZKCAA68pcUBZcFkwrREfqLAdC1QQYWtqgw6IGV4Efk5w1B9+BTmqIectYYycAHhgZVQROAlCAU2YKQALJkBJ2T0CJ3BhwNYSbGEL9z5DZmp1bRfAuqVtAK4bJoxL4QYpCBCQBNJqFAQAIfkECQUANAAsAAAAAGQAZAAABv5AmnBILBqPyKRyyWw6n1Dma3P6RK/YrHZhEYhCB614TB4eOCAAAGS6lN9wZ0RNBwzi+HxRU1cn9IB4Ln0AFYGHRS8XD1EzKHUUJ09TJSUDjIhOKxEaLgMvkxUCKCgKE1ZNLwUUajAumJlKDyJpABQtqE0fGy0Dkk8TJH0xsUsZfQq/gR8hhJHFSSZ9LCuILxaEBAvQSDF9EsqAH97TbtxGJwx0MCm5gQssfSnnSCsmBBK4sR8zIjAwKEKAokcQyYMBAza4K8iwocOHECNKnEixosWLGDPSu9ChxISBUR6E0dhkgQAMMEiYGOnkQgQYAAhkAEnSyAJhdZI5+VABwf66DTWPfPBQiw6IO6k89CkQ1MgDFYQAEEsVoI+hpkReQCU0z8kAdWoomMM6JEXRVtt2ttAgwcQpskROGKgDIgQsJydO3IUr5EAICigEFNjLV8yHDw8OF17MuLHjx5AjS55MubLly5gza05ysMGChZuHvKhAAQYEGAqqEXnQosCnyx8aYPjGkkYEnxhKXD6xlW4GVBcI0OFAU/KG2YRMYApOh0XxyBseJR8bAgIAGEwtn1AQNUauCyVitHge+UUJmHVYACWiOLMq4WoEfA595ESBFANA09/Pv7///wAGKOCABBZo4GMfXDBAATO8oN9mDxTgkxocjBfFCyeQ19QLGf5MSAcBE0CxggYCBBAOWSsIEJUGk0izxm+FNSBdHzA8aMQF3KnhgYYkVYAeIYQh8UEGMBHQgY0aDYBTHwRA8cAIDAYZFI5RheBfin208d8GDgjAggQpnMjfBwcsIOaBaKap5hgYHrCBlKGtEIIMLIjgCY9xKFhABi2cec4IEpxFQAJIlrGBBSRAAAIGMqRV0AqBEgLDCIc8IMNZAHCgGj0vmBUVABLgOcYxUZkgKiAX8PEpCuvpIcOnAmzKzQUifAoACkjpwUpUFIS4kapRoSCrQRMEoIABMSxwKg0SfKoeQZ1iSocAhT4Qg4cAkFBCoTQU8KkDcCJi0qctMEEkIWsYULrECSoyOQNDHyhJSAiFbsDBpxpwu0COaoDILSInOEABAQSokB8TFczYBwWOKvHBBDHE0EG43Hxwwga1LVHAj0yqG5qMn2qzn72fKrCsZOf2gYKv+z2QAHxhXdXfCxN4IIECMazwbyBBAAAh+QQJBQA0ACwAAAAAZABkAAAG/kCacEgsGo/IpHLJbDqf0Kh0Sq1CLxmNpfWyer/fiwkGAKBSXbB63RyAymXCgU2vFzNw+MbOp7fyADBzfYRhCm8AICFpTg8HGxcfhU8XLSkle1ArHgIKKSdPHwsuHCwmI5NOLiiBGitRLyegUAcKeRSDqUkLEHAgMZKFDYhwEbpKFYAmD4UfEYAAGsdJM4CLk8nW00gfJnACC6kbAnkoudtFDxUeFSfBzSsKKCgS4ej3ShsbzPj9/v8AAwocSLCgwYMIEyr092LFiFcLC71wQQEDhQCznhyIoCJBxohHXnjLY+LCkxMm3oCIwAhkkQms8oCY8WQCg2/8XBYpQQZQ/oUnKzjAUdBSp5AWPfO0CFWCBQoBE4wauSACEItzTEQN2PBO6pABLOBQaNHVqxVRBTwUWFDW7JcPbd3KnUu3rt27ePPq3cu3r9+/gAMXeXGgqGAiHzaYQACDRIqcQkR1gOh3BjlfASAP4IBBAOW9D0IQizOAiAE4AfxesAUIRAYiGuB4UM1a5ushI5x69hsaGoHSQ7Rmqhw2jwPIh2l8WKEBBogzyJMPcWRYuvXr2LNr3869u/fvgU+MqDAhevIHGRigQNC5Q1ydLy4cePA+5Mg8EBKYj/hhgoReCLjAVRMFQEOaWSPc5IsKHyFBlYFleLBfQg+c1loBTMxAAIQA/gjQYEQzFAeIAkxMsCGEAmAVkU0GSsDEARRwqMGHC50ggYEOMCEShynUh9AHMYwWSFRMnBAjNDOa9UIAMQFAQAM+EjGAAKO5ItcHLXhgQghshbJBASZo4EAFJmn3wQsPvBAleGy22WYs9G2njgcGOJDBgJMkNsAAK1S3zQkuIAAHBBIQSQgWIpBAAAcB+KnLAy70YlWZfDiTVCIWTDjJABhAGAMhKwgZSAn4vBADhwIQkgCEJqxpxwsecEgAIS5AqICmfZiKahMfHNBBBAlMEEkTpxpogqOFDNAkIJ8y0YJQZUCggT1LrHBpGSD8hM8FDohKAI0vHZmHBJQm8UEAWEIu488JDgDCACpL7AgNCCk08UAKR8IQQrn9DOCABBqUgKsQCygIjQKuCqFPwghNQAKKyO61gsEjMmyXvNBgaN0KIg41MF8DHBKtCcNZ98EJA6RA3seEBAEAIfkECQUANAAsAAAAAGQAZAAABv5AmnBILBqPyKRyyWw6n9CodEqtQj+TSGZl7Xq/rwIBAmGNvuj080QCuAGah3pOL67ebtapzp8fMHgKF32EYCkEICAUA1EfFycvhVEXK3tRLwMhMQsfUCcZKioRB5JOByYcEg2lNA8RMG4gGqxMDm8CXJIzbXgTtEoCbwSMkiMQeAAFv0kBIG4CpJILFMi+y0cbLhQKI52SD81vCt7XRi8PD+TfFQoSKZbl8fLz9PX29/j5+vv8/f7/AAMKpPJhgAEOFhZIeTCiwAw5A498SICHQAd1Sz5kgGURY0QaB3i9MQCPyQUFbzxE+khkAAJkLKI1eWHiTQqPEWegQCahJP6TFRoEeBjEksgLFXhAxFj55MUFpkWHLFDgDIUHn1GtnBjQYgLErGDDih1LtqzZs2jTql3Ltq1bGi86RNA0AupbIgc8IAKgKALWtweoIgNggmjaBx0EEBDRYmWEwW+UpX0RA5YbGAnkMIDsRoLaCZvxUJhBwxlnFGorHMMDowSN1ZAJpLb8pjUNFpwByFC7gAMyCgpT5K6gNgxtEAU6ndAA2cRXtC8mBNUwgNwJB3sBEAhh+K7RASliFJiA07v58+jTq1/Pvr379+wvbHie/sMMAxQIMHDw9+OHFwCWh0QBO4lGXlYHRMACARJU0J0SKwAymAQbRLUcHgjEQB8SHv5wBoFkLCUAmxsYKLTEC8FwphJLR0GWARMv+MaZAxsC9ABKg8XQBHOcxSBgPx90OBgxS7TAGQFnFLUAAcgo0J8RDpj2BggvZjUBCyiAgIIJFTpxQQgUmMZCAXaxdEEL4/14xAsLVFBACyuoCd+cdNZp551CzFBAAimMUGMfJ6xQZjkfFMDAaiRcJQkWLsjAgQYd0PNBCRJO6cKgagwQ2mUVyNnHBiJwZiIfD2wqzKjXdFDgYCEQsoCUtaUgj2ozEtIBZ63GM0ClyOjYxAMbzLDCAZgasQBkyMlzgAScdbnEBgGQkAgLCTyIxAfMwuTsNR+0sGpKcl6AFB4QBODEAFi41RbpPJgwGYtfTWQwohsooJrEBwt4wAIFDhxYzwMDvPmnER/gOFgE6D0QKmQeoPcBjzmm1wCs9G7r3QcO0AYADMSp90AGChBAgQaNsffCCRtscIKnhAQBACH5BAkFADQALAAAAABkAGQAAAb+QJpwSCwaj8ikcslsOp/QqHRKrUofL6t2yxVeQiRKKtstm5efAgwAQHTO8PjwFWGzM/K8+VOCsFFveoJbDzEULAVkUC+Kg08vH1SQUi8jMREtD45NDwUqDhubNC0sbBgJoksdCGwmjXknBnYAMK+pRDF2HCeOKwKzAKG3RwMEbB62cReydijJwy8dHgW8jh8DFGwgBcNJH5OiHycFBQuR3ejp6uvs7e7v8PHy7y8PFw/n84MfKykmMhYyCNOnZ4AAP9oUzCAIKxswAAoOMFxyIoGHFs+MfLDw0E6MfBOLzMBgR8JAJQcYdGSjoFrIIhpmgYiRccgMYytZnHxJ4wP+CWAmLjBZ4bCjgJ08f83yoGnJCwUrAThoynNIHzsEBjhpAaIjCq1VibyIIYCCAoxOPnjoOCZskQ8HFpwAyeRFBQEwYCAQMICuWy0PFgxYUfOv4cOIEytezLix48eQI0sOe2JAgwEuJyt50UAEARQkZKDVjITOmlkIEhRG/GJFAAspJAoZgMLrwsgfKuAEIGCFkABRQ0hewQGYgywyoiqQ3KL2LAESoa7UILmDczsCeOVamULyBgnAPES66dU37gGl2Gio9qLA9T8VVh+GWyAG5iITFFAgQEDDbdJK8DPBCn4BaOCBCCao4IIMNujggxBG6MgFJajAggbxLfZNgUr+LCACMAZk5tYHMyTgQAwLyEfDUw+BwNRhIxTFQAUc4tfVQxRMYNgFStnBgmxL1NERCBUYtspDLTQhZIvc/FXBabM0uUQDKwFi2AokyaQjEw/sNosEIvKkFjAaULVEMcBQsABiHxiCAgUehOnNCCbsR4EJSP11glxTBDbBBipKKOighBZqqBEXjFBBBwfUKIejt6ygHwIYSJDhIONooEEEeUbaIxsIFADpFgdocBoIDHS6yQsO3DgLAWbC8QFwwEgQayrfrbSlHC8UZQcGuw6zQHEdFZnHA1DaAUMD6RyQXEfBBnjBBgdcMKoQL6T36n/DtOmqj/I9UCEJDJjQgXxkH6TwLQAmXJtHqcCgkGQTGbyXlRMneAClBECmk69zCowg3wZessGCig9MEEMILciZzq1LqNviCAxGsC4AIDC7YAkXg7Dmghf4yoYE7kKGzSw6OfjCBCEooEEMG5QsmTgXBJpHEAAh+QQJBQA0ACwAAAAAZABkAAAG/kCacEgsGo/IpHLJbDqf0Kh0Sq1ar9is9TMwmUYfrXjcXHAAAMGKzG5+LpPNK9pBoAmjth55cbBIFAoND08rLGgCG3uLQlwMaJAgLoROMx4ea4yLGyKQngAFmjQfKxMXokofGRCfkCyniy8FAgwWiqhHDxatkCh5iwOPaDG4RxcKvGgwLYwVKJAaxUa6yQAwE4wLhwAgKdJFHwUgyQKUey8dEhQhsN9DJyrJzJofLw9h7kULyJ4wKfj5Ah6IoYAFCwcD5gRcSOPFiQMnzDGcSLGixYsYxdQDmBHVgxEFQmRI2FHUCRcEIBEI0K6kHgvjPEEIoNClkhcLKhyA0iIZ/ooKNpU8MDAORAiJSnYl81AzaJEGnjDMYyKhmgakToU4+ESsSbxkDrBmjeEJRKgmKar9y2rkwDYAGm4xuUCBVyK2Rj5YMpFiAZQBdT2RwIb3yAexTA6EYEGABbvCkCNLnky5suXLmDNr3sy5s+d8HzZMyPS5yQoLLBiwsEC6tOERb9EwGMCR84URFWaYO8Dvk4ATn1doQAPCA6UBrHgN8PzCRUxrJYQUqNaV84FOnqLRmJ7MW+cDVT2ZEDLBDi/CnD9EeA6jg5ALBngpaLn5RAgYAAisFbJCwfM0C9S22QsbbHBCU6OkoIAACiQAnGtMHCYghBRWaOGFGGao4YYc/nbo4YeofHBACgGkcMCEkaEoVATmcZMCYlmF1kACLez0RAb49RPdZDOIMA4EGrR2U2CfSGAjZC/0xo1xTWzwn0roFbZASp6wIJcSKyRDwHKRLfCMJxRcmcQDX35ipWQPnJEdfUl4wIsHKgbVQo750ebECSb8Z0KcTi3ggAIhiDlXARpIoEEBMFr4wAWJgujoo5BGKukSH5ywwAoIZvhBAjKwIIADM+DywAAVYDrRCwEkhwYLfjHywQgiIIAACi5kKo0zrShg6xjafBICn4t84AIvEDR6hSqtUHDkNy+YkMyybHzg5icoRPmNB09aY+wQb1ywq2FpfRLmQiMQCYkDZ8COskACBpiQwArp0rCAuQB4wJAsdAKggKBIzKAmNyLwe8QLDbylwYMLceGAABKkcEK8SqIxnhOhVVDABAhLdkC+ymzL2QwcWwNthReU2Uu8nE3rSXUZ9vElCkxyOGoMMQzg8aRtBAEAOw==",
13
imagePosition:"center center",maxSize:"100px",minSize:"20px",resizeInterval:50,size:"50%",zIndex:2147483647};a.LoadingOverlaySetup=function(b){a.extend(!0,f,b)},a.LoadingOverlay=function(b,e){switch(b.toLowerCase()){case"show":var g=a.extend(!0,{},f,e);c("body",g);break;case"hide":d("body",e)}},a.fn.LoadingOverlay=function(b,e){switch(b.toLowerCase()){case"show":var g=a.extend(!0,{},f,e);return this.each(function(){c(this,g)});case"hide":return this.each(function(){d(this,e)})}}}),function(a,b){a.fn.bootpag=function(b){function c(b,c){c=parseInt(c,10);var g,h=0==f.maxVisible?1:f.maxVisible,i=1==f.maxVisible?0:1,j=Math.floor((c-1)/h)*h,k=b.find("li");f.page=c=0>c?0:c>f.total?f.total:c,k.removeClass(f.activeClass),g=1>c-1?1:f.leaps&&c-1>=f.maxVisible?Math.floor((c-1)/h)*h:c-1,f.firstLastUse&&k.first().toggleClass(f.disabledClass,1===c);var l=k.first();f.firstLastUse&&(l=l.next()),l.toggleClass(f.disabledClass,1===c).attr("data-lp",g).find("a").attr("href",d(g));var i=1==f.maxVisible?0:1;g=c+1>f.total?f.total:f.leaps&&c+1<f.total-f.maxVisible?j+f.maxVisible+i:c+1;var m=k.last();f.firstLastUse&&(m=m.prev()),m.toggleClass(f.disabledClass,c===f.total).attr("data-lp",g).find("a").attr("href",d(g)),k.last().toggleClass(f.disabledClass,c===f.total);var n=k.filter("[data-lp="+c+"]"),o="."+[f.nextClass,f.prevClass,f.firstClass,f.lastClass].join(",.");if(!n.not(o).length){var p=j>=c?-f.maxVisible:0;k.not(o).each(function(b){g=b+1+j+p,a(this).attr("data-lp",g).toggle(g<=f.total).find("a").html(g).attr("href",d(g))}),n=k.filter("[data-lp="+c+"]")}n.not(o).addClass(f.activeClass),e.data("settings",f)}function d(a){return f.href.replace(f.hrefVariable,a)}var e=this,f=a.extend({total:0,page:1,maxVisible:null,leaps:!0,href:"javascript:void(0);",hrefVariable:"{{number}}",next:"&raquo;",prev:"&laquo;",firstLastUse:!1,first:'<span aria-hidden="true">&larr;</span>',last:'<span aria-hidden="true">&rarr;</span>',wrapClass:"pagination",activeClass:"active",disabledClass:"disabled",nextClass:"next",prevClass:"prev",lastClass:"last",firstClass:"first"},e.data("settings")||{},b||{});return f.total<=0?this:(a.isNumeric(f.maxVisible)||f.maxVisible||(f.maxVisible=parseInt(f.total,10)),e.data("settings",f),this.each(function(){var b,g,h=a(this),i=['<ul class="',f.wrapClass,' bootpag">'];f.firstLastUse&&(i=i.concat(['<li data-lp="1" class="',f.firstClass,'"><a href="',d(1),'">',f.first,"</a></li>"])),f.prev&&(i=i.concat(['<li data-lp="1" class="',f.prevClass,'"><a href="',d(1),'">',f.prev,"</a></li>"]));for(var j=1;j<=Math.min(f.total,f.maxVisible);j++)i=i.concat(['<li data-lp="',j,'"><a href="',d(j),'">',j,"</a></li>"]);f.next&&(g=f.leaps&&f.total>f.maxVisible?Math.min(f.maxVisible+1,f.total):2,i=i.concat(['<li data-lp="',g,'" class="',f.nextClass,'"><a href="',d(g),'">',f.next,"</a></li>"])),f.firstLastUse&&(i=i.concat(['<li data-lp="',f.total,'" class="last"><a href="',d(f.total),'">',f.last,"</a></li>"])),i.push("</ul>"),h.find("ul.bootpag").remove(),h.append(i.join("")),b=h.find("ul.bootpag"),h.find("li").click(function(){var b=a(this);if(!b.hasClass(f.disabledClass)&&!b.hasClass(f.activeClass)){var d=parseInt(b.attr("data-lp"),10);e.find("ul.bootpag").each(function(){c(a(this),d)}),e.trigger("page",d)}}),c(b,f.page)}))}}(jQuery,window),function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.Chart=a()}}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){},{}],2:[function(a,b,c){function d(a){if(a){var b=/^#([a-fA-F0-9]{3})#x2F;i,c=/^#([a-fA-F0-9]{6})#x2F;i,d=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)#x2F;i,e=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)#x2F;i,f=/(\w+)/,g=[0,0,0],h=1,i=a.match(b);if(i){i=i[1];for(var j=0;j<g.length;j++)g[j]=parseInt(i[j]+i[j],16)}else if(i=a.match(c)){i=i[1];for(var j=0;j<g.length;j++)g[j]=parseInt(i.slice(2*j,2*j+2),16)}else if(i=a.match(d)){for(var j=0;j<g.length;j++)g[j]=parseInt(i[j+1]);h=parseFloat(i[4])}else if(i=a.match(e)){for(var j=0;j<g.length;j++)g[j]=Math.round(2.55*parseFloat(i[j+1]));h=parseFloat(i[4])}else if(i=a.match(f)){if("transparent"==i[1])return[0,0,0,0];if(g=u[i[1]],!g)return}for(var j=0;j<g.length;j++)g[j]=s(g[j],0,255);return h=h||0==h?s(h,0,1):1,g[3]=h,g}}function e(a){if(a){var b=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,c=a.match(b);if(c){var d=parseFloat(c[4]),e=s(parseInt(c[1]),0,360),f=s(parseFloat(c[2]),0,100),g=s(parseFloat(c[3]),0,100),h=s(isNaN(d)?1:d,0,1);return[e,f,g,h]}}}function f(a){if(a){var b=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,c=a.match(b);if(c){var d=parseFloat(c[4]),e=s(parseInt(c[1]),0,360),f=s(parseFloat(c[2]),0,100),g=s(parseFloat(c[3]),0,100),h=s(isNaN(d)?1:d,0,1);return[e,f,g,h]}}}function g(a){var b=d(a);return b&&b.slice(0,3)}function h(a){var b=e(a);return b&&b.slice(0,3)}function i(a){var b=d(a);return b?b[3]:(b=e(a))?b[3]:(b=f(a))?b[3]:void 0}function j(a){return"#"+t(a[0])+t(a[1])+t(a[2])}function k(a,b){return 1>b||a[3]&&a[3]<1?l(a,b):"rgb("+a[0]+", "+a[1]+", "+a[2]+")"}function l(a,b){return void 0===b&&(b=void 0!==a[3]?a[3]:1),"rgba("+a[0]+", "+a[1]+", "+a[2]+", "+b+")"}function m(a,b){if(1>b||a[3]&&a[3]<1)return n(a,b);var c=Math.round(a[0]/255*100),d=Math.round(a[1]/255*100),e=Math.round(a[2]/255*100);return"rgb("+c+"%, "+d+"%, "+e+"%)"}function n(a,b){var c=Math.round(a[0]/255*100),d=Math.round(a[1]/255*100),e=Math.round(a[2]/255*100);return"rgba("+c+"%, "+d+"%, "+e+"%, "+(b||a[3]||1)+")"}function o(a,b){return 1>b||a[3]&&a[3]<1?p(a,b):"hsl("+a[0]+", "+a[1]+"%, "+a[2]+"%)"}function p(a,b){return void 0===b&&(b=void 0!==a[3]?a[3]:1),"hsla("+a[0]+", "+a[1]+"%, "+a[2]+"%, "+b+")"}function q(a,b){return void 0===b&&(b=void 0!==a[3]?a[3]:1),"hwb("+a[0]+", "+a[1]+"%, "+a[2]+"%"+(void 0!==b&&1!==b?", "+b:"")+")"}function r(a){return v[a.slice(0,3)]}function s(a,b,c){return Math.min(Math.max(b,a),c)}function t(a){var b=a.toString(16).toUpperCase();return b.length<2?"0"+b:b}var u=a(6);b.exports={getRgba:d,getHsla:e,getRgb:g,getHsl:h,getHwb:f,getAlpha:i,hexString:j,rgbString:k,rgbaString:l,percentString:m,percentaString:n,hslString:o,hslaString:p,hwbString:q,keyword:r};var v={};for(var w in u)v[u[w]]=w},{6:6}],3:[function(a,b,c){var d=a(5),e=a(2),f=function(a){if(a instanceof f)return a;if(!(this instanceof f))return new f(a);this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1};var b;"string"==typeof a?(b=e.getRgba(a),b?this.setValues("rgb",b):(b=e.getHsla(a))?this.setValues("hsl",b):(b=e.getHwb(a))&&this.setValues("hwb",b)):"object"==typeof a&&(b=a,void 0!==b.r||void 0!==b.red?this.setValues("rgb",b):void 0!==b.l||void 0!==b.lightness?this.setValues("hsl",b):void 0!==b.v||void 0!==b.value?this.setValues("hsv",b):void 0!==b.w||void 0!==b.whiteness?this.setValues("hwb",b):(void 0!==b.c||void 0!==b.cyan)&&this.setValues("cmyk",b))};f.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var a=this.values;return 1!==a.alpha?a.hwb.concat([a.alpha]):a.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var a=this.values;return a.rgb.concat([a.alpha])},hslaArray:function(){var a=this.values;return a.hsl.concat([a.alpha])},alpha:function(a){return void 0===a?this.values.alpha:(this.setValues("alpha",a),this)},red:function(a){return this.setChannel("rgb",0,a)},green:function(a){return this.setChannel("rgb",1,a)},blue:function(a){return this.setChannel("rgb",2,a)},hue:function(a){return a&&(a%=360,a=0>a?360+a:a),this.setChannel("hsl",0,a)},saturation:function(a){return this.setChannel("hsl",1,a)},lightness:function(a){return this.setChannel("hsl",2,a)},saturationv:function(a){return this.setChannel("hsv",1,a)},whiteness:function(a){return this.setChannel("hwb",1,a)},blackness:function(a){return this.setChannel("hwb",2,a)},value:function(a){return this.setChannel("hsv",2,a)},cyan:function(a){return this.setChannel("cmyk",0,a)},magenta:function(a){return this.setChannel("cmyk",1,a)},yellow:function(a){return this.setChannel("cmyk",2,a)},black:function(a){return this.setChannel("cmyk",3,a)},hexString:function(){return e.hexString(this.values.rgb)},rgbString:function(){return e.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return e.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return e.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return e.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return e.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return e.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return e.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var a=this.values.rgb;return a[0]<<16|a[1]<<8|a[2]},luminosity:function(){for(var a=this.values.rgb,b=[],c=0;c<a.length;c++){var d=a[c]/255;b[c]=.03928>=d?d/12.92:Math.pow((d+.055)/1.055,2.4)}return.2126*b[0]+.7152*b[1]+.0722*b[2]},contrast:function(a){var b=this.luminosity(),c=a.luminosity();return b>c?(b+.05)/(c+.05):(c+.05)/(b+.05)},level:function(a){var b=this.contrast(a);return b>=7.1?"AAA":b>=4.5?"AA":""},dark:function(){var a=this.values.rgb,b=(299*a[0]+587*a[1]+114*a[2])/1e3;return 128>b},light:function(){return!this.dark()},negate:function(){for(var a=[],b=0;3>b;b++)a[b]=255-this.values.rgb[b];return this.setValues("rgb",a),this},lighten:function(a){var b=this.values.hsl;return b[2]+=b[2]*a,this.setValues("hsl",b),this},darken:function(a){var b=this.values.hsl;return b[2]-=b[2]*a,this.setValues("hsl",b),this},saturate:function(a){var b=this.values.hsl;return b[1]+=b[1]*a,this.setValues("hsl",b),this},desaturate:function(a){var b=this.values.hsl;return b[1]-=b[1]*a,this.setValues("hsl",b),this},whiten:function(a){var b=this.values.hwb;return b[1]+=b[1]*a,this.setValues("hwb",b),this},blacken:function(a){var b=this.values.hwb;return b[2]+=b[2]*a,this.setValues("hwb",b),this},greyscale:function(){var a=this.values.rgb,b=.3*a[0]+.59*a[1]+.11*a[2];return this.setValues("rgb",[b,b,b]),this},clearer:function(a){var b=this.values.alpha;return this.setValues("alpha",b-b*a),this},opaquer:function(a){var b=this.values.alpha;return this.setValues("alpha",b+b*a),this},rotate:function(a){var b=this.values.hsl,c=(b[0]+a)%360;return b[0]=0>c?360+c:c,this.setValues("hsl",b),this},mix:function(a,b){var c=this,d=a,e=void 0===b?.5:b,f=2*e-1,g=c.alpha()-d.alpha(),h=((f*g===-1?f:(f+g)/(1+f*g))+1)/2,i=1-h;return this.rgb(h*c.red()+i*d.red(),h*c.green()+i*d.green(),h*c.blue()+i*d.blue()).alpha(c.alpha()*e+d.alpha()*(1-e))},toJSON:function(){return this.rgb()},clone:function(){var a,b,c=new f,d=this.values,e=c.values;for(var g in d)d.hasOwnProperty(g)&&(a=d[g],b={}.toString.call(a),"[object Array]"===b?e[g]=a.slice(0):"[object Number]"===b?e[g]=a:console.error("unexpected color value:",a));return c}},f.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},f.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},f.prototype.getValues=function(a){for(var b=this.values,c={},d=0;d<a.length;d++)c[a.charAt(d)]=b[a][d];return 1!==b.alpha&&(c.a=b.alpha),c},f.prototype.setValues=function(a,b){var c,e=this.values,f=this.spaces,g=this.maxes,h=1;if(this.valid=!0,"alpha"===a)h=b;else if(b.length)e[a]=b.slice(0,a.length),h=b[a.length];else if(void 0!==b[a.charAt(0)]){for(c=0;c<a.length;c++)e[a][c]=b[a.charAt(c)];h=b.a}else if(void 0!==b[f[a][0]]){var i=f[a];for(c=0;c<a.length;c++)e[a][c]=b[i[c]];h=b.alpha}if(e.alpha=Math.max(0,Math.min(1,void 0===h?e.alpha:h)),"alpha"===a)return!1;var j;for(c=0;c<a.length;c++)j=Math.max(0,Math.min(g[a][c],e[a][c])),e[a][c]=Math.round(j);for(var k in f)k!==a&&(e[k]=d[a][k](e[a]));return!0},f.prototype.setSpace=function(a,b){var c=b[0];return void 0===c?this.getValues(a):("number"==typeof c&&(c=Array.prototype.slice.call(b)),this.setValues(a,c),this)},f.prototype.setChannel=function(a,b,c){var d=this.values[a];return void 0===c?d[b]:c===d[b]?this:(d[b]=c,this.setValues(a,d),this)},"undefined"!=typeof window&&(window.Color=f),b.exports=f},{2:2,5:5}],4:[function(a,c,d){function e(a){var b,c,d,e=a[0]/255,f=a[1]/255,g=a[2]/255,h=Math.min(e,f,g),i=Math.max(e,f,g),j=i-h;return i==h?b=0:e==i?b=(f-g)/j:f==i?b=2+(g-e)/j:g==i&&(b=4+(e-f)/j),b=Math.min(60*b,360),0>b&&(b+=360),d=(h+i)/2,c=i==h?0:.5>=d?j/(i+h):j/(2-i-h),[b,100*c,100*d]}function f(a){var b,c,d,e=a[0],f=a[1],g=a[2],h=Math.min(e,f,g),i=Math.max(e,f,g),j=i-h;return c=0==i?0:j/i*1e3/10,i==h?b=0:e==i?b=(f-g)/j:f==i?b=2+(g-e)/j:g==i&&(b=4+(e-f)/j),b=Math.min(60*b,360),0>b&&(b+=360),d=i/255*1e3/10,[b,c,d]}function h(a){var b=a[0],c=a[1],d=a[2],f=e(a)[0],g=1/255*Math.min(b,Math.min(c,d)),d=1-1/255*Math.max(b,Math.max(c,d));return[f,100*g,100*d]}function i(a){var b,c,d,e,f=a[0]/255,g=a[1]/255,h=a[2]/255;return e=Math.min(1-f,1-g,1-h),b=(1-f-e)/(1-e)||0,c=(1-g-e)/(1-e)||0,d=(1-h-e)/(1-e)||0,[100*b,100*c,100*d,100*e]}function j(a){return Z[JSON.stringify(a)]}function k(a){var b=a[0]/255,c=a[1]/255,d=a[2]/255;b=b>.04045?Math.pow((b+.055)/1.055,2.4):b/12.92,c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92,d=d>.04045?Math.pow((d+.055)/1.055,2.4):d/12.92;var e=.4124*b+.3576*c+.1805*d,f=.2126*b+.7152*c+.0722*d,g=.0193*b+.1192*c+.9505*d;return[100*e,100*f,100*g]}function l(a){var b,c,d,e=k(a),f=e[0],g=e[1],h=e[2];return f/=95.047,g/=100,h/=108.883,f=f>.008856?Math.pow(f,1/3):7.787*f+16/116,g=g>.008856?Math.pow(g,1/3):7.787*g+16/116,h=h>.008856?Math.pow(h,1/3):7.787*h+16/116,b=116*g-16,c=500*(f-g),d=200*(g-h),[b,c,d]}function m(a){return M(l(a))}function n(a){var b,c,d,e,f,g=a[0]/360,h=a[1]/100,i=a[2]/100;if(0==h)return f=255*i,[f,f,f];c=.5>i?i*(1+h):i+h-i*h,b=2*i-c,e=[0,0,0];for(var j=0;3>j;j++)d=g+1/3*-(j-1),0>d&&d++,d>1&&d--,f=1>6*d?b+6*(c-b)*d:1>2*d?c:2>3*d?b+(c-b)*(2/3-d)*6:b,e[j]=255*f;return e}function o(a){var b,c,d=a[0],e=a[1]/100,f=a[2]/100;return 0===f?[0,0,0]:(f*=2,e*=1>=f?f:2-f,c=(f+e)/2,b=2*e/(f+e),[d,100*b,100*c])}function p(a){return h(n(a))}function q(a){return i(n(a))}function s(a){return j(n(a))}function t(a){var b=a[0]/60,c=a[1]/100,d=a[2]/100,e=Math.floor(b)%6,f=b-Math.floor(b),g=255*d*(1-c),h=255*d*(1-c*f),i=255*d*(1-c*(1-f)),d=255*d;switch(e){case 0:return[d,i,g];case 1:return[h,d,g];case 2:return[g,d,i];case 3:return[g,h,d];case 4:return[i,g,d];case 5:return[d,g,h]}}function u(a){var b,c,d=a[0],e=a[1]/100,f=a[2]/100;return c=(2-e)*f,b=e*f,b/=1>=c?c:2-c,b=b||0,c/=2,[d,100*b,100*c]}function v(a){return h(t(a))}function w(a){return i(t(a))}function x(a){return j(t(a))}function y(a){var c,d,e,f,h=a[0]/360,i=a[1]/100,j=a[2]/100,k=i+j;switch(k>1&&(i/=k,j/=k),c=Math.floor(6*h),d=1-j,e=6*h-c,0!=(1&c)&&(e=1-e),f=i+e*(d-i),c){default:case 6:case 0:r=d,g=f,b=i;break;case 1:r=f,g=d,b=i;break;case 2:r=i,g=d,b=f;break;case 3:r=i,g=f,b=d;break;case 4:r=f,g=i,b=d;break;case 5:r=d,g=i,b=f}return[255*r,255*g,255*b]}function z(a){return e(y(a))}function A(a){return f(y(a))}function B(a){return i(y(a))}function C(a){return j(y(a))}function D(a){var b,c,d,e=a[0]/100,f=a[1]/100,g=a[2]/100,h=a[3]/100;return b=1-Math.min(1,e*(1-h)+h),c=1-Math.min(1,f*(1-h)+h),d=1-Math.min(1,g*(1-h)+h),[255*b,255*c,255*d]}function E(a){return e(D(a))}function F(a){return f(D(a))}function G(a){return h(D(a))}function H(a){return j(D(a))}function I(a){var b,c,d,e=a[0]/100,f=a[1]/100,g=a[2]/100;return b=3.2406*e+-1.5372*f+g*-.4986,c=e*-.9689+1.8758*f+.0415*g,d=.0557*e+f*-.204+1.057*g,b=b>.0031308?1.055*Math.pow(b,1/2.4)-.055:b=12.92*b,c=c>.0031308?1.055*Math.pow(c,1/2.4)-.055:c=12.92*c,d=d>.0031308?1.055*Math.pow(d,1/2.4)-.055:d=12.92*d,b=Math.min(Math.max(0,b),1),c=Math.min(Math.max(0,c),1),d=Math.min(Math.max(0,d),1),[255*b,255*c,255*d]}function J(a){var b,c,d,e=a[0],f=a[1],g=a[2];return e/=95.047,f/=100,g/=108.883,e=e>.008856?Math.pow(e,1/3):7.787*e+16/116,f=f>.008856?Math.pow(f,1/3):7.787*f+16/116,g=g>.008856?Math.pow(g,1/3):7.787*g+16/116,b=116*f-16,c=500*(e-f),d=200*(f-g),[b,c,d]}function K(a){return M(J(a))}function L(a){var b,c,d,e,f=a[0],g=a[1],h=a[2];return 8>=f?(c=100*f/903.3,e=7.787*(c/100)+16/116):(c=100*Math.pow((f+16)/116,3),e=Math.pow(c/100,1/3)),b=.008856>=b/95.047?b=95.047*(g/500+e-16/116)/7.787:95.047*Math.pow(g/500+e,3),d=.008859>=d/108.883?d=108.883*(e-h/200-16/116)/7.787:108.883*Math.pow(e-h/200,3),[b,c,d]}function M(a){var b,c,d,e=a[0],f=a[1],g=a[2];return b=Math.atan2(g,f),c=360*b/2/Math.PI,0>c&&(c+=360),d=Math.sqrt(f*f+g*g),[e,d,c]}function N(a){return I(L(a))}function O(a){var b,c,d,e=a[0],f=a[1],g=a[2];return d=g/360*2*Math.PI,b=f*Math.cos(d),c=f*Math.sin(d),[e,b,c]}function P(a){return L(O(a))}function Q(a){return N(O(a))}function R(a){return Y[a]}function S(a){return e(R(a))}function T(a){return f(R(a))}function U(a){return h(R(a))}function V(a){return i(R(a))}function W(a){return l(R(a))}function X(a){return k(R(a))}c.exports={rgb2hsl:e,rgb2hsv:f,rgb2hwb:h,rgb2cmyk:i,rgb2keyword:j,rgb2xyz:k,rgb2lab:l,rgb2lch:m,hsl2rgb:n,hsl2hsv:o,hsl2hwb:p,hsl2cmyk:q,hsl2keyword:s,hsv2rgb:t,hsv2hsl:u,hsv2hwb:v,hsv2cmyk:w,hsv2keyword:x,hwb2rgb:y,hwb2hsl:z,hwb2hsv:A,hwb2cmyk:B,hwb2keyword:C,cmyk2rgb:D,cmyk2hsl:E,cmyk2hsv:F,cmyk2hwb:G,cmyk2keyword:H,keyword2rgb:R,keyword2hsl:S,keyword2hsv:T,keyword2hwb:U,keyword2cmyk:V,keyword2lab:W,keyword2xyz:X,xyz2rgb:I,xyz2lab:J,xyz2lch:K,lab2xyz:L,lab2rgb:N,lab2lch:M,lch2lab:O,lch2xyz:P,lch2rgb:Q};var Y={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Z={};for(var $ in Y)Z[JSON.stringify(Y[$])]=$},{}],5:[function(a,b,c){var d=a(4),e=function(){return new j};for(var f in d){e[f+"Raw"]=function(a){return function(b){return"number"==typeof b&&(b=Array.prototype.slice.call(arguments)),d[a](b)}}(f);var g=/(\w+)2(\w+)/.exec(f),h=g[1],i=g[2];e[h]=e[h]||{},e[h][i]=e[f]=function(a){return function(b){"number"==typeof b&&(b=Array.prototype.slice.call(arguments));var c=d[a](b);if("string"==typeof c||void 0===c)return c;for(var e=0;e<c.length;e++)c[e]=Math.round(c[e]);return c}}(f)}var j=function(){this.convs={}};j.prototype.routeSpace=function(a,b){var c=b[0];return void 0===c?this.getValues(a):("number"==typeof c&&(c=Array.prototype.slice.call(b)),this.setValues(a,c))},j.prototype.setValues=function(a,b){return this.space=a,this.convs={},this.convs[a]=b,this},j.prototype.getValues=function(a){var b=this.convs[a];if(!b){var c=this.space,d=this.convs[c];b=e[c][a](d),this.convs[a]=b}return b},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(a){j.prototype[a]=function(b){return this.routeSpace(a,arguments)}}),b.exports=e},{4:4}],6:[function(a,b,c){"use strict";b.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],7:[function(a,b,c){var d=a(29)();d.helpers=a(45),a(27)(d),d.defaults=a(25),d.Element=a(26),d.elements=a(40),d.Interaction=a(28),d.platform=a(48),a(31)(d),a(22)(d),a(23)(d),a(24)(d),a(30)(d),a(33)(d),a(32)(d),a(35)(d),a(54)(d),a(52)(d),a(53)(d),a(55)(d),a(56)(d),a(57)(d),a(15)(d),a(16)(d),a(17)(d),a(18)(d),a(19)(d),a(20)(d),a(21)(d),a(8)(d),a(9)(d),a(10)(d),a(11)(d),a(12)(d),a(13)(d),a(14)(d);var e=[];e.push(a(49)(d),a(50)(d),a(51)(d)),d.plugins.register(e),d.platform.initialize(),b.exports=d,"undefined"!=typeof window&&(window.Chart=d),d.canvasHelpers=d.helpers.canvas},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,35:35,40:40,45:45,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,8:8,9:9}],8:[function(a,b,c){"use strict";b.exports=function(a){a.Bar=function(b,c){return c.type="bar",new a(b,c)}}},{}],9:[function(a,b,c){"use strict";b.exports=function(a){a.Bubble=function(b,c){return c.type="bubble",new a(b,c)}}},{}],10:[function(a,b,c){"use strict";b.exports=function(a){a.Doughnut=function(b,c){return c.type="doughnut",new a(b,c)}}},{}],11:[function(a,b,c){"use strict";b.exports=function(a){a.Line=function(b,c){return c.type="line",new a(b,c)}}},{}],12:[function(a,b,c){"use strict";b.exports=function(a){a.PolarArea=function(b,c){return c.type="polarArea",new a(b,c)}}},{}],13:[function(a,b,c){"use strict";b.exports=function(a){a.Radar=function(b,c){return c.type="radar",new a(b,c)}}},{}],14:[function(a,b,c){"use strict";b.exports=function(a){a.Scatter=function(b,c){return c.type="scatter",new a(b,c)}}},{}],15:[function(a,b,c){"use strict";var d=a(25),e=a(40),f=a(45);d._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),d._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(a,b){var c="";return a.length>0&&(a[0].yLabel?c=a[0].yLabel:b.labels.length>0&&a[0].index<b.labels.length&&(c=b.labels[a[0].index])),c},label:function(a,b){var c=b.datasets[a.datasetIndex].label||"";return c+": "+a.xLabel}},mode:"index",axis:"y"}}),b.exports=function(a){a.controllers.bar=a.DatasetController.extend({dataElementType:e.Rectangle,initialize:function(){var b,c=this;a.DatasetController.prototype.initialize.apply(c,arguments),b=c.getMeta(),b.stack=c.getDataset().stack,b.bar=!0},update:function(a){var b,c,d=this,e=d.getMeta().data;for(d._ruler=d.getRuler(),b=0,c=e.length;c>b;++b)d.updateElement(e[b],b,a)},updateElement:function(a,b,c){var d=this,e=d.chart,g=d.getMeta(),h=d.getDataset(),i=a.custom||{},j=e.options.elements.rectangle;a._xScale=d.getScaleForId(g.xAxisID),a._yScale=d.getScaleForId(g.yAxisID),a._datasetIndex=d.index,a._index=b,a._model={datasetLabel:h.label,label:e.data.labels[b],borderSkipped:i.borderSkipped?i.borderSkipped:j.borderSkipped,backgroundColor:i.backgroundColor?i.backgroundColor:f.valueAtIndexOrDefault(h.backgroundColor,b,j.backgroundColor),borderColor:i.borderColor?i.borderColor:f.valueAtIndexOrDefault(h.borderColor,b,j.borderColor),borderWidth:i.borderWidth?i.borderWidth:f.valueAtIndexOrDefault(h.borderWidth,b,j.borderWidth)},d.updateElementGeometry(a,b,c),a.pivot()},updateElementGeometry:function(a,b,c){var d=this,e=a._model,f=d.getValueScale(),g=f.getBasePixel(),h=f.isHorizontal(),i=d._ruler||d.getRuler(),j=d.calculateBarValuePixels(d.index,b),k=d.calculateBarIndexPixels(d.index,b,i);e.horizontal=h,e.base=c?g:j.base,e.x=h?c?g:j.head:k.center,e.y=h?k.center:c?g:j.head,e.height=h?k.size:void 0,e.width=h?void 0:k.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},getStackCount:function(a){var b,c,d=this,e=d.chart,f=d.getIndexScale(),g=f.options.stacked,h=void 0===a?e.data.datasets.length:a+1,i=[];for(b=0;h>b;++b)c=e.getDatasetMeta(b),c.bar&&e.isDatasetVisible(b)&&(g===!1||g===!0&&-1===i.indexOf(c.stack)||void 0===g&&(void 0===c.stack||-1===i.indexOf(c.stack)))&&i.push(c.stack);return i.length},getStackIndex:function(a){return this.getStackCount(a)-1},getRuler:function(){var a,b,c=this,d=c.getIndexScale(),e=c.getStackCount(),f=c.index,g=[],h=d.isHorizontal(),i=h?d.left:d.top,j=i+(h?d.width:d.height);for(a=0,b=c.getMeta().data.length;b>a;++a)g.push(d.getPixelForValue(null,a,f));return{pixels:g,start:i,end:j,stackCount:e,scale:d}},calculateBarValuePixels:function(a,b){var c,d,e,f,g,h,i=this,j=i.chart,k=i.getMeta(),l=i.getValueScale(),m=j.data.datasets,n=l.getRightValue(m[a].data[b]),o=l.options.stacked,p=k.stack,q=0;if(o||void 0===o&&void 0!==p)for(c=0;a>c;++c)d=j.getDatasetMeta(c),d.bar&&d.stack===p&&d.controller.getValueScaleId()===l.id&&j.isDatasetVisible(c)&&(e=l.getRightValue(m[c].data[b]),(0>n&&0>e||n>=0&&e>0)&&(q+=e));return f=l.getPixelForValue(q),g=l.getPixelForValue(q+n),h=(g-f)/2,{size:h,base:f,head:g,center:g+h/2}},calculateBarIndexPixels:function(a,b,c){var d,e,g,h,i,j,k=this,l=c.scale.options,m=k.getStackIndex(a),n=c.pixels,o=n[b],p=n.length,q=c.start,r=c.end;return 1===p?(d=o>q?o-q:r-o,e=r>o?r-o:o-q):(b>0&&(d=(o-n[b-1])/2,
14
b===p-1&&(e=d)),p-1>b&&(e=(n[b+1]-o)/2,0===b&&(d=e))),g=d*l.categoryPercentage,h=e*l.categoryPercentage,i=(g+h)/c.stackCount,j=i*l.barPercentage,j=Math.min(f.valueOrDefault(l.barThickness,j),f.valueOrDefault(l.maxBarThickness,1/0)),o-=g,o+=i*m,o+=(i-j)/2,{size:j,base:o,head:o+j,center:o+j/2}},draw:function(){var a=this,b=a.chart,c=a.getValueScale(),d=a.getMeta().data,e=a.getDataset(),g=d.length,h=0;for(f.canvas.clipArea(b.ctx,b.chartArea);g>h;++h)isNaN(c.getRightValue(e.data[h]))||d[h].draw();f.canvas.unclipArea(b.ctx)},setHoverStyle:function(a){var b=this.chart.data.datasets[a._datasetIndex],c=a._index,d=a.custom||{},e=a._model;e.backgroundColor=d.hoverBackgroundColor?d.hoverBackgroundColor:f.valueAtIndexOrDefault(b.hoverBackgroundColor,c,f.getHoverColor(e.backgroundColor)),e.borderColor=d.hoverBorderColor?d.hoverBorderColor:f.valueAtIndexOrDefault(b.hoverBorderColor,c,f.getHoverColor(e.borderColor)),e.borderWidth=d.hoverBorderWidth?d.hoverBorderWidth:f.valueAtIndexOrDefault(b.hoverBorderWidth,c,e.borderWidth)},removeHoverStyle:function(a){var b=this.chart.data.datasets[a._datasetIndex],c=a._index,d=a.custom||{},e=a._model,g=this.chart.options.elements.rectangle;e.backgroundColor=d.backgroundColor?d.backgroundColor:f.valueAtIndexOrDefault(b.backgroundColor,c,g.backgroundColor),e.borderColor=d.borderColor?d.borderColor:f.valueAtIndexOrDefault(b.borderColor,c,g.borderColor),e.borderWidth=d.borderWidth?d.borderWidth:f.valueAtIndexOrDefault(b.borderWidth,c,g.borderWidth)}}),a.controllers.horizontalBar=a.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{25:25,40:40,45:45}],16:[function(a,b,c){"use strict";var d=a(25),e=a(40),f=a(45);d._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(a,b){var c=b.datasets[a.datasetIndex].label||"",d=b.datasets[a.datasetIndex].data[a.index];return c+": ("+a.xLabel+", "+a.yLabel+", "+d.r+")"}}}}),b.exports=function(a){a.controllers.bubble=a.DatasetController.extend({dataElementType:e.Point,update:function(a){var b=this,c=b.getMeta(),d=c.data;f.each(d,function(c,d){b.updateElement(c,d,a)})},updateElement:function(a,b,c){var d=this,e=d.getMeta(),f=a.custom||{},g=d.getScaleForId(e.xAxisID),h=d.getScaleForId(e.yAxisID),i=d._resolveElementOptions(a,b),j=d.getDataset().data[b],k=d.index,l=c?g.getPixelForDecimal(.5):g.getPixelForValue("object"==typeof j?j:NaN,b,k),m=c?h.getBasePixel():h.getPixelForValue(j,b,k);a._xScale=g,a._yScale=h,a._options=i,a._datasetIndex=k,a._index=b,a._model={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth,hitRadius:i.hitRadius,pointStyle:i.pointStyle,radius:c?0:i.radius,skip:f.skip||isNaN(l)||isNaN(m),x:l,y:m},a.pivot()},setHoverStyle:function(a){var b=a._model,c=a._options;b.backgroundColor=f.valueOrDefault(c.hoverBackgroundColor,f.getHoverColor(c.backgroundColor)),b.borderColor=f.valueOrDefault(c.hoverBorderColor,f.getHoverColor(c.borderColor)),b.borderWidth=f.valueOrDefault(c.hoverBorderWidth,c.borderWidth),b.radius=c.radius+c.hoverRadius},removeHoverStyle:function(a){var b=a._model,c=a._options;b.backgroundColor=c.backgroundColor,b.borderColor=c.borderColor,b.borderWidth=c.borderWidth,b.radius=c.radius},_resolveElementOptions:function(a,b){var c,d,e,g=this,h=g.chart,i=h.data.datasets,j=i[g.index],k=a.custom||{},l=h.options.elements.point,m=f.options.resolve,n=j.data[b],o={},p={chart:h,dataIndex:b,dataset:j,datasetIndex:g.index},q=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(c=0,d=q.length;d>c;++c)e=q[c],o[e]=m([k[e],j[e],l[e]],p,b);return o.radius=m([k.radius,n?n.r:void 0,j.radius,l.radius],p,b),o}})}},{25:25,40:40,45:45}],17:[function(a,b,c){"use strict";var d=a(25),e=a(40),f=a(45);d._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(a){var b=[];b.push('<ul class="'+a.id+'-legend">');var c=a.data,d=c.datasets,e=c.labels;if(d.length)for(var f=0;f<d[0].data.length;++f)b.push('<li><span style="background-color:'+d[0].backgroundColor[f]+'"></span>'),e[f]&&b.push(e[f]),b.push("</li>");return b.push("</ul>"),b.join("")},legend:{labels:{generateLabels:function(a){var b=a.data;return b.labels.length&&b.datasets.length?b.labels.map(function(c,d){var e=a.getDatasetMeta(0),g=b.datasets[0],h=e.data[d],i=h&&h.custom||{},j=f.valueAtIndexOrDefault,k=a.options.elements.arc,l=i.backgroundColor?i.backgroundColor:j(g.backgroundColor,d,k.backgroundColor),m=i.borderColor?i.borderColor:j(g.borderColor,d,k.borderColor),n=i.borderWidth?i.borderWidth:j(g.borderWidth,d,k.borderWidth);return{text:c,fillStyle:l,strokeStyle:m,lineWidth:n,hidden:isNaN(g.data[d])||e.data[d].hidden,index:d}}):[]}},onClick:function(a,b){var c,d,e,f=b.index,g=this.chart;for(c=0,d=(g.data.datasets||[]).length;d>c;++c)e=g.getDatasetMeta(c),e.data[f]&&(e.data[f].hidden=!e.data[f].hidden);g.update()}},cutoutPercentage:50,rotation:Math.PI*-.5,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(a,b){var c=b.labels[a.index],d=": "+b.datasets[a.datasetIndex].data[a.index];return f.isArray(c)?(c=c.slice(),c[0]+=d):c+=d,c}}}}),d._set("pie",f.clone(d.doughnut)),d._set("pie",{cutoutPercentage:0}),b.exports=function(a){a.controllers.doughnut=a.controllers.pie=a.DatasetController.extend({dataElementType:e.Arc,linkScales:f.noop,getRingIndex:function(a){for(var b=0,c=0;a>c;++c)this.chart.isDatasetVisible(c)&&++b;return b},update:function(a){var b=this,c=b.chart,d=c.chartArea,e=c.options,g=e.elements.arc,h=d.right-d.left-g.borderWidth,i=d.bottom-d.top-g.borderWidth,j=Math.min(h,i),k={x:0,y:0},l=b.getMeta(),m=e.cutoutPercentage,n=e.circumference;if(n<2*Math.PI){var o=e.rotation%(2*Math.PI);o+=2*Math.PI*(o>=Math.PI?-1:o<-Math.PI?1:0);var p=o+n,q={x:Math.cos(o),y:Math.sin(o)},r={x:Math.cos(p),y:Math.sin(p)},s=0>=o&&p>=0||o<=2*Math.PI&&2*Math.PI<=p,t=o<=.5*Math.PI&&.5*Math.PI<=p||o<=2.5*Math.PI&&2.5*Math.PI<=p,u=o<=-Math.PI&&-Math.PI<=p||o<=Math.PI&&Math.PI<=p,v=o<=.5*-Math.PI&&.5*-Math.PI<=p||o<=1.5*Math.PI&&1.5*Math.PI<=p,w=m/100,x={x:u?-1:Math.min(q.x*(q.x<0?1:w),r.x*(r.x<0?1:w)),y:v?-1:Math.min(q.y*(q.y<0?1:w),r.y*(r.y<0?1:w))},y={x:s?1:Math.max(q.x*(q.x>0?1:w),r.x*(r.x>0?1:w)),y:t?1:Math.max(q.y*(q.y>0?1:w),r.y*(r.y>0?1:w))},z={width:.5*(y.x-x.x),height:.5*(y.y-x.y)};j=Math.min(h/z.width,i/z.height),k={x:(y.x+x.x)*-.5,y:(y.y+x.y)*-.5}}c.borderWidth=b.getMaxBorderWidth(l.data),c.outerRadius=Math.max((j-c.borderWidth)/2,0),c.innerRadius=Math.max(m?c.outerRadius/100*m:0,0),c.radiusLength=(c.outerRadius-c.innerRadius)/c.getVisibleDatasetCount(),c.offsetX=k.x*c.outerRadius,c.offsetY=k.y*c.outerRadius,l.total=b.calculateTotal(),b.outerRadius=c.outerRadius-c.radiusLength*b.getRingIndex(b.index),b.innerRadius=Math.max(b.outerRadius-c.radiusLength,0),f.each(l.data,function(c,d){b.updateElement(c,d,a)})},updateElement:function(a,b,c){var d=this,e=d.chart,g=e.chartArea,h=e.options,i=h.animation,j=(g.left+g.right)/2,k=(g.top+g.bottom)/2,l=h.rotation,m=h.rotation,n=d.getDataset(),o=c&&i.animateRotate?0:a.hidden?0:d.calculateCircumference(n.data[b])*(h.circumference/(2*Math.PI)),p=c&&i.animateScale?0:d.innerRadius,q=c&&i.animateScale?0:d.outerRadius,r=f.valueAtIndexOrDefault;f.extend(a,{_datasetIndex:d.index,_index:b,_model:{x:j+e.offsetX,y:k+e.offsetY,startAngle:l,endAngle:m,circumference:o,outerRadius:q,innerRadius:p,label:r(n.label,b,e.data.labels[b])}});var s=a._model;this.removeHoverStyle(a),c&&i.animateRotate||(0===b?s.startAngle=h.rotation:s.startAngle=d.getMeta().data[b-1]._model.endAngle,s.endAngle=s.startAngle+s.circumference),a.pivot()},removeHoverStyle:function(b){a.DatasetController.prototype.removeHoverStyle.call(this,b,this.chart.options.elements.arc)},calculateTotal:function(){var a,b=this.getDataset(),c=this.getMeta(),d=0;return f.each(c.data,function(c,e){a=b.data[e],isNaN(a)||c.hidden||(d+=Math.abs(a))}),d},calculateCircumference:function(a){var b=this.getMeta().total;return b>0&&!isNaN(a)?2*Math.PI*(a/b):0},getMaxBorderWidth:function(a){for(var b,c,d=0,e=this.index,f=a.length,g=0;f>g;g++)b=a[g]._model?a[g]._model.borderWidth:0,c=a[g]._chart?a[g]._chart.config.data.datasets[e].hoverBorderWidth:0,d=b>d?b:d,d=c>d?c:d;return d}})}},{25:25,40:40,45:45}],18:[function(a,b,c){"use strict";var d=a(25),e=a(40),f=a(45);d._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),b.exports=function(a){function b(a,b){return f.valueOrDefault(a.showLine,b.showLines)}a.controllers.line=a.DatasetController.extend({datasetElementType:e.Line,dataElementType:e.Point,update:function(a){var c,d,e,g=this,h=g.getMeta(),i=h.dataset,j=h.data||[],k=g.chart.options,l=k.elements.line,m=g.getScaleForId(h.yAxisID),n=g.getDataset(),o=b(n,k);for(o&&(e=i.custom||{},void 0!==n.tension&&void 0===n.lineTension&&(n.lineTension=n.tension),i._scale=m,i._datasetIndex=g.index,i._children=j,i._model={spanGaps:n.spanGaps?n.spanGaps:k.spanGaps,tension:e.tension?e.tension:f.valueOrDefault(n.lineTension,l.tension),backgroundColor:e.backgroundColor?e.backgroundColor:n.backgroundColor||l.backgroundColor,borderWidth:e.borderWidth?e.borderWidth:n.borderWidth||l.borderWidth,borderColor:e.borderColor?e.borderColor:n.borderColor||l.borderColor,borderCapStyle:e.borderCapStyle?e.borderCapStyle:n.borderCapStyle||l.borderCapStyle,borderDash:e.borderDash?e.borderDash:n.borderDash||l.borderDash,borderDashOffset:e.borderDashOffset?e.borderDashOffset:n.borderDashOffset||l.borderDashOffset,borderJoinStyle:e.borderJoinStyle?e.borderJoinStyle:n.borderJoinStyle||l.borderJoinStyle,fill:e.fill?e.fill:void 0!==n.fill?n.fill:l.fill,steppedLine:e.steppedLine?e.steppedLine:f.valueOrDefault(n.steppedLine,l.stepped),cubicInterpolationMode:e.cubicInterpolationMode?e.cubicInterpolationMode:f.valueOrDefault(n.cubicInterpolationMode,l.cubicInterpolationMode)},i.pivot()),c=0,d=j.length;d>c;++c)g.updateElement(j[c],c,a);for(o&&0!==i._model.tension&&g.updateBezierControlPoints(),c=0,d=j.length;d>c;++c)j[c].pivot()},getPointBackgroundColor:function(a,b){var c=this.chart.options.elements.point.backgroundColor,d=this.getDataset(),e=a.custom||{};return e.backgroundColor?c=e.backgroundColor:d.pointBackgroundColor?c=f.valueAtIndexOrDefault(d.pointBackgroundColor,b,c):d.backgroundColor&&(c=d.backgroundColor),c},getPointBorderColor:function(a,b){var c=this.chart.options.elements.point.borderColor,d=this.getDataset(),e=a.custom||{};return e.borderColor?c=e.borderColor:d.pointBorderColor?c=f.valueAtIndexOrDefault(d.pointBorderColor,b,c):d.borderColor&&(c=d.borderColor),c},getPointBorderWidth:function(a,b){var c=this.chart.options.elements.point.borderWidth,d=this.getDataset(),e=a.custom||{};return isNaN(e.borderWidth)?!isNaN(d.pointBorderWidth)||f.isArray(d.pointBorderWidth)?c=f.valueAtIndexOrDefault(d.pointBorderWidth,b,c):isNaN(d.borderWidth)||(c=d.borderWidth):c=e.borderWidth,c},updateElement:function(a,b,c){var d,e,g=this,h=g.getMeta(),i=a.custom||{},j=g.getDataset(),k=g.index,l=j.data[b],m=g.getScaleForId(h.yAxisID),n=g.getScaleForId(h.xAxisID),o=g.chart.options.elements.point;void 0!==j.radius&&void 0===j.pointRadius&&(j.pointRadius=j.radius),void 0!==j.hitRadius&&void 0===j.pointHitRadius&&(j.pointHitRadius=j.hitRadius),d=n.getPixelForValue("object"==typeof l?l:NaN,b,k),e=c?m.getBasePixel():g.calculatePointY(l,b,k),a._xScale=n,a._yScale=m,a._datasetIndex=k,a._index=b,a._model={x:d,y:e,skip:i.skip||isNaN(d)||isNaN(e),radius:i.radius||f.valueAtIndexOrDefault(j.pointRadius,b,o.radius),pointStyle:i.pointStyle||f.valueAtIndexOrDefault(j.pointStyle,b,o.pointStyle),backgroundColor:g.getPointBackgroundColor(a,b),borderColor:g.getPointBorderColor(a,b),borderWidth:g.getPointBorderWidth(a,b),tension:h.dataset._model?h.dataset._model.tension:0,steppedLine:h.dataset._model?h.dataset._model.steppedLine:!1,hitRadius:i.hitRadius||f.valueAtIndexOrDefault(j.pointHitRadius,b,o.hitRadius)}},calculatePointY:function(a,b,c){var d,e,f,g=this,h=g.chart,i=g.getMeta(),j=g.getScaleForId(i.yAxisID),k=0,l=0;if(j.options.stacked){for(d=0;c>d;d++)if(e=h.data.datasets[d],f=h.getDatasetMeta(d),"line"===f.type&&f.yAxisID===j.id&&h.isDatasetVisible(d)){var m=Number(j.getRightValue(e.data[b]));0>m?l+=m||0:k+=m||0}var n=Number(j.getRightValue(a));return 0>n?j.getPixelForValue(l+n):j.getPixelForValue(k+n)}return j.getPixelForValue(a)},updateBezierControlPoints:function(){function a(a,b,c){return Math.max(Math.min(a,c),b)}var b,c,d,e,g,h=this,i=h.getMeta(),j=h.chart.chartArea,k=i.data||[];if(i.dataset._model.spanGaps&&(k=k.filter(function(a){return!a._model.skip})),"monotone"===i.dataset._model.cubicInterpolationMode)f.splineCurveMonotone(k);else for(b=0,c=k.length;c>b;++b)d=k[b],e=d._model,g=f.splineCurve(f.previousItem(k,b)._model,e,f.nextItem(k,b)._model,i.dataset._model.tension),e.controlPointPreviousX=g.previous.x,e.controlPointPreviousY=g.previous.y,e.controlPointNextX=g.next.x,e.controlPointNextY=g.next.y;if(h.chart.options.elements.line.capBezierPoints)for(b=0,c=k.length;c>b;++b)e=k[b]._model,e.controlPointPreviousX=a(e.controlPointPreviousX,j.left,j.right),e.controlPointPreviousY=a(e.controlPointPreviousY,j.top,j.bottom),e.controlPointNextX=a(e.controlPointNextX,j.left,j.right),e.controlPointNextY=a(e.controlPointNextY,j.top,j.bottom)},draw:function(){var a=this,c=a.chart,d=a.getMeta(),e=d.data||[],g=c.chartArea,h=e.length,i=0;for(f.canvas.clipArea(c.ctx,g),b(a.getDataset(),c.options)&&d.dataset.draw(),f.canvas.unclipArea(c.ctx);h>i;++i)e[i].draw(g)},setHoverStyle:function(a){var b=this.chart.data.datasets[a._datasetIndex],c=a._index,d=a.custom||{},e=a._model;e.radius=d.hoverRadius||f.valueAtIndexOrDefault(b.pointHoverRadius,c,this.chart.options.elements.point.hoverRadius),e.backgroundColor=d.hoverBackgroundColor||f.valueAtIndexOrDefault(b.pointHoverBackgroundColor,c,f.getHoverColor(e.backgroundColor)),e.borderColor=d.hoverBorderColor||f.valueAtIndexOrDefault(b.pointHoverBorderColor,c,f.getHoverColor(e.borderColor)),e.borderWidth=d.hoverBorderWidth||f.valueAtIndexOrDefault(b.pointHoverBorderWidth,c,e.borderWidth)},removeHoverStyle:function(a){var b=this,c=b.chart.data.datasets[a._datasetIndex],d=a._index,e=a.custom||{},g=a._model;void 0!==c.radius&&void 0===c.pointRadius&&(c.pointRadius=c.radius),g.radius=e.radius||f.valueAtIndexOrDefault(c.pointRadius,d,b.chart.options.elements.point.radius),g.backgroundColor=b.getPointBackgroundColor(a,d),g.borderColor=b.getPointBorderColor(a,d),g.borderWidth=b.getPointBorderWidth(a,d)}})}},{25:25,40:40,45:45}],19:[function(a,b,c){"use strict";var d=a(25),e=a(40),f=a(45);d._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(a){var b=[];b.push('<ul class="'+a.id+'-legend">');var c=a.data,d=c.datasets,e=c.labels;if(d.length)for(var f=0;f<d[0].data.length;++f)b.push('<li><span style="background-color:'+d[0].backgroundColor[f]+'"></span>'),e[f]&&b.push(e[f]),b.push("</li>");return b.push("</ul>"),b.join("")},legend:{labels:{generateLabels:function(a){var b=a.data;return b.labels.length&&b.datasets.length?b.labels.map(function(c,d){var e=a.getDatasetMeta(0),g=b.datasets[0],h=e.data[d],i=h.custom||{},j=f.valueAtIndexOrDefault,k=a.options.elements.arc,l=i.backgroundColor?i.backgroundColor:j(g.backgroundColor,d,k.backgroundColor),m=i.borderColor?i.borderColor:j(g.borderColor,d,k.borderColor),n=i.borderWidth?i.borderWidth:j(g.borderWidth,d,k.borderWidth);return{text:c,fillStyle:l,strokeStyle:m,lineWidth:n,hidden:isNaN(g.data[d])||e.data[d].hidden,index:d}}):[]}},onClick:function(a,b){var c,d,e,f=b.index,g=this.chart;for(c=0,d=(g.data.datasets||[]).length;d>c;++c)e=g.getDatasetMeta(c),e.data[f].hidden=!e.data[f].hidden;g.update()}},tooltips:{callbacks:{title:function(){return""},label:function(a,b){return b.labels[a.index]+": "+a.yLabel}}}}),b.exports=function(a){a.controllers.polarArea=a.DatasetController.extend({dataElementType:e.Arc,linkScales:f.noop,update:function(a){var b=this,c=b.chart,d=c.chartArea,e=b.getMeta(),g=c.options,h=g.elements.arc,i=Math.min(d.right-d.left,d.bottom-d.top);c.outerRadius=Math.max((i-h.borderWidth/2)/2,0),c.innerRadius=Math.max(g.cutoutPercentage?c.outerRadius/100*g.cutoutPercentage:1,0),c.radiusLength=(c.outerRadius-c.innerRadius)/c.getVisibleDatasetCount(),b.outerRadius=c.outerRadius-c.radiusLength*b.index,b.innerRadius=b.outerRadius-c.radiusLength,e.count=b.countVisibleElements(),f.each(e.data,function(c,d){b.updateElement(c,d,a)})},updateElement:function(a,b,c){for(var d=this,e=d.chart,g=d.getDataset(),h=e.options,i=h.animation,j=e.scale,k=e.data.labels,l=d.calculateCircumference(g.data[b]),m=j.xCenter,n=j.yCenter,o=0,p=d.getMeta(),q=0;b>q;++q)isNaN(g.data[q])||p.data[q].hidden||++o;var r=h.startAngle,s=a.hidden?0:j.getDistanceFromCenterForValue(g.data[b]),t=r+l*o,u=t+(a.hidden?0:l),v=i.animateScale?0:j.getDistanceFromCenterForValue(g.data[b]);f.extend(a,{_datasetIndex:d.index,_index:b,_scale:j,_model:{x:m,y:n,innerRadius:0,outerRadius:c?v:s,startAngle:c&&i.animateRotate?r:t,endAngle:c&&i.animateRotate?r:u,label:f.valueAtIndexOrDefault(k,b,k[b])}}),d.removeHoverStyle(a),a.pivot()},removeHoverStyle:function(b){a.DatasetController.prototype.removeHoverStyle.call(this,b,this.chart.options.elements.arc)},countVisibleElements:function(){var a=this.getDataset(),b=this.getMeta(),c=0;return f.each(b.data,function(b,d){isNaN(a.data[d])||b.hidden||c++}),c},calculateCircumference:function(a){var b=this.getMeta().count;return b>0&&!isNaN(a)?2*Math.PI/b:0}})}},{25:25,40:40,45:45}],20:[function(a,b,c){"use strict";var d=a(25),e=a(40),f=a(45);d._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),b.exports=function(a){a.controllers.radar=a.DatasetController.extend({datasetElementType:e.Line,dataElementType:e.Point,linkScales:f.noop,update:function(a){var b=this,c=b.getMeta(),d=c.dataset,e=c.data,g=d.custom||{},h=b.getDataset(),i=b.chart.options.elements.line,j=b.chart.scale;void 0!==h.tension&&void 0===h.lineTension&&(h.lineTension=h.tension),f.extend(c.dataset,{_datasetIndex:b.index,_scale:j,_children:e,_loop:!0,_model:{tension:g.tension?g.tension:f.valueOrDefault(h.lineTension,i.tension),backgroundColor:g.backgroundColor?g.backgroundColor:h.backgroundColor||i.backgroundColor,borderWidth:g.borderWidth?g.borderWidth:h.borderWidth||i.borderWidth,borderColor:g.borderColor?g.borderColor:h.borderColor||i.borderColor,fill:g.fill?g.fill:void 0!==h.fill?h.fill:i.fill,borderCapStyle:g.borderCapStyle?g.borderCapStyle:h.borderCapStyle||i.borderCapStyle,borderDash:g.borderDash?g.borderDash:h.borderDash||i.borderDash,borderDashOffset:g.borderDashOffset?g.borderDashOffset:h.borderDashOffset||i.borderDashOffset,borderJoinStyle:g.borderJoinStyle?g.borderJoinStyle:h.borderJoinStyle||i.borderJoinStyle}}),c.dataset.pivot(),f.each(e,function(c,d){b.updateElement(c,d,a)},b),b.updateBezierControlPoints()},updateElement:function(a,b,c){var d=this,e=a.custom||{},g=d.getDataset(),h=d.chart.scale,i=d.chart.options.elements.point,j=h.getPointPositionForValue(b,g.data[b]);void 0!==g.radius&&void 0===g.pointRadius&&(g.pointRadius=g.radius),void 0!==g.hitRadius&&void 0===g.pointHitRadius&&(g.pointHitRadius=g.hitRadius),f.extend(a,{_datasetIndex:d.index,_index:b,_scale:h,_model:{x:c?h.xCenter:j.x,y:c?h.yCenter:j.y,tension:e.tension?e.tension:f.valueOrDefault(g.lineTension,d.chart.options.elements.line.tension),radius:e.radius?e.radius:f.valueAtIndexOrDefault(g.pointRadius,b,i.radius),backgroundColor:e.backgroundColor?e.backgroundColor:f.valueAtIndexOrDefault(g.pointBackgroundColor,b,i.backgroundColor),borderColor:e.borderColor?e.borderColor:f.valueAtIndexOrDefault(g.pointBorderColor,b,i.borderColor),borderWidth:e.borderWidth?e.borderWidth:f.valueAtIndexOrDefault(g.pointBorderWidth,b,i.borderWidth),pointStyle:e.pointStyle?e.pointStyle:f.valueAtIndexOrDefault(g.pointStyle,b,i.pointStyle),hitRadius:e.hitRadius?e.hitRadius:f.valueAtIndexOrDefault(g.pointHitRadius,b,i.hitRadius)}}),a._model.skip=e.skip?e.skip:isNaN(a._model.x)||isNaN(a._model.y)},updateBezierControlPoints:function(){var a=this.chart.chartArea,b=this.getMeta();f.each(b.data,function(c,d){var e=c._model,g=f.splineCurve(f.previousItem(b.data,d,!0)._model,e,f.nextItem(b.data,d,!0)._model,e.tension);e.controlPointPreviousX=Math.max(Math.min(g.previous.x,a.right),a.left),e.controlPointPreviousY=Math.max(Math.min(g.previous.y,a.bottom),a.top),e.controlPointNextX=Math.max(Math.min(g.next.x,a.right),a.left),e.controlPointNextY=Math.max(Math.min(g.next.y,a.bottom),a.top),c.pivot()})},setHoverStyle:function(a){var b=this.chart.data.datasets[a._datasetIndex],c=a.custom||{},d=a._index,e=a._model;e.radius=c.hoverRadius?c.hoverRadius:f.valueAtIndexOrDefault(b.pointHoverRadius,d,this.chart.options.elements.point.hoverRadius),e.backgroundColor=c.hoverBackgroundColor?c.hoverBackgroundColor:f.valueAtIndexOrDefault(b.pointHoverBackgroundColor,d,f.getHoverColor(e.backgroundColor)),e.borderColor=c.hoverBorderColor?c.hoverBorderColor:f.valueAtIndexOrDefault(b.pointHoverBorderColor,d,f.getHoverColor(e.borderColor)),e.borderWidth=c.hoverBorderWidth?c.hoverBorderWidth:f.valueAtIndexOrDefault(b.pointHoverBorderWidth,d,e.borderWidth)},removeHoverStyle:function(a){var b=this.chart.data.datasets[a._datasetIndex],c=a.custom||{},d=a._index,e=a._model,g=this.chart.options.elements.point;e.radius=c.radius?c.radius:f.valueAtIndexOrDefault(b.pointRadius,d,g.radius),e.backgroundColor=c.backgroundColor?c.backgroundColor:f.valueAtIndexOrDefault(b.pointBackgroundColor,d,g.backgroundColor),e.borderColor=c.borderColor?c.borderColor:f.valueAtIndexOrDefault(b.pointBorderColor,d,g.borderColor),e.borderWidth=c.borderWidth?c.borderWidth:f.valueAtIndexOrDefault(b.pointBorderWidth,d,g.borderWidth)}})}},{25:25,40:40,45:45}],21:[function(a,b,c){"use strict";var d=a(25);d._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(a){return"("+a.xLabel+", "+a.yLabel+")"}}}}),b.exports=function(a){a.controllers.scatter=a.controllers.line}},{25:25}],22:[function(a,b,c){"use strict";var d=a(25),e=a(26),f=a(45);d._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:f.noop,onComplete:f.noop}}),b.exports=function(a){a.Animation=e.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),a.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(a,b,c,d){var e,f,g=this.animations;for(b.chart=a,d||(a.animating=!0),e=0,f=g.length;f>e;++e)if(g[e].chart===a)return void(g[e]=b);g.push(b),1===g.length&&this.requestAnimationFrame()},cancelAnimation:function(a){var b=f.findIndex(this.animations,function(b){return b.chart===a});-1!==b&&(this.animations.splice(b,1),a.animating=!1)},requestAnimationFrame:function(){var a=this;null===a.request&&(a.request=f.requestAnimFrame.call(window,function(){a.request=null,a.startDigest()}))},startDigest:function(){var a=this,b=Date.now(),c=0;a.dropFrames>1&&(c=Math.floor(a.dropFrames),a.dropFrames=a.dropFrames%1),a.advance(1+c);var d=Date.now();a.dropFrames+=(d-b)/a.frameDuration,a.animations.length>0&&a.requestAnimationFrame()},advance:function(a){for(var b,c,d=this.animations,e=0;e<d.length;)b=d[e],c=b.chart,b.currentStep=(b.currentStep||0)+a,b.currentStep=Math.min(b.currentStep,b.numSteps),f.callback(b.render,[c,b],c),f.callback(b.onAnimationProgress,[b],c),b.currentStep>=b.numSteps?(f.callback(b.onAnimationComplete,[b],c),c.animating=!1,d.splice(e,1)):++e}},Object.defineProperty(a.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(a.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(a){this.chart=a}})}},{25:25,26:26,45:45}],23:[function(a,b,c){"use strict";var d=a(25),e=a(45),f=a(28),g=a(48);b.exports=function(a){function b(a){a=a||{};var b=a.data=a.data||{};return b.datasets=b.datasets||[],b.labels=b.labels||[],a.options=e.configMerge(d.global,d[a.type],a.options||{}),a}function c(a){var b=a.options;b.scale?a.scale.options=b.scale:b.scales&&b.scales.xAxes.concat(b.scales.yAxes).forEach(function(b){a.scales[b.id].options=b}),a.tooltip._options=b.tooltips}function h(a){return"top"===a||"bottom"===a}var i=a.plugins;a.types={},a.instances={},a.controllers={},e.extend(a.prototype,{construct:function(c,d){var f=this;d=b(d);var h=g.acquireContext(c,d),i=h&&h.canvas,j=i&&i.height,k=i&&i.width;return f.id=e.uid(),f.ctx=h,f.canvas=i,f.config=d,f.width=k,f.height=j,f.aspectRatio=j?k/j:null,f.options=d.options,f._bufferedRender=!1,f.chart=f,f.controller=f,a.instances[f.id]=f,Object.defineProperty(f,"data",{get:function(){return f.config.data},set:function(a){f.config.data=a}}),h&&i?(f.initialize(),void f.update()):void console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var a=this;return i.notify(a,"beforeInit"),e.retinaScale(a,a.options.devicePixelRatio),a.bindEvents(),a.options.responsive&&a.resize(!0),a.ensureScalesHaveIDs(),a.buildScales(),a.initToolTip(),i.notify(a,"afterInit"),a},clear:function(){return e.canvas.clear(this),this},stop:function(){return a.animationService.cancelAnimation(this),this},resize:function(a){var b=this,c=b.options,d=b.canvas,f=c.maintainAspectRatio&&b.aspectRatio||null,g=Math.max(0,Math.floor(e.getMaximumWidth(d))),h=Math.max(0,Math.floor(f?g/f:e.getMaximumHeight(d)));if((b.width!==g||b.height!==h)&&(d.width=b.width=g,d.height=b.height=h,d.style.width=g+"px",d.style.height=h+"px",e.retinaScale(b,c.devicePixelRatio),!a)){var j={width:g,height:h};i.notify(b,"resize",[j]),b.options.onResize&&b.options.onResize(b,j),b.stop(),b.update(b.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var a=this.options,b=a.scales||{},c=a.scale;e.each(b.xAxes,function(a,b){a.id=a.id||"x-axis-"+b}),e.each(b.yAxes,function(a,b){a.id=a.id||"y-axis-"+b}),c&&(c.id=c.id||"scale")},buildScales:function(){var b=this,c=b.options,d=b.scales={},f=[];c.scales&&(f=f.concat((c.scales.xAxes||[]).map(function(a){return{options:a,dtype:"category",dposition:"bottom"}}),(c.scales.yAxes||[]).map(function(a){return{options:a,dtype:"linear",dposition:"left"}}))),c.scale&&f.push({options:c.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),e.each(f,function(c){var f=c.options,g=e.valueOrDefault(f.type,c.dtype),i=a.scaleService.getScaleConstructor(g);if(i){h(f.position)!==h(c.dposition)&&(f.position=c.dposition);var j=new i({id:f.id,options:f,ctx:b.ctx,chart:b});d[j.id]=j,j.mergeTicksOptions(),c.isDefault&&(b.scale=j)}}),a.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var b=this,c=[],d=[];return e.each(b.data.datasets,function(e,f){var g=b.getDatasetMeta(f),h=e.type||b.config.type;if(g.type&&g.type!==h&&(b.destroyDatasetMeta(f),g=b.getDatasetMeta(f)),g.type=h,c.push(g.type),g.controller)g.controller.updateIndex(f);else{var i=a.controllers[g.type];if(void 0===i)throw new Error('"'+g.type+'" is not a chart type.');g.controller=new i(b,f),d.push(g.controller)}},b),d},resetElements:function(){var a=this;e.each(a.data.datasets,function(b,c){a.getDatasetMeta(c).controller.reset()},a)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(a){var b=this;if(a&&"object"==typeof a||(a={duration:a,lazy:arguments[1]}),c(b),i.notify(b,"beforeUpdate")!==!1){b.tooltip._data=b.data;var d=b.buildOrUpdateControllers();e.each(b.data.datasets,function(a,c){b.getDatasetMeta(c).controller.buildOrUpdateElements()},b),b.updateLayout(),e.each(d,function(a){a.reset()}),b.updateDatasets(),b.tooltip.initialize(),b.lastActive=[],i.notify(b,"afterUpdate"),b._bufferedRender?b._bufferedRequest={duration:a.duration,easing:a.easing,lazy:a.lazy}:b.render(a)}},updateLayout:function(){var b=this;i.notify(b,"beforeLayout")!==!1&&(a.layoutService.update(this,this.width,this.height),i.notify(b,"afterScaleUpdate"),i.notify(b,"afterLayout"))},updateDatasets:function(){var a=this;if(i.notify(a,"beforeDatasetsUpdate")!==!1){for(var b=0,c=a.data.datasets.length;c>b;++b)a.updateDataset(b);i.notify(a,"afterDatasetsUpdate")}},updateDataset:function(a){var b=this,c=b.getDatasetMeta(a),d={meta:c,index:a};i.notify(b,"beforeDatasetUpdate",[d])!==!1&&(c.controller.update(),i.notify(b,"afterDatasetUpdate",[d]))},render:function(b){var c=this;b&&"object"==typeof b||(b={duration:b,lazy:arguments[1]});var d=b.duration,f=b.lazy;if(i.notify(c,"beforeRender")!==!1){var g=c.options.animation,h=function(a){i.notify(c,"afterRender"),e.callback(g&&g.onComplete,[a],c)};if(g&&("undefined"!=typeof d&&0!==d||"undefined"==typeof d&&0!==g.duration)){var j=new a.Animation({numSteps:(d||g.duration)/16.66,easing:b.easing||g.easing,render:function(a,b){var c=e.easing.effects[b.easing],d=b.currentStep,f=d/b.numSteps;a.draw(c(f),f,d)},onAnimationProgress:g.onProgress,onAnimationComplete:h});a.animationService.addAnimation(c,j,d,f)}else c.draw(),h(new a.Animation({numSteps:0,chart:c}));return c}},draw:function(a){var b=this;b.clear(),e.isNullOrUndef(a)&&(a=1),b.transition(a),i.notify(b,"beforeDraw",[a])!==!1&&(e.each(b.boxes,function(a){a.draw(b.chartArea)},b),b.scale&&b.scale.draw(),b.drawDatasets(a),b._drawTooltip(a),i.notify(b,"afterDraw",[a]))},transition:function(a){for(var b=this,c=0,d=(b.data.datasets||[]).length;d>c;++c)b.isDatasetVisible(c)&&b.getDatasetMeta(c).controller.transition(a);b.tooltip.transition(a)},drawDatasets:function(a){var b=this;if(i.notify(b,"beforeDatasetsDraw",[a])!==!1){for(var c=(b.data.datasets||[]).length-1;c>=0;--c)b.isDatasetVisible(c)&&b.drawDataset(c,a);i.notify(b,"afterDatasetsDraw",[a])}},drawDataset:function(a,b){var c=this,d=c.getDatasetMeta(a),e={meta:d,index:a,easingValue:b};i.notify(c,"beforeDatasetDraw",[e])!==!1&&(d.controller.draw(b),i.notify(c,"afterDatasetDraw",[e]))},_drawTooltip:function(a){var b=this,c=b.tooltip,d={tooltip:c,easingValue:a};i.notify(b,"beforeTooltipDraw",[d])!==!1&&(c.draw(),i.notify(b,"afterTooltipDraw",[d]))},getElementAtEvent:function(a){return f.modes.single(this,a)},getElementsAtEvent:function(a){return f.modes.label(this,a,{intersect:!0})},getElementsAtXAxis:function(a){return f.modes["x-axis"](this,a,{intersect:!0})},getElementsAtEventForMode:function(a,b,c){var d=f.modes[b];return"function"==typeof d?d(this,a,c):[]},getDatasetAtEvent:function(a){return f.modes.dataset(this,a,{intersect:!0})},getDatasetMeta:function(a){var b=this,c=b.data.datasets[a];c._meta||(c._meta={});var d=c._meta[b.id];return d||(d=c._meta[b.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),d},getVisibleDatasetCount:function(){for(var a=0,b=0,c=this.data.datasets.length;c>b;++b)this.isDatasetVisible(b)&&a++;return a},isDatasetVisible:function(a){var b=this.getDatasetMeta(a);return"boolean"==typeof b.hidden?!b.hidden:!this.data.datasets[a].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(a){var b=this.id,c=this.data.datasets[a],d=c._meta&&c._meta[b];d&&(d.controller.destroy(),delete c._meta[b])},destroy:function(){var b,c,d=this,f=d.canvas;for(d.stop(),b=0,c=d.data.datasets.length;c>b;++b)d.destroyDatasetMeta(b);f&&(d.unbindEvents(),e.canvas.clear(d),g.releaseContext(d.ctx),d.canvas=null,d.ctx=null),i.notify(d,"destroy"),delete a.instances[d.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var b=this;b.tooltip=new a.Tooltip({_chart:b,_chartInstance:b,_data:b.data,_options:b.options.tooltips
15
},b)},bindEvents:function(){var a=this,b=a._listeners={},c=function(){a.eventHandler.apply(a,arguments)};e.each(a.options.events,function(d){g.addEventListener(a,d,c),b[d]=c}),a.options.responsive&&(c=function(){a.resize()},g.addEventListener(a,"resize",c),b.resize=c)},unbindEvents:function(){var a=this,b=a._listeners;b&&(delete a._listeners,e.each(b,function(b,c){g.removeEventListener(a,c,b)}))},updateHoverStyle:function(a,b,c){var d,e,f,g=c?"setHoverStyle":"removeHoverStyle";for(e=0,f=a.length;f>e;++e)d=a[e],d&&this.getDatasetMeta(d._datasetIndex).controller[g](d)},eventHandler:function(a){var b=this,c=b.tooltip;if(i.notify(b,"beforeEvent",[a])!==!1){b._bufferedRender=!0,b._bufferedRequest=null;var d=b.handleEvent(a);d|=c&&c.handleEvent(a),i.notify(b,"afterEvent",[a]);var e=b._bufferedRequest;return e?b.render(e):d&&!b.animating&&(b.stop(),b.render(b.options.hover.animationDuration,!0)),b._bufferedRender=!1,b._bufferedRequest=null,b}},handleEvent:function(a){var b=this,c=b.options||{},d=c.hover,f=!1;return b.lastActive=b.lastActive||[],"mouseout"===a.type?b.active=[]:b.active=b.getElementsAtEventForMode(a,d.mode,d),e.callback(c.onHover||c.hover.onHover,[a["native"],b.active],b),("mouseup"===a.type||"click"===a.type)&&c.onClick&&c.onClick.call(b,a["native"],b.active),b.lastActive.length&&b.updateHoverStyle(b.lastActive,d.mode,!1),b.active.length&&d.mode&&b.updateHoverStyle(b.active,d.mode,!0),f=!e.arrayEquals(b.active,b.lastActive),b.lastActive=b.active,f}}),a.Controller=a}},{25:25,28:28,45:45,48:48}],24:[function(a,b,c){"use strict";var d=a(45);b.exports=function(a){function b(a,b){return a._chartjs?void a._chartjs.listeners.push(b):(Object.defineProperty(a,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[b]}}),void e.forEach(function(b){var c="onData"+b.charAt(0).toUpperCase()+b.slice(1),e=a[b];Object.defineProperty(a,b,{configurable:!0,enumerable:!1,value:function(){var b=Array.prototype.slice.call(arguments),f=e.apply(this,b);return d.each(a._chartjs.listeners,function(a){"function"==typeof a[c]&&a[c].apply(a,b)}),f}})}))}function c(a,b){var c=a._chartjs;if(c){var d=c.listeners,f=d.indexOf(b);-1!==f&&d.splice(f,1),d.length>0||(e.forEach(function(b){delete a[b]}),delete a._chartjs)}}var e=["push","pop","shift","splice","unshift"];a.DatasetController=function(a,b){this.initialize(a,b)},d.extend(a.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(a,b){var c=this;c.chart=a,c.index=b,c.linkScales(),c.addElements()},updateIndex:function(a){this.index=a},linkScales:function(){var a=this,b=a.getMeta(),c=a.getDataset();null===b.xAxisID&&(b.xAxisID=c.xAxisID||a.chart.options.scales.xAxes[0].id),null===b.yAxisID&&(b.yAxisID=c.yAxisID||a.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(a){return this.chart.scales[a]},reset:function(){this.update(!0)},destroy:function(){this._data&&c(this._data,this)},createMetaDataset:function(){var a=this,b=a.datasetElementType;return b&&new b({_chart:a.chart,_datasetIndex:a.index})},createMetaData:function(a){var b=this,c=b.dataElementType;return c&&new c({_chart:b.chart,_datasetIndex:b.index,_index:a})},addElements:function(){var a,b,c=this,d=c.getMeta(),e=c.getDataset().data||[],f=d.data;for(a=0,b=e.length;b>a;++a)f[a]=f[a]||c.createMetaData(a);d.dataset=d.dataset||c.createMetaDataset()},addElementAndReset:function(a){var b=this.createMetaData(a);this.getMeta().data.splice(a,0,b),this.updateElement(b,a,!0)},buildOrUpdateElements:function(){var a=this,d=a.getDataset(),e=d.data||(d.data=[]);a._data!==e&&(a._data&&c(a._data,a),b(e,a),a._data=e),a.resyncElements()},update:d.noop,transition:function(a){for(var b=this.getMeta(),c=b.data||[],d=c.length,e=0;d>e;++e)c[e].transition(a);b.dataset&&b.dataset.transition(a)},draw:function(){var a=this.getMeta(),b=a.data||[],c=b.length,d=0;for(a.dataset&&a.dataset.draw();c>d;++d)b[d].draw()},removeHoverStyle:function(a,b){var c=this.chart.data.datasets[a._datasetIndex],e=a._index,f=a.custom||{},g=d.valueAtIndexOrDefault,h=a._model;h.backgroundColor=f.backgroundColor?f.backgroundColor:g(c.backgroundColor,e,b.backgroundColor),h.borderColor=f.borderColor?f.borderColor:g(c.borderColor,e,b.borderColor),h.borderWidth=f.borderWidth?f.borderWidth:g(c.borderWidth,e,b.borderWidth)},setHoverStyle:function(a){var b=this.chart.data.datasets[a._datasetIndex],c=a._index,e=a.custom||{},f=d.valueAtIndexOrDefault,g=d.getHoverColor,h=a._model;h.backgroundColor=e.hoverBackgroundColor?e.hoverBackgroundColor:f(b.hoverBackgroundColor,c,g(h.backgroundColor)),h.borderColor=e.hoverBorderColor?e.hoverBorderColor:f(b.hoverBorderColor,c,g(h.borderColor)),h.borderWidth=e.hoverBorderWidth?e.hoverBorderWidth:f(b.hoverBorderWidth,c,h.borderWidth)},resyncElements:function(){var a=this,b=a.getMeta(),c=a.getDataset().data,d=b.data.length,e=c.length;d>e?b.data.splice(e,d-e):e>d&&a.insertElements(d,e-d)},insertElements:function(a,b){for(var c=0;b>c;++c)this.addElementAndReset(a+c)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(a,b){this.getMeta().data.splice(a,b),this.insertElements(a,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),a.DatasetController.extend=d.inherits}},{45:45}],25:[function(a,b,c){"use strict";var d=a(45);b.exports={_set:function(a,b){return d.merge(this[a]||(this[a]={}),b)}}},{45:45}],26:[function(a,b,c){"use strict";function d(a,b,c,d){var f,g,h,i,j,k,l,m,n,o=Object.keys(c);for(f=0,g=o.length;g>f;++f)if(h=o[f],k=c[h],b.hasOwnProperty(h)||(b[h]=k),i=b[h],i!==k&&"_"!==h[0]){if(a.hasOwnProperty(h)||(a[h]=i),j=a[h],l=typeof k,l===typeof j)if("string"===l){if(m=e(j),m.valid&&(n=e(k),n.valid)){b[h]=n.mix(m,d).rgbString();continue}}else if("number"===l&&isFinite(j)&&isFinite(k)){b[h]=j+(k-j)*d;continue}b[h]=k}}var e=a(3),f=a(45),g=function(a){f.extend(this,a),this.initialize.apply(this,arguments)};f.extend(g.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var a=this;return a._view||(a._view=f.clone(a._model)),a._start={},a},transition:function(a){var b=this,c=b._model,e=b._start,f=b._view;return c&&1!==a?(f||(f=b._view={}),e||(e=b._start={}),d(e,f,c,a),b):(b._view=c,b._start=null,b)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return f.isNumber(this._model.x)&&f.isNumber(this._model.y)}}),g.extend=f.inherits,b.exports=g},{3:3,45:45}],27:[function(a,b,c){"use strict";var d=a(3),e=a(25),f=a(45);b.exports=function(a){function b(a,b,c){var d;return"string"==typeof a?(d=parseInt(a,10),-1!==a.indexOf("%")&&(d=d/100*b.parentNode[c])):d=a,d}function c(a){return void 0!==a&&null!==a&&"none"!==a}function g(a,d,e){var f=document.defaultView,g=a.parentNode,h=f.getComputedStyle(a)[d],i=f.getComputedStyle(g)[d],j=c(h),k=c(i),l=Number.POSITIVE_INFINITY;return j||k?Math.min(j?b(h,a,e):l,k?b(i,g,e):l):"none"}f.configMerge=function(){return f.merge(f.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(b,c,d,e){var g=c[b]||{},h=d[b];"scales"===b?c[b]=f.scaleMerge(g,h):"scale"===b?c[b]=f.merge(g,[a.scaleService.getScaleDefaults(h.type),h]):f._merger(b,c,d,e)}})},f.scaleMerge=function(){return f.merge(f.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(b,c,d,e){if("xAxes"===b||"yAxes"===b){var g,h,i,j=d[b].length;for(c[b]||(c[b]=[]),g=0;j>g;++g)i=d[b][g],h=f.valueOrDefault(i.type,"xAxes"===b?"category":"linear"),g>=c[b].length&&c[b].push({}),!c[b][g].type||i.type&&i.type!==c[b][g].type?f.merge(c[b][g],[a.scaleService.getScaleDefaults(h),i]):f.merge(c[b][g],i)}else f._merger(b,c,d,e)}})},f.where=function(a,b){if(f.isArray(a)&&Array.prototype.filter)return a.filter(b);var c=[];return f.each(a,function(a){b(a)&&c.push(a)}),c},f.findIndex=Array.prototype.findIndex?function(a,b,c){return a.findIndex(b,c)}:function(a,b,c){c=void 0===c?a:c;for(var d=0,e=a.length;e>d;++d)if(b.call(c,a[d],d,a))return d;return-1},f.findNextWhere=function(a,b,c){f.isNullOrUndef(c)&&(c=-1);for(var d=c+1;d<a.length;d++){var e=a[d];if(b(e))return e}},f.findPreviousWhere=function(a,b,c){f.isNullOrUndef(c)&&(c=a.length);for(var d=c-1;d>=0;d--){var e=a[d];if(b(e))return e}},f.isNumber=function(a){return!isNaN(parseFloat(a))&&isFinite(a)},f.almostEquals=function(a,b,c){return Math.abs(a-b)<c},f.almostWhole=function(a,b){var c=Math.round(a);return a>c-b&&c+b>a},f.max=function(a){return a.reduce(function(a,b){return isNaN(b)?a:Math.max(a,b)},Number.NEGATIVE_INFINITY)},f.min=function(a){return a.reduce(function(a,b){return isNaN(b)?a:Math.min(a,b)},Number.POSITIVE_INFINITY)},f.sign=Math.sign?function(a){return Math.sign(a)}:function(a){return a=+a,0===a||isNaN(a)?a:a>0?1:-1},f.log10=Math.log10?function(a){return Math.log10(a)}:function(a){return Math.log(a)/Math.LN10},f.toRadians=function(a){return a*(Math.PI/180)},f.toDegrees=function(a){return a*(180/Math.PI)},f.getAngleFromPoint=function(a,b){var c=b.x-a.x,d=b.y-a.y,e=Math.sqrt(c*c+d*d),f=Math.atan2(d,c);return f<-.5*Math.PI&&(f+=2*Math.PI),{angle:f,distance:e}},f.distanceBetweenPoints=function(a,b){return Math.sqrt(Math.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2))},f.aliasPixel=function(a){return a%2===0?0:.5},f.splineCurve=function(a,b,c,d){var e=a.skip?b:a,f=b,g=c.skip?b:c,h=Math.sqrt(Math.pow(f.x-e.x,2)+Math.pow(f.y-e.y,2)),i=Math.sqrt(Math.pow(g.x-f.x,2)+Math.pow(g.y-f.y,2)),j=h/(h+i),k=i/(h+i);j=isNaN(j)?0:j,k=isNaN(k)?0:k;var l=d*j,m=d*k;return{previous:{x:f.x-l*(g.x-e.x),y:f.y-l*(g.y-e.y)},next:{x:f.x+m*(g.x-e.x),y:f.y+m*(g.y-e.y)}}},f.EPSILON=Number.EPSILON||1e-14,f.splineCurveMonotone=function(a){var b,c,d,e,g=(a||[]).map(function(a){return{model:a._model,deltaK:0,mK:0}}),h=g.length;for(b=0;h>b;++b)if(d=g[b],!d.model.skip){if(c=b>0?g[b-1]:null,e=h-1>b?g[b+1]:null,e&&!e.model.skip){var i=e.model.x-d.model.x;d.deltaK=0!==i?(e.model.y-d.model.y)/i:0}!c||c.model.skip?d.mK=d.deltaK:!e||e.model.skip?d.mK=c.deltaK:this.sign(c.deltaK)!==this.sign(d.deltaK)?d.mK=0:d.mK=(c.deltaK+d.deltaK)/2}var j,k,l,m;for(b=0;h-1>b;++b)d=g[b],e=g[b+1],d.model.skip||e.model.skip||(f.almostEquals(d.deltaK,0,this.EPSILON)?d.mK=e.mK=0:(j=d.mK/d.deltaK,k=e.mK/d.deltaK,m=Math.pow(j,2)+Math.pow(k,2),9>=m||(l=3/Math.sqrt(m),d.mK=j*l*d.deltaK,e.mK=k*l*d.deltaK)));var n;for(b=0;h>b;++b)d=g[b],d.model.skip||(c=b>0?g[b-1]:null,e=h-1>b?g[b+1]:null,c&&!c.model.skip&&(n=(d.model.x-c.model.x)/3,d.model.controlPointPreviousX=d.model.x-n,d.model.controlPointPreviousY=d.model.y-n*d.mK),e&&!e.model.skip&&(n=(e.model.x-d.model.x)/3,d.model.controlPointNextX=d.model.x+n,d.model.controlPointNextY=d.model.y+n*d.mK))},f.nextItem=function(a,b,c){return c?b>=a.length-1?a[0]:a[b+1]:b>=a.length-1?a[a.length-1]:a[b+1]},f.previousItem=function(a,b,c){return c?0>=b?a[a.length-1]:a[b-1]:0>=b?a[0]:a[b-1]},f.niceNum=function(a,b){var c,d=Math.floor(f.log10(a)),e=a/Math.pow(10,d);return c=b?1.5>e?1:3>e?2:7>e?5:10:1>=e?1:2>=e?2:5>=e?5:10,c*Math.pow(10,d)},f.requestAnimFrame=function(){return"undefined"==typeof window?function(a){a()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){return window.setTimeout(a,1e3/60)}}(),f.getRelativePosition=function(a,b){var c,d,e=a.originalEvent||a,g=a.currentTarget||a.srcElement,h=g.getBoundingClientRect(),i=e.touches;i&&i.length>0?(c=i[0].clientX,d=i[0].clientY):(c=e.clientX,d=e.clientY);var j=parseFloat(f.getStyle(g,"padding-left")),k=parseFloat(f.getStyle(g,"padding-top")),l=parseFloat(f.getStyle(g,"padding-right")),m=parseFloat(f.getStyle(g,"padding-bottom")),n=h.right-h.left-j-l,o=h.bottom-h.top-k-m;return c=Math.round((c-h.left-j)/n*g.width/b.currentDevicePixelRatio),d=Math.round((d-h.top-k)/o*g.height/b.currentDevicePixelRatio),{x:c,y:d}},f.getConstraintWidth=function(a){return g(a,"max-width","clientWidth")},f.getConstraintHeight=function(a){return g(a,"max-height","clientHeight")},f.getMaximumWidth=function(a){var b=a.parentNode;if(!b)return a.clientWidth;var c=parseInt(f.getStyle(b,"padding-left"),10),d=parseInt(f.getStyle(b,"padding-right"),10),e=b.clientWidth-c-d,g=f.getConstraintWidth(a);return isNaN(g)?e:Math.min(e,g)},f.getMaximumHeight=function(a){var b=a.parentNode;if(!b)return a.clientHeight;var c=parseInt(f.getStyle(b,"padding-top"),10),d=parseInt(f.getStyle(b,"padding-bottom"),10),e=b.clientHeight-c-d,g=f.getConstraintHeight(a);return isNaN(g)?e:Math.min(e,g)},f.getStyle=function(a,b){return a.currentStyle?a.currentStyle[b]:document.defaultView.getComputedStyle(a,null).getPropertyValue(b)},f.retinaScale=function(a,b){var c=a.currentDevicePixelRatio=b||window.devicePixelRatio||1;if(1!==c){var d=a.canvas,e=a.height,f=a.width;d.height=e*c,d.width=f*c,a.ctx.scale(c,c),d.style.height=e+"px",d.style.width=f+"px"}},f.fontString=function(a,b,c){return b+" "+a+"px "+c},f.longestText=function(a,b,c,d){d=d||{};var e=d.data=d.data||{},g=d.garbageCollect=d.garbageCollect||[];d.font!==b&&(e=d.data={},g=d.garbageCollect=[],d.font=b),a.font=b;var h=0;f.each(c,function(b){void 0!==b&&null!==b&&f.isArray(b)!==!0?h=f.measureText(a,e,g,h,b):f.isArray(b)&&f.each(b,function(b){void 0===b||null===b||f.isArray(b)||(h=f.measureText(a,e,g,h,b))})});var i=g.length/2;if(i>c.length){for(var j=0;i>j;j++)delete e[g[j]];g.splice(0,i)}return h},f.measureText=function(a,b,c,d,e){var f=b[e];return f||(f=b[e]=a.measureText(e).width,c.push(e)),f>d&&(d=f),d},f.numberOfLabelLines=function(a){var b=1;return f.each(a,function(a){f.isArray(a)&&a.length>b&&(b=a.length)}),b},f.color=d?function(a){return a instanceof CanvasGradient&&(a=e.global.defaultColor),d(a)}:function(a){return console.error("Color.js not found!"),a},f.getHoverColor=function(a){return a instanceof CanvasPattern?a:f.color(a).saturate(.5).darken(.1).rgbString()}}},{25:25,3:3,45:45}],28:[function(a,b,c){"use strict";function d(a,b){return a["native"]?{x:a.x,y:a.y}:j.getRelativePosition(a,b)}function e(a,b){var c,d,e,f,g,h=a.data.datasets;for(d=0,f=h.length;f>d;++d)if(a.isDatasetVisible(d))for(c=a.getDatasetMeta(d),e=0,g=c.data.length;g>e;++e){var i=c.data[e];i._view.skip||b(i)}}function f(a,b){var c=[];return e(a,function(a){a.inRange(b.x,b.y)&&c.push(a)}),c}function g(a,b,c,d){var f=Number.POSITIVE_INFINITY,g=[];return e(a,function(a){if(!c||a.inRange(b.x,b.y)){var e=a.getCenterPoint(),h=d(b,e);f>h?(g=[a],f=h):h===f&&g.push(a)}}),g}function h(a){var b=-1!==a.indexOf("x"),c=-1!==a.indexOf("y");return function(a,d){var e=b?Math.abs(a.x-d.x):0,f=c?Math.abs(a.y-d.y):0;return Math.sqrt(Math.pow(e,2)+Math.pow(f,2))}}function i(a,b,c){var e=d(b,a);c.axis=c.axis||"x";var i=h(c.axis),j=c.intersect?f(a,e):g(a,e,!1,i),k=[];return j.length?(a.data.datasets.forEach(function(b,c){if(a.isDatasetVisible(c)){var d=a.getDatasetMeta(c),e=d.data[j[0]._index];e&&!e._view.skip&&k.push(e)}}),k):[]}var j=a(45);b.exports={modes:{single:function(a,b){var c=d(b,a),f=[];return e(a,function(a){return a.inRange(c.x,c.y)?(f.push(a),f):void 0}),f.slice(0,1)},label:i,index:i,dataset:function(a,b,c){var e=d(b,a);c.axis=c.axis||"xy";var i=h(c.axis),j=c.intersect?f(a,e):g(a,e,!1,i);return j.length>0&&(j=a.getDatasetMeta(j[0]._datasetIndex).data),j},"x-axis":function(a,b){return i(a,b,{intersect:!1})},point:function(a,b){var c=d(b,a);return f(a,c)},nearest:function(a,b,c){var e=d(b,a);c.axis=c.axis||"xy";var f=h(c.axis),i=g(a,e,c.intersect,f);return i.length>1&&i.sort(function(a,b){var c=a.getArea(),d=b.getArea(),e=c-d;return 0===e&&(e=a._datasetIndex-b._datasetIndex),e}),i.slice(0,1)},x:function(a,b,c){var f=d(b,a),g=[],h=!1;return e(a,function(a){a.inXRange(f.x)&&g.push(a),a.inRange(f.x,f.y)&&(h=!0)}),c.intersect&&!h&&(g=[]),g},y:function(a,b,c){var f=d(b,a),g=[],h=!1;return e(a,function(a){a.inYRange(f.y)&&g.push(a),a.inRange(f.x,f.y)&&(h=!0)}),c.intersect&&!h&&(g=[]),g}}}},{45:45}],29:[function(a,b,c){"use strict";var d=a(25);d._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),b.exports=function(){var a=function(a,b){return this.construct(a,b),this};return a.Chart=a,a}},{25:25}],30:[function(a,b,c){"use strict";var d=a(45);b.exports=function(a){function b(a,b){return d.where(a,function(a){return a.position===b})}function c(a,b){a.forEach(function(a,b){return a._tmpIndex_=b,a}),a.sort(function(a,c){var d=b?c:a,e=b?a:c;return d.weight===e.weight?d._tmpIndex_-e._tmpIndex_:d.weight-e.weight}),a.forEach(function(a){delete a._tmpIndex_})}a.layoutService={defaults:{},addBox:function(a,b){a.boxes||(a.boxes=[]),b.fullWidth=b.fullWidth||!1,b.position=b.position||"top",b.weight=b.weight||0,a.boxes.push(b)},removeBox:function(a,b){var c=a.boxes?a.boxes.indexOf(b):-1;-1!==c&&a.boxes.splice(c,1)},configure:function(a,b,c){for(var d,e=["fullWidth","position","weight"],f=e.length,g=0;f>g;++g)d=e[g],c.hasOwnProperty(d)&&(b[d]=c[d])},update:function(a,e,f){function g(a){var b,c=a.isHorizontal();c?(b=a.update(a.fullWidth?v:B,A),C-=b.height):(b=a.update(z,y),B-=b.width),D.push({horizontal:c,minSize:b,box:a})}function h(a){var b=d.findNextWhere(D,function(b){return b.box===a});if(b)if(a.isHorizontal()){var c={left:Math.max(I,E),right:Math.max(J,F),top:0,bottom:0};a.update(a.fullWidth?v:B,w/2,c)}else a.update(b.minSize.width,C)}function i(a){var b=d.findNextWhere(D,function(b){return b.box===a}),c={left:0,right:0,top:K,bottom:L};b&&a.update(b.minSize.width,C,c)}function j(a){a.isHorizontal()?(a.left=a.fullWidth?m:I,a.right=a.fullWidth?e-n:I+B,a.top=R,a.bottom=R+a.height,R=a.bottom):(a.left=Q,a.right=Q+a.width,a.top=K,a.bottom=K+C,Q=a.right)}if(a){var k=a.options.layout||{},l=d.options.toPadding(k.padding),m=l.left,n=l.right,o=l.top,p=l.bottom,q=b(a.boxes,"left"),r=b(a.boxes,"right"),s=b(a.boxes,"top"),t=b(a.boxes,"bottom"),u=b(a.boxes,"chartArea");c(q,!0),c(r,!1),c(s,!0),c(t,!1);var v=e-m-n,w=f-o-p,x=v/2,y=w/2,z=(e-x)/(q.length+r.length),A=(f-y)/(s.length+t.length),B=v,C=w,D=[];d.each(q.concat(r,s,t),g);var E=0,F=0,G=0,H=0;d.each(s.concat(t),function(a){if(a.getPadding){var b=a.getPadding();E=Math.max(E,b.left),F=Math.max(F,b.right)}}),d.each(q.concat(r),function(a){if(a.getPadding){var b=a.getPadding();G=Math.max(G,b.top),H=Math.max(H,b.bottom)}});var I=m,J=n,K=o,L=p;d.each(q.concat(r),h),d.each(q,function(a){I+=a.width}),d.each(r,function(a){J+=a.width}),d.each(s.concat(t),h),d.each(s,function(a){K+=a.height}),d.each(t,function(a){L+=a.height}),d.each(q.concat(r),i),I=m,J=n,K=o,L=p,d.each(q,function(a){I+=a.width}),d.each(r,function(a){J+=a.width}),d.each(s,function(a){K+=a.height}),d.each(t,function(a){L+=a.height});var M=Math.max(E-I,0);I+=M,J+=Math.max(F-J,0);var N=Math.max(G-K,0);K+=N,L+=Math.max(H-L,0);var O=f-K-L,P=e-I-J;(P!==B||O!==C)&&(d.each(q,function(a){a.height=O}),d.each(r,function(a){a.height=O}),d.each(s,function(a){a.fullWidth||(a.width=P)}),d.each(t,function(a){a.fullWidth||(a.width=P)}),C=O,B=P);var Q=m+M,R=o+N;d.each(q.concat(s),j),Q+=B,R+=C,d.each(r,j),d.each(t,j),a.chartArea={left:I,top:K,right:I+B,bottom:K+C},d.each(u,function(b){b.left=a.chartArea.left,b.top=a.chartArea.top,b.right=a.chartArea.right,b.bottom=a.chartArea.bottom,b.update(B,C)})}}}}},{45:45}],31:[function(a,b,c){"use strict";var d=a(25),e=a(26),f=a(45);d._set("global",{plugins:{}}),b.exports=function(a){a.plugins={_plugins:[],_cacheId:0,register:function(a){var b=this._plugins;[].concat(a).forEach(function(a){-1===b.indexOf(a)&&b.push(a)}),this._cacheId++},unregister:function(a){var b=this._plugins;[].concat(a).forEach(function(a){var c=b.indexOf(a);-1!==c&&b.splice(c,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(a,b,c){var d,e,f,g,h,i=this.descriptors(a),j=i.length;for(d=0;j>d;++d)if(e=i[d],f=e.plugin,h=f[b],"function"==typeof h&&(g=[a].concat(c||[]),g.push(e.options),h.apply(f,g)===!1))return!1;return!0},descriptors:function(a){var b=a._plugins||(a._plugins={});if(b.id===this._cacheId)return b.descriptors;var c=[],e=[],g=a&&a.config||{},h=g.options&&g.options.plugins||{};return this._plugins.concat(g.plugins||[]).forEach(function(a){var b=c.indexOf(a);if(-1===b){var g=a.id,i=h[g];i!==!1&&(i===!0&&(i=f.clone(d.global.plugins[g])),c.push(a),e.push({plugin:a,options:i||{}}))}}),b.descriptors=e,b.id=this._cacheId,e}},a.pluginService=a.plugins,a.PluginBase=e.extend({})}},{25:25,26:26,45:45}],32:[function(a,b,c){"use strict";function d(a){var b,c,d=[];for(b=0,c=a.length;c>b;++b)d.push(a[b].label);return d}function e(a,b,c){var d=a.getPixelForTick(b);return c&&(d-=0===b?(a.getPixelForTick(1)-d)/2:(d-a.getPixelForTick(b-1))/2),d}var f=a(25),g=a(26),h=a(45),i=a(34);f._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:i.formatters.values,minor:{},major:{}}}),b.exports=function(a){function b(a,b,c){return h.isArray(b)?h.longestText(a,c,b):a.measureText(b).width}function c(a){var b=h.valueOrDefault,c=f.global,d=b(a.fontSize,c.defaultFontSize),e=b(a.fontStyle,c.defaultFontStyle),g=b(a.fontFamily,c.defaultFontFamily);return{size:d,style:e,family:g,font:h.fontString(d,e,g)}}function i(a){return h.options.toLineHeight(h.valueOrDefault(a.lineHeight,1.2),h.valueOrDefault(a.fontSize,f.global.defaultFontSize))}a.Scale=g.extend({getPadding:function(){var a=this;return{left:a.paddingLeft||0,top:a.paddingTop||0,right:a.paddingRight||0,bottom:a.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var a=this.options.ticks;a.minor===!1&&(a.minor={display:!1}),a.major===!1&&(a.major={display:!1});for(var b in a)"major"!==b&&"minor"!==b&&("undefined"==typeof a.minor[b]&&(a.minor[b]=a[b]),"undefined"==typeof a.major[b]&&(a.major[b]=a[b]))},beforeUpdate:function(){h.callback(this.options.beforeUpdate,[this])},update:function(a,b,c){var d,e,f,g,i,j,k=this;for(k.beforeUpdate(),k.maxWidth=a,k.maxHeight=b,k.margins=h.extend({left:0,right:0,top:0,bottom:0},c),k.longestTextCache=k.longestTextCache||{},k.beforeSetDimensions(),k.setDimensions(),k.afterSetDimensions(),k.beforeDataLimits(),k.determineDataLimits(),k.afterDataLimits(),k.beforeBuildTicks(),i=k.buildTicks()||[],k.afterBuildTicks(),k.beforeTickToLabelConversion(),f=k.convertTicksToLabels(i)||k.ticks,k.afterTickToLabelConversion(),k.ticks=f,d=0,e=f.length;e>d;++d)g=f[d],j=i[d],j?j.label=g:i.push(j={label:g,major:!1});return k._ticks=i,k.beforeCalculateTickRotation(),k.calculateTickRotation(),k.afterCalculateTickRotation(),k.beforeFit(),k.fit(),k.afterFit(),k.afterUpdate(),k.minSize},afterUpdate:function(){h.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){h.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var a=this;a.isHorizontal()?(a.width=a.maxWidth,a.left=0,a.right=a.width):(a.height=a.maxHeight,a.top=0,a.bottom=a.height),a.paddingLeft=0,a.paddingTop=0,a.paddingRight=0,a.paddingBottom=0},afterSetDimensions:function(){h.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){h.callback(this.options.beforeDataLimits,[this])},determineDataLimits:h.noop,afterDataLimits:function(){h.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){h.callback(this.options.beforeBuildTicks,[this])},buildTicks:h.noop,afterBuildTicks:function(){h.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){h.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var a=this,b=a.options.ticks;a.ticks=a.ticks.map(b.userCallback||b.callback,this)},afterTickToLabelConversion:function(){h.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){h.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var a=this,b=a.ctx,e=a.options.ticks,f=d(a._ticks),g=c(e);b.font=g.font;var i=e.minRotation||0;if(f.length&&a.options.display&&a.isHorizontal())for(var j,k,l=h.longestText(b,g.font,f,a.longestTextCache),m=l,n=a.getPixelForTick(1)-a.getPixelForTick(0)-6;m>n&&i<e.maxRotation;){var o=h.toRadians(i);if(j=Math.cos(o),k=Math.sin(o),k*l>a.maxHeight){i--;break}i++,m=j*l}a.labelRotation=i},afterCalculateTickRotation:function(){h.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){h.callback(this.options.beforeFit,[this])},fit:function(){var a=this,e=a.minSize={width:0,height:0},f=d(a._ticks),g=a.options,j=g.ticks,k=g.scaleLabel,l=g.gridLines,m=g.display,n=a.isHorizontal(),o=c(j),p=g.gridLines.tickMarkLength;if(n?e.width=a.isFullWidth()?a.maxWidth-a.margins.left-a.margins.right:a.maxWidth:e.width=m&&l.drawTicks?p:0,n?e.height=m&&l.drawTicks?p:0:e.height=a.maxHeight,k.display&&m){var q=i(k),r=h.options.toPadding(k.padding),s=q+r.height;n?e.height+=s:e.width+=s}if(j.display&&m){var t=h.longestText(a.ctx,o.font,f,a.longestTextCache),u=h.numberOfLabelLines(f),v=.5*o.size,w=a.options.ticks.padding;if(n){a.longestLabelWidth=t;var x=h.toRadians(a.labelRotation),y=Math.cos(x),z=Math.sin(x),A=z*t+o.size*u+v*(u-1)+v;e.height=Math.min(a.maxHeight,e.height+A+w),a.ctx.font=o.font;var B=b(a.ctx,f[0],o.font),C=b(a.ctx,f[f.length-1],o.font);0!==a.labelRotation?(a.paddingLeft="bottom"===g.position?y*B+3:y*v+3,a.paddingRight="bottom"===g.position?y*v+3:y*C+3):(a.paddingLeft=B/2+3,a.paddingRight=C/2+3)}else j.mirror?t=0:t+=w+v,e.width=Math.min(a.maxWidth,e.width+t),a.paddingTop=o.size/2,a.paddingBottom=o.size/2}a.handleMargins(),a.width=e.width,a.height=e.height},handleMargins:function(){var a=this;a.margins&&(a.paddingLeft=Math.max(a.paddingLeft-a.margins.left,0),a.paddingTop=Math.max(a.paddingTop-a.margins.top,0),a.paddingRight=Math.max(a.paddingRight-a.margins.right,0),a.paddingBottom=Math.max(a.paddingBottom-a.margins.bottom,0))},afterFit:function(){h.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(a){if(h.isNullOrUndef(a))return NaN;if("number"==typeof a&&!isFinite(a))return NaN;if(a)if(this.isHorizontal()){if(void 0!==a.x)return this.getRightValue(a.x)}else if(void 0!==a.y)return this.getRightValue(a.y);return a},getLabelForIndex:h.noop,getPixelForValue:h.noop,getValueForPixel:h.noop,getPixelForTick:function(a){var b=this,c=b.options.offset;if(b.isHorizontal()){var d=b.width-(b.paddingLeft+b.paddingRight),e=d/Math.max(b._ticks.length-(c?0:1),1),f=e*a+b.paddingLeft;c&&(f+=e/2);var g=b.left+Math.round(f);return g+=b.isFullWidth()?b.margins.left:0}var h=b.height-(b.paddingTop+b.paddingBottom);return b.top+a*(h/(b._ticks.length-1))},getPixelForDecimal:function(a){var b=this;if(b.isHorizontal()){var c=b.width-(b.paddingLeft+b.paddingRight),d=c*a+b.paddingLeft,e=b.left+Math.round(d);return e+=b.isFullWidth()?b.margins.left:0}return b.top+a*b.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var a=this,b=a.min,c=a.max;return a.beginAtZero?0:0>b&&0>c?c:b>0&&c>0?b:0},_autoSkip:function(a){var b,c,d,e,f,g=this,i=g.isHorizontal(),j=g.options.ticks.minor,k=a.length,l=h.toRadians(g.labelRotation),m=Math.cos(l),n=g.longestLabelWidth*m,o=[];for(j.maxTicksLimit&&(f=j.maxTicksLimit),i&&(b=!1,(n+j.autoSkipPadding)*k>g.width-(g.paddingLeft+g.paddingRight)&&(b=1+Math.floor((n+j.autoSkipPadding)*k/(g.width-(g.paddingLeft+g.paddingRight)))),f&&k>f&&(b=Math.max(b,Math.floor(k/f)))),c=0;k>c;c++)d=a[c],e=b>1&&c%b>0||c%b===0&&c+b>=k,e&&c!==k-1&&delete d.label,o.push(d);return o},draw:function(a){var b=this,d=b.options;if(d.display){var g=b.ctx,j=f.global,k=d.ticks.minor,l=d.ticks.major||k,m=d.gridLines,n=d.scaleLabel,o=0!==b.labelRotation,p=b.isHorizontal(),q=k.autoSkip?b._autoSkip(b.getTicks()):b.getTicks(),r=h.valueOrDefault(k.fontColor,j.defaultFontColor),s=c(k),t=h.valueOrDefault(l.fontColor,j.defaultFontColor),u=c(l),v=m.drawTicks?m.tickMarkLength:0,w=h.valueOrDefault(n.fontColor,j.defaultFontColor),x=c(n),y=h.options.toPadding(n.padding),z=h.toRadians(b.labelRotation),A=[],B="right"===d.position?b.left:b.right-v,C="right"===d.position?b.left+v:b.right,D="bottom"===d.position?b.top:b.bottom-v,E="bottom"===d.position?b.top+v:b.bottom;if(h.each(q,function(c,f){if(!h.isNullOrUndef(c.label)){var g,i,l,n,r=c.label;f===b.zeroLineIndex&&d.offset===m.offsetGridLines?(g=m.zeroLineWidth,i=m.zeroLineColor,l=m.zeroLineBorderDash,n=m.zeroLineBorderDashOffset):(g=h.valueAtIndexOrDefault(m.lineWidth,f),i=h.valueAtIndexOrDefault(m.color,f),l=h.valueOrDefault(m.borderDash,j.borderDash),n=h.valueOrDefault(m.borderDashOffset,j.borderDashOffset));var s,t,u,w,x,y,F,G,H,I,J="middle",K="middle",L=k.padding;if(p){var M=v+L;"bottom"===d.position?(K=o?"middle":"top",J=o?"right":"center",I=b.top+M):(K=o?"middle":"bottom",J=o?"left":"center",I=b.bottom-M);var N=e(b,f,m.offsetGridLines&&q.length>1);N<b.left&&(i="rgba(0,0,0,0)"),N+=h.aliasPixel(g),H=b.getPixelForTick(f)+k.labelOffset,s=u=x=F=N,t=D,w=E,y=a.top,G=a.bottom}else{var O,P="left"===d.position;k.mirror?(J=P?"left":"right",O=L):(J=P?"right":"left",O=v+L),H=P?b.right-O:b.left+O;var Q=e(b,f,m.offsetGridLines&&q.length>1);Q<b.top&&(i="rgba(0,0,0,0)"),Q+=h.aliasPixel(g),I=b.getPixelForTick(f)+k.labelOffset,s=B,u=C,x=a.left,F=a.right,t=w=y=G=Q}A.push({tx1:s,ty1:t,tx2:u,ty2:w,x1:x,y1:y,x2:F,y2:G,labelX:H,labelY:I,glWidth:g,glColor:i,glBorderDash:l,glBorderDashOffset:n,rotation:-1*z,label:r,major:c.major,textBaseline:K,textAlign:J})}}),h.each(A,function(a){if(m.display&&(g.save(),g.lineWidth=a.glWidth,g.strokeStyle=a.glColor,g.setLineDash&&(g.setLineDash(a.glBorderDash),g.lineDashOffset=a.glBorderDashOffset),g.beginPath(),m.drawTicks&&(g.moveTo(a.tx1,a.ty1),g.lineTo(a.tx2,a.ty2)),m.drawOnChartArea&&(g.moveTo(a.x1,a.y1),g.lineTo(a.x2,a.y2)),g.stroke(),g.restore()),k.display){g.save(),g.translate(a.labelX,a.labelY),g.rotate(a.rotation),g.font=a.major?u.font:s.font,g.fillStyle=a.major?t:r,g.textBaseline=a.textBaseline,g.textAlign=a.textAlign;var b=a.label;if(h.isArray(b))for(var c=0,d=0;c<b.length;++c)g.fillText(""+b[c],0,d),d+=1.5*s.size;else g.fillText(b,0,0);g.restore()}}),n.display){var F,G,H=0,I=i(n)/2;if(p)F=b.left+(b.right-b.left)/2,G="bottom"===d.position?b.bottom-I-y.bottom:b.top+I+y.top;else{var J="left"===d.position;F=J?b.left+I+y.top:b.right-I-y.top,G=b.top+(b.bottom-b.top)/2,H=J?-.5*Math.PI:.5*Math.PI}g.save(),g.translate(F,G),g.rotate(H),g.textAlign="center",g.textBaseline="middle",g.fillStyle=w,g.font=x.font,g.fillText(n.labelString,0,0),g.restore()}if(m.drawBorder){g.lineWidth=h.valueAtIndexOrDefault(m.lineWidth,0),g.strokeStyle=h.valueAtIndexOrDefault(m.color,0);var K=b.left,L=b.right,M=b.top,N=b.bottom,O=h.aliasPixel(g.lineWidth);p?(M=N="top"===d.position?b.bottom:b.top,M+=O,N+=O):(K=L="left"===d.position?b.right:b.left,K+=O,L+=O),g.beginPath(),g.moveTo(K,M),g.lineTo(L,N),g.stroke()}}}})}},{25:25,26:26,34:34,45:45}],33:[function(a,b,c){"use strict";var d=a(25),e=a(45);b.exports=function(a){a.scaleService={constructors:{},defaults:{},registerScaleType:function(a,b,c){
16
this.constructors[a]=b,this.defaults[a]=e.clone(c)},getScaleConstructor:function(a){return this.constructors.hasOwnProperty(a)?this.constructors[a]:void 0},getScaleDefaults:function(a){return this.defaults.hasOwnProperty(a)?e.merge({},[d.scale,this.defaults[a]]):{}},updateScaleDefaults:function(a,b){var c=this;c.defaults.hasOwnProperty(a)&&(c.defaults[a]=e.extend(c.defaults[a],b))},addScalesToLayout:function(b){e.each(b.scales,function(c){c.fullWidth=c.options.fullWidth,c.position=c.options.position,c.weight=c.options.weight,a.layoutService.addBox(b,c)})}}}},{25:25,45:45}],34:[function(a,b,c){"use strict";var d=a(45);b.exports={generators:{linear:function(a,b){var c,e=[];if(a.stepSize&&a.stepSize>0)c=a.stepSize;else{var f=d.niceNum(b.max-b.min,!1);c=d.niceNum(f/(a.maxTicks-1),!0)}var g=Math.floor(b.min/c)*c,h=Math.ceil(b.max/c)*c;a.min&&a.max&&a.stepSize&&d.almostWhole((a.max-a.min)/a.stepSize,c/1e3)&&(g=a.min,h=a.max);var i=(h-g)/c;i=d.almostEquals(i,Math.round(i),c/1e3)?Math.round(i):Math.ceil(i),e.push(void 0!==a.min?a.min:g);for(var j=1;i>j;++j)e.push(g+j*c);return e.push(void 0!==a.max?a.max:h),e},logarithmic:function(a,b){var c,e,f=[],g=d.valueOrDefault,h=g(a.min,Math.pow(10,Math.floor(d.log10(b.min)))),i=Math.floor(d.log10(b.max)),j=Math.ceil(b.max/Math.pow(10,i));0===h?(c=Math.floor(d.log10(b.minNotZero)),e=Math.floor(b.minNotZero/Math.pow(10,c)),f.push(h),h=e*Math.pow(10,c)):(c=Math.floor(d.log10(h)),e=Math.floor(h/Math.pow(10,c)));do f.push(h),++e,10===e&&(e=1,++c),h=e*Math.pow(10,c);while(i>c||c===i&&j>e);var k=g(a.max,h);return f.push(k),f}},formatters:{values:function(a){return d.isArray(a)?a:""+a},linear:function(a,b,c){var e=c.length>3?c[2]-c[1]:c[1]-c[0];Math.abs(e)>1&&a!==Math.floor(a)&&(e=a-Math.floor(a));var f=d.log10(Math.abs(e)),g="";if(0!==a){var h=-1*Math.floor(f);h=Math.max(Math.min(h,20),0),g=a.toFixed(h)}else g="0";return g},logarithmic:function(a,b,c){var e=a/Math.pow(10,Math.floor(d.log10(a)));return 0===a?"0":1===e||2===e||5===e||0===b||b===c.length-1?a.toExponential():""}}}},{45:45}],35:[function(a,b,c){"use strict";var d=a(25),e=a(26),f=a(45);d._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:f.noop,title:function(a,b){var c="",d=b.labels,e=d?d.length:0;if(a.length>0){var f=a[0];f.xLabel?c=f.xLabel:e>0&&f.index<e&&(c=d[f.index])}return c},afterTitle:f.noop,beforeBody:f.noop,beforeLabel:f.noop,label:function(a,b){var c=b.datasets[a.datasetIndex].label||"";return c&&(c+=": "),c+=a.yLabel},labelColor:function(a,b){var c=b.getDatasetMeta(a.datasetIndex),d=c.data[a.index],e=d._view;return{borderColor:e.borderColor,backgroundColor:e.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:f.noop,afterBody:f.noop,beforeFooter:f.noop,footer:f.noop,afterFooter:f.noop}}}),b.exports=function(a){function b(a,b){var c=f.color(a);return c.alpha(b*c.alpha()).rgbaString()}function c(a,b){return b&&(f.isArray(b)?Array.prototype.push.apply(a,b):a.push(b)),a}function g(a){var b=a._xScale,c=a._yScale||a._scale,d=a._index,e=a._datasetIndex;return{xLabel:b?b.getLabelForIndex(d,e):"",yLabel:c?c.getLabelForIndex(d,e):"",index:d,datasetIndex:e,x:a._model.x,y:a._model.y}}function h(a){var b=d.global,c=f.valueOrDefault;return{xPadding:a.xPadding,yPadding:a.yPadding,xAlign:a.xAlign,yAlign:a.yAlign,bodyFontColor:a.bodyFontColor,_bodyFontFamily:c(a.bodyFontFamily,b.defaultFontFamily),_bodyFontStyle:c(a.bodyFontStyle,b.defaultFontStyle),_bodyAlign:a.bodyAlign,bodyFontSize:c(a.bodyFontSize,b.defaultFontSize),bodySpacing:a.bodySpacing,titleFontColor:a.titleFontColor,_titleFontFamily:c(a.titleFontFamily,b.defaultFontFamily),_titleFontStyle:c(a.titleFontStyle,b.defaultFontStyle),titleFontSize:c(a.titleFontSize,b.defaultFontSize),_titleAlign:a.titleAlign,titleSpacing:a.titleSpacing,titleMarginBottom:a.titleMarginBottom,footerFontColor:a.footerFontColor,_footerFontFamily:c(a.footerFontFamily,b.defaultFontFamily),_footerFontStyle:c(a.footerFontStyle,b.defaultFontStyle),footerFontSize:c(a.footerFontSize,b.defaultFontSize),_footerAlign:a.footerAlign,footerSpacing:a.footerSpacing,footerMarginTop:a.footerMarginTop,caretSize:a.caretSize,cornerRadius:a.cornerRadius,backgroundColor:a.backgroundColor,opacity:0,legendColorBackground:a.multiKeyBackground,displayColors:a.displayColors,borderColor:a.borderColor,borderWidth:a.borderWidth}}function i(a,b){var c=a._chart.ctx,d=2*b.yPadding,e=0,g=b.body,h=g.reduce(function(a,b){return a+b.before.length+b.lines.length+b.after.length},0);h+=b.beforeBody.length+b.afterBody.length;var i=b.title.length,j=b.footer.length,k=b.titleFontSize,l=b.bodyFontSize,m=b.footerFontSize;d+=i*k,d+=i?(i-1)*b.titleSpacing:0,d+=i?b.titleMarginBottom:0,d+=h*l,d+=h?(h-1)*b.bodySpacing:0,d+=j?b.footerMarginTop:0,d+=j*m,d+=j?(j-1)*b.footerSpacing:0;var n=0,o=function(a){e=Math.max(e,c.measureText(a).width+n)};return c.font=f.fontString(k,b._titleFontStyle,b._titleFontFamily),f.each(b.title,o),c.font=f.fontString(l,b._bodyFontStyle,b._bodyFontFamily),f.each(b.beforeBody.concat(b.afterBody),o),n=b.displayColors?l+2:0,f.each(g,function(a){f.each(a.before,o),f.each(a.lines,o),f.each(a.after,o)}),n=0,c.font=f.fontString(m,b._footerFontStyle,b._footerFontFamily),f.each(b.footer,o),e+=2*b.xPadding,{width:e,height:d}}function j(a,b){var c=a._model,d=a._chart,e=a._chart.chartArea,f="center",g="center";c.y<b.height?g="top":c.y>d.height-b.height&&(g="bottom");var h,i,j,k,l,m=(e.left+e.right)/2,n=(e.top+e.bottom)/2;"center"===g?(h=function(a){return m>=a},i=function(a){return a>m}):(h=function(a){return a<=b.width/2},i=function(a){return a>=d.width-b.width/2}),j=function(a){return a+b.width>d.width},k=function(a){return a-b.width<0},l=function(a){return n>=a?"top":"bottom"},h(c.x)?(f="left",j(c.x)&&(f="center",g=l(c.y))):i(c.x)&&(f="right",k(c.x)&&(f="center",g=l(c.y)));var o=a._options;return{xAlign:o.xAlign?o.xAlign:f,yAlign:o.yAlign?o.yAlign:g}}function k(a,b,c){var d=a.x,e=a.y,f=a.caretSize,g=a.caretPadding,h=a.cornerRadius,i=c.xAlign,j=c.yAlign,k=f+g,l=h+g;return"right"===i?d-=b.width:"center"===i&&(d-=b.width/2),"top"===j?e+=k:e-="bottom"===j?b.height+k:b.height/2,"center"===j?"left"===i?d+=k:"right"===i&&(d-=k):"left"===i?d-=l:"right"===i&&(d+=l),{x:d,y:e}}a.Tooltip=e.extend({initialize:function(){this._model=h(this._options),this._lastActive=[]},getTitle:function(){var a=this,b=a._options,d=b.callbacks,e=d.beforeTitle.apply(a,arguments),f=d.title.apply(a,arguments),g=d.afterTitle.apply(a,arguments),h=[];return h=c(h,e),h=c(h,f),h=c(h,g)},getBeforeBody:function(){var a=this._options.callbacks.beforeBody.apply(this,arguments);return f.isArray(a)?a:void 0!==a?[a]:[]},getBody:function(a,b){var d=this,e=d._options.callbacks,g=[];return f.each(a,function(a){var f={before:[],lines:[],after:[]};c(f.before,e.beforeLabel.call(d,a,b)),c(f.lines,e.label.call(d,a,b)),c(f.after,e.afterLabel.call(d,a,b)),g.push(f)}),g},getAfterBody:function(){var a=this._options.callbacks.afterBody.apply(this,arguments);return f.isArray(a)?a:void 0!==a?[a]:[]},getFooter:function(){var a=this,b=a._options.callbacks,d=b.beforeFooter.apply(a,arguments),e=b.footer.apply(a,arguments),f=b.afterFooter.apply(a,arguments),g=[];return g=c(g,d),g=c(g,e),g=c(g,f)},update:function(b){var c,d,e=this,l=e._options,m=e._model,n=e._model=h(l),o=e._active,p=e._data,q={xAlign:m.xAlign,yAlign:m.yAlign},r={x:m.x,y:m.y},s={width:m.width,height:m.height},t={x:m.caretX,y:m.caretY};if(o.length){n.opacity=1;var u=[],v=[];t=a.Tooltip.positioners[l.position].call(e,o,e._eventPosition);var w=[];for(c=0,d=o.length;d>c;++c)w.push(g(o[c]));l.filter&&(w=w.filter(function(a){return l.filter(a,p)})),l.itemSort&&(w=w.sort(function(a,b){return l.itemSort(a,b,p)})),f.each(w,function(a){u.push(l.callbacks.labelColor.call(e,a,e._chart)),v.push(l.callbacks.labelTextColor.call(e,a,e._chart))}),n.title=e.getTitle(w,p),n.beforeBody=e.getBeforeBody(w,p),n.body=e.getBody(w,p),n.afterBody=e.getAfterBody(w,p),n.footer=e.getFooter(w,p),n.x=Math.round(t.x),n.y=Math.round(t.y),n.caretPadding=l.caretPadding,n.labelColors=u,n.labelTextColors=v,n.dataPoints=w,s=i(this,n),q=j(this,s),r=k(n,s,q)}else n.opacity=0;return n.xAlign=q.xAlign,n.yAlign=q.yAlign,n.x=r.x,n.y=r.y,n.width=s.width,n.height=s.height,n.caretX=t.x,n.caretY=t.y,e._model=n,b&&l.custom&&l.custom.call(e,n),e},drawCaret:function(a,b){var c=this._chart.ctx,d=this._view,e=this.getCaretPosition(a,b,d);c.lineTo(e.x1,e.y1),c.lineTo(e.x2,e.y2),c.lineTo(e.x3,e.y3)},getCaretPosition:function(a,b,c){var d,e,f,g,h,i,j=c.caretSize,k=c.cornerRadius,l=c.xAlign,m=c.yAlign,n=a.x,o=a.y,p=b.width,q=b.height;if("center"===m)h=o+q/2,"left"===l?(d=n,e=d-j,f=d,g=h+j,i=h-j):(d=n+p,e=d+j,f=d,g=h-j,i=h+j);else if("left"===l?(e=n+k+j,d=e-j,f=e+j):"right"===l?(e=n+p-k-j,d=e-j,f=e+j):(e=n+p/2,d=e-j,f=e+j),"top"===m)g=o,h=g-j,i=g;else{g=o+q,h=g+j,i=g;var r=f;f=d,d=r}return{x1:d,x2:e,x3:f,y1:g,y2:h,y3:i}},drawTitle:function(a,c,d,e){var g=c.title;if(g.length){d.textAlign=c._titleAlign,d.textBaseline="top";var h=c.titleFontSize,i=c.titleSpacing;d.fillStyle=b(c.titleFontColor,e),d.font=f.fontString(h,c._titleFontStyle,c._titleFontFamily);var j,k;for(j=0,k=g.length;k>j;++j)d.fillText(g[j],a.x,a.y),a.y+=h+i,j+1===g.length&&(a.y+=c.titleMarginBottom-i)}},drawBody:function(a,c,d,e){var g=c.bodyFontSize,h=c.bodySpacing,i=c.body;d.textAlign=c._bodyAlign,d.textBaseline="top",d.font=f.fontString(g,c._bodyFontStyle,c._bodyFontFamily);var j=0,k=function(b){d.fillText(b,a.x+j,a.y),a.y+=g+h};d.fillStyle=b(c.bodyFontColor,e),f.each(c.beforeBody,k);var l=c.displayColors;j=l?g+2:0,f.each(i,function(h,i){var j=b(c.labelTextColors[i],e);d.fillStyle=j,f.each(h.before,k),f.each(h.lines,function(f){l&&(d.fillStyle=b(c.legendColorBackground,e),d.fillRect(a.x,a.y,g,g),d.lineWidth=1,d.strokeStyle=b(c.labelColors[i].borderColor,e),d.strokeRect(a.x,a.y,g,g),d.fillStyle=b(c.labelColors[i].backgroundColor,e),d.fillRect(a.x+1,a.y+1,g-2,g-2),d.fillStyle=j),k(f)}),f.each(h.after,k)}),j=0,f.each(c.afterBody,k),a.y-=h},drawFooter:function(a,c,d,e){var g=c.footer;g.length&&(a.y+=c.footerMarginTop,d.textAlign=c._footerAlign,d.textBaseline="top",d.fillStyle=b(c.footerFontColor,e),d.font=f.fontString(c.footerFontSize,c._footerFontStyle,c._footerFontFamily),f.each(g,function(b){d.fillText(b,a.x,a.y),a.y+=c.footerFontSize+c.footerSpacing}))},drawBackground:function(a,c,d,e,f){d.fillStyle=b(c.backgroundColor,f),d.strokeStyle=b(c.borderColor,f),d.lineWidth=c.borderWidth;var g=c.xAlign,h=c.yAlign,i=a.x,j=a.y,k=e.width,l=e.height,m=c.cornerRadius;d.beginPath(),d.moveTo(i+m,j),"top"===h&&this.drawCaret(a,e),d.lineTo(i+k-m,j),d.quadraticCurveTo(i+k,j,i+k,j+m),"center"===h&&"right"===g&&this.drawCaret(a,e),d.lineTo(i+k,j+l-m),d.quadraticCurveTo(i+k,j+l,i+k-m,j+l),"bottom"===h&&this.drawCaret(a,e),d.lineTo(i+m,j+l),d.quadraticCurveTo(i,j+l,i,j+l-m),"center"===h&&"left"===g&&this.drawCaret(a,e),d.lineTo(i,j+m),d.quadraticCurveTo(i,j,i+m,j),d.closePath(),d.fill(),c.borderWidth>0&&d.stroke()},draw:function(){var a=this._chart.ctx,b=this._view;if(0!==b.opacity){var c={width:b.width,height:b.height},d={x:b.x,y:b.y},e=Math.abs(b.opacity<.001)?0:b.opacity,f=b.title.length||b.beforeBody.length||b.body.length||b.afterBody.length||b.footer.length;this._options.enabled&&f&&(this.drawBackground(d,b,a,c,e),d.x+=b.xPadding,d.y+=b.yPadding,this.drawTitle(d,b,a,e),this.drawBody(d,b,a,e),this.drawFooter(d,b,a,e))}},handleEvent:function(a){var b=this,c=b._options,d=!1;if(b._lastActive=b._lastActive||[],"mouseout"===a.type?b._active=[]:b._active=b._chart.getElementsAtEventForMode(a,c.mode,c),d=!f.arrayEquals(b._active,b._lastActive),!d)return!1;if(b._lastActive=b._active,c.enabled||c.custom){b._eventPosition={x:a.x,y:a.y};var e=b._model;b.update(!0),b.pivot(),d|=e.x!==b._model.x||e.y!==b._model.y}return d}}),a.Tooltip.positioners={average:function(a){if(!a.length)return!1;var b,c,d=0,e=0,f=0;for(b=0,c=a.length;c>b;++b){var g=a[b];if(g&&g.hasValue()){var h=g.tooltipPosition();d+=h.x,e+=h.y,++f}}return{x:Math.round(d/f),y:Math.round(e/f)}},nearest:function(a,b){var c,d,e,g=b.x,h=b.y,i=Number.POSITIVE_INFINITY;for(c=0,d=a.length;d>c;++c){var j=a[c];if(j&&j.hasValue()){var k=j.getCenterPoint(),l=f.distanceBetweenPoints(b,k);i>l&&(i=l,e=j)}}if(e){var m=e.tooltipPosition();g=m.x,h=m.y}return{x:g,y:h}}}}},{25:25,26:26,45:45}],36:[function(a,b,c){"use strict";var d=a(25),e=a(26),f=a(45);d._set("global",{elements:{arc:{backgroundColor:d.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),b.exports=e.extend({inLabelRange:function(a){var b=this._view;return b?Math.pow(a-b.x,2)<Math.pow(b.radius+b.hoverRadius,2):!1},inRange:function(a,b){var c=this._view;if(c){for(var d=f.getAngleFromPoint(c,{x:a,y:b}),e=d.angle,g=d.distance,h=c.startAngle,i=c.endAngle;h>i;)i+=2*Math.PI;for(;e>i;)e-=2*Math.PI;for(;h>e;)e+=2*Math.PI;var j=e>=h&&i>=e,k=g>=c.innerRadius&&g<=c.outerRadius;return j&&k}return!1},getCenterPoint:function(){var a=this._view,b=(a.startAngle+a.endAngle)/2,c=(a.innerRadius+a.outerRadius)/2;return{x:a.x+Math.cos(b)*c,y:a.y+Math.sin(b)*c}},getArea:function(){var a=this._view;return Math.PI*((a.endAngle-a.startAngle)/(2*Math.PI))*(Math.pow(a.outerRadius,2)-Math.pow(a.innerRadius,2))},tooltipPosition:function(){var a=this._view,b=a.startAngle+(a.endAngle-a.startAngle)/2,c=(a.outerRadius-a.innerRadius)/2+a.innerRadius;return{x:a.x+Math.cos(b)*c,y:a.y+Math.sin(b)*c}},draw:function(){var a=this._chart.ctx,b=this._view,c=b.startAngle,d=b.endAngle;a.beginPath(),a.arc(b.x,b.y,b.outerRadius,c,d),a.arc(b.x,b.y,b.innerRadius,d,c,!0),a.closePath(),a.strokeStyle=b.borderColor,a.lineWidth=b.borderWidth,a.fillStyle=b.backgroundColor,a.fill(),a.lineJoin="bevel",b.borderWidth&&a.stroke()}})},{25:25,26:26,45:45}],37:[function(a,b,c){"use strict";var d=a(25),e=a(26),f=a(45),g=d.global;d._set("global",{elements:{line:{tension:.4,backgroundColor:g.defaultColor,borderWidth:3,borderColor:g.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),b.exports=e.extend({draw:function(){var a,b,c,d,e=this,h=e._view,i=e._chart.ctx,j=h.spanGaps,k=e._children.slice(),l=g.elements.line,m=-1;for(e._loop&&k.length&&k.push(k[0]),i.save(),i.lineCap=h.borderCapStyle||l.borderCapStyle,i.setLineDash&&i.setLineDash(h.borderDash||l.borderDash),i.lineDashOffset=h.borderDashOffset||l.borderDashOffset,i.lineJoin=h.borderJoinStyle||l.borderJoinStyle,i.lineWidth=h.borderWidth||l.borderWidth,i.strokeStyle=h.borderColor||g.defaultColor,i.beginPath(),m=-1,a=0;a<k.length;++a)b=k[a],c=f.previousItem(k,a),d=b._view,0===a?d.skip||(i.moveTo(d.x,d.y),m=a):(c=-1===m?c:k[m],d.skip||(m!==a-1&&!j||-1===m?i.moveTo(d.x,d.y):f.canvas.lineTo(i,c._view,b._view),m=a));i.stroke(),i.restore()}})},{25:25,26:26,45:45}],38:[function(a,b,c){"use strict";function d(a){var b=this._view;return b?Math.pow(a-b.x,2)<Math.pow(b.radius+b.hitRadius,2):!1}function e(a){var b=this._view;return b?Math.pow(a-b.y,2)<Math.pow(b.radius+b.hitRadius,2):!1}var f=a(25),g=a(26),h=a(45),i=f.global.defaultColor;f._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:i,borderColor:i,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),b.exports=g.extend({inRange:function(a,b){var c=this._view;return c?Math.pow(a-c.x,2)+Math.pow(b-c.y,2)<Math.pow(c.hitRadius+c.radius,2):!1},inLabelRange:d,inXRange:d,inYRange:e,getCenterPoint:function(){var a=this._view;return{x:a.x,y:a.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var a=this._view;return{x:a.x,y:a.y,padding:a.radius+a.borderWidth}},draw:function(a){var b=this._view,c=this._model,d=this._chart.ctx,e=b.pointStyle,g=b.radius,j=b.x,k=b.y,l=h.color,m=1.01,n=0;b.skip||(d.strokeStyle=b.borderColor||i,d.lineWidth=h.valueOrDefault(b.borderWidth,f.global.elements.point.borderWidth),d.fillStyle=b.backgroundColor||i,void 0!==a&&(c.x<a.left||a.right*m<c.x||c.y<a.top||a.bottom*m<c.y)&&(c.x<a.left?n=(j-c.x)/(a.left-c.x):a.right*m<c.x?n=(c.x-j)/(c.x-a.right):c.y<a.top?n=(k-c.y)/(a.top-c.y):a.bottom*m<c.y&&(n=(c.y-k)/(c.y-a.bottom)),n=Math.round(100*n)/100,d.strokeStyle=l(d.strokeStyle).alpha(n).rgbString(),d.fillStyle=l(d.fillStyle).alpha(n).rgbString()),h.canvas.drawPoint(d,e,g,j,k))}})},{25:25,26:26,45:45}],39:[function(a,b,c){"use strict";function d(a){return void 0!==a._view.width}function e(a){var b,c,e,f,g=a._view;if(d(a)){var h=g.width/2;b=g.x-h,c=g.x+h,e=Math.min(g.y,g.base),f=Math.max(g.y,g.base)}else{var i=g.height/2;b=Math.min(g.x,g.base),c=Math.max(g.x,g.base),e=g.y-i,f=g.y+i}return{left:b,top:e,right:c,bottom:f}}var f=a(25),g=a(26);f._set("global",{elements:{rectangle:{backgroundColor:f.global.defaultColor,borderColor:f.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),b.exports=g.extend({draw:function(){function a(a){return r[(t+a)%4]}var b,c,d,e,f,g,h,i=this._chart.ctx,j=this._view,k=j.borderWidth;if(j.horizontal?(b=j.base,c=j.x,d=j.y-j.height/2,e=j.y+j.height/2,f=c>b?1:-1,g=1,h=j.borderSkipped||"left"):(b=j.x-j.width/2,c=j.x+j.width/2,d=j.y,e=j.base,f=1,g=e>d?1:-1,h=j.borderSkipped||"bottom"),k){var l=Math.min(Math.abs(b-c),Math.abs(d-e));k=k>l?l:k;var m=k/2,n=b+("left"!==h?m*f:0),o=c+("right"!==h?-m*f:0),p=d+("top"!==h?m*g:0),q=e+("bottom"!==h?-m*g:0);n!==o&&(d=p,e=q),p!==q&&(b=n,c=o)}i.beginPath(),i.fillStyle=j.backgroundColor,i.strokeStyle=j.borderColor,i.lineWidth=k;var r=[[b,e],[b,d],[c,d],[c,e]],s=["bottom","left","top","right"],t=s.indexOf(h,0);-1===t&&(t=0);var u=a(0);i.moveTo(u[0],u[1]);for(var v=1;4>v;v++)u=a(v),i.lineTo(u[0],u[1]);i.fill(),k&&i.stroke()},height:function(){var a=this._view;return a.base-a.y},inRange:function(a,b){var c=!1;if(this._view){var d=e(this);c=a>=d.left&&a<=d.right&&b>=d.top&&b<=d.bottom}return c},inLabelRange:function(a,b){var c=this;if(!c._view)return!1;var f=!1,g=e(c);return f=d(c)?a>=g.left&&a<=g.right:b>=g.top&&b<=g.bottom},inXRange:function(a){var b=e(this);return a>=b.left&&a<=b.right},inYRange:function(a){var b=e(this);return a>=b.top&&a<=b.bottom},getCenterPoint:function(){var a,b,c=this._view;return d(this)?(a=c.x,b=(c.y+c.base)/2):(a=(c.x+c.base)/2,b=c.y),{x:a,y:b}},getArea:function(){var a=this._view;return a.width*Math.abs(a.y-a.base)},tooltipPosition:function(){var a=this._view;return{x:a.x,y:a.y}}})},{25:25,26:26}],40:[function(a,b,c){"use strict";b.exports={},b.exports.Arc=a(36),b.exports.Line=a(37),b.exports.Point=a(38),b.exports.Rectangle=a(39)},{36:36,37:37,38:38,39:39}],41:[function(a,b,c){"use strict";var d=a(42),c=b.exports={clear:function(a){a.ctx.clearRect(0,0,a.width,a.height)},roundedRect:function(a,b,c,d,e,f){if(f){var g=Math.min(f,d/2),h=Math.min(f,e/2);a.moveTo(b+g,c),a.lineTo(b+d-g,c),a.quadraticCurveTo(b+d,c,b+d,c+h),a.lineTo(b+d,c+e-h),a.quadraticCurveTo(b+d,c+e,b+d-g,c+e),a.lineTo(b+g,c+e),a.quadraticCurveTo(b,c+e,b,c+e-h),a.lineTo(b,c+h),a.quadraticCurveTo(b,c,b+g,c)}else a.rect(b,c,d,e)},drawPoint:function(a,b,c,d,e){var f,g,h,i,j,k;if(b&&"object"==typeof b&&(f=b.toString(),"[object HTMLImageElement]"===f||"[object HTMLCanvasElement]"===f))return void a.drawImage(b,d-b.width/2,e-b.height/2,b.width,b.height);if(!(isNaN(c)||0>=c)){switch(b){default:a.beginPath(),a.arc(d,e,c,0,2*Math.PI),a.closePath(),a.fill();break;case"triangle":a.beginPath(),g=3*c/Math.sqrt(3),j=g*Math.sqrt(3)/2,a.moveTo(d-g/2,e+j/3),a.lineTo(d+g/2,e+j/3),a.lineTo(d,e-2*j/3),a.closePath(),a.fill();break;case"rect":k=1/Math.SQRT2*c,a.beginPath(),a.fillRect(d-k,e-k,2*k,2*k),a.strokeRect(d-k,e-k,2*k,2*k);break;case"rectRounded":var l=c/Math.SQRT2,m=d-l,n=e-l,o=Math.SQRT2*c;a.beginPath(),this.roundedRect(a,m,n,o,o,c/2),a.closePath(),a.fill();break;case"rectRot":k=1/Math.SQRT2*c,a.beginPath(),a.moveTo(d-k,e),a.lineTo(d,e+k),a.lineTo(d+k,e),a.lineTo(d,e-k),a.closePath(),a.fill();break;case"cross":a.beginPath(),a.moveTo(d,e+c),a.lineTo(d,e-c),a.moveTo(d-c,e),a.lineTo(d+c,e),a.closePath();break;case"crossRot":a.beginPath(),h=Math.cos(Math.PI/4)*c,i=Math.sin(Math.PI/4)*c,a.moveTo(d-h,e-i),a.lineTo(d+h,e+i),a.moveTo(d-h,e+i),a.lineTo(d+h,e-i),a.closePath();break;case"star":a.beginPath(),a.moveTo(d,e+c),a.lineTo(d,e-c),a.moveTo(d-c,e),a.lineTo(d+c,e),h=Math.cos(Math.PI/4)*c,i=Math.sin(Math.PI/4)*c,a.moveTo(d-h,e-i),a.lineTo(d+h,e+i),a.moveTo(d-h,e+i),a.lineTo(d+h,e-i),a.closePath();break;case"line":a.beginPath(),a.moveTo(d-c,e),a.lineTo(d+c,e),a.closePath();break;case"dash":a.beginPath(),a.moveTo(d,e),a.lineTo(d+c,e),a.closePath()}a.stroke()}},clipArea:function(a,b){a.save(),a.beginPath(),a.rect(b.left,b.top,b.right-b.left,b.bottom-b.top),a.clip()},unclipArea:function(a){a.restore()},lineTo:function(a,b,c,d){return c.steppedLine?("after"===c.steppedLine&&!d||"after"!==c.steppedLine&&d?a.lineTo(b.x,c.y):a.lineTo(c.x,b.y),void a.lineTo(c.x,c.y)):c.tension?void a.bezierCurveTo(d?b.controlPointPreviousX:b.controlPointNextX,d?b.controlPointPreviousY:b.controlPointNextY,d?c.controlPointNextX:c.controlPointPreviousX,d?c.controlPointNextY:c.controlPointPreviousY,c.x,c.y):void a.lineTo(c.x,c.y)}};d.clear=c.clear,d.drawRoundedRectangle=function(a){a.beginPath(),c.roundedRect.apply(c,arguments),a.closePath()}},{42:42}],42:[function(a,b,c){"use strict";var d={noop:function(){},uid:function(){var a=0;return function(){return a++}}(),isNullOrUndef:function(a){return null===a||"undefined"==typeof a},isArray:Array.isArray?Array.isArray:function(a){return"[object Array]"===Object.prototype.toString.call(a)},isObject:function(a){return null!==a&&"[object Object]"===Object.prototype.toString.call(a)},valueOrDefault:function(a,b){return"undefined"==typeof a?b:a},valueAtIndexOrDefault:function(a,b,c){return d.valueOrDefault(d.isArray(a)?a[b]:a,c)},callback:function(a,b,c){return a&&"function"==typeof a.call?a.apply(c,b):void 0},each:function(a,b,c,e){var f,g,h;if(d.isArray(a))if(g=a.length,e)for(f=g-1;f>=0;f--)b.call(c,a[f],f);else for(f=0;g>f;f++)b.call(c,a[f],f);else if(d.isObject(a))for(h=Object.keys(a),g=h.length,f=0;g>f;f++)b.call(c,a[h[f]],h[f])},arrayEquals:function(a,b){var c,e,f,g;if(!a||!b||a.length!==b.length)return!1;for(c=0,e=a.length;e>c;++c)if(f=a[c],g=b[c],f instanceof Array&&g instanceof Array){if(!d.arrayEquals(f,g))return!1}else if(f!==g)return!1;return!0},clone:function(a){if(d.isArray(a))return a.map(d.clone);if(d.isObject(a)){for(var b={},c=Object.keys(a),e=c.length,f=0;e>f;++f)b[c[f]]=d.clone(a[c[f]]);return b}return a},_merger:function(a,b,c,e){var f=b[a],g=c[a];d.isObject(f)&&d.isObject(g)?d.merge(f,g,e):b[a]=d.clone(g)},_mergerIf:function(a,b,c){var e=b[a],f=c[a];d.isObject(e)&&d.isObject(f)?d.mergeIf(e,f):b.hasOwnProperty(a)||(b[a]=d.clone(f))},merge:function(a,b,c){var e,f,g,h,i,j=d.isArray(b)?b:[b],k=j.length;if(!d.isObject(a))return a;for(c=c||{},e=c.merger||d._merger,f=0;k>f;++f)if(b=j[f],d.isObject(b))for(g=Object.keys(b),i=0,h=g.length;h>i;++i)e(g[i],a,b,c);return a},mergeIf:function(a,b){return d.merge(a,b,{merger:d._mergerIf})},extend:function(a){for(var b=function(b,c){a[c]=b},c=1,e=arguments.length;e>c;++c)d.each(arguments[c],b);return a},inherits:function(a){var b=this,c=a&&a.hasOwnProperty("constructor")?a.constructor:function(){return b.apply(this,arguments)},e=function(){this.constructor=c};return e.prototype=b.prototype,c.prototype=new e,c.extend=d.inherits,a&&d.extend(c.prototype,a),c.__super__=b.prototype,c}};b.exports=d,d.callCallback=d.callback,d.indexOf=function(a,b,c){return Array.prototype.indexOf.call(a,b,c)},d.getValueOrDefault=d.valueOrDefault,d.getValueAtIndexOrDefault=d.valueAtIndexOrDefault},{}],43:[function(a,b,c){"use strict";var d=a(42),e={linear:function(a){return a},easeInQuad:function(a){return a*a},easeOutQuad:function(a){return-a*(a-2)},easeInOutQuad:function(a){return(a/=.5)<1?.5*a*a:-.5*(--a*(a-2)-1)},easeInCubic:function(a){return a*a*a},easeOutCubic:function(a){return(a-=1)*a*a+1},easeInOutCubic:function(a){return(a/=.5)<1?.5*a*a*a:.5*((a-=2)*a*a+2)},easeInQuart:function(a){return a*a*a*a},easeOutQuart:function(a){return-((a-=1)*a*a*a-1)},easeInOutQuart:function(a){return(a/=.5)<1?.5*a*a*a*a:-.5*((a-=2)*a*a*a-2)},easeInQuint:function(a){return a*a*a*a*a},easeOutQuint:function(a){return(a-=1)*a*a*a*a+1},easeInOutQuint:function(a){return(a/=.5)<1?.5*a*a*a*a*a:.5*((a-=2)*a*a*a*a+2)},easeInSine:function(a){return-Math.cos(a*(Math.PI/2))+1},easeOutSine:function(a){return Math.sin(a*(Math.PI/2))},easeInOutSine:function(a){return-.5*(Math.cos(Math.PI*a)-1)},easeInExpo:function(a){return 0===a?0:Math.pow(2,10*(a-1))},easeOutExpo:function(a){return 1===a?1:-Math.pow(2,-10*a)+1},easeInOutExpo:function(a){return 0===a?0:1===a?1:(a/=.5)<1?.5*Math.pow(2,10*(a-1)):.5*(-Math.pow(2,-10*--a)+2)},easeInCirc:function(a){return a>=1?a:-(Math.sqrt(1-a*a)-1)},easeOutCirc:function(a){return Math.sqrt(1-(a-=1)*a)},easeInOutCirc:function(a){return(a/=.5)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)},easeInElastic:function(a){var b=1.70158,c=0,d=1;return 0===a?0:1===a?1:(c||(c=.3),1>d?(d=1,b=c/4):b=c/(2*Math.PI)*Math.asin(1/d),-(d*Math.pow(2,10*(a-=1))*Math.sin((a-b)*(2*Math.PI)/c)))},easeOutElastic:function(a){var b=1.70158,c=0,d=1;return 0===a?0:1===a?1:(c||(c=.3),1>d?(d=1,b=c/4):b=c/(2*Math.PI)*Math.asin(1/d),d*Math.pow(2,-10*a)*Math.sin((a-b)*(2*Math.PI)/c)+1)},easeInOutElastic:function(a){var b=1.70158,c=0,d=1;return 0===a?0:2===(a/=.5)?1:(c||(c=.45),1>d?(d=1,b=c/4):b=c/(2*Math.PI)*Math.asin(1/d),1>a?-.5*(d*Math.pow(2,10*(a-=1))*Math.sin((a-b)*(2*Math.PI)/c)):d*Math.pow(2,-10*(a-=1))*Math.sin((a-b)*(2*Math.PI)/c)*.5+1)},easeInBack:function(a){var b=1.70158;return a*a*((b+1)*a-b)},easeOutBack:function(a){var b=1.70158;return(a-=1)*a*((b+1)*a+b)+1},easeInOutBack:function(a){var b=1.70158;return(a/=.5)<1?.5*(a*a*(((b*=1.525)+1)*a-b)):.5*((a-=2)*a*(((b*=1.525)+1)*a+b)+2)},easeInBounce:function(a){return 1-e.easeOutBounce(1-a)},easeOutBounce:function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},easeInOutBounce:function(a){return.5>a?.5*e.easeInBounce(2*a):.5*e.easeOutBounce(2*a-1)+.5}};b.exports={effects:e},d.easingEffects=e},{42:42}],44:[function(a,b,c){"use strict";var d=a(42);b.exports={toLineHeight:function(a,b){var c=(""+a).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)#x2F;);if(!c||"normal"===c[1])return 1.2*b;switch(a=+c[2],c[3]){case"px":return a;case"%":a/=100}return b*a},toPadding:function(a){var b,c,e,f;return d.isObject(a)?(b=+a.top||0,c=+a.right||0,e=+a.bottom||0,f=+a.left||0):b=c=e=f=+a||0,{top:b,right:c,bottom:e,left:f,height:b+e,width:f+c}},resolve:function(a,b,c){var e,f,g;for(e=0,f=a.length;f>e;++e)if(g=a[e],void 0!==g&&(void 0!==b&&"function"==typeof g&&(g=g(b)),void 0!==c&&d.isArray(g)&&(g=g[c]),void 0!==g))return g}}},{42:42}],45:[function(a,b,c){"use strict";b.exports=a(42),b.exports.easing=a(43),b.exports.canvas=a(41),b.exports.options=a(44)},{41:41,42:42,43:43,44:44}],46:[function(a,b,c){b.exports={acquireContext:function(a){return a&&a.canvas&&(a=a.canvas),a&&a.getContext("2d")||null}}},{}],47:[function(a,b,c){"use strict";function d(a,b){var c=q.getStyle(a,b),d=c&&c.match(/^(\d+)(\.\d+)?px#x2F;);return d?Number(d[1]):void 0}function e(a,b){var c=a.style,e=a.getAttribute("height"),f=a.getAttribute("width");if(a[r]={initial:{height:e,width:f,style:{display:c.display,height:c.height,width:c.width}}},c.display=c.display||"block",null===f||""===f){var g=d(a,"width");void 0!==g&&(a.width=g)}if(null===e||""===e)if(""===a.style.height)a.height=a.width/(b.options.aspectRatio||2);else{var h=d(a,"height");void 0!==g&&(a.height=h)}return a}function f(a,b,c){a.addEventListener(b,c,y)}function g(a,b,c){a.removeEventListener(b,c,y)}function h(a,b,c,d,e){return{type:a,chart:b,"native":e||null,x:void 0!==c?c:null,y:void 0!==d?d:null}}function i(a,b){var c=w[a.type]||a.type,d=q.getRelativePosition(a,b);return h(c,b,d.x,d.y,a)}function j(a,b){var c=!1,d=[];return function(){d=Array.prototype.slice.call(arguments),b=b||this,c||(c=!0,q.requestAnimFrame.call(window,function(){c=!1,a.apply(b,d)}))}}function k(a){var b=document.createElement("div"),c=s+"size-monitor",d=1e6,e="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";b.style.cssText=e,b.className=c,b.innerHTML='<div class="'+c+'-expand" style="'+e+'"><div style="position:absolute;width:'+d+"px;height:"+d+'px;left:0;top:0"></div></div><div class="'+c+'-shrink" style="'+e+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var g=b.childNodes[0],h=b.childNodes[1];b._reset=function(){g.scrollLeft=d,g.scrollTop=d,h.scrollLeft=d,h.scrollTop=d};var i=function(){b._reset(),a()};return f(g,"scroll",i.bind(g,"expand")),f(h,"scroll",i.bind(h,"shrink")),b}function l(a,b){var c=a[r]||(a[r]={}),d=c.renderProxy=function(a){a.animationName===u&&b()};q.each(v,function(b){f(a,b,d)}),c.reflow=!!a.offsetParent,a.classList.add(t)}function m(a){var b=a[r]||{},c=b.renderProxy;c&&(q.each(v,function(b){g(a,b,c)}),delete b.renderProxy),a.classList.remove(t)}function n(a,b,c){var d=a[r]||(a[r]={}),e=d.resizer=k(j(function(){return d.resizer?b(h("resize",c)):void 0}));l(a,function(){if(d.resizer){var b=a.parentNode;b&&b!==e.parentNode&&b.insertBefore(e,b.firstChild),e._reset()}})}function o(a){var b=a[r]||{},c=b.resizer;delete b.resizer,m(a),c&&c.parentNode&&c.parentNode.removeChild(c)}function p(a,b){var c=a._style||document.createElement("style");a._style||(a._style=c,b="/* Chart.js */\n"+b,c.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(c)),c.appendChild(document.createTextNode(b))}var q=a(45),r="$chartjs",s="chartjs-",t=s+"render-monitor",u=s+"render-animation",v=["animationstart","webkitAnimationStart"],w={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},x=function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});window.addEventListener("e",null,b)}catch(c){}return a}(),y=x?{passive:!0}:!1;b.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var a="from{opacity:0.99}to{opacity:1}";p(this,"@-webkit-keyframes "+u+"{"+a+"}@keyframes "+u+"{"+a+"}."+t+"{-webkit-animation:"+u+" 0.001s;animation:"+u+" 0.001s;}")},acquireContext:function(a,b){"string"==typeof a?a=document.getElementById(a):a.length&&(a=a[0]),a&&a.canvas&&(a=a.canvas);var c=a&&a.getContext&&a.getContext("2d");return c&&c.canvas===a?(e(a,b),c):null},releaseContext:function(a){var b=a.canvas;if(b[r]){var c=b[r].initial;["height","width"].forEach(function(a){var d=c[a];q.isNullOrUndef(d)?b.removeAttribute(a):b.setAttribute(a,d)}),q.each(c.style||{},function(a,c){b.style[c]=a}),b.width=b.width,delete b[r]}},addEventListener:function(a,b,c){var d=a.canvas;if("resize"===b)return void n(d,c,a);var e=c[r]||(c[r]={}),g=e.proxies||(e.proxies={}),h=g[a.id+"_"+b]=function(b){c(i(b,a))};f(d,b,h)},removeEventListener:function(a,b,c){var d=a.canvas;if("resize"===b)return void o(d,c);var e=c[r]||{},f=e.proxies||{},h=f[a.id+"_"+b];h&&g(d,b,h)}},q.addEvent=f,q.removeEvent=g},{45:45}],48:[function(a,b,c){"use strict";var d=a(45),e=a(46),f=a(47),g=f._enabled?f:e;b.exports=d.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},g)},{45:45,46:46,47:47}],49:[function(a,b,c){"use strict";var d=a(25),e=a(40),f=a(45);d._set("global",{plugins:{filler:{propagate:!0}}}),b.exports=function(){function a(a,b,c){
17
var d,e=a._model||{},f=e.fill;if(void 0===f&&(f=!!e.backgroundColor),f===!1||null===f)return!1;if(f===!0)return"origin";if(d=parseFloat(f,10),isFinite(d)&&Math.floor(d)===d)return("-"===f[0]||"+"===f[0])&&(d=b+d),d===b||0>d||d>=c?!1:d;switch(f){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return f;default:return!1}}function b(a){var b,c=a.el._model||{},d=a.el._scale||{},e=a.fill,f=null;if(isFinite(e))return null;if("start"===e?f=void 0===c.scaleBottom?d.bottom:c.scaleBottom:"end"===e?f=void 0===c.scaleTop?d.top:c.scaleTop:void 0!==c.scaleZero?f=c.scaleZero:d.getBasePosition?f=d.getBasePosition():d.getBasePixel&&(f=d.getBasePixel()),void 0!==f&&null!==f){if(void 0!==f.x&&void 0!==f.y)return f;if("number"==typeof f&&isFinite(f))return b=d.isHorizontal(),{x:b?f:null,y:b?null:f}}return null}function c(a,b,c){var d,e=a[b],f=e.fill,g=[b];if(!c)return f;for(;f!==!1&&-1===g.indexOf(f);){if(!isFinite(f))return f;if(d=a[f],!d)return!1;if(d.visible)return f;g.push(f),f=d.fill}return!1}function g(a){var b=a.fill,c="dataset";return b===!1?null:(isFinite(b)||(c="boundary"),k[c](a))}function h(a){return a&&!a.skip}function i(a,b,c,d,e){var g;if(d&&e){for(a.moveTo(b[0].x,b[0].y),g=1;d>g;++g)f.canvas.lineTo(a,b[g-1],b[g]);for(a.lineTo(c[e-1].x,c[e-1].y),g=e-1;g>0;--g)f.canvas.lineTo(a,c[g],c[g-1],!0)}}function j(a,b,c,d,e,f){var g,j,k,l,m,n,o,p=b.length,q=d.spanGaps,r=[],s=[],t=0,u=0;for(a.beginPath(),g=0,j=p+!!f;j>g;++g)k=g%p,l=b[k]._view,m=c(l,k,d),n=h(l),o=h(m),n&&o?(t=r.push(l),u=s.push(m)):t&&u&&(q?(n&&r.push(l),o&&s.push(m)):(i(a,r,s,t,u),t=u=0,r=[],s=[]));i(a,r,s,t,u),a.closePath(),a.fillStyle=e,a.fill()}var k={dataset:function(a){var b=a.fill,c=a.chart,d=c.getDatasetMeta(b),e=d&&c.isDatasetVisible(b),f=e&&d.dataset._children||[],g=f.length||0;return g?function(a,b){return g>b&&f[b]._view||null}:null},boundary:function(a){var b=a.boundary,c=b?b.x:null,d=b?b.y:null;return function(a){return{x:null===c?a.x:c,y:null===d?a.y:d}}}};return{id:"filler",afterDatasetsUpdate:function(d,f){var h,i,j,k,l=(d.data.datasets||[]).length,m=f.propagate,n=[];for(i=0;l>i;++i)h=d.getDatasetMeta(i),j=h.dataset,k=null,j&&j._model&&j instanceof e.Line&&(k={visible:d.isDatasetVisible(i),fill:a(j,i,l),chart:d,el:j}),h.$filler=k,n.push(k);for(i=0;l>i;++i)k=n[i],k&&(k.fill=c(n,i,m),k.boundary=b(k),k.mapper=g(k))},beforeDatasetDraw:function(a,b){var c=b.meta.$filler;if(c){var e=a.ctx,g=c.el,h=g._view,i=g._children||[],k=c.mapper,l=h.backgroundColor||d.global.defaultColor;k&&l&&i.length&&(f.canvas.clipArea(e,a.chartArea),j(e,i,k,h,l,g._loop),f.canvas.unclipArea(e))}}}}},{25:25,40:40,45:45}],50:[function(a,b,c){"use strict";var d=a(25),e=a(26),f=a(45);d._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(a,b){var c=b.datasetIndex,d=this.chart,e=d.getDatasetMeta(c);e.hidden=null===e.hidden?!d.data.datasets[c].hidden:null,d.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(a){var b=a.data;return f.isArray(b.datasets)?b.datasets.map(function(b,c){return{text:b.label,fillStyle:f.isArray(b.backgroundColor)?b.backgroundColor[0]:b.backgroundColor,hidden:!a.isDatasetVisible(c),lineCap:b.borderCapStyle,lineDash:b.borderDash,lineDashOffset:b.borderDashOffset,lineJoin:b.borderJoinStyle,lineWidth:b.borderWidth,strokeStyle:b.borderColor,pointStyle:b.pointStyle,datasetIndex:c}},this):[]}}},legendCallback:function(a){var b=[];b.push('<ul class="'+a.id+'-legend">');for(var c=0;c<a.data.datasets.length;c++)b.push('<li><span style="background-color:'+a.data.datasets[c].backgroundColor+'"></span>'),a.data.datasets[c].label&&b.push(a.data.datasets[c].label),b.push("</li>");return b.push("</ul>"),b.join("")}}),b.exports=function(a){function b(a,b){return a.usePointStyle?b*Math.SQRT2:a.boxWidth}function c(b,c){var d=new a.Legend({ctx:b.ctx,options:c,chart:b});g.configure(b,d,c),g.addBox(b,d),b.legend=d}var g=a.layoutService,h=f.noop;return a.Legend=e.extend({initialize:function(a){f.extend(this,a),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:h,update:function(a,b,c){var d=this;return d.beforeUpdate(),d.maxWidth=a,d.maxHeight=b,d.margins=c,d.beforeSetDimensions(),d.setDimensions(),d.afterSetDimensions(),d.beforeBuildLabels(),d.buildLabels(),d.afterBuildLabels(),d.beforeFit(),d.fit(),d.afterFit(),d.afterUpdate(),d.minSize},afterUpdate:h,beforeSetDimensions:h,setDimensions:function(){var a=this;a.isHorizontal()?(a.width=a.maxWidth,a.left=0,a.right=a.width):(a.height=a.maxHeight,a.top=0,a.bottom=a.height),a.paddingLeft=0,a.paddingTop=0,a.paddingRight=0,a.paddingBottom=0,a.minSize={width:0,height:0}},afterSetDimensions:h,beforeBuildLabels:h,buildLabels:function(){var a=this,b=a.options.labels||{},c=f.callback(b.generateLabels,[a.chart],a)||[];b.filter&&(c=c.filter(function(c){return b.filter(c,a.chart.data)})),a.options.reverse&&c.reverse(),a.legendItems=c},afterBuildLabels:h,beforeFit:h,fit:function(){var a=this,c=a.options,e=c.labels,g=c.display,h=a.ctx,i=d.global,j=f.valueOrDefault,k=j(e.fontSize,i.defaultFontSize),l=j(e.fontStyle,i.defaultFontStyle),m=j(e.fontFamily,i.defaultFontFamily),n=f.fontString(k,l,m),o=a.legendHitBoxes=[],p=a.minSize,q=a.isHorizontal();if(q?(p.width=a.maxWidth,p.height=g?10:0):(p.width=g?10:0,p.height=a.maxHeight),g)if(h.font=n,q){var r=a.lineWidths=[0],s=a.legendItems.length?k+e.padding:0;h.textAlign="left",h.textBaseline="top",f.each(a.legendItems,function(c,d){var f=b(e,k),g=f+k/2+h.measureText(c.text).width;r[r.length-1]+g+e.padding>=a.width&&(s+=k+e.padding,r[r.length]=a.left),o[d]={left:0,top:0,width:g,height:k},r[r.length-1]+=g+e.padding}),p.height+=s}else{var t=e.padding,u=a.columnWidths=[],v=e.padding,w=0,x=0,y=k+t;f.each(a.legendItems,function(a,c){var d=b(e,k),f=d+k/2+h.measureText(a.text).width;x+y>p.height&&(v+=w+e.padding,u.push(w),w=0,x=0),w=Math.max(w,f),x+=y,o[c]={left:0,top:0,width:f,height:k}}),v+=w,u.push(w),p.width+=v}a.width=p.width,a.height=p.height},afterFit:h,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var a=this,c=a.options,e=c.labels,g=d.global,h=g.elements.line,i=a.width,j=a.lineWidths;if(c.display){var k,l=a.ctx,m=f.valueOrDefault,n=m(e.fontColor,g.defaultFontColor),o=m(e.fontSize,g.defaultFontSize),p=m(e.fontStyle,g.defaultFontStyle),q=m(e.fontFamily,g.defaultFontFamily),r=f.fontString(o,p,q);l.textAlign="left",l.textBaseline="middle",l.lineWidth=.5,l.strokeStyle=n,l.fillStyle=n,l.font=r;var s=b(e,o),t=a.legendHitBoxes,u=function(a,b,d){if(!(isNaN(s)||0>=s)){l.save(),l.fillStyle=m(d.fillStyle,g.defaultColor),l.lineCap=m(d.lineCap,h.borderCapStyle),l.lineDashOffset=m(d.lineDashOffset,h.borderDashOffset),l.lineJoin=m(d.lineJoin,h.borderJoinStyle),l.lineWidth=m(d.lineWidth,h.borderWidth),l.strokeStyle=m(d.strokeStyle,g.defaultColor);var e=0===m(d.lineWidth,h.borderWidth);if(l.setLineDash&&l.setLineDash(m(d.lineDash,h.borderDash)),c.labels&&c.labels.usePointStyle){var i=o*Math.SQRT2/2,j=i/Math.SQRT2,k=a+j,n=b+j;f.canvas.drawPoint(l,d.pointStyle,i,k,n)}else e||l.strokeRect(a,b,s,o),l.fillRect(a,b,s,o);l.restore()}},v=function(a,b,c,d){var e=o/2,f=s+e+a,g=b+e;l.fillText(c.text,f,g),c.hidden&&(l.beginPath(),l.lineWidth=2,l.moveTo(f,g),l.lineTo(f+d,g),l.stroke())},w=a.isHorizontal();k=w?{x:a.left+(i-j[0])/2,y:a.top+e.padding,line:0}:{x:a.left+e.padding,y:a.top+e.padding,line:0};var x=o+e.padding;f.each(a.legendItems,function(b,c){var d=l.measureText(b.text).width,f=s+o/2+d,g=k.x,h=k.y;w?g+f>=i&&(h=k.y+=x,k.line++,g=k.x=a.left+(i-j[k.line])/2):h+x>a.bottom&&(g=k.x=g+a.columnWidths[k.line]+e.padding,h=k.y=a.top+e.padding,k.line++),u(g,h,b),t[c].left=g,t[c].top=h,v(g,h,b,d),w?k.x+=f+e.padding:k.y+=x})}},handleEvent:function(a){var b=this,c=b.options,d="mouseup"===a.type?"click":a.type,e=!1;if("mousemove"===d){if(!c.onHover)return}else{if("click"!==d)return;if(!c.onClick)return}var f=a.x,g=a.y;if(f>=b.left&&f<=b.right&&g>=b.top&&g<=b.bottom)for(var h=b.legendHitBoxes,i=0;i<h.length;++i){var j=h[i];if(f>=j.left&&f<=j.left+j.width&&g>=j.top&&g<=j.top+j.height){if("click"===d){c.onClick.call(b,a["native"],b.legendItems[i]),e=!0;break}if("mousemove"===d){c.onHover.call(b,a["native"],b.legendItems[i]),e=!0;break}}}return e}}),{id:"legend",beforeInit:function(a){var b=a.options.legend;b&&c(a,b)},beforeUpdate:function(a){var b=a.options.legend,e=a.legend;b?(f.mergeIf(b,d.global.legend),e?(g.configure(a,e,b),e.options=b):c(a,b)):e&&(g.removeBox(a,e),delete a.legend)},afterEvent:function(a,b){var c=a.legend;c&&c.handleEvent(b)}}}},{25:25,26:26,45:45}],51:[function(a,b,c){"use strict";var d=a(25),e=a(26),f=a(45);d._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}}),b.exports=function(a){function b(b,d){var e=new a.Title({ctx:b.ctx,options:d,chart:b});c.configure(b,e,d),c.addBox(b,e),b.titleBlock=e}var c=a.layoutService,g=f.noop;return a.Title=e.extend({initialize:function(a){var b=this;f.extend(b,a),b.legendHitBoxes=[]},beforeUpdate:g,update:function(a,b,c){var d=this;return d.beforeUpdate(),d.maxWidth=a,d.maxHeight=b,d.margins=c,d.beforeSetDimensions(),d.setDimensions(),d.afterSetDimensions(),d.beforeBuildLabels(),d.buildLabels(),d.afterBuildLabels(),d.beforeFit(),d.fit(),d.afterFit(),d.afterUpdate(),d.minSize},afterUpdate:g,beforeSetDimensions:g,setDimensions:function(){var a=this;a.isHorizontal()?(a.width=a.maxWidth,a.left=0,a.right=a.width):(a.height=a.maxHeight,a.top=0,a.bottom=a.height),a.paddingLeft=0,a.paddingTop=0,a.paddingRight=0,a.paddingBottom=0,a.minSize={width:0,height:0}},afterSetDimensions:g,beforeBuildLabels:g,buildLabels:g,afterBuildLabels:g,beforeFit:g,fit:function(){var a=this,b=f.valueOrDefault,c=a.options,e=c.display,g=b(c.fontSize,d.global.defaultFontSize),h=a.minSize,i=f.isArray(c.text)?c.text.length:1,j=f.options.toLineHeight(c.lineHeight,g),k=e?i*j+2*c.padding:0;a.isHorizontal()?(h.width=a.maxWidth,h.height=k):(h.width=k,h.height=a.maxHeight),a.width=h.width,a.height=h.height},afterFit:g,isHorizontal:function(){var a=this.options.position;return"top"===a||"bottom"===a},draw:function(){var a=this,b=a.ctx,c=f.valueOrDefault,e=a.options,g=d.global;if(e.display){var h,i,j,k=c(e.fontSize,g.defaultFontSize),l=c(e.fontStyle,g.defaultFontStyle),m=c(e.fontFamily,g.defaultFontFamily),n=f.fontString(k,l,m),o=f.options.toLineHeight(e.lineHeight,k),p=o/2+e.padding,q=0,r=a.top,s=a.left,t=a.bottom,u=a.right;b.fillStyle=c(e.fontColor,g.defaultFontColor),b.font=n,a.isHorizontal()?(i=s+(u-s)/2,j=r+p,h=u-s):(i="left"===e.position?s+p:u-p,j=r+(t-r)/2,h=t-r,q=Math.PI*("left"===e.position?-.5:.5)),b.save(),b.translate(i,j),b.rotate(q),b.textAlign="center",b.textBaseline="middle";var v=e.text;if(f.isArray(v))for(var w=0,x=0;x<v.length;++x)b.fillText(v[x],0,w,h),w+=o;else b.fillText(v,0,0,h);b.restore()}}}),{id:"title",beforeInit:function(a){var c=a.options.title;c&&b(a,c)},beforeUpdate:function(e){var g=e.options.title,h=e.titleBlock;g?(f.mergeIf(g,d.global.title),h?(c.configure(e,h,g),h.options=g):b(e,g)):h&&(a.layoutService.removeBox(e,h),delete e.titleBlock)}}}},{25:25,26:26,45:45}],52:[function(a,b,c){"use strict";b.exports=function(a){var b={position:"bottom"},c=a.Scale.extend({getLabels:function(){var a=this.chart.data;return this.options.labels||(this.isHorizontal()?a.xLabels:a.yLabels)||a.labels},determineDataLimits:function(){var a=this,b=a.getLabels();a.minIndex=0,a.maxIndex=b.length-1;var c;void 0!==a.options.ticks.min&&(c=b.indexOf(a.options.ticks.min),a.minIndex=-1!==c?c:a.minIndex),void 0!==a.options.ticks.max&&(c=b.indexOf(a.options.ticks.max),a.maxIndex=-1!==c?c:a.maxIndex),a.min=b[a.minIndex],a.max=b[a.maxIndex]},buildTicks:function(){var a=this,b=a.getLabels();a.ticks=0===a.minIndex&&a.maxIndex===b.length-1?b:b.slice(a.minIndex,a.maxIndex+1)},getLabelForIndex:function(a,b){var c=this,d=c.chart.data,e=c.isHorizontal();return d.yLabels&&!e?c.getRightValue(d.datasets[b].data[a]):c.ticks[a-c.minIndex]},getPixelForValue:function(a,b){var c,d=this,e=d.options.offset,f=Math.max(d.maxIndex+1-d.minIndex-(e?0:1),1);if(void 0!==a&&null!==a&&(c=d.isHorizontal()?a.x:a.y),void 0!==c||void 0!==a&&isNaN(b)){var g=d.getLabels();a=c||a;var h=g.indexOf(a);b=-1!==h?h:b}if(d.isHorizontal()){var i=d.width/f,j=i*(b-d.minIndex);return e&&(j+=i/2),d.left+Math.round(j)}var k=d.height/f,l=k*(b-d.minIndex);return e&&(l+=k/2),d.top+Math.round(l)},getPixelForTick:function(a){return this.getPixelForValue(this.ticks[a],a+this.minIndex,null)},getValueForPixel:function(a){var b,c=this,d=c.options.offset,e=Math.max(c._ticks.length-(d?0:1),1),f=c.isHorizontal(),g=(f?c.width:c.height)/e;return a-=f?c.left:c.top,d&&(a-=g/2),b=0>=a?0:Math.round(a/g),b+c.minIndex},getBasePixel:function(){return this.bottom}});a.scaleService.registerScaleType("category",c,b)}},{}],53:[function(a,b,c){"use strict";var d=a(25),e=a(45),f=a(34);b.exports=function(a){var b={position:"left",ticks:{callback:f.formatters.linear}},c=a.LinearScaleBase.extend({determineDataLimits:function(){function a(a){return h?a.xAxisID===b.id:a.yAxisID===b.id}var b=this,c=b.options,d=b.chart,f=d.data,g=f.datasets,h=b.isHorizontal(),i=0,j=1;b.min=null,b.max=null;var k=c.stacked;if(void 0===k&&e.each(g,function(b,c){if(!k){var e=d.getDatasetMeta(c);d.isDatasetVisible(c)&&a(e)&&void 0!==e.stack&&(k=!0)}}),c.stacked||k){var l={};e.each(g,function(f,g){var h=d.getDatasetMeta(g),i=[h.type,void 0===c.stacked&&void 0===h.stack?g:"",h.stack].join(".");void 0===l[i]&&(l[i]={positiveValues:[],negativeValues:[]});var j=l[i].positiveValues,k=l[i].negativeValues;d.isDatasetVisible(g)&&a(h)&&e.each(f.data,function(a,d){var e=+b.getRightValue(a);isNaN(e)||h.data[d].hidden||(j[d]=j[d]||0,k[d]=k[d]||0,c.relativePoints?j[d]=100:0>e?k[d]+=e:j[d]+=e)})}),e.each(l,function(a){var c=a.positiveValues.concat(a.negativeValues),d=e.min(c),f=e.max(c);b.min=null===b.min?d:Math.min(b.min,d),b.max=null===b.max?f:Math.max(b.max,f)})}else e.each(g,function(c,f){var g=d.getDatasetMeta(f);d.isDatasetVisible(f)&&a(g)&&e.each(c.data,function(a,c){var d=+b.getRightValue(a);isNaN(d)||g.data[c].hidden||(null===b.min?b.min=d:d<b.min&&(b.min=d),null===b.max?b.max=d:d>b.max&&(b.max=d))})});b.min=isFinite(b.min)&&!isNaN(b.min)?b.min:i,b.max=isFinite(b.max)&&!isNaN(b.max)?b.max:j,this.handleTickRangeOptions()},getTickLimit:function(){var a,b=this,c=b.options.ticks;if(b.isHorizontal())a=Math.min(c.maxTicksLimit?c.maxTicksLimit:11,Math.ceil(b.width/50));else{var f=e.valueOrDefault(c.fontSize,d.global.defaultFontSize);a=Math.min(c.maxTicksLimit?c.maxTicksLimit:11,Math.ceil(b.height/(2*f)))}return a},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(a,b){return+this.getRightValue(this.chart.data.datasets[b].data[a])},getPixelForValue:function(a){var b,c=this,d=c.start,e=+c.getRightValue(a),f=c.end-d;return c.isHorizontal()?(b=c.left+c.width/f*(e-d),Math.round(b)):(b=c.bottom-c.height/f*(e-d),Math.round(b))},getValueForPixel:function(a){var b=this,c=b.isHorizontal(),d=c?b.width:b.height,e=(c?a-b.left:b.bottom-a)/d;return b.start+(b.end-b.start)*e},getPixelForTick:function(a){return this.getPixelForValue(this.ticksAsNumbers[a])}});a.scaleService.registerScaleType("linear",c,b)}},{25:25,34:34,45:45}],54:[function(a,b,c){"use strict";var d=a(45),e=a(34);b.exports=function(a){var b=d.noop;a.LinearScaleBase=a.Scale.extend({getRightValue:function(b){return"string"==typeof b?+b:a.Scale.prototype.getRightValue.call(this,b)},handleTickRangeOptions:function(){var a=this,b=a.options,c=b.ticks;if(c.beginAtZero){var e=d.sign(a.min),f=d.sign(a.max);0>e&&0>f?a.max=0:e>0&&f>0&&(a.min=0)}var g=void 0!==c.min||void 0!==c.suggestedMin,h=void 0!==c.max||void 0!==c.suggestedMax;void 0!==c.min?a.min=c.min:void 0!==c.suggestedMin&&(null===a.min?a.min=c.suggestedMin:a.min=Math.min(a.min,c.suggestedMin)),void 0!==c.max?a.max=c.max:void 0!==c.suggestedMax&&(null===a.max?a.max=c.suggestedMax:a.max=Math.max(a.max,c.suggestedMax)),g!==h&&a.min>=a.max&&(g?a.max=a.min+1:a.min=a.max-1),a.min===a.max&&(a.max++,c.beginAtZero||a.min--)},getTickLimit:b,handleDirectionalChanges:b,buildTicks:function(){var a=this,b=a.options,c=b.ticks,f=a.getTickLimit();f=Math.max(2,f);var g={maxTicks:f,min:c.min,max:c.max,stepSize:d.valueOrDefault(c.fixedStepSize,c.stepSize)},h=a.ticks=e.generators.linear(g,a);a.handleDirectionalChanges(),a.max=d.max(h),a.min=d.min(h),c.reverse?(h.reverse(),a.start=a.max,a.end=a.min):(a.start=a.min,a.end=a.max)},convertTicksToLabels:function(){var b=this;b.ticksAsNumbers=b.ticks.slice(),b.zeroLineIndex=b.ticks.indexOf(0),a.Scale.prototype.convertTicksToLabels.call(b)}})}},{34:34,45:45}],55:[function(a,b,c){"use strict";var d=a(45),e=a(34);b.exports=function(a){var b={position:"left",ticks:{callback:e.formatters.logarithmic}},c=a.Scale.extend({determineDataLimits:function(){function a(a){return j?a.xAxisID===b.id:a.yAxisID===b.id}var b=this,c=b.options,e=c.ticks,f=b.chart,g=f.data,h=g.datasets,i=d.valueOrDefault,j=b.isHorizontal();b.min=null,b.max=null,b.minNotZero=null;var k=c.stacked;if(void 0===k&&d.each(h,function(b,c){if(!k){var d=f.getDatasetMeta(c);f.isDatasetVisible(c)&&a(d)&&void 0!==d.stack&&(k=!0)}}),c.stacked||k){var l={};d.each(h,function(e,g){var h=f.getDatasetMeta(g),i=[h.type,void 0===c.stacked&&void 0===h.stack?g:"",h.stack].join(".");f.isDatasetVisible(g)&&a(h)&&(void 0===l[i]&&(l[i]=[]),d.each(e.data,function(a,d){var e=l[i],f=+b.getRightValue(a);isNaN(f)||h.data[d].hidden||(e[d]=e[d]||0,c.relativePoints?e[d]=100:e[d]+=f)}))}),d.each(l,function(a){var c=d.min(a),e=d.max(a);b.min=null===b.min?c:Math.min(b.min,c),b.max=null===b.max?e:Math.max(b.max,e)})}else d.each(h,function(c,e){var g=f.getDatasetMeta(e);f.isDatasetVisible(e)&&a(g)&&d.each(c.data,function(a,c){var d=+b.getRightValue(a);isNaN(d)||g.data[c].hidden||(null===b.min?b.min=d:d<b.min&&(b.min=d),null===b.max?b.max=d:d>b.max&&(b.max=d),0!==d&&(null===b.minNotZero||d<b.minNotZero)&&(b.minNotZero=d))})});b.min=i(e.min,b.min),b.max=i(e.max,b.max),b.min===b.max&&(0!==b.min&&null!==b.min?(b.min=Math.pow(10,Math.floor(d.log10(b.min))-1),b.max=Math.pow(10,Math.floor(d.log10(b.max))+1)):(b.min=1,b.max=10))},buildTicks:function(){var a=this,b=a.options,c=b.ticks,f={min:c.min,max:c.max},g=a.ticks=e.generators.logarithmic(f,a);a.isHorizontal()||g.reverse(),a.max=d.max(g),a.min=d.min(g),c.reverse?(g.reverse(),a.start=a.max,a.end=a.min):(a.start=a.min,a.end=a.max)},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),a.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(a,b){return+this.getRightValue(this.chart.data.datasets[b].data[a])},getPixelForTick:function(a){return this.getPixelForValue(this.tickValues[a])},getPixelForValue:function(a){var b,c,e,f=this,g=f.start,h=+f.getRightValue(a),i=f.options,j=i.ticks;return f.isHorizontal()?(e=d.log10(f.end)-d.log10(g),0===h?c=f.left:(b=f.width,c=f.left+b/e*(d.log10(h)-d.log10(g)))):(b=f.height,0!==g||j.reverse?0===f.end&&j.reverse?(e=d.log10(f.start)-d.log10(f.minNotZero),c=h===f.end?f.top:h===f.minNotZero?f.top+.02*b:f.top+.02*b+.98*b/e*(d.log10(h)-d.log10(f.minNotZero))):0===h?c=j.reverse?f.top:f.bottom:(e=d.log10(f.end)-d.log10(g),b=f.height,c=f.bottom-b/e*(d.log10(h)-d.log10(g))):(e=d.log10(f.end)-d.log10(f.minNotZero),c=h===g?f.bottom:h===f.minNotZero?f.bottom-.02*b:f.bottom-.02*b-.98*b/e*(d.log10(h)-d.log10(f.minNotZero)))),c},getValueForPixel:function(a){var b,c,e=this,f=d.log10(e.end)-d.log10(e.start);return e.isHorizontal()?(c=e.width,b=e.start*Math.pow(10,(a-e.left)*f/c)):(c=e.height,b=Math.pow(10,(e.bottom-a)*f/c)/e.start),b}});a.scaleService.registerScaleType("logarithmic",c,b)}},{34:34,45:45}],56:[function(a,b,c){"use strict";var d=a(25),e=a(45),f=a(34);b.exports=function(a){function b(a){var b=a.options;return b.angleLines.display||b.pointLabels.display?a.chart.data.labels.length:0}function c(a){var b=a.options.pointLabels,c=e.valueOrDefault(b.fontSize,q.defaultFontSize),d=e.valueOrDefault(b.fontStyle,q.defaultFontStyle),f=e.valueOrDefault(b.fontFamily,q.defaultFontFamily),g=e.fontString(c,d,f);return{size:c,style:d,family:f,font:g}}function g(a,b,c){return e.isArray(c)?{w:e.longestText(a,a.font,c),h:c.length*b+1.5*(c.length-1)*b}:{w:a.measureText(c).width,h:b}}function h(a,b,c,d,e){return a===d||a===e?{start:b-c/2,end:b+c/2}:d>a||a>e?{start:b-c-5,end:b}:{start:b,end:b+c+5}}function i(a){var d,f,i,j=c(a),k=Math.min(a.height/2,a.width/2),l={r:a.width,l:0,t:a.height,b:0},m={};a.ctx.font=j.font,a._pointLabelSizes=[];var n=b(a);for(d=0;n>d;d++){i=a.getPointPosition(d,k),f=g(a.ctx,j.size,a.pointLabels[d]||""),a._pointLabelSizes[d]=f;var o=a.getIndexAngle(d),p=e.toDegrees(o)%360,q=h(p,i.x,f.w,0,180),r=h(p,i.y,f.h,90,270);q.start<l.l&&(l.l=q.start,m.l=o),q.end>l.r&&(l.r=q.end,m.r=o),r.start<l.t&&(l.t=r.start,m.t=o),r.end>l.b&&(l.b=r.end,m.b=o)}a.setReductions(k,l,m)}function j(a){var b=Math.min(a.height/2,a.width/2);a.drawingArea=Math.round(b),a.setCenterPoint(0,0,0,0)}function k(a){return 0===a||180===a?"center":180>a?"left":"right"}function l(a,b,c,d){if(e.isArray(b))for(var f=c.y,g=1.5*d,h=0;h<b.length;++h)a.fillText(b[h],c.x,f),f+=g;else a.fillText(b,c.x,c.y)}function m(a,b,c){90===a||270===a?c.y-=b.h/2:(a>270||90>a)&&(c.y-=b.h)}function n(a){var d=a.ctx,f=e.valueOrDefault,g=a.options,h=g.angleLines,i=g.pointLabels;d.lineWidth=h.lineWidth,d.strokeStyle=h.color;var j=a.getDistanceFromCenterForValue(g.ticks.reverse?a.min:a.max),n=c(a);d.textBaseline="top";for(var o=b(a)-1;o>=0;o--){if(h.display){var p=a.getPointPosition(o,j);d.beginPath(),d.moveTo(a.xCenter,a.yCenter),d.lineTo(p.x,p.y),d.stroke(),d.closePath()}if(i.display){var r=a.getPointPosition(o,j+5),s=f(i.fontColor,q.defaultFontColor);d.font=n.font,d.fillStyle=s;var t=a.getIndexAngle(o),u=e.toDegrees(t);d.textAlign=k(u),m(u,a._pointLabelSizes[o],r),l(d,a.pointLabels[o]||"",r,n.size)}}}function o(a,c,d,f){var g=a.ctx;if(g.strokeStyle=e.valueAtIndexOrDefault(c.color,f-1),g.lineWidth=e.valueAtIndexOrDefault(c.lineWidth,f-1),a.options.gridLines.circular)g.beginPath(),g.arc(a.xCenter,a.yCenter,d,0,2*Math.PI),g.closePath(),g.stroke();else{var h=b(a);if(0===h)return;g.beginPath();var i=a.getPointPosition(0,d);g.moveTo(i.x,i.y);for(var j=1;h>j;j++)i=a.getPointPosition(j,d),g.lineTo(i.x,i.y);g.closePath(),g.stroke()}}function p(a){return e.isNumber(a)?a:0}var q=d.global,r={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:f.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(a){return a}}},s=a.LinearScaleBase.extend({setDimensions:function(){var a=this,b=a.options,c=b.ticks;a.width=a.maxWidth,a.height=a.maxHeight,a.xCenter=Math.round(a.width/2),a.yCenter=Math.round(a.height/2);var d=e.min([a.height,a.width]),f=e.valueOrDefault(c.fontSize,q.defaultFontSize);a.drawingArea=b.display?d/2-(f/2+c.backdropPaddingY):d/2},determineDataLimits:function(){var a=this,b=a.chart,c=Number.POSITIVE_INFINITY,d=Number.NEGATIVE_INFINITY;e.each(b.data.datasets,function(f,g){if(b.isDatasetVisible(g)){var h=b.getDatasetMeta(g);e.each(f.data,function(b,e){var f=+a.getRightValue(b);isNaN(f)||h.data[e].hidden||(c=Math.min(f,c),d=Math.max(f,d))})}}),a.min=c===Number.POSITIVE_INFINITY?0:c,a.max=d===Number.NEGATIVE_INFINITY?0:d,a.handleTickRangeOptions()},getTickLimit:function(){var a=this.options.ticks,b=e.valueOrDefault(a.fontSize,q.defaultFontSize);return Math.min(a.maxTicksLimit?a.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*b)))},convertTicksToLabels:function(){var b=this;a.LinearScaleBase.prototype.convertTicksToLabels.call(b),b.pointLabels=b.chart.data.labels.map(b.options.pointLabels.callback,b)},getLabelForIndex:function(a,b){return+this.getRightValue(this.chart.data.datasets[b].data[a])},fit:function(){this.options.pointLabels.display?i(this):j(this)},setReductions:function(a,b,c){var d=this,e=b.l/Math.sin(c.l),f=Math.max(b.r-d.width,0)/Math.sin(c.r),g=-b.t/Math.cos(c.t),h=-Math.max(b.b-d.height,0)/Math.cos(c.b);e=p(e),f=p(f),g=p(g),h=p(h),d.drawingArea=Math.min(Math.round(a-(e+f)/2),Math.round(a-(g+h)/2)),d.setCenterPoint(e,f,g,h)},setCenterPoint:function(a,b,c,d){var e=this,f=e.width-b-e.drawingArea,g=a+e.drawingArea,h=c+e.drawingArea,i=e.height-d-e.drawingArea;e.xCenter=Math.round((g+f)/2+e.left),e.yCenter=Math.round((h+i)/2+e.top)},getIndexAngle:function(a){var c=2*Math.PI/b(this),d=this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0,e=d*Math.PI*2/360;return a*c+e},getDistanceFromCenterForValue:function(a){var b=this;if(null===a)return 0;var c=b.drawingArea/(b.max-b.min);return b.options.ticks.reverse?(b.max-a)*c:(a-b.min)*c},getPointPosition:function(a,b){var c=this,d=c.getIndexAngle(a)-Math.PI/2;return{x:Math.round(Math.cos(d)*b)+c.xCenter,y:Math.round(Math.sin(d)*b)+c.yCenter}},getPointPositionForValue:function(a,b){return this.getPointPosition(a,this.getDistanceFromCenterForValue(b))},getBasePosition:function(){var a=this,b=a.min,c=a.max;return a.getPointPositionForValue(0,a.beginAtZero?0:0>b&&0>c?c:b>0&&c>0?b:0)},draw:function(){var a=this,b=a.options,c=b.gridLines,d=b.ticks,f=e.valueOrDefault;if(b.display){var g=a.ctx,h=this.getIndexAngle(0),i=f(d.fontSize,q.defaultFontSize),j=f(d.fontStyle,q.defaultFontStyle),k=f(d.fontFamily,q.defaultFontFamily),l=e.fontString(i,j,k);e.each(a.ticks,function(b,e){if(e>0||d.reverse){var j=a.getDistanceFromCenterForValue(a.ticksAsNumbers[e]);if(c.display&&0!==e&&o(a,c,j,e),d.display){var k=f(d.fontColor,q.defaultFontColor);if(g.font=l,g.save(),g.translate(a.xCenter,a.yCenter),g.rotate(h),d.showLabelBackdrop){var m=g.measureText(b).width;g.fillStyle=d.backdropColor,g.fillRect(-m/2-d.backdropPaddingX,-j-i/2-d.backdropPaddingY,m+2*d.backdropPaddingX,i+2*d.backdropPaddingY)}g.textAlign="center",g.textBaseline="middle",g.fillStyle=k,g.fillText(b,0,-j),g.restore()}}}),(b.angleLines.display||b.pointLabels.display)&&n(a)}}});a.scaleService.registerScaleType("radialLinear",s,r)}},{25:25,34:34,45:45}],57:[function(a,b,c){"use strict";function d(a,b){return a-b}function e(a){var b,c,d,e={},f=[];for(b=0,c=a.length;c>b;++b)d=a[b],e[d]||(e[d]=!0,f.push(d));return f}function f(a,b,c,d){if("linear"===d||!a.length)return[{time:b,pos:0},{time:c,pos:1}];var e,f,g,h,i,j=[],k=[b];for(e=0,f=a.length;f>e;++e)h=a[e],h>b&&c>h&&k.push(h);for(k.push(c),e=0,f=k.length;f>e;++e)i=k[e+1],g=k[e-1],h=k[e],(void 0===g||void 0===i||Math.round((i+g)/2)!==h)&&j.push({time:h,pos:e/(f-1)});return j}function g(a,b,c){for(var d,e,f,g=0,h=a.length-1;g>=0&&h>=g;){if(d=g+h>>1,e=a[d-1]||null,f=a[d],!e)return{lo:null,hi:f};if(f[b]<c)g=d+1;else{if(!(e[b]>c))return{lo:e,hi:f};h=d-1}}return{lo:f,hi:null}}function h(a,b,c,d){var e=g(a,b,c),f=e.lo?e.hi?e.lo:a[a.length-2]:a[0],h=e.lo?e.hi?e.hi:a[a.length-1]:a[1],i=h[b]-f[b],j=i?(c-f[b])/i:0,k=(h[d]-f[d])*j;return f[d]+k}function i(a,b){var c=b.parser,d=b.parser||b.format;return"function"==typeof c?c(a):"string"==typeof a&&"string"==typeof d?r(a,d):(a instanceof r||(a=r(a)),a.isValid()?a:"function"==typeof d?d(a):a)}function j(a,b){if(t.isNullOrUndef(a))return null;var c=b.options.time,d=i(b.getRightValue(a),c);return d.isValid()?(c.round&&d.startOf(c.round),d.valueOf()):null}function k(a,b,c,d){var e,f,g,h=b-a,i=w[c],j=i.size,k=i.steps;if(!k)return Math.ceil(h/((d||1)*j));for(e=0,f=k.length;f>e&&(g=k[e],!(Math.ceil(h/(j*g))<=d));++e);return g}function l(a,b,c,d){var e,f,g,h=x.length;for(e=x.indexOf(a);h-1>e;++e)if(f=w[x[e]],g=f.steps?f.steps[f.steps.length-1]:v,f.common&&Math.ceil((c-b)/(g*f.size))<=d)return x[e];return x[h-1]}function m(a,b,c,d){var e,f,g=r.duration(r(d).diff(r(c))),h=x.length;for(e=h-1;e>=x.indexOf(b);e--)if(f=x[e],w[f].common&&g.as(f)>=a.length)return f;return x[b?x.indexOf(b):0]}function n(a){for(var b=x.indexOf(a)+1,c=x.length;c>b;++b)if(w[x[b]].common)return x[b]}function o(a,b,c,d){var e,f=d.time,g=f.unit||l(f.minUnit,a,b,c),h=n(g),i=t.valueOrDefault(f.stepSize,f.unitStepSize),j="week"===g?f.isoWeekday:!1,m=d.ticks.major.enabled,o=w[g],p=r(a),q=r(b),s=[];for(i||(i=k(a,b,g,c)),j&&(p=p.isoWeekday(j),q=q.isoWeekday(j)),p=p.startOf(j?"day":g),q=q.startOf(j?"day":g),b>q&&q.add(1,g),e=r(p),m&&h&&!j&&!f.round&&(e.startOf(h),e.add(~~((p-e)/(o.size*i))*i,g));q>e;e.add(i,g))s.push(+e);return s.push(+e),s}function p(a,b,c,d,e){var f,g,i=0,j=0;return e.offset&&b.length&&(e.time.min||(f=b.length>1?b[1]:d,g=b[0],i=(h(a,"time",f,"pos")-h(a,"time",g,"pos"))/2),e.time.max||(f=b[b.length-1],g=b.length>1?b[b.length-2]:c,j=(h(a,"time",f,"pos")-h(a,"time",g,"pos"))/2)),{left:i,right:j}}function q(a,b){var c,d,e,f,g=[];for(c=0,d=a.length;d>c;++c)e=a[c],f=b?e===+r(e).startOf(b):!1,g.push({value:e,major:f});return g}var r=a(1);r="function"==typeof r?r:window.moment;var s=a(25),t=a(45),u=Number.MIN_SAFE_INTEGER||-9007199254740991,v=Number.MAX_SAFE_INTEGER||9007199254740991,w={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},x=Object.keys(w);b.exports=function(a){var b={position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}},c=a.Scale.extend({initialize:function(){if(!r)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),a.Scale.prototype.initialize.call(this)},update:function(){var b=this,c=b.options;return c.time&&c.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),a.Scale.prototype.update.apply(b,arguments)},getRightValue:function(b){return b&&void 0!==b.t&&(b=b.t),a.Scale.prototype.getRightValue.call(this,b)},determineDataLimits:function(){var a,b,c,f,g,h,i=this,k=i.chart,l=i.options.time,m=v,n=u,o=[],p=[],q=[];for(a=0,c=k.data.labels.length;c>a;++a)q.push(j(k.data.labels[a],i));for(a=0,c=(k.data.datasets||[]).length;c>a;++a)if(k.isDatasetVisible(a))if(g=k.data.datasets[a].data,t.isObject(g[0]))for(p[a]=[],b=0,f=g.length;f>b;++b)h=j(g[b],i),o.push(h),p[a][b]=h;else o.push.apply(o,q),p[a]=q.slice(0);else p[a]=[];q.length&&(q=e(q).sort(d),m=Math.min(m,q[0]),n=Math.max(n,q[q.length-1])),o.length&&(o=e(o).sort(d),m=Math.min(m,o[0]),n=Math.max(n,o[o.length-1])),m=j(l.min,i)||m,n=j(l.max,i)||n,m=m===v?+r().startOf("day"):m,n=n===u?+r().endOf("day")+1:n,i.min=Math.min(m,n),i.max=Math.max(m+1,n),i._horizontal=i.isHorizontal(),i._table=[],i._timestamps={data:o,datasets:p,labels:q}},buildTicks:function(){var a,b,c,d=this,e=d.min,g=d.max,h=d.options,i=h.time,k=[],l=[];switch(h.ticks.source){case"data":k=d._timestamps.data;break;case"labels":k=d._timestamps.labels;break;case"auto":default:k=o(e,g,d.getLabelCapacity(e),h)}for("ticks"===h.bounds&&k.length&&(e=k[0],g=k[k.length-1]),e=j(i.min,d)||e,g=j(i.max,d)||g,a=0,b=k.length;b>a;++a)c=k[a],c>=e&&g>=c&&l.push(c);return d.min=e,d.max=g,d._unit=i.unit||m(l,i.minUnit,d.min,d.max),d._majorUnit=n(d._unit),d._table=f(d._timestamps.data,e,g,h.distribution),d._offsets=p(d._table,l,e,g,h),q(l,d._majorUnit)},getLabelForIndex:function(a,b){var c=this,d=c.chart.data,e=c.options.time,f=d.labels&&a<d.labels.length?d.labels[a]:"",g=d.datasets[b].data[a];return t.isObject(g)&&(f=c.getRightValue(g)),e.tooltipFormat&&(f=i(f,e).format(e.tooltipFormat)),f},tickFormatFunction:function(a,b,c,d){
18
var e=this,f=e.options,g=a.valueOf(),h=f.time.displayFormats,i=h[e._unit],j=e._majorUnit,k=h[j],l=a.clone().startOf(j).valueOf(),m=f.ticks.major,n=m.enabled&&j&&k&&g===l,o=a.format(d?d:n?k:i),p=n?m:f.ticks.minor,q=t.valueOrDefault(p.callback,p.userCallback);return q?q(o,b,c):o},convertTicksToLabels:function(a){var b,c,d=[];for(b=0,c=a.length;c>b;++b)d.push(this.tickFormatFunction(r(a[b].value),b,a));return d},getPixelForOffset:function(a){var b=this,c=b._horizontal?b.width:b.height,d=b._horizontal?b.left:b.top,e=h(b._table,"time",a,"pos");return d+c*(b._offsets.left+e)/(b._offsets.left+1+b._offsets.right)},getPixelForValue:function(a,b,c){var d=this,e=null;return void 0!==b&&void 0!==c&&(e=d._timestamps.datasets[c][b]),null===e&&(e=j(a,d)),null!==e?d.getPixelForOffset(e):void 0},getPixelForTick:function(a){var b=this.getTicks();return a>=0&&a<b.length?this.getPixelForOffset(b[a].value):null},getValueForPixel:function(a){var b=this,c=b._horizontal?b.width:b.height,d=b._horizontal?b.left:b.top,e=(c?(a-d)/c:0)*(b._offsets.left+1+b._offsets.left)-b._offsets.right,f=h(b._table,"pos",e,"time");return r(f)},getLabelWidth:function(a){var b=this,c=b.options.ticks,d=b.ctx.measureText(a).width,e=t.toRadians(c.maxRotation),f=Math.cos(e),g=Math.sin(e),h=t.valueOrDefault(c.fontSize,s.global.defaultFontSize);return d*f+h*g},getLabelCapacity:function(a){var b=this,c=b.options.time.displayFormats.millisecond,d=b.tickFormatFunction(r(a),0,[],c),e=b.getLabelWidth(d),f=b.isHorizontal()?b.width:b.height;return Math.floor(f/e)}});a.scaleService.registerScaleType("time",c,b)}},{1:1,25:25,45:45}]},{},[7])(7)}),function(a){a.flexslider=function(b,c){var d=a(b);d.vars=a.extend({},a.flexslider.defaults,c);var e,f=d.vars.namespace,g=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,h=("ontouchstart"in window||g||window.DocumentTouch&&document instanceof DocumentTouch)&&d.vars.touch,i="click touchend MSPointerUp keyup",j="",k="vertical"===d.vars.direction,l=d.vars.reverse,m=d.vars.itemWidth>0,n="fade"===d.vars.animation,o=""!==d.vars.asNavFor,p={},q=!0;a.data(b,"flexslider",d),p={init:function(){d.animating=!1,d.currentSlide=parseInt(d.vars.startAt?d.vars.startAt:0,10),isNaN(d.currentSlide)&&(d.currentSlide=0),d.animatingTo=d.currentSlide,d.atEnd=0===d.currentSlide||d.currentSlide===d.last,d.containerSelector=d.vars.selector.substr(0,d.vars.selector.search(" ")),d.slides=a(d.vars.selector,d),d.container=a(d.containerSelector,d),d.count=d.slides.length,d.syncExists=a(d.vars.sync).length>0,"slide"===d.vars.animation&&(d.vars.animation="swing"),d.prop=k?"top":"marginLeft",d.args={},d.manualPause=!1,d.stopped=!1,d.started=!1,d.startTimeout=null,d.transitions=!d.vars.video&&!n&&d.vars.useCSS&&function(){var a=document.createElement("div"),b=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var c in b)if(void 0!==a.style[b[c]])return d.pfx=b[c].replace("Perspective","").toLowerCase(),d.prop="-"+d.pfx+"-transform",!0;return!1}(),d.ensureAnimationEnd="",""!==d.vars.controlsContainer&&(d.controlsContainer=a(d.vars.controlsContainer).length>0&&a(d.vars.controlsContainer)),""!==d.vars.manualControls&&(d.manualControls=a(d.vars.manualControls).length>0&&a(d.vars.manualControls)),d.vars.randomize&&(d.slides.sort(function(){return Math.round(Math.random())-.5}),d.container.empty().append(d.slides)),d.doMath(),d.setup("init"),d.vars.controlNav&&p.controlNav.setup(),d.vars.directionNav&&p.directionNav.setup(),d.vars.keyboard&&(1===a(d.containerSelector).length||d.vars.multipleKeyboard)&&a(document).bind("keyup",function(a){var b=a.keyCode;if(!d.animating&&(39===b||37===b)){var c=39===b?d.getTarget("next"):37===b?d.getTarget("prev"):!1;d.flexAnimate(c,d.vars.pauseOnAction)}}),d.vars.mousewheel&&d.bind("mousewheel",function(a,b,c,e){a.preventDefault();var f=0>b?d.getTarget("next"):d.getTarget("prev");d.flexAnimate(f,d.vars.pauseOnAction)}),d.vars.pausePlay&&p.pausePlay.setup(),d.vars.slideshow&&d.vars.pauseInvisible&&p.pauseInvisible.init(),d.vars.slideshow&&(d.vars.pauseOnHover&&d.hover(function(){d.manualPlay||d.manualPause||d.pause()},function(){d.manualPause||d.manualPlay||d.stopped||d.play()}),d.vars.pauseInvisible&&p.pauseInvisible.isHidden()||(d.vars.initDelay>0?d.startTimeout=setTimeout(d.play,d.vars.initDelay):d.play())),o&&p.asNav.setup(),h&&d.vars.touch&&p.touch(),(!n||n&&d.vars.smoothHeight)&&a(window).bind("resize orientationchange focus",p.resize),d.find("img").attr("draggable","false"),setTimeout(function(){d.vars.start(d)},200)},asNav:{setup:function(){d.asNav=!0,d.animatingTo=Math.floor(d.currentSlide/d.move),d.currentItem=d.currentSlide,d.slides.removeClass(f+"active-slide").eq(d.currentItem).addClass(f+"active-slide"),g?(b._slider=d,d.slides.each(function(){var b=this;b._gesture=new MSGesture,b._gesture.target=b,b.addEventListener("MSPointerDown",function(a){a.preventDefault(),a.currentTarget._gesture&&a.currentTarget._gesture.addPointer(a.pointerId)},!1),b.addEventListener("MSGestureTap",function(b){b.preventDefault();var c=a(this),e=c.index();a(d.vars.asNavFor).data("flexslider").animating||c.hasClass("active")||(d.direction=d.currentItem<e?"next":"prev",d.flexAnimate(e,d.vars.pauseOnAction,!1,!0,!0))})})):d.slides.on(i,function(b){b.preventDefault();var c=a(this),e=c.index(),g=c.offset().left-a(d).scrollLeft();0>=g&&c.hasClass(f+"active-slide")?d.flexAnimate(d.getTarget("prev"),!0):a(d.vars.asNavFor).data("flexslider").animating||c.hasClass(f+"active-slide")||(d.direction=d.currentItem<e?"next":"prev",d.flexAnimate(e,d.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){d.manualControls?p.controlNav.setupManual():p.controlNav.setupPaging()},setupPaging:function(){var b,c,e="thumbnails"===d.vars.controlNav?"control-thumbs":"control-paging",g=1;if(d.controlNavScaffold=a('<ol class="'+f+"control-nav "+f+e+'"></ol>'),d.pagingCount>1)for(var h=0;h<d.pagingCount;h++){if(c=d.slides.eq(h),b="thumbnails"===d.vars.controlNav?'<img src="'+c.attr("data-thumb")+'"/>':"<a>"+g+"</a>","thumbnails"===d.vars.controlNav&&!0===d.vars.thumbCaptions){var k=c.attr("data-thumbcaption");""!=k&&void 0!=k&&(b+='<span class="'+f+'caption">'+k+"</span>")}d.controlNavScaffold.append("<li>"+b+"</li>"),g++}d.controlsContainer?a(d.controlsContainer).append(d.controlNavScaffold):d.append(d.controlNavScaffold),p.controlNav.set(),p.controlNav.active(),d.controlNavScaffold.delegate("a, img",i,function(b){if(b.preventDefault(),""===j||j===b.type){var c=a(this),e=d.controlNav.index(c);c.hasClass(f+"active")||(d.direction=e>d.currentSlide?"next":"prev",d.flexAnimate(e,d.vars.pauseOnAction))}""===j&&(j=b.type),p.setToClearWatchedEvent()})},setupManual:function(){d.controlNav=d.manualControls,p.controlNav.active(),d.controlNav.bind(i,function(b){if(b.preventDefault(),""===j||j===b.type){var c=a(this),e=d.controlNav.index(c);c.hasClass(f+"active")||(e>d.currentSlide?d.direction="next":d.direction="prev",d.flexAnimate(e,d.vars.pauseOnAction))}""===j&&(j=b.type),p.setToClearWatchedEvent()})},set:function(){var b="thumbnails"===d.vars.controlNav?"img":"a";d.controlNav=a("."+f+"control-nav li "+b,d.controlsContainer?d.controlsContainer:d)},active:function(){d.controlNav.removeClass(f+"active").eq(d.animatingTo).addClass(f+"active")},update:function(b,c){d.pagingCount>1&&"add"===b?d.controlNavScaffold.append(a("<li><a>"+d.count+"</a></li>")):1===d.pagingCount?d.controlNavScaffold.find("li").remove():d.controlNav.eq(c).closest("li").remove(),p.controlNav.set(),d.pagingCount>1&&d.pagingCount!==d.controlNav.length?d.update(c,b):p.controlNav.active()}},directionNav:{setup:function(){var b=a('<ul class="'+f+'direction-nav"><li><a class="'+f+'prev" href="#">'+d.vars.prevText+'</a></li><li><a class="'+f+'next" href="#">'+d.vars.nextText+"</a></li></ul>");d.controlsContainer?(a(d.controlsContainer).append(b),d.directionNav=a("."+f+"direction-nav li a",d.controlsContainer)):(d.append(b),d.directionNav=a("."+f+"direction-nav li a",d)),p.directionNav.update(),d.directionNav.bind(i,function(b){b.preventDefault();var c;(""===j||j===b.type)&&(c=a(this).hasClass(f+"next")?d.getTarget("next"):d.getTarget("prev"),d.flexAnimate(c,d.vars.pauseOnAction)),""===j&&(j=b.type),p.setToClearWatchedEvent()})},update:function(){var a=f+"disabled";1===d.pagingCount?d.directionNav.addClass(a).attr("tabindex","-1"):d.vars.animationLoop?d.directionNav.removeClass(a).removeAttr("tabindex"):0===d.animatingTo?d.directionNav.removeClass(a).filter("."+f+"prev").addClass(a).attr("tabindex","-1"):d.animatingTo===d.last?d.directionNav.removeClass(a).filter("."+f+"next").addClass(a).attr("tabindex","-1"):d.directionNav.removeClass(a).removeAttr("tabindex")}},pausePlay:{setup:function(){var b=a('<div class="'+f+'pauseplay"><a></a></div>');d.controlsContainer?(d.controlsContainer.append(b),d.pausePlay=a("."+f+"pauseplay a",d.controlsContainer)):(d.append(b),d.pausePlay=a("."+f+"pauseplay a",d)),p.pausePlay.update(d.vars.slideshow?f+"pause":f+"play"),d.pausePlay.bind(i,function(b){b.preventDefault(),(""===j||j===b.type)&&(a(this).hasClass(f+"pause")?(d.manualPause=!0,d.manualPlay=!1,d.pause()):(d.manualPause=!1,d.manualPlay=!0,d.play())),""===j&&(j=b.type),p.setToClearWatchedEvent()})},update:function(a){"play"===a?d.pausePlay.removeClass(f+"pause").addClass(f+"play").html(d.vars.playText):d.pausePlay.removeClass(f+"play").addClass(f+"pause").html(d.vars.pauseText)}},touch:function(){function a(a){d.animating?a.preventDefault():(window.navigator.msPointerEnabled||1===a.touches.length)&&(d.pause(),q=k?d.h:d.w,s=Number(new Date),u=a.touches[0].pageX,v=a.touches[0].pageY,p=m&&l&&d.animatingTo===d.last?0:m&&l?d.limit-(d.itemW+d.vars.itemMargin)*d.move*d.animatingTo:m&&d.currentSlide===d.last?d.limit:m?(d.itemW+d.vars.itemMargin)*d.move*d.currentSlide:l?(d.last-d.currentSlide+d.cloneOffset)*q:(d.currentSlide+d.cloneOffset)*q,j=k?v:u,o=k?u:v,b.addEventListener("touchmove",c,!1),b.addEventListener("touchend",e,!1))}function c(a){u=a.touches[0].pageX,v=a.touches[0].pageY,r=k?j-v:j-u,t=k?Math.abs(r)<Math.abs(u-o):Math.abs(r)<Math.abs(v-o);var b=500;(!t||Number(new Date)-s>b)&&(a.preventDefault(),!n&&d.transitions&&(d.vars.animationLoop||(r/=0===d.currentSlide&&0>r||d.currentSlide===d.last&&r>0?Math.abs(r)/q+2:1),d.setProps(p+r,"setTouch")))}function e(a){if(b.removeEventListener("touchmove",c,!1),d.animatingTo===d.currentSlide&&!t&&null!==r){var f=l?-r:r,g=f>0?d.getTarget("next"):d.getTarget("prev");d.canAdvance(g)&&(Number(new Date)-s<550&&Math.abs(f)>50||Math.abs(f)>q/2)?d.flexAnimate(g,d.vars.pauseOnAction):n||d.flexAnimate(d.currentSlide,d.vars.pauseOnAction,!0)}b.removeEventListener("touchend",e,!1),j=null,o=null,r=null,p=null}function f(a){a.stopPropagation(),d.animating?a.preventDefault():(d.pause(),b._gesture.addPointer(a.pointerId),w=0,q=k?d.h:d.w,s=Number(new Date),p=m&&l&&d.animatingTo===d.last?0:m&&l?d.limit-(d.itemW+d.vars.itemMargin)*d.move*d.animatingTo:m&&d.currentSlide===d.last?d.limit:m?(d.itemW+d.vars.itemMargin)*d.move*d.currentSlide:l?(d.last-d.currentSlide+d.cloneOffset)*q:(d.currentSlide+d.cloneOffset)*q)}function h(a){a.stopPropagation();var c=a.target._slider;if(c){var d=-a.translationX,e=-a.translationY;return w+=k?e:d,r=w,t=k?Math.abs(w)<Math.abs(-d):Math.abs(w)<Math.abs(-e),a.detail===a.MSGESTURE_FLAG_INERTIA?void setImmediate(function(){b._gesture.stop()}):void((!t||Number(new Date)-s>500)&&(a.preventDefault(),!n&&c.transitions&&(c.vars.animationLoop||(r=w/(0===c.currentSlide&&0>w||c.currentSlide===c.last&&w>0?Math.abs(w)/q+2:1)),c.setProps(p+r,"setTouch"))))}}function i(a){a.stopPropagation();var b=a.target._slider;if(b){if(b.animatingTo===b.currentSlide&&!t&&null!==r){var c=l?-r:r,d=c>0?b.getTarget("next"):b.getTarget("prev");b.canAdvance(d)&&(Number(new Date)-s<550&&Math.abs(c)>50||Math.abs(c)>q/2)?b.flexAnimate(d,b.vars.pauseOnAction):n||b.flexAnimate(b.currentSlide,b.vars.pauseOnAction,!0)}j=null,o=null,r=null,p=null,w=0}}var j,o,p,q,r,s,t=!1,u=0,v=0,w=0;g?(b.style.msTouchAction="none",b._gesture=new MSGesture,b._gesture.target=b,b.addEventListener("MSPointerDown",f,!1),b._slider=d,b.addEventListener("MSGestureChange",h,!1),b.addEventListener("MSGestureEnd",i,!1)):b.addEventListener("touchstart",a,!1)},resize:function(){!d.animating&&d.is(":visible")&&(m||d.doMath(),n?p.smoothHeight():m?(d.slides.width(d.computedW),d.update(d.pagingCount),d.setProps()):k?(d.viewport.height(d.h),d.setProps(d.h,"setTotal")):(d.vars.smoothHeight&&p.smoothHeight(),d.newSlides.width(d.computedW),d.setProps(d.computedW,"setTotal")))},smoothHeight:function(a){if(!k||n){var b=n?d:d.viewport;a?b.animate({height:d.slides.eq(d.animatingTo).height()},a):b.height(d.slides.eq(d.animatingTo).height())}},sync:function(b){var c=a(d.vars.sync).data("flexslider"),e=d.animatingTo;switch(b){case"animate":c.flexAnimate(e,d.vars.pauseOnAction,!1,!0);break;case"play":c.playing||c.asNav||c.play();break;case"pause":c.pause()}},uniqueID:function(b){return b.filter("[id]").add(b.find("[id]")).each(function(){var b=a(this);b.attr("id",b.attr("id")+"_clone")}),b},pauseInvisible:{visProp:null,init:function(){var a=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var b=0;b<a.length;b++)a[b]+"Hidden"in document&&(p.pauseInvisible.visProp=a[b]+"Hidden");if(p.pauseInvisible.visProp){var c=p.pauseInvisible.visProp.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(c,function(){p.pauseInvisible.isHidden()?d.startTimeout?clearTimeout(d.startTimeout):d.pause():d.started?d.play():d.vars.initDelay>0?setTimeout(d.play,d.vars.initDelay):d.play()})}},isHidden:function(){return document[p.pauseInvisible.visProp]||!1}},setToClearWatchedEvent:function(){clearTimeout(e),e=setTimeout(function(){j=""},3e3)}},d.flexAnimate=function(b,c,e,g,i){if(d.vars.animationLoop||b===d.currentSlide||(d.direction=b>d.currentSlide?"next":"prev"),o&&1===d.pagingCount&&(d.direction=d.currentItem<b?"next":"prev"),!d.animating&&(d.canAdvance(b,i)||e)&&d.is(":visible")){if(o&&g){var j=a(d.vars.asNavFor).data("flexslider");if(d.atEnd=0===b||b===d.count-1,j.flexAnimate(b,!0,!1,!0,i),d.direction=d.currentItem<b?"next":"prev",j.direction=d.direction,Math.ceil((b+1)/d.visible)-1===d.currentSlide||0===b)return d.currentItem=b,d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide"),!1;d.currentItem=b,d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide"),b=Math.floor(b/d.visible)}if(d.animating=!0,d.animatingTo=b,c&&d.pause(),d.vars.before(d),d.syncExists&&!i&&p.sync("animate"),d.vars.controlNav&&p.controlNav.active(),m||d.slides.removeClass(f+"active-slide").eq(b).addClass(f+"active-slide"),d.atEnd=0===b||b===d.last,d.vars.directionNav&&p.directionNav.update(),b===d.last&&(d.vars.end(d),d.vars.animationLoop||d.pause()),n)h?(d.slides.eq(d.currentSlide).css({opacity:0,zIndex:1}),d.slides.eq(b).css({opacity:1,zIndex:2}),d.wrapup(t)):(d.slides.eq(d.currentSlide).css({zIndex:1}).animate({opacity:0},d.vars.animationSpeed,d.vars.easing),d.slides.eq(b).css({zIndex:2}).animate({opacity:1},d.vars.animationSpeed,d.vars.easing,d.wrapup));else{var q,r,s,t=k?d.slides.filter(":first").height():d.computedW;m?(q=d.vars.itemMargin,s=(d.itemW+q)*d.move*d.animatingTo,r=s>d.limit&&1!==d.visible?d.limit:s):r=0===d.currentSlide&&b===d.count-1&&d.vars.animationLoop&&"next"!==d.direction?l?(d.count+d.cloneOffset)*t:0:d.currentSlide===d.last&&0===b&&d.vars.animationLoop&&"prev"!==d.direction?l?0:(d.count+1)*t:l?(d.count-1-b+d.cloneOffset)*t:(b+d.cloneOffset)*t,d.setProps(r,"",d.vars.animationSpeed),d.transitions?(d.vars.animationLoop&&d.atEnd||(d.animating=!1,d.currentSlide=d.animatingTo),d.container.unbind("webkitTransitionEnd transitionend"),d.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(d.ensureAnimationEnd),d.wrapup(t)}),clearTimeout(d.ensureAnimationEnd),d.ensureAnimationEnd=setTimeout(function(){d.wrapup(t)},d.vars.animationSpeed+100)):d.container.animate(d.args,d.vars.animationSpeed,d.vars.easing,function(){d.wrapup(t)})}d.vars.smoothHeight&&p.smoothHeight(d.vars.animationSpeed)}},d.wrapup=function(a){n||m||(0===d.currentSlide&&d.animatingTo===d.last&&d.vars.animationLoop?d.setProps(a,"jumpEnd"):d.currentSlide===d.last&&0===d.animatingTo&&d.vars.animationLoop&&d.setProps(a,"jumpStart")),d.animating=!1,d.currentSlide=d.animatingTo,d.vars.after(d)},d.animateSlides=function(){!d.animating&&q&&d.flexAnimate(d.getTarget("next"))},d.pause=function(){clearInterval(d.animatedSlides),d.animatedSlides=null,d.playing=!1,d.vars.pausePlay&&p.pausePlay.update("play"),d.syncExists&&p.sync("pause")},d.play=function(){d.playing&&clearInterval(d.animatedSlides),d.animatedSlides=d.animatedSlides||setInterval(d.animateSlides,d.vars.slideshowSpeed),d.started=d.playing=!0,d.vars.pausePlay&&p.pausePlay.update("pause"),d.syncExists&&p.sync("play")},d.stop=function(){d.pause(),d.stopped=!0},d.canAdvance=function(a,b){var c=o?d.pagingCount-1:d.last;return b?!0:o&&d.currentItem===d.count-1&&0===a&&"prev"===d.direction?!0:o&&0===d.currentItem&&a===d.pagingCount-1&&"next"!==d.direction?!1:a!==d.currentSlide||o?d.vars.animationLoop?!0:d.atEnd&&0===d.currentSlide&&a===c&&"next"!==d.direction?!1:d.atEnd&&d.currentSlide===c&&0===a&&"next"===d.direction?!1:!0:!1},d.getTarget=function(a){return d.direction=a,"next"===a?d.currentSlide===d.last?0:d.currentSlide+1:0===d.currentSlide?d.last:d.currentSlide-1},d.setProps=function(a,b,c){var e=function(){var c=a?a:(d.itemW+d.vars.itemMargin)*d.move*d.animatingTo,e=function(){if(m)return"setTouch"===b?a:l&&d.animatingTo===d.last?0:l?d.limit-(d.itemW+d.vars.itemMargin)*d.move*d.animatingTo:d.animatingTo===d.last?d.limit:c;switch(b){case"setTotal":return l?(d.count-1-d.currentSlide+d.cloneOffset)*a:(d.currentSlide+d.cloneOffset)*a;case"setTouch":return l?a:a;case"jumpEnd":return l?a:d.count*a;case"jumpStart":return l?d.count*a:a;default:return a}}();return-1*e+"px"}();d.transitions&&(e=k?"translate3d(0,"+e+",0)":"translate3d("+e+",0,0)",c=void 0!==c?c/1e3+"s":"0s",d.container.css("-"+d.pfx+"-transition-duration",c),d.container.css("transition-duration",c)),d.args[d.prop]=e,(d.transitions||void 0===c)&&d.container.css(d.args),d.container.css("transform",e)},d.setup=function(b){if(n)d.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===b&&(h?d.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+d.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(d.currentSlide).css({opacity:1,zIndex:2}):0==d.vars.fadeFirstSlide?d.slides.css({opacity:0,display:"block",zIndex:1}).eq(d.currentSlide).css({zIndex:2}).css({opacity:1}):d.slides.css({opacity:0,display:"block",zIndex:1}).eq(d.currentSlide).css({zIndex:2}).animate({opacity:1},d.vars.animationSpeed,d.vars.easing)),d.vars.smoothHeight&&p.smoothHeight();else{var c,e;"init"===b&&(d.viewport=a('<div class="'+f+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(d).append(d.container),d.cloneCount=0,d.cloneOffset=0,l&&(e=a.makeArray(d.slides).reverse(),d.slides=a(e),d.container.empty().append(d.slides))),d.vars.animationLoop&&!m&&(d.cloneCount=2,d.cloneOffset=1,"init"!==b&&d.container.find(".clone").remove(),d.container.append(p.uniqueID(d.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(p.uniqueID(d.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),d.newSlides=a(d.vars.selector,d),c=l?d.count-1-d.currentSlide+d.cloneOffset:d.currentSlide+d.cloneOffset,k&&!m?(d.container.height(200*(d.count+d.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){d.newSlides.css({display:"block"}),d.doMath(),d.viewport.height(d.h),d.setProps(c*d.h,"init")},"init"===b?100:0)):(d.container.width(200*(d.count+d.cloneCount)+"%"),d.setProps(c*d.computedW,"init"),setTimeout(function(){d.doMath(),d.newSlides.css({width:d.computedW,"float":"left",display:"block"}),d.vars.smoothHeight&&p.smoothHeight()},"init"===b?100:0))}m||d.slides.removeClass(f+"active-slide").eq(d.currentSlide).addClass(f+"active-slide"),d.vars.init(d)},d.doMath=function(){var a=d.slides.first(),b=d.vars.itemMargin,c=d.vars.minItems,e=d.vars.maxItems;d.w=void 0===d.viewport?d.width():d.viewport.width(),d.h=a.height(),d.boxPadding=a.outerWidth()-a.width(),m?(d.itemT=d.vars.itemWidth+b,d.minW=c?c*d.itemT:d.w,d.maxW=e?e*d.itemT-b:d.w,d.itemW=d.minW>d.w?(d.w-b*(c-1))/c:d.maxW<d.w?(d.w-b*(e-1))/e:d.vars.itemWidth>d.w?d.w:d.vars.itemWidth,d.visible=Math.floor(d.w/d.itemW),d.move=d.vars.move>0&&d.vars.move<d.visible?d.vars.move:d.visible,d.pagingCount=Math.ceil((d.count-d.visible)/d.move+1),d.last=d.pagingCount-1,d.limit=1===d.pagingCount?0:d.vars.itemWidth>d.w?d.itemW*(d.count-1)+b*(d.count-1):(d.itemW+b)*d.count-d.w-b):(d.itemW=d.w,d.pagingCount=d.count,d.last=d.count-1),d.computedW=d.itemW-d.boxPadding},d.update=function(a,b){d.doMath(),m||(a<d.currentSlide?d.currentSlide+=1:a<=d.currentSlide&&0!==a&&(d.currentSlide-=1),d.animatingTo=d.currentSlide),d.vars.controlNav&&!d.manualControls&&("add"===b&&!m||d.pagingCount>d.controlNav.length?p.controlNav.update("add"):("remove"===b&&!m||d.pagingCount<d.controlNav.length)&&(m&&d.currentSlide>d.last&&(d.currentSlide-=1,d.animatingTo-=1),p.controlNav.update("remove",d.last))),d.vars.directionNav&&p.directionNav.update()},d.addSlide=function(b,c){var e=a(b);d.count+=1,d.last=d.count-1,k&&l?void 0!==c?d.slides.eq(d.count-c).after(e):d.container.prepend(e):void 0!==c?d.slides.eq(c).before(e):d.container.append(e),d.update(c,"add"),d.slides=a(d.vars.selector+":not(.clone)",d),d.setup(),d.vars.added(d)},d.removeSlide=function(b){var c=isNaN(b)?d.slides.index(a(b)):b;d.count-=1,d.last=d.count-1,isNaN(b)?a(b,d.slides).remove():k&&l?d.slides.eq(d.last).remove():d.slides.eq(b).remove(),d.doMath(),d.update(c,"remove"),d.slides=a(d.vars.selector+":not(.clone)",d),d.setup(),d.vars.removed(d)},p.init()},a(window).blur(function(a){focused=!1}).focus(function(a){focused=!0}),a.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},a.fn.flexslider=function(b){if(void 0===b&&(b={}),"object"==typeof b)return this.each(function(){var c=a(this),d=b.selector?b.selector:".slides > li",e=c.find(d);1===e.length&&b.allowOneSlide===!0||0===e.length?(e.fadeIn(400),b.start&&b.start(c)):void 0===c.data("flexslider")&&new a.flexslider(this,b)});var c=a(this).data("flexslider");switch(b){case"play":c.play();break;case"pause":c.pause();break;case"stop":c.stop();break;case"next":c.flexAnimate(c.getTarget("next"),!0);break;case"prev":case"previous":c.flexAnimate(c.getTarget("prev"),!0);break;default:"number"==typeof b&&c.flexAnimate(b,!0)}}}(jQuery),function(a,b){"object"==typeof exports&&"undefined"!=typeof module?b(require("chart.js")):"function"==typeof define&&define.amd?define(["chart.js"],b):b(a.Chart)}(this,function(a){"use strict";function b(a,b){var c=b.x,d=b.y;if(null===c)return{x:0,y:-1};if(null===d)return{x:1,y:0};var e=a.x-c,f=a.y-d,g=Math.sqrt(e*e+f*f);return{x:g?e/g:0,y:g?f/g:-1}}function c(a,b,c,d,e){switch(e){case"center":c=d=0;break;case"bottom":c=0,d=1;break;case"right":c=1,d=0;break;case"left":c=-1,d=0;break;case"top":c=0,d=-1;break;case"start":c=-c,d=-d;break;case"end":break;default:e*=Math.PI/180,c=Math.cos(e),d=Math.sin(e)}return{x:a,y:b,vx:c,vy:d}}function d(a,b){var c=a.height,d=a.width,e=-d/2,f=-c/2;return{frame:{x:e-b.left,y:f-b.top,w:d+b.width,h:c+b.height},text:{x:e,y:f,w:d,h:c}}}function e(a){var b=a._model.horizontal,c=a._scale||b&&a._xScale||a._yScale;if(!c)return null;if(void 0!==c.xCenter&&void 0!==c.yCenter)return{x:c.xCenter,y:c.yCenter};var d=c.getBasePixel();return b?{x:d,y:null}:{x:null,y:d}}function f(b){return b instanceof a.elements.Arc?u.arc:b instanceof a.elements.Point?u.point:b instanceof a.elements.Rectangle?u.rect:u.fallback}function g(a,b,c){var d=b.positioner(a._view,b.anchor,b.align,b.origin),e=d.vx,f=d.vy;if(!e&&!f)return{x:d.x,y:d.y};var g=b.borderWidth||0,h=c.w+2*g,i=c.h+2*g,j=b.rotation,k=Math.abs(h/2*Math.cos(j))+Math.abs(i/2*Math.sin(j)),l=Math.abs(h/2*Math.sin(j))+Math.abs(i/2*Math.cos(j)),m=1/Math.max(Math.abs(e),Math.abs(f));return k*=e*m,l*=f*m,k+=b.offset*e,l+=b.offset*f,{x:d.x+k,y:d.y+l}}function h(a,b,c){var d=c.backgroundColor,e=c.borderColor,f=c.borderWidth;(d||e&&f)&&(a.beginPath(),v.canvas.roundedRect(a,Math.round(b.x)-f/2,Math.round(b.y)-f/2,Math.round(b.w)+f,Math.round(b.h)+f,c.borderRadius),a.closePath(),d&&(a.fillStyle=d,a.fill()),e&&f&&(a.strokeStyle=e,a.lineWidth=f,a.lineJoin="miter",a.stroke()))}function i(a,b,c,d){var e,f,g,h=d.textAlign,i=d.font,j=i.lineHeight,k=d.color,l=b.length;if(l&&k)for(e=c.x,f=c.y+j/2,"center"===h?e+=c.w/2:("end"===h||"right"===h)&&(e+=c.w),a.font=d.font.string,a.fillStyle=k,a.textAlign=h,a.textBaseline="middle",g=0;l>g;++g)a.fillText(b[g],Math.round(e),Math.round(f),Math.round(c.w)),f+=j}function j(a,b){var c=a.datalabels,d={};return c===!1?null:(c===!0&&(c={}),z.merge(d,[b,c]))}function k(a,b){var c,d,e,f=a.getDatasetMeta(b),g=f.data||[],h=g.length;for(c=0;h>c;++c)d=g[c],e=d[A],e&&e.draw(a.ctx)}function l(a,b,c){var d,e,f,g,h=a[A].labels;for(d=h.length-1;d>=0;--d)for(f=h[d]||[],e=f.length-1;e>=0;--e)if(g=f[e],g.contains(b,c))return{dataset:d,label:g};return null}function m(a,b,c){var d=b&&b[c.dataset];if(d){var e=c.label,f=e.$context;z.callback(d,[f])===!0&&(a[A].dirty=!0,e.update(f))}}function n(a,b,c,d){var e,f;(c||d)&&(c?d?c.label!==d.label&&(f=e=!0):f=!0:e=!0,f&&m(a,b.leave,c),e&&m(a,b.enter,d))}function o(a,b){var c,d,e=a[A],f=e.listeners;if(f.enter||f.leave){if("mousemove"===b.type)d=l(a,b.x,b.y);else if("mouseout"!==b.type)return;c=e.hovered,e.hovered=d,n(a,f,c,d)}}function p(a,b){var c=a[A].listeners.click,d=c&&l(a,b.x,b.y);d&&m(a,c,d)}a=a&&a.hasOwnProperty("default")?a["default"]:a;var q=a.helpers,r=function(){this._rect=null,this._rotation=0};q.extend(r.prototype,{update:function(a,b,c){var d=1,e=a.x,f=a.y,g=e+b.x,h=f+b.y;this._rotation=c,this._rect={x0:g-d,y0:h-d,x1:g+b.w+2*d,y1:h+b.h+2*d,cx:e,cy:f}},contains:function(a,b){var c,d,e,f,g,h=this,i=h._rect;return i?(c=i.cx,d=i.cy,e=h._rotation,f=c+(a-c)*Math.cos(e)+(b-d)*Math.sin(e),g=d-(a-c)*Math.sin(e)+(b-d)*Math.cos(e),!(f<i.x0||g<i.y0||f>i.x1||g>i.y1)):!1}});var s=a.helpers,t={toTextLines:function(a){var b,c=[];for(a=[].concat(a);a.length;)b=a.pop(),"string"==typeof b?c.unshift.apply(c,b.split("\n")):Array.isArray(b)?a.push.apply(a,b):s.isNullOrUndef(a)||c.unshift(""+b);return c},toFontString:function(a){return!a||s.isNullOrUndef(a.size)||s.isNullOrUndef(a.family)?null:(a.style?a.style+" ":"")+(a.weight?a.weight+" ":"")+a.size+"px "+a.family},textSize:function(a,b,c){var d,e=[].concat(b),f=e.length,g=a.font,h=0;for(a.font=c.string,d=0;f>d;++d)h=Math.max(a.measureText(e[d]).width,h);return a.font=g,{height:f*c.lineHeight,width:h}},parseFont:function(b){var c=a.defaults.global,d=s.valueOrDefault(b.size,c.defaultFontSize),e={family:s.valueOrDefault(b.family,c.defaultFontFamily),lineHeight:s.options.toLineHeight(b.lineHeight,d),size:d,style:s.valueOrDefault(b.style,c.defaultFontStyle),weight:s.valueOrDefault(b.weight,null),string:""};return e.string=t.toFontString(e),e},bound:function(a,b,c){return Math.max(a,Math.min(b,c))},arrayDiff:function(a,b){var c,d,e,f,g=a.slice(),h=[];for(c=0,e=b.length;e>c;++c)f=b[c],d=g.indexOf(f),-1===d?h.push([f,1]):g.splice(d,1);for(c=0,e=g.length;e>c;++c)h.push([g[c],-1]);return h}},u={arc:function(a,b,d){var e,f=(a.startAngle+a.endAngle)/2,g=Math.cos(f),h=Math.sin(f),i=a.innerRadius,j=a.outerRadius;return e="start"===b?i:"end"===b?j:(i+j)/2,c(a.x+g*e,a.y+h*e,g,h,d)},point:function(a,d,e,f){var g=b(a,f),h=a.radius,i=0;return"start"===d?i=-h:"end"===d&&(i=h),c(a.x+g.x*i,a.y+g.y*i,g.x,g.y,e)},rect:function(a,d,e,f){var g=a.horizontal,h=Math.abs(a.base-(g?a.x:a.y)),i=g?Math.min(a.x,a.base):a.x,j=g?a.y:Math.min(a.y,a.base),k=b(a,f);return"center"===d?g?i+=h/2:j+=h/2:"start"!==d||g?"end"===d&&g&&(i+=h):j+=h,c(i,j,k.x,k.y,e)},fallback:function(a,d,e,f){var g=b(a,f);return c(a.x,a.y,g.x,g.y,e)}},v=a.helpers,w=function(a,b,c,d){var e=this;e._hitbox=new r,e._config=a,e._index=d,e._model=null,e._ctx=b,e._el=c};v.extend(w.prototype,{_modelize:function(b,c,d){var g=this,h=g._index,i=v.options.resolve,j=t.parseFont(i([c.font,{}],d,h));return{align:i([c.align,"center"],d,h),anchor:i([c.anchor,"center"],d,h),backgroundColor:i([c.backgroundColor,null],d,h),borderColor:i([c.borderColor,null],d,h),borderRadius:i([c.borderRadius,0],d,h),borderWidth:i([c.borderWidth,0],d,h),color:i([c.color,a.defaults.global.defaultFontColor],d,h),font:j,lines:b,offset:i([c.offset,0],d,h),opacity:i([c.opacity,1],d,h),origin:e(g._el),padding:v.options.toPadding(i([c.padding,0],d,h)),positioner:f(g._el),rotation:i([c.rotation,0],d,h)*(Math.PI/180),size:t.textSize(g._ctx,b,j),textAlign:i([c.textAlign,"start"],d,h)}},update:function(a){var b,c,d,e=this,f=null,g=e._index,h=e._config;v.options.resolve([h.display,!0],a,g)&&(b=a.dataset.data[g],c=v.valueOrDefault(v.callback(h.formatter,[b,a]),b),d=v.isNullOrUndef(c)?[]:t.toTextLines(c),f=d.length?e._modelize(d,h,a):null),e._model=f},draw:function(a){var b,c,e=this,f=e._model;f&&f.opacity&&(b=d(f.size,f.padding),c=g(e._el,f,b.frame),e._hitbox.update(c,b.frame,f.rotation),a.save(),a.globalAlpha=t.bound(0,f.opacity,1),a.translate(Math.round(c.x),Math.round(c.y)),a.rotate(f.rotation),h(a,b.frame,f),i(a,f.lines,b.text,f),a.restore())},contains:function(a,b){return this._hitbox.contains(a,b)}});var x=a.helpers,y={align:"center",anchor:"center",backgroundColor:null,borderColor:null,borderRadius:0,borderWidth:0,color:void 0,display:!0,font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:"start",formatter:function(a){if(x.isNullOrUndef(a))return null;var b,c,d,e=a;if(x.isObject(a))if(x.isNullOrUndef(a.label))if(x.isNullOrUndef(a.r))for(e="",b=Object.keys(a),d=0,c=b.length;c>d;++d)e+=(0!==d?", ":"")+b[d]+": "+a[b[d]];else e=a.r;else e=a.label;return""+e},listeners:{}},z=a.helpers,A="$datalabels";a.defaults.global.plugins.datalabels=y,a.defaults.global.plugins.datalabels=y,a.plugins.register({id:"datalabels",beforeInit:function(a){a[A]={actives:[]}},beforeUpdate:function(a){var b=a[A];b.listened=!1,b.listeners={},b.labels=[]},afterDatasetUpdate:function(a,b,c){var d,e,f,g=b.index,h=a[A],i=h.labels[g]=[],k=a.data.datasets[g],l=j(k,c),m=b.meta.data||[],n=m.length,o=a.ctx;for(o.save(),d=0;n>d;++d)e=m[d],!e||e.hidden||e._model.skip?f=null:(i.push(f=new w(l,o,e,d)),f.update(f.$context={active:!1,chart:a,dataIndex:d,dataset:k,datasetIndex:g})),e[A]=f;o.restore(),z.merge(h.listeners,l.listeners||{},{merger:function(a,c,d){c[a]=c[a]||{},c[a][b.index]=d[a],h.listened=!0}})},afterDatasetsDraw:function(a){for(var b=0,c=a.data.datasets.length;c>b;++b)k(a,b)},beforeEvent:function(a,b){if(a[A].listened)switch(b.type){case"mousemove":case"mouseout":o(a,b);break;case"click":p(a,b)}},afterEvent:function(a){var b,c,d,e,f=a[A],g=f.actives,h=f.actives=a.lastActive||[],i=t.arrayDiff(g,h);for(b=0,c=i.length;c>b;++b)d=i[b],d[1]&&(e=d[0][A],e.$context.active=1===d[1],e.update(e.$context));!f.dirty&&!i.length||a.animating||a.render(),delete f.dirty}})}),function(a){function b(a,b,e){var f=a[0],g=/er/.test(e)?q:/bl/.test(e)?o:m,h=e==r?{checked:f[m],disabled:f[o],indeterminate:"true"==a.attr(q)||"false"==a.attr(p)
19
- }:f[g];if(/^(ch|di|in)/.test(e)&&!h)c(a,g);else if(/^(un|en|de)/.test(e)&&h)d(a,g);else if(e==r)for(var i in h)h[i]?c(a,i,!0):d(a,i,!0);else b&&"toggle"!=e||(b||a[x]("ifClicked"),h?f[s]!==l&&d(a,g):c(a,g))}function c(b,c,e){var k=b[0],r=b.parent(),t=c==m,u=c==q,x=c==o,y=u?p:t?n:"enabled",A=f(b,y+g(k[s])),B=f(b,c+g(k[s]));if(k[c]!==!0){if(!e&&c==m&&k[s]==l&&k.name){var C=b.closest("form"),D='input[name="'+k.name+'"]';D=C.length?C.find(D):a(D),D.each(function(){this!==k&&a(this).data(i)&&d(a(this),c)})}u?(k[c]=!0,k[m]&&d(b,m,"force")):(e||(k[c]=!0),t&&k[q]&&d(b,q,!1)),h(b,t,c,e)}k[o]&&f(b,z,!0)&&r.find("."+j).css(z,"default"),r[v](B||f(b,c)||""),r.attr("role")&&!u&&r.attr("aria-"+(x?o:m),"true"),r[w](A||f(b,y)||"")}function d(a,b,c){var d=a[0],e=a.parent(),i=b==m,k=b==q,l=b==o,r=k?p:i?n:"enabled",t=f(a,r+g(d[s])),u=f(a,b+g(d[s]));d[b]!==!1&&((k||!c||"force"==c)&&(d[b]=!1),h(a,i,r,c)),!d[o]&&f(a,z,!0)&&e.find("."+j).css(z,"pointer"),e[w](u||f(a,b)||""),e.attr("role")&&!k&&e.attr("aria-"+(l?o:m),"false"),e[v](t||f(a,r)||"")}function e(b,c){b.data(i)&&(b.parent().html(b.attr("style",b.data(i).s||"")),c&&b[x](c),b.off(".i").unwrap(),a(y+'[for="'+b[0].id+'"]').add(b.closest(y)).off(".i"))}function f(a,b,c){return a.data(i)?a.data(i).o[b+(c?"":"Class")]:void 0}function g(a){return a.charAt(0).toUpperCase()+a.slice(1)}function h(a,b,c,d){d||(b&&a[x]("ifToggled"),a[x]("ifChanged")[x]("if"+g(c)))}var i="iCheck",j=i+"-helper",k="checkbox",l="radio",m="checked",n="un"+m,o="disabled",p="determinate",q="in"+p,r="update",s="type",t="click",u="touchbegin.i touchend.i",v="addClass",w="removeClass",x="trigger",y="label",z="cursor",A=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);a.fn[i]=function(f,g){var h='input[type="'+k+'"], input[type="'+l+'"]',n=a(),p=function(b){b.each(function(){var b=a(this);n=b.is(h)?n.add(b):n.add(b.find(h))})};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)#x2F;i.test(f))return f=f.toLowerCase(),p(this),n.each(function(){var c=a(this);"destroy"==f?e(c,"ifDestroyed"):b(c,!0,f),a.isFunction(g)&&g()});if("object"!=typeof f&&f)return this;var z=a.extend({checkedClass:m,disabledClass:o,indeterminateClass:q,labelHover:!0},f),B=z.handle,C=z.hoverClass||"hover",D=z.focusClass||"focus",E=z.activeClass||"active",F=!!z.labelHover,G=z.labelHoverClass||"hover",H=0|(""+z.increaseArea).replace("%","");return(B==k||B==l)&&(h='input[type="'+B+'"]'),-50>H&&(H=-50),p(this),n.each(function(){var f=a(this);e(f);var g,h=this,n=h.id,p=-H+"%",q=100+2*H+"%",B={position:"absolute",top:p,left:p,display:"block",width:q,height:q,margin:0,padding:0,background:"#fff",border:0,opacity:0},I=A?{position:"absolute",visibility:"hidden"}:H?B:{position:"absolute",opacity:0},J=h[s]==k?z.checkboxClass||"i"+k:z.radioClass||"i"+l,K=a(y+'[for="'+n+'"]').add(f.closest(y)),L=!!z.aria,M=i+"-"+Math.random().toString(36).substr(2,6),N='<div class="'+J+'" '+(L?'role="'+h[s]+'" ':"");L&&K.each(function(){N+='aria-labelledby="',this.id?N+=this.id:(this.id=M,N+=M),N+='"'}),N=f.wrap(N+"/>")[x]("ifCreated").parent().append(z.insert),g=a('<ins class="'+j+'"/>').css(B).appendTo(N),f.data(i,{o:z,s:f.attr("style")}).css(I),!!z.inheritClass&&N[v](h.className||""),!!z.inheritID&&n&&N.attr("id",i+"-"+n),"static"==N.css("position")&&N.css("position","relative"),b(f,!0,r),K.length&&K.on(t+".i mouseover.i mouseout.i "+u,function(c){var d=c[s],e=a(this);if(!h[o]){if(d==t){if(a(c.target).is("a"))return;b(f,!1,!0)}else F&&(/ut|nd/.test(d)?(N[w](C),e[w](G)):(N[v](C),e[v](G)));if(!A)return!1;c.stopPropagation()}}),f.on(t+".i focus.i blur.i keyup.i keydown.i keypress.i",function(a){var b=a[s],e=a.keyCode;return b==t?!1:"keydown"==b&&32==e?(h[s]==l&&h[m]||(h[m]?d(f,m):c(f,m)),!1):void("keyup"==b&&h[s]==l?!h[m]&&c(f,m):/us|ur/.test(b)&&N["blur"==b?w:v](D))}),g.on(t+" mousedown mouseup mouseover mouseout "+u,function(a){var c=a[s],d=/wn|up/.test(c)?E:C;if(!h[o]){if(c==t?b(f,!1,!0):(/wn|er|in/.test(c)?N[v](d):N[w](d+" "+E),K.length&&F&&d==C&&K[/ut|nd/.test(c)?w:v](G)),!A)return!1;a.stopPropagation()}})})}}(window.jQuery||window.Zepto),"undefined"==typeof helper)var helper={};helper.arr={multisort:function(a,b,c){function d(a,b,c,e,f){var g="DESC"==e[f]?1:0,h=!isNaN(+a[c[f]]-+b[c[f]]),i=h?+a[c[f]]:a[c[f]].toLowerCase(),j=h?+b[c[f]]:b[c[f]].toLowerCase();return j>i?0==g?-1:1:i==j?c.length-1>f?d(a,b,c,e,f+1):0:0==g?1:-1}if("undefined"==typeof b)for(b=[],x=0;x<a[0].length;x++)b.push(x);if("undefined"==typeof c)for(c=[],x=0;x<a[0].length;x++)c.push("ASC");return a.sort(function(a,e){return d(a,e,b,c,0)})}};var showUpgradeToPro=function(a){jQuery("#yopPollUpgradeModal").modal("show")};jQuery(document).ready(function(a){a(".upgrade-to-pro").click(function(b){var c=a(this).attr("data-screen");showUpgradeToPro(c),b.preventDefault()}),a(".flexslider").flexslider({startAt:0,slideshow:!0,slideshowSpeed:8e3})}),jQuery(document).ready(function(a){a(".submenu-item").click(function(b){a(this).closest(".submenu").find(".submenu-item").removeClass("btn-underline"),a(this).addClass("btn-underline"),a(this).closest(".tab-pane").find(".submenu-content").addClass("hide"),a(this).closest(".tab-pane").find("."+a(this).attr("data-content")).removeClass("hide"),b.preventDefault()})}),jQuery(document).ready(function(a){var b,c="",d="";toastr.options={closeButton:!1,debug:!1,newestOnTop:!1,progressBar:!1,positionClass:"toast-bottom-right",preventDuplicates:!0,onclick:null,showDuration:"300",hideDuration:"1000",timeOut:"5000",extendedTimeOut:"1000",showEasing:"swing",hideEasing:"linear",showMethod:"fadeIn",hideMethod:"fadeOut",escapeHtml:!1},a("#publish").click(function(){var b=a("#templates-carousel").find("li.active").attr("data-template-id");d=a("#templates-carousel").find("li.active").attr("data-template-base"),""!==d&&("basic"===d?(a('input[name="poll[template]"]').val(b),c=a(".yop-templates").children('.template[data-base="'+d+'"]').children(".preview"),a(".preview-box").html(a(c).html())):(d="basic",showUpgradeToPro("templates")))}),a(".preview-poll").click(function(b){var c=!1;if(d=""===d?a('input[name="poll[template]"]').data("template-base"):d,void 0===d?(c=!0,toastr.warning(htmlEncode(striptags(objectL10n.yopPollParams.noTemplateSelectedLabel)))):a(".poll-elements").find(".poll-element").each(function(b){var d,e,f=a(this).attr("data-type");!1===c&&("text-question"===f||"media-question"===f)&&(d=a(this).find(".answers-display").val(),"columns"===d&&(e=a(this).find(".answers-columns").val(),""===e?(c=!0,a(".poll-steps li").removeClass("active"),a(".poll-steps li:nth-child( 2)").addClass("active"),a(".poll-steps-content .tab-pane").removeClass("active"),a(".poll-steps-content .tab-pane:nth-child(2)").addClass("active"),a(".poll-steps-content .tab-pane:nth-child(2) .submenu-item").removeClass("btn-underline"),a(".poll-steps-content .tab-pane:nth-child(2)").find(".submenu-item").eq(0).addClass("btn-underline"),a(".poll-steps-content .tab-pane:nth-child(2)").find(".submenu-content").addClass("hide"),a(".poll-steps-content .tab-pane:nth-child(2)").find(".submenu-content").eq(0).removeClass("hide"),a.scrollTo(a(this).find(".answers-display-section"),1e3,{onAfter:function(){a(this).find(".answers-columns").focus(),a(this).find(".answers-columns").parent().addClass("has-error")}}),toastr.warning(htmlEncode(striptags(objectL10n.yopPollParams.noNumberOfColumnsDefined)))):e>12&&(c=!0,a(".poll-steps li").removeClass("active"),a(".poll-steps li:nth-child(2)").addClass("active"),a(".poll-steps-content .tab-pane").removeClass("active"),a(".poll-steps-content .tab-pane:nth-child(2)").addClass("active"),a(".poll-steps-content .tab-pane:nth-child(2) .submenu-item").removeClass("btn-underline"),a(".poll-steps-content .tab-pane:nth-child(2)").find(".submenu-item").eq(0).addClass("btn-underline"),a(".poll-steps-content .tab-pane:nth-child(2)").find(".submenu-content").addClass("hide"),a(".poll-steps-content .tab-pane:nth-child(2)").find(".submenu-content").eq(0).removeClass("hide"),a.scrollTo(a(this).find(".answers-display-section"),1e3,{onAfter:function(){a(this).find(".answers-columns").focus(),a(this).find(".answers-columns").parent().addClass("has-error")}}),toastr.warning(htmlEncode(striptags(objectL10n.yopPollParams.numberOfColumnsTooBig))))))}),!1===c)switch(d){case"basic":YOPPollBasicShowLivePreview();break;case"basic-pretty":YOPPollBasicPrettyShowLivePreview()}b.preventDefault()}),a('input[name="poll[name]"]').change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".edit-poll-status").click(function(b){a(this).addClass("hide"),a("#poll-status-select").removeClass("hide-if-js"),b.preventDefault()}),a(".save-poll-status").click(function(b){var c=a("#poll_status").val();a(".poll-status").text(c.charAt(0).toUpperCase()+c.slice(1)),a("#poll-status-select").addClass("hide-if-js"),a(".edit-poll-status").removeClass("hide"),b.preventDefault()}),a(".cancel-poll-status").click(function(b){a("#poll-status-select").addClass("hide-if-js"),a(".edit-poll-status").removeClass("hide"),b.preventDefault()}),a(".edit-timestamp").click(function(b){a(".poll-steps li").removeClass("active"),a(".poll-steps li:nth-child(3)").addClass("active"),a(".poll-steps-content .tab-pane").removeClass("active"),a(".poll-steps-content .tab-pane:nth-child(3)").addClass("active"),a(".poll-steps-content .tab-pane:nth-child(3) .submenu-item").removeClass("btn-underline"),a(".poll-steps-content .tab-pane:nth-child(3)").find(".submenu-item").eq(0).addClass("btn-underline"),a(".poll-steps-content .tab-pane:nth-child(3)").find(".submenu-content").addClass("hide"),a(".poll-steps-content .tab-pane:nth-child(3)").find(".submenu-content").eq(0).removeClass("hide"),a.scrollTo(".start-date-option",1e3,{onAfter:function(){a(".poll-preferences").find(".start-date-option").focus()}}),b.preventDefault()}),a.fn.extend({tooltipExtended:function(b){var c=a(this).data("ui-validate.error-destroy");""!==c&&(c=function(){a(this).tooltip("destroy").removeData("bs.tooltip").next(".tooltip").remove()},a(this).data("ui-validate.error-destroy",c)),a(this).tooltip("destroy").removeData("bs.tooltip").next(".tooltip").remove(),a(this).tooltip({title:b}).on("mouseleave",c).tooltip("show")}}),b=new Clipboard("#copy-yop-poll-code"),b.on("success",function(b){a("#copy-yop-poll-code").tooltipExtended(objectL10n.yopPollParams.copyToClipboardSuccess),b.clearSelection()}),b.on("error",function(b){a("#copy-yop-poll-code").tooltipExtended(fallbackMessage(b.action))})}),jQuery(document).ready(function(a){var b="";a(".vote-permissions").select2({minimumResultsForSearch:1/0,placeholder:objectL10n.yopPollParams.selectHelperText}),b=a(".block-voters").select2({minimumResultsForSearch:1/0,placeholder:objectL10n.yopPollParams.selectHelperText}),a(".block-for-period").select2({minimumResultsForSearch:1/0}),a(".limit-votes-per-user").select2({minimumResultsForSearch:1/0}),a(".allow-wordpress-votes").select2({minimumResultsForSearch:1/0}),a(".allow-facebook-votes").select2({minimumResultsForSearch:1/0}),a(".allow-google-votes").select2({minimumResultsForSearch:1/0}),a(".block-voters").on("select2:select",function(c){var d,e=a(this).select2("data"),f=[];if("no-block"===c.params.data.id)b.val("no-block").trigger("change"),a(".block-time-section").addClass("hide");else{for(d in e)"no-block"!==e[d].id&&f.push(e[d].id);b.val(f).trigger("change"),a(".block-time-section").removeClass("hide")}}),a(".block-voters").on("select2:unselect",function(b){var c=a(this).select2("data");0===c.length&&a(".block-time-section").addClass("hide")}),a(".poll-options-access").on("change",".limit-votes-per-user",function(){"yes"===a(this).val()?a(this).closest(".poll-options-access").find(".votes-per-user-section").removeClass("hide"):a(this).closest(".poll-options-access").find(".votes-per-user-section").addClass("hide")}),a(".block-for-value").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")})}),jQuery(document).ready(function(a){a("#sortable").sortable({appendTo:document.body,items:"> .answer-block",axis:"y"}),a(".poll-elements-list").sortable({axis:"y",handle:".title-bar",start:function(b,c){a(".poll-elements").find(".poll-element").each(function(b){a(this).find(".content").first().hide()})},stop:function(a,b){}}),a(".poll-elements-list").find(".answers").sortable(),a(".poll-elements").on("click",".poll-element-collapse",function(b){var c=a(this).closest(".poll-element").find(".content-inside").first(),d=a(this);a(c).slideToggle({duration:1e3,complete:function(){var b=a(c).is(":visible");a(this).removeClass("toggle-in-action"),!0===b?(a(d).find("span").addClass("glyphicon-chevron-up"),a(d).find("span").removeClass("glyphicon-chevron-down"),a(d).closest(".title-bar").removeClass("collapsed")):(a(d).find("span").addClass("glyphicon-chevron-down"),a(d).find("span").removeClass("glyphicon-chevron-up"),a(d).closest(".title-bar").addClass("collapsed"),a(d).show())}}),b.preventDefault()}),a(".add-custom-field").draggable({helper:function(b){var c=a(".custom-field-definition").find(".poll-element").clone();return a(c)},connectToSortable:".poll-elements-list",start:function(a,b){b.helper.css("width",""),b.helper.find(".content-inside").hide(),b.helper.find(".custom-field-options").hide(),b.helper.find(".title-bar").addClass("collapsed")},drag:function(b,c){c.helper.css("width",a(".poll-elements").css("width"))},stop:function(a,b){b.helper.css({width:"",height:""}),b.helper.find(".poll-element-collapse").trigger("click")}}),a(".poll-elements").on("click",".custom-field-edit-more",function(b){a(this).closest(".poll-element").find(".custom-field-options").show(),b.preventDefault()}),a(".poll-elements").on("click",".custom-field-edit-clone",function(b){a(this).closest(".poll-element").after(a(this).closest(".poll-element").clone().attr("data-id","")),b.preventDefault()}),a(".poll-elements").on("click",".custom-field-edit-delete",function(b){var c,d,e=a(this);BootstrapDialog.confirm({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:objectL10n.yopPollParams.deleteCustomFieldMessage,btnCancelLabel:objectL10n.yopPollParams.deleteCancelLabel,btnOKLabel:objectL10n.yopPollParams.deleteOkLabel,callback:function(b){b&&(c=a(e).closest('.poll-element[data-type="custom-field"]').attr("data-id"),""!==c&&(d=a(".poll-elements-list").attr("data-remove"),""===d?a(".poll-elements-list").attr("data-remove",c):a(".poll-elements-list").attr("data-remove",d+","+c)),a(e).closest(".poll-element").remove())}}),b.preventDefault()}),a(".poll-elements").on("change",".custom-field-required",function(b){var c=a(this).is(":checked");a(this).closest(".poll-element").find(".custom-field-make-required").prop("checked",c),b.preventDefault()}),a(".poll-elements").on("change",".custom-field-make-required",function(b){var c=a(this).is(":checked");a(this).closest(".poll-element").find(".custom-field-required").prop("checked",c),b.preventDefault()}),a(".poll-elements").on("click",".custom-field-edit-done",function(b){a(this).closest(".poll-element").find(".custom-field-options").hide(),b.preventDefault()}),a(".add-text-question").click(function(a){showUpgradeToPro("multiple-questions"),a.preventDefault()}),a(".poll-elements").on("click",".text-question-edit-clone",function(a){showUpgradeToPro("multiple-questions"),a.preventDefault()}),a(".poll-elements").on("click",".text-question-edit-delete",function(a){showUpgradeToPro("multiple-questions"),a.preventDefault()}),a(".poll-elements").find("INPUT.answer-results-color").minicolors({position:"top right",inline:!1,theme:"bootstrap"}),a(".add-media-question").click(function(a){showUpgradeToPro("media-questions"),a.preventDefault()}),a(".poll-elements").on("click",".media-question-edit-clone",function(a){showUpgradeToPro("multiple-questions"),a.preventDefault()}),a(".poll-elements").on("click",".media-question-edit-delete",function(a){showUpgradeToPro("multiple-questions"),a.preventDefault()}),a(".poll-elements").find(".answer-type").select2({minimumResultsForSearch:1/0}),a(".add-space-separator").click(function(a){showUpgradeToPro("space-separator"),a.preventDefault()}),a(".add-text-block").click(function(a){showUpgradeToPro("text-block"),a.preventDefault()}),a(".poll-elements").on("click",".add-text-answer",function(b){var c=a(".text-answer-definition").find(".answer").clone();a(c).find(".answer-results-color").minicolors({position:"top right",inline:!1,theme:"bootstrap"}),a(this).closest('.poll-element[data-type="text-question"]').find(".answers").append(a(c)),b.preventDefault()}),a(".poll-elements").on("click",".text-answer-edit-more",function(b){a(this).closest(".answer").find(".answer-options").show(),b.preventDefault()}),a(".poll-elements").on("click",".text-answer-edit-clone",function(b){var c=a(this).closest(".answer"),d=a(c).clone().attr("data-id","");a(d).find(".answer-results-color").minicolors("destroy"),a(d).find(".answer-results-color").minicolors({position:"top right",inline:!1,theme:"bootstrap"}),a(c).after(a(d)),b.preventDefault()}),a(".poll-elements").on("click",".text-answer-edit-delete",function(b){var c,d,e=a(this);BootstrapDialog.confirm({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:objectL10n.yopPollParams.deleteAnswerMessage,btnCancelLabel:objectL10n.yopPollParams.deleteCancelLabel,btnOKLabel:objectL10n.yopPollParams.deleteOkLabel,callback:function(b){b&&(c=a(e).closest(".answer").attr("data-id"),""!==c&&(d=a(e).closest('.poll-element[data-type="text-question"]').attr("data-remove"),""===d?a(e).closest('.poll-element[data-type="text-question"]').attr("data-remove",c):a(e).closest('.poll-element[data-type="text-question"]').attr("data-remove",d+","+c)),a(e).closest(".answer").remove())}}),b.preventDefault()}),a(".poll-elements").on("click",".text-answer-edit-done",function(b){a(this).closest(".answer-options").hide(),b.preventDefault()}),a(".poll-elements").on("change",".answer-is-default",function(b){var c=a(this).is(":checked");a(this).closest(".answer").find(".answer-make-default").prop("checked",c),b.preventDefault()}),a(".poll-elements").on("change",".answer-make-default",function(b){var c=a(this).is(":checked");a(this).closest(".answer").find(".answer-is-default").prop("checked",c),b.preventDefault()}),a(".poll-elements").on("change",".answer-make-link",function(b){var c=a(this).is(":checked");!0===c?a(this).closest(".answer").find(".answer-link-section").removeClass("hide"):a(this).closest(".answer").find(".answer-link-section").addClass("hide"),b.preventDefault()}),a(".poll-elements").on("change",".allow-other-answers",function(){"yes"===a(this).val()?a(this).closest(".question-options").find(".other-answers-section").removeClass("hide"):a(this).closest(".question-options").find(".other-answers-section").addClass("hide")}),a(".poll-elements").on("change",".allow-multiple-answers",function(){"yes"===a(this).val()?a(this).closest(".question-options").find(".multiple-answers-section").removeClass("hide"):a(this).closest(".question-options").find(".multiple-answers-section").addClass("hide")}),a(".poll-elements").on("change",".answers-display",function(){"columns"===a(this).val()?(a(this).closest(".question-options").find(".answers-display-section").removeClass("hide"),a(this).closest(".question-options").find(".answers-columns").val("2")):a(this).closest(".question-options").find(".answers-display-section").addClass("hide")}),a(".poll-elements").find(".allow-other-answers").select2({minimumResultsForSearch:1/0}),a(".poll-elements").find(".add-other-answers").select2({minimumResultsForSearch:1/0}),a(".poll-elements").find(".display-other-answers-in-results").select2({minimumResultsForSearch:1/0}),a(".poll-elements").find(".allow-multiple-answers").select2({minimumResultsForSearch:1/0}),a(".poll-elements").find(".answers-display").select2({minimumResultsForSearch:1/0}),a(".question-text-edit").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".answer-edit-text").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".answers-columns").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")})}),jQuery(document).ready(function(a){a(".show-results-link").select2({minimumResultsForSearch:1/0}),a(".show-total-votes").select2({minimumResultsForSearch:1/0}),a(".show-total-answers").select2({minimumResultsForSearch:1/0}),a(".start-date-option").select2({minimumResultsForSearch:1/0}),a(".end-date-option").select2({minimumResultsForSearch:1/0}),a(".redirect-after-vote").select2({minimumResultsForSearch:1/0}),a(".reset-poll-stats-automatically").select2({minimumResultsForSearch:1/0}),a(".reset-poll-stats-every-period").select2({minimumResultsForSearch:1/0}),a(".auto-generate-poll-page").select2({minimumResultsForSearch:1/0}),a(".use-captcha").select2({minimumResultsForSearch:1/0}),a(".send-email-notifications").select2({minimumResultsForSearch:1/0}),a(".enable-gdpr").select2({minimumResultsForSearch:1/0}),a(".gdpr-solution").select2({minimumResultsForSearch:1/0}),a(".start-date-custom-hidden").datetimepicker({dateFormat:"yy-mm-dd",timeFormat:"HH:mm",onSelect:function(b){var c;c=moment(b,"YYYY-MM-DD HH:mm").unix(),a(".start-date-custom").val(date(objectL10n.yopPollParams.timeFormat+" "+objectL10n.yopPollParams.dateFormat,c)).change(),a("#timestamp").text(objectL10n.yopPollParams.publishDateSchedule+":"+date("M d, Y @ H:i",c))},onClose:function(){var b;null!==a(".start-date-custom-hidden").datetimepicker("getDate")&&(b=moment(a(".start-date-custom-hidden").datetimepicker("getDate")).unix(),a(".start-date-custom").val(date(objectL10n.yopPollParams.timeFormat+" "+objectL10n.yopPollParams.dateFormat,b)).change(),a("#timestamp").text(objectL10n.yopPollParams.publishDateSchedule+": "),a("#timestamp").text(objectL10n.yopPollParams.publishDateSchedule+": "+date("M d, Y @ H:i",b)))}}),a(".end-date-custom-hidden").datetimepicker({dateFormat:"yy-mm-dd",timeFormat:"HH:mm",onSelect:function(b){var c;c=moment(b,"YYYY-MM-DD HH:mm").unix(),a(".end-date-custom").val(date(objectL10n.yopPollParams.timeFormat+" "+objectL10n.yopPollParams.dateFormat,c)).change()},onClose:function(){var b;null!==a(".end-date-custom-hidden").datetimepicker("getDate")&&(b=moment(a(".end-date-custom-hidden").datetimepicker("getDate")).unix(),a(".end-date-custom").val(date(objectL10n.yopPollParams.timeFormat+" "+objectL10n.yopPollParams.dateFormat,b)).change())}}),a(".poll-preferences").on("change",".start-date-option",function(){"custom"===a(this).val()?a(this).closest(".poll-preferences").find(".start-date-section").removeClass("hide"):(a(this).closest(".poll-preferences").find(".start-date-section").addClass("hide"),a("#timestamp").text(objectL10n.yopPollParams.publishDateImmediately))}),a(".poll-preferences").on("click",".show-start-date",function(b){a(".start-date-custom-hidden").datepicker("show"),b.preventDefault()}),a(".poll-preferences").on("click",".show-end-date",function(b){a(".end-date-custom-hidden").datepicker("show"),b.preventDefault()}),a(".poll-preferences").on("change",".end-date-option",function(){"custom"===a(this).val()?a(this).closest(".poll-preferences").find(".end-date-section").removeClass("hide"):a(this).closest(".poll-preferences").find(".end-date-section").addClass("hide")}),a(".vote-options").on("change",".show-results-link",function(){"yes"===a(this).val()?a(".results-link-option").removeClass("hide"):a(".results-link-option").addClass("hide")}),a(".poll-preferences").on("change",".redirect-after-vote",function(){"yes"===a(this).val()?a(this).closest(".poll-preferences").find(".redirect-url-section").removeClass("hide"):a(this).closest(".poll-preferences").find(".redirect-url-section").addClass("hide")}),a(".poll-preferences").on("change",".reset-poll-stats-automatically",function(){"yes"===a(this).val()?a(this).closest(".poll-preferences").find(".reset-poll-stats-section").removeClass("hide"):a(this).closest(".poll-preferences").find(".reset-poll-stats-section").addClass("hide")}),a(".reset-poll-stats-on-hidden").datetimepicker({dateFormat:"yy-mm-dd",timeFormat:"HH:mm",onSelect:function(b){var c;c=moment(b,"YYYY-MM-DD HH:mm").unix(),a(".reset-poll-stats-on").val(date(objectL10n.yopPollParams.timeFormat+" "+objectL10n.yopPollParams.dateFormat,c)).change()},onClose:function(){var b;null!==a(".reset-poll-stats-on-hidden").datetimepicker("getDate")&&(b=moment(a(".reset-poll-stats-on-hidden").datetimepicker("getDate")).unix(),a(".reset-poll-stats-on").val(date(objectL10n.yopPollParams.timeFormat+" "+objectL10n.yopPollParams.dateFormat,b)).change())}}),a(".poll-preferences").on("click",".show-reset-poll-stats-on",function(b){a(".reset-poll-stats-on-hidden").datepicker("show"),b.preventDefault()}),a(".poll-notifications").on("change",".send-email-notifications",function(){"yes"===a(this).val()?a(this).closest(".poll-notifications").find(".send-email-notifications-section").removeClass("hide"):a(this).closest(".poll-notifications").find(".send-email-notifications-section").addClass("hide")}),a(".vote-button-label").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".results-label-text").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".start-date-custom").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".end-date-custom").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".redirect-url").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".email-notifications-from-name").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".email-notifications-from-email").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".email-notifications-subject").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".email-notifications-message").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".poll-compliance").on("change",".enable-gdpr",function(){"yes"===a(this).val()?(a(this).closest(".poll-compliance").find(".gdpr-solution-section").removeClass("hide"),"consent"===a(".gdpr-solution").val()?a(this).closest(".poll-compliance").find(".gdpr-consent-section").removeClass("hide"):a(this).closest(".poll-compliance").find(".gdpr-consent-section").addClass("hide")):(a(this).closest(".poll-compliance").find(".gdpr-solution-section").addClass("hide"),a(this).closest(".poll-compliance").find(".gdpr-consent-section").addClass("hide"))}),a(".poll-compliance").on("change",".gdpr-solution",function(){"consent"===a(this).val()?a(this).closest(".poll-compliance").find(".gdpr-consent-section").removeClass("hide"):a(this).closest(".poll-compliance").find(".gdpr-consent-section").addClass("hide")})}),jQuery(document).ready(function(a){var b;b=a(".show-results-moment").select2({minimumResultsForSearch:1/0,placeholder:objectL10n.yopPollParams.selectHelperText}),a(".show-results-to").select2({minimumResultsForSearch:1/0,placeholder:objectL10n.yopPollParams.selectHelperText}),a(".results-details-option").select2({minimumResultsForSearch:1/0,placeholder:objectL10n.yopPollParams.selectHelperText}),a(".back-to-vote-option").select2({minimumResultsForSearch:1/0}),a(".sort-results").select2({minimumResultsForSearch:1/0}),a(".sort-results-rule").select2({minimumResultsForSearch:1/0}),a(".display-results-as").select2({minimumResultsForSearch:1/0}),a(".show-results-moment").on("select2:select",function(c){var d,e=a(this).select2("data"),f=[];if("never"===c.params.data.id)b.val("never").trigger("change"),a(".show-results-to-section").addClass("hide"),a(".custom-date-results-section").addClass("hide");else{for(d in e)"never"!==e[d].id&&f.push(e[d].id);b.val(f).trigger("change"),a(".show-results-to-section").removeClass("hide"),"custom-date"===c.params.data.id&&a(".custom-date-results-section").removeClass("hide")}}),a(".show-results-moment").on("select2:unselect",function(b){var c=a(this).select2("data");"custom-date"===b.params.data.id?a(".custom-date-results-section").addClass("hide"):0===c.length&&a(".show-results-to-section").addClass("hide")}),a(".custom-date-results-hidden").datetimepicker({dateFormat:"yy-mm-dd",timeFormat:"HH:mm",onSelect:function(b){var c;c=moment(b,"YYYY-MM-DD HH:mm").unix(),a(".custom-date-results").val(date(objectL10n.yopPollParams.timeFormat+" "+objectL10n.yopPollParams.dateFormat,c)).change()},onClose:function(){var b;null!==a(".custom-date-results-hidden").datetimepicker("getDate")&&(b=moment(a(".custom-date-results-hidden").datetimepicker("getDate")).unix(),a(".custom-date-results").val(date(objectL10n.yopPollParams.timeFormat+" "+objectL10n.yopPollParams.dateFormat,b)).change())}}),a(".custom-date-results-section").on("click",".show-custom-date-results",function(b){a(".custom-date-results-hidden").datepicker("show"),b.preventDefault()}),a(".poll-results-options").on("change",".back-to-vote-option",function(){"yes"===a(this).val()?a(this).closest(".poll-results-options").find(".back-to-vote-caption-section").removeClass("hide"):a(this).closest(".poll-results-options").find(".back-to-vote-caption-section").addClass("hide")}),a(".poll-results-options").on("change",".sort-results",function(){"alphabetical"===a(this).val()||"number-of-votes"===a(this).val()?a(this).closest(".poll-results-options").find(".sort-results-rule-section").removeClass("hide"):a(this).closest(".poll-results-options").find(".sort-results-rule-section").addClass("hide")}),a(".custom-date-results").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".back-to-vote-caption").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".poll-results-options").on("change",".display-results-as",function(){"pie"===a(this).val()&&(a(this).val("bar").trigger("change.select2"),showUpgradeToPro("pie-results"),event.preventDefault())})}),jQuery(document).ready(function(a){a(".yop-element > .yop-head").first().addClass("collapse-up"),a(".yop-element > .yop-head").click(function(){var b=a(this).parent().children(".content"),c=a(this);a(b).slideToggle(function(){var d=a(b).css("display");"block"===d?(a(c).addClass("collapse-up"),a(c).removeClass("collapse-down")):(a(c).addClass("collapse-down"),a(c).removeClass("collapse-up"))})}),a(".colorpicker-component").each(function(){a(this).find("INPUT").minicolors({position:"bottom right",inline:!1,theme:"bootstrap"})}),a(".question-text-size").select2({minimumResultsForSearch:1/0}),a(".answers-text-size").select2({minimumResultsForSearch:1/0}),a(".answers-text-size").select2({minimumResultsForSearch:1/0}),a(".buttons-text-size").select2({minimumResultsForSearch:1/0}),a(".answers-skin").select2({minimumResultsForSearch:1/0}),a(".poll-background-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".poll-border-size").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".poll-border-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".poll-border-radius").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".poll-padding").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".poll-text-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".poll-input-elements-border-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".question-background-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".question-border-size").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".question-border-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".question-border-radius").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error");
20
- }),a(".question-padding").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".question-text-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".answers-style-settings").on("select2:open",".answers-skin",function(){showUpgradeToPro("templates"),a(this).select2("close"),event.preventDefault()}),a(".answers-skin").click(function(){showUpgradeToPro("templates")}),a(".color-scheme li").click(function(){showUpgradeToPro("templates")}),a(".answers-background-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".answers-border-size").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".answers-border-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".answers-border-radius").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".answers-padding").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".answers-text-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".buttons-background-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".buttons-border-size").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".buttons-border-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".buttons-border-radius").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".buttons-padding").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".buttons-text-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".errors-background-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".errors-border-size").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".errors-border-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".errors-border-radius").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".errors-padding").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".errors-text-color").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")})});var YOPPollBasicIsVotingEnded,YOPPollBasicIsVotingStarted,YOPPollBasicIsAllowMultipleAnswers,YOPPollBasicIsAnswerDefault,YOPPollBasicIsAnswerLink,YOPPollBasicGetAnswersCount,YOPPollBasicHasGdpr,YOPPollBasicHasCaptcha,YOPPollBasicFormatVotePermissions,YOPPollBasicGetResultsBeforeVoteSettings,YOPPollBasicDoAnonymousVote,YOPPollBasicDoWordpressVote,YOPPollBasicDoFacebookVote,YOPPollBasicDoGoogleVote,YOPPollBasicGetPollElements,YOPPollBasicDoTextQuestion,YOPPollBasicDoVerticalText,YOPPollBasicDoHorizontalText,YOPPollBasicDoColumnsText,YOPPollBasicDoCustomField,YOPPollBasicCreateMediaAnswer,YOPPollBasicDoMediaQuestion,YOPPollBasicDoVerticalMedia,YOPPollBasicDoHorizontalMedia,YOPPollBasicDoColumnsMedia,YOPPollBasicDoSpaceSeparator,YOPPollBasicDoTextBlock,YOPPollBasicShowResultsLink,YOPPollBasicShowBackToVoteLink,YOPPollBasicDoShowTotalVotesAndAnswers,YOPPollBasicDoShowResultsBeforeVote,YOPPollBasicDoShowResultsAfterVote,YOPPollBasicShowLivePreviewFor,YOPPollBasicShowLivePreviewForVoting,YOPPollBasicShowLivePreviewForResults,YOPPollDoPrettyBasic,YOPPollRemovePrettyBasic,randomMin=1,randomMax=100;jQuery(document).ready(function(a){var b=[[]];YOPPollBasicIsVotingEnded=function(a,b){var c,d=strtotime(b);return c="custom"===a&&parseInt(d,10)<parseInt(objectL10n.yopPollParams.timeNow,10)?!0:!1},YOPPollBasicIsVotingStarted=function(a,b){var c,d=strtotime(b);return c="custom"===a&&parseInt(d,10)>parseInt(objectL10n.yopPollParams.timeNow,10)?!1:!0},YOPPollBasicIsAllowMultipleAnswers=function(a){var b="";return b="yes"===a?"checkbox":"radio"},YOPPollBasicIsAnswerDefault=function(a){var b;return b=!0===a.is(":checked")?"checked":""},YOPPollBasicIsAnswerLink=function(a,b,c){var d="";return d=!0===a.is(":checked")&&""!==b?'<a href="'+b+'" target="_blank">'+c+"</a>":c},YOPPollBasicGetAnswersCount=function(a){var b=a.find(".answer").length;return"yes"===a.find(".allow-other-answers").val()&&b++,b},YOPPollBasicHasGdpr=function(a,b,c){var d="";return"yes"===a&&"consent"===b&&(d='<div class="basic-gdpr-consent"><input type="checkbox" name="gdpr-consent" class="gdpr-consent"><span class="basic-gdpr-consent-text">'+c+"</span></div>"),d},YOPPollBasicHasCaptcha=function(a){var b=[];return"yes"===a?(b[0]="1",b[1]='<div id="yop-poll-captcha"></div>'):(b[0]="0",b[1]=""),b},YOPPollBasicFormatVotePermissions=function(a){var b=0,c=[];for(b in a)c.push(a[b].id);return c},YOPPollBasicGetResultsBeforeVoteSettings=function(a){var b,c,d=[],e=[],f=[];for(b in a["show-results-to"])d.push(a["show-results-to"][b].id);for(b in a["show-results-moment"])e.push(a["show-results-moment"][b].id);for(b in a["show-details-as"])f.push(a["show-details-as"][b].id);return c='data-show-results-to="'+d.join()+'" data-show-results-moment="'+e.join()+'" data-show-results-only="false" data-show-results-as="'+a["display-results-as"]+'" data-sort-results-by="'+a["sort-results-by"]+'" data-sort-results-rule="'+a["sort-results-rule"]+'" data-resdet="'+f.join()+'"'},YOPPollBasicDoAnonymousVote=function(b){var c="";return-1<a.inArray("guest",b)&&(c='<div class="basic-anonymous"><button type="button" class="btn btn-default"><i class="fa fa-user-secret" aria-hidden="true"></i>'+objectL10n.yopPollParams.previewParams.annonymousVoteText+"</button></div>"),c},YOPPollBasicDoWordpressVote=function(b){var c="";return-1<a.inArray("wordpress",b)&&(c='<div class="basic-wordpress"><button type="button" class="btn btn-default"><i class="fa fa-wordpress" aria-hidden="true"></i>'+objectL10n.yopPollParams.previewParams.wordpressVoteText+"</button></div>"),c},YOPPollBasicDoFacebookVote=function(b){var c="";return-1<a.inArray("facebook",b)&&(c='<div class="basic-wordpress"><button type="button" class="btn btn-default"><i class="fa fa-wordpress" aria-hidden="true"></i>'+objectL10n.yopPollParams.previewParams.facebookVoteText+"</button></div>"),c},YOPPollBasicDoGoogleVote=function(b){var c="";return-1<a.inArray("google",b)&&(c='<div class="basic-wordpress"><button type="button" class="btn btn-default"><i class="fa fa-wordpress" aria-hidden="true"></i>'+objectL10n.yopPollParams.previewParams.googleVoteText+"</button></div>"),c},YOPPollBasicGetPollElements=function(){var b="";return a(".poll-elements-list").find(".poll-element").each(function(c){var d=c+1;switch(a(this).attr("data-type")){case"text-question":b+=YOPPollBasicDoTextQuestion(a(this),d);break;case"custom-field":b+=YOPPollBasicDoCustomField(a(this),d);break;case"media-question":b+=YOPPollBasicDoMediaQuestion(a(this),d);break;case"space-separator":b+=YOPPollBasicDoSpaceSeparator(a(this),d);break;case"text-block":b+=YOPPollBasicDoTextBlock(a(this),d)}}),b},YOPPollBasicDoTextQuestion=function(b,c){var d="",e="",f=b.find(".answers-display").val();switch(f){case"vertical":d=YOPPollBasicDoVerticalText(b,c);break;case"horizontal":d=YOPPollBasicDoHorizontalText(b,c);break;case"columns":d=YOPPollBasicDoColumnsText(b,c)}return e='<div class="basic-element basic-question" style="background-color:'+a(".questions-style-settings").find(".question-background-color").val()+";border:"+a(".questions-style-settings").find(".question-border-size").val()+"px;border-style: solid;border-color:"+a(".questions-style-settings").find(".question-border-color").val()+";border-radius:"+a(".questions-style-settings").find(".question-border-radius").val()+"px;padding:"+a(".questions-style-settings").find(".question-padding").val()+"px;color:"+a(".questions-style-settings").find(".question-text-color").val()+";font-size:"+a(".questions-style-settings").find(".question-text-size").val()+';"data-id="'+c+'"data-type="question"data-question-type="text"data-min=""data-max=""data-display="'+a(b).find(".answers-display").val()+'"data-colnum="'+a(b).find(".answers-columns").val()+'"><div class="basic-question-title">'+b.find(".question-value").val()+"</div>"+d+"</div>"},YOPPollBasicDoVerticalText=function(b,c){var d,e,f,g=0,h='<ul class="basic-answers">';return d=YOPPollBasicIsAllowMultipleAnswers(b.find(".allow-multiple-answers").val()),b.find(".answer").each(function(b){var i=Math.floor(Math.random()*(randomMax-randomMin+1))+randomMin;f=YOPPollBasicIsAnswerDefault(a(this).find(".answer-is-default")),e=YOPPollBasicIsAnswerLink(a(this).find(".answer-make-link"),a(this).find(".answer-link").val(),a(this).find(".answer-value").val()),h+='<li class="basic-answer" style="background-color:'+a(".answers-style-settings").find(".answers-background-color").val()+";border:"+a(".answers-style-settings").find(".answers-border-size").val()+"px;border-style: solid;border-color:"+a(".answers-style-settings").find(".answers-border-color").val()+";border-radius:"+a(".answers-style-settings").find(".answers-border-radius").val()+"px;padding:"+a(".answers-style-settings").find(".answers-padding").val()+"px;color:"+a(".answers-style-settings").find(".answers-text-color").val()+";font-size:"+a(".answers-style-settings").find(".answers-text-sze").val()+';" data-id="'+b+'" data-type="text" data-vn="'+i+'" data-color="'+a(this).find(".answer-results-color").val()+'"><div class="basic-canvas"><span class="basic-howmuch"></span></div><div class="basic-inner"><label class="basic-label"><input type="'+d+'" name="answer['+c+']" value="'+b+'"'+f+'><span class="basic-answer-content"><span class="basic-text">'+e+"</span></span></label></div></li>",g++}),"yes"===b.find(".allow-other-answers").val()&&(h+='<li class="basic-answer basic-other-answer" style="background-color:'+a(".answers-style-settings").find(".answers-background-color").val()+";border:"+a(".answers-style-settings").find(".answers-border-size").val()+"px;border-style: solid;border-color:"+a(".answers-style-settings").find(".answers-border-color").val()+";border-radius:"+a(".answers-style-settings").find(".answers-border-radius").val()+"px;padding:"+a(".answers-style-settings").find(".answers-padding").val()+"px;color:"+a(".answers-style-settings").find(".answers-text-color").val()+";font-size:"+a(".answers-style-settings").find(".answers-text-sze").val()+';""><div class="basic-canvas"><span class="basic-howmuch"></span></div><div class="basic-inner"><label class="basic-label"><input type="'+d+'" name="answer['+c+']" value="0"><span class="basic-answer-content"><span class="basic-text">'+b.find(".other-answers-label").val()+'<br/><input class="basic-input-text form-control" type="text" name="other['+c+']" data-type="other-answer"></span></span></label></div></li>'),h+="</ul>"},YOPPollBasicDoHorizontalText=function(b,c){var d,e,f,g,h='<div class="basic-answers">';return g=YOPPollBasicGetAnswersCount(b),d=YOPPollBasicIsAllowMultipleAnswers(b.find(".allow-multiple-answers").val()),h+='<div class="row" data-columns="'+g+'">',b.find(".answer").each(function(b){var g=Math.floor(Math.random()*(randomMax-randomMin+1))+randomMin;f=YOPPollBasicIsAnswerDefault(a(this).find(".answer-is-default")),e=YOPPollBasicIsAnswerLink(a(this).find(".answer-make-link"),a(this).find(".answer-link").val(),a(this).find(".answer-value").val()),h+='<div class="col-md-1 basic-answer" style="background-color:'+a(".answers-style-settings").find(".answers-background-color").val()+";border:"+a(".answers-style-settings").find(".answers-border-size").val()+"px;border-style: solid;border-color:"+a(".answers-style-settings").find(".answers-border-color").val()+";border-radius:"+a(".answers-style-settings").find(".answers-border-radius").val()+"px;padding:"+a(".answers-style-settings").find(".answers-padding").val()+"px;color:"+a(".answers-style-settings").find(".answers-text-color").val()+";font-size:"+a(".answers-style-settings").find(".answers-text-sze").val()+';" data-id="'+b+'" data-type="text" data-vn="'+g+'" data-color="'+a(this).find(".answer-results-color").val()+'""><div class="basic-canvas"><span class="basic-howmuch"></span></div><div class="basic-inner"><label class="basic-label"><input type="'+d+'" name="answer['+c+']" value="'+b+'"'+f+'><span class="basic-answer-content"><span class="basic-text">'+e+"</span></span></label></div></div>"}),"yes"===b.find(".allow-other-answers").val()&&(h+='<div class="col-md-1 basic-answer basic-other-answer" style="background-color:'+a(".answers-style-settings").find(".answers-background-color").val()+";border:"+a(".answers-style-settings").find(".answers-border-size").val()+"px;border-style: solid;border-color:"+a(".answers-style-settings").find(".answers-border-color").val()+";border-radius:"+a(".answers-style-settings").find(".answers-border-radius").val()+"px;padding:"+a(".answers-style-settings").find(".answers-padding").val()+"px;color:"+a(".answers-style-settings").find(".answers-text-color").val()+";font-size:"+a(".answers-style-settings").find(".answers-text-sze").val()+';""><div class="basic-canvas"><span class="basic-howmuch"></span></div><div class="basic-inner"><label class="basic-label"><input type="'+d+'" name="answer['+(g+1)+']" value="0"><span class="basic-answer-content"><span class="basic-text">'+b.find(".other-answers-label").val()+'<br/><input class="basic-input-text form-control" type="text" name="other['+c+']" data-type="other-answer"></span></span></label></div></div>'),h+="</div>",h+="</div>"},YOPPollBasicDoColumnsText=function(b,c){var d,e,f,g="",h="",i="",j=YOPPollBasicGetAnswersCount(b),k=1;return d="yes"===b.find(".allow-other-answers").val()?j-1:j,g=YOPPollBasicIsAllowMultipleAnswers(b.find(".allow-multiple-answers").val()),e=b.find(".answers-columns").val(),f='<div class="basic-answers">',f+='<div class="row" data-columns="'+e+'">',b.find(".answer").each(function(b){var j=Math.floor(Math.random()*(randomMax-randomMin+1))+randomMin;i=YOPPollBasicIsAnswerDefault(a(this).find(".answer-is-default")),h=YOPPollBasicIsAnswerLink(a(this).find(".answer-make-link"),a(this).find(".answer-link").val(),a(this).find(".answer-value").val()),f+='<div class="col-md-1 basic-answer" style="background-color:'+a(".answers-style-settings").find(".answers-background-color").val()+";border:"+a(".answers-style-settings").find(".answers-border-size").val()+"px;border-style: solid;border-color:"+a(".answers-style-settings").find(".answers-border-color").val()+";border-radius:"+a(".answers-style-settings").find(".answers-border-radius").val()+"px;padding:"+a(".answers-style-settings").find(".answers-padding").val()+"px;color:"+a(".answers-style-settings").find(".answers-text-color").val()+";font-size:"+a(".answers-style-settings").find(".answers-text-sze").val()+';" data-id="'+b+'" data-type="text" data-vn="'+j+'" data-color="'+a(this).find(".answer-results-color").val()+'""><div class="basic-canvas"><span class="basic-howmuch"></span></div><div class="basic-inner"><label class="basic-label"><input type="'+g+'" name="answer['+c+']" value="'+b+'"'+i+'><span class="basic-answer-content"><span class="basic-text">'+h+"</span></span></label></div></div>",0===k%e&&(f+="</div>",d>k&&(f+='<div class="row" data-columns="'+e+'">')),k++}),"yes"===b.find(".allow-other-answers").val()?(0===d%e&&(f+='<div class="row" data-columns="'+e+'">'),f+='<div class="col-md-1 basic-answer basic-other-answer" style="background-color:'+a(".answers-style-settings").find(".answers-background-color").val()+";border:"+a(".answers-style-settings").find(".answers-border-size").val()+"px;border-style: solid;border-color:"+a(".answers-style-settings").find(".answers-border-color").val()+";border-radius:"+a(".answers-style-settings").find(".answers-border-radius").val()+"px;padding:"+a(".answers-style-settings").find(".answers-padding").val()+"px;color:"+a(".answers-style-settings").find(".answers-text-color").val()+";font-size:"+a(".answers-style-settings").find(".answers-text-sze").val()+';""><div class="basic-canvas"><span class="basic-howmuch"></span></div><div class="basic-inner"><label class="basic-label"><input type="'+g+'" name="answer['+(j+1)+']" value="0"><span class="basic-answer-content"><span class="basic-text">'+b.find(".other-answers-label").val()+'<br/><input class="basic-input-text form-control" type="text" name="other['+c+']" data-type="other-answer"></span></span></label></div></div>',f+="</div>"):0!==d%e&&(f+="</div>"),f+="</div>"},YOPPollBasicDoCustomField=function(a,b){var c;return c='<div class="basic-element basic-custom-field" data-id="" data-type="custom-field" data-required=""><label>'+a.find(".custom-field-name").val()+'</label><input type="text" name="cfield[]" class="form-control" data-type="cfield"><br></div>'},YOPPollBasicCreateMediaAnswer=function(a){var b,c=a.find(".answer-type").val();switch(c){case"image":b='<img src="'+a.find(".answer-link").val()+'">';break;case"video":b=a.find(".answer-embed").val()}return b},YOPPollBasicDoMediaQuestion=function(b,c){var d="",e="",f=b.find(".answers-display").val();switch(f){case"vertical":d=YOPPollBasicDoVerticalMedia(b,c);break;case"horizontal":d=YOPPollBasicDoHorizontalMedia(b,c);break;case"columns":d=YOPPollBasicDoColumnsMedia(b,c)}return e='<div class="basic-element basic-question" style="background-color:'+a(".questions-style-settings").find(".question-background-color").val()+";border:"+a(".questions-style-settings").find(".question-border-size").val()+"px;border-style: solid;border-color:"+a(".questions-style-settings").find(".question-border-color").val()+";border-radius:"+a(".questions-style-settings").find(".question-border-radius").val()+"px;padding:"+a(".questions-style-settings").find(".question-padding").val()+"px;color:"+a(".questions-style-settings").find(".question-text-color").val()+";font-size:"+a(".questions-style-settings").find(".question-text-size").val()+';"data-id="'+c+'"data-type="question"data-question-type="media"data-min=""data-max=""data-display="'+a(b).find(".answers-display").val()+'"data-colnum="'+a(b).find(".answers-columns").val()+'"><div class="basic-question-title">'+b.find(".question-value").val()+"</div>"+d+"</div>"},YOPPollBasicDoVerticalMedia=function(b,c){var d,e,f,g,h=a(this).find(".answer-type").val(),i=0;return g='<ul class="basic-answers">',d=YOPPollBasicIsAllowMultipleAnswers(b.find(".allow-multiple-answers").val()),b.find(".answer").each(function(b){var j=Math.floor(Math.random()*(randomMax-randomMin+1))+randomMin;f=YOPPollBasicIsAnswerDefault(a(this).find(".answer-is-default")),e=YOPPollBasicCreateMediaAnswer(a(this)),g+='<li class="basic-answer" style="background-color:'+a(".answers-style-settings").find(".answers-background-color").val()+";border:"+a(".answers-style-settings").find(".answers-border-size").val()+"px;border-style: solid;border-color:"+a(".answers-style-settings").find(".answers-border-color").val()+";border-radius:"+a(".answers-style-settings").find(".answers-border-radius").val()+"px;padding:"+a(".answers-style-settings").find(".answers-padding").val()+"px;color:"+a(".answers-style-settings").find(".answers-text-color").val()+";font-size:"+a(".answers-style-settings").find(".answers-text-sze").val()+';" data-id="'+b+'" data-type="'+h+'" data-vn="'+j+'" data-color="'+a(this).find(".answer-results-color").val()+'"><div class="basic-canvas"><span class="basic-howmuch"></span></div><div class="basic-inner"><label class="basic-label basic-label-media-preview basic-label-media-vertical-preview"><input type="'+d+'" name="answer['+c+']" value="'+b+'"'+f+'><span class="basic-answer-content"><span class="basic-media"><span class="basic-media-content">'+e+'</span><span class="basic-media-text hide">'+a(this).find(".media-answer-text").val()+"</span></span></span></label></div></li>",i++}),"yes"===b.find(".allow-other-answers").val()&&(g+='<li class="basic-answer basic-other-answer" style="background-color:'+a(".answers-style-settings").find(".answers-background-color").val()+";border:"+a(".answers-style-settings").find(".answers-border-size").val()+"px;border-style: solid;border-color:"+a(".answers-style-settings").find(".answers-border-color").val()+";border-radius:"+a(".answers-style-settings").find(".answers-border-radius").val()+"px;padding:"+a(".answers-style-settings").find(".answers-padding").val()+"px;color:"+a(".answers-style-settings").find(".answers-text-color").val()+";font-size:"+a(".answers-style-settings").find(".answers-text-sze").val()+';""><div class="basic-canvas"><span class="basic-howmuch"></span></div><div class="basic-inner"><label class="basic-label"><input type="'+d+'" name="answer['+c+']" value="0"><span class="basic-answer-content"><span class="basic-text">'+b.find(".other-answers-label").val()+'<br/><input class="basic-input-text form-control" type="text" name="other['+c+']"></span></span></label></div></li>'),g+="</ul>"},YOPPollBasicDoHorizontalMedia=function(b,c){var d,e,f,g=a(this).find(".answer-type").val(),h=YOPPollBasicGetAnswersCount(b),i='<div class="basic-answers">';return d=YOPPollBasicIsAllowMultipleAnswers(b.find(".allow-multiple-answers").val()),i+='<div class="row" data-columns="'+h+'">',b.find(".answer").each(function(b){var h=Math.floor(Math.random()*(randomMax-randomMin+1))+randomMin;f=YOPPollBasicIsAnswerDefault(a(this).find(".answer-is-default")),e=YOPPollBasicCreateMediaAnswer(a(this)),i+='<div class="col-md-1 basic-answer" style="background-color:'+a(".answers-style-settings").find(".answers-background-color").val()+";border:"+a(".answers-style-settings").find(".answers-border-size").val()+"px;border-style: solid;border-color:"+a(".answers-style-settings").find(".answers-border-color").val()+";border-radius:"+a(".answers-style-settings").find(".answers-border-radius").val()+"px;padding:"+a(".answers-style-settings").find(".answers-padding").val()+"px;color:"+a(".answers-style-settings").find(".answers-text-color").val()+";font-size:"+a(".answers-style-settings").find(".answers-text-sze").val()+';" data-id="'+b+'" data-type="'+g+'" data-vn="'+h+'" data-color="'+a(this).find(".answer-results-color").val()+'""><div class="basic-canvas"><span class="basic-howmuch"></span></div><div class="basic-inner"><label class="basic-label basic-label-media-preview basic-label-media-horizontal-preview"><input type="'+d+'" name="answer['+c+']" value="'+b+'"'+f+'><span class="basic-answer-content"><span class="basic-media"><span class="basic-media-content">'+e+'</span><span class="basic-media-text hide">'+a(this).find(".answer-text").val()+"</span></span></span></label></div></div>"}),"yes"===b.find(".allow-other-answers").val()&&(i+='<div class="col-md-1 basic-answer basic-other-answer" style="background-color:'+a(".answers-style-settings").find(".answers-background-color").val()+";border:"+a(".answers-style-settings").find(".answers-border-size").val()+"px;border-style: solid;border-color:"+a(".answers-style-settings").find(".answers-border-color").val()+";border-radius:"+a(".answers-style-settings").find(".answers-border-radius").val()+"px;padding:"+a(".answers-style-settings").find(".answers-padding").val()+"px;color:"+a(".answers-style-settings").find(".answers-text-color").val()+";font-size:"+a(".answers-style-settings").find(".answers-text-sze").val()+';""><div class="basic-canvas"><span class="basic-howmuch"></span></div><div class="basic-inner"><label class="basic-label"><input type="'+d+'" name="answer['+c+']" value="0"><span class="basic-answer-content"><span class="basic-text">'+b.find(".other-answers-label").val()+'<br/><input class="basic-input-text form-control" type="text" name="other['+c+']" data-type="other-answer"></span></span></label></div></div>'),i+="</div>",i+="</div>"},YOPPollBasicDoColumnsMedia=function(b,c){var d,e,f,g="",h=a(this).find(".answer-type").val(),i="",j="",k=YOPPollBasicGetAnswersCount(b),l=1;return d="yes"===b.find(".allow-other-answers").val()?k-1:k,g=YOPPollBasicIsAllowMultipleAnswers(b.find(".allow-multiple-answers").val()),e=b.find(".answers-columns").val(),f='<div class="basic-answers">',f+='<div class="row" data-columns="'+e+'">',b.find(".answer").each(function(b){var k=Math.floor(Math.random()*(randomMax-randomMin+1))+randomMin;j=YOPPollBasicIsAnswerDefault(a(this).find(".answer-is-default")),i=YOPPollBasicCreateMediaAnswer(a(this)),f+='<div class="col-md-1 basic-answer" style="background-color:'+a(".answers-style-settings").find(".answers-background-color").val()+";border:"+a(".answers-style-settings").find(".answers-border-size").val()+"px;border-style: solid;border-color:"+a(".answers-style-settings").find(".answers-border-color").val()+";border-radius:"+a(".answers-style-settings").find(".answers-border-radius").val()+"px;padding:"+a(".answers-style-settings").find(".answers-padding").val()+"px;color:"+a(".answers-style-settings").find(".answers-text-color").val()+";font-size:"+a(".answers-style-settings").find(".answers-text-sze").val()+';" data-id="'+b+'" data-type="'+h+'" data-vn="'+k+'" data-color="'+a(this).find(".answer-results-color").val()+'""><div class="basic-canvas"><span class="basic-howmuch"></span></div><div class="basic-inner"><label class="basic-label basic-label-media-preview basic-label-media-horizontal-preview"><input type="'+g+'" name="answer['+c+']" value="'+b+'"'+j+'><span class="basic-answer-content"><span class="basic-text"><span class="basic-media-content">'+i+'</span><span class="basic-media-text hide">'+a(this).find(".answer-text").val()+"</span></span></span></label></div></div>",0===l%e&&(f+="</div>",d>l&&(f+='<div class="row" data-columns="'+e+'">')),l++}),"yes"===b.find(".allow-other-answers").val()&&(0===d%e&&(f+='<div class="row" data-columns="'+e+'">'),f+='<div class="col-md-1 basic-answer basic-other-answer" style="background-color:'+a(".answers-style-settings").find(".answers-background-color").val()+";border:"+a(".answers-style-settings").find(".answers-border-size").val()+"px;border-style: solid;border-color:"+a(".answers-style-settings").find(".answers-border-color").val()+";border-radius:"+a(".answers-style-settings").find(".answers-border-radius").val()+"px;padding:"+a(".answers-style-settings").find(".answers-padding").val()+"px;color:"+a(".answers-style-settings").find(".answers-text-color").val()+";font-size:"+a(".answers-style-settings").find(".answers-text-sze").val()+';""><div class="basic-canvas"><span class="basic-howmuch"></span></div><div class="basic-inner"><label class="basic-label"><input type="'+g+'" name="answer['+c+']" value="0"><span class="basic-answer-content"><span class="basic-text">'+b.find(".other-answers-label").val()+'<br/><input class="basic-input-text form-control" type="text" name="other['+c+']" data-type="other-answer"></span></span></label></div></div>',0===d%e&&(f+="</div>")),f+="</div>"},YOPPollBasicDoSpaceSeparator=function(a,b){var c;return c='<div class="basic-element basic-separator basic-space" data-type="space-separator"></div>'},YOPPollBasicDoTextBlock=function(a,b){var c;return c='<div class="basic-element basic-text-block" data-type="text-block">'+a.find(".text-block-text").val()+"</div>"},YOPPollBasicShowResultsLink=function(){var b="";return"yes"===a(".show-results-link").val()&&(b='<button class="basic-results-button">'+a(".results-label-text").val()+"</button>"),b},YOPPollBasicShowBackToVoteLink=function(){var b="";return"yes"===a(".back-to-vote-option").val()&&(b='<button class="basic-back-to-vote-button" style="display:none;">'+a(".back-to-vote-caption").val()+"</button>"),b},YOPPollBasicDoShowTotalVotesAndAnswers=function(){var b="";return"yes"===a(".show-total-votes").val()&&"yes"===a(".show-total-answers").val()?b='<div class="basic-stats"><span class="basic-stats-votes"><span class="basic-stats-votes-number">10</span><span>&nbsp;'+objectL10n.yopPollParams.previewParams.numberOfVotesPlural+'</span></span>&nbsp;&middot;&nbsp;<span class="basic-stats-answers"><span class="basic-stats-answers-number">14</span><span>&nbsp;'+objectL10n.yopPollParams.previewParams.numberOfAnswersPlural+"</span></span></div>":"yes"===a(".show-total-votes").val()?b='<div class="basic-stats"><span class="basic-stats-votes"><span class="basic-stats-votes-number">10&nbsp;</span><span>'+objectL10n.yopPollParams.previewParams.numberOfVotesPlural+"</span></span></div>":"yes"===a(".show-total-answers").val()&&(b='<div class="basic-stats"><span class="basic-stats-answers"><span class="basic-stats-answers-number">14&nbsp;</span><span>'+objectL10n.yopPollParams.previewParams.numberOfAnswersPlural+"</span></span></div>"),b},YOPPollBasicBuildAnswerResultsDetails=function(a,b,c){var d,e="",f=2;return-1!==a.indexOf("percentages")&&(e=c>0?100*b/c:0),e=e===Math.round(e)?Math.round(e)+"%":Number(Math.round(e+"e"+f)+"e-"+f).toFixed(f)+"%",-1!==a.indexOf("votes-number")&&(d=1===parseInt(b,10)?objectL10n.yopPollParams.resultsParams.singleVote:objectL10n.yopPollParams.resultsParams.multipleVotes,e+=" ("+b+" "+d+")"),e},YOPPollBasicDoShowResultsBeforeVote=function(c){var d="1",e=a(c).attr("data-show-results-as"),f=a(c).attr("data-sort-results-by"),g=a(c).attr("data-sort-results-rule"),h=a(c).attr("data-resdet");b[d]=[],a(c).find(".basic-question").each(function(){var c,j,k=a(this).attr("data-id"),l=a(this).attr("data-question-type"),m=[],n={},o=[],p=[],q=[],r=[],s=[],t=0;switch(i=0,a(this).find('.basic-answer:not(".basic-other-answer")').each(function(b){var c={};c.id=a(this).attr("data-id"),"text"===l?c.label=a(this).find(".basic-text").text():"pie"===e?c.label=a(this).find(".basic-media-text").text():c.label=a(this).find(".basic-media-content").html(),c.backgroundColor=a(this).attr("data-color"),c.votes=parseInt(a(this).attr("data-vn"),10),m.push(c),t+=c.votes}),g){case"asc":g="ASC";break;case"desc":g="DESC";break;default:g="ASC"}switch(f){case"alphabetical":s=helper.arr.multisort(m,["label"],[g]);break;case"number-of-votes":s=helper.arr.multisort(m,["votes"],[g]);break;default:s=m}for(i=0;i<s.length;i++)o.push(s[i].id),p.push(s[i].label+" "+YOPPollBasicBuildAnswerResultsDetails(h,s[i].votes,t)),r.push(s[i].votes),q.push(s[i].backgroundColor);switch(n={labels:p,datasets:[{data:r,backgroundColor:q}]},e){case"bar":for(i=0;i<p.length;i++)answerResultsDetails=YOPPollBasicBuildAnswerResultsDetails(h,r[i],t),"text"===l?a(this).find(".basic-answer[data-id="+o[i]+"]").find(".basic-text").append('<span class="results-details"> '+answerResultsDetails+"</span>"):a(this).find(".basic-answer[data-id="+o[i]+"]").find(".basic-media").append('<span class="results-details"> '+answerResultsDetails+"</span>"),a(this).find(".basic-answer[data-id="+o[i]+"]").append('<div class="progress" style="background-image:none; background-color:transparent; box-shadow:none; margin-top: 5px;"><div class="progress-bar six-sec-ease-in-out" role="progressbar" data-transitiongoal="'+r[i]+'" aria-valuemax="'+t+'" style="background-image:none; background-color: '+q[i]+'; border-radius: 4px;"></div></div>');a(this).find(".progress .progress-bar").progressbar();break;case"pie":a(this).find(".basic-question-title").append('<canvas id="question-results-'+k+'"></canvas>'),c=a(this).find("#question-results-"+k),j=new Chart(c,{type:"pie",data:n,options:{animateScale:!0,responsive:!0,maintainAspectRatio:!0,legend:{position:"bottom"}}}),b[d].push(j)}})},YOPPollBasicDoShowResultsAfterVote=function(b,c){var d=1,e=a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').attr("data-show-results-as"),f=b.find(".basic-yop-poll-container").attr("data-show-results-moment");"results"===c?(a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find(".basic-stats").hide(),a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find(".basic-vote-button").hide(),a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find(".basic-results-button").hide(),a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find(".basic-back-to-vote-button").show(),a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find('.basic-element[data-type!="question"]').hide(),
21
- a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find(".visualCaptcha").hide(),"pie"===e?(a(b).find(".basic-answers").hide(),a(b).find(".basic-answer").hide()):(a(b).find('input[type="radio"]').hide(),a(b).find('input[type="checkbox"]').hide()),void 0!==f&&-1===f.indexOf("before-vote")&&YOPPollBasicDoShowResultsBeforeVote(b)):(void 0!==f&&-1===f.indexOf("before-vote")&&a(b).find('[id ^= "question-results-"]').remove(),a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find(".basic-stats").show(),a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find(".basic-answers").show(),a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find(".basic-answer").show(),a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find(".basic-vote-button").show(),a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find(".basic-results-button").show(),a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find(".basic-back-to-vote-button").hide(),a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find('.basic-element[data-type!="question"]').show(),a(b).find('.basic-yop-poll-container[data-id="'+d+'"]').find(".visualCaptcha").show())},YOPPollBasicClearResults=function(c){var d=a(c).attr("data-id");if(void 0!==b[d])for(i=1;i<=b[d].length;i++)b[d][i-1].destroy(),b[d].splice(i-1,1);a(c).find(".basic-element").each(function(){var b=a(this).attr("data-id");"question"===a(this).attr("data-type")&&(a(this).find(" .results-details").remove(),a(this).find(" .results-basic-answers").remove(),a(this).find(".progress").remove(),a(this).find("#question-results-"+b).remove())})},YOPPollDoPrettyBasic=function(b){var c=a(b).attr("data-skin"),d=a(b).attr("data-cscheme");d="black"===d?"":"-"+d,a(b).find('input[type="radio"]').iCheck({checkboxClass:"icheckbox_"+c+d,radioClass:"iradio_"+c+d}),a(b).find('input[type="checkbox"]').iCheck({checkboxClass:"icheckbox_"+c+d,radioClass:"iradio_"+c+d})},YOPPollRemovePrettyBasic=function(b){a(b).find('input[type="radio"]').iCheck("destroy"),a(b).find('input[type="checkbox"]').iCheck("destroy")},YOPPollBasicShowLivePreviewFor=function(a,b){switch(a){case"voting":YOPPollBasicShowLivePreviewForVoting(b);break;case"results":YOPPollBasicShowLivePreviewForResults(b);break;default:YOPPollBasicShowLivePreviewForVoting(b)}},YOPPollBasicShowLivePreviewForVoting=function(b){var c=(a(b).attr("data-id"),a(b).attr("data-temp")),d=a(b).attr("data-show-results-moment");YOPPollBasicClearResults(b),a(b).find(".basic-element").each(function(){a(this).attr("data-id");"question"===a(this).attr("data-type")?(a(this).find(".basic-answer").show(),a(this).find('input[type="radio"]').show(),a(this).find('input[type="checkbox"]').show(),a(this).find(".basic-answers").show(),a(this).find(".basic-other-answer").show()):a(this).show()}),"basic-pretty"===c&&YOPPollDoPrettyBasic(b),a(b).find(".visualCaptcha").show(),a(b).find(".basic-stats").show(),a(b).find(".basic-vote-button").show(),a(b).find(".basic-results-button").show(),a(b).find(".basic-back-to-vote-button").hide(),void 0!==d&&-1!==a(b).attr("data-show-results-moment").indexOf("before-vote")&&YOPPollBasicDoShowResultsBeforeVote(b),event.preventDefault()},YOPPollBasicBuildDataForResults=function(b){var c=[];return a(b).find(".basic-question").each(function(){var b={},d=a(this);b.id=a(this).attr("data-id"),b.type=a(this).attr("data-question-type"),b.text=a(this).find(".basic-question-title").text(),b.answers=[],a(this).find(".basic-answers").find(".basic-answer").not(".basic-other-answer").each(function(){var c=[];c.id=a(this).attr("data-id"),"media"===a(d).attr("data-question-type")?c.text=a(this).find(".basic-media-text").text():c.text=a(this).find(".basic-text").text(),c.type=a(this).attr("data-type"),c.color=a(this).attr("data-color"),c.votes=a(this).attr("data-vn"),b.answers.push(c)}),c.push(b)}),c},YOPPollBasicShowLivePreviewForResults=function(c){var d,e=a(c).attr("data-id"),f={},g=a(c).attr("data-show-results-as"),h=a(c).attr("data-sort-results-by"),i=a(c).attr("data-sort-results-rule"),j=[],k=[],l=[],m={},n=[],o=[],p=[],q=[],r=[],s=0,t={},u="",v="",w=0,x=0,y=0,z=a(c).attr("data-resdet"),A=YOPPollBasicBuildDataForResults(c);for(b[e]=[],a(c).find(".basic-stats").hide(),a(c).find(".basic-answers").hide(),a(c).find(".basic-vote-button").hide(),a(c).find(".basic-results-button").hide(),a(c).find(".basic-back-to-vote-button").show(),a(c).find('.basic-element[data-type!="question"]').hide(),w=0;w<A.length;w++){for(d=a(c).find('.basic-question[data-id="'+A[w].id+'"]').attr("data-display"),x=0;x<A[w].answers.length;x++)t={},t.type=A[w].answers[x].type,t.label=A[w].answers[x].text,t.backgroundColor=A[w].answers[x].color,t.votes=parseInt(A[w].answers[x].votes,10),l.push(t),s+=parseInt(A[w].answers[x].votes,10);switch(i){case"asc":i="ASC";break;case"desc":i="DESC";break;default:i="ASC"}switch(h){case"alphabetical":r=helper.arr.multisort(l,["label"],[i]);break;case"number-of-votes":r=helper.arr.multisort(l,["votes"],[i]);break;default:r=l}for(n[w]=[],o[w]=[],q[w]=[],p[w]=[],x=0;x<r.length;x++)n[w][x]=r[x].type,o[w][x]=r[x].label,q[w][x]=r[x].votes,p[w][x]=r[x].backgroundColor;switch(m={labels:o[w],datasets:[{data:q[w],backgroundColor:p[w],hoverBackgroundColor:p[w]}]},g){case"bar":switch(f.backgroundColor=a(c).find(".basic-answer").first().css("background-color"),f.border=a(c).find(".basic-answer").first().css("border"),f.borderStyle=a(c).find(".basic-answer").first().css("border-style"),f.borderColor=a(c).find(".basic-answer").first().css("border-color"),f.borderRadius=a(c).find(".basic-answer").first().css("border-radius"),f.padding=a(c).find(".basic-answer").first().css("padding"),f.color=a(c).find(".basic-answer").first().css("color"),f.fontSize=a(c).find(".basic-answer").first().css("font-size"),d){case"vertical":for(a(c).find('.basic-question[data-id="'+A[w].id+'"]').append('<ul class="results-basic-answers"></ul>'),x=0;x<o[w].length;x++)u="image"===n[w][x]?'<img src="'+o[w][x]+'">':o[w][x],answerResultsDetails=YOPPollBasicBuildAnswerResultsDetails(z,q[w][x],s),a(c).find('.basic-question[data-id="'+A[w].id+'"]').find(".results-basic-answers").append('<li class="basic-answer" style="background-color:'+f.backgroundColor+";border: "+f.border+";border-style: "+f.borderStyle+";border-color: "+f.borderColor+";border-radius: "+f.borderRadius+";padding: "+f.padding+";color: "+f.color+";font-size: "+f.fontSized+';"><div class="basic-inner"><label class="basic-label"><span class="basic-answer-content"><span class="basic-text">'+u+'</span><span class="results-details">'+answerResultsDetails+'</span></span></label></div><div class="progress" style="background-image:none; background-color:transparent; box-shadow:none; margin-top: 5px;"><div class="progress-bar" role="progressbar" data-transitiongoal="'+q[w][x]+'" aria-valuemax="'+s+'" style="background-image:none; background-color: '+p[w][x]+'; border-radius: 4px;"></div></div></li>');break;case"horizontal":for(a(c).find('.basic-question[data-id="'+A[w].id+'"]').append('<div class="results-basic-answers"><div class="row" data-columns="'+o[w].length+'"></div></div>'),x=0;x<o[w].length;x++)u="image"===n[w][x]?'<img src="'+o[w][x]+'">':o[w][x],answerResultsDetails=YOPPollBasicBuildAnswerResultsDetails(z,q[w][x],s),a(c).find('.basic-question[data-id="'+A[w].id+'"]').find(".results-basic-answers .row").append('<div class="col-md-1 basic-answer" style="background-color:'+f.backgroundColor+";border: "+f.border+";border-style: "+f.borderStyle+";border-color: "+f.borderColor+";border-radius: "+f.borderRadius+";padding: "+f.padding+";color: "+f.color+";font-size: "+f.fontSized+';"><div class="basic-inner"><label class="basic-label"><span class="basic-answer-content"><span class="basic-text">'+u+'</span><span class="results-details">'+answerResultsDetails+'</span></span></label></div><div class="progress" style="background-image:none; background-color:transparent; box-shadow:none; margin-top: 5px;"><div class="progress-bar" role="progressbar" data-transitiongoal="'+q[w][x]+'" aria-valuemax="'+s+'" style="background-image:none; background-color: '+p[w][x]+'; border-radius: 4px;"></div></div></div>');createGrid(c);break;case"columns":for(y=1,v="",nrColumns=a(c).find('.basic-question[data-id="'+A[w].id+'"]').attr("data-colnum"),a(c).find('.basic-question[data-id="'+A[w].id+'"]').append('<div class="results-basic-answers"><div class="row" data-columns="'+nrColumns+'"></div></div>'),x=0;x<o[w].length;x++)u="image"===n[w][x]?'<img src="'+o[w][x]+'">':o[w][x],answerResultsDetails=YOPPollBasicBuildAnswerResultsDetails(z,q[w][x],s),v+='<div class="col-md-1 basic-answer" style="background-color:'+f.backgroundColor+";border: "+f.border+";border-style: "+f.borderStyle+";border-color: "+f.borderColor+";border-radius: "+f.borderRadius+";padding: "+f.padding+";color: "+f.color+";font-size: "+f.fontSized+';"><div class="basic-inner"><label class="basic-label"><span class="basic-answer-content"><span class="basic-text">'+u+'</span><span class="results-details">'+answerResultsDetails+'</span></span></label></div><div class="progress" style="background-image:none; background-color:transparent; box-shadow:none; margin-top: 5px;"><div class="progress-bar" role="progressbar" data-transitiongoal="'+q[w][x]+'" aria-valuemax="'+s+'" style="background-image:none; background-color: '+p[w][x]+'; border-radius: 4px;"></div></div></div>',0===y%parseInt(nrColumns,10)&&(v+="</div>",y<o[w].length&&(v+='<div class="row" data-columns="'+nrColumns+'">')),y++;a(c).find('.basic-question[data-id="'+A[w].id+'"]').find(".results-basic-answers .row").append(v),createGrid(c)}a(c).find('.basic-question[data-id="'+A[w].id+'"]').find(".progress .progress-bar").progressbar();break;case"pie":a(c).find('.basic-question[data-id="'+A[w].id+'"]').append('<canvas id="question-results-'+A[w].id+'"></canvas>'),j[w]=a(c).find("#question-results-"+A[w].id).get(0).getContext("2d"),k[w]=new Chart(j[w],{type:"pie",data:m,options:{animateScale:!0,responsive:!0,maintainAspectRatio:!0,legend:{position:"bottom"}}}),b[e].push(k[w])}m.length=0,l.length=0,r.length=0,o.length=0,q.length=0,p.length=0,s=0}}}),jQuery(document).ready(function(a){YOPPollBasicShowLivePreview=function(){var b,c,d,e,f,g,h=[],i=[],j={accessibilityAlt:objectL10n.yopPollParams.captchaParams.accessibilityAlt,accessibilityTitle:objectL10n.yopPollParams.captchaParams.accessibilityTitle,accessibilityDescription:objectL10n.yopPollParams.captchaParams.accessibilityDescription,explanation:objectL10n.yopPollParams.captchaParams.explanation,refreshAlt:objectL10n.yopPollParams.captchaParams.refreshAlt,refreshTitle:objectL10n.yopPollParams.captchaParams.refreshTitle};return!0===YOPPollBasicIsVotingEnded(a(".end-date-option").val(),a(".end-date-custom-hidden").val())?(h[0]=0,b='<div class="basic-yop-poll-container" style="background-color:'+a(".poll-style-settings").find(".poll-background-color").val()+";border:"+a(".poll-style-settings").find(".poll-border-size").val()+"px;border-style:solid;border-color:"+a(".poll-style-settings").find(".poll-border-color").val()+";border-radius:"+a(".poll-style-settings").find(".poll-border-radius").val()+"px;padding:"+a(".poll-style-settings").find(".poll-padding").val()+'px;"><div class="basic-canvas"></div><div class="basic-inner"><div class="basic-message" style="background-color:'+a(".errors-style-settings").find(".errors-background-color").val()+";border:"+a(".errors-style-settings").find(".errors-border-size").val()+"px;border-style:solid;border-color:"+a(".errors-style-settings").find(".errors-border-color").val()+";border-radius:"+a(".errors-style-settings").find(".errors-border-radius").val()+"px;padding:"+a(".errors-style-settings").find(".errors-padding").val()+'px;"><p>'+objectL10n.yopPollParams.votingEnded+"</p></div></div>"):(!1===YOPPollBasicIsVotingStarted(a(".start-date-option").val(),a(".start-date-custom-hidden").val())?(h[0]=0,b='<div class="basic-yop-poll-container" style="background-color:'+a(".poll-style-settings").find(".poll-background-color").val()+";border:"+a(".poll-style-settings").find(".poll-border-size").val()+"px;border-style:solid;border-color:"+a(".poll-style-settings").find(".poll-border-color").val()+";border-radius:"+a(".poll-style-settings").find(".poll-border-radius").val()+"px;padding:"+a(".poll-style-settings").find(".poll-padding").val()+'px;"><div class="basic-canvas"></div><div class="basic-inner"><div class="basic-message" style="background-color:'+a(".errors-style-settings").find(".errors-background-color").val()+";border:"+a(".errors-style-settings").find(".errors-border-size").val()+"px;border-style:solid;border-color:"+a(".errors-style-settings").find(".errors-border-color").val()+";border-radius:"+a(".errors-style-settings").find(".errors-border-radius").val()+"px;padding:"+a(".errors-style-settings").find(".errors-padding").val()+'px;"><p>'+objectL10n.yopPollParams.votingNotStarted+"</p></div></div>"):(pollGdpr=YOPPollBasicHasGdpr(a(".enable-gdpr").val(),a(".gdpr-solution").val(),a(".gdpr-consent-text").val()),h=YOPPollBasicHasCaptcha(a(".use-captcha").val()),c=YOPPollBasicFormatVotePermissions(a(".vote-permissions").select2("data")),i["show-results-to"]=a(".show-results-to").select2("data"),i["show-results-moment"]=a(".show-results-moment").select2("data"),i["display-results-as"]=a(".display-results-as").val(),i["sort-results-by"]=a(".sort-results").val(),i["sort-results-rule"]=a(".sort-results-rule").val(),i["show-details-as"]=a(".results-details-option").select2("data"),d=YOPPollBasicGetResultsBeforeVoteSettings(i),f=YOPPollBasicGetPollElements(),totalVotesAndAnswers=YOPPollBasicDoShowTotalVotesAndAnswers(),showResultsOnlyClass="",pollShowResultsLink=YOPPollBasicShowResultsLink(),pollShowBackToVoteLink=YOPPollBasicShowBackToVoteLink(),b='<div class="basic-yop-poll-container" style="background-color:'+a(".poll-style-settings").find(".poll-background-color").val()+";border:"+a(".poll-style-settings").find(".poll-border-size").val()+"px;border-style:solid;border-color:"+a(".poll-style-settings").find(".poll-border-color").val()+";border-radius:"+a(".poll-style-settings").find(".poll-border-radius").val()+"px;padding:"+a(".poll-style-settings").find(".poll-padding").val()+'px;"data-id="1"data-temp="'+a('li[data-template-id="'+a('input[name="poll[template]"]').val()+'"]').attr("data-template-base")+'"data-skin="'+a(".answers-style-settings").find(".answers-skin").val()+'"data-cscheme="'+a(".answers-style-settings").find(".color-scheme").find("li.active").attr("data-id")+'"data-cap="'+h[0]+'"data-access="'+c.join()+'"'+d+'><div class="basic-canvas"></div><div class="basic-inner"><div class="basic-message hide" style="background-color:'+a(".errors-style-settings").find(".errors-background-color").val()+";border:"+a(".errors-style-settings").find(".errors-border-size").val()+"px;border-style:solid;border-color:"+a(".errors-style-settings").find(".errors-border-color").val()+";border-radius:"+a(".errors-style-settings").find(".errors-border-radius").val()+"px;padding:"+a(".errors-style-settings").find(".errors-padding").val()+'px;"><p></p></div><div class="basic-overlay hide"><div class="basic-vote-options">'+YOPPollBasicDoAnonymousVote(c)+YOPPollBasicDoWordpressVote(c)+YOPPollBasicDoFacebookVote(c)+YOPPollBasicDoGoogleVote(c)+'</div><div class="basic-preloader hide"><div class="basic-windows8"><div class="basic-wBall basic-wBall_1"><div class="basic-wInnerBall"></div></div><div class="basic-wBall basic-Ball_2"><div class="basic-wInnerBall"></div></div><div class="basic-wBall basic-wBall_3"><div class="basic-wInnerBall"></div></div><div class="basic-wBall basic-wBall_4"><div class="basic-wInnerBall"></div></div><div class="basic-wBall basic-wBall_5"><div class="basic-wInnerBall"></div></div></div></div></div><form class="basic-form"><div class="basic-elements">'+f+"</div>"+pollGdpr+h[1]+totalVotesAndAnswers+'<div class="basic-vote '+showResultsOnlyClass+'"><a href="#" class="button basic-vote-button" style="background:'+a(".buttons-style-settings").find(".buttons-background-color").val()+";border:"+a(".buttons-style-settings").find(".buttons-border-size").val()+"px;border-style: solid;border-color:"+a(".buttons-style-settings").find(".buttons-border-color").val()+";border-radius:"+a(".buttons-style-settings").find(".buttons-border-radius").val()+"px;padding:"+a(".buttons-style-settings").find(".buttons-padding").val()+"px;color:"+a(".buttons-style-settings").find(".buttons-text-color").val()+";font-size:"+a(".buttons-style-settings").find(".buttons-text-size").val()+';">'+a(".vote-button-label").val()+"</a>"+pollShowResultsLink+pollShowBackToVoteLink+"</div></form></div></div>"),"1"===h[0]&&a(b).find("#yop-poll-captcha").visualCaptcha({imgPath:objectL10n.yopPollParams.captchaParams.imgPath,captcha:{url:objectL10n.yopPollParams.captchaParams.url,numberOfImages:5,namespace:"yop-poll-captcha",routes:{start:"?_a=start",image:"?_a=image",audio:"?_a=audio"},callbacks:{loading:function(a){},loaded:function(a){}}},language:j})),modalPreview=BootstrapDialog.show({title:objectL10n.yopPollParams.previewParams.pollPreviewTitle,cssClass:"preview-dialog",message:'<div class="row"><div class="col-md-3">'+objectL10n.yopPollParams.previewParams.choosePreviewText+'</div><div class="col-md-9"><select class="show-preview-for" style="width:100%"><option value="voting" selected>'+objectL10n.yopPollParams.previewParams.votingText+'</option><option value="results">'+objectL10n.yopPollParams.previewParams.resultsText+'</option></select></div></div><div class="row"><div class="col-md-12"><p>&nbsp;</p></div></div>'+b,onshown:function(a){e=a.getModalBody().find(".basic-yop-poll-container").attr("data-show-results-moment"),void 0!==e&&-1!==e.indexOf("before-vote")&&YOPPollBasicDoShowResultsBeforeVote(a.getModalBody().find(".basic-yop-poll-container"))}}),g=modalPreview.getModalBody(),"1"===h[0]&&g.find("#yop-poll-captcha").visualCaptcha({imgPath:objectL10n.yopPollParams.captchaParams.imgPath,captcha:{url:objectL10n.yopPollParams.captchaParams.url,numberOfImages:5,namespace:"yop-poll-captcha",routes:{start:"?_a=start",image:"?_a=image",audio:"?_a=audio"},callbacks:{loading:function(a){},loaded:function(a){}}},language:j}),a(g).find(".show-preview-for").select2({minimumResultsForSearch:1/0}),createGrid(g),a(g).on("change",".show-preview-for",function(b){YOPPollBasicShowLivePreviewFor(a(this).val(),g.find(".basic-yop-poll-container")),b.preventDefault()}),g}}),jQuery(document).ready(function(a){YOPPollBasicPrettyShowLivePreview=function(){var b=a(".answers-style-settings").find(".answers-skin").val(),c=a(".answers-style-settings").find(".color-scheme").find("li.active").attr("data-id");c="black"===c?"":"-"+c,modalPreviewBody=YOPPollBasicShowLivePreview(),a(modalPreviewBody).find('input[type="radio"]').iCheck({checkboxClass:"icheckbox_"+b+c,radioClass:"iradio_"+b+c}),a(modalPreviewBody).find('input[type="checkbox"]').iCheck({checkboxClass:"icheckbox_"+b+c,radioClass:"iradio_"+b+c})}}),jQuery(document).ready(function(a){var b=function(b,c,d,e,f){a(".poll-steps li").removeClass("active"),a(".poll-steps li:nth-child("+b+")").addClass("active"),a(".poll-steps-content .tab-pane").removeClass("active"),a(".poll-steps-content .tab-pane:nth-child("+b+")").addClass("active"),a(".poll-steps-content .tab-pane:nth-child("+b+") .submenu-item").removeClass("btn-underline"),a(".poll-steps-content .tab-pane:nth-child("+b+")").find(".submenu-item").eq(c-1).addClass("btn-underline"),a(".poll-steps-content .tab-pane:nth-child("+b+")").find(".submenu-content").addClass("hide"),a(".poll-steps-content .tab-pane:nth-child("+b+")").find(".submenu-content").eq(c-1).removeClass("hide"),""!==d&&(d.focus(),d.parent().addClass("has-error")),""===f?toastr.warning(htmlEncode(striptags(d.closest(".form-group").find(".field-caption").text()+objectL10n.yopPollParams.saveParams.generalErrorMessage))):toastr.warning(htmlEncode(striptags(f)))};a("#publish-poll").click(function(c){var d,e=a('input[name="poll[template]"]').val(),f=!1,g=0,h=a('input[name="poll[name]"]').val();pollBackgroundColor=a(".poll-style-settings").find(".poll-background-color").val(),pollBorderSize=a(".poll-style-settings").find(".poll-border-size").val(),pollBorderColor=a(".poll-style-settings").find(".poll-border-color").val(),pollBorderRadius=a(".poll-style-settings").find(".poll-border-radius").val(),pollPadding=a(".poll-style-settings").find(".poll-padding").val(),pollTextColor=a(".poll-style-settings").find(".poll-text-color").val(),pollInputElementsBorderColor=a(".poll-style-settings").find(".poll-input-elements-border-color").val(),questionBackgroundColor=a(".questions-style-settings").find(".question-background-color").val(),questionBorderSize=a(".questions-style-settings").find(".question-border-size").val(),questionBorderColor=a(".questions-style-settings").find(".question-border-color").val(),questionBorderRadius=a(".questions-style-settings").find(".question-border-radius").val(),questionPadding=a(".questions-style-settings").find(".question-padding").val(),questionTextColor=a(".questions-style-settings").find(".question-text-color").val(),questionTextSize=a(".questions-style-settings").find(".question-text-size").val(),answersSkin=a(".answers-style-settings").find(".answers-skin").val(),answersColorScheme=a(".answers-style-settings").find(".color-scheme").find("li.active").attr("data-id"),answersBackgroundColor=a(".answers-style-settings").find(".answers-background-color").val(),answersBorderSize=a(".answers-style-settings").find(".answers-border-size").val(),answersBorderColor=a(".answers-style-settings").find(".answers-border-color").val(),answersBorderRadius=a(".answers-style-settings").find(".answers-border-radius").val(),answersPadding=a(".answers-style-settings").find(".answers-padding").val(),answersTextColor=a(".answers-style-settings").find(".answers-text-color").val(),answersTextSize=a(".answers-style-settings").find(".answers-text-size").val(),buttonsBackgroundColor=a(".buttons-style-settings").find(".buttons-background-color").val(),buttonsBorderSize=a(".buttons-style-settings").find(".buttons-border-size").val(),buttonsBorderColor=a(".buttons-style-settings").find(".buttons-border-color").val(),buttonsBorderRadius=a(".buttons-style-settings").find(".buttons-border-radius").val(),buttonsPadding=a(".buttons-style-settings").find(".buttons-padding").val(),buttonsTextColor=a(".buttons-style-settings").find(".buttons-text-color").val(),buttonsTextSize=a(".buttons-style-settings").find(".buttons-text-size").val(),errorsBackgroundColor=a(".errors-style-settings").find(".errors-background-color").val(),errorsBorderSize=a(".errors-style-settings").find(".errors-border-size").val(),errorsBorderColor=a(".errors-style-settings").find(".errors-border-color").val(),errorsBorderRadius=a(".errors-style-settings").find(".errors-border-radius").val(),errorsPadding=a(".errors-style-settings").find(".errors-padding").val(),errorsTextColor=a(".errors-style-settings").find(".errors-text-color").val(),errorsTextSize=a(".errors-style-settings").find(".errors-text-size").val(),showResultsMomentSelect2=[],showResultsMoment=[],showResultsToSelect2=[],showResultsTo=[],resultsDetailsSelect2=[],resultsDetails=[],votePermissionsSelect2=[],votePermissions=[],blockVotersSelect2=[],blockVoters=[],elements=[],""===h&&(f=!0,a('input[name="poll[name]"]').focus(),a('input[name="poll[name]"]').parent().addClass("has-error"),toastr.warning(htmlEncode(striptags(objectL10n.yopPollParams.saveParams.noPollName)))),!1===f&&""===e&&(f=!0,b(1,1,"","",objectL10n.yopPollParams.saveParams.noTemplateSelected)),!1===f&&""===pollBackgroundColor.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-background-color"),1,"")),!1===f&&""===pollBorderSize.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-border-size"),1,"")),!1===f&&""===pollBorderColor.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-border-color"),1,"")),!1===f&&""===pollBorderRadius.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-border-radius"),1,"")),!1===f&&""===pollPadding.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-padding"),1,"")),!1===f&&""===pollTextColor.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-text-color"),1,"")),!1===f&&""===pollInputElementsBorderColor.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-input-elements-border-color"),1,"")),!1===f&&""===questionBackgroundColor.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-background-color"),2,"")),!1===f&&""===questionBorderSize.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-border-size"),2,"")),!1===f&&""===questionBorderColor.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-border-color"),2,"")),!1===f&&""===questionBorderRadius.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-border-radius"),2,"")),!1===f&&""===questionPadding.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-padding"),2,"")),!1===f&&""===questionTextColor.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-text-color"),2,"")),!1===f&&""===questionTextSize.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-text-size"),2,"")),!1===f&&""===answersBackgroundColor.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-background-color"),3,"")),!1===f&&""===answersBorderSize.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-border-size"),3,"")),!1===f&&""===answersBorderColor.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-border-color"),3,"")),!1===f&&""===answersBorderRadius.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-border-radius"),3,"")),!1===f&&""===answersPadding.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-padding"),3,"")),!1===f&&""===answersTextColor.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-text-color"),3,"")),!1===f&&""===answersTextSize.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-text-size"),3,"")),!1===f&&""===buttonsBackgroundColor.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-background-color"),4,"")),!1===f&&""===buttonsBorderSize.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-border-size"),4,"")),!1===f&&""===buttonsBorderColor.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-border-color"),4,"")),!1===f&&""===buttonsBorderRadius.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-border-radius"),4,"")),!1===f&&""===buttonsPadding.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-padding"),4,"")),!1===f&&""===buttonsTextColor.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-text-color"),4,"")),!1===f&&""===buttonsTextSize.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-text-size"),4,"")),!1===f&&""===errorsBackgroundColor.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-background-color"),6,"")),!1===f&&""===errorsBorderSize.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-border-size"),6,"")),!1===f&&""===errorsBorderColor.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-border-color"),6,"")),!1===f&&""===errorsBorderRadius.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-border-radius"),6,"")),!1===f&&""===errorsPadding.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-padding"),6,"")),!1===f&&""===errorsTextColor.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-text-color"),6,"")),!1===f&&""===errorsTextSize.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-text-size"),6,"")),!1===f&&a(".poll-elements-list").find(".poll-element").each(function(){var c=a(this).attr("data-type");switch(c){case"text-question":!1===f&&""===a(this).find(".question-value").val()&&(f=!0,b(2,1,a(this).find(".question-value"),"",objectL10n.yopPollParams.saveParams.noQuestion)),a(this).find(".answer").each(function(c){return!1===f&&""===a(this).find(".answer-value").val().toString()?(f=!0,b(2,1,a(this).find(".answer-value"),"",objectL10n.yopPollParams.saveParams.noAnswerText),!1):!1===f&&a(this).find(".answer-make-link").is(":checked")&&""===a(this).find(".answer-link").val().toString()?(f=!0,b(2,1,a(this).find(".answer-link"),"",objectL10n.yopPollParams.saveParams.noAnswerLink),!1):void 0}),!1===f&&"yes"===a(this).find(".allow-other-answers").val()&&""===a(this).find(".other-answers-label").val().toString()&&(f=!0,b(2,1,a(this).find(".other-answers-label"),"",objectL10n.yopPollParams.saveParams.noOtherLabel)),!1===f&&"yes"===a(this).find(".allow-multiple-answers").val()&&(""===a(this).find(".multiple-answers-minim").val()||0>=parseInt(a(this).find(".multiple-answers-minim").val(),10)?(f=!0,b(2,1,a(this).find(".multiple-answers-minim"),"",objectL10n.yopPollParams.saveParams.noMinAnswers)):""===a(this).find(".multiple-answers-maxim").val()||0>=parseInt(a(this).find(".multiple-answers-maxim").val(),10)?(f=!0,b(2,1,a(this).find(".multiple-answers-maxim"),"",objectL10n.yopPollParams.saveParams.noMaxAnswers)):parseInt(a(this).find(".multiple-answers-minim").val(),10)>parseInt(a(this).find(".multiple-answers-maxim").val(),10)&&(f=!0,b(2,1,a(this).find(".multiple-answers-minim"),"",objectL10n.yopPollParams.saveParams.noMinAnswers))),!1===f&&"columns"===a(this).find(".answers-display").val()&&(""===a(this).find(".answers-columns").val().toString()||1>parseInt(a(this).find(".answers-columns").val(),10))&&(f=!0,b(2,1,a(this).find(".answers-columns"),"",objectL10n.yopPollParams.noNumberOfColumnsDefined));break;case"media-question":!1===f&&""===a(this).find(".question-value").val()&&(f=!0,b(2,1,a(this).find(".question-text"),"",objectL10n.yopPollParams.saveParams.noQuestion)),a(this).find(".answer").each(function(c){if(!1===f)switch(a(this).find(".answer-type").val()){case"image":""===a(this).find(".answer-link").val().toString()&&(f=!0,b(2,1,a(this).find(".answer-link"),"",objectL10n.yopPollParams.saveParams.noAnswerLink));break;case"video":""===a(this).find(".answer-embed").val().toString()&&(f=!0,b(2,1,a(this).find(".answer-embed"),"",objectL10n.yopPollParams.saveParams.noAnswerEmbed))}return!1===f&&a(this).find(".answer-add-text").is(":checked")&&""===a(this).find(".media-answer-text").val().toString()?(f=!0,b(2,1,a(this).find(".media-answer-text"),"",objectL10n.yopPollParams.saveParams.noAnswerText),!1):void 0}),!1===f&&"yes"===a(this).find(".allow-multiple-answers").val()&&(""===a(this).find(".multiple-answers-minim").val()||0>=parseInt(a(this).find(".multiple-answers-minim").val(),10)?(f=!0,b(2,1,a(this).find(".multiple-answers-minim"),"",objectL10n.yopPollParams.saveParams.noMinAnswers)):""===a(this).find(".multiple-answers-maxim").val()||0>=parseInt(a(this).find(".multiple-answers-maxim").val(),10)?(f=!0,b(2,1,a(this).find(".multiple-answers-maxim"),"",objectL10n.yopPollParams.saveParams.noMaxAnswers)):parseInt(a(this).find(".multiple-answers-minim").val(),10)>parseInt(a(this).find(".multiple-answers-maxim").val(),10)&&(f=!0,b(2,1,a(this).find(".multiple-answers-minim"),"",objectL10n.yopPollParams.saveParams.noMinAnswers))),!1===f&&"columns"===a(this).find(".answers-display").val()&&(""===a(this).find(".answers-columns").val().toString()||1>parseInt(a(this).find(".answers-columns").val(),10))&&(f=!0,b(2,1,a(this).find(".answers-columns"),"",objectL10n.yopPollParams.noNumberOfColumnsDefined));break;case"custom-field":if(!1===f&&""===a(this).find(".custom-field-name").val().toString())return f=!0,b(2,1,a(this).find(".custom-field-name"),"",objectL10n.yopPollParams.saveParams.noCustomFieldName),!1;break;case"space-separator":break;case"text-block":}}),!1===f&&""===a(".vote-button-label").val()&&(f=!0,b(3,1,a(".vote-button-label"),"","")),!1===f&&"yes"===a(".show-results-link").val()&&""===a(".results-label-text").val()&&(f=!0,b(3,1,a(".results-label-text"),"","")),
22
- !1===f&&"custom"===a(".start-date-option").val()&&""===a(".start-date-custom").val()&&(f=!0,b(3,1,a(".start-date-custom"),"",objectL10n.yopPollParams.saveParams.noStartDate)),!1===f&&"custom"===a(".end-date-option").val()&&""===a(".end-date-custom").val()&&(f=!0,b(3,1,a(".end-date-custom"),"",objectL10n.yopPollParams.saveParams.noEndDate)),!1===f&&"yes"===a(".redirect-after-vote").val()&&""===a(".redirect-url").val()&&(f=!0,b(3,1,a(".redirect-url"),"","")),!1===f&&"yes"===a(".send-email-notifications").val()&&(!1===f&&""===a(".email-notifications-from-name").val()&&(f=!0,b(3,1,a(".email-notifications-from-name"),"","")),!1===f&&""===a(".email-notifications-from-email").val()&&(f=!0,b(3,1,a(".email-notifications-from-email"),"","")),!1===f&&""===a(".email-notifications-subject").val()&&(f=!0,b(3,1,a(".email-notifications-subject"),"","")),!1===f&&""===a(".email-notifications-message").val()&&(f=!0,b(3,1,a(".email-notifications-message"),"",""))),!1===f&&"yes"===a(".enable-gdpr").val()&&"consent"===a(".gdpr-solution").val()&&""===a(".gdpr-consent-text").val()&&(f=!0,b(3,1,a(".gdpr-consent-text"),"","")),votePermissionsSelect2=a(".vote-permissions").select2("data"),g=0;for(g in votePermissionsSelect2)votePermissions.push(votePermissionsSelect2[g].id);!1===f&&0===votePermissions.length&&(f=!0,b(3,2,a(".vote-permissions"),"","")),blockVotersSelect2=a(".block-voters").select2("data"),g=0;for(g in blockVotersSelect2)blockVoters.push(blockVotersSelect2[g].id);!1===f&&0<blockVoters.length&&-1===a.inArray("no-block",blockVoters)&&""===a(".block-for-value").val()&&(f=!0,b(3,2,a(".block-for-value"),"","")),!1===f&&"yes"===a(".limit-votes-per-user").val()&&""===a(".votes-per-user-allowed").val()&&(f=!0,b(3,2,a(".votes-per-user-allowed"),"","")),showResultsMomentSelect2=a(".show-results-moment").select2("data"),g=0;for(g in showResultsMomentSelect2)showResultsMoment.push(showResultsMomentSelect2[g].id);!1===f&&0===showResultsMoment.length&&(f=!0,b(3,3,a(".show-results-moment"),"",objectL10n.yopPollParams.saveParams.noShowResultsMoment)),!1===f&&-1<a.inArray("custom-date",showResultsMoment)&&""===a(".custom-date-results").val()&&(f=!0,b(3,3,a(".custom-date-results"),"",objectL10n.yopPollParams.saveParams.noCustomDate)),showResultsToSelect2=a(".show-results-to").select2("data"),g=0;for(g in showResultsToSelect2)showResultsTo.push(showResultsToSelect2[g].id);!1===f&&-1===a.inArray("never",showResultsMoment)&&0===showResultsTo.length&&(f=!0,b(3,3,a(".show-results-to"),"",objectL10n.yopPollParams.saveParams.noShowResultsTo)),resultsDetailsSelect2=a(".results-details-option").select2("data"),g=0;for(g in resultsDetailsSelect2)resultsDetails.push(resultsDetailsSelect2[g].id);!1===f&&"yes"===a(".back-to-vote-option").val()&&""===a(".back-to-vote-caption").val()&&(f=!0,b(3,3,a(".back-to-vote-caption"),"","")),!1===f&&!0===a('input.vote-permissions[value="registered"]').is(":checked")&&"no"===a(".allow-wordpress-votes").val()&&(f=!0,b(3,3,a(".allow-wordpress-votes"),"",objectL10n.yopPollParams.saveParams.noVoteAsWordpress)),!1===f&&(a(".poll-elements-list").find(".poll-element").each(function(b){var c=a(this).attr("data-type"),d=[];switch(c){case"text-question":a(this).find(".answer").each(function(b){d[b]={type:"text",text:a(this).find(".answer-value").val(),options:{makeDefault:a(this).find(".answer-make-default").is(":checked")?"yes":"no",makeLink:a(this).find(".answer-make-link").is(":checked")?"yes":"no",link:a(this).find(".answer-link").val(),resultsColor:a(this).find(".answer-results-color").val()}}}),elements.push({type:"text-question",text:a(this).find(".question-value").val(),answers:d,options:{allowOtherAnswers:a(this).find(".allow-other-answers").val(),otherAnswersLabel:a(this).find(".other-answers-label").val(),addOtherAnswers:a(this).find(".add-other-answers").val(),displayOtherAnswersInResults:a(this).find(".display-other-answers-in-results").val(),allowMultipleAnswers:a(this).find(".allow-multiple-answers").val(),multipleAnswersMinim:a(this).find(".multiple-answers-minim").val(),multipleAnswersMaxim:a(this).find(".multiple-answers-maxim").val(),answersDisplay:a(this).find(".answers-display").val(),answersColumns:a(this).find(".answers-columns").val()}});break;case"custom-field":elements.push({type:"custom-field",text:a(this).find(".custom-field-name").val(),options:{makeRequired:a(this).find(".custom-field-make-required").is(":checked")?"yes":"no"}});break;case"media-question":a(this).find(".answer").each(function(b){d[b]={type:a(this).find(".answer-type").val(),text:"image"===a(this).find(".answer-type").val()?a(this).find(".answer-link").val():a(this).find(".answer-embed").val(),options:{makeDefault:a(this).find(".answer-make-default").is(":checked")?"yes":"no",makeLink:a(this).find(".answer-make-link").is(":checked")?"yes":"no",addText:a(this).find(".answer-add-text").is(":checked")?"yes":"no",text:a(this).find(".media-answer-text").val(),resultsColor:a(this).find(".answer-results-color").val()}}}),elements.push({type:"media-question",text:a(this).find(".question-value").val(),answers:d,options:{allowOtherAnswers:a(this).find(".allow-other-answers").val(),otherAnswersLabel:a(this).find(".other-answers-label").val(),addOtherAnswers:a(this).find(".add-other-answers").val(),displayOtherAnswersInResults:a(this).find(".display-other-answers-in-results").val(),allowMultipleAnswers:a(this).find(".allow-multiple-answers").val(),multipleAnswersMinim:a(this).find(".multiple-answers-minim").val(),multipleAnswersMaxim:a(this).find(".multiple-answers-maxim").val(),answersDisplay:a(this).find(".answers-display").val(),answersColumns:a(this).find(".answers-columns").val()}});break;case"space-separator":elements.push({type:"space-separator"});break;case"text-block":elements.push({type:"text-block",text:a(this).find(".text-block-text").val()})}}),d={name:a('input[name="poll[name]"]').val(),status:a("#poll_status").val(),design:{template:a('input[name="poll[template]"]').val(),templateBase:a('li[data-template-id="'+a('input[name="poll[template]"]').val()+'"]').attr("data-template-base"),style:{poll:{backgroundColor:a(".poll-background-color").val(),borderSize:a(".poll-border-size").val(),borderColor:a(".poll-border-color").val(),borderRadius:a(".poll-border-radius").val(),padding:a(".poll-padding").val(),textColor:a(".poll-text-color").val(),inputElementsBorderColor:a(".poll-input-elements-border-color").val()},questions:{backgroundColor:a(".question-background-color").val(),borderSize:a(".question-border-size").val(),borderColor:a(".question-border-color").val(),borderRadius:a(".question-border-radius").val(),padding:a(".question-padding").val(),textColor:a(".question-text-color").val(),textSize:a(".question-text-size").val()},answers:{backgroundColor:a(".answers-background-color").val(),borderSize:a(".answers-border-size").val(),borderColor:a(".answers-border-color").val(),borderRadius:a(".answers-border-radius").val(),padding:a(".answers-padding").val(),textColor:a(".answers-text-color").val(),textSize:a(".answers-text-size").val(),skin:a(".answers-style-settings").find(".answers-skin").val(),colorScheme:a(".answers-style-settings").find(".color-scheme").find("li.active").attr("data-id")},buttons:{backgroundColor:a(".buttons-background-color").val(),borderSize:a(".buttons-border-size").val(),borderColor:a(".buttons-border-color").val(),borderRadius:a(".buttons-border-radius").val(),padding:a(".buttons-padding").val(),textColor:a(".buttons-text-color").val(),textSize:a(".buttons-text-size").val()},captcha:{},errors:{backgroundColor:a(".errors-background-color").val(),borderSize:a(".errors-border-size").val(),borderColor:a(".errors-border-color").val(),borderRadius:a(".errors-border-radius").val(),padding:a(".errors-padding").val(),textColor:a(".errors-text-color").val(),textSize:a(".errors-text-size").val()}}},options:{poll:{voteButtonLabel:a(".vote-button-label").val(),showResultsLink:a(".show-results-link").val(),resultsLabelText:a(".results-label-text").val(),showTotalVotes:a(".show-total-votes").val(),showTotalAnswers:a(".show-total-answers").val(),startDateOption:a(".start-date-option").val(),startDateCustom:a(".start-date-custom-hidden").val(),endDateOption:a(".end-date-option").val(),endDateCustom:a(".end-date-custom-hidden").val(),redirectAfterVote:a(".redirect-after-vote").val(),redirectUrl:a(".redirect-url").val(),resetPollStatsAutomatically:a(".reset-poll-stats-automatically").val(),resetPollStatsOn:a(".reset-poll-stats-on-hidden").val(),resetPollStatsEvery:a(".reset-poll-stats-every").val(),resetPollStatsEveryPeriod:a(".reset-poll-stats-every-period").val(),autoGeneratePollPage:a(".auto-generate-poll-page").val(),pageId:"",pageLink:"",useCaptcha:a(".use-captcha").val(),sendEmailNotifications:a(".send-email-notifications").val(),emailNotificationsFromName:a(".email-notifications-from-name").val(),emailNotificationsFromEmail:a(".email-notifications-from-email").val(),emailNotificationsSubject:a(".email-notifications-subject").val(),emailNotificationsMessage:a(".email-notifications-message").val(),enableGdpr:a(".enable-gdpr").val(),gdprSolution:a(".gdpr-solution").val(),gdprConsentText:a(".gdpr-consent-text").val()},access:{votePermissions:votePermissions,allowWordpressVotes:a(".allow-wordpress-votes").val(),blockVoters:blockVoters,blockForValue:a(".block-for-value").val(),blockForPeriod:a(".block-for-period").val(),limitVotesPerUser:a(".limit-votes-per-user").val(),votesPerUserAllowed:a(".votes-per-user-allowed").val()},results:{showResultsMoment:showResultsMoment,customDateResults:a(".custom-date-results-hidden").val(),showResultsTo:showResultsTo,resultsDetails:resultsDetails,backToVoteOption:a(".back-to-vote-option").val(),backToVoteCaption:a(".back-to-vote-caption").val(),sortResults:a(".sort-results").val(),sortResultsRule:a(".sort-results-rule").val(),displayResultsAs:a(".display-results-as").val(),barColor:a(".bar-color").val(),barHeight:a(".bar-height").val()}},elements:elements},a(".spinner.publish").addClass("is-active"),a("#publish-poll").attr("disabled",!0),a.ajax({method:"POST",url:ajaxurl,dataType:"json",data:{action:"create_yop_poll",_token:a("#_token").val(),poll:JSON.stringify(d)}}).done(function(b){a(".spinner.publish").removeClass("is-active"),!0===b.success?toastr.success(htmlEncode(striptags(b.data)),"",{progressBar:!0,onHidden:function(){window.location.assign("admin.php?page=yop-polls")}}):(a("#publish-poll").attr("disabled",!1),toastr.warning(htmlEncode(striptags(b.data))))})),c.preventDefault()}),a("#update-poll").click(function(c){var d,e=a('input[name="poll[template]"]').val(),f=!1,g=0,h=a('input[name="poll[name]"]').val();pollBackgroundColor=a(".poll-style-settings").find(".poll-background-color").val(),pollBorderSize=a(".poll-style-settings").find(".poll-border-size").val(),pollBorderColor=a(".poll-style-settings").find(".poll-border-color").val(),pollBorderRadius=a(".poll-style-settings").find(".poll-border-radius").val(),pollPadding=a(".poll-style-settings").find(".poll-padding").val(),pollTextColor=a(".poll-style-settings").find(".poll-text-color").val(),pollInputElementsBorderColor=a(".poll-style-settings").find(".poll-input-elements-border-color").val(),questionBackgroundColor=a(".questions-style-settings").find(".question-background-color").val(),questionBorderSize=a(".questions-style-settings").find(".question-border-size").val(),questionBorderColor=a(".questions-style-settings").find(".question-border-color").val(),questionBorderRadius=a(".questions-style-settings").find(".question-border-radius").val(),questionPadding=a(".questions-style-settings").find(".question-padding").val(),questionTextColor=a(".questions-style-settings").find(".question-text-color").val(),questionTextSize=a(".questions-style-settings").find(".question-text-size").val(),answersBackgroundColor=a(".answers-style-settings").find(".answers-background-color").val(),answersBorderSize=a(".answers-style-settings").find(".answers-border-size").val(),answersBorderColor=a(".answers-style-settings").find(".answers-border-color").val(),answersBorderRadius=a(".answers-style-settings").find(".answers-border-radius").val(),answersPadding=a(".answers-style-settings").find(".answers-padding").val(),answersTextColor=a(".answers-style-settings").find(".answers-text-color").val(),answersTextSize=a(".answers-style-settings").find(".answers-text-size").val(),buttonsBackgroundColor=a(".buttons-style-settings").find(".buttons-background-color").val(),buttonsBorderSize=a(".buttons-style-settings").find(".buttons-border-size").val(),buttonsBorderColor=a(".buttons-style-settings").find(".buttons-border-color").val(),buttonsBorderRadius=a(".buttons-style-settings").find(".buttons-border-radius").val(),buttonsPadding=a(".buttons-style-settings").find(".buttons-padding").val(),buttonsTextColor=a(".buttons-style-settings").find(".buttons-text-color").val(),buttonsTextSize=a(".buttons-style-settings").find(".buttons-text-size").val(),errorsBackgroundColor=a(".errors-style-settings").find(".errors-background-color").val(),errorsBorderSize=a(".errors-style-settings").find(".errors-border-size").val(),errorsBorderColor=a(".errors-style-settings").find(".errors-border-color").val(),errorsBorderRadius=a(".errors-style-settings").find(".errors-border-radius").val(),errorsPadding=a(".errors-style-settings").find(".errors-padding").val(),errorsTextColor=a(".errors-style-settings").find(".errors-text-color").val(),errorsTextSize=a(".errors-style-settings").find(".errors-text-size").val(),showResultsMomentSelect2=[],showResultsMoment=[],showResultsToSelect2=[],showResultsTo=[],resultsDetailsSelect2=[],resultsDetails=[],votePermissionsSelect2=[],votePermissions=[],blockVotersSelect2=[],blockVoters=[],elements=[],""===h&&(f=!0,a('input[name="poll[name]"]').focus(),a('input[name="poll[name]"]').parent().addClass("has-error"),toastr.warning(htmlEncode(striptags(objectL10n.yopPollParams.saveParams.noPollName)))),!1===f&&""===e&&(f=!0,b(1,1,"","",objectL10n.yopPollParams.saveParams.noTemplateSelected)),!1===f&&""===pollBackgroundColor.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-background-color"),1,"")),!1===f&&""===pollBorderSize.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-border-size"),1,"")),!1===f&&""===pollBorderColor.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-border-color"),1,"")),!1===f&&""===pollBorderRadius.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-border-radius"),1,"")),!1===f&&""===pollPadding.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-padding"),1,"")),!1===f&&""===pollTextColor.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-text-color"),1,"")),!1===f&&""===pollInputElementsBorderColor.toString()&&(f=!0,b(1,2,a(".poll-style-settings").find(".poll-input-elements-border-color"),1,"")),!1===f&&""===questionBackgroundColor.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-background-color"),2,"")),!1===f&&""===questionBorderSize.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-border-size"),2,"")),!1===f&&""===questionBorderColor.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-border-color"),2,"")),!1===f&&""===questionBorderRadius.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-border-radius"),2,"")),!1===f&&""===questionPadding.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-padding"),2,"")),!1===f&&""===questionTextColor.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-text-color"),2,"")),!1===f&&""===questionTextSize.toString()&&(f=!0,b(1,2,a(".questions-style-settings").find(".question-text-size"),2,"")),!1===f&&""===answersBackgroundColor.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-background-color"),3,"")),!1===f&&""===answersBorderSize.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-border-size"),3,"")),!1===f&&""===answersBorderColor.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-border-color"),3,"")),!1===f&&""===answersBorderRadius.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-border-radius"),3,"")),!1===f&&""===answersPadding.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-padding"),3,"")),!1===f&&""===answersTextColor.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-text-color"),3,"")),!1===f&&""===answersTextSize.toString()&&(f=!0,b(1,2,a(".answers-style-settings").find(".answers-text-size"),3,"")),!1===f&&""===buttonsBackgroundColor.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-background-color"),4,"")),!1===f&&""===buttonsBorderSize.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-border-size"),4,"")),!1===f&&""===buttonsBorderColor.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-border-color"),4,"")),!1===f&&""===buttonsBorderRadius.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-border-radius"),4,"")),!1===f&&""===buttonsPadding.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-padding"),4,"")),!1===f&&""===buttonsTextColor.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-text-color"),4,"")),!1===f&&""===buttonsTextSize.toString()&&(f=!0,b(1,2,a(".buttons-style-settings").find(".buttons-text-size"),4,"")),!1===f&&""===errorsBackgroundColor.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-background-color"),6,"")),!1===f&&""===errorsBorderSize.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-border-size"),6,"")),!1===f&&""===errorsBorderColor.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-border-color"),6,"")),!1===f&&""===errorsBorderRadius.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-border-radius"),6,"")),!1===f&&""===errorsPadding.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-padding"),6,"")),!1===f&&""===errorsTextColor.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-text-color"),6,"")),!1===f&&""===errorsTextSize.toString()&&(f=!0,b(1,2,a(".errors-style-settings").find(".errors-text-size"),6,"")),!1===f&&a(".poll-elements-list").find(".poll-element").each(function(){var c=a(this).attr("data-type");switch(c){case"text-question":!1===f&&""===a(this).find(".question-value").val()&&(f=!0,b(2,1,a(this).find(".question-value"),"",objectL10n.yopPollParams.saveParams.noQuestion)),a(this).find(".answer").each(function(c){return!1===f&&""===a(this).find(".answer-value").val().toString()?(f=!0,b(2,1,a(this).find(".answer-value"),"",objectL10n.yopPollParams.saveParams.noAnswerText),!1):!1===f&&a(this).find(".answer-make-link").is(":checked")&&""===a(this).find(".answer-link").val().toString()?(f=!0,b(2,1,a(this).find(".answer-link"),"",objectL10n.yopPollParams.saveParams.noAnswerLink),!1):void 0}),!1===f&&"yes"===a(this).find(".allow-other-answers").val()&&""===a(this).find(".other-answers-label").val().toString()&&(f=!0,b(2,1,a(this).find(".other-answers-label"),"",objectL10n.yopPollParams.saveParams.noOtherLabel)),!1===f&&"yes"===a(this).find(".allow-multiple-answers").val()&&(""===a(this).find(".multiple-answers-minim").val()||0>=parseInt(a(this).find(".multiple-answers-minim").val(),10)?(f=!0,b(2,1,a(this).find(".multiple-answers-minim"),"",objectL10n.yopPollParams.saveParams.noMinAnswers)):""===a(this).find(".multiple-answers-maxim").val()||0>=parseInt(a(this).find(".multiple-answers-maxim").val(),10)?(f=!0,b(2,1,a(this).find(".multiple-answers-maxim"),"",objectL10n.yopPollParams.saveParams.noMaxAnswers)):parseInt(a(this).find(".multiple-answers-minim").val(),10)>parseInt(a(this).find(".multiple-answers-maxim").val(),10)&&(f=!0,b(2,1,a(this).find(".multiple-answers-minim"),"",objectL10n.yopPollParams.saveParams.noMinAnswers))),!1===f&&"columns"===a(this).find(".answers-display").val()&&(""===a(this).find(".answers-columns").val().toString()||1>parseInt(a(this).find(".answers-columns").val(),10))&&(f=!0,b(2,1,a(this).find(".answers-columns"),"",objectL10n.yopPollParams.noNumberOfColumnsDefined));break;case"media-question":!1===f&&""===a(this).find(".question-value").val()&&(f=!0,b(2,1,a(this).find(".question-text"),"",objectL10n.yopPollParams.saveParams.noQuestion)),a(this).find(".answer").each(function(c){if(!1===f)switch(a(this).find(".answer-type").val()){case"image":""===a(this).find(".answer-link").val().toString()&&(f=!0,b(2,1,a(this).find(".answer-link"),"",objectL10n.yopPollParams.saveParams.noAnswerLink));break;case"video":""===a(this).find(".answer-embed").val().toString()&&(f=!0,b(2,1,a(this).find(".answer-embed"),"",objectL10n.yopPollParams.saveParams.noAnswerEmbed))}return!1===f&&a(this).find(".answer-add-text").is(":checked")&&""===a(this).find(".media-answer-text").val().toString()?(f=!0,b(2,1,a(this).find(".media-answer-text"),"",objectL10n.yopPollParams.saveParams.noAnswerText),!1):void 0}),!1===f&&"yes"===a(this).find(".allow-multiple-answers").val()&&(""===a(this).find(".multiple-answers-minim").val()||0>=parseInt(a(this).find(".multiple-answers-minim").val(),10)?(f=!0,b(2,1,a(this).find(".multiple-answers-minim"),"",objectL10n.yopPollParams.saveParams.noMinAnswers)):""===a(this).find(".multiple-answers-maxim").val()||0>=parseInt(a(this).find(".multiple-answers-maxim").val(),10)?(f=!0,b(2,1,a(this).find(".multiple-answers-maxim"),"",objectL10n.yopPollParams.saveParams.noMaxAnswers)):parseInt(a(this).find(".multiple-answers-minim").val(),10)>parseInt(a(this).find(".multiple-answers-maxim").val(),10)&&(f=!0,b(2,1,a(this).find(".multiple-answers-minim"),"",objectL10n.yopPollParams.saveParams.noMinAnswers))),!1===f&&"columns"===a(this).find(".answers-display").val()&&(""===a(this).find(".answers-columns").val().toString()||1>parseInt(a(this).find(".answers-columns").val(),10))&&(f=!0,b(2,1,a(this).find(".answers-columns"),"",objectL10n.yopPollParams.noNumberOfColumnsDefined));break;case"custom-field":if(!1===f&&""===a(this).find(".custom-field-name").val().toString())return f=!0,b(2,1,a(this).find(".custom-field-name"),"",objectL10n.yopPollParams.saveParams.noCustomFieldName),!1;break;case"space-separator":break;case"text-block":}}),!1===f&&""===a(".vote-button-label").val()&&(f=!0,b(3,1,a(".vote-button-label"),"","")),!1===f&&"yes"===a(".show-results-link").val()&&""===a(".results-label-text").val()&&(f=!0,b(3,1,a(".results-label-text"),"","")),!1===f&&"custom"===a(".start-date-option").val()&&""===a(".start-date-custom").val()&&(f=!0,b(3,1,a(".start-date-custom"),"",objectL10n.yopPollParams.saveParams.noStartDate)),!1===f&&"custom"===a(".end-date-option").val()&&""===a(".end-date-custom").val()&&(f=!0,b(3,1,a(".end-date-custom"),"",objectL10n.yopPollParams.saveParams.noEndDate)),!1===f&&"yes"===a(".redirect-after-vote").val()&&""===a(".redirect-url").val()&&(f=!0,b(3,1,a(".redirect-url"),"","")),!1===f&&"yes"===a(".send-email-notifications").val()&&(!1===f&&""===a(".email-notifications-from-name").val()&&(f=!0,b(3,1,a(".email-notifications-from-name"),"","")),!1===f&&""===a(".email-notifications-from-email").val()&&(f=!0,b(3,1,a(".email-notifications-from-email"),"","")),!1===f&&""===a(".email-notifications-subject").val()&&(f=!0,b(3,1,a(".email-notifications-subject"),"","")),!1===f&&""===a(".email-notifications-message").val()&&(f=!0,b(3,1,a(".email-notifications-message"),"",""))),!1===f&&"yes"===a(".enable-gdpr").val()&&"consent"===a(".gdpr-solution").val()&&""===a(".gdpr-consent-text").val()&&(f=!0,b(3,1,a(".gdpr-consent-text"),"","")),votePermissionsSelect2=a(".vote-permissions").select2("data"),g=0;for(g in votePermissionsSelect2)votePermissions.push(votePermissionsSelect2[g].id);!1===f&&0===votePermissions.length&&(f=!0,b(3,2,a(".vote-permissions"),"","")),blockVotersSelect2=a(".block-voters").select2("data"),g=0;for(g in blockVotersSelect2)blockVoters.push(blockVotersSelect2[g].id);!1===f&&0<blockVoters.length&&-1===a.inArray("no-block",blockVoters)&&""===a(".block-for-value").val()&&(f=!0,b(3,2,a(".block-for-value"),"","")),!1===f&&"yes"===a(".limit-votes-per-user").val()&&""===a(".votes-per-user-allowed").val()&&(f=!0,b(3,2,a(".votes-per-user-allowed"),"","")),showResultsMomentSelect2=a(".show-results-moment").select2("data"),g=0;for(g in showResultsMomentSelect2)showResultsMoment.push(showResultsMomentSelect2[g].id);!1===f&&0===showResultsMoment.length&&(f=!0,b(3,3,a(".show-results-moment"),"",objectL10n.yopPollParams.saveParams.noShowResultsMoment)),!1===f&&-1<a.inArray("custom-date",showResultsMoment)&&""===a(".custom-date-results").val()&&(f=!0,b(3,3,a(".custom-date-results"),"",objectL10n.yopPollParams.saveParams.noCustomDate)),showResultsToSelect2=a(".show-results-to").select2("data"),g=0;for(g in showResultsToSelect2)showResultsTo.push(showResultsToSelect2[g].id);!1===f&&-1===a.inArray("never",showResultsMoment)&&0===showResultsTo.length&&(f=!0,b(3,3,a(".show-results-to"),"",objectL10n.yopPollParams.saveParams.noShowResultsTo)),resultsDetailsSelect2=a(".results-details-option").select2("data"),g=0;for(g in resultsDetailsSelect2)resultsDetails.push(resultsDetailsSelect2[g].id);!1===f&&"yes"===a(".back-to-vote-option").val()&&""===a(".back-to-vote-caption").val()&&(f=!0,b(3,3,a(".back-to-vote-caption"),"","")),!1===f&&!0===a('input.vote-permissions[value="registered"]').is(":checked")&&"no"===a(".allow-wordpress-votes").val()&&(f=!0,b(3,3,a(".allow-wordpress-votes"),"",objectL10n.yopPollParams.saveParams.noVoteAsWordpress)),!1===f&&(a(".poll-elements-list").find(".poll-element").each(function(b){var c=a(this).attr("data-type"),d=[];switch(c){case"text-question":a(this).find(".answer").each(function(b){d[b]={id:a(this).attr("data-id"),type:"text",text:a(this).find(".answer-value").val(),options:{makeDefault:a(this).find(".answer-make-default").is(":checked")?"yes":"no",makeLink:a(this).find(".answer-make-link").is(":checked")?"yes":"no",link:a(this).find(".answer-link").val(),resultsColor:a(this).find(".answer-results-color").val()}}}),elements.push({id:a(this).attr("data-id"),type:"text-question",text:a(this).find(".question-value").val(),answers:d,answersRemoved:a(this).attr("data-remove"),options:{allowOtherAnswers:a(this).find(".allow-other-answers").val(),otherAnswersLabel:a(this).find(".other-answers-label").val(),addOtherAnswers:a(this).find(".add-other-answers").val(),displayOtherAnswersInResults:a(this).find(".display-other-answers-in-results").val(),allowMultipleAnswers:a(this).find(".allow-multiple-answers").val(),multipleAnswersMinim:a(this).find(".multiple-answers-minim").val(),multipleAnswersMaxim:a(this).find(".multiple-answers-maxim").val(),answersDisplay:a(this).find(".answers-display").val(),answersColumns:a(this).find(".answers-columns").val()}});break;case"custom-field":elements.push({id:a(this).attr("data-id"),type:"custom-field",text:a(this).find(".custom-field-name").val(),options:{makeRequired:a(this).find(".custom-field-make-required").is(":checked")?"yes":"no"}});break;case"media-question":a(this).find(".answer").each(function(b){d[b]={id:a(this).attr("data-id"),type:a(this).find(".answer-type").val(),text:"image"===a(this).find(".answer-type").val()?a(this).find(".answer-link").val():a(this).find(".answer-embed").val(),options:{makeDefault:a(this).find(".answer-make-default").is(":checked")?"yes":"no",makeLink:a(this).find(".answer-make-link").is(":checked")?"yes":"no",addText:a(this).find(".answer-add-text").is(":checked")?"yes":"no",text:a(this).find(".media-answer-text").val(),resultsColor:a(this).find(".answer-results-color").val()}}}),elements.push({id:a(this).attr("data-id"),type:"media-question",text:a(this).find(".question-value").val(),answers:d,answersRemoved:a(this).attr("data-remove"),options:{allowOtherAnswers:a(this).find(".allow-other-answers").val(),otherAnswersLabel:a(this).find(".other-answers-label").val(),addOtherAnswers:a(this).find(".add-other-answers").val(),displayOtherAnswersInResults:a(this).find(".display-other-answers-in-results").val(),allowMultipleAnswers:a(this).find(".allow-multiple-answers").val(),multipleAnswersMinim:a(this).find(".multiple-answers-minim").val(),multipleAnswersMaxim:a(this).find(".multiple-answers-maxim").val(),answersDisplay:a(this).find(".answers-display").val(),answersColumns:a(this).find(".answers-columns").val()}});break;case"space-separator":elements.push({id:a(this).attr("data-id"),type:"space-separator"});break;case"text-block":elements.push({id:a(this).attr("data-id"),type:"text-block",text:a(this).find(".text-block-text").summernote("code")})}}),d={id:a('input[name="poll[id]"]').val(),name:a('input[name="poll[name]"]').val(),status:a("#poll_status").val(),design:{template:a('input[name="poll[template]"]').val(),templateBase:a('li[data-template-id="'+a('input[name="poll[template]"]').val()+'"]').attr("data-template-base"),style:{poll:{backgroundColor:a(".poll-background-color").val(),borderSize:a(".poll-border-size").val(),borderColor:a(".poll-border-color").val(),borderRadius:a(".poll-border-radius").val(),padding:a(".poll-padding").val(),textColor:a(".poll-text-color").val(),inputElementsBorderColor:a(".poll-input-elements-border-color").val()},questions:{backgroundColor:a(".question-background-color").val(),borderSize:a(".question-border-size").val(),borderColor:a(".question-border-color").val(),borderRadius:a(".question-border-radius").val(),padding:a(".question-padding").val(),textColor:a(".question-text-color").val(),textSize:a(".question-text-size").val()},answers:{backgroundColor:a(".answers-background-color").val(),borderSize:a(".answers-border-size").val(),borderColor:a(".answers-border-color").val(),borderRadius:a(".answers-border-radius").val(),padding:a(".answers-padding").val(),textColor:a(".answers-text-color").val(),textSize:a(".answers-text-size").val(),skin:a(".answers-style-settings").find(".answers-skin").val(),colorScheme:a(".answers-style-settings").find(".color-scheme").find("li.active").attr("data-id")},buttons:{backgroundColor:a(".buttons-background-color").val(),borderSize:a(".buttons-border-size").val(),borderColor:a(".buttons-border-color").val(),borderRadius:a(".buttons-border-radius").val(),padding:a(".buttons-padding").val(),textColor:a(".buttons-text-color").val(),textSize:a(".buttons-text-size").val()},captcha:{},errors:{backgroundColor:a(".errors-background-color").val(),borderSize:a(".errors-border-size").val(),borderColor:a(".errors-border-color").val(),borderRadius:a(".errors-border-radius").val(),padding:a(".errors-padding").val(),textColor:a(".errors-text-color").val(),textSize:a(".errors-text-size").val()}}},options:{poll:{voteButtonLabel:a(".vote-button-label").val(),showResultsLink:a(".show-results-link").val(),resultsLabelText:a(".results-label-text").val(),showTotalVotes:a(".show-total-votes").val(),showTotalAnswers:a(".show-total-answers").val(),startDateOption:a(".start-date-option").val(),startDateCustom:a(".start-date-custom-hidden").val(),endDateOption:a(".end-date-option").val(),endDateCustom:a(".end-date-custom-hidden").val(),redirectAfterVote:a(".redirect-after-vote").val(),redirectUrl:a(".redirect-url").val(),resetPollStatsAutomatically:a(".reset-poll-stats-automatically").val(),resetPollStatsOn:a(".reset-poll-stats-on-hidden").val(),resetPollStatsEvery:a(".reset-poll-stats-every").val(),resetPollStatsEveryPeriod:a(".reset-poll-stats-every-period").val(),autoGeneratePollPage:a(".auto-generate-poll-page").val(),pageId:"",pageLink:"",useCaptcha:a(".use-captcha").val(),sendEmailNotifications:a(".send-email-notifications").val(),emailNotificationsFromName:a(".email-notifications-from-name").val(),emailNotificationsFromEmail:a(".email-notifications-from-email").val(),emailNotificationsSubject:a(".email-notifications-subject").val(),emailNotificationsMessage:a(".email-notifications-message").val(),enableGdpr:a(".enable-gdpr").val(),gdprSolution:a(".gdpr-solution").val(),gdprConsentText:a(".gdpr-consent-text").val()},access:{votePermissions:votePermissions,allowWordpressVotes:a(".allow-wordpress-votes").val(),
23
- blockVoters:blockVoters,blockForValue:a(".block-for-value").val(),blockForPeriod:a(".block-for-period").val(),limitVotesPerUser:a(".limit-votes-per-user").val(),votesPerUserAllowed:a(".votes-per-user-allowed").val()},results:{showResultsMoment:showResultsMoment,customDateResults:a(".custom-date-results-hidden").val(),showResultsTo:showResultsTo,resultsDetails:resultsDetails,backToVoteOption:a(".back-to-vote-option").val(),backToVoteCaption:a(".back-to-vote-caption").val(),sortResults:a(".sort-results").val(),sortResultsRule:a(".sort-results-rule").val(),displayResultsAs:a(".display-results-as").val(),barColor:a(".bar-color").val(),barHeight:a(".bar-height").val()}},elements:elements,elementsRemoved:a(".poll-elements-list").attr("data-remove")},a(".spinner.publish").addClass("is-active"),a("#publish-poll").attr("disabled",!0),a.ajax({method:"POST",url:ajaxurl,dataType:"json",data:{action:"update_yop_poll",_token:a("#_token").val(),poll:JSON.stringify(d)}}).done(function(b){a(".spinner.publish").removeClass("is-active"),!0===b.success?toastr.success(htmlEncode(striptags(b.data)),"",{progressBar:!0,onHidden:function(){window.location.assign("admin.php?page=yop-polls")}}):(a("#publish-poll").attr("disabled",!1),toastr.warning(htmlEncode(striptags(b.data))))})),c.preventDefault()})}),jQuery(document).ready(function(a){a(".delete-poll").click(function(b){var c=a(this).attr("data-id");""!==c&&BootstrapDialog.confirm({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:objectL10n.yopPollParams.deletePollMessage,btnCancelLabel:objectL10n.yopPollParams.deleteCancelLabel,btnOKLabel:objectL10n.yopPollParams.deleteOkLabel,callback:function(b){b&&a.ajax({method:"POST",url:ajaxurl,dataType:"json",data:{action:"delete_single_yop_poll",_token:a('input[name="_token"]').val(),poll_id:c}}).done(function(a){!0===a.success?toastr.success(htmlEncode(striptags(a.data)),"",{progressBar:!0,onHidden:function(){window.location.assign("admin.php?page=yop-polls")}}):toastr.warning(htmlEncode(striptags(a.data)))})}}),b.preventDefault()}),a(".clone-poll").click(function(b){var c=a(this).attr("data-id");BootstrapDialog.confirm({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:objectL10n.yopPollParams.clonePollMessage,btnCancelLabel:objectL10n.yopPollParams.deleteCancelLabel,btnOKLabel:objectL10n.yopPollParams.deleteOkLabel,callback:function(b){b&&a.ajax({method:"POST",url:ajaxurl,dataType:"json",data:{action:"clone_single_yop_poll",_token:a('input[name="_token"]').val(),poll_id:c}}).done(function(a){!0===a.success?toastr.success(htmlEncode(striptags(a.data)),"",{progressBar:!0,onHidden:function(){window.location.assign("admin.php?page=yop-polls")}}):toastr.warning(htmlEncode(striptags(a.data)))})}}),b.preventDefault()}),a("#current-poll-page-selector").keypress(function(b){var c,d,e,f,g=document.URL.split("?");if(13===b.which){if(void 0!==g[1])for(q=g[1].split("&"),d=0;d<q.length;d++)c=q[d].split("="),e=0===d?"?":"&","page_no"===c[0]?(f=c[1],g[0]+=e+c[0]+"="+a(this).val()):(c[1]=void 0!==c[1]?c[1]:"",g[0]+=e+c[0]+"="+c[1]);f!==a(this).val()&&window.location.assign(g[0])}}),a(".bulk-action").click(function(b){var c,d=a(".bulk-action-"+a(this).attr("data-position")).val(),e=[];switch(a('input[name="polls[]"]:checked').each(function(b){e.push(a(this).val())}),d){case"trash":formAction="delete_bulk_yop_poll",c=1<e.length?objectL10n.yopPollParams.deleteBulkPollsMultiMessage:objectL10n.yopPollParams.deleteBulkPollsSingleMessage;break;case"clone":formAction="clone_bulk_yop_poll",c=1<e.length?objectL10n.yopPollParams.cloneBulkPollsMultiMessage:objectL10n.yopPollParams.cloneBulkPollsSingleMessage;break;case"reset-votes":formAction="reset_bulk_yop_poll";break;default:formAction=""}""!==formAction?0<e.length?BootstrapDialog.confirm({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:c,btnCancelLabel:objectL10n.yopPollParams.deleteCancelLabel,btnOKLabel:objectL10n.yopPollParams.deleteOkLabel,callback:function(b){b&&a.ajax({method:"POST",url:ajaxurl,dataType:"json",data:{action:formAction,_token:a('input[name="_bulk_token"]').val(),polls:JSON.stringify(e)}}).done(function(a){!0===a.success?toastr.success(htmlEncode(striptags(a.data)),"",{progressBar:!0,onHidden:function(){window.location.assign("admin.php?page=yop-polls")}}):toastr.warning(htmlEncode(striptags(a.data)))})}}):BootstrapDialog.show({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:objectL10n.yopPollParams.noPollsSelectedForBulk,buttons:[{label:objectL10n.yopPollParams.deleteOkLabel,action:function(a){a.close()}}]}):BootstrapDialog.show({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:objectL10n.yopPollParams.noBulkActionSelected,buttons:[{label:objectL10n.yopPollParams.deleteOkLabel,action:function(a){a.close()}}]}),b.preventDefault()}),a(".get-poll-code").click(function(){var b=a(this).attr("data-id");a("#shortcode-popup").find(".generate-yop-poll-code").attr("data-id",b),a("#shortcode-popup").find(".poll-code").val('[yop_poll id="'+b+'"]'),a("#shortcode-popup").find(".shortcode-show-results").select2({minimumResultsForSearch:1/0}),a("#shortcode-popup").modal()}),a(".generate-yop-poll-code").click(function(b){var c=a(this).attr("data-id"),d=a("#shortcode-popup").find(".shortcode-tracking-id").val(),e=a("#shortcode-popup").find(".shortcode-show-results").val();"no"===e?""!==d?a("#shortcode-popup").find(".poll-code").val('[yop_poll id="'+c+'" tracking_id="'+d+'"]'):a("#shortcode-popup").find(".poll-code").val('[yop_poll id="'+c+'"]'):a("#shortcode-popup").find(".poll-code").val('[yop_poll id="'+c+'" show_results="1"]'),b.preventDefault()})}),jQuery(document).ready(function(a){a(".ban-poll").select2({minimumResultsForSearch:1/0}),a(".ban-by").select2({minimumResultsForSearch:1/0}),a(".ban-for-period").select2({minimumResultsForSearch:1/0}),a(".add-ban").click(function(b){var c,d,e=!1;c=a(".ban-for").val(),d=a(".ban-value").val(),""===c&&(e=!0,a(".ban-for").focus(),a(".ban-for").parent().addClass("has-error"),toastr.warning(htmlEncode(striptags(objectL10n.yopPollParams.saveBanParams.noBanFor)))),!1===e&&""===d&&(e=!0,a(".ban-value").focus(),a(".ban-value").parent().addClass("has-error"),toastr.warning(htmlEncode(striptags(objectL10n.yopPollParams.saveBanParams.noBanValue)))),!1===e&&(formData={ban:{poll_id:a(".ban-poll").val(),b_by:a(".ban-by").val(),b_for:a(".ban-for").val(),b_for_period:a(".ban-for-period").val(),b_value:a(".ban-value").val()}},a(".add-ban").attr("disabled",!0),a.ajax({method:"POST",url:ajaxurl,dataType:"json",data:{action:"create_yop_poll_ban",_token:a("#_token").val(),ban:JSON.stringify(formData)}}).done(function(b){!0===b.success?toastr.success(htmlEncode(striptags(b.data)),"",{progressBar:!0,onHidden:function(){window.location.assign("admin.php?page=yop-poll-bans")}}):(a(".add-ban").attr("disabled",!1),toastr.warning(htmlEncode(striptags(b.data))))})),b.preventDefault()}),a(".ban-for").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".ban-value").change(function(){""!==a(this).val()&&a(this).parent().removeClass("has-error")}),a(".delete-ban").click(function(b){var c=a(this).attr("data-id");""!==c&&BootstrapDialog.confirm({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:objectL10n.yopPollParams.deleteBanMessage,btnCancelLabel:objectL10n.yopPollParams.deleteCancelLabel,btnOKLabel:objectL10n.yopPollParams.deleteOkLabel,callback:function(b){b&&a.ajax({method:"POST",url:ajaxurl,dataType:"json",data:{action:"delete_yop_poll_ban",_token:a('input[name="_token"]').val(),ban_id:c}}).done(function(a){!0===a.success?toastr.success(htmlEncode(striptags(a.data)),"",{progressBar:!0,onHidden:function(){window.location.assign("admin.php?page=yop-poll-bans")}}):toastr.warning(htmlEncode(striptags(a.data)))})}}),b.preventDefault()}),a(".update-ban").click(function(b){var c,d,e,f=!1;c=a(".ban-for").val(),d=a(".ban-value").val(),""===c&&(f=!0,a(".ban-for").focus(),a(".ban-for").parent().addClass("has-error"),toastr.warning(htmlEncode(striptags(objectL10n.yopPollParams.saveBanParams.noBanFor)))),!1===f&&""===d&&(f=!0,a(".ban-value").focus(),a(".ban-value").parent().addClass("has-error"),toastr.warning(htmlEncode(striptags(objectL10n.yopPollParams.saveBanParams.noBanValue)))),!1===f&&(e={ban:{id:a(this).attr("data-id"),poll_id:a(".ban-poll").val(),b_by:a(".ban-by").val(),b_for:a(".ban-for").val(),b_for_period:a(".ban-for-period").val(),b_value:a(".ban-value").val()}},a(".update-ban").attr("disabled",!0),a.ajax({method:"POST",url:ajaxurl,dataType:"json",data:{action:"update_yop_poll_ban",_token:a("#_token").val(),ban:JSON.stringify(e)}}).done(function(b){!0===b.success?toastr.success(htmlEncode(striptags(b.data)),"",{progressBar:!0,onHidden:function(){window.location.assign("admin.php?page=yop-poll-bans")}}):(a(".add-ban").attr("disabled",!1),toastr.warning(htmlEncode(striptags(b.data))))})),b.preventDefault()}),a(".bans-bulk-action").click(function(b){var c,d,e=[];a('input[name="bans[]"]:checked').each(function(b){e.push(a(this).val())}),d=a(".bans-bulk-action-"+a(this).attr("data-position")).val(),"trash"===d?(c=1<e.length?objectL10n.yopPollParams.deleteBulkBansMultiMessage:objectL10n.yopPollParams.deleteBulkBansSingleMessage,0<e.length?BootstrapDialog.confirm({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:c,btnCancelLabel:objectL10n.yopPollParams.deleteCancelLabel,btnOKLabel:objectL10n.yopPollParams.deleteOkLabel,callback:function(b){b&&a.ajax({method:"POST",url:ajaxurl,dataType:"json",data:{action:"delete_bulk_yop_poll_ban",_token:a('input[name="_bulk_token"]').val(),bans:JSON.stringify(e)}}).done(function(a){!0===a.success?toastr.success(htmlEncode(striptags(a.data)),"",{progressBar:!0,onHidden:function(){window.location.assign("admin.php?page=yop-poll-bans")}}):toastr.warning(htmlEncode(striptags(a.data)))})}}):BootstrapDialog.show({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:objectL10n.yopPollParams.noBansSelectedForBulk,buttons:[{label:objectL10n.yopPollParams.deleteOkLabel,action:function(a){a.close()}}]})):BootstrapDialog.show({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:objectL10n.yopPollParams.noBulkActionSelected,buttons:[{label:objectL10n.yopPollParams.deleteOkLabel,action:function(a){a.close()}}]})})}),jQuery(document).ready(function(a){a(".delete-log").click(function(b){var c=a(this).attr("data-id");""!==c&&BootstrapDialog.confirm({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:objectL10n.yopPollParams.deleteLogMessage,btnCancelLabel:objectL10n.yopPollParams.deleteCancelLabel,btnOKLabel:objectL10n.yopPollParams.deleteOkLabel,callback:function(b){b&&a.ajax({method:"POST",url:ajaxurl,dataType:"json",data:{action:"delete_yop_poll_log",_token:a('input[name="_token"]').val(),log_id:c}}).done(function(a){!0===a.success?toastr.success(htmlEncode(striptags(a.data)),"",{progressBar:!0,onHidden:function(){window.location.assign("admin.php?page=yop-poll-logs")}}):toastr.warning(htmlEncode(striptags(a.data)))})}}),b.preventDefault()}),a(".logs-bulk-action").click(function(b){var c,d,e=[];a('input[name="logs[]"]:checked').each(function(b){e.push(a(this).val())}),d=a(".logs-bulk-action-"+a(this).attr("data-position")).val(),"trash"===d?(c=1<e.length?objectL10n.yopPollParams.deleteBulkLogsMultiMessage:objectL10n.yopPollParams.deleteBulkLogsSingleMessage,0<e.length?BootstrapDialog.confirm({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:c,btnCancelLabel:objectL10n.yopPollParams.deleteCancelLabel,btnOKLabel:objectL10n.yopPollParams.deleteOkLabel,callback:function(b){b&&a.ajax({method:"POST",url:ajaxurl,dataType:"json",data:{action:"delete_bulk_yop_poll_log",_token:a('input[name="_bulk_token"]').val(),logs:JSON.stringify(e)}}).done(function(a){!0===a.success?toastr.success(htmlEncode(striptags(a.data)),"",{progressBar:!0,onHidden:function(){window.location.assign("admin.php?page=yop-poll-logs")}}):toastr.warning(htmlEncode(striptags(a.data)))})}}):BootstrapDialog.show({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:objectL10n.yopPollParams.noLogsSelectedForBulk,buttons:[{label:objectL10n.yopPollParams.deleteOkLabel,action:function(a){a.close()}}]})):BootstrapDialog.show({type:BootstrapDialog.TYPE_WARNING,title:objectL10n.yopPollParams.deleteTitle,message:objectL10n.yopPollParams.noBulkActionSelected,buttons:[{label:objectL10n.yopPollParams.deleteOkLabel,action:function(a){a.close()}}]})}),a(".view-log-details").click(function(b){var c=a(this).data("id"),d=a(this).parent().parent().next(".log-details-div");a(d).is(":visible")?(a(d).fadeOut("slow"),a(this).text(objectL10n.yopPollParams.showLogDetailsLinkText)):(a(this).text(objectL10n.yopPollParams.hideLogDetailsLinkText),"yes"===a(d).data("ajax_sent")?a(d).fadeIn("slow"):(a.LoadingOverlay("show"),a.ajax({method:"POST",url:ajaxurl,dataType:"json",data:{action:"get_yop_poll_log_details",_token:a('input[name="_token"]').val(),log_id:c}}).done(function(b){!0===b.success?(strDetails=b.data.details,a(d).html(strDetails).fadeIn("slow"),a(d).data("ajax_sent","yes")):toastr.warning(htmlEncode(striptags(b.data))),a.LoadingOverlay("hide")}))),b.preventDefault()}),a(".export-logs-button").click(function(b){a("#doExport").val("true"),a("#searchForm").submit()}),a("#search-submit").click(function(b){a("#doExport").val("false")})}),jQuery(document).ready(function(a){a(".progress-bar").each(function(){a(this).progressbar({})}),a(".answers-chart-type").select2({minimumResultsForSearch:1/0}),a(".voters-chart-type").select2({minimumResultsForSearch:1/0}),a(".answers-chart-type").change(function(){var b,c,d,e,f,g,h,i,j,k,l;if(h=function(){var a,b,c;return a=Math.floor(255*Math.random()),b=Math.floor(255*Math.random()),c=Math.floor(255*Math.random()),"rgb("+a+","+b+","+c+")"},b=a(this).val(),c=a(this).closest(".panel-body").find(".chart-canvas"),d=a(this).closest(".panel-body").find(".bar-chart-div"),"pie"===b){for(a(c).show(),a(d).hide(),f=a(c).data("jsondata"),g=a(c).data("jsonlabels"),i=a(c).data("resultscolor"),k=a(c).data("icons"),j=[],l=0;l<k.length;l++)"other"===k[l]?(j.push(""),g[l]+=" "):j.push("");e=new Chart(c,{type:"pie",responsive:!0,maintainAspectRatio:!0,data:{labels:g,icons:j,datasets:[{label:objectL10n.yopPollParams.numberOfVotesText,data:f,backgroundColor:i,icons:j,datalabels:{anchor:"end"}}]},pointLabelFontFamily:"'FontAwesome'",scaleFontFamily:"'FontAwesome'",options:{legend:{display:!0,labels:{fontFamily:"'FontAwesome'",fontSize:12}},tooltips:{enabled:!0,titleFontFamily:"'FontAwesome'",bodyFontFamily:"'FontAwesome'",footerFontFamily:"'FontAwesome'"},tooltipTitleFontFamily:"'FontAwesome'",plugins:{datalabels:{anchor:"end",borderColor:"red",borderRadius:5,borderWidth:0,color:"#387cb7",font:{family:"FontAwesome",size:20},display:!0,formatter:function(a,b