Version Description
Download this release
Release Info
Developer | averta |
Plugin | Master Slider – Responsive Touch Slider |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.10 to 1.2.0
- README.txt +14 -5
- admin/assets/css/global.css +6 -0
- admin/assets/css/msp-general.css +4 -2
- admin/assets/images/master-dark.svg +15 -0
- admin/assets/js/mce-plugin.js +35 -0
- admin/class-master-slider-admin.php +4 -5
- admin/includes/classes/class-msp-admin-assets.php +26 -1
- admin/includes/classes/class-msp-admin-editor.php +114 -0
- admin/includes/index.php +1 -0
- admin/views/slider-panel/index.php +11 -2
- admin/views/slider-panel/js/masterslider.wp.js +1 -1
- includes/init/define.php +1 -1
- master-slider.php +2 -2
- public/assets/js/masterslider.js +99 -39
- public/assets/js/masterslider.map +2 -2
- public/assets/js/masterslider.min.js +3 -3
README.txt
CHANGED
@@ -5,8 +5,8 @@ License: GPLv3
|
|
5 |
License URI: http://www.gnu.org/licenses/gpl.html
|
6 |
Tags: banner rotator, carousel, content slider, gallery, image slider, responsive slider, showcase, slideshow, swipe, touch slider, video gallery, SEO, vertical slide, HTML5 slider, hardware accelerate, css3, animation, mobile slider, iOS, android, video slider, youtube slider, horizontal slider, vertical slider, fullwidth slider, fullscreen slider, post slider, photo slider, online album, mobile slider, WordPress slider,wpml, ,ultisite, wistia, woocommerce, product slider, woocommerce slider
|
7 |
Requires at least: 3.8
|
8 |
-
Tested up to:
|
9 |
-
Stable tag: 1.0
|
10 |
|
11 |
The Most advanced responsive HTML5 WordPress slider plugin with touch swipe navigation that works smoothly on devices too.
|
12 |
|
@@ -158,6 +158,15 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/master-sl
|
|
158 |
|
159 |
== Changelog ==
|
160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
= Version 1.0.10 / (07.08.2014) =
|
162 |
* Slide info is now shortcode enabled
|
163 |
* compatibility with WordPress 3.9.2 added
|
@@ -186,6 +195,6 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/master-sl
|
|
186 |
|
187 |
== Upgrade Notice ==
|
188 |
|
189 |
-
= 1.0
|
190 |
-
|
191 |
-
|
5 |
License URI: http://www.gnu.org/licenses/gpl.html
|
6 |
Tags: banner rotator, carousel, content slider, gallery, image slider, responsive slider, showcase, slideshow, swipe, touch slider, video gallery, SEO, vertical slide, HTML5 slider, hardware accelerate, css3, animation, mobile slider, iOS, android, video slider, youtube slider, horizontal slider, vertical slider, fullwidth slider, fullscreen slider, post slider, photo slider, online album, mobile slider, WordPress slider,wpml, ,ultisite, wistia, woocommerce, product slider, woocommerce slider
|
7 |
Requires at least: 3.8
|
8 |
+
Tested up to: 4.0.0
|
9 |
+
Stable tag: 1.2.0
|
10 |
|
11 |
The Most advanced responsive HTML5 WordPress slider plugin with touch swipe navigation that works smoothly on devices too.
|
12 |
|
158 |
|
159 |
== Changelog ==
|
160 |
|
161 |
+
= Version 1.2.0 / (08.09.2014) =
|
162 |
+
- [New Feature]: New button added to WordPress editor in order to add Master Slider shorcodes with just simple click
|
163 |
+
- [Improvement]: Improving responsiveness of admin panel
|
164 |
+
- [Improvement]: Interface compatibility with WordPress 4.0 in admin area applied
|
165 |
+
|
166 |
+
= Version 1.1.0 / (06.09.2014) =
|
167 |
+
* compatibility with WordPress 4.0.0 added
|
168 |
+
* Minor bugs fixed
|
169 |
+
|
170 |
= Version 1.0.10 / (07.08.2014) =
|
171 |
* Slide info is now shortcode enabled
|
172 |
* compatibility with WordPress 3.9.2 added
|
195 |
|
196 |
== Upgrade Notice ==
|
197 |
|
198 |
+
= 1.2.0 =
|
199 |
+
- [New Feature]: New button added to WordPress editor in order to add Master Slider shorcodes with just simple click
|
200 |
+
- [Improvement]: Interface and responsiveness of admin panel
|
admin/assets/css/global.css
CHANGED
@@ -6,6 +6,12 @@
|
|
6 |
background-size: 23px auto !important;
|
7 |
opacity:0.6;
|
8 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
#toplevel_page_masterslider .menu-icon-generic.wp-menu-open div.wp-menu-image,
|
10 |
#toplevel_page_masterslider .menu-icon-generic.current div.wp-menu-image {
|
11 |
opacity:1;
|
6 |
background-size: 23px auto !important;
|
7 |
opacity:0.6;
|
8 |
}
|
9 |
+
.mce-i-msp_shortcodes_button {
|
10 |
+
background: url( ../images/master-dark.svg ) no-repeat 0 2px !important;
|
11 |
+
left: 3px;
|
12 |
+
position: relative !important;
|
13 |
+
top: -1px;
|
14 |
+
}
|
15 |
#toplevel_page_masterslider .menu-icon-generic.wp-menu-open div.wp-menu-image,
|
16 |
#toplevel_page_masterslider .menu-icon-generic.current div.wp-menu-image {
|
17 |
opacity:1;
|
admin/assets/css/msp-general.css
CHANGED
@@ -167,9 +167,12 @@ msp-ac-btn:active {
|
|
167 |
padding-top: 6px;
|
168 |
}
|
169 |
|
|
|
|
|
|
|
|
|
170 |
@media only screen and (max-width: 1500px) {
|
171 |
.column-date_created { display:none; }
|
172 |
-
|
173 |
}
|
174 |
|
175 |
@media only screen and (max-width: 1350px) {
|
@@ -473,6 +476,5 @@ tbody .latest-updates {
|
|
473 |
padding-left: 35px;
|
474 |
}
|
475 |
|
476 |
-
#wpcontent, .auto-fold #wpcontent { padding-left: 0; }
|
477 |
|
478 |
.msp-template-caption { min-height: 38px; }
|
167 |
padding-top: 6px;
|
168 |
}
|
169 |
|
170 |
+
@media only screen and (max-width: 1500px) {
|
171 |
+
.msp-template-caption { min-height:40px; }
|
172 |
+
}
|
173 |
+
|
174 |
@media only screen and (max-width: 1500px) {
|
175 |
.column-date_created { display:none; }
|
|
|
176 |
}
|
177 |
|
178 |
@media only screen and (max-width: 1350px) {
|
476 |
padding-left: 35px;
|
477 |
}
|
478 |
|
|
|
479 |
|
480 |
.msp-template-caption { min-height: 38px; }
|
admin/assets/images/master-dark.svg
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
2 |
+
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4 |
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5 |
+
width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
6 |
+
<g>
|
7 |
+
<g>
|
8 |
+
<path fill="#777777" d="M3.184,11.345l-1.127,2.864L0.01,8.987l1.127-2.864L3.184,11.345z M12.251,11.345l-1.127,2.864
|
9 |
+
L9.087,8.987l1.117-2.864L12.251,11.345z"/>
|
10 |
+
<path fill="#777777" d="M3.184,11.345L1.137,6.124L2.254,3.25l2.047,5.231L3.184,11.345z M12.251,11.345l-2.047-5.221l1.127-2.874
|
11 |
+
l2.037,5.231L12.251,11.345z"/>
|
12 |
+
<path fill="#777777" d="M2.502,3.25h4.094l4.28,10.959H6.792L2.502,3.25z M11.579,3.25h4.084l4.28,10.959h-4.084L11.579,3.25z"/>
|
13 |
+
</g>
|
14 |
+
</g>
|
15 |
+
</svg>
|
admin/assets/js/mce-plugin.js
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Master Slider plugin for tinymce */
|
2 |
+
|
3 |
+
( function () {
|
4 |
+
|
5 |
+
// skip if sliders list is not available
|
6 |
+
if( ! __MS_EDITOR || ! __MS_EDITOR.sliders )
|
7 |
+
return;
|
8 |
+
|
9 |
+
|
10 |
+
tinymce.PluginManager.add( 'msp_shortcodes_button', function( editor, url ) {
|
11 |
+
|
12 |
+
var menu_items = [],
|
13 |
+
item_label;
|
14 |
+
|
15 |
+
for ( slider_id in __MS_EDITOR.sliders ) {
|
16 |
+
item_label = __MS_EDITOR.sliders[ slider_id ] + " [#" + slider_id + "]";
|
17 |
+
menu_items.push( { text: item_label, value: slider_id } );
|
18 |
+
};
|
19 |
+
|
20 |
+
|
21 |
+
var ed = tinymce.activeEditor;
|
22 |
+
editor.addButton( 'msp_shortcodes_button', {
|
23 |
+
text: false,
|
24 |
+
icon: false,
|
25 |
+
title:__MS_GLOBAL.plugin_name,
|
26 |
+
type: 'menubutton',
|
27 |
+
menu: menu_items,
|
28 |
+
onselect: function(e) {
|
29 |
+
var slider_id = e.control._value;
|
30 |
+
ed.selection.setContent( '[masterslider id="' + slider_id + '"]' );
|
31 |
+
}
|
32 |
+
});
|
33 |
+
});
|
34 |
+
|
35 |
+
})();
|
admin/class-master-slider-admin.php
CHANGED
@@ -165,8 +165,8 @@ class Master_Slider_Admin {
|
|
165 |
*/
|
166 |
public function enqueue_admin_scripts() {
|
167 |
|
168 |
-
|
169 |
-
|
170 |
|
171 |
if ( ! isset( $this->sliders_screen_hook_suffix ) )
|
172 |
return;
|
@@ -174,9 +174,8 @@ class Master_Slider_Admin {
|
|
174 |
// load masterslider spesific assets only on it's admin page
|
175 |
$screen = get_current_screen();
|
176 |
if ( $this->sliders_screen_hook_suffix == $screen->id ) {
|
177 |
-
|
178 |
-
$admin_assets
|
179 |
-
$admin_assets->enqueue();
|
180 |
}
|
181 |
|
182 |
}
|
165 |
*/
|
166 |
public function enqueue_admin_scripts() {
|
167 |
|
168 |
+
$admin_assets = new MSP_Admin_Assets();
|
169 |
+
$admin_assets->enqueue_global_assets();
|
170 |
|
171 |
if ( ! isset( $this->sliders_screen_hook_suffix ) )
|
172 |
return;
|
174 |
// load masterslider spesific assets only on it's admin page
|
175 |
$screen = get_current_screen();
|
176 |
if ( $this->sliders_screen_hook_suffix == $screen->id ) {
|
177 |
+
|
178 |
+
$admin_assets->enqueue_panel_assets();
|
|
|
179 |
}
|
180 |
|
181 |
}
|
admin/includes/classes/class-msp-admin-assets.php
CHANGED
@@ -23,7 +23,7 @@ class MSP_Admin_Assets {
|
|
23 |
}
|
24 |
|
25 |
|
26 |
-
public function
|
27 |
|
28 |
// general assets
|
29 |
$this->load_general_styles();
|
@@ -43,6 +43,31 @@ class MSP_Admin_Assets {
|
|
43 |
|
44 |
}
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
|
47 |
/**
|
48 |
* Load scripts for master slider admin panel
|
23 |
}
|
24 |
|
25 |
|
26 |
+
public function enqueue_panel_assets (){
|
27 |
|
28 |
// general assets
|
29 |
$this->load_general_styles();
|
43 |
|
44 |
}
|
45 |
|
46 |
+
|
47 |
+
public function enqueue_global_assets(){
|
48 |
+
|
49 |
+
$this->load_global_styles();
|
50 |
+
$this->add_global_variables();
|
51 |
+
}
|
52 |
+
|
53 |
+
|
54 |
+
public function load_global_styles(){
|
55 |
+
// load global style - loads on all admin area
|
56 |
+
wp_enqueue_style( MSWP_SLUG .'-global-styles', MSWP_AVERTA_ADMIN_URL . '/assets/css/global.css', array(), MSWP_AVERTA_VERSION );
|
57 |
+
}
|
58 |
+
|
59 |
+
|
60 |
+
public function add_global_variables(){
|
61 |
+
// load global variables about Master Slider
|
62 |
+
wp_localize_script( 'jquery', '__MS_GLOBAL', array(
|
63 |
+
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
64 |
+
'admin_url' => admin_url(),
|
65 |
+
'menu_page_url' => menu_page_url( MSWP_SLUG, false ),
|
66 |
+
'plugin_url' => MSWP_AVERTA_URL,
|
67 |
+
'plugin_name' => esc_js( __( 'Master Slider', MSWP_TEXT_DOMAIN ) )
|
68 |
+
));
|
69 |
+
}
|
70 |
+
|
71 |
|
72 |
/**
|
73 |
* Load scripts for master slider admin panel
|
admin/includes/classes/class-msp-admin-editor.php
ADDED
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Master Slider buttons for TinyMCE
|
4 |
+
*
|
5 |
+
* @package MasterSlider
|
6 |
+
* @author averta [averta.net]
|
7 |
+
* @license LICENSE.txt
|
8 |
+
* @link http://masterslider.com
|
9 |
+
* @copyright Copyright © 2014 averta
|
10 |
+
*/
|
11 |
+
|
12 |
+
// no direct access allowed
|
13 |
+
if ( ! defined('ABSPATH') ) {
|
14 |
+
die();
|
15 |
+
}
|
16 |
+
|
17 |
+
|
18 |
+
/**
|
19 |
+
* MSP_Admin_Editor class.
|
20 |
+
*
|
21 |
+
* @since 2.3.0
|
22 |
+
*/
|
23 |
+
class MSP_Admin_Editor {
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Constructor
|
27 |
+
*/
|
28 |
+
public function __construct() {
|
29 |
+
add_action( 'admin_head', array( $this, 'add_shortcode_button' ) );
|
30 |
+
// Load admin Stylesheet and JavaScript.
|
31 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts') );
|
32 |
+
add_filter( 'tiny_mce_version', array( $this, 'refresh_mce' ) );
|
33 |
+
// add_filter( 'mce_external_languages', array( $this, 'add_tinymce_lang' ), 10, 1 );
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Add a button for shortcodes to the WP editor.
|
38 |
+
*/
|
39 |
+
public function add_shortcode_button() {
|
40 |
+
if ( ! current_user_can( 'edit_posts' ) && ! current_user_can( 'edit_pages' ) ) {
|
41 |
+
return;
|
42 |
+
}
|
43 |
+
|
44 |
+
if ( 'true' == get_user_option( 'rich_editing' ) ) {
|
45 |
+
add_filter( 'mce_external_plugins', array( $this, 'add_shortcode_tinymce_plugin' ) );
|
46 |
+
add_filter( 'mce_buttons', array( $this, 'register_shortcode_button' ) );
|
47 |
+
}
|
48 |
+
}
|
49 |
+
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Register and enqueue admin-specific JavaScript & Stylesheet globally.
|
53 |
+
*
|
54 |
+
*/
|
55 |
+
public function enqueue_admin_scripts() {
|
56 |
+
|
57 |
+
// define admin ajax address and master slider page
|
58 |
+
wp_localize_script( 'jquery', '__MS_EDITOR', array(
|
59 |
+
'sliders' => get_masterslider_names( true )
|
60 |
+
));
|
61 |
+
}
|
62 |
+
|
63 |
+
|
64 |
+
/**
|
65 |
+
*
|
66 |
+
* @param array $locs
|
67 |
+
* @return array
|
68 |
+
*/
|
69 |
+
public function add_tinymce_lang( $locs ) {
|
70 |
+
$locs['msp_shortcodes_button'] = MSWP_AVERTA_ADMIN_URL . '/assets/js/editor_lang.php';
|
71 |
+
return $locs;
|
72 |
+
}
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Register the shortcode button.
|
76 |
+
*
|
77 |
+
* @param array $buttons
|
78 |
+
* @return array
|
79 |
+
*/
|
80 |
+
public function register_shortcode_button( $buttons ) {
|
81 |
+
array_push( $buttons, '|', 'msp_shortcodes_button' );
|
82 |
+
return $buttons;
|
83 |
+
}
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Add the shortcode button to TinyMCE
|
87 |
+
*
|
88 |
+
* @param array $plugin_array
|
89 |
+
* @return array
|
90 |
+
*/
|
91 |
+
public function add_shortcode_tinymce_plugin( $plugin_array ) {
|
92 |
+
$wp_version = get_bloginfo( 'version' );
|
93 |
+
|
94 |
+
if ( version_compare( $wp_version, '3.9', '>=' ) ) {
|
95 |
+
$plugin_array['msp_shortcodes_button'] = MSWP_AVERTA_ADMIN_URL . '/assets/js/mce-plugin.js';
|
96 |
+
}
|
97 |
+
|
98 |
+
return $plugin_array;
|
99 |
+
}
|
100 |
+
|
101 |
+
/**
|
102 |
+
* Force TinyMCE to refresh.
|
103 |
+
*
|
104 |
+
* @param int $ver
|
105 |
+
* @return int
|
106 |
+
*/
|
107 |
+
public function refresh_mce( $ver ) {
|
108 |
+
$ver += 3;
|
109 |
+
return $ver;
|
110 |
+
}
|
111 |
+
|
112 |
+
}
|
113 |
+
|
114 |
+
new MSP_Admin_Editor();
|
admin/includes/index.php
CHANGED
@@ -11,6 +11,7 @@ include_once( 'classes/class-msp-list-table.php' );
|
|
11 |
include_once( 'classes/class-axiom-screen-help.php' );
|
12 |
include_once( 'classes/class-msp-screen-help.php' );
|
13 |
include_once( 'classes/class-msp-admin-assets.php' );
|
|
|
14 |
// include_once( 'classes/class-msp-pointers.php' );
|
15 |
include_once( 'classes/class-msp-importer.php' );
|
16 |
|
11 |
include_once( 'classes/class-axiom-screen-help.php' );
|
12 |
include_once( 'classes/class-msp-screen-help.php' );
|
13 |
include_once( 'classes/class-msp-admin-assets.php' );
|
14 |
+
include_once( 'classes/class-msp-admin-editor.php' );
|
15 |
// include_once( 'classes/class-msp-pointers.php' );
|
16 |
include_once( 'classes/class-msp-importer.php' );
|
17 |
|
admin/views/slider-panel/index.php
CHANGED
@@ -280,7 +280,12 @@
|
|
280 |
</div>
|
281 |
<h4><?php _e('Youtube or Vimeo video as slide', MSWP_TEXT_DOMAIN); ?></h4>
|
282 |
<div class="msp-metabox-indented">
|
283 |
-
<label><?php _e('Video embed
|
|
|
|
|
|
|
|
|
|
|
284 |
</div>
|
285 |
</div>
|
286 |
</script>
|
@@ -434,10 +439,14 @@
|
|
434 |
<?php _e('Align control :', MSWP_TEXT_DOMAIN); ?>
|
435 |
{{#dropdwon-List value=currentControl.align width=100}}
|
436 |
<option value="top"><?php _e('Top', MSWP_TEXT_DOMAIN); ?></option>
|
437 |
-
<option value="
|
|
|
|
|
438 |
{{/dropdwon-List}}
|
439 |
<div class="msp-form-space-med"></div>
|
440 |
<label><?php _e('Bullets margin :', MSWP_TEXT_DOMAIN); ?> </label> {{number-input value=currentControl.margin min=null}} px
|
|
|
|
|
441 |
</div>
|
442 |
<div class="msp-metabox-indented">
|
443 |
<label><?php _e('Hide bullets under this window width :', MSWP_TEXT_DOMAIN); ?> </label> {{number-input value=currentControl.hideUnder}} px
|
280 |
</div>
|
281 |
<h4><?php _e('Youtube or Vimeo video as slide', MSWP_TEXT_DOMAIN); ?></h4>
|
282 |
<div class="msp-metabox-indented">
|
283 |
+
<label><?php _e('Video embed url :', MSWP_TEXT_DOMAIN); ?> </label> {{input size=60 value=currentSlide.video}}
|
284 |
+
<span class="msp-form-space"></span>
|
285 |
+
<label><?php _e('Autoplay video :', MSWP_TEXT_DOMAIN); ?> </label> {{switch-box value=currentSlide.autoplayVideo}}
|
286 |
+
</div>
|
287 |
+
<div class="msp-metabox-indented">
|
288 |
+
<a href="http://masterslider.com/doc/wp/#embed-url" target="_blank"><?php _e('Where to find the Youtube/Vimeo embed URL.', MSWP_TEXT_DOMAIN); ?></a>
|
289 |
</div>
|
290 |
</div>
|
291 |
</script>
|
439 |
<?php _e('Align control :', MSWP_TEXT_DOMAIN); ?>
|
440 |
{{#dropdwon-List value=currentControl.align width=100}}
|
441 |
<option value="top"><?php _e('Top', MSWP_TEXT_DOMAIN); ?></option>
|
442 |
+
<option value="right"><?php _e('Right', MSWP_TEXT_DOMAIN); ?></option>
|
443 |
+
<option value="left"><?php _e('Left', MSWP_TEXT_DOMAIN); ?></option>
|
444 |
+
<option value="bottom"><?php _e('Bottom', MSWP_TEXT_DOMAIN); ?></option>
|
445 |
{{/dropdwon-List}}
|
446 |
<div class="msp-form-space-med"></div>
|
447 |
<label><?php _e('Bullets margin :', MSWP_TEXT_DOMAIN); ?> </label> {{number-input value=currentControl.margin min=null}} px
|
448 |
+
<div class="msp-form-space-med"></div>
|
449 |
+
<label><?php _e('Space between bullets :', MSWP_TEXT_DOMAIN); ?> </label> {{number-input value=currentControl.space min=null}} px
|
450 |
</div>
|
451 |
<div class="msp-metabox-indented">
|
452 |
<label><?php _e('Hide bullets under this window width :', MSWP_TEXT_DOMAIN); ?> </label> {{number-input value=currentControl.hideUnder}} px
|
admin/views/slider-panel/js/masterslider.wp.js
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
* @version 1.0
|
5 |
* http://www.averta.net
|
6 |
*/
|
7 |
-
function WPEditorTemplate(n){var t=$(hiddenEditor);return t.find("link").remove(),t.html().replace(/msp-hidden/g,n)}var hiddenEditor,__tmc_msp_id;window.MSPanel=Ember.Application.create({rootElement:"#msp-root"}),MSPanel.version="1.0",MSPanel.SliderID=parseQueryString(window.location.search).slider_id||__MSP_SLIDER_ID||"100",String.prototype.jfmt=function(){return"".fmt.apply(this.replace(/%s|%d/,"%@"),arguments)},$=jQuery.noConflict(),jQuery.ui.dialog.prototype._focusTabbable=function(){},MSPanel.Router.map(function(){this.resource("settings"),this.resource("slides",{path:"/"}),this.resource("controls"),this.resource("callbacks"),this.resource("error")}),MSPanel.Router.reopen({location:"none"}),MSPanel.ApplicationRoute=Ember.Route.extend({model:function(){var n=MSPanel.Settings.find();n.get("length")===0&&MSPanel.Settings.create().save()}}),MSPanel.SettingsRoute=Ember.Route.extend({model:function(){return MSPanel.Settings.find(1)},setupController:function(n,t){n.set("model",t),n.setup()}}),MSPanel.SlidesRoute=Ember.Route.extend({model:function(){return MSPanel.Slide.find()},setupController:function(n,t){n.set("model",t),n.set("sliderSettings",MSPanel.Settings.find(1)),n.setup()}}),MSPanel.ControlsRoute=Ember.Route.extend({model:function(){return MSPanel.Control.find()},setupController:function(n,t){n.set("model",t),n.setup(),this.activate()},activate:function(){var n=this.get("controller");n&&n.set("controlOptions","empty-template")}}),MSPanel.CallbacksRoute=Ember.Route.extend({model:function(){return MSPanel.Callback.find()},setupController:function(n,t){n.set("model",t),n.setup()}}),function(){var n=Ember.attr,f=Ember.hasMany,r=Ember.belongsTo,u=/https\:|http\:/,t={serialize:function(n){return n==undefined?n:u.test(n)?n.replace(__MS.upload_dir,""):n},deserialize:function(n){return n==undefined?n:u.test(n)?n:__MS.upload_dir+n}},i;MSPanel.Settings=Ember.Model.extend({id:n("number"),snapping:n("boolean",{defaultValue:!0}),bgImageThumb:n(t),disableControls:n("boolean",{defaultValue:!1}),name:n("string",{defaultValue:__MSP_LAN.sm_001}),width:n("number",{defaultValue:1e3}),height:n("number",{defaultValue:500}),wrapperWidth:n("number"),wrapperWidthUnit:n("string",{defaultValue:"px"}),autoCrop:n("boolean",{defaultValue:!1}),type:n("string"),sliderId:n("string"),layout:n("string",{defaultValue:"boxed"}),autoHeight:n("boolean",{defaultValue:!1}),trView:n("string",{defaultValue:"basic"}),speed:n("number",{defaultValue:20}),space:n("number",{defaultValue:0}),start:n("number",{defaultValue:1}),grabCursor:n("boolean",{defaultValue:!0}),swipe:n("boolean",{defaultValue:!0}),mouse:n("boolean",{defaultValue:!0}),wheel:n("boolean",{defaultValue:!1}),autoplay:n("boolean",{defaultValue:!1}),loop:n("boolean",{defaultValue:!1}),shuffle:n("boolean",{defaultValue:!1}),preload:n("string",{defaultValue:"-1"}),overPause:n("boolean",{defaultValue:!0}),endPause:n("boolean",{defaultValue:!1}),hideLayers:n("boolean",{defaultValue:!1}),dir:n("string",{defaultValue:"h"}),parallaxMode:n("srting",{defaultValue:"swipe"}),centerControls:n("boolean",{defaultValue:!0}),instantShowLayers:n("boolean",{defaultValue:!1}),fullscreenMargin:n("number"),inlineStyle:n("string"),className:n("string"),bgColor:n("string"),bgImage:n(t),skin:n("string",{defaultValue:"ms-skin-default"}),msTemplate:n("string",{defaultValue:"custom"}),msTemplateClass:n("string",{defaultValue:""}),usedFonts:n("string"),apiKey:n("string"),setId:n("string"),setType:n("string"),imgCount:n("number"),thumbSize:n("srting"),imgSize:n("string"),postType:n("string"),postCats:n(Array),postTags:n(Array),postCount:n("number"),postImageType:n("string"),postOrder:n("string"),postOrderDir:n("string"),postExcerptLen:n("number"),postExcludeIds:n("string"),postOffset:n("number"),postLinkSlide:n("boolean"),postLinkTarget:n("string"),postSlideBg:n("string"),postSlideBgthumb:n("string"),wcOnlyInstock:n("boolean"),wcOnlyFeatured:n("boolean"),wcOnlyOnsale:n("boolean")}),MSPanel.Slide=Ember.Model.extend({id:n("number"),timeline_h:n("number",{defaultValue:200}),bgThumb:n(t),thumbOrginal:n(t),order:n("number"),ishide:n("boolean"),bg:n(t),duration:n("number",{defaultValue:3}),fillMode:n("string",{defaultValue:"fill"}),thumb:n(t),info:n("string"),link:n("string"),linkTarget:n("string"),video:n("string"),bgColor:n("string"),bgv_mp4:n("string"),bgv_ogg:n("string"),bgv_webm:n("string"),bgv_fillmode:n("string",{defaultValue:"fill"}),bgv_loop:n("boolean",{defaultValue:!0}),bgv_mute:n("boolean",{defaultValue:!0}),bgv_autopause:n("boolean",{defaultValue:!1}),cssId:n("string"),cssClass:n("string"),bgAlt:n("string"),layers:f("MSPanel.Layer",{key:"layer_ids"})}),MSPanel.Layer=Ember.Model.extend({id:n("number"),name:n("string"),isLocked:n("boolean",{defaultValue:!1}),isHided:n("boolean",{defaultValue:!1}),isSoloed:n("boolean",{defaultValue:!1}),slide:r("MSPanel.Slide",{key:"slide"}),styleModel:r("MSPanel.Style",{key:"styleModel",embedded:!1}),showEffect:r("MSPanel.Effect",{key:"showEffect",embedded:!1}),showTransform:n("string",{defaultValue:""}),showOrigin:n("string",{defaultValue:""}),showFade:n("boolean",{defaultValue:!0}),hideEffect:r("MSPanel.Effect",{key:"hideEffect",embedded:!1}),hideTransform:n("string",{defaultValue:""}),hideOrigin:n("string",{defaultValue:""}),hideFade:n("boolean",{defaultValue:!0}),imgThumb:n(t),stageOffsetX:n("number",{defaultValue:0}),stageOffsetY:n("number",{defaultValue:0}),order:n("number"),type:n("string"),cssClass:n("string"),cssId:n("string"),title:n("string"),rel:n("string"),content:n("string",{defaultValue:"Lorem Ipsum"}),img:n(t),imgAlt:n("string"),video:n("string",{defaultValue:"http://player.vimeo.com/video/11721242"}),align:n("string",{defaultValue:"top"}),useAction:n("boolean",{defaultValue:!1}),action:n("string"),toSlide:n("number"),link:n("string"),linkTarget:n("string"),offsetX:n("number",{defaultValue:0}),offsetY:n("number",{defaultValue:0}),width:n("number"),height:n("number"),resize:n("boolean",{defaultValue:!0}),fixed:n("boolean",{defaultValue:!1}),widthlimit:n("number",{defaultValue:"0"}),origin:n("string",{defaultValue:"tl"}),stayHover:n("boolean",{defaultValue:!0}),className:n("string"),parallax:n("string"),showDuration:n("number",{defaultValue:1}),showDelay:n("number",{defaultValue:0}),showEase:n("string",{defaultValue:"easeOutQuint"}),showEffFunc:n("string"),useHide:n("boolean",{defaultValue:!1}),hideDuration:n("number",{defaultValue:1}),hideDelay:n("number",{defaultValue:1}),hideEase:n("string",{defaultValue:"easeOutQuint"}),hideEffFunc:n("string"),btnClass:n("string",{defaultValue:"ms-default-btn"})}),MSPanel.Style=Ember.Model.extend({id:n("number"),name:n("string"),type:n("string"),className:n("string"),backgroundColor:n("string"),paddingTop:n("number"),paddingRight:n("number"),paddingBottom:n("number"),paddingLeft:n("number"),borderTop:n("number"),borderRight:n("number"),borderBottom:n("number"),borderLeft:n("number"),borderColor:n("string"),borderRadius:n("number"),borderStyle:n("string"),fontFamily:n("string"),fontWeight:n("string",{defaultValue:"normal"}),fontSize:n("number"),textAlign:n("string"),letterSpacing:n("number"),lineHeight:n("string",{defaultValue:"normal"}),whiteSpace:n("string"),color:n("string"),custom:n("string")}),MSPanel.PresetStyle=MSPanel.Style.extend({}),MSPanel.Effect=Ember.Model.extend({id:n("number"),name:n("string"),type:n("string"),fade:n("boolean",{defaultValue:!0}),translateX:n("number"),translateY:n("number"),translateZ:n("number"),scaleX:n("number"),scaleY:n("number"),rotate:n("number"),rotateX:n("number"),rotateY:n("number"),rotateZ:n("number"),skewX:n("number"),skewY:n("number"),originX:n("number"),originY:n("number"),originZ:n("number")}),MSPanel.PresetEffect=MSPanel.Effect.extend({}),MSPanel.Control=Ember.Model.extend({id:n("number"),label:n("string"),name:n("string"),autoHide:n("boolean",{defaultValue:!0}),overVideo:n("boolean",{defaultValue:!0}),cssClass:n("string"),cssId:n("string"),margin:n("number"),dir:n("string"),color:n("string"),radius:n("number"),stroke:n("number"),speed:n("number"),space:n("number"),type:n("string"),width:n("number"),height:n("number"),align:n("string"),inset:n("boolean"),size:n("number"),hideUnder:n("number"),fillMode:n("string")}),MSPanel.Callback=Ember.Model.extend({id:n("number"),label:n("string"),name:n("string"),content:n("string",{defaultValue:"function(event){\n var api = event.target;\n}"})}),MSPanel.ButtonStyle=Ember.Model.extend({id:n("number"),className:n("string"),normal:n("string"),hover:n("string"),active:n("string")}),i=function(n){var t=B64.decode(n);return t.slice(0,t.lastIndexOf("}")+1)},window.__MSP_PRESET_BUTTON=null,MSPanel.data=__MSP_DATA?JSON.parse(i(__MSP_DATA)):{meta:{}},MSPanel.PSData=__MSP_PRESET_STYLE?JSON.parse(i(__MSP_PRESET_STYLE)):{meta:{}},MSPanel.PEData=__MSP_PRESET_EFFECT?JSON.parse(i(__MSP_PRESET_EFFECT)):{meta:{}},MSPanel.PBData=__MSP_PRESET_BUTTON?JSON.parse(i(__MSP_PRESET_BUTTON)):{meta:{}},MSPanel.Settings.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.Slide.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.Layer.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.Style.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.Effect.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.Control.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.Callback.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.PresetStyle.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.PSData}),MSPanel.PresetEffect.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.PEData}),MSPanel.ButtonStyle.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.PBData})}(),MSPanel.SliderTemplates=[{name:"Custom Template",value:"custom",className:"",img:__MSP_PATH+"images/templates/custom.gif",controls:null},{name:"3D Flow Carousel",value:"3d-flow-carousel",className:"ms-caro3d-template",img:__MSP_PATH+"images/templates/3d-flow-carousel.png",settings:{space:0,loop:!0,trView:"flow",layout:"partialview",dir:"h",wheel:!1},controls:null},{name:"3D Wave Carousel",value:"3d-wave-carousel",className:"ms-caro3d-template",img:__MSP_PATH+"images/templates/3d-wave-carousel.png",settings:{space:0,loop:!0,trView:"flow",layout:"partialview",dir:"h",wheel:!1},controls:null},{name:"Image Gallery with Thumbs",value:"image-gallery",className:"ms-gallery-template",img:__MSP_PATH+"images/templates/image-gallery.png",settings:{space:0,trView:"basic",skin:"ms-skin-black-2 round-skin"},controls:null,disableControls:!0},{name:"Slider with Bottom Aligned Thumbs",value:"slider-horizontal-thumbs",className:"ms-thumbs-template",img:__MSP_PATH+"images/templates/slider-bottom-thumbs.png",settings:{trView:"scale",space:0},controls:{arrows:{},scrollbar:{dir:"h"},thumblist:{autohide:!1,dir:"h",arrows:!1,align:"bottom",width:127,height:137,margin:5,space:5}}},{name:"Slider with Top Aligned Thumbs",value:"slider-top-thumbs",className:"ms-thumbs-template",img:__MSP_PATH+"images/templates/slider-top-thumbs.png",settings:{trView:"scale",space:0},controls:{arrows:{},scrollbar:{dir:"h"},thumblist:{autohide:!1,dir:"h",arrows:!1,align:"top",width:127,height:137,margin:5,space:5}}},{name:"Slider with Right Aligned Thumbs",value:"slider-vertical-thumbs",className:"ms-thumbs-template",img:__MSP_PATH+"images/templates/slider-right-thumbs.png",settings:null,controls:{arrows:{},scrollbar:{dir:"v"},thumblist:{autohide:!1,dir:"v",arrows:!1,align:"right",width:127,height:137,margin:5,space:5}}},{name:"Slider with Left Aligned Thumbs",value:"slider-left-thumbs",className:"ms-thumbs-template",img:__MSP_PATH+"images/templates/slider-left-thumbs.png",settings:null,controls:{arrows:{},scrollbar:{dir:"v"},thumblist:{autohide:!1,dir:"v",arrows:!1,align:"left",width:127,height:137,margin:5,space:5}}},{name:"Slider with Horizontal Tabs",value:"slider-horizontal-tabs",className:"ms-tabs-template",img:__MSP_PATH+"images/templates/slider-horizontal-tabs.png",settings:null,controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},thumblist:{autohide:!1,dir:"h",type:"tabs",width:240,height:120,align:"bottom",space:0,margin:-12,hideUnder:400}}},{name:"Slider with Vertical Tabs",value:"slider-vertical-tabs",className:"ms-tabs-template",img:__MSP_PATH+"images/templates/slider-vertical-tabs.png",settings:null,controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},thumblist:{autohide:!1,dir:"v",type:"tabs",align:"right",margin:-12,space:0,width:229,height:100,hideUnder:550}}},{name:"Partial View Slider V1",value:"partial-1",className:"ms-partialview-template",img:__MSP_PATH+"images/templates/partial-1.png",settings:{space:10,loop:!0,trView:"partialWave",layout:"partialview",dir:"h"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Partial View Slider V2",value:"partial-2",className:"ms-partialview-template",img:__MSP_PATH+"images/templates/partial-2.png",settings:{space:10,loop:!0,trView:"fadeWave",layout:"partialview",dir:"h"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Partial View Slider V3",value:"partial-3",className:"ms-partialview-template",img:__MSP_PATH+"images/templates/partial-3.png",settings:{space:10,loop:!0,trView:"fadeFlow",layout:"partialview",dir:"h"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Slider in Display",value:"display",className:"ms-display-template",img:__MSP_PATH+"images/templates/display.png",settings:{width:507,height:286,speed:20,space:2,trView:"flow",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Flat Display",value:"flat-display",className:"ms-display-template",img:__MSP_PATH+"images/templates/flat-display.png",settings:{width:507,height:286,speed:20,space:2,trView:"flow",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Laptop",value:"laptop",className:"ms-laptop-template",img:__MSP_PATH+"images/templates/laptop.png",settings:{width:492,height:309,speed:20,space:2,trView:"mask",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Flat Laptop",value:"flat-laptop",className:"ms-laptop-template",img:__MSP_PATH+"images/templates/flat-laptop.png",settings:{width:492,height:309,speed:20,space:2,trView:"mask",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Tablet",value:"tablet",className:"ms-tablet-template",img:__MSP_PATH+"images/templates/tablet.png",settings:{width:400,height:534,speed:20,space:2,trView:"wave",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Flat Tablet",value:"flat-tablet",className:"ms-tablet-template",img:__MSP_PATH+"images/templates/flat-tablet.png",settings:{width:400,height:534,speed:20,space:2,trView:"basic",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Landscape Tablet",value:"tablet-land",className:"ms-tablet-template ms-tablet-land",img:__MSP_PATH+"images/templates/tablet-land.png",settings:{width:632,height:476,speed:20,space:2,trView:"mask",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Flat Landscape Tablet",value:"flat-tablet-land",className:"ms-tablet-template ms-tablet-land",img:__MSP_PATH+"images/templates/flat-tablet-land.png",settings:{width:632,height:476,speed:20,space:2,trView:"mask",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Smart Phone",value:"phone",className:"ms-phone-template",img:__MSP_PATH+"images/templates/phone.png",settings:{width:258,height:456,speed:20,space:2,trView:"wave",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Flat Smart Phone",value:"flat-phone",className:"ms-phone-template",img:__MSP_PATH+"images/templates/flat-phone.png",settings:{width:258,height:456,speed:20,space:2,trView:"basic",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Landscape Smart Phone",value:"phone-land",className:"ms-phone-template ms-phone-land",img:__MSP_PATH+"images/templates/phone-land.png",settings:{width:456,height:258,speed:20,space:2,trView:"mask",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Flat Landscape Smart Phone",value:"flat-phone-land",className:"ms-phone-template ms-phone-land",img:__MSP_PATH+"images/templates/flat-phone-land.png",settings:{width:456,height:258,speed:20,space:2,trView:"mask",dir:"h",layout:"boxed"},controls:{arrows:{},bullets:{autohide:!1}},disableControls:!0},{name:"Vertical Slider",value:"vertical-slider",className:"ms-vertical-template",img:__MSP_PATH+"images/templates/vertical-slider.png",settings:{space:5,dir:"v"},controls:{arrows:{},scrollbar:{dir:"v"},circletimer:{color:"#FFFFFF",stroke:9},thumblist:{autohide:!1,dir:"v",space:5,margin:5,align:"right"}}},{name:"Staff Carousel V1",value:"staff-1",className:"ms-staff-carousel",img:__MSP_PATH+"images/templates/staff-1.png",settings:{loop:!0,width:240,height:240,speed:20,trView:"focus",layout:"partialview",space:0,wheel:!0,dir:"h"},controls:{arrows:{},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Staff Carousel V2",value:"staff-2",className:"ms-staff-carousel",img:__MSP_PATH+"images/templates/staff-2.png",settings:{loop:!0,width:240,height:240,speed:20,trView:"fadeBasic",layout:"partialview",space:0,dir:"h"},controls:{arrows:{},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Staff Carousel V3",value:"staff-3",className:"ms-staff-carousel ms-round",img:__MSP_PATH+"images/templates/staff-3.png",settings:{loop:!0,width:240,height:240,speed:20,trView:"focus",layout:"partialview",space:0,space:35,dir:"h"},controls:{arrows:{},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Staff Carousel V4",value:"staff-4",className:"ms-staff-carousel ms-round",img:__MSP_PATH+"images/templates/staff-4.png",settings:{loop:!0,width:240,height:240,speed:20,trView:"fadeBasic",layout:"partialview",space:0,space:45,dir:"h"},controls:{arrows:{},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Staff Carousel V5",value:"staff-5",className:"ms-staff-carousel",img:__MSP_PATH+"images/templates/staff-5.png",settings:{loop:!0,width:240,height:240,speed:20,trView:"wave",layout:"partialview",space:0,wheel:!0,dir:"h"},controls:{arrows:{},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Staff Carousel V6",value:"staff-6",className:"ms-staff-carousel",img:__MSP_PATH+"images/templates/staff-6.png",settings:{loop:!0,width:240,height:240,speed:20,trView:"flow",layout:"partialview",space:0,wheel:!0,dir:"h"},controls:{arrows:{},slideinfo:{autohide:!1,align:"bottom",size:160}}},],MSPanel.SlideFrame=Ember.View.extend({classNames:["msp-slideframe"],classNameBindings:["selected:active"],selected:!1,thumb_src:"",showbtnclass:"msp-ico msp-ico-whitehide",template:Ember.Handlebars.compile('<div class="msp-img-cont">{{#if view.hasImg}}<div class="msp-imgselect-preview" {{bind-attr style=view.preview}})"><\/div>{{/if}}<\/div><span class="msp-frame-slideorder">#{{view.order}}<\/span><div class="msp-framehandle"><ul><li><a title="'+__MSP_LAN.ui_001+'" href="#" {{action "hideswitch" target=view}}><span {{bind-attr class=view.showbtnclass}}><\/span><\/a><\/li><li><a title="'+__MSP_LAN.ui_002+'" href="#" {{action "duplicate" target=view}}><span class="msp-ico msp-ico-whiteduplicate"><\/span><\/a><\/li><li><a title="'+__MSP_LAN.ui_003+'" href="#" {{action "remove" target=view}}><span class="msp-ico msp-ico-whiteremove"><\/span><\/a><\/li><\/ul><\/div>'),click:function(){this.get("controller").send("select",this.get("slide"))},onValueChanged:function(){var n=!Ember.isEmpty(this.get("slide.bg"));this.beginPropertyChanges(),this.set("hasImg",n),n&&this.set("preview","background-image:url("+this.get("slide.bgThumb")+");"),this.endPropertyChanges()}.observes("slide.bg").on("didInsertElement"),onSelect:function(){var n=this.get("slide");this.set("selected",n===this.get("controller.currentSlide"))}.observes("controller.currentSlide").on("init"),hideChange:function(){this.get("slide.ishide")?this.set("showbtnclass","msp-ico msp-ico-whitehide msp-ico-whiteshow"):this.set("showbtnclass","msp-ico msp-ico-whitehide")}.observes("slide.ishide").on("init"),order:function(){return this.get("slide.order")+1}.property("slide.order"),actions:{duplicate:function(){this.get("controller").duplicateSlide(this.get("slide"))},hideswitch:function(){this.set("slide.ishide",!this.get("slide.ishide"))},remove:function(){confirm(__MSP_LAN.ui_004)&&this.get("controller").removeSlide(this.get("slide"))}}}),MSPanel.SlideList=Ember.View.extend({tagName:"ul",classNames:["msp-slides"],template:Ember.Handlebars.compile('{{#each item in controller}}<li class="msp-slideframe-item" {{bind-attr data-id=item.id}}>{{view MSPanel.SlideFrame slide=item}}<\/li>{{/each}}<li class="msp-addslide-cont"><div class="msp-addslide" {{action "newSlide"}}><span class="msp-ico msp-ico-grayaddlarge"><\/span><span class="msp-addslide-label">Add Slide<\/span><\/div><\/li>'),didInsertElement:function(){var n=this;this.$().sortable({placeholder:"msp-frames-srtplaceholder",items:">li:not(.msp-addslide-cont)",delay:100,update:function(){n.updateSort()},create:function(){n.updateSort()}})},updateSort:function(){var n={};$(".msp-slideframe-item").each(function(t){n[$(this).data("id")]=t}),this.$().sortable("cancel"),this.get("controller").updateSlidesSort(n)}}),MSPanel.ImgSelect=Ember.View.extend({classNames:["msp-imgselect"],value:"",hasImg:!1,frame:null,template:Ember.Handlebars.compile('<div class="msp-img-cont">{{#if view.hasImg}}<div class="msp-imgselect-preview" {{bind-attr style=view.preview}})"><\/div>{{/if}}<\/div>{{#if view.hasImg}}<button {{action removeImg target="view"}} class="msp-img-btn"><span class="msp-ico msp-ico-grayremove"><\/span><\/button>{{else}}<button {{action addImg target="view"}} class="msp-img-btn"><span class="msp-ico msp-ico-grayadd"><\/span><\/button>{{/if}}'),willDestroyElement:function(){var n=this.get("frame");n&&(n.detach(),n.remove(),n=null,this.set("frame",null))},onValueChanged:function(){this.beginPropertyChanges(),this.set("hasImg",!Ember.isEmpty(this.get("value"))),this.set("preview","background-image:url("+this.get("thumb")+");"),this.endPropertyChanges()}.observes("value").on("didInsertElement"),actions:{removeImg:function(){this.beginPropertyChanges(),this.set("value",undefined),this.set("thumb",undefined),this.endPropertyChanges()},addImg:function(){var t,n;if(typeof wp!="undefined"){if(t=this,n=this.get("frame"),n){n.open();return}n=wp.media.frames.frame=wp.media({title:"Select Image",multiple:!1,frame:"select",library:{type:"image"},button:{text:"Add Image"}});n.on("select",function(){var i=n.state().get("selection").first().toJSON();t.set("thumb",(i.sizes.thumbnail||i.sizes.full).url),t.set("value",i.url)});n.open(),this.set("frame",n)}}}}),MSPanel.Select=Ember.Select.extend({tagName:"div",classNames:["msp-ddlist"],layout:Ember.Handlebars.compile("<select>{{yield}}<\/select>"),value:null,width:100,didInsertElement:function(){var n=this;this.$("select").on("change",function(){var t=n.$("select option:selected");n.set("value",t.attr("value"))}).width(this.get("width")),this.onValueChanged()},onValueChanged:function(){Ember.isEmpty(this.get("value"))||this.$("select").val(this.get("value"))}.observes("value")}),MSPanel.URLTarget=MSPanel.Select.extend({onInit:function(){var n=[{lable:__MSP_LAN.ui_005,value:"_self"},{lable:__MSP_LAN.ui_006,value:"_blank"},{lable:__MSP_LAN.ui_007,value:"_parent"},{lable:__MSP_LAN.ui_008,value:"_top"}];this.set("content",n),this.set("optionValuePath","content.value"),this.set("optionLabelPath","content.lable"),this.set("width",200)}.on("init")}),MSPanel.Fillmode=Ember.View.extend({classNames:["msp-fill-dd"],type:"slide",value:"fill",index:1,template:Ember.Handlebars.compile("<select>{{#each item in view.contents}}<option {{bind-attr value=item.value data-imagesrc=item.img}}>{{item.text}}<\/option>{{/each}}<\/select>"),didInsertElement:function(){var t=this,n=!0;this.$("select").ddslick({width:154,onSelected:function(i){n||t.set("value",i.selectedData.value),n=!1}}),this.onValueChanged()},onValueChanged:function(){Ember.isEmpty(this.get("value"))||this.$(".dd-container").ddslick("select",{index:this.get("valuedic")[this.get("value")]})}.observes("value"),onInit:function(){var n,t;this.get("type")==="slide"?(n=[{value:"fill",text:__MSP_LAN.ui_009,img:__MSP_PATH+"images/fill.png"},{value:"fit",text:__MSP_LAN.ui_010,img:__MSP_PATH+"images/fit.png"},{value:"center",text:__MSP_LAN.ui_011,img:__MSP_PATH+"images/center.png"},{value:"stretch",text:__MSP_LAN.ui_012,img:__MSP_PATH+"images/stretch.png"},{value:"tile",text:__MSP_LAN.ui_013,img:__MSP_PATH+"images/tile.png"}],t={fill:0,fit:1,center:2,stretch:3,tile:4}):this.get("type")==="video"&&(n=[{value:"fill",text:__MSP_LAN.ui_009,img:__MSP_PATH+"images/fill.png"},{value:"fit",text:__MSP_LAN.ui_010,img:__MSP_PATH+"images/fit.png"}],t={fill:0,fit:1,none:2}),this.set("contents",n),this.set("valuedic",t)}.on("init")}),MSPanel.SimpleCodeBlock=Ember.View.extend({classNames:["msp-shortcode-box"],template:Ember.Handlebars.compile('<input type="text" readonly {{bind-attr value=view.value}}>'),width:150,didInsertElement:function(){this.$("input").on("click",function(){$(this).select()}).width(this.get("width"))}}),MSPanel.SettingsView=Ember.View.extend({didInsertElement:function(){this.set("controller.mainView",this)}}),MSPanel.SlidesView=Ember.View.extend({didInsertElement:function(){this.set("controller.mainView",this)}}),MSPanel.StageArea=Ember.View.extend({classNames:["msp-stage-area"],template:Ember.Handlebars.compile('{{view MSPanel.Stage}}{{#if noticeMsg}}<div class="msp-stage-msg"><span class="msp-ico msp-ico-notice"><\/span>{{{noticeMsg}}}<\/div>{{/if}}')}),MSPanel.Stage=Ember.View.extend({classNames:["msp-slide-stage"],attributeBindings:["style"],template:Ember.Handlebars.compile('<div id="stage-bg" class="msp-stage-bg"><\/div>'),resize:function(){var n=this.get("controller.sliderSettings.width"),t=this.get("controller.sliderSettings.height");this.set("width",n),this.set("height",t),this.$().css({width:n,height:t})}.observes("controller.sliderSettings.width","controller.sliderSettings.height").on("didInsertElement"),didInsertElement:function(){var i=this.$("#stage-bg"),n=$("<img/>"),t;n.css("visibelity","hidden").each($.jqLoadFix),t=new MSAligner(this.get("controller.currentSlide.fillMode"),i,n),this.set("bgAligner",t),this.set("bgImg",n),this.onBGChange()},onBGColorChange:function(){var n=this.get("controller.currentSlide.bgColor");Ember.isEmpty(n)?this.$("#stage-bg").css("background-color",""):this.$("#stage-bg").css("background-color",n)}.observes("controller.currentSlide.bgColor"),onBGChange:function(){var i=this.get("bgAligner"),t,n,r;i&&i.reset(),t=this.get("controller.currentSlide.bg"),n=this.get("bgImg"),Ember.isEmpty(t)?n.detach():(r=this,n.appendTo(this.$("#stage-bg")),n.preloadImg(t,function(n){r._onBGLoad(n)}),n.attr("src",t))}.observes("controller.currentSlide.bg"),_onBGLoad:function(n){var t=this.get("bgAligner");t&&(t.init(n.width,n.height),t.align(),this.get("bgImg").css("visibelity",""))},onFillModeChanged:function(){var n=this.get("bgAligner");n.changeType(this.get("controller.currentSlide.fillMode"))}.observes("controller.currentSlide.fillMode"),willDestroyElement:function(){this.set("bgAligner",null)}}),MSPanel.ControlBtn=Ember.View.extend({control:null,tagName:"div",active:!1,classNames:["msp-control-btn"],classNameBindings:["active:msp-blue-btn"],template:Ember.Handlebars.compile('<span class="msp-control-label">{{view.control.label}}<\/span><a href="#" {{action "removeControl" target=view bubbles=false}}><span class="msp-control-removes msp-ico msp-ico-whiteremove"><\/span><\/a>'),didInsertElement:function(){},onActiveChange:function(){this.set("active",this.get("controller.currentControl")===this.get("control")),this.get("active")&&this.get("controller").send("showControlOptions")}.observes("controller.currentControl").on("init"),click:function(){this.get("active")||this.set("controller.currentControl",this.get("control"))},actions:{removeControl:function(){confirm('Are you sure want to remvoe "'+this.get("control.label")+'" control?')&&this.get("controller").send("removeControl",this.get("control"))}}}),MSPanel.MetaBoxComponent=Ember.Component.extend({tagName:"div",classNames:["msp-metabox"],layout:Ember.Handlebars.compile('<div class="msp-metabox-handle"><h3 class="msp-metabox-title">{{title}}<\/h3><div class="msp-metabox-toggle"><\/div><\/div>{{yield}}<div class="clear"> <\/div>')}),Ember.TEMPLATES["components/tabs-panel"]=Ember.Handlebars.compile("{{yield}}"),MSPanel.TabsPanelComponent=Ember.Component.extend({tagName:"div",attributeBindings:["id"],classNames:["msp-metabox msp-metabox-tabs"],didInsertElement:function(){this.$().avertaLiveTabs()}}),MSPanel.SwitchBoxComponent=Ember.Component.extend({classNames:["msp-switchbox"],offlable:"OFF",onlable:"ON",value:!1,layout:Ember.Handlebars.compile('<div class="msp-switch-cont"><span class="msp-switch-off">{{view.offlable}}<\/span><div class="msp-switch-handle"><\/div><span class="msp-switch-on">{{view.onlable}}<\/span><\/div>'),click:function(){var n=this;n.set("value",!n.get("value"))},update:function(){this.get("value")?this.$().addClass("switched"):this.$().removeClass("switched")}.observes("value").on("didInsertElement")}),hiddenEditor=jQuery("#mspHiddenEditor")[0].outerHTML,__tmc_msp_id=0,MSPanel.WPEditor=Ember.View.extend({classNames:["msp-wp-editor"],_id:null,template:null,tab:null,tabs:null,onInit:function(){var n="msp-wpeditor-"+__tmc_msp_id;this.set("_id",n),this.set("template",Ember.Handlebars.compile(WPEditorTemplate(n))),__tmc_msp_id++}.on("init"),didInsertElement:function(){var n=this.get("tabs");if(Ember.isEmpty(n)){this.createEditor();return}$("#"+n).bind("avtTabChange",{that:this},this.refreshEditor)},refreshEditor:function(n,t){var i=n.data.that;i.get("tab")===t&&i.createEditor()},createEditor:function(){var t,i,n,r,u;if(this.get("inited")!==!0&&(this.set("inited",!0),t=this.get("_id"),i=this,window.tinymce&&(n=$.extend({},window.tinyMCEPreInit.mceInit["msp-hidden"]||{}),n.forced_root_block="",n.force_br_newlines=!0,n.force_p_newlines=!1,n.wpautop=!1,tinyMCE.majorVersion=="3"?(n.body_class=n.elements=t,tinymce.init(n),setTimeout(function(){i.initEditor(tinyMCE.getInstanceById(t))},50)):tinyMCE.majorVersion=="4"&&(n.body_class="content post-type-post post-status-auto-draft post-format-standard",n.selector="#"+t,tinymce.init(n),setTimeout(function(){i.initEditor(tinyMCE.get(t))},50)),n.setup=function(){}),r=$.extend({},window.tinyMCEPreInit.qtInit["msp-hidden"]||{}),r.id=t,typeof QTags=="function")){u=quicktags(r),QTags.buttonsInitDone=!1,QTags._buttonsInit(),i.set("qtags",u),switchEditors.go(t,"html");this.$("textarea#"+this.get("_id")).on("change keyup paste",function(){i.set("value",$(this).val())})}},initEditor:function(n){function t(){r.set("internalChange",!0),r.set("value",n.getContent()),r.set("internalChange",!1)}var i=this.get("_id"),u=this.get("value"),r=this;this.$(".wp-editor-wrap").on("mousedown",function(){wpActiveEditor=i});if(tinyMCE.majorVersion=="3")n.onChange.add(t),n.onKeyUp.add(t);else if(tinyMCE.majorVersion=="4"){n.on("change",t);n.on("keyup",t)}this.$().click(t),setTimeout(function(){switchEditors.go(i,"html"),switchEditors.go(i,"tmce")},100),this.set("mce",n),this.onValueChanged()},onValueChanged:function(){var n,t;if(this.get("inited")){if(n=this.get("value"),this.$("textarea#"+this.get("_id")).val(n),this.get("internalChange")){this.set("internalChange",!1);return}t=this.get("mce"),Ember.isEmpty(t)||n==null?n==null&&t.setContent(" "):t.setContent(n)}}.observes("value"),willDestroyElement:function(){var n,t;this.get("inited")&&(window.tinymce&&tinymce.remove(this.get("_id")),n=this.get("qtags"),n&&($(n.toolbar).remove(),n.toolbar=null,n=null,QTags.instances[this.get("_id")]&&delete QTags.instances[this.get("_id")],this.$("textarea#"+this.get("_id")).remove()),t=this.get("tabs"),Ember.isEmpty(t)||$("#"+t).unbind("avtTabChange",this.refreshEditor))}}),jQuery.ui&&jQuery.ui.spinner&&(jQuery.ui.spinner.prototype._events.mousewheel=function(n,t){if(t&&this.element.is(":focus")){if(!this.spinning&&!this._start(n))return!1;this._spin((t>0?1:-1)*this.options.step,n),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(n)},100),n.preventDefault()}}),MSPanel.NumberInputView=Ember.View.extend({step:1,min:0,tagName:"input",attributeBindings:["type"],lastValue:null,type:"text",didInsertElement:function(){var n=this,i=this.$(),t=function(){var t=i.spinner("value");n.set("internalChange",!0),isNaN(t)||t==null?n.set("value",undefined):n.set("value",parseFloat(t))};i.on("change",t).spinner({step:this.get("step"),numberFormat:"n",min:this.get("min"),max:this.get("max"),spin:t,stop:t}).spinner("value",this.get("value"))},onValueChanged:function(){if(this.get("internalChange")){this.set("internalChange",!1);return}this.$().spinner("value",this.get("value"))}.observes("value")}),Ember.Handlebars.helper("number-input",MSPanel.NumberInputView),MSPanel.ColorPickerComponent=Ember.Component.extend({tagName:"input",classNames:"msp-color-picker",value:null,didInsertElement:function(){var n=this;this.$().spectrum({color:this.get("value"),allowEmpty:!0,showInput:!0,showAlpha:!0,clickoutFiresChange:!0,preferredFormat:"hex6",change:function(t){t===null?n.set("value",null):n.set("value",t.toString())}})},willDestroyElement:function(){this.$().spectrum("destroy")},onValueChanged:function(){this.$().spectrum("set",this.get("value"))}.observes("value")}),MSPanel.DropdwonListComponent=Ember.Component.extend({tagName:"div",classNames:["msp-ddlist"],layout:Ember.Handlebars.compile("<select>{{yield}}<\/select>"),value:null,width:100,didInsertElement:function(){var n=this;this.$("select").on("change",function(){var t=n.$("select option:selected");n.set("value",t.attr("value"))}).width(this.get("width")),this.onValueChanged()},onValueChanged:function(){Ember.isEmpty(this.get("value"))||this.$("select").val(this.get("value"))}.observes("value")}),MSPanel.CodeMirrorComponent=Ember.Component.extend({classNames:["msp-codemirror"],width:250,height:200,mode:"css",tab:null,tabs:null,layout:Ember.Handlebars.compile("<textarea>{{yield}}<\/textarea>"),didInsertElement:function(){var t,n,i,r;this.$().width(this.get("width")).height(this.get("height")),t=this,n=CodeMirror.fromTextArea(this.$(">textarea")[0],{lineNumbers:!0,mode:this.get("mode")});n.on("change",function(){t.set("internalChange",!0),t.set("value",n.getValue())});this.set("editor",n),i=this.get("value"),Ember.isEmpty(i)||n.setValue(i),r=this.get("tabs"),Ember.isEmpty(r)||$("#"+r).bind("avtTabChange",{that:this},this.refreshEditor)},onValueChanged:function(){if(this.get("internalChange")===!0){this.set("internalChange",!1);return}this.get("editor").setValue(this.get("value")),this.set("internalChange",!1)}.observes("value"),refreshEditor:function(n,t){var i=n.data.that;i.get("tab")===t&&i.get("editor").refresh()},willDestroyElement:function(){var t=this.get("tabs"),n;Ember.isEmpty(t)||$("#"+t).unbind("avtTabChange",this.refreshEditor),n=this.get("editor"),n.toTextArea(),n=null,this.set("editor",null)}}),MSPanel.pushData=null,MSPanel.ApplicationController=Ember.Controller.extend({sliderId:MSPanel.SliderID,isSending:!1,statusMsg:"",hasError:!1,onInit:function(){MSPanel.Settings.find(),MSPanel.Slide.find(),MSPanel.Control.find(),MSPanel.Callback.find(),this.set("disableControls",MSPanel.Settings.find(0).get("disableControls"));var n=this;MSPanel.pushData=function(){n.prepareData()},__MSP_TYPE==="wc-product"&&__MSP_POST==null&&__WC_INSTALL_URL!=null&&(this.set("hasError",!0),this.set("errorTemplate","wooc-error"),this.set("wooLink",__WC_INSTALL_URL)),this.generateButtonStyles(),this.set("shortCode","[masterslider id="+this.get("sliderId")+"]"),this.set("phpFunction","<?php masterslider("+this.get("sliderId")+"); ?>"),jQuery("#panelLoading").remove()}.on("init"),prepareData:function(){var n={},i="",t;MSPanel.Style.find().forEach(function(t){var i=t.get("fontFamily"),r=t.get("fontWeight");Ember.isEmpty(i)||(n[i]||(n[i]=[]),r==="normal"&&(r="regular"),Ember.isEmpty(r)||n[i].indexOf(r)!==-1||n[i].push(r))});for(t in n)i+=t.replace(/\s/,"+")+":"+n[t].join(",")+"|";MSPanel.Settings.find(1).set("usedFonts",i.slice(0,-1)),this.saveRecords(MSPanel.Settings.find()),this.saveRecords(MSPanel.Slide.find()),this.saveRecords(MSPanel.Control.find()),this.saveRecords(MSPanel.Callback.find())},generateButtonStyles:function(){var i=MSPanel.ButtonStyle.find(),n="",t=$("#msp-buttons");i.forEach(function(t){n+="."+t.get("className")+" {"+t.get("normal")+"}\n."+t.get("className")+":hover {"+t.get("hover")+"}\n."+t.get("className")+":active {"+t.get("active")+"}\n"}),t.length===0?t=$('<style id="msp-buttons"><\/style>').text(n).appendTo($("head")):t.text(n)},actions:{saveAll:function(){this.prepareData(),this.sendData()},showPreview:function(n){window.lunchMastersliderPreview&&lunchMastersliderPreview(n)}},saveRecords:function(n){n.forEach(function(n){n.save()})},sendData:function(){this.set("statusMsg",__MSP_LAN.ap_001),this.set("isSending",!0);var n=this;jQuery.post(__MS.ajax_url,{action:"msp_panel_handler",nonce:jQuery("#msp-main-wrapper").data("nonce"),msp_data:B64.encode(JSON.stringify(MSPanel.data)),preset_style:B64.encode(JSON.stringify(MSPanel.PSData)),preset_effect:B64.encode(JSON.stringify(MSPanel.PEData)),buttons:B64.encode(JSON.stringify(MSPanel.PBData)),slider_id:MSPanel.SliderID},function(t){n.set("statusMsg",t.message),n.set("isSending",!1)})}}),MSPanel.SettingsController=Ember.ObjectController.extend({customSlider:window.__MSP_TYPE&&window.__MSP_TYPE==="custom",templateSlider:window.__MSP_TYPE&&(window.__MSP_TYPE==="flickr"||window.__MSP_TYPE==="post"||window.__MSP_TYPE==="wc-product"||window.__MSP_TYPE==="facebook"),sliderSkins:__MSP_SKINS,needs:["application","controls"],msTemplateName:null,msTemplateImg:null,draftMSTemplate:null,templates:MSPanel.SliderTemplates,showAutoHeight:!1,showNearbyNum:!1,showWrapperWidth:!1,preloadMethod:null,setup:function(){var n=this.get("preload");n==="all"||n==="-1"?this.set("preloadMethod",n):this.set("preloadMethod","nearby"),this.set("draftMSTemplate",this.get("msTemplate")),this.updateTemplate(!0)},sliderLayoutChanged:function(){var n=this.get("layout");n==="fullscreen"||n==="autofill"?(this.set("showAutoHeight",!1),this.set("autoHeight",!1)):this.set("showAutoHeight",!0),this.set("showWrapperWidth",n==="boxed"||n==="partialview"),this.set("showFSMargin",n==="fullscreen")}.observes("layout").on("setup"),preloadSetup:function(){var t=this.get("preloadMethod"),n;t==="nearby"?(this.set("showNearbyNum",!0),n=this.get("preload"),(n==="all"||n==="-1")&&this.set("preload","0")):(this.set("showNearbyNum",!1),this.set("preload",t))}.observes("preloadMethod").on("setup"),updateTemplate:function(n){var t,s=this.get("msTemplate"),r,f,e,i,u,o;if(this.get("templates").forEach(function(n){if(n.value===s){t=n;return}}),t){if(this.set("msTemplateName",t.name),this.set("msTemplateImg",t.img),this.set("msTemplateClass",t.className),this.set("controllers.application.disableControls",t.disableControls),this.set("disableControls",t.disableControls),!n){for(r=this.get("controllers.controls"),e=MSPanel.Control.find();e.get("firstObject");)i=e.get("firstObject"),r.findControlObj(i.get("name")).used=!1,i.deleteRecord();for(u in t.controls)f=r.findControlObj(u),i=MSPanel.Control.create($.extend(!0,r.getDefaultValues(u),t.controls[u])),i.set("label",f.label),f.used=!0,i.save();for(o in t.settings)this.set(o,t.settings[o])}}else this.set("draftMSTemplate","custom"),this.updateTemplate()},actions:{openTemplates:function(){var n=MSPanel.TemplatesView.create({controller:this});this.get("mainView").createChildView(n),this.set("templatesView",n),n.appendTo(MSPanel.rootElement)},closeTemplates:function(){this.get("templatesView").destroy(),this.set("draftMSTemplate",this.get("msTemplate"))},saveTemplate:function(){if(this.get("draftMSTemplate")===this.get("msTemplate")){this.send("closeTemplates");return}confirm(__MSP_LAN.tv_002)&&(this.set("msTemplate",this.get("draftMSTemplate")),this.send("closeTemplates"),this.updateTemplate())}}}),MSPanel.SlidesController=Ember.ArrayController.extend({customSlider:window.__MSP_TYPE&&window.__MSP_TYPE==="custom",_order:-1,sortProperties:["order"],mainView:null,currentSlide:null,setup:function(){if(this.get("length")===0)this.send("newSlide");else{var n=this.get("firstObject");this.set("currentSlide",n)}Ember.isEmpty(this.get("sliderSettings.type"))&&this.set("sliderSettings.type",__MSP_TYPE),this.set("sliderSettings.sliderId",MSPanel.SliderID),this.updateOrder()},duplicateSlide:function(n){var i=n.toJSON(),t;delete i.id,delete i.layers,t=MSPanel.Slide.create(i),t.set("order",n.get("order")+1),this.forEach(function(n){var i=n.get("order"),r=t.get("order");i>=r&&n!==t&&n.set("order",i+1)}),t.save(),this.updateOrder()},updateSlidesSort:function(n){this.beginPropertyChanges(),this.forEach(function(t){t.set("order",n[t.get("id")])},this),this.endPropertyChanges(),this.set("_order",this.get("lastObject.order"))},updateOrder:function(){var n=0;this.forEach(function(t){t.set("order",n++)}),this.set("_order",n-1)},removeSlide:function(n){n.deleteRecord(),this.get("length")===0?this.send("newSlide"):this.send("select",this.get("firstObject")),this.updateOrder()},actions:{newSlide:function(){var n=MSPanel.Slide.create({order:this.get("_order")+1});this.set("currentSlide",n),this.set("_order",this.get("_order")+1),n.save()},select:function(n){n!==this.get("currentSlide")&&this.set("currentSlide",n)}}}),MSPanel.ControlsController=Ember.ArrayController.extend({needs:"application",controls:[{used:!1,label:__MSP_LAN.cc_001,value:"arrows"},{used:!1,label:__MSP_LAN.cc_002,value:"timebar"},{used:!1,label:__MSP_LAN.cc_003,value:"bullets"},{used:!1,label:__MSP_LAN.cc_004,value:"circletimer"},{used:!1,label:__MSP_LAN.cc_005,value:"scrollbar"},{used:!1,label:__MSP_LAN.cc_006,value:"slideinfo"},{used:!1,label:__MSP_LAN.cc_007,value:"thumblist"}],selectedControl:null,availableControls:[],noMore:!1,currentControl:null,setup:function(){var n=this;this.forEach(function(t){n.findControlObj(t.get("name")).used=!0}),this.set("availableControls",this.findAvailableControls())},actions:{addControl:function(){var t=this.get("selectedControl"),i=this.findControlObj(t),n;n=MSPanel.Control.create(this.getDefaultValues(t)),n.set("label",i.label),i.used=!0,this.set("availableControls",this.findAvailableControls()),n.save(),this.set("currentControl",n)},removeControl:function(n){this.findControlObj(n.get("name")).used=!1,this.set("availableControls",this.findAvailableControls()),n.deleteRecord(),this.set("currentControl",this.get("firstObject")),this.send("showControlOptions")},showControlOptions:function(){var n=this.get("currentControl");Ember.isEmpty(n)?this.set("controlOptions","empty-template"):this.set("controlOptions",n.get("name")+"-options")}},findControlObj:function(n){for(var i=this.get("controls"),t=0,r=i.length;t!==r;t++)if(i[t].value===n)return i[t];return null},findAvailableControls:function(){for(var n=[],i=this.get("controls"),t=0,r=i.length;t!==r;t++)i[t].used||n.push(i[t]);return this.set("noMore",n.length===0),this.set("selectedControl",n[0]?n[0].value:null),n},getDefaultValues:function(n){var t={name:n};t.inset=!(n==="slideinfo"||n==="thumblist");switch(n){case"timebar":t.align="bottom",t.color="#FFFFFF",t.autoHide=!1,t.width=4;break;case"bullets":t.align="bottom",t.dir="h",t.margin=10;break;case"circletimer":t.color="#A2A2A2",t.stroke=10,t.radius=4,t.autoHide=!1;break;case"scrollbar":t.align="top",t.dir="h",t.color="#3D3D3D",t.margin=10,t.autoHide=!1,t.width=4;break;case"slideinfo":t.align="bottom",t.margin=10,t.autoHide=!1;break;case"thumblist":t.align="bottom",t.space=5,t.width=100,t.height=80,t.margin=10,t.fillMode="fill",t.autoHide=!1}return t}}),MSPanel.CallbacksController=Ember.ArrayController.extend({callbacks:[{used:!1,label:__MSP_LAN.cb_011,value:"INIT"},{used:!1,label:__MSP_LAN.cb_001,value:"CHANGE_START"},{used:!1,label:__MSP_LAN.cb_002,value:"CHANGE_END"},{used:!1,label:__MSP_LAN.cb_003,value:"WAITING"},{used:!1,label:__MSP_LAN.cb_004,value:"RESIZE"},{used:!1,label:__MSP_LAN.cb_005,value:"VIDEO_PLAY"},{used:!1,label:__MSP_LAN.cb_006,value:"VIDEO_CLOSE"},{used:!1,label:__MSP_LAN.cb_007,value:"SWIPE_START"},{used:!1,label:__MSP_LAN.cb_008,value:"SWIPE_MOVE"},{used:!1,label:__MSP_LAN.cb_009,value:"SWIPE_END"}],availableCallbacks:[],noMore:!1,selectedCallback:null,setup:function(){var n=this;this.forEach(function(t){n.findCallbackObj(t.get("name")).used=!0}),this.set("availableCallbacks",this.findAvailableCallbacks())},actions:{addCallback:function(){var i=this.get("selectedCallback"),n=this.findCallbackObj(i),t;t=MSPanel.Callback.create({name:n.value,label:n.label}),n.used=!0,this.set("availableCallbacks",this.findAvailableCallbacks()),t.save()},removeCallback:function(n){confirm(__MSP_LAN.cb_010.jfmt(n.get("label")))&&(this.findCallbackObj(n.get("name")).used=!1,this.set("availableCallbacks",this.findAvailableCallbacks()),n.deleteRecord())}},findCallbackObj:function(n){for(var i=this.get("callbacks"),t=0,r=i.length;t!==r;t++)if(i[t].value===n)return i[t];return null},findAvailableCallbacks:function(){for(var n=[],i=this.get("callbacks"),t=0,r=i.length;t!==r;t++)i[t].used||n.push(i[t]);return this.set("noMore",n.length===0),this.set("selectedCallback",n[0]?n[0].value:null),n}})
|
4 |
* @version 1.0
|
5 |
* http://www.averta.net
|
6 |
*/
|
7 |
+
function WPEditorTemplate(n){var t=$(hiddenEditor);return t.find("link").remove(),t.html().replace(/msp-hidden/g,n)}var hiddenEditor,__tmc_msp_id;window.MSPanel=Ember.Application.create({rootElement:"#msp-root"}),MSPanel.version="1.0",MSPanel.SliderID=parseQueryString(window.location.search).slider_id||__MSP_SLIDER_ID||"100",String.prototype.jfmt=function(){return"".fmt.apply(this.replace(/%s|%d/,"%@"),arguments)},$=jQuery.noConflict(),jQuery.ui.dialog.prototype._focusTabbable=function(){},MSPanel.Router.map(function(){this.resource("settings"),this.resource("slides",{path:"/"}),this.resource("controls"),this.resource("callbacks"),this.resource("error")}),MSPanel.Router.reopen({location:"none"}),MSPanel.ApplicationRoute=Ember.Route.extend({model:function(){var n=MSPanel.Settings.find();n.get("length")===0&&MSPanel.Settings.create().save()}}),MSPanel.SettingsRoute=Ember.Route.extend({model:function(){return MSPanel.Settings.find(1)},setupController:function(n,t){n.set("model",t),n.setup()}}),MSPanel.SlidesRoute=Ember.Route.extend({model:function(){return MSPanel.Slide.find()},setupController:function(n,t){n.set("model",t),n.set("sliderSettings",MSPanel.Settings.find(1)),n.setup()}}),MSPanel.ControlsRoute=Ember.Route.extend({model:function(){return MSPanel.Control.find()},setupController:function(n,t){n.set("model",t),n.setup(),this.activate()},activate:function(){var n=this.get("controller");n&&n.set("controlOptions","empty-template")}}),MSPanel.CallbacksRoute=Ember.Route.extend({model:function(){return MSPanel.Callback.find()},setupController:function(n,t){n.set("model",t),n.setup()}}),function(){var n=Ember.attr,f=Ember.hasMany,r=Ember.belongsTo,u=/https\:|http\:/,t={serialize:function(n){return n==undefined?n:u.test(n)?n.replace(__MS.upload_dir,""):n},deserialize:function(n){return n==undefined?n:u.test(n)?n:__MS.upload_dir+n}},i;MSPanel.Settings=Ember.Model.extend({id:n("number"),snapping:n("boolean",{defaultValue:!0}),bgImageThumb:n(t),disableControls:n("boolean",{defaultValue:!1}),name:n("string",{defaultValue:__MSP_LAN.sm_001}),width:n("number",{defaultValue:1e3}),height:n("number",{defaultValue:500}),wrapperWidth:n("number"),wrapperWidthUnit:n("string",{defaultValue:"px"}),autoCrop:n("boolean",{defaultValue:!1}),type:n("string"),sliderId:n("string"),layout:n("string",{defaultValue:"boxed"}),autoHeight:n("boolean",{defaultValue:!1}),trView:n("string",{defaultValue:"basic"}),speed:n("number",{defaultValue:20}),space:n("number",{defaultValue:0}),start:n("number",{defaultValue:1}),grabCursor:n("boolean",{defaultValue:!0}),swipe:n("boolean",{defaultValue:!0}),mouse:n("boolean",{defaultValue:!0}),wheel:n("boolean",{defaultValue:!1}),autoplay:n("boolean",{defaultValue:!1}),loop:n("boolean",{defaultValue:!1}),shuffle:n("boolean",{defaultValue:!1}),preload:n("string",{defaultValue:"-1"}),overPause:n("boolean",{defaultValue:!0}),endPause:n("boolean",{defaultValue:!1}),hideLayers:n("boolean",{defaultValue:!1}),dir:n("string",{defaultValue:"h"}),parallaxMode:n("srting",{defaultValue:"swipe"}),centerControls:n("boolean",{defaultValue:!0}),instantShowLayers:n("boolean",{defaultValue:!1}),fullscreenMargin:n("number"),inlineStyle:n("string"),className:n("string"),bgColor:n("string"),bgImage:n(t),skin:n("string",{defaultValue:"ms-skin-default"}),msTemplate:n("string",{defaultValue:"custom"}),msTemplateClass:n("string",{defaultValue:""}),usedFonts:n("string"),apiKey:n("string"),setId:n("string"),setType:n("string"),imgCount:n("number"),thumbSize:n("srting"),imgSize:n("string"),postType:n("string"),postCats:n(Array),postTags:n(Array),postCount:n("number"),postImageType:n("string"),postOrder:n("string"),postOrderDir:n("string"),postExcerptLen:n("number"),postExcludeIds:n("string"),postOffset:n("number"),postLinkSlide:n("boolean"),postLinkTarget:n("string"),postSlideBg:n("string"),postSlideBgthumb:n("string"),wcOnlyInstock:n("boolean"),wcOnlyFeatured:n("boolean"),wcOnlyOnsale:n("boolean")}),MSPanel.Slide=Ember.Model.extend({id:n("number"),timeline_h:n("number",{defaultValue:200}),bgThumb:n(t),thumbOrginal:n(t),order:n("number"),ishide:n("boolean"),bg:n(t),duration:n("number",{defaultValue:3}),fillMode:n("string",{defaultValue:"fill"}),thumb:n(t),info:n("string"),link:n("string"),linkTarget:n("string"),video:n("string"),autoplayVideo:n("boolean"),bgColor:n("string"),bgv_mp4:n("string"),bgv_ogg:n("string"),bgv_webm:n("string"),bgv_fillmode:n("string",{defaultValue:"fill"}),bgv_loop:n("boolean",{defaultValue:!0}),bgv_mute:n("boolean",{defaultValue:!0}),bgv_autopause:n("boolean",{defaultValue:!1}),cssId:n("string"),cssClass:n("string"),bgAlt:n("string"),layers:f("MSPanel.Layer",{key:"layer_ids"})}),MSPanel.Layer=Ember.Model.extend({id:n("number"),name:n("string"),isLocked:n("boolean",{defaultValue:!1}),isHided:n("boolean",{defaultValue:!1}),isSoloed:n("boolean",{defaultValue:!1}),slide:r("MSPanel.Slide",{key:"slide"}),styleModel:r("MSPanel.Style",{key:"styleModel",embedded:!1}),showEffect:r("MSPanel.Effect",{key:"showEffect",embedded:!1}),showTransform:n("string",{defaultValue:""}),showOrigin:n("string",{defaultValue:""}),showFade:n("boolean",{defaultValue:!0}),hideEffect:r("MSPanel.Effect",{key:"hideEffect",embedded:!1}),hideTransform:n("string",{defaultValue:""}),hideOrigin:n("string",{defaultValue:""}),hideFade:n("boolean",{defaultValue:!0}),imgThumb:n(t),stageOffsetX:n("number",{defaultValue:0}),stageOffsetY:n("number",{defaultValue:0}),order:n("number"),type:n("string"),cssClass:n("string"),cssId:n("string"),title:n("string"),rel:n("string"),content:n("string",{defaultValue:"Lorem Ipsum"}),img:n(t),imgAlt:n("string"),video:n("string",{defaultValue:"http://player.vimeo.com/video/11721242"}),align:n("string",{defaultValue:"top"}),useAction:n("boolean",{defaultValue:!1}),action:n("string"),toSlide:n("number"),link:n("string"),linkTarget:n("string"),offsetX:n("number",{defaultValue:0}),offsetY:n("number",{defaultValue:0}),width:n("number"),height:n("number"),resize:n("boolean",{defaultValue:!0}),fixed:n("boolean",{defaultValue:!1}),widthlimit:n("number",{defaultValue:"0"}),origin:n("string",{defaultValue:"tl"}),stayHover:n("boolean",{defaultValue:!0}),className:n("string"),parallax:n("string"),showDuration:n("number",{defaultValue:1}),showDelay:n("number",{defaultValue:0}),showEase:n("string",{defaultValue:"easeOutQuint"}),showEffFunc:n("string"),useHide:n("boolean",{defaultValue:!1}),hideDuration:n("number",{defaultValue:1}),hideDelay:n("number",{defaultValue:1}),hideEase:n("string",{defaultValue:"easeOutQuint"}),hideEffFunc:n("string"),btnClass:n("string",{defaultValue:"ms-default-btn"})}),MSPanel.Style=Ember.Model.extend({id:n("number"),name:n("string"),type:n("string"),className:n("string"),backgroundColor:n("string"),paddingTop:n("number"),paddingRight:n("number"),paddingBottom:n("number"),paddingLeft:n("number"),borderTop:n("number"),borderRight:n("number"),borderBottom:n("number"),borderLeft:n("number"),borderColor:n("string"),borderRadius:n("number"),borderStyle:n("string"),fontFamily:n("string"),fontWeight:n("string",{defaultValue:"normal"}),fontSize:n("number"),textAlign:n("string"),letterSpacing:n("number"),lineHeight:n("string",{defaultValue:"normal"}),whiteSpace:n("string"),color:n("string"),custom:n("string")}),MSPanel.PresetStyle=MSPanel.Style.extend({}),MSPanel.Effect=Ember.Model.extend({id:n("number"),name:n("string"),type:n("string"),fade:n("boolean",{defaultValue:!0}),translateX:n("number"),translateY:n("number"),translateZ:n("number"),scaleX:n("number"),scaleY:n("number"),rotate:n("number"),rotateX:n("number"),rotateY:n("number"),rotateZ:n("number"),skewX:n("number"),skewY:n("number"),originX:n("number"),originY:n("number"),originZ:n("number")}),MSPanel.PresetEffect=MSPanel.Effect.extend({}),MSPanel.Control=Ember.Model.extend({id:n("number"),label:n("string"),name:n("string"),autoHide:n("boolean",{defaultValue:!0}),overVideo:n("boolean",{defaultValue:!0}),cssClass:n("string"),cssId:n("string"),margin:n("number"),dir:n("string"),color:n("string"),radius:n("number"),stroke:n("number"),speed:n("number"),space:n("number"),type:n("string"),width:n("number"),height:n("number"),align:n("string"),inset:n("boolean"),size:n("number"),hideUnder:n("number"),fillMode:n("string")}),MSPanel.Callback=Ember.Model.extend({id:n("number"),label:n("string"),name:n("string"),content:n("string",{defaultValue:"function(event){\n var api = event.target;\n}"})}),MSPanel.ButtonStyle=Ember.Model.extend({id:n("number"),className:n("string"),normal:n("string"),hover:n("string"),active:n("string")}),i=function(n){var t=B64.decode(n);return t.slice(0,t.lastIndexOf("}")+1)},window.__MSP_PRESET_BUTTON=null,MSPanel.data=__MSP_DATA?JSON.parse(i(__MSP_DATA)):{meta:{}},MSPanel.PSData=__MSP_PRESET_STYLE?JSON.parse(i(__MSP_PRESET_STYLE)):{meta:{}},MSPanel.PEData=__MSP_PRESET_EFFECT?JSON.parse(i(__MSP_PRESET_EFFECT)):{meta:{}},MSPanel.PBData=__MSP_PRESET_BUTTON?JSON.parse(i(__MSP_PRESET_BUTTON)):{meta:{}},MSPanel.Settings.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.Slide.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.Layer.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.Style.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.Effect.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.Control.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.Callback.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.data}),MSPanel.PresetStyle.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.PSData}),MSPanel.PresetEffect.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.PEData}),MSPanel.ButtonStyle.adapter=Ember.OfflineAdapter.create({applicationData:MSPanel.PBData})}(),MSPanel.SliderTemplates=[{name:"Custom Template",value:"custom",className:"",img:__MSP_PATH+"images/templates/custom.gif",controls:null},{name:"3D Flow Carousel",value:"3d-flow-carousel",className:"ms-caro3d-template",img:__MSP_PATH+"images/templates/3d-flow-carousel.png",settings:{space:0,loop:!0,trView:"flow",layout:"partialview",dir:"h",wheel:!1},controls:null},{name:"3D Wave Carousel",value:"3d-wave-carousel",className:"ms-caro3d-template",img:__MSP_PATH+"images/templates/3d-wave-carousel.png",settings:{space:0,loop:!0,trView:"flow",layout:"partialview",dir:"h",wheel:!1},controls:null},{name:"Image Gallery with Thumbs",value:"image-gallery",className:"ms-gallery-template",img:__MSP_PATH+"images/templates/image-gallery.png",settings:{space:0,trView:"basic",skin:"ms-skin-black-2 round-skin"},controls:null,disableControls:!0},{name:"Slider with Bottom Aligned Thumbs",value:"slider-horizontal-thumbs",className:"ms-thumbs-template",img:__MSP_PATH+"images/templates/slider-bottom-thumbs.png",settings:{trView:"scale",space:0},controls:{arrows:{},scrollbar:{dir:"h"},thumblist:{autohide:!1,dir:"h",arrows:!1,align:"bottom",width:127,height:137,margin:5,space:5}}},{name:"Slider with Top Aligned Thumbs",value:"slider-top-thumbs",className:"ms-thumbs-template",img:__MSP_PATH+"images/templates/slider-top-thumbs.png",settings:{trView:"scale",space:0},controls:{arrows:{},scrollbar:{dir:"h"},thumblist:{autohide:!1,dir:"h",arrows:!1,align:"top",width:127,height:137,margin:5,space:5}}},{name:"Slider with Right Aligned Thumbs",value:"slider-vertical-thumbs",className:"ms-thumbs-template",img:__MSP_PATH+"images/templates/slider-right-thumbs.png",settings:null,controls:{arrows:{},scrollbar:{dir:"v"},thumblist:{autohide:!1,dir:"v",arrows:!1,align:"right",width:127,height:137,margin:5,space:5}}},{name:"Slider with Left Aligned Thumbs",value:"slider-left-thumbs",className:"ms-thumbs-template",img:__MSP_PATH+"images/templates/slider-left-thumbs.png",settings:null,controls:{arrows:{},scrollbar:{dir:"v"},thumblist:{autohide:!1,dir:"v",arrows:!1,align:"left",width:127,height:137,margin:5,space:5}}},{name:"Slider with Horizontal Tabs",value:"slider-horizontal-tabs",className:"ms-tabs-template",img:__MSP_PATH+"images/templates/slider-horizontal-tabs.png",settings:null,controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},thumblist:{autohide:!1,dir:"h",type:"tabs",width:240,height:120,align:"bottom",space:0,margin:-12,hideUnder:400}}},{name:"Slider with Vertical Tabs",value:"slider-vertical-tabs",className:"ms-tabs-template",img:__MSP_PATH+"images/templates/slider-vertical-tabs.png",settings:null,controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},thumblist:{autohide:!1,dir:"v",type:"tabs",align:"right",margin:-12,space:0,width:229,height:100,hideUnder:550}}},{name:"Partial View Slider V1",value:"partial-1",className:"ms-partialview-template",img:__MSP_PATH+"images/templates/partial-1.png",settings:{space:10,loop:!0,trView:"partialWave",layout:"partialview",dir:"h"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Partial View Slider V2",value:"partial-2",className:"ms-partialview-template",img:__MSP_PATH+"images/templates/partial-2.png",settings:{space:10,loop:!0,trView:"fadeWave",layout:"partialview",dir:"h"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Partial View Slider V3",value:"partial-3",className:"ms-partialview-template",img:__MSP_PATH+"images/templates/partial-3.png",settings:{space:10,loop:!0,trView:"fadeFlow",layout:"partialview",dir:"h"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Slider in Display",value:"display",className:"ms-display-template",img:__MSP_PATH+"images/templates/display.png",settings:{width:507,height:286,speed:20,space:2,trView:"flow",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Flat Display",value:"flat-display",className:"ms-display-template",img:__MSP_PATH+"images/templates/flat-display.png",settings:{width:507,height:286,speed:20,space:2,trView:"flow",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Laptop",value:"laptop",className:"ms-laptop-template",img:__MSP_PATH+"images/templates/laptop.png",settings:{width:492,height:309,speed:20,space:2,trView:"mask",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Flat Laptop",value:"flat-laptop",className:"ms-laptop-template",img:__MSP_PATH+"images/templates/flat-laptop.png",settings:{width:492,height:309,speed:20,space:2,trView:"mask",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Tablet",value:"tablet",className:"ms-tablet-template",img:__MSP_PATH+"images/templates/tablet.png",settings:{width:400,height:534,speed:20,space:2,trView:"wave",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Flat Tablet",value:"flat-tablet",className:"ms-tablet-template",img:__MSP_PATH+"images/templates/flat-tablet.png",settings:{width:400,height:534,speed:20,space:2,trView:"basic",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Landscape Tablet",value:"tablet-land",className:"ms-tablet-template ms-tablet-land",img:__MSP_PATH+"images/templates/tablet-land.png",settings:{width:632,height:476,speed:20,space:2,trView:"mask",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Flat Landscape Tablet",value:"flat-tablet-land",className:"ms-tablet-template ms-tablet-land",img:__MSP_PATH+"images/templates/flat-tablet-land.png",settings:{width:632,height:476,speed:20,space:2,trView:"mask",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Smart Phone",value:"phone",className:"ms-phone-template",img:__MSP_PATH+"images/templates/phone.png",settings:{width:258,height:456,speed:20,space:2,trView:"wave",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Flat Smart Phone",value:"flat-phone",className:"ms-phone-template",img:__MSP_PATH+"images/templates/flat-phone.png",settings:{width:258,height:456,speed:20,space:2,trView:"basic",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Landscape Smart Phone",value:"phone-land",className:"ms-phone-template ms-phone-land",img:__MSP_PATH+"images/templates/phone-land.png",settings:{width:456,height:258,speed:20,space:2,trView:"mask",dir:"h",layout:"boxed"},controls:{arrows:{},circletimer:{color:"#FFFFFF",stroke:9},bullets:{autohide:!1}},disableControls:!0},{name:"Slider in Flat Landscape Smart Phone",value:"flat-phone-land",className:"ms-phone-template ms-phone-land",img:__MSP_PATH+"images/templates/flat-phone-land.png",settings:{width:456,height:258,speed:20,space:2,trView:"mask",dir:"h",layout:"boxed"},controls:{arrows:{},bullets:{autohide:!1}},disableControls:!0},{name:"Vertical Slider",value:"vertical-slider",className:"ms-vertical-template",img:__MSP_PATH+"images/templates/vertical-slider.png",settings:{space:5,dir:"v"},controls:{arrows:{},scrollbar:{dir:"v"},circletimer:{color:"#FFFFFF",stroke:9},thumblist:{autohide:!1,dir:"v",space:5,margin:5,align:"right"}}},{name:"Staff Carousel V1",value:"staff-1",className:"ms-staff-carousel",img:__MSP_PATH+"images/templates/staff-1.png",settings:{loop:!0,width:240,height:240,speed:20,trView:"focus",layout:"partialview",space:0,wheel:!0,dir:"h"},controls:{arrows:{},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Staff Carousel V2",value:"staff-2",className:"ms-staff-carousel",img:__MSP_PATH+"images/templates/staff-2.png",settings:{loop:!0,width:240,height:240,speed:20,trView:"fadeBasic",layout:"partialview",space:0,dir:"h"},controls:{arrows:{},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Staff Carousel V3",value:"staff-3",className:"ms-staff-carousel ms-round",img:__MSP_PATH+"images/templates/staff-3.png",settings:{loop:!0,width:240,height:240,speed:20,trView:"focus",layout:"partialview",space:0,space:35,dir:"h"},controls:{arrows:{},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Staff Carousel V4",value:"staff-4",className:"ms-staff-carousel ms-round",img:__MSP_PATH+"images/templates/staff-4.png",settings:{loop:!0,width:240,height:240,speed:20,trView:"fadeBasic",layout:"partialview",space:0,space:45,dir:"h"},controls:{arrows:{},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Staff Carousel V5",value:"staff-5",className:"ms-staff-carousel",img:__MSP_PATH+"images/templates/staff-5.png",settings:{loop:!0,width:240,height:240,speed:20,trView:"wave",layout:"partialview",space:0,wheel:!0,dir:"h"},controls:{arrows:{},slideinfo:{autohide:!1,align:"bottom",size:160}}},{name:"Staff Carousel V6",value:"staff-6",className:"ms-staff-carousel",img:__MSP_PATH+"images/templates/staff-6.png",settings:{loop:!0,width:240,height:240,speed:20,trView:"flow",layout:"partialview",space:0,wheel:!0,dir:"h"},controls:{arrows:{},slideinfo:{autohide:!1,align:"bottom",size:160}}},],MSPanel.SlideFrame=Ember.View.extend({classNames:["msp-slideframe"],classNameBindings:["selected:active"],selected:!1,thumb_src:"",showbtnclass:"msp-ico msp-ico-whitehide",template:Ember.Handlebars.compile('<div class="msp-img-cont">{{#if view.hasImg}}<div class="msp-imgselect-preview" {{bind-attr style=view.preview}})"><\/div>{{/if}}<\/div><span class="msp-frame-slideorder">#{{view.order}}<\/span><div class="msp-framehandle"><ul><li><a title="'+__MSP_LAN.ui_001+'" href="#" {{action "hideswitch" target=view}}><span {{bind-attr class=view.showbtnclass}}><\/span><\/a><\/li><li><a title="'+__MSP_LAN.ui_002+'" href="#" {{action "duplicate" target=view}}><span class="msp-ico msp-ico-whiteduplicate"><\/span><\/a><\/li><li><a title="'+__MSP_LAN.ui_003+'" href="#" {{action "remove" target=view}}><span class="msp-ico msp-ico-whiteremove"><\/span><\/a><\/li><\/ul><\/div>'),click:function(){this.get("controller").send("select",this.get("slide"))},onValueChanged:function(){var n=!Ember.isEmpty(this.get("slide.bg"));this.beginPropertyChanges(),this.set("hasImg",n),n&&this.set("preview","background-image:url("+this.get("slide.bgThumb")+");"),this.endPropertyChanges()}.observes("slide.bg").on("didInsertElement"),onSelect:function(){var n=this.get("slide");this.set("selected",n===this.get("controller.currentSlide"))}.observes("controller.currentSlide").on("init"),hideChange:function(){this.get("slide.ishide")?this.set("showbtnclass","msp-ico msp-ico-whitehide msp-ico-whiteshow"):this.set("showbtnclass","msp-ico msp-ico-whitehide")}.observes("slide.ishide").on("init"),order:function(){return this.get("slide.order")+1}.property("slide.order"),actions:{duplicate:function(){this.get("controller").duplicateSlide(this.get("slide"))},hideswitch:function(){this.set("slide.ishide",!this.get("slide.ishide"))},remove:function(){confirm(__MSP_LAN.ui_004)&&this.get("controller").removeSlide(this.get("slide"))}}}),MSPanel.SlideList=Ember.View.extend({tagName:"ul",classNames:["msp-slides"],template:Ember.Handlebars.compile('{{#each item in controller}}<li class="msp-slideframe-item" {{bind-attr data-id=item.id}}>{{view MSPanel.SlideFrame slide=item}}<\/li>{{/each}}<li class="msp-addslide-cont"><div class="msp-addslide" {{action "newSlide"}}><span class="msp-ico msp-ico-grayaddlarge"><\/span><span class="msp-addslide-label">Add Slide<\/span><\/div><\/li>'),didInsertElement:function(){var n=this;this.$().sortable({placeholder:"msp-frames-srtplaceholder",items:">li:not(.msp-addslide-cont)",delay:100,update:function(){n.updateSort()},create:function(){n.updateSort()}})},updateSort:function(){var n={};$(".msp-slideframe-item").each(function(t){n[$(this).data("id")]=t}),this.$().sortable("cancel"),this.get("controller").updateSlidesSort(n)}}),MSPanel.ImgSelect=Ember.View.extend({classNames:["msp-imgselect"],value:"",hasImg:!1,frame:null,template:Ember.Handlebars.compile('<div class="msp-img-cont">{{#if view.hasImg}}<div class="msp-imgselect-preview" {{bind-attr style=view.preview}})"><\/div>{{/if}}<\/div>{{#if view.hasImg}}<button {{action removeImg target="view"}} class="msp-img-btn"><span class="msp-ico msp-ico-grayremove"><\/span><\/button>{{else}}<button {{action addImg target="view"}} class="msp-img-btn"><span class="msp-ico msp-ico-grayadd"><\/span><\/button>{{/if}}'),willDestroyElement:function(){var n=this.get("frame");n&&(n.detach(),n.remove(),n=null,this.set("frame",null))},onValueChanged:function(){this.beginPropertyChanges(),this.set("hasImg",!Ember.isEmpty(this.get("value"))),this.set("preview","background-image:url("+this.get("thumb")+");"),this.endPropertyChanges()}.observes("value").on("didInsertElement"),actions:{removeImg:function(){this.beginPropertyChanges(),this.set("value",undefined),this.set("thumb",undefined),this.endPropertyChanges()},addImg:function(){var t,n;if(typeof wp!="undefined"){if(t=this,n=this.get("frame"),n){n.open();return}n=wp.media.frames.frame=wp.media({title:"Select Image",multiple:!1,frame:"select",library:{type:"image"},button:{text:"Add Image"}});n.on("select",function(){var i=n.state().get("selection").first().toJSON();t.set("thumb",(i.sizes.thumbnail||i.sizes.full).url),t.set("value",i.url)});n.open(),this.set("frame",n)}}}}),MSPanel.Select=Ember.Select.extend({tagName:"div",classNames:["msp-ddlist"],layout:Ember.Handlebars.compile("<select>{{yield}}<\/select>"),value:null,width:100,didInsertElement:function(){var n=this;this.$("select").on("change",function(){var t=n.$("select option:selected");n.set("value",t.attr("value"))}).width(this.get("width")),this.onValueChanged()},onValueChanged:function(){Ember.isEmpty(this.get("value"))||this.$("select").val(this.get("value"))}.observes("value")}),MSPanel.URLTarget=MSPanel.Select.extend({onInit:function(){var n=[{lable:__MSP_LAN.ui_005,value:"_self"},{lable:__MSP_LAN.ui_006,value:"_blank"},{lable:__MSP_LAN.ui_007,value:"_parent"},{lable:__MSP_LAN.ui_008,value:"_top"}];this.set("content",n),this.set("optionValuePath","content.value"),this.set("optionLabelPath","content.lable"),this.set("width",200)}.on("init")}),MSPanel.Fillmode=Ember.View.extend({classNames:["msp-fill-dd"],type:"slide",value:"fill",index:1,template:Ember.Handlebars.compile("<select>{{#each item in view.contents}}<option {{bind-attr value=item.value data-imagesrc=item.img}}>{{item.text}}<\/option>{{/each}}<\/select>"),didInsertElement:function(){var t=this,n=!0;this.$("select").ddslick({width:154,onSelected:function(i){n||t.set("value",i.selectedData.value),n=!1}}),this.onValueChanged()},onValueChanged:function(){Ember.isEmpty(this.get("value"))||this.$(".dd-container").ddslick("select",{index:this.get("valuedic")[this.get("value")]})}.observes("value"),onInit:function(){var n,t;this.get("type")==="slide"?(n=[{value:"fill",text:__MSP_LAN.ui_009,img:__MSP_PATH+"images/fill.png"},{value:"fit",text:__MSP_LAN.ui_010,img:__MSP_PATH+"images/fit.png"},{value:"center",text:__MSP_LAN.ui_011,img:__MSP_PATH+"images/center.png"},{value:"stretch",text:__MSP_LAN.ui_012,img:__MSP_PATH+"images/stretch.png"},{value:"tile",text:__MSP_LAN.ui_013,img:__MSP_PATH+"images/tile.png"}],t={fill:0,fit:1,center:2,stretch:3,tile:4}):this.get("type")==="video"&&(n=[{value:"fill",text:__MSP_LAN.ui_009,img:__MSP_PATH+"images/fill.png"},{value:"fit",text:__MSP_LAN.ui_010,img:__MSP_PATH+"images/fit.png"}],t={fill:0,fit:1,none:2}),this.set("contents",n),this.set("valuedic",t)}.on("init")}),MSPanel.SimpleCodeBlock=Ember.View.extend({classNames:["msp-shortcode-box"],template:Ember.Handlebars.compile('<input type="text" readonly {{bind-attr value=view.value}}>'),width:150,didInsertElement:function(){this.$("input").on("click",function(){$(this).select()}).width(this.get("width"))}}),MSPanel.SettingsView=Ember.View.extend({didInsertElement:function(){this.set("controller.mainView",this)}}),MSPanel.SlidesView=Ember.View.extend({didInsertElement:function(){this.set("controller.mainView",this)}}),MSPanel.StageArea=Ember.View.extend({classNames:["msp-stage-area"],template:Ember.Handlebars.compile('{{view MSPanel.Stage}}{{#if noticeMsg}}<div class="msp-stage-msg"><span class="msp-ico msp-ico-notice"><\/span>{{{noticeMsg}}}<\/div>{{/if}}')}),MSPanel.Stage=Ember.View.extend({classNames:["msp-slide-stage"],attributeBindings:["style"],template:Ember.Handlebars.compile('<div id="stage-bg" class="msp-stage-bg"><\/div>'),resize:function(){var n=this.get("controller.sliderSettings.width"),t=this.get("controller.sliderSettings.height");this.set("width",n),this.set("height",t),this.$().css({width:n,height:t})}.observes("controller.sliderSettings.width","controller.sliderSettings.height").on("didInsertElement"),didInsertElement:function(){var i=this.$("#stage-bg"),n=$("<img/>"),t;n.css("visibelity","hidden").each($.jqLoadFix),t=new MSAligner(this.get("controller.currentSlide.fillMode"),i,n),this.set("bgAligner",t),this.set("bgImg",n),this.onBGChange()},onBGColorChange:function(){var n=this.get("controller.currentSlide.bgColor");Ember.isEmpty(n)?this.$("#stage-bg").css("background-color",""):this.$("#stage-bg").css("background-color",n)}.observes("controller.currentSlide.bgColor"),onBGChange:function(){var i=this.get("bgAligner"),t,n,r;i&&i.reset(),t=this.get("controller.currentSlide.bg"),n=this.get("bgImg"),Ember.isEmpty(t)?n.detach():(r=this,n.appendTo(this.$("#stage-bg")),n.preloadImg(t,function(n){r._onBGLoad(n)}),n.attr("src",t))}.observes("controller.currentSlide.bg"),_onBGLoad:function(n){var t=this.get("bgAligner");t&&(t.init(n.width,n.height),t.align(),this.get("bgImg").css("visibelity",""))},onFillModeChanged:function(){var n=this.get("bgAligner");n.changeType(this.get("controller.currentSlide.fillMode"))}.observes("controller.currentSlide.fillMode"),willDestroyElement:function(){this.set("bgAligner",null)}}),MSPanel.ControlBtn=Ember.View.extend({control:null,tagName:"div",active:!1,classNames:["msp-control-btn"],classNameBindings:["active:msp-blue-btn"],template:Ember.Handlebars.compile('<span class="msp-control-label">{{view.control.label}}<\/span><a href="#" {{action "removeControl" target=view bubbles=false}}><span class="msp-control-removes msp-ico msp-ico-whiteremove"><\/span><\/a>'),didInsertElement:function(){},onActiveChange:function(){this.set("active",this.get("controller.currentControl")===this.get("control")),this.get("active")&&this.get("controller").send("showControlOptions")}.observes("controller.currentControl").on("init"),click:function(){this.get("active")||this.set("controller.currentControl",this.get("control"))},actions:{removeControl:function(){confirm('Are you sure want to remvoe "'+this.get("control.label")+'" control?')&&this.get("controller").send("removeControl",this.get("control"))}}}),MSPanel.MetaBoxComponent=Ember.Component.extend({tagName:"div",classNames:["msp-metabox"],layout:Ember.Handlebars.compile('<div class="msp-metabox-handle"><h3 class="msp-metabox-title">{{title}}<\/h3><div class="msp-metabox-toggle"><\/div><\/div>{{yield}}<div class="clear"> <\/div>')}),Ember.TEMPLATES["components/tabs-panel"]=Ember.Handlebars.compile("{{yield}}"),MSPanel.TabsPanelComponent=Ember.Component.extend({tagName:"div",attributeBindings:["id"],classNames:["msp-metabox msp-metabox-tabs"],didInsertElement:function(){this.$().avertaLiveTabs()}}),MSPanel.SwitchBoxComponent=Ember.Component.extend({classNames:["msp-switchbox"],offlable:"OFF",onlable:"ON",value:!1,layout:Ember.Handlebars.compile('<div class="msp-switch-cont"><span class="msp-switch-off">{{view.offlable}}<\/span><div class="msp-switch-handle"><\/div><span class="msp-switch-on">{{view.onlable}}<\/span><\/div>'),click:function(){var n=this;n.set("value",!n.get("value"))},update:function(){this.get("value")?this.$().addClass("switched"):this.$().removeClass("switched")}.observes("value").on("didInsertElement")}),hiddenEditor=jQuery("#mspHiddenEditor")[0].outerHTML,__tmc_msp_id=0,MSPanel.WPEditor=Ember.View.extend({classNames:["msp-wp-editor"],_id:null,template:null,tab:null,tabs:null,onInit:function(){var n="msp-wpeditor-"+__tmc_msp_id;this.set("_id",n),this.set("template",Ember.Handlebars.compile(WPEditorTemplate(n))),__tmc_msp_id++}.on("init"),didInsertElement:function(){var n=this.get("tabs");if(Ember.isEmpty(n)){this.createEditor();return}$("#"+n).bind("avtTabChange",{that:this},this.refreshEditor)},refreshEditor:function(n,t){var i=n.data.that;i.get("tab")===t&&i.createEditor()},createEditor:function(){var t,i,n,r,u;if(this.get("inited")!==!0&&(this.set("inited",!0),t=this.get("_id"),i=this,window.tinymce&&(n=$.extend({},window.tinyMCEPreInit.mceInit["msp-hidden"]||{}),n.forced_root_block="",n.force_br_newlines=!0,n.force_p_newlines=!1,n.wpautop=!1,tinyMCE.majorVersion=="3"?(n.body_class=n.elements=t,tinymce.init(n),setTimeout(function(){i.initEditor(tinyMCE.getInstanceById(t))},50)):tinyMCE.majorVersion=="4"&&(n.body_class="content post-type-post post-status-auto-draft post-format-standard",n.selector="#"+t,tinymce.init(n),setTimeout(function(){i.initEditor(tinyMCE.get(t))},50)),n.setup=function(){}),r=$.extend({},window.tinyMCEPreInit.qtInit["msp-hidden"]||{}),r.id=t,typeof QTags=="function")){u=quicktags(r),QTags.buttonsInitDone=!1,QTags._buttonsInit(),i.set("qtags",u),switchEditors.go(t,"html");this.$("textarea#"+this.get("_id")).on("change keyup paste",function(){i.set("value",$(this).val())})}},initEditor:function(n){function t(){r.set("internalChange",!0),r.set("value",n.getContent()),r.set("internalChange",!1)}var i=this.get("_id"),u=this.get("value"),r=this;this.$(".wp-editor-wrap").on("mousedown",function(){wpActiveEditor=i});if(tinyMCE.majorVersion=="3")n.onChange.add(t),n.onKeyUp.add(t);else if(tinyMCE.majorVersion=="4"){n.on("change",t);n.on("keyup",t)}this.$().click(t),setTimeout(function(){switchEditors.go(i,"html"),switchEditors.go(i,"tmce")},100),this.set("mce",n),this.onValueChanged()},onValueChanged:function(){var n,t;if(this.get("inited")){if(n=this.get("value"),this.$("textarea#"+this.get("_id")).val(n),this.get("internalChange")){this.set("internalChange",!1);return}t=this.get("mce"),Ember.isEmpty(t)||n==null?n==null&&t.setContent(" "):t.setContent(n)}}.observes("value"),willDestroyElement:function(){var n,t;this.get("inited")&&(window.tinymce&&tinymce.remove(this.get("_id")),n=this.get("qtags"),n&&($(n.toolbar).remove(),n.toolbar=null,n=null,QTags.instances[this.get("_id")]&&delete QTags.instances[this.get("_id")],this.$("textarea#"+this.get("_id")).remove()),t=this.get("tabs"),Ember.isEmpty(t)||$("#"+t).unbind("avtTabChange",this.refreshEditor))}}),jQuery.ui&&jQuery.ui.spinner&&(jQuery.ui.spinner.prototype._events.mousewheel=function(n,t){if(t&&this.element.is(":focus")){if(!this.spinning&&!this._start(n))return!1;this._spin((t>0?1:-1)*this.options.step,n),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(n)},100),n.preventDefault()}}),MSPanel.NumberInputView=Ember.View.extend({step:1,min:0,tagName:"input",attributeBindings:["type"],lastValue:null,type:"text",didInsertElement:function(){var n=this,i=this.$(),t=function(){var t=i.spinner("value");n.set("internalChange",!0),isNaN(t)||t==null?n.set("value",undefined):n.set("value",parseFloat(t))};i.on("change",t).spinner({step:this.get("step"),numberFormat:"n",min:this.get("min"),max:this.get("max"),spin:t,stop:t}).spinner("value",this.get("value"))},onValueChanged:function(){if(this.get("internalChange")){this.set("internalChange",!1);return}this.$().spinner("value",this.get("value"))}.observes("value")}),Ember.Handlebars.helper("number-input",MSPanel.NumberInputView),MSPanel.ColorPickerComponent=Ember.Component.extend({tagName:"input",classNames:"msp-color-picker",value:null,didInsertElement:function(){var n=this;this.$().spectrum({color:this.get("value"),allowEmpty:!0,showInput:!0,showAlpha:!0,clickoutFiresChange:!0,preferredFormat:"hex6",change:function(t){t===null?n.set("value",null):n.set("value",t.toString())}})},willDestroyElement:function(){this.$().spectrum("destroy")},onValueChanged:function(){this.$().spectrum("set",this.get("value"))}.observes("value")}),MSPanel.DropdwonListComponent=Ember.Component.extend({tagName:"div",classNames:["msp-ddlist"],layout:Ember.Handlebars.compile("<select>{{yield}}<\/select>"),value:null,width:100,didInsertElement:function(){var n=this;this.$("select").on("change",function(){var t=n.$("select option:selected");n.set("value",t.attr("value"))}).width(this.get("width")),this.onValueChanged()},onValueChanged:function(){Ember.isEmpty(this.get("value"))||this.$("select").val(this.get("value"))}.observes("value")}),MSPanel.CodeMirrorComponent=Ember.Component.extend({classNames:["msp-codemirror"],width:250,height:200,mode:"css",tab:null,tabs:null,layout:Ember.Handlebars.compile("<textarea>{{yield}}<\/textarea>"),didInsertElement:function(){var t,n,i,r;this.$().width(this.get("width")).height(this.get("height")),t=this,n=CodeMirror.fromTextArea(this.$(">textarea")[0],{lineNumbers:!0,mode:this.get("mode")});n.on("change",function(){t.set("internalChange",!0),t.set("value",n.getValue())});this.set("editor",n),i=this.get("value"),Ember.isEmpty(i)||n.setValue(i),r=this.get("tabs"),Ember.isEmpty(r)||$("#"+r).bind("avtTabChange",{that:this},this.refreshEditor)},onValueChanged:function(){if(this.get("internalChange")===!0){this.set("internalChange",!1);return}this.get("editor").setValue(this.get("value")),this.set("internalChange",!1)}.observes("value"),refreshEditor:function(n,t){var i=n.data.that;i.get("tab")===t&&i.get("editor").refresh()},willDestroyElement:function(){var t=this.get("tabs"),n;Ember.isEmpty(t)||$("#"+t).unbind("avtTabChange",this.refreshEditor),n=this.get("editor"),n.toTextArea(),n=null,this.set("editor",null)}}),MSPanel.pushData=null,MSPanel.ApplicationController=Ember.Controller.extend({sliderId:MSPanel.SliderID,isSending:!1,statusMsg:"",hasError:!1,onInit:function(){window.$||(window.$=jQuery.noConflict()),MSPanel.Settings.find(),MSPanel.Slide.find(),MSPanel.Control.find(),MSPanel.Callback.find(),this.set("disableControls",MSPanel.Settings.find(0).get("disableControls"));var n=this;MSPanel.pushData=function(){n.prepareData()},__MSP_TYPE==="wc-product"&&__MSP_POST==null&&__WC_INSTALL_URL!=null&&(this.set("hasError",!0),this.set("errorTemplate","wooc-error"),this.set("wooLink",__WC_INSTALL_URL)),this.generateButtonStyles(),this.set("shortCode","[masterslider id="+this.get("sliderId")+"]"),this.set("phpFunction","<?php masterslider("+this.get("sliderId")+"); ?>"),jQuery("#panelLoading").remove()}.on("init"),prepareData:function(){var n={},i="",t;MSPanel.Style.find().forEach(function(t){var i=t.get("fontFamily"),r=t.get("fontWeight");Ember.isEmpty(i)||(n[i]||(n[i]=[]),r==="normal"&&(r="regular"),Ember.isEmpty(r)||n[i].indexOf(r)!==-1||n[i].push(r))});for(t in n)i+=t.replace(/\s/,"+")+":"+n[t].join(",")+"|";MSPanel.Settings.find(1).set("usedFonts",i.slice(0,-1)),this.saveRecords(MSPanel.Settings.find()),this.saveRecords(MSPanel.Slide.find()),this.saveRecords(MSPanel.Control.find()),this.saveRecords(MSPanel.Callback.find())},generateButtonStyles:function(){var i=MSPanel.ButtonStyle.find(),n="",t=$("#msp-buttons");i.forEach(function(t){n+="."+t.get("className")+" {"+t.get("normal")+"}\n."+t.get("className")+":hover {"+t.get("hover")+"}\n."+t.get("className")+":active {"+t.get("active")+"}\n"}),t.length===0?t=$('<style id="msp-buttons"><\/style>').text(n).appendTo($("head")):t.text(n)},actions:{saveAll:function(){this.prepareData(),this.sendData()},showPreview:function(n){window.lunchMastersliderPreview&&lunchMastersliderPreview(n)}},saveRecords:function(n){n.forEach(function(n){n.save()})},sendData:function(){this.set("statusMsg",__MSP_LAN.ap_001),this.set("isSending",!0);var n=this;jQuery.post(__MS.ajax_url,{action:"msp_panel_handler",nonce:jQuery("#msp-main-wrapper").data("nonce"),msp_data:B64.encode(JSON.stringify(MSPanel.data)),preset_style:B64.encode(JSON.stringify(MSPanel.PSData)),preset_effect:B64.encode(JSON.stringify(MSPanel.PEData)),buttons:B64.encode(JSON.stringify(MSPanel.PBData)),slider_id:MSPanel.SliderID},function(t){n.set("statusMsg",t.message),n.set("isSending",!1)})}}),MSPanel.SettingsController=Ember.ObjectController.extend({customSlider:window.__MSP_TYPE&&window.__MSP_TYPE==="custom",templateSlider:window.__MSP_TYPE&&(window.__MSP_TYPE==="flickr"||window.__MSP_TYPE==="post"||window.__MSP_TYPE==="wc-product"||window.__MSP_TYPE==="facebook"),sliderSkins:__MSP_SKINS,needs:["application","controls"],msTemplateName:null,msTemplateImg:null,draftMSTemplate:null,templates:MSPanel.SliderTemplates,showAutoHeight:!1,showNearbyNum:!1,showWrapperWidth:!1,preloadMethod:null,setup:function(){var n=this.get("preload");n==="all"||n==="-1"?this.set("preloadMethod",n):this.set("preloadMethod","nearby"),this.set("draftMSTemplate",this.get("msTemplate")),this.updateTemplate(!0)},sliderLayoutChanged:function(){var n=this.get("layout");n==="fullscreen"||n==="autofill"?(this.set("showAutoHeight",!1),this.set("autoHeight",!1)):this.set("showAutoHeight",!0),this.set("showWrapperWidth",n==="boxed"||n==="partialview"),this.set("showFSMargin",n==="fullscreen")}.observes("layout").on("setup"),preloadSetup:function(){var t=this.get("preloadMethod"),n;t==="nearby"?(this.set("showNearbyNum",!0),n=this.get("preload"),(n==="all"||n==="-1")&&this.set("preload","0")):(this.set("showNearbyNum",!1),this.set("preload",t))}.observes("preloadMethod").on("setup"),updateTemplate:function(n){var t,s=this.get("msTemplate"),r,f,e,i,u,o;if(this.get("templates").forEach(function(n){if(n.value===s){t=n;return}}),t){if(this.set("msTemplateName",t.name),this.set("msTemplateImg",t.img),this.set("msTemplateClass",t.className),this.set("controllers.application.disableControls",t.disableControls),this.set("disableControls",t.disableControls),!n){for(r=this.get("controllers.controls"),e=MSPanel.Control.find();e.get("firstObject");)i=e.get("firstObject"),r.findControlObj(i.get("name")).used=!1,i.deleteRecord();for(u in t.controls)f=r.findControlObj(u),i=MSPanel.Control.create($.extend(!0,r.getDefaultValues(u),t.controls[u])),i.set("label",f.label),f.used=!0,i.save();for(o in t.settings)this.set(o,t.settings[o])}}else this.set("draftMSTemplate","custom"),this.updateTemplate()},actions:{openTemplates:function(){var n=MSPanel.TemplatesView.create({controller:this});this.get("mainView").createChildView(n),this.set("templatesView",n),n.appendTo(MSPanel.rootElement)},closeTemplates:function(){this.get("templatesView").destroy(),this.set("draftMSTemplate",this.get("msTemplate"))},saveTemplate:function(){if(this.get("draftMSTemplate")===this.get("msTemplate")){this.send("closeTemplates");return}confirm(__MSP_LAN.tv_002)&&(this.set("msTemplate",this.get("draftMSTemplate")),this.send("closeTemplates"),this.updateTemplate())}}}),MSPanel.SlidesController=Ember.ArrayController.extend({customSlider:window.__MSP_TYPE&&window.__MSP_TYPE==="custom",_order:-1,sortProperties:["order"],mainView:null,currentSlide:null,setup:function(){if(this.get("length")===0)this.send("newSlide");else{var n=this.get("firstObject");this.set("currentSlide",n)}Ember.isEmpty(this.get("sliderSettings.type"))&&this.set("sliderSettings.type",__MSP_TYPE),this.set("sliderSettings.sliderId",MSPanel.SliderID),this.updateOrder()},duplicateSlide:function(n){var i=n.toJSON(),t;delete i.id,delete i.layers,t=MSPanel.Slide.create(i),t.set("order",n.get("order")+1),this.forEach(function(n){var i=n.get("order"),r=t.get("order");i>=r&&n!==t&&n.set("order",i+1)}),t.save(),this.updateOrder()},updateSlidesSort:function(n){this.beginPropertyChanges(),this.forEach(function(t){t.set("order",n[t.get("id")])},this),this.endPropertyChanges(),this.set("_order",this.get("lastObject.order"))},updateOrder:function(){var n=0;this.forEach(function(t){t.set("order",n++)}),this.set("_order",n-1)},removeSlide:function(n){n.deleteRecord(),this.get("length")===0?this.send("newSlide"):this.send("select",this.get("firstObject")),this.updateOrder()},actions:{newSlide:function(){var n=MSPanel.Slide.create({order:this.get("_order")+1});this.set("currentSlide",n),this.set("_order",this.get("_order")+1),n.save()},select:function(n){n!==this.get("currentSlide")&&this.set("currentSlide",n)}}}),MSPanel.ControlsController=Ember.ArrayController.extend({needs:"application",controls:[{used:!1,label:__MSP_LAN.cc_001,value:"arrows"},{used:!1,label:__MSP_LAN.cc_002,value:"timebar"},{used:!1,label:__MSP_LAN.cc_003,value:"bullets"},{used:!1,label:__MSP_LAN.cc_004,value:"circletimer"},{used:!1,label:__MSP_LAN.cc_005,value:"scrollbar"},{used:!1,label:__MSP_LAN.cc_006,value:"slideinfo"},{used:!1,label:__MSP_LAN.cc_007,value:"thumblist"}],selectedControl:null,availableControls:[],noMore:!1,currentControl:null,setup:function(){var n=this;this.forEach(function(t){n.findControlObj(t.get("name")).used=!0}),this.set("availableControls",this.findAvailableControls())},actions:{addControl:function(){var t=this.get("selectedControl"),i=this.findControlObj(t),n;n=MSPanel.Control.create(this.getDefaultValues(t)),n.set("label",i.label),i.used=!0,this.set("availableControls",this.findAvailableControls()),n.save(),this.set("currentControl",n)},removeControl:function(n){this.findControlObj(n.get("name")).used=!1,this.set("availableControls",this.findAvailableControls()),n.deleteRecord(),this.set("currentControl",this.get("firstObject")),this.send("showControlOptions")},showControlOptions:function(){var n=this.get("currentControl");Ember.isEmpty(n)?this.set("controlOptions","empty-template"):this.set("controlOptions",n.get("name")+"-options")}},findControlObj:function(n){for(var i=this.get("controls"),t=0,r=i.length;t!==r;t++)if(i[t].value===n)return i[t];return null},findAvailableControls:function(){for(var n=[],i=this.get("controls"),t=0,r=i.length;t!==r;t++)i[t].used||n.push(i[t]);return this.set("noMore",n.length===0),this.set("selectedControl",n[0]?n[0].value:null),n},getDefaultValues:function(n){var t={name:n};t.inset=!(n==="slideinfo"||n==="thumblist");switch(n){case"timebar":t.align="bottom",t.color="#FFFFFF",t.autoHide=!1,t.width=4;break;case"bullets":t.align="bottom",t.dir="h",t.margin=10,t.space=6;break;case"circletimer":t.color="#A2A2A2",t.stroke=10,t.radius=4,t.autoHide=!1;break;case"scrollbar":t.align="top",t.dir="h",t.color="#3D3D3D",t.margin=10,t.autoHide=!1,t.width=4;break;case"slideinfo":t.align="bottom",t.margin=10,t.autoHide=!1;break;case"thumblist":t.align="bottom",t.space=5,t.width=100,t.height=80,t.margin=10,t.fillMode="fill",t.autoHide=!1}return t}}),MSPanel.CallbacksController=Ember.ArrayController.extend({callbacks:[{used:!1,label:__MSP_LAN.cb_011,value:"INIT"},{used:!1,label:__MSP_LAN.cb_001,value:"CHANGE_START"},{used:!1,label:__MSP_LAN.cb_002,value:"CHANGE_END"},{used:!1,label:__MSP_LAN.cb_003,value:"WAITING"},{used:!1,label:__MSP_LAN.cb_004,value:"RESIZE"},{used:!1,label:__MSP_LAN.cb_005,value:"VIDEO_PLAY"},{used:!1,label:__MSP_LAN.cb_006,value:"VIDEO_CLOSE"},{used:!1,label:__MSP_LAN.cb_007,value:"SWIPE_START"},{used:!1,label:__MSP_LAN.cb_008,value:"SWIPE_MOVE"},{used:!1,label:__MSP_LAN.cb_009,value:"SWIPE_END"}],availableCallbacks:[],noMore:!1,selectedCallback:null,setup:function(){var n=this;this.forEach(function(t){n.findCallbackObj(t.get("name")).used=!0}),this.set("availableCallbacks",this.findAvailableCallbacks())},actions:{addCallback:function(){var i=this.get("selectedCallback"),n=this.findCallbackObj(i),t;t=MSPanel.Callback.create({name:n.value,label:n.label}),n.used=!0,this.set("availableCallbacks",this.findAvailableCallbacks()),t.save()},removeCallback:function(n){confirm(__MSP_LAN.cb_010.jfmt(n.get("label")))&&(this.findCallbackObj(n.get("name")).used=!1,this.set("availableCallbacks",this.findAvailableCallbacks()),n.deleteRecord())}},findCallbackObj:function(n){for(var i=this.get("callbacks"),t=0,r=i.length;t!==r;t++)if(i[t].value===n)return i[t];return null},findAvailableCallbacks:function(){for(var n=[],i=this.get("callbacks"),t=0,r=i.length;t!==r;t++)i[t].used||n.push(i[t]);return this.set("noMore",n.length===0),this.set("selectedCallback",n[0]?n[0].value:null),n}})
|
includes/init/define.php
CHANGED
@@ -5,7 +5,7 @@ if ( ! defined('ABSPATH') ) {
|
|
5 |
die();
|
6 |
}
|
7 |
|
8 |
-
define( 'MSWP_AVERTA_VERSION' , '1.0
|
9 |
|
10 |
define( 'MSWP_SLUG' , 'master-slider' );
|
11 |
define( 'MSWP_TEXT_DOMAIN' , 'masterslider' );
|
5 |
die();
|
6 |
}
|
7 |
|
8 |
+
define( 'MSWP_AVERTA_VERSION' , '1.2.0' );
|
9 |
|
10 |
define( 'MSWP_SLUG' , 'master-slider' );
|
11 |
define( 'MSWP_TEXT_DOMAIN' , 'masterslider' );
|
master-slider.php
CHANGED
@@ -11,13 +11,13 @@
|
|
11 |
* Plugin Name: Master Slider
|
12 |
* Plugin URI: https://wordpress.org/plugins/master-slider/
|
13 |
* Description: Master Slider is the most advanced responsive HTML5 WordPress slider plugin with touch swipe navigation that works smoothly on devices too.
|
14 |
-
* Version: 1.0
|
15 |
* Author: averta
|
16 |
* Author URI: http://averta.net
|
17 |
* Text Domain: master-slider
|
18 |
* License URI: license.txt
|
19 |
* Domain Path: /languages
|
20 |
-
* Tested up to:
|
21 |
*/
|
22 |
|
23 |
// If this file is called directly, abort.
|
11 |
* Plugin Name: Master Slider
|
12 |
* Plugin URI: https://wordpress.org/plugins/master-slider/
|
13 |
* Description: Master Slider is the most advanced responsive HTML5 WordPress slider plugin with touch swipe navigation that works smoothly on devices too.
|
14 |
+
* Version: 1.2.0
|
15 |
* Author: averta
|
16 |
* Author URI: http://averta.net
|
17 |
* Text Domain: master-slider
|
18 |
* License URI: license.txt
|
19 |
* Domain Path: /languages
|
20 |
+
* Tested up to: 4.0.0
|
21 |
*/
|
22 |
|
23 |
// If this file is called directly, abort.
|
public/assets/js/masterslider.js
CHANGED
@@ -5,8 +5,8 @@
|
|
5 |
* @author Averta (www.averta.net)
|
6 |
* Copyright © All Rights Reserved, Averta Ltd.
|
7 |
*
|
8 |
-
* @version 1.
|
9 |
-
* @date
|
10 |
*/
|
11 |
//dev\slider\tools\base.js
|
12 |
|
@@ -2236,7 +2236,7 @@ MSLSliderEvent.RESERVED_SPACE_CHANGE = 'rsc'; // internal use
|
|
2236 |
|
2237 |
/**
|
2238 |
* Master Slider Lite Main JavaScript File
|
2239 |
-
* @version 1.
|
2240 |
* @author Averta Ltd.
|
2241 |
*/
|
2242 |
|
@@ -2297,8 +2297,8 @@ MSLSliderEvent.RESERVED_SPACE_CHANGE = 'rsc'; // internal use
|
|
2297 |
};
|
2298 |
|
2299 |
MasterSliderLite.author = 'Averta Ltd. (www.averta.net)';
|
2300 |
-
MasterSliderLite.version = '1.
|
2301 |
-
MasterSliderLite.releaseDate = '
|
2302 |
|
2303 |
var p = MasterSliderLite.prototype;
|
2304 |
|
@@ -3349,13 +3349,15 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
3349 |
p.setup = function(){
|
3350 |
this.cont = this.options.insertTo ? $(this.options.insertTo) : this.slider.$controlsCont;
|
3351 |
if(!this.options.overVideo) this._hideOnvideoStarts();
|
|
|
3352 |
|
|
|
3353 |
if(this.options.hideUnder){
|
3354 |
-
//this.slider.api.addEventListener(
|
|
|
3355 |
$(window).bind('resize', {that:this}, this.onResize);
|
3356 |
this.onResize();
|
3357 |
|
3358 |
-
this.needsRealign = !this.options.insetTo && (this.options.align === 'left' || this.options.align === 'right') && this.options.inset === false;
|
3359 |
}
|
3360 |
};
|
3361 |
|
@@ -3384,26 +3386,67 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
3384 |
|
3385 |
this.hide(true);
|
3386 |
|
3387 |
-
this.slider.$controlsCont.mouseenter(
|
3388 |
-
|
3389 |
-
|
3390 |
-
|
3391 |
-
|
3392 |
-
|
3393 |
-
|
3394 |
-
|
3395 |
-
}
|
3396 |
-
|
3397 |
-
$(document).mouseup(
|
3398 |
-
if(that.mdown && that.mleave)that.hide();
|
3399 |
-
that.mdown = false;
|
3400 |
-
});
|
3401 |
}
|
3402 |
|
3403 |
};
|
3404 |
|
3405 |
/**
|
3406 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3407 |
* @since 1.5.7
|
3408 |
*/
|
3409 |
p.onAppend = function(){
|
@@ -3413,7 +3456,7 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
3413 |
};
|
3414 |
|
3415 |
/**
|
3416 |
-
* calls by the parent class [
|
3417 |
* @since 1.5.7
|
3418 |
*/
|
3419 |
p.onDetach = function(){
|
@@ -3424,12 +3467,12 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
3424 |
|
3425 |
p._hideOnvideoStarts = function(){
|
3426 |
var that = this;
|
3427 |
-
slider.api.addEventListener(
|
3428 |
that._disableAH = true;
|
3429 |
that.hide();
|
3430 |
});
|
3431 |
|
3432 |
-
slider.api.addEventListener(
|
3433 |
that._disableAH = false;
|
3434 |
that.visible();
|
3435 |
});
|
@@ -3440,7 +3483,10 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
3440 |
this.$element.css('opacity' , 0);
|
3441 |
this.$element.css('display' , 'none');
|
3442 |
} else {
|
3443 |
-
|
|
|
|
|
|
|
3444 |
}
|
3445 |
|
3446 |
this.$element.addClass('ms-ctrl-hide');
|
@@ -3448,15 +3494,16 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
3448 |
|
3449 |
p.visible = function(){
|
3450 |
if(this.detached) return;
|
|
|
3451 |
this.$element.css('display' , '');
|
3452 |
-
CTween.fadeIn(this.$element , 400 );
|
3453 |
this.$element.removeClass('ms-ctrl-hide');
|
3454 |
};
|
3455 |
|
3456 |
p.destroy = function(){
|
3457 |
|
3458 |
if(this.options && this.options.hideUnder){
|
3459 |
-
//this.slider.api.removeEventListener(
|
3460 |
$(window).unbind('resize', this.onResize);
|
3461 |
}
|
3462 |
};
|
@@ -3510,6 +3557,8 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
3510 |
|
3511 |
this.cont.append(this.$next);
|
3512 |
this.cont.append(this.$prev);
|
|
|
|
|
3513 |
};
|
3514 |
|
3515 |
p.hide = function(fast){
|
@@ -3642,7 +3691,7 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
3642 |
this.$element.height(this.options.height);
|
3643 |
}
|
3644 |
}
|
3645 |
-
|
3646 |
};
|
3647 |
|
3648 |
/**
|
@@ -3908,6 +3957,7 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
3908 |
this.options.dir = 'h';
|
3909 |
this.options.inset = true;
|
3910 |
this.options.margin = 10;
|
|
|
3911 |
|
3912 |
|
3913 |
$.extend(this.options , options);
|
@@ -3934,22 +3984,18 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
3934 |
this.$bullet_cont = $('<div></div>')
|
3935 |
.addClass('ms-bullets-count')
|
3936 |
.appendTo(this.$element);
|
3937 |
-
|
3938 |
|
3939 |
-
|
3940 |
if( !this.options.insetTo && this.options.align ){
|
3941 |
-
// reset old styles
|
3942 |
-
this.$element.css({
|
3943 |
-
top:'auto',
|
3944 |
-
bottom:'auto'
|
3945 |
-
})
|
3946 |
|
3947 |
var align = this.options.align;
|
3948 |
if( this.options.inset ){
|
3949 |
-
this.$element.css(align, this.options.margin
|
3950 |
}
|
|
|
3951 |
}
|
3952 |
|
|
|
|
|
3953 |
};
|
3954 |
|
3955 |
p.create = function(){
|
@@ -3964,10 +4010,18 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
3964 |
bullet.on('click', function(){that.changeSlide(this.index);});
|
3965 |
this.$bullet_cont.append(bullet);
|
3966 |
this.bullets.push(bullet);
|
|
|
|
|
|
|
|
|
|
|
3967 |
}
|
3968 |
|
3969 |
-
if(this.options.dir === 'h')
|
3970 |
this.$element.width(bullet.outerWidth(true) * this.slider.api.count());
|
|
|
|
|
|
|
3971 |
|
3972 |
this.select(this.bullets[this.cindex]);
|
3973 |
};
|
@@ -4106,6 +4160,8 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
4106 |
this.align();
|
4107 |
}
|
4108 |
}
|
|
|
|
|
4109 |
};
|
4110 |
|
4111 |
/**
|
@@ -4273,7 +4329,7 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
4273 |
this.align();
|
4274 |
}
|
4275 |
}
|
4276 |
-
|
4277 |
};
|
4278 |
|
4279 |
/**
|
@@ -4363,6 +4419,8 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
4363 |
this.__w = (this.options.radius + this.options.stroke/2) * 2;
|
4364 |
this.$canvas[0].width = this.__w;
|
4365 |
this.$canvas[0].height = this.__w;
|
|
|
|
|
4366 |
};
|
4367 |
|
4368 |
p.create = function(){
|
@@ -4475,6 +4533,8 @@ MSLViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
4475 |
}
|
4476 |
}
|
4477 |
|
|
|
|
|
4478 |
};
|
4479 |
|
4480 |
/**
|
5 |
* @author Averta (www.averta.net)
|
6 |
* Copyright © All Rights Reserved, Averta Ltd.
|
7 |
*
|
8 |
+
* @version 1.1.0
|
9 |
+
* @date Sept 2014
|
10 |
*/
|
11 |
//dev\slider\tools\base.js
|
12 |
|
2236 |
|
2237 |
/**
|
2238 |
* Master Slider Lite Main JavaScript File
|
2239 |
+
* @version 1.1.0
|
2240 |
* @author Averta Ltd.
|
2241 |
*/
|
2242 |
|
2297 |
};
|
2298 |
|
2299 |
MasterSliderLite.author = 'Averta Ltd. (www.averta.net)';
|
2300 |
+
MasterSliderLite.version = '1.1.0';
|
2301 |
+
MasterSliderLite.releaseDate = 'Sept 2014';
|
2302 |
|
2303 |
var p = MasterSliderLite.prototype;
|
2304 |
|
3349 |
p.setup = function(){
|
3350 |
this.cont = this.options.insertTo ? $(this.options.insertTo) : this.slider.$controlsCont;
|
3351 |
if(!this.options.overVideo) this._hideOnvideoStarts();
|
3352 |
+
};
|
3353 |
|
3354 |
+
p.checkHideUnder = function(){
|
3355 |
if(this.options.hideUnder){
|
3356 |
+
//this.slider.api.addEventListener(MSSliderEvent.RESIZE, this.onSliderResize, this);
|
3357 |
+
this.needsRealign = !this.options.insetTo && (this.options.align === 'left' || this.options.align === 'right') && this.options.inset === false;
|
3358 |
$(window).bind('resize', {that:this}, this.onResize);
|
3359 |
this.onResize();
|
3360 |
|
|
|
3361 |
}
|
3362 |
};
|
3363 |
|
3386 |
|
3387 |
this.hide(true);
|
3388 |
|
3389 |
+
this.slider.$controlsCont.mouseenter($.proxy(this._onMouseEnter, this))
|
3390 |
+
.mouseleave($.proxy(this._onMouseLeave, this))
|
3391 |
+
.mousedown($.proxy(this._onMouseDown, this));
|
3392 |
+
|
3393 |
+
if ( this.$element ) {
|
3394 |
+
this.$element.mouseenter($.proxy(this._onMouseEnter, this))
|
3395 |
+
.mouseleave($.proxy(this._onMouseLeave, this))
|
3396 |
+
.mousedown($.proxy(this._onMouseDown, this));
|
3397 |
+
}
|
3398 |
+
|
3399 |
+
$(document).mouseup($.proxy(this._onMouseUp, this));
|
|
|
|
|
|
|
3400 |
}
|
3401 |
|
3402 |
};
|
3403 |
|
3404 |
/**
|
3405 |
+
* Mouse Enter Listener
|
3406 |
+
* @since 2.2
|
3407 |
+
*/
|
3408 |
+
p._onMouseEnter = function(){
|
3409 |
+
if ( !this._disableAH && !this.mdown ){
|
3410 |
+
this.visible();
|
3411 |
+
}
|
3412 |
+
|
3413 |
+
this.mleave = false;
|
3414 |
+
};
|
3415 |
+
|
3416 |
+
/**
|
3417 |
+
* Mouse Leave Listener
|
3418 |
+
* @since 2.2
|
3419 |
+
*/
|
3420 |
+
p._onMouseLeave = function(){
|
3421 |
+
if ( !this.mdown ){
|
3422 |
+
this.hide();
|
3423 |
+
}
|
3424 |
+
|
3425 |
+
this.mleave = true;
|
3426 |
+
};
|
3427 |
+
|
3428 |
+
/**
|
3429 |
+
* Mouse Down Listener
|
3430 |
+
* @since 2.2
|
3431 |
+
*/
|
3432 |
+
p._onMouseDown = function(){
|
3433 |
+
this.mdown = true;
|
3434 |
+
};
|
3435 |
+
|
3436 |
+
/**
|
3437 |
+
* Mouse Up Listener
|
3438 |
+
* @since 2.2
|
3439 |
+
*/
|
3440 |
+
p._onMouseUp = function(){
|
3441 |
+
if ( this.mdown && this.mleave ) {
|
3442 |
+
this.hide();
|
3443 |
+
}
|
3444 |
+
|
3445 |
+
this.mdown = false;
|
3446 |
+
};
|
3447 |
+
|
3448 |
+
/**
|
3449 |
+
* calls by the parent class [MSBaseControl] when the control element visibles [hideUnder option]
|
3450 |
* @since 1.5.7
|
3451 |
*/
|
3452 |
p.onAppend = function(){
|
3456 |
};
|
3457 |
|
3458 |
/**
|
3459 |
+
* calls by the parent class [MSBaseControl] when the control element visibles [hideUnder option]
|
3460 |
* @since 1.5.7
|
3461 |
*/
|
3462 |
p.onDetach = function(){
|
3467 |
|
3468 |
p._hideOnvideoStarts = function(){
|
3469 |
var that = this;
|
3470 |
+
slider.api.addEventListener(MSSliderEvent.VIDEO_PLAY , function(){
|
3471 |
that._disableAH = true;
|
3472 |
that.hide();
|
3473 |
});
|
3474 |
|
3475 |
+
slider.api.addEventListener(MSSliderEvent.VIDEO_CLOSE , function(){
|
3476 |
that._disableAH = false;
|
3477 |
that.visible();
|
3478 |
});
|
3483 |
this.$element.css('opacity' , 0);
|
3484 |
this.$element.css('display' , 'none');
|
3485 |
} else {
|
3486 |
+
clearTimeout(this.hideTo);
|
3487 |
+
this.hideTo = setTimeout(function($element){
|
3488 |
+
CTween.fadeOut($element , 400 , false);
|
3489 |
+
}, 20 , this.$element);
|
3490 |
}
|
3491 |
|
3492 |
this.$element.addClass('ms-ctrl-hide');
|
3494 |
|
3495 |
p.visible = function(){
|
3496 |
if(this.detached) return;
|
3497 |
+
clearTimeout(this.hideTo);
|
3498 |
this.$element.css('display' , '');
|
3499 |
+
CTween.fadeIn(this.$element , 400 , false);
|
3500 |
this.$element.removeClass('ms-ctrl-hide');
|
3501 |
};
|
3502 |
|
3503 |
p.destroy = function(){
|
3504 |
|
3505 |
if(this.options && this.options.hideUnder){
|
3506 |
+
//this.slider.api.removeEventListener(MSSliderEvent.RESIZE, this.onResize, this);
|
3507 |
$(window).unbind('resize', this.onResize);
|
3508 |
}
|
3509 |
};
|
3557 |
|
3558 |
this.cont.append(this.$next);
|
3559 |
this.cont.append(this.$prev);
|
3560 |
+
|
3561 |
+
this.checkHideUnder(); // super method
|
3562 |
};
|
3563 |
|
3564 |
p.hide = function(fast){
|
3691 |
this.$element.height(this.options.height);
|
3692 |
}
|
3693 |
}
|
3694 |
+
this.checkHideUnder(); // super method
|
3695 |
};
|
3696 |
|
3697 |
/**
|
3957 |
this.options.dir = 'h';
|
3958 |
this.options.inset = true;
|
3959 |
this.options.margin = 10;
|
3960 |
+
this.options.space = 10;
|
3961 |
|
3962 |
|
3963 |
$.extend(this.options , options);
|
3984 |
this.$bullet_cont = $('<div></div>')
|
3985 |
.addClass('ms-bullets-count')
|
3986 |
.appendTo(this.$element);
|
|
|
3987 |
|
|
|
3988 |
if( !this.options.insetTo && this.options.align ){
|
|
|
|
|
|
|
|
|
|
|
3989 |
|
3990 |
var align = this.options.align;
|
3991 |
if( this.options.inset ){
|
3992 |
+
this.$element.css(align, this.options.margin);
|
3993 |
}
|
3994 |
+
|
3995 |
}
|
3996 |
|
3997 |
+
this.checkHideUnder(); // super method
|
3998 |
+
|
3999 |
};
|
4000 |
|
4001 |
p.create = function(){
|
4010 |
bullet.on('click', function(){that.changeSlide(this.index);});
|
4011 |
this.$bullet_cont.append(bullet);
|
4012 |
this.bullets.push(bullet);
|
4013 |
+
if( this.options.dir === 'h' ) {
|
4014 |
+
bullet.css('margin', this.options.space/2);
|
4015 |
+
}else {
|
4016 |
+
bullet.css('margin', this.options.space);
|
4017 |
+
}
|
4018 |
}
|
4019 |
|
4020 |
+
if(this.options.dir === 'h') {
|
4021 |
this.$element.width(bullet.outerWidth(true) * this.slider.api.count());
|
4022 |
+
} else {
|
4023 |
+
this.$element.css('margin-top', -this.$element.outerHeight(true)/2);
|
4024 |
+
}
|
4025 |
|
4026 |
this.select(this.bullets[this.cindex]);
|
4027 |
};
|
4160 |
this.align();
|
4161 |
}
|
4162 |
}
|
4163 |
+
|
4164 |
+
this.checkHideUnder(); // super method
|
4165 |
};
|
4166 |
|
4167 |
/**
|
4329 |
this.align();
|
4330 |
}
|
4331 |
}
|
4332 |
+
this.checkHideUnder(); // super method
|
4333 |
};
|
4334 |
|
4335 |
/**
|
4419 |
this.__w = (this.options.radius + this.options.stroke/2) * 2;
|
4420 |
this.$canvas[0].width = this.__w;
|
4421 |
this.$canvas[0].height = this.__w;
|
4422 |
+
|
4423 |
+
this.checkHideUnder(); // super method
|
4424 |
};
|
4425 |
|
4426 |
p.create = function(){
|
4533 |
}
|
4534 |
}
|
4535 |
|
4536 |
+
this.checkHideUnder(); // super method
|
4537 |
+
|
4538 |
};
|
4539 |
|
4540 |
/**
|
public/assets/js/masterslider.map
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"version":3,
|
3 |
"file":"masterslider.min.js",
|
4 |
"lineCount":9,
|
5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K,CAAC,CAAA,CAAD,CAAM,CACvC,IAAIoqB,YAAa,CAAExC,CAhBI,CAiBvB,CAEDz1B,CAACqY,QAAS,CAAEC,QAAQ,CAAA,CAAE,CACrBiZ,CAAMlZ,QAAQ,CAAA,CAAE,CAChB9L,YAAY,CAAC,IAAI6rB,IAAL,CAAU,CACnB,IAAIH,YAAa,EAAG,IAAIA,YAAa,CAAA,CAAA,CAAE7mB,M,EACzC,IAAI6mB,YAAa,CAAA,CAAA,CAAE7mB,MAAMvD,KAAK,CAAC,MAAD,CAAQ,CAEvC,IAAIjF,SAAS+E,OAAO,CAAA,CAAE,CACtB,IAAI0O,OAAOkB,IAAI5V,oBAAoB,CAACiS,cAAcU,sBAAsB,CAAE,IAAI3H,MAAM,CAAE,IAAnD,CAAwD,CAC3F,IAAI0J,OAAOkB,IAAI5V,oBAAoB,CAACiS,cAAcE,aAAc,CAAE,IAAIlL,OAAQ,CAAE,IAA7C,CARd,CASrB,CAEDiS,kBAAkBU,gBAAgB,CAAC,WAAY,CAAEmW,YAAf,CArJtB,CAsJX,CAAC7yB,MAAD",
|
6 |
"sources":["masterslider.js"],
|
7 |
-
"names":["window","averta","$","getVendorPrefix","regex","someScript","prop","arguments","callee","result","document","getElementsByTagName","style","test","match","checkStyleValue","b","body","documentElement","s","p","i","v","charAt","toUpperCase","substr","length","supportsTransitions","supportsTransforms","supports3DTransforms","el","has3d","transforms","t","createElement","display","insertBefore","undefined","getComputedStyle","getPropertyValue","removeChild","extend","trans","fps60","isIE11","package","window.package","name","target","object","key","Function","prototype","Function.prototype.extend","superclass","constructor","ready","_jcsspfx","_csspfx","_cssanim","_css3d","_css2d","_mobile","navigator","userAgent","_touch","parseQueryString","window.parseQueryString","url","queryString","replace","RegExp","$0","$1","$2","$3","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","callback","setTimeout","window.getComputedStyle",".getPropertyValue","re","currentStyle","Array","indexOf","Array.prototype.indexOf","elt","len","from","Number","Math","ceil","floor","jQuery","jqLoadFix","$.jqLoadFix","complete","that","load","uaMatch","jQuery.uaMatch","ua","toLowerCase","exec","matched","browser","version","chrome","webkit","safari","msie","mozilla","fn","preloadImg","$.fn.preloadImg","src","_event","each","$this","self","img","Image","onload","img.onload","event","attr","width","height","call","EventDispatcher","averta.EventDispatcher","listeners","averta.EventDispatcher.extend","_proto","instance","addEventListener","listener","ref","push","removeEventListener","l","splice","dispatchEvent","type","isTouch","isPointer","pointerEnabled","isMSPoiner","msPointerEnabled","usePointer","ev_start","ev_move","ev_end","ev_cancel","TouchSwipe","averta.TouchSwipe","$element","enabled","bind","__touchStart","swipe","onSwipe","swipeType","lastStatus","getDirection","p.getDirection","new_x","new_y","start_x","start_y","abs","priventDefultEvent","p.priventDefultEvent","dx","dy","horiz","createStatusObject","p.createStatusObject","evt","status_data","temp_x","temp_y","distanceX","distanceY","pageX","pageY","moveX","moveY","distance","parseInt","sqrt","pow","duration","Date","getTime","start_time","direction","__reset","p.__reset","jqevt","reset","touches","p.__touchStart","data","status","originalEvent","css","error","touchStarted","__touchEnd","__touchMove","__touchCancel","phase","preventDefault","p.__touchMove","clearTimeout","timo","p.__touchEnd","priventEvt","unbind","speed","p.__touchCancel","enable","p.enable","disable","p.disable","__tick","Ticker","averta.Ticker","st","list","__stopped","add","st.add","start","remove","st.remove","stop","st.start","st.stop","item","now","Date.now","Timer","averta.Timer","delay","autoStart","currentCount","paused","onTimer","refrence","lastTime","update","CSSTween","window.CSSTween","element","ease","to","p.to","to_cb","to_cb_target","p.from","fr_cb","fr_cb_target","onComplete","p.onComplete","oc_fb","oc_fb_target","chain","p.chain","csstween","chained_tween","p.reset","start_to","end_to","p.start","fresh","onTransComplete",".onTransComplete","transPos","properties","posx","posy","x","y","CTween","setPos","CTween.setPos","pos","animate","CTween.animate","options","tween","onCl","EaseDic","fadeOut","CTween.fadeOut","options.complete","fadeIn","CTween.fadeIn","MSAligner","window.MSAligner","$container","$img","widthOnly","heightOnly","init","p.init","w","h","baseWidth","baseHeight","imgRatio","imgRatio2","needAlign","align","p.align","cont_w","cont_h","contRatio","setMargin","p.setMargin","offsetHeight","offsetWidth","_options","Controller","min","max","Error","_max_value","_min_value","value","end_loc","current_snap","getSnapNum","__extrStep","__extraMove","__animID","changeTo","p.changeTo","snap_num","dispatch","stopped","_internalStop","_checkLimits","snapping","_callsnapChange","animating","active_id","amplitude","timeStep","targetPosition","animFrict","friction","timeconst","maxSpeed","tick","dis","minValidDist","_callrenderer","_callonComplete","exp","drag","p.drag","move","start_drag","drag_start_loc","_deceleration","endless","bouncing","__isout","p.push","snappingMinSpeed","cancel","__speed","__startSpeed","_calculateEnd","snap_loc","end_snap","paging","gotoSnap","__needsSnap","_calculateExtraMove","_startDecelaration","bounce","p.bounce","p.stop","p.cancel","renderCallback","p.renderCallback","__renderHook","snappingCallback","p.snappingCallback","__snapHook","snapCompleteCallback","p.snapCompleteCallback","__compHook","p.getSnapNum","snapsize","nextSnap","p.nextSnap","curr_snap","prevSnap","p.prevSnap","p.gotoSnap","destroy","p.destroy","p._internalStop","p._calculateExtraMove","m","p._calculateEnd","step","temp_speed","temp_value","p._checkLimits","p._callrenderer","fun","p._callsnapChange","targetSnap","p._callonComplete","_computeDeceleration","p._computeDeceleration","xtr_move","out_value","outFriction","outAcceleration","p._startDecelaration","round","MSLSliderEvent","window.MSLSliderEvent","CHANGE_START","CHANGE_END","WAITING","AUTOPLAY_CHANGE","VIDEO_PLAY","VIDEO_CLOSE","INIT","RESIZE","RESERVED_SPACE_CHANGE","MSLSlide","window.MSLSlide","$loading","addClass","view","index","__width","__height","preloadCount","fillMode","selected","pselected","autoAppend","isSleeping","moz","onSwipeStart","p.onSwipeStart","link","linkdis","video","videodis","onSwipeCancel","p.onSwipeCancel","setBG","p.setBG","hasBG","$imgcont","append","$bg_img","bgAligner","slider","autoHeight","setHeight","bg_src","removeAttr","one","_onBGLoad","p._onBGLoad","bgNatrualWidth","bgNatrualHeight","bgLoaded","on","___onReady","loadImages","p.loadImages","ls","bgvideo","p.___onReady","api","_startTimer","setup","preload","slideList","_removeLoading","setSize","p.setSize","ratio","bgWidth","bgHeight","getHeight","p.getHeight","clientHeight","__playVideo","p.__playVideo","vplayed","pause","roc","vcbtn","vpbtn","vframe","swipeControl","slideController","__closeVideo","p.__closeVideo","resume","removeClass","create","p.create","click","open","link_targ","appendTo","parent","sleep","p.setup","initBG","prepareToSelect","p.prepareToSelect","MSLViewEvents","SWIPE_START","SWIPE_CANCEL","select","p.select","unselect","p.unselect","p.sleep","force","detach","wakeup","p.wakeup","$slideCont","SliderViewList","MSLSlideController","window.MSLSlideController","_delayProgress","_timer","currentSlide","so","registerView","MSLSlideController.registerView","_class","SliderControlList","registerControl","MSLSlideController.registerControl","setupView","p.setupView","viewOptions","viewClass","resize_listener",".resize_listener","__resize","space","mouse","loop","dir","inView","critMargin","heightLimit","MSLBasicView","_3dreq","_fallback","overPause","mouseenter","is_over","_stopTimer","mouseleave","onChangeStart","p.onChangeStart","change_started","endPause","slides","skipTimer","onChangeEnd","p.onChangeEnd","loc","p.skipTimer","p.onTimer","next","hideCalled","p._stopTimer","p._startTimer","__appendSlides","p.__appendSlides","slide","detached","appendSlide","p.__resize","hard","created","clientWidth","fullwidth","aspect","$controlsCont","centerControls","__dispatchInit","p.__dispatchInit","autoplay","scroller","controller","wheel","last_time","wheellistener",".wheellistener","current_time","e","delta","orginalEvent","wheelDelta","detail","previous","init_safemode","p.index","count","p.count","slidesCount","p.next","p.previous","gotoSlide","p.gotoSlide","_destroy","p._destroy","runAction","p.runAction","action","actionParams","temp","slice","split","apply","console","log","p.update","locate","p.locate","p.resume","p.pause","currentTime","p.currentTime","MasterSliderLite","window.MasterSliderLite","lastMargin","leftSpace","topSpace","rightSpace","bottomSpace","_resize","author","releaseDate","__setupSlides","p.__setupSlides","new_slide","ind","children","$slide_ele","slide_img","slide_link","controls","slideAction","getAttribute","hasClass","addSlide","p._removeLoading","id","p._resize","_shuffleSlides","p._shuffleSlides","r","random","_setupSliderLayout","p._setupSliderLayout","_updateSideMargins","lo","layout","_updateLayout","p._updateLayout","margin","innerWidth","offset","left","_init","p._init","$view","preventInit","initialized","shuffle","prepend","$msContainer","prependTo","grabCursor","mousedown","mouseup","p.setHeight","smoothHeight","htween","reserveSpace","p.reserveSpace","side","sideSpace","p._updateSideMargins","_realignControls","p._realignControls","control","p.control","ins","isAndroid","eq","setupMarkup","html","autofill","fullheight","insertMarkup","window.MSLViewEvents","SWIPE_END","SWIPE_MOVE","SCROLL","window.MSLBasicView","spacing","__cssProb","__offset","__dimension","__translate_end","viewSlidesList","css3","start_buffer","firstslide_snap","minSlideSpeed","_horizUpdate","_vertiUpdate","__snapUpdate","__snapCompelet","p.__snapCompelet","__locateSlides","p.__snapUpdate","snap","change","target_index","updateLoop","_checkCritMargins","marginTop","__updateSlidesZindex","p._checkCritMargins","normalMode","hlf","viewNum","size","cm","p._vertiUpdate","__contPos","top","p._horizUpdate","__updateViewList","p.__updateViewList","currentSlideLoc","unshift","p.__locateSlides","position","__createLoopList","p.__createLoopList","return_arr","before_count","after_count","__getSteps","p.__getSteps","right","__pushEnd","p.__pushEnd","first_slide","shift","last_slide","__pushStart","p.__pushStart","pop","p.__updateSlidesZindex","autoUpdateZIndex","beforeNum","afterNum","diff","p.addSlide","p.appendSlide","p.updateLoop","steps","fast","target_slide","setupSwipe","p.setupSwipe",".swipeControl.onSwipe","horizSwipeMove","vertSwipeMove","p.vertSwipeMove","cont_size","p.horizSwipeMove","lastWidth","lastHeight","__created","mouseSwipe","MSLFadeView","window.MSLFadeView","__update","_super","p.__update","cont_scroll","__updateSlides","p.__updateSlides","fadeTo","BaseControl","p.slideAction","cont","insertTo","overVideo","_hideOnvideoStarts","hideUnder","onResize","needsRealign","insetTo","inset","p.onResize","hide","onDetach","visible","onAppend","autohide","_disableAH","mdown","mleave","p.onAppend","p.onDetach","p._hideOnvideoStarts","p.hide","p.visible","MSLArrows","$next","prefix","$prev","MSLThumblist","arrows","thumbs","index_count","__dimen","__alignsize","__jdimen","__pos","click_enable","$thumbscont","$fwd","$bwd","thumb_ele","find","thumb_frame","changeSlide","aligner","is","_hMove","_vMove","thumbSize","cindex","p._hMove","p._vMove","dTouch","nindex","updateThumbscroll","p.updateThumbscroll","first_snap","p.changeSlide","thumb","ele","MSLBulltes","bullets","$bullet_cont","bullet","outerWidth","MSLScrollbar","color","__translate_start","$bar","_update","vdimen","bar_dimen","p._update","lvalue","hto","MSLTimerbar","MSLCircleTimer","stroke","radius","$canvas","getContext","ctx","prog","__w","_draw","p._draw","clearRect","beginPath","arc","PI","strokeStyle","lineWidth","MSLSlideInfo","window.MSLSlideInfo","data_list","fadeDuratation","info_ele","switchEle","p.switchEle","current_ele","__show","p.__show","tou"]
|
8 |
}
|
2 |
"version":3,
|
3 |
"file":"masterslider.min.js",
|
4 |
"lineCount":9,
|
5 |
+
"mappings":";;;;;;;;AAYAA,MAAMC,OAAQ,CAAE,CAAA,CAAE,CAEhB,QAAQ,CAACC,CAAD,CAAG,CA6CZC,SAASA,CAAe,CAAA,CAAG,CAI1B,IAAIC,EAEAC,EAEIC,CAJ4C,CAFpD,GAAG,QAAS,GAAGC,SAASC,QAAS,OAAOD,SAASC,OAAOC,OAAO,CAE3DL,CAAM,CAAE,wC,CAERC,CAAW,CAAEK,QAAQC,qBAAqB,CAAC,QAAD,CAAW,CAAA,CAAA,C,CAEzD,IAAQL,EAAK,GAAGD,CAAUO,MAA1B,CACC,GAAGR,CAAKS,KAAK,CAACP,CAAD,EACZ,OAAOC,SAASC,OAAOC,OAAQ,CAAEH,CAAIQ,MAAM,CAACV,CAAD,CAAQ,CAAA,CAAA,CAAE,CAKvD,OAH+CG,SAASC,OAAOC,OAAQ,CAApE,eAAgB,GAAGJ,CAAUO,M,CAAyC,Q,CACtE,cAAe,GAAGP,CAAUO,M,CAAyC,O,CAEvC,EAfP,CA+B3BG,SAASA,CAAe,CAACT,CAAD,CAAM,CAC5B,IAAIU,EAAIN,QAAQO,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IlL,OAAQ,CAAE,IAA7C,CARd,CASrB,CAEDiS,kBAAkBU,gBAAgB,CAAC,WAAY,CAAEiX,YAAf,CAvJtB,CAwJX,CAAC3zB,MAAD",
|
6 |
"sources":["masterslider.js"],
|
7 |
+
"names":["window","averta","$","getVendorPrefix","regex","someScript","prop","arguments","callee","result","document","getElementsByTagName","style","test","match","checkStyleValue","b","body","documentElement","s","p","i","v","charAt","toUpperCase","substr","length","supportsTransitions","supportsTransforms","supports3DTransforms","el","has3d","transforms","t","createElement","display","insertBefore","undefined","getComputedStyle","getPropertyValue","removeChild","extend","trans","fps60","isIE11","package","window.package","name","target","object","key","Function","prototype","Function.prototype.extend","superclass","constructor","ready","_jcsspfx","_csspfx","_cssanim","_css3d","_css2d","_mobile","navigator","userAgent","_touch","parseQueryString","window.parseQueryString","url","queryString","replace","RegExp","$0","$1","$2","$3","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","callback","setTimeout","window.getComputedStyle",".getPropertyValue","re","currentStyle","Array","indexOf","Array.prototype.indexOf","elt","len","from","Number","Math","ceil","floor","jQuery","jqLoadFix","$.jqLoadFix","complete","that","load","uaMatch","jQuery.uaMatch","ua","toLowerCase","exec","matched","browser","version","chrome","webkit","safari","msie","mozilla","fn","preloadImg","$.fn.preloadImg","src","_event","each","$this","self","img","Image","onload","img.onload","event","attr","width","height","call","EventDispatcher","averta.EventDispatcher","listeners","averta.EventDispatcher.extend","_proto","instance","addEventListener","listener","ref","push","removeEventListener","l","splice","dispatchEvent","type","isTouch","isPointer","pointerEnabled","isMSPoiner","msPointerEnabled","usePointer","ev_start","ev_move","ev_end","ev_cancel","TouchSwipe","averta.TouchSwipe","$element","enabled","bind","__touchStart","swipe","onSwipe","swipeType","lastStatus","getDirection","p.getDirection","new_x","new_y","start_x","start_y","abs","priventDefultEvent","p.priventDefultEvent","dx","dy","horiz","createStatusObject","p.createStatusObject","evt","status_data","temp_x","temp_y","distanceX","distanceY","pageX","pageY","moveX","moveY","distance","parseInt","sqrt","pow","duration","Date","getTime","start_time","direction","__reset","p.__reset","jqevt","reset","touches","p.__touchStart","data","status","originalEvent","css","error","touchStarted","__touchEnd","__touchMove","__touchCancel","phase","preventDefault","p.__touchMove","clearTimeout","timo","p.__touchEnd","priventEvt","unbind","speed","p.__touchCancel","enable","p.enable","disable","p.disable","__tick","Ticker","averta.Ticker","st","list","__stopped","add","st.add","start","remove","st.remove","stop","st.start","st.stop","item","now","Date.now","Timer","averta.Timer","delay","autoStart","currentCount","paused","onTimer","refrence","lastTime","update","CSSTween","window.CSSTween","element","ease","to","p.to","to_cb","to_cb_target","p.from","fr_cb","fr_cb_target","onComplete","p.onComplete","oc_fb","oc_fb_target","chain","p.chain","csstween","chained_tween","p.reset","start_to","end_to","p.start","fresh","onTransComplete",".onTransComplete","transPos","properties","posx","posy","x","y","CTween","setPos","CTween.setPos","pos","animate","CTween.animate","options","tween","onCl","EaseDic","fadeOut","CTween.fadeOut","options.complete","fadeIn","CTween.fadeIn","MSAligner","window.MSAligner","$container","$img","widthOnly","heightOnly","init","p.init","w","h","baseWidth","baseHeight","imgRatio","imgRatio2","needAlign","align","p.align","cont_w","cont_h","contRatio","setMargin","p.setMargin","offsetHeight","offsetWidth","_options","Controller","min","max","Error","_max_value","_min_value","value","end_loc","current_snap","getSnapNum","__extrStep","__extraMove","__animID","changeTo","p.changeTo","snap_num","dispatch","stopped","_internalStop","_checkLimits","snapping","_callsnapChange","animating","active_id","amplitude","timeStep","targetPosition","animFrict","friction","timeconst","maxSpeed","tick","dis","minValidDist","_callrenderer","_callonComplete","exp","drag","p.drag","move","start_drag","drag_start_loc","_deceleration","endless","bouncing","__isout","p.push","snappingMinSpeed","cancel","__speed","__startSpeed","_calculateEnd","snap_loc","end_snap","paging","gotoSnap","__needsSnap","_calculateExtraMove","_startDecelaration","bounce","p.bounce","p.stop","p.cancel","renderCallback","p.renderCallback","__renderHook","snappingCallback","p.snappingCallback","__snapHook","snapCompleteCallback","p.snapCompleteCallback","__compHook","p.getSnapNum","snapsize","nextSnap","p.nextSnap","curr_snap","prevSnap","p.prevSnap","p.gotoSnap","destroy","p.destroy","p._internalStop","p._calculateExtraMove","m","p._calculateEnd","step","temp_speed","temp_value","p._checkLimits","p._callrenderer","fun","p._callsnapChange","targetSnap","p._callonComplete","_computeDeceleration","p._computeDeceleration","xtr_move","out_value","outFriction","outAcceleration","p._startDecelaration","round","MSLSliderEvent","window.MSLSliderEvent","CHANGE_START","CHANGE_END","WAITING","AUTOPLAY_CHANGE","VIDEO_PLAY","VIDEO_CLOSE","INIT","RESIZE","RESERVED_SPACE_CHANGE","MSLSlide","window.MSLSlide","$loading","addClass","view","index","__width","__height","preloadCount","fillMode","selected","pselected","autoAppend","isSleeping","moz","onSwipeStart","p.onSwipeStart","link","linkdis","video","videodis","onSwipeCancel","p.onSwipeCancel","setBG","p.setBG","hasBG","$imgcont","append","$bg_img","bgAligner","slider","autoHeight","setHeight","bg_src","removeAttr","one","_onBGLoad","p._onBGLoad","bgNatrualWidth","bgNatrualHeight","bgLoaded","on","___onReady","loadImages","p.loadImages","ls","bgvideo","p.___onReady","api","_startTimer","setup","preload","slideList","_removeLoading","setSize","p.setSize","ratio","bgWidth","bgHeight","getHeight","p.getHeight","clientHeight","__playVideo","p.__playVideo","vplayed","pause","roc","vcbtn","vpbtn","vframe","swipeControl","slideController","__closeVideo","p.__closeVideo","resume","removeClass","create","p.create","click","open","link_targ","appendTo","parent","sleep","p.setup","initBG","prepareToSelect","p.prepareToSelect","MSLViewEvents","SWIPE_START","SWIPE_CANCEL","select","p.select","unselect","p.unselect","p.sleep","force","detach","wakeup","p.wakeup","$slideCont","SliderViewList","MSLSlideController","window.MSLSlideController","_delayProgress","_timer","currentSlide","so","registerView","MSLSlideController.registerView","_class","SliderControlList","registerControl","MSLSlideController.registerControl","setupView","p.setupView","viewOptions","viewClass","resize_listener",".resize_listener","__resize","space","mouse","loop","dir","inView","critMargin","heightLimit","MSLBasicView","_3dreq","_fallback","overPause","mouseenter","is_over","_stopTimer","mouseleave","onChangeStart","p.onChangeStart","change_started","endPause","slides","skipTimer","onChangeEnd","p.onChangeEnd","loc","p.skipTimer","p.onTimer","next","hideCalled","p._stopTimer","p._startTimer","__appendSlides","p.__appendSlides","slide","detached","appendSlide","p.__resize","hard","created","clientWidth","fullwidth","aspect","$controlsCont","centerControls","__dispatchInit","p.__dispatchInit","autoplay","scroller","controller","wheel","last_time","wheellistener",".wheellistener","current_time","e","delta","orginalEvent","wheelDelta","detail","previous","init_safemode","p.index","count","p.count","slidesCount","p.next","p.previous","gotoSlide","p.gotoSlide","_destroy","p._destroy","runAction","p.runAction","action","actionParams","temp","slice","split","apply","console","log","p.update","locate","p.locate","p.resume","p.pause","currentTime","p.currentTime","MasterSliderLite","window.MasterSliderLite","lastMargin","leftSpace","topSpace","rightSpace","bottomSpace","_resize","author","releaseDate","__setupSlides","p.__setupSlides","new_slide","ind","children","$slide_ele","slide_img","slide_link","controls","slideAction","getAttribute","hasClass","addSlide","p._removeLoading","id","p._resize","_shuffleSlides","p._shuffleSlides","r","random","_setupSliderLayout","p._setupSliderLayout","_updateSideMargins","lo","layout","_updateLayout","p._updateLayout","margin","innerWidth","offset","left","_init","p._init","$view","preventInit","initialized","shuffle","prepend","$msContainer","prependTo","grabCursor","mousedown","mouseup","p.setHeight","smoothHeight","htween","reserveSpace","p.reserveSpace","side","sideSpace","p._updateSideMargins","_realignControls","p._realignControls","control","p.control","ins","isAndroid","eq","setupMarkup","html","autofill","fullheight","insertMarkup","window.MSLViewEvents","SWIPE_END","SWIPE_MOVE","SCROLL","window.MSLBasicView","spacing","__cssProb","__offset","__dimension","__translate_end","viewSlidesList","css3","start_buffer","firstslide_snap","minSlideSpeed","_horizUpdate","_vertiUpdate","__snapUpdate","__snapCompelet","p.__snapCompelet","__locateSlides","p.__snapUpdate","snap","change","target_index","updateLoop","_checkCritMargins","marginTop","__updateSlidesZindex","p._checkCritMargins","normalMode","hlf","viewNum","size","cm","p._vertiUpdate","__contPos","top","p._horizUpdate","__updateViewList","p.__updateViewList","currentSlideLoc","unshift","p.__locateSlides","position","__createLoopList","p.__createLoopList","return_arr","before_count","after_count","__getSteps","p.__getSteps","right","__pushEnd","p.__pushEnd","first_slide","shift","last_slide","__pushStart","p.__pushStart","pop","p.__updateSlidesZindex","autoUpdateZIndex","beforeNum","afterNum","diff","p.addSlide","p.appendSlide","p.updateLoop","steps","fast","target_slide","setupSwipe","p.setupSwipe",".swipeControl.onSwipe","horizSwipeMove","vertSwipeMove","p.vertSwipeMove","cont_size","p.horizSwipeMove","lastWidth","lastHeight","__created","mouseSwipe","MSLFadeView","window.MSLFadeView","__update","_super","p.__update","cont_scroll","__updateSlides","p.__updateSlides","fadeTo","BaseControl","p.slideAction","cont","insertTo","overVideo","_hideOnvideoStarts","checkHideUnder","p.checkHideUnder","hideUnder","needsRealign","insetTo","inset","onResize","p.onResize","hide","onDetach","visible","onAppend","autohide","proxy","_onMouseEnter","_onMouseLeave","_onMouseDown","_onMouseUp","p._onMouseEnter","_disableAH","mdown","mleave","p._onMouseLeave","p._onMouseDown","p._onMouseUp","p.onAppend","p.onDetach","p._hideOnvideoStarts","MSSliderEvent","p.hide","hideTo","p.visible","MSLArrows","$next","prefix","$prev","MSLThumblist","arrows","thumbs","index_count","__dimen","__alignsize","__jdimen","__pos","click_enable","$thumbscont","$fwd","$bwd","thumb_ele","find","thumb_frame","changeSlide","aligner","is","_hMove","_vMove","thumbSize","cindex","p._hMove","p._vMove","dTouch","nindex","updateThumbscroll","p.updateThumbscroll","first_snap","p.changeSlide","thumb","ele","MSLBulltes","bullets","$bullet_cont","bullet","outerWidth","outerHeight","MSLScrollbar","color","__translate_start","$bar","_update","vdimen","bar_dimen","p._update","lvalue","hto","MSLTimerbar","MSLCircleTimer","stroke","radius","$canvas","getContext","ctx","prog","__w","_draw","p._draw","clearRect","beginPath","arc","PI","strokeStyle","lineWidth","MSLSlideInfo","window.MSLSlideInfo","data_list","fadeDuratation","info_ele","switchEle","p.switchEle","current_ele","__show","p.__show","tou"]
|
8 |
}
|
public/assets/js/masterslider.min.js
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
* @author Averta (www.averta.net)
|
4 |
* Copyright © All Rights Reserved, Averta Ltd.
|
5 |
*
|
6 |
-
* @version 1.
|
7 |
-
* @date
|
8 |
*/
|
9 |
-
window.averta={},function(n){function o(){var t,n,i;if("result"in arguments.callee)return arguments.callee.result;t=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,n=document.getElementsByTagName("script")[0];for(i in n.style)if(t.test(i))return arguments.callee.result=i.match(t)[0];return arguments.callee.result="WebkitOpacity"in n.style?"Webkit":"KhtmlOpacity"in n.style?"Khtml":""}function r(n){var u=document.body||document.documentElement,r=u.style,t=n,i;if(typeof r[t]=="string")return!0;for(v=["Moz","Webkit","Khtml","O","ms"],t=t.charAt(0).toUpperCase()+t.substr(1),i=0;i<v.length;i++)if(typeof r[v[i]+t]=="string")return!0;return!1}function s(){return r("transition")}function u(){return r("transform")}function h(){var n,t,r,i;if(!u())return!1;n=document.createElement("i"),r={WebkitTransform:"-webkit-transform",OTransform:"-o-transform",MSTransform:"-ms-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",Transform:"transform",transform:"transform"},n.style.display="block",document.body.insertBefore(n,null);for(i in r)n.style[i]!==undefined&&(n.style[i]="translate3d(1px,1px,1px)",t=window.getComputedStyle(n).getPropertyValue(r[i]));return document.body.removeChild(n),t!=null&&t.length>0&&t!=="none"}var t,i,f,e;window.package=function(n){window[n]||(window[n]={})},t=function(n,t){for(var i in t)n[i]=t[i]},Function.prototype.extend=function(n){typeof n.prototype.constructor=="function"?(t(this.prototype,n.prototype),this.prototype.constructor=this):(this.prototype.extend(n),this.prototype.constructor=this)},i={Moz:"-moz-",Webkit:"-webkit-",Khtml:"-khtml-",O:"-o-",ms:"-ms-",Icab:"-icab-"},n(document).ready(function(){window._jcsspfx=o(),window._csspfx=i[window._jcsspfx],window._cssanim=s(),window._css3d=h(),window._css2d=u(),window._mobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),window._touch="ontouchstart"in document}),window.parseQueryString=function(n){var t={};return n.replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),function(n,i,r,u){t[i]=u}),t},f=50/3,window.requestAnimationFrame||(window.requestAnimationFrame=function(){return window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(n){window.setTimeout(n,f)}}()),window.getComputedStyle||(window.getComputedStyle=function(n){return this.el=n,this.getPropertyValue=function(t){var i=/(\-([a-z]){1})/g;return t=="float"&&(t="styleFloat"),i.test(t)&&(t=t.replace(i,function(){return arguments[2].toUpperCase()})),n.currentStyle[t]?n.currentStyle[t]:null},n.currentStyle}),Array.prototype.indexOf||(Array.prototype.indexOf=function(n){var i=this.length>>>0,t=Number(arguments[1])||0;for(t=t<0?Math.ceil(t):Math.floor(t),t<0&&(t+=i);t<i;t++)if(t in this&&this[t]===n)return t;return-1}),jQuery&&(n.jqLoadFix=function(){if(this.complete){var t=this;setTimeout(function(){n(t).load()},1)}},jQuery.uaMatch=jQuery.uaMatch||function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}},matched=jQuery.uaMatch(navigator.userAgent),browser={},matched.browser&&(browser[matched.browser]=!0,browser.version=matched.version),browser.chrome?browser.webkit=!0:browser.webkit&&(browser.safari=!0),e=!!navigator.userAgent.match(/Trident\/7\./),e&&(browser.msie="true",delete browser.mozilla),jQuery.browser=browser,n.fn.preloadImg=function(t,i){return this.each(function(){var u=n(this),f=this,r=new Image;r.onload=function(n){n==null&&(n={}),u.attr("src",t),n.width=r.width,n.height=r.height,setTimeout(function(){i.call(f,n)},50),r=null},r.src=t}),this})}(jQuery),function(){"use strict";averta.EventDispatcher=function(){this.listeners={}},averta.EventDispatcher.extend=function(n){var i=new averta.EventDispatcher,t;for(t in i)t!="constructor"&&(n[t]=averta.EventDispatcher.prototype[t])},averta.EventDispatcher.prototype={constructor:averta.EventDispatcher,addEventListener:function(n,t,i){this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push({listener:t,ref:i})},removeEventListener:function(n,t,i){if(this.listeners[n]){for(var r=0,u=this.listeners[n].length;r<u;++r)t==this.listeners[n][r].listener&&i==this.listeners[n][r].ref&&this.listeners[n].splice(r,0);this.listeners[n].length==0&&delete this.listeners[n]}},dispatchEvent:function(n){if(n.target=this,this.listeners[n.type])for(var t=0,i=this.listeners[n.type].length;t<i;++t)this.listeners[n.type][t].listener.call(this.listeners[n.type][t].ref,n)}}}(),function(n){"use strict";var t="ontouchstart"in document,u=window.navigator.pointerEnabled,f=!u&&window.navigator.msPointerEnabled,r=u||f,h=(u?"pointerdown ":"")+(f?"MSPointerDown ":"")+(t?"touchstart ":"")+"mousedown",e=(u?"pointermove ":"")+(f?"MSPointerMove ":"")+(t?"touchmove ":"")+"mousemove",o=(u?"pointerup ":"")+(f?"MSPointerUp ":"")+(t?"touchend ":"")+"mouseup",s=(u?"pointercancel ":"")+(f?"MSPointerCancel ":"")+"touchcancel",i;averta.TouchSwipe=function(n){this.$element=n,this.enabled=!0,n.bind(h,{target:this},this.__touchStart),n[0].swipe=this,this.onSwipe=null,this.swipeType="horizontal",this.lastStatus={}},i=averta.TouchSwipe.prototype,i.getDirection=function(n,t){switch(this.swipeType){case"horizontal":return n<=this.start_x?"left":"right";case"vertical":return t<=this.start_y?"up":"down";case"all":return Math.abs(n-this.start_x)>Math.abs(t-this.start_y)?n<=this.start_x?"left":"right":t<=this.start_y?"up":"down"}},i.priventDefultEvent=function(n,t){var r=Math.abs(n-this.start_x),u=Math.abs(t-this.start_y),i=r>u;return this.swipeType==="horizontal"&&i||this.swipeType==="vertical"&&!i},i.createStatusObject=function(n){var t={},i,r;return i=this.lastStatus.distanceX||0,r=this.lastStatus.distanceY||0,t.distanceX=n.pageX-this.start_x,t.distanceY=n.pageY-this.start_y,t.moveX=t.distanceX-i,t.moveY=t.distanceY-r,t.distance=parseInt(Math.sqrt(Math.pow(t.distanceX,2)+Math.pow(t.distanceY,2))),t.duration=(new Date).getTime()-this.start_time,t.direction=this.getDirection(n.pageX,n.pageY),t},i.__reset=function(n,i){this.reset=!1,this.lastStatus={},this.start_time=(new Date).getTime(),this.start_x=t?n.touches[0].pageX:r?n.pageX:i.pageX,this.start_y=t?n.touches[0].pageY:r?n.pageY:i.pageY},i.__touchStart=function(i){var u=i.data.target,f=i,c,h;if(u.enabled){if(i=i.originalEvent,r&&n(this).css("-ms-touch-action",u.swipeType==="horizontal"?"pan-y":"pan-x"),!u.onSwipe){n.error("Swipe listener is undefined");return}u.touchStarted||(u.start_x=t?i.touches[0].pageX:r?i.pageX:f.pageX,u.start_y=t?i.touches[0].pageY:r?i.pageY:f.pageY,u.start_time=(new Date).getTime(),n(document).bind(o,{target:u},u.__touchEnd).bind(e,{target:u},u.__touchMove).bind(s,{target:u},u.__touchCancel),c=t?i.touches[0]:r?i:f,h=u.createStatusObject(c),h.phase="start",u.onSwipe.call(null,h),t||f.preventDefault(),u.lastStatus=h,u.touchStarted=!0)}},i.__touchMove=function(n){var i=n.data.target,e=n,u,f;(n=n.originalEvent,i.touchStarted)&&(clearTimeout(i.timo),i.timo=setTimeout(function(){i.__reset(n,e)},60),u=t?n.touches[0]:r?n:e,f=i.createStatusObject(u),i.priventDefultEvent(u.pageX,u.pageY)&&e.preventDefault(),f.phase="move",i.lastStatus=f,i.onSwipe.call(null,f))},i.__touchEnd=function(i){var u=i.data.target,h=i,c,f;i=i.originalEvent,clearTimeout(u.timo),c=t?i.touches[0]:r?i:h,f=u.lastStatus,t||h.preventDefault(),f.phase="end",u.touchStarted=!1,u.priventEvt=null,n(document).unbind(o,u.__touchEnd).unbind(e,u.__touchMove).unbind(s,u.__touchCancel),f.speed=f.distance/f.duration,u.onSwipe.call(null,f)},i.__touchCancel=function(n){var t=n.data.target;t.__touchEnd(n)},i.enable=function(){this.enabled||(this.enabled=!0)},i.disable=function(){this.enabled&&(this.enabled=!1)}}(jQuery),function(){"use strict";var u;averta.Ticker=function(){};var t=averta.Ticker,n=[],i=0,r=!0;t.add=function(r,u){return n.push([r,u]),n.length===1&&t.start(),i=n.length},t.remove=function(r,u){for(var f=0,e=n.length;f<e;++f)n[f]&&n[f][0]===r&&n[f][1]===u&&n.splice(f,1);i=n.length,i===0&&t.stop()},t.start=function(){r&&(r=!1,u())},t.stop=function(){r=!0},u=function(){var f,r;if(!t.__stopped){for(r=0;r!==i;r++)f=n[r],f[0].call(f[1]);requestAnimationFrame(u)}}}(),function(){"use strict";Date.now||(Date.now=function(){return(new Date).getTime()}),averta.Timer=function(n,t){this.delay=n,this.currentCount=0,this.paused=!1,this.onTimer=null,this.refrence=null,t&&this.start()},averta.Timer.prototype={constructor:averta.Timer,start:function(){this.paused=!1,this.lastTime=Date.now(),averta.Ticker.add(this.update,this)},stop:function(){this.paused=!0,averta.Ticker.remove(this.update,this)},reset:function(){this.currentCount=0,this.paused=!0,this.lastTime=Date.now()},update:function(){this.paused||Date.now()-this.lastTime<this.delay||(this.currentCount++,this.lastTime=Date.now(),this.onTimer&&this.onTimer.call(this.refrence,this.getTime()))},getTime:function(){return this.delay*this.currentCount}}}(),function(){"use strict";var n;window.CSSTween=function(n,t,i,r){this.$element=n,this.duration=t||1e3,this.delay=i||0,this.ease=r||"linear"},n=CSSTween.prototype,n.to=function(n,t){return this.to_cb=n,this.to_cb_target=t,this},n.from=function(n,t){return this.fr_cb=n,this.fr_cb_target=t,this},n.onComplete=function(n,t){return this.oc_fb=n,this.oc_fb_target=t,this},n.chain=function(n){return this.chained_tween=n,this},n.reset=function(){clearTimeout(this.start_to),clearTimeout(this.end_to)},n.start=function(){clearTimeout(this.start_to),clearTimeout(this.end_to),this.fresh=!0,this.fr_cb&&(this.$element.css(window._jcsspfx+"TransitionDuration","0ms"),this.fr_cb.call(this.fr_cb_target));var n=this;return this.onTransComplete=function(){n.fresh&&(n.reset(),this.$element.css(window._jcsspfx+"TransitionDuration","").css(window._jcsspfx+"TransitionProperty","").css(window._jcsspfx+"TransitionTimingFunction","").css(window._jcsspfx+"TransitionDelay",""),n.fresh=!1,n.chained_tween&&n.chained_tween.start(),n.oc_fb&&n.oc_fb.call(n.oc_fb_target))},this.start_to=setTimeout(function(){n.$element.css(window._jcsspfx+"TransitionDuration",n.duration+"ms").css(window._jcsspfx+"TransitionProperty","all"),n.delay>0?n.$element.css(window._jcsspfx+"TransitionDelay",n.delay+"ms"):n.$element.css(window._jcsspfx+"TransitionDelay",""),n.$element.css(window._jcsspfx+"TransitionTimingFunction",n.ease),n.to_cb&&n.to_cb.call(n.to_cb_target),n.end_to=setTimeout(function(){n.onTransComplete()},n.duration+(n.delay||0))},100),this}}(),function(){"use strict";function t(t,i){var r,u,f;return(i.x!==undefined||i.y!==undefined)&&(n?(r=window._jcsspfx+"Transform",i.x!==undefined&&(i[r]=(i[r]||"")+" translateX("+i.x+"px)",delete i.x),i.y!==undefined&&(i[r]=(i[r]||"")+" translateY("+i.y+"px)",delete i.y)):(i.x!==undefined&&(u=t.css("right")!=="auto"?"right":"left",i[u]=i.x+"px",delete i.x),i.y!==undefined&&(f=t.css("bottom")!=="auto"?"bottom":"top",i[f]=i.y+"px",delete i.y))),i}var n=null;window.CTween={},CTween.setPos=function(n,i){n.css(t(n,i))},CTween.animate=function(i,r,u,f){var e,o;if(n==null&&(n=window._cssanim),f=f||{},t(i,u),n){if(e=new CSSTween(i,r,f.delay,EaseDic[f.ease]),e.to(function(){i.css(u)}),f.complete)e.onComplete(f.complete,f.target);return e.start(),e.stop=e.reset,e}return f.delay&&i.delay(f.delay),f.complete&&(o=function(){f.complete.call(f.target)}),i.stop(!0).animate(u,r,f.ease||"linear",o),i},CTween.fadeOut=function(n,t,i){var r={};i&&(r.complete=function(){n.remove()}),CTween.animate(n,t||1e3,{opacity:0},r)},CTween.fadeIn=function(n,t){n.css("opacity",0),CTween.animate(n,t||1e3,{opacity:1})}}(),function(){window.EaseDic={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",easeInCubic:"cubic-bezier(.55,.055,.675,.19)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"}}(),function(){"use strict";window.MSAligner=function(n,t,i){this.$container=t,this.$img=i,this.type=n||"stretch",this.widthOnly=!1,this.heightOnly=!1};var n=MSAligner.prototype;n.init=function(n,t){this.baseWidth=n,this.baseHeight=t,this.imgRatio=n/t,this.imgRatio2=t/n;switch(this.type){case"tile":this.$container.css("background-image","url("+this.$img.attr("src")+")"),this.$img.remove();break;case"center":this.$container.css("background-image","url("+this.$img.attr("src")+")"),this.$container.css({backgroundPosition:"center center",backgroundRepeat:"no-repeat"}),this.$img.remove();break;case"stretch":this.$img.css({width:"100%",height:"100%"});break;case"fill":case"fit":this.needAlign=!0,this.align()}},n.align=function(){if(this.needAlign){var n=this.$container.width(),t=this.$container.height(),i=n/t;this.type=="fill"?this.imgRatio<i?(this.$img.width(n),this.$img.height(n*this.imgRatio2)):(this.$img.height(t),this.$img.width(t*this.imgRatio)):this.type=="fit"&&(this.imgRatio<i?(this.$img.height(t),this.$img.width(t*this.imgRatio)):(this.$img.width(n),this.$img.height(n*this.imgRatio2))),this.setMargin()}},n.setMargin=function(){var n=this.$container.width(),t=this.$container.height();this.$img.css("margin-top",(t-this.$img[0].offsetHeight)/2+"px"),this.$img.css("margin-left",(n-this.$img[0].offsetWidth)/2+"px")}}(),function(){"use strict";var t={bouncing:!0,snapping:!1,snapsize:null,friction:.05,outFriction:.05,outAcceleration:.09,minValidDist:.3,snappingMinSpeed:2,paging:!1,endless:!1,maxSpeed:160},i=function(n,i,r){if(i===null||n===null)throw new Error("Max and Min values are required.");this.options=r||{};for(var u in t)u in this.options||(this.options[u]=t[u]);this._max_value=i,this._min_value=n,this.value=n,this.end_loc=n,this.current_snap=this.getSnapNum(n),this.__extrStep=0,this.__extraMove=0,this.__animID=-1},n=i.prototype;n.changeTo=function(n,t,i,r,u){if(this.stopped=!1,this._internalStop(),n=this._checkLimits(n),i=Math.abs(i||0),this.options.snapping&&(r=r||this.getSnapNum(n),u!==!1&&this._callsnapChange(r),this.current_snap=r),t){this.animating=!0;var f=this,e=++f.__animID,h=n-f.value,c=0,l=n,o=1-f.options.friction,a=o+(i-20)*o*1.3/f.options.maxSpeed,s=function(){if(e===f.__animID){var t=n-f.value;if(Math.abs(t)>f.options.minValidDist&&f.animating)window.requestAnimationFrame(s);else{f.animating&&(f.value=n,f._callrenderer()),f.animating=!1,e!==f.__animID&&(f.__animID=-1),f._callonComplete("anim");return}f.value=l-h*Math.exp(-++c*a),f._callrenderer()}};s();return}this.value=n,this._callrenderer()},n.drag=function(n){this.start_drag&&(this.drag_start_loc=this.value,this.start_drag=!1),this.animating=!1,this._deceleration=!1,this.value-=n,!this.options.endless&&(this.value>this._max_value||this.value<0)?this.options.bouncing?(this.__isout=!0,this.value+=n*.6):this.value=this.value>this._max_value?this._max_value:0:!this.options.endless&&this.options.bouncing&&(this.__isout=!1),this._callrenderer()},n.push=function(n){if(this.stopped=!1,this.options.snapping&&Math.abs(n)<=this.options.snappingMinSpeed){this.cancel();return}if(this.__speed=n,this.__startSpeed=n,this.end_loc=this._calculateEnd(),this.options.snapping){var t=this.getSnapNum(this.value),i=this.getSnapNum(this.end_loc);if(this.options.paging){t=this.getSnapNum(this.drag_start_loc),this.__isout=!1,n>0?this.gotoSnap(t+1,!0,n):this.gotoSnap(t-1,!0,n);return}if(t===i){this.cancel();return}this._callsnapChange(i),this.current_snap=i}this.animating=!1,this.__needsSnap=this.options.endless||this.end_loc>this._min_value&&this.end_loc<this._max_value,this.options.snapping&&this.__needsSnap&&(this.__extraMove=this._calculateExtraMove(this.end_loc)),this._startDecelaration()},n.bounce=function(n){this.animating||(this.stopped=!1,this.animating=!1,this.__speed=n,this.__startSpeed=n,this.end_loc=this._calculateEnd(),this._startDecelaration())},n.stop=function(){this.stopped=!0,this._internalStop()},n.cancel=function(){this.start_drag=!0,this.__isout?(this.__speed=.0004,this._startDecelaration()):this.options.snapping&&this.gotoSnap(this.getSnapNum(this.value),!0)},n.renderCallback=function(n,t){this.__renderHook={fun:n,ref:t}},n.snappingCallback=function(n,t){this.__snapHook={fun:n,ref:t}},n.snapCompleteCallback=function(n,t){this.__compHook={fun:n,ref:t}},n.getSnapNum=function(n){return Math.floor((n+this.options.snapsize/2)/this.options.snapsize)},n.nextSnap=function(){this._internalStop();var n=this.getSnapNum(this.value);!this.options.endless&&(n+1)*this.options.snapsize>this._max_value?(this.__speed=8,this.__needsSnap=!1,this._startDecelaration()):this.gotoSnap(n+1,!0)},n.prevSnap=function(){this._internalStop();var n=this.getSnapNum(this.value);!this.options.endless&&(n-1)*this.options.snapsize<this._min_value?(this.__speed=-8,this.__needsSnap=!1,this._startDecelaration()):this.gotoSnap(n-1,!0)},n.gotoSnap=function(n,t,i){this.changeTo(n*this.options.snapsize,t,i,n)},n.destroy=function(){this._internalStop(),this.__renderHook=null,this.__snapHook=null,this.__compHook=null},n._internalStop=function(){this.start_drag=!0,this.animating=!1,this._deceleration=!1,this.__extrStep=0},n._calculateExtraMove=function(n){var t=n%this.options.snapsize;return t<this.options.snapsize/2?-t:this.options.snapsize-t},n._calculateEnd=function(n){for(var t=this.__speed,i=this.value,r=0;Math.abs(t)>this.options.minValidDist;)i+=t,t*=this.options.friction,r++;return n?r:i},n._checkLimits=function(n){return this.options.endless?n:n<this._min_value?this._min_value:n>this._max_value?this._max_value:n},n._callrenderer=function(){this.__renderHook&&this.__renderHook.fun.call(this.__renderHook.ref,this,this.value)},n._callsnapChange=function(n){this.__snapHook&&n!==this.current_snap&&this.__snapHook.fun.call(this.__snapHook.ref,this,n,n-this.current_snap)},n._callonComplete=function(n){this.__compHook&&!this.stopped&&this.__compHook.fun.call(this.__compHook.ref,this,this.current_snap,n)},n._computeDeceleration=function(){var t,n;this.options.snapping&&this.__needsSnap?(t=(this.__startSpeed-this.__speed)/this.__startSpeed*this.__extraMove,this.value+=this.__speed+t-this.__extrStep,this.__extrStep=t):this.value+=this.__speed,this.__speed*=this.options.friction,this.options.endless||this.options.bouncing||(this.value<=this._min_value?(this.value=this._min_value,this.__speed=0):this.value>=this._max_value&&(this.value=this._max_value,this.__speed=0)),this._callrenderer(),!this.options.endless&&this.options.bouncing&&(n=0,this.value<this._min_value?n=this._min_value-this.value:this.value>this._max_value&&(n=this._max_value-this.value),this.__isout=Math.abs(n)>=this.options.minValidDist,this.__isout&&(this.__speed*n<=0?this.__speed+=n*this.options.outFriction:this.__speed=n*this.options.outAcceleration))},n._startDecelaration=function(){if(!this._deceleration){this._deceleration=!0;var n=this,t=function(){n._deceleration&&(n._computeDeceleration(),Math.abs(n.__speed)>n.options.minValidDist||n.__isout?window.requestAnimationFrame(t):(n._deceleration=!1,n.__isout=!1,n.value=this.__needsSnap&&n.options.snapping&&!n.options.paging?n._checkLimits(n.end_loc+n.__extraMove):Math.round(n.value),n._callrenderer(),n._callonComplete("decel")))};t()}},window.Controller=i}(),window.MSLSliderEvent=function(n){this.type=n},MSLSliderEvent.CHANGE_START="changeStart",MSLSliderEvent.CHANGE_END="changeEnd",MSLSliderEvent.WAITING="waiting",MSLSliderEvent.AUTOPLAY_CHANGE="autoplayChange",MSLSliderEvent.VIDEO_PLAY="videoPlay",MSLSliderEvent.VIDEO_CLOSE="videoClose",MSLSliderEvent.INIT="init",MSLSliderEvent.RESIZE="resize",MSLSliderEvent.RESERVED_SPACE_CHANGE="rsc",function(n){"use strict";window.MSLSlide=function(){this.$element=null,this.$loading=n("<div><\/div>").addClass("ms-slide-loading"),this.view=null,this.index=-1,this.__width=0,this.__height=0,this.preloadCount=0,this.fillMode="fill",this.selected=!1,this.pselected=!1,this.autoAppend=!0,this.isSleeping=!0,this.moz=n.browser.mozilla};var t=MSLSlide.prototype;t.onSwipeStart=function(){this.link&&(this.linkdis=!0),this.video&&(this.videodis=!0)},t.onSwipeCancel=function(){this.link&&(this.linkdis=!1),this.video&&(this.videodis=!1)},t.setBG=function(t){this.hasBG=!0;var i=this;this.$imgcont=n("<div><\/div>").addClass("ms-slide-bgcont"),this.$element.append(this.$loading).append(this.$imgcont),this.$bg_img=n(t).css("visibility","hidden"),this.$imgcont.append(this.$bg_img),this.bgAligner=new MSAligner(i.fillMode,i.$imgcont,i.$bg_img),this.bgAligner.widthOnly=this.slider.options.autoHeight,i.slider.options.autoHeight&&(i.pselected||i.selected)&&i.slider.setHeight(i.slider.options.height),this.$bg_img.data("src")!==undefined?(this.bg_src=this.$bg_img.data("src"),this.$bg_img.removeAttr("data-src")):this.$bg_img.one("load",function(n){i._onBGLoad(n)}).each(n.jqLoadFix),this.preloadCount++},t._onBGLoad=function(t){if(this.bgNatrualWidth=t.width,this.bgNatrualHeight=t.height,this.bgLoaded=!0,n.browser.msie)this.$bg_img.on("dragstart",function(n){n.preventDefault()});this.preloadCount--,this.preloadCount===0&&this.___onReady()},t.loadImages=function(){if(!this.ls&&(this.ls=!0,this.preloadCount===0&&this.___onReady(),this.bgvideo&&this.bgvideo.load(),this.hasBG&&this.bg_src)){var n=this;this.$bg_img.preloadImg(this.bg_src,function(t){n._onBGLoad(t)})}},t.___onReady=function(){this.ready=!0,this.slider.api._startTimer(),this.isSleeping||this.setup(),CTween.fadeOut(this.$loading,300,!0),(this.slider.options.preload===0||this.slider.options.preload==="all")&&this.index<this.view.slideList.length-1?this.view.slideList[this.index+1].loadImages():this.slider.options.preload==="all"&&this.index===this.view.slideList.length-1&&this.slider._removeLoading()},t.setSize=function(n,t){this.__width=n,this.slider.options.autoHeight&&(this.bgLoaded?(this.ratio=this.__width/this.bgWidth,t=Math.floor(this.ratio*this.bgHeight),this.$imgcont.height(t)):(this.ratio=n/this.slider.options.width,t=this.slider.options.height*this.ratio)),this.__height=t,this.$element.width(n).height(t),this.hasBG&&this.bgLoaded&&this.bgAligner.align()},t.getHeight=function(){return this.hasBG&&this.bgLoaded?this.bgHeight*this.ratio:Math.max(this.$element[0].clientHeight,this.slider.options.height*this.ratio)},t.__playVideo=function(){this.vplayed||this.videodis||(this.vplayed=!0,this.slider.api.paused||(this.slider.api.pause(),this.roc=!0),this.vcbtn.css("display",""),CTween.fadeOut(this.vpbtn,500,!1),CTween.fadeIn(this.vcbtn,500),CTween.fadeIn(this.vframe,500),this.vframe.css("display","block").attr("src",this.video+"&autoplay=1"),this.view.$element.addClass("ms-def-cursor"),this.view.swipeControl.disable(),this.slider.slideController.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.VIDEO_PLAY)))},t.__closeVideo=function(){if(this.vplayed){this.vplayed=!1,this.roc&&this.slider.api.resume();var n=this;CTween.fadeIn(this.vpbtn,500),CTween.animate(this.vcbtn,500,{opacity:0},{complete:function(){n.vcbtn.css("display","none")}}),CTween.animate(this.vframe,500,{opacity:0},{complete:function(){n.vframe.attr("src","about:blank").css("display","none")}}),this.view.swipeControl.enable(),this.view.$element.removeClass("ms-def-cursor"),this.slider.slideController.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.VIDEO_CLOSE))}},t.create=function(){var t=this;this.link&&this.$element.css("cursor","pointer").click(function(){t.linkdis||window.open(t.link,t.link_targ||"_self")}),this.video&&(this.video.indexOf("?")===-1&&(this.video+="?"),this.vframe=n("<iframe><\/iframe>").addClass("ms-slide-video").css({width:"100%",height:"100%",display:"none"}).attr("src","about:blank").appendTo(this.$element),this.vpbtn=n("<div><\/div>").addClass("ms-slide-vpbtn").click(function(){t.__playVideo()}).appendTo(this.$element),this.vcbtn=n("<div><\/div>").addClass("ms-slide-vcbtn").click(function(){t.__closeVideo()}).appendTo(this.$element).css("display","none"),window._touch&&this.vcbtn.removeClass("ms-slide-vcbtn").addClass("ms-slide-vcbtn-mobile").append('<div class="ms-vcbtn-txt">Close video<\/div>').appendTo(this.view.$element.parent())),!this.slider.options.autoHeight&&this.hasBG&&(this.$imgcont.css("height","100%"),(this.fillMode==="center"||this.fillMode==="stretch")&&(this.fillMode="fill")),this.slider.options.autoHeight&&this.$element.addClass("ms-slide-auto-height"),this.sleep(!0)},t.destroy=function(){this.$element.remove(),this.$element=null},t.setup=function(){!this.initBG&&this.bgLoaded&&(this.initBG=!0,this.$bg_img.css("visibility",""),this.bgWidth=this.bgNatrualWidth||this.$bg_img.width(),this.bgHeight=this.bgNatrualHeight||this.$bg_img.height(),CTween.fadeIn(this.$imgcont,300),this.slider.options.autoHeight&&this.$imgcont.height(this.bgHeight*this.ratio),this.bgAligner.init(this.bgWidth,this.bgHeight),this.setSize(this.__width,this.__height),this.slider.options.autoHeight&&(this.pselected||this.selected)&&this.slider.setHeight(this.getHeight()))},t.prepareToSelect=function(){this.pselected||this.selected||(this.pselected=!0,(this.link||this.video)&&(this.view.addEventListener(MSLViewEvents.SWIPE_START,this.onSwipeStart,this),this.view.addEventListener(MSLViewEvents.SWIPE_CANCEL,this.onSwipeCancel,this)),this.loadImages(),this.moz&&this.$element.css("margin-top",""))},t.select=function(){this.selected||(this.selected=!0,this.pselected=!1,this.$element.addClass("ms-sl-selected"))},t.unselect=function(){(this.pselected=!1,this.moz&&this.$element.css("margin-top","0.1px"),(this.link||this.video)&&(this.view.removeEventListener(MSLViewEvents.SWIPE_START,this.onSwipeStart,this),this.view.removeEventListener(MSLViewEvents.SWIPE_CANCEL,this.onSwipeCancel,this)),this.selected)&&(this.selected=!1,this.$element.removeClass("ms-sl-selected"),this.video&&this.vplayed&&(this.__closeVideo(),this.roc=!1))},t.sleep=function(n){(!this.isSleeping||n)&&(this.isSleeping=!0,this.autoAppend&&this.$element.detach())},t.wakeup=function(){this.isSleeping&&(this.isSleeping=!1,this.autoAppend&&this.view.$slideCont.append(this.$element),this.moz&&this.$element.css("margin-top","0.1px"),this.setup(),this.hasBG&&this.bgAligner.align())}}(jQuery),function(n){"use strict";var i={},t;window.MSLSlideController=function(n){this._delayProgress=0,this._timer=new averta.Timer(100),this._timer.onTimer=this.onTimer,this._timer.refrence=this,this.currentSlide=null,this.slider=n,this.so=n.options,averta.EventDispatcher.call(this)},MSLSlideController.registerView=function(n,t){if(n in i)throw new Error(n+", is already registered.");i[n]=t},MSLSlideController.SliderControlList={},MSLSlideController.registerControl=function(n,t){if(n in MSLSlideController.SliderControlList)throw new Error(n+", is already registered.");MSLSlideController.SliderControlList[n]=t},t=MSLSlideController.prototype,t.setupView=function(){var t=this,u,r;this.resize_listener=function(){t.__resize()},u={spacing:this.so.space,mouseSwipe:this.so.mouse,loop:this.so.loop,autoHeight:this.so.autoHeight,swipe:this.so.swipe,speed:this.so.speed,dir:this.so.dir,viewNum:this.so.inView,critMargin:this.so.critMargin},this.so.viewOptions&&n.extend(u,this.so.viewOptions),this.so.autoHeight&&(this.so.heightLimit=!1),r=i[this.slider.options.view]||MSLBasicView,r._3dreq&&(!window._css3d||n.browser.msie)&&(r=r._fallback||MSLBasicView),this.view=new r(u),this.so.overPause&&(t=this,this.slider.$element.mouseenter(function(){t.is_over=!0,t._stopTimer()}).mouseleave(function(){t.is_over=!1,t._startTimer()}))},t.onChangeStart=function(){this.change_started=!0,this.currentSlide&&this.currentSlide.unselect(),this.currentSlide=this.view.currentSlide,this.currentSlide.prepareToSelect(),this.so.endPause&&this.currentSlide.index===this.slider.slides.length-1&&(this.pause(),this.skipTimer()),this.so.autoHeight&&this.slider.setHeight(this.currentSlide.getHeight()),this.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.CHANGE_START))},t.onChangeEnd=function(){if(this.change_started=!1,this._startTimer(),this.currentSlide.select(),this.so.preload>1){for(var n,i=this.so.preload-1,t=1;t<=i;++t){if(n=this.view.index+t,n>=this.view.slideList.length)if(this.so.loop)n=n-this.view.slideList.length;else{t=i;continue}this.view.slideList[n].loadImages()}for(i>this.view.slideList.length/2&&(i=Math.floor(this.view.slideList.length/2)),t=1;t<=i;++t){if(n=this.view.index-t,n<0)if(this.so.loop)n=this.view.slideList.length+n;else{t=i;continue}this.view.slideList[n].loadImages()}}this.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.CHANGE_END))},t.onSwipeStart=function(){this.skipTimer()},t.skipTimer=function(){this._timer.reset(),this._delayProgress=0,this.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.WAITING))},t.onTimer=function(){this._timer.getTime()>=this.view.currentSlide.delay*1e3&&(this.skipTimer(),this.view.next(),this.hideCalled=!1),this._delayProgress=this._timer.getTime()/(this.view.currentSlide.delay*10),this.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.WAITING))},t._stopTimer=function(){this._timer&&this._timer.stop()},t._startTimer=function(){this.paused||this.is_over||!this.currentSlide||!this.currentSlide.ready||this.change_started||this._timer.start()},t.__appendSlides=function(){var t,i,n=0,r=this.view.slideList.length-1;for(n;n<r;++n)t=this.view.slideList[n],t.detached||(t.$element.detach(),t.detached=!0);for(this.view.appendSlide(this.view.slideList[this.view.index]),r=3,n=1;n<=r;++n){if(i=this.view.index+n,i>=this.view.slideList.length)if(this.so.loop)i=i-this.view.slideList.length;else{n=r;continue}t=this.view.slideList[i],t.detached=!1,this.view.appendSlide(t)}for(r>this.view.slideList.length/2&&(r=Math.floor(this.view.slideList.length/2)),n=1;n<=r;++n){if(i=this.view.index-n,i<0)if(this.so.loop)i=this.view.slideList.length+i;else{n=r;continue}t=this.view.slideList[i],t.detached=!1,this.view.appendSlide(t)}},t.__resize=function(n){this.created&&(this.width=this.slider.$element[0].clientWidth||this.so.width,this.so.fullwidth||(this.width=Math.min(this.width,this.so.width)),this.height=this.width/this.slider.aspect,this.so.autoHeight?(this.currentSlide.setSize(this.width,null,n),this.view.setSize(this.width,this.currentSlide.getHeight(),n)):this.view.setSize(this.width,this.so.heightLimit?Math.min(this.height,this.so.height):this.height,n),this.slider.$controlsCont&&this.so.centerControls&&this.so.fullwidth&&this.view.$element.css("left",Math.min(0,-(this.slider.$element[0].clientWidth-this.so.width)/2)+"px"),this.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.RESIZE)))},t.__dispatchInit=function(){this.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.INIT))},t.setup=function(){if(this.created=!0,this.paused=!this.so.autoplay,this.view.addEventListener(MSLViewEvents.CHANGE_START,this.onChangeStart,this),this.view.addEventListener(MSLViewEvents.CHANGE_END,this.onChangeEnd,this),this.view.addEventListener(MSLViewEvents.SWIPE_START,this.onSwipeStart,this),this.currentSlide=this.view.slideList[this.so.start-1],this.__resize(),this.view.create(this.so.start-1),this.so.preload===0&&this.view.slideList[0].loadImages(),this.scroller=this.view.controller,this.so.wheel){var t=this,i=(new Date).getTime();this.wheellistener=function(n){var f=(new Date).getTime(),r,u;if(!(f-i<350))return i=f,r=window.event||n.orginalEvent||n,u=Math.max(-1,Math.min(1,r.wheelDelta||-r.detail)),u<0?t.next():u>0&&t.previous(),!1},n.browser.mozilla?this.slider.$element[0].addEventListener("DOMMouseScroll",this.wheellistener):this.slider.$element.bind("mousewheel",this.wheellistener)}this.slider.$element[0].clientWidth===0&&(this.slider.init_safemode=!0),this.__resize()},t.index=function(){return this.view.index},t.count=function(){return this.view.slidesCount},t.next=function(){this.skipTimer(),this.view.next()},t.previous=function(){this.skipTimer(),this.view.previous()},t.gotoSlide=function(n){n=Math.min(n,this.count()-1),this.skipTimer(),this.view.gotoSlide(n)},t.destroy=function(n){this.slider.destroy(n)},t._destroy=function(){this._timer.reset(),this._timer=null,n(window).unbind("resize",this.resize_listener),this.view.destroy(),this.view=null,this.so.wheel&&(n.browser.mozilla?this.slider.$element[0].removeEventListener("DOMMouseScroll",this.wheellistener):this.slider.$element.unbind("mousewheel",this.wheellistener),this.wheellistener=null),this.so=null},t.runAction=function(n){var t=[],i;n.indexOf("(")!==-1&&(i=n.slice(0,n.indexOf("(")),t=n.slice(n.indexOf("(")+1,-1).replace(/\"|\'|\s/g,"").split(","),n=i),n in this?this[n].apply(this,t):console&&console.log('Master Slider Error: Action "'+n+'" not found.')},t.update=function(n){this.slider.init_safemode&&n&&(this.slider.init_safemode=!1),this.__resize(n)},t.locate=function(){this.__resize()},t.resume=function(){this.paused&&(this.paused=!1,this._startTimer())},t.pause=function(){this.paused||(this.paused=!0,this._stopTimer())},t.currentTime=function(){return this._delayProgress},averta.EventDispatcher.extend(t)}(jQuery),function(n){"use strict";window.MasterSliderLite=function(){this.options={autoplay:!1,loop:!1,mouse:!0,swipe:!0,grabCursor:!0,space:0,fillMode:"fill",start:1,view:"basic",width:300,height:150,inView:15,critMargin:1,heightLimit:!0,smoothHeight:!0,autoHeight:!1,fullwidth:!1,fullheight:!1,autofill:!1,endPause:!1,centerControls:!0,overPause:!0,shuffle:!1,speed:17,dir:"h",preload:0,wheel:!1,layout:"boxed"},this.slides=[],this.$element=null,this.lastMargin=0,this.leftSpace=0,this.topSpace=0,this.rightSpace=0,this.bottomSpace=0;var t=this;this.resize_listener=function(){t._resize()},n(window).bind("resize",this.resize_listener)},MasterSliderLite.author="Averta Ltd. (www.averta.net)",MasterSliderLite.version="1.0.0",MasterSliderLite.releaseDate="July 2014";var t=MasterSliderLite.prototype;t.__setupSlides=function(){var i=this,t,r=0;this.$element.children(".ms-slide").each(function(){var u=n(this),e,f,o,s;if(t=new MSLSlide,t.$element=u,t.slider=i,t.delay=u.data("delay")!==undefined?u.data("delay"):3,t.fillMode=u.data("fill-mode")!==undefined?u.data("fill-mode"):i.options.fillMode,t.index=r++,e=u.children("img:not(.ms-layer)"),e.length>0&&t.setBG(e[0]),i.controls)for(f=0,o=i.controls.length;f<o;++f)i.controls[f].slideAction(t);s=u.children("a").each(function(){var i=n(this);this.getAttribute("data-type")==="video"?(t.video=this.getAttribute("href"),i.remove()):i.hasClass("ms-layer")||(t.link=this.getAttribute("href"),t.link_targ=this.getAttribute("target"),i.remove())}),i.slides.push(t),i.slideController.view.addSlide(t)})},t._removeLoading=function(){n(window).unbind("resize",this.resize_listener),this.$element=n("#"+this.id).removeClass("before-init").css("visibility","visible").css("height","").css("opacity",0),CTween.fadeIn(this.$element),this.$loading.remove(),this.slideController&&this.slideController.__resize()},t._resize=function(){if(this.$loading){var n=this.$loading[0].clientWidth/this.aspect;n=this.options.heightLimit?Math.min(n,this.options.height):n,this.$loading.height(n),this.$element.height(n)}},t._shuffleSlides=function(){for(var t=this.$element.children(".ms-slide"),i,n=0,r=t.length;n<r;++n)i=Math.floor(Math.random()*(r-1)),n!=i&&(this.$element[0].insertBefore(t[n],t[i]),t=this.$element.children(".ms-slide"))},t._setupSliderLayout=function(){this._updateSideMargins(),this.lastMargin=this.leftSpace;var t=this.options.layout;t!=="boxed"&&(this.options.fullwidth=!0),t==="fullwidth"&&(n(window).bind("resize",{that:this},this._updateLayout),this._updateLayout()),n(window).bind("resize",this.slideController.resize_listener)},t._updateLayout=function(t){var i=t?t.data.that:this,f=i.options.layout,r=i.$element,u;r.width(n("body").innerWidth()-i.leftSpace-i.rightSpace),u=-r.offset().left+i.leftSpace+i.lastMargin,r.css("margin-left",u),i.lastMargin=u},t._init=function(){var t,r,i;if(!this.preventInit){if(this.initialized=!0,this.options.preload!=="all"&&this._removeLoading(),this.options.shuffle&&this._shuffleSlides(),this.slideController.setupView(),this.view=this.slideController.view,this.$controlsCont=n("<div><\/div>").addClass("ms-inner-controls-cont"),this.options.centerControls&&this.$controlsCont.css("max-width",this.options.width+"px"),this.$controlsCont.prepend(this.view.$element),this.$msContainer=n("<div><\/div>").addClass("ms-container").prependTo(this.$element).append(this.$controlsCont),this.controls)for(t=0,r=this.controls.length;t<r;++t)this.controls[t].setup();if(this._setupSliderLayout(),this.__setupSlides(),this.slideController.setup(),this.controls)for(t=0,r=this.controls.length;t<r;++t)this.controls[t].create();this.options.autoHeight&&this.slideController.view.$element.height(this.slideController.currentSlide.getHeight()),this.options.swipe&&!window._touch&&this.options.grabCursor&&this.options.mouse&&(i=this.view.$element,i.mousedown(function(){i.removeClass("ms-grab-cursor"),i.addClass("ms-grabbing-cursor")}).addClass("ms-grab-cursor"),n(document).mouseup(function(){i.removeClass("ms-grabbing-cursor"),i.addClass("ms-grab-cursor")})),this.slideController.__dispatchInit()}},t.setHeight=function(n){this.options.smoothHeight?(this.htween&&(this.htween.reset?this.htween.reset():this.htween.stop(!0)),this.htween=CTween.animate(this.slideController.view.$element,500,{height:n},{ease:"easeOutQuart"})):this.slideController.view.$element.height(n)},t.reserveSpace=function(n,t){var i=n+"Space",r=this[i];return this[i]+=t,this._updateSideMargins(),r},t._updateSideMargins=function(){this.$element.css("margin",this.topSpace+"px "+this.rightSpace+"px "+this.bottomSpace+"px "+this.leftSpace+"px")},t._realignControls=function(){this.rightSpace=this.leftSpace=this.topSpace=this.bottomSpace=0,this._updateSideMargins(),this.api.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.RESERVED_SPACE_CHANGE))},t.control=function(n,t){if(n in MSLSlideController.SliderControlList){this.controls||(this.controls=[]);var i=new MSLSlideController.SliderControlList[n](t);return i.slider=this,this.controls.push(i),this}},t.setup=function(t,i){var r,u,f;if(this.id=t,this.$element=typeof t=="string"?n("#"+t):t.eq(0),this.setupMarkup=this.$element.html(),this.$element.length!==0)return this.$element.addClass("master-slider").addClass("before-init"),n.browser.msie&&this.$element.addClass("ms-ie").addClass("ms-ie"+n.browser.version.slice(0,n.browser.version.indexOf("."))),r=navigator.userAgent.toLowerCase(),u=r.indexOf("android")>-1,u&&this.$element.addClass("ms-android"),f=this,n.extend(this.options,i),this.aspect=this.options.width/this.options.height,this.$loading=n("<div><\/div>").addClass("ms-loading-container").insertBefore(this.$element).append(n("<div><\/div>").addClass("ms-loading")),this.$loading.parent().css("position","relative"),this.options.autofill&&(this.options.fullwidth=!0,this.options.fullheight=!0),this.options.fullheight&&this.$element.addClass("ms-fullheight"),this._resize(),this.slideController=new MSLSlideController(this),this.api=this.slideController,n(document).ready(function(){f._init()}),this},t.destroy=function(t){var i,r,u;if(this.controls)for(i=0,r=this.controls.length;i!==r;i++)this.controls[i].destroy();this.slideController&&this.slideController._destroy(),this.$loading&&this.$loading.remove(),t?this.$element.html(this.setupMarkup).css("visibility","hidden"):this.$element.remove(),u=this.options.layout,u==="fullwidth"&&n(window).unbind("resize",this._updateLayout),this.view=null,this.slides=null,this.options=null,this.slideController=null,this.api=null,this.resize_listener=null}}(jQuery),window.MSLViewEvents=function(n){this.type=n},MSLViewEvents.SWIPE_START="swipeStart",MSLViewEvents.SWIPE_END="swipeEnd",MSLViewEvents.SWIPE_MOVE="swipeMove",MSLViewEvents.SWIPE_CANCEL="swipeCancel",MSLViewEvents.SCROLL="scoll",MSLViewEvents.CHANGE_START="slideChangeStart",MSLViewEvents.CHANGE_END="slideChangeEnd",function(n){"use strict";window.MSLBasicView=function(t){this.options={loop:!1,dir:"h",autoHeight:!1,spacing:5,mouseSwipe:!0,swipe:!0,speed:17,minSlideSpeed:2,viewNum:20,critMargin:1},n.extend(this.options,t),this.dir=this.options.dir,this.loop=this.options.loop,this.spacing=this.options.spacing,this.__width=0,this.__height=0,this.__cssProb=this.dir==="h"?"left":"top",this.__offset=this.dir==="h"?"offsetLeft":"offsetTop",this.__dimension=this.dir==="h"?"__width":"__height",this.__translate_end=window._css3d?" translateZ(0px)":"",this.$slideCont=n("<div><\/div>").addClass("ms-slide-container"),this.$element=n("<div><\/div>").addClass("ms-view").addClass("ms-basic-view").append(this.$slideCont),this.currentSlide=null,this.index=-1,this.slidesCount=0,this.slides=[],this.slideList=[],this.viewSlidesList=[],this.css3=window._cssanim,this.start_buffer=0,this.firstslide_snap=0,this.controller=new Controller(0,0,{snapping:!0,snapsize:100,paging:!0,snappingMinSpeed:this.options.minSlideSpeed,friction:(100-this.options.speed*.5)/100,endless:this.loop}),this.controller.renderCallback(this.dir==="h"?this._horizUpdate:this._vertiUpdate,this),this.controller.snappingCallback(this.__snapUpdate,this),this.controller.snapCompleteCallback(this.__snapCompelet,this),averta.EventDispatcher.call(this)};var t=MSLBasicView.prototype;t.__snapCompelet=function(){this.__locateSlides(),this.start_buffer=0,this.dispatchEvent(new MSLViewEvents(MSLViewEvents.CHANGE_END))},t.__snapUpdate=function(t,i,r){var u,f;if(this.loop)u=this.index+r,this.updateLoop(u),u>=this.slidesCount&&(u=u-this.slidesCount),u<0&&(u=this.slidesCount+u),this.index=u;else{if(i<0||i>=this.slidesCount)return;this.index=i}(this._checkCritMargins(),n.browser.mozilla&&(this.slideList[this.index].$element[0].style.marginTop="0.1px",this.currentSlide&&(this.currentSlide.$element[0].style.marginTop="")),f=this.slideList[this.index],f!==this.currentSlide)&&(this.currentSlide=f,this.__updateSlidesZindex(),this.dispatchEvent(new MSLViewEvents(MSLViewEvents.CHANGE_START)))},t._checkCritMargins=function(){if(!this.normalMode){var r=Math.floor(this.options.viewNum/2),t=this.viewSlidesList.indexOf(this.slideList[this.index]),i=this[this.__dimension]+this.spacing,n=this.options.critMargin;if(this.loop){(t<=n||t>=this.viewSlidesList.length-n)&&(i*=t-r,this.__locateSlides(!1,i+this.start_buffer),this.start_buffer+=i);return}(t<n&&this.index>=n||t>=this.viewSlidesList.length-n&&this.index<this.slidesCount-n)&&this.__locateSlides(!1)}},t._vertiUpdate=function(n,t){if(this.__contPos=t,this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SCROLL)),this.css3){this.$slideCont[0].style[window._jcsspfx+"Transform"]="translateY("+-t+"px)"+this.__translate_end;return}this.$slideCont[0].style.top=-t+"px"},t._horizUpdate=function(n,t){if(this.__contPos=t,this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SCROLL)),this.css3){this.$slideCont[0].style[window._jcsspfx+"Transform"]="translateX("+-t+"px)"+this.__translate_end;return}this.$slideCont[0].style.left=-t+"px"},t.__updateViewList=function(){var t,n,i,r;if(this.normalMode){this.viewSlidesList=this.slides;return}if(t=this.viewSlidesList.slice(),this.viewSlidesList=[],n=0,i=Math.floor(this.options.viewNum/2),this.loop)for(;n!==this.options.viewNum;n++)this.viewSlidesList.push(this.slides[this.currentSlideLoc-i+n]);else{for(n=0;n!==i&&this.index-n!=-1;n++)this.viewSlidesList.unshift(this.slideList[this.index-n]);for(n=1;n!==i&&this.index+n!==this.slidesCount;n++)this.viewSlidesList.push(this.slideList[this.index+n])}for(n=0,r=t.length;n!==r;n++)this.viewSlidesList.indexOf(t[n])===-1&&t[n].sleep();t=null,this.currentSlide&&this.__updateSlidesZindex()},t.__locateSlides=function(n,t){var f,r,i,u;for(this.__updateViewList(),t=this.loop?t||0:this.slides.indexOf(this.viewSlidesList[0])*(this[this.__dimension]+this.spacing),f=this.viewSlidesList.length,i=0;i!==f;i++)u=t+i*(this[this.__dimension]+this.spacing),r=this.viewSlidesList[i],r.wakeup(),r.position=u,r.$element[0].style[this.__cssProb]=u+"px";n!==!1&&this.controller.changeTo(this.slideList[this.index].position,!1,null,null,!1)},t.__createLoopList=function(){var t=[],n=0,i=this.slidesCount/2,r=this.slidesCount%2==0?i-1:Math.floor(i),u=this.slidesCount%2==0?i:Math.floor(i);for(this.currentSlideLoc=r,n=1;n<=r;++n)t.unshift(this.slideList[this.index-n<0?this.slidesCount-n+this.index:this.index-n]);for(t.push(this.slideList[this.index]),n=1;n<=u;++n)t.push(this.slideList[this.index+n>=this.slidesCount?this.index+n-this.slidesCount:this.index+n]);return t},t.__getSteps=function(n,t){var i=t<n?this.slidesCount-n+t:t-n,r=Math.abs(this.slidesCount-i);return i<r?i:-r},t.__pushEnd=function(){var n=this.slides.shift(),i=this.slides[this.slidesCount-2],t;(this.slides.push(n),this.normalMode)&&(t=i.$element[0][this.__offset]+this.spacing+this[this.__dimension],n.$element[0].style[this.__cssProb]=t+"px",n.position=t)},t.__pushStart=function(){var n=this.slides.pop(),i=this.slides[0],t;(this.slides.unshift(n),this.normalMode)&&(t=i.$element[0][this.__offset]-this.spacing-this[this.__dimension],n.$element[0].style[this.__cssProb]=t+"px",n.position=t)},t.__updateSlidesZindex=function(){var u,t,f,r,n;if(this.autoUpdateZIndex)if(t=this.viewSlidesList.length,f=Math.floor(t/2),this.loop)for(r=this.viewSlidesList.indexOf(this.currentSlide),n=0;n!==t;n++)u=this.viewSlidesList[n],this.viewSlidesList[n].$element.css("z-index",n<=r?n+1:t-n);else{var i=this.currentSlide.index-this.viewSlidesList[0].index,e=t-i,o=i-e;for(n=0;n!==t;n++)this.viewSlidesList[n].$element.css("z-index",n<=i?n+1:t-n);this.currentSlide.$element.css("z-index",t)}},t.addSlide=function(n){n.view=this,this.slides.push(n),this.slideList.push(n),this.slidesCount++},t.appendSlide=function(n){this.$slideCont.append(n.$element)},t.updateLoop=function(n){var t,i,r;if(this.loop)for(t=this.__getSteps(this.index,n),i=0,r=Math.abs(t);i<r;++i)t<0?this.__pushStart():this.__pushEnd()},t.gotoSlide=function(n,t){this.updateLoop(n),this.index=n;var i=this.slideList[this.index];(this._checkCritMargins(),this.controller.changeTo(i.position,!t,null,null,!1),i!==this.currentSlide)&&(this.currentSlide=i,this.__updateSlidesZindex(),this.dispatchEvent(new MSLViewEvents(MSLViewEvents.CHANGE_START)),t&&this.dispatchEvent(new MSLViewEvents(MSLViewEvents.CHANGE_END)))},t.next=function(){this.gotoSlide(this.index+1>=this.slidesCount?0:this.index+1)},t.previous=function(){this.gotoSlide(this.index-1<0?this.slidesCount-1:this.index-1)},t.setupSwipe=function(){this.swipeControl=new averta.TouchSwipe(this.$element),this.swipeControl.swipeType=this.dir==="h"?"horizontal":"vertical";var n=this;this.swipeControl.onSwipe=this.dir==="h"?function(t){n.horizSwipeMove(t)}:function(t){n.vertSwipeMove(t)}},t.vertSwipeMove=function(n){var t=n.phase,i;t==="start"?(this.controller.stop(),this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SWIPE_START))):t==="move"&&(!this.loop||Math.abs(this.currentSlide.position-this.controller.value+n.moveY)<this.cont_size/2)?this.controller.drag(n.moveY):(t==="end"||t==="cancel")&&(i=n.distanceY/n.duration*50/3,Math.abs(i)>.1?(this.controller.push(-i),i>this.controller.options.snappingMinSpeed&&this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SWIPE_END))):(this.controller.cancel(),this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SWIPE_CANCEL))))},t.horizSwipeMove=function(n){var t=n.phase,i;t==="start"?(this.controller.stop(),this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SWIPE_START))):t==="move"&&(!this.loop||Math.abs(this.currentSlide.position-this.controller.value+n.moveX)<this.cont_size/2)?this.controller.drag(n.moveX):(t==="end"||t==="cancel")&&(i=n.distanceX/n.duration*50/3,Math.abs(i)>.1?(this.controller.push(-i),i>this.controller.options.snappingMinSpeed&&this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SWIPE_END))):(this.controller.cancel(),this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SWIPE_CANCEL))))},t.setSize=function(n,t,i){if(this.lastWidth!==n||t!==this.lastHeight||i){this.$element.width(n).height(t);for(var r=0;r<this.slidesCount;++r)this.slides[r].setSize(n,t,i);this.__width=n,this.__height=t,this.__created&&(this.__locateSlides(),this.cont_size=(this.slidesCount-1)*(this[this.__dimension]+this.spacing),this.loop||(this.controller._max_value=this.cont_size),this.controller.options.snapsize=this[this.__dimension]+this.spacing,this.controller.changeTo(this.currentSlide.position,!1,null,null,!1),this.controller.cancel(),this.lastWidth=n,this.lastHeight=t)}},t.create=function(n){this.__created=!0,this.index=Math.min(n||0,this.slidesCount-1),this.loop&&(this.slides=this.__createLoopList()),this.normalMode=this.slidesCount<=this.options.viewNum;for(var t=0;t<this.slidesCount;++t)this.slides[t].create();this.__locateSlides(),this.controller.options.snapsize=this[this.__dimension]+this.spacing,this.loop||(this.controller._max_value=(this.slidesCount-1)*(this[this.__dimension]+this.spacing)),this.gotoSlide(this.index,!0),this.options.swipe&&(window._touch||this.options.mouseSwipe)&&this.setupSwipe()},t.destroy=function(){if(this.__created){for(var n=0;n<this.slidesCount;++n)this.slides[n].destroy();this.slides=null,this.slideList=null,this.$element.remove(),this.controller.destroy(),this.controller=null}},averta.EventDispatcher.extend(t),MSLSlideController.registerView("basic",MSLBasicView)}(jQuery),function(){"use strict";window.MSLFadeView=function(n){MSLBasicView.call(this,n),this.$element.removeClass("ms-basic-view").addClass("ms-fade-view"),this.controller.renderCallback(this.__update,this)},MSLFadeView.extend(MSLBasicView);var n=MSLFadeView.prototype,t=MSLBasicView.prototype;n.__update=function(n,t){for(var f=-t,r,u,i=0;i<this.slidesCount;++i)r=this.slideList[i],u=-f-r.position,this.__updateSlides(r,u)},n.__updateSlides=function(n,t){var i=Math.abs(t/this[this.__dimension]);1-i<=0?n.$element.fadeTo(0,0).css("visibility","hidden"):n.$element.fadeTo(0,1-i).css("visibility","")},n.__locateSlides=function(n,t){var u,r,i,f;for(this.__updateViewList(),t=this.loop?t||0:this.slides.indexOf(this.viewSlidesList[0])*(this[this.__dimension]+this.spacing),u=this.viewSlidesList.length,i=0;i!==u;i++)f=t+i*this[this.__dimension],r=this.viewSlidesList[i],r.wakeup(),r.position=f;n!==!1&&this.controller.changeTo(this.slideList[this.index].position,!1,null,null,!1)},n.__pushEnd=function(){var n=this.slides.shift(),t=this.slides[this.slidesCount-2];this.slides.push(n),n.position=t.position+this[this.__dimension]},n.__pushStart=function(){var n=this.slides.pop(),t=this.slides[0];this.slides.unshift(n),n.position=t.position-this[this.__dimension]},n.create=function(n){t.create.call(this,n),this.spacing=0,this.controller.options.minValidDist=10},MSLSlideController.registerView("fade",MSLFadeView)}(jQuery),function(n){"use strict";var i=function(){this.options={prefix:"ms-",autohide:!0,overVideo:!0}},t=i.prototype;t.slideAction=function(){},t.setup=function(){this.cont=this.options.insertTo?n(this.options.insertTo):this.slider.$controlsCont,this.options.overVideo||this._hideOnvideoStarts(),this.options.hideUnder&&(n(window).bind("resize",{that:this},this.onResize),this.onResize(),this.needsRealign=!this.options.insetTo&&(this.options.align==="left"||this.options.align==="right")&&this.options.inset===!1)},t.onResize=function(n){var t=n&&n.data.that||this,i=window.innerWidth;i<=t.options.hideUnder&&!t.detached?(t.hide(!0),t.detached=!0,t.onDetach()):i>=t.options.hideUnder&&t.detached&&(t.detached=!1,t.visible(),t.onAppend())},t.create=function(){var t=this;this.options.autohide&&!window._touch&&(this.hide(!0),this.slider.$controlsCont.mouseenter(function(){t._disableAH||t.mdown||t.visible(),t.mleave=!1}).mouseleave(function(){t.mleave=!0,t.mdown||t.hide()}).mousedown(function(){t.mdown=!0}),n(document).mouseup(function(){t.mdown&&t.mleave&&t.hide(),t.mdown=!1}))},t.onAppend=function(){this.needsRealign&&this.slider._realignControls()},t.onDetach=function(){this.needsRealign&&this.slider._realignControls()},t._hideOnvideoStarts=function(){var n=this;slider.api.addEventListener(MSLSliderEvent.VIDEO_PLAY,function(){n._disableAH=!0,n.hide()}),slider.api.addEventListener(MSLSliderEvent.VIDEO_CLOSE,function(){n._disableAH=!1,n.visible()})},t.hide=function(n){n?(this.$element.css("opacity",0),this.$element.css("display","none")):CTween.fadeOut(this.$element,400,!1),this.$element.addClass("ms-ctrl-hide")},t.visible=function(){this.detached||(this.$element.css("display",""),CTween.fadeIn(this.$element,400),this.$element.removeClass("ms-ctrl-hide"))},t.destroy=function(){this.options&&this.options.hideUnder&&n(window).unbind("resize",this.onResize)},window.BaseControl=i}(jQuery),function(n){"use strict";var i=function(t){BaseControl.call(this),n.extend(this.options,t)},t,r;i.extend(BaseControl),t=i.prototype,r=BaseControl.prototype,t.setup=function(){var t=this;this.$next=n("<div><\/div>").addClass(this.options.prefix+"nav-next").bind("click",function(){t.slider.options.loop||t.slider.api.index()!==t.slider.api.count()-1?t.slider.api.next():t.slider.view.controller.bounce(10)}),this.$prev=n("<div><\/div>").addClass(this.options.prefix+"nav-prev").bind("click",function(){t.slider.options.loop||t.slider.api.index()!==0?t.slider.api.previous():t.slider.view.controller.bounce(-10)}),r.setup.call(this),this.cont.append(this.$next),this.cont.append(this.$prev)},t.hide=function(n){if(n){this.$prev.css("opacity",0).css("display","none"),this.$next.css("opacity",0).css("display","none");return}CTween.fadeOut(this.$prev,400,!1),CTween.fadeOut(this.$next,400,!1),this.$prev.addClass("ms-ctrl-hide"),this.$next.addClass("ms-ctrl-hide")},t.visible=function(){this.detached||(CTween.fadeIn(this.$prev,400),CTween.fadeIn(this.$next,400),this.$prev.removeClass("ms-ctrl-hide").css("display",""),this.$next.removeClass("ms-ctrl-hide").css("display",""))},t.destroy=function(){r.destroy(),this.$next.remove(),this.$prev.remove()},window.MSLArrows=i,MSLSlideController.registerControl("arrows",i)}(jQuery),function(n){"use strict";var i=function(t){BaseControl.call(this),this.options.dir="h",this.options.wheel=t.dir==="v",this.options.arrows=!0,this.options.speed=17,this.options.align=null,this.options.inset=!1,this.options.margin=10,this.options.space=10,this.options.width=100,this.options.height=100,this.options.type="thumbs",n.extend(this.options,t),this.thumbs=[],this.index_count=0,this.__dimen=this.options.dir==="h"?"width":"height",this.__alignsize=this.options.dir==="h"?"height":"width",this.__jdimen=this.options.dir==="h"?"outerWidth":"outerHeight",this.__pos=this.options.dir==="h"?"left":"top",this.click_enable=!0},t,r;i.extend(BaseControl),t=i.prototype,r=BaseControl.prototype,t.setup=function(){var i,t;this.$element=n("<div><\/div>").addClass(this.options.prefix+"thumb-list"),this.options.type==="tabs"&&this.$element.addClass(this.options.prefix+"tabs"),this.$element.addClass("ms-dir-"+this.options.dir),r.setup.call(this),this.slider.$controlsCont===this.cont?this.$element.appendTo(this.slider.$element):this.$element.appendTo(this.cont),this.$thumbscont=n("<div><\/div>").addClass("ms-thumbs-cont").appendTo(this.$element),this.options.arrows&&(i=this,this.$fwd=n("<div><\/div>").addClass("ms-thumblist-fwd").appendTo(this.$element).click(function(){i.controller.push(-15)}),this.$bwd=n("<div><\/div>").addClass("ms-thumblist-bwd").appendTo(this.$element).click(function(){i.controller.push(15)})),!this.options.insetTo&&this.options.align&&(t=this.options.align,this.options.inset?this.$element.css(t,this.options.margin):t==="top"?this.$element.detach().prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):t==="bottom"?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align()),this.options.dir==="v"?this.$element.width(this.options.width):this.$element.height(this.options.height))},t.align=function(){if(!this.detached){var n=this.options.align,t=this.slider.reserveSpace(n,this.options[this.__alignsize]+this.options.margin*2);this.$element.css(n,-t-this.options[this.__alignsize]-this.options.margin)}},t.slideAction=function(t){var i=n(t.$element.find(".ms-thumb")),f=this,r=n("<div><\/div>").addClass("ms-thumb-frame").append(i).append(n('<div class="ms-thumb-ol"><\/div>')).bind("click",function(){f.changeSlide(r)}),u;if(this.options.align&&r.width(this.options.width).height(this.options.height).css("margin-"+(this.options.dir==="v"?"bottom":"right"),this.options.space),r[0].index=this.index_count++,this.$thumbscont.append(r),this.options.fillMode&&i.is("img")&&(u=new window.MSAligner(this.options.fillMode,r,i),i[0].aligner=u,i.one("load",function(){var t=n(this);t[0].aligner.init(t.width(),t.height()),t[0].aligner.align()}).each(n.jqLoadFix)),n.browser.msie)i.on("dragstart",function(n){n.preventDefault()});this.thumbs.push(r)},t.create=function(){var t;r.create.call(this),this.__translate_end=window._css3d?" translateZ(0px)":"",this.controller=new Controller(0,0,{snappingMinSpeed:2,friction:(100-this.options.speed*.5)/100}),this.controller.renderCallback(this.options.dir==="h"?this._hMove:this._vMove,this),t=this,this.resize_listener=function(){t.__resize()},n(window).bind("resize",this.resize_listener),this.thumbSize=this.thumbs[0][this.__jdimen](!0),this.setupSwipe(),this.__resize(),t=this,this.options.wheel&&(this.wheellistener=function(n){var i=window.event||n.orginalEvent||n,r=Math.max(-1,Math.min(1,i.wheelDelta||-i.detail));return t.controller.push(-r*10),!1},n.browser.mozilla?this.$element[0].addEventListener("DOMMouseScroll",this.wheellistener):this.$element.bind("mousewheel",this.wheellistener)),this.slider.api.addEventListener(MSLSliderEvent.CHANGE_START,this.update,this),this.cindex=this.slider.api.index(),this.select(this.thumbs[this.cindex])},t._hMove=function(n,t){if(this.__contPos=t,window._cssanim){this.$thumbscont[0].style[window._jcsspfx+"Transform"]="translateX("+-t+"px)"+this.__translate_end;return}this.$thumbscont[0].style.left=-t+"px"},t._vMove=function(n,t){if(this.__contPos=t,window._cssanim){this.$thumbscont[0].style[window._jcsspfx+"Transform"]="translateY("+-t+"px)"+this.__translate_end;return}this.$thumbscont[0].style.top=-t+"px"},t.setupSwipe=function(){this.swipeControl=new averta.TouchSwipe(this.$element),this.swipeControl.swipeType=this.options.dir==="h"?"horizontal":"vertical";var n=this;this.swipeControl.onSwipe=this.options.dir==="h"?function(t){n.horizSwipeMove(t)}:function(t){n.vertSwipeMove(t)}},t.vertSwipeMove=function(n){var t,i;this.dTouch||(t=n.phase,t==="start"?this.controller.stop():t==="move"?this.controller.drag(n.moveY):(t==="end"||t==="cancel")&&(i=Math.abs(n.distanceY/n.duration*50/3),i>.1?this.controller.push(-n.distanceY/n.duration*50/3):(this.click_enable=!0,this.controller.cancel())))},t.horizSwipeMove=function(n){var t,i;this.dTouch||(t=n.phase,t==="start"?(this.controller.stop(),this.click_enable=!1):t==="move"?this.controller.drag(n.moveX):(t==="end"||t==="cancel")&&(i=Math.abs(n.distanceX/n.duration*50/3),i>.1?this.controller.push(-n.distanceX/n.duration*50/3):(this.click_enable=!0,this.controller.cancel())))},t.update=function(){var n=this.slider.api.index();this.cindex!==n&&(this.cindex!=null&&this.unselect(this.thumbs[this.cindex]),this.cindex=n,this.select(this.thumbs[this.cindex]),this.dTouch||this.updateThumbscroll())},t.updateThumbscroll=function(){var n=this.thumbSize*this.cindex,t;if(this.controller.value==NaN&&(this.controller.value=0),n-this.controller.value<0){this.controller.gotoSnap(this.cindex,!0);return}if(n+this.thumbSize-this.controller.value>this.$element[this.__dimen]()){t=this.cindex-Math.floor(this.$element[this.__dimen]()/this.thumbSize)+1,this.controller.gotoSnap(t,!0);return}},t.changeSlide=function(n){this.click_enable&&this.cindex!==n[0].index&&this.slider.api.gotoSlide(n[0].index)},t.unselect=function(n){n.removeClass("ms-thumb-frame-selected")},t.select=function(n){n.addClass("ms-thumb-frame-selected")},t.__resize=function(){var n=this.$element[this.__dimen](),t;this.ls!==n&&(this.ls=n,this.thumbSize=this.thumbs[0][this.__jdimen](!0),t=this.slider.api.count()*this.thumbSize,this.$thumbscont[0].style[this.__dimen]=t+"px",t<=n?(this.dTouch=!0,this.controller.stop(),this.$thumbscont[0].style[this.__pos]=(n-t)*.5+"px",this.$thumbscont[0].style[window._jcsspfx+"Transform"]=""):(this.dTouch=!1,this.click_enable=!0,this.$thumbscont[0].style[this.__pos]="",this.controller._max_value=t-n,this.controller.options.snapsize=this.thumbSize,this.updateThumbscroll()))},t.destroy=function(){r.destroy(),this.options.wheel&&(n.browser.mozilla?this.$element[0].removeEventListener("DOMMouseScroll",this.wheellistener):this.$element.unbind("mousewheel",this.wheellistener),this.wheellistener=null),n(window).unbind("resize",this.resize_listener),this.$element.remove(),this.slider.api.removeEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.slider.api.removeEventListener(MSLSliderEvent.CHANGE_START,this.update,this)},window.MSLThumblist=i,MSLSlideController.registerControl("thumblist",i)}(jQuery),function(n){"use strict";var i=function(t){BaseControl.call(this),this.options.dir="h",this.options.inset=!0,this.options.margin=10,n.extend(this.options,t),this.bullets=[]},t,r;i.extend(BaseControl),t=i.prototype,r=BaseControl.prototype,t.setup=function(){if(r.setup.call(this),this.$element=n("<div><\/div>").addClass(this.options.prefix+"bullets").addClass("ms-dir-"+this.options.dir).appendTo(this.cont),this.$bullet_cont=n("<div><\/div>").addClass("ms-bullets-count").appendTo(this.$element),!this.options.insetTo&&this.options.align){this.$element.css({top:"auto",bottom:"auto"});var t=this.options.align;this.options.inset&&this.$element.css(t,this.options.margin)}},t.create=function(){var u,i,t;for(r.create.call(this),u=this,this.slider.api.addEventListener(MSLSliderEvent.CHANGE_START,this.update,this),this.cindex=this.slider.api.index(),i=0;i<this.slider.api.count();++i){t=n("<div><\/div>").addClass("ms-bullet"),t[0].index=i;t.on("click",function(){u.changeSlide(this.index)});this.$bullet_cont.append(t),this.bullets.push(t)}this.options.dir==="h"&&this.$element.width(t.outerWidth(!0)*this.slider.api.count()),this.select(this.bullets[this.cindex])},t.update=function(){var n=this.slider.api.index();this.cindex!==n&&(this.cindex!=null&&this.unselect(this.bullets[this.cindex]),this.cindex=n,this.select(this.bullets[this.cindex]))},t.changeSlide=function(n){this.cindex!==n&&this.slider.api.gotoSlide(n)},t.unselect=function(n){n.removeClass("ms-bullet-selected")},t.select=function(n){n.addClass("ms-bullet-selected")},t.destroy=function(){r.destroy(),this.slider.api.removeEventListener(MSLSliderEvent.CHANGE_START,this.update,this),this.$element.remove()},window.MSLBulltes=i,MSLSlideController.registerControl("bullets",i)}(jQuery),function(n){"use strict";var i=function(t){BaseControl.call(this),this.options.dir="h",this.options.autohide=!0,this.options.width=4,this.options.color="#3D3D3D",this.options.margin=10,n.extend(this.options,t),this.__dimen=this.options.dir==="h"?"width":"height",this.__jdimen=this.options.dir==="h"?"outerWidth":"outerHeight",this.__pos=this.options.dir==="h"?"left":"top",this.__translate_end=window._css3d?" translateZ(0px)":"",this.__translate_start=this.options.dir==="h"?" translateX(":"translateY("},t,r;i.extend(BaseControl),t=i.prototype,r=BaseControl.prototype,t.setup=function(){if(this.$element=n("<div><\/div>").addClass(this.options.prefix+"sbar").addClass("ms-dir-"+this.options.dir),r.setup.call(this),this.slider.$controlsCont===this.cont?this.$element.appendTo(this.slider.$element):this.$element.appendTo(this.cont),this.$bar=n("<div><\/div>").addClass(this.options.prefix+"bar").appendTo(this.$element),this.slider.options.loop&&(console.log("WARNING, MSLScrollbar cannot work with looped slider."),this.disable=!0,this.$element.remove()),this.options.dir==="v"?this.$bar.width(this.options.width):this.$bar.height(this.options.width),this.$bar.css("background-color",this.options.color),!this.options.insetTo&&this.options.align){this.options.dir==="v"?this.$element.css({right:"auto",left:"auto"}):this.$element.css({top:"auto",bottom:"auto"});var t=this.options.align;this.options.inset?this.$element.css(t,this.options.margin):t==="top"?this.$element.prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):t==="bottom"?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align())}},t.align=function(){if(!this.detached){var n=this.options.align,t=this.slider.reserveSpace(n,this.options.margin*2+this.options.width);this.$element.css(n,-t-this.options.margin-this.options.width)}},t.create=function(){if(!this.disable){var n=this;this.scroller=this.slider.api.scroller,this.slider.api.view.addEventListener(MSLViewEvents.SCROLL,this._update,this),this.slider.api.addEventListener(MSLSliderEvent.RESIZE,this._resize,this),this._resize(),this.options.autohide&&this.$bar.css("opacity","0")}},t._resize=function(){this.vdimen=this.$element[this.__dimen](),this.bar_dimen=this.slider.api.view["__"+this.__dimen]*this.vdimen/this.scroller._max_value,this.$bar[this.__dimen](this.bar_dimen)},t._update=function(){var n=this.scroller.value*(this.vdimen-this.bar_dimen)/this.scroller._max_value,t;if(this.lvalue!==n){if(this.lvalue=n,this.options.autohide&&(clearTimeout(this.hto),this.$bar.css("opacity","1"),t=this,this.hto=setTimeout(function(){t.$bar.css("opacity","0")},150)),n<0){this.$bar[0].style[this.__dimen]=this.bar_dimen+n+"px";return}if(n>this.vdimen-this.bar_dimen&&(this.$bar[0].style[this.__dimen]=this.vdimen-n+"px"),window._cssanim){this.$bar[0].style[window._jcsspfx+"Transform"]=this.__translate_start+n+"px)"+this.__translate_end;return}this.$bar[0].style[this.__pos]=n+"px"}},t.destroy=function(){r.destroy(),this.slider.api.view.removeEventListener(MSLViewEvents.SCROLL,this._update,this),this.slider.api.removeEventListener(MSLSliderEvent.RESIZE,this._resize,this),this.slider.api.removeEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.$element.remove()},window.MSLScrollbar=i,MSLSlideController.registerControl("scrollbar",i)}(jQuery),function(n){"use strict";var r=function(t){BaseControl.call(this),this.options.autohide=!1,this.options.width=4,this.options.color="#FFFFFF",this.options.inset=!0,this.options.margin=0,n.extend(this.options,t)},t,i;r.extend(BaseControl),t=r.prototype,i=BaseControl.prototype,t.setup=function(){var r=this,t;i.setup.call(this),this.$element=n("<div><\/div>").addClass(this.options.prefix+"timerbar"),i.setup.call(this),this.slider.$controlsCont===this.cont?this.$element.appendTo(this.slider.$element):this.$element.appendTo(this.cont),this.$bar=n("<div><\/div>").addClass("ms-time-bar").appendTo(this.$element),this.options.dir==="v"?(this.$bar.width(this.options.width),this.$element.width(this.options.width)):(this.$bar.height(this.options.width),this.$element.height(this.options.width)),this.$bar.css("background-color",this.options.color),!this.options.insetTo&&this.options.align&&(this.$element.css({top:"auto",bottom:"auto"}),t=this.options.align,this.options.inset?this.$element.css(t,this.options.margin):t==="top"?this.$element.prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):t==="bottom"?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align()))},t.align=function(){if(!this.detached){var n=this.options.align,t=this.slider.reserveSpace(n,this.options.margin*2+this.options.width);this.$element.css(n,-t-this.options.margin-this.options.width)}},t.create=function(){i.create.call(this),this.slider.api.addEventListener(MSLSliderEvent.WAITING,this._update,this),this._update()},t._update=function(){this.$bar[0].style.width=this.slider.api._delayProgress+"%"},t.destroy=function(){i.destroy(),this.slider.api.removeEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.slider.api.removeEventListener(MSLSliderEvent.WAITING,this._update,this),this.$element.remove()},window.MSLTimerbar=r,MSLSlideController.registerControl("timebar",r)}(jQuery),function(n){"use strict";var i=function(t){BaseControl.call(this),this.options.color="#A2A2A2",this.options.stroke=10,this.options.radius=4,this.options.autohide=!1,n.extend(this.options,t)},t,r;i.extend(BaseControl),t=i.prototype,r=BaseControl.prototype,t.setup=function(){var t=this;if(r.setup.call(this),this.$element=n("<div><\/div>").addClass(this.options.prefix+"ctimer").appendTo(this.cont),this.$canvas=n("<canvas><\/canvas>").addClass("ms-ctimer-canvas").appendTo(this.$element),this.$bar=n("<div><\/div>").addClass("ms-ctimer-bullet").appendTo(this.$element),!this.$canvas[0].getContext){this.destroy(),this.disable=!0;return}this.ctx=this.$canvas[0].getContext("2d"),this.prog=0,this.__w=(this.options.radius+this.options.stroke/2)*2,this.$canvas[0].width=this.__w,this.$canvas[0].height=this.__w},t.create=function(){if(!this.disable){r.create.call(this),this.slider.api.addEventListener(MSLSliderEvent.WAITING,this._update,this);var n=this;this.$element.click(function(){n.slider.api.paused?n.slider.api.resume():n.slider.api.pause()}),this._update()}},t._update=function(){var t=this;n(this).stop(!0).animate({prog:this.slider.api._delayProgress*.01},{duration:200,step:function(){t._draw()}})},t._draw=function(){this.ctx.clearRect(0,0,this.__w,this.__w),this.ctx.beginPath(),this.ctx.arc(this.__w*.5,this.__w*.5,this.options.radius,Math.PI*1.5,Math.PI*1.5+2*Math.PI*this.prog,!1),this.ctx.strokeStyle=this.options.color,this.ctx.lineWidth=this.options.stroke,this.ctx.stroke()},t.destroy=function(){(r.destroy(),this.disable)||(n(this).stop(!0),this.slider.api.removeEventListener(MSLSliderEvent.WAITING,this._update,this),this.$element.remove())},window.MSLCircleTimer=i,MSLSlideController.registerControl("circletimer",i)}(jQuery),function(n){"use strict";window.MSLSlideInfo=function(t){BaseControl.call(this,t),this.options.autohide=!1,this.options.align=null,this.options.inset=!1,this.options.margin=10,this.options.size=100,this.options.dir="h",n.extend(this.options,t),this.data_list=[]},MSLSlideInfo.fadeDuratation=400,MSLSlideInfo.extend(BaseControl);var t=MSLSlideInfo.prototype,i=BaseControl.prototype;t.setup=function(){if(this.$element=n("<div><\/div>").addClass(this.options.prefix+"slide-info").addClass("ms-dir-"+this.options.dir),i.setup.call(this),this.slider.$controlsCont===this.cont?this.$element.appendTo(this.slider.$element):this.$element.appendTo(this.cont),!this.options.insetTo&&this.options.align){var t=this.options.align;this.options.inset?this.$element.css(t,this.options.margin):t==="top"?this.$element.prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):t==="bottom"?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align()),this.options.dir==="v"?this.$element.width(this.options.size):this.$element.css("min-height",this.options.size)}},t.align=function(){if(!this.detached){var n=this.options.align,t=this.slider.reserveSpace(n,this.options.size+this.options.margin*2);this.$element.css(n,-t-this.options.size-this.options.margin)}},t.slideAction=function(t){var i=n(t.$element.find(".ms-info")),r=this;i.detach(),this.data_list[t.index]=i},t.create=function(){i.create.call(this),this.slider.api.addEventListener(MSLSliderEvent.CHANGE_START,this.update,this),this.cindex=this.slider.api.index(),this.switchEle(this.data_list[this.cindex])},t.update=function(){var n=this.slider.api.index();this.switchEle(this.data_list[n]),this.cindex=n},t.switchEle=function(n){if(this.current_ele){var t=this;this.current_ele[0].tween&&this.current_ele[0].tween.stop(!0),this.current_ele[0].tween=CTween.animate(this.current_ele,MSLSlideInfo.fadeDuratation,{opacity:0},{complete:function(){this.detach(),this[0].tween=null,n.css("position","relative")},target:this.current_ele}),n.css("position","absolute")}this.__show(n)},t.__show=function(n){n.appendTo(this.$element).css("opacity","0"),this.current_ele&&n.height(Math.max(n.height(),this.current_ele.height())),clearTimeout(this.tou),this.tou=setTimeout(function(){CTween.fadeIn(n,MSLSlideInfo.fadeDuratation),n.css("height","")},MSLSlideInfo.fadeDuratation),n[0].tween&&n[0].tween.stop(!0),this.current_ele=n},t.destroy=function(){i.destroy(),clearTimeout(this.tou),this.current_ele&&this.current_ele[0].tween&&this.current_ele[0].tween.stop("true"),this.$element.remove(),this.slider.api.removeEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.slider.api.removeEventListener(MSLSliderEvent.CHANGE_START,this.update,this)},MSLSlideController.registerControl("slideinfo",MSLSlideInfo)}(jQuery)
|
10 |
//@ sourceMappingURL=masterslider.map
|
3 |
* @author Averta (www.averta.net)
|
4 |
* Copyright © All Rights Reserved, Averta Ltd.
|
5 |
*
|
6 |
+
* @version 1.1.0
|
7 |
+
* @date Sept 2014
|
8 |
*/
|
9 |
+
window.averta={},function(n){function o(){var t,n,i;if("result"in arguments.callee)return arguments.callee.result;t=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,n=document.getElementsByTagName("script")[0];for(i in n.style)if(t.test(i))return arguments.callee.result=i.match(t)[0];return arguments.callee.result="WebkitOpacity"in n.style?"Webkit":"KhtmlOpacity"in n.style?"Khtml":""}function r(n){var u=document.body||document.documentElement,r=u.style,t=n,i;if(typeof r[t]=="string")return!0;for(v=["Moz","Webkit","Khtml","O","ms"],t=t.charAt(0).toUpperCase()+t.substr(1),i=0;i<v.length;i++)if(typeof r[v[i]+t]=="string")return!0;return!1}function s(){return r("transition")}function u(){return r("transform")}function h(){var n,t,r,i;if(!u())return!1;n=document.createElement("i"),r={WebkitTransform:"-webkit-transform",OTransform:"-o-transform",MSTransform:"-ms-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",Transform:"transform",transform:"transform"},n.style.display="block",document.body.insertBefore(n,null);for(i in r)n.style[i]!==undefined&&(n.style[i]="translate3d(1px,1px,1px)",t=window.getComputedStyle(n).getPropertyValue(r[i]));return document.body.removeChild(n),t!=null&&t.length>0&&t!=="none"}var t,i,f,e;window.package=function(n){window[n]||(window[n]={})},t=function(n,t){for(var i in t)n[i]=t[i]},Function.prototype.extend=function(n){typeof n.prototype.constructor=="function"?(t(this.prototype,n.prototype),this.prototype.constructor=this):(this.prototype.extend(n),this.prototype.constructor=this)},i={Moz:"-moz-",Webkit:"-webkit-",Khtml:"-khtml-",O:"-o-",ms:"-ms-",Icab:"-icab-"},n(document).ready(function(){window._jcsspfx=o(),window._csspfx=i[window._jcsspfx],window._cssanim=s(),window._css3d=h(),window._css2d=u(),window._mobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),window._touch="ontouchstart"in document}),window.parseQueryString=function(n){var t={};return n.replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),function(n,i,r,u){t[i]=u}),t},f=50/3,window.requestAnimationFrame||(window.requestAnimationFrame=function(){return window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(n){window.setTimeout(n,f)}}()),window.getComputedStyle||(window.getComputedStyle=function(n){return this.el=n,this.getPropertyValue=function(t){var i=/(\-([a-z]){1})/g;return t=="float"&&(t="styleFloat"),i.test(t)&&(t=t.replace(i,function(){return arguments[2].toUpperCase()})),n.currentStyle[t]?n.currentStyle[t]:null},n.currentStyle}),Array.prototype.indexOf||(Array.prototype.indexOf=function(n){var i=this.length>>>0,t=Number(arguments[1])||0;for(t=t<0?Math.ceil(t):Math.floor(t),t<0&&(t+=i);t<i;t++)if(t in this&&this[t]===n)return t;return-1}),jQuery&&(n.jqLoadFix=function(){if(this.complete){var t=this;setTimeout(function(){n(t).load()},1)}},jQuery.uaMatch=jQuery.uaMatch||function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}},matched=jQuery.uaMatch(navigator.userAgent),browser={},matched.browser&&(browser[matched.browser]=!0,browser.version=matched.version),browser.chrome?browser.webkit=!0:browser.webkit&&(browser.safari=!0),e=!!navigator.userAgent.match(/Trident\/7\./),e&&(browser.msie="true",delete browser.mozilla),jQuery.browser=browser,n.fn.preloadImg=function(t,i){return this.each(function(){var u=n(this),f=this,r=new Image;r.onload=function(n){n==null&&(n={}),u.attr("src",t),n.width=r.width,n.height=r.height,setTimeout(function(){i.call(f,n)},50),r=null},r.src=t}),this})}(jQuery),function(){"use strict";averta.EventDispatcher=function(){this.listeners={}},averta.EventDispatcher.extend=function(n){var i=new averta.EventDispatcher,t;for(t in i)t!="constructor"&&(n[t]=averta.EventDispatcher.prototype[t])},averta.EventDispatcher.prototype={constructor:averta.EventDispatcher,addEventListener:function(n,t,i){this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push({listener:t,ref:i})},removeEventListener:function(n,t,i){if(this.listeners[n]){for(var r=0,u=this.listeners[n].length;r<u;++r)t==this.listeners[n][r].listener&&i==this.listeners[n][r].ref&&this.listeners[n].splice(r,0);this.listeners[n].length==0&&delete this.listeners[n]}},dispatchEvent:function(n){if(n.target=this,this.listeners[n.type])for(var t=0,i=this.listeners[n.type].length;t<i;++t)this.listeners[n.type][t].listener.call(this.listeners[n.type][t].ref,n)}}}(),function(n){"use strict";var t="ontouchstart"in document,u=window.navigator.pointerEnabled,f=!u&&window.navigator.msPointerEnabled,r=u||f,h=(u?"pointerdown ":"")+(f?"MSPointerDown ":"")+(t?"touchstart ":"")+"mousedown",e=(u?"pointermove ":"")+(f?"MSPointerMove ":"")+(t?"touchmove ":"")+"mousemove",o=(u?"pointerup ":"")+(f?"MSPointerUp ":"")+(t?"touchend ":"")+"mouseup",s=(u?"pointercancel ":"")+(f?"MSPointerCancel ":"")+"touchcancel",i;averta.TouchSwipe=function(n){this.$element=n,this.enabled=!0,n.bind(h,{target:this},this.__touchStart),n[0].swipe=this,this.onSwipe=null,this.swipeType="horizontal",this.lastStatus={}},i=averta.TouchSwipe.prototype,i.getDirection=function(n,t){switch(this.swipeType){case"horizontal":return n<=this.start_x?"left":"right";case"vertical":return t<=this.start_y?"up":"down";case"all":return Math.abs(n-this.start_x)>Math.abs(t-this.start_y)?n<=this.start_x?"left":"right":t<=this.start_y?"up":"down"}},i.priventDefultEvent=function(n,t){var r=Math.abs(n-this.start_x),u=Math.abs(t-this.start_y),i=r>u;return this.swipeType==="horizontal"&&i||this.swipeType==="vertical"&&!i},i.createStatusObject=function(n){var t={},i,r;return i=this.lastStatus.distanceX||0,r=this.lastStatus.distanceY||0,t.distanceX=n.pageX-this.start_x,t.distanceY=n.pageY-this.start_y,t.moveX=t.distanceX-i,t.moveY=t.distanceY-r,t.distance=parseInt(Math.sqrt(Math.pow(t.distanceX,2)+Math.pow(t.distanceY,2))),t.duration=(new Date).getTime()-this.start_time,t.direction=this.getDirection(n.pageX,n.pageY),t},i.__reset=function(n,i){this.reset=!1,this.lastStatus={},this.start_time=(new Date).getTime(),this.start_x=t?n.touches[0].pageX:r?n.pageX:i.pageX,this.start_y=t?n.touches[0].pageY:r?n.pageY:i.pageY},i.__touchStart=function(i){var u=i.data.target,f=i,c,h;if(u.enabled){if(i=i.originalEvent,r&&n(this).css("-ms-touch-action",u.swipeType==="horizontal"?"pan-y":"pan-x"),!u.onSwipe){n.error("Swipe listener is undefined");return}u.touchStarted||(u.start_x=t?i.touches[0].pageX:r?i.pageX:f.pageX,u.start_y=t?i.touches[0].pageY:r?i.pageY:f.pageY,u.start_time=(new Date).getTime(),n(document).bind(o,{target:u},u.__touchEnd).bind(e,{target:u},u.__touchMove).bind(s,{target:u},u.__touchCancel),c=t?i.touches[0]:r?i:f,h=u.createStatusObject(c),h.phase="start",u.onSwipe.call(null,h),t||f.preventDefault(),u.lastStatus=h,u.touchStarted=!0)}},i.__touchMove=function(n){var i=n.data.target,e=n,u,f;(n=n.originalEvent,i.touchStarted)&&(clearTimeout(i.timo),i.timo=setTimeout(function(){i.__reset(n,e)},60),u=t?n.touches[0]:r?n:e,f=i.createStatusObject(u),i.priventDefultEvent(u.pageX,u.pageY)&&e.preventDefault(),f.phase="move",i.lastStatus=f,i.onSwipe.call(null,f))},i.__touchEnd=function(i){var u=i.data.target,h=i,c,f;i=i.originalEvent,clearTimeout(u.timo),c=t?i.touches[0]:r?i:h,f=u.lastStatus,t||h.preventDefault(),f.phase="end",u.touchStarted=!1,u.priventEvt=null,n(document).unbind(o,u.__touchEnd).unbind(e,u.__touchMove).unbind(s,u.__touchCancel),f.speed=f.distance/f.duration,u.onSwipe.call(null,f)},i.__touchCancel=function(n){var t=n.data.target;t.__touchEnd(n)},i.enable=function(){this.enabled||(this.enabled=!0)},i.disable=function(){this.enabled&&(this.enabled=!1)}}(jQuery),function(){"use strict";var u;averta.Ticker=function(){};var t=averta.Ticker,n=[],i=0,r=!0;t.add=function(r,u){return n.push([r,u]),n.length===1&&t.start(),i=n.length},t.remove=function(r,u){for(var f=0,e=n.length;f<e;++f)n[f]&&n[f][0]===r&&n[f][1]===u&&n.splice(f,1);i=n.length,i===0&&t.stop()},t.start=function(){r&&(r=!1,u())},t.stop=function(){r=!0},u=function(){var f,r;if(!t.__stopped){for(r=0;r!==i;r++)f=n[r],f[0].call(f[1]);requestAnimationFrame(u)}}}(),function(){"use strict";Date.now||(Date.now=function(){return(new Date).getTime()}),averta.Timer=function(n,t){this.delay=n,this.currentCount=0,this.paused=!1,this.onTimer=null,this.refrence=null,t&&this.start()},averta.Timer.prototype={constructor:averta.Timer,start:function(){this.paused=!1,this.lastTime=Date.now(),averta.Ticker.add(this.update,this)},stop:function(){this.paused=!0,averta.Ticker.remove(this.update,this)},reset:function(){this.currentCount=0,this.paused=!0,this.lastTime=Date.now()},update:function(){this.paused||Date.now()-this.lastTime<this.delay||(this.currentCount++,this.lastTime=Date.now(),this.onTimer&&this.onTimer.call(this.refrence,this.getTime()))},getTime:function(){return this.delay*this.currentCount}}}(),function(){"use strict";var n;window.CSSTween=function(n,t,i,r){this.$element=n,this.duration=t||1e3,this.delay=i||0,this.ease=r||"linear"},n=CSSTween.prototype,n.to=function(n,t){return this.to_cb=n,this.to_cb_target=t,this},n.from=function(n,t){return this.fr_cb=n,this.fr_cb_target=t,this},n.onComplete=function(n,t){return this.oc_fb=n,this.oc_fb_target=t,this},n.chain=function(n){return this.chained_tween=n,this},n.reset=function(){clearTimeout(this.start_to),clearTimeout(this.end_to)},n.start=function(){clearTimeout(this.start_to),clearTimeout(this.end_to),this.fresh=!0,this.fr_cb&&(this.$element.css(window._jcsspfx+"TransitionDuration","0ms"),this.fr_cb.call(this.fr_cb_target));var n=this;return this.onTransComplete=function(){n.fresh&&(n.reset(),this.$element.css(window._jcsspfx+"TransitionDuration","").css(window._jcsspfx+"TransitionProperty","").css(window._jcsspfx+"TransitionTimingFunction","").css(window._jcsspfx+"TransitionDelay",""),n.fresh=!1,n.chained_tween&&n.chained_tween.start(),n.oc_fb&&n.oc_fb.call(n.oc_fb_target))},this.start_to=setTimeout(function(){n.$element.css(window._jcsspfx+"TransitionDuration",n.duration+"ms").css(window._jcsspfx+"TransitionProperty","all"),n.delay>0?n.$element.css(window._jcsspfx+"TransitionDelay",n.delay+"ms"):n.$element.css(window._jcsspfx+"TransitionDelay",""),n.$element.css(window._jcsspfx+"TransitionTimingFunction",n.ease),n.to_cb&&n.to_cb.call(n.to_cb_target),n.end_to=setTimeout(function(){n.onTransComplete()},n.duration+(n.delay||0))},100),this}}(),function(){"use strict";function t(t,i){var r,u,f;return(i.x!==undefined||i.y!==undefined)&&(n?(r=window._jcsspfx+"Transform",i.x!==undefined&&(i[r]=(i[r]||"")+" translateX("+i.x+"px)",delete i.x),i.y!==undefined&&(i[r]=(i[r]||"")+" translateY("+i.y+"px)",delete i.y)):(i.x!==undefined&&(u=t.css("right")!=="auto"?"right":"left",i[u]=i.x+"px",delete i.x),i.y!==undefined&&(f=t.css("bottom")!=="auto"?"bottom":"top",i[f]=i.y+"px",delete i.y))),i}var n=null;window.CTween={},CTween.setPos=function(n,i){n.css(t(n,i))},CTween.animate=function(i,r,u,f){var e,o;if(n==null&&(n=window._cssanim),f=f||{},t(i,u),n){if(e=new CSSTween(i,r,f.delay,EaseDic[f.ease]),e.to(function(){i.css(u)}),f.complete)e.onComplete(f.complete,f.target);return e.start(),e.stop=e.reset,e}return f.delay&&i.delay(f.delay),f.complete&&(o=function(){f.complete.call(f.target)}),i.stop(!0).animate(u,r,f.ease||"linear",o),i},CTween.fadeOut=function(n,t,i){var r={};i&&(r.complete=function(){n.remove()}),CTween.animate(n,t||1e3,{opacity:0},r)},CTween.fadeIn=function(n,t){n.css("opacity",0),CTween.animate(n,t||1e3,{opacity:1})}}(),function(){window.EaseDic={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",easeInCubic:"cubic-bezier(.55,.055,.675,.19)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"}}(),function(){"use strict";window.MSAligner=function(n,t,i){this.$container=t,this.$img=i,this.type=n||"stretch",this.widthOnly=!1,this.heightOnly=!1};var n=MSAligner.prototype;n.init=function(n,t){this.baseWidth=n,this.baseHeight=t,this.imgRatio=n/t,this.imgRatio2=t/n;switch(this.type){case"tile":this.$container.css("background-image","url("+this.$img.attr("src")+")"),this.$img.remove();break;case"center":this.$container.css("background-image","url("+this.$img.attr("src")+")"),this.$container.css({backgroundPosition:"center center",backgroundRepeat:"no-repeat"}),this.$img.remove();break;case"stretch":this.$img.css({width:"100%",height:"100%"});break;case"fill":case"fit":this.needAlign=!0,this.align()}},n.align=function(){if(this.needAlign){var n=this.$container.width(),t=this.$container.height(),i=n/t;this.type=="fill"?this.imgRatio<i?(this.$img.width(n),this.$img.height(n*this.imgRatio2)):(this.$img.height(t),this.$img.width(t*this.imgRatio)):this.type=="fit"&&(this.imgRatio<i?(this.$img.height(t),this.$img.width(t*this.imgRatio)):(this.$img.width(n),this.$img.height(n*this.imgRatio2))),this.setMargin()}},n.setMargin=function(){var n=this.$container.width(),t=this.$container.height();this.$img.css("margin-top",(t-this.$img[0].offsetHeight)/2+"px"),this.$img.css("margin-left",(n-this.$img[0].offsetWidth)/2+"px")}}(),function(){"use strict";var t={bouncing:!0,snapping:!1,snapsize:null,friction:.05,outFriction:.05,outAcceleration:.09,minValidDist:.3,snappingMinSpeed:2,paging:!1,endless:!1,maxSpeed:160},i=function(n,i,r){if(i===null||n===null)throw new Error("Max and Min values are required.");this.options=r||{};for(var u in t)u in this.options||(this.options[u]=t[u]);this._max_value=i,this._min_value=n,this.value=n,this.end_loc=n,this.current_snap=this.getSnapNum(n),this.__extrStep=0,this.__extraMove=0,this.__animID=-1},n=i.prototype;n.changeTo=function(n,t,i,r,u){if(this.stopped=!1,this._internalStop(),n=this._checkLimits(n),i=Math.abs(i||0),this.options.snapping&&(r=r||this.getSnapNum(n),u!==!1&&this._callsnapChange(r),this.current_snap=r),t){this.animating=!0;var f=this,e=++f.__animID,h=n-f.value,c=0,l=n,o=1-f.options.friction,a=o+(i-20)*o*1.3/f.options.maxSpeed,s=function(){if(e===f.__animID){var t=n-f.value;if(Math.abs(t)>f.options.minValidDist&&f.animating)window.requestAnimationFrame(s);else{f.animating&&(f.value=n,f._callrenderer()),f.animating=!1,e!==f.__animID&&(f.__animID=-1),f._callonComplete("anim");return}f.value=l-h*Math.exp(-++c*a),f._callrenderer()}};s();return}this.value=n,this._callrenderer()},n.drag=function(n){this.start_drag&&(this.drag_start_loc=this.value,this.start_drag=!1),this.animating=!1,this._deceleration=!1,this.value-=n,!this.options.endless&&(this.value>this._max_value||this.value<0)?this.options.bouncing?(this.__isout=!0,this.value+=n*.6):this.value=this.value>this._max_value?this._max_value:0:!this.options.endless&&this.options.bouncing&&(this.__isout=!1),this._callrenderer()},n.push=function(n){if(this.stopped=!1,this.options.snapping&&Math.abs(n)<=this.options.snappingMinSpeed){this.cancel();return}if(this.__speed=n,this.__startSpeed=n,this.end_loc=this._calculateEnd(),this.options.snapping){var t=this.getSnapNum(this.value),i=this.getSnapNum(this.end_loc);if(this.options.paging){t=this.getSnapNum(this.drag_start_loc),this.__isout=!1,n>0?this.gotoSnap(t+1,!0,n):this.gotoSnap(t-1,!0,n);return}if(t===i){this.cancel();return}this._callsnapChange(i),this.current_snap=i}this.animating=!1,this.__needsSnap=this.options.endless||this.end_loc>this._min_value&&this.end_loc<this._max_value,this.options.snapping&&this.__needsSnap&&(this.__extraMove=this._calculateExtraMove(this.end_loc)),this._startDecelaration()},n.bounce=function(n){this.animating||(this.stopped=!1,this.animating=!1,this.__speed=n,this.__startSpeed=n,this.end_loc=this._calculateEnd(),this._startDecelaration())},n.stop=function(){this.stopped=!0,this._internalStop()},n.cancel=function(){this.start_drag=!0,this.__isout?(this.__speed=.0004,this._startDecelaration()):this.options.snapping&&this.gotoSnap(this.getSnapNum(this.value),!0)},n.renderCallback=function(n,t){this.__renderHook={fun:n,ref:t}},n.snappingCallback=function(n,t){this.__snapHook={fun:n,ref:t}},n.snapCompleteCallback=function(n,t){this.__compHook={fun:n,ref:t}},n.getSnapNum=function(n){return Math.floor((n+this.options.snapsize/2)/this.options.snapsize)},n.nextSnap=function(){this._internalStop();var n=this.getSnapNum(this.value);!this.options.endless&&(n+1)*this.options.snapsize>this._max_value?(this.__speed=8,this.__needsSnap=!1,this._startDecelaration()):this.gotoSnap(n+1,!0)},n.prevSnap=function(){this._internalStop();var n=this.getSnapNum(this.value);!this.options.endless&&(n-1)*this.options.snapsize<this._min_value?(this.__speed=-8,this.__needsSnap=!1,this._startDecelaration()):this.gotoSnap(n-1,!0)},n.gotoSnap=function(n,t,i){this.changeTo(n*this.options.snapsize,t,i,n)},n.destroy=function(){this._internalStop(),this.__renderHook=null,this.__snapHook=null,this.__compHook=null},n._internalStop=function(){this.start_drag=!0,this.animating=!1,this._deceleration=!1,this.__extrStep=0},n._calculateExtraMove=function(n){var t=n%this.options.snapsize;return t<this.options.snapsize/2?-t:this.options.snapsize-t},n._calculateEnd=function(n){for(var t=this.__speed,i=this.value,r=0;Math.abs(t)>this.options.minValidDist;)i+=t,t*=this.options.friction,r++;return n?r:i},n._checkLimits=function(n){return this.options.endless?n:n<this._min_value?this._min_value:n>this._max_value?this._max_value:n},n._callrenderer=function(){this.__renderHook&&this.__renderHook.fun.call(this.__renderHook.ref,this,this.value)},n._callsnapChange=function(n){this.__snapHook&&n!==this.current_snap&&this.__snapHook.fun.call(this.__snapHook.ref,this,n,n-this.current_snap)},n._callonComplete=function(n){this.__compHook&&!this.stopped&&this.__compHook.fun.call(this.__compHook.ref,this,this.current_snap,n)},n._computeDeceleration=function(){var t,n;this.options.snapping&&this.__needsSnap?(t=(this.__startSpeed-this.__speed)/this.__startSpeed*this.__extraMove,this.value+=this.__speed+t-this.__extrStep,this.__extrStep=t):this.value+=this.__speed,this.__speed*=this.options.friction,this.options.endless||this.options.bouncing||(this.value<=this._min_value?(this.value=this._min_value,this.__speed=0):this.value>=this._max_value&&(this.value=this._max_value,this.__speed=0)),this._callrenderer(),!this.options.endless&&this.options.bouncing&&(n=0,this.value<this._min_value?n=this._min_value-this.value:this.value>this._max_value&&(n=this._max_value-this.value),this.__isout=Math.abs(n)>=this.options.minValidDist,this.__isout&&(this.__speed*n<=0?this.__speed+=n*this.options.outFriction:this.__speed=n*this.options.outAcceleration))},n._startDecelaration=function(){if(!this._deceleration){this._deceleration=!0;var n=this,t=function(){n._deceleration&&(n._computeDeceleration(),Math.abs(n.__speed)>n.options.minValidDist||n.__isout?window.requestAnimationFrame(t):(n._deceleration=!1,n.__isout=!1,n.value=this.__needsSnap&&n.options.snapping&&!n.options.paging?n._checkLimits(n.end_loc+n.__extraMove):Math.round(n.value),n._callrenderer(),n._callonComplete("decel")))};t()}},window.Controller=i}(),window.MSLSliderEvent=function(n){this.type=n},MSLSliderEvent.CHANGE_START="changeStart",MSLSliderEvent.CHANGE_END="changeEnd",MSLSliderEvent.WAITING="waiting",MSLSliderEvent.AUTOPLAY_CHANGE="autoplayChange",MSLSliderEvent.VIDEO_PLAY="videoPlay",MSLSliderEvent.VIDEO_CLOSE="videoClose",MSLSliderEvent.INIT="init",MSLSliderEvent.RESIZE="resize",MSLSliderEvent.RESERVED_SPACE_CHANGE="rsc",function(n){"use strict";window.MSLSlide=function(){this.$element=null,this.$loading=n("<div><\/div>").addClass("ms-slide-loading"),this.view=null,this.index=-1,this.__width=0,this.__height=0,this.preloadCount=0,this.fillMode="fill",this.selected=!1,this.pselected=!1,this.autoAppend=!0,this.isSleeping=!0,this.moz=n.browser.mozilla};var t=MSLSlide.prototype;t.onSwipeStart=function(){this.link&&(this.linkdis=!0),this.video&&(this.videodis=!0)},t.onSwipeCancel=function(){this.link&&(this.linkdis=!1),this.video&&(this.videodis=!1)},t.setBG=function(t){this.hasBG=!0;var i=this;this.$imgcont=n("<div><\/div>").addClass("ms-slide-bgcont"),this.$element.append(this.$loading).append(this.$imgcont),this.$bg_img=n(t).css("visibility","hidden"),this.$imgcont.append(this.$bg_img),this.bgAligner=new MSAligner(i.fillMode,i.$imgcont,i.$bg_img),this.bgAligner.widthOnly=this.slider.options.autoHeight,i.slider.options.autoHeight&&(i.pselected||i.selected)&&i.slider.setHeight(i.slider.options.height),this.$bg_img.data("src")!==undefined?(this.bg_src=this.$bg_img.data("src"),this.$bg_img.removeAttr("data-src")):this.$bg_img.one("load",function(n){i._onBGLoad(n)}).each(n.jqLoadFix),this.preloadCount++},t._onBGLoad=function(t){if(this.bgNatrualWidth=t.width,this.bgNatrualHeight=t.height,this.bgLoaded=!0,n.browser.msie)this.$bg_img.on("dragstart",function(n){n.preventDefault()});this.preloadCount--,this.preloadCount===0&&this.___onReady()},t.loadImages=function(){if(!this.ls&&(this.ls=!0,this.preloadCount===0&&this.___onReady(),this.bgvideo&&this.bgvideo.load(),this.hasBG&&this.bg_src)){var n=this;this.$bg_img.preloadImg(this.bg_src,function(t){n._onBGLoad(t)})}},t.___onReady=function(){this.ready=!0,this.slider.api._startTimer(),this.isSleeping||this.setup(),CTween.fadeOut(this.$loading,300,!0),(this.slider.options.preload===0||this.slider.options.preload==="all")&&this.index<this.view.slideList.length-1?this.view.slideList[this.index+1].loadImages():this.slider.options.preload==="all"&&this.index===this.view.slideList.length-1&&this.slider._removeLoading()},t.setSize=function(n,t){this.__width=n,this.slider.options.autoHeight&&(this.bgLoaded?(this.ratio=this.__width/this.bgWidth,t=Math.floor(this.ratio*this.bgHeight),this.$imgcont.height(t)):(this.ratio=n/this.slider.options.width,t=this.slider.options.height*this.ratio)),this.__height=t,this.$element.width(n).height(t),this.hasBG&&this.bgLoaded&&this.bgAligner.align()},t.getHeight=function(){return this.hasBG&&this.bgLoaded?this.bgHeight*this.ratio:Math.max(this.$element[0].clientHeight,this.slider.options.height*this.ratio)},t.__playVideo=function(){this.vplayed||this.videodis||(this.vplayed=!0,this.slider.api.paused||(this.slider.api.pause(),this.roc=!0),this.vcbtn.css("display",""),CTween.fadeOut(this.vpbtn,500,!1),CTween.fadeIn(this.vcbtn,500),CTween.fadeIn(this.vframe,500),this.vframe.css("display","block").attr("src",this.video+"&autoplay=1"),this.view.$element.addClass("ms-def-cursor"),this.view.swipeControl.disable(),this.slider.slideController.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.VIDEO_PLAY)))},t.__closeVideo=function(){if(this.vplayed){this.vplayed=!1,this.roc&&this.slider.api.resume();var n=this;CTween.fadeIn(this.vpbtn,500),CTween.animate(this.vcbtn,500,{opacity:0},{complete:function(){n.vcbtn.css("display","none")}}),CTween.animate(this.vframe,500,{opacity:0},{complete:function(){n.vframe.attr("src","about:blank").css("display","none")}}),this.view.swipeControl.enable(),this.view.$element.removeClass("ms-def-cursor"),this.slider.slideController.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.VIDEO_CLOSE))}},t.create=function(){var t=this;this.link&&this.$element.css("cursor","pointer").click(function(){t.linkdis||window.open(t.link,t.link_targ||"_self")}),this.video&&(this.video.indexOf("?")===-1&&(this.video+="?"),this.vframe=n("<iframe><\/iframe>").addClass("ms-slide-video").css({width:"100%",height:"100%",display:"none"}).attr("src","about:blank").appendTo(this.$element),this.vpbtn=n("<div><\/div>").addClass("ms-slide-vpbtn").click(function(){t.__playVideo()}).appendTo(this.$element),this.vcbtn=n("<div><\/div>").addClass("ms-slide-vcbtn").click(function(){t.__closeVideo()}).appendTo(this.$element).css("display","none"),window._touch&&this.vcbtn.removeClass("ms-slide-vcbtn").addClass("ms-slide-vcbtn-mobile").append('<div class="ms-vcbtn-txt">Close video<\/div>').appendTo(this.view.$element.parent())),!this.slider.options.autoHeight&&this.hasBG&&(this.$imgcont.css("height","100%"),(this.fillMode==="center"||this.fillMode==="stretch")&&(this.fillMode="fill")),this.slider.options.autoHeight&&this.$element.addClass("ms-slide-auto-height"),this.sleep(!0)},t.destroy=function(){this.$element.remove(),this.$element=null},t.setup=function(){!this.initBG&&this.bgLoaded&&(this.initBG=!0,this.$bg_img.css("visibility",""),this.bgWidth=this.bgNatrualWidth||this.$bg_img.width(),this.bgHeight=this.bgNatrualHeight||this.$bg_img.height(),CTween.fadeIn(this.$imgcont,300),this.slider.options.autoHeight&&this.$imgcont.height(this.bgHeight*this.ratio),this.bgAligner.init(this.bgWidth,this.bgHeight),this.setSize(this.__width,this.__height),this.slider.options.autoHeight&&(this.pselected||this.selected)&&this.slider.setHeight(this.getHeight()))},t.prepareToSelect=function(){this.pselected||this.selected||(this.pselected=!0,(this.link||this.video)&&(this.view.addEventListener(MSLViewEvents.SWIPE_START,this.onSwipeStart,this),this.view.addEventListener(MSLViewEvents.SWIPE_CANCEL,this.onSwipeCancel,this)),this.loadImages(),this.moz&&this.$element.css("margin-top",""))},t.select=function(){this.selected||(this.selected=!0,this.pselected=!1,this.$element.addClass("ms-sl-selected"))},t.unselect=function(){(this.pselected=!1,this.moz&&this.$element.css("margin-top","0.1px"),(this.link||this.video)&&(this.view.removeEventListener(MSLViewEvents.SWIPE_START,this.onSwipeStart,this),this.view.removeEventListener(MSLViewEvents.SWIPE_CANCEL,this.onSwipeCancel,this)),this.selected)&&(this.selected=!1,this.$element.removeClass("ms-sl-selected"),this.video&&this.vplayed&&(this.__closeVideo(),this.roc=!1))},t.sleep=function(n){(!this.isSleeping||n)&&(this.isSleeping=!0,this.autoAppend&&this.$element.detach())},t.wakeup=function(){this.isSleeping&&(this.isSleeping=!1,this.autoAppend&&this.view.$slideCont.append(this.$element),this.moz&&this.$element.css("margin-top","0.1px"),this.setup(),this.hasBG&&this.bgAligner.align())}}(jQuery),function(n){"use strict";var i={},t;window.MSLSlideController=function(n){this._delayProgress=0,this._timer=new averta.Timer(100),this._timer.onTimer=this.onTimer,this._timer.refrence=this,this.currentSlide=null,this.slider=n,this.so=n.options,averta.EventDispatcher.call(this)},MSLSlideController.registerView=function(n,t){if(n in i)throw new Error(n+", is already registered.");i[n]=t},MSLSlideController.SliderControlList={},MSLSlideController.registerControl=function(n,t){if(n in MSLSlideController.SliderControlList)throw new Error(n+", is already registered.");MSLSlideController.SliderControlList[n]=t},t=MSLSlideController.prototype,t.setupView=function(){var t=this,u,r;this.resize_listener=function(){t.__resize()},u={spacing:this.so.space,mouseSwipe:this.so.mouse,loop:this.so.loop,autoHeight:this.so.autoHeight,swipe:this.so.swipe,speed:this.so.speed,dir:this.so.dir,viewNum:this.so.inView,critMargin:this.so.critMargin},this.so.viewOptions&&n.extend(u,this.so.viewOptions),this.so.autoHeight&&(this.so.heightLimit=!1),r=i[this.slider.options.view]||MSLBasicView,r._3dreq&&(!window._css3d||n.browser.msie)&&(r=r._fallback||MSLBasicView),this.view=new r(u),this.so.overPause&&(t=this,this.slider.$element.mouseenter(function(){t.is_over=!0,t._stopTimer()}).mouseleave(function(){t.is_over=!1,t._startTimer()}))},t.onChangeStart=function(){this.change_started=!0,this.currentSlide&&this.currentSlide.unselect(),this.currentSlide=this.view.currentSlide,this.currentSlide.prepareToSelect(),this.so.endPause&&this.currentSlide.index===this.slider.slides.length-1&&(this.pause(),this.skipTimer()),this.so.autoHeight&&this.slider.setHeight(this.currentSlide.getHeight()),this.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.CHANGE_START))},t.onChangeEnd=function(){if(this.change_started=!1,this._startTimer(),this.currentSlide.select(),this.so.preload>1){for(var n,i=this.so.preload-1,t=1;t<=i;++t){if(n=this.view.index+t,n>=this.view.slideList.length)if(this.so.loop)n=n-this.view.slideList.length;else{t=i;continue}this.view.slideList[n].loadImages()}for(i>this.view.slideList.length/2&&(i=Math.floor(this.view.slideList.length/2)),t=1;t<=i;++t){if(n=this.view.index-t,n<0)if(this.so.loop)n=this.view.slideList.length+n;else{t=i;continue}this.view.slideList[n].loadImages()}}this.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.CHANGE_END))},t.onSwipeStart=function(){this.skipTimer()},t.skipTimer=function(){this._timer.reset(),this._delayProgress=0,this.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.WAITING))},t.onTimer=function(){this._timer.getTime()>=this.view.currentSlide.delay*1e3&&(this.skipTimer(),this.view.next(),this.hideCalled=!1),this._delayProgress=this._timer.getTime()/(this.view.currentSlide.delay*10),this.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.WAITING))},t._stopTimer=function(){this._timer&&this._timer.stop()},t._startTimer=function(){this.paused||this.is_over||!this.currentSlide||!this.currentSlide.ready||this.change_started||this._timer.start()},t.__appendSlides=function(){var t,i,n=0,r=this.view.slideList.length-1;for(n;n<r;++n)t=this.view.slideList[n],t.detached||(t.$element.detach(),t.detached=!0);for(this.view.appendSlide(this.view.slideList[this.view.index]),r=3,n=1;n<=r;++n){if(i=this.view.index+n,i>=this.view.slideList.length)if(this.so.loop)i=i-this.view.slideList.length;else{n=r;continue}t=this.view.slideList[i],t.detached=!1,this.view.appendSlide(t)}for(r>this.view.slideList.length/2&&(r=Math.floor(this.view.slideList.length/2)),n=1;n<=r;++n){if(i=this.view.index-n,i<0)if(this.so.loop)i=this.view.slideList.length+i;else{n=r;continue}t=this.view.slideList[i],t.detached=!1,this.view.appendSlide(t)}},t.__resize=function(n){this.created&&(this.width=this.slider.$element[0].clientWidth||this.so.width,this.so.fullwidth||(this.width=Math.min(this.width,this.so.width)),this.height=this.width/this.slider.aspect,this.so.autoHeight?(this.currentSlide.setSize(this.width,null,n),this.view.setSize(this.width,this.currentSlide.getHeight(),n)):this.view.setSize(this.width,this.so.heightLimit?Math.min(this.height,this.so.height):this.height,n),this.slider.$controlsCont&&this.so.centerControls&&this.so.fullwidth&&this.view.$element.css("left",Math.min(0,-(this.slider.$element[0].clientWidth-this.so.width)/2)+"px"),this.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.RESIZE)))},t.__dispatchInit=function(){this.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.INIT))},t.setup=function(){if(this.created=!0,this.paused=!this.so.autoplay,this.view.addEventListener(MSLViewEvents.CHANGE_START,this.onChangeStart,this),this.view.addEventListener(MSLViewEvents.CHANGE_END,this.onChangeEnd,this),this.view.addEventListener(MSLViewEvents.SWIPE_START,this.onSwipeStart,this),this.currentSlide=this.view.slideList[this.so.start-1],this.__resize(),this.view.create(this.so.start-1),this.so.preload===0&&this.view.slideList[0].loadImages(),this.scroller=this.view.controller,this.so.wheel){var t=this,i=(new Date).getTime();this.wheellistener=function(n){var f=(new Date).getTime(),r,u;if(!(f-i<350))return i=f,r=window.event||n.orginalEvent||n,u=Math.max(-1,Math.min(1,r.wheelDelta||-r.detail)),u<0?t.next():u>0&&t.previous(),!1},n.browser.mozilla?this.slider.$element[0].addEventListener("DOMMouseScroll",this.wheellistener):this.slider.$element.bind("mousewheel",this.wheellistener)}this.slider.$element[0].clientWidth===0&&(this.slider.init_safemode=!0),this.__resize()},t.index=function(){return this.view.index},t.count=function(){return this.view.slidesCount},t.next=function(){this.skipTimer(),this.view.next()},t.previous=function(){this.skipTimer(),this.view.previous()},t.gotoSlide=function(n){n=Math.min(n,this.count()-1),this.skipTimer(),this.view.gotoSlide(n)},t.destroy=function(n){this.slider.destroy(n)},t._destroy=function(){this._timer.reset(),this._timer=null,n(window).unbind("resize",this.resize_listener),this.view.destroy(),this.view=null,this.so.wheel&&(n.browser.mozilla?this.slider.$element[0].removeEventListener("DOMMouseScroll",this.wheellistener):this.slider.$element.unbind("mousewheel",this.wheellistener),this.wheellistener=null),this.so=null},t.runAction=function(n){var t=[],i;n.indexOf("(")!==-1&&(i=n.slice(0,n.indexOf("(")),t=n.slice(n.indexOf("(")+1,-1).replace(/\"|\'|\s/g,"").split(","),n=i),n in this?this[n].apply(this,t):console&&console.log('Master Slider Error: Action "'+n+'" not found.')},t.update=function(n){this.slider.init_safemode&&n&&(this.slider.init_safemode=!1),this.__resize(n)},t.locate=function(){this.__resize()},t.resume=function(){this.paused&&(this.paused=!1,this._startTimer())},t.pause=function(){this.paused||(this.paused=!0,this._stopTimer())},t.currentTime=function(){return this._delayProgress},averta.EventDispatcher.extend(t)}(jQuery),function(n){"use strict";window.MasterSliderLite=function(){this.options={autoplay:!1,loop:!1,mouse:!0,swipe:!0,grabCursor:!0,space:0,fillMode:"fill",start:1,view:"basic",width:300,height:150,inView:15,critMargin:1,heightLimit:!0,smoothHeight:!0,autoHeight:!1,fullwidth:!1,fullheight:!1,autofill:!1,endPause:!1,centerControls:!0,overPause:!0,shuffle:!1,speed:17,dir:"h",preload:0,wheel:!1,layout:"boxed"},this.slides=[],this.$element=null,this.lastMargin=0,this.leftSpace=0,this.topSpace=0,this.rightSpace=0,this.bottomSpace=0;var t=this;this.resize_listener=function(){t._resize()},n(window).bind("resize",this.resize_listener)},MasterSliderLite.author="Averta Ltd. (www.averta.net)",MasterSliderLite.version="1.1.0",MasterSliderLite.releaseDate="Sept 2014";var t=MasterSliderLite.prototype;t.__setupSlides=function(){var i=this,t,r=0;this.$element.children(".ms-slide").each(function(){var u=n(this),e,f,o,s;if(t=new MSLSlide,t.$element=u,t.slider=i,t.delay=u.data("delay")!==undefined?u.data("delay"):3,t.fillMode=u.data("fill-mode")!==undefined?u.data("fill-mode"):i.options.fillMode,t.index=r++,e=u.children("img:not(.ms-layer)"),e.length>0&&t.setBG(e[0]),i.controls)for(f=0,o=i.controls.length;f<o;++f)i.controls[f].slideAction(t);s=u.children("a").each(function(){var i=n(this);this.getAttribute("data-type")==="video"?(t.video=this.getAttribute("href"),i.remove()):i.hasClass("ms-layer")||(t.link=this.getAttribute("href"),t.link_targ=this.getAttribute("target"),i.remove())}),i.slides.push(t),i.slideController.view.addSlide(t)})},t._removeLoading=function(){n(window).unbind("resize",this.resize_listener),this.$element=n("#"+this.id).removeClass("before-init").css("visibility","visible").css("height","").css("opacity",0),CTween.fadeIn(this.$element),this.$loading.remove(),this.slideController&&this.slideController.__resize()},t._resize=function(){if(this.$loading){var n=this.$loading[0].clientWidth/this.aspect;n=this.options.heightLimit?Math.min(n,this.options.height):n,this.$loading.height(n),this.$element.height(n)}},t._shuffleSlides=function(){for(var t=this.$element.children(".ms-slide"),i,n=0,r=t.length;n<r;++n)i=Math.floor(Math.random()*(r-1)),n!=i&&(this.$element[0].insertBefore(t[n],t[i]),t=this.$element.children(".ms-slide"))},t._setupSliderLayout=function(){this._updateSideMargins(),this.lastMargin=this.leftSpace;var t=this.options.layout;t!=="boxed"&&(this.options.fullwidth=!0),t==="fullwidth"&&(n(window).bind("resize",{that:this},this._updateLayout),this._updateLayout()),n(window).bind("resize",this.slideController.resize_listener)},t._updateLayout=function(t){var i=t?t.data.that:this,f=i.options.layout,r=i.$element,u;r.width(n("body").innerWidth()-i.leftSpace-i.rightSpace),u=-r.offset().left+i.leftSpace+i.lastMargin,r.css("margin-left",u),i.lastMargin=u},t._init=function(){var t,r,i;if(!this.preventInit){if(this.initialized=!0,this.options.preload!=="all"&&this._removeLoading(),this.options.shuffle&&this._shuffleSlides(),this.slideController.setupView(),this.view=this.slideController.view,this.$controlsCont=n("<div><\/div>").addClass("ms-inner-controls-cont"),this.options.centerControls&&this.$controlsCont.css("max-width",this.options.width+"px"),this.$controlsCont.prepend(this.view.$element),this.$msContainer=n("<div><\/div>").addClass("ms-container").prependTo(this.$element).append(this.$controlsCont),this.controls)for(t=0,r=this.controls.length;t<r;++t)this.controls[t].setup();if(this._setupSliderLayout(),this.__setupSlides(),this.slideController.setup(),this.controls)for(t=0,r=this.controls.length;t<r;++t)this.controls[t].create();this.options.autoHeight&&this.slideController.view.$element.height(this.slideController.currentSlide.getHeight()),this.options.swipe&&!window._touch&&this.options.grabCursor&&this.options.mouse&&(i=this.view.$element,i.mousedown(function(){i.removeClass("ms-grab-cursor"),i.addClass("ms-grabbing-cursor")}).addClass("ms-grab-cursor"),n(document).mouseup(function(){i.removeClass("ms-grabbing-cursor"),i.addClass("ms-grab-cursor")})),this.slideController.__dispatchInit()}},t.setHeight=function(n){this.options.smoothHeight?(this.htween&&(this.htween.reset?this.htween.reset():this.htween.stop(!0)),this.htween=CTween.animate(this.slideController.view.$element,500,{height:n},{ease:"easeOutQuart"})):this.slideController.view.$element.height(n)},t.reserveSpace=function(n,t){var i=n+"Space",r=this[i];return this[i]+=t,this._updateSideMargins(),r},t._updateSideMargins=function(){this.$element.css("margin",this.topSpace+"px "+this.rightSpace+"px "+this.bottomSpace+"px "+this.leftSpace+"px")},t._realignControls=function(){this.rightSpace=this.leftSpace=this.topSpace=this.bottomSpace=0,this._updateSideMargins(),this.api.dispatchEvent(new MSLSliderEvent(MSLSliderEvent.RESERVED_SPACE_CHANGE))},t.control=function(n,t){if(n in MSLSlideController.SliderControlList){this.controls||(this.controls=[]);var i=new MSLSlideController.SliderControlList[n](t);return i.slider=this,this.controls.push(i),this}},t.setup=function(t,i){var r,u,f;if(this.id=t,this.$element=typeof t=="string"?n("#"+t):t.eq(0),this.setupMarkup=this.$element.html(),this.$element.length!==0)return this.$element.addClass("master-slider").addClass("before-init"),n.browser.msie&&this.$element.addClass("ms-ie").addClass("ms-ie"+n.browser.version.slice(0,n.browser.version.indexOf("."))),r=navigator.userAgent.toLowerCase(),u=r.indexOf("android")>-1,u&&this.$element.addClass("ms-android"),f=this,n.extend(this.options,i),this.aspect=this.options.width/this.options.height,this.$loading=n("<div><\/div>").addClass("ms-loading-container").insertBefore(this.$element).append(n("<div><\/div>").addClass("ms-loading")),this.$loading.parent().css("position","relative"),this.options.autofill&&(this.options.fullwidth=!0,this.options.fullheight=!0),this.options.fullheight&&this.$element.addClass("ms-fullheight"),this._resize(),this.slideController=new MSLSlideController(this),this.api=this.slideController,n(document).ready(function(){f._init()}),this},t.destroy=function(t){var i,r,u;if(this.controls)for(i=0,r=this.controls.length;i!==r;i++)this.controls[i].destroy();this.slideController&&this.slideController._destroy(),this.$loading&&this.$loading.remove(),t?this.$element.html(this.setupMarkup).css("visibility","hidden"):this.$element.remove(),u=this.options.layout,u==="fullwidth"&&n(window).unbind("resize",this._updateLayout),this.view=null,this.slides=null,this.options=null,this.slideController=null,this.api=null,this.resize_listener=null}}(jQuery),window.MSLViewEvents=function(n){this.type=n},MSLViewEvents.SWIPE_START="swipeStart",MSLViewEvents.SWIPE_END="swipeEnd",MSLViewEvents.SWIPE_MOVE="swipeMove",MSLViewEvents.SWIPE_CANCEL="swipeCancel",MSLViewEvents.SCROLL="scoll",MSLViewEvents.CHANGE_START="slideChangeStart",MSLViewEvents.CHANGE_END="slideChangeEnd",function(n){"use strict";window.MSLBasicView=function(t){this.options={loop:!1,dir:"h",autoHeight:!1,spacing:5,mouseSwipe:!0,swipe:!0,speed:17,minSlideSpeed:2,viewNum:20,critMargin:1},n.extend(this.options,t),this.dir=this.options.dir,this.loop=this.options.loop,this.spacing=this.options.spacing,this.__width=0,this.__height=0,this.__cssProb=this.dir==="h"?"left":"top",this.__offset=this.dir==="h"?"offsetLeft":"offsetTop",this.__dimension=this.dir==="h"?"__width":"__height",this.__translate_end=window._css3d?" translateZ(0px)":"",this.$slideCont=n("<div><\/div>").addClass("ms-slide-container"),this.$element=n("<div><\/div>").addClass("ms-view").addClass("ms-basic-view").append(this.$slideCont),this.currentSlide=null,this.index=-1,this.slidesCount=0,this.slides=[],this.slideList=[],this.viewSlidesList=[],this.css3=window._cssanim,this.start_buffer=0,this.firstslide_snap=0,this.controller=new Controller(0,0,{snapping:!0,snapsize:100,paging:!0,snappingMinSpeed:this.options.minSlideSpeed,friction:(100-this.options.speed*.5)/100,endless:this.loop}),this.controller.renderCallback(this.dir==="h"?this._horizUpdate:this._vertiUpdate,this),this.controller.snappingCallback(this.__snapUpdate,this),this.controller.snapCompleteCallback(this.__snapCompelet,this),averta.EventDispatcher.call(this)};var t=MSLBasicView.prototype;t.__snapCompelet=function(){this.__locateSlides(),this.start_buffer=0,this.dispatchEvent(new MSLViewEvents(MSLViewEvents.CHANGE_END))},t.__snapUpdate=function(t,i,r){var u,f;if(this.loop)u=this.index+r,this.updateLoop(u),u>=this.slidesCount&&(u=u-this.slidesCount),u<0&&(u=this.slidesCount+u),this.index=u;else{if(i<0||i>=this.slidesCount)return;this.index=i}(this._checkCritMargins(),n.browser.mozilla&&(this.slideList[this.index].$element[0].style.marginTop="0.1px",this.currentSlide&&(this.currentSlide.$element[0].style.marginTop="")),f=this.slideList[this.index],f!==this.currentSlide)&&(this.currentSlide=f,this.__updateSlidesZindex(),this.dispatchEvent(new MSLViewEvents(MSLViewEvents.CHANGE_START)))},t._checkCritMargins=function(){if(!this.normalMode){var r=Math.floor(this.options.viewNum/2),t=this.viewSlidesList.indexOf(this.slideList[this.index]),i=this[this.__dimension]+this.spacing,n=this.options.critMargin;if(this.loop){(t<=n||t>=this.viewSlidesList.length-n)&&(i*=t-r,this.__locateSlides(!1,i+this.start_buffer),this.start_buffer+=i);return}(t<n&&this.index>=n||t>=this.viewSlidesList.length-n&&this.index<this.slidesCount-n)&&this.__locateSlides(!1)}},t._vertiUpdate=function(n,t){if(this.__contPos=t,this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SCROLL)),this.css3){this.$slideCont[0].style[window._jcsspfx+"Transform"]="translateY("+-t+"px)"+this.__translate_end;return}this.$slideCont[0].style.top=-t+"px"},t._horizUpdate=function(n,t){if(this.__contPos=t,this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SCROLL)),this.css3){this.$slideCont[0].style[window._jcsspfx+"Transform"]="translateX("+-t+"px)"+this.__translate_end;return}this.$slideCont[0].style.left=-t+"px"},t.__updateViewList=function(){var t,n,i,r;if(this.normalMode){this.viewSlidesList=this.slides;return}if(t=this.viewSlidesList.slice(),this.viewSlidesList=[],n=0,i=Math.floor(this.options.viewNum/2),this.loop)for(;n!==this.options.viewNum;n++)this.viewSlidesList.push(this.slides[this.currentSlideLoc-i+n]);else{for(n=0;n!==i&&this.index-n!=-1;n++)this.viewSlidesList.unshift(this.slideList[this.index-n]);for(n=1;n!==i&&this.index+n!==this.slidesCount;n++)this.viewSlidesList.push(this.slideList[this.index+n])}for(n=0,r=t.length;n!==r;n++)this.viewSlidesList.indexOf(t[n])===-1&&t[n].sleep();t=null,this.currentSlide&&this.__updateSlidesZindex()},t.__locateSlides=function(n,t){var f,r,i,u;for(this.__updateViewList(),t=this.loop?t||0:this.slides.indexOf(this.viewSlidesList[0])*(this[this.__dimension]+this.spacing),f=this.viewSlidesList.length,i=0;i!==f;i++)u=t+i*(this[this.__dimension]+this.spacing),r=this.viewSlidesList[i],r.wakeup(),r.position=u,r.$element[0].style[this.__cssProb]=u+"px";n!==!1&&this.controller.changeTo(this.slideList[this.index].position,!1,null,null,!1)},t.__createLoopList=function(){var t=[],n=0,i=this.slidesCount/2,r=this.slidesCount%2==0?i-1:Math.floor(i),u=this.slidesCount%2==0?i:Math.floor(i);for(this.currentSlideLoc=r,n=1;n<=r;++n)t.unshift(this.slideList[this.index-n<0?this.slidesCount-n+this.index:this.index-n]);for(t.push(this.slideList[this.index]),n=1;n<=u;++n)t.push(this.slideList[this.index+n>=this.slidesCount?this.index+n-this.slidesCount:this.index+n]);return t},t.__getSteps=function(n,t){var i=t<n?this.slidesCount-n+t:t-n,r=Math.abs(this.slidesCount-i);return i<r?i:-r},t.__pushEnd=function(){var n=this.slides.shift(),i=this.slides[this.slidesCount-2],t;(this.slides.push(n),this.normalMode)&&(t=i.$element[0][this.__offset]+this.spacing+this[this.__dimension],n.$element[0].style[this.__cssProb]=t+"px",n.position=t)},t.__pushStart=function(){var n=this.slides.pop(),i=this.slides[0],t;(this.slides.unshift(n),this.normalMode)&&(t=i.$element[0][this.__offset]-this.spacing-this[this.__dimension],n.$element[0].style[this.__cssProb]=t+"px",n.position=t)},t.__updateSlidesZindex=function(){var u,t,f,r,n;if(this.autoUpdateZIndex)if(t=this.viewSlidesList.length,f=Math.floor(t/2),this.loop)for(r=this.viewSlidesList.indexOf(this.currentSlide),n=0;n!==t;n++)u=this.viewSlidesList[n],this.viewSlidesList[n].$element.css("z-index",n<=r?n+1:t-n);else{var i=this.currentSlide.index-this.viewSlidesList[0].index,e=t-i,o=i-e;for(n=0;n!==t;n++)this.viewSlidesList[n].$element.css("z-index",n<=i?n+1:t-n);this.currentSlide.$element.css("z-index",t)}},t.addSlide=function(n){n.view=this,this.slides.push(n),this.slideList.push(n),this.slidesCount++},t.appendSlide=function(n){this.$slideCont.append(n.$element)},t.updateLoop=function(n){var t,i,r;if(this.loop)for(t=this.__getSteps(this.index,n),i=0,r=Math.abs(t);i<r;++i)t<0?this.__pushStart():this.__pushEnd()},t.gotoSlide=function(n,t){this.updateLoop(n),this.index=n;var i=this.slideList[this.index];(this._checkCritMargins(),this.controller.changeTo(i.position,!t,null,null,!1),i!==this.currentSlide)&&(this.currentSlide=i,this.__updateSlidesZindex(),this.dispatchEvent(new MSLViewEvents(MSLViewEvents.CHANGE_START)),t&&this.dispatchEvent(new MSLViewEvents(MSLViewEvents.CHANGE_END)))},t.next=function(){this.gotoSlide(this.index+1>=this.slidesCount?0:this.index+1)},t.previous=function(){this.gotoSlide(this.index-1<0?this.slidesCount-1:this.index-1)},t.setupSwipe=function(){this.swipeControl=new averta.TouchSwipe(this.$element),this.swipeControl.swipeType=this.dir==="h"?"horizontal":"vertical";var n=this;this.swipeControl.onSwipe=this.dir==="h"?function(t){n.horizSwipeMove(t)}:function(t){n.vertSwipeMove(t)}},t.vertSwipeMove=function(n){var t=n.phase,i;t==="start"?(this.controller.stop(),this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SWIPE_START))):t==="move"&&(!this.loop||Math.abs(this.currentSlide.position-this.controller.value+n.moveY)<this.cont_size/2)?this.controller.drag(n.moveY):(t==="end"||t==="cancel")&&(i=n.distanceY/n.duration*50/3,Math.abs(i)>.1?(this.controller.push(-i),i>this.controller.options.snappingMinSpeed&&this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SWIPE_END))):(this.controller.cancel(),this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SWIPE_CANCEL))))},t.horizSwipeMove=function(n){var t=n.phase,i;t==="start"?(this.controller.stop(),this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SWIPE_START))):t==="move"&&(!this.loop||Math.abs(this.currentSlide.position-this.controller.value+n.moveX)<this.cont_size/2)?this.controller.drag(n.moveX):(t==="end"||t==="cancel")&&(i=n.distanceX/n.duration*50/3,Math.abs(i)>.1?(this.controller.push(-i),i>this.controller.options.snappingMinSpeed&&this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SWIPE_END))):(this.controller.cancel(),this.dispatchEvent(new MSLViewEvents(MSLViewEvents.SWIPE_CANCEL))))},t.setSize=function(n,t,i){if(this.lastWidth!==n||t!==this.lastHeight||i){this.$element.width(n).height(t);for(var r=0;r<this.slidesCount;++r)this.slides[r].setSize(n,t,i);this.__width=n,this.__height=t,this.__created&&(this.__locateSlides(),this.cont_size=(this.slidesCount-1)*(this[this.__dimension]+this.spacing),this.loop||(this.controller._max_value=this.cont_size),this.controller.options.snapsize=this[this.__dimension]+this.spacing,this.controller.changeTo(this.currentSlide.position,!1,null,null,!1),this.controller.cancel(),this.lastWidth=n,this.lastHeight=t)}},t.create=function(n){this.__created=!0,this.index=Math.min(n||0,this.slidesCount-1),this.loop&&(this.slides=this.__createLoopList()),this.normalMode=this.slidesCount<=this.options.viewNum;for(var t=0;t<this.slidesCount;++t)this.slides[t].create();this.__locateSlides(),this.controller.options.snapsize=this[this.__dimension]+this.spacing,this.loop||(this.controller._max_value=(this.slidesCount-1)*(this[this.__dimension]+this.spacing)),this.gotoSlide(this.index,!0),this.options.swipe&&(window._touch||this.options.mouseSwipe)&&this.setupSwipe()},t.destroy=function(){if(this.__created){for(var n=0;n<this.slidesCount;++n)this.slides[n].destroy();this.slides=null,this.slideList=null,this.$element.remove(),this.controller.destroy(),this.controller=null}},averta.EventDispatcher.extend(t),MSLSlideController.registerView("basic",MSLBasicView)}(jQuery),function(){"use strict";window.MSLFadeView=function(n){MSLBasicView.call(this,n),this.$element.removeClass("ms-basic-view").addClass("ms-fade-view"),this.controller.renderCallback(this.__update,this)},MSLFadeView.extend(MSLBasicView);var n=MSLFadeView.prototype,t=MSLBasicView.prototype;n.__update=function(n,t){for(var f=-t,r,u,i=0;i<this.slidesCount;++i)r=this.slideList[i],u=-f-r.position,this.__updateSlides(r,u)},n.__updateSlides=function(n,t){var i=Math.abs(t/this[this.__dimension]);1-i<=0?n.$element.fadeTo(0,0).css("visibility","hidden"):n.$element.fadeTo(0,1-i).css("visibility","")},n.__locateSlides=function(n,t){var u,r,i,f;for(this.__updateViewList(),t=this.loop?t||0:this.slides.indexOf(this.viewSlidesList[0])*(this[this.__dimension]+this.spacing),u=this.viewSlidesList.length,i=0;i!==u;i++)f=t+i*this[this.__dimension],r=this.viewSlidesList[i],r.wakeup(),r.position=f;n!==!1&&this.controller.changeTo(this.slideList[this.index].position,!1,null,null,!1)},n.__pushEnd=function(){var n=this.slides.shift(),t=this.slides[this.slidesCount-2];this.slides.push(n),n.position=t.position+this[this.__dimension]},n.__pushStart=function(){var n=this.slides.pop(),t=this.slides[0];this.slides.unshift(n),n.position=t.position-this[this.__dimension]},n.create=function(n){t.create.call(this,n),this.spacing=0,this.controller.options.minValidDist=10},MSLSlideController.registerView("fade",MSLFadeView)}(jQuery),function(n){"use strict";var i=function(){this.options={prefix:"ms-",autohide:!0,overVideo:!0}},t=i.prototype;t.slideAction=function(){},t.setup=function(){this.cont=this.options.insertTo?n(this.options.insertTo):this.slider.$controlsCont,this.options.overVideo||this._hideOnvideoStarts()},t.checkHideUnder=function(){this.options.hideUnder&&(this.needsRealign=!this.options.insetTo&&(this.options.align==="left"||this.options.align==="right")&&this.options.inset===!1,n(window).bind("resize",{that:this},this.onResize),this.onResize())},t.onResize=function(n){var t=n&&n.data.that||this,i=window.innerWidth;i<=t.options.hideUnder&&!t.detached?(t.hide(!0),t.detached=!0,t.onDetach()):i>=t.options.hideUnder&&t.detached&&(t.detached=!1,t.visible(),t.onAppend())},t.create=function(){var t=this;this.options.autohide&&!window._touch&&(this.hide(!0),this.slider.$controlsCont.mouseenter(n.proxy(this._onMouseEnter,this)).mouseleave(n.proxy(this._onMouseLeave,this)).mousedown(n.proxy(this._onMouseDown,this)),this.$element&&this.$element.mouseenter(n.proxy(this._onMouseEnter,this)).mouseleave(n.proxy(this._onMouseLeave,this)).mousedown(n.proxy(this._onMouseDown,this)),n(document).mouseup(n.proxy(this._onMouseUp,this)))},t._onMouseEnter=function(){this._disableAH||this.mdown||this.visible(),this.mleave=!1},t._onMouseLeave=function(){this.mdown||this.hide(),this.mleave=!0},t._onMouseDown=function(){this.mdown=!0},t._onMouseUp=function(){this.mdown&&this.mleave&&this.hide(),this.mdown=!1},t.onAppend=function(){this.needsRealign&&this.slider._realignControls()},t.onDetach=function(){this.needsRealign&&this.slider._realignControls()},t._hideOnvideoStarts=function(){var n=this;slider.api.addEventListener(MSSliderEvent.VIDEO_PLAY,function(){n._disableAH=!0,n.hide()}),slider.api.addEventListener(MSSliderEvent.VIDEO_CLOSE,function(){n._disableAH=!1,n.visible()})},t.hide=function(n){n?(this.$element.css("opacity",0),this.$element.css("display","none")):(clearTimeout(this.hideTo),this.hideTo=setTimeout(function(n){CTween.fadeOut(n,400,!1)},20,this.$element)),this.$element.addClass("ms-ctrl-hide")},t.visible=function(){this.detached||(clearTimeout(this.hideTo),this.$element.css("display",""),CTween.fadeIn(this.$element,400,!1),this.$element.removeClass("ms-ctrl-hide"))},t.destroy=function(){this.options&&this.options.hideUnder&&n(window).unbind("resize",this.onResize)},window.BaseControl=i}(jQuery),function(n){"use strict";var i=function(t){BaseControl.call(this),n.extend(this.options,t)},t,r;i.extend(BaseControl),t=i.prototype,r=BaseControl.prototype,t.setup=function(){var t=this;this.$next=n("<div><\/div>").addClass(this.options.prefix+"nav-next").bind("click",function(){t.slider.options.loop||t.slider.api.index()!==t.slider.api.count()-1?t.slider.api.next():t.slider.view.controller.bounce(10)}),this.$prev=n("<div><\/div>").addClass(this.options.prefix+"nav-prev").bind("click",function(){t.slider.options.loop||t.slider.api.index()!==0?t.slider.api.previous():t.slider.view.controller.bounce(-10)}),r.setup.call(this),this.cont.append(this.$next),this.cont.append(this.$prev),this.checkHideUnder()},t.hide=function(n){if(n){this.$prev.css("opacity",0).css("display","none"),this.$next.css("opacity",0).css("display","none");return}CTween.fadeOut(this.$prev,400,!1),CTween.fadeOut(this.$next,400,!1),this.$prev.addClass("ms-ctrl-hide"),this.$next.addClass("ms-ctrl-hide")},t.visible=function(){this.detached||(CTween.fadeIn(this.$prev,400),CTween.fadeIn(this.$next,400),this.$prev.removeClass("ms-ctrl-hide").css("display",""),this.$next.removeClass("ms-ctrl-hide").css("display",""))},t.destroy=function(){r.destroy(),this.$next.remove(),this.$prev.remove()},window.MSLArrows=i,MSLSlideController.registerControl("arrows",i)}(jQuery),function(n){"use strict";var i=function(t){BaseControl.call(this),this.options.dir="h",this.options.wheel=t.dir==="v",this.options.arrows=!0,this.options.speed=17,this.options.align=null,this.options.inset=!1,this.options.margin=10,this.options.space=10,this.options.width=100,this.options.height=100,this.options.type="thumbs",n.extend(this.options,t),this.thumbs=[],this.index_count=0,this.__dimen=this.options.dir==="h"?"width":"height",this.__alignsize=this.options.dir==="h"?"height":"width",this.__jdimen=this.options.dir==="h"?"outerWidth":"outerHeight",this.__pos=this.options.dir==="h"?"left":"top",this.click_enable=!0},t,r;i.extend(BaseControl),t=i.prototype,r=BaseControl.prototype,t.setup=function(){var i,t;this.$element=n("<div><\/div>").addClass(this.options.prefix+"thumb-list"),this.options.type==="tabs"&&this.$element.addClass(this.options.prefix+"tabs"),this.$element.addClass("ms-dir-"+this.options.dir),r.setup.call(this),this.slider.$controlsCont===this.cont?this.$element.appendTo(this.slider.$element):this.$element.appendTo(this.cont),this.$thumbscont=n("<div><\/div>").addClass("ms-thumbs-cont").appendTo(this.$element),this.options.arrows&&(i=this,this.$fwd=n("<div><\/div>").addClass("ms-thumblist-fwd").appendTo(this.$element).click(function(){i.controller.push(-15)}),this.$bwd=n("<div><\/div>").addClass("ms-thumblist-bwd").appendTo(this.$element).click(function(){i.controller.push(15)})),!this.options.insetTo&&this.options.align&&(t=this.options.align,this.options.inset?this.$element.css(t,this.options.margin):t==="top"?this.$element.detach().prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):t==="bottom"?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align()),this.options.dir==="v"?this.$element.width(this.options.width):this.$element.height(this.options.height)),this.checkHideUnder()},t.align=function(){if(!this.detached){var n=this.options.align,t=this.slider.reserveSpace(n,this.options[this.__alignsize]+this.options.margin*2);this.$element.css(n,-t-this.options[this.__alignsize]-this.options.margin)}},t.slideAction=function(t){var i=n(t.$element.find(".ms-thumb")),f=this,r=n("<div><\/div>").addClass("ms-thumb-frame").append(i).append(n('<div class="ms-thumb-ol"><\/div>')).bind("click",function(){f.changeSlide(r)}),u;if(this.options.align&&r.width(this.options.width).height(this.options.height).css("margin-"+(this.options.dir==="v"?"bottom":"right"),this.options.space),r[0].index=this.index_count++,this.$thumbscont.append(r),this.options.fillMode&&i.is("img")&&(u=new window.MSAligner(this.options.fillMode,r,i),i[0].aligner=u,i.one("load",function(){var t=n(this);t[0].aligner.init(t.width(),t.height()),t[0].aligner.align()}).each(n.jqLoadFix)),n.browser.msie)i.on("dragstart",function(n){n.preventDefault()});this.thumbs.push(r)},t.create=function(){var t;r.create.call(this),this.__translate_end=window._css3d?" translateZ(0px)":"",this.controller=new Controller(0,0,{snappingMinSpeed:2,friction:(100-this.options.speed*.5)/100}),this.controller.renderCallback(this.options.dir==="h"?this._hMove:this._vMove,this),t=this,this.resize_listener=function(){t.__resize()},n(window).bind("resize",this.resize_listener),this.thumbSize=this.thumbs[0][this.__jdimen](!0),this.setupSwipe(),this.__resize(),t=this,this.options.wheel&&(this.wheellistener=function(n){var i=window.event||n.orginalEvent||n,r=Math.max(-1,Math.min(1,i.wheelDelta||-i.detail));return t.controller.push(-r*10),!1},n.browser.mozilla?this.$element[0].addEventListener("DOMMouseScroll",this.wheellistener):this.$element.bind("mousewheel",this.wheellistener)),this.slider.api.addEventListener(MSLSliderEvent.CHANGE_START,this.update,this),this.cindex=this.slider.api.index(),this.select(this.thumbs[this.cindex])},t._hMove=function(n,t){if(this.__contPos=t,window._cssanim){this.$thumbscont[0].style[window._jcsspfx+"Transform"]="translateX("+-t+"px)"+this.__translate_end;return}this.$thumbscont[0].style.left=-t+"px"},t._vMove=function(n,t){if(this.__contPos=t,window._cssanim){this.$thumbscont[0].style[window._jcsspfx+"Transform"]="translateY("+-t+"px)"+this.__translate_end;return}this.$thumbscont[0].style.top=-t+"px"},t.setupSwipe=function(){this.swipeControl=new averta.TouchSwipe(this.$element),this.swipeControl.swipeType=this.options.dir==="h"?"horizontal":"vertical";var n=this;this.swipeControl.onSwipe=this.options.dir==="h"?function(t){n.horizSwipeMove(t)}:function(t){n.vertSwipeMove(t)}},t.vertSwipeMove=function(n){var t,i;this.dTouch||(t=n.phase,t==="start"?this.controller.stop():t==="move"?this.controller.drag(n.moveY):(t==="end"||t==="cancel")&&(i=Math.abs(n.distanceY/n.duration*50/3),i>.1?this.controller.push(-n.distanceY/n.duration*50/3):(this.click_enable=!0,this.controller.cancel())))},t.horizSwipeMove=function(n){var t,i;this.dTouch||(t=n.phase,t==="start"?(this.controller.stop(),this.click_enable=!1):t==="move"?this.controller.drag(n.moveX):(t==="end"||t==="cancel")&&(i=Math.abs(n.distanceX/n.duration*50/3),i>.1?this.controller.push(-n.distanceX/n.duration*50/3):(this.click_enable=!0,this.controller.cancel())))},t.update=function(){var n=this.slider.api.index();this.cindex!==n&&(this.cindex!=null&&this.unselect(this.thumbs[this.cindex]),this.cindex=n,this.select(this.thumbs[this.cindex]),this.dTouch||this.updateThumbscroll())},t.updateThumbscroll=function(){var n=this.thumbSize*this.cindex,t;if(this.controller.value==NaN&&(this.controller.value=0),n-this.controller.value<0){this.controller.gotoSnap(this.cindex,!0);return}if(n+this.thumbSize-this.controller.value>this.$element[this.__dimen]()){t=this.cindex-Math.floor(this.$element[this.__dimen]()/this.thumbSize)+1,this.controller.gotoSnap(t,!0);return}},t.changeSlide=function(n){this.click_enable&&this.cindex!==n[0].index&&this.slider.api.gotoSlide(n[0].index)},t.unselect=function(n){n.removeClass("ms-thumb-frame-selected")},t.select=function(n){n.addClass("ms-thumb-frame-selected")},t.__resize=function(){var n=this.$element[this.__dimen](),t;this.ls!==n&&(this.ls=n,this.thumbSize=this.thumbs[0][this.__jdimen](!0),t=this.slider.api.count()*this.thumbSize,this.$thumbscont[0].style[this.__dimen]=t+"px",t<=n?(this.dTouch=!0,this.controller.stop(),this.$thumbscont[0].style[this.__pos]=(n-t)*.5+"px",this.$thumbscont[0].style[window._jcsspfx+"Transform"]=""):(this.dTouch=!1,this.click_enable=!0,this.$thumbscont[0].style[this.__pos]="",this.controller._max_value=t-n,this.controller.options.snapsize=this.thumbSize,this.updateThumbscroll()))},t.destroy=function(){r.destroy(),this.options.wheel&&(n.browser.mozilla?this.$element[0].removeEventListener("DOMMouseScroll",this.wheellistener):this.$element.unbind("mousewheel",this.wheellistener),this.wheellistener=null),n(window).unbind("resize",this.resize_listener),this.$element.remove(),this.slider.api.removeEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.slider.api.removeEventListener(MSLSliderEvent.CHANGE_START,this.update,this)},window.MSLThumblist=i,MSLSlideController.registerControl("thumblist",i)}(jQuery),function(n){"use strict";var i=function(t){BaseControl.call(this),this.options.dir="h",this.options.inset=!0,this.options.margin=10,this.options.space=10,n.extend(this.options,t),this.bullets=[]},t,r;i.extend(BaseControl),t=i.prototype,r=BaseControl.prototype,t.setup=function(){if(r.setup.call(this),this.$element=n("<div><\/div>").addClass(this.options.prefix+"bullets").addClass("ms-dir-"+this.options.dir).appendTo(this.cont),this.$bullet_cont=n("<div><\/div>").addClass("ms-bullets-count").appendTo(this.$element),!this.options.insetTo&&this.options.align){var t=this.options.align;this.options.inset&&this.$element.css(t,this.options.margin)}this.checkHideUnder()},t.create=function(){var u,i,t;for(r.create.call(this),u=this,this.slider.api.addEventListener(MSLSliderEvent.CHANGE_START,this.update,this),this.cindex=this.slider.api.index(),i=0;i<this.slider.api.count();++i){t=n("<div><\/div>").addClass("ms-bullet"),t[0].index=i;t.on("click",function(){u.changeSlide(this.index)});this.$bullet_cont.append(t),this.bullets.push(t),this.options.dir==="h"?t.css("margin",this.options.space/2):t.css("margin",this.options.space)}this.options.dir==="h"?this.$element.width(t.outerWidth(!0)*this.slider.api.count()):this.$element.css("margin-top",-this.$element.outerHeight(!0)/2),this.select(this.bullets[this.cindex])},t.update=function(){var n=this.slider.api.index();this.cindex!==n&&(this.cindex!=null&&this.unselect(this.bullets[this.cindex]),this.cindex=n,this.select(this.bullets[this.cindex]))},t.changeSlide=function(n){this.cindex!==n&&this.slider.api.gotoSlide(n)},t.unselect=function(n){n.removeClass("ms-bullet-selected")},t.select=function(n){n.addClass("ms-bullet-selected")},t.destroy=function(){r.destroy(),this.slider.api.removeEventListener(MSLSliderEvent.CHANGE_START,this.update,this),this.$element.remove()},window.MSLBulltes=i,MSLSlideController.registerControl("bullets",i)}(jQuery),function(n){"use strict";var i=function(t){BaseControl.call(this),this.options.dir="h",this.options.autohide=!0,this.options.width=4,this.options.color="#3D3D3D",this.options.margin=10,n.extend(this.options,t),this.__dimen=this.options.dir==="h"?"width":"height",this.__jdimen=this.options.dir==="h"?"outerWidth":"outerHeight",this.__pos=this.options.dir==="h"?"left":"top",this.__translate_end=window._css3d?" translateZ(0px)":"",this.__translate_start=this.options.dir==="h"?" translateX(":"translateY("},t,r;i.extend(BaseControl),t=i.prototype,r=BaseControl.prototype,t.setup=function(){if(this.$element=n("<div><\/div>").addClass(this.options.prefix+"sbar").addClass("ms-dir-"+this.options.dir),r.setup.call(this),this.slider.$controlsCont===this.cont?this.$element.appendTo(this.slider.$element):this.$element.appendTo(this.cont),this.$bar=n("<div><\/div>").addClass(this.options.prefix+"bar").appendTo(this.$element),this.slider.options.loop&&(console.log("WARNING, MSLScrollbar cannot work with looped slider."),this.disable=!0,this.$element.remove()),this.options.dir==="v"?this.$bar.width(this.options.width):this.$bar.height(this.options.width),this.$bar.css("background-color",this.options.color),!this.options.insetTo&&this.options.align){this.options.dir==="v"?this.$element.css({right:"auto",left:"auto"}):this.$element.css({top:"auto",bottom:"auto"});var t=this.options.align;this.options.inset?this.$element.css(t,this.options.margin):t==="top"?this.$element.prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):t==="bottom"?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align())}this.checkHideUnder()},t.align=function(){if(!this.detached){var n=this.options.align,t=this.slider.reserveSpace(n,this.options.margin*2+this.options.width);this.$element.css(n,-t-this.options.margin-this.options.width)}},t.create=function(){if(!this.disable){var n=this;this.scroller=this.slider.api.scroller,this.slider.api.view.addEventListener(MSLViewEvents.SCROLL,this._update,this),this.slider.api.addEventListener(MSLSliderEvent.RESIZE,this._resize,this),this._resize(),this.options.autohide&&this.$bar.css("opacity","0")}},t._resize=function(){this.vdimen=this.$element[this.__dimen](),this.bar_dimen=this.slider.api.view["__"+this.__dimen]*this.vdimen/this.scroller._max_value,this.$bar[this.__dimen](this.bar_dimen)},t._update=function(){var n=this.scroller.value*(this.vdimen-this.bar_dimen)/this.scroller._max_value,t;if(this.lvalue!==n){if(this.lvalue=n,this.options.autohide&&(clearTimeout(this.hto),this.$bar.css("opacity","1"),t=this,this.hto=setTimeout(function(){t.$bar.css("opacity","0")},150)),n<0){this.$bar[0].style[this.__dimen]=this.bar_dimen+n+"px";return}if(n>this.vdimen-this.bar_dimen&&(this.$bar[0].style[this.__dimen]=this.vdimen-n+"px"),window._cssanim){this.$bar[0].style[window._jcsspfx+"Transform"]=this.__translate_start+n+"px)"+this.__translate_end;return}this.$bar[0].style[this.__pos]=n+"px"}},t.destroy=function(){r.destroy(),this.slider.api.view.removeEventListener(MSLViewEvents.SCROLL,this._update,this),this.slider.api.removeEventListener(MSLSliderEvent.RESIZE,this._resize,this),this.slider.api.removeEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.$element.remove()},window.MSLScrollbar=i,MSLSlideController.registerControl("scrollbar",i)}(jQuery),function(n){"use strict";var r=function(t){BaseControl.call(this),this.options.autohide=!1,this.options.width=4,this.options.color="#FFFFFF",this.options.inset=!0,this.options.margin=0,n.extend(this.options,t)},t,i;r.extend(BaseControl),t=r.prototype,i=BaseControl.prototype,t.setup=function(){var r=this,t;i.setup.call(this),this.$element=n("<div><\/div>").addClass(this.options.prefix+"timerbar"),i.setup.call(this),this.slider.$controlsCont===this.cont?this.$element.appendTo(this.slider.$element):this.$element.appendTo(this.cont),this.$bar=n("<div><\/div>").addClass("ms-time-bar").appendTo(this.$element),this.options.dir==="v"?(this.$bar.width(this.options.width),this.$element.width(this.options.width)):(this.$bar.height(this.options.width),this.$element.height(this.options.width)),this.$bar.css("background-color",this.options.color),!this.options.insetTo&&this.options.align&&(this.$element.css({top:"auto",bottom:"auto"}),t=this.options.align,this.options.inset?this.$element.css(t,this.options.margin):t==="top"?this.$element.prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):t==="bottom"?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align())),this.checkHideUnder()},t.align=function(){if(!this.detached){var n=this.options.align,t=this.slider.reserveSpace(n,this.options.margin*2+this.options.width);this.$element.css(n,-t-this.options.margin-this.options.width)}},t.create=function(){i.create.call(this),this.slider.api.addEventListener(MSLSliderEvent.WAITING,this._update,this),this._update()},t._update=function(){this.$bar[0].style.width=this.slider.api._delayProgress+"%"},t.destroy=function(){i.destroy(),this.slider.api.removeEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.slider.api.removeEventListener(MSLSliderEvent.WAITING,this._update,this),this.$element.remove()},window.MSLTimerbar=r,MSLSlideController.registerControl("timebar",r)}(jQuery),function(n){"use strict";var i=function(t){BaseControl.call(this),this.options.color="#A2A2A2",this.options.stroke=10,this.options.radius=4,this.options.autohide=!1,n.extend(this.options,t)},t,r;i.extend(BaseControl),t=i.prototype,r=BaseControl.prototype,t.setup=function(){var t=this;if(r.setup.call(this),this.$element=n("<div><\/div>").addClass(this.options.prefix+"ctimer").appendTo(this.cont),this.$canvas=n("<canvas><\/canvas>").addClass("ms-ctimer-canvas").appendTo(this.$element),this.$bar=n("<div><\/div>").addClass("ms-ctimer-bullet").appendTo(this.$element),!this.$canvas[0].getContext){this.destroy(),this.disable=!0;return}this.ctx=this.$canvas[0].getContext("2d"),this.prog=0,this.__w=(this.options.radius+this.options.stroke/2)*2,this.$canvas[0].width=this.__w,this.$canvas[0].height=this.__w,this.checkHideUnder()},t.create=function(){if(!this.disable){r.create.call(this),this.slider.api.addEventListener(MSLSliderEvent.WAITING,this._update,this);var n=this;this.$element.click(function(){n.slider.api.paused?n.slider.api.resume():n.slider.api.pause()}),this._update()}},t._update=function(){var t=this;n(this).stop(!0).animate({prog:this.slider.api._delayProgress*.01},{duration:200,step:function(){t._draw()}})},t._draw=function(){this.ctx.clearRect(0,0,this.__w,this.__w),this.ctx.beginPath(),this.ctx.arc(this.__w*.5,this.__w*.5,this.options.radius,Math.PI*1.5,Math.PI*1.5+2*Math.PI*this.prog,!1),this.ctx.strokeStyle=this.options.color,this.ctx.lineWidth=this.options.stroke,this.ctx.stroke()},t.destroy=function(){(r.destroy(),this.disable)||(n(this).stop(!0),this.slider.api.removeEventListener(MSLSliderEvent.WAITING,this._update,this),this.$element.remove())},window.MSLCircleTimer=i,MSLSlideController.registerControl("circletimer",i)}(jQuery),function(n){"use strict";window.MSLSlideInfo=function(t){BaseControl.call(this,t),this.options.autohide=!1,this.options.align=null,this.options.inset=!1,this.options.margin=10,this.options.size=100,this.options.dir="h",n.extend(this.options,t),this.data_list=[]},MSLSlideInfo.fadeDuratation=400,MSLSlideInfo.extend(BaseControl);var t=MSLSlideInfo.prototype,i=BaseControl.prototype;t.setup=function(){if(this.$element=n("<div><\/div>").addClass(this.options.prefix+"slide-info").addClass("ms-dir-"+this.options.dir),i.setup.call(this),this.slider.$controlsCont===this.cont?this.$element.appendTo(this.slider.$element):this.$element.appendTo(this.cont),!this.options.insetTo&&this.options.align){var t=this.options.align;this.options.inset?this.$element.css(t,this.options.margin):t==="top"?this.$element.prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):t==="bottom"?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align()),this.options.dir==="v"?this.$element.width(this.options.size):this.$element.css("min-height",this.options.size)}this.checkHideUnder()},t.align=function(){if(!this.detached){var n=this.options.align,t=this.slider.reserveSpace(n,this.options.size+this.options.margin*2);this.$element.css(n,-t-this.options.size-this.options.margin)}},t.slideAction=function(t){var i=n(t.$element.find(".ms-info")),r=this;i.detach(),this.data_list[t.index]=i},t.create=function(){i.create.call(this),this.slider.api.addEventListener(MSLSliderEvent.CHANGE_START,this.update,this),this.cindex=this.slider.api.index(),this.switchEle(this.data_list[this.cindex])},t.update=function(){var n=this.slider.api.index();this.switchEle(this.data_list[n]),this.cindex=n},t.switchEle=function(n){if(this.current_ele){var t=this;this.current_ele[0].tween&&this.current_ele[0].tween.stop(!0),this.current_ele[0].tween=CTween.animate(this.current_ele,MSLSlideInfo.fadeDuratation,{opacity:0},{complete:function(){this.detach(),this[0].tween=null,n.css("position","relative")},target:this.current_ele}),n.css("position","absolute")}this.__show(n)},t.__show=function(n){n.appendTo(this.$element).css("opacity","0"),this.current_ele&&n.height(Math.max(n.height(),this.current_ele.height())),clearTimeout(this.tou),this.tou=setTimeout(function(){CTween.fadeIn(n,MSLSlideInfo.fadeDuratation),n.css("height","")},MSLSlideInfo.fadeDuratation),n[0].tween&&n[0].tween.stop(!0),this.current_ele=n},t.destroy=function(){i.destroy(),clearTimeout(this.tou),this.current_ele&&this.current_ele[0].tween&&this.current_ele[0].tween.stop("true"),this.$element.remove(),this.slider.api.removeEventListener(MSLSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.slider.api.removeEventListener(MSLSliderEvent.CHANGE_START,this.update,this)},MSLSlideController.registerControl("slideinfo",MSLSlideInfo)}(jQuery)
|
10 |
//@ sourceMappingURL=masterslider.map
|