PageSourceSearch

https://e-menessaptieka.lv/_nuxt/1c3ea57.js

js e-menessaptieka.lv collected 2026-10-04 13:23:58 UTC 18,213 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[86],{1410:function(e,t,n){"use strict";var a=n(6),r=n(7),o=n(9),i=n(3),l=n(10),s=n(4),c=(n(13),n(8),n(15),n(5)),u=n(0);function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d=function(){return!!e})()}var f=function(e,t,n,a){var r,o=arguments.length,i=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"===("undefined"==typeof Reflect?"undefined":Object(s.a)(Reflect))&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(i=(o<3?r(i):o>3?r(t,n,i):r(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},m=function(e){function t(){return Object(a.a)(this,t),e=this,n=t,r=arguments,n=Object(i.a)(n),Object(o.a)(e,d()?Reflect.construct(n,r||[],Object(i.a)(e).constructor):n.apply(e,r));var e,n,r}return Object(l.a)(t,e),Object(r.a)(t,[{key:"prevHandler",value:function(){var e,t=null!==(e=this.$refs.slider)&&void 0!==e?e:null;t&&t.slidePrev()}},{key:"nextHandler",value:function(){var e,t=null!==(e=this.$refs.slider)&&void 0!==e?e:null;t&&t.slideNext()}},{key:"slideClickHandler",value:function(e){var t,n=null!==(t=this.$refs.slider)&&void 0!==t?t:null;n&&n.isSliding&&e.preventDefault()}}])}(c.default);m=f([Object(u.Component)({})],m),t.a=m},2059:function(e,t,n){e.exports={}},2060:function(e,t,n){e.exports={}},2417:function(e,t,n){"use strict";n(2059)},2418:function(e,t,n){"use strict";n(2060)},2584:function(e,t,n){"use strict";n.r(t),n.d(t,"CT_MARTAILER_SLIDER_HOST_CLASS_NAMES",function(){return B}),n.d(t,"CT_MARTAILER_SLIDER_OUTER_CLASS_NAMES",function(){return D}),n.d(t,"CT_MARTAILER_SLIDER_INNER_CLASS_NAMES",function(){return U}),n.d(t,"MOBILE_MARTAILER_BASE_WIDTH",function(){return $}),n.d(t,"MOBILE_MARTAILER_BASE_HEIGHT",function(){return x});n(20);var a=n(19),r=n(6),o=n(7),i=n(9),l=n(3),s=n(10),c=n(4),u=(n(49),n(26),n(13),n(8),n(15),n(34),n(52),n(0)),d=n(345),f=n.n(d),m=n(48),v=n(43),p=n(1410),h=n(458),b=n(61);function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(y=function(){return!!e})()}var O=function(e,t,n,a){var r,o=arguments.length,i=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"===("undefined"==typeof Reflect?"undefined":Object(c.a)(Reflect))&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(i=(o<3?r(i):o>3?r(t,n,i):r(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},g=function(e){function t(){return Object(r.a)(this,t),e=this,n=t,a=arguments,n=Object(l.a)(n),Object(i.a)(e,y()?Reflect.construct(n,a||[],Object(l.a)(e).constructor):n.apply(e,a));var e,n,a}return Object(s.a)(t,e),Object(o.a)(t,[{key:"imageClassNames",get:function(){var e=["w-full","ma-auto"];return this.mobileBanner?e.push("d-none","d-sm-block"):e.push("d-block"),e}},{key:"trackImpression",value:function(){var e=this.$refs.banner;e&&e.trackImpression()}}])}(Object(u.mixins)(b.a));O([Object(u.Prop)({required:!0})],g.prototype,"banner",void 0),O([Object(u.Prop)({required:!1,default:null})],g.prototype,"mobileBanner",void 0);var I=g=O([Object(u.Component)({components:{MartailerBanner:h.a}})],g),_=n(2),R=Object(_.a)(I,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("MartailerBanner",{ref:"banner",attrs:{banner:e.banner,draggable:"false","placeholder-class-names":["w-full","h-full","min-h-150"],"image-class-names":e.imageClassNames,"intersect-impression-tracking":!e.isMobile,width:1392,height:350,"data-test":"content-type-martailer-slider-item-host"}}),e._v(" "),e.mobileBanner?t("MartailerBanner",{ref:"banner",attrs:{banner:e.mobileBanner,draggable:"false","placeholder-class-names":["w-full","h-full","min-h-150"],"image-class-names":["w-full","ma-auto","d-block","d-sm-none"],"intersect-impression-tracking":e.isMobile,width:390,height:320,"data-test":"content-type-martailer-slider-item-host"}}):e._e()],1)},[],!1,null,null,null).exports,T=n(163);function k(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(k=function(){return!!e})()}var j=function(e,t,n,a){var r,o=arguments.length,i=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"===("undefined"==typeof Reflect?"undefined":Object(c.a)(Reflect))&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(i=(o<3?r(i):o>3?r(t,n,i):r(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},S=function(e){function t(){return Object(r.a)(this,t),e=this,n=t,a=arguments,n=Object(l.a)(n),Object(i.a)(e,k()?Reflect.construct(n,a||[],Object(l.a)(e).constructor):n.apply(e,a));var e,n,a}return Object(s.a)(t,e),Object(o.a)(t,[{key:"trackMartailerIframe",value:function(){this.trackHandler(T.a.IMPRESSION)}},{key:"mobileBannerClass",get:function(){var e,t;return(null===(e=this.$route)||void 0===e?void 0:e.name)===(null===(t=this.localeLocation(this.$routeNames.PRODUCT_INNER))||void 0===t?void 0:t.name)?"martailer-mobile-product-inner-banner":"martailer-mobile-banner"}},{key:"mounted",value:function(){window.addEventListener("message",this.handleIframeMessageMobile),window.addEventListener("message",this.handleIframeMessageDesktop)}},{key:"beforeDestroy",value:function(){window.removeEventListener("message",this.handleIframeMessageMobile),window.removeEventListener("message",this.handleIframeMessageDesktop)}},{key:"handleIframeMessageMobile",value:function(e){var t,n;"iframe-click-mobile"===(null===(t=e.data)||void 0===t?void 0:t.type)&&this.trackHandler(T.a.CLICK,null===(n=e.data)||void 0===n?void 0:n.url)}},{key:"handleIframeMessageDesktop",value:function(e){var t,n;"iframe-click-desktop"===(null===(t=e.data)||void 0===t?void 0:t.type)&&this.trackHandler(T.a.CLICK,null===(n=e.data)||void 0===n?void 0:n.url)}},{key:"trackHandler",value:function(e,t){var n=this.isMobile?".".concat(this.mobileBannerClass):".martailer-desktop-banner",a=document.querySelector(n),r=(null==a?void 0:a.contentDocument)||(null==a?void 0:a.contentWindow.document),o=null==r?void 0:r.querySelector("img");o&&this.martailerTrack({adId:o.id,event:e,pageUrl:"undefined"!=typeof window?window.location.href:void 0}),t&&(window.location.href=t)}}])}(Object(u.mixins)(b.a));j([Object(u.Action)("martailer/trackEvent")],S.prototype,"martailerTrack",void 0);var C=S=j([Object(u.Component)({})],S);function L(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(L=function(){return!!e})()}var M=function(e,t,n,a){var r,o=arguments.length,i=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"===("undefined"==typeof Reflect?"undefined":Object(c.a)(Reflect))&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(i=(o<3?r(i):o>3?r(t,n,i):r(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},P=function(e){function t(){var e,n,a,o;return Object(r.a)(this,t),n=this,a=t,o=arguments,a=Object(l.a)(a),(e=Object(i.a)(n,L()?Reflect.construct(a,o||[],Object(l.a)(n).constructor):a.apply(n,o))).iframeKey=0,e.showIframe=!0,e}return Object(s.a)(t,e),Object(o.a)(t,[{key:"mounted",value:function(){document.addEventListener("visibilitychange",this.handleVisibility)}},{key:"beforeDestroy",value:function(){document.removeEventListener("visibilitychange",this.handleVisibility)}},{key:"handleVisibility",value:function(){"visible"===document.visibilityState&&this.iframeKey++}},{key:"onIframeLoad",value:function(){var e=this.$refs.iframeEl;if(this.trackMartailerIframe(),null==e?void 0:e.contentDocument)try{e.contentDocument.getElementById("empty-banner")&&this.removeTopBlockFromProductsList()}catch(e){console.warn("⚠️ Could not access iframe content:",e)}}},{key:"removeTopBlockFromProductsList",value:function(){var e=document.getElementById("productsTop");null==e||e.remove()}}])}(Object(u.mixins)(C));M([Object(u.Prop)()],P.prototype,"src",void 0),M([Object(u.Prop)()],P.prototype,"className",void 0),M([Object(u.Prop)()],P.prototype,"width",void 0),M([Object(u.Prop)()],P.prototype,"height",void 0);var E=P=M([Object(u.Component)({})],P),w=(n(2417),Object(_.a)(E,function(){var e=this,t=e._self._c;e._self._setupProxy;return e.showIframe?t("iframe",{key:e.iframeKey,ref:"iframeEl",class:e.className,attrs:{src:e.src,width:e.width,height:e.height,loading:"eager",frameborder:"0",allowfullscreen:""},on:{load:e.onIframeLoad}}
1):e._e()},[],!1,null,"33ea5b83",null).exports);n(699);function N(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(N=function(){return!!e})()}var A=function(e,t,n,a){var r,o=arguments.length,i=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"===("undefined"==typeof Reflect?"undefined":Object(c.a)(Reflect))&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(i=(o<3?r(i):o>3?r(t,n,i):r(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},B="CT_MARTAILER_SLIDER_HOST_CLASS_NAMES",D="CT_MARTAILER_SLIDER_OUTER_CLASS_NAMES",U="CT_MARTAILER_SLIDER_INNER_CLASS_NAMES",$=390,x=205,H=function(e){function t(){var e,n,a,o;return Object(r.a)(this,t),n=this,a=t,o=arguments,a=Object(l.a)(a),(e=Object(i.a)(n,N()?Reflect.construct(a,o||[],Object(l.a)(n).constructor):a.apply(n,o))).slideTransition=300,e.tracked=!1,e.test=null,e}return Object(s.a)(t,e),Object(o.a)(t,[{key:"hostClassNames",get:function(){var e,t,n,r=["content-type-slider"];return this.basicHostClassNames&&r.push.apply(r,Object(a.a)(this.basicHostClassNames)),(null===(e=this.slides)||void 0===e?void 0:e.length)>0&&((null===(t=this.$route)||void 0===t?void 0:t.name)===(null===(n=this.localeLocation(this.$routeNames.PRODUCT_INNER))||void 0===n?void 0:n.name)?r.push("min-h-121px"):r.push("min-h-184px")),r}},{key:"skeletonClassNames",get:function(){var e,t,n=["mb-md-0","w-full"];return this.notStaticPage?(null===(e=this.$route)||void 0===e?void 0:e.name)===(null===(t=this.localeLocation(this.$routeNames.PRODUCT_INNER))||void 0===t?void 0:t.name)?n.push("h-121px"):n.push("h-184px"):n.push("h-350px"),n}},{key:"outerClassNames",get:function(){var e=[];return this.basicOuterClassNames&&e.push.apply(e,Object(a.a)(this.basicOuterClassNames)),e}},{key:"innerClassNames",get:function(){var e=["slider-inner","relative"];return this.showBannersFromLocaleMiddleware&&e.push("banner-height-desktop-only"),this.basicInnerClassNames&&e.push.apply(e,Object(a.a)(this.basicInnerClassNames)),e}},{key:"properties",get:function(){var e,t;return null!==(t=null===(e=this.contentType)||void 0===e?void 0:e.properties)&&void 0!==t?t:null}},{key:"slides",get:function(){var e;return null!==(e=this.contentType._martailerBanners)&&void 0!==e?e:[]}},{key:"fistSlide",get:function(){var e,t;return(null===(e=this.contentType)||void 0===e?void 0:e._martailerBanners)?null===(t=this.contentType)||void 0===t?void 0:t._martailerBanners[0]:null}},{key:"mobileSlides",get:function(){var e;return null!==(e=this.contentType._martailerBannersMobile)&&void 0!==e?e:[]}},{key:"firstMobileSlide",get:function(){var e,t;return(null===(e=this.contentType)||void 0===e?void 0:e._martailerBannersMobile)?null===(t=this.contentType)||void 0===t?void 0:t._martailerBannersMobile[0]:null}},{key:"processing",get:function(){var e;return null===(e=this.contentType.martailerProcessing)||void 0===e||e}},{key:"slideChangeHandler",value:function(){var e=this;setTimeout(function(){e.trackImpression()},this.slideTransition+100)}},{key:"trackImpression",value:function(){var e,t=this.$refs.slider;if(t){var n=t.currentSlide,a=(null!==(e=this.$refs.sliderItem)&&void 0!==e?e:[])[n];a&&a.trackImpression()}}},{key:"notStaticPage",get:function(){var e,t,n,a,r,o,i,l,s,c,u;return[null===(e=this.localeLocation(this.$routeNames.SALES_PRODUCTS))||void 0===e?void 0:e.name,null===(t=this.localeLocation(this.$routeNames.TAXON_PRODUCTS))||void 0===t?void 0:t.name,null===(n=this.localeLocation(this.$routeNames.SALES_PRODUCTS_TAXON))||void 0===n?void 0:n.name,null===(a=this.localeLocation(this.$routeNames.ATTRIBUTE_PRODUCTS))||void 0===a?void 0:a.name,null===(r=this.localeLocation(this.$routeNames.ATTRIBUTE_PRODUCTS_TAXON))||void 0===r?void 0:r.name,null===(o=this.localeLocation(this.$routeNames.PROMOTION_PROUCTS))||void 0===o?void 0:o.name,null===(i=this.localeLocation(this.$routeNames.CATALOG_PROMOTION_PROUCTS))||void 0===i?void 0:i.name,null===(l=this.localeLocation(this.$routeNames.WISHLIST))||void 0===l?void 0:l.name,null===(s=this.localeLocation(this.$routeNames.PRODUCT_INNER))||void 0===s?void 0:s.name,null===(c=this.localeLocation(this.$routeNames.PRODUCTS_SEARCH))||void 0===c?void 0:c.name].includes(null===(u=this.$route)||void 0===u?void 0:u.name)}},{key:"showLoading",get:function(){var e;return void 0===(null===(e=this.contentType)||void 0===e?void 0:e.martailerProcessing)}},{key:"martailerSlotID",get:function(){var e;return null===(e=this.contentType.properties.slotId)||void 0===e?void 0:e.value}},{key:"martailerMobileSlotID",get:function(){var e;return null===(e=this.contentType.properties.slotIdMobile)||void 0===e?void 0:e.value}},{key:"localMiddlewareURL",get:function(){return"/martailer-banners"}},{key:"placementValue",get:function(){var e;return null!==(e=this.martailerPlacement)&&void 0!==e?e:T.b.HOME}},{key:"martailerULR",get:function(){var e="".concat(this.localMiddlewareURL,"?slotId=").concat(this.martailerSlotID,"&placement=").concat(this.placementValue,"&device=desktop&lang=").concat(this.$i18n.locale),t=this.location===m.a.PRODUCT_PAGE_TOP?"itemId=".concat(this.martailerItemId):"category=".concat(this.martailerCategory);return this.location===m.a.WISHLIST_LIST_TOP&&(t=null),t?"".concat(e,"&").concat(t):e}},{key:"martailerMobileURL",get:function(){var e="".concat(this.localMiddlewareURL,"?slotId=").concat(this.martailerMobileSlotID,"&placement=").concat(this.placementValue,"&device=mobile&lang=").concat(this.$i18n.locale),t=this.location===m.a.PRODUCT_PAGE_TOP?"itemId=".concat(this.martailerItemId):"category=".concat(this.martailerCategory);return this.location===m.a.WISHLIST_LIST_TOP&&(t=null),t?"".concat(e,"&").concat(t):e}},{key:"mobileBannerClass",get:function(){return this.location===m.a.PRODUCT_PAGE_TOP?"martailer-mobile-product-inner-banner":"martailer-mobile-banner"}},{key:"showBannersFromLocaleMiddleware",get:function(){return this.location===m.a.PRODUCT_LIST_TOP||this.location===m.a.PRODUCT_PAGE_TOP||this.location===m.a.WISHLIST_LIST_TOP||this.location===m.a.PROMOTION_LIST_TOP||this.location===m.a.SALES_PAGE_TOP}},{key:"mounted",value:function(){var e=this;setTimeout(function(){e.trackImpression()})}},{key:"isServerMobile",get:function(){return this.isMobile}}])}(Object(u.mixins)(v.a,p.a,b.a));A([Object(u.Prop)()],H.prototype,"contentType",void 0),A([Object(u.Prop)({default:function(){return null}})],H.prototype,"location",void 0),A([Object(u.Action)("martailer/trackEvent")],H.prototype,"martailerTrackEvent",void 0),A([Object(u.Getter)("app/hostname")],H.prototype,"appHostname",void 0),A([Object(u.Inject)({from:B,default:function(){return["content-type-martailer-slider"]}})],H.prototype,"basicHostClassNames",void 0),A([Object(u.Inject)({from:D,default:function(){return["layout-container","px-0"]}})],H.prototype,"basicOuterClassNames",void 0),A([Object(u.Inject)({from:U,default:function(){return[]}})],H.prototype,"basicInnerClassNames",void 0),A([Object(u.Inject)({default:null,from:"MARTAILER_ITEM_ID"})],H.prototype,"martailerItemId",void 0),A([Object(u.Inject)({default:null,from:"MARTAILER_CATEGORY"})],H.prototype,"martailerCategory",void 0),A([Object(u.Inject)({default:null,from:"MARTAILER_PLACEMENT"})],H.prototype,"martailerPlacement",void 0);var G=H=A([Object(u.Component)({components:{MartailerIframe:w,MartailerBanner:h.a,ContentTypeMartailerSliderItem:R,SsrCarousel:f.a}})],H),V=(n(2418),Object(_.a)(G,function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:e.hostClassNames},[t("div",{class:e.outerClassNames},[t("div",{class:e.innerClassNames},[e.showBannersFromLocaleMiddleware?[t("keep-alive",[e.martailerMobileURL&&e.isServerMobile?t("MartailerIframe",{key:"mobile-".concat(e.location,"-").concat(e.$route.fullPath),attrs:{src:e.martailerMobileURL,width:"100%",height:"auto","class-name":e.mobileBannerClass}}
1):e._e()],1),e._v(" "),e.martailerULR&&!e.isServerMobile?t("MartailerIframe",{key:"desktop-".concat(e.location,"-").concat(e.$route.fullPath),attrs:{src:e.martailerULR,height:"165px",width:"100%","class-name":"martailer-desktop-banner"}}):e._e()]:[e.showLoading?t("v-skeleton-loader",{class:e.skeletonClassNames,attrs:{tile:"",type:"block",types:{block:"block"}}}):e.slides.length?t("div",[1===e.slides.length?t("ContentTypeMartailerSliderItem",{attrs:{banner:e.fistSlide,"mobile-banner":e.firstMobileSlide,draggable:"false","data-test":"content-type-martailer-slider-image"}}):t("ssr-carousel",{staticClass:"martailer-slider",attrs:{loop:!0,"show-arrows":""},scopedSlots:e._u([{key:"back-arrow",fn:function(n){var a=n.disabled;return[t("div",{staticClass:"slider-control slider-control-prev navigation-arrow navigation-arrow-large ml-2",class:{disabled:a},attrs:{"data-test":"content-type-slider-prev"}},[t("v-icon",{attrs:{size:"24",color:"primary"}},[e._v("\n                  $vuetify.icons.leftIcon\n                ")])],1)]}},{key:"next-arrow",fn:function(n){var a=n.disabled;return[t("div",{staticClass:"slider-control slider-control-next navigation-arrow navigation-arrow-large mr-2",class:{disabled:a},attrs:{"data-test":"content-type-slider-next"}},[t("v-icon",{attrs:{size:"24",color:"primary"}},[e._v("\n                  $vuetify.icons.rightIcon\n                ")])],1)]}}])},e._l(e.slides,function(n,a){return t("div",{key:n.id,staticClass:"slide",attrs:{"data-test":"content-type-slider-slide"}},[t("ContentTypeMartailerSliderItem",{attrs:{banner:n,"mobile-banner":e.mobileSlides[a],draggable:"false","data-test":"content-type-martailer-slider-image-".concat(a)}})],1)}),0)],1):e._e()]],2)])])},[],!1,null,"c2facb88",null));t.default=V.exports;installComponents(V,{SsrCarousel:n(345).default})}}]);

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.