!function(e){function t(t){for(var i,s,o=t[0],c=t[1],l=t[2],d=0,f=[];d=+e.dataset.minWidth&&r>=+e.dataset.minHeight?(o.validAct(e),$(e).closest("form").find(".btn-submit")[0].disabled=!1):(console.log(i,r),t.messages.errorMsg="Minimum size: "+e.dataset.minWidth+"x"+e.dataset.minHeight,o.errorAct(e),$(e).closest("form").find(".btn-submit")[0].disabled=!0,e.setCustomValidity(t.messages.errorMsg))}}return!0}return this.messages.errorMsg="Only jpg/jpeg/png/gif and png files are allowed!",!1}return this.messages.errorMsg="",!!e.value}}}},e&&function e(t){var n=[];for(var r=1;r0&&r[r.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]50?(r/100*(n.width()?n.width():14)/2).toFixed(4):-((50-r)/50*(t.width()?t.width():9)/2).toFixed(4))+"px)")}),$("input[type=range]").each(function(e,t){var n=$(t).closest(".form__element__range").find(".form__element__range__min"),i=$(t).closest(".form__element__range").find(".form__element__range__max");n.text(t.min),i.text(t.max),setTimeout(function(){$(t).css("padding-left",(n.width()?n.width():9)/2+"px"),$(t).css("padding-right",(i.width()?i.width():14)/2+"px")}),$(t).trigger("input")}),$(".js-clear-form").click(function(e){var t=$(e.currentTarget).closest("form");t[0].reset(),t.find("input[type=range]").trigger("input")}),$(".js-copy--input").click(function(e){var t=$(e.currentTarget).parent().find("input")[0];t.disabled=!1,t.select(),document.execCommand("copy"),t.disabled=!0}),$(".form__photo__list").on("change","input",function(){return c(this,void 0,void 0,function(){var e,n,i;return l(this,function(r){switch(r.label){case 0:if(e=this,n=this.files,!this.files||!this.files.length)return[3,5];i=0,r.label=1;case 1:return i=s?o:s;for(i[0].dataset.valMin&&(o-=+i[0].dataset.valMin),i[0].dataset.valMax&&(o+=+i[0].dataset.valMax),c=o>c?c:o;o>=s;){new Date(o);var l=document.createElement("option");l.value=o+"",l.textContent=o+"",i.append(l),o--}for(var u=0;u<12;u++){var d=new Date(2018,u).getMonth(),f=e[d],p=document.createElement("option");p.value=d+"",p.textContent=f,r.append(p)}var h=new Date,g=h.getMonth(),v=h.getDate();function m(){var e=a.val(),t=i.val(),n=parseInt(r.val()+"")+1;a.empty();for(var s=new Date(+t,n,0).getDate(),o=1;o<=s;o++){var c=document.createElement("option");c.value=o+"",c.textContent=o+"",a.append(c)}e<=s&&a.val(e)}function b(){var e=new Date(+i.val(),+r.val(),+a.val()),t=new Date;new Date(t.getTime()-e.getTime()).getFullYear()-1970<+i[0].dataset.valMin?(i.addClass("invalid"),r.addClass("invalid"),a.addClass("invalid"),i[0].setCustomValidity("You need to be over "+i[0].dataset.valMin+" years old to be a member of our site"),r[0].setCustomValidity("You need to be over "+i[0].dataset.valMin+" years old to be a member of our site"),a[0].setCustomValidity("You need to be over "+i[0].dataset.valMin+" years old to be a member of our site")):(i.removeClass("invalid"),r.removeClass("invalid"),a.removeClass("invalid"),i[0].setCustomValidity(""),r[0].setCustomValidity(""),a[0].setCustomValidity(""))}i.val(c),i.on("change",m),r.val(g),r.on("change",m),i[0].dataset.valMin&&(i.on("change",b),r.on("change",b),a.on("change",b)),m(),a.val(v)})}}(),function(e){e.init=function(){if($("#mobile-menu").length){$("#mobile-menu").mmenu({extensions:["pagedim-black","shadow-page"],navbars:[{position:"top",content:['\n
\n '+(document.querySelector(".header-mobile__auth-wrapper")?document.querySelector(".header-mobile__auth-wrapper").innerHTML:"")+'\n
\n \n
\n
\n ']},{position:"bottom",content:['\n
Dark or Light\n \n
']}],iconbar:{add:!0,top:[].map.call(document.querySelectorAll(".icon-top li"),function(e){return e.innerHTML}),bottom:[].map.call(document.querySelectorAll(".icon-bottom li"),function(e){return e.innerHTML})}},{offCanvas:{pageSelector:"#page"}}),document.querySelector(".icon-bottom")&&$(document.querySelector(".icon-bottom")).remove(),document.querySelector(".icon-top")&&$(document.querySelector(".icon-top")).remove(),document.querySelector(".header-mobile__auth-wrapper")&&($(document.querySelector(".header-mobile__auth-wrapper")).remove(),$(".header-mobile__menu").addClass("is-auth"));var e=$("#mobile-menu").data("mmenu");e.bind("open:start",function(){$(".hamburger").addClass("event-none"),setTimeout(function(){$(".hamburger").addClass("is-active")},0)}),e.bind("open:finish",function(){$(".hamburger").removeClass("event-none")}),e.bind("close:start",function(){$(".hamburger").addClass("event-none"),setTimeout(function(){$(".hamburger").removeClass("is-active")},0)}),e.bind("close:finish",function(){$(".hamburger").removeClass("event-none")}),$(".hamburger").click(function(t){$(t.currentTarget).toggleClass("is-active"),$(t.currentTarget).hasClass("is-active")?e.open():e.close()}),window.addEventListener("scroll",function(){var e=$(".header-top").height(),t=e>0?e:$(".header-mobile").height();window.scrollY>t&&e>0?$(".banner-top__layout").css("position","fixed"):$(".banner-top__layout").css("position","")})}}}(a||(a={})),function(e){function t(e){$(e).find(".slider-mega-menu__item .item__content__title").each(function(e,t){$(t).dotdotdot({callback:function(){this.classList.add("truncated")},ellipsis:"… "})})}function n(e){void 0===e&&(e=document.body),$(e).parent().find(".list.two-line .list__tile__subtitle, .list.three-line .list__tile__subtitle, .list-k__item__title").dotdotdot({callback:function(){this.classList.add("truncated")},ellipsis:"… "}),$(e).parent().find(".item__tile .item__content__top, figcaption .item__content__top, .card-i__content:not(.no-truncate)").each(function(e,t){$(t).dotdotdot({callback:function(){this.classList.add("truncated")},ellipsis:"… "})})}function i(){$(".trending-games").each(function(e,t){var n=$(t).width();if(n){var r=0,a=0;$(t).find("li").each(function(e,t){(a+=$(t).width())<=n&&(r=e)}),$(t).find("li:nth-child(n+"+(r+2)+")").remove()}else document.addEventListener("DOMContentLoaded",i)})}e.init=function(){return window.updateTruncate=n,new Promise(function(e,r){var a;n(document.body),t(document.body),i(),e(),a=$(".deffered-truncate"),$(a).each(function(e,t){var i=new MutationObserver(function(e){e.forEach(function(e){setTimeout(function(){return n(t)})})});i.observe(t,{childList:!0})})})},e.megaMenuTruncate=t,e.truncateLocal=n,e.updateTruncateLocal=function(e){void 0===e&&(e=document.body),$(e).find(".truncated").dotdotdot({callback:function(){this.classList.add("truncated")},ellipsis:"… "})}}(s||(s={}));var u,d,f,p,h,g,v=n(23);!function(e){(u||(u={})).init=function(){$(".tabs--slides .tab-slider").each(function(e,t){new v.a(t,{slidesPerView:$(t).find(".tabs__switch").length,spaceBetween:1,freeMode:!0,initialSlide:$(t).find(".tabs__switch").index($(".tabs__switch.active")),breakpoints:{480:{slidesPerView:$(t).find(".tabs__switch").length>2?2:$(t).find(".tabs__switch").length},576:{slidesPerView:$(t).find(".tabs__switch").length>3?3:$(t).find(".tabs__switch").length},1024:{slidesPerView:$(t).find(".tabs__switch").length>4?4:$(t).find(".tabs__switch").length}}})}),$(".tab-slider--with_arrows:not(.tab-slider--rwa)").each(function(e,t){new v.a(t,{slidesPerView:$(t).find(".tabs__switch").length>=4?4:3===$(t).find(".tabs__switch").length?3:2,spaceBetween:1,freeMode:!0,initialSlide:$(t).find(".tabs__switch").index($(".tabs__switch.active")),breakpoints:{480:{slidesPerView:1},576:{slidesPerView:$(t).find(".tabs__switch").length>2?2:1},1024:{slidesPerView:$(t).find(".tabs__switch").length>3?3:2}}})}),$(".tab-slider--rwa").each(function(e,t){new v.a(t,{slidesPerView:$(t).find(".tabs__switch").length,spaceBetween:1,freeMode:!0,initialSlide:$(t).find(".tabs__switch").index($(".tabs__switch.active")),breakpoints:{480:{slidesPerView:1},576:{slidesPerView:$(t).find(".tabs__switch").length>2?2:1},991:{slidesPerView:$(t).find(".tabs__switch").length>3?3:2}}})}),$(".tile-slider").each(function(e,t){var n=new v.a(t,{slidesPerView:"auto",mousewheel:!0,freeModeSticky:!0,spaceBetween:2,navigation:{nextEl:t.querySelector(".tile-slider-button-next"),prevEl:t.querySelector(".tile-slider-button-prev")}});n.on("slideChange",function(){$('.tile-slider[data-for="'+n.el.dataset.for+'"]').each(function(e,t){t.swiper.slideTo(n.realIndex)})})}),$(".pn-slider__container").each(function(e,t){var n,i,r=t.querySelector(".pn-slider__img"),a=t.querySelector(".pn-slider__txt");r&&(n=new v.a(r,{slidesPerView:1,allowTouchMove:!1,speed:t.dataset.speed?+t.dataset.speed:300,autoplay:{delay:t.dataset.autoplay?+t.dataset.autoplay:5e3,disableOnInteraction:"false"!==t.dataset.interaction},navigation:{nextEl:t.querySelector(".pn-slider__next"),prevEl:t.querySelector(".pn-slider__prev")}})),a&&(i=new v.a(a,{slidesPerView:1,allowTouchMove:!1,speed:t.dataset.speed?+t.dataset.speed:300})),n.on("slideChange",function(){i.slideTo(n.realIndex)})}),$(".card-pn__slider .swiper-container").each(function(e,t){new v.a(t,{slidesPerView:3,spaceBetween:0,navigation:{nextEl:t.querySelector(".card-pn__slider-next"),prevEl:t.querySelector(".card-pn__slider-prev")},breakpoints:{480:{slidesPerView:1},576:{slidesPerView:2},768:{slidesPerView:2}}})})}}(),function(e){e.init=function(){function e(){$(".btn-dropdown.active").removeClass("active"),$(".btn-dropdown__activator.active").removeClass("active"),document.removeEventListener("click",e)}$(".btn-dropdown .btn-dropdown__activator").click(function(t){$(t.currentTarget).closest(".btn-dropdown").toggleClass("active"),t.currentTarget.classList.toggle("active"),t.currentTarget.classList.contains("active")?setTimeout(function(){document.addEventListener("click",e)},0):document.removeEventListener("click",e)}),$(".btn-dropdown__listitem").click(function(e){$(e.currentTarget).parent().find(".btn-dropdown__listitem.selected").removeClass("selected"),$(e.currentTarget).addClass("selected");var t=$(e.currentTarget).closest(".btn-dropdown").find(".btn-dropdown__value"),n=$(e.currentTarget).closest(".btn-dropdown").find(".btn-dropdown__selections input"),i=e.currentTarget.textContent,r=void 0!==e.currentTarget.dataset.value?e.currentTarget.dataset.value:i;t.text(i),n.val(r),n.trigger("change")}),$(".btn-dropdown").each(function(e,t){var n=$(t).find(".btn-dropdown__selections input").val();""===n?$(t).find(".btn-dropdown__listitem[data-value='"+n+"']").trigger("click"):$(t).find(".btn-dropdown__listitem:contains('"+n+"'), .btn-dropdown__listitem[data-value='"+n+"']").trigger("click")})}}(d||(d={})),function(e){(f||(f={})).init=function(){$(".js-behavior-filter input").change(function(e){var t=$(e.currentTarget).closest(".js-behavior-filter").find("[data-filter-value]");""===e.currentTarget.value?t.parent().show():(t.filter(function(t,n){return!new RegExp(e.currentTarget.value,"i").test(n.dataset.filterValue)}).parent().hide().css("opacity","0"),t.filter(function(t,n){return new RegExp(e.currentTarget.value,"i").test(n.dataset.filterValue)}).parent().show()),setTimeout(function(){s.truncateLocal($(e.currentTarget).closest(".js-behavior-filter")),t.filter(function(t,n){return new RegExp(e.currentTarget.value,"i").test(n.dataset.filterValue)}).parent().css("opacity","")})}),$(".js-behavior-toggle").click(function(e){var t=$(e.currentTarget.dataset.target);$(e.currentTarget).toggleClass("js-behavior-toggle--active"),window.innerWidth<576?$.fancybox.open(t,{beforeClose:function(){$(e.currentTarget).toggleClass("js-behavior-toggle--active")},afterClose:function(){$(t).css("display","")}}):$(t).toggleClass("d-none")}),$(".js-behavior-activation").click(function(e){var t=$(e.currentTarget.dataset.target);$(t).toggleClass("js-behavior-activation--active")})}}(),function(e){e.init=function(){}}(p||(p={})),function(e){e.init=function(){function e(){var e=this;setTimeout(function(){e.style.cssText="height:auto; padding:0",e.style.cssText="height:"+e.scrollHeight+"px"},0)}[].forEach.call(document.querySelectorAll("textarea"),function(t){t.addEventListener("keydown",e)})}}(h||(h={})),function(e){e.init=function(){var e,t=document.getElementsByClassName("accordion__btn");for(e=0;e0&&r[r.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1] .tabs__panel .tabs__switch.active").removeClass("active"),t.find("> .tabs__content > .tabs__content__element.active").removeClass("active visible"),$(this).addClass("active"),t.find("> .tabs__content > .tabs__content__element").eq(t.find(".tabs__switch").index($(this))).addClass("visible"),t.hasClass("tabs--with_arrows")&&t.find("> .tabs__panel .tab-slider--with_arrows")[0].swiper.slideTo(t.find("> .tabs__panel .tabs__switch").index(t.find("> .tabs__panel .tabs__switch.active"))),t.hasClass("tabs--slides")&&t.find("> .tabs__panel .tab-slider")[0].swiper.slideTo(t.find("> .tabs__panel .tabs__switch").index(t.find("> .tabs__panel .tabs__switch.active"))),function(){if("function"==typeof Event)window.dispatchEvent(new Event("resize"));else{var e=window.document.createEvent("UIEvents");e.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(e)}}(),setTimeout(function(){t.find("> .tabs__content > .tabs__content__element").eq(t.find(".tabs__switch").index($(e))).addClass("active")},0)}),$(".tabs__nav__arrow--prev").click(function(){if(-1===this.href.indexOf("javascript:")&&this.href)return!0;var e=$(this).closest(".tabs");if(-1!==e.find("> .tabs__content > .tabs__content__element.active").prev().index())e.find("> .tabs__panel .tabs__switch").eq(e.find("> .tabs__content > .tabs__content__element.active").prev().index()).trigger("click");else{var t=e.find("> .tabs__panel .tabs__switch").length-1;e.find("> .tabs__panel .tabs__switch").eq(t).trigger("click")}}),$(".tabs__nav__arrow--next").click(function(){if(-1===this.href.indexOf("javascript:")&&this.href)return!0;var e=$(this).closest(".tabs");-1!==e.find("> .tabs__content > .tabs__content__element.active").next().index()?e.find("> .tabs__panel .tabs__switch").eq(e.find("> .tabs__content > .tabs__content__element.active").next().index()).trigger("click"):e.find("> .tabs__panel .tabs__switch").eq(0).trigger("click")})}}(y||(y={})),function(e){e.init=function(){$(".single-page img").click(function(){$.fancybox.open({type:"image",src:this.src})})}}(w||(w={}));var F,k=new(function(){function e(){var e=this;this.subscriptions=[],window.addEventListener("storage",function(t){return e.emitter(t)})}return e.prototype.subscribe=function(e,t){this.subscriptions.push({key:e,handler:t})},e.prototype.emit=function(e,t,n){void 0===n&&(n=!0),localStorage.setItem(e,JSON.stringify(t)),n&&localStorage.removeItem(e)},e.prototype.emitter=function(e){this.subscriptions.forEach(function(t){t.key===e.key&&e.newValue&&t.handler(JSON.parse(e.newValue))})},e}());!function(e){function t(e){var t=document.querySelector("[name*=vanilla]");t&&t.contentWindow.postMessage({theme:e},"*")}(F||(F={})).init=function(){$(".theme-toggle button[type=button]").click(function(e){e.currentTarget.classList.toggle("toogle-right"),setTimeout(function(){$("html").toggleClass("theme-dark theme-light"),k.emit("theme",$("html").hasClass("theme-light")?"light":"dark",!1),t(JSON.parse(localStorage.getItem("theme")))},250)}),k.subscribe("theme",function(e){"dark"===e?(document.documentElement.classList.remove("theme-light"),document.documentElement.classList.add("theme-dark"),$(".theme-toggle button[type=button]").removeClass("toogle-right")):"light"===e&&(document.documentElement.classList.add("theme-light"),document.documentElement.classList.remove("theme-dark"),$(".theme-toggle button[type=button]").addClass("toogle-right")),t(JSON.parse(localStorage.getItem("theme")))}),window.addEventListener("message",function(e){"theme"===e.data.get&&t(JSON.parse(localStorage.getItem("theme")))})}}();var T,S,E,M=function(e,t,n,i){return new(n||(n=Promise))(function(r,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function o(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(s,o)}c((i=i.apply(e,t||[])).next())})},L=function(e,t){var n,i,r,a,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]'+t.state+"")}):$(e).append(' ')},e.prototype.renderCountryOptions=function(e,t){e.innerHTML="",t.forEach(function(t){$(e).append('")})},e}()}(T||(T={})),function(e){e.init=function(){$(".yt-player__playbtn").click(function(e){var t=$(e.currentTarget).closest(".yt-player");setTimeout(function(){t.find("figure").hide()},500),t.find("iframe")[0].src+="?autoplay=1"})}}(S||(S={})),function(e){e.init=function(){$(".snack__close, .js-snack-close").click(function(e){$(e.currentTarget).closest(".snack-wrapper").removeClass("snack-open")})}}(E||(E={}));var D,q,P=n(39),V=n.n(P),j={GET_JGAMES:"/get_jgames"},O=function(e,t,n,i){return new(n||(n=Promise))(function(r,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function o(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(s,o)}c((i=i.apply(e,t||[])).next())})},A=function(e,t){var n,i,r,a,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]'+n+"":''+n+""}},{title:"Rating",field:"rating",sorter:"number",align:"center",width:80,formatter:function(e,t){var n=e.getValue();return"Released"===e.getRow().getData().devStatus?''+n+"":''+n+""}}]}),$("#gj-link").click(function(e){$.fancybox.open($(e.currentTarget),{touch:!1}),n.length||function(){O(this,void 0,void 0,function(){var e;return A(this,function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),[4,fetch(j.GET_JGAMES)];case 1:return[4,i.sent().json()];case 2:return(n=i.sent()).length&&t.setData(n),[3,4];case 3:return e=i.sent(),console.error(e),[3,4];case 4:return[2]}})})}()}))}}(D||(D={})),function(e){(q||(q={})).init=function(){$(".gallery-slider").each(function(e,t){var n,i,r=new v.a(t,{initialSlide:0,slidesPerView:1,spaceBetween:10,navigation:{nextEl:t.querySelector(".gallery-slider__next"),prevEl:t.querySelector(".gallery-slider__prev")}}),a=$(t).closest(".tabs__content__element");if(a.find(".c-gallery .gallery-list__el")[0].classList.add("active"),a.length){var s=new MutationObserver(function(e){e.forEach(function(e){switch(e.type){case"attributes":e.target.classList.contains("active"),r.update()}})});s.observe(a[0],{attributes:!0})}n=r,(i=a).find(".c-gallery .gallery-list__el").each(function(e,t){t.addEventListener("click",function(){n.slideTo(e),i.find(".c-gallery .gallery-list__el.active").removeClass("active"),t.classList.add("active")})}),n.on("slideChange",function(){i.find(".c-gallery .gallery-list__el.active").removeClass("active"),i.find(".c-gallery .gallery-list__el")[n.realIndex].classList.add("active"),i.find(".gallery-popup__main-slider").each(function(e,t){t.swiper.slideTo(n.realIndex)})}),$(t).find(".swiper-slide").click(function(e){$.fancybox.open(a.find(".gallery-popup"),{touch:!1,beforeShow:function(){a.find(".gallery-popup__main-slider").each(function(e,t){t.swiper.slideTo(r.realIndex)})}})}),function(e,t){e.find(".gallery-popup__main-slider").each(function(e,n){var i=new v.a(n,{initialSlide:t,slidesPerView:1,spaceBetween:10,navigation:{nextEl:n.querySelector(".gallery-slider__next"),prevEl:n.querySelector(".gallery-slider__prev")}}),r=$(n).closest(".gallery-popup");if(r.find(".gallery-popup__sub-slider .gallery-list__el")[t].classList.add("active"),r.length){var a=new MutationObserver(function(e){e.forEach(function(e){switch(e.type){case"attributes":e.target.classList.contains("active"),i.update()}})});a.observe(r[0],{attributes:!0})}!function(e,t,n){e.find(".gallery-popup__sub-slider").each(function(i,r){var a=new v.a(r,{initialSlide:n,slidesPerView:"auto",spaceBetween:30,freeMode:!0,scrollbar:{el:r.querySelector(".swiper-scrollbar")}});if(e.find(".gallery-popup__sub-slider .gallery-list__el")[n].classList.add("active"),e.length){var s=new MutationObserver(function(e){e.forEach(function(e){switch(e.type){case"attributes":e.target.classList.contains("active"),a.update()}})});s.observe(e[0],{attributes:!0})}!function(e,t){e.on("slideChange",function(){t.slideTo(e.realIndex),$(t.$el).find(".gallery-list__el.active").removeClass("active"),$(t.$el).find(".gallery-list__el")[e.realIndex].classList.add("active")}),$(t.$el).find(".gallery-list__el").each(function(n,i){i.addEventListener("click",function(){e.slideTo(n),t.slideTo(n),$(t.$el).find(".gallery-list__el.active").removeClass("active"),i.classList.add("active")})})}(t,a)})}(r,i,t)})}(a,0)}),$(".gallery-nav__slider").each(function(e,t){var n=new v.a(t,{initialSlide:0,slidesPerView:"auto",spaceBetween:30,freeMode:!0,navigation:{nextEl:t.querySelector(".gallery-slider__next"),prevEl:t.querySelector(".gallery-slider__prev")},scrollbar:{el:t.querySelector(".swiper-scrollbar")}}),i=$(t).closest(".tabs__content__element");if(i.length){var r=new MutationObserver(function(e){e.forEach(function(e){switch(e.type){case"attributes":e.target.classList.contains("active"),n.update()}})});r.observe(i[0],{attributes:!0})}})}}();var I,B,R,z=function(e,t,n,i){return new(n||(n=Promise))(function(r,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function o(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(s,o)}c((i=i.apply(e,t||[])).next())})},H=function(e,t){var n,i,r,a,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]0&&r[r.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]