Version Description
Download this release
Release Info
Developer | averta |
Plugin | Master Slider – Responsive Touch Slider |
Version | 3.6.5 |
Comparing to | |
See all releases |
Code changes from version 3.6.4 to 3.6.5
- README.txt +2 -2
- admin/views/slider-panel/css/msp-style.css +107 -186
- admin/views/slider-panel/images/ui-spritesheet.png +0 -0
- admin/views/slider-panel/images/ui-spritesheet.psd +0 -0
- admin/views/slider-panel/index.php +33 -47
- admin/views/slider-panel/js/masterslider.wp.js +5 -5
- admin/views/slider-panel/js/msp.required.js +1 -1
- includes/init/define.php +1 -1
- master-slider.php +2 -2
- public/assets/css/masterslider.main.css +1945 -1941
- public/assets/js/masterslider.js +851 -802
- public/assets/js/masterslider.lite.min.js.map +1 -1
- public/assets/js/masterslider.min.js +6 -6
README.txt
CHANGED
@@ -6,8 +6,8 @@ License URI: http://www.gnu.org/licenses/gpl.html
|
|
6 |
Tags: slider, image slider, wordpress slider, video slider, best slider plugin, slideshow, swipe, touch slider, content slider, SEO, vertical slider, HTML5 slider, hardware accelerate, animation, mobile slider, iOS, android, youtube slider, horizontal slider, responsive slider, fullscreen slider, post slider, photo slider, online album, mobile slider, WordPress slider,wpml, ,ultisite, wistia, woocommerce, product slider, woocommerce slider, portfolio, gallery, lightweight slider
|
7 |
Requires PHP: 5.4
|
8 |
Requires at least: 4.8
|
9 |
-
Tested up to: 5.5.
|
10 |
-
Stable tag: 3.6.
|
11 |
|
12 |
Build SEO friendly sliders fast and easy with Master Slider. The most advanced responsive HTML5 WordPress slider plugin, with touch swipe navigation that works smoothly on desktop and devices.
|
13 |
|
6 |
Tags: slider, image slider, wordpress slider, video slider, best slider plugin, slideshow, swipe, touch slider, content slider, SEO, vertical slider, HTML5 slider, hardware accelerate, animation, mobile slider, iOS, android, youtube slider, horizontal slider, responsive slider, fullscreen slider, post slider, photo slider, online album, mobile slider, WordPress slider,wpml, ,ultisite, wistia, woocommerce, product slider, woocommerce slider, portfolio, gallery, lightweight slider
|
7 |
Requires PHP: 5.4
|
8 |
Requires at least: 4.8
|
9 |
+
Tested up to: 5.5.3
|
10 |
+
Stable tag: 3.6.5
|
11 |
|
12 |
Build SEO friendly sliders fast and easy with Master Slider. The most advanced responsive HTML5 WordPress slider plugin, with touch swipe navigation that works smoothly on desktop and devices.
|
13 |
|
admin/views/slider-panel/css/msp-style.css
CHANGED
@@ -5,9 +5,7 @@
|
|
5 |
* @autor averta
|
6 |
*/
|
7 |
|
8 |
-
|
9 |
-
@import url(featherlight.min.css);
|
10 |
-
.msp-container{
|
11 |
min-width: 920px;
|
12 |
}
|
13 |
|
@@ -227,24 +225,37 @@
|
|
227 |
background-position: -101px -76px;
|
228 |
}
|
229 |
|
230 |
-
.msp-ico
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
vertical-align: top !important;
|
235 |
-
top: -3px;
|
236 |
}
|
237 |
|
238 |
-
.msp-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
}
|
247 |
|
|
|
248 |
/*------------------------------*/
|
249 |
/* Main Navigation */
|
250 |
.msp-main-nav ul {list-style: none; margin:0;padding: 0;}
|
@@ -263,163 +274,6 @@
|
|
263 |
position: relative;
|
264 |
}
|
265 |
|
266 |
-
.msp-main-nav ul li.msp-upgrade-btn a {
|
267 |
-
background-color: #5EBE27;
|
268 |
-
border-bottom-color: #52A820;
|
269 |
-
}
|
270 |
-
|
271 |
-
.msp-main-nav ul li.msp-upgrade-btn a:hover {
|
272 |
-
background-color: #5FC524;
|
273 |
-
}
|
274 |
-
.msp-main-nav ul li.msp-upgrade-btn a.active:hover {
|
275 |
-
background-color: white;
|
276 |
-
}
|
277 |
-
|
278 |
-
.msp-metabox-row.msp-pro-tab {
|
279 |
-
margin: 0;
|
280 |
-
clear: both;
|
281 |
-
text-align: center;
|
282 |
-
}
|
283 |
-
|
284 |
-
.msp-pro-tab h2 {
|
285 |
-
margin: 40px 0 20px 0;
|
286 |
-
font-size: 30px;
|
287 |
-
color: #444;
|
288 |
-
}
|
289 |
-
|
290 |
-
.msp-pro-tab h3 {
|
291 |
-
text-align: center;
|
292 |
-
margin: 35px 0 20px;
|
293 |
-
font-size: 26px;
|
294 |
-
font-weight: 500;
|
295 |
-
}
|
296 |
-
|
297 |
-
.msp-pro-tab p {
|
298 |
-
font-size: 14px;
|
299 |
-
color: #444;
|
300 |
-
}
|
301 |
-
|
302 |
-
.msp-pro-featurs {
|
303 |
-
max-width: 877px;
|
304 |
-
margin: 0 auto;
|
305 |
-
}
|
306 |
-
|
307 |
-
.msp-pf-figure {
|
308 |
-
float: left;
|
309 |
-
margin: 20px 5px 20px 0;
|
310 |
-
}
|
311 |
-
|
312 |
-
.msp-pf-figure h6 {
|
313 |
-
font-size: 15px;
|
314 |
-
color: #444;
|
315 |
-
margin: 15px 0 0;
|
316 |
-
}
|
317 |
-
|
318 |
-
|
319 |
-
.msp-pro-tab.msp-pf-admin-section {
|
320 |
-
background: #e7e7e7;
|
321 |
-
padding: 40px 0;
|
322 |
-
margin-top: 20px;
|
323 |
-
}
|
324 |
-
|
325 |
-
.msp-pf-admin-ss {
|
326 |
-
max-width: 877px;
|
327 |
-
margin: 0 auto;
|
328 |
-
}
|
329 |
-
|
330 |
-
.msp-pf-admin-ss .msp-pf-figure { margin: 0 3px; position: relative;}
|
331 |
-
.msp-pf-admin-ss .msp-pf-figure>img {
|
332 |
-
border: solid 1px #CDCDCD;
|
333 |
-
}
|
334 |
-
|
335 |
-
.msp-pf-thumb-ol {
|
336 |
-
overflow: hidden;
|
337 |
-
width: 100%;
|
338 |
-
height: 100%;
|
339 |
-
position: absolute;
|
340 |
-
background: rgba(0, 0, 0, 0.53);
|
341 |
-
top: 0;
|
342 |
-
opacity: 0;
|
343 |
-
}
|
344 |
-
|
345 |
-
.msp-pf-thumb-ol>img {
|
346 |
-
position: relative;
|
347 |
-
top: 40%;
|
348 |
-
-webkit-transform: scale(2) rotate(80deg);
|
349 |
-
-ms-transform: scale(2) rotate(80deg);
|
350 |
-
transform: scale(2) rotate(80deg);
|
351 |
-
}
|
352 |
-
|
353 |
-
.msp-pf-thumb-ol, .msp-pf-thumb-ol>img {
|
354 |
-
-webkit-transition: all 260ms ease-out;
|
355 |
-
transition: all 260ms ease-out;
|
356 |
-
}
|
357 |
-
|
358 |
-
.msp-pf-thumb-ol:hover{
|
359 |
-
opacity: 1;
|
360 |
-
}
|
361 |
-
|
362 |
-
.msp-pf-thumb-ol:hover >img {
|
363 |
-
-webkit-transform: scale(1) rotate(0);
|
364 |
-
-ms-transform: scale(1) rotate(0);
|
365 |
-
transform: scale(1) rotate(0);
|
366 |
-
}
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
a.msp-blue-btn.msp-pf-testdrive{
|
371 |
-
display: inline-block;
|
372 |
-
cursor: pointer;
|
373 |
-
padding: 0 25px;
|
374 |
-
margin-top: 20px;
|
375 |
-
font-weight: 800;
|
376 |
-
font-size: 15px;
|
377 |
-
line-height: 40px;
|
378 |
-
border-bottom: solid 4px #2a95bc;
|
379 |
-
}
|
380 |
-
|
381 |
-
a.msp-blue-btn.msp-pf-testdrive:hover {
|
382 |
-
background: #33AFDB;
|
383 |
-
}
|
384 |
-
|
385 |
-
.msp-pro-tab.msp-pf-join-section {
|
386 |
-
background: #ED686E;
|
387 |
-
padding: 40px 0;
|
388 |
-
margin-bottom: -20px;
|
389 |
-
}
|
390 |
-
|
391 |
-
.msp-pro-tab.msp-pf-join-section p,
|
392 |
-
.msp-pro-tab.msp-pf-join-section h3 {
|
393 |
-
color: white;
|
394 |
-
}
|
395 |
-
|
396 |
-
a.msp-pf-btn {
|
397 |
-
display: inline-block;
|
398 |
-
padding: 0 20px;
|
399 |
-
background: white;
|
400 |
-
color: #6B6B6B;
|
401 |
-
line-height: 34px;
|
402 |
-
margin: 5px 3px;
|
403 |
-
border-bottom: solid 3px #f3f3f3;
|
404 |
-
}
|
405 |
-
|
406 |
-
a.msp-pf-btn.msp-pf-upgrade-btn {
|
407 |
-
background: #444;
|
408 |
-
color: white;
|
409 |
-
border-bottom-color: #222;
|
410 |
-
}
|
411 |
-
|
412 |
-
.msp-pf-btn.msp-pf-upgrade-btn:hover {
|
413 |
-
background: #4C4C4C;
|
414 |
-
}
|
415 |
-
|
416 |
-
a.msp-pf-btn.msp-pf-more-btn:hover {
|
417 |
-
background: #f2f2f2;
|
418 |
-
border-bottom-color: #DBDBDB;
|
419 |
-
}
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
.msp-main-nav ul li a>.msp-ico{
|
424 |
display: inline-block;
|
425 |
margin-left: 10px;
|
@@ -442,7 +296,6 @@ a.msp-pf-btn.msp-pf-more-btn:hover {
|
|
442 |
.msp-main-nav ul li a.active .msp-ico-posts { background-position: -250px -225px; }
|
443 |
.msp-main-nav ul li a.active .msp-ico-wooc { background-position: -200px -200px; }
|
444 |
|
445 |
-
.msp-main-nav ul li a.active .msp-ico-pro { background-position: -250px -252px; }
|
446 |
.msp-save-bar-placeholder {
|
447 |
height: 35px;
|
448 |
}
|
@@ -1194,6 +1047,28 @@ button.msp-img-btn {
|
|
1194 |
color: #444;
|
1195 |
}
|
1196 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1197 |
/* Align Btns */
|
1198 |
|
1199 |
.msp-align-btns {
|
@@ -1602,7 +1477,7 @@ button.msp-img-btn {
|
|
1602 |
position: relative;
|
1603 |
border: solid 1px #DEDEDE;
|
1604 |
margin: 0px auto;
|
1605 |
-
overflow: hidden;
|
1606 |
color: black;
|
1607 |
}
|
1608 |
|
@@ -1621,6 +1496,11 @@ button.msp-img-btn {
|
|
1621 |
border-top: solid 1px #f1f1f1;
|
1622 |
}
|
1623 |
|
|
|
|
|
|
|
|
|
|
|
1624 |
/*disable native selection*/
|
1625 |
.msp-slide-stage, .msp-slide-stage *{
|
1626 |
-webkit-user-select: none;
|
@@ -1674,6 +1554,12 @@ button.msp-img-btn {
|
|
1674 |
cursor: default;
|
1675 |
}
|
1676 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1677 |
.msp-stage-layer img{
|
1678 |
display: block;
|
1679 |
}
|
@@ -1703,8 +1589,8 @@ button.msp-img-btn {
|
|
1703 |
.msp-stage-layer.active .msp-stage-hotspot,
|
1704 |
.msp-stage-layer.active {
|
1705 |
-webkit-animation: mswp-pulse 1s infinite ease-out;
|
1706 |
-
animation: mswp-pulse
|
1707 |
-
outline-width:
|
1708 |
outline-style: dashed;
|
1709 |
}
|
1710 |
|
@@ -1720,8 +1606,8 @@ button.msp-img-btn {
|
|
1720 |
|
1721 |
|
1722 |
.msp-stage-layer.active {
|
1723 |
-
width: auto !important;
|
1724 |
-
height: auto !important;
|
1725 |
}
|
1726 |
|
1727 |
/* CKEditor style */
|
@@ -2050,7 +1936,7 @@ button.msp-savepreset {
|
|
2050 |
.msp-templte-selected {
|
2051 |
position: absolute;
|
2052 |
top: 0;
|
2053 |
-
right:
|
2054 |
width: 22px;
|
2055 |
height: 22px;
|
2056 |
background: url(../images/ui-spritesheet.png) -194px -146px no-repeat #2EA2CC;
|
@@ -2616,10 +2502,45 @@ New pro tab styles
|
|
2616 |
color: white;
|
2617 |
}
|
2618 |
|
2619 |
-
|
2620 |
-
|
2621 |
-
|
|
|
|
|
2622 |
}
|
2623 |
-
|
2624 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2625 |
}
|
5 |
* @autor averta
|
6 |
*/
|
7 |
|
8 |
+
.msp-container{
|
|
|
|
|
9 |
min-width: 920px;
|
10 |
}
|
11 |
|
225 |
background-position: -101px -76px;
|
226 |
}
|
227 |
|
228 |
+
.msp-ico-desktop {
|
229 |
+
background-position: -114px -228px;
|
230 |
+
width: 16px;
|
231 |
+
height: 16px;
|
|
|
|
|
232 |
}
|
233 |
|
234 |
+
.msp-btn-selected .msp-ico-desktop{
|
235 |
+
background-position: -170px -228px;
|
236 |
+
}
|
237 |
+
|
238 |
+
.msp-ico-tablet {
|
239 |
+
background-position: -137px -228px;
|
240 |
+
width: 13px;
|
241 |
+
height: 16px;
|
242 |
+
}
|
243 |
+
|
244 |
+
.msp-btn-selected .msp-ico-tablet{
|
245 |
+
background-position: -193px -228px;
|
246 |
+
}
|
247 |
+
|
248 |
+
.msp-ico-phone {
|
249 |
+
background-position: -156px -228px;
|
250 |
+
width: 8px;
|
251 |
+
height: 16px;
|
252 |
+
}
|
253 |
+
|
254 |
+
.msp-btn-selected .msp-ico-phone{
|
255 |
+
background-position: -212px -228px;
|
256 |
}
|
257 |
|
258 |
+
|
259 |
/*------------------------------*/
|
260 |
/* Main Navigation */
|
261 |
.msp-main-nav ul {list-style: none; margin:0;padding: 0;}
|
274 |
position: relative;
|
275 |
}
|
276 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
.msp-main-nav ul li a>.msp-ico{
|
278 |
display: inline-block;
|
279 |
margin-left: 10px;
|
296 |
.msp-main-nav ul li a.active .msp-ico-posts { background-position: -250px -225px; }
|
297 |
.msp-main-nav ul li a.active .msp-ico-wooc { background-position: -200px -200px; }
|
298 |
|
|
|
299 |
.msp-save-bar-placeholder {
|
300 |
height: 35px;
|
301 |
}
|
1047 |
color: #444;
|
1048 |
}
|
1049 |
|
1050 |
+
|
1051 |
+
/* Responsive switch */
|
1052 |
+
|
1053 |
+
.msp-responsive-control {
|
1054 |
+
display: inline-block;
|
1055 |
+
vertical-align: middle;
|
1056 |
+
}
|
1057 |
+
|
1058 |
+
.msp-responsive-btn {
|
1059 |
+
width: 32px !important;
|
1060 |
+
height: 32px;
|
1061 |
+
display: -webkit-inline-box;
|
1062 |
+
display: -ms-inline-flexbox;
|
1063 |
+
display: inline-flex;
|
1064 |
+
-webkit-box-align: center;
|
1065 |
+
-ms-flex-align: center;
|
1066 |
+
align-items: center;
|
1067 |
+
-webkit-box-pack: center;
|
1068 |
+
-ms-flex-pack: center;
|
1069 |
+
justify-content: center;
|
1070 |
+
}
|
1071 |
+
|
1072 |
/* Align Btns */
|
1073 |
|
1074 |
.msp-align-btns {
|
1477 |
position: relative;
|
1478 |
border: solid 1px #DEDEDE;
|
1479 |
margin: 0px auto;
|
1480 |
+
/* overflow: hidden; */
|
1481 |
color: black;
|
1482 |
}
|
1483 |
|
1496 |
border-top: solid 1px #f1f1f1;
|
1497 |
}
|
1498 |
|
1499 |
+
.msp-stage-container {
|
1500 |
+
overflow: auto;
|
1501 |
+
}
|
1502 |
+
|
1503 |
+
|
1504 |
/*disable native selection*/
|
1505 |
.msp-slide-stage, .msp-slide-stage *{
|
1506 |
-webkit-user-select: none;
|
1554 |
cursor: default;
|
1555 |
}
|
1556 |
|
1557 |
+
.msp-stage-layer:hover, .msp-stage-layer:hover .sp-stage-hotspot {
|
1558 |
+
outline: rgba(0, 0, 204,1) 1px solid;
|
1559 |
+
}
|
1560 |
+
|
1561 |
+
|
1562 |
+
|
1563 |
.msp-stage-layer img{
|
1564 |
display: block;
|
1565 |
}
|
1589 |
.msp-stage-layer.active .msp-stage-hotspot,
|
1590 |
.msp-stage-layer.active {
|
1591 |
-webkit-animation: mswp-pulse 1s infinite ease-out;
|
1592 |
+
animation: mswp-pulse 2s infinite ease-out;
|
1593 |
+
outline-width: 2px;
|
1594 |
outline-style: dashed;
|
1595 |
}
|
1596 |
|
1606 |
|
1607 |
|
1608 |
.msp-stage-layer.active {
|
1609 |
+
/* width: auto !important; */
|
1610 |
+
/* height: auto !important; */
|
1611 |
}
|
1612 |
|
1613 |
/* CKEditor style */
|
1936 |
.msp-templte-selected {
|
1937 |
position: absolute;
|
1938 |
top: 0;
|
1939 |
+
right: -1px;
|
1940 |
width: 22px;
|
1941 |
height: 22px;
|
1942 |
background: url(../images/ui-spritesheet.png) -194px -146px no-repeat #2EA2CC;
|
2502 |
color: white;
|
2503 |
}
|
2504 |
|
2505 |
+
/* ------------------------------------------------------------------------------ */
|
2506 |
+
/* new layout styles */
|
2507 |
+
/* .msp-main-container > .ember-view {
|
2508 |
+
display: flex;
|
2509 |
+
flex-wrap: wrap;
|
2510 |
}
|
2511 |
+
|
2512 |
+
.msp-slides-list-panel {
|
2513 |
+
width: 100%;
|
2514 |
+
}
|
2515 |
+
|
2516 |
+
.msp-slide-settings-panel {
|
2517 |
+
width: 360px;
|
2518 |
+
margin-left: 20px;
|
2519 |
+
order: 1;
|
2520 |
+
}
|
2521 |
+
|
2522 |
+
.msp-slide-settings-panel > .msp-metabox {
|
2523 |
+
height: calc(100% - 40px);
|
2524 |
+
}
|
2525 |
+
|
2526 |
+
.msp-layer-settings-panel {
|
2527 |
+
width: 360px;
|
2528 |
+
margin-left: 20px;
|
2529 |
+
}
|
2530 |
+
|
2531 |
+
.msp-layer-settings-panel > .msp-metabox {
|
2532 |
+
height: calc(100% - 40px);
|
2533 |
+
}
|
2534 |
+
|
2535 |
+
.msp-slide-editor-panel {
|
2536 |
+
flex: 1;
|
2537 |
+
} */
|
2538 |
+
|
2539 |
+
|
2540 |
+
.msp-style-name {
|
2541 |
+
text-overflow: ellipsis;
|
2542 |
+
max-width: 130px;
|
2543 |
+
overflow: hidden;
|
2544 |
+
display: inline-block;
|
2545 |
+
white-space: nowrap;
|
2546 |
}
|
admin/views/slider-panel/images/ui-spritesheet.png
CHANGED
Binary file
|
admin/views/slider-panel/images/ui-spritesheet.psd
CHANGED
Binary file
|
admin/views/slider-panel/index.php
CHANGED
@@ -19,8 +19,6 @@
|
|
19 |
<img src="<?php echo MSWP_AVERTA_ADMIN_URL . '/views/slider-panel'; ?>/images/loading.gif">
|
20 |
<?php _e('Loading data...', MSWP_TEXT_DOMAIN); ?>
|
21 |
</div>
|
22 |
-
<?php echo MSP_Notices::get_instance()->get_notice( 'ms-notice-info-panel' ); ?>
|
23 |
-
|
24 |
<div id="msp-root" class="msp-container"> </div>
|
25 |
<div id="mspHiddenEditor" style="display:none">
|
26 |
<?php wp_editor( '', 'msp-hidden' , array( 'textarea_rows' => 8 ) ); ?>
|
@@ -48,7 +46,9 @@
|
|
48 |
</ul>
|
49 |
</nav>
|
50 |
<div class="clear"></div>
|
|
|
51 |
{{outlet}}
|
|
|
52 |
<div class="msp-shortcode-cont">
|
53 |
<span><?php _e('Shortcode :', MSWP_TEXT_DOMAIN); ?> </span>
|
54 |
{{view MSPanel.SimpleCodeBlock value=shortCode width=120}}
|
@@ -71,17 +71,6 @@
|
|
71 |
{{/if}}
|
72 |
</script>
|
73 |
|
74 |
-
<?php
|
75 |
-
/**
|
76 |
-
* Display the new or previous type of pro tab paged
|
77 |
-
* Valid numbers for $pro_content_type are: 1, 2
|
78 |
-
*/
|
79 |
-
//$pro_content_type = get_option( 'master-slider_ab_pro_feature_panel_content_type', 1 );
|
80 |
-
$pro_content_type = 1;
|
81 |
-
// ab testing check
|
82 |
-
if( 1 == $pro_content_type ){
|
83 |
-
?>
|
84 |
-
|
85 |
<script type="text/x-handlebars" id="pro-features">
|
86 |
{{#meta-box title="Upgrade to Master Slider Pro Edition"}}
|
87 |
<div class="msp-metabox-row msp-new-pro-tab">
|
@@ -160,7 +149,7 @@
|
|
160 |
{{#tabs-panel}}
|
161 |
<ul class="tabs-content">
|
162 |
<li id="s1">
|
163 |
-
<p>We cannot believe how simple is using MasterSlider! The interface is so simple, easy to use and extraordinary intuitive. The sample sliders library and auto importing feature was our dream that came true by you guys! The documentation, video tutorials and variety of options for customizing everything was totally beyond
|
164 |
<img class="msp-new-pro-avatar" src="<?php echo MSWP_AVERTA_ADMIN_URL . '/views/slider-panel'; ?>/images/pro-features/testimonials/pixflow.png" alt="">
|
165 |
<h4>PixFlow<br><span>WordPress Theme Author</span></h4>
|
166 |
</li>
|
@@ -207,7 +196,7 @@
|
|
207 |
<div class="msp-new-pro-buy">
|
208 |
<div class="msp-content-wrapper">
|
209 |
<h2>Join the <?php echo msp_get_pro_users_num(); ?> Pro users today!</h2>
|
210 |
-
<a href="
|
211 |
</div>
|
212 |
</div>
|
213 |
|
@@ -215,11 +204,8 @@
|
|
215 |
{{/meta-box}}
|
216 |
</script>
|
217 |
|
218 |
-
<?php
|
219 |
-
} else {
|
220 |
-
?>
|
221 |
|
222 |
-
<script type="text/x-handlebars" id="pro-features">
|
223 |
{{#meta-box title="Upgrade Master Slider to PRO"}}
|
224 |
<div class="msp-metabox-row msp-pro-tab">
|
225 |
<div class="msp-pro-featurs">
|
@@ -310,10 +296,6 @@
|
|
310 |
{{/meta-box}}
|
311 |
</script>
|
312 |
|
313 |
-
<?php
|
314 |
-
}
|
315 |
-
?>
|
316 |
-
|
317 |
<!-- Slider Settings Page -->
|
318 |
<script type="text/x-handlebars" id="settings">
|
319 |
|
@@ -497,47 +479,50 @@
|
|
497 |
|
498 |
{{/meta-box}}
|
499 |
</script>
|
500 |
-
|
501 |
<!-- Slides Page -->
|
502 |
<script type="text/x-handlebars" id="slides">
|
503 |
{{#if customSlider}}
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
|
|
|
|
|
|
508 |
</div>
|
509 |
-
{{/meta-box}}
|
510 |
{{#if currentSlide}}
|
511 |
{{partial "slide-settings"}}
|
512 |
{{/if}}
|
513 |
{{/if}}
|
514 |
</script>
|
515 |
-
|
516 |
<!-- Slide Settings Partial -->
|
517 |
<script type="text/x-handlebars" id="slide-settings">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
518 |
|
519 |
-
|
520 |
-
|
521 |
|
522 |
-
<ul class="tabs">
|
523 |
-
<li
|
524 |
-
<li
|
525 |
-
<li
|
526 |
-
<li
|
527 |
</ul>
|
528 |
|
529 |
-
|
530 |
-
</div>
|
531 |
-
|
532 |
-
<ul class="tabs-content">
|
533 |
-
<li id="sl-bg">{{partial 'slide-background'}}</li>
|
534 |
-
<li id="sl-val">{{partial 'slide-video-and-link'}}</li>
|
535 |
-
<li id="sl-inf">{{partial 'slide-info'}}</li>
|
536 |
-
<li id="sl-misc">{{partial 'slide-misc'}}</li>
|
537 |
-
</ul>
|
538 |
|
539 |
-
|
540 |
|
|
|
541 |
{{#meta-box title="Slide"}}
|
542 |
<div class="msp-metabox-row">
|
543 |
<div class="msp-metabox-indented">
|
@@ -547,6 +532,7 @@
|
|
547 |
<hr class="msp-metabox-hr">
|
548 |
{{view MSPanel.StageArea}}
|
549 |
{{/meta-box}}
|
|
|
550 |
</script>
|
551 |
|
552 |
<!-- Slide Background Settings Partial -->
|
19 |
<img src="<?php echo MSWP_AVERTA_ADMIN_URL . '/views/slider-panel'; ?>/images/loading.gif">
|
20 |
<?php _e('Loading data...', MSWP_TEXT_DOMAIN); ?>
|
21 |
</div>
|
|
|
|
|
22 |
<div id="msp-root" class="msp-container"> </div>
|
23 |
<div id="mspHiddenEditor" style="display:none">
|
24 |
<?php wp_editor( '', 'msp-hidden' , array( 'textarea_rows' => 8 ) ); ?>
|
46 |
</ul>
|
47 |
</nav>
|
48 |
<div class="clear"></div>
|
49 |
+
<div class="msp-main-container">
|
50 |
{{outlet}}
|
51 |
+
</div>
|
52 |
<div class="msp-shortcode-cont">
|
53 |
<span><?php _e('Shortcode :', MSWP_TEXT_DOMAIN); ?> </span>
|
54 |
{{view MSPanel.SimpleCodeBlock value=shortCode width=120}}
|
71 |
{{/if}}
|
72 |
</script>
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
<script type="text/x-handlebars" id="pro-features">
|
75 |
{{#meta-box title="Upgrade to Master Slider Pro Edition"}}
|
76 |
<div class="msp-metabox-row msp-new-pro-tab">
|
149 |
{{#tabs-panel}}
|
150 |
<ul class="tabs-content">
|
151 |
<li id="s1">
|
152 |
+
<p>We cannot believe how simple is using MasterSlider! The interface is so simple, easy to use and extraordinary intuitive. The sample sliders library and auto importing feature was our dream that came true by you guys! The documentation, video tutorials and variety of options for customizing everything was totally beyond or expectation! You really nailed it!</p>
|
153 |
<img class="msp-new-pro-avatar" src="<?php echo MSWP_AVERTA_ADMIN_URL . '/views/slider-panel'; ?>/images/pro-features/testimonials/pixflow.png" alt="">
|
154 |
<h4>PixFlow<br><span>WordPress Theme Author</span></h4>
|
155 |
</li>
|
196 |
<div class="msp-new-pro-buy">
|
197 |
<div class="msp-content-wrapper">
|
198 |
<h2>Join the <?php echo msp_get_pro_users_num(); ?> Pro users today!</h2>
|
199 |
+
<a href="#" target="_blank" class="msp-new-pro-btn">Get a License Instantly</a>
|
200 |
</div>
|
201 |
</div>
|
202 |
|
204 |
{{/meta-box}}
|
205 |
</script>
|
206 |
|
|
|
|
|
|
|
207 |
|
208 |
+
<script type="text/x-handlebars" id="pro-features-1">
|
209 |
{{#meta-box title="Upgrade Master Slider to PRO"}}
|
210 |
<div class="msp-metabox-row msp-pro-tab">
|
211 |
<div class="msp-pro-featurs">
|
296 |
{{/meta-box}}
|
297 |
</script>
|
298 |
|
|
|
|
|
|
|
|
|
299 |
<!-- Slider Settings Page -->
|
300 |
<script type="text/x-handlebars" id="settings">
|
301 |
|
479 |
|
480 |
{{/meta-box}}
|
481 |
</script>
|
|
|
482 |
<!-- Slides Page -->
|
483 |
<script type="text/x-handlebars" id="slides">
|
484 |
{{#if customSlider}}
|
485 |
+
<div class="msp-slides-list-panel">
|
486 |
+
<!-- Slides List -->
|
487 |
+
{{#meta-box title="<?php _e('Slides', MSWP_TEXT_DOMAIN); ?>"}}
|
488 |
+
<div class="msp-metabox-row">
|
489 |
+
{{view MSPanel.SlideList}}
|
490 |
+
</div>
|
491 |
+
{{/meta-box}}
|
492 |
</div>
|
|
|
493 |
{{#if currentSlide}}
|
494 |
{{partial "slide-settings"}}
|
495 |
{{/if}}
|
496 |
{{/if}}
|
497 |
</script>
|
|
|
498 |
<!-- Slide Settings Partial -->
|
499 |
<script type="text/x-handlebars" id="slide-settings">
|
500 |
+
<div class="msp-slide-settings-panel">
|
501 |
+
{{#tabs-panel id="slide-settings"}}
|
502 |
+
<div class="msp-metabox-handle">
|
503 |
+
|
504 |
+
<ul class="tabs">
|
505 |
+
<li class="active"><a href="#sl-bg"><?php _e('Background', MSWP_TEXT_DOMAIN); ?></a></li>
|
506 |
+
<li><a href="#sl-val"><?php _e('Video and Link', MSWP_TEXT_DOMAIN); ?></a></li>
|
507 |
+
<li><a href="#sl-inf"><?php _e('Slide Info', MSWP_TEXT_DOMAIN); ?></a></li>
|
508 |
+
<li><a href="#sl-misc"><?php _e('Misc', MSWP_TEXT_DOMAIN); ?></a></li>
|
509 |
+
</ul>
|
510 |
|
511 |
+
<div class="msp-metabox-toggle"></div>
|
512 |
+
</div>
|
513 |
|
514 |
+
<ul class="tabs-content">
|
515 |
+
<li id="sl-bg">{{partial 'slide-background'}}</li>
|
516 |
+
<li id="sl-val">{{partial 'slide-video-and-link'}}</li>
|
517 |
+
<li id="sl-inf">{{partial 'slide-info'}}</li>
|
518 |
+
<li id="sl-misc">{{partial 'slide-misc'}}</li>
|
519 |
</ul>
|
520 |
|
521 |
+
{{/tabs-panel}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
522 |
|
523 |
+
</div>
|
524 |
|
525 |
+
<div class="msp-slide-editor-panel">
|
526 |
{{#meta-box title="Slide"}}
|
527 |
<div class="msp-metabox-row">
|
528 |
<div class="msp-metabox-indented">
|
532 |
<hr class="msp-metabox-hr">
|
533 |
{{view MSPanel.StageArea}}
|
534 |
{{/meta-box}}
|
535 |
+
</div>
|
536 |
</script>
|
537 |
|
538 |
<!-- Slide Background Settings Partial -->
|
admin/views/slider-panel/js/masterslider.wp.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
/*!
|
2 |
* Master Slider WordPress Lite Panel
|
3 |
-
* Copyright ©
|
4 |
*
|
5 |
* @author Averta [www.averta.net]
|
6 |
-
* @version 2.
|
7 |
-
* @date
|
8 |
*/
|
9 |
-
window.MSPanel=Ember.Application.create({rootElement:"#msp-root"}),MSPanel.version="2.50.3",MSPanel.SliderID=parseQueryString(window.location.search).slider_id||__MSP_SLIDER_ID||"100",MSPanel.SliderSlug=__MSP_SLIDER_ALIAS||"ms-"+MSPanel.SliderID,MSPanel.dependedControllers=[],String.prototype.jfmt=function(){return"".fmt.apply(this.replace(/%s|%d/,"%@"),arguments)},window.$=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"),this.resource("pro-features")}),MSPanel.Router.reopen({location:"none"}),MSPanel.ApplicationRoute=Ember.Route.extend({model:function(){var setting=MSPanel.Settings.find();0===setting.get("length")&&MSPanel.Settings.create().save()}}),MSPanel.SettingsRoute=Ember.Route.extend({model:function(){return MSPanel.Settings.find(1)},setupController:function(controller,model){controller.set("model",model),controller.setup()}}),MSPanel.SlidesRoute=Ember.Route.extend({model:function(){return MSPanel.Slide.find()},setupController:function(controller,model){controller.set("model",model),controller.set("sliderSettings",MSPanel.Settings.find(1)),controller.setup()}}),MSPanel.ControlsRoute=Ember.Route.extend({model:function(){return MSPanel.Control.find()},setupController:function(controller,model){controller.set("model",model),controller.setup(),this.activate()},activate:function(){var controller=this.get("controller");controller&&controller.set("controlOptions","empty-template")}}),MSPanel.CallbacksRoute=Ember.Route.extend({model:function(){return MSPanel.Callback.find()},setupController:function(controller,model){controller.set("model",model),controller.setup()}}),function(){var attr=Ember.attr,hasMany=Ember.hasMany,belongsTo=Ember.belongsTo,regp=/https\:|http\:/,WPPath={serialize:function(path){return void 0==path?path:regp.test(path)?path.replace(__MS.upload_dir,""):path.replace("/wp-content/uploads","")},deserialize:function(path){return void 0==path?path:regp.test(path)?path:__MS.upload_dir+path}},defaults=window.__MSP_DEF_OPTIONS||{};MSPanel.Settings=Ember.Model.extend({id:attr("number"),snapping:attr("boolean",{defaultValue:!0}),bgImageThumb:attr(WPPath),disableControls:attr("boolean",{defaultValue:!1}),name:attr("string",{defaultValue:__MSP_LAN.sm_001}),slug:attr("string"),width:attr("number",{defaultValue:defaults.width||1e3}),height:attr("number",{defaultValue:defaults.height||500}),wrapperWidth:attr("number"),minHeight:attr("number"),wrapperWidthUnit:attr("string",{defaultValue:"px"}),autoCrop:attr("boolean",{defaultValue:defaults.autoCrop||!1}),type:attr("string"),sliderId:attr("string"),autofillTarget:attr("string"),enableOverlayLayers:attr("boolean",{defaultValue:defaults.enableOverlayLayers||!0}),layout:attr("string",{defaultValue:defaults.layout||"boxed"}),autoHeight:attr("boolean",{defaultValue:defaults.autoHeight||!1}),trView:attr("string",{defaultValue:defaults.transition||"basic"}),speed:attr("number",{defaultValue:defaults.speed||20}),space:attr("number",{defaultValue:defaults.space||0}),start:attr("number",{defaultValue:defaults.start}),grabCursor:attr("boolean",{defaultValue:defaults.grabCursor}),swipe:attr("boolean",{defaultValue:defaults.swipe}),mouse:attr("boolean",{defaultValue:defaults.mouse}),wheel:attr("boolean",{defaultValue:defaults.wheel}),keyboard:attr("boolean",{defaultValue:defaults.keyboard}),autoplay:attr("boolean",{defaultValue:defaults.autoplay}),loop:attr("boolean",{defaultValue:defaults.loop}),shuffle:attr("boolean",{defaultValue:defaults.shuffle}),preload:attr("string",{defaultValue:defaults.preload}),overPause:attr("boolean",{defaultValue:defaults.overPause}),endPause:attr("boolean",{defaultValue:defaults.endPause}),hideLayers:attr("boolean",{defaultValue:defaults.hideLayers}),dir:attr("string",{defaultValue:defaults.dir}),parallaxMode:attr("srting",{defaultValue:defaults.parallaxMode}),useDeepLink:attr("string",{defaultValue:!1}),deepLink:attr("string"),deepLinkType:attr("string",{defaultValue:"path"}),mobileBGVideo:attr("boolean",{defaultValue:defaults.mobileBGVideo}),startOnAppear:attr("boolean",{defaultValue:defaults.startOnAppear}),scrollParallax:attr("boolean"),scrollParallaxMove:attr("number",{defaultValue:30}),scrollParallaxBGMove:attr("number",{defaultValue:50}),scrollParallaxFade:attr("boolean",{defaultValue:!0}),centerControls:attr("boolean",{defaultValue:defaults.centerControls}),instantShowLayers:attr("boolean",{defaultValue:defaults.instantShowLayers}),fullscreenMargin:attr("number"),inlineStyle:attr("string"),className:attr("string",{defaultValue:defaults.className}),bgColor:attr("string"),bgImage:attr(WPPath),customStyle:attr("string"),skin:attr("string",{defaultValue:defaults.skin}),msTemplate:attr("string",{defaultValue:"custom"}),msTemplateClass:attr("string",{defaultValue:""}),usedFonts:attr("string"),fbtoken:attr("string"),apiKey:attr("string"),setId:attr("string"),setType:attr("string"),imgCount:attr("number"),thumbSize:attr("srting"),imgSize:attr("string"),postType:attr("string"),postCats:attr(Array),postTags:attr(Array),postCount:attr("number"),postImageType:attr("string"),postOrder:attr("string"),postOrderDir:attr("string"),postExcerptLen:attr("number"),postExcludeIds:attr("string"),postExcludeNoImg:attr("boolean"),postIncludeIds:attr("string"),postOffset:attr("number"),postLinkSlide:attr("boolean"),postLinkTarget:attr("string"),postSlideBg:attr("string"),postSlideBgthumb:attr("string"),wcOnlyInstock:attr("boolean"),wcOnlyFeatured:attr("boolean"),wcOnlyOnsale:attr("boolean")}),MSPanel.Slide=Ember.Model.extend({id:attr("number"),timeline_h:attr("number",{defaultValue:200}),bgThumb:attr(WPPath),thumbOrginal:attr(WPPath),isOverlayLayers:attr("boolean",{defaultValue:!1}),order:attr("number"),ishide:attr("boolean"),bg:attr(WPPath),duration:attr("number",{defaultValue:defaults.duration||3}),msId:attr("string"),fillMode:attr("string",{defaultValue:defaults.slideFillMode||"fill"}),thumb:attr(WPPath),info:attr("string"),link:attr("string"),linkTarget:attr("string"),linkTitle:attr("string"),linkRel:attr("string"),linkClass:attr("string"),linkId:attr("string"),video:attr("string"),bgColor:attr("string"),autoplayVideo:attr("boolean"),pattern:attr("string"),colorOverlay:attr("string"),bgv_mp4:attr("string"),bgv_ogg:attr("string"),bgv_webm:attr("string"),bgv_fillmode:attr("string",{defaultValue:defaults.sliderVideoFillMode||"fill"}),bgv_loop:attr("boolean",{defaultValue:defaults.slideVideoLoop}),bgv_mute:attr("boolean",{defaultValue:defaults.slideVideoMute}),bgv_autopause:attr("boolean",{defaultValue:defaults.slideVideoAutopause}),cssId:attr("string"),cssClass:attr("string"),bgAlt:attr("string"),bgTitle:attr("string"),layers:hasMany("MSPanel.Layer",{key:"layer_ids"})}),MSPanel.Layer=Ember.Model.extend({id:attr("number"),name:attr("string"),isLocked:attr("boolean",{defaultValue:!1}),isHided:attr("boolean",{defaultValue:!1}),isSoloed:attr("boolean",{defaultValue:!1}),slide:belongsTo("MSPanel.Slide",{key:"slide"}),styleModel:belongsTo("MSPanel.Style",{key:"styleModel",embedded:!1}),showEffect:belongsTo("MSPanel.Effect",{key:"showEffect",embedded:!1}),showTransform:attr("string",{defaultValue:""}),showOrigin:attr("string",{defaultValue:""}),showFade:attr("boolean",{defaultValue:!0}),hideEffect:belongsTo("MSPanel.Effect",{key:"hideEffect",embedded:!1}),hideTransform:attr("string",{defaultValue:""}),hideOrigin:attr("string",{defaultValue:""}),hideFade:attr("boolean",{defaultValue:!0}),imgThumb:attr(WPPath),stageOffsetX:attr("number",{defaultValue:0}),stageOffsetY:attr("number",{defaultValue:0}),order:attr("number"),type:attr("string"),position:attr("string",{defaultValue:"normal"}),msId:attr("string"),cssClass:attr("string"),cssId:attr("string"),title:attr("string"),rel:attr("string"),noSwipe:attr("string",{defaultValue:!1}),content:attr("string",{defaultValue:defaults.layerContent||"Lorem Ipsum"}),img:attr(WPPath),imgAlt:attr("string"),video:attr("string",{defaultValue:"http://player.vimeo.com/video/11721242"}),align:attr("string",{defaultValue:"top"}),useAction:attr("boolean",{defaultValue:!1}),action:attr("string"),toSlide:attr("number"),link:attr("string"),linkTarget:attr("string"),scrollDuration:attr("number",{defaultValue:2}),scrollTarget:attr("string"),actionTargetLayer:attr("string"),offsetX:attr("number",{defaultValue:0}),offsetY:attr("number",{defaultValue:0}),width:attr("number"),height:attr("number"),resize:attr("boolean",{defaultValue:!0}),fixed:attr("boolean",{defaultValue:!1}),widthlimit:attr("number",{defaultValue:"0"}),origin:attr("string",{defaultValue:"tl"}),stayHover:attr("boolean",{defaultValue:!0}),className:attr("string"),parallax:attr("string"),wait:attr("boolean",{defaultValue:defaults.layerWait}),masked:attr("boolean"),maskCustomSize:attr("boolean"),maskWidth:attr("number"),maskHeight:attr("number"),overlayTargetSlides:attr("string"),overlayTargetSlidesAction:attr("string",{defaultValue:"show"}),showDuration:attr("number",{defaultValue:1}),showDelay:attr("number",{defaultValue:0}),showEase:attr("string",{defaultValue:"easeOutQuint"}),showEffFunc:attr("string"),useHide:attr("boolean",{defaultValue:!1}),hideDuration:attr("number",{defaultValue:1}),hideDelay:attr("number",{defaultValue:1}),hideEase:attr("string",{defaultValue:"easeOutQuint"}),hideEffFunc:attr("string"),btnClass:attr("string",{defaultValue:"ms-btn ms-default-btn"}),autoplayVideo:attr("boolean")}),MSPanel.Style=Ember.Model.extend({id:attr("number"),name:attr("string"),type:attr("string"),className:attr("string"),backgroundColor:attr("string"),paddingTop:attr("number"),paddingRight:attr("number"),paddingBottom:attr("number"),paddingLeft:attr("number"),borderTop:attr("number"),borderRight:attr("number"),borderBottom:attr("number"),borderLeft:attr("number"),borderColor:attr("string"),borderRadius:attr("number"),borderStyle:attr("string"),fontFamily:attr("string"),fontWeight:attr("string",{defaultValue:"normal"}),fontSize:attr("number"),textAlign:attr("string"),letterSpacing:attr("number"),lineHeight:attr("string",{defaultValue:"normal"}),whiteSpace:attr("string"),color:attr("string"),custom:attr("string")}),MSPanel.PresetStyle=MSPanel.Style.extend({}),MSPanel.Effect=Ember.Model.extend({id:attr("number"),name:attr("string"),type:attr("string"),fade:attr("boolean",{defaultValue:!0}),translateX:attr("number"),translateY:attr("number"),translateZ:attr("number"),scaleX:attr("number"),scaleY:attr("number"),rotate:attr("number"),rotateX:attr("number"),rotateY:attr("number"),rotateZ:attr("number"),skewX:attr("number"),skewY:attr("number"),originX:attr("number"),originY:attr("number"),originZ:attr("number")}),MSPanel.PresetEffect=MSPanel.Effect.extend({}),MSPanel.Control=Ember.Model.extend({id:attr("number"),label:attr("string"),name:attr("string"),autoHide:attr("boolean",{defaultValue:!0}),overVideo:attr("boolean",{defaultValue:!0}),cssClass:attr("string"),cssId:attr("string"),margin:attr("number"),dir:attr("string"),color:attr("string"),radius:attr("number"),stroke:attr("number"),speed:attr("number"),space:attr("number"),type:attr("string"),insertThumb:attr("boolean"),arrows:attr("boolean"),hoverChange:attr("boolean"),width:attr("number"),height:attr("number"),align:attr("string"),inset:attr("boolean"),size:attr("number"),hideUnder:attr("number"),fillMode:attr("string")}),MSPanel.Callback=Ember.Model.extend({id:attr("number"),label:attr("string"),name:attr("string"),content:attr("string",{defaultValue:"function(event){\n var api = event.target;\n}"})}),MSPanel.ButtonStyle=Ember.Model.extend({id:attr("number"),className:attr("string"),normal:attr("string"),hover:attr("string"),active:attr("string"),style:attr("string",{defaultValue:"ms-btn-box"}),size:attr("string",{defaultValue:"ms-btn-n"})});var decodeFix=function(str){var decoded=B64.decode(str);return decoded.slice(0,decoded.lastIndexOf("}")+1)};MSPanel.data=__MSP_DATA?JSON.parse(decodeFix(__MSP_DATA)):{meta:{}},MSPanel.PSData=__MSP_PRESET_STYLE?JSON.parse(decodeFix(__MSP_PRESET_STYLE)):{meta:{}},MSPanel.PEData=__MSP_PRESET_EFFECT?JSON.parse(decodeFix(__MSP_PRESET_EFFECT)):{meta:{}},MSPanel.PBData=__MSP_PRESET_BUTTON?JSON.parse(decodeFix(__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.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 hasImg=!Ember.isEmpty(this.get("slide.bg")),hasThumb=!Ember.isEmpty(this.get("slide.thumb"));this.beginPropertyChanges(),this.set("hasImg",hasImg||hasThumb),hasImg?this.set("preview","background-image:url("+this.get("slide.bgThumb")+");"):hasThumb&&this.set("preview","background-image:url("+this.get("slide.thumb")+");"),this.endPropertyChanges()}.observes("slide.bg","slide.thumb").on("didInsertElement"),onSelect:function(){var slide=this.get("slide");this.set("selected",slide===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:"div",classNames:["msp-slides-container"],template:Ember.Handlebars.compile('<ul class="msp-slides sortable">{{#each item in controller}}{{#if item.isOverlayLayers}}{{else}}<li class="msp-slideframe-item" {{bind-attr data-id=item.id}}>{{view MSPanel.SlideFrame slide=item}}</li>{{/if}}{{/each}}<li class="msp-addslide-cont"><div class="msp-addslide" {{action "addSlides"}}><span class="msp-ico msp-ico-grayaddlarge"></span><span class="msp-addslide-label">Add Slide</span></div></li> </ul>'),didInsertElement:function(){var that=this;this.$().find(".sortable").sortable({placeholder:"msp-frames-srtplaceholder",items:">li:not(.msp-addslide-cont)",delay:100,update:function(){that.updateSort()},create:function(){that.updateSort()}})},updateSort:function(){var indexes={};$(".msp-slideframe-item").each(function(index){indexes[$(this).data("id")]=index}),this.$().find(".sortable").sortable("cancel"),this.get("controller").updateSlidesSort(indexes)},onSelect:function(){}.observes("controller.currentSlide").on("init"),actions:{switchToOverlays:function(){this.get("controller.currentSlide.isOverlayLayers")||this.set("controller.currentSlide",this.get("controller.overlayLayersSlide"))}}}),MSPanel.ImgSelect=Ember.View.extend({classNames:["msp-imgselect"],value:"",hasImg:!1,frame:null,slideBg:!1,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 frame=this.get("frame");frame&&(frame.detach(),frame.remove(),frame=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",void 0),this.set("thumb",void 0),this.endPropertyChanges()},addImg:function(){if("undefined"!=typeof wp){var that=this,frame=this.get("frame");if(frame)return void frame.open();var frame=wp.media.frames.frame=wp.media({title:"Select Image",multiple:!1,frame:"select",library:{type:"image"},button:{text:"Add Image"}});frame.on("select",function(){var attachment=frame.state().get("selection").first().toJSON();that.set("thumb",(attachment.sizes.thumbnail||attachment.sizes.full).url),that.set("value",attachment.url)}),frame.open(),this.set("frame",frame)}}}}),MSPanel.Select=Ember.Select.extend({tagName:"div",classNames:["msp-ddlist"],layout:Ember.Handlebars.compile("<select>{{yield}}</select>"),value:null,width:100,didInsertElement:function(){var that=this;this.$("select").on("change",function(){var option=that.$("select option:selected");that.set("value",option.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 contents=[{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",contents),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 that=this,isFirst=!0;this.$("select").ddslick({width:154,onSelected:function(selected){!isFirst&&that.set("value",selected.selectedData.value),isFirst=!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 contents,valuedic;"slide"===this.get("type")?(contents=[{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"}],valuedic={fill:0,fit:1,center:2,stretch:3,tile:4}):"video"===this.get("type")&&(contents=[{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"}],valuedic={fill:0,fit:1,none:2}),this.set("contents",contents),this.set("valuedic",valuedic)}.on("init")}),MSPanel.AddLayer=Ember.View.extend({classNames:["msp-addlayer"],template:Ember.Handlebars.compile('<button {{action newLayer view.value}} class="msp-add-btn msp-addlayer-btn"><span class="msp-ico msp-ico-whiteadd"></span></button><div class="msp-addlayer-dd"><select>{{#each item in view.layertypes}}<option {{bind-attr value=item.value data-imagesrc=item.img}}>{{item.lable}}</option>{{/each}}</select></div>'),didInsertElement:function(){var that=this;this.$().find("select").ddslick({width:154,onSelected:function(selected){that.set("value",selected.selectedData.value)}})},onInit:function(){for(var layertypes=[],clt=this.get("controller.layertypes"),i=0,l=clt.length;i!==l;i++)layertypes.push({value:clt[i].value,lable:clt[i].lable,img:__MSP_PATH+"images/layertypes/"+clt[i].value+".png"});this.set("layertypes",layertypes)}.on("init")}),MSPanel.AlignBtns=Ember.View.extend({classNames:["msp-align-btns"],target:null,template:Ember.Handlebars.compile('<button title="'+__MSP_LAN.ui_015+'" {{action "alignLayer" "top" target=view.target}} class="msp-align-btn"><span class="msp-ico msp-ico-altop"></span></button><button title="'+__MSP_LAN.ui_016+'" {{action "alignLayer" "mid" target=view.target}} class="msp-align-btn"><span class="msp-ico msp-ico-almid"></span></button><button title="'+__MSP_LAN.ui_017+'" {{action "alignLayer" "bot" target=view.target}} class="msp-align-btn"><span class="msp-ico msp-ico-albot"></span></button><div class="msp-btn-space"></div><button title="'+__MSP_LAN.ui_018+'" {{action "alignLayer" "left" target=view.target}} class="msp-align-btn"><span class="msp-ico msp-ico-alleft"></span></button><button title="'+__MSP_LAN.ui_019+'" {{action "alignLayer" "center" target=view.target}} class="msp-align-btn"><span class="msp-ico msp-ico-alcenter"></span></button><button title="'+__MSP_LAN.ui_020+'" {{action "alignLayer" "right" target=view.target}} class="msp-align-btn"><span class="msp-ico msp-ico-alright"></span></button>')}),MSPanel.PositionOrigin=Ember.View.extend({classNames:["msp-origin-control"],layer:null,selectedNode:null,template:Ember.Handlebars.compile('<table><tbody><tr><td title="Top left" class="msp-origin-btn msp-origin-tl" data-origin="tl"></td><td title="Top center" class="msp-origin-btn msp-origin-tc" data-origin="tc"></td><td title="Top right" class="msp-origin-btn msp-origin-tr" data-origin="tr"></td></tr><tr><td title="Middle left" class="msp-origin-btn msp-origin-ml" data-origin="ml"></td><td title="Middle center" class="msp-origin-btn msp-origin-mc" data-origin="mc"></td><td title="Middle right" class="msp-origin-btn msp-origin-mr" data-origin="mr"></td></tr><tr><td title="Bottom left" class="msp-origin-btn msp-origin-bl" data-origin="bl"></td><td title="Bottom center" class="msp-origin-btn msp-origin-bc" data-origin="bc"></td><td title="Bottom right" class="msp-origin-btn msp-origin-br" data-origin="br"></td></tr></tbody></table>'),didInsertElement:function(){var that=this;this.$(".msp-origin-btn").click(function(){Ember.isEmpty(that.get("layer"))||that.set("layer.origin",$(this).data("origin"))}),this.onValueChanged()},onValueChanged:function(){var selectedNode=this.get("selectedNode");if(Ember.isEmpty(selectedNode)||selectedNode.removeClass("msp-origin-btn-selected"),Ember.isEmpty(this.get("layer")))return void this.$().addClass("msp-origin-control-disabled");this.$().removeClass("msp-origin-control-disabled");var value=this.get("layer.origin"),newNode=this.$(".msp-origin-"+value).addClass("msp-origin-btn-selected");this.set("selectedNode",newNode)}.observes("layer","layer.origin")}),MSPanel.ButtonsList=Ember.View.extend({classNames:["msp-buttons-container"],layer:null,template:Ember.Handlebars.compile('{{#each button in controller.buttonClasses}}<div class="msp-button-container" {{action "selectButton" button target=view}}><div class="msp-button-cell"><span {{bind-attr class=":ms-btn button.style button.size button.className"}}>Button</span></div></div>{{/each}}'),didInsertElement:function(){this.onValueChanged()},onValueChanged:function(){var className=this.get("layer.btnClass"),lastSelected=this.get("lastSelected");Ember.isEmpty(className)||(className=className.split(" ").pop(),Ember.isEmpty(lastSelected)||this.$("."+lastSelected).parent().removeClass("active"),this.$("."+className).parent().addClass("active"),this.set("lastSelected",className))}.observes("layer","layer.btnClass"),actions:{selectButton:function(button){this.set("layer.btnClass","ms-btn "+button.get("style")+" "+button.get("size")+" "+button.get("className"))}}}),MSPanel.ActionList=Ember.View.extend({classNames:["msp-action-list"],layer:null,showSlideNum:null,showDuration:null,template:Ember.Handlebars.compile('{{#dropdwon-List value=view.layer.action width=180}}<option value="next">'+(__MSP_LAN.ui_021||"Goto next slide")+'</option><option value="previous">'+(__MSP_LAN.ui_022||"Goto previous slide")+'</option><option value="gotoSlide">'+(__MSP_LAN.ui_025||"Goto slide")+'</option><option value="pause">'+(__MSP_LAN.ui_023||"Pause timer")+'</option><option value="resume">'+(__MSP_LAN.ui_024||"Resume timer")+'</option><option value="scrollToEnd">'+(__MSP_LAN.ui_028||"Scroll to bottom of slider")+'</option><option value="scrollTo">'+(__MSP_LAN.ui_030||"Scroll to an element in page")+'</option>{{/dropdwon-List}}{{#if view.showSlideNum}}<div class="msp-form-space-med"></div>'+(__MSP_LAN.ui_026||"Slide number : ")+' {{number-input value=view.layer.toSlide}}{{/if}}{{#if view.showDuration}}<div class="msp-form-space-med"></div>'+(__MSP_LAN.ui_029||"Scroll animation duration : ")+' {{number-input value=view.layer.scrollDuration}} s{{/if}}{{#if view.showTarget}}<div class="msp-form-space-med"></div>'+(__MSP_LAN.ui_029||"Scroll animation duration : ")+' {{number-input value=view.layer.scrollDuration}} s<div class="msp-form-space-med"></div>'+(__MSP_LAN.ui_031||"Target element : ")+" {{input value=view.layer.scrollTarget}}{{/if}}"),onValueChanged:function(){var value=this.get("layer.action");this.set("showSlideNum","gotoSlide"===value),this.set("showDuration","scrollToEnd"===value),this.set("showTarget","scrollTo"===value)}.observes("layer","layer.action").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><div id="overlaybox" {{bind-attr class=":msp-stage-pattern :ms-pattern controller.slide.pattern"}}></div>'),resize:function(){var w=this.get("controller.sliderSettings.width"),h=this.get("controller.sliderSettings.height");this.set("width",w),this.set("height",h),this.$().css({width:w,height:h})}.observes("controller.sliderSettings.width","controller.sliderSettings.height","parentView.zoom").on("didInsertElement"),didInsertElement:function(){var BG=this.$("#stage-bg"),BGImage=$("<img/>");BGImage.css("visibelity","hidden").each($.jqLoadFix);var aligner=new MSAligner(this.get("controller.slide.fillMode"),BG,BGImage);this.set("bgAligner",aligner),this.set("bgImg",BGImage),this.onBGChange()},onBGColorChange:function(){var color=this.get("controller.slide.bgColor");Ember.isEmpty(color)?this.$("#stage-bg").css("background-color",""):this.$("#stage-bg").css("background-color",color)}.observes("controller.slide.bgColor").on("didInsertElement"),onColorOverlayChange:function(){var color=this.get("controller.slide.colorOverlay");Ember.isEmpty(color)?this.$("#overlaybox").css("background-color",""):this.$("#overlaybox").css("background-color",color)}.observes("controller.slide.colorOverlay").on("didInsertElement"),onBGChange:function(){var alinger=this.get("bgAligner");alinger&&alinger.reset();var bg=this.get("controller.slide.bg"),bgImg=this.get("bgImg");if(Ember.isEmpty(bg))bgImg.detach();else{var that=this;bgImg.appendTo(this.$("#stage-bg")),bgImg.preloadImg(bg,function(event){that._onBGLoad(event)}),bgImg.attr("src",bg)}}.observes("controller.slide.bg"),_onBGLoad:function(event){var aligner=this.get("bgAligner");aligner&&(aligner.init(event.width,event.height),aligner.align(),this.get("bgImg").css("visibelity",""))},onFillModeChanged:function(){var aligner=this.get("bgAligner");aligner.changeType(this.get("controller.slide.fillMode"))}.observes("controller.slide.fillMode"),willDestroyElement:function(){$(document).off("keydown",this.moveLayer),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 remove "'+this.get("control.label")+'" control?')&&this.get("controller").send("removeControl",this.get("control"))}}}),function($){function WPEditorTemplate(id){var newEditor=$(hiddenEditor);return newEditor.find("link").remove(),newEditor.html().replace(/msp-hidden/g,id)}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 that=this;that.set("value",!that.get("value"))},update:function(){this.get("value")?this.$().addClass("switched"):this.$().removeClass("switched")}.observes("value").on("didInsertElement")}),MSPanel.AddDynamicTag=Ember.View.extend({classNames:["msp-add-dynamic-tags"],editorId:null,template:Ember.Handlebars.compile('<button {{action "addTag" target=view}} class="msp-add-btn"><span class="msp-ico msp-ico-whiteadd"></span></button><div class="msp-ddlist"></div>'),didInsertElement:function(){for(var select=$("<select></select>").appendTo(this.$(".msp-ddlist")).width(220),i=0,l=MSPanel.dynamicTags.length;i!==l;i++)select.append('<option value="'+MSPanel.dynamicTags[i].tag+'">'+MSPanel.dynamicTags[i].name+"</option>");
|
10 |
-
this.set("select",select)},actions:{addTag:function(){var id=this.get("editorId");tinymce&&$("#wp-"+id+"-wrap").hasClass("tmce-active")?tinymce.get(id).execCommand("insertHTML",!1,this.get("select").val()):$("#"+id).insertAtCaret(this.get("select").val())}}});var 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 id="msp-wpeditor-"+__tmc_msp_id;this.set("_id",id),this.set("template",Ember.Handlebars.compile(WPEditorTemplate(id))),__tmc_msp_id++}.on("init"),didInsertElement:function(){var tabs=this.get("tabs");return Ember.isEmpty(tabs)?void this.createEditor():void $("#"+tabs).bind("avtTabChange",{that:this},this.refreshEditor)},refreshEditor:function(event,tab){var that=event.data.that;that.get("tab")===tab&&that.createEditor()},createEditor:function(){if(this.get("inited")!==!0){this.set("inited",!0);var id=this.get("_id"),that=this;if(window.tinymce){var settings=$.extend({},window.tinyMCEPreInit.mceInit["msp-hidden"]||{});settings.forced_root_block="",settings.force_br_newlines=!0,settings.force_p_newlines=!1,settings.wpautop=!1,"3"==tinyMCE.majorVersion?(settings.body_class=settings.elements=id,settings.setup=function(ed){ed.onInit.add(function(){that.initEditor(tinyMCE.getInstanceById(id))})},tinymce.init(settings)):"4"==tinyMCE.majorVersion&&(settings.body_class="content post-type-post post-status-auto-draft post-format-standard",settings.selector="#"+id,settings.setup=function(ed){ed.on("init",function(){that.initEditor(tinyMCE.get(id))})},tinymce.init(settings))}var qtags,qtagSettings=$.extend({},window.tinyMCEPreInit.qtInit["msp-hidden"]||{});qtagSettings.id=id,"function"==typeof QTags&&(qtags=quicktags(qtagSettings),QTags.buttonsInitDone=!1,QTags._buttonsInit(),that.set("qtags",qtags),window.tinymce?switchEditors.go(id,"html"):this.onValueChanged(),this.$("textarea#"+this.get("_id")).on("change keyup paste",function(){that.set("value",$(this).val())}))}},initEditor:function(mce){function internalUpdate(){that.set("internalChange",!0),that.set("value",mce.getContent()),that.set("internalChange",!1)}var id=this.get("_id"),that=(this.get("value"),this);this.$(".wp-editor-wrap").on("mousedown",function(){wpActiveEditor=id}),"3"==tinyMCE.majorVersion?(mce.onChange.add(internalUpdate),mce.onKeyUp.add(internalUpdate)):"4"==tinyMCE.majorVersion&&(mce.on("change",internalUpdate),mce.on("keyup",internalUpdate)),this.$().click(internalUpdate),setTimeout(function(){switchEditors.go(id,"html"),switchEditors.go(id,"tmce")},100),this.set("mce",mce),this.onValueChanged()},onValueChanged:function(){if(this.get("inited")){var value=this.get("value");if(this.$("textarea#"+this.get("_id")).val(value),this.get("internalChange"))return void this.set("internalChange",!1);if(window.tinymce){var mce=this.get("mce");Ember.isEmpty(mce)||null==value?null==value&&mce.setContent(" "):mce.setContent(value)}}}.observes("value"),willDestroyElement:function(){if(this.get("inited")){window.tinymce&&tinymce.remove(this.get("_id"));var qtags=this.get("qtags");qtags&&($(qtags.toolbar).remove(),qtags.toolbar=null,qtags=null,QTags.instances[this.get("_id")]&&delete QTags.instances[this.get("_id")],this.$("textarea#"+this.get("_id")).remove());var tabs=this.get("tabs");Ember.isEmpty(tabs)||$("#"+tabs).unbind("avtTabChange",this.refreshEditor)}}}),jQuery.ui&&jQuery.ui.spinner&&(jQuery.ui.spinner.prototype._events.mousewheel=function(event,delta){if(delta&&this.element.is(":focus")){if(!this.spinning&&!this._start(event))return!1;this._spin((delta>0?1:-1)*this.options.step,event),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(event)},100),event.preventDefault()}}),MSPanel.NumberInputView=Ember.View.extend({step:1,min:0,tagName:"input",attributeBindings:["type"],lastValue:null,type:"text",didInsertElement:function(){var that=this,input=this.$(),updateValue=function(){var value=input.spinner("value");that.set("internalChange",!0),isNaN(value)||null==value?that.set("value",void 0):that.set("value",parseFloat(value))};input.on("change",updateValue).spinner({step:this.get("step"),numberFormat:"n",min:this.get("min"),max:this.get("max"),spin:updateValue,stop:updateValue}).spinner("value",this.get("value"))},onValueChanged:function(){this.get("internalChange")&&this.set("internalChange",!1),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 that=this;this.$().spectrum({color:this.get("value"),allowEmpty:!0,showInput:!0,showAlpha:!0,clickoutFiresChange:!0,preferredFormat:"hex6",change:function(color){null===color?that.set("value",null):that.set("value",color.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 that=this;this.$("select").on("change",function(){var option=that.$("select option:selected");that.set("value",option.attr("value"))}).width(this.get("width")),this.onValueChanged()},onValueChanged:function(){Ember.isEmpty(this.get("value"))||this.$("select").val(this.get("value"))}.observes("value")}),MSPanel.MultiDropdwonListComponent=Ember.Component.extend({tagName:"div",classNames:["msp-ddlist","msp-ddlist-multiselect"],layout:Ember.Handlebars.compile("<select {{bind-attr size=view.size}} multiple>{{yield}}</select>"),value:null,width:100,size:7,didInsertElement:function(){var that=this;this.$("select").on("change",function(){that.set("value",$(this).val())}).width(this.get("width")),this.onValueChanged()},onValueChanged:function(){Ember.isEmpty(this.get("value"))||this.$("select").val(this.get("value"))}.observes("value")}),MSPanel.GoogleFontsComponent=Ember.Component.extend({tagName:"div",classNames:["msp-ddlist","msp-gfonts-select"],defaultTemplate:Ember.Handlebars.compile('<select><option value="--" selected>Loading fonts..</option></select>'),value:null,variants:null,width:210,didInsertElement:function(){var that=this;GFonts.getList(function(){that.$("select").html('<option value="--" selected>-- select --</option>'+GFonts.generateSelectList()),that.onValueChanged(),that.$("select").trigger("change")}),this.$("select").on("change",function(){var option=that.$("select option:selected");"--"===option.val()?(that.set("value",void 0),that.set("variants",void 0)):(that.set("value",option.attr("value")),that.set("variants",option.attr("data-variants")))}).width(this.get("width")),that.onValueChanged()},onValueChanged:function(){this.$("select").val(Ember.isEmpty(this.get("value"))?"--":this.get("value"))}.observes("value")}),MSPanel.GoogleFontWeightsComponent=Ember.Component.extend({tagName:"div",classNames:["msp-ddlist","msp-gfonts-select msp-gfonts-weight"],defaultTemplate:Ember.Handlebars.compile("<select></select>"),variants:null,value:null,width:120,didInsertElement:function(){var that=this;this.$("select").on("change",function(){var option=that.$("select option:selected");return 0===option.length?void that.$("select").val("normal"):void("--"===option.val()?that.set("value",null):that.set("value",option.attr("value")))}).width(this.get("width")),that.updateVariants()},updateVariants:function(){var variants=this.get("variants");if(Ember.isEmpty(variants))this.$("select").html("<option>Select font</option>");else{var options="",value=this.get("value");variants=variants.split(",");for(var i=0,l=variants.length;i!==l;i++)-1===variants[i].indexOf("italic")&&(options+="regular"===variants[i]?'<option value="normal"'+("normal"===value?"selected":"")+">Normal</option>":'<option value="'+variants[i]+'"'+(value===variants[i]?"selected":"")+">"+variants[i]+"</option>");this.$("select").html(options).trigger("change")}}.observes("variants")}),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(){this.$().width(this.get("width")).height(this.get("height"));var that=this,editor=CodeMirror.fromTextArea(this.$(">textarea")[0],{lineNumbers:!0,mode:this.get("mode")});editor.on("change",function(){that.set("internalChange",!0),that.set("value",editor.getValue())}),this.set("editor",editor);var value=this.get("value");Ember.isEmpty(value)||editor.setValue(value);var tabs=this.get("tabs");Ember.isEmpty(tabs)||$("#"+tabs).bind("avtTabChange",{that:this},this.refreshEditor)},onValueChanged:function(){return this.get("internalChange")===!0?void this.set("internalChange",!1):(this.get("editor").setValue(this.get("value")),void this.set("internalChange",!1))}.observes("value"),refreshEditor:function(event,tab){var that=event.data.that;that.get("tab")===tab&&that.get("editor").refresh()},willDestroyElement:function(){var tabs=this.get("tabs");Ember.isEmpty(tabs)||$("#"+tabs).unbind("avtTabChange",this.refreshEditor);var editor=this.get("editor");editor.toTextArea(),editor=null,this.set("editor",null)}});for(var patterns='<div class="msp-pattern-prev ms-pattern"></div>',i=1;30>=i;i++)patterns+='<div class="msp-pattern-prev ms-pattern ms-patt-'+i+'" data-pattern="ms-patt-'+i+'" style="'+(i>15?"background-color:black;":"")+'"></div>';MSPanel.PatternPickerComponent=Ember.Component.extend({tagName:"div",classNames:["msp-pattern-picker"],value:null,patternBoxIsOpen:!1,layout:Ember.Handlebars.compile('<div class="msp-pattern-control sp-replacer sp-light"><div {{bind-attr class=":ms-pattern-preview :ms-pattern view.value"}}></div><div class="sp-dd">▼</div></div><div class="msp-patterns-box">'+patterns+"</div>"),didInsertElement:function(){this.$(".msp-pattern-control").on("click",{that:this},this.togglePatternbox),$(document).on("click",{that:this},this.closePatternbox),this.$(".msp-patterns-box").css("display","none").on("click",function(e){e.stopPropagation()}).find(".ms-pattern").on("click",{that:this},this.selectPattern)},togglePatternbox:function(e){var that=e.data.that;e.stopPropagation(),that.get("patternBoxIsOpen")&&that.closePatternbox(e),that.$(".msp-patterns-box").css("display",""),that.set("patternBoxIsOpen",!0)},closePatternbox:function(e){var that=e.data.that;that.get("patternBoxIsOpen")&&(that.$(".msp-patterns-box").css("display","none"),that.set("patternBoxIsOpen",!1))},selectPattern:function(e){e.stopPropagation();var that=e.data.that;that.set("value",$(this).data("pattern"))},willDestroyElement:function(){this.$(".msp-patterns-box").off("click",this.togglePatternbox).find(".ms-pattern").off("click"),$(document).off("click",this.closePatternbox)}})}(jQuery),MSPanel.pushData=null,MSPanel.ApplicationController=Ember.Controller.extend({isFlickr:"flickr"===__MSP_TYPE,isFacebook:"facebook"===__MSP_TYPE,isPost:"post"===__MSP_TYPE,isWcproduct:"wc-product"===__MSP_TYPE,sliderId:MSPanel.SliderID,isSending:!1,statusMsg:"",hasError:!1,onInit:function(){window.$||(window.$=jQuery.noConflict()),MSPanel.Settings.find(),MSPanel.Slide.find(),MSPanel.Layer.find(),MSPanel.Style.find(),MSPanel.Effect.find(),MSPanel.PresetStyle.find(),MSPanel.PresetEffect.find(),MSPanel.Control.find(),MSPanel.Callback.find(),MSPanel.ButtonStyle.find(),this.set("disableControls",MSPanel.Settings.find(0).get("disableControls"));var that=this;MSPanel.pushData=function(){that.prepareData()},MSPanel.createButton=this.createButton,"wc-product"===__MSP_TYPE&&null==__MSP_POST&&null!=__WC_INSTALL_URL&&(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(),window._msp_init_timeout&&clearTimeout(window._msp_init_timeout),$(window).scroll(function(){$(window).scrollTop()+$(window).height()>=$(document).height()-45?($("#saveBar").removeClass("msp-sticky-bar"),$("#saveBarPlaceHolder").css("display","none")):($("#saveBar").addClass("msp-sticky-bar"),$("#saveBarPlaceHolder").css("display",""))}).trigger("scroll"),$("#timeAgo").timeago(),setInterval($.proxy(this.updateSavedTime,this),3e4),$(document).bind("keydown",function(e){return(e.metaKey||e.ctrlKey)&&83==e.which?(e.preventDefault(),that.get("isSending")||that.send("saveAll"),!1):void 0})}.on("init"),updateSliderSlugShortCodes:function(){var alias=this.get("sliderSlug");Ember.isEmpty(alias)&&(alias=MSPanel.SliderSlug),this.set("shortCodeSlug",'[masterslider alias="'+alias+'"]'),this.set("phpFunctionSlug",'<?php masterslider("'+alias+'"); ?>')}.observes("sliderSlug").on("init"),prepareData:function(){var fonts={},font_str="";MSPanel.Style.find().forEach(function(record){var font=record.get("fontFamily"),weight=record.get("fontWeight");Ember.isEmpty(font)||(fonts[font]||(fonts[font]=[]),"normal"===weight&&(weight="regular"),Ember.isEmpty(weight)||-1!==fonts[font].indexOf(weight)||fonts[font].push(weight))});for(var font in fonts)font_str+=font.replace(/\s/,"+")+":"+fonts[font].join(",")+"|";MSPanel.Settings.find(1).set("usedFonts",font_str.slice(0,-1)),this.saveRecords(MSPanel.Settings.find()),this.saveRecords(MSPanel.Slide.find()),this.saveRecords(MSPanel.Layer.find()),this.saveRecords(MSPanel.Style.find()),this.saveRecords(MSPanel.Effect.find()),this.saveRecords(MSPanel.PresetStyle.find()),this.saveRecords(MSPanel.PresetEffect.find()),this.saveRecords(MSPanel.Control.find()),this.saveRecords(MSPanel.Callback.find()),this.saveRecords(MSPanel.ButtonStyle.find())},generateButtonStyles:function(){var styles=MSPanel.ButtonStyle.find(),css="",$styleElement=$("#msp-buttons");styles.forEach(function(style){css+="."+style.get("className")+" {"+style.get("normal")+"}\n."+style.get("className")+":hover {"+style.get("hover")+"}\n."+style.get("className")+":active {"+style.get("active")+"}\n"}),0===$styleElement.length?$styleElement=$('<style id="msp-buttons"></style>').text(css).appendTo($("head")):$styleElement.text(css)},actions:{saveAll:function(){this.prepareData(),this.sendData()},showPreview:function(event){window.lunchMastersliderPreview&&lunchMastersliderPreview(event)}},saveRecords:function(records){records.forEach(function(record){record.save()})},sendData:function(){this.set("statusMsg",__MSP_LAN.ap_001),this.set("isSending",!0),this.set("savingStatus","msp-saving");var that=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(res){that.set("statusMsg",res.message),that.set("isSending",!1),res.success===!0?(that.set("savingStatus","msp-save-succeed"),that.startAutoHideMsg()):that.set("savingStatus","msp-save-error")})},startAutoHideMsg:function(){var timeout=this.get("msgTimeout"),that=this;Ember.isEmpty(timeout)||clearTimeout(timeout),this.set("timeout",setTimeout(function(){that.set("savingStatus","msp-save-hide msp-save-succeed"),$("#timeAgo").attr("title",(new Date).toISOString()),that.updateSavedTime()},2e3))},updateSavedTime:function(){var timeEle=$("#timeAgo");timeEle.attr("title")&&$("#timeAgo").timeago("updateFromDOM")},createButton:function(normal,hover,active,style,size){var newPreset=MSPanel.ButtonStyle.create({normal:normal,hover:hover,active:active,size:size,style:style});newPreset.save(),newPreset.set("className","msp-preset-btn-"+newPreset.get("id")),newPreset.save()}}),MSPanel.SettingsController=Ember.ObjectController.extend({customSlider:window.__MSP_TYPE&&"custom"===window.__MSP_TYPE,sliderSkins:__MSP_SKINS,needs:["application","controls"],showAutoHeight:!1,showNearbyNum:!1,showWrapperWidth:!1,preloadMethod:null,setup:function(){var preload=this.get("preload");"all"===preload||"-1"===preload?this.set("preloadMethod",preload):this.set("preloadMethod","nearby"),this.set("draftMSTemplate",this.get("msTemplate"))},sliderLayoutChanged:function(){var layout=this.get("layout");"fullscreen"===layout||"autofill"===layout?(this.set("showAutoHeight",!1),this.set("autoHeight",!1)):this.set("showAutoHeight",!0),this.set("showWrapperWidth","boxed"===layout||"partialview"===layout),this.set("showAutoFillTarget","autofill"===layout),this.set("showMinHeight","fullscreen"!==layout&&"autofill"!==layout&&!this.get("autoHeight")),this.set("showFSMargin","fullscreen"===layout)}.observes("layout","autoHeight").on("setup"),preloadSetup:function(){var preloadMethod=this.get("preloadMethod");if("nearby"===preloadMethod){this.set("showNearbyNum",!0);var preload=this.get("preload");("all"===preload||"-1"===preload)&&this.set("preload","0")}else this.set("showNearbyNum",!1),this.set("preload",preloadMethod)}.observes("preloadMethod").on("setup"),actions:{}}),MSPanel.SlidesController=Ember.ArrayController.extend({customSlider:window.__MSP_TYPE&&"custom"===window.__MSP_TYPE,_order:-1,bgImgSelector:null,sortProperties:["order"],stylesController:null,effectsController:null,buttonsController:null,layersList:[],layersController:null,mainView:null,isFirst:!0,currentSlide:null,setup:function(){if(Ember.isEmpty(this.get("sliderSettings.type"))&&this.set("sliderSettings.type",__MSP_TYPE),this.set("sliderSettings.sliderId",MSPanel.SliderID),0!==this.get("length")){var slide=this.get("firstObject");this.set("currentSlide",slide),this.updateOrder()}},slide:function(){return this.get("currentSlide")}.property("currentSlide"),duplicateSlide:function(slide){var slideProp=slide.toJSON();delete slideProp.id;var newSlide=MSPanel.Slide.create(slideProp);newSlide.set("order",slide.get("order")+1),this.forEach(function(_slide){var slide_order=_slide.get("order"),nslide_order=newSlide.get("order");slide_order>=nslide_order&&_slide!==newSlide&&_slide.set("order",slide_order+1)}),newSlide.save(),this.updateOrder()},updateSlidesSort:function(indexes){this.beginPropertyChanges(),this.forEach(function(slide){slide.set("order",indexes[slide.get("id")])},this),this.endPropertyChanges(),this.set("_order",this.get("lastObject.order"))},updateOrder:function(){var i=0;this.forEach(function(slide){slide.get("isOverlayLayers")||slide.set("order",i++)}),this.set("_order",i-1)},removeSlide:function(slide){slide.deleteRecord(),0!==this.get("length")&&(this.send("select",this.get("firstObject")),this.updateOrder())},onImageSelect:function(){var uploaderFrame=this.get("uploaderFrame"),selection=uploaderFrame.state().get("selection"),self=this;selection.map(function(attachment){attachment=attachment.toJSON(),self.generateSlide(attachment,attachment.url,(attachment.sizes.thumbnail||attachment.sizes.full).url)}),this.send("select",this.get("lastObject"))},generateSlide:function(attachment,bg,thumb){var slide=MSPanel.Slide.create({order:this.get("_order")+1,bg:bg,bgThumb:thumb,bgAlt:attachment.alt,bgTitle:attachment.title});this.set("_order",this.get("_order")+1),slide.save(),this.updateOrder()},actions:{addSlides:function(){var uploaderFrame=this.get("uploaderFrame");Ember.isEmpty(uploaderFrame)&&(uploaderFrame=wp.media.frames.frame=wp.media({title:__MSP_LAN.slc_001||"Select background image for new slide. (Multiple selection is available)",multiple:!0,frame:"select",library:{type:"image"},button:{text:__MSP_LAN.slc_002||"Create Slide(s)"}}),uploaderFrame.on("select",$.proxy(this.onImageSelect,this)),this.set("uploaderFrame",uploaderFrame)),uploaderFrame.open()},newSlide:function(){var slide=MSPanel.Slide.create({order:this.get("_order")+1});this.set("currentSlide",slide),this.set("_order",this.get("_order")+1),slide.save(),this.updateOrder()},select:function(slide){slide!==this.get("currentSlide")&&this.set("currentSlide",slide)}}}),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 that=this;this.forEach(function(control){that.findControlObj(control.get("name")).used=!0}),this.set("availableControls",this.findAvailableControls())},onInsertThumb:function(){var ctr=this.get("currentControl");Ember.isEmpty(ctr)||("tabs"===this.get("currentControl.type")?this.set("isTab",!0):this.set("isTab",!1))}.observes("currentControl.type").on("didInsertElement"),actions:{addControl:function(){var control,controlName=this.get("selectedControl"),controlObj=this.findControlObj(controlName);control=MSPanel.Control.create(this.getDefaultValues(controlName)),control.set("label",controlObj.label),controlObj.used=!0,this.set("availableControls",this.findAvailableControls()),control.save(),this.set("currentControl",control)},removeControl:function(control){this.findControlObj(control.get("name")).used=!1,this.set("availableControls",this.findAvailableControls()),control.deleteRecord(),this.set("currentControl",this.get("firstObject")),this.send("showControlOptions")},showControlOptions:function(){var currentControl=this.get("currentControl");Ember.isEmpty(currentControl)?this.set("controlOptions","empty-template"):this.set("controlOptions",currentControl.get("name")+"-options")}},findControlObj:function(control){for(var controls=this.get("controls"),i=0,l=controls.length;i!==l;i++)if(controls[i].value===control)return controls[i];return null},findAvailableControls:function(){for(var avc=[],controls=this.get("controls"),i=0,l=controls.length;i!==l;i++)controls[i].used||avc.push(controls[i]);return this.set("noMore",0===avc.length),this.set("selectedControl",avc[0]?avc[0].value:null),avc},getDefaultValues:function(control){var values={name:control};switch(values.inset=!("slideinfo"===control||"thumblist"===control),control){case"timebar":values.align="bottom",values.color="#FFFFFF",values.autoHide=!1,values.width=4;break;case"bullets":values.align="bottom",values.dir="h",values.margin=10,values.space=6;break;case"circletimer":values.color="#A2A2A2",values.stroke=10,values.radius=4,values.autoHide=!1;break;case"scrollbar":values.align="top",values.dir="h",values.color="#3D3D3D",values.margin=10,values.autoHide=!1,values.width=4;break;case"slideinfo":values.align="bottom",values.margin=10,values.autoHide=!1;break;case"thumblist":values.align="bottom",values.space=5,values.width=100,values.height=80,values.margin=10,values.fillMode="fill",values.autoHide=!1}return values}}),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 that=this;this.forEach(function(callback){that.findCallbackObj(callback.get("name")).used=!0}),this.set("availableCallbacks",this.findAvailableCallbacks())},actions:{addCallback:function(){var callback,callbackName=this.get("selectedCallback"),callbackObj=this.findCallbackObj(callbackName);callback=MSPanel.Callback.create({name:callbackObj.value,label:callbackObj.label}),callbackObj.used=!0,this.set("availableCallbacks",this.findAvailableCallbacks()),callback.save()},removeCallback:function(callback){confirm(__MSP_LAN.cb_010.jfmt(callback.get("label")))&&(this.findCallbackObj(callback.get("name")).used=!1,this.set("availableCallbacks",this.findAvailableCallbacks()),callback.deleteRecord())}},findCallbackObj:function(callback){for(var callbacks=this.get("callbacks"),i=0,l=callbacks.length;i!==l;i++)if(callbacks[i].value===callback)return callbacks[i];return null},findAvailableCallbacks:function(){for(var avc=[],callbacks=this.get("callbacks"),i=0,l=callbacks.length;i!==l;i++)callbacks[i].used||avc.push(callbacks[i]);return this.set("noMore",0===avc.length),this.set("selectedCallback",avc[0]?avc[0].value:null),avc}});
|
1 |
/*!
|
2 |
* Master Slider WordPress Lite Panel
|
3 |
+
* Copyright © 2020 All Rights Reserved.
|
4 |
*
|
5 |
* @author Averta [www.averta.net]
|
6 |
+
* @version 2.80.7
|
7 |
+
* @date Dec 2020
|
8 |
*/
|
9 |
+
window.MSPanel=Ember.Application.create({rootElement:"#msp-root"}),MSPanel.version="2.80.7",MSPanel.SliderID=parseQueryString(window.location.search).slider_id||__MSP_SLIDER_ID||"100",MSPanel.SliderSlug=__MSP_SLIDER_ALIAS||"ms-"+MSPanel.SliderID,MSPanel.dependedControllers=[],String.prototype.jfmt=function(){return"".fmt.apply(this.replace(/%s|%d/,"%@"),arguments)},window.$=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"),this.resource("pro-features")}),MSPanel.Router.reopen({location:"none"}),MSPanel.ApplicationRoute=Ember.Route.extend({model:function(){var setting=MSPanel.Settings.find();0===setting.get("length")&&MSPanel.Settings.create().save()}}),MSPanel.SettingsRoute=Ember.Route.extend({model:function(){return MSPanel.Settings.find(1)},setupController:function(controller,model){controller.set("model",model),controller.setup()}}),MSPanel.SlidesRoute=Ember.Route.extend({model:function(){return MSPanel.Slide.find()},setupController:function(controller,model){controller.set("model",model),controller.set("sliderSettings",MSPanel.Settings.find(1)),controller.setup()}}),MSPanel.ControlsRoute=Ember.Route.extend({model:function(){return MSPanel.Control.find()},setupController:function(controller,model){controller.set("model",model),controller.setup(),this.activate()},activate:function(){var controller=this.get("controller");controller&&controller.set("controlOptions","empty-template")}}),MSPanel.CallbacksRoute=Ember.Route.extend({model:function(){return MSPanel.Callback.find()},setupController:function(controller,model){controller.set("model",model),controller.setup()}}),function(){var attr=Ember.attr,hasMany=Ember.hasMany,belongsTo=Ember.belongsTo,regp=/https\:|http\:/,WPPath={serialize:function(path){return void 0==path?path:regp.test(path)?path.replace(__MS.upload_dir,""):path.replace("/wp-content/uploads","")},deserialize:function(path){return void 0==path?path:regp.test(path)?path:__MS.upload_dir+path}},defaults=window.__MSP_DEF_OPTIONS||{};MSPanel.Settings=Ember.Model.extend({id:attr("number"),snapping:attr("boolean",{defaultValue:!0}),bgImageThumb:attr(WPPath),disableControls:attr("boolean",{defaultValue:!1}),name:attr("string",{defaultValue:__MSP_LAN.sm_001}),slug:attr("string"),width:attr("number",{defaultValue:defaults.width||1e3}),height:attr("number",{defaultValue:defaults.height||500}),wrapperWidth:attr("number"),minHeight:attr("number"),wrapperWidthUnit:attr("string",{defaultValue:"px"}),autoCrop:attr("boolean",{defaultValue:defaults.autoCrop||!1}),type:attr("string"),sliderId:attr("string"),autofillTarget:attr("string"),responsiveSize:attr("boolean",{defaultValue:!1}),tabletWidth:attr("number",{defaultValue:defaults.tabletWidth||768}),tabletHeight:attr("number"),phoneWidth:attr("number",{defaultValue:defaults.phoneWidth||480}),phoneHeight:attr("number"),enableOverlayLayers:attr("boolean",{defaultValue:defaults.enableOverlayLayers||!0}),layout:attr("string",{defaultValue:defaults.layout||"boxed"}),autoHeight:attr("boolean",{defaultValue:defaults.autoHeight||!1}),trView:attr("string",{defaultValue:defaults.transition||"basic"}),speed:attr("number",{defaultValue:defaults.speed||20}),space:attr("number",{defaultValue:defaults.space||0}),start:attr("number",{defaultValue:defaults.start}),grabCursor:attr("boolean",{defaultValue:defaults.grabCursor}),swipe:attr("boolean",{defaultValue:defaults.swipe}),mouse:attr("boolean",{defaultValue:defaults.mouse}),wheel:attr("boolean",{defaultValue:defaults.wheel}),keyboard:attr("boolean",{defaultValue:defaults.keyboard}),autoplay:attr("boolean",{defaultValue:defaults.autoplay}),loop:attr("boolean",{defaultValue:defaults.loop}),shuffle:attr("boolean",{defaultValue:defaults.shuffle}),preload:attr("string",{defaultValue:defaults.preload}),overPause:attr("boolean",{defaultValue:defaults.overPause}),endPause:attr("boolean",{defaultValue:defaults.endPause}),hideLayers:attr("boolean",{defaultValue:defaults.hideLayers}),dir:attr("string",{defaultValue:defaults.dir}),parallaxMode:attr("srting",{defaultValue:defaults.parallaxMode}),useDeepLink:attr("string",{defaultValue:!1}),deepLink:attr("string"),deepLinkType:attr("string",{defaultValue:"path"}),mobileBGVideo:attr("boolean",{defaultValue:defaults.mobileBGVideo}),startOnAppear:attr("boolean",{defaultValue:defaults.startOnAppear}),scrollParallax:attr("boolean"),scrollParallaxMove:attr("number",{defaultValue:30}),scrollParallaxBGMove:attr("number",{defaultValue:50}),scrollParallaxFade:attr("boolean",{defaultValue:!0}),centerControls:attr("boolean",{defaultValue:defaults.centerControls}),instantShowLayers:attr("boolean",{defaultValue:defaults.instantShowLayers}),fullscreenMargin:attr("number"),inlineStyle:attr("string"),className:attr("string",{defaultValue:defaults.className}),bgColor:attr("string"),bgImage:attr(WPPath),customStyle:attr("string"),skin:attr("string",{defaultValue:defaults.skin}),msTemplate:attr("string",{defaultValue:"custom"}),msTemplateClass:attr("string",{defaultValue:""}),usedFonts:attr("string"),fbtoken:attr("string"),apiKey:attr("string"),setId:attr("string"),setType:attr("string"),imgCount:attr("number"),thumbSize:attr("srting"),imgSize:attr("string"),postType:attr("string"),postCats:attr(Array),postTags:attr(Array),postCount:attr("number"),postImageType:attr("string"),postOrder:attr("string"),postOrderDir:attr("string"),postExcerptLen:attr("number"),postExcludeIds:attr("string"),postExcludeNoImg:attr("boolean"),postIncludeIds:attr("string"),postOffset:attr("number"),postLinkSlide:attr("boolean"),postLinkTarget:attr("string"),postSlideBg:attr("string"),postSlideBgthumb:attr("string"),wcOnlyInstock:attr("boolean"),wcOnlyFeatured:attr("boolean"),wcOnlyOnsale:attr("boolean")}),MSPanel.Slide=Ember.Model.extend({id:attr("number"),timeline_h:attr("number",{defaultValue:200}),bgThumb:attr(WPPath),thumbOrginal:attr(WPPath),isOverlayLayers:attr("boolean",{defaultValue:!1}),order:attr("number"),ishide:attr("boolean"),bg:attr(WPPath),duration:attr("number",{defaultValue:defaults.duration||3}),msId:attr("string"),fillMode:attr("string",{defaultValue:defaults.slideFillMode||"fill"}),thumb:attr(WPPath),info:attr("string"),link:attr("string"),linkTarget:attr("string"),linkTitle:attr("string"),linkRel:attr("string"),linkClass:attr("string"),linkId:attr("string"),video:attr("string"),bgColor:attr("string"),autoplayVideo:attr("boolean"),pattern:attr("string"),colorOverlay:attr("string"),bgv_mp4:attr("string"),bgv_ogg:attr("string"),bgv_webm:attr("string"),bgv_fillmode:attr("string",{defaultValue:defaults.sliderVideoFillMode||"fill"}),bgv_loop:attr("boolean",{defaultValue:defaults.slideVideoLoop}),bgv_mute:attr("boolean",{defaultValue:defaults.slideVideoMute}),bgv_autopause:attr("boolean",{defaultValue:defaults.slideVideoAutopause}),cssId:attr("string"),cssClass:attr("string"),bgAlt:attr("string"),bgTitle:attr("string"),layers:hasMany("MSPanel.Layer",{key:"layer_ids"})}),MSPanel.Layer=Ember.Model.extend({id:attr("number"),name:attr("string"),isLocked:attr("boolean",{defaultValue:!1}),isHided:attr("boolean",{defaultValue:!1}),isSoloed:attr("boolean",{defaultValue:!1}),slide:belongsTo("MSPanel.Slide",{key:"slide"}),styleModel:belongsTo("MSPanel.Style",{key:"styleModel",embedded:!1}),showEffect:belongsTo("MSPanel.Effect",{key:"showEffect",embedded:!1}),showTransform:attr("string",{defaultValue:""}),showOrigin:attr("string",{defaultValue:""}),showFade:attr("boolean",{defaultValue:!0}),hideEffect:belongsTo("MSPanel.Effect",{key:"hideEffect",embedded:!1}),hideTransform:attr("string",{defaultValue:""}),hideOrigin:attr("string",{defaultValue:""}),hideFade:attr("boolean",{defaultValue:!0}),imgThumb:attr(WPPath),stageOffsetX:attr("number",{defaultValue:0}),stageOffsetY:attr("number",{defaultValue:0}),order:attr("number"),type:attr("string"),position:attr("string",{defaultValue:"normal"}),msId:attr("string"),cssClass:attr("string"),cssId:attr("string"),title:attr("string"),rel:attr("string"),noSwipe:attr("string",{defaultValue:!1}),content:attr("string",{defaultValue:defaults.layerContent||"Lorem Ipsum"}),img:attr(WPPath),imgAlt:attr("string"),video:attr("string",{defaultValue:"http://player.vimeo.com/video/11721242"}),align:attr("string",{defaultValue:"top"}),useAction:attr("boolean",{defaultValue:!1}),action:attr("string"),toSlide:attr("number"),link:attr("string"),linkTarget:attr("string"),scrollDuration:attr("number",{defaultValue:2}),scrollTarget:attr("string"),actionTargetLayer:attr("string"),offsetX:attr("number",{defaultValue:0}),offsetY:attr("number",{defaultValue:0}),width:attr("number"),height:attr("number"),resize:attr("boolean",{defaultValue:!0}),fixed:attr("boolean",{defaultValue:!1}),widthlimit:attr("number",{defaultValue:"0"}),origin:attr("string",{defaultValue:"tl"}),tabletOffsetY:attr("number"),tabletOffsetX:attr("number"),tabletOrigin:attr("string"),phoneOffsetX:attr("number"),phoneOffsetY:attr("number"),phoneOrigin:attr("string"),hideOn:attr("string"),stayHover:attr("boolean",{defaultValue:!0}),className:attr("string"),parallax:attr("string"),wait:attr("boolean",{defaultValue:defaults.layerWait}),masked:attr("boolean"),maskCustomSize:attr("boolean"),maskWidth:attr("number"),maskHeight:attr("number"),overlayTargetSlides:attr("string"),overlayTargetSlidesAction:attr("string",{defaultValue:"show"}),showDuration:attr("number",{defaultValue:1}),showDelay:attr("number",{defaultValue:0}),showEase:attr("string",{defaultValue:"easeOutQuint"}),showEffFunc:attr("string"),useHide:attr("boolean",{defaultValue:!1}),hideDuration:attr("number",{defaultValue:1}),hideDelay:attr("number",{defaultValue:1}),hideEase:attr("string",{defaultValue:"easeOutQuint"}),hideEffFunc:attr("string"),btnClass:attr("string",{defaultValue:"ms-btn ms-default-btn"}),autoplayVideo:attr("boolean")}),MSPanel.Style=Ember.Model.extend({id:attr("number"),name:attr("string"),type:attr("string"),className:attr("string"),backgroundColor:attr("string"),paddingTop:attr("number"),paddingRight:attr("number"),paddingBottom:attr("number"),paddingLeft:attr("number"),borderTop:attr("number"),borderRight:attr("number"),borderBottom:attr("number"),borderLeft:attr("number"),borderColor:attr("string"),borderRadius:attr("number"),borderStyle:attr("string"),fontFamily:attr("string"),fontWeight:attr("string",{defaultValue:"normal"}),fontSize:attr("number"),textAlign:attr("string"),letterSpacing:attr("number"),lineHeight:attr("string",{defaultValue:"normal"}),whiteSpace:attr("string"),color:attr("string"),custom:attr("string")}),MSPanel.PresetStyle=MSPanel.Style.extend({}),MSPanel.Effect=Ember.Model.extend({id:attr("number"),name:attr("string"),type:attr("string"),fade:attr("boolean",{defaultValue:!0}),translateX:attr("number"),translateY:attr("number"),translateZ:attr("number"),scaleX:attr("number"),scaleY:attr("number"),rotate:attr("number"),rotateX:attr("number"),rotateY:attr("number"),rotateZ:attr("number"),skewX:attr("number"),skewY:attr("number"),originX:attr("number"),originY:attr("number"),originZ:attr("number")}),MSPanel.PresetEffect=MSPanel.Effect.extend({}),MSPanel.Control=Ember.Model.extend({id:attr("number"),label:attr("string"),name:attr("string"),autoHide:attr("boolean",{defaultValue:!0}),overVideo:attr("boolean",{defaultValue:!0}),cssClass:attr("string"),cssId:attr("string"),margin:attr("number"),dir:attr("string"),color:attr("string"),radius:attr("number"),stroke:attr("number"),speed:attr("number"),space:attr("number"),type:attr("string"),insertThumb:attr("boolean"),arrows:attr("boolean"),hoverChange:attr("boolean"),width:attr("number"),height:attr("number"),align:attr("string"),inset:attr("boolean"),size:attr("number"),hideUnder:attr("number"),fillMode:attr("string")}),MSPanel.Callback=Ember.Model.extend({id:attr("number"),label:attr("string"),name:attr("string"),content:attr("string",{defaultValue:"function(event){\n var api = event.target;\n}"})}),MSPanel.ButtonStyle=Ember.Model.extend({id:attr("number"),className:attr("string"),normal:attr("string"),hover:attr("string"),active:attr("string"),style:attr("string",{defaultValue:"ms-btn-box"}),size:attr("string",{defaultValue:"ms-btn-n"})});var decodeFix=function(str){var decoded=B64.decode(str);return decoded.slice(0,decoded.lastIndexOf("}")+1)};MSPanel.data=__MSP_DATA?JSON.parse(decodeFix(__MSP_DATA)):{meta:{}},MSPanel.PSData=__MSP_PRESET_STYLE?JSON.parse(decodeFix(__MSP_PRESET_STYLE)):{meta:{}},MSPanel.PEData=__MSP_PRESET_EFFECT?JSON.parse(decodeFix(__MSP_PRESET_EFFECT)):{meta:{}},MSPanel.PBData=__MSP_PRESET_BUTTON?JSON.parse(decodeFix(__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.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 hasImg=!Ember.isEmpty(this.get("slide.bg")),hasThumb=!Ember.isEmpty(this.get("slide.thumb"));this.beginPropertyChanges(),this.set("hasImg",hasImg||hasThumb),hasImg?this.set("preview","background-image:url("+this.get("slide.bgThumb")+");"):hasThumb&&this.set("preview","background-image:url("+this.get("slide.thumb")+");"),this.endPropertyChanges()}.observes("slide.bg","slide.thumb").on("didInsertElement"),onSelect:function(){var slide=this.get("slide");this.set("selected",slide===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:"div",classNames:["msp-slides-container"],template:Ember.Handlebars.compile('<ul class="msp-slides sortable">{{#each item in controller}}{{#if item.isOverlayLayers}}{{else}}<li class="msp-slideframe-item" {{bind-attr data-id=item.id}}>{{view MSPanel.SlideFrame slide=item}}</li>{{/if}}{{/each}}<li class="msp-addslide-cont"><div class="msp-addslide" {{action "addSlides"}}><span class="msp-ico msp-ico-grayaddlarge"></span><span class="msp-addslide-label">Add Slide</span></div></li> </ul>'),didInsertElement:function(){var that=this;this.$().find(".sortable").sortable({placeholder:"msp-frames-srtplaceholder",items:">li:not(.msp-addslide-cont)",delay:100,update:function(){that.updateSort()},create:function(){that.updateSort()}})},updateSort:function(){var indexes={};$(".msp-slideframe-item").each(function(index){indexes[$(this).data("id")]=index}),this.$().find(".sortable").sortable("cancel"),this.get("controller").updateSlidesSort(indexes)},onSelect:function(){}.observes("controller.currentSlide").on("init"),actions:{switchToOverlays:function(){this.get("controller.currentSlide.isOverlayLayers")||this.set("controller.currentSlide",this.get("controller.overlayLayersSlide"))}}}),MSPanel.ImgSelect=Ember.View.extend({classNames:["msp-imgselect"],value:"",hasImg:!1,frame:null,slideBg:!1,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 frame=this.get("frame");frame&&(frame.detach(),frame.remove(),frame=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",void 0),this.set("thumb",void 0),this.endPropertyChanges()},addImg:function(){if("undefined"!=typeof wp){var that=this,frame=this.get("frame");if(frame)return void frame.open();var frame=wp.media.frames.frame=wp.media({title:"Select Image",multiple:!1,frame:"select",library:{type:"image"},button:{text:"Add Image"}});frame.on("select",function(){var attachment=frame.state().get("selection").first().toJSON();that.set("thumb",(attachment.sizes.thumbnail||attachment.sizes.full).url),that.set("value",attachment.url)}),frame.open(),this.set("frame",frame)}}}}),MSPanel.Select=Ember.Select.extend({tagName:"div",classNames:["msp-ddlist"],layout:Ember.Handlebars.compile("<select>{{yield}}</select>"),value:null,width:100,didInsertElement:function(){var that=this;this.$("select").on("change",function(){var option=that.$("select option:selected");that.set("value",option.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 contents=[{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",contents),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 that=this,isFirst=!0;this.$("select").ddslick({width:154,onSelected:function(selected){!isFirst&&that.set("value",selected.selectedData.value),isFirst=!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 contents,valuedic;"slide"===this.get("type")?(contents=[{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"}],valuedic={fill:0,fit:1,center:2,stretch:3,tile:4}):"video"===this.get("type")&&(contents=[{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"}],valuedic={fill:0,fit:1,none:2}),this.set("contents",contents),this.set("valuedic",valuedic)}.on("init")}),MSPanel.AddLayer=Ember.View.extend({classNames:["msp-addlayer"],template:Ember.Handlebars.compile('<button {{action newLayer view.value}} class="msp-add-btn msp-addlayer-btn"><span class="msp-ico msp-ico-whiteadd"></span></button><div class="msp-addlayer-dd"><select>{{#each item in view.layertypes}}<option {{bind-attr value=item.value data-imagesrc=item.img}}>{{item.lable}}</option>{{/each}}</select></div>'),didInsertElement:function(){var that=this;this.$().find("select").ddslick({width:154,onSelected:function(selected){that.set("value",selected.selectedData.value)}})},onInit:function(){for(var layertypes=[],clt=this.get("controller.layertypes"),i=0,l=clt.length;i!==l;i++)layertypes.push({value:clt[i].value,lable:clt[i].lable,img:__MSP_PATH+"images/layertypes/"+clt[i].value+".png"});this.set("layertypes",layertypes)}.on("init")}),MSPanel.AlignBtns=Ember.View.extend({classNames:["msp-align-btns"],target:null,template:Ember.Handlebars.compile('<button title="'+__MSP_LAN.ui_015+'" {{action "alignLayer" "top" target=view.target}} class="msp-align-btn"><span class="msp-ico msp-ico-altop"></span></button><button title="'+__MSP_LAN.ui_016+'" {{action "alignLayer" "mid" target=view.target}} class="msp-align-btn"><span class="msp-ico msp-ico-almid"></span></button><button title="'+__MSP_LAN.ui_017+'" {{action "alignLayer" "bot" target=view.target}} class="msp-align-btn"><span class="msp-ico msp-ico-albot"></span></button><div class="msp-btn-space"></div><button title="'+__MSP_LAN.ui_018+'" {{action "alignLayer" "left" target=view.target}} class="msp-align-btn"><span class="msp-ico msp-ico-alleft"></span></button><button title="'+__MSP_LAN.ui_019+'" {{action "alignLayer" "center" target=view.target}} class="msp-align-btn"><span class="msp-ico msp-ico-alcenter"></span></button><button title="'+__MSP_LAN.ui_020+'" {{action "alignLayer" "right" target=view.target}} class="msp-align-btn"><span class="msp-ico msp-ico-alright"></span></button>')}),MSPanel.PositionOrigin=Ember.View.extend({classNames:["msp-origin-control"],layer:null,selectedNode:null,template:Ember.Handlebars.compile('<table><tbody><tr><td title="Top left" class="msp-origin-btn msp-origin-tl" data-origin="tl"></td><td title="Top center" class="msp-origin-btn msp-origin-tc" data-origin="tc"></td><td title="Top right" class="msp-origin-btn msp-origin-tr" data-origin="tr"></td></tr><tr><td title="Middle left" class="msp-origin-btn msp-origin-ml" data-origin="ml"></td><td title="Middle center" class="msp-origin-btn msp-origin-mc" data-origin="mc"></td><td title="Middle right" class="msp-origin-btn msp-origin-mr" data-origin="mr"></td></tr><tr><td title="Bottom left" class="msp-origin-btn msp-origin-bl" data-origin="bl"></td><td title="Bottom center" class="msp-origin-btn msp-origin-bc" data-origin="bc"></td><td title="Bottom right" class="msp-origin-btn msp-origin-br" data-origin="br"></td></tr></tbody></table>'),didInsertElement:function(){var that=this;this.$(".msp-origin-btn").click(function(){const layer=that.get("layer"),bp=that.get("controller.parentController.activeBreakpoint"),origin=MSPanel.getLayerResponsiveOriginKey(bp);Ember.isEmpty(layer)||that.set("layer."+origin,$(this).data("origin"))}),this.onValueChanged()},onValueChanged:function(){var selectedNode=this.get("selectedNode");const bp=this.get("controller.parentController.activeBreakpoint"),layer=this.get("layer");if(Ember.isEmpty(selectedNode)||selectedNode.removeClass("msp-origin-btn-selected"),Ember.isEmpty(layer))return void this.$().addClass("msp-origin-control-disabled");this.$().removeClass("msp-origin-control-disabled");var value=MSPanel.getResponsiveValue(layer,MSPanel.getLayerResponsiveOriginKey,bp),newNode=this.$(".msp-origin-"+value).addClass("msp-origin-btn-selected");this.set("selectedNode",newNode)}.observes("layer","layer.origin","layer.tabletOrigin","layer.phoneOrigin","controller.parentController.activeBreakpoint")}),MSPanel.ResponsiveSwitch=Ember.View.extend({classNames:["msp-responsive-control"],layer:null,selectedNode:null,template:Ember.Handlebars.compile('<button data-value="desktop" class="msp-responsive-btn msp-responsive-btn-desktop"><span class="msp-ico msp-ico-desktop"></span></button><button data-value="tablet" class="msp-responsive-btn msp-responsive-btn-tablet"><span class="msp-ico msp-ico-tablet"></span></button><button data-value="phone" class="msp-responsive-btn msp-responsive-btn-phone"><span class="msp-ico msp-ico-phone"></span></button>'),didInsertElement:function(){var that=this;this.$(".msp-responsive-btn").click(function(e){var bp="desktop";e.currentTarget.dataset&&e.currentTarget.dataset.value&&(bp=e.currentTarget.dataset.value),that.get("controller.parentController").send("changeActiveBreakpoint",bp)}),this.onBreakpointChange()},onBreakpointChange:function(){var bp=this.get("controller.parentController.activeBreakpoint");this.$(".msp-responsive-btn").removeClass("msp-btn-selected"),this.$(".msp-responsive-btn-"+bp).addClass("msp-btn-selected")}.observes("controller.parentController.activeBreakpoint")}),MSPanel.BreakpointSelect=Ember.View.extend({classNames:["msp-responsive-control"],layer:null,template:Ember.Handlebars.compile('<button data-value="desktop" class="msp-responsive-btn msp-responsive-btn-desktop"><span class="msp-ico msp-ico-desktop"></span></button><button data-value="tablet" class="msp-responsive-btn msp-responsive-btn-tablet"><span class="msp-ico msp-ico-tablet"></span></button><button data-value="phone" class="msp-responsive-btn msp-responsive-btn-phone"><span class="msp-ico msp-ico-phone"></span></button>'),didInsertElement:function(){var that=this,btns=this.$(".msp-responsive-btn");btns.click(function(e){var $this=that.$(e.currentTarget);$this.toggleClass("msp-btn-selected");var hideOn=[];that.$(".msp-btn-selected").each(function(index,btn){hideOn.push(that.$(btn).data("value"))}),that.set("layer.hideOn",hideOn.join(","))}),this.onBreakpointChange()},onBreakpointChange:function(){var hideOn=(this.get("layer.hideOn")||"").split(","),that=this;this.$(".msp-responsive-btn").removeClass("msp-btn-selected"),hideOn.forEach(function(hideBp){that.$(".msp-responsive-btn-"+hideBp).addClass("msp-btn-selected")})}.observes("layer","layer.hideOn")}),MSPanel.ResponsivePositionInput=Ember.View.extend({classNames:["msp-origin-control"],axis:null,layer:null,value:null,selectedNode:null,template:Ember.Handlebars.compile("{{number-input value=view.value min=null}}"),didInsertElement:function(){this.onValueChanged()},onValueChanged:function(){const bp=this.get("controller.parentController.activeBreakpoint"),layer=this.get("layer"),that=this,value=MSPanel.getResponsiveValue(layer,function(bp){return MSPanel.getResponsiveKey(bp,"offset"+that.get("axis").toUpperCase())},bp);this.set("value",value)}.observes("layer","layer.offsetX","layer.tabletOffsetX","layer.phoneOffsetX","layer.offsetY","layer.tabletOffsetY","layer.phoneOffsetY","controller.parentController.activeBreakpoint"),onChange:function(){const bp=this.get("controller.parentController.activeBreakpoint"),layer=this.get("layer");layer&&layer.set(MSPanel.getResponsiveKey(bp,"offset"+this.get("axis").toUpperCase()),this.get("value"))}.observes("value")}),MSPanel.ButtonsList=Ember.View.extend({classNames:["msp-buttons-container"],layer:null,template:Ember.Handlebars.compile('{{#each button in controller.buttonClasses}}<div class="msp-button-container" {{action "selectButton" button target=view}}><div class="msp-button-cell"><span {{bind-attr class=":ms-btn button.style button.size button.className"}}>Button</span></div></div>{{/each}}'),didInsertElement:function(){this.onValueChanged()},onValueChanged:function(){var className=this.get("layer.btnClass"),lastSelected=this.get("lastSelected");Ember.isEmpty(className)||(className=className.split(" ").pop(),Ember.isEmpty(lastSelected)||this.$("."+lastSelected).parent().removeClass("active"),this.$("."+className).parent().addClass("active"),this.set("lastSelected",className))}.observes("layer","layer.btnClass"),actions:{selectButton:function(button){this.set("layer.btnClass","ms-btn "+button.get("style")+" "+button.get("size")+" "+button.get("className"))}}}),MSPanel.ActionList=Ember.View.extend({classNames:["msp-action-list"],layer:null,showSlideNum:null,showDuration:null,template:Ember.Handlebars.compile('{{#dropdwon-List value=view.layer.action width=180}}<option value="next">'+(__MSP_LAN.ui_021||"Goto next slide")+'</option><option value="previous">'+(__MSP_LAN.ui_022||"Goto previous slide")+'</option><option value="gotoSlide">'+(__MSP_LAN.ui_025||"Goto slide")+'</option><option value="pause">'+(__MSP_LAN.ui_023||"Pause timer")+'</option><option value="resume">'+(__MSP_LAN.ui_024||"Resume timer")+'</option><option value="scrollToEnd">'+(__MSP_LAN.ui_028||"Scroll to bottom of slider")+'</option><option value="scrollTo">'+(__MSP_LAN.ui_030||"Scroll to an element in page")+'</option>{{/dropdwon-List}}{{#if view.showSlideNum}}<div class="msp-form-space-med"></div>'+(__MSP_LAN.ui_026||"Slide number : ")+' {{number-input value=view.layer.toSlide}}{{/if}}{{#if view.showDuration}}<div class="msp-form-space-med"></div>'+(__MSP_LAN.ui_029||"Scroll animation duration : ")+' {{number-input value=view.layer.scrollDuration}} s{{/if}}{{#if view.showTarget}}<div class="msp-form-space-med"></div>'+(__MSP_LAN.ui_029||"Scroll animation duration : ")+' {{number-input value=view.layer.scrollDuration}} s<div class="msp-form-space-med"></div>'+(__MSP_LAN.ui_031||"Target element : ")+" {{input value=view.layer.scrollTarget}}{{/if}}"),onValueChanged:function(){var value=this.get("layer.action");this.set("showSlideNum","gotoSlide"===value),this.set("showDuration","scrollToEnd"===value),this.set("showTarget","scrollTo"===value)}.observes("layer","layer.action").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><div id="overlaybox" {{bind-attr class=":msp-stage-pattern :ms-pattern controller.slide.pattern"}}></div>'),resize:function(){const bp=this.get("controller.parentController.activeBreakpoint"),settings=this.get("controller.sliderSettings");var w=MSPanel.getResponsiveValue(settings,function(){return MSPanel.getResponsiveKey(bp,"width")},bp),h=this.get("controller.sliderSettings.height");this.get("controller.sliderSettings.responsiveSize")&&(h=MSPanel.getResponsiveValue(settings,function(){return MSPanel.getResponsiveKey(bp,"height")},bp)),this.set("width",w),this.set("height",h),this.$().css({width:w,height:h});
|
10 |
+
var alinger=this.get("bgAligner");alinger&&alinger.align()}.observes("controller.sliderSettings.responsiveSize","controller.sliderSettings.width","controller.sliderSettings.height","parentView.zoom","controller.parentController.activeBreakpoint").on("didInsertElement"),didInsertElement:function(){var BG=this.$("#stage-bg"),BGImage=$("<img/>");BGImage.css("visibelity","hidden").each($.jqLoadFix);var aligner=new MSAligner(this.get("controller.slide.fillMode"),BG,BGImage);this.set("bgAligner",aligner),this.set("bgImg",BGImage),this.onBGChange()},onBGColorChange:function(){var color=this.get("controller.slide.bgColor");Ember.isEmpty(color)?this.$("#stage-bg").css("background-color",""):this.$("#stage-bg").css("background-color",color)}.observes("controller.slide.bgColor").on("didInsertElement"),onColorOverlayChange:function(){var color=this.get("controller.slide.colorOverlay");Ember.isEmpty(color)?this.$("#overlaybox").css("background-color",""):this.$("#overlaybox").css("background-color",color)}.observes("controller.slide.colorOverlay").on("didInsertElement"),onBGChange:function(){var alinger=this.get("bgAligner");alinger&&alinger.reset();var bg=this.get("controller.slide.bg"),bgImg=this.get("bgImg");if(Ember.isEmpty(bg))bgImg.detach();else{var that=this;bgImg.appendTo(this.$("#stage-bg")),bgImg.preloadImg(bg,function(event){that._onBGLoad(event)}),bgImg.attr("src",bg)}}.observes("controller.slide.bg"),_onBGLoad:function(event){var aligner=this.get("bgAligner");aligner&&(aligner.init(event.width,event.height),aligner.align(),this.get("bgImg").css("visibelity",""))},onFillModeChanged:function(){var aligner=this.get("bgAligner");aligner.changeType(this.get("controller.slide.fillMode"))}.observes("controller.slide.fillMode"),willDestroyElement:function(){$(document).off("keydown",this.moveLayer),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 remove "'+this.get("control.label")+'" control?')&&this.get("controller").send("removeControl",this.get("control"))}}}),function($){function WPEditorTemplate(id){var newEditor=$(hiddenEditor);return newEditor.find("link").remove(),newEditor.html().replace(/msp-hidden/g,id)}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 that=this;that.set("value",!that.get("value"))},update:function(){this.get("value")?this.$().addClass("switched"):this.$().removeClass("switched")}.observes("value").on("didInsertElement")}),MSPanel.AddDynamicTag=Ember.View.extend({classNames:["msp-add-dynamic-tags"],editorId:null,template:Ember.Handlebars.compile('<button {{action "addTag" target=view}} class="msp-add-btn"><span class="msp-ico msp-ico-whiteadd"></span></button><div class="msp-ddlist"></div>'),didInsertElement:function(){for(var select=$("<select></select>").appendTo(this.$(".msp-ddlist")).width(220),i=0,l=MSPanel.dynamicTags.length;i!==l;i++)select.append('<option value="'+MSPanel.dynamicTags[i].tag+'">'+MSPanel.dynamicTags[i].name+"</option>");this.set("select",select)},actions:{addTag:function(){var id=this.get("editorId");tinymce&&$("#wp-"+id+"-wrap").hasClass("tmce-active")?tinymce.get(id).execCommand("insertHTML",!1,this.get("select").val()):$("#"+id).insertAtCaret(this.get("select").val())}}});var 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 id="msp-wpeditor-"+__tmc_msp_id;this.set("_id",id),this.set("template",Ember.Handlebars.compile(WPEditorTemplate(id))),__tmc_msp_id++}.on("init"),didInsertElement:function(){var tabs=this.get("tabs");return Ember.isEmpty(tabs)?void this.createEditor():void $("#"+tabs).bind("avtTabChange",{that:this},this.refreshEditor)},refreshEditor:function(event,tab){var that=event.data.that;that.get("tab")===tab&&that.createEditor()},createEditor:function(){if(this.get("inited")!==!0){this.set("inited",!0);var id=this.get("_id"),that=this;if(window.tinymce){var settings=$.extend({},window.tinyMCEPreInit.mceInit["msp-hidden"]||{});settings.forced_root_block="",settings.force_br_newlines=!0,settings.force_p_newlines=!1,settings.wpautop=!1,"3"==tinyMCE.majorVersion?(settings.body_class=settings.elements=id,settings.setup=function(ed){ed.onInit.add(function(){that.initEditor(tinyMCE.getInstanceById(id))})},tinymce.init(settings)):"4"==tinyMCE.majorVersion&&(settings.body_class="content post-type-post post-status-auto-draft post-format-standard",settings.selector="#"+id,settings.setup=function(ed){ed.on("init",function(){that.initEditor(tinyMCE.get(id))})},tinymce.init(settings))}var qtags,qtagSettings=$.extend({},window.tinyMCEPreInit.qtInit["msp-hidden"]||{});qtagSettings.id=id,"function"==typeof QTags&&(qtags=quicktags(qtagSettings),QTags.buttonsInitDone=!1,QTags._buttonsInit(),that.set("qtags",qtags),window.tinymce?switchEditors.go(id,"html"):this.onValueChanged(),this.$("textarea#"+this.get("_id")).on("change keyup paste",function(){that.set("value",$(this).val())}))}},initEditor:function(mce){function internalUpdate(){that.set("internalChange",!0),that.set("value",mce.getContent()),that.set("internalChange",!1)}var id=this.get("_id"),that=(this.get("value"),this);this.$(".wp-editor-wrap").on("mousedown",function(){wpActiveEditor=id}),"3"==tinyMCE.majorVersion?(mce.onChange.add(internalUpdate),mce.onKeyUp.add(internalUpdate)):"4"==tinyMCE.majorVersion&&(mce.on("change",internalUpdate),mce.on("keyup",internalUpdate)),this.$().click(internalUpdate),setTimeout(function(){switchEditors.go(id,"html"),switchEditors.go(id,"tmce")},100),this.set("mce",mce),this.onValueChanged()},onValueChanged:function(){if(this.get("inited")){var value=this.get("value");if(this.$("textarea#"+this.get("_id")).val(value),this.get("internalChange"))return void this.set("internalChange",!1);if(window.tinymce){var mce=this.get("mce");Ember.isEmpty(mce)||null==value?null==value&&mce.setContent(" "):mce.setContent(value)}}}.observes("value"),willDestroyElement:function(){if(this.get("inited")){window.tinymce&&tinymce.remove(this.get("_id"));var qtags=this.get("qtags");qtags&&($(qtags.toolbar).remove(),qtags.toolbar=null,qtags=null,QTags.instances[this.get("_id")]&&delete QTags.instances[this.get("_id")],this.$("textarea#"+this.get("_id")).remove());var tabs=this.get("tabs");Ember.isEmpty(tabs)||$("#"+tabs).unbind("avtTabChange",this.refreshEditor)}}}),jQuery.ui&&jQuery.ui.spinner&&(jQuery.ui.spinner.prototype._events.mousewheel=function(event,delta){if(delta&&this.element.is(":focus")){if(!this.spinning&&!this._start(event))return!1;this._spin((delta>0?1:-1)*this.options.step,event),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(event)},100),event.preventDefault()}}),MSPanel.NumberInputView=Ember.View.extend({step:1,min:0,tagName:"input",attributeBindings:["type"],lastValue:null,type:"text",didInsertElement:function(){var that=this,input=this.$(),updateValue=function(){var value=input.spinner("value");that.set("internalChange",!0),isNaN(value)||null==value?that.set("value",void 0):that.set("value",parseFloat(value))};input.on("change",updateValue).spinner({step:this.get("step"),numberFormat:"n",min:this.get("min"),max:this.get("max"),spin:updateValue,stop:updateValue}).spinner("value",this.get("value"))},onValueChanged:function(){this.get("internalChange")&&this.set("internalChange",!1),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 that=this;this.$().spectrum({color:this.get("value"),allowEmpty:!0,showInput:!0,showAlpha:!0,clickoutFiresChange:!0,preferredFormat:"hex6",change:function(color){null===color?that.set("value",null):that.set("value",color.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 that=this;this.$("select").on("change",function(){var option=that.$("select option:selected");that.set("value",option.attr("value"))}).width(this.get("width")),this.onValueChanged()},onValueChanged:function(){Ember.isEmpty(this.get("value"))||this.$("select").val(this.get("value"))}.observes("value")}),MSPanel.MultiDropdwonListComponent=Ember.Component.extend({tagName:"div",classNames:["msp-ddlist","msp-ddlist-multiselect"],layout:Ember.Handlebars.compile("<select {{bind-attr size=view.size}} multiple>{{yield}}</select>"),value:null,width:100,size:7,didInsertElement:function(){var that=this;this.$("select").on("change",function(){that.set("value",$(this).val())}).width(this.get("width")),this.onValueChanged()},onValueChanged:function(){Ember.isEmpty(this.get("value"))||this.$("select").val(this.get("value"))}.observes("value")}),MSPanel.GoogleFontsComponent=Ember.Component.extend({tagName:"div",classNames:["msp-ddlist","msp-gfonts-select"],defaultTemplate:Ember.Handlebars.compile('<select><option value="--" selected>Loading fonts..</option></select>'),value:null,variants:null,width:180,didInsertElement:function(){var that=this;GFonts.getList(function(){that.$("select").html('<option value="--" selected>-- select --</option>'+GFonts.generateSelectList()),that.onValueChanged(),that.$("select").trigger("change")}),this.$("select").on("change",function(){var option=that.$("select option:selected");"--"===option.val()?(that.set("value",void 0),that.set("variants",void 0)):(that.set("value",option.attr("value")),that.set("variants",option.attr("data-variants")))}).width(this.get("width")),that.onValueChanged()},onValueChanged:function(){this.$("select").val(Ember.isEmpty(this.get("value"))?"--":this.get("value"))}.observes("value")}),MSPanel.GoogleFontWeightsComponent=Ember.Component.extend({tagName:"div",classNames:["msp-ddlist","msp-gfonts-select msp-gfonts-weight"],defaultTemplate:Ember.Handlebars.compile("<select></select>"),variants:null,value:null,width:120,didInsertElement:function(){var that=this;this.$("select").on("change",function(){var option=that.$("select option:selected");return 0===option.length?void that.$("select").val("normal"):void("--"===option.val()?that.set("value",null):that.set("value",option.attr("value")))}).width(this.get("width")),that.updateVariants()},updateVariants:function(){var variants=this.get("variants");if(Ember.isEmpty(variants))this.$("select").html("<option>Select font</option>");else{var options="",value=this.get("value");variants=variants.split(",");for(var i=0,l=variants.length;i!==l;i++)-1===variants[i].indexOf("italic")&&(options+="regular"===variants[i]?'<option value="normal"'+("normal"===value?"selected":"")+">Normal</option>":'<option value="'+variants[i]+'"'+(value===variants[i]?"selected":"")+">"+variants[i]+"</option>");this.$("select").html(options).trigger("change")}}.observes("variants")}),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(){this.$().width(this.get("width")).height(this.get("height"));var that=this,editor=CodeMirror.fromTextArea(this.$(">textarea")[0],{lineNumbers:!0,mode:this.get("mode")});editor.on("change",function(){that.set("internalChange",!0),that.set("value",editor.getValue())}),this.set("editor",editor);var value=this.get("value");Ember.isEmpty(value)||editor.setValue(value);var tabs=this.get("tabs");Ember.isEmpty(tabs)||$("#"+tabs).bind("avtTabChange",{that:this},this.refreshEditor)},onValueChanged:function(){return this.get("internalChange")===!0?void this.set("internalChange",!1):(this.get("editor").setValue(this.get("value")),void this.set("internalChange",!1))}.observes("value"),refreshEditor:function(event,tab){var that=event.data.that;that.get("tab")===tab&&that.get("editor").refresh()},willDestroyElement:function(){var tabs=this.get("tabs");Ember.isEmpty(tabs)||$("#"+tabs).unbind("avtTabChange",this.refreshEditor);var editor=this.get("editor");editor.toTextArea(),editor=null,this.set("editor",null)}});for(var patterns='<div class="msp-pattern-prev ms-pattern"></div>',i=1;30>=i;i++)patterns+='<div class="msp-pattern-prev ms-pattern ms-patt-'+i+'" data-pattern="ms-patt-'+i+'" style="'+(i>15?"background-color:black;":"")+'"></div>';MSPanel.PatternPickerComponent=Ember.Component.extend({tagName:"div",classNames:["msp-pattern-picker"],value:null,patternBoxIsOpen:!1,layout:Ember.Handlebars.compile('<div class="msp-pattern-control sp-replacer sp-light"><div {{bind-attr class=":ms-pattern-preview :ms-pattern view.value"}}></div><div class="sp-dd">▼</div></div><div class="msp-patterns-box">'+patterns+"</div>"),didInsertElement:function(){this.$(".msp-pattern-control").on("click",{that:this},this.togglePatternbox),$(document).on("click",{that:this},this.closePatternbox),this.$(".msp-patterns-box").css("display","none").on("click",function(e){e.stopPropagation()}).find(".ms-pattern").on("click",{that:this},this.selectPattern)},togglePatternbox:function(e){var that=e.data.that;e.stopPropagation(),that.get("patternBoxIsOpen")&&that.closePatternbox(e),that.$(".msp-patterns-box").css("display",""),that.set("patternBoxIsOpen",!0)},closePatternbox:function(e){var that=e.data.that;that.get("patternBoxIsOpen")&&(that.$(".msp-patterns-box").css("display","none"),that.set("patternBoxIsOpen",!1))},selectPattern:function(e){e.stopPropagation();var that=e.data.that;that.set("value",$(this).data("pattern"))},willDestroyElement:function(){this.$(".msp-patterns-box").off("click",this.togglePatternbox).find(".ms-pattern").off("click"),$(document).off("click",this.closePatternbox)}})}(jQuery),MSPanel.pushData=null,MSPanel.ApplicationController=Ember.Controller.extend({isFlickr:"flickr"===__MSP_TYPE,isFacebook:"facebook"===__MSP_TYPE,isPost:"post"===__MSP_TYPE,isWcproduct:"wc-product"===__MSP_TYPE,sliderId:MSPanel.SliderID,isSending:!1,statusMsg:"",hasError:!1,onInit:function(){window.$||(window.$=jQuery.noConflict()),MSPanel.Settings.find(),MSPanel.Slide.find(),MSPanel.Layer.find(),MSPanel.Style.find(),MSPanel.Effect.find(),MSPanel.PresetStyle.find(),MSPanel.PresetEffect.find(),MSPanel.Control.find(),MSPanel.Callback.find(),MSPanel.ButtonStyle.find(),this.set("disableControls",MSPanel.Settings.find(0).get("disableControls"));var that=this;MSPanel.pushData=function(){that.prepareData()},MSPanel.createButton=this.createButton,"wc-product"===__MSP_TYPE&&null==__MSP_POST&&null!=__WC_INSTALL_URL&&(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(),window._msp_init_timeout&&clearTimeout(window._msp_init_timeout),$(window).scroll(function(){$(window).scrollTop()+$(window).height()>=$(document).height()-45?($("#saveBar").removeClass("msp-sticky-bar"),$("#saveBarPlaceHolder").css("display","none")):($("#saveBar").addClass("msp-sticky-bar"),$("#saveBarPlaceHolder").css("display",""))}).trigger("scroll"),$("#timeAgo").timeago(),setInterval($.proxy(this.updateSavedTime,this),3e4),$(document).bind("keydown",function(e){return(e.metaKey||e.ctrlKey)&&83==e.which?(e.preventDefault(),that.get("isSending")||that.send("saveAll"),!1):void 0})}.on("init"),updateSliderSlugShortCodes:function(){var alias=this.get("sliderSlug");Ember.isEmpty(alias)&&(alias=MSPanel.SliderSlug),this.set("shortCodeSlug",'[masterslider alias="'+alias+'"]'),this.set("phpFunctionSlug",'<?php masterslider("'+alias+'"); ?>')}.observes("sliderSlug").on("init"),prepareData:function(){var fonts={},font_str="";MSPanel.Style.find().forEach(function(record){var font=record.get("fontFamily"),weight=record.get("fontWeight");Ember.isEmpty(font)||(fonts[font]||(fonts[font]=[]),"normal"===weight&&(weight="regular"),Ember.isEmpty(weight)||-1!==fonts[font].indexOf(weight)||fonts[font].push(weight))});for(var font in fonts)font_str+=font.replace(/\s/,"+")+":"+fonts[font].join(",")+"|";MSPanel.Settings.find(1).set("usedFonts",font_str.slice(0,-1)),this.saveRecords(MSPanel.Settings.find()),this.saveRecords(MSPanel.Slide.find()),this.saveRecords(MSPanel.Layer.find()),this.saveRecords(MSPanel.Style.find()),this.saveRecords(MSPanel.Effect.find()),this.saveRecords(MSPanel.PresetStyle.find()),this.saveRecords(MSPanel.PresetEffect.find()),this.saveRecords(MSPanel.Control.find()),this.saveRecords(MSPanel.Callback.find()),this.saveRecords(MSPanel.ButtonStyle.find())},generateButtonStyles:function(){var styles=MSPanel.ButtonStyle.find(),css="",$styleElement=$("#msp-buttons");styles.forEach(function(style){css+="."+style.get("className")+" {"+style.get("normal")+"}\n."+style.get("className")+":hover {"+style.get("hover")+"}\n."+style.get("className")+":active {"+style.get("active")+"}\n"}),0===$styleElement.length?$styleElement=$('<style id="msp-buttons"></style>').text(css).appendTo($("head")):$styleElement.text(css)},actions:{saveAll:function(){this.prepareData(),this.sendData()},showPreview:function(event){window.lunchMastersliderPreview&&lunchMastersliderPreview(event)}},saveRecords:function(records){records.forEach(function(record){record.save()})},sendData:function(){this.set("statusMsg",__MSP_LAN.ap_001),this.set("isSending",!0),this.set("savingStatus","msp-saving");var that=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(res){that.set("statusMsg",res.message),that.set("isSending",!1),res.success===!0?(that.set("savingStatus","msp-save-succeed"),that.startAutoHideMsg()):that.set("savingStatus","msp-save-error")})},startAutoHideMsg:function(){var timeout=this.get("msgTimeout"),that=this;Ember.isEmpty(timeout)||clearTimeout(timeout),this.set("timeout",setTimeout(function(){that.set("savingStatus","msp-save-hide msp-save-succeed"),$("#timeAgo").attr("title",(new Date).toISOString()),that.updateSavedTime()},2e3))},updateSavedTime:function(){var timeEle=$("#timeAgo");timeEle.attr("title")&&$("#timeAgo").timeago("updateFromDOM")},createButton:function(normal,hover,active,style,size){var newPreset=MSPanel.ButtonStyle.create({normal:normal,hover:hover,active:active,size:size,style:style});newPreset.save(),newPreset.set("className","msp-preset-btn-"+newPreset.get("id")),newPreset.save()}}),MSPanel.getLayerResponsiveOffsetKey=function(bp,axis){return"x"===axis?"desktop"===bp?"offsetX":bp+"OffsetX":"desktop"===bp?"offsetY":bp+"OffsetY"},MSPanel.getLayerResponsiveOriginKey=function(bp){return"desktop"===bp?"origin":bp+"Origin"},MSPanel.getResponsiveKey=function(bp,key){return"desktop"===bp?key:bp+key.charAt(0).toUpperCase()+key.slice(1)},MSPanel.getResponsiveValue=function(target,mapper,bp){const bpArr=["phone","tablet","desktop"],sliceBp=(mapper(bp),bpArr.slice(bpArr.indexOf(bp)));var value;return target?(sliceBp.every(function(currentKey){const mapped=mapper(currentKey);return Ember.isEmpty(target.get(mapped))?!0:(value=target.get(mapped),!1)}),value):null},MSPanel.getResponsiveOffset=function(bp,layer){return{x:MSPanel.getResponsiveValue(layer,function(bp){return MSPanel.getLayerResponsiveOffsetKey(bp,"x")},bp),y:MSPanel.getResponsiveValue(layer,function(bp){return MSPanel.getLayerResponsiveOffsetKey(bp,"y")},bp)}},MSPanel.getResponsiveOrigin=function(bg,layer){return MSPanel.getResponsiveValue(layer,MSPanel.getLayerResponsiveOriginKey,bp)},MSPanel.SettingsController=Ember.ObjectController.extend({customSlider:window.__MSP_TYPE&&"custom"===window.__MSP_TYPE,sliderSkins:__MSP_SKINS,needs:["application","controls"],showAutoHeight:!1,showNearbyNum:!1,showWrapperWidth:!1,preloadMethod:null,setup:function(){var preload=this.get("preload");"all"===preload||"-1"===preload?this.set("preloadMethod",preload):this.set("preloadMethod","nearby"),this.set("draftMSTemplate",this.get("msTemplate"))},sliderLayoutChanged:function(){var layout=this.get("layout");"fullscreen"===layout||"autofill"===layout?(this.set("showAutoHeight",!1),this.set("autoHeight",!1)):this.set("showAutoHeight",!0),this.set("showWrapperWidth","boxed"===layout||"partialview"===layout),this.set("showAutoFillTarget","autofill"===layout),this.set("showMinHeight","fullscreen"!==layout&&"autofill"!==layout&&!this.get("autoHeight")),this.set("showFSMargin","fullscreen"===layout)}.observes("layout","autoHeight").on("setup"),preloadSetup:function(){var preloadMethod=this.get("preloadMethod");if("nearby"===preloadMethod){this.set("showNearbyNum",!0);var preload=this.get("preload");("all"===preload||"-1"===preload)&&this.set("preload","0")}else this.set("showNearbyNum",!1),this.set("preload",preloadMethod)}.observes("preloadMethod").on("setup"),actions:{}}),MSPanel.SlidesController=Ember.ArrayController.extend({customSlider:window.__MSP_TYPE&&"custom"===window.__MSP_TYPE,_order:-1,bgImgSelector:null,sortProperties:["order"],stylesController:null,effectsController:null,buttonsController:null,layersList:[],layersController:null,mainView:null,isFirst:!0,currentSlide:null,activeBreakpoint:"desktop",setup:function(){if(Ember.isEmpty(this.get("sliderSettings.type"))&&this.set("sliderSettings.type",__MSP_TYPE),this.set("sliderSettings.sliderId",MSPanel.SliderID),0!==this.get("length")){var slide=this.get("firstObject");this.set("currentSlide",slide),this.updateOrder()}},slide:function(){return this.get("currentSlide")}.property("currentSlide"),duplicateSlide:function(slide){var slideProp=slide.toJSON();delete slideProp.id;var newSlide=MSPanel.Slide.create(slideProp);newSlide.set("order",slide.get("order")+1),this.forEach(function(_slide){var slide_order=_slide.get("order"),nslide_order=newSlide.get("order");slide_order>=nslide_order&&_slide!==newSlide&&_slide.set("order",slide_order+1)}),newSlide.save(),this.updateOrder()},updateSlidesSort:function(indexes){this.beginPropertyChanges(),this.forEach(function(slide){slide.set("order",indexes[slide.get("id")])},this),this.endPropertyChanges(),this.set("_order",this.get("lastObject.order"))},updateOrder:function(){var i=0;this.forEach(function(slide){slide.get("isOverlayLayers")||slide.set("order",i++)}),this.set("_order",i-1)},removeSlide:function(slide){slide.deleteRecord(),0!==this.get("length")&&(this.send("select",this.get("firstObject")),this.updateOrder())},onImageSelect:function(){var uploaderFrame=this.get("uploaderFrame"),selection=uploaderFrame.state().get("selection"),self=this;selection.map(function(attachment){attachment=attachment.toJSON(),self.generateSlide(attachment,attachment.url,(attachment.sizes.thumbnail||attachment.sizes.full).url)}),this.send("select",this.get("lastObject"))},generateSlide:function(attachment,bg,thumb){var slide=MSPanel.Slide.create({order:this.get("_order")+1,bg:bg,bgThumb:thumb,bgAlt:attachment.alt,bgTitle:attachment.title});this.set("_order",this.get("_order")+1),slide.save(),this.updateOrder()},actions:{addSlides:function(){var uploaderFrame=this.get("uploaderFrame");Ember.isEmpty(uploaderFrame)&&(uploaderFrame=wp.media.frames.frame=wp.media({title:__MSP_LAN.slc_001||"Select background image for new slide. (Multiple selection is available)",multiple:!0,frame:"select",library:{type:"image"},button:{text:__MSP_LAN.slc_002||"Create Slide(s)"}}),uploaderFrame.on("select",$.proxy(this.onImageSelect,this)),this.set("uploaderFrame",uploaderFrame)),uploaderFrame.open()},newSlide:function(){var slide=MSPanel.Slide.create({order:this.get("_order")+1});this.set("currentSlide",slide),this.set("_order",this.get("_order")+1),slide.save(),this.updateOrder()},select:function(slide){slide!==this.get("currentSlide")&&this.set("currentSlide",slide)},changeActiveBreakpoint:function(breakpoint){breakpoint!==this.get("activeBreakpoint")&&this.set("activeBreakpoint",breakpoint)}}}),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 that=this;this.forEach(function(control){that.findControlObj(control.get("name")).used=!0}),this.set("availableControls",this.findAvailableControls())},onInsertThumb:function(){var ctr=this.get("currentControl");Ember.isEmpty(ctr)||("tabs"===this.get("currentControl.type")?this.set("isTab",!0):this.set("isTab",!1))}.observes("currentControl.type").on("didInsertElement"),actions:{addControl:function(){var control,controlName=this.get("selectedControl"),controlObj=this.findControlObj(controlName);control=MSPanel.Control.create(this.getDefaultValues(controlName)),control.set("label",controlObj.label),controlObj.used=!0,this.set("availableControls",this.findAvailableControls()),control.save(),this.set("currentControl",control)},removeControl:function(control){this.findControlObj(control.get("name")).used=!1,this.set("availableControls",this.findAvailableControls()),control.deleteRecord(),this.set("currentControl",this.get("firstObject")),this.send("showControlOptions")},showControlOptions:function(){var currentControl=this.get("currentControl");Ember.isEmpty(currentControl)?this.set("controlOptions","empty-template"):this.set("controlOptions",currentControl.get("name")+"-options")}},findControlObj:function(control){for(var controls=this.get("controls"),i=0,l=controls.length;i!==l;i++)if(controls[i].value===control)return controls[i];return null},findAvailableControls:function(){for(var avc=[],controls=this.get("controls"),i=0,l=controls.length;i!==l;i++)controls[i].used||avc.push(controls[i]);return this.set("noMore",0===avc.length),this.set("selectedControl",avc[0]?avc[0].value:null),avc},getDefaultValues:function(control){var values={name:control};switch(values.inset=!("slideinfo"===control||"thumblist"===control),control){case"timebar":values.align="bottom",values.color="#FFFFFF",values.autoHide=!1,values.width=4;break;case"bullets":values.align="bottom",values.dir="h",values.margin=10,values.space=6;break;case"circletimer":values.color="#A2A2A2",values.stroke=10,values.radius=4,values.autoHide=!1;break;case"scrollbar":values.align="top",values.dir="h",values.color="#3D3D3D",values.margin=10,values.autoHide=!1,values.width=4;break;case"slideinfo":values.align="bottom",values.margin=10,values.autoHide=!1;break;case"thumblist":values.align="bottom",values.space=5,values.width=100,values.height=80,values.margin=10,values.fillMode="fill",values.autoHide=!1}return values}}),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 that=this;this.forEach(function(callback){that.findCallbackObj(callback.get("name")).used=!0}),this.set("availableCallbacks",this.findAvailableCallbacks())},actions:{addCallback:function(){var callback,callbackName=this.get("selectedCallback"),callbackObj=this.findCallbackObj(callbackName);callback=MSPanel.Callback.create({name:callbackObj.value,label:callbackObj.label}),callbackObj.used=!0,this.set("availableCallbacks",this.findAvailableCallbacks()),callback.save()},removeCallback:function(callback){confirm(__MSP_LAN.cb_010.jfmt(callback.get("label")))&&(this.findCallbackObj(callback.get("name")).used=!1,this.set("availableCallbacks",this.findAvailableCallbacks()),callback.deleteRecord())}},findCallbackObj:function(callback){for(var callbacks=this.get("callbacks"),i=0,l=callbacks.length;i!==l;i++)if(callbacks[i].value===callback)return callbacks[i];return null},findAvailableCallbacks:function(){for(var avc=[],callbacks=this.get("callbacks"),i=0,l=callbacks.length;i!==l;i++)callbacks[i].used||avc.push(callbacks[i]);return this.set("noMore",0===avc.length),this.set("selectedCallback",avc[0]?avc[0].value:null),avc}});
|
admin/views/slider-panel/js/msp.required.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/*!
|
2 |
* Master Slider WordPress Lite Panel - Required JS Modules
|
3 |
-
* @date
|
4 |
*/
|
5 |
/*!
|
6 |
* @overview Averta JavaScript Libraries
|
1 |
/*!
|
2 |
* Master Slider WordPress Lite Panel - Required JS Modules
|
3 |
+
* @date Dec 2020
|
4 |
*/
|
5 |
/*!
|
6 |
* @overview Averta JavaScript Libraries
|
includes/init/define.php
CHANGED
@@ -5,7 +5,7 @@ if ( ! defined('ABSPATH') ) {
|
|
5 |
die();
|
6 |
}
|
7 |
|
8 |
-
define( 'MSWP_AVERTA_VERSION' , '3.6.
|
9 |
|
10 |
define( 'MSWP_SLUG' , 'master-slider' );
|
11 |
define( 'MSWP_TEXT_DOMAIN' , 'masterslider' );
|
5 |
die();
|
6 |
}
|
7 |
|
8 |
+
define( 'MSWP_AVERTA_VERSION' , '3.6.5' );
|
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: 3.6.
|
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: 5.5.
|
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: 3.6.5
|
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: 5.5.3
|
21 |
*/
|
22 |
|
23 |
// If this file is called directly, abort.
|
public/assets/css/masterslider.main.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/*!
|
2 |
* Master Slider WordPress Lite Main CSS File
|
3 |
-
* @date
|
4 |
*/
|
5 |
|
6 |
|
@@ -536,357 +536,359 @@
|
|
536 |
|
537 |
|
538 |
|
539 |
-
/**
|
540 |
-
* Master Slider
|
541 |
-
* Default Skin
|
542 |
-
*/
|
543 |
-
|
544 |
-
.ms-skin-default .ms-slide .ms-slide-vpbtn,
|
545 |
-
.ms-skin-default .ms-video-btn{
|
546 |
-
width: 50px;
|
547 |
-
height: 51px;
|
548 |
-
background: url(skins/light-skin-1.png) no-repeat -14px -150px;
|
549 |
-
top: 50%;
|
550 |
-
left: 50%;
|
551 |
-
margin: -25px 0 0 -25px;
|
552 |
-
}
|
553 |
-
|
554 |
-
.ms-skin-default .ms-slide .ms-slide-vcbtn {
|
555 |
-
width: 30px;
|
556 |
-
height: 30px;
|
557 |
-
background: url(skins/light-skin-1.png) no-repeat -24px -28px;
|
558 |
-
top: 18px;
|
559 |
-
right: 30px;
|
560 |
-
}
|
561 |
-
|
562 |
-
/* controls */
|
563 |
-
|
564 |
-
.ms-skin-default .ms-nav-next,
|
565 |
-
.ms-skin-default .ms-nav-prev {
|
566 |
-
width: 30px;
|
567 |
-
background: url(skins/light-skin-1.png);
|
568 |
-
background-position: -89px -26px;
|
569 |
-
height: 40px;
|
570 |
-
cursor: pointer;
|
571 |
-
top: 50%;
|
572 |
-
left: 30px;
|
573 |
-
margin-top: -20px;
|
574 |
-
position: absolute;
|
575 |
-
z-index: 110;
|
576 |
-
}
|
577 |
-
.ms-skin-default .ms-nav-next {
|
578 |
-
right: 30px;
|
579 |
-
left: auto;
|
580 |
-
background-position: -89px -103px;
|
581 |
-
}
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
.ms-skin-default .ms-bullet {
|
586 |
-
width: 10px;
|
587 |
-
height: 10px;
|
588 |
-
background: url(skins/light-skin-1.png) no-repeat;
|
589 |
-
margin: 4px;
|
590 |
-
background-position: -34px -117px;
|
591 |
-
}
|
592 |
-
|
593 |
-
.ms-skin-default .ms-bullet-selected {
|
594 |
-
background-position: -34px -84px;
|
595 |
-
}
|
596 |
-
|
597 |
-
.ms-skin-default .ms-tooltip{
|
598 |
-
position: absolute;
|
599 |
-
z-index: 210;
|
600 |
-
cursor: auto;
|
601 |
-
}
|
602 |
-
|
603 |
-
.ms-skin-default .ms-tooltip-top .ms-tooltip-arrow,
|
604 |
-
.ms-skin-default .ms-tooltip-bottom .ms-tooltip-arrow{
|
605 |
-
border-left: solid 10px transparent;
|
606 |
-
border-right: solid 10px transparent;
|
607 |
-
position: absolute;
|
608 |
-
left: 50%;
|
609 |
-
margin-left: -10px;
|
610 |
-
}
|
611 |
-
|
612 |
-
.ms-skin-default .ms-tooltip-top .ms-tooltip-arrow{
|
613 |
-
border-top: solid 10px;
|
614 |
-
border-top-color: silver;
|
615 |
-
border-top-color: rgba(240, 240, 240, 0.88);
|
616 |
-
bottom: -10px;
|
617 |
-
}
|
618 |
-
|
619 |
-
.ms-skin-default .ms-tooltip-bottom .ms-tooltip-arrow {
|
620 |
-
border-bottom: solid 10px;
|
621 |
-
border-bottom-color: silver;
|
622 |
-
border-bottom-color: rgba(240, 240, 240, 0.88);
|
623 |
-
top: -10px;
|
624 |
-
}
|
625 |
-
|
626 |
-
.ms-skin-default .ms-tooltip-right .ms-tooltip-arrow,
|
627 |
-
.ms-skin-default .ms-tooltip-left .ms-tooltip-arrow{
|
628 |
-
border-top: solid 10px transparent;
|
629 |
-
border-bottom: solid 10px transparent;
|
630 |
-
position: absolute;
|
631 |
-
top: 50%;
|
632 |
-
margin-top: -10px;
|
633 |
-
}
|
634 |
-
|
635 |
-
.ms-skin-default .ms-tooltip-right .ms-tooltip-arrow{
|
636 |
-
border-right: solid 10px;
|
637 |
-
border-right-color: silver;
|
638 |
-
border-right-color: rgba(240, 240, 240, 0.88);
|
639 |
-
left: -10px;
|
640 |
-
}
|
641 |
-
|
642 |
-
.ms-skin-default .ms-tooltip-left .ms-tooltip-arrow {
|
643 |
-
border-left: solid 10px;
|
644 |
-
border-left-color: silver;
|
645 |
-
border-left-color: rgba(240, 240, 240, 0.88);
|
646 |
-
right: -10px;
|
647 |
-
}
|
648 |
-
|
649 |
-
.ms-skin-default .ms-tooltip-point {cursor: pointer;}
|
650 |
-
.ms-skin-default .ms-tooltip-point .ms-point-center {
|
651 |
-
width: 12px;
|
652 |
-
height: 12px;
|
653 |
-
border-radius: 15px;
|
654 |
-
border: solid 2px #BBB;
|
655 |
-
background: white;
|
656 |
-
margin: -8px 0 0 -8px;
|
657 |
-
position: absolute;
|
658 |
-
z-index: 105;
|
659 |
-
}
|
660 |
-
|
661 |
-
.ms-skin-default .ms-tooltip-point .ms-point-border {
|
662 |
-
width: 22px;
|
663 |
-
height: 22px;
|
664 |
-
background: black;
|
665 |
-
background:rgba(0, 0, 0, 0.36);
|
666 |
-
margin: -11px 0 0 -11px;
|
667 |
-
position: absolute;
|
668 |
-
border-radius: 15px;
|
669 |
-
|
670 |
-
animation: point-anim 1.5s infinite ;
|
671 |
-
-moz-animation: point-anim 1.5s infinite;
|
672 |
-
-webkit-animation: point-anim 1.5s infinite;
|
673 |
-
-o-animation: point-anim 1.5s infinite;
|
674 |
-
}
|
675 |
-
|
676 |
-
.ms-skin-default .ms-tooltip {
|
677 |
-
max-width:200px;
|
678 |
-
}
|
679 |
-
|
680 |
-
.ms-skin-default .ms-tooltip-cont {
|
681 |
-
padding: 10px;
|
682 |
-
background: silver;
|
683 |
-
background: rgba(240, 240, 240, 0.88);
|
684 |
-
text-shadow: 0 1px 0px white;
|
685 |
-
margin-left: -1px;
|
686 |
-
}
|
687 |
-
|
688 |
-
/* retina */
|
689 |
-
@media
|
690 |
-
only screen and (-webkit-min-device-pixel-ratio: 2),
|
691 |
-
only screen and ( min--moz-device-pixel-ratio: 2),
|
692 |
-
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
693 |
-
only screen and ( min-device-pixel-ratio: 2),
|
694 |
-
only screen and ( min-resolution: 192dpi),
|
695 |
-
only screen and ( min-resolution: 2dppx) {
|
696 |
-
|
697 |
-
.ms-skin-default .ms-slide .ms-slide-vpbtn,
|
698 |
-
.ms-skin-default .ms-video-btn,
|
699 |
-
.ms-skin-default .ms-slide .ms-slide-vcbtn,
|
700 |
-
.ms-skin-default .ms-nav-next,
|
701 |
-
.ms-skin-default .ms-nav-prev,
|
702 |
-
.ms-skin-default .ms-bullet{
|
703 |
-
background-image:url(skins/light-skin-1-retina.png);
|
704 |
-
background-size: 152px 225px;
|
705 |
-
}
|
706 |
-
|
707 |
-
}
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
*
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
.ms-skin-black-1 .ms-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
.ms-skin-black-1 .ms-nav-
|
737 |
-
|
738 |
-
|
739 |
-
background
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
.ms-skin-black-1 .ms-tooltip-
|
786 |
-
|
787 |
-
border-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
border-top
|
796 |
-
border-top-color:
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
border-bottom
|
803 |
-
border-bottom-color:
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
.ms-skin-black-1 .ms-tooltip-
|
809 |
-
|
810 |
-
border-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
border-right
|
819 |
-
border-right-color:
|
820 |
-
|
821 |
-
|
822 |
-
|
823 |
-
|
824 |
-
|
825 |
-
border-left
|
826 |
-
border-left-color:
|
827 |
-
|
828 |
-
|
829 |
-
|
830 |
-
|
831 |
-
.ms-skin-black-1 .ms-tooltip-point
|
832 |
-
|
833 |
-
|
834 |
-
|
835 |
-
border:
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
|
846 |
-
background:
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
-
|
854 |
-
-
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
|
864 |
-
background:
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
/* retina */
|
871 |
-
@media
|
872 |
-
only screen and (-webkit-min-device-pixel-ratio: 2),
|
873 |
-
only screen and ( min--moz-device-pixel-ratio: 2),
|
874 |
-
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
875 |
-
only screen and ( min-device-pixel-ratio: 2),
|
876 |
-
only screen and ( min-resolution: 192dpi),
|
877 |
-
only screen and ( min-resolution: 2dppx) {
|
878 |
-
|
879 |
-
.ms-skin-black-1 .ms-slide .ms-slide-vpbtn,
|
880 |
-
.ms-skin-black-1 .ms-video-btn,
|
881 |
-
.ms-skin-black-1 .ms-slide .ms-slide-vcbtn,
|
882 |
-
.ms-skin-black-1 .ms-nav-next,
|
883 |
-
.ms-skin-black-1 .ms-nav-prev{
|
884 |
-
background-image:url(skins/black-skin-1-retina.png);
|
885 |
-
background-size: 152px 225px;
|
886 |
-
}
|
887 |
-
|
888 |
}
|
889 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
890 |
|
891 |
/**
|
892 |
* Master Slider
|
@@ -1050,10 +1052,10 @@ only screen and ( min-resolution: 2dppx) {
|
|
1050 |
position: absolute;
|
1051 |
border-radius: 15px;
|
1052 |
|
1053 |
-
animation: point-anim 1.5s infinite ;
|
1054 |
-
-moz-animation: point-anim 1.5s infinite;
|
1055 |
-
-webkit-animation: point-anim 1.5s infinite;
|
1056 |
-
-o-animation: point-anim 1.5s infinite;
|
1057 |
}
|
1058 |
|
1059 |
.ms-skin-minimal .ms-tooltip {
|
@@ -1070,1590 +1072,1592 @@ only screen and ( min-resolution: 2dppx) {
|
|
1070 |
|
1071 |
|
1072 |
|
1073 |
-
/**
|
1074 |
-
* Master Slider
|
1075 |
-
* Black 2 Skin
|
1076 |
-
*/
|
1077 |
-
|
1078 |
-
.ms-skin-black-2 .ms-slide .ms-slide-vpbtn,
|
1079 |
-
.ms-skin-black-2 .ms-video-btn{
|
1080 |
-
width: 45px;
|
1081 |
-
height: 45px;
|
1082 |
-
background: url(skins/black-skin-2.png) black no-repeat -16px -103px;
|
1083 |
-
border: solid 3px rgb(255, 255, 255);
|
1084 |
-
border-color: rgba(255, 255, 255, 0.4);
|
1085 |
-
-webkit-background-clip: padding-box;
|
1086 |
-
top: 50%;
|
1087 |
-
left: 50%;
|
1088 |
-
margin: -23px 0 0 -23px;
|
1089 |
-
}
|
1090 |
-
|
1091 |
-
.ms-skin-black-2 .ms-slide .ms-slide-vpbtn:hover,
|
1092 |
-
.ms-skin-black-2 .ms-video-btn:hover{
|
1093 |
-
background-color: #3D3D3D;
|
1094 |
-
}
|
1095 |
-
|
1096 |
-
.ms-skin-black-2 .ms-slide .ms-slide-vcbtn {
|
1097 |
-
width: 25px;
|
1098 |
-
height: 25px;
|
1099 |
-
background: url(skins/black-skin-2.png) black no-repeat -27px -36px;
|
1100 |
-
border: solid 2px white;
|
1101 |
-
border-color: rgba(255, 255, 255, 0.4);
|
1102 |
-
top: 15px;
|
1103 |
-
right: 15px;
|
1104 |
-
}
|
1105 |
-
|
1106 |
-
.ms-skin-black-2.round-skin .ms-slide .ms-slide-vcbtn{
|
1107 |
-
border-radius: 50px;
|
1108 |
-
}
|
1109 |
-
|
1110 |
-
|
1111 |
-
/* controls */
|
1112 |
-
|
1113 |
-
.ms-skin-black-2 .ms-nav-next,
|
1114 |
-
.ms-skin-black-2 .ms-nav-prev {
|
1115 |
-
position: absolute;
|
1116 |
-
cursor: pointer;
|
1117 |
-
z-index: 110;
|
1118 |
-
width: 45px;
|
1119 |
-
height: 45px;
|
1120 |
-
background: url(skins/black-skin-2.png) black;
|
1121 |
-
background-clip: padding-box;
|
1122 |
-
background-position: -88px -26px;
|
1123 |
-
border: solid 3px rgb(255, 255, 255);
|
1124 |
-
border-color: rgba(255, 255, 255, 0.4);
|
1125 |
-
top: 50%;
|
1126 |
-
left: 30px;
|
1127 |
-
margin-top: -22px;
|
1128 |
-
}
|
1129 |
-
|
1130 |
-
.ms-skin-black-2.round-skin .ms-nav-next,
|
1131 |
-
.ms-skin-black-2.round-skin .ms-nav-prev,
|
1132 |
-
.ms-skin-black-2.round-skin .ms-slide .ms-slide-vpbtn,
|
1133 |
-
.ms-skin-black-2.round-skin .ms-video-btn{
|
1134 |
-
border-radius: 90px;
|
1135 |
-
}
|
1136 |
-
|
1137 |
-
.ms-skin-black-2 .ms-nav-next:hover,
|
1138 |
-
.ms-skin-black-2 .ms-nav-prev:hover{
|
1139 |
-
background-color: #3d3d3d;
|
1140 |
-
}
|
1141 |
-
|
1142 |
-
.ms-skin-black-2 .ms-nav-next {
|
1143 |
-
right: 30px;
|
1144 |
-
left: auto;
|
1145 |
-
background-position: -86px -103px;
|
1146 |
-
}
|
1147 |
-
|
1148 |
-
.ms-skin-black-2 .ms-bullets.ms-dir-h {
|
1149 |
-
position: absolute;
|
1150 |
-
bottom: 20px;
|
1151 |
-
right: 50%;
|
1152 |
-
width: 100px;
|
1153 |
-
}
|
1154 |
-
|
1155 |
-
.ms-skin-black-2 .ms-bullets.ms-dir-h .ms-bullets-count {
|
1156 |
-
position: relative;
|
1157 |
-
right: -50%;
|
1158 |
-
}
|
1159 |
-
|
1160 |
-
.ms-skin-black-2 .ms-bullet {
|
1161 |
-
width: 8px;
|
1162 |
-
height: 8px;
|
1163 |
-
background: white;
|
1164 |
-
-webkit-background-clip: padding-box;
|
1165 |
-
-moz-background-clip: padding-box;
|
1166 |
-
-ms-background-clip: padding-box;
|
1167 |
-
border: solid 3px white;
|
1168 |
-
border-color: rgba(0, 0, 0, 0.44);
|
1169 |
-
margin: 4px;
|
1170 |
-
background-position: -34px -117px;
|
1171 |
-
}
|
1172 |
-
|
1173 |
-
.ms-skin-black-2.round-skin .ms-bullet{
|
1174 |
-
border-radius: 15px;
|
1175 |
-
}
|
1176 |
-
|
1177 |
-
|
1178 |
-
.ms-skin-black-2 .ms-bullet-selected {
|
1179 |
-
background-color: black;
|
1180 |
-
border-color: white;
|
1181 |
-
border-color: rgba(255, 255, 255, 0.44);
|
1182 |
-
}
|
1183 |
-
|
1184 |
-
.ms-skin-black-2 .ms-tooltip{
|
1185 |
-
position: absolute;
|
1186 |
-
z-index: 210;
|
1187 |
-
cursor: auto;
|
1188 |
-
}
|
1189 |
-
|
1190 |
-
.ms-skin-black-2 .ms-tooltip-top .ms-tooltip-arrow,
|
1191 |
-
.ms-skin-black-2 .ms-tooltip-bottom .ms-tooltip-arrow{
|
1192 |
-
border-left: solid 10px transparent;
|
1193 |
-
border-right: solid 10px transparent;
|
1194 |
-
position: absolute;
|
1195 |
-
left: 50%;
|
1196 |
-
margin-left: -10px;
|
1197 |
-
}
|
1198 |
-
|
1199 |
-
.ms-skin-black-2 .ms-tooltip-top .ms-tooltip-arrow{
|
1200 |
-
border-top: solid 10px;
|
1201 |
-
border-top-color: silver;
|
1202 |
-
border-top-color: rgba(240, 240, 240, 0.88);
|
1203 |
-
bottom: -10px;
|
1204 |
-
}
|
1205 |
-
|
1206 |
-
.ms-skin-black-2 .ms-tooltip-bottom .ms-tooltip-arrow {
|
1207 |
-
border-bottom: solid 10px;
|
1208 |
-
border-bottom-color: silver;
|
1209 |
-
border-bottom-color: rgba(240, 240, 240, 0.88);
|
1210 |
-
top: -10px;
|
1211 |
-
}
|
1212 |
-
|
1213 |
-
.ms-skin-black-2 .ms-tooltip-right .ms-tooltip-arrow,
|
1214 |
-
.ms-skin-black-2 .ms-tooltip-left .ms-tooltip-arrow{
|
1215 |
-
border-top: solid 10px transparent;
|
1216 |
-
border-bottom: solid 10px transparent;
|
1217 |
-
position: absolute;
|
1218 |
-
top: 50%;
|
1219 |
-
margin-top: -10px;
|
1220 |
-
}
|
1221 |
-
|
1222 |
-
.ms-skin-black-2 .ms-tooltip-right .ms-tooltip-arrow{
|
1223 |
-
border-right: solid 10px;
|
1224 |
-
border-right-color: silver;
|
1225 |
-
border-right-color: rgba(240, 240, 240, 0.88);
|
1226 |
-
left: -10px;
|
1227 |
-
}
|
1228 |
-
|
1229 |
-
.ms-skin-black-2 .ms-tooltip-left .ms-tooltip-arrow {
|
1230 |
-
border-left: solid 10px;
|
1231 |
-
border-left-color: silver;
|
1232 |
-
border-left-color: rgba(240, 240, 240, 0.88);
|
1233 |
-
right: -10px;
|
1234 |
-
}
|
1235 |
-
|
1236 |
-
.ms-skin-black-2 .ms-tooltip-point {cursor: pointer;}
|
1237 |
-
.ms-skin-black-2 .ms-tooltip-point .ms-point-center {
|
1238 |
-
width: 12px;
|
1239 |
-
height: 12px;
|
1240 |
-
border-radius: 15px;
|
1241 |
-
border: solid 2px #BBB;
|
1242 |
-
background: white;
|
1243 |
-
margin: -8px 0 0 -8px;
|
1244 |
-
position: absolute;
|
1245 |
-
z-index: 105;
|
1246 |
-
}
|
1247 |
-
|
1248 |
-
.ms-skin-black-2 .ms-tooltip-point .ms-point-border {
|
1249 |
-
width: 22px;
|
1250 |
-
height: 22px;
|
1251 |
-
background: black;
|
1252 |
-
background:rgba(0, 0, 0, 0.36);
|
1253 |
-
margin: -11px 0 0 -11px;
|
1254 |
-
position: absolute;
|
1255 |
-
border-radius: 15px;
|
1256 |
-
|
1257 |
-
animation: point-anim 1.5s infinite ;
|
1258 |
-
-moz-animation: point-anim 1.5s infinite;
|
1259 |
-
-webkit-animation: point-anim 1.5s infinite;
|
1260 |
-
-o-animation: point-anim 1.5s infinite;
|
1261 |
-
}
|
1262 |
-
|
1263 |
-
.ms-ie7.ms-skin-black-2 .ms-tooltip-point .ms-point-border,
|
1264 |
-
.ms-ie8.ms-skin-black-2 .ms-tooltip-point .ms-point-border{
|
1265 |
-
display: none;
|
1266 |
-
}
|
1267 |
-
|
1268 |
-
.ms-skin-black-2 .ms-tooltip {
|
1269 |
-
max-width:200px;
|
1270 |
-
}
|
1271 |
-
|
1272 |
-
.ms-skin-black-2 .ms-tooltip-cont {
|
1273 |
-
padding: 10px;
|
1274 |
-
background: silver;
|
1275 |
-
background: rgba(240, 240, 240, 0.88);
|
1276 |
-
text-shadow: 0 1px 0px white;
|
1277 |
-
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.04);
|
1278 |
-
}
|
1279 |
-
|
1280 |
-
/* retina */
|
1281 |
-
@media
|
1282 |
-
only screen and (-webkit-min-device-pixel-ratio: 2),
|
1283 |
-
only screen and ( min--moz-device-pixel-ratio: 2),
|
1284 |
-
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
1285 |
-
only screen and ( min-device-pixel-ratio: 2),
|
1286 |
-
only screen and ( min-resolution: 192dpi),
|
1287 |
-
only screen and ( min-resolution: 2dppx) {
|
1288 |
-
|
1289 |
-
.ms-skin-black-2 .ms-slide .ms-slide-vpbtn,
|
1290 |
-
.ms-skin-black-2 .ms-video-btn,
|
1291 |
-
.ms-skin-black-2 .ms-slide .ms-slide-vcbtn,
|
1292 |
-
.ms-skin-black-2 .ms-nav-next,
|
1293 |
-
.ms-skin-black-2 .ms-nav-prev{
|
1294 |
-
background-image:url(skins/black-skin-2-retina.png);
|
1295 |
-
background-size: 152px 225px;
|
1296 |
-
}
|
1297 |
-
|
1298 |
-
}
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
*
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
.ms-skin-light-2 .ms-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
|
1327 |
-
.ms-skin-light-2 .ms-nav-
|
1328 |
-
|
1329 |
-
|
1330 |
-
background
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
|
1347 |
-
|
1348 |
-
|
1349 |
-
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
.ms-skin-light-2 .ms-tooltip-
|
1377 |
-
|
1378 |
-
border-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
|
1386 |
-
border-top
|
1387 |
-
border-top-color:
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
border-bottom
|
1394 |
-
border-bottom-color:
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
.ms-skin-light-2 .ms-tooltip-
|
1400 |
-
|
1401 |
-
border-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
1409 |
-
border-right
|
1410 |
-
border-right-color:
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
border-left
|
1417 |
-
border-left-color:
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
.ms-skin-light-2 .ms-tooltip-point
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
border:
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
background:
|
1438 |
-
|
1439 |
-
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
-
|
1445 |
-
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
1449 |
-
|
1450 |
-
|
1451 |
-
|
1452 |
-
|
1453 |
-
|
1454 |
-
|
1455 |
-
background:
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
1461 |
-
|
1462 |
-
|
1463 |
-
only screen and (
|
1464 |
-
only screen and (
|
1465 |
-
only screen and (
|
1466 |
-
only screen and (
|
1467 |
-
only screen and ( min-resolution:
|
1468 |
-
|
1469 |
-
|
1470 |
-
.ms-skin-light-2 .ms-
|
1471 |
-
.ms-skin-light-2 .ms-
|
1472 |
-
.ms-skin-light-2 .ms-
|
1473 |
-
.ms-skin-light-2 .ms-nav-
|
1474 |
-
|
1475 |
-
background-
|
1476 |
-
|
1477 |
-
|
1478 |
-
|
1479 |
-
|
1480 |
-
|
1481 |
-
|
1482 |
-
|
1483 |
-
|
1484 |
-
*
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
.ms-skin-light-3 .ms-
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
-
|
1493 |
-
|
1494 |
-
|
1495 |
-
|
1496 |
-
|
1497 |
-
|
1498 |
-
|
1499 |
-
|
1500 |
-
|
1501 |
-
|
1502 |
-
|
1503 |
-
|
1504 |
-
|
1505 |
-
|
1506 |
-
|
1507 |
-
|
1508 |
-
.ms-skin-light-3 .ms-nav-
|
1509 |
-
|
1510 |
-
|
1511 |
-
background
|
1512 |
-
|
1513 |
-
|
1514 |
-
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
|
1522 |
-
|
1523 |
-
|
1524 |
-
|
1525 |
-
|
1526 |
-
|
1527 |
-
|
1528 |
-
|
1529 |
-
|
1530 |
-
|
1531 |
-
|
1532 |
-
|
1533 |
-
|
1534 |
-
|
1535 |
-
|
1536 |
-
|
1537 |
-
|
1538 |
-
|
1539 |
-
|
1540 |
-
|
1541 |
-
|
1542 |
-
background
|
1543 |
-
|
1544 |
-
|
1545 |
-
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
-
|
1550 |
-
|
1551 |
-
|
1552 |
-
|
1553 |
-
|
1554 |
-
|
1555 |
-
|
1556 |
-
|
1557 |
-
.ms-skin-light-3 .ms-tooltip-
|
1558 |
-
|
1559 |
-
border-
|
1560 |
-
|
1561 |
-
|
1562 |
-
|
1563 |
-
|
1564 |
-
|
1565 |
-
|
1566 |
-
|
1567 |
-
border-top
|
1568 |
-
border-top-color:
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
|
1573 |
-
|
1574 |
-
border-bottom
|
1575 |
-
border-bottom-color:
|
1576 |
-
|
1577 |
-
|
1578 |
-
|
1579 |
-
|
1580 |
-
.ms-skin-light-3 .ms-tooltip-
|
1581 |
-
|
1582 |
-
border-
|
1583 |
-
|
1584 |
-
|
1585 |
-
|
1586 |
-
|
1587 |
-
|
1588 |
-
|
1589 |
-
|
1590 |
-
border-right
|
1591 |
-
border-right-color:
|
1592 |
-
|
1593 |
-
|
1594 |
-
|
1595 |
-
|
1596 |
-
|
1597 |
-
border-left
|
1598 |
-
border-left-color:
|
1599 |
-
|
1600 |
-
|
1601 |
-
|
1602 |
-
|
1603 |
-
.ms-skin-light-3 .ms-tooltip-point
|
1604 |
-
|
1605 |
-
|
1606 |
-
|
1607 |
-
border:
|
1608 |
-
|
1609 |
-
|
1610 |
-
|
1611 |
-
|
1612 |
-
|
1613 |
-
|
1614 |
-
|
1615 |
-
|
1616 |
-
|
1617 |
-
|
1618 |
-
background:
|
1619 |
-
|
1620 |
-
|
1621 |
-
|
1622 |
-
|
1623 |
-
|
1624 |
-
|
1625 |
-
-
|
1626 |
-
-
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
1630 |
-
|
1631 |
-
|
1632 |
-
|
1633 |
-
|
1634 |
-
|
1635 |
-
|
1636 |
-
background:
|
1637 |
-
|
1638 |
-
|
1639 |
-
|
1640 |
-
|
1641 |
-
|
1642 |
-
|
1643 |
-
|
1644 |
-
only screen and (
|
1645 |
-
only screen and (
|
1646 |
-
only screen and (
|
1647 |
-
only screen and (
|
1648 |
-
only screen and ( min-resolution:
|
1649 |
-
|
1650 |
-
|
1651 |
-
.ms-skin-light-3 .ms-
|
1652 |
-
.ms-skin-light-3 .ms-
|
1653 |
-
.ms-skin-light-3 .ms-
|
1654 |
-
.ms-skin-light-3 .ms-nav-
|
1655 |
-
.ms-skin-light-3 .ms-
|
1656 |
-
|
1657 |
-
background-
|
1658 |
-
|
1659 |
-
|
1660 |
-
|
1661 |
-
|
1662 |
-
|
1663 |
-
|
1664 |
-
|
1665 |
-
|
1666 |
-
*
|
1667 |
-
|
1668 |
-
|
1669 |
-
|
1670 |
-
.ms-skin-light-4 .ms-
|
1671 |
-
|
1672 |
-
|
1673 |
-
|
1674 |
-
|
1675 |
-
|
1676 |
-
|
1677 |
-
|
1678 |
-
|
1679 |
-
|
1680 |
-
|
1681 |
-
|
1682 |
-
|
1683 |
-
|
1684 |
-
|
1685 |
-
|
1686 |
-
|
1687 |
-
|
1688 |
-
|
1689 |
-
|
1690 |
-
.ms-skin-light-4 .ms-nav-
|
1691 |
-
|
1692 |
-
|
1693 |
-
background
|
1694 |
-
|
1695 |
-
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
|
1710 |
-
|
1711 |
-
|
1712 |
-
|
1713 |
-
|
1714 |
-
|
1715 |
-
|
1716 |
-
|
1717 |
-
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
|
1722 |
-
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
|
1745 |
-
|
1746 |
-
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
|
1760 |
-
|
1761 |
-
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
1765 |
-
.ms-skin-light-4 .ms-tooltip-
|
1766 |
-
|
1767 |
-
border-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
border-top
|
1776 |
-
border-top-color:
|
1777 |
-
|
1778 |
-
|
1779 |
-
|
1780 |
-
|
1781 |
-
|
1782 |
-
border-bottom
|
1783 |
-
border-bottom-color:
|
1784 |
-
|
1785 |
-
|
1786 |
-
|
1787 |
-
|
1788 |
-
.ms-skin-light-4 .ms-tooltip-
|
1789 |
-
|
1790 |
-
border-
|
1791 |
-
|
1792 |
-
|
1793 |
-
|
1794 |
-
|
1795 |
-
|
1796 |
-
|
1797 |
-
|
1798 |
-
border-right
|
1799 |
-
border-right-color:
|
1800 |
-
|
1801 |
-
|
1802 |
-
|
1803 |
-
|
1804 |
-
|
1805 |
-
border-left
|
1806 |
-
border-left-color:
|
1807 |
-
|
1808 |
-
|
1809 |
-
|
1810 |
-
|
1811 |
-
.ms-skin-light-4 .ms-tooltip-point
|
1812 |
-
|
1813 |
-
|
1814 |
-
|
1815 |
-
border:
|
1816 |
-
|
1817 |
-
|
1818 |
-
|
1819 |
-
|
1820 |
-
|
1821 |
-
|
1822 |
-
|
1823 |
-
|
1824 |
-
|
1825 |
-
|
1826 |
-
|
1827 |
-
|
1828 |
-
|
1829 |
-
|
1830 |
-
|
1831 |
-
|
1832 |
-
-
|
1833 |
-
-
|
1834 |
-
|
1835 |
-
|
1836 |
-
|
1837 |
-
|
1838 |
-
|
1839 |
-
|
1840 |
-
|
1841 |
-
|
1842 |
-
|
1843 |
-
|
1844 |
-
background:
|
1845 |
-
|
1846 |
-
|
1847 |
-
|
1848 |
-
|
1849 |
-
|
1850 |
-
|
1851 |
-
|
1852 |
-
only screen and (
|
1853 |
-
only screen and (
|
1854 |
-
only screen and (
|
1855 |
-
only screen and (
|
1856 |
-
only screen and ( min-resolution:
|
1857 |
-
|
1858 |
-
|
1859 |
-
.ms-skin-light-4 .ms-
|
1860 |
-
.ms-skin-light-4 .ms-
|
1861 |
-
.ms-skin-light-4 .ms-
|
1862 |
-
.ms-skin-light-4 .ms-nav-
|
1863 |
-
|
1864 |
-
background-
|
1865 |
-
|
1866 |
-
|
1867 |
-
|
1868 |
-
|
1869 |
-
|
1870 |
-
|
1871 |
-
|
1872 |
-
|
1873 |
-
*
|
1874 |
-
|
1875 |
-
|
1876 |
-
|
1877 |
-
.ms-skin-light-5 .ms-
|
1878 |
-
|
1879 |
-
|
1880 |
-
|
1881 |
-
|
1882 |
-
|
1883 |
-
|
1884 |
-
|
1885 |
-
|
1886 |
-
|
1887 |
-
.ms-skin-light-5 .ms-
|
1888 |
-
|
1889 |
-
|
1890 |
-
|
1891 |
-
|
1892 |
-
|
1893 |
-
|
1894 |
-
|
1895 |
-
|
1896 |
-
|
1897 |
-
|
1898 |
-
|
1899 |
-
|
1900 |
-
|
1901 |
-
|
1902 |
-
.ms-skin-light-5 .ms-nav-
|
1903 |
-
|
1904 |
-
|
1905 |
-
background
|
1906 |
-
|
1907 |
-
|
1908 |
-
|
1909 |
-
|
1910 |
-
|
1911 |
-
|
1912 |
-
|
1913 |
-
|
1914 |
-
|
1915 |
-
|
1916 |
-
.ms-skin-light-5 .ms-nav-
|
1917 |
-
|
1918 |
-
|
1919 |
-
|
1920 |
-
|
1921 |
-
|
1922 |
-
|
1923 |
-
|
1924 |
-
|
1925 |
-
|
1926 |
-
|
1927 |
-
|
1928 |
-
|
1929 |
-
|
1930 |
-
|
1931 |
-
|
1932 |
-
|
1933 |
-
|
1934 |
-
|
1935 |
-
|
1936 |
-
|
1937 |
-
|
1938 |
-
|
1939 |
-
|
1940 |
-
|
1941 |
-
|
1942 |
-
|
1943 |
-
|
1944 |
-
|
1945 |
-
|
1946 |
-
|
1947 |
-
|
1948 |
-
|
1949 |
-
|
1950 |
-
|
1951 |
-
|
1952 |
-
|
1953 |
-
|
1954 |
-
|
1955 |
-
|
1956 |
-
.ms-skin-light-5 .ms-tooltip-
|
1957 |
-
|
1958 |
-
border-
|
1959 |
-
|
1960 |
-
|
1961 |
-
|
1962 |
-
|
1963 |
-
|
1964 |
-
|
1965 |
-
|
1966 |
-
border-top
|
1967 |
-
border-top-color:
|
1968 |
-
|
1969 |
-
|
1970 |
-
|
1971 |
-
|
1972 |
-
|
1973 |
-
border-bottom
|
1974 |
-
border-bottom-color:
|
1975 |
-
|
1976 |
-
|
1977 |
-
|
1978 |
-
|
1979 |
-
.ms-skin-light-5 .ms-tooltip-
|
1980 |
-
|
1981 |
-
border-
|
1982 |
-
|
1983 |
-
|
1984 |
-
|
1985 |
-
|
1986 |
-
|
1987 |
-
|
1988 |
-
|
1989 |
-
border-right
|
1990 |
-
border-right-color:
|
1991 |
-
|
1992 |
-
|
1993 |
-
|
1994 |
-
|
1995 |
-
|
1996 |
-
border-left
|
1997 |
-
border-left-color:
|
1998 |
-
|
1999 |
-
|
2000 |
-
|
2001 |
-
|
2002 |
-
.ms-skin-light-5 .ms-tooltip-point
|
2003 |
-
|
2004 |
-
|
2005 |
-
|
2006 |
-
border:
|
2007 |
-
|
2008 |
-
|
2009 |
-
|
2010 |
-
|
2011 |
-
|
2012 |
-
|
2013 |
-
|
2014 |
-
|
2015 |
-
|
2016 |
-
|
2017 |
-
background:
|
2018 |
-
|
2019 |
-
|
2020 |
-
|
2021 |
-
|
2022 |
-
|
2023 |
-
|
2024 |
-
-
|
2025 |
-
-
|
2026 |
-
|
2027 |
-
|
2028 |
-
|
2029 |
-
|
2030 |
-
|
2031 |
-
|
2032 |
-
-
|
2033 |
-
-
|
2034 |
-
|
2035 |
-
|
2036 |
-
|
2037 |
-
.ms-
|
2038 |
-
|
2039 |
-
|
2040 |
-
|
2041 |
-
|
2042 |
-
|
2043 |
-
|
2044 |
-
|
2045 |
-
|
2046 |
-
|
2047 |
-
|
2048 |
-
background:
|
2049 |
-
|
2050 |
-
|
2051 |
-
|
2052 |
-
|
2053 |
-
|
2054 |
-
|
2055 |
-
|
2056 |
-
only screen and (
|
2057 |
-
only screen and (
|
2058 |
-
only screen and (
|
2059 |
-
only screen and (
|
2060 |
-
only screen and ( min-resolution:
|
2061 |
-
|
2062 |
-
|
2063 |
-
.ms-skin-light-5 .ms-
|
2064 |
-
.ms-skin-light-5 .ms-
|
2065 |
-
.ms-skin-light-5 .ms-
|
2066 |
-
.ms-skin-light-5 .ms-nav-
|
2067 |
-
|
2068 |
-
background-
|
2069 |
-
|
2070 |
-
|
2071 |
-
|
2072 |
-
|
2073 |
-
|
2074 |
-
|
2075 |
-
|
2076 |
-
|
2077 |
-
*
|
2078 |
-
|
2079 |
-
|
2080 |
-
|
2081 |
-
.ms-skin-light-6 .ms-
|
2082 |
-
|
2083 |
-
|
2084 |
-
|
2085 |
-
|
2086 |
-
-
|
2087 |
-
|
2088 |
-
|
2089 |
-
|
2090 |
-
|
2091 |
-
|
2092 |
-
|
2093 |
-
.ms-skin-light-6 .ms-
|
2094 |
-
|
2095 |
-
|
2096 |
-
|
2097 |
-
|
2098 |
-
|
2099 |
-
|
2100 |
-
|
2101 |
-
|
2102 |
-
|
2103 |
-
|
2104 |
-
|
2105 |
-
|
2106 |
-
|
2107 |
-
|
2108 |
-
|
2109 |
-
|
2110 |
-
|
2111 |
-
|
2112 |
-
|
2113 |
-
.ms-skin-light-6 .ms-nav-
|
2114 |
-
|
2115 |
-
|
2116 |
-
|
2117 |
-
|
2118 |
-
|
2119 |
-
|
2120 |
-
background
|
2121 |
-
background-
|
2122 |
-
|
2123 |
-
border
|
2124 |
-
|
2125 |
-
|
2126 |
-
|
2127 |
-
|
2128 |
-
|
2129 |
-
|
2130 |
-
.ms-skin-light-6.round-skin .ms-nav-
|
2131 |
-
.ms-skin-light-6.round-skin .ms-
|
2132 |
-
.ms-skin-light-6.round-skin .ms-
|
2133 |
-
|
2134 |
-
|
2135 |
-
|
2136 |
-
|
2137 |
-
.ms-skin-light-6 .ms-nav-
|
2138 |
-
|
2139 |
-
|
2140 |
-
|
2141 |
-
|
2142 |
-
|
2143 |
-
|
2144 |
-
|
2145 |
-
|
2146 |
-
|
2147 |
-
|
2148 |
-
|
2149 |
-
|
2150 |
-
|
2151 |
-
|
2152 |
-
|
2153 |
-
|
2154 |
-
|
2155 |
-
|
2156 |
-
|
2157 |
-
|
2158 |
-
|
2159 |
-
|
2160 |
-
|
2161 |
-
|
2162 |
-
|
2163 |
-
|
2164 |
-
|
2165 |
-
|
2166 |
-
border
|
2167 |
-
|
2168 |
-
|
2169 |
-
|
2170 |
-
|
2171 |
-
|
2172 |
-
|
2173 |
-
|
2174 |
-
|
2175 |
-
|
2176 |
-
|
2177 |
-
|
2178 |
-
border-color:
|
2179 |
-
|
2180 |
-
|
2181 |
-
|
2182 |
-
|
2183 |
-
|
2184 |
-
|
2185 |
-
|
2186 |
-
|
2187 |
-
|
2188 |
-
.ms-skin-light-6 .ms-tooltip-
|
2189 |
-
|
2190 |
-
border-
|
2191 |
-
|
2192 |
-
|
2193 |
-
|
2194 |
-
|
2195 |
-
|
2196 |
-
|
2197 |
-
|
2198 |
-
border-top
|
2199 |
-
border-top-color:
|
2200 |
-
|
2201 |
-
|
2202 |
-
|
2203 |
-
|
2204 |
-
|
2205 |
-
border-bottom
|
2206 |
-
border-bottom-color:
|
2207 |
-
|
2208 |
-
|
2209 |
-
|
2210 |
-
|
2211 |
-
.ms-skin-light-6 .ms-tooltip-
|
2212 |
-
|
2213 |
-
border-
|
2214 |
-
|
2215 |
-
|
2216 |
-
|
2217 |
-
|
2218 |
-
|
2219 |
-
|
2220 |
-
|
2221 |
-
border-right
|
2222 |
-
border-right-color:
|
2223 |
-
|
2224 |
-
|
2225 |
-
|
2226 |
-
|
2227 |
-
|
2228 |
-
border-left
|
2229 |
-
border-left-color:
|
2230 |
-
|
2231 |
-
|
2232 |
-
|
2233 |
-
|
2234 |
-
.ms-skin-light-6 .ms-tooltip-point
|
2235 |
-
|
2236 |
-
|
2237 |
-
|
2238 |
-
border:
|
2239 |
-
|
2240 |
-
|
2241 |
-
|
2242 |
-
|
2243 |
-
|
2244 |
-
|
2245 |
-
|
2246 |
-
|
2247 |
-
|
2248 |
-
|
2249 |
-
background:
|
2250 |
-
|
2251 |
-
|
2252 |
-
|
2253 |
-
|
2254 |
-
|
2255 |
-
|
2256 |
-
-
|
2257 |
-
-
|
2258 |
-
|
2259 |
-
|
2260 |
-
|
2261 |
-
.ms-
|
2262 |
-
|
2263 |
-
|
2264 |
-
|
2265 |
-
|
2266 |
-
|
2267 |
-
|
2268 |
-
|
2269 |
-
|
2270 |
-
|
2271 |
-
|
2272 |
-
background:
|
2273 |
-
|
2274 |
-
|
2275 |
-
|
2276 |
-
|
2277 |
-
|
2278 |
-
|
2279 |
-
|
2280 |
-
only screen and (
|
2281 |
-
only screen and (
|
2282 |
-
only screen and (
|
2283 |
-
only screen and (
|
2284 |
-
only screen and ( min-resolution:
|
2285 |
-
|
2286 |
-
|
2287 |
-
.ms-skin-light-6 .ms-
|
2288 |
-
.ms-skin-light-6 .ms-
|
2289 |
-
.ms-skin-light-6 .ms-
|
2290 |
-
.ms-skin-light-6 .ms-nav-
|
2291 |
-
|
2292 |
-
background-
|
2293 |
-
|
2294 |
-
|
2295 |
-
|
2296 |
-
|
2297 |
-
|
2298 |
-
|
2299 |
-
|
2300 |
-
|
2301 |
-
*
|
2302 |
-
|
2303 |
-
|
2304 |
-
|
2305 |
-
.ms-skin-metro .ms-
|
2306 |
-
|
2307 |
-
|
2308 |
-
|
2309 |
-
|
2310 |
-
|
2311 |
-
|
2312 |
-
|
2313 |
-
|
2314 |
-
|
2315 |
-
|
2316 |
-
|
2317 |
-
|
2318 |
-
|
2319 |
-
|
2320 |
-
|
2321 |
-
|
2322 |
-
|
2323 |
-
|
2324 |
-
|
2325 |
-
.ms-skin-metro .ms-nav-
|
2326 |
-
|
2327 |
-
|
2328 |
-
background
|
2329 |
-
|
2330 |
-
|
2331 |
-
|
2332 |
-
|
2333 |
-
|
2334 |
-
|
2335 |
-
|
2336 |
-
|
2337 |
-
|
2338 |
-
|
2339 |
-
|
2340 |
-
|
2341 |
-
|
2342 |
-
|
2343 |
-
|
2344 |
-
|
2345 |
-
|
2346 |
-
|
2347 |
-
|
2348 |
-
|
2349 |
-
|
2350 |
-
|
2351 |
-
|
2352 |
-
|
2353 |
-
|
2354 |
-
|
2355 |
-
|
2356 |
-
|
2357 |
-
|
2358 |
-
|
2359 |
-
background
|
2360 |
-
|
2361 |
-
|
2362 |
-
|
2363 |
-
|
2364 |
-
|
2365 |
-
|
2366 |
-
|
2367 |
-
|
2368 |
-
|
2369 |
-
|
2370 |
-
|
2371 |
-
|
2372 |
-
|
2373 |
-
|
2374 |
-
.ms-skin-metro .ms-tooltip-
|
2375 |
-
|
2376 |
-
border-
|
2377 |
-
|
2378 |
-
|
2379 |
-
|
2380 |
-
|
2381 |
-
|
2382 |
-
|
2383 |
-
|
2384 |
-
border-top
|
2385 |
-
border-top-color:
|
2386 |
-
|
2387 |
-
|
2388 |
-
|
2389 |
-
|
2390 |
-
|
2391 |
-
border-bottom
|
2392 |
-
border-bottom-color:
|
2393 |
-
|
2394 |
-
|
2395 |
-
|
2396 |
-
|
2397 |
-
.ms-skin-metro .ms-tooltip-
|
2398 |
-
|
2399 |
-
border-
|
2400 |
-
|
2401 |
-
|
2402 |
-
|
2403 |
-
|
2404 |
-
|
2405 |
-
|
2406 |
-
|
2407 |
-
border-right
|
2408 |
-
border-right-color:
|
2409 |
-
|
2410 |
-
|
2411 |
-
|
2412 |
-
|
2413 |
-
|
2414 |
-
border-left
|
2415 |
-
border-left-color:
|
2416 |
-
|
2417 |
-
|
2418 |
-
|
2419 |
-
|
2420 |
-
.ms-skin-metro .ms-tooltip-point
|
2421 |
-
|
2422 |
-
|
2423 |
-
|
2424 |
-
border:
|
2425 |
-
|
2426 |
-
|
2427 |
-
|
2428 |
-
|
2429 |
-
|
2430 |
-
|
2431 |
-
|
2432 |
-
|
2433 |
-
|
2434 |
-
|
2435 |
-
background:
|
2436 |
-
|
2437 |
-
|
2438 |
-
|
2439 |
-
|
2440 |
-
|
2441 |
-
|
2442 |
-
-
|
2443 |
-
-
|
2444 |
-
|
2445 |
-
|
2446 |
-
|
2447 |
-
|
2448 |
-
|
2449 |
-
|
2450 |
-
|
2451 |
-
|
2452 |
-
|
2453 |
-
background:
|
2454 |
-
|
2455 |
-
|
2456 |
-
|
2457 |
-
|
2458 |
-
|
2459 |
-
|
2460 |
-
|
2461 |
-
only screen and (
|
2462 |
-
only screen and (
|
2463 |
-
only screen and (
|
2464 |
-
only screen and (
|
2465 |
-
only screen and ( min-resolution:
|
2466 |
-
|
2467 |
-
|
2468 |
-
.ms-skin-metro .ms-
|
2469 |
-
.ms-skin-metro .ms-
|
2470 |
-
.ms-skin-metro .ms-
|
2471 |
-
.ms-skin-metro .ms-nav-
|
2472 |
-
.ms-skin-metro .ms-
|
2473 |
-
|
2474 |
-
background-
|
2475 |
-
|
2476 |
-
|
2477 |
-
|
2478 |
-
|
2479 |
-
|
2480 |
-
|
2481 |
-
|
2482 |
-
|
2483 |
-
|
2484 |
-
|
2485 |
-
|
2486 |
-
|
2487 |
-
|
2488 |
-
|
2489 |
-
|
2490 |
-
|
2491 |
-
|
2492 |
-
|
2493 |
-
|
2494 |
-
|
2495 |
-
|
2496 |
-
|
2497 |
-
|
2498 |
-
|
2499 |
-
|
2500 |
-
|
2501 |
-
|
2502 |
-
|
2503 |
-
|
2504 |
-
|
2505 |
-
|
2506 |
-
|
2507 |
-
|
2508 |
-
|
2509 |
-
|
2510 |
-
|
2511 |
-
|
2512 |
-
|
2513 |
-
|
2514 |
-
|
2515 |
-
|
2516 |
-
|
2517 |
-
|
2518 |
-
|
2519 |
-
|
2520 |
-
|
2521 |
-
|
2522 |
-
|
2523 |
-
|
2524 |
-
|
2525 |
-
|
2526 |
-
|
2527 |
-
|
2528 |
-
|
2529 |
-
|
2530 |
-
|
2531 |
-
|
2532 |
-
|
2533 |
-
|
2534 |
-
|
2535 |
-
|
2536 |
-
|
2537 |
-
|
2538 |
-
|
2539 |
-
|
2540 |
-
|
2541 |
-
|
2542 |
-
|
2543 |
-
|
2544 |
-
|
2545 |
-
|
2546 |
-
|
2547 |
-
|
2548 |
-
|
2549 |
-
|
2550 |
-
|
2551 |
-
|
2552 |
-
|
2553 |
-
|
2554 |
-
|
2555 |
-
|
2556 |
-
|
2557 |
-
|
2558 |
-
|
2559 |
-
|
2560 |
-
|
2561 |
-
|
2562 |
-
|
2563 |
-
|
2564 |
-
|
2565 |
-
|
2566 |
-
border-top
|
2567 |
-
|
2568 |
-
|
2569 |
-
|
2570 |
-
|
2571 |
-
|
2572 |
-
|
2573 |
-
border-bottom
|
2574 |
-
|
2575 |
-
|
2576 |
-
|
2577 |
-
|
2578 |
-
|
2579 |
-
|
2580 |
-
|
2581 |
-
|
2582 |
-
|
2583 |
-
|
2584 |
-
|
2585 |
-
|
2586 |
-
|
2587 |
-
|
2588 |
-
|
2589 |
-
border-right
|
2590 |
-
|
2591 |
-
|
2592 |
-
|
2593 |
-
|
2594 |
-
|
2595 |
-
|
2596 |
-
border-left
|
2597 |
-
|
2598 |
-
|
2599 |
-
|
2600 |
-
|
2601 |
-
|
2602 |
-
|
2603 |
-
|
2604 |
-
|
2605 |
-
|
2606 |
-
|
2607 |
-
|
2608 |
-
|
2609 |
-
|
2610 |
-
|
2611 |
-
|
2612 |
-
|
2613 |
-
|
2614 |
-
|
2615 |
-
|
2616 |
-
|
2617 |
-
|
2618 |
-
|
2619 |
-
|
2620 |
-
|
2621 |
-
|
2622 |
-
|
2623 |
-
|
2624 |
-
-
|
2625 |
-
|
2626 |
-
|
2627 |
-
|
2628 |
-
|
2629 |
-
|
2630 |
-
|
2631 |
-
|
2632 |
-
|
2633 |
-
|
2634 |
-
|
2635 |
-
|
2636 |
-
|
2637 |
-
|
2638 |
-
|
2639 |
-
|
2640 |
-
|
2641 |
-
|
2642 |
-
|
2643 |
-
|
2644 |
-
only screen and (
|
2645 |
-
only screen and (
|
2646 |
-
only screen and (
|
2647 |
-
only screen and (
|
2648 |
-
|
2649 |
-
|
2650 |
-
|
2651 |
-
.ms-skin-contrast .ms-slide .ms-slide-
|
2652 |
-
.ms-skin-contrast .ms-
|
2653 |
-
.ms-skin-contrast .ms-
|
2654 |
-
.ms-skin-contrast .ms-
|
2655 |
-
|
2656 |
-
|
2657 |
-
|
2658 |
-
|
2659 |
-
}
|
|
|
|
1 |
/*!
|
2 |
* Master Slider WordPress Lite Main CSS File
|
3 |
+
* @date Dec 2020
|
4 |
*/
|
5 |
|
6 |
|
536 |
|
537 |
|
538 |
|
539 |
+
/**
|
540 |
+
* Master Slider
|
541 |
+
* Default Skin
|
542 |
+
*/
|
543 |
+
|
544 |
+
.ms-skin-default .ms-slide .ms-slide-vpbtn,
|
545 |
+
.ms-skin-default .ms-video-btn{
|
546 |
+
width: 50px;
|
547 |
+
height: 51px;
|
548 |
+
background: url(skins/light-skin-1.png) no-repeat -14px -150px;
|
549 |
+
top: 50%;
|
550 |
+
left: 50%;
|
551 |
+
margin: -25px 0 0 -25px;
|
552 |
+
}
|
553 |
+
|
554 |
+
.ms-skin-default .ms-slide .ms-slide-vcbtn {
|
555 |
+
width: 30px;
|
556 |
+
height: 30px;
|
557 |
+
background: url(skins/light-skin-1.png) no-repeat -24px -28px;
|
558 |
+
top: 18px;
|
559 |
+
right: 30px;
|
560 |
+
}
|
561 |
+
|
562 |
+
/* controls */
|
563 |
+
|
564 |
+
.ms-skin-default .ms-nav-next,
|
565 |
+
.ms-skin-default .ms-nav-prev {
|
566 |
+
width: 30px;
|
567 |
+
background: url(skins/light-skin-1.png);
|
568 |
+
background-position: -89px -26px;
|
569 |
+
height: 40px;
|
570 |
+
cursor: pointer;
|
571 |
+
top: 50%;
|
572 |
+
left: 30px;
|
573 |
+
margin-top: -20px;
|
574 |
+
position: absolute;
|
575 |
+
z-index: 110;
|
576 |
+
}
|
577 |
+
.ms-skin-default .ms-nav-next {
|
578 |
+
right: 30px;
|
579 |
+
left: auto;
|
580 |
+
background-position: -89px -103px;
|
581 |
+
}
|
582 |
+
|
583 |
+
|
584 |
+
|
585 |
+
.ms-skin-default .ms-bullet {
|
586 |
+
width: 10px;
|
587 |
+
height: 10px;
|
588 |
+
background: url(skins/light-skin-1.png) no-repeat;
|
589 |
+
margin: 4px;
|
590 |
+
background-position: -34px -117px;
|
591 |
+
}
|
592 |
+
|
593 |
+
.ms-skin-default .ms-bullet-selected {
|
594 |
+
background-position: -34px -84px;
|
595 |
+
}
|
596 |
+
|
597 |
+
.ms-skin-default .ms-tooltip{
|
598 |
+
position: absolute;
|
599 |
+
z-index: 210;
|
600 |
+
cursor: auto;
|
601 |
+
}
|
602 |
+
|
603 |
+
.ms-skin-default .ms-tooltip-top .ms-tooltip-arrow,
|
604 |
+
.ms-skin-default .ms-tooltip-bottom .ms-tooltip-arrow{
|
605 |
+
border-left: solid 10px transparent;
|
606 |
+
border-right: solid 10px transparent;
|
607 |
+
position: absolute;
|
608 |
+
left: 50%;
|
609 |
+
margin-left: -10px;
|
610 |
+
}
|
611 |
+
|
612 |
+
.ms-skin-default .ms-tooltip-top .ms-tooltip-arrow{
|
613 |
+
border-top: solid 10px;
|
614 |
+
border-top-color: silver;
|
615 |
+
border-top-color: rgba(240, 240, 240, 0.88);
|
616 |
+
bottom: -10px;
|
617 |
+
}
|
618 |
+
|
619 |
+
.ms-skin-default .ms-tooltip-bottom .ms-tooltip-arrow {
|
620 |
+
border-bottom: solid 10px;
|
621 |
+
border-bottom-color: silver;
|
622 |
+
border-bottom-color: rgba(240, 240, 240, 0.88);
|
623 |
+
top: -10px;
|
624 |
+
}
|
625 |
+
|
626 |
+
.ms-skin-default .ms-tooltip-right .ms-tooltip-arrow,
|
627 |
+
.ms-skin-default .ms-tooltip-left .ms-tooltip-arrow{
|
628 |
+
border-top: solid 10px transparent;
|
629 |
+
border-bottom: solid 10px transparent;
|
630 |
+
position: absolute;
|
631 |
+
top: 50%;
|
632 |
+
margin-top: -10px;
|
633 |
+
}
|
634 |
+
|
635 |
+
.ms-skin-default .ms-tooltip-right .ms-tooltip-arrow{
|
636 |
+
border-right: solid 10px;
|
637 |
+
border-right-color: silver;
|
638 |
+
border-right-color: rgba(240, 240, 240, 0.88);
|
639 |
+
left: -10px;
|
640 |
+
}
|
641 |
+
|
642 |
+
.ms-skin-default .ms-tooltip-left .ms-tooltip-arrow {
|
643 |
+
border-left: solid 10px;
|
644 |
+
border-left-color: silver;
|
645 |
+
border-left-color: rgba(240, 240, 240, 0.88);
|
646 |
+
right: -10px;
|
647 |
+
}
|
648 |
+
|
649 |
+
.ms-skin-default .ms-tooltip-point {cursor: pointer;}
|
650 |
+
.ms-skin-default .ms-tooltip-point .ms-point-center {
|
651 |
+
width: 12px;
|
652 |
+
height: 12px;
|
653 |
+
border-radius: 15px;
|
654 |
+
border: solid 2px #BBB;
|
655 |
+
background: white;
|
656 |
+
margin: -8px 0 0 -8px;
|
657 |
+
position: absolute;
|
658 |
+
z-index: 105;
|
659 |
+
}
|
660 |
+
|
661 |
+
.ms-skin-default .ms-tooltip-point .ms-point-border {
|
662 |
+
width: 22px;
|
663 |
+
height: 22px;
|
664 |
+
background: black;
|
665 |
+
background:rgba(0, 0, 0, 0.36);
|
666 |
+
margin: -11px 0 0 -11px;
|
667 |
+
position: absolute;
|
668 |
+
border-radius: 15px;
|
669 |
+
|
670 |
+
animation: ms-point-anim 1.5s infinite ;
|
671 |
+
-moz-animation: ms-point-anim 1.5s infinite;
|
672 |
+
-webkit-animation: ms-point-anim 1.5s infinite;
|
673 |
+
-o-animation: ms-point-anim 1.5s infinite;
|
674 |
+
}
|
675 |
+
|
676 |
+
.ms-skin-default .ms-tooltip {
|
677 |
+
max-width:200px;
|
678 |
+
}
|
679 |
+
|
680 |
+
.ms-skin-default .ms-tooltip-cont {
|
681 |
+
padding: 10px;
|
682 |
+
background: silver;
|
683 |
+
background: rgba(240, 240, 240, 0.88);
|
684 |
+
text-shadow: 0 1px 0px white;
|
685 |
+
margin-left: -1px;
|
686 |
+
}
|
687 |
+
|
688 |
+
/* retina */
|
689 |
+
@media
|
690 |
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
691 |
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
692 |
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
693 |
+
only screen and ( min-device-pixel-ratio: 2),
|
694 |
+
only screen and ( min-resolution: 192dpi),
|
695 |
+
only screen and ( min-resolution: 2dppx) {
|
696 |
+
|
697 |
+
.ms-skin-default .ms-slide .ms-slide-vpbtn,
|
698 |
+
.ms-skin-default .ms-video-btn,
|
699 |
+
.ms-skin-default .ms-slide .ms-slide-vcbtn,
|
700 |
+
.ms-skin-default .ms-nav-next,
|
701 |
+
.ms-skin-default .ms-nav-prev,
|
702 |
+
.ms-skin-default .ms-bullet{
|
703 |
+
background-image:url(skins/light-skin-1-retina.png);
|
704 |
+
background-size: 152px 225px;
|
705 |
+
}
|
706 |
+
|
707 |
+
}
|
708 |
+
|
709 |
+
|
710 |
+
|
711 |
+
/**
|
712 |
+
* Master Slider
|
713 |
+
* Black 1
|
714 |
+
*/
|
715 |
+
|
716 |
+
.ms-skin-black-1 .ms-slide .ms-slide-vpbtn,
|
717 |
+
.ms-skin-black-1 .ms-video-btn{
|
718 |
+
width: 54px;
|
719 |
+
height: 54px;
|
720 |
+
background: url(skins/black-skin-1.png) no-repeat -14px -150px;
|
721 |
+
top: 50%;
|
722 |
+
left: 50%;
|
723 |
+
margin: -27px 0 0 -27px;
|
724 |
+
}
|
725 |
+
|
726 |
+
.ms-skin-black-1 .ms-slide .ms-slide-vcbtn {
|
727 |
+
width: 27px;
|
728 |
+
height: 26px;
|
729 |
+
background: url(skins/black-skin-1.png) no-repeat -24px -29px;
|
730 |
+
top: 30px;
|
731 |
+
right: 30px;
|
732 |
+
}
|
733 |
+
|
734 |
+
/* controls */
|
735 |
+
|
736 |
+
.ms-skin-black-1 .ms-nav-next,
|
737 |
+
.ms-skin-black-1 .ms-nav-prev {
|
738 |
+
width: 53px;
|
739 |
+
background: url(skins/black-skin-1.png);
|
740 |
+
background-position: -79px -19px;
|
741 |
+
height: 61px;
|
742 |
+
cursor: pointer;
|
743 |
+
top: 50%;
|
744 |
+
left: 30px;
|
745 |
+
margin-top: -26px;
|
746 |
+
position: absolute;
|
747 |
+
z-index: 110;
|
748 |
+
}
|
749 |
+
.ms-skin-black-1 .ms-nav-next {
|
750 |
+
right: 30px;
|
751 |
+
left: auto;
|
752 |
+
background-position: -79px -97px;
|
753 |
+
}
|
754 |
+
|
755 |
+
.ms-skin-black-1 .ms-bullets.ms-dir-h {
|
756 |
+
position: absolute;
|
757 |
+
bottom: 20px;
|
758 |
+
right: 50%;
|
759 |
+
width: 100px;
|
760 |
+
}
|
761 |
+
|
762 |
+
.ms-skin-black-1 .ms-bullets.ms-dir-h .ms-bullets-count {
|
763 |
+
position: relative;
|
764 |
+
right: -50%;
|
765 |
+
}
|
766 |
+
|
767 |
+
.ms-skin-black-1 .ms-bullet {
|
768 |
+
width: 9px;
|
769 |
+
height: 9px;
|
770 |
+
background: white;
|
771 |
+
margin: 4px;
|
772 |
+
border: solid 1px rgb(58, 58, 58);
|
773 |
+
}
|
774 |
+
|
775 |
+
.ms-skin-black-1 .ms-bullet-selected {
|
776 |
+
background-color: black;
|
777 |
+
}
|
778 |
+
|
779 |
+
.ms-skin-black-1 .ms-tooltip{
|
780 |
+
position: absolute;
|
781 |
+
z-index: 210;
|
782 |
+
cursor: auto;
|
783 |
+
}
|
784 |
+
|
785 |
+
.ms-skin-black-1 .ms-tooltip-top .ms-tooltip-arrow,
|
786 |
+
.ms-skin-black-1 .ms-tooltip-bottom .ms-tooltip-arrow{
|
787 |
+
border-left: solid 10px transparent;
|
788 |
+
border-right: solid 10px transparent;
|
789 |
+
position: absolute;
|
790 |
+
left: 50%;
|
791 |
+
margin-left: -10px;
|
792 |
+
}
|
793 |
+
|
794 |
+
.ms-skin-black-1 .ms-tooltip-top .ms-tooltip-arrow{
|
795 |
+
border-top: solid 10px;
|
796 |
+
border-top-color: white;
|
797 |
+
border-top-color: rgba(0, 0, 0, 0.8);
|
798 |
+
bottom: -10px;
|
799 |
+
}
|
800 |
+
|
801 |
+
.ms-skin-black-1 .ms-tooltip-bottom .ms-tooltip-arrow {
|
802 |
+
border-bottom: solid 10px;
|
803 |
+
border-bottom-color: white;
|
804 |
+
border-bottom-color: rgba(0, 0, 0, 0.8);
|
805 |
+
top: -10px;
|
806 |
+
}
|
807 |
+
|
808 |
+
.ms-skin-black-1 .ms-tooltip-right .ms-tooltip-arrow,
|
809 |
+
.ms-skin-black-1 .ms-tooltip-left .ms-tooltip-arrow{
|
810 |
+
border-top: solid 10px transparent;
|
811 |
+
border-bottom: solid 10px transparent;
|
812 |
+
position: absolute;
|
813 |
+
top: 50%;
|
814 |
+
margin-top: -10px;
|
815 |
+
}
|
816 |
+
|
817 |
+
.ms-skin-black-1 .ms-tooltip-right .ms-tooltip-arrow{
|
818 |
+
border-right: solid 10px;
|
819 |
+
border-right-color: white;
|
820 |
+
border-right-color: rgba(0, 0, 0, 0.8);
|
821 |
+
left: -10px;
|
822 |
+
}
|
823 |
+
|
824 |
+
.ms-skin-black-1 .ms-tooltip-left .ms-tooltip-arrow {
|
825 |
+
border-left: solid 10px;
|
826 |
+
border-left-color: black;
|
827 |
+
border-left-color: rgba(0, 0, 0, 0.8);
|
828 |
+
right: -10px;
|
829 |
+
}
|
830 |
+
|
831 |
+
.ms-skin-black-1 .ms-tooltip-point {cursor: pointer;}
|
832 |
+
.ms-skin-black-1 .ms-tooltip-point .ms-point-center {
|
833 |
+
width: 12px;
|
834 |
+
height: 12px;
|
835 |
+
border-radius: 15px;
|
836 |
+
border: solid 2px #444444;
|
837 |
+
background: black;
|
838 |
+
margin: -8px 0 0 -8px;
|
839 |
+
position: absolute;
|
840 |
+
z-index: 105;
|
841 |
+
}
|
842 |
+
|
843 |
+
.ms-skin-black-1 .ms-tooltip-point .ms-point-border {
|
844 |
+
width: 22px;
|
845 |
+
height: 22px;
|
846 |
+
background: white;
|
847 |
+
background: rgba(255, 255, 255, 0.9);
|
848 |
+
margin: -11px 0 0 -11px;
|
849 |
+
position: absolute;
|
850 |
+
border-radius: 15px;
|
851 |
+
|
852 |
+
animation: ms-point-anim 1.5s infinite ;
|
853 |
+
-moz-animation: ms-point-anim 1.5s infinite;
|
854 |
+
-webkit-animation: ms-point-anim 1.5s infinite;
|
855 |
+
-o-animation: ms-point-anim 1.5s infinite;
|
856 |
+
}
|
857 |
+
|
858 |
+
.ms-skin-black-1 .ms-tooltip {
|
859 |
+
max-width:200px;
|
860 |
+
}
|
861 |
+
|
862 |
+
.ms-skin-black-1 .ms-tooltip-cont {
|
863 |
+
padding: 10px;
|
864 |
+
background: black;
|
865 |
+
background: rgba(0, 0, 0, 0.8);
|
866 |
+
text-shadow: 0 1px 0px black;
|
867 |
+
color: white;
|
868 |
+
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.04);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
869 |
}
|
870 |
|
871 |
+
/* retina */
|
872 |
+
@media
|
873 |
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
874 |
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
875 |
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
876 |
+
only screen and ( min-device-pixel-ratio: 2),
|
877 |
+
only screen and ( min-resolution: 192dpi),
|
878 |
+
only screen and ( min-resolution: 2dppx) {
|
879 |
+
|
880 |
+
.ms-skin-black-1 .ms-slide .ms-slide-vpbtn,
|
881 |
+
.ms-skin-black-1 .ms-video-btn,
|
882 |
+
.ms-skin-black-1 .ms-slide .ms-slide-vcbtn,
|
883 |
+
.ms-skin-black-1 .ms-nav-next,
|
884 |
+
.ms-skin-black-1 .ms-nav-prev{
|
885 |
+
background-image:url(skins/black-skin-1-retina.png);
|
886 |
+
background-size: 152px 225px;
|
887 |
+
}
|
888 |
+
|
889 |
+
}
|
890 |
+
|
891 |
+
|
892 |
|
893 |
/**
|
894 |
* Master Slider
|
1052 |
position: absolute;
|
1053 |
border-radius: 15px;
|
1054 |
|
1055 |
+
animation: ms-point-anim 1.5s infinite ;
|
1056 |
+
-moz-animation: ms-point-anim 1.5s infinite;
|
1057 |
+
-webkit-animation: ms-point-anim 1.5s infinite;
|
1058 |
+
-o-animation: ms-point-anim 1.5s infinite;
|
1059 |
}
|
1060 |
|
1061 |
.ms-skin-minimal .ms-tooltip {
|
1072 |
|
1073 |
|
1074 |
|
1075 |
+
/**
|
1076 |
+
* Master Slider
|
1077 |
+
* Black 2 Skin
|
1078 |
+
*/
|
1079 |
+
|
1080 |
+
.ms-skin-black-2 .ms-slide .ms-slide-vpbtn,
|
1081 |
+
.ms-skin-black-2 .ms-video-btn{
|
1082 |
+
width: 45px;
|
1083 |
+
height: 45px;
|
1084 |
+
background: url(skins/black-skin-2.png) black no-repeat -16px -103px;
|
1085 |
+
border: solid 3px rgb(255, 255, 255);
|
1086 |
+
border-color: rgba(255, 255, 255, 0.4);
|
1087 |
+
-webkit-background-clip: padding-box;
|
1088 |
+
top: 50%;
|
1089 |
+
left: 50%;
|
1090 |
+
margin: -23px 0 0 -23px;
|
1091 |
+
}
|
1092 |
+
|
1093 |
+
.ms-skin-black-2 .ms-slide .ms-slide-vpbtn:hover,
|
1094 |
+
.ms-skin-black-2 .ms-video-btn:hover{
|
1095 |
+
background-color: #3D3D3D;
|
1096 |
+
}
|
1097 |
+
|
1098 |
+
.ms-skin-black-2 .ms-slide .ms-slide-vcbtn {
|
1099 |
+
width: 25px;
|
1100 |
+
height: 25px;
|
1101 |
+
background: url(skins/black-skin-2.png) black no-repeat -27px -36px;
|
1102 |
+
border: solid 2px white;
|
1103 |
+
border-color: rgba(255, 255, 255, 0.4);
|
1104 |
+
top: 15px;
|
1105 |
+
right: 15px;
|
1106 |
+
}
|
1107 |
+
|
1108 |
+
.ms-skin-black-2.round-skin .ms-slide .ms-slide-vcbtn{
|
1109 |
+
border-radius: 50px;
|
1110 |
+
}
|
1111 |
+
|
1112 |
+
|
1113 |
+
/* controls */
|
1114 |
+
|
1115 |
+
.ms-skin-black-2 .ms-nav-next,
|
1116 |
+
.ms-skin-black-2 .ms-nav-prev {
|
1117 |
+
position: absolute;
|
1118 |
+
cursor: pointer;
|
1119 |
+
z-index: 110;
|
1120 |
+
width: 45px;
|
1121 |
+
height: 45px;
|
1122 |
+
background: url(skins/black-skin-2.png) black;
|
1123 |
+
background-clip: padding-box;
|
1124 |
+
background-position: -88px -26px;
|
1125 |
+
border: solid 3px rgb(255, 255, 255);
|
1126 |
+
border-color: rgba(255, 255, 255, 0.4);
|
1127 |
+
top: 50%;
|
1128 |
+
left: 30px;
|
1129 |
+
margin-top: -22px;
|
1130 |
+
}
|
1131 |
+
|
1132 |
+
.ms-skin-black-2.round-skin .ms-nav-next,
|
1133 |
+
.ms-skin-black-2.round-skin .ms-nav-prev,
|
1134 |
+
.ms-skin-black-2.round-skin .ms-slide .ms-slide-vpbtn,
|
1135 |
+
.ms-skin-black-2.round-skin .ms-video-btn{
|
1136 |
+
border-radius: 90px;
|
1137 |
+
}
|
1138 |
+
|
1139 |
+
.ms-skin-black-2 .ms-nav-next:hover,
|
1140 |
+
.ms-skin-black-2 .ms-nav-prev:hover{
|
1141 |
+
background-color: #3d3d3d;
|
1142 |
+
}
|
1143 |
+
|
1144 |
+
.ms-skin-black-2 .ms-nav-next {
|
1145 |
+
right: 30px;
|
1146 |
+
left: auto;
|
1147 |
+
background-position: -86px -103px;
|
1148 |
+
}
|
1149 |
+
|
1150 |
+
.ms-skin-black-2 .ms-bullets.ms-dir-h {
|
1151 |
+
position: absolute;
|
1152 |
+
bottom: 20px;
|
1153 |
+
right: 50%;
|
1154 |
+
width: 100px;
|
1155 |
+
}
|
1156 |
+
|
1157 |
+
.ms-skin-black-2 .ms-bullets.ms-dir-h .ms-bullets-count {
|
1158 |
+
position: relative;
|
1159 |
+
right: -50%;
|
1160 |
+
}
|
1161 |
+
|
1162 |
+
.ms-skin-black-2 .ms-bullet {
|
1163 |
+
width: 8px;
|
1164 |
+
height: 8px;
|
1165 |
+
background: white;
|
1166 |
+
-webkit-background-clip: padding-box;
|
1167 |
+
-moz-background-clip: padding-box;
|
1168 |
+
-ms-background-clip: padding-box;
|
1169 |
+
border: solid 3px white;
|
1170 |
+
border-color: rgba(0, 0, 0, 0.44);
|
1171 |
+
margin: 4px;
|
1172 |
+
background-position: -34px -117px;
|
1173 |
+
}
|
1174 |
+
|
1175 |
+
.ms-skin-black-2.round-skin .ms-bullet{
|
1176 |
+
border-radius: 15px;
|
1177 |
+
}
|
1178 |
+
|
1179 |
+
|
1180 |
+
.ms-skin-black-2 .ms-bullet-selected {
|
1181 |
+
background-color: black;
|
1182 |
+
border-color: white;
|
1183 |
+
border-color: rgba(255, 255, 255, 0.44);
|
1184 |
+
}
|
1185 |
+
|
1186 |
+
.ms-skin-black-2 .ms-tooltip{
|
1187 |
+
position: absolute;
|
1188 |
+
z-index: 210;
|
1189 |
+
cursor: auto;
|
1190 |
+
}
|
1191 |
+
|
1192 |
+
.ms-skin-black-2 .ms-tooltip-top .ms-tooltip-arrow,
|
1193 |
+
.ms-skin-black-2 .ms-tooltip-bottom .ms-tooltip-arrow{
|
1194 |
+
border-left: solid 10px transparent;
|
1195 |
+
border-right: solid 10px transparent;
|
1196 |
+
position: absolute;
|
1197 |
+
left: 50%;
|
1198 |
+
margin-left: -10px;
|
1199 |
+
}
|
1200 |
+
|
1201 |
+
.ms-skin-black-2 .ms-tooltip-top .ms-tooltip-arrow{
|
1202 |
+
border-top: solid 10px;
|
1203 |
+
border-top-color: silver;
|
1204 |
+
border-top-color: rgba(240, 240, 240, 0.88);
|
1205 |
+
bottom: -10px;
|
1206 |
+
}
|
1207 |
+
|
1208 |
+
.ms-skin-black-2 .ms-tooltip-bottom .ms-tooltip-arrow {
|
1209 |
+
border-bottom: solid 10px;
|
1210 |
+
border-bottom-color: silver;
|
1211 |
+
border-bottom-color: rgba(240, 240, 240, 0.88);
|
1212 |
+
top: -10px;
|
1213 |
+
}
|
1214 |
+
|
1215 |
+
.ms-skin-black-2 .ms-tooltip-right .ms-tooltip-arrow,
|
1216 |
+
.ms-skin-black-2 .ms-tooltip-left .ms-tooltip-arrow{
|
1217 |
+
border-top: solid 10px transparent;
|
1218 |
+
border-bottom: solid 10px transparent;
|
1219 |
+
position: absolute;
|
1220 |
+
top: 50%;
|
1221 |
+
margin-top: -10px;
|
1222 |
+
}
|
1223 |
+
|
1224 |
+
.ms-skin-black-2 .ms-tooltip-right .ms-tooltip-arrow{
|
1225 |
+
border-right: solid 10px;
|
1226 |
+
border-right-color: silver;
|
1227 |
+
border-right-color: rgba(240, 240, 240, 0.88);
|
1228 |
+
left: -10px;
|
1229 |
+
}
|
1230 |
+
|
1231 |
+
.ms-skin-black-2 .ms-tooltip-left .ms-tooltip-arrow {
|
1232 |
+
border-left: solid 10px;
|
1233 |
+
border-left-color: silver;
|
1234 |
+
border-left-color: rgba(240, 240, 240, 0.88);
|
1235 |
+
right: -10px;
|
1236 |
+
}
|
1237 |
+
|
1238 |
+
.ms-skin-black-2 .ms-tooltip-point {cursor: pointer;}
|
1239 |
+
.ms-skin-black-2 .ms-tooltip-point .ms-point-center {
|
1240 |
+
width: 12px;
|
1241 |
+
height: 12px;
|
1242 |
+
border-radius: 15px;
|
1243 |
+
border: solid 2px #BBB;
|
1244 |
+
background: white;
|
1245 |
+
margin: -8px 0 0 -8px;
|
1246 |
+
position: absolute;
|
1247 |
+
z-index: 105;
|
1248 |
+
}
|
1249 |
+
|
1250 |
+
.ms-skin-black-2 .ms-tooltip-point .ms-point-border {
|
1251 |
+
width: 22px;
|
1252 |
+
height: 22px;
|
1253 |
+
background: black;
|
1254 |
+
background:rgba(0, 0, 0, 0.36);
|
1255 |
+
margin: -11px 0 0 -11px;
|
1256 |
+
position: absolute;
|
1257 |
+
border-radius: 15px;
|
1258 |
+
|
1259 |
+
animation: ms-point-anim 1.5s infinite ;
|
1260 |
+
-moz-animation: ms-point-anim 1.5s infinite;
|
1261 |
+
-webkit-animation: ms-point-anim 1.5s infinite;
|
1262 |
+
-o-animation: ms-point-anim 1.5s infinite;
|
1263 |
+
}
|
1264 |
+
|
1265 |
+
.ms-ie7.ms-skin-black-2 .ms-tooltip-point .ms-point-border,
|
1266 |
+
.ms-ie8.ms-skin-black-2 .ms-tooltip-point .ms-point-border{
|
1267 |
+
display: none;
|
1268 |
+
}
|
1269 |
+
|
1270 |
+
.ms-skin-black-2 .ms-tooltip {
|
1271 |
+
max-width:200px;
|
1272 |
+
}
|
1273 |
+
|
1274 |
+
.ms-skin-black-2 .ms-tooltip-cont {
|
1275 |
+
padding: 10px;
|
1276 |
+
background: silver;
|
1277 |
+
background: rgba(240, 240, 240, 0.88);
|
1278 |
+
text-shadow: 0 1px 0px white;
|
1279 |
+
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.04);
|
1280 |
+
}
|
1281 |
+
|
1282 |
+
/* retina */
|
1283 |
+
@media
|
1284 |
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
1285 |
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
1286 |
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
1287 |
+
only screen and ( min-device-pixel-ratio: 2),
|
1288 |
+
only screen and ( min-resolution: 192dpi),
|
1289 |
+
only screen and ( min-resolution: 2dppx) {
|
1290 |
+
|
1291 |
+
.ms-skin-black-2 .ms-slide .ms-slide-vpbtn,
|
1292 |
+
.ms-skin-black-2 .ms-video-btn,
|
1293 |
+
.ms-skin-black-2 .ms-slide .ms-slide-vcbtn,
|
1294 |
+
.ms-skin-black-2 .ms-nav-next,
|
1295 |
+
.ms-skin-black-2 .ms-nav-prev{
|
1296 |
+
background-image:url(skins/black-skin-2-retina.png);
|
1297 |
+
background-size: 152px 225px;
|
1298 |
+
}
|
1299 |
+
|
1300 |
+
}
|
1301 |
+
|
1302 |
+
|
1303 |
+
|
1304 |
+
/**
|
1305 |
+
* Master Slider
|
1306 |
+
* Light 2
|
1307 |
+
*/
|
1308 |
+
|
1309 |
+
.ms-skin-light-2 .ms-slide .ms-slide-vpbtn,
|
1310 |
+
.ms-skin-light-2 .ms-video-btn{
|
1311 |
+
width: 54px;
|
1312 |
+
height: 54px;
|
1313 |
+
background: url(skins/light-skin-2.png) no-repeat -14px -150px;
|
1314 |
+
top: 50%;
|
1315 |
+
left: 50%;
|
1316 |
+
margin: -27px 0 0 -27px;
|
1317 |
+
}
|
1318 |
+
|
1319 |
+
.ms-skin-light-2 .ms-slide .ms-slide-vcbtn {
|
1320 |
+
width: 27px;
|
1321 |
+
height: 26px;
|
1322 |
+
background: url(skins/light-skin-2.png) no-repeat -24px -29px;
|
1323 |
+
top: 30px;
|
1324 |
+
right: 30px;
|
1325 |
+
}
|
1326 |
+
|
1327 |
+
/* controls */
|
1328 |
+
|
1329 |
+
.ms-skin-light-2 .ms-nav-next,
|
1330 |
+
.ms-skin-light-2 .ms-nav-prev {
|
1331 |
+
width: 53px;
|
1332 |
+
background: url(skins/light-skin-2.png);
|
1333 |
+
background-position: -79px -19px;
|
1334 |
+
height: 61px;
|
1335 |
+
cursor: pointer;
|
1336 |
+
top: 50%;
|
1337 |
+
left: 30px;
|
1338 |
+
margin-top: -26px;
|
1339 |
+
position: absolute;
|
1340 |
+
z-index: 110;
|
1341 |
+
}
|
1342 |
+
.ms-skin-light-2 .ms-nav-next {
|
1343 |
+
right: 30px;
|
1344 |
+
left: auto;
|
1345 |
+
background-position: -79px -97px;
|
1346 |
+
}
|
1347 |
+
|
1348 |
+
.ms-skin-light-2 .ms-bullets.ms-dir-h {
|
1349 |
+
position: absolute;
|
1350 |
+
bottom: 20px;
|
1351 |
+
right: 50%;
|
1352 |
+
width: 100px;
|
1353 |
+
}
|
1354 |
+
|
1355 |
+
.ms-skin-light-2 .ms-bullets.ms-dir-h .ms-bullets-count {
|
1356 |
+
position: relative;
|
1357 |
+
right: -50%;
|
1358 |
+
}
|
1359 |
+
|
1360 |
+
.ms-skin-light-2 .ms-bullet {
|
1361 |
+
width: 9px;
|
1362 |
+
height: 9px;
|
1363 |
+
background: black;
|
1364 |
+
margin: 4px;
|
1365 |
+
border: solid 1px rgb(58, 58, 58);
|
1366 |
+
}
|
1367 |
+
|
1368 |
+
.ms-skin-light-2 .ms-bullet-selected {
|
1369 |
+
background-color: white;
|
1370 |
+
}
|
1371 |
+
|
1372 |
+
.ms-skin-light-2 .ms-tooltip{
|
1373 |
+
position: absolute;
|
1374 |
+
z-index: 210;
|
1375 |
+
cursor: auto;
|
1376 |
+
}
|
1377 |
+
|
1378 |
+
.ms-skin-light-2 .ms-tooltip-top .ms-tooltip-arrow,
|
1379 |
+
.ms-skin-light-2 .ms-tooltip-bottom .ms-tooltip-arrow{
|
1380 |
+
border-left: solid 10px transparent;
|
1381 |
+
border-right: solid 10px transparent;
|
1382 |
+
position: absolute;
|
1383 |
+
left: 50%;
|
1384 |
+
margin-left: -10px;
|
1385 |
+
}
|
1386 |
+
|
1387 |
+
.ms-skin-light-2 .ms-tooltip-top .ms-tooltip-arrow{
|
1388 |
+
border-top: solid 10px;
|
1389 |
+
border-top-color: silver;
|
1390 |
+
border-top-color: rgba(240, 240, 240, 0.88);
|
1391 |
+
bottom: -10px;
|
1392 |
+
}
|
1393 |
+
|
1394 |
+
.ms-skin-light-2 .ms-tooltip-bottom .ms-tooltip-arrow {
|
1395 |
+
border-bottom: solid 10px;
|
1396 |
+
border-bottom-color: silver;
|
1397 |
+
border-bottom-color: rgba(240, 240, 240, 0.88);
|
1398 |
+
top: -10px;
|
1399 |
+
}
|
1400 |
+
|
1401 |
+
.ms-skin-light-2 .ms-tooltip-right .ms-tooltip-arrow,
|
1402 |
+
.ms-skin-light-2 .ms-tooltip-left .ms-tooltip-arrow{
|
1403 |
+
border-top: solid 10px transparent;
|
1404 |
+
border-bottom: solid 10px transparent;
|
1405 |
+
position: absolute;
|
1406 |
+
top: 50%;
|
1407 |
+
margin-top: -10px;
|
1408 |
+
}
|
1409 |
+
|
1410 |
+
.ms-skin-light-2 .ms-tooltip-right .ms-tooltip-arrow{
|
1411 |
+
border-right: solid 10px;
|
1412 |
+
border-right-color: silver;
|
1413 |
+
border-right-color: rgba(240, 240, 240, 0.88);
|
1414 |
+
left: -10px;
|
1415 |
+
}
|
1416 |
+
|
1417 |
+
.ms-skin-light-2 .ms-tooltip-left .ms-tooltip-arrow {
|
1418 |
+
border-left: solid 10px;
|
1419 |
+
border-left-color: silver;
|
1420 |
+
border-left-color: rgba(240, 240, 240, 0.88);
|
1421 |
+
right: -10px;
|
1422 |
+
}
|
1423 |
+
|
1424 |
+
.ms-skin-light-2 .ms-tooltip-point {cursor: pointer;}
|
1425 |
+
.ms-skin-light-2 .ms-tooltip-point .ms-point-center {
|
1426 |
+
width: 12px;
|
1427 |
+
height: 12px;
|
1428 |
+
border-radius: 15px;
|
1429 |
+
border: solid 2px #BBB;
|
1430 |
+
background: white;
|
1431 |
+
margin: -8px 0 0 -8px;
|
1432 |
+
position: absolute;
|
1433 |
+
z-index: 105;
|
1434 |
+
}
|
1435 |
+
|
1436 |
+
.ms-skin-light-2 .ms-tooltip-point .ms-point-border {
|
1437 |
+
width: 22px;
|
1438 |
+
height: 22px;
|
1439 |
+
background: black;
|
1440 |
+
background:rgba(0, 0, 0, 0.36);
|
1441 |
+
margin: -11px 0 0 -11px;
|
1442 |
+
position: absolute;
|
1443 |
+
border-radius: 15px;
|
1444 |
+
|
1445 |
+
animation: ms-point-anim 1.5s infinite ;
|
1446 |
+
-moz-animation: ms-point-anim 1.5s infinite;
|
1447 |
+
-webkit-animation: ms-point-anim 1.5s infinite;
|
1448 |
+
-o-animation: ms-point-anim 1.5s infinite;
|
1449 |
+
}
|
1450 |
+
|
1451 |
+
.ms-skin-light-2 .ms-tooltip {
|
1452 |
+
max-width:200px;
|
1453 |
+
}
|
1454 |
+
|
1455 |
+
.ms-skin-light-2 .ms-tooltip-cont {
|
1456 |
+
padding: 10px;
|
1457 |
+
background: silver;
|
1458 |
+
background: rgba(240, 240, 240, 0.88);
|
1459 |
+
text-shadow: 0 1px 0px white;
|
1460 |
+
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.04);
|
1461 |
+
}
|
1462 |
+
|
1463 |
+
/* retina */
|
1464 |
+
@media
|
1465 |
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
1466 |
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
1467 |
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
1468 |
+
only screen and ( min-device-pixel-ratio: 2),
|
1469 |
+
only screen and ( min-resolution: 192dpi),
|
1470 |
+
only screen and ( min-resolution: 2dppx) {
|
1471 |
+
|
1472 |
+
.ms-skin-light-2 .ms-slide .ms-slide-vpbtn,
|
1473 |
+
.ms-skin-light-2 .ms-video-btn,
|
1474 |
+
.ms-skin-light-2 .ms-slide .ms-slide-vcbtn,
|
1475 |
+
.ms-skin-light-2 .ms-nav-next,
|
1476 |
+
.ms-skin-light-2 .ms-nav-prev{
|
1477 |
+
background-image:url(skins/light-skin-2-retina.png);
|
1478 |
+
background-size: 152px 225px;
|
1479 |
+
}
|
1480 |
+
|
1481 |
+
}
|
1482 |
+
|
1483 |
+
|
1484 |
+
|
1485 |
+
/**
|
1486 |
+
* Master Slider
|
1487 |
+
* Light 3
|
1488 |
+
*/
|
1489 |
+
|
1490 |
+
.ms-skin-light-3 .ms-slide .ms-slide-vpbtn,
|
1491 |
+
.ms-skin-light-3 .ms-video-btn{
|
1492 |
+
width: 50px;
|
1493 |
+
height: 50px;
|
1494 |
+
background: url(skins/light-skin-3.png) no-repeat -15px -149px;
|
1495 |
+
top: 50%;
|
1496 |
+
left: 50%;
|
1497 |
+
margin: -25px 0 0 -25px;
|
1498 |
+
}
|
1499 |
+
|
1500 |
+
.ms-skin-light-3 .ms-slide .ms-slide-vcbtn {
|
1501 |
+
width: 31px;
|
1502 |
+
height: 29px;
|
1503 |
+
background: url(skins/light-skin-3.png) no-repeat -26px -28px;
|
1504 |
+
top: 30px;
|
1505 |
+
right: 30px;
|
1506 |
+
}
|
1507 |
+
|
1508 |
+
/* controls */
|
1509 |
+
|
1510 |
+
.ms-skin-light-3 .ms-nav-next,
|
1511 |
+
.ms-skin-light-3 .ms-nav-prev {
|
1512 |
+
width: 50px;
|
1513 |
+
background: url(skins/light-skin-3.png);
|
1514 |
+
background-position: -82px -22px;
|
1515 |
+
height: 50px;
|
1516 |
+
cursor: pointer;
|
1517 |
+
top: 50%;
|
1518 |
+
left: 30px;
|
1519 |
+
margin-top: -25px;
|
1520 |
+
position: absolute;
|
1521 |
+
z-index: 110;
|
1522 |
+
}
|
1523 |
+
.ms-skin-light-3 .ms-nav-next {
|
1524 |
+
right: 30px;
|
1525 |
+
left: auto;
|
1526 |
+
background-position: -81px -99px;
|
1527 |
+
}
|
1528 |
+
|
1529 |
+
.ms-skin-light-3 .ms-bullets.ms-dir-h {
|
1530 |
+
position: absolute;
|
1531 |
+
bottom: 20px;
|
1532 |
+
right: 50%;
|
1533 |
+
width: 100px;
|
1534 |
+
}
|
1535 |
+
|
1536 |
+
.ms-skin-light-3 .ms-bullets.ms-dir-h .ms-bullets-count {
|
1537 |
+
position: relative;
|
1538 |
+
right: -50%;
|
1539 |
+
}
|
1540 |
+
|
1541 |
+
.ms-skin-light-3 .ms-bullet {
|
1542 |
+
width: 16px;
|
1543 |
+
height: 16px;
|
1544 |
+
background: url(skins/light-skin-3.png) no-repeat;
|
1545 |
+
background-position: -31px -114px;
|
1546 |
+
margin: 4px;
|
1547 |
+
}
|
1548 |
+
|
1549 |
+
.ms-skin-light-3 .ms-bullet-selected {
|
1550 |
+
background-position: -31px -81px;
|
1551 |
+
}
|
1552 |
+
|
1553 |
+
.ms-skin-light-3 .ms-tooltip{
|
1554 |
+
position: absolute;
|
1555 |
+
z-index: 210;
|
1556 |
+
cursor: auto;
|
1557 |
+
}
|
1558 |
+
|
1559 |
+
.ms-skin-light-3 .ms-tooltip-top .ms-tooltip-arrow,
|
1560 |
+
.ms-skin-light-3 .ms-tooltip-bottom .ms-tooltip-arrow{
|
1561 |
+
border-left: solid 10px transparent;
|
1562 |
+
border-right: solid 10px transparent;
|
1563 |
+
position: absolute;
|
1564 |
+
left: 50%;
|
1565 |
+
margin-left: -10px;
|
1566 |
+
}
|
1567 |
+
|
1568 |
+
.ms-skin-light-3 .ms-tooltip-top .ms-tooltip-arrow{
|
1569 |
+
border-top: solid 10px;
|
1570 |
+
border-top-color: silver;
|
1571 |
+
border-top-color: rgba(240, 240, 240, 0.88);
|
1572 |
+
bottom: -10px;
|
1573 |
+
}
|
1574 |
+
|
1575 |
+
.ms-skin-light-3 .ms-tooltip-bottom .ms-tooltip-arrow {
|
1576 |
+
border-bottom: solid 10px;
|
1577 |
+
border-bottom-color: silver;
|
1578 |
+
border-bottom-color: rgba(240, 240, 240, 0.88);
|
1579 |
+
top: -10px;
|
1580 |
+
}
|
1581 |
+
|
1582 |
+
.ms-skin-light-3 .ms-tooltip-right .ms-tooltip-arrow,
|
1583 |
+
.ms-skin-light-3 .ms-tooltip-left .ms-tooltip-arrow{
|
1584 |
+
border-top: solid 10px transparent;
|
1585 |
+
border-bottom: solid 10px transparent;
|
1586 |
+
position: absolute;
|
1587 |
+
top: 50%;
|
1588 |
+
margin-top: -10px;
|
1589 |
+
}
|
1590 |
+
|
1591 |
+
.ms-skin-light-3 .ms-tooltip-right .ms-tooltip-arrow{
|
1592 |
+
border-right: solid 10px;
|
1593 |
+
border-right-color: silver;
|
1594 |
+
border-right-color: rgba(240, 240, 240, 0.88);
|
1595 |
+
left: -10px;
|
1596 |
+
}
|
1597 |
+
|
1598 |
+
.ms-skin-light-3 .ms-tooltip-left .ms-tooltip-arrow {
|
1599 |
+
border-left: solid 10px;
|
1600 |
+
border-left-color: silver;
|
1601 |
+
border-left-color: rgba(240, 240, 240, 0.88);
|
1602 |
+
right: -10px;
|
1603 |
+
}
|
1604 |
+
|
1605 |
+
.ms-skin-light-3 .ms-tooltip-point {cursor: pointer;}
|
1606 |
+
.ms-skin-light-3 .ms-tooltip-point .ms-point-center {
|
1607 |
+
width: 12px;
|
1608 |
+
height: 12px;
|
1609 |
+
border-radius: 15px;
|
1610 |
+
border: solid 2px #BBB;
|
1611 |
+
background: white;
|
1612 |
+
margin: -8px 0 0 -8px;
|
1613 |
+
position: absolute;
|
1614 |
+
z-index: 105;
|
1615 |
+
}
|
1616 |
+
|
1617 |
+
.ms-skin-light-3 .ms-tooltip-point .ms-point-border {
|
1618 |
+
width: 22px;
|
1619 |
+
height: 22px;
|
1620 |
+
background: black;
|
1621 |
+
background:rgba(0, 0, 0, 0.36);
|
1622 |
+
margin: -11px 0 0 -11px;
|
1623 |
+
position: absolute;
|
1624 |
+
border-radius: 15px;
|
1625 |
+
|
1626 |
+
animation: ms-point-anim 1.5s infinite ;
|
1627 |
+
-moz-animation: ms-point-anim 1.5s infinite;
|
1628 |
+
-webkit-animation: ms-point-anim 1.5s infinite;
|
1629 |
+
-o-animation: ms-point-anim 1.5s infinite;
|
1630 |
+
}
|
1631 |
+
|
1632 |
+
.ms-skin-light-3 .ms-tooltip {
|
1633 |
+
max-width:200px;
|
1634 |
+
}
|
1635 |
+
|
1636 |
+
.ms-skin-light-3 .ms-tooltip-cont {
|
1637 |
+
padding: 10px;
|
1638 |
+
background: silver;
|
1639 |
+
background: rgba(240, 240, 240, 0.88);
|
1640 |
+
text-shadow: 0 1px 0px white;
|
1641 |
+
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.04);
|
1642 |
+
}
|
1643 |
+
|
1644 |
+
/* retina */
|
1645 |
+
@media
|
1646 |
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
1647 |
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
1648 |
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
1649 |
+
only screen and ( min-device-pixel-ratio: 2),
|
1650 |
+
only screen and ( min-resolution: 192dpi),
|
1651 |
+
only screen and ( min-resolution: 2dppx) {
|
1652 |
+
|
1653 |
+
.ms-skin-light-3 .ms-slide .ms-slide-vpbtn,
|
1654 |
+
.ms-skin-light-3 .ms-video-btn,
|
1655 |
+
.ms-skin-light-3 .ms-slide .ms-slide-vcbtn,
|
1656 |
+
.ms-skin-light-3 .ms-nav-next,
|
1657 |
+
.ms-skin-light-3 .ms-nav-prev,
|
1658 |
+
.ms-skin-light-3 .ms-bullet{
|
1659 |
+
background-image:url(skins/light-skin-3-retina.png);
|
1660 |
+
background-size: 152px 225px;
|
1661 |
+
}
|
1662 |
+
|
1663 |
+
}
|
1664 |
+
|
1665 |
+
|
1666 |
+
|
1667 |
+
/**
|
1668 |
+
* Master Slider
|
1669 |
+
* Light 4
|
1670 |
+
*/
|
1671 |
+
|
1672 |
+
.ms-skin-light-4 .ms-slide .ms-slide-vpbtn,
|
1673 |
+
.ms-skin-light-4 .ms-video-btn{
|
1674 |
+
width: 54px;
|
1675 |
+
height: 54px;
|
1676 |
+
background: url(skins/light-skin-4.png) no-repeat -14px -150px;
|
1677 |
+
top: 50%;
|
1678 |
+
left: 50%;
|
1679 |
+
margin: -27px 0 0 -27px;
|
1680 |
+
}
|
1681 |
+
|
1682 |
+
.ms-skin-light-4 .ms-slide .ms-slide-vcbtn {
|
1683 |
+
width: 27px;
|
1684 |
+
height: 26px;
|
1685 |
+
background: url(skins/light-skin-4.png) no-repeat -24px -29px;
|
1686 |
+
top: 30px;
|
1687 |
+
right: 30px;
|
1688 |
+
}
|
1689 |
+
|
1690 |
+
/* controls */
|
1691 |
+
|
1692 |
+
.ms-skin-light-4 .ms-nav-next,
|
1693 |
+
.ms-skin-light-4 .ms-nav-prev {
|
1694 |
+
width: 54px;
|
1695 |
+
background: url(skins/light-skin-4.png);
|
1696 |
+
background-position: -77px -5px;
|
1697 |
+
height: 68px;
|
1698 |
+
cursor: pointer;
|
1699 |
+
top: 50%;
|
1700 |
+
left: -27px;
|
1701 |
+
margin-top: -40px;
|
1702 |
+
position: absolute;
|
1703 |
+
z-index: 110;
|
1704 |
+
}
|
1705 |
+
.ms-skin-light-4 .ms-nav-next {
|
1706 |
+
right: -27px;
|
1707 |
+
left: auto;
|
1708 |
+
background-position: -79px -83px;
|
1709 |
+
}
|
1710 |
+
|
1711 |
+
.ms-skin-light-4 .ms-thumb-frame-selected {
|
1712 |
+
opacity: 0.6;
|
1713 |
+
}
|
1714 |
+
|
1715 |
+
.ms-skin-light-4 .ms-thumb-list.ms-dir-h {
|
1716 |
+
bottom: -60px;
|
1717 |
+
width: 100%;
|
1718 |
+
height: 60px;
|
1719 |
+
}
|
1720 |
+
|
1721 |
+
.ms-skin-light-4 .ms-thumb-list.ms-dir-v {
|
1722 |
+
height: 100%;
|
1723 |
+
width: 60px;
|
1724 |
+
right: -60px;
|
1725 |
+
top: 0;
|
1726 |
+
}
|
1727 |
+
|
1728 |
+
.ms-skin-light-4 .ms-thumb-frame {
|
1729 |
+
cursor: pointer;
|
1730 |
+
float: left;
|
1731 |
+
width: 60px;
|
1732 |
+
height: 60px;
|
1733 |
+
margin: 1px 0 0 1px;
|
1734 |
+
overflow: hidden;
|
1735 |
+
}
|
1736 |
+
|
1737 |
+
.ms-skin-light-4 .ms-bullets.ms-dir-h {
|
1738 |
+
position: absolute;
|
1739 |
+
bottom: 20px;
|
1740 |
+
right: 50%;
|
1741 |
+
width: 100px;
|
1742 |
+
}
|
1743 |
+
|
1744 |
+
.ms-skin-light-4 .ms-bullets.ms-dir-h .ms-bullets-count {
|
1745 |
+
position: relative;
|
1746 |
+
right: -50%;
|
1747 |
+
}
|
1748 |
+
|
1749 |
+
.ms-skin-light-4 .ms-bullet {
|
1750 |
+
width: 9px;
|
1751 |
+
height: 9px;
|
1752 |
+
background: #b9b9b9;
|
1753 |
+
margin: 4px;
|
1754 |
+
border: solid 1px rgb(163, 163, 163);
|
1755 |
+
}
|
1756 |
+
|
1757 |
+
.ms-skin-light-4 .ms-bullet-selected {
|
1758 |
+
background-color: white;
|
1759 |
+
}
|
1760 |
+
|
1761 |
+
.ms-skin-light-4 .ms-tooltip{
|
1762 |
+
position: absolute;
|
1763 |
+
z-index: 210;
|
1764 |
+
cursor: auto;
|
1765 |
+
}
|
1766 |
+
|
1767 |
+
.ms-skin-light-4 .ms-tooltip-top .ms-tooltip-arrow,
|
1768 |
+
.ms-skin-light-4 .ms-tooltip-bottom .ms-tooltip-arrow{
|
1769 |
+
border-left: solid 10px transparent;
|
1770 |
+
border-right: solid 10px transparent;
|
1771 |
+
position: absolute;
|
1772 |
+
left: 50%;
|
1773 |
+
margin-left: -10px;
|
1774 |
+
}
|
1775 |
+
|
1776 |
+
.ms-skin-light-4 .ms-tooltip-top .ms-tooltip-arrow{
|
1777 |
+
border-top: solid 10px;
|
1778 |
+
border-top-color: silver;
|
1779 |
+
border-top-color: rgba(240, 240, 240, 0.88);
|
1780 |
+
bottom: -10px;
|
1781 |
+
}
|
1782 |
+
|
1783 |
+
.ms-skin-light-4 .ms-tooltip-bottom .ms-tooltip-arrow {
|
1784 |
+
border-bottom: solid 10px;
|
1785 |
+
border-bottom-color: silver;
|
1786 |
+
border-bottom-color: rgba(240, 240, 240, 0.88);
|
1787 |
+
top: -10px;
|
1788 |
+
}
|
1789 |
+
|
1790 |
+
.ms-skin-light-4 .ms-tooltip-right .ms-tooltip-arrow,
|
1791 |
+
.ms-skin-light-4 .ms-tooltip-left .ms-tooltip-arrow{
|
1792 |
+
border-top: solid 10px transparent;
|
1793 |
+
border-bottom: solid 10px transparent;
|
1794 |
+
position: absolute;
|
1795 |
+
top: 50%;
|
1796 |
+
margin-top: -10px;
|
1797 |
+
}
|
1798 |
+
|
1799 |
+
.ms-skin-light-4 .ms-tooltip-right .ms-tooltip-arrow{
|
1800 |
+
border-right: solid 10px;
|
1801 |
+
border-right-color: silver;
|
1802 |
+
border-right-color: rgba(240, 240, 240, 0.88);
|
1803 |
+
left: -10px;
|
1804 |
+
}
|
1805 |
+
|
1806 |
+
.ms-skin-light-4 .ms-tooltip-left .ms-tooltip-arrow {
|
1807 |
+
border-left: solid 10px;
|
1808 |
+
border-left-color: white;
|
1809 |
+
border-left-color: rgba(240, 240, 240, 0.88);
|
1810 |
+
right: -10px;
|
1811 |
+
}
|
1812 |
+
|
1813 |
+
.ms-skin-light-4 .ms-tooltip-point {cursor: pointer;}
|
1814 |
+
.ms-skin-light-4 .ms-tooltip-point .ms-point-center {
|
1815 |
+
width: 12px;
|
1816 |
+
height: 12px;
|
1817 |
+
border-radius: 15px;
|
1818 |
+
border: solid 2px #E0E0E0;
|
1819 |
+
background: #4b8aac;
|
1820 |
+
margin: -8px 0 0 -8px;
|
1821 |
+
position: absolute;
|
1822 |
+
z-index: 105;
|
1823 |
+
}
|
1824 |
+
|
1825 |
+
.ms-skin-light-4 .ms-tooltip-point .ms-point-border {
|
1826 |
+
width: 22px;
|
1827 |
+
height: 22px;
|
1828 |
+
background: white;
|
1829 |
+
margin: -11px 0 0 -11px;
|
1830 |
+
position: absolute;
|
1831 |
+
border-radius: 15px;
|
1832 |
+
|
1833 |
+
animation: ms-point-anim 1.5s infinite ;
|
1834 |
+
-moz-animation: ms-point-anim 1.5s infinite;
|
1835 |
+
-webkit-animation: ms-point-anim 1.5s infinite;
|
1836 |
+
-o-animation: ms-point-anim 1.5s infinite;
|
1837 |
+
}
|
1838 |
+
|
1839 |
+
|
1840 |
+
.ms-skin-light-4 .ms-tooltip {
|
1841 |
+
max-width:200px;
|
1842 |
+
}
|
1843 |
+
|
1844 |
+
.ms-skin-light-4 .ms-tooltip-cont {
|
1845 |
+
padding: 10px;
|
1846 |
+
background: silver;
|
1847 |
+
background: rgba(240, 240, 240, 0.88);
|
1848 |
+
text-shadow: 0 1px 0px white;
|
1849 |
+
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.04);
|
1850 |
+
}
|
1851 |
+
|
1852 |
+
/* retina */
|
1853 |
+
@media
|
1854 |
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
1855 |
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
1856 |
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
1857 |
+
only screen and ( min-device-pixel-ratio: 2),
|
1858 |
+
only screen and ( min-resolution: 192dpi),
|
1859 |
+
only screen and ( min-resolution: 2dppx) {
|
1860 |
+
|
1861 |
+
.ms-skin-light-4 .ms-slide .ms-slide-vpbtn,
|
1862 |
+
.ms-skin-light-4 .ms-video-btn,
|
1863 |
+
.ms-skin-light-4 .ms-slide .ms-slide-vcbtn,
|
1864 |
+
.ms-skin-light-4 .ms-nav-next,
|
1865 |
+
.ms-skin-light-4 .ms-nav-prev{
|
1866 |
+
background-image:url(skins/light-skin-4-retina.png);
|
1867 |
+
background-size: 152px 225px;
|
1868 |
+
}
|
1869 |
+
|
1870 |
+
}
|
1871 |
+
|
1872 |
+
|
1873 |
+
|
1874 |
+
/**
|
1875 |
+
* Master Slider
|
1876 |
+
* Light 5
|
1877 |
+
*/
|
1878 |
+
|
1879 |
+
.ms-skin-light-5 .ms-slide .ms-slide-vpbtn,
|
1880 |
+
.ms-skin-light-5 .ms-video-btn{
|
1881 |
+
width: 32px;
|
1882 |
+
height: 32px;
|
1883 |
+
background: url(skins/light-skin-5.png) black no-repeat -24px -160px;
|
1884 |
+
top: 50%;
|
1885 |
+
left: 50%;
|
1886 |
+
margin: -18px 0 0 -18px;
|
1887 |
+
}
|
1888 |
+
|
1889 |
+
.ms-skin-light-5 .ms-slide .ms-slide-vpbtn:hover,
|
1890 |
+
.ms-skin-light-5 .ms-video-btn:hover{
|
1891 |
+
background-color:#646464;
|
1892 |
+
}
|
1893 |
+
|
1894 |
+
.ms-skin-light-5 .ms-slide .ms-slide-vcbtn {
|
1895 |
+
width: 30px;
|
1896 |
+
height: 30px;
|
1897 |
+
background: url(skins/light-skin-5.png) white no-repeat -24px -28px;
|
1898 |
+
top: 18px;
|
1899 |
+
right: 30px;
|
1900 |
+
}
|
1901 |
+
|
1902 |
+
/* controls */
|
1903 |
+
|
1904 |
+
.ms-skin-light-5 .ms-nav-next,
|
1905 |
+
.ms-skin-light-5 .ms-nav-prev {
|
1906 |
+
width: 32px;
|
1907 |
+
background: url(skins/light-skin-5.png) white;
|
1908 |
+
background-position: -94px -32px;
|
1909 |
+
height: 32px;
|
1910 |
+
cursor: pointer;
|
1911 |
+
bottom: 40px;
|
1912 |
+
left: 40px;
|
1913 |
+
margin-top: -20px;
|
1914 |
+
position: absolute;
|
1915 |
+
z-index: 110;
|
1916 |
+
}
|
1917 |
+
|
1918 |
+
.ms-skin-light-5 .ms-nav-next:hover,
|
1919 |
+
.ms-skin-light-5 .ms-nav-prev:hover{
|
1920 |
+
background-color:#E0E0E0;
|
1921 |
+
}
|
1922 |
+
|
1923 |
+
.ms-skin-light-5 .ms-nav-next {
|
1924 |
+
left: 73px;
|
1925 |
+
background-position: -93px -110px;
|
1926 |
+
}
|
1927 |
+
|
1928 |
+
.ms-skin-light-5 .ms-bullets.ms-dir-h {
|
1929 |
+
position: absolute;
|
1930 |
+
bottom: 20px;
|
1931 |
+
right: 50%;
|
1932 |
+
width: 100px;
|
1933 |
+
}
|
1934 |
+
|
1935 |
+
.ms-skin-light-5 .ms-bullets.ms-dir-h .ms-bullets-count {
|
1936 |
+
position: relative;
|
1937 |
+
right: -50%;
|
1938 |
+
}
|
1939 |
+
|
1940 |
+
.ms-skin-light-5 .ms-bullet {
|
1941 |
+
width: 10px;
|
1942 |
+
height: 10px;
|
1943 |
+
background: url(skins/light-skin-5.png) no-repeat;
|
1944 |
+
margin: 4px;
|
1945 |
+
background-position: -34px -117px;
|
1946 |
+
}
|
1947 |
+
|
1948 |
+
.ms-skin-light-5 .ms-bullet-selected {
|
1949 |
+
background-position: -34px -84px;
|
1950 |
+
}
|
1951 |
+
|
1952 |
+
.ms-skin-light-5 .ms-tooltip{
|
1953 |
+
position: absolute;
|
1954 |
+
z-index: 210;
|
1955 |
+
cursor: auto;
|
1956 |
+
}
|
1957 |
+
|
1958 |
+
.ms-skin-light-5 .ms-tooltip-top .ms-tooltip-arrow,
|
1959 |
+
.ms-skin-light-5 .ms-tooltip-bottom .ms-tooltip-arrow{
|
1960 |
+
border-left: solid 10px transparent;
|
1961 |
+
border-right: solid 10px transparent;
|
1962 |
+
position: absolute;
|
1963 |
+
left: 50%;
|
1964 |
+
margin-left: -10px;
|
1965 |
+
}
|
1966 |
+
|
1967 |
+
.ms-skin-light-5 .ms-tooltip-top .ms-tooltip-arrow{
|
1968 |
+
border-top: solid 10px;
|
1969 |
+
border-top-color: silver;
|
1970 |
+
border-top-color: rgba(240, 240, 240, 0.88);
|
1971 |
+
bottom: -10px;
|
1972 |
+
}
|
1973 |
+
|
1974 |
+
.ms-skin-light-5 .ms-tooltip-bottom .ms-tooltip-arrow {
|
1975 |
+
border-bottom: solid 10px;
|
1976 |
+
border-bottom-color: silver;
|
1977 |
+
border-bottom-color: rgba(240, 240, 240, 0.88);
|
1978 |
+
top: -10px;
|
1979 |
+
}
|
1980 |
+
|
1981 |
+
.ms-skin-light-5 .ms-tooltip-right .ms-tooltip-arrow,
|
1982 |
+
.ms-skin-light-5 .ms-tooltip-left .ms-tooltip-arrow{
|
1983 |
+
border-top: solid 10px transparent;
|
1984 |
+
border-bottom: solid 10px transparent;
|
1985 |
+
position: absolute;
|
1986 |
+
top: 50%;
|
1987 |
+
margin-top: -10px;
|
1988 |
+
}
|
1989 |
+
|
1990 |
+
.ms-skin-light-5 .ms-tooltip-right .ms-tooltip-arrow{
|
1991 |
+
border-right: solid 10px;
|
1992 |
+
border-right-color: silver;
|
1993 |
+
border-right-color: rgba(240, 240, 240, 0.88);
|
1994 |
+
left: -10px;
|
1995 |
+
}
|
1996 |
+
|
1997 |
+
.ms-skin-light-5 .ms-tooltip-left .ms-tooltip-arrow {
|
1998 |
+
border-left: solid 10px;
|
1999 |
+
border-left-color: silver;
|
2000 |
+
border-left-color: rgba(240, 240, 240, 0.88);
|
2001 |
+
right: -10px;
|
2002 |
+
}
|
2003 |
+
|
2004 |
+
.ms-skin-light-5 .ms-tooltip-point {cursor: pointer;}
|
2005 |
+
.ms-skin-light-5 .ms-tooltip-point .ms-point-center {
|
2006 |
+
width: 12px;
|
2007 |
+
height: 12px;
|
2008 |
+
border-radius: 15px;
|
2009 |
+
border: solid 2px #BBB;
|
2010 |
+
background: white;
|
2011 |
+
margin: -8px 0 0 -8px;
|
2012 |
+
position: absolute;
|
2013 |
+
z-index: 105;
|
2014 |
+
}
|
2015 |
+
|
2016 |
+
.ms-skin-light-5 .ms-tooltip-point .ms-point-border {
|
2017 |
+
width: 22px;
|
2018 |
+
height: 22px;
|
2019 |
+
background: black;
|
2020 |
+
background:rgba(0, 0, 0, 0.36);
|
2021 |
+
margin: -11px 0 0 -11px;
|
2022 |
+
position: absolute;
|
2023 |
+
border-radius: 15px;
|
2024 |
+
|
2025 |
+
animation: ms-point-anim 1.5s infinite ;
|
2026 |
+
-moz-animation: ms-point-anim 1.5s infinite;
|
2027 |
+
-webkit-animation: ms-point-anim 1.5s infinite;
|
2028 |
+
-o-animation: ms-point-anim 1.5s infinite;
|
2029 |
+
}
|
2030 |
+
|
2031 |
+
/* In Android browser, using css animations over slider causes some crashes */
|
2032 |
+
.ms-android.ms-skin-light-5 .ms-tooltip-point .ms-point-border{
|
2033 |
+
animation:none;
|
2034 |
+
-moz-animation:none;
|
2035 |
+
-webkit-animation:none;
|
2036 |
+
-o-animation:none;
|
2037 |
+
}
|
2038 |
+
|
2039 |
+
.ms-ie7.ms-skin-light-5 .ms-tooltip-point .ms-point-border,
|
2040 |
+
.ms-ie8.ms-skin-light-5 .ms-tooltip-point .ms-point-border{
|
2041 |
+
display: none;
|
2042 |
+
}
|
2043 |
+
|
2044 |
+
.ms-skin-light-5 .ms-tooltip {
|
2045 |
+
max-width:200px;
|
2046 |
+
}
|
2047 |
+
|
2048 |
+
.ms-skin-light-5 .ms-tooltip-cont {
|
2049 |
+
padding: 10px;
|
2050 |
+
background: silver;
|
2051 |
+
background: rgba(240, 240, 240, 0.88);
|
2052 |
+
text-shadow: 0 1px 0px white;
|
2053 |
+
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.04);
|
2054 |
+
}
|
2055 |
+
|
2056 |
+
/* retina */
|
2057 |
+
@media
|
2058 |
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
2059 |
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
2060 |
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
2061 |
+
only screen and ( min-device-pixel-ratio: 2),
|
2062 |
+
only screen and ( min-resolution: 192dpi),
|
2063 |
+
only screen and ( min-resolution: 2dppx) {
|
2064 |
+
|
2065 |
+
.ms-skin-light-5 .ms-slide .ms-slide-vpbtn,
|
2066 |
+
.ms-skin-light-5 .ms-video-btn,
|
2067 |
+
.ms-skin-light-5 .ms-slide .ms-slide-vcbtn,
|
2068 |
+
.ms-skin-light-5 .ms-nav-next,
|
2069 |
+
.ms-skin-light-5 .ms-nav-prev{
|
2070 |
+
background-image:url(skins/light-skin-5-retina.png);
|
2071 |
+
background-size: 152px 225px;
|
2072 |
+
}
|
2073 |
+
|
2074 |
+
}
|
2075 |
+
|
2076 |
+
|
2077 |
+
|
2078 |
+
/**
|
2079 |
+
* Master Slider
|
2080 |
+
* Light-6 Skin
|
2081 |
+
*/
|
2082 |
+
|
2083 |
+
.ms-skin-light-6 .ms-slide .ms-slide-vpbtn,
|
2084 |
+
.ms-skin-light-6 .ms-video-btn{
|
2085 |
+
width: 45px;
|
2086 |
+
height: 45px;
|
2087 |
+
background: url(skins/light-skin-6.png) white no-repeat -16px -103px;
|
2088 |
+
border: solid 3px rgb(112, 112, 112); border-color: rgba(0, 0, 0, 0.27);
|
2089 |
+
-webkit-background-clip: padding-box;
|
2090 |
+
top: 50%;
|
2091 |
+
left: 50%;
|
2092 |
+
margin: -23px 0 0 -23px;
|
2093 |
+
}
|
2094 |
+
|
2095 |
+
.ms-skin-light-6 .ms-slide .ms-slide-vpbtn:hover,
|
2096 |
+
.ms-skin-light-6 .ms-video-btn:hover{
|
2097 |
+
background-color:#E0E0E0;
|
2098 |
+
}
|
2099 |
+
|
2100 |
+
.ms-skin-light-6 .ms-slide .ms-slide-vcbtn {
|
2101 |
+
width: 25px;
|
2102 |
+
height: 25px;
|
2103 |
+
background: url(skins/light-skin-6.png) white no-repeat -27px -36px;
|
2104 |
+
top: 15px;
|
2105 |
+
right: 15px;
|
2106 |
+
}
|
2107 |
+
|
2108 |
+
.ms-skin-light-6.round-skin .ms-slide .ms-slide-vcbtn{
|
2109 |
+
border-radius: 30px;
|
2110 |
+
}
|
2111 |
+
|
2112 |
+
|
2113 |
+
/* controls */
|
2114 |
+
|
2115 |
+
.ms-skin-light-6 .ms-nav-next,
|
2116 |
+
.ms-skin-light-6 .ms-nav-prev {
|
2117 |
+
position: absolute;
|
2118 |
+
cursor: pointer;
|
2119 |
+
z-index: 110;
|
2120 |
+
width: 45px;
|
2121 |
+
height: 45px;
|
2122 |
+
background: url(skins/light-skin-6.png) white;
|
2123 |
+
background-clip: padding-box;
|
2124 |
+
background-position: -88px -26px;
|
2125 |
+
border: solid 3px rgb(112, 112, 112);
|
2126 |
+
border-color: rgba(0, 0, 0, 0.27);
|
2127 |
+
top: 50%;
|
2128 |
+
left: 30px;
|
2129 |
+
margin-top: -22px;
|
2130 |
+
}
|
2131 |
+
|
2132 |
+
.ms-skin-light-6.round-skin .ms-nav-next,
|
2133 |
+
.ms-skin-light-6.round-skin .ms-nav-prev,
|
2134 |
+
.ms-skin-light-6.round-skin .ms-slide .ms-slide-vpbtn,
|
2135 |
+
.ms-skin-light-6.round-skin .ms-video-btn{
|
2136 |
+
border-radius: 90px;
|
2137 |
+
}
|
2138 |
+
|
2139 |
+
.ms-skin-light-6 .ms-nav-next:hover,
|
2140 |
+
.ms-skin-light-6 .ms-nav-prev:hover{
|
2141 |
+
background-color:#E0E0E0;
|
2142 |
+
}
|
2143 |
+
|
2144 |
+
.ms-skin-light-6 .ms-nav-next {
|
2145 |
+
right: 30px;
|
2146 |
+
left: auto;
|
2147 |
+
background-position: -86px -103px;
|
2148 |
+
}
|
2149 |
+
|
2150 |
+
|
2151 |
+
.ms-skin-light-6 .ms-bullets.ms-dir-h {
|
2152 |
+
position: absolute;
|
2153 |
+
bottom: 20px;
|
2154 |
+
right: 50%;
|
2155 |
+
width: 100px;
|
2156 |
+
}
|
2157 |
+
|
2158 |
+
.ms-skin-light-6 .ms-bullets.ms-dir-h .ms-bullets-count {
|
2159 |
+
position: relative;
|
2160 |
+
right: -50%;
|
2161 |
+
}
|
2162 |
+
|
2163 |
+
.ms-skin-light-6 .ms-bullet {
|
2164 |
+
width: 8px;
|
2165 |
+
height: 8px;
|
2166 |
+
background: black;
|
2167 |
+
-webkit-background-clip: padding-box;
|
2168 |
+
border: solid 3px white;
|
2169 |
+
border-color: rgba(255, 255, 255, 0.44);
|
2170 |
+
margin: 4px;
|
2171 |
+
background-position: -34px -117px;
|
2172 |
+
}
|
2173 |
+
|
2174 |
+
.ms-skin-light-6.round-skin .ms-bullet{
|
2175 |
+
border-radius: 15px;
|
2176 |
+
}
|
2177 |
+
|
2178 |
+
.ms-skin-light-6 .ms-bullet-selected {
|
2179 |
+
background-color: white;
|
2180 |
+
border-color: black;
|
2181 |
+
border-color: rgba(0, 0, 0, 0.44);
|
2182 |
+
}
|
2183 |
+
|
2184 |
+
.ms-skin-light-6 .ms-tooltip{
|
2185 |
+
position: absolute;
|
2186 |
+
z-index: 210;
|
2187 |
+
cursor: auto;
|
2188 |
+
}
|
2189 |
+
|
2190 |
+
.ms-skin-light-6 .ms-tooltip-top .ms-tooltip-arrow,
|
2191 |
+
.ms-skin-light-6 .ms-tooltip-bottom .ms-tooltip-arrow{
|
2192 |
+
border-left: solid 10px transparent;
|
2193 |
+
border-right: solid 10px transparent;
|
2194 |
+
position: absolute;
|
2195 |
+
left: 50%;
|
2196 |
+
margin-left: -10px;
|
2197 |
+
}
|
2198 |
+
|
2199 |
+
.ms-skin-light-6 .ms-tooltip-top .ms-tooltip-arrow{
|
2200 |
+
border-top: solid 10px;
|
2201 |
+
border-top-color: silver;
|
2202 |
+
border-top-color: rgba(240, 240, 240, 0.88);
|
2203 |
+
bottom: -10px;
|
2204 |
+
}
|
2205 |
+
|
2206 |
+
.ms-skin-light-6 .ms-tooltip-bottom .ms-tooltip-arrow {
|
2207 |
+
border-bottom: solid 10px;
|
2208 |
+
border-bottom-color: silver;
|
2209 |
+
border-bottom-color: rgba(240, 240, 240, 0.88);
|
2210 |
+
top: -10px;
|
2211 |
+
}
|
2212 |
+
|
2213 |
+
.ms-skin-light-6 .ms-tooltip-right .ms-tooltip-arrow,
|
2214 |
+
.ms-skin-light-6 .ms-tooltip-left .ms-tooltip-arrow{
|
2215 |
+
border-top: solid 10px transparent;
|
2216 |
+
border-bottom: solid 10px transparent;
|
2217 |
+
position: absolute;
|
2218 |
+
top: 50%;
|
2219 |
+
margin-top: -10px;
|
2220 |
+
}
|
2221 |
+
|
2222 |
+
.ms-skin-light-6 .ms-tooltip-right .ms-tooltip-arrow{
|
2223 |
+
border-right: solid 10px;
|
2224 |
+
border-right-color: silver;
|
2225 |
+
border-right-color: rgba(240, 240, 240, 0.88);
|
2226 |
+
left: -10px;
|
2227 |
+
}
|
2228 |
+
|
2229 |
+
.ms-skin-light-6 .ms-tooltip-left .ms-tooltip-arrow {
|
2230 |
+
border-left: solid 10px;
|
2231 |
+
border-left-color: silver;
|
2232 |
+
border-left-color: rgba(240, 240, 240, 0.88);
|
2233 |
+
right: -10px;
|
2234 |
+
}
|
2235 |
+
|
2236 |
+
.ms-skin-light-6 .ms-tooltip-point {cursor: pointer;}
|
2237 |
+
.ms-skin-light-6 .ms-tooltip-point .ms-point-center {
|
2238 |
+
width: 12px;
|
2239 |
+
height: 12px;
|
2240 |
+
border-radius: 15px;
|
2241 |
+
border: solid 2px #BBB;
|
2242 |
+
background: white;
|
2243 |
+
margin: -8px 0 0 -8px;
|
2244 |
+
position: absolute;
|
2245 |
+
z-index: 105;
|
2246 |
+
}
|
2247 |
+
|
2248 |
+
.ms-skin-light-6 .ms-tooltip-point .ms-point-border {
|
2249 |
+
width: 22px;
|
2250 |
+
height: 22px;
|
2251 |
+
background: black;
|
2252 |
+
background:rgba(0, 0, 0, 0.36);
|
2253 |
+
margin: -11px 0 0 -11px;
|
2254 |
+
position: absolute;
|
2255 |
+
border-radius: 15px;
|
2256 |
+
|
2257 |
+
animation: ms-point-anim 1.5s infinite ;
|
2258 |
+
-moz-animation: ms-point-anim 1.5s infinite;
|
2259 |
+
-webkit-animation: ms-point-anim 1.5s infinite;
|
2260 |
+
-o-animation: ms-point-anim 1.5s infinite;
|
2261 |
+
}
|
2262 |
+
|
2263 |
+
.ms-ie7.ms-skin-light-6 .ms-tooltip-point .ms-point-border,
|
2264 |
+
.ms-ie8.ms-skin-light-6 .ms-tooltip-point .ms-point-border{
|
2265 |
+
display: none;
|
2266 |
+
}
|
2267 |
+
|
2268 |
+
.ms-skin-light-6 .ms-tooltip {
|
2269 |
+
max-width:200px;
|
2270 |
+
}
|
2271 |
+
|
2272 |
+
.ms-skin-light-6 .ms-tooltip-cont {
|
2273 |
+
padding: 10px;
|
2274 |
+
background: silver;
|
2275 |
+
background: rgba(240, 240, 240, 0.88);
|
2276 |
+
text-shadow: 0 1px 0px white;
|
2277 |
+
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.04);
|
2278 |
+
}
|
2279 |
+
|
2280 |
+
/* retina */
|
2281 |
+
@media
|
2282 |
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
2283 |
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
2284 |
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
2285 |
+
only screen and ( min-device-pixel-ratio: 2),
|
2286 |
+
only screen and ( min-resolution: 192dpi),
|
2287 |
+
only screen and ( min-resolution: 2dppx) {
|
2288 |
+
|
2289 |
+
.ms-skin-light-6 .ms-slide .ms-slide-vpbtn,
|
2290 |
+
.ms-skin-light-6 .ms-video-btn,
|
2291 |
+
.ms-skin-light-6 .ms-slide .ms-slide-vcbtn,
|
2292 |
+
.ms-skin-light-6 .ms-nav-next,
|
2293 |
+
.ms-skin-light-6 .ms-nav-prev{
|
2294 |
+
background-image:url(skins/light-skin-6-retina.png);
|
2295 |
+
background-size: 152px 225px;
|
2296 |
+
}
|
2297 |
+
|
2298 |
+
}
|
2299 |
+
|
2300 |
+
|
2301 |
+
|
2302 |
+
/**
|
2303 |
+
* Master Slider
|
2304 |
+
* Metro Skin
|
2305 |
+
*/
|
2306 |
+
|
2307 |
+
.ms-skin-metro .ms-slide .ms-slide-vpbtn,
|
2308 |
+
.ms-skin-metro .ms-video-btn{
|
2309 |
+
width: 47px;
|
2310 |
+
height: 46px;
|
2311 |
+
background: url(skins/metro-skin.png) no-repeat -16px -152px;
|
2312 |
+
top: 50%;
|
2313 |
+
left: 50%;
|
2314 |
+
margin: -22px 0 0 -24px;
|
2315 |
+
}
|
2316 |
+
|
2317 |
+
.ms-skin-metro .ms-slide .ms-slide-vcbtn {
|
2318 |
+
width: 47px;
|
2319 |
+
height: 47px;
|
2320 |
+
background: url(skins/metro-skin.png) no-repeat -16px -19px;
|
2321 |
+
top: 15px;
|
2322 |
+
right: 15px;
|
2323 |
+
}
|
2324 |
+
|
2325 |
+
/* controls */
|
2326 |
+
|
2327 |
+
.ms-skin-metro .ms-nav-next,
|
2328 |
+
.ms-skin-metro .ms-nav-prev {
|
2329 |
+
width: 47px;
|
2330 |
+
background: url(skins/metro-skin.png);
|
2331 |
+
background-position: -83px -23px;
|
2332 |
+
height: 47px;
|
2333 |
+
cursor: pointer;
|
2334 |
+
top: 50%;
|
2335 |
+
left: 30px;
|
2336 |
+
margin-top: -24px;
|
2337 |
+
position: absolute;
|
2338 |
+
z-index: 110;
|
2339 |
+
}
|
2340 |
+
.ms-skin-metro .ms-nav-next {
|
2341 |
+
right: 30px;
|
2342 |
+
left: auto;
|
2343 |
+
background-position: -81px -100px;
|
2344 |
+
}
|
2345 |
+
|
2346 |
+
.ms-skin-metro .ms-bullets.ms-dir-h {
|
2347 |
+
position: absolute;
|
2348 |
+
bottom: 20px;
|
2349 |
+
right: 50%;
|
2350 |
+
width: 100px;
|
2351 |
+
}
|
2352 |
+
|
2353 |
+
.ms-skin-metro .ms-bullets.ms-dir-h .ms-bullets-count {
|
2354 |
+
position: relative;
|
2355 |
+
right: -50%;
|
2356 |
+
}
|
2357 |
+
|
2358 |
+
.ms-skin-metro .ms-bullet {
|
2359 |
+
width: 16px;
|
2360 |
+
height: 16px;
|
2361 |
+
background: url(skins/metro-skin.png) no-repeat;
|
2362 |
+
background-position: -31px -114px;
|
2363 |
+
margin: 4px;
|
2364 |
+
}
|
2365 |
+
|
2366 |
+
.ms-skin-metro .ms-bullet-selected {
|
2367 |
+
background-position: -31px -81px;
|
2368 |
+
}
|
2369 |
+
|
2370 |
+
.ms-skin-metro .ms-tooltip{
|
2371 |
+
position: absolute;
|
2372 |
+
z-index: 210;
|
2373 |
+
cursor: auto;
|
2374 |
+
}
|
2375 |
+
|
2376 |
+
.ms-skin-metro .ms-tooltip-top .ms-tooltip-arrow,
|
2377 |
+
.ms-skin-metro .ms-tooltip-bottom .ms-tooltip-arrow{
|
2378 |
+
border-left: solid 10px transparent;
|
2379 |
+
border-right: solid 10px transparent;
|
2380 |
+
position: absolute;
|
2381 |
+
left: 50%;
|
2382 |
+
margin-left: -10px;
|
2383 |
+
}
|
2384 |
+
|
2385 |
+
.ms-skin-metro .ms-tooltip-top .ms-tooltip-arrow{
|
2386 |
+
border-top: solid 10px;
|
2387 |
+
border-top-color: silver;
|
2388 |
+
border-top-color: rgba(240, 240, 240, 0.88);
|
2389 |
+
bottom: -10px;
|
2390 |
+
}
|
2391 |
+
|
2392 |
+
.ms-skin-metro .ms-tooltip-bottom .ms-tooltip-arrow {
|
2393 |
+
border-bottom: solid 10px;
|
2394 |
+
border-bottom-color: silver;
|
2395 |
+
border-bottom-color: rgba(240, 240, 240, 0.88);
|
2396 |
+
top: -10px;
|
2397 |
+
}
|
2398 |
+
|
2399 |
+
.ms-skin-metro .ms-tooltip-right .ms-tooltip-arrow,
|
2400 |
+
.ms-skin-metro .ms-tooltip-left .ms-tooltip-arrow{
|
2401 |
+
border-top: solid 10px transparent;
|
2402 |
+
border-bottom: solid 10px transparent;
|
2403 |
+
position: absolute;
|
2404 |
+
top: 50%;
|
2405 |
+
margin-top: -10px;
|
2406 |
+
}
|
2407 |
+
|
2408 |
+
.ms-skin-metro .ms-tooltip-right .ms-tooltip-arrow{
|
2409 |
+
border-right: solid 10px;
|
2410 |
+
border-right-color: silver;
|
2411 |
+
border-right-color: rgba(240, 240, 240, 0.88);
|
2412 |
+
left: -10px;
|
2413 |
+
}
|
2414 |
+
|
2415 |
+
.ms-skin-metro .ms-tooltip-left .ms-tooltip-arrow {
|
2416 |
+
border-left: solid 10px;
|
2417 |
+
border-left-color: silver;
|
2418 |
+
border-left-color: rgba(240, 240, 240, 0.88);
|
2419 |
+
right: -10px;
|
2420 |
+
}
|
2421 |
+
|
2422 |
+
.ms-skin-metro .ms-tooltip-point {cursor: pointer;}
|
2423 |
+
.ms-skin-metro .ms-tooltip-point .ms-point-center {
|
2424 |
+
width: 12px;
|
2425 |
+
height: 12px;
|
2426 |
+
border-radius: 15px;
|
2427 |
+
border: solid 2px #BBB;
|
2428 |
+
background: white;
|
2429 |
+
margin: -8px 0 0 -8px;
|
2430 |
+
position: absolute;
|
2431 |
+
z-index: 105;
|
2432 |
+
}
|
2433 |
+
|
2434 |
+
.ms-skin-metro .ms-tooltip-point .ms-point-border {
|
2435 |
+
width: 22px;
|
2436 |
+
height: 22px;
|
2437 |
+
background: black;
|
2438 |
+
background:rgba(0, 0, 0, 0.36);
|
2439 |
+
margin: -11px 0 0 -11px;
|
2440 |
+
position: absolute;
|
2441 |
+
border-radius: 15px;
|
2442 |
+
|
2443 |
+
animation: ms-point-anim 1.5s infinite ;
|
2444 |
+
-moz-animation: ms-point-anim 1.5s infinite;
|
2445 |
+
-webkit-animation: ms-point-anim 1.5s infinite;
|
2446 |
+
-o-animation: ms-point-anim 1.5s infinite;
|
2447 |
+
}
|
2448 |
+
|
2449 |
+
.ms-skin-metro .ms-tooltip {
|
2450 |
+
max-width:200px;
|
2451 |
+
}
|
2452 |
+
|
2453 |
+
.ms-skin-metro .ms-tooltip-cont {
|
2454 |
+
padding: 10px;
|
2455 |
+
background: silver;
|
2456 |
+
background: rgba(240, 240, 240, 0.88);
|
2457 |
+
text-shadow: 0 1px 0px white;
|
2458 |
+
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.04);
|
2459 |
+
}
|
2460 |
+
|
2461 |
+
/* retina */
|
2462 |
+
@media
|
2463 |
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
2464 |
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
2465 |
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
2466 |
+
only screen and ( min-device-pixel-ratio: 2),
|
2467 |
+
only screen and ( min-resolution: 192dpi),
|
2468 |
+
only screen and ( min-resolution: 2dppx) {
|
2469 |
+
|
2470 |
+
.ms-skin-metro .ms-slide .ms-slide-vpbtn,
|
2471 |
+
.ms-skin-metro .ms-video-btn,
|
2472 |
+
.ms-skin-metro .ms-slide .ms-slide-vcbtn,
|
2473 |
+
.ms-skin-metro .ms-nav-next,
|
2474 |
+
.ms-skin-metro .ms-nav-prev,
|
2475 |
+
.ms-skin-metro .ms-bullet{
|
2476 |
+
background-image:url(skins/metro-skin-retina.png);
|
2477 |
+
background-size: 152px 225px;
|
2478 |
+
}
|
2479 |
+
|
2480 |
+
}
|
2481 |
+
|
2482 |
+
|
2483 |
+
|
2484 |
+
/**
|
2485 |
+
* Master Slider
|
2486 |
+
* Contrast
|
2487 |
+
*/
|
2488 |
+
|
2489 |
+
.ms-skin-contrast .ms-slide .ms-slide-vpbtn,
|
2490 |
+
.ms-skin-contrast .ms-video-btn{
|
2491 |
+
width: 60px;
|
2492 |
+
height: 60px;
|
2493 |
+
background: url(skins/contrast-skin.png) no-repeat -10px -144px;
|
2494 |
+
top: 50%;
|
2495 |
+
left: 50%;
|
2496 |
+
margin: -30px 0 0 -30px;
|
2497 |
+
}
|
2498 |
+
|
2499 |
+
.ms-skin-contrast .ms-slide .ms-slide-vcbtn {
|
2500 |
+
width: 24px;
|
2501 |
+
height: 24px;
|
2502 |
+
background: url(skins/contrast-skin.png) no-repeat -27px -30px;
|
2503 |
+
top: 30px;
|
2504 |
+
right: 30px;
|
2505 |
+
}
|
2506 |
+
|
2507 |
+
/* controls */
|
2508 |
+
|
2509 |
+
.ms-skin-contrast .ms-nav-next,
|
2510 |
+
.ms-skin-contrast .ms-nav-prev {
|
2511 |
+
width: 60px;
|
2512 |
+
background: url(skins/contrast-skin.png);
|
2513 |
+
background-position: -76px -17px;
|
2514 |
+
height: 60px;
|
2515 |
+
cursor: pointer;
|
2516 |
+
top: 50%;
|
2517 |
+
left: 30px;
|
2518 |
+
margin-top: -30px;
|
2519 |
+
position: absolute;
|
2520 |
+
z-index: 110;
|
2521 |
+
}
|
2522 |
+
.ms-skin-contrast .ms-nav-next {
|
2523 |
+
right: 30px;
|
2524 |
+
left: auto;
|
2525 |
+
background-position: -77px -91px;
|
2526 |
+
}
|
2527 |
+
|
2528 |
+
.ms-skin-contrast .ms-bullets.ms-dir-h {
|
2529 |
+
position: absolute;
|
2530 |
+
bottom: 20px;
|
2531 |
+
right: 50%;
|
2532 |
+
width: 100px;
|
2533 |
+
}
|
2534 |
+
|
2535 |
+
.ms-skin-contrast .ms-bullets.ms-dir-h .ms-bullets-count {
|
2536 |
+
position: relative;
|
2537 |
+
right: -50%;
|
2538 |
+
}
|
2539 |
+
|
2540 |
+
.ms-skin-contrast .ms-bullet {
|
2541 |
+
width: 16px;
|
2542 |
+
height: 16px;
|
2543 |
+
background: url(skins/contrast-skin.png) no-repeat;
|
2544 |
+
background-position: -31px -114px;
|
2545 |
+
margin: 4px;
|
2546 |
+
}
|
2547 |
+
|
2548 |
+
.ms-skin-contrast .ms-bullet-selected {
|
2549 |
+
background-position: -31px -81px;
|
2550 |
+
}
|
2551 |
+
|
2552 |
+
.ms-skin-contrast .ms-tooltip{
|
2553 |
+
position: absolute;
|
2554 |
+
z-index: 210;
|
2555 |
+
cursor: auto;
|
2556 |
+
}
|
2557 |
+
|
2558 |
+
.ms-skin-contrast .ms-tooltip-top .ms-tooltip-arrow,
|
2559 |
+
.ms-skin-contrast .ms-tooltip-bottom .ms-tooltip-arrow{
|
2560 |
+
border-left: solid 10px transparent;
|
2561 |
+
border-right: solid 10px transparent;
|
2562 |
+
position: absolute;
|
2563 |
+
left: 50%;
|
2564 |
+
margin-left: -10px;
|
2565 |
+
}
|
2566 |
+
|
2567 |
+
.ms-skin-contrast .ms-tooltip-top .ms-tooltip-arrow{
|
2568 |
+
border-top: solid 10px;
|
2569 |
+
border-top-color: #fc3116;
|
2570 |
+
border-top-color: rgba(252, 49, 22, 0.8);
|
2571 |
+
bottom: -10px;
|
2572 |
+
}
|
2573 |
+
|
2574 |
+
.ms-skin-contrast .ms-tooltip-bottom .ms-tooltip-arrow {
|
2575 |
+
border-bottom: solid 10px;
|
2576 |
+
border-bottom-color: #fc3116;
|
2577 |
+
border-bottom-color: rgba(252, 49, 22, 0.8);
|
2578 |
+
top: -10px;
|
2579 |
+
}
|
2580 |
+
|
2581 |
+
.ms-skin-contrast .ms-tooltip-right .ms-tooltip-arrow,
|
2582 |
+
.ms-skin-contrast .ms-tooltip-left .ms-tooltip-arrow{
|
2583 |
+
border-top: solid 10px transparent;
|
2584 |
+
border-bottom: solid 10px transparent;
|
2585 |
+
position: absolute;
|
2586 |
+
top: 50%;
|
2587 |
+
margin-top: -10px;
|
2588 |
+
}
|
2589 |
+
|
2590 |
+
.ms-skin-contrast .ms-tooltip-right .ms-tooltip-arrow{
|
2591 |
+
border-right: solid 10px;
|
2592 |
+
border-right-color: #fc3116;
|
2593 |
+
border-right-color: rgba(252, 49, 22, 0.8);
|
2594 |
+
left: -10px;
|
2595 |
+
}
|
2596 |
+
|
2597 |
+
.ms-skin-contrast .ms-tooltip-left .ms-tooltip-arrow {
|
2598 |
+
border-left: solid 10px;
|
2599 |
+
border-left-color: #fc3116;
|
2600 |
+
border-left-color: rgba(252, 49, 22, 0.8);
|
2601 |
+
right: -10px;
|
2602 |
+
}
|
2603 |
+
|
2604 |
+
.ms-skin-contrast .ms-tooltip-point {cursor: pointer;}
|
2605 |
+
.ms-skin-contrast .ms-tooltip-point .ms-point-center {
|
2606 |
+
width: 12px;
|
2607 |
+
height: 12px;
|
2608 |
+
border-radius: 15px;
|
2609 |
+
border: solid 2px #636363;
|
2610 |
+
background: black;
|
2611 |
+
margin: -8px 0 0 -8px;
|
2612 |
+
position: absolute;
|
2613 |
+
z-index: 105;
|
2614 |
+
}
|
2615 |
+
|
2616 |
+
.ms-skin-contrast .ms-tooltip-point .ms-point-border {
|
2617 |
+
width: 22px;
|
2618 |
+
height: 22px;
|
2619 |
+
background: white;
|
2620 |
+
background: rgba(255, 255, 255, 0.99);
|
2621 |
+
margin: -11px 0 0 -11px;
|
2622 |
+
position: absolute;
|
2623 |
+
border-radius: 15px;
|
2624 |
+
|
2625 |
+
animation: ms-point-anim 1.5s infinite ;
|
2626 |
+
-moz-animation: ms-point-anim 1.5s infinite;
|
2627 |
+
-webkit-animation: ms-point-anim 1.5s infinite;
|
2628 |
+
-o-animation: ms-point-anim 1.5s infinite;
|
2629 |
+
}
|
2630 |
+
|
2631 |
+
.ms-skin-contrast .ms-tooltip {
|
2632 |
+
max-width:200px;
|
2633 |
+
}
|
2634 |
+
|
2635 |
+
.ms-skin-contrast .ms-tooltip-cont {
|
2636 |
+
padding: 10px;
|
2637 |
+
background: #fc3116;
|
2638 |
+
background: rgba(252, 49, 22, 0.8);
|
2639 |
+
text-shadow: 0 1px 0px rgba(0, 0, 0, 0.4);
|
2640 |
+
color: white;
|
2641 |
+
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.04);
|
2642 |
+
}
|
2643 |
+
|
2644 |
+
/* retina */
|
2645 |
+
@media
|
2646 |
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
2647 |
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
2648 |
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
2649 |
+
only screen and ( min-device-pixel-ratio: 2),
|
2650 |
+
only screen and ( min-resolution: 192dpi),
|
2651 |
+
only screen and ( min-resolution: 2dppx) {
|
2652 |
+
|
2653 |
+
.ms-skin-contrast .ms-slide .ms-slide-vpbtn,
|
2654 |
+
.ms-skin-contrast .ms-video-btn,
|
2655 |
+
.ms-skin-contrast .ms-slide .ms-slide-vcbtn,
|
2656 |
+
.ms-skin-contrast .ms-nav-next,
|
2657 |
+
.ms-skin-contrast .ms-nav-prev,
|
2658 |
+
.ms-skin-contrast .ms-bullet{
|
2659 |
+
background-image:url(skins/contrast-skin-retina.png);
|
2660 |
+
background-size: 152px 225px;
|
2661 |
+
}
|
2662 |
+
|
2663 |
+
}
|
public/assets/js/masterslider.js
CHANGED
@@ -1,335 +1,335 @@
|
|
1 |
/*!
|
2 |
* Master Slider – Responsive Touch Swipe Slider [lite version]
|
3 |
-
* Copyright ©
|
4 |
*
|
5 |
* @author Averta [www.averta.net]
|
6 |
-
* @version 2.
|
7 |
-
* @date
|
8 |
*/
|
9 |
|
10 |
|
11 |
/* ================== bin-debug/js/lite/tools/base.js =================== */
|
12 |
-
window.averta = {};
|
13 |
-
|
14 |
-
;(function($){
|
15 |
-
|
16 |
-
//"use strict";
|
17 |
-
|
18 |
-
window.package = function(name){
|
19 |
-
if(!window[name]) window[name] = {};
|
20 |
-
};
|
21 |
-
|
22 |
-
var extend = function(target , object){
|
23 |
-
for(var key in object) target[key] = object[key];
|
24 |
-
};
|
25 |
-
|
26 |
-
Function.prototype.extend = function(superclass){
|
27 |
-
if(typeof superclass.prototype.constructor === "function"){
|
28 |
-
extend(this.prototype , superclass.prototype);
|
29 |
-
this.prototype.constructor = this;
|
30 |
-
}else{
|
31 |
-
this.prototype.extend(superclass);
|
32 |
-
this.prototype.constructor = this;
|
33 |
-
}
|
34 |
-
};
|
35 |
-
|
36 |
-
// Converts JS prefix to CSS prefix
|
37 |
-
var trans = {
|
38 |
-
'Moz' : '-moz-',
|
39 |
-
'Webkit' : '-webkit-',
|
40 |
-
'Khtml' : '-khtml-' ,
|
41 |
-
'O' : '-o-',
|
42 |
-
'ms' : '-ms-',
|
43 |
-
'Icab' : '-icab-'
|
44 |
-
};
|
45 |
-
|
46 |
-
window._mobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)
|
47 |
-
window._touch = 'ontouchstart' in document;
|
48 |
-
$(document).ready(function(){
|
49 |
-
window._jcsspfx = getVendorPrefix(); // JS CSS VendorPrefix
|
50 |
-
window._csspfx = trans[window._jcsspfx]; // CSS VendorPrefix
|
51 |
-
window._cssanim = supportsTransitions();
|
52 |
-
window._css3d = supports3DTransforms();
|
53 |
-
window._css2d = supportsTransforms();
|
54 |
-
});
|
55 |
-
|
56 |
-
|
57 |
-
// Thanks to LEA VEROU
|
58 |
-
// http://lea.verou.me/2009/02/find-the-vendor-prefix-of-the-current-browser/
|
59 |
-
function getVendorPrefix() {
|
60 |
-
|
61 |
-
if('result' in arguments.callee) return arguments.callee.result;
|
62 |
-
|
63 |
-
var regex = /^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/;
|
64 |
-
|
65 |
-
var someScript = document.getElementsByTagName('script')[0];
|
66 |
-
|
67 |
-
for(var prop in someScript.style){
|
68 |
-
if(regex.test(prop)){
|
69 |
-
return arguments.callee.result = prop.match(regex)[0];
|
70 |
-
}
|
71 |
-
}
|
72 |
-
|
73 |
-
if('WebkitOpacity' in someScript.style) return arguments.callee.result = 'Webkit';
|
74 |
-
if('KhtmlOpacity' in someScript.style) return arguments.callee.result = 'Khtml';
|
75 |
-
|
76 |
-
return arguments.callee.result = '';
|
77 |
-
}
|
78 |
-
|
79 |
-
|
80 |
-
// Thanks to Steven Benner.
|
81 |
-
// http://stevenbenner.com/2010/03/javascript-regex-trick-parse-a-query-string-into-an-object/
|
82 |
-
window.parseQueryString = function(url){
|
83 |
-
var queryString = {};
|
84 |
-
url.replace(
|
85 |
-
new RegExp("([^?=&]+)(=([^&]*))?", "g"),
|
86 |
-
function($0, $1, $2, $3) { queryString[$1] = $3; }
|
87 |
-
);
|
88 |
-
|
89 |
-
return queryString;
|
90 |
-
};
|
91 |
-
|
92 |
-
function checkStyleValue(prop){
|
93 |
-
var b = document.body || document.documentElement;
|
94 |
-
var s = b.style;
|
95 |
-
var p = prop;
|
96 |
-
if(typeof s[p] == 'string') {return true; }
|
97 |
-
|
98 |
-
// Tests for vendor specific prop
|
99 |
-
v = ['Moz', 'Webkit', 'Khtml', 'O', 'ms'],
|
100 |
-
p = p.charAt(0).toUpperCase() + p.substr(1);
|
101 |
-
for(var i=0; i<v.length; i++) {
|
102 |
-
if(typeof s[v[i] + p] == 'string') { return true; }
|
103 |
-
}
|
104 |
-
return false;
|
105 |
-
}
|
106 |
-
|
107 |
-
function supportsTransitions() {
|
108 |
-
return checkStyleValue('transition');
|
109 |
-
}
|
110 |
-
|
111 |
-
function supportsTransforms(){
|
112 |
-
return checkStyleValue('transform');
|
113 |
-
}
|
114 |
-
|
115 |
-
function supports3DTransforms(){
|
116 |
-
if(!supportsTransforms()) return false;
|
117 |
-
var el = document.createElement('i'),
|
118 |
-
has3d,
|
119 |
-
transforms = {
|
120 |
-
'WebkitTransform':'-webkit-transform',
|
121 |
-
'OTransform':'-o-transform',
|
122 |
-
'MSTransform':'-ms-transform',
|
123 |
-
'msTransform':'-ms-transform',
|
124 |
-
'MozTransform':'-moz-transform',
|
125 |
-
'Transform':'transform',
|
126 |
-
'transform':'transform'
|
127 |
-
};
|
128 |
-
|
129 |
-
el.style.display = 'block';
|
130 |
-
|
131 |
-
// Add it to the body to get the computed style
|
132 |
-
document.body.insertBefore(el, null);
|
133 |
-
|
134 |
-
for(var t in transforms){
|
135 |
-
if( el.style[t] !== undefined ){
|
136 |
-
el.style[t] = 'translate3d(1px,1px,1px)';
|
137 |
-
has3d = window.getComputedStyle(el).getPropertyValue(transforms[t]);
|
138 |
-
}
|
139 |
-
}
|
140 |
-
|
141 |
-
document.body.removeChild(el);
|
142 |
-
|
143 |
-
return (has3d != null && has3d.length > 0 && has3d !== "none");
|
144 |
-
}
|
145 |
-
|
146 |
-
/**
|
147 |
-
* Provides requestAnimationFrame in a cross browser way.
|
148 |
-
* @author paulirish / http://paulirish.com/
|
149 |
-
*/
|
150 |
-
var fps60 = 50/3;
|
151 |
-
|
152 |
-
if ( !window.requestAnimationFrame ) {
|
153 |
-
|
154 |
-
window.requestAnimationFrame = ( function() {
|
155 |
-
|
156 |
-
return window.webkitRequestAnimationFrame ||
|
157 |
-
window.mozRequestAnimationFrame ||
|
158 |
-
window.oRequestAnimationFrame ||
|
159 |
-
window.msRequestAnimationFrame ||
|
160 |
-
function( /* function FrameRequestCallback */ callback, /* DOMElement Element */ element ) {
|
161 |
-
|
162 |
-
window.setTimeout( callback, fps60 );
|
163 |
-
|
164 |
-
};
|
165 |
-
|
166 |
-
} )();
|
167 |
-
|
168 |
-
}
|
169 |
-
|
170 |
-
if (!window.getComputedStyle) {
|
171 |
-
window.getComputedStyle = function(el, pseudo) {
|
172 |
-
this.el = el;
|
173 |
-
this.getPropertyValue = function(prop) {
|
174 |
-
var re = /(\-([a-z]){1})/g;
|
175 |
-
if (prop == 'float') prop = 'styleFloat';
|
176 |
-
if (re.test(prop)) {
|
177 |
-
prop = prop.replace(re, function () {
|
178 |
-
return arguments[2].toUpperCase();
|
179 |
-
});
|
180 |
-
}
|
181 |
-
return el.currentStyle[prop] ? el.currentStyle[prop] : null;
|
182 |
-
};
|
183 |
-
return el.currentStyle;
|
184 |
-
};
|
185 |
-
}
|
186 |
-
|
187 |
-
// IE8 Array indexOf fix
|
188 |
-
if (!Array.prototype.indexOf) {
|
189 |
-
Array.prototype.indexOf = function(elt /*, from*/) {
|
190 |
-
var len = this.length >>> 0;
|
191 |
-
|
192 |
-
var from = Number(arguments[1]) || 0;
|
193 |
-
from = (from < 0)
|
194 |
-
? Math.ceil(from)
|
195 |
-
: Math.floor(from);
|
196 |
-
if (from < 0)
|
197 |
-
from += len;
|
198 |
-
|
199 |
-
for (; from < len; from++)
|
200 |
-
{
|
201 |
-
if (from in this &&
|
202 |
-
this[from] === elt)
|
203 |
-
return from;
|
204 |
-
}
|
205 |
-
return -1;
|
206 |
-
};
|
207 |
-
}
|
208 |
-
|
209 |
-
|
210 |
-
/**
|
211 |
-
* check ie browser
|
212 |
-
* @param {Number | string} version
|
213 |
-
* @return {Boolean}
|
214 |
-
*/
|
215 |
-
window.isMSIE = function ( version ) {
|
216 |
-
if (
|
217 |
-
return false;
|
218 |
-
} else if ( !version ) {
|
219 |
-
return true;
|
220 |
-
}
|
221 |
-
var ieVer =
|
222 |
-
if ( typeof version === 'string' ) {
|
223 |
-
if ( version.indexOf('<') !== -1 || version.indexOf('>') !== -1) {
|
224 |
-
return eval( ieVer + version );
|
225 |
-
} else {
|
226 |
-
return eval( version + '==' + ieVer );
|
227 |
-
}
|
228 |
-
} else {
|
229 |
-
return version == ieVer;
|
230 |
-
}
|
231 |
-
}
|
232 |
-
|
233 |
-
$.removeDataAttrs = function($target, exclude) {
|
234 |
-
var i,
|
235 |
-
attrName,
|
236 |
-
dataAttrsToDelete = [],
|
237 |
-
dataAttrs = $target[0].attributes,
|
238 |
-
dataAttrsLen = dataAttrs.length;
|
239 |
-
|
240 |
-
exclude = exclude || [];
|
241 |
-
|
242 |
-
// loop through attributes and make a list of those
|
243 |
-
// that begin with 'data-'
|
244 |
-
for (i=0; i<dataAttrsLen; i++) {
|
245 |
-
attrName = dataAttrs[i].name;
|
246 |
-
if ( 'data-' === attrName.substring(0,5) && exclude.indexOf(attrName) === -1 ) {
|
247 |
-
// Why don't you just delete the attributes here?
|
248 |
-
// Deleting an attribute changes the indices of the
|
249 |
-
// others wreaking havoc on the loop we are inside
|
250 |
-
// b/c dataAttrs is a NamedNodeMap (not an array or obj)
|
251 |
-
dataAttrsToDelete.push(dataAttrs[i].name);
|
252 |
-
}
|
253 |
-
}
|
254 |
-
// delete each of the attributes we found above
|
255 |
-
// i.e. those that start with "data-"
|
256 |
-
$.each( dataAttrsToDelete, function( index, attrName ) {
|
257 |
-
$target.removeAttr( attrName );
|
258 |
-
})
|
259 |
-
};
|
260 |
-
|
261 |
-
if(jQuery){
|
262 |
-
$.jqLoadFix = function(){
|
263 |
-
if(this.complete){
|
264 |
-
var that = this;
|
265 |
-
setTimeout(function(){$(that).load
|
266 |
-
}
|
267 |
-
};
|
268 |
-
|
269 |
-
jQuery.uaMatch = jQuery.uaMatch || function( ua ) {
|
270 |
-
ua = ua.toLowerCase();
|
271 |
-
|
272 |
-
var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) ||
|
273 |
-
/(webkit)[ \/]([\w.]+)/.exec( ua ) ||
|
274 |
-
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) ||
|
275 |
-
/(msie) ([\w.]+)/.exec( ua ) ||
|
276 |
-
ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) ||
|
277 |
-
[];
|
278 |
-
|
279 |
-
return {
|
280 |
-
browser: match[ 1 ] || "",
|
281 |
-
version: match[ 2 ] || "0"
|
282 |
-
};
|
283 |
-
};
|
284 |
-
|
285 |
-
// Don't clobber any existing jQuery.browser in case it's different
|
286 |
-
//if ( !jQuery.browser ) {
|
287 |
-
matched = jQuery.uaMatch( navigator.userAgent );
|
288 |
-
browser = {};
|
289 |
-
|
290 |
-
if ( matched.browser ) {
|
291 |
-
browser[ matched.browser ] = true;
|
292 |
-
browser.version = matched.version;
|
293 |
-
}
|
294 |
-
|
295 |
-
// Chrome is Webkit, but Webkit is also Safari.
|
296 |
-
if ( browser.chrome ) {
|
297 |
-
browser.webkit = true;
|
298 |
-
} else if ( browser.webkit ) {
|
299 |
-
browser.safari = true;
|
300 |
-
}
|
301 |
-
|
302 |
-
// hofix for IE11 detection
|
303 |
-
var isIE11 = !!navigator.userAgent.match(/Trident\/7\./);
|
304 |
-
if (isIE11) {
|
305 |
-
browser.msie = "true";
|
306 |
-
delete browser.mozilla;
|
307 |
-
}
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
//}
|
312 |
-
|
313 |
-
$.fn.preloadImg = function(src , _event){
|
314 |
-
this.each(function(){
|
315 |
-
var $this = $(this);
|
316 |
-
var self = this;
|
317 |
-
var img = new Image();
|
318 |
-
img.onload = function(event){
|
319 |
-
if(event == null) event = {}; // IE8
|
320 |
-
$this.attr('src' , src);
|
321 |
-
event.width = img.width;
|
322 |
-
event.height = img.height;
|
323 |
-
$this.data('width', img.width);
|
324 |
-
$this.data('height', img.height);
|
325 |
-
setTimeout(function(){_event.call(self , event);},50);
|
326 |
-
img = null;
|
327 |
-
};
|
328 |
-
img.src = src;
|
329 |
-
});
|
330 |
-
return this;
|
331 |
-
};
|
332 |
-
}
|
333 |
})(jQuery);
|
334 |
|
335 |
/* ================== bin-debug/js/lite/tools/EventDispatcher.js =================== */
|
@@ -991,101 +991,101 @@ window.averta = {};
|
|
991 |
})();
|
992 |
|
993 |
/* ================== bin-debug/js/lite/tools/Aligner.js =================== */
|
994 |
-
;(function(){
|
995 |
-
|
996 |
-
"use strict";
|
997 |
-
|
998 |
-
window.MSAligner = function(type , $container , $img ){
|
999 |
-
|
1000 |
-
this.$container = $container;
|
1001 |
-
this.$img = $img;
|
1002 |
-
|
1003 |
-
this.type = type || 'stretch'; // fill , fit , stretch , tile , center
|
1004 |
-
|
1005 |
-
this.widthOnly = false;
|
1006 |
-
this.heightOnly = false;
|
1007 |
-
};
|
1008 |
-
|
1009 |
-
var p = MSAligner.prototype;
|
1010 |
-
|
1011 |
-
/*-------------- METHODS --------------*/
|
1012 |
-
|
1013 |
-
p.init = function(w , h){
|
1014 |
-
|
1015 |
-
this.baseWidth = w;
|
1016 |
-
this.baseHeight = h;
|
1017 |
-
this.imgRatio = w / h;
|
1018 |
-
this.imgRatio2 = h / w;
|
1019 |
-
|
1020 |
-
switch(this.type){
|
1021 |
-
case 'tile':
|
1022 |
-
this.$container.css('background-image' , 'url('+ this.$img.attr('src') +')');
|
1023 |
-
this.$img.remove();
|
1024 |
-
break;
|
1025 |
-
case 'center':
|
1026 |
-
this.$container.css('background-image' , 'url('+ this.$img.attr('src') +')');
|
1027 |
-
this.$container.css({
|
1028 |
-
backgroundPosition : 'center center',
|
1029 |
-
backgroundRepeat : 'no-repeat'
|
1030 |
-
});
|
1031 |
-
this.$img.remove();
|
1032 |
-
break;
|
1033 |
-
case 'stretch':
|
1034 |
-
this.$img.css({
|
1035 |
-
width : '100%',
|
1036 |
-
height : '100%'
|
1037 |
-
});
|
1038 |
-
break;
|
1039 |
-
case 'fill':
|
1040 |
-
case 'fit' :
|
1041 |
-
this.needAlign = true;
|
1042 |
-
this.align();
|
1043 |
-
break;
|
1044 |
-
}
|
1045 |
-
|
1046 |
-
};
|
1047 |
-
|
1048 |
-
p.align = function(){
|
1049 |
-
if(!this.needAlign) return;
|
1050 |
-
|
1051 |
-
var cont_w = this.$container.
|
1052 |
-
var cont_h = this.$container.
|
1053 |
-
|
1054 |
-
var contRatio = cont_w / cont_h;
|
1055 |
-
|
1056 |
-
if(this.type == 'fill'){
|
1057 |
-
if(this.imgRatio < contRatio ){
|
1058 |
-
this.$img.width(cont_w);
|
1059 |
-
this.$img.height(cont_w * this.imgRatio2);
|
1060 |
-
}else{
|
1061 |
-
this.$img.height(cont_h);
|
1062 |
-
this.$img.width(cont_h * this.imgRatio);
|
1063 |
-
}
|
1064 |
-
|
1065 |
-
}else if(this.type == 'fit'){
|
1066 |
-
|
1067 |
-
if(this.imgRatio < contRatio){
|
1068 |
-
this.$img.height(cont_h);
|
1069 |
-
this.$img.width(cont_h * this.imgRatio);
|
1070 |
-
}else{
|
1071 |
-
this.$img.width(cont_w);
|
1072 |
-
this.$img.height(cont_w * this.imgRatio2);
|
1073 |
-
}
|
1074 |
-
}
|
1075 |
-
|
1076 |
-
this.setMargin();
|
1077 |
-
|
1078 |
-
};
|
1079 |
-
|
1080 |
-
p.setMargin = function(){
|
1081 |
-
|
1082 |
-
var cont_w = this.$container.
|
1083 |
-
var cont_h = this.$container.
|
1084 |
-
|
1085 |
-
this.$img.css('margin-top' , (cont_h - this.$img[0].offsetHeight) / 2 + 'px');
|
1086 |
-
this.$img.css('margin-left', (cont_w - this.$img[0].offsetWidth ) / 2 + 'px');
|
1087 |
-
}
|
1088 |
-
|
1089 |
})();
|
1090 |
|
1091 |
/* ================== bin-debug/js/lite/controls/controller.js =================== */
|
@@ -1562,7 +1562,7 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
1562 |
this.autoAppend = true;
|
1563 |
this.isSleeping = true;
|
1564 |
|
1565 |
-
this.moz =
|
1566 |
};
|
1567 |
|
1568 |
var p = MSSlide.prototype;
|
@@ -1726,7 +1726,7 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
1726 |
|
1727 |
this.bgLoaded = true;
|
1728 |
|
1729 |
-
if (
|
1730 |
this.$bg_img.on('dragstart', function(event) { event.preventDefault(); }); // disables native dragging
|
1731 |
}
|
1732 |
|
@@ -2142,7 +2142,7 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
2142 |
//this.view.slideDuration = this.so.duration;
|
2143 |
|
2144 |
var viewClass = SliderViewList[this.slider.options.view] || MSBasicView;
|
2145 |
-
if(viewClass._3dreq && (!window._css3d ||
|
2146 |
|
2147 |
this.view = new viewClass(viewOptions);
|
2148 |
|
@@ -2413,7 +2413,7 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
2413 |
|
2414 |
var delta = Math.abs(e.detail || e.wheelDelta);
|
2415 |
|
2416 |
-
if (
|
2417 |
delta *= 100;
|
2418 |
}
|
2419 |
|
@@ -2435,7 +2435,7 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
2435 |
return false;
|
2436 |
};
|
2437 |
|
2438 |
-
if(
|
2439 |
else this.slider.$element.bind('mousewheel', this.wheellistener);
|
2440 |
}
|
2441 |
|
@@ -2453,7 +2453,7 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
2453 |
// return false;
|
2454 |
// };
|
2455 |
|
2456 |
-
// if(
|
2457 |
// else this.slider.$element.bind('mousewheel', this.wheellistener);
|
2458 |
// }
|
2459 |
|
@@ -2502,7 +2502,7 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
2502 |
this.view = null;
|
2503 |
|
2504 |
if(this.so.wheel){
|
2505 |
-
if(
|
2506 |
else this.slider.$element.unbind('mousewheel', this.wheellistener);
|
2507 |
this.wheellistener = null;
|
2508 |
}
|
@@ -2619,7 +2619,13 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
2619 |
rtl : false, // @since 1.8.0, Whether Right-to-left direction slider.
|
2620 |
deepLink : null, // @since 2.1.0, null value disables slider deep-linking any string values identifies the slider in page's url like /#msslider-1
|
2621 |
deepLinkType : 'path', // @since 2.1.0, type of hash value in page's url possible values, path and query ( #gallery/1 || #gallery=4 )
|
2622 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2623 |
};
|
2624 |
|
2625 |
this.slides = [];
|
@@ -2645,8 +2651,8 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
2645 |
};
|
2646 |
|
2647 |
MasterSlider.author = 'Averta Ltd. (www.averta.net)';
|
2648 |
-
MasterSlider.version = '2.
|
2649 |
-
MasterSlider.releaseDate = '
|
2650 |
|
2651 |
// Master Slider plugins.
|
2652 |
MasterSlider._plugins = []
|
@@ -2899,7 +2905,7 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
2899 |
$view.removeClass('ms-grab-cursor');
|
2900 |
$view.addClass('ms-grabbing-cursor');
|
2901 |
|
2902 |
-
if (
|
2903 |
$view[0].style.cursor = 'url(' + window.ms_grabbing_curosr + '), move';
|
2904 |
}
|
2905 |
|
@@ -2909,7 +2915,7 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
2909 |
$view.removeClass('ms-grabbing-cursor');
|
2910 |
$view.addClass('ms-grab-cursor');
|
2911 |
|
2912 |
-
if (
|
2913 |
$view[0].style.cursor = 'url(' + window.ms_grab_curosr + '), move';
|
2914 |
}
|
2915 |
|
@@ -3043,12 +3049,12 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
3043 |
|
3044 |
// IE prefix class
|
3045 |
// add browser prefix class name
|
3046 |
-
if(
|
3047 |
this.$element.addClass('ms-ie')
|
3048 |
-
.addClass('ms-ie' +
|
3049 |
-
} else if (
|
3050 |
this.$element.addClass('ms-wk');
|
3051 |
-
} else if (
|
3052 |
this.$element.addClass('ms-moz');
|
3053 |
}
|
3054 |
|
@@ -3065,6 +3071,10 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
3065 |
|
3066 |
this.aspect = this.options.width / this.options.height;
|
3067 |
|
|
|
|
|
|
|
|
|
3068 |
this.$loading = $('<div></div>').
|
3069 |
addClass('ms-loading-container').
|
3070 |
insertBefore(this.$element).
|
@@ -3110,11 +3120,50 @@ MSSliderEvent.DESTROY = 'ms_destroy';
|
|
3110 |
});
|
3111 |
|
3112 |
return this;
|
3113 |
-
|
3114 |
|
3115 |
-
|
3116 |
-
|
3117 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3118 |
* @since 1.4
|
3119 |
* @public
|
3120 |
*/
|
@@ -3432,7 +3481,7 @@ MSViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
3432 |
|
3433 |
this._checkCritMargins();
|
3434 |
|
3435 |
-
if(
|
3436 |
this.slideList[this.index].$element[0].style.marginTop = '0.1px';
|
3437 |
if(this.currentSlide){
|
3438 |
this.currentSlide.$element[0].style.marginTop = '';
|
@@ -4230,368 +4279,368 @@ MSViewEvents.CHANGE_END = 'slideChangeEnd';
|
|
4230 |
})(jQuery);
|
4231 |
|
4232 |
/* ================== bin-debug/js/lite/uicontrols/Thumblist.js =================== */
|
4233 |
-
;(function($){
|
4234 |
-
|
4235 |
-
"use strict";
|
4236 |
-
|
4237 |
-
var MSThumblist = function(options){
|
4238 |
-
BaseControl.call(this);
|
4239 |
-
|
4240 |
-
// default options
|
4241 |
-
this.options.dir = 'h';
|
4242 |
-
this.options.wheel = options.dir === 'v';
|
4243 |
-
this.options.arrows = false;
|
4244 |
-
this.options.speed = 17;
|
4245 |
-
this.options.align = null;
|
4246 |
-
this.options.inset = false;
|
4247 |
-
this.options.margin = 10;
|
4248 |
-
this.options.space = 10;
|
4249 |
-
this.options.width = 100;
|
4250 |
-
this.options.height = 100;
|
4251 |
-
this.options.type = 'thumbs'; // tabs
|
4252 |
-
this.options.hover = false;
|
4253 |
-
|
4254 |
-
|
4255 |
-
$.extend(this.options , options);
|
4256 |
-
|
4257 |
-
this.thumbs = [];
|
4258 |
-
this.index_count = 0;
|
4259 |
-
|
4260 |
-
this.__dimen = this.options.dir === 'h' ? 'width' : 'height';
|
4261 |
-
this.__alignsize = this.options.dir === 'h' ? 'height' : 'width';
|
4262 |
-
this.__jdimen = this.options.dir === 'h' ? 'outerWidth' : 'outerHeight';
|
4263 |
-
this.__pos = this.options.dir === 'h' ? 'left' : 'top';
|
4264 |
-
|
4265 |
-
this.click_enable = true;
|
4266 |
-
|
4267 |
-
};
|
4268 |
-
|
4269 |
-
MSThumblist.extend(BaseControl);
|
4270 |
-
|
4271 |
-
var p = MSThumblist.prototype;
|
4272 |
-
var _super = BaseControl.prototype;
|
4273 |
-
|
4274 |
-
/* -------------------------------- */
|
4275 |
-
|
4276 |
-
p.setup = function(){
|
4277 |
-
this.$element = $('<div></div>')
|
4278 |
-
.addClass(this.options.prefix + 'thumb-list');
|
4279 |
-
|
4280 |
-
if(this.options.type === 'tabs'){
|
4281 |
-
this.$element.addClass(this.options.prefix + 'tabs');
|
4282 |
-
}
|
4283 |
-
|
4284 |
-
this.$element.addClass('ms-dir-' + this.options.dir);
|
4285 |
-
|
4286 |
-
_super.setup.call(this);
|
4287 |
-
|
4288 |
-
|
4289 |
-
if( this.slider.$controlsCont === this.cont ){
|
4290 |
-
this.$element.appendTo(this.slider.$element);
|
4291 |
-
}else{
|
4292 |
-
this.$element.appendTo(this.cont);
|
4293 |
-
}
|
4294 |
-
|
4295 |
-
this.$thumbscont = $('<div></div>')
|
4296 |
-
.addClass('ms-thumbs-cont')
|
4297 |
-
.appendTo(this.$element);
|
4298 |
-
|
4299 |
-
if(this.options.arrows){
|
4300 |
-
var that = this;
|
4301 |
-
this.$fwd = $('<div></div>').addClass('ms-thumblist-fwd').appendTo(this.$element).click(function(){that.controller.push(-15);});
|
4302 |
-
this.$bwd = $('<div></div>').addClass('ms-thumblist-bwd').appendTo(this.$element).click(function(){that.controller.push(15);});
|
4303 |
-
}
|
4304 |
-
|
4305 |
-
// align control
|
4306 |
-
if( !this.options.insetTo && this.options.align ){
|
4307 |
-
var align = this.options.align;
|
4308 |
-
if( this.options.inset ){
|
4309 |
-
this.$element.css(align, this.options.margin );
|
4310 |
-
}else if( align === 'top' ){
|
4311 |
-
this.$element.detach().prependTo(this.slider.$element).css({
|
4312 |
-
'margin-bottom': this.options.margin,
|
4313 |
-
'position': 'relative'
|
4314 |
-
});
|
4315 |
-
}else if( align === 'bottom' ){
|
4316 |
-
this.$element.css({
|
4317 |
-
'margin-top': this.options.margin,
|
4318 |
-
'position': 'relative'
|
4319 |
-
});
|
4320 |
-
}else{
|
4321 |
-
this.slider.api.addEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE, this.align, this);
|
4322 |
-
this.align();
|
4323 |
-
}
|
4324 |
-
|
4325 |
-
if( this.options.dir === 'v' ){
|
4326 |
-
this.$element.width(this.options.width);
|
4327 |
-
}else{
|
4328 |
-
this.$element.height(this.options.height);
|
4329 |
-
}
|
4330 |
-
}
|
4331 |
-
|
4332 |
-
this.checkHideUnder(); // super method
|
4333 |
-
|
4334 |
-
};
|
4335 |
-
|
4336 |
-
/**
|
4337 |
-
* calls by "RESERVED_SPACE_CHANGE" realigns the control in slider
|
4338 |
-
* @since 1.5.7
|
4339 |
-
*/
|
4340 |
-
p.align = function(event){
|
4341 |
-
if( this.detached ){
|
4342 |
-
return;
|
4343 |
-
}
|
4344 |
-
var align = this.options.align;
|
4345 |
-
var pos = this.slider.reserveSpace(align, this.options[this.__alignsize] + this.options.margin * 2);
|
4346 |
-
this.$element.css(align, -pos - this.options[this.__alignsize] - this.options.margin);
|
4347 |
-
};
|
4348 |
-
|
4349 |
-
p.slideAction = function(slide){
|
4350 |
-
var thumb_ele = slide.$element.find('.ms-thumb');
|
4351 |
-
var that = this;
|
4352 |
-
var thumb_frame = $('<div></div>')
|
4353 |
-
.addClass('ms-thumb-frame')
|
4354 |
-
.append(thumb_ele)
|
4355 |
-
.append($('<div class="ms-thumb-ol"></div>'))
|
4356 |
-
.bind(this.options.hover? 'hover' : 'click' , function(){that.changeSlide(thumb_frame);});
|
4357 |
-
|
4358 |
-
if( this.options.align ){
|
4359 |
-
thumb_frame.width(this.options.width - (this.options.dir === 'v' && this.options.type === 'tabs' ? 12 : 0)) // less arrow size 12px
|
4360 |
-
.height(this.options.height)
|
4361 |
-
.css('margin-'+(this.options.dir === 'v' ? 'bottom' : 'right'), this.options.space);
|
4362 |
-
}
|
4363 |
-
|
4364 |
-
thumb_frame[0].index = this.index_count ++;
|
4365 |
-
|
4366 |
-
this.$thumbscont.append(thumb_frame);
|
4367 |
-
|
4368 |
-
// Added Fillmode support to thumblist
|
4369 |
-
// @since 1.6.0
|
4370 |
-
if( this.options.fillMode && thumb_ele.is('img') ){
|
4371 |
-
var aligner = new window.MSAligner(this.options.fillMode, thumb_frame, thumb_ele);
|
4372 |
-
thumb_ele[0].aligner = aligner;
|
4373 |
-
thumb_ele.one('load', function(e){
|
4374 |
-
var $this = $(this);
|
4375 |
-
$this[0].aligner.init($this.width(), $this.height());
|
4376 |
-
$this[0].aligner.align();
|
4377 |
-
}).each($.jqLoadFix);
|
4378 |
-
}
|
4379 |
-
|
4380 |
-
if(
|
4381 |
-
thumb_ele.on('dragstart', function(event) { event.preventDefault(); }); // disable native dragging
|
4382 |
-
|
4383 |
-
this.thumbs.push(thumb_frame);
|
4384 |
-
};
|
4385 |
-
|
4386 |
-
p.create = function(){
|
4387 |
-
_super.create.call(this);
|
4388 |
-
|
4389 |
-
this.__translate_end = window._css3d ? ' translateZ(0px)' : '';
|
4390 |
-
this.controller = new Controller(0 , 0 , {
|
4391 |
-
//snapping : true,
|
4392 |
-
snappingMinSpeed : 2,
|
4393 |
-
friction : (100 - this.options.speed * 0.5) / 100
|
4394 |
-
});
|
4395 |
-
|
4396 |
-
this.controller.renderCallback(this.options.dir === 'h'? this._hMove : this._vMove , this);
|
4397 |
-
//this.controller.snappingCallback(this.__snapUpdate , this);
|
4398 |
-
//this.controller.snapCompleteCallback(this.__snapCompelet , this);
|
4399 |
-
|
4400 |
-
var that = this;
|
4401 |
-
this.resize_listener = function(){that.__resize();};
|
4402 |
-
$(window).bind('resize', this.resize_listener);
|
4403 |
-
|
4404 |
-
this.thumbSize = this.thumbs[0][this.__jdimen](true);
|
4405 |
-
|
4406 |
-
this.setupSwipe();
|
4407 |
-
this.__resize();
|
4408 |
-
|
4409 |
-
var that = this;
|
4410 |
-
if(this.options.wheel){
|
4411 |
-
|
4412 |
-
this.wheellistener = function(event){
|
4413 |
-
var e = window.event || event.orginalEvent || event;
|
4414 |
-
var delta = Math.max(-1, Math.min(1, (e.wheelDelta || -e.detail)));
|
4415 |
-
that.controller.push(-delta*10);
|
4416 |
-
return false;
|
4417 |
-
};
|
4418 |
-
|
4419 |
-
if(
|
4420 |
-
else this.$element.bind('mousewheel', this.wheellistener);
|
4421 |
-
}
|
4422 |
-
|
4423 |
-
this.slider.api.addEventListener(MSSliderEvent.CHANGE_START , this.update , this);
|
4424 |
-
this.slider.api.addEventListener(MSSliderEvent.HARD_UPDATE, this.realignThumbs, this);
|
4425 |
-
this.cindex = this.slider.api.index();
|
4426 |
-
this.select(this.thumbs[this.cindex]);
|
4427 |
-
|
4428 |
-
|
4429 |
-
};
|
4430 |
-
|
4431 |
-
p._hMove = function(controller , value){
|
4432 |
-
this.__contPos = value;
|
4433 |
-
if(window._cssanim) {
|
4434 |
-
this.$thumbscont[0].style[window._jcsspfx + 'Transform'] = 'translateX('+-value+'px)'+ this.__translate_end;
|
4435 |
-
return;
|
4436 |
-
}
|
4437 |
-
this.$thumbscont[0].style.left = -value + 'px';
|
4438 |
-
};
|
4439 |
-
|
4440 |
-
p._vMove = function(controller , value){
|
4441 |
-
this.__contPos = value;
|
4442 |
-
if(window._cssanim) {
|
4443 |
-
this.$thumbscont[0].style[window._jcsspfx + 'Transform'] = 'translateY('+-value+'px)'+ this.__translate_end;
|
4444 |
-
return;
|
4445 |
-
}
|
4446 |
-
this.$thumbscont[0].style.top = -value + 'px';
|
4447 |
-
};
|
4448 |
-
|
4449 |
-
p.setupSwipe = function(){
|
4450 |
-
this.swipeControl = new averta.TouchSwipe(this.$element);
|
4451 |
-
this.swipeControl.swipeType = this.options.dir === 'h'? 'horizontal' : 'vertical';
|
4452 |
-
|
4453 |
-
var that = this;
|
4454 |
-
if(this.options.dir === 'h')
|
4455 |
-
this.swipeControl.onSwipe = function(status){that.horizSwipeMove(status);};
|
4456 |
-
else
|
4457 |
-
this.swipeControl.onSwipe = function(status){that.vertSwipeMove(status);};
|
4458 |
-
};
|
4459 |
-
|
4460 |
-
p.vertSwipeMove = function(status){
|
4461 |
-
if(this.dTouch) return;
|
4462 |
-
var phase = status.phase;
|
4463 |
-
if(phase === 'start')
|
4464 |
-
this.controller.stop();
|
4465 |
-
else if(phase === 'move')
|
4466 |
-
this.controller.drag(status.moveY);
|
4467 |
-
else if(phase === 'end' || phase === 'cancel'){
|
4468 |
-
var speed = Math.abs(status.distanceY / status.duration * 50/3);
|
4469 |
-
if(speed > 0.1){
|
4470 |
-
this.controller.push(-status.distanceY / status.duration * 50/3 );
|
4471 |
-
}else{
|
4472 |
-
this.click_enable = true;
|
4473 |
-
this.controller.cancel();
|
4474 |
-
}
|
4475 |
-
}
|
4476 |
-
};
|
4477 |
-
|
4478 |
-
p.horizSwipeMove = function(status){
|
4479 |
-
if(this.dTouch) return;
|
4480 |
-
var phase = status.phase;
|
4481 |
-
if(phase === 'start'){
|
4482 |
-
this.controller.stop();
|
4483 |
-
this.click_enable = false;
|
4484 |
-
}else if(phase === 'move')
|
4485 |
-
this.controller.drag(status.moveX);
|
4486 |
-
else if(phase === 'end' || phase === 'cancel'){
|
4487 |
-
var speed = Math.abs(status.distanceX / status.duration * 50/3);
|
4488 |
-
if(speed > 0.1){
|
4489 |
-
this.controller.push(-status.distanceX / status.duration * 50/3 );
|
4490 |
-
}else {
|
4491 |
-
this.click_enable = true;
|
4492 |
-
this.controller.cancel();
|
4493 |
-
}
|
4494 |
-
}
|
4495 |
-
};
|
4496 |
-
|
4497 |
-
p.update = function(){
|
4498 |
-
var nindex = this.slider.api.index();
|
4499 |
-
if(this.cindex === nindex) return;
|
4500 |
-
|
4501 |
-
if(this.cindex != null)this.unselect(this.thumbs[this.cindex]);
|
4502 |
-
this.cindex = nindex;
|
4503 |
-
this.select(this.thumbs[this.cindex]);
|
4504 |
-
|
4505 |
-
if(!this.dTouch)this.updateThumbscroll();
|
4506 |
-
};
|
4507 |
-
|
4508 |
-
p.realignThumbs = function () {
|
4509 |
-
this.$element.find('.ms-thumb').each( function (index, thumb) {
|
4510 |
-
if ( thumb.aligner ) {
|
4511 |
-
thumb.aligner.align();
|
4512 |
-
}
|
4513 |
-
} );
|
4514 |
-
};
|
4515 |
-
|
4516 |
-
p.updateThumbscroll = function(){
|
4517 |
-
var thumb_size;
|
4518 |
-
|
4519 |
-
var pos = this.thumbSize * this.cindex;
|
4520 |
-
|
4521 |
-
if(this.controller.value == NaN) this.controller.value = 0;
|
4522 |
-
|
4523 |
-
if(pos - this.controller.value < 0){
|
4524 |
-
this.controller.gotoSnap(this.cindex , true);
|
4525 |
-
return;
|
4526 |
-
}
|
4527 |
-
|
4528 |
-
if(pos + this.thumbSize - this.controller.value > this.$element[this.__dimen]()){
|
4529 |
-
var first_snap = this.cindex - Math.floor(this.$element[this.__dimen]() / this.thumbSize) + 1;
|
4530 |
-
this.controller.gotoSnap(first_snap , true);
|
4531 |
-
return;
|
4532 |
-
}
|
4533 |
-
};
|
4534 |
-
|
4535 |
-
p.changeSlide = function(thumb){
|
4536 |
-
if(!this.click_enable || this.cindex === thumb[0].index) return;
|
4537 |
-
this.slider.api.gotoSlide(thumb[0].index);
|
4538 |
-
};
|
4539 |
-
|
4540 |
-
p.unselect = function(ele){
|
4541 |
-
ele.removeClass('ms-thumb-frame-selected');
|
4542 |
-
};
|
4543 |
-
|
4544 |
-
p.select = function(ele){
|
4545 |
-
ele.addClass('ms-thumb-frame-selected');
|
4546 |
-
};
|
4547 |
-
|
4548 |
-
p.__resize = function(){
|
4549 |
-
var size = this.$element[this.__dimen]();
|
4550 |
-
|
4551 |
-
if(this.ls === size) return;
|
4552 |
-
|
4553 |
-
this.ls = size;
|
4554 |
-
|
4555 |
-
this.thumbSize = this.thumbs[0][this.__jdimen](true);
|
4556 |
-
var len = this.slider.api.count() * this.thumbSize;
|
4557 |
-
this.$thumbscont[0].style[this.__dimen] = len + 'px';
|
4558 |
-
|
4559 |
-
if(len <= size){
|
4560 |
-
this.dTouch = true;
|
4561 |
-
this.controller.stop();
|
4562 |
-
this.$thumbscont[0].style[this.__pos] = (size - len)*.5 + 'px';
|
4563 |
-
this.$thumbscont[0].style[window._jcsspfx + 'Transform'] = '';
|
4564 |
-
}else{
|
4565 |
-
this.dTouch = false;
|
4566 |
-
this.click_enable = true;
|
4567 |
-
this.$thumbscont[0].style[this.__pos] = '';
|
4568 |
-
this.controller._max_value = len - size;
|
4569 |
-
this.controller.options.snapsize = this.thumbSize;
|
4570 |
-
this.updateThumbscroll();
|
4571 |
-
}
|
4572 |
-
|
4573 |
-
};
|
4574 |
-
|
4575 |
-
p.destroy = function(){
|
4576 |
-
_super.destroy();
|
4577 |
-
|
4578 |
-
if(this.options.wheel){
|
4579 |
-
if(
|
4580 |
-
else this.$element.unbind('mousewheel', this.wheellistener);
|
4581 |
-
this.wheellistener = null;
|
4582 |
-
}
|
4583 |
-
|
4584 |
-
$(window).unbind('resize', this.resize_listener);
|
4585 |
-
|
4586 |
-
this.$element.remove();
|
4587 |
-
|
4588 |
-
this.slider.api.removeEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE, this.align, this);
|
4589 |
-
this.slider.api.removeEventListener(MSSliderEvent.CHANGE_START , this.update , this);
|
4590 |
-
};
|
4591 |
-
|
4592 |
-
window.MSThumblist = MSThumblist;
|
4593 |
-
MSSlideController.registerControl('thumblist' , MSThumblist);
|
4594 |
-
|
4595 |
})(jQuery);
|
4596 |
|
4597 |
/* ================== bin-debug/js/lite/uicontrols/Bullets.js =================== */
|
1 |
/*!
|
2 |
* Master Slider – Responsive Touch Swipe Slider [lite version]
|
3 |
+
* Copyright © 2020 All Rights Reserved.
|
4 |
*
|
5 |
* @author Averta [www.averta.net]
|
6 |
+
* @version 2.80.6
|
7 |
+
* @date Dec 2020
|
8 |
*/
|
9 |
|
10 |
|
11 |
/* ================== bin-debug/js/lite/tools/base.js =================== */
|
12 |
+
window.averta = {};
|
13 |
+
|
14 |
+
;(function($){
|
15 |
+
|
16 |
+
//"use strict";
|
17 |
+
|
18 |
+
window.package = function(name){
|
19 |
+
if(!window[name]) window[name] = {};
|
20 |
+
};
|
21 |
+
|
22 |
+
var extend = function(target , object){
|
23 |
+
for(var key in object) target[key] = object[key];
|
24 |
+
};
|
25 |
+
|
26 |
+
Function.prototype.extend = function(superclass){
|
27 |
+
if(typeof superclass.prototype.constructor === "function"){
|
28 |
+
extend(this.prototype , superclass.prototype);
|
29 |
+
this.prototype.constructor = this;
|
30 |
+
}else{
|
31 |
+
this.prototype.extend(superclass);
|
32 |
+
this.prototype.constructor = this;
|
33 |
+
}
|
34 |
+
};
|
35 |
+
|
36 |
+
// Converts JS prefix to CSS prefix
|
37 |
+
var trans = {
|
38 |
+
'Moz' : '-moz-',
|
39 |
+
'Webkit' : '-webkit-',
|
40 |
+
'Khtml' : '-khtml-' ,
|
41 |
+
'O' : '-o-',
|
42 |
+
'ms' : '-ms-',
|
43 |
+
'Icab' : '-icab-'
|
44 |
+
};
|
45 |
+
|
46 |
+
window._mobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)
|
47 |
+
window._touch = 'ontouchstart' in document;
|
48 |
+
$(document).ready(function(){
|
49 |
+
window._jcsspfx = getVendorPrefix(); // JS CSS VendorPrefix
|
50 |
+
window._csspfx = trans[window._jcsspfx]; // CSS VendorPrefix
|
51 |
+
window._cssanim = supportsTransitions();
|
52 |
+
window._css3d = supports3DTransforms();
|
53 |
+
window._css2d = supportsTransforms();
|
54 |
+
});
|
55 |
+
|
56 |
+
|
57 |
+
// Thanks to LEA VEROU
|
58 |
+
// http://lea.verou.me/2009/02/find-the-vendor-prefix-of-the-current-browser/
|
59 |
+
function getVendorPrefix() {
|
60 |
+
|
61 |
+
if('result' in arguments.callee) return arguments.callee.result;
|
62 |
+
|
63 |
+
var regex = /^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/;
|
64 |
+
|
65 |
+
var someScript = document.getElementsByTagName('script')[0];
|
66 |
+
|
67 |
+
for(var prop in someScript.style){
|
68 |
+
if(regex.test(prop)){
|
69 |
+
return arguments.callee.result = prop.match(regex)[0];
|
70 |
+
}
|
71 |
+
}
|
72 |
+
|
73 |
+
if('WebkitOpacity' in someScript.style) return arguments.callee.result = 'Webkit';
|
74 |
+
if('KhtmlOpacity' in someScript.style) return arguments.callee.result = 'Khtml';
|
75 |
+
|
76 |
+
return arguments.callee.result = '';
|
77 |
+
}
|
78 |
+
|
79 |
+
|
80 |
+
// Thanks to Steven Benner.
|
81 |
+
// http://stevenbenner.com/2010/03/javascript-regex-trick-parse-a-query-string-into-an-object/
|
82 |
+
window.parseQueryString = function(url){
|
83 |
+
var queryString = {};
|
84 |
+
url.replace(
|
85 |
+
new RegExp("([^?=&]+)(=([^&]*))?", "g"),
|
86 |
+
function($0, $1, $2, $3) { queryString[$1] = $3; }
|
87 |
+
);
|
88 |
+
|
89 |
+
return queryString;
|
90 |
+
};
|
91 |
+
|
92 |
+
function checkStyleValue(prop){
|
93 |
+
var b = document.body || document.documentElement;
|
94 |
+
var s = b.style;
|
95 |
+
var p = prop;
|
96 |
+
if(typeof s[p] == 'string') {return true; }
|
97 |
+
|
98 |
+
// Tests for vendor specific prop
|
99 |
+
v = ['Moz', 'Webkit', 'Khtml', 'O', 'ms'],
|
100 |
+
p = p.charAt(0).toUpperCase() + p.substr(1);
|
101 |
+
for(var i=0; i<v.length; i++) {
|
102 |
+
if(typeof s[v[i] + p] == 'string') { return true; }
|
103 |
+
}
|
104 |
+
return false;
|
105 |
+
}
|
106 |
+
|
107 |
+
function supportsTransitions() {
|
108 |
+
return checkStyleValue('transition');
|
109 |
+
}
|
110 |
+
|
111 |
+
function supportsTransforms(){
|
112 |
+
return checkStyleValue('transform');
|
113 |
+
}
|
114 |
+
|
115 |
+
function supports3DTransforms(){
|
116 |
+
if(!supportsTransforms()) return false;
|
117 |
+
var el = document.createElement('i'),
|
118 |
+
has3d,
|
119 |
+
transforms = {
|
120 |
+
'WebkitTransform':'-webkit-transform',
|
121 |
+
'OTransform':'-o-transform',
|
122 |
+
'MSTransform':'-ms-transform',
|
123 |
+
'msTransform':'-ms-transform',
|
124 |
+
'MozTransform':'-moz-transform',
|
125 |
+
'Transform':'transform',
|
126 |
+
'transform':'transform'
|
127 |
+
};
|
128 |
+
|
129 |
+
el.style.display = 'block';
|
130 |
+
|
131 |
+
// Add it to the body to get the computed style
|
132 |
+
document.body.insertBefore(el, null);
|
133 |
+
|
134 |
+
for(var t in transforms){
|
135 |
+
if( el.style[t] !== undefined ){
|
136 |
+
el.style[t] = 'translate3d(1px,1px,1px)';
|
137 |
+
has3d = window.getComputedStyle(el).getPropertyValue(transforms[t]);
|
138 |
+
}
|
139 |
+
}
|
140 |
+
|
141 |
+
document.body.removeChild(el);
|
142 |
+
|
143 |
+
return (has3d != null && has3d.length > 0 && has3d !== "none");
|
144 |
+
}
|
145 |
+
|
146 |
+
/**
|
147 |
+
* Provides requestAnimationFrame in a cross browser way.
|
148 |
+
* @author paulirish / http://paulirish.com/
|
149 |
+
*/
|
150 |
+
var fps60 = 50/3;
|
151 |
+
|
152 |
+
if ( !window.requestAnimationFrame ) {
|
153 |
+
|
154 |
+
window.requestAnimationFrame = ( function() {
|
155 |
+
|
156 |
+
return window.webkitRequestAnimationFrame ||
|
157 |
+
window.mozRequestAnimationFrame ||
|
158 |
+
window.oRequestAnimationFrame ||
|
159 |
+
window.msRequestAnimationFrame ||
|
160 |
+
function( /* function FrameRequestCallback */ callback, /* DOMElement Element */ element ) {
|
161 |
+
|
162 |
+
window.setTimeout( callback, fps60 );
|
163 |
+
|
164 |
+
};
|
165 |
+
|
166 |
+
} )();
|
167 |
+
|
168 |
+
}
|
169 |
+
|
170 |
+
if (!window.getComputedStyle) {
|
171 |
+
window.getComputedStyle = function(el, pseudo) {
|
172 |
+
this.el = el;
|
173 |
+
this.getPropertyValue = function(prop) {
|
174 |
+
var re = /(\-([a-z]){1})/g;
|
175 |
+
if (prop == 'float') prop = 'styleFloat';
|
176 |
+
if (re.test(prop)) {
|
177 |
+
prop = prop.replace(re, function () {
|
178 |
+
return arguments[2].toUpperCase();
|
179 |
+
});
|
180 |
+
}
|
181 |
+
return el.currentStyle[prop] ? el.currentStyle[prop] : null;
|
182 |
+
};
|
183 |
+
return el.currentStyle;
|
184 |
+
};
|
185 |
+
}
|
186 |
+
|
187 |
+
// IE8 Array indexOf fix
|
188 |
+
if (!Array.prototype.indexOf) {
|
189 |
+
Array.prototype.indexOf = function(elt /*, from*/) {
|
190 |
+
var len = this.length >>> 0;
|
191 |
+
|
192 |
+
var from = Number(arguments[1]) || 0;
|
193 |
+
from = (from < 0)
|
194 |
+
? Math.ceil(from)
|
195 |
+
: Math.floor(from);
|
196 |
+
if (from < 0)
|
197 |
+
from += len;
|
198 |
+
|
199 |
+
for (; from < len; from++)
|
200 |
+
{
|
201 |
+
if (from in this &&
|
202 |
+
this[from] === elt)
|
203 |
+
return from;
|
204 |
+
}
|
205 |
+
return -1;
|
206 |
+
};
|
207 |
+
}
|
208 |
+
|
209 |
+
|
210 |
+
/**
|
211 |
+
* check ie browser
|
212 |
+
* @param {Number | string} version
|
213 |
+
* @return {Boolean}
|
214 |
+
*/
|
215 |
+
window.isMSIE = function ( version ) {
|
216 |
+
if ( !window.MSBrowserInfo.msie ) {
|
217 |
+
return false;
|
218 |
+
} else if ( !version ) {
|
219 |
+
return true;
|
220 |
+
}
|
221 |
+
var ieVer = window.MSBrowserInfo.version.slice(0 , window.MSBrowserInfo.version.indexOf('.'));
|
222 |
+
if ( typeof version === 'string' ) {
|
223 |
+
if ( version.indexOf('<') !== -1 || version.indexOf('>') !== -1) {
|
224 |
+
return eval( ieVer + version );
|
225 |
+
} else {
|
226 |
+
return eval( version + '==' + ieVer );
|
227 |
+
}
|
228 |
+
} else {
|
229 |
+
return version == ieVer;
|
230 |
+
}
|
231 |
+
}
|
232 |
+
|
233 |
+
$.removeDataAttrs = function($target, exclude) {
|
234 |
+
var i,
|
235 |
+
attrName,
|
236 |
+
dataAttrsToDelete = [],
|
237 |
+
dataAttrs = $target[0].attributes,
|
238 |
+
dataAttrsLen = dataAttrs.length;
|
239 |
+
|
240 |
+
exclude = exclude || [];
|
241 |
+
|
242 |
+
// loop through attributes and make a list of those
|
243 |
+
// that begin with 'data-'
|
244 |
+
for (i=0; i<dataAttrsLen; i++) {
|
245 |
+
attrName = dataAttrs[i].name;
|
246 |
+
if ( 'data-' === attrName.substring(0,5) && exclude.indexOf(attrName) === -1 ) {
|
247 |
+
// Why don't you just delete the attributes here?
|
248 |
+
// Deleting an attribute changes the indices of the
|
249 |
+
// others wreaking havoc on the loop we are inside
|
250 |
+
// b/c dataAttrs is a NamedNodeMap (not an array or obj)
|
251 |
+
dataAttrsToDelete.push(dataAttrs[i].name);
|
252 |
+
}
|
253 |
+
}
|
254 |
+
// delete each of the attributes we found above
|
255 |
+
// i.e. those that start with "data-"
|
256 |
+
$.each( dataAttrsToDelete, function( index, attrName ) {
|
257 |
+
$target.removeAttr( attrName );
|
258 |
+
})
|
259 |
+
};
|
260 |
+
|
261 |
+
if(jQuery){
|
262 |
+
$.jqLoadFix = function(){
|
263 |
+
if(this.complete){
|
264 |
+
var that = this;
|
265 |
+
setTimeout(function(){$(that).trigger('load');} , 1);
|
266 |
+
}
|
267 |
+
};
|
268 |
+
|
269 |
+
jQuery.uaMatch = jQuery.uaMatch || function( ua ) {
|
270 |
+
ua = ua.toLowerCase();
|
271 |
+
|
272 |
+
var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) ||
|
273 |
+
/(webkit)[ \/]([\w.]+)/.exec( ua ) ||
|
274 |
+
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) ||
|
275 |
+
/(msie) ([\w.]+)/.exec( ua ) ||
|
276 |
+
ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) ||
|
277 |
+
[];
|
278 |
+
|
279 |
+
return {
|
280 |
+
browser: match[ 1 ] || "",
|
281 |
+
version: match[ 2 ] || "0"
|
282 |
+
};
|
283 |
+
};
|
284 |
+
|
285 |
+
// Don't clobber any existing jQuery.browser in case it's different
|
286 |
+
//if ( !jQuery.browser ) {
|
287 |
+
matched = jQuery.uaMatch( navigator.userAgent );
|
288 |
+
browser = {};
|
289 |
+
|
290 |
+
if ( matched.browser ) {
|
291 |
+
browser[ matched.browser ] = true;
|
292 |
+
browser.version = matched.version;
|
293 |
+
}
|
294 |
+
|
295 |
+
// Chrome is Webkit, but Webkit is also Safari.
|
296 |
+
if ( browser.chrome ) {
|
297 |
+
browser.webkit = true;
|
298 |
+
} else if ( browser.webkit ) {
|
299 |
+
browser.safari = true;
|
300 |
+
}
|
301 |
+
|
302 |
+
// hofix for IE11 detection
|
303 |
+
var isIE11 = !!navigator.userAgent.match(/Trident\/7\./);
|
304 |
+
if (isIE11) {
|
305 |
+
browser.msie = "true";
|
306 |
+
delete browser.mozilla;
|
307 |
+
}
|
308 |
+
|
309 |
+
window.MSBrowserInfo = browser;
|
310 |
+
|
311 |
+
//}
|
312 |
+
|
313 |
+
$.fn.preloadImg = function(src , _event){
|
314 |
+
this.each(function(){
|
315 |
+
var $this = $(this);
|
316 |
+
var self = this;
|
317 |
+
var img = new Image();
|
318 |
+
img.onload = function(event){
|
319 |
+
if(event == null) event = {}; // IE8
|
320 |
+
$this.attr('src' , src);
|
321 |
+
event.width = img.width;
|
322 |
+
event.height = img.height;
|
323 |
+
$this.data('width', img.width);
|
324 |
+
$this.data('height', img.height);
|
325 |
+
setTimeout(function(){_event.call(self , event);},50);
|
326 |
+
img = null;
|
327 |
+
};
|
328 |
+
img.src = src;
|
329 |
+
});
|
330 |
+
return this;
|
331 |
+
};
|
332 |
+
}
|
333 |
})(jQuery);
|
334 |
|
335 |
/* ================== bin-debug/js/lite/tools/EventDispatcher.js =================== */
|
991 |
})();
|
992 |
|
993 |
/* ================== bin-debug/js/lite/tools/Aligner.js =================== */
|
994 |
+
;(function(){
|
995 |
+
|
996 |
+
"use strict";
|
997 |
+
|
998 |
+
window.MSAligner = function(type , $container , $img ){
|
999 |
+
|
1000 |
+
this.$container = $container;
|
1001 |
+
this.$img = $img;
|
1002 |
+
|
1003 |
+
this.type = type || 'stretch'; // fill , fit , stretch , tile , center
|
1004 |
+
|
1005 |
+
this.widthOnly = false;
|
1006 |
+
this.heightOnly = false;
|
1007 |
+
};
|
1008 |
+
|
1009 |
+
var p = MSAligner.prototype;
|
1010 |
+
|
1011 |
+
/*-------------- METHODS --------------*/
|
1012 |
+
|
1013 |
+
p.init = function(w , h){
|
1014 |
+
|
1015 |
+
this.baseWidth = w;
|
1016 |
+
this.baseHeight = h;
|
1017 |
+
this.imgRatio = w / h;
|
1018 |
+
this.imgRatio2 = h / w;
|
1019 |
+
|
1020 |
+
switch(this.type){
|
1021 |
+
case 'tile':
|
1022 |
+
this.$container.css('background-image' , 'url('+ this.$img.attr('src') +')');
|
1023 |
+
this.$img.remove();
|
1024 |
+
break;
|
1025 |
+
case 'center':
|
1026 |
+
this.$container.css('background-image' , 'url('+ this.$img.attr('src') +')');
|
1027 |
+
this.$container.css({
|
1028 |
+
backgroundPosition : 'center center',
|
1029 |
+
backgroundRepeat : 'no-repeat'
|
1030 |
+
});
|
1031 |
+
this.$img.remove();
|
1032 |
+
break;
|
1033 |
+
case 'stretch':
|
1034 |
+
this.$img.css({
|
1035 |
+
width : '100%',
|
1036 |
+
height : '100%'
|
1037 |
+
});
|
1038 |
+
break;
|
1039 |
+
case 'fill':
|
1040 |
+
case 'fit' :
|
1041 |
+
this.needAlign = true;
|
1042 |
+
this.align();
|
1043 |
+
break;
|
1044 |
+
}
|
1045 |
+
|
1046 |
+
};
|
1047 |
+
|
1048 |
+
p.align = function(){
|
1049 |
+
if(!this.needAlign) return;
|
1050 |
+
|
1051 |
+
var cont_w = this.$container[0].offsetWidth;
|
1052 |
+
var cont_h = this.$container[0].offsetHeight;
|
1053 |
+
|
1054 |
+
var contRatio = cont_w / cont_h;
|
1055 |
+
|
1056 |
+
if(this.type == 'fill'){
|
1057 |
+
if(this.imgRatio < contRatio ){
|
1058 |
+
this.$img.width(cont_w);
|
1059 |
+
this.$img.height(cont_w * this.imgRatio2);
|
1060 |
+
}else{
|
1061 |
+
this.$img.height(cont_h);
|
1062 |
+
this.$img.width(cont_h * this.imgRatio);
|
1063 |
+
}
|
1064 |
+
|
1065 |
+
}else if(this.type == 'fit'){
|
1066 |
+
|
1067 |
+
if(this.imgRatio < contRatio){
|
1068 |
+
this.$img.height(cont_h);
|
1069 |
+
this.$img.width(cont_h * this.imgRatio);
|
1070 |
+
}else{
|
1071 |
+
this.$img.width(cont_w);
|
1072 |
+
this.$img.height(cont_w * this.imgRatio2);
|
1073 |
+
}
|
1074 |
+
}
|
1075 |
+
|
1076 |
+
this.setMargin();
|
1077 |
+
|
1078 |
+
};
|
1079 |
+
|
1080 |
+
p.setMargin = function(){
|
1081 |
+
|
1082 |
+
var cont_w = this.$container[0].offsetWidth;
|
1083 |
+
var cont_h = this.$container[0].offsetHeight;
|
1084 |
+
|
1085 |
+
this.$img.css('margin-top' , (cont_h - this.$img[0].offsetHeight) / 2 + 'px');
|
1086 |
+
this.$img.css('margin-left', (cont_w - this.$img[0].offsetWidth ) / 2 + 'px');
|
1087 |
+
}
|
1088 |
+
|
1089 |
})();
|
1090 |
|
1091 |
/* ================== bin-debug/js/lite/controls/controller.js =================== */
|
1562 |
this.autoAppend = true;
|
1563 |
this.isSleeping = true;
|
1564 |
|
1565 |
+
this.moz = window.MSBrowserInfo.mozilla;
|
1566 |
};
|
1567 |
|
1568 |
var p = MSSlide.prototype;
|
1726 |
|
1727 |
this.bgLoaded = true;
|
1728 |
|
1729 |
+
if ( window.MSBrowserInfo.msie ) {
|
1730 |
this.$bg_img.on('dragstart', function(event) { event.preventDefault(); }); // disables native dragging
|
1731 |
}
|
1732 |
|
2142 |
//this.view.slideDuration = this.so.duration;
|
2143 |
|
2144 |
var viewClass = SliderViewList[this.slider.options.view] || MSBasicView;
|
2145 |
+
if(viewClass._3dreq && (!window._css3d || window.MSBrowserInfo.msie) ) viewClass = viewClass._fallback || MSBasicView;
|
2146 |
|
2147 |
this.view = new viewClass(viewOptions);
|
2148 |
|
2413 |
|
2414 |
var delta = Math.abs(e.detail || e.wheelDelta);
|
2415 |
|
2416 |
+
if ( window.MSBrowserInfo.mozilla ) {
|
2417 |
delta *= 100;
|
2418 |
}
|
2419 |
|
2435 |
return false;
|
2436 |
};
|
2437 |
|
2438 |
+
if(window.MSBrowserInfo.mozilla) this.slider.$element[0].addEventListener('DOMMouseScroll' , this.wheellistener);
|
2439 |
else this.slider.$element.bind('mousewheel', this.wheellistener);
|
2440 |
}
|
2441 |
|
2453 |
// return false;
|
2454 |
// };
|
2455 |
|
2456 |
+
// if(window.MSBrowserInfo.mozilla) this.slider.$element[0].addEventListener('DOMMouseScroll' , this.wheellistener);
|
2457 |
// else this.slider.$element.bind('mousewheel', this.wheellistener);
|
2458 |
// }
|
2459 |
|
2502 |
this.view = null;
|
2503 |
|
2504 |
if(this.so.wheel){
|
2505 |
+
if(window.MSBrowserInfo.mozilla) this.slider.$element[0].removeEventListener('DOMMouseScroll' , this.wheellistener);
|
2506 |
else this.slider.$element.unbind('mousewheel', this.wheellistener);
|
2507 |
this.wheellistener = null;
|
2508 |
}
|
2619 |
rtl : false, // @since 1.8.0, Whether Right-to-left direction slider.
|
2620 |
deepLink : null, // @since 2.1.0, null value disables slider deep-linking any string values identifies the slider in page's url like /#msslider-1
|
2621 |
deepLinkType : 'path', // @since 2.1.0, type of hash value in page's url possible values, path and query ( #gallery/1 || #gallery=4 )
|
2622 |
+
disablePlugins : [], // @since 2.9.6, list of disabled Master Slider plugin names for this instance.
|
2623 |
+
responsive : true,
|
2624 |
+
tabletWidth : 768,
|
2625 |
+
tabletHeight : null,
|
2626 |
+
phoneWidth : 480,
|
2627 |
+
phoneHeight : null,
|
2628 |
+
sizingReference : 'window', // window
|
2629 |
};
|
2630 |
|
2631 |
this.slides = [];
|
2651 |
};
|
2652 |
|
2653 |
MasterSlider.author = 'Averta Ltd. (www.averta.net)';
|
2654 |
+
MasterSlider.version = '2.80.6';
|
2655 |
+
MasterSlider.releaseDate = 'Dec 2020';
|
2656 |
|
2657 |
// Master Slider plugins.
|
2658 |
MasterSlider._plugins = []
|
2905 |
$view.removeClass('ms-grab-cursor');
|
2906 |
$view.addClass('ms-grabbing-cursor');
|
2907 |
|
2908 |
+
if ( window.MSBrowserInfo.msie && window.ms_grabbing_curosr ) {
|
2909 |
$view[0].style.cursor = 'url(' + window.ms_grabbing_curosr + '), move';
|
2910 |
}
|
2911 |
|
2915 |
$view.removeClass('ms-grabbing-cursor');
|
2916 |
$view.addClass('ms-grab-cursor');
|
2917 |
|
2918 |
+
if ( window.MSBrowserInfo.msie && window.ms_grab_curosr ) {
|
2919 |
$view[0].style.cursor = 'url(' + window.ms_grab_curosr + '), move';
|
2920 |
}
|
2921 |
|
3049 |
|
3050 |
// IE prefix class
|
3051 |
// add browser prefix class name
|
3052 |
+
if(window.MSBrowserInfo.msie){
|
3053 |
this.$element.addClass('ms-ie')
|
3054 |
+
.addClass('ms-ie' + window.MSBrowserInfo.version.slice(0 , window.MSBrowserInfo.version.indexOf('.')));
|
3055 |
+
} else if ( window.MSBrowserInfo.webkit ) {
|
3056 |
this.$element.addClass('ms-wk');
|
3057 |
+
} else if ( window.MSBrowserInfo.mozilla ) {
|
3058 |
this.$element.addClass('ms-moz');
|
3059 |
}
|
3060 |
|
3071 |
|
3072 |
this.aspect = this.options.width / this.options.height;
|
3073 |
|
3074 |
+
this.responsiveWidth = [this.options.phoneWidth, this.options.tabletWidth, this.options.width];
|
3075 |
+
this.responsiveHeight = [this.options.phoneHeight, this.options.tabletHeight, this.options.height];
|
3076 |
+
this.responsiveAspect = [this.options.phoneWidth / this.options.phoneHeight, this.options.tabletWidth / this.options.tabletHeight, this.options.width / this.options.height ];
|
3077 |
+
|
3078 |
this.$loading = $('<div></div>').
|
3079 |
addClass('ms-loading-container').
|
3080 |
insertBefore(this.$element).
|
3120 |
});
|
3121 |
|
3122 |
return this;
|
3123 |
+
};
|
3124 |
|
3125 |
+
p.getActiveBreakpoint = function(getIndex) {
|
3126 |
+
var bpList = ['phone', 'tablet', 'desktop'];
|
3127 |
+
var bpSizes = [
|
3128 |
+
this.options.phoneWidth || 480,
|
3129 |
+
this.options.tabletWidth || 768,
|
3130 |
+
this.options.width
|
3131 |
+
];
|
3132 |
+
|
3133 |
+
var currentSize = this.options.sizingReference === 'self' ? this.$element.outerWidth(false) : window.innerWidth;
|
3134 |
+
var bp = 'desktop';
|
3135 |
+
var bpIndex = 2;
|
3136 |
+
|
3137 |
+
bpSizes.every(function(size, index) {
|
3138 |
+
if ( size >= currentSize ) {
|
3139 |
+
bp = bpList[index];
|
3140 |
+
bpIndex = index;
|
3141 |
+
return false;
|
3142 |
+
}
|
3143 |
+
|
3144 |
+
return true;
|
3145 |
+
}.bind(this));
|
3146 |
+
|
3147 |
+
return getIndex ? bpIndex : bp;
|
3148 |
+
};
|
3149 |
+
|
3150 |
+
p.getBreakpointReferenceSize = function() {
|
3151 |
+
var bp = this.getActiveBreakpoint();
|
3152 |
+
if ( bp === 'desktop' ) {
|
3153 |
+
return this.options.width;
|
3154 |
+
}
|
3155 |
+
|
3156 |
+
return this.options[bp + 'Width'];
|
3157 |
+
}
|
3158 |
+
|
3159 |
+
p.getResponsiveValue = function(repsVal) {
|
3160 |
+
var bpIndex = this.getActiveBreakpoint(true);
|
3161 |
+
return repsVal.slice(bpIndex).filter(function(value) {return value !== undefined && value !== Infinity})[0];
|
3162 |
+
};
|
3163 |
+
|
3164 |
+
/**
|
3165 |
+
* destroy the slider instance
|
3166 |
+
* @param {Boolean} insertMarkup whether add slider markup after destroy.
|
3167 |
* @since 1.4
|
3168 |
* @public
|
3169 |
*/
|
3481 |
|
3482 |
this._checkCritMargins();
|
3483 |
|
3484 |
+
if(window.MSBrowserInfo.mozilla){
|
3485 |
this.slideList[this.index].$element[0].style.marginTop = '0.1px';
|
3486 |
if(this.currentSlide){
|
3487 |
this.currentSlide.$element[0].style.marginTop = '';
|
4279 |
})(jQuery);
|
4280 |
|
4281 |
/* ================== bin-debug/js/lite/uicontrols/Thumblist.js =================== */
|
4282 |
+
;(function($){
|
4283 |
+
|
4284 |
+
"use strict";
|
4285 |
+
|
4286 |
+
var MSThumblist = function(options){
|
4287 |
+
BaseControl.call(this);
|
4288 |
+
|
4289 |
+
// default options
|
4290 |
+
this.options.dir = 'h';
|
4291 |
+
this.options.wheel = options.dir === 'v';
|
4292 |
+
this.options.arrows = false;
|
4293 |
+
this.options.speed = 17;
|
4294 |
+
this.options.align = null;
|
4295 |
+
this.options.inset = false;
|
4296 |
+
this.options.margin = 10;
|
4297 |
+
this.options.space = 10;
|
4298 |
+
this.options.width = 100;
|
4299 |
+
this.options.height = 100;
|
4300 |
+
this.options.type = 'thumbs'; // tabs
|
4301 |
+
this.options.hover = false;
|
4302 |
+
|
4303 |
+
|
4304 |
+
$.extend(this.options , options);
|
4305 |
+
|
4306 |
+
this.thumbs = [];
|
4307 |
+
this.index_count = 0;
|
4308 |
+
|
4309 |
+
this.__dimen = this.options.dir === 'h' ? 'width' : 'height';
|
4310 |
+
this.__alignsize = this.options.dir === 'h' ? 'height' : 'width';
|
4311 |
+
this.__jdimen = this.options.dir === 'h' ? 'outerWidth' : 'outerHeight';
|
4312 |
+
this.__pos = this.options.dir === 'h' ? 'left' : 'top';
|
4313 |
+
|
4314 |
+
this.click_enable = true;
|
4315 |
+
|
4316 |
+
};
|
4317 |
+
|
4318 |
+
MSThumblist.extend(BaseControl);
|
4319 |
+
|
4320 |
+
var p = MSThumblist.prototype;
|
4321 |
+
var _super = BaseControl.prototype;
|
4322 |
+
|
4323 |
+
/* -------------------------------- */
|
4324 |
+
|
4325 |
+
p.setup = function(){
|
4326 |
+
this.$element = $('<div></div>')
|
4327 |
+
.addClass(this.options.prefix + 'thumb-list');
|
4328 |
+
|
4329 |
+
if(this.options.type === 'tabs'){
|
4330 |
+
this.$element.addClass(this.options.prefix + 'tabs');
|
4331 |
+
}
|
4332 |
+
|
4333 |
+
this.$element.addClass('ms-dir-' + this.options.dir);
|
4334 |
+
|
4335 |
+
_super.setup.call(this);
|
4336 |
+
|
4337 |
+
|
4338 |
+
if( this.slider.$controlsCont === this.cont ){
|
4339 |
+
this.$element.appendTo(this.slider.$element);
|
4340 |
+
}else{
|
4341 |
+
this.$element.appendTo(this.cont);
|
4342 |
+
}
|
4343 |
+
|
4344 |
+
this.$thumbscont = $('<div></div>')
|
4345 |
+
.addClass('ms-thumbs-cont')
|
4346 |
+
.appendTo(this.$element);
|
4347 |
+
|
4348 |
+
if(this.options.arrows){
|
4349 |
+
var that = this;
|
4350 |
+
this.$fwd = $('<div></div>').addClass('ms-thumblist-fwd').appendTo(this.$element).click(function(){that.controller.push(-15);});
|
4351 |
+
this.$bwd = $('<div></div>').addClass('ms-thumblist-bwd').appendTo(this.$element).click(function(){that.controller.push(15);});
|
4352 |
+
}
|
4353 |
+
|
4354 |
+
// align control
|
4355 |
+
if( !this.options.insetTo && this.options.align ){
|
4356 |
+
var align = this.options.align;
|
4357 |
+
if( this.options.inset ){
|
4358 |
+
this.$element.css(align, this.options.margin );
|
4359 |
+
}else if( align === 'top' ){
|
4360 |
+
this.$element.detach().prependTo(this.slider.$element).css({
|
4361 |
+
'margin-bottom': this.options.margin,
|
4362 |
+
'position': 'relative'
|
4363 |
+
});
|
4364 |
+
}else if( align === 'bottom' ){
|
4365 |
+
this.$element.css({
|
4366 |
+
'margin-top': this.options.margin,
|
4367 |
+
'position': 'relative'
|
4368 |
+
});
|
4369 |
+
}else{
|
4370 |
+
this.slider.api.addEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE, this.align, this);
|
4371 |
+
this.align();
|
4372 |
+
}
|
4373 |
+
|
4374 |
+
if( this.options.dir === 'v' ){
|
4375 |
+
this.$element.width(this.options.width);
|
4376 |
+
}else{
|
4377 |
+
this.$element.height(this.options.height);
|
4378 |
+
}
|
4379 |
+
}
|
4380 |
+
|
4381 |
+
this.checkHideUnder(); // super method
|
4382 |
+
|
4383 |
+
};
|
4384 |
+
|
4385 |
+
/**
|
4386 |
+
* calls by "RESERVED_SPACE_CHANGE" realigns the control in slider
|
4387 |
+
* @since 1.5.7
|
4388 |
+
*/
|
4389 |
+
p.align = function(event){
|
4390 |
+
if( this.detached ){
|
4391 |
+
return;
|
4392 |
+
}
|
4393 |
+
var align = this.options.align;
|
4394 |
+
var pos = this.slider.reserveSpace(align, this.options[this.__alignsize] + this.options.margin * 2);
|
4395 |
+
this.$element.css(align, -pos - this.options[this.__alignsize] - this.options.margin);
|
4396 |
+
};
|
4397 |
+
|
4398 |
+
p.slideAction = function(slide){
|
4399 |
+
var thumb_ele = slide.$element.find('.ms-thumb');
|
4400 |
+
var that = this;
|
4401 |
+
var thumb_frame = $('<div></div>')
|
4402 |
+
.addClass('ms-thumb-frame')
|
4403 |
+
.append(thumb_ele)
|
4404 |
+
.append($('<div class="ms-thumb-ol"></div>'))
|
4405 |
+
.bind(this.options.hover? 'hover' : 'click' , function(){that.changeSlide(thumb_frame);});
|
4406 |
+
|
4407 |
+
if( this.options.align ){
|
4408 |
+
thumb_frame.width(this.options.width - (this.options.dir === 'v' && this.options.type === 'tabs' ? 12 : 0)) // less arrow size 12px
|
4409 |
+
.height(this.options.height)
|
4410 |
+
.css('margin-'+(this.options.dir === 'v' ? 'bottom' : 'right'), this.options.space);
|
4411 |
+
}
|
4412 |
+
|
4413 |
+
thumb_frame[0].index = this.index_count ++;
|
4414 |
+
|
4415 |
+
this.$thumbscont.append(thumb_frame);
|
4416 |
+
|
4417 |
+
// Added Fillmode support to thumblist
|
4418 |
+
// @since 1.6.0
|
4419 |
+
if( this.options.fillMode && thumb_ele.is('img') ){
|
4420 |
+
var aligner = new window.MSAligner(this.options.fillMode, thumb_frame, thumb_ele);
|
4421 |
+
thumb_ele[0].aligner = aligner;
|
4422 |
+
thumb_ele.one('load', function(e){
|
4423 |
+
var $this = $(this);
|
4424 |
+
$this[0].aligner.init($this.width(), $this.height());
|
4425 |
+
$this[0].aligner.align();
|
4426 |
+
}).each($.jqLoadFix);
|
4427 |
+
}
|
4428 |
+
|
4429 |
+
if(window.MSBrowserInfo.msie)
|
4430 |
+
thumb_ele.on('dragstart', function(event) { event.preventDefault(); }); // disable native dragging
|
4431 |
+
|
4432 |
+
this.thumbs.push(thumb_frame);
|
4433 |
+
};
|
4434 |
+
|
4435 |
+
p.create = function(){
|
4436 |
+
_super.create.call(this);
|
4437 |
+
|
4438 |
+
this.__translate_end = window._css3d ? ' translateZ(0px)' : '';
|
4439 |
+
this.controller = new Controller(0 , 0 , {
|
4440 |
+
//snapping : true,
|
4441 |
+
snappingMinSpeed : 2,
|
4442 |
+
friction : (100 - this.options.speed * 0.5) / 100
|
4443 |
+
});
|
4444 |
+
|
4445 |
+
this.controller.renderCallback(this.options.dir === 'h'? this._hMove : this._vMove , this);
|
4446 |
+
//this.controller.snappingCallback(this.__snapUpdate , this);
|
4447 |
+
//this.controller.snapCompleteCallback(this.__snapCompelet , this);
|
4448 |
+
|
4449 |
+
var that = this;
|
4450 |
+
this.resize_listener = function(){that.__resize();};
|
4451 |
+
$(window).bind('resize', this.resize_listener);
|
4452 |
+
|
4453 |
+
this.thumbSize = this.thumbs[0][this.__jdimen](true);
|
4454 |
+
|
4455 |
+
this.setupSwipe();
|
4456 |
+
this.__resize();
|
4457 |
+
|
4458 |
+
var that = this;
|
4459 |
+
if(this.options.wheel){
|
4460 |
+
|
4461 |
+
this.wheellistener = function(event){
|
4462 |
+
var e = window.event || event.orginalEvent || event;
|
4463 |
+
var delta = Math.max(-1, Math.min(1, (e.wheelDelta || -e.detail)));
|
4464 |
+
that.controller.push(-delta*10);
|
4465 |
+
return false;
|
4466 |
+
};
|
4467 |
+
|
4468 |
+
if(window.MSBrowserInfo.mozilla) this.$element[0].addEventListener('DOMMouseScroll' , this.wheellistener);
|
4469 |
+
else this.$element.bind('mousewheel', this.wheellistener);
|
4470 |
+
}
|
4471 |
+
|
4472 |
+
this.slider.api.addEventListener(MSSliderEvent.CHANGE_START , this.update , this);
|
4473 |
+
this.slider.api.addEventListener(MSSliderEvent.HARD_UPDATE, this.realignThumbs, this);
|
4474 |
+
this.cindex = this.slider.api.index();
|
4475 |
+
this.select(this.thumbs[this.cindex]);
|
4476 |
+
|
4477 |
+
|
4478 |
+
};
|
4479 |
+
|
4480 |
+
p._hMove = function(controller , value){
|
4481 |
+
this.__contPos = value;
|
4482 |
+
if(window._cssanim) {
|
4483 |
+
this.$thumbscont[0].style[window._jcsspfx + 'Transform'] = 'translateX('+-value+'px)'+ this.__translate_end;
|
4484 |
+
return;
|
4485 |
+
}
|
4486 |
+
this.$thumbscont[0].style.left = -value + 'px';
|
4487 |
+
};
|
4488 |
+
|
4489 |
+
p._vMove = function(controller , value){
|
4490 |
+
this.__contPos = value;
|
4491 |
+
if(window._cssanim) {
|
4492 |
+
this.$thumbscont[0].style[window._jcsspfx + 'Transform'] = 'translateY('+-value+'px)'+ this.__translate_end;
|
4493 |
+
return;
|
4494 |
+
}
|
4495 |
+
this.$thumbscont[0].style.top = -value + 'px';
|
4496 |
+
};
|
4497 |
+
|
4498 |
+
p.setupSwipe = function(){
|
4499 |
+
this.swipeControl = new averta.TouchSwipe(this.$element);
|
4500 |
+
this.swipeControl.swipeType = this.options.dir === 'h'? 'horizontal' : 'vertical';
|
4501 |
+
|
4502 |
+
var that = this;
|
4503 |
+
if(this.options.dir === 'h')
|
4504 |
+
this.swipeControl.onSwipe = function(status){that.horizSwipeMove(status);};
|
4505 |
+
else
|
4506 |
+
this.swipeControl.onSwipe = function(status){that.vertSwipeMove(status);};
|
4507 |
+
};
|
4508 |
+
|
4509 |
+
p.vertSwipeMove = function(status){
|
4510 |
+
if(this.dTouch) return;
|
4511 |
+
var phase = status.phase;
|
4512 |
+
if(phase === 'start')
|
4513 |
+
this.controller.stop();
|
4514 |
+
else if(phase === 'move')
|
4515 |
+
this.controller.drag(status.moveY);
|
4516 |
+
else if(phase === 'end' || phase === 'cancel'){
|
4517 |
+
var speed = Math.abs(status.distanceY / status.duration * 50/3);
|
4518 |
+
if(speed > 0.1){
|
4519 |
+
this.controller.push(-status.distanceY / status.duration * 50/3 );
|
4520 |
+
}else{
|
4521 |
+
this.click_enable = true;
|
4522 |
+
this.controller.cancel();
|
4523 |
+
}
|
4524 |
+
}
|
4525 |
+
};
|
4526 |
+
|
4527 |
+
p.horizSwipeMove = function(status){
|
4528 |
+
if(this.dTouch) return;
|
4529 |
+
var phase = status.phase;
|
4530 |
+
if(phase === 'start'){
|
4531 |
+
this.controller.stop();
|
4532 |
+
this.click_enable = false;
|
4533 |
+
}else if(phase === 'move')
|
4534 |
+
this.controller.drag(status.moveX);
|
4535 |
+
else if(phase === 'end' || phase === 'cancel'){
|
4536 |
+
var speed = Math.abs(status.distanceX / status.duration * 50/3);
|
4537 |
+
if(speed > 0.1){
|
4538 |
+
this.controller.push(-status.distanceX / status.duration * 50/3 );
|
4539 |
+
}else {
|
4540 |
+
this.click_enable = true;
|
4541 |
+
this.controller.cancel();
|
4542 |
+
}
|
4543 |
+
}
|
4544 |
+
};
|
4545 |
+
|
4546 |
+
p.update = function(){
|
4547 |
+
var nindex = this.slider.api.index();
|
4548 |
+
if(this.cindex === nindex) return;
|
4549 |
+
|
4550 |
+
if(this.cindex != null)this.unselect(this.thumbs[this.cindex]);
|
4551 |
+
this.cindex = nindex;
|
4552 |
+
this.select(this.thumbs[this.cindex]);
|
4553 |
+
|
4554 |
+
if(!this.dTouch)this.updateThumbscroll();
|
4555 |
+
};
|
4556 |
+
|
4557 |
+
p.realignThumbs = function () {
|
4558 |
+
this.$element.find('.ms-thumb').each( function (index, thumb) {
|
4559 |
+
if ( thumb.aligner ) {
|
4560 |
+
thumb.aligner.align();
|
4561 |
+
}
|
4562 |
+
} );
|
4563 |
+
};
|
4564 |
+
|
4565 |
+
p.updateThumbscroll = function(){
|
4566 |
+
var thumb_size;
|
4567 |
+
|
4568 |
+
var pos = this.thumbSize * this.cindex;
|
4569 |
+
|
4570 |
+
if(this.controller.value == NaN) this.controller.value = 0;
|
4571 |
+
|
4572 |
+
if(pos - this.controller.value < 0){
|
4573 |
+
this.controller.gotoSnap(this.cindex , true);
|
4574 |
+
return;
|
4575 |
+
}
|
4576 |
+
|
4577 |
+
if(pos + this.thumbSize - this.controller.value > this.$element[this.__dimen]()){
|
4578 |
+
var first_snap = this.cindex - Math.floor(this.$element[this.__dimen]() / this.thumbSize) + 1;
|
4579 |
+
this.controller.gotoSnap(first_snap , true);
|
4580 |
+
return;
|
4581 |
+
}
|
4582 |
+
};
|
4583 |
+
|
4584 |
+
p.changeSlide = function(thumb){
|
4585 |
+
if(!this.click_enable || this.cindex === thumb[0].index) return;
|
4586 |
+
this.slider.api.gotoSlide(thumb[0].index);
|
4587 |
+
};
|
4588 |
+
|
4589 |
+
p.unselect = function(ele){
|
4590 |
+
ele.removeClass('ms-thumb-frame-selected');
|
4591 |
+
};
|
4592 |
+
|
4593 |
+
p.select = function(ele){
|
4594 |
+
ele.addClass('ms-thumb-frame-selected');
|
4595 |
+
};
|
4596 |
+
|
4597 |
+
p.__resize = function(){
|
4598 |
+
var size = this.$element[this.__dimen]();
|
4599 |
+
|
4600 |
+
if(this.ls === size) return;
|
4601 |
+
|
4602 |
+
this.ls = size;
|
4603 |
+
|
4604 |
+
this.thumbSize = this.thumbs[0][this.__jdimen](true);
|
4605 |
+
var len = this.slider.api.count() * this.thumbSize;
|
4606 |
+
this.$thumbscont[0].style[this.__dimen] = len + 'px';
|
4607 |
+
|
4608 |
+
if(len <= size){
|
4609 |
+
this.dTouch = true;
|
4610 |
+
this.controller.stop();
|
4611 |
+
this.$thumbscont[0].style[this.__pos] = (size - len)*.5 + 'px';
|
4612 |
+
this.$thumbscont[0].style[window._jcsspfx + 'Transform'] = '';
|
4613 |
+
}else{
|
4614 |
+
this.dTouch = false;
|
4615 |
+
this.click_enable = true;
|
4616 |
+
this.$thumbscont[0].style[this.__pos] = '';
|
4617 |
+
this.controller._max_value = len - size;
|
4618 |
+
this.controller.options.snapsize = this.thumbSize;
|
4619 |
+
this.updateThumbscroll();
|
4620 |
+
}
|
4621 |
+
|
4622 |
+
};
|
4623 |
+
|
4624 |
+
p.destroy = function(){
|
4625 |
+
_super.destroy();
|
4626 |
+
|
4627 |
+
if(this.options.wheel){
|
4628 |
+
if(window.MSBrowserInfo.mozilla) this.$element[0].removeEventListener('DOMMouseScroll' , this.wheellistener);
|
4629 |
+
else this.$element.unbind('mousewheel', this.wheellistener);
|
4630 |
+
this.wheellistener = null;
|
4631 |
+
}
|
4632 |
+
|
4633 |
+
$(window).unbind('resize', this.resize_listener);
|
4634 |
+
|
4635 |
+
this.$element.remove();
|
4636 |
+
|
4637 |
+
this.slider.api.removeEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE, this.align, this);
|
4638 |
+
this.slider.api.removeEventListener(MSSliderEvent.CHANGE_START , this.update , this);
|
4639 |
+
};
|
4640 |
+
|
4641 |
+
window.MSThumblist = MSThumblist;
|
4642 |
+
MSSlideController.registerControl('thumblist' , MSThumblist);
|
4643 |
+
|
4644 |
})(jQuery);
|
4645 |
|
4646 |
/* ================== bin-debug/js/lite/uicontrols/Bullets.js =================== */
|
public/assets/js/masterslider.lite.min.js.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"file":"masterslider.lite.min.js","sources":["masterslider.lite.js"],"names":["window","averta","$","getVendorPrefix","arguments","callee","result","regex","someScript","document","getElementsByTagName","prop","style","test","match","checkStyleValue","b","body","documentElement","s","p","v","charAt","toUpperCase","substr","i","length","supportsTransitions","supportsTransforms","supports3DTransforms","has3d","el","createElement","transforms","WebkitTransform","OTransform","MSTransform","msTransform","MozTransform","Transform","transform","display","insertBefore","t","undefined","getComputedStyle","getPropertyValue","removeChild","name","extend","target","object","key","Function","prototype","superclass","constructor","this","trans","Moz","Webkit","Khtml","O","ms","Icab","_mobile","navigator","userAgent","_touch","ready","_jcsspfx","_csspfx","_cssanim","_css3d","_css2d","parseQueryString","url","queryString","replace","RegExp","$0","$1","$2","$3","fps60","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","callback","setTimeout","re","currentStyle","Array","indexOf","elt","len","from","Number","Math","ceil","floor","isMSIE","version","browser","msie","ieVer","slice","eval","removeDataAttrs","$target","exclude","attrName","dataAttrsToDelete","dataAttrs","attributes","dataAttrsLen","substring","push","each","index","removeAttr","jQuery","jqLoadFix","complete","that","load","uaMatch","ua","toLowerCase","exec","matched","chrome","webkit","safari","isIE11","mozilla","fn","preloadImg","src","_event","$this","self","img","Image","onload","event","attr","width","height","data","call","EventDispatcher","listeners","_proto","instance","addEventListener","listener","ref","removeEventListener","splice","dispatchEvent","type","l","isTouch","isPointer","pointerEnabled","isMSPoiner","msPointerEnabled","usePointer","ev_start","ev_move","ev_end","ev_cancel","TouchSwipe","$element","enabled","bind","__touchStart","swipe","onSwipe","swipeType","noSwipeSelector","lastStatus","getDirection","new_x","new_y","start_x","start_y","abs","priventDefultEvent","dx","dy","horiz","createStatusObject","evt","temp_x","temp_y","status_data","distanceX","distanceY","pageX","pageY","moveX","moveY","distance","parseInt","sqrt","pow","duration","Date","getTime","start_time","direction","__reset","jqevt","reset","point","__getPoint","closest","originalEvent","css","error","touchStarted","__touchEnd","__touchMove","__touchCancel","status","phase","preventDefault","clearTimeout","timo","priventEvt","unbind","speed","jqEvent","touches","enable","disable","Ticker","st","list","__stopped","add","start","remove","stop","__tick","item","now","Timer","delay","autoStart","currentCount","paused","onTimer","refrence","lastTime","update","CSSTween","element","ease","to","to_cb","to_cb_target","fr_cb","fr_cb_target","onComplete","oc_fb","oc_fb_target","chain","csstween","chained_tween","start_to","end_to","fresh","onTransComplete","transProperty","transPos","properties","x","y","posx","posy","CTween","setPos","pos","animate","options","tween","EaseDic","onCl","fadeOut","opacity","fadeIn","linear","easeIn","easeOut","easeInOut","easeInCubic","easeOutCubic","easeInOutCubic","easeInCirc","easeOutCirc","easeInOutCirc","easeInExpo","easeOutExpo","easeInOutExpo","easeInQuad","easeOutQuad","easeInOutQuad","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","easeInSine","easeOutSine","easeInOutSine","easeInBack","easeOutBack","easeInOutBack","MSAligner","$container","$img","widthOnly","heightOnly","init","w","h","baseWidth","baseHeight","imgRatio","imgRatio2","backgroundPosition","backgroundRepeat","needAlign","align","cont_w","cont_h","contRatio","setMargin","offsetHeight","offsetWidth","_options","bouncing","snapping","snapsize","friction","outFriction","outAcceleration","minValidDist","snappingMinSpeed","paging","endless","maxSpeed","Controller","min","max","Error","_max_value","_min_value","value","end_loc","current_snap","getSnapNum","__extrStep","__extraMove","__animID","changeTo","snap_num","dispatch","stopped","_internalStop","_checkLimits","_callsnapChange","animating","active_id","amplitude","timeStep","targetPosition","animFrict","timeconst","tick","dis","_callrenderer","_callonComplete","exp","drag","move","start_drag","drag_start_loc","_deceleration","__isout","cancel","__speed","__startSpeed","_calculateEnd","snap_loc","end_snap","gotoSnap","__needsSnap","_calculateExtraMove","_startDecelaration","bounce","renderCallback","__renderHook","fun","snappingCallback","__snapHook","snapCompleteCallback","__compHook","nextSnap","curr_snap","prevSnap","destroy","m","step","temp_speed","temp_value","targetSnap","_computeDeceleration","xtr_move","out_value","round","MSSliderEvent","CHANGE_START","CHANGE_END","WAITING","AUTOPLAY_CHANGE","VIDEO_PLAY","VIDEO_CLOSE","INIT","HARD_UPDATE","RESIZE","RESERVED_SPACE_CHANGE","DESTROY","MSSlide","$loading","addClass","view","__width","__height","fillMode","selected","pselected","autoAppend","isSleeping","moz","onSwipeStart","link","linkdis","video","videodis","onSwipeMove","e","swipeMoved","onSwipeCancel","assetsLoaded","slider","api","_startTimer","setupBG","preload","slideList","loadImages","_removeLoading","setBG","hasBG","$imgcont","append","$bg_img","bgAligner","autoHeight","setHeight","bg_src","one","_onBGLoad","initBG","bgLoaded","bgWidth","bgNatrualWidth","bgHeight","bgNatrualHeight","ratio","setSize","getHeight","ls","hasLayers","on","layerController","clientHeight","__playVideo","vplayed","pause","roc","vcbtn","vpbtn","vframe","swipeControl","slideController","__closeVideo","resume","removeClass","create","html","click","appendTo","parent","sleep","prepareToSelect","MSViewEvents","SWIPE_START","SWIPE_MOVE","SWIPE_CANCEL","select","videoAutoPlay","trigger","unselect","force","detach","onSlideSleep","wakeup","$slideCont","onSlideWakeup","SliderViewList","MSSlideController","_delayProgress","_timer","currentSlide","so","registerView","_class","SliderControlList","registerControl","setupView","resize_listener","__resize","viewOptions","spacing","space","mouseSwipe","mouse","loop","dir","viewNum","inView","critMargin","heightLimit","viewClass","MSBasicView","_3dreq","_fallback","overPause","mouseenter","is_over","_stopTimer","mouseleave","onChangeStart","change_started","endPause","slides","skipTimer","deepLink","__updateWindowHash","onChangeEnd","loc","slide","next","hideCalled","hideLayers","animHideLayers","__appendSlides","detached","appendSlide","hard","created","clientWidth","fullwidth","aspect","minHeight","$controlsCont","centerControls","__dispatchInit","setup","autoplay","startSlide","scroller","controller","wheel","last_time","wheellistener","orginalEvent","current_time","delta","detail","wheelDelta","scrollThreshold","previous","init_safemode","count","slidesCount","checkLoop","gotoSlide","_destroy","runAction","action","actionParams","temp","split","apply","console","locate","currentTime","MasterSlider","forceInit","grabCursor","mobileBGVideo","smoothHeight","fullheight","autofill","layersMode","shuffle","layout","autofillTarget","fullscreenMargin","instantStartLayers","parallaxMode","rtl","deepLinkType","disablePlugins","activePlugins","lastMargin","leftSpace","topSpace","rightSpace","bottomSpace","_holdOn","_resize","author","releaseDate","_plugins","MS","registerPlugin","plugin","__setupSlides","new_slide","ind","children","$slide_ele","id","slide_img","controls","slideAction","getAttribute","hasClass","addSlide","_setupOverlayLayers","$ollayers","eq","overlayLayers","MSOverlayLayers","__createSlideLayers","find","prepend","_shuffleSlides","r","random","_setupSliderLayout","_updateSideMargins","lo","_updateLayout","$win","margin","offset","left","_init","_docReady","initialized","$msContainer","prependTo","$view","mousedown","ms_grabbing_curosr","cursor","mouseup","ms_grab_curosr","htween","reserveSpace","side","sideSpace","_realignControls","control","ins","holdOn","release","setupMarkup","isAndroid","addJQReadyErrorCheck","insertMarkup","MasterSliderPlugin","settings","defaults","_defaults","_name","pluginName","_slider","_superDispatch","args","returns","sliderInstances","_ready","_onerror","onerror","SWIPE_END","SCROLL","minSlideSpeed","__cssProb","__offset","__dimension","__translate_end","viewSlidesList","css3","start_buffer","firstslide_snap","slideChanged","_horizUpdate","_vertiUpdate","__snapUpdate","__snapCompelet","__locateSlides","snap","change","target_index","updateLoop","_checkCritMargins","marginTop","autoUpdateZIndex","__updateSlidesZindex","normalMode","hlf","size","cm","__contPos","top","__updateViewList","currentSlideLoc","unshift","position","__createLoopList","return_arr","before_count","after_count","__getSteps","right","__pushEnd","first_slide","shift","last_slide","__pushStart","pop","beforeNum","steps","fast","target_slide","setupSwipe","horizSwipeMove","vertSwipeMove","cont_size","speedh","speedv","lastWidth","lastHeight","__created","lastSnap","MSFadeView","__update","_super","cont_scroll","__updateSlides","fadeTo","BaseControl","prefix","autohide","overVideo","customClass","cont","insertTo","_hideOnvideoStarts","checkHideUnder","hideUnder","needsRealign","insetTo","inset","onResize","innerWidth","hide","onDetach","visible","onAppend","proxy","_onMouseEnter","_onMouseLeave","_onMouseDown","_onMouseUp","_disableAH","mdown","mleave","hideTo","MSArrows","$next","$prev","MSThumblist","arrows","hover","thumbs","index_count","__dimen","__alignsize","__jdimen","__pos","click_enable","$thumbscont","$fwd","$bwd","margin-bottom","margin-top","thumb_ele","thumb_frame","changeSlide","is","aligner","_hMove","_vMove","thumbSize","realignThumbs","cindex","dTouch","nindex","updateThumbscroll","thumb","NaN","first_snap","ele","MSBulltes","bullets","$bullet_cont","bullet","outerWidth","outerHeight","MSScrollbar","color","__translate_start","$bar","bottom","_update","vdimen","bar_dimen","lvalue","hto","MSTimerbar","MSCircleTimer","stroke","radius","$canvas","getContext","ctx","prog","__w","_draw","clearRect","beginPath","arc","PI","strokeStyle","lineWidth","MSSlideInfo","data_list","fadeDuratation","info_ele","switchEle","current_ele","__show","tou","PId","$window","$doc","StartOnAppear","$slider","startOnAppear","_onScroll","vpBottom","scrollTop","off","MSReady"],"mappings":";;;;;;;;AAWAA,OAAOC,UAEN,SAAUC,GA6CV,QAASC,mBAER,GAAG,UAAYC,WAAUC,OAAQ,MAAOD,WAAUC,OAAOC,MAEzD,IAAIC,OAAQ,yCAERC,WAAaC,SAASC,qBAAqB,UAAU,EAEzD,KAAI,GAAIC,QAAQH,YAAWI,MAC1B,GAAGL,MAAMM,KAAKF,MACb,MAAOP,WAAUC,OAAOC,OAASK,KAAKG,MAAMP,OAAO,EAIrD,OAA+CH,WAAUC,OAAOC,OAA7D,iBAAmBE,YAAWI,MAAwC,SACtE,gBAAkBJ,YAAWI,MAAwC,QAEvC,GAgBlC,QAASG,iBAAgBJ,MACvB,GAAIK,GAAIP,SAASQ,MAAQR,SAASS,gBAC5BC,EAAIH,EAAEJ,MACNQ,EAAIT,IACR,IAAkB,gBAARQ,GAAEC,GAAiB,OAAO,CAGpCC,IAAK,MAAO,SAAU,QAAS,IAAK,MACpCD,EAAIA,EAAEE,OAAO,GAAGC,cAAgBH,EAAEI,OAAO,EACzC,KAAI,GAAIC,GAAE,EAAGA,EAAEJ,EAAEK,OAAQD,IACvB,GAAyB,gBAAfN,GAAEE,EAAEI,GAAKL,GAAkB,OAAO,CAE9C,QAAO,EAGX,QAASO,uBACN,MAAOZ,iBAAgB,cAG1B,QAASa,sBACN,MAAOb,iBAAgB,aAG1B,QAASc,wBACR,IAAID,qBAAsB,OAAO,CAC9B,IACAE,OADIC,GAAKtB,SAASuB,cAAc,KAEhCC,YACIC,gBAAkB,oBAClBC,WAAa,eACbC,YAAc,gBACdC,YAAc,gBACdC,aAAe,iBACfC,UAAY,YACZC,UAAY,YAGnBT,IAAGnB,MAAM6B,QAAU,QAGhBhC,SAASQ,KAAKyB,aAAaX,GAAI,KAE/B,KAAI,GAAIY,KAAKV,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,OAAO8c,QAAQ,WAG7Enf,EAAEw2B,UAAY,WAEb,GAAIC,UAAWN,QAAQO,YAAcP,QAAQjuB,SAC5ColB,IAAMjrB,KAAKi0B,QAAQtN,SAASsE,GAElBmJ,UAANnJ,MACJ6I,QAAQQ,IAAI,aAAet0B,KAAK6zB,KAChC7zB,KAAKoZ,OAAO4O,YAOdrqB,EAAE6Y,QAAU,aAGZuM,aAAa6B,eAAgBoP,iBAE3B9vB,OAAQlH,SAAUT,QAGpB,SAAYE,EAAGF,QACZ,YAOA,IAAKA,OAAOg4B,QACR,IAAM,GAAIv2B,GAAI,EAAG2I,EAAI4tB,QAAQt2B,OAAQD,IAAM2I,EAAG3I,IAC1Cu2B,QAAQv2B,GAAG+H,KAAM,KAAMtJ,IAGhCyH,OAAQ3H,OAAQS"}
|
1 |
+
{"version":3,"file":"masterslider.lite.min.js","sources":["masterslider.lite.js"],"names":["window","averta","$","getVendorPrefix","arguments","callee","result","regex","someScript","document","getElementsByTagName","prop","style","test","match","checkStyleValue","b","body","documentElement","s","p","v","charAt","toUpperCase","substr","i","length","supportsTransitions","supportsTransforms","supports3DTransforms","has3d","el","createElement","transforms","WebkitTransform","OTransform","MSTransform","msTransform","MozTransform","Transform","transform","display","insertBefore","t","undefined","getComputedStyle","getPropertyValue","removeChild","name","extend","target","object","key","Function","prototype","superclass","constructor","this","trans","Moz","Webkit","Khtml","O","ms","Icab","_mobile","navigator","userAgent","_touch","ready","_jcsspfx","_csspfx","_cssanim","_css3d","_css2d","parseQueryString","url","queryString","replace","RegExp","$0","$1","$2","$3","fps60","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","callback","setTimeout","re","currentStyle","Array","indexOf","elt","len","from","Number","Math","ceil","floor","isMSIE","version","MSBrowserInfo","msie","ieVer","slice","eval","removeDataAttrs","$target","exclude","attrName","dataAttrsToDelete","dataAttrs","attributes","dataAttrsLen","substring","push","each","index","removeAttr","jQuery","jqLoadFix","complete","that","trigger","uaMatch","ua","toLowerCase","exec","browser","matched","chrome","webkit","safari","isIE11","mozilla","fn","preloadImg","src","_event","$this","self","img","Image","onload","event","attr","width","height","data","call","EventDispatcher","listeners","_proto","instance","addEventListener","listener","ref","removeEventListener","splice","dispatchEvent","type","l","isTouch","isPointer","pointerEnabled","isMSPoiner","msPointerEnabled","usePointer","ev_start","ev_move","ev_end","ev_cancel","TouchSwipe","$element","enabled","bind","__touchStart","swipe","onSwipe","swipeType","noSwipeSelector","lastStatus","getDirection","new_x","new_y","start_x","start_y","abs","priventDefultEvent","dx","dy","horiz","createStatusObject","evt","temp_x","temp_y","status_data","distanceX","distanceY","pageX","pageY","moveX","moveY","distance","parseInt","sqrt","pow","duration","Date","getTime","start_time","direction","__reset","jqevt","reset","point","__getPoint","closest","originalEvent","css","error","touchStarted","__touchEnd","__touchMove","__touchCancel","status","phase","preventDefault","clearTimeout","timo","priventEvt","unbind","speed","jqEvent","touches","enable","disable","Ticker","st","list","__stopped","add","start","remove","stop","__tick","item","now","Timer","delay","autoStart","currentCount","paused","onTimer","refrence","lastTime","update","CSSTween","element","ease","to","to_cb","to_cb_target","fr_cb","fr_cb_target","onComplete","oc_fb","oc_fb_target","chain","csstween","chained_tween","start_to","end_to","fresh","onTransComplete","transProperty","transPos","properties","x","y","posx","posy","CTween","setPos","pos","animate","options","tween","EaseDic","onCl","fadeOut","opacity","fadeIn","linear","easeIn","easeOut","easeInOut","easeInCubic","easeOutCubic","easeInOutCubic","easeInCirc","easeOutCirc","easeInOutCirc","easeInExpo","easeOutExpo","easeInOutExpo","easeInQuad","easeOutQuad","easeInOutQuad","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","easeInSine","easeOutSine","easeInOutSine","easeInBack","easeOutBack","easeInOutBack","MSAligner","$container","$img","widthOnly","heightOnly","init","w","h","baseWidth","baseHeight","imgRatio","imgRatio2","backgroundPosition","backgroundRepeat","needAlign","align","cont_w","offsetWidth","cont_h","offsetHeight","contRatio","setMargin","_options","bouncing","snapping","snapsize","friction","outFriction","outAcceleration","minValidDist","snappingMinSpeed","paging","endless","maxSpeed","Controller","min","max","Error","_max_value","_min_value","value","end_loc","current_snap","getSnapNum","__extrStep","__extraMove","__animID","changeTo","snap_num","dispatch","stopped","_internalStop","_checkLimits","_callsnapChange","animating","active_id","amplitude","timeStep","targetPosition","animFrict","timeconst","tick","dis","_callrenderer","_callonComplete","exp","drag","move","start_drag","drag_start_loc","_deceleration","__isout","cancel","__speed","__startSpeed","_calculateEnd","snap_loc","end_snap","gotoSnap","__needsSnap","_calculateExtraMove","_startDecelaration","bounce","renderCallback","__renderHook","fun","snappingCallback","__snapHook","snapCompleteCallback","__compHook","nextSnap","curr_snap","prevSnap","destroy","m","step","temp_speed","temp_value","targetSnap","_computeDeceleration","xtr_move","out_value","round","MSSliderEvent","CHANGE_START","CHANGE_END","WAITING","AUTOPLAY_CHANGE","VIDEO_PLAY","VIDEO_CLOSE","INIT","HARD_UPDATE","RESIZE","RESERVED_SPACE_CHANGE","DESTROY","MSSlide","$loading","addClass","view","__width","__height","fillMode","selected","pselected","autoAppend","isSleeping","moz","onSwipeStart","link","linkdis","video","videodis","onSwipeMove","e","swipeMoved","onSwipeCancel","assetsLoaded","slider","api","_startTimer","setupBG","preload","slideList","loadImages","_removeLoading","setBG","hasBG","$imgcont","append","$bg_img","bgAligner","autoHeight","setHeight","bg_src","one","_onBGLoad","initBG","bgLoaded","bgWidth","bgNatrualWidth","bgHeight","bgNatrualHeight","ratio","setSize","getHeight","ls","hasLayers","on","layerController","clientHeight","__playVideo","vplayed","pause","roc","vcbtn","vpbtn","vframe","swipeControl","slideController","__closeVideo","resume","removeClass","create","html","click","appendTo","parent","sleep","prepareToSelect","MSViewEvents","SWIPE_START","SWIPE_MOVE","SWIPE_CANCEL","select","videoAutoPlay","unselect","force","detach","onSlideSleep","wakeup","$slideCont","onSlideWakeup","SliderViewList","MSSlideController","_delayProgress","_timer","currentSlide","so","registerView","_class","SliderControlList","registerControl","setupView","resize_listener","__resize","viewOptions","spacing","space","mouseSwipe","mouse","loop","dir","viewNum","inView","critMargin","heightLimit","viewClass","MSBasicView","_3dreq","_fallback","overPause","mouseenter","is_over","_stopTimer","mouseleave","onChangeStart","change_started","endPause","slides","skipTimer","deepLink","__updateWindowHash","onChangeEnd","loc","slide","next","hideCalled","hideLayers","animHideLayers","__appendSlides","detached","appendSlide","hard","created","clientWidth","fullwidth","aspect","minHeight","$controlsCont","centerControls","__dispatchInit","setup","autoplay","startSlide","scroller","controller","wheel","last_time","wheellistener","orginalEvent","current_time","delta","detail","wheelDelta","scrollThreshold","previous","init_safemode","count","slidesCount","checkLoop","gotoSlide","_destroy","runAction","action","actionParams","temp","split","apply","console","locate","currentTime","MasterSlider","forceInit","grabCursor","mobileBGVideo","smoothHeight","fullheight","autofill","layersMode","shuffle","layout","autofillTarget","fullscreenMargin","instantStartLayers","parallaxMode","rtl","deepLinkType","disablePlugins","responsive","tabletWidth","tabletHeight","phoneWidth","phoneHeight","sizingReference","activePlugins","lastMargin","leftSpace","topSpace","rightSpace","bottomSpace","_holdOn","_resize","author","releaseDate","_plugins","MS","registerPlugin","plugin","__setupSlides","new_slide","ind","children","$slide_ele","id","slide_img","controls","slideAction","getAttribute","hasClass","addSlide","_setupOverlayLayers","$ollayers","eq","overlayLayers","MSOverlayLayers","__createSlideLayers","find","prepend","_shuffleSlides","r","random","_setupSliderLayout","_updateSideMargins","lo","_updateLayout","$win","margin","offset","left","_init","_docReady","initialized","$msContainer","prependTo","$view","mousedown","ms_grabbing_curosr","cursor","mouseup","ms_grab_curosr","htween","reserveSpace","side","sideSpace","_realignControls","control","ins","holdOn","release","setupMarkup","isAndroid","responsiveWidth","responsiveHeight","responsiveAspect","addJQReadyErrorCheck","getActiveBreakpoint","getIndex","bpList","bpSizes","currentSize","outerWidth","innerWidth","bp","bpIndex","every","size","getBreakpointReferenceSize","getResponsiveValue","repsVal","filter","Infinity","insertMarkup","MasterSliderPlugin","settings","defaults","_defaults","_name","pluginName","_slider","_superDispatch","args","returns","sliderInstances","_ready","_onerror","onerror","SWIPE_END","SCROLL","minSlideSpeed","__cssProb","__offset","__dimension","__translate_end","viewSlidesList","css3","start_buffer","firstslide_snap","slideChanged","_horizUpdate","_vertiUpdate","__snapUpdate","__snapCompelet","__locateSlides","snap","change","target_index","updateLoop","_checkCritMargins","marginTop","autoUpdateZIndex","__updateSlidesZindex","normalMode","hlf","cm","__contPos","top","__updateViewList","currentSlideLoc","unshift","position","__createLoopList","return_arr","before_count","after_count","__getSteps","right","__pushEnd","first_slide","shift","last_slide","__pushStart","pop","beforeNum","steps","fast","target_slide","setupSwipe","horizSwipeMove","vertSwipeMove","cont_size","speedh","speedv","lastWidth","lastHeight","__created","lastSnap","MSFadeView","__update","_super","cont_scroll","__updateSlides","fadeTo","BaseControl","prefix","autohide","overVideo","customClass","cont","insertTo","_hideOnvideoStarts","checkHideUnder","hideUnder","needsRealign","insetTo","inset","onResize","hide","onDetach","visible","onAppend","proxy","_onMouseEnter","_onMouseLeave","_onMouseDown","_onMouseUp","_disableAH","mdown","mleave","hideTo","MSArrows","$next","$prev","MSThumblist","arrows","hover","thumbs","index_count","__dimen","__alignsize","__jdimen","__pos","click_enable","$thumbscont","$fwd","$bwd","margin-bottom","margin-top","thumb_ele","thumb_frame","changeSlide","is","aligner","_hMove","_vMove","thumbSize","realignThumbs","cindex","dTouch","nindex","updateThumbscroll","thumb","NaN","first_snap","ele","MSBulltes","bullets","$bullet_cont","bullet","outerHeight","MSScrollbar","color","__translate_start","$bar","bottom","_update","vdimen","bar_dimen","lvalue","hto","MSTimerbar","MSCircleTimer","stroke","radius","$canvas","getContext","ctx","prog","__w","_draw","clearRect","beginPath","arc","PI","strokeStyle","lineWidth","MSSlideInfo","data_list","fadeDuratation","info_ele","switchEle","current_ele","__show","tou","PId","$window","$doc","StartOnAppear","$slider","startOnAppear","_onScroll","vpBottom","scrollTop","off","MSReady"],"mappings":";;;;;;;;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mB,IAAMzsB,KAAKu1B,QAAQtO,SAASwF,GAElBiJ,UAANjJ,MACJ2I,QAAQQ,IAAI,aAAe51B,KAAKm1B,KAChCn1B,KAAKqZ,OAAOiP,YAOd3qB,EAAE8Y,QAAU,aAGZsM,aAAamC,eAAgBoQ,iBAE3BpxB,OAAQlH,SAAUT,QAGpB,SAAYE,EAAGF,QACZ,YAOA,IAAKA,OAAOs5B,QACR,IAAM,GAAI73B,GAAI,EAAG4I,EAAIivB,QAAQ53B,OAAQD,IAAM4I,EAAG5I,IAC1C63B,QAAQ73B,GAAGgI,KAAM,KAAMvJ,IAGhCyH,OAAQ3H,OAAQS"}
|
public/assets/js/masterslider.min.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
/*!
|
2 |
* Master Slider – Responsive Touch Swipe Slider [lite version]
|
3 |
-
* Copyright ©
|
4 |
*
|
5 |
* @author Averta [www.averta.net]
|
6 |
-
* @version 2.
|
7 |
-
* @date
|
8 |
*/
|
9 |
-
window.averta={},function($){function getVendorPrefix(){if("result"in arguments.callee)return arguments.callee.result;var regex=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,someScript=document.getElementsByTagName("script")[0];for(var prop in someScript.style)if(regex.test(prop))return arguments.callee.result=prop.match(regex)[0];return arguments.callee.result="WebkitOpacity"in someScript.style?"Webkit":"KhtmlOpacity"in someScript.style?"Khtml":""}function checkStyleValue(prop){var b=document.body||document.documentElement,s=b.style,p=prop;if("string"==typeof s[p])return!0;v=["Moz","Webkit","Khtml","O","ms"],p=p.charAt(0).toUpperCase()+p.substr(1);for(var i=0;i<v.length;i++)if("string"==typeof s[v[i]+p])return!0;return!1}function supportsTransitions(){return checkStyleValue("transition")}function supportsTransforms(){return checkStyleValue("transform")}function supports3DTransforms(){if(!supportsTransforms())return!1;var has3d,el=document.createElement("i"),transforms={WebkitTransform:"-webkit-transform",OTransform:"-o-transform",MSTransform:"-ms-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",Transform:"transform",transform:"transform"};el.style.display="block",document.body.insertBefore(el,null);for(var t in transforms)void 0!==el.style[t]&&(el.style[t]="translate3d(1px,1px,1px)",has3d=window.getComputedStyle(el).getPropertyValue(transforms[t]));return document.body.removeChild(el),null!=has3d&&has3d.length>0&&"none"!==has3d}window["package"]=function(name){window[name]||(window[name]={})};var extend=function(target,object){for(var key in object)target[key]=object[key]};Function.prototype.extend=function(superclass){"function"==typeof superclass.prototype.constructor?(extend(this.prototype,superclass.prototype),this.prototype.constructor=this):(this.prototype.extend(superclass),this.prototype.constructor=this)};var trans={Moz:"-moz-",Webkit:"-webkit-",Khtml:"-khtml-",O:"-o-",ms:"-ms-",Icab:"-icab-"};window._mobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),window._touch="ontouchstart"in document,$(document).ready(function(){window._jcsspfx=getVendorPrefix(),window._csspfx=trans[window._jcsspfx],window._cssanim=supportsTransitions(),window._css3d=supports3DTransforms(),window._css2d=supportsTransforms()}),window.parseQueryString=function(url){var queryString={};return url.replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),function($0,$1,$2,$3){queryString[$1]=$3}),queryString};var fps60=50/3;if(window.requestAnimationFrame||(window.requestAnimationFrame=function(){return window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){window.setTimeout(callback,fps60)}}()),window.getComputedStyle||(window.getComputedStyle=function(el){return this.el=el,this.getPropertyValue=function(prop){var re=/(\-([a-z]){1})/g;return"float"==prop&&(prop="styleFloat"),re.test(prop)&&(prop=prop.replace(re,function(){return arguments[2].toUpperCase()})),el.currentStyle[prop]?el.currentStyle[prop]:null},el.currentStyle}),Array.prototype.indexOf||(Array.prototype.indexOf=function(elt){var len=this.length>>>0,from=Number(arguments[1])||0;for(from=0>from?Math.ceil(from):Math.floor(from),0>from&&(from+=len);len>from;from++)if(from in this&&this[from]===elt)return from;return-1}),window.isMSIE=function(version){if(!$.browser.msie)return!1;if(!version)return!0;var ieVer=$.browser.version.slice(0,$.browser.version.indexOf("."));return"string"==typeof version?eval(-1!==version.indexOf("<")||-1!==version.indexOf(">")?ieVer+version:version+"=="+ieVer):version==ieVer},$.removeDataAttrs=function($target,exclude){var i,attrName,dataAttrsToDelete=[],dataAttrs=$target[0].attributes,dataAttrsLen=dataAttrs.length;for(exclude=exclude||[],i=0;dataAttrsLen>i;i++)attrName=dataAttrs[i].name,"data-"===attrName.substring(0,5)&&-1===exclude.indexOf(attrName)&&dataAttrsToDelete.push(dataAttrs[i].name);$.each(dataAttrsToDelete,function(index,attrName){$target.removeAttr(attrName)})},jQuery){$.jqLoadFix=function(){if(this.complete){var that=this;setTimeout(function(){$(that).load()},1)}},jQuery.uaMatch=jQuery.uaMatch||function(ua){ua=ua.toLowerCase();var match=/(chrome)[ \/]([\w.]+)/.exec(ua)||/(webkit)[ \/]([\w.]+)/.exec(ua)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua)||/(msie) ([\w.]+)/.exec(ua)||ua.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua)||[];return{browser:match[1]||"",version:match[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);var isIE11=!!navigator.userAgent.match(/Trident\/7\./);isIE11&&(browser.msie="true",delete browser.mozilla),jQuery.browser=browser,$.fn.preloadImg=function(src,_event){return this.each(function(){var $this=$(this),self=this,img=new Image;img.onload=function(event){null==event&&(event={}),$this.attr("src",src),event.width=img.width,event.height=img.height,$this.data("width",img.width),$this.data("height",img.height),setTimeout(function(){_event.call(self,event)},50),img=null},img.src=src}),this}}}(jQuery),function(){"use strict";averta.EventDispatcher=function(){this.listeners={}},averta.EventDispatcher.extend=function(_proto){var instance=new averta.EventDispatcher;for(var key in instance)"constructor"!=key&&(_proto[key]=averta.EventDispatcher.prototype[key])},averta.EventDispatcher.prototype={constructor:averta.EventDispatcher,addEventListener:function(event,listener,ref){this.listeners[event]||(this.listeners[event]=[]),this.listeners[event].push({listener:listener,ref:ref})},removeEventListener:function(event,listener,ref){if(this.listeners[event]){for(var i=0;i<this.listeners[event].length;++i)listener===this.listeners[event][i].listener&&ref===this.listeners[event][i].ref&&this.listeners[event].splice(i--,1);0===this.listeners[event].length&&(this.listeners[event]=null)}},dispatchEvent:function(event){if(event.target=this,this.listeners[event.type])for(var i=0,l=this.listeners[event.type].length;l>i;++i)this.listeners[event.type][i].listener.call(this.listeners[event.type][i].ref,event)}}}(),function($){"use strict";var isTouch="ontouchstart"in document,isPointer=window.navigator.pointerEnabled,isMSPoiner=!isPointer&&window.navigator.msPointerEnabled,usePointer=isPointer||isMSPoiner,ev_start=(isPointer?"pointerdown ":"")+(isMSPoiner?"MSPointerDown ":"")+(isTouch?"touchstart ":"")+"mousedown",ev_move=(isPointer?"pointermove ":"")+(isMSPoiner?"MSPointerMove ":"")+(isTouch?"touchmove ":"")+"mousemove",ev_end=(isPointer?"pointerup ":"")+(isMSPoiner?"MSPointerUp ":"")+(isTouch?"touchend ":"")+"mouseup",ev_cancel=(isPointer?"pointercancel ":"")+(isMSPoiner?"MSPointerCancel ":"")+"touchcancel";averta.TouchSwipe=function($element){this.$element=$element,this.enabled=!0,$element.bind(ev_start,{target:this},this.__touchStart),$element[0].swipe=this,this.onSwipe=null,this.swipeType="horizontal",this.noSwipeSelector="input, textarea, button, .no-swipe, .ms-no-swipe",this.lastStatus={}};var p=averta.TouchSwipe.prototype;p.getDirection=function(new_x,new_y){switch(this.swipeType){case"horizontal":return new_x<=this.start_x?"left":"right";case"vertical":return new_y<=this.start_y?"up":"down";case"all":return Math.abs(new_x-this.start_x)>Math.abs(new_y-this.start_y)?new_x<=this.start_x?"left":"right":new_y<=this.start_y?"up":"down"}},p.priventDefultEvent=function(new_x,new_y){var dx=Math.abs(new_x-this.start_x),dy=Math.abs(new_y-this.start_y),horiz=dx>dy;return"horizontal"===this.swipeType&&horiz||"vertical"===this.swipeType&&!horiz},p.createStatusObject=function(evt){var temp_x,temp_y,status_data={};return temp_x=this.lastStatus.distanceX||0,temp_y=this.lastStatus.distanceY||0,status_data.distanceX=evt.pageX-this.start_x,status_data.distanceY=evt.pageY-this.start_y,status_data.moveX=status_data.distanceX-temp_x,status_data.moveY=status_data.distanceY-temp_y,status_data.distance=parseInt(Math.sqrt(Math.pow(status_data.distanceX,2)+Math.pow(status_data.distanceY,2))),status_data.duration=(new Date).getTime()-this.start_time,status_data.direction=this.getDirection(evt.pageX,evt.pageY),status_data},p.__reset=function(event,jqevt){this.reset=!1,this.lastStatus={},this.start_time=(new Date).getTime();var point=this.__getPoint(event,jqevt);this.start_x=point.pageX,this.start_y=point.pageY},p.__touchStart=function(event){var swipe=event.data.target,jqevt=event;if(swipe.enabled&&!($(event.target).closest(swipe.noSwipeSelector,swipe.$element).length>0)){if(event=event.originalEvent,usePointer&&$(this).css("-ms-touch-action","horizontal"===swipe.swipeType?"pan-y":"pan-x"),!swipe.onSwipe)return void $.error("Swipe listener is undefined");if(!(swipe.touchStarted||isTouch&&swipe.start_time&&"mousedown"===event.type&&(new Date).getTime()-swipe.start_time<600)){var point=swipe.__getPoint(event,jqevt);swipe.start_x=point.pageX,swipe.start_y=point.pageY,swipe.start_time=(new Date).getTime(),$(document).bind(ev_end,{target:swipe},swipe.__touchEnd).bind(ev_move,{target:swipe},swipe.__touchMove).bind(ev_cancel,{target:swipe},swipe.__touchCancel);var status=swipe.createStatusObject(point);status.phase="start",swipe.onSwipe.call(null,status),isTouch||jqevt.preventDefault(),swipe.lastStatus=status,swipe.touchStarted=!0}}},p.__touchMove=function(event){var swipe=event.data.target,jqevt=event;if(event=event.originalEvent,swipe.touchStarted){clearTimeout(swipe.timo),swipe.timo=setTimeout(function(){swipe.__reset(event,jqevt)},60);var point=swipe.__getPoint(event,jqevt),status=swipe.createStatusObject(point);swipe.priventDefultEvent(point.pageX,point.pageY)&&jqevt.preventDefault(),status.phase="move",swipe.lastStatus=status,swipe.onSwipe.call(null,status)}},p.__touchEnd=function(event){var swipe=event.data.target,jqevt=event;event=event.originalEvent,clearTimeout(swipe.timo);var status=swipe.lastStatus;isTouch||jqevt.preventDefault(),status.phase="end",swipe.touchStarted=!1,swipe.priventEvt=null,$(document).unbind(ev_end,swipe.__touchEnd).unbind(ev_move,swipe.__touchMove).unbind(ev_cancel,swipe.__touchCancel),status.speed=status.distance/status.duration,swipe.onSwipe.call(null,status)},p.__touchCancel=function(event){var swipe=event.data.target;swipe.__touchEnd(event)},p.__getPoint=function(event,jqEvent){return isTouch&&-1===event.type.indexOf("mouse")?event.touches[0]:usePointer?event:jqEvent},p.enable=function(){this.enabled||(this.enabled=!0)},p.disable=function(){this.enabled&&(this.enabled=!1)}}(jQuery),function(){"use strict";averta.Ticker=function(){};var st=averta.Ticker,list=[],len=0,__stopped=!0;st.add=function(listener,ref){return list.push([listener,ref]),1===list.length&&st.start(),len=list.length},st.remove=function(listener,ref){for(var i=0,l=list.length;l>i;++i)list[i]&&list[i][0]===listener&&list[i][1]===ref&&list.splice(i,1);len=list.length,0===len&&st.stop()},st.start=function(){__stopped&&(__stopped=!1,__tick())},st.stop=function(){__stopped=!0};var __tick=function(){if(!st.__stopped){for(var item,i=0;i!==len;i++)item=list[i],item[0].call(item[1]);requestAnimationFrame(__tick)}}}(),function(){"use strict";Date.now||(Date.now=function(){return(new Date).getTime()}),averta.Timer=function(delay,autoStart){this.delay=delay,this.currentCount=0,this.paused=!1,this.onTimer=null,this.refrence=null,autoStart&&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";window.CSSTween=function(element,duration,delay,ease){this.$element=element,this.duration=duration||1e3,this.delay=delay||0,this.ease=ease||"linear"};var p=CSSTween.prototype;p.to=function(callback,target){return this.to_cb=callback,this.to_cb_target=target,this},p.from=function(callback,target){return this.fr_cb=callback,this.fr_cb_target=target,this},p.onComplete=function(callback,target){return this.oc_fb=callback,this.oc_fb_target=target,this},p.chain=function(csstween){return this.chained_tween=csstween,this},p.reset=function(){clearTimeout(this.start_to),clearTimeout(this.end_to)},p.start=function(){var element=this.$element[0];clearTimeout(this.start_to),clearTimeout(this.end_to),this.fresh=!0,this.fr_cb&&(element.style[window._jcsspfx+"TransitionDuration"]="0ms",this.fr_cb.call(this.fr_cb_target));var that=this;return this.onTransComplete=function(){that.fresh&&(that.reset(),element.style[window._jcsspfx+"TransitionDuration"]="",element.style[window._jcsspfx+"TransitionProperty"]="",element.style[window._jcsspfx+"TransitionTimingFunction"]="",element.style[window._jcsspfx+"TransitionDelay"]="",that.fresh=!1,that.chained_tween&&that.chained_tween.start(),that.oc_fb&&that.oc_fb.call(that.oc_fb_target))},this.start_to=setTimeout(function(){that.$element&&(element.style[window._jcsspfx+"TransitionDuration"]=that.duration+"ms",element.style[window._jcsspfx+"TransitionProperty"]=that.transProperty||"all",element.style[window._jcsspfx+"TransitionDelay"]=that.delay>0?that.delay+"ms":"",element.style[window._jcsspfx+"TransitionTimingFunction"]=that.ease,that.to_cb&&that.to_cb.call(that.to_cb_target),that.end_to=setTimeout(function(){that.onTransComplete()},that.duration+(that.delay||0)))},1),this}}(),function(){"use strict";function transPos(element,properties){if(void 0!==properties.x||void 0!==properties.y)if(_cssanim){var trans=window._jcsspfx+"Transform";void 0!==properties.x&&(properties[trans]=(properties[trans]||"")+" translateX("+properties.x+"px)",delete properties.x),void 0!==properties.y&&(properties[trans]=(properties[trans]||"")+" translateY("+properties.y+"px)",delete properties.y)}else{if(void 0!==properties.x){var posx="auto"!==element.css("right")?"right":"left";properties[posx]=properties.x+"px",delete properties.x}if(void 0!==properties.y){var posy="auto"!==element.css("bottom")?"bottom":"top";properties[posy]=properties.y+"px",delete properties.y}}return properties}var _cssanim=null;window.CTween={},CTween.setPos=function(element,pos){element.css(transPos(element,pos))},CTween.animate=function(element,duration,properties,options){if(null==_cssanim&&(_cssanim=window._cssanim),options=options||{},transPos(element,properties),_cssanim){var tween=new CSSTween(element,duration,options.delay,EaseDic[options.ease]);return options.transProperty&&(tween.transProperty=options.transProperty),tween.to(function(){element.css(properties)}),options.complete&&tween.onComplete(options.complete,options.target),tween.start(),tween.stop=tween.reset,tween}var onCl;return options.delay&&element.delay(options.delay),options.complete&&(onCl=function(){options.complete.call(options.target)}),element.stop(!0).animate(properties,duration,options.ease||"linear",onCl),element},CTween.fadeOut=function(target,duration,remove){var options={};remove===!0?options.complete=function(){target.remove()}:2===remove&&(options.complete=function(){target.css("display","none")}),CTween.animate(target,duration||1e3,{opacity:0},options)},CTween.fadeIn=function(target,duration,reset){reset!==!1&&target.css("opacity",0).css("display",""),CTween.animate(target,duration||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(type,$container,$img){this.$container=$container,this.$img=$img,this.type=type||"stretch",this.widthOnly=!1,this.heightOnly=!1};var p=MSAligner.prototype;p.init=function(w,h){switch(this.baseWidth=w,this.baseHeight=h,this.imgRatio=w/h,this.imgRatio2=h/w,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()}},p.align=function(){if(this.needAlign){var cont_w=this.$container.width(),cont_h=this.$container.height(),contRatio=cont_w/cont_h;"fill"==this.type?this.imgRatio<contRatio?(this.$img.width(cont_w),this.$img.height(cont_w*this.imgRatio2)):(this.$img.height(cont_h),this.$img.width(cont_h*this.imgRatio)):"fit"==this.type&&(this.imgRatio<contRatio?(this.$img.height(cont_h),this.$img.width(cont_h*this.imgRatio)):(this.$img.width(cont_w),this.$img.height(cont_w*this.imgRatio2))),this.setMargin()}},p.setMargin=function(){var cont_w=this.$container.width(),cont_h=this.$container.height();this.$img.css("margin-top",(cont_h-this.$img[0].offsetHeight)/2+"px"),this.$img.css("margin-left",(cont_w-this.$img[0].offsetWidth)/2+"px")}}(),function(){"use strict";var _options={bouncing:!0,snapping:!1,snapsize:null,friction:.05,outFriction:.05,outAcceleration:.09,minValidDist:.3,snappingMinSpeed:2,paging:!1,endless:!1,maxSpeed:160},Controller=function(min,max,options){if(null===max||null===min)throw new Error("Max and Min values are required.");this.options=options||{};for(var key in _options)key in this.options||(this.options[key]=_options[key]);this._max_value=max,this._min_value=min,this.value=min,this.end_loc=min,this.current_snap=this.getSnapNum(min),this.__extrStep=0,this.__extraMove=0,this.__animID=-1},p=Controller.prototype;p.changeTo=function(value,animate,speed,snap_num,dispatch){if(this.stopped=!1,this._internalStop(),value=this._checkLimits(value),speed=Math.abs(speed||0),this.options.snapping&&(snap_num=snap_num||this.getSnapNum(value),dispatch!==!1&&this._callsnapChange(snap_num),this.current_snap=snap_num),animate){this.animating=!0;var self=this,active_id=++self.__animID,amplitude=value-self.value,timeStep=0,targetPosition=value,animFrict=1-self.options.friction,timeconst=animFrict+(speed-20)*animFrict*1.3/self.options.maxSpeed,tick=function(){if(active_id===self.__animID){var dis=value-self.value;if(!(Math.abs(dis)>self.options.minValidDist&&self.animating))return self.animating&&(self.value=value,self._callrenderer()),self.animating=!1,active_id!==self.__animID&&(self.__animID=-1),void self._callonComplete("anim");window.requestAnimationFrame(tick),self.value=targetPosition-amplitude*Math.exp(-++timeStep*timeconst),self._callrenderer()}};return void tick()}this.value=value,this._callrenderer()},p.drag=function(move){this.start_drag&&(this.drag_start_loc=this.value,this.start_drag=!1),this.animating=!1,this._deceleration=!1,this.value-=move,!this.options.endless&&(this.value>this._max_value||this.value<0)?this.options.bouncing?(this.__isout=!0,this.value+=.6*move):this.value=this.value>this._max_value?this._max_value:0:!this.options.endless&&this.options.bouncing&&(this.__isout=!1),this._callrenderer()},p.push=function(speed){if(this.stopped=!1,this.options.snapping&&Math.abs(speed)<=this.options.snappingMinSpeed)return void this.cancel();if(this.__speed=speed,this.__startSpeed=speed,this.end_loc=this._calculateEnd(),this.options.snapping){var snap_loc=this.getSnapNum(this.value),end_snap=this.getSnapNum(this.end_loc);if(this.options.paging)return snap_loc=this.getSnapNum(this.drag_start_loc),this.__isout=!1,void(speed>0?this.gotoSnap(snap_loc+1,!0,speed):this.gotoSnap(snap_loc-1,!0,speed));if(snap_loc===end_snap)return void this.cancel();this._callsnapChange(end_snap),this.current_snap=end_snap}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()},p.bounce=function(speed){this.animating||(this.stopped=!1,this.animating=!1,this.__speed=speed,this.__startSpeed=speed,this.end_loc=this._calculateEnd(),this._startDecelaration())},p.stop=function(){this.stopped=!0,this._internalStop()},p.cancel=function(){this.start_drag=!0,this.__isout?(this.__speed=4e-4,this._startDecelaration()):this.options.snapping&&this.gotoSnap(this.getSnapNum(this.value),!0)},p.renderCallback=function(listener,ref){this.__renderHook={fun:listener,ref:ref}},p.snappingCallback=function(listener,ref){this.__snapHook={fun:listener,ref:ref}},p.snapCompleteCallback=function(listener,ref){this.__compHook={fun:listener,ref:ref}},p.getSnapNum=function(value){return Math.floor((value+this.options.snapsize/2)/this.options.snapsize)},p.nextSnap=function(){this._internalStop();var curr_snap=this.getSnapNum(this.value);!this.options.endless&&(curr_snap+1)*this.options.snapsize>this._max_value?(this.__speed=8,this.__needsSnap=!1,this._startDecelaration()):this.gotoSnap(curr_snap+1,!0)},p.prevSnap=function(){this._internalStop();var curr_snap=this.getSnapNum(this.value);!this.options.endless&&(curr_snap-1)*this.options.snapsize<this._min_value?(this.__speed=-8,this.__needsSnap=!1,this._startDecelaration()):this.gotoSnap(curr_snap-1,!0)},p.gotoSnap=function(snap_num,animate,speed){this.changeTo(snap_num*this.options.snapsize,animate,speed,snap_num)},p.destroy=function(){this._internalStop(),this.__renderHook=null,this.__snapHook=null,this.__compHook=null},p._internalStop=function(){this.start_drag=!0,this.animating=!1,this._deceleration=!1,this.__extrStep=0},p._calculateExtraMove=function(value){var m=value%this.options.snapsize;return m<this.options.snapsize/2?-m:this.options.snapsize-m},p._calculateEnd=function(step){for(var temp_speed=this.__speed,temp_value=this.value,i=0;Math.abs(temp_speed)>this.options.minValidDist;)temp_value+=temp_speed,temp_speed*=this.options.friction,i++;return step?i:temp_value},p._checkLimits=function(value){return this.options.endless?value:value<this._min_value?this._min_value:value>this._max_value?this._max_value:value},p._callrenderer=function(){this.__renderHook&&this.__renderHook.fun.call(this.__renderHook.ref,this,this.value)},p._callsnapChange=function(targetSnap){this.__snapHook&&targetSnap!==this.current_snap&&this.__snapHook.fun.call(this.__snapHook.ref,this,targetSnap,targetSnap-this.current_snap)},p._callonComplete=function(type){this.__compHook&&!this.stopped&&this.__compHook.fun.call(this.__compHook.ref,this,this.current_snap,type)},p._computeDeceleration=function(){if(this.options.snapping&&this.__needsSnap){var xtr_move=(this.__startSpeed-this.__speed)/this.__startSpeed*this.__extraMove;this.value+=this.__speed+xtr_move-this.__extrStep,this.__extrStep=xtr_move}else this.value+=this.__speed;if(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){var out_value=0;this.value<this._min_value?out_value=this._min_value-this.value:this.value>this._max_value&&(out_value=this._max_value-this.value),this.__isout=Math.abs(out_value)>=this.options.minValidDist,this.__isout&&(this.__speed*out_value<=0?this.__speed+=out_value*this.options.outFriction:this.__speed=out_value*this.options.outAcceleration)}},p._startDecelaration=function(){if(!this._deceleration){this._deceleration=!0;var self=this,tick=function(){self._deceleration&&(self._computeDeceleration(),Math.abs(self.__speed)>self.options.minValidDist||self.__isout?window.requestAnimationFrame(tick):(self._deceleration=!1,self.__isout=!1,self.value=self.__needsSnap&&self.options.snapping&&!self.options.paging?self._checkLimits(self.end_loc+self.__extraMove):Math.round(self.value),self._callrenderer(),self._callonComplete("decel")))};tick()}},window.Controller=Controller}(),window.MSSliderEvent=function(type){this.type=type},MSSliderEvent.CHANGE_START="ms_changestart",MSSliderEvent.CHANGE_END="ms_changeend",MSSliderEvent.WAITING="ms_waiting",MSSliderEvent.AUTOPLAY_CHANGE="ms_autoplaychange",MSSliderEvent.VIDEO_PLAY="ms_videoPlay",MSSliderEvent.VIDEO_CLOSE="ms_videoclose",MSSliderEvent.INIT="ms_init",MSSliderEvent.HARD_UPDATE="ms_hard_update",MSSliderEvent.RESIZE="ms_resize",MSSliderEvent.RESERVED_SPACE_CHANGE="ms_rsc",MSSliderEvent.DESTROY="ms_destroy",function(window,document,$){"use strict";window.MSSlide=function(){this.$element=null,this.$loading=$("<div></div>").addClass("ms-slide-loading"),this.view=null,this.index=-1,this.__width=0,this.__height=0,this.fillMode="fill",this.selected=!1,this.pselected=!1,this.autoAppend=!0,this.isSleeping=!0,this.moz=$.browser.mozilla};var p=MSSlide.prototype;p.onSwipeStart=function(){this.link&&(this.linkdis=!0),this.video&&(this.videodis=!0)},p.onSwipeMove=function(e){var move=Math.max(Math.abs(e.data.distanceX),Math.abs(e.data.distanceY));this.swipeMoved=move>4},p.onSwipeCancel=function(){return this.swipeMoved?void(this.swipeMoved=!1):(this.link&&(this.linkdis=!1),void(this.video&&(this.videodis=!1)))},p.assetsLoaded=function(){this.ready=!0,this.slider.api._startTimer(),this.isSleeping||this.setupBG(),CTween.fadeOut(this.$loading,300,!0),(0===this.slider.options.preload||"all"===this.slider.options.preload)&&this.index<this.view.slideList.length-1?this.view.slideList[this.index+1].loadImages():"all"===this.slider.options.preload&&this.index===this.view.slideList.length-1&&this.slider._removeLoading()},p.setBG=function(img){this.hasBG=!0;var that=this;this.$imgcont=$("<div></div>").addClass("ms-slide-bgcont"),this.$element.append(this.$loading).append(this.$imgcont),this.$bg_img=$(img).css("visibility","hidden"),this.$imgcont.append(this.$bg_img),this.bgAligner=new MSAligner(that.fillMode,that.$imgcont,that.$bg_img),this.bgAligner.widthOnly=this.slider.options.autoHeight,that.slider.options.autoHeight&&(that.pselected||that.selected)&&that.slider.setHeight(that.slider.options.height),void 0!==this.$bg_img.data("src")?(this.bg_src=this.$bg_img.data("src"),this.$bg_img.removeAttr("data-src")):this.$bg_img.one("load",function(event){that._onBGLoad(event)}).each($.jqLoadFix)},p.setupBG=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()))},p.loadImages=function(){if(!this.ls){if(this.ls=!0,this.hasBG&&this.bg_src){var that=this;this.$bg_img.preloadImg(this.bg_src,function(event){that._onBGLoad(event)})}this.hasBG||this.hasLayers||this.assetsLoaded()}},p._onBGLoad=function(event){this.bgNatrualWidth=event.width,this.bgNatrualHeight=event.height,this.bgLoaded=!0,$.browser.msie&&this.$bg_img.on("dragstart",function(event){event.preventDefault()}),(!this.hasLayers||this.layerController.ready)&&this.assetsLoaded()},p.setSize=function(width,height){this.__width=width,this.slider.options.autoHeight&&(this.bgLoaded?(this.ratio=this.__width/this.bgWidth,height=Math.floor(this.ratio*this.bgHeight),this.$imgcont.height(height)):(this.ratio=width/this.slider.options.width,height=this.slider.options.height*this.ratio)),this.__height=height,this.$element.width(width).height(height),this.hasBG&&this.bgLoaded&&this.bgAligner.align()},p.getHeight=function(){return this.hasBG&&this.bgLoaded?this.bgHeight*this.ratio:Math.max(this.$element[0].clientHeight,this.slider.options.height*this.ratio)},p.__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.moz&&this.view.$element.css("perspective","none"),this.view.swipeControl&&this.view.swipeControl.disable(),this.slider.slideController.dispatchEvent(new MSSliderEvent(MSSliderEvent.VIDEO_PLAY)))},p.__closeVideo=function(){if(this.vplayed){this.vplayed=!1,this.roc&&this.slider.api.resume();var that=this;CTween.fadeIn(this.vpbtn,500),CTween.animate(this.vcbtn,500,{opacity:0},{complete:function(){that.vcbtn.css("display","none")}}),CTween.animate(this.vframe,500,{opacity:0},{complete:function(){that.vframe.attr("src","about:blank").css("display","none")}}),this.moz&&this.view.$element.css("perspective",""),this.view.swipeControl&&this.view.swipeControl.enable(),this.view.$element.removeClass("ms-def-cursor"),this.slider.slideController.dispatchEvent(new MSSliderEvent(MSSliderEvent.VIDEO_CLOSE))}},p.create=function(){var that=this;this.link&&this.link.addClass("ms-slide-link").html("").click(function(e){that.linkdis&&e.preventDefault()}),this.video&&(-1===this.video.indexOf("?")&&(this.video+="?"),this.vframe=$("<iframe></iframe>").addClass("ms-slide-video").css({width:"100%",height:"100%",display:"none"}).attr("src","about:blank").attr("allowfullscreen","true").appendTo(this.$element),this.vpbtn=$("<div></div>").addClass("ms-slide-vpbtn").click(function(){that.__playVideo()}).appendTo(this.$element),this.vcbtn=$("<div></div>").addClass("ms-slide-vcbtn").click(function(){that.__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%"),("center"===this.fillMode||"stretch"===this.fillMode)&&(this.fillMode="fill")),this.slider.options.autoHeight&&this.$element.addClass("ms-slide-auto-height"),this.sleep(!0)},p.destroy=function(){this.$element.remove(),this.$element=null},p.prepareToSelect=function(){this.pselected||this.selected||(this.pselected=!0,(this.link||this.video)&&(this.view.addEventListener(MSViewEvents.SWIPE_START,this.onSwipeStart,this),this.view.addEventListener(MSViewEvents.SWIPE_MOVE,this.onSwipeMove,this),this.view.addEventListener(MSViewEvents.SWIPE_CANCEL,this.onSwipeCancel,this),this.linkdis=!1,this.swipeMoved=!1),this.loadImages(),this.moz&&this.$element.css("margin-top",""))},p.select=function(){this.selected||(this.selected=!0,this.pselected=!1,this.$element.addClass("ms-sl-selected"),this.videoAutoPlay&&(this.videodis=!1,this.vpbtn.trigger("click")))},p.unselect=function(){this.pselected=!1,this.moz&&this.$element.css("margin-top","0.1px"),(this.link||this.video)&&(this.view.removeEventListener(MSViewEvents.SWIPE_START,this.onSwipeStart,this),this.view.removeEventListener(MSViewEvents.SWIPE_MOVE,this.onSwipeMove,this),this.view.removeEventListener(MSViewEvents.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))
|
10 |
-
},p.sleep=function(force){(!this.isSleeping||force)&&(this.isSleeping=!0,this.autoAppend&&this.$element.detach(),this.hasLayers&&this.layerController.onSlideSleep())},p.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.setupBG(),this.hasBG&&this.bgAligner.align(),this.hasLayers&&this.layerController.onSlideWakeup())}}(window,document,jQuery),function($){"use strict";var SliderViewList={};window.MSSlideController=function(slider){this._delayProgress=0,this._timer=new averta.Timer(100),this._timer.onTimer=this.onTimer,this._timer.refrence=this,this.currentSlide=null,this.slider=slider,this.so=slider.options,averta.EventDispatcher.call(this)},MSSlideController.registerView=function(name,_class){if(name in SliderViewList)throw new Error(name+", is already registered.");SliderViewList[name]=_class},MSSlideController.SliderControlList={},MSSlideController.registerControl=function(name,_class){if(name in MSSlideController.SliderControlList)throw new Error(name+", is already registered.");MSSlideController.SliderControlList[name]=_class};var p=MSSlideController.prototype;p.setupView=function(){var that=this;this.resize_listener=function(){that.__resize()};var viewOptions={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&&$.extend(viewOptions,this.so.viewOptions),this.so.autoHeight&&(this.so.heightLimit=!1);var viewClass=SliderViewList[this.slider.options.view]||MSBasicView;if(!viewClass._3dreq||window._css3d&&!$.browser.msie||(viewClass=viewClass._fallback||MSBasicView),this.view=new viewClass(viewOptions),this.so.overPause){var that=this;this.slider.$element.mouseenter(function(){that.is_over=!0,that._stopTimer()}).mouseleave(function(){that.is_over=!1,that._startTimer()})}},p.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.so.deepLink&&this.__updateWindowHash(),this.dispatchEvent(new MSSliderEvent(MSSliderEvent.CHANGE_START))},p.onChangeEnd=function(){if(this.change_started=!1,this._startTimer(),this.currentSlide.select(),this.so.preload>1){var loc,i,slide,l=this.so.preload-1;for(i=1;l>=i;++i){if(loc=this.view.index+i,loc>=this.view.slideList.length){if(!this.so.loop){i=l;continue}loc-=this.view.slideList.length}slide=this.view.slideList[loc],slide&&slide.loadImages()}for(l>this.view.slideList.length/2&&(l=Math.floor(this.view.slideList.length/2)),i=1;l>=i;++i){if(loc=this.view.index-i,0>loc){if(!this.so.loop){i=l;continue}loc=this.view.slideList.length+loc}slide=this.view.slideList[loc],slide&&slide.loadImages()}}this.dispatchEvent(new MSSliderEvent(MSSliderEvent.CHANGE_END))},p.onSwipeStart=function(){this.skipTimer()},p.skipTimer=function(){this._timer.reset(),this._delayProgress=0,this.dispatchEvent(new MSSliderEvent(MSSliderEvent.WAITING))},p.onTimer=function(){if(this._timer.getTime()>=1e3*this.view.currentSlide.delay&&(this.skipTimer(),this.view.next(),this.hideCalled=!1),this._delayProgress=this._timer.getTime()/(10*this.view.currentSlide.delay),this.so.hideLayers&&!this.hideCalled&&1e3*this.view.currentSlide.delay-this._timer.getTime()<=300){var currentSlide=this.view.currentSlide;currentSlide.hasLayers&¤tSlide.layerController.animHideLayers(),this.hideCalled=!0}this.dispatchEvent(new MSSliderEvent(MSSliderEvent.WAITING))},p._stopTimer=function(){this._timer&&this._timer.stop()},p._startTimer=function(){this.paused||this.is_over||!this.currentSlide||!this.currentSlide.ready||this.change_started||this._timer.start()},p.__appendSlides=function(){var slide,loc,i=0,l=this.view.slideList.length-1;for(i;l>i;++i)slide=this.view.slideList[i],slide.detached||(slide.$element.detach(),slide.detached=!0);for(this.view.appendSlide(this.view.slideList[this.view.index]),l=3,i=1;l>=i;++i){if(loc=this.view.index+i,loc>=this.view.slideList.length){if(!this.so.loop){i=l;continue}loc-=this.view.slideList.length}slide=this.view.slideList[loc],slide.detached=!1,this.view.appendSlide(slide)}for(l>this.view.slideList.length/2&&(l=Math.floor(this.view.slideList.length/2)),i=1;l>=i;++i){if(loc=this.view.index-i,0>loc){if(!this.so.loop){i=l;continue}loc=this.view.slideList.length+loc}slide=this.view.slideList[loc],slide.detached=!1,this.view.appendSlide(slide)}},p.__resize=function(hard){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,hard),this.view.setSize(this.width,this.currentSlide.getHeight(),hard)):this.view.setSize(this.width,Math.max(this.so.minHeight,this.so.heightLimit?Math.min(this.height,this.so.height):this.height),hard),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 MSSliderEvent(MSSliderEvent.RESIZE)))},p.__dispatchInit=function(){this.dispatchEvent(new MSSliderEvent(MSSliderEvent.INIT))},p.setup=function(){this.created=!0,this.paused=!this.so.autoplay,this.view.addEventListener(MSViewEvents.CHANGE_START,this.onChangeStart,this),this.view.addEventListener(MSViewEvents.CHANGE_END,this.onChangeEnd,this),this.view.addEventListener(MSViewEvents.SWIPE_START,this.onSwipeStart,this),this.currentSlide=this.view.slideList[this.so.start-1],this.__resize();var startSlide=this.so.start-1;if(this.view.create(startSlide),0===this.so.preload&&this.view.slideList[0].loadImages(),this.scroller=this.view.controller,this.so.wheel){var that=this,last_time=(new Date).getTime();this.wheellistener=function(event){var e=window.event||event.orginalEvent||event;e.preventDefault();var current_time=(new Date).getTime();if(!(400>current_time-last_time)){last_time=current_time;var delta=Math.abs(e.detail||e.wheelDelta);$.browser.mozilla&&(delta*=100);var scrollThreshold=15;return e.detail<0||e.wheelDelta>0?delta>=scrollThreshold&&that.previous(!0):delta>=scrollThreshold&&that.next(!0),!1}},$.browser.mozilla?this.slider.$element[0].addEventListener("DOMMouseScroll",this.wheellistener):this.slider.$element.bind("mousewheel",this.wheellistener)}0===this.slider.$element[0].clientWidth&&(this.slider.init_safemode=!0),this.__resize()},p.index=function(){return this.view.index},p.count=function(){return this.view.slidesCount},p.next=function(checkLoop){this.skipTimer(),this.view.next(checkLoop)},p.previous=function(checkLoop){this.skipTimer(),this.view.previous(checkLoop)},p.gotoSlide=function(index){index=Math.min(index,this.count()-1),this.skipTimer(),this.view.gotoSlide(index)},p.destroy=function(reset){this.dispatchEvent(new MSSliderEvent(MSSliderEvent.DESTROY)),this.slider.destroy(reset)},p._destroy=function(){this._timer.reset(),this._timer=null,$(window).unbind("resize",this.resize_listener),this.view.destroy(),this.view=null,this.so.wheel&&($.browser.mozilla?this.slider.$element[0].removeEventListener("DOMMouseScroll",this.wheellistener):this.slider.$element.unbind("mousewheel",this.wheellistener),this.wheellistener=null),this.so=null},p.runAction=function(action){var actionParams=[];if(-1!==action.indexOf("(")){var temp=action.slice(0,action.indexOf("("));actionParams=action.slice(action.indexOf("(")+1,-1).replace(/\"|\'|\s/g,"").split(","),action=temp}action in this?this[action].apply(this,actionParams):console},p.update=function(hard){this.slider.init_safemode&&hard&&(this.slider.init_safemode=!1),this.__resize(hard),hard&&this.dispatchEvent(new MSSliderEvent(MSSliderEvent.HARD_UPDATE))},p.locate=function(){this.__resize()},p.resume=function(){this.paused&&(this.paused=!1,this._startTimer())},p.pause=function(){this.paused||(this.paused=!0,this._stopTimer())},p.currentTime=function(){return this._delayProgress},averta.EventDispatcher.extend(p)}(jQuery),function($){"use strict";window.MasterSlider=function(){this.options={forceInit:!0,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,mobileBGVideo:!1,heightLimit:!0,smoothHeight:!0,autoHeight:!1,minHeight:-1,fullwidth:!1,fullheight:!1,autofill:!1,layersMode:"center",hideLayers:!1,endPause:!1,centerControls:!0,overPause:!0,shuffle:!1,speed:17,dir:"h",preload:0,wheel:!1,layout:"boxed",autofillTarget:null,fullscreenMargin:0,instantStartLayers:!1,parallaxMode:"mouse",rtl:!1,deepLink:null,deepLinkType:"path",disablePlugins:[]},this.slides=[],this.activePlugins=[],this.$element=null,this.lastMargin=0,this.leftSpace=0,this.topSpace=0,this.rightSpace=0,this.bottomSpace=0,this._holdOn=0;var that=this;this.resize_listener=function(){that._resize()},$(window).bind("resize",this.resize_listener)},MasterSlider.author="Averta Ltd. (www.averta.net)",MasterSlider.version="2.50.0",MasterSlider.releaseDate="Aug 2016",MasterSlider._plugins=[];var MS=MasterSlider;MS.registerPlugin=function(plugin){-1===MS._plugins.indexOf(plugin)&&MS._plugins.push(plugin)};var p=MasterSlider.prototype;p.__setupSlides=function(){var new_slide,that=this,ind=0;this.$element.children(".ms-slide").each(function(){var $slide_ele=$(this);new_slide=new MSSlide,new_slide.$element=$slide_ele,new_slide.slider=that,new_slide.delay=void 0!==$slide_ele.data("delay")?$slide_ele.data("delay"):3,new_slide.fillMode=void 0!==$slide_ele.data("fill-mode")?$slide_ele.data("fill-mode"):that.options.fillMode,new_slide.index=ind++,new_slide.id=$slide_ele.data("id");var slide_img=$slide_ele.children("img:not(.ms-layer)");if(slide_img.length>0&&new_slide.setBG(slide_img[0]),that.controls)for(var i=0,l=that.controls.length;l>i;++i)that.controls[i].slideAction(new_slide);$slide_ele.children("a").each(function(){var $this=$(this);"video"===this.getAttribute("data-type")?(new_slide.video=this.getAttribute("href"),new_slide.videoAutoPlay=$this.data("autoplay"),$this.remove()):$this.hasClass("ms-layer")||(new_slide.link=$(this))});that.slides.push(new_slide),that.slideController.view.addSlide(new_slide)})},p._setupOverlayLayers=function(){var self=this,$ollayers=this.$element.children(".ms-overlay-layers").eq(0);if($ollayers.length){var overlayLayers=new MSOverlayLayers(this);overlayLayers.$element=$ollayers,self.__createSlideLayers(overlayLayers,$ollayers.find(".ms-layer")),this.view.$element.prepend($ollayers),this.overlayLayers=overlayLayers,overlayLayers.create()}},p._removeLoading=function(){$(window).unbind("resize",this.resize_listener),this.$element.removeClass("before-init").css("visibility","visible").css("height","").css("opacity",0),CTween.fadeIn(this.$element),this.$loading.remove(),this.slideController&&this.slideController.__resize()},p._resize=function(){if(this.$loading){var h=this.$loading[0].clientWidth/this.aspect;h=this.options.heightLimit?Math.min(h,this.options.height):h,this.$loading.height(h),this.$element.height(h)}},p._shuffleSlides=function(){for(var r,slides=this.$element.children(".ms-slide"),i=0,l=slides.length;l>i;++i)r=Math.floor(Math.random()*(l-1)),i!=r&&(this.$element[0].insertBefore(slides[i],slides[r]),slides=this.$element.children(".ms-slide"))},p._setupSliderLayout=function(){this._updateSideMargins(),this.lastMargin=this.leftSpace;var lo=this.options.layout;"boxed"!==lo&&"partialview"!==lo&&(this.options.fullwidth=!0),("fullscreen"===lo||"fullwidth"===lo||"autofill"===lo)&&($(window).bind("resize",{that:this},this._updateLayout),this._updateLayout()),$(window).bind("resize",this.slideController.resize_listener)},p._updateLayout=function(event){var that=event?event.data.that:this,$element=(that.options.layout,that.$element),$win=$(window);$element.width($win.width()-that.leftSpace-that.rightSpace);var margin=-$element.offset().left+that.leftSpace+that.lastMargin;$element.css("margin-left",margin),that.lastMargin=margin},p._init=function(){if(!(this._holdOn>0)&&this._docReady){if(this.initialized=!0,"all"!==this.options.preload&&this._removeLoading(),this.options.shuffle&&this._shuffleSlides(),this.slideController.setupView(),this.view=this.slideController.view,this.$controlsCont=$("<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=$("<div></div>").addClass("ms-container").prependTo(this.$element).append(this.$controlsCont),this.controls)for(var i=0,l=this.controls.length;l>i;++i)this.controls[i].setup();if(this._setupSliderLayout(),this.__setupSlides(),this.slideController.setup(),this._setupOverlayLayers(),this.controls)for(i=0,l=this.controls.length;l>i;++i)this.controls[i].create();if(this.options.autoHeight&&this.slideController.view.$element.height(this.slideController.currentSlide.getHeight()),this.options.swipe&&!window._touch&&this.options.grabCursor&&this.options.mouse){var $view=this.view.$element;$view.mousedown(function(){$view.removeClass("ms-grab-cursor"),$view.addClass("ms-grabbing-cursor"),$.browser.msie&&window.ms_grabbing_curosr&&($view[0].style.cursor="url("+window.ms_grabbing_curosr+"), move")}).addClass("ms-grab-cursor"),$(document).mouseup(function(){$view.removeClass("ms-grabbing-cursor"),$view.addClass("ms-grab-cursor"),$.browser.msie&&window.ms_grab_curosr&&($view[0].style.cursor="url("+window.ms_grab_curosr+"), move")})}this.slideController.__dispatchInit()}},p.setHeight=function(value){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:value},{ease:"easeOutQuart"})):this.slideController.view.$element.height(value)},p.reserveSpace=function(side,space){var sideSpace=side+"Space",pos=this[sideSpace];return this[sideSpace]+=space,this._updateSideMargins(),pos},p._updateSideMargins=function(){this.$element.css("margin",this.topSpace+"px "+this.rightSpace+"px "+this.bottomSpace+"px "+this.leftSpace+"px")},p._realignControls=function(){this.rightSpace=this.leftSpace=this.topSpace=this.bottomSpace=0,this._updateSideMargins(),this.api.dispatchEvent(new MSSliderEvent(MSSliderEvent.RESERVED_SPACE_CHANGE))},p.control=function(control,options){if(control in MSSlideController.SliderControlList){this.controls||(this.controls=[]);var ins=new MSSlideController.SliderControlList[control](options);return ins.slider=this,this.controls.push(ins),this}},p.holdOn=function(){this._holdOn++},p.release=function(){this._holdOn--,this._init()},p.setup=function(target,options){if(this.$element="string"==typeof target?$("#"+target):target.eq(0),this.setupMarkup=this.$element.html(),0!==this.$element.length){this.$element.addClass("master-slider").addClass("before-init"),$.browser.msie?this.$element.addClass("ms-ie").addClass("ms-ie"+$.browser.version.slice(0,$.browser.version.indexOf("."))):$.browser.webkit?this.$element.addClass("ms-wk"):$.browser.mozilla&&this.$element.addClass("ms-moz");var ua=navigator.userAgent.toLowerCase(),isAndroid=ua.indexOf("android")>-1;isAndroid&&this.$element.addClass("ms-android");var that=this;$.extend(this.options,options),this.aspect=this.options.width/this.options.height,this.$loading=$("<div></div>").addClass("ms-loading-container").insertBefore(this.$element).append($("<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 MSSlideController(this),this.api=this.slideController;for(var i=0,l=MS._plugins.length;i!==l;i++){var plugin=MS._plugins[i];-1===this.options.disablePlugins.indexOf(plugin.name)&&this.activePlugins.push(new plugin(this))}return this.options.forceInit&&MasterSlider.addJQReadyErrorCheck(this),$(document).ready(function(){that.initialized||(that._docReady=!0,that._init())}),this}},p.destroy=function(insertMarkup){for(var i=0,l=this.activePlugins.length;i!==l;i++)this.activePlugins[i].destroy();if(this.controls)for(i=0,l=this.controls.length;i!==l;i++)this.controls[i].destroy();this.slideController&&this.slideController._destroy(),this.$loading&&this.$loading.remove(),insertMarkup?this.$element.html(this.setupMarkup).css("visibility","hidden"):this.$element.remove();var lo=this.options.layout;("fullscreen"===lo||"fullwidth"===lo)&&$(window).unbind("resize",this._updateLayout),this.view=null,this.slides=null,this.options=null,this.slideController=null,this.api=null,this.resize_listener=null,this.activePlugins=null}}(jQuery),function($,window,document,undefined){function MasterSliderPlugin(element,options){this.element=element,this.$element=$(element),this.settings=$.extend({},defaults,options),this._defaults=defaults,this._name=pluginName,this.init()}var pluginName="masterslider",defaults={controls:{}};$.extend(MasterSliderPlugin.prototype,{init:function(){var self=this;this._slider=new MasterSlider;for(var control in this.settings.controls)this._slider.control(control,this.settings.controls[control]);this._slider.setup(this.$element,this.settings);var _superDispatch=this._slider.api.dispatchEvent;this._slider.api.dispatchEvent=function(event){self.$element.trigger(event.type),_superDispatch.call(this,event)}},api:function(){return this._slider.api},slider:function(){return this._slider}}),$.fn[pluginName]=function(options){var args=arguments,plugin="plugin_"+pluginName;if(options===undefined||"object"==typeof options)return this.each(function(){$.data(this,plugin)||$.data(this,plugin,new MasterSliderPlugin(this,options))});if("string"==typeof options&&"_"!==options[0]&&"init"!==options){var returns;return this.each(function(){var instance=$.data(this,plugin);instance instanceof MasterSliderPlugin&&"function"==typeof instance[options]&&(returns=instance[options].apply(instance,Array.prototype.slice.call(args,1))),instance instanceof MasterSliderPlugin&&"function"==typeof instance._slider.api[options]&&(returns=instance._slider.api[options].apply(instance._slider.api,Array.prototype.slice.call(args,1))),"destroy"===options&&$.data(this,plugin,null)}),returns!==undefined?returns:this}}}(jQuery,window,document),function($,window){"use strict";var sliderInstances=[];MasterSlider.addJQReadyErrorCheck=function(slider){sliderInstances.push(slider)};var _ready=$.fn.ready,_onerror=window.onerror;$.fn.ready=function(){return window.onerror=function(){if(0!==sliderInstances.length)for(var i=0,l=sliderInstances.length;i!==l;i++){var slider=sliderInstances[i];slider.initialized||(slider._docReady=!0,slider._init())}return _onerror?_onerror.apply(this,arguments):!1},_ready.apply(this,arguments)}}(jQuery,window,document),window.MSViewEvents=function(type,data){this.type=type,this.data=data},MSViewEvents.SWIPE_START="swipeStart",MSViewEvents.SWIPE_END="swipeEnd",MSViewEvents.SWIPE_MOVE="swipeMove",MSViewEvents.SWIPE_CANCEL="swipeCancel",MSViewEvents.SCROLL="scroll",MSViewEvents.CHANGE_START="slideChangeStart",MSViewEvents.CHANGE_END="slideChangeEnd",function($){"use strict";window.MSBasicView=function(options){this.options={loop:!1,dir:"h",autoHeight:!1,spacing:5,mouseSwipe:!0,swipe:!0,speed:17,minSlideSpeed:2,viewNum:20,critMargin:1},$.extend(this.options,options),this.dir=this.options.dir,this.loop=this.options.loop,this.spacing=this.options.spacing,this.__width=0,this.__height=0,this.__cssProb="h"===this.dir?"left":"top",this.__offset="h"===this.dir?"offsetLeft":"offsetTop",this.__dimension="h"===this.dir?"__width":"__height",this.__translate_end=window._css3d?" translateZ(0px)":"",this.$slideCont=$("<div></div>").addClass("ms-slide-container"),this.$element=$("<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.slideChanged=!1,this.controller=new Controller(0,0,{snapping:!0,snapsize:100,paging:!0,snappingMinSpeed:this.options.minSlideSpeed,friction:(100-.5*this.options.speed)/100,endless:this.loop}),this.controller.renderCallback("h"===this.dir?this._horizUpdate:this._vertiUpdate,this),this.controller.snappingCallback(this.__snapUpdate,this),this.controller.snapCompleteCallback(this.__snapCompelet,this),averta.EventDispatcher.call(this)};var p=MSBasicView.prototype;p.__snapCompelet=function(){this.slideChanged&&(this.slideChanged=!1,this.__locateSlides(),this.start_buffer=0,this.dispatchEvent(new MSViewEvents(MSViewEvents.CHANGE_END)))},p.__snapUpdate=function(controller,snap,change){if(this.loop){var target_index=this.index+change;this.updateLoop(target_index),target_index>=this.slidesCount&&(target_index-=this.slidesCount),0>target_index&&(target_index=this.slidesCount+target_index),this.index=target_index}else{if(0>snap||snap>=this.slidesCount)return;this.index=snap}this._checkCritMargins(),$.browser.mozilla&&(this.slideList[this.index].$element[0].style.marginTop="0.1px",this.currentSlide&&(this.currentSlide.$element[0].style.marginTop=""));var new_slide=this.slideList[this.index];new_slide!==this.currentSlide&&(this.currentSlide=new_slide,this.autoUpdateZIndex&&this.__updateSlidesZindex(),this.slideChanged=!0,this.dispatchEvent(new MSViewEvents(MSViewEvents.CHANGE_START)))},p._checkCritMargins=function(){if(!this.normalMode){var hlf=Math.floor(this.options.viewNum/2),inView=this.viewSlidesList.indexOf(this.slideList[this.index]),size=this[this.__dimension]+this.spacing,cm=this.options.critMargin;return this.loop?void((cm>=inView||inView>=this.viewSlidesList.length-cm)&&(size*=inView-hlf,this.__locateSlides(!1,size+this.start_buffer),this.start_buffer+=size)):void((cm>inView&&this.index>=cm||inView>=this.viewSlidesList.length-cm&&this.index<this.slidesCount-cm)&&this.__locateSlides(!1))}},p._vertiUpdate=function(controller,value){return this.__contPos=value,this.dispatchEvent(new MSViewEvents(MSViewEvents.SCROLL)),this.css3?void(this.$slideCont[0].style[window._jcsspfx+"Transform"]="translateY("+-value+"px)"+this.__translate_end):void(this.$slideCont[0].style.top=-value+"px")},p._horizUpdate=function(controller,value){return this.__contPos=value,this.dispatchEvent(new MSViewEvents(MSViewEvents.SCROLL)),this.css3?void(this.$slideCont[0].style[window._jcsspfx+"Transform"]="translateX("+-value+"px)"+this.__translate_end):void(this.$slideCont[0].style.left=-value+"px")},p.__updateViewList=function(){if(this.normalMode)return void(this.viewSlidesList=this.slides);var temp=this.viewSlidesList.slice();this.viewSlidesList=[];var l,i=0,hlf=Math.floor(this.options.viewNum/2);if(this.loop)for(;i!==this.options.viewNum;i++)this.viewSlidesList.push(this.slides[this.currentSlideLoc-hlf+i]);else{for(i=0;i!==hlf&&this.index-i!==-1;i++)this.viewSlidesList.unshift(this.slideList[this.index-i]);for(i=1;i!==hlf&&this.index+i!==this.slidesCount;i++)this.viewSlidesList.push(this.slideList[this.index+i])}for(i=0,l=temp.length;i!==l;i++)-1===this.viewSlidesList.indexOf(temp[i])&&temp[i].sleep();temp=null,this.currentSlide&&this.__updateSlidesZindex()},p.__locateSlides=function(move,start){this.__updateViewList(),start=this.loop?start||0:this.slides.indexOf(this.viewSlidesList[0])*(this[this.__dimension]+this.spacing);for(var slide,l=this.viewSlidesList.length,i=0;i!==l;i++){var pos=start+i*(this[this.__dimension]+this.spacing);slide=this.viewSlidesList[i],slide.wakeup(),slide.position=pos,slide.$element[0].style[this.__cssProb]=pos+"px"}move!==!1&&this.controller.changeTo(this.slideList[this.index].position,!1,null,null,!1)},p.__createLoopList=function(){var return_arr=[],i=0,count=this.slidesCount/2,before_count=this.slidesCount%2===0?count-1:Math.floor(count),after_count=this.slidesCount%2===0?count:Math.floor(count);for(this.currentSlideLoc=before_count,i=1;before_count>=i;++i)return_arr.unshift(this.slideList[this.index-i<0?this.slidesCount-i+this.index:this.index-i]);for(return_arr.push(this.slideList[this.index]),i=1;after_count>=i;++i)return_arr.push(this.slideList[this.index+i>=this.slidesCount?this.index+i-this.slidesCount:this.index+i]);return return_arr},p.__getSteps=function(index,target){var right=index>target?this.slidesCount-index+target:target-index,left=Math.abs(this.slidesCount-right);return left>right?right:-left},p.__pushEnd=function(){var first_slide=this.slides.shift(),last_slide=this.slides[this.slidesCount-2];if(this.slides.push(first_slide),this.normalMode){var pos=last_slide.$element[0][this.__offset]+this.spacing+this[this.__dimension];first_slide.$element[0].style[this.__cssProb]=pos+"px",first_slide.position=pos}},p.__pushStart=function(){var last_slide=this.slides.pop(),first_slide=this.slides[0];if(this.slides.unshift(last_slide),this.normalMode){var pos=first_slide.$element[0][this.__offset]-this.spacing-this[this.__dimension];last_slide.$element[0].style[this.__cssProb]=pos+"px",last_slide.position=pos}},p.__updateSlidesZindex=function(){{var slide,l=this.viewSlidesList.length;Math.floor(l/2)}if(this.loop)for(var loc=this.viewSlidesList.indexOf(this.currentSlide),i=0;i!==l;i++)slide=this.viewSlidesList[i],this.viewSlidesList[i].$element.css("z-index",loc>=i?i+1:l-i);else{for(var beforeNum=this.currentSlide.index-this.viewSlidesList[0].index,i=0;i!==l;i++)this.viewSlidesList[i].$element.css("z-index",beforeNum>=i?i+1:l-i);this.currentSlide.$element.css("z-index",l)}},p.addSlide=function(slide){slide.view=this,this.slides.push(slide),this.slideList.push(slide),this.slidesCount++},p.appendSlide=function(slide){this.$slideCont.append(slide.$element)},p.updateLoop=function(index){if(this.loop)for(var steps=this.__getSteps(this.index,index),i=0,l=Math.abs(steps);l>i;++i)0>steps?this.__pushStart():this.__pushEnd()},p.gotoSlide=function(index,fast){this.updateLoop(index),this.index=index;var target_slide=this.slideList[index];this._checkCritMargins(),this.controller.changeTo(target_slide.position,!fast,null,null,!1),target_slide!==this.currentSlide&&(this.slideChanged=!0,this.currentSlide=target_slide,this.autoUpdateZIndex&&this.__updateSlidesZindex(),this.dispatchEvent(new MSViewEvents(MSViewEvents.CHANGE_START)),fast&&this.dispatchEvent(new MSViewEvents(MSViewEvents.CHANGE_END)))},p.next=function(checkLoop){return checkLoop&&!this.loop&&this.index+1>=this.slidesCount?void this.controller.bounce(10):void this.gotoSlide(this.index+1>=this.slidesCount?0:this.index+1)},p.previous=function(checkLoop){return checkLoop&&!this.loop&&this.index-1<0?void this.controller.bounce(-10):void this.gotoSlide(this.index-1<0?this.slidesCount-1:this.index-1)},p.setupSwipe=function(){this.swipeControl=new averta.TouchSwipe(this.$element),this.swipeControl.swipeType="h"===this.dir?"horizontal":"vertical";var that=this;this.swipeControl.onSwipe="h"===this.dir?function(status){that.horizSwipeMove(status)}:function(status){that.vertSwipeMove(status)}},p.vertSwipeMove=function(status){var phase=status.phase;if("start"===phase)this.controller.stop(),this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_START,status));else if("move"===phase&&(!this.loop||Math.abs(this.currentSlide.position-this.controller.value+status.moveY)<this.cont_size/2))this.controller.drag(status.moveY),this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_MOVE,status));else if("end"===phase||"cancel"===phase){var speed=status.distanceY/status.duration*50/3,speedh=Math.abs(status.distanceY/status.duration*50/3);Math.abs(speed)>.1&&Math.abs(speed)>=speedh?(this.controller.push(-speed),speed>this.controller.options.snappingMinSpeed&&this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_END,status))):(this.controller.cancel(),this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_CANCEL,status)))}},p.horizSwipeMove=function(status){var phase=status.phase;if("start"===phase)this.controller.stop(),this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_START,status));else if("move"===phase&&(!this.loop||Math.abs(this.currentSlide.position-this.controller.value+status.moveX)<this.cont_size/2))this.controller.drag(status.moveX),this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_MOVE,status));else if("end"===phase||"cancel"===phase){var speed=status.distanceX/status.duration*50/3,speedv=Math.abs(status.distanceY/status.duration*50/3);Math.abs(speed)>.1&&Math.abs(speed)>=speedv?(this.controller.push(-speed),speed>this.controller.options.snappingMinSpeed&&this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_END,status))):(this.controller.cancel(),this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_CANCEL,status)))}},p.setSize=function(width,height,hard){if(this.lastWidth!==width||height!==this.lastHeight||hard){this.$element.width(width).height(height);for(var i=0;i<this.slidesCount;++i)this.slides[i].setSize(width,height,hard);this.__width=width,this.__height=height,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=width,this.lastHeight=height)}},p.create=function(index){this.__created=!0,this.index=Math.min(index||0,this.slidesCount-1),this.lastSnap=this.index,this.loop&&(this.slides=this.__createLoopList()),this.normalMode=this.slidesCount<=this.options.viewNum;for(var i=0;i<this.slidesCount;++i)this.slides[i].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()},p.destroy=function(){if(this.__created){for(var i=0;i<this.slidesCount;++i)this.slides[i].destroy();this.slides=null,this.slideList=null,this.$element.remove(),this.controller.destroy(),this.controller=null}},averta.EventDispatcher.extend(p),MSSlideController.registerView("basic",MSBasicView)}(jQuery),function(){"use strict";window.MSFadeView=function(options){MSBasicView.call(this,options),this.$element.removeClass("ms-basic-view").addClass("ms-fade-view"),this.controller.renderCallback(this.__update,this)},MSFadeView.extend(MSBasicView);var p=MSFadeView.prototype,_super=MSBasicView.prototype;p.__update=function(controller,value){for(var slide,distance,cont_scroll=-value,i=0;i<this.slidesCount;++i)slide=this.slideList[i],distance=-cont_scroll-slide.position,this.__updateSlides(slide,distance)},p.__updateSlides=function(slide,distance){var value=Math.abs(distance/this[this.__dimension]);0>=1-value?slide.$element.fadeTo(0,0).css("visibility","hidden"):slide.$element.fadeTo(0,1-value).css("visibility","")},p.__locateSlides=function(move,start){this.__updateViewList(),start=this.loop?start||0:this.slides.indexOf(this.viewSlidesList[0])*(this[this.__dimension]+this.spacing);for(var slide,l=this.viewSlidesList.length,i=0;i!==l;i++){var pos=start+i*this[this.__dimension];slide=this.viewSlidesList[i],slide.wakeup(),slide.position=pos}move!==!1&&this.controller.changeTo(this.slideList[this.index].position,!1,null,null,!1)},p.__pushEnd=function(){var first_slide=this.slides.shift(),last_slide=this.slides[this.slidesCount-2];this.slides.push(first_slide),first_slide.position=last_slide.position+this[this.__dimension]},p.__pushStart=function(){var last_slide=this.slides.pop(),first_slide=this.slides[0];this.slides.unshift(last_slide),last_slide.position=first_slide.position-this[this.__dimension]
|
11 |
-
},p.create=function(index){_super.create.call(this,index),this.spacing=0,this.controller.options.minValidDist=10},MSSlideController.registerView("fade",MSFadeView)}(jQuery),function($){"use strict";var BaseControl=function(){this.options={prefix:"ms-",autohide:!0,overVideo:!0,customClass:null}},p=BaseControl.prototype;p.slideAction=function(){},p.setup=function(){this.cont=this.options.insertTo?$(this.options.insertTo):this.slider.$controlsCont,this.options.overVideo||this._hideOnvideoStarts()},p.checkHideUnder=function(){this.options.hideUnder&&(this.needsRealign=!this.options.insetTo&&("left"===this.options.align||"right"===this.options.align)&&this.options.inset===!1,$(window).bind("resize",{that:this},this.onResize),this.onResize())},p.onResize=function(event){var that=event&&event.data.that||this,w=window.innerWidth;w<=that.options.hideUnder&&!that.detached?(that.hide(!0),that.detached=!0,that.onDetach()):w>=that.options.hideUnder&&that.detached&&(that.detached=!1,that.visible(),that.onAppend())},p.create=function(){this.options.autohide&&(this.hide(!0),this.slider.$controlsCont.mouseenter($.proxy(this._onMouseEnter,this)).mouseleave($.proxy(this._onMouseLeave,this)).mousedown($.proxy(this._onMouseDown,this)),this.$element&&this.$element.mouseenter($.proxy(this._onMouseEnter,this)).mouseleave($.proxy(this._onMouseLeave,this)).mousedown($.proxy(this._onMouseDown,this)),$(document).mouseup($.proxy(this._onMouseUp,this))),this.options.align&&this.$element.addClass("ms-align-"+this.options.align),this.options.customClass&&this.$element&&this.$element.addClass(this.options.customClass)},p._onMouseEnter=function(){this._disableAH||this.mdown||this.visible(),this.mleave=!1},p._onMouseLeave=function(){this.mdown||this.hide(),this.mleave=!0},p._onMouseDown=function(){this.mdown=!0},p._onMouseUp=function(){this.mdown&&this.mleave&&this.hide(),this.mdown=!1},p.onAppend=function(){this.needsRealign&&this.slider._realignControls()},p.onDetach=function(){this.needsRealign&&this.slider._realignControls()},p._hideOnvideoStarts=function(){var that=this;this.slider.api.addEventListener(MSSliderEvent.VIDEO_PLAY,function(){that._disableAH=!0,that.hide()}),this.slider.api.addEventListener(MSSliderEvent.VIDEO_CLOSE,function(){that._disableAH=!1,that.visible()})},p.hide=function(fast){if(fast)this.$element.css("opacity",0),this.$element.css("display","none");else{clearTimeout(this.hideTo);var $element=this.$element;this.hideTo=setTimeout(function(){CTween.fadeOut($element,400,!1)},20)}this.$element.addClass("ms-ctrl-hide")},p.visible=function(){this.detached||(clearTimeout(this.hideTo),this.$element.css("display",""),CTween.fadeIn(this.$element,400,!1),this.$element.removeClass("ms-ctrl-hide"))},p.destroy=function(){this.options&&this.options.hideUnder&&$(window).unbind("resize",this.onResize)},window.BaseControl=BaseControl}(jQuery),function($){"use strict";var MSArrows=function(options){BaseControl.call(this),$.extend(this.options,options)};MSArrows.extend(BaseControl);var p=MSArrows.prototype,_super=BaseControl.prototype;p.setup=function(){var that=this;this.$next=$("<div></div>").addClass(this.options.prefix+"nav-next").bind("click",function(){that.slider.api.next(!0)}),this.$prev=$("<div></div>").addClass(this.options.prefix+"nav-prev").bind("click",function(){that.slider.api.previous(!0)}),_super.setup.call(this),this.cont.append(this.$next),this.cont.append(this.$prev),this.checkHideUnder()},p.hide=function(fast){return fast?(this.$prev.css("opacity",0).css("display","none"),void this.$next.css("opacity",0).css("display","none")):(CTween.fadeOut(this.$prev,400,!1),CTween.fadeOut(this.$next,400,!1),this.$prev.addClass("ms-ctrl-hide"),void this.$next.addClass("ms-ctrl-hide"))},p.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",""))},p.destroy=function(){_super.destroy(),this.$next.remove(),this.$prev.remove()},window.MSArrows=MSArrows,MSSlideController.registerControl("arrows",MSArrows)}(jQuery),function($){"use strict";var MSThumblist=function(options){BaseControl.call(this),this.options.dir="h",this.options.wheel="v"===options.dir,this.options.arrows=!1,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",this.options.hover=!1,$.extend(this.options,options),this.thumbs=[],this.index_count=0,this.__dimen="h"===this.options.dir?"width":"height",this.__alignsize="h"===this.options.dir?"height":"width",this.__jdimen="h"===this.options.dir?"outerWidth":"outerHeight",this.__pos="h"===this.options.dir?"left":"top",this.click_enable=!0};MSThumblist.extend(BaseControl);var p=MSThumblist.prototype,_super=BaseControl.prototype;p.setup=function(){if(this.$element=$("<div></div>").addClass(this.options.prefix+"thumb-list"),"tabs"===this.options.type&&this.$element.addClass(this.options.prefix+"tabs"),this.$element.addClass("ms-dir-"+this.options.dir),_super.setup.call(this),this.$element.appendTo(this.slider.$controlsCont===this.cont?this.slider.$element:this.cont),this.$thumbscont=$("<div></div>").addClass("ms-thumbs-cont").appendTo(this.$element),this.options.arrows){var that=this;this.$fwd=$("<div></div>").addClass("ms-thumblist-fwd").appendTo(this.$element).click(function(){that.controller.push(-15)}),this.$bwd=$("<div></div>").addClass("ms-thumblist-bwd").appendTo(this.$element).click(function(){that.controller.push(15)})}if(!this.options.insetTo&&this.options.align){var align=this.options.align;this.options.inset?this.$element.css(align,this.options.margin):"top"===align?this.$element.detach().prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):"bottom"===align?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align()),"v"===this.options.dir?this.$element.width(this.options.width):this.$element.height(this.options.height)}this.checkHideUnder()},p.align=function(){if(!this.detached){var align=this.options.align,pos=this.slider.reserveSpace(align,this.options[this.__alignsize]+2*this.options.margin);this.$element.css(align,-pos-this.options[this.__alignsize]-this.options.margin)}},p.slideAction=function(slide){var thumb_ele=slide.$element.find(".ms-thumb"),that=this,thumb_frame=$("<div></div>").addClass("ms-thumb-frame").append(thumb_ele).append($('<div class="ms-thumb-ol"></div>')).bind(this.options.hover?"hover":"click",function(){that.changeSlide(thumb_frame)});if(this.options.align&&thumb_frame.width(this.options.width-("v"===this.options.dir&&"tabs"===this.options.type?12:0)).height(this.options.height).css("margin-"+("v"===this.options.dir?"bottom":"right"),this.options.space),thumb_frame[0].index=this.index_count++,this.$thumbscont.append(thumb_frame),this.options.fillMode&&thumb_ele.is("img")){var aligner=new window.MSAligner(this.options.fillMode,thumb_frame,thumb_ele);thumb_ele[0].aligner=aligner,thumb_ele.one("load",function(){var $this=$(this);$this[0].aligner.init($this.width(),$this.height()),$this[0].aligner.align()}).each($.jqLoadFix)}$.browser.msie&&thumb_ele.on("dragstart",function(event){event.preventDefault()}),this.thumbs.push(thumb_frame)},p.create=function(){_super.create.call(this),this.__translate_end=window._css3d?" translateZ(0px)":"",this.controller=new Controller(0,0,{snappingMinSpeed:2,friction:(100-.5*this.options.speed)/100}),this.controller.renderCallback("h"===this.options.dir?this._hMove:this._vMove,this);var that=this;this.resize_listener=function(){that.__resize()},$(window).bind("resize",this.resize_listener),this.thumbSize=this.thumbs[0][this.__jdimen](!0),this.setupSwipe(),this.__resize();var that=this;this.options.wheel&&(this.wheellistener=function(event){var e=window.event||event.orginalEvent||event,delta=Math.max(-1,Math.min(1,e.wheelDelta||-e.detail));return that.controller.push(10*-delta),!1},$.browser.mozilla?this.$element[0].addEventListener("DOMMouseScroll",this.wheellistener):this.$element.bind("mousewheel",this.wheellistener)),this.slider.api.addEventListener(MSSliderEvent.CHANGE_START,this.update,this),this.slider.api.addEventListener(MSSliderEvent.HARD_UPDATE,this.realignThumbs,this),this.cindex=this.slider.api.index(),this.select(this.thumbs[this.cindex])},p._hMove=function(controller,value){return this.__contPos=value,window._cssanim?void(this.$thumbscont[0].style[window._jcsspfx+"Transform"]="translateX("+-value+"px)"+this.__translate_end):void(this.$thumbscont[0].style.left=-value+"px")},p._vMove=function(controller,value){return this.__contPos=value,window._cssanim?void(this.$thumbscont[0].style[window._jcsspfx+"Transform"]="translateY("+-value+"px)"+this.__translate_end):void(this.$thumbscont[0].style.top=-value+"px")},p.setupSwipe=function(){this.swipeControl=new averta.TouchSwipe(this.$element),this.swipeControl.swipeType="h"===this.options.dir?"horizontal":"vertical";var that=this;this.swipeControl.onSwipe="h"===this.options.dir?function(status){that.horizSwipeMove(status)}:function(status){that.vertSwipeMove(status)}},p.vertSwipeMove=function(status){if(!this.dTouch){var phase=status.phase;if("start"===phase)this.controller.stop();else if("move"===phase)this.controller.drag(status.moveY);else if("end"===phase||"cancel"===phase){var speed=Math.abs(status.distanceY/status.duration*50/3);speed>.1?this.controller.push(-status.distanceY/status.duration*50/3):(this.click_enable=!0,this.controller.cancel())}}},p.horizSwipeMove=function(status){if(!this.dTouch){var phase=status.phase;if("start"===phase)this.controller.stop(),this.click_enable=!1;else if("move"===phase)this.controller.drag(status.moveX);else if("end"===phase||"cancel"===phase){var speed=Math.abs(status.distanceX/status.duration*50/3);speed>.1?this.controller.push(-status.distanceX/status.duration*50/3):(this.click_enable=!0,this.controller.cancel())}}},p.update=function(){var nindex=this.slider.api.index();this.cindex!==nindex&&(null!=this.cindex&&this.unselect(this.thumbs[this.cindex]),this.cindex=nindex,this.select(this.thumbs[this.cindex]),this.dTouch||this.updateThumbscroll())},p.realignThumbs=function(){this.$element.find(".ms-thumb").each(function(index,thumb){thumb.aligner&&thumb.aligner.align()})},p.updateThumbscroll=function(){var pos=this.thumbSize*this.cindex;if(0/0==this.controller.value&&(this.controller.value=0),pos-this.controller.value<0)return void this.controller.gotoSnap(this.cindex,!0);if(pos+this.thumbSize-this.controller.value>this.$element[this.__dimen]()){var first_snap=this.cindex-Math.floor(this.$element[this.__dimen]()/this.thumbSize)+1;return void this.controller.gotoSnap(first_snap,!0)}},p.changeSlide=function(thumb){this.click_enable&&this.cindex!==thumb[0].index&&this.slider.api.gotoSlide(thumb[0].index)},p.unselect=function(ele){ele.removeClass("ms-thumb-frame-selected")},p.select=function(ele){ele.addClass("ms-thumb-frame-selected")},p.__resize=function(){var size=this.$element[this.__dimen]();if(this.ls!==size){this.ls=size,this.thumbSize=this.thumbs[0][this.__jdimen](!0);var len=this.slider.api.count()*this.thumbSize;this.$thumbscont[0].style[this.__dimen]=len+"px",size>=len?(this.dTouch=!0,this.controller.stop(),this.$thumbscont[0].style[this.__pos]=.5*(size-len)+"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=len-size,this.controller.options.snapsize=this.thumbSize,this.updateThumbscroll())}},p.destroy=function(){_super.destroy(),this.options.wheel&&($.browser.mozilla?this.$element[0].removeEventListener("DOMMouseScroll",this.wheellistener):this.$element.unbind("mousewheel",this.wheellistener),this.wheellistener=null),$(window).unbind("resize",this.resize_listener),this.$element.remove(),this.slider.api.removeEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.slider.api.removeEventListener(MSSliderEvent.CHANGE_START,this.update,this)},window.MSThumblist=MSThumblist,MSSlideController.registerControl("thumblist",MSThumblist)}(jQuery),function($){"use strict";var MSBulltes=function(options){BaseControl.call(this),this.options.dir="h",this.options.inset=!0,this.options.margin=10,this.options.space=10,$.extend(this.options,options),this.bullets=[]};MSBulltes.extend(BaseControl);var p=MSBulltes.prototype,_super=BaseControl.prototype;p.setup=function(){if(_super.setup.call(this),this.$element=$("<div></div>").addClass(this.options.prefix+"bullets").addClass("ms-dir-"+this.options.dir).appendTo(this.cont),this.$bullet_cont=$("<div></div>").addClass("ms-bullets-count").appendTo(this.$element),!this.options.insetTo&&this.options.align){var align=this.options.align;this.options.inset&&this.$element.css(align,this.options.margin)}this.checkHideUnder()},p.create=function(){_super.create.call(this);var that=this;this.slider.api.addEventListener(MSSliderEvent.CHANGE_START,this.update,this),this.cindex=this.slider.api.index();for(var i=0;i<this.slider.api.count();++i){var bullet=$("<div></div>").addClass("ms-bullet");bullet[0].index=i,bullet.on("click",function(){that.changeSlide(this.index)}),this.$bullet_cont.append(bullet),this.bullets.push(bullet),"h"===this.options.dir?bullet.css("margin",this.options.space/2):bullet.css("margin",this.options.space)}"h"===this.options.dir?this.$element.width(bullet.outerWidth(!0)*this.slider.api.count()):this.$element.css("margin-top",-this.$element.outerHeight(!0)/2),this.select(this.bullets[this.cindex])},p.update=function(){var nindex=this.slider.api.index();this.cindex!==nindex&&(null!=this.cindex&&this.unselect(this.bullets[this.cindex]),this.cindex=nindex,this.select(this.bullets[this.cindex]))},p.changeSlide=function(index){this.cindex!==index&&this.slider.api.gotoSlide(index)},p.unselect=function(ele){ele.removeClass("ms-bullet-selected")},p.select=function(ele){ele.addClass("ms-bullet-selected")},p.destroy=function(){_super.destroy(),this.slider.api.removeEventListener(MSSliderEvent.CHANGE_START,this.update,this),this.$element.remove()},window.MSBulltes=MSBulltes,MSSlideController.registerControl("bullets",MSBulltes)}(jQuery),function($){"use strict";var MSScrollbar=function(options){BaseControl.call(this),this.options.dir="h",this.options.autohide=!0,this.options.width=4,this.options.color="#3D3D3D",this.options.margin=10,$.extend(this.options,options),this.__dimen="h"===this.options.dir?"width":"height",this.__jdimen="h"===this.options.dir?"outerWidth":"outerHeight",this.__pos="h"===this.options.dir?"left":"top",this.__translate_end=window._css3d?" translateZ(0px)":"",this.__translate_start="h"===this.options.dir?" translateX(":"translateY("};MSScrollbar.extend(BaseControl);var p=MSScrollbar.prototype,_super=BaseControl.prototype;p.setup=function(){if(this.$element=$("<div></div>").addClass(this.options.prefix+"sbar").addClass("ms-dir-"+this.options.dir),_super.setup.call(this),this.$element.appendTo(this.slider.$controlsCont===this.cont?this.slider.$element:this.cont),this.$bar=$("<div></div>").addClass(this.options.prefix+"bar").appendTo(this.$element),this.slider.options.loop&&(this.disable=!0,this.$element.remove()),"v"===this.options.dir?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.$element.css("v"===this.options.dir?{right:"auto",left:"auto"}:{top:"auto",bottom:"auto"});var align=this.options.align;this.options.inset?this.$element.css(align,this.options.margin):"top"===align?this.$element.prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):"bottom"===align?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align())}this.checkHideUnder()},p.align=function(){if(!this.detached){var align=this.options.align,pos=this.slider.reserveSpace(align,2*this.options.margin+this.options.width);this.$element.css(align,-pos-this.options.margin-this.options.width)}},p.create=function(){if(!this.disable){this.scroller=this.slider.api.scroller,this.slider.api.view.addEventListener(MSViewEvents.SCROLL,this._update,this),this.slider.api.addEventListener(MSSliderEvent.RESIZE,this._resize,this),this._resize(),this.options.autohide&&this.$bar.css("opacity","0")}},p._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)},p._update=function(){var value=this.scroller.value*(this.vdimen-this.bar_dimen)/this.scroller._max_value;if(this.lvalue!==value){if(this.lvalue=value,this.options.autohide){clearTimeout(this.hto),this.$bar.css("opacity","1");var that=this;this.hto=setTimeout(function(){that.$bar.css("opacity","0")},150)}return 0>value?void(this.$bar[0].style[this.__dimen]=this.bar_dimen+value+"px"):(value>this.vdimen-this.bar_dimen&&(this.$bar[0].style[this.__dimen]=this.vdimen-value+"px"),window._cssanim?void(this.$bar[0].style[window._jcsspfx+"Transform"]=this.__translate_start+value+"px)"+this.__translate_end):void(this.$bar[0].style[this.__pos]=value+"px"))}},p.destroy=function(){_super.destroy(),this.slider.api.view.removeEventListener(MSViewEvents.SCROLL,this._update,this),this.slider.api.removeEventListener(MSSliderEvent.RESIZE,this._resize,this),this.slider.api.removeEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.$element.remove()},window.MSScrollbar=MSScrollbar,MSSlideController.registerControl("scrollbar",MSScrollbar)}(jQuery),function($){"use strict";var MSTimerbar=function(options){BaseControl.call(this),this.options.autohide=!1,this.options.width=4,this.options.color="#FFFFFF",this.options.inset=!0,this.options.margin=0,$.extend(this.options,options)};MSTimerbar.extend(BaseControl);var p=MSTimerbar.prototype,_super=BaseControl.prototype;p.setup=function(){if(_super.setup.call(this),this.$element=$("<div></div>").addClass(this.options.prefix+"timerbar"),_super.setup.call(this),this.$element.appendTo(this.slider.$controlsCont===this.cont?this.slider.$element:this.cont),this.$bar=$("<div></div>").addClass("ms-time-bar").appendTo(this.$element),"v"===this.options.dir?(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"});var align=this.options.align;this.options.inset?this.$element.css(align,this.options.margin):"top"===align?this.$element.prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):"bottom"===align?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align())}this.checkHideUnder()},p.align=function(){if(!this.detached){var align=this.options.align,pos=this.slider.reserveSpace(align,2*this.options.margin+this.options.width);this.$element.css(align,-pos-this.options.margin-this.options.width)}},p.create=function(){_super.create.call(this),this.slider.api.addEventListener(MSSliderEvent.WAITING,this._update,this),this._update()},p._update=function(){this.$bar[0].style.width=this.slider.api._delayProgress+"%"},p.destroy=function(){_super.destroy(),this.slider.api.removeEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.slider.api.removeEventListener(MSSliderEvent.WAITING,this._update,this),this.$element.remove()},window.MSTimerbar=MSTimerbar,MSSlideController.registerControl("timebar",MSTimerbar)}(jQuery),function($){"use strict";var MSCircleTimer=function(options){BaseControl.call(this),this.options.color="#A2A2A2",this.options.stroke=10,this.options.radius=4,this.options.autohide=!1,$.extend(this.options,options)};MSCircleTimer.extend(BaseControl);var p=MSCircleTimer.prototype,_super=BaseControl.prototype;p.setup=function(){return _super.setup.call(this),this.$element=$("<div></div>").addClass(this.options.prefix+"ctimer").appendTo(this.cont),this.$canvas=$("<canvas></canvas>").addClass("ms-ctimer-canvas").appendTo(this.$element),this.$bar=$("<div></div>").addClass("ms-ctimer-bullet").appendTo(this.$element),this.$canvas[0].getContext?(this.ctx=this.$canvas[0].getContext("2d"),this.prog=0,this.__w=2*(this.options.radius+this.options.stroke/2),this.$canvas[0].width=this.__w,this.$canvas[0].height=this.__w,void this.checkHideUnder()):(this.destroy(),void(this.disable=!0))},p.create=function(){if(!this.disable){_super.create.call(this),this.slider.api.addEventListener(MSSliderEvent.WAITING,this._update,this);var that=this;this.$element.click(function(){that.slider.api.paused?that.slider.api.resume():that.slider.api.pause()}),this._update()}},p._update=function(){var that=this;$(this).stop(!0).animate({prog:.01*this.slider.api._delayProgress},{duration:200,step:function(){that._draw()}})},p._draw=function(){this.ctx.clearRect(0,0,this.__w,this.__w),this.ctx.beginPath(),this.ctx.arc(.5*this.__w,.5*this.__w,this.options.radius,1.5*Math.PI,1.5*Math.PI+2*Math.PI*this.prog,!1),this.ctx.strokeStyle=this.options.color,this.ctx.lineWidth=this.options.stroke,this.ctx.stroke()},p.destroy=function(){_super.destroy(),this.disable||($(this).stop(!0),this.slider.api.removeEventListener(MSSliderEvent.WAITING,this._update,this),this.$element.remove())},window.MSCircleTimer=MSCircleTimer,MSSlideController.registerControl("circletimer",MSCircleTimer)}(jQuery),function($){"use strict";window.MSSlideInfo=function(options){BaseControl.call(this,options),this.options.autohide=!1,this.options.align=null,this.options.inset=!1,this.options.margin=10,this.options.size=100,this.options.dir="h",$.extend(this.options,options),this.data_list=[]},MSSlideInfo.fadeDuratation=400,MSSlideInfo.extend(BaseControl);var p=MSSlideInfo.prototype,_super=BaseControl.prototype;p.setup=function(){if(this.$element=$("<div></div>").addClass(this.options.prefix+"slide-info").addClass("ms-dir-"+this.options.dir),_super.setup.call(this),this.$element.appendTo(this.slider.$controlsCont===this.cont?this.slider.$element:this.cont),!this.options.insetTo&&this.options.align){var align=this.options.align;this.options.inset?this.$element.css(align,this.options.margin):"top"===align?this.$element.prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):"bottom"===align?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align()),"v"===this.options.dir?this.$element.width(this.options.size):this.$element.css("min-height",this.options.size)}this.checkHideUnder()},p.align=function(){if(!this.detached){var align=this.options.align,pos=this.slider.reserveSpace(align,this.options.size+2*this.options.margin);this.$element.css(align,-pos-this.options.size-this.options.margin)}},p.slideAction=function(slide){var info_ele=$(slide.$element.find(".ms-info"));info_ele.detach(),this.data_list[slide.index]=info_ele},p.create=function(){_super.create.call(this),this.slider.api.addEventListener(MSSliderEvent.CHANGE_START,this.update,this),this.cindex=this.slider.api.index(),this.switchEle(this.data_list[this.cindex])},p.update=function(){var nindex=this.slider.api.index();this.switchEle(this.data_list[nindex]),this.cindex=nindex},p.switchEle=function(ele){if(this.current_ele){this.current_ele[0].tween&&this.current_ele[0].tween.stop(!0),this.current_ele[0].tween=CTween.animate(this.current_ele,MSSlideInfo.fadeDuratation,{opacity:0},{complete:function(){this.detach(),this[0].tween=null,ele.css("position","relative")},target:this.current_ele}),ele.css("position","absolute")}this.__show(ele)},p.__show=function(ele){ele.appendTo(this.$element).css("opacity","0"),this.current_ele&&ele.height(Math.max(ele.height(),this.current_ele.height())),clearTimeout(this.tou),this.tou=setTimeout(function(){CTween.fadeIn(ele,MSSlideInfo.fadeDuratation),ele.css("height","")},MSSlideInfo.fadeDuratation),ele[0].tween&&ele[0].tween.stop(!0),this.current_ele=ele},p.destroy=function(){_super.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(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.slider.api.removeEventListener(MSSliderEvent.CHANGE_START,this.update,this)},MSSlideController.registerControl("slideinfo",MSSlideInfo)}(jQuery),function($,document,window){var PId=0,$window=$(window),$doc=$(document);if(window.MasterSlider){var StartOnAppear=function(slider){this.PId=PId++,this.slider=slider,this.$slider=slider.$element,this.slider.options.startOnAppear&&(slider.holdOn(),$doc.ready($.proxy(this.init,this)))};StartOnAppear.name="MSStartOnAppear";var p=StartOnAppear.prototype;p.init=function(){this.slider.api;$window.on("scroll.soa"+this.PId,$.proxy(this._onScroll,this)).trigger("scroll")},p._onScroll=function(){var vpBottom=$window.scrollTop()+$window.height(),top=this.$slider.offset().top;vpBottom>top&&($window.off("scroll.soa"+this.PId),this.slider.release())},p.destroy=function(){},MasterSlider.registerPlugin(StartOnAppear)}}(jQuery,document,window),function($,window){"use strict";if(window.MSReady)for(var i=0,l=MSReady.length;i!==l;i++)MSReady[i].call(null,$)}(jQuery,window,document),function($){$(window).on("vc_reload",function(){if(window.MSReady)for(var i=0,l=MSReady.length;i!==l;i++)MSReady[i].call(null,$)}),window.msCli=function(f){f=f||"pause";var m=masterslider_instances;for(var i in m)m[i].api[f]()}}(jQuery);
|
1 |
/*!
|
2 |
* Master Slider – Responsive Touch Swipe Slider [lite version]
|
3 |
+
* Copyright © 2020 All Rights Reserved.
|
4 |
*
|
5 |
* @author Averta [www.averta.net]
|
6 |
+
* @version 2.80.6
|
7 |
+
* @date Dec 2020
|
8 |
*/
|
9 |
+
window.averta={},function($){function getVendorPrefix(){if("result"in arguments.callee)return arguments.callee.result;var regex=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,someScript=document.getElementsByTagName("script")[0];for(var prop in someScript.style)if(regex.test(prop))return arguments.callee.result=prop.match(regex)[0];return arguments.callee.result="WebkitOpacity"in someScript.style?"Webkit":"KhtmlOpacity"in someScript.style?"Khtml":""}function checkStyleValue(prop){var b=document.body||document.documentElement,s=b.style,p=prop;if("string"==typeof s[p])return!0;v=["Moz","Webkit","Khtml","O","ms"],p=p.charAt(0).toUpperCase()+p.substr(1);for(var i=0;i<v.length;i++)if("string"==typeof s[v[i]+p])return!0;return!1}function supportsTransitions(){return checkStyleValue("transition")}function supportsTransforms(){return checkStyleValue("transform")}function supports3DTransforms(){if(!supportsTransforms())return!1;var has3d,el=document.createElement("i"),transforms={WebkitTransform:"-webkit-transform",OTransform:"-o-transform",MSTransform:"-ms-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",Transform:"transform",transform:"transform"};el.style.display="block",document.body.insertBefore(el,null);for(var t in transforms)void 0!==el.style[t]&&(el.style[t]="translate3d(1px,1px,1px)",has3d=window.getComputedStyle(el).getPropertyValue(transforms[t]));return document.body.removeChild(el),null!=has3d&&has3d.length>0&&"none"!==has3d}window["package"]=function(name){window[name]||(window[name]={})};var extend=function(target,object){for(var key in object)target[key]=object[key]};Function.prototype.extend=function(superclass){"function"==typeof superclass.prototype.constructor?(extend(this.prototype,superclass.prototype),this.prototype.constructor=this):(this.prototype.extend(superclass),this.prototype.constructor=this)};var trans={Moz:"-moz-",Webkit:"-webkit-",Khtml:"-khtml-",O:"-o-",ms:"-ms-",Icab:"-icab-"};window._mobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),window._touch="ontouchstart"in document,$(document).ready(function(){window._jcsspfx=getVendorPrefix(),window._csspfx=trans[window._jcsspfx],window._cssanim=supportsTransitions(),window._css3d=supports3DTransforms(),window._css2d=supportsTransforms()}),window.parseQueryString=function(url){var queryString={};return url.replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),function($0,$1,$2,$3){queryString[$1]=$3}),queryString};var fps60=50/3;if(window.requestAnimationFrame||(window.requestAnimationFrame=function(){return window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){window.setTimeout(callback,fps60)}}()),window.getComputedStyle||(window.getComputedStyle=function(el){return this.el=el,this.getPropertyValue=function(prop){var re=/(\-([a-z]){1})/g;return"float"==prop&&(prop="styleFloat"),re.test(prop)&&(prop=prop.replace(re,function(){return arguments[2].toUpperCase()})),el.currentStyle[prop]?el.currentStyle[prop]:null},el.currentStyle}),Array.prototype.indexOf||(Array.prototype.indexOf=function(elt){var len=this.length>>>0,from=Number(arguments[1])||0;for(from=0>from?Math.ceil(from):Math.floor(from),0>from&&(from+=len);len>from;from++)if(from in this&&this[from]===elt)return from;return-1}),window.isMSIE=function(version){if(!window.MSBrowserInfo.msie)return!1;if(!version)return!0;var ieVer=window.MSBrowserInfo.version.slice(0,window.MSBrowserInfo.version.indexOf("."));return"string"==typeof version?eval(-1!==version.indexOf("<")||-1!==version.indexOf(">")?ieVer+version:version+"=="+ieVer):version==ieVer},$.removeDataAttrs=function($target,exclude){var i,attrName,dataAttrsToDelete=[],dataAttrs=$target[0].attributes,dataAttrsLen=dataAttrs.length;for(exclude=exclude||[],i=0;dataAttrsLen>i;i++)attrName=dataAttrs[i].name,"data-"===attrName.substring(0,5)&&-1===exclude.indexOf(attrName)&&dataAttrsToDelete.push(dataAttrs[i].name);$.each(dataAttrsToDelete,function(index,attrName){$target.removeAttr(attrName)})},jQuery){$.jqLoadFix=function(){if(this.complete){var that=this;setTimeout(function(){$(that).trigger("load")},1)}},jQuery.uaMatch=jQuery.uaMatch||function(ua){ua=ua.toLowerCase();var match=/(chrome)[ \/]([\w.]+)/.exec(ua)||/(webkit)[ \/]([\w.]+)/.exec(ua)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua)||/(msie) ([\w.]+)/.exec(ua)||ua.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua)||[];return{browser:match[1]||"",version:match[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);var isIE11=!!navigator.userAgent.match(/Trident\/7\./);isIE11&&(browser.msie="true",delete browser.mozilla),window.MSBrowserInfo=browser,$.fn.preloadImg=function(src,_event){return this.each(function(){var $this=$(this),self=this,img=new Image;img.onload=function(event){null==event&&(event={}),$this.attr("src",src),event.width=img.width,event.height=img.height,$this.data("width",img.width),$this.data("height",img.height),setTimeout(function(){_event.call(self,event)},50),img=null},img.src=src}),this}}}(jQuery),function(){"use strict";averta.EventDispatcher=function(){this.listeners={}},averta.EventDispatcher.extend=function(_proto){var instance=new averta.EventDispatcher;for(var key in instance)"constructor"!=key&&(_proto[key]=averta.EventDispatcher.prototype[key])},averta.EventDispatcher.prototype={constructor:averta.EventDispatcher,addEventListener:function(event,listener,ref){this.listeners[event]||(this.listeners[event]=[]),this.listeners[event].push({listener:listener,ref:ref})},removeEventListener:function(event,listener,ref){if(this.listeners[event]){for(var i=0;i<this.listeners[event].length;++i)listener===this.listeners[event][i].listener&&ref===this.listeners[event][i].ref&&this.listeners[event].splice(i--,1);0===this.listeners[event].length&&(this.listeners[event]=null)}},dispatchEvent:function(event){if(event.target=this,this.listeners[event.type])for(var i=0,l=this.listeners[event.type].length;l>i;++i)this.listeners[event.type][i].listener.call(this.listeners[event.type][i].ref,event)}}}(),function($){"use strict";var isTouch="ontouchstart"in document,isPointer=window.navigator.pointerEnabled,isMSPoiner=!isPointer&&window.navigator.msPointerEnabled,usePointer=isPointer||isMSPoiner,ev_start=(isPointer?"pointerdown ":"")+(isMSPoiner?"MSPointerDown ":"")+(isTouch?"touchstart ":"")+"mousedown",ev_move=(isPointer?"pointermove ":"")+(isMSPoiner?"MSPointerMove ":"")+(isTouch?"touchmove ":"")+"mousemove",ev_end=(isPointer?"pointerup ":"")+(isMSPoiner?"MSPointerUp ":"")+(isTouch?"touchend ":"")+"mouseup",ev_cancel=(isPointer?"pointercancel ":"")+(isMSPoiner?"MSPointerCancel ":"")+"touchcancel";averta.TouchSwipe=function($element){this.$element=$element,this.enabled=!0,$element.bind(ev_start,{target:this},this.__touchStart),$element[0].swipe=this,this.onSwipe=null,this.swipeType="horizontal",this.noSwipeSelector="input, textarea, button, .no-swipe, .ms-no-swipe",this.lastStatus={}};var p=averta.TouchSwipe.prototype;p.getDirection=function(new_x,new_y){switch(this.swipeType){case"horizontal":return new_x<=this.start_x?"left":"right";case"vertical":return new_y<=this.start_y?"up":"down";case"all":return Math.abs(new_x-this.start_x)>Math.abs(new_y-this.start_y)?new_x<=this.start_x?"left":"right":new_y<=this.start_y?"up":"down"}},p.priventDefultEvent=function(new_x,new_y){var dx=Math.abs(new_x-this.start_x),dy=Math.abs(new_y-this.start_y),horiz=dx>dy;return"horizontal"===this.swipeType&&horiz||"vertical"===this.swipeType&&!horiz},p.createStatusObject=function(evt){var temp_x,temp_y,status_data={};return temp_x=this.lastStatus.distanceX||0,temp_y=this.lastStatus.distanceY||0,status_data.distanceX=evt.pageX-this.start_x,status_data.distanceY=evt.pageY-this.start_y,status_data.moveX=status_data.distanceX-temp_x,status_data.moveY=status_data.distanceY-temp_y,status_data.distance=parseInt(Math.sqrt(Math.pow(status_data.distanceX,2)+Math.pow(status_data.distanceY,2))),status_data.duration=(new Date).getTime()-this.start_time,status_data.direction=this.getDirection(evt.pageX,evt.pageY),status_data},p.__reset=function(event,jqevt){this.reset=!1,this.lastStatus={},this.start_time=(new Date).getTime();var point=this.__getPoint(event,jqevt);this.start_x=point.pageX,this.start_y=point.pageY},p.__touchStart=function(event){var swipe=event.data.target,jqevt=event;if(swipe.enabled&&!($(event.target).closest(swipe.noSwipeSelector,swipe.$element).length>0)){if(event=event.originalEvent,usePointer&&$(this).css("-ms-touch-action","horizontal"===swipe.swipeType?"pan-y":"pan-x"),!swipe.onSwipe)return void $.error("Swipe listener is undefined");if(!(swipe.touchStarted||isTouch&&swipe.start_time&&"mousedown"===event.type&&(new Date).getTime()-swipe.start_time<600)){var point=swipe.__getPoint(event,jqevt);swipe.start_x=point.pageX,swipe.start_y=point.pageY,swipe.start_time=(new Date).getTime(),$(document).bind(ev_end,{target:swipe},swipe.__touchEnd).bind(ev_move,{target:swipe},swipe.__touchMove).bind(ev_cancel,{target:swipe},swipe.__touchCancel);var status=swipe.createStatusObject(point);status.phase="start",swipe.onSwipe.call(null,status),isTouch||jqevt.preventDefault(),swipe.lastStatus=status,swipe.touchStarted=!0}}},p.__touchMove=function(event){var swipe=event.data.target,jqevt=event;if(event=event.originalEvent,swipe.touchStarted){clearTimeout(swipe.timo),swipe.timo=setTimeout(function(){swipe.__reset(event,jqevt)},60);var point=swipe.__getPoint(event,jqevt),status=swipe.createStatusObject(point);swipe.priventDefultEvent(point.pageX,point.pageY)&&jqevt.preventDefault(),status.phase="move",swipe.lastStatus=status,swipe.onSwipe.call(null,status)}},p.__touchEnd=function(event){var swipe=event.data.target,jqevt=event;event=event.originalEvent,clearTimeout(swipe.timo);var status=swipe.lastStatus;isTouch||jqevt.preventDefault(),status.phase="end",swipe.touchStarted=!1,swipe.priventEvt=null,$(document).unbind(ev_end,swipe.__touchEnd).unbind(ev_move,swipe.__touchMove).unbind(ev_cancel,swipe.__touchCancel),status.speed=status.distance/status.duration,swipe.onSwipe.call(null,status)},p.__touchCancel=function(event){var swipe=event.data.target;swipe.__touchEnd(event)},p.__getPoint=function(event,jqEvent){return isTouch&&-1===event.type.indexOf("mouse")?event.touches[0]:usePointer?event:jqEvent},p.enable=function(){this.enabled||(this.enabled=!0)},p.disable=function(){this.enabled&&(this.enabled=!1)}}(jQuery),function(){"use strict";averta.Ticker=function(){};var st=averta.Ticker,list=[],len=0,__stopped=!0;st.add=function(listener,ref){return list.push([listener,ref]),1===list.length&&st.start(),len=list.length},st.remove=function(listener,ref){for(var i=0,l=list.length;l>i;++i)list[i]&&list[i][0]===listener&&list[i][1]===ref&&list.splice(i,1);len=list.length,0===len&&st.stop()},st.start=function(){__stopped&&(__stopped=!1,__tick())},st.stop=function(){__stopped=!0};var __tick=function(){if(!st.__stopped){for(var item,i=0;i!==len;i++)item=list[i],item[0].call(item[1]);requestAnimationFrame(__tick)}}}(),function(){"use strict";Date.now||(Date.now=function(){return(new Date).getTime()}),averta.Timer=function(delay,autoStart){this.delay=delay,this.currentCount=0,this.paused=!1,this.onTimer=null,this.refrence=null,autoStart&&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";window.CSSTween=function(element,duration,delay,ease){this.$element=element,this.duration=duration||1e3,this.delay=delay||0,this.ease=ease||"linear"};var p=CSSTween.prototype;p.to=function(callback,target){return this.to_cb=callback,this.to_cb_target=target,this},p.from=function(callback,target){return this.fr_cb=callback,this.fr_cb_target=target,this},p.onComplete=function(callback,target){return this.oc_fb=callback,this.oc_fb_target=target,this},p.chain=function(csstween){return this.chained_tween=csstween,this},p.reset=function(){clearTimeout(this.start_to),clearTimeout(this.end_to)},p.start=function(){var element=this.$element[0];clearTimeout(this.start_to),clearTimeout(this.end_to),this.fresh=!0,this.fr_cb&&(element.style[window._jcsspfx+"TransitionDuration"]="0ms",this.fr_cb.call(this.fr_cb_target));var that=this;return this.onTransComplete=function(){that.fresh&&(that.reset(),element.style[window._jcsspfx+"TransitionDuration"]="",element.style[window._jcsspfx+"TransitionProperty"]="",element.style[window._jcsspfx+"TransitionTimingFunction"]="",element.style[window._jcsspfx+"TransitionDelay"]="",that.fresh=!1,that.chained_tween&&that.chained_tween.start(),that.oc_fb&&that.oc_fb.call(that.oc_fb_target))},this.start_to=setTimeout(function(){that.$element&&(element.style[window._jcsspfx+"TransitionDuration"]=that.duration+"ms",element.style[window._jcsspfx+"TransitionProperty"]=that.transProperty||"all",element.style[window._jcsspfx+"TransitionDelay"]=that.delay>0?that.delay+"ms":"",element.style[window._jcsspfx+"TransitionTimingFunction"]=that.ease,that.to_cb&&that.to_cb.call(that.to_cb_target),that.end_to=setTimeout(function(){that.onTransComplete()},that.duration+(that.delay||0)))},1),this}}(),function(){"use strict";function transPos(element,properties){if(void 0!==properties.x||void 0!==properties.y)if(_cssanim){var trans=window._jcsspfx+"Transform";void 0!==properties.x&&(properties[trans]=(properties[trans]||"")+" translateX("+properties.x+"px)",delete properties.x),void 0!==properties.y&&(properties[trans]=(properties[trans]||"")+" translateY("+properties.y+"px)",delete properties.y)}else{if(void 0!==properties.x){var posx="auto"!==element.css("right")?"right":"left";properties[posx]=properties.x+"px",delete properties.x}if(void 0!==properties.y){var posy="auto"!==element.css("bottom")?"bottom":"top";properties[posy]=properties.y+"px",delete properties.y}}return properties}var _cssanim=null;window.CTween={},CTween.setPos=function(element,pos){element.css(transPos(element,pos))},CTween.animate=function(element,duration,properties,options){if(null==_cssanim&&(_cssanim=window._cssanim),options=options||{},transPos(element,properties),_cssanim){var tween=new CSSTween(element,duration,options.delay,EaseDic[options.ease]);return options.transProperty&&(tween.transProperty=options.transProperty),tween.to(function(){element.css(properties)}),options.complete&&tween.onComplete(options.complete,options.target),tween.start(),tween.stop=tween.reset,tween}var onCl;return options.delay&&element.delay(options.delay),options.complete&&(onCl=function(){options.complete.call(options.target)}),element.stop(!0).animate(properties,duration,options.ease||"linear",onCl),element},CTween.fadeOut=function(target,duration,remove){var options={};remove===!0?options.complete=function(){target.remove()}:2===remove&&(options.complete=function(){target.css("display","none")}),CTween.animate(target,duration||1e3,{opacity:0},options)},CTween.fadeIn=function(target,duration,reset){reset!==!1&&target.css("opacity",0).css("display",""),CTween.animate(target,duration||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(type,$container,$img){this.$container=$container,this.$img=$img,this.type=type||"stretch",this.widthOnly=!1,this.heightOnly=!1};var p=MSAligner.prototype;p.init=function(w,h){switch(this.baseWidth=w,this.baseHeight=h,this.imgRatio=w/h,this.imgRatio2=h/w,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()}},p.align=function(){if(this.needAlign){var cont_w=this.$container[0].offsetWidth,cont_h=this.$container[0].offsetHeight,contRatio=cont_w/cont_h;"fill"==this.type?this.imgRatio<contRatio?(this.$img.width(cont_w),this.$img.height(cont_w*this.imgRatio2)):(this.$img.height(cont_h),this.$img.width(cont_h*this.imgRatio)):"fit"==this.type&&(this.imgRatio<contRatio?(this.$img.height(cont_h),this.$img.width(cont_h*this.imgRatio)):(this.$img.width(cont_w),this.$img.height(cont_w*this.imgRatio2))),this.setMargin()}},p.setMargin=function(){var cont_w=this.$container[0].offsetWidth,cont_h=this.$container[0].offsetHeight;this.$img.css("margin-top",(cont_h-this.$img[0].offsetHeight)/2+"px"),this.$img.css("margin-left",(cont_w-this.$img[0].offsetWidth)/2+"px")}}(),function(){"use strict";var _options={bouncing:!0,snapping:!1,snapsize:null,friction:.05,outFriction:.05,outAcceleration:.09,minValidDist:.3,snappingMinSpeed:2,paging:!1,endless:!1,maxSpeed:160},Controller=function(min,max,options){if(null===max||null===min)throw new Error("Max and Min values are required.");this.options=options||{};for(var key in _options)key in this.options||(this.options[key]=_options[key]);this._max_value=max,this._min_value=min,this.value=min,this.end_loc=min,this.current_snap=this.getSnapNum(min),this.__extrStep=0,this.__extraMove=0,this.__animID=-1},p=Controller.prototype;p.changeTo=function(value,animate,speed,snap_num,dispatch){if(this.stopped=!1,this._internalStop(),value=this._checkLimits(value),speed=Math.abs(speed||0),this.options.snapping&&(snap_num=snap_num||this.getSnapNum(value),dispatch!==!1&&this._callsnapChange(snap_num),this.current_snap=snap_num),animate){this.animating=!0;var self=this,active_id=++self.__animID,amplitude=value-self.value,timeStep=0,targetPosition=value,animFrict=1-self.options.friction,timeconst=animFrict+(speed-20)*animFrict*1.3/self.options.maxSpeed,tick=function(){if(active_id===self.__animID){var dis=value-self.value;if(!(Math.abs(dis)>self.options.minValidDist&&self.animating))return self.animating&&(self.value=value,self._callrenderer()),self.animating=!1,active_id!==self.__animID&&(self.__animID=-1),void self._callonComplete("anim");window.requestAnimationFrame(tick),self.value=targetPosition-amplitude*Math.exp(-++timeStep*timeconst),self._callrenderer()}};return void tick()}this.value=value,this._callrenderer()},p.drag=function(move){this.start_drag&&(this.drag_start_loc=this.value,this.start_drag=!1),this.animating=!1,this._deceleration=!1,this.value-=move,!this.options.endless&&(this.value>this._max_value||this.value<0)?this.options.bouncing?(this.__isout=!0,this.value+=.6*move):this.value=this.value>this._max_value?this._max_value:0:!this.options.endless&&this.options.bouncing&&(this.__isout=!1),this._callrenderer()},p.push=function(speed){if(this.stopped=!1,this.options.snapping&&Math.abs(speed)<=this.options.snappingMinSpeed)return void this.cancel();if(this.__speed=speed,this.__startSpeed=speed,this.end_loc=this._calculateEnd(),this.options.snapping){var snap_loc=this.getSnapNum(this.value),end_snap=this.getSnapNum(this.end_loc);if(this.options.paging)return snap_loc=this.getSnapNum(this.drag_start_loc),this.__isout=!1,void(speed>0?this.gotoSnap(snap_loc+1,!0,speed):this.gotoSnap(snap_loc-1,!0,speed));if(snap_loc===end_snap)return void this.cancel();this._callsnapChange(end_snap),this.current_snap=end_snap}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()},p.bounce=function(speed){this.animating||(this.stopped=!1,this.animating=!1,this.__speed=speed,this.__startSpeed=speed,this.end_loc=this._calculateEnd(),this._startDecelaration())},p.stop=function(){this.stopped=!0,this._internalStop()},p.cancel=function(){this.start_drag=!0,this.__isout?(this.__speed=4e-4,this._startDecelaration()):this.options.snapping&&this.gotoSnap(this.getSnapNum(this.value),!0)},p.renderCallback=function(listener,ref){this.__renderHook={fun:listener,ref:ref}},p.snappingCallback=function(listener,ref){this.__snapHook={fun:listener,ref:ref}},p.snapCompleteCallback=function(listener,ref){this.__compHook={fun:listener,ref:ref}},p.getSnapNum=function(value){return Math.floor((value+this.options.snapsize/2)/this.options.snapsize)},p.nextSnap=function(){this._internalStop();var curr_snap=this.getSnapNum(this.value);!this.options.endless&&(curr_snap+1)*this.options.snapsize>this._max_value?(this.__speed=8,this.__needsSnap=!1,this._startDecelaration()):this.gotoSnap(curr_snap+1,!0)},p.prevSnap=function(){this._internalStop();var curr_snap=this.getSnapNum(this.value);!this.options.endless&&(curr_snap-1)*this.options.snapsize<this._min_value?(this.__speed=-8,this.__needsSnap=!1,this._startDecelaration()):this.gotoSnap(curr_snap-1,!0)},p.gotoSnap=function(snap_num,animate,speed){this.changeTo(snap_num*this.options.snapsize,animate,speed,snap_num)},p.destroy=function(){this._internalStop(),this.__renderHook=null,this.__snapHook=null,this.__compHook=null},p._internalStop=function(){this.start_drag=!0,this.animating=!1,this._deceleration=!1,this.__extrStep=0},p._calculateExtraMove=function(value){var m=value%this.options.snapsize;return m<this.options.snapsize/2?-m:this.options.snapsize-m},p._calculateEnd=function(step){for(var temp_speed=this.__speed,temp_value=this.value,i=0;Math.abs(temp_speed)>this.options.minValidDist;)temp_value+=temp_speed,temp_speed*=this.options.friction,i++;return step?i:temp_value},p._checkLimits=function(value){return this.options.endless?value:value<this._min_value?this._min_value:value>this._max_value?this._max_value:value},p._callrenderer=function(){this.__renderHook&&this.__renderHook.fun.call(this.__renderHook.ref,this,this.value)},p._callsnapChange=function(targetSnap){this.__snapHook&&targetSnap!==this.current_snap&&this.__snapHook.fun.call(this.__snapHook.ref,this,targetSnap,targetSnap-this.current_snap)},p._callonComplete=function(type){this.__compHook&&!this.stopped&&this.__compHook.fun.call(this.__compHook.ref,this,this.current_snap,type)},p._computeDeceleration=function(){if(this.options.snapping&&this.__needsSnap){var xtr_move=(this.__startSpeed-this.__speed)/this.__startSpeed*this.__extraMove;this.value+=this.__speed+xtr_move-this.__extrStep,this.__extrStep=xtr_move}else this.value+=this.__speed;if(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){var out_value=0;this.value<this._min_value?out_value=this._min_value-this.value:this.value>this._max_value&&(out_value=this._max_value-this.value),this.__isout=Math.abs(out_value)>=this.options.minValidDist,this.__isout&&(this.__speed*out_value<=0?this.__speed+=out_value*this.options.outFriction:this.__speed=out_value*this.options.outAcceleration)}},p._startDecelaration=function(){if(!this._deceleration){this._deceleration=!0;var self=this,tick=function(){self._deceleration&&(self._computeDeceleration(),Math.abs(self.__speed)>self.options.minValidDist||self.__isout?window.requestAnimationFrame(tick):(self._deceleration=!1,self.__isout=!1,self.value=self.__needsSnap&&self.options.snapping&&!self.options.paging?self._checkLimits(self.end_loc+self.__extraMove):Math.round(self.value),self._callrenderer(),self._callonComplete("decel")))};tick()}},window.Controller=Controller}(),window.MSSliderEvent=function(type){this.type=type},MSSliderEvent.CHANGE_START="ms_changestart",MSSliderEvent.CHANGE_END="ms_changeend",MSSliderEvent.WAITING="ms_waiting",MSSliderEvent.AUTOPLAY_CHANGE="ms_autoplaychange",MSSliderEvent.VIDEO_PLAY="ms_videoPlay",MSSliderEvent.VIDEO_CLOSE="ms_videoclose",MSSliderEvent.INIT="ms_init",MSSliderEvent.HARD_UPDATE="ms_hard_update",MSSliderEvent.RESIZE="ms_resize",MSSliderEvent.RESERVED_SPACE_CHANGE="ms_rsc",MSSliderEvent.DESTROY="ms_destroy",function(window,document,$){"use strict";window.MSSlide=function(){this.$element=null,this.$loading=$("<div></div>").addClass("ms-slide-loading"),this.view=null,this.index=-1,this.__width=0,this.__height=0,this.fillMode="fill",this.selected=!1,this.pselected=!1,this.autoAppend=!0,this.isSleeping=!0,this.moz=window.MSBrowserInfo.mozilla};var p=MSSlide.prototype;p.onSwipeStart=function(){this.link&&(this.linkdis=!0),this.video&&(this.videodis=!0)},p.onSwipeMove=function(e){var move=Math.max(Math.abs(e.data.distanceX),Math.abs(e.data.distanceY));this.swipeMoved=move>4},p.onSwipeCancel=function(){return this.swipeMoved?void(this.swipeMoved=!1):(this.link&&(this.linkdis=!1),void(this.video&&(this.videodis=!1)))},p.assetsLoaded=function(){this.ready=!0,this.slider.api._startTimer(),this.isSleeping||this.setupBG(),CTween.fadeOut(this.$loading,300,!0),(0===this.slider.options.preload||"all"===this.slider.options.preload)&&this.index<this.view.slideList.length-1?this.view.slideList[this.index+1].loadImages():"all"===this.slider.options.preload&&this.index===this.view.slideList.length-1&&this.slider._removeLoading()},p.setBG=function(img){this.hasBG=!0;var that=this;this.$imgcont=$("<div></div>").addClass("ms-slide-bgcont"),this.$element.append(this.$loading).append(this.$imgcont),this.$bg_img=$(img).css("visibility","hidden"),this.$imgcont.append(this.$bg_img),this.bgAligner=new MSAligner(that.fillMode,that.$imgcont,that.$bg_img),this.bgAligner.widthOnly=this.slider.options.autoHeight,that.slider.options.autoHeight&&(that.pselected||that.selected)&&that.slider.setHeight(that.slider.options.height),void 0!==this.$bg_img.data("src")?(this.bg_src=this.$bg_img.data("src"),this.$bg_img.removeAttr("data-src")):this.$bg_img.one("load",function(event){that._onBGLoad(event)}).each($.jqLoadFix)},p.setupBG=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()))},p.loadImages=function(){if(!this.ls){if(this.ls=!0,this.hasBG&&this.bg_src){var that=this;this.$bg_img.preloadImg(this.bg_src,function(event){that._onBGLoad(event)})}this.hasBG||this.hasLayers||this.assetsLoaded()}},p._onBGLoad=function(event){this.bgNatrualWidth=event.width,this.bgNatrualHeight=event.height,this.bgLoaded=!0,window.MSBrowserInfo.msie&&this.$bg_img.on("dragstart",function(event){event.preventDefault()}),(!this.hasLayers||this.layerController.ready)&&this.assetsLoaded()},p.setSize=function(width,height){this.__width=width,this.slider.options.autoHeight&&(this.bgLoaded?(this.ratio=this.__width/this.bgWidth,height=Math.floor(this.ratio*this.bgHeight),this.$imgcont.height(height)):(this.ratio=width/this.slider.options.width,height=this.slider.options.height*this.ratio)),this.__height=height,this.$element.width(width).height(height),this.hasBG&&this.bgLoaded&&this.bgAligner.align()},p.getHeight=function(){return this.hasBG&&this.bgLoaded?this.bgHeight*this.ratio:Math.max(this.$element[0].clientHeight,this.slider.options.height*this.ratio)},p.__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.moz&&this.view.$element.css("perspective","none"),this.view.swipeControl&&this.view.swipeControl.disable(),this.slider.slideController.dispatchEvent(new MSSliderEvent(MSSliderEvent.VIDEO_PLAY)))},p.__closeVideo=function(){if(this.vplayed){this.vplayed=!1,this.roc&&this.slider.api.resume();var that=this;CTween.fadeIn(this.vpbtn,500),CTween.animate(this.vcbtn,500,{opacity:0},{complete:function(){that.vcbtn.css("display","none")}}),CTween.animate(this.vframe,500,{opacity:0},{complete:function(){that.vframe.attr("src","about:blank").css("display","none")}}),this.moz&&this.view.$element.css("perspective",""),this.view.swipeControl&&this.view.swipeControl.enable(),this.view.$element.removeClass("ms-def-cursor"),this.slider.slideController.dispatchEvent(new MSSliderEvent(MSSliderEvent.VIDEO_CLOSE))}},p.create=function(){var that=this;this.link&&this.link.addClass("ms-slide-link").html("").click(function(e){that.linkdis&&e.preventDefault()}),this.video&&(-1===this.video.indexOf("?")&&(this.video+="?"),this.vframe=$("<iframe></iframe>").addClass("ms-slide-video").css({width:"100%",height:"100%",display:"none"}).attr("src","about:blank").attr("allowfullscreen","true").appendTo(this.$element),this.vpbtn=$("<div></div>").addClass("ms-slide-vpbtn").click(function(){that.__playVideo()}).appendTo(this.$element),this.vcbtn=$("<div></div>").addClass("ms-slide-vcbtn").click(function(){that.__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%"),("center"===this.fillMode||"stretch"===this.fillMode)&&(this.fillMode="fill")),this.slider.options.autoHeight&&this.$element.addClass("ms-slide-auto-height"),this.sleep(!0)},p.destroy=function(){this.$element.remove(),this.$element=null},p.prepareToSelect=function(){this.pselected||this.selected||(this.pselected=!0,(this.link||this.video)&&(this.view.addEventListener(MSViewEvents.SWIPE_START,this.onSwipeStart,this),this.view.addEventListener(MSViewEvents.SWIPE_MOVE,this.onSwipeMove,this),this.view.addEventListener(MSViewEvents.SWIPE_CANCEL,this.onSwipeCancel,this),this.linkdis=!1,this.swipeMoved=!1),this.loadImages(),this.moz&&this.$element.css("margin-top",""))},p.select=function(){this.selected||(this.selected=!0,this.pselected=!1,this.$element.addClass("ms-sl-selected"),this.videoAutoPlay&&(this.videodis=!1,this.vpbtn.trigger("click")))
|
10 |
+
},p.unselect=function(){this.pselected=!1,this.moz&&this.$element.css("margin-top","0.1px"),(this.link||this.video)&&(this.view.removeEventListener(MSViewEvents.SWIPE_START,this.onSwipeStart,this),this.view.removeEventListener(MSViewEvents.SWIPE_MOVE,this.onSwipeMove,this),this.view.removeEventListener(MSViewEvents.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))},p.sleep=function(force){(!this.isSleeping||force)&&(this.isSleeping=!0,this.autoAppend&&this.$element.detach(),this.hasLayers&&this.layerController.onSlideSleep())},p.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.setupBG(),this.hasBG&&this.bgAligner.align(),this.hasLayers&&this.layerController.onSlideWakeup())}}(window,document,jQuery),function($){"use strict";var SliderViewList={};window.MSSlideController=function(slider){this._delayProgress=0,this._timer=new averta.Timer(100),this._timer.onTimer=this.onTimer,this._timer.refrence=this,this.currentSlide=null,this.slider=slider,this.so=slider.options,averta.EventDispatcher.call(this)},MSSlideController.registerView=function(name,_class){if(name in SliderViewList)throw new Error(name+", is already registered.");SliderViewList[name]=_class},MSSlideController.SliderControlList={},MSSlideController.registerControl=function(name,_class){if(name in MSSlideController.SliderControlList)throw new Error(name+", is already registered.");MSSlideController.SliderControlList[name]=_class};var p=MSSlideController.prototype;p.setupView=function(){var that=this;this.resize_listener=function(){that.__resize()};var viewOptions={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&&$.extend(viewOptions,this.so.viewOptions),this.so.autoHeight&&(this.so.heightLimit=!1);var viewClass=SliderViewList[this.slider.options.view]||MSBasicView;if(!viewClass._3dreq||window._css3d&&!window.MSBrowserInfo.msie||(viewClass=viewClass._fallback||MSBasicView),this.view=new viewClass(viewOptions),this.so.overPause){var that=this;this.slider.$element.mouseenter(function(){that.is_over=!0,that._stopTimer()}).mouseleave(function(){that.is_over=!1,that._startTimer()})}},p.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.so.deepLink&&this.__updateWindowHash(),this.dispatchEvent(new MSSliderEvent(MSSliderEvent.CHANGE_START))},p.onChangeEnd=function(){if(this.change_started=!1,this._startTimer(),this.currentSlide.select(),this.so.preload>1){var loc,i,slide,l=this.so.preload-1;for(i=1;l>=i;++i){if(loc=this.view.index+i,loc>=this.view.slideList.length){if(!this.so.loop){i=l;continue}loc-=this.view.slideList.length}slide=this.view.slideList[loc],slide&&slide.loadImages()}for(l>this.view.slideList.length/2&&(l=Math.floor(this.view.slideList.length/2)),i=1;l>=i;++i){if(loc=this.view.index-i,0>loc){if(!this.so.loop){i=l;continue}loc=this.view.slideList.length+loc}slide=this.view.slideList[loc],slide&&slide.loadImages()}}this.dispatchEvent(new MSSliderEvent(MSSliderEvent.CHANGE_END))},p.onSwipeStart=function(){this.skipTimer()},p.skipTimer=function(){this._timer.reset(),this._delayProgress=0,this.dispatchEvent(new MSSliderEvent(MSSliderEvent.WAITING))},p.onTimer=function(){if(this._timer.getTime()>=1e3*this.view.currentSlide.delay&&(this.skipTimer(),this.view.next(),this.hideCalled=!1),this._delayProgress=this._timer.getTime()/(10*this.view.currentSlide.delay),this.so.hideLayers&&!this.hideCalled&&1e3*this.view.currentSlide.delay-this._timer.getTime()<=300){var currentSlide=this.view.currentSlide;currentSlide.hasLayers&¤tSlide.layerController.animHideLayers(),this.hideCalled=!0}this.dispatchEvent(new MSSliderEvent(MSSliderEvent.WAITING))},p._stopTimer=function(){this._timer&&this._timer.stop()},p._startTimer=function(){this.paused||this.is_over||!this.currentSlide||!this.currentSlide.ready||this.change_started||this._timer.start()},p.__appendSlides=function(){var slide,loc,i=0,l=this.view.slideList.length-1;for(i;l>i;++i)slide=this.view.slideList[i],slide.detached||(slide.$element.detach(),slide.detached=!0);for(this.view.appendSlide(this.view.slideList[this.view.index]),l=3,i=1;l>=i;++i){if(loc=this.view.index+i,loc>=this.view.slideList.length){if(!this.so.loop){i=l;continue}loc-=this.view.slideList.length}slide=this.view.slideList[loc],slide.detached=!1,this.view.appendSlide(slide)}for(l>this.view.slideList.length/2&&(l=Math.floor(this.view.slideList.length/2)),i=1;l>=i;++i){if(loc=this.view.index-i,0>loc){if(!this.so.loop){i=l;continue}loc=this.view.slideList.length+loc}slide=this.view.slideList[loc],slide.detached=!1,this.view.appendSlide(slide)}},p.__resize=function(hard){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,hard),this.view.setSize(this.width,this.currentSlide.getHeight(),hard)):this.view.setSize(this.width,Math.max(this.so.minHeight,this.so.heightLimit?Math.min(this.height,this.so.height):this.height),hard),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 MSSliderEvent(MSSliderEvent.RESIZE)))},p.__dispatchInit=function(){this.dispatchEvent(new MSSliderEvent(MSSliderEvent.INIT))},p.setup=function(){this.created=!0,this.paused=!this.so.autoplay,this.view.addEventListener(MSViewEvents.CHANGE_START,this.onChangeStart,this),this.view.addEventListener(MSViewEvents.CHANGE_END,this.onChangeEnd,this),this.view.addEventListener(MSViewEvents.SWIPE_START,this.onSwipeStart,this),this.currentSlide=this.view.slideList[this.so.start-1],this.__resize();var startSlide=this.so.start-1;if(this.view.create(startSlide),0===this.so.preload&&this.view.slideList[0].loadImages(),this.scroller=this.view.controller,this.so.wheel){var that=this,last_time=(new Date).getTime();this.wheellistener=function(event){var e=window.event||event.orginalEvent||event;e.preventDefault();var current_time=(new Date).getTime();if(!(400>current_time-last_time)){last_time=current_time;var delta=Math.abs(e.detail||e.wheelDelta);window.MSBrowserInfo.mozilla&&(delta*=100);var scrollThreshold=15;return e.detail<0||e.wheelDelta>0?delta>=scrollThreshold&&that.previous(!0):delta>=scrollThreshold&&that.next(!0),!1}},window.MSBrowserInfo.mozilla?this.slider.$element[0].addEventListener("DOMMouseScroll",this.wheellistener):this.slider.$element.bind("mousewheel",this.wheellistener)}0===this.slider.$element[0].clientWidth&&(this.slider.init_safemode=!0),this.__resize()},p.index=function(){return this.view.index},p.count=function(){return this.view.slidesCount},p.next=function(checkLoop){this.skipTimer(),this.view.next(checkLoop)},p.previous=function(checkLoop){this.skipTimer(),this.view.previous(checkLoop)},p.gotoSlide=function(index){index=Math.min(index,this.count()-1),this.skipTimer(),this.view.gotoSlide(index)},p.destroy=function(reset){this.dispatchEvent(new MSSliderEvent(MSSliderEvent.DESTROY)),this.slider.destroy(reset)},p._destroy=function(){this._timer.reset(),this._timer=null,$(window).unbind("resize",this.resize_listener),this.view.destroy(),this.view=null,this.so.wheel&&(window.MSBrowserInfo.mozilla?this.slider.$element[0].removeEventListener("DOMMouseScroll",this.wheellistener):this.slider.$element.unbind("mousewheel",this.wheellistener),this.wheellistener=null),this.so=null},p.runAction=function(action){var actionParams=[];if(-1!==action.indexOf("(")){var temp=action.slice(0,action.indexOf("("));actionParams=action.slice(action.indexOf("(")+1,-1).replace(/\"|\'|\s/g,"").split(","),action=temp}action in this?this[action].apply(this,actionParams):console},p.update=function(hard){this.slider.init_safemode&&hard&&(this.slider.init_safemode=!1),this.__resize(hard),hard&&this.dispatchEvent(new MSSliderEvent(MSSliderEvent.HARD_UPDATE))},p.locate=function(){this.__resize()},p.resume=function(){this.paused&&(this.paused=!1,this._startTimer())},p.pause=function(){this.paused||(this.paused=!0,this._stopTimer())},p.currentTime=function(){return this._delayProgress},averta.EventDispatcher.extend(p)}(jQuery),function($){"use strict";window.MasterSlider=function(){this.options={forceInit:!0,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,mobileBGVideo:!1,heightLimit:!0,smoothHeight:!0,autoHeight:!1,minHeight:-1,fullwidth:!1,fullheight:!1,autofill:!1,layersMode:"center",hideLayers:!1,endPause:!1,centerControls:!0,overPause:!0,shuffle:!1,speed:17,dir:"h",preload:0,wheel:!1,layout:"boxed",autofillTarget:null,fullscreenMargin:0,instantStartLayers:!1,parallaxMode:"mouse",rtl:!1,deepLink:null,deepLinkType:"path",disablePlugins:[],responsive:!0,tabletWidth:768,tabletHeight:null,phoneWidth:480,phoneHeight:null,sizingReference:"window"},this.slides=[],this.activePlugins=[],this.$element=null,this.lastMargin=0,this.leftSpace=0,this.topSpace=0,this.rightSpace=0,this.bottomSpace=0,this._holdOn=0;var that=this;this.resize_listener=function(){that._resize()},$(window).bind("resize",this.resize_listener)},MasterSlider.author="Averta Ltd. (www.averta.net)",MasterSlider.version="2.80.6",MasterSlider.releaseDate="Dec 2020",MasterSlider._plugins=[];var MS=MasterSlider;MS.registerPlugin=function(plugin){-1===MS._plugins.indexOf(plugin)&&MS._plugins.push(plugin)};var p=MasterSlider.prototype;p.__setupSlides=function(){var new_slide,that=this,ind=0;this.$element.children(".ms-slide").each(function(){var $slide_ele=$(this);new_slide=new MSSlide,new_slide.$element=$slide_ele,new_slide.slider=that,new_slide.delay=void 0!==$slide_ele.data("delay")?$slide_ele.data("delay"):3,new_slide.fillMode=void 0!==$slide_ele.data("fill-mode")?$slide_ele.data("fill-mode"):that.options.fillMode,new_slide.index=ind++,new_slide.id=$slide_ele.data("id");var slide_img=$slide_ele.children("img:not(.ms-layer)");if(slide_img.length>0&&new_slide.setBG(slide_img[0]),that.controls)for(var i=0,l=that.controls.length;l>i;++i)that.controls[i].slideAction(new_slide);$slide_ele.children("a").each(function(){var $this=$(this);"video"===this.getAttribute("data-type")?(new_slide.video=this.getAttribute("href"),new_slide.videoAutoPlay=$this.data("autoplay"),$this.remove()):$this.hasClass("ms-layer")||(new_slide.link=$(this))});that.slides.push(new_slide),that.slideController.view.addSlide(new_slide)})},p._setupOverlayLayers=function(){var self=this,$ollayers=this.$element.children(".ms-overlay-layers").eq(0);if($ollayers.length){var overlayLayers=new MSOverlayLayers(this);overlayLayers.$element=$ollayers,self.__createSlideLayers(overlayLayers,$ollayers.find(".ms-layer")),this.view.$element.prepend($ollayers),this.overlayLayers=overlayLayers,overlayLayers.create()}},p._removeLoading=function(){$(window).unbind("resize",this.resize_listener),this.$element.removeClass("before-init").css("visibility","visible").css("height","").css("opacity",0),CTween.fadeIn(this.$element),this.$loading.remove(),this.slideController&&this.slideController.__resize()},p._resize=function(){if(this.$loading){var h=this.$loading[0].clientWidth/this.aspect;h=this.options.heightLimit?Math.min(h,this.options.height):h,this.$loading.height(h),this.$element.height(h)}},p._shuffleSlides=function(){for(var r,slides=this.$element.children(".ms-slide"),i=0,l=slides.length;l>i;++i)r=Math.floor(Math.random()*(l-1)),i!=r&&(this.$element[0].insertBefore(slides[i],slides[r]),slides=this.$element.children(".ms-slide"))},p._setupSliderLayout=function(){this._updateSideMargins(),this.lastMargin=this.leftSpace;var lo=this.options.layout;"boxed"!==lo&&"partialview"!==lo&&(this.options.fullwidth=!0),("fullscreen"===lo||"fullwidth"===lo||"autofill"===lo)&&($(window).bind("resize",{that:this},this._updateLayout),this._updateLayout()),$(window).bind("resize",this.slideController.resize_listener)},p._updateLayout=function(event){var that=event?event.data.that:this,$element=(that.options.layout,that.$element),$win=$(window);$element.width($win.width()-that.leftSpace-that.rightSpace);var margin=-$element.offset().left+that.leftSpace+that.lastMargin;$element.css("margin-left",margin),that.lastMargin=margin},p._init=function(){if(!(this._holdOn>0)&&this._docReady){if(this.initialized=!0,"all"!==this.options.preload&&this._removeLoading(),this.options.shuffle&&this._shuffleSlides(),this.slideController.setupView(),this.view=this.slideController.view,this.$controlsCont=$("<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=$("<div></div>").addClass("ms-container").prependTo(this.$element).append(this.$controlsCont),this.controls)for(var i=0,l=this.controls.length;l>i;++i)this.controls[i].setup();if(this._setupSliderLayout(),this.__setupSlides(),this.slideController.setup(),this._setupOverlayLayers(),this.controls)for(i=0,l=this.controls.length;l>i;++i)this.controls[i].create();if(this.options.autoHeight&&this.slideController.view.$element.height(this.slideController.currentSlide.getHeight()),this.options.swipe&&!window._touch&&this.options.grabCursor&&this.options.mouse){var $view=this.view.$element;$view.mousedown(function(){$view.removeClass("ms-grab-cursor"),$view.addClass("ms-grabbing-cursor"),window.MSBrowserInfo.msie&&window.ms_grabbing_curosr&&($view[0].style.cursor="url("+window.ms_grabbing_curosr+"), move")}).addClass("ms-grab-cursor"),$(document).mouseup(function(){$view.removeClass("ms-grabbing-cursor"),$view.addClass("ms-grab-cursor"),window.MSBrowserInfo.msie&&window.ms_grab_curosr&&($view[0].style.cursor="url("+window.ms_grab_curosr+"), move")})}this.slideController.__dispatchInit()}},p.setHeight=function(value){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:value},{ease:"easeOutQuart"})):this.slideController.view.$element.height(value)},p.reserveSpace=function(side,space){var sideSpace=side+"Space",pos=this[sideSpace];return this[sideSpace]+=space,this._updateSideMargins(),pos},p._updateSideMargins=function(){this.$element.css("margin",this.topSpace+"px "+this.rightSpace+"px "+this.bottomSpace+"px "+this.leftSpace+"px")},p._realignControls=function(){this.rightSpace=this.leftSpace=this.topSpace=this.bottomSpace=0,this._updateSideMargins(),this.api.dispatchEvent(new MSSliderEvent(MSSliderEvent.RESERVED_SPACE_CHANGE))},p.control=function(control,options){if(control in MSSlideController.SliderControlList){this.controls||(this.controls=[]);var ins=new MSSlideController.SliderControlList[control](options);return ins.slider=this,this.controls.push(ins),this}},p.holdOn=function(){this._holdOn++},p.release=function(){this._holdOn--,this._init()},p.setup=function(target,options){if(this.$element="string"==typeof target?$("#"+target):target.eq(0),this.setupMarkup=this.$element.html(),0!==this.$element.length){this.$element.addClass("master-slider").addClass("before-init"),window.MSBrowserInfo.msie?this.$element.addClass("ms-ie").addClass("ms-ie"+window.MSBrowserInfo.version.slice(0,window.MSBrowserInfo.version.indexOf("."))):window.MSBrowserInfo.webkit?this.$element.addClass("ms-wk"):window.MSBrowserInfo.mozilla&&this.$element.addClass("ms-moz");var ua=navigator.userAgent.toLowerCase(),isAndroid=ua.indexOf("android")>-1;isAndroid&&this.$element.addClass("ms-android");var that=this;$.extend(this.options,options),this.aspect=this.options.width/this.options.height,this.responsiveWidth=[this.options.phoneWidth,this.options.tabletWidth,this.options.width],this.responsiveHeight=[this.options.phoneHeight,this.options.tabletHeight,this.options.height],this.responsiveAspect=[this.options.phoneWidth/this.options.phoneHeight,this.options.tabletWidth/this.options.tabletHeight,this.options.width/this.options.height],this.$loading=$("<div></div>").addClass("ms-loading-container").insertBefore(this.$element).append($("<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 MSSlideController(this),this.api=this.slideController;for(var i=0,l=MS._plugins.length;i!==l;i++){var plugin=MS._plugins[i];-1===this.options.disablePlugins.indexOf(plugin.name)&&this.activePlugins.push(new plugin(this))}return this.options.forceInit&&MasterSlider.addJQReadyErrorCheck(this),$(document).ready(function(){that.initialized||(that._docReady=!0,that._init())}),this}},p.getActiveBreakpoint=function(getIndex){var bpList=["phone","tablet","desktop"],bpSizes=[this.options.phoneWidth||480,this.options.tabletWidth||768,this.options.width],currentSize="self"===this.options.sizingReference?this.$element.outerWidth(!1):window.innerWidth,bp="desktop",bpIndex=2;return bpSizes.every(function(size,index){return size>=currentSize?(bp=bpList[index],bpIndex=index,!1):!0}.bind(this)),getIndex?bpIndex:bp},p.getBreakpointReferenceSize=function(){var bp=this.getActiveBreakpoint();return"desktop"===bp?this.options.width:this.options[bp+"Width"]},p.getResponsiveValue=function(repsVal){var bpIndex=this.getActiveBreakpoint(!0);return repsVal.slice(bpIndex).filter(function(value){return void 0!==value&&1/0!==value})[0]},p.destroy=function(insertMarkup){for(var i=0,l=this.activePlugins.length;i!==l;i++)this.activePlugins[i].destroy();if(this.controls)for(i=0,l=this.controls.length;i!==l;i++)this.controls[i].destroy();this.slideController&&this.slideController._destroy(),this.$loading&&this.$loading.remove(),insertMarkup?this.$element.html(this.setupMarkup).css("visibility","hidden"):this.$element.remove();var lo=this.options.layout;("fullscreen"===lo||"fullwidth"===lo)&&$(window).unbind("resize",this._updateLayout),this.view=null,this.slides=null,this.options=null,this.slideController=null,this.api=null,this.resize_listener=null,this.activePlugins=null}}(jQuery),function($,window,document,undefined){function MasterSliderPlugin(element,options){this.element=element,this.$element=$(element),this.settings=$.extend({},defaults,options),this._defaults=defaults,this._name=pluginName,this.init()}var pluginName="masterslider",defaults={controls:{}};$.extend(MasterSliderPlugin.prototype,{init:function(){var self=this;this._slider=new MasterSlider;for(var control in this.settings.controls)this._slider.control(control,this.settings.controls[control]);this._slider.setup(this.$element,this.settings);var _superDispatch=this._slider.api.dispatchEvent;this._slider.api.dispatchEvent=function(event){self.$element.trigger(event.type),_superDispatch.call(this,event)}},api:function(){return this._slider.api},slider:function(){return this._slider}}),$.fn[pluginName]=function(options){var args=arguments,plugin="plugin_"+pluginName;if(options===undefined||"object"==typeof options)return this.each(function(){$.data(this,plugin)||$.data(this,plugin,new MasterSliderPlugin(this,options))});if("string"==typeof options&&"_"!==options[0]&&"init"!==options){var returns;return this.each(function(){var instance=$.data(this,plugin);instance instanceof MasterSliderPlugin&&"function"==typeof instance[options]&&(returns=instance[options].apply(instance,Array.prototype.slice.call(args,1))),instance instanceof MasterSliderPlugin&&"function"==typeof instance._slider.api[options]&&(returns=instance._slider.api[options].apply(instance._slider.api,Array.prototype.slice.call(args,1))),"destroy"===options&&$.data(this,plugin,null)}),returns!==undefined?returns:this}}}(jQuery,window,document),function($,window){"use strict";var sliderInstances=[];MasterSlider.addJQReadyErrorCheck=function(slider){sliderInstances.push(slider)};var _ready=$.fn.ready,_onerror=window.onerror;$.fn.ready=function(){return window.onerror=function(){if(0!==sliderInstances.length)for(var i=0,l=sliderInstances.length;i!==l;i++){var slider=sliderInstances[i];slider.initialized||(slider._docReady=!0,slider._init())}return _onerror?_onerror.apply(this,arguments):!1},_ready.apply(this,arguments)}}(jQuery,window,document),window.MSViewEvents=function(type,data){this.type=type,this.data=data},MSViewEvents.SWIPE_START="swipeStart",MSViewEvents.SWIPE_END="swipeEnd",MSViewEvents.SWIPE_MOVE="swipeMove",MSViewEvents.SWIPE_CANCEL="swipeCancel",MSViewEvents.SCROLL="scroll",MSViewEvents.CHANGE_START="slideChangeStart",MSViewEvents.CHANGE_END="slideChangeEnd",function($){"use strict";window.MSBasicView=function(options){this.options={loop:!1,dir:"h",autoHeight:!1,spacing:5,mouseSwipe:!0,swipe:!0,speed:17,minSlideSpeed:2,viewNum:20,critMargin:1},$.extend(this.options,options),this.dir=this.options.dir,this.loop=this.options.loop,this.spacing=this.options.spacing,this.__width=0,this.__height=0,this.__cssProb="h"===this.dir?"left":"top",this.__offset="h"===this.dir?"offsetLeft":"offsetTop",this.__dimension="h"===this.dir?"__width":"__height",this.__translate_end=window._css3d?" translateZ(0px)":"",this.$slideCont=$("<div></div>").addClass("ms-slide-container"),this.$element=$("<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.slideChanged=!1,this.controller=new Controller(0,0,{snapping:!0,snapsize:100,paging:!0,snappingMinSpeed:this.options.minSlideSpeed,friction:(100-.5*this.options.speed)/100,endless:this.loop}),this.controller.renderCallback("h"===this.dir?this._horizUpdate:this._vertiUpdate,this),this.controller.snappingCallback(this.__snapUpdate,this),this.controller.snapCompleteCallback(this.__snapCompelet,this),averta.EventDispatcher.call(this)};var p=MSBasicView.prototype;p.__snapCompelet=function(){this.slideChanged&&(this.slideChanged=!1,this.__locateSlides(),this.start_buffer=0,this.dispatchEvent(new MSViewEvents(MSViewEvents.CHANGE_END)))},p.__snapUpdate=function(controller,snap,change){if(this.loop){var target_index=this.index+change;this.updateLoop(target_index),target_index>=this.slidesCount&&(target_index-=this.slidesCount),0>target_index&&(target_index=this.slidesCount+target_index),this.index=target_index}else{if(0>snap||snap>=this.slidesCount)return;this.index=snap}this._checkCritMargins(),window.MSBrowserInfo.mozilla&&(this.slideList[this.index].$element[0].style.marginTop="0.1px",this.currentSlide&&(this.currentSlide.$element[0].style.marginTop=""));var new_slide=this.slideList[this.index];new_slide!==this.currentSlide&&(this.currentSlide=new_slide,this.autoUpdateZIndex&&this.__updateSlidesZindex(),this.slideChanged=!0,this.dispatchEvent(new MSViewEvents(MSViewEvents.CHANGE_START)))},p._checkCritMargins=function(){if(!this.normalMode){var hlf=Math.floor(this.options.viewNum/2),inView=this.viewSlidesList.indexOf(this.slideList[this.index]),size=this[this.__dimension]+this.spacing,cm=this.options.critMargin;return this.loop?void((cm>=inView||inView>=this.viewSlidesList.length-cm)&&(size*=inView-hlf,this.__locateSlides(!1,size+this.start_buffer),this.start_buffer+=size)):void((cm>inView&&this.index>=cm||inView>=this.viewSlidesList.length-cm&&this.index<this.slidesCount-cm)&&this.__locateSlides(!1))}},p._vertiUpdate=function(controller,value){return this.__contPos=value,this.dispatchEvent(new MSViewEvents(MSViewEvents.SCROLL)),this.css3?void(this.$slideCont[0].style[window._jcsspfx+"Transform"]="translateY("+-value+"px)"+this.__translate_end):void(this.$slideCont[0].style.top=-value+"px")},p._horizUpdate=function(controller,value){return this.__contPos=value,this.dispatchEvent(new MSViewEvents(MSViewEvents.SCROLL)),this.css3?void(this.$slideCont[0].style[window._jcsspfx+"Transform"]="translateX("+-value+"px)"+this.__translate_end):void(this.$slideCont[0].style.left=-value+"px")},p.__updateViewList=function(){if(this.normalMode)return void(this.viewSlidesList=this.slides);var temp=this.viewSlidesList.slice();this.viewSlidesList=[];var l,i=0,hlf=Math.floor(this.options.viewNum/2);if(this.loop)for(;i!==this.options.viewNum;i++)this.viewSlidesList.push(this.slides[this.currentSlideLoc-hlf+i]);else{for(i=0;i!==hlf&&this.index-i!==-1;i++)this.viewSlidesList.unshift(this.slideList[this.index-i]);for(i=1;i!==hlf&&this.index+i!==this.slidesCount;i++)this.viewSlidesList.push(this.slideList[this.index+i])}for(i=0,l=temp.length;i!==l;i++)-1===this.viewSlidesList.indexOf(temp[i])&&temp[i].sleep();temp=null,this.currentSlide&&this.__updateSlidesZindex()},p.__locateSlides=function(move,start){this.__updateViewList(),start=this.loop?start||0:this.slides.indexOf(this.viewSlidesList[0])*(this[this.__dimension]+this.spacing);for(var slide,l=this.viewSlidesList.length,i=0;i!==l;i++){var pos=start+i*(this[this.__dimension]+this.spacing);slide=this.viewSlidesList[i],slide.wakeup(),slide.position=pos,slide.$element[0].style[this.__cssProb]=pos+"px"}move!==!1&&this.controller.changeTo(this.slideList[this.index].position,!1,null,null,!1)},p.__createLoopList=function(){var return_arr=[],i=0,count=this.slidesCount/2,before_count=this.slidesCount%2===0?count-1:Math.floor(count),after_count=this.slidesCount%2===0?count:Math.floor(count);for(this.currentSlideLoc=before_count,i=1;before_count>=i;++i)return_arr.unshift(this.slideList[this.index-i<0?this.slidesCount-i+this.index:this.index-i]);for(return_arr.push(this.slideList[this.index]),i=1;after_count>=i;++i)return_arr.push(this.slideList[this.index+i>=this.slidesCount?this.index+i-this.slidesCount:this.index+i]);return return_arr},p.__getSteps=function(index,target){var right=index>target?this.slidesCount-index+target:target-index,left=Math.abs(this.slidesCount-right);return left>right?right:-left},p.__pushEnd=function(){var first_slide=this.slides.shift(),last_slide=this.slides[this.slidesCount-2];if(this.slides.push(first_slide),this.normalMode){var pos=last_slide.$element[0][this.__offset]+this.spacing+this[this.__dimension];first_slide.$element[0].style[this.__cssProb]=pos+"px",first_slide.position=pos}},p.__pushStart=function(){var last_slide=this.slides.pop(),first_slide=this.slides[0];if(this.slides.unshift(last_slide),this.normalMode){var pos=first_slide.$element[0][this.__offset]-this.spacing-this[this.__dimension];last_slide.$element[0].style[this.__cssProb]=pos+"px",last_slide.position=pos}},p.__updateSlidesZindex=function(){{var slide,l=this.viewSlidesList.length;Math.floor(l/2)}if(this.loop)for(var loc=this.viewSlidesList.indexOf(this.currentSlide),i=0;i!==l;i++)slide=this.viewSlidesList[i],this.viewSlidesList[i].$element.css("z-index",loc>=i?i+1:l-i);else{for(var beforeNum=this.currentSlide.index-this.viewSlidesList[0].index,i=0;i!==l;i++)this.viewSlidesList[i].$element.css("z-index",beforeNum>=i?i+1:l-i);this.currentSlide.$element.css("z-index",l)}},p.addSlide=function(slide){slide.view=this,this.slides.push(slide),this.slideList.push(slide),this.slidesCount++},p.appendSlide=function(slide){this.$slideCont.append(slide.$element)},p.updateLoop=function(index){if(this.loop)for(var steps=this.__getSteps(this.index,index),i=0,l=Math.abs(steps);l>i;++i)0>steps?this.__pushStart():this.__pushEnd()},p.gotoSlide=function(index,fast){this.updateLoop(index),this.index=index;var target_slide=this.slideList[index];this._checkCritMargins(),this.controller.changeTo(target_slide.position,!fast,null,null,!1),target_slide!==this.currentSlide&&(this.slideChanged=!0,this.currentSlide=target_slide,this.autoUpdateZIndex&&this.__updateSlidesZindex(),this.dispatchEvent(new MSViewEvents(MSViewEvents.CHANGE_START)),fast&&this.dispatchEvent(new MSViewEvents(MSViewEvents.CHANGE_END)))},p.next=function(checkLoop){return checkLoop&&!this.loop&&this.index+1>=this.slidesCount?void this.controller.bounce(10):void this.gotoSlide(this.index+1>=this.slidesCount?0:this.index+1)},p.previous=function(checkLoop){return checkLoop&&!this.loop&&this.index-1<0?void this.controller.bounce(-10):void this.gotoSlide(this.index-1<0?this.slidesCount-1:this.index-1)},p.setupSwipe=function(){this.swipeControl=new averta.TouchSwipe(this.$element),this.swipeControl.swipeType="h"===this.dir?"horizontal":"vertical";var that=this;this.swipeControl.onSwipe="h"===this.dir?function(status){that.horizSwipeMove(status)}:function(status){that.vertSwipeMove(status)}},p.vertSwipeMove=function(status){var phase=status.phase;if("start"===phase)this.controller.stop(),this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_START,status));else if("move"===phase&&(!this.loop||Math.abs(this.currentSlide.position-this.controller.value+status.moveY)<this.cont_size/2))this.controller.drag(status.moveY),this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_MOVE,status));else if("end"===phase||"cancel"===phase){var speed=status.distanceY/status.duration*50/3,speedh=Math.abs(status.distanceY/status.duration*50/3);Math.abs(speed)>.1&&Math.abs(speed)>=speedh?(this.controller.push(-speed),speed>this.controller.options.snappingMinSpeed&&this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_END,status))):(this.controller.cancel(),this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_CANCEL,status)))}},p.horizSwipeMove=function(status){var phase=status.phase;if("start"===phase)this.controller.stop(),this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_START,status));else if("move"===phase&&(!this.loop||Math.abs(this.currentSlide.position-this.controller.value+status.moveX)<this.cont_size/2))this.controller.drag(status.moveX),this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_MOVE,status));else if("end"===phase||"cancel"===phase){var speed=status.distanceX/status.duration*50/3,speedv=Math.abs(status.distanceY/status.duration*50/3);Math.abs(speed)>.1&&Math.abs(speed)>=speedv?(this.controller.push(-speed),speed>this.controller.options.snappingMinSpeed&&this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_END,status))):(this.controller.cancel(),this.dispatchEvent(new MSViewEvents(MSViewEvents.SWIPE_CANCEL,status)))}},p.setSize=function(width,height,hard){if(this.lastWidth!==width||height!==this.lastHeight||hard){this.$element.width(width).height(height);for(var i=0;i<this.slidesCount;++i)this.slides[i].setSize(width,height,hard);this.__width=width,this.__height=height,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=width,this.lastHeight=height)}},p.create=function(index){this.__created=!0,this.index=Math.min(index||0,this.slidesCount-1),this.lastSnap=this.index,this.loop&&(this.slides=this.__createLoopList()),this.normalMode=this.slidesCount<=this.options.viewNum;for(var i=0;i<this.slidesCount;++i)this.slides[i].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()
|
11 |
+
},p.destroy=function(){if(this.__created){for(var i=0;i<this.slidesCount;++i)this.slides[i].destroy();this.slides=null,this.slideList=null,this.$element.remove(),this.controller.destroy(),this.controller=null}},averta.EventDispatcher.extend(p),MSSlideController.registerView("basic",MSBasicView)}(jQuery),function(){"use strict";window.MSFadeView=function(options){MSBasicView.call(this,options),this.$element.removeClass("ms-basic-view").addClass("ms-fade-view"),this.controller.renderCallback(this.__update,this)},MSFadeView.extend(MSBasicView);var p=MSFadeView.prototype,_super=MSBasicView.prototype;p.__update=function(controller,value){for(var slide,distance,cont_scroll=-value,i=0;i<this.slidesCount;++i)slide=this.slideList[i],distance=-cont_scroll-slide.position,this.__updateSlides(slide,distance)},p.__updateSlides=function(slide,distance){var value=Math.abs(distance/this[this.__dimension]);0>=1-value?slide.$element.fadeTo(0,0).css("visibility","hidden"):slide.$element.fadeTo(0,1-value).css("visibility","")},p.__locateSlides=function(move,start){this.__updateViewList(),start=this.loop?start||0:this.slides.indexOf(this.viewSlidesList[0])*(this[this.__dimension]+this.spacing);for(var slide,l=this.viewSlidesList.length,i=0;i!==l;i++){var pos=start+i*this[this.__dimension];slide=this.viewSlidesList[i],slide.wakeup(),slide.position=pos}move!==!1&&this.controller.changeTo(this.slideList[this.index].position,!1,null,null,!1)},p.__pushEnd=function(){var first_slide=this.slides.shift(),last_slide=this.slides[this.slidesCount-2];this.slides.push(first_slide),first_slide.position=last_slide.position+this[this.__dimension]},p.__pushStart=function(){var last_slide=this.slides.pop(),first_slide=this.slides[0];this.slides.unshift(last_slide),last_slide.position=first_slide.position-this[this.__dimension]},p.create=function(index){_super.create.call(this,index),this.spacing=0,this.controller.options.minValidDist=10},MSSlideController.registerView("fade",MSFadeView)}(jQuery),function($){"use strict";var BaseControl=function(){this.options={prefix:"ms-",autohide:!0,overVideo:!0,customClass:null}},p=BaseControl.prototype;p.slideAction=function(){},p.setup=function(){this.cont=this.options.insertTo?$(this.options.insertTo):this.slider.$controlsCont,this.options.overVideo||this._hideOnvideoStarts()},p.checkHideUnder=function(){this.options.hideUnder&&(this.needsRealign=!this.options.insetTo&&("left"===this.options.align||"right"===this.options.align)&&this.options.inset===!1,$(window).bind("resize",{that:this},this.onResize),this.onResize())},p.onResize=function(event){var that=event&&event.data.that||this,w=window.innerWidth;w<=that.options.hideUnder&&!that.detached?(that.hide(!0),that.detached=!0,that.onDetach()):w>=that.options.hideUnder&&that.detached&&(that.detached=!1,that.visible(),that.onAppend())},p.create=function(){this.options.autohide&&(this.hide(!0),this.slider.$controlsCont.mouseenter($.proxy(this._onMouseEnter,this)).mouseleave($.proxy(this._onMouseLeave,this)).mousedown($.proxy(this._onMouseDown,this)),this.$element&&this.$element.mouseenter($.proxy(this._onMouseEnter,this)).mouseleave($.proxy(this._onMouseLeave,this)).mousedown($.proxy(this._onMouseDown,this)),$(document).mouseup($.proxy(this._onMouseUp,this))),this.options.align&&this.$element.addClass("ms-align-"+this.options.align),this.options.customClass&&this.$element&&this.$element.addClass(this.options.customClass)},p._onMouseEnter=function(){this._disableAH||this.mdown||this.visible(),this.mleave=!1},p._onMouseLeave=function(){this.mdown||this.hide(),this.mleave=!0},p._onMouseDown=function(){this.mdown=!0},p._onMouseUp=function(){this.mdown&&this.mleave&&this.hide(),this.mdown=!1},p.onAppend=function(){this.needsRealign&&this.slider._realignControls()},p.onDetach=function(){this.needsRealign&&this.slider._realignControls()},p._hideOnvideoStarts=function(){var that=this;this.slider.api.addEventListener(MSSliderEvent.VIDEO_PLAY,function(){that._disableAH=!0,that.hide()}),this.slider.api.addEventListener(MSSliderEvent.VIDEO_CLOSE,function(){that._disableAH=!1,that.visible()})},p.hide=function(fast){if(fast)this.$element.css("opacity",0),this.$element.css("display","none");else{clearTimeout(this.hideTo);var $element=this.$element;this.hideTo=setTimeout(function(){CTween.fadeOut($element,400,!1)},20)}this.$element.addClass("ms-ctrl-hide")},p.visible=function(){this.detached||(clearTimeout(this.hideTo),this.$element.css("display",""),CTween.fadeIn(this.$element,400,!1),this.$element.removeClass("ms-ctrl-hide"))},p.destroy=function(){this.options&&this.options.hideUnder&&$(window).unbind("resize",this.onResize)},window.BaseControl=BaseControl}(jQuery),function($){"use strict";var MSArrows=function(options){BaseControl.call(this),$.extend(this.options,options)};MSArrows.extend(BaseControl);var p=MSArrows.prototype,_super=BaseControl.prototype;p.setup=function(){var that=this;this.$next=$("<div></div>").addClass(this.options.prefix+"nav-next").bind("click",function(){that.slider.api.next(!0)}),this.$prev=$("<div></div>").addClass(this.options.prefix+"nav-prev").bind("click",function(){that.slider.api.previous(!0)}),_super.setup.call(this),this.cont.append(this.$next),this.cont.append(this.$prev),this.checkHideUnder()},p.hide=function(fast){return fast?(this.$prev.css("opacity",0).css("display","none"),void this.$next.css("opacity",0).css("display","none")):(CTween.fadeOut(this.$prev,400,!1),CTween.fadeOut(this.$next,400,!1),this.$prev.addClass("ms-ctrl-hide"),void this.$next.addClass("ms-ctrl-hide"))},p.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",""))},p.destroy=function(){_super.destroy(),this.$next.remove(),this.$prev.remove()},window.MSArrows=MSArrows,MSSlideController.registerControl("arrows",MSArrows)}(jQuery),function($){"use strict";var MSThumblist=function(options){BaseControl.call(this),this.options.dir="h",this.options.wheel="v"===options.dir,this.options.arrows=!1,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",this.options.hover=!1,$.extend(this.options,options),this.thumbs=[],this.index_count=0,this.__dimen="h"===this.options.dir?"width":"height",this.__alignsize="h"===this.options.dir?"height":"width",this.__jdimen="h"===this.options.dir?"outerWidth":"outerHeight",this.__pos="h"===this.options.dir?"left":"top",this.click_enable=!0};MSThumblist.extend(BaseControl);var p=MSThumblist.prototype,_super=BaseControl.prototype;p.setup=function(){if(this.$element=$("<div></div>").addClass(this.options.prefix+"thumb-list"),"tabs"===this.options.type&&this.$element.addClass(this.options.prefix+"tabs"),this.$element.addClass("ms-dir-"+this.options.dir),_super.setup.call(this),this.$element.appendTo(this.slider.$controlsCont===this.cont?this.slider.$element:this.cont),this.$thumbscont=$("<div></div>").addClass("ms-thumbs-cont").appendTo(this.$element),this.options.arrows){var that=this;this.$fwd=$("<div></div>").addClass("ms-thumblist-fwd").appendTo(this.$element).click(function(){that.controller.push(-15)}),this.$bwd=$("<div></div>").addClass("ms-thumblist-bwd").appendTo(this.$element).click(function(){that.controller.push(15)})}if(!this.options.insetTo&&this.options.align){var align=this.options.align;this.options.inset?this.$element.css(align,this.options.margin):"top"===align?this.$element.detach().prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):"bottom"===align?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align()),"v"===this.options.dir?this.$element.width(this.options.width):this.$element.height(this.options.height)}this.checkHideUnder()},p.align=function(){if(!this.detached){var align=this.options.align,pos=this.slider.reserveSpace(align,this.options[this.__alignsize]+2*this.options.margin);this.$element.css(align,-pos-this.options[this.__alignsize]-this.options.margin)}},p.slideAction=function(slide){var thumb_ele=slide.$element.find(".ms-thumb"),that=this,thumb_frame=$("<div></div>").addClass("ms-thumb-frame").append(thumb_ele).append($('<div class="ms-thumb-ol"></div>')).bind(this.options.hover?"hover":"click",function(){that.changeSlide(thumb_frame)});if(this.options.align&&thumb_frame.width(this.options.width-("v"===this.options.dir&&"tabs"===this.options.type?12:0)).height(this.options.height).css("margin-"+("v"===this.options.dir?"bottom":"right"),this.options.space),thumb_frame[0].index=this.index_count++,this.$thumbscont.append(thumb_frame),this.options.fillMode&&thumb_ele.is("img")){var aligner=new window.MSAligner(this.options.fillMode,thumb_frame,thumb_ele);thumb_ele[0].aligner=aligner,thumb_ele.one("load",function(){var $this=$(this);$this[0].aligner.init($this.width(),$this.height()),$this[0].aligner.align()}).each($.jqLoadFix)}window.MSBrowserInfo.msie&&thumb_ele.on("dragstart",function(event){event.preventDefault()}),this.thumbs.push(thumb_frame)},p.create=function(){_super.create.call(this),this.__translate_end=window._css3d?" translateZ(0px)":"",this.controller=new Controller(0,0,{snappingMinSpeed:2,friction:(100-.5*this.options.speed)/100}),this.controller.renderCallback("h"===this.options.dir?this._hMove:this._vMove,this);var that=this;this.resize_listener=function(){that.__resize()},$(window).bind("resize",this.resize_listener),this.thumbSize=this.thumbs[0][this.__jdimen](!0),this.setupSwipe(),this.__resize();var that=this;this.options.wheel&&(this.wheellistener=function(event){var e=window.event||event.orginalEvent||event,delta=Math.max(-1,Math.min(1,e.wheelDelta||-e.detail));return that.controller.push(10*-delta),!1},window.MSBrowserInfo.mozilla?this.$element[0].addEventListener("DOMMouseScroll",this.wheellistener):this.$element.bind("mousewheel",this.wheellistener)),this.slider.api.addEventListener(MSSliderEvent.CHANGE_START,this.update,this),this.slider.api.addEventListener(MSSliderEvent.HARD_UPDATE,this.realignThumbs,this),this.cindex=this.slider.api.index(),this.select(this.thumbs[this.cindex])},p._hMove=function(controller,value){return this.__contPos=value,window._cssanim?void(this.$thumbscont[0].style[window._jcsspfx+"Transform"]="translateX("+-value+"px)"+this.__translate_end):void(this.$thumbscont[0].style.left=-value+"px")},p._vMove=function(controller,value){return this.__contPos=value,window._cssanim?void(this.$thumbscont[0].style[window._jcsspfx+"Transform"]="translateY("+-value+"px)"+this.__translate_end):void(this.$thumbscont[0].style.top=-value+"px")},p.setupSwipe=function(){this.swipeControl=new averta.TouchSwipe(this.$element),this.swipeControl.swipeType="h"===this.options.dir?"horizontal":"vertical";var that=this;this.swipeControl.onSwipe="h"===this.options.dir?function(status){that.horizSwipeMove(status)}:function(status){that.vertSwipeMove(status)}},p.vertSwipeMove=function(status){if(!this.dTouch){var phase=status.phase;if("start"===phase)this.controller.stop();else if("move"===phase)this.controller.drag(status.moveY);else if("end"===phase||"cancel"===phase){var speed=Math.abs(status.distanceY/status.duration*50/3);speed>.1?this.controller.push(-status.distanceY/status.duration*50/3):(this.click_enable=!0,this.controller.cancel())}}},p.horizSwipeMove=function(status){if(!this.dTouch){var phase=status.phase;if("start"===phase)this.controller.stop(),this.click_enable=!1;else if("move"===phase)this.controller.drag(status.moveX);else if("end"===phase||"cancel"===phase){var speed=Math.abs(status.distanceX/status.duration*50/3);speed>.1?this.controller.push(-status.distanceX/status.duration*50/3):(this.click_enable=!0,this.controller.cancel())}}},p.update=function(){var nindex=this.slider.api.index();this.cindex!==nindex&&(null!=this.cindex&&this.unselect(this.thumbs[this.cindex]),this.cindex=nindex,this.select(this.thumbs[this.cindex]),this.dTouch||this.updateThumbscroll())},p.realignThumbs=function(){this.$element.find(".ms-thumb").each(function(index,thumb){thumb.aligner&&thumb.aligner.align()})},p.updateThumbscroll=function(){var pos=this.thumbSize*this.cindex;if(0/0==this.controller.value&&(this.controller.value=0),pos-this.controller.value<0)return void this.controller.gotoSnap(this.cindex,!0);if(pos+this.thumbSize-this.controller.value>this.$element[this.__dimen]()){var first_snap=this.cindex-Math.floor(this.$element[this.__dimen]()/this.thumbSize)+1;return void this.controller.gotoSnap(first_snap,!0)}},p.changeSlide=function(thumb){this.click_enable&&this.cindex!==thumb[0].index&&this.slider.api.gotoSlide(thumb[0].index)},p.unselect=function(ele){ele.removeClass("ms-thumb-frame-selected")},p.select=function(ele){ele.addClass("ms-thumb-frame-selected")},p.__resize=function(){var size=this.$element[this.__dimen]();if(this.ls!==size){this.ls=size,this.thumbSize=this.thumbs[0][this.__jdimen](!0);var len=this.slider.api.count()*this.thumbSize;this.$thumbscont[0].style[this.__dimen]=len+"px",size>=len?(this.dTouch=!0,this.controller.stop(),this.$thumbscont[0].style[this.__pos]=.5*(size-len)+"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=len-size,this.controller.options.snapsize=this.thumbSize,this.updateThumbscroll())}},p.destroy=function(){_super.destroy(),this.options.wheel&&(window.MSBrowserInfo.mozilla?this.$element[0].removeEventListener("DOMMouseScroll",this.wheellistener):this.$element.unbind("mousewheel",this.wheellistener),this.wheellistener=null),$(window).unbind("resize",this.resize_listener),this.$element.remove(),this.slider.api.removeEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.slider.api.removeEventListener(MSSliderEvent.CHANGE_START,this.update,this)},window.MSThumblist=MSThumblist,MSSlideController.registerControl("thumblist",MSThumblist)}(jQuery),function($){"use strict";var MSBulltes=function(options){BaseControl.call(this),this.options.dir="h",this.options.inset=!0,this.options.margin=10,this.options.space=10,$.extend(this.options,options),this.bullets=[]};MSBulltes.extend(BaseControl);var p=MSBulltes.prototype,_super=BaseControl.prototype;p.setup=function(){if(_super.setup.call(this),this.$element=$("<div></div>").addClass(this.options.prefix+"bullets").addClass("ms-dir-"+this.options.dir).appendTo(this.cont),this.$bullet_cont=$("<div></div>").addClass("ms-bullets-count").appendTo(this.$element),!this.options.insetTo&&this.options.align){var align=this.options.align;this.options.inset&&this.$element.css(align,this.options.margin)}this.checkHideUnder()},p.create=function(){_super.create.call(this);var that=this;this.slider.api.addEventListener(MSSliderEvent.CHANGE_START,this.update,this),this.cindex=this.slider.api.index();for(var i=0;i<this.slider.api.count();++i){var bullet=$("<div></div>").addClass("ms-bullet");bullet[0].index=i,bullet.on("click",function(){that.changeSlide(this.index)}),this.$bullet_cont.append(bullet),this.bullets.push(bullet),"h"===this.options.dir?bullet.css("margin",this.options.space/2):bullet.css("margin",this.options.space)}"h"===this.options.dir?this.$element.width(bullet.outerWidth(!0)*this.slider.api.count()):this.$element.css("margin-top",-this.$element.outerHeight(!0)/2),this.select(this.bullets[this.cindex])},p.update=function(){var nindex=this.slider.api.index();this.cindex!==nindex&&(null!=this.cindex&&this.unselect(this.bullets[this.cindex]),this.cindex=nindex,this.select(this.bullets[this.cindex]))},p.changeSlide=function(index){this.cindex!==index&&this.slider.api.gotoSlide(index)},p.unselect=function(ele){ele.removeClass("ms-bullet-selected")},p.select=function(ele){ele.addClass("ms-bullet-selected")},p.destroy=function(){_super.destroy(),this.slider.api.removeEventListener(MSSliderEvent.CHANGE_START,this.update,this),this.$element.remove()},window.MSBulltes=MSBulltes,MSSlideController.registerControl("bullets",MSBulltes)}(jQuery),function($){"use strict";var MSScrollbar=function(options){BaseControl.call(this),this.options.dir="h",this.options.autohide=!0,this.options.width=4,this.options.color="#3D3D3D",this.options.margin=10,$.extend(this.options,options),this.__dimen="h"===this.options.dir?"width":"height",this.__jdimen="h"===this.options.dir?"outerWidth":"outerHeight",this.__pos="h"===this.options.dir?"left":"top",this.__translate_end=window._css3d?" translateZ(0px)":"",this.__translate_start="h"===this.options.dir?" translateX(":"translateY("};MSScrollbar.extend(BaseControl);var p=MSScrollbar.prototype,_super=BaseControl.prototype;p.setup=function(){if(this.$element=$("<div></div>").addClass(this.options.prefix+"sbar").addClass("ms-dir-"+this.options.dir),_super.setup.call(this),this.$element.appendTo(this.slider.$controlsCont===this.cont?this.slider.$element:this.cont),this.$bar=$("<div></div>").addClass(this.options.prefix+"bar").appendTo(this.$element),this.slider.options.loop&&(this.disable=!0,this.$element.remove()),"v"===this.options.dir?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.$element.css("v"===this.options.dir?{right:"auto",left:"auto"}:{top:"auto",bottom:"auto"});var align=this.options.align;this.options.inset?this.$element.css(align,this.options.margin):"top"===align?this.$element.prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):"bottom"===align?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align())}this.checkHideUnder()},p.align=function(){if(!this.detached){var align=this.options.align,pos=this.slider.reserveSpace(align,2*this.options.margin+this.options.width);this.$element.css(align,-pos-this.options.margin-this.options.width)}},p.create=function(){if(!this.disable){this.scroller=this.slider.api.scroller,this.slider.api.view.addEventListener(MSViewEvents.SCROLL,this._update,this),this.slider.api.addEventListener(MSSliderEvent.RESIZE,this._resize,this),this._resize(),this.options.autohide&&this.$bar.css("opacity","0")}},p._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)},p._update=function(){var value=this.scroller.value*(this.vdimen-this.bar_dimen)/this.scroller._max_value;if(this.lvalue!==value){if(this.lvalue=value,this.options.autohide){clearTimeout(this.hto),this.$bar.css("opacity","1");var that=this;this.hto=setTimeout(function(){that.$bar.css("opacity","0")},150)}return 0>value?void(this.$bar[0].style[this.__dimen]=this.bar_dimen+value+"px"):(value>this.vdimen-this.bar_dimen&&(this.$bar[0].style[this.__dimen]=this.vdimen-value+"px"),window._cssanim?void(this.$bar[0].style[window._jcsspfx+"Transform"]=this.__translate_start+value+"px)"+this.__translate_end):void(this.$bar[0].style[this.__pos]=value+"px"))}},p.destroy=function(){_super.destroy(),this.slider.api.view.removeEventListener(MSViewEvents.SCROLL,this._update,this),this.slider.api.removeEventListener(MSSliderEvent.RESIZE,this._resize,this),this.slider.api.removeEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.$element.remove()},window.MSScrollbar=MSScrollbar,MSSlideController.registerControl("scrollbar",MSScrollbar)}(jQuery),function($){"use strict";var MSTimerbar=function(options){BaseControl.call(this),this.options.autohide=!1,this.options.width=4,this.options.color="#FFFFFF",this.options.inset=!0,this.options.margin=0,$.extend(this.options,options)};MSTimerbar.extend(BaseControl);var p=MSTimerbar.prototype,_super=BaseControl.prototype;p.setup=function(){if(_super.setup.call(this),this.$element=$("<div></div>").addClass(this.options.prefix+"timerbar"),_super.setup.call(this),this.$element.appendTo(this.slider.$controlsCont===this.cont?this.slider.$element:this.cont),this.$bar=$("<div></div>").addClass("ms-time-bar").appendTo(this.$element),"v"===this.options.dir?(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"});var align=this.options.align;this.options.inset?this.$element.css(align,this.options.margin):"top"===align?this.$element.prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):"bottom"===align?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align())}this.checkHideUnder()},p.align=function(){if(!this.detached){var align=this.options.align,pos=this.slider.reserveSpace(align,2*this.options.margin+this.options.width);this.$element.css(align,-pos-this.options.margin-this.options.width)}},p.create=function(){_super.create.call(this),this.slider.api.addEventListener(MSSliderEvent.WAITING,this._update,this),this._update()},p._update=function(){this.$bar[0].style.width=this.slider.api._delayProgress+"%"},p.destroy=function(){_super.destroy(),this.slider.api.removeEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.slider.api.removeEventListener(MSSliderEvent.WAITING,this._update,this),this.$element.remove()},window.MSTimerbar=MSTimerbar,MSSlideController.registerControl("timebar",MSTimerbar)}(jQuery),function($){"use strict";var MSCircleTimer=function(options){BaseControl.call(this),this.options.color="#A2A2A2",this.options.stroke=10,this.options.radius=4,this.options.autohide=!1,$.extend(this.options,options)};MSCircleTimer.extend(BaseControl);var p=MSCircleTimer.prototype,_super=BaseControl.prototype;p.setup=function(){return _super.setup.call(this),this.$element=$("<div></div>").addClass(this.options.prefix+"ctimer").appendTo(this.cont),this.$canvas=$("<canvas></canvas>").addClass("ms-ctimer-canvas").appendTo(this.$element),this.$bar=$("<div></div>").addClass("ms-ctimer-bullet").appendTo(this.$element),this.$canvas[0].getContext?(this.ctx=this.$canvas[0].getContext("2d"),this.prog=0,this.__w=2*(this.options.radius+this.options.stroke/2),this.$canvas[0].width=this.__w,this.$canvas[0].height=this.__w,void this.checkHideUnder()):(this.destroy(),void(this.disable=!0))},p.create=function(){if(!this.disable){_super.create.call(this),this.slider.api.addEventListener(MSSliderEvent.WAITING,this._update,this);var that=this;this.$element.click(function(){that.slider.api.paused?that.slider.api.resume():that.slider.api.pause()}),this._update()}},p._update=function(){var that=this;$(this).stop(!0).animate({prog:.01*this.slider.api._delayProgress},{duration:200,step:function(){that._draw()}})},p._draw=function(){this.ctx.clearRect(0,0,this.__w,this.__w),this.ctx.beginPath(),this.ctx.arc(.5*this.__w,.5*this.__w,this.options.radius,1.5*Math.PI,1.5*Math.PI+2*Math.PI*this.prog,!1),this.ctx.strokeStyle=this.options.color,this.ctx.lineWidth=this.options.stroke,this.ctx.stroke()},p.destroy=function(){_super.destroy(),this.disable||($(this).stop(!0),this.slider.api.removeEventListener(MSSliderEvent.WAITING,this._update,this),this.$element.remove())},window.MSCircleTimer=MSCircleTimer,MSSlideController.registerControl("circletimer",MSCircleTimer)}(jQuery),function($){"use strict";window.MSSlideInfo=function(options){BaseControl.call(this,options),this.options.autohide=!1,this.options.align=null,this.options.inset=!1,this.options.margin=10,this.options.size=100,this.options.dir="h",$.extend(this.options,options),this.data_list=[]},MSSlideInfo.fadeDuratation=400,MSSlideInfo.extend(BaseControl);var p=MSSlideInfo.prototype,_super=BaseControl.prototype;p.setup=function(){if(this.$element=$("<div></div>").addClass(this.options.prefix+"slide-info").addClass("ms-dir-"+this.options.dir),_super.setup.call(this),this.$element.appendTo(this.slider.$controlsCont===this.cont?this.slider.$element:this.cont),!this.options.insetTo&&this.options.align){var align=this.options.align;this.options.inset?this.$element.css(align,this.options.margin):"top"===align?this.$element.prependTo(this.slider.$element).css({"margin-bottom":this.options.margin,position:"relative"}):"bottom"===align?this.$element.css({"margin-top":this.options.margin,position:"relative"}):(this.slider.api.addEventListener(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.align()),"v"===this.options.dir?this.$element.width(this.options.size):this.$element.css("min-height",this.options.size)}this.checkHideUnder()},p.align=function(){if(!this.detached){var align=this.options.align,pos=this.slider.reserveSpace(align,this.options.size+2*this.options.margin);this.$element.css(align,-pos-this.options.size-this.options.margin)}},p.slideAction=function(slide){var info_ele=$(slide.$element.find(".ms-info"));info_ele.detach(),this.data_list[slide.index]=info_ele},p.create=function(){_super.create.call(this),this.slider.api.addEventListener(MSSliderEvent.CHANGE_START,this.update,this),this.cindex=this.slider.api.index(),this.switchEle(this.data_list[this.cindex])},p.update=function(){var nindex=this.slider.api.index();this.switchEle(this.data_list[nindex]),this.cindex=nindex},p.switchEle=function(ele){if(this.current_ele){this.current_ele[0].tween&&this.current_ele[0].tween.stop(!0),this.current_ele[0].tween=CTween.animate(this.current_ele,MSSlideInfo.fadeDuratation,{opacity:0},{complete:function(){this.detach(),this[0].tween=null,ele.css("position","relative")},target:this.current_ele}),ele.css("position","absolute")}this.__show(ele)},p.__show=function(ele){ele.appendTo(this.$element).css("opacity","0"),this.current_ele&&ele.height(Math.max(ele.height(),this.current_ele.height())),clearTimeout(this.tou),this.tou=setTimeout(function(){CTween.fadeIn(ele,MSSlideInfo.fadeDuratation),ele.css("height","")},MSSlideInfo.fadeDuratation),ele[0].tween&&ele[0].tween.stop(!0),this.current_ele=ele},p.destroy=function(){_super.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(MSSliderEvent.RESERVED_SPACE_CHANGE,this.align,this),this.slider.api.removeEventListener(MSSliderEvent.CHANGE_START,this.update,this)},MSSlideController.registerControl("slideinfo",MSSlideInfo)}(jQuery),function($,document,window){var PId=0,$window=$(window),$doc=$(document);if(window.MasterSlider){var StartOnAppear=function(slider){this.PId=PId++,this.slider=slider,this.$slider=slider.$element,this.slider.options.startOnAppear&&(slider.holdOn(),$doc.ready($.proxy(this.init,this)))};StartOnAppear.name="MSStartOnAppear";var p=StartOnAppear.prototype;p.init=function(){this.slider.api;$window.on("scroll.soa"+this.PId,$.proxy(this._onScroll,this)).trigger("scroll")},p._onScroll=function(){var vpBottom=$window.scrollTop()+$window.height(),top=this.$slider.offset().top;vpBottom>top&&($window.off("scroll.soa"+this.PId),this.slider.release())},p.destroy=function(){},MasterSlider.registerPlugin(StartOnAppear)}}(jQuery,document,window),function($,window){"use strict";if(window.MSReady)for(var i=0,l=MSReady.length;i!==l;i++)MSReady[i].call(null,$)}(jQuery,window,document),function($){$(window).on("vc_reload",function(){if(window.MSReady)for(var i=0,l=MSReady.length;i!==l;i++)MSReady[i].call(null,$)}),window.msCli=function(f){f=f||"pause";var m=masterslider_instances;for(var i in m)m[i].api[f]()}}(jQuery);
|