<?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='350' width='850' /><blog en='550' /></metadata><includes><script href='/assets/precompile/cpts/carousel/jcarousel.js?' /></includes><view><content></content><properties><images_selector callback_on_fs_selection='on_fs_selection' class='imgList' default='[]' help='Choose the images to add to your gallery.' icon='folder' name='imgList' /><bloc class='uic_mode_gp uic_mode_gh'><!--<select name="type" values="sw|gh|gp|s|c" display="Slideshow|Horizontal Gallery|Preview Gallery|Slider|Carrousel (old)" class="uic_prop_type"
				help="Set the style of the gallery." title="Gallery type"/>--><select class='uic_mode_gp' 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_mode_gh uic_mode_gp' 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' /></bloc><images_selector class='uic_mode_sw' default='[]' help='Choose the images to add to your gallery.' icon='plus_circle' name='addImages' text='Add slides' /><html class='uic_mode_sw' val='[hr/]' /><bloc><checkbox class='uic_mode_s uic_mode_sw uic_full_width' default='false' help='Image width will be adjusted to fit the visitor&apos;s browser.' name='slider_width' value='Full screen width' /><background_position class='select_background_position' default='50' help='Depending on the screen size, the whole image can not be shown and will be cropped. This option allows you to choose which part of the image is displayed (top, center or bottom).' /><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_mode_s uic_mode_sw' default='false' feature='carousel_auto_play' help='By activating this feature, images will switch automatically.' name='auto_play' value='Auto Play' /><slider class='uic_mode_s uic_mode_sw uic_autoplay_time' default='&apos;5&apos;' help='Time between images switching in seconds' maximum='30' minimum='1' name='auto_play_time' step='1' /><checkbox class='uic_mode_s' 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' /></bloc></properties><design_properties><trigger default_action='true' icon='palette' text='Change mode' trigger='select_mode_view' /><bloc class='uic_mode_s uic_mode_sw'><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_slider_anim' default='&apos;slide&apos;' display='Slide|Fade' help='Set the animation when image changes.' name='slider_anim' title='Animation' values='slide|fade' /></bloc><bloc class='uic_mode_gp uic_mode_gh'><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' /></bloc><bloc class='uic_mode_gp uic_prop_preview_type'><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' /></bloc><bloc class='uic_mode_default uic_mode_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' /><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' /></bloc><bloc class='uic_mode_gv'><number class='uic_prop_col' default='3' help='Number of columns of the gallery.' maximum='5' minimum='1' name='col' title='Columns' /></bloc><bloc class='uic_mode_gv uic_mode_gh uic_mode_gp'><slider class='uic_prop_gap' default='5' help='Gap between each column of the gallery.' maximum='20' minimum='0' name='gap' title='Gap' /></bloc><bloc class='filterRadio'><radio 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;0%&apos;, &apos;rgba(0,0,0,0.5)&apos;], [&apos;100%&apos;, &apos;rgba(0,0,0,0.5)&apos;]], 0, false]' name='gradient_colors' style='display:none;' /></bloc><bloc class='uic_mode_sw'><select class='content_align' default='&apos;foreground&apos;' display='Foreground|Full width' help='In full screen mode, the content of the slides can :&lt;br&gt; - &lt;b&gt;Foreground&lt;/b&gt; : adjusted to the foreground width (or recommended maximum width)&lt;br&gt; - &lt;b&gt;Full width&lt;/b&gt; : have the same size as the screen' name='content_align' title='Content alignment' values='foreground|full' /><space default='[20,70,20,70]' name='padding' title='Padding' /></bloc></design_properties></view><script>UI_List.UI_Carousel={initialize:function(t){
this.component=this.cpt=t
;t.setOptions([&quot;locked&quot;,&quot;fixed&quot;,&quot;footer&quot;,&quot;sticky&quot;])
;&quot;editor&quot;==v.mode&amp;&amp;(this.blockSelectionMode=new BlockSelectionMode(this.cpt,[{
name:&quot;Slideshow&quot;,icon:&quot;slideshow&quot;,data_name:&quot;sw&quot;},{
name:&quot;Slider&quot;,icon:&quot;slider&quot;,data_name:&quot;s&quot;},{
name:&quot;Horizontal Gallery&quot;,icon:&quot;horizontal&quot;,data_name:&quot;gh&quot;},{
name:&quot;Preview Gallery&quot;,icon:&quot;preview&quot;,data_name:&quot;gp&quot;}],{
data_key:&quot;type&quot;}))},buildImg:function(t){if(t.width&gt;t.height){
(e=[75,75*t.height/t.width]).push(0);e.push((75-e[1])/2)}else{
var e;(e=[75*t.width/t.height,75]).push((75-e[0])/2);e.push(0)}
return $(document).setImage(t,e[0],e[1],{
protect:this._protected()}).data(&quot;file_id&quot;,t.id).css({top:e[3],
left:e[2]})},verticalImgNode:function(t,e,i){
var n=t.component.data.col,o=t.component.data.gap,a=(t.node.find(&quot;.gallery-vertical&quot;).innerWidth()-(n-1)*o)/n,s=a*i.height/i.width,d=bestImgSrc(i,a,s)
;return $(&quot;&lt;div&gt;&quot;).addClass(&quot;img_click&quot;).data(&quot;file_id&quot;,i.id).data(&quot;index&quot;,e).css({
&quot;margin-bottom&quot;:o,height:s,width:a}).cdnSrc(d,a,s)},
horizontalImgNode:function(t,e,i,n){var o=bestImgSrc(e,n,i)
;return $(&quot;&lt;div&gt;&quot;).addClass(&quot;img_click&quot;).data(&quot;file_id&quot;,e.id).data(&quot;index&quot;,t).data(&quot;img&quot;,e).css({
height:i,width:n}).cdnSrc(o,n,i)},
sliderImgNode:function(index,img){
var self=this,c=&quot;img_click out&quot;,img_width=&quot;s&quot;==this.component.data.type&amp;&amp;this.component.data.slider_width?$(window).width():img.width
;url=bestImgSrc(img,img_width,img.height)
;index==(this.currentI||0)&amp;&amp;(c=&quot;img_click in&quot;)
;var sliderImgNode=$(&quot;&lt;div&gt;&lt;/div&gt;&quot;).addClass(c).data(&quot;file_id&quot;,img.id).data(&quot;index&quot;,index).cdnSrc(url,img_width,img.height)
;if(&quot;sw&quot;==this.cpt.data.type&amp;&amp;this.cpt.data.contentList){
this.content=this.content||new Content
;var slideContent=this.cpt.data.contentList[index],$title,$text,$button
;if(slideContent&amp;&amp;Object.keys(slideContent).length){
var gallery_content=$(&quot;&lt;div&gt;&quot;).addClass(&quot;gallery-content&quot;).addClass(c.match(/in|out/)[0]).data(&quot;index&quot;,index).appendTo(self.node.find(&quot;.gallery-contents&quot;)),img_slider_content=$(&quot;&lt;div&gt;&quot;).appendTo(gallery_content)
;&quot;mobile_tree&quot;!=deviceController.device&amp;&amp;slideContent.display_position&amp;&amp;slideContent.position&amp;&amp;gallery_content.css({
justifyContent:{top:&quot;flex-start&quot;,center:&quot;center&quot;,
bottom:&quot;flex-end&quot;}[slideContent.position[0]],alignItems:{
left:&quot;flex-start&quot;,center:&quot;center&quot;,right:&quot;flex-end&quot;
}[slideContent.position[1]]})
;if(slideContent.display_title||slideContent.display_text){
var _title=(slideContent.display_title&amp;&amp;slideContent.title||&quot;&quot;).trim(),_text=(slideContent.display_text&amp;&amp;slideContent.text||&quot;&quot;).trim(),backdrop_content
;(&quot;editor&quot;==v.mode||_title.length||_text.length)&amp;&amp;(backdrop_content=$(&quot;&lt;div&gt;&quot;).addClass(&quot;gallery-content-backdrop&quot;).appendTo(img_slider_content))
;if(&quot;editor&quot;==v.mode||_title.length){
var $title=$(&quot;&lt;div&gt;&quot;).addClass(&quot;gallery-content-title&quot;).html(_title)
;backdrop_content.append($title)}
if(&quot;editor&quot;==v.mode||_text.length){
$text=$(&quot;&lt;div&gt;&quot;).addClass(&quot;gallery-content-text&quot;).html(_text)
;backdrop_content.append($text)}
&quot;editor&quot;==v.mode&amp;&amp;[&quot;title&quot;,&quot;text&quot;].each(function(key){
var $node=eval(&quot;$&quot;+key);if(slideContent[&quot;display_&quot;+key]){
$node.attr({uinocb:!0,uitype:&quot;editor&quot;,
placeholder:&quot;Enter a text here&quot;}).data(&quot;editor_params&quot;,{
onBlur:function(t){self.set_slide_value(index,key,t.getContent({
format:&quot;html&quot;}))}});self.content._convert_editor(self.cpt,$node)
;editorController.setContent($node,eval(&quot;_&quot;+key))}})
;if(GraphicalType.available&amp;&amp;backdrop_content){
var prefix=GraphicalType.graphical_types.backdrop.preset_data.prefix,preset=slideContent.display_backdrop&amp;&amp;GraphicalType.data_or_version_preset(&quot;backdrop&quot;,slideContent.backdrop_preset)
;backdrop_content.removeClassMatch(new RegExp(prefix))
;if(preset){$title&amp;&amp;$title.addClass(&quot;gt_backdrop_title&quot;)
;$text&amp;&amp;$text.addClass(&quot;gt_backdrop_content&quot;)
;backdrop_content.addClass(prefix+&quot; &quot;+prefix+&quot;_&quot;+preset)}else{
$title&amp;&amp;$title.removeClass(&quot;gt_backdrop_title&quot;)
;$text&amp;&amp;$text.removeClass(&quot;gt_backdrop_content&quot;)}}}
if(slideContent.display_button){
var _button_text=(slideContent.display_button&amp;&amp;slideContent.button_text||&quot;&quot;).strip()
;if(&quot;editor&quot;==v.mode||_button_text.length){
$button=$(&quot;&lt;a&gt;&quot;).addClass(&quot;site_button&quot;).attr(slideContent.link||{})
;$button.append($(&apos;&lt;span class=&quot;button_content&quot;&gt;&apos;).text(_button_text))
;v.features.do_follow_links?$button.attr(&quot;rel&quot;,&quot;noopener noreferrer&quot;):$button.attr(&quot;rel&quot;,&quot;nofollow noopener noreferrer&quot;)
;img_slider_content.append($button)}if(GraphicalType.available){
var prefix=GraphicalType.graphical_types.button.preset_data.prefix
;img_slider_content.removeClassMatch(new RegExp(prefix))
;var preset=GraphicalType.data_or_version_preset(&quot;button&quot;,slideContent.button_preset)
;preset&amp;&amp;img_slider_content.addClass(prefix+&quot; &quot;+prefix+&quot;_&quot;+preset)
}}}}return sliderImgNode},addPinterestNode:function(){var t=this
;Misc.poll(function(){
return $(&quot;.addthis_button_pinterest&quot;).length&gt;0},function(){
var e=$(&quot;&lt;div class=pin-it&gt;&quot;).hide().appendTo(t.node)
;t.component.data.imgList.each(function(t){
$(&quot;&lt;img&gt;&quot;).attr(&quot;src&quot;,t.url).appendTo(e)})})},
sliderNavigation:function(t,e,i){
var n=e.node.find(&quot;.gallery-nav&quot;),o=e.node.find(&quot;.gallery-slider&quot;),a=function(t,i){
if(o.hasClass(&quot;wait&quot;))setTimeout(function(){a(t,i)},50);else{
var n=&quot;left&quot;,s=o.find(&quot;.in&quot;).data().index,d=0,l=e.component.data.imgList.length-1
;if(i===undefined)if(t){n=&quot;left&quot;;(d=s-1)&lt;0&amp;&amp;(d=l)}else{n=&quot;right&quot;
;(d=s+1)&gt;l&amp;&amp;(d=0)}else s&lt;(d=i.data(&quot;imageID&quot;))&amp;&amp;(n=&quot;right&quot;)
;if(o.find(&quot;.gallery-dot&quot;).length){d==l&amp;&amp;0==s&amp;&amp;(n=&quot;left&quot;)
;o.find(&quot;.gallery-dot.selected&quot;).removeClass(&quot;selected&quot;)
;$(o.find(&quot;.gallery-dot&quot;)[d]).addClass(&quot;selected&quot;)}
s!=d&amp;&amp;e.slideTo(n,d)}};if(&quot;none&quot;==t)return!1
;if(i&gt;5||&quot;arrow&quot;==t){
$(&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(n)
;$(&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(n)
;o.find(&quot;.gallery-arrow&quot;).on(&quot;click&quot;,function(){
o.hasClass(&quot;wait&quot;)||a($(this).hasClass(&quot;left&quot;))})}else{
for(var s=0;s&lt;i;s++){var d=&quot;&quot;;s||(d=&quot; selected&quot;)
;$(&quot;&lt;div class=&apos;gallery-dot&quot;+d+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(n).data(&quot;imageID&quot;,s)
}o.find(&quot;.gallery-dot&quot;).on(&quot;click&quot;,function(){
o.hasClass(&quot;wait&quot;)||a(null,$(this))})}o.swipe(a)},
setPreview:function(t,e){
var i=this.component.data.preview_type,n=this.node.find(&quot;.gallery-preview-image&quot;),o=310
;if(&quot;c&quot;==i){n.removeClass(&quot;margin&quot;);n.addClass(&quot;crop&quot;)}else{
n.removeClass(&quot;crop&quot;);n.addClass(&quot;margin&quot;)}
n.fadeOut(o,function(){
var i=t.component.H()-t._min_height_value(t.component.data.min_height)
;&quot;gp&quot;==t.component.data.type&amp;&amp;t.component.data.gap&amp;&amp;(i-=t.component.data.gap)
;var o=bestImgSrc(t.component.data.imgList[e],t.component.W(),i)
;n.css({height:i}).data(&quot;index&quot;,e).cdnSrc(o,t.component.W(),i)
}).fadeIn(o,function(){n.is(&quot;:visible&quot;)||n.show()})},
slideTo:function(t,e){
var i=this,n=this.node.find(&quot;.gallery-slider&quot;)
;&quot;sw&quot;==this.cpt.data.type&amp;&amp;(n=n.add(this.cpt.node.find(&quot;.gallery-contents&quot;)))
;var o=this.currentI;this.currentI=e
;if(&quot;editor&quot;==v.mode&amp;&amp;&quot;sw&quot;==i.cpt.data.type){
if(editorController.current_node&amp;&amp;0!=this.cpt.componentBody.has(editorController.current_node).length){
editorController.resumed&amp;&amp;editorController.current_editor.fire(&quot;blur&quot;)
;editorController.deselect()}if(i.cpt.propertyNode){
$(&quot;.imgListClean &gt; div &gt; .items_container&quot;,i.cpt.propertyNode).removeClass(&quot;open&quot;)
;$(&quot;.imgListClean &gt; div &gt; .items_container&quot;,i.cpt.propertyNode).eq(e).addClass(&quot;open&quot;)
}}if(o!=e){n.addClass(&quot;wait&quot;).data(&quot;currentI&quot;,e)
;&quot;slide&quot;==this.component.data.slider_anim?&quot;right&quot;==t?n.find(&quot;.img_click, .gallery-content&quot;).each(function(t,i){
var n=$(i).data().index;if(n==o){
$(i).removeClass(&quot;in&quot;).addClass(&quot;in-out&quot;);setTimeout(function(){
$(i).removeClass(&quot;in-out&quot;).addClass(&quot;out&quot;)
;$(i).addClass(&quot;no_transition&quot;);setTimeout(function(){
$(i).removeClass(&quot;no_transition&quot;)},100)},1050)}else if(n==e){
$(i).removeClass(&quot;out&quot;).addClass(&quot;out-in&quot;)
;setTimeout(function(){
$(i).removeClass(&quot;out-in&quot;).addClass(&quot;in&quot;).siblings().removeClass(&quot;in&quot;)
},1050)}
}):n.find(&quot;.img_click, .gallery-content&quot;).each(function(t,n){
var a=$(n).data().index
;if(a==o)$(n).removeClass(&quot;in&quot;).addClass(&quot;out&quot;);else if(a==e){
i.node.find($(n).hasClass(&quot;gallery-content&quot;)?&quot;.gallery-contents&quot;:&quot;.gallery-slider&quot;).prepend($(n).data(&quot;index&quot;,a).removeClass(&quot;out&quot;).addClass(&quot;in-out&quot;))
;$(n).removeClass(&quot;in-out&quot;).addClass(&quot;in&quot;).siblings().removeClass(&quot;in&quot;)
}}):n.find(&quot;.img_click, .gallery-content&quot;).each(function(t,i){
var n=$(i).data().index;if(n==o){
$(i).removeClass(&quot;in&quot;).addClass(&quot;in-out&quot;);setTimeout(function(){
$(i).removeClass(&quot;in-out&quot;).addClass(&quot;out&quot;)},1050)}else if(n==e){
$(i).removeClass(&quot;out&quot;).addClass(&quot;out-in&quot;)
;setTimeout(function(){
$(i).removeClass(&quot;out-in&quot;).addClass(&quot;in&quot;).siblings().removeClass(&quot;in&quot;)
},1050)}});if(n.find(&quot;.gallery-dot&quot;).length){
n.find(&quot;.gallery-dot.selected&quot;).removeClass(&quot;selected&quot;)
;$(n.find(&quot;.gallery-dot&quot;)[e]).addClass(&quot;selected&quot;)}
setTimeout(function(){n.removeClass(&quot;wait&quot;)},1050)}},
buildList:function(t){
var e=(_=this).component.data,i=this.getDescriptions(),n=$(&quot;&lt;div&gt;&quot;).appendTo(this.node.empty()).css(&quot;width&quot;,&quot;100%&quot;).css(&quot;height&quot;,&quot;100%&quot;).addClass(&quot;gallery-mode-&quot;+this.cpt.data.type)
;this.css&amp;&amp;this.css.remove();switch(_.component.data.type){
case&quot;gv&quot;:
var o=$(&quot;&lt;div class=&apos;gallery gallery-vertical hover_n col&quot;+e.col+&quot; gap&quot;+e.gap+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(n)
;e.imgList.each_with_index(function(t,e){
_.verticalImgNode(_,e,t).appendTo(o)})
;o.parents(&quot;.componentBody&quot;).attr(&quot;style&quot;,&quot;overflow:hidden;&quot;)
;this._checkHeight();setTimeout(function(){_._checkHeight()
;o.find(&quot;.img_click&quot;).on(&quot;click&quot;,function(){
tb_show_viewer(&quot;editor&quot;==v.mode?_.getDescriptions():i,$(this).data().index,e.imgList,_._protected())
;sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));this.blur()})
},1e3);break;case&quot;gh&quot;:
o=$(&quot;&lt;div class=&apos;gallery gallery-horizontal hover_&quot;+e.hover_effect+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(n)
;var a=[],s=_.node.find(&quot;.gallery-horizontal&quot;).innerWidth(),d=function(t,e,i){
var n=parseFloat((s-e*(t.length-1))/_._totalSize(t,0))
;t.each_with_index(function(t,o){
var a=Math.floor(t.width()*n),s=Math.floor(i*n);t.css({width:a,
height:s,&quot;margin-bottom&quot;:e,&quot;margin-left&quot;:o?e:0})
;var d=t.data(&quot;img&quot;);d&amp;&amp;t.cdnSrc(bestImgSrc(d,a,s),a,s)})}
;e.imgList.each_with_index(function(t,i){
var n=e.gap,l=_._min_height_value(e.min_height),r=Math.floor(l*t.width/t.height)
;if(_._totalSize(a,n)+r&lt;=s){
a[a.length]=_.horizontalImgNode(i,t,l,r).appendTo(o)
;i==e.imgList.length-1&amp;&amp;d(a,n,l)}else{var c,p
;i==e.imgList.length-1&amp;&amp;(p=l*(c=s)/r);d(a,n,l)
;(a=[])[a.length]=_.horizontalImgNode(i,t,p||l,c||r).appendTo(o)
}});this._checkHeight();setTimeout(function(){_._checkHeight()
;o.find(&quot;.img_click&quot;).on(&quot;click&quot;,function(){
tb_show_viewer(&quot;editor&quot;==v.mode?_.getDescriptions():i,$(this).data().index,e.imgList,_._protected())
;sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));this.blur()
}).on(&quot;dblclick&quot;,function(){return!1})},1e3);break;case&quot;gp&quot;:
var l=0
;null==this.node.find(&quot;.gallery-preview-image&quot;).data()||t||(l=this.node.find(&quot;.gallery-preview-image&quot;).data().index)
;o=$(&quot;&lt;div class=&apos;gallery gallery-preview &quot;+e.min_height+&quot; &quot;+e.list_position+&quot; hover_&quot;+e.hover_effect+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(this.node.find(&quot;&gt; div&quot;))
;var r=$(&quot;&lt;div class=&apos;gallery-preview-image&apos;&gt;&lt;/div&gt;&quot;),c=$(&quot;&lt;div class=&apos;gallery-slide&apos;&gt;&lt;/div&gt;&quot;)
;if(&quot;b&quot;==e.list_position){r.appendTo(o);c.appendTo(o)
}else if(&quot;t&quot;==e.list_position){c.appendTo(o);r.appendTo(o)
}else if(&quot;n&quot;==e.list_position){c.appendTo(o)
;e.slider_width&amp;&amp;!deviceController.device.match(/mobile/)&amp;&amp;c.css(&quot;height&quot;,&quot;100%&quot;)
}
var p=$(&quot;&lt;div class=&apos;gallery-images&apos;&gt;&lt;/div&gt;&quot;).appendTo(c),h=($(&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(c),
$(&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(c),
e.gap),g=[];e.imgList.each_with_index(function(t,e){
var i=p.height(),n=Math.floor(i*t.width/t.height)
;e==l&amp;&amp;_.setPreview(_,e)
;g[g.length]=_.horizontalImgNode(e,t,i,n).css({
&quot;margin-left&quot;:e?h:0}).appendTo(p)});p.css({
width:_._totalSize(g,h)+1})
;r.css(&quot;margin-&quot;+(&quot;b&quot;==this.component.data.list_position?&quot;bottom&quot;:&quot;top&quot;),p.outerHeight()+this.component.data.gap+&quot;px&quot;)
;this._checkHeight();setTimeout(function(){_._checkHeight()
;o.find(&quot;.img_click&quot;).on(&quot;click&quot;,function(){
if(&quot;n&quot;!=e.list_position){_.setPreview(_,$(this).data().index)
;_._checkHeight()}else{
tb_show_viewer(&quot;editor&quot;==v.mode?_.getDescriptions():i,$(this).data().index,e.imgList,_._protected())
;sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));this.blur()}
}).on(&quot;dblclick&quot;,function(){return!1})
;o.find(&quot;.gallery-arrow&quot;).on(&quot;click&quot;,function(){
var t=o.find(&quot;.gallery-images&quot;),e=o.find(&quot;.gallery-slide&quot;).width()*(deviceController.device.match(/mobile/)?1:.5),i=$(this),n=parseInt(t.css(&quot;left&quot;).replace(&quot;px&quot;,&quot;&quot;)),a=0
;if(i.hasClass(&quot;left&quot;))n&lt;=a&amp;&amp;n!=a&amp;&amp;(n+e&lt;a?t.css({left:n+e
}):t.css({left:a}));else{
var s=-1*(t.width()-o.find(&quot;.gallery-slide&quot;).width()+a)+1
;n&gt;s&amp;&amp;n!=s&amp;&amp;(n-e&gt;=s?t.css({left:n-e}):t.css({left:s}))}})
;o.find(&quot;.gallery-preview-image&quot;).on(&quot;click&quot;,function(){
tb_show_viewer(&quot;editor&quot;==v.mode?_.getDescriptions():i,$(this).data().index,e.imgList,_._protected())
;sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));this.blur()})
},1e3);break;case&quot;s&quot;:case&quot;sw&quot;:var m=&quot;arrow&quot;
;&quot;dot&quot;==e.slider_nav&amp;&amp;e.imgList.length&lt;=5&amp;&amp;(m=&quot;dot&quot;)
;o=$(&quot;&lt;div class=&apos;gallery gallery-slider &quot;+e.slider_anim+&quot; bg_size_&quot;+this.component.data.preview_type+&quot;&apos;&gt;&lt;/div&gt;&quot;).data(&quot;currentI&quot;,this.currentI||0).appendTo(this.node.find(&quot;&gt; div&quot;).empty())
;&quot;sw&quot;==this.cpt.data.type&amp;&amp;o.append($(&quot;&lt;div&gt;&quot;).addClass(&quot;gallery-contents&quot;))
;$(&quot;&lt;div class=&apos;gallery-nav &quot;+m+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(o)
;e.imgList.each_with_index(function(t,n){
_.sliderImgNode(n,t).on(&quot;click&quot;,function(){if(e.thumb){
tb_show_viewer(&quot;editor&quot;==v.mode?_.getDescriptions():i,$(this).data().index,e.imgList,_._protected())
;sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));this.blur()}
}).on(&quot;dblclick&quot;,function(){return!1}).appendTo(o)})
;e.imgList.length&gt;1&amp;&amp;this.sliderNavigation(e.slider_nav,_,e.imgList.length)
;this.toggleAutoPlay(!0);if(&quot;sw&quot;==_.cpt.data.type){
var u=function(){_.css&amp;&amp;_.css.remove();var t=_.cpt.uniqId(),e={}
;_.node.addClass(t)
;var i=&quot;.&quot;+t+&quot; .gallery-content{padding: 10px;}\n.detected_device_mobile .&quot;+t+&quot; .gallery-content{padding: 11px;}&quot;
;if(_.component.data.slider_width&amp;&amp;&quot;foreground&quot;==_.cpt.data.content_align&amp;&amp;!deviceController.device.match(/mobile/)){
i+=&quot;.&quot;+t+&quot; .gallery-content{width: 200px;}&quot;
;i+=&quot;.&quot;+t+&quot; .gallery-content.in, .&quot;+t+&quot; .gallery-content.out-in, .&quot;+t+&quot; .gallery-slider.fade .gallery-content{position: absolute;left: 20px; right: 20px;}&quot;
;var n=1200,o=_.cpt.page&amp;&amp;_.cpt.page.foreground&amp;&amp;_.cpt.page!=v.page_bg&amp;&amp;!$.isEmptyObject(_.cpt.page.foreground)&amp;&amp;&quot;unique&quot;==_.cpt.page.foreground.select?_.cpt.page.foreground:v.page_bg.foreground
;o&amp;&amp;o.activate&amp;&amp;o.width&amp;&amp;0!=parseInt(o.width)&amp;&amp;(n=parseInt(o.width))
;e.width=n;e.margin=($(&quot;#body&quot;).width()-n)/2}
_.css=$(loadStyle(css_parser(&quot;carousel&quot;,i,$.extend({},_.component.getAllData(),e)),$(&quot;#block_custom_styles_css&quot;)[0])).attr(&quot;id&quot;,t)
;if(&quot;mobile_tree&quot;==deviceController.device){var a=0
;_.cpt.node.find(&quot;.gallery-contents .gallery-content&quot;).each(function(){
var t=$(this).find(&quot;&gt; div&quot;).height()
;(t+=$(this).innerHeight()-$(this).height())&gt;a&amp;&amp;(a=t)})
;a&lt;100&amp;&amp;(a=(_.cpt.prop()||_.prop(&quot;desktop&quot;)).h)
;a&gt;0&amp;&amp;_.cpt.node.css(&quot;min-height&quot;,a)
}else _.cpt.node.css(&quot;min-height&quot;,_.cpt.H())};u()
;this.sigCtl.disconnect(&quot;Foreground.changed&quot;)
;this.sigCtl.connect(&quot;Foreground.changed&quot;,function(t,e){
e!=_.cpt.page&amp;&amp;e!=v.page_bg||u()})}break;default:
if(&quot;editor&quot;!=v.mode||this.cpt.getId()==this.cpt.id&amp;&amp;!this.show_blockselectionmode){
o=$(&quot;&lt;ul class=&apos;jcarousel-skin-tango&apos;&gt;&lt;/ul&gt;&quot;).appendTo(this.node.find(&quot;&gt; div&quot;).empty())
;e.imgList.each_with_index(function(t,n){
_.buildImg(t).appendTo($(&quot;&lt;li&gt;&lt;/li&gt;&quot;).appendTo(o)).addClass(&quot;clickable&quot;).click(function(){
tb_show_viewer(&quot;editor&quot;==v.mode?_.getDescriptions():i,n,e.imgList,_._protected())
;sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,t);this.blur();return!1
}).on(&quot;dblclick&quot;,function(){return!1})});var _=this
;o.jcarousel({vertical:this.component.W()&lt;this.component.H(),
scroll:e.scroll,auto:0,start:e.start,animation:e.animationSpeed,
initCallback:function(t){try{
$(&quot;.jcarousel-skin-tango.jcarousel-container-horizontal ,.jcarousel-skin-tango .jcarousel-clip-horizontal&quot;,_.node).width(_.component.W()-85)
;$(&quot;.jcarousel-skin-tango.jcarousel-container-vertical ,.jcarousel-skin-tango .jcarousel-clip-vertical&quot;,_.node).width(_.component.W()-42)
}catch(e){}t.buttons()}})}else{this.show_blockselectionmode=!1
;this.blockSelectionMode.show_select()}}this.addPinterestNode()
;this._protected()&amp;&amp;this._antiDownload()},
_setFullWidth:function(){
this.component.setFullWidth(([&quot;s&quot;,&quot;sw&quot;].include(this.component.data.type)||&quot;gp&quot;==this.component.data.type&amp;&amp;&quot;n&quot;==this.component.data.list_position)&amp;&amp;this.component.data.slider_width)
},_setThumb:function(){
$(&quot;div.gallery-slider&quot;).toggleClass(&quot;thumb&quot;,this.component.data&amp;&amp;&quot;s&quot;==this.component.data.type&amp;&amp;this.component.data.thumb||!1)
},_checkHeight:function(){clearTimeout(this.check_to);var t=this
;this.check_to=setTimeout(function(){var e=null,i=t.component
;switch(i.data.type){case&quot;gv&quot;:
e=t.node.find(&quot;.gallery&quot;).innerHeight();break;case&quot;gh&quot;:
e=(n=$(&quot;.img_click:last&quot;,t.node)).position()?n.position().top+n.height():t.node.height()
;break;case&quot;gp&quot;:var n
;(n=$(&quot;.gallery-slide&quot;,t.node)).position()?&quot;n&quot;==t.component.data.list_position&amp;&amp;(e=t.node.find(&quot;.gallery-images&quot;).height()):e=parseInt(t.node.height())
;break;case&quot;s&quot;:case&quot;sw&quot;:
e=(n=t.component.data.imgList[t.node.find(&quot;.in&quot;).data(&quot;index&quot;)])!=undefined?Math.floor(t.node.width()*n.height/n.width):t.node.height()
}if(null!=e){t.fromCheckHeight=!0;i.setXYZWH({h:e},{
send_events:!1});sigCtl.emit(&quot;Component.moved&quot;)
;t.fromCheckHeight=!1;v.checkHeight()}},500)},
toggleAutoPlay:function(t){
var e=this,i=&quot;editor&quot;==v.mode||v.features.carousel_auto_play
;clearInterval(this.autoplayInterval)
;if(t&amp;&amp;this.cpt.data.auto_play&amp;&amp;i&amp;&amp;this.cpt.data.imgList.length&gt;1){
var n=function(){
if(&quot;editor&quot;==v.mode&amp;&amp;&quot;sw&quot;==e.cpt.data.type&amp;&amp;blockSelector.selected_cpts.include(e.cpt)&amp;&amp;1==blockSelector.selected_cpts.length){
statusController.message(&quot;La lecture automatique est d\xe9sactiv\xe9e quand le module est s\xe9lectionn\xe9&quot;,&quot;warning&quot;)
;clearInterval(e.autoplayInterval)
}else if(!e.node.find(&quot;.gallery-slider&quot;).hasClass(&quot;wait&quot;)){
e.node.find(&quot;.gallery-slider&quot;);var t=e.currentI+1
;t&gt;e.cpt.data.imgList.length-1&amp;&amp;(t=0);e.slideTo(&quot;right&quot;,t)}}
;this.autoplayInterval=setInterval(function(){
i&amp;&amp;e.cpt.data.auto_play&amp;&amp;n()
},1e3*(this.cpt.data.auto_play_time||5))}},
getDescriptions:function(){var t=this
;return FileDescription.get(this.component.data.imgList).done(function(e){
$(&quot;img&quot;,t.node).each(function(){var t
;(t=$(this).data(&quot;file_id&quot;))&amp;&amp;e[t]&amp;&amp;$([this,this.previousSibling]).attr(&quot;title&quot;,e[t])
})})},onDisplay:function(){
this.component.migrateOldGradientProperty();this.captions={
list:[]};this.node=this.component.componentBody
;this.sigCtl=new Signal(this);&quot;editor&quot;==v.mode&amp;&amp;this._showProp()
;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||!1
;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||!1
;this.component.data.gap=this.component.data.gap||0
;this.component.data.col=this.component.data.col||3
;this.component.data.padding=this.component.data.padding||[40,40,40,40]
;this.currentI=0;this.create()},create:function(t){
this.buildList();if(!t){this._setFullWidth()
;this._setColorFilter();this._setParallax();this._setThumb()}},
onSelect:function(){
$(this.component.propertyNode).add(this.component.propertyDesignNode)
;this._showProp()
;1==blockSelector.selected_cpts.length&amp;&amp;this.component.init_sliders()
;this.toggleAutoPlay(!1)},onDeselect:function(){
this.toggleAutoPlay(!0)},onPropertyChanged:function(t){
if(t.include(&quot;addImages&quot;)){
var e=this.cpt.getData(&quot;addImages&quot;),i=Misc.deepCloneObj(this.cpt.data.imgList).find_all(function(t){
return-1!=t.id});if(e instanceof Array&amp;&amp;e.length){
e.each(function(t){i.push(t)});this.cpt.setData(&quot;imgList&quot;,i)}
delete this.cpt.data.addImages}
t.equals([&quot;contentList&quot;])||this._showProp()
;this.component.data.protect&amp;&amp;(this.component.data.imgList.find(function(t){
return t.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;):&quot;editor&quot;!=v.mode&amp;&amp;v.features.image_protection&amp;&amp;this._antiDownload())
;if(t.include(&quot;select_mode_view&quot;)){
this.show_blockselectionmode=!0
;this.blockSelectionMode.show_select()}else{
if(t.include(&quot;type&quot;)&amp;&amp;(0==this.cpt.data.imgList.length||1==this.cpt.data.imgList.length&amp;&amp;-1==this.cpt.data.imgList[0].id)){
this.cpt.propertyNode.find(&quot;.imgList &gt; button&quot;).trigger(&quot;click&quot;)
;this.cpt.data.imgList=[{id:-1,name:&quot;default.png&quot;,width:128,
height:64,url:&quot;/images/default.png&quot;,thumbnails:{
normal:&quot;/images/default.png&quot;,small:&quot;/images/default.png&quot;}}]}
this.buildList();this._setFullWidth()
;if(t.include(&quot;type&quot;))if(&quot;gp&quot;==this.component.data.type){
this.component.setXYZWH({
h:4*this._min_height_value(this.component.data.min_height)},{
send_events:!1});sigCtl.emit(&quot;Component.moved&quot;)
}else this._checkHeight();t.include(&quot;thumb&quot;)&amp;&amp;this._setThumb()
;t.include(&quot;slider_nav&quot;)&amp;&amp;&quot;dot&quot;==this.component.data.slider_nav&amp;&amp;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(&quot;color&quot;==this.component.data.filter){
this.component.data.gradient_colors[2]=this.component.data.gradient_colors[2]||45
;$(&quot;#filterColorImg&quot;+this.component.uniqId()).setBackgroundGradient(this.component.getData(&quot;gradient_colors&quot;)[1],this.component.data.gradient_colors[0],this.component.data.gradient_colors[2])
}
var n=$(this.component.propertyNode).add(this.component.propertyDesignNode)
;if([&quot;s&quot;,&quot;sw&quot;].include(this.component.data.type))$(&quot;.filterRadio&quot;,n).show();else{
this.node.find(&quot;.img_click&quot;).filter(function(t,e){$(e).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;,n).hide()}
if([&quot;s&quot;,&quot;sw&quot;].include(this.component.data.type))$(&quot;.prop_check&quot;,n).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().show();else{
$(&quot;.prop_check&quot;,n).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().hide()
;this.component.data.parallax=!1
;$(&quot;.prop_check&quot;,n).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).prop(&quot;checked&quot;,&quot;&quot;)
}
(t.include(&quot;parallax&quot;)||t.include(&quot;background_position&quot;))&amp;&amp;this._setParallax()
}},onResizeStart:function(){
&quot;editor&quot;==v.mode&amp;&amp;blockSelector.selectedCpt()==this.cpt&amp;&amp;this.component.node.css(&quot;min-height&quot;,&quot;&quot;)
},onResizeStop:function(){switch(this.component.data.type){
case&quot;gh&quot;:case&quot;gv&quot;:this.fromCheckHeight||this.buildList();break
;case&quot;s&quot;:case&quot;gp&quot;:case&quot;sw&quot;:
this.setPreview(this,this.component.node.find(&quot;.gallery-preview-image&quot;).data(&quot;index&quot;)||0)
;break;default:this.buildList()}this._setFullWidth()
;this._setParallax()},onResize:function(){
&quot;gp&quot;==this.cpt.data.type&amp;&amp;this.cpt.data.slider_width&amp;&amp;&quot;n&quot;==this.cpt.data.list_position&amp;&amp;this.buildList()
},onMoveStop:function(){this._setFullWidth();this._setParallax()
},onRemove:function(){
this.sigCtl.disconnect(&quot;Foreground.changed&quot;)},
set_slide_value:function(t,e,i){if(&quot;editor&quot;==v.mode&amp;&amp;e){
var n=this.cpt.data.contentList?Misc.deepCloneObj(this.cpt.data.contentList):[]
;n[t]=n[t]||{};n[t][e]=i;this.node.addClass(&quot;no_transition&quot;)
;this.cpt.setData(&quot;contentList&quot;,n)
;this.node.removeClass(&quot;no_transition&quot;);return!0}},
get_slide_value:function(t,e){try{
return e?this.cpt.data.contentList[t][e]:this.set_slide_value(t,e,undefined)&amp;&amp;this.cpt.data.contentList[t]
}catch(i){}},_showProp:function(){
var t=this,e=$(this.component.propertyNode).add(this.component.propertyDesignNode),i=[&quot;locked&quot;,&quot;fixed&quot;,&quot;footer&quot;,&quot;sticky&quot;]
;[&quot;gv&quot;,&quot;gh&quot;,&quot;gp&quot;,&quot;s&quot;,&quot;sw&quot;,&quot;default&quot;].each(function(t){
$(&quot;li.uic_mode_&quot;+t,e).hide()})
;$(&quot;li.uic_mode_&quot;+(this.component.data.type||&quot;default&quot;),e).show()
;&quot;gp&quot;==this.component.data.type&amp;&amp;&quot;n&quot;!=this.component.data.list_position||[&quot;s&quot;,&quot;sw&quot;].include(this.component.data.type)?$(&quot;li.uic_prop_preview_type&quot;,e).show():$(&quot;li.uic_prop_preview_type&quot;,e).hide()
;this.component.setOptions(i)
;if([&quot;s&quot;,&quot;sw&quot;].include(this.component.data.type)){
$(&quot;.filterRadio&quot;,e).show()
;$(&quot;.prop_check&quot;,e).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().show()
;$(&quot;.wholeGradientProperty&quot;,e).toggle(&quot;color&quot;==this.component.data.filter)
}else{this.component.data.filter=&quot;none&quot;
;$(&quot;.filterRadio&quot;,e).hide()
;$(&quot;.prop_check&quot;,e).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().hide()
;this.component.data.parallax=!1
;$(&quot;.prop_check&quot;,e).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).prop(&quot;checked&quot;,&quot;&quot;)
}
$(&quot;.uic_autoplay_time&quot;,e).toggle(this.cpt.data.auto_play&amp;&amp;[&quot;s&quot;,&quot;sw&quot;].include(this.component.data.type))
;&quot;gp&quot;==this.component.data.type&amp;&amp;&quot;n&quot;==this.component.data.list_position&amp;&amp;$(&quot;.uic_full_width&quot;,e).show()
;$(&quot;.imgListClean&quot;,e).remove();if(&quot;sw&quot;==this.cpt.data.type){
var n=$(&apos;&lt;li class=&quot;imgListClean&quot;&gt;&apos;),o=t.currentI
;n.append(propertyConverter.convertLabel(undefined,{
text:&quot;Slide list&quot;}).node.addClass(&quot;propertyTitle&quot;))
;var a=$(&quot;&lt;div&gt;&quot;).appendTo(n)
;this.cpt.data.imgList.each_with_index(function(e,i){
var n=$(&quot;&lt;div&gt;&quot;).addClass(&quot;button_list_options&quot;)
;n.append(propertyConverter.convertImage_selector({
getData:function(){return t.cpt.data.imgList[i]},
setData:function(e,n){t.cpt.setHasChanged()
;t.cpt.data.imgList[i]=n;t.onPropertyChanged([&quot;imgList&quot;])}},{
name:&quot;_image&quot;,value:&quot;Change image&quot;}).node);[{name:&quot;title&quot;,
title:&quot;Display title&quot;},{name:&quot;text&quot;,title:&quot;Display text&quot;
},GraphicalType.available?[{name:&quot;backdrop&quot;,
title:&quot;Choose background&quot;,get:function(){
return propertyConverter.convertTrigger_preset({
data:t.get_slide_value(i),getData:function(e){
return t.get_slide_value(i,e)},setData:function(e,n){
t.set_slide_value(i,e,n)}},{gt_type:&quot;backdrop&quot;,
name:&quot;backdrop_preset&quot;}).node}}]:[],{name:&quot;button&quot;,
title:&quot;Display button&quot;,get:function(){
return $().add(propertyConverter.convertInputText({
getData:function(e){return t.get_slide_value(i,e)},
setData:function(e,n){t.set_slide_value(i,e,n)},
uniqId:function(){return t.cpt.getId()+&quot;_button_text_&quot;+i}},{
name:&quot;button_text&quot;,placeholder:&quot;Button text&quot;,
&quot;default&quot;:&apos;&quot;Button&quot;&apos;
}).node).add(propertyConverter.convertLink_selector({
getData:function(e){return t.get_slide_value(i,e)},
setData:function(e,n){t.set_slide_value(i,&quot;link&quot;,n)}},{
icon:&quot;t_link&quot;,name:&quot;&quot;,tagName:&quot;&quot;
}).node).add(GraphicalType.available?propertyConverter.convertTrigger_preset({
data:t.get_slide_value(i),getData:function(e){
return t.get_slide_value(i,e)},setData:function(e,n){
t.set_slide_value(i,e,n)}},{gt_type:&quot;button&quot;,
name:&quot;button_preset&quot;,text:&quot;Button style&quot;}).node:&quot;&quot;)}},{
name:&quot;position&quot;,title:&quot;Choose position&quot;,get:function(){
return propertyConverter.convertPosition({getData:function(e){
return t.get_slide_value(i,e)},setData:function(e,n){
t.set_slide_value(i,e,n)}},{name:&quot;position&quot;}).node}
}].flatten().each(function(e){
var o=$(&apos;&lt;input id=&quot;cpt_&apos;+t.cpt.getId()+&quot;_&quot;+i+&quot;_&quot;+e.name+&apos;&quot; type=&quot;checkbox&quot;&gt;&lt;/input&gt;&apos;).prop(&quot;checked&quot;,t.get_slide_value(i,&quot;display_&quot;+e.name)).on(&quot;change&quot;,function(){
editorController.resumed&amp;&amp;editorController.current_editor.fire(&quot;blur&quot;)
;editorController.deselect()
;t.set_slide_value(i,&quot;display_&quot;+e.name,$(this).is(&quot;:checked&quot;))
}),a=$(&apos;&lt;div class=&quot;prop_switch&quot;&gt;&lt;label for=&quot;cpt_&apos;+t.cpt.getId()+&quot;_&quot;+i+&quot;_&quot;+e.name+&apos;&quot;&gt;&lt;/label&gt;&lt;span&gt;&apos;+e.title+&quot; &lt;/span&gt;&lt;/div&gt;&quot;).prepend(o)
;a.find(&quot;span&quot;).on(&quot;click&quot;,function(){
$(this).siblings(&quot;input[type=checkbox]&quot;).trigger(&quot;click&quot;)})
;n.append(a)
;e.get&amp;&amp;a.append($(&quot;&lt;div&gt;&quot;).addClass(&quot;hidden_option&quot;).append(e.get()))
})
;var s=$(&quot;&lt;div&gt;&quot;).addClass(&quot;items_container&quot;).data(&quot;image&quot;,e).on(&quot;click&quot;,function(e){
if($(this).hasClass(&quot;open&quot;)&amp;&amp;!$(e.target).hasClass(&quot;button_list_options&quot;)&amp;&amp;0==$(e.target).parents(&quot;.button_list_options&quot;).length)$(this).removeClass(&quot;open&quot;);else{
if($(e.target).closest(&quot;.button_list_options&quot;).length)return
;t.slideTo(&quot;right&quot;,$(this).index())}
}).append($(&quot;&lt;div&gt;&quot;).addClass(&quot;button_list_grip&quot;).on(&quot;mousedown&quot;,function(){
s.removeClass(&quot;open&quot;)
})).append($(&quot;&lt;div&gt;&quot;).addClass(&quot;button_list_title&quot;).append(sprintf(&quot;Slide %1$s&quot;,i+1))).append(t.cpt.data.imgList.length&gt;1?$(&quot;&lt;div&gt;&quot;).addClass(&quot;fonticon button_list_remove&quot;).html($.fn.fonticon(&quot;remove&quot;)).on(&quot;click&quot;,function(){
var e=t.cpt.data.imgList.indexOf($(this).parent().data(&quot;image&quot;))
;if(e&gt;-1){
var i=Misc.deepCloneObj(t.cpt.data.imgList),n=Misc.deepCloneObj(t.cpt.data.contentList)
;i.removeAt(e);n.removeAt(e);t.currentI=0==e?0:t.currentI-1
;t.cpt.setData({imgList:i,contentList:n})}
}):undefined).append(n);o==i&amp;&amp;s.addClass(&quot;open&quot;);a.append(s)})
;a.sortable({handle:&quot;.button_list_grip&quot;,
placeholder:&quot;items_container_placeholder&quot;,axis:&quot;y&quot;,scroll:!0,
cursor:&quot;move&quot;,opacity:.75,start:function(t,e){
e.item.removeClass(&quot;open&quot;)
;$(&quot;.items_container.open&quot;,a).removeClass(&quot;open&quot;)},
stop:function(t,e){e.item.removeClass(&quot;open&quot;)
;$(&quot;.items_container.open&quot;,a).removeClass(&quot;open&quot;)},
update:function(e,i){
var n=[],o=t.cpt.data.imgList.indexOf(i.item.data(&quot;image&quot;))
;a.find(&quot;&gt; .items_container&quot;).each(function(t,e){
n.push($(e).data(&quot;image&quot;))});var s=i.item.index()
;t.cpt.data.contentList[o]=[t.cpt.data.contentList[s],t.cpt.data.contentList[s]=t.cpt.data.contentList[o]][0]
;t.cpt.setData(&quot;imgList&quot;,n)}});$(&quot;.imgListClean&quot;,e).remove()
;$(&quot;.imgList&quot;,e).hide().after(n)
;$(&quot;li.content_align&quot;,e).toggle(this.cpt.data.slider_width)
}else{$(&quot;.imgListClean&quot;,e).remove()
;$(&quot;li.content_align&quot;,e).hide();$(&quot;.imgList&quot;,e).show()}
e.find(&quot;.select_background_position&quot;).css(&quot;display&quot;,&quot;s&quot;==this.component.data.type&amp;&amp;this.component.data.slider_width?&quot;block&quot;:&quot;none&quot;)
},_totalSize:function(t,e){var i=(t.length-1)*e
;t.each(function(t){
$.isFunction(t.width)?i+=t.width():i+=t.width});return i},
_min_height_value:function(t){
if(this.cpt.data.slider_width&amp;&amp;&quot;n&quot;==this.cpt.data.list_position)return this.cpt.H()
;var e=50;switch(t){case&quot;xs&quot;:e=100;break;case&quot;s&quot;:e=150;break
;case&quot;m&quot;:e=200;break;case&quot;l&quot;:e=250;break;case&quot;xl&quot;:e=300}return e
},_protected:function(){
return(this.component.data.protect||v.page_bg.security.content_protection)&amp;&amp;&quot;editor&quot;!=v.mode&amp;&amp;v.features.image_protection
},_antiDownload:function(){
var t=this.node.find(&quot;&gt; div&quot;),e=&quot;/images/spacer.gif&quot;,i=&quot;&quot;
;(new Image).src=e;switch(this.component.data.type){case&quot;gh&quot;:
case&quot;s&quot;:i=&quot;.img_click, #TB_ImageOff div:first&quot;;break;case&quot;gp&quot;:
i=&quot;.img_click, #TB_ImageOff div:first, .gallery.gallery-preview .gallery-preview-image&quot;
}if(&quot;&quot;!=i){$(i,t).on(&quot;mouseenter touchstart&quot;,function(){
var t=$(this);if(!($(&quot;.protectOverlay&quot;,t).length&gt;0)){
var i=$(&apos;&lt;img class=&quot;protectOverlay&quot; src=&quot;&apos;+e+&apos;&quot; width=&quot;&apos;+t.width()+&apos;&quot; height=&quot;&apos;+t.height()+&apos;&quot; /&gt;&apos;).css({
position:&quot;absolute&quot;,zIndex:95}).on(&quot;mouseleave&quot;,function(){
setTimeout(function(){i.remove()},0)});t.html(i)
;$(document).on(&quot;touchend&quot;,function(){setTimeout(function(){
i.remove()},0)})}});$(i,t).on(&quot;contextmenu&quot;,function(t){
if(&quot;DIV&quot;==t.target.nodeName)return!1})}},
_setColorFilter:function(){var t=this.node
;jQuery.fn.setImgFilter(t,&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(){if(&quot;editor&quot;==v.mode){
var t=$(this.component.propertyNode).add(this.component.propertyDesignNode)
;if([&quot;s&quot;,&quot;sw&quot;].include(this.component.data.type))$(&quot;.prop_check&quot;,t).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().show();else{
$(&quot;.prop_check&quot;,t).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().hide()
;this.component.data.parallax=!1
;$(&quot;.prop_check&quot;,t).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).prop(&quot;checked&quot;,&quot;&quot;)
}}
var e=&quot;editor&quot;==v.mode?$(&quot;#site&quot;):$(window),i=this.node.find(&quot;.img_click&quot;)
;if(this.component.data.parallax){
var n=this,o=n.component.node.position().top-e.height(),a=n.component.node.position().top+n.component.node.height()
;window.navigator.userAgent.match(/MSIE|Trident|Edge/)&amp;&amp;&quot;viewer&quot;==v.mode&amp;&amp;jQuery.fn.overrideWindowScroll(!0)
;var s=function(){var t=a-o
;if(e.scrollTop()&gt;o&amp;&amp;e.scrollTop()&lt;a){
var n=&quot;50% &quot;+(100-100*(e.scrollTop()-o)/t)+&quot;%&quot;;i.css({
backgroundPosition:n})}}
;e.off(&quot;scroll.parallaximg&quot;+this.component.uniqId()).on(&quot;scroll.parallaximg&quot;+this.component.uniqId(),s)
}else{e.off(&quot;scroll.parallaximg&quot;+this.component.uniqId())
;var d=&quot;50% &quot;+(&quot;s&quot;==this.component.data.type&amp;&amp;this.component.getData(&quot;background_position&quot;)!=undefined?this.component.getData(&quot;background_position&quot;):50)+&quot;%&quot;
;i.css({backgroundPosition:d})}e.trigger(&quot;scroll&quot;)},
onDeviceChanged:function(){var t=this
;if(&quot;mobile_tree&quot;==deviceController.device)setTimeout(function(){
var e=0;t.buildList(!0);switch(t.component.data.type){case&quot;gh&quot;:
var i=t.component.node.find(&quot;.gallery-horizontal&quot;)
;i.css(&quot;height&quot;,&quot;auto&quot;);e=i.height();i.css(&quot;height&quot;,&quot;&quot;);break
;case&quot;gp&quot;:e=$(&quot;.gallery-images&quot;,t.component.node).outerHeight()
;e+=1.5*e}
e&amp;&amp;t.component.node.css(&quot;min-height&quot;,Math.round(e)+&quot;px&quot;)
;v.checkHeight();t._setColorFilter()},200);else{
t.component.node.css(&quot;min-height&quot;,&quot;&quot;)
;&quot;sw&quot;==t.cpt.data.type&amp;&amp;t.buildList(!0)}},
on_fs_selection:function(){
filesSelector.selected=filesSelector.selected.find_all(function(t){
return-1!=t.fileinfo.id})}};</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,.gallery-slider .gallery-content{-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px);position:absolute;background-repeat:no-repeat;background-position:center center;background-size:cover;width:100%;height:100%}.gallery-slider .img_click.gallery-content,.gallery-slider .gallery-content.gallery-content{box-sizing:border-box}.gallery-slider.slide .out{-webkit-transition:left ease 2s;transition:left ease 2s;z-index:6;left:100%}.gallery-slider.slide .out.gallery-content{z-index:7}.gallery-slider.slide .in{-webkit-transition:left ease 1s;transition:left ease 1s;z-index:5;left:0}.gallery-slider.slide .in.gallery-content{z-index:6}.gallery-slider.slide .out-in{-webkit-transition:left ease 1s;transition:left ease 1s;z-index:6;left:0}.gallery-slider.slide .out-in.gallery-content{z-index:7}.gallery-slider.slide .in-out{-webkit-transition:left ease 2s;transition:left ease 2s;z-index:5;left:-100%}.gallery-slider.slide .in-out.gallery-content{z-index:6}.gallery-slider.fade .out{-webkit-transition:opacity ease 1s;transition:opacity ease 1s;z-index:6;opacity:0}.gallery-slider.fade .out.gallery-content{-webkit-transition:opacity ease 0.5s;transition:opacity ease 0.5s;z-index:7}.gallery-slider.fade .in{-webkit-transition:opacity ease 1s;transition:opacity ease 1s;z-index:8;opacity:1}.gallery-slider.fade .in.gallery-content{z-index:9}.gallery-slider.fade .in-out{-webkit-transition:opacity ease 1s;transition:opacity ease 1s;z-index:8;opacity:0}.gallery-slider.fade .in-out.gallery-content{-webkit-transition:opacity ease 0.5s;transition:opacity ease 0.5s;z-index:9}.gallery-slider.fade .out-in{-webkit-transition:opacity ease 0s;transition:opacity ease 0s;z-index:6;opacity:1}.gallery-slider.fade .out-in.gallery-content{z-index:7}.gallery-slider.thumb .img_click.in:hover{cursor:pointer}.gallery-slider .gallery-nav{opacity:1;-webkit-transition:opacity ease 1s;transition:opacity ease 1s}.gallery-slider:hover .gallery-nav{opacity:1;-webkit-transition:opacity ease 0s;transition:opacity ease 0s}.gallery-slider.bg_size_m .img_click{background-size:contain}.gallery-slider.bg_size_c .img_click{background-size:cover}.UI_Carousel.no_transition .gallery-slider.slide .gallery-content{-webkit-transition:left ease 0s !important;transition:left ease 0s !important}.UI_Carousel.no_transition .gallery-slider.fade .gallery-content{-webkit-transition:opacity ease 0s !important;transition:opacity ease 0s !important}.UI_Carousel .no_transition{display:none !important;transition:none !important;-webkit-transition:none !important;opacity:0 !important}.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,0.5);border-radius:50%;box-shadow:0 0 0 2px rgba(255,255,255,0.3);cursor:pointer;display:inline-block;height:15px;margin:0 10px;position:relative;-webkit-transition:background-color 0.25s linear,box-shadow 0.25s linear;transition:background-color 0.25s linear,box-shadow 0.25s linear;width:15px}.gallery-dot::after{background-color:rgba(255,255,255,0.7);border-radius:50%;content:&quot;&quot;;height:100%;left:0;pointer-events:none;position:absolute;top:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:0.2s,linear,-webkit-transform;transition:0.2s,linear,-webkit-transform;transition:transform,0.2s,linear;transition:transform,0.2s,linear,-webkit-transform;width:100%}.gallery-dot.selected{background-color:transparent}.gallery-dot.selected::after{-webkit-transform:scale(1);transform:scale(1)}.gallery-arrow{background-color:transparent;cursor:pointer;display:block;height:100%;position:absolute;-webkit-transition:background-color,0.25s,linear;transition:background-color,0.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,0.3)}.gallery-arrow.left:hover .fonticon{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.gallery-arrow.right:hover .fonticon{-webkit-transform:translateX(5px);transform:translateX(5px)}.gallery-arrow .fonticon{color:#ffffff;cursor:pointer;font-size:40px;left:0;position:absolute;right:0;text-align:center;top:calc(50% - 20px);-webkit-transform:translateX(0px);transform:translateX(0px);-webkit-transition:0.25s,ease-in-out,-webkit-transform;transition:0.25s,ease-in-out,-webkit-transform;transition:transform,0.25s,ease-in-out;transition:transform,0.25s,ease-in-out,-webkit-transform}.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:0px;height:100%;-webkit-transition:left,0.5s,ease-in-out;transition:left,0.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 0.25s ease;transition:-webkit-transform 0.25s ease;transition:transform 0.25s ease;transition:transform 0.25s ease, -webkit-transform 0.25s ease}.gallery-horizontal{line-height:0;position:absolute;height:100%;width:100%}.gallery-vertical{line-height:0;-webkit-column-count:3;column-count:3;-webkit-column-gap:0pxpx;column-gap:0pxpx}.gallery-vertical.col1{-webkit-column-count:1;column-count:1}.gallery-vertical.col2{-webkit-column-count:2;column-count:2}.gallery-vertical.col3{-webkit-column-count:3;column-count:3}.gallery-vertical.col4{-webkit-column-count:4;column-count:4}.gallery-vertical.col5{-webkit-column-count:5;column-count:5}.gallery-vertical.gap1{-webkit-column-gap:1px;column-gap:1px}.gallery-vertical.gap2{-webkit-column-gap:2px;column-gap:2px}.gallery-vertical.gap3{-webkit-column-gap:3px;column-gap:3px}.gallery-vertical.gap4{-webkit-column-gap:4px;column-gap:4px}.gallery-vertical.gap5{-webkit-column-gap:5px;column-gap:5px}.gallery-vertical.gap6{-webkit-column-gap:6px;column-gap:6px}.gallery-vertical.gap7{-webkit-column-gap:7px;column-gap:7px}.gallery-vertical.gap8{-webkit-column-gap:8px;column-gap:8px}.gallery-vertical.gap9{-webkit-column-gap:9px;column-gap:9px}.gallery-vertical.gap10{-webkit-column-gap:10px;column-gap:10px}.img_click{cursor:pointer;background-size:contain;background-repeat:no-repeat}.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:#ffffff;font-size:45px;left:calc(50% - 20px);position:absolute;top:50%;z-index:60}.hover_fa .img_click::after{-webkit-transition:background-color,0.25s,linear;transition:background-color,0.25s,linear}.hover_fa .img_click::before{opacity:0;-webkit-transform:scale(1.2) rotate(45deg);transform:scale(1.2) rotate(45deg);-webkit-transition:opacity 0.3s ease,-webkit-transform 0.2s linear;transition:opacity 0.3s ease,-webkit-transform 0.2s linear;transition:transform 0.2s linear,opacity 0.3s ease;transition:transform 0.2s linear,opacity 0.3s ease,-webkit-transform 0.2s linear}.hover_fa .img_click:hover::after{background-color:rgba(0,0,0,0.3)}.hover_fa .img_click:hover::before{opacity:1;-webkit-transform:scale(1) rotate(45deg);transform:scale(1) rotate(45deg)}.hover_g .img_click::before{-webkit-transform:translateY(-15px) rotate(45deg);transform:translateY(-15px) rotate(45deg);opacity:0;-webkit-transition:opacity 0.42s ease,-webkit-transform 0.2s linear;transition:opacity 0.42s ease,-webkit-transform 0.2s linear;transition:transform 0.2s linear,opacity 0.42s ease;transition:transform 0.2s linear,opacity 0.42s ease,-webkit-transform 0.2s linear}.hover_g .img_click::after{background:-webkit-gradient(linear, left top, left bottom, color-stop(23%, transparent), color-stop(26%, rgba(0,0,0,0.02)), color-stop(100%, rgba(0,0,0,0.5)));background:-webkit-linear-gradient(top, transparent 23%, rgba(0,0,0,0.02) 26%, rgba(0,0,0,0.5) 100%);background:linear-gradient(to bottom, transparent 23%, rgba(0,0,0,0.02) 26%, rgba(0,0,0,0.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr=&apos;#00000000&apos;, endColorstr=&apos;#80000000&apos;,GradientType=0 );-webkit-transform:translateY(10px);transform:translateY(10px);opacity:0;-webkit-transition:opacity 0.2s linear,-webkit-transform 0.2s linear;transition:opacity 0.2s linear,-webkit-transform 0.2s linear;transition:transform 0.2s linear,opacity 0.2s linear;transition:transform 0.2s linear,opacity 0.2s linear,-webkit-transform 0.2s linear}.hover_g .img_click:hover::after{-webkit-transform:translateY(0px);transform:translateY(0px);opacity:1}.hover_g .img_click:hover::before{opacity:1;-webkit-transform:translateY(0px) rotate(45deg);transform:translateY(0px) rotate(45deg)}.hover_c .img_click::before{-webkit-transform:translateX(-10px) rotate(45deg);transform:translateX(-10px) rotate(45deg);opacity:0;-webkit-transition:opacity 0.2s ease 0.1s,-webkit-transform 0.2s linear 0.1s;transition:opacity 0.2s ease 0.1s,-webkit-transform 0.2s linear 0.1s;transition:transform 0.2s linear 0.1s,opacity 0.2s ease 0.1s;transition:transform 0.2s linear 0.1s,opacity 0.2s ease 0.1s,-webkit-transform 0.2s linear 0.1s;font-size:25px;text-shadow:0 0 30px rgba(0,0,0,0.8);top:20px;left:15px;color:rgba(255,255,255,0.5)}.hover_c .img_click::after{opacity:0;-webkit-transition:opacity,0.2s,linear;transition:opacity,0.2s,linear}.hover_c .img_click:hover::after{opacity:.5}.hover_c .img_click:hover::before{opacity:1;-webkit-transform:translateX(0px) rotate(45deg);transform:translateX(0px) rotate(45deg)}.hover_f .img_click::before{background-color:rgba(0,0,0,0.2);border-radius:50%;box-sizing:border-box;color:rgba(255,255,255,0.8);height:70px;opacity:0;padding-left:17px;padding-top:34px;-webkit-transform:translate(-15px, -31px) rotate(45deg);transform:translate(-15px, -31px) rotate(45deg);-webkit-transition:opacity,0.55s,ease;transition:opacity,0.55s,ease;width:70px}.hover_f .img_click::after{opacity:0;background-color:#fff}.hover_f .img_click:hover::after{opacity:.1;-webkit-animation:uic_flash 0.45s ease-in;animation:uic_flash 0.45s ease-in}.hover_f .img_click:hover::before{opacity:1}@-webkit-keyframes uic_flash{0%{opacity:.7}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}.imgListClean .prop_switch input:not(:checked) ~ .hidden_option{display:none}.UI_Carousel .gallery-mode-sw .gallery-content,.UI_Carousel .gallery-mode-sw .gallery-content&gt;div{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.UI_Carousel .gallery-mode-sw .gallery-content .site_button,.UI_Carousel .gallery-mode-sw .gallery-content&gt;div .site_button{margin:10px}.UI_Carousel .gallery-mode-sw .gallery-content .gtbackdrop_preset,.UI_Carousel .gallery-mode-sw .gallery-content&gt;div .gtbackdrop_preset{width:auto}.UI_Carousel .gallery-mode-sw .gallery-content-title.editor_focused{min-width:500px}.UI_Carousel .gallery-mode-sw .gallery-content-text.editor_focused{min-width:400px}.UI_Carousel .gallery-mode-sw .gallery-content-backdrop:not(.gtbackdrop_preset){text-align:center;color:#fff;background-color:rgba(0,0,0,0.5);padding:15px 25px}#content_editor .button_list_remove{display:none}#content_editor .items_container.open .button_list_remove{display:initial}
</style></uidget>