1/* 2 WebCoders.eu - Cameleon (E01) 2.2 JS 3 2020 WebCoders.eu Sp. z o.o. - all rights reserved. 4*/ 5var cfg_common={disabledMod:{},rwdImgParams:[{mq:"(min-width: 360px) and (max-width: 980px) 500px",wSize:"500w",gfxSizePrefix:"500_0"},{mq:"300px",wSize:"300w",gfxSizePrefix:"300_0"}]},cfg_mods={box_productfull:{defImgSizes:!1},box_filter:{initAsOpened:!0,stateCookie:!0},specialTiles:{rotatorDelay:5e3},resetcss:{proportionerExceptionSelector:".wce_resetcss-img img, .wce_resetcss-img iframe, iframe.wce_default, img.wce_default, [id*='box_wce_special-tiles'] img, [id*='box_wce_baner'] img"},courtainMenu:{lvl2TrimmCount:3},alertCloseTime:3e3,rwdImgParams:cfg_common.rwdImgParams,disabledMod:cfg_common.disabledMod},cfg_frontApiMods={menu:{initialImageUrl:""},mainMenuProds:{pricesMode:3,prodsCount:5,insertBaners:!0},listExtension:{enableCarousell:!0,enableAdditionalInfo:!0,itemsCount:5,expositionTime:2e3,infiniteRoll:!0,show:{avail:!0,deliv:!0,code:!0,ean:!0,producer:!0,rate:!0,attrs:!0,variants:!0,shortdesc:!0}},useStorage:!0,storageChkCookieName:"wce_e01_storage_2.2",storageChkCookieExpiry:72e5,rwdImgParams:cfg_common.rwdImgParams,disabledMod:cfg_common.disabledMod};Shop.LazyPicture.include({initialize:function(e){var t;(t=this).constructor.setOptions(e),this.options.imgs=[].slice.call(document.querySelectorAll("img[data-src]")),this.options.imgCount=this.options.imgs.length,this.wceSkinJs=new wce_skinjs({},{}),setTimeout(function(){t.lazyLoading()},100),this.events.lazyLoading=function(){t.lazyLoading()},t.wceExt_scrollEvent()},lazyLoading:function(){var i;(i=this).parent.asyncEach(i.options.imgs,function(n){n&&$(n).parent().hasClass("lazy-load")&&i.isReadyForLoad($(n).offset().top,$(window).scrollTop(),window.innerHeight)&&fastdom.mutate(function(){var e;if(n.src!==n.getAttribute("data-src")){n.src=n.getAttribute("data-src");var t=i.imgRwdAttrs(n.src,"300_300",cfg_mods.rwdImgParams);n.srcset=t.srcset,n.sizes=t.sizes}$(n).parent().removeClass("lazy-load"),n.onload=function(){$(n).trigger("change"),0<(e=$(n).parents(".product")).length&&e.is(":last-child")&&i.parent.fireEvent("img:change:slider:"+e.parents(".slider").attr("id"))}})},function(){$(".lazy-load").length<=0&&$(window).off("scroll",i.events.lazyLoading),i.parent.fireEvent("img:change")})},wceExt_scrollEvent:function(){if($(window).on("scroll",this.events.lazyLoading),this.isMobile())var e=setInterval(function(){0<$("lazy-load").length||clearInterval(e)},100)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||null!=navigator.userAgent.match(/iPad/i)||null!=navigator.userAgent.match(/iPod/i)||null!=navigator.userAgent.match(/iPhone/i)},imgRwdAttrs:function(n,i,e){var a="",r="";return void 0!==e&&void 0!==e.length&&0<e.length?$.each(e,function(e,t){0<e&&(a+=", ",r+=", "),a+=n.replace(i,t.gfxSizePrefix)+" "+t.wSize,r+=t.mq}):(a+=n,r+="1px"),{srcset:a,sizes:r}}});var mods={addBrowserClass:function(){return{chkSelectors:!0,selectors:{body:"body"},init:function(e){e.body.addClass(this.tools.browserChk())}}},basketRelatedContaier:function(){return{chkSelectors:!0,selectors:{target:"body.shop_basket table.productlist",box:"#cameleon-basket-ext"},init:function(e){e.target.after(e.box.addClass("wce_replaced"));var n=this;this.waitForApp(e.box,function(e){e.find(".product").each(function(){var e=$
5(this).find("> a").eq(0).attr("href"),t=n.translate._getPhrase("Details");$(this).find("form").remove(),$(this).append($("<div class='basket basket-box'/>").append($("<a/>",{href:e,class:"btn btn-red addtobasket"}).text(t)))})})},waitForApp:function(e,t){var n=0;if(e.hasClass("box_wceBasketRelated")&&0<e.find(".product").length)t(e);else var i=setInterval(function(){30<n&&clearInterval(i),e.hasClass("box_wceBasketRelated")&&0<e.find(".product").length&&(t(e),clearInterval(i)),n++},100)}}},rwdImages:function(){return{chkSelectors:!1,selectors:{imgRelated:".product-related img[src*='/environment/cache/images/150_150_productGfx_']"},init:function(e){var t=this;0!=e.imgRelated&&e.imgRelated.each(function(){var e=t.tools.imgRwdAttrs($(this).attr("src"),"150_150",cfg_mods.rwdImgParams);$(this).attr("srcset",e.srcset),$(this).attr("sizes",e.sizes)})}}},headerBasketFix:function(){return{chkSelectors:!1,selectors:{header:"header",headerBasket:"header .logo-bar .basket",basketContainImg:"header .logo-bar .basket-contain li > img"},init:function(e){var t=this;0!=e.headerBasket&&0!=e.basketContainImg&&e.basketContainImg.wrap("<span class='img-wrap'></span>"),window.shoper.ajaxbasket&&(window.shoper.ajaxbasket.options.callbacks.postAdd=function(){$(t.selectors.headerBasket).removeClass("empty-basket"),0<$(t.selectors.header).find(".wce_rwd-trigger.wce_rwd-menu .wce_basketCount").length&&$(t.selectors.header).find(".wce_rwd-trigger.wce_rwd-menu .wce_basketCount").removeClass("none")}),t.tools.afterInject(t.selectors.basketContainImg,function(e){e.wrap("<span class='img-wrap'></span>")},!1)}}},headerBasketMod:function(){return{chkSelectors:!0,selectors:{basket:"header .basket",basketContain:"header .basket-contain"},init:function(t){var n=this;t.basket.off("mouseenter mouseleave"),t.basketContain.off("mouseleave"),t.basket.find("> a").mouseenter(function(){t.basketContain.parent().hasClass("logo-bar")&&$("body").append(t.basketContain)}),t.basket.find("> a").click(function(){if(!t.basket.hasClass("empty-basket")){n.insertOverlay(t.basketContain);var e=void 0===$(this).attr("title")?"":$(this).attr("title");n.insertHead(t.basketContain,e),n.insertScrollbar(t.basketContain.find("ul")),t.basketContain.hasClass("open")?t.basketContain.removeClass("open"):t.basketContain.addClass("open")}return!1})},insertOverlay:function(e){e.find(".wce_basket-overlay").length<=0&&e.append($("<div class='fixed wce_basket-overlay'/>").click(function(){e.removeClass("open")}))},insertHead:function(e,t){e.find(".wce_basket-header").length<=0&&e.prepend($("<div class='wce_basket-header'/>").append($("<strong class='wce_text'/>").text(t),$("<i class='wce_close' data-mi-icon='clear'/>").click(function(){e.removeClass("open")})))},insertScrollbar:function(e){0==e.hasClass("ps")&&(e.ps=new PerfectScrollbar(e[0]),e.ps.update())}}},headerExt:function(){return{chkSelectors:!1,selectors:{header:"header",loginBar:"header .login-bar",links:"header .login-bar ul.links",languages:"#box_languages",currencies:"#box_currencies",headerInfo:"#wce_headerinfo"},init:function(e){0==e.header||e.header.hasClass("checkout")||(this._insertI18nBox(e.languages),this._insertI18nBox(e.currencies),this._insetInfo(e.headerInfo))},_insertI18nBox:function(e){if(0!=e){$(this.selectors.links).length<=0&&$("header").prepend($("<div class='login-bar row container'/>").append($("<ul class='links right inline'/>")));var t=$("<li class='"+e.attr("id")+"'/>");0<e.find("select").length?t.append(e.find("select")):0<e.find("ul.listwithicons").length?(t.addClass("parent"),t.append(e.find("ul.listwithicons li.selected a").clone().addClass("wce_current").attr("href",null)),t.append($("<div class='submenu'/>").append(e.find("ul.listwithicons")))):0<e.find("ul.icons a").length&&(e.find("ul.icons li.selected a").addClass("selected"),t.append(e.find("ul.icons a"))),$(this.selectors.links).prepend(t)}},_insetInfo:function(e){0!=e&&($(this.selectors.loginBar).length<=0&&$("header").prepend($("<div class='login-bar row container'/>").append()),e.parents(".box_custom").addClass("none"),e.attr("class",e.attr("id")),e.attr("id",null),$(this.selectors.loginBar).prepend(e))}}},footerExt:function(){return{chkSelectors:!1,selectors:{innerfooter:"footer .innerfooter",footerInfo:"#wce_footerinfo"},init:function(e){0!=e.innerfooter&&this._insetInfo(e.footerInfo)},_insetInfo:function(e){0!=e&&(e.parents(".box_custom").addClass("none"),e.attr("class",e.attr("id")),e.attr("id",null),$(this.selectors.innerfooter).append(e))}}},stickyHeader:function(){return{chkSelectors:!1,selectors:{wrap:"body > .wrap",header:"header",menu:".menu"},init:function(e){var t=e.wrap,n=e.header,i=e.menu;this._setUp(t,n,i)},_setUp:function(e,t,n){var i=this;this.stickyContainer=$("<div class='wce_sticky-area'/>"),this._appendArea(t,e),this._appendArea(n,e);var a=this;this.tools.afterInject(".wceShippingCounter-wrap.wceCounter-bar",function(e){i.stickyContainer.prepend(e)}),this._scrollAction(0),a._scrollDetect(function(){a._scrollAction(300)})},_scrollAction:function(e){980<$(window).outerWidth()&&(0<$(window).scrollTop()?this.stickyContainer.addClass("wce_scrolled"):this.stickyContainer.removeClass("wce_scrolled"))},_scrollDetect:function(t){var n=0;$(window).scroll(function(){clearTimeout(this.timer),this.timer=setTimeout(function(){t()},50)}),$(document).mousedown(function(e){0<$(e.target).find("body").length&&(n=$(window).scrollTop())}),$(document).mouseup(function(e){0<$(e.target).find("body").length&&n!=$(window).scrollTop()&&t()})},_appendArea:function(e,t){0<e.length&&($(".wce_sticky-area").length<=0&&t.prepend(this.stickyContainer),this.stickyContainer.append(e))}}},boxTabs:function(){return{chkSelectors:!0,selectors:{box:".wce_tabs"},init:function(e){var t=this;e.box.each(function(){t.runTabs($(this))})},runTabs:function(t){var n=t.find(".wce_content"),i=!1;
5t.find("a[href^='#']").each(function(){var e=$(this);0<$(e.attr("href")).length?(n.append($(e.attr("href"))),0==i&&(e.addClass("wce_current"),$(e.attr("href")).addClass("wce_current"),i=!0)):e.addClass("none"),e.click(function(){return 0<$(e.attr("href")).length&&(t.find("a.wce_current").removeClass("wce_current"),$(this).addClass("wce_current"),n.find(".wce_current").removeClass("wce_current"),$(e.attr("href")).addClass("wce_current")),!1})})}}},mainMenu:function(){return{chkSelectors:!1,selectors:{courtainContainer:".menu .menu-list .submenu.level1, .menu .menu-list .submenu.level0",mainlevel:".menu .menu-list .parent .mainlevel",menuList:".menu .menu-list"},init:function(t){var n=this;0!=t.mainlevel&&t.mainlevel.mouseenter(function(){var e=$(this).parents(".parent");e.hasClass("wce")||(e.addClass("wce"),n.setCourtainHeight(e.find(".submenu.level1")),n.trimmLvl2(e.find("ul.level2"),t.menuList),n.insertScrollbar(e.find(".submenu.level1")))})},trimmLvl2:function(e,n){var i=this,a=this.cfg.courtainMenu.lvl2TrimmCount;e.each(function(){if($(this).find("> li").length>a&&1<$(this).find("> li").length-a){var e=$("<li class='wce_more'/>").append($("<h3/>").append($("<a class='spanhover'/>").append($("<span/>").text(i.translate._getPhrase("more")))),$("<ul class='wce_moreoptions'/>"));$(this).find("> li").eq(a-1).after(e);var t=$(this).find("> li").slice(a+1,$(this).find("> li").length);
5e.find(".wce_moreoptions").append(t),e.hover(function(){var e=$(this);n.find(".wce_more.wce_active").removeClass("wce_active"),n.find(".wce_active-col").removeClass("wce_active-col"),e.addClass("wce_active"),e.parent().parent().parent().addClass("wce_active-col")},function(){}),e.parent().hover(function(){},function(){var e=$(this);n.find(".wce_more.wce_active").removeClass("wce_active"),n.find(".wce_active-col").removeClass("wce_active-col"),e.removeClass("wce_active"),e.parent().parent().parent().removeClass("wce_active-col")})}})},setCourtainHeight:function(t){var n=".wce_sticky-area";0<$(n).length&&"auto"==t.css("overflow")&&t.parent().mouseenter(function(){var e=0;$(n).children().each(function(){e+=$(this).outerHeight()}),t.attr("style","max-height: calc(98vh - "+e+"px);")})},insertScrollbar:function(e){e.each(function(){var e=this;e.ps=new PerfectScrollbar(e,{wheelPropagation:!1}),$(this).parents(".parent").find(".mainlevel").mouseover(function(){e.ps.update()})})}}},rwdTriggers:function(){return{chkSelectors:!1,selectors:{body:"body",header:"header",logoBar:"header .logo-bar",menu:".menu",menuList:".menu .menu-list",hLinks:"header ul.links",hBasket:"header .basket",hInfo:"header .wce_headerinfo",hSearch:"header .search-form:not(.js__search), .search__container",box_languages:"#box_languages",box_currencies:"#box_currencies",leftcol:".leftcol",rightcol:".rightcol",menuTrigger:"#wce_rwd-menu",searchTrigger:"#wce_rwd-search",leftcolTrigger:"#wce_rwdLeftcol",rightcolTrigger:"#wce_rwdRightcol"},init:function(e){var t=this.getActions();0!=e.logoBar&&(this.insertMenuTrigger(e,t),this.insertSearchTrigger(e,t)),0!=e.leftcol&&this.insertColTrigger("leftcol",e,t),0!=e.rightcol&&this.insertColTrigger("rightcol",e,t)},insertMenuTrigger:function(e,t){if(0!=e.menu&&0!=e.menuTrigger){var n=e.menuTrigger;n.click(function(){$(this).hasClass("active")?t.menu.close():(t._closeAllBut("menu"),t.menu.open())}),0!=e.hBasket&&0<e.hBasket.find("b.count span").length&&n.find(".wce_basketCount").removeClass("none"),e.logoBar.append(n)}},insertSearchTrigger:function(e,t){0<e.header.find(".logo-bar .search-form:not(.none)").length&&0!=e.searchTrigger&&(e.searchTrigger.click(function(){$(this).hasClass("active")?t.search.close():(t._closeAllBut("search"),t.search.open())}),e.logoBar.append(e.searchTrigger))},insertColTrigger:function(e,t,n){var i=this,a=t[e+"Trigger"];a.click(function(){$(this).hasClass("active")?n[e].close():(n._closeAllBut(e),n[e].open())}).css({top:i.containerTop()}),$(window).resize(function(){a.css({top:i.containerTop()})});var r="leftcol"==e?"swiperight":"swipeleft",s="leftcol"==e?"swipeleft":"swiperight";a.on(r,function(){n._closeAllBut(e),n[e].open()}),a.on(s,function(){n._closeAllBut(e),n[e].close()}),t[e].after(a)},getActions:function(){var t=this,n=$(t.selectors.body),i=$(t.selectors.header),a=$(t.selectors.menuList).clone(),r=$(t.selectors.hLinks),s=$(t.selectors.hBasket),o=$(t.selectors.hInfo),e=$(t.selectors.hSearch),c=$(t.selectors.leftcol).css({top:t.containerTop()}),l=$(t.selectors.rightcol).css({top:t.containerTop()});return $(window).resize(function(){980<$(window).width()?(c.css({top:"auto"}),l.css({top:"auto"})):(c.css({top:t.containerTop()}),l.css({top:t.containerTop()}))}),{menu:{open:function(){n.addClass("wce_noScroll");var e=$("#wce_menuContainer");0<s.length&&(e.find(".wce_innercontainer .basket > *").remove(),e.find(".wce_innercontainer .basket").append($(t.selectors.hBasket+" > *").clone())),e.length<=0&&(e=$("<div/>",{id:"wce_menuContainer",html:"<div class='wce_innercontainer'></div>"}).css(t.cssPropsFor("init")),0<o.length&&e.find(".wce_innercontainer").append(o.clone()),0<s.length&&e.find(".wce_innercontainer").append(s.clone().removeClass("right")),0<r.length&&(e.find(".wce_innercontainer").append(r.clone().removeClass("right left inline")),t._submenuTriggering(e.find(".wce_innercontainer .links"))),0<a.length&&(e.find(".wce_innercontainer").append(a.clone()),t._submenuTriggering(e.find(".wce_innercontainer .menu-list"))),n.append(e)),i.find(".wce_rwd-menu").addClass("active"),e.animate(t.cssPropsFor("open"),300),$(window).resize(function(){e.css("top",t.containerTop())})},close:function(){i.find(".wce_rwd-menu").removeClass("active"),$("#wce_menuContainer").animate(t.cssPropsFor("close"),500,function(){}),n.removeClass("wce_noScroll")}},search:{open:function(){n.addClass("wce_noScroll"),e.addClass("active"),i.find(".wce_rwd-search").addClass("active"),e.css(t.cssPropsFor("init")),e.animate(t.cssPropsFor("open"),500),$(window).resize(function(){e.css("top",t.containerTop())})},close:function(){i.find(".wce_rwd-search").removeClass("active"),e.animate(t.cssPropsFor("close"),500,function(){e.removeClass("active")}),n.removeClass("wce_noScroll")}},leftcol:{open:function(){n.addClass("wce_noScroll"),c.addClass("active"),$(".wce_rwdLeftcol").addClass("active"),t.skipLazyload(c);var e=t.containerTop();c.css({top:e})},close:function(){n.removeClass("wce_noScroll"),c.removeClass("active"),$(".wce_rwdLeftcol").removeClass("active")}},rightcol:{open:function(){n.addClass("wce_noScroll"),l.addClass("active"),$(".wce_rwdRightcol").addClass("active"),t.skipLazyload(l);var e=t.containerTop();l.css({top:e})},close:function(){n.removeClass("wce_noScroll"),l.removeClass("active"),$(".wce_rwdRightcol").removeClass("active")}},_closeAllBut:function(e){for(act in this)act!=e&&"_closeAllBut"!=act&&this[act].close()}}},_submenuTriggering:function(e){e.find("li.parent").each(function(){var e=$
5(this).find("> .submenu");e.hide();var t=0<$(this).find("> h3 a").length?$(this).find("> h3 a"):$(this).find("> a.wce_current"),n=$("<span/>",{class:"wce_subtrigger","data-mi-icon":"add",href:t.attr("href"),click:function(){return e.hasClass("opened")?(e.removeClass("opened"),e.slideUp(200),$(this).removeClass("opened")):(e.addClass("opened"),e.slideDown(200),$(this).addClass("opened")),!1}});$(this).append(n)})},containerTop:function(){return $(".wce_sticky-area").outerHeight()+"px"},cssPropsFor:function(e){var t={};switch(e){case"init":t.top=this.containerTop(),t.right="-100%";break;case"close":t.right="-100%";break;case"open":t.right="0"}return t},getColTriggerLabel:function(e){var t=this.translate;return{more:"leftcol"==e?t._getPhrase("openSidebarLeft"):t._getPhrase("openSidebarRight"),less:"leftcol"==e?t._getPhrase("closeSidebarLeft"):t._getPhrase("closeSidebarRight")}},skipLazyload:function(e){e.find("[data-src]:not(.loaded)").each(function(){$(this).attr("src",$(this).attr("data-src")),$(this).parent().removeClass("lazy-load"),$(this).addClass("loaded")})}}},tagsExt:function(){return{chkSelectors:!1,selectors:{tagsLi:"ul.tags li"},init:function(e){0!=e.tagsLi&&this.fixTags(e.tagsLi)},fixTags:function(e){e.each(function(){$(this).find("> span").length<=0&&$(this).contents().filter(function(){return 3===this.nodeType&&0<this.data.trim().length}).wrap("<span/>")})}}},productFullSmallGallery:function(){return{chkSelectors:!1,selectors:{box:"#box_productfull"},init:function(e){0!=e.box&&(0==this.cfg.box_productfull.defImgSizes&&480<$(window).width()&&this.biggerImages(e.box.find(".productimg .mainimg img"),e.box.find(".productimg img[data-img-name]")),this.smallGalleryCurrent(e.box.find(".smallgallery")),480<$(window).width()&&this.smallgalleryNav(e.box.find(".smallgallery")),void 0===shoper.imagezoom&&e.box.find(".productimg").addClass("wce_sticky-pos"))},biggerImages:function(t,e){if(0<t.length){var n=t.attr("src").replace("500_500","0_0");t.attr("src",n),this.watchSrcChanges("#box_productfull .productimg .mainimg img",function(){var e=t.attr("src").replace("500_500","0_0");t.attr("src",e)})}
50<e.length&&e.each(function(){var e=$(this).attr("data-img-name").replace("500_500","0_0"),t=$(this).attr("src").replace("120_120","300_300");$(this).attr("data-img-name",e),$(this).attr("src",t)})},watchSrcChanges:function(e,t){var n=$(e)[0];new MutationObserver(function(e){e.forEach(function(e){(e.attributeName=0<=$(e.target).attr("src").indexOf("500_500_productGfx"))&&t()})}).observe(n,{attributes:!0,characterData:!0,childList:!0,subtree:!0,attributeOldValue:!0,characterDataOldValue:!0})},smallGalleryCurrent:function(e){var t=e.find("li");0<t.length?(t.eq(0).addClass("wce_current"),t.find("img").hover(function(){$(this).parents("ul").eq(0).find(".wce_current").removeClass("wce_current"),$(this).parents("li").eq(0).addClass("wce_current")},function(){})):e.addClass("none")},smallgalleryNav:function(o){var c=this;0<o.length&&setTimeout(function(){function e(){if(a=c._getHeights(n,i),r=a.content-a.scroller,s=.25*r,setTimeout(function(){n.animate({scrollTop:0},0)},100),a.content>a.scroller){if(o.addClass("wce_with-nav"),o.find(".wce_nav").length<=0){var e=c._returnNavBtn({class:"wce_up wce_disabled",label:"<i data-mi-icon='keyboard_arrow_up'></i>"}),t=c._returnNavBtn({class:"wce_down",label:"<i data-mi-icon='keyboard_arrow_down'></i>"});e.click(function(){t.removeClass("wce_disabled"),n.stop().animate({scrollTop:n.scrollTop()-s},300,function(){n.scrollTop()-s<=0&&(n.stop().animate({scrollTop:0},300),e.addClass("wce_disabled"))})}),t.click(function(){e.removeClass("wce_disabled"),n.stop().animate({scrollTop:n.scrollTop()+s},300,function(){n.scrollTop()+s>r&&(n.stop().animate({scrollTop:n.scrollTop()+s},300),t.addClass("wce_disabled"))})}),n.scroll(function(){n.scrollTop()<=0?e.addClass("wce_disabled"):e.removeClass("wce_disabled"),n.scrollTop()>r?t.addClass("wce_disabled"):t.removeClass("wce_disabled")}),o.append(e,t)}}else o.find(".wce_nav").remove(),o.removeClass("wce_with-nav")}var n=o.find(".innersmallgallery").eq(0),i=o.find("ul").eq(0),a=c._getHeights(n,i),r=0,s=0;e(),$(window).resize(function(){e()})},1)},_getHeights:function(e,t){return{scroller:e.height(),content:t.height()}},_returnNavBtn:function(e){return $("<span/>",{class:"wce_nav "+e.class,html:e.label})}}},productFullNiceRadio:function(){return{chkSelectors:!0,selectors:{optionRadio:"#box_productfull .stocks .option_radio"},init:function(e){var t=this;$(t.selectors.optionRadio+" input[type='radio'] + label").each(function(){var e=$
5(t.selectors.optionRadio+" > label[for='"+$(this).attr("for")+"']").text();$(this).text(e)})}}},specialTiles:function(){return{chkSelectors:!0,selectors:{box:".wce_special-tiles"},rotators:{},init:function(e){var i=this;e.box.each(function(t){var e=$(this),n=i.getRotatorDelay(e);e.find("a.wce_current").length<=0&&e.find("a").eq(0).addClass("wce_current"),e.find("a").mouseenter(function(){i.changeCurrent($(this),e.find("a.wce_current"))}),800<n&&(i.runRotator($(this),t,n),e.mouseenter(function(e){e.stopPropagation(),i.stopRotator(t)}),e.mouseleave(function(e){e.stopPropagation(),i.runRotator($(this),t,n)}))})},changeCurrent:function(e,t){t.removeClass("wce_current"),e.addClass("wce_current")},runRotator:function(n,e,t){var i=this;i.rotators[e]=setInterval(function(){var e=n.find("a.wce_current"),t=0<e.next().length?e.next():n.find("a").eq(0);i.changeCurrent(t,e)},t)},stopRotator:function(e){void 0!==this.rotators[e]&&clearInterval(this.rotators[e])},getRotatorDelay:function(e){var t=this.cfg.specialTiles.rotatorDelay;return void 0!==e.attr("data-rotator-delay")&&(t=parseInt(e.attr("data-rotator-delay"))),t}}},inputQuantity:function(){return{chkSelectors:!1,selectors:{input:"#box_productfull input[name='quantity']",basketInputs:"#box_basketlist input[name*='quantity']"},init:function(e){var t=this;0!=e.input&&this.tools.inputQuantitySetter(e.input,1),0!=e.basketInputs&&e.basketInputs.each(function(){t.tools.inputQuantitySetter($(this),1,!0)})}}},productfullReplaces:function(){return{chkSelectors:!1,selectors:{link:"#box_productfull a.addtofav",ul:"#box_productfull ul.links-q",details:"#box_productfull .productdetails-more-details",mainInfo:"#box_productfull .maininfo",comparator:"#box_productfull .wce_comparator-wrap a"},init:function(t){0!=t.link&&this.replace($("<li class='addtofav'/>").append(t.link),t.ul),this.replace(t.details,t.mainInfo),this.waitForComparator(function(e){0!=t.ul&&(t.ul.prepend($("<li class='wce_comparator-wrap'/>").append(e.eq(0))),e.eq(0).removeClass("btn"))})},replace:function(e,t){0!=e&&0!=t&&t.append(e)},waitForComparator:function(e){var t=this,n=0,i=setInterval(function(){20<n&&clearInterval(i),n++,0<$(t.selectors.comparator).length&&(e($(t.selectors.comparator)),clearInterval(i))},100)}}},cartReplaces:function(){return{chkSelectors:!1,selectors:{header:"#cart-options .delivery-container h5",container:"#cart-options .delivery-container",timeTd:"#box_basketlist table.productlist td.time, #box_basketsummary table.productlist td.time",timeTh:"#box_basketlist table.productlist thead td.time, #box_basketsummary table.productlist thead td.time"},init:function(e){if(this.replace(e.header,e.container),0!=e.timeTh&&0!=e.timeTd){var t=e.timeTh.text()+": ";
5e.timeTd.each(function(){var e=$("<span class='wce_label'/>").append(t,$(this).text());$(this).parent().find("td.name").append(e)})}},replace:function(e,t){0!=e&&0!=t&&t.prepend(e)}}},relatedReplace:function(){return{chkSelectors:!1,selectors:{box:".product-tabs [data-tab='box_productrelated']",box2:"product-modules-disabled #box_productrelated",initContainer:".product-modules.active"},init:function(e){var t=this;0!=e.initContainer&&0!=e.productFull&&this.waitForBox(this.selectors.box,function(e){t.replaceBox(e)})},replaceBox:function(e){e.attr("class","box wce_replaced"),e.prepend($("<div class='boxhead'/>").append($(".tab-container li.box_productrelated h3"))),$(".tab-container li.box_productrelated").remove(),$(".tab-container").after(e)},waitForBox:function(e,t){var n=this,i=0,a=setInterval(function(){30<i&&clearInterval(a),i++,0<$(e).length&&(t($(n.selectors.box)),clearInterval(a))},100)}}},votestarsDecoration:function(){return{chkSelectors:!1,selectors:{stars:".evaluation .votestars > img",modalStars:".modal .modal-body .evaluation .votestars > img",filterStars:"#filter_rate img[class*='star']"},init:function(e){var t=this;0!=e.stars&&this.decore(e.stars),0!=e.filterStars&&this.decore(e.filterStars),window.shoper.quickview&&(window.shoper.quickview.options.callbacks.onPostShow=function(){0<$(t.selectors.modalStars).length&&t.decore($(t.selectors.modalStars))})},decore:function(e){e.each(function(){$(this).after($("<i class='fa'/>"))})}}},discountTag:function(){return{chkSelectors:!1,selectors:{product:".product",box:"#box_productfull"},init:function(e){var t=this;0!=e.product&&e.product.each(function(){t.tools.discountTag($(this))}),0!=e.box&&t.tools.discountTag(e.box)}}},backBtn:function(){return{chkSelectors:!0,selectors:{bereadItem:".breadcrumbs ul.path li",bereadLinks:".breadcrumbs ul.path li a",headName:".category-name, #box_productfull h1.name, #box_article .article-name",btn:"#wce_breadBack"},init:function(e){var t=this;if(this.lastHref=e.bereadLinks.last().attr("href"),2<=e.bereadItem.length){var n=e.btn.click(function(){t.backAction()});
5e.headName.prepend(n)}},backAction:function(){$("body").hasClass("shop_product")?""==document.referrer?window.location.href=this.lastHref:window.history.back():window.location.href=this.lastHref}}},alertAutoClose:function(){return{chkSelectors:!0,selectors:{alertClose:".alert-info, .alert-success"},init:function(e){0<e.alertClose.find(".close").length&&setTimeout(function(){e.alertClose.find(".close").trigger("click")},this.cfg.alertCloseTime),$(".alert").parent().addClass("wce_alert-fix")}}},boxFilter:function(){return{chkSelectors:!1,selectors:{innerbox:"#box_filter .innerbox",boxhead:"#box_filter .boxhead > *",multiList:"#box_filter .multiselect"},init:function(e){0!=e.boxhead&&0!=e.innerbox&&this._setToggle(e.boxhead,e.innerbox),0!=e.multiList&&(this._setScroll(e.multiList),this._defEventFix(e.multiList))},_setToggle:function(e,t){t.wrap("<div class='wce_innerboxwrap' data-initasopened='"+this.cfg.box_filter.initAsOpened+"'></div>"),e.prepend("<a class='wce_boxhead-btn'><i data-mi-icon='add'></i></a>"),this.tools.toggleContent({triggerSelector:"#box_filter .boxhead .wce_boxhead-btn",contentSelector:"#box_filter .wce_innerboxwrap",initAsOpened:this.cfg.box_filter.initAsOpened,useCookie:this.cfg.box_filter.stateCookie})},_setScroll:function(e){e.click(function(){$(this).find("> ul:not(.ps)").each(function(){new PerfectScrollbar(this).update()})})},_defEventFix:function(e){var n=this;e.on("mousedown",function(e){e.currentTarget===e.target?($(".multiselect:not(#"+$(e.target).attr("id")+")").removeClass("wce_opened"),0<$(e.target).find("ul li").length&&$(e.target).addClass("wce_opened")):$(e.target).parent()[0]===e.currentTarget&&"UL"!==e.target.tagName&&($(".multiselect:not(#"+$(e.target).parent().attr("id")+")").removeClass("wce_opened"),0<$(e.target).parent().find("ul li").length&&$(e.target).parent().addClass("wce_opened"))}),$(window).on("mousedown",function(e){var t=$(e.target);t.hasClass("multiselect")||0<t.parents(".multiselect").length||$(n.selectors.multiList).removeClass("wce_opened")})}}},paczkomaty:function(){return{chkSelectors:!1,selectors:{},init:function(e){this.setEvent("select.paczkomaty_select",".shop_basket_address .paczkomaty_machines > a, .shop_basket_address .paczkomaty_nonear > a"),this.setEvent("select.inpost_paczkomaty_select",".shop_basket_address .inpost_paczkomaty_machines > a, .shop_basket_address .inpost_paczkomaty_nonear > a")},setEvent:function(e,t){var n=this;0<$(e).length&&0<$(t).length&&$(t).click(function(){var t=$(this).parents("p").find(e);n.waitForOptions(t,function(e){n.generateFields(t),n.setPickerAttributes(e)})})},waitForOptions:function(n,i){var e=n[0];new MutationObserver(function(e,t){i(n.children()),t.disconnect()}).observe(e,{childList:!0})},generateFields:function(e){var t=this;if(e.parent().find(".wce_machines-picker-wrap").length<=0){var n=0<$("input#input_city").length?$("input#input_city").val():"";e.before($("<span class='wce_machines-picker-wrap block'/>").append($("<span class='wce_h4 block'>").text(this.translate._getPhrase("Find_other_machines")),$("<label class='wce_label block'>").text(this.translate._getPhrase("Type_city_or_street")),$("<input/>",{class:"wce_machines-picker",id:"wce_machines-picker",type:"text",autocomplete:"off"}).keyup(function(){t.pickerAction($(this),e)}).mouseenter(function(){""==$(this).val()&&$(this).val(n),t.pickerAction($(this),e)}))),$(window).on("click",function(e){$(e.target).hasClass("wce_options")||0<$(e.target).parents(".wce_machines-picker-wrap").length||$(".wce_machines-picker-wrap .wce_options").remove()})}},pickerAction:function(e,t){var n=this;if(2<e.val().length){var i=e.parent();i.find(".wce_options").remove();var a=$("<span/>",{class:"wce_options block"});i.append(a);var r=n.phraseToSelector(e.val()),s=null;for(var o in r)if(0<t.find(r[o]).length){s=t.find(r[o]);break}s.each(function(){a.append($("<span/>",{class:"wce_options-item block","data-value":$(this).attr("value")}).text($(this).text()).click(function(){n.optionAction(t,$(this),a,e)}))}),(s.length<=0||null==s)&&(i.removeClass("wce_picked"),t.val(""),t.trigger("change"))}},optionAction:function(e,t,n,i){e.val(t.attr("data-value")),e.trigger("change"),i.val(t.text()),n.parent().addClass("wce_picked"),n.remove()},setPickerAttributes:function(e){var n=this;e.each(function(){if(""!=$(this).attr("value")){var e=n.parseOptionValue($(this).text().toLowerCase());for(var t in e)$(this).attr(t,e[t])}})},parseOptionValue:function(e){var t=e.split(", ")[1].substring(6).trim(),n=e.substring(e.indexOf(" - ")+3,e.indexOf(","));return{"data-location":t+" "+n,"data-location-rev":n+" "+t,"data-zip":e.split(", ")[1].substring(0,6),"data-machine":e.split(" - ")[0]}},phraseToSelector:function(e,t){var n="",i="",a="",r="",s=(e=(e=e.toLowerCase()).replace("[","").replace("]","").replace("*","").replace("=","").replace("^","").replace(";","").replace("data-name","")).trim().split(" ");for(var o in s){var c=s[o].trim();1<c.length&&(0==o?(n+="[data-location^='"+c+"']",i+="[data-location-rev^='"+c+"']"):(n+="[data-location*='"+c+"']",i+="[data-location-rev*='"+c+"']"),a+="[data-zip^='"+c+"']",r+="[data-machine^='"+c+"']")}return{"city-street":n,"street-city":i,"code-zip":a,"code-machine":r}}}},resetcssImgProportions:function(){return{chkSelectors:!1,selectors:{proportionEl:".resetcss img[width][height], .resetcss iframe[width][height]"},init:function(e){this.setProportions()},setProportions:function(){var e=this,t=this.selectors.proportionEl,n="";void 0!==this.cfg.resetcss&&void 0!==this.cfg.resetcss.proportionerExceptionSelector&&""!=this.cfg.resetcss.proportionerExceptionSelector&&(n=this.cfg.resetcss.proportionerExceptionSelector),$(t).not(n).each(function(){e.decorateImg($(this))});var i=0,a=setInterval(function(){i<5100?0<$("[data-tab*='box_wceTab']").length&&($("[data-tab*='box_wceTab'] img[width][height], [data-tab*='box_wceTab'] iframe[width][height]").not(n).each(function(){e.decorateImg($(this))}),clearTimeout(a)):clearTimeout(a),i+=100},100)},decorateImg:function(e){if(216<parseInt(e.attr("width"))){var t=$("<div class='wce_resetcss-img'>").append($("<div class='wce_inner-img'>"));t.attr("style",e.attr("style")),t.css("width",e.attr("width")+"px");var n=parseInt(e.attr("height"))/parseInt(e.attr("width"))*100;t.find(".wce_inner-img").css("padding-bottom",n+"%"),e.after(t),t.find(".wce_inner-img").append(e),e.attr("style","")}}}},autocompleaterExt:function(){return{chkSelectors:!1,selectors:{appChk:"link[href*='autocomplete.webcoders.eu'], head style[id^='wce-app-suggestions']",input:"header .search__container form input[name='search']",inputOld:"header .logo-bar .search-form:not(.js__search) .search-input"},init:function(t){0!=t.input&&(t.input.click(function(){$(this).parents("form").addClass("search_focused"),$(this).focus()}),$(window).on("click",function(e){$(e.target).hasClass("search__input")||t.input.parents("form").removeClass("search_focused")})),0!=t.inputOld&&(t.inputOld.focus(function(){$(this).parents("form").addClass("search_focused")}),t.inputOld.blur(function(){$(this).parents("form").removeClass("search_focused")}))}}},wysiwygTables:function(){return{chkSelectors:!0,selectors:{table:".resetcss table:not(.wce_default-table)"}
5,init:function(e){e.table.each(function(){var e=$("<div class='wce_table-wrap'/>");$(this).after(e),e.append($(this));var t=new PerfectScrollbar(e[0],{wheelPropagation:!0});$(window).resize(function(){t.update()})})}}},rwdTables:function(){return{chkSelectors:!0,selectors:{table:"#box_panel table.orders, #box_favourites table"},init:function(e){var t=this;e.table.each(function(){t.tools.tableCellTitle($(this))})}}},cartPaymentFix:function(){return{chkSelectors:!0,selectors:{input:"#cart-options input[type='radio'][name='payment_id']",payment:"#cart-options .payment"},init:function(e){e.input.change(function(){e.payment.removeClass("selected"),1==$(this).prop("checked")&&$(this).parents(".payment").addClass("selected")})}}},end:function(){return{chkSelectors:!1,selectors:{body:"body",bodyWrap:"body > .wrap, body.off"},init:function(e){var t=this.translate._getPhrase("copyrights"),n=this.tools.appsDetect("all"),i=this.getVendorLink();$("#shoper-foot").length<=0&&$("body").append($("<div id='shoper-foot'>"));var a=$("<script/>",{id:"wce_sig",type:"text/javascript",html:'$(window).ready(function(){\nvar _txt="'+t+'";\n _detectedAppsCount='+Object.keys(n).length+"; \n_vendorLink='"+i+"'; \n_detectedAppsList='"+JSON.stringify(n)+"'; "+shoper.base64.decode("dmFyIGNvcHlMYWJlbCA9IF9kZXRlY3RlZEFwcHNDb3VudCA+IDAgPyAiU3R5bCBncmFmaWN6bnkgaSBhcGxpa2FjamUgU2hvcEdhZGdldC5wbCIgOiAiU3R5bCBncmFmaWN6bnkgU2hvcEdhZGdldC5wbCI7CiAgICAgICAgICAgICAgICAKdmFyIHNpZ25hdHVyZSA9ICQoIjxkaXYgY2xhc3M9J3J3ZCc+PGRpdiBjbGFzcz0nY29udGFpbmVyIHItLWwtZmxleCByLS1sLWZsZXgtc3BhY2ViZXR3ZWVuIHItLWwtZmxleC13cmFwJz48ZGl2IGNsYXNzPSdsZWZ0Jz48L2Rpdj48ZGl2IGNsYXNzPSdyaWdodCc+PGEgaHJlZj0naHR0cHM6Ly93d3cuc2hvcGdhZGdldC5wbC8nIHJlbD0nbm9mb2xsb3cnIHRhcmdldD0nX2JsYW5rJyB0aXRsZT0nIitjb3B5TGFiZWwrIiAoIit3Y2Vfc2tpbisiKSc+Iitjb3B5TGFiZWwrIjwvYT48c3BhbiBjbGFzcz0nc2VwYXJhdG9yJz48L3NwYW4+PC9kaXY+PC9kaXY+PC9kaXY+Iik7CnZhciB0ZXh0ID0gJCgiPGRpdi8+IikuYXBwZW5kKF90eHQpOwpzaWduYXR1cmUuZmluZCgiLmxlZnQiKS5hcHBlbmQoJCgiPHNwYW4vPiIpLmh0bWwodGV4dC50ZXh0KCkpKTsKc2lnbmF0dXJlLmZpbmQoIi5yaWdodCIpLmFwcGVuZCggX3ZlbmRvckxpbmsgKTsKCnZhciB0aW1lb3V0ID0gc2V0VGltZW91dChmdW5jdGlvbigpe30sIDApOwpzaWduYXR1cmUuZmluZCgiYVtocmVmKj0nc2hvcGdhZGdldCddIikubW91c2VlbnRlcihmdW5jdGlvbigpewogICAgdGltZW91dCA9IHNldFRpbWVvdXQoZnVuY3Rpb24oKXsKICAgICAgICBjb25zb2xlLmxvZyhKU09OLnBhcnNlKF9kZXRlY3RlZEFwcHNMaXN0KSk7CiAgICB9LCA1MDAwKQp9KTsKc2lnbmF0dXJlLmZpbmQoImEud2NlIikubW91c2VvdXQoZnVuY3Rpb24oKXsKICAgICAgICBjbGVhclRpbWVvdXQodGltZW91dCk7Cn0pOwokKCIjc2hvcGVyLWZvb3QiKS5hcHBlbmQoc2lnbmF0dXJlKTsKCnZhciBjb2xvciA9ICQoIiNzaG9wZXItZm9vdCBzcGFuIikuZXEoMCkuY3NzKCJjb2xvciIpOwoKdmFyIGxpbmtTdHlsZSA9ICJkaXNwbGF5OiBpbmxpbmUgIWltcG9ydGFudDsgb3ZlcmZsb3c6IHZpc2libGUgIWltcG9ydGFudDsgb3BhY2l0eTogMSFpbXBvcnRhbnQ7IGZvbnQtc2l6ZTogMTNweCAhaW1wb3J0YW50OyBwb3NpdGlvbjogc3RhdGljICFpbXBvcnRhbnQ7IHRleHQtaW5kZW50OiAwICFpbXBvcnRhbnQ7IGNvbG9yOiAiK2NvbG9yKyIgIWltcG9ydGFudDsgdmlzaWJpbGl0eTogdmlzaWJsZSAhaW1wb3J0YW50OyBmaWx0ZXI6IG5vbmUgIWltcG9ydGFudDsiOwoKc2lnbmF0dXJlLmZpbmQoImEiKS5hdHRyKCJzdHlsZSIsIGxpbmtTdHlsZSk7CnNpZ25hdHVyZS5maW5kKCIuY29udGFpbmVyID4gZGl2IikuYXR0cigic3R5bGUiLCAiZGlzcGxheTogaW5saW5lICFpbXBvcnRhbnQ7IHBvc2l0aW9uOiBzdGF0aWMgIWltcG9ydGFudDsgb3ZlcmZsb3c6IHZpc2libGUgIWltcG9ydGFudDsgdmlzaWJpbGl0eTogdmlzaWJsZSAhaW1wb3J0YW50OyB3aWR0aDogYXV0byAhaW1wb3J0YW50OyBoZWlnaHQ6IGF1dG8gIWltcG9ydGFudDsgdHJhbnNmb3JtOiBub25lICFpbXBvcnRhbnQ7IGZpbHRlcjogbm9uZSAhaW1wb3J0YW50OyBtYXJnaW46IDAgIWltcG9ydGFudDsgdGV4dC1pbmRlbnQ6IDAgIWltcG9ydGFudDsiKTs=")+"});"});e.body.append(a),e.bodyWrap.append($("#shoper-foot"))},getVendorLink:function(){var e="";return 0<$("#shoper-foot a.popup").length?e=$("#shoper-foot a.popup"):0<$("body > div > [href*='https://home.pl/sklepy-internetowe/']").length&&((e=$("body > div > [href*='https://home.pl/sklepy-internetowe/']").eq(0)).attr("style",""),e.parent().hide()),$("<div/>").append(e).html()}}}},faMods={boxMenuExt:function(){return{chkSelectors:!1,selectors:{box:"#box_menu"},withCounter:!1,init:function(e){var i=this;0!=e.box&&(this.withCounter=0<e.box.find(".innerbox li > em").length,e.box.addClass("wce_ext"),e.box.find("em").each(function(){$(this).parent().find("> a").append($(this))}),i.faMainCategoriesRequest(function(e){for(var t in e){var n=e[t];i.injectTriggers(n)}}))},faMainCategoriesRequest:function(t){var n=this;if("function"==typeof t){var e=n.storage.load({itemType:"mainCats_list",id:"wce_mainCats"});0!=e?t(e):frontAPI.getCategories(function(e){n.storage.save({itemType:"mainCats_list",id:"wce_mainCats",item:e}),t(e)},{lang:Shop.lang.name})}},faChildCategoriesRequest:function(t,n){var i=this;if("function"==typeof n){var e=i.storage.load({itemType:"childCats_list",id:t});0!=e?n(e):frontAPI.getCategoryChildrens(function(e){i.storage.save({itemType:"childCats_list",id:t,item:e}),n(e)}
5,{lang:Shop.lang.name,urlParams:"?page=1&limit=50",id:t})}},injectTriggers:function(e){if(0<$(this.selectors.box+" #category_"+e.id).length&&0<e.children.length)for(var t in this.newTrigger($(this.selectors.box+" #category_"+e.id),e.id),e.children)this.injectTriggers(e.children[t])},newTrigger:function(e,t){var n=$("<span/>",{class:"wce_submenu-trigger","data-cid":t});this.setAction(n),0<e.find("> ul").length?(n.addClass("wce_close"),e.find("> ul").before(n)):e.append(n)},setAction:function(o){var c=this;o.click(function(){var e=$(this).attr("data-cid");$(this).hasClass("wce_wait")||($(this).parent().find("> ul").length<=0?($(this).addClass("wce_wait"),c.faChildCategoriesRequest(e,function(e){var t=$("<ul class='level_ wce'/>").hide();for(var n in e.list){var i=e.list[n],a=$("<li id='category_"+i.category_id+"'/>").append($("<a/>",{href:i.url,title:i.translation.name}).text(i.translation.name));if(t.append(a),1==i.has_children&&c.newTrigger(a,i.category_id),1==c.withCounter){var r=frontAPI.getProductsFromCategory({urlParams:"?limit=1",id:i.category_id}),s=$("<em/>").text("("+r.count+")");a.find("> a").append(s)}}o.after(t),t.stop().slideDown(300),o.removeClass("wce_wait").addClass("wce_close")})):$(this).hasClass("wce_close")?($(this).parent().find("> ul").stop().slideUp(300),$(this).removeClass("wce_close")):($(this).parent().find("> ul").stop().slideDown(300),$(this).addClass("wce_close")))})}}},shortCartExt:function(){return{chkSelectors:!0,selectors:{appChk:"head style[id^='wce-app-fastcheckout']",body:"body.shop_basket",cartOptions:"#cart-options",boxBasket:"#box_basketlist"},init:function(t){var n=this;t.boxBasket.addClass("loading"),this.waitForApp(function(e){n.replaceApp(e,t.cartOptions),n.setEvents(t.cartOptions),t.boxBasket.removeClass("loading")})},waitForApp:function(e){var t=0;if(0<$(".wceShortCart").length)e($(".wceShortCart"));else var n=setInterval(function(){30<t&&clearInterval(n),0<$(".wceShortCart").length&&(e($(".wceShortCart")),clearInterval(n)),t++},100)},replaceApp:function(e,t){t.append(e),t.parents("#box_basketlist").addClass("wce_short-cart-ext"),t.prepend($("#recalc")),t.find("> .delivery-container").before(t.find("> .summary-container")),t.find("> .delivery-container").before(e.find(".loginContainer ")),t.find(".loginContainer ").wrap("<div class='wceShortCart clear r--l-flex r--l-flex-wrap'></div>"),t.parents(".innerbox").prepend(e.find(".wceIntro, .wceUnregIntro")),0<$("#cameleon-basket-ext").length&&e.find(".wce_summary").before($("#cameleon-basket-ext"))},setEvents:function(e){var i=this,t=".delivery-container > h5",n=".payment-container > h5",a=".userData, .billingAddressData, .additionalData";i.appendNextBtn($(".delivery-container, .payment-container, "+a),300,function(e,t,n){e.find(".wce_item-header, > h5").trigger("click",{t:300}),0<t.length&&t.hasClass("wce_hide")&&t.find(".wce_item-header, > h5").trigger("click",{t:300})},function(e,t,n){0<t.length?$("html, body").animate({scrollTop:t.offset().top-100},300):$("html, body").animate({scrollTop:e.offset().top+e.outerHeight()-100},300)}),i.appendMoreLessBtn(e.find(t+", "+n)),e.find(t+", "+n).on("click",{t:300},function(e,t){t=t||e.data;var n=$(this).parent();i.togglecontainer(n,t.t)}),e.find(n).trigger("click",{t:0}),i.appendMoreLessBtn(e.find(a).find(".wce_item-header")),e.find(a).find(".wce_item-header").on("click",{t:300},function(e,t){t=t||e.data;var n=$(this).parents(".wce_sc-item");i.togglecontainer(n,t.t)}),e.find(a).find(".wce_item-header").trigger("click",{t:0}),i.appendMoreLessBtn(e.find(".loginContainer .wce_item-header")),e.find(".loginContainer .wce_item-header").on("click",{t:300},function(e,t){t=t||e.data;var n=$(this).parents(".wce_sc-item");i.togglecontainer(n,t.t)}),e.find(".loginContainer .wce_item-header").trigger("click",{t:0})},togglecontainer:function(e,t){var n=void 0!==t?t:300,i=e.find(".form-row:not(.none), .wce_loginForm-text, .delivery:not(.none):not(.selected), .payment:not(.none):not(.selected)");e.hasClass("wce_hide")?(e.removeClass("wce_hide"),i.stop().slideDown(n)):i.stop().slideUp(n,function(){e.addClass("wce_hide")})},appendMoreLessBtn:function(e){e.append($("<a>",{class:"wce_section-trigger","data-mi-icon":"","data-more":this.translate._getPhrase("basket_change"),"data-less":this.translate._getPhrase("basket_close")}))},appendNextBtn:function(r,s,o,c){var l=this;r.each(function(e){var t=$(this),n=r.eq(e+1),i=r.eq(e-1),a=$("<a>",{class:"wce_section-next btn btn-red r--l-flex r--l-flex-spacebetween"}).text(l.translate._getPhrase("basket_next")).append($("<i data-mi-icon=''/>"));a.click(function(){"function"==typeof o&&o(t,n,i),"function"==typeof c&&setTimeout(function(){c(t,n,i)},s)}),$(this).append($("<div class='wce_bottom-btns r--l-flex r--l-flex-right'>").append(a))})}}},pictureCategories:function(){return{chkSelectors:!0,selectors:{appChk:"link[href*='shoper_apps/mod075/public/style/shopV2.css'], link[href*='appstore.webcoders.eu/mod075'], link[href*='categories.shopgadget.app'], link[href*='categories.shopgadget.pl'], head [id^='wce-app-categories-']"},defaultImage:window.shoper.url("public/images/1px.gif"),images:{},init:function(e){var t=this;this.waitForCategories(function(e){0<$(".menu .menu-list .submenu.level1:not(.wce_prods)").length&&($(".menu").addClass("wce_picture-ext"),t.setupContainer($(".menu .menu-list .submenu.level1:not(.wce_prods)")),t.setupEvent($(".menu .menu-list li.parent:not(.wce_parent)"),e))})},waitForCategories:function(e){var t=0,n=setInterval(function(){30<t&&clearInterval(n),void 0!==window.wcePictureCategories&&(e(window.wcePictureCategories),clearInterval(n)),t++},100)},setupContainer:function(e){var t=this.cfg.menu.initialImageUrl,n=$("<img src='"+this.defaultImage+"' alt=''>");""!=t?n.attr("src",t):$("header .link-logo-img img")&&(t=$("header .link-logo-img img").attr("src"),n.attr("src",$("header .link-logo-img img").attr("src"))),this.defaultImage=t,e.append($("<div class='wce_category-pic'/>").append($("<div class='wce_inner'/>").append(n))),this.images[0]=t},setupEvent:function(e,t){var r=this,n=setTimeout(function(){},0);e.find("a").hover(function(){var i=$(this),a=r.getAvatarImgObj(i);n=setTimeout(function(){var n=parseInt(i.attr("id").replace("headercategory",""));i.hasClass("mainlevel")&&(n=parseInt(i.parents(".parent").attr("id").replace("hcategory_","")));var e=t.getCategory(n);void 0!==r.images[n]?r.imageSwitch(i,n):0!=e?(""==e.image?r.images[n]=a.attr("src"):r.images[n]=e.image,r.imageSwitch(i,n)):frontAPI.getProductsFromCategory(function(e){if(0<e.count&&void 0!==e.list[0].main_image){var t=window.shoper.url("environment/cache/images/300_300_productGfx_"+e.list[0].main_image+".jpg");r.images[n]=t,r.imageSwitch(i,n)}else r.images[n]=a.attr("src"),r.imageSwitch(i,n)}
5,{lang:Shop.lang.name,urlParams:"?page=1&limit=1",id:n})},200)},function(){clearTimeout(n)})},imageSwitch:function(e,t){this.getAvatarImgObj(e).attr("src",this.images[t])},getAvatarImgObj:function(e){return e.hasClass("mainlevel")?e.parents("li").find(".wce_category-pic img"):e.parents(".submenu.level1").find(".wce_category-pic img")}}},mainMenuProducts:function(){return{chkSelectors:!1,selectors:{promoOpt:".menu-list a[href$='/promotions']",newOpt:".menu-list a[href$='/new']"},init:function(e){this._setEvent(e.promoOpt,"promo"),this._setEvent(e.newOpt,"new")},_setEvent:function(t,n){var i=this;0!=t&&(t.parents("li").addClass("parent wce_parent"),t.mouseenter(function(){t.parents("li").find(".wce_prods").length<=0&&i.faRequest(n,function(e){i._injectContent(t,e,n)})}))},faRequest:function(t,n){var i=this;if("function"==typeof n){var a="",e=!1;if("promo"==t?(a="getPromotionProducts",e=i.storage.load({itemType:"promo_list",id:"wce_promo_prods"})):"new"==t&&(a="getNewProducts",e=i.storage.load({itemType:"new_list",id:"wce_new_prods"})),0!=e)n(e);else if(""!=a)try{window.frontAPI[a](function(e){void 0===e.error_description?(i.storage.save({itemType:t+"_list",id:"wce_"+t+"_prods",item:e}),n(e)):console.log("E01: frontApi."+a+"() error '"+e.error_description+"'")},{lang:Shop.lang.name,currency:window.Shop.values.currency,urlParam
5s:"?page=1&limit="+i.cfg.mainMenuProds.prodsCount})}catch(e){console.log(a+"() - frontAPI err")}}},_injectContent:function(e,t,n){if(0<t.count){var i=this._createProdsCourtain(t.list,e.attr("href"),e.attr("title"),t.count,n);e.parents("li").append(i)}},_createProdsCourtain:function(e,t,n,i,a){if(0<i){var r=this._listToHTML(e),s=$("<div class='wce_buttons r--l-flex r--l-flex-hcenter r--l-flex-vcenter'/>").append($("<div class='center'>").append(1==this.cfg.mainMenuProds.insertBaners?$("<a/>",{class:"wce_baner",title:n,href:t}).append($("<img/>",{src:$("link[rel='shortcut icon']").attr("href").replace("favicon.png","user/"+a+"_image.jpg"),alt:""})):"",$("<a/>",{class:"wce_goto",href:t,html:"<span>"+this.translate._getPhrase("see_all")+" ("+i+")</span>"})));return $("<div class='submenu level1 wce_prods wce_in-row-"+this.cfg.mainMenuProds.prodsCount+"'/>").append(r,s)}return""},_listToHTML:function(e){if(0<e.length){var t=$("<div class='products viewphot'></div>");for(i=0;i<e.length;i++){var n=this._returnProdHTML(e[i],"wce_w-"+e.length);t.append(n)}return t}return!1},_returnProdHTML:function(e){var t=this._returnImg(e.main_image,e.name,e.url),n=this._returnName(e.name,e.url),i=this._returnPrice(e.price),a=$("<div class='product'/>"),r=$("<div class='product-inner-wrap'/>");return r.append(t),r.append(n),r.append(i),this.tools.discountTag(a,e.price),a.append(r)},_returnImg:function(e,t,n){e=void 0===e?"__overlay":e;var i=window.shoper.url("environment/cache/images/300_300_productGfx_"+e+".jpg"),a=this.tools.imgRwdAttrs(i,"300_300",cfg_mods.rwdImgParams),r=$("<img/>",{src:i,srcset:a.srcset,sizes:a.sizes,alt:t});return $("<a/>",{class:"prodimage f-row block",href:n}).append($("<span class='f-grid-12 img-wrap'/>").append(r))},_returnName:function(e,t){return $("<a/>",{class:"prodname f-row",href:t,title:e}).append($("<span class='productname'/>").text(e))},_returnPrice:function(e){var t=$("<div class='price'/>"),n=$("<span/>"),i=$("<i class='price-netto'/>");void 0!==e&&(void 0===e.gross.promo?n.append($("<em/>").text(e.gross.base)):n.append($("<em/>").text(e.gross.final)," ",$("<del/>").text(e.gross.base)),void 0===e.net.promo?i.append($("<em/>").text(e.net.base)):i.append($("<em/>").text(e.net.final)," ",$("<del/>").text(e.net.base)));var a=this.cfg.mainMenuProds.pricesMode;return 3===a||1===a?t.append(n.children()):2===a&&t.append(i.chidren()),t.find("del").before(" "),1===a&&t.append(i),t}}},listExtension:function(){return{chkSelectors:!0,selectors:{product:".product[data-product-id]"},inside:{evObj:".prodimage .img-wrap, .boximgsize, a.details.f-grid-2"},reqs:{},scrollbar:{},init:function(e){var a=this;a.tools.browserChk().toLowerCase().indexOf("mobile")<=-1&&e.product.each(function(){var e=setTimeout(function(){},0),i=$(this).attr("data-product-id"),t=$(this);$(this).find(a.inside.evObj).mouseenter(function(){var n=$(this);n.parents("a").eq(0).attr("title",null),e=setTimeout(function(){a.loaderIco("add",t),a.faRequest(i,n,function(e){if(console.log(e),a.loaderIco("remove",n.parents(".product")),void 0!==e.images&&1<e.images.length&&1==a.cfg.listExtension.enableCarousell&&n.find(".wce_carousell").length<=0&&n.append(a.renderCarousell(e.images.slice(0,a.cfg.listExtension.itemsCount))),0<n.parents(".products.viewphot").length&&1==a.cfg.listExtension.enableAdditionalInfo&&n.find(".wce_additional-info").length<=0){var t=a.renderAdditionalData(e,n.parents(".product"));n.parents(".product").append(t),setTimeout(function(){t.removeClass("wce_hidden"),void 0!==a.scrollbar[i]&&a.scrollbar[i].update()},10)}}),0<t.find(".wce_additional-info").length&&(t.find(".wce_additional-info").removeClass("wce_hidden"),void 0!==a.scrollbar[i]&&a.scrollbar[i].update())},600)}),$(this).mouseleave(function(){$(".wce_additional-info").addClass("wce_hidden"),clearTimeout(e)})})},faRequest:function(t,e,n){if("function"==typeof n){var i=this,a=i.storage.load({itemType:"product",id:t});0!=a?n(a):window.frontAPI.getProduct(function(e){i.storage.save({itemType:"product",id:t,item:e}),n(e)},{lang:Shop.lang.name,id:t})}},loaderIco:function(e,t){switch(e){case"add":t.find(".wce_loading").length<=0&&t.append($("<span class='wce_loading'/>"));break;case"remove":t.find(".wce_loading").addClass("none")}},renderCarousell:function(e){var n=this.cfg.listExtension,a=$("<span/>",{class:"wce_carousell"}).append($("<span/>",{class:2==n.itemsCount?"wce_bar wce_stop-animate":"wce_bar"}).append($("<span class='wce_fill'/>").css("animation-duration",n.expositionTime+"ms")));for(i in e)$img=this.renderImage(e[i]),1==i&&$img.addClass("wce_visible"),a.append($img);var r=setInterval(function(){},0);return a.hover(function(){r=setInterval(function(){var e=a.find("img.wce_visible"),t=a.find("img");0==n.infiniteRoll&&1==t.last().hasClass("wce_visible")?(clearInterval(r),a.find(".wce_bar").addClass("wce_stop-animate")):(0<e.next().length?e.next().addClass("wce_visible"):t.eq(0).addClass("wce_visible"),e.removeClass("wce_visible"))},n.expositionTime)},function(){clearInterval(r),a.find(".wce_visible").removeClass("wce_visible"),a.find("img").eq(1).addClass("wce_visible"),2<e.length&&a.find(".wce_bar").removeClass("wce_stop-animate")}),a},renderImage:function(e){var t=window.shoper.url("environment/cache/images/300_300_productGfx_"+e+".jpg"),n=this.tools.imgRwdAttrs(t,"300_300",cfg_mods.rwdImgParams);return $("<img/>",{class:"wce_carousell-item",src:t,srcset:n.srcset,sizes:n.sizes,alt:""})},renderAdditionalData:function(e,t){var n=this,i=this.cfg.listExtension.show,a=$("<div/>",{class:"wce_additional-info wce_hidden","data-wce-side":n.checkProductSide(t)}),r=$("<div class='wce_info-inner'/>").appendTo(a);$(window).resize(function(){a.attr("data-wce-side",n.checkProductSide(t))});$("<a/>",{class:"wce_close","data-mi-icon":"close",click:function(){a.addClass("wce_hidden")}}).appendTo(a);return r.append($("<span class='wce_h3'/>").text(n.translate._getPhrase("Details")),$("<div class='wce_rows wce_details'>").append(!0===i.avail?n.renderAvail(e):"",!0===i.deliv?n.renderDeliv(e):"",!0===i.code?n.renderCode(e):"",!0===i.ean?n.renderEan(e):"",!0===i.producer?n.renderProducer(e):"",!0===i.rate?n.renderRate(e):"",!0===i.attrs?n.renderAttributes(e):""),!0===i.variants?n.renderVariants(e):"",!0===i.shortdesc?n.renderDesc(e):""),n.scrollbar[e.id]=new PerfectScrollbar(r[0]),a},checkProductSide:function(e){return e.offset().left+.5*e.outerWidth()>.5*$(window).width()?"left":"right"},renderInfoRow:function(e){return $("<p class='wce_row "+e.name+" r--l-flex r--l-flex-spacebetween r--l-flex-wrap'>").append($("<span class='wce_label'>").append(e.label),$("<span class='wce_content'>").append(e.content))},renderAvail:function(e){return void 0!==e.availability&&void 0!==e.availability.name?this.renderInfoRow({name:"wce_avail",label:this.translate._getPhrase("Availability"),content:e.availability.name}):""},renderDeliv:function(e){return void 0!==e.delivery&&void 0!==e.delivery.name?this.renderInfoRow({name:"wce_deliv",label:this.translate._getPhrase("Delivery"),content:e.delivery.name}):""},renderCode:function(e){return void 0!==e.code?this.renderInfoRow({name:"wce_code",label:this.translate._getPhrase("Code"),content:e.code}):""},renderEan:function(e){return void 0!==e.ean&&""!=e.ean?this.renderInfoRow({name:"wce_ean",label:this.translate._getPhrase("EAN"),content:e.ean}):""},renderProducer:function(e){return void 0!==e.producer&&void 0!==e.producer.name?this.renderInfoRow({name:"wce_producer",label:this.translate._getPhrase("Producer"),content:e.producer.name}):""},renderRate:function(e){if(void 0!==e.rate&&0<e.rate){var t=e.rate,n=t-Math.floor(t),a=$("<span/>",{class:"evaluation block"}).append($("<span class='votestars'/>"),$("<span class='none'>").text(t));for(i=1;i<=5;i++){var r=$("<img/>",{class:"px1",src:window.shoper.url("public/images/1px.gif"),alt:""});a.find(".votestars").append(r,$("<i/>")),n<t?(r.addClass("star1"),t--):0<t?(.25<=n&&n<.75?r.addClass("star0-5"):.75<=n&&r.addClass("star1"),t--):r.addClass("star0")}return this.renderInfoRow({name:"wce_rate",label:this.translate._getPhrase("Rate"),content:a})}return""}
5,renderDesc:function(e){if(void 0===e.shortDescription||""==e.shortDescription)return"";var t=$("<div/>").html(e.shortDescription);return t.find("table, iframe, img").remove(),t.find("[style]").attr("style",null),$("<div class='wce_row wce_desc'/>").append($("<div class='wce_label wce_h3'>").text(this.translate._getPhrase("Descrpition")),$("<div class='wce_content'>").append(t.html()),$("<div class='wce_content center wce_buttons'>").append($("<a/>",{href:e.url,class:"wce_read-more"}).text(this.translate._getPhrase("read_more"))))},renderAttributes:function(e){if(void 0!==e.attributes&&0<e.attributes.length){var t=$("<div/>");for(var n in e.attributes){var i=e.attributes[n],a=i.value;1==i.type&&(a=$("<i>",{"data-mi-icon":1==i.value?"check_circle":"cancel"})),t.append(this.renderInfoRow({name:"wce_attr-type-"+i.type,label:i.name,content:a}))}return t.children()}return""},renderVariants:function(e){if(1==e.can_buy&&void 0!==e.options_configuration&&0<e.options_configuration.length){var t=$("<div class='wce_rows wce_variants'>");for(var n in e.options_configuration){var i=e.options_configuration[n];if(void 0!==i.values&&0<i.values.length){for(var a in $content=$("<span/>"),i.values){var r=i.values[a],s=void 0!==r.color?" style='background: "+r.color+";'":"";$content.append($("<span class='wce_opt'"+s+"/>").text(r.name))}t.append(this.renderInfoRow({name:"wce_variant-type-"+i.type,label:i.name,content:$content.children()}))}}return t.find(".wce_label").addClass("wce_h3"),t}return""}}}};function wce_skinjs(i,a,e){var r=this;this._browser="",this.cfg=a,"object"==typeof cfg_common_override&&(cfg_common=$.extend(!0,cfg_common,cfg_common_override)),this.cfg.disabledMod=cfg_common.disabledMod,this.cfg.layer=cfg_common.layer,this._translate={_load:function(){0<$("#js_wce_translations script").length&&(this.phrase=JSON.parse($("#js_wce_translations script").eq(0).html()))},_getPhrase:function(e){if(void 0===this.phrase[e])return e;var t=this.phrase[e];return 0<=t.indexOf("[year]")&&(t=t.replace("[year]",(new Date).getFullYear())),0<=t.indexOf("[domain]")&&(t=t.replace("[domain]",document.domain)),t},phrase:{}},this._tools={browserChk:function(){var e="undefined";return 0<=navigator.userAgent.indexOf("Firefox")?e="Firefox":0<=navigator.userAgent.indexOf(".NET")?e="IE":0<=navigator.userAgent.indexOf("Chrome")&&0<=navigator.userAgent.indexOf("Safari")&&0<=navigator.userAgent.indexOf("OPR")?e="Opera":0<=navigator.userAgent.indexOf("Chrome")&&0<=navigator.userAgent.indexOf("Safari")?e="Chrome":0<=navigator.userAgent.indexOf("Safari")&&(e="Safari"),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(e+=" mobile"),null==navigator.userAgent.match(/iPad/i)&&null==navigator.userAgent.match(/iPod/i)&&null==navigator.userAgent.match(/iPhone/i)||(e+=" appleMobileDevice"),e},tableCellTitle:function(e){if(0<e.length&&0<e.find("thead").length&&0<e.find("tbody").length){var n=e.find("thead tr:first-child td"),t=e.find("tbody tr");n.length<=0&&(n=e.find("thead tr:first-child th")),t.each(function(){var e=$
5(this).find("td");e.length===n.length&&e.each(function(e){var t=n.eq(e).text().trim();0<t.length?$(this).attr("data-cell-title",t+": "):$(this).attr("data-cell-title",t+"")})}),e.addClass("wce_celltitles")}},inputQuantitySetter:function(t,e,n){function i(){return"number"==t.attr("type")?parseInt(t.val()):parseFloat(t.val().replace(",","."))}var a,r=0<t.val().indexOf(",")?",":".",s=i(),o=void 0!==n;a=e||1;var c=$("<a/>",{class:"wce_qinc",html:"+",click:function(){var e=((s+=a)+"").replace(".",r);t.val(e),1==o&&(t.trigger("change"),t.trigger("keyup"),t.trigger("keydown"))}}).attr("unselectable","on").css("user-select","none").on("selectstart",!1),l=$("<a/>",{class:"wce_qdec",html:"-",click:function(){if(0<s-a){var e=((s-=a)+"").replace(".",r);t.val(e)}1==o&&(t.trigger("change"),t.trigger("keyup"),t.trigger("keydown"))}}).attr("unselectable","on").css("user-select","none").on("selectstart",!1);t.after(c),t.after(l),t.focus(function(){s=i()}),t.change(function(){var e=i();s=0<e?i():($(this).val(1),1)}),t.keyup(function(e){188==e.keyCode?r=",":190==e.keyCode&&(r=".")})},discountTag:function(e,t){function n(e){var t=e.replace(/([^0-9^,^.])+/g,"");return t=t.replace(",","."),parseFloat(t)}var i;if((t=(i={base:0,promo:0},void 0!==t&&void 0!==t.gross.promo_float&&void 0!==t.gross.base_float?i={base:t.gross.base_float,promo:t.gross.final_float}:0<e.find(".price del").length&&0<e.find(".price em").length&&(i={base:n(e.find(".price del").eq(0).text()),promo:n(e.find(".price em").eq(0).text())}),i)).promo<t.base){var a="-"+Math.round((t.base-t.promo)/t.base*100)+"%";0<e.find(".tags .promo").length?e.find(".tags .promo").attr("data-discount",a):e.append($("<ul class='tags'>").append($("<li>",{class:"promo wce_discount-tag","data-discount":a})))}},toggleContent:function(r){void 0===r.initAsOpened&&(r.initAsOpened=!0),void 0===r.useCookie&&(r.useCookie=!0);var e=$(r.triggerSelector),s=$(r.contentSelector);0<e.length&&0<s.length&&e.length===s.length&&(s.addClass("wce_toggleContent"),e.addClass("wce_toggletrigger"),r.initAsOpened&&e.addClass("wce_opened"),e.each(function(a){var e=r.initAsOpened;function t(e,t,n){if(n?(s.eq(a).slideUp(t),e.removeClass("wce_opened")):(s.eq(a).slideDown(t),e.addClass("wce_opened")),1==r.useCookie){var i=r.triggerSelector+"[data-index="+e.attr("data-index")+"]";$.cookie(i,n,{expires:1,path:"/"})}}if($(this).attr("data-index",a+1),$(this).addClass("wce_toggletrigger"),$(this).click(function(){t($(this),500,e),e=!e}),1==r.useCookie){var n=$.cookie(r.triggerSelector+"[data-index="+$(this).attr("data-index")+"]");void 0!==n&&("false"===n&&(t($(this),0,!1),e=!0),"true"===n&&(t($(this),0,!0),e=!1))}else $.removeCookie(triggerSelector+"[data-index="+$(this).attr("data-index")+"]")}))},afterInject:function(t,n,e){var i=$("html")[0],a=void 0===e||e,r=new MutationObserver(function(e){e.forEach(function(e){"childList"==e.type&&0<$(e.target).find(t).length&&(n($(t)),1==a&&r.disconnect())})});r.observe(i,{attributes:!0,characterData:!0,childList:!0,subtree:!0,attributeOldValue:!0,characterDataOldValue:!0})},imgRwdAttrs:function(n,i,e){var a="",r="";return void 0!==e&&void 0!==e.length&&0<e.length?$.each(e,function(e,t){0<e&&(a+=", ",r+=", "),a+=n.replace(i,t.gfxSizePrefix)+" "+t.wSize,r+=t.mq}):(a+=n,r+="1px"),{srcset:a,sizes:r}},appsDetect:function(e){function t(e){return"link[href*='"+e+"']"}function n(e){return"head style[id*='"+e+"']"}var i={autocomplete:["form.wce_autocompliter",t("/shoper_apps/autocomplete/"),t("autocomplete.webcoders.eu"),t("csautocompleteapp.webcoders.eu"),n("app-suggestions"),n("app-cs-suggestions")],basket_related:[t("/shoper_apps/basketrelated/"),t("basketrelatedapp.webcoders.eu"),t("csbasketrelated.shopgadget.app"),t("csbasketrelatedapp.webcoders.eu"),n("app-basketrel"),n("app-cs-basketrel")],comparison:[t("/shoper_apps/comparison/"),t("/clickshop_apps/comparison/"),t("comparisonapp.webcoders.eu"),n("app-comparison"),n("app-cs-comparison")],contacts:[t("/shoper_apps/contacts/"),t("/clickshop_apps/contacts/"),t("contactsapp.webcoders.eu"),n("app-contacts"),n("app-cs-contacts")],info_icons:[t("/shoper_apps/infoicons/"),t("infoiconsapp.webcoders.eu"),t("csinfoicons.shopgadget.app"),t("csinfoiconsapp.webcoders.eu"),n("app-infoicons-live"),n("app-infoicons-dev"),n("app-cs-infoicons-live"),n("app-cs-infoicons-dev")],info_icons_pro:[n("app-infoicons-pro"),n("app-infoicons-pro"),n("app-cs-infoicons-pro")],logos:[],other_bought:[t("/shoper_apps/otherbought/"),t("/clickshop_apps/otherbought/"),t("otherboughtapp.webcoders.eu"),t("csotherbought.shopgadget.app"),t("csotherboughtapp.webcoders.eu"),n("app-otherbought"),n("app-cs-otherbought")],page_generator:[],picture_categories:[t("categoriesapp.webcoders.eu"),t("cscategories.shopgadget.app"),t("appstore.webcoders.eu/mod075"),t("cscategoriesapp.webcoders.eu"),n("app-categories"),n("app-cs-categories")],popup:[t("popupapp.webcoders.eu"),t("cspopup.shopgadget.app"),t("cspopupapp.webcoders.eu"),n("app-popup"),n("app-cs-popup")],shipping_counter:[t("shippingcounter.webcoders.eu"),n("app-shipcounter"),n("app-cs-shipcounter")],short_cart:[t("fastcheckout.webcoders.eu"),n("app-fastcheckout"),n("app-cs-fastcheckout")],tabs:[t("tabsapp.webcoders.eu"),t("cstabsapp.webcoders.eu"),n("app-tabs"),n("app-cs-tabs")]};if("all"==e){var a={};for(var r in i){var s=i[r],o=$(s.join(", "));0<s.length&&0<o.length&&(a[r]=1)}return a}if(void 0===i[e])return!1;var c=i[e],l=$(c.join(", "));return 0<c.length&&0<l.length}},this.storage={prefix:"wce_e01_",suffix:"_"+Shop.lang.name,clearExpiredData:function(){if((0==a.useStorage&&void 0!==a.storageChkCookieName&&$.cookie(a.storageChkCookieName,"1",{expires:-1}),void 0!==a.storageChkCookieName)&&void 0===$.cookie(a.storageChkCookieName)){if(1==a.useStorage){var e=new Date,t=void 0===a.storageChkCookieExpiry?72e5:a.storageChkCookieExpiry;e.setTime(e.getTime()+t),$.cookie(a.storageChkCookieName,"1",{expires:e})}
5var n=localStorage.getItem(this.prefix+"keys"+this.suffix);if(null!=n){for(var i in n=JSON.parse(n))localStorage.removeItem(i);localStorage.removeItem(this.prefix+"keys"+this.suffix)}}},load:function(e){if(0==a.useStorage)return!1;var t=this.prefix+e.itemType+this.suffix,n=localStorage.getItem(t);return null!=n&&(void 0!==(n=JSON.parse(n))[e.id]&&n[e.id])},save:function(e){if(0!=a.useStorage){var t=this.prefix+e.itemType+this.suffix,n=localStorage.getItem(t);(n=null==n?{}:JSON.parse(n))[e.id]=e.item,localStorage.setItem(t,JSON.stringify(n));var i=localStorage.getItem(this.prefix+"keys"+this.suffix);(i=null==i?{}:JSON.parse(i))[t]=0,localStorage.setItem(this.prefix+"keys"+this.suffix,JSON.stringify(i))}}},this.selectorListChk=function(e){var t={};for(s in e){if($(e[s]).length<=0)return{selectorNotFound:e[s]};t[s]=$(e[s])}return t},this.selectorToJQO=function(e){var t={};for(s in e)t[s]=0<$(e[s]).length&&$(e[s]);return t},this.setCfgOverrides=function(e){a="object"==typeof e?$.extend(!0,a,e):a},r._browser=r._tools.browserChk(),r._translate._load(),r.setCfgOverrides(e),this.init=function(e){if(r.storage.clearExpiredData(),void 0!==i&&void 0!==i[e]&&(void 0===a.disabledMod[e]||"end"==e)){var t=new i[e];if(t.cfg=a,t.tools=this._tools,t.translate=this._translate,t.storage=this.storage,void 0!==t.selectors&&1==t.chkSelectors){var n=r.selectorListChk(t.selectors);void 0!==n.selectorNotFound||t.init(n)}else void 0!==t.selectors?t.init(r.selectorToJQO(t.selectors)):t.init(null)}},this.init("end"),wce_skin="Cameleon 2.2"}$(window).ready(function(){var e=new wce_skinjs(mods,cfg_mods,cfg_mods_override);e.init("addBrowserClass"),e.init("basketRelatedContaier"),e.init("rwdImages"),e.init("headerBasketFix"),e.init("headerBasketMod"),e.init("headerExt"),e.init("footerExt"),e.init("stickyHeader"),e.init("boxTabs"),e.init("mainMenu"),e.init("rwdTriggers"),e.init("tagsExt"),e.init("productFullSmallGallery"),e.init("productFullNiceRadio"),e.init("specialTiles"),e.init("inputQuantity"),e.init("productfullReplaces"),e.init("cartReplaces"),e.init("relatedReplace"),e.init("votestarsDecoration"),e.init("discountTag"),e.init("backBtn"),e.init("alertAutoClose"),e.init("boxFilter"),e.init("paczkomaty"),e.init("resetcssImgProportions"),e.init("autocompleaterExt"),e.init("wysiwygTables"),e.init("cartPaymentFix"),e.init("rwdTables");var t=new wce_skinjs(faMods,cfg_frontApiMods,cfg_frontApiMods_override);t.init("boxMenuExt"),t.init("shortCartExt"),t.init("pictureCategories"),t.init("mainMenuProducts"),t.init("listExtension")}); 6/* 7 eof WebCoders.eu - Cameleon (E01) 2.2 JS 8 2020 WebCoders.eu Sp. z o.o. - all rights reserved. 9*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.