realslider 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +25 -0
- data/lib/realslider.rb +6 -0
- data/lib/realslider/engine.rb +4 -0
- data/lib/realslider/version.rb +3 -0
- data/vendor/assets/javascripts/realslider.js +115 -0
- data/vendor/assets/stylesheets/blank.gif +0 -0
- data/vendor/assets/stylesheets/grab.png +0 -0
- data/vendor/assets/stylesheets/grabbing.png +0 -0
- data/vendor/assets/stylesheets/realslider.css +250 -0
- data/vendor/assets/stylesheets/rs-default.css +467 -0
- data/vendor/assets/stylesheets/rs-default.png +0 -0
- metadata +83 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: c654b0aa0447d9feebf8b992a8f48ee7f993cbd3
|
|
4
|
+
data.tar.gz: 72cf00e2b93ee5c9536ab0985f8547c531b5fc36
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 2f8611b4fc46ccf7e8a304505a3c4c94f9d5db04eff86d79518d8c73ebaa79c301a23c8e8b72ff2868897f90b02ea3cdcde9ecf106509d5e5a838dd72eaa9ac9
|
|
7
|
+
data.tar.gz: 3cac1817608fc83fb804f47515a2e9f918ed4576c7cd58bf7866560c093cef6113a8819a681a9f025515f3f8130cbec7667c0d1dc647447b5634b4eebf9c6175
|
data/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Realslider
|
|
2
|
+
|
|
3
|
+
Gema slider privada, (no la uses) (es enserio)
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Add this line to your application's Gemfile:
|
|
8
|
+
|
|
9
|
+
#gem 'realslider'
|
|
10
|
+
|
|
11
|
+
And then execute:
|
|
12
|
+
|
|
13
|
+
$ bundle
|
|
14
|
+
|
|
15
|
+
Or install it yourself as:
|
|
16
|
+
|
|
17
|
+
$ gem install othergem
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
Really... dont use it, it will kill your rails app
|
|
22
|
+
|
|
23
|
+
## Contributing
|
|
24
|
+
|
|
25
|
+
1. Dont Fork it
|
data/lib/realslider.rb
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
(function(l){function v(b,f){var c=navigator.userAgent.toLowerCase(),g=l.browser,a=this,e=g.webkit||g.chrome;a.isIPAD=c.match(/(ipad)/);for(var d=document.createElement("div").style,j=["webkit","Moz","ms","O"],h="",k=0,m,c=0;c<j.length;c++)m=j[c],!h&&m+"Transform"in d&&(h=m),m=m.toLowerCase(),window.requestAnimationFrame||(window.requestAnimationFrame=window[m+"RequestAnimationFrame"],window.cancelAnimationFrame=window[m+"CancelAnimationFrame"]||window[m+"CancelRequestAnimationFrame"]);window.requestAnimationFrame||
|
|
2
|
+
(window.requestAnimationFrame=function(a){var b=(new Date).getTime(),c=Math.max(0,16-(b-k)),d=window.setTimeout(function(){a(b+c)},c);k=b+c;return d});window.cancelAnimationFrame||(window.cancelAnimationFrame=function(a){clearTimeout(a)});a.slider=l(b);a.ev=l(a);a._a=l(document);a.st=l.extend({},l.fn.royalSlider.defaults,f);a._b=a.st.transitionSpeed;a._c=0;if(a.st.allowCSS3&&(!e||a.st.allowCSS3OnWebkit))c=h+(h?"T":"t"),a._d=c+"ransform"in d&&c+"ransition"in d,a._d&&(a._e=h+(h?"P":"p")+"erspective"in
|
|
3
|
+
d);h=h.toLowerCase();a._f="-"+h+"-";a._g="vertical"===a.st.slidesOrientation?!1:!0;a._h=a._g?"left":"top";a._i=a._g?"width":"height";a._j=-1;a._k="fade"===a.st.transitionType?!1:!0;a._k||(a.st.sliderDrag=!1,a._l=10);a._m="z-index:0; display:none; opacity:0;";a._n=0;a._o=0;a._p=0;l.each(l.rsModules,function(b,c){c.call(a)});a.slides=[];a._q=0;(a.st.slides?l(a.st.slides):a.slider.children().detach()).each(function(){a._r(this,!0)});a.st.randomizeSlides&&a.slides.sort(function(){return 0.5-Math.random()});
|
|
4
|
+
a.numSlides=a.slides.length;a._s();a.st.startSlideId?a.st.startSlideId>a.numSlides-1&&(a.st.startSlideId=a.numSlides-1):a.st.startSlideId=0;a.staticSlideId=a.currSlideId=a._t=a.st.startSlideId;a.currSlide=a.slides[a.currSlideId];a._u=0;a.msTouch=!1;a.slider.addClass((a._g?"rsHor":"rsVer")+(a._k?"":" rsFade"));d='<div class="rsOverflow"><div class="rsContainer">';a.slidesSpacing=a.st.slidesSpacing;a._v=(a._g?a.slider.width():a.slider.height())+a.st.slidesSpacing;a._w=Boolean(0<a._x);1>=a.numSlides&&
|
|
5
|
+
(a._y=!1);a._z=a._y&&a._k?2===a.numSlides?1:2:0;a._a1=6>a.numSlides?a.numSlides:6;a._b1=0;a._c1=0;a.slidesJQ=[];for(c=0;c<a.numSlides;c++)a.slidesJQ.push(l('<div style="'+(a._k?"":c!==a.currSlideId?a._m:"z-index:0;")+'" class="rsSlide "></div>'));a._d1=d=l(d+"</div></div>");c=function(){a.st.sliderDrag&&(a._e1=!0,g.msie||g.opera?a._f1=a._g1="move":g.mozilla?(a._f1="-moz-grab",a._g1="-moz-grabbing"):e&&-1!=navigator.platform.indexOf("Mac")&&(a._f1="-webkit-grab",a._g1="-webkit-grabbing"),a._h1())};
|
|
6
|
+
h=function(b,c,d,e,f){a._i1=b+c+".rs";a._j1=b+d+".rs";a._k1=b+e+".rs";f&&(a._l1=b+f+".rs")};a.msEnabled=window.navigator.msPointerEnabled;a.msEnabled?(a.msTouch=Boolean(1<window.navigator.msMaxTouchPoints),a.hasTouch=!1,a._m1=0.2,h("MSPointer","Down","Move","Up","Cancel"),c()):"ontouchstart"in window||"createTouch"in document?(a.hasTouch=!0,h("touch","start","move","end","cancel"),a._m1=0.5,a.st.sliderTouch&&(a._e1=!0)):(a.hasTouch=!1,a._m1=0.2,c(),h("mouse","down","move","up","up"));a.slider.html(d);
|
|
7
|
+
a._n1=a.st.controlsInside?a._d1:a.slider;a._o1=a._d1.children(".rsContainer");a.msEnabled&&a._o1.css("-ms-touch-action",a._g?"pan-y":"pan-x");a._p1=l('<div class="rsPreloader"></div>');c=a._o1.children(".rsSlide");a._q1=a.slidesJQ[a.currSlideId];a._r1=0;a._d?(a._s1="transition-property",a._t1="transition-duration",a._u1="transition-timing-function",a._v1=a._w1=a._f+"transform",a._e?(e&&a.slider.addClass("rsWebkit3d"),a._x1="translate3d(",a._y1="px, ",a._z1="px, 0px)"):(a._x1="translate(",a._y1="px, ",
|
|
8
|
+
a._z1="px)"),a._k?a._o1[a._f+a._s1]=a._f+"transform":(d={},d[a._f+a._s1]="opacity",d[a._f+a._t1]=a.st.transitionSpeed+"ms",d[a._f+a._u1]=a.st.css3easeInOut,c.css(d))):(a._w1="left",a._v1="top");var n;l(window).on("resize.rs",function(){n&&clearTimeout(n);n=setTimeout(function(){a.updateSliderSize()},50)});a.ev.trigger("rsAfterPropsSetup");a.updateSliderSize();a.st.keyboardNavEnabled&&a._a2();if(a.st.arrowsNavHideOnTouch&&(a.hasTouch||a.msTouch))a.st.arrowsNav=!1;a.st.arrowsNav&&(c=a._n1,l('<div class="rsArrow rsArrowLeft"><div class="rsArrowIcn"></div></div><div class="rsArrow rsArrowRight"><div class="rsArrowIcn"></div></div>').appendTo(c),
|
|
9
|
+
a._b2=c.children(".rsArrowLeft").click(function(b){b.preventDefault();a.prev()}),a._c2=c.children(".rsArrowRight").click(function(b){b.preventDefault();a.next()}),a.st.arrowsNavAutoHide&&!a.hasTouch&&(a._b2.addClass("rsHidden"),a._c2.addClass("rsHidden"),c.one("mousemove.arrowshover",function(){a._b2.removeClass("rsHidden");a._c2.removeClass("rsHidden")}),c.hover(function(){a._d2||(a._b2.removeClass("rsHidden"),a._c2.removeClass("rsHidden"))},function(){a._d2||(a._b2.addClass("rsHidden"),a._c2.addClass("rsHidden"))})),
|
|
10
|
+
a.ev.on("rsOnUpdateNav",function(){a._e2()}),a._e2());if(a._e1)a._o1.on(a._i1,function(b){a._f2(b)});else a.dragSuccess=!1;var p=["rsPlayBtnIcon","rsPlayBtn","rsCloseVideoBtn","rsCloseVideoIcn"];a._o1.click(function(b){if(!a.dragSuccess){var c=l(b.target).attr("class");if(-1!==l.inArray(c,p)&&a.toggleVideo())return!1;if(a.st.navigateByClick&&!a._g2){if(l(b.target).closest(".rsNoDrag",a._q1).length)return!0;a._h2(b)}a.ev.trigger("rsSlideClick")}}).on("click.rs","a",function(){if(a.dragSuccess)return!1;
|
|
11
|
+
a._g2=!0;setTimeout(function(){a._g2=!1},3)});a.ev.trigger("rsAfterInit")}l.rsModules||(l.rsModules={});v.prototype={_h2:function(b){b=b[this._g?"pageX":"pageY"]-this._i2;b>=this._p?this.next():0>b&&this.prev()},_s:function(){var b;b=this.st.numImagesToPreload;if(this._y=this.st.loop)2===this.numSlides?(this._y=!1,this.st.loopRewind=!0):2>this.numSlides&&(this.st.loopRewind=this._y=!1);this._y&&0<b&&(4>=this.numSlides?b=1:this.st.numImagesToPreload>(this.numSlides-1)/2&&(b=Math.floor((this.numSlides-
|
|
12
|
+
1)/2)));this._x=b},_r:function(b,f){function c(a,b){b?e.images.push(a.attr(b)):e.images.push(a.text());if(j){j=!1;e.caption="src"===b?a.attr("alt"):a.contents();e.image=e.images[0];e.videoURL=a.attr("data-rsVideo");var c=a.attr("data-rsw"),d=a.attr("data-rsh");"undefined"!==typeof c&&!1!==c&&"undefined"!==typeof d&&!1!==d?(e.iW=parseInt(c),e.iH=parseInt(d)):g.st.imgWidth&&g.st.imgHeight&&(e.iW=g.st.imgWidth,e.iH=g.st.imgHeight)}}var g=this,a,e={},d,j=!0;b=l(b);g._j2=b;g.ev.trigger("rsBeforeParseNode",
|
|
13
|
+
[b,e]);if(!e.stopParsing)return b=g._j2,e.id=g._q,e.contentAdded=!1,g._q++,e.images=[],e.isBig=!1,e.hasCover||(b.hasClass("rsImg")?(d=b,a=!0):(d=b.find(".rsImg"),d.length&&(a=!0)),a?(e.bigImage=d.eq(0).attr("data-rsBigImg"),d.each(function(){var a=l(this);a.is("a")?c(a,"href"):a.is("img")?c(a,"src"):c(a)})):b.is("img")&&(b.addClass("rsImg rsMainSlideImage"),c(b,"src"))),d=b.find(".rsCaption"),d.length&&(e.caption=d.remove()),e.content=b,g.ev.trigger("rsAfterParseNode",[b,e]),f&&g.slides.push(e),0===
|
|
14
|
+
e.images.length&&(e.isLoaded=!0,e.isRendered=!1,e.isLoading=!1,e.images=null),e},_a2:function(){var b=this,f,c,g=function(a){37===a?b.prev():39===a&&b.next()};b._a.on("keydown.rskb",function(a){if(!b._k2&&(c=a.keyCode,(37===c||39===c)&&!f))g(c),f=setInterval(function(){g(c)},700)}).on("keyup.rskb",function(){f&&(clearInterval(f),f=null)})},goTo:function(b,f){b!==this.currSlideId&&this._l2(b,this.st.transitionSpeed,!0,!f)},destroy:function(b){this.ev.trigger("rsBeforeDestroy");this._a.off("keydown.rskb keyup.rskb "+
|
|
15
|
+
this._j1+" "+this._k1);this._o1.off(this._i1+" click");this.slider.data("royalSlider",null);l.removeData(this.slider,"royalSlider");l(window).off("resize.rs");b&&this.slider.remove();this.ev=this.slider=this.slides=null},_m2:function(b,f){function c(c,e,f){c.isAdded?(g(e,c),a(e,c)):(f||(f=d.slidesJQ[e]),c.holder?f=c.holder:(f=d.slidesJQ[e]=l(f),c.holder=f),c.appendOnLoaded=!1,a(e,c,f),g(e,c),d._o2(c,f,b),appended=c.isAdded=!0)}function g(a,c){c.contentAdded||(d.setItemHtml(c,b),b||(c.contentAdded=
|
|
16
|
+
!0))}function a(a,b,c){d._k&&(c||(c=d.slidesJQ[a]),c.css(d._h,(a+d._c1+p)*d._v))}function e(a){if(k){if(a>m-1)return e(a-m);if(0>a)return e(m+a)}return a}var d=this,j,h,k=d._y,m=d.numSlides;if(!isNaN(f))return e(f);var n=d.currSlideId,p,q=b?Math.abs(d._n2-d.currSlideId)>=d.numSlides-1?0:1:d._x,r=Math.min(2,q),t=!1,u=!1,s;for(h=n;h<n+1+r;h++)if(s=e(h),(j=d.slides[s])&&(!j.isAdded||!j.positionSet)){t=!0;break}for(h=n-1;h>n-1-r;h--)if(s=e(h),(j=d.slides[s])&&(!j.isAdded||!j.positionSet)){u=!0;break}if(t)for(h=
|
|
17
|
+
n;h<n+q+1;h++)s=e(h),p=Math.floor((d._t-(n-h))/d.numSlides)*d.numSlides,(j=d.slides[s])&&c(j,s);if(u)for(h=n-1;h>n-1-q;h--)s=e(h),p=Math.floor((d._t-(n-h))/m)*m,(j=d.slides[s])&&c(j,s);if(!b){r=e(n-q);n=e(n+q);q=r>n?0:r;for(h=0;h<m;h++)if(!(r>n&&h>r-1)&&(h<q||h>n))if((j=d.slides[h])&&j.holder)j.holder.detach(),j.isAdded=!1}},setItemHtml:function(b,f){function c(){if(b.images){if(!b.isLoading){var a,c;b.content.hasClass("rsImg")?(a=b.content,c=!0):a=b.content.find(".rsImg:not(img)");a&&!a.is("img")&&
|
|
18
|
+
a.each(function(){var a=l(this),d='<img class="rsImg" src="'+(a.is("a")?a.attr("href"):a.text())+'" />';c?b.content=l(d):a.replaceWith(d)});a=c?b.content:b.content.find("img.rsImg");j();a.eq(0).addClass("rsMainSlideImage");b.iW&&b.iH&&(b.isLoaded||k._p2(b),e());b.isLoading=!0;if(b.isBig)l("<img />").on("load.rs error.rs",function(){g([this],!0)}).attr("src",b.image);else{b.loaded=[];b.imgLoaders=[];for(a=0;a<b.images.length;a++){var d=l("<img />");b.imgLoaders.push(this);d.on("load.rs error.rs",function(){b.loaded.push(this);
|
|
19
|
+
b.loaded.length===b.imgLoaders.length&&(l.browser.mozilla?setTimeout(function(){g(b.loaded,!1)},1):g(b.loaded,!1))}).attr("src",b.images[a])}}}}else b.isRendered=!0,b.isLoaded=!0,b.isLoading=!1,e(!0)}function g(c,d){if(c.length){var e=c[0];if(d!==b.isBig)(e=b.holder.children())&&1<e.length&&h();else if(b.iW&&b.iH)a();else if(b.iW=e.width,b.iH=e.height,b.iW&&b.iH)a();else{var f=new Image;f.onload=function(){f.width?(b.iW=f.width,b.iH=f.height,a()):setTimeout(function(){f.width&&(b.iW=f.width,b.iH=
|
|
20
|
+
f.height);a()},1E3)};f.src=e.src}}else a()}function a(){b.isLoaded=!0;b.isLoading=!1;e();h();d()}function e(){if(!b.isAppended){var a=k.st.visibleNearby,c=b.id-k._n;if(!f&&!b.appendOnLoaded&&k.st.fadeinLoadedSlide&&(0===c||(a||k._q2||k._k2)&&(-1===c||1===c)))a={visibility:"visible",opacity:0},a[k._f+"transition"]="opacity 400ms ease-in-out",b.content.css(a),setTimeout(function(){b.content.css("opacity",1)},16);b.holder.find(".rsPreloader").length?b.holder.append(b.content):b.holder.html(b.content);
|
|
21
|
+
b.isAppended=!0;b.isLoaded&&(k._p2(b),d());b.sizeReady||(b.sizeReady=!0,setTimeout(function(){k.ev.trigger("rsMaybeSizeReady",b)},100))}}function d(){b.loadedTriggered||(b.isLoaded=b.loadedTriggered=!0,b.holder.trigger("rsAfterContentSet"),k.ev.trigger("rsAfterContentSet",b))}function j(){k.st.usePreloader&&b.holder.html(k._p1.clone())}function h(){if(k.st.usePreloader){var a=b.holder.find(".rsPreloader");a.length&&a.remove()}}var k=this;b.isLoaded?e():f?!k._k&&b.images&&b.iW&&b.iH?c():(b.holder.isWaiting=
|
|
22
|
+
!0,j(),b.holder.slideId=-99):c()},_o2:function(b){this._o1.append(b.holder);b.appendOnLoaded=!1},_f2:function(b,f){var c=this,g;c.ev.trigger("rsDragStart");if(l(b.target).closest(".rsNoDrag",c._q1).length)return c.dragSuccess=!1,!0;!f&&c._q2&&(c._r2=!0,c._s2());c.dragSuccess=!1;if(c._k2)c.hasTouch&&(c._t2=!0);else{c.hasTouch&&(c._t2=!1);c._u2();if(c.hasTouch){var a=b.originalEvent.touches;if(a&&0<a.length)g=a[0],1<a.length&&(c._t2=!0);else return}else b.preventDefault(),g=b,c.msEnabled&&(g=g.originalEvent);
|
|
23
|
+
c._k2=!0;c._a.on(c._j1,function(a){c._v2(a,f)}).on(c._k1,function(a){c._w2(a,f)});c._x2="";c._y2=!1;c._z2=g.pageX;c._a3=g.pageY;c._b3=c._u=(!f?c._g:c._c3)?g.pageX:g.pageY;c._d3=0;c._e3=0;c._f3=!f?c._o:c._g3;c._h3=(new Date).getTime();if(c.hasTouch)c._d1.on(c._l1,function(a){c._w2(a,f)})}},_i3:function(b,f){if(this._j3){var c=this._k3,g=b.pageX-this._z2,a=b.pageY-this._a3,e=this._f3+g,d=this._f3+a,j=!f?this._g:this._c3,e=j?e:d,d=this._x2;this._y2=!0;this._z2=b.pageX;this._a3=b.pageY;"x"===d&&0!==g?
|
|
24
|
+
this._d3=0<g?1:-1:"y"===d&&0!==a&&(this._e3=0<a?1:-1);d=j?this._z2:this._a3;g=j?g:a;f?e>this._l3?e=this._f3+g*this._m1:e<this._m3&&(e=this._f3+g*this._m1):this._y||(0>=this.currSlideId&&0<d-this._b3&&(e=this._f3+g*this._m1),this.currSlideId>=this.numSlides-1&&0>d-this._b3&&(e=this._f3+g*this._m1));this._f3=e;200<c-this._h3&&(this._h3=c,this._u=d);f?this._o3(this._f3):this._k&&this._n3(this._f3)}},_v2:function(b,f){var c=this,g;if(c.hasTouch){if(c._p3)return;var a=b.originalEvent.touches;if(a){if(1<
|
|
25
|
+
a.length)return;g=a[0]}else return}else g=b,c.msEnabled&&(g=g.originalEvent);c._y2||(c._d&&(!f?c._o1:c._q3).css(c._f+c._t1,"0s"),function d(){c._k2&&(c._r3=requestAnimationFrame(d),c._s3&&c._i3(c._s3,f))}());if(c._j3)b.preventDefault(),c._k3=(new Date).getTime(),c._s3=g;else if(a=!f?c._g:c._c3,g=Math.abs(g.pageX-c._z2)-Math.abs(g.pageY-c._a3)-(a?-7:7),7<g){if(a)b.preventDefault(),c._x2="x";else if(c.hasTouch){c._t3();return}c._j3=!0}else if(-7>g){if(a){if(c.hasTouch){c._t3();return}}else b.preventDefault(),
|
|
26
|
+
c._x2="y";c._j3=!0}},_t3:function(){this._p3=!0;this._y2=this._k2=!1;this._w2()},_w2:function(b,f){function c(a){return 100>a?100:500<a?500:a}function g(b,d){if(a._k||f)j=(-a._t-a._c1)*a._v,h=Math.abs(a._o-j),a._b=h/d,b&&(a._b+=250),a._b=c(a._b),a._v3(j,!1)}var a=this,e,d,j,h;a.ev.trigger("rsDragRelease");a._s3=null;a._k2=!1;a._p3=!1;a._j3=!1;a._k3=0;cancelAnimationFrame(a._r3);a._y2&&(f?a._o3(a._f3):a._k&&a._n3(a._f3));a._a.off(a._j1).off(a._k1);a.hasTouch&&a._d1.off(a._l1);a._h1();if(!a._y2&&!a._t2&&
|
|
27
|
+
f&&a._u3){var k=l(b.target).closest(".rsNavItem");k.length&&a.goTo(k.index())}else{d=!f?a._g:a._c3;if(!a._y2||"y"===a._x2&&d||"x"===a._x2&&!d)if(!f&&a._r2){a._r2=!1;if(a.st.navigateByClick){a._h2(a.msEnabled?b.originalEvent:b);a.dragSuccess=!0;return}a.dragSuccess=!0}else{a._r2=!1;a.dragSuccess=!1;return}else a.dragSuccess=!0;a._r2=!1;a._x2="";var m=a.st.minSlideOffset;e=a.hasTouch?b.originalEvent.changedTouches[0]:a.msEnabled?b.originalEvent:b;var n=d?e.pageX:e.pageY,p=a._b3;e=a._u;var q=a.currSlideId,
|
|
28
|
+
r=a.numSlides,t=d?a._d3:a._e3,u=a._y;Math.abs(n-p);e=n-e;d=(new Date).getTime()-a._h3;d=Math.abs(e)/d;if(0===t||1>=r)g(!0,d);else{if(!u&&!f)if(0>=q){if(0<t){g(!0,d);return}}else if(q>=r-1&&0>t){g(!0,d);return}if(f){j=a._g3;if(j>a._l3)j=a._l3;else if(j<a._m3)j=a._m3;else{m=d*d/0.006;k=-a._g3;n=a._w3-a._x3+a._g3;0<e&&m>k?(k+=a._x3/(15/(0.003*(m/d))),d=d*k/m,m=k):0>e&&m>n&&(n+=a._x3/(15/(0.003*(m/d))),d=d*n/m,m=n);k=Math.max(Math.round(d/0.003),50);j+=m*(0>e?-1:1);if(j>a._l3){a._y3(j,k,!0,a._l3,200);
|
|
29
|
+
return}if(j<a._m3){a._y3(j,k,!0,a._m3,200);return}}a._y3(j,k,!0)}else p+m<n?0>t?g(!1,d):a._l2("prev",c(Math.abs(a._o-(-a._t-a._c1+1)*a._v)/d),!1,!0,!0):p-m>n?0<t?g(!1,d):a._l2("next",c(Math.abs(a._o-(-a._t-a._c1-1)*a._v)/d),!1,!0,!0):g(!1,d)}}},_n3:function(b){b=this._o=b;this._d?this._o1.css(this._w1,this._x1+(this._g?b+this._y1+0:0+this._y1+b)+this._z1):this._o1.css(this._g?this._w1:this._v1,b)},updateSliderSize:function(b){var f,c;if(this.st.autoScaleSlider){var g=this.st.autoScaleSliderWidth,
|
|
30
|
+
a=this.st.autoScaleSliderHeight;this.st.autoScaleHeight?(f=this.slider.width(),f!=this.width&&(this.slider.css("height",f*(a/g)),f=this.slider.width()),c=this.slider.height()):(c=this.slider.height(),c!=this.height&&(this.slider.css("width",c*(g/a)),c=this.slider.height()),f=this.slider.width())}else f=this.slider.width(),c=this.slider.height();if(b||f!=this.width||c!=this.height){this.width=f;this.height=c;this._z3=f;this._a4=c;this.ev.trigger("rsBeforeSizeSet");this.ev.trigger("rsAfterSizePropSet");
|
|
31
|
+
this._d1.css({width:this._z3,height:this._a4});this._v=(this._g?this._z3:this._a4)+this.st.slidesSpacing;this._b4=this.st.imageScalePadding;for(f=0;f<this.slides.length;f++)b=this.slides[f],b.positionSet=!1,b&&(b.images&&b.isLoaded)&&(b.isRendered=!1,this._p2(b));if(this._c4)for(f=0;f<this._c4.length;f++)b=this._c4[f],b.holder.css(this._h,(b.id+this._c1)*this._v);this._m2();this._k&&(this._d&&this._o1.css(this._f+"transition-duration","0s"),this._n3((-this._t-this._c1)*this._v));this.ev.trigger("rsOnUpdateNav")}this._i2=
|
|
32
|
+
this._d1.offset();this._i2=this._i2[this._h]},appendSlide:function(b,f){var c=this._r(b);if(isNaN(f)||f>this.numSlides)f=this.numSlides;this.slides.splice(f,0,c);this.slidesJQ.splice(f,0,'<div style="'+(this._k?"position:absolute;":this._m)+'" class="rsSlide"></div>');f<this.currSlideId&&this.currSlideId++;this.ev.trigger("rsOnAppendSlide",[c,f]);this._e4(f);f===this.currSlideId&&this.ev.trigger("rsAfterSlideChange")},removeSlide:function(b){var f=this.slides[b];f&&(f.holder&&f.holder.remove(),b<
|
|
33
|
+
this.currSlideId&&this.currSlideId--,this.slides.splice(b,1),this.slidesJQ.splice(b,1),this.ev.trigger("rsOnRemoveSlide",[b]),this._e4(b),b===this.currSlideId&&this.ev.trigger("rsAfterSlideChange"))},_e4:function(){var b=this,f=b.numSlides,f=0>=b._t?0:Math.floor(b._t/f);b.numSlides=b.slides.length;0===b.numSlides?(b.currSlideId=b._c1=b._t=0,b.currSlide=b._f4=null):b._t=f*b.numSlides+b.currSlideId;for(f=0;f<b.numSlides;f++)b.slides[f].id=f;b.currSlide=b.slides[b.currSlideId];b._q1=b.slidesJQ[b.currSlideId];
|
|
34
|
+
b.currSlideId>=b.numSlides?b.goTo(b.numSlides-1):0>b.currSlideId&&b.goTo(0);b._s();b._k&&b._y&&b._o1.css(b._f+b._t1,"0ms");b._g4&&clearTimeout(b._g4);b._g4=setTimeout(function(){b._k&&b._n3((-b._t-b._c1)*b._v);b._m2();b._k||b._q1.css({display:"block",opacity:1})},14);b.ev.trigger("rsOnUpdateNav")},_h1:function(){this._e1&&(!this.hasTouch&&this._k)&&(this._f1?this._d1.css("cursor",this._f1):(this._d1.removeClass("grabbing-cursor"),this._d1.addClass("grab-cursor")))},_u2:function(){this._e1&&(!this.hasTouch&&
|
|
35
|
+
this._k)&&(this._g1?this._d1.css("cursor",this._g1):(this._d1.removeClass("grab-cursor"),this._d1.addClass("grabbing-cursor")))},next:function(b){this._l2("next",this.st.transitionSpeed,!0,!b)},prev:function(b){this._l2("prev",this.st.transitionSpeed,!0,!b)},_l2:function(b,f,c,g,a){var e=this,d,j,h;e._i4&&e.stopVideo();e.ev.trigger("rsBeforeMove",[b,g]);newItemId="next"===b?e.currSlideId+1:"prev"===b?e.currSlideId-1:b=parseInt(b,10);if(!e._y){if(0>newItemId){e._j4("left",!g);return}if(newItemId>=
|
|
36
|
+
e.numSlides){e._j4("right",!g);return}}e._q2&&(e._s2(!0),c=!1);j=newItemId-e.currSlideId;h=e._n2=e.currSlideId;var k=e.currSlideId+j;g=e._t;var m;e._y?(k=e._m2(!1,k),g+=j):g=k;e._n=k;e._f4=e.slidesJQ[e.currSlideId];e._t=g;e.currSlideId=e._n;e.currSlide=e.slides[e.currSlideId];e._q1=e.slidesJQ[e.currSlideId];var k=e.st.slidesDiff,l=Boolean(0<j);j=Math.abs(j);var p=Math.floor(h/e._x),q=Math.floor((h+(l?k:-k))/e._x),p=(l?Math.max(p,q):Math.min(p,q))*e._x+(l?e._x-1:0);p>e.numSlides-1?p=e.numSlides-1:
|
|
37
|
+
0>p&&(p=0);h=l?p-h:h-p;h>e._x&&(h=e._x);if(j>h+k){e._c1+=(j-(h+k))*(l?-1:1);f*=1.4;for(h=0;h<e.numSlides;h++)e.slides[h].positionSet=!1}e._b=f;e._m2(!0);a||(m=!0);d=(-g-e._c1)*e._v;m?setTimeout(function(){e._h4=!1;e._v3(d,b,!1,c);e.ev.trigger("rsOnUpdateNav")},0):(e._v3(d,b,!1,c),e.ev.trigger("rsOnUpdateNav"))},_e2:function(){this.st.arrowsNav&&(1>=this.numSlides?(this._b2.css("display","none"),this._c2.css("display","none")):(this._b2.css("display","block"),this._c2.css("display","block"),!this._y&&
|
|
38
|
+
!this.st.loopRewind&&(0===this.currSlideId?this._b2.addClass("rsArrowDisabled"):this._b2.removeClass("rsArrowDisabled"),this.currSlideId===this.numSlides-1?this._c2.addClass("rsArrowDisabled"):this._c2.removeClass("rsArrowDisabled"))))},_v3:function(b,f,c,g,a){function e(){var a;if(j&&(a=j.data("rsTimeout")))j!==h&&j.css({opacity:0,display:"none",zIndex:0}),clearTimeout(a),j.data("rsTimeout","");if(a=h.data("rsTimeout"))clearTimeout(a),h.data("rsTimeout","")}var d=this,j,h,k={};isNaN(d._b)&&(d._b=
|
|
39
|
+
400);d._o=d._f3=b;d.ev.trigger("rsBeforeAnimStart");d._d?d._k?(d._b=parseInt(d._b),k[d._f+d._t1]=d._b+"ms",k[d._f+d._u1]=g?l.rsCSS3Easing[d.st.easeInOut]:l.rsCSS3Easing[d.st.easeOut],d._o1.css(k),g||!d.hasTouch?setTimeout(function(){d._n3(b)},5):d._n3(b)):(d._b=d.st.transitionSpeed,j=d._f4,h=d._q1,h.data("rsTimeout")&&h.css("opacity",0),e(),j&&j.data("rsTimeout",setTimeout(function(){k[d._f+d._t1]="0ms";k.zIndex=0;k.display="none";j.data("rsTimeout","");j.css(k);setTimeout(function(){j.css("opacity",
|
|
40
|
+
0)},16)},d._b+60)),k.display="block",k.zIndex=d._l,k.opacity=0,k[d._f+d._t1]="0ms",k[d._f+d._u1]=l.rsCSS3Easing[d.st.easeInOut],h.css(k),h.data("rsTimeout",setTimeout(function(){h.css(d._f+d._t1,d._b+"ms");h.data("rsTimeout",setTimeout(function(){h.css("opacity",1);h.data("rsTimeout","")},20))},20))):d._k?(k[d._g?d._w1:d._v1]=b+"px",d._o1.animate(k,d._b,g?d.st.easeInOut:d.st.easeOut)):(j=d._f4,h=d._q1,h.stop(!0,!0).css({opacity:0,display:"block",zIndex:d._l}),d._b=d.st.transitionSpeed,h.animate({opacity:1},
|
|
41
|
+
d._b,d.st.easeInOut),e(),j&&j.data("rsTimeout",setTimeout(function(){j.stop(!0,!0).css({opacity:0,display:"none",zIndex:0})},d._b+60)));d._q2=!0;d.loadingTimeout&&clearTimeout(d.loadingTimeout);d.loadingTimeout=a?setTimeout(function(){d.loadingTimeout=null;a.call()},d._b+60):setTimeout(function(){d.loadingTimeout=null;d._k4(f)},d._b+60)},_s2:function(b){this._q2=!1;clearTimeout(this.loadingTimeout);if(this._k)if(this._d){if(!b){b=this._o;var f=this._f3=this._l4();this._o1.css(this._f+this._t1,"0ms");
|
|
42
|
+
b!==f&&this._n3(f)}}else this._o1.stop(!0),this._o=parseInt(this._o1.css(this._w1),10);else 20<this._l?this._l=10:this._l++},_l4:function(){var b=window.getComputedStyle(this._o1.get(0),null).getPropertyValue(this._f+"transform").replace(/^matrix\(/i,"").split(/, |\)$/g),f=0===b[0].indexOf("matrix3d");return parseInt(b[this._g?f?12:4:f?13:5],10)},_m4:function(b,f){return this._d?this._x1+(f?b+this._y1+0:0+this._y1+b)+this._z1:b},_k4:function(){this._k||(this._q1.css("z-index",0),this._l=10);this._q2=
|
|
43
|
+
!1;this.staticSlideId=this.currSlideId;this._m2();this._n4=!1;this.ev.trigger("rsAfterSlideChange")},_j4:function(b,f){var c=this,g=(-c._t-c._c1)*c._v;if(!(0===c.numSlides||c._q2))if(c.st.loopRewind)c.goTo("left"===b?c.numSlides-1:0,f);else if(c._k){c._b=200;var a=function(){c._q2=!1};c._v3(g+("left"===b?30:-30),"",!1,!0,function(){c._q2=!1;c._v3(g,"",!1,!0,a)})}},_p2:function(b){if(!b.isRendered){var f=b.content,c="rsMainSlideImage",g,a=this.st.imageAlignCenter,e=this.st.imageScaleMode,d;b.videoURL&&
|
|
44
|
+
(c="rsVideoContainer","fill"!==e?g=!0:(d=f,d.hasClass(c)||(d=d.find("."+c)),d.css({width:"100%",height:"100%"}),c="rsMainSlideImage"));f.hasClass(c)||(f=f.find("."+c));if(f){var j=b.iW,c=b.iH;b.isRendered=!0;if("none"!==e||a){bMargin="fill"!==e?this._b4:0;b=this._z3-2*bMargin;d=this._a4-2*bMargin;var h,k,l={};if("fit-if-smaller"===e&&(j>b||c>d))e="fit";if("fill"===e||"fit"===e)h=b/j,k=d/c,h="fill"==e?h>k?h:k:"fit"==e?h<k?h:k:1,j=Math.ceil(j*h,10),c=Math.ceil(c*h,10);"none"!==e&&(l.width=j,l.height=
|
|
45
|
+
c,g&&f.find(".rsImg").css({width:"100%",height:"100%"}));a&&(l.marginLeft=Math.floor((b-j)/2)+bMargin,l.marginTop=Math.floor((d-c)/2)+bMargin);f.css(l)}}}}};l.rsProto=v.prototype;l.fn.royalSlider=function(b){var f=arguments;return this.each(function(){var c=l(this);if("object"===typeof b||!b)c.data("royalSlider")||c.data("royalSlider",new v(c,b));else if((c=c.data("royalSlider"))&&c[b])return c[b].apply(c,Array.prototype.slice.call(f,1))})};l.fn.royalSlider.defaults={slidesSpacing:8,startSlideId:0,
|
|
46
|
+
loop:!1,loopRewind:!1,numImagesToPreload:4,fadeinLoadedSlide:!0,slidesOrientation:"horizontal",transitionType:"move",transitionSpeed:600,controlNavigation:"bullets",controlsInside:!0,arrowsNav:!0,arrowsNavAutoHide:!0,navigateByClick:!0,randomizeSlides:!1,sliderDrag:!0,sliderTouch:!0,keyboardNavEnabled:!1,fadeInAfterLoaded:!0,allowCSS3:!0,allowCSS3OnWebkit:!0,addActiveClass:!1,autoHeight:!1,easeOut:"easeOutSine",easeInOut:"easeInOutSine",minSlideOffset:10,imageScaleMode:"fit-if-smaller",imageAlignCenter:!0,
|
|
47
|
+
imageScalePadding:4,usePreloader:!0,autoScaleSlider:!1,autoScaleSliderWidth:800,autoScaleSliderHeight:400,autoScaleHeight:!0,arrowsNavHideOnTouch:!1,globalCaption:!1,slidesDiff:2};l.rsCSS3Easing={easeOutSine:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"};l.extend(jQuery.easing,{easeInOutSine:function(b,f,c,g,a){return-g/2*(Math.cos(Math.PI*f/a)-1)+c},easeOutSine:function(b,f,c,g,a){return g*Math.sin(f/a*(Math.PI/2))+c},easeOutCubic:function(b,
|
|
48
|
+
f,c,g,a){return g*((f=f/a-1)*f*f+1)+c}})})(jQuery,window);
|
|
49
|
+
// jquery.rs.active-class v1.0.1
|
|
50
|
+
(function(c){c.rsProto._o4=function(){var b,a=this;if(a.st.addActiveClass)a.ev.on("rsOnUpdateNav",function(){b&&clearTimeout(b);b=setTimeout(function(){a._f4&&a._f4.removeClass("rsActiveSlide");a._q1&&a._q1.addClass("rsActiveSlide");b=null},50)})};c.rsModules.activeClass=c.rsProto._o4})(jQuery);
|
|
51
|
+
// jquery.rs.animated-blocks v1.0.2
|
|
52
|
+
(function(j){j.extend(j.rsProto,{_p4:function(){function k(){var e=a.currSlide;if(a.currSlide&&a.currSlide.isLoaded&&a._t4!==e){if(0<a._s4.length){for(b=0;b<a._s4.length;b++)clearTimeout(a._s4[b]);a._s4=[]}if(0<a._r4.length){var g;for(b=0;b<a._r4.length;b++)if(g=a._r4[b])a._d?(g.block.css(a._f+a._t1,"0s"),g.block.css(g.css)):g.running?g.block.stop(!0,!0):g.block.css(g.css),a._t4=null,e.animBlocksDisplayed=!1;a._r4=[]}e.animBlocks&&(e.animBlocksDisplayed=!0,a._t4=e,a._u4(e.animBlocks))}}var a=this,
|
|
53
|
+
b;a._q4={fadeEffect:!0,moveEffect:"top",moveOffset:20,speed:400,easing:"easeOutSine",delay:200};a.st.block=j.extend({},a._q4,a.st.block);a._r4=[];a._s4=[];a.ev.on("rsAfterInit",function(){k()});a.ev.on("rsBeforeParseNode",function(a,b,c){b=j(b);c.animBlocks=b.find(".rsABlock").css("display","none");c.animBlocks.length||(c.animBlocks=b.hasClass("rsABlock")?b.css("display","none"):!1)});a.ev.on("rsAfterContentSet",function(b,g){g.id===a.currSlideId&&setTimeout(function(){k()},a.st.fadeinLoadedSlide?
|
|
54
|
+
300:0)});a.ev.on("rsAfterSlideChange",function(){k()})},_v4:function(j,a){setTimeout(function(){j.css(a)},6)},_u4:function(k){var a=this,b,e,g,c;a._s4=[];k.each(function(k){b=j(this);e={};g={};c=null;var f=b.data("move-offset");isNaN(f)&&(f=a.st.block.moveOffset);if(0<f){var d=b.data("move-effect");d?(d=d.toLowerCase(),"none"===d?d=!1:"left"!==d&&("top"!==d&&"bottom"!==d&&"right"!==d)&&(d=a.st.block.moveEffect,"none"===d&&(d=!1))):d=a.st.block.moveEffect;if(d){var m;m="right"===d||"left"===d?!0:!1;
|
|
55
|
+
var l,h;isOppositeProp=!1;a._d?(l=0,h=a._w1):(m?isNaN(parseInt(b.css("right"),10))?h="left":(h="right",isOppositeProp=!0):isNaN(parseInt(b.css("bottom"),10))?h="top":(h="bottom",isOppositeProp=!0),h="margin-"+h,isOppositeProp&&(f=-f),l=parseInt(b.css(h),10));g[h]=a._m4("top"===d||"left"===d?l-f:l+f,m);e[h]=a._m4(l,m)}}if(f=b.attr("data-fade-effect")){if("none"===f.toLowerCase()||"false"===f.toLowerCase())f=!1}else f=a.st.block.fadeEffect;f&&(g.opacity=0,e.opacity=1);if(f||d)c={},c.hasFade=Boolean(f),
|
|
56
|
+
Boolean(d)&&(c.moveProp=h,c.hasMove=!0),c.speed=b.data("speed"),isNaN(c.speed)&&(c.speed=a.st.block.speed),c.easing=b.data("easing"),c.easing||(c.easing=a.st.block.easing),c.css3Easing=j.rsCSS3Easing[c.easing],c.delay=b.data("delay"),isNaN(c.delay)&&(c.delay=a.st.block.delay*k);d={};a._d&&(d[a._f+a._t1]="0ms");d.moveProp=e.moveProp;d.opacity=e.opacity;d.display="none";a._r4.push({block:b,css:d});a._v4(b,g);a._s4.push(setTimeout(function(b,d,c,g){return function(){b.css("display","block");if(c){var f=
|
|
57
|
+
{};if(a._d){var e="";c.hasMove&&(e+=c.moveProp);c.hasFade&&(c.hasMove&&(e+=", "),e+="opacity");f[a._f+a._s1]=e;f[a._f+a._t1]=c.speed+"ms";f[a._f+a._u1]=c.css3Easing;b.css(f);setTimeout(function(){b.css(d)},24)}else setTimeout(function(){b.animate(d,c.speed,c.easing)},16)}delete a._s4[g]}}(b,e,c,k),6>=c.delay?12:c.delay))})}});j.rsModules.animatedBlocks=j.rsProto._p4})(jQuery);
|
|
58
|
+
// jquery.rs.auto-height v1.0.2
|
|
59
|
+
(function(b){b.extend(b.rsProto,{_w4:function(){var a=this;if(a.st.autoHeight){var b,d,e,c=function(c){e=a.slides[a.currSlideId];if(b=e.holder)if((d=b.height())&&void 0!==d)a._a4=d,a._d||!c?a._d1.css("height",d):a._d1.stop(!0,!0).animate({height:d},a.st.transitionSpeed)};a.ev.on("rsMaybeSizeReady.rsAutoHeight",function(a,b){e===b&&c()});a.ev.on("rsAfterContentSet.rsAutoHeight",function(a,b){e===b&&c()});a.slider.addClass("rsAutoHeight");a.ev.one("rsAfterInit",function(){setTimeout(function(){c(!1);
|
|
60
|
+
setTimeout(function(){a.slider.append('<div style="clear:both; float: none;"></div>');a._d&&a._d1.css(a._f+"transition","height "+a.st.transitionSpeed+"ms ease-in-out")},16)},16)});a.ev.on("rsBeforeAnimStart",function(){c(!0)});a.ev.on("rsBeforeSizeSet",function(){setTimeout(function(){c(!1)},16)})}}});b.rsModules.autoHeight=b.rsProto._w4})(jQuery);
|
|
61
|
+
// jquery.rs.autoplay v1.0.4
|
|
62
|
+
(function(b){b.extend(b.rsProto,{_x4:function(){var a=this,d;a._y4={enabled:!1,stopAtAction:!0,pauseOnHover:!0,delay:2E3};!a.st.autoPlay&&a.st.autoplay&&(a.st.autoPlay=a.st.autoplay);a.st.autoPlay=b.extend({},a._y4,a.st.autoPlay);a.st.autoPlay.enabled&&(a.ev.on("rsBeforeParseNode",function(a,c,e){c=b(c);if(d=c.attr("data-rsDelay"))e.customDelay=parseInt(d,10)}),a.ev.one("rsAfterInit",function(){a._z4()}),a.ev.on("rsBeforeDestroy",function(){a.stopAutoPlay()}))},_z4:function(){var a=this;a.startAutoPlay();
|
|
63
|
+
a.ev.on("rsAfterContentSet",function(d,b){!a._k2&&(!a._q2&&a._a5&&b===a.currSlide)&&a._b5()});a.ev.on("rsDragRelease",function(){a._a5&&a._c5&&(a._c5=!1,a._b5())});a.ev.on("rsAfterSlideChange",function(){a._a5&&a._c5&&(a._c5=!1,a.currSlide.isLoaded&&a._b5())});a.ev.on("rsDragStart",function(){a._a5&&(a.st.autoPlay.stopAtAction?a.stopAutoPlay():(a._c5=!0,a._d5()))});a.ev.on("rsBeforeMove",function(b,f,c){a._a5&&(c&&a.st.autoPlay.stopAtAction?a.stopAutoPlay():(a._c5=!0,a._d5()))});a._e5=!1;a.ev.on("rsVideoStop",
|
|
64
|
+
function(){a._a5&&(a._e5=!1,a._b5())});a.ev.on("rsVideoPlay",function(){a._a5&&(a._c5=!1,a._d5(),a._e5=!0)});a.st.autoPlay.pauseOnHover&&(a._f5=!1,a.slider.hover(function(){a._a5&&(a._c5=!1,a._d5(),a._f5=!0)},function(){a._a5&&(a._f5=!1,a._b5())}))},toggleAutoPlay:function(){this._a5?this.stopAutoPlay():this.startAutoPlay()},startAutoPlay:function(){this._a5=!0;this.currSlide.isLoaded&&this._b5()},stopAutoPlay:function(){this._e5=this._f5=this._c5=this._a5=!1;this._d5()},_b5:function(){var a=this;
|
|
65
|
+
!a._f5&&!a._e5&&(a._g5=!0,a._h5&&clearTimeout(a._h5),a._h5=setTimeout(function(){var b;!a._y&&!a.st.loopRewind&&(b=!0,a.st.loopRewind=!0);a.next(!0);b&&(a.st.loopRewind=!1)},!a.currSlide.customDelay?a.st.autoPlay.delay:a.currSlide.customDelay))},_d5:function(){!this._f5&&!this._e5&&(this._g5=!1,this._h5&&(clearTimeout(this._h5),this._h5=null))}});b.rsModules.autoplay=b.rsProto._x4})(jQuery);
|
|
66
|
+
// jquery.rs.bullets v1.0.1
|
|
67
|
+
(function(c){c.extend(c.rsProto,{_i5:function(){var a=this;"bullets"===a.st.controlNavigation&&(a.ev.one("rsAfterPropsSetup",function(){a._j5=!0;a.slider.addClass("rsWithBullets");for(var b='<div class="rsNav rsBullets">',e=0;e<a.numSlides;e++)b+='<div class="rsNavItem rsBullet"><span></span></div>';a._k5=b=c(b+"</div>");a._l5=b.appendTo(a.slider).children();a._k5.on("click.rs",".rsNavItem",function(){a._m5||a.goTo(c(this).index())})}),a.ev.on("rsOnAppendSlide",function(b,c,d){d>=a.numSlides?a._k5.append('<div class="rsNavItem rsBullet"><span></span></div>'):
|
|
68
|
+
a._l5.eq(d).before('<div class="rsNavItem rsBullet"><span></span></div>');a._l5=a._k5.children()}),a.ev.on("rsOnRemoveSlide",function(b,c){var d=a._l5.eq(c);d&&d.length&&(d.remove(),a._l5=a._k5.children())}),a.ev.on("rsOnUpdateNav",function(){var b=a.currSlideId;a._n5&&a._n5.removeClass("rsNavSelected");b=c(a._l5[b]);b.addClass("rsNavSelected");a._n5=b}))}});c.rsModules.bullets=c.rsProto._i5})(jQuery);
|
|
69
|
+
// jquery.rs.deeplinking v1.0.4 + jQuery hashchange plugin v1.3 Copyright (c) 2010
|
|
70
|
+
(function(a){a.extend(a.rsProto,{_o5:function(){var b=this,g,c,e;b._p5={enabled:!1,change:!1,prefix:""};b.st.deeplinking=a.extend({},b._p5,b.st.deeplinking);if(b.st.deeplinking.enabled){var h=b.st.deeplinking.change,d="#"+b.st.deeplinking.prefix,f=function(){var a=window.location.hash;return a&&(a=parseInt(a.substring(d.length),10),0<=a)?a-1:-1},j=f();-1!==j&&(b.st.startSlideId=j);h&&(a(window).on("hashchange.rs",function(){if(!g){var a=f();0>a||(a>b.numSlides-1&&(a=b.numSlides-1),b.goTo(a))}}),b.ev.on("rsBeforeAnimStart",
|
|
71
|
+
function(){c&&clearTimeout(c);e&&clearTimeout(e)}),b.ev.on("rsAfterSlideChange",function(){c&&clearTimeout(c);e&&clearTimeout(e);e=setTimeout(function(){g=!0;window.location.hash=d+(b.currSlideId+1);c=setTimeout(function(){g=!1;c=null},60)},400)}));b.ev.on("rsBeforeDestroy",function(){c=e=null;h&&a(window).off("hashchange.rs")})}}});a.rsModules.deeplinking=a.rsProto._o5})(jQuery);
|
|
72
|
+
(function(a,b,g){function c(a){a=a||location.href;return"#"+a.replace(/^[^#]*#?(.*)$/,"$1")}"$:nomunge";var e=document,h,d=a.event.special,f=e.documentMode,j="onhashchange"in b&&(f===g||7<f);a.fn.hashchange=function(a){return a?this.bind("hashchange",a):this.trigger("hashchange")};a.fn.hashchange.delay=50;d.hashchange=a.extend(d.hashchange,{setup:function(){if(j)return!1;a(h.start)},teardown:function(){if(j)return!1;a(h.stop)}});var p=function(){var e=c(),d=r(n);e!==n?(q(n=e,d),a(b).trigger("hashchange")):
|
|
73
|
+
d!==n&&(location.href=location.href.replace(/#.*/,"")+d);l=setTimeout(p,a.fn.hashchange.delay)},d={},l,n=c(),q=f=function(a){return a},r=f;d.start=function(){l||p()};d.stop=function(){l&&clearTimeout(l);l=g};if(a.browser.msie&&!j){var k,m;d.start=function(){k||(m=(m=a.fn.hashchange.src)&&m+c(),k=a('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){m||q(c());p()}).attr("src",m||"javascript:0").insertAfter("body")[0].contentWindow,e.onpropertychange=function(){try{"title"===event.propertyName&&
|
|
74
|
+
(k.document.title=e.title)}catch(a){}})};d.stop=f;r=function(){return c(k.location.href)};q=function(b,d){var c=k.document,f=a.fn.hashchange.domain;b!==d&&(c.title=e.title,c.open(),f&&c.write('<script>document.domain="'+f+'"\x3c/script>'),c.close(),k.location.hash=b)}}h=d})(jQuery,this);
|
|
75
|
+
// jquery.rs.fullscreen v1.0.3
|
|
76
|
+
(function(c){c.extend(c.rsProto,{_q5:function(){var a=this;a._r5={enabled:!1,keyboardNav:!0,buttonFS:!0,nativeFS:!1,doubleTap:!0};a.st.fullscreen=c.extend({},a._r5,a.st.fullscreen);if(a.st.fullscreen.enabled)a.ev.one("rsBeforeSizeSet",function(){a._s5()})},_s5:function(){var a=this;a._t5=!a.st.keyboardNavEnabled&&a.st.fullscreen.keyboardNav;if(a.st.fullscreen.nativeFS){a._u5={supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",
|
|
77
|
+
prefix:""};var b=["webkit","moz","o","ms","khtml"];if("undefined"!=typeof document.cancelFullScreen)a._u5.supportsFullScreen=!0;else for(var d=0;d<b.length;d++)if(a._u5.prefix=b[d],"undefined"!=typeof document[a._u5.prefix+"CancelFullScreen"]){a._u5.supportsFullScreen=!0;break}a._u5.supportsFullScreen?(a.nativeFS=!0,a._u5.fullScreenEventName=a._u5.prefix+"fullscreenchange.rs",a._u5.isFullScreen=function(){switch(this.prefix){case "":return document.fullScreen;case "webkit":return document.webkitIsFullScreen;
|
|
78
|
+
default:return document[this.prefix+"FullScreen"]}},a._u5.requestFullScreen=function(a){return""===this.prefix?a.requestFullScreen():a[this.prefix+"RequestFullScreen"]()},a._u5.cancelFullScreen=function(){return""===this.prefix?document.cancelFullScreen():document[this.prefix+"CancelFullScreen"]()}):a._u5=!1}a.st.fullscreen.buttonFS&&(a._v5=c('<div class="rsFullscreenBtn"><div class="rsFullscreenIcn"></div></div>').appendTo(a._n1).on("click.rs",function(){a.isFullscreen?a.exitFullscreen():a.enterFullscreen()}))},
|
|
79
|
+
enterFullscreen:function(a){var b=this;if(b._u5)if(a)b._u5.requestFullScreen(c("html")[0]);else{b._a.on(b._u5.fullScreenEventName,function(){b._u5.isFullScreen()?b.enterFullscreen(!0):b.exitFullscreen(!0)});b._u5.requestFullScreen(c("html")[0]);return}if(!b._w5){b._w5=!0;b._a.on("keyup.rsfullscreen",function(a){27===a.keyCode&&b.exitFullscreen()});b._t5&&b._a2();a=c(window);b._x5=a.scrollTop();b._y5=a.scrollLeft();b._z5=c("html").attr("style");b._a6=c("body").attr("style");b._b6=b.slider.attr("style");
|
|
80
|
+
c("body, html").css({overflow:"hidden",height:"100%",width:"100%",margin:"0",padding:"0"});b.slider.addClass("rsFullscreen");var d;for(d=0;d<b.numSlides;d++)a=b.slides[d],a.isRendered=!1,a.bigImage&&(a.isBig=!0,a.isMedLoaded=a.isLoaded,a.isMedLoading=a.isLoading,a.medImage=a.image,a.medIW=a.iW,a.medIH=a.iH,a.slideId=-99,a.bigImage!==a.medImage&&(a.sizeType="big"),a.isLoaded=a.isBigLoaded,a.isLoading=!1,a.image=a.bigImage,a.images[0]=a.bigImage,a.iW=a.bigIW,a.iH=a.bigIH,a.isAppended=a.contentAdded=
|
|
81
|
+
!1,b._c6(a));b.isFullscreen=!0;b._w5=!1;b.updateSliderSize();b.ev.trigger("rsEnterFullscreen")}},exitFullscreen:function(a){var b=this;if(b._u5){if(!a){b._u5.cancelFullScreen(c("html")[0]);return}b._a.off(b._u5.fullScreenEventName)}if(!b._w5){b._w5=!0;b._a.off("keyup.rsfullscreen");b._t5&&b._a.off("keydown.rskb");c("html").attr("style",b._z5||"");c("body").attr("style",b._a6||"");var d;for(d=0;d<b.numSlides;d++)a=b.slides[d],a.isRendered=!1,a.bigImage&&(a.isBig=!1,a.slideId=-99,a.isBigLoaded=a.isLoaded,
|
|
82
|
+
a.isBigLoading=a.isLoading,a.bigImage=a.image,a.bigIW=a.iW,a.bigIH=a.iH,a.isLoaded=a.isMedLoaded,a.isLoading=!1,a.image=a.medImage,a.images[0]=a.medImage,a.iW=a.medIW,a.iH=a.medIH,a.isAppended=a.contentAdded=!1,b._c6(a,!0),a.bigImage!==a.medImage&&(a.sizeType="med"));b.isFullscreen=!1;a=c(window);a.scrollTop(b._x5);a.scrollLeft(b._y5);b._w5=!1;b.slider.removeClass("rsFullscreen");b.updateSliderSize();setTimeout(function(){b.updateSliderSize()},1);b.ev.trigger("rsExitFullscreen")}},_c6:function(a){var b=
|
|
83
|
+
!a.isLoaded&&!a.isLoading?'<a class="rsImg rsMainSlideImage" href="'+a.image+'"></a>':'<img class="rsImg rsMainSlideImage" src="'+a.image+'"/>';a.content.hasClass("rsImg")?a.content=c(b):a.content.find(".rsImg").eq(0).replaceWith(b);!a.isLoaded&&(!a.isLoading&&a.holder)&&a.holder.html(a.content)}});c.rsModules.fullscreen=c.rsProto._q5})(jQuery);
|
|
84
|
+
// jquery.rs.global-caption v1.0
|
|
85
|
+
(function(b){b.extend(b.rsProto,{_d6:function(){var a=this;a.st.globalCaption&&(a.ev.on("rsAfterInit",function(){a.globalCaption=b('<div class="rsGCaption"></div>').appendTo(!a.st.globalCaptionInside?a.slider:a._d1);a.globalCaption.html(a.currSlide.caption)}),a.ev.on("rsBeforeAnimStart",function(){a.globalCaption.html(a.currSlide.caption)}))}});b.rsModules.globalCaption=b.rsProto._d6})(jQuery);
|
|
86
|
+
// jquery.rs.nav-auto-hide v1.0
|
|
87
|
+
(function(b){b.extend(b.rsProto,{_e6:function(){var a=this;if(a.st.navAutoHide&&!a.hasTouch)a.ev.one("rsAfterInit",function(){if(a._k5){a._k5.addClass("rsHidden");var b=a.slider;b.one("mousemove.controlnav",function(){a._k5.removeClass("rsHidden")});b.hover(function(){a._k5.removeClass("rsHidden")},function(){a._k5.addClass("rsHidden")})}})}});b.rsModules.autoHideNav=b.rsProto._e6})(jQuery);
|
|
88
|
+
// jquery.rs.tabs v1.0.1
|
|
89
|
+
(function(e){e.extend(e.rsProto,{_f6:function(){var a=this;"tabs"===a.st.controlNavigation&&(a.ev.on("rsBeforeParseNode",function(a,d,b){d=e(d);b.thumbnail=d.find(".rsTmb").remove();b.thumbnail.length?b.thumbnail=e(document.createElement("div")).append(b.thumbnail).html():(b.thumbnail=d.attr("data-rsTmb"),b.thumbnail||(b.thumbnail=d.find(".rsImg").attr("data-rsTmb")),b.thumbnail=b.thumbnail?'<img src="'+b.thumbnail+'"/>':"")}),a.ev.one("rsAfterPropsSetup",function(){a._g6()}),a.ev.on("rsOnAppendSlide",
|
|
90
|
+
function(c,d,b){b>=a.numSlides?a._k5.append('<div class="rsNavItem rsTab">'+d.thumbnail+"</div>"):a._l5.eq(b).before('<div class="rsNavItem rsTab">'+item.thumbnail+"</div>");a._l5=a._k5.children()}),a.ev.on("rsOnRemoveSlide",function(c,d){var b=a._l5.eq(d);b&&(b.remove(),a._l5=a._k5.children())}),a.ev.on("rsOnUpdateNav",function(){var c=a.currSlideId;a._n5&&a._n5.removeClass("rsNavSelected");c=e(a._l5[c]);c.addClass("rsNavSelected");a._n5=c}))},_g6:function(){var a=this,c,d;a._j5=!0;c='<div class="rsNav rsTabs">';
|
|
91
|
+
for(var b=0;b<a.numSlides;b++)b===a.numSlides-1&&(style=""),d=a.slides[b],c+='<div class="rsNavItem rsTab">'+d.thumbnail+"</div>";c=e(c+"</div>");a._k5=c;a._l5=c.find(".rsNavItem");a.slider.append(c);a._k5.click(function(b){b=e(b.target).closest(".rsNavItem");b.length&&a.goTo(b.index())})}});e.rsModules.tabs=e.rsProto._f6})(jQuery);
|
|
92
|
+
// jquery.rs.thumbnails v1.0.5
|
|
93
|
+
(function(f){f.extend(f.rsProto,{_h6:function(){var a=this;"thumbnails"===a.st.controlNavigation&&(a._i6={drag:!0,touch:!0,orientation:"horizontal",navigation:!0,arrows:!0,arrowLeft:null,arrowRight:null,spacing:4,arrowsAutoHide:!1,appendSpan:!1,transitionSpeed:600,autoCenter:!0,fitInViewport:!0,firstMargin:!0,paddingTop:0,paddingBottom:0},a.st.thumbs=f.extend({},a._i6,a.st.thumbs),a._j6=!0,!1===a.st.thumbs.firstMargin?a.st.thumbs.firstMargin=0:!0===a.st.thumbs.firstMargin&&(a.st.thumbs.firstMargin=
|
|
94
|
+
a.st.thumbs.spacing),a.ev.on("rsBeforeParseNode",function(a,c,b){c=f(c);b.thumbnail=c.find(".rsTmb").remove();b.thumbnail.length?b.thumbnail=f(document.createElement("div")).append(b.thumbnail).html():(b.thumbnail=c.attr("data-rsTmb"),b.thumbnail||(b.thumbnail=c.find(".rsImg").attr("data-rsTmb")),b.thumbnail=b.thumbnail?'<img src="'+b.thumbnail+'"/>':"")}),a.ev.one("rsAfterPropsSetup",function(){a._k6()}),a._n5=null,a.ev.on("rsOnUpdateNav",function(){var e=f(a._l5[a.currSlideId]);e!==a._n5&&(a._n5&&
|
|
95
|
+
(a._n5.removeClass("rsNavSelected"),a._n5=null),a._l6&&a._m6(a.currSlideId),a._n5=e.addClass("rsNavSelected"))}),a.ev.on("rsOnAppendSlide",function(e,c,b){e="<div"+a._n6+' class="rsNavItem rsThumb">'+a._o6+c.thumbnail+"</div>";b>=a.numSlides?a._q3.append(e):a._l5.eq(b).before(e);a._l5=a._q3.children();a.updateThumbsSize()}),a.ev.on("rsOnRemoveSlide",function(e,c){var b=a._l5.eq(c);b&&(b.remove(),a._l5=a._q3.children(),a.updateThumbsSize())}))},_k6:function(){var a=this,e="rsThumbs",c=a.st.thumbs,
|
|
96
|
+
b="",g,d,h=c.spacing;a._j5=!0;a._c3="vertical"===c.orientation?!1:!0;a._n6=g=h?' style="margin-'+(a._c3?"right":"bottom")+":"+h+'px;"':"";a._g3=0;a._p6=!1;a._m5=!1;a._l6=!1;a._q6=c.arrows&&c.navigation;d=a._c3?"Hor":"Ver";a.slider.addClass("rsWithThumbs rsWithThumbs"+d);b+='<div class="rsNav rsThumbs rsThumbs'+d+'"><div class="'+e+'Container">';a._o6=c.appendSpan?'<span class="thumbIco"></span>':"";for(var j=0;j<a.numSlides;j++)d=a.slides[j],b+="<div"+g+' class="rsNavItem rsThumb">'+d.thumbnail+a._o6+
|
|
97
|
+
"</div>";b=f(b+"</div></div>");g={};c.paddingTop&&(g[a._c3?"paddingTop":"paddingLeft"]=c.paddingTop);c.paddingBottom&&(g[a._c3?"paddingBottom":"paddingRight"]=c.paddingBottom);b.css(g);a._q3=f(b).find("."+e+"Container");a._q6&&(e+="Arrow",c.arrowLeft?a._r6=c.arrowLeft:(a._r6=f('<div class="'+e+" "+e+'Left"><div class="'+e+'Icn"></div></div>'),b.append(a._r6)),c.arrowRight?a._s6=c.arrowRight:(a._s6=f('<div class="'+e+" "+e+'Right"><div class="'+e+'Icn"></div></div>'),b.append(a._s6)),a._r6.click(function(){var b=
|
|
98
|
+
(Math.floor(a._g3/a._t6)+a._u6)*a._t6;a._y3(b>a._l3?a._l3:b)}),a._s6.click(function(){var b=(Math.floor(a._g3/a._t6)-a._u6)*a._t6;a._y3(b<a._m3?a._m3:b)}),c.arrowsAutoHide&&!a.hasTouch&&(a._r6.css("opacity",0),a._s6.css("opacity",0),b.one("mousemove.rsarrowshover",function(){a._l6&&(a._r6.css("opacity",1),a._s6.css("opacity",1))}),b.hover(function(){a._l6&&(a._r6.css("opacity",1),a._s6.css("opacity",1))},function(){a._l6&&(a._r6.css("opacity",0),a._s6.css("opacity",0))})));a._k5=b;a._l5=a._q3.children();
|
|
99
|
+
a.msEnabled&&a.st.thumbs.navigation&&a._q3.css("-ms-touch-action",a._c3?"pan-y":"pan-x");a.slider.append(b);a._u3=!0;a._v6=h;c.navigation&&a._d&&a._q3.css(a._f+"transition-property",a._f+"transform");a._k5.on("click.rs",".rsNavItem",function(){a._m5||a.goTo(f(this).index())});a.ev.off("rsBeforeSizeSet.thumbs").on("rsBeforeSizeSet.thumbs",function(){a._w6=a._c3?a._a4:a._z3;a.updateThumbsSize(!0)})},updateThumbsSize:function(){var a=this,e=a._l5.first(),c={},b=a._l5.length;a._t6=(a._c3?e.outerWidth():
|
|
100
|
+
e.outerHeight())+a._v6;a._w3=b*a._t6-a._v6;c[a._c3?"width":"height"]=a._w3+a._v6;a._x3=a._c3?a._k5.width():a._k5.height();a._m3=-(a._w3-a._x3)-a.st.thumbs.firstMargin;a._l3=a.st.thumbs.firstMargin;a._u6=Math.floor(a._x3/a._t6);if(a._w3<a._x3)a.st.thumbs.autoCenter&&a._o3((a._x3-a._w3)/2),a.st.thumbs.arrows&&a._r6&&(a._r6.addClass("rsThumbsArrowDisabled"),a._s6.addClass("rsThumbsArrowDisabled")),a._l6=!1,a._m5=!1,a._k5.off(a._i1);else if(a.st.thumbs.navigation&&!a._l6&&(a._l6=!0,!a.hasTouch&&a.st.thumbs.drag||
|
|
101
|
+
a.hasTouch&&a.st.thumbs.touch))a._m5=!0,a._k5.on(a._i1,function(b){a._f2(b,!0)});a._d&&(c[a._f+"transition-duration"]="0ms");a._q3.css(c);if(a._u3&&(a.isFullscreen||a.st.thumbs.fitInViewport))a._c3?a._a4=a._w6-a._k5.outerHeight():a._z3=a._w6-a._k5.outerWidth()},setThumbsOrientation:function(a,e){this._u3&&(this.st.thumbs.orientation=a,this._k5.remove(),this.slider.removeClass("rsWithThumbsHor rsWithThumbsVer"),this._k6(),this._k5.off(this._i1),e||this.updateSliderSize(!0))},_o3:function(a){this._g3=
|
|
102
|
+
a;this._d?this._q3.css(this._w1,this._x1+(this._c3?a+this._y1+0:0+this._y1+a)+this._z1):this._q3.css(this._c3?this._w1:this._v1,a)},_y3:function(a,e,c,b,g){var d=this;if(d._l6){e||(e=d.st.thumbs.transitionSpeed);d._g3=a;d._x6&&clearTimeout(d._x6);d._p6&&(d._d||d._q3.stop(),c=!0);var h={};d._p6=!0;d._d?(h[d._f+"transition-duration"]=e+"ms",h[d._f+"transition-timing-function"]=c?f.rsCSS3Easing[d.st.easeOut]:f.rsCSS3Easing[d.st.easeInOut],d._q3.css(h),d._o3(a)):(h[d._c3?d._w1:d._v1]=a+"px",d._q3.animate(h,
|
|
103
|
+
e,c?"easeOutCubic":d.st.easeInOut));b&&(d._g3=b);d._y6();d._x6=setTimeout(function(){d._p6=!1;g&&(d._y3(b,g,!0),g=null)},e)}},_y6:function(){this._q6&&(this._g3===this._l3?this._r6.addClass("rsThumbsArrowDisabled"):this._r6.removeClass("rsThumbsArrowDisabled"),this._g3===this._m3?this._s6.addClass("rsThumbsArrowDisabled"):this._s6.removeClass("rsThumbsArrowDisabled"))},_m6:function(a,e){var c=0,b,f=a*this._t6+2*this._t6-this._v6+this._l3,d=Math.floor(this._g3/this._t6);this._l6&&(this._j6&&(e=!0,
|
|
104
|
+
this._j6=!1),f+this._g3>this._x3?(a===this.numSlides-1&&(c=1),d=-a+this._u6-2+c,b=d*this._t6+this._x3%this._t6+this._v6-this._l3):0!==a?(a-1)*this._t6<=-this._g3+this._l3&&a-1<=this.numSlides-this._u6&&(b=(-a+1)*this._t6+this._l3):b=this._l3,b!==this._g3&&(c=void 0===b?this._g3:b,c>this._l3?this._o3(this._l3):c<this._m3?this._o3(this._m3):void 0!==b&&(e?this._o3(b):this._y3(b))),this._y6())}});f.rsModules.thumbnails=f.rsProto._h6})(jQuery);
|
|
105
|
+
// jquery.rs.video v1.0.8
|
|
106
|
+
(function(e){e.extend(e.rsProto,{_z6:function(){var a=this;a._a7={autoHideArrows:!0,autoHideControlNav:!1,autoHideBlocks:!1,autoHideCaption:!1,youTubeCode:'<iframe src="http://www.youtube.com/embed/%id%?rel=1&autoplay=1&showinfo=0&autoplay=1&wmode=transparent" frameborder="no"></iframe>',vimeoCode:'<iframe src="http://player.vimeo.com/video/%id%?byline=0&portrait=0&autoplay=1" frameborder="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'};a.st.video=e.extend({},a._a7,
|
|
107
|
+
a.st.video);a.ev.on("rsBeforeSizeSet",function(){a._i4&&setTimeout(function(){var b=a._q1,b=b.hasClass("rsVideoContainer")?b:b.find(".rsVideoContainer");a._b7&&a._b7.css({width:b.width(),height:b.height()})},32)});var c=e.browser.mozilla;a.ev.on("rsAfterParseNode",function(b,f,d){b=e(f);if(d.videoURL){c&&(a._d=a._e=!1);f=e('<div class="rsVideoContainer"></div>');var g=e('<div class="rsBtnCenterer"><div class="rsPlayBtn"><div class="rsPlayBtnIcon"></div></div></div>');b.hasClass("rsImg")?d.content=
|
|
108
|
+
f.append(b).append(g):d.content.find(".rsImg").wrap(f).after(g)}})},toggleVideo:function(){return this._i4?this.stopVideo():this.playVideo()},playVideo:function(){var a=this;if(!a._i4){var c=a.currSlide;if(!c.videoURL)return!1;var b=a._c7=c.content,c=c.videoURL,f,d;c.match(/youtu\.be/i)||c.match(/youtube\.com/i)?(d=/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/,(d=c.match(d))&&11==d[7].length&&(f=d[7]),void 0!==f&&(a._b7=a.st.video.youTubeCode.replace("%id%",f))):c.match(/vimeo\.com/i)&&
|
|
109
|
+
(d=/(www\.)?vimeo.com\/(\d+)($|\/)/,(d=c.match(d))&&(f=d[2]),void 0!==f&&(a._b7=a.st.video.vimeoCode.replace("%id%",f)));a.videoObj=e(a._b7);a.ev.trigger("rsOnCreateVideoElement",[c]);a.videoObj.length&&(a._b7=e('<div class="rsVideoFrameHolder"><div class="rsPreloader"></div><div class="rsCloseVideoBtn"><div class="rsCloseVideoIcn"></div></div></div>'),a._b7.find(".rsPreloader").after(a.videoObj),b=b.hasClass("rsVideoContainer")?b:b.find(".rsVideoContainer"),a._b7.css({width:b.width(),height:b.height()}).find(".rsCloseVideoBtn").off("click.rsv").on("click.rsv",
|
|
110
|
+
function(b){a.stopVideo();b.preventDefault();b.stopPropagation();return!1}),b.append(a._b7),a.isIPAD&&b.addClass("rsIOSVideo"),a._d7(),setTimeout(function(){a._b7.addClass("rsVideoActive")},10),a.ev.trigger("rsVideoPlay"),a._i4=!0);return!0}return!1},stopVideo:function(){var a=this;return a._i4?(a.isIPAD&&a.slider.find(".rsCloseVideoBtn").remove(),a._d7(!0),setTimeout(function(){a.ev.trigger("rsOnDestroyVideoElement",[a.videoObj]);var c=a._b7.find("iframe");if(c.length)try{c.attr("src","")}catch(b){}a._b7.remove();
|
|
111
|
+
a._b7=null},16),a.ev.trigger("rsVideoStop"),a._i4=!1,!0):!1},_d7:function(a){var c=[],b=this.st.video;b.autoHideArrows&&(this._b2&&(c.push(this._b2,this._c2),this._d2=!1),this._v5&&c.push(this._v5));b.autoHideControlNav&&this._k5&&c.push(this._k5);b.autoHideBlocks&&this.currSlide.animBlocks&&c.push(this.currSlide.animBlocks);b.autoHideCaption&&this.globalCaption&&c.push(this.globalCaption);if(c.length)for(b=0;b<c.length;b++)a?c[b].removeClass("rsHidden"):c[b].addClass("rsHidden")}});e.rsModules.video=
|
|
112
|
+
e.rsProto._z6})(jQuery);
|
|
113
|
+
// jquery.rs.visible-nearby v1.0.2
|
|
114
|
+
(function(d){d.rsProto._e7=function(){var a=this;a.st.visibleNearby&&a.st.visibleNearby.enabled&&(a._f7={enabled:!0,centerArea:0.6,center:!0,breakpoint:0,breakpointCenterArea:0.8,hiddenOverflow:!0,navigateByCenterClick:!1},a.st.visibleNearby=d.extend({},a._f7,a.st.visibleNearby),a.ev.one("rsAfterPropsSetup",function(){a._g7=a._d1.css("overflow","visible").wrap('<div class="rsVisibleNearbyWrap"></div>').parent();a.st.visibleNearby.hiddenOverflow||a._g7.css("overflow","visible");a._n1=a.st.controlsInside?
|
|
115
|
+
a._g7:a.slider}),a.ev.on("rsAfterSizePropSet",function(){var b,c=a.st.visibleNearby;b=c.breakpoint&&a.width<c.breakpoint?c.breakpointCenterArea:c.centerArea;a._g?(a._z3*=b,a._g7.css({height:a._a4,width:a._z3/b}),a._c=a._z3*(1-b)/2/b):(a._a4*=b,a._g7.css({height:a._a4/b,width:a._z3}),a._c=a._a4*(1-b)/2/b);c.navigateByCenterClick||(a._p=a._g?a._z3:a._a4);c.center&&a._d1.css("margin-"+(a._g?"left":"top"),a._c)}))};d.rsModules.visibleNearby=d.rsProto._e7})(jQuery);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
/* v1.0.3 */
|
|
2
|
+
/* Core RS CSS file. 95% of time you shouldn't change anything here. */
|
|
3
|
+
.royalSlider {
|
|
4
|
+
width: 600px;
|
|
5
|
+
height: 400px;
|
|
6
|
+
position: relative;
|
|
7
|
+
direction: ltr;
|
|
8
|
+
}
|
|
9
|
+
.royalSlider > * {
|
|
10
|
+
float: left;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
.rsWebkit3d .rsSlide,
|
|
15
|
+
.rsWebkit3d .rsContainer,
|
|
16
|
+
.rsWebkit3d .rsThumbs,
|
|
17
|
+
.rsWebkit3d .rsPreloader,
|
|
18
|
+
.rsWebkit3d img,
|
|
19
|
+
.rsWebkit3d .rsOverflow,
|
|
20
|
+
.rsWebkit3d .rsBtnCenterer,
|
|
21
|
+
.rsWebkit3d .rsAbsoluteEl {
|
|
22
|
+
-webkit-backface-visibility: hidden;
|
|
23
|
+
-webkit-transform: translateZ(0);
|
|
24
|
+
}
|
|
25
|
+
.rsFade.rsWebkit3d .rsSlide,
|
|
26
|
+
.rsFade.rsWebkit3d img,
|
|
27
|
+
.rsFade.rsWebkit3d .rsContainer {
|
|
28
|
+
-webkit-transform: none;
|
|
29
|
+
}
|
|
30
|
+
.rsOverflow {
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 100%;
|
|
33
|
+
position: relative;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
float: left;
|
|
36
|
+
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
|
37
|
+
}
|
|
38
|
+
.rsVisibleNearbyWrap {
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: 100%;
|
|
41
|
+
position: relative;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
left: 0;
|
|
44
|
+
top: 0;
|
|
45
|
+
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
|
46
|
+
}
|
|
47
|
+
.rsVisibleNearbyWrap .rsOverflow {
|
|
48
|
+
position: absolute;
|
|
49
|
+
left: 0;
|
|
50
|
+
top: 0;
|
|
51
|
+
|
|
52
|
+
}
|
|
53
|
+
.rsContainer {
|
|
54
|
+
position: relative;
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.rsArrow,
|
|
61
|
+
.rsThumbsArrow {
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.rsThumb {
|
|
66
|
+
float: left;
|
|
67
|
+
position: relative;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
.rsArrow,
|
|
72
|
+
.rsNav,
|
|
73
|
+
.rsThumbsArrow {
|
|
74
|
+
opacity: 1;
|
|
75
|
+
-webkit-transition:opacity 0.3s linear;
|
|
76
|
+
-moz-transition:opacity 0.3s linear;
|
|
77
|
+
-o-transition:opacity 0.3s linear;
|
|
78
|
+
transition:opacity 0.3s linear;
|
|
79
|
+
}
|
|
80
|
+
.rsHidden {
|
|
81
|
+
opacity: 0;
|
|
82
|
+
visibility: hidden;
|
|
83
|
+
-webkit-transition:visibility 0s linear 0.3s,opacity 0.3s linear;
|
|
84
|
+
-moz-transition:visibility 0s linear 0.3s,opacity 0.3s linear;
|
|
85
|
+
-o-transition:visibility 0s linear 0.3s,opacity 0.3s linear;
|
|
86
|
+
transition:visibility 0s linear 0.3s,opacity 0.3s linear;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
.rsGCaption {
|
|
91
|
+
width: 100%;
|
|
92
|
+
float: left;
|
|
93
|
+
text-align: center;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Fullscreen options, very important ^^ */
|
|
97
|
+
.royalSlider.rsFullscreen {
|
|
98
|
+
position: fixed !important;
|
|
99
|
+
height: auto !important;
|
|
100
|
+
width: auto !important;
|
|
101
|
+
margin: 0 !important;
|
|
102
|
+
padding: 0 !important;
|
|
103
|
+
z-index: 2147483647 !important;
|
|
104
|
+
top: 0 !important;
|
|
105
|
+
left: 0 !important;
|
|
106
|
+
bottom: 0 !important;
|
|
107
|
+
right: 0 !important;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.royalSlider .rsSlide.rsFakePreloader {
|
|
111
|
+
opacity: 1 !important;
|
|
112
|
+
-webkit-transition: 0s;
|
|
113
|
+
-moz-transition: 0s;
|
|
114
|
+
-o-transition: 0s;
|
|
115
|
+
transition: 0s;
|
|
116
|
+
display: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.rsSlide {
|
|
120
|
+
position: absolute;
|
|
121
|
+
left: 0;
|
|
122
|
+
top: 0;
|
|
123
|
+
display: block;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
|
|
126
|
+
height: 100%;
|
|
127
|
+
width: 100%;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.royalSlider.rsAutoHeight,
|
|
131
|
+
.rsAutoHeight .rsSlide {
|
|
132
|
+
height: auto;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.rsContent {
|
|
136
|
+
width: 100%;
|
|
137
|
+
height: 100%;
|
|
138
|
+
position: relative;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.rsPreloader {
|
|
142
|
+
position:absolute;
|
|
143
|
+
z-index: 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.rsNav {
|
|
147
|
+
-moz-user-select: -moz-none;
|
|
148
|
+
-webkit-user-select: none;
|
|
149
|
+
user-select: none;
|
|
150
|
+
}
|
|
151
|
+
.rsNavItem {
|
|
152
|
+
-webkit-tap-highlight-color:rgba(0,0,0,0.25);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.rsThumbs {
|
|
156
|
+
cursor: pointer;
|
|
157
|
+
position: relative;
|
|
158
|
+
overflow: hidden;
|
|
159
|
+
float: left;
|
|
160
|
+
z-index: 22;
|
|
161
|
+
}
|
|
162
|
+
.rsTabs {
|
|
163
|
+
float: left;
|
|
164
|
+
background: none !important;
|
|
165
|
+
}
|
|
166
|
+
.rsTabs,
|
|
167
|
+
.rsThumbs {
|
|
168
|
+
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
|
169
|
+
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
.rsVideoContainer {
|
|
174
|
+
/*left: 0;
|
|
175
|
+
top: 0;
|
|
176
|
+
position: absolute;*/
|
|
177
|
+
/*width: 100%;
|
|
178
|
+
height: 100%;
|
|
179
|
+
position: absolute;
|
|
180
|
+
left: 0;
|
|
181
|
+
top: 0;
|
|
182
|
+
float: left;*/
|
|
183
|
+
width: auto;
|
|
184
|
+
height: auto;
|
|
185
|
+
line-height: 0;
|
|
186
|
+
position: relative;
|
|
187
|
+
}
|
|
188
|
+
.rsVideoFrameHolder {
|
|
189
|
+
position: absolute;
|
|
190
|
+
left: 0;
|
|
191
|
+
top: 0;
|
|
192
|
+
background: #141414;
|
|
193
|
+
opacity: 0;
|
|
194
|
+
-webkit-transition: .3s;
|
|
195
|
+
}
|
|
196
|
+
.rsVideoFrameHolder.rsVideoActive {
|
|
197
|
+
opacity: 1;
|
|
198
|
+
}
|
|
199
|
+
.rsVideoContainer iframe,
|
|
200
|
+
.rsVideoContainer video,
|
|
201
|
+
.rsVideoContainer embed,
|
|
202
|
+
.rsVideoContainer .rsVideoObj {
|
|
203
|
+
position: absolute;
|
|
204
|
+
z-index: 50;
|
|
205
|
+
left: 0;
|
|
206
|
+
top: 0;
|
|
207
|
+
width: 100%;
|
|
208
|
+
height: 100%;
|
|
209
|
+
}
|
|
210
|
+
/* ios controls over video bug, shifting video */
|
|
211
|
+
.rsVideoContainer.rsIOSVideo iframe,
|
|
212
|
+
.rsVideoContainer.rsIOSVideo video,
|
|
213
|
+
.rsVideoContainer.rsIOSVideo embed {
|
|
214
|
+
-webkit-box-sizing: border-box;
|
|
215
|
+
-moz-box-sizing: border-box;
|
|
216
|
+
box-sizing: border-box;
|
|
217
|
+
padding-right: 44px;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.rsABlock {
|
|
221
|
+
left: 0;
|
|
222
|
+
top: 0;
|
|
223
|
+
position: absolute;
|
|
224
|
+
z-index: 15;
|
|
225
|
+
-webkit-backface-visibility: hidden;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.grab-cursor {
|
|
229
|
+
cursor:url(grab.png) 8 8, move;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.grabbing-cursor{
|
|
233
|
+
cursor:url(grabbing.png) 8 8, move;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.rsNoDrag {
|
|
237
|
+
cursor: auto;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.rsLink {
|
|
241
|
+
left:0;
|
|
242
|
+
top:0;
|
|
243
|
+
position:absolute;
|
|
244
|
+
width:100%;
|
|
245
|
+
height:100%;
|
|
246
|
+
display:block;
|
|
247
|
+
z-index: 20;
|
|
248
|
+
background: url(blank.gif);
|
|
249
|
+
-webkit-backface-visibility: hidden;
|
|
250
|
+
}
|
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
/* Background */
|
|
2
|
+
.rsDefault,
|
|
3
|
+
.rsDefault .rsOverflow,
|
|
4
|
+
.rsDefault .rsSlide,
|
|
5
|
+
.rsDefault .rsVideoFrameHolder,
|
|
6
|
+
.rsDefault .rsThumbs {
|
|
7
|
+
background: white;
|
|
8
|
+
color: black;
|
|
9
|
+
}
|
|
10
|
+
#socialiteBarSlider.rsDefault .rsSlide{
|
|
11
|
+
background: white;
|
|
12
|
+
}
|
|
13
|
+
#spotlightBarSlider.rsDefault .rsSlide{
|
|
14
|
+
background: white;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
/***************
|
|
19
|
+
*
|
|
20
|
+
* 1. Arrows
|
|
21
|
+
*
|
|
22
|
+
****************/
|
|
23
|
+
|
|
24
|
+
.rsDefault .rsArrow {
|
|
25
|
+
height: 100%;
|
|
26
|
+
width: 44px;
|
|
27
|
+
position: absolute;
|
|
28
|
+
display: block;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
z-index: 21;
|
|
31
|
+
}
|
|
32
|
+
.rsDefault.rsVer .rsArrow {
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 44px;
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
.rsDefault.rsVer .rsArrowLeft { top: 0; left: 0; }
|
|
38
|
+
.rsDefault.rsVer .rsArrowRight { bottom: 0; left: 0; }
|
|
39
|
+
|
|
40
|
+
.rsDefault.rsHor .rsArrowLeft { left: 0; top: 0; }
|
|
41
|
+
.rsDefault.rsHor .rsArrowRight { right: 0; top:0; }
|
|
42
|
+
|
|
43
|
+
.rsDefault .rsArrowIcn {
|
|
44
|
+
width: 32px;
|
|
45
|
+
height: 32px;
|
|
46
|
+
top: 50%;
|
|
47
|
+
left: 50%;
|
|
48
|
+
margin-top:-16px;
|
|
49
|
+
margin-left: -16px;
|
|
50
|
+
|
|
51
|
+
position: absolute;
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
background: url('rs-default.png');
|
|
54
|
+
|
|
55
|
+
background-color: #000;
|
|
56
|
+
background-color: rgba(0,0,0,0.75);
|
|
57
|
+
*background-color: #000;
|
|
58
|
+
|
|
59
|
+
border-radius: 2px;
|
|
60
|
+
}
|
|
61
|
+
.rsDefault .rsArrowIcn:hover {
|
|
62
|
+
background-color: rgba(0,0,0,0.9);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.rsDefault.rsHor .rsArrowLeft .rsArrowIcn { background-position: -64px -32px; }
|
|
66
|
+
.rsDefault.rsHor .rsArrowRight .rsArrowIcn { background-position: -64px -64px; }
|
|
67
|
+
|
|
68
|
+
.rsDefault.rsVer .rsArrowLeft .rsArrowIcn { background-position: -96px -32px; }
|
|
69
|
+
.rsDefault.rsVer .rsArrowRight .rsArrowIcn { background-position: -96px -64px; }
|
|
70
|
+
|
|
71
|
+
.rsDefault .rsArrowDisabled .rsArrowIcn { opacity: .2; filter: alpha(opacity=20); *display: none; }
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
/***************
|
|
75
|
+
*
|
|
76
|
+
* 2. Bullets
|
|
77
|
+
*
|
|
78
|
+
****************/
|
|
79
|
+
|
|
80
|
+
.rsDefault .rsBullets {
|
|
81
|
+
position: absolute;
|
|
82
|
+
z-index: 35;
|
|
83
|
+
left: 0;
|
|
84
|
+
bottom: 0;
|
|
85
|
+
width: 100%;
|
|
86
|
+
height: auto;
|
|
87
|
+
margin: 0 auto;
|
|
88
|
+
|
|
89
|
+
background: #000;
|
|
90
|
+
background: rgba(0,0,0,0.75);
|
|
91
|
+
|
|
92
|
+
text-align: center;
|
|
93
|
+
line-height: 8px;
|
|
94
|
+
overflow: hidden;
|
|
95
|
+
}
|
|
96
|
+
.rsDefault .rsBullet {
|
|
97
|
+
width: 8px;
|
|
98
|
+
height: 8px;
|
|
99
|
+
display: inline-block;
|
|
100
|
+
*display:inline;
|
|
101
|
+
*zoom:1;
|
|
102
|
+
padding: 6px 5px 6px;
|
|
103
|
+
}
|
|
104
|
+
.rsDefault .rsBullet span {
|
|
105
|
+
display: block;
|
|
106
|
+
width: 8px;
|
|
107
|
+
height: 8px;
|
|
108
|
+
border-radius: 50%;
|
|
109
|
+
background: #777;
|
|
110
|
+
background: rgba(255,255,255,0.5);
|
|
111
|
+
}
|
|
112
|
+
.rsDefault .rsBullet.rsNavSelected span {
|
|
113
|
+
background-color: #FFF;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
/***************
|
|
121
|
+
*
|
|
122
|
+
* 3. Thumbnails
|
|
123
|
+
*
|
|
124
|
+
****************/
|
|
125
|
+
|
|
126
|
+
.rsDefault .rsThumbsHor {
|
|
127
|
+
width: 100%;
|
|
128
|
+
height: auto;
|
|
129
|
+
}
|
|
130
|
+
.rsDefault .rsThumbsVer {
|
|
131
|
+
width: 96px;
|
|
132
|
+
height: 100%;
|
|
133
|
+
position: absolute;
|
|
134
|
+
top: 0;
|
|
135
|
+
right: 0;
|
|
136
|
+
}
|
|
137
|
+
.rsDefault.rsWithThumbsHor .rsThumbsContainer {
|
|
138
|
+
position: relative;
|
|
139
|
+
height: 100%;
|
|
140
|
+
}
|
|
141
|
+
.rsDefault.rsWithThumbsVer .rsThumbsContainer {
|
|
142
|
+
position: relative;
|
|
143
|
+
width: 100%;
|
|
144
|
+
}
|
|
145
|
+
.rsDefault .rsThumb {
|
|
146
|
+
float: left;
|
|
147
|
+
overflow: hidden;
|
|
148
|
+
width: 96px;
|
|
149
|
+
height: 72px;
|
|
150
|
+
}
|
|
151
|
+
.rsDefault .rsThumb img {
|
|
152
|
+
width: 100%;
|
|
153
|
+
height: 100%;
|
|
154
|
+
}
|
|
155
|
+
.rsDefault .rsThumb.rsNavSelected {
|
|
156
|
+
background: #02874a;
|
|
157
|
+
}
|
|
158
|
+
.rsDefault .rsThumb.rsNavSelected img {
|
|
159
|
+
opacity: 0.3;
|
|
160
|
+
filter: alpha(opacity=30);
|
|
161
|
+
}
|
|
162
|
+
.rsDefault .rsTmb {
|
|
163
|
+
display: block;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/* Thumbnails with text */
|
|
167
|
+
.rsDefault .rsTmb h5 {
|
|
168
|
+
font-size: 16px;
|
|
169
|
+
margin: 0;
|
|
170
|
+
padding: 0;
|
|
171
|
+
line-height: 20px;
|
|
172
|
+
color: #FFF;
|
|
173
|
+
}
|
|
174
|
+
.rsDefault .rsTmb span {
|
|
175
|
+
color: #DDD;
|
|
176
|
+
margin: 0;
|
|
177
|
+
padding: 0;
|
|
178
|
+
font-size: 13px;
|
|
179
|
+
line-height: 18px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
/* Thumbnails arrow icons */
|
|
185
|
+
.rsDefault .rsThumbsArrow {
|
|
186
|
+
height: 100%;
|
|
187
|
+
width: 20px;
|
|
188
|
+
position: absolute;
|
|
189
|
+
display: block;
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
z-index: 21;
|
|
192
|
+
background: #000;
|
|
193
|
+
background: rgba(0,0,0,0.75);
|
|
194
|
+
}
|
|
195
|
+
.rsDefault .rsThumbsArrow:hover {
|
|
196
|
+
background: rgba(0,0,0,0.9);
|
|
197
|
+
}
|
|
198
|
+
.rsDefault.rsWithThumbsVer .rsThumbsArrow {
|
|
199
|
+
width: 100%;
|
|
200
|
+
height: 20px;
|
|
201
|
+
}
|
|
202
|
+
.rsDefault.rsWithThumbsVer .rsThumbsArrowLeft { top: 0; left: 0; }
|
|
203
|
+
.rsDefault.rsWithThumbsVer .rsThumbsArrowRight { bottom: 0; left: 0; }
|
|
204
|
+
|
|
205
|
+
.rsDefault.rsWithThumbsHor .rsThumbsArrowLeft { left: 0; top: 0; }
|
|
206
|
+
.rsDefault.rsWithThumbsHor .rsThumbsArrowRight { right: 0; top:0; }
|
|
207
|
+
|
|
208
|
+
.rsDefault .rsThumbsArrowIcn {
|
|
209
|
+
width: 16px;
|
|
210
|
+
height: 16px;
|
|
211
|
+
top: 50%;
|
|
212
|
+
left: 50%;
|
|
213
|
+
margin-top:-8px;
|
|
214
|
+
margin-left: -8px;
|
|
215
|
+
position: absolute;
|
|
216
|
+
cursor: pointer;
|
|
217
|
+
background: url('rs-default.png');
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.rsDefault.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -128px -32px; }
|
|
221
|
+
.rsDefault.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -128px -48px; }
|
|
222
|
+
|
|
223
|
+
.rsDefault.rsWithThumbsVer .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -144px -32px; }
|
|
224
|
+
.rsDefault.rsWithThumbsVer .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -144px -48px; }
|
|
225
|
+
|
|
226
|
+
.rsDefault .rsThumbsArrowDisabled { display: none !important; }
|
|
227
|
+
|
|
228
|
+
/* Thumbnails resizing on smaller screens
|
|
229
|
+
@media screen and (min-width: 0px) and (max-width: 800px) {
|
|
230
|
+
.rsDefault .rsThumb {
|
|
231
|
+
width: 59px;
|
|
232
|
+
height: 44px;
|
|
233
|
+
}
|
|
234
|
+
.rsDefault .rsThumbsHor {
|
|
235
|
+
height: 44px;
|
|
236
|
+
}
|
|
237
|
+
.rsDefault .rsThumbsVer {
|
|
238
|
+
width: 59px;
|
|
239
|
+
}
|
|
240
|
+
}*/
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
/***************
|
|
246
|
+
*
|
|
247
|
+
* 4. Tabs
|
|
248
|
+
*
|
|
249
|
+
****************/
|
|
250
|
+
|
|
251
|
+
.rsDefault .rsTabs {
|
|
252
|
+
width: 100%;
|
|
253
|
+
height: auto;
|
|
254
|
+
margin: 0 auto;
|
|
255
|
+
text-align:center;
|
|
256
|
+
overflow: hidden; padding-top: 12px; position: relative;
|
|
257
|
+
}
|
|
258
|
+
.rsDefault .rsTab {
|
|
259
|
+
display: inline-block;
|
|
260
|
+
cursor: pointer;
|
|
261
|
+
text-align: center;
|
|
262
|
+
height: auto;
|
|
263
|
+
width: auto;
|
|
264
|
+
color: #333;
|
|
265
|
+
padding: 5px 13px 6px;
|
|
266
|
+
min-width: 72px;
|
|
267
|
+
border: 1px solid #D9D9DD;
|
|
268
|
+
border-right: 1px solid #f5f5f5;
|
|
269
|
+
text-decoration: none;
|
|
270
|
+
|
|
271
|
+
background-color: #FFF;
|
|
272
|
+
background-image: -webkit-linear-gradient(top, #fefefe, #f4f4f4);
|
|
273
|
+
background-image: -moz-linear-gradient(top, #fefefe, #f4f4f4);
|
|
274
|
+
background-image: linear-gradient(to bottom, #fefefe, #f4f4f4);
|
|
275
|
+
|
|
276
|
+
-webkit-box-shadow: inset 1px 0 0 #fff;
|
|
277
|
+
box-shadow: inset 1px 0 0 #fff;
|
|
278
|
+
|
|
279
|
+
*display:inline;
|
|
280
|
+
*zoom:1;
|
|
281
|
+
}
|
|
282
|
+
.rsDefault .rsTab:first-child {
|
|
283
|
+
-webkit-border-top-left-radius: 4px;
|
|
284
|
+
border-top-left-radius: 4px;
|
|
285
|
+
-webkit-border-bottom-left-radius: 4px;
|
|
286
|
+
border-bottom-left-radius: 4px;
|
|
287
|
+
}
|
|
288
|
+
.rsDefault .rsTab:last-child {
|
|
289
|
+
-webkit-border-top-right-radius: 4px;
|
|
290
|
+
border-top-right-radius: 4px;
|
|
291
|
+
-webkit-border-bottom-right-radius: 4px;
|
|
292
|
+
border-bottom-right-radius: 4px;
|
|
293
|
+
|
|
294
|
+
border-right: 1px solid #cfcfcf;
|
|
295
|
+
}
|
|
296
|
+
.rsDefault .rsTab:active {
|
|
297
|
+
border: 1px solid #D9D9DD;
|
|
298
|
+
background-color: #f4f4f4;
|
|
299
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
|
|
300
|
+
}
|
|
301
|
+
.rsDefault .rsTab.rsNavSelected {
|
|
302
|
+
color: #FFF;
|
|
303
|
+
border: 1px solid #999;
|
|
304
|
+
text-shadow: 1px 1px #838383;
|
|
305
|
+
box-shadow: 0 1px 9px rgba(102, 102, 102, 0.65) inset;
|
|
306
|
+
background: #ACACAC;
|
|
307
|
+
background-image: -webkit-linear-gradient(top, #ACACAC, #BBB);
|
|
308
|
+
background-image: -moz-llinear-gradient(top, #ACACAC, #BBB);
|
|
309
|
+
background-image: linear-gradient(to bottom, #ACACAC, #BBB);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
/***************
|
|
317
|
+
*
|
|
318
|
+
* 5. Fullscreen button
|
|
319
|
+
*
|
|
320
|
+
****************/
|
|
321
|
+
|
|
322
|
+
.rsDefault .rsFullscreenBtn {
|
|
323
|
+
right: 0;
|
|
324
|
+
top: 0;
|
|
325
|
+
width: 44px;
|
|
326
|
+
height: 44px;
|
|
327
|
+
z-index: 22;
|
|
328
|
+
display: block;
|
|
329
|
+
position: absolute;
|
|
330
|
+
cursor: pointer;
|
|
331
|
+
|
|
332
|
+
}
|
|
333
|
+
.rsDefault .rsFullscreenIcn {
|
|
334
|
+
display: block;
|
|
335
|
+
margin: 6px;
|
|
336
|
+
width: 32px;
|
|
337
|
+
height: 32px;
|
|
338
|
+
|
|
339
|
+
background: url('rs-default.png') 0 0;
|
|
340
|
+
background-color: #000;
|
|
341
|
+
background-color: rgba(0,0,0,0.75);
|
|
342
|
+
*background-color: #000;
|
|
343
|
+
border-radius: 2px;
|
|
344
|
+
|
|
345
|
+
}
|
|
346
|
+
.rsDefault .rsFullscreenIcn:hover {
|
|
347
|
+
background-color: rgba(0,0,0,0.9);
|
|
348
|
+
}
|
|
349
|
+
.rsDefault.rsFullscreen .rsFullscreenIcn {
|
|
350
|
+
background-position: -32px 0;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
/***************
|
|
358
|
+
*
|
|
359
|
+
* 6. Play/close video button
|
|
360
|
+
*
|
|
361
|
+
****************/
|
|
362
|
+
|
|
363
|
+
.rsDefault .rsPlayBtn {
|
|
364
|
+
-webkit-tap-highlight-color:rgba(0,0,0,0.3);
|
|
365
|
+
width:64px;
|
|
366
|
+
height:64px;
|
|
367
|
+
margin-left:-32px;
|
|
368
|
+
margin-top:-32px;
|
|
369
|
+
cursor: pointer;
|
|
370
|
+
}
|
|
371
|
+
.rsDefault .rsPlayBtnIcon {
|
|
372
|
+
width:64px;
|
|
373
|
+
display:block;
|
|
374
|
+
height:64px;
|
|
375
|
+
-webkit-border-radius: 4px;
|
|
376
|
+
border-radius: 4px;
|
|
377
|
+
|
|
378
|
+
-webkit-transition: .3s;
|
|
379
|
+
-moz-transition: .3s;
|
|
380
|
+
transition: .3s;
|
|
381
|
+
|
|
382
|
+
background:url(rs-default.png) no-repeat 0 -32px;
|
|
383
|
+
background-color: #000;
|
|
384
|
+
background-color: rgba(0,0,0,0.75);
|
|
385
|
+
*background-color: #000;
|
|
386
|
+
}
|
|
387
|
+
.rsDefault .rsPlayBtn:hover .rsPlayBtnIcon {
|
|
388
|
+
background-color: rgba(0,0,0,0.9);
|
|
389
|
+
}
|
|
390
|
+
.rsDefault .rsBtnCenterer {
|
|
391
|
+
position:absolute;
|
|
392
|
+
left:50%;
|
|
393
|
+
top:50%;
|
|
394
|
+
}
|
|
395
|
+
.rsDefault .rsCloseVideoBtn {
|
|
396
|
+
right: 0;
|
|
397
|
+
top: 0;
|
|
398
|
+
width: 44px;
|
|
399
|
+
height: 44px;
|
|
400
|
+
z-index: 500;
|
|
401
|
+
position: absolute;
|
|
402
|
+
cursor: pointer;
|
|
403
|
+
-webkit-backface-visibility: hidden;
|
|
404
|
+
-webkit-transform: translateZ(0);
|
|
405
|
+
|
|
406
|
+
}
|
|
407
|
+
.rsDefault .rsCloseVideoBtn.rsiOSBtn {
|
|
408
|
+
top: -38px;
|
|
409
|
+
right: -6px;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.rsDefault .rsCloseVideoIcn {
|
|
413
|
+
margin: 6px;
|
|
414
|
+
width: 32px;
|
|
415
|
+
height: 32px;
|
|
416
|
+
background: url('rs-default.png') -64px 0;
|
|
417
|
+
background-color: #000;
|
|
418
|
+
background-color: rgba(0,0,0,0.75);
|
|
419
|
+
*background-color: #000;
|
|
420
|
+
}
|
|
421
|
+
.rsDefault .rsCloseVideoIcn:hover {
|
|
422
|
+
background-color: rgba(0,0,0,0.9);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
/***************
|
|
428
|
+
*
|
|
429
|
+
* 7. Preloader
|
|
430
|
+
*
|
|
431
|
+
****************/
|
|
432
|
+
|
|
433
|
+
.rsDefault .rsPreloader {
|
|
434
|
+
width:20px;
|
|
435
|
+
height:20px;
|
|
436
|
+
background-image:url(../preloaders/preloader-white.gif);
|
|
437
|
+
|
|
438
|
+
left:50%;
|
|
439
|
+
top:50%;
|
|
440
|
+
margin-left:-10px;
|
|
441
|
+
margin-top:-10px;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
/***************
|
|
448
|
+
*
|
|
449
|
+
* 8. Global caption
|
|
450
|
+
*
|
|
451
|
+
****************/
|
|
452
|
+
.rsDefault .rsGCaption {
|
|
453
|
+
position: absolute;
|
|
454
|
+
float: none;
|
|
455
|
+
bottom: 6px;
|
|
456
|
+
left: 6px;
|
|
457
|
+
text-align: left;
|
|
458
|
+
|
|
459
|
+
background: rgb(0, 0, 0);
|
|
460
|
+
background: rgba(0, 0, 0, 0.75);
|
|
461
|
+
|
|
462
|
+
color: #FFF;
|
|
463
|
+
padding: 2px 8px;
|
|
464
|
+
width: auto;
|
|
465
|
+
font-size: 12px;
|
|
466
|
+
border-radius: 2px;
|
|
467
|
+
}
|
|
Binary file
|
metadata
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: realslider
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.3.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Juan Carlos
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2014-01-06 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: bundler
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ~>
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '1.3'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ~>
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '1.3'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rake
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - '>='
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - '>='
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
41
|
+
description: Sliderreal gem
|
|
42
|
+
email:
|
|
43
|
+
- jchinojob7@gmail.com
|
|
44
|
+
executables: []
|
|
45
|
+
extensions: []
|
|
46
|
+
extra_rdoc_files: []
|
|
47
|
+
files:
|
|
48
|
+
- lib/realslider/version.rb
|
|
49
|
+
- lib/realslider/engine.rb
|
|
50
|
+
- lib/realslider.rb
|
|
51
|
+
- vendor/assets/stylesheets/rs-default.png
|
|
52
|
+
- vendor/assets/stylesheets/grabbing.png
|
|
53
|
+
- vendor/assets/stylesheets/blank.gif
|
|
54
|
+
- vendor/assets/stylesheets/rs-default.css
|
|
55
|
+
- vendor/assets/stylesheets/grab.png
|
|
56
|
+
- vendor/assets/stylesheets/realslider.css
|
|
57
|
+
- vendor/assets/javascripts/realslider.js
|
|
58
|
+
- README.md
|
|
59
|
+
homepage: ''
|
|
60
|
+
licenses:
|
|
61
|
+
- MIT
|
|
62
|
+
metadata: {}
|
|
63
|
+
post_install_message:
|
|
64
|
+
rdoc_options: []
|
|
65
|
+
require_paths:
|
|
66
|
+
- lib
|
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
|
+
requirements:
|
|
69
|
+
- - '>='
|
|
70
|
+
- !ruby/object:Gem::Version
|
|
71
|
+
version: '0'
|
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
|
+
requirements:
|
|
74
|
+
- - '>='
|
|
75
|
+
- !ruby/object:Gem::Version
|
|
76
|
+
version: '0'
|
|
77
|
+
requirements: []
|
|
78
|
+
rubyforge_project:
|
|
79
|
+
rubygems_version: 2.0.6
|
|
80
|
+
signing_key:
|
|
81
|
+
specification_version: 4
|
|
82
|
+
summary: Sliderreal gem
|
|
83
|
+
test_files: []
|