jQuery(function(e){e(".dsm_card_carousel").length&&e(".dsm_card_carousel_wrapper").each(function(){e(".dsm_card_carousel_child").each(function(){0===e(this).find(".et_pb_module_inner").children().length&&e(this).find(".et_pb_module_inner").parent().remove()}),e(document).on("click",".dsm-card-lightbox-trigger",function(t){var o,i,s;t.preventDefault(),e(this).hasClass("dsm-card-image-lightbox")?(o=e(this).parent().attr("data-mfp-src"),i="image",s=""):(o=e(this).parent().attr("data-mfp-src"),i="iframe",s="dsm-video-popup-wrap "),e(this).hasClass("et_pb_button")&&(o=e(this).attr("href")),e.magnificPopup.open({delegate:"a",items:{src:o},type:i,iframe:{markup:'
',patterns:{youtube:{index:"youtube.com/",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1&rel=0"},youtu_be:{index:"youtu.be",id:"/",src:"//www.youtube.com/embed/%id%?autoplay=1&rel=0"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},dailymotion:{index:"dailymotion.com",id:function(e){var t=e.match(/^.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/);return null!==t?void 0!==t[4]?t[4]:t[2]:null},src:"https://www.dailymotion.com/embed/video/%id%"}},srcAction:"iframe_src"},removalDelay:500,mainClass:s+"mfp-fade"})});var t=JSON.parse(e(this).attr("data-params")),o=!1!==t[0].auto_height,i=!0!==t[0].equal_height&&o,s=!0!==t[0].equal_height_tablet,l=!0!==t[0].equal_height_phone,a=new Swiper(this,{resizeObserver:!0,observer:!0,observeParents:!0,observeSlideChildren:!0,direction:t[0].direction,effect:t[0].effect,coverflowEffect:{slideShadows:t[0].slider_effect_shadows,rotate:t[0].slider_effect_coverflow_rotate,depth:t[0].slider_effect_coverflow_depth},flipEffect:{rotate:30,slideShadows:t[0].slider_effect_shadows},cubeEffect:{slideShadows:t[0].slider_effect_shadows,shadow:t[0].slider_effect_shadows,shadowOffset:20,shadowScale:.94},centeredSlides:t[0].centered_slides,speed:parseInt(t[0].speed,10),loop:t[0].loop,preventInteractionOnTransition:!0===t[0].infinite_smooth_scrolling,pagination:{el:e(this).siblings(".swiper-pagination")[0],type:"bullets",clickable:!0},navigation:{nextEl:e(this).siblings(".swiper-button-next")[0],prevEl:e(this).siblings(".swiper-button-prev")[0]},mousewheel:t[0].mousewheel,autoplay:{enabled:t[0].autoplay,delay:!0===t[0].infinite_smooth_scrolling?"0":parseInt(t[0].autoplay_speed,10),disableOnInteraction:!1},grabCursor:!1!==t[0].touch_move&&t[0].grab,preloadImages:!1,lazy:{loadPrevNext:!0},allowTouchMove:t[0].touch_move,a11y:{enabled:!1,slideRole:"group"},breakpoints:{981:{slidesPerView:"cube"===t[0].effect||"flip"===t[0].effect?1:parseInt(t[0].slide_to_show,10),slidesPerGroup:parseInt(t[0].slide_to_scroll,10),spaceBetween:parseInt(t[0].space_between,10),slidesPerColumn:"on"===t[0].multiple_slide_row?t[0].slide_row:0,slidesPerColumnFill:"row",autoHeight:"on"!==t[0].multiple_slide_row&&i},768:{slidesPerView:"cube"===t[0].effect||"flip"===t[0].effect?1:parseInt(t[0].slide_to_show_tablet,10),slidesPerGroup:parseInt(t[0].slide_to_scroll_tablet,10),spaceBetween:parseInt(t[0].space_between_tablet,10),slidesPerColumn:"on"===t[0].multiple_slide_row?t[0].slide_row_tablet:0,slidesPerColumnFill:"row",autoHeight:"on"!==t[0].multiple_slide_row&&s},480:{slidesPerView:"cube"===t[0].effect||"flip"===t[0].effect?1:parseInt(t[0].slide_to_show_phone,10),slidesPerGroup:parseInt(t[0].slide_to_scroll_phone,10),spaceBetween:parseInt(t[0].space_between_phone,10),slidesPerColumn:"on"===t[0].multiple_slide_row?t[0].slide_row_phone:0,slidesPerColumnFill:"row",autoHeight:"on"!==t[0].multiple_slide_row&&l},320:{slidesPerView:"cube"===t[0].effect||"flip"===t[0].effect?1:parseInt(t[0].slide_to_show_phone,10),slidesPerGroup:parseInt(t[0].slide_to_scroll_phone,10),spaceBetween:parseInt(t[0].space_between_phone,10),slidesPerColumn:"on"===t[0].multiple_slide_row?t[0].slide_row_phone:0,slidesPerColumnFill:"row",autoHeight:"on"!==t[0].multiple_slide_row&&l}}});!0===t[0].pause_on_hover&&(e(this).on("mouseenter",function(e){a.autoplay.stop()}),e(this).on("mouseleave",function(e){a.autoplay.start()})),e(this).closest(".et_pb_tabs").length&&e(".et_pb_tabs a").on("click",function(){a.slideTo(a.realIndex,0)}),e(this).closest(".dsm_advanced_tabs").length&&e(".dsm-tab").on("click",function(){a.slideTo(a.realIndex,0)}),!0===t[0].autoplay&&("undefined"==typeof Waypoint?a.autoplay.start():new Waypoint({element:e(this),handler:function(e){a.autoplay.start(),this.destroy()},offset:t[0].autoplay_viewport})),a.on("slideChange",function(){a.updateSize(),a.update(),e(a.slides).each(function(t,o){e(this).hasClass("et_clickable")&&"undefined"!=typeof et_link_options_data&&!0