Changeset 3219800
- Timestamp:
- 01/09/2025 06:04:31 PM (14 months ago)
- Location:
- flexmls-idx/trunk
- Files:
-
- 7 edited
-
Admin/Settings.php (modified) (5 diffs)
-
README.txt (modified) (2 diffs)
-
assets/css/style.css (modified) (1 diff)
-
assets/js/main.js (modified) (1 diff)
-
flexmls_connect.php (modified) (2 diffs)
-
lib/flexmlsAPI/Core.php (modified) (1 diff)
-
views/admin-intro-support.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
flexmls-idx/trunk/Admin/Settings.php
r3209984 r3219800 9 9 $tab = isset( $_GET[ 'tab' ] ) ? sanitize_title( $_GET[ 'tab' ] ) : 'api'; 10 10 $fmc_plugin_dir = FMC_PLUGIN_DIR; 11 if( !file_exists( $fmc_plugin_dir . 'views/admin-intro-' . $tab . '.php' ) ){ 12 $tab = '404'; 13 } 11 14 12 ?> 15 13 <div class="wrap about-wrap about-flexmls"> … … 28 26 </h2> 29 27 <div class="intro-wrap-content"> 30 <?php include_once( $fmc_plugin_dir . 'views/admin-intro-' . $tab . '.php' ); ?> 28 <?php switch ($tab) { 29 30 case 'api': 31 include_once( $fmc_plugin_dir . 'views/admin-intro-api.php' ); 32 break; 33 34 case 'support': 35 include_once( $fmc_plugin_dir . 'views/admin-intro-support.php' ); 36 break; 37 38 case 'features': 39 include_once( $fmc_plugin_dir . 'views/admin-intro-features.php' ); 40 break; 41 42 default: 43 include_once( $fmc_plugin_dir . 'views/admin-intro-404.php' ); 44 45 } 46 ?> 31 47 </div> 32 48 </div> … … 98 114 ?> 99 115 <div class="notice notice-warning"> 100 <p>We will be deprecating the Neighborhood widget in a future update. We recommend using the <a href="https://fbs data.zendesk.com/hc/en-us/articles/232021727-IDX-Slideshow">IDX Slideshow</a> and/or <a href="https://fbsdata.zendesk.com/hc/en-us/articles/232280088--IDX-Listing-Summary">IDX Listing Summary</a> widgets to display listings. <a href="https://fbsdata.zendesk.com/hc/en-us/articles/232023247--Neighborhood-or-Location-Based-Pages">Click here</a> more details.</p>116 <p>We will be deprecating the Neighborhood widget in a future update. We recommend using the <a href="https://fbsidx.com/help/plugin/slideshow">IDX Slideshow</a> and/or <a href="https://fbsidx.com/help/plugin/listing-summary">IDX Listing Summary</a> widgets to display listings. 101 117 </div> 102 118 <div class="wrap"> … … 182 198 $tab = isset( $_GET[ 'tab' ] ) ? sanitize_title( $_GET[ 'tab' ] ) : 'behavior'; 183 199 $fmc_plugin_dir = FMC_PLUGIN_DIR; 184 if( !file_exists( $fmc_plugin_dir . 'views/admin-settings-' . $tab . '.php' ) ){ 185 $tab = '404'; 186 } 200 187 201 $SparkAPI = new \SparkAPI\Core(); 188 202 $auth_token = $SparkAPI->generate_auth_token(); … … 197 211 <a href="<?php echo admin_url( 'admin.php?page=fmc_admin_settings&tab=cache' ); ?>" class="nav-tab<?php echo ( 'cache' == $tab ? ' nav-tab-active' : '' ); ?>">Clear Cache</a> 198 212 </h2> 199 <?php include_once( $fmc_plugin_dir . 'views/admin-settings-' . $tab . '.php' ); ?>200 213 </div> 214 <?php 215 switch ($tab) { 216 217 case 'behavior': 218 include_once( $fmc_plugin_dir . 'views/admin-settings-behavior.php' ); 219 break; 220 221 case 'cache': 222 include_once( $fmc_plugin_dir . 'views/admin-settings-cache.php' ); 223 break; 224 225 case 'gmaps': 226 include_once( $fmc_plugin_dir . 'views/admin-settings-gmaps.php' ); 227 break; 228 229 case 'portal': 230 include_once( $fmc_plugin_dir . 'views/admin-settings-portal.php' ); 231 break; 232 233 case 'style': 234 include_once( $fmc_plugin_dir . 'views/admin-settings-style.php' ); 235 break; 236 237 default: 238 include_once( $fmc_plugin_dir . 'views/admin-settings-404.php' ); 239 240 } 241 ?> 201 242 <?php 202 243 } -
flexmls-idx/trunk/README.txt
r3209984 r3219800 5 5 Tested up to: 6.7.1 6 6 Requires PHP: 7.4 7 Stable tag: 3.14.2 57 Stable tag: 3.14.26 8 8 9 9 Add Flexmls® IDX listings, market statistics, IDX searches, and a contact form on your web site. … … 86 86 87 87 == Changelog == 88 = 3.14.26 = 89 Efficiency Update 90 * Moved Modal Window Close Button To Top-Right 91 * Fixed Contact Agent Form Showing undefined Text 92 * Improved Security For Plugin Settings Pages 93 88 94 = 3.14.25 = 89 95 Efficiency Update -
flexmls-idx/trunk/assets/css/style.css
r3209984 r3219800 1 #flexmls_connect__cboxOverlay,#flexmls_connect__cboxWrapper,#flexmls_connect__colorbox{position:absolute;top:0;left:0;z-index:9999;overflow:hidden}#flexmls_connect__cboxWrapper{max-width:none}#flexmls_connect__cboxOverlay{position:fixed;width:100%;height:100%}#flexmls_connect__cboxBottomLeft,#flexmls_connect__cboxMiddleLeft{clear:left}#flexmls_connect__cboxContent{position:relative}#flexmls_connect__cboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}#flexmls_connect__cboxTitle{margin:0}#flexmls_connect__cboxLoadingGraphic,#flexmls_connect__cboxLoadingOverlay{position:absolute;top:0;left:0;width:100%;height:100%}#flexmls_connect__cboxClose,#flexmls_connect__cboxNext,#flexmls_connect__cboxPrevious,#flexmls_connect__cboxSlideshow{cursor:pointer}.flexmls_connect__cboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.flexmls_connect__cboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#flexmls_connect__cboxContent,#flexmls_connect__cboxLoadedContent,#flexmls_connect__colorbox{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#flexmls_connect__cboxOverlay{background:url(../images/overlay.png) repeat 0 0;opacity:.9;filter:alpha(opacity=90)}#flexmls_connect__colorbox{outline:0}#flexmls_connect__cboxTopLeft{width:21px;height:21px;background:url(../images/controls.png) no-repeat -101px 0}#flexmls_connect__cboxTopRight{width:21px;height:21px;background:url(../images/controls.png) no-repeat -130px 0}#flexmls_connect__cboxBottomLeft{width:21px;height:21px;background:url(../images/controls.png) no-repeat -101px -29px}#flexmls_connect__cboxBottomRight{width:21px;height:21px;background:url(../images/controls.png) no-repeat -130px -29px}#flexmls_connect__cboxMiddleLeft{width:21px;background:url(../images/controls.png) 0 0 repeat-y}#flexmls_connect__cboxMiddleRight{width:21px;background:url(../images/controls.png) 100% 0 repeat-y}#flexmls_connect__cboxTopCenter{height:21px;background:url(../images/border.png) 0 0 repeat-x}#flexmls_connect__cboxBottomCenter{height:21px;background:url(../images/border.png) 0 -29px repeat-x}#flexmls_connect__cboxContent{background:#fff;overflow:hidden}.flexmls_connect__cboxIframe{background:#fff}#flexmls_connect__cboxError{padding:50px;border:1px solid #ccc}#flexmls_connect__cboxLoadedContent{margin-bottom:28px}#flexmls_connect__cboxTitle{position:absolute;bottom:4px;left:0;text-align:center;width:100%;color:#949494}#flexmls_connect__cboxCurrent{position:absolute;bottom:4px;left:58px;color:#949494}#flexmls_connect__cboxLoadingOverlay{background:url(../images/loading_background.png) no-repeat 50%}#flexmls_connect__cboxLoadingGraphic{background:url(../images/loading.gif) no-repeat 50%}#flexmls_connect__cboxClose,#flexmls_connect__cboxNext,#flexmls_connect__cboxPrevious,#flexmls_connect__cboxSlideshow{border:0;padding:0;margin:0;overflow:visible;width:auto;background:none}#flexmls_connect__cboxClose:active,#flexmls_connect__cboxNext:active,#flexmls_connect__cboxPrevious:active,#flexmls_connect__cboxSlideshow:active{outline:0}#flexmls_connect__cboxSlideshow{position:absolute;bottom:4px;right:30px;color:#0092ef}#flexmls_connect__cboxPrevious{position:absolute;bottom:0;left:0;background:url(../images/controls.png) no-repeat -75px 0;width:25px;height:25px;text-indent:-9999px}#flexmls_connect__cboxPrevious:hover{background-position:-75px -25px}#flexmls_connect__cboxNext{position:absolute;bottom:0;left:27px;background:url(../images/controls.png) no-repeat -50px 0;width:25px;height:25px;text-indent:-9999px}#flexmls_connect__cboxNext:hover{background-position:-50px -25px}#flexmls_connect__cboxClose{position:absolute; bottom:0;right:0;background:url(../images/controls.png) no-repeat -25px 0;width:25px;height:25px;text-indent:-9999px}#flexmls_connect__cboxClose:hover{background-position:-25px -25px}.flexmls_connect__cboxIE #flexmls_connect__cboxBottomCenter,.flexmls_connect__cboxIE #flexmls_connect__cboxBottomLeft,.flexmls_connect__cboxIE #flexmls_connect__cboxBottomRight,.flexmls_connect__cboxIE #flexmls_connect__cboxMiddleLeft,.flexmls_connect__cboxIE #flexmls_connect__cboxMiddleRight,.flexmls_connect__cboxIE #flexmls_connect__cboxTopCenter,.flexmls_connect__cboxIE #flexmls_connect__cboxTopLeft,.flexmls_connect__cboxIE #flexmls_connect__cboxTopRight{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)}.owl-carousel{display:none;width:100%;-webkit-tap-highlight-color:transparent;position:relative;z-index:1}.owl-carousel .owl-stage{position:relative;touch-action:manipulation;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translateZ(0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0)}.owl-carousel .owl-item{position:relative;min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;margin:0 auto;max-height:65vh;max-width:100%;width:auto}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-nav button.owl-next,.owl-carousel .owl-nav button.owl-prev,.owl-carousel button.owl-dot{background:none;color:inherit;border:none;padding:0!important;font:inherit}.owl-carousel.owl-loaded{display:block}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.no-js .owl-carousel{display:block}.owl-carousel .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item .owl-lazy:not([src]),.owl-carousel .owl-item .owl-lazy[src^=""]{max-height:0}.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{transform:scale(1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:50%;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%}.flexmls_connect__button,.flexmls_connect__page_content button,.flexmls_connect__sr_detail button{background:#fcfcfc;background:linear-gradient(0deg,#fcfcfc 0,#e6e6e6);border-radius:4px;background-clip:padding-box;color:#000;padding:.3em .8em;font-size:11px;cursor:pointer;white-space:nowrap;margin:0 2px 2px 0;border:1px solid #afafaf;vertical-align:middle}.flexmls_connect__button:hover,.flexmls_connect__page_content button:hover,.flexmls_connect__sr_detail button:hover{background:#fefefe;background:linear-gradient(0deg,#fefefe 0,#f3f3f3);color:#000}.flexmls_connect__button:active,.flexmls_connect__page_content button:active,.flexmls_connect__sr_detail button:active{box-shadow:0 1px 0 hsla(0,0%,100%,.3),inset 0 1px 3px rgba(0,0,0,.7);opacity:1}a.flexmls_connect__button{text-decoration:none}a.flexmls_connect__button:hover{text-decoration:underline}.flexmls_connect__page_content button.colored,.flexmls_connect__sr_detail button.colored{background:#7a9be2;background:linear-gradient(0deg,#7a9be2 0,#5069c3);border:1px solid #5069c3;color:#fff;text-shadow:1px 1px 2px #000}.flexmls_connect__page_content button.colored:hover,.flexmls_connect__sr_detail button.colored:hover{background:#94afe8;background:linear-gradient(0deg,#94afe8 0,#7387cf)}.flexmls_connect__page_content button img,.flexmls_connect__sr_detail button img{margin:0 3px 0 0}tr.flexmls_connect__zebra:nth-child(2n){background-color:#ededed}.flexmls_connect__photo_switcher button{vertical-align:middle;text-align:center}.flexmls_connect__photo_switcher button img{border:0;width:6px;height:11px;margin:2px}.flexmls_connect__search ul.as-selections{border-color:#888 #aaa #b6b6b6!important;border-style:solid!important;border-width:1px!important;padding:4px 0 4px 4px!important;overflow:auto!important;background-color:#fff!important;box-shadow:inset 0 1px 2px #888!important;-webkit-box-shadow:inset 0 1px 2px #888!important;-moz-box-shadow:inset 0 1px 2px #888!important}.flexmls_connect__search ul.as-selections.loading{background-color:#eee}.flexmls_connect__search ul.as-selections li{float:left;margin:1px 4px 1px 0;list-style-type:none!important}.flexmls_connect__search ul.as-selections li.as-selection-item{color:#2b3840!important;font-size:13px!important;font-family:Lucida Grande,arial,sans-serif!important;text-shadow:0 1px 1px #fff!important;background-color:#ddeefe!important;background-image:-webkit-gradient(linear,0 0,0 100%,from(#ddeefe),to(#bfe0f1))!important;border:1px solid #acc3ec!important;border-top-color:#c0d9e9!important;padding:2px 7px 2px 10px!important;border-radius:12px!important;-webkit-border-radius:12px!important;-moz-border-radius:12px!important;box-shadow:0 1px 1px #e4edf2!important;-webkit-box-shadow:0 1px 1px #e4edf2!important;-moz-box-shadow:0 1px 1px #e4edf2!important;-ms-user-select:none!important;user-select:none!important;-webkit-user-select:none!important;-moz-user-select:none!important}.flexmls_connect__search ul.as-selections li.as-selection-item:last-child{margin-left:30px}.flexmls_connect__search ul.as-selections li.as-selection-item a.as-close{float:right;margin:1px 0 0 7px;padding:0 2px;cursor:pointer;color:#5491be;font-family:Helvetica,helvetica,arial,sans-serif;font-size:14px;font-weight:700;text-shadow:0 1px 1px #fff;-webkit-transition:color .1s ease-in}.flexmls_connect__search ul.as-selections li.as-selection-item.blur{color:#666;background-color:#f4f4f4;background-image:-webkit-gradient(linear,0 0,0 100%,from(#f4f4f4),to(#d5d5d5));border-color:#ccc #bbb #bbb;box-shadow:0 1px 1px #e9e9e9;-webkit-box-shadow:0 1px 1px #e9e9e9;-moz-box-shadow:0 1px 1px #e9e9e9}.flexmls_connect__search ul.as-selections li.as-selection-item.blur a.as-close{color:#999}.flexmls_connect__search ul.as-selections li:hover.as-selection-item{color:#2b3840;background-color:#bbd4f1;background-image:-webkit-gradient(linear,0 0,0 100%,from(#bbd4f1),to(#a3c2e5));border-color:#8bb7ed #6da0e0 #6da0e0}.flexmls_connect__search ul.as-selections li:hover.as-selection-item a.as-close{color:#4d70b0}.flexmls_connect__search ul.as-selections li.as-selection-item.selected{border-color:#1f30e4}.flexmls_connect__search ul.as-selections li.as-selection-item a:hover.as-close{color:#1b3c65}.flexmls_connect__search ul.as-selections li.as-selection-item a:active.as-close{color:#4d70b0}.flexmls_connect__search ul.as-selections li.as-original{margin-left:0;width:100%}.flexmls_connect__search ul.as-selections li.as-original input{border:none;outline:none;font-size:13px;height:18px;line-height:18px;padding-top:3px}.flexmls_connect__search ul.as-list{position:absolute;list-style-type:none;margin:2px 0 0;padding:0;font-size:14px;color:#000;font-family:Lucida Grande,arial,sans-serif;background-color:#fff;background-color:hsla(0,0%,100%,.95)!important;z-index:2;box-shadow:0 2px 12px #222;-webkit-box-shadow:0 2px 12px #222;-moz-box-shadow:0 2px 12px #222;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px}.flexmls_connect__search li.as-result-item,li.as-message{margin:0;padding:5px 12px;background-color:transparent;*background-color:#fff;border:1px solid;border-color:#fff #fff #ddd;cursor:pointer;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px}.flexmls_connect__search li:first-child.as-result-item{margin:0}.flexmls_connect__search li.as-message{margin:0;cursor:default}.flexmls_connect__search li.as-result-item.active{background-color:#3668d9;background-image:-webkit-gradient(linear,0 0,0 64%,from(#6e81f5),to(#3e52f2));border-color:#3342e8;color:#fff;text-shadow:0 1px 2px #122042}.flexmls_connect__search li.as-result-item em{font-style:normal;background:#444;padding:0 2px;color:#fff}.flexmls_connect__search li.as-result-item.active em{background:#253f7a;color:#fff}@media screen and (-webkit-min-device-pixel-ratio:0){.flexmls_connect__search ul.as-selections{border-top-width:2px}.flexmls_connect__search ul.as-selections li.as-selection-item{padding-top:3px;padding-bottom:3px}.flexmls_connect__search ul.as-selections li.as-selection-item a.as-close{margin-top:-1px}.flexmls_connect__search ul.as-selections li.as-original input{line-height:19px;height:19px}}@media (-webkit-min-device-pixel-ratio:10000),not all and (-webkit-min-device-pixel-ratio:0){.flexmls_connect__search ul.as-list{border:1px solid #888}.flexmls_connect__search ul.as-selections li.as-selection-item a.as-close{margin-left:4px;margin-top:0}}.flexmls_connect__search ul.as-list{border:1px solid\9}.flexmls_connect__search ul.as-selections li.as-selection-item a.as-close{margin-left:4px\9;margin-top:0\9}.flexmls_connect__search ul.as-list,x:-moz-any-link,x:default{border:1px solid #888}BODY:first-of-type ul.as-list,x:-moz-any-link,x:default{border:none}@font-face{font-family:flexmls-icons;src:url(../fonts/icomoon.eot?-pmhnf7=);src:url(../fonts/icomoon.eot?#iefix-pmhnf7=) format("embedded-opentype"),url(../fonts/icomoon.woff?-pmhnf7=) format("woff"),url(../fonts/icomoon.ttf?-pmhnf7=) format("truetype"),url(../fonts/icomoon.svg?-pmhnf7#icomoon=) format("svg");font-weight:400;font-style:normal}[class*=" flexmls-icon-"],[class^=flexmls-icon-]{font-family:flexmls-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.flexmls-icon-inbox:before{content:"\e600"}.flexmls-icon-thumb_up:before{content:"\e601"}.flexmls-icon-thumb_down:before{content:"\e602"}.flexmls-icon-heart:before{content:"\e603"}.flexmls-icon-star:before{content:"\e604"}.flexmls-icon-x_circle:before{content:"\e605"}.flexmls-icon-collection:before{content:"\e606"}.flexmls-icon-search:before{content:"\e607"}.flexmls-icon-search_agent:before{content:"\e608"}.flexmls-icon-plus_large:before{content:"\e609"}.flexmls-icon-eye:before{content:"\e60a"}.flexmls-icon-comment:before{content:"\e60b"}.flexmls-icon-more_dots:before{content:"\e60c"}.flexmls-icon-print:before{content:"\e60d"}.flexmls-icon-save:before{content:"\e60e"}.flexmls-icon-email:before{content:"\e60f"}.flexmls-icon-chart:before{content:"\e610"}.flexmls-icon-download:before{content:"\e611"}.flexmls-icon-link:before{content:"\e612"}.flexmls-icon-arrow_up:before{content:"\e613"}.flexmls-icon-arrow_down:before{content:"\e614"}.flexmls-icon-refresh:before{content:"\e615"}.flexmls-icon-carrot_line:before{content:"\e616"}.flexmls-icon-carrot_fill:before{content:"\e617"}.flexmls-icon-search_small:before{content:"\e618"}.flexmls-icon-check_small:before{content:"\e619"}.flexmls-icon-briefcase:before{content:"\e61a"}.flexmls-icon-add:before{content:"\e61b"}.flexmls-icon-minus:before{content:"\e61c"}.flexmls-icon-gear:before{content:"\e61d"}.flexmls-icon-refresh_large:before{content:"\e61e"}.flexmls-icon-check:before{content:"\e61f"}.flexmls-icon-view_list_line:before{content:"\e620"}.flexmls-icon-view_list_fill:before{content:"\e621"}.flexmls-icon-view_gallery_line:before{content:"\e622"}.flexmls-icon-view_gallery_fill:before{content:"\e623"}.flexmls-icon-view_map:before{content:"\e624"}.flexmls-icon-x_close:before{content:"\e625"}.flexmls-icon-arrow_page_next:before{content:"\e626"}.flexmls-icon-arrow_page_previous:before{content:"\e627"}.flexmls-icon-collection_new:before{content:"\e628"}.flexmls-icon-search_new:before{content:"\e629"}.flexmls-icon-facebook:before{content:"\e62a"}.flexmls-icon-google_plus:before{content:"\e62b"}.flexmls-icon-logo_flexmls:before{content:"\e62c"}.flexmls-icon-badge_comment:before{content:"\e62d"}.flexmls-icon-badge_eye:before{content:"\e62e"}.flexmls-icon-badge_heart:before{content:"\e62f"}.flexmls-icon-badge_plus:before{content:"\e630"}.flexmls-icon-badge_refresh:before{content:"\e631"}.flexmls-icon-badge_star:before{content:"\e632"}.flexmls-icon-badge_thumb_up:before{content:"\e633"}.flexmls-icon-badge_thumb_down:before{content:"\e634"}.flexmls-icon-badge_x:before{content:"\e635"}.flexmls-icon-badge_collection:before{content:"\e636"}.flexmls-icon-badge_arrow_down:before{content:"\e637"}.flexmls-icon-badge_briefcase:before{content:"\e638"}.flexmls-icon-badge_arrow_up:before{content:"\e639"}.flexmls-icon-badge_minus:before{content:"\e63a"}.flexmls-icon-street_view:before{content:"\e63b"}.flexmls-icon-birds_eye:before{content:"\e63c"}.flexmls-icon-messages_fill:before{content:"\e63d"}.flexmls-icon-messages_line:before{content:"\e63e"}.flexmls-icon-group:before{content:"\e63f"}.flexmls-icon-full_screen:before{content:"\e640"}.flexmls-icon-arrow_photo_next:before{content:"\e641"}.flexmls-icon-arrow_photo_previous:before{content:"\e642"}.flexmls-icon-play_circle_small:before{content:"\e643"}.flexmls-icon-play_circle_large:before{content:"\e644"}.flexmls-icon-no-alarm:before{content:"\e645"}.flexmls-icon-alarm:before{content:"\e646"}.flexmls-icon-star-full:before{content:"\e9d9"}.flexmls-icon-blocked:before{content:"\ea0e";transform:rotate(90deg);display:inline-block}.flexmls_connect__form_row{margin-bottom:1rem;position:relative}.flexmls_connect__form_row:after,.flexmls_connect__form_row:before{content:"";display:table}.flexmls_connect__form_row:after{clear:both}.flexmls_connect__form_row.flexmls_connect__form_row_color{clip:rect(0,0,0,0);height:0;left:-9999rem;position:absolute;width:0}.flexmls_connect__form_input,.flexmls_connect__form_label,.flexmls_connect__form_textarea{display:block;font-size:1rem;width:100%}@media (min-width:481px){.flexmls_connect__form_input,.flexmls_connect__form_label,.flexmls_connect__form_textarea{display:inline-block;vertical-align:top}}@media (min-width:481px){.flexmls_connect__form_label{width:9rem}}@media (min-width:481px){.flexmls_connect__form_textarea{width:66%}}button.flexmls_leadgen_button[disabled]{cursor:not-allowed;opacity:.8;pointer-events:none}.flexmls_connect__form_message{background:#fff;border-left:4px solid transparent;font-weight:700;margin-bottom:1rem;padding:1rem;text-align:center}.flexmls_connect__form_message.flexmls_connect__form_message-error{border-left-color:#dc3232;box-shadow:0 0 2px rgba(0,0,0,.3);color:#dc3232}.flexmls_connect__form_message.flexmls_connect__form_message-success{border-left-color:#46b450;box-shadow:0 0 2px rgba(0,0,0,.3);color:#46b450}.flexmls_connect__form_footer{text-align:right}.flexmls_loading_svg{display:inline-block;height:2rem;margin-right:1rem;width:2rem}.flexmls-warning{border-left:.25rem solid #dc3232;box-shadow:0 .06125rem .125rem #eaeaea;padding:1rem}.wp-dialog{background-color:#f5f5f5;z-index:999999!important;position:fixed!important}.wp-dialog .ui-dialog-titlebar-close{display:none}.ui-widget-overlay{background:url(../images/overlay.png) repeat scroll 0 0 transparent!important;opacity:.9!important;z-index:9999}.fmc_dialog{font-size:1.5em;height:auto;line-height:150%;min-height:45px;padding:13px;width:auto}.fmc-error{color:#cc3131;background-color:#f7e4e4;padding:5px 15px;border-radius:5px}.wp-dialog .ui-dialog-title{display:block;height:50px;line-height:2em;padding:1px 0 2px;text-align:center}#flexmls_connect__important{position:absolute;left:-5000px}.flexmls_connect__success_message{display:none;color:green;font-weight:700;text-align:center;padding:10px}.hover_container .hover_border:hover{border:2px solid #d2d2d2;border-radius:14px 14px 14px 14px;overflow:hidden;margin:10px;padding:5px}.hover_border{overflow:hidden;margin:10px;padding:5px;border:2px solid transparent}.hover_container{margin-bottom:15px}.flexmls_connect__carousel{text-align:left;max-width:100%}.flexmls_connect__container{max-width:100%;overflow:hidden;position:relative;background-color:#fff;padding:8px 0;border:1px solid #fff}.flexmls_connect__container .flexmls_connect__empty_message{color:#ccc;font-weight:700;font-size:14pt;text-align:center;padding:1.5em 0}.flexmls_connect__slides img{border:0!important;padding:0!important;margin:0!important}.flexmls_connect__slides a{line-height:10px;display:block}.flexmls_connect__slides a.flexmls_popup:hover{opacity:.75}.flexmls_connect__slides a.popup_no_link:hover{opacity:.75}.flexmls_connect__carousel .pleasewait{background:#fff url(../images/loading.gif) no-repeat 4px;position:absolute;border:2px solid #999;color:#666;font-weight:700;padding:8px 16px 8px 40px;margin:0 0 0 -24px;box-shadow:2px 2px 10px #ccc}.flexmls_connect__slide_page{display:none}.elementor-widget-container .flexmls_connect__slide_page,.is_admin_content .flexmls_connect__slide_page{display:block}.is_admin_content .flexmls_connect__slide_row{display:flex}.is_admin_content .flexmls_connect__listing{pointer-events:none}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.flexmls_connect__listing{box-sizing:border-box;position:relative;padding:2px;text-align:center;background-color:#fff;border:1px solid #fff;float:left;margin-bottom:2%;max-width:100%}.columns2 .flexmls_connect__listing,.columns3 .flexmls_connect__listing,.columns4 .flexmls_connect__listing,.columns5 .flexmls_connect__listing,.columns6 .flexmls_connect__listing,.columns7 .flexmls_connect__listing,.columns8 .flexmls_connect__listing{margin:0 .5% 1%}.columns2 .flexmls_connect__listing{width:49%}.columns3 .flexmls_connect__listing{width:32%}.columns4 .flexmls_connect__listing{width:24%}.columns5 .flexmls_connect__listing{width:19%}.columns6 .flexmls_connect__listing{width:15.66666%}.columns7 .flexmls_connect__listing{width:13.28571%}.columns8 .flexmls_connect__listing{width:11.5%}.flexmls_connect__slides div p.caption{margin:0!important}.flexmls_connect__slides div p.caption a{font-size:12px;line-height:15px;font-weight:700;margin-top:2px;text-decoration:none;color:#333}.flexmls_connect__slides div p.caption a small{font-size:10px;line-height:12px;color:#888;font-weight:400;display:block;text-decoration:none;padding-top:2px;margin-top:2px}.flexmls_connect__slides div p.caption a small.dark{color:#333;border-bottom:1px solid #ccc;padding-bottom:3px;margin:.15em 0 3px}.flexmls_connect__carousel_nav{background:#fff;text-align:center}.flexmls_connect__carousel ul.pagination{list-style-type:none!important;margin:0!important;padding-top:8px;display:inline-block}.flexmls_connect__carousel ul.pagination li{float:left!important;margin:0 2px!important;background-image:none!important;list-style-type:none!important}.flexmls_connect__carousel ul.pagination a{float:none!important;margin:0!important;padding:7px 0 0!important;display:block!important;width:7px!important;text-indent:-999999px!important;height:0!important;overflow:hidden!important;background:none!important;background-image:url(../images/loopedCarousel/pagination.png)!important;background-position:0 0!important;background-repeat:no-repeat!important}.flexmls_connect__carousel ul.pagination li.active a{background-position:0 -7px!important}.flexmls_connect__carousel a{font-size:12px}.flexmls_connect__carousel a.next,.flexmls_connect__carousel a.previous{padding:4px;font-style:italic;color:#000}.flexmls_connect__carousel a.previous{float:left}.flexmls_connect__carousel a.next{float:right}.flexmls_connect__count{text-align:right}.flexmls_connect__active_color{color:#000;font-style:none;background-color:inherit}.flexmls_connect__inactive_color{color:#ccc;font-style:italic;background-color:inherit}.flexmls_connect__error_color{color:#c00;background-color:#fcc}.flexmls_connect__hidden,.flexmls_connect__hidden2,.flexmls_connect__hidden3,.flexmls_connect__market_stats ul{display:none}.flexmls_connect__count,.flexmls_connect__disclaimer,.flexmls_connect__disclaimer a{font-size:8pt;color:#333;clear:both}.flexmls_connect__carousel .flexmls_connect__disclaimer,.flexmls_connect__carousel .flexmls_connect__disclaimer a{font-size:7.5pt;margin-top:2.5em;white-space:nowrap}.flexmls_connect__disclaimer a{text-decoration:underline;cursor:pointer}.flexmls_connect__badge{font-family:Arial,sans-serif;color:#fff;font-weight:700;font-size:8pt;border:1px solid #dadada;border-right:0;border-bottom:0;padding:2px;line-height:8pt;background-color:#454545}.flexmls_connect__badge,img.flexmls_connect__badge_image{cursor:pointer;position:absolute;bottom:0;right:0;margin:0!important}img.flexmls_connect__badge_image{width:20px!important;height:13px!important;border:0;padding:0}.flexmls_connect__colorbox_address .flexmls_connect__badge,.flexmls_connect__disclaimer .flexmls_connect__badge,.flexmls_connect__disclaimer .flexmls_connect__badge_image{display:inline;position:static;margin-right:.5em!important}.flexmls_connect__market_stats .legendLayer .background{fill:hsla(0,0%,100%,0);stroke:rgba(0,0,0,.85);stroke-width:0}.flexmls_connect__search{padding:.5em}.flexmls_connect__search form{padding:0;margin:0}.flexmls_connect__search label{cursor:pointer;display:inline}.flexmls_connect__search table{width:100%;margin:0;border-collapse:separate;border-spacing:0 .35em}.flexmls_connect__search table tr td{text-align:center;font-style:italic}.flexmls_connect__search table tr td.first{text-align:right;white-space:nowrap}.flexmls_connect__search table tr td span{margin:0 .25em;white-space:nowrap;display:inline-block}.flexmls_connect__search table tr td input.text{width:90%;text-align:center;font-weight:700;background-color:#fff}.flexmls_connect__search table tr td input.property-type-checkbox{margin:.5em .25em}.flexmls_connect__search_field .select2-container{width:100%}.flexmls_connect__search .shade{background-color:transparent;background-color:rgba(0,0,0,.25)}.flexmls_connect__search_agent_input input{margin-top:4px;margin-bottom:4px;padding:.25em;background-color:#fff;color:#000;text-align:left;font-weight:400;border:1px solid #989898;background-color:#fff!important;box-shadow:inset 0 0 0 #888!important;-webkit-box-shadow:inset 0 0 0 #888!important;-moz-box-shadow:inset 0 0 0 #888!important}.flexmls_connect_location_search{width:75%;background:#000!important;color:#fff!important;text-shadow:0 1px 1px #111!important;box-shadow:0 1px 1px #111!important;-webkit-box-shadow:0 1px 1px #111!important;-moz-box-shadow:0 1px 1px #111!important;background:-moz-linear-gradient(to top,#333 0,#4d4d4d 50%,#000 51%,#000 100%)!important;border-radius:.35em .35em .35em .35em!important;text-align:center!important;font-weight:700!important;cursor:pointer}.flexmls_connect__agent_search{color:#000;width:300px;font-family:Arial,sans-serif;box-shadow:0 2px 6px #000!important;-webkit-box-shadow:0 2px 6px #000!important;-moz-box-shadow:0 2px 6px #000!important;background-color:#fff;padding:20px;margin:3px 3px 20px}.flexmls_connect__colorbox_address{padding:.1em 0 .3em;text-align:center;width:100%;color:#333;font-size:1.1em;position:absolute;top:0}#flexmls_connect__cboxLoadedContent{color:#000}#flexmls_connect__cboxLoadedContent iframe{width:100%;height:100%}.flexmls_connect__market_stats.center div,.flexmls_connect__market_stats.center div table tbody tr,.flexmls_connect__market_stats.center p{text-align:center;margin-left:auto;margin-right:auto}.flexmls_connect__market_stats.right div,.flexmls_connect__market_stats.right div table tbody tr,.flexmls_connect__market_stats.right p{text-align:right;margin-left:auto}.flexmls_connect__carousel.center{text-align:center;margin-left:auto;margin-right:auto}.flexmls_connect__carousel.right{text-align:right;margin-left:auto}#flexmls_connect__stat_tooltip{position:absolute;display:none;border:1px solid #d0d0d0;padding:2px;background-color:#eee;opacity:.8;color:#333}.flexmls_connect__search ul.as-selections{margin:0!important;list-style-type:none!important;border:1px solid #989898!important;box-shadow:inset 0 0 0 #888!important;-webkit-box-shadow:inset 0 0 0 #888!important;-moz-box-shadow:inset 0 0 0 #888!important;width:100%}.flexmls_connect__search ul.as-selections li.as-selection-item{border-radius:4px!important;-webkit-border-radius:4px!important;-moz-border-radius:4px!important}.flexmls_connect__search ul.as-list{list-style-type:none!important}.flexmls_connect__search li.as-result-item,li.as-message{text-align:left!important}.flexmls_connect__heading{font-weight:700}.my_account_outer{overflow:auto;border:2px solid #000;margin-bottom:15px;padding:20px}.my_account_inner{margin:15px;float:left}.flexmls_connect__right{position:relative;float:right}.flexmls_connect__field_label{font-weight:700}.flexmls_connect__zebra:nth-child(odd),div.flexmls_connect__zebra:nth-child(odd){background-color:#ccc}.flexmls_connect__zebra{padding:4px}ul.flexmls-idx-media-links{list-style:none outside none;margin:0}.flexmls-idx-media-links{padding:0}ul.flexmls-idx-media-links>li{display:inline;margin:0;padding:0}.flexmls-idx-media-links>li:after{content:" | "}.flexmls-idx-media-links>li:last-child:after{content:""}.flexmls_connect__sr_detail .flexmls_connect__tab_div{margin:30px 0 20px;border-bottom:1px solid #cfcfcf}.flexmls_connect__sr_detail .flexmls_connect__tab{background:#f2f2f2;background:linear-gradient(0deg,#f2f2f2 0,#d4d4d4);border-top-right-radius:.5em;-moz-border-radius:.5em;border-top-left-radius:.5em;background-clip:padding-box;color:#000;cursor:pointer;font-size:13px;padding:.5em .75em .45em;margin-right:6px;border:1px solid #cfcfcf;border-bottom:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:-moz-inline-box;display:inline-block;vertical-align:baseline;zoom:1;*display:inline;*vertical-align:auto;position:relative;top:1px}.flexmls_connect__sr_detail .flexmls_connect__tab.active{background:#fff;cursor:default}.flexmls_connect__schedule_showing_table{table-layout:auto}.flexmls_connect__required{color:red}.flexmls_connect__schedule_showing_table tr td{text-align:left!important;padding:5px!important}#flexmls_connect__detail_group table tr td{text-align:left!important}.flexmls_connect__sr_detail .flexmls_connect__detail_header{font-size:1.25em;display:block;background-color:#cfcfcf;padding:4px;color:#000}.flexmls_connect__sr_detail td{padding:4px}.flexmls_connect__sr_detail b{color:#000}#flexmls_connect__map_canvas{width:100%;height:400px}.flexmls_connect__sr_pagination{text-align:center}.flexmls_connect__sr_pagination a,.flexmls_connect__sr_pagination span{text-decoration:none;padding:12px;font-weight:700}.flexmls_connect__sr_pagination a:hover{text-decoration:underline}.flexmls_connect__sr_pagination .flexmls_connect__button{color:#000}.flexmls_connect__idx_disclosure_text{margin-top:4em}.flexmls_connect__prev_next{position:relative;float:right;margin-bottom:.25em}.flexmls_connect__prev_next button{vertical-align:top}.flexmls_connect__prev_next button.left img{margin:0 3px 0 0}.flexmls_connect__prev_next button.right img{margin:0 0 0 3px}.flexmls_connect_select{margin:.5em 0}.flexmls_connect_hasJavaScript{display:none}.portal-button-primary{font-weight:700;font-size:13px}.portal-button-secondary{color:#007;background:none repeat scroll 0 0 transparent;border:0}.listing_cart{margin-bottom:.5em}.listing_cart i{cursor:pointer;color:#b3b3b3;font-size:1.4em;padding-right:.5em}.listing_cart i:hover{color:#999}.selected .flexmls-icon-heart,.selected .flexmls-icon-heart:hover{color:#d9a5ed}.selected .flexmls-icon-thumb_up,.selected .flexmls-icon-thumb_up:hover{color:#4cd964}.selected .flexmls-icon-thumb_down,.selected .flexmls-icon-thumb_down:hover{color:#fc3e39}.flexmls_connect_vtour_link_alternative{display:block;top:50%;left:50%;width:300px;margin-left:-150px;position:absolute}@media print{body{background-color:#fff}.flexmls_connect__disclaimer_text{display:block;font-size:8pt;line-height:8pt}.flexmls_connect__sr_divider{margin:0}.flexmls_connect__sr_address{margin-bottom:0}.flexmls_connect__photo_container{border:1px solid transparent!important}.flexmls_connect__main_image{padding:2px;border:1px solid #cfcfcf}.flexmls_connect__filmstrip,.flexmls_connect__not_printable,.flexmls_connect__photo_pager,.flexmls_connect__sr_details,.flexmls_connect__tab_div,button{display:none!important}}.elementor-element-edit-mode .flexmls_connect__market_stats_graph{background-color:#dadada;display:flex;justify-content:center;align-items:center}.elementor-element-edit-mode .flexmls_connect__market_stats_graph:after{display:block;content:"The graph will be displayed on the site";color:#a0a0a0;font-size:25px}.flexmls_connect__sr_divider{clear:both;margin-top:15px;margin-bottom:15px;height:1px;color:#d3d3d3;background-color:#d3d3d3;border:none;display:block}.flexmls_connect__sr_email_updates{line-height:4.5em;margin:14px}.flexmls_connect__sr_matches_count{font-size:26px;font-weight:700;padding-right:.2em}.flexmls_connect__sr_result{padding-bottom:1em;border-bottom:1px solid #d3d3d3;margin-bottom:1em}.flexmls_connect__sr_result:after,.flexmls_connect__sr_result:before{content:"";display:table}.flexmls_connect__sr_result:after{clear:both}.flexmls_connect__sr_detail a,.flexmls_connect__sr_email_updates a,.flexmls_connect__sr_result a{text-decoration:none;cursor:pointer}.flexmls_connect__sr_detail a:hover,.flexmls_connect__sr_email_updates a:hover,.flexmls_connect__sr_result a:hover{text-decoration:underline}.flexmls_connect__sr_price{font-size:24px;color:#000}.flexmls_connect__sr_address{margin-bottom:13px;font-size:18px}.flexmls_connect__sr_result{text-align:center}.flexmls_connect__sr_result img{box-sizing:border-box;padding:3px;border:1px solid #cdcbcc}.flexmls_connect__sr_result .flexmls_connect__sr_listing_facts{border-top:1px solid #d3d3d3;width:100%}.flexmls_connect__sr_result .flexmls_connect__sr_listing_facts tr td{padding:4px;width:50%;color:#000;vertical-align:top}.flexmls_connect__sr_result .flexmls_connect__sr_idx{padding-top:10px!important}.flexmls_connect__sr_result .flexmls_connect__sr_idx .flexmls_connect__badge{position:relative}.flexmls_connect__sr_details{clear:both;color:#d6d6d6;margin-bottom:1em}.flexmls_connect__sr_openhouse{color:#000;margin:4px}.flexmls_connect__sr_openhouse em{font-style:italic;font-size:1.25em;margin-right:8px}.flexmls_connect__sr_detail .flexmls_connect__sr_openhouse{margin-top:2em}.flexmls_connect__sr_main_photo{margin-bottom:1em}td.flexmls_connect__sr_idx,tr.flexmls_connect__sr_zebra_off td,tr.flexmls_connect__sr_zebra_on td{text-align:left!important}tr.flexmls_connect__sr_zebra_on{background-color:#ededed}.flexmls_connect__sr_view_options>div{display:inline-block}.flexmls_connect__sr_view_options .listingsperpage{margin-right:1em}.flexmls_connect__sr_details_buttons button{margin-bottom:.8em}.flexmls_connect__sr_details_buttons button:first-of-type{margin-right:1em}.flexmls_connect__sr_asset_link{display:block}.flexmls_connect__sr_save_search{position:relative}.flexmls_connect__sr_save_search_save_confirm{position:absolute;left:0;top:0;background:#fff;z-index:10;width:320px;max-width:95vw;padding:4px}.flexmls_connect__sr_save_search_save_confirm .flexmls_connect_search_name{width:65%;float:left;margin-right:5%}.flexmls_connect__sr_save_search_save_confirm .flexmls_connect_search_submit{width:30%;float:left;padding:5px 10px}@media (min-width:481px){.flexmls_connect__sr_result{text-align:left}.flexmls_connect__sr_left_column{float:left;max-width:46%}.flexmls_connect__sr_listing_facts_container{width:50%;float:right}.flexmls_connect__sr_details{clear:none}}@media (min-width:768px){.flexmls_connect__sr_matches{float:left}.flexmls_connect__sr_view_options{float:right}.flexmls_connect__sr_result img{box-sizing:border-box;float:left;margin-right:11px;margin-bottom:13px}.flexmls_connect__sr_result .flexmls_connect__sr_details{float:none;max-width:none}.flexmls_connect__sr_left_column{max-width:36%}.flexmls_connect__sr_listing_facts_container{width:60%}.flexmls_connect__sr_asset_link{display:inline-block}.flexmls_connect__sr_asset_link+.flexmls_connect__sr_asset_link{margin-left:.8em;border-left:1px solid #ccc;padding-left:.8em}}.flexmls_connect__listing_details_page .entry-title{display:none}.flexmls_connect__listing_details_page .listing_cart{display:flex}.flexmls_connect__listing_details_page .flexmls_portal_cart_handle i{color:#d3d3d3}.flexmls_connect__listing_details_page .flexmls_portal_cart_handle i:hover{color:#e9e8e8}.flexmls_connect__listing_details_page .Rejects.selected i{color:#f50000;text-shadow:0 0 3px rgba(0,0,0,.3)}.flexmls_connect__listing_details_page .Favorites.selected i{color:#f9dd00;text-shadow:0 0 1px rgba(0,0,0,.5)}.flexmls_connect__ld_status{color:orange;font-weight:700}.flexmls_connect__ld_status.status_closed{color:#00f}.flexmls_connect__ld_price{font-size:24px;color:#000;display:flex}.flexmls_connect__price_changes{font-size:16px;margin:12px 0 0 12px}.flexmls_connect__price_changes span{font-size:14px}.flexmls_connect__price_changes_down{color:red}.flexmls_connect__price_changes_up{color:green}.flexmls_connect__ld_button_group button{display:block;margin-bottom:.8em}.flexmls_connect__sr_detail .flexmls_connect__photos{text-align:center}.flexmls_connect__sr_detail .flexmls_connect__photo_pager{text-align:center;margin:12px 0}.flexmls_connect__photo_switcher{color:#000;font-size:1.25em;margin-bottom:.6em}.flexmls_connect__ld_larger_photos_link{display:none}.flexmls_connect__photo_container{width:98%;overflow:hidden}.flexmls_connect__photo_container img{max-height:400px}.flexmls_connect__sr_detail .flexmls_connect__main_image{cursor:pointer}.flexmls_connect__sr_detail .flexmls_connect__filmstrip,.flexmls_connect__sr_detail .flexmls_connect__photo_container{padding:6px;border:1px solid #cdcbcc;margin:0 auto;display:block}.flexmls_connect__sr_detail .flexmls_connect__filmstrip{width:98%;height:70px;overflow-x:auto;overflow-y:hidden;text-align:left;vertical-align:middle;word-wrap:normal;white-space:nowrap;border:1px solid #ababab}.flexmls_connect__sr_detail .flexmls_connect__filmstrip img{border:1px solid #9a9899;height:42px;margin:8px 4px 0;cursor:pointer}.flexmls_connect__sr_detail .flexmls_connect__filmstrip img.filmstrip_over{border:1px solid #000}.flexmls_connect__ld_detail_table{border:1px solid #cfcfcf;margin-bottom:1em}.flexmls_connect__ld_property_detail{font-size:14px;padding:.4em 1em}.flexmls_connect__ld_property_detail:nth-of-type(2n){background:#ededed}.flexmls_connect__ld_property_detail+.flexmls_connect__ld_property_detail{border-top:1px solid #cfcfcf}.flexmls_connect__ld_property_detail_row+.flexmls_connect__ld_property_detail_row{border-top:1px solid #cfcfcf}.flexmls_connect__ld_property_detail_row:nth-of-type(2n){background:#ededed}.columns2 .flexmls_connect__ld_property_detail_row:nth-of-type(2n){background:none}.flexmls_connect__sr_left_column{position:relative}.flexmls_connect__sr_left_column .flexmls_connect__sr_details{clear:both}.flexmls_connect__sr_left_column .flexmls_connect__sr_details .listing_cart{position:absolute;top:10px;right:3px;display:flex}.flexmls_connect__sr_left_column .flexmls_connect__sr_details .flexmls_portal_cart_handle i{color:#fff;text-shadow:0 0 3px rgba(0,0,0,.5)}.flexmls_connect__sr_left_column .flexmls_connect__sr_details .flexmls_portal_cart_handle i:hover{text-shadow:0 0 3px rgba(0,0,0,.7)}.flexmls_connect__sr_left_column .flexmls_connect__sr_details .Rejects.selected i{color:#f50000;text-shadow:0 0 3px rgba(0,0,0,.1)}.flexmls_connect__sr_left_column .flexmls_connect__sr_details .Favorites.selected i{color:#f9dd00;text-shadow:0 0 3px rgba(0,0,0,.3)}@media (min-width:481px){.flexmls_connect__listing_details_page .listing_cart{float:right;clear:right}.flexmls_connect__ld_price{float:right}.flexmls_connect__ld_button_group button{display:inline}.flexmls_connect__ld_button_group button+button{margin-left:1em}.flexmls_connect__sr_detail .flexmls_connect__photo_pager{text-align:left}.flexmls_connect__photo_switcher{float:right;margin-top:-4px}.columns2 .flexmls_connect__ld_property_detail_row:nth-of-type(2n),.flexmls_connect__ld_property_detail_row:nth-of-type(2n){background:#ededed}.columns2 .flexmls_connect__ld_property_detail_row+.flexmls_connect__ld_property_detail_row,.flexmls_connect__ld_property_detail_row+.flexmls_connect__ld_property_detail_row{border-top:1px solid #cfcfcf}.columns2 .flexmls_connect__ld_property_detail{box-sizing:border-box;width:50%;display:inline-block;vertical-align:top}.columns2 .flexmls_connect__ld_property_detail+.flexmls_connect__ld_property_detail{border:none}.columns2 .flexmls_connect__ld_property_detail:nth-of-type(2n){background:none}}.open-houses-list-details h2.flexmls-title-larger{margin-bottom:10px}.open-houses-list-details .open-house-list-inner{border-radius:5px;border:1px solid #ccc;padding:10px 15px;font-size:17px;margin:0 0 12px}@media (min-width:768px){.flexmls_connect__ld_larger_photos_link{display:inline-block}}body.admin-bar{position:relative}.flexmls_connect__search_new{padding:20px;margin:3px}.flexmls_connect__search_new:after,.flexmls_connect__search_new:before{content:"";display:table}.flexmls_connect__search_new:after{clear:both}.flexmls_connect__search_new button{font-size:26px}.flexmls_connect__search_new label{display:block;font-weight:700;margin-bottom:.1em}.flexmls_connect__search_new input[type=text]{box-sizing:border-box;border:1px solid #989898;width:43%}.flexmls_connect__search_new select{width:100%}.flexmls_connect__search_new .flexmls_connect__inactive_color{color:#999;font-style:normal!important}.flexmls_connect__search_new_to{display:inline-block;width:10%;text-align:center}.flexmls_connect__search_new_title{font-size:26px;font-weight:700}.flexmls_connect__search_field{margin-bottom:1em}.flexmls_connect__search_new_subtypes{margin-top:1em}.flexmls_connect__search_new_links{text-align:center;margin-top:1em}.flexmls_connect__search_new_links a{text-decoration:none}.flexmls_connect__search_new_checkboxes{margin-right:.5em}input[type=submit].flexmls_connect__search_new_submit{border-radius:.35em;background-clip:padding-box;font-size:22px;line-height:22px;font-family:Arial,sans-serif;padding:.25em;width:100%;text-align:center;font-weight:700;cursor:pointer;margin:.5em 0}.flexmls_connect__search_new_shadow{box-shadow:1px 1px 4px rgba(0,0,0,.4);border:1px solid #ccc}.flexmls_connect__search_new_subtypes{display:none}@media (min-width:481px){.flexmls_connect__search_new_horizontal .flexmls_connect__search_new_field_group{width:45%;float:left}.flexmls_connect__search_new_horizontal .flexmls_connect__search_new_links{width:45%;float:right;clear:right}}.flex-map{margin-bottom:40px}.flex-map-info-photo{margin-right:10px;width:100px;height:100px;background-size:cover;background-position:50%}.flex-map-info-info,.flex-map-info-photo{display:table-column;float:left}.flex-map-info-price{font-weight:800;font-size:1.2em;display:table-row}.flex-map-info-address-1,.flex-map-info-address-2,.flex-map-info-extra{display:table-row}.flex-map-markerLabels{overflow:inherit!important}.flex-map-marker-price{font-family:HelveticaNeue,Helvetica Neue,Work Sans,Helvetica,Arial,Lucida Grande,sans-serif;font-weight:400;align-items:center;background-color:#fff;border-radius:13px;border:1px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.2);color:#609fd6;display:flex;font-size:13px;height:27px;width:80px}.flex-map-marker-price .arrow{position:absolute;display:block;width:0;height:0;left:50%;bottom:-6px;margin-left:-5px;border-color:rgba(0,0,0,.1) transparent transparent;border-style:solid;border-width:6px 6px 0}.flex-map-marker-price .arrow:after{content:"";position:absolute;display:block;width:0;height:0;bottom:1px;margin-left:-7px;border-color:#fff transparent transparent;border-style:solid;border-width:6px 6px 0}.active .flex-map-marker-icon{background-color:#4cd964}.flex-map-marker-icon{align-items:center;background-color:#666;border-radius:50%;color:#fff;display:flex;font-size:24px;height:25px;justify-content:center;width:25px}.flex-map-marker-content{display:inline-block;padding:0 7px 0 5px}.flexmls_toggle-view{font-size:15px;text-align:center;display:inline-block;float:right}.flexmls_toggle-view a{text-decoration:none;display:block;float:left;padding:2px 5px;border:1px solid #ccc}.flexmls_toggle-view a.list-view{border-radius:10px 0 0 10px;border-right:1px solid #ccc}.flexmls_toggle-view a.map-view{border-radius:0 10px 10px 0;border-left:1px solid #ccc}.flexmls_toggle-view a.active{background-color:#82dbf0;color:#fff}.flexmls_toggle-view a:hover{background-color:#82dbf0;color:#fff}.flexmls_connect__page_content .flexmls_toggle-view a{text-decoration:none;border:1px solid #ccc}.flexmls_connect__page_content .flexmls_toggle-view a.list-view{border-right:1px solid #ccc}.flexmls_connect__page_content .flexmls_toggle-view a.map-view{border-left:1px solid #ccc}.flexmls_connect__page_content .flexmls_toggle-view a:hover{border:1px solid #ccc}.flexmls-v2-widget .flexmls-btn,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700!important;line-height:16px;transition:all .1s ease-in-out;min-width:88px;padding:11px 16px;text-decoration:none!important;box-shadow:none}.flexmls-v2-widget .flexmls-btn.flexmls-btn-primary,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-btn.flexmls-btn-primary{transition:all .1s ease-in-out;background-color:#0077d9;color:#fff}.flexmls-v2-widget .flexmls-btn.flexmls-btn-secondary,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-btn.flexmls-btn-secondary{transition:all .1s ease-in-out;background-color:#fff;color:#0077d9;border:1px solid #d9d9d9}.flexmls-v2-widget .flexmls-btn.flexmls-btn-sm,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-btn.flexmls-btn-sm{border-radius:4px;min-width:80px;padding:7px 8px!important}.flexmls-v2-widget .flexmls-btn:hover,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-btn:hover{box-shadow:none}.flexmls-v2-widget input[type=checkbox],body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox input[type=checkbox]{box-sizing:border-box;width:auto;height:auto;border:1px solid #d9d9d9}.flexmls-v2-widget input[type=checkbox]+label,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox input[type=checkbox]+label{display:inline;position:relative;top:-2px}.flexmls-v2-widget input[type=text],.flexmls-v2-widget select,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox input[type=text],body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox select{box-sizing:border-box;font-size:14px;font-weight:400!important;border:1px solid #d9d9d9;border-radius:4px;background:#fff;box-shadow:none;color:#333;height:40px;line-height:20px;padding:11px 8px;font-style:normal}.flexmls-v2-widget input[type=text]:focus,.flexmls-v2-widget select:focus,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox input[type=text]:focus,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox select:focus{border:1px solid #73c0ff;box-shadow:0 2px 10px rgba(115,192,255,.6);outline:none}.flexmls-v2-widget textarea,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox textarea{box-sizing:border-box}.flexmls-v2-widget select,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox select{padding:8px 16px}.flexmls-v2-widget .flexmls-title-large,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-title-large{font-size:20px;font-weight:600;line-height:24px;margin-bottom:24px}.flexmls-v2-widget .flexmls-title-larger,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-title-larger{font-size:24px;font-weight:600;line-height:30px;margin-bottom:24px}.flexmls-v2-widget .flexmls-title-largest,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-title-largest{font-size:28px;font-weight:700;line-height:36px;margin-bottom:24px}.flexmls-v2-templates .new-listing-tag,.flexmls-v2-widget .new-listing-tag{background:#0077d9;color:#fff;padding:8px 20px 5px;border-radius:3px;line-height:1;display:inline-block;text-transform:uppercase;font-size:12px;font-weight:700}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location label{display:none}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-selection__rendered{display:block;padding-left:0}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-selection__rendered .select2-search{padding:0;float:none}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-container{display:block;width:100%!important}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-search__field{margin-top:0}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-search__field::-moz-placeholder{color:#aaa}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-search__field:-ms-input-placeholder{color:#aaa}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-search__field::placeholder{color:#aaa}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-selection{padding-left:4px;border-color:#d9d9d9}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_v2_submit{font-size:16px;line-height:16px;text-transform:uppercase;min-width:88px;text-decoration:none;background-color:#0077d9;color:#fff;display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:11px 16px;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_v2_submit:hover{transform:none;box-shadow:none;font-size:16px;font-weight:400;line-height:16px;padding:11px 16px}.flexmls_connect__search_v2{border-radius:4px;padding:24px;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.flexmls_connect__search_v2 .flexmls_connect__search_v2_title{font-size:26px;line-height:1.2;font-weight:600;margin-bottom:13px}.flexmls_connect__search_v2 .flexmls_connect__search_new_subtypes>.flexmls_connect__search_new_label,.flexmls_connect__search_v2 .flexmls_connect__search_new_subtypes>.flexmls_connect__search_v2_label,.flexmls_connect__search_v2 .flexmls_connect__search_property_type>.flexmls_connect__search_new_label,.flexmls_connect__search_v2 .flexmls_connect__search_property_type>.flexmls_connect__search_v2_label,.flexmls_connect__search_v2 .flexmls_connect__search_v2_field_group>.flexmls_connect__search_new_label,.flexmls_connect__search_v2 .flexmls_connect__search_v2_field_group>.flexmls_connect__search_v2_label{display:block;font-weight:600}.flexmls_connect__search_v2 .flexmls_connect__search_v2_sort_by label{display:block;font-weight:600}.flexmls_connect__search_v2 .flexmls_connect__search_v2_sort_by select{width:100%}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field{clear:both}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field .flexmls_connect__search_new_label{font-weight:600;display:block}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field .text{float:left;width:45%;margin-right:3%}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field .text:last-of-type{margin-right:0}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field .text.flexmls_connect__inactive_color{color:#aaa}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field .flexmls_connect__search_new_to{display:none}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field:after{content:"";display:table;clear:both}.flexmls_connect__search_v2 .flexmls_connect__search_v2_links{display:flex;flex-direction:column}.flexmls_connect__search_v2 .flexmls_connect__search_v2_links a{font-size:12px;display:inline-block;margin-top:12px;text-decoration:none}.flexmls_connect__search_v2 .flexmls_sold_pending_search_wrapper label{display:inline-block!important;margin-right:4px;margin-top:0}@media (min-width:768px){.flexmls_connect__search_v2 .flexmls_connect__filters_wrapper{display:flex;justify-content:space-between}.flexmls_connect__search_v2 .flexmls_connect__righthand_filters_wrapper,.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max{width:45%}}@media (min-width:768px){.flexmls_connect__search_v2_vertical .flexmls_connect__filters_wrapper{display:block}.flexmls_connect__search_v2_vertical .flexmls_connect__righthand_filters_wrapper,.flexmls_connect__search_v2_vertical .flexmls_connect__search_v2_min_max{width:auto}}.flexmls_connect__search_results_v2 .flexmls-title-and-login-wrapper{margin-bottom:12px}.flexmls_connect__search_results_v2 .flexmls-title-and-login-wrapper:after,.flexmls_connect__search_results_v2 .flexmls-title-and-login-wrapper:before{content:"";display:table}.flexmls_connect__search_results_v2 .flexmls-title-and-login-wrapper:after{clear:both}.flexmls_connect__search_results_v2 .flexmls-title-and-login-wrapper .flexmls-title{float:left;max-width:75%}.flexmls_connect__search_results_v2 .flexmls-title-and-login-wrapper .flexmls-login-buttons{float:right}.flexmls_connect__search_results_v2 .flexmls-actions-wrapper{position:relative;margin-bottom:24px}.flexmls_connect__search_results_v2 .flexmls-actions-wrapper:after,.flexmls_connect__search_results_v2 .flexmls-actions-wrapper:before{content:"";display:table}.flexmls_connect__search_results_v2 .flexmls-actions-wrapper:after{clear:both}.flexmls_connect__search_results_v2 .flexmls-actions-wrapper .saved-search-button{float:left}.flexmls_connect__search_results_v2 .flexmls-actions-wrapper .close-map-button{float:right}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper{margin-bottom:24px}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper:after,.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper:before{content:"";display:table}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper:after{clear:both}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper .flexmls-count-wrapper{float:left}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper .flexmls-filters-wrapper{float:right;display:flex}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper .flexmls-filters-wrapper>div{margin-right:6px}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper .flexmls-filters-wrapper>div label{display:inline-block}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper .flexmls-filters-wrapper>div select{text-align:right;display:inline-block;width:auto}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper .flexmls-filters-wrapper>div:last-of-type{margin-right:0}.flexmls_connect__search_results_v2 input[type=text],.flexmls_connect__search_results_v2 select{padding:6px 3px}.flexmls_connect__search_results_v2 .flexmls-listings-list-wrapper{display:flex;flex-wrap:wrap;justify-content:flex-start}.flexmls_connect__search_results_v2 .flexmls-listing{display:block;width:100%;max-width:480px;text-decoration:none!important;border-radius:4px;box-shadow:0 1px 2px 0 rgba(0,0,0,.2);margin-bottom:16px;transition:opacity .2s ease-in-out}.flexmls_connect__search_results_v2 .flexmls-listing:hover{opacity:.8}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;font-weight:700;margin-right:8px;max-width:35%}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-active,.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-active-under-contract,.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-coming-soon{color:#277c22}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-closed{color:#0077d9}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status--canceled,.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-deleted,.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-expired,.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-hold,.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-withdrawn{color:#737373}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-pending{color:#ef8c00}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-details{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;max-width:80%}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-details span{margin-left:8px}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper{padding-top:62.5%;background-color:transparent;background-position:50%;background-size:cover;border-radius:4px 4px 0 0;position:relative}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .flexmls-price{font-size:24px;position:absolute;bottom:10px;left:10px;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.5);font-weight:700}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .new-listing-tag{position:absolute;top:12px;left:12px;font-weight:700}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .new-listing-tag.open-house{bottom:12px;top:auto;left:auto;right:12px;background-color:#ef8c00;padding:8px 10px 5px}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .flexmls-portal-links{position:absolute;top:10px;right:10px;text-shadow:0 2px 4px rgba(0,0,0,.5)}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .flexmls-portal-links i{color:#fff}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .flexmls-portal-links .Favorites.selected i{color:#f9dd00;text-shadow:0 0 1px rgba(0,0,0,.5)}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .flexmls-portal-links .Rejects.selected i{color:#f50000;text-shadow:0 0 3px rgba(0,0,0,.1)}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-content-wrapper{padding:16px;font-size:14px;color:#333}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-bold-label{font-weight:700}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-last-modified-and-idx-wrapper{border-top:1px solid #d9d9d9;padding-top:16px;align-items:center;display:flex;justify-content:space-between}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-last-modified-and-idx-wrapper .flexmls-idx-compliance-label{padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;background-color:#737373;font-size:85%;text-shadow:none;text-transform:uppercase}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-last-modified-and-idx-wrapper .flexmls-idx-compliance-badge{max-width:90px;height:auto}.flexmls_connect__search_results_v2 .flexmls-listings-list-wrapper.flexmls-width-480{justify-content:center}.flexmls_connect__search_results_v2 .flexmls-listings-list-wrapper.flexmls-width-600{justify-content:space-between}.flexmls_connect__search_results_v2 .flexmls-listings-list-wrapper.flexmls-width-600 .flexmls-listing{width:48%}.flexmls_connect__search_results_v2 .flexmls-listings-list-wrapper.flexmls-width-900 .flexmls-listing{width:31.5%;max-width:380px}.flexmls_connect__search_results_v2 .flexmls_connect__sr_pagination button{background:none;border:none;box-shadow:none;font-size:16px;padding:12px}.flexmls-listing-details.flexmls-v2-widget .listing-section{margin-bottom:16px}.flexmls-listing-details.flexmls-v2-widget .flexmls-actions-wrapper{display:flex;align-items:center;justify-content:flex-end}.flexmls-listing-details.flexmls-v2-widget .flexmls-actions-wrapper.has-return-button{justify-content:space-between}.flexmls-listing-details.flexmls-v2-widget .flexmls-actions-wrapper .back-to-search-link{font-size:16px}.flexmls-listing-details.flexmls-v2-widget .top-info-wrapper .title-and-details-wrapper .title-and-status-wrapper{margin-bottom:16px}.flexmls-listing-details.flexmls-v2-widget .top-info-wrapper .title-and-details-wrapper .title-and-status-wrapper .property-title{margin-top:0;margin-bottom:16px}.flexmls-listing-details.flexmls-v2-widget .top-info-wrapper .title-and-details-wrapper .price-and-actions-wrapper{display:flex;justify-content:space-between}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-stage-outer{height:380px}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .listing-image{height:300px;background-size:cover;background-position:50%}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .listing-image.listing-video iframe,.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .listing-image.listing-vtour iframe{width:100%;height:65vh}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .listing-vtour-card{background:#fff;border-radius:4px;margin:0 auto;max-width:50%;min-width:260px;padding:20px;text-align:center}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .listing-vtour-card h3{text-align:center}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-carousel{position:relative}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-nav{position:absolute;top:calc(50% - 20px);display:flex;width:100%;justify-content:space-between}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-nav .owl-next,.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-nav .owl-prev{display:flex;width:40px;height:40px;border-radius:100%;background-color:hsla(0,0%,100%,.7);align-items:center;justify-content:center;font-family:Helvetica;font-size:22px}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-nav .owl-next.disabled,.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-nav .owl-prev.disabled{opacity:.5}.flexmls-listing-details.flexmls-v2-widget .main-details-section .flexmls-details .flexmls-detail{display:block}.flexmls-listing-details.flexmls-v2-widget .main-details-section .flexmls-details .flexmls-detail .detail-label{font-weight:700}.flexmls-listing-details.flexmls-v2-widget .main-details-section .price-and-dates{background:#dfdfdf;padding:12px;margin-left:-12px;margin-right:-12px;border-radius:3px}.flexmls-listing-details.flexmls-v2-widget .main-details-section .price-and-dates .flexmls-detail{display:block}.flexmls-listing-details.flexmls-v2-widget .main-details-section .price-and-dates .flexmls-detail .detail-label{font-weight:600}.flexmls-listing-details.flexmls-v2-widget .features-section .details-section{margin-bottom:16px}.flexmls-listing-details.flexmls-v2-widget .features-section .details-section .detail-value{font-size:16px;display:block;margin-bottom:4px}.flexmls-listing-details.flexmls-v2-widget .features-section .details-section.rooms-section .room-name{font-weight:700}.flexmls-listing-details.flexmls-v2-widget .features-section .details-section.rooms-section .room-detail{display:block}.flexmls-listing-details.flexmls-v2-widget .documents-section .fmc_document{cursor:pointer}.flexmls-listing-details.flexmls-v2-widget .documents-section .fmc_document img{display:inline-block;margin-right:5px}.flexmls-listing-details.flexmls-v2-widget .disclosure-section .listing-req{margin-bottom:8px}.flexmls-listing-details.flexmls-v2-widget .more-information-toggle{border-bottom:1px solid #ededed;position:relative}.flexmls-listing-details.flexmls-v2-widget .more-information-toggle h2{margin-bottom:6px}.flexmls-listing-details.flexmls-v2-widget .more-information-toggle .mls-id{color:#999;font-weight:400;display:inline-block;margin-left:6px;font-size:20px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .listing-section{margin-bottom:20px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .top-info-wrapper .title-and-details-wrapper{display:flex;justify-content:space-between}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .top-info-wrapper .title-and-details-wrapper .title-and-status-wrapper{width:70%}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .top-info-wrapper .title-and-details-wrapper .price-and-actions-wrapper{width:25%;display:block;text-align:right}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .top-info-wrapper .title-and-details-wrapper .price-and-actions-wrapper .flexmls-price{margin-bottom:8px;display:block}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .main-details-section .flexmls-details{display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:16px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .main-details-section .flexmls-details .flexmls-detail{width:48%}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .main-details-section .flexmls-details .flexmls-detail .detail-label{font-size:20px;display:inline-block;margin-right:6px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .main-details-section .flexmls-details .flexmls-detail .detail-value{font-size:18px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .main-details-section .price-and-dates{display:flex;justify-content:space-between}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .main-details-section .price-and-dates .flexmls-detail{width:31%}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .features-section .property-details-wrapper{display:flex;flex-wrap:wrap;justify-content:space-between}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .features-section .property-details-wrapper .detail-value{width:48%}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-768 .slideshow-wrapper .listing-image,.flexmls-listing-details.flexmls-v2-widget.flexmls-width-768 .slideshow-wrapper .owl-stage-outer{height:600px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-768 .main-details-section .flexmls-details .flexmls-detail{width:31%;margin-bottom:12px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-768 .features-section .property-details-wrapper .detail-value{width:31%}body.flexmls-v2-templates.flexmls_connect__listing_details_page #flexmls_connect__cboxWrapper .flexmls_connect__contact_form table td{border:none}1 #flexmls_connect__cboxOverlay,#flexmls_connect__cboxWrapper,#flexmls_connect__colorbox{position:absolute;top:0;left:0;z-index:9999;overflow:hidden}#flexmls_connect__cboxWrapper{max-width:none}#flexmls_connect__cboxOverlay{position:fixed;width:100%;height:100%}#flexmls_connect__cboxBottomLeft,#flexmls_connect__cboxMiddleLeft{clear:left}#flexmls_connect__cboxContent{position:relative}#flexmls_connect__cboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}#flexmls_connect__cboxTitle{margin:0}#flexmls_connect__cboxLoadingGraphic,#flexmls_connect__cboxLoadingOverlay{position:absolute;top:0;left:0;width:100%;height:100%}#flexmls_connect__cboxClose,#flexmls_connect__cboxNext,#flexmls_connect__cboxPrevious,#flexmls_connect__cboxSlideshow{cursor:pointer}.flexmls_connect__cboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.flexmls_connect__cboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#flexmls_connect__cboxContent,#flexmls_connect__cboxLoadedContent,#flexmls_connect__colorbox{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#flexmls_connect__cboxOverlay{background:url(../images/overlay.png) repeat 0 0;opacity:.9;filter:alpha(opacity=90)}#flexmls_connect__colorbox{outline:0}#flexmls_connect__cboxTopLeft{width:21px;height:21px;background:url(../images/controls.png) no-repeat -101px 0}#flexmls_connect__cboxTopRight{width:21px;height:21px;background:url(../images/controls.png) no-repeat -130px 0}#flexmls_connect__cboxBottomLeft{width:21px;height:21px;background:url(../images/controls.png) no-repeat -101px -29px}#flexmls_connect__cboxBottomRight{width:21px;height:21px;background:url(../images/controls.png) no-repeat -130px -29px}#flexmls_connect__cboxMiddleLeft{width:21px;background:url(../images/controls.png) 0 0 repeat-y}#flexmls_connect__cboxMiddleRight{width:21px;background:url(../images/controls.png) 100% 0 repeat-y}#flexmls_connect__cboxTopCenter{height:21px;background:url(../images/border.png) 0 0 repeat-x}#flexmls_connect__cboxBottomCenter{height:21px;background:url(../images/border.png) 0 -29px repeat-x}#flexmls_connect__cboxContent{background:#fff;overflow:hidden}.flexmls_connect__cboxIframe{background:#fff}#flexmls_connect__cboxError{padding:50px;border:1px solid #ccc}#flexmls_connect__cboxLoadedContent{margin-bottom:28px}#flexmls_connect__cboxTitle{position:absolute;bottom:4px;left:0;text-align:center;width:100%;color:#949494}#flexmls_connect__cboxCurrent{position:absolute;bottom:4px;left:58px;color:#949494}#flexmls_connect__cboxLoadingOverlay{background:url(../images/loading_background.png) no-repeat 50%}#flexmls_connect__cboxLoadingGraphic{background:url(../images/loading.gif) no-repeat 50%}#flexmls_connect__cboxClose,#flexmls_connect__cboxNext,#flexmls_connect__cboxPrevious,#flexmls_connect__cboxSlideshow{border:0;padding:0;margin:0;overflow:visible;width:auto;background:none}#flexmls_connect__cboxClose:active,#flexmls_connect__cboxNext:active,#flexmls_connect__cboxPrevious:active,#flexmls_connect__cboxSlideshow:active{outline:0}#flexmls_connect__cboxSlideshow{position:absolute;bottom:4px;right:30px;color:#0092ef}#flexmls_connect__cboxPrevious{position:absolute;bottom:0;left:0;background:url(../images/controls.png) no-repeat -75px 0;width:25px;height:25px;text-indent:-9999px}#flexmls_connect__cboxPrevious:hover{background-position:-75px -25px}#flexmls_connect__cboxNext{position:absolute;bottom:0;left:27px;background:url(../images/controls.png) no-repeat -50px 0;width:25px;height:25px;text-indent:-9999px}#flexmls_connect__cboxNext:hover{background-position:-50px -25px}#flexmls_connect__cboxClose{position:absolute;top:0;right:0;background:url(../images/controls.png) no-repeat -25px 0;width:25px;height:25px;text-indent:-9999px}#flexmls_connect__cboxClose:hover{background-position:-25px -25px}.flexmls_connect__cboxIE #flexmls_connect__cboxBottomCenter,.flexmls_connect__cboxIE #flexmls_connect__cboxBottomLeft,.flexmls_connect__cboxIE #flexmls_connect__cboxBottomRight,.flexmls_connect__cboxIE #flexmls_connect__cboxMiddleLeft,.flexmls_connect__cboxIE #flexmls_connect__cboxMiddleRight,.flexmls_connect__cboxIE #flexmls_connect__cboxTopCenter,.flexmls_connect__cboxIE #flexmls_connect__cboxTopLeft,.flexmls_connect__cboxIE #flexmls_connect__cboxTopRight{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)}.owl-carousel{display:none;width:100%;-webkit-tap-highlight-color:transparent;position:relative;z-index:1}.owl-carousel .owl-stage{position:relative;touch-action:manipulation;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translateZ(0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0)}.owl-carousel .owl-item{position:relative;min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;margin:0 auto;max-height:65vh;max-width:100%;width:auto}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-nav button.owl-next,.owl-carousel .owl-nav button.owl-prev,.owl-carousel button.owl-dot{background:none;color:inherit;border:none;padding:0!important;font:inherit}.owl-carousel.owl-loaded{display:block}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.no-js .owl-carousel{display:block}.owl-carousel .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item .owl-lazy:not([src]),.owl-carousel .owl-item .owl-lazy[src^=""]{max-height:0}.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{transform:scale(1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:50%;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%}.flexmls_connect__button,.flexmls_connect__page_content button,.flexmls_connect__sr_detail button{background:#fcfcfc;background:linear-gradient(0deg,#fcfcfc 0,#e6e6e6);border-radius:4px;background-clip:padding-box;color:#000;padding:.3em .8em;font-size:11px;cursor:pointer;white-space:nowrap;margin:0 2px 2px 0;border:1px solid #afafaf;vertical-align:middle}.flexmls_connect__button:hover,.flexmls_connect__page_content button:hover,.flexmls_connect__sr_detail button:hover{background:#fefefe;background:linear-gradient(0deg,#fefefe 0,#f3f3f3);color:#000}.flexmls_connect__button:active,.flexmls_connect__page_content button:active,.flexmls_connect__sr_detail button:active{box-shadow:0 1px 0 hsla(0,0%,100%,.3),inset 0 1px 3px rgba(0,0,0,.7);opacity:1}a.flexmls_connect__button{text-decoration:none}a.flexmls_connect__button:hover{text-decoration:underline}.flexmls_connect__page_content button.colored,.flexmls_connect__sr_detail button.colored{background:#7a9be2;background:linear-gradient(0deg,#7a9be2 0,#5069c3);border:1px solid #5069c3;color:#fff;text-shadow:1px 1px 2px #000}.flexmls_connect__page_content button.colored:hover,.flexmls_connect__sr_detail button.colored:hover{background:#94afe8;background:linear-gradient(0deg,#94afe8 0,#7387cf)}.flexmls_connect__page_content button img,.flexmls_connect__sr_detail button img{margin:0 3px 0 0}tr.flexmls_connect__zebra:nth-child(2n){background-color:#ededed}.flexmls_connect__photo_switcher button{vertical-align:middle;text-align:center}.flexmls_connect__photo_switcher button img{border:0;width:6px;height:11px;margin:2px}.flexmls_connect__search ul.as-selections{border-color:#888 #aaa #b6b6b6!important;border-style:solid!important;border-width:1px!important;padding:4px 0 4px 4px!important;overflow:auto!important;background-color:#fff!important;box-shadow:inset 0 1px 2px #888!important;-webkit-box-shadow:inset 0 1px 2px #888!important;-moz-box-shadow:inset 0 1px 2px #888!important}.flexmls_connect__search ul.as-selections.loading{background-color:#eee}.flexmls_connect__search ul.as-selections li{float:left;margin:1px 4px 1px 0;list-style-type:none!important}.flexmls_connect__search ul.as-selections li.as-selection-item{color:#2b3840!important;font-size:13px!important;font-family:Lucida Grande,arial,sans-serif!important;text-shadow:0 1px 1px #fff!important;background-color:#ddeefe!important;background-image:-webkit-gradient(linear,0 0,0 100%,from(#ddeefe),to(#bfe0f1))!important;border:1px solid #acc3ec!important;border-top-color:#c0d9e9!important;padding:2px 7px 2px 10px!important;border-radius:12px!important;-webkit-border-radius:12px!important;-moz-border-radius:12px!important;box-shadow:0 1px 1px #e4edf2!important;-webkit-box-shadow:0 1px 1px #e4edf2!important;-moz-box-shadow:0 1px 1px #e4edf2!important;-ms-user-select:none!important;user-select:none!important;-webkit-user-select:none!important;-moz-user-select:none!important}.flexmls_connect__search ul.as-selections li.as-selection-item:last-child{margin-left:30px}.flexmls_connect__search ul.as-selections li.as-selection-item a.as-close{float:right;margin:1px 0 0 7px;padding:0 2px;cursor:pointer;color:#5491be;font-family:Helvetica,helvetica,arial,sans-serif;font-size:14px;font-weight:700;text-shadow:0 1px 1px #fff;-webkit-transition:color .1s ease-in}.flexmls_connect__search ul.as-selections li.as-selection-item.blur{color:#666;background-color:#f4f4f4;background-image:-webkit-gradient(linear,0 0,0 100%,from(#f4f4f4),to(#d5d5d5));border-color:#ccc #bbb #bbb;box-shadow:0 1px 1px #e9e9e9;-webkit-box-shadow:0 1px 1px #e9e9e9;-moz-box-shadow:0 1px 1px #e9e9e9}.flexmls_connect__search ul.as-selections li.as-selection-item.blur a.as-close{color:#999}.flexmls_connect__search ul.as-selections li:hover.as-selection-item{color:#2b3840;background-color:#bbd4f1;background-image:-webkit-gradient(linear,0 0,0 100%,from(#bbd4f1),to(#a3c2e5));border-color:#8bb7ed #6da0e0 #6da0e0}.flexmls_connect__search ul.as-selections li:hover.as-selection-item a.as-close{color:#4d70b0}.flexmls_connect__search ul.as-selections li.as-selection-item.selected{border-color:#1f30e4}.flexmls_connect__search ul.as-selections li.as-selection-item a:hover.as-close{color:#1b3c65}.flexmls_connect__search ul.as-selections li.as-selection-item a:active.as-close{color:#4d70b0}.flexmls_connect__search ul.as-selections li.as-original{margin-left:0;width:100%}.flexmls_connect__search ul.as-selections li.as-original input{border:none;outline:none;font-size:13px;height:18px;line-height:18px;padding-top:3px}.flexmls_connect__search ul.as-list{position:absolute;list-style-type:none;margin:2px 0 0;padding:0;font-size:14px;color:#000;font-family:Lucida Grande,arial,sans-serif;background-color:#fff;background-color:hsla(0,0%,100%,.95)!important;z-index:2;box-shadow:0 2px 12px #222;-webkit-box-shadow:0 2px 12px #222;-moz-box-shadow:0 2px 12px #222;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px}.flexmls_connect__search li.as-result-item,li.as-message{margin:0;padding:5px 12px;background-color:transparent;*background-color:#fff;border:1px solid;border-color:#fff #fff #ddd;cursor:pointer;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px}.flexmls_connect__search li:first-child.as-result-item{margin:0}.flexmls_connect__search li.as-message{margin:0;cursor:default}.flexmls_connect__search li.as-result-item.active{background-color:#3668d9;background-image:-webkit-gradient(linear,0 0,0 64%,from(#6e81f5),to(#3e52f2));border-color:#3342e8;color:#fff;text-shadow:0 1px 2px #122042}.flexmls_connect__search li.as-result-item em{font-style:normal;background:#444;padding:0 2px;color:#fff}.flexmls_connect__search li.as-result-item.active em{background:#253f7a;color:#fff}@media screen and (-webkit-min-device-pixel-ratio:0){.flexmls_connect__search ul.as-selections{border-top-width:2px}.flexmls_connect__search ul.as-selections li.as-selection-item{padding-top:3px;padding-bottom:3px}.flexmls_connect__search ul.as-selections li.as-selection-item a.as-close{margin-top:-1px}.flexmls_connect__search ul.as-selections li.as-original input{line-height:19px;height:19px}}@media (-webkit-min-device-pixel-ratio:10000),not all and (-webkit-min-device-pixel-ratio:0){.flexmls_connect__search ul.as-list{border:1px solid #888}.flexmls_connect__search ul.as-selections li.as-selection-item a.as-close{margin-left:4px;margin-top:0}}.flexmls_connect__search ul.as-list{border:1px solid\9}.flexmls_connect__search ul.as-selections li.as-selection-item a.as-close{margin-left:4px\9;margin-top:0\9}.flexmls_connect__search ul.as-list,x:-moz-any-link,x:default{border:1px solid #888}BODY:first-of-type ul.as-list,x:-moz-any-link,x:default{border:none}@font-face{font-family:flexmls-icons;src:url(../fonts/icomoon.eot?-pmhnf7=);src:url(../fonts/icomoon.eot?#iefix-pmhnf7=) format("embedded-opentype"),url(../fonts/icomoon.woff?-pmhnf7=) format("woff"),url(../fonts/icomoon.ttf?-pmhnf7=) format("truetype"),url(../fonts/icomoon.svg?-pmhnf7#icomoon=) format("svg");font-weight:400;font-style:normal}[class*=" flexmls-icon-"],[class^=flexmls-icon-]{font-family:flexmls-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.flexmls-icon-inbox:before{content:"\e600"}.flexmls-icon-thumb_up:before{content:"\e601"}.flexmls-icon-thumb_down:before{content:"\e602"}.flexmls-icon-heart:before{content:"\e603"}.flexmls-icon-star:before{content:"\e604"}.flexmls-icon-x_circle:before{content:"\e605"}.flexmls-icon-collection:before{content:"\e606"}.flexmls-icon-search:before{content:"\e607"}.flexmls-icon-search_agent:before{content:"\e608"}.flexmls-icon-plus_large:before{content:"\e609"}.flexmls-icon-eye:before{content:"\e60a"}.flexmls-icon-comment:before{content:"\e60b"}.flexmls-icon-more_dots:before{content:"\e60c"}.flexmls-icon-print:before{content:"\e60d"}.flexmls-icon-save:before{content:"\e60e"}.flexmls-icon-email:before{content:"\e60f"}.flexmls-icon-chart:before{content:"\e610"}.flexmls-icon-download:before{content:"\e611"}.flexmls-icon-link:before{content:"\e612"}.flexmls-icon-arrow_up:before{content:"\e613"}.flexmls-icon-arrow_down:before{content:"\e614"}.flexmls-icon-refresh:before{content:"\e615"}.flexmls-icon-carrot_line:before{content:"\e616"}.flexmls-icon-carrot_fill:before{content:"\e617"}.flexmls-icon-search_small:before{content:"\e618"}.flexmls-icon-check_small:before{content:"\e619"}.flexmls-icon-briefcase:before{content:"\e61a"}.flexmls-icon-add:before{content:"\e61b"}.flexmls-icon-minus:before{content:"\e61c"}.flexmls-icon-gear:before{content:"\e61d"}.flexmls-icon-refresh_large:before{content:"\e61e"}.flexmls-icon-check:before{content:"\e61f"}.flexmls-icon-view_list_line:before{content:"\e620"}.flexmls-icon-view_list_fill:before{content:"\e621"}.flexmls-icon-view_gallery_line:before{content:"\e622"}.flexmls-icon-view_gallery_fill:before{content:"\e623"}.flexmls-icon-view_map:before{content:"\e624"}.flexmls-icon-x_close:before{content:"\e625"}.flexmls-icon-arrow_page_next:before{content:"\e626"}.flexmls-icon-arrow_page_previous:before{content:"\e627"}.flexmls-icon-collection_new:before{content:"\e628"}.flexmls-icon-search_new:before{content:"\e629"}.flexmls-icon-facebook:before{content:"\e62a"}.flexmls-icon-google_plus:before{content:"\e62b"}.flexmls-icon-logo_flexmls:before{content:"\e62c"}.flexmls-icon-badge_comment:before{content:"\e62d"}.flexmls-icon-badge_eye:before{content:"\e62e"}.flexmls-icon-badge_heart:before{content:"\e62f"}.flexmls-icon-badge_plus:before{content:"\e630"}.flexmls-icon-badge_refresh:before{content:"\e631"}.flexmls-icon-badge_star:before{content:"\e632"}.flexmls-icon-badge_thumb_up:before{content:"\e633"}.flexmls-icon-badge_thumb_down:before{content:"\e634"}.flexmls-icon-badge_x:before{content:"\e635"}.flexmls-icon-badge_collection:before{content:"\e636"}.flexmls-icon-badge_arrow_down:before{content:"\e637"}.flexmls-icon-badge_briefcase:before{content:"\e638"}.flexmls-icon-badge_arrow_up:before{content:"\e639"}.flexmls-icon-badge_minus:before{content:"\e63a"}.flexmls-icon-street_view:before{content:"\e63b"}.flexmls-icon-birds_eye:before{content:"\e63c"}.flexmls-icon-messages_fill:before{content:"\e63d"}.flexmls-icon-messages_line:before{content:"\e63e"}.flexmls-icon-group:before{content:"\e63f"}.flexmls-icon-full_screen:before{content:"\e640"}.flexmls-icon-arrow_photo_next:before{content:"\e641"}.flexmls-icon-arrow_photo_previous:before{content:"\e642"}.flexmls-icon-play_circle_small:before{content:"\e643"}.flexmls-icon-play_circle_large:before{content:"\e644"}.flexmls-icon-no-alarm:before{content:"\e645"}.flexmls-icon-alarm:before{content:"\e646"}.flexmls-icon-star-full:before{content:"\e9d9"}.flexmls-icon-blocked:before{content:"\ea0e";transform:rotate(90deg);display:inline-block}.flexmls_connect__form_row{margin-bottom:1rem;position:relative}.flexmls_connect__form_row:after,.flexmls_connect__form_row:before{content:"";display:table}.flexmls_connect__form_row:after{clear:both}.flexmls_connect__form_row.flexmls_connect__form_row_color{clip:rect(0,0,0,0);height:0;left:-9999rem;position:absolute;width:0}.flexmls_connect__form_input,.flexmls_connect__form_label,.flexmls_connect__form_textarea{display:block;font-size:1rem;width:100%}@media (min-width:481px){.flexmls_connect__form_input,.flexmls_connect__form_label,.flexmls_connect__form_textarea{display:inline-block;vertical-align:top}}@media (min-width:481px){.flexmls_connect__form_label{width:9rem}}@media (min-width:481px){.flexmls_connect__form_textarea{width:66%}}button.flexmls_leadgen_button[disabled]{cursor:not-allowed;opacity:.8;pointer-events:none}.flexmls_connect__form_message{background:#fff;border-left:4px solid transparent;font-weight:700;margin-bottom:1rem;padding:1rem;text-align:center}.flexmls_connect__form_message.flexmls_connect__form_message-error{border-left-color:#dc3232;box-shadow:0 0 2px rgba(0,0,0,.3);color:#dc3232}.flexmls_connect__form_message.flexmls_connect__form_message-success{border-left-color:#46b450;box-shadow:0 0 2px rgba(0,0,0,.3);color:#46b450}.flexmls_connect__form_footer{text-align:right}.flexmls_loading_svg{display:inline-block;height:2rem;margin-right:1rem;width:2rem}.flexmls-warning{border-left:.25rem solid #dc3232;box-shadow:0 .06125rem .125rem #eaeaea;padding:1rem}.wp-dialog{background-color:#f5f5f5;z-index:999999!important;position:fixed!important}.wp-dialog .ui-dialog-titlebar-close{display:none}.ui-widget-overlay{background:url(../images/overlay.png) repeat scroll 0 0 transparent!important;opacity:.9!important;z-index:9999}.fmc_dialog{font-size:1.5em;height:auto;line-height:150%;min-height:45px;padding:13px;width:auto}.fmc-error{color:#cc3131;background-color:#f7e4e4;padding:5px 15px;border-radius:5px}.wp-dialog .ui-dialog-title{display:block;height:50px;line-height:2em;padding:1px 0 2px;text-align:center}#flexmls_connect__important{position:absolute;left:-5000px}.flexmls_connect__success_message{display:none;color:green;font-weight:700;text-align:center;padding:10px}.hover_container .hover_border:hover{border:2px solid #d2d2d2;border-radius:14px 14px 14px 14px;overflow:hidden;margin:10px;padding:5px}.hover_border{overflow:hidden;margin:10px;padding:5px;border:2px solid transparent}.hover_container{margin-bottom:15px}.flexmls_connect__carousel{text-align:left;max-width:100%}.flexmls_connect__container{max-width:100%;overflow:hidden;position:relative;background-color:#fff;padding:8px 0;border:1px solid #fff}.flexmls_connect__container .flexmls_connect__empty_message{color:#ccc;font-weight:700;font-size:14pt;text-align:center;padding:1.5em 0}.flexmls_connect__slides img{border:0!important;padding:0!important;margin:0!important}.flexmls_connect__slides a{line-height:10px;display:block}.flexmls_connect__slides a.flexmls_popup:hover{opacity:.75}.flexmls_connect__slides a.popup_no_link:hover{opacity:.75}.flexmls_connect__carousel .pleasewait{background:#fff url(../images/loading.gif) no-repeat 4px;position:absolute;border:2px solid #999;color:#666;font-weight:700;padding:8px 16px 8px 40px;margin:0 0 0 -24px;box-shadow:2px 2px 10px #ccc}.flexmls_connect__slide_page{display:none}.elementor-widget-container .flexmls_connect__slide_page,.is_admin_content .flexmls_connect__slide_page{display:block}.is_admin_content .flexmls_connect__slide_row{display:flex}.is_admin_content .flexmls_connect__listing{pointer-events:none}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.flexmls_connect__listing{box-sizing:border-box;position:relative;padding:2px;text-align:center;background-color:#fff;border:1px solid #fff;float:left;margin-bottom:2%;max-width:100%}.columns2 .flexmls_connect__listing,.columns3 .flexmls_connect__listing,.columns4 .flexmls_connect__listing,.columns5 .flexmls_connect__listing,.columns6 .flexmls_connect__listing,.columns7 .flexmls_connect__listing,.columns8 .flexmls_connect__listing{margin:0 .5% 1%}.columns2 .flexmls_connect__listing{width:49%}.columns3 .flexmls_connect__listing{width:32%}.columns4 .flexmls_connect__listing{width:24%}.columns5 .flexmls_connect__listing{width:19%}.columns6 .flexmls_connect__listing{width:15.66666%}.columns7 .flexmls_connect__listing{width:13.28571%}.columns8 .flexmls_connect__listing{width:11.5%}.flexmls_connect__slides div p.caption{margin:0!important}.flexmls_connect__slides div p.caption a{font-size:12px;line-height:15px;font-weight:700;margin-top:2px;text-decoration:none;color:#333}.flexmls_connect__slides div p.caption a small{font-size:10px;line-height:12px;color:#888;font-weight:400;display:block;text-decoration:none;padding-top:2px;margin-top:2px}.flexmls_connect__slides div p.caption a small.dark{color:#333;border-bottom:1px solid #ccc;padding-bottom:3px;margin:.15em 0 3px}.flexmls_connect__carousel_nav{background:#fff;text-align:center}.flexmls_connect__carousel ul.pagination{list-style-type:none!important;margin:0!important;padding-top:8px;display:inline-block}.flexmls_connect__carousel ul.pagination li{float:left!important;margin:0 2px!important;background-image:none!important;list-style-type:none!important}.flexmls_connect__carousel ul.pagination a{float:none!important;margin:0!important;padding:7px 0 0!important;display:block!important;width:7px!important;text-indent:-999999px!important;height:0!important;overflow:hidden!important;background:none!important;background-image:url(../images/loopedCarousel/pagination.png)!important;background-position:0 0!important;background-repeat:no-repeat!important}.flexmls_connect__carousel ul.pagination li.active a{background-position:0 -7px!important}.flexmls_connect__carousel a{font-size:12px}.flexmls_connect__carousel a.next,.flexmls_connect__carousel a.previous{padding:4px;font-style:italic;color:#000}.flexmls_connect__carousel a.previous{float:left}.flexmls_connect__carousel a.next{float:right}.flexmls_connect__count{text-align:right}.flexmls_connect__active_color{color:#000;font-style:none;background-color:inherit}.flexmls_connect__inactive_color{color:#ccc;font-style:italic;background-color:inherit}.flexmls_connect__error_color{color:#c00;background-color:#fcc}.flexmls_connect__hidden,.flexmls_connect__hidden2,.flexmls_connect__hidden3,.flexmls_connect__market_stats ul{display:none}.flexmls_connect__count,.flexmls_connect__disclaimer,.flexmls_connect__disclaimer a{font-size:8pt;color:#333;clear:both}.flexmls_connect__carousel .flexmls_connect__disclaimer,.flexmls_connect__carousel .flexmls_connect__disclaimer a{font-size:7.5pt;margin-top:2.5em;white-space:nowrap}.flexmls_connect__disclaimer a{text-decoration:underline;cursor:pointer}.flexmls_connect__badge{font-family:Arial,sans-serif;color:#fff;font-weight:700;font-size:8pt;border:1px solid #dadada;border-right:0;border-bottom:0;padding:2px;line-height:8pt;background-color:#454545}.flexmls_connect__badge,img.flexmls_connect__badge_image{cursor:pointer;position:absolute;bottom:0;right:0;margin:0!important}img.flexmls_connect__badge_image{width:20px!important;height:13px!important;border:0;padding:0}.flexmls_connect__colorbox_address .flexmls_connect__badge,.flexmls_connect__disclaimer .flexmls_connect__badge,.flexmls_connect__disclaimer .flexmls_connect__badge_image{display:inline;position:static;margin-right:.5em!important}.flexmls_connect__market_stats .legendLayer .background{fill:hsla(0,0%,100%,0);stroke:rgba(0,0,0,.85);stroke-width:0}.flexmls_connect__search{padding:.5em}.flexmls_connect__search form{padding:0;margin:0}.flexmls_connect__search label{cursor:pointer;display:inline}.flexmls_connect__search table{width:100%;margin:0;border-collapse:separate;border-spacing:0 .35em}.flexmls_connect__search table tr td{text-align:center;font-style:italic}.flexmls_connect__search table tr td.first{text-align:right;white-space:nowrap}.flexmls_connect__search table tr td span{margin:0 .25em;white-space:nowrap;display:inline-block}.flexmls_connect__search table tr td input.text{width:90%;text-align:center;font-weight:700;background-color:#fff}.flexmls_connect__search table tr td input.property-type-checkbox{margin:.5em .25em}.flexmls_connect__search_field .select2-container{width:100%}.flexmls_connect__search .shade{background-color:transparent;background-color:rgba(0,0,0,.25)}.flexmls_connect__search_agent_input input{margin-top:4px;margin-bottom:4px;padding:.25em;background-color:#fff;color:#000;text-align:left;font-weight:400;border:1px solid #989898;background-color:#fff!important;box-shadow:inset 0 0 0 #888!important;-webkit-box-shadow:inset 0 0 0 #888!important;-moz-box-shadow:inset 0 0 0 #888!important}.flexmls_connect_location_search{width:75%;background:#000!important;color:#fff!important;text-shadow:0 1px 1px #111!important;box-shadow:0 1px 1px #111!important;-webkit-box-shadow:0 1px 1px #111!important;-moz-box-shadow:0 1px 1px #111!important;background:-moz-linear-gradient(to top,#333 0,#4d4d4d 50%,#000 51%,#000 100%)!important;border-radius:.35em .35em .35em .35em!important;text-align:center!important;font-weight:700!important;cursor:pointer}.flexmls_connect__agent_search{color:#000;width:300px;font-family:Arial,sans-serif;box-shadow:0 2px 6px #000!important;-webkit-box-shadow:0 2px 6px #000!important;-moz-box-shadow:0 2px 6px #000!important;background-color:#fff;padding:20px;margin:3px 3px 20px}.flexmls_connect__colorbox_address{padding:.1em 0 .3em;text-align:center;width:100%;color:#333;font-size:1.1em;position:absolute;top:0}#flexmls_connect__cboxLoadedContent{color:#000}#flexmls_connect__cboxLoadedContent iframe{width:100%;height:100%}.flexmls_connect__market_stats.center div,.flexmls_connect__market_stats.center div table tbody tr,.flexmls_connect__market_stats.center p{text-align:center;margin-left:auto;margin-right:auto}.flexmls_connect__market_stats.right div,.flexmls_connect__market_stats.right div table tbody tr,.flexmls_connect__market_stats.right p{text-align:right;margin-left:auto}.flexmls_connect__carousel.center{text-align:center;margin-left:auto;margin-right:auto}.flexmls_connect__carousel.right{text-align:right;margin-left:auto}#flexmls_connect__stat_tooltip{position:absolute;display:none;border:1px solid #d0d0d0;padding:2px;background-color:#eee;opacity:.8;color:#333}.flexmls_connect__search ul.as-selections{margin:0!important;list-style-type:none!important;border:1px solid #989898!important;box-shadow:inset 0 0 0 #888!important;-webkit-box-shadow:inset 0 0 0 #888!important;-moz-box-shadow:inset 0 0 0 #888!important;width:100%}.flexmls_connect__search ul.as-selections li.as-selection-item{border-radius:4px!important;-webkit-border-radius:4px!important;-moz-border-radius:4px!important}.flexmls_connect__search ul.as-list{list-style-type:none!important}.flexmls_connect__search li.as-result-item,li.as-message{text-align:left!important}.flexmls_connect__heading{font-weight:700}.my_account_outer{overflow:auto;border:2px solid #000;margin-bottom:15px;padding:20px}.my_account_inner{margin:15px;float:left}.flexmls_connect__right{position:relative;float:right}.flexmls_connect__field_label{font-weight:700}.flexmls_connect__zebra:nth-child(odd),div.flexmls_connect__zebra:nth-child(odd){background-color:#ccc}.flexmls_connect__zebra{padding:4px}ul.flexmls-idx-media-links{list-style:none outside none;margin:0}.flexmls-idx-media-links{padding:0}ul.flexmls-idx-media-links>li{display:inline;margin:0;padding:0}.flexmls-idx-media-links>li:after{content:" | "}.flexmls-idx-media-links>li:last-child:after{content:""}.flexmls_connect__sr_detail .flexmls_connect__tab_div{margin:30px 0 20px;border-bottom:1px solid #cfcfcf}.flexmls_connect__sr_detail .flexmls_connect__tab{background:#f2f2f2;background:linear-gradient(0deg,#f2f2f2 0,#d4d4d4);border-top-right-radius:.5em;-moz-border-radius:.5em;border-top-left-radius:.5em;background-clip:padding-box;color:#000;cursor:pointer;font-size:13px;padding:.5em .75em .45em;margin-right:6px;border:1px solid #cfcfcf;border-bottom:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:-moz-inline-box;display:inline-block;vertical-align:baseline;zoom:1;*display:inline;*vertical-align:auto;position:relative;top:1px}.flexmls_connect__sr_detail .flexmls_connect__tab.active{background:#fff;cursor:default}.flexmls_connect__schedule_showing_table{table-layout:auto}.flexmls_connect__required{color:red}.flexmls_connect__schedule_showing_table tr td{text-align:left!important;padding:5px!important}#flexmls_connect__detail_group table tr td{text-align:left!important}.flexmls_connect__sr_detail .flexmls_connect__detail_header{font-size:1.25em;display:block;background-color:#cfcfcf;padding:4px;color:#000}.flexmls_connect__sr_detail td{padding:4px}.flexmls_connect__sr_detail b{color:#000}#flexmls_connect__map_canvas{width:100%;height:400px}.flexmls_connect__sr_pagination{text-align:center}.flexmls_connect__sr_pagination a,.flexmls_connect__sr_pagination span{text-decoration:none;padding:12px;font-weight:700}.flexmls_connect__sr_pagination a:hover{text-decoration:underline}.flexmls_connect__sr_pagination .flexmls_connect__button{color:#000}.flexmls_connect__idx_disclosure_text{margin-top:4em}.flexmls_connect__prev_next{position:relative;float:right;margin-bottom:.25em}.flexmls_connect__prev_next button{vertical-align:top}.flexmls_connect__prev_next button.left img{margin:0 3px 0 0}.flexmls_connect__prev_next button.right img{margin:0 0 0 3px}.flexmls_connect_select{margin:.5em 0}.flexmls_connect_hasJavaScript{display:none}.portal-button-primary{font-weight:700;font-size:13px}.portal-button-secondary{color:#007;background:none repeat scroll 0 0 transparent;border:0}.listing_cart{margin-bottom:.5em}.listing_cart i{cursor:pointer;color:#b3b3b3;font-size:1.4em;padding-right:.5em}.listing_cart i:hover{color:#999}.selected .flexmls-icon-heart,.selected .flexmls-icon-heart:hover{color:#d9a5ed}.selected .flexmls-icon-thumb_up,.selected .flexmls-icon-thumb_up:hover{color:#4cd964}.selected .flexmls-icon-thumb_down,.selected .flexmls-icon-thumb_down:hover{color:#fc3e39}.flexmls_connect_vtour_link_alternative{display:block;top:50%;left:50%;width:300px;margin-left:-150px;position:absolute}@media print{body{background-color:#fff}.flexmls_connect__disclaimer_text{display:block;font-size:8pt;line-height:8pt}.flexmls_connect__sr_divider{margin:0}.flexmls_connect__sr_address{margin-bottom:0}.flexmls_connect__photo_container{border:1px solid transparent!important}.flexmls_connect__main_image{padding:2px;border:1px solid #cfcfcf}.flexmls_connect__filmstrip,.flexmls_connect__not_printable,.flexmls_connect__photo_pager,.flexmls_connect__sr_details,.flexmls_connect__tab_div,button{display:none!important}}.elementor-element-edit-mode .flexmls_connect__market_stats_graph{background-color:#dadada;display:flex;justify-content:center;align-items:center}.elementor-element-edit-mode .flexmls_connect__market_stats_graph:after{display:block;content:"The graph will be displayed on the site";color:#a0a0a0;font-size:25px}.flexmls_connect__sr_divider{clear:both;margin-top:15px;margin-bottom:15px;height:1px;color:#d3d3d3;background-color:#d3d3d3;border:none;display:block}.flexmls_connect__sr_email_updates{line-height:4.5em;margin:14px}.flexmls_connect__sr_matches_count{font-size:26px;font-weight:700;padding-right:.2em}.flexmls_connect__sr_result{padding-bottom:1em;border-bottom:1px solid #d3d3d3;margin-bottom:1em}.flexmls_connect__sr_result:after,.flexmls_connect__sr_result:before{content:"";display:table}.flexmls_connect__sr_result:after{clear:both}.flexmls_connect__sr_detail a,.flexmls_connect__sr_email_updates a,.flexmls_connect__sr_result a{text-decoration:none;cursor:pointer}.flexmls_connect__sr_detail a:hover,.flexmls_connect__sr_email_updates a:hover,.flexmls_connect__sr_result a:hover{text-decoration:underline}.flexmls_connect__sr_price{font-size:24px;color:#000}.flexmls_connect__sr_address{margin-bottom:13px;font-size:18px}.flexmls_connect__sr_result{text-align:center}.flexmls_connect__sr_result img{box-sizing:border-box;padding:3px;border:1px solid #cdcbcc}.flexmls_connect__sr_result .flexmls_connect__sr_listing_facts{border-top:1px solid #d3d3d3;width:100%}.flexmls_connect__sr_result .flexmls_connect__sr_listing_facts tr td{padding:4px;width:50%;color:#000;vertical-align:top}.flexmls_connect__sr_result .flexmls_connect__sr_idx{padding-top:10px!important}.flexmls_connect__sr_result .flexmls_connect__sr_idx .flexmls_connect__badge{position:relative}.flexmls_connect__sr_details{clear:both;color:#d6d6d6;margin-bottom:1em}.flexmls_connect__sr_openhouse{color:#000;margin:4px}.flexmls_connect__sr_openhouse em{font-style:italic;font-size:1.25em;margin-right:8px}.flexmls_connect__sr_detail .flexmls_connect__sr_openhouse{margin-top:2em}.flexmls_connect__sr_main_photo{margin-bottom:1em}td.flexmls_connect__sr_idx,tr.flexmls_connect__sr_zebra_off td,tr.flexmls_connect__sr_zebra_on td{text-align:left!important}tr.flexmls_connect__sr_zebra_on{background-color:#ededed}.flexmls_connect__sr_view_options>div{display:inline-block}.flexmls_connect__sr_view_options .listingsperpage{margin-right:1em}.flexmls_connect__sr_details_buttons button{margin-bottom:.8em}.flexmls_connect__sr_details_buttons button:first-of-type{margin-right:1em}.flexmls_connect__sr_asset_link{display:block}.flexmls_connect__sr_save_search{position:relative}.flexmls_connect__sr_save_search_save_confirm{position:absolute;left:0;top:0;background:#fff;z-index:10;width:320px;max-width:95vw;padding:4px}.flexmls_connect__sr_save_search_save_confirm .flexmls_connect_search_name{width:65%;float:left;margin-right:5%}.flexmls_connect__sr_save_search_save_confirm .flexmls_connect_search_submit{width:30%;float:left;padding:5px 10px}@media (min-width:481px){.flexmls_connect__sr_result{text-align:left}.flexmls_connect__sr_left_column{float:left;max-width:46%}.flexmls_connect__sr_listing_facts_container{width:50%;float:right}.flexmls_connect__sr_details{clear:none}}@media (min-width:768px){.flexmls_connect__sr_matches{float:left}.flexmls_connect__sr_view_options{float:right}.flexmls_connect__sr_result img{box-sizing:border-box;float:left;margin-right:11px;margin-bottom:13px}.flexmls_connect__sr_result .flexmls_connect__sr_details{float:none;max-width:none}.flexmls_connect__sr_left_column{max-width:36%}.flexmls_connect__sr_listing_facts_container{width:60%}.flexmls_connect__sr_asset_link{display:inline-block}.flexmls_connect__sr_asset_link+.flexmls_connect__sr_asset_link{margin-left:.8em;border-left:1px solid #ccc;padding-left:.8em}}.flexmls_connect__listing_details_page .entry-title{display:none}.flexmls_connect__listing_details_page .listing_cart{display:flex}.flexmls_connect__listing_details_page .flexmls_portal_cart_handle i{color:#d3d3d3}.flexmls_connect__listing_details_page .flexmls_portal_cart_handle i:hover{color:#e9e8e8}.flexmls_connect__listing_details_page .Rejects.selected i{color:#f50000;text-shadow:0 0 3px rgba(0,0,0,.3)}.flexmls_connect__listing_details_page .Favorites.selected i{color:#f9dd00;text-shadow:0 0 1px rgba(0,0,0,.5)}.flexmls_connect__ld_status{color:orange;font-weight:700}.flexmls_connect__ld_status.status_closed{color:#00f}.flexmls_connect__ld_price{font-size:24px;color:#000;display:flex}.flexmls_connect__price_changes{font-size:16px;margin:12px 0 0 12px}.flexmls_connect__price_changes span{font-size:14px}.flexmls_connect__price_changes_down{color:red}.flexmls_connect__price_changes_up{color:green}.flexmls_connect__ld_button_group button{display:block;margin-bottom:.8em}.flexmls_connect__sr_detail .flexmls_connect__photos{text-align:center}.flexmls_connect__sr_detail .flexmls_connect__photo_pager{text-align:center;margin:12px 0}.flexmls_connect__photo_switcher{color:#000;font-size:1.25em;margin-bottom:.6em}.flexmls_connect__ld_larger_photos_link{display:none}.flexmls_connect__photo_container{width:98%;overflow:hidden}.flexmls_connect__photo_container img{max-height:400px}.flexmls_connect__sr_detail .flexmls_connect__main_image{cursor:pointer}.flexmls_connect__sr_detail .flexmls_connect__filmstrip,.flexmls_connect__sr_detail .flexmls_connect__photo_container{padding:6px;border:1px solid #cdcbcc;margin:0 auto;display:block}.flexmls_connect__sr_detail .flexmls_connect__filmstrip{width:98%;height:70px;overflow-x:auto;overflow-y:hidden;text-align:left;vertical-align:middle;word-wrap:normal;white-space:nowrap;border:1px solid #ababab}.flexmls_connect__sr_detail .flexmls_connect__filmstrip img{border:1px solid #9a9899;height:42px;margin:8px 4px 0;cursor:pointer}.flexmls_connect__sr_detail .flexmls_connect__filmstrip img.filmstrip_over{border:1px solid #000}.flexmls_connect__ld_detail_table{border:1px solid #cfcfcf;margin-bottom:1em}.flexmls_connect__ld_property_detail{font-size:14px;padding:.4em 1em}.flexmls_connect__ld_property_detail:nth-of-type(2n){background:#ededed}.flexmls_connect__ld_property_detail+.flexmls_connect__ld_property_detail{border-top:1px solid #cfcfcf}.flexmls_connect__ld_property_detail_row+.flexmls_connect__ld_property_detail_row{border-top:1px solid #cfcfcf}.flexmls_connect__ld_property_detail_row:nth-of-type(2n){background:#ededed}.columns2 .flexmls_connect__ld_property_detail_row:nth-of-type(2n){background:none}.flexmls_connect__sr_left_column{position:relative}.flexmls_connect__sr_left_column .flexmls_connect__sr_details{clear:both}.flexmls_connect__sr_left_column .flexmls_connect__sr_details .listing_cart{position:absolute;top:10px;right:3px;display:flex}.flexmls_connect__sr_left_column .flexmls_connect__sr_details .flexmls_portal_cart_handle i{color:#fff;text-shadow:0 0 3px rgba(0,0,0,.5)}.flexmls_connect__sr_left_column .flexmls_connect__sr_details .flexmls_portal_cart_handle i:hover{text-shadow:0 0 3px rgba(0,0,0,.7)}.flexmls_connect__sr_left_column .flexmls_connect__sr_details .Rejects.selected i{color:#f50000;text-shadow:0 0 3px rgba(0,0,0,.1)}.flexmls_connect__sr_left_column .flexmls_connect__sr_details .Favorites.selected i{color:#f9dd00;text-shadow:0 0 3px rgba(0,0,0,.3)}@media (min-width:481px){.flexmls_connect__listing_details_page .listing_cart{float:right;clear:right}.flexmls_connect__ld_price{float:right}.flexmls_connect__ld_button_group button{display:inline}.flexmls_connect__ld_button_group button+button{margin-left:1em}.flexmls_connect__sr_detail .flexmls_connect__photo_pager{text-align:left}.flexmls_connect__photo_switcher{float:right;margin-top:-4px}.columns2 .flexmls_connect__ld_property_detail_row:nth-of-type(2n),.flexmls_connect__ld_property_detail_row:nth-of-type(2n){background:#ededed}.columns2 .flexmls_connect__ld_property_detail_row+.flexmls_connect__ld_property_detail_row,.flexmls_connect__ld_property_detail_row+.flexmls_connect__ld_property_detail_row{border-top:1px solid #cfcfcf}.columns2 .flexmls_connect__ld_property_detail{box-sizing:border-box;width:50%;display:inline-block;vertical-align:top}.columns2 .flexmls_connect__ld_property_detail+.flexmls_connect__ld_property_detail{border:none}.columns2 .flexmls_connect__ld_property_detail:nth-of-type(2n){background:none}}.open-houses-list-details h2.flexmls-title-larger{margin-bottom:10px}.open-houses-list-details .open-house-list-inner{border-radius:5px;border:1px solid #ccc;padding:10px 15px;font-size:17px;margin:0 0 12px}@media (min-width:768px){.flexmls_connect__ld_larger_photos_link{display:inline-block}}body.admin-bar{position:relative}.flexmls_connect__search_new{padding:20px;margin:3px}.flexmls_connect__search_new:after,.flexmls_connect__search_new:before{content:"";display:table}.flexmls_connect__search_new:after{clear:both}.flexmls_connect__search_new button{font-size:26px}.flexmls_connect__search_new label{display:block;font-weight:700;margin-bottom:.1em}.flexmls_connect__search_new input[type=text]{box-sizing:border-box;border:1px solid #989898;width:43%}.flexmls_connect__search_new select{width:100%}.flexmls_connect__search_new .flexmls_connect__inactive_color{color:#999;font-style:normal!important}.flexmls_connect__search_new_to{display:inline-block;width:10%;text-align:center}.flexmls_connect__search_new_title{font-size:26px;font-weight:700}.flexmls_connect__search_field{margin-bottom:1em}.flexmls_connect__search_new_subtypes{margin-top:1em}.flexmls_connect__search_new_links{text-align:center;margin-top:1em}.flexmls_connect__search_new_links a{text-decoration:none}.flexmls_connect__search_new_checkboxes{margin-right:.5em}input[type=submit].flexmls_connect__search_new_submit{border-radius:.35em;background-clip:padding-box;font-size:22px;line-height:22px;font-family:Arial,sans-serif;padding:.25em;width:100%;text-align:center;font-weight:700;cursor:pointer;margin:.5em 0}.flexmls_connect__search_new_shadow{box-shadow:1px 1px 4px rgba(0,0,0,.4);border:1px solid #ccc}.flexmls_connect__search_new_subtypes{display:none}@media (min-width:481px){.flexmls_connect__search_new_horizontal .flexmls_connect__search_new_field_group{width:45%;float:left}.flexmls_connect__search_new_horizontal .flexmls_connect__search_new_links{width:45%;float:right;clear:right}}.flex-map{margin-bottom:40px}.flex-map-info-photo{margin-right:10px;width:100px;height:100px;background-size:cover;background-position:50%}.flex-map-info-info,.flex-map-info-photo{display:table-column;float:left}.flex-map-info-price{font-weight:800;font-size:1.2em;display:table-row}.flex-map-info-address-1,.flex-map-info-address-2,.flex-map-info-extra{display:table-row}.flex-map-markerLabels{overflow:inherit!important}.flex-map-marker-price{font-family:HelveticaNeue,Helvetica Neue,Work Sans,Helvetica,Arial,Lucida Grande,sans-serif;font-weight:400;align-items:center;background-color:#fff;border-radius:13px;border:1px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.2);color:#609fd6;display:flex;font-size:13px;height:27px;width:80px}.flex-map-marker-price .arrow{position:absolute;display:block;width:0;height:0;left:50%;bottom:-6px;margin-left:-5px;border-color:rgba(0,0,0,.1) transparent transparent;border-style:solid;border-width:6px 6px 0}.flex-map-marker-price .arrow:after{content:"";position:absolute;display:block;width:0;height:0;bottom:1px;margin-left:-7px;border-color:#fff transparent transparent;border-style:solid;border-width:6px 6px 0}.active .flex-map-marker-icon{background-color:#4cd964}.flex-map-marker-icon{align-items:center;background-color:#666;border-radius:50%;color:#fff;display:flex;font-size:24px;height:25px;justify-content:center;width:25px}.flex-map-marker-content{display:inline-block;padding:0 7px 0 5px}.flexmls_toggle-view{font-size:15px;text-align:center;display:inline-block;float:right}.flexmls_toggle-view a{text-decoration:none;display:block;float:left;padding:2px 5px;border:1px solid #ccc}.flexmls_toggle-view a.list-view{border-radius:10px 0 0 10px;border-right:1px solid #ccc}.flexmls_toggle-view a.map-view{border-radius:0 10px 10px 0;border-left:1px solid #ccc}.flexmls_toggle-view a.active{background-color:#82dbf0;color:#fff}.flexmls_toggle-view a:hover{background-color:#82dbf0;color:#fff}.flexmls_connect__page_content .flexmls_toggle-view a{text-decoration:none;border:1px solid #ccc}.flexmls_connect__page_content .flexmls_toggle-view a.list-view{border-right:1px solid #ccc}.flexmls_connect__page_content .flexmls_toggle-view a.map-view{border-left:1px solid #ccc}.flexmls_connect__page_content .flexmls_toggle-view a:hover{border:1px solid #ccc}.flexmls-v2-widget .flexmls-btn,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700!important;line-height:16px;transition:all .1s ease-in-out;min-width:88px;padding:11px 16px;text-decoration:none!important;box-shadow:none}.flexmls-v2-widget .flexmls-btn.flexmls-btn-primary,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-btn.flexmls-btn-primary{transition:all .1s ease-in-out;background-color:#0077d9;color:#fff}.flexmls-v2-widget .flexmls-btn.flexmls-btn-secondary,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-btn.flexmls-btn-secondary{transition:all .1s ease-in-out;background-color:#fff;color:#0077d9;border:1px solid #d9d9d9}.flexmls-v2-widget .flexmls-btn.flexmls-btn-sm,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-btn.flexmls-btn-sm{border-radius:4px;min-width:80px;padding:7px 8px!important}.flexmls-v2-widget .flexmls-btn:hover,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-btn:hover{box-shadow:none}.flexmls-v2-widget input[type=checkbox],body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox input[type=checkbox]{box-sizing:border-box;width:auto;height:auto;border:1px solid #d9d9d9}.flexmls-v2-widget input[type=checkbox]+label,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox input[type=checkbox]+label{display:inline;position:relative;top:-2px}.flexmls-v2-widget input[type=text],.flexmls-v2-widget select,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox input[type=text],body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox select{box-sizing:border-box;font-size:14px;font-weight:400!important;border:1px solid #d9d9d9;border-radius:4px;background:#fff;box-shadow:none;color:#333;height:40px;line-height:20px;padding:11px 8px;font-style:normal}.flexmls-v2-widget input[type=text]:focus,.flexmls-v2-widget select:focus,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox input[type=text]:focus,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox select:focus{border:1px solid #73c0ff;box-shadow:0 2px 10px rgba(115,192,255,.6);outline:none}.flexmls-v2-widget textarea,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox textarea{box-sizing:border-box}.flexmls-v2-widget select,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox select{padding:8px 16px}.flexmls-v2-widget .flexmls-title-large,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-title-large{font-size:20px;font-weight:600;line-height:24px;margin-bottom:24px}.flexmls-v2-widget .flexmls-title-larger,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-title-larger{font-size:24px;font-weight:600;line-height:30px;margin-bottom:24px}.flexmls-v2-widget .flexmls-title-largest,body.flexmls_connect__listing_details_page.flexmls-v2-templates #flexmls_connect__colorbox .flexmls-title-largest{font-size:28px;font-weight:700;line-height:36px;margin-bottom:24px}.flexmls-v2-templates .new-listing-tag,.flexmls-v2-widget .new-listing-tag{background:#0077d9;color:#fff;padding:8px 20px 5px;border-radius:3px;line-height:1;display:inline-block;text-transform:uppercase;font-size:12px;font-weight:700}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location label{display:none}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-selection__rendered{display:block;padding-left:0}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-selection__rendered .select2-search{padding:0;float:none}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-container{display:block;width:100%!important}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-search__field{margin-top:0}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-search__field::-moz-placeholder{color:#aaa}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-search__field:-ms-input-placeholder{color:#aaa}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-search__field::placeholder{color:#aaa}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-selection{padding-left:4px;border-color:#d9d9d9}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_v2_submit{font-size:16px;line-height:16px;text-transform:uppercase;min-width:88px;text-decoration:none;background-color:#0077d9;color:#fff;display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:11px 16px;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_v2_submit:hover{transform:none;box-shadow:none;font-size:16px;font-weight:400;line-height:16px;padding:11px 16px}.flexmls_connect__search_v2{border-radius:4px;padding:24px;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.flexmls_connect__search_v2 .flexmls_connect__search_v2_title{font-size:26px;line-height:1.2;font-weight:600;margin-bottom:13px}.flexmls_connect__search_v2 .flexmls_connect__search_new_subtypes>.flexmls_connect__search_new_label,.flexmls_connect__search_v2 .flexmls_connect__search_new_subtypes>.flexmls_connect__search_v2_label,.flexmls_connect__search_v2 .flexmls_connect__search_property_type>.flexmls_connect__search_new_label,.flexmls_connect__search_v2 .flexmls_connect__search_property_type>.flexmls_connect__search_v2_label,.flexmls_connect__search_v2 .flexmls_connect__search_v2_field_group>.flexmls_connect__search_new_label,.flexmls_connect__search_v2 .flexmls_connect__search_v2_field_group>.flexmls_connect__search_v2_label{display:block;font-weight:600}.flexmls_connect__search_v2 .flexmls_connect__search_v2_sort_by label{display:block;font-weight:600}.flexmls_connect__search_v2 .flexmls_connect__search_v2_sort_by select{width:100%}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field{clear:both}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field .flexmls_connect__search_new_label{font-weight:600;display:block}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field .text{float:left;width:45%;margin-right:3%}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field .text:last-of-type{margin-right:0}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field .text.flexmls_connect__inactive_color{color:#aaa}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field .flexmls_connect__search_new_to{display:none}.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max .flexmls_connect__search_field:after{content:"";display:table;clear:both}.flexmls_connect__search_v2 .flexmls_connect__search_v2_links{display:flex;flex-direction:column}.flexmls_connect__search_v2 .flexmls_connect__search_v2_links a{font-size:12px;display:inline-block;margin-top:12px;text-decoration:none}.flexmls_connect__search_v2 .flexmls_sold_pending_search_wrapper label{display:inline-block!important;margin-right:4px;margin-top:0}@media (min-width:768px){.flexmls_connect__search_v2 .flexmls_connect__filters_wrapper{display:flex;justify-content:space-between}.flexmls_connect__search_v2 .flexmls_connect__righthand_filters_wrapper,.flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max{width:45%}}@media (min-width:768px){.flexmls_connect__search_v2_vertical .flexmls_connect__filters_wrapper{display:block}.flexmls_connect__search_v2_vertical .flexmls_connect__righthand_filters_wrapper,.flexmls_connect__search_v2_vertical .flexmls_connect__search_v2_min_max{width:auto}}.flexmls_connect__search_results_v2 .flexmls-title-and-login-wrapper{margin-bottom:12px}.flexmls_connect__search_results_v2 .flexmls-title-and-login-wrapper:after,.flexmls_connect__search_results_v2 .flexmls-title-and-login-wrapper:before{content:"";display:table}.flexmls_connect__search_results_v2 .flexmls-title-and-login-wrapper:after{clear:both}.flexmls_connect__search_results_v2 .flexmls-title-and-login-wrapper .flexmls-title{float:left;max-width:75%}.flexmls_connect__search_results_v2 .flexmls-title-and-login-wrapper .flexmls-login-buttons{float:right}.flexmls_connect__search_results_v2 .flexmls-actions-wrapper{position:relative;margin-bottom:24px}.flexmls_connect__search_results_v2 .flexmls-actions-wrapper:after,.flexmls_connect__search_results_v2 .flexmls-actions-wrapper:before{content:"";display:table}.flexmls_connect__search_results_v2 .flexmls-actions-wrapper:after{clear:both}.flexmls_connect__search_results_v2 .flexmls-actions-wrapper .saved-search-button{float:left}.flexmls_connect__search_results_v2 .flexmls-actions-wrapper .close-map-button{float:right}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper{margin-bottom:24px}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper:after,.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper:before{content:"";display:table}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper:after{clear:both}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper .flexmls-count-wrapper{float:left}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper .flexmls-filters-wrapper{float:right;display:flex}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper .flexmls-filters-wrapper>div{margin-right:6px}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper .flexmls-filters-wrapper>div label{display:inline-block}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper .flexmls-filters-wrapper>div select{text-align:right;display:inline-block;width:auto}.flexmls_connect__search_results_v2 .flexmls-count-and-filters-wrapper .flexmls-filters-wrapper>div:last-of-type{margin-right:0}.flexmls_connect__search_results_v2 input[type=text],.flexmls_connect__search_results_v2 select{padding:6px 3px}.flexmls_connect__search_results_v2 .flexmls-listings-list-wrapper{display:flex;flex-wrap:wrap;justify-content:flex-start}.flexmls_connect__search_results_v2 .flexmls-listing{display:block;width:100%;max-width:480px;text-decoration:none!important;border-radius:4px;box-shadow:0 1px 2px 0 rgba(0,0,0,.2);margin-bottom:16px;transition:opacity .2s ease-in-out}.flexmls_connect__search_results_v2 .flexmls-listing:hover{opacity:.8}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;font-weight:700;margin-right:8px;max-width:35%}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-active,.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-active-under-contract,.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-coming-soon{color:#277c22}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-closed{color:#0077d9}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status--canceled,.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-deleted,.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-expired,.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-hold,.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-withdrawn{color:#737373}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-status-pending{color:#ef8c00}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-details{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;max-width:80%}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-details span{margin-left:8px}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper{padding-top:62.5%;background-color:transparent;background-position:50%;background-size:cover;border-radius:4px 4px 0 0;position:relative}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .flexmls-price{font-size:24px;position:absolute;bottom:10px;left:10px;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.5);font-weight:700}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .new-listing-tag{position:absolute;top:12px;left:12px;font-weight:700}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .new-listing-tag.open-house{bottom:12px;top:auto;left:auto;right:12px;background-color:#ef8c00;padding:8px 10px 5px}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .flexmls-portal-links{position:absolute;top:10px;right:10px;text-shadow:0 2px 4px rgba(0,0,0,.5)}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .flexmls-portal-links i{color:#fff}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .flexmls-portal-links .Favorites.selected i{color:#f9dd00;text-shadow:0 0 1px rgba(0,0,0,.5)}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-image-wrapper .flexmls-portal-links .Rejects.selected i{color:#f50000;text-shadow:0 0 3px rgba(0,0,0,.1)}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-content-wrapper{padding:16px;font-size:14px;color:#333}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-bold-label{font-weight:700}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-last-modified-and-idx-wrapper{border-top:1px solid #d9d9d9;padding-top:16px;align-items:center;display:flex;justify-content:space-between}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-last-modified-and-idx-wrapper .flexmls-idx-compliance-label{padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;background-color:#737373;font-size:85%;text-shadow:none;text-transform:uppercase}.flexmls_connect__search_results_v2 .flexmls-listing .flexmls-last-modified-and-idx-wrapper .flexmls-idx-compliance-badge{max-width:90px;height:auto}.flexmls_connect__search_results_v2 .flexmls-listings-list-wrapper.flexmls-width-480{justify-content:center}.flexmls_connect__search_results_v2 .flexmls-listings-list-wrapper.flexmls-width-600{justify-content:space-between}.flexmls_connect__search_results_v2 .flexmls-listings-list-wrapper.flexmls-width-600 .flexmls-listing{width:48%}.flexmls_connect__search_results_v2 .flexmls-listings-list-wrapper.flexmls-width-900 .flexmls-listing{width:31.5%;max-width:380px}.flexmls_connect__search_results_v2 .flexmls_connect__sr_pagination button{background:none;border:none;box-shadow:none;font-size:16px;padding:12px}.flexmls-listing-details.flexmls-v2-widget .listing-section{margin-bottom:16px}.flexmls-listing-details.flexmls-v2-widget .flexmls-actions-wrapper{display:flex;align-items:center;justify-content:flex-end}.flexmls-listing-details.flexmls-v2-widget .flexmls-actions-wrapper.has-return-button{justify-content:space-between}.flexmls-listing-details.flexmls-v2-widget .flexmls-actions-wrapper .back-to-search-link{font-size:16px}.flexmls-listing-details.flexmls-v2-widget .top-info-wrapper .title-and-details-wrapper .title-and-status-wrapper{margin-bottom:16px}.flexmls-listing-details.flexmls-v2-widget .top-info-wrapper .title-and-details-wrapper .title-and-status-wrapper .property-title{margin-top:0;margin-bottom:16px}.flexmls-listing-details.flexmls-v2-widget .top-info-wrapper .title-and-details-wrapper .price-and-actions-wrapper{display:flex;justify-content:space-between}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-stage-outer{height:380px}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .listing-image{height:300px;background-size:cover;background-position:50%}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .listing-image.listing-video iframe,.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .listing-image.listing-vtour iframe{width:100%;height:65vh}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .listing-vtour-card{background:#fff;border-radius:4px;margin:0 auto;max-width:50%;min-width:260px;padding:20px;text-align:center}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .listing-vtour-card h3{text-align:center}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-carousel{position:relative}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-nav{position:absolute;top:calc(50% - 20px);display:flex;width:100%;justify-content:space-between}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-nav .owl-next,.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-nav .owl-prev{display:flex;width:40px;height:40px;border-radius:100%;background-color:hsla(0,0%,100%,.7);align-items:center;justify-content:center;font-family:Helvetica;font-size:22px}.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-nav .owl-next.disabled,.flexmls-listing-details.flexmls-v2-widget .slideshow-wrapper .owl-nav .owl-prev.disabled{opacity:.5}.flexmls-listing-details.flexmls-v2-widget .main-details-section .flexmls-details .flexmls-detail{display:block}.flexmls-listing-details.flexmls-v2-widget .main-details-section .flexmls-details .flexmls-detail .detail-label{font-weight:700}.flexmls-listing-details.flexmls-v2-widget .main-details-section .price-and-dates{background:#dfdfdf;padding:12px;margin-left:-12px;margin-right:-12px;border-radius:3px}.flexmls-listing-details.flexmls-v2-widget .main-details-section .price-and-dates .flexmls-detail{display:block}.flexmls-listing-details.flexmls-v2-widget .main-details-section .price-and-dates .flexmls-detail .detail-label{font-weight:600}.flexmls-listing-details.flexmls-v2-widget .features-section .details-section{margin-bottom:16px}.flexmls-listing-details.flexmls-v2-widget .features-section .details-section .detail-value{font-size:16px;display:block;margin-bottom:4px}.flexmls-listing-details.flexmls-v2-widget .features-section .details-section.rooms-section .room-name{font-weight:700}.flexmls-listing-details.flexmls-v2-widget .features-section .details-section.rooms-section .room-detail{display:block}.flexmls-listing-details.flexmls-v2-widget .documents-section .fmc_document{cursor:pointer}.flexmls-listing-details.flexmls-v2-widget .documents-section .fmc_document img{display:inline-block;margin-right:5px}.flexmls-listing-details.flexmls-v2-widget .disclosure-section .listing-req{margin-bottom:8px}.flexmls-listing-details.flexmls-v2-widget .more-information-toggle{border-bottom:1px solid #ededed;position:relative}.flexmls-listing-details.flexmls-v2-widget .more-information-toggle h2{margin-bottom:6px}.flexmls-listing-details.flexmls-v2-widget .more-information-toggle .mls-id{color:#999;font-weight:400;display:inline-block;margin-left:6px;font-size:20px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .listing-section{margin-bottom:20px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .top-info-wrapper .title-and-details-wrapper{display:flex;justify-content:space-between}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .top-info-wrapper .title-and-details-wrapper .title-and-status-wrapper{width:70%}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .top-info-wrapper .title-and-details-wrapper .price-and-actions-wrapper{width:25%;display:block;text-align:right}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .top-info-wrapper .title-and-details-wrapper .price-and-actions-wrapper .flexmls-price{margin-bottom:8px;display:block}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .main-details-section .flexmls-details{display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:16px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .main-details-section .flexmls-details .flexmls-detail{width:48%}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .main-details-section .flexmls-details .flexmls-detail .detail-label{font-size:20px;display:inline-block;margin-right:6px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .main-details-section .flexmls-details .flexmls-detail .detail-value{font-size:18px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .main-details-section .price-and-dates{display:flex;justify-content:space-between}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .main-details-section .price-and-dates .flexmls-detail{width:31%}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .features-section .property-details-wrapper{display:flex;flex-wrap:wrap;justify-content:space-between}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-600 .features-section .property-details-wrapper .detail-value{width:48%}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-768 .slideshow-wrapper .listing-image,.flexmls-listing-details.flexmls-v2-widget.flexmls-width-768 .slideshow-wrapper .owl-stage-outer{height:600px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-768 .main-details-section .flexmls-details .flexmls-detail{width:31%;margin-bottom:12px}.flexmls-listing-details.flexmls-v2-widget.flexmls-width-768 .features-section .property-details-wrapper .detail-value{width:31%}body.flexmls-v2-templates.flexmls_connect__listing_details_page #flexmls_connect__cboxWrapper .flexmls_connect__contact_form table td{border:none} -
flexmls-idx/trunk/assets/js/main.js
r3209984 r3219800 1 !function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var i={};e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=17)}([function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"LocationSearch",function(){return n});var n=function(t){function e(e,i){return this.$element=t(e),"undefined"===typeof i&&(i={}),this.omniSearchUrl="//apps.flexmls.com/quick_launch/omni",this.portalSlug=i.portalSlug,this.init(),this}return e.prototype={constructor:e,init:function(){var e=this;this.s2=t(this.$element).select2({ajax:{url:e.omniSearchUrl,dataType:"jsonp",quietMillis:500,data:e.ajaxData.bind(e),processResults:e.processAjaxResults.bind(e),cache:!0},placeholder:"Enter an Address, City, Zip or MLS#",minimumInputLength:3,formatInputTooShort:function(t,e){return"Please enter "+(e-t.length)+" or more characters"}})},selectedValues:function(){var e=t(this.$element).select2("data"),i=[];return Array.isArray(e)||(e=[e]),e.forEach(function(t){i.push({id:t.id,text:t.text,fieldName:t.id.split("_")[0],value:t.id.split("_")[1]})}),i},ajaxData:function(t){var e={_q:t.term,_lo:!1};return"undefined"!==typeof this.portalSlug&&(e.portal_slug=this.portalSlug),e},processAjaxResults:function(t,e){var i=this,n=[];return t.D.Results.forEach(function(t){var e,o,s,a,r;"Field"==t.Type?(e=t.Field.Id,o=t.Field.Name,s="",a=t.Field.Value,r=t.Field.SparkQl):"Listing"==t.Type&&(e="ListingId",o=t.Listing.Name,s=t.Listing.Address,a=t.Listing.Number,r=t.Listing.SparkQl),a&&n.push({id:e+"_"+a,text:i.getDisplayText(e,s,a,o),fieldName:e,value:a,sparkQl:r})}),{results:n}},getDisplayText:function(t,e,i,n){return"ListingId"===t?e+" / "+i+" (MLS #)":"polygon"===i.substr(0,7)||"radius"===i.substr(0,6)?"Drawn Shape":i+" ("+n+")"}},e}(jQuery)},,function(t,e){!function(t){t.fn.loopedCarousel=function(e){var i={container:".flexmls_connect__container",slides:".flexmls_connect__slides",pagination:".pagination",autoStart:0,slidespeed:300,fadespeed:400,items:3,grid_size:1,padding:3,showPagination:!0,vertical:!1,slideshowAutoLoadLimit:5,pauseOnHover:!0};this.each(function(){function n(){sliderIntervalID=setInterval(function(){!1===b&&(o()?a():p("next",!0))},v.autoStart)}function o(){return needToLoad=k>t(".flexmls_connect__slide_page",g).length,needToLoad}function s(){var e=T+1;return t(".flexmls_connect__slide_page",g).length>=e+1}function a(){t.ajax({type:"GET",url:fmcAjax.ajaxurl+"?settings="+g.attr("data-connect-settings"),dataType:"html",data:{action:"fmcPhotos_additional_slides",page:T+2},success:function(e){t(".flexmls_connect__slides",g).append(e),t("div.flexmls_connect__slides div a.flexmls_popup",g).not("div.flexmls_connect__slides div a.cboxElement").each(function(e){flexmls_connect.establishColorbox(t(this))}),v.showPagination&&(l(),d()),t("span.pleasewait",g).hide(),p("next",!0)},error:function(t,e,i){C++}})}function r(){t(".pagination li",g).removeClass("active"),t(".pagination li:eq("+T+")",g).addClass("active")}function l(){if(v.showPagination){for(var e=t(".flexmls_connect__slide_page",g).length,i=t("<ul>").addClass("pagination"),n=0;n<e;n++){var o=t("<li>").append(t("<a>").attr({rel:n,href:"#"}).text(n+1));n===T&&o.addClass("active"),i.append(o)}t(".pagination",g).remove(),t("a.next",g).after(i)}}function c(){if(0==t("span.pleasewait",g).length){var e=t("<span class='pleasewait'>Loading Listings...</span>").appendTo(g),i=t(".flexmls_connect__container",g),n=i.position();t("span.pleasewait",g).css({top:(i.height()-e.height())/2+n.top,left:(i.width()-e.width())/2+n.left})}else t("span.pleasewait",g).show()}function u(){clearInterval(sliderIntervalID)}function d(){11*t("ul.pagination li",g).length>t(v.container,g).width()-t(".previous",g).width()-t(".next",g).width()-10&&t("ul.pagination",g).hide()}function p(e,i){page_size=v.vertical?_:x;var n=T;switch(e){case"next":T+1<t(".flexmls_connect__slide_page",g).length?n++:n=0;break;case"prev":T>0&&n--;break;case"fade":n=i}n!=T&&!1===b&&(b=!0,t(".flexmls_connect__slide_page:eq("+T+")",g).fadeOut(v.fadespeed,function(){var e=t(".flexmls_connect__slide_page:eq("+n+")",g);m(e),e.fadeIn(v.fadespeed,function(){b=!1})}),T=n,r())}function f(){var e=t(".flexmls_connect__slideshow_image:visible",g).first(),i=t(e).attr("style","height: auto;").parent().width();i>0?(v.height=3*i/4,m()):setTimeout(f,10)}function m(e){var i=e||g;v.height>0?t(".flexmls_connect__slideshow_image",i).each(function(){t(this).css("height",v.height)}):f()}var g=t(this),v=t.extend({},i,e),x=v.items,_=v.grid_size,y=t(v.slides,g).children().length,b=!1,T=0,k=parseInt(g.attr("data-connect-total-pages")),C=0;if(function(){t(".flexmls_connect__slide_page",g).hide(),t(".flexmls_connect__slide_page:eq("+T+")",g).show(0,function(){f()})}(),t(window).resize(function(){f()}),parseInt(g.attr("data-connect-total-pages"))<2)for(v.showPagination=!1,t(".previous, .next",g).css("display","none");x*_-x>=y;)_--;if(l(),0===y&&(h=(t(this).hasClass("tall")?165:145)+v.padding,w=134+v.padding),0===y)return void t(v.container,g).append(t("<div class='flexmls_connect__empty_message'>").html("No Listings Found"));t(".next",g).click(function(){if(v.autoStart&&u(),!1===b){if(T+1>k)return!1;s()?p("next",!0):o()&&(c(),a())}return!1}),t(".previous",g).click(function(){return!1===b&&(p("prev",!0),v.autoStart&&u()),!1}),t(g).on("click",v.pagination+" li a",function(e){return e.preventDefault(),t(this).hasClass("active")||!1!==b||(p("fade",parseInt(t(this).attr("rel"))),v.autoStart&&u()),!1}),v.showPagination&&d(),v.autoStart&&n(),v.pauseOnHover&&0!=v.autoStart&&t(v.slides).hover(u,n)})}}(jQuery)},,,,,,,,,,,,,,,function(t,e,i){i(18),i(0),i(19),i(21),i(22),i(2),i(23),i(24),i(25)},function(t,e,n){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t){function e(t,e){t.transform.baseVal.clear(),e&&e.forEach(function(e){t.transform.baseVal.appendItem(e)})}var i=function(e,i){var n=i.getElementsByClassName(e)[0];if(!n&&((n=document.createElement("canvas")).className=e,n.style.direction="ltr",n.style.position="absolute",n.style.left="0px",n.style.top="0px",i.appendChild(n),!n.getContext))throw new Error("Canvas is not available.");this.element=n;var o=this.context=n.getContext("2d");this.pixelRatio=t.plot.browser.getPixelRatio(o);var s=t(i).width(),a=t(i).height();this.resize(s,a),this.SVGContainer=null,this.SVG={},this._textCache={}};i.prototype.resize=function(t,e){t=t<10?10:t,e=e<10?10:e;var i=this.element,n=this.context,o=this.pixelRatio;this.width!==t&&(i.width=t*o,i.style.width=t+"px",this.width=t),this.height!==e&&(i.height=e*o,i.style.height=e+"px",this.height=e),n.restore(),n.save(),n.scale(o,o)},i.prototype.clear=function(){this.context.clearRect(0,0,this.width,this.height)},i.prototype.render=function(){var t=this._textCache;for(var e in t)if(hasOwnProperty.call(t,e)){var i=this.getSVGLayer(e),n=t[e],o=i.style.display;for(var s in i.style.display="none",n)if(hasOwnProperty.call(n,s)){var a=n[s];for(var r in a)if(hasOwnProperty.call(a,r)){for(var l,c=a[r],h=c.positions,u=0;h[u];u++)if((l=h[u]).active)l.rendered||(i.appendChild(l.element),l.rendered=!0);else if(h.splice(u--,1),l.rendered){for(;l.element.firstChild;)l.element.removeChild(l.element.firstChild);l.element.parentNode.removeChild(l.element)}0===h.length&&(c.measured?c.measured=!1:delete a[r])}}i.style.display=o}},i.prototype.getSVGLayer=function(t){var e,i=this.SVG[t];return i||(this.SVGContainer?e=this.SVGContainer.firstChild:(this.SVGContainer=document.createElement("div"),this.SVGContainer.className="flot-svg",this.SVGContainer.style.position="absolute",this.SVGContainer.style.top="0px",this.SVGContainer.style.left="0px",this.SVGContainer.style.height="100%",this.SVGContainer.style.width="100%",this.SVGContainer.style.pointerEvents="none",this.element.parentNode.appendChild(this.SVGContainer),(e=document.createElementNS("http://www.w3.org/2000/svg","svg")).style.width="100%",e.style.height="100%",this.SVGContainer.appendChild(e)),(i=document.createElementNS("http://www.w3.org/2000/svg","g")).setAttribute("class",t),i.style.position="absolute",i.style.top="0px",i.style.left="0px",i.style.bottom="0px",i.style.right="0px",e.appendChild(i),this.SVG[t]=i),i},i.prototype.getTextInfo=function(t,e,i,s,a){var r,l,c,h;e=""+e,r="object"===o(i)?i.style+" "+i.variant+" "+i.weight+" "+i.size+"px/"+i.lineHeight+"px "+i.family:i,null==(l=this._textCache[t])&&(l=this._textCache[t]={}),null==(c=l[r])&&(c=l[r]={});var u=e.replace(/0|1|2|3|4|5|6|7|8|9/g,"0");if(!(h=c[u])){var d=document.createElementNS("http://www.w3.org/2000/svg","text");if(-1!==e.indexOf("<br>"))n(e,d,-9999);else{var p=document.createTextNode(e);d.appendChild(p)}d.style.position="absolute",d.style.maxWidth=a,d.setAttributeNS(null,"x",-9999),d.setAttributeNS(null,"y",-9999),"object"===o(i)?(d.style.font=r,d.style.fill=i.fill):"string"==typeof i&&d.setAttribute("class",i),this.getSVGLayer(t).appendChild(d);var f=d.getBBox();for(h=c[u]={width:f.width,height:f.height,measured:!0,element:d,positions:[]};d.firstChild;)d.removeChild(d.firstChild);d.parentNode.removeChild(d)}return h.measured=!0,h},i.prototype.addText=function(t,i,o,s,a,r,l,c,h,u){var d=this.getTextInfo(t,s,a,r,l),p=d.positions;"center"===c?i-=d.width/2:"right"===c&&(i-=d.width),"middle"===h?o-=d.height/2:"bottom"===h&&(o-=d.height),o+=.75*d.height;for(var f,m=0;p[m];m++){if((f=p[m]).x===i&&f.y===o&&f.text===s)return f.active=!0,void e(f.element,u);if(!1===f.active)return f.active=!0,-1!==(f.text=s).indexOf("<br>")?(o-=.25*d.height,n(s,f.element,i)):f.element.textContent=s,f.element.setAttributeNS(null,"x",i),f.element.setAttributeNS(null,"y",o),f.x=i,f.y=o,void e(f.element,u)}f={active:!0,rendered:!1,element:p.length?d.element.cloneNode():d.element,text:s,x:i,y:o},p.push(f),-1!==s.indexOf("<br>")?(o-=.25*d.height,n(s,f.element,i)):f.element.textContent=s,f.element.setAttributeNS(null,"x",i),f.element.setAttributeNS(null,"y",o),f.element.style.textAlign=c,e(f.element,u)};var n=function(t,e,i){var n,o,s,a=t.split("<br>");for(o=0;o<a.length;o++)e.childNodes[o]?n=e.childNodes[o]:(n=document.createElementNS("http://www.w3.org/2000/svg","tspan"),e.appendChild(n)),n.textContent=a[o],s=1*o+"em",n.setAttributeNS(null,"dy",s),n.setAttributeNS(null,"x",i)};i.prototype.removeText=function(t,e,i,n,o,s){var a,r;if(null==n){var l=this._textCache[t];if(null!=l)for(var c in l)if(hasOwnProperty.call(l,c)){var h=l[c];for(var u in h)if(hasOwnProperty.call(h,u)){var d=h[u].positions;d.forEach(function(t){t.active=!1})}}}else(d=(a=this.getTextInfo(t,n,o,s)).positions).forEach(function(t){r=i+.75*a.height,t.x===e&&t.y===r&&t.text===n&&(t.active=!1)})},i.prototype.clearCache=function(){var t=this._textCache;for(var e in t)if(hasOwnProperty.call(t,e))for(var i=this.getSVGLayer(e);i.firstChild;)i.removeChild(i.firstChild);this._textCache={}},window.Flot||(window.Flot={}),window.Flot.Canvas=i}(jQuery),function(t){t.color={},t.color.make=function(e,i,n,o){var s={};return s.r=e||0,s.g=i||0,s.b=n||0,s.a=null!=o?o:1,s.add=function(t,e){for(var i=0;i<t.length;++i)s[t.charAt(i)]+=e;return s.normalize()},s.scale=function(t,e){for(var i=0;i<t.length;++i)s[t.charAt(i)]*=e;return s.normalize()},s.toString=function(){return 1<=s.a?"rgb("+[s.r,s.g,s.b].join(",")+")":"rgba("+[s.r,s.g,s.b,s.a].join(",")+")"},s.normalize=function(){function t(t,e,i){return e<t?t:i<e?i:e}return s.r=t(0,parseInt(s.r),255),s.g=t(0,parseInt(s.g),255),s.b=t(0,parseInt(s.b),255),s.a=t(0,s.a,1),s},s.clone=function(){return t.color.make(s.r,s.b,s.g,s.a)},s.normalize()},t.color.extract=function(e,i){var n;do{if(""!==(n=e.css(i).toLowerCase())&&"transparent"!==n)break;e=e.parent()}while(e.length&&!t.nodeName(e.get(0),"body"));return"rgba(0, 0, 0, 0)"===n&&(n="transparent"),t.color.parse(n)},t.color.parse=function(i){var n,o=t.color.make;if(n=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(i))return o(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10));if(n=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(i))return o(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10),parseFloat(n[4]));if(n=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*\)/.exec(i))return o(2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3]));if(n=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(i))return o(2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3]),parseFloat(n[4]));if(n=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(i))return o(parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16));if(n=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(i))return o(parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16));var s=t.trim(i).toLowerCase();return"transparent"===s?o(255,255,255,0):o((n=e[s]||[0,0,0])[0],n[1],n[2])};var e={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],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],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}}(jQuery),function(t){function e(e){var i,n=[],o=t.plot.saturated.saturate(t.plot.saturated.floorInBase(e.min,e.tickSize)),s=0,a=Number.NaN;for(o===-Number.MAX_VALUE&&(n.push(o),o=t.plot.saturated.floorInBase(e.min+e.tickSize,e.tickSize));i=a,a=t.plot.saturated.multiplyAdd(e.tickSize,s,o),n.push(a),++s,a<e.max&&a!==i;);return n}function i(t,e,i){var o=e.tickDecimals;if(-1!==(""+t).indexOf("e"))return n(t,e,i);0<i&&(e.tickDecimals=i);var s=e.tickDecimals?parseFloat("1e"+e.tickDecimals):1,a=""+Math.round(t*s)/s;if(null!=e.tickDecimals){var r=a.indexOf("."),l=-1===r?0:a.length-r-1;l<e.tickDecimals&&(a=(l?a:a+".")+(""+s).substr(1,e.tickDecimals-l))}return e.tickDecimals=o,a}function n(t,e,i){var n=(""+t).indexOf("e"),o=parseInt((""+t).substr(n+1)),a=-1!==n?o:0<t?Math.floor(Math.log(t)/Math.LN10):0,r=parseFloat("1e"+a),l=t/r;if(i){return(t/r).toFixed(s(t,i))+"e"+a}return 0<e.tickDecimals?l.toFixed(s(t,e.tickDecimals))+"e"+a:l.toFixed()+"e"+a}function s(t,e){var i=Math.log(Math.abs(t))*Math.LOG10E,n=Math.abs(i+e);return n<=20?Math.floor(n):20}function a(n,s,a,l){function c(t,e){e=[Z].concat(e);for(var i=0;i<t.length;++i)t[i].apply(this,e)}function h(e){var i=D;D=function(e){for(var i=[],n=0;n<e.length;++n){var o=t.extend(!0,{},R.series);null!=e[n].data?(o.data=e[n].data,delete e[n].data,t.extend(!0,o,e[n]),e[n].data=o.data):o.data=e[n],i.push(o)}return i}(e),function(){var e,i=D.length,n=-1;for(e=0;e<D.length;++e){var o=D[e].color;null!=o&&(i--,"number"==typeof o&&n<o&&(n=o))}i<=n&&(i=n+1);var s,a=[],r=R.colors,l=r.length,c=0,h=Math.max(0,D.length-i);for(e=0;e<i;e++)s=t.color.parse(r[(h+e)%l]||"#666"),e%l==0&&e&&(c=0<=c?c<.5?-c-.2:0:-c),a[e]=s.scale("rgb",1+c);var d,f=0;for(e=0;e<D.length;++e){if(null==(d=D[e]).color?(d.color=a[f].toString(),++f):"number"==typeof d.color&&(d.color=a[d.color].toString()),null==d.lines.show){var m,g=!0;for(m in d)if(d[m]&&d[m].show){g=!1;break}g&&(d.lines.show=!0)}null==d.lines.zero&&(d.lines.zero=!!d.lines.fill),d.xaxis=p(V,u(d,"x")),d.yaxis=p(Y,u(d,"y"))}}(),function(e){function i(t,e,i){e<t.datamin&&e!==-1/0&&(t.datamin=e),i>t.datamax&&i!==1/0&&(t.datamax=i)}var n,o,s,a,r,l,h,u,p,f,m,g,v=Number.POSITIVE_INFINITY,x=Number.NEGATIVE_INFINITY;for(t.each(d(),function(t,e){!0!==e.options.growOnly?(e.datamin=v,e.datamax=x):(void 0===e.datamin&&(e.datamin=v),void 0===e.datamax&&(e.datamax=x)),e.used=!1}),n=0;n<D.length;++n)(r=D[n]).datapoints={points:[]},0===r.datapoints.points.length&&(r.datapoints.points=function(t,e){return t&&t[e]&&t[e].datapoints&&t[e].datapoints.points?t[e].datapoints.points:[]}(e,n)),c(U.processRawData,[r,r.data,r.datapoints]);for(n=0;n<D.length;++n){if(r=D[n],m=r.data,!(g=r.datapoints.format)){if((g=[]).push({x:!0,y:!1,number:!0,required:!0,computeRange:"none"!==r.xaxis.options.autoScale,defaultValue:null}),g.push({x:!1,y:!0,number:!0,required:!0,computeRange:"none"!==r.yaxis.options.autoScale,defaultValue:null}),r.stack||r.bars.show||r.lines.show&&r.lines.fill){2<(null!=r.datapoints.pointsize?r.datapoints.pointsize:r.data&&r.data[0]&&r.data[0].length?r.data[0].length:3)&&g.push({x:!1,y:!0,number:!0,required:!1,computeRange:"none"!==r.yaxis.options.autoScale,defaultValue:0})}r.datapoints.format=g}if(r.xaxis.used=r.yaxis.used=!0,null==r.datapoints.pointsize){for(r.datapoints.pointsize=g.length,h=r.datapoints.pointsize,l=r.datapoints.points,r.lines.show&&r.lines.steps,o=s=0;o<m.length;++o,s+=h){var _=null==(f=m[o]);if(!_)for(a=0;a<h;++a)u=f[a],(p=g[a])&&(p.number&&null!=u&&(u=+u,isNaN(u)&&(u=null)),null==u&&(p.required&&(_=!0),null!=p.defaultValue&&(u=p.defaultValue))),l[s+a]=u;if(_)for(a=0;a<h;++a)null!=(u=l[s+a])&&(p=g[a]).computeRange&&(p.x&&i(r.xaxis,u,u),p.y&&i(r.yaxis,u,u)),l[s+a]=null}l.length=s}}for(n=0;n<D.length;++n)r=D[n],c(U.processDatapoints,[r,r.datapoints]);for(n=0;n<D.length;++n)if(r=D[n],!(g=r.datapoints.format).every(function(t){return!t.computeRange})){var y=Z.adjustSeriesDataRange(r,Z.computeRangeForDataSeries(r));c(U.adjustSeriesDataRange,[r,y]),i(r.xaxis,y.xmin,y.xmax),i(r.yaxis,y.ymin,y.ymax)}t.each(d(),function(t,e){e.datamin===v&&(e.datamin=null),e.datamax===x&&(e.datamax=null)})}(i)}function u(t,e){var i=t[e+"axis"];return"object"===o(i)&&(i=i.n),"number"!=typeof i&&(i=1),i}function d(){return V.concat(Y).filter(function(t){return t})}function p(e,i){return e[i-1]||(e[i-1]={n:i,direction:e===V?"x":"y",options:t.extend(!0,{},e===V?R.xaxis:R.yaxis)}),e[i-1]}function f(){J&&clearTimeout(J),c(U.shutdown,[$])}function m(e){function i(t){return t}var n,o,s=e.options.transform||i,a=e.options.inverseTransform;o="x"===e.direction?(n=isFinite(s(e.max)-s(e.min))?e.scale=X/Math.abs(s(e.max)-s(e.min)):e.scale=1/Math.abs(t.plot.saturated.delta(s(e.min),s(e.max),X)),Math.min(s(e.max),s(e.min))):(n=-(n=isFinite(s(e.max)-s(e.min))?e.scale=G/Math.abs(s(e.max)-s(e.min)):e.scale=1/Math.abs(t.plot.saturated.delta(s(e.min),s(e.max),G))),Math.max(s(e.max),s(e.min))),e.p2c=s===i?function(t){return isFinite(t-o)?(t-o)*n:(t/4-o/4)*n*4}:function(t){var e=s(t);return isFinite(e-o)?(e-o)*n:(e/4-o/4)*n*4},e.c2p=a?function(t){return a(o+t/n)}:function(t){return o+t/n}}function g(e){c(U.axisReserveSpace,[e]);var i=e.labelWidth,n=e.labelHeight,o=e.options.position,s="x"===e.direction,a=e.options.tickLength,r=e.options.showTicks,l=e.options.showMinorTicks,h=e.options.gridLines,u=R.grid.axisMargin,d=R.grid.labelMargin,p=!0,f=!0,m=!1;t.each(s?V:Y,function(t,i){i&&(i.show||i.reserveSpace)&&(i===e?m=!0:i.options.position===o&&(m?f=!1:p=!1))}),f&&(u=0),null==a&&(a=et),null==r&&(r=!0),null==l&&(l=!0),null==h&&(h=!!p),isNaN(+a)||(d+=r?+a:0),s?(n+=d,"bottom"===o?(q.bottom+=n+u,e.box={top:W.height-q.bottom,height:n}):(e.box={top:q.top+u,height:n},q.top+=n+u)):(i+=d,"left"===o?(e.box={left:q.left+u,width:i},q.left+=i+u):(q.right+=i+u,e.box={left:W.width-q.right,width:i})),e.position=o,e.tickLength=a,e.showMinorTicks=l,e.showTicks=r,e.gridLines=h,e.box.padding=d,e.innermost=p}function v(t,e,i){"x"===t.direction?("bottom"===t.position&&i(e.bottom)&&(t.box.top-=Math.ceil(e.bottom)),"top"===t.position&&i(e.top)&&(t.box.top+=Math.ceil(e.top))):("left"===t.position&&i(e.left)&&(t.box.left+=Math.ceil(e.left)),"right"===t.position&&i(e.right)&&(t.box.left-=Math.ceil(e.right)))}function x(n){var s,a,r=d(),l=R.grid.show;for(a in q)q[a]=0;for(a in c(U.processOffset,[q]),q)"object"===o(R.grid.borderWidth)?q[a]+=l?R.grid.borderWidth[a]:0:q[a]+=l?R.grid.borderWidth:0;if(t.each(r,function(e,o){var s,a,r=o.options;o.show=null==r.show?o.used:r.show,o.reserveSpace=null==r.reserveSpace?o.show:r.reserveSpace,a=(s=o).options,s.tickFormatter||("function"==typeof a.tickFormatter?s.tickFormatter=function(){var t=Array.prototype.slice.call(arguments);return""+a.tickFormatter.apply(null,t)}:s.tickFormatter=i),c(U.setRange,[o,n]),function(e,i){var n="number"==typeof e.options.min?e.options.min:e.min,o="number"==typeof e.options.max?e.options.max:e.max,s=e.options.offset;if(i&&(_(e),n=e.autoScaledMin,o=e.autoScaledMax),n=(null!=n?n:-1)+(s.below||0),(o=(null!=o?o:1)+(s.above||0))<n){var a=n;n=o,o=a,e.options.offset={above:0,below:0}}e.min=t.plot.saturated.saturate(n),e.max=t.plot.saturated.saturate(o)}(o,n)}),l){X=W.width-q.left-q.right,G=W.height-q.bottom-q.top;var h=t.grep(r,function(t){return t.show||t.reserveSpace});for(t.each(h,function(i,n){var s,a,r,l;!function(i){var n,o=i.options;n=b(i.direction,W,o.ticks),i.delta=t.plot.saturated.delta(i.min,i.max,n);var s=Z.computeValuePrecision(i.min,i.max,i.direction,n,o.tickDecimals);if(i.tickDecimals=Math.max(0,null!=o.tickDecimals?o.tickDecimals:s),i.tickSize=function(t,e,i,n,o){var s;s="number"==typeof n.ticks&&0<n.ticks?n.ticks:.3*Math.sqrt("x"===i?W.width:W.height);var a=w(t,e,s,o);return null!=n.minTickSize&&a<n.minTickSize&&(a=n.minTickSize),n.tickSize||a}(i.min,i.max,i.direction,o,o.tickDecimals),i.tickGenerator||("function"==typeof o.tickGenerator?i.tickGenerator=o.tickGenerator:i.tickGenerator=e),null!=o.alignTicksWithAxis){var a=("x"===i.direction?V:Y)[o.alignTicksWithAxis-1];if(a&&a.used&&a!==i){var r=i.tickGenerator(i,Z);if(0<r.length&&(null==o.min&&(i.min=Math.min(i.min,r[0])),null==o.max&&1<r.length&&(i.max=Math.max(i.max,r[r.length-1]))),i.tickGenerator=function(t){var e,i,n=[];for(i=0;i<a.ticks.length;++i)e=(a.ticks[i].v-a.min)/(a.max-a.min),e=t.min+e*(t.max-t.min),n.push(e);return n},!i.mode&&null==o.tickDecimals){var l=Math.max(0,1-Math.floor(Math.log(i.delta)/Math.LN10)),c=i.tickGenerator(i,Z);1<c.length&&/\..*0$/.test((c[1]-c[0]).toFixed(l))||(i.tickDecimals=l)}}}}(n),function(e){var i,n,s=e.options.ticks,a=[];for(null==s||"number"==typeof s&&0<s?a=e.tickGenerator(e,Z):s&&(a=t.isFunction(s)?s(e):s),e.ticks=[],i=0;i<a.length;++i){var r=null,l=a[i];"object"===o(l)?(n=+l[0],1<l.length&&(r=l[1])):n=+l,isNaN(n)||e.ticks.push(T(n,r,e,"major"))}}(n),a=(s=n).ticks,r=D,"loose"===s.options.autoScale&&0<a.length&&r.some(function(t){return 0<t.datapoints.points.length})&&(s.min=Math.min(s.min,a[0].v),s.max=Math.max(s.max,a[a.length-1].v)),m(n),function(t,e){if("endpoints"===t.options.showTickLabels)return!0;if("all"!==t.options.showTickLabels)return"major"!==t.options.showTickLabels&&"none"!==t.options.showTickLabels&&void 0;var i=e.filter(function(e){return e.xaxis===t}),n=i.some(function(t){return!t.bars.show});return 0===i.length||n}(l=n,D)&&(l.ticks.unshift(T(l.min,null,l,"min")),l.ticks.push(T(l.max,null,l,"max"))),function(t){for(var e=t.options,i="none"!==e.showTickLabels&&t.ticks?t.ticks:[],n="major"===e.showTickLabels||"all"===e.showTickLabels,s="endpoints"===e.showTickLabels||"all"===e.showTickLabels,a=e.labelWidth||0,r=e.labelHeight||0,l=t.direction+"Axis "+t.direction+t.n+"Axis",c="flot-"+t.direction+"-axis flot-"+t.direction+t.n+"-axis "+l,h=e.font||"flot-tick-label tickLabel",u=0;u<i.length;++u){var d=i[u],p=d.label;if(d.label&&!(!1===n&&0<u&&u<i.length-1)&&(!1!==s||0!==u&&u!==i.length-1)){"object"===o(d.label)&&(p=d.label.name);var f=W.getTextInfo(c,p,h);a=Math.max(a,f.width),r=Math.max(r,f.height)}}t.labelWidth=e.labelWidth||a,t.labelHeight=e.labelHeight||r}(n)}),s=h.length-1;0<=s;--s)g(h[s]);!function(){var e,i=R.grid.minBorderMargin;if(null==i)for(e=i=0;e<D.length;++e)i=Math.max(i,2*(D[e].points.radius+D[e].points.lineWidth/2));var n,o={},s={left:i,right:i,top:i,bottom:i};for(n in t.each(d(),function(t,e){e.reserveSpace&&e.ticks&&e.ticks.length&&("x"===e.direction?(s.left=Math.max(s.left,e.labelWidth/2),s.right=Math.max(s.right,e.labelWidth/2)):(s.bottom=Math.max(s.bottom,e.labelHeight/2),s.top=Math.max(s.top,e.labelHeight/2)))}),s)o[n]=s[n]-q[n];t.each(V.concat(Y),function(t,e){v(e,o,function(t){return 0<t})}),q.left=Math.ceil(Math.max(s.left,q.left)),q.right=Math.ceil(Math.max(s.right,q.right)),q.top=Math.ceil(Math.max(s.top,q.top)),q.bottom=Math.ceil(Math.max(s.bottom,q.bottom))}(),t.each(h,function(t,e){var i;"x"===(i=e).direction?(i.box.left=q.left-i.labelWidth/2,i.box.width=W.width-q.left-q.right+i.labelWidth):(i.box.top=q.top-i.labelHeight/2,i.box.height=W.height-q.bottom-q.top+i.labelHeight)})}if(R.grid.margin){for(a in q){var u=R.grid.margin||0;q[a]+="number"==typeof u?u:u[a]||0}t.each(V.concat(Y),function(t,e){v(e,R.grid.margin,function(t){return null!=t})})}X=W.width-q.left-q.right,G=W.height-q.bottom-q.top,t.each(r,function(t,e){m(e)}),l&&t.each(d(),function(t,e){var i,n,o,s,a,r,l,h=e.box,u=e.direction+"Axis "+e.direction+e.n+"Axis",d="flot-"+e.direction+"-axis flot-"+e.direction+e.n+"-axis "+u,p=e.options.font||"flot-tick-label tickLabel",f={x:NaN,y:NaN,width:NaN,height:NaN},m=[],g=function(t,e,i,n,o,s,a,r){return(t<=o&&o<=i||o<=t&&t<=a)&&(e<=s&&s<=n||s<=e&&e<=r)},v=function(t,i){return!t||!t.label||t.v<e.min||t.v>e.max?f:(r=W.getTextInfo(d,t.label,p),"x"===e.direction?(s="center",n=q.left+e.p2c(t.v),"bottom"===e.position?o=h.top+h.padding-e.boxPosition.centerY:(o=h.top+h.height-h.padding+e.boxPosition.centerY,a="bottom")):(a="middle",o=q.top+e.p2c(t.v),"left"===e.position?(n=h.left+h.width-h.padding-e.boxPosition.centerX,s="right"):n=h.left+h.padding+e.boxPosition.centerX),l={x:n-r.width/2-3,y:o-3,width:r.width+6,height:r.height+6},c=l,i.some(function(t){return g(c.x,c.y,c.x+c.width,c.y+c.height,t.x,t.y,t.x+t.width,t.y+t.height)})?f:(W.addText(d,n,o,t.label,p,null,null,s,a),l));var c};if(W.removeText(d),c(U.drawAxis,[e,W]),e.show)switch(e.options.showTickLabels){case"none":break;case"endpoints":m.push(v(e.ticks[0],m)),m.push(v(e.ticks[e.ticks.length-1],m));break;case"major":for(m.push(v(e.ticks[0],m)),m.push(v(e.ticks[e.ticks.length-1],m)),i=1;i<e.ticks.length-1;++i)m.push(v(e.ticks[i],m));break;case"all":for(m.push(v(e.ticks[0],[])),m.push(v(e.ticks[e.ticks.length-1],m)),i=1;i<e.ticks.length-1;++i)m.push(v(e.ticks[i],m))}}),c(U.setupGrid,[])}function _(e){var i,n=e.options,o=n.min,s=n.max,a=e.datamin,r=e.datamax;switch(n.autoScale){case"none":o=+(null!=n.min?n.min:a),s=+(null!=n.max?n.max:r);break;case"loose":if(null!=a&&null!=r){o=a,s=r,i=t.plot.saturated.saturate(s-o);var l="number"==typeof n.autoScaleMargin?n.autoScaleMargin:.02;o=t.plot.saturated.saturate(o-i*l),s=t.plot.saturated.saturate(s+i*l),o<0&&0<=a&&(o=0)}else o=n.min,s=n.max;break;case"exact":o=null!=a?a:n.min,s=null!=r?r:n.max;break;case"sliding-window":s<r&&(s=r,o=Math.max(r-(n.windowSize||100),o))}var c=function(t,e){var i=void 0===t?null:t,n=void 0===e?null:e;if(0==n-i){var o=0===n?1:.01,s=null;null==i&&(s-=o),null!=n&&null==i||(n+=o),null!=s&&(i=s)}return{min:i,max:n}}(o,s);o=c.min,s=c.max,!0===n.growOnly&&"none"!==n.autoScale&&"sliding-window"!==n.autoScale&&(o=o<a?o:null!==a?a:o,s=r<s?s:null!==r?r:s),e.autoScaledMin=o,e.autoScaledMax=s}function y(e,i,n,o,s){var a=b(n,W,o),r=t.plot.saturated.delta(e,i,a),l=-Math.floor(Math.log(r)/Math.LN10);s&&s<l&&(l=s);var c=r/parseFloat("1e"+-l);return 2.25<c&&c<3&&l+1<=s&&++l,isFinite(l)?l:0}function w(e,i,n,o){var s=t.plot.saturated.delta(e,i,n),a=-Math.floor(Math.log(s)/Math.LN10);o&&o<a&&(a=o);var r,l=parseFloat("1e"+-a),c=s/l;return c<1.5?r=1:c<3?(r=2,2.25<c&&(null==o||a+1<=o)&&(r=2.5)):r=c<7.5?5:10,r*=l}function b(t,e,i){return"number"==typeof i&&0<i?i:.3*Math.sqrt("x"===t?e.width:e.height)}function T(t,e,i,n){if(null===e)switch(n){case"min":case"max":var o=(s=t,a=i,r=Math.floor(a.p2c(s)),l="x"===a.direction?r+1:r-1,c=a.c2p(r),h=a.c2p(l),y(c,h,a.direction,1));isFinite(o),e=i.tickFormatter(t,i,o,Z);break;case"major":e=i.tickFormatter(t,i,void 0,Z)}var s,a,r,l,c,h;return{v:t,label:e}}function k(){W.clear(),c(U.drawBackground,[H]);var t=R.grid;t.show&&t.backgroundColor&&(H.save(),H.translate(q.left,q.top),H.fillStyle=O(R.grid.backgroundColor,G,0,"rgba(255, 255, 255, 0)"),H.fillRect(0,0,X,G),H.restore()),t.show&&!t.aboveData&&Q();for(var e=0;e<D.length;++e)c(U.drawSeries,[H,D[e],e,O]),L(D[e]);c(U.draw,[H]),t.show&&t.aboveData&&Q(),W.render(),I()}function C(t,e){for(var i,n,o,s,a=d(),r=0;r<a.length;++r)if((i=a[r]).direction===e&&(t[s=e+i.n+"axis"]||1!==i.n||(s=e+"axis"),t[s])){n=t[s].from,o=t[s].to;break}if(t[s]||(i="x"===e?V[0]:Y[0],n=t[e+"1"],o=t[e+"2"]),null!=n&&null!=o&&o<n){var l=n;n=o,o=l}return{from:n,to:o,axis:i}}function S(t){var e=t.box,i=0,n=0;return"x"===t.direction?(i=0,n=e.top-q.top+("top"===t.position?e.height:0)):(n=0,i=e.left-q.left+("left"===t.position?e.width:0)+t.boxPosition.centerX),{x:i,y:n}}function M(t,e){return t%2!=0?Math.floor(e)+.5:e}function j(t){H.lineWidth=1;var e=S(t),i=e.x,n=e.y;if(t.show){var o=0,s=0;H.strokeStyle=t.options.color,H.beginPath(),"x"===t.direction?o=X+1:s=G+1,"x"===t.direction?n=M(H.lineWidth,n):i=M(H.lineWidth,i),H.moveTo(i,n),H.lineTo(i+o,n+s),H.stroke()}}function P(t){var e=t.tickLength,i=t.showMinorTicks,n=tt,o=S(t),s=o.x,a=o.y,r=0;for(H.strokeStyle=t.options.color,H.beginPath(),r=0;r<t.ticks.length;++r){var l,c=t.ticks[r].v,h=0,u=0,d=0,p=0;if(!isNaN(c)&&c>=t.min&&c<=t.max&&("x"===t.direction?(s=t.p2c(c),u=e,"top"===t.position&&(u=-u)):(a=t.p2c(c),h=e,"left"===t.position&&(h=-h)),"x"===t.direction?s=M(H.lineWidth,s):a=M(H.lineWidth,a),H.moveTo(s,a),H.lineTo(s+h,a+u)),!0===i&&r<t.ticks.length-1){var f=t.ticks[r].v,m=(t.ticks[r+1].v-f)/(n+1);for(l=1;l<=n;l++){if("x"===t.direction){if(p=e/2,s=M(H.lineWidth,t.p2c(f+l*m)),"top"===t.position&&(p=-p),s<0||X<s)continue}else if(d=e/2,a=M(H.lineWidth,t.p2c(f+l*m)),"left"===t.position&&(d=-d),a<0||G<a)continue;H.moveTo(s,a),H.lineTo(s+d,a+p)}}}H.stroke()}function z(t){var e,i,n;for(H.strokeStyle=R.grid.tickColor,H.beginPath(),e=0;e<t.ticks.length;++e){var s=t.ticks[e].v,a=0,r=0,l=0,c=0;isNaN(s)||s<t.min||s>t.max||(i=s,n=R.grid.borderWidth,(!("object"===o(n)&&0<n[t.position]||0<n)||i!==t.min&&i!==t.max)&&("x"===t.direction?(l=t.p2c(s),r=-(c=G)):(l=0,c=t.p2c(s),a=X),"x"===t.direction?l=M(H.lineWidth,l):c=M(H.lineWidth,c),H.moveTo(l,c),H.lineTo(l+a,c+r)))}H.stroke()}function Q(){var e,i,n,s;H.save(),H.translate(q.left,q.top),function(){var e,i,n=R.grid.markings;if(n)for(t.isFunction(n)&&((e=Z.getAxes()).xmin=e.xaxis.min,e.xmax=e.xaxis.max,e.ymin=e.yaxis.min,e.ymax=e.yaxis.max,n=n(e)),i=0;i<n.length;++i){var o=n[i],s=C(o,"x"),a=C(o,"y");if(null==s.from&&(s.from=s.axis.min),null==s.to&&(s.to=s.axis.max),null==a.from&&(a.from=a.axis.min),null==a.to&&(a.to=a.axis.max),!(s.to<s.axis.min||s.from>s.axis.max||a.to<a.axis.min||a.from>a.axis.max)){s.from=Math.max(s.from,s.axis.min),s.to=Math.min(s.to,s.axis.max),a.from=Math.max(a.from,a.axis.min),a.to=Math.min(a.to,a.axis.max);var r=s.from===s.to,l=a.from===a.to;if(!r||!l)if(s.from=Math.floor(s.axis.p2c(s.from)),s.to=Math.floor(s.axis.p2c(s.to)),a.from=Math.floor(a.axis.p2c(a.from)),a.to=Math.floor(a.axis.p2c(a.to)),r||l){var c=o.lineWidth||R.grid.markingsLineWidth,h=c%2?.5:0;H.beginPath(),H.strokeStyle=o.color||R.grid.markingsColor,H.lineWidth=c,r?(H.moveTo(s.to+h,a.from),H.lineTo(s.to+h,a.to)):(H.moveTo(s.from,a.to+h),H.lineTo(s.to,a.to+h)),H.stroke()}else H.fillStyle=o.color||R.grid.markingsColor,H.fillRect(s.from,a.to,s.to-s.from,a.from-a.to)}}}(),e=d(),i=R.grid.borderWidth;for(var a=0;a<e.length;++a){var r=e[a];r.show&&(j(r),!0===r.showTicks&&P(r),!0===r.gridLines&&z(r))}i&&(n=R.grid.borderWidth,s=R.grid.borderColor,"object"===o(n)||"object"===o(s)?("object"!==o(n)&&(n={top:n,right:n,bottom:n,left:n}),"object"!==o(s)&&(s={top:s,right:s,bottom:s,left:s}),0<n.top&&(H.strokeStyle=s.top,H.lineWidth=n.top,H.beginPath(),H.moveTo(0-n.left,0-n.top/2),H.lineTo(X,0-n.top/2),H.stroke()),0<n.right&&(H.strokeStyle=s.right,H.lineWidth=n.right,H.beginPath(),H.moveTo(X+n.right/2,0-n.top),H.lineTo(X+n.right/2,G),H.stroke()),0<n.bottom&&(H.strokeStyle=s.bottom,H.lineWidth=n.bottom,H.beginPath(),H.moveTo(X+n.right,G+n.bottom/2),H.lineTo(0,G+n.bottom/2),H.stroke()),0<n.left&&(H.strokeStyle=s.left,H.lineWidth=n.left,H.beginPath(),H.moveTo(0-n.left/2,G+n.bottom),H.lineTo(0-n.left/2,0),H.stroke())):(H.lineWidth=n,H.strokeStyle=R.grid.borderColor,H.strokeRect(-n/2,-n/2,X+n,G+n))),H.restore()}function L(e){e.lines.show&&t.plot.drawSeries.drawSeriesLines(e,H,q,X,G,Z.drawSymbol,O),e.bars.show&&t.plot.drawSeries.drawSeriesBars(e,H,q,X,G,Z.drawSymbol,O),e.points.show&&t.plot.drawSeries.drawSeriesPoints(e,H,q,X,G,Z.drawSymbol,O)}function E(t,e,i,n,o,s){var a=t.xaxis.c2p(e),r=t.yaxis.c2p(i),l=n/t.xaxis.scale,c=n/t.yaxis.scale,h=t.datapoints.points,u=t.datapoints.pointsize;t.xaxis.options.inverseTransform&&(l=Number.MAX_VALUE),t.yaxis.options.inverseTransform&&(c=Number.MAX_VALUE);for(var d=null,p=0;p<h.length;p+=u){var f=h[p],m=h[p+1];if(null!=f&&!(l<f-a||f-a<-l||c<m-r||m-r<-c)){var g=Math.abs(t.xaxis.p2c(f)-e),v=Math.abs(t.yaxis.p2c(m)-i),x=s?s(g,v):g*g+v*v;x<o&&(d={dataIndex:p/u,distance:o=x})}}return d}function A(t,e,i){var n,o,s=t.bars.barWidth[0]||t.bars.barWidth,a=t.xaxis.c2p(e),r=t.yaxis.c2p(i),l=t.datapoints.points,c=t.datapoints.pointsize;switch(t.bars.align){case"left":n=0;break;case"right":n=-s;break;default:n=-s/2}o=n+s;for(var h=t.bars.fillTowards||0,u=h>t.yaxis.min?Math.min(t.yaxis.max,h):t.yaxis.min,d=-1,p=0;p<l.length;p+=c){var f=l[p],m=l[p+1];null!=f&&(t.bars.horizontal?a<=Math.max(u,f)&&a>=Math.min(u,f)&&m+n<=r&&r<=m+o:f+n<=a&&a<=f+o&&r>=Math.min(u,m)&&r<=Math.max(u,m))&&(d=p/c)}return d}function I(){var t=R.interaction.redrawOverlayInterval;-1!==t?J||(J=setTimeout(function(){N(Z)},t)):N()}function N(t){if(J=null,B){F.clear(),c(U.drawOverlay,[B,F]);var e=new CustomEvent("onDrawingDone");t.getEventHolder().dispatchEvent(e),t.getPlaceholder().trigger("drawingdone")}}function O(e,i,n,o){if("string"==typeof e)return e;for(var s=H.createLinearGradient(0,n,0,i),a=0,r=e.colors.length;a<r;++a){var l=e.colors[a];if("string"!=typeof l){var c=t.color.parse(o);null!=l.brightness&&(c=c.scale("rgb",l.brightness)),null!=l.opacity&&(c.a*=l.opacity),l=c.toString()}s.addColorStop(a/(r-1),l)}return s}var D=[],R={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],xaxis:{show:null,position:"bottom",mode:null,font:null,color:null,tickColor:null,transform:null,inverseTransform:null,min:null,max:null,autoScaleMargin:null,autoScale:"exact",windowSize:null,growOnly:null,ticks:null,tickFormatter:null,showTickLabels:"major",labelWidth:null,labelHeight:null,reserveSpace:null,tickLength:null,showMinorTicks:null,showTicks:null,gridLines:null,alignTicksWithAxis:null,tickDecimals:null,tickSize:null,minTickSize:null,offset:{below:0,above:0},boxPosition:{centerX:0,centerY:0}},yaxis:{autoScaleMargin:.02,autoScale:"loose",growOnly:null,position:"left",showTickLabels:"major",offset:{below:0,above:0},boxPosition:{centerX:0,centerY:0}},xaxes:[],yaxes:[],series:{points:{show:!1,radius:3,lineWidth:2,fill:!0,fillColor:"#ffffff",symbol:"circle"},lines:{lineWidth:1,fill:!1,fillColor:null,steps:!1},bars:{show:!1,lineWidth:2,horizontal:!1,barWidth:.8,fill:!0,fillColor:null,align:"left",zero:!0},shadowSize:3,highlightColor:null},grid:{show:!0,aboveData:!1,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,margin:0,labelMargin:5,axisMargin:8,borderWidth:1,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:!1,hoverable:!1,autoHighlight:!0,mouseActiveRadius:15},interaction:{redrawOverlayInterval:1e3/60},hooks:{}},W=null,F=null,$=null,H=null,B=null,V=[],Y=[],q={left:0,right:0,top:0,bottom:0},X=0,G=0,U={processOptions:[],processRawData:[],processDatapoints:[],processOffset:[],setupGrid:[],adjustSeriesDataRange:[],setRange:[],drawBackground:[],drawSeries:[],drawAxis:[],draw:[],axisReserveSpace:[],bindEvents:[],drawOverlay:[],resize:[],shutdown:[]},Z=this,K={},J=null;Z.setData=h,Z.setupGrid=x,Z.draw=k,Z.getPlaceholder=function(){return n},Z.getCanvas=function(){return W.element},Z.getSurface=function(){return W},Z.getEventHolder=function(){return $[0]},Z.getPlotOffset=function(){return q},Z.width=function(){return X},Z.height=function(){return G},Z.offset=function(){var t=$.offset();return t.left+=q.left,t.top+=q.top,t},Z.getData=function(){return D},Z.getAxes=function(){var e={};return t.each(V.concat(Y),function(t,i){i&&(e[i.direction+(1!==i.n?i.n:"")+"axis"]=i)}),e},Z.getXAxes=function(){return V},Z.getYAxes=function(){return Y},Z.c2p=function(t){var e,i,n={};for(e=0;e<V.length;++e)(i=V[e])&&i.used&&(n["x"+i.n]=i.c2p(t.left));for(e=0;e<Y.length;++e)(i=Y[e])&&i.used&&(n["y"+i.n]=i.c2p(t.top));return void 0!==n.x1&&(n.x=n.x1),void 0!==n.y1&&(n.y=n.y1),n},Z.p2c=function(t){var e,i,n,o={};for(e=0;e<V.length;++e)if((i=V[e])&&i.used&&(n="x"+i.n,null==t[n]&&1===i.n&&(n="x"),null!=t[n])){o.left=i.p2c(t[n]);break}for(e=0;e<Y.length;++e)if((i=Y[e])&&i.used&&(n="y"+i.n,null==t[n]&&1===i.n&&(n="y"),null!=t[n])){o.top=i.p2c(t[n]);break}return o},Z.getOptions=function(){return R},Z.triggerRedrawOverlay=I,Z.pointOffset=function(t){return{left:parseInt(V[u(t,"x")-1].p2c(+t.x)+q.left,10),top:parseInt(Y[u(t,"y")-1].p2c(+t.y)+q.top,10)}},Z.shutdown=f,Z.destroy=function(){f(),n.removeData("plot").empty(),D=[],V=[],Y=[],Z=U=B=H=$=F=W=R=null},Z.resize=function(){var t=n.width(),e=n.height();W.resize(t,e),F.resize(t,e),c(U.resize,[t,e])},Z.clearTextCache=function(){W.clearCache(),F.clearCache()},Z.autoScaleAxis=_,Z.computeRangeForDataSeries=function(t,e,i){for(var n=t.datapoints.points,o=t.datapoints.pointsize,s=t.datapoints.format,a=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY,l={xmin:a,ymin:a,xmax:r,ymax:r},c=0;c<n.length;c+=o)if(null!==n[c]&&("function"!=typeof i||i(n[c])))for(var h=0;h<o;++h){var u=n[c+h],d=s[h];null!=d&&("function"!=typeof i||i(u))&&(e||d.computeRange)&&u!==1/0&&u!==-1/0&&(!0===d.x&&(u<l.xmin&&(l.xmin=u),u>l.xmax&&(l.xmax=u)),!0===d.y&&(u<l.ymin&&(l.ymin=u),u>l.ymax&&(l.ymax=u)))}return l},Z.adjustSeriesDataRange=function(t,e){if(t.bars.show){var i,n=t.bars.barWidth[1];t.datapoints&&t.datapoints.points&&!n&&function(t){var e=[],i=t.datapoints.pointsize,n=Number.MAX_VALUE;t.datapoints.points.length<=i&&(n=1);for(var o=t.bars.horizontal?1:0;o<t.datapoints.points.length;o+=i)isFinite(t.datapoints.points[o])&&null!==t.datapoints.points[o]&&e.push(t.datapoints.points[o]);(e=e.filter(function(t,e,i){return i.indexOf(t)===e})).sort(function(t,e){return t-e});for(var o=1;o<e.length;o++){var s=Math.abs(e[o]-e[o-1]);s<n&&isFinite(s)&&(n=s)}"number"==typeof t.bars.barWidth?t.bars.barWidth=t.bars.barWidth*n:t.bars.barWidth[0]=t.bars.barWidth[0]*n}(t);var o=t.bars.barWidth[0]||t.bars.barWidth;switch(t.bars.align){case"left":i=0;break;case"right":i=-o;break;default:i=-o/2}t.bars.horizontal?(e.ymin+=i,e.ymax+=i+o):(e.xmin+=i,e.xmax+=i+o)}if(t.bars.show&&t.bars.zero||t.lines.show&&t.lines.zero){t.datapoints.pointsize<=2&&(e.ymin=Math.min(0,e.ymin),e.ymax=Math.max(0,e.ymax))}return e},Z.findNearbyItem=function(t,e,i,n,o){for(var s,a=null,r=n*n+1,l=D.length-1;0<=l;--l)if(i(l)){var c=D[l];if(!c.datapoints)return;if(c.lines.show||c.points.show){var h=E(c,t,e,n,r,o);h&&(r=h.distance,a=[l,h.dataIndex])}if(c.bars.show&&!a){var u=A(c,t,e);0<=u&&(a=[l,u])}}if(a){l=a[0],s=a[1];var d=D[l].datapoints.pointsize;return{datapoint:D[l].datapoints.points.slice(s*d,(s+1)*d),dataIndex:s,series:D[l],seriesIndex:l}}return null},Z.findNearbyInterpolationPoint=function(t,e,i){var n,o,s,a,r,l,c,h=Number.MAX_VALUE;for(n=0;n<D.length;++n)if(i(n)){var u=D[n].datapoints.points;l=D[n].datapoints.pointsize;var d=u[u.length-l]<u[0]?function(t,e){return e<t}:function(t,e){return t<e};if(!d(t,u[0])){for(o=l;o<u.length&&!d(t,u[o]);o+=l);var p=u[o-l],f=u[o-l+1],m=u[o],g=u[o+1];void 0!==p&&void 0!==m&&void 0!==f&&void 0!==g&&(e=p===m?g:f+(g-f)*(t-p)/(m-p),a=Math.abs(D[n].xaxis.p2c(m)-t),r=Math.abs(D[n].yaxis.p2c(g)-e),(s=a*a+r*r)<h&&(h=s,c=[t,e,n,o]))}}return c?(n=c[2],o=c[3],l=D[n].datapoints.pointsize,u=D[n].datapoints.points,p=u[o-l],f=u[o-l+1],m=u[o],g=u[o+1],{datapoint:[c[0],c[1]],leftPoint:[p,f],rightPoint:[m,g],seriesIndex:n}):null},Z.computeValuePrecision=y,Z.computeTickSize=w,Z.addEventHandler=function(t,e,i,n){var o=i+t,s=K[o]||[];s.push({event:t,handler:e,eventHolder:i,priority:n}),s.sort(function(t,e){return e.priority-t.priority}),s.forEach(function(t){t.eventHolder.unbind(t.event,t.handler),t.eventHolder.bind(t.event,t.handler)}),K[o]=s},Z.hooks=U;var tt=t.plot.uiConstants.MINOR_TICKS_COUNT_CONSTANT,et=t.plot.uiConstants.TICK_LENGTH_CONSTANT;!function(){for(var e={Canvas:r},i=0;i<l.length;++i){var n=l[i];n.init(Z,e),n.options&&t.extend(!0,R,n.options)}}(),function(){n.css("padding",0).children().filter(function(){return!t(this).hasClass("flot-overlay")&&!t(this).hasClass("flot-base")}).remove(),"static"===n.css("position")&&n.css("position","relative"),W=new r("flot-base",n[0]),F=new r("flot-overlay",n[0]),H=W.context,B=F.context,$=t(F.element).unbind();var e=n.data("plot");e&&(e.shutdown(),F.clear()),n.data("plot",Z)}(),function(e){t.extend(!0,R,e),e&&e.colors&&(R.colors=e.colors),null==R.xaxis.color&&(R.xaxis.color=t.color.parse(R.grid.color).scale("a",.22).toString()),null==R.yaxis.color&&(R.yaxis.color=t.color.parse(R.grid.color).scale("a",.22).toString()),null==R.xaxis.tickColor&&(R.xaxis.tickColor=R.grid.tickColor||R.xaxis.color),null==R.yaxis.tickColor&&(R.yaxis.tickColor=R.grid.tickColor||R.yaxis.color),null==R.grid.borderColor&&(R.grid.borderColor=R.grid.color),null==R.grid.tickColor&&(R.grid.tickColor=t.color.parse(R.grid.color).scale("a",.22).toString());var i,o,s,a=n.css("font-size"),r=a?+a.replace("px",""):13,l={style:n.css("font-style"),size:Math.round(.8*r),variant:n.css("font-variant"),weight:n.css("font-weight"),family:n.css("font-family")};for(s=R.xaxes.length||1,i=0;i<s;++i)(o=R.xaxes[i])&&!o.tickColor&&(o.tickColor=o.color),o=t.extend(!0,{},R.xaxis,o),(R.xaxes[i]=o).font&&(o.font=t.extend({},l,o.font),o.font.color||(o.font.color=o.color),o.font.lineHeight||(o.font.lineHeight=Math.round(1.15*o.font.size)));for(s=R.yaxes.length||1,i=0;i<s;++i)(o=R.yaxes[i])&&!o.tickColor&&(o.tickColor=o.color),o=t.extend(!0,{},R.yaxis,o),(R.yaxes[i]=o).font&&(o.font=t.extend({},l,o.font),o.font.color||(o.font.color=o.color),o.font.lineHeight||(o.font.lineHeight=Math.round(1.15*o.font.size)));for(i=0;i<R.xaxes.length;++i)p(V,i+1).options=R.xaxes[i];for(i=0;i<R.yaxes.length;++i)p(Y,i+1).options=R.yaxes[i];for(var h in t.each(d(),function(t,e){e.boxPosition=e.options.boxPosition||{centerX:0,centerY:0}}),U)R.hooks[h]&&R.hooks[h].length&&(U[h]=U[h].concat(R.hooks[h]));c(U.processOptions,[R])}(a),h(s),x(!0),k(),c(U.bindEvents,[$])}var r=window.Flot.Canvas;t.plot=function(e,i,n){return new a(t(e),i,n,t.plot.plugins)},t.plot.version="3.0.0",t.plot.plugins=[],t.fn.plot=function(e,i){return this.each(function(){t.plot(this,e,i)})},t.plot.linearTickGenerator=e,t.plot.defaultTickFormatter=i,t.plot.expRepTickFormatter=n}(jQuery),function(t){var e={saturate:function(t){return t===1/0?Number.MAX_VALUE:t===-1/0?-Number.MAX_VALUE:t},delta:function(t,e,i){return(e-t)/i==1/0?e/i-t/i:(e-t)/i},multiply:function(t,i){return e.saturate(t*i)},multiplyAdd:function(t,i,n){if(isFinite(t*i))return e.saturate(t*i+n);for(var o=n,s=0;s<i;s++)o+=t;return e.saturate(o)},floorInBase:function(t,e){return e*Math.floor(t/e)}};t.plot.saturated=e}(jQuery),function(t){var e={getPageXY:function(t){var e=document.documentElement;return{X:t.clientX+(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0),Y:t.clientY+(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}},getPixelRatio:function(t){return(window.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)},isSafari:function(){return/constructor/i.test(window.top.HTMLElement)||"[object SafariRemoteNotification]"===(!window.top.safari||void 0!==window.top.safari&&window.top.safari.pushNotification).toString()},isMobileSafari:function(){return navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&navigator.userAgent.match(/AppleWebKit/)},isOpera:function(){return!!window.opr&&!!opr.addons||!!window.opera||0<=navigator.userAgent.indexOf(" OPR/")},isFirefox:function(){return"undefined"!=typeof InstallTrigger},isIE:function(){return!!document.documentMode},isEdge:function(){return!e.isIE()&&!!window.StyleMedia},isChrome:function(){return!!window.chrome&&!!window.chrome.webstore},isBlink:function(){return(e.isChrome()||e.isOpera())&&!!window.CSS}};t.plot.browser=e}(jQuery),function(t){t.plot.drawSeries=new function(){function e(t,e,i,n,o,s,a,r,l,c,h){var u,d,p,f,m=t+n,g=t+o,v=i,x=e,_=!1;u=d=p=!0,c?(_=d=p=!0,u=!1,x=e+n,v=e+o,(g=t)<(m=i)&&(f=g,g=m,m=f,d=!(u=!0))):(u=d=p=!0,_=!1,m=t+n,g=t+o,(x=e)<(v=i)&&(f=x,x=v,v=f,p=!(_=!0))),g<a.min||m>a.max||x<r.min||v>r.max||(m<a.min&&(m=a.min,u=!1),g>a.max&&(g=a.max,d=!1),v<r.min&&(v=r.min,_=!1),x>r.max&&(x=r.max,p=!1),m=a.p2c(m),v=r.p2c(v),g=a.p2c(g),x=r.p2c(x),s&&(l.fillStyle=s(v,x),l.fillRect(m,x,g-m,v-x)),0<h&&(u||d||p||_)&&(l.beginPath(),l.moveTo(m,v),u?l.lineTo(m,x):l.moveTo(m,x),p?l.lineTo(g,x):l.moveTo(g,x),d?l.lineTo(g,v):l.moveTo(g,v),_?l.lineTo(m,v):l.moveTo(m,v),l.stroke()))}function i(e,i,n,o,s){var a=e.fill;if(!a)return null;if(e.fillColor)return s(e.fillColor,n,o,i);var r=t.color.parse(i);return r.a="number"==typeof a?a:.4,r.normalize(),r.toString()}this.drawSeriesLines=function(t,e,n,o,s,a,r){e.save(),e.translate(n.left,n.top),e.lineJoin="round",t.lines.dashes&&e.setLineDash&&e.setLineDash(t.lines.dashes);var l={format:t.datapoints.format,points:t.datapoints.points,pointsize:t.datapoints.pointsize};t.decimate&&(l.points=t.decimate(t,t.xaxis.min,t.xaxis.max,o,t.yaxis.min,t.yaxis.max,s));var c=t.lines.lineWidth;e.lineWidth=c,e.strokeStyle=t.color;var h=i(t.lines,t.color,0,s,r);h&&(e.fillStyle=h,function(t,e,i,n,o,s){for(var a=t.points,r=t.pointsize,l=n>i.min?Math.min(i.max,n):i.min,c=0,h=1,u=!1,d=0,p=0,f=null,m=null;!(0<r&&c>a.length+r);){var g=a[(c+=r)-r],v=a[c-r+h],x=a[c],_=a[c+h];if(-2===r&&(v=_=l),u){if(0<r&&null!=g&&null==x){p=c,r=-r,h=2;continue}if(r<0&&c===d+r){o.fill(),u=!1,h=1,c=d=p+(r=-r);continue}}if(null!=g&&null!=x){if(s&&(null!==f&&null!==m?(x=g,_=v,g=f,v=m,m=f=null,c-=r):v!==_&&g!==x&&(f=x,m=_=v)),g<=x&&g<e.min){if(x<e.min)continue;v=(e.min-g)/(x-g)*(_-v)+v,g=e.min}else if(x<=g&&x<e.min){if(g<e.min)continue;_=(e.min-g)/(x-g)*(_-v)+v,x=e.min}if(x<=g&&g>e.max){if(x>e.max)continue;v=(e.max-g)/(x-g)*(_-v)+v,g=e.max}else if(g<=x&&x>e.max){if(g>e.max)continue;_=(e.max-g)/(x-g)*(_-v)+v,x=e.max}if(u||(o.beginPath(),o.moveTo(e.p2c(g),i.p2c(l)),u=!0),v>=i.max&&_>=i.max)o.lineTo(e.p2c(g),i.p2c(i.max)),o.lineTo(e.p2c(x),i.p2c(i.max));else if(v<=i.min&&_<=i.min)o.lineTo(e.p2c(g),i.p2c(i.min)),o.lineTo(e.p2c(x),i.p2c(i.min));else{var y=g,w=x;v<=_&&v<i.min&&_>=i.min?(g=(i.min-v)/(_-v)*(x-g)+g,v=i.min):_<=v&&_<i.min&&v>=i.min&&(x=(i.min-v)/(_-v)*(x-g)+g,_=i.min),_<=v&&v>i.max&&_<=i.max?(g=(i.max-v)/(_-v)*(x-g)+g,v=i.max):v<=_&&_>i.max&&v<=i.max&&(x=(i.max-v)/(_-v)*(x-g)+g,_=i.max),g!==y&&o.lineTo(e.p2c(y),i.p2c(v)),o.lineTo(e.p2c(g),i.p2c(v)),o.lineTo(e.p2c(x),i.p2c(_)),x!==w&&(o.lineTo(e.p2c(x),i.p2c(_)),o.lineTo(e.p2c(w),i.p2c(_)))}}else m=f=null}}(l,t.xaxis,t.yaxis,t.lines.fillTowards||0,e,t.lines.steps)),0<c&&function(t,e,i,n,o,s,a){var r=t.points,l=t.pointsize,c=null,h=null,u=0,d=0,p=0,f=0,m=null,g=null,v=0;for(s.beginPath(),v=l;v<r.length;v+=l)if(u=r[v-l],d=r[v-l+1],p=r[v],f=r[v+1],null!==u&&null!==p)if(isNaN(u)||isNaN(p)||isNaN(d)||isNaN(f))h=c=null;else{if(a&&(null!==m&&null!==g?(p=u,f=d,u=m,d=g,g=m=null,v-=l):d!==f&&u!==p&&(m=p,g=f=d)),d<=f&&d<o.min){if(f<o.min)continue;u=(o.min-d)/(f-d)*(p-u)+u,d=o.min}else if(f<=d&&f<o.min){if(d<o.min)continue;p=(o.min-d)/(f-d)*(p-u)+u,f=o.min}if(f<=d&&d>o.max){if(f>o.max)continue;u=(o.max-d)/(f-d)*(p-u)+u,d=o.max}else if(d<=f&&f>o.max){if(d>o.max)continue;p=(o.max-d)/(f-d)*(p-u)+u,f=o.max}if(u<=p&&u<n.min){if(p<n.min)continue;d=(n.min-u)/(p-u)*(f-d)+d,u=n.min}else if(p<=u&&p<n.min){if(u<n.min)continue;f=(n.min-u)/(p-u)*(f-d)+d,p=n.min}if(p<=u&&u>n.max){if(p>n.max)continue;d=(n.max-u)/(p-u)*(f-d)+d,u=n.max}else if(u<=p&&p>n.max){if(u>n.max)continue;f=(n.max-u)/(p-u)*(f-d)+d,p=n.max}u===c&&d===h||s.moveTo(n.p2c(u)+0,o.p2c(d)+0),c=p,h=f,s.lineTo(n.p2c(p)+0,o.p2c(f)+0)}else g=m=null;s.stroke()}(l,0,0,t.xaxis,t.yaxis,e,t.lines.steps),e.restore()},this.drawSeriesPoints=function(t,e,n,o,s,a,r){function l(t,e,i,n,o,s){t.moveTo(e+n,i),t.arc(e,i,n,0,o?Math.PI:2*Math.PI,!1)}l.fill=!0,e.save(),e.translate(n.left,n.top);var c={format:t.datapoints.format,points:t.datapoints.points,pointsize:t.datapoints.pointsize};t.decimatePoints&&(c.points=t.decimatePoints(t,t.xaxis.min,t.xaxis.max,o,t.yaxis.min,t.yaxis.max,s));var h,u=t.points.lineWidth,d=t.points.radius,p=t.points.symbol;"circle"===p?h=l:"string"==typeof p&&a&&a[p]?h=a[p]:"function"==typeof a&&(h=a),0===u&&(u=1e-4),e.lineWidth=u,e.fillStyle=i(t.points,t.color,null,null,r),e.strokeStyle=t.color,function(t,i,n,o,s,a,r,l){var c=t.points,h=t.pointsize;e.beginPath();for(var u=0;u<c.length;u+=h){var d=c[u],p=c[u+1];null==d||d<a.min||d>a.max||p<r.min||p>r.max||(d=a.p2c(d),p=r.p2c(p)+0,l(e,d,p,i,!1,!0))}l.fill&&!0&&e.fill(),e.stroke()}(c,d,0,0,0,t.xaxis,t.yaxis,h),e.restore()},this.drawSeriesBars=function(t,n,o,s,a,r,l){n.save(),n.translate(o.left,o.top);var c,h={format:t.datapoints.format,points:t.datapoints.points,pointsize:t.datapoints.pointsize};t.decimate&&(h.points=t.decimate(t,t.xaxis.min,t.xaxis.max,s)),n.lineWidth=t.bars.lineWidth,n.strokeStyle=t.color;var u=t.bars.barWidth[0]||t.bars.barWidth;switch(t.bars.align){case"left":c=0;break;case"right":c=-u;break;default:c=-u/2}!function(i,o,s,a,r,l){for(var c=i.points,h=i.pointsize,u=t.bars.fillTowards||0,d=u>l.min?Math.min(l.max,u):l.min,p=0;p<c.length;p+=h)if(null!=c[p]){var f=3===h?c[p+2]:d;e(c[p],c[p+1],f,o,s,a,r,l,n,t.bars.horizontal,t.bars.lineWidth)}}(h,c,c+u,t.bars.fill?function(e,n){return i(t.bars,t.color,e,n,l)}:null,t.xaxis,t.yaxis),n.restore()},this.drawBar=e}}(jQuery),function(t){function e(t,e,i,n){if(e.points.errorbars){var o=[{x:!0,number:!0,required:!0},{y:!0,number:!0,required:!0}],s=e.points.errorbars;"x"!==s&&"xy"!==s||(e.points.xerr.asymmetric&&o.push({x:!0,number:!0,required:!0}),o.push({x:!0,number:!0,required:!0})),"y"!==s&&"xy"!==s||(e.points.yerr.asymmetric&&o.push({y:!0,number:!0,required:!0}),o.push({y:!0,number:!0,required:!0})),n.format=o}}function i(t,e){var i=t.datapoints.points,n=null,o=null,s=null,a=null,r=t.points.xerr,l=t.points.yerr,c=t.points.errorbars;"x"===c||"xy"===c?r.asymmetric?(n=i[e+2],o=i[e+3],"xy"===c&&(l.asymmetric?(s=i[e+4],a=i[e+5]):s=i[e+4])):(n=i[e+2],"xy"===c&&(l.asymmetric?(s=i[e+3],a=i[e+4]):s=i[e+3])):"y"===c&&(l.asymmetric?(s=i[e+2],a=i[e+3]):s=i[e+2]),null==o&&(o=n),null==a&&(a=s);var h=[n,o,s,a];return r.show||(h[0]=null,h[1]=null),l.show||(h[2]=null,h[3]=null),h}function n(e,i,n,s,a,r,l,c,h,u,d){s+=u,a+=u,r+=u,"x"===i.err?(n+h<a?o(e,[[a,s],[Math.max(n+h,d[0]),s]]):l=!1,r<n-h?o(e,[[Math.min(n-h,d[1]),s],[r,s]]):c=!1):(a<s-h?o(e,[[n,a],[n,Math.min(s-h,d[0])]]):l=!1,s+h<r?o(e,[[n,Math.max(s+h,d[1])],[n,r]]):c=!1),h=null!=i.radius?i.radius:h,l&&("-"===i.upperCap?"x"===i.err?o(e,[[a,s-h],[a,s+h]]):o(e,[[n-h,a],[n+h,a]]):t.isFunction(i.upperCap)&&("x"===i.err?i.upperCap(e,a,s,h):i.upperCap(e,n,a,h))),c&&("-"===i.lowerCap?"x"===i.err?o(e,[[r,s-h],[r,s+h]]):o(e,[[n-h,r],[n+h,r]]):t.isFunction(i.lowerCap)&&("x"===i.err?i.lowerCap(e,r,s,h):i.lowerCap(e,n,r,h)))}function o(t,e){t.beginPath(),t.moveTo(e[0][0],e[0][1]);for(var i=1;i<e.length;i++)t.lineTo(e[i][0],e[i][1]);t.stroke()}function s(e,o){var s=e.getPlotOffset();o.save(),o.translate(s.left,s.top),t.each(e.getData(),function(t,e){e.points.errorbars&&(e.points.xerr.show||e.points.yerr.show)&&function(t,e,o){var s,a=o.datapoints.points,r=o.datapoints.pointsize,l=[o.xaxis,o.yaxis],c=o.points.radius,h=[o.points.xerr,o.points.yerr],u=!1;l[0].p2c(l[0].max)<l[0].p2c(l[0].min)&&(u=!0,s=h[0].lowerCap,h[0].lowerCap=h[0].upperCap,h[0].upperCap=s);var d=!1;l[1].p2c(l[1].min)<l[1].p2c(l[1].max)&&(d=!0,s=h[1].lowerCap,h[1].lowerCap=h[1].upperCap,h[1].upperCap=s);for(var p=0;p<o.datapoints.points.length;p+=r)for(var f=i(o,p),m=0;m<h.length;m++){var g=[l[m].min,l[m].max];if(f[m*h.length]){var v=a[p],x=a[p+1],_=[v,x][m]+f[m*h.length+1],y=[v,x][m]-f[m*h.length];if("x"===h[m].err&&(x>l[1].max||x<l[1].min||_<l[0].min||y>l[0].max))continue;if("y"===h[m].err&&(v>l[0].max||v<l[0].min||_<l[1].min||y>l[1].max))continue;var w=!0,b=!0;_>g[1]&&(w=!1,_=g[1]),y<g[0]&&(b=!1,y=g[0]),("x"===h[m].err&&u||"y"===h[m].err&&d)&&(s=y,y=_,_=s,s=b,b=w,w=s,s=g[0],g[0]=g[1],g[1]=s),v=l[0].p2c(v),x=l[1].p2c(x),_=l[m].p2c(_),y=l[m].p2c(y),g[0]=l[m].p2c(g[0]),g[1]=l[m].p2c(g[1]);var T=h[m].lineWidth?h[m].lineWidth:o.points.lineWidth,k=null!=o.points.shadowSize?o.points.shadowSize:o.shadowSize;if(0<T&&0<k){var C=k/2;e.lineWidth=C,e.strokeStyle="rgba(0,0,0,0.1)",n(e,h[m],v,x,_,y,w,b,c,C+C/2,g),e.strokeStyle="rgba(0,0,0,0.2)",n(e,h[m],v,x,_,y,w,b,c,C/2,g)}e.strokeStyle=h[m].color?h[m].color:o.color,e.lineWidth=T,n(e,h[m],v,x,_,y,w,b,c,0,g)}}}(0,o,e)}),o.restore()}t.plot.plugins.push({init:function(t){t.hooks.processRawData.push(e),t.hooks.draw.push(s)},options:{series:{points:{errorbars:null,xerr:{err:"x",show:null,asymmetric:null,upperCap:null,lowerCap:null,color:null,radius:null},yerr:{err:"y",show:null,asymmetric:null,upperCap:null,lowerCap:null,color:null,radius:null}}}},name:"errorbars",version:"1.0"})}(jQuery),jQuery.plot.uiConstants={SNAPPING_CONSTANT:20,PANHINT_LENGTH_CONSTANT:10,MINOR_TICKS_COUNT_CONSTANT:4,TICK_LENGTH_CONSTANT:10,ZOOM_DISTANCE_MARGIN:25},function(t){function e(t,e){for(var i,n,o=Math.floor(Math.log(t)*Math.LOG10E)-1,s=[],a=-o;a<=o;a++){n=parseFloat("1e"+a);for(var r=1;r<9;r+=e)i=n*r,s.push(i)}return s}function i(t,e){"log"===e.options.mode&&e.datamin<=0&&(null===e.datamin?e.datamin=.1:e.datamin=n(t,e))}function n(t,e){var i=t.getData().filter(function(t){return t.xaxis===e||t.yaxis===e}).map(function(e){return t.computeRangeForDataSeries(e,null,o)}),n="x"===e.direction?Math.min(.1,i&&i[0]?i[0].xmin:.1):Math.min(.1,i&&i[0]?i[0].ymin:.1);return e.min=n}function o(t){return 0<t}var s=e(Number.MAX_VALUE,10),a=e(Number.MAX_VALUE,4),r=function(e,i,n){var o=[],r=-1,c=-1,h=e.getCanvas(),u=s,d=l(i,e),p=i.max;n||(n=.3*Math.sqrt("x"===i.direction?h.width:h.height)),s.some(function(t,e){return d<=t&&(r=e,!0)}),s.some(function(t,e){return p<=t&&(c=e,!0)}),-1===c&&(c=s.length-1),c-r<=n/4&&u.length!==a.length&&(u=a,r*=2,c*=2);var f,m,g,v=null,x=1/n;if(n/4<=c-r){for(var _=c;r<=_;_--)f=u[_],m=(Math.log(f)-Math.log(d))/(Math.log(p)-Math.log(d)),g=f,null===v?v={pixelCoord:m,idealPixelCoord:m}:Math.abs(m-v.pixelCoord)>=x?v={pixelCoord:m,idealPixelCoord:v.idealPixelCoord-x}:g=null,g&&o.push(g);o.reverse()}else{var y=e.computeTickSize(d,p,n),w={min:d,max:p,tickSize:y};o=t.plot.linearTickGenerator(w)}return o},l=function(t,e){var i=t.min,o=t.max;return i<=0&&o<(i=null===t.datamin?t.min=.1:n(e,t))&&(t.max=null!==t.datamax?t.datamax:t.options.max,t.options.offset.below=0,t.options.offset.above=0),i},c=function(e,i,n){var o=0<e?Math.floor(Math.log(e)/Math.LN10):0;if(n)return-4<=o&&o<=7?t.plot.defaultTickFormatter(e,i,n):t.plot.expRepTickFormatter(e,i,n);if(-4<=o&&o<=7){var s=o<0?e.toFixed(-o):e.toFixed(o+2);if(-1!==s.indexOf(".")){for(var a=s.lastIndexOf("0");a===s.length-1;)a=(s=s.slice(0,-1)).lastIndexOf("0");s.indexOf(".")===s.length-1&&(s=s.slice(0,-1))}return s}return t.plot.expRepTickFormatter(e,i)},h=function(t){return t<s[0]&&(t=s[0]),Math.log(t)},u=function(t){return Math.exp(t)},d=function(t){return-t},p=function(t){return-h(t)},f=function(t){return u(-t)};t.plot.plugins.push({init:function(e){e.hooks.processOptions.push(function(e){t.each(e.getAxes(),function(t,n){var o=n.options;"log"===o.mode?(n.tickGenerator=function(t){return r(e,t,11)},"function"!=typeof n.options.tickFormatter&&(n.options.tickFormatter=c),n.options.transform=o.inverted?p:h,n.options.inverseTransform=o.inverted?f:u,n.options.autoScaleMargin=0,e.hooks.setRange.push(i)):o.inverted&&(n.options.transform=d,n.options.inverseTransform=d)})})},options:{xaxis:{}},name:"log",version:"0.1"}),t.plot.logTicksGenerator=r,t.plot.logTickFormatter=c}(jQuery),function(t){var e=function(t,e,i,n,o){var s=n*Math.sqrt(Math.PI)/2;t.rect(e-s,i-s,s+s,s+s)},i=function(t,e,i,n,o){var s=n*Math.sqrt(Math.PI)/2;t.rect(e-s,i-s,s+s,s+s)},n=function(t,e,i,n,o){var s=n*Math.sqrt(Math.PI/2);t.moveTo(e-s,i),t.lineTo(e,i-s),t.lineTo(e+s,i),t.lineTo(e,i+s),t.lineTo(e-s,i),t.lineTo(e,i-s)},o=function(t,e,i,n,o){var s=n*Math.sqrt(2*Math.PI/Math.sin(Math.PI/3)),a=s*Math.sin(Math.PI/3);t.moveTo(e-s/2,i+a/2),t.lineTo(e+s/2,i+a/2),o||(t.lineTo(e,i-a/2),t.lineTo(e-s/2,i+a/2),t.lineTo(e+s/2,i+a/2))},s=function(t,e,i,n,o,s){o||(t.moveTo(e+n,i),t.arc(e,i,n,0,2*Math.PI,!1))},a={square:e,rectangle:i,diamond:n,triangle:o,cross:function(t,e,i,n,o){var s=n*Math.sqrt(Math.PI)/2;t.moveTo(e-s,i-s),t.lineTo(e+s,i+s),t.moveTo(e-s,i+s),t.lineTo(e+s,i-s)},ellipse:s,plus:function(t,e,i,n,o){var s=n*Math.sqrt(Math.PI/2);t.moveTo(e-s,i),t.lineTo(e+s,i),t.moveTo(e,i+s),t.lineTo(e,i-s)}};s.fill=o.fill=n.fill=i.fill=e.fill=!0,t.plot.plugins.push({init:function(t){t.drawSymbol=a},name:"symbols",version:"1.0"})}(jQuery),function(t){function e(t,e,i,n){if(!0===e.flatdata){var o=e.start||0,s="number"==typeof e.step?e.step:1;n.pointsize=2;for(var a=0,r=0;a<i.length;a++,r+=2)n.points[r]=o+a*s,n.points[r+1]=i[a];void 0!==n.points?n.points.length=2*i.length:n.points=[]}}jQuery.plot.plugins.push({init:function(t){t.hooks.processRawData.push(e)},name:"flatdata",version:"0.0.2"})}(),function(t){function e(e,a){function r(t,i){var o=Math.abs(t.originalEvent.deltaY)<=1?1+Math.abs(t.originalEvent.deltaY)/50:null;if(C&&d(t),e.getOptions().zoom.active)return t.preventDefault(),function(t,i,o){var s=n.getPageXY(t),a=e.offset();a.left=s.X-a.left,a.top=s.Y-a.top;var r=e.getPlaceholder().offset();r.left=s.X-r.left,r.top=s.Y-r.top;var l=e.getXAxes().concat(e.getYAxes()).filter(function(t){var e=t.box;if(void 0!==e)return r.left>e.left&&r.left<e.left+e.width&&r.top>e.top&&r.top<e.top+e.height});0===l.length&&(l=void 0),i?e.zoomOut({center:a,axes:l,amount:o}):e.zoom({center:a,axes:l,amount:o})}(t,i<0,o),!1}function l(t){v=!0}function c(t){v=!1}function h(t){if(!v||0!==t.button)return!1;C=!0;var i=n.getPageXY(t),o=e.getPlaceholder().offset();o.left=i.X-o.left,o.top=i.Y-o.top,0===(g=e.getXAxes().concat(e.getYAxes()).filter(function(t){var e=t.box;if(void 0!==e)return o.left>e.left&&o.left<e.left+e.width&&o.top>e.top&&o.top<e.top+e.height})).length&&(g=void 0);var s=e.getPlaceholder().css("cursor");s&&(w=s),e.getPlaceholder().css("cursor",e.getOptions().pan.cursor),y?m=e.navigationState(i.X,i.Y):x&&(k.x=i.X,k.y=i.Y)}function u(t){if(C){var i=n.getPageXY(t),o=e.getOptions().pan.frameRate;-1!==o?!T&&o&&(T=setTimeout(function(){y?e.smartPan({x:m.startPageX-i.X,y:m.startPageY-i.Y},m,g,!1,_):x&&(e.pan({left:k.x-i.X,top:k.y-i.Y,axes:g}),k.x=i.X,k.y=i.Y),T=null},1/o*1e3)):y?e.smartPan({x:m.startPageX-i.X,y:m.startPageY-i.Y},m,g,!1,_):x&&(e.pan({left:k.x-i.X,top:k.y-i.Y,axes:g}),k.x=i.X,k.y=i.Y)}}function d(t){if(C){T&&(clearTimeout(T),T=null),C=!1;var i=n.getPageXY(t);e.getPlaceholder().css("cursor",w),y?(e.smartPan({x:m.startPageX-i.X,y:m.startPageY-i.Y},m,g,!1,_),e.smartPan.end()):x&&(e.pan({left:k.x-i.X,top:k.y-i.Y,axes:g}),k.x=0,k.y=0)}}function p(i){if(e.activate(),e.getOptions().recenter.interactive){var n,o=e.getTouchedAxis(i.clientX,i.clientY);e.recenter({axes:o[0]?o:null}),n=o[0]?new t.Event("re-center",{detail:{axisTouched:o[0]}}):new t.Event("re-center",{detail:i}),e.getPlaceholder().trigger(n)}}function f(t){return e.activate(),C&&d(t),!1}var m,g=null,v=!1,x="manual"===a.pan.mode,_="smartLock"===a.pan.mode,y=_||"smart"===a.pan.mode,w="default",b=null,T=null,k={x:0,y:0},C=!1;e.navigationState=function(t,e){var i=this.getAxes(),n={};return Object.keys(i).forEach(function(t){var e=i[t];n[t]={navigationOffset:{below:e.options.offset.below||0,above:e.options.offset.above||0},axisMin:e.min,axisMax:e.max,diagMode:!1}}),n.startPageX=t||0,n.startPageY=e||0,n},e.activate=function(){var t=e.getOptions();t.pan.active&&t.zoom.active||(t.pan.active=!0,t.zoom.active=!0,e.getPlaceholder().trigger("plotactivated",[e]))},e.zoomOut=function(t){t||(t={}),t.amount||(t.amount=e.getOptions().zoom.amount),t.amount=1/t.amount,e.zoom(t)},e.zoom=function(i){i||(i={});var n=i.center,o=i.amount||e.getOptions().zoom.amount,s=e.width(),a=e.height(),r=i.axes||e.getAxes();n||(n={left:s/2,top:a/2});var l=n.left/s,c=n.top/a,h={x:{min:n.left-l*s/o,max:n.left+(1-l)*s/o},y:{min:n.top-c*a/o,max:n.top+(1-c)*a/o}};for(var u in r)if(r.hasOwnProperty(u)){var d=r[u],p=d.options,f=h[d.direction].min,m=h[d.direction].max,g=d.options.offset;if((p.axisZoom||!i.axes)&&(i.axes||p.plotZoom)){if(f=t.plot.saturated.saturate(d.c2p(f)),(m=t.plot.saturated.saturate(d.c2p(m)))<f){var v=f;f=m,m=v}var x=t.plot.saturated.saturate(g.below-(d.min-f)),_=t.plot.saturated.saturate(g.above-(d.max-m));p.offset={below:x,above:_}}}e.setupGrid(!0),e.draw(),i.preventEvent||e.getPlaceholder().trigger("plotzoom",[e,i])},e.pan=function(n){var o={x:+n.left,y:+n.top};isNaN(o.x)&&(o.x=0),isNaN(o.y)&&(o.y=0),t.each(n.axes||e.getAxes(),function(t,e){var s=e.options,a=o[e.direction];if((s.axisPan||!n.axes)&&(s.plotPan||n.axes)&&0!==a){var r=i.saturate(e.c2p(e.p2c(e.min)+a)-e.c2p(e.p2c(e.min))),l=i.saturate(e.c2p(e.p2c(e.max)+a)-e.c2p(e.p2c(e.max)));isFinite(r)||(r=0),isFinite(l)||(l=0),s.offset={below:i.saturate(r+(s.offset.below||0)),above:i.saturate(l+(s.offset.above||0))}}}),e.setupGrid(!0),e.draw(),n.preventEvent||e.getPlaceholder().trigger("plotpan",[e,n])},e.recenter=function(i){t.each(i.axes||e.getAxes(),function(t,e){i.axes?"x"===this.direction?e.options.offset={below:0}:"y"===this.direction&&(e.options.offset={above:0}):e.options.offset={below:0,above:0}}),e.setupGrid(!0),e.draw()};var S=null,M={x:0,y:0};e.smartPan=function(t,n,s,a,r){var l,c,h,u,d,p,f,m,g,v,x,_,y,w=!!r||(c=t,Math.abs(c.y)<o&&Math.abs(c.x)>=o||Math.abs(c.x)<o&&Math.abs(c.y)>=o),T=e.getAxes();t=r?function(t){switch(!S&&Math.max(Math.abs(t.x),Math.abs(t.y))>=o&&(S=Math.abs(t.x)<Math.abs(t.y)?"y":"x"),S){case"x":return{x:t.x,y:0};case"y":return{x:0,y:t.y};default:return{x:0,y:0}}}(t):(h=t,Math.abs(h.x)<o&&Math.abs(h.y)>=o?{x:0,y:h.y}:Math.abs(h.y)<o&&Math.abs(h.x)>=o?{x:h.x,y:0}:h),u=t,0<Math.abs(u.x)&&0<Math.abs(u.y)&&(n.diagMode=!0),w&&!0===n.diagMode&&(n.diagMode=!1,d=T,p=n,f=t,Object.keys(d).forEach(function(t){m=d[t],0===f[m.direction]&&(m.options.offset.below=p[t].navigationOffset.below,m.options.offset.above=p[t].navigationOffset.above)})),b=w?{start:{x:n.startPageX-e.offset().left+e.getPlotOffset().left,y:n.startPageY-e.offset().top+e.getPlotOffset().top},end:{x:n.startPageX-t.x-e.offset().left+e.getPlotOffset().left,y:n.startPageY-t.y-e.offset().top+e.getPlotOffset().top}}:{start:{x:n.startPageX-e.offset().left+e.getPlotOffset().left,y:n.startPageY-e.offset().top+e.getPlotOffset().top},end:!1},isNaN(t.x)&&(t.x=0),isNaN(t.y)&&(t.y=0),s&&(T=s),Object.keys(T).forEach(function(e){if(g=T[e],v=g.min,x=g.max,l=g.options,y=t[g.direction],_=M[g.direction],(l.axisPan||!s)&&(s||l.plotPan)&&0!==y){var n=i.saturate(g.c2p(g.p2c(v)-(_-y))-g.c2p(g.p2c(v))),o=i.saturate(g.c2p(g.p2c(x)-(_-y))-g.c2p(g.p2c(x)));isFinite(n)||(n=0),isFinite(o)||(o=0),g.options.offset.below=i.saturate(n+(g.options.offset.below||0)),g.options.offset.above=i.saturate(o+(g.options.offset.above||0))}}),M=t,e.setupGrid(!0),e.draw(),a||e.getPlaceholder().trigger("plotpan",[e,t,s,n])},e.smartPan.end=function(){S=b=null,M={x:0,y:0},e.triggerRedrawOverlay()},e.getTouchedAxis=function(t,i){var n=e.getPlaceholder().offset();return n.left=t-n.left,n.top=i-n.top,e.getXAxes().concat(e.getYAxes()).filter(function(t){var e=t.box;if(void 0!==e)return n.left>e.left&&n.left<e.left+e.width&&n.top>e.top&&n.top<e.top+e.height})},e.hooks.drawOverlay.push(function(t,e){if(b){e.strokeStyle="rgba(96, 160, 208, 0.7)",e.lineWidth=2,e.lineJoin="round";var i,n,o=Math.round(b.start.x),a=Math.round(b.start.y);if(g?"x"===g[0].direction?(n=Math.round(b.start.y),i=Math.round(b.end.x)):"y"===g[0].direction&&(i=Math.round(b.start.x),n=Math.round(b.end.y)):(i=Math.round(b.end.x),n=Math.round(b.end.y)),e.beginPath(),!1===b.end)e.moveTo(o,a-s),e.lineTo(o,a+s),e.moveTo(o+s,a),e.lineTo(o-s,a);else{var r=a===n;e.moveTo(o-(r?0:s),a-(r?s:0)),e.lineTo(o+(r?0:s),a+(r?s:0)),e.moveTo(o,a),e.lineTo(i,n),e.moveTo(i-(r?0:s),n-(r?s:0)),e.lineTo(i+(r?0:s),n+(r?s:0))}e.stroke()}}),e.hooks.bindEvents.push(function(t,e){var i=t.getOptions();i.zoom.interactive&&e.mousewheel(r),i.pan.interactive&&(t.addEventHandler("dragstart",h,e,0),t.addEventHandler("drag",u,e,0),t.addEventHandler("dragend",d,e,0),e.bind("mousedown",l),e.bind("mouseup",c)),e.dblclick(p),e.click(f)}),e.hooks.shutdown.push(function(t,e){e.unbind("mousewheel",r),e.unbind("mousedown",l),e.unbind("mouseup",c),e.unbind("dragstart",h),e.unbind("drag",u),e.unbind("dragend",d),e.unbind("dblclick",p),e.unbind("click",f),T&&clearTimeout(T)})}var i=t.plot.saturated,n=t.plot.browser,o=t.plot.uiConstants.SNAPPING_CONSTANT,s=t.plot.uiConstants.PANHINT_LENGTH_CONSTANT;t.plot.plugins.push({init:function(t){t.hooks.processOptions.push(e)},options:{zoom:{interactive:!1,active:!1,amount:1.5},pan:{interactive:!1,active:!1,cursor:"move",frameRate:60,mode:"smart"},recenter:{interactive:!0},xaxis:{axisZoom:!0,plotZoom:!0,axisPan:!0,plotPan:!0},yaxis:{axisZoom:!0,plotZoom:!0,axisPan:!0,plotPan:!0}},name:"navigate",version:"1.3"})}(jQuery),jQuery.plot.plugins.push({init:function(t){t.hooks.processRawData.push(function(t,e,n,o){null!=e.fillBetween&&(format=o.format,format||(format=[],format.push({x:!0,number:!0,computeRange:"none"!==e.xaxis.options.autoScale,required:!0}),format.push({y:!0,number:!0,computeRange:"none"!==e.yaxis.options.autoScale,required:!0}),void 0!==e.fillBetween&&""!==e.fillBetween&&function(e){var n=t.getData();for(i=0;i<n.length;i++)if(n[i].id===e)return!0;return!1}(e.fillBetween)&&e.fillBetween!==e.id&&format.push({x:!1,y:!0,number:!0,required:!1,computeRange:"none"!==e.yaxis.options.autoScale,defaultValue:0}),o.format=format))}),t.hooks.processDatapoints.push(function(t,e,i){if(null!=e.fillBetween){var n=function(t,e){var i;for(i=0;i<e.length;++i)if(e[i].id===t.fillBetween)return e[i];return"number"==typeof t.fillBetween?t.fillBetween<0||t.fillBetween>=e.length?null:e[t.fillBetween]:null}(e,t.getData());if(n){for(var o,s,a,r,l,c,h,u,d=i.pointsize,p=i.points,f=n.datapoints.pointsize,m=n.datapoints.points,g=[],v=e.lines.show,x=2<d&&i.format[2].y,_=v&&e.lines.steps,y=!0,w=0,b=0;!(w>=p.length);){if(h=g.length,null==p[w]){for(u=0;u<d;++u)g.push(p[w+u]);w+=d}else if(b>=m.length){if(!v)for(u=0;u<d;++u)g.push(p[w+u]);w+=d}else if(null==m[b]){for(u=0;u<d;++u)g.push(null);y=!0,b+=f}else{if(o=p[w],s=p[w+1],r=m[b],l=m[b+1],c=0,o===r){for(u=0;u<d;++u)g.push(p[w+u]);c=l,w+=d,b+=f}else if(r<o){if(v&&0<w&&null!=p[w-d]){for(a=s+(p[w-d+1]-s)*(r-o)/(p[w-d]-o),g.push(r),g.push(a),u=2;u<d;++u)g.push(p[w+u]);c=l}b+=f}else{if(y&&v){w+=d;continue}for(u=0;u<d;++u)g.push(p[w+u]);v&&0<b&&null!=m[b-f]&&(c=l+(m[b-f+1]-l)*(o-r)/(m[b-f]-r)),w+=d}y=!1,h!==g.length&&x&&(g[h+2]=c)}if(_&&h!==g.length&&0<h&&null!==g[h]&&g[h]!==g[h-d]&&g[h+1]!==g[h-d+1]){for(u=0;u<d;++u)g[h+d+u]=g[h+u];g[h+1]=g[h-d+1]}}i.points=g}}})},options:{series:{fillBetween:null}},name:"fillbetween",version:"1.0"}),function(t){function e(t,e,i,n){var o="categories"===e.xaxis.options.mode,s="categories"===e.yaxis.options.mode;if(o||s){var a=n.format;if(!a){var r=e;if((a=[]).push({x:!0,number:!0,required:!0,computeRange:!0}),a.push({y:!0,number:!0,required:!0,computeRange:!0}),r.bars.show||r.lines.show&&r.lines.fill){var l=!!(r.bars.show&&r.bars.zero||r.lines.show&&r.lines.zero);a.push({y:!0,number:!0,required:!1,defaultValue:0,computeRange:l}),r.bars.horizontal&&(delete a[a.length-1].y,a[a.length-1].x=!0)}n.format=a}for(var c=0;c<a.length;++c)a[c].x&&o&&(a[c].number=!1),a[c].y&&s&&(a[c].number=!1,a[c].computeRange=!1)}}function i(t){var e=[];for(var i in t.categories){var n=t.categories[i];n>=t.min&&n<=t.max&&e.push([n,i])}return e.sort(function(t,e){return t[0]-e[0]}),e}function n(e,n,o){if("categories"===e[n].options.mode){if(!e[n].categories){var s={},a=e[n].options.categories||{};if(t.isArray(a))for(var r=0;r<a.length;++r)s[a[r]]=r;else for(var l in a)s[l]=a[l];e[n].categories=s}e[n].options.ticks||(e[n].options.ticks=i),function(t,e,i){for(var n=t.points,o=t.pointsize,s=t.format,a=e.charAt(0),r=function(t){var e=-1;for(var i in t)t[i]>e&&(e=t[i]);return e+1}(i),l=0;l<n.length;l+=o)if(null!=n[l])for(var c=0;c<o;++c){var h=n[l+c];null!=h&&s[c][a]&&(h in i||(i[h]=r,++r),n[l+c]=i[h])}}(o,n,e[n].categories)}}function o(t,e,i){n(e,"xaxis",i),n(e,"yaxis",i)}t.plot.plugins.push({init:function(t){t.hooks.processRawData.push(e),t.hooks.processDatapoints.push(o)},options:{xaxis:{categories:null},yaxis:{categories:null}},name:"categories",version:"1.0"})}(jQuery),jQuery.plot.plugins.push({init:function(t){t.hooks.processDatapoints.push(function(t,e,i){if(null!=e.stack&&!1!==e.stack){var n=e.bars.show||e.lines.show&&e.lines.fill,o=2<i.pointsize&&(y?i.format[2].x:i.format[2].y);n&&!o&&function(t,e){for(var i=[],n=0;n<e.points.length;n+=2)i.push(e.points[n]),i.push(e.points[n+1]),i.push(0);e.format.push({x:!1,y:!0,number:!0,required:!1,computeRange:"none"!==t.yaxis.options.autoScale,defaultValue:0}),e.points=i,e.pointsize=3}(e,i);var s=function(t,e){for(var i=null,n=0;n<e.length&&t!==e[n];++n)e[n].stack===t.stack&&(i=e[n]);return i}(e,t.getData());if(s){for(var a,r,l,c,h,u,d,p,f=i.pointsize,m=i.points,g=s.datapoints.pointsize,v=s.datapoints.points,x=[],_=e.lines.show,y=e.bars.horizontal,w=_&&e.lines.steps,b=!0,T=y?1:0,k=y?0:1,C=0,S=0;!(C>=m.length);){if(d=x.length,null==m[C]){for(p=0;p<f;++p)x.push(m[C+p]);C+=f}else if(S>=v.length){if(!_)for(p=0;p<f;++p)x.push(m[C+p]);C+=f}else if(null==v[S]){for(p=0;p<f;++p)x.push(null);b=!0,S+=g}else{if(a=m[C+T],r=m[C+k],c=v[S+T],h=v[S+k],u=0,a===c){for(p=0;p<f;++p)x.push(m[C+p]);x[d+k]+=h,u=h,C+=f,S+=g}else if(c<a){if(_&&0<C&&null!=m[C-f]){for(l=r+(m[C-f+k]-r)*(c-a)/(m[C-f+T]-a),x.push(c),x.push(l+h),p=2;p<f;++p)x.push(m[C+p]);u=h}S+=g}else{if(b&&_){C+=f;continue}for(p=0;p<f;++p)x.push(m[C+p]);_&&0<S&&null!=v[S-g]&&(u=h+(v[S-g+k]-h)*(a-c)/(v[S-g+T]-c)),x[d+k]+=u,C+=f}b=!1,d!==x.length&&n&&(x[d+2]+=u)}if(w&&d!==x.length&&0<d&&null!==x[d]&&x[d]!==x[d-f]&&x[d+1]!==x[d-f+1]){for(p=0;p<f;++p)x[d+f+p]=x[d+p];x[d+1]=x[d-f+1]}}i.points=x}}})},options:{series:{stack:null}},name:"stack",version:"1.2"}),function(t){function e(e,c){function h(t,n,o){g.touchedAxis=function(t,e,i,n){if("pinchstart"!==e.type)return"panstart"===e.type?t.getTouchedAxis(e.detail.touches[0].pageX,e.detail.touches[0].pageY):"pinchend"===e.type?t.getTouchedAxis(e.detail.touches[0].pageX,e.detail.touches[0].pageY):n.touchedAxis;var o=t.getTouchedAxis(e.detail.touches[0].pageX,e.detail.touches[0].pageY),s=t.getTouchedAxis(e.detail.touches[1].pageX,e.detail.touches[1].pageY);return o.length===s.length&&o.toString()===s.toString()?o:void 0}(e,t,0,g),i(g)?g.navigationConstraint="unconstrained":g.navigationConstraint="axisConstrained"}var u,d,p,f,m={zoomEnable:!1,prevDistance:null,prevTapTime:0,prevPanPosition:{x:0,y:0},prevTapPosition:{x:0,y:0}},g={prevTouchedAxis:"none",currentTouchedAxis:"none",touchedAxis:null,navigationConstraint:"unconstrained",initialState:null},v=c.pan.interactive&&"manual"===c.pan.touchMode,x="smartLock"===c.pan.touchMode,_=c.pan.interactive&&(x||"smart"===c.pan.touchMode);u={start:function(t){if(h(t,"pan",m),n(t,"pan",m,g),_){var i=r(t,"pan");g.initialState=e.navigationState(i.x,i.y)}},drag:function(t){if(h(t,"pan",m),_){var i=r(t,"pan");e.smartPan({x:g.initialState.startPageX-i.x,y:g.initialState.startPageY-i.y},g.initialState,g.touchedAxis,!1,x)}else v&&(e.pan({left:-a(t,"pan",m).x,top:-a(t,"pan",m).y,axes:g.touchedAxis}),s(t,"pan",m,g))},end:function(t){var i;h(t,"pan",m),_&&e.smartPan.end(),i=t,m.zoomEnable&&1===i.detail.touches.length&&updateprevPanPosition(t,"pan",m,g)}},d={start:function(t){var e;f&&(clearTimeout(f),f=null),h(t,"pinch",m),e=t,m.prevDistance=o(e),n(t,"pinch",m,g)},drag:function(t){f||(f=setTimeout(function(){h(t,"pinch",m),e.pan({left:-a(t,"pinch",m).x,top:-a(t,"pinch",m).y,axes:g.touchedAxis}),s(t,"pinch",m,g);var i,n,c,u,d,p,v,x,_=o(t);(m.zoomEnable||Math.abs(_-m.prevDistance)>l)&&(n=t,c=m,u=g,d=(i=e).offset(),p={left:0,top:0},v=o(n)/c.prevDistance,x=o(n),p.left=r(n,"pinch").x-d.left,p.top=r(n,"pinch").y-d.top,i.zoom({center:p,amount:v,axes:u.touchedAxis}),c.prevDistance=x,m.zoomEnable=!0),f=null},1e3/60))},end:function(t){f&&(clearTimeout(f),f=null),h(t,"pinch",m),m.prevDistance=null}},p={recenterPlot:function(n){n&&n.detail&&"touchstart"===n.detail.type&&function(e,n,o,s){if(r=e,l=n,c=s,h=r.getTouchedAxis(l.detail.firstTouch.x,l.detail.firstTouch.y),void 0!==h[0]&&(c.prevTouchedAxis=h[0].direction),void 0!==(h=r.getTouchedAxis(l.detail.secondTouch.x,l.detail.secondTouch.y))[0]&&(c.touchedAxis=h,c.currentTouchedAxis=h[0].direction),i(c)&&(c.touchedAxis=null,c.prevTouchedAxis="none",c.currentTouchedAxis="none"),"x"===s.currentTouchedAxis&&"x"===s.prevTouchedAxis||"y"===s.currentTouchedAxis&&"y"===s.prevTouchedAxis||"none"===s.currentTouchedAxis&&"none"===s.prevTouchedAxis){var a;e.recenter({axes:s.touchedAxis}),a=s.touchedAxis?new t.Event("re-center",{detail:{axisTouched:s.touchedAxis}}):new t.Event("re-center",{detail:n}),e.getPlaceholder().trigger(a)}var r,l,c,h}(e,n,0,g)}},!0!==c.pan.enableTouch&&!0!==c.zoom.enableTouch||(e.hooks.bindEvents.push(function(t,e){var i=t.getOptions();i.zoom.interactive&&i.zoom.enableTouch&&(e[0].addEventListener("pinchstart",d.start,!1),e[0].addEventListener("pinchdrag",d.drag,!1),e[0].addEventListener("pinchend",d.end,!1)),i.pan.interactive&&i.pan.enableTouch&&(e[0].addEventListener("panstart",u.start,!1),e[0].addEventListener("pandrag",u.drag,!1),e[0].addEventListener("panend",u.end,!1)),i.recenter.interactive&&i.recenter.enableTouch&&e[0].addEventListener("doubletap",p.recenterPlot,!1)}),e.hooks.shutdown.push(function(t,e){e[0].removeEventListener("panstart",u.start),e[0].removeEventListener("pandrag",u.drag),e[0].removeEventListener("panend",u.end),e[0].removeEventListener("pinchstart",d.start),e[0].removeEventListener("pinchdrag",d.drag),e[0].removeEventListener("pinchend",d.end),e[0].removeEventListener("doubletap",p.recenterPlot)}))}function i(t){return!t.touchedAxis||0===t.touchedAxis.length}function n(t,e,i,n){var o,s=r(t,e);switch(n.navigationConstraint){case"unconstrained":n.touchedAxis=null,i.prevTapPosition={x:i.prevPanPosition.x,y:i.prevPanPosition.y},i.prevPanPosition={x:s.x,y:s.y};break;case"axisConstrained":o=n.touchedAxis[0].direction,n.currentTouchedAxis=o,i.prevTapPosition[o]=i.prevPanPosition[o],i.prevPanPosition[o]=s[o]}}function o(t){var e,i,n,o,s=t.detail.touches[0],a=t.detail.touches[1];return e=s.pageX,i=s.pageY,n=a.pageX,o=a.pageY,Math.sqrt((e-n)*(e-n)+(i-o)*(i-o))}function s(t,e,i,n){var o=r(t,e);switch(n.navigationConstraint){case"unconstrained":i.prevPanPosition.x=o.x,i.prevPanPosition.y=o.y;break;case"axisConstrained":i.prevPanPosition[n.currentTouchedAxis]=o[n.currentTouchedAxis]}}function a(t,e,i){var n=r(t,e);return{x:n.x-i.prevPanPosition.x,y:n.y-i.prevPanPosition.y}}function r(t,e){return"pinch"===e?{x:(t.detail.touches[0].pageX+t.detail.touches[1].pageX)/2,y:(t.detail.touches[0].pageY+t.detail.touches[1].pageY)/2}:{x:t.detail.touches[0].pageX,y:t.detail.touches[0].pageY}}var l=t.plot.uiConstants.ZOOM_DISTANCE_MARGIN;t.plot.plugins.push({init:function(t){t.hooks.processOptions.push(e)},options:{zoom:{enableTouch:!1},pan:{enableTouch:!1,touchMode:"manual"},recenter:{enableTouch:!0}},name:"navigateTouch",version:"0.3"})}(jQuery),function(t){var e=t.plot.browser,i="hover";t.plot.plugins.push({init:function(n){function o(t){var e=n.getOptions(),o=new CustomEvent("mouseevent");return o.pageX=t.detail.changedTouches[0].pageX,o.pageY=t.detail.changedTouches[0].pageY,o.clientX=t.detail.changedTouches[0].clientX,o.clientY=t.detail.changedTouches[0].clientY,e.grid.hoverable&&s(o,i,30),!1}function s(t,e,i){var o=n.getData();if(void 0!==t&&0<o.length&&void 0!==o[0].xaxis.c2p&&void 0!==o[0].yaxis.c2p){var s=e+"able";h("plot"+e,t,function(t){return!1!==o[t][s]},i)}}function a(t){_=t,s(n.getPlaceholder()[0].lastMouseMoveEvent=t,i)}function r(t){_=void 0,n.getPlaceholder()[0].lastMouseMoveEvent=void 0,h("plothover",t,function(t){return!1})}function l(t){s(t,"click")}function c(){n.unhighlight(),n.getPlaceholder().trigger("plothovercleanup")}function h(t,i,o,s){var a=n.getOptions(),r=n.offset(),l=e.getPageXY(i),c=l.X-r.left,h=l.Y-r.top,p=n.c2p({left:c,top:h}),f=void 0!==s?s:a.grid.mouseActiveRadius;p.pageX=l.X,p.pageY=l.Y;var m=n.findNearbyItem(c,h,o,f);if(m&&(m.pageX=parseInt(m.series.xaxis.p2c(m.datapoint[0])+r.left,10),m.pageY=parseInt(m.series.yaxis.p2c(m.datapoint[1])+r.top,10)),a.grid.autoHighlight){for(var g=0;g<y.length;++g){var v=y[g];(v.auto!==t||m&&v.series===m.series&&v.point[0]===m.datapoint[0]&&v.point[1]===m.datapoint[1])&&m||d(v.series,v.point)}m&&u(m.series,m.datapoint,t)}n.getPlaceholder().trigger(t,[p,m])}function u(t,e,i){if("number"==typeof t&&(t=n.getData()[t]),"number"==typeof e){var o=t.datapoints.pointsize;e=t.datapoints.points.slice(o*e,o*(e+1))}var s=p(t,e);-1===s?(y.push({series:t,point:e,auto:i}),n.triggerRedrawOverlay()):i||(y[s].auto=!1)}function d(t,e){if(null==t&&null==e)return y=[],void n.triggerRedrawOverlay();if("number"==typeof t&&(t=n.getData()[t]),"number"==typeof e){var i=t.datapoints.pointsize;e=t.datapoints.points.slice(i*e,i*(e+1))}var o=p(t,e);-1!==o&&(y.splice(o,1),n.triggerRedrawOverlay())}function p(t,e){for(var i=0;i<y.length;++i){var n=y[i];if(n.series===t&&n.point[0]===e[0]&&n.point[1]===e[1])return i}return-1}function f(){c(),s(_,i)}function m(){s(_,i)}function g(t,e,i){var n,o,s=t.getPlotOffset();for(e.save(),e.translate(s.left,s.top),n=0;n<y.length;++n)(o=y[n]).series.bars.show?x(o.series,o.point,e):v(o.series,o.point,e,t);e.restore()}function v(e,i,n,o){var s=i[0],a=i[1],r=e.xaxis,l=e.yaxis,c="string"==typeof e.highlightColor?e.highlightColor:t.color.parse(e.color).scale("a",.5).toString();if(!(s<r.min||s>r.max||a<l.min||a>l.max)){var h=e.points.radius+e.points.lineWidth/2;n.lineWidth=h,n.strokeStyle=c;var u=1.5*h;s=r.p2c(s),a=l.p2c(a),n.beginPath();var d=e.points.symbol;"circle"===d?n.arc(s,a,u,0,2*Math.PI,!1):"string"==typeof d&&o.drawSymbol&&o.drawSymbol[d]&&o.drawSymbol[d](n,s,a,u,!1),n.closePath(),n.stroke()}}function x(e,i,n){var o,s="string"==typeof e.highlightColor?e.highlightColor:t.color.parse(e.color).scale("a",.5).toString(),a=s,r=e.bars.barWidth[0]||e.bars.barWidth;switch(e.bars.align){case"left":o=0;break;case"right":o=-r;break;default:o=-r/2}n.lineWidth=e.bars.lineWidth,n.strokeStyle=s;var l=e.bars.fillTowards||0,c=l>e.yaxis.min?Math.min(e.yaxis.max,l):e.yaxis.min;t.plot.drawSeries.drawBar(i[0],i[1],i[2]||c,o,o+r,function(){return a},e.xaxis,e.yaxis,n,e.bars.horizontal,e.bars.lineWidth)}var _,y=[];n.hooks.bindEvents.push(function(t,e){var i=t.getOptions();(i.grid.hoverable||i.grid.clickable)&&(e[0].addEventListener("touchevent",c,!1),e[0].addEventListener("tap",o,!1)),i.grid.clickable&&e.bind("click",l),i.grid.hoverable&&(e.bind("mousemove",a),e.bind("mouseleave",r))}),n.hooks.shutdown.push(function(t,e){e[0].removeEventListener("tap",o),e[0].removeEventListener("touchevent",c),e.unbind("mousemove",a),e.unbind("mouseleave",r),e.unbind("click",l),y=[]}),n.hooks.processOptions.push(function(t,e){t.highlight=u,t.unhighlight=d,(e.grid.hoverable||e.grid.clickable)&&(t.hooks.drawOverlay.push(g),t.hooks.processDatapoints.push(f),t.hooks.setupGrid.push(m)),_=t.getPlaceholder()[0].lastMouseMoveEvent})},options:{grid:{hoverable:!1,clickable:!1}},name:"hover",version:"0.1"})}(jQuery),function(t){function e(t,e){function i(e){var i=t.getOptions();(i.pan.active||i.zoom.active)&&(3<=e.touches.length?h.isUnsupportedGesture=!0:h.isUnsupportedGesture=!1,c.dispatchEvent(new CustomEvent("touchevent",{detail:e})),l(e)?n(e,"pinch"):(n(e,"pan"),r(e)||(function(t){var e=(new Date).getTime(),i=e-h.prevTapTime;return 0<=i&&i<d&&a(h.prevTap.x,h.prevTap.y,h.currentTap.x,h.currentTap.y)<u?(t.firstTouch=h.prevTap,t.secondTouch=h.currentTap,!0):(h.prevTapTime=e,!1)}(e)&&n(e,"doubleTap"),n(e,"tap"),n(e,"longTap"))))}function n(t,e){switch(e){case"pan":p[t.type](t);break;case"pinch":f[t.type](t);break;case"doubleTap":m.onDoubleTap(t);break;case"longTap":g[t.type](t);break;case"tap":v[t.type](t)}}function o(t){h.currentTap={x:t.touches[0].pageX,y:t.touches[0].pageY}}function s(e){h.isUnsupportedGesture||(e.preventDefault(),t.getOptions().propagateSupportedGesture||e.stopPropagation())}function a(t,e,i,n){return Math.sqrt((t-i)*(t-i)+(e-n)*(e-n))}function r(t){return h.twoTouches&&1===t.touches.length}function l(e){return!!(e.touches&&2<=e.touches.length&&e.touches[0].target===t.getEventHolder()&&e.touches[1].target===t.getEventHolder())}var c,h={twoTouches:!1,currentTapStart:{x:0,y:0},currentTapEnd:{x:0,y:0},prevTap:{x:0,y:0},currentTap:{x:0,y:0},interceptedLongTap:!1,isUnsupportedGesture:!1,prevTapTime:null,tapStartTime:null,longTapTriggerId:null},u=20,d=500,p={touchstart:function(t){var e;h.prevTap={x:h.currentTap.x,y:h.currentTap.y},o(t),e=t,h.tapStartTime=(new Date).getTime(),h.interceptedLongTap=!1,h.currentTapStart={x:e.touches[0].pageX,y:e.touches[0].pageY},h.currentTapEnd={x:e.touches[0].pageX,y:e.touches[0].pageY},c.dispatchEvent(new CustomEvent("panstart",{detail:t}))},touchmove:function(t){var e;s(t),o(t),e=t,h.currentTapEnd={x:e.touches[0].pageX,y:e.touches[0].pageY},h.isUnsupportedGesture||c.dispatchEvent(new CustomEvent("pandrag",{detail:t}))},touchend:function(t){var e;s(t),r(t)?(c.dispatchEvent(new CustomEvent("pinchend",{detail:t})),c.dispatchEvent(new CustomEvent("panstart",{detail:t}))):(e=t).touches&&0===e.touches.length&&c.dispatchEvent(new CustomEvent("panend",{detail:t}))}},f={touchstart:function(t){c.dispatchEvent(new CustomEvent("pinchstart",{detail:t}))},touchmove:function(t){s(t),h.twoTouches=l(t),h.isUnsupportedGesture||c.dispatchEvent(new CustomEvent("pinchdrag",{detail:t}))},touchend:function(t){s(t)}},m={onDoubleTap:function(t){s(t),c.dispatchEvent(new CustomEvent("doubletap",{detail:t}))}},g={touchstart:function(t){g.waitForLongTap(t)},touchmove:function(t){},touchend:function(t){h.longTapTriggerId&&(clearTimeout(h.longTapTriggerId),h.longTapTriggerId=null)},isLongTap:function(t){return 1500<=(new Date).getTime()-h.tapStartTime&&!h.interceptedLongTap&&a(h.currentTapStart.x,h.currentTapStart.y,h.currentTapEnd.x,h.currentTapEnd.y)<20&&(h.interceptedLongTap=!0)},waitForLongTap:function(t){h.longTapTriggerId||(h.longTapTriggerId=setTimeout(function(){g.isLongTap(t)&&c.dispatchEvent(new CustomEvent("longtap",{detail:t})),h.longTapTriggerId=null},1500))}},v={touchstart:function(t){h.tapStartTime=(new Date).getTime()},touchmove:function(t){},touchend:function(t){v.isTap(t)&&(c.dispatchEvent(new CustomEvent("tap",{detail:t})),s(t))},isTap:function(t){return(new Date).getTime()-h.tapStartTime<=125&&a(h.currentTapStart.x,h.currentTapStart.y,h.currentTapEnd.x,h.currentTapEnd.y)<20}};(!0===e.pan.enableTouch||e.zoom.enableTouch)&&(t.hooks.bindEvents.push(function(t,e){c=e[0],e[0].addEventListener("touchstart",i,!1),e[0].addEventListener("touchmove",i,!1),e[0].addEventListener("touchend",i,!1)}),t.hooks.shutdown.push(function(t,e){e[0].removeEventListener("touchstart",i),e[0].removeEventListener("touchmove",i),e[0].removeEventListener("touchend",i),h.longTapTriggerId&&(clearTimeout(h.longTapTriggerId),h.longTapTriggerId=null)}))}jQuery.plot.plugins.push({init:function(t){t.hooks.processOptions.push(e)},options:{propagateSupportedGesture:!1},name:"navigateTouch",version:"0.3"})}(),function(t){function e(t,e,i,n){if("function"==typeof t.strftime)return t.strftime(e);var o,s=function(t,e){return e=""+(null==e?"0":e),1==(t=""+t).length?e+t:t},a=[],r=!1,l=t.getHours(),c=l<12;i||(i=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n||(n=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),o=12<l?l-12:0==l?12:l;for(var h=-1,u=0;u<e.length;++u){var d=e.charAt(u);if(!isNaN(Number(d))&&0<Number(d))h=Number(d);else if(r){switch(d){case"a":d=""+n[t.getDay()];break;case"b":d=""+i[t.getMonth()];break;case"d":d=s(t.getDate());break;case"e":d=s(t.getDate()," ");break;case"h":case"H":d=s(l);break;case"I":d=s(o);break;case"l":d=s(o," ");break;case"m":d=s(t.getMonth()+1);break;case"M":d=s(t.getMinutes());break;case"q":d=""+(Math.floor(t.getMonth()/3)+1);break;case"S":d=s(t.getSeconds());break;case"s":d=""+function(t,e,i){var n,o=1e3*t+e;if(i<6&&0<i){var s=parseFloat("1e"+(i-6));n=("00000"+(o=Math.round(Math.round(o*s)/s))).slice(-6,-(6-i))}else n=("00000"+(o=Math.round(o))).slice(-6);return n}(t.getMilliseconds(),t.getMicroseconds(),h);break;case"y":d=s(t.getFullYear()%100);break;case"Y":d=""+t.getFullYear();break;case"p":d=c?"am":"pm";break;case"P":d=c?"AM":"PM";break;case"w":d=""+t.getDay()}a.push(d),r=!1}else"%"==d?r=!0:a.push(d)}return a.join("")}function i(t){function e(t,e,i,n){t[e]=function(){return i[n].apply(i,arguments)}}var i={date:t};void 0!==t.strftime&&e(i,"strftime",t,"strftime"),e(i,"getTime",t,"getTime"),e(i,"setTime",t,"setTime");for(var n=["Date","Day","FullYear","Hours","Minutes","Month","Seconds","Milliseconds","Microseconds"],o=0;o<n.length;o++)e(i,"get"+n[o],t,"getUTC"+n[o]),e(i,"set"+n[o],t,"setUTC"+n[o]);return i}function n(t,e){var n=864e13;if(e&&"seconds"===e.timeBase?t*=1e3:"microseconds"===e.timeBase&&(t/=1e3),n<t?t=n:t<-n&&(t=-n),"browser"===e.timezone)return a(Date,t);if(e.timezone&&"utc"!==e.timezone){if("undefined"==typeof timezoneJS||void 0===timezoneJS.Date)return i(a(Date,t));var o=a(timezoneJS.Date,t);return o.setTimezone(e.timezone),o.setTime(t),o}return i(a(Date,t))}function o(t){var e,i=t.options,o=[],a=n(t.min,i),h=0,p=i.tickSize&&"quarter"===i.tickSize[1]||i.minTickSize&&"quarter"===i.minTickSize[1]?d:u;e="seconds"===i.timeBase?r:"microseconds"===i.timeBase?c:l,null!==i.minTickSize&&void 0!==i.minTickSize&&(h="number"==typeof i.tickSize?i.tickSize:i.minTickSize[0]*e[i.minTickSize[1]]);for(var f=0;f<p.length-1&&!(t.delta<(p[f][0]*e[p[f][1]]+p[f+1][0]*e[p[f+1][1]])/2&&p[f][0]*e[p[f][1]]>=h);++f);var m=p[f][0],g=p[f][1];if("year"===g){if(null!==i.minTickSize&&void 0!==i.minTickSize&&"year"===i.minTickSize[1])m=Math.floor(i.minTickSize[0]);else{var v=parseFloat("1e"+Math.floor(Math.log(t.delta/e.year)/Math.LN10)),x=t.delta/e.year/v;m=x<1.5?1:x<3?2:x<7.5?5:10,m*=v}m<1&&(m=1)}t.tickSize=i.tickSize||[m,g];var _=t.tickSize[0],y=_*e[g=t.tickSize[1]];"microsecond"===g?a.setMicroseconds(s(a.getMicroseconds(),_)):"millisecond"===g?a.setMilliseconds(s(a.getMilliseconds(),_)):"second"===g?a.setSeconds(s(a.getSeconds(),_)):"minute"===g?a.setMinutes(s(a.getMinutes(),_)):"hour"===g?a.setHours(s(a.getHours(),_)):"month"===g?a.setMonth(s(a.getMonth(),_)):"quarter"===g?a.setMonth(3*s(a.getMonth()/3,_)):"year"===g&&a.setFullYear(s(a.getFullYear(),_)),y>=e.millisecond&&(y>=e.second?a.setMicroseconds(0):a.setMicroseconds(1e3*a.getMilliseconds())),y>=e.minute&&a.setSeconds(0),y>=e.hour&&a.setMinutes(0),y>=e.day&&a.setHours(0),y>=4*e.day&&a.setDate(1),y>=2*e.month&&a.setMonth(s(a.getMonth(),3)),y>=2*e.quarter&&a.setMonth(s(a.getMonth(),6)),y>=e.year&&a.setMonth(0);var w,b,T=0,k=Number.NaN;do{if(b=k,w=a.getTime(),k=i&&"seconds"===i.timeBase?w/1e3:i&&"microseconds"===i.timeBase?1e3*w:w,o.push(k),"month"===g||"quarter"===g)if(_<1){a.setDate(1);var C=a.getTime();a.setMonth(a.getMonth()+("quarter"===g?3:1));var S=a.getTime();a.setTime(k+T*e.hour+(S-C)*_),T=a.getHours(),a.setHours(0)}else a.setMonth(a.getMonth()+_*("quarter"===g?3:1));else"year"===g?a.setFullYear(a.getFullYear()+_):"seconds"===i.timeBase?a.setTime(1e3*(k+y)):"microseconds"===i.timeBase?a.setTime((k+y)/1e3):a.setTime(k+y)}while(k<t.max&&k!==b);return o}var s=t.plot.saturated.floorInBase,a=function(t,e){var i=new t(e),n=i.setTime.bind(i);i.update=function(t){n(t),t=Math.round(1e3*t)/1e3,this.microseconds=1e3*(t-Math.floor(t))};var o=i.getTime.bind(i);return i.getTime=function(){return o()+this.microseconds/1e3},i.setTime=function(t){this.update(t)},i.getMicroseconds=function(){return this.microseconds},i.setMicroseconds=function(t){var e=o()+t/1e3;this.update(e)},i.setUTCMicroseconds=function(t){this.setMicroseconds(t)},i.getUTCMicroseconds=function(){return this.getMicroseconds()},i.microseconds=null,i.microEpoch=null,i.update(e),i},r={microsecond:1e-6,millisecond:.001,second:1,minute:60,hour:3600,day:86400,month:2592e3,quarter:7776e3,year:525949.2*60},l={microsecond:.001,millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,month:2592e6,quarter:7776e6,year:525949.2*60*1e3},c={microsecond:1,millisecond:1e3,second:1e6,minute:6e7,hour:36e8,day:864e8,month:2592e9,quarter:7776e9,year:525949.2*60*1e6},h=[[1,"microsecond"],[2,"microsecond"],[5,"microsecond"],[10,"microsecond"],[25,"microsecond"],[50,"microsecond"],[100,"microsecond"],[250,"microsecond"],[500,"microsecond"],[1,"millisecond"],[2,"millisecond"],[5,"millisecond"],[10,"millisecond"],[25,"millisecond"],[50,"millisecond"],[100,"millisecond"],[250,"millisecond"],[500,"millisecond"],[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[.25,"month"],[.5,"month"],[1,"month"],[2,"month"]],u=h.concat([[3,"month"],[6,"month"],[1,"year"]]),d=h.concat([[1,"quarter"],[2,"quarter"],[1,"year"]]);t.plot.plugins.push({init:function(i){i.hooks.processOptions.push(function(i){t.each(i.getAxes(),function(t,i){var s=i.options;"time"===s.mode&&(i.tickGenerator=o,i.tickFormatter=function(t,i){var o=n(t,i.options);if(null!=s.timeformat)return e(o,s.timeformat,s.monthNames,s.dayNames);var a,h=i.options.tickSize&&"quarter"==i.options.tickSize[1]||i.options.minTickSize&&"quarter"==i.options.minTickSize[1];a="seconds"===s.timeBase?r:"microseconds"===s.timeBase?c:l;var u,d,p=i.tickSize[0]*a[i.tickSize[1]],f=i.max-i.min,m=s.twelveHourClock?" %p":"",g=s.twelveHourClock?"%I":"%H";if(u="seconds"===s.timeBase?1:"microseconds"===s.timeBase?1e6:1e3,p<a.second){var v=-Math.floor(Math.log10(p/u));-1<String(p).indexOf("25")&&v++,d="%S.%"+v+"s"}else d=p<a.minute?g+":%M:%S"+m:p<a.day?f<2*a.day?g+":%M"+m:"%b %d "+g+":%M"+m:p<a.month?"%b %d":h&&p<a.quarter||!h&&p<a.year?f<a.year?"%b":"%b %Y":h&&p<a.year?f<a.year?"Q%q":"Q%q %Y":"%Y";return e(o,d,s.monthNames,s.dayNames)})})})},options:{xaxis:{timezone:null,timeformat:null,twelveHourClock:!1,monthNames:null,timeBase:"seconds"},yaxis:{timeBase:"seconds"}},name:"time",version:"1.0"}),t.plot.formatDate=e,t.plot.dateGenerator=n,t.plot.dateTickGenerator=o,t.plot.makeUtcWrapper=i}(jQuery),function(t){function e(t,e,i,n,o,s){this.axisName=t,this.position=e,this.padding=i,this.placeholder=n,this.axisLabel=o,this.surface=s,this.width=0,this.height=0,this.elem=null}e.prototype.calculateSize=function(){var t=this.axisName+"Label",e=t+"Layer",i=t+" axisLabels",n=this.surface.getTextInfo(e,this.axisLabel,i);this.labelWidth=n.width,this.labelHeight=n.height,"left"===this.position||"right"===this.position?(this.width=this.labelHeight+this.padding,this.height=0):(this.width=0,this.height=this.labelHeight+this.padding)},e.prototype.transforms=function(t,e,i,n){var o,s,a=[];if(0===e&&0===i||((o=n.createSVGTransform()).setTranslate(e,i),a.push(o)),0!==t){s=n.createSVGTransform();var r=Math.round(this.labelWidth/2);s.setRotate(t,r,0),a.push(s)}return a},e.prototype.calculateOffsets=function(t){var e={x:0,y:0,degrees:0};return"bottom"===this.position?(e.x=t.left+t.width/2-this.labelWidth/2,e.y=t.top+t.height-this.labelHeight):"top"===this.position?(e.x=t.left+t.width/2-this.labelWidth/2,e.y=t.top):"left"===this.position?(e.degrees=-90,e.x=t.left-this.labelWidth/2,e.y=t.height/2+t.top):"right"===this.position&&(e.degrees=90,e.x=t.left+t.width-this.labelWidth/2,e.y=t.height/2+t.top),e.x=Math.round(e.x),e.y=Math.round(e.y),e},e.prototype.cleanup=function(){var t=this.axisName+"Label",e=t+"Layer",i=t+" axisLabels";this.surface.removeText(e,0,0,this.axisLabel,i)},e.prototype.draw=function(t){var e=this.axisName+"Label",i=e+"Layer",n=e+" axisLabels",o=this.calculateOffsets(t),s={position:"absolute",bottom:"",right:"",display:"inline-block","white-space":"nowrap"},a=this.surface.getSVGLayer(i),r=this.transforms(o.degrees,o.x,o.y,a.parentNode);this.surface.addText(i,0,0,this.axisLabel,n,void 0,void 0,void 0,void 0,r),this.surface.render(),Object.keys(s).forEach(function(t){a.style[t]=s[t]})},t.plot.plugins.push({init:function(i){i.hooks.processOptions.push(function(i,n){if(n.axisLabels.show){var o={};i.hooks.axisReserveSpace.push(function(t,i){var n=i.options,s=i.direction+i.n;if(i.labelHeight+=i.boxPosition.centerY,i.labelWidth+=i.boxPosition.centerX,n&&n.axisLabel&&i.show){var a=void 0===n.axisLabelPadding?2:n.axisLabelPadding,r=o[s];r||(r=new e(s,n.position,a,t.getPlaceholder()[0],n.axisLabel,t.getSurface()),o[s]=r),r.calculateSize(),i.labelHeight+=r.height,i.labelWidth+=r.width}}),i.hooks.draw.push(function(e,i){t.each(e.getAxes(),function(t,e){var i=e.options;if(i&&i.axisLabel&&e.show){var n=e.direction+e.n;o[n].draw(e.box)}})}),i.hooks.shutdown.push(function(t,e){for(var i in o)o[i].cleanup()})}})},options:{axisLabels:{show:!0}},name:"axisLabels",version:"3.0"})}(jQuery),function(t){t.plot.plugins.push({init:function(e){function i(t){f.active&&(h(t),e.getPlaceholder().trigger("plotselecting",[s()]))}function n(t){var i=e.getOptions();1===t.which&&null!==i.selection.mode&&(f.currentMode="xy",document.body.focus(),void 0!==document.onselectstart&&null==g.onselectstart&&(g.onselectstart=document.onselectstart,document.onselectstart=function(){return!1}),void 0!==document.ondrag&&null==g.ondrag&&(g.ondrag=document.ondrag,document.ondrag=function(){return!1}),c(f.first,t),f.active=!0)}function o(t){return void 0!==document.onselectstart&&(document.onselectstart=g.onselectstart),void 0!==document.ondrag&&(document.ondrag=g.ondrag),f.active=!1,h(t),p()?a():(e.getPlaceholder().trigger("plotunselected",[]),e.getPlaceholder().trigger("plotselecting",[null])),!1}function s(){if(!p())return null;if(!f.show)return null;var i={},n={x:f.first.x,y:f.first.y},o={x:f.second.x,y:f.second.y};return"x"===l(e)&&(n.y=0,o.y=e.height()),"y"===l(e)&&(n.x=0,o.x=e.width()),t.each(e.getAxes(),function(t,e){if(e.used){var s=e.c2p(n[e.direction]),a=e.c2p(o[e.direction]);i[t]={from:Math.min(s,a),to:Math.max(s,a)}}}),i}function a(){var t=s();e.getPlaceholder().trigger("plotselected",[t]),t.xaxis&&t.yaxis&&e.getPlaceholder().trigger("selected",[{x1:t.xaxis.from,y1:t.yaxis.from,x2:t.xaxis.to,y2:t.yaxis.to}])}function r(t,e,i){return e<t?t:i<e?i:e}function l(t){var e=t.getOptions();return"smart"===e.selection.mode?f.currentMode:e.selection.mode}function c(t,i){var n=e.getPlaceholder().offset(),o=e.getPlotOffset();t.x=r(0,i.pageX-n.left-o.left,e.width()),t.y=r(0,i.pageY-n.top-o.top,e.height()),t!==f.first&&function(t){if(f.first){var e={x:t.x-f.first.x,y:t.y-f.first.y};Math.abs(e.x)<m?f.currentMode="y":Math.abs(e.y)<m?f.currentMode="x":f.currentMode="xy"}}(t),"y"===l(e)&&(t.x=t===f.first?0:e.width()),"x"===l(e)&&(t.y=t===f.first?0:e.height())}function h(t){null!=t.pageX&&(c(f.second,t),p()?(f.show=!0,e.triggerRedrawOverlay()):u(!0))}function u(t){f.show&&(f.show=!1,f.currentMode="",e.triggerRedrawOverlay(),t||e.getPlaceholder().trigger("plotunselected",[]))}function d(t,i){var n,o,s,a,r=e.getAxes();for(var l in r)if((n=r[l]).direction===i&&(t[a=i+n.n+"axis"]||1!==n.n||(a=i+"axis"),t[a])){o=t[a].from,s=t[a].to;break}if(t[a]||(n="x"===i?e.getXAxes()[0]:e.getYAxes()[0],o=t[i+"1"],s=t[i+"2"]),null!=o&&null!=s&&s<o){var c=o;o=s,s=c}return{from:o,to:s,axis:n}}function p(){var t=e.getOptions().selection.minSize;return Math.abs(f.second.x-f.first.x)>=t&&Math.abs(f.second.y-f.first.y)>=t}var f={first:{x:-1,y:-1},second:{x:-1,y:-1},show:!1,currentMode:"xy",active:!1},m=t.plot.uiConstants.SNAPPING_CONSTANT,g={};e.clearSelection=u,e.setSelection=function(t,i){var n;"y"===l(e)?(f.first.x=0,f.second.x=e.width()):(n=d(t,"x"),f.first.x=n.axis.p2c(n.from),f.second.x=n.axis.p2c(n.to)),"x"===l(e)?(f.first.y=0,f.second.y=e.height()):(n=d(t,"y"),f.first.y=n.axis.p2c(n.from),f.second.y=n.axis.p2c(n.to)),f.show=!0,e.triggerRedrawOverlay(),!i&&p()&&a()},e.getSelection=s,e.hooks.bindEvents.push(function(t,e){null!=t.getOptions().selection.mode&&(t.addEventHandler("dragstart",n,e,0),t.addEventHandler("drag",i,e,0),t.addEventHandler("dragend",o,e,0))}),e.hooks.drawOverlay.push(function(e,i){if(f.show&&p()){var n=e.getPlotOffset(),o=e.getOptions();i.save(),i.translate(n.left,n.top);var s=t.color.parse(o.selection.color),a=o.selection.visualization,r=1;"fill"===a&&(r=.8),i.strokeStyle=s.scale("a",r).toString(),i.lineWidth=1,i.lineJoin=o.selection.shape,i.fillStyle=s.scale("a",.4).toString();var c=Math.min(f.first.x,f.second.x)+.5,h=c,u=Math.min(f.first.y,f.second.y)+.5,d=u,m=Math.abs(f.second.x-f.first.x)-1,g=Math.abs(f.second.y-f.first.y)-1;"x"===l(e)&&(g+=u,u=0),"y"===l(e)&&(m+=c,c=0),"fill"===a?(i.fillRect(c,u,m,g),i.strokeRect(c,u,m,g)):(i.fillRect(0,0,e.width(),e.height()),i.clearRect(c,u,m,g),v=i,x=c,_=u,y=m,w=g,b=h,T=d,k=l(e),C=Math.max(0,Math.min(15,y/2-2,w/2-2)),v.fillStyle="#ffffff","xy"===k&&(v.beginPath(),v.moveTo(x,_+C),v.lineTo(x-3,_+C),v.lineTo(x-3,_-3),v.lineTo(x+C,_-3),v.lineTo(x+C,_),v.lineTo(x,_),v.closePath(),v.moveTo(x,_+w-C),v.lineTo(x-3,_+w-C),v.lineTo(x-3,_+w+3),v.lineTo(x+C,_+w+3),v.lineTo(x+C,_+w),v.lineTo(x,_+w),v.closePath(),v.moveTo(x+y,_+C),v.lineTo(x+y+3,_+C),v.lineTo(x+y+3,_-3),v.lineTo(x+y-C,_-3),v.lineTo(x+y-C,_),v.lineTo(x+y,_),v.closePath(),v.moveTo(x+y,_+w-C),v.lineTo(x+y+3,_+w-C),v.lineTo(x+y+3,_+w+3),v.lineTo(x+y-C,_+w+3),v.lineTo(x+y-C,_+w),v.lineTo(x+y,_+w),v.closePath(),v.stroke(),v.fill()),x=b,_=T,"x"===k&&(v.beginPath(),v.moveTo(x,_+15),v.lineTo(x,_-15),v.lineTo(x-3,_-15),v.lineTo(x-3,_+15),v.closePath(),v.moveTo(x+y,_+15),v.lineTo(x+y,_-15),v.lineTo(x+y+3,_-15),v.lineTo(x+y+3,_+15),v.closePath(),v.stroke(),v.fill()),"y"===k&&(v.beginPath(),v.moveTo(x-15,_),v.lineTo(x+15,_),v.lineTo(x+15,_-3),v.lineTo(x-15,_-3),v.closePath(),v.moveTo(x-15,_+w),v.lineTo(x+15,_+w),v.lineTo(x+15,_+w+3),v.lineTo(x-15,_+w+3),v.closePath(),v.stroke(),v.fill())),i.restore()}var v,x,_,y,w,b,T,k,C}),e.hooks.shutdown.push(function(t,e){e.unbind("dragstart",n),e.unbind("drag",i),e.unbind("dragend",o)})},options:{selection:{mode:null,visualization:"focus",color:"#888888",shape:"round",minSize:5}},name:"selection",version:"1.1"})}(jQuery),function(t){function e(t,e){var r=t.filter(i);u=p(e.getContext("2d"));var f,m=r.map(function(t){var e,i,a=new Image;return new Promise((i=t,(e=a).sourceDescription='<info className="'+i.className+'" tagName="'+i.tagName+'" id="'+i.id+'">',e.sourceComponent=i,function(t,a){var r,l,c,h,u,p,f,m,g,v,x,_;e.onload=function(i){e.successfullyLoaded=!0,t(e)},e.onabort=function(i){e.successfullyLoaded=!1,console.log("Can't generate temp image from "+e.sourceDescription+". It is possible that it is missing some properties or its content is not supported by this browser. Source component:",e.sourceComponent),t(e)},e.onerror=function(i){e.successfullyLoaded=!1,console.log("Can't generate temp image from "+e.sourceDescription+". It is possible that it is missing some properties or its content is not supported by this browser. Source component:",e.sourceComponent),t(e)},l=e,"CANVAS"===(r=i).tagName&&(c=r,l.src=c.toDataURL("image/png")),"svg"===r.tagName&&(h=r,u=l,d.isSafari()||d.isMobileSafari()?(p=h,f=u,v=s(v=o(n(document),p)),g=function(t){for(var e="",i=new Uint8Array(t),n=0;n<i.length;n+=16384){e+=String.fromCharCode.apply(null,i.subarray(n,n+16384))}return e}(new(TextEncoder||TextEncoderLite)("utf-8").encode(v)),m="data:image/svg+xml;base64,"+btoa(g),f.src=m):function(t,e){var i=o(n(document),t);i=s(i);var a=new Blob([i],{type:"image/svg+xml;charset=utf-8"}),r=(self.URL||self.webkitURL||self).createObjectURL(a);e.src=r}(h,u)),l.srcImgTagName=r.tagName,x=r,(_=l).genLeft=x.getBoundingClientRect().left,_.genTop=x.getBoundingClientRect().top,"CANVAS"===x.tagName&&(_.genRight=_.genLeft+x.width,_.genBottom=_.genTop+x.height),"svg"===x.tagName&&(_.genRight=x.getBoundingClientRect().right,_.genBottom=x.getBoundingClientRect().bottom)}))});return Promise.all(m).then((f=e,function(t){return function(t,e){var i=function(t,e){var i,n=l;if(0===t.length)n=c;else{var o=t[0].genLeft,s=t[0].genTop,a=t[0].genRight,r=t[0].genBottom,d=0;for(d=1;d<t.length;d++)o>t[d].genLeft&&(o=t[d].genLeft),s>t[d].genTop&&(s=t[d].genTop);for(d=1;d<t.length;d++)a<t[d].genRight&&(a=t[d].genRight),r<t[d].genBottom&&(r=t[d].genBottom);if(a-o<=0||r-s<=0)n=h;else{for(e.width=Math.round(a-o),e.height=Math.round(r-s),d=0;d<t.length;d++)t[d].xCompOffset=t[d].genLeft-o,t[d].yCompOffset=t[d].genTop-s;i=e,void 0!==t.find(function(t){return"svg"===t.srcImgTagName})&&u<1&&(i.width=i.width*u,i.height=i.height*u)}}return n}(t,e);if(i===l)for(var n=e.getContext("2d"),o=0;o<t.length;o++)!0===t[o].successfullyLoaded&&n.drawImage(t[o],t[o].xCompOffset*u,t[o].yCompOffset*u);return i}(t,f)}),a)}function i(t){var e=!0,i=!0;return null==t?i=!1:"CANVAS"===t.tagName&&(t.getBoundingClientRect().right!==t.getBoundingClientRect().left&&t.getBoundingClientRect().bottom!==t.getBoundingClientRect().top||(e=!1)),i&&e&&"visible"===window.getComputedStyle(t).visibility}function n(t){for(var e=t.styleSheets,i=[],n=0;n<e.length;n++)try{for(var o=e[n].cssRules||[],s=0;s<o.length;s++){var a=o[s];i.push(a.cssText)}}catch(t){console.log("Failed to get some css rules")}return i}function o(t,e){return['<svg class="snapshot '+e.classList+'" width="'+e.width.baseVal.value*u+'" height="'+e.height.baseVal.value*u+'" viewBox="0 0 '+e.width.baseVal.value+" "+e.height.baseVal.value+'" xmlns="http://www.w3.org/2000/svg">',"<style>","/* <![CDATA[ */",t.join("\n"),"/* ]]> */","</style>",e.innerHTML,"</svg>"].join("\n")}function s(t){var e="";return t.match(/^<svg[^>]+xmlns="http:\/\/www\.w3\.org\/2000\/svg"/)||(e=t.replace(/^<svg/,'<svg xmlns="http://www.w3.org/2000/svg"')),t.match(/^<svg[^>]+"http:\/\/www\.w3\.org\/1999\/xlink"/)||(e=t.replace(/^<svg/,'<svg xmlns:xlink="http://www.w3.org/1999/xlink"')),'<?xml version="1.0" standalone="no"?>\r\n'+e}function a(){return r}var r=-100,l=0,c=-1,h=-2,u=1,d=t.plot.browser,p=d.getPixelRatio;t.plot.composeImages=e,t.plot.plugins.push({init:function(t){t.composeImages=e},name:"composeImages",version:"1.0"})}(jQuery),function(t){function e(t){var e="",i=t.name,n=t.xPos,o=t.yPos,s=t.fillColor,a=t.strokeColor,r=t.strokeWidth;switch(i){case"circle":e='<use xlink:href="#circle" class="legendIcon" x="'+n+'" y="'+o+'" fill="'+s+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>';break;case"diamond":e='<use xlink:href="#diamond" class="legendIcon" x="'+n+'" y="'+o+'" fill="'+s+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>';break;case"cross":e='<use xlink:href="#cross" class="legendIcon" x="'+n+'" y="'+o+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>';break;case"rectangle":e='<use xlink:href="#rectangle" class="legendIcon" x="'+n+'" y="'+o+'" fill="'+s+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>';break;case"plus":e='<use xlink:href="#plus" class="legendIcon" x="'+n+'" y="'+o+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>';break;case"bar":e='<use xlink:href="#bars" class="legendIcon" x="'+n+'" y="'+o+'" fill="'+s+'" width="1.5em" height="1.5em"/>';break;case"area":e='<use xlink:href="#area" class="legendIcon" x="'+n+'" y="'+o+'" fill="'+s+'" width="1.5em" height="1.5em"/>';break;case"line":e='<use xlink:href="#line" class="legendIcon" x="'+n+'" y="'+o+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>';break;default:e='<use xlink:href="#circle" class="legendIcon" x="'+n+'" y="'+o+'" fill="'+s+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>'}return e}function i(t,e){for(var i in t)if(t.hasOwnProperty(i)&&t[i]!==e[i])return!0;return!1}t.plot.plugins.push({init:function(n){n.hooks.setupGrid.push(function(n){var o=n.getOptions(),s=n.getData(),a=o.legend.labelFormatter,r=o.legend.legendEntries,l=o.legend.plotOffset,c=function(e,i,n){var o=i,s=e.reduce(function(t,e,i){var n=o?o(e.label,e):e.label;if(!e.hasOwnProperty("label")||n){var s={label:n||"Plot "+(i+1),color:e.color,options:{lines:e.lines,points:e.points,bars:e.bars}};t.push(s)}return t},[]);if(n)if(t.isFunction(n))s.sort(n);else if("reverse"===n)s.reverse();else{var a="descending"!==n;s.sort(function(t,e){return t.label===e.label?0:t.label<e.label!==a?1:-1})}return s}(s,a,o.legend.sorted),h=n.getPlotOffset();((function(t,e){if(!t||!e)return!0;if(t.length!==e.length)return!0;var n,o,s;for(n=0;n<e.length;n++){if(o=e[n],s=t[n],o.label!==s.label)return!0;if(o.color!==s.color)return!0;if(i(o.options.lines,s.options.lines))return!0;if(i(o.options.points,s.options.points))return!0;if(i(o.options.bars,s.options.bars))return!0}return!1})(r,c)||i(l,h))&&function(i,n,o,s){if(null!=n.legend.container?t(n.legend.container).html(""):o.find(".legend").remove(),n.legend.show){var a,r,l,c,h=n.legend.legendEntries=s,u=n.legend.plotOffset=i.getPlotOffset(),d=[],p=0,f="",m=n.legend.position,g=n.legend.margin,v={name:"",label:"",xPos:"",yPos:""};d[p++]='<svg class="legendLayer" style="width:inherit;height:inherit;">',d[p++]='<rect class="background" width="100%" height="100%"/>',d[p++]='<defs><symbol id="line" fill="none" viewBox="-5 -5 25 25"><polyline points="0,15 5,5 10,10 15,0"/></symbol><symbol id="area" stroke-width="1" viewBox="-5 -5 25 25"><polyline points="0,15 5,5 10,10 15,0, 15,15, 0,15"/></symbol><symbol id="bars" stroke-width="1" viewBox="-5 -5 25 25"><polyline points="1.5,15.5 1.5,12.5, 4.5,12.5 4.5,15.5 6.5,15.5 6.5,3.5, 9.5,3.5 9.5,15.5 11.5,15.5 11.5,7.5 14.5,7.5 14.5,15.5 1.5,15.5"/></symbol><symbol id="circle" viewBox="-5 -5 25 25"><circle cx="0" cy="15" r="2.5"/><circle cx="5" cy="5" r="2.5"/><circle cx="10" cy="10" r="2.5"/><circle cx="15" cy="0" r="2.5"/></symbol><symbol id="rectangle" viewBox="-5 -5 25 25"><rect x="-2.1" y="12.9" width="4.2" height="4.2"/><rect x="2.9" y="2.9" width="4.2" height="4.2"/><rect x="7.9" y="7.9" width="4.2" height="4.2"/><rect x="12.9" y="-2.1" width="4.2" height="4.2"/></symbol><symbol id="diamond" viewBox="-5 -5 25 25"><path d="M-3,15 L0,12 L3,15, L0,18 Z"/><path d="M2,5 L5,2 L8,5, L5,8 Z"/><path d="M7,10 L10,7 L13,10, L10,13 Z"/><path d="M12,0 L15,-3 L18,0, L15,3 Z"/></symbol><symbol id="cross" fill="none" viewBox="-5 -5 25 25"><path d="M-2.1,12.9 L2.1,17.1, M2.1,12.9 L-2.1,17.1 Z"/><path d="M2.9,2.9 L7.1,7.1 M7.1,2.9 L2.9,7.1 Z"/><path d="M7.9,7.9 L12.1,12.1 M12.1,7.9 L7.9,12.1 Z"/><path d="M12.9,-2.1 L17.1,2.1 M17.1,-2.1 L12.9,2.1 Z"/></symbol><symbol id="plus" fill="none" viewBox="-5 -5 25 25"><path d="M0,12 L0,18, M-3,15 L3,15 Z"/><path d="M5,2 L5,8 M2,5 L8,5 Z"/><path d="M10,7 L10,13 M7,10 L13,10 Z"/><path d="M15,-3 L15,3 M12,0 L18,0 Z"/></symbol></defs>';var x=0,_=[],y=window.getComputedStyle(document.querySelector("body"));for(c=0;c<h.length;++c){var w=c%n.legend.noColumns;a=h[c],v.label=a.label;var b=i.getSurface().getTextInfo("",v.label,{style:y.fontStyle,variant:y.fontVariant,weight:y.fontWeight,size:parseInt(y.fontSize),lineHeight:parseInt(y.lineHeight),family:y.fontFamily}).width;_[w]?b>_[w]&&(_[w]=b+48):_[w]=b+48}for(c=0;c<h.length;++c)w=c%n.legend.noColumns,a=h[c],l="",v.label=a.label,v.xPos=x+3+"px",x+=_[w],(c+1)%n.legend.noColumns==0&&(x=0),v.yPos=1.5*Math.floor(c/n.legend.noColumns)+"em",a.options.lines.show&&a.options.lines.fill&&(v.name="area",v.fillColor=a.color,l+=e(v)),a.options.bars.show&&(v.name="bar",v.fillColor=a.color,l+=e(v)),a.options.lines.show&&!a.options.lines.fill&&(v.name="line",v.strokeColor=a.color,v.strokeWidth=a.options.lines.lineWidth,l+=e(v)),a.options.points.show&&(v.name=a.options.points.symbol,v.strokeColor=a.color,v.fillColor=a.options.points.fillColor,v.strokeWidth=a.options.points.lineWidth,l+=e(v)),r='<text x="'+v.xPos+'" y="'+v.yPos+'" text-anchor="start"><tspan dx="2em" dy="1.2em">'+v.label+"</tspan></text>",d[p++]="<g>"+l+r+"</g>";d[p++]="</svg>",null==g[0]&&(g=[g,g]),"n"===m.charAt(0)?f+="top:"+(g[1]+u.top)+"px;":"s"===m.charAt(0)&&(f+="bottom:"+(g[1]+u.bottom)+"px;"),"e"===m.charAt(1)?f+="right:"+(g[0]+u.right)+"px;":"w"===m.charAt(1)&&(f+="left:"+(g[0]+u.left)+"px;");var T=6;for(c=0;c<_.length;++c)T+=_[c];var k,C=1.6*Math.ceil(h.length/n.legend.noColumns);n.legend.container?(k=t(d.join("")).appendTo(n.legend.container)[0],n.legend.container.style.width=T+"px",n.legend.container.style.height=C+"em"):((k=t('<div class="legend" style="position:absolute;'+f+'">'+d.join("")+"</div>").appendTo(o)).css("width",T+"px"),k.css("height",C+"em"),k.css("pointerEvents","none"))}}(n,o,n.getPlaceholder(),c)})},options:{legend:{show:!1,noColumns:1,labelFormatter:null,container:null,position:"ne",margin:5,sorted:null}},name:"legend",version:"1.0"})}(jQuery)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(20);!function(t){var e=function(){t(".flexmls_leadgen_button").on("click",function(){t(".flexmls_connect__form_message").length&&t(".flexmls_connect__form_message").remove();var e=this,i=t(e).data("form"),n=t(e).html(),o=t(i).find('input[name="success"]').val(),s=t(i).find(".flexmls_connect__form_footer"),a=t(i).find(".flexmls_loading_svg");t(a).show();var r={action:"fmcleadgen_submit",name:t(i).find('input[name="name"]').val(),email:t(i).find('input[name="email"]').val(),message_body:t(i).find('textarea[name="message_body"]').val(),honeypot:t(i).find('input[name="color"]').val(),success:t(i).find('input[name="success"]').val(),source:t(i).find('input[name="source"]').val()};t(i).find('input[name="address"]').length&&(r.address=t(i).find('input[name="address"]').val(),r.city=t(i).find('input[name="city"]').val(),r.state=t(i).find('input[name="state"]').val(),r.zip=t(i).find('input[name="zip"]').val()),t(i).find('input[name="phone"]').length&&(r.phone=t(i).find('input[name="phone"]').val()),t(e).prop("disabled",!0).html("Sending"),t.post(fmcAjax.ajaxurl,r,function(r){0===r.success?t(s).before('<div class="flexmls_connect__form_message flexmls_connect__form_message-error">'+r.message+"</div>"):(t(s).before('<div class="flexmls_connect__form_message flexmls_connect__form_message-success">'+o+"</div>"),t(i).find('input[type="text"], input[type="email"], input[type="tel"], textarea').each(function(){t(this).val("")})),t(a).hide(),t(e).html(n).prop("disabled",!1)},"json")})};t(document).ready(function(){e()})}(jQuery);var o={};o.createCookie=function(t,e,i){if(i){var n=new Date;n.setTime(n.getTime()+24*i*60*60*1e3);var o="; expires="+n.toGMTString()}else var o="";document.cookie=t+"="+e+o+"; path=/"},o.readCookie=function(t){for(var e=t+"=",i=document.cookie.split(";"),n=0;n<i.length;n++){for(var o=i[n];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(e))return o.substring(e.length,o.length)}return null},o.isValidEmailAddress=function(t){return new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i).test(t)},o.inputValidate=function(t,e){e?jQuery(t).data("connect-error",!1).removeClass("flexmls_connect__error_color").addClass("flexmls_connect__active_color"):jQuery(t).data("connect-error",!0).removeClass("flexmls_connect__active_color").addClass("flexmls_connect__error_color")},o.showDialog=function(t,e){e?jQuery(t).data("connect-error",!1).removeClass("flexmls_connect__error_color").addClass("flexmls_connect__active_color"):jQuery(t).data("connect-error",!0).removeClass("flexmls_connect__active_color").addClass("flexmls_connect__error_color")},o.showStatTooltip=function(t,e,i){jQuery('<div id="flexmls_connect__stat_tooltip">'+i+"</div>").css({top:e+5,left:t+5}).appendTo("body").fadeIn(200)},o.addCommas=function(t){t=new String(Math.floor(100*t)/100);for(var e=t.split("."),i=e[0],n=/(\d+)(\d{3})/;n.test(i);)i=i.replace(n,"$1,$2");return i+(e.length>1?"."+t.split(".")[1]:"")},o.establishColorbox=function(t,e,i,n){var s=jQuery(t),a=e||s.parent(),r=i||jQuery(".flexmls_connect__hidden",a),n=n||"fmcPhotos_additional_photos";jQuery(t).flexmls_connect__colorbox({photo:!0,width:window!=window.top?"500px":window.innerWidth-20+"px",height:window!=window.top?"500px":window.innerHeight-20+"px",top:window!=window.top&&"20px",html:"fmcPhotos_additional_photos"!=n&&"Loading...",onOpen:function(){"true"!==s.attr("data-connect-ajax")&&jQuery.getJSON(fmcAjax.ajaxurl,{action:n,id:s.attr("rel")},function(t){if(t&&jQuery.isArray(t)&&t.length>0)for(var e="fmcPhotos_additional_photos"==n?1:0,i=e;i<t.length;i++)switch(n){case"fmcPhotos_additional_vtours":"https:"===location.protocol&&0!=t[i].uri.indexOf("https:")?r.append(jQuery("<div class='flexmls_popup' rel='"+s.attr("rel")+"'><a target='_blank' href='"+t[i].uri+"' title='"+t[i].name.replace(/'/g,"\\'")+"' class='flexmls_connect_vtour_link_alternative'>"+t[i].name.replace(/'/g,"\\'")+" open in new window</a></div>")):r.append(jQuery("<div class='flexmls_popup' rel='"+s.attr("rel")+"'><iframe src='"+t[i].uri+"' title='"+t[i].name.replace(/'/g,"\\'")+"'></iframe></div>"));break;case"fmcPhotos_additional_videos":var l=jQuery("<div>").addClass("flexmls_popup").attr("rel",s.attr("rel"));t[i].html.indexOf("iframe")>=0?l.html(t[i].html):l.html(jQuery("<iframe>").attr({src:t[i].html})),r.append(l);break;case"fmcPhotos_additional_photos":r.append(jQuery("<a class='flexmls_popup' href='"+t[i].photo+"'rel='"+s.attr("rel")+"' title='"+t[i].caption.replace(/'/g,"\\'")+"'></a>"))}switch(s.attr("data-connect-ajax","true"),n){case"fmcPhotos_additional_vtours":case"fmcPhotos_additional_videos":jQuery("div.flexmls_popup",r).each(function(){jQuery(this).flexmls_connect__colorbox({width:window!=window.top?"500px":"95%",height:window!=window.top?"500px":"95%",top:window!=window.top&&"20px",html:jQuery(this).html(),rel:s.attr("rel"),onComplete:function(){o.addTitleToColorbox(a)},onClosed:function(){jQuery(".flexmls_connect__colorbox_address").remove()}})});break;case"fmcPhotos_additional_photos":jQuery("a",r).flexmls_connect__colorbox({photo:!0,width:window!=window.top?"500px":"95%",height:window!=window.top?"500px":"95%",top:window!=window.top&&"20px",onComplete:function(){o.addTitleToColorbox(a)},onClosed:function(){jQuery(".flexmls_connect__colorbox_address").remove()}})}"fmcPhotos_additional_photos"!=n&&(s.attr("rel",null).removeClass("flexmls_connect__cboxElement").removeData("colorbox"),s.click(function(){jQuery("div.flexmls_popup",r).click()})),s.click()})},onComplete:function(){o.addTitleToColorbox(a)},onClosed:function(){jQuery(".flexmls_connect__colorbox_address").remove()}})},o.addTitleToColorbox=function(t){if(0==jQuery(".flexmls_connect__colorbox_address").length){var e=t.attr("title");t.attr("link")&&(e='<a href="'+t.attr("link")+'"'+t.attr("target")+">"+e+"</a>"),jQuery("<div>").addClass("flexmls_connect__colorbox_address").html(e).prependTo("#flexmls_connect__cboxLoadedContent")}},o.changeFilmstrip=function(t,e,i){if(e){var t=1*jQuery(".flexmls_connect__photo_switcher span",i).text()-1,n=jQuery(".flexmls_connect__filmstrip img",i).length;t="prev"==e?t-1:t+1,t<0&&(t=n-1),t>=n&&(t=0)}var o=jQuery(".flexmls_connect__filmstrip img",i)[t];jQuery(".flexmls_connect__main_image",i);jQuery(".flexmls_connect__main_image, .flexmls_connect__resize_image",i).attr("src",jQuery(o).attr("fullsrc")),jQuery(".flexmls_connect__photo_switcher span",i).text(t+1)},o.print=function(t){jQuery(".flexmls_connect__not_printable").removeClass("flexmls_connect__not_printable");for(var e=jQuery(t).closest(".flexmls_connect__sr_detail");e[0]!=jQuery("html")[0];)e.siblings().addClass("flexmls_connect__not_printable"),e=e.parent();window.print()},o.scheduleShowing=function(t){var e=(new Date).getTime(),i=t.id,n=t.title,o=t.subject,s=t.agentName,a=t.agentEmail,r=t.officeEmail,l=t.disclaimer,c="";c+="<form class='flexmls_connect__schedule_showing_form'>",c+="<h3>"+n+"</h3>",c+="<div id=\"flexmls_connect__showing_error\" style='color:red;'> </div>",c+='<input id="flexmls_connect_shedule_to" type="hidden" name="to" value=\''+a+"'>",c+='<input id="flexmls_connect_shedule_to_name" type="hidden" name="to_name" value=\''+s+"'>",c+='<input id="flexmls_connect_shedule_to_officeemail" type="hidden" name="to" value=\''+r+"'>",c+='<input id="flexmls_connect_shedule_listkey" type="hidden" name="mytype" value=\''+i+"'>",c+='<table class="flexmls_connect__schedule_showing_table">',c+="<tbody>",c+="<tr>",c+='<td><label for="flexmls_connect_shedule_from_name">Name:</label></td>',c+='<td><input id="flexmls_connect_shedule_from_name" name="from_name" type="text" size=50 style="width:340px;"></td>',c+="</tr>",c+="<tr>",c+='<td><label for="flexmls_connect_shedule_from">Email:</label><span class="flexmls_connect__required">*</span></td>',c+='<td><input id="flexmls_connect_shedule_from" name="from" type="text" size=50 style="width:340px;"></td>',c+="</tr>",c+="<tr>",c+='<td><label for="flexmls_connect_shedule_to">To:</label></td>',c+="<td><b>"+s+"</b></td>",c+="</tr>",c+="<tr>",c+='<td><label for="flexmls_connect_shedule_subject">Subject:</label></td><input type=text id="flexmls_connect__important" name="flexmls_connect__important'+e+'" autocomplete="false" tabindex="-1" value="" />',c+='<td><input id="flexmls_connect_shedule_subject" name="subject" type="text" size=50 style="width:340px;" value="Schedule a showing for '+o+'"></td>',c+="</tr>",c+="<tr>",c+='<td><label for="flexmls_connect_shedule_message">Message:</label></td>',c+='<td><textarea cols="50" id="flexmls_connect_shedule_message" name="message" rows="7" style="width:340px;"></textarea>',c+='<input type="hidden" id="flexmls_connect_shedule_page_lead" value="'+window.location+'"></td>',c+="</tr>",c+="<tr>",c+="<td>",c+="</td>",c+="<td>",c+= "undefined"!==t.disclaimer?"<small class='flexmls-small-text'>"+l+"</small>":"",c+="</td>",c+="</tr>",c+="<tr>",c+='<td colspan=2><center><input type="submit" value="Send" name="Send"></center></td>',c+="</tr>",c+="</tbody></table>",c+="</form>",jQuery.flexmls_connect__colorbox({width:"500px",html:c}),jQuery(".flexmls_connect__schedule_showing_form").submit(function(t){var e={action:"fmcListingDetails_schedule_showing",flexmls_connect__subject:jQuery("#flexmls_connect_shedule_subject").val(),flexmls_connect__to:jQuery("#flexmls_connect_shedule_to").val(),flexmls_connect__to_office:jQuery("#flexmls_connect_shedule_to_officeemail").val(),flexmls_connect__from:jQuery("#flexmls_connect_shedule_from").val(),flexmls_connect__from_name:jQuery("#flexmls_connect_shedule_from_name").val(),flexmls_connect__to_name:jQuery("#flexmls_connect_shedule_to_name").val(),flexmls_connect__message:jQuery("#flexmls_connect_shedule_message").val(),flexmls_connect__page_lead:jQuery("#flexmls_connect_shedule_page_lead").val(),flexmls_connect__important:jQuery("#flexmls_connect__important").val()};console.log(fmcAjax),jQuery.post(fmcAjax.ajaxurl,e,function(t){"SUCCESS"==t?(jQuery("#flexmls_connect__success_message").html("Showing request has been sent.<br>This request is not yet a confirmed appointment.").show(),jQuery("#flexmls_connect__cboxClose").click()):jQuery("#flexmls_connect__showing_error").html(t)}),t.preventDefault(),t.stopPropagation()})},o.contactForm=function(t){var e=(new Date).getTime(),i=t.title,n=t.subject,o=t.agentEmail,s=t.officeEmail,a=t.listingId,r=t.disclaimer,l="";l+="<form class='flexmls_connect__contact_form'>",l+="<h3 class='flexmls-primary-color-font'>"+i+"</h3>",l+="<div id=\"flexmls_connect__showing_error\" style='color:red;'> </div>",l+='<input id="flexmls_connect__to_agent" type="hidden" name="to" value=\''+o+"'>",l+='<input id="flexmls_connect__to_office" type="hidden" name="to" value=\''+s+"'>",l+='<input id="flexmls_connect__listid" type="hidden" name="mytype" value=\''+a+"'>",l+='<table class="flexmls_connect__schedule_showing_table">',l+="<tbody>",l+="<tr>",l+='<td><label for="flexmls_connect__from_name">Name:</label></td>',l+='<td><input id="flexmls_connect__from_name" name="from_name" type="text" size=50 style="width:340px;"></td>',l+="</tr>",l+="<tr>",l+='<td><label for="flexmls_connect__from">Email:</label><span class="flexmls_connect__required">*</span></td>',l+='<td><input id="flexmls_connect__from" name="from" type="text" size=50 style="width:340px;"></td>',l+="</tr>",l+="<tr>",l+='<td><label for="flexmls_connect__phone">Phone:</label><span class="flexmls_connect__phone"></span></td>',l+='<td><input id="flexmls_connect__phone" name="phone" type="text" maxlength=20 style="width:340px;"></td>',l+="</tr>",l+="<tr>",l+='<td><label for="flexmls_connect__subject">Subject:</label><input type=text id="flexmls_connect__important" name="flexmls_connect__important'+e+'" autocomplete="false" tabindex="-1" /></td>',l+='<td><input id="flexmls_connect__subject" name="subject" type="text" size=50 style="width:340px;" value="'+n+'"></td>',l+="</tr>",l+="<tr>",l+='<td><label for="flexmls_connect__message">Message:</label></td>',l+='<td><textarea cols="50" id="flexmls_connect__message" name="message" rows="7" style="width:340px;"></textarea>',l+='<input type="hidden" id="flexmls_connect__page_lead" value="'+window.location+'"></td>',l+="</tr>",l+="<tr>",l+="<td>",l+="</td>",l+="<td>",l+="undefined"!==t.disclaimer?"<small class='flexmls-small-text'>"+r+"</small>":"",l+="</td>",l+="</tr>",l+="<tr>",l+='<td colspan=2><center><input id="SendOne" type="submit" value="Send" name="Send" class=\'flexmls-btn flexmls-primary-color-background\'></center></td>',l+="</tr>",l+="</tbody></table>",l+="</form>",jQuery.flexmls_connect__colorbox({width:"500px",html:l}),jQuery(".flexmls_connect__contact_form").submit(function(t){var e={action:"fmcListingDetails_contact",flexmls_connect__subject:jQuery("#flexmls_connect__subject").val(),flexmls_connect__to_agent:jQuery("#flexmls_connect__to_agent").val(),flexmls_connect__to_office:jQuery("#flexmls_connect__to_office").val(),flexmls_connect__from:jQuery("#flexmls_connect__from").val(),flexmls_connect__from_name:jQuery("#flexmls_connect__from_name").val(),flexmls_connect__phone:jQuery("#flexmls_connect__phone").val(),flexmls_connect__message:jQuery("#flexmls_connect__message").val(),flexmls_connect__page_lead:jQuery("#flexmls_connect__page_lead").val(),flexmls_connect__important:jQuery("#flexmls_connect__important").val(),flexmls_connect__mytype:jQuery("#flexmls_connect__mytype").val()};console.log(e),jQuery("#SendOne").attr("disabled","disabled"),jQuery("#SendOne").attr("value","Sending..."),jQuery.post(fmcAjax.ajaxurl,e,function(t){"SUCCESS"==t?(jQuery("#flexmls_connect__success_message"+a).html("Your question has been sent.<br>").show(),jQuery("#flexmls_connect__cboxClose").click()):(jQuery("#flexmls_connect__showing_error").html(t),jQuery("#SendOne").removeAttr("disabled"))}),t.preventDefault(),t.stopPropagation()})},o.edit_url_value=function(t,e,i){i=i||document.URL;var n="",o=i.split("?"),s=o[0],a=o[1],r="";if(a){var o=a.split("&");for(var l in o)-1==o[l].indexOf(t)&&(n+=r+o[l],r="&")}return s+"?"+n+(r+t)+"="+e},jQuery(document).ready(function(){jQuery("button[href]",".flexmls_connect__button").click(function(){document.location.href=jQuery(this).attr("href")}),jQuery(".flexmls_connect__carousel").each(function(t,e){jQuery(e).loopedCarousel({items:jQuery(this).attr("data-connect-horizontal"),grid_size:jQuery(this).attr("data-connect-vertical"),vertical:parseInt(jQuery(this).attr("data-connect-vertical"))>parseInt(jQuery(this).attr("data-connect-horizontal")),autoStart:parseInt(jQuery(this).attr("data-connect-autostart"))});var i=(jQuery(".flexmls_connect__container",jQuery(e)).width(),jQuery(e).prev("p"));i.length>0&&""===i.text().replace(/\s/g,"")&&jQuery(e).addClass(i.css("text-align")),jQuery("div.flexmls_connect__slides div a.flexmls_popup",jQuery(this)).each(function(t){o.establishColorbox(jQuery(this))}),jQuery(".flexmls_connect__disclaimer a, .flexmls_connect__badge, .flexmls_connect__badge_image",jQuery(e)).click(function(){jQuery.flexmls_connect__colorbox({width:"400px",html:jQuery(".flexmls_connect__disclaimer_text",jQuery(e)).html().replace(/<script.*?<\/script>/g,"")})})}),jQuery(".flexmls_connect_log_out").click(function(t){t.preventDefault(),t.stopPropagation(),jQuery.post(fmcAjax.ajaxurl,{action:"fmcAccount_portal"},function(t){window.location=window.location})});var t=[];if(jQuery(".flexmls_connect__market_stats").each(function(e,i){var n=[],s=jQuery(i).prev("p");if(s.length>0&&""===s.text().replace(/\s/g,"")&&jQuery(i).addClass(s.css("text-align")),0==t.length){var a=new Date;a.setHours(0),a.setMinutes(0),a.setSeconds(0);for(var r=0;r<12;r++)a.setMonth(a.getMonth()-1,1),t.push(a.getTime());t.reverse()}jQuery("li",jQuery(i)).each(function(e,i){for(var o={label:jQuery(i).attr("data-connect-label"),data:jQuery(i).text().split(",")},s=0;s<o.data.length&&!(s>11);s++)o.data[s]=[t[s],o.data[s]];n.push(o)}),jQuery.plot(jQuery(".flexmls_connect__market_stats_graph",jQuery(i)),n,{yaxis:{tickFormatter:function(t,e){return o.addCommas(t)}},xaxis:{mode:"time",timeBase:"milliseconds",timeformat:"%b-%y",monthNames:["J","F","M","A","M","J","J","A","S","O","N","D"],minTickSize:[1,"month"],ticks:12},legend:{show:!0,container:jQuery(".flexmls_connect__market_stats_legend",jQuery(i))[0]},grid:{clickable:!1,hoverable:!0,autoHighlight:!0,mouseActiveRadius:6}});var l=null;jQuery(".flexmls_connect__market_stats_graph",jQuery(i)).bind("plothover",function(t,e,i){if(i){if(l!=i.datapoint){l=i.datapoint,jQuery("#flexmls_connect__stat_tooltip").remove();var n=i.datapoint[0].toFixed(2),s=o.addCommas(i.datapoint[1]),a=new Date(parseInt(n));o.showStatTooltip(i.pageX,i.pageY,s+" ("+i.series.label+" for "+(a.getMonth()+1)+"/"+a.getFullYear()+")")}}else jQuery("#flexmls_connect__stat_tooltip").remove(),l=null})}),jQuery.extend({getUrlVars:function(){for(var t,e=[],i=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),n=0;n<i.length;n++)t=i[n].split("="),e.push(decodeURI(t[0])),e[decodeURI(t[0])]=decodeURI(t[1]);return e},getUrlVar:function(t){return jQuery.getUrlVars()[t]}}),jQuery(".flexmls_connect__search").each(function(t,e){new n.a(e)}),jQuery.ajaxSetup({error:function(t,e,i){console.log("Ajax Error Detected")}}),jQuery("input[data-connect-default], textarea[data-connect-default]").each(function(t,e){var i=jQuery(e),n=i.val()?"flexmls_connect__active_color":"flexmls_connect__inactive_color",o=i.val()?i.val():i.attr("data-connect-default");i.addClass(n).val(o).focus(function(){i.val()===i.attr("data-connect-default")&&i.val(""),i.removeClass("flexmls_connect__inactive_color").removeClass("flexmls_connect__error_color").addClass("flexmls_connect__active_color")}).blur(function(){""===i.val()&&i.val(i.attr("data-connect-default")).removeClass("flexmls_connect__active_color").removeClass("flexmls_connect__inactive_color").removeClass("flexmls_connect__error_color").addClass(i.data("connect-error")?"flexmls_connect__error_color":"flexmls_connect__inactive_color")})}),jQuery("form[data-connect-validate=true]").submit(function(){var t=!1;if(jQuery("input[data-connect-validate='text'], textarea[data-connect-default]",jQuery(this)).each(function(e,i){""===jQuery(i).val()||jQuery(i).val()===jQuery(i).attr("data-connect-default")?(o.inputValidate(i,!1),t=!0):o.inputValidate(i,!0)}),jQuery("input[data-connect-validate='phone']",jQuery(this)).each(function(e,i){/\d{7,}/i.test(jQuery(i).val().replace(/[\s()+-]|ext\.?/gi,""))?o.inputValidate(i,!0):(o.inputValidate(i,!1),t=!0)}),jQuery("input[data-connect-validate='email']",jQuery(this)).each(function(e,i){o.isValidEmailAddress(jQuery(i).val())?o.inputValidate(i,!0):(o.inputValidate(i,!1),t=!0)}),jQuery("input[data-connect-validate='captcha']",jQuery(this)).each(function(e,i){jQuery(i).val()===jQuery("input[name='captcha-answer']").val()?o.inputValidate(i,!0):(o.inputValidate(i,!1),t=!0)}),t)return!1;if("true"===jQuery(this).attr("data-connect-ajax")){var e=jQuery(this);return jQuery.getJSON(jQuery(this).attr("action"),jQuery(this).serialize(),function(t){var i;i="true"==t.success?jQuery("input[name='success-message']",e).val():t.message?t.message:jQuery("input[name='success-message']",e).val(),i=i.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/"/g,"""),jQuery.flexmls_connect__colorbox({html:"<center style='padding-right:27px'>"+i+"</center>"}),jQuery("input[type='text'], textarea",e).val("")}),!1}}),jQuery(".flexmls_connect__page_content").length>0&&(jQuery(".flexmls_connect__page_content").hover(function(){jQuery(this).addClass("over")},function(){jQuery(this).removeClass("over")}),jQuery("a.photo",".flexmls_connect__page_content").each(function(t){o.establishColorbox(jQuery(this),jQuery(this).closest(".flexmls_connect__sr_result"))}),jQuery("a.photo_click",".flexmls_connect__page_content").click(function(){jQuery("a.photo",jQuery(this).closest(".flexmls_connect__sr_result")).click()}),jQuery("a.video_click",".flexmls_connect__page_content").each(function(t){var e=jQuery(this).closest(".flexmls_connect__sr_result");o.establishColorbox(jQuery(this),e,jQuery(".flexmls_connect__hidden2",e),"fmcPhotos_additional_videos")}),jQuery("a.tour_click",".flexmls_connect__page_content").each(function(t){var e=jQuery(this).closest(".flexmls_connect__sr_result");o.establishColorbox(jQuery(this),e,jQuery(".flexmls_connect__hidden3",e),"fmcPhotos_additional_vtours")}),jQuery(".flexmls_connect__disclaimer a, .flexmls_connect__badge, .flexmls_connect__badge_image",".flexmls_connect__page_content").click(function(){jQuery.flexmls_connect__colorbox({width:"400px",html:jQuery(".flexmls_connect__disclaimer_text",".flexmls_connect__page_content").html().replace(/<script.*?<\/script>/g,"")})}),jQuery("button[href]",".flexmls_connect__page_content").click(function(){document.location.href=jQuery(this).attr("href")}),jQuery(".flexmls_connect_hasJavaScript").show()),jQuery(".flexmls_connect__page_content, .flexmls_connect__search_results_v2").length>0&&(0==navigator.cookieEnabled&&jQuery(".listingsperpage").hide(),jQuery(".listingsperpage").change(function(){var t=this.value,e=new Date;e.setTime(e.getTime()+432e6);var i="; expires="+e.toGMTString();e=null,document.cookie=escape("flexmlswordpressplugin")+"="+escape(t)+i+"; path=/",window.location.href=o.edit_url_value("pg","1")}),jQuery(".flex_orderby").change(function(){var t=o.edit_url_value("pg","1");t=o.edit_url_value("OrderBy",this.value,t),window.location.href=t})),jQuery(".flexmls_connect__sr_detail, .flexmls-listing-details.flexmls-v2-widget").length>0){if(jQuery(".fmc_document_pdf").click(function(){window.open(jQuery(this).attr("Value"))}),jQuery(".fmc_document_colorbox").click(function(){jQuery.flexmls_connect__colorbox({href:jQuery(this).attr("value")})}),jQuery("button[href]",".flexmls_connect__prev_next").click(function(){document.location.href=jQuery(this).attr("href")}),jQuery(".flexmls_connect__filmstrip img").click(function(){o.changeFilmstrip(1*jQuery(this).attr("ind"),null,jQuery(this).closest(".flexmls_connect__sr_detail"))}).hover(function(){jQuery(this).addClass("filmstrip_over")},function(){jQuery(this).removeClass("filmstrip_over")}),jQuery(".flexmls_connect__photo_switcher").each(function(t){jQuery("button:first",jQuery(this)).click(function(){o.changeFilmstrip(null,"prev",jQuery(this).closest(".flexmls_connect__sr_detail"))}),jQuery("button:last",jQuery(this)).click(function(){o.changeFilmstrip(null,"next",jQuery(this).closest(".flexmls_connect__sr_detail"))})}),jQuery(".flexmls_connect__hidden a").each(function(t){o.establishColorbox(jQuery(this),jQuery(".flexmls_connect__sr_detail"))}),jQuery("button.photo_click, .flexmls_connect__main_image").click(function(){var t=parseInt(jQuery(".flexmls_connect__photo_switcher span").text())-1;jQuery(".flexmls_connect__hidden a")[t].click()}),jQuery("button.video_click",".flexmls_connect__sr_detail").each(function(t){var e=jQuery(this).closest(".flexmls_connect__sr_detail");o.establishColorbox(jQuery(this),e,jQuery(".flexmls_connect__hidden2",e),"fmcPhotos_additional_videos")}),jQuery("button.tour_click",".flexmls_connect__sr_detail").each(function(t){var e=jQuery(this).closest(".flexmls_connect__sr_detail");o.establishColorbox(jQuery(this),e,jQuery(".flexmls_connect__hidden3",e),"fmcPhotos_additional_vtours")}),jQuery(".flexmls_connect__tab").click(function(){jQuery(this).hasClass("active")||(jQuery(".flexmls_connect__tab_group").css("display","none"),jQuery("#"+jQuery(this).attr("group")).css("display",""),jQuery(".flexmls_connect__tab").removeClass("active"),jQuery(this).addClass("active"))}),jQuery("#flexmls_connect__map_canvas").length>0){var e=!0,i=new google.maps.LatLng(jQuery("#flexmls_connect__map_canvas").attr("latitude"),jQuery("#flexmls_connect__map_canvas").attr("longitude")),s={zoom:16,center:i,mapTypeId:google.maps.MapTypeId.ROADMAP},a=new google.maps.Map(document.getElementById("flexmls_connect__map_canvas"),s);google.maps.event.addListener(a,"idle",function(){e&&(jQuery("#flexmls_connect__map_group").css("display","none"),e=!1)});new google.maps.Marker({position:i,map:a,title:jQuery(".flexmls_connect__sr_detail").attr("title")})}jQuery(document).keydown(function(t){0==jQuery(".flexmls_connect__colorbox_address").length&&(37==t.keyCode?jQuery(".flexmls_connect__photo_switcher button:first").click():39==t.keyCode&&jQuery(".flexmls_connect__photo_switcher button:last").click())})}}),window.flexmls_connect=o},function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n=i(0),o=function(t){function e(e){this.widgetContainer=t(e),this.locationSearchInput=t(this.widgetContainer).find(".flexmlsLocationSearch"),this.portalSlug=this.locationSearchInput.attr("data-portal-slug"),this.init()}return e.prototype={constructor:e,init:function(){this.locationSearchInput.length&&(this.locationSearch=new n.LocationSearch(this.locationSearchInput,{portalSlug:this.portalSlug})),this.widgetContainer.find("form").submit(this.handleSubmit.bind(this)),this.bindPropertyTypeCheckboxes()},bindPropertyTypeCheckboxes:function(){var e=t(".flexmls_connect__search_new_property_type",this.widgetContainer),i=this;e.children("input").change(function(){var n=e.children("input:checked");if(1===n.length){var o="#flexmls_connect__search_new_subtypes_for_"+n.val();t(o,i.widgetContainer).show()}else t(".flexmls_connect__search_new_subtypes",i.widgetContainer).hide(),t(".flexmls_connect__search_new_subtypes input",i.widgetContainer).prop("checked",!1)}).change()},getLocations:function(){var t={},e=[];null!=this.locationSearch&&this.locationSearch.selectedValues().forEach(function(t){e.push(t.fieldName+"="+encodeURIComponent(t.value))});for(var i=0;i<e.length;i++){var n=e[i].split("="),o=n.shift();t[o]?t[o]+=","+n.join("="):t[o]=n.join("=")}return t},handleSubmit:function(e){var i=t("input[name='fmc_do']",this.widgetContainer).length>0,n=this.getLocations();if(i){var o="";for(var s in n)o+=(""===o?"":"&")+s+"="+n[s];if(t("input[name='PropertyType[]']",this.widgetContainer).length){var a=[];t("input[name='PropertyType[]']",this.widgetContainer).each(function(t,e){this.checked&&a.push(this.value)}),o+="&PropertyType="+a.join(",")}else t("input[name='PropertyType']",this.widgetContainer).length>0&&(o+="&PropertyType="+t("input[name='PropertyType']",this.widgetContainer).val());t("div[data-connect-type='number']",this.widgetContainer).each(function(e,i){var n=t(i).attr("data-connect-field");if(n){var s=t("input",i).first(),a=t("input",i).last(),r=s.val(),l=s.attr("data-connect-default"),c=a.val(),h=a.attr("data-connect-default");r==l&&c==h||(o+=r==c?"&"+n+"="+r:r==l?"&"+n+"=<"+c:c==h?"&"+n+"=>"+r:"&"+n+"="+r+","+c),r==l&&s.val(""),c==h&&a.val("")}}),t("input[name='query']",this.widgetContainer).val(o)}else{var r=t("div.query",this.widgetContainer);t("input",r).remove();for(var s in n)t("<input type='hidden' name='"+s+"' value=\""+decodeURIComponent(n[s])+'" />').appendTo(r);t("div[data-connect-type='number']",this.widgetContainer).each(function(e,i){var n=t("input",i).first(),o=t("input",i).last();n.val()==n.attr("data-connect-default")&&(n.val(""),n.prop("disabled",!0)),o.val()==o.attr("data-connect-default")&&(o.val(""),o.prop("disabled",!0))})}}},e}(jQuery)},function(t,e){!function(t,e,i){function n(i,n,o){var s=e.createElement(i);return n&&(s.id=J+n),o&&(s.style.cssText=o),t(s)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function s(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==Z[e]&&(this.cache[e]=Z[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function a(t){var e=S.length,i=(H+t)%e;return i<0?e+i:i}function r(t,e){return Math.round((/%/.test(t)?("x"===e?M.width():o())/100:1)*parseInt(t,10))}function l(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function c(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function h(t){"contains"in _[0]&&!_[0].contains(t.target)&&t.target!==x[0]&&(t.stopPropagation(),_.focus())}function u(t){u.str!==t&&(_.add(x).removeClass(u.str).addClass(t),u.str=t)}function d(e){H=0,e&&!1!==e&&"nofollow"!==e?(S=t("."+tt).filter(function(){return new s(this,t.data(this,K)).get("rel")===e}),-1===(H=S.index(D.el))&&(S=S.add(D.el),H=S.length-1)):S=t(D.el)}function p(i){t(e).trigger(i),rt.triggerHandler(i)}function f(i){var o;if(!q){if(o=t(i).data(K),D=new s(i,o),d(D.get("rel")),!V){V=Y=!0,u(D.get("className")),_.css({visibility:"hidden",display:"block",opacity:""}),j=n(lt,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),w.css({width:"",height:""}).append(j),R=b.height()+C.height()+w.outerHeight(!0)-w.height(),W=T.width()+k.width()+w.outerWidth(!0)-w.width(),F=j.outerHeight(!0),$=j.outerWidth(!0);var a=r(D.get("initialWidth"),"x"),l=r(D.get("initialHeight"),"y"),c=D.get("maxWidth"),f=D.get("maxHeight");D.w=(!1!==c?Math.min(a,r(c,"x")):a)-$-W,D.h=(!1!==f?Math.min(l,r(f,"y")):l)-F-R,j.css({width:"",height:D.h}),G.position(),p(et),D.get("onOpen"),O.add(Q).hide(),_.focus(),D.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",h,!0),rt.one(st,function(){e.removeEventListener("focus",h,!0)})),D.get("returnFocus")&&rt.one(st,function(){t(D.el).focus()})}var m=parseFloat(D.get("opacity"));x.css({opacity:m===m?m:"",cursor:D.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),D.get("closeButton")?N.html(D.get("close")).appendTo(w):N.appendTo("<div/>"),v()}}function m(){_||(U=!1,M=t(i),_=n(lt).attr({id:K,class:!1===t.support.opacity?J+"IE":"",role:"dialog",tabindex:"-1"}).hide(),x=n(lt,"Overlay").hide(),z=t([n(lt,"LoadingOverlay")[0],n(lt,"LoadingGraphic")[0]]),y=n(lt,"Wrapper"),w=n(lt,"Content").append(Q=n(lt,"Title"),L=n(lt,"Current"),I=t('<button type="button"/>').attr({id:J+"Previous"}),A=t('<button type="button"/>').attr({id:J+"Next"}),E=n("button","Slideshow"),z),N=t('<button type="button"/>').attr({id:J+"Close"}),y.append(n(lt).append(n(lt,"TopLeft"),b=n(lt,"TopCenter"),n(lt,"TopRight")),n(lt,!1,"clear:left").append(T=n(lt,"MiddleLeft"),w,k=n(lt,"MiddleRight")),n(lt,!1,"clear:left").append(n(lt,"BottomLeft"),C=n(lt,"BottomCenter"),n(lt,"BottomRight"))).find("div div").css({float:"left"}),P=n(lt,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=A.add(I).add(L).add(E)),e.body&&!_.parent().length&&t(e.body).append(x,_.append(y,P))}function g(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return!!_&&(U||(U=!0,A.click(function(){G.next()}),I.click(function(){G.prev()}),N.click(function(){G.close()}),x.click(function(){D.get("overlayClose")&&G.close()}),t(e).bind("keydown."+J,function(t){var e=t.keyCode;V&&D.get("escKey")&&27===e&&(t.preventDefault(),G.close()),V&&D.get("arrowKey")&&S[1]&&!t.altKey&&(37===e?(t.preventDefault(),I.click()):39===e&&(t.preventDefault(),A.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+J,"."+tt,i):t("."+tt).live("click."+J,i)),!0)}function v(){var e,o,s,a=G.prep,h=++ct;if(Y=!0,B=!1,p(at),p(it),D.get("onLoad"),D.h=D.get("height")?r(D.get("height"),"y")-F-R:D.get("innerHeight")&&r(D.get("innerHeight"),"y"),D.w=D.get("width")?r(D.get("width"),"x")-$-W:D.get("innerWidth")&&r(D.get("innerWidth"),"x"),D.mw=D.w,D.mh=D.h,D.get("maxWidth")&&(D.mw=r(D.get("maxWidth"),"x")-$-W,D.mw=D.w&&D.w<D.mw?D.w:D.mw),D.get("maxHeight")&&(D.mh=r(D.get("maxHeight"),"y")-F-R,D.mh=D.h&&D.h<D.mh?D.h:D.mh),e=D.get("href"),X=setTimeout(function(){z.show()},100),D.get("inline")){var u=t(e);s=t("<div>").hide().insertBefore(u),rt.one(at,function(){s.replaceWith(u)}),a(u)}else D.get("iframe")?a(" "):D.get("html")?a(D.get("html")):l(D,e)?(e=c(D,e),B=new Image,t(B).addClass(J+"Photo").bind("error",function(){a(n(lt,"Error").html(D.get("imgError")))}).one("load",function(){h===ct&&setTimeout(function(){var e;t.each(["alt","longdesc","aria-describedby"],function(e,i){var n=t(D.el).attr(i)||t(D.el).attr("data-"+i);n&&B.setAttribute(i,n)}),D.get("retinaImage")&&i.devicePixelRatio>1&&(B.height=B.height/i.devicePixelRatio,B.width=B.width/i.devicePixelRatio),D.get("scalePhotos")&&(o=function(){B.height-=B.height*e,B.width-=B.width*e},D.mw&&B.width>D.mw&&(e=(B.width-D.mw)/B.width,o()),D.mh&&B.height>D.mh&&(e=(B.height-D.mh)/B.height,o())),D.h&&(B.style.marginTop=Math.max(D.mh-B.height,0)/2+"px"),S[1]&&(D.get("loop")||S[H+1])&&(B.style.cursor="pointer",B.onclick=function(){G.next()}),B.style.width=B.width+"px",B.style.height=B.height+"px",a(B)},1)}),B.src=e):e&&P.load(e,D.get("data"),function(e,i){h===ct&&a("error"===i?n(lt,"Error").html(D.get("xhrError")):t(this).contents())})}var x,_,y,w,b,T,k,C,S,M,j,P,z,Q,L,E,A,I,N,O,D,R,W,F,$,H,B,V,Y,q,X,G,U,Z={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title}},K="flexmls_connect__colorbox",J="flexmls_connect__cbox",tt=J+"Element",et=J+"_open",it=J+"_load",nt=J+"_complete",ot=J+"_cleanup",st=J+"_closed",at=J+"_purge",rt=t("<a/>"),lt="div",ct=0,ht={},ut=function(){function t(){clearTimeout(a)}function e(){(D.get("loop")||S[H+1])&&(t(),a=setTimeout(G.next,D.get("slideshowSpeed")))}function i(){E.html(D.get("slideshowStop")).unbind(l).one(l,n),rt.bind(nt,e).bind(it,t),_.removeClass(r+"off").addClass(r+"on")}function n(){t(),rt.unbind(nt,e).unbind(it,t),E.html(D.get("slideshowStart")).unbind(l).one(l,function(){G.next(),i()}),_.removeClass(r+"on").addClass(r+"off")}function o(){s=!1,E.hide(),t(),rt.unbind(nt,e).unbind(it,t),_.removeClass(r+"off "+r+"on")}var s,a,r=J+"Slideshow_",l="click."+J;return function(){s?D.get("slideshow")||(rt.unbind(ot,o),o()):D.get("slideshow")&&S[1]&&(s=!0,rt.one(ot,o),D.get("slideshowAuto")?i():n(),E.show())}}();t[K]||(t(m),G=t.fn[K]=t[K]=function(e,i){var n,o=this;if(e=e||{},t.isFunction(o))o=t("<a/>"),e.open=!0;else if(!o[0])return o;return o[0]?(m(),g()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,K)||{};t.data(this,K,t.extend(i,e))}).addClass(tt),n=new s(o[0],e),n.get("open")&&f(o[0])),o):o},G.position=function(e,i){function n(){b[0].style.width=C[0].style.width=w[0].style.width=parseInt(_[0].style.width,10)-W+"px",w[0].style.height=T[0].style.height=k[0].style.height=parseInt(_[0].style.height,10)-R+"px"}var s,a,l,c=0,h=0,u=_.offset();if(M.unbind("resize."+J),_.css({top:-9e4,left:-9e4}),a=M.scrollTop(),l=M.scrollLeft(),D.get("fixed")?(u.top-=a,u.left-=l,_.css({position:"fixed"})):(c=a,h=l,_.css({position:"absolute"})),!1!==D.get("right")?h+=Math.max(M.width()-D.w-$-W-r(D.get("right"),"x"),0):!1!==D.get("left")?h+=r(D.get("left"),"x"):h+=Math.round(Math.max(M.width()-D.w-$-W,0)/2),!1!==D.get("bottom")?c+=Math.max(o()-D.h-F-R-r(D.get("bottom"),"y"),0):!1!==D.get("top")?c+=r(D.get("top"),"y"):c+=Math.round(Math.max(o()-D.h-F-R,0)/2),_.css({top:u.top,left:u.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",s={width:D.w+$+W,height:D.h+F+R,top:c,left:h},e){var d=0;t.each(s,function(t){if(s[t]!==ht[t])return void(d=e)}),e=d}ht=s,e||_.css(s),_.dequeue().animate(s,{duration:e||0,complete:function(){n(),Y=!1,y[0].style.width=D.w+$+W+"px",y[0].style.height=D.h+F+R+"px",D.get("reposition")&&setTimeout(function(){M.bind("resize."+J,G.position)},1),t.isFunction(i)&&i()},step:n})},G.resize=function(t){var e;V&&(t=t||{},t.width&&(D.w=r(t.width,"x")-$-W),t.innerWidth&&(D.w=r(t.innerWidth,"x")),j.css({width:D.w}),t.height&&(D.h=r(t.height,"y")-F-R),t.innerHeight&&(D.h=r(t.innerHeight,"y")),t.innerHeight||t.height||(e=j.scrollTop(),j.css({height:"auto"}),D.h=j.height()),j.css({height:D.h}),e&&j.scrollTop(e),G.position("none"===D.get("transition")?0:D.get("speed")))},G.prep=function(i){if(V){var o,r="none"===D.get("transition")?0:D.get("speed");j.remove(),j=n(lt,"LoadedContent").append(i),j.hide().appendTo(P.show()).css({width:function(){return D.w=D.w||j.width(),D.w=D.mw&&D.mw<D.w?D.mw:D.w,D.w}(),overflow:D.get("scrolling")?"auto":"hidden"}).css({height:function(){return D.h=D.h||j.height(),D.h=D.mh&&D.mh<D.h?D.mh:D.h,D.h}()}).prependTo(w),P.hide(),t(B).css({float:"none"}),u(D.get("className")),o=function(){function i(){!1===t.support.opacity&&_[0].style.removeAttribute("filter")}var n,o,h=S.length;V&&(o=function(){clearTimeout(X),z.hide(),p(nt),D.get("onComplete")},Q.html(D.get("title")).show(),j.show(),h>1?("string"===typeof D.get("current")&&L.html(D.get("current").replace("{current}",H+1).replace("{total}",h)).show(),A[D.get("loop")||H<h-1?"show":"hide"]().html(D.get("next")),I[D.get("loop")||H?"show":"hide"]().html(D.get("previous")),ut(),D.get("preloading")&&t.each([a(-1),a(1)],function(){var i,n=S[this],o=new s(n,t.data(n,K)),a=o.get("href");a&&l(o,a)&&(a=c(o,a),i=e.createElement("img"),i.src=a)})):O.hide(),D.get("iframe")?(n=e.createElement("iframe"),"frameBorder"in n&&(n.frameBorder=0),"allowTransparency"in n&&(n.allowTransparency="true"),D.get("scrolling")||(n.scrolling="no"),t(n).attr({src:D.get("href"),name:(new Date).getTime(),class:J+"Iframe",allowFullScreen:!0}).one("load",o).appendTo(j),rt.one(at,function(){n.src="//about:blank"}),D.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===D.get("transition")?_.fadeTo(r,1,i):i())},"fade"===D.get("transition")?_.fadeTo(r,0,function(){G.position(0,o)}):G.position(r,o)}},G.next=function(){!Y&&S[1]&&(D.get("loop")||S[H+1])&&(H=a(1),f(S[H]))},G.prev=function(){!Y&&S[1]&&(D.get("loop")||H)&&(H=a(-1),f(S[H]))},G.close=function(){V&&!q&&(q=!0,V=!1,p(ot),D.get("onCleanup"),M.unbind("."+J),x.fadeTo(D.get("fadeOut")||0,0),_.stop().fadeTo(D.get("fadeOut")||0,0,function(){_.hide(),x.hide(),p(at),j.remove(),setTimeout(function(){q=!1,p(st),D.get("onClosed")},1)}))},G.remove=function(){_&&(_.stop(),t[K].close(),_.stop(!1,!0).remove(),x.remove(),q=!1,_=null,t("."+tt).removeData(K).removeClass(tt),t(e).unbind("click."+J).unbind("keydown."+J))},G.element=function(){return t(D.el)},G.settings=Z)}(jQuery,document,window)},function(t,e){var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t,e,n,o){function s(e,i){this.settings=null,this.options=t.extend({},s.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy(function(e,i){this._handlers[i]=t.proxy(this[i],this)},this)),t.each(s.Plugins,t.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),t.each(s.Workers,t.proxy(function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})},this)),this.setup(),this.initialize()}s.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},s.Width={Default:"default",Inner:"inner",Outer:"outer"},s.Type={Event:"event",State:"state"},s.Plugins={},s.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,o={width:"auto","margin-left":n?e:"","margin-right":n?"":e};!i&&this.$stage.children().css(o),t.css=o}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,o=!this.settings.autoWidth,s=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,s[n]=o?e*i:this._items[n].width();this._widths=s}},{filter:["items","settings"],run:function(){var e=[],i=this._items,n=this.settings,o=Math.max(2*n.items,4),s=2*Math.ceil(i.length/2),a=n.loop&&i.length?n.rewind?o:Math.max(o,s):0,r="",l="";for(a/=2;a>0;)e.push(this.normalize(e.length/2,!0)),r+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),l=i[e[e.length-1]][0].outerHTML+l,a-=1;this._clones=e,t(r).addClass("cloned").appendTo(this.$stage),t(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,n=0,o=0,s=[];++i<e;)n=s[i-1]||0,o=this._widths[this.relative(i)]+this.settings.margin,s.push(n+o*t);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],n.eq(e).css(t.css);else i&&(t.css.width=t.items.width,n.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,n,o=this.settings.rtl?1:-1,s=2*this.settings.stagePadding,a=this.coordinates(this.current())+s,r=a+this.width()*o,l=[];for(i=0,n=this._coordinates.length;i<n;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+s*o,(this.op(t,"<=",a)&&this.op(t,">",r)||this.op(e,"<",a)&&this.op(e,">",r))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],s.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},s.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");if(e.length)return this._items=e.get().map(function(e){return t(e)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},s.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var t,e,i;t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:void 0,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t)}this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},s.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},s.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,n=-1,o=null;i?(t.each(i,function(t){t<=e&&t>n&&(n=Number(t))}),o=t.extend({},this.options,i[n]),"function"===typeof o.stagePadding&&(o.stagePadding=o.stagePadding()),delete o.responsive,o.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):o=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:o}}),this._breakpoint=n,this.settings=o,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},s.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},s.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},s.prototype.update=function(){for(var e=0,i=this._pipe.length,n=t.proxy(function(t){return this[t]},this._invalidated),o={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,n).length>0)&&this._pipe[e].run(o),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},s.prototype.width=function(t){switch(t=t||s.Width.Default){case s.Width.Inner:case s.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},s.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},s.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},s.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},s.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},s.prototype.onDragStart=function(e){var i=null;3!==e.which&&(t.support.transform?(i=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),i={x:i[16===i.length?12:4],y:i[16===i.length?13:5]}):(i=this.$stage.position(),i={x:this.settings.rtl?i.left+this.$stage.width()-this.width()+this.settings.margin:i.left,y:i.top}),this.is("animating")&&(t.support.transform?this.animate(i.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=i,this._drag.stage.current=i,this._drag.pointer=this.pointer(e),t(n).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(n).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var i=this.difference(this._drag.pointer,this.pointer(e));t(n).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(i.x)<Math.abs(i.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},s.prototype.onDragMove=function(t){var e=null,i=null,n=null,o=this.difference(this._drag.pointer,this.pointer(t)),s=this.difference(this._drag.stage.start,o);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,s.x=((s.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),n=this.settings.pullDrag?-1*o.x/5:0,s.x=Math.max(Math.min(s.x,e+n),i+n)),this._drag.stage.current=s,this.animate(s.x))},s.prototype.onDragEnd=function(e){var i=this.difference(this._drag.pointer,this.pointer(e)),o=this._drag.stage.current,s=i.x>0^this.settings.rtl?"left":"right";t(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==i.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(o.x,0!==i.x?s:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=s,(Math.abs(i.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},s.prototype.closest=function(e,i){var n=-1,o=this.width(),s=this.coordinates();return this.settings.freeDrag||t.each(s,t.proxy(function(t,a){return"left"===i&&e>a-30&&e<a+30?n=t:"right"===i&&e>a-o-30&&e<a-o+30?n=t+1:this.op(e,"<",a)&&this.op(e,">",void 0!==s[t+1]?s[t+1]:a-o)&&(n="left"===i?t+1:t),-1===n},this)),this.settings.loop||(this.op(e,">",s[this.minimum()])?n=e=this.minimum():this.op(e,"<",s[this.maximum()])&&(n=e=this.maximum())),n},s.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},s.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},s.prototype.current=function(t){if(void 0===t)return this._current;if(0!==this._items.length){if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});void 0!==e.data&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current}},s.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(t,e){return e})},s.prototype.reset=function(t){void 0!==(t=this.normalize(t))&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},s.prototype.normalize=function(t,e){var i=this._items.length,n=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=void 0:(t<0||t>=i+n)&&(t=((t-n/2)%i+i)%i+n/2),t},s.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},s.prototype.maximum=function(t){var e,i,n,o=this.settings,s=this._coordinates.length;if(o.loop)s=this._clones.length/2+this._items.length-1;else if(o.autoWidth||o.merge){if(e=this._items.length)for(i=this._items[--e].width(),n=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>n););s=e+1}else s=o.center?this._items.length-1:this._items.length-o.items;return t&&(s-=this._clones.length/2),Math.max(s,0)},s.prototype.minimum=function(t){return t?0:this._clones.length/2},s.prototype.items=function(t){return void 0===t?this._items.slice():(t=this.normalize(t,!0),this._items[t])},s.prototype.mergers=function(t){return void 0===t?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},s.prototype.clones=function(e){var i=this._clones.length/2,n=i+this._items.length,o=function(t){return t%2===0?n+t/2:i-(t+1)/2};return void 0===e?t.map(this._clones,function(t,e){return o(e)}):t.map(this._clones,function(t,i){return t===e?o(i):null})},s.prototype.speed=function(t){return void 0!==t&&(this._speed=t),this._speed},s.prototype.coordinates=function(e){var i,n=1,o=e-1;return void 0===e?t.map(this._coordinates,t.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(n=-1,o=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[o]||0))/2*n):i=this._coordinates[o]||0,i=Math.ceil(i))},s.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},s.prototype.to=function(t,e){var i=this.current(),n=null,o=t-this.relative(i),s=(o>0)-(o<0),a=this._items.length,r=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(o)>a/2&&(o+=-1*s*a),t=i+o,(n=((t-r)%a+a)%a+r)!==t&&n-o<=l&&n-o>0&&(i=n-o,t=n,this.reset(i))):this.settings.rewind?(l+=1,t=(t%l+l)%l):t=Math.max(r,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.isVisible()&&this.update()},s.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},s.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},s.prototype.onTransitionEnd=function(t){if(void 0!==t&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},s.prototype.viewport=function(){var i;return this.options.responsiveBaseElement!==e?i=t(this.options.responsiveBaseElement).width():e.innerWidth?i=e.innerWidth:n.documentElement&&n.documentElement.clientWidth?i=n.documentElement.clientWidth:console.warn("Can not detect viewport width."),i},s.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter(function(){return 1===this.nodeType}).each(t.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},s.prototype.add=function(e,i){var n=this.relative(this._current);i=void 0===i?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},s.prototype.remove=function(t){void 0!==(t=this.normalize(t,!0))&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},s.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy(function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy(function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))},s.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(n).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize));for(var i in this._plugins)this._plugins[i].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},s.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?t>i:t<i;case">":return n?t<i:t>i;case">=":return n?t<=i:t>=i;case"<=":return n?t>=i:t<=i}},s.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},s.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},s.prototype.trigger=function(e,i,n,o,a){var r={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,n],function(t){return t}).join("-").toLowerCase()),c=t.Event([e,"owl",n||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},r,i));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(c)}),this.register({type:s.Type.Event,name:e}),this.$element.trigger(c),this.settings&&"function"===typeof this.settings[l]&&this.settings[l].call(this,c)),c},s.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){void 0===this._states.current[e]&&(this._states.current[e]=0),this._states.current[e]++},this))},s.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]--},this))},s.prototype.register=function(e){if(e.type===s.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===s.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(i,n){return t.inArray(i,this._states.tags[e.name])===n},this)))},s.prototype.suppress=function(e){t.each(e,t.proxy(function(t,e){this._supress[e]=!0},this))},s.prototype.release=function(e){t.each(e,t.proxy(function(t,e){delete this._supress[e]},this))},s.prototype.pointer=function(t){var i={x:null,y:null};return t=t.originalEvent||t||e.event,t=t.touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,t.pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},s.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},s.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var o=t(this),a=o.data("owl.carousel");a||(a=new s(this,"object"==("undefined"===typeof e?"undefined":i(e))&&e),o.data("owl.carousel",a),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,i){a.register({type:s.Type.Event,name:i}),a.$element.on(i+".owl.carousel.core",t.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),a[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},a))})),"string"==typeof e&&"_"!==e.charAt(0)&&a[e].apply(a,n)})},t.fn.owlCarousel.Constructor=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function e(i){this._core=i,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};o.Defaults={autoRefresh:!0,autoRefreshInterval:500},o.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},o.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},o.prototype.destroy=function(){var t,i;e.clearInterval(this._interval);for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function e(i){this._core=i,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var i=this._core.settings,n=i.center&&Math.ceil(i.items/2)||i.items,o=i.center&&-1*n||0,s=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+o,a=this._core.clones().length,r=t.proxy(function(t,e){this.load(e)},this);for(i.lazyLoadEager>0&&(n+=i.lazyLoadEager,i.loop&&(s-=i.lazyLoadEager,n++));o++<n;)this.load(a/2+this._core.relative(s)),a&&t.each(this._core.clones(this._core.relative(s)),r),s++}},this)},this._core.options=t.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};o.Defaults={lazyLoad:!1,lazyLoadEager:0},o.prototype.load=function(i){var n=this._core.$stage.children().eq(i),o=n&&n.find(".owl-lazy");!o||t.inArray(n.get(0),this._loaded)>-1||(o.each(t.proxy(function(i,n){var o,s=t(n),a=e.devicePixelRatio>1&&s.attr("data-src-retina")||s.attr("data-src")||s.attr("data-srcset");this._core.trigger("load",{element:s,url:a},"lazy"),s.is("img")?s.one("load.owl.lazy",t.proxy(function(){s.css("opacity",1),this._core.trigger("loaded",{element:s,url:a},"lazy")},this)).attr("src",a):s.is("source")?s.one("load.owl.lazy",t.proxy(function(){this._core.trigger("loaded",{element:s,url:a},"lazy")},this)).attr("srcset",a):(o=new Image,o.onload=t.proxy(function(){s.css({"background-image":'url("'+a+'")',opacity:"1"}),this._core.trigger("loaded",{element:s,url:a},"lazy")},this),o.src=a)},this)),this._loaded.push(n.get(0)))},o.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function i(n){this._core=n,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()},this),"loaded.owl.lazy":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var o=this;t(e).on("load",function(){o._core.settings.autoHeight&&o.update()}),t(e).resize(function(){o._core.settings.autoHeight&&(null!=o._intervalId&&clearTimeout(o._intervalId),o._intervalId=setTimeout(function(){o.update()},250))})};o.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},o.prototype.update=function(){var e=this._core._current,i=e+this._core.settings.items,n=this._core.settings.lazyLoad,o=this._core.$stage.children().toArray().slice(e,i),s=[],a=0;t.each(o,function(e,i){s.push(t(i).height())}),a=Math.max.apply(null,s),a<=1&&n&&this._previousHeight&&(a=this._previousHeight),this._previousHeight=a,this._core.$stage.parent().height(a).addClass(this._core.settings.autoHeightClass)},o.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!==typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function e(i){this._core=i,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}},this)},this._core.options=t.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.play(t)},this))};o.Defaults={video:!1,videoHeight:!1,videoWidth:!1},o.prototype.fetch=function(t,e){var i=function(){return t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube"}(),n=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),o=t.attr("data-width")||this._core.settings.videoWidth,s=t.attr("data-height")||this._core.settings.videoHeight,a=t.attr("href");if(!a)throw new Error("Missing video URL.");if(n=a.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),n[3].indexOf("youtu")>-1)i="youtube";else if(n[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(n[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[a]={type:i,id:n,width:o,height:s},e.attr("data-video",a),this.thumbnail(t,this._videos[a])},o.prototype.thumbnail=function(e,i){var n,o,s,a=i.width&&i.height?"width:"+i.width+"px;height:"+i.height+"px;":"",r=e.find("img"),l="src",c="",h=this._core.settings,u=function(i){o='<div class="owl-video-play-icon"></div>',n=h.lazyLoad?t("<div/>",{class:"owl-video-tn "+c,srcType:i}):t("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),e.after(n),e.after(o)};if(e.wrap(t("<div/>",{class:"owl-video-wrapper",style:a})),this._core.settings.lazyLoad&&(l="data-src",c="owl-lazy"),r.length)return u(r.attr(l)),r.remove(),!1;"youtube"===i.type?(s="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",u(s)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t[0].thumbnail_large,u(s)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t.framegrab_url,u(s)}})},o.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},o.prototype.play=function(e){var i,n=t(e.target),o=n.closest("."+this._core.settings.itemClass),s=this._videos[o.attr("data-video")],a=s.width||"100%",r=s.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),o=this._core.items(this._core.relative(o.index())),this._core.reset(o.index()),i=t('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>'),i.attr("height",r),i.attr("width",a),"youtube"===s.type?i.attr("src","//www.youtube.com/embed/"+s.id+"?autoplay=1&rel=0&v="+s.id):"vimeo"===s.type?i.attr("src","//player.vimeo.com/video/"+s.id+"?autoplay=1"):"vzaar"===s.type&&i.attr("src","//view.vzaar.com/"+s.id+"/player?autoplay=true"),t(i).wrap('<div class="owl-video-frame" />').insertAfter(o.find(".owl-video")),this._playing=o.addClass("owl-video-playing"))},o.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},o.prototype.destroy=function(){var t,e;this._core.$element.off("click.owl.video");for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function e(i){this.core=i,this.core.options=t.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};o.Defaults={animateOut:!1,animateIn:!1},o.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),o=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,a=this.core.settings.animateOut;this.core.current()!==this.previous&&(a&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(a)),s&&o.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(s))}},o.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},o.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function e(i){this._core=i,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":t.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},e.Defaults,this._core.options)};o.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},o.prototype._next=function(n){this._call=e.setTimeout(t.proxy(this._next,this,n),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)},o.prototype.read=function(){return(new Date).getTime()-this._time},o.prototype.play=function(i,n){var o;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,o=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%i-o,this._timeout=i,this._call=e.setTimeout(t.proxy(this._next,this,n),i-o)},o.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"))},o.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call))},o.prototype.destroy=function(){var t,e;this.stop();for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var o=function e(i){this._core=i,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=t.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};o.Defaults={nav:!1,navText:['<span aria-label="Previous">‹</span>','<span aria-label="Next">›</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},o.prototype.initialize=function(){var e,i=this._core.settings;this._controls.$relative=(i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[t('<button role="button">').addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",t.proxy(function(e){var n=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(n,i.dotsSpeed)},this));for(e in this._overrides)this._core[e]=t.proxy(this[e],this)},o.prototype.destroy=function(){var t,e,i,n,o;o=this._core.settings;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&o.navContainer?this._controls[e].html(""):this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},o.prototype.update=function(){var t,e,i,n=this._core.clones().length/2,o=n+this._core.items().length,s=this._core.maximum(!0),a=this._core.settings,r=a.center||a.autoWidth||a.dotsData?1:a.dotsEach||a.items;if("page"!==a.slideBy&&(a.slideBy=Math.min(a.slideBy,a.items)),a.dots||"page"==a.slideBy)for(this._pages=[],t=n,e=0,i=0;t<o;t++){if(e>=r||0===e){if(this._pages.push({start:Math.min(s,t-n),end:t-n+r-1}),Math.min(s,t-n)===s)break;e=0,++i}e+=this._core.mergers(this._core.relative(t))}},o.prototype.draw=function(){var e,i=this._core.settings,n=this._core.items().length<=i.items,o=this._core.relative(this._core.current()),s=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||n),i.nav&&(this._controls.$previous.toggleClass("disabled",!s&&o<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!s&&o>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||n),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},o.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},o.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,i){return t.start<=e&&t.end>=e},this)).pop()},o.prototype.getPosition=function(e){var i,n,o=this._core.settings;return"page"==o.slideBy?(i=t.inArray(this.current(),this._pages),n=this._pages.length,e?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this._core.relative(this._core.current()),n=this._core.items().length,e?i+=o.slideBy:i-=o.slideBy),i},o.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},o.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},o.prototype.to=function(e,i,n){var o;!n&&this._pages.length?(o=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%o+o)%o].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var o=function i(n){this._core=n,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}},this),"changed.owl.carousel":t.proxy(function(i){if(i.namespace&&"position"===i.property.name){var n=this._core.items(this._core.relative(this._core.current())),o=t.map(this._hashes,function(t,e){return t===n?e:null}).join();if(!o||e.location.hash.slice(1)===o)return;e.location.hash=o}},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var i=e.location.hash.substring(1),n=this._core.$stage.children(),o=this._hashes[i]&&n.index(this._hashes[i]);void 0!==o&&o!==this._core.current()&&this._core.to(this._core.relative(o),!1,!0)},this))};o.Defaults={URLhashListener:!1},o.prototype.destroy=function(){var i,n;t(e).off("hashchange.owl.navigation");for(i in this._handlers)this._core.$element.off(i,this._handlers[i]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){function o(e,i){var o=!1,s=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+r.join(s+" ")+s).split(" "),function(t,e){if(a[e]!==n)return o=!i||e,!1}),o}function s(t){return o(t,!0)}var a=t("<support>").get(0).style,r="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c={csstransforms:function(){return!!o("transform")},csstransforms3d:function(){return!!o("perspective")},csstransitions:function(){return!!o("transition")},cssanimations:function(){return!!o("animation")}};c.csstransitions()&&(t.support.transition=new String(s("transition")),t.support.transition.end=l.transition.end[t.support.transition]),c.cssanimations()&&(t.support.animation=new String(s("animation")),t.support.animation.end=l.animation.end[t.support.animation]),c.csstransforms()&&(t.support.transform=new String(s("transform")),t.support.transform3d=c.csstransforms3d())}(window.Zepto||window.jQuery,window,document)},function(t,e){!function(t){t.fn.autoSuggest=function(e,i){var n={asHtmlID:!1,startText:"Enter Name Here",emptyText:"No Results Found",preFill:{},limitText:"No More Selections Are Allowed",selectedItemProp:"value",selectedValuesProp:"value",searchObjProps:"value",queryParam:"q",retrieveLimit:!1,extraParams:"",matchCase:!1,minChars:1,keyDelay:400,resultsHighlight:!0,neverSubmit:!1,selectionLimit:!1,selectFirstDataItem:!1,showResultList:!0,start:function(){},selectionClick:function(t){},selectionAdded:function(t){},selectionRemoved:function(t){t.remove()},formatList:!1,beforeRetrieve:function(t){return t},retrieveComplete:function(t){return t},resultClick:function(t){},resultsComplete:function(){}},o=t.extend(n,i),s="object",a=0;if("string"==typeof e){s="string";var r=e}else{var l=e;for(k in e)e.hasOwnProperty(k)&&a++}if("object"==s&&a>0||"string"==s)return this.each(function(e){function i(){if(46==lastKeyPressCode||lastKeyPressCode>8&&lastKeyPressCode<32)return v.hide();var e=p.val().replace(/[\\]+|[\/]+/g,"");if(e!=j)if(j=e,e.length>=o.minChars)if(m.addClass("loading"),"string"==s){var i="";o.retrieveLimit&&(i="&limit="+encodeURIComponent(o.retrieveLimit)),o.beforeRetrieve&&(e=o.beforeRetrieve.call(this,e)),t.getJSON(r+"?"+o.queryParam+"="+encodeURIComponent(e)+i+o.extraParams,function(t){a=0;var i=o.retrieveComplete.call(this,t);for(k in i)i.hasOwnProperty(k)&&a++;n(i,e)})}else o.beforeRetrieve&&(e=o.beforeRetrieve.call(this,e)),n(l,e);else m.removeClass("loading"),v.hide()}function n(e,i){o.matchCase||(i=i.toLowerCase());var n=0;v.html(x.html("")).hide();for(var s=0;s<a;s++){var r=s;z++;var l=!1;if("value"==o.searchObjProps)var u=e[r].value;else for(var u="",d=o.searchObjProps.split(","),g=0;g<d.length;g++){var _=t.trim(d[g]);u=u+e[r][_]+" "}if(u&&(o.matchCase||(u=u.toLowerCase()),l=!0),l){var y=t('<li class="as-result-item" id="as-result-item-'+r+'"></li>').click(function(){var e=t(this).data("data"),i=e.num;if(t("#as-selection-"+i,m).length<=0&&!P){var n=e.attributes;p.val("").focus(),j="",h(n,i),o.resultClick.call(this,e),v.hide()}P=!1}).mousedown(function(){f=!1}).mouseover(function(){t("li",x).removeClass("active"),t(this).addClass("active")}).data("data",{attributes:e[r],num:z}),w=t.extend({},e[r]);if(o.matchCase)var b=new RegExp("(?![^&;]+;)(?!<[^<>]*)("+i+")(?![^<>]*>)(?![^&;]+;)","g");else var b=new RegExp("(?![^&;]+;)(?!<[^<>]*)("+i+")(?![^<>]*>)(?![^&;]+;)","gi");if(o.resultsHighlight&&(w[o.selectedItemProp]=w[o.selectedItemProp].replace(b,"<em>$1</em>")),y=o.formatList?o.formatList.call(this,w,y):y.html(w[o.selectedItemProp]),x.append(y),w=null,n++,o.retrieveLimit&&o.retrieveLimit==n)break}}m.removeClass("loading"),n<=0&&x.html('<li class="as-message">'+o.emptyText+"</li>"),x.css("width",m.outerWidth()),v.show(),o.selectFirstDataItem&&c(),o.resultsComplete.call(this)}function c(){if(t(":visible",v).length>0){var e=t("li",v),i=e.eq(0),n=t("li.active:first",v);n.length>0&&(i=n.next()),e.removeClass("active"),i.addClass("active")}}function h(e,i){var n=encodeURIComponent(e.value.replace(/,/g,",").replace(/\\'/g,"'")),s="&"+e.name+"="+n;_.val(_.val()+s+",");var a=t('<li class="as-selection-item" id="as-selection-'+i+'"></li>').click(function(){o.selectionClick.call(this,t(this)),m.children().removeClass("selected"),t(this).addClass("selected")}).mousedown(function(){f=!1}),r=t('<a class="as-close">×</a>').click(function(){return _.val(_.val().replace(e[o.selectedValuesProp]+",","")),o.selectionRemoved.call(this,a),f=!0,p.focus(),!1});g.before(a.html(e[o.selectedItemProp]).prepend(r)),o.selectionAdded.call(this,g.prev())}function u(e){if(t(":visible",v).length>0){var i=t("li",v);if("down"==e)var n=i.eq(0);else var n=i.filter(":last");var o=t("li.active:first",v);o.length>0&&(n="down"==e?o.next():o.prev()),i.removeClass("active"),n.addClass("active")}}if(o.asHtmlID){e=o.asHtmlID;var d=e}else{e=e+""+Math.floor(100*Math.random());var d="as-input-"+e}o.start.call(this);var p=t(this);p.attr("autocomplete","off").addClass("as-input").attr("id",d).val(o.startText);var f=!1;p.wrap('<ul class="as-selections" id="as-selections-'+e+'"></ul>').wrap('<li class="as-original" id="as-original-'+e+'"></li>');var m=t("#as-selections-"+e),g=t("#as-original-"+e),v=t('<div class="as-results" id="as-results-'+e+'"></div>').hide(),x=t('<ul class="as-list"></ul>'),_=t('<input type="hidden" class="as-values" id="as-values-'+e+'" />'),y="";if("string"==typeof o.preFill){for(var w=o.preFill.split(","),b=0;b<w.length;b++){var T={};T[o.selectedValuesProp]=w[b],""!=w[b]&&h(T,"000"+b)}y=o.preFill}else{y="";var C=0;for(k in o.preFill)o.preFill.hasOwnProperty(k)&&C++;if(C>0)for(var b=0;b<C;b++){var S=o.preFill[b][o.selectedValuesProp];void 0==S&&(S=""),y=y+S+",",""!=S&&h(o.preFill[b],"000"+b)}}if(""!=y){p.val("");","!=y.substring(y.length-1)&&(y+=","),_.val(","+y),t("li.as-selection-item",m).addClass("blur").removeClass("selected")}p.after(_),m.click(function(){f=!0,p.focus()}).mousedown(function(){f=!1}).after(v);var M=null,j="",P=!1;p.focus(function(){return t(this).val()==o.startText&&""==_.val()?t(this).val(""):f&&(t("li.as-selection-item",m).removeClass("blur"),""!=t(this).val()&&(x.css("width",m.outerWidth()),v.show())),f=!0,!0}).blur(function(){""==t(this).val()&&""==_.val()&&""==y?t(this).val(o.startText):f&&(t("li.as-selection-item",m).addClass("blur").removeClass("selected"),v.hide())}).keydown(function(e){switch(lastKeyPressCode=e.keyCode,first_focus=!1,e.keyCode){case 38:e.preventDefault(),u("up");break;case 40:e.preventDefault(),u("down");break;case 8:if(""==p.val()){var n=_.val().split(",");n=n[n.length-2],m.children().not(g.prev()).removeClass("selected"),g.prev().hasClass("selected")?(_.val(_.val().replace(","+n+",",",")),o.selectionRemoved.call(this,g.prev())):(o.selectionClick.call(this,g.prev()),g.prev().addClass("selected"))}1==p.val().length&&(v.hide(),j=""),t(":visible",v).length>0&&(M&&clearTimeout(M),M=setTimeout(function(){i()},o.keyDelay));break;case 9:case 188:break;case 13:P=!1;var s=t("li.active:first",v);s.length>0&&(s.click(),v.hide()),(o.neverSubmit||s.length>0)&&e.preventDefault();break;default:o.showResultList&&(o.selectionLimit&&t("li.as-selection-item",m).length>=o.selectionLimit?(x.html('<li class="as-message">'+o.limitText+"</li>"),v.show()):(M&&clearTimeout(M),M=setTimeout(function(){i()},o.keyDelay)))}});var z=0})}}(jQuery)},function(t,e){},function(t,e){var i=function(){jQuery(".flexmls-widthchange-wrapper").each(function(){var t=jQuery(this),e=t.width();t.removeClass(function(t,e){return(e.match(/(^|\s)flexmls-width-\S+/g)||[]).join(" ")});var i=[480,600,768,900,1024];jQuery(i).each(function(i,n){e>n&&t.addClass("flexmls-width-"+n)})})};jQuery(function(t){i()}),window.resizeTimerId=0,window.addEventListener("resize",function(t){clearTimeout(window.resizeTimerId),window.resizeTimerId=setTimeout(function(){i()},300)})}]);1 !function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var i={};e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=17)}([function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"LocationSearch",function(){return n});var n=function(t){function e(e,i){return this.$element=t(e),"undefined"===typeof i&&(i={}),this.omniSearchUrl="//apps.flexmls.com/quick_launch/omni",this.portalSlug=i.portalSlug,this.init(),this}return e.prototype={constructor:e,init:function(){var e=this;this.s2=t(this.$element).select2({ajax:{url:e.omniSearchUrl,dataType:"jsonp",quietMillis:500,data:e.ajaxData.bind(e),processResults:e.processAjaxResults.bind(e),cache:!0},placeholder:"Enter an Address, City, Zip or MLS#",minimumInputLength:3,formatInputTooShort:function(t,e){return"Please enter "+(e-t.length)+" or more characters"}})},selectedValues:function(){var e=t(this.$element).select2("data"),i=[];return Array.isArray(e)||(e=[e]),e.forEach(function(t){i.push({id:t.id,text:t.text,fieldName:t.id.split("_")[0],value:t.id.split("_")[1]})}),i},ajaxData:function(t){var e={_q:t.term,_lo:!1};return"undefined"!==typeof this.portalSlug&&(e.portal_slug=this.portalSlug),e},processAjaxResults:function(t,e){var i=this,n=[];return t.D.Results.forEach(function(t){var e,o,s,a,r;"Field"==t.Type?(e=t.Field.Id,o=t.Field.Name,s="",a=t.Field.Value,r=t.Field.SparkQl):"Listing"==t.Type&&(e="ListingId",o=t.Listing.Name,s=t.Listing.Address,a=t.Listing.Number,r=t.Listing.SparkQl),a&&n.push({id:e+"_"+a,text:i.getDisplayText(e,s,a,o),fieldName:e,value:a,sparkQl:r})}),{results:n}},getDisplayText:function(t,e,i,n){return"ListingId"===t?e+" / "+i+" (MLS #)":"polygon"===i.substr(0,7)||"radius"===i.substr(0,6)?"Drawn Shape":i+" ("+n+")"}},e}(jQuery)},,function(t,e){!function(t){t.fn.loopedCarousel=function(e){var i={container:".flexmls_connect__container",slides:".flexmls_connect__slides",pagination:".pagination",autoStart:0,slidespeed:300,fadespeed:400,items:3,grid_size:1,padding:3,showPagination:!0,vertical:!1,slideshowAutoLoadLimit:5,pauseOnHover:!0};this.each(function(){function n(){sliderIntervalID=setInterval(function(){!1===b&&(o()?a():p("next",!0))},v.autoStart)}function o(){return needToLoad=k>t(".flexmls_connect__slide_page",g).length,needToLoad}function s(){var e=T+1;return t(".flexmls_connect__slide_page",g).length>=e+1}function a(){t.ajax({type:"GET",url:fmcAjax.ajaxurl+"?settings="+g.attr("data-connect-settings"),dataType:"html",data:{action:"fmcPhotos_additional_slides",page:T+2},success:function(e){t(".flexmls_connect__slides",g).append(e),t("div.flexmls_connect__slides div a.flexmls_popup",g).not("div.flexmls_connect__slides div a.cboxElement").each(function(e){flexmls_connect.establishColorbox(t(this))}),v.showPagination&&(l(),d()),t("span.pleasewait",g).hide(),p("next",!0)},error:function(t,e,i){C++}})}function r(){t(".pagination li",g).removeClass("active"),t(".pagination li:eq("+T+")",g).addClass("active")}function l(){if(v.showPagination){for(var e=t(".flexmls_connect__slide_page",g).length,i=t("<ul>").addClass("pagination"),n=0;n<e;n++){var o=t("<li>").append(t("<a>").attr({rel:n,href:"#"}).text(n+1));n===T&&o.addClass("active"),i.append(o)}t(".pagination",g).remove(),t("a.next",g).after(i)}}function c(){if(0==t("span.pleasewait",g).length){var e=t("<span class='pleasewait'>Loading Listings...</span>").appendTo(g),i=t(".flexmls_connect__container",g),n=i.position();t("span.pleasewait",g).css({top:(i.height()-e.height())/2+n.top,left:(i.width()-e.width())/2+n.left})}else t("span.pleasewait",g).show()}function u(){clearInterval(sliderIntervalID)}function d(){11*t("ul.pagination li",g).length>t(v.container,g).width()-t(".previous",g).width()-t(".next",g).width()-10&&t("ul.pagination",g).hide()}function p(e,i){page_size=v.vertical?_:x;var n=T;switch(e){case"next":T+1<t(".flexmls_connect__slide_page",g).length?n++:n=0;break;case"prev":T>0&&n--;break;case"fade":n=i}n!=T&&!1===b&&(b=!0,t(".flexmls_connect__slide_page:eq("+T+")",g).fadeOut(v.fadespeed,function(){var e=t(".flexmls_connect__slide_page:eq("+n+")",g);m(e),e.fadeIn(v.fadespeed,function(){b=!1})}),T=n,r())}function f(){var e=t(".flexmls_connect__slideshow_image:visible",g).first(),i=t(e).attr("style","height: auto;").parent().width();i>0?(v.height=3*i/4,m()):setTimeout(f,10)}function m(e){var i=e||g;v.height>0?t(".flexmls_connect__slideshow_image",i).each(function(){t(this).css("height",v.height)}):f()}var g=t(this),v=t.extend({},i,e),x=v.items,_=v.grid_size,y=t(v.slides,g).children().length,b=!1,T=0,k=parseInt(g.attr("data-connect-total-pages")),C=0;if(function(){t(".flexmls_connect__slide_page",g).hide(),t(".flexmls_connect__slide_page:eq("+T+")",g).show(0,function(){f()})}(),t(window).resize(function(){f()}),parseInt(g.attr("data-connect-total-pages"))<2)for(v.showPagination=!1,t(".previous, .next",g).css("display","none");x*_-x>=y;)_--;if(l(),0===y&&(h=(t(this).hasClass("tall")?165:145)+v.padding,w=134+v.padding),0===y)return void t(v.container,g).append(t("<div class='flexmls_connect__empty_message'>").html("No Listings Found"));t(".next",g).click(function(){if(v.autoStart&&u(),!1===b){if(T+1>k)return!1;s()?p("next",!0):o()&&(c(),a())}return!1}),t(".previous",g).click(function(){return!1===b&&(p("prev",!0),v.autoStart&&u()),!1}),t(g).on("click",v.pagination+" li a",function(e){return e.preventDefault(),t(this).hasClass("active")||!1!==b||(p("fade",parseInt(t(this).attr("rel"))),v.autoStart&&u()),!1}),v.showPagination&&d(),v.autoStart&&n(),v.pauseOnHover&&0!=v.autoStart&&t(v.slides).hover(u,n)})}}(jQuery)},,,,,,,,,,,,,,,function(t,e,i){i(18),i(0),i(19),i(21),i(22),i(2),i(23),i(24),i(25)},function(t,e,n){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t){function e(t,e){t.transform.baseVal.clear(),e&&e.forEach(function(e){t.transform.baseVal.appendItem(e)})}var i=function(e,i){var n=i.getElementsByClassName(e)[0];if(!n&&((n=document.createElement("canvas")).className=e,n.style.direction="ltr",n.style.position="absolute",n.style.left="0px",n.style.top="0px",i.appendChild(n),!n.getContext))throw new Error("Canvas is not available.");this.element=n;var o=this.context=n.getContext("2d");this.pixelRatio=t.plot.browser.getPixelRatio(o);var s=t(i).width(),a=t(i).height();this.resize(s,a),this.SVGContainer=null,this.SVG={},this._textCache={}};i.prototype.resize=function(t,e){t=t<10?10:t,e=e<10?10:e;var i=this.element,n=this.context,o=this.pixelRatio;this.width!==t&&(i.width=t*o,i.style.width=t+"px",this.width=t),this.height!==e&&(i.height=e*o,i.style.height=e+"px",this.height=e),n.restore(),n.save(),n.scale(o,o)},i.prototype.clear=function(){this.context.clearRect(0,0,this.width,this.height)},i.prototype.render=function(){var t=this._textCache;for(var e in t)if(hasOwnProperty.call(t,e)){var i=this.getSVGLayer(e),n=t[e],o=i.style.display;for(var s in i.style.display="none",n)if(hasOwnProperty.call(n,s)){var a=n[s];for(var r in a)if(hasOwnProperty.call(a,r)){for(var l,c=a[r],h=c.positions,u=0;h[u];u++)if((l=h[u]).active)l.rendered||(i.appendChild(l.element),l.rendered=!0);else if(h.splice(u--,1),l.rendered){for(;l.element.firstChild;)l.element.removeChild(l.element.firstChild);l.element.parentNode.removeChild(l.element)}0===h.length&&(c.measured?c.measured=!1:delete a[r])}}i.style.display=o}},i.prototype.getSVGLayer=function(t){var e,i=this.SVG[t];return i||(this.SVGContainer?e=this.SVGContainer.firstChild:(this.SVGContainer=document.createElement("div"),this.SVGContainer.className="flot-svg",this.SVGContainer.style.position="absolute",this.SVGContainer.style.top="0px",this.SVGContainer.style.left="0px",this.SVGContainer.style.height="100%",this.SVGContainer.style.width="100%",this.SVGContainer.style.pointerEvents="none",this.element.parentNode.appendChild(this.SVGContainer),(e=document.createElementNS("http://www.w3.org/2000/svg","svg")).style.width="100%",e.style.height="100%",this.SVGContainer.appendChild(e)),(i=document.createElementNS("http://www.w3.org/2000/svg","g")).setAttribute("class",t),i.style.position="absolute",i.style.top="0px",i.style.left="0px",i.style.bottom="0px",i.style.right="0px",e.appendChild(i),this.SVG[t]=i),i},i.prototype.getTextInfo=function(t,e,i,s,a){var r,l,c,h;e=""+e,r="object"===o(i)?i.style+" "+i.variant+" "+i.weight+" "+i.size+"px/"+i.lineHeight+"px "+i.family:i,null==(l=this._textCache[t])&&(l=this._textCache[t]={}),null==(c=l[r])&&(c=l[r]={});var u=e.replace(/0|1|2|3|4|5|6|7|8|9/g,"0");if(!(h=c[u])){var d=document.createElementNS("http://www.w3.org/2000/svg","text");if(-1!==e.indexOf("<br>"))n(e,d,-9999);else{var p=document.createTextNode(e);d.appendChild(p)}d.style.position="absolute",d.style.maxWidth=a,d.setAttributeNS(null,"x",-9999),d.setAttributeNS(null,"y",-9999),"object"===o(i)?(d.style.font=r,d.style.fill=i.fill):"string"==typeof i&&d.setAttribute("class",i),this.getSVGLayer(t).appendChild(d);var f=d.getBBox();for(h=c[u]={width:f.width,height:f.height,measured:!0,element:d,positions:[]};d.firstChild;)d.removeChild(d.firstChild);d.parentNode.removeChild(d)}return h.measured=!0,h},i.prototype.addText=function(t,i,o,s,a,r,l,c,h,u){var d=this.getTextInfo(t,s,a,r,l),p=d.positions;"center"===c?i-=d.width/2:"right"===c&&(i-=d.width),"middle"===h?o-=d.height/2:"bottom"===h&&(o-=d.height),o+=.75*d.height;for(var f,m=0;p[m];m++){if((f=p[m]).x===i&&f.y===o&&f.text===s)return f.active=!0,void e(f.element,u);if(!1===f.active)return f.active=!0,-1!==(f.text=s).indexOf("<br>")?(o-=.25*d.height,n(s,f.element,i)):f.element.textContent=s,f.element.setAttributeNS(null,"x",i),f.element.setAttributeNS(null,"y",o),f.x=i,f.y=o,void e(f.element,u)}f={active:!0,rendered:!1,element:p.length?d.element.cloneNode():d.element,text:s,x:i,y:o},p.push(f),-1!==s.indexOf("<br>")?(o-=.25*d.height,n(s,f.element,i)):f.element.textContent=s,f.element.setAttributeNS(null,"x",i),f.element.setAttributeNS(null,"y",o),f.element.style.textAlign=c,e(f.element,u)};var n=function(t,e,i){var n,o,s,a=t.split("<br>");for(o=0;o<a.length;o++)e.childNodes[o]?n=e.childNodes[o]:(n=document.createElementNS("http://www.w3.org/2000/svg","tspan"),e.appendChild(n)),n.textContent=a[o],s=1*o+"em",n.setAttributeNS(null,"dy",s),n.setAttributeNS(null,"x",i)};i.prototype.removeText=function(t,e,i,n,o,s){var a,r;if(null==n){var l=this._textCache[t];if(null!=l)for(var c in l)if(hasOwnProperty.call(l,c)){var h=l[c];for(var u in h)if(hasOwnProperty.call(h,u)){var d=h[u].positions;d.forEach(function(t){t.active=!1})}}}else(d=(a=this.getTextInfo(t,n,o,s)).positions).forEach(function(t){r=i+.75*a.height,t.x===e&&t.y===r&&t.text===n&&(t.active=!1)})},i.prototype.clearCache=function(){var t=this._textCache;for(var e in t)if(hasOwnProperty.call(t,e))for(var i=this.getSVGLayer(e);i.firstChild;)i.removeChild(i.firstChild);this._textCache={}},window.Flot||(window.Flot={}),window.Flot.Canvas=i}(jQuery),function(t){t.color={},t.color.make=function(e,i,n,o){var s={};return s.r=e||0,s.g=i||0,s.b=n||0,s.a=null!=o?o:1,s.add=function(t,e){for(var i=0;i<t.length;++i)s[t.charAt(i)]+=e;return s.normalize()},s.scale=function(t,e){for(var i=0;i<t.length;++i)s[t.charAt(i)]*=e;return s.normalize()},s.toString=function(){return 1<=s.a?"rgb("+[s.r,s.g,s.b].join(",")+")":"rgba("+[s.r,s.g,s.b,s.a].join(",")+")"},s.normalize=function(){function t(t,e,i){return e<t?t:i<e?i:e}return s.r=t(0,parseInt(s.r),255),s.g=t(0,parseInt(s.g),255),s.b=t(0,parseInt(s.b),255),s.a=t(0,s.a,1),s},s.clone=function(){return t.color.make(s.r,s.b,s.g,s.a)},s.normalize()},t.color.extract=function(e,i){var n;do{if(""!==(n=e.css(i).toLowerCase())&&"transparent"!==n)break;e=e.parent()}while(e.length&&!t.nodeName(e.get(0),"body"));return"rgba(0, 0, 0, 0)"===n&&(n="transparent"),t.color.parse(n)},t.color.parse=function(i){var n,o=t.color.make;if(n=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(i))return o(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10));if(n=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(i))return o(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10),parseFloat(n[4]));if(n=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*\)/.exec(i))return o(2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3]));if(n=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(i))return o(2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3]),parseFloat(n[4]));if(n=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(i))return o(parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16));if(n=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(i))return o(parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16));var s=t.trim(i).toLowerCase();return"transparent"===s?o(255,255,255,0):o((n=e[s]||[0,0,0])[0],n[1],n[2])};var e={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],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],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}}(jQuery),function(t){function e(e){var i,n=[],o=t.plot.saturated.saturate(t.plot.saturated.floorInBase(e.min,e.tickSize)),s=0,a=Number.NaN;for(o===-Number.MAX_VALUE&&(n.push(o),o=t.plot.saturated.floorInBase(e.min+e.tickSize,e.tickSize));i=a,a=t.plot.saturated.multiplyAdd(e.tickSize,s,o),n.push(a),++s,a<e.max&&a!==i;);return n}function i(t,e,i){var o=e.tickDecimals;if(-1!==(""+t).indexOf("e"))return n(t,e,i);0<i&&(e.tickDecimals=i);var s=e.tickDecimals?parseFloat("1e"+e.tickDecimals):1,a=""+Math.round(t*s)/s;if(null!=e.tickDecimals){var r=a.indexOf("."),l=-1===r?0:a.length-r-1;l<e.tickDecimals&&(a=(l?a:a+".")+(""+s).substr(1,e.tickDecimals-l))}return e.tickDecimals=o,a}function n(t,e,i){var n=(""+t).indexOf("e"),o=parseInt((""+t).substr(n+1)),a=-1!==n?o:0<t?Math.floor(Math.log(t)/Math.LN10):0,r=parseFloat("1e"+a),l=t/r;if(i){return(t/r).toFixed(s(t,i))+"e"+a}return 0<e.tickDecimals?l.toFixed(s(t,e.tickDecimals))+"e"+a:l.toFixed()+"e"+a}function s(t,e){var i=Math.log(Math.abs(t))*Math.LOG10E,n=Math.abs(i+e);return n<=20?Math.floor(n):20}function a(n,s,a,l){function c(t,e){e=[Z].concat(e);for(var i=0;i<t.length;++i)t[i].apply(this,e)}function h(e){var i=D;D=function(e){for(var i=[],n=0;n<e.length;++n){var o=t.extend(!0,{},R.series);null!=e[n].data?(o.data=e[n].data,delete e[n].data,t.extend(!0,o,e[n]),e[n].data=o.data):o.data=e[n],i.push(o)}return i}(e),function(){var e,i=D.length,n=-1;for(e=0;e<D.length;++e){var o=D[e].color;null!=o&&(i--,"number"==typeof o&&n<o&&(n=o))}i<=n&&(i=n+1);var s,a=[],r=R.colors,l=r.length,c=0,h=Math.max(0,D.length-i);for(e=0;e<i;e++)s=t.color.parse(r[(h+e)%l]||"#666"),e%l==0&&e&&(c=0<=c?c<.5?-c-.2:0:-c),a[e]=s.scale("rgb",1+c);var d,f=0;for(e=0;e<D.length;++e){if(null==(d=D[e]).color?(d.color=a[f].toString(),++f):"number"==typeof d.color&&(d.color=a[d.color].toString()),null==d.lines.show){var m,g=!0;for(m in d)if(d[m]&&d[m].show){g=!1;break}g&&(d.lines.show=!0)}null==d.lines.zero&&(d.lines.zero=!!d.lines.fill),d.xaxis=p(V,u(d,"x")),d.yaxis=p(Y,u(d,"y"))}}(),function(e){function i(t,e,i){e<t.datamin&&e!==-1/0&&(t.datamin=e),i>t.datamax&&i!==1/0&&(t.datamax=i)}var n,o,s,a,r,l,h,u,p,f,m,g,v=Number.POSITIVE_INFINITY,x=Number.NEGATIVE_INFINITY;for(t.each(d(),function(t,e){!0!==e.options.growOnly?(e.datamin=v,e.datamax=x):(void 0===e.datamin&&(e.datamin=v),void 0===e.datamax&&(e.datamax=x)),e.used=!1}),n=0;n<D.length;++n)(r=D[n]).datapoints={points:[]},0===r.datapoints.points.length&&(r.datapoints.points=function(t,e){return t&&t[e]&&t[e].datapoints&&t[e].datapoints.points?t[e].datapoints.points:[]}(e,n)),c(U.processRawData,[r,r.data,r.datapoints]);for(n=0;n<D.length;++n){if(r=D[n],m=r.data,!(g=r.datapoints.format)){if((g=[]).push({x:!0,y:!1,number:!0,required:!0,computeRange:"none"!==r.xaxis.options.autoScale,defaultValue:null}),g.push({x:!1,y:!0,number:!0,required:!0,computeRange:"none"!==r.yaxis.options.autoScale,defaultValue:null}),r.stack||r.bars.show||r.lines.show&&r.lines.fill){2<(null!=r.datapoints.pointsize?r.datapoints.pointsize:r.data&&r.data[0]&&r.data[0].length?r.data[0].length:3)&&g.push({x:!1,y:!0,number:!0,required:!1,computeRange:"none"!==r.yaxis.options.autoScale,defaultValue:0})}r.datapoints.format=g}if(r.xaxis.used=r.yaxis.used=!0,null==r.datapoints.pointsize){for(r.datapoints.pointsize=g.length,h=r.datapoints.pointsize,l=r.datapoints.points,r.lines.show&&r.lines.steps,o=s=0;o<m.length;++o,s+=h){var _=null==(f=m[o]);if(!_)for(a=0;a<h;++a)u=f[a],(p=g[a])&&(p.number&&null!=u&&(u=+u,isNaN(u)&&(u=null)),null==u&&(p.required&&(_=!0),null!=p.defaultValue&&(u=p.defaultValue))),l[s+a]=u;if(_)for(a=0;a<h;++a)null!=(u=l[s+a])&&(p=g[a]).computeRange&&(p.x&&i(r.xaxis,u,u),p.y&&i(r.yaxis,u,u)),l[s+a]=null}l.length=s}}for(n=0;n<D.length;++n)r=D[n],c(U.processDatapoints,[r,r.datapoints]);for(n=0;n<D.length;++n)if(r=D[n],!(g=r.datapoints.format).every(function(t){return!t.computeRange})){var y=Z.adjustSeriesDataRange(r,Z.computeRangeForDataSeries(r));c(U.adjustSeriesDataRange,[r,y]),i(r.xaxis,y.xmin,y.xmax),i(r.yaxis,y.ymin,y.ymax)}t.each(d(),function(t,e){e.datamin===v&&(e.datamin=null),e.datamax===x&&(e.datamax=null)})}(i)}function u(t,e){var i=t[e+"axis"];return"object"===o(i)&&(i=i.n),"number"!=typeof i&&(i=1),i}function d(){return V.concat(Y).filter(function(t){return t})}function p(e,i){return e[i-1]||(e[i-1]={n:i,direction:e===V?"x":"y",options:t.extend(!0,{},e===V?R.xaxis:R.yaxis)}),e[i-1]}function f(){J&&clearTimeout(J),c(U.shutdown,[$])}function m(e){function i(t){return t}var n,o,s=e.options.transform||i,a=e.options.inverseTransform;o="x"===e.direction?(n=isFinite(s(e.max)-s(e.min))?e.scale=X/Math.abs(s(e.max)-s(e.min)):e.scale=1/Math.abs(t.plot.saturated.delta(s(e.min),s(e.max),X)),Math.min(s(e.max),s(e.min))):(n=-(n=isFinite(s(e.max)-s(e.min))?e.scale=G/Math.abs(s(e.max)-s(e.min)):e.scale=1/Math.abs(t.plot.saturated.delta(s(e.min),s(e.max),G))),Math.max(s(e.max),s(e.min))),e.p2c=s===i?function(t){return isFinite(t-o)?(t-o)*n:(t/4-o/4)*n*4}:function(t){var e=s(t);return isFinite(e-o)?(e-o)*n:(e/4-o/4)*n*4},e.c2p=a?function(t){return a(o+t/n)}:function(t){return o+t/n}}function g(e){c(U.axisReserveSpace,[e]);var i=e.labelWidth,n=e.labelHeight,o=e.options.position,s="x"===e.direction,a=e.options.tickLength,r=e.options.showTicks,l=e.options.showMinorTicks,h=e.options.gridLines,u=R.grid.axisMargin,d=R.grid.labelMargin,p=!0,f=!0,m=!1;t.each(s?V:Y,function(t,i){i&&(i.show||i.reserveSpace)&&(i===e?m=!0:i.options.position===o&&(m?f=!1:p=!1))}),f&&(u=0),null==a&&(a=et),null==r&&(r=!0),null==l&&(l=!0),null==h&&(h=!!p),isNaN(+a)||(d+=r?+a:0),s?(n+=d,"bottom"===o?(q.bottom+=n+u,e.box={top:W.height-q.bottom,height:n}):(e.box={top:q.top+u,height:n},q.top+=n+u)):(i+=d,"left"===o?(e.box={left:q.left+u,width:i},q.left+=i+u):(q.right+=i+u,e.box={left:W.width-q.right,width:i})),e.position=o,e.tickLength=a,e.showMinorTicks=l,e.showTicks=r,e.gridLines=h,e.box.padding=d,e.innermost=p}function v(t,e,i){"x"===t.direction?("bottom"===t.position&&i(e.bottom)&&(t.box.top-=Math.ceil(e.bottom)),"top"===t.position&&i(e.top)&&(t.box.top+=Math.ceil(e.top))):("left"===t.position&&i(e.left)&&(t.box.left+=Math.ceil(e.left)),"right"===t.position&&i(e.right)&&(t.box.left-=Math.ceil(e.right)))}function x(n){var s,a,r=d(),l=R.grid.show;for(a in q)q[a]=0;for(a in c(U.processOffset,[q]),q)"object"===o(R.grid.borderWidth)?q[a]+=l?R.grid.borderWidth[a]:0:q[a]+=l?R.grid.borderWidth:0;if(t.each(r,function(e,o){var s,a,r=o.options;o.show=null==r.show?o.used:r.show,o.reserveSpace=null==r.reserveSpace?o.show:r.reserveSpace,a=(s=o).options,s.tickFormatter||("function"==typeof a.tickFormatter?s.tickFormatter=function(){var t=Array.prototype.slice.call(arguments);return""+a.tickFormatter.apply(null,t)}:s.tickFormatter=i),c(U.setRange,[o,n]),function(e,i){var n="number"==typeof e.options.min?e.options.min:e.min,o="number"==typeof e.options.max?e.options.max:e.max,s=e.options.offset;if(i&&(_(e),n=e.autoScaledMin,o=e.autoScaledMax),n=(null!=n?n:-1)+(s.below||0),(o=(null!=o?o:1)+(s.above||0))<n){var a=n;n=o,o=a,e.options.offset={above:0,below:0}}e.min=t.plot.saturated.saturate(n),e.max=t.plot.saturated.saturate(o)}(o,n)}),l){X=W.width-q.left-q.right,G=W.height-q.bottom-q.top;var h=t.grep(r,function(t){return t.show||t.reserveSpace});for(t.each(h,function(i,n){var s,a,r,l;!function(i){var n,o=i.options;n=b(i.direction,W,o.ticks),i.delta=t.plot.saturated.delta(i.min,i.max,n);var s=Z.computeValuePrecision(i.min,i.max,i.direction,n,o.tickDecimals);if(i.tickDecimals=Math.max(0,null!=o.tickDecimals?o.tickDecimals:s),i.tickSize=function(t,e,i,n,o){var s;s="number"==typeof n.ticks&&0<n.ticks?n.ticks:.3*Math.sqrt("x"===i?W.width:W.height);var a=w(t,e,s,o);return null!=n.minTickSize&&a<n.minTickSize&&(a=n.minTickSize),n.tickSize||a}(i.min,i.max,i.direction,o,o.tickDecimals),i.tickGenerator||("function"==typeof o.tickGenerator?i.tickGenerator=o.tickGenerator:i.tickGenerator=e),null!=o.alignTicksWithAxis){var a=("x"===i.direction?V:Y)[o.alignTicksWithAxis-1];if(a&&a.used&&a!==i){var r=i.tickGenerator(i,Z);if(0<r.length&&(null==o.min&&(i.min=Math.min(i.min,r[0])),null==o.max&&1<r.length&&(i.max=Math.max(i.max,r[r.length-1]))),i.tickGenerator=function(t){var e,i,n=[];for(i=0;i<a.ticks.length;++i)e=(a.ticks[i].v-a.min)/(a.max-a.min),e=t.min+e*(t.max-t.min),n.push(e);return n},!i.mode&&null==o.tickDecimals){var l=Math.max(0,1-Math.floor(Math.log(i.delta)/Math.LN10)),c=i.tickGenerator(i,Z);1<c.length&&/\..*0$/.test((c[1]-c[0]).toFixed(l))||(i.tickDecimals=l)}}}}(n),function(e){var i,n,s=e.options.ticks,a=[];for(null==s||"number"==typeof s&&0<s?a=e.tickGenerator(e,Z):s&&(a=t.isFunction(s)?s(e):s),e.ticks=[],i=0;i<a.length;++i){var r=null,l=a[i];"object"===o(l)?(n=+l[0],1<l.length&&(r=l[1])):n=+l,isNaN(n)||e.ticks.push(T(n,r,e,"major"))}}(n),a=(s=n).ticks,r=D,"loose"===s.options.autoScale&&0<a.length&&r.some(function(t){return 0<t.datapoints.points.length})&&(s.min=Math.min(s.min,a[0].v),s.max=Math.max(s.max,a[a.length-1].v)),m(n),function(t,e){if("endpoints"===t.options.showTickLabels)return!0;if("all"!==t.options.showTickLabels)return"major"!==t.options.showTickLabels&&"none"!==t.options.showTickLabels&&void 0;var i=e.filter(function(e){return e.xaxis===t}),n=i.some(function(t){return!t.bars.show});return 0===i.length||n}(l=n,D)&&(l.ticks.unshift(T(l.min,null,l,"min")),l.ticks.push(T(l.max,null,l,"max"))),function(t){for(var e=t.options,i="none"!==e.showTickLabels&&t.ticks?t.ticks:[],n="major"===e.showTickLabels||"all"===e.showTickLabels,s="endpoints"===e.showTickLabels||"all"===e.showTickLabels,a=e.labelWidth||0,r=e.labelHeight||0,l=t.direction+"Axis "+t.direction+t.n+"Axis",c="flot-"+t.direction+"-axis flot-"+t.direction+t.n+"-axis "+l,h=e.font||"flot-tick-label tickLabel",u=0;u<i.length;++u){var d=i[u],p=d.label;if(d.label&&!(!1===n&&0<u&&u<i.length-1)&&(!1!==s||0!==u&&u!==i.length-1)){"object"===o(d.label)&&(p=d.label.name);var f=W.getTextInfo(c,p,h);a=Math.max(a,f.width),r=Math.max(r,f.height)}}t.labelWidth=e.labelWidth||a,t.labelHeight=e.labelHeight||r}(n)}),s=h.length-1;0<=s;--s)g(h[s]);!function(){var e,i=R.grid.minBorderMargin;if(null==i)for(e=i=0;e<D.length;++e)i=Math.max(i,2*(D[e].points.radius+D[e].points.lineWidth/2));var n,o={},s={left:i,right:i,top:i,bottom:i};for(n in t.each(d(),function(t,e){e.reserveSpace&&e.ticks&&e.ticks.length&&("x"===e.direction?(s.left=Math.max(s.left,e.labelWidth/2),s.right=Math.max(s.right,e.labelWidth/2)):(s.bottom=Math.max(s.bottom,e.labelHeight/2),s.top=Math.max(s.top,e.labelHeight/2)))}),s)o[n]=s[n]-q[n];t.each(V.concat(Y),function(t,e){v(e,o,function(t){return 0<t})}),q.left=Math.ceil(Math.max(s.left,q.left)),q.right=Math.ceil(Math.max(s.right,q.right)),q.top=Math.ceil(Math.max(s.top,q.top)),q.bottom=Math.ceil(Math.max(s.bottom,q.bottom))}(),t.each(h,function(t,e){var i;"x"===(i=e).direction?(i.box.left=q.left-i.labelWidth/2,i.box.width=W.width-q.left-q.right+i.labelWidth):(i.box.top=q.top-i.labelHeight/2,i.box.height=W.height-q.bottom-q.top+i.labelHeight)})}if(R.grid.margin){for(a in q){var u=R.grid.margin||0;q[a]+="number"==typeof u?u:u[a]||0}t.each(V.concat(Y),function(t,e){v(e,R.grid.margin,function(t){return null!=t})})}X=W.width-q.left-q.right,G=W.height-q.bottom-q.top,t.each(r,function(t,e){m(e)}),l&&t.each(d(),function(t,e){var i,n,o,s,a,r,l,h=e.box,u=e.direction+"Axis "+e.direction+e.n+"Axis",d="flot-"+e.direction+"-axis flot-"+e.direction+e.n+"-axis "+u,p=e.options.font||"flot-tick-label tickLabel",f={x:NaN,y:NaN,width:NaN,height:NaN},m=[],g=function(t,e,i,n,o,s,a,r){return(t<=o&&o<=i||o<=t&&t<=a)&&(e<=s&&s<=n||s<=e&&e<=r)},v=function(t,i){return!t||!t.label||t.v<e.min||t.v>e.max?f:(r=W.getTextInfo(d,t.label,p),"x"===e.direction?(s="center",n=q.left+e.p2c(t.v),"bottom"===e.position?o=h.top+h.padding-e.boxPosition.centerY:(o=h.top+h.height-h.padding+e.boxPosition.centerY,a="bottom")):(a="middle",o=q.top+e.p2c(t.v),"left"===e.position?(n=h.left+h.width-h.padding-e.boxPosition.centerX,s="right"):n=h.left+h.padding+e.boxPosition.centerX),l={x:n-r.width/2-3,y:o-3,width:r.width+6,height:r.height+6},c=l,i.some(function(t){return g(c.x,c.y,c.x+c.width,c.y+c.height,t.x,t.y,t.x+t.width,t.y+t.height)})?f:(W.addText(d,n,o,t.label,p,null,null,s,a),l));var c};if(W.removeText(d),c(U.drawAxis,[e,W]),e.show)switch(e.options.showTickLabels){case"none":break;case"endpoints":m.push(v(e.ticks[0],m)),m.push(v(e.ticks[e.ticks.length-1],m));break;case"major":for(m.push(v(e.ticks[0],m)),m.push(v(e.ticks[e.ticks.length-1],m)),i=1;i<e.ticks.length-1;++i)m.push(v(e.ticks[i],m));break;case"all":for(m.push(v(e.ticks[0],[])),m.push(v(e.ticks[e.ticks.length-1],m)),i=1;i<e.ticks.length-1;++i)m.push(v(e.ticks[i],m))}}),c(U.setupGrid,[])}function _(e){var i,n=e.options,o=n.min,s=n.max,a=e.datamin,r=e.datamax;switch(n.autoScale){case"none":o=+(null!=n.min?n.min:a),s=+(null!=n.max?n.max:r);break;case"loose":if(null!=a&&null!=r){o=a,s=r,i=t.plot.saturated.saturate(s-o);var l="number"==typeof n.autoScaleMargin?n.autoScaleMargin:.02;o=t.plot.saturated.saturate(o-i*l),s=t.plot.saturated.saturate(s+i*l),o<0&&0<=a&&(o=0)}else o=n.min,s=n.max;break;case"exact":o=null!=a?a:n.min,s=null!=r?r:n.max;break;case"sliding-window":s<r&&(s=r,o=Math.max(r-(n.windowSize||100),o))}var c=function(t,e){var i=void 0===t?null:t,n=void 0===e?null:e;if(0==n-i){var o=0===n?1:.01,s=null;null==i&&(s-=o),null!=n&&null==i||(n+=o),null!=s&&(i=s)}return{min:i,max:n}}(o,s);o=c.min,s=c.max,!0===n.growOnly&&"none"!==n.autoScale&&"sliding-window"!==n.autoScale&&(o=o<a?o:null!==a?a:o,s=r<s?s:null!==r?r:s),e.autoScaledMin=o,e.autoScaledMax=s}function y(e,i,n,o,s){var a=b(n,W,o),r=t.plot.saturated.delta(e,i,a),l=-Math.floor(Math.log(r)/Math.LN10);s&&s<l&&(l=s);var c=r/parseFloat("1e"+-l);return 2.25<c&&c<3&&l+1<=s&&++l,isFinite(l)?l:0}function w(e,i,n,o){var s=t.plot.saturated.delta(e,i,n),a=-Math.floor(Math.log(s)/Math.LN10);o&&o<a&&(a=o);var r,l=parseFloat("1e"+-a),c=s/l;return c<1.5?r=1:c<3?(r=2,2.25<c&&(null==o||a+1<=o)&&(r=2.5)):r=c<7.5?5:10,r*=l}function b(t,e,i){return"number"==typeof i&&0<i?i:.3*Math.sqrt("x"===t?e.width:e.height)}function T(t,e,i,n){if(null===e)switch(n){case"min":case"max":var o=(s=t,a=i,r=Math.floor(a.p2c(s)),l="x"===a.direction?r+1:r-1,c=a.c2p(r),h=a.c2p(l),y(c,h,a.direction,1));isFinite(o),e=i.tickFormatter(t,i,o,Z);break;case"major":e=i.tickFormatter(t,i,void 0,Z)}var s,a,r,l,c,h;return{v:t,label:e}}function k(){W.clear(),c(U.drawBackground,[H]);var t=R.grid;t.show&&t.backgroundColor&&(H.save(),H.translate(q.left,q.top),H.fillStyle=O(R.grid.backgroundColor,G,0,"rgba(255, 255, 255, 0)"),H.fillRect(0,0,X,G),H.restore()),t.show&&!t.aboveData&&Q();for(var e=0;e<D.length;++e)c(U.drawSeries,[H,D[e],e,O]),L(D[e]);c(U.draw,[H]),t.show&&t.aboveData&&Q(),W.render(),I()}function C(t,e){for(var i,n,o,s,a=d(),r=0;r<a.length;++r)if((i=a[r]).direction===e&&(t[s=e+i.n+"axis"]||1!==i.n||(s=e+"axis"),t[s])){n=t[s].from,o=t[s].to;break}if(t[s]||(i="x"===e?V[0]:Y[0],n=t[e+"1"],o=t[e+"2"]),null!=n&&null!=o&&o<n){var l=n;n=o,o=l}return{from:n,to:o,axis:i}}function S(t){var e=t.box,i=0,n=0;return"x"===t.direction?(i=0,n=e.top-q.top+("top"===t.position?e.height:0)):(n=0,i=e.left-q.left+("left"===t.position?e.width:0)+t.boxPosition.centerX),{x:i,y:n}}function M(t,e){return t%2!=0?Math.floor(e)+.5:e}function j(t){H.lineWidth=1;var e=S(t),i=e.x,n=e.y;if(t.show){var o=0,s=0;H.strokeStyle=t.options.color,H.beginPath(),"x"===t.direction?o=X+1:s=G+1,"x"===t.direction?n=M(H.lineWidth,n):i=M(H.lineWidth,i),H.moveTo(i,n),H.lineTo(i+o,n+s),H.stroke()}}function P(t){var e=t.tickLength,i=t.showMinorTicks,n=tt,o=S(t),s=o.x,a=o.y,r=0;for(H.strokeStyle=t.options.color,H.beginPath(),r=0;r<t.ticks.length;++r){var l,c=t.ticks[r].v,h=0,u=0,d=0,p=0;if(!isNaN(c)&&c>=t.min&&c<=t.max&&("x"===t.direction?(s=t.p2c(c),u=e,"top"===t.position&&(u=-u)):(a=t.p2c(c),h=e,"left"===t.position&&(h=-h)),"x"===t.direction?s=M(H.lineWidth,s):a=M(H.lineWidth,a),H.moveTo(s,a),H.lineTo(s+h,a+u)),!0===i&&r<t.ticks.length-1){var f=t.ticks[r].v,m=(t.ticks[r+1].v-f)/(n+1);for(l=1;l<=n;l++){if("x"===t.direction){if(p=e/2,s=M(H.lineWidth,t.p2c(f+l*m)),"top"===t.position&&(p=-p),s<0||X<s)continue}else if(d=e/2,a=M(H.lineWidth,t.p2c(f+l*m)),"left"===t.position&&(d=-d),a<0||G<a)continue;H.moveTo(s,a),H.lineTo(s+d,a+p)}}}H.stroke()}function z(t){var e,i,n;for(H.strokeStyle=R.grid.tickColor,H.beginPath(),e=0;e<t.ticks.length;++e){var s=t.ticks[e].v,a=0,r=0,l=0,c=0;isNaN(s)||s<t.min||s>t.max||(i=s,n=R.grid.borderWidth,(!("object"===o(n)&&0<n[t.position]||0<n)||i!==t.min&&i!==t.max)&&("x"===t.direction?(l=t.p2c(s),r=-(c=G)):(l=0,c=t.p2c(s),a=X),"x"===t.direction?l=M(H.lineWidth,l):c=M(H.lineWidth,c),H.moveTo(l,c),H.lineTo(l+a,c+r)))}H.stroke()}function Q(){var e,i,n,s;H.save(),H.translate(q.left,q.top),function(){var e,i,n=R.grid.markings;if(n)for(t.isFunction(n)&&((e=Z.getAxes()).xmin=e.xaxis.min,e.xmax=e.xaxis.max,e.ymin=e.yaxis.min,e.ymax=e.yaxis.max,n=n(e)),i=0;i<n.length;++i){var o=n[i],s=C(o,"x"),a=C(o,"y");if(null==s.from&&(s.from=s.axis.min),null==s.to&&(s.to=s.axis.max),null==a.from&&(a.from=a.axis.min),null==a.to&&(a.to=a.axis.max),!(s.to<s.axis.min||s.from>s.axis.max||a.to<a.axis.min||a.from>a.axis.max)){s.from=Math.max(s.from,s.axis.min),s.to=Math.min(s.to,s.axis.max),a.from=Math.max(a.from,a.axis.min),a.to=Math.min(a.to,a.axis.max);var r=s.from===s.to,l=a.from===a.to;if(!r||!l)if(s.from=Math.floor(s.axis.p2c(s.from)),s.to=Math.floor(s.axis.p2c(s.to)),a.from=Math.floor(a.axis.p2c(a.from)),a.to=Math.floor(a.axis.p2c(a.to)),r||l){var c=o.lineWidth||R.grid.markingsLineWidth,h=c%2?.5:0;H.beginPath(),H.strokeStyle=o.color||R.grid.markingsColor,H.lineWidth=c,r?(H.moveTo(s.to+h,a.from),H.lineTo(s.to+h,a.to)):(H.moveTo(s.from,a.to+h),H.lineTo(s.to,a.to+h)),H.stroke()}else H.fillStyle=o.color||R.grid.markingsColor,H.fillRect(s.from,a.to,s.to-s.from,a.from-a.to)}}}(),e=d(),i=R.grid.borderWidth;for(var a=0;a<e.length;++a){var r=e[a];r.show&&(j(r),!0===r.showTicks&&P(r),!0===r.gridLines&&z(r))}i&&(n=R.grid.borderWidth,s=R.grid.borderColor,"object"===o(n)||"object"===o(s)?("object"!==o(n)&&(n={top:n,right:n,bottom:n,left:n}),"object"!==o(s)&&(s={top:s,right:s,bottom:s,left:s}),0<n.top&&(H.strokeStyle=s.top,H.lineWidth=n.top,H.beginPath(),H.moveTo(0-n.left,0-n.top/2),H.lineTo(X,0-n.top/2),H.stroke()),0<n.right&&(H.strokeStyle=s.right,H.lineWidth=n.right,H.beginPath(),H.moveTo(X+n.right/2,0-n.top),H.lineTo(X+n.right/2,G),H.stroke()),0<n.bottom&&(H.strokeStyle=s.bottom,H.lineWidth=n.bottom,H.beginPath(),H.moveTo(X+n.right,G+n.bottom/2),H.lineTo(0,G+n.bottom/2),H.stroke()),0<n.left&&(H.strokeStyle=s.left,H.lineWidth=n.left,H.beginPath(),H.moveTo(0-n.left/2,G+n.bottom),H.lineTo(0-n.left/2,0),H.stroke())):(H.lineWidth=n,H.strokeStyle=R.grid.borderColor,H.strokeRect(-n/2,-n/2,X+n,G+n))),H.restore()}function L(e){e.lines.show&&t.plot.drawSeries.drawSeriesLines(e,H,q,X,G,Z.drawSymbol,O),e.bars.show&&t.plot.drawSeries.drawSeriesBars(e,H,q,X,G,Z.drawSymbol,O),e.points.show&&t.plot.drawSeries.drawSeriesPoints(e,H,q,X,G,Z.drawSymbol,O)}function E(t,e,i,n,o,s){var a=t.xaxis.c2p(e),r=t.yaxis.c2p(i),l=n/t.xaxis.scale,c=n/t.yaxis.scale,h=t.datapoints.points,u=t.datapoints.pointsize;t.xaxis.options.inverseTransform&&(l=Number.MAX_VALUE),t.yaxis.options.inverseTransform&&(c=Number.MAX_VALUE);for(var d=null,p=0;p<h.length;p+=u){var f=h[p],m=h[p+1];if(null!=f&&!(l<f-a||f-a<-l||c<m-r||m-r<-c)){var g=Math.abs(t.xaxis.p2c(f)-e),v=Math.abs(t.yaxis.p2c(m)-i),x=s?s(g,v):g*g+v*v;x<o&&(d={dataIndex:p/u,distance:o=x})}}return d}function A(t,e,i){var n,o,s=t.bars.barWidth[0]||t.bars.barWidth,a=t.xaxis.c2p(e),r=t.yaxis.c2p(i),l=t.datapoints.points,c=t.datapoints.pointsize;switch(t.bars.align){case"left":n=0;break;case"right":n=-s;break;default:n=-s/2}o=n+s;for(var h=t.bars.fillTowards||0,u=h>t.yaxis.min?Math.min(t.yaxis.max,h):t.yaxis.min,d=-1,p=0;p<l.length;p+=c){var f=l[p],m=l[p+1];null!=f&&(t.bars.horizontal?a<=Math.max(u,f)&&a>=Math.min(u,f)&&m+n<=r&&r<=m+o:f+n<=a&&a<=f+o&&r>=Math.min(u,m)&&r<=Math.max(u,m))&&(d=p/c)}return d}function I(){var t=R.interaction.redrawOverlayInterval;-1!==t?J||(J=setTimeout(function(){N(Z)},t)):N()}function N(t){if(J=null,B){F.clear(),c(U.drawOverlay,[B,F]);var e=new CustomEvent("onDrawingDone");t.getEventHolder().dispatchEvent(e),t.getPlaceholder().trigger("drawingdone")}}function O(e,i,n,o){if("string"==typeof e)return e;for(var s=H.createLinearGradient(0,n,0,i),a=0,r=e.colors.length;a<r;++a){var l=e.colors[a];if("string"!=typeof l){var c=t.color.parse(o);null!=l.brightness&&(c=c.scale("rgb",l.brightness)),null!=l.opacity&&(c.a*=l.opacity),l=c.toString()}s.addColorStop(a/(r-1),l)}return s}var D=[],R={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],xaxis:{show:null,position:"bottom",mode:null,font:null,color:null,tickColor:null,transform:null,inverseTransform:null,min:null,max:null,autoScaleMargin:null,autoScale:"exact",windowSize:null,growOnly:null,ticks:null,tickFormatter:null,showTickLabels:"major",labelWidth:null,labelHeight:null,reserveSpace:null,tickLength:null,showMinorTicks:null,showTicks:null,gridLines:null,alignTicksWithAxis:null,tickDecimals:null,tickSize:null,minTickSize:null,offset:{below:0,above:0},boxPosition:{centerX:0,centerY:0}},yaxis:{autoScaleMargin:.02,autoScale:"loose",growOnly:null,position:"left",showTickLabels:"major",offset:{below:0,above:0},boxPosition:{centerX:0,centerY:0}},xaxes:[],yaxes:[],series:{points:{show:!1,radius:3,lineWidth:2,fill:!0,fillColor:"#ffffff",symbol:"circle"},lines:{lineWidth:1,fill:!1,fillColor:null,steps:!1},bars:{show:!1,lineWidth:2,horizontal:!1,barWidth:.8,fill:!0,fillColor:null,align:"left",zero:!0},shadowSize:3,highlightColor:null},grid:{show:!0,aboveData:!1,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,margin:0,labelMargin:5,axisMargin:8,borderWidth:1,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:!1,hoverable:!1,autoHighlight:!0,mouseActiveRadius:15},interaction:{redrawOverlayInterval:1e3/60},hooks:{}},W=null,F=null,$=null,H=null,B=null,V=[],Y=[],q={left:0,right:0,top:0,bottom:0},X=0,G=0,U={processOptions:[],processRawData:[],processDatapoints:[],processOffset:[],setupGrid:[],adjustSeriesDataRange:[],setRange:[],drawBackground:[],drawSeries:[],drawAxis:[],draw:[],axisReserveSpace:[],bindEvents:[],drawOverlay:[],resize:[],shutdown:[]},Z=this,K={},J=null;Z.setData=h,Z.setupGrid=x,Z.draw=k,Z.getPlaceholder=function(){return n},Z.getCanvas=function(){return W.element},Z.getSurface=function(){return W},Z.getEventHolder=function(){return $[0]},Z.getPlotOffset=function(){return q},Z.width=function(){return X},Z.height=function(){return G},Z.offset=function(){var t=$.offset();return t.left+=q.left,t.top+=q.top,t},Z.getData=function(){return D},Z.getAxes=function(){var e={};return t.each(V.concat(Y),function(t,i){i&&(e[i.direction+(1!==i.n?i.n:"")+"axis"]=i)}),e},Z.getXAxes=function(){return V},Z.getYAxes=function(){return Y},Z.c2p=function(t){var e,i,n={};for(e=0;e<V.length;++e)(i=V[e])&&i.used&&(n["x"+i.n]=i.c2p(t.left));for(e=0;e<Y.length;++e)(i=Y[e])&&i.used&&(n["y"+i.n]=i.c2p(t.top));return void 0!==n.x1&&(n.x=n.x1),void 0!==n.y1&&(n.y=n.y1),n},Z.p2c=function(t){var e,i,n,o={};for(e=0;e<V.length;++e)if((i=V[e])&&i.used&&(n="x"+i.n,null==t[n]&&1===i.n&&(n="x"),null!=t[n])){o.left=i.p2c(t[n]);break}for(e=0;e<Y.length;++e)if((i=Y[e])&&i.used&&(n="y"+i.n,null==t[n]&&1===i.n&&(n="y"),null!=t[n])){o.top=i.p2c(t[n]);break}return o},Z.getOptions=function(){return R},Z.triggerRedrawOverlay=I,Z.pointOffset=function(t){return{left:parseInt(V[u(t,"x")-1].p2c(+t.x)+q.left,10),top:parseInt(Y[u(t,"y")-1].p2c(+t.y)+q.top,10)}},Z.shutdown=f,Z.destroy=function(){f(),n.removeData("plot").empty(),D=[],V=[],Y=[],Z=U=B=H=$=F=W=R=null},Z.resize=function(){var t=n.width(),e=n.height();W.resize(t,e),F.resize(t,e),c(U.resize,[t,e])},Z.clearTextCache=function(){W.clearCache(),F.clearCache()},Z.autoScaleAxis=_,Z.computeRangeForDataSeries=function(t,e,i){for(var n=t.datapoints.points,o=t.datapoints.pointsize,s=t.datapoints.format,a=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY,l={xmin:a,ymin:a,xmax:r,ymax:r},c=0;c<n.length;c+=o)if(null!==n[c]&&("function"!=typeof i||i(n[c])))for(var h=0;h<o;++h){var u=n[c+h],d=s[h];null!=d&&("function"!=typeof i||i(u))&&(e||d.computeRange)&&u!==1/0&&u!==-1/0&&(!0===d.x&&(u<l.xmin&&(l.xmin=u),u>l.xmax&&(l.xmax=u)),!0===d.y&&(u<l.ymin&&(l.ymin=u),u>l.ymax&&(l.ymax=u)))}return l},Z.adjustSeriesDataRange=function(t,e){if(t.bars.show){var i,n=t.bars.barWidth[1];t.datapoints&&t.datapoints.points&&!n&&function(t){var e=[],i=t.datapoints.pointsize,n=Number.MAX_VALUE;t.datapoints.points.length<=i&&(n=1);for(var o=t.bars.horizontal?1:0;o<t.datapoints.points.length;o+=i)isFinite(t.datapoints.points[o])&&null!==t.datapoints.points[o]&&e.push(t.datapoints.points[o]);(e=e.filter(function(t,e,i){return i.indexOf(t)===e})).sort(function(t,e){return t-e});for(var o=1;o<e.length;o++){var s=Math.abs(e[o]-e[o-1]);s<n&&isFinite(s)&&(n=s)}"number"==typeof t.bars.barWidth?t.bars.barWidth=t.bars.barWidth*n:t.bars.barWidth[0]=t.bars.barWidth[0]*n}(t);var o=t.bars.barWidth[0]||t.bars.barWidth;switch(t.bars.align){case"left":i=0;break;case"right":i=-o;break;default:i=-o/2}t.bars.horizontal?(e.ymin+=i,e.ymax+=i+o):(e.xmin+=i,e.xmax+=i+o)}if(t.bars.show&&t.bars.zero||t.lines.show&&t.lines.zero){t.datapoints.pointsize<=2&&(e.ymin=Math.min(0,e.ymin),e.ymax=Math.max(0,e.ymax))}return e},Z.findNearbyItem=function(t,e,i,n,o){for(var s,a=null,r=n*n+1,l=D.length-1;0<=l;--l)if(i(l)){var c=D[l];if(!c.datapoints)return;if(c.lines.show||c.points.show){var h=E(c,t,e,n,r,o);h&&(r=h.distance,a=[l,h.dataIndex])}if(c.bars.show&&!a){var u=A(c,t,e);0<=u&&(a=[l,u])}}if(a){l=a[0],s=a[1];var d=D[l].datapoints.pointsize;return{datapoint:D[l].datapoints.points.slice(s*d,(s+1)*d),dataIndex:s,series:D[l],seriesIndex:l}}return null},Z.findNearbyInterpolationPoint=function(t,e,i){var n,o,s,a,r,l,c,h=Number.MAX_VALUE;for(n=0;n<D.length;++n)if(i(n)){var u=D[n].datapoints.points;l=D[n].datapoints.pointsize;var d=u[u.length-l]<u[0]?function(t,e){return e<t}:function(t,e){return t<e};if(!d(t,u[0])){for(o=l;o<u.length&&!d(t,u[o]);o+=l);var p=u[o-l],f=u[o-l+1],m=u[o],g=u[o+1];void 0!==p&&void 0!==m&&void 0!==f&&void 0!==g&&(e=p===m?g:f+(g-f)*(t-p)/(m-p),a=Math.abs(D[n].xaxis.p2c(m)-t),r=Math.abs(D[n].yaxis.p2c(g)-e),(s=a*a+r*r)<h&&(h=s,c=[t,e,n,o]))}}return c?(n=c[2],o=c[3],l=D[n].datapoints.pointsize,u=D[n].datapoints.points,p=u[o-l],f=u[o-l+1],m=u[o],g=u[o+1],{datapoint:[c[0],c[1]],leftPoint:[p,f],rightPoint:[m,g],seriesIndex:n}):null},Z.computeValuePrecision=y,Z.computeTickSize=w,Z.addEventHandler=function(t,e,i,n){var o=i+t,s=K[o]||[];s.push({event:t,handler:e,eventHolder:i,priority:n}),s.sort(function(t,e){return e.priority-t.priority}),s.forEach(function(t){t.eventHolder.unbind(t.event,t.handler),t.eventHolder.bind(t.event,t.handler)}),K[o]=s},Z.hooks=U;var tt=t.plot.uiConstants.MINOR_TICKS_COUNT_CONSTANT,et=t.plot.uiConstants.TICK_LENGTH_CONSTANT;!function(){for(var e={Canvas:r},i=0;i<l.length;++i){var n=l[i];n.init(Z,e),n.options&&t.extend(!0,R,n.options)}}(),function(){n.css("padding",0).children().filter(function(){return!t(this).hasClass("flot-overlay")&&!t(this).hasClass("flot-base")}).remove(),"static"===n.css("position")&&n.css("position","relative"),W=new r("flot-base",n[0]),F=new r("flot-overlay",n[0]),H=W.context,B=F.context,$=t(F.element).unbind();var e=n.data("plot");e&&(e.shutdown(),F.clear()),n.data("plot",Z)}(),function(e){t.extend(!0,R,e),e&&e.colors&&(R.colors=e.colors),null==R.xaxis.color&&(R.xaxis.color=t.color.parse(R.grid.color).scale("a",.22).toString()),null==R.yaxis.color&&(R.yaxis.color=t.color.parse(R.grid.color).scale("a",.22).toString()),null==R.xaxis.tickColor&&(R.xaxis.tickColor=R.grid.tickColor||R.xaxis.color),null==R.yaxis.tickColor&&(R.yaxis.tickColor=R.grid.tickColor||R.yaxis.color),null==R.grid.borderColor&&(R.grid.borderColor=R.grid.color),null==R.grid.tickColor&&(R.grid.tickColor=t.color.parse(R.grid.color).scale("a",.22).toString());var i,o,s,a=n.css("font-size"),r=a?+a.replace("px",""):13,l={style:n.css("font-style"),size:Math.round(.8*r),variant:n.css("font-variant"),weight:n.css("font-weight"),family:n.css("font-family")};for(s=R.xaxes.length||1,i=0;i<s;++i)(o=R.xaxes[i])&&!o.tickColor&&(o.tickColor=o.color),o=t.extend(!0,{},R.xaxis,o),(R.xaxes[i]=o).font&&(o.font=t.extend({},l,o.font),o.font.color||(o.font.color=o.color),o.font.lineHeight||(o.font.lineHeight=Math.round(1.15*o.font.size)));for(s=R.yaxes.length||1,i=0;i<s;++i)(o=R.yaxes[i])&&!o.tickColor&&(o.tickColor=o.color),o=t.extend(!0,{},R.yaxis,o),(R.yaxes[i]=o).font&&(o.font=t.extend({},l,o.font),o.font.color||(o.font.color=o.color),o.font.lineHeight||(o.font.lineHeight=Math.round(1.15*o.font.size)));for(i=0;i<R.xaxes.length;++i)p(V,i+1).options=R.xaxes[i];for(i=0;i<R.yaxes.length;++i)p(Y,i+1).options=R.yaxes[i];for(var h in t.each(d(),function(t,e){e.boxPosition=e.options.boxPosition||{centerX:0,centerY:0}}),U)R.hooks[h]&&R.hooks[h].length&&(U[h]=U[h].concat(R.hooks[h]));c(U.processOptions,[R])}(a),h(s),x(!0),k(),c(U.bindEvents,[$])}var r=window.Flot.Canvas;t.plot=function(e,i,n){return new a(t(e),i,n,t.plot.plugins)},t.plot.version="3.0.0",t.plot.plugins=[],t.fn.plot=function(e,i){return this.each(function(){t.plot(this,e,i)})},t.plot.linearTickGenerator=e,t.plot.defaultTickFormatter=i,t.plot.expRepTickFormatter=n}(jQuery),function(t){var e={saturate:function(t){return t===1/0?Number.MAX_VALUE:t===-1/0?-Number.MAX_VALUE:t},delta:function(t,e,i){return(e-t)/i==1/0?e/i-t/i:(e-t)/i},multiply:function(t,i){return e.saturate(t*i)},multiplyAdd:function(t,i,n){if(isFinite(t*i))return e.saturate(t*i+n);for(var o=n,s=0;s<i;s++)o+=t;return e.saturate(o)},floorInBase:function(t,e){return e*Math.floor(t/e)}};t.plot.saturated=e}(jQuery),function(t){var e={getPageXY:function(t){var e=document.documentElement;return{X:t.clientX+(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0),Y:t.clientY+(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}},getPixelRatio:function(t){return(window.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)},isSafari:function(){return/constructor/i.test(window.top.HTMLElement)||"[object SafariRemoteNotification]"===(!window.top.safari||void 0!==window.top.safari&&window.top.safari.pushNotification).toString()},isMobileSafari:function(){return navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&navigator.userAgent.match(/AppleWebKit/)},isOpera:function(){return!!window.opr&&!!opr.addons||!!window.opera||0<=navigator.userAgent.indexOf(" OPR/")},isFirefox:function(){return"undefined"!=typeof InstallTrigger},isIE:function(){return!!document.documentMode},isEdge:function(){return!e.isIE()&&!!window.StyleMedia},isChrome:function(){return!!window.chrome&&!!window.chrome.webstore},isBlink:function(){return(e.isChrome()||e.isOpera())&&!!window.CSS}};t.plot.browser=e}(jQuery),function(t){t.plot.drawSeries=new function(){function e(t,e,i,n,o,s,a,r,l,c,h){var u,d,p,f,m=t+n,g=t+o,v=i,x=e,_=!1;u=d=p=!0,c?(_=d=p=!0,u=!1,x=e+n,v=e+o,(g=t)<(m=i)&&(f=g,g=m,m=f,d=!(u=!0))):(u=d=p=!0,_=!1,m=t+n,g=t+o,(x=e)<(v=i)&&(f=x,x=v,v=f,p=!(_=!0))),g<a.min||m>a.max||x<r.min||v>r.max||(m<a.min&&(m=a.min,u=!1),g>a.max&&(g=a.max,d=!1),v<r.min&&(v=r.min,_=!1),x>r.max&&(x=r.max,p=!1),m=a.p2c(m),v=r.p2c(v),g=a.p2c(g),x=r.p2c(x),s&&(l.fillStyle=s(v,x),l.fillRect(m,x,g-m,v-x)),0<h&&(u||d||p||_)&&(l.beginPath(),l.moveTo(m,v),u?l.lineTo(m,x):l.moveTo(m,x),p?l.lineTo(g,x):l.moveTo(g,x),d?l.lineTo(g,v):l.moveTo(g,v),_?l.lineTo(m,v):l.moveTo(m,v),l.stroke()))}function i(e,i,n,o,s){var a=e.fill;if(!a)return null;if(e.fillColor)return s(e.fillColor,n,o,i);var r=t.color.parse(i);return r.a="number"==typeof a?a:.4,r.normalize(),r.toString()}this.drawSeriesLines=function(t,e,n,o,s,a,r){e.save(),e.translate(n.left,n.top),e.lineJoin="round",t.lines.dashes&&e.setLineDash&&e.setLineDash(t.lines.dashes);var l={format:t.datapoints.format,points:t.datapoints.points,pointsize:t.datapoints.pointsize};t.decimate&&(l.points=t.decimate(t,t.xaxis.min,t.xaxis.max,o,t.yaxis.min,t.yaxis.max,s));var c=t.lines.lineWidth;e.lineWidth=c,e.strokeStyle=t.color;var h=i(t.lines,t.color,0,s,r);h&&(e.fillStyle=h,function(t,e,i,n,o,s){for(var a=t.points,r=t.pointsize,l=n>i.min?Math.min(i.max,n):i.min,c=0,h=1,u=!1,d=0,p=0,f=null,m=null;!(0<r&&c>a.length+r);){var g=a[(c+=r)-r],v=a[c-r+h],x=a[c],_=a[c+h];if(-2===r&&(v=_=l),u){if(0<r&&null!=g&&null==x){p=c,r=-r,h=2;continue}if(r<0&&c===d+r){o.fill(),u=!1,h=1,c=d=p+(r=-r);continue}}if(null!=g&&null!=x){if(s&&(null!==f&&null!==m?(x=g,_=v,g=f,v=m,m=f=null,c-=r):v!==_&&g!==x&&(f=x,m=_=v)),g<=x&&g<e.min){if(x<e.min)continue;v=(e.min-g)/(x-g)*(_-v)+v,g=e.min}else if(x<=g&&x<e.min){if(g<e.min)continue;_=(e.min-g)/(x-g)*(_-v)+v,x=e.min}if(x<=g&&g>e.max){if(x>e.max)continue;v=(e.max-g)/(x-g)*(_-v)+v,g=e.max}else if(g<=x&&x>e.max){if(g>e.max)continue;_=(e.max-g)/(x-g)*(_-v)+v,x=e.max}if(u||(o.beginPath(),o.moveTo(e.p2c(g),i.p2c(l)),u=!0),v>=i.max&&_>=i.max)o.lineTo(e.p2c(g),i.p2c(i.max)),o.lineTo(e.p2c(x),i.p2c(i.max));else if(v<=i.min&&_<=i.min)o.lineTo(e.p2c(g),i.p2c(i.min)),o.lineTo(e.p2c(x),i.p2c(i.min));else{var y=g,w=x;v<=_&&v<i.min&&_>=i.min?(g=(i.min-v)/(_-v)*(x-g)+g,v=i.min):_<=v&&_<i.min&&v>=i.min&&(x=(i.min-v)/(_-v)*(x-g)+g,_=i.min),_<=v&&v>i.max&&_<=i.max?(g=(i.max-v)/(_-v)*(x-g)+g,v=i.max):v<=_&&_>i.max&&v<=i.max&&(x=(i.max-v)/(_-v)*(x-g)+g,_=i.max),g!==y&&o.lineTo(e.p2c(y),i.p2c(v)),o.lineTo(e.p2c(g),i.p2c(v)),o.lineTo(e.p2c(x),i.p2c(_)),x!==w&&(o.lineTo(e.p2c(x),i.p2c(_)),o.lineTo(e.p2c(w),i.p2c(_)))}}else m=f=null}}(l,t.xaxis,t.yaxis,t.lines.fillTowards||0,e,t.lines.steps)),0<c&&function(t,e,i,n,o,s,a){var r=t.points,l=t.pointsize,c=null,h=null,u=0,d=0,p=0,f=0,m=null,g=null,v=0;for(s.beginPath(),v=l;v<r.length;v+=l)if(u=r[v-l],d=r[v-l+1],p=r[v],f=r[v+1],null!==u&&null!==p)if(isNaN(u)||isNaN(p)||isNaN(d)||isNaN(f))h=c=null;else{if(a&&(null!==m&&null!==g?(p=u,f=d,u=m,d=g,g=m=null,v-=l):d!==f&&u!==p&&(m=p,g=f=d)),d<=f&&d<o.min){if(f<o.min)continue;u=(o.min-d)/(f-d)*(p-u)+u,d=o.min}else if(f<=d&&f<o.min){if(d<o.min)continue;p=(o.min-d)/(f-d)*(p-u)+u,f=o.min}if(f<=d&&d>o.max){if(f>o.max)continue;u=(o.max-d)/(f-d)*(p-u)+u,d=o.max}else if(d<=f&&f>o.max){if(d>o.max)continue;p=(o.max-d)/(f-d)*(p-u)+u,f=o.max}if(u<=p&&u<n.min){if(p<n.min)continue;d=(n.min-u)/(p-u)*(f-d)+d,u=n.min}else if(p<=u&&p<n.min){if(u<n.min)continue;f=(n.min-u)/(p-u)*(f-d)+d,p=n.min}if(p<=u&&u>n.max){if(p>n.max)continue;d=(n.max-u)/(p-u)*(f-d)+d,u=n.max}else if(u<=p&&p>n.max){if(u>n.max)continue;f=(n.max-u)/(p-u)*(f-d)+d,p=n.max}u===c&&d===h||s.moveTo(n.p2c(u)+0,o.p2c(d)+0),c=p,h=f,s.lineTo(n.p2c(p)+0,o.p2c(f)+0)}else g=m=null;s.stroke()}(l,0,0,t.xaxis,t.yaxis,e,t.lines.steps),e.restore()},this.drawSeriesPoints=function(t,e,n,o,s,a,r){function l(t,e,i,n,o,s){t.moveTo(e+n,i),t.arc(e,i,n,0,o?Math.PI:2*Math.PI,!1)}l.fill=!0,e.save(),e.translate(n.left,n.top);var c={format:t.datapoints.format,points:t.datapoints.points,pointsize:t.datapoints.pointsize};t.decimatePoints&&(c.points=t.decimatePoints(t,t.xaxis.min,t.xaxis.max,o,t.yaxis.min,t.yaxis.max,s));var h,u=t.points.lineWidth,d=t.points.radius,p=t.points.symbol;"circle"===p?h=l:"string"==typeof p&&a&&a[p]?h=a[p]:"function"==typeof a&&(h=a),0===u&&(u=1e-4),e.lineWidth=u,e.fillStyle=i(t.points,t.color,null,null,r),e.strokeStyle=t.color,function(t,i,n,o,s,a,r,l){var c=t.points,h=t.pointsize;e.beginPath();for(var u=0;u<c.length;u+=h){var d=c[u],p=c[u+1];null==d||d<a.min||d>a.max||p<r.min||p>r.max||(d=a.p2c(d),p=r.p2c(p)+0,l(e,d,p,i,!1,!0))}l.fill&&!0&&e.fill(),e.stroke()}(c,d,0,0,0,t.xaxis,t.yaxis,h),e.restore()},this.drawSeriesBars=function(t,n,o,s,a,r,l){n.save(),n.translate(o.left,o.top);var c,h={format:t.datapoints.format,points:t.datapoints.points,pointsize:t.datapoints.pointsize};t.decimate&&(h.points=t.decimate(t,t.xaxis.min,t.xaxis.max,s)),n.lineWidth=t.bars.lineWidth,n.strokeStyle=t.color;var u=t.bars.barWidth[0]||t.bars.barWidth;switch(t.bars.align){case"left":c=0;break;case"right":c=-u;break;default:c=-u/2}!function(i,o,s,a,r,l){for(var c=i.points,h=i.pointsize,u=t.bars.fillTowards||0,d=u>l.min?Math.min(l.max,u):l.min,p=0;p<c.length;p+=h)if(null!=c[p]){var f=3===h?c[p+2]:d;e(c[p],c[p+1],f,o,s,a,r,l,n,t.bars.horizontal,t.bars.lineWidth)}}(h,c,c+u,t.bars.fill?function(e,n){return i(t.bars,t.color,e,n,l)}:null,t.xaxis,t.yaxis),n.restore()},this.drawBar=e}}(jQuery),function(t){function e(t,e,i,n){if(e.points.errorbars){var o=[{x:!0,number:!0,required:!0},{y:!0,number:!0,required:!0}],s=e.points.errorbars;"x"!==s&&"xy"!==s||(e.points.xerr.asymmetric&&o.push({x:!0,number:!0,required:!0}),o.push({x:!0,number:!0,required:!0})),"y"!==s&&"xy"!==s||(e.points.yerr.asymmetric&&o.push({y:!0,number:!0,required:!0}),o.push({y:!0,number:!0,required:!0})),n.format=o}}function i(t,e){var i=t.datapoints.points,n=null,o=null,s=null,a=null,r=t.points.xerr,l=t.points.yerr,c=t.points.errorbars;"x"===c||"xy"===c?r.asymmetric?(n=i[e+2],o=i[e+3],"xy"===c&&(l.asymmetric?(s=i[e+4],a=i[e+5]):s=i[e+4])):(n=i[e+2],"xy"===c&&(l.asymmetric?(s=i[e+3],a=i[e+4]):s=i[e+3])):"y"===c&&(l.asymmetric?(s=i[e+2],a=i[e+3]):s=i[e+2]),null==o&&(o=n),null==a&&(a=s);var h=[n,o,s,a];return r.show||(h[0]=null,h[1]=null),l.show||(h[2]=null,h[3]=null),h}function n(e,i,n,s,a,r,l,c,h,u,d){s+=u,a+=u,r+=u,"x"===i.err?(n+h<a?o(e,[[a,s],[Math.max(n+h,d[0]),s]]):l=!1,r<n-h?o(e,[[Math.min(n-h,d[1]),s],[r,s]]):c=!1):(a<s-h?o(e,[[n,a],[n,Math.min(s-h,d[0])]]):l=!1,s+h<r?o(e,[[n,Math.max(s+h,d[1])],[n,r]]):c=!1),h=null!=i.radius?i.radius:h,l&&("-"===i.upperCap?"x"===i.err?o(e,[[a,s-h],[a,s+h]]):o(e,[[n-h,a],[n+h,a]]):t.isFunction(i.upperCap)&&("x"===i.err?i.upperCap(e,a,s,h):i.upperCap(e,n,a,h))),c&&("-"===i.lowerCap?"x"===i.err?o(e,[[r,s-h],[r,s+h]]):o(e,[[n-h,r],[n+h,r]]):t.isFunction(i.lowerCap)&&("x"===i.err?i.lowerCap(e,r,s,h):i.lowerCap(e,n,r,h)))}function o(t,e){t.beginPath(),t.moveTo(e[0][0],e[0][1]);for(var i=1;i<e.length;i++)t.lineTo(e[i][0],e[i][1]);t.stroke()}function s(e,o){var s=e.getPlotOffset();o.save(),o.translate(s.left,s.top),t.each(e.getData(),function(t,e){e.points.errorbars&&(e.points.xerr.show||e.points.yerr.show)&&function(t,e,o){var s,a=o.datapoints.points,r=o.datapoints.pointsize,l=[o.xaxis,o.yaxis],c=o.points.radius,h=[o.points.xerr,o.points.yerr],u=!1;l[0].p2c(l[0].max)<l[0].p2c(l[0].min)&&(u=!0,s=h[0].lowerCap,h[0].lowerCap=h[0].upperCap,h[0].upperCap=s);var d=!1;l[1].p2c(l[1].min)<l[1].p2c(l[1].max)&&(d=!0,s=h[1].lowerCap,h[1].lowerCap=h[1].upperCap,h[1].upperCap=s);for(var p=0;p<o.datapoints.points.length;p+=r)for(var f=i(o,p),m=0;m<h.length;m++){var g=[l[m].min,l[m].max];if(f[m*h.length]){var v=a[p],x=a[p+1],_=[v,x][m]+f[m*h.length+1],y=[v,x][m]-f[m*h.length];if("x"===h[m].err&&(x>l[1].max||x<l[1].min||_<l[0].min||y>l[0].max))continue;if("y"===h[m].err&&(v>l[0].max||v<l[0].min||_<l[1].min||y>l[1].max))continue;var w=!0,b=!0;_>g[1]&&(w=!1,_=g[1]),y<g[0]&&(b=!1,y=g[0]),("x"===h[m].err&&u||"y"===h[m].err&&d)&&(s=y,y=_,_=s,s=b,b=w,w=s,s=g[0],g[0]=g[1],g[1]=s),v=l[0].p2c(v),x=l[1].p2c(x),_=l[m].p2c(_),y=l[m].p2c(y),g[0]=l[m].p2c(g[0]),g[1]=l[m].p2c(g[1]);var T=h[m].lineWidth?h[m].lineWidth:o.points.lineWidth,k=null!=o.points.shadowSize?o.points.shadowSize:o.shadowSize;if(0<T&&0<k){var C=k/2;e.lineWidth=C,e.strokeStyle="rgba(0,0,0,0.1)",n(e,h[m],v,x,_,y,w,b,c,C+C/2,g),e.strokeStyle="rgba(0,0,0,0.2)",n(e,h[m],v,x,_,y,w,b,c,C/2,g)}e.strokeStyle=h[m].color?h[m].color:o.color,e.lineWidth=T,n(e,h[m],v,x,_,y,w,b,c,0,g)}}}(0,o,e)}),o.restore()}t.plot.plugins.push({init:function(t){t.hooks.processRawData.push(e),t.hooks.draw.push(s)},options:{series:{points:{errorbars:null,xerr:{err:"x",show:null,asymmetric:null,upperCap:null,lowerCap:null,color:null,radius:null},yerr:{err:"y",show:null,asymmetric:null,upperCap:null,lowerCap:null,color:null,radius:null}}}},name:"errorbars",version:"1.0"})}(jQuery),jQuery.plot.uiConstants={SNAPPING_CONSTANT:20,PANHINT_LENGTH_CONSTANT:10,MINOR_TICKS_COUNT_CONSTANT:4,TICK_LENGTH_CONSTANT:10,ZOOM_DISTANCE_MARGIN:25},function(t){function e(t,e){for(var i,n,o=Math.floor(Math.log(t)*Math.LOG10E)-1,s=[],a=-o;a<=o;a++){n=parseFloat("1e"+a);for(var r=1;r<9;r+=e)i=n*r,s.push(i)}return s}function i(t,e){"log"===e.options.mode&&e.datamin<=0&&(null===e.datamin?e.datamin=.1:e.datamin=n(t,e))}function n(t,e){var i=t.getData().filter(function(t){return t.xaxis===e||t.yaxis===e}).map(function(e){return t.computeRangeForDataSeries(e,null,o)}),n="x"===e.direction?Math.min(.1,i&&i[0]?i[0].xmin:.1):Math.min(.1,i&&i[0]?i[0].ymin:.1);return e.min=n}function o(t){return 0<t}var s=e(Number.MAX_VALUE,10),a=e(Number.MAX_VALUE,4),r=function(e,i,n){var o=[],r=-1,c=-1,h=e.getCanvas(),u=s,d=l(i,e),p=i.max;n||(n=.3*Math.sqrt("x"===i.direction?h.width:h.height)),s.some(function(t,e){return d<=t&&(r=e,!0)}),s.some(function(t,e){return p<=t&&(c=e,!0)}),-1===c&&(c=s.length-1),c-r<=n/4&&u.length!==a.length&&(u=a,r*=2,c*=2);var f,m,g,v=null,x=1/n;if(n/4<=c-r){for(var _=c;r<=_;_--)f=u[_],m=(Math.log(f)-Math.log(d))/(Math.log(p)-Math.log(d)),g=f,null===v?v={pixelCoord:m,idealPixelCoord:m}:Math.abs(m-v.pixelCoord)>=x?v={pixelCoord:m,idealPixelCoord:v.idealPixelCoord-x}:g=null,g&&o.push(g);o.reverse()}else{var y=e.computeTickSize(d,p,n),w={min:d,max:p,tickSize:y};o=t.plot.linearTickGenerator(w)}return o},l=function(t,e){var i=t.min,o=t.max;return i<=0&&o<(i=null===t.datamin?t.min=.1:n(e,t))&&(t.max=null!==t.datamax?t.datamax:t.options.max,t.options.offset.below=0,t.options.offset.above=0),i},c=function(e,i,n){var o=0<e?Math.floor(Math.log(e)/Math.LN10):0;if(n)return-4<=o&&o<=7?t.plot.defaultTickFormatter(e,i,n):t.plot.expRepTickFormatter(e,i,n);if(-4<=o&&o<=7){var s=o<0?e.toFixed(-o):e.toFixed(o+2);if(-1!==s.indexOf(".")){for(var a=s.lastIndexOf("0");a===s.length-1;)a=(s=s.slice(0,-1)).lastIndexOf("0");s.indexOf(".")===s.length-1&&(s=s.slice(0,-1))}return s}return t.plot.expRepTickFormatter(e,i)},h=function(t){return t<s[0]&&(t=s[0]),Math.log(t)},u=function(t){return Math.exp(t)},d=function(t){return-t},p=function(t){return-h(t)},f=function(t){return u(-t)};t.plot.plugins.push({init:function(e){e.hooks.processOptions.push(function(e){t.each(e.getAxes(),function(t,n){var o=n.options;"log"===o.mode?(n.tickGenerator=function(t){return r(e,t,11)},"function"!=typeof n.options.tickFormatter&&(n.options.tickFormatter=c),n.options.transform=o.inverted?p:h,n.options.inverseTransform=o.inverted?f:u,n.options.autoScaleMargin=0,e.hooks.setRange.push(i)):o.inverted&&(n.options.transform=d,n.options.inverseTransform=d)})})},options:{xaxis:{}},name:"log",version:"0.1"}),t.plot.logTicksGenerator=r,t.plot.logTickFormatter=c}(jQuery),function(t){var e=function(t,e,i,n,o){var s=n*Math.sqrt(Math.PI)/2;t.rect(e-s,i-s,s+s,s+s)},i=function(t,e,i,n,o){var s=n*Math.sqrt(Math.PI)/2;t.rect(e-s,i-s,s+s,s+s)},n=function(t,e,i,n,o){var s=n*Math.sqrt(Math.PI/2);t.moveTo(e-s,i),t.lineTo(e,i-s),t.lineTo(e+s,i),t.lineTo(e,i+s),t.lineTo(e-s,i),t.lineTo(e,i-s)},o=function(t,e,i,n,o){var s=n*Math.sqrt(2*Math.PI/Math.sin(Math.PI/3)),a=s*Math.sin(Math.PI/3);t.moveTo(e-s/2,i+a/2),t.lineTo(e+s/2,i+a/2),o||(t.lineTo(e,i-a/2),t.lineTo(e-s/2,i+a/2),t.lineTo(e+s/2,i+a/2))},s=function(t,e,i,n,o,s){o||(t.moveTo(e+n,i),t.arc(e,i,n,0,2*Math.PI,!1))},a={square:e,rectangle:i,diamond:n,triangle:o,cross:function(t,e,i,n,o){var s=n*Math.sqrt(Math.PI)/2;t.moveTo(e-s,i-s),t.lineTo(e+s,i+s),t.moveTo(e-s,i+s),t.lineTo(e+s,i-s)},ellipse:s,plus:function(t,e,i,n,o){var s=n*Math.sqrt(Math.PI/2);t.moveTo(e-s,i),t.lineTo(e+s,i),t.moveTo(e,i+s),t.lineTo(e,i-s)}};s.fill=o.fill=n.fill=i.fill=e.fill=!0,t.plot.plugins.push({init:function(t){t.drawSymbol=a},name:"symbols",version:"1.0"})}(jQuery),function(t){function e(t,e,i,n){if(!0===e.flatdata){var o=e.start||0,s="number"==typeof e.step?e.step:1;n.pointsize=2;for(var a=0,r=0;a<i.length;a++,r+=2)n.points[r]=o+a*s,n.points[r+1]=i[a];void 0!==n.points?n.points.length=2*i.length:n.points=[]}}jQuery.plot.plugins.push({init:function(t){t.hooks.processRawData.push(e)},name:"flatdata",version:"0.0.2"})}(),function(t){function e(e,a){function r(t,i){var o=Math.abs(t.originalEvent.deltaY)<=1?1+Math.abs(t.originalEvent.deltaY)/50:null;if(C&&d(t),e.getOptions().zoom.active)return t.preventDefault(),function(t,i,o){var s=n.getPageXY(t),a=e.offset();a.left=s.X-a.left,a.top=s.Y-a.top;var r=e.getPlaceholder().offset();r.left=s.X-r.left,r.top=s.Y-r.top;var l=e.getXAxes().concat(e.getYAxes()).filter(function(t){var e=t.box;if(void 0!==e)return r.left>e.left&&r.left<e.left+e.width&&r.top>e.top&&r.top<e.top+e.height});0===l.length&&(l=void 0),i?e.zoomOut({center:a,axes:l,amount:o}):e.zoom({center:a,axes:l,amount:o})}(t,i<0,o),!1}function l(t){v=!0}function c(t){v=!1}function h(t){if(!v||0!==t.button)return!1;C=!0;var i=n.getPageXY(t),o=e.getPlaceholder().offset();o.left=i.X-o.left,o.top=i.Y-o.top,0===(g=e.getXAxes().concat(e.getYAxes()).filter(function(t){var e=t.box;if(void 0!==e)return o.left>e.left&&o.left<e.left+e.width&&o.top>e.top&&o.top<e.top+e.height})).length&&(g=void 0);var s=e.getPlaceholder().css("cursor");s&&(w=s),e.getPlaceholder().css("cursor",e.getOptions().pan.cursor),y?m=e.navigationState(i.X,i.Y):x&&(k.x=i.X,k.y=i.Y)}function u(t){if(C){var i=n.getPageXY(t),o=e.getOptions().pan.frameRate;-1!==o?!T&&o&&(T=setTimeout(function(){y?e.smartPan({x:m.startPageX-i.X,y:m.startPageY-i.Y},m,g,!1,_):x&&(e.pan({left:k.x-i.X,top:k.y-i.Y,axes:g}),k.x=i.X,k.y=i.Y),T=null},1/o*1e3)):y?e.smartPan({x:m.startPageX-i.X,y:m.startPageY-i.Y},m,g,!1,_):x&&(e.pan({left:k.x-i.X,top:k.y-i.Y,axes:g}),k.x=i.X,k.y=i.Y)}}function d(t){if(C){T&&(clearTimeout(T),T=null),C=!1;var i=n.getPageXY(t);e.getPlaceholder().css("cursor",w),y?(e.smartPan({x:m.startPageX-i.X,y:m.startPageY-i.Y},m,g,!1,_),e.smartPan.end()):x&&(e.pan({left:k.x-i.X,top:k.y-i.Y,axes:g}),k.x=0,k.y=0)}}function p(i){if(e.activate(),e.getOptions().recenter.interactive){var n,o=e.getTouchedAxis(i.clientX,i.clientY);e.recenter({axes:o[0]?o:null}),n=o[0]?new t.Event("re-center",{detail:{axisTouched:o[0]}}):new t.Event("re-center",{detail:i}),e.getPlaceholder().trigger(n)}}function f(t){return e.activate(),C&&d(t),!1}var m,g=null,v=!1,x="manual"===a.pan.mode,_="smartLock"===a.pan.mode,y=_||"smart"===a.pan.mode,w="default",b=null,T=null,k={x:0,y:0},C=!1;e.navigationState=function(t,e){var i=this.getAxes(),n={};return Object.keys(i).forEach(function(t){var e=i[t];n[t]={navigationOffset:{below:e.options.offset.below||0,above:e.options.offset.above||0},axisMin:e.min,axisMax:e.max,diagMode:!1}}),n.startPageX=t||0,n.startPageY=e||0,n},e.activate=function(){var t=e.getOptions();t.pan.active&&t.zoom.active||(t.pan.active=!0,t.zoom.active=!0,e.getPlaceholder().trigger("plotactivated",[e]))},e.zoomOut=function(t){t||(t={}),t.amount||(t.amount=e.getOptions().zoom.amount),t.amount=1/t.amount,e.zoom(t)},e.zoom=function(i){i||(i={});var n=i.center,o=i.amount||e.getOptions().zoom.amount,s=e.width(),a=e.height(),r=i.axes||e.getAxes();n||(n={left:s/2,top:a/2});var l=n.left/s,c=n.top/a,h={x:{min:n.left-l*s/o,max:n.left+(1-l)*s/o},y:{min:n.top-c*a/o,max:n.top+(1-c)*a/o}};for(var u in r)if(r.hasOwnProperty(u)){var d=r[u],p=d.options,f=h[d.direction].min,m=h[d.direction].max,g=d.options.offset;if((p.axisZoom||!i.axes)&&(i.axes||p.plotZoom)){if(f=t.plot.saturated.saturate(d.c2p(f)),(m=t.plot.saturated.saturate(d.c2p(m)))<f){var v=f;f=m,m=v}var x=t.plot.saturated.saturate(g.below-(d.min-f)),_=t.plot.saturated.saturate(g.above-(d.max-m));p.offset={below:x,above:_}}}e.setupGrid(!0),e.draw(),i.preventEvent||e.getPlaceholder().trigger("plotzoom",[e,i])},e.pan=function(n){var o={x:+n.left,y:+n.top};isNaN(o.x)&&(o.x=0),isNaN(o.y)&&(o.y=0),t.each(n.axes||e.getAxes(),function(t,e){var s=e.options,a=o[e.direction];if((s.axisPan||!n.axes)&&(s.plotPan||n.axes)&&0!==a){var r=i.saturate(e.c2p(e.p2c(e.min)+a)-e.c2p(e.p2c(e.min))),l=i.saturate(e.c2p(e.p2c(e.max)+a)-e.c2p(e.p2c(e.max)));isFinite(r)||(r=0),isFinite(l)||(l=0),s.offset={below:i.saturate(r+(s.offset.below||0)),above:i.saturate(l+(s.offset.above||0))}}}),e.setupGrid(!0),e.draw(),n.preventEvent||e.getPlaceholder().trigger("plotpan",[e,n])},e.recenter=function(i){t.each(i.axes||e.getAxes(),function(t,e){i.axes?"x"===this.direction?e.options.offset={below:0}:"y"===this.direction&&(e.options.offset={above:0}):e.options.offset={below:0,above:0}}),e.setupGrid(!0),e.draw()};var S=null,M={x:0,y:0};e.smartPan=function(t,n,s,a,r){var l,c,h,u,d,p,f,m,g,v,x,_,y,w=!!r||(c=t,Math.abs(c.y)<o&&Math.abs(c.x)>=o||Math.abs(c.x)<o&&Math.abs(c.y)>=o),T=e.getAxes();t=r?function(t){switch(!S&&Math.max(Math.abs(t.x),Math.abs(t.y))>=o&&(S=Math.abs(t.x)<Math.abs(t.y)?"y":"x"),S){case"x":return{x:t.x,y:0};case"y":return{x:0,y:t.y};default:return{x:0,y:0}}}(t):(h=t,Math.abs(h.x)<o&&Math.abs(h.y)>=o?{x:0,y:h.y}:Math.abs(h.y)<o&&Math.abs(h.x)>=o?{x:h.x,y:0}:h),u=t,0<Math.abs(u.x)&&0<Math.abs(u.y)&&(n.diagMode=!0),w&&!0===n.diagMode&&(n.diagMode=!1,d=T,p=n,f=t,Object.keys(d).forEach(function(t){m=d[t],0===f[m.direction]&&(m.options.offset.below=p[t].navigationOffset.below,m.options.offset.above=p[t].navigationOffset.above)})),b=w?{start:{x:n.startPageX-e.offset().left+e.getPlotOffset().left,y:n.startPageY-e.offset().top+e.getPlotOffset().top},end:{x:n.startPageX-t.x-e.offset().left+e.getPlotOffset().left,y:n.startPageY-t.y-e.offset().top+e.getPlotOffset().top}}:{start:{x:n.startPageX-e.offset().left+e.getPlotOffset().left,y:n.startPageY-e.offset().top+e.getPlotOffset().top},end:!1},isNaN(t.x)&&(t.x=0),isNaN(t.y)&&(t.y=0),s&&(T=s),Object.keys(T).forEach(function(e){if(g=T[e],v=g.min,x=g.max,l=g.options,y=t[g.direction],_=M[g.direction],(l.axisPan||!s)&&(s||l.plotPan)&&0!==y){var n=i.saturate(g.c2p(g.p2c(v)-(_-y))-g.c2p(g.p2c(v))),o=i.saturate(g.c2p(g.p2c(x)-(_-y))-g.c2p(g.p2c(x)));isFinite(n)||(n=0),isFinite(o)||(o=0),g.options.offset.below=i.saturate(n+(g.options.offset.below||0)),g.options.offset.above=i.saturate(o+(g.options.offset.above||0))}}),M=t,e.setupGrid(!0),e.draw(),a||e.getPlaceholder().trigger("plotpan",[e,t,s,n])},e.smartPan.end=function(){S=b=null,M={x:0,y:0},e.triggerRedrawOverlay()},e.getTouchedAxis=function(t,i){var n=e.getPlaceholder().offset();return n.left=t-n.left,n.top=i-n.top,e.getXAxes().concat(e.getYAxes()).filter(function(t){var e=t.box;if(void 0!==e)return n.left>e.left&&n.left<e.left+e.width&&n.top>e.top&&n.top<e.top+e.height})},e.hooks.drawOverlay.push(function(t,e){if(b){e.strokeStyle="rgba(96, 160, 208, 0.7)",e.lineWidth=2,e.lineJoin="round";var i,n,o=Math.round(b.start.x),a=Math.round(b.start.y);if(g?"x"===g[0].direction?(n=Math.round(b.start.y),i=Math.round(b.end.x)):"y"===g[0].direction&&(i=Math.round(b.start.x),n=Math.round(b.end.y)):(i=Math.round(b.end.x),n=Math.round(b.end.y)),e.beginPath(),!1===b.end)e.moveTo(o,a-s),e.lineTo(o,a+s),e.moveTo(o+s,a),e.lineTo(o-s,a);else{var r=a===n;e.moveTo(o-(r?0:s),a-(r?s:0)),e.lineTo(o+(r?0:s),a+(r?s:0)),e.moveTo(o,a),e.lineTo(i,n),e.moveTo(i-(r?0:s),n-(r?s:0)),e.lineTo(i+(r?0:s),n+(r?s:0))}e.stroke()}}),e.hooks.bindEvents.push(function(t,e){var i=t.getOptions();i.zoom.interactive&&e.mousewheel(r),i.pan.interactive&&(t.addEventHandler("dragstart",h,e,0),t.addEventHandler("drag",u,e,0),t.addEventHandler("dragend",d,e,0),e.bind("mousedown",l),e.bind("mouseup",c)),e.dblclick(p),e.click(f)}),e.hooks.shutdown.push(function(t,e){e.unbind("mousewheel",r),e.unbind("mousedown",l),e.unbind("mouseup",c),e.unbind("dragstart",h),e.unbind("drag",u),e.unbind("dragend",d),e.unbind("dblclick",p),e.unbind("click",f),T&&clearTimeout(T)})}var i=t.plot.saturated,n=t.plot.browser,o=t.plot.uiConstants.SNAPPING_CONSTANT,s=t.plot.uiConstants.PANHINT_LENGTH_CONSTANT;t.plot.plugins.push({init:function(t){t.hooks.processOptions.push(e)},options:{zoom:{interactive:!1,active:!1,amount:1.5},pan:{interactive:!1,active:!1,cursor:"move",frameRate:60,mode:"smart"},recenter:{interactive:!0},xaxis:{axisZoom:!0,plotZoom:!0,axisPan:!0,plotPan:!0},yaxis:{axisZoom:!0,plotZoom:!0,axisPan:!0,plotPan:!0}},name:"navigate",version:"1.3"})}(jQuery),jQuery.plot.plugins.push({init:function(t){t.hooks.processRawData.push(function(t,e,n,o){null!=e.fillBetween&&(format=o.format,format||(format=[],format.push({x:!0,number:!0,computeRange:"none"!==e.xaxis.options.autoScale,required:!0}),format.push({y:!0,number:!0,computeRange:"none"!==e.yaxis.options.autoScale,required:!0}),void 0!==e.fillBetween&&""!==e.fillBetween&&function(e){var n=t.getData();for(i=0;i<n.length;i++)if(n[i].id===e)return!0;return!1}(e.fillBetween)&&e.fillBetween!==e.id&&format.push({x:!1,y:!0,number:!0,required:!1,computeRange:"none"!==e.yaxis.options.autoScale,defaultValue:0}),o.format=format))}),t.hooks.processDatapoints.push(function(t,e,i){if(null!=e.fillBetween){var n=function(t,e){var i;for(i=0;i<e.length;++i)if(e[i].id===t.fillBetween)return e[i];return"number"==typeof t.fillBetween?t.fillBetween<0||t.fillBetween>=e.length?null:e[t.fillBetween]:null}(e,t.getData());if(n){for(var o,s,a,r,l,c,h,u,d=i.pointsize,p=i.points,f=n.datapoints.pointsize,m=n.datapoints.points,g=[],v=e.lines.show,x=2<d&&i.format[2].y,_=v&&e.lines.steps,y=!0,w=0,b=0;!(w>=p.length);){if(h=g.length,null==p[w]){for(u=0;u<d;++u)g.push(p[w+u]);w+=d}else if(b>=m.length){if(!v)for(u=0;u<d;++u)g.push(p[w+u]);w+=d}else if(null==m[b]){for(u=0;u<d;++u)g.push(null);y=!0,b+=f}else{if(o=p[w],s=p[w+1],r=m[b],l=m[b+1],c=0,o===r){for(u=0;u<d;++u)g.push(p[w+u]);c=l,w+=d,b+=f}else if(r<o){if(v&&0<w&&null!=p[w-d]){for(a=s+(p[w-d+1]-s)*(r-o)/(p[w-d]-o),g.push(r),g.push(a),u=2;u<d;++u)g.push(p[w+u]);c=l}b+=f}else{if(y&&v){w+=d;continue}for(u=0;u<d;++u)g.push(p[w+u]);v&&0<b&&null!=m[b-f]&&(c=l+(m[b-f+1]-l)*(o-r)/(m[b-f]-r)),w+=d}y=!1,h!==g.length&&x&&(g[h+2]=c)}if(_&&h!==g.length&&0<h&&null!==g[h]&&g[h]!==g[h-d]&&g[h+1]!==g[h-d+1]){for(u=0;u<d;++u)g[h+d+u]=g[h+u];g[h+1]=g[h-d+1]}}i.points=g}}})},options:{series:{fillBetween:null}},name:"fillbetween",version:"1.0"}),function(t){function e(t,e,i,n){var o="categories"===e.xaxis.options.mode,s="categories"===e.yaxis.options.mode;if(o||s){var a=n.format;if(!a){var r=e;if((a=[]).push({x:!0,number:!0,required:!0,computeRange:!0}),a.push({y:!0,number:!0,required:!0,computeRange:!0}),r.bars.show||r.lines.show&&r.lines.fill){var l=!!(r.bars.show&&r.bars.zero||r.lines.show&&r.lines.zero);a.push({y:!0,number:!0,required:!1,defaultValue:0,computeRange:l}),r.bars.horizontal&&(delete a[a.length-1].y,a[a.length-1].x=!0)}n.format=a}for(var c=0;c<a.length;++c)a[c].x&&o&&(a[c].number=!1),a[c].y&&s&&(a[c].number=!1,a[c].computeRange=!1)}}function i(t){var e=[];for(var i in t.categories){var n=t.categories[i];n>=t.min&&n<=t.max&&e.push([n,i])}return e.sort(function(t,e){return t[0]-e[0]}),e}function n(e,n,o){if("categories"===e[n].options.mode){if(!e[n].categories){var s={},a=e[n].options.categories||{};if(t.isArray(a))for(var r=0;r<a.length;++r)s[a[r]]=r;else for(var l in a)s[l]=a[l];e[n].categories=s}e[n].options.ticks||(e[n].options.ticks=i),function(t,e,i){for(var n=t.points,o=t.pointsize,s=t.format,a=e.charAt(0),r=function(t){var e=-1;for(var i in t)t[i]>e&&(e=t[i]);return e+1}(i),l=0;l<n.length;l+=o)if(null!=n[l])for(var c=0;c<o;++c){var h=n[l+c];null!=h&&s[c][a]&&(h in i||(i[h]=r,++r),n[l+c]=i[h])}}(o,n,e[n].categories)}}function o(t,e,i){n(e,"xaxis",i),n(e,"yaxis",i)}t.plot.plugins.push({init:function(t){t.hooks.processRawData.push(e),t.hooks.processDatapoints.push(o)},options:{xaxis:{categories:null},yaxis:{categories:null}},name:"categories",version:"1.0"})}(jQuery),jQuery.plot.plugins.push({init:function(t){t.hooks.processDatapoints.push(function(t,e,i){if(null!=e.stack&&!1!==e.stack){var n=e.bars.show||e.lines.show&&e.lines.fill,o=2<i.pointsize&&(y?i.format[2].x:i.format[2].y);n&&!o&&function(t,e){for(var i=[],n=0;n<e.points.length;n+=2)i.push(e.points[n]),i.push(e.points[n+1]),i.push(0);e.format.push({x:!1,y:!0,number:!0,required:!1,computeRange:"none"!==t.yaxis.options.autoScale,defaultValue:0}),e.points=i,e.pointsize=3}(e,i);var s=function(t,e){for(var i=null,n=0;n<e.length&&t!==e[n];++n)e[n].stack===t.stack&&(i=e[n]);return i}(e,t.getData());if(s){for(var a,r,l,c,h,u,d,p,f=i.pointsize,m=i.points,g=s.datapoints.pointsize,v=s.datapoints.points,x=[],_=e.lines.show,y=e.bars.horizontal,w=_&&e.lines.steps,b=!0,T=y?1:0,k=y?0:1,C=0,S=0;!(C>=m.length);){if(d=x.length,null==m[C]){for(p=0;p<f;++p)x.push(m[C+p]);C+=f}else if(S>=v.length){if(!_)for(p=0;p<f;++p)x.push(m[C+p]);C+=f}else if(null==v[S]){for(p=0;p<f;++p)x.push(null);b=!0,S+=g}else{if(a=m[C+T],r=m[C+k],c=v[S+T],h=v[S+k],u=0,a===c){for(p=0;p<f;++p)x.push(m[C+p]);x[d+k]+=h,u=h,C+=f,S+=g}else if(c<a){if(_&&0<C&&null!=m[C-f]){for(l=r+(m[C-f+k]-r)*(c-a)/(m[C-f+T]-a),x.push(c),x.push(l+h),p=2;p<f;++p)x.push(m[C+p]);u=h}S+=g}else{if(b&&_){C+=f;continue}for(p=0;p<f;++p)x.push(m[C+p]);_&&0<S&&null!=v[S-g]&&(u=h+(v[S-g+k]-h)*(a-c)/(v[S-g+T]-c)),x[d+k]+=u,C+=f}b=!1,d!==x.length&&n&&(x[d+2]+=u)}if(w&&d!==x.length&&0<d&&null!==x[d]&&x[d]!==x[d-f]&&x[d+1]!==x[d-f+1]){for(p=0;p<f;++p)x[d+f+p]=x[d+p];x[d+1]=x[d-f+1]}}i.points=x}}})},options:{series:{stack:null}},name:"stack",version:"1.2"}),function(t){function e(e,c){function h(t,n,o){g.touchedAxis=function(t,e,i,n){if("pinchstart"!==e.type)return"panstart"===e.type?t.getTouchedAxis(e.detail.touches[0].pageX,e.detail.touches[0].pageY):"pinchend"===e.type?t.getTouchedAxis(e.detail.touches[0].pageX,e.detail.touches[0].pageY):n.touchedAxis;var o=t.getTouchedAxis(e.detail.touches[0].pageX,e.detail.touches[0].pageY),s=t.getTouchedAxis(e.detail.touches[1].pageX,e.detail.touches[1].pageY);return o.length===s.length&&o.toString()===s.toString()?o:void 0}(e,t,0,g),i(g)?g.navigationConstraint="unconstrained":g.navigationConstraint="axisConstrained"}var u,d,p,f,m={zoomEnable:!1,prevDistance:null,prevTapTime:0,prevPanPosition:{x:0,y:0},prevTapPosition:{x:0,y:0}},g={prevTouchedAxis:"none",currentTouchedAxis:"none",touchedAxis:null,navigationConstraint:"unconstrained",initialState:null},v=c.pan.interactive&&"manual"===c.pan.touchMode,x="smartLock"===c.pan.touchMode,_=c.pan.interactive&&(x||"smart"===c.pan.touchMode);u={start:function(t){if(h(t,"pan",m),n(t,"pan",m,g),_){var i=r(t,"pan");g.initialState=e.navigationState(i.x,i.y)}},drag:function(t){if(h(t,"pan",m),_){var i=r(t,"pan");e.smartPan({x:g.initialState.startPageX-i.x,y:g.initialState.startPageY-i.y},g.initialState,g.touchedAxis,!1,x)}else v&&(e.pan({left:-a(t,"pan",m).x,top:-a(t,"pan",m).y,axes:g.touchedAxis}),s(t,"pan",m,g))},end:function(t){var i;h(t,"pan",m),_&&e.smartPan.end(),i=t,m.zoomEnable&&1===i.detail.touches.length&&updateprevPanPosition(t,"pan",m,g)}},d={start:function(t){var e;f&&(clearTimeout(f),f=null),h(t,"pinch",m),e=t,m.prevDistance=o(e),n(t,"pinch",m,g)},drag:function(t){f||(f=setTimeout(function(){h(t,"pinch",m),e.pan({left:-a(t,"pinch",m).x,top:-a(t,"pinch",m).y,axes:g.touchedAxis}),s(t,"pinch",m,g);var i,n,c,u,d,p,v,x,_=o(t);(m.zoomEnable||Math.abs(_-m.prevDistance)>l)&&(n=t,c=m,u=g,d=(i=e).offset(),p={left:0,top:0},v=o(n)/c.prevDistance,x=o(n),p.left=r(n,"pinch").x-d.left,p.top=r(n,"pinch").y-d.top,i.zoom({center:p,amount:v,axes:u.touchedAxis}),c.prevDistance=x,m.zoomEnable=!0),f=null},1e3/60))},end:function(t){f&&(clearTimeout(f),f=null),h(t,"pinch",m),m.prevDistance=null}},p={recenterPlot:function(n){n&&n.detail&&"touchstart"===n.detail.type&&function(e,n,o,s){if(r=e,l=n,c=s,h=r.getTouchedAxis(l.detail.firstTouch.x,l.detail.firstTouch.y),void 0!==h[0]&&(c.prevTouchedAxis=h[0].direction),void 0!==(h=r.getTouchedAxis(l.detail.secondTouch.x,l.detail.secondTouch.y))[0]&&(c.touchedAxis=h,c.currentTouchedAxis=h[0].direction),i(c)&&(c.touchedAxis=null,c.prevTouchedAxis="none",c.currentTouchedAxis="none"),"x"===s.currentTouchedAxis&&"x"===s.prevTouchedAxis||"y"===s.currentTouchedAxis&&"y"===s.prevTouchedAxis||"none"===s.currentTouchedAxis&&"none"===s.prevTouchedAxis){var a;e.recenter({axes:s.touchedAxis}),a=s.touchedAxis?new t.Event("re-center",{detail:{axisTouched:s.touchedAxis}}):new t.Event("re-center",{detail:n}),e.getPlaceholder().trigger(a)}var r,l,c,h}(e,n,0,g)}},!0!==c.pan.enableTouch&&!0!==c.zoom.enableTouch||(e.hooks.bindEvents.push(function(t,e){var i=t.getOptions();i.zoom.interactive&&i.zoom.enableTouch&&(e[0].addEventListener("pinchstart",d.start,!1),e[0].addEventListener("pinchdrag",d.drag,!1),e[0].addEventListener("pinchend",d.end,!1)),i.pan.interactive&&i.pan.enableTouch&&(e[0].addEventListener("panstart",u.start,!1),e[0].addEventListener("pandrag",u.drag,!1),e[0].addEventListener("panend",u.end,!1)),i.recenter.interactive&&i.recenter.enableTouch&&e[0].addEventListener("doubletap",p.recenterPlot,!1)}),e.hooks.shutdown.push(function(t,e){e[0].removeEventListener("panstart",u.start),e[0].removeEventListener("pandrag",u.drag),e[0].removeEventListener("panend",u.end),e[0].removeEventListener("pinchstart",d.start),e[0].removeEventListener("pinchdrag",d.drag),e[0].removeEventListener("pinchend",d.end),e[0].removeEventListener("doubletap",p.recenterPlot)}))}function i(t){return!t.touchedAxis||0===t.touchedAxis.length}function n(t,e,i,n){var o,s=r(t,e);switch(n.navigationConstraint){case"unconstrained":n.touchedAxis=null,i.prevTapPosition={x:i.prevPanPosition.x,y:i.prevPanPosition.y},i.prevPanPosition={x:s.x,y:s.y};break;case"axisConstrained":o=n.touchedAxis[0].direction,n.currentTouchedAxis=o,i.prevTapPosition[o]=i.prevPanPosition[o],i.prevPanPosition[o]=s[o]}}function o(t){var e,i,n,o,s=t.detail.touches[0],a=t.detail.touches[1];return e=s.pageX,i=s.pageY,n=a.pageX,o=a.pageY,Math.sqrt((e-n)*(e-n)+(i-o)*(i-o))}function s(t,e,i,n){var o=r(t,e);switch(n.navigationConstraint){case"unconstrained":i.prevPanPosition.x=o.x,i.prevPanPosition.y=o.y;break;case"axisConstrained":i.prevPanPosition[n.currentTouchedAxis]=o[n.currentTouchedAxis]}}function a(t,e,i){var n=r(t,e);return{x:n.x-i.prevPanPosition.x,y:n.y-i.prevPanPosition.y}}function r(t,e){return"pinch"===e?{x:(t.detail.touches[0].pageX+t.detail.touches[1].pageX)/2,y:(t.detail.touches[0].pageY+t.detail.touches[1].pageY)/2}:{x:t.detail.touches[0].pageX,y:t.detail.touches[0].pageY}}var l=t.plot.uiConstants.ZOOM_DISTANCE_MARGIN;t.plot.plugins.push({init:function(t){t.hooks.processOptions.push(e)},options:{zoom:{enableTouch:!1},pan:{enableTouch:!1,touchMode:"manual"},recenter:{enableTouch:!0}},name:"navigateTouch",version:"0.3"})}(jQuery),function(t){var e=t.plot.browser,i="hover";t.plot.plugins.push({init:function(n){function o(t){var e=n.getOptions(),o=new CustomEvent("mouseevent");return o.pageX=t.detail.changedTouches[0].pageX,o.pageY=t.detail.changedTouches[0].pageY,o.clientX=t.detail.changedTouches[0].clientX,o.clientY=t.detail.changedTouches[0].clientY,e.grid.hoverable&&s(o,i,30),!1}function s(t,e,i){var o=n.getData();if(void 0!==t&&0<o.length&&void 0!==o[0].xaxis.c2p&&void 0!==o[0].yaxis.c2p){var s=e+"able";h("plot"+e,t,function(t){return!1!==o[t][s]},i)}}function a(t){_=t,s(n.getPlaceholder()[0].lastMouseMoveEvent=t,i)}function r(t){_=void 0,n.getPlaceholder()[0].lastMouseMoveEvent=void 0,h("plothover",t,function(t){return!1})}function l(t){s(t,"click")}function c(){n.unhighlight(),n.getPlaceholder().trigger("plothovercleanup")}function h(t,i,o,s){var a=n.getOptions(),r=n.offset(),l=e.getPageXY(i),c=l.X-r.left,h=l.Y-r.top,p=n.c2p({left:c,top:h}),f=void 0!==s?s:a.grid.mouseActiveRadius;p.pageX=l.X,p.pageY=l.Y;var m=n.findNearbyItem(c,h,o,f);if(m&&(m.pageX=parseInt(m.series.xaxis.p2c(m.datapoint[0])+r.left,10),m.pageY=parseInt(m.series.yaxis.p2c(m.datapoint[1])+r.top,10)),a.grid.autoHighlight){for(var g=0;g<y.length;++g){var v=y[g];(v.auto!==t||m&&v.series===m.series&&v.point[0]===m.datapoint[0]&&v.point[1]===m.datapoint[1])&&m||d(v.series,v.point)}m&&u(m.series,m.datapoint,t)}n.getPlaceholder().trigger(t,[p,m])}function u(t,e,i){if("number"==typeof t&&(t=n.getData()[t]),"number"==typeof e){var o=t.datapoints.pointsize;e=t.datapoints.points.slice(o*e,o*(e+1))}var s=p(t,e);-1===s?(y.push({series:t,point:e,auto:i}),n.triggerRedrawOverlay()):i||(y[s].auto=!1)}function d(t,e){if(null==t&&null==e)return y=[],void n.triggerRedrawOverlay();if("number"==typeof t&&(t=n.getData()[t]),"number"==typeof e){var i=t.datapoints.pointsize;e=t.datapoints.points.slice(i*e,i*(e+1))}var o=p(t,e);-1!==o&&(y.splice(o,1),n.triggerRedrawOverlay())}function p(t,e){for(var i=0;i<y.length;++i){var n=y[i];if(n.series===t&&n.point[0]===e[0]&&n.point[1]===e[1])return i}return-1}function f(){c(),s(_,i)}function m(){s(_,i)}function g(t,e,i){var n,o,s=t.getPlotOffset();for(e.save(),e.translate(s.left,s.top),n=0;n<y.length;++n)(o=y[n]).series.bars.show?x(o.series,o.point,e):v(o.series,o.point,e,t);e.restore()}function v(e,i,n,o){var s=i[0],a=i[1],r=e.xaxis,l=e.yaxis,c="string"==typeof e.highlightColor?e.highlightColor:t.color.parse(e.color).scale("a",.5).toString();if(!(s<r.min||s>r.max||a<l.min||a>l.max)){var h=e.points.radius+e.points.lineWidth/2;n.lineWidth=h,n.strokeStyle=c;var u=1.5*h;s=r.p2c(s),a=l.p2c(a),n.beginPath();var d=e.points.symbol;"circle"===d?n.arc(s,a,u,0,2*Math.PI,!1):"string"==typeof d&&o.drawSymbol&&o.drawSymbol[d]&&o.drawSymbol[d](n,s,a,u,!1),n.closePath(),n.stroke()}}function x(e,i,n){var o,s="string"==typeof e.highlightColor?e.highlightColor:t.color.parse(e.color).scale("a",.5).toString(),a=s,r=e.bars.barWidth[0]||e.bars.barWidth;switch(e.bars.align){case"left":o=0;break;case"right":o=-r;break;default:o=-r/2}n.lineWidth=e.bars.lineWidth,n.strokeStyle=s;var l=e.bars.fillTowards||0,c=l>e.yaxis.min?Math.min(e.yaxis.max,l):e.yaxis.min;t.plot.drawSeries.drawBar(i[0],i[1],i[2]||c,o,o+r,function(){return a},e.xaxis,e.yaxis,n,e.bars.horizontal,e.bars.lineWidth)}var _,y=[];n.hooks.bindEvents.push(function(t,e){var i=t.getOptions();(i.grid.hoverable||i.grid.clickable)&&(e[0].addEventListener("touchevent",c,!1),e[0].addEventListener("tap",o,!1)),i.grid.clickable&&e.bind("click",l),i.grid.hoverable&&(e.bind("mousemove",a),e.bind("mouseleave",r))}),n.hooks.shutdown.push(function(t,e){e[0].removeEventListener("tap",o),e[0].removeEventListener("touchevent",c),e.unbind("mousemove",a),e.unbind("mouseleave",r),e.unbind("click",l),y=[]}),n.hooks.processOptions.push(function(t,e){t.highlight=u,t.unhighlight=d,(e.grid.hoverable||e.grid.clickable)&&(t.hooks.drawOverlay.push(g),t.hooks.processDatapoints.push(f),t.hooks.setupGrid.push(m)),_=t.getPlaceholder()[0].lastMouseMoveEvent})},options:{grid:{hoverable:!1,clickable:!1}},name:"hover",version:"0.1"})}(jQuery),function(t){function e(t,e){function i(e){var i=t.getOptions();(i.pan.active||i.zoom.active)&&(3<=e.touches.length?h.isUnsupportedGesture=!0:h.isUnsupportedGesture=!1,c.dispatchEvent(new CustomEvent("touchevent",{detail:e})),l(e)?n(e,"pinch"):(n(e,"pan"),r(e)||(function(t){var e=(new Date).getTime(),i=e-h.prevTapTime;return 0<=i&&i<d&&a(h.prevTap.x,h.prevTap.y,h.currentTap.x,h.currentTap.y)<u?(t.firstTouch=h.prevTap,t.secondTouch=h.currentTap,!0):(h.prevTapTime=e,!1)}(e)&&n(e,"doubleTap"),n(e,"tap"),n(e,"longTap"))))}function n(t,e){switch(e){case"pan":p[t.type](t);break;case"pinch":f[t.type](t);break;case"doubleTap":m.onDoubleTap(t);break;case"longTap":g[t.type](t);break;case"tap":v[t.type](t)}}function o(t){h.currentTap={x:t.touches[0].pageX,y:t.touches[0].pageY}}function s(e){h.isUnsupportedGesture||(e.preventDefault(),t.getOptions().propagateSupportedGesture||e.stopPropagation())}function a(t,e,i,n){return Math.sqrt((t-i)*(t-i)+(e-n)*(e-n))}function r(t){return h.twoTouches&&1===t.touches.length}function l(e){return!!(e.touches&&2<=e.touches.length&&e.touches[0].target===t.getEventHolder()&&e.touches[1].target===t.getEventHolder())}var c,h={twoTouches:!1,currentTapStart:{x:0,y:0},currentTapEnd:{x:0,y:0},prevTap:{x:0,y:0},currentTap:{x:0,y:0},interceptedLongTap:!1,isUnsupportedGesture:!1,prevTapTime:null,tapStartTime:null,longTapTriggerId:null},u=20,d=500,p={touchstart:function(t){var e;h.prevTap={x:h.currentTap.x,y:h.currentTap.y},o(t),e=t,h.tapStartTime=(new Date).getTime(),h.interceptedLongTap=!1,h.currentTapStart={x:e.touches[0].pageX,y:e.touches[0].pageY},h.currentTapEnd={x:e.touches[0].pageX,y:e.touches[0].pageY},c.dispatchEvent(new CustomEvent("panstart",{detail:t}))},touchmove:function(t){var e;s(t),o(t),e=t,h.currentTapEnd={x:e.touches[0].pageX,y:e.touches[0].pageY},h.isUnsupportedGesture||c.dispatchEvent(new CustomEvent("pandrag",{detail:t}))},touchend:function(t){var e;s(t),r(t)?(c.dispatchEvent(new CustomEvent("pinchend",{detail:t})),c.dispatchEvent(new CustomEvent("panstart",{detail:t}))):(e=t).touches&&0===e.touches.length&&c.dispatchEvent(new CustomEvent("panend",{detail:t}))}},f={touchstart:function(t){c.dispatchEvent(new CustomEvent("pinchstart",{detail:t}))},touchmove:function(t){s(t),h.twoTouches=l(t),h.isUnsupportedGesture||c.dispatchEvent(new CustomEvent("pinchdrag",{detail:t}))},touchend:function(t){s(t)}},m={onDoubleTap:function(t){s(t),c.dispatchEvent(new CustomEvent("doubletap",{detail:t}))}},g={touchstart:function(t){g.waitForLongTap(t)},touchmove:function(t){},touchend:function(t){h.longTapTriggerId&&(clearTimeout(h.longTapTriggerId),h.longTapTriggerId=null)},isLongTap:function(t){return 1500<=(new Date).getTime()-h.tapStartTime&&!h.interceptedLongTap&&a(h.currentTapStart.x,h.currentTapStart.y,h.currentTapEnd.x,h.currentTapEnd.y)<20&&(h.interceptedLongTap=!0)},waitForLongTap:function(t){h.longTapTriggerId||(h.longTapTriggerId=setTimeout(function(){g.isLongTap(t)&&c.dispatchEvent(new CustomEvent("longtap",{detail:t})),h.longTapTriggerId=null},1500))}},v={touchstart:function(t){h.tapStartTime=(new Date).getTime()},touchmove:function(t){},touchend:function(t){v.isTap(t)&&(c.dispatchEvent(new CustomEvent("tap",{detail:t})),s(t))},isTap:function(t){return(new Date).getTime()-h.tapStartTime<=125&&a(h.currentTapStart.x,h.currentTapStart.y,h.currentTapEnd.x,h.currentTapEnd.y)<20}};(!0===e.pan.enableTouch||e.zoom.enableTouch)&&(t.hooks.bindEvents.push(function(t,e){c=e[0],e[0].addEventListener("touchstart",i,!1),e[0].addEventListener("touchmove",i,!1),e[0].addEventListener("touchend",i,!1)}),t.hooks.shutdown.push(function(t,e){e[0].removeEventListener("touchstart",i),e[0].removeEventListener("touchmove",i),e[0].removeEventListener("touchend",i),h.longTapTriggerId&&(clearTimeout(h.longTapTriggerId),h.longTapTriggerId=null)}))}jQuery.plot.plugins.push({init:function(t){t.hooks.processOptions.push(e)},options:{propagateSupportedGesture:!1},name:"navigateTouch",version:"0.3"})}(),function(t){function e(t,e,i,n){if("function"==typeof t.strftime)return t.strftime(e);var o,s=function(t,e){return e=""+(null==e?"0":e),1==(t=""+t).length?e+t:t},a=[],r=!1,l=t.getHours(),c=l<12;i||(i=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n||(n=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),o=12<l?l-12:0==l?12:l;for(var h=-1,u=0;u<e.length;++u){var d=e.charAt(u);if(!isNaN(Number(d))&&0<Number(d))h=Number(d);else if(r){switch(d){case"a":d=""+n[t.getDay()];break;case"b":d=""+i[t.getMonth()];break;case"d":d=s(t.getDate());break;case"e":d=s(t.getDate()," ");break;case"h":case"H":d=s(l);break;case"I":d=s(o);break;case"l":d=s(o," ");break;case"m":d=s(t.getMonth()+1);break;case"M":d=s(t.getMinutes());break;case"q":d=""+(Math.floor(t.getMonth()/3)+1);break;case"S":d=s(t.getSeconds());break;case"s":d=""+function(t,e,i){var n,o=1e3*t+e;if(i<6&&0<i){var s=parseFloat("1e"+(i-6));n=("00000"+(o=Math.round(Math.round(o*s)/s))).slice(-6,-(6-i))}else n=("00000"+(o=Math.round(o))).slice(-6);return n}(t.getMilliseconds(),t.getMicroseconds(),h);break;case"y":d=s(t.getFullYear()%100);break;case"Y":d=""+t.getFullYear();break;case"p":d=c?"am":"pm";break;case"P":d=c?"AM":"PM";break;case"w":d=""+t.getDay()}a.push(d),r=!1}else"%"==d?r=!0:a.push(d)}return a.join("")}function i(t){function e(t,e,i,n){t[e]=function(){return i[n].apply(i,arguments)}}var i={date:t};void 0!==t.strftime&&e(i,"strftime",t,"strftime"),e(i,"getTime",t,"getTime"),e(i,"setTime",t,"setTime");for(var n=["Date","Day","FullYear","Hours","Minutes","Month","Seconds","Milliseconds","Microseconds"],o=0;o<n.length;o++)e(i,"get"+n[o],t,"getUTC"+n[o]),e(i,"set"+n[o],t,"setUTC"+n[o]);return i}function n(t,e){var n=864e13;if(e&&"seconds"===e.timeBase?t*=1e3:"microseconds"===e.timeBase&&(t/=1e3),n<t?t=n:t<-n&&(t=-n),"browser"===e.timezone)return a(Date,t);if(e.timezone&&"utc"!==e.timezone){if("undefined"==typeof timezoneJS||void 0===timezoneJS.Date)return i(a(Date,t));var o=a(timezoneJS.Date,t);return o.setTimezone(e.timezone),o.setTime(t),o}return i(a(Date,t))}function o(t){var e,i=t.options,o=[],a=n(t.min,i),h=0,p=i.tickSize&&"quarter"===i.tickSize[1]||i.minTickSize&&"quarter"===i.minTickSize[1]?d:u;e="seconds"===i.timeBase?r:"microseconds"===i.timeBase?c:l,null!==i.minTickSize&&void 0!==i.minTickSize&&(h="number"==typeof i.tickSize?i.tickSize:i.minTickSize[0]*e[i.minTickSize[1]]);for(var f=0;f<p.length-1&&!(t.delta<(p[f][0]*e[p[f][1]]+p[f+1][0]*e[p[f+1][1]])/2&&p[f][0]*e[p[f][1]]>=h);++f);var m=p[f][0],g=p[f][1];if("year"===g){if(null!==i.minTickSize&&void 0!==i.minTickSize&&"year"===i.minTickSize[1])m=Math.floor(i.minTickSize[0]);else{var v=parseFloat("1e"+Math.floor(Math.log(t.delta/e.year)/Math.LN10)),x=t.delta/e.year/v;m=x<1.5?1:x<3?2:x<7.5?5:10,m*=v}m<1&&(m=1)}t.tickSize=i.tickSize||[m,g];var _=t.tickSize[0],y=_*e[g=t.tickSize[1]];"microsecond"===g?a.setMicroseconds(s(a.getMicroseconds(),_)):"millisecond"===g?a.setMilliseconds(s(a.getMilliseconds(),_)):"second"===g?a.setSeconds(s(a.getSeconds(),_)):"minute"===g?a.setMinutes(s(a.getMinutes(),_)):"hour"===g?a.setHours(s(a.getHours(),_)):"month"===g?a.setMonth(s(a.getMonth(),_)):"quarter"===g?a.setMonth(3*s(a.getMonth()/3,_)):"year"===g&&a.setFullYear(s(a.getFullYear(),_)),y>=e.millisecond&&(y>=e.second?a.setMicroseconds(0):a.setMicroseconds(1e3*a.getMilliseconds())),y>=e.minute&&a.setSeconds(0),y>=e.hour&&a.setMinutes(0),y>=e.day&&a.setHours(0),y>=4*e.day&&a.setDate(1),y>=2*e.month&&a.setMonth(s(a.getMonth(),3)),y>=2*e.quarter&&a.setMonth(s(a.getMonth(),6)),y>=e.year&&a.setMonth(0);var w,b,T=0,k=Number.NaN;do{if(b=k,w=a.getTime(),k=i&&"seconds"===i.timeBase?w/1e3:i&&"microseconds"===i.timeBase?1e3*w:w,o.push(k),"month"===g||"quarter"===g)if(_<1){a.setDate(1);var C=a.getTime();a.setMonth(a.getMonth()+("quarter"===g?3:1));var S=a.getTime();a.setTime(k+T*e.hour+(S-C)*_),T=a.getHours(),a.setHours(0)}else a.setMonth(a.getMonth()+_*("quarter"===g?3:1));else"year"===g?a.setFullYear(a.getFullYear()+_):"seconds"===i.timeBase?a.setTime(1e3*(k+y)):"microseconds"===i.timeBase?a.setTime((k+y)/1e3):a.setTime(k+y)}while(k<t.max&&k!==b);return o}var s=t.plot.saturated.floorInBase,a=function(t,e){var i=new t(e),n=i.setTime.bind(i);i.update=function(t){n(t),t=Math.round(1e3*t)/1e3,this.microseconds=1e3*(t-Math.floor(t))};var o=i.getTime.bind(i);return i.getTime=function(){return o()+this.microseconds/1e3},i.setTime=function(t){this.update(t)},i.getMicroseconds=function(){return this.microseconds},i.setMicroseconds=function(t){var e=o()+t/1e3;this.update(e)},i.setUTCMicroseconds=function(t){this.setMicroseconds(t)},i.getUTCMicroseconds=function(){return this.getMicroseconds()},i.microseconds=null,i.microEpoch=null,i.update(e),i},r={microsecond:1e-6,millisecond:.001,second:1,minute:60,hour:3600,day:86400,month:2592e3,quarter:7776e3,year:525949.2*60},l={microsecond:.001,millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,month:2592e6,quarter:7776e6,year:525949.2*60*1e3},c={microsecond:1,millisecond:1e3,second:1e6,minute:6e7,hour:36e8,day:864e8,month:2592e9,quarter:7776e9,year:525949.2*60*1e6},h=[[1,"microsecond"],[2,"microsecond"],[5,"microsecond"],[10,"microsecond"],[25,"microsecond"],[50,"microsecond"],[100,"microsecond"],[250,"microsecond"],[500,"microsecond"],[1,"millisecond"],[2,"millisecond"],[5,"millisecond"],[10,"millisecond"],[25,"millisecond"],[50,"millisecond"],[100,"millisecond"],[250,"millisecond"],[500,"millisecond"],[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[.25,"month"],[.5,"month"],[1,"month"],[2,"month"]],u=h.concat([[3,"month"],[6,"month"],[1,"year"]]),d=h.concat([[1,"quarter"],[2,"quarter"],[1,"year"]]);t.plot.plugins.push({init:function(i){i.hooks.processOptions.push(function(i){t.each(i.getAxes(),function(t,i){var s=i.options;"time"===s.mode&&(i.tickGenerator=o,i.tickFormatter=function(t,i){var o=n(t,i.options);if(null!=s.timeformat)return e(o,s.timeformat,s.monthNames,s.dayNames);var a,h=i.options.tickSize&&"quarter"==i.options.tickSize[1]||i.options.minTickSize&&"quarter"==i.options.minTickSize[1];a="seconds"===s.timeBase?r:"microseconds"===s.timeBase?c:l;var u,d,p=i.tickSize[0]*a[i.tickSize[1]],f=i.max-i.min,m=s.twelveHourClock?" %p":"",g=s.twelveHourClock?"%I":"%H";if(u="seconds"===s.timeBase?1:"microseconds"===s.timeBase?1e6:1e3,p<a.second){var v=-Math.floor(Math.log10(p/u));-1<String(p).indexOf("25")&&v++,d="%S.%"+v+"s"}else d=p<a.minute?g+":%M:%S"+m:p<a.day?f<2*a.day?g+":%M"+m:"%b %d "+g+":%M"+m:p<a.month?"%b %d":h&&p<a.quarter||!h&&p<a.year?f<a.year?"%b":"%b %Y":h&&p<a.year?f<a.year?"Q%q":"Q%q %Y":"%Y";return e(o,d,s.monthNames,s.dayNames)})})})},options:{xaxis:{timezone:null,timeformat:null,twelveHourClock:!1,monthNames:null,timeBase:"seconds"},yaxis:{timeBase:"seconds"}},name:"time",version:"1.0"}),t.plot.formatDate=e,t.plot.dateGenerator=n,t.plot.dateTickGenerator=o,t.plot.makeUtcWrapper=i}(jQuery),function(t){function e(t,e,i,n,o,s){this.axisName=t,this.position=e,this.padding=i,this.placeholder=n,this.axisLabel=o,this.surface=s,this.width=0,this.height=0,this.elem=null}e.prototype.calculateSize=function(){var t=this.axisName+"Label",e=t+"Layer",i=t+" axisLabels",n=this.surface.getTextInfo(e,this.axisLabel,i);this.labelWidth=n.width,this.labelHeight=n.height,"left"===this.position||"right"===this.position?(this.width=this.labelHeight+this.padding,this.height=0):(this.width=0,this.height=this.labelHeight+this.padding)},e.prototype.transforms=function(t,e,i,n){var o,s,a=[];if(0===e&&0===i||((o=n.createSVGTransform()).setTranslate(e,i),a.push(o)),0!==t){s=n.createSVGTransform();var r=Math.round(this.labelWidth/2);s.setRotate(t,r,0),a.push(s)}return a},e.prototype.calculateOffsets=function(t){var e={x:0,y:0,degrees:0};return"bottom"===this.position?(e.x=t.left+t.width/2-this.labelWidth/2,e.y=t.top+t.height-this.labelHeight):"top"===this.position?(e.x=t.left+t.width/2-this.labelWidth/2,e.y=t.top):"left"===this.position?(e.degrees=-90,e.x=t.left-this.labelWidth/2,e.y=t.height/2+t.top):"right"===this.position&&(e.degrees=90,e.x=t.left+t.width-this.labelWidth/2,e.y=t.height/2+t.top),e.x=Math.round(e.x),e.y=Math.round(e.y),e},e.prototype.cleanup=function(){var t=this.axisName+"Label",e=t+"Layer",i=t+" axisLabels";this.surface.removeText(e,0,0,this.axisLabel,i)},e.prototype.draw=function(t){var e=this.axisName+"Label",i=e+"Layer",n=e+" axisLabels",o=this.calculateOffsets(t),s={position:"absolute",bottom:"",right:"",display:"inline-block","white-space":"nowrap"},a=this.surface.getSVGLayer(i),r=this.transforms(o.degrees,o.x,o.y,a.parentNode);this.surface.addText(i,0,0,this.axisLabel,n,void 0,void 0,void 0,void 0,r),this.surface.render(),Object.keys(s).forEach(function(t){a.style[t]=s[t]})},t.plot.plugins.push({init:function(i){i.hooks.processOptions.push(function(i,n){if(n.axisLabels.show){var o={};i.hooks.axisReserveSpace.push(function(t,i){var n=i.options,s=i.direction+i.n;if(i.labelHeight+=i.boxPosition.centerY,i.labelWidth+=i.boxPosition.centerX,n&&n.axisLabel&&i.show){var a=void 0===n.axisLabelPadding?2:n.axisLabelPadding,r=o[s];r||(r=new e(s,n.position,a,t.getPlaceholder()[0],n.axisLabel,t.getSurface()),o[s]=r),r.calculateSize(),i.labelHeight+=r.height,i.labelWidth+=r.width}}),i.hooks.draw.push(function(e,i){t.each(e.getAxes(),function(t,e){var i=e.options;if(i&&i.axisLabel&&e.show){var n=e.direction+e.n;o[n].draw(e.box)}})}),i.hooks.shutdown.push(function(t,e){for(var i in o)o[i].cleanup()})}})},options:{axisLabels:{show:!0}},name:"axisLabels",version:"3.0"})}(jQuery),function(t){t.plot.plugins.push({init:function(e){function i(t){f.active&&(h(t),e.getPlaceholder().trigger("plotselecting",[s()]))}function n(t){var i=e.getOptions();1===t.which&&null!==i.selection.mode&&(f.currentMode="xy",document.body.focus(),void 0!==document.onselectstart&&null==g.onselectstart&&(g.onselectstart=document.onselectstart,document.onselectstart=function(){return!1}),void 0!==document.ondrag&&null==g.ondrag&&(g.ondrag=document.ondrag,document.ondrag=function(){return!1}),c(f.first,t),f.active=!0)}function o(t){return void 0!==document.onselectstart&&(document.onselectstart=g.onselectstart),void 0!==document.ondrag&&(document.ondrag=g.ondrag),f.active=!1,h(t),p()?a():(e.getPlaceholder().trigger("plotunselected",[]),e.getPlaceholder().trigger("plotselecting",[null])),!1}function s(){if(!p())return null;if(!f.show)return null;var i={},n={x:f.first.x,y:f.first.y},o={x:f.second.x,y:f.second.y};return"x"===l(e)&&(n.y=0,o.y=e.height()),"y"===l(e)&&(n.x=0,o.x=e.width()),t.each(e.getAxes(),function(t,e){if(e.used){var s=e.c2p(n[e.direction]),a=e.c2p(o[e.direction]);i[t]={from:Math.min(s,a),to:Math.max(s,a)}}}),i}function a(){var t=s();e.getPlaceholder().trigger("plotselected",[t]),t.xaxis&&t.yaxis&&e.getPlaceholder().trigger("selected",[{x1:t.xaxis.from,y1:t.yaxis.from,x2:t.xaxis.to,y2:t.yaxis.to}])}function r(t,e,i){return e<t?t:i<e?i:e}function l(t){var e=t.getOptions();return"smart"===e.selection.mode?f.currentMode:e.selection.mode}function c(t,i){var n=e.getPlaceholder().offset(),o=e.getPlotOffset();t.x=r(0,i.pageX-n.left-o.left,e.width()),t.y=r(0,i.pageY-n.top-o.top,e.height()),t!==f.first&&function(t){if(f.first){var e={x:t.x-f.first.x,y:t.y-f.first.y};Math.abs(e.x)<m?f.currentMode="y":Math.abs(e.y)<m?f.currentMode="x":f.currentMode="xy"}}(t),"y"===l(e)&&(t.x=t===f.first?0:e.width()),"x"===l(e)&&(t.y=t===f.first?0:e.height())}function h(t){null!=t.pageX&&(c(f.second,t),p()?(f.show=!0,e.triggerRedrawOverlay()):u(!0))}function u(t){f.show&&(f.show=!1,f.currentMode="",e.triggerRedrawOverlay(),t||e.getPlaceholder().trigger("plotunselected",[]))}function d(t,i){var n,o,s,a,r=e.getAxes();for(var l in r)if((n=r[l]).direction===i&&(t[a=i+n.n+"axis"]||1!==n.n||(a=i+"axis"),t[a])){o=t[a].from,s=t[a].to;break}if(t[a]||(n="x"===i?e.getXAxes()[0]:e.getYAxes()[0],o=t[i+"1"],s=t[i+"2"]),null!=o&&null!=s&&s<o){var c=o;o=s,s=c}return{from:o,to:s,axis:n}}function p(){var t=e.getOptions().selection.minSize;return Math.abs(f.second.x-f.first.x)>=t&&Math.abs(f.second.y-f.first.y)>=t}var f={first:{x:-1,y:-1},second:{x:-1,y:-1},show:!1,currentMode:"xy",active:!1},m=t.plot.uiConstants.SNAPPING_CONSTANT,g={};e.clearSelection=u,e.setSelection=function(t,i){var n;"y"===l(e)?(f.first.x=0,f.second.x=e.width()):(n=d(t,"x"),f.first.x=n.axis.p2c(n.from),f.second.x=n.axis.p2c(n.to)),"x"===l(e)?(f.first.y=0,f.second.y=e.height()):(n=d(t,"y"),f.first.y=n.axis.p2c(n.from),f.second.y=n.axis.p2c(n.to)),f.show=!0,e.triggerRedrawOverlay(),!i&&p()&&a()},e.getSelection=s,e.hooks.bindEvents.push(function(t,e){null!=t.getOptions().selection.mode&&(t.addEventHandler("dragstart",n,e,0),t.addEventHandler("drag",i,e,0),t.addEventHandler("dragend",o,e,0))}),e.hooks.drawOverlay.push(function(e,i){if(f.show&&p()){var n=e.getPlotOffset(),o=e.getOptions();i.save(),i.translate(n.left,n.top);var s=t.color.parse(o.selection.color),a=o.selection.visualization,r=1;"fill"===a&&(r=.8),i.strokeStyle=s.scale("a",r).toString(),i.lineWidth=1,i.lineJoin=o.selection.shape,i.fillStyle=s.scale("a",.4).toString();var c=Math.min(f.first.x,f.second.x)+.5,h=c,u=Math.min(f.first.y,f.second.y)+.5,d=u,m=Math.abs(f.second.x-f.first.x)-1,g=Math.abs(f.second.y-f.first.y)-1;"x"===l(e)&&(g+=u,u=0),"y"===l(e)&&(m+=c,c=0),"fill"===a?(i.fillRect(c,u,m,g),i.strokeRect(c,u,m,g)):(i.fillRect(0,0,e.width(),e.height()),i.clearRect(c,u,m,g),v=i,x=c,_=u,y=m,w=g,b=h,T=d,k=l(e),C=Math.max(0,Math.min(15,y/2-2,w/2-2)),v.fillStyle="#ffffff","xy"===k&&(v.beginPath(),v.moveTo(x,_+C),v.lineTo(x-3,_+C),v.lineTo(x-3,_-3),v.lineTo(x+C,_-3),v.lineTo(x+C,_),v.lineTo(x,_),v.closePath(),v.moveTo(x,_+w-C),v.lineTo(x-3,_+w-C),v.lineTo(x-3,_+w+3),v.lineTo(x+C,_+w+3),v.lineTo(x+C,_+w),v.lineTo(x,_+w),v.closePath(),v.moveTo(x+y,_+C),v.lineTo(x+y+3,_+C),v.lineTo(x+y+3,_-3),v.lineTo(x+y-C,_-3),v.lineTo(x+y-C,_),v.lineTo(x+y,_),v.closePath(),v.moveTo(x+y,_+w-C),v.lineTo(x+y+3,_+w-C),v.lineTo(x+y+3,_+w+3),v.lineTo(x+y-C,_+w+3),v.lineTo(x+y-C,_+w),v.lineTo(x+y,_+w),v.closePath(),v.stroke(),v.fill()),x=b,_=T,"x"===k&&(v.beginPath(),v.moveTo(x,_+15),v.lineTo(x,_-15),v.lineTo(x-3,_-15),v.lineTo(x-3,_+15),v.closePath(),v.moveTo(x+y,_+15),v.lineTo(x+y,_-15),v.lineTo(x+y+3,_-15),v.lineTo(x+y+3,_+15),v.closePath(),v.stroke(),v.fill()),"y"===k&&(v.beginPath(),v.moveTo(x-15,_),v.lineTo(x+15,_),v.lineTo(x+15,_-3),v.lineTo(x-15,_-3),v.closePath(),v.moveTo(x-15,_+w),v.lineTo(x+15,_+w),v.lineTo(x+15,_+w+3),v.lineTo(x-15,_+w+3),v.closePath(),v.stroke(),v.fill())),i.restore()}var v,x,_,y,w,b,T,k,C}),e.hooks.shutdown.push(function(t,e){e.unbind("dragstart",n),e.unbind("drag",i),e.unbind("dragend",o)})},options:{selection:{mode:null,visualization:"focus",color:"#888888",shape:"round",minSize:5}},name:"selection",version:"1.1"})}(jQuery),function(t){function e(t,e){var r=t.filter(i);u=p(e.getContext("2d"));var f,m=r.map(function(t){var e,i,a=new Image;return new Promise((i=t,(e=a).sourceDescription='<info className="'+i.className+'" tagName="'+i.tagName+'" id="'+i.id+'">',e.sourceComponent=i,function(t,a){var r,l,c,h,u,p,f,m,g,v,x,_;e.onload=function(i){e.successfullyLoaded=!0,t(e)},e.onabort=function(i){e.successfullyLoaded=!1,console.log("Can't generate temp image from "+e.sourceDescription+". It is possible that it is missing some properties or its content is not supported by this browser. Source component:",e.sourceComponent),t(e)},e.onerror=function(i){e.successfullyLoaded=!1,console.log("Can't generate temp image from "+e.sourceDescription+". It is possible that it is missing some properties or its content is not supported by this browser. Source component:",e.sourceComponent),t(e)},l=e,"CANVAS"===(r=i).tagName&&(c=r,l.src=c.toDataURL("image/png")),"svg"===r.tagName&&(h=r,u=l,d.isSafari()||d.isMobileSafari()?(p=h,f=u,v=s(v=o(n(document),p)),g=function(t){for(var e="",i=new Uint8Array(t),n=0;n<i.length;n+=16384){e+=String.fromCharCode.apply(null,i.subarray(n,n+16384))}return e}(new(TextEncoder||TextEncoderLite)("utf-8").encode(v)),m="data:image/svg+xml;base64,"+btoa(g),f.src=m):function(t,e){var i=o(n(document),t);i=s(i);var a=new Blob([i],{type:"image/svg+xml;charset=utf-8"}),r=(self.URL||self.webkitURL||self).createObjectURL(a);e.src=r}(h,u)),l.srcImgTagName=r.tagName,x=r,(_=l).genLeft=x.getBoundingClientRect().left,_.genTop=x.getBoundingClientRect().top,"CANVAS"===x.tagName&&(_.genRight=_.genLeft+x.width,_.genBottom=_.genTop+x.height),"svg"===x.tagName&&(_.genRight=x.getBoundingClientRect().right,_.genBottom=x.getBoundingClientRect().bottom)}))});return Promise.all(m).then((f=e,function(t){return function(t,e){var i=function(t,e){var i,n=l;if(0===t.length)n=c;else{var o=t[0].genLeft,s=t[0].genTop,a=t[0].genRight,r=t[0].genBottom,d=0;for(d=1;d<t.length;d++)o>t[d].genLeft&&(o=t[d].genLeft),s>t[d].genTop&&(s=t[d].genTop);for(d=1;d<t.length;d++)a<t[d].genRight&&(a=t[d].genRight),r<t[d].genBottom&&(r=t[d].genBottom);if(a-o<=0||r-s<=0)n=h;else{for(e.width=Math.round(a-o),e.height=Math.round(r-s),d=0;d<t.length;d++)t[d].xCompOffset=t[d].genLeft-o,t[d].yCompOffset=t[d].genTop-s;i=e,void 0!==t.find(function(t){return"svg"===t.srcImgTagName})&&u<1&&(i.width=i.width*u,i.height=i.height*u)}}return n}(t,e);if(i===l)for(var n=e.getContext("2d"),o=0;o<t.length;o++)!0===t[o].successfullyLoaded&&n.drawImage(t[o],t[o].xCompOffset*u,t[o].yCompOffset*u);return i}(t,f)}),a)}function i(t){var e=!0,i=!0;return null==t?i=!1:"CANVAS"===t.tagName&&(t.getBoundingClientRect().right!==t.getBoundingClientRect().left&&t.getBoundingClientRect().bottom!==t.getBoundingClientRect().top||(e=!1)),i&&e&&"visible"===window.getComputedStyle(t).visibility}function n(t){for(var e=t.styleSheets,i=[],n=0;n<e.length;n++)try{for(var o=e[n].cssRules||[],s=0;s<o.length;s++){var a=o[s];i.push(a.cssText)}}catch(t){console.log("Failed to get some css rules")}return i}function o(t,e){return['<svg class="snapshot '+e.classList+'" width="'+e.width.baseVal.value*u+'" height="'+e.height.baseVal.value*u+'" viewBox="0 0 '+e.width.baseVal.value+" "+e.height.baseVal.value+'" xmlns="http://www.w3.org/2000/svg">',"<style>","/* <![CDATA[ */",t.join("\n"),"/* ]]> */","</style>",e.innerHTML,"</svg>"].join("\n")}function s(t){var e="";return t.match(/^<svg[^>]+xmlns="http:\/\/www\.w3\.org\/2000\/svg"/)||(e=t.replace(/^<svg/,'<svg xmlns="http://www.w3.org/2000/svg"')),t.match(/^<svg[^>]+"http:\/\/www\.w3\.org\/1999\/xlink"/)||(e=t.replace(/^<svg/,'<svg xmlns:xlink="http://www.w3.org/1999/xlink"')),'<?xml version="1.0" standalone="no"?>\r\n'+e}function a(){return r}var r=-100,l=0,c=-1,h=-2,u=1,d=t.plot.browser,p=d.getPixelRatio;t.plot.composeImages=e,t.plot.plugins.push({init:function(t){t.composeImages=e},name:"composeImages",version:"1.0"})}(jQuery),function(t){function e(t){var e="",i=t.name,n=t.xPos,o=t.yPos,s=t.fillColor,a=t.strokeColor,r=t.strokeWidth;switch(i){case"circle":e='<use xlink:href="#circle" class="legendIcon" x="'+n+'" y="'+o+'" fill="'+s+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>';break;case"diamond":e='<use xlink:href="#diamond" class="legendIcon" x="'+n+'" y="'+o+'" fill="'+s+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>';break;case"cross":e='<use xlink:href="#cross" class="legendIcon" x="'+n+'" y="'+o+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>';break;case"rectangle":e='<use xlink:href="#rectangle" class="legendIcon" x="'+n+'" y="'+o+'" fill="'+s+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>';break;case"plus":e='<use xlink:href="#plus" class="legendIcon" x="'+n+'" y="'+o+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>';break;case"bar":e='<use xlink:href="#bars" class="legendIcon" x="'+n+'" y="'+o+'" fill="'+s+'" width="1.5em" height="1.5em"/>';break;case"area":e='<use xlink:href="#area" class="legendIcon" x="'+n+'" y="'+o+'" fill="'+s+'" width="1.5em" height="1.5em"/>';break;case"line":e='<use xlink:href="#line" class="legendIcon" x="'+n+'" y="'+o+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>';break;default:e='<use xlink:href="#circle" class="legendIcon" x="'+n+'" y="'+o+'" fill="'+s+'" stroke="'+a+'" stroke-width="'+r+'" width="1.5em" height="1.5em"/>'}return e}function i(t,e){for(var i in t)if(t.hasOwnProperty(i)&&t[i]!==e[i])return!0;return!1}t.plot.plugins.push({init:function(n){n.hooks.setupGrid.push(function(n){var o=n.getOptions(),s=n.getData(),a=o.legend.labelFormatter,r=o.legend.legendEntries,l=o.legend.plotOffset,c=function(e,i,n){var o=i,s=e.reduce(function(t,e,i){var n=o?o(e.label,e):e.label;if(!e.hasOwnProperty("label")||n){var s={label:n||"Plot "+(i+1),color:e.color,options:{lines:e.lines,points:e.points,bars:e.bars}};t.push(s)}return t},[]);if(n)if(t.isFunction(n))s.sort(n);else if("reverse"===n)s.reverse();else{var a="descending"!==n;s.sort(function(t,e){return t.label===e.label?0:t.label<e.label!==a?1:-1})}return s}(s,a,o.legend.sorted),h=n.getPlotOffset();((function(t,e){if(!t||!e)return!0;if(t.length!==e.length)return!0;var n,o,s;for(n=0;n<e.length;n++){if(o=e[n],s=t[n],o.label!==s.label)return!0;if(o.color!==s.color)return!0;if(i(o.options.lines,s.options.lines))return!0;if(i(o.options.points,s.options.points))return!0;if(i(o.options.bars,s.options.bars))return!0}return!1})(r,c)||i(l,h))&&function(i,n,o,s){if(null!=n.legend.container?t(n.legend.container).html(""):o.find(".legend").remove(),n.legend.show){var a,r,l,c,h=n.legend.legendEntries=s,u=n.legend.plotOffset=i.getPlotOffset(),d=[],p=0,f="",m=n.legend.position,g=n.legend.margin,v={name:"",label:"",xPos:"",yPos:""};d[p++]='<svg class="legendLayer" style="width:inherit;height:inherit;">',d[p++]='<rect class="background" width="100%" height="100%"/>',d[p++]='<defs><symbol id="line" fill="none" viewBox="-5 -5 25 25"><polyline points="0,15 5,5 10,10 15,0"/></symbol><symbol id="area" stroke-width="1" viewBox="-5 -5 25 25"><polyline points="0,15 5,5 10,10 15,0, 15,15, 0,15"/></symbol><symbol id="bars" stroke-width="1" viewBox="-5 -5 25 25"><polyline points="1.5,15.5 1.5,12.5, 4.5,12.5 4.5,15.5 6.5,15.5 6.5,3.5, 9.5,3.5 9.5,15.5 11.5,15.5 11.5,7.5 14.5,7.5 14.5,15.5 1.5,15.5"/></symbol><symbol id="circle" viewBox="-5 -5 25 25"><circle cx="0" cy="15" r="2.5"/><circle cx="5" cy="5" r="2.5"/><circle cx="10" cy="10" r="2.5"/><circle cx="15" cy="0" r="2.5"/></symbol><symbol id="rectangle" viewBox="-5 -5 25 25"><rect x="-2.1" y="12.9" width="4.2" height="4.2"/><rect x="2.9" y="2.9" width="4.2" height="4.2"/><rect x="7.9" y="7.9" width="4.2" height="4.2"/><rect x="12.9" y="-2.1" width="4.2" height="4.2"/></symbol><symbol id="diamond" viewBox="-5 -5 25 25"><path d="M-3,15 L0,12 L3,15, L0,18 Z"/><path d="M2,5 L5,2 L8,5, L5,8 Z"/><path d="M7,10 L10,7 L13,10, L10,13 Z"/><path d="M12,0 L15,-3 L18,0, L15,3 Z"/></symbol><symbol id="cross" fill="none" viewBox="-5 -5 25 25"><path d="M-2.1,12.9 L2.1,17.1, M2.1,12.9 L-2.1,17.1 Z"/><path d="M2.9,2.9 L7.1,7.1 M7.1,2.9 L2.9,7.1 Z"/><path d="M7.9,7.9 L12.1,12.1 M12.1,7.9 L7.9,12.1 Z"/><path d="M12.9,-2.1 L17.1,2.1 M17.1,-2.1 L12.9,2.1 Z"/></symbol><symbol id="plus" fill="none" viewBox="-5 -5 25 25"><path d="M0,12 L0,18, M-3,15 L3,15 Z"/><path d="M5,2 L5,8 M2,5 L8,5 Z"/><path d="M10,7 L10,13 M7,10 L13,10 Z"/><path d="M15,-3 L15,3 M12,0 L18,0 Z"/></symbol></defs>';var x=0,_=[],y=window.getComputedStyle(document.querySelector("body"));for(c=0;c<h.length;++c){var w=c%n.legend.noColumns;a=h[c],v.label=a.label;var b=i.getSurface().getTextInfo("",v.label,{style:y.fontStyle,variant:y.fontVariant,weight:y.fontWeight,size:parseInt(y.fontSize),lineHeight:parseInt(y.lineHeight),family:y.fontFamily}).width;_[w]?b>_[w]&&(_[w]=b+48):_[w]=b+48}for(c=0;c<h.length;++c)w=c%n.legend.noColumns,a=h[c],l="",v.label=a.label,v.xPos=x+3+"px",x+=_[w],(c+1)%n.legend.noColumns==0&&(x=0),v.yPos=1.5*Math.floor(c/n.legend.noColumns)+"em",a.options.lines.show&&a.options.lines.fill&&(v.name="area",v.fillColor=a.color,l+=e(v)),a.options.bars.show&&(v.name="bar",v.fillColor=a.color,l+=e(v)),a.options.lines.show&&!a.options.lines.fill&&(v.name="line",v.strokeColor=a.color,v.strokeWidth=a.options.lines.lineWidth,l+=e(v)),a.options.points.show&&(v.name=a.options.points.symbol,v.strokeColor=a.color,v.fillColor=a.options.points.fillColor,v.strokeWidth=a.options.points.lineWidth,l+=e(v)),r='<text x="'+v.xPos+'" y="'+v.yPos+'" text-anchor="start"><tspan dx="2em" dy="1.2em">'+v.label+"</tspan></text>",d[p++]="<g>"+l+r+"</g>";d[p++]="</svg>",null==g[0]&&(g=[g,g]),"n"===m.charAt(0)?f+="top:"+(g[1]+u.top)+"px;":"s"===m.charAt(0)&&(f+="bottom:"+(g[1]+u.bottom)+"px;"),"e"===m.charAt(1)?f+="right:"+(g[0]+u.right)+"px;":"w"===m.charAt(1)&&(f+="left:"+(g[0]+u.left)+"px;");var T=6;for(c=0;c<_.length;++c)T+=_[c];var k,C=1.6*Math.ceil(h.length/n.legend.noColumns);n.legend.container?(k=t(d.join("")).appendTo(n.legend.container)[0],n.legend.container.style.width=T+"px",n.legend.container.style.height=C+"em"):((k=t('<div class="legend" style="position:absolute;'+f+'">'+d.join("")+"</div>").appendTo(o)).css("width",T+"px"),k.css("height",C+"em"),k.css("pointerEvents","none"))}}(n,o,n.getPlaceholder(),c)})},options:{legend:{show:!1,noColumns:1,labelFormatter:null,container:null,position:"ne",margin:5,sorted:null}},name:"legend",version:"1.0"})}(jQuery)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(20);!function(t){var e=function(){t(".flexmls_leadgen_button").on("click",function(){t(".flexmls_connect__form_message").length&&t(".flexmls_connect__form_message").remove();var e=this,i=t(e).data("form"),n=t(e).html(),o=t(i).find('input[name="success"]').val(),s=t(i).find(".flexmls_connect__form_footer"),a=t(i).find(".flexmls_loading_svg");t(a).show();var r={action:"fmcleadgen_submit",name:t(i).find('input[name="name"]').val(),email:t(i).find('input[name="email"]').val(),message_body:t(i).find('textarea[name="message_body"]').val(),honeypot:t(i).find('input[name="color"]').val(),success:t(i).find('input[name="success"]').val(),source:t(i).find('input[name="source"]').val()};t(i).find('input[name="address"]').length&&(r.address=t(i).find('input[name="address"]').val(),r.city=t(i).find('input[name="city"]').val(),r.state=t(i).find('input[name="state"]').val(),r.zip=t(i).find('input[name="zip"]').val()),t(i).find('input[name="phone"]').length&&(r.phone=t(i).find('input[name="phone"]').val()),t(e).prop("disabled",!0).html("Sending"),t.post(fmcAjax.ajaxurl,r,function(r){0===r.success?t(s).before('<div class="flexmls_connect__form_message flexmls_connect__form_message-error">'+r.message+"</div>"):(t(s).before('<div class="flexmls_connect__form_message flexmls_connect__form_message-success">'+o+"</div>"),t(i).find('input[type="text"], input[type="email"], input[type="tel"], textarea').each(function(){t(this).val("")})),t(a).hide(),t(e).html(n).prop("disabled",!1)},"json")})};t(document).ready(function(){e()})}(jQuery);var o={};o.createCookie=function(t,e,i){if(i){var n=new Date;n.setTime(n.getTime()+24*i*60*60*1e3);var o="; expires="+n.toGMTString()}else var o="";document.cookie=t+"="+e+o+"; path=/"},o.readCookie=function(t){for(var e=t+"=",i=document.cookie.split(";"),n=0;n<i.length;n++){for(var o=i[n];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(e))return o.substring(e.length,o.length)}return null},o.isValidEmailAddress=function(t){return new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i).test(t)},o.inputValidate=function(t,e){e?jQuery(t).data("connect-error",!1).removeClass("flexmls_connect__error_color").addClass("flexmls_connect__active_color"):jQuery(t).data("connect-error",!0).removeClass("flexmls_connect__active_color").addClass("flexmls_connect__error_color")},o.showDialog=function(t,e){e?jQuery(t).data("connect-error",!1).removeClass("flexmls_connect__error_color").addClass("flexmls_connect__active_color"):jQuery(t).data("connect-error",!0).removeClass("flexmls_connect__active_color").addClass("flexmls_connect__error_color")},o.showStatTooltip=function(t,e,i){jQuery('<div id="flexmls_connect__stat_tooltip">'+i+"</div>").css({top:e+5,left:t+5}).appendTo("body").fadeIn(200)},o.addCommas=function(t){t=new String(Math.floor(100*t)/100);for(var e=t.split("."),i=e[0],n=/(\d+)(\d{3})/;n.test(i);)i=i.replace(n,"$1,$2");return i+(e.length>1?"."+t.split(".")[1]:"")},o.establishColorbox=function(t,e,i,n){var s=jQuery(t),a=e||s.parent(),r=i||jQuery(".flexmls_connect__hidden",a),n=n||"fmcPhotos_additional_photos";jQuery(t).flexmls_connect__colorbox({photo:!0,width:window!=window.top?"500px":window.innerWidth-20+"px",height:window!=window.top?"500px":window.innerHeight-20+"px",top:window!=window.top&&"20px",html:"fmcPhotos_additional_photos"!=n&&"Loading...",onOpen:function(){"true"!==s.attr("data-connect-ajax")&&jQuery.getJSON(fmcAjax.ajaxurl,{action:n,id:s.attr("rel")},function(t){if(t&&jQuery.isArray(t)&&t.length>0)for(var e="fmcPhotos_additional_photos"==n?1:0,i=e;i<t.length;i++)switch(n){case"fmcPhotos_additional_vtours":"https:"===location.protocol&&0!=t[i].uri.indexOf("https:")?r.append(jQuery("<div class='flexmls_popup' rel='"+s.attr("rel")+"'><a target='_blank' href='"+t[i].uri+"' title='"+t[i].name.replace(/'/g,"\\'")+"' class='flexmls_connect_vtour_link_alternative'>"+t[i].name.replace(/'/g,"\\'")+" open in new window</a></div>")):r.append(jQuery("<div class='flexmls_popup' rel='"+s.attr("rel")+"'><iframe src='"+t[i].uri+"' title='"+t[i].name.replace(/'/g,"\\'")+"'></iframe></div>"));break;case"fmcPhotos_additional_videos":var l=jQuery("<div>").addClass("flexmls_popup").attr("rel",s.attr("rel"));t[i].html.indexOf("iframe")>=0?l.html(t[i].html):l.html(jQuery("<iframe>").attr({src:t[i].html})),r.append(l);break;case"fmcPhotos_additional_photos":r.append(jQuery("<a class='flexmls_popup' href='"+t[i].photo+"'rel='"+s.attr("rel")+"' title='"+t[i].caption.replace(/'/g,"\\'")+"'></a>"))}switch(s.attr("data-connect-ajax","true"),n){case"fmcPhotos_additional_vtours":case"fmcPhotos_additional_videos":jQuery("div.flexmls_popup",r).each(function(){jQuery(this).flexmls_connect__colorbox({width:window!=window.top?"500px":"95%",height:window!=window.top?"500px":"95%",top:window!=window.top&&"20px",html:jQuery(this).html(),rel:s.attr("rel"),onComplete:function(){o.addTitleToColorbox(a)},onClosed:function(){jQuery(".flexmls_connect__colorbox_address").remove()}})});break;case"fmcPhotos_additional_photos":jQuery("a",r).flexmls_connect__colorbox({photo:!0,width:window!=window.top?"500px":"95%",height:window!=window.top?"500px":"95%",top:window!=window.top&&"20px",onComplete:function(){o.addTitleToColorbox(a)},onClosed:function(){jQuery(".flexmls_connect__colorbox_address").remove()}})}"fmcPhotos_additional_photos"!=n&&(s.attr("rel",null).removeClass("flexmls_connect__cboxElement").removeData("colorbox"),s.click(function(){jQuery("div.flexmls_popup",r).click()})),s.click()})},onComplete:function(){o.addTitleToColorbox(a)},onClosed:function(){jQuery(".flexmls_connect__colorbox_address").remove()}})},o.addTitleToColorbox=function(t){if(0==jQuery(".flexmls_connect__colorbox_address").length){var e=t.attr("title");t.attr("link")&&(e='<a href="'+t.attr("link")+'"'+t.attr("target")+">"+e+"</a>"),jQuery("<div>").addClass("flexmls_connect__colorbox_address").html(e).prependTo("#flexmls_connect__cboxLoadedContent")}},o.changeFilmstrip=function(t,e,i){if(e){var t=1*jQuery(".flexmls_connect__photo_switcher span",i).text()-1,n=jQuery(".flexmls_connect__filmstrip img",i).length;t="prev"==e?t-1:t+1,t<0&&(t=n-1),t>=n&&(t=0)}var o=jQuery(".flexmls_connect__filmstrip img",i)[t];jQuery(".flexmls_connect__main_image",i);jQuery(".flexmls_connect__main_image, .flexmls_connect__resize_image",i).attr("src",jQuery(o).attr("fullsrc")),jQuery(".flexmls_connect__photo_switcher span",i).text(t+1)},o.print=function(t){jQuery(".flexmls_connect__not_printable").removeClass("flexmls_connect__not_printable");for(var e=jQuery(t).closest(".flexmls_connect__sr_detail");e[0]!=jQuery("html")[0];)e.siblings().addClass("flexmls_connect__not_printable"),e=e.parent();window.print()},o.scheduleShowing=function(t){var e=(new Date).getTime(),i=t.id,n=t.title,o=t.subject,s=t.agentName,a=t.agentEmail,r=t.officeEmail,l=t.disclaimer,c="";c+="<form class='flexmls_connect__schedule_showing_form'>",c+="<h3>"+n+"</h3>",c+="<div id=\"flexmls_connect__showing_error\" style='color:red;'> </div>",c+='<input id="flexmls_connect_shedule_to" type="hidden" name="to" value=\''+a+"'>",c+='<input id="flexmls_connect_shedule_to_name" type="hidden" name="to_name" value=\''+s+"'>",c+='<input id="flexmls_connect_shedule_to_officeemail" type="hidden" name="to" value=\''+r+"'>",c+='<input id="flexmls_connect_shedule_listkey" type="hidden" name="mytype" value=\''+i+"'>",c+='<table class="flexmls_connect__schedule_showing_table">',c+="<tbody>",c+="<tr>",c+='<td><label for="flexmls_connect_shedule_from_name">Name:</label></td>',c+='<td><input id="flexmls_connect_shedule_from_name" name="from_name" type="text" size=50 style="width:340px;"></td>',c+="</tr>",c+="<tr>",c+='<td><label for="flexmls_connect_shedule_from">Email:</label><span class="flexmls_connect__required">*</span></td>',c+='<td><input id="flexmls_connect_shedule_from" name="from" type="text" size=50 style="width:340px;"></td>',c+="</tr>",c+="<tr>",c+='<td><label for="flexmls_connect_shedule_to">To:</label></td>',c+="<td><b>"+s+"</b></td>",c+="</tr>",c+="<tr>",c+='<td><label for="flexmls_connect_shedule_subject">Subject:</label></td><input type=text id="flexmls_connect__important" name="flexmls_connect__important'+e+'" autocomplete="false" tabindex="-1" value="" />',c+='<td><input id="flexmls_connect_shedule_subject" name="subject" type="text" size=50 style="width:340px;" value="Schedule a showing for '+o+'"></td>',c+="</tr>",c+="<tr>",c+='<td><label for="flexmls_connect_shedule_message">Message:</label></td>',c+='<td><textarea cols="50" id="flexmls_connect_shedule_message" name="message" rows="7" style="width:340px;"></textarea>',c+='<input type="hidden" id="flexmls_connect_shedule_page_lead" value="'+window.location+'"></td>',c+="</tr>",c+="<tr>",c+="<td>",c+="</td>",c+="<td>",c+=void 0!==t.disclaimer?"<small class='flexmls-small-text'>"+l+"</small>":"",c+="</td>",c+="</tr>",c+="<tr>",c+='<td colspan=2><center><input type="submit" value="Send" name="Send"></center></td>',c+="</tr>",c+="</tbody></table>",c+="</form>",jQuery.flexmls_connect__colorbox({width:"500px",html:c}),jQuery(".flexmls_connect__schedule_showing_form").submit(function(t){var e={action:"fmcListingDetails_schedule_showing",flexmls_connect__subject:jQuery("#flexmls_connect_shedule_subject").val(),flexmls_connect__to:jQuery("#flexmls_connect_shedule_to").val(),flexmls_connect__to_office:jQuery("#flexmls_connect_shedule_to_officeemail").val(),flexmls_connect__from:jQuery("#flexmls_connect_shedule_from").val(),flexmls_connect__from_name:jQuery("#flexmls_connect_shedule_from_name").val(),flexmls_connect__to_name:jQuery("#flexmls_connect_shedule_to_name").val(),flexmls_connect__message:jQuery("#flexmls_connect_shedule_message").val(),flexmls_connect__page_lead:jQuery("#flexmls_connect_shedule_page_lead").val(),flexmls_connect__important:jQuery("#flexmls_connect__important").val()};console.log(fmcAjax),jQuery.post(fmcAjax.ajaxurl,e,function(t){"SUCCESS"==t?(jQuery("#flexmls_connect__success_message").html("Showing request has been sent.<br>This request is not yet a confirmed appointment.").show(),jQuery("#flexmls_connect__cboxClose").click()):jQuery("#flexmls_connect__showing_error").html(t)}),t.preventDefault(),t.stopPropagation()})},o.contactForm=function(t){var e=(new Date).getTime(),i=t.title,n=t.subject,o=t.agentEmail,s=t.officeEmail,a=t.listingId,r=t.disclaimer,l="";l+="<form class='flexmls_connect__contact_form'>",l+="<h3 class='flexmls-primary-color-font'>"+i+"</h3>",l+="<div id=\"flexmls_connect__showing_error\" style='color:red;'> </div>",l+='<input id="flexmls_connect__to_agent" type="hidden" name="to" value=\''+o+"'>",l+='<input id="flexmls_connect__to_office" type="hidden" name="to" value=\''+s+"'>",l+='<input id="flexmls_connect__listid" type="hidden" name="mytype" value=\''+a+"'>",l+='<table class="flexmls_connect__schedule_showing_table">',l+="<tbody>",l+="<tr>",l+='<td><label for="flexmls_connect__from_name">Name:</label></td>',l+='<td><input id="flexmls_connect__from_name" name="from_name" type="text" size=50 style="width:340px;"></td>',l+="</tr>",l+="<tr>",l+='<td><label for="flexmls_connect__from">Email:</label><span class="flexmls_connect__required">*</span></td>',l+='<td><input id="flexmls_connect__from" name="from" type="text" size=50 style="width:340px;"></td>',l+="</tr>",l+="<tr>",l+='<td><label for="flexmls_connect__phone">Phone:</label><span class="flexmls_connect__phone"></span></td>',l+='<td><input id="flexmls_connect__phone" name="phone" type="text" maxlength=20 style="width:340px;"></td>',l+="</tr>",l+="<tr>",l+='<td><label for="flexmls_connect__subject">Subject:</label><input type=text id="flexmls_connect__important" name="flexmls_connect__important'+e+'" autocomplete="false" tabindex="-1" /></td>',l+='<td><input id="flexmls_connect__subject" name="subject" type="text" size=50 style="width:340px;" value="'+n+'"></td>',l+="</tr>",l+="<tr>",l+='<td><label for="flexmls_connect__message">Message:</label></td>',l+='<td><textarea cols="50" id="flexmls_connect__message" name="message" rows="7" style="width:340px;"></textarea>',l+='<input type="hidden" id="flexmls_connect__page_lead" value="'+window.location+'"></td>',l+="</tr>",l+="<tr>",l+="<td>",l+="</td>",l+="<td>",l+=void 0!==t.disclaimer?"<small class='flexmls-small-text'>"+r+"</small>":"",l+="</td>",l+="</tr>",l+="<tr>",l+='<td colspan=2><center><input id="SendOne" type="submit" value="Send" name="Send" class=\'flexmls-btn flexmls-primary-color-background\'></center></td>',l+="</tr>",l+="</tbody></table>",l+="</form>",jQuery.flexmls_connect__colorbox({width:"500px",html:l}),jQuery(".flexmls_connect__contact_form").submit(function(t){var e={action:"fmcListingDetails_contact",flexmls_connect__subject:jQuery("#flexmls_connect__subject").val(),flexmls_connect__to_agent:jQuery("#flexmls_connect__to_agent").val(),flexmls_connect__to_office:jQuery("#flexmls_connect__to_office").val(),flexmls_connect__from:jQuery("#flexmls_connect__from").val(),flexmls_connect__from_name:jQuery("#flexmls_connect__from_name").val(),flexmls_connect__phone:jQuery("#flexmls_connect__phone").val(),flexmls_connect__message:jQuery("#flexmls_connect__message").val(),flexmls_connect__page_lead:jQuery("#flexmls_connect__page_lead").val(),flexmls_connect__important:jQuery("#flexmls_connect__important").val(),flexmls_connect__mytype:jQuery("#flexmls_connect__mytype").val()};console.log(e),jQuery("#SendOne").attr("disabled","disabled"),jQuery("#SendOne").attr("value","Sending..."),jQuery.post(fmcAjax.ajaxurl,e,function(t){"SUCCESS"==t?(jQuery("#flexmls_connect__success_message"+a).html("Your question has been sent.<br>").show(),jQuery("#flexmls_connect__cboxClose").click()):(jQuery("#flexmls_connect__showing_error").html(t),jQuery("#SendOne").removeAttr("disabled"))}),t.preventDefault(),t.stopPropagation()})},o.edit_url_value=function(t,e,i){i=i||document.URL;var n="",o=i.split("?"),s=o[0],a=o[1],r="";if(a){var o=a.split("&");for(var l in o)-1==o[l].indexOf(t)&&(n+=r+o[l],r="&")}return s+"?"+n+(r+t)+"="+e},jQuery(document).ready(function(){jQuery("button[href]",".flexmls_connect__button").click(function(){document.location.href=jQuery(this).attr("href")}),jQuery(".flexmls_connect__carousel").each(function(t,e){jQuery(e).loopedCarousel({items:jQuery(this).attr("data-connect-horizontal"),grid_size:jQuery(this).attr("data-connect-vertical"),vertical:parseInt(jQuery(this).attr("data-connect-vertical"))>parseInt(jQuery(this).attr("data-connect-horizontal")),autoStart:parseInt(jQuery(this).attr("data-connect-autostart"))});var i=(jQuery(".flexmls_connect__container",jQuery(e)).width(),jQuery(e).prev("p"));i.length>0&&""===i.text().replace(/\s/g,"")&&jQuery(e).addClass(i.css("text-align")),jQuery("div.flexmls_connect__slides div a.flexmls_popup",jQuery(this)).each(function(t){o.establishColorbox(jQuery(this))}),jQuery(".flexmls_connect__disclaimer a, .flexmls_connect__badge, .flexmls_connect__badge_image",jQuery(e)).click(function(){jQuery.flexmls_connect__colorbox({width:"400px",html:jQuery(".flexmls_connect__disclaimer_text",jQuery(e)).html().replace(/<script.*?<\/script>/g,"")})})}),jQuery(".flexmls_connect_log_out").click(function(t){t.preventDefault(),t.stopPropagation(),jQuery.post(fmcAjax.ajaxurl,{action:"fmcAccount_portal"},function(t){window.location=window.location})});var t=[];if(jQuery(".flexmls_connect__market_stats").each(function(e,i){var n=[],s=jQuery(i).prev("p");if(s.length>0&&""===s.text().replace(/\s/g,"")&&jQuery(i).addClass(s.css("text-align")),0==t.length){var a=new Date;a.setHours(0),a.setMinutes(0),a.setSeconds(0);for(var r=0;r<12;r++)a.setMonth(a.getMonth()-1,1),t.push(a.getTime());t.reverse()}jQuery("li",jQuery(i)).each(function(e,i){for(var o={label:jQuery(i).attr("data-connect-label"),data:jQuery(i).text().split(",")},s=0;s<o.data.length&&!(s>11);s++)o.data[s]=[t[s],o.data[s]];n.push(o)}),jQuery.plot(jQuery(".flexmls_connect__market_stats_graph",jQuery(i)),n,{yaxis:{tickFormatter:function(t,e){return o.addCommas(t)}},xaxis:{mode:"time",timeBase:"milliseconds",timeformat:"%b-%y",monthNames:["J","F","M","A","M","J","J","A","S","O","N","D"],minTickSize:[1,"month"],ticks:12},legend:{show:!0,container:jQuery(".flexmls_connect__market_stats_legend",jQuery(i))[0]},grid:{clickable:!1,hoverable:!0,autoHighlight:!0,mouseActiveRadius:6}});var l=null;jQuery(".flexmls_connect__market_stats_graph",jQuery(i)).bind("plothover",function(t,e,i){if(i){if(l!=i.datapoint){l=i.datapoint,jQuery("#flexmls_connect__stat_tooltip").remove();var n=i.datapoint[0].toFixed(2),s=o.addCommas(i.datapoint[1]),a=new Date(parseInt(n));o.showStatTooltip(i.pageX,i.pageY,s+" ("+i.series.label+" for "+(a.getMonth()+1)+"/"+a.getFullYear()+")")}}else jQuery("#flexmls_connect__stat_tooltip").remove(),l=null})}),jQuery.extend({getUrlVars:function(){for(var t,e=[],i=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),n=0;n<i.length;n++)t=i[n].split("="),e.push(decodeURI(t[0])),e[decodeURI(t[0])]=decodeURI(t[1]);return e},getUrlVar:function(t){return jQuery.getUrlVars()[t]}}),jQuery(".flexmls_connect__search").each(function(t,e){new n.a(e)}),jQuery.ajaxSetup({error:function(t,e,i){console.log("Ajax Error Detected")}}),jQuery("input[data-connect-default], textarea[data-connect-default]").each(function(t,e){var i=jQuery(e),n=i.val()?"flexmls_connect__active_color":"flexmls_connect__inactive_color",o=i.val()?i.val():i.attr("data-connect-default");i.addClass(n).val(o).focus(function(){i.val()===i.attr("data-connect-default")&&i.val(""),i.removeClass("flexmls_connect__inactive_color").removeClass("flexmls_connect__error_color").addClass("flexmls_connect__active_color")}).blur(function(){""===i.val()&&i.val(i.attr("data-connect-default")).removeClass("flexmls_connect__active_color").removeClass("flexmls_connect__inactive_color").removeClass("flexmls_connect__error_color").addClass(i.data("connect-error")?"flexmls_connect__error_color":"flexmls_connect__inactive_color")})}),jQuery("form[data-connect-validate=true]").submit(function(){var t=!1;if(jQuery("input[data-connect-validate='text'], textarea[data-connect-default]",jQuery(this)).each(function(e,i){""===jQuery(i).val()||jQuery(i).val()===jQuery(i).attr("data-connect-default")?(o.inputValidate(i,!1),t=!0):o.inputValidate(i,!0)}),jQuery("input[data-connect-validate='phone']",jQuery(this)).each(function(e,i){/\d{7,}/i.test(jQuery(i).val().replace(/[\s()+-]|ext\.?/gi,""))?o.inputValidate(i,!0):(o.inputValidate(i,!1),t=!0)}),jQuery("input[data-connect-validate='email']",jQuery(this)).each(function(e,i){o.isValidEmailAddress(jQuery(i).val())?o.inputValidate(i,!0):(o.inputValidate(i,!1),t=!0)}),jQuery("input[data-connect-validate='captcha']",jQuery(this)).each(function(e,i){jQuery(i).val()===jQuery("input[name='captcha-answer']").val()?o.inputValidate(i,!0):(o.inputValidate(i,!1),t=!0)}),t)return!1;if("true"===jQuery(this).attr("data-connect-ajax")){var e=jQuery(this);return jQuery.getJSON(jQuery(this).attr("action"),jQuery(this).serialize(),function(t){var i;i="true"==t.success?jQuery("input[name='success-message']",e).val():t.message?t.message:jQuery("input[name='success-message']",e).val(),i=i.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/"/g,"""),jQuery.flexmls_connect__colorbox({html:"<center style='padding-right:27px'>"+i+"</center>"}),jQuery("input[type='text'], textarea",e).val("")}),!1}}),jQuery(".flexmls_connect__page_content").length>0&&(jQuery(".flexmls_connect__page_content").hover(function(){jQuery(this).addClass("over")},function(){jQuery(this).removeClass("over")}),jQuery("a.photo",".flexmls_connect__page_content").each(function(t){o.establishColorbox(jQuery(this),jQuery(this).closest(".flexmls_connect__sr_result"))}),jQuery("a.photo_click",".flexmls_connect__page_content").click(function(){jQuery("a.photo",jQuery(this).closest(".flexmls_connect__sr_result")).click()}),jQuery("a.video_click",".flexmls_connect__page_content").each(function(t){var e=jQuery(this).closest(".flexmls_connect__sr_result");o.establishColorbox(jQuery(this),e,jQuery(".flexmls_connect__hidden2",e),"fmcPhotos_additional_videos")}),jQuery("a.tour_click",".flexmls_connect__page_content").each(function(t){var e=jQuery(this).closest(".flexmls_connect__sr_result");o.establishColorbox(jQuery(this),e,jQuery(".flexmls_connect__hidden3",e),"fmcPhotos_additional_vtours")}),jQuery(".flexmls_connect__disclaimer a, .flexmls_connect__badge, .flexmls_connect__badge_image",".flexmls_connect__page_content").click(function(){jQuery.flexmls_connect__colorbox({width:"400px",html:jQuery(".flexmls_connect__disclaimer_text",".flexmls_connect__page_content").html().replace(/<script.*?<\/script>/g,"")})}),jQuery("button[href]",".flexmls_connect__page_content").click(function(){document.location.href=jQuery(this).attr("href")}),jQuery(".flexmls_connect_hasJavaScript").show()),jQuery(".flexmls_connect__page_content, .flexmls_connect__search_results_v2").length>0&&(0==navigator.cookieEnabled&&jQuery(".listingsperpage").hide(),jQuery(".listingsperpage").change(function(){var t=this.value,e=new Date;e.setTime(e.getTime()+432e6);var i="; expires="+e.toGMTString();e=null,document.cookie=escape("flexmlswordpressplugin")+"="+escape(t)+i+"; path=/",window.location.href=o.edit_url_value("pg","1")}),jQuery(".flex_orderby").change(function(){var t=o.edit_url_value("pg","1");t=o.edit_url_value("OrderBy",this.value,t),window.location.href=t})),jQuery(".flexmls_connect__sr_detail, .flexmls-listing-details.flexmls-v2-widget").length>0){if(jQuery(".fmc_document_pdf").click(function(){window.open(jQuery(this).attr("Value"))}),jQuery(".fmc_document_colorbox").click(function(){jQuery.flexmls_connect__colorbox({href:jQuery(this).attr("value")})}),jQuery("button[href]",".flexmls_connect__prev_next").click(function(){document.location.href=jQuery(this).attr("href")}),jQuery(".flexmls_connect__filmstrip img").click(function(){o.changeFilmstrip(1*jQuery(this).attr("ind"),null,jQuery(this).closest(".flexmls_connect__sr_detail"))}).hover(function(){jQuery(this).addClass("filmstrip_over")},function(){jQuery(this).removeClass("filmstrip_over")}),jQuery(".flexmls_connect__photo_switcher").each(function(t){jQuery("button:first",jQuery(this)).click(function(){o.changeFilmstrip(null,"prev",jQuery(this).closest(".flexmls_connect__sr_detail"))}),jQuery("button:last",jQuery(this)).click(function(){o.changeFilmstrip(null,"next",jQuery(this).closest(".flexmls_connect__sr_detail"))})}),jQuery(".flexmls_connect__hidden a").each(function(t){o.establishColorbox(jQuery(this),jQuery(".flexmls_connect__sr_detail"))}),jQuery("button.photo_click, .flexmls_connect__main_image").click(function(){var t=parseInt(jQuery(".flexmls_connect__photo_switcher span").text())-1;jQuery(".flexmls_connect__hidden a")[t].click()}),jQuery("button.video_click",".flexmls_connect__sr_detail").each(function(t){var e=jQuery(this).closest(".flexmls_connect__sr_detail");o.establishColorbox(jQuery(this),e,jQuery(".flexmls_connect__hidden2",e),"fmcPhotos_additional_videos")}),jQuery("button.tour_click",".flexmls_connect__sr_detail").each(function(t){var e=jQuery(this).closest(".flexmls_connect__sr_detail");o.establishColorbox(jQuery(this),e,jQuery(".flexmls_connect__hidden3",e),"fmcPhotos_additional_vtours")}),jQuery(".flexmls_connect__tab").click(function(){jQuery(this).hasClass("active")||(jQuery(".flexmls_connect__tab_group").css("display","none"),jQuery("#"+jQuery(this).attr("group")).css("display",""),jQuery(".flexmls_connect__tab").removeClass("active"),jQuery(this).addClass("active"))}),jQuery("#flexmls_connect__map_canvas").length>0){var e=!0,i=new google.maps.LatLng(jQuery("#flexmls_connect__map_canvas").attr("latitude"),jQuery("#flexmls_connect__map_canvas").attr("longitude")),s={zoom:16,center:i,mapTypeId:google.maps.MapTypeId.ROADMAP},a=new google.maps.Map(document.getElementById("flexmls_connect__map_canvas"),s);google.maps.event.addListener(a,"idle",function(){e&&(jQuery("#flexmls_connect__map_group").css("display","none"),e=!1)});new google.maps.Marker({position:i,map:a,title:jQuery(".flexmls_connect__sr_detail").attr("title")})}jQuery(document).keydown(function(t){0==jQuery(".flexmls_connect__colorbox_address").length&&(37==t.keyCode?jQuery(".flexmls_connect__photo_switcher button:first").click():39==t.keyCode&&jQuery(".flexmls_connect__photo_switcher button:last").click())})}}),window.flexmls_connect=o},function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n=i(0),o=function(t){function e(e){this.widgetContainer=t(e),this.locationSearchInput=t(this.widgetContainer).find(".flexmlsLocationSearch"),this.portalSlug=this.locationSearchInput.attr("data-portal-slug"),this.init()}return e.prototype={constructor:e,init:function(){this.locationSearchInput.length&&(this.locationSearch=new n.LocationSearch(this.locationSearchInput,{portalSlug:this.portalSlug})),this.widgetContainer.find("form").submit(this.handleSubmit.bind(this)),this.bindPropertyTypeCheckboxes()},bindPropertyTypeCheckboxes:function(){var e=t(".flexmls_connect__search_new_property_type",this.widgetContainer),i=this;e.children("input").change(function(){var n=e.children("input:checked");if(1===n.length){var o="#flexmls_connect__search_new_subtypes_for_"+n.val();t(o,i.widgetContainer).show()}else t(".flexmls_connect__search_new_subtypes",i.widgetContainer).hide(),t(".flexmls_connect__search_new_subtypes input",i.widgetContainer).prop("checked",!1)}).change()},getLocations:function(){var t={},e=[];null!=this.locationSearch&&this.locationSearch.selectedValues().forEach(function(t){e.push(t.fieldName+"="+encodeURIComponent(t.value))});for(var i=0;i<e.length;i++){var n=e[i].split("="),o=n.shift();t[o]?t[o]+=","+n.join("="):t[o]=n.join("=")}return t},handleSubmit:function(e){var i=t("input[name='fmc_do']",this.widgetContainer).length>0,n=this.getLocations();if(i){var o="";for(var s in n)o+=(""===o?"":"&")+s+"="+n[s];if(t("input[name='PropertyType[]']",this.widgetContainer).length){var a=[];t("input[name='PropertyType[]']",this.widgetContainer).each(function(t,e){this.checked&&a.push(this.value)}),o+="&PropertyType="+a.join(",")}else t("input[name='PropertyType']",this.widgetContainer).length>0&&(o+="&PropertyType="+t("input[name='PropertyType']",this.widgetContainer).val());t("div[data-connect-type='number']",this.widgetContainer).each(function(e,i){var n=t(i).attr("data-connect-field");if(n){var s=t("input",i).first(),a=t("input",i).last(),r=s.val(),l=s.attr("data-connect-default"),c=a.val(),h=a.attr("data-connect-default");r==l&&c==h||(o+=r==c?"&"+n+"="+r:r==l?"&"+n+"=<"+c:c==h?"&"+n+"=>"+r:"&"+n+"="+r+","+c),r==l&&s.val(""),c==h&&a.val("")}}),t("input[name='query']",this.widgetContainer).val(o)}else{var r=t("div.query",this.widgetContainer);t("input",r).remove();for(var s in n)t("<input type='hidden' name='"+s+"' value=\""+decodeURIComponent(n[s])+'" />').appendTo(r);t("div[data-connect-type='number']",this.widgetContainer).each(function(e,i){var n=t("input",i).first(),o=t("input",i).last();n.val()==n.attr("data-connect-default")&&(n.val(""),n.prop("disabled",!0)),o.val()==o.attr("data-connect-default")&&(o.val(""),o.prop("disabled",!0))})}}},e}(jQuery)},function(t,e){!function(t,e,i){function n(i,n,o){var s=e.createElement(i);return n&&(s.id=J+n),o&&(s.style.cssText=o),t(s)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function s(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==Z[e]&&(this.cache[e]=Z[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function a(t){var e=S.length,i=(H+t)%e;return i<0?e+i:i}function r(t,e){return Math.round((/%/.test(t)?("x"===e?M.width():o())/100:1)*parseInt(t,10))}function l(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function c(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function h(t){"contains"in _[0]&&!_[0].contains(t.target)&&t.target!==x[0]&&(t.stopPropagation(),_.focus())}function u(t){u.str!==t&&(_.add(x).removeClass(u.str).addClass(t),u.str=t)}function d(e){H=0,e&&!1!==e&&"nofollow"!==e?(S=t("."+tt).filter(function(){return new s(this,t.data(this,K)).get("rel")===e}),-1===(H=S.index(D.el))&&(S=S.add(D.el),H=S.length-1)):S=t(D.el)}function p(i){t(e).trigger(i),rt.triggerHandler(i)}function f(i){var o;if(!q){if(o=t(i).data(K),D=new s(i,o),d(D.get("rel")),!V){V=Y=!0,u(D.get("className")),_.css({visibility:"hidden",display:"block",opacity:""}),j=n(lt,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),w.css({width:"",height:""}).append(j),R=b.height()+C.height()+w.outerHeight(!0)-w.height(),W=T.width()+k.width()+w.outerWidth(!0)-w.width(),F=j.outerHeight(!0),$=j.outerWidth(!0);var a=r(D.get("initialWidth"),"x"),l=r(D.get("initialHeight"),"y"),c=D.get("maxWidth"),f=D.get("maxHeight");D.w=(!1!==c?Math.min(a,r(c,"x")):a)-$-W,D.h=(!1!==f?Math.min(l,r(f,"y")):l)-F-R,j.css({width:"",height:D.h}),G.position(),p(et),D.get("onOpen"),O.add(Q).hide(),_.focus(),D.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",h,!0),rt.one(st,function(){e.removeEventListener("focus",h,!0)})),D.get("returnFocus")&&rt.one(st,function(){t(D.el).focus()})}var m=parseFloat(D.get("opacity"));x.css({opacity:m===m?m:"",cursor:D.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),D.get("closeButton")?N.html(D.get("close")).appendTo(w):N.appendTo("<div/>"),v()}}function m(){_||(U=!1,M=t(i),_=n(lt).attr({id:K,class:!1===t.support.opacity?J+"IE":"",role:"dialog",tabindex:"-1"}).hide(),x=n(lt,"Overlay").hide(),z=t([n(lt,"LoadingOverlay")[0],n(lt,"LoadingGraphic")[0]]),y=n(lt,"Wrapper"),w=n(lt,"Content").append(Q=n(lt,"Title"),L=n(lt,"Current"),I=t('<button type="button"/>').attr({id:J+"Previous"}),A=t('<button type="button"/>').attr({id:J+"Next"}),E=n("button","Slideshow"),z),N=t('<button type="button"/>').attr({id:J+"Close"}),y.append(n(lt).append(n(lt,"TopLeft"),b=n(lt,"TopCenter"),n(lt,"TopRight")),n(lt,!1,"clear:left").append(T=n(lt,"MiddleLeft"),w,k=n(lt,"MiddleRight")),n(lt,!1,"clear:left").append(n(lt,"BottomLeft"),C=n(lt,"BottomCenter"),n(lt,"BottomRight"))).find("div div").css({float:"left"}),P=n(lt,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=A.add(I).add(L).add(E)),e.body&&!_.parent().length&&t(e.body).append(x,_.append(y,P))}function g(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return!!_&&(U||(U=!0,A.click(function(){G.next()}),I.click(function(){G.prev()}),N.click(function(){G.close()}),x.click(function(){D.get("overlayClose")&&G.close()}),t(e).bind("keydown."+J,function(t){var e=t.keyCode;V&&D.get("escKey")&&27===e&&(t.preventDefault(),G.close()),V&&D.get("arrowKey")&&S[1]&&!t.altKey&&(37===e?(t.preventDefault(),I.click()):39===e&&(t.preventDefault(),A.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+J,"."+tt,i):t("."+tt).live("click."+J,i)),!0)}function v(){var e,o,s,a=G.prep,h=++ct;if(Y=!0,B=!1,p(at),p(it),D.get("onLoad"),D.h=D.get("height")?r(D.get("height"),"y")-F-R:D.get("innerHeight")&&r(D.get("innerHeight"),"y"),D.w=D.get("width")?r(D.get("width"),"x")-$-W:D.get("innerWidth")&&r(D.get("innerWidth"),"x"),D.mw=D.w,D.mh=D.h,D.get("maxWidth")&&(D.mw=r(D.get("maxWidth"),"x")-$-W,D.mw=D.w&&D.w<D.mw?D.w:D.mw),D.get("maxHeight")&&(D.mh=r(D.get("maxHeight"),"y")-F-R,D.mh=D.h&&D.h<D.mh?D.h:D.mh),e=D.get("href"),X=setTimeout(function(){z.show()},100),D.get("inline")){var u=t(e);s=t("<div>").hide().insertBefore(u),rt.one(at,function(){s.replaceWith(u)}),a(u)}else D.get("iframe")?a(" "):D.get("html")?a(D.get("html")):l(D,e)?(e=c(D,e),B=new Image,t(B).addClass(J+"Photo").bind("error",function(){a(n(lt,"Error").html(D.get("imgError")))}).one("load",function(){h===ct&&setTimeout(function(){var e;t.each(["alt","longdesc","aria-describedby"],function(e,i){var n=t(D.el).attr(i)||t(D.el).attr("data-"+i);n&&B.setAttribute(i,n)}),D.get("retinaImage")&&i.devicePixelRatio>1&&(B.height=B.height/i.devicePixelRatio,B.width=B.width/i.devicePixelRatio),D.get("scalePhotos")&&(o=function(){B.height-=B.height*e,B.width-=B.width*e},D.mw&&B.width>D.mw&&(e=(B.width-D.mw)/B.width,o()),D.mh&&B.height>D.mh&&(e=(B.height-D.mh)/B.height,o())),D.h&&(B.style.marginTop=Math.max(D.mh-B.height,0)/2+"px"),S[1]&&(D.get("loop")||S[H+1])&&(B.style.cursor="pointer",B.onclick=function(){G.next()}),B.style.width=B.width+"px",B.style.height=B.height+"px",a(B)},1)}),B.src=e):e&&P.load(e,D.get("data"),function(e,i){h===ct&&a("error"===i?n(lt,"Error").html(D.get("xhrError")):t(this).contents())})}var x,_,y,w,b,T,k,C,S,M,j,P,z,Q,L,E,A,I,N,O,D,R,W,F,$,H,B,V,Y,q,X,G,U,Z={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title}},K="flexmls_connect__colorbox",J="flexmls_connect__cbox",tt=J+"Element",et=J+"_open",it=J+"_load",nt=J+"_complete",ot=J+"_cleanup",st=J+"_closed",at=J+"_purge",rt=t("<a/>"),lt="div",ct=0,ht={},ut=function(){function t(){clearTimeout(a)}function e(){(D.get("loop")||S[H+1])&&(t(),a=setTimeout(G.next,D.get("slideshowSpeed")))}function i(){E.html(D.get("slideshowStop")).unbind(l).one(l,n),rt.bind(nt,e).bind(it,t),_.removeClass(r+"off").addClass(r+"on")}function n(){t(),rt.unbind(nt,e).unbind(it,t),E.html(D.get("slideshowStart")).unbind(l).one(l,function(){G.next(),i()}),_.removeClass(r+"on").addClass(r+"off")}function o(){s=!1,E.hide(),t(),rt.unbind(nt,e).unbind(it,t),_.removeClass(r+"off "+r+"on")}var s,a,r=J+"Slideshow_",l="click."+J;return function(){s?D.get("slideshow")||(rt.unbind(ot,o),o()):D.get("slideshow")&&S[1]&&(s=!0,rt.one(ot,o),D.get("slideshowAuto")?i():n(),E.show())}}();t[K]||(t(m),G=t.fn[K]=t[K]=function(e,i){var n,o=this;if(e=e||{},t.isFunction(o))o=t("<a/>"),e.open=!0;else if(!o[0])return o;return o[0]?(m(),g()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,K)||{};t.data(this,K,t.extend(i,e))}).addClass(tt),n=new s(o[0],e),n.get("open")&&f(o[0])),o):o},G.position=function(e,i){function n(){b[0].style.width=C[0].style.width=w[0].style.width=parseInt(_[0].style.width,10)-W+"px",w[0].style.height=T[0].style.height=k[0].style.height=parseInt(_[0].style.height,10)-R+"px"}var s,a,l,c=0,h=0,u=_.offset();if(M.unbind("resize."+J),_.css({top:-9e4,left:-9e4}),a=M.scrollTop(),l=M.scrollLeft(),D.get("fixed")?(u.top-=a,u.left-=l,_.css({position:"fixed"})):(c=a,h=l,_.css({position:"absolute"})),!1!==D.get("right")?h+=Math.max(M.width()-D.w-$-W-r(D.get("right"),"x"),0):!1!==D.get("left")?h+=r(D.get("left"),"x"):h+=Math.round(Math.max(M.width()-D.w-$-W,0)/2),!1!==D.get("bottom")?c+=Math.max(o()-D.h-F-R-r(D.get("bottom"),"y"),0):!1!==D.get("top")?c+=r(D.get("top"),"y"):c+=Math.round(Math.max(o()-D.h-F-R,0)/2),_.css({top:u.top,left:u.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",s={width:D.w+$+W,height:D.h+F+R,top:c,left:h},e){var d=0;t.each(s,function(t){if(s[t]!==ht[t])return void(d=e)}),e=d}ht=s,e||_.css(s),_.dequeue().animate(s,{duration:e||0,complete:function(){n(),Y=!1,y[0].style.width=D.w+$+W+"px",y[0].style.height=D.h+F+R+"px",D.get("reposition")&&setTimeout(function(){M.bind("resize."+J,G.position)},1),t.isFunction(i)&&i()},step:n})},G.resize=function(t){var e;V&&(t=t||{},t.width&&(D.w=r(t.width,"x")-$-W),t.innerWidth&&(D.w=r(t.innerWidth,"x")),j.css({width:D.w}),t.height&&(D.h=r(t.height,"y")-F-R),t.innerHeight&&(D.h=r(t.innerHeight,"y")),t.innerHeight||t.height||(e=j.scrollTop(),j.css({height:"auto"}),D.h=j.height()),j.css({height:D.h}),e&&j.scrollTop(e),G.position("none"===D.get("transition")?0:D.get("speed")))},G.prep=function(i){if(V){var o,r="none"===D.get("transition")?0:D.get("speed");j.remove(),j=n(lt,"LoadedContent").append(i),j.hide().appendTo(P.show()).css({width:function(){return D.w=D.w||j.width(),D.w=D.mw&&D.mw<D.w?D.mw:D.w,D.w}(),overflow:D.get("scrolling")?"auto":"hidden"}).css({height:function(){return D.h=D.h||j.height(),D.h=D.mh&&D.mh<D.h?D.mh:D.h,D.h}()}).prependTo(w),P.hide(),t(B).css({float:"none"}),u(D.get("className")),o=function(){function i(){!1===t.support.opacity&&_[0].style.removeAttribute("filter")}var n,o,h=S.length;V&&(o=function(){clearTimeout(X),z.hide(),p(nt),D.get("onComplete")},Q.html(D.get("title")).show(),j.show(),h>1?("string"===typeof D.get("current")&&L.html(D.get("current").replace("{current}",H+1).replace("{total}",h)).show(),A[D.get("loop")||H<h-1?"show":"hide"]().html(D.get("next")),I[D.get("loop")||H?"show":"hide"]().html(D.get("previous")),ut(),D.get("preloading")&&t.each([a(-1),a(1)],function(){var i,n=S[this],o=new s(n,t.data(n,K)),a=o.get("href");a&&l(o,a)&&(a=c(o,a),i=e.createElement("img"),i.src=a)})):O.hide(),D.get("iframe")?(n=e.createElement("iframe"),"frameBorder"in n&&(n.frameBorder=0),"allowTransparency"in n&&(n.allowTransparency="true"),D.get("scrolling")||(n.scrolling="no"),t(n).attr({src:D.get("href"),name:(new Date).getTime(),class:J+"Iframe",allowFullScreen:!0}).one("load",o).appendTo(j),rt.one(at,function(){n.src="//about:blank"}),D.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===D.get("transition")?_.fadeTo(r,1,i):i())},"fade"===D.get("transition")?_.fadeTo(r,0,function(){G.position(0,o)}):G.position(r,o)}},G.next=function(){!Y&&S[1]&&(D.get("loop")||S[H+1])&&(H=a(1),f(S[H]))},G.prev=function(){!Y&&S[1]&&(D.get("loop")||H)&&(H=a(-1),f(S[H]))},G.close=function(){V&&!q&&(q=!0,V=!1,p(ot),D.get("onCleanup"),M.unbind("."+J),x.fadeTo(D.get("fadeOut")||0,0),_.stop().fadeTo(D.get("fadeOut")||0,0,function(){_.hide(),x.hide(),p(at),j.remove(),setTimeout(function(){q=!1,p(st),D.get("onClosed")},1)}))},G.remove=function(){_&&(_.stop(),t[K].close(),_.stop(!1,!0).remove(),x.remove(),q=!1,_=null,t("."+tt).removeData(K).removeClass(tt),t(e).unbind("click."+J).unbind("keydown."+J))},G.element=function(){return t(D.el)},G.settings=Z)}(jQuery,document,window)},function(t,e){var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t,e,n,o){function s(e,i){this.settings=null,this.options=t.extend({},s.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy(function(e,i){this._handlers[i]=t.proxy(this[i],this)},this)),t.each(s.Plugins,t.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),t.each(s.Workers,t.proxy(function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})},this)),this.setup(),this.initialize()}s.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},s.Width={Default:"default",Inner:"inner",Outer:"outer"},s.Type={Event:"event",State:"state"},s.Plugins={},s.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,o={width:"auto","margin-left":n?e:"","margin-right":n?"":e};!i&&this.$stage.children().css(o),t.css=o}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,o=!this.settings.autoWidth,s=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,s[n]=o?e*i:this._items[n].width();this._widths=s}},{filter:["items","settings"],run:function(){var e=[],i=this._items,n=this.settings,o=Math.max(2*n.items,4),s=2*Math.ceil(i.length/2),a=n.loop&&i.length?n.rewind?o:Math.max(o,s):0,r="",l="";for(a/=2;a>0;)e.push(this.normalize(e.length/2,!0)),r+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),l=i[e[e.length-1]][0].outerHTML+l,a-=1;this._clones=e,t(r).addClass("cloned").appendTo(this.$stage),t(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,n=0,o=0,s=[];++i<e;)n=s[i-1]||0,o=this._widths[this.relative(i)]+this.settings.margin,s.push(n+o*t);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],n.eq(e).css(t.css);else i&&(t.css.width=t.items.width,n.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,n,o=this.settings.rtl?1:-1,s=2*this.settings.stagePadding,a=this.coordinates(this.current())+s,r=a+this.width()*o,l=[];for(i=0,n=this._coordinates.length;i<n;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+s*o,(this.op(t,"<=",a)&&this.op(t,">",r)||this.op(e,"<",a)&&this.op(e,">",r))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],s.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},s.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");if(e.length)return this._items=e.get().map(function(e){return t(e)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},s.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var t,e,i;t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:void 0,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t)}this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},s.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},s.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,n=-1,o=null;i?(t.each(i,function(t){t<=e&&t>n&&(n=Number(t))}),o=t.extend({},this.options,i[n]),"function"===typeof o.stagePadding&&(o.stagePadding=o.stagePadding()),delete o.responsive,o.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):o=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:o}}),this._breakpoint=n,this.settings=o,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},s.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},s.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},s.prototype.update=function(){for(var e=0,i=this._pipe.length,n=t.proxy(function(t){return this[t]},this._invalidated),o={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,n).length>0)&&this._pipe[e].run(o),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},s.prototype.width=function(t){switch(t=t||s.Width.Default){case s.Width.Inner:case s.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},s.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},s.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},s.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},s.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},s.prototype.onDragStart=function(e){var i=null;3!==e.which&&(t.support.transform?(i=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),i={x:i[16===i.length?12:4],y:i[16===i.length?13:5]}):(i=this.$stage.position(),i={x:this.settings.rtl?i.left+this.$stage.width()-this.width()+this.settings.margin:i.left,y:i.top}),this.is("animating")&&(t.support.transform?this.animate(i.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=i,this._drag.stage.current=i,this._drag.pointer=this.pointer(e),t(n).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(n).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var i=this.difference(this._drag.pointer,this.pointer(e));t(n).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(i.x)<Math.abs(i.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},s.prototype.onDragMove=function(t){var e=null,i=null,n=null,o=this.difference(this._drag.pointer,this.pointer(t)),s=this.difference(this._drag.stage.start,o);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,s.x=((s.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),n=this.settings.pullDrag?-1*o.x/5:0,s.x=Math.max(Math.min(s.x,e+n),i+n)),this._drag.stage.current=s,this.animate(s.x))},s.prototype.onDragEnd=function(e){var i=this.difference(this._drag.pointer,this.pointer(e)),o=this._drag.stage.current,s=i.x>0^this.settings.rtl?"left":"right";t(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==i.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(o.x,0!==i.x?s:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=s,(Math.abs(i.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},s.prototype.closest=function(e,i){var n=-1,o=this.width(),s=this.coordinates();return this.settings.freeDrag||t.each(s,t.proxy(function(t,a){return"left"===i&&e>a-30&&e<a+30?n=t:"right"===i&&e>a-o-30&&e<a-o+30?n=t+1:this.op(e,"<",a)&&this.op(e,">",void 0!==s[t+1]?s[t+1]:a-o)&&(n="left"===i?t+1:t),-1===n},this)),this.settings.loop||(this.op(e,">",s[this.minimum()])?n=e=this.minimum():this.op(e,"<",s[this.maximum()])&&(n=e=this.maximum())),n},s.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},s.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},s.prototype.current=function(t){if(void 0===t)return this._current;if(0!==this._items.length){if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});void 0!==e.data&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current}},s.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(t,e){return e})},s.prototype.reset=function(t){void 0!==(t=this.normalize(t))&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},s.prototype.normalize=function(t,e){var i=this._items.length,n=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=void 0:(t<0||t>=i+n)&&(t=((t-n/2)%i+i)%i+n/2),t},s.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},s.prototype.maximum=function(t){var e,i,n,o=this.settings,s=this._coordinates.length;if(o.loop)s=this._clones.length/2+this._items.length-1;else if(o.autoWidth||o.merge){if(e=this._items.length)for(i=this._items[--e].width(),n=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>n););s=e+1}else s=o.center?this._items.length-1:this._items.length-o.items;return t&&(s-=this._clones.length/2),Math.max(s,0)},s.prototype.minimum=function(t){return t?0:this._clones.length/2},s.prototype.items=function(t){return void 0===t?this._items.slice():(t=this.normalize(t,!0),this._items[t])},s.prototype.mergers=function(t){return void 0===t?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},s.prototype.clones=function(e){var i=this._clones.length/2,n=i+this._items.length,o=function(t){return t%2===0?n+t/2:i-(t+1)/2};return void 0===e?t.map(this._clones,function(t,e){return o(e)}):t.map(this._clones,function(t,i){return t===e?o(i):null})},s.prototype.speed=function(t){return void 0!==t&&(this._speed=t),this._speed},s.prototype.coordinates=function(e){var i,n=1,o=e-1;return void 0===e?t.map(this._coordinates,t.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(n=-1,o=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[o]||0))/2*n):i=this._coordinates[o]||0,i=Math.ceil(i))},s.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},s.prototype.to=function(t,e){var i=this.current(),n=null,o=t-this.relative(i),s=(o>0)-(o<0),a=this._items.length,r=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(o)>a/2&&(o+=-1*s*a),t=i+o,(n=((t-r)%a+a)%a+r)!==t&&n-o<=l&&n-o>0&&(i=n-o,t=n,this.reset(i))):this.settings.rewind?(l+=1,t=(t%l+l)%l):t=Math.max(r,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.isVisible()&&this.update()},s.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},s.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},s.prototype.onTransitionEnd=function(t){if(void 0!==t&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},s.prototype.viewport=function(){var i;return this.options.responsiveBaseElement!==e?i=t(this.options.responsiveBaseElement).width():e.innerWidth?i=e.innerWidth:n.documentElement&&n.documentElement.clientWidth?i=n.documentElement.clientWidth:console.warn("Can not detect viewport width."),i},s.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter(function(){return 1===this.nodeType}).each(t.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},s.prototype.add=function(e,i){var n=this.relative(this._current);i=void 0===i?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},s.prototype.remove=function(t){void 0!==(t=this.normalize(t,!0))&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},s.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy(function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy(function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))},s.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(n).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize));for(var i in this._plugins)this._plugins[i].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},s.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?t>i:t<i;case">":return n?t<i:t>i;case">=":return n?t<=i:t>=i;case"<=":return n?t>=i:t<=i}},s.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},s.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},s.prototype.trigger=function(e,i,n,o,a){var r={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,n],function(t){return t}).join("-").toLowerCase()),c=t.Event([e,"owl",n||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},r,i));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(c)}),this.register({type:s.Type.Event,name:e}),this.$element.trigger(c),this.settings&&"function"===typeof this.settings[l]&&this.settings[l].call(this,c)),c},s.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){void 0===this._states.current[e]&&(this._states.current[e]=0),this._states.current[e]++},this))},s.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]--},this))},s.prototype.register=function(e){if(e.type===s.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===s.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(i,n){return t.inArray(i,this._states.tags[e.name])===n},this)))},s.prototype.suppress=function(e){t.each(e,t.proxy(function(t,e){this._supress[e]=!0},this))},s.prototype.release=function(e){t.each(e,t.proxy(function(t,e){delete this._supress[e]},this))},s.prototype.pointer=function(t){var i={x:null,y:null};return t=t.originalEvent||t||e.event,t=t.touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,t.pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},s.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},s.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var o=t(this),a=o.data("owl.carousel");a||(a=new s(this,"object"==("undefined"===typeof e?"undefined":i(e))&&e),o.data("owl.carousel",a),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,i){a.register({type:s.Type.Event,name:i}),a.$element.on(i+".owl.carousel.core",t.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),a[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},a))})),"string"==typeof e&&"_"!==e.charAt(0)&&a[e].apply(a,n)})},t.fn.owlCarousel.Constructor=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function e(i){this._core=i,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};o.Defaults={autoRefresh:!0,autoRefreshInterval:500},o.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},o.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},o.prototype.destroy=function(){var t,i;e.clearInterval(this._interval);for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function e(i){this._core=i,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var i=this._core.settings,n=i.center&&Math.ceil(i.items/2)||i.items,o=i.center&&-1*n||0,s=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+o,a=this._core.clones().length,r=t.proxy(function(t,e){this.load(e)},this);for(i.lazyLoadEager>0&&(n+=i.lazyLoadEager,i.loop&&(s-=i.lazyLoadEager,n++));o++<n;)this.load(a/2+this._core.relative(s)),a&&t.each(this._core.clones(this._core.relative(s)),r),s++}},this)},this._core.options=t.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};o.Defaults={lazyLoad:!1,lazyLoadEager:0},o.prototype.load=function(i){var n=this._core.$stage.children().eq(i),o=n&&n.find(".owl-lazy");!o||t.inArray(n.get(0),this._loaded)>-1||(o.each(t.proxy(function(i,n){var o,s=t(n),a=e.devicePixelRatio>1&&s.attr("data-src-retina")||s.attr("data-src")||s.attr("data-srcset");this._core.trigger("load",{element:s,url:a},"lazy"),s.is("img")?s.one("load.owl.lazy",t.proxy(function(){s.css("opacity",1),this._core.trigger("loaded",{element:s,url:a},"lazy")},this)).attr("src",a):s.is("source")?s.one("load.owl.lazy",t.proxy(function(){this._core.trigger("loaded",{element:s,url:a},"lazy")},this)).attr("srcset",a):(o=new Image,o.onload=t.proxy(function(){s.css({"background-image":'url("'+a+'")',opacity:"1"}),this._core.trigger("loaded",{element:s,url:a},"lazy")},this),o.src=a)},this)),this._loaded.push(n.get(0)))},o.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function i(n){this._core=n,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()},this),"loaded.owl.lazy":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var o=this;t(e).on("load",function(){o._core.settings.autoHeight&&o.update()}),t(e).resize(function(){o._core.settings.autoHeight&&(null!=o._intervalId&&clearTimeout(o._intervalId),o._intervalId=setTimeout(function(){o.update()},250))})};o.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},o.prototype.update=function(){var e=this._core._current,i=e+this._core.settings.items,n=this._core.settings.lazyLoad,o=this._core.$stage.children().toArray().slice(e,i),s=[],a=0;t.each(o,function(e,i){s.push(t(i).height())}),a=Math.max.apply(null,s),a<=1&&n&&this._previousHeight&&(a=this._previousHeight),this._previousHeight=a,this._core.$stage.parent().height(a).addClass(this._core.settings.autoHeightClass)},o.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!==typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function e(i){this._core=i,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}},this)},this._core.options=t.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.play(t)},this))};o.Defaults={video:!1,videoHeight:!1,videoWidth:!1},o.prototype.fetch=function(t,e){var i=function(){return t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube"}(),n=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),o=t.attr("data-width")||this._core.settings.videoWidth,s=t.attr("data-height")||this._core.settings.videoHeight,a=t.attr("href");if(!a)throw new Error("Missing video URL.");if(n=a.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),n[3].indexOf("youtu")>-1)i="youtube";else if(n[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(n[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[a]={type:i,id:n,width:o,height:s},e.attr("data-video",a),this.thumbnail(t,this._videos[a])},o.prototype.thumbnail=function(e,i){var n,o,s,a=i.width&&i.height?"width:"+i.width+"px;height:"+i.height+"px;":"",r=e.find("img"),l="src",c="",h=this._core.settings,u=function(i){o='<div class="owl-video-play-icon"></div>',n=h.lazyLoad?t("<div/>",{class:"owl-video-tn "+c,srcType:i}):t("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),e.after(n),e.after(o)};if(e.wrap(t("<div/>",{class:"owl-video-wrapper",style:a})),this._core.settings.lazyLoad&&(l="data-src",c="owl-lazy"),r.length)return u(r.attr(l)),r.remove(),!1;"youtube"===i.type?(s="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",u(s)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t[0].thumbnail_large,u(s)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t.framegrab_url,u(s)}})},o.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},o.prototype.play=function(e){var i,n=t(e.target),o=n.closest("."+this._core.settings.itemClass),s=this._videos[o.attr("data-video")],a=s.width||"100%",r=s.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),o=this._core.items(this._core.relative(o.index())),this._core.reset(o.index()),i=t('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>'),i.attr("height",r),i.attr("width",a),"youtube"===s.type?i.attr("src","//www.youtube.com/embed/"+s.id+"?autoplay=1&rel=0&v="+s.id):"vimeo"===s.type?i.attr("src","//player.vimeo.com/video/"+s.id+"?autoplay=1"):"vzaar"===s.type&&i.attr("src","//view.vzaar.com/"+s.id+"/player?autoplay=true"),t(i).wrap('<div class="owl-video-frame" />').insertAfter(o.find(".owl-video")),this._playing=o.addClass("owl-video-playing"))},o.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},o.prototype.destroy=function(){var t,e;this._core.$element.off("click.owl.video");for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function e(i){this.core=i,this.core.options=t.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};o.Defaults={animateOut:!1,animateIn:!1},o.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),o=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,a=this.core.settings.animateOut;this.core.current()!==this.previous&&(a&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(a)),s&&o.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(s))}},o.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},o.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function e(i){this._core=i,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":t.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},e.Defaults,this._core.options)};o.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},o.prototype._next=function(n){this._call=e.setTimeout(t.proxy(this._next,this,n),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)},o.prototype.read=function(){return(new Date).getTime()-this._time},o.prototype.play=function(i,n){var o;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,o=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%i-o,this._timeout=i,this._call=e.setTimeout(t.proxy(this._next,this,n),i-o)},o.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"))},o.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call))},o.prototype.destroy=function(){var t,e;this.stop();for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var o=function e(i){this._core=i,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=t.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};o.Defaults={nav:!1,navText:['<span aria-label="Previous">‹</span>','<span aria-label="Next">›</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},o.prototype.initialize=function(){var e,i=this._core.settings;this._controls.$relative=(i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[t('<button role="button">').addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",t.proxy(function(e){var n=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(n,i.dotsSpeed)},this));for(e in this._overrides)this._core[e]=t.proxy(this[e],this)},o.prototype.destroy=function(){var t,e,i,n,o;o=this._core.settings;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&o.navContainer?this._controls[e].html(""):this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},o.prototype.update=function(){var t,e,i,n=this._core.clones().length/2,o=n+this._core.items().length,s=this._core.maximum(!0),a=this._core.settings,r=a.center||a.autoWidth||a.dotsData?1:a.dotsEach||a.items;if("page"!==a.slideBy&&(a.slideBy=Math.min(a.slideBy,a.items)),a.dots||"page"==a.slideBy)for(this._pages=[],t=n,e=0,i=0;t<o;t++){if(e>=r||0===e){if(this._pages.push({start:Math.min(s,t-n),end:t-n+r-1}),Math.min(s,t-n)===s)break;e=0,++i}e+=this._core.mergers(this._core.relative(t))}},o.prototype.draw=function(){var e,i=this._core.settings,n=this._core.items().length<=i.items,o=this._core.relative(this._core.current()),s=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||n),i.nav&&(this._controls.$previous.toggleClass("disabled",!s&&o<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!s&&o>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||n),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},o.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},o.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,i){return t.start<=e&&t.end>=e},this)).pop()},o.prototype.getPosition=function(e){var i,n,o=this._core.settings;return"page"==o.slideBy?(i=t.inArray(this.current(),this._pages),n=this._pages.length,e?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this._core.relative(this._core.current()),n=this._core.items().length,e?i+=o.slideBy:i-=o.slideBy),i},o.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},o.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},o.prototype.to=function(e,i,n){var o;!n&&this._pages.length?(o=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%o+o)%o].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var o=function i(n){this._core=n,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}},this),"changed.owl.carousel":t.proxy(function(i){if(i.namespace&&"position"===i.property.name){var n=this._core.items(this._core.relative(this._core.current())),o=t.map(this._hashes,function(t,e){return t===n?e:null}).join();if(!o||e.location.hash.slice(1)===o)return;e.location.hash=o}},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var i=e.location.hash.substring(1),n=this._core.$stage.children(),o=this._hashes[i]&&n.index(this._hashes[i]);void 0!==o&&o!==this._core.current()&&this._core.to(this._core.relative(o),!1,!0)},this))};o.Defaults={URLhashListener:!1},o.prototype.destroy=function(){var i,n;t(e).off("hashchange.owl.navigation");for(i in this._handlers)this._core.$element.off(i,this._handlers[i]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){function o(e,i){var o=!1,s=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+r.join(s+" ")+s).split(" "),function(t,e){if(a[e]!==n)return o=!i||e,!1}),o}function s(t){return o(t,!0)}var a=t("<support>").get(0).style,r="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c={csstransforms:function(){return!!o("transform")},csstransforms3d:function(){return!!o("perspective")},csstransitions:function(){return!!o("transition")},cssanimations:function(){return!!o("animation")}};c.csstransitions()&&(t.support.transition=new String(s("transition")),t.support.transition.end=l.transition.end[t.support.transition]),c.cssanimations()&&(t.support.animation=new String(s("animation")),t.support.animation.end=l.animation.end[t.support.animation]),c.csstransforms()&&(t.support.transform=new String(s("transform")),t.support.transform3d=c.csstransforms3d())}(window.Zepto||window.jQuery,window,document)},function(t,e){!function(t){t.fn.autoSuggest=function(e,i){var n={asHtmlID:!1,startText:"Enter Name Here",emptyText:"No Results Found",preFill:{},limitText:"No More Selections Are Allowed",selectedItemProp:"value",selectedValuesProp:"value",searchObjProps:"value",queryParam:"q",retrieveLimit:!1,extraParams:"",matchCase:!1,minChars:1,keyDelay:400,resultsHighlight:!0,neverSubmit:!1,selectionLimit:!1,selectFirstDataItem:!1,showResultList:!0,start:function(){},selectionClick:function(t){},selectionAdded:function(t){},selectionRemoved:function(t){t.remove()},formatList:!1,beforeRetrieve:function(t){return t},retrieveComplete:function(t){return t},resultClick:function(t){},resultsComplete:function(){}},o=t.extend(n,i),s="object",a=0;if("string"==typeof e){s="string";var r=e}else{var l=e;for(k in e)e.hasOwnProperty(k)&&a++}if("object"==s&&a>0||"string"==s)return this.each(function(e){function i(){if(46==lastKeyPressCode||lastKeyPressCode>8&&lastKeyPressCode<32)return v.hide();var e=p.val().replace(/[\\]+|[\/]+/g,"");if(e!=j)if(j=e,e.length>=o.minChars)if(m.addClass("loading"),"string"==s){var i="";o.retrieveLimit&&(i="&limit="+encodeURIComponent(o.retrieveLimit)),o.beforeRetrieve&&(e=o.beforeRetrieve.call(this,e)),t.getJSON(r+"?"+o.queryParam+"="+encodeURIComponent(e)+i+o.extraParams,function(t){a=0;var i=o.retrieveComplete.call(this,t);for(k in i)i.hasOwnProperty(k)&&a++;n(i,e)})}else o.beforeRetrieve&&(e=o.beforeRetrieve.call(this,e)),n(l,e);else m.removeClass("loading"),v.hide()}function n(e,i){o.matchCase||(i=i.toLowerCase());var n=0;v.html(x.html("")).hide();for(var s=0;s<a;s++){var r=s;z++;var l=!1;if("value"==o.searchObjProps)var u=e[r].value;else for(var u="",d=o.searchObjProps.split(","),g=0;g<d.length;g++){var _=t.trim(d[g]);u=u+e[r][_]+" "}if(u&&(o.matchCase||(u=u.toLowerCase()),l=!0),l){var y=t('<li class="as-result-item" id="as-result-item-'+r+'"></li>').click(function(){var e=t(this).data("data"),i=e.num;if(t("#as-selection-"+i,m).length<=0&&!P){var n=e.attributes;p.val("").focus(),j="",h(n,i),o.resultClick.call(this,e),v.hide()}P=!1}).mousedown(function(){f=!1}).mouseover(function(){t("li",x).removeClass("active"),t(this).addClass("active")}).data("data",{attributes:e[r],num:z}),w=t.extend({},e[r]);if(o.matchCase)var b=new RegExp("(?![^&;]+;)(?!<[^<>]*)("+i+")(?![^<>]*>)(?![^&;]+;)","g");else var b=new RegExp("(?![^&;]+;)(?!<[^<>]*)("+i+")(?![^<>]*>)(?![^&;]+;)","gi");if(o.resultsHighlight&&(w[o.selectedItemProp]=w[o.selectedItemProp].replace(b,"<em>$1</em>")),y=o.formatList?o.formatList.call(this,w,y):y.html(w[o.selectedItemProp]),x.append(y),w=null,n++,o.retrieveLimit&&o.retrieveLimit==n)break}}m.removeClass("loading"),n<=0&&x.html('<li class="as-message">'+o.emptyText+"</li>"),x.css("width",m.outerWidth()),v.show(),o.selectFirstDataItem&&c(),o.resultsComplete.call(this)}function c(){if(t(":visible",v).length>0){var e=t("li",v),i=e.eq(0),n=t("li.active:first",v);n.length>0&&(i=n.next()),e.removeClass("active"),i.addClass("active")}}function h(e,i){var n=encodeURIComponent(e.value.replace(/,/g,",").replace(/\\'/g,"'")),s="&"+e.name+"="+n;_.val(_.val()+s+",");var a=t('<li class="as-selection-item" id="as-selection-'+i+'"></li>').click(function(){o.selectionClick.call(this,t(this)),m.children().removeClass("selected"),t(this).addClass("selected")}).mousedown(function(){f=!1}),r=t('<a class="as-close">×</a>').click(function(){return _.val(_.val().replace(e[o.selectedValuesProp]+",","")),o.selectionRemoved.call(this,a),f=!0,p.focus(),!1});g.before(a.html(e[o.selectedItemProp]).prepend(r)),o.selectionAdded.call(this,g.prev())}function u(e){if(t(":visible",v).length>0){var i=t("li",v);if("down"==e)var n=i.eq(0);else var n=i.filter(":last");var o=t("li.active:first",v);o.length>0&&(n="down"==e?o.next():o.prev()),i.removeClass("active"),n.addClass("active")}}if(o.asHtmlID){e=o.asHtmlID;var d=e}else{e=e+""+Math.floor(100*Math.random());var d="as-input-"+e}o.start.call(this);var p=t(this);p.attr("autocomplete","off").addClass("as-input").attr("id",d).val(o.startText);var f=!1;p.wrap('<ul class="as-selections" id="as-selections-'+e+'"></ul>').wrap('<li class="as-original" id="as-original-'+e+'"></li>');var m=t("#as-selections-"+e),g=t("#as-original-"+e),v=t('<div class="as-results" id="as-results-'+e+'"></div>').hide(),x=t('<ul class="as-list"></ul>'),_=t('<input type="hidden" class="as-values" id="as-values-'+e+'" />'),y="";if("string"==typeof o.preFill){for(var w=o.preFill.split(","),b=0;b<w.length;b++){var T={};T[o.selectedValuesProp]=w[b],""!=w[b]&&h(T,"000"+b)}y=o.preFill}else{y="";var C=0;for(k in o.preFill)o.preFill.hasOwnProperty(k)&&C++;if(C>0)for(var b=0;b<C;b++){var S=o.preFill[b][o.selectedValuesProp];void 0==S&&(S=""),y=y+S+",",""!=S&&h(o.preFill[b],"000"+b)}}if(""!=y){p.val("");","!=y.substring(y.length-1)&&(y+=","),_.val(","+y),t("li.as-selection-item",m).addClass("blur").removeClass("selected")}p.after(_),m.click(function(){f=!0,p.focus()}).mousedown(function(){f=!1}).after(v);var M=null,j="",P=!1;p.focus(function(){return t(this).val()==o.startText&&""==_.val()?t(this).val(""):f&&(t("li.as-selection-item",m).removeClass("blur"),""!=t(this).val()&&(x.css("width",m.outerWidth()),v.show())),f=!0,!0}).blur(function(){""==t(this).val()&&""==_.val()&&""==y?t(this).val(o.startText):f&&(t("li.as-selection-item",m).addClass("blur").removeClass("selected"),v.hide())}).keydown(function(e){switch(lastKeyPressCode=e.keyCode,first_focus=!1,e.keyCode){case 38:e.preventDefault(),u("up");break;case 40:e.preventDefault(),u("down");break;case 8:if(""==p.val()){var n=_.val().split(",");n=n[n.length-2],m.children().not(g.prev()).removeClass("selected"),g.prev().hasClass("selected")?(_.val(_.val().replace(","+n+",",",")),o.selectionRemoved.call(this,g.prev())):(o.selectionClick.call(this,g.prev()),g.prev().addClass("selected"))}1==p.val().length&&(v.hide(),j=""),t(":visible",v).length>0&&(M&&clearTimeout(M),M=setTimeout(function(){i()},o.keyDelay));break;case 9:case 188:break;case 13:P=!1;var s=t("li.active:first",v);s.length>0&&(s.click(),v.hide()),(o.neverSubmit||s.length>0)&&e.preventDefault();break;default:o.showResultList&&(o.selectionLimit&&t("li.as-selection-item",m).length>=o.selectionLimit?(x.html('<li class="as-message">'+o.limitText+"</li>"),v.show()):(M&&clearTimeout(M),M=setTimeout(function(){i()},o.keyDelay)))}});var z=0})}}(jQuery)},function(t,e){},function(t,e){var i=function(){jQuery(".flexmls-widthchange-wrapper").each(function(){var t=jQuery(this),e=t.width();t.removeClass(function(t,e){return(e.match(/(^|\s)flexmls-width-\S+/g)||[]).join(" ")});var i=[480,600,768,900,1024];jQuery(i).each(function(i,n){e>n&&t.addClass("flexmls-width-"+n)})})};jQuery(function(t){i()}),window.resizeTimerId=0,window.addEventListener("resize",function(t){clearTimeout(window.resizeTimerId),window.resizeTimerId=setTimeout(function(){i()},300)})}]); -
flexmls-idx/trunk/flexmls_connect.php
r3209984 r3219800 6 6 Description: Provides Flexmls® Customers with Flexmls® IDX features on their WordPress websites. <strong>Tips:</strong> <a href="admin.php?page=fmc_admin_settings">Activate your Flexmls® IDX plugin</a> on the settings page; <a href="widgets.php">add widgets to your sidebar</a> using the Widgets Admin under Appearance; and include widgets on your posts or pages using the Flexmls® IDX Widget Short-Code Generator on the Visual page editor. 7 7 Author: FBS 8 Version: 3.14.2 58 Version: 3.14.26 9 9 Author URI: https://www.flexmls.com 10 10 Requires at least: 5.0 … … 17 17 const FMC_API_BASE = 'sparkapi.com'; 18 18 const FMC_API_VERSION = 'v1'; 19 const FMC_PLUGIN_VERSION = '3.14.2 5';19 const FMC_PLUGIN_VERSION = '3.14.26'; 20 20 21 21 define( 'FMC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
flexmls-idx/trunk/lib/flexmlsAPI/Core.php
r3209984 r3219800 44 44 'Accept-Encoding' => "gzip,deflate", 45 45 'Content-Type' => "application/json", 46 'User-Agent' => "FlexMLS WordPress Plugin/3.14.2 5",47 'X-SparkApi-User-Agent' => "flexmls-WordPress-Plugin/3.14.2 5"46 'User-Agent' => "FlexMLS WordPress Plugin/3.14.26", 47 'X-SparkApi-User-Agent' => "flexmls-WordPress-Plugin/3.14.26" 48 48 ); 49 49 -
flexmls-idx/trunk/views/admin-intro-support.php
r2926110 r3219800 25 25 <tr> 26 26 <td>Online:</td> 27 <td><a href="https://fbs data.zendesk.com/hc/en-us" target="_blank">fbsidx.com/help</a></td>27 <td><a href="https://fbsidx.com/help" target="_blank">fbsidx.com/help</a></td> 28 28 </tr> 29 29 <tr>
Note: See TracChangeset
for help on using the changeset viewer.