<?xml version='1.0' encoding='UTF-8'?><uidget><metadata><name>Gallery</name><description>Add an image gallery</description><help><![CDATA[Display a list of images. Different styles are possible: horizontal gallery, slider, thumbnails with a preview...]]></help><api_version>1.0</api_version><size height='200' width='850' /><blog en='550' /></metadata><view><content>
&lt;div&gt;

&lt;/div&gt;</content><properties><images_selector default='[]' default_action='true' help='Choose the images to add to your gallery.' icon='folder' name='imgList' /><select class='uic_prop_type' default='&apos;gh&apos;' display='Horizontal Gallery|Preview Gallery|Slider|Carrousel (old)' help='Set the style of the gallery.' name='type' title='Gallery type' values='gh|gp|s|c' /><select class='uic_prop_list_position' default='&apos;b&apos;' display='Bottom|Top|No Preview' help='Set the position of the thumbnails.' name='list_position' title='List position' values='b|t|n' /><select class='uic_prop_min_height' default='&apos;s&apos;' display='XS|S|M|L|XL' help='Set the minimum height of displayed images.' name='min_height' title='Image height' values='xs|s|m|l|xl' /><checkbox class='uic_prop_slider_anim' default='false' help='Image width will be adjusted to fit the visitor&apos;s browser.' name='slider_width' value='Full screen width' /><checkbox default='false' help='Enable a parallax effect: when the page is scrolled, the image displayed scrolls slightly slower to create a nice 3D effect.' name='parallax' value='Parallax' /><checkbox class='uic_auto_play' default='false' feature='carousel_auto_play' help='By activating this feature, images will switch automatically.' name='auto_play' value='Auto Play' /><checkbox class='uic_prop_thumb' default='false' help='By clicking on the image, your visitors can see it fullscreen.' name='thumb' value='Fullscreen on click' /><checkbox class='uic_prop_protect' default='false' feature='image_protection' help='By activating this feature, &lt;b&gt;your visitors will not be able to download these images&lt;/b&gt; by right clicking on an image or by drag-dropping it or by browsing the source of the page.' name='protect' value='Anti-download' /></properties><design_properties><select class='uic_prop_slider_nav' default='&apos;arrow&apos;' display='Arrows|Dots|None' help='Set the image navigation style.' name='slider_nav' title='Navigation style' values='arrow|dot|none' /><select class='uic_prop_hover_effect' default='&apos;g&apos;' display='None|Gradient|Fade|Color filter|Flash' help='Choose the hover effect' name='hover_effect' title='Hover effect' values='n|g|fa|c|f' /><select class='uic_prop_slider_anim' default='&apos;slide&apos;' display='Slide|Fade' help='Set the animation when image changes.' name='slider_anim' title='Animation' values='slide|fade' /><select class='uic_prop_preview_type' default='&apos;c&apos;' display='Image with margins|Image cropped' help='Depending on its size, the image can be higher or wider than the zone where it will be displayed. You can choose with this option whether the image should be cropped (its borders will be hidden) or shown entirely (with margins around it).' name='preview_type' title='Image filling' values='m|c' /><number class='uic_prop_scroll' default='1' help='Number of images to be scrolled by for each click on the previous or next button.' minimum='1' name='scroll' title='Images to scroll' /><number class='uic_prop_start' default='1' help='Image number you want the carousel to be positioned at on load.' minimum='1' name='start' title='First image' /><number class='uic_prop_col' default='3' help='Number of columns of the gallery.' maximum='5' minimum='1' name='col' title='Columns' /><slider class='uic_prop_gap' default='5' help='Gap between each column of the gallery.' maximum='20' minimum='0' name='gap' title='Gap' /><select class='uic_prop_speed' default='&apos;normal&apos;' display='Fast|Normal|Slow' help='Speed of the animation when pressing the previous and next buttons.' name='animationSpeed' title='Animation speed' values='fast|normal|slow' /><radio class='filterRadio' default='&apos;none&apos;' display='None|Grayscale|Blur|Invert|Contrast|Color or Gradient' help='Select the filter for the image.&lt;br&gt; &lt;b&gt;None&lt;/b&gt; no filter&lt;br&gt; &lt;b&gt;Grayscale&lt;/b&gt; remove all the colors&lt;br&gt; &lt;b&gt;Blur&lt;/b&gt; blur the image&lt;br&gt; &lt;b&gt;Invert&lt;/b&gt; invert all the colors&lt;br&gt; &lt;b&gt;Contrast&lt;/b&gt; more lightness differences&lt;br&gt; &lt;b&gt;Color or gradient&lt;/b&gt; add a color transparent overlay' name='filter' title='Filter' values='none|grayscale|blur|invert|contrast|color' /><gradient default='[&apos;vertical&apos;,&apos;50%!rgba(0,0,0,0.5)&apos;]' name='gradient_colors' style='display:none;' /></design_properties></view><script>(function(b){b.fn.jcarousel=function(d){return this.each(function(){new a(this,d)
})
};
var c={vertical:false,start:1,offset:1,size:null,scroll:3,visible:null,animation:&quot;normal&quot;,easing:&quot;swing&quot;,auto:0,wrap:null,initCallback:null,reloadCallback:null,itemLoadCallback:null,itemFirstInCallback:null,itemFirstOutCallback:null,itemLastInCallback:null,itemLastOutCallback:null,itemVisibleInCallback:null,itemVisibleOutCallback:null,buttonNextHTML:&quot;&lt;div&gt;&lt;/div&gt;&quot;,buttonPrevHTML:&quot;&lt;div&gt;&lt;/div&gt;&quot;,buttonNextEvent:&quot;click&quot;,buttonPrevEvent:&quot;click&quot;,buttonNextCallback:null,buttonPrevCallback:null};
b.jcarousel=function(l,m){this.options=b.extend({},c,m||{});
this.locked=false;
this.container=null;
this.clip=null;
this.list=null;
this.buttonNext=null;
this.itemDimension=this.options.itemDimension||85;
this.buttonPrev=null;
this.wh=!this.options.vertical?&quot;width&quot;:&quot;height&quot;;
this.lt=!this.options.vertical?&quot;left&quot;:&quot;top&quot;;
if(l.nodeName==&quot;UL&quot;||l.nodeName==&quot;OL&quot;){this.list=b(l);
this.container=this.list.parent();
if(this.container.hasClass(&quot;jcarousel-clip&quot;)){if(!this.container.parent().hasClass(&quot;jcarousel-container&quot;)){this.container=this.container.wrap(&quot;&lt;div&gt;&lt;/div&gt;&quot;)
}this.container=this.container.parent()
}else{if(!this.container.hasClass(&quot;jcarousel-container&quot;)){this.container=this.list.wrap(&quot;&lt;div&gt;&lt;/div&gt;&quot;).parent()
}}var j=l.className.split(&quot; &quot;);
for(var h=0;
h&lt;j.length;
h++){if(j[h].indexOf(&quot;jcarousel-skin&quot;)!=-1){this.list.removeClass(j[h]);
this.container.addClass(j[h]);
break
}}}else{this.container=b(l);
this.list=b(l).children(&quot;ul,ol&quot;)
}this.clip=this.list.parent();
if(!this.clip.length||!this.clip.hasClass(&quot;jcarousel-clip&quot;)){this.clip=this.list.wrap(&quot;&lt;div&gt;&lt;/div&gt;&quot;).parent()
}this.buttonPrev=b(&quot;.jcarousel-prev&quot;,this.container);
if(this.buttonPrev.size()==0&amp;&amp;this.options.buttonPrevHTML!=null){this.buttonPrev=this.clip.before(this.options.buttonPrevHTML).prev()
}this.buttonPrev.addClass(this.className(&quot;jcarousel-prev&quot;));
this.buttonNext=b(&quot;.jcarousel-next&quot;,this.container);
if(this.buttonNext.size()==0&amp;&amp;this.options.buttonNextHTML!=null){this.buttonNext=this.clip.before(this.options.buttonNextHTML).prev()
}this.buttonNext.addClass(this.className(&quot;jcarousel-next&quot;));
this.clip.addClass(this.className(&quot;jcarousel-clip&quot;));
this.list.addClass(this.className(&quot;jcarousel-list&quot;));
this.container.addClass(this.className(&quot;jcarousel-container&quot;));
var k=this.options.visible!=null?Math.ceil(this.clipping()/this.options.visible):null;
var d=this.list.children(&quot;li&quot;);
this.nbrItems=d.length;
var g=this;
if(d.size()&gt;0){var f=0,h=this.options.offset;
d.each(function(e,i){g.format(this,h++);
f+=g.itemDimension
});
this.list.css(this.wh,f+&quot;px&quot;);
if(!m||m.size==undefined){this.options.size=d.size()
}}this.container.css(&quot;display&quot;,&quot;block&quot;);
this.buttonNext.css(&quot;display&quot;,&quot;block&quot;);
this.buttonPrev.css(&quot;display&quot;,&quot;block&quot;);
this.funcNext=function(){g.next()
};
this.funcPrev=function(){g.prev()
};
if(this.options.initCallback!=null){this.options.initCallback(this,&quot;init&quot;)
}this.setup()
};
var a=b.jcarousel;
a.fn=a.prototype={jcarousel:&quot;0.2.2&quot;};
a.fn.extend=a.extend=b.extend;
a.fn.extend({setup:function(){this.first=1;
this.last=null;
this.prevFirst=null;
this.prevLast=null;
this.animating=false;
this.timer=null;
this.tail=null;
this.inTail=false;
this.currentItem=this.options.start;
if(this.locked){return
}this.list.css(this.lt,this.pos(this.options.offset)+&quot;px&quot;);
var d=this.pos(this.currentItem);
this.prevFirst=this.prevLast=null;
this.animate(d,false)
},reset:function(){this.list.empty();
this.list.css(this.lt,&quot;0px&quot;);
this.list.css(this.wh,&quot;0px&quot;);
if(this.options.initCallback!=null){this.options.initCallback(this,&quot;reset&quot;)
}this.setup()
},lock:function(){this.locked=true;
this.buttons()
},unlock:function(){this.locked=false;
this.buttons()
},size:function(d){if(d!=undefined){this.options.size=d;
if(!this.locked){this.buttons()
}}return this.options.size
},has:function(f,g){if(g==undefined||!g){g=f
}for(var d=f;
d&lt;=g;
d++){var h=this.get(d).get(0);
if(!h||b(h).hasClass(&quot;jcarousel-item-placeholder&quot;)){return false
}}return true
},get:function(d){return b(&quot;.jcarousel-item-&quot;+d,this.list)
},next:function(){this.stopAuto();
if(this.canNext()){this.scroll(this.currentItem+this.options.scroll)
}else{this.scroll(1)
}},prev:function(){this.stopAuto();
this.scroll(this.currentItem-this.options.scroll)
},scroll:function(e,d){if(this.locked||this.animating){return
}this.currentItem=e;
this.animate(this.pos(e),d)
},pos:function(d){if(this.locked||this.animating){return
}return -(d-1)*this.itemDimension
},animate:function(g,d){if(this.locked||this.animating){return
}this.animating=true;
var e=this;
var f=function(){e.animating=false;
if(g==0){e.list.css(e.lt,0)
}if(e.options.wrap==&quot;both&quot;||e.options.wrap==&quot;last&quot;||e.options.size==null||e.last&lt;e.options.size){e.startAuto()
}e.buttons();
e.notify(&quot;onAfterAnimation&quot;)
};
this.notify(&quot;onBeforeAnimation&quot;);
if(!this.options.animation||d==false){this.list.css(this.lt,g+&quot;px&quot;);
f()
}else{var h=!this.options.vertical?{left:g}:{top:g};
this.list.animate(h,this.options.animation,this.options.easing,f)
}},startAuto:function(e){if(e!=undefined){this.options.auto=e
}if(this.options.auto==0){return this.stopAuto()
}if(this.timer!=null){return
}var d=this;
this.timer=setTimeout(function(){d.next()
},this.options.auto*1000)
},stopAuto:function(){if(this.timer==null){return
}clearTimeout(this.timer);
this.timer=null
},canNext:function(){var e=-this.pos(this.currentItem)+this.clipping();
var d=-this.pos(this.nbrItems+1)-10;
return d&gt;=e
},canPrev:function(){return(this.currentItem-this.options.scroll)&gt;0
},buttons:function(f,e){f=f||this.canNext();
e=e||this.canPrev();
var d=this;
this.buttonNext[f?&quot;bind&quot;:&quot;unbind&quot;](this.options.buttonNextEvent,this.funcNext)[f?&quot;removeClass&quot;:&quot;addClass&quot;](this.className(&quot;jcarousel-next-disabled&quot;)).prop(&quot;disabled&quot;,f?false:true);
this.buttonPrev[e?&quot;bind&quot;:&quot;unbind&quot;](this.options.buttonPrevEvent,this.funcPrev)[e?&quot;removeClass&quot;:&quot;addClass&quot;](this.className(&quot;jcarousel-prev-disabled&quot;)).prop(&quot;disabled&quot;,e?false:true)
},notify:function(d){},create:function(d){return this.format(&quot;&lt;li&gt;&lt;/li&gt;&quot;,d)
},format:function(g,f){var d=b(g).addClass(this.className(&quot;jcarousel-item&quot;)).addClass(this.className(&quot;jcarousel-item-&quot;+f));
d.attr(&quot;jcarouselindex&quot;,f);
return d
},className:function(d){return d+&quot; &quot;+d+(!this.options.vertical?&quot;-horizontal&quot;:&quot;-vertical&quot;)
},clipping:function(){return !this.options.vertical?this.clip[0].offsetWidth-a.intval(this.clip.css(&quot;borderLeftWidth&quot;))-a.intval(this.clip.css(&quot;borderRightWidth&quot;)):this.clip[0].offsetHeight-a.intval(this.clip.css(&quot;borderTopWidth&quot;))-a.intval(this.clip.css(&quot;borderBottomWidth&quot;))
},index:function(d,e){if(e==undefined){e=this.options.size
}return Math.round((((d-1)/e)-Math.floor((d-1)/e))*e)+1
}});
a.extend({defaults:function(e){b.extend(c,e)
},intval:function(d){d=parseInt(d);
return isNaN(d)?0:d
}})
})(jQuery);
UI_List.UI_Carousel={initialize:function(a){this.component=a;
a.setOptions([&quot;locked&quot;,&quot;fixed&quot;,&quot;footer&quot;,&quot;sticky&quot;])
},buildImg:function(a){if(a.width&gt;a.height){var b=[75,75*a.height/a.width];
b.push(0);
b.push((75-b[1])/2)
}else{var b=[75*a.width/a.height,75];
b.push((75-b[0])/2);
b.push(0)
}return $(document).setImage(a,b[0],b[1],{protect:this._protected()}).data(&quot;file_id&quot;,a.id).css({top:b[3],left:b[2]})
},verticalImgNode:function(d,g,c){var f=d.component.data.col,a=d.component.data.gap,b=(d.div.find(&quot;.gallery-vertical&quot;).innerWidth()-((f-1)*a))/f,i=b*c.height/c.width,e=bestImgSrc(c,b,i);
return $(&quot;&lt;div&gt;&quot;).addClass(&quot;img_click&quot;).data(&quot;file_id&quot;,c.id).data(&quot;index&quot;,g).css({&quot;margin-bottom&quot;:a,height:i,width:b}).cdnSrc(e,b,i)
},horizontalImgNode:function(d,b,e,a){var c=bestImgSrc(b,a,e);
return $(&quot;&lt;div&gt;&quot;).addClass(&quot;img_click&quot;).data(&quot;file_id&quot;,b.id).data(&quot;index&quot;,d).data(&quot;img&quot;,b).css({height:e,width:a}).cdnSrc(c,a,e)
},sliderImgNode:function(d,e,b){var f=&quot;img_click out&quot;,a=(this.component.data.type==&quot;s&quot;&amp;&amp;this.component.data.slider_width)?$(window).width():b.width;
url=bestImgSrc(b,a,b.height);
if(e==d.div.find(&quot;.gallery-slider&quot;).data().currentI){f=&quot;img_click in&quot;
}return $(&quot;&lt;div&gt;&lt;/div&gt;&quot;).addClass(f).data(&quot;file_id&quot;,b.id).data(&quot;index&quot;,e).cdnSrc(url,a,b.height)
},addPinterestNode:function(b){var a=this;
Misc.poll(function(){return $(&quot;.addthis_button_pinterest&quot;).length&gt;0
},function(){var c=$(&quot;&lt;div class=pin-it&gt;&quot;).hide().appendTo(a.div);
a.component.data.imgList.each(function(d){$(&quot;&lt;img&gt;&quot;).attr(&quot;src&quot;,d.url).appendTo(c)
})
})
},sliderNavigation:function(e,b,f){var h=b.div.find(&quot;.gallery-nav&quot;),g=b.div.find(&quot;.gallery-slider&quot;),a=function(n,m){var o=&quot;left&quot;,k=g.find(&quot;.in&quot;).data().index,l=0,i=b.component.data.imgList.length-1;
if(m===undefined){if(n){o=&quot;left&quot;;
l=k-1;
if(l&lt;0){l=i
}}else{o=&quot;right&quot;;
l=k+1;
if(l&gt;i){l=0
}}}else{l=m.data(&quot;imageID&quot;);
if(k&lt;l){o=&quot;right&quot;
}}if(g.find(&quot;.gallery-dot&quot;).length){if(l==i&amp;&amp;k==0){o=&quot;left&quot;
}g.find(&quot;.gallery-dot.selected&quot;).removeClass(&quot;selected&quot;);
$(g.find(&quot;.gallery-dot&quot;)[l]).addClass(&quot;selected&quot;)
}if(k!=l){b.slideTo(b,g,o,k,l)
}};
if(e==&quot;none&quot;){return false
}if(f&gt;5||e==&quot;arrow&quot;){$(&quot;&lt;div class=&apos;gallery-arrow left&apos;&gt;&lt;span class=&apos;fonticon&apos;&gt;&quot;+$.fn.fonticon(&quot;arrow-left&quot;)+&quot;&lt;/span&gt;&lt;/div&gt;&quot;).appendTo(h);
$(&quot;&lt;div class=&apos;gallery-arrow right&apos;&gt;&lt;span class=&apos;fonticon&apos;&gt;&quot;+$.fn.fonticon(&quot;arrow-right&quot;)+&quot;&lt;/span&gt;&lt;/div&gt;&quot;).appendTo(h);
g.find(&quot;.gallery-arrow&quot;).on(&quot;click&quot;,function(){if(!g.hasClass(&quot;wait&quot;)){a($(this).hasClass(&quot;left&quot;))
}})
}else{for(var d=0;
d&lt;f;
d++){var j=&quot;&quot;;
if(!d){j=&quot; selected&quot;
}$(&quot;&lt;div class=&apos;gallery-dot&quot;+j+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(h).data(&quot;imageID&quot;,d)
}g.find(&quot;.gallery-dot&quot;).on(&quot;click&quot;,function(){if(!g.hasClass(&quot;wait&quot;)){a(null,$(this))
}})
}g.swipe(a)
},setPreview:function(a,b){var f=this.component.data.preview_type,e=this.div.find(&quot;.gallery-preview-image&quot;),d=310;
if(f==&quot;c&quot;){e.removeClass(&quot;margin&quot;);
e.addClass(&quot;crop&quot;)
}else{e.removeClass(&quot;crop&quot;);
e.addClass(&quot;margin&quot;)
}e.fadeOut(d,function(){var g=a.component.H()-a._min_height_value(a.component.data.min_height);
if(a.component.data.type==&quot;gp&quot;&amp;&amp;a.component.data.gap){g=g-a.component.data.gap
}var c=bestImgSrc(a.component.data.imgList[b],a.component.W(),g);
e.css({height:g}).data(&quot;index&quot;,b).cdnSrc(c,a.component.W(),g)
}).fadeIn(d,function(){if(!e.is(&quot;:visible&quot;)){e.show()
}})
},slideTo:function(a,d,f,b,e){d.addClass(&quot;wait&quot;).data(&quot;currentI&quot;,e);
if(a.component.data.slider_anim==&quot;slide&quot;){if(f==&quot;right&quot;){a.div.find(&quot;.img_click&quot;).each(function(g,c){var h=$(c).data().index;
if(h==b){$(c).removeClass(&quot;in&quot;).addClass(&quot;in-out&quot;);
setTimeout(function(){a.div.find(&quot;.gallery-slider&quot;).append($(c).removeClass(&quot;in-out&quot;).addClass(&quot;out&quot;).data(&quot;index&quot;,h))
},1050)
}else{if(h==e){$(c).removeClass(&quot;out&quot;).addClass(&quot;out-in&quot;);
setTimeout(function(){$(c).removeClass(&quot;out-in&quot;).addClass(&quot;in&quot;)
},1050)
}}})
}else{a.div.find(&quot;.img_click&quot;).each(function(g,c){var h=$(c).data().index;
if(h==b){$(c).removeClass(&quot;in&quot;).addClass(&quot;out&quot;)
}else{if(h==e){a.div.find(&quot;.gallery-slider&quot;).prepend($(c).data(&quot;index&quot;,h).removeClass(&quot;out&quot;).addClass(&quot;in-out&quot;));
$(c).removeClass(&quot;in-out&quot;).addClass(&quot;in&quot;)
}}})
}}else{a.div.find(&quot;.img_click&quot;).each(function(g,c){var h=$(c).data().index;
if(h==b){$(c).removeClass(&quot;in&quot;).addClass(&quot;in-out&quot;);
setTimeout(function(){$(c).removeClass(&quot;in-out&quot;).addClass(&quot;out&quot;)
},1050)
}else{if(h==e){$(c).removeClass(&quot;out&quot;).addClass(&quot;out-in&quot;);
setTimeout(function(){$(c).removeClass(&quot;out-in&quot;).addClass(&quot;in&quot;)
},1050)
}}})
}if(d.find(&quot;.gallery-dot&quot;).length){d.find(&quot;.gallery-dot.selected&quot;).removeClass(&quot;selected&quot;);
$(d.find(&quot;.gallery-dot&quot;)[e]).addClass(&quot;selected&quot;)
}setTimeout(function(){d.removeClass(&quot;wait&quot;)
},1050)
},buildList:function(){var k=this,t=k.component.data;
var e=this.getDescriptions();
switch(k.component.data.type){case&quot;gv&quot;:var r=$(&quot;&lt;div class=&apos;gallery gallery-vertical hover_n col&quot;+t.col+&quot; gap&quot;+t.gap+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(this.div.empty());
t.imgList.each_with_index(function(u,w){k.verticalImgNode(k,w,u).appendTo(r)
});
r.parents(&quot;.componentBody&quot;).attr(&quot;style&quot;,&quot;overflow:hidden;&quot;);
this._checkHeight();
setTimeout(function(){k._checkHeight();
r.find(&quot;.img_click&quot;).on(&quot;click&quot;,function(){tb_show_viewer((v.mode==&quot;editor&quot;?k.getDescriptions():e),$(this).data().index,t.imgList,k._protected());
sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));
this.blur()
})
},1000);
break;
case&quot;gh&quot;:var r=$(&quot;&lt;div class=&apos;gallery gallery-horizontal hover_&quot;+t.hover_effect+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(this.div.empty());
var l=[];
var q=k.div.find(&quot;.gallery-horizontal&quot;).innerWidth();
var p=function(A,u,z,x){var y=(q-u*(A.length-1))/k._totalSize(A,0);
A.each_with_index(function(D,E){var w=Math.floor(D.width()*y);
var C=z*y;
D.css({width:w,height:C,&quot;margin-bottom&quot;:u,&quot;margin-left&quot;:E?u:0});
var B=D.data(&quot;img&quot;);
if(B){D.cdnSrc(bestImgSrc(B,w,C),w,C)
}})
};
t.imgList.each_with_index(function(z,A){var u=t.gap,C=k._min_height_value(t.min_height),y=Math.round(C*z.width/z.height);
if(k._totalSize(l,u)+y&lt;=q){l[l.length]=k.horizontalImgNode(A,z,C,y).appendTo(r);
if(A==t.imgList.length-1){p(l,u,C,y)
}}else{var x,B;
if(A==t.imgList.length-1){x=q;
B=(C*x)/y
}p(l,u,C,y);
l=[];
l[l.length]=k.horizontalImgNode(A,z,B||C,x||y).appendTo(r)
}});
this._checkHeight();
setTimeout(function(){k._checkHeight();
r.find(&quot;.img_click&quot;).on(&quot;click&quot;,function(){tb_show_viewer((v.mode==&quot;editor&quot;?k.getDescriptions():e),$(this).data().index,t.imgList,k._protected());
sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));
this.blur()
}).on(&quot;dblclick&quot;,function(){return false
})
},1000);
break;
case&quot;gp&quot;:var d=0;
if(this.div.find(&quot;.gallery-preview-image&quot;).data()!=null){d=this.div.find(&quot;.gallery-preview-image&quot;).data().index
}var r=$(&quot;&lt;div class=&apos;gallery gallery-preview &quot;+t.min_height+&quot; &quot;+t.list_position+&quot; hover_&quot;+t.hover_effect+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(this.div.empty());
var m=$(&quot;&lt;div class=&apos;gallery-preview-image&apos;&gt;&lt;/div&gt;&quot;);
var o=$(&quot;&lt;div class=&apos;gallery-slide&apos;&gt;&lt;/div&gt;&quot;);
if(t.list_position==&quot;b&quot;){m.appendTo(r);
o.appendTo(r)
}else{if(t.list_position==&quot;t&quot;){o.appendTo(r);
m.appendTo(r)
}else{if(t.list_position==&quot;n&quot;){o.appendTo(r)
}}}var b=$(&quot;&lt;div class=&apos;gallery-images&apos;&gt;&lt;/div&gt;&quot;).appendTo(o);
var c=$(&quot;&lt;div class=&apos;gallery-arrow left&apos;&gt;&lt;span class=&apos;fonticon&apos;&gt;&quot;+$.fn.fonticon(&quot;arrow-left&quot;)+&quot;&lt;/span&gt;&lt;/div&gt;&quot;).appendTo(o);
var s=$(&quot;&lt;div class=&apos;gallery-arrow right&apos;&gt;&lt;span class=&apos;fonticon&apos;&gt;&quot;+$.fn.fonticon(&quot;arrow-right&quot;)+&quot;&lt;/span&gt;&lt;/div&gt;&quot;).appendTo(o);
var n=t.gap;
var g=[];
t.imgList.each_with_index(function(x,y){var z=b.height(),u=Math.floor(z*x.width/x.height);
if(y==d){k.setPreview(k,y)
}g[g.length]=k.horizontalImgNode(y,x,z,u).css({&quot;margin-left&quot;:y?n:0}).appendTo(b)
});
b.css({width:k._totalSize(g,n)+1});
m.css(&quot;margin-&quot;+(this.component.data.list_position==&quot;b&quot;?&quot;bottom&quot;:&quot;top&quot;),(b.outerHeight()+this.component.data.gap)+&quot;px&quot;);
this._checkHeight();
setTimeout(function(){k._checkHeight();
r.find(&quot;.img_click&quot;).on(&quot;click&quot;,function(){if(t.list_position!=&quot;n&quot;){k.setPreview(k,$(this).data().index);
k._checkHeight()
}else{tb_show_viewer((v.mode==&quot;editor&quot;?k.getDescriptions():e),$(this).data().index,t.imgList,k._protected());
sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));
this.blur()
}}).on(&quot;dblclick&quot;,function(){return false
});
r.find(&quot;.gallery-arrow&quot;).on(&quot;click&quot;,function(B){var A=r.find(&quot;.gallery-images&quot;),x=r.find(&quot;.gallery-slide&quot;).width()*0.5;
var z=$(this),w=parseInt(A.css(&quot;left&quot;).replace(&quot;px&quot;,&quot;&quot;)),u=0;
if(z.hasClass(&quot;left&quot;)){if(w&lt;=u&amp;&amp;w!=u){if(w+x&lt;u){A.css({left:w+x})
}else{A.css({left:u})
}}}else{var y=(A.width()-r.find(&quot;.gallery-slide&quot;).width()+u)*-1+1;
if(w&gt;y&amp;&amp;w!=y){if(w-x&gt;=y){A.css({left:w-x})
}else{A.css({left:y})
}}}});
r.find(&quot;.gallery-preview-image&quot;).on(&quot;click&quot;,function(){tb_show_viewer((v.mode==&quot;editor&quot;?k.getDescriptions():e),$(this).data().index,t.imgList,k._protected());
sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));
this.blur()
})
},1000);
break;
case&quot;s&quot;:var a=0,i=&quot;arrow&quot;;
if(t.slider_nav==&quot;dot&quot;&amp;&amp;t.imgList.length&lt;=5){i=&quot;dot&quot;
}if(this.div.find(&quot;.gallery-slider&quot;).data()!=null){a=this.div.find(&quot;.gallery-slider&quot;).data().currentI
}var r=$(&quot;&lt;div class=&apos;gallery gallery-slider &quot;+t.slider_anim+&quot; bg_size_&quot;+this.component.data.preview_type+&quot;&apos;&gt;&lt;/div&gt;&quot;).data(&quot;currentI&quot;,a).appendTo(this.div.empty());
var f=$(&quot;&lt;div class=&apos;gallery-nav &quot;+i+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(r);
t.imgList.each_with_index(function(u,w){k.sliderImgNode(k,w,u).on(&quot;click&quot;,function(){if(t.thumb){tb_show_viewer((v.mode==&quot;editor&quot;?k.getDescriptions():e),$(this).data().index,t.imgList,k._protected());
sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));
this.blur()
}}).on(&quot;dblclick&quot;,function(){return false
}).appendTo(r)
});
if(t.imgList.length&gt;1){this.sliderNavigation(t.slider_nav,k,t.imgList.length)
}var h=(v.mode==&quot;editor&quot;||v.features.carousel_auto_play);
if(t.auto_play&amp;&amp;h&amp;&amp;t.imgList.length&gt;1){var j=function(){if(!r.hasClass(&quot;wait&quot;)){var x=k.div.find(&quot;.gallery-slider&quot;);
var u=x.data(&quot;currentI&quot;);
var w=u+1;
if(w&gt;k.component.data.imgList.length-1){w=0
}x.data(&quot;currentI&quot;,w);
k.slideTo(k,r,&quot;right&quot;,u,w)
}};
clearInterval(k.autoplayInterval);
k.autoplayInterval=setInterval(function(){if(h&amp;&amp;t.auto_play){j()
}},5000)
}break;
default:var r=$(&quot;&lt;ul class=&apos;jcarousel-skin-tango&apos;&gt;&lt;/ul&gt;&quot;).appendTo(this.div.empty());
t.imgList.each_with_index(function(u,w){k.buildImg(u).appendTo($(&quot;&lt;li&gt;&lt;/li&gt;&quot;).appendTo(r)).addClass(&quot;clickable&quot;).click(function(){tb_show_viewer((v.mode==&quot;editor&quot;?k.getDescriptions():e),w,t.imgList,k._protected());
sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,u);
this.blur();
return false
}).on(&quot;dblclick&quot;,function(){return false
})
});
var k=this;
r.jcarousel({vertical:(this.component.W()&lt;this.component.H()),scroll:t.scroll,auto:0,start:t.start,animation:t.animationSpeed,initCallback:function(w){try{$(&quot;.jcarousel-skin-tango.jcarousel-container-horizontal ,.jcarousel-skin-tango .jcarousel-clip-horizontal&quot;,k.div).width(k.component.W()-85).height(k.component.H()-45);
$(&quot;.jcarousel-skin-tango.jcarousel-container-vertical ,.jcarousel-skin-tango .jcarousel-clip-vertical&quot;,k.div).width(k.component.W()-42).height(k.component.H()-85)
}catch(u){}w.buttons()
}});
break
}this.addPinterestNode();
if(this._protected()){this._antiDownload()
}},_setFullWidth:function(){this.component.setFullWidth(this.component.data.type==&quot;s&quot;&amp;&amp;this.component.data.slider_width)
},_setThumb:function(){$(&quot;div.gallery-slider&quot;).toggleClass(&quot;thumb&quot;,((this.component.data&amp;&amp;this.component.data.type==&quot;s&quot;&amp;&amp;this.component.data.thumb)||false))
},_checkHeight:function(){clearTimeout(this.check_to);
var a=this;
this.check_to=setTimeout(function(){var b=null,d=a.component;
switch(d.data.type){case&quot;gv&quot;:b=a.div.find(&quot;.gallery&quot;).innerHeight();
break;
case&quot;gh&quot;:var c=$(&quot;.img_click:last&quot;,a.div);
if(c.position()){b=c.position().top+c.height()
}else{b=a.div.height()
}break;
case&quot;gp&quot;:var c=$(&quot;.gallery-slide&quot;,a.div);
if(c.position()){if(a.component.data.list_position==&quot;n&quot;){b=a.div.find(&quot;.gallery-images&quot;).height()
}}else{b=parseInt(a.div.height())
}break;
case&quot;s&quot;:c=a.component.data.imgList[a.div.find(&quot;.in&quot;).data(&quot;index&quot;)];
if(c!=undefined){b=Math.floor(a.div.width()*c.height/c.width)
}else{b=a.div.height()
}break
}if(b!=null){a.fromCheckHeight=true;
d.setXYZWH({h:b},{send_events:false});
sigCtl.emit(&quot;Component.moved&quot;);
a.fromCheckHeight=false;
v.checkHeight()
}},500)
},getDescriptions:function(){var a=this;
var b=[];
return FileDescription.get(this.component.data.imgList).done(function(c){$(&quot;img&quot;,a.div).each(function(){var d;
if((d=$(this).data(&quot;file_id&quot;))&amp;&amp;c[d]){$([this,this.previousSibling]).attr(&quot;title&quot;,c[d])
}})
})
},onDisplay:function(a){this.component.migrateOldGradientProperty();
this.div=$(&quot;div&quot;,a).css(&quot;width&quot;,&quot;100%&quot;).css(&quot;height&quot;,&quot;100%&quot;);
this.captions={list:[]};
this._loadProperties();
this.component.data.slider_anim=this.component.data.slider_anim||&quot;slide&quot;;
this.component.data.list_position=this.component.data.list_position||&quot;b&quot;;
this.component.data.hover_effect=this.component.data.hover_effect||&quot;n&quot;;
this.component.data.slider_nav=this.component.data.slider_nav||&quot;arrow&quot;;
this.component.data.slider_width=this.component.data.slider_width||false;
this.component.data.preview_type=this.component.data.preview_type||&quot;m&quot;;
this.component.data.min_height=this.component.data.min_height||&quot;s&quot;;
this.component.data.auto_play=this.component.data.auto_play||false;
this.component.data.gap=this.component.data.gap||0;
this.component.data.col=this.component.data.col||3;
this.buildList();
this._setFullWidth();
this._setColorFilter();
this._setParallax();
this._setThumb()
},onSelect:function(){var a=$(this.component.propertyNode).add(this.component.propertyDesignNode);
this._loadProperties();
if(blockSelector.selected_cpts.length==1){this.component.init_sliders()
}},onPropertyChanged:function(a){this._loadProperties();
if(this.component.data.protect){if(this.component.data.imgList.find(function(c){return c.url.match(/\.gif(\?.*)?$/)
})){statusController.message(&quot;&lt;b&gt;Anti-download of images&lt;/b&gt; is not available for GIF animations.&quot;,&quot;warning&quot;)
}else{if(v.mode!=&quot;editor&quot;&amp;&amp;v.features.image_protection){this._antiDownload()
}}}this.buildList();
this._setFullWidth();
if(a.include(&quot;type&quot;)){if(this.component.data.type==&quot;gp&quot;){this.component.setXYZWH({h:this._min_height_value(this.component.data.min_height)*4},{send_events:false});
sigCtl.emit(&quot;Component.moved&quot;)
}else{this._checkHeight()
}}if(a.include(&quot;thumb&quot;)){this._setThumb()
}if(a.include(&quot;slider_nav&quot;)&amp;&amp;this.component.data.slider_nav==&quot;dot&quot;){statusController.message(&quot;&lt;b&gt;Dot navigation&lt;/b&gt; is not available for more than 5 images.&quot;,&quot;warning&quot;)
}this._setColorFilter();
this._setParallax();
if(this.component.data.filter==&quot;color&quot;){this.component.data.gradient_colors[2]=this.component.data.gradient_colors[2]||45;
$(&quot;#filterColorImg&quot;+this.component.uniqId()).setBackgroundGradient(this.component.data.gradient_colors[1],this.component.data.gradient_colors[0],this.component.data.gradient_colors[2])
}var b=$(this.component.propertyNode).add(this.component.propertyDesignNode);
if(this.component.data.type!=&quot;s&quot;){this.component.componentBody.find(&quot;.img_click&quot;).filter(function(c,d){$(d).css({filter:&quot;&quot;,&quot;-webkit-filter&quot;:&quot;&quot;})
});
this.component.data.filter=&quot;none&quot;;
$(&quot;#ui_radio_property_3_none&quot;).prop(&quot;checked&quot;,&quot;checked&quot;);
$(&quot;.filterRadio&quot;,b).hide()
}else{$(&quot;.filterRadio&quot;,b).show()
}if(this.component.data.type!=&quot;s&quot;){$(&quot;.prop_check&quot;,b).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().hide();
this.component.data.parallax=false;
$(&quot;.prop_check&quot;,b).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).prop(&quot;checked&quot;,&quot;&quot;)
}else{$(&quot;.prop_check&quot;,b).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().show()
}if(a.include(&quot;parallax&quot;)){this._setParallax()
}},onResizeStop:function(){switch(this.component.data.type){case&quot;gh&quot;:case&quot;gv&quot;:if(!this.fromCheckHeight){this.buildList()
}break;
case&quot;s&quot;:case&quot;gp&quot;:this.setPreview(this,this.component.node.find(&quot;.gallery-preview-image&quot;).data(&quot;index&quot;)||0);
break;
default:this.buildList();
break
}this._setFullWidth();
this._setParallax()
},onMoveStop:function(){this._setFullWidth();
this._setParallax()
},_loadProperties:function(){var a=$(this.component.propertyNode).add(this.component.propertyDesignNode);
var b=[&quot;locked&quot;,&quot;fixed&quot;,&quot;footer&quot;,&quot;sticky&quot;];
switch(this.component.data.type){case&quot;gv&quot;:$(&quot;.uic_prop_gap,.uic_prop_col&quot;,a).show();
$(&quot;.uic_prop_thumb, .uic_auto_play, li.uic_prop_hover_effect,.uic_prop_scroll,.uic_prop_start,li.uic_prop_speed,li.uic_prop_min_height,li.uic_prop_preview_height,li.uic_prop_preview_type,li.uic_prop_list_position,li.uic_prop_slider_anim,li.uic_prop_slider_nav&quot;,a).hide();
break;
case&quot;gh&quot;:$(&quot;li.uic_prop_min_height,.uic_prop_gap, li.uic_prop_hover_effect&quot;,a).show();
$(&quot;.uic_prop_thumb, .uic_auto_play,.uic_prop_scroll,.uic_prop_start,li.uic_prop_speed,.uic_prop_col,li.uic_prop_preview_height,li.uic_prop_preview_type,li.uic_prop_list_position,li.uic_prop_slider_anim,li.uic_prop_slider_nav&quot;,a).hide();
break;
case&quot;gp&quot;:$(&quot;li.uic_prop_min_height,.uic_prop_gap,li.uic_prop_list_position, li.uic_prop_hover_effect&quot;,a).show();
$(&quot;.uic_prop_thumb, .uic_auto_play,.uic_prop_scroll,.uic_prop_start,li.uic_prop_speed,.uic_prop_col, li.uic_prop_slider_anim,li.uic_prop_slider_nav&quot;,a).hide();
if(this.component.data.list_position!=&quot;n&quot;){$(&quot;li.uic_prop_preview_height,li.uic_prop_preview_type&quot;,a).show()
}else{$(&quot;li.uic_prop_preview_height,li.uic_prop_preview_type&quot;,a).hide()
}break;
case&quot;s&quot;:b=[&quot;locked&quot;,&quot;container&quot;,&quot;footer&quot;,&quot;sticky&quot;];
$(&quot;.uic_prop_thumb, .uic_auto_play,li.uic_prop_slider_anim,li.uic_prop_slider_nav&quot;,a).show();
$(&quot;.uic_prop_scroll,.uic_prop_start,li.uic_prop_speed,.uic_prop_col,li.uic_prop_preview_height,li.uic_prop_list_position,li.uic_prop_min_height,.uic_prop_gap, li.uic_prop_hover_effect&quot;,a).hide();
break;
default:$(&quot;.uic_prop_scroll,.uic_prop_start,li.uic_prop_speed&quot;,a).show();
$(&quot;.uic_prop_thumb, .uic_auto_play,.uic_prop_gap,.uic_prop_col,li.uic_prop_min_height,li.uic_prop_preview_height,li.uic_prop_preview_type,li.uic_prop_list_position, li.uic_prop_hover_effect&quot;,a).hide();
break
}this.component.setOptions(b);
if(this.component.data.type!=&quot;s&quot;){this.component.data.filter=&quot;none&quot;;
$(&quot;.filterRadio&quot;,a).hide();
$(&quot;.prop_check&quot;,a).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().hide();
this.component.data.parallax=false;
$(&quot;.prop_check&quot;,a).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).prop(&quot;checked&quot;,&quot;&quot;)
}else{$(&quot;.filterRadio&quot;,a).show();
$(&quot;.prop_check&quot;,a).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().show();
if(this.component.data.filter==&quot;color&quot;){$(&quot;.gradientProperty&quot;,a).show();
if(this.component.data.gradient_colors[0]==&quot;diagonal&quot;&amp;&amp;this.component.data.filter==&quot;color&quot;){$(&quot;.roundSliderPropertyDiv&quot;,a).show()
}else{$(&quot;.roundSliderPropertyDiv&quot;,a).hide()
}$(&quot;.selectGradientO.k-widget&quot;,a).show()
}else{$(&quot;.gradientProperty&quot;,a).hide();
$(&quot;.roundSliderPropertyDiv&quot;,a).hide();
$(&quot;.selectGradientO.k-widget&quot;,a).hide()
}}},_totalSize:function(b,a){var c=(b.length-1)*a;
b.each(function(e,d){if($.isFunction((e.width))){c+=e.width()
}else{c+=e.width
}});
return c
},_min_height_value:function(a){var b=50;
switch(a){case&quot;xs&quot;:b=100;
break;
case&quot;s&quot;:b=150;
break;
case&quot;m&quot;:b=200;
break;
case&quot;l&quot;:b=250;
break;
case&quot;xl&quot;:b=300;
break
}return b
},_protected:function(){return(this.component.data.protect||v.page_bg.security.content_protection)&amp;&amp;v.mode!=&quot;editor&quot;&amp;&amp;v.features.image_protection
},_antiDownload:function(){var d=this.div,a=&quot;/images/spacer.gif&quot;,b=new Image(),c=&quot;&quot;;
b.src=a;
switch(this.component.data.type){case&quot;gh&quot;:case&quot;s&quot;:c=&quot;.img_click, #TB_ImageOff div:first&quot;;
break;
case&quot;gp&quot;:c=&quot;.img_click, #TB_ImageOff div:first, .gallery.gallery-preview .gallery-preview-image&quot;;
break
}if(c!=&quot;&quot;){$(c,d).on(&quot;mouseenter touchstart&quot;,function(h){var f=$(this);
if($(&quot;.protectOverlay&quot;,f).length&gt;0){return
}var g=$(&apos;&lt;img class=&quot;protectOverlay&quot; src=&quot;&apos;+a+&apos;&quot; width=&quot;&apos;+f.width()+&apos;&quot; height=&quot;&apos;+f.height()+&apos;&quot; /&gt;&apos;).css({position:&quot;absolute&quot;,zIndex:95}).on(&quot;mouseleave&quot;,function(){setTimeout(function(){g.remove()
},0)
});
f.html(g);
$(document).on(&quot;touchend&quot;,function(){setTimeout(function(){g.remove()
},0)
})
});
$(c,d).on(&quot;contextmenu&quot;,function(f){if(f.target.nodeName==&quot;DIV&quot;){return false
}})
}},_setColorFilter:function(){var a=this.component.componentBody;
jQuery.fn.setImgFilter(a,&quot;carousel&quot;,this.component.data.filter,&quot;filterColorImg&quot;+this.component.uniqId(),{color:this.component.data.gradient_colors[1],or:this.component.data.gradient_colors[0],angle:this.component.data.gradient_colors[2]},$(this.component.propertyNode).add(this.component.propertyDesignNode))
},_setParallax:function(){var d=$(this.component.propertyNode).add(this.component.propertyDesignNode);
if(this.component.data.type!=&quot;s&quot;){$(&quot;.prop_check&quot;,d).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().hide();
this.component.data.parallax=false;
$(&quot;.prop_check&quot;,d).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).prop(&quot;checked&quot;,&quot;&quot;)
}else{$(&quot;.prop_check&quot;,d).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().show()
}var b=v.mode==&quot;editor&quot;?$(&quot;#site&quot;):$(window);
var e=this.component.componentBody.find(&quot;.img_click&quot;);
if(this.component.data.parallax){var i=this;
var a=i.component.node.position().top-b.height();
var g=i.component.node.position().top+i.component.node.height();
var c=window.navigator.userAgent.match(/MSIE|Trident|Edge/);
if(c&amp;&amp;v.mode==&quot;viewer&quot;){jQuery.fn.overrideWindowScroll(true)
}var h=function(){var k=g-a;
if(b.scrollTop()&gt;a&amp;&amp;b.scrollTop()&lt;g){var j=(((b.scrollTop()-a)*100)/k);
var l=&quot;50% &quot;+(100-j)+&quot;%&quot;;
e.css({backgroundPosition:l})
}};
b.off(&quot;scroll.parallaximg&quot;+this.component.uniqId()).on(&quot;scroll.parallaximg&quot;+this.component.uniqId(),h)
}else{b.off(&quot;scroll.parallaximg&quot;+this.component.uniqId());
var f=&quot;50% 50%&quot;;
e.css({backgroundPosition:f})
}b.trigger(&quot;scroll&quot;)
},onDeviceChanged:function(){var a=this;
if(deviceController.device==&quot;mobile_tree&quot;){setTimeout(function(){var b=0;
a.buildList();
switch(a.component.data.type){case&quot;gh&quot;:a.component.node.find(&quot;.img_click&quot;).each(function(){b+=$(this).outerHeight()
});
break;
case&quot;gp&quot;:b=$(&quot;.gallery-images&quot;,a.component.node).outerHeight();
b+=b*1.5;
break
}if(b){a.component.node.css(&quot;min-height&quot;,Math.round(b)+&quot;px&quot;)
}v.checkHeight();
a._setColorFilter()
},200)
}}};</script><style>.jcarousel-container{position:relative}
.jcarousel-clip{z-index:2;padding:0;margin:0;overflow:hidden;position:relative}
.jcarousel-list{z-index:1;overflow:hidden;position:relative;top:0;left:0;margin:0;padding:0}
.jcarousel-item{list-style:none;width:75px;height:75px;position:relative}
.jcarousel-item img{position:absolute}
.jcarousel-next{z-index:3;display:none}
.jcarousel-prev{z-index:3;display:none}
.jcarousel-skin-tango.jcarousel-container{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;background:#F0F6F9;border:1px solid #346F97}
.jcarousel-skin-tango.jcarousel-container-horizontal{width:245px;padding:20px 40px}
.jcarousel-skin-tango.jcarousel-container-vertical{width:75px;height:245px;padding:40px 20px}
.jcarousel-skin-tango .jcarousel-clip-horizontal{width:245px;height:75px}
.jcarousel-skin-tango .jcarousel-clip-vertical{width:75px;height:245px}
.jcarousel-skin-tango .jcarousel-item{width:75px;height:75px}
.jcarousel-skin-tango .jcarousel-item-horizontal{margin-right:10px;float:left}
.jcarousel-skin-tango .jcarousel-item-vertical{margin-bottom:10px}
.jcarousel-skin-tango .jcarousel-item-placeholder{background:#fff;color:#000}
.jcarousel-skin-tango .jcarousel-next-horizontal{position:absolute;top:43px;right:5px;width:32px;height:32px;cursor:pointer;background:transparent url(/stylesheets/components/UI_Carousel/skins/tango/next-horizontal.png) no-repeat 0 0}
.jcarousel-skin-tango .jcarousel-next-horizontal:hover{background-position:-32px 0}
.jcarousel-skin-tango .jcarousel-next-horizontal:active{background-position:-64px 0}
.jcarousel-skin-tango .jcarousel-next-disabled-horizontal,.jcarousel-skin-tango .jcarousel-next-disabled-horizontal:hover,.jcarousel-skin-tango .jcarousel-next-disabled-horizontal:active{cursor:default;background-position:-96px 0}
.jcarousel-skin-tango .jcarousel-prev-horizontal{position:absolute;top:43px;left:5px;width:32px;height:32px;cursor:pointer;background:transparent url(/stylesheets/components/UI_Carousel/skins/tango/prev-horizontal.png) no-repeat 0 0}
.jcarousel-skin-tango .jcarousel-prev-horizontal:hover{background-position:-32px 0}
.jcarousel-skin-tango .jcarousel-prev-horizontal:active{background-position:-64px 0}
.jcarousel-skin-tango .jcarousel-prev-disabled-horizontal,.jcarousel-skin-tango .jcarousel-prev-disabled-horizontal:hover,.jcarousel-skin-tango .jcarousel-prev-disabled-horizontal:active{cursor:default;background-position:-96px 0}
.jcarousel-skin-tango .jcarousel-next-vertical{position:absolute;bottom:5px;left:43px;width:32px;height:32px;cursor:pointer;background:transparent url(/stylesheets/components/UI_Carousel/skins/tango/next-vertical.png) no-repeat 0 0}
.jcarousel-skin-tango .jcarousel-next-vertical:hover{background-position:0 -32px}
.jcarousel-skin-tango .jcarousel-next-vertical:active{background-position:0 -64px}
.jcarousel-skin-tango .jcarousel-next-disabled-vertical,.jcarousel-skin-tango .jcarousel-next-disabled-vertical:hover,.jcarousel-skin-tango .jcarousel-next-disabled-vertical:active{cursor:default;background-position:0 -96px}
.jcarousel-skin-tango .jcarousel-prev-vertical{position:absolute;top:5px;left:43px;width:32px;height:32px;cursor:pointer;background:transparent url(/stylesheets/components/UI_Carousel/skins/tango/prev-vertical.png) no-repeat 0 0}
.jcarousel-skin-tango .jcarousel-prev-vertical:hover{background-position:0 -32px}
.jcarousel-skin-tango .jcarousel-prev-vertical:active{background-position:0 -64px}
.jcarousel-skin-tango .jcarousel-prev-disabled-vertical,.jcarousel-skin-tango .jcarousel-prev-disabled-vertical:hover,.jcarousel-skin-tango .jcarousel-prev-disabled-vertical:active{cursor:default;background-position:0 -96px}
.jcarousel-skin-tango.jcarousel-container-horizontal{width:85%}
.jcarousel-skin-tango .jcarousel-clip-horizontal{width:100%}
.gallery-slider{display:inline-block;width:100%;height:100%}
.gallery-slider .img_click{transform:translate3d(0px,0,0);position:absolute;background-color:#fff;background-repeat:no-repeat;background-position:center center;background-size:cover;width:100%;height:100%}
.gallery-slider.slide .out{transition:left ease 2s;z-index:6;left:100%}
.gallery-slider.slide .in{transition:left ease 1s;z-index:6;left:0}
.gallery-slider.slide .out-in{transition:left ease 1s;z-index:8;left:0}
.gallery-slider.slide .in-out{transition:left ease 2s;z-index:6;left:-100%}
.gallery-slider.fade .out{transition:opacity ease 1s;z-index:6;opacity:0}
.gallery-slider.fade .in{transition:opacity ease 1s;z-index:8;opacity:1}
.gallery-slider.fade .in-out{transition:opacity ease 1s;z-index:8;opacity:0}
.gallery-slider.fade .out-in{transition:opacity ease 0s;z-index:6;opacity:1}
.gallery-slider.thumb .img_click.in:hover{cursor:pointer}
.gallery-slider .gallery-nav{opacity:1;transition:opacity ease 1s}
.gallery-slider:hover .gallery-nav{opacity:1;transition:opacity ease 0s}
.gallery-slider.bg_size_m .img_click{background-size:contain}
.gallery-slider.bg_size_c .img_click{background-size:cover}
.gallery-nav{height:100%;width:100%;position:absolute}
.gallery-nav.arrow{height:100%;width:100%}
.gallery-nav.dot{bottom:20px;font-size:0;height:21px;left:calc(50% - 150px);text-align:center;width:300px;z-index:10}
.gallery-dot{background-color:rgba(0,0,0,.5);-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;-webkit-box-shadow:0 0 0 2px rgba(255,255,255,.3);-moz-box-shadow:0 0 0 2px rgba(255,255,255,.3);box-shadow:0 0 0 2px rgba(255,255,255,.3);cursor:pointer;display:inline-block;height:15px;margin:0 10px;position:relative;-webkit-transition:background-color .25s linear,box-shadow .25s linear;-moz-transition:background-color .25s linear,box-shadow .25s linear;-o-transition:background-color .25s linear,box-shadow .25s linear;transition:background-color .25s linear,box-shadow .25s linear;width:15px}
.gallery-dot::after{background-color:rgba(255,255,255,.7);-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;content:&quot;&quot;;height:100%;left:0;pointer-events:none;position:absolute;top:0;transform:scale(0);-webkit-transform:scale(0);-webkit-transition:-webkit-transform .2s linear;-moz-transition:-moz-transform .2s linear;-o-transition:-o-transform .2s linear;transition:transform .2s linear;width:100%}
.gallery-dot.selected{background-color:rgba(0,0,0,0)}
.gallery-dot.selected::after{transform:scale(1);-webkit-transform:scale(1)}
.gallery-arrow{background-color:rgba(0,0,0,0);cursor:pointer;display:block;height:100%;position:absolute;-webkit-transition:background-color .25s linear;-moz-transition:background-color .25s linear;-o-transition:background-color .25s linear;transition:background-color .25s linear;width:70px;z-index:100}
.gallery-arrow.left{left:0}
.gallery-arrow.right{right:0}
.gallery-arrow:hover{background-color:rgba(0,0,0,.3)}
.gallery-arrow.left:hover .fonticon{transform:translateX(-5px);-webkit-transform:translateX(-5px)}
.gallery-arrow.right:hover .fonticon{transform:translateX(5px);-webkit-transform:translateX(5px)}
.gallery-arrow .fonticon{color:#fff;cursor:pointer;font-size:40px;left:0;position:absolute;right:0;text-align:center;top:calc(50% - 20px);transform:translateX(0px);-webkit-transform:translateX(0px);-webkit-transition:-webkit-transform .25s ease-in-out;-moz-transition:-moz-transform .25s ease-in-out;-o-transition:-o-transform .25s ease-in-out;transition:transform .25s ease-in-out}
.gallery-slide{clear:both;position:absolute;height:100px;width:100%;display:block}
.gallery-preview{height:100%}
.gallery-preview img{float:left}
.gallery-preview.b .gallery-slide{bottom:0}
.gallery-preview.t .gallery-slide{top:0}
.gallery-preview.xs.t .gallery-preview-image{margin-top:100px}
.gallery-preview.xs.b .gallery-preview-image{margin-bottom:100px}
.gallery-preview.xs .gallery-preview-image{height:calc(100% - 100px)}
.gallery-preview.xs .gallery-slide{height:100px}
.gallery-preview.s.t .gallery-preview-image{margin-top:150px}
.gallery-preview.s.b .gallery-preview-image{margin-bottom:150px}
.gallery-preview.s .gallery-preview-image{height:calc(100% - 150px)}
.gallery-preview.s .gallery-slide{height:150px}
.gallery-preview.m.t .gallery-preview-image{margin-top:200px}
.gallery-preview.m.b .gallery-preview-image{margin-bottom:200px}
.gallery-preview.m .gallery-preview-image{height:calc(100% - 200px)}
.gallery-preview.m .gallery-slide{height:200px}
.gallery-preview.l.t .gallery-preview-image{margin-top:250px}
.gallery-preview.l.b .gallery-preview-image{margin-bottom:250px}
.gallery-preview.l .gallery-preview-image{height:calc(100% - 250px)}
.gallery-preview.l .gallery-slide{height:250px}
.gallery-preview.xl.t .gallery-preview-image{margin-top:300px}
.gallery-preview.xl.b .gallery-preview-image{margin-bottom:300px}
.gallery-preview.xl .gallery-preview-image{height:calc(100% - 300px)}
.gallery-preview.xl .gallery-slide{height:300px}
.gallery-preview-image{background-repeat:no-repeat;background-position:center center}
.gallery-preview-image.margin{background-size:contain}
.gallery-preview-image.crop{background-size:cover}
.gallery-images{position:absolute;left:0;height:100%;-webkit-transition:left .5s ease-in-out;-moz-transition:left .5s ease-in-out;-o-transition:left .5s ease-in-out;transition:left .5s ease-in-out}
.gallery-images&gt;div,.gallery-vertical&gt;div,.gallery-horizontal&gt;div{float:left;overflow:hidden;position:relative}
.gallery-preview img,.gallery-vertical img,.gallery-horizontal img{cursor:pointer;float:left;-webkit-transition:-webkit-transform .25s ease;-moz-transition:-moz-transform .25s ease;-o-transition:-o-transform .25s ease;transition:transform .25s ease}
.gallery-horizontal{line-height:0;position:absolute;height:100%;width:100%}
.gallery-vertical{line-height:0;-webkit-column-count:3;-moz-column-count:3;column-count:3;-webkit-column-gap:0px;-moz-column-gap:0px;column-gap:0px}
.gallery-vertical.col1{-webkit-column-count:1;-moz-column-count:1;column-count:1}
.gallery-vertical.col2{-webkit-column-count:2;-moz-column-count:2;column-count:2}
.gallery-vertical.col3{-webkit-column-count:3;-moz-column-count:3;column-count:3}
.gallery-vertical.col4{-webkit-column-count:4;-moz-column-count:4;column-count:4}
.gallery-vertical.col5{-webkit-column-count:5;-moz-column-count:5;column-count:5}
.gallery-vertical.gap1{-webkit-column-gap:1px;-moz-column-gap:1px;column-gap:1px}
.gallery-vertical.gap2{-webkit-column-gap:2px;-moz-column-gap:2px;column-gap:2px}
.gallery-vertical.gap3{-webkit-column-gap:3px;-moz-column-gap:3px;column-gap:3px}
.gallery-vertical.gap4{-webkit-column-gap:4px;-moz-column-gap:4px;column-gap:4px}
.gallery-vertical.gap5{-webkit-column-gap:5px;-moz-column-gap:5px;column-gap:5px}
.gallery-vertical.gap6{-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px}
.gallery-vertical.gap7{-webkit-column-gap:7px;-moz-column-gap:7px;column-gap:7px}
.gallery-vertical.gap8{-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px}
.gallery-vertical.gap9{-webkit-column-gap:9px;-moz-column-gap:9px;column-gap:9px}
.gallery-vertical.gap10{-webkit-column-gap:10px;-moz-column-gap:10px;column-gap:10px}
.img_click{cursor:pointer;background-size:contain}
.gallery-slider .img_click{cursor:default}
.gallery-slider .img_click::after,.gallery-slider .img_click::before{display:none}
.hover_n .img_click::after,.hover_n .img_click::before{display:none}
.img_click::after{bottom:0;left:0;position:absolute;content:&quot;&quot;;right:0;top:0;z-index:50}
.img_click::before{content:&quot;\26b2&quot;;color:#fff;font-size:45px;left:calc(50% - 20px);position:absolute;top:50%;z-index:60}
.hover_fa .img_click::after{-webkit-transition:background-color .25s linear;-moz-transition:background-color .25s linear;-o-transition:background-color .25s linear;transition:background-color .25s linear}
.hover_fa .img_click::before{filter:alpha(Opacity=0);opacity:0;transform:scale(1.2) rotate(45deg);-webkit-transform:scale(1.2) rotate(45deg);-webkit-transition:-webkit-transform .2s linear,opacity .3s ease;-moz-transition:-moz-transform .2s linear,opacity .3s ease;-o-transition:-o-transform .2s linear,opacity .3s ease;transition:transform .2s linear,opacity .3s ease}
.hover_fa .img_click:hover::after{background-color:rgba(0,0,0,.3)}
.hover_fa .img_click:hover::before{filter:alpha(Opacity=100);opacity:1;transform:scale(1) rotate(45deg);-webkit-transform:scale(1) rotate(45deg)}
.hover_g .img_click::before{transform:translateY(-15px) rotate(45deg);-webkit-transform:translateY(-15px) rotate(45deg);filter:alpha(Opacity=0);opacity:0;-webkit-transition:-webkit-transform .2s linear,opacity .42s ease;-moz-transition:-moz-transform .2s linear,opacity .42s ease;-o-transition:-o-transform .2s linear,opacity .42s ease;transition:transform .2s linear,opacity .42s ease}
.hover_g .img_click::after{background:-moz-linear-gradient(top,rgba(0,0,0,0) 23%,rgba(0,0,0,.02) 26%,rgba(0,0,0,.5) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(23%,rgba(0,0,0,0)),color-stop(26%,rgba(0,0,0,.02)),color-stop(100%,rgba(0,0,0,.5)));background:-webkit-linear-gradient(top,rgba(0,0,0,0) 23%,rgba(0,0,0,.02) 26%,rgba(0,0,0,.5) 100%);background:-o-linear-gradient(top,rgba(0,0,0,0) 23%,rgba(0,0,0,.02) 26%,rgba(0,0,0,.5) 100%);background:-ms-linear-gradient(top,rgba(0,0,0,0) 23%,rgba(0,0,0,.02) 26%,rgba(0,0,0,.5) 100%);background:linear-gradient(to bottom,rgba(0,0,0,0) 23%,rgba(0,0,0,.02) 26%,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=&apos;#00000000&apos;, endColorstr=&apos;#80000000&apos;, GradientType=0);transform:translateY(10px);-webkit-transform:translateY(10px);filter:alpha(Opacity=0);opacity:0;-webkit-transition:-webkit-transform .2s linear,opacity .2s linear;-moz-transition:-moz-transform .2s linear,opacity .2s linear;-o-transition:-o-transform .2s linear,opacity .2s linear;transition:transform .2s linear,opacity .2s linear}
.hover_g .img_click:hover::after{transform:translateY(0px);-webkit-transform:translateY(0px);filter:alpha(Opacity=100);opacity:1}
.hover_g .img_click:hover::before{filter:alpha(Opacity=100);opacity:1;transform:translateY(0px) rotate(45deg);-webkit-transform:translateY(0px) rotate(45deg)}
.hover_c .img_click::before{transform:translateX(-10px) rotate(45deg);-webkit-transform:translateX(-10px) rotate(45deg);filter:alpha(Opacity=0);opacity:0;-webkit-transition:-webkit-transform .2s linear,opacity .2s ease;-webkit-transition-delay:.1s,.1s;-moz-transition:-moz-transform .2s linear .1s,opacity .2s ease .1s;-o-transition:-o-transform .2s linear .1s,opacity .2s ease .1s;transition:transform .2s linear .1s,opacity .2s ease .1s;font-size:25px;text-shadow:0 0 30px rgba(0,0,0,.8);top:20px;left:15px;color:rgba(255,255,255,.5)}
.hover_c .img_click::after{filter:alpha(Opacity=0);opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;-o-transition:opacity .2s linear;transition:opacity .2s linear}
.hover_c .img_click:hover::after{filter:alpha(Opacity=50);opacity:.5}
.hover_c .img_click:hover::before{filter:alpha(Opacity=100);opacity:1;transform:translateX(0px) rotate(45deg);-webkit-transform:translateX(0px) rotate(45deg)}
.hover_f .img_click::before{background-color:rgba(0,0,0,.2);-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;box-sizing:border-box;color:rgba(255,255,255,.8);height:70px;filter:alpha(Opacity=0);opacity:0;padding-left:17px;padding-top:34px;transform:translate(-15px,-31px) rotate(45deg);-webkit-transform:translate(-15px,-31px) rotate(45deg);-webkit-transition:opacity .55s ease;-moz-transition:opacity .55s ease;-o-transition:opacity .55s ease;transition:opacity .55s ease;width:70px}
.hover_f .img_click::after{filter:alpha(Opacity=0);opacity:0;background-color:#fff}
.hover_f .img_click:hover::after{filter:alpha(Opacity=10);opacity:.1;animation:uic_flash .45s ease-in}
.hover_f .img_click:hover::before{filter:alpha(Opacity=100);opacity:1}
@keyframes uic_flash{0%{opacity:.7}
100%{opacity:.1}
}
.gallery-preview.hover_f .gallery-images .img_click::before{padding-left:19px;padding-top:5px}
.hover_fa .gallery-images .img_click::before,.hover_g .gallery-images .img_click::before{top:calc(50% - 30px)}
.gallery.gallery-preview.hover_c .img_click::before{top:0}</style></uidget>